@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250627.0 → 0.0.0-nightly-20250628.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +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.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=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(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)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]);n&&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),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.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 s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.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=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(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,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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 n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());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(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](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 n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},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 n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>le,Revision:()=>B,RevisionHistory:()=>na,RevisionHistoryUI:()=>Wt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ae,RevisionViewerEditor:()=>Go,RevisionViewerLoadingOverlay:()=>Ie,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 s(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,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,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);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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 n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(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 n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,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,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,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 D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&M(n,i)&&(void 0!==i||e in t)||(t[e]=i)},V=/^(?:0|[1-9]\d*)$/;function E(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}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 n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function H(t,e,i){return function(t,e,i,n){if(null==t&&!P(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let t=0;t<s.length&&null!=r;t++){const e=j(s[t]);let o;if(t===s.length-1)o=i(r[e]);else{const i=r[e],a=n(i);o=void 0!==a?a:P(i)?i:E(s[t+1])?[]:{}}D(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 n=t[e];return void 0===n?U(e)?Z(t,z(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=j(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);const n=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===n?i:n}}}function W(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;try{return delete i[n],!0}catch{return!1}}const $=q;function q(t,e){const i=Y();return(q=function(t,e){return i[t-=211]})(t,e)}!function(t){const e=q,i=t();for(;;)try{if(246361===-parseInt(e(235))/1+parseInt(e(218))/2+-parseInt(e(217))/3+-parseInt(e(231))/4+-parseInt(e(230))/5*(-parseInt(e(219))/6)+-parseInt(e(226))/7*(parseInt(e(236))/8)+parseInt(e(229))/9*(parseInt(e(220))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class B extends((0,t.ObservableMixin)()){id;[$(212)];[$(221)];[$(233)];[$(215)];[$(237)];[$(223)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(212)]=e[i(212)]||null,this[i(221)]=e[i(221)]||[],this[i(233)]=e[i(233)]||null,this[i(215)]=e[i(215)]||0,this[i(237)]=e[i(237)]||0,this[i(214)](i(222),e[i(222)]||""),this[i(214)](i(238),e[i(238)]||new Date),this[i(214)](i(213),e[i(213)]||{})}[$(239)](t){this[$(216)]({name:t})}[$(232)](t,e){const i=$,n=R(this[i(213)]);H(n,t,e),this[i(216)]({attributes:n})}[$(211)](t){const e=$,i=R(this[e(213)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return W(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 W(t,z(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(216)]({attributes:i})}[$(216)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(222),i(238),i(233),i(221),i(213),i(215),i(237),i(227)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(221)]&&(s[i(225)]=s[i(221)][i(234)](t=>t.id),delete s[i(221)]),this[i(224)](i(216),s,e))}[$(228)](){const t=$;return{id:this.id,name:this[t(222)],creatorId:this[t(212)]?this[t(212)].id:null,authorsIds:this[t(221)][t(234)](t=>t.id),diffData:this[t(233)],createdAt:this[t(238)],attributes:this[t(213)],fromVersion:this[t(237)],toVersion:this[t(215)]}}}function Y(){const t=["fromVersion","createdAt","setName","removeAttribute","creator","attributes","set","toVersion","_update","137721VAaspW","524496YDFgTF","6dNyGEd","824630KSlJAj","authors","name","model","fire","authorsIds","96292ahlhZY","creatorId","toJSON","72MpqMAA","2012635ldmONJ","1804024ubMnnd","setAttribute","diffData","map","154769Triwah","248IHhSOx"];return(Y=function(){return t})()}var J=i(782),G=i(211),K=i(783);function Q(t,e){const i=tt();return(Q=function(t,e){return i[t-=314]})(t,e)}const X=Q;function tt(){const t=["isNaN","4626yslctH","getLaterVisibleRevision","toVersion","Users","16314dIaykp","createdAt","getIndex","add","earlier","RevisionsRepository","toJSON","18kzwfzr","editor","459718QhWsGs","getRevisionsInDiff","isOfficialPlugin","push","isPremiumPlugin","getRevisions","from","getEarlierVisibleRevision","9304xuJJrn","join","getUser","12AusuSK","628MrRvkI","attributes","length","creatorId","later","getRevisionsIterator","reverse","href","oldRevisionId","1152955ozQoAH","20zOBikN","authorsIds","afterInit","3517917smeODI","getRevision","12DZxmoH","get","newRevisionId","requires","fromVersion","createRevision","_revisions","fromCharCode","data","133387BOzXwh","map","name","plugins","3790985NlSjTU","diffData","addRevision","pluginName"];return(tt=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(625081===parseInt(e(332))/1*(parseInt(e(352))/2)+parseInt(e(345))/3*(-parseInt(e(366))/4)+parseInt(e(317))/5+-parseInt(e(365))/6*(parseInt(e(354))/7)+parseInt(e(362))/8*(parseInt(e(341))/9)+parseInt(e(318))/10*(-parseInt(e(336))/11)+parseInt(e(323))/12*(parseInt(e(321))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class et extends J.Plugin{[X(329)];static get[X(326)](){return[G.Users]}static get[X(339)](){return X(350)}static get[X(356)](){return!0}static get[X(358)](){return!0}get[X(368)](){const t=X;return this[t(329)][t(368)]}constructor(e){const i=X;super(e),this[i(329)]=new t.Collection}[X(320)](){!async function(e){const i=k([112,76,100,118,80,81,89,78,109,72,55,119,90,107,74,114,70,73,67,101,57,68,103,54,53,56,85,110,88,48,116,99,104,66,111,98,49,71,105,84,97,102,86,108,122,69,82,113,52,115,87,79,75,120,83,65,121,117,51,77,106,50]),n=964649,s=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 n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),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(340)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([112]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}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 n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,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,n])=>{i(e),t(n)}):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(333)](t=>String[e(330)](t))[e(363)]("")}!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()]=n),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])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[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,n=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),n={...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 n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())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(s-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 n=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])](s/n)));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)*n: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 n(){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 n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,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,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),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,s,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])])?s/1e3:1750982400;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:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(315)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[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])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[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=>s[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&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||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(328)](t){const e=X,i=this[e(353)][e(335)][e(324)](e(344));return new B({id:t.id,name:t[e(334)],creator:t[e(369)]?i[e(364)](t[e(369)]):null,diffData:t[e(337)]||t[e(331)],authors:t[e(319)][e(333)](t=>i[e(364)](t)),createdAt:new Date(t[e(346)]),attributes:t[e(367)],fromVersion:t[e(327)],toVersion:t[e(343)]})}[X(338)](t,e=0){const i=X;this[i(329)][i(348)](t,e)}[X(322)](t){const e=X;return this[e(329)][e(324)](t)}[X(359)](t={toJSON:!1}){const e=X,i=Array[e(360)](this[e(329)]);return i[e(314)](),t[e(351)]?i[e(333)](t=>t[e(351)]()):i}[X(347)](t){const e=X;return this[e(329)][e(347)](t)}[X(361)](t){const e=X,[,i]=this[e(371)](t,{direction:e(349)});return i}[X(342)](t){const e=X,[,i]=this[e(371)](t,{direction:e(370)});return i}[X(355)](t){const e=X,i=[];for(const n of this[e(371)](t[e(325)]))if(i[e(357)](n),n.id===t[e(316)])break;return i}*[X(371)](t,{direction:e=X(349),filter:i=()=>!0}={}){const n=X,s=n(349)===e?1:-1;let r=this[n(329)][n(324)](t),o=this[n(347)](r);for(yield r;r;){if(o+=s,r=this[n(322)](o),!r)return;i(r)&&(yield r)}}}const it=nt;function nt(t,e){const i=st();return(nt=function(t,e){return i[t-=184]})(t,e)}function st(){const t=["getRevisionDocumentData","loadRevisionData","startsWith","collaboration.channelId","fillerOffset","attachChange","type","_appendChild","toData","customProperties","domChildrenToView","insertions","domDocument","isPremiumPlugin","forEach","pluginName","diffData","from","createElement","5064432lUHkrq","getRevision","data-revision-","_viewClassToTypeChar","data","parse","innerHTML","revision-end","toModel","_getTypeCharForViewElement","name","RevisionHistoryUtils","601812SxHSxb","_removeRevisionMarkers","default","filter","4TFZGpC","32795FPWcIt","getRevisionRootsAttributes","_typeCharToViewClass","useFillerType","div","constructor","children","_getViewFromDiffObj","attributes","marked","revision-start","view","viewChildrenToDom","htmlProcessor","_setCustomProperty","map","4355939bYGGaq","attributesAfter","editor","954282RQBRCn","editing","append","getFillerOffset","processor","string","_makeModelFromViewString","document","childNodes","isAttached","domConverter","get","isOfficialPlugin","render","5700000puvtQg","config","length","604AFZrIr","27ayuDrT","1749560kCshXI"];return(st=function(){return t})()}!function(t){const e=nt,i=t();for(;;)try{if(574428===parseInt(e(191))/1+-parseInt(e(195))/2*(-parseInt(e(215))/3)+parseInt(e(232))/4*(parseInt(e(196))/5)+-parseInt(e(254))/6+-parseInt(e(212))/7+-parseInt(e(229))/8+-parseInt(e(233))/9*(-parseInt(e(234))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class rt extends J.Plugin{static get[it(250)](){return it(190)}static get[it(227)](){return!0}static get[it(248)](){return!0}[it(257)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[it(198)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[it(236)](t,e){const i=it;if(t[i(251)]||!e)return;const n=this[i(214)][i(230)][i(226)](i(238)),s=await e[i(255)]({channelId:n,revisionId:t.id});t[i(251)]=s[i(251)]}[it(235)](t){const e=it,i={};for(const n in t[e(251)]){if(t[e(251)][n][e(240)]&&!t[e(251)][n][e(240)][e(224)])continue;const s=this[e(192)](JSON[e(184)](t[e(251)][n][e(246)])),r=this[e(214)][e(216)][e(207)][e(222)],o=new K.ViewDocumentFragment(r,s[e(211)](t=>this[e(203)](t,!1)));this[e(214)][e(258)][e(219)][e(199)](e(205)),i[n]=this[e(214)][e(258)][e(219)][e(243)](o),this[e(214)][e(258)][e(219)][e(199)](e(193))}return i}[it(197)](t){const e=it,i={};for(const n in t[e(251)])t[e(251)][n][e(240)]&&!t[e(251)][n][e(240)][e(224)]||(i[n]=t[e(251)][n][e(213)]||{});return i}[it(188)](t){const e=it;return this[e(257)][e(226)](t[e(201)])}[it(203)](t,e){const i=it,n=this[i(214)][i(216)][i(207)][i(222)];if(i(220)==typeof t)return new K.ViewText(n,t);{let s,r;r="u"==t[i(241)]||"r"==t[i(241)]?[]:t[i(202)][i(211)](t=>this[i(203)](t,e));const o=this[i(198)][i(226)](t[i(241)])||K.ViewElement,a=this[i(214)][i(258)][i(209)][i(225)];if(s=new o(n,t[i(189)],t[i(204)],r),"u"==t[i(241)]&&t[i(202)][0]){const r=t[i(202)][0];if(s[i(228)]=function(t){const e=i,n=t[e(253)](e(200));return n[e(185)]=r,n[e(223)][0]},e){const t=new K.ViewDocumentFragment(n);t[i(242)](s);const e=Array[i(252)](a[i(208)](t,{bind:!1})),r=a[i(247)][i(253)](i(200));r[i(217)](...e),s=Array[i(252)](a[i(245)](r))[0]}}else if("r"==t[i(241)]&&t[i(202)][0]){const r=t[i(202)][0];if(s[i(228)]=function(t){t[i(185)]=r},e){const t=new K.ViewDocumentFragment(n);t[i(242)](s);const e=Array[i(252)](a[i(208)](t,{bind:!1})),r=a[i(247)][i(253)](i(200));r[i(217)](...e);const o=Array[i(252)](a[i(245)](r));o[i(231)]>1?s[i(242)](o):s=o[0]}}if(t[i(244)])for(const[e,n]of t[i(244)])s[i(210)](e,n);const c=void 0===t[i(239)]?null:t[i(239)];return null!==c&&(s[i(218)]=()=>c),s}}[it(221)](t){const e=it,i=JSON[e(184)](t),n=this[e(214)][e(216)][e(207)][e(222)],s=new K.ViewDocumentFragment(n,i[e(211)](t=>this[e(203)](t,!0)));return this[e(214)][e(258)][e(187)](s)}[it(192)](t){const e=it;return(t=t[e(194)](t=>!t[e(189)]||e(206)!==t[e(189)]&&e(186)!==t[e(189)]))[e(249)](t=>{const i=e;i(220)!=typeof t&&(t[i(202)]=this[i(192)](t[i(202)]),t[i(204)]=t[i(204)][i(194)](t=>!t[0][i(237)](i(256))))}),t}}function ot(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("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,n,s,r,o){const a=o(t,e,i,n,s,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,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(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=(n=n??new Map).get(t),D=n.get(i);if(null!=R&&null!=D)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ct(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ct(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.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,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,n,x)||at(t)&&at(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ct(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.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-=460]})(t,e)}function mt(){const t=["attributesAfter","outerHTML","RevisionHistoryUtils","merge","elementStart","_createFromRanges","initial","_initialRevisionId","_handleOperation","has","6930WZmmUG","destroy","getAncestors","domainLimit","size","getRevisions","domConverter","_source","add","8jQLWxs","afterInit","_handleInsertOperation","_createCurrentRevision","startsWith","documentFragment","PendingActions","includes","_isAttached","_removeMetaData","nodes","_removePendingAction","update","_saveMetaData","isAttached","getAttribute","_getVidAttributeName","pluginName","text","path","getNodeByPath","revisionHistoryLicenseKeyUsageLimit","RevisionsRepository","createPositionFromPath","innerHTML","_diffRoots","sendBufferedUpdates","_createInitialRevision","key","buildRevisionData","_isPendingUpdate","diffData","_handleRootOperation","oldRange","expired","getCurrentRevisionId","some","name","position","resolve","getRevisionDocumentData","version","offsetSize","222328sjLEHn","changeRootAttribute","stringify","document","affectsData","deletion","6352600hnsigp","_getPreviousFrom","_pendingAction","sourcePosition","getOperation","initialData","keepParagraph","_savedMetaData","_calculateMetaData","_markers","vid","_getState","_baseRoots","markers","rawElement","adapter","find","dataDowncast","creatorId","_lastTo","_getFromVersion","_insertChild","authorsIds","detachRoot","addRevision","slice","insertion","finally","saveRevision","remove","getUser","Empty document","authors","revisionHistoryLicenseKeyEvaluationLimit","offset","getAttributes","NEGATIVE_INFINITY","bind","addRevisionData","targetPosition","_fixPosition","_replaceEditorDataWithRevisionData","rootName","max","_addPendingAction","createRevision","set","PENDING_ACTION_REVISION_HISTORY","isPremiumPlugin","markerToData","_setAttribute","loadRevisionData","insert","_applyOperations","data","insertions","range","isReady","_markChanges","isEqual","getMovedRangeStart","toVersion","config","fillerOffset","_setConversion","toView","type","_diffRootsAttributes","define","_processRootBeforeSave","_authorId","vid_end","usageLimit","trialLimit","getCustomProperties","createPositionAfter","elementEnd","_fixRange","addRoot","revisionHistoryLicenseKeyNotAllowed","plugins","start","isAdd","setRevisionData","stickiness","isOfficialPlugin","upcast","getWalker","licenseKey","roots","46426rhaaHv","createRangeIn","fromVersion","getTransformedByOperation","_lastFrom","_baseRootsAttributes","ready","_continueCurrentRevision","source","RealTimeCollaborationClient","baseVersion","_bufferUpdate","_bufferedUpdates","revisionHistory.resumeUnsavedRevision","_makeRevision","tableCell","removeRootAttribute","item","newRange","length","getOperations","htmlProcessor","getRoot","push","revisionHistoryLicenseKeyExpired","createdAt","shift","113764wCGhBQ","_baseIdsRoots","editor","init","from","collaboration.channelId","clone","invalid","_fixOperation","$comment","_copyMarkers","requires","18Nwgerx","nodeAfter","_handleRootAttributeOperation","move","2795nydOLh","_reset","$graveyard","_isInit","updateRevisions","end","_operations","_handleSplitOperation","_makeIdsRoot","delete","getChild","fromEntries","_handleMoveOperation","render","history","string","model","_makeModelFromViewString","creator","addRootAttribute","reInit","evaluationLimit","revisionHistoryLicenseKeyTrialLimit","$text","children","_handleMergeOperation","get","2428594yCMBaN","featureNotAllowed","RevisionTracker","_transformMarkers","_touchedMarkers","getRevision","map","RevisionHistory","_getTypeCharForViewElement","editor-initial-data-replaced-with-revision-data","_utils","getChildren","_loadState","conversion","_getViewJson","_getBaseVids","createElement","getTime","hasContent","getFillerOffset","createPositionBefore","values","_revisionId","clear","reverse","getRootNames","_revisionDataBuilder","marker","userId","_loadedStateData","revision:","customProperties","revisionHistoryLicenseKeyValid","sort","revisionHistoryLicenseKeyInvalid","getRevisionRootsAttributes","rootsAttributes","_cloneOperation","domDocument","Users","filter","splitPosition","childCount","keys","456207tMlRSq","revision","getRange","_licenseKeyCheckInterval","trim","graveyardPosition","_execute","locale","reinsert","_update","howMany","element","for","parent","then","insertionPosition","loadState","_showLicenseError","attachChange","_handleMarkerOperation","paragraph","_touched","getData","_startingVersion","_startingRevisionId","getLatestVersion","vid_start","setSource","_touchedRoots","revisionHistoryLicenseKeyDomainLimit","_idsRoots","attributesBefore","createRange","root","_findInsertionIndex","newValue","previousPosition","Initial revision","_prepareViewToSave","_clone","_appendChild","repository","uiElement","currentRevision","_generateTape","isEnabled","deletions","dataToMarker","createPositionAt","getIndex","split"];return(mt=function(){return t})()}!function(t){const e=ft,i=t();for(;;)try{if(324516===parseInt(e(495))/1+parseInt(e(679))/2*(parseInt(e(609))/3)+-parseInt(e(522))/4+parseInt(e(538))/5*(-parseInt(e(670))/6)+-parseInt(e(565))/7+-parseInt(e(722))/8*(-parseInt(e(534))/9)+parseInt(e(728))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends J.Plugin{[dt(493)];[dt(612)];[dt(652)]=null;[dt(650)];[dt(743)]=null;[dt(591)];[dt(677)];[dt(667)];[dt(507)];[dt(575)];[dt(730)];[dt(502)];[dt(632)];[dt(594)];static get[dt(696)](){return dt(567)}static get[dt(490)](){return!0}static get[dt(776)](){return!0}static get[dt(533)](){return[G.Users,et,rt,J.PendingActions]}constructor(e){const i=dt;super(e),this[i(650)]=this[i(524)][i(485)][i(564)](i(701)),this[i(575)]=this[i(524)][i(485)][i(564)](i(662)),this[i(591)]=new vt(this[i(524)]),this[i(667)]=this[i(524)][i(467)][i(564)](i(527))||i(666),this[i(507)]=new Map,this[i(594)]=null;const n=(0,t.uid)();this[i(677)]={history:this[i(524)][i(554)][i(725)][i(552)],getLatestVersion:()=>Promise[i(718)](this[i(524)][i(554)][i(725)][i(720)]),getCurrentRevisionId:()=>n},this[i(774)](i(462),!1),this[i(774)](i(654),!0),this[i(774)](i(709),!1),this[i(524)][i(467)][i(473)](i(508),!0),this[i(524)][i(578)][i(621)](i(491))[i(656)]({view:i(610)})}[dt(525)](){const t=dt;this[t(469)](),this[t(524)][t(782)].on(t(501),()=>{const e=t,i=this[e(650)][e(570)](0),n=i&&null===i[e(556)]?i:null;if(this[e(502)]=!!n&&this[e(524)][e(467)][e(564)](e(508)),this[e(524)][e(485)][e(669)](e(504))){const t=this[e(677)][e(714)](),s=this[e(650)][e(570)](t);if(s)this[e(632)]=s[e(497)],this[e(502)]=!1;else{const t=this[e(677)][e(552)][e(544)][e(744)](t=>!t[e(541)]),s=t?t[e(505)]:this[e(677)][e(552)][e(720)];i?(i[e(466)]<s&&i[e(618)]({toVersion:s}),this[e(502)]?(this[e(677)][e(714)]=()=>n.id,this[e(632)]=n[e(497)]):(this[e(632)]=i[e(466)],this[e(502)]=!1)):(this[e(632)]=s,this[e(502)]=!1)}}else n&&(this[e(524)][e(554)][e(725)][e(552)][e(720)]=Math[e(771)](n[e(466)],this[e(524)][e(554)][e(725)][e(552)][e(720)]),n[e(497)]===n[e(466)]?(0!==n[e(497)]&&(this[e(677)][e(714)]=()=>n.id),this[e(502)]=!1):this[e(502)]&&(this[e(677)][e(714)]=()=>n.id,this[e(632)]=n[e(497)])),this[e(502)]||(this[e(632)]=this[e(524)][e(554)][e(725)][e(720)]);this[e(591)][e(525)](this[e(677)][e(552)]),this[e(706)](this[e(632)]),this[e(682)](this[e(632)]),this[e(743)]&&this[e(705)]()}),this[t(765)](t(462)).to(this,t(709),t=>!t),this[t(493)]=this[t(524)][t(467)][t(564)](t(493));const e=this[t(524)];this[t(612)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(597)==r||i(599)==r||i(519)==r||i(638)==r||i(484)==r||i(761)==r||i(560)==r||i(700)==r){delete e[s],n=r,clearInterval(this[i(612)]),this[i(612)]=void 0;break}}i(599)==n&&e[i(626)](i(529)),i(519)==n&&e[i(626)](i(713)),i(638)==n&&e[i(626)](i(673)),i(484)==n&&e[i(626)](i(566),i(572)),i(761)==n&&e[i(626)](i(559)),i(560)==n&&e[i(626)](i(478)),i(700)==n&&e[i(626)](i(477))},1e3)}async[dt(680)](){const t=dt;if(this[t(650)][t(514)]>0){const e=this[t(650)][t(570)](0),i=await this[t(719)](e),n=await this[t(600)](e);this[t(769)](i,n)}}[dt(671)](){const t=dt;super[t(671)](),this[t(612)]&&clearInterval(this[t(612)])}[dt(636)](t){this[dt(677)]=t}async[dt(691)](){const t=dt,e=await this[t(677)][t(634)]();if(e>this[t(652)][t(466)]){await this[t(577)]();const i=this[t(708)]({revision:this[t(652)],to:e});i[t(760)]=i[t(750)][t(571)](e=>this[t(524)][t(485)][t(564)](t(604))[t(758)](e)),this[t(652)][t(618)](i)}}async[dt(756)](e={},i=null){const n=dt,s=[];await this[n(577)](),this[n(502)]=!1,i>this[n(652)][n(466)]&&(i=null),null===i&&(i=await this[n(677)][n(634)]());const r=this[n(748)](i),o=this[n(708)]({from:r,to:i});if(this[n(652)][n(466)]<i){const t=this[n(708)]({revision:this[n(652)],from:i,to:i});t[n(760)]=[],t[n(750)]=[],t.id=this[n(652)].id,this[n(652)][n(618)](t,!0),delete t[n(760)],s[n(518)](t)}e[n(746)]=this[n(524)][n(485)][n(564)](n(604)).me.id,e[n(716)]=e[n(716)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(766)](e);s[n(518)](e);const c=this[n(650)][n(658)](a);if(0!==c){const t=this[n(650)][n(570)](c-1);if(t[n(497)]!==i){const r=this[n(591)][n(631)](i,t[n(466)]),o={id:t.id,diffData:r[n(710)],authorsIds:r[n(750)],authors:r[n(750)][n(571)](t=>this[n(524)][n(485)][n(564)](n(604))[n(758)](t)),fromVersion:i};t===this[n(652)]&&(o[n(520)]=new Date(e[n(520)][n(582)]()+10)),t[n(618)](o,!0),delete o[n(760)],s[n(518)](o)}}if(this[n(743)]){for(const t of s)this[n(506)](t.id,t,!0);this[n(705)]()}return a}[dt(766)](t){const e=dt,i=this[e(650)][e(773)](t);return this[e(743)]&&i.on(e(618),(t,i,n)=>{const s=e;n||(this[s(506)](i.id,i,!0),this[s(705)]())}),this[e(650)][e(752)](i,this[e(643)](i)),i}async[dt(719)](t){const e=dt;return await this[e(575)][e(779)](t,this[e(743)]),this[e(575)][e(719)](t)}async[dt(600)](t){const e=dt;return await this[e(575)][e(779)](t,this[e(743)]),this[e(575)][e(600)](t)}[dt(705)](){const t=dt;if(0===this[t(507)][t(674)])return;if(this[t(709)])return;let e=Array[t(526)](this[t(507)][t(586)]());this[t(507)][t(588)]();for(let i=0;i<e[t(514)];i++){const n=e[i];let s=!1;for(const e of Object[t(608)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(605)](t=>null!==t),!e[t(514)])return;for(let i=0;i<e[t(514)];i++){const n=e[i];void 0!==n[t(497)]&&void 0===n[t(466)]&&(n[t(466)]=this[t(650)][t(570)](n.id)[t(466)]),void 0!==n[t(466)]&&void 0===n[t(497)]&&(n[t(497)]=this[t(650)][t(570)](n.id)[t(497)])}const i=this[t(524)][t(467)][t(564)](t(527));this[t(709)]=!0,this[t(772)](),this[t(743)][t(542)](e,i)[t(755)](()=>{this[t(709)]=!1})[t(623)](e=>{const i=t;if(e)for(const t of e)this[i(488)]({id:t.id,createdAt:t[i(520)]});this[i(690)](),this[i(705)]()})}[dt(708)]({revision:t=null,from:e=null,to:i=null}){const n=dt;e=null!==e?e:t[n(497)],i=null!==i?i:t[n(466)];const s=this[n(591)][n(631)](e,i),r={diffData:s[n(710)],authorsIds:s[n(750)],fromVersion:e,toVersion:i};if(!t||i!==t[n(466)]){const t=i-1,e=this[n(677)][n(552)][n(732)](t);r[n(520)]=e&&e[n(520)]||new Date}if(this[n(594)]&&e===this[n(594)][n(497)])for(const t of this[n(594)][n(760)])r[n(750)][n(686)](t.id)||r[n(750)][n(518)](t.id);return r}[dt(506)](t,e,i){const n=dt;if(this[n(507)][n(669)](t)){const s=this[n(507)][n(564)](t);e=i?{...s,...e}:{...e,...s}}this[n(507)][n(774)](t,e)}[dt(488)](t){const e=dt,i=this[e(650)][e(570)](t.id);if(t[e(520)]&&(t[e(520)]=new Date(t[e(520)])),t[e(750)]){const i=this[e(524)][e(485)][e(564)](e(604));t[e(760)]=t[e(750)][e(571)](t=>i[e(758)](t))}i[e(618)](t,!0)}[dt(706)](t){const e=dt,i=this[e(650)][e(570)](this[e(650)][e(514)]-1);if(i)this[e(667)]=i.id;else{const i=!this[e(524)][e(554)][e(725)][e(494)][e(744)](t=>this[e(524)][e(554)][e(583)](t)),n=this[e(524)][e(485)][e(564)](e(604)).me.id,s=ot(this[e(524)][e(616)],e(i?759:646));this[e(509)]({from:t,to:t,id:this[e(667)],name:s,creatorId:n})}}[dt(682)](t){const e=dt,i=this[e(677)][e(714)]();this[e(652)]=this[e(650)][e(570)](i),this[e(652)]||(this[e(652)]=this[e(509)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(577)](){const t=dt;this[t(502)]&&!this[t(594)]&&(await this[t(575)][t(779)](this[t(652)],this[t(743)]),this[t(591)][t(625)](this[t(652)]),this[t(594)]={fromVersion:this[t(652)][t(497)],authors:this[t(652)][t(760)][t(753)]()})}[dt(769)](e,i){const n=dt;let s=this[n(524)][n(467)][n(564)](n(733)),r=this[n(524)][n(467)][n(564)](n(601));if(void 0===s){s={};for(const t of this[n(524)][n(554)][n(725)][n(590)]())s[t]=""}if(n(553)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(524)][n(554)][n(725)][n(590)]())r[t]={}}let o=!1;const a=Object[n(608)](s),c=Object[n(608)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(613)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[n(608)](r[t])[n(514)]>0){o=!0;break}}o||(o=c[n(715)](t=>!this[n(524)][n(554)][n(725)][n(517)](t))),o&&(0,t.logWarning)(n(574),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(524)][n(467)][n(774)](n(733),e),this[n(524)][n(467)][n(774)](n(601),i)}[dt(772)](){const t=dt;if(!this[t(730)]){const e=this[t(524)][t(485)][t(564)](t(685));this[t(730)]=e[t(678)](ot(this[t(524)][t(616)],t(775)))}}[dt(690)](){const t=dt;this[t(730)]&&(this[t(524)][t(485)][t(564)](t(685))[t(757)](this[t(730)]),this[t(730)]=null)}[dt(643)](t){const e=dt,i=this[e(650)][e(675)]();i[e(589)]();let n=0;for(;n<i[e(514)];){const s=i[n];if(s===this[e(652)]){n++;continue}if(s.id===this[e(667)])break;const r=t[e(466)]-s[e(466)]||t[e(497)]-s[e(497)];if(r>0)break;if(r<0)n++;else{if(!t[e(556)]&&s[e(556)])break;if(s[e(556)]||!t[e(556)]){if(t[e(520)]>s[e(520)])break;n++}else n++}}return n}[dt(748)](t){const e=dt,i=this[e(650)][e(675)]();i[e(589)](),i[e(521)]();const n=i[e(744)](i=>i[e(466)]<=t)[e(466)];return n<this[e(632)]?this[e(632)]:n}[dt(509)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=dt,o=this[r(708)]({from:e,to:i});o[r(716)]=t,o[r(746)]=n,o.id=s;const a=this[r(766)](o);return this[r(743)]&&this[r(506)](o.id,o,!0),a}[dt(469)](){const t=dt;this[t(524)][t(578)][t(621)](t(745))[t(777)]({model:t(610)})}}class vt{[dt(524)];[dt(503)];[dt(735)];[dt(499)];[dt(747)];[dt(737)];[dt(704)];[dt(472)];[dt(740)];[dt(500)];[dt(639)];[dt(523)];[dt(630)];[dt(569)];[dt(637)];[dt(587)];[dt(633)];constructor(t){const e=dt;this[e(524)]=t,this[e(735)]=new Map,this[e(499)]=-1,this[e(747)]=-1,this[e(737)]=new Map,this[e(704)]=new Map,this[e(472)]=new Map,this[e(740)]=new Map,this[e(500)]=new Map,this[e(639)]=new Map,this[e(523)]=new Map,this[e(630)]=new Map,this[e(569)]=new Map,this[e(637)]=new Map,this[e(587)]=1}[dt(525)](t){const e=dt;this[e(503)]=t;const i=new Map,n=new Map,s=this[e(524)][e(554)][e(725)][e(494)][e(571)](t=>t[e(770)]);for(const t of s){const s=this[e(524)][e(554)][e(725)][e(517)](t),r=gt(s);i[e(774)](t,r),n[e(774)](t,Object[e(549)](s[e(763)]()))}const r=Array[e(526)](this[e(524)][e(554)][e(741)])[e(571)](t=>[t[e(716)],t[e(611)]()]),o=this[e(503)][e(720)];this[e(692)](o,i,r,n),this[e(633)]=this[e(587)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(774)](t,i),c[e(774)](t,{})}this[e(692)](Number[e(764)],a,[],c)}[dt(631)](t,e){const i=dt;if(this[i(499)]===t&&this[i(747)]<=e)this[i(735)][i(674)]>1&&this[i(688)](this[i(747)]),this[i(781)](this[i(747)],e,!0);else{if(!this[i(735)][i(669)](t)){const e=this[i(729)](t);this[i(736)](e,t,!1)}this[i(736)](t,e,!0)}return this[i(499)]=t,this[i(747)]=e,this[i(739)]()}[dt(625)](t){const e=dt,i=this[e(524)][e(485)][e(564)](e(662));this[e(539)](),this[e(499)]=t[e(497)],this[e(747)]=t[e(466)];for(const n in t[e(710)]){const s=t[e(710)][n][e(627)],r=R(t[e(710)][n][e(640)])||{},o=i[e(555)](t[e(710)][n][e(655)]);o[e(770)]=n,o[e(687)]=!s||!s[e(693)],o[e(693)]=()=>o[e(687)],this[e(740)][e(774)](n,o),this[e(500)][e(774)](n,r),s&&this[e(637)][e(774)](n,s);const a=this[e(546)](o);this[e(523)][e(774)](n,a);for(const[t,i]of o[e(741)]){if(!t[e(683)](e(595)))continue;const n=t[e(659)](":")[2];for(const t of i[e(492)]({singleCharacters:!0})){const i=this[e(695)](t),s=e(481)==t[e(471)]?t[e(645)][e(698)][e(753)](0,-1):t[e(645)][e(698)],r=a[e(699)](s)[e(694)](i);this[e(630)][e(774)](r,{userId:n})}}}this[e(633)]=this[e(587)];const n=[...Array(this[e(587)])[e(608)]()][e(753)](1)[e(605)](t=>!this[e(630)][e(669)](t));let s=0;const r=new Map;for(const o in t[e(710)]){const a=t[e(710)][o][e(627)],c=R(t[e(710)][o][e(660)])||{},u=i[e(555)](t[e(710)][o][e(460)]);u[e(770)]=o,u[e(687)]=!a||a[e(693)],u[e(693)]=()=>u[e(687)],this[e(704)][e(774)](o,u),this[e(472)][e(774)](o,c);const l=this[e(546)](u,Number[e(764)]);this[e(639)][e(774)](o,l),r[e(774)](o,u[e(693)]()?c:{});for(const[t,i]of u[e(741)]){if(!t[e(683)](e(595)))continue;const n=t[e(659)](":")[2];for(const t of i[e(492)]({singleCharacters:!0})){const i=this[e(695)](t),s=this[e(587)]++,r=e(481)==t[e(471)]?t[e(645)][e(698)][e(753)](0,-1):t[e(645)][e(698)];l[e(699)](r)[e(778)](i,s),this[e(630)][e(774)](s,{userId:n})}}for(const t of this[e(524)][e(554)][e(496)](u)[e(492)]({singleCharacters:!0})){const i=this[e(695)](t),r=e(481)==t[e(471)]?t[e(645)][e(698)][e(753)](0,-1):t[e(645)][e(698)],o=l[e(699)](r);o[e(694)](i)>0||o[e(778)](i,n[s++])}for(const[t,i]of u[e(741)])t[e(683)](e(595))||this[e(737)][e(774)](t,i)}const o=yt(e(540));this[e(740)][e(774)](e(540),o),this[e(523)][e(774)](e(540),this[e(546)](o,1));const a=yt(e(540));this[e(704)][e(774)](e(540),a),this[e(639)][e(774)](e(540),this[e(546)](a,1));const c=Array[e(526)](this[e(704)])[e(571)](([t,e])=>[t,gt(e)]);this[e(692)](this[e(747)],c,this[e(737)],r)}[dt(558)](){const t=dt;this[t(539)](),this[t(499)]=-1,this[t(747)]=-1,this[t(735)][t(588)](),this[t(525)](this[t(503)])}[dt(692)](t,e,i,n){const s=dt,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(774)](t,{start:e[s(486)][s(528)](),end:e[s(543)][s(528)](),rootName:e[s(642)][s(770)]});this[s(735)][s(774)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(688)](t){const e=dt;this[e(735)][e(547)](t)}[dt(539)](){const t=dt;this[t(630)][t(588)](),this[t(569)][t(588)](),this[t(637)][t(588)](),this[t(704)][t(588)](),this[t(472)][t(588)](),this[t(740)][t(588)](),this[t(500)][t(588)](),this[t(639)][t(588)](),this[t(523)][t(588)](),this[t(737)][t(588)](),this[t(587)]=1,this[t(633)]=this[t(587)]}[dt(546)](t,e=null){const i=dt;let n=null;t.is(i(684))||(n=new K.ModelElement(t[i(716)],{vid_start:null===e?this[i(587)]++:e++}));const s=[];for(const n of t[i(576)]())if(n.is(i(620))){s[i(518)](this[i(546)](n,e));const t=s[s[i(514)]-1];null!==e&&(e=t.is(i(620),i(561))?t[i(694)](i(738))+1:t[i(694)](i(476))+1)}else for(let t=0;t<n[i(721)];t++)s[i(518)](new K.ModelElement(i(561),{vid:null===e?this[i(587)]++:e++}));if(t.is(i(684))){const e=yt(t[i(770)]);return e[i(749)](0,s),e}return n[i(778)](i(476),null===e?this[i(587)]++:e++),n[i(749)](0,s),n}[dt(736)](t,e,i){const n=dt;this[n(539)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(735)][n(564)](t);this[n(740)]=new Map(s),this[n(500)]=new Map(R(o));for(const[t,e]of this[n(740)])if(n(540)!==t&&(this[n(704)][n(774)](t,gt(e)),this[n(472)]=new Map(R(o)),i)){const i=this[n(587)];this[n(639)][n(774)](t,this[n(546)](e)),this[n(523)][n(774)](t,this[n(546)](e,i))}this[n(633)]=this[n(587)],this[n(704)][n(774)](n(540),gt(this[n(740)][n(564)](n(540)))),i&&this[n(639)][n(774)](n(540),this[n(546)](this[n(740)][n(564)](n(540))));for(const[t,e]of r){const i=this[n(740)][n(564)](e[n(770)]),s=this[n(704)][n(564)](e[n(770)]),r=new K.ModelRange(this[n(768)](e[n(486)],i),this[n(768)](e[n(543)],i)),o=this[n(482)](r,s);i[n(741)][n(774)](t,r),this[n(737)][n(774)](t,o)}this[n(781)](t,e,i)}[dt(781)](t,e,i){const n=dt;for(const s of this[n(503)][n(515)](t,e))this[n(668)](s,i);for(const t of this[n(704)][n(586)]())t[n(741)][n(588)]();for(const[t,e]of this[n(737)])this[n(704)][n(564)](e[n(642)][n(770)])[n(741)][n(774)](t,e[n(528)]());const s=new Map,r=new Map;for(const[t,e]of this[n(704)])s[n(774)](t,gt(e)),r[n(774)](t,this[n(472)][n(564)](t));this[n(692)](e,s,this[n(737)],r)}[dt(729)](t){const e=dt,i=Array[e(526)](this[e(735)][e(608)]());i[e(598)]((t,e)=>t-e),i[e(589)]();for(const e of i)if(e<t)return e;return Number[e(764)]}[dt(532)](t,e){const i=dt,n=Array[i(526)](e[i(741)])[i(571)](([e,n])=>[e,this[i(482)](n,t)]);t[i(741)]=new Map(n)}[dt(568)](t){const e=dt;for(const i of this[e(737)][e(586)]()){const n=i[e(498)](t),s=K.ModelRange[e(665)](n);i[e(486)]=s[e(486)],i[e(543)]=s[e(543)]}}[dt(668)](t,e){const i=dt;if(i(483)!=t[i(471)]&&i(751)!=t[i(471)]){if(i(780)==t[i(471)]){const n=t[i(717)][i(642)][i(770)];this[i(704)][i(669)](n)||(this[i(704)][i(774)](n,yt(n,!0)),this[i(472)][i(774)](n,{}),e&&this[i(639)][i(774)](n,yt(n,!0)))}else{if(i(557)==t[i(471)]||i(511)==t[i(471)]||i(723)==t[i(471)])return void this[i(536)](t);i(592)==t[i(471)]&&this[i(628)](t)}if(i(592)!==t[i(471)]){const e=this[i(602)](t,this[i(704)]);e[i(615)](),this[i(568)](e)}if(e)switch(t[i(471)]){case i(780):this[i(681)](t);break;case i(537):case i(757):case i(617):this[i(550)](t);break;case i(663):this[i(563)](t);break;case i(659):this[i(545)](t)}}else this[i(711)](t,e)}[dt(602)](t,e){const i=dt,n=t[i(528)]();return n[i(475)]=t[i(475)],this[i(530)](n,e),n}[dt(580)](t){const e=dt;return t[e(571)](t=>{const i=e,n=this[i(695)](t);return Number(t[i(512)][i(694)](n))})}[dt(653)](t,e){const i=dt;if(t.is(i(620),i(561)))e[i(518)]({item:t,type:i(697)});else{t.is(i(620))&&e[i(518)]({item:t,type:i(664)});for(const n of t[i(576)]())this[i(653)](n,e);t.is(i(620))&&e[i(518)]({item:t,type:i(481)})}return e}[dt(739)](){const t=dt,e=new Map(this[t(630)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(740)][t(608)](),...this[t(704)][t(608)]()]);a[t(547)](t(540));for(const e of a){const i=this[t(704)][t(564)](e)||yt(e,!1),n=this[t(740)][t(564)](e)||yt(e,!1);i[t(693)]()||n[t(693)]()?(s[t(460)][e]=gt(i),s[t(655)][e]=gt(n),this[t(532)](s[t(655)][e],n),this[t(532)](s[t(460)][e],i),r[t(460)][e]=this[t(653)](this[t(639)][t(564)](e),[]),r[t(655)][e]=this[t(653)](this[t(523)][t(564)](e)||yt(e,!1),[])):a[t(547)](e)}for(const s of a){const o=r[t(460)][s];for(const s of o){const r=this[t(695)](s),o=s[t(512)][t(694)](r);i[t(547)](o),o>=this[t(633)]&&n[t(774)](o,e[t(564)](o))}}for(const s of a){const a=r[t(460)][s],c=this[t(580)](r[t(655)][s]);let u=0;for(const s of a){const r=this[t(695)](s),a=s[t(512)][t(694)](r);if(!n[t(669)](a)&&!o[t(669)](a))if(i[t(669)](a))u++;else{if(a!=c[u]){const n=e[t(564)](a)||e[t(564)](c[u]);for(;a!=c[u];)i[t(669)](c[u])||(o[t(774)](c[u],n),e[t(774)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(460)][e];for(const e of s){const s=this[t(695)](e),r=e[t(512)][t(694)](s);if(o[t(669)](r)){const e=o[t(564)](r);i[t(669)](r)||i[t(774)](r,{...e}),n[t(774)](r,{...e})}}}for(const e of i[t(608)]())e>=this[t(633)]&&i[t(547)](e);const c=new Map;for(const e of a){let s=r[t(460)][e];for(const e of s)if(e[t(512)].is(t(620),t(510))){const i=this[t(695)](e),s=e[t(512)][t(694)](i);if(n[t(669)](s)){const i=e[t(512)][t(622)][t(622)][t(694)](t(635)),r=c[t(564)](i)||new Set;r[t(678)](n[t(564)](s)[t(593)]),c[t(774)](i,r)}}s=r[t(655)][e];for(const e of s)if(e[t(512)].is(t(620),t(510))){const n=this[t(695)](e),s=e[t(512)][t(694)](n);if(i[t(669)](s)){const n=e[t(512)][t(622)][t(622)][t(694)](t(635)),r=c[t(564)](n)||new Set;r[t(678)](i[t(564)](s)[t(593)]),c[t(774)](n,r)}}for(const e of c[t(608)]())(n[t(669)](e)||i[t(669)](e))&&c[t(547)](e)}for(const e of a){const s=r[t(460)][e];let o=null,a=null;for(const e of s){const s=this[t(695)](e),r=e[t(512)][t(694)](s),u=c[t(564)](r);u&&t(664)==e[t(471)]&&(o=Array[t(526)](u)[0],a=e[t(512)][t(694)](t(476))),o&&(i[t(774)](r,{userId:o}),n[t(774)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(655)][e],a=s[t(460)][e];for(const{userId:e}of this[t(569)][t(586)]())null!==e&&l[t(678)](e);for(const{userId:e}of this[t(637)][t(586)]())null!==e&&l[t(678)](e);this[t(463)](a,r[t(460)][e],n,t(754),l),this[t(463)](o,r[t(655)][e],i,t(727),l),u[e]={insertions:this[t(647)](a),deletions:this[t(647)](o),attachChange:this[t(637)][t(564)](e)||null,attributesBefore:R(this[t(500)][t(564)](e))||{},attributesAfter:R(this[t(472)][t(564)](e))}}return{diffData:u,authorsIds:Array[t(526)](l)}}[dt(474)](t){const e=dt;for(const[,i]of t[e(741)]){const t=i[e(486)][e(672)]()[e(605)](t=>e(510)==t[e(716)]);for(const i of t)1==i[e(607)]&&i[e(548)](0).is(e(620),e(629))&&i[e(548)](0)[e(778)](e(734),!0)}}[dt(647)](t){const e=dt;this[e(474)](t);const i=this[e(524)][e(782)][e(470)](t,{}),n=Array[e(526)](i[e(576)]())[e(571)](t=>this[e(579)](t));return JSON[e(724)](n)}[dt(579)](t){const e=dt;if(t.is(e(561)))return t[e(782)];{const i=this[e(524)][e(485)][e(564)](e(662)),n=t,s=this[e(524)][e(782)][e(516)][e(676)],r={type:i[e(573)](n),name:n[e(716)],attributes:Array[e(526)](n[e(763)]()),children:Array[e(526)](n[e(576)]())[e(571)](t=>this[e(579)](t))};if(t.is(e(651))&&e(531)!=t[e(716)]){const i=t[e(551)](s[e(603)],s);r[e(562)][e(518)](i[e(661)])}else if(t.is(e(742))){const i=s[e(603)][e(581)](n[e(716)]);t[e(551)](i,s),r[e(562)][e(518)](i[e(703)])}const o=Array[e(526)](n[e(479)]());o[e(514)]>0&&(r[e(596)]=o);const a=n[e(584)]();return null!==a&&(r[e(468)]=a),r}}[dt(463)](t,e,i,n,s){const r=dt;let o=null,a=null,c=0;const u=this[r(524)][r(554)];for(let n=0;n<e[r(514)];n++){const s=this[r(695)](e[n]),c=e[n][r(512)][r(694)](s),h=i[r(564)](c),d=n==e[r(514)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(593)]!=o[r(593)])&&(l(h,kt(a,t,u),kt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,kt(a,t,u),bt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(593)],d=l(595)+n+":"+h+":"+c++,f=u[l(641)](i,a);t[l(741)][l(774)](d,f),null!==h&&s[l(678)](h)}}[dt(695)](t){const e=dt;switch(t[e(471)]){case e(664):return e(635);case e(481):return e(476);default:return e(738)}}[dt(530)](t,e){const i=dt;t[i(505)]=null;for(const n in t){const s=t[n];if(s instanceof K.ModelPosition){const r=e[i(564)](s[i(642)][i(770)]);t[n]=this[i(768)](s,r)}if(s instanceof K.ModelRange){const r=e[i(564)](s[i(642)][i(770)]);t[n]=this[i(482)](s,r)}i(642)===n&&(t[i(642)]=e[i(564)](t[i(642)][i(770)]))}}[dt(482)](t,e){const i=dt;return this[i(524)][i(554)][i(641)](this[i(768)](t[i(486)],e),this[i(768)](t[i(543)],e))}[dt(768)](t,e){const i=dt;return this[i(524)][i(554)][i(702)](e,t[i(698)],t[i(489)])}[dt(681)](t){const e=dt,i=this[e(639)][e(564)](t[e(717)][e(642)][e(770)]),n=this[e(768)](t[e(717)],i),s=null===t[e(475)]?null:t[e(475)]||this[e(524)][e(485)][e(564)](e(604)).me.id,r=n[e(622)],o=this[e(587)],a=[];for(const i of t[e(689)])if(i.is(e(620)))a[e(518)](this[e(546)](i));else for(let t=0;t<i[e(721)];t++)a[e(518)](new K.ModelElement(e(561),{vid:this[e(587)]++}));const c=this[e(587)];for(let t=o;t<c;t++)this[e(630)][e(774)](t,{userId:s});r[e(749)](n[e(762)],a)}[dt(550)](t){const e=dt;(t=this[e(602)](t,this[e(639)]))[e(615)]();const i=null===t[e(475)]?null:t[e(475)]||this[e(524)][e(485)][e(564)](e(604)).me.id,n=t[e(465)](),s=n[e(622)],r=n[e(762)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(548)](e);r.is(a(620),a(561))?n[a(774)](r[a(694)](a(738)),{userId:i}):(n[a(774)](r[a(694)](a(635)),{userId:i}),t(n,r,0,r[a(607)]),n[a(774)](r[a(694)](a(476)),{userId:i}))}}(this[e(630)],s,r,r+t[e(619)])}[dt(563)](t){const e=dt,i=null===(t=this[e(602)](t,this[e(639)]))[e(475)]?null:t[e(475)]||this[e(524)][e(485)][e(564)](e(604)).me.id,n=t[e(767)][e(622)],s=t[e(731)][e(622)],r=n[e(694)](e(476)),o=s[e(694)](e(635));n[e(778)](e(476),s[e(694)](e(476))),s[e(778)](e(476),r),this[e(630)][e(774)](o,{userId:i}),this[e(630)][e(774)](r,{userId:i}),t[e(615)]()}[dt(545)](t){const e=dt,i=null===(t=this[e(602)](t,this[e(639)]))[e(475)]?null:t[e(475)]||this[e(524)][e(485)][e(564)](e(604)).me.id,n=t[e(614)],s=t[e(606)][e(622)];t[e(615)]();const r=s[e(694)](e(476)),o=t[e(624)][e(535)];if(n){const t=o[e(694)](e(476)),n=s[e(694)](e(476));s[e(778)](e(476),t),o[e(778)](e(476),n),this[e(630)][e(774)](s[e(694)](e(476)),{userId:i}),this[e(630)][e(774)](o[e(694)](e(635)),{userId:i})}else{const t=this[e(587)]++,n=this[e(587)]++;s[e(778)](e(476),t),o[e(778)](e(635),n),o[e(778)](e(476),r),this[e(630)][e(774)](t,{userId:i}),this[e(630)][e(774)](n,{userId:i})}}[dt(628)](t){const e=dt;if(!t[e(726)])return;const i=(t=this[e(602)](t,this[e(704)]))[e(712)]?t[e(712)][e(642)]:null,n=t[e(513)]?t[e(513)][e(642)]:null;i&&this[e(737)][e(547)](t[e(716)]),n&&this[e(737)][e(774)](t[e(716)],t[e(513)][e(528)]());const s=null===t[e(475)]?null:t[e(475)]||this[e(524)][e(485)][e(564)](e(604)).me.id,r=t[e(716)];if(!this[e(569)][e(669)](r))return void this[e(569)][e(774)](r,{range:t[e(712)],userId:s});const o=this[e(569)][e(564)](r),a=o[e(461)],c=t[e(513)];null==a&&null==c||a&&c&&a[e(464)](c)?this[e(569)][e(547)](t[e(716)]):o[e(593)]=s}[dt(711)](t,e){const i=dt;this[i(704)][i(669)](t[i(770)])?this[i(704)][i(564)](t[i(770)])[i(687)]=t[i(487)]:(this[i(704)][i(774)](t[i(770)],yt(t[i(770)],!0)),this[i(472)][i(774)](t[i(770)],{}),e&&this[i(639)][i(774)](t[i(770)],yt(t[i(770)],!0)));const n=null===t[i(475)]?null:t[i(475)]||this[i(524)][i(485)][i(564)](i(604)).me.id,s=this[i(637)][i(564)](t[i(770)]);s&&s[i(593)]===n?this[i(637)][i(547)](t[i(770)]):this[i(637)][i(774)](t[i(770)],{userId:n,isAttached:t[i(487)]})}[dt(536)](t){const e=dt,i=this[e(472)][e(564)](t[e(642)][e(770)]);null===t[e(644)]?delete i[t[e(707)]]:i[t[e(707)]]=t[e(644)]}}function gt(t){const e=dt,i=yt(t[e(770)],t[e(693)]());for(const n of t[e(576)]()){const t=n[e(648)](!0);i[e(649)](t)}return i}function yt(t,e=!0){const i=dt,n=new K.ModelDocumentFragment;return n[i(770)]=t,n[i(687)]=e,n[i(693)]=()=>n[i(687)],n}function kt(t,e,i){const n=dt,s=n(481)==t[n(471)]?i[n(657)](t[n(512)],n(543)):i[n(585)](t[n(512)]);return i[n(702)](e,s[n(698)],s[n(489)])}function bt(t,e,i){const n=dt,s=n(664)==t[n(471)]?i[n(657)](t[n(512)],0):i[n(480)](t[n(512)]);return i[n(702)](e,s[n(698)],s[n(489)])}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),Dt=i.n(Mt),Vt=i(426),Et={attributes:{"data-cke":!0}};Et.setAttributes=Rt(),Et.insert=Nt().bind(null,"head"),Et.domAPI=Tt(),Et.insertStyleElement=Dt();St()(Vt.A,Et);Vt.A&&Vt.A.locals&&Vt.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=Dt();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;const Lt=Pt;function jt(){const t=["revisionName","keystrokes","ck-responsive-form","trim","4CZRtkX","label","render","8029020JtueEK","revisionNameInputValue","form","220","focusTracker","arrowup","_createRevisionNameInput","optional","value","17474kRGtJg","fieldView","arrowleft","170rnHeLE","arrowright","ck-revision-history-save-revision-form","revisionNameInputView","stopPropagation","arrowdown","initializeCssTransitionDisablerMixin","Name of the revision","33yAHWLz","1078097iaPHHd","reset","errorText","4648609qkAjul","element","extendTemplate","3917656eeVUyU","setTemplate","locale","add","10296wtrCdf","2152055kLSBOZ","listenTo","focus","set","input"];return(jt=function(){return t})()}function Pt(t,e){const i=jt();return(Pt=function(t,e){return i[t-=128]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(716507===parseInt(e(165))/1+parseInt(e(153))/2*(-parseInt(e(164))/3)+parseInt(e(141))/4*(-parseInt(e(132))/5)+parseInt(e(144))/6+-parseInt(e(168))/7+-parseInt(e(171))/8+parseInt(e(131))/9*(-parseInt(e(156))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class zt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[Lt(148)];[Lt(138)];[Lt(159)];constructor(e,i){const n=Lt;super(e),this[n(148)]=new t.FocusTracker,this[n(138)]=new t.KeystrokeHandler,this[n(135)](n(145),""),this[n(159)]=this[n(150)](i),this[n(128)]({tag:n(146),attributes:{class:["ck",n(158),n(139)],tabindex:"-1"},children:[this[n(159)]]}),this[n(162)]()}[Lt(143)](){const t=Lt;super[t(143)](),(0,_t.submitHandler)({view:this}),this[t(148)][t(130)](this[t(159)][t(169)]),this[t(138)][t(133)](this[t(169)]);const e=e=>e[t(160)]();this[t(138)][t(135)](t(157),e),this[t(138)][t(135)](t(155),e),this[t(138)][t(135)](t(149),e),this[t(138)][t(135)](t(161),e)}[Lt(134)](){const t=Lt;this[t(159)][t(134)]()}get[Lt(137)](){const t=Lt;return this[t(159)][t(154)][t(169)][t(152)][t(140)]()}set[Lt(137)](t){const e=Lt;this[e(159)][e(154)][e(169)][e(152)]=t[e(140)]()}[Lt(166)](){const t=Lt;this[t(159)][t(154)][t(169)][t(152)]="",this[t(159)][t(167)]=null}[Lt(150)](t){const e=Lt,i=new _t.LabeledFieldView(this[e(129)],_t.createLabeledInputText),n=i[e(154)];n[e(170)]({attributes:{maxlength:e(147)}});let s=ot(this[e(129)],e(163));return!t&&(s+=" ("+ot(this[e(129)],e(151))+")"),i[e(142)]=s,n.on(e(136),()=>{const t=e;this[t(145)]=n[t(169)][t(152)][t(140)]()}),i}}function Ht(){const t=["Cancel","plugins","addMany","revisionHistory.requireRevisionName","get","buttonView","2529860NNenTW","Accept","menu","children","Open revision history","isReadOnly","3410622hHLivB","2527688FRBRRU","RevisionTracker","Revision history","items","pluginName","panelView","isPremiumPlugin","role","49OvfAaD","add","errorText","requires","menuitem","revisionHistory","submit","editing","focus","606846mtuzXi","isOfficialPlugin","init","revisionNameInputView","bind","hide","RevisionHistoryUI","saveRevision","_saveRevisionFormView","isOpen","Save current revision","1400311BMytSO","showRevisionViewerCallback","_registerMenuComponent","6630600oLJrin","locale","2961ESRJqn","config","3QtPIZP","delegate","_showDialog","isEnabled","editor","render","revisionName","view","reset","isReady","Dialog","execute","The revision name cannot be empty.","revisionSave","ck-button-action","_createSaveRevisionFormView","set","componentFactory","show","menuBar:revisionHistory","21592UERtDP"];return(Ht=function(){return t})()}const Ut=Zt;function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=445]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(920070===-parseInt(e(481))/1+parseInt(e(452))/2+parseInt(e(488))/3*(parseInt(e(453))/4)+parseInt(e(484))/5+parseInt(e(470))/6*(-parseInt(e(461))/7)+-parseInt(e(508))/8*(parseInt(e(486))/9)+parseInt(e(446))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Wt extends J.Plugin{static get[Ut(457)](){return Ut(476)}static get[Ut(471)](){return!0}static get[Ut(459)](){return!0}static get[Ut(464)](){return[pt]}[Ut(478)];[Ut(472)](){const t=Ut,e=this[t(492)],i=e[t(510)][t(513)](t(454));e.ui[t(505)][t(462)](t(466),n=>{const s=t,r=(0,_t.createDropdown)(n),o=r[s(458)][s(449)],a=new _t.ListView(n),c=new _t.ListItemView(n),u=new _t.ButtonView(n),l=new _t.ListItemView(n),h=new _t.ButtonView(n);return r[s(474)](s(491)).to(i,s(497),i,s(491),e,s(451),(t,e,i)=>t&&e&&!i),r[s(445)][s(504)]({icon:wt.IconHistory,label:ot(n,s(455)),tooltip:!0}),u[s(504)]({label:ot(n,s(480)),withText:!0,role:s(465)}),u[s(474)](s(491)).to(i,s(497),i,s(491),e,s(451),(t,e,i)=>t&&e&&!i),u.on(s(499),()=>this[s(490)]()),h[s(504)]({label:ot(n,s(450)),withText:!0,role:s(465)}),h[s(474)](s(491)).to(i,s(497),e,s(451),(t,e)=>t&&!e),h.on(s(499),()=>{const t=s;e[t(487)][t(513)](t(466))[t(482)](),r[t(479)]=!1,e[t(468)][t(495)][t(469)]()}),c[s(449)][s(462)](u),l[s(449)][s(462)](h),a[s(460)]=s(448),a[s(456)][s(511)]([c,l]),o[s(462)](a),r}),e.ui[t(505)][t(462)](t(507),()=>this[t(483)]())}[Ut(483)](){const t=Ut,e=this[t(492)],i=e[t(485)],n=new _t.MenuBarMenuView(i),s=new _t.MenuBarMenuListView(i);n[t(445)][t(504)]({icon:wt.IconHistory,label:ot(i,t(455))});const r=new _t.MenuBarMenuListItemView(i,n),o=new _t.MenuBarMenuListItemButtonView(i);o[t(504)]({label:ot(i,t(480))}),o[t(489)](t(499)).to(n),o.on(t(499),()=>{this[t(490)]()}),r[t(449)][t(462)](o),s[t(456)][t(462)](r);const a=new _t.MenuBarMenuListItemView(i,n),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(504)]({label:ot(i,t(450))}),c[t(489)](t(499)).to(n),c.on(t(499),()=>{const i=t;e[i(487)][i(513)](i(466))[i(482)]()}),a[t(449)][t(462)](c),s[t(456)][t(462)](a),n[t(458)][t(449)][t(462)](s),n}[Ut(490)](){const t=Ut,e=this[t(492)],i=e[t(485)],n=e[t(510)][t(513)](t(498)),s=e[t(510)][t(513)](t(454));function r(s){const r=t;e[r(487)][r(513)](r(512))&&""===s[r(494)]?s[r(473)][r(463)]=ot(i,r(500)):(e[r(510)][r(513)](pt)[r(477)]({name:s[r(494)]}),n[r(475)]())}this[t(478)]||(this[t(503)](),this[t(478)].on(t(467),()=>r(this[t(478)]))),this[t(478)][t(496)](),n[t(506)]({id:t(501),title:ot(i,t(480)),isModal:!0,content:this[t(478)],actionButtons:[{label:ot(e[t(485)],t(509)),withText:!0,onExecute:()=>n[t(475)]()},{label:ot(e[t(485)],t(447)),class:t(502),withText:!0,onCreate(i){const n=t;i[n(474)](n(491)).to(s,n(497),s,n(491),e,n(451),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(478)])}]})}[Ut(503)](){const t=Ut,e=this[t(492)],i=e[t(485)];this[t(478)]=new zt(i,e[t(487)][t(513)](t(512))),this[t(478)][t(493)]()}}const $t=qt;function qt(t,e){const i=Bt();return(qt=function(t,e){return i[t-=187]})(t,e)}function Bt(){const t=["ck-revision-change__label","focus","17770cqdRUB","element","add","39998wMYaHK","Added by","ck-revision-change","5YZGaSY","6039qiazug","202807PhbZoS","ck-annotation","_model","author","span","ck-revision-change__","type","7392870utaIMX","12AfgDKk","34913808kteFXl","bindTemplate","setTemplate","isSuggestion","920cfWYOe","set","name","changeId","data","div","Removed by","8700opKedk","1592JlUjFb","Suggested by","6163734ZFHGiw"];return(Bt=function(){return t})()}!function(t){const e=qt,i=t();for(;;)try{if(672436===parseInt(e(199))/1*(-parseInt(e(207))/2)+-parseInt(e(219))/3*(-parseInt(e(212))/4)+parseInt(e(197))/5*(-parseInt(e(188))/6)+-parseInt(e(194))/7*(-parseInt(e(220))/8)+-parseInt(e(206))/9+parseInt(e(191))/10*(-parseInt(e(198))/11)+parseInt(e(208))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Yt extends _t.View{[$t(215)];[$t(201)];constructor(t,e){const i=$t;super(t),this[i(201)]=e,this[i(215)]=e.id;const n=this[i(209)],s=ot(t,e[i(216)][i(211)]?i(187):i(193)==e[i(205)]?i(195):i(218));this[i(213)](i(205),e[i(205)]),this[i(210)]({tag:i(217),attributes:{class:[i(200),i(196),n.to(i(205),t=>i(204)+t)],tabindex:-1},children:[{tag:i(203),children:[{tag:i(203),attributes:{class:[i(189)]},children:[{text:s}]},{text:" "+e[i(202)][i(214)]}]}]})}[$t(190)](){const t=$t;this[t(192)][t(190)]()}}var Jt=Kt;function Gt(){var t=["set","author","3373008hfvCOB","createdAt","55NooITL","696XxGjyN","555YhUnmO","2661KEvLzG","data","toJSON","type","2144KrRUmy","6507UQfAmZ","270795gHOANA","rootName","1001063HtRceV","1678STJQse","1987240ciYUse"];return(Gt=function(){return t})()}function Kt(t,e){var i=Gt();return(Kt=function(t,e){return i[t-=357]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(585887===-parseInt(e(362))/1+-parseInt(e(365))/2*(-parseInt(e(374))/3)+-parseInt(e(369))/4+parseInt(e(373))/5*(parseInt(e(372))/6)+parseInt(e(364))/7+-parseInt(e(360))/8*(parseInt(e(361))/9)+-parseInt(e(366))/10*(-parseInt(e(371))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Qt extends((0,t.ObservableMixin)()){id;[Jt(368)];[Jt(359)];[Jt(357)];[Jt(363)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(368)]=e[i(368)],this[i(359)]=e[i(359)],this[i(357)]=e[i(357)]||{},this[i(363)]=e[i(363)],this[i(367)](i(370),e[i(370)])}[Jt(358)](){var t=Jt;return{id:this.id,authorId:this[t(368)].id,type:this[t(359)],data:this[t(357)],createdAt:this[t(370)]}}}function Xt(){const t=["newRevisionId","oldRevisionId","6641830UJpAsX","2PDfrml","changes","16TlRNuL","48ZHnJxd","add","693701kJQIBk","989457DBolkm","16nKiXfd","1538388vulSjy","3232881DOkRbL","632508GZNrGJ","77IFtzeA","237175dmLmXz","_setChanges"];return(Xt=function(){return t})()}const te=ee;function ee(t,e){const i=Xt();return(ee=function(t,e){return i[t-=186]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(471970===parseInt(e(190))/1*(-parseInt(e(202))/2)+-parseInt(e(195))/3*(-parseInt(e(187))/4)+parseInt(e(197))/5*(-parseInt(e(188))/6)+-parseInt(e(191))/7+-parseInt(e(192))/8*(parseInt(e(194))/9)+parseInt(e(201))/10+-parseInt(e(196))/11*(-parseInt(e(193))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class ie{[te(199)];[te(200)];[te(186)];constructor(e,i){const n=te;this[n(199)]=e,this[n(200)]=i,this[n(186)]=new t.Collection}[te(198)](t){const e=te;for(const i of t)this[e(186)][e(189)](i)}}var ne=i(536),se={attributes:{"data-cke":!0}};se.setAttributes=Rt(),se.insert=Nt().bind(null,"head"),se.domAPI=Tt(),se.insertStyleElement=Dt();St()(ne.A,se);ne.A&&ne.A.locals&&ne.A.locals;const re=ce;function oe(){const t=["_threeWayMerge","getIndex","102636UnWXHi","_changeIdToChange","toViewElement","config","vid","createUIElement","_removeMissingPairs","authors","_markSuggestions","high","_step","createPositionBefore","change","_cleanMarkers","get","isSuggestion","removeMarker:revision-suggestion","ck-revision-history-root-","removeAttribute","editingDowncast","WidgetToolbarRepository","unbindElementFromMarkerName","type","toViewRange","_joinTapes","_makeTape","createRangeIn","bindElementToMarker","revision-comment:","change:numberOfChanges","revision:","return","revisionHistoryAttachChange","rootName","_initInteractions","_makeModelFromViewString","adapter","mouseover","upcast","span","setAttribute","_markMismatchedRemovedTags","restoreRevision","addClass","offsetSize","120KxRbfY","_processTape","requires","addRoot","getRevisionRootsAttributes","ck-suggestion-marker-","userId","_cleanUp","_setConversion","_findChangeIdFromDomTarget","execute","downcastDispatcher","16NrstCQ","elementStart","document","code","end","nextPosition","_utils","isRemoved","object","length","slice","createRevision","insert","uiElement","restoreRevisionCallback","flat","_removeUnsupportedChanges","getWalker","ck-editor__editable__overlay","attributes","POSITIVE_INFINITY","concat","pluginName","markers","markersStart","_markMarkers","item","maxOffset","keys","vid_start","stop","isAttached","ck-suggestion-marker-split","markerNameToElements","updatePosition","2owphbV","addMarker:revision-suggestion:deletion","forceDisabled","editing","then","elementToAttribute","ck-revision-history-root-add","newRevisionId","softBreak","revision-suggestion","createRange","changeId","enableReadOnlyMode","mapViewToDom","listenTo","target","clear","deletions","oldRevisionId","range","findIndex","getClientRects","refresh","destroy","modelRange","change:activeView","viewItem","attributesBefore","getRevisionDocumentData","RevisionHistoryUtils","1061331ymhnui","plugins","isBlock","isBefore","createAttributeElement","changes","highest","suggestion:","change:activeChange","mapper","markerToHighlight","add","indexOf","revision","ck-suggestion-marker--active","catch","currentChangeNumber","string","RevisionViewer","getRevision","22542eTONGN","split","insertion","nodeAfter","affectsData","resolve","pop","mousedown","isAtEnd","addRevisionData","removeMarker:revision","detachRoot","delete","dataDowncast","_getRevisionsRange","vid_end","isInline","find","8123059ywtRXc","push","abs","values","elementEnd","markerToData","startsWith","ck-suggestion-preview-marker-","attribute:vid","-new","startIndex","revision-suggestion:","_appendChild","isIncorrect","isOnRoot","ck-revision-history-root-remove","diff","isPremiumPlugin","for","nextSibling","isEqual","isNavigationMode","selection","getCustomProperty","activeChange","_getViewForChange","isCollapsed","enqueueChange","first","diffData","_sortAndFilterDiffChanges","isOfficialPlugin","roots","done","_setDistance","getAttributes","isEnabled","addMarker:revision","_refreshStartEndIndex","pairId","_makeModelFromTape","shift","next","ck-suggestion-marker-merge","writer","getChild","distance","removeClass","_data","isLimit","consume","RevisionsRepository","activeView","bind","locale","isAddSuggestion","isRemoveSuggestion","right","observeMarkers","getDomRoot","model","insertions","includes","forward","markerName","view","addHighlight","createPositionFromPath","bottom","revision-viewer","_update","from","loadRevisionData","level","forEach","element:pre","conversion","ck-revision-history-root--active","getItems","comment","suggestion","checkAttribute","data","repository","merge","attachChange","getRootNames","filter","low","side","isContent","_activeViewTarget","unshift","attributesAfter","markersEnd","_balloon","reconvertMarker","markerRange","706436BYMokO","showStack","test","parent","isAtStart","change:isEnabled","commands","backward","domConverter","isAfter","revisionHistory","_changeView","element","deletion","hasClass","_getDiff","set","index","85VKSDzz","addRevision","isObject","has","_getChangeFromId","endIndex","data-change-id","compare","numberOfChanges","ck-suggestion-marker","toViewPosition","top","getLaterVisibleRevision","_revisions","error","showNextChange","isAdded","6490693OaIQpQ","change:isReady","previousPosition","_fixObsoleteTags","domEvent","showPreviousChange","isReady","hasAttribute","name","text","getAttribute","revisionHistoryLabel","_markInsertions","consumable","_setChanges","addMarker:revision-suggestion:insertion","all","editor","init","getRoot","ck-suggestion-preview-marker","left","dataToMarker","wrap","removeMarker","sort","splice","schema","start","remove","9421220qShQAg","map"];return(oe=function(){return t})()}!function(t){const e=ce,i=t();for(;;)try{if(806007===-parseInt(e(573))/1*(parseInt(e(412))/2)+parseInt(e(603))/3*(-parseInt(e(538))/4)+-parseInt(e(430))/5*(-parseInt(e(296))/6)+parseInt(e(314))/7+-parseInt(e(526))/8*(-parseInt(e(481))/9)+parseInt(e(477))/10+parseInt(e(447))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ae extends J.Plugin{[re(397)];[re(517)]=null;[re(544)];[re(405)];[re(423)];[re(482)];[re(409)];static get[re(560)](){return re(294)}static get[re(345)](){return!0}static get[re(331)](){return!0}static get[re(528)](){return[G.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(397)]=this[e(464)][e(604)][e(495)](e(365)),this[e(544)]=this[e(464)][e(604)][e(495)](e(602)),this[e(428)](e(338),null),this[e(428)](e(366),null),this[e(405)]=null,this[e(428)](e(330),null),this[e(428)](e(453),!1),this[e(428)](e(350),!0),this.on(e(417),(t,i,n)=>{const s=e;this[s(338)]=null,this[s(366)]=null,this[s(464)][s(576)][s(379)][s(493)](t=>{const e=s;for(const i of this[e(464)][e(576)][e(379)][e(540)][e(346)])n?t[e(361)](e(556),i):t[e(524)](e(556),i)})}),this[e(367)](e(335)).to(this,e(338),t=>null!==t),this[e(367)](e(292)).to(this,e(453),this,e(330),this,e(338),(t,i,n)=>t&&n?i[e(281)][e(480)](n):0),this[e(367)](e(438)).to(this,e(453),this,e(330),(t,i)=>t?i[e(281)][e(547)]:0),this[e(423)]=null,this[e(482)]=new Map,this[e(409)]=this[e(464)][e(604)][e(495)](_t.ContextualBalloon)}[re(465)](){const t=re,e=this[t(464)],i=new he(e,{direction:t(419)}),n=new he(e,{direction:t(377)});e[t(418)][t(287)](t(452),i),e[t(418)][t(287)](t(445),n),e[t(418)][t(287)](t(523),new le(e)),this.on(t(510),()=>{const e=t;i[e(595)](),n[e(595)]()}),this[t(534)](),this[t(515)](),e[t(585)](t(383)),e[t(604)][t(433)](t(501))&&e[t(604)][t(495)](t(501))[t(575)](t(383))}async[re(601)](t){const e=re;return await this[e(544)][e(386)](t,this[e(517)]),this[e(544)][e(601)](t)}async[re(530)](t){const e=re;return await this[e(544)][e(386)](t,this[e(517)]),this[e(544)][e(530)](t)}async[re(437)](t,e,i=!1){const n=re;if(!this[n(350)])return;const s=this[n(330)],r=this[n(397)],o=n(293)==typeof t?r[n(295)](t):t,a=n(293)==typeof e?r[n(295)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(330)]&&this[n(330)][n(580)]===c&&this[n(330)][n(591)]===u)return Promise[n(301)]();this[n(453)]=!1,this[n(366)]=null,this[n(338)]=null,this[n(330)]=new ie(c,u);const l=this[n(310)](o,a,!0)[n(478)](t=>this[n(544)][n(386)](t,this[n(517)]));return l[n(315)](new Promise(t=>{setTimeout(t,20)})),Promise[n(463)](l)[n(577)](()=>{const t=n;if(!this[t(350)])return;this[t(533)]();const e=this[t(427)](c,u);for(const i of e[t(281)])this[t(482)][t(428)](i.id,i);this[t(464)][t(374)][t(341)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(464)][n(374)][n(540)][n(400)]())i[n(307)](t);for(const t of Object[n(566)](e[n(374)])){const s=i[n(529)](t);for(const r of Object[n(566)](e[n(557)][t]))i[n(521)](r,e[n(557)][t][r],s);i[n(550)](e[n(374)][t],s,0)}}),this[t(330)][t(461)](this[t(344)](e[t(281)])),this[t(453)]=!0})[n(291)](t=>{const e=n;console[e(444)](t),this[e(533)](),s&&(this[e(330)]=s),this[e(453)]=!0})}[re(305)](t,e){const i=re,n=this[i(397)][i(549)](t);return n.on(i(384),(t,i,s)=>e(i,s,n)),this[i(397)][i(431)](n),n}[re(533)](){const t=re;this[t(338)]=null,this[t(494)](),this[t(423)]&&this[t(423)][t(596)](),this[t(423)]=null,this[t(482)][t(589)](),this[t(464)][t(374)][t(341)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(464)][i(374)][i(540)][i(400)]())e[i(307)](t)})}[re(344)](t){const e=re,i=[],n=new Map;for(const t of this[e(464)][e(374)][e(540)][e(400)]()){const s=this[e(464)][e(576)][e(379)][e(373)](t);if(!s)continue;const r=s[e(594)]()[e(564)](0);r&&(i[e(315)](t),n[e(428)](t,r))}return i[e(472)]((t,i)=>{const s=e,r=n[s(495)](t),o=n[s(495)](i);return r.y-o.y||r.x-o.x}),(t=t[e(401)](t=>i[e(376)](t[e(514)])))[e(472)]((t,n)=>i[e(288)](t[e(514)])-i[e(288)](n[e(514)])),t}[re(506)](t){const e=re,i=Array[e(385)](t[e(561)])[e(401)](([t,i])=>t[e(320)](e(511))&&!i[e(340)]),n=Array[e(385)](this[e(464)][e(374)][e(507)](t)[e(555)]({singleCharacters:!0}));if(0!=i[e(547)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(297)](":");if(s[e(542)][e(334)](t[e(543)])&&i[e(355)](),(t[e(449)][e(334)](s[e(475)])||t[e(449)][e(421)](s[e(475)]))&&(e(298)==r?t[e(446)]={userId:o}:e(425)==r&&(t[e(545)]={userId:o})),0==i[e(547)])break}return n}[re(352)](t){const e=re,i=new Map;for(let n=0;n<t[e(547)];n++)e(456)===t[n][e(503)]?(t[n][e(564)][e(324)]=n,t[n][e(564)][e(435)]=n):(e(539)===t[n][e(503)]?t[n][e(564)][e(324)]=n:e(318)===t[n][e(503)]&&(t[n][e(564)][e(435)]=n),i[e(428)](t[n].id,n));for(const n of i[e(317)]())e(539)===t[n][e(503)]?t[n][e(564)][e(435)]=i[e(495)](t[n][e(353)]):e(318)===t[n][e(503)]&&(t[n][e(564)][e(324)]=i[e(495)](t[n][e(353)]))}[re(527)](t){const e=re;for(let i=0;i<t[e(547)];i++){if(e(539)===t[i][e(503)])t[i][e(564)][e(324)]=i;else if(e(318)===t[i][e(503)]){t[i][e(564)][e(435)]=i;const n=t[i][e(564)][e(324)];t[n][e(353)]=t[i].id,t[i][e(353)]=t[n].id}else t[i][e(564)][e(324)]=i,t[i][e(564)][e(435)]=i,t[i][e(353)]=null;t[i][e(562)]||(t[i][e(562)]=[],t[i][e(408)]=[])}}[re(459)](t,e){const i=re,n=t[i(401)](t=>!t[i(446)]);for(let t=0;t<e[i(547)];t++)e[t][i(446)]&&(n[t][i(446)]=e[t][i(446)])}[re(427)](t,e=null){const i=re,n=this[i(397)][i(295)](t),s=e?this[i(397)][i(295)](e):null,r=this[i(310)](n,s),o=r[r[i(547)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(547)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(566)](e[i(343)]))if(e[i(343)][t][i(399)]){const n=e[i(343)][t][i(399)];n[i(569)]?(u[i(287)](t),l[i(433)](t)&&l[i(495)](t)[i(532)]==n[i(532)]?l[i(308)](t):l[i(428)](t,n)):l[i(433)](t)?(u[i(308)](t),l[i(308)](t)):(u[i(287)](t),l[i(428)](t,n))}else u[i(287)](t)}for(const t of u){const e=l[i(433)](t)&&!l[i(495)](t)[i(569)];let n=e?r[i(547)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(343)][t]){const n=e?o[i(343)][t][i(600)]:o[i(343)][t][i(407)];c[i(557)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(374)]={};for(const e of t[i(488)])a[i(428)](e.id,e);for(const e of u){const n=t[i(343)][e]?t[i(343)][e][i(375)]:"[]",s=t[i(343)][e]?t[i(343)][e][i(590)]:"[]";t[i(374)][e]={insertions:this[i(544)][i(516)](n),deletions:this[i(544)][i(516)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(385)](n[i(374)][t][i(375)][i(561)])[i(401)](([t])=>!t[i(320)](i(511))));let h=0;for(const o of r){const r=this[i(506)](o[i(374)][t][i(375)]);o==n?(e=r,s=e[i(547)],e[i(388)](t=>{t.id=h++}),this[i(527)](e)):this[i(459)](e,r);const a=e[i(401)](t=>!t[i(446)])[i(478)](t=>t.id);let c=0;const l=this[i(506)](o[i(374)][t][i(590)]);l[i(388)](t=>{t[i(545)]?t.id=s++:t.id=a[c++]}),this[i(527)](l),this[i(348)](e,i(446)),this[i(348)](l,i(545)),o==n&&this[i(563)](e,u),e=this[i(505)](e,l),this[i(352)](e),this[i(348)](e,i(545))}e=e[i(401)](t=>!(t[i(446)]&&t[i(545)]));const d=new Map(o[i(374)][t][i(590)][i(561)]),f=new Set(u[i(566)]());for(const t of d[i(566)]())f[i(308)](t);this[i(489)](e,f),this[i(450)](e),e=this[i(487)](e),e=this[i(522)](e),e=this[i(554)](e);const{root:m,changes:p}=this[i(354)](e,a,t);c[i(374)][t]=m;const v=l[i(495)](t);if(v){const e=a[i(495)](v[i(532)]),n=new Qt({author:e,type:v[i(569)]?i(287):i(476),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(406)](n),c[i(557)][t][i(513)]=n.id}c[i(281)]=c[i(281)][i(559)](p)}return c}[re(563)](t,e){const i=re;for(let n=0;n<t[i(547)];n++)for(const[s,r]of e)!r[i(340)]&&r[i(475)][i(334)](t[n][i(449)])&&t[n][i(562)][i(315)](s),r[i(542)][i(334)](t[n][i(543)])&&t[n][i(408)][i(315)](s)}[re(505)](t,e){const i=re;let n=[],s=0,r=0;for(;s<t[i(547)]||r<e[i(547)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(315)](o);else if(a[i(545)]&&o[i(446)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(479)](t,s,e,r);n=n[i(559)](o),s=a,r=c}else a[i(545)]?(r++,n[i(315)](a)):(s++,n[i(315)](o))}return n}[re(489)](t,e){const i=re,n=[];for(let o=0;o<t[i(547)];o++){for(let r=0;r<t[o][i(562)][i(547)];r++){const a=t[o][i(562)][r];if(!e[i(433)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(582)!=c||i(298)!=u&&i(425)!=u||(n[i(406)]({type:u,name:a,userId:l}),t[o][i(562)][i(473)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(408)][i(547)];r++){const a=t[o][i(408)][r];if(!e[i(433)](a))continue;const{group:c,type:u}=s(a);if(i(582)!=c||i(298)!=u&&i(425)!=u)continue;t[o][i(408)][i(473)](r,1),r--;const l=n[i(593)](t=>t[i(455)]==a);l>-1&&n[i(473)](l,1)}}function s(t){const e=i,n=t[e(297)](":");return{group:n[0],type:n[1],subType:n[e(547)]>=5?n[2]:null,id:n[e(547)]<5?n[2]:n[3],authorId:n[e(547)]<5?n[3]:n[4],markerCount:6==n[e(547)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(547)];i++){if(t[e(446)]&&e(298)==n[i][e(503)]&&t[e(446)][e(532)]==n[i][e(532)])return t[e(369)]=n[i],void delete t[e(446)];if(!t[e(446)]&&!t[e(545)]&&e(425)==n[i][e(503)])return void(t[e(370)]=n[i])}}}[re(348)](t,e){const i=re;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(428)](o.id,n);for(let n=0;n<t[i(547)];n++){if(i(545)==e&&t[n][i(446)]||i(446)==e&&t[n][i(545)])continue;if(i(456)==t[n][i(503)]){t[n][i(360)]=0;continue}const s=r[i(495)](t[n][i(353)]),o=r[i(495)](t[n].id);t[n][i(360)]=s-o}}[re(310)](t,e,i=!1){const n=re,s=[];let r=this[n(397)][n(480)](t),o=this[n(397)][n(480)](e);for(-1==o&&(o=this[n(397)][n(443)][n(547)],i=!1);r<o;)s[n(315)](this[n(397)][n(295)](r)),r++;return i&&s[n(315)](this[n(397)][n(295)](r)),s}[re(479)](t,e,i,n){const s=re,r=this[s(464)][s(374)][s(474)];let o=e;for(;t[o]&&t[o][s(446)];)o++;let a=n;for(;i[a]&&i[a][s(545)];)a++;u(t,e,o),u(i,n,a);const c=i[s(548)](n,a)[s(559)](t[s(548)](e,o));return c[s(472)]((t,e)=>t[s(403)]!=e[s(403)]?t[s(403)]-e[s(403)]:t[s(387)]!=e[s(387)]?t[s(387)]-e[s(387)]:t[s(360)]!=e[s(360)]?e[s(360)]-t[s(360)]:!!t[s(446)]!=!!e[s(446)]?-1==t[s(403)]||0==t[s(403)]?t[s(446)]?-1:1:t[s(446)]?1:-1:t[s(429)]-e[s(429)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(558)],c=!0;for(let s=e;s<i;s++)if(r[n(312)](t[s][n(564)])||(c=!1),t[s][n(564)][n(324)]<e&&(o=s),t[s][n(564)][n(435)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(403)]=s<=o?-1:s<a?0:1,t[s][n(429)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(360)]?t[i][n(387)]=u:(u++,t[i][n(387)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(403)]&&(t[s][n(387)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(360)]?t[e][n(387)]=u:(u--,t[e][n(387)]=u,u--)}}[re(450)](t){const e=re,i=new Map,n=this[e(464)][e(374)][e(474)];for(let s=1;s<t[e(547)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(456)==c[e(503)])continue;if(c[e(503)]!=u[e(503)])continue;if(!n[e(278)](u[e(564)])||n[e(363)](u[e(564)]))continue;if(!n[e(278)](c[e(564)])||n[e(363)](c[e(564)]))continue;if((t[s][e(446)]||t[s][e(369)])&&t[s-1][e(545)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(545)]||!t[s-1][e(446)]&&!t[s-1][e(369)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(387)]==o[e(387)],h=Math[e(316)](r[e(387)])<Math[e(316)](o[e(387)])&&0==o[e(360)];(l||h)&&(i[e(428)](o.id,r.id),t[e(473)](a,1),s--,r[e(446)]=!1)}for(let n=0;n<t[e(547)];n++)i[e(433)](t[n][e(353)])&&(t[n][e(353)]=i[e(495)](t[n][e(353)]))}[re(487)](t){const e=re,i=new Set(t[e(478)](t=>t.id));for(let n=0;n<t[e(547)];n++)i[e(433)](t[n][e(353)])||0==t[n][e(360)]||(t[n][e(327)]=!0);return t[e(401)](t=>!t[e(327)])}[re(522)](t){const e=re,i=new Set;for(let n=0;n<t[e(547)];n++){if(i[e(433)](t[n].id)&&t[n][e(545)]&&(t[n][e(327)]=!0),t[n][e(327)])continue;if(0==t[n][e(360)])continue;if(e(539)!=t[n][e(503)])continue;if(null==t[n][e(353)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(353)];)e(539)==t[s][e(503)]?r++:e(318)==t[s][e(503)]&&r--,s++;if(0!=r)if(t[n][e(545)])t[n][e(327)]=!0;else for(;s!=n;)t[s][e(545)]&&0!=t[s][e(360)]&&(t[s][e(327)]=!0,i[e(287)](t[s][e(353)])),s--}return t[e(401)](t=>!t[e(327)])}[re(554)](t){const e=re,i=this[e(464)][e(374)][e(474)];for(let n=0;n<t[e(547)];n++){if(!(t[n][e(446)]||t[n][e(369)]||t[n][e(545)]||t[n][e(370)]))continue;if(0==t[n][e(360)])continue;const s=t[n][e(564)];i[e(278)](s)||i[e(363)](s)||(t[n][e(446)]&&delete t[n][e(446)],t[n][e(369)]&&delete t[n][e(369)],t[n][e(370)]&&delete t[n][e(370)],t[n][e(545)]&&(t[n][e(327)]=!0))}return t[e(401)](t=>!t[e(327)])}[re(354)](t,e,i){const n=re,s=new K.ModelDocumentFragment,r=[],o=new Map,a=this[n(464)][n(374)],c=a[n(474)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(547)];e++)if(n(539)===t[e][n(503)]){t[e][n(449)]=a[n(381)](s,f);const i=new K.ModelElement(t[e][n(564)][n(455)],t[e][n(564)][n(349)]());u[0][n(326)](i),f[n(315)](0),u[n(406)](i),t[e][n(543)]=a[n(381)](s,f)}else n(318)===t[e][n(503)]?(u[n(355)](),t[e][n(449)]=a[n(381)](s,f),f[n(302)](),f[f[n(547)]-1]++,t[e][n(543)]=a[n(381)](s,f)):(t[e][n(449)]=a[n(381)](s,f),d?d[n(362)]+=t[e][n(564)][n(396)]:d=new K.ModelText(t[e][n(564)][n(396)],t[e][n(564)][n(349)]()),t[e+1]&&n(456)===t[e+1][n(503)]&&v(d,t[e+1][n(564)])||(u[0][n(326)](d),d=null),f[f[n(547)]-1]+=t[e][n(564)][n(525)],t[e][n(543)]=a[n(381)](s,f));for(let e=0;e<t[n(547)];e++){const i=t[e][n(449)],s=t[e][n(543)];for(const s of t[e][n(562)])o[n(428)](s,{start:i,end:null});m(n(370),e,i,s),m(n(369),e,i,s),m(n(545),e,i,s),m(n(446),e,i,s);for(const i of t[e][n(408)]){const t=o[n(495)](i);t?t[n(542)]=s:o[n(428)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(464)][n(374)][n(583)](e[n(475)],e[n(542)]);s[n(561)][n(428)](t,i)}return r[n(472)]((t,e)=>{const i=n,r=s[i(561)][i(495)](i(511)+t.id),o=s[i(561)][i(495)](i(511)+e.id);return r[i(475)][i(279)](o[i(475)])?-1:r[i(475)][i(421)](o[i(475)])?1:r[i(542)][i(279)](o[i(542)])?-1:r[i(542)][i(421)](o[i(542)])?1:i(287)===t[i(503)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(532)]:null,d=i===t[o(547)]-1,f=h[e][0],m=c[o(432)](t[i][o(564)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(542)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(532)]!==u&&(l[e][o(542)]=s,f&&f[o(532)]===l[e][o(532)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(539)!==t[i][o(503)]||f&&f[o(532)]===u||h[e][o(406)]({userId:u,object:t[i][o(564)],change:l[e]}),o(318)===t[i][o(503)]&&f&&f[o(546)]===t[i][o(564)]&&(h[e][o(355)](),l[e]=f[o(493)])),l[e]&&d&&(l[e][o(542)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(564)],f=a[h(474)][h(278)](d)&&!a[h(474)][h(363)](d),m=t[h(299)]==o[h(415)]&&o[h(416)];if(f&&m)return;const p=a[h(583)](t,o),v=e[h(495)](u),g=new Qt({author:v,type:h(446)==l||h(369)==l?h(287):h(476),data:{isSuggestion:h(369)==l||h(370)==l},createdAt:new Date,rootName:i});r[h(315)](g),s[h(561)][h(428)](h(511)+g.id,p)}function v(t,e){const i=n,s=t[i(349)](),r=e[i(349)]();for(const t of s){if(t[1]!==e[i(457)](t[0]))return!1;r[i(356)]()}return r[i(356)]()[i(347)]}}[re(534)](){const t=re;this[t(464)][t(390)][t(332)](t(519))[t(469)]({view:t(289)}),this[t(464)][t(390)][t(332)](t(500))[t(286)]({model:t(289),view:e=>{const i=t,n=e[i(378)][i(297)](":")[1],s=this[i(434)](n);if(!s)return null;const r=i(287)==s[i(503)]?i(298):i(425),o=[i(439),i(531)+r];return s[i(396)][i(496)]&&o[i(315)](i(531)+r+i(323)),this[i(338)]==s&&o[i(315)](i(290)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(464)][t(390)][t(332)](t(519))[t(287)](e=>{const i=t;e.on(i(389),(t,e,n)=>{const s=i,r=e[s(599)][s(359)](0);if(!r||!r.is(s(424),s(541)))return;if(!n[s(460)][s(364)](r,{attributes:[s(567),s(311)]}))return;const o=e[s(597)][s(475)][s(299)];n[s(358)][s(521)](s(567),r[s(457)](s(567)),o),n[s(358)][s(521)](s(311),r[s(457)](s(311)),o)},{priority:i(402)})}),this[t(464)][t(390)][t(332)](t(519))[t(287)](e=>{const i=t;e.on(i(424),(t,e,n)=>{const s=i;if(!n[s(460)][s(364)](e[s(599)],{attributes:[s(567),s(311)]}))return;if(e[s(597)][s(340)])return;const r=e[s(597)][s(475)][s(299)];r[s(454)](s(567))||r[s(454)](s(485))||(n[s(358)][s(521)](s(567),e[s(599)][s(457)](s(567)),r),n[s(358)][s(521)](s(311),e[s(599)][s(457)](s(311)),r))},{priority:i(402)})}),this[t(464)][t(390)][t(332)](t(519))[t(578)]({view:{name:t(520),attributes:{vid:!0}},model:{key:t(485),value:e=>e[t(457)](t(485))}}),this[t(464)][t(374)][t(474)].on(t(395),(e,[,i])=>{const n=t;[n(567),n(311),n(485)][n(376)](i)&&(e[n(512)]=!0,e[n(568)]())},{priority:t(282)}),this[t(464)][t(390)][t(332)](t(309))[t(287)](e=>{const i=t;e.on(i(322),(t,e,n)=>{const s=i;if(" "!=e[s(564)][s(396)]||e[s(564)][s(415)][s(565)]>1)return;if(!n[s(460)][s(364)](e[s(564)],t[s(455)]))return;const r=n[s(358)],o=n[s(285)][s(504)](e[s(592)]);r[s(470)](o,r[s(280)](s(520)))})}),this[t(464)][t(390)][t(332)](t(309))[t(319)]({model:t(289)}),this[t(464)][t(576)][t(537)].on(t(351),function(e){const i=t,n=e[i(604)][i(495)](i(294));return(t,s,r)=>{const o=i,a=s[o(378)][o(297)](":")[1],c=n[o(434)](a);if(!c)return null;const u=o(287)==c[o(503)]?o(297):o(398);if(!r[o(460)][o(414)](s[o(411)],t[o(455)]))return;const l=s[o(411)][o(555)](),h=s[o(411)][o(475)],d=e[o(374)][o(474)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(564)];p=p||d[o(404)](e);const i=r[o(285)][o(483)](e);if(i&&i[o(337)](o(380)))return;o(318)==t[o(503)]&&d[o(278)](e)&&!d[o(363)](e)&&(e[o(333)]||h[o(304)]?f&&f[o(415)]==e||(f=e,g(t[o(449)]),v=!0):m=m||t[o(449)])}function g(t){const e=o,i=r[e(358)][e(486)](e(520),{class:e(531)+u}),a=r[e(285)][e(440)](t);c[e(396)][e(496)]&&r[e(358)][e(524)](e(531)+u+e(323),i),n[e(338)]==c&&r[e(358)][e(524)](e(290),i),r[e(358)][e(550)](a,i),r[e(285)][e(508)](i,s[e(378)])}p||v||!m||g(m)}}(this[t(464)]),{priority:t(490)}),this[t(464)][t(576)][t(537)].on(t(306),(e,i,n)=>{const s=t,r=n[s(285)][s(571)](i[s(378)]);if(r)for(const t of r)(t[s(426)](s(570))||t[s(426)](s(357)))&&(n[s(285)][s(502)](t,i[s(378)]),n[s(358)][s(476)](t))},{priority:t(490)}),this[t(464)][t(576)][t(537)].on(t(351),(e,i,n)=>{const s=t,r=i[s(378)][s(297)](":")[1],o=this[s(434)](r);if(!o)return null;const a=s(287)==o[s(503)]?s(297):s(398);if(n[s(460)][s(414)](i[s(411)],e[s(455)]))for(const t of i[s(411)][s(392)]()){if(!t.is(s(424),s(581)))continue;const e=n[s(358)][s(486)](s(520),{class:s(531)+a}),r=n[s(285)][s(440)](this[s(464)][s(374)][s(492)](t));o[s(396)][s(496)]&&n[s(358)][s(524)](s(531)+a+s(323),e),this[s(338)]==o&&n[s(358)][s(524)](s(290),e),n[s(358)][s(550)](r,e),n[s(285)][s(508)](e,i[s(378)])}},{priority:t(490)}),this[t(464)][t(374)][t(540)].on(t(493),()=>{const e=t;this[e(464)][e(576)][e(379)][e(493)](t=>{const i=e;for(const e of this[i(464)][i(374)][i(540)][i(400)]()){const n=this[i(464)][i(374)][i(540)][i(466)](e),s=this[i(464)][i(576)][i(379)][i(540)][i(466)](e);if(s){const e=n[i(457)](i(513));if(t[i(499)](i(436),s),t[i(361)](i(579),s),t[i(361)](i(329),s),t[i(361)](i(391),s),e){const n=this[i(434)](e);if(!n)return null;t[i(521)](i(436),e,s),t[i(524)](i(498)+n[i(503)],s),this[i(338)]==n&&t[i(524)](i(391),s)}}}})}),this[t(464)][t(390)][t(332)](t(519))[t(469)]({view:t(393),model:e=>t(509)+e,converterPriority:t(282)}),this[t(464)][t(390)][t(332)](t(519))[t(469)]({view:t(394),model:e=>t(325)+e,converterPriority:t(282)}),this[t(464)][t(390)][t(332)](t(309))[t(319)]({model:t(582),view:e=>({name:t(283)+e,group:t(582)}),converterPriority:t(282)}),this[t(464)][t(390)][t(332)](t(500))[t(286)]({model:t(582),view:e=>{const i=t,n=e[i(378)][i(297)](":")[1];return i(298)!=n&&i(425)!=n?null:{classes:[i(467),i(321)+n]}}}),this[t(464)][t(576)][t(537)].on(t(574),ue(this[t(464)],t(398)),{priority:t(490)}),this[t(464)][t(576)][t(537)].on(t(462),ue(this[t(464)],t(297)),{priority:t(490)}),this[t(464)][t(576)][t(537)].on(t(497),(e,i,n)=>{const s=t,r=n[s(285)][s(571)](i[s(378)]);if(r)for(const t of r)t.is(s(551))&&(n[s(285)][s(502)](t,i[s(378)]),n[s(358)][s(476)](t))},{priority:t(490)})}[re(434)](t){const e=re;return this[e(482)][e(495)](t)}[re(339)](t){const e=re;return this[e(423)]&&this[e(423)][e(596)](),this[e(423)]=new Yt(this[e(464)][e(368)],t),this[e(423)]}[re(515)](){const t=re;this[t(464)][t(374)][t(540)][t(336)][t(372)](t(289)),this.on(t(598),(e,i,n,s)=>{const r=t;s&&this[r(409)][r(476)](s),n&&(this[r(409)][r(287)]({view:n,stackId:r(458),position:{target:()=>{const t=r,e=this[t(464)][t(576)],i=this[t(434)](n[t(584)]);let s;if(i[t(396)][t(328)]){const n=e[t(379)][t(373)](i[t(514)]);s=Array[t(385)](n[t(594)]())}else{const i=this[t(464)][t(374)][t(561)][t(495)](t(511)+n[t(584)]);s=Array[t(385)](e[t(285)][t(571)](i[t(455)]))[t(478)](i=>e[t(379)][t(420)][t(586)](i))[t(478)](e=>Array[t(385)](e[t(594)]()))[t(553)]()}return this[t(405)]&&s[t(313)](e=>e[t(441)]-3<=this[t(405)].y&&e[t(382)]+3>=this[t(405)].y&&e[t(468)]-3<=this[t(405)].x&&e[t(371)]+3>=this[t(405)].x)||s[0]}}}),this[r(409)][r(413)](r(458)))}),this.on(t(284),(e,i,n,s)=>{const r=t;this[r(366)]=n?this[r(339)](n):null,this[r(464)][r(374)][r(493)](()=>{const t=r,e=this[t(464)][t(576)];s&&(s[t(396)][t(328)]?e[t(379)][t(493)](i=>{const n=t;i[n(361)](n(391),e[n(379)][n(540)][n(466)](s[n(514)]))}):e[t(410)](t(511)+s.id)),n&&(n[t(396)][t(328)]?e[t(379)][t(493)](i=>{const s=t;i[s(524)](s(391),e[s(379)][s(540)][s(466)](n[s(514)]))}):e[t(410)](t(511)+n.id))})}),this[t(587)](this[t(464)][t(576)][t(379)][t(540)],t(518),(e,i)=>{const n=t;if(this[n(338)])return;const s=this[n(535)](i[n(588)]),r=this[n(482)][n(495)](s);r?(this[n(405)]={x:i[n(451)].x,y:i[n(451)].y},this[n(366)]=this[n(339)](r)):(this[n(405)]=null,this[n(366)]=null)}),this[t(587)](this[t(464)][t(576)][t(379)][t(540)],t(303),(e,i)=>{const n=t,s=this[n(535)](i[n(588)]),r=this[n(482)][n(495)](s);r?(this[n(405)]={x:i[n(451)].x,y:i[n(451)].y},r===this[n(338)]?this[n(409)][n(572)]():this[n(338)]=r):(this[n(405)]=null,this[n(338)]=null)})}[re(535)](t){const e=re;do{const i=t[e(457)](e(436));if(i)return i;t=t[e(415)]}while(t);return null}[re(494)](){const t=re;this[t(464)][t(374)][t(493)](e=>{const i=t;for(const t of this[i(464)][i(374)][i(561)])e[i(471)](t)})}}function ce(t,e){const i=oe();return(ce=function(t,e){return i[t-=278]})(t,e)}function ue(t,e){return(i,n,s)=>{const r=ce;if(!s[r(460)][r(414)](n[r(411)],i[r(455)]))return;const o=n[r(411)][r(555)](),a=n[r(411)][r(475)],c=t[r(374)][r(474)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(564)];h=h||c[r(404)](e);const i=s[r(285)][r(483)](e);if(i&&i[r(337)](r(380)))return;r(318)==t[r(503)]&&c[r(278)](e)&&!c[r(363)](e)&&(e[r(333)]||a[r(304)]?u&&u[r(415)]==e||(u=e,f(t[r(449)]),d=!0):l=l||t[r(449)])}function f(t){const i=r,o=s[i(285)][i(440)](t),a=s[i(358)][i(486)](i(520),{class:i(321)+e});s[i(358)][i(550)](o,a),s[i(285)][i(508)](a,n[i(378)])}h||d||!l||f(l)}}class le extends J.Command{constructor(t){const e=re;super(t);const i=t[e(604)][e(495)](ae);this[e(300)]=!1,this[e(587)](i,e(448),()=>this[e(595)]()),this[e(587)](i,e(417),()=>this[e(595)]())}[re(536)](){const t=re,e=this[t(464)],i=e[t(604)][t(495)](ae),n=i[t(453)]?i[t(330)][t(580)]:null;e[t(484)][t(495)](t(422))[t(552)](n)}[re(595)](){const t=re,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(464)][t(604)][t(495)](ae),r=s&&n[t(442)](s[t(580)]);this[t(350)]=e&&i&&Boolean(r)}}class he extends J.Command{[re(491)];constructor(t,{direction:e}){const i=re;super(t);const n=t[i(604)][i(495)](ae);this[i(300)]=!1,this[i(491)]=i(377)===e?1:-1,this[i(587)](n,i(448),()=>this[i(595)]()),this[i(587)](n,i(417),()=>this[i(595)]()),this[i(587)](n,i(284),()=>this[i(595)]())}[re(536)](){const e=re,i=this[e(464)],n=i[e(604)][e(495)](ae),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(338)]=s?n[e(330)][e(281)][e(495)](r+this[e(491)]):n[e(330)][e(281)][e(342)],n[e(338)][e(396)][e(328)])o=i[e(576)][e(379)][e(373)](n[e(338)][e(514)]);else{const t=i[e(374)][e(561)][e(495)](e(511)+n[e(338)].id);o=(0,G.getMarkerDomElement)(i[e(576)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(595)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(464)][t(604)][t(495)](ae);this[t(350)]=!!(r&&s&&n)&&(!e||(1===this[t(491)]?i<n-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=Dt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(){const t=["7842660xmkbYd","forward","ck-revision-history-ui__changes-navigation","7815766QdyrDU","bindTemplate","bind","1566251CHYDar","No changes","numberOfChanges","4CcvIjC","isForwardNavigationEnabled","currentChangeNumber","span","isEnabled","32817807LCMWcl","ck-revision-history-ui__changes-navigation__label","6572185zQwcrx","ck-revision-history-ui__changes-navigation__wrapper","9819296XhbvUY","_statusText","Show next change","Total","isBackwardNavigationEnabled","fire","ck-hidden","3592569KpYAqS","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__navigation","Loading...","isNavigationMode","Show previous change","set","execute","backward","2OadEKi","setTemplate","isReady","div","X_OF_Y_CHANGES","EDIT_X_OF_Y_REVISIONS","NUMBER_OF_CHANGES","_isStatusLabelVisible"];return(me=function(){return t})()}function pe(t,e){const i=me();return(pe=function(t,e){return i[t-=251]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(926418===-parseInt(e(253))/1+parseInt(e(281))/2*(parseInt(e(272))/3)+-parseInt(e(256))/4*(parseInt(e(263))/5)+parseInt(e(289))/6+-parseInt(e(292))/7+-parseInt(e(265))/8+parseInt(e(261))/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(251)],n=new _t.ButtonView(t),s=new _t.ButtonView(t);this[e(278)](e(276),!1),this[e(278)](e(283),!1),this[e(278)](e(258),0),this[e(278)](e(255),0),this[e(278)](e(257),!1),this[e(278)](e(269),!1),this[e(252)](e(288)).to(this,e(283),this,e(255),(t,e)=>t&&e>0),this[e(252)](e(266)).to(this,e(283),this,e(258),this,e(255),this,e(276),(i,n,s,r)=>{const o=e;if(!i)return ot(t,o(275));if(!s)return ot(t,o(254));const a=ot(t,o(287),s);return r?ot(t,o(285),[n+1,s]):a}),n[e(278)]({label:ot(t,e(277)),tooltip:!0,icon:wt.IconChevronUp}),s[e(278)]({label:ot(t,e(267)),tooltip:!0,icon:wt.IconChevronDown}),n[e(252)](e(260)).to(this,e(269)),s[e(252)](e(260)).to(this,e(257)),n.on(e(279),()=>this[e(270)](e(279),e(280))),s.on(e(279),()=>this[e(270)](e(279),e(290))),this[e(282)]({tag:e(284),attributes:{class:["ck",e(273),e(291)]},children:[{tag:e(259),attributes:{class:[e(264)]},children:[{tag:e(259),attributes:{class:[e(262),i.if(e(288),e(271),t=>!t)]},children:[{text:i.to(e(276),i=>i?ot(t,e(286))+": ":ot(t,e(268))+": ")}]},{text:i.to(e(266))}]},new _t.ToolbarSeparatorView,{tag:e(284),attributes:{class:[e(274)]},children:[n,s]}]})}}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=Rt(),ye.insert=Nt().bind(null,"head"),ye.domAPI=Tt(),ye.insertStyleElement=Dt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;const ke=be;function be(t,e){const i=we();return(be=function(t,e){return i[t-=274]})(t,e)}function we(){const t=["change","12iTiUGY","RevisionViewerLoadingOverlay","view","6oyVQMm","280WbmJdX","1607580eNqnHF","show","13917013sZxVDA","2yaKFSX","addClass","1430373Zuongm","844080uedOnj","24EHQlYd","2042772ZaQTAI","isOfficialPlugin","removeClass","editing","isPremiumPlugin","1672274MJNZxD","editor","document","24CNJJtg","roots","ck-editor__editable__loading-overlay","2465398ATFLSk","pluginName","60ejSNfR","hide"];return(we=function(){return t})()}!function(t){const e=be,i=t();for(;;)try{if(843550===-parseInt(e(277))/1*(parseInt(e(296))/2)+-parseInt(e(291))/3*(parseInt(e(301))/4)+parseInt(e(299))/5*(-parseInt(e(300))/6)+parseInt(e(298))/7*(parseInt(e(280))/8)+-parseInt(e(293))/9*(-parseInt(e(285))/10)+-parseInt(e(295))/11*(parseInt(e(288))/12)+parseInt(e(283))/13*(parseInt(e(292))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const _e=ke(282);class Ie extends J.Plugin{static get[ke(284)](){return ke(289)}static get[ke(302)](){return!0}static get[ke(276)](){return!0}[ke(294)](){const t=ke,e=this[t(278)][t(275)][t(290)];e[t(287)](i=>{const n=t;for(const t of e[n(279)][n(281)])i[n(297)](_e,t)})}[ke(286)](){const t=ke,e=this[t(278)][t(275)][t(290)];e[t(287)](i=>{const n=t;for(const t of e[n(279)][n(281)])i[n(274)](_e,t)})}}function Se(){const t=["execute","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","restoreRevision","Back to editing","12BzHVfD","isEnabled","835872WzEaPY","listenTo","editor","RevisionViewerUI","310850xMGmwx","2845665thKKOL","numberOfChanges","currentChangeNumber","requires","isReady","isOfficialPlugin","1866864mDCYCx","closeRevisionViewerCallback","plugins","componentFactory","show","init","isPremiumPlugin","isForwardNavigationEnabled","showPreviousChange","10171192bOrysZ","hide","set","change:isReady","forward","isNavigationMode","add","bind","4491004HIxJFu","207810kWgjMY","get","changesNavigation","config","exitToEditing","pluginName","showNextChange","revisionHistory","Restore this revision","commands"];return(Se=function(){return t})()}const Oe=Te;function Te(t,e){const i=Se();return(Te=function(t,e){return i[t-=372]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(533037===parseInt(e(377))/1+parseInt(e(381))/2+parseInt(e(406))/3*(-parseInt(e(375))/4)+-parseInt(e(382))/5+-parseInt(e(388))/6+-parseInt(e(405))/7+parseInt(e(397))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class xe extends J.Plugin{static get[Oe(411)](){return Oe(380)}static get[Oe(387)](){return!0}static get[Oe(394)](){return!0}static get[Oe(385)](){return[ae,Ie]}[Oe(393)](){const t=Oe,e=this[t(379)],i=e[t(390)][t(407)](ae),n=e[t(390)][t(407)](Ie);e.ui[t(391)][t(403)](t(410),i=>{const n=t,s=new _t.ButtonView(i);return s[n(399)]({label:ot(i,n(374)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:n(372)}),this[n(378)](s,n(416),()=>{const t=n;e[t(409)][t(407)](t(413))[t(389)]()}),s}),e.ui[t(391)][t(403)](t(373),i=>{const n=t,s=new _t.ButtonView(i);return s[n(399)]({label:ot(i,n(414)),withText:!0,tooltip:!0}),s[n(404)](n(376)).to(e[n(415)][n(407)](n(373))),this[n(378)](s,n(416),()=>e[n(416)](n(373))),s}),e.ui[t(391)][t(403)](t(408),n=>{const s=t,r=new ve(n),o=e[s(415)][s(407)](s(396)),a=e[s(415)][s(407)](s(412));return r[s(404)](s(417)).to(o,s(376)),r[s(404)](s(395)).to(a,s(376)),r[s(404)](s(386),s(384),s(383),s(402)).to(i),this[s(378)](r,s(416),(t,i)=>{const n=s;e[n(416)](n(401)===i?n(412):n(396))}),r}),n[t(392)](),i.on(t(400),(e,i,s)=>{const r=t;s?n[r(398)]():n[r(392)]()})}}var Ne=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Rt(),Ae.insert=Nt().bind(null,"head"),Ae.domAPI=Tt(),Ae.insertStyleElement=Dt();St()(Ne.A,Ae);Ne.A&&Ne.A.locals&&Ne.A.locals;const Re=Me;function Me(t,e){const i=De();return(Me=function(t,e){return i[t-=298]})(t,e)}function De(){const t=["placeholder","ck-tooltip_multi-line","8QMTHtN","ck-revision-history-sidebar__revision-name","1061765izWcht","_resizeObserver","render","_updateTooltipText","24hxFxLj","element","set","clientWidth","3886848jzQVql","Revision name","_tooltipString","destroy","scrollWidth","864222izpqeo","listenTo","28147317PPHCpW","value","1XhmeWP","span","1512042wNlaDL","3743607uFjRtT","extendTemplate","bindTemplate","186850MWoAaS","fieldView","Enter the revision name","input","117MulgoM"];return(De=function(){return t})()}!function(t){const e=Me,i=t();for(;;)try{if(579304===-parseInt(e(300))/1*(parseInt(e(328))/2)+-parseInt(e(302))/3+-parseInt(e(323))/4+parseInt(e(315))/5*(-parseInt(e(319))/6)+-parseInt(e(303))/7*(-parseInt(e(313))/8)+parseInt(e(310))/9*(parseInt(e(306))/10)+parseInt(e(298))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ve extends _t.LabeledFieldView{[Re(316)]=null;constructor(t,e){const i=Re;super(t,e);const n=this[i(305)];this[i(321)]({label:ot(t,i(324)),_tooltipString:""}),this[i(307)][i(311)]=ot(t,i(308)),this[i(304)]({tag:i(301),attributes:{class:[i(314)],"data-cke-tooltip-text":n.to(i(325)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(312)}})}[Re(317)](){const e=Re;super[e(317)](),this[e(316)]=new t.ResizeObserver(this[e(307)][e(320)],()=>this[e(318)]()),this[e(329)](this[e(307)],e(309),()=>this[e(318)]())}[Re(326)](){const t=Re;super[t(326)](),this[t(316)]&&this[t(316)][t(326)]()}[Re(318)](){const t=Re,e=this[t(307)][t(320)];this[t(325)]=e[t(327)]>e[t(322)]&&e[t(299)]||""}}var Ee=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=Rt(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=Tt(),Ce.insertStyleElement=Dt();St()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;function Fe(){const t=["push","1086672IDRBTf","span","setTemplate","734382VeQVDw","279YewPYl","6IOMDQf","set","454136OmBwPA","690275FjZfxw","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author__name","438354YVYWNS","Revision author","Revision creator","0 0 11 10","755638VIlYtD","ck-revision-history-sidebar__revision-author","426035ZeGlJz","name"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=154]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(238784===-parseInt(e(162))/1+-parseInt(e(160))/2+-parseInt(e(168))/3+-parseInt(e(165))/4+-parseInt(e(173))/5*(parseInt(e(170))/6)+-parseInt(e(156))/7+parseInt(e(172))/8*(parseInt(e(169))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class je extends _t.View{constructor(t,e,i){const n=Le;super(t);const s=new _t.IconView;s[n(171)]({content:wt.IconUser,viewBox:n(159)});const r=["ck",n(161)];i&&r[n(164)](n(154));const o=[{tag:n(166),attributes:{class:["ck",n(155)],title:ot(t,n(i?158:157))},children:[s,e[n(163)]]}];this[n(167)]({tag:"li",attributes:{class:r},children:o})}}function Pe(t,e){var i=ze();return(Pe=function(t,e){return i[t-=304]})(t,e)}function ze(){var t=["22329510IjVpJG","numeric","toLocaleTimeString","1001168udKixV","5FdNazl","3531432vdTIHw","670716IBBHjT","59UYAHWx","43184xvyfZY","2925306gyapBA","toLocaleDateString","1922781XcqcaF","9CgTKVh","long"];return(ze=function(){return t})()}!function(t){for(var e=Pe,i=t();;)try{if(695625===parseInt(e(317))/1*(-parseInt(e(304))/2)+parseInt(e(307))/3+parseInt(e(316))/4+parseInt(e(314))/5*(-parseInt(e(305))/6)+-parseInt(e(313))/7+-parseInt(e(315))/8+-parseInt(e(308))/9*(-parseInt(e(310))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var He=i(11),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Rt(),Ue.insert=Nt().bind(null,"head"),Ue.domAPI=Tt(),Ue.insertStyleElement=Dt();St()(He.A,Ue);He.A&&He.A.locals&&He.A.locals;function Ze(){const t=["5DaNhup","action","class","ck-revision-history-sidebar__revision__actions","20UBGXVW","bindTemplate","locale","children","50rrhXZN","source","listenTo","isActionsDropdownOpen","7827072XBUJjF","379283glbRJD","isOpen","Name this revision","isVisible","849662PQpyNd","find","menuitem","map","stopPropagation","items","listView","ck-on","Compare against selected","bind","model","isReady","menu","Restore this revision","name","6584oVVZGZ","execute","function","buttonView","223659iHnsBd","60807hCNvZE","button","2702KZoxcb","panelPosition","isEnabled","change:isActionsDropdownOpen","Show more items","1420338oHDHwP","add","extendTemplate","set","first","_action","2SywAnG"];return(Ze=function(){return t})()}function We(t,e){const i=Ze();return(We=function(t,e){return i[t-=429]})(t,e)}!function(t){const e=We,i=t();for(;;)try{if(217124===parseInt(e(462))/1*(parseInt(e(448))/2)+parseInt(e(435))/3*(parseInt(e(453))/4)+parseInt(e(449))/5*(-parseInt(e(442))/6)+-parseInt(e(437))/7*(parseInt(e(430))/8)+parseInt(e(434))/9+-parseInt(e(457))/10*(parseInt(e(466))/11)+parseInt(e(461))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var $e=i(216),qe={attributes:{"data-cke":!0}};qe.setAttributes=Rt(),qe.insert=Nt().bind(null,"head"),qe.domAPI=Tt(),qe.insertStyleElement=Dt();St()($e.A,qe);$e.A&&$e.A.locals&&$e.A.locals;const Be=Je;function Ye(){const t=["name","9030210UGLnQY","element","isSelected","bindTemplate","isReady","3626361MfqSZn","closest","6062121osMTHz","div","ck-reset","ck-disabled","filter","481264DAjwtX","_requireRevisionName","revisionActionsView","creator","bind","fire","listenTo","setTemplate","ck-revision-history-sidebar__revision_highlighted","isConfirm","isActionsDropdownOpen","77tnzRuu","authors","ck-revision-history-sidebar__revision","from","extendTemplate","4384415VfyNLn","map",".ck-thread__remove-confirm","deselect","20609750gIScwZ","_revision","value","ck-revision-history-sidebar__revision_selected","createdAt","ck-revision-history-sidebar__revision__date","isHighlighted","set","unshift","unhighlight","length","_createdAtFormatted","4TCkCLD","setName","ck-revision-history-sidebar__revision__controls-wrapper","uiLanguage","fieldView","2pqsDwx","ck-revision-history-sidebar__revision-authors","srcElement","1027572dfjleo","ck-revision-history-sidebar__actions_dropdown_open","revisionNameView","ck-revision-history-sidebar__revision-wrapper","span","isEnabled","highlight","select","render","change","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","220"];return(Ye=function(){return t})()}function Je(t,e){const i=Ye();return(Je=function(t,e){return i[t-=450]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(791705===parseInt(e(480))/1*(parseInt(e(477))/2)+parseInt(e(498))/3+-parseInt(e(472))/4*(parseInt(e(456))/5)+parseInt(e(493))/6+parseInt(e(451))/7*(parseInt(e(505))/8)+-parseInt(e(500))/9+-parseInt(e(460))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Ge extends((0,G.ConfirmMixin)(_t.View)){id;[Be(482)];[Be(507)];[Be(461)];[Be(506)];constructor(e,i,n,s){const r=Be;super(e);const o=this[r(496)],a=function(t,e){const i=r,n=Array[i(454)](e[i(452)])[i(504)](t=>t!=e[i(508)]);return e[i(508)]&&n[i(468)](e[i(508)]),n[i(457)](n=>new je(t,n,n==e[i(508)]))}(e,i);this.id=i.id,this[r(461)]=i,this[r(506)]=s,this[r(509)](r(492),r(464)).to(i),this[r(509)](r(471)).to(this,r(464),t=>{return i=e[r(475)],(n=t)[(s=Pe)(306)](i,{month:s(309),day:s(311)})+", "+n[s(312)](i,{hour:s(311),minute:s(311)});var i,n,s}),this[r(467)](r(495),!1),this[r(467)](r(466),!1),this[r(467)](r(450),!1),this[r(467)](r(497),!1),this[r(467)](r(485),!1),this[r(482)]=new Ve(e,_t.createLabeledInputText),this[r(482)][r(476)][r(455)]({attributes:{maxlength:r(491)}}),this[r(482)][r(476)][r(509)](r(462)).to(this,r(492),t=>t||this[r(471)]),this[r(482)][r(509)](r(485)).to(this,r(495),this,r(485),(t,e)=>t&&e),this[r(507)]=n&&n[r(470)]?function(e,i){const n=We,s=e[n(454)],r=e[n(455)],o=(0,_t.createDropdown)(r);o[n(438)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=We,n=t[i(455)],s={"Compare against selected":ot(n,i(474)),"Name this revision":ot(n,i(464)),"Restore this revision":ot(n,i(479))};return e[i(469)](t=>{const e=i,n=s[t[e(429)]];return n&&n!==t[e(429)]&&(t[e(429)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(436),model:new _t.UIModel({label:t[s(429)],class:t[s(451)],withText:!0,role:s(468),_action:t[s(450)]})};i[s(476)][s(475)](s(439)).to(e,s(460),i=>s(432)!=typeof t[s(439)]||!i||t[s(439)](e)),o[s(443)](i)}return o}(e,i);return e[n(475)](n(460)).to(o,n(463)),o[n(433)][n(445)]({label:ot(r,n(441)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[n(444)]({attributes:{class:[n(452),s.if(n(460),n(473))]},on:{click:s.to(t=>t[n(470)]())}}),o.on(n(431),t=>{const i=n;e[i(477)]&&i(432)==typeof t[i(458)][i(447)]&&t[i(458)][i(447)](e)}),(0,_t.addListToDropdown)(o,a,{role:n(478)}),o[n(459)](e,n(440),(t,s,r)=>{const a=n;if(r)for(const t of o[a(472)][a(471)]){const n=t[a(456)][a(446)],s=i[a(467)](t=>t[a(450)]===n[a(447)])[a(465)];t[a(465)]=void 0===s||s(e)}}),o}(this,n):"",this[r(507)]&&this[r(507)][r(509)](r(485)).to(this),this[r(512)]({tag:r(501),attributes:{class:["ck",r(502),r(483),o.if(r(514),r(490))]},children:[{tag:r(501),attributes:{class:["ck",r(502),r(453),o.if(r(485),r(503),t=>!t),o.if(r(495),r(463)),o.if(r(466),r(513)),o.if(r(450),r(481))]},children:[this[r(482)],{tag:r(484),attributes:{class:["ck",r(465)]},children:[{text:o.to(r(471))}]},{tag:r(501),attributes:{class:["ck",r(474)]},children:[{tag:"ul",attributes:{class:["ck",r(478)]},children:a}]},this[r(507)]],on:{click:o.to(t=>{const e=r;t[e(479)][e(499)](e(458))||this[e(497)]&&this[e(485)]&&this[e(510)](e(487),{id:this.id})})}}]})}[Be(488)](){const t=Be;super[t(488)]();const e=this[t(482)][t(476)][t(494)];this[t(511)](e,t(489),()=>{const i=t;this[i(506)]&&!e[i(462)]||this[i(510)](i(473),{id:this.id,name:e[i(462)]}),e[i(462)]||(e[i(462)]=this[i(492)]?this[i(492)]:this[i(471)])})}[Be(487)](){this[Be(495)]=!0}[Be(459)](){this[Be(495)]=!1}[Be(486)](){this[Be(466)]=!0}[Be(469)](){this[Be(466)]=!1}}class Ke extends Error{}class Qe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Xe 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 ni extends Ke{}class si 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},Ai={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ri{get type(){throw new si}get name(){throw new si}get ianaName(){return this.name}get isUniversal(){throw new si}offsetName(t,e){throw new si}formatOffset(t,e){throw new si}offset(t){throw new si}equals(t){throw new si}get isValid(){throw new si}}let Mi=null;class Di extends Ri{static get instance(){return null===Mi&&(Mi=new Di),Mi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xn(t,e,i)}formatOffset(t,e){return ns(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Vi=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(),Vi.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 Xn(t,e,i,this.name)}formatOffset(t,e){return ns(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=Vi.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"}),Vi.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ei[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Jn({year:n,month:s,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 n=ji.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),ji.set(i,n)),n}const zi=new Map;const Hi=new Map;let Ui=null;const Zi=new Map;function Wi(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,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Bi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...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 n=zi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),zi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Hn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Yi{constructor(t,e,i){let n;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?(n=i,this.dt=t):(n="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,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=Pi(e,s)}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&&Cn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Hi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Hi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={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 ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[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,n,s=!1){const r=t||vn.defaultLocale,o=r||(s?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||vn.defaultNumberingSystem,c=i||vn.defaultOutputCalendar,u=Pn(n)||vn.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Ui=null,ji.clear(),zi.clear(),Hi.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Ki.create(t,e,i,n)}constructor(t,e,i,n,s){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,n;try{e=Pi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Pi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,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=s,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"===Wi(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,Pn(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,cs,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=ho.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return qi(this,t,ds,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=ho.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return qi(this,void 0,()=>fs,()=>{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,gs,()=>{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 n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.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 n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Wi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fn()?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 Qi=null;class Xi extends Ri{static get utcInstance(){return null===Qi&&(Qi=new Xi(0)),Qi}static instance(t){return 0===t?Xi.utcInstance:new Xi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Xi(ts(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ns(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ns(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ns(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 tn 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 en(t,e){if(Dn(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?Di.instance:"utc"===i||"gmt"===i?Xi.utcInstance:Xi.parseSpecifier(i)||Fi.create(t)}return Vn(t)?Xi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new tn(t)}const nn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},sn={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]},rn=nn.hanidec.replace(/[\[|\]]/g,"").split("");const on=new Map;function an({numberingSystem:t},e=""){const i=t||"latn";let n=on.get(i);void 0===n&&(n=new Map,on.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${nn[i]}${e}`),n.set(e,s)),s}let cn,un=()=>Date.now(),ln="system",hn=null,dn=null,fn=null,mn=60,pn=null;class vn{static get now(){return un}static set now(t){un=t}static set defaultZone(t){ln=t}static get defaultZone(){return en(ln,Di.instance)}static get defaultLocale(){return hn}static set defaultLocale(t){hn=t}static get defaultNumberingSystem(){return dn}static set defaultNumberingSystem(t){dn=t}static get defaultOutputCalendar(){return fn}static set defaultOutputCalendar(t){fn=t}static get defaultWeekSettings(){return pn}static set defaultWeekSettings(t){pn=Pn(t)}static get twoDigitCutoffYear(){return mn}static set twoDigitCutoffYear(t){mn=t%100}static get throwOnInvalid(){return cn}static set throwOnInvalid(t){cn=t}static resetCaches(){Ki.resetCache(),Fi.resetCache(),ho.resetCache(),on.clear()}}class gn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const yn=[0,31,59,90,120,151,181,212,243,273,304,334],kn=[0,31,60,91,121,152,182,213,244,274,305,335];function bn(t,e){return new gn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function wn(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function _n(t,e,i){return i+(qn(t)?kn:yn)[e-1]}function In(t,e){const i=qn(t)?kn:yn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function Sn(t,e){return(t-e+7)%7+1}function On(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=_n(n,s,r),a=Sn(wn(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Kn(c,e,i)):u>Kn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ss(t)}}function Tn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=Sn(wn(n,1,e),i),a=Bn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Bn(c)):u>a?(c=n+1,u-=Bn(n)):c=n;const{month:l,day:h}=In(c,u);return{year:c,month:l,day:h,...ss(t)}}function xn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:_n(e,i,n),...ss(t)}}function Nn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=In(e,i);return{year:e,month:n,day:s,...ss(t)}}function An(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(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 Rn(t){const e=En(t.year),i=zn(t.month,1,12),n=zn(t.day,1,Yn(t.year,t.month));return e?i?!n&&bn("day",t.day):bn("month",t.month):bn("year",t.year)}function Mn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=zn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=zn(i,0,59),a=zn(n,0,59),c=zn(s,0,999);return r?o?a?!c&&bn("millisecond",s):bn("second",n):bn("minute",i):bn("hour",e)}function Dn(t){return void 0===t}function Vn(t){return"number"==typeof t}function En(t){return"number"==typeof t&&t%1==0}function Cn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function jn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Pn(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zn(t.firstDay,1,7)||!zn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zn(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zn(t,e,i){return En(t)&&t>=e&&t<=i}function Hn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Un(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function Wn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function qn(t){return t%4==0&&(t%100!=0||t%400==0)}function Bn(t){return qn(t)?366:365}function Yn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Jn(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 Gn(t,e,i){return-Sn(wn(t,1,e),i)+e-1}function Kn(t,e=4,i=1){const n=Gn(t,e,i),s=Gn(t+1,e,i);return(Bn(t)-n+s)/7}function Qn(t){return t>99?t:t>vn.twoDigitCutoffYear?1900+t:2e3+t}function Xn(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function ts(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function es(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function is(t,e){const i={};for(const n in t)if(jn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=es(s)}return i}function ns(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Hn(i,2)}:${Hn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Hn(i,2)}${Hn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ss(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const rs=["January","February","March","April","May","June","July","August","September","October","November","December"],os=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],as=["J","F","M","A","M","J","J","A","S","O","N","D"];function cs(t){switch(t){case"narrow":return[...as];case"short":return[...os];case"long":return[...rs];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 us=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ls=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hs=["M","T","W","T","F","S","S"];function ds(t){switch(t){case"narrow":return[...hs];case"short":return[...ls];case"long":return[...us];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fs=["AM","PM"],ms=["Before Christ","Anno Domini"],ps=["BC","AD"],vs=["B","A"];function gs(t){switch(t){case"narrow":return[...vs];case"short":return[...ps];case"long":return[...ms];default:return null}}function ys(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const ks={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 bs{static create(t,e={}){return new bs(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return ks[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 Hn(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(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(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 fs[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return cs(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return ds(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bs.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gs(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ys(bs.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 n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({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 n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({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 n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({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 n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({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}},n=bs.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ys(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const ws=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _s(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Is(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Ss(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Os(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Un(e[i+s]);return[n,null,i+s]}}const Ts=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,xs=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ns=RegExp(`${xs.source}${`(?:${Ts.source}?(?:\\[(${ws.source})\\])?)?`}`),As=RegExp(`(?:T${Ns.source})?`),Rs=Os("weekYear","weekNumber","weekDay"),Ms=Os("year","ordinal"),Ds=RegExp(`${xs.source} ?(?:${Ts.source}|(${ws.source}))?`),Vs=RegExp(`(?: ${Ds.source})?`);function Es(t,e,i){const n=t[e];return Dn(n)?i:Un(n)}function Cs(t,e){return[{hours:Es(t,e,0),minutes:Es(t,e+1,0),seconds:Es(t,e+2,0),milliseconds:Wn(t[e+3])},null,e+4]}function Fs(t,e){const i=!t[e]&&!t[e+1],n=ts(t[e+1],t[e+2]);return[{},i?null:Xi.instance(n),e+3]}function Ls(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const js=RegExp(`^T?${xs.source}$`),Ps=/^-?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 zs(t){const[e,i,n,s,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(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(Wn(u),h)}]}const Hs={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Us(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Un(e)):Un(e),month:os.indexOf(i)+1,day:Un(n),hour:Un(s),minute:Un(r)};return o&&(a.second=Un(o)),t&&(a.weekday=t.length>3?us.indexOf(t)+1:ls.indexOf(t)+1),a}const Zs=/^(?:(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 Ws(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Us(e,s,n,i,r,o,a);let f;return f=c?Hs[c]:u?0:ts(l,h),[d,new Xi(f)]}const $s=/^(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$/,qs=/^(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$/,Bs=/^(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 Ys(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,s,n,i,r,o,a),Xi.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,a,i,n,s,r,o),Xi.utcInstance]}const Gs=_s(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Ks=_s(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Qs=_s(/(\d{4})-?(\d{3})/,As),Xs=_s(Ns),tr=Is(function(t,e){return[{year:Es(t,e),month:Es(t,e+1,1),day:Es(t,e+2,1)},null,e+3]},Cs,Fs,Ls),er=Is(Rs,Cs,Fs,Ls),ir=Is(Ms,Cs,Fs,Ls),nr=Is(Cs,Fs,Ls);const sr=Is(Cs);const rr=_s(/(\d{4})-(\d\d)-(\d\d)/,Vs),or=_s(Ds),ar=Is(Cs,Fs,Ls);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 n={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(n)}function gr(t,e){let i=e.milliseconds??0;for(const n of pr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),mr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},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 ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kr({values:is(t,kr.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vn(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Ss(t,[Ps,zs])}(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 Ss(t,[js,sr])}(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 ni("need to specify a reason the Duration is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.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?bs.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 Dn(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+=$n(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)(jn(e.values,t)||jn(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]=es(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,...is(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return vr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,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,n]of Object.entries(t))0!==n&&(e[i]=n);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={},n=this.toObject();let s;for(const r of mr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Vn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][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;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of mr)if(!e(this.values[i],t.values[i]))return!1;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 ni("need to specify a reason the Interval is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Xe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),n=fo(e),s=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,n);return null==s?new wr({start:i,end:n}):s}static after(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.fromDateTimes(n,n.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=ho.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=ho.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return wr.fromDateTimes(t,r);if(s){const i=kr.fromISO(n,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 n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.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:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(wr.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=kr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(wr.fromDateTimes(n,i)),n=i,s+=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 n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).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&&n.push(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(n)}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?bs.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=vn.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 en(t,vn.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:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||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:Cn(),localeWeek:Fn()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(kr.fromMillis(n).as("days"))}function Sr(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["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]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=kr.fromObject(r,n);return u.length>0?kr.fromMillis(c,n).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 n=t.charCodeAt(i);if(-1!==t[i].search(nn.hanidec))e+=rn.indexOf(t[i]);else for(const t in sn){const[i,s]=sn[t];n>=i&&n<=s&&(e+=n-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])=>ts(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Vr={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=jr(bs.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(bs.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=an(e),n=an(e,"{2}"),s=an(e,"{3}"),r=an(e,"{4}"),o=an(e,"{6}"),a=an(e,"{1,2}"),c=an(e,"{1,3}"),u=an(e,"{1,6}"),l=an(e,"{1,9}"),h=an(e,"{2,4}"),d=an(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,Qn);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(n);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(s);case"u":return Dr(l);case"uu":return Dr(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})(?::(${n.source}))?`),2);case"ZZZ":return Mr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\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 n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(jn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Dn(t.z)||(i=Fi.create(t.z)),Dn(t.Z)||(i||(i=new Xi(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(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),Dn(t.u)||(t.S=Wn(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(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 n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(jn(i,"a")&&jn(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:n,zone:s,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=bs.create(e,t).dtFormatter((Er||(Er=ho.fromMillis(1555555555555)),Er)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(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=Vr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const Pr="Invalid DateTime",zr=864e13;function Hr(t){return new gn("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=On(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=On(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Wr(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 n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,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(Jn(t),e,i)}function Yr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Yn(n,s))+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=Jn(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,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=ho.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return ho.invalid(new gn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Gr(t,e,i=!0){return t.isValid?bs.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 n="";return i&&t.c.year>=0&&(n+="+"),n+=Hn(t.c.year,i?6:4),e?(n+="-",n+=Hn(t.c.month),n+="-",n+=Hn(t.c.day)):(n+=Hn(t.c.month),n+=Hn(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Hn(t.c.hour);return e?(o+=":",o+=Hn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Hn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Hn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Hn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Hn(Math.trunc(-t.o/60)),o+=":",o+=Hn(Math.trunc(-t.o%60))):(o+="+",o+=Hn(Math.trunc(t.o/60)),o+=":",o+=Hn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Xr={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"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],so=["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=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(Hr(i));const n=Ki.fromObject(e);let s,r;if(Dn(t.year))s=vn.now();else{for(const e of io)Dn(t[e])&&(t[e]=Xr[e]);const e=Rn(t)||Mn(t);if(e)return ho.invalid(e);const n=function(t){if(void 0===uo&&(uo=vn.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);[s,r]=Br(t,n,i)}return new ho({ts:s,zone:i,loc:n,o:r})}function ao(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(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||vn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gn("invalid input"):null)||(e.isValid?null:Hr(e));this.ts=Dn(t.ts)?vn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Vn(t.o)&&!t.old?t.o:e.offset(this.ts);n=qr(this.ts,r),i=Number.isNaN(n.year)?new gn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return oo({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return t.zone=Xi.utcInstance,oo({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return ho.invalid("invalid input");const s=en(e.zone,vn.defaultZone);return s.isValid?new ho({ts:i,zone:s,loc:Ki.fromObject(e)}):ho.invalid(Hr(s))}static fromMillis(t,e={}){if(Vn(t))return t<-zr||t>zr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:en(e.zone,vn.defaultZone),loc:Ki.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vn(t))return new ho({ts:1e3*t,zone:en(e.zone,vn.defaultZone),loc:Ki.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(Hr(i));const n=Ki.fromObject(e),s=is(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=An(s,n),a=vn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.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||s.weekday&&!d;let p,v,g=qr(a,c);m?(p=no,v=to,g=On(g,r,o)):u?(p=so,v=eo,g=xn(g)):(p=io,v=Xr);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=En(t.weekYear),s=zn(t.weekNumber,1,Kn(t.weekYear,e,i)),r=zn(t.weekday,1,7);return n?s?!r&&bn("weekday",t.weekday):bn("week",t.weekNumber):bn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=En(t.year),i=zn(t.ordinal,1,Bn(t.year));return e?!i&&bn("ordinal",t.ordinal):bn("year",t.year)}(s):Rn(s),b=k||Mn(s);if(b)return ho.invalid(b);const w=m?Tn(s,r,o):u?Nn(s):s,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Ss(t,[Gs,tr],[Ks,er],[Qs,ir],[Xs,nr])}(t);return Jr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Ss(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,Ws])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Ss(t,[$s,Ys],[qs,Ys],[Bs,Js])}(t);return Jr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new ni("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,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,n]=function(t){return Ss(t,[rr,tr],[or,ar])}(t);return Jr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Qe(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(bs.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?xn(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=Jn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*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?[Wr(this,{ts:a}),Wr(this,{ts:c})]:[this]}get isInLeapYear(){return qn(this.year)}get daysInMonth(){return Yn(this.year,this.month)}get daysInYear(){return this.isValid?Bn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Kn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Kn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=bs.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(Xi.instance(t),e)}toLocal(){return this.setZone(vn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=en(t,vn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Br(i,e,t)}return Wr(this,{ts:n,zone:t})}return ho.invalid(Hr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Wr(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=is(t,ro),{minDaysInFirstWeek:i,startOfWeek:n}=An(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(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;s?l=Tn({...On(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Yn(l.year,l.month),l.day))):l=Nn({...xn(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Wr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Wr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Wr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=kr.normalizeUnit(t);switch(n){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"===n)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"===n){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?bs.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bs.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bs.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Kr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),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:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}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 n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Gr(this,n,!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 n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,s,n);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 n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.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 n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),ao(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}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 ni("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new ni("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Ki.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Fr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`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&&Vn(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(){const t=["weekdayLong","1704lexupL","week","startOf","day","6383223jqvcla","309aiDkJU","toJSDate","month","minus","8907648eGXkdA","hasSame","fromJSDate","1193632YccbMA","year","monthLong","1363780tbIQAe","3632EexfdQ","setLocale","toRelativeCalendar","1409330MbRFUX","41490wEkxHL","local"];return(mo=function(){return t})()}function po(t,e){const i=mo();return(po=function(t,e){return i[t-=269]})(t,e)}function vo(t,e){const i=po,n=ho[i(278)](t)[i(284)](e),s=ho[i(288)](),r=s[i(275)]({days:1})[i(269)](i(270));let o,a;return n[i(277)](s,i(270))?(o=n[i(269)](i(270))[i(273)](),a=n[i(285)]()):n[i(277)](r,i(270))?(o=r[i(273)](),a=n[i(285)]()):n[i(277)](s,i(291))?(o=n[i(269)](i(291))[i(273)](),a=n[i(289)]||""):n[i(277)](s,i(280))?(o=n[i(269)](i(274))[i(273)](),a=n[i(281)]||""):(o=n[i(269)](i(280))[i(273)](),a=String(n[i(280)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(992365===parseInt(e(286))/1+parseInt(e(290))/2*(-parseInt(e(272))/3)+-parseInt(e(279))/4+parseInt(e(282))/5+-parseInt(e(276))/6+-parseInt(e(271))/7+parseInt(e(283))/8*(parseInt(e(287))/9))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=Dt();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-=239]})(t,e)}!function(t){const e=bo,i=t();for(;;)try{if(735294===parseInt(e(259))/1*(parseInt(e(271))/2)+parseInt(e(249))/3+-parseInt(e(246))/4+-parseInt(e(251))/5*(parseInt(e(244))/6)+parseInt(e(255))/7*(-parseInt(e(264))/8)+-parseInt(e(257))/9*(-parseInt(e(239))/10)+parseInt(e(250))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class wo extends _t.View{[ko(263)];[ko(261)];[ko(266)];[ko(268)];constructor(t,e,i,n){const s=ko;super(t);const r=vo(e,this[s(242)][s(260)])[s(248)];this[s(263)]=e,this[s(261)]=this[s(245)](),this[s(266)]=i,this[s(268)]=n,this[s(261)][s(267)](s(241)).to(this),this[s(261)][s(267)](s(254)).to(this),this[s(253)]({tag:s(240),attributes:{class:["ck",s(256)]},children:[{tag:s(243),attributes:{class:["ck",s(269)]},children:[{text:r}]},{tag:s(240),attributes:{class:["ck",s(252)]},children:this[s(261)]}]})}[ko(270)](t){const e=ko,i=new Ge(this[e(242)],t,this[e(266)],this[e(268)]);this[e(261)][e(258)](i)}[ko(265)](t){const e=ko,i=this[e(261)][e(247)](e=>e.id===t.id);this[e(261)][e(262)](i)}}function _o(){const t=["5216wQtUQB","155570gZgJbz","div","select","locale","span","1518pYYWkZ","createCollection","429552xhremL","find","localizedPeriodName","850602aFChTY","20894973tGoBgO","28745HRMTWo","ck-revision-history-sidebar__time-period__revisions","setTemplate","setName","224isSRcc","ck-revision-history-sidebar__time-period","558eQWgwl","add","142lxXxzt","uiLanguage","revisionViews","remove","startDate","305192TEAzYo","removeRevision","_revisionActions","delegate","_requireRevisionName","ck-revision-history-sidebar__time-period__label","addRevision"];return(_o=function(){return t})()}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=Rt(),So.insert=Nt().bind(null,"head"),So.domAPI=Tt(),So.insertStyleElement=Dt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(){const t=["span","ck-revision-history-sidebar__header__label","112890orkBEd","content","584TwgzeX","9VqwNZi","ck-reset_all","15yxJslA","443352qmOHsS","setTemplate","ck-revision-history-sidebar__header","Revision history","4547990SoZdHk","div","134533SmpXdu","5306412uDghmD","4539476RGRucW","2149695GQiTPK"];return(Oo=function(){return t})()}function To(t,e){const i=Oo();return(To=function(t,e){return i[t-=233]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(966533===-parseInt(e(235))/1+parseInt(e(247))/2*(parseInt(e(234))/3)+-parseInt(e(243))/4+parseInt(e(244))/5+parseInt(e(242))/6+-parseInt(e(241))/7*(-parseInt(e(249))/8)+-parseInt(e(250))/9*(parseInt(e(239))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class xo extends _t.View{constructor(t){const e=To;super(t);const i=new _t.IconView;i[e(248)]=wt.IconHistory,this[e(236)]({tag:e(240),attributes:{class:["ck",e(233),e(237)]},children:[i,{tag:e(245),attributes:{class:["ck",e(246)]},children:[ot(t,e(238))]}]})}}var No=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Rt(),Ao.insert=Nt().bind(null,"head"),Ao.domAPI=Tt(),Ao.insertStyleElement=Dt();St()(No.A,Ao);No.A&&No.A.locals&&No.A.locals;const Ro=Mo;function Mo(t,e){const i=Do();return(Mo=function(t,e){return i[t-=483]})(t,e)}function Do(){const t=["3qtedMw","bindTemplate","3305mCLvrb","some","createdAt","div","unhighlight","deselect","ck-reset","_removeRevision","5301912ALEaMe","getTime","306qwJTib","revisionViews","locale","revisionSetName","createCollection","isEnabled","timePeriodViews","flat","ck-revision-history-sidebar","440002MspSoz","startDate","_revisions","setTemplate","38527918MrImNl","add","_getTimePeriodViewByStartDate","remove","map","revisionSelected","select","587182thjOTW","4824kYvEPL","get","highlightRevisions","delegate","render","addRevision","14034GRCAwl","_addRevision","uiLanguage","set","selectRevision","_revisionActions","ck-revision-history-sidebar__timeline","10qnCBEo","ck-rounded-corners","setName","_requireRevisionName","fire","highlight","ck-disabled","removeRevision","158272IgPxFG","find"];return(Do=function(){return t})()}!function(t){const e=Mo,i=t();for(;;)try{if(470456===-parseInt(e(488))/1+-parseInt(e(533))/2*(parseInt(e(512))/3)+-parseInt(e(489))/4*(parseInt(e(514))/5)+parseInt(e(495))/6+-parseInt(e(522))/7+-parseInt(e(510))/8*(parseInt(e(524))/9)+-parseInt(e(502))/10*(-parseInt(e(537))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Vo extends _t.View{[Ro(530)];[Ro(535)];[Ro(500)];[Ro(505)];constructor(t,e,i,n){const s=Ro;super(t);const r=this[s(513)];this[s(530)]=this[s(528)](),this[s(530)][s(492)](s(487)).to(this),this[s(530)][s(492)](s(504)).to(this),this[s(535)]=e,this[s(500)]=i,this[s(505)]=n,this.on(s(487),(t,e)=>{const i=s;this[i(506)](i(486),e)}),this.on(s(504),(t,e)=>{const i=s;this[i(506)](i(527),e)}),this[s(498)](s(529),!1),this[s(536)]({tag:s(517),attributes:{class:["ck",s(520),s(503),s(532)]},children:[new xo(t),{tag:s(517),attributes:{class:["ck",s(501),r.if(s(529),s(508),t=>!t)]},children:this[s(530)]}]})}[Ro(493)](){const t=Ro;super[t(493)]();for(const e of this[t(535)])this[t(496)](e);this[t(535)].on(t(538),(e,i)=>{this[t(496)](i)}),this[t(535)].on(t(484),(e,i)=>{this[t(521)](i)})}get[Ro(525)](){const t=Ro;return this[t(530)][t(485)](e=>e[t(525)][t(485)](t=>t))[t(531)]()}[Ro(499)](t){const e=Ro;for(const i of this[e(525)])t&&t.id===i.id?i[e(487)]():i[e(519)]()}[Ro(491)](t){const e=Ro;for(const i of this[e(525)])t[e(515)](({id:t})=>t===i.id)?i[e(507)]():i[e(518)]()}[Ro(496)](t){const e=Ro,i=vo(t[e(516)],this[e(526)][e(497)])[e(534)];let n=this[e(530)][e(490)](0);n&&n[e(534)][e(523)]()===i[e(523)]()||(n=new wo(this[e(526)],i,this[e(500)],this[e(505)]),this[e(530)][e(538)](n)),n[e(494)](t)}[Ro(521)](t){const e=Ro,i=vo(t[e(516)],this[e(526)][e(497)])[e(534)];this[e(483)](i)[e(509)](t)}[Ro(483)](t){const e=Ro;return this[e(530)][e(511)](i=>i[e(534)][e(523)]()===t[e(523)]())}}const Eo=Co;function Co(t,e){const i=Fo();return(Co=function(t,e){return i[t-=160]})(t,e)}function Fo(){const t=["add","8lxxmmE","_handleDiffChange","_handleRevisionSetName","compare","editor","requires","_createRevisionActions","change:diff","revisionHistory.viewerSidebarContainer","string","render","init","getIndex","revisionSetName","_revisions","timePeriodViews","1233iIxqzW","restoreRevisionCallback","name","isSelected","plugins","config","selectRevision","nameRevision","revisionHistory.revisionActions","isPremiumPlugin","listenTo","getEarlierVisibleRevision","RevisionsSidebar","repository","Compare against selected","5ahsSJL","restoreRevision","focus","ready","_revisionViewer","compareAgainstSelected","_handleEditorDataReady","destroy","getLaterVisibleRevision","select","map","_handleRevisionSelected","setName","91370cbPXzf","5726rvBepd","revisionHistory","defaultRevisionActions","revisionHistory.requireRevisionName","getRevisionsInDiff","length","remove","availableRevisionActions","isReady","14224BcqmkI","diff","isEnabled","pluginName","_revisionsRepository","revisionViews","bind","1229001bCwKiT","2065300DleKZx","_sidebarView","action","assign","data","isOfficialPlugin","isVisible","Restore this revision","getRevision","appendChild","10090794PSZzPC","12384oLMRlv","newRevisionId","highlightRevisions","1380445QYFASh","fieldView","revisionSelected","locale","28303NLFQTs","element","Name this revision","get"];return(Fo=function(){return t})()}!function(t){const e=Co,i=t();for(;;)try{if(902071===-parseInt(e(214))/1+-parseInt(e(200))/2+parseInt(e(199))/3*(-parseInt(e(223))/4)+parseInt(e(169))/5*(parseInt(e(210))/6)+-parseInt(e(183))/7*(parseInt(e(192))/8)+-parseInt(e(239))/9*(-parseInt(e(182))/10)+-parseInt(e(218))/11*(-parseInt(e(211))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends J.Plugin{[Eo(173)];[Eo(196)];[Eo(201)];static[Eo(185)]=[Eo(174),Eo(170),Eo(161)];static[Eo(190)]=function(){const t=Eo;return{compareAgainstSelected:{name:t(168),action:({plugins:e},i)=>{const n=t,s=e[n(221)](ae),r=s[n(167)];let o=s[n(193)][n(212)],a=i.id;r[n(235)](o)>r[n(235)](a)&&([o,a]=[a,o]),s[n(226)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(221)](ae);return!(s[n(167)][n(187)](s[n(193)])[n(188)]>2||i[n(242)])}},restoreRevision:{name:t(207),action:(e,{id:i})=>{const n=t;e[n(244)][n(221)](n(184))[n(240)](i)},isVisible:({plugins:e},i)=>!!e[t(221)](ae)[t(167)][t(177)](i.id)},nameRevision:{name:t(220),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(221)](ae),o=r[s(167)][s(165)](i);r[s(226)](i,o),n[s(171)](),n[s(215)][s(178)]()}}}}();static get[Eo(195)](){return Eo(166)}static get[Eo(205)](){return!0}static get[Eo(163)](){return!0}static get[Eo(228)](){return[ae]}constructor(t){const e=Eo;super(t),this[e(173)]=t[e(243)][e(221)](ae),this[e(196)]=this[e(173)][e(167)],this[e(201)]=null}[Eo(234)](){const t=Eo,e=this[t(196)][t(237)],i=this[t(229)](),n=this[t(227)][t(244)][t(221)](t(231));this[t(201)]=new Vo(this[t(227)][t(217)],e,i,this[t(227)][t(244)][t(221)](t(186))),this[t(201)].on(t(216),this[t(180)][t(198)](this)),this[t(201)].on(t(236),this[t(225)][t(198)](this)),this[t(201)][t(198)](t(194)).to(this[t(173)]),this[t(201)][t(238)].on(t(222),(e,i)=>{const n=t;i[n(197)].on(n(222),(t,e)=>{const i=n;e[i(198)](i(194),i(191)).to(this[i(173)])})}),this[t(201)][t(233)](),this[t(164)](this[t(227)][t(204)],t(172),this[t(175)][t(198)](this)),this[t(164)](this[t(173)],t(230),this[t(224)][t(198)](this)),n[t(209)](this[t(201)][t(219)])}[Eo(176)](){const t=Eo;this[t(201)][t(219)][t(189)](),this[t(201)][t(176)]()}[Eo(175)](){const t=Eo,e=this[t(196)][t(208)](0);if(e){const i=this[t(196)][t(165)](e.id);this[t(173)][t(226)](e,i)}}[Eo(180)](t,e){const i=Eo,n=this[i(196)][i(208)](e.id),s=this[i(196)][i(165)](n.id);this[i(173)][i(226)](n,s)}[Eo(225)](t,e){const i=Eo;this[i(196)][i(208)](e.id)[i(181)](e[i(241)])}[Eo(224)](t,e,i){const n=Eo,s=this[n(196)][n(187)](i);s[n(188)]>2?(this[n(201)][n(213)](s),this[n(201)][n(160)](null)):(this[n(201)][n(213)]([]),this[n(201)][n(160)](s[0]))}[Eo(229)](){const t=Eo,e=this[t(227)],i=Lo[t(190)],n=e[t(244)][t(221)](t(162))||Lo[t(185)];if(n[t(188)])return n[t(179)](n=>{const s=t,r=s(232)==typeof n?Object[s(203)]({},i[n]):n;return r[s(202)]=r[s(202)][s(198)](this,e),r[s(206)]&&(r[s(206)]=r[s(206)][s(198)](this,e)),r})}}const jo=zo;function Po(){const t=["1378956mRyses","attachDomRoot","isActive","_elementReplacer","componentFactory","view","ready","getRoot","editing","document","1925130YgxKqS","isFocused","fire","84555ecjAyb","replace","stickyPanel","get","_initToolbar","name","editable","6904469KpcwIv","detachDomRoot","limiterElement","13373UZBDQJ","viewportTopOffset","render","destroy","viewportOffset","_toolbarConfig","editor","setEditableElement","1260798cZnvGA","config","fillFromConfig","addToolbar","toolbar","_view","restore","focusTracker","16QduPri","3551114TeWoNF","470gwVFEC","4iJxIEI","init","rootName","bind","element","106BTwaHn"];return(Po=function(){return t})()}function zo(t,e){const i=Po();return(zo=function(t,e){return i[t-=466]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(514824===parseInt(e(474))/1*(parseInt(e(498))/2)+parseInt(e(499))/3+-parseInt(e(493))/4*(-parseInt(e(509))/5)+-parseInt(e(482))/6+parseInt(e(491))/7*(-parseInt(e(490))/8)+parseInt(e(512))/9*(-parseInt(e(492))/10)+parseInt(e(471))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Ho extends _t.EditorUI{[jo(487)];[jo(479)];[jo(502)];get[jo(504)](){return this[jo(487)]}constructor(e,i){const n=jo;super(e),this[n(487)]=i,this[n(479)]=(0,_t.normalizeToolbarConfig)(e[n(483)][n(467)](n(486))),this[n(502)]=new t.ElementReplacer}get[jo(497)](){const t=jo;return this[t(504)][t(497)]}[jo(494)](t){const e=jo,i=this[e(480)],n=this[e(504)],s=i[e(507)][e(504)],r=n[e(470)],o=s[e(508)][e(506)]();r[e(469)]=o[e(495)],n[e(476)]();const a=r[e(497)];this[e(481)](r[e(469)],a),n[e(470)][e(496)](e(510)).to(this[e(489)]),s[e(500)](a),this[e(502)][e(513)](t,this[e(497)]),this[e(468)](),this[e(511)](e(505))}[jo(477)](){const t=jo;super[t(477)]();const e=this[t(504)],i=this[t(480)][t(507)][t(504)];this[t(502)][t(488)](),i[t(472)](e[t(470)][t(469)]),e[t(477)]()}[jo(468)](){const t=jo,e=this[t(504)];e[t(466)][t(496)](t(501)).to(this[t(489)],t(510)),e[t(466)][t(473)]=e[t(497)],e[t(466)][t(496)](t(475)).to(this,t(478),({top:t})=>t),e[t(486)][t(484)](this[t(479)],this[t(503)]),this[t(485)](e[t(486)])}}var Uo=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Rt(),Zo.insert=Nt().bind(null,"head"),Zo.domAPI=Tt(),Zo.insertStyleElement=Dt();St()(Uo.A,Zo);Uo.A&&Uo.A.locals&&Uo.A.locals;var Wo=$o;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=157]})(t,e)}!function(t){for(var e=$o,i=t();;)try{if(496119===parseInt(e(163))/1*(parseInt(e(169))/2)+-parseInt(e(168))/3+parseInt(e(160))/4+-parseInt(e(170))/5+-parseInt(e(157))/6+parseInt(e(159))/7+parseInt(e(167))/8*(parseInt(e(164))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class qo extends _t.BoxedEditorUIView{[Wo(166)];[Wo(165)];[Wo(158)];get[Wo(174)](){return this[Wo(166)]}constructor(t,e,i={}){var n=Wo;super(t),this[n(165)]=new _t.StickyPanelView(t),this[n(158)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[n(161)]}),this[n(166)]=new _t.InlineEditableUIView(t,e)}[Wo(172)](){var t=Wo;super[t(172)](),this[t(165)][t(175)][t(173)](this[t(158)]),this[t(162)][t(173)](this[t(165)]),this[t(171)][t(173)](this[t(174)])}}function Bo(){var t=["2QaRMKB","43713ZRJwbA","stickyPanel","_editable","1208QcpfoK","2474214gZrBCY","767794VRQwDh","1649220UaMPCa","main","render","add","editable","content","3628128YCVfFf","toolbar","3536344QLZHLB","995984UkhuLt","shouldToolbarGroupWhenFull","top"];return(Bo=function(){return t})()}const Yo=Jo;function Jo(t,e){const i=Ko();return(Jo=function(t,e){return i[t-=434]})(t,e)}!function(t){const e=Jo,i=t();for(;;)try{if(586554===parseInt(e(438))/1*(-parseInt(e(455))/2)+-parseInt(e(454))/3+-parseInt(e(449))/4+-parseInt(e(445))/5+parseInt(e(458))/6+-parseInt(e(453))/7+-parseInt(e(450))/8*(-parseInt(e(439))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Go extends((0,J.ElementApiMixin)(J.Editor)){[Yo(446)];get ui(){return this[Yo(446)]}constructor(t,e){const i=Yo;super(e),this[i(460)]=t,this[i(461)][i(440)][i(456)]();const n=new qo(this[i(435)],this[i(452)][i(436)],{shouldToolbarGroupWhenFull:!0});this[i(446)]=new Ho(this,n)}[Yo(443)](){const t=Yo;return this[t(437)](),this.ui[t(443)](),super[t(443)]()}static async[Yo(459)](t,e){const i=Yo,n=new this(t,e);return await n[i(451)](),await n.ui[i(444)](t),await n[i(447)][i(444)](n[i(457)][i(441)](i(442))||""),n[i(434)](i(448)),n}}function Ko(){const t=["create","sourceElement","model","fire","locale","view","updateSourceElement","5RXUGir","1440ZzUSuy","document","get","initialData","destroy","init","1053895VxKdUO","_ui","data","ready","1420304kQyvVI","43400swufqp","initPlugins","editing","1332072IrbtNL","27633qaZFAt","172076OTQCeI","createRoot","config","5484636RmKugQ"];return(Ko=function(){return t})()}const Qo=Xo;function Xo(t,e){const i=ia();return(Xo=function(t,e){return i[t-=414]})(t,e)}!function(t){const e=Xo,i=t();for(;;)try{if(432261===parseInt(e(516))/1+parseInt(e(557))/2*(-parseInt(e(437))/3)+-parseInt(e(561))/4*(-parseInt(e(533))/5)+-parseInt(e(435))/6*(-parseInt(e(446))/7)+-parseInt(e(480))/8*(-parseInt(e(487))/9)+parseInt(e(464))/10*(parseInt(e(428))/11)+parseInt(e(548))/12*(-parseInt(e(513))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ia);const ta=[Qo(426),Qo(544)];class ea extends J.Plugin{[Qo(553)];static get[Qo(527)](){return Qo(565)}static get[Qo(529)](){return!0}static get[Qo(482)](){return!0}constructor(t){const e=Qo;function i(t){const e=Xo;return t[e(522)](t=>String[e(546)](t))[e(441)]("")}super(t),this[e(553)]=e(458),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}function ia(){const t=["detachRoot","309886FlKUSQ","_getRevisionViewerEditorConfig","Autosave","users","105836Ywnsdy","isEnabled","style","changesNavigation","RevisionViewerIntegration","revisionHistory","name","view","locale","DocumentOutlineUI","revisionHistory.showRevisionViewerCallback","getUser","rootName","catch","_enhanceCloseRevisionViewerCallback","element","saveRevision","showRevisionViewerCallback","parse","fromVersion","RevisionHistoryUI","uiLanguage","439769mgvwno","selection","plugins","revisionHistory.requireRevisionName","destroy","display","removeSelectionAttribute","31974bEcYLE","addRevisionData","6LknzHL","_closeRevisionViewer","isReady","set","join","model","loadRevisionData","Annotations","isAnonymous","448slAikT","RevisionsRepository","getRoot","createdAt","indexOf","restoreRevision","config","getRevisionDocumentData","lazyRoots","adapter","removeMarker","isReadOnly","end","toolbar","_recalculatePageBreaks","get","repository","save","140edjqIP","RevisionHistory","define","toLocaleDateString","numeric","getRevision","then","change","_enhanceShowRevisionViewerCallback","toVersion","getMarkersGroup","createRangeIn","addRoot","DocumentOutline","removeAttribute","creator","2704EwChXp","translations","isPremiumPlugin","commands","document","Dialog","insert","13059HdlTCN","hide","$graveyard","revisionHistory.restoreRevisionCallback","enableReadOnlyMode","none","from","_restoreRevision","revisionHistory.closeRevisionViewerCallback","init","isRevisionViewerOpen","disableReadOnlyMode","isAttached","_showRevisionViewer","error","requires","_update","Users","setAttribute","includes","revisionHistory.viewerContainer","PaginationLookup","closeRevisionViewerCallback","_viewerEditor","update","revisionHistory.editorContainer","530907eElFvd","refreshVisibility","keys","96980nNbVwY","create","RevisionTracker","getRevisionRootsAttributes","bind","revision-history-missing-configuration","map","push","revision-history-viewer-opened","block","getAttributeKeys","pluginName","isOpen","isOfficialPlugin","addUser","refreshPositioning","exitToEditing","160xMVBqq","restrictedEditingException","toJSON","roots","getRevisions","has","data","setSelection","RevisionViewer","RevisionHistoryUtils","remove","RestrictedEditingMode","long","fromCharCode","revisionHistory.viewerEditorElement","468yDCIzG","markers","editor","enqueueChange","Restored","result","_cleanUp","toLocaleTimeString"];return(ia=function(){return t})()}class na extends J.Plugin{[Qo(510)];static get[Qo(527)](){return Qo(465)}static get[Qo(529)](){return!0}static get[Qo(482)](){return!0}static get[Qo(502)](){return[pt,Wt]}constructor(e){const i=Qo;if(super(e),!this[i(550)][i(452)][i(461)](i(566)))throw new t.CKEditorError(i(521),this);this[i(510)]=null,this[i(440)](i(497),!1),this[i(550)][i(452)][i(466)](i(416),t=>this[i(500)]({...t,translations:this[i(550)][i(414)][i(481)]})),this[i(550)][i(452)][i(466)](i(495),t=>this[i(438)](t)),this[i(550)][i(452)][i(466)](i(490),t=>this[i(494)](t)),this[i(550)][i(452)][i(466)](i(431),!1),this[i(472)](),this[i(420)]()}set[Qo(455)](t){const e=Qo;this[e(550)][e(430)][e(461)](e(518))[e(455)]=t}get[Qo(455)](){const t=Qo;return this[t(550)][t(430)][t(461)](t(518))[t(455)]}[Qo(436)](t){const e=Qo;return this[e(550)][e(430)][e(461)](e(518))[e(436)](t)}[Qo(469)](t){const e=Qo;return this[e(550)][e(430)][e(461)](e(447))[e(469)](t)}[Qo(537)](t){const e=Qo;return this[e(550)][e(430)][e(461)](e(447))[e(537)](t||{toJSON:!1})}[Qo(558)](){const e=Qo,i=this[e(550)],n=(0,G.sanitizeEditorConfig)(i,ta),s=i[e(430)][e(461)](e(518)),r=i[e(430)][e(461)](e(504))[e(560)];return n[e(459)]=[e(532),e(451),e(564)],delete n[e(454)],n[e(430)][e(523)](ea,ae,xe,class extends J.Plugin{static get[e(502)](){return[ae,e(504)]}[e(496)](){const n=e,o=this[n(550)][n(430)][n(461)](n(504));for(const t of r)t[n(445)]||o[n(417)](t.id)||o[n(530)](t);const a=s[n(462)][n(537)]();let c=null;const u=this[n(550)][n(430)][n(461)](n(541));u[n(455)]=s[n(455)],u[n(520)](n(562)).to(s),this[n(550)][n(483)][n(461)](n(451))[n(520)](n(562)).to(i,n(457),t=>!t);for(const e of a){const i=null===e[n(479)];if(i&&e[n(473)]===e[n(425)])continue;const r=e[n(535)]();u[n(436)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(503)](r,o);else if(!o){const e=a[u(535)]();e.id=(0,t.uid)(),s[u(422)](e,a[u(473)])[u(470)](t=>{c=t})}}else e[u(503)](r,o)})}}},Lo),n}[Qo(472)](){const t=Qo,e=this[t(550)][t(452)][t(461)](t(566))[t(423)];this[t(550)][t(452)][t(440)](t(416),async()=>{const i=t;this[i(550)][i(491)](i(524));const n=this[i(550)][i(430)][i(461)](i(518));if(this[i(550)][i(430)][i(538)](i(559))){const t=this[i(550)][i(430)][i(461)](i(559));await t[i(463)]()}else await n[i(511)]();if(this[i(550)][i(430)][i(538)](i(508))&&this[i(550)][i(430)][i(461)](i(508))[i(460)](),this[i(550)][i(430)][i(538)](i(485))){const t=this[i(550)][i(430)][i(461)](i(485));t[i(528)]&&t[i(488)]()}const s=this[i(558)]();return e(s)[i(470)](t=>{const e=i;return this[e(510)]=t,this[e(550)][e(430)][e(538)](e(444))&&this[e(550)][e(430)][e(461)](e(444))[e(514)](),this[e(550)][e(430)][e(538)](e(477))&&(this[e(550)][e(430)][e(461)](e(415))[e(568)][e(421)][e(563)][e(433)]=e(492)),t})[i(419)](t=>(console[i(501)](t),this[i(550)][i(498)](i(524)),null))})}[Qo(420)](){const t=Qo,e=this[t(550)][t(452)][t(461)](t(566))[t(509)];this[t(550)][t(452)][t(440)](t(495),()=>(this[t(550)][t(430)][t(538)](t(508))&&this[t(550)][t(430)][t(461)](t(508))[t(460)](),this[t(550)][t(430)][t(538)](t(477))&&(this[t(550)][t(430)][t(461)](t(415))[t(568)][t(421)][t(563)][t(433)]=""),this[t(510)][t(430)][t(461)](t(541))[t(554)](),e(this[t(510)])[t(470)](()=>{const e=t;if(this[e(550)][e(498)](e(524)),this[e(510)]=null,this[e(550)][e(430)][e(538)](e(444))){const t=this[e(550)][e(430)][e(461)](e(444));t[e(514)](),t[e(531)]()}})))}[Qo(500)](t){const e=Qo,i=this[e(550)][e(452)][e(461)](e(512)),n=this[e(550)][e(452)][e(461)](e(507)),s=this[e(550)][e(452)][e(461)](e(547));return Go[e(517)](s,t)[e(470)](t=>(n[e(563)][e(433)]=e(525),i[e(563)][e(433)]=e(492),this[e(497)]=!0,t))}[Qo(438)](t){const e=Qo,i=this[e(550)][e(452)][e(461)](e(512));return this[e(550)][e(452)][e(461)](e(507))[e(563)][e(433)]=e(492),i[e(563)][e(433)]="",this[e(497)]=!1,t[e(432)]()}async[Qo(494)](t){const e=Qo,i=this[e(550)],n=this[e(510)][e(430)][e(461)](e(541)),s=i[e(430)][e(461)](e(518)),r=i[e(430)][e(461)](e(542)),o=n[e(462)][e(469)](t);let a,c,u;try{await r[e(443)](o,this[e(455)]),a=r[e(453)](o),c=r[e(519)](o)}catch(t){return void console[e(501)](t)}i[e(442)][e(471)](t=>{const n=e;for(const e of Array[n(493)](i[n(442)][n(549)][n(474)](n(534))))t[n(456)](e)}),n[e(439)]=!1,i[e(442)][e(551)](t=>{const n=e;t[n(540)](null),t[n(434)](i[n(442)][n(484)][n(429)][n(526)]());const s=Object[n(515)](a);for(const e of i[n(442)][n(484)][n(536)])n(489)!=e[n(418)]&&e[n(499)]()&&!s[n(506)](e[n(418)])&&t[n(556)](e);for(const e of s){let s=i[n(442)][n(484)][n(448)](e);s&&s[n(499)]()||(s=t[n(476)](e));const r=c[e],o=Object[n(515)](r),u=a[e];for(const e of s[n(526)]())o[n(506)](e)||t[n(478)](e,s);for(const i of o)t[n(505)](i,c[e][i],s);t[n(543)](t[n(475)](s)),t[n(486)](i[n(539)][n(424)](u,s),s,0)}});const l=ot(i[e(414)],e(552));return u=o[e(567)]?-1==o[e(567)][e(450)](l)?l+": "+o[e(567)]:o[e(567)]:l+": "+o[e(449)][e(467)](i[e(414)][e(427)],{month:e(545),day:e(468)})+", "+o[e(449)][e(555)](i[e(414)][e(427)],{hour:e(468),minute:e(468)}),await s[e(422)]({name:u}),n[e(439)]=!0,i[e(452)][e(461)](e(566))[e(509)]()}}function sa(){var t=["78582wBTlEj","2734171abIcno","2554180mrmhud","9pXmhhE","13809miKABN","42FjHtZQ","274600LLFPfb","8UbpKRe","1180832mxOoXh","45mBweQM","540953fqwLkf"];return(sa=function(){return t})()}function ra(t,e){var i=sa();return(ra=function(t,e){return i[t-=461]})(t,e)}!function(t){for(var e=ra,i=t();;)try{if(151008===-parseInt(e(469))/1+parseInt(e(468))/2*(parseInt(e(467))/3)+parseInt(e(471))/4+-parseInt(e(461))/5*(-parseInt(e(463))/6)+-parseInt(e(462))/7*(parseInt(e(470))/8)+-parseInt(e(466))/9*(parseInt(e(465))/10)+parseInt(e(464))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
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:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>oe,RevisionViewerEditor:()=>Go,RevisionViewerLoadingOverlay:()=>Ie,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==(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,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 M(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&M(s,i)&&(void 0!==i||e in t)||(t[e]=i)},V=/^(?:0|[1-9]\d*)$/;function D(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}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])?[]:{}}E(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}}function q(t,e){const i=B();return(q=function(t,e){return i[t-=122]})(t,e)}const $=q;function B(){const t=["2GLaNQN","name","432216ErJRcy","setName","authorsIds","attributes","setAttribute","1252372yUVpCH","set","diffData","fire","creator","authors","creatorId","_update","6xllEcq","348173AvRsCw","removeAttribute","109458qyyUOc","5198216FubpoC","toJSON","createdAt","5FXMYkz","map","model","150kutddX","fromVersion","toVersion","326183iqgjru","5288339ZdMIKo"];return(B=function(){return t})()}!function(t){const e=q,i=t();for(;;)try{if(431103===parseInt(e(134))/1*(-parseInt(e(148))/2)+parseInt(e(150))/3+-parseInt(e(125))/4*(parseInt(e(140))/5)+-parseInt(e(133))/6*(-parseInt(e(147))/7)+parseInt(e(137))/8+-parseInt(e(136))/9+parseInt(e(143))/10*(-parseInt(e(146))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class Y extends((0,t.ObservableMixin)()){id;[$(129)];[$(130)];[$(127)];[$(145)];[$(144)];[$(142)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(129)]=e[i(129)]||null,this[i(130)]=e[i(130)]||[],this[i(127)]=e[i(127)]||null,this[i(145)]=e[i(145)]||0,this[i(144)]=e[i(144)]||0,this[i(126)](i(149),e[i(149)]||""),this[i(126)](i(139),e[i(139)]||new Date),this[i(126)](i(123),e[i(123)]||{})}[$(151)](t){this[$(132)]({name:t})}[$(124)](t,e){const i=$,s=A(this[i(123)]);W(s,t,e),this[i(132)]({attributes:s})}[$(135)](t){const e=$,i=A(this[e(123)]);(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(132)]({attributes:i})}[$(132)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(149),i(139),i(127),i(130),i(123),i(145),i(144),i(131)];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(130)]&&(n[i(122)]=n[i(130)][i(141)](t=>t.id),delete n[i(130)]),this[i(128)](i(132),n,e))}[$(138)](){const t=$;return{id:this.id,name:this[t(149)],creatorId:this[t(129)]?this[t(129)].id:null,authorsIds:this[t(130)][t(141)](t=>t.id),diffData:this[t(127)],createdAt:this[t(139)],attributes:this[t(123)],fromVersion:this[t(144)],toVersion:this[t(145)]}}}var J=i(782),G=i(211),K=i(783);const X=Q;function Q(t,e){const i=tt();return(Q=function(t,e){return i[t-=193]})(t,e)}function tt(){const t=["addRevision","afterInit","773709vxmIwD","requires","getRevisions","name","12591brriEg","getRevisionsIterator","fromCharCode","later","pluginName","createdAt","authorsIds","toJSON","map","push","diffData","toVersion","reverse","getRevision","2oAwiZJ","plugins","isPremiumPlugin","2088eetxaR","attributes","get","Users","RevisionsRepository","editor","oldRevisionId","join","1021270Uqzxct","getLaterVisibleRevision","getEarlierVisibleRevision","isNaN","5ZzxSBt","href","from","fromVersion","isOfficialPlugin","earlier","getIndex","getUser","newRevisionId","708008eWCVUP","3340852RTWYUe","1809280yJieSz","add","_revisions","getRevisionsInDiff","data","2269410HtsWch","length","creatorId","createRevision"];return(tt=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(510648===parseInt(e(247))/1+-parseInt(e(236))/2*(-parseInt(e(218))/3)+parseInt(e(206))/4*(-parseInt(e(196))/5)+-parseInt(e(212))/6+-parseInt(e(205))/7+parseInt(e(239))/8*(parseInt(e(222))/9)+parseInt(e(207))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class et extends J.Plugin{[X(209)];static get[X(219)](){return[G.Users]}static get[X(226)](){return X(243)}static get[X(200)](){return!0}static get[X(238)](){return!0}get[X(213)](){const t=X;return this[t(209)][t(213)]}constructor(e){const i=X;super(e),this[i(209)]=new t.Collection}[X(217)](){!async function(e){const i=k([120,114,105,111,79,103,65,56,80,76,107,108,117,78,48,67,106,90,110,121,85,73,84,81,109,101,100,118,70,98,86,87,88,69,66,68,53,49,97,55,72,122,83,51,57,112,77,52,104,102,74,119,50,75,116,71,99,89,82,54,113,115]),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(195)](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([120]);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(230)](t=>String[e(224)](t))[e(246)]("")}!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:1751068800;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(197)]);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)}[X(215)](t){const e=X,i=this[e(244)][e(237)][e(241)](e(242));return new Y({id:t.id,name:t[e(221)],creator:t[e(214)]?i[e(203)](t[e(214)]):null,diffData:t[e(232)]||t[e(211)],authors:t[e(228)][e(230)](t=>i[e(203)](t)),createdAt:new Date(t[e(227)]),attributes:t[e(240)],fromVersion:t[e(199)],toVersion:t[e(233)]})}[X(216)](t,e=0){const i=X;this[i(209)][i(208)](t,e)}[X(235)](t){const e=X;return this[e(209)][e(241)](t)}[X(220)](t={toJSON:!1}){const e=X,i=Array[e(198)](this[e(209)]);return i[e(234)](),t[e(229)]?i[e(230)](t=>t[e(229)]()):i}[X(202)](t){const e=X;return this[e(209)][e(202)](t)}[X(194)](t){const e=X,[,i]=this[e(223)](t,{direction:e(201)});return i}[X(193)](t){const e=X,[,i]=this[e(223)](t,{direction:e(225)});return i}[X(210)](t){const e=X,i=[];for(const s of this[e(223)](t[e(204)]))if(i[e(231)](s),s.id===t[e(245)])break;return i}*[X(223)](t,{direction:e=X(201),filter:i=()=>!0}={}){const s=X,n=s(201)===e?1:-1;let r=this[s(209)][s(241)](t),o=this[s(202)](r);for(yield r;r;){if(o+=n,r=this[s(235)](o),!r)return;i(r)&&(yield r)}}}function it(t,e){const i=nt();return(it=function(t,e){return i[t-=134]})(t,e)}const st=it;function nt(){const t=["getRevisionDocumentData","marked","createElement","getRevision","_makeModelFromViewString","revision-start","10UTmZZC","revision-end","attributes","attachChange","isOfficialPlugin","_removeRevisionMarkers","collaboration.channelId","append","fillerOffset","5zOYtaM","editor","processor","domChildrenToView","parse","from","div","view","length","name","6MpBrzP","_getTypeCharForViewElement","691662mqqomh","toData","default","14986jScIaM","5200288mzWbLW","_viewClassToTypeChar","string","childNodes","RevisionHistoryUtils","type","data","startsWith","522009jvejEr","document","loadRevisionData","domDocument","getFillerOffset","attributesAfter","_getViewFromDiffObj","config","isPremiumPlugin","1132453KUyIha","_setCustomProperty","customProperties","render","insertions","getRevisionRootsAttributes","filter","map","htmlProcessor","toModel","domConverter","editing","818994ssiJAS","193644tBzPiR","innerHTML","useFillerType","data-revision-","_appendChild","constructor","pluginName","_typeCharToViewClass","diffData","isAttached","children","forEach","viewChildrenToDom","get","8YGdcvU"];return(nt=function(){return t})()}!function(t){const e=it,i=t();for(;;)try{if(900025===parseInt(e(207))/1*(-parseInt(e(136))/2)+-parseInt(e(145))/3+parseInt(e(137))/4+parseInt(e(197))/5*(-parseInt(e(209))/6)+parseInt(e(154))/7*(-parseInt(e(181))/8)+parseInt(e(167))/9+-parseInt(e(188))/10*(-parseInt(e(166))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class rt extends J.Plugin{static get[st(173)](){return st(141)}static get[st(192)](){return!0}static get[st(153)](){return!0}[st(138)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[st(174)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[st(147)](t,e){const i=st;if(t[i(175)]||!e)return;const s=this[i(198)][i(152)][i(180)](i(194)),n=await e[i(185)]({channelId:s,revisionId:t.id});t[i(175)]=n[i(175)]}[st(182)](t){const e=st,i={};for(const s in t[e(175)]){if(t[e(175)][s][e(191)]&&!t[e(175)][s][e(191)][e(176)])continue;const n=this[e(193)](JSON[e(201)](t[e(175)][s][e(158)])),r=this[e(198)][e(165)][e(204)][e(146)],o=new K.ViewDocumentFragment(r,n[e(161)](t=>this[e(151)](t,!1)));this[e(198)][e(143)][e(199)][e(169)](e(183)),i[s]=this[e(198)][e(143)][e(199)][e(134)](o),this[e(198)][e(143)][e(199)][e(169)](e(135))}return i}[st(159)](t){const e=st,i={};for(const s in t[e(175)])t[e(175)][s][e(191)]&&!t[e(175)][s][e(191)][e(176)]||(i[s]=t[e(175)][s][e(150)]||{});return i}[st(208)](t){const e=st;return this[e(138)][e(180)](t[e(172)])}[st(151)](t,e){const i=st,s=this[i(198)][i(165)][i(204)][i(146)];if(i(139)==typeof t)return new K.ViewText(s,t);{let n,r;r="u"==t[i(142)]||"r"==t[i(142)]?[]:t[i(177)][i(161)](t=>this[i(151)](t,e));const o=this[i(174)][i(180)](t[i(142)])||K.ViewElement,a=this[i(198)][i(143)][i(162)][i(164)];if(n=new o(s,t[i(206)],t[i(190)],r),"u"==t[i(142)]&&t[i(177)][0]){const r=t[i(177)][0];if(n[i(157)]=function(t){const e=i,s=t[e(184)](e(203));return s[e(168)]=r,s[e(140)][0]},e){const t=new K.ViewDocumentFragment(s);t[i(171)](n);const e=Array[i(202)](a[i(179)](t,{bind:!1})),r=a[i(148)][i(184)](i(203));r[i(195)](...e),n=Array[i(202)](a[i(200)](r))[0]}}else if("r"==t[i(142)]&&t[i(177)][0]){const r=t[i(177)][0];if(n[i(157)]=function(t){t[i(168)]=r},e){const t=new K.ViewDocumentFragment(s);t[i(171)](n);const e=Array[i(202)](a[i(179)](t,{bind:!1})),r=a[i(148)][i(184)](i(203));r[i(195)](...e);const o=Array[i(202)](a[i(200)](r));o[i(205)]>1?n[i(171)](o):n=o[0]}}if(t[i(156)])for(const[e,s]of t[i(156)])n[i(155)](e,s);const c=void 0===t[i(196)]?null:t[i(196)];return null!==c&&(n[i(149)]=()=>c),n}}[st(186)](t){const e=st,i=JSON[e(201)](t),s=this[e(198)][e(165)][e(204)][e(146)],n=new K.ViewDocumentFragment(s,i[e(161)](t=>this[e(151)](t,!0)));return this[e(198)][e(143)][e(163)](n)}[st(193)](t){const e=st;return(t=t[e(160)](t=>!t[e(206)]||e(187)!==t[e(206)]&&e(189)!==t[e(206)]))[e(178)](t=>{const i=e;i(139)!=typeof t&&(t[i(177)]=this[i(193)](t[i(177)]),t[i(190)]=t[i(190)][i(160)](t=>!t[0][i(144)](i(170))))}),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 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 A=(s=s??new Map).get(t),E=s.get(i);if(null!=A&&null!=E)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-=399]})(t,e)}function mt(){const t=["sourcePosition","18349250jNAQtL","sort","revisionHistoryLicenseKeyUsageLimit","clear","update","_source","createdAt","$graveyard","getFillerOffset","authors","saveRevision","rootName","from","_markChanges","insertions","dataDowncast","_handleRootAttributeOperation","currentRevision","getData","_handleMergeOperation","45512sTzews","_copyMarkers","isPremiumPlugin","newRange","createPositionBefore","offset","path","diffData","_handleMoveOperation","_showLicenseError","requires","_getVidAttributeName","_revisionId","Users","_getPreviousFrom","_lastFrom","elementStart","name","usageLimit","_markers","Initial revision","init","config","getOperations","has","getCurrentRevisionId","_authorId","domDocument","buildRevisionData","102852tWMuTq","tableCell","delete","getChildren","markers","RevisionsRepository","fromVersion","pluginName","RealTimeCollaborationClient","setSource","push","size","repository","_getFromVersion","_processRootBeforeSave","reInit","loadRevisionData","_makeIdsRoot","_getState","howMany","_lastTo","_setAttribute","position","keepParagraph","toView","domainLimit","_handleRootOperation","_handleSplitOperation","_execute","reinsert","isAttached","_clone","_calculateMetaData","slice","bind","document","_update","_insertChild","oldRange","_touched","domConverter","remove","_fixRange","merge","_utils","insert","getMovedRangeStart","outerHTML","RevisionHistory","getAttributes","_diffRootsAttributes","fromEntries","baseVersion","getRootNames","customProperties","_baseIdsRoots","_getBaseVids","text","upcast","4800445plLBkt","innerHTML","max","featureNotAllowed","909Fqfqde","_handleInsertOperation","vid_end","render","$comment","_bufferedUpdates","getTime","getLatestVersion","rootsAttributes","split","values","plugins","type","sendBufferedUpdates","_createFromRanges","version","_makeRevision","getWalker","uiElement","stringify","getTransformedByOperation","insertionPosition","_baseRoots","define","_savedMetaData","857963HptCgP","previousPosition","createPositionFromPath","_bufferUpdate","revision","toVersion","getNodeByPath","revisionHistoryLicenseKeyExpired","isOfficialPlugin","documentFragment","_loadedStateData","revision:","destroy","creatorId","updateRevisions","creator","_getTypeCharForViewElement","item","_addPendingAction","getAncestors","getRevisionDocumentData","_reset","for","reverse","addRootAttribute","get","model","createRange","revisionHistory.resumeUnsavedRevision","_transformMarkers","elementEnd","_baseRootsAttributes","nodes","startsWith","userId","revisionHistoryLicenseKeyNotAllowed","3GQjZXs","_createCurrentRevision","getRoot","_cloneOperation","_loadState","marker","$text","children","adapter","graveyardPosition","createPositionAt","createPositionAfter","set","createRevision","createElement","trim","affectsData","isEnabled","length","RevisionHistoryUtils","clone","_initialRevisionId","key","expired","end","RevisionTracker","changeRootAttribute","element","then","add","afterInit","locale","parent","Empty document","_appendChild","htmlProcessor","_handleOperation","history","finally","loadState","source","_removePendingAction","editor-initial-data-replaced-with-revision-data","isAdd","includes","_licenseKeyCheckInterval","_makeModelFromViewString","revisionHistoryLicenseKeyInvalid","_startingRevisionId","_pendingAction","splitPosition","addRoot","PendingActions","attachChange","_fixPosition","_idsRoots","_isInit","addRevisionData","_fixOperation","deletion","start","getRange","revisionHistoryLicenseKeyDomainLimit","getCustomProperties","markerToData","_handleMarkerOperation","stickiness","_touchedMarkers","initial","nodeAfter","attributesBefore","_startingVersion","_diffRoots","_saveMetaData","root","invalid","revisionHistoryLicenseKeyEvaluationLimit","dataToMarker","some","7157451lbQgHs","_createInitialRevision","newValue","getIndex","string","_isAttached","_setConversion","offsetSize","targetPosition","addRevision","_replaceEditorDataWithRevisionData","licenseKey","_operations","getUser","2bqCRYS","attributesAfter","shift","fillerOffset","deletions","filter","_getViewJson","hasContent","ready","resolve","_continueCurrentRevision","removeRootAttribute","setRevisionData","4036484RiYQun","_touchedRoots","_findInsertionIndex","paragraph","find","roots","vid","revisionHistoryLicenseKeyValid","_removeMetaData","map","data","PENDING_ACTION_REVISION_HISTORY","_applyOperations","getRevisionRootsAttributes","getChild","rawElement","getRevisions","vid_start","createRangeIn","conversion","_generateTape","_revisionDataBuilder","_isPendingUpdate","isReady","detachRoot","isEqual","move","keys","collaboration.channelId","_prepareViewToSave","evaluationLimit","revisionHistoryLicenseKeyTrialLimit","editor","authorsIds","childCount","initialData","NEGATIVE_INFINITY","insertion","getOperation","getAttribute","range","trialLimit","getRevision"];return(mt=function(){return t})()}!function(t){const e=ft,i=t();for(;;)try{if(553946===-parseInt(e(412))/1*(-parseInt(e(541))/2)+parseInt(e(448))/3*(-parseInt(e(554))/4)+parseInt(e(706))/5+-parseInt(e(647))/6+parseInt(e(527))/7+-parseInt(e(618))/8*(-parseInt(e(710))/9)+-parseInt(e(598))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends J.Plugin{[dt(538)];[dt(493)];[dt(615)]=null;[dt(659)];[dt(456)]=null;[dt(575)];[dt(603)];[dt(469)];[dt(715)];[dt(691)];[dt(497)];[dt(551)];[dt(519)];[dt(422)];static get[dt(654)](){return dt(473)}static get[dt(420)](){return!0}static get[dt(620)](){return!0}static get[dt(628)](){return[G.Users,et,rt,J.PendingActions]}constructor(e){const i=dt;super(e),this[i(659)]=this[i(586)][i(721)][i(437)](i(652)),this[i(691)]=this[i(586)][i(721)][i(437)](i(467)),this[i(575)]=new vt(this[i(586)]),this[i(469)]=this[i(586)][i(640)][i(437)](i(582))||i(516),this[i(715)]=new Map,this[i(422)]=null;const s=(0,t.uid)();this[i(603)]={history:this[i(586)][i(438)][i(682)][i(485)],getLatestVersion:()=>Promise[i(550)](this[i(586)][i(438)][i(682)][i(402)]),getCurrentRevisionId:()=>s},this[i(460)](i(577),!1),this[i(460)](i(465),!0),this[i(460)](i(576),!1),this[i(586)][i(640)][i(410)](i(440),!0),this[i(586)][i(573)][i(434)](i(705))[i(525)]({view:i(416)})}[dt(639)](){const t=dt;this[t(533)](),this[t(586)][t(564)].on(t(549),()=>{const e=t,i=this[e(659)][e(596)](0),s=i&&null===i[e(427)]?i:null;if(this[e(551)]=!!s&&this[e(586)][e(640)][e(437)](e(440)),this[e(586)][e(721)][e(642)](e(655))){const t=this[e(603)][e(643)](),n=this[e(659)][e(596)](t);if(n)this[e(519)]=n[e(653)],this[e(551)]=!1;else{const t=this[e(603)][e(485)][e(539)][e(558)](t=>!t[e(504)]),n=t?t[e(699)]:this[e(603)][e(485)][e(402)];i?(i[e(417)]<n&&i[e(683)]({toVersion:n}),this[e(551)]?(this[e(603)][e(643)]=()=>s.id,this[e(519)]=s[e(653)]):(this[e(519)]=i[e(417)],this[e(551)]=!1)):(this[e(519)]=n,this[e(551)]=!1)}}else s&&(this[e(586)][e(438)][e(682)][e(485)][e(402)]=Math[e(708)](s[e(417)],this[e(586)][e(438)][e(682)][e(485)][e(402)]),s[e(653)]===s[e(417)]?(0!==s[e(653)]&&(this[e(603)][e(643)]=()=>s.id),this[e(551)]=!1):this[e(551)]&&(this[e(603)][e(643)]=()=>s.id,this[e(519)]=s[e(653)])),this[e(551)]||(this[e(519)]=this[e(586)][e(438)][e(682)][e(402)]);this[e(575)][e(639)](this[e(603)][e(485)]),this[e(528)](this[e(519)]),this[e(449)](this[e(519)]),this[e(456)]&&this[e(400)]()}),this[t(681)](t(577)).to(this,t(576),t=>!t),this[t(538)]=this[t(586)][t(640)][t(437)](t(538));const e=this[t(586)];this[t(493)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(561)==r||i(495)==r||i(419)==r||i(510)==r||i(447)==r||i(524)==r||i(585)==r||i(600)==r){delete e[n],s=r,clearInterval(this[i(493)]),this[i(493)]=void 0;break}}i(495)==s&&e[i(627)](i(523)),i(419)==s&&e[i(627)](i(471)),i(510)==s&&e[i(627)](i(672)),i(447)==s&&e[i(627)](i(709),i(695)),i(524)==s&&e[i(627)](i(584)),i(585)==s&&e[i(627)](i(595)),i(600)==s&&e[i(627)](i(636))},1e3)}async[dt(478)](){const t=dt;if(this[t(659)][t(466)]>0){const e=this[t(659)][t(596)](0),i=await this[t(432)](e),s=await this[t(567)](e);this[t(537)](i,s)}}[dt(424)](){const t=dt;super[t(424)](),this[t(493)]&&clearInterval(this[t(493)])}[dt(656)](t){this[dt(603)]=t}async[dt(602)](){const t=dt,e=await this[t(603)][t(717)]();if(e>this[t(615)][t(417)]){await this[t(452)]();const i=this[t(646)]({revision:this[t(615)],to:e});i[t(607)]=i[t(587)][t(563)](e=>this[t(586)][t(721)][t(437)](t(631))[t(540)](e)),this[t(615)][t(683)](i)}}async[dt(608)](e={},i=null){const s=dt,n=[];await this[s(452)](),this[s(551)]=!1,i>this[s(615)][s(417)]&&(i=null),null===i&&(i=await this[s(603)][s(717)]());const r=this[s(660)](i),o=this[s(646)]({from:r,to:i});if(this[s(615)][s(417)]<i){const t=this[s(646)]({revision:this[s(615)],from:i,to:i});t[s(607)]=[],t[s(587)]=[],t.id=this[s(615)].id,this[s(615)][s(683)](t,!0),delete t[s(607)],n[s(657)](t)}e[s(425)]=this[s(586)][s(721)][s(437)](s(631)).me.id,e[s(635)]=e[s(635)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(505)](e);n[s(657)](e);const c=this[s(659)][s(530)](a);if(0!==c){const t=this[s(659)][s(596)](c-1);if(t[s(653)]!==i){const r=this[s(575)][s(616)](i,t[s(417)]),o={id:t.id,diffData:r[s(625)],authorsIds:r[s(587)],authors:r[s(587)][s(563)](t=>this[s(586)][s(721)][s(437)](s(631))[s(540)](t)),fromVersion:i};t===this[s(615)]&&(o[s(604)]=new Date(e[s(604)][s(716)]()+10)),t[s(683)](o,!0),delete o[s(607)],n[s(657)](o)}}if(this[s(456)]){for(const t of n)this[s(415)](t.id,t,!0);this[s(400)]()}return a}[dt(505)](t){const e=dt,i=this[e(659)][e(461)](t);return this[e(456)]&&i.on(e(683),(t,i,s)=>{const n=e;s||(this[n(415)](i.id,i,!0),this[n(400)]())}),this[e(659)][e(536)](i,this[e(556)](i)),i}async[dt(432)](t){const e=dt;return await this[e(691)][e(663)](t,this[e(456)]),this[e(691)][e(432)](t)}async[dt(567)](t){const e=dt;return await this[e(691)][e(663)](t,this[e(456)]),this[e(691)][e(567)](t)}[dt(400)](){const t=dt;if(0===this[t(715)][t(658)])return;if(this[t(576)])return;let e=Array[t(610)](this[t(715)][t(720)]());this[t(715)][t(601)]();for(let i=0;i<e[t(466)];i++){const s=e[i];let n=!1;for(const e of Object[t(581)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(546)](t=>null!==t),!e[t(466)])return;for(let i=0;i<e[t(466)];i++){const s=e[i];void 0!==s[t(653)]&&void 0===s[t(417)]&&(s[t(417)]=this[t(659)][t(596)](s.id)[t(417)]),void 0!==s[t(417)]&&void 0===s[t(653)]&&(s[t(653)]=this[t(659)][t(596)](s.id)[t(653)])}const i=this[t(586)][t(640)][t(437)](t(582));this[t(576)]=!0,this[t(430)](),this[t(456)][t(426)](e,i)[t(486)](()=>{this[t(576)]=!1})[t(476)](e=>{const i=t;if(e)for(const t of e)this[i(553)]({id:t.id,createdAt:t[i(604)]});this[i(489)](),this[i(400)]()})}[dt(646)]({revision:t=null,from:e=null,to:i=null}){const s=dt;e=null!==e?e:t[s(653)],i=null!==i?i:t[s(417)];const n=this[s(575)][s(616)](e,i),r={diffData:n[s(625)],authorsIds:n[s(587)],fromVersion:e,toVersion:i};if(!t||i!==t[s(417)]){const t=i-1,e=this[s(603)][s(485)][s(592)](t);r[s(604)]=e&&e[s(604)]||new Date}if(this[s(422)]&&e===this[s(422)][s(653)])for(const t of this[s(422)][s(607)])r[s(587)][s(492)](t.id)||r[s(587)][s(657)](t.id);return r}[dt(415)](t,e,i){const s=dt;if(this[s(715)][s(642)](t)){const n=this[s(715)][s(437)](t);e=i?{...n,...e}:{...e,...n}}this[s(715)][s(460)](t,e)}[dt(553)](t){const e=dt,i=this[e(659)][e(596)](t.id);if(t[e(604)]&&(t[e(604)]=new Date(t[e(604)])),t[e(587)]){const i=this[e(586)][e(721)][e(437)](e(631));t[e(607)]=t[e(587)][e(563)](t=>i[e(540)](t))}i[e(683)](t,!0)}[dt(528)](t){const e=dt,i=this[e(659)][e(596)](this[e(659)][e(466)]-1);if(i)this[e(469)]=i.id;else{const i=!this[e(586)][e(438)][e(682)][e(559)][e(558)](t=>this[e(586)][e(438)][e(548)](t)),s=this[e(586)][e(721)][e(437)](e(631)).me.id,n=ot(this[e(586)][e(479)],e(i?481:638));this[e(403)]({from:t,to:t,id:this[e(469)],name:n,creatorId:s})}}[dt(449)](t){const e=dt,i=this[e(603)][e(643)]();this[e(615)]=this[e(659)][e(596)](i),this[e(615)]||(this[e(615)]=this[e(403)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(452)](){const t=dt;this[t(551)]&&!this[t(422)]&&(await this[t(691)][t(663)](this[t(615)],this[t(456)]),this[t(575)][t(487)](this[t(615)]),this[t(422)]={fromVersion:this[t(615)][t(653)],authors:this[t(615)][t(607)][t(680)]()})}[dt(537)](e,i){const s=dt;let n=this[s(586)][s(640)][s(437)](s(589)),r=this[s(586)][s(640)][s(437)](s(718));if(void 0===n){n={};for(const t of this[s(586)][s(438)][s(682)][s(700)]())n[t]=""}if(s(531)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(586)][s(438)][s(682)][s(700)]())r[t]={}}let o=!1;const a=Object[s(581)](n),c=Object[s(581)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(463)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[s(581)](r[t])[s(466)]>0){o=!0;break}}o||(o=c[s(526)](t=>!this[s(586)][s(438)][s(682)][s(450)](t))),o&&(0,t.logWarning)(s(490),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(586)][s(640)][s(460)](s(589),e),this[s(586)][s(640)][s(460)](s(718),i)}[dt(430)](){const t=dt;if(!this[t(497)]){const e=this[t(586)][t(721)][t(437)](t(500));this[t(497)]=e[t(477)](ot(this[t(586)][t(479)],t(565)))}}[dt(489)](){const t=dt;this[t(497)]&&(this[t(586)][t(721)][t(437)](t(500))[t(688)](this[t(497)]),this[t(497)]=null)}[dt(556)](t){const e=dt,i=this[e(659)][e(570)]();i[e(435)]();let s=0;for(;s<i[e(466)];){const n=i[s];if(n===this[e(615)]){s++;continue}if(n.id===this[e(469)])break;const r=t[e(417)]-n[e(417)]||t[e(653)]-n[e(653)];if(r>0)break;if(r<0)s++;else{if(!t[e(427)]&&n[e(427)])break;if(n[e(427)]||!t[e(427)]){if(t[e(604)]>n[e(604)])break;s++}else s++}}return s}[dt(660)](t){const e=dt,i=this[e(659)][e(570)]();i[e(435)](),i[e(543)]();const s=i[e(558)](i=>i[e(417)]<=t)[e(417)];return s<this[e(519)]?this[e(519)]:s}[dt(403)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=dt,o=this[r(646)]({from:e,to:i});o[r(635)]=t,o[r(425)]=s,o.id=n;const a=this[r(505)](o);return this[r(456)]&&this[r(415)](o.id,o,!0),a}[dt(533)](){const t=dt;this[t(586)][t(573)][t(434)](t(613))[t(512)]({model:t(416)})}}class vt{[dt(586)];[dt(488)];[dt(411)];[dt(633)];[dt(667)];[dt(637)];[dt(520)];[dt(697)];[dt(409)];[dt(443)];[dt(503)];[dt(702)];[dt(686)];[dt(515)];[dt(555)];[dt(630)];[dt(496)];constructor(t){const e=dt;this[e(586)]=t,this[e(411)]=new Map,this[e(633)]=-1,this[e(667)]=-1,this[e(637)]=new Map,this[e(520)]=new Map,this[e(697)]=new Map,this[e(409)]=new Map,this[e(443)]=new Map,this[e(503)]=new Map,this[e(702)]=new Map,this[e(686)]=new Map,this[e(515)]=new Map,this[e(555)]=new Map,this[e(630)]=1}[dt(639)](t){const e=dt;this[e(488)]=t;const i=new Map,s=new Map,n=this[e(586)][e(438)][e(682)][e(559)][e(563)](t=>t[e(609)]);for(const t of n){const n=this[e(586)][e(438)][e(682)][e(450)](t),r=gt(n);i[e(460)](t,r),s[e(460)](t,Object[e(698)](n[e(696)]()))}const r=Array[e(610)](this[e(586)][e(438)][e(651)])[e(563)](t=>[t[e(635)],t[e(509)]()]),o=this[e(488)][e(402)];this[e(521)](o,i,r,s),this[e(496)]=this[e(630)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(460)](t,i),c[e(460)](t,{})}this[e(521)](Number[e(590)],a,[],c)}[dt(616)](t,e){const i=dt;if(this[i(633)]===t&&this[i(667)]<=e)this[i(411)][i(658)]>1&&this[i(562)](this[i(667)]),this[i(566)](this[i(667)],e,!0);else{if(!this[i(411)][i(642)](t)){const e=this[i(632)](t);this[i(679)](e,t,!1)}this[i(679)](t,e,!0)}return this[i(633)]=t,this[i(667)]=e,this[i(665)]()}[dt(487)](t){const e=dt,i=this[e(586)][e(721)][e(437)](e(467));this[e(433)](),this[e(633)]=t[e(653)],this[e(667)]=t[e(417)];for(const s in t[e(625)]){const n=t[e(625)][s][e(501)],r=A(t[e(625)][s][e(518)])||{},o=i[e(494)](t[e(625)][s][e(545)]);o[e(609)]=s,o[e(532)]=!n||!n[e(677)],o[e(677)]=()=>o[e(532)],this[e(409)][e(460)](s,o),this[e(443)][e(460)](s,r),n&&this[e(555)][e(460)](s,n);const a=this[e(664)](o);this[e(702)][e(460)](s,a);for(const[t,i]of o[e(651)]){if(!t[e(445)](e(423)))continue;const s=t[e(719)](":")[2];for(const t of i[e(404)]({singleCharacters:!0})){const i=this[e(629)](t),n=e(442)==t[e(399)]?t[e(413)][e(624)][e(680)](0,-1):t[e(413)][e(624)],r=a[e(418)](n)[e(593)](i);this[e(686)][e(460)](r,{userId:s})}}}this[e(496)]=this[e(630)];const s=[...Array(this[e(630)])[e(581)]()][e(680)](1)[e(546)](t=>!this[e(686)][e(642)](t));let n=0;const r=new Map;for(const o in t[e(625)]){const a=t[e(625)][o][e(501)],c=A(t[e(625)][o][e(542)])||{},u=i[e(494)](t[e(625)][o][e(612)]);u[e(609)]=o,u[e(532)]=!a||a[e(677)],u[e(677)]=()=>u[e(532)],this[e(520)][e(460)](o,u),this[e(697)][e(460)](o,c);const l=this[e(664)](u,Number[e(590)]);this[e(503)][e(460)](o,l),r[e(460)](o,u[e(677)]()?c:{});for(const[t,i]of u[e(651)]){if(!t[e(445)](e(423)))continue;const s=t[e(719)](":")[2];for(const t of i[e(404)]({singleCharacters:!0})){const i=this[e(629)](t),n=this[e(630)]++,r=e(442)==t[e(399)]?t[e(413)][e(624)][e(680)](0,-1):t[e(413)][e(624)];l[e(418)](r)[e(668)](i,n),this[e(686)][e(460)](n,{userId:s})}}for(const t of this[e(586)][e(438)][e(572)](u)[e(404)]({singleCharacters:!0})){const i=this[e(629)](t),r=e(442)==t[e(399)]?t[e(413)][e(624)][e(680)](0,-1):t[e(413)][e(624)],o=l[e(418)](r);o[e(593)](i)>0||o[e(668)](i,s[n++])}for(const[t,i]of u[e(651)])t[e(445)](e(423))||this[e(637)][e(460)](t,i)}const o=yt(e(605));this[e(409)][e(460)](e(605),o),this[e(702)][e(460)](e(605),this[e(664)](o,1));const a=yt(e(605));this[e(520)][e(460)](e(605),a),this[e(503)][e(460)](e(605),this[e(664)](a,1));const c=Array[e(610)](this[e(520)])[e(563)](([t,e])=>[t,gt(e)]);this[e(521)](this[e(667)],c,this[e(637)],r)}[dt(662)](){const t=dt;this[t(433)](),this[t(633)]=-1,this[t(667)]=-1,this[t(411)][t(601)](),this[t(639)](this[t(488)])}[dt(521)](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(460)](t,{start:e[n(508)][n(468)](),end:e[n(472)][n(468)](),rootName:e[n(522)][n(609)]});this[n(411)][n(460)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(562)](t){const e=dt;this[e(411)][e(649)](t)}[dt(433)](){const t=dt;this[t(686)][t(601)](),this[t(515)][t(601)](),this[t(555)][t(601)](),this[t(520)][t(601)](),this[t(697)][t(601)](),this[t(409)][t(601)](),this[t(443)][t(601)](),this[t(503)][t(601)](),this[t(702)][t(601)](),this[t(637)][t(601)](),this[t(630)]=1,this[t(496)]=this[t(630)]}[dt(664)](t,e=null){const i=dt;let s=null;t.is(i(421))||(s=new K.ModelElement(t[i(635)],{vid_start:null===e?this[i(630)]++:e++}));const n=[];for(const s of t[i(650)]())if(s.is(i(475))){n[i(657)](this[i(664)](s,e));const t=n[n[i(466)]-1];null!==e&&(e=t.is(i(475),i(454))?t[i(593)](i(560))+1:t[i(593)](i(712))+1)}else for(let t=0;t<s[i(534)];t++)n[i(657)](new K.ModelElement(i(454),{vid:null===e?this[i(630)]++:e++}));if(t.is(i(421))){const e=yt(t[i(609)]);return e[i(684)](0,n),e}return s[i(668)](i(712),null===e?this[i(630)]++:e++),s[i(684)](0,n),s}[dt(679)](t,e,i){const s=dt;this[s(433)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(411)][s(437)](t);this[s(409)]=new Map(n),this[s(443)]=new Map(A(o));for(const[t,e]of this[s(409)])if(s(605)!==t&&(this[s(520)][s(460)](t,gt(e)),this[s(697)]=new Map(A(o)),i)){const i=this[s(630)];this[s(503)][s(460)](t,this[s(664)](e)),this[s(702)][s(460)](t,this[s(664)](e,i))}this[s(496)]=this[s(630)],this[s(520)][s(460)](s(605),gt(this[s(409)][s(437)](s(605)))),i&&this[s(503)][s(460)](s(605),this[s(664)](this[s(409)][s(437)](s(605))));for(const[t,e]of r){const i=this[s(409)][s(437)](e[s(609)]),n=this[s(520)][s(437)](e[s(609)]),r=new K.ModelRange(this[s(502)](e[s(508)],i),this[s(502)](e[s(472)],i)),o=this[s(689)](r,n);i[s(651)][s(460)](t,r),this[s(637)][s(460)](t,o)}this[s(566)](t,e,i)}[dt(566)](t,e,i){const s=dt;for(const n of this[s(488)][s(641)](t,e))this[s(484)](n,i);for(const t of this[s(520)][s(720)]())t[s(651)][s(601)]();for(const[t,e]of this[s(637)])this[s(520)][s(437)](e[s(522)][s(609)])[s(651)][s(460)](t,e[s(468)]());const n=new Map,r=new Map;for(const[t,e]of this[s(520)])n[s(460)](t,gt(e)),r[s(460)](t,this[s(697)][s(437)](t));this[s(521)](e,n,this[s(637)],r)}[dt(632)](t){const e=dt,i=Array[e(610)](this[e(411)][e(581)]());i[e(599)]((t,e)=>t-e),i[e(435)]();for(const e of i)if(e<t)return e;return Number[e(590)]}[dt(619)](t,e){const i=dt,s=Array[i(610)](e[i(651)])[i(563)](([e,s])=>[e,this[i(689)](s,t)]);t[i(651)]=new Map(s)}[dt(441)](t){const e=dt;for(const i of this[e(637)][e(720)]()){const s=i[e(407)](t),n=K.ModelRange[e(401)](s);i[e(508)]=n[e(508)],i[e(472)]=n[e(472)]}}[dt(484)](t,e){const i=dt;if(i(499)!=t[i(399)]&&i(578)!=t[i(399)]){if(i(692)==t[i(399)]){const s=t[i(669)][i(522)][i(609)];this[i(520)][i(642)](s)||(this[i(520)][i(460)](s,yt(s,!0)),this[i(697)][i(460)](s,{}),e&&this[i(503)][i(460)](s,yt(s,!0)))}else{if(i(436)==t[i(399)]||i(552)==t[i(399)]||i(474)==t[i(399)])return void this[i(614)](t);i(453)==t[i(399)]&&this[i(513)](t)}if(i(453)!==t[i(399)]){const e=this[i(451)](t,this[i(520)]);e[i(675)](),this[i(441)](e)}if(e)switch(t[i(399)]){case i(692):this[i(711)](t);break;case i(580):case i(688):case i(676):this[i(626)](t);break;case i(690):this[i(617)](t);break;case i(719):this[i(674)](t)}}else this[i(673)](t,e)}[dt(451)](t,e){const i=dt,s=t[i(468)]();return s[i(644)]=t[i(644)],this[i(506)](s,e),s}[dt(703)](t){const e=dt;return t[e(563)](t=>{const i=e,s=this[i(629)](t);return Number(t[i(429)][i(593)](s))})}[dt(574)](t,e){const i=dt;if(t.is(i(475),i(454)))e[i(657)]({item:t,type:i(704)});else{t.is(i(475))&&e[i(657)]({item:t,type:i(634)});for(const s of t[i(650)]())this[i(574)](s,e);t.is(i(475))&&e[i(657)]({item:t,type:i(442)})}return e}[dt(665)](){const t=dt,e=new Map(this[t(686)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(409)][t(581)](),...this[t(520)][t(581)]()]);a[t(649)](t(605));for(const e of a){const i=this[t(520)][t(437)](e)||yt(e,!1),s=this[t(409)][t(437)](e)||yt(e,!1);i[t(677)]()||s[t(677)]()?(n[t(612)][e]=gt(i),n[t(545)][e]=gt(s),this[t(619)](n[t(545)][e],s),this[t(619)](n[t(612)][e],i),r[t(612)][e]=this[t(574)](this[t(503)][t(437)](e),[]),r[t(545)][e]=this[t(574)](this[t(702)][t(437)](e)||yt(e,!1),[])):a[t(649)](e)}for(const n of a){const o=r[t(612)][n];for(const n of o){const r=this[t(629)](n),o=n[t(429)][t(593)](r);i[t(649)](o),o>=this[t(496)]&&s[t(460)](o,e[t(437)](o))}}for(const n of a){const a=r[t(612)][n],c=this[t(703)](r[t(545)][n]);let u=0;for(const n of a){const r=this[t(629)](n),a=n[t(429)][t(593)](r);if(!s[t(642)](a)&&!o[t(642)](a))if(i[t(642)](a))u++;else{if(a!=c[u]){const s=e[t(437)](a)||e[t(437)](c[u]);for(;a!=c[u];)i[t(642)](c[u])||(o[t(460)](c[u],s),e[t(460)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(612)][e];for(const e of n){const n=this[t(629)](e),r=e[t(429)][t(593)](n);if(o[t(642)](r)){const e=o[t(437)](r);i[t(642)](r)||i[t(460)](r,{...e}),s[t(460)](r,{...e})}}}for(const e of i[t(581)]())e>=this[t(496)]&&i[t(649)](e);const c=new Map;for(const e of a){let n=r[t(612)][e];for(const e of n)if(e[t(429)].is(t(475),t(648))){const i=this[t(629)](e),n=e[t(429)][t(593)](i);if(s[t(642)](n)){const i=e[t(429)][t(480)][t(480)][t(593)](t(571)),r=c[t(437)](i)||new Set;r[t(477)](s[t(437)](n)[t(446)]),c[t(460)](i,r)}}n=r[t(545)][e];for(const e of n)if(e[t(429)].is(t(475),t(648))){const s=this[t(629)](e),n=e[t(429)][t(593)](s);if(i[t(642)](n)){const s=e[t(429)][t(480)][t(480)][t(593)](t(571)),r=c[t(437)](s)||new Set;r[t(477)](i[t(437)](n)[t(446)]),c[t(460)](s,r)}}for(const e of c[t(581)]())(s[t(642)](e)||i[t(642)](e))&&c[t(649)](e)}for(const e of a){const n=r[t(612)][e];let o=null,a=null;for(const e of n){const n=this[t(629)](e),r=e[t(429)][t(593)](n),u=c[t(437)](r);u&&t(634)==e[t(399)]&&(o=Array[t(610)](u)[0],a=e[t(429)][t(593)](t(712))),o&&(i[t(460)](r,{userId:o}),s[t(460)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(545)][e],a=n[t(612)][e];for(const{userId:e}of this[t(515)][t(720)]())null!==e&&l[t(477)](e);for(const{userId:e}of this[t(555)][t(720)]())null!==e&&l[t(477)](e);this[t(611)](a,r[t(612)][e],s,t(591),l),this[t(611)](o,r[t(545)][e],i,t(507),l),u[e]={insertions:this[t(583)](a),deletions:this[t(583)](o),attachChange:this[t(555)][t(437)](e)||null,attributesBefore:A(this[t(443)][t(437)](e))||{},attributesAfter:A(this[t(697)][t(437)](e))}}return{diffData:u,authorsIds:Array[t(610)](l)}}[dt(661)](t){const e=dt;for(const[,i]of t[e(651)]){const t=i[e(508)][e(431)]()[e(546)](t=>e(648)==t[e(635)]);for(const i of t)1==i[e(588)]&&i[e(568)](0).is(e(475),e(557))&&i[e(568)](0)[e(668)](e(670),!0)}}[dt(583)](t){const e=dt;this[e(661)](t);const i=this[e(586)][e(564)][e(671)](t,{}),s=Array[e(610)](i[e(650)]())[e(563)](t=>this[e(547)](t));return JSON[e(406)](s)}[dt(547)](t){const e=dt;if(t.is(e(454)))return t[e(564)];{const i=this[e(586)][e(721)][e(437)](e(467)),s=t,n=this[e(586)][e(564)][e(483)][e(687)],r={type:i[e(428)](s),name:s[e(635)],attributes:Array[e(610)](s[e(696)]()),children:Array[e(610)](s[e(650)]())[e(563)](t=>this[e(547)](t))};if(t.is(e(405))&&e(714)!=t[e(635)]){const i=t[e(713)](n[e(645)],n);r[e(455)][e(657)](i[e(694)])}else if(t.is(e(569))){const i=n[e(645)][e(462)](s[e(635)]);t[e(713)](i,n),r[e(455)][e(657)](i[e(707)])}const o=Array[e(610)](s[e(511)]());o[e(466)]>0&&(r[e(701)]=o);const a=s[e(606)]();return null!==a&&(r[e(544)]=a),r}}[dt(611)](t,e,i,s,n){const r=dt;let o=null,a=null,c=0;const u=this[r(586)][r(438)];for(let s=0;s<e[r(466)];s++){const n=this[r(629)](e[s]),c=e[s][r(429)][r(593)](n),h=i[r(437)](c),d=s==e[r(466)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(446)]!=o[r(446)])&&(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(446)],d=l(423)+s+":"+h+":"+c++,f=u[l(439)](i,a);t[l(651)][l(460)](d,f),null!==h&&n[l(477)](h)}}[dt(629)](t){const e=dt;switch(t[e(399)]){case e(634):return e(571);case e(442):return e(712);default:return e(560)}}[dt(506)](t,e){const i=dt;t[i(699)]=null;for(const s in t){const n=t[s];if(n instanceof K.ModelPosition){const r=e[i(437)](n[i(522)][i(609)]);t[s]=this[i(502)](n,r)}if(n instanceof K.ModelRange){const r=e[i(437)](n[i(522)][i(609)]);t[s]=this[i(689)](n,r)}i(522)===s&&(t[i(522)]=e[i(437)](t[i(522)][i(609)]))}}[dt(689)](t,e){const i=dt;return this[i(586)][i(438)][i(439)](this[i(502)](t[i(508)],e),this[i(502)](t[i(472)],e))}[dt(502)](t,e){const i=dt;return this[i(586)][i(438)][i(414)](e,t[i(624)],t[i(514)])}[dt(711)](t){const e=dt,i=this[e(503)][e(437)](t[e(669)][e(522)][e(609)]),s=this[e(502)](t[e(669)],i),n=null===t[e(644)]?null:t[e(644)]||this[e(586)][e(721)][e(437)](e(631)).me.id,r=s[e(480)],o=this[e(630)],a=[];for(const i of t[e(444)])if(i.is(e(475)))a[e(657)](this[e(664)](i));else for(let t=0;t<i[e(534)];t++)a[e(657)](new K.ModelElement(e(454),{vid:this[e(630)]++}));const c=this[e(630)];for(let t=o;t<c;t++)this[e(686)][e(460)](t,{userId:n});r[e(684)](s[e(623)],a)}[dt(626)](t){const e=dt;(t=this[e(451)](t,this[e(503)]))[e(675)]();const i=null===t[e(644)]?null:t[e(644)]||this[e(586)][e(721)][e(437)](e(631)).me.id,s=t[e(693)](),n=s[e(480)],r=s[e(623)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(568)](e);r.is(a(475),a(454))?s[a(460)](r[a(593)](a(560)),{userId:i}):(s[a(460)](r[a(593)](a(571)),{userId:i}),t(s,r,0,r[a(588)]),s[a(460)](r[a(593)](a(712)),{userId:i}))}}(this[e(686)],n,r,r+t[e(666)])}[dt(617)](t){const e=dt,i=null===(t=this[e(451)](t,this[e(503)]))[e(644)]?null:t[e(644)]||this[e(586)][e(721)][e(437)](e(631)).me.id,s=t[e(535)][e(480)],n=t[e(597)][e(480)],r=s[e(593)](e(712)),o=n[e(593)](e(571));s[e(668)](e(712),n[e(593)](e(712))),n[e(668)](e(712),r),this[e(686)][e(460)](o,{userId:i}),this[e(686)][e(460)](r,{userId:i}),t[e(675)]()}[dt(674)](t){const e=dt,i=null===(t=this[e(451)](t,this[e(503)]))[e(644)]?null:t[e(644)]||this[e(586)][e(721)][e(437)](e(631)).me.id,s=t[e(457)],n=t[e(498)][e(480)];t[e(675)]();const r=n[e(593)](e(712)),o=t[e(408)][e(517)];if(s){const t=o[e(593)](e(712)),s=n[e(593)](e(712));n[e(668)](e(712),t),o[e(668)](e(712),s),this[e(686)][e(460)](n[e(593)](e(712)),{userId:i}),this[e(686)][e(460)](o[e(593)](e(571)),{userId:i})}else{const t=this[e(630)]++,s=this[e(630)]++;n[e(668)](e(712),t),o[e(668)](e(571),s),o[e(668)](e(712),r),this[e(686)][e(460)](t,{userId:i}),this[e(686)][e(460)](s,{userId:i})}}[dt(513)](t){const e=dt;if(!t[e(464)])return;const i=(t=this[e(451)](t,this[e(520)]))[e(685)]?t[e(685)][e(522)]:null,s=t[e(621)]?t[e(621)][e(522)]:null;i&&this[e(637)][e(649)](t[e(635)]),s&&this[e(637)][e(460)](t[e(635)],t[e(621)][e(468)]());const n=null===t[e(644)]?null:t[e(644)]||this[e(586)][e(721)][e(437)](e(631)).me.id,r=t[e(635)];if(!this[e(515)][e(642)](r))return void this[e(515)][e(460)](r,{range:t[e(685)],userId:n});const o=this[e(515)][e(437)](r),a=o[e(594)],c=t[e(621)];null==a&&null==c||a&&c&&a[e(579)](c)?this[e(515)][e(649)](t[e(635)]):o[e(446)]=n}[dt(673)](t,e){const i=dt;this[i(520)][i(642)](t[i(609)])?this[i(520)][i(437)](t[i(609)])[i(532)]=t[i(491)]:(this[i(520)][i(460)](t[i(609)],yt(t[i(609)],!0)),this[i(697)][i(460)](t[i(609)],{}),e&&this[i(503)][i(460)](t[i(609)],yt(t[i(609)],!0)));const s=null===t[i(644)]?null:t[i(644)]||this[i(586)][i(721)][i(437)](i(631)).me.id,n=this[i(555)][i(437)](t[i(609)]);n&&n[i(446)]===s?this[i(555)][i(649)](t[i(609)]):this[i(555)][i(460)](t[i(609)],{userId:s,isAttached:t[i(491)]})}[dt(614)](t){const e=dt,i=this[e(697)][e(437)](t[e(522)][e(609)]);null===t[e(529)]?delete i[t[e(470)]]:i[t[e(470)]]=t[e(529)]}}function gt(t){const e=dt,i=yt(t[e(609)],t[e(677)]());for(const s of t[e(650)]()){const t=s[e(678)](!0);i[e(482)](t)}return i}function yt(t,e=!0){const i=dt,s=new K.ModelDocumentFragment;return s[i(609)]=t,s[i(532)]=e,s[i(677)]=()=>s[i(532)],s}function kt(t,e,i){const s=dt,n=s(442)==t[s(399)]?i[s(458)](t[s(429)],s(472)):i[s(622)](t[s(429)]);return i[s(414)](e,n[s(624)],n[s(514)])}function bt(t,e,i){const s=dt,n=s(634)==t[s(399)]?i[s(458)](t[s(429)],0):i[s(459)](t[s(429)]);return i[s(414)](e,n[s(624)],n[s(514)])}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),Mt=i(357),Et=i.n(Mt),Vt=i(426),Dt={attributes:{"data-cke":!0}};Dt.setAttributes=At(),Dt.insert=Nt().bind(null,"head"),Dt.domAPI=Tt(),Dt.insertStyleElement=Et();St()(Vt.A,Dt);Vt.A&&Vt.A.locals&&Vt.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=Et();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;const Lt=Pt;function jt(){const t=["add","147LeEwcA","focusTracker","116491tmoJTl","revisionNameInputView","extendTemplate","revisionName","initializeCssTransitionDisablerMixin","3296403zyLcWr","setTemplate","revisionNameInputValue","425440IGNcDP","label","196172oaDTMo","arrowleft","element","fieldView","Name of the revision","form","5AxjluF","arrowright","set","trim","reset","ck-revision-history-save-revision-form","58818qCjRre","value","stopPropagation","focus","input","listenTo","884084PVpgCD","keystrokes","arrowup","ck-responsive-form","_createRevisionNameInput","55CAeKXW","220","render","optional","330064WzpbBk","arrowdown","9EVJenJ","locale","errorText"];return(jt=function(){return t})()}function Pt(t,e){const i=jt();return(Pt=function(t,e){return i[t-=412]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(194338===-parseInt(e(439))/1+parseInt(e(449))/2*(-parseInt(e(433))/3)+-parseInt(e(422))/4*(parseInt(e(455))/5)+parseInt(e(416))/6*(parseInt(e(437))/7)+parseInt(e(431))/8+parseInt(e(444))/9+-parseInt(e(447))/10*(-parseInt(e(427))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class zt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[Lt(438)];[Lt(423)];[Lt(440)];constructor(e,i){const s=Lt;super(e),this[s(438)]=new t.FocusTracker,this[s(423)]=new t.KeystrokeHandler,this[s(412)](s(446),""),this[s(440)]=this[s(426)](i),this[s(445)]({tag:s(454),attributes:{class:["ck",s(415),s(425)],tabindex:"-1"},children:[this[s(440)]]}),this[s(443)]()}[Lt(429)](){const t=Lt;super[t(429)](),(0,_t.submitHandler)({view:this}),this[t(438)][t(436)](this[t(440)][t(451)]),this[t(423)][t(421)](this[t(451)]);const e=e=>e[t(418)]();this[t(423)][t(412)](t(456),e),this[t(423)][t(412)](t(450),e),this[t(423)][t(412)](t(424),e),this[t(423)][t(412)](t(432),e)}[Lt(419)](){const t=Lt;this[t(440)][t(419)]()}get[Lt(442)](){const t=Lt;return this[t(440)][t(452)][t(451)][t(417)][t(413)]()}set[Lt(442)](t){const e=Lt;this[e(440)][e(452)][e(451)][e(417)]=t[e(413)]()}[Lt(414)](){const t=Lt;this[t(440)][t(452)][t(451)][t(417)]="",this[t(440)][t(435)]=null}[Lt(426)](t){const e=Lt,i=new _t.LabeledFieldView(this[e(434)],_t.createLabeledInputText),s=i[e(452)];s[e(441)]({attributes:{maxlength:e(428)}});let n=ot(this[e(434)],e(453));return!t&&(n+=" ("+ot(this[e(434)],e(430))+")"),i[e(448)]=n,s.on(e(420),()=>{const t=e;this[t(446)]=s[t(451)][t(417)][t(413)]()}),i}}const Wt=Zt;function Ut(){const t=["role","8llQyCW","plugins","Accept","Open revision history","errorText","add","isOfficialPlugin","reset","menuitem","panelView","menu","buttonView","2894250PsQMvi","init","items","config","isReady","1197824ggDhoy","delegate","isReadOnly","submit","RevisionTracker","ck-button-action","componentFactory","_saveRevisionFormView","execute","saveRevision","children","_registerMenuComponent","1551663sVnhnp","19776ycusoX","430DJCWpu","revisionNameInputView","get","Revision history","4860989kTyaeI","editing","18318RUbRxp","isPremiumPlugin","Cancel","revisionSave","revisionHistory.requireRevisionName","editor","focus","RevisionHistoryUI","requires","Dialog","revisionName","show","_createSaveRevisionFormView","The revision name cannot be empty.","hide","menuBar:revisionHistory","_showDialog","isEnabled","63qaCEJO","locale","addMany","bind","Save current revision","revisionHistory","1274013vGlmOR","render","isOpen","set","view","pluginName","showRevisionViewerCallback"];return(Ut=function(){return t})()}function Zt(t,e){const i=Ut();return(Zt=function(t,e){return i[t-=194]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(502763===parseInt(e(250))/1*(-parseInt(e(232))/2)+parseInt(e(224))/3+parseInt(e(212))/4+parseInt(e(226))/5*(-parseInt(e(225))/6)+-parseInt(e(230))/7*(-parseInt(e(195))/8)+parseInt(e(256))/9+-parseInt(e(207))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Ht extends J.Plugin{static get[Wt(261)](){return Wt(239)}static get[Wt(201)](){return!0}static get[Wt(233)](){return!0}static get[Wt(240)](){return[pt]}[Wt(219)];[Wt(208)](){const t=Wt,e=this[t(237)],i=e[t(196)][t(228)](t(216));e.ui[t(218)][t(200)](t(255),s=>{const n=t,r=(0,_t.createDropdown)(s),o=r[n(204)][n(222)],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(253)](n(249)).to(i,n(211),i,n(249),e,n(214),(t,e,i)=>t&&e&&!i),r[n(206)][n(259)]({icon:wt.IconHistory,label:ot(s,n(229)),tooltip:!0}),u[n(259)]({label:ot(s,n(254)),withText:!0,role:n(203)}),u[n(253)](n(249)).to(i,n(211),i,n(249),e,n(214),(t,e,i)=>t&&e&&!i),u.on(n(220),()=>this[n(248)]()),h[n(259)]({label:ot(s,n(198)),withText:!0,role:n(203)}),h[n(253)](n(249)).to(i,n(211),e,n(214),(t,e)=>t&&!e),h.on(n(220),()=>{const t=n;e[t(210)][t(228)](t(255))[t(262)](),r[t(258)]=!1,e[t(231)][t(260)][t(238)]()}),c[n(222)][n(200)](u),l[n(222)][n(200)](h),a[n(194)]=n(205),a[n(209)][n(252)]([c,l]),o[n(200)](a),r}),e.ui[t(218)][t(200)](t(247),()=>this[t(223)]())}[Wt(223)](){const t=Wt,e=this[t(237)],i=e[t(251)],s=new _t.MenuBarMenuView(i),n=new _t.MenuBarMenuListView(i);s[t(206)][t(259)]({icon:wt.IconHistory,label:ot(i,t(229))});const r=new _t.MenuBarMenuListItemView(i,s),o=new _t.MenuBarMenuListItemButtonView(i);o[t(259)]({label:ot(i,t(254))}),o[t(213)](t(220)).to(s),o.on(t(220),()=>{this[t(248)]()}),r[t(222)][t(200)](o),n[t(209)][t(200)](r);const a=new _t.MenuBarMenuListItemView(i,s),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(259)]({label:ot(i,t(198))}),c[t(213)](t(220)).to(s),c.on(t(220),()=>{const i=t;e[i(210)][i(228)](i(255))[i(262)]()}),a[t(222)][t(200)](c),n[t(209)][t(200)](a),s[t(204)][t(222)][t(200)](n),s}[Wt(248)](){const t=Wt,e=this[t(237)],i=e[t(251)],s=e[t(196)][t(228)](t(241)),n=e[t(196)][t(228)](t(216));function r(n){const r=t;e[r(210)][r(228)](r(236))&&""===n[r(242)]?n[r(227)][r(199)]=ot(i,r(245)):(e[r(196)][r(228)](pt)[r(221)]({name:n[r(242)]}),s[r(246)]())}this[t(219)]||(this[t(244)](),this[t(219)].on(t(215),()=>r(this[t(219)]))),this[t(219)][t(202)](),s[t(243)]({id:t(235),title:ot(i,t(254)),isModal:!0,content:this[t(219)],actionButtons:[{label:ot(e[t(251)],t(234)),withText:!0,onExecute:()=>s[t(246)]()},{label:ot(e[t(251)],t(197)),class:t(217),withText:!0,onCreate(i){const s=t;i[s(253)](s(249)).to(n,s(211),n,s(249),e,s(214),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(219)])}]})}[Wt(244)](){const t=Wt,e=this[t(237)],i=e[t(251)];this[t(219)]=new zt(i,e[t(210)][t(228)](t(236))),this[t(219)][t(257)]()}}function qt(t,e){const i=Yt();return(qt=function(t,e){return i[t-=267]})(t,e)}const $t=qt;!function(t){const e=qt,i=t();for(;;)try{if(903732===parseInt(e(292))/1+-parseInt(e(277))/2+-parseInt(e(282))/3+parseInt(e(271))/4*(parseInt(e(283))/5)+-parseInt(e(296))/6*(parseInt(e(289))/7)+-parseInt(e(279))/8+parseInt(e(274))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Bt extends _t.View{[$t(285)];[$t(273)];constructor(t,e){const i=$t;super(t),this[i(273)]=e,this[i(285)]=e.id;const s=this[i(291)],n=ot(t,e[i(294)][i(295)]?i(270):i(276)==e[i(286)]?i(287):i(284));this[i(275)](i(286),e[i(286)]),this[i(288)]({tag:i(290),attributes:{class:[i(272),i(269),s.to(i(286),t=>i(280)+t)],tabindex:-1},children:[{tag:i(281),children:[{tag:i(281),attributes:{class:[i(267)]},children:[{text:n}]},{text:" "+e[i(293)][i(278)]}]}]})}[$t(268)](){const t=$t;this[t(297)][t(268)]()}}function Yt(){const t=["element","ck-revision-change__label","focus","ck-revision-change","Suggested by","76feSpEt","ck-annotation","_model","19603062uYwyTU","set","add","44988akXfaA","name","4647856ifpJzn","ck-revision-change__","span","3001014KphekJ","116035XfMYgC","Removed by","changeId","type","Added by","setTemplate","4417672XOaykA","div","bindTemplate","1150687JbCcQr","author","data","isSuggestion","12wVqFNY"];return(Yt=function(){return t})()}var Jt=Gt;function Gt(t,e){var i=Kt();return(Gt=function(t,e){return i[t-=265]})(t,e)}function Kt(){var t=["315gaTKjC","data","9312TnZmPt","1ikmjIM","rootName","type","87241BLodGE","657178fiylCo","2765yxKMkq","20118tIKuZS","2308205wmCtHi","set","6zhlaKX","author","createdAt","toJSON","96SZwIZw","16041300kHiQrq","57550aWTSrV"];return(Kt=function(){return t})()}!function(t){for(var e=Gt,i=t();;)try{if(457065===-parseInt(e(265))/1*(parseInt(e(269))/2)+parseInt(e(271))/3*(parseInt(e(278))/4)+-parseInt(e(272))/5*(parseInt(e(274))/6)+-parseInt(e(270))/7*(parseInt(e(283))/8)+-parseInt(e(281))/9*(-parseInt(e(280))/10)+parseInt(e(268))/11+parseInt(e(279))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Jt(275)];[Jt(267)];[Jt(282)];[Jt(266)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(275)]=e[i(275)],this[i(267)]=e[i(267)],this[i(282)]=e[i(282)]||{},this[i(266)]=e[i(266)],this[i(273)](i(276),e[i(276)])}[Jt(277)](){var t=Jt;return{id:this.id,authorId:this[t(275)].id,type:this[t(267)],data:this[t(282)],createdAt:this[t(276)]}}}function Qt(t,e){const i=ee();return(Qt=function(t,e){return i[t-=366]})(t,e)}const te=Qt;function ee(){const t=["149390ZzhkuL","add","_setChanges","8ACEGMQ","13nctLxX","oldRevisionId","1541080YrflNj","7sRmSwq","1033428nyCcxi","21005NhSMCV","39317tlxXZe","2883llriuq","changes","78FhbQcs","36WcQICA","2956212GLJawH","newRevisionId","796Chjzgl"];return(ee=function(){return t})()}!function(t){const e=Qt,i=t();for(;;)try{if(110900===-parseInt(e(372))/1*(parseInt(e(383))/2)+parseInt(e(373))/3*(-parseInt(e(379))/4)+-parseInt(e(371))/5*(-parseInt(e(375))/6)+-parseInt(e(369))/7*(-parseInt(e(368))/8)+parseInt(e(376))/9*(parseInt(e(380))/10)+-parseInt(e(370))/11+-parseInt(e(377))/12*(-parseInt(e(366))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class ie{[te(378)];[te(367)];[te(374)];constructor(e,i){const s=te;this[s(378)]=e,this[s(367)]=i,this[s(374)]=new t.Collection}[te(382)](t){const e=te;for(const i of t)this[e(374)][e(381)](i)}}var se=i(536),ne={attributes:{"data-cke":!0}};ne.setAttributes=At(),ne.insert=Nt().bind(null,"head"),ne.domAPI=Tt(),ne.insertStyleElement=Et();St()(se.A,ne);se.A&&se.A.locals&&se.A.locals;const re=ce;!function(t){const e=ce,i=t();for(;;)try{if(422214===parseInt(e(519))/1*(parseInt(e(589))/2)+-parseInt(e(585))/3*(parseInt(e(694))/4)+parseInt(e(547))/5*(-parseInt(e(716))/6)+parseInt(e(492))/7+-parseInt(e(637))/8*(parseInt(e(616))/9)+-parseInt(e(467))/10+parseInt(e(674))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class oe extends J.Plugin{[re(698)];[re(729)]=null;[re(488)];[re(755)];[re(567)];[re(623)];[re(609)];static get[re(474)](){return re(659)}static get[re(759)](){return!0}static get[re(777)](){return!0}static get[re(516)](){return[G.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(698)]=this[e(715)][e(786)][e(713)](e(532)),this[e(488)]=this[e(715)][e(786)][e(713)](e(494)),this[e(501)](e(741),null),this[e(501)](e(725),null),this[e(755)]=null,this[e(501)](e(574),null),this[e(501)](e(752),!1),this[e(501)](e(687),!0),this.on(e(765),(t,i,s)=>{const n=e;this[n(741)]=null,this[n(725)]=null,this[n(715)][n(707)][n(607)][n(788)](t=>{const e=n;for(const i of this[e(715)][e(707)][e(607)][e(578)][e(490)])s?t[e(697)](e(534),i):t[e(542)](e(534),i)})}),this[e(673)](e(696)).to(this,e(741),t=>null!==t),this[e(673)](e(663)).to(this,e(752),this,e(574),this,e(741),(t,i,s)=>t&&s?i[e(604)][e(705)](s):0),this[e(673)](e(734)).to(this,e(752),this,e(574),(t,i)=>t?i[e(604)][e(483)]:0),this[e(567)]=null,this[e(623)]=new Map,this[e(609)]=this[e(715)][e(786)][e(713)](_t.ContextualBalloon)}[re(522)](){const t=re,e=this[t(715)],i=new he(e,{direction:t(535)}),s=new he(e,{direction:t(597)});e[t(695)][t(647)](t(569),i),e[t(695)][t(647)](t(507),s),e[t(695)][t(647)](t(544),new le(e)),this.on(t(641),()=>{const e=t;i[e(484)](),s[e(484)]()}),this[t(726)](),this[t(525)](),e[t(526)](t(541)),e[t(786)][t(651)](t(709))&&e[t(786)][t(713)](t(709))[t(677)](t(541))}async[re(775)](t){const e=re;return await this[e(488)][e(543)](t,this[e(729)]),this[e(488)][e(775)](t)}async[re(545)](t){const e=re;return await this[e(488)][e(543)](t,this[e(729)]),this[e(488)][e(545)](t)}async[re(537)](t,e,i=!1){const s=re;if(!this[s(687)])return;const n=this[s(574)],r=this[s(698)],o=s(523)==typeof t?r[s(714)](t):t,a=s(523)==typeof e?r[s(714)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(574)]&&this[s(574)][s(565)]===c&&this[s(574)][s(748)]===u)return Promise[s(739)]();this[s(752)]=!1,this[s(725)]=null,this[s(741)]=null,this[s(574)]=new ie(c,u);const l=this[s(664)](o,a,!0)[s(754)](t=>this[s(488)][s(543)](t,this[s(729)]));return l[s(515)](new Promise(t=>{setTimeout(t,20)})),Promise[s(618)](l)[s(470)](()=>{const t=s;if(!this[t(687)])return;this[t(612)]();const e=this[t(670)](c,u);for(const i of e[t(604)])this[t(623)][t(501)](i.id,i);this[t(715)][t(496)][t(586)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(715)][s(496)][s(578)][s(475)]())i[s(520)](t);for(const t of Object[s(685)](e[s(496)])){const n=i[s(466)](t);for(const r of Object[s(685)](e[s(471)][t]))i[s(631)](r,e[s(471)][t][r],n);i[s(789)](e[s(496)][t],n,0)}}),this[t(574)][t(782)](this[t(530)](e[t(604)])),this[t(752)]=!0})[s(665)](t=>{const e=s;console[e(590)](t),this[e(612)](),n&&(this[e(574)]=n),this[e(752)]=!0})}[re(482)](t,e){const i=re,s=this[i(698)][i(627)](t);return s.on(i(683),(t,i,n)=>e(i,n,s)),this[i(698)][i(594)](s),s}[re(612)](){const t=re;this[t(741)]=null,this[t(667)](),this[t(567)]&&this[t(567)][t(644)](),this[t(567)]=null,this[t(623)][t(539)](),this[t(715)][t(496)][t(586)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(715)][i(496)][i(578)][i(475)]())e[i(520)](t)})}[re(530)](t){const e=re,i=[],s=new Map;for(const t of this[e(715)][e(496)][e(578)][e(475)]()){const n=this[e(715)][e(707)][e(607)][e(560)](t);if(!n)continue;const r=n[e(634)]()[e(638)](0);r&&(i[e(515)](t),s[e(501)](t,r))}return i[e(681)]((t,i)=>{const n=e,r=s[n(713)](t),o=s[n(713)](i);return r.y-o.y||r.x-o.x}),(t=t[e(781)](t=>i[e(772)](t[e(602)])))[e(681)]((t,s)=>i[e(699)](t[e(602)])-i[e(699)](s[e(602)])),t}[re(580)](t){const e=re,i=Array[e(575)](t[e(552)])[e(781)](([t,i])=>t[e(648)](e(576))&&!i[e(747)]),s=Array[e(575)](this[e(715)][e(496)][e(753)](t)[e(550)]({singleCharacters:!0}));if(0!=i[e(483)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(476)](":");if(n[e(675)][e(780)](t[e(671)])&&i[e(605)](),(t[e(645)][e(780)](n[e(783)])||t[e(645)][e(553)](n[e(783)]))&&(e(514)==r?t[e(758)]={userId:o}:e(559)==r&&(t[e(768)]={userId:o})),0==i[e(483)])break}return s}[re(480)](t){const e=re,i=new Map;for(let s=0;s<t[e(483)];s++)e(724)===t[s][e(688)]?(t[s][e(638)][e(625)]=s,t[s][e(638)][e(746)]=s):(e(563)===t[s][e(688)]?t[s][e(638)][e(625)]=s:e(779)===t[s][e(688)]&&(t[s][e(638)][e(746)]=s),i[e(501)](t[s].id,s));for(const s of i[e(633)]())e(563)===t[s][e(688)]?t[s][e(638)][e(746)]=i[e(713)](t[s][e(556)]):e(779)===t[s][e(688)]&&(t[s][e(638)][e(625)]=i[e(713)](t[s][e(556)]))}[re(497)](t){const e=re;for(let i=0;i<t[e(483)];i++){if(e(563)===t[i][e(688)])t[i][e(638)][e(625)]=i;else if(e(779)===t[i][e(688)]){t[i][e(638)][e(746)]=i;const s=t[i][e(638)][e(625)];t[s][e(556)]=t[i].id,t[i][e(556)]=t[s].id}else t[i][e(638)][e(625)]=i,t[i][e(638)][e(746)]=i,t[i][e(556)]=null;t[i][e(756)]||(t[i][e(756)]=[],t[i][e(495)]=[])}}[re(479)](t,e){const i=re,s=t[i(781)](t=>!t[i(758)]);for(let t=0;t<e[i(483)];t++)e[t][i(758)]&&(s[t][i(758)]=e[t][i(758)])}[re(670)](t,e=null){const i=re,s=this[i(698)][i(714)](t),n=e?this[i(698)][i(714)](e):null,r=this[i(664)](s,n),o=r[r[i(483)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(483)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(685)](e[i(615)]))if(e[i(615)][t][i(499)]){const s=e[i(615)][t][i(499)];s[i(730)]?(u[i(647)](t),l[i(651)](t)&&l[i(713)](t)[i(718)]==s[i(718)]?l[i(528)](t):l[i(501)](t,s)):l[i(651)](t)?(u[i(528)](t),l[i(528)](t)):(u[i(647)](t),l[i(501)](t,s))}else u[i(647)](t)}for(const t of u){const e=l[i(651)](t)&&!l[i(713)](t)[i(730)];let s=e?r[i(483)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(615)][t]){const s=e?o[i(615)][t][i(503)]:o[i(615)][t][i(658)];c[i(471)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(496)]={};for(const e of t[i(521)])a[i(501)](e.id,e);for(const e of u){const s=t[i(615)][e]?t[i(615)][e][i(600)]:"[]",n=t[i(615)][e]?t[i(615)][e][i(770)]:"[]";t[i(496)][e]={insertions:this[i(488)][i(588)](s),deletions:this[i(488)][i(588)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(575)](s[i(496)][t][i(600)][i(552)])[i(781)](([t])=>!t[i(648)](i(576))));let h=0;for(const o of r){const r=this[i(580)](o[i(496)][t][i(600)]);o==s?(e=r,n=e[i(483)],e[i(690)](t=>{t.id=h++}),this[i(497)](e)):this[i(479)](e,r);const a=e[i(781)](t=>!t[i(758)])[i(754)](t=>t.id);let c=0;const l=this[i(580)](o[i(496)][t][i(770)]);l[i(690)](t=>{t[i(768)]?t.id=n++:t.id=a[c++]}),this[i(497)](l),this[i(723)](e,i(758)),this[i(723)](l,i(768)),o==s&&this[i(592)](e,u),e=this[i(717)](e,l),this[i(480)](e),this[i(723)](e,i(768))}e=e[i(781)](t=>!(t[i(758)]&&t[i(768)]));const d=new Map(o[i(496)][t][i(770)][i(552)]),f=new Set(u[i(685)]());for(const t of d[i(685)]())f[i(528)](t);this[i(731)](e,f),this[i(465)](e),e=this[i(571)](e),e=this[i(489)](e),e=this[i(771)](e);const{root:m,changes:p}=this[i(536)](e,a,t);c[i(496)][t]=m;const v=l[i(713)](t);if(v){const e=a[i(713)](v[i(718)]),s=new Xt({author:e,type:v[i(730)]?i(647):i(555),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(606)](s),c[i(471)][t][i(468)]=s.id}c[i(604)]=c[i(604)][i(693)](p)}return c}[re(592)](t,e){const i=re;for(let s=0;s<t[i(483)];s++)for(const[n,r]of e)!r[i(747)]&&r[i(783)][i(780)](t[s][i(645)])&&t[s][i(756)][i(515)](n),r[i(675)][i(780)](t[s][i(671)])&&t[s][i(495)][i(515)](n)}[re(717)](t,e){const i=re;let s=[],n=0,r=0;for(;n<t[i(483)]||r<e[i(483)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(515)](o);else if(a[i(768)]&&o[i(758)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(686)](t,n,e,r);s=s[i(693)](o),n=a,r=c}else a[i(768)]?(r++,s[i(515)](a)):(n++,s[i(515)](o))}return s}[re(731)](t,e){const i=re,s=[];for(let o=0;o<t[i(483)];o++){for(let r=0;r<t[o][i(756)][i(483)];r++){const a=t[o][i(756)][r];if(!e[i(651)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(692)!=c||i(514)!=u&&i(559)!=u||(s[i(606)]({type:u,name:a,userId:l}),t[o][i(756)][i(735)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(495)][i(483)];r++){const a=t[o][i(495)][r];if(!e[i(651)](a))continue;const{group:c,type:u}=n(a);if(i(692)!=c||i(514)!=u&&i(559)!=u)continue;t[o][i(495)][i(735)](r,1),r--;const l=s[i(564)](t=>t[i(646)]==a);l>-1&&s[i(735)](l,1)}}function n(t){const e=i,s=t[e(476)](":");return{group:s[0],type:s[1],subType:s[e(483)]>=5?s[2]:null,id:s[e(483)]<5?s[2]:s[3],authorId:s[e(483)]<5?s[3]:s[4],markerCount:6==s[e(483)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(483)];i++){if(t[e(758)]&&e(514)==s[i][e(688)]&&t[e(758)][e(718)]==s[i][e(718)])return t[e(656)]=s[i],void delete t[e(758)];if(!t[e(758)]&&!t[e(768)]&&e(559)==s[i][e(688)])return void(t[e(583)]=s[i])}}}[re(723)](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(501)](o.id,s);for(let s=0;s<t[i(483)];s++){if(i(768)==e&&t[s][i(758)]||i(758)==e&&t[s][i(768)])continue;if(i(724)==t[s][i(688)]){t[s][i(608)]=0;continue}const n=r[i(713)](t[s][i(556)]),o=r[i(713)](t[s].id);t[s][i(608)]=n-o}}[re(664)](t,e,i=!1){const s=re,n=[];let r=this[s(698)][s(705)](t),o=this[s(698)][s(705)](e);for(-1==o&&(o=this[s(698)][s(740)][s(483)],i=!1);r<o;)n[s(515)](this[s(698)][s(714)](r)),r++;return i&&n[s(515)](this[s(698)][s(714)](r)),n}[re(686)](t,e,i,s){const n=re,r=this[n(715)][n(496)][n(682)];let o=e;for(;t[o]&&t[o][n(758)];)o++;let a=s;for(;i[a]&&i[a][n(768)];)a++;u(t,e,o),u(i,s,a);const c=i[n(614)](s,a)[n(693)](t[n(614)](e,o));return c[n(681)]((t,e)=>t[n(626)]!=e[n(626)]?t[n(626)]-e[n(626)]:t[n(778)]!=e[n(778)]?t[n(778)]-e[n(778)]:t[n(608)]!=e[n(608)]?e[n(608)]-t[n(608)]:!!t[n(758)]!=!!e[n(758)]?-1==t[n(626)]||0==t[n(626)]?t[n(758)]?-1:1:t[n(758)]?1:-1:t[n(757)]-e[n(757)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(463)],c=!0;for(let n=e;n<i;n++)if(r[s(504)](t[n][s(638)])||(c=!1),t[n][s(638)][s(625)]<e&&(o=n),t[n][s(638)][s(746)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(626)]=n<=o?-1:n<a?0:1,t[n][s(757)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(608)]?t[i][s(778)]=u:(u++,t[i][s(778)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(626)]&&(t[n][s(778)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(608)]?t[e][s(778)]=u:(u--,t[e][s(778)]=u,u--)}}[re(465)](t){const e=re,i=new Map,s=this[e(715)][e(496)][e(682)];for(let n=1;n<t[e(483)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(724)==c[e(688)])continue;if(c[e(688)]!=u[e(688)])continue;if(!s[e(505)](u[e(638)])||s[e(622)](u[e(638)]))continue;if(!s[e(505)](c[e(638)])||s[e(622)](c[e(638)]))continue;if((t[n][e(758)]||t[n][e(656)])&&t[n-1][e(768)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(768)]||!t[n-1][e(758)]&&!t[n-1][e(656)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(778)]==o[e(778)],h=Math[e(512)](r[e(778)])<Math[e(512)](o[e(778)])&&0==o[e(608)];(l||h)&&(i[e(501)](o.id,r.id),t[e(735)](a,1),n--,r[e(758)]=!1)}for(let s=0;s<t[e(483)];s++)i[e(651)](t[s][e(556)])&&(t[s][e(556)]=i[e(713)](t[s][e(556)]))}[re(571)](t){const e=re,i=new Set(t[e(754)](t=>t.id));for(let s=0;s<t[e(483)];s++)i[e(651)](t[s][e(556)])||0==t[s][e(608)]||(t[s][e(728)]=!0);return t[e(781)](t=>!t[e(728)])}[re(489)](t){const e=re,i=new Set;for(let s=0;s<t[e(483)];s++){if(i[e(651)](t[s].id)&&t[s][e(768)]&&(t[s][e(728)]=!0),t[s][e(728)])continue;if(0==t[s][e(608)])continue;if(e(563)!=t[s][e(688)])continue;if(null==t[s][e(556)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(556)];)e(563)==t[n][e(688)]?r++:e(779)==t[n][e(688)]&&r--,n++;if(0!=r)if(t[s][e(768)])t[s][e(728)]=!0;else for(;n!=s;)t[n][e(768)]&&0!=t[n][e(608)]&&(t[n][e(728)]=!0,i[e(647)](t[n][e(556)])),n--}return t[e(781)](t=>!t[e(728)])}[re(771)](t){const e=re,i=this[e(715)][e(496)][e(682)];for(let s=0;s<t[e(483)];s++){if(!(t[s][e(758)]||t[s][e(656)]||t[s][e(768)]||t[s][e(583)]))continue;if(0==t[s][e(608)])continue;const n=t[s][e(638)];i[e(505)](n)||i[e(622)](n)||(t[s][e(758)]&&delete t[s][e(758)],t[s][e(656)]&&delete t[s][e(656)],t[s][e(583)]&&delete t[s][e(583)],t[s][e(768)]&&(t[s][e(728)]=!0))}return t[e(781)](t=>!t[e(728)])}[re(536)](t,e,i){const s=re,n=new K.ModelDocumentFragment,r=[],o=new Map,a=this[s(715)][s(496)],c=a[s(682)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(483)];e++)if(s(563)===t[e][s(688)]){t[e][s(645)]=a[s(500)](n,f);const i=new K.ModelElement(t[e][s(638)][s(646)],t[e][s(638)][s(652)]());u[0][s(738)](i),f[s(515)](0),u[s(606)](i),t[e][s(671)]=a[s(500)](n,f)}else s(779)===t[e][s(688)]?(u[s(605)](),t[e][s(645)]=a[s(500)](n,f),f[s(764)](),f[f[s(483)]-1]++,t[e][s(671)]=a[s(500)](n,f)):(t[e][s(645)]=a[s(500)](n,f),d?d[s(610)]+=t[e][s(638)][s(679)]:d=new K.ModelText(t[e][s(638)][s(679)],t[e][s(638)][s(652)]()),t[e+1]&&s(724)===t[e+1][s(688)]&&v(d,t[e+1][s(638)])||(u[0][s(738)](d),d=null),f[f[s(483)]-1]+=t[e][s(638)][s(720)],t[e][s(671)]=a[s(500)](n,f));for(let e=0;e<t[s(483)];e++){const i=t[e][s(645)],n=t[e][s(671)];for(const n of t[e][s(756)])o[s(501)](n,{start:i,end:null});m(s(583),e,i,n),m(s(656),e,i,n),m(s(768),e,i,n),m(s(758),e,i,n);for(const i of t[e][s(495)]){const t=o[s(713)](i);t?t[s(675)]=n:o[s(501)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(715)][s(496)][s(593)](e[s(783)],e[s(675)]);n[s(552)][s(501)](t,i)}return r[s(681)]((t,e)=>{const i=s,r=n[i(552)][i(713)](i(576)+t.id),o=n[i(552)][i(713)](i(576)+e.id);return r[i(783)][i(701)](o[i(783)])?-1:r[i(783)][i(553)](o[i(783)])?1:r[i(675)][i(701)](o[i(675)])?-1:r[i(675)][i(553)](o[i(675)])?1:i(647)===t[i(688)]?-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(718)]:null,d=i===t[o(483)]-1,f=h[e][0],m=c[o(624)](t[i][o(638)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(675)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(718)]!==u&&(l[e][o(675)]=n,f&&f[o(718)]===l[e][o(718)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(563)!==t[i][o(688)]||f&&f[o(718)]===u||h[e][o(606)]({userId:u,object:t[i][o(638)],change:l[e]}),o(779)===t[i][o(688)]&&f&&f[o(700)]===t[i][o(638)]&&(h[e][o(605)](),l[e]=f[o(788)])),l[e]&&d&&(l[e][o(675)]=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(638)],f=a[h(682)][h(505)](d)&&!a[h(682)][h(622)](d),m=t[h(469)]==o[h(640)]&&o[h(769)];if(f&&m)return;const p=a[h(593)](t,o),v=e[h(713)](u),g=new Xt({author:v,type:h(758)==l||h(656)==l?h(647):h(555),data:{isSuggestion:h(656)==l||h(583)==l},createdAt:new Date,rootName:i});r[h(515)](g),n[h(552)][h(501)](h(576)+g.id,p)}function v(t,e){const i=s,n=t[i(652)](),r=e[i(652)]();for(const t of n){if(t[1]!==e[i(650)](t[0]))return!1;r[i(561)]()}return r[i(561)]()[i(708)]}}[re(726)](){const t=re;this[t(715)][t(706)][t(601)](t(549))[t(744)]({view:t(680)}),this[t(715)][t(706)][t(601)](t(710))[t(562)]({model:t(680),view:e=>{const i=t,s=e[i(554)][i(476)](":")[1],n=this[i(591)](s);if(!n)return null;const r=i(647)==n[i(688)]?i(514):i(559),o=[i(509),i(613)+r];return n[i(679)][i(639)]&&o[i(515)](i(613)+r+i(750)),this[i(741)]==n&&o[i(515)](i(732)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(715)][t(706)][t(601)](t(549))[t(647)](e=>{const i=t;e.on(i(762),(t,e,s)=>{const n=i,r=e[n(485)][n(662)](0);if(!r||!r.is(n(511),n(736)))return;if(!s[n(572)][n(566)](r,{attributes:[n(502),n(649)]}))return;const o=e[n(598)][n(783)][n(469)];s[n(766)][n(631)](n(502),r[n(650)](n(502)),o),s[n(766)][n(631)](n(649),r[n(650)](n(649)),o)},{priority:i(767)})}),this[t(715)][t(706)][t(601)](t(549))[t(647)](e=>{const i=t;e.on(i(511),(t,e,s)=>{const n=i;if(!s[n(572)][n(566)](e[n(485)],{attributes:[n(502),n(649)]}))return;if(e[n(598)][n(747)])return;const r=e[n(598)][n(783)][n(469)];r[n(745)](n(502))||r[n(745)](n(596))||(s[n(766)][n(631)](n(502),e[n(485)][n(650)](n(502)),r),s[n(766)][n(631)](n(649),e[n(485)][n(650)](n(649)),r))},{priority:i(767)})}),this[t(715)][t(706)][t(601)](t(549))[t(527)]({view:{name:t(660),attributes:{vid:!0}},model:{key:t(596),value:e=>e[t(650)](t(596))}}),this[t(715)][t(496)][t(682)].on(t(630),(e,[,i])=>{const s=t;[s(502),s(649),s(596)][s(772)](i)&&(e[s(743)]=!0,e[s(531)]())},{priority:t(491)}),this[t(715)][t(706)][t(601)](t(486))[t(647)](e=>{const i=t;e.on(i(621),(t,e,s)=>{const n=i;if(" "!=e[n(638)][n(679)]||e[n(638)][n(640)][n(540)]>1)return;if(!s[n(572)][n(566)](e[n(638)],t[n(646)]))return;const r=s[n(766)],o=s[n(653)][n(506)](e[n(666)]);r[n(568)](o,r[n(517)](n(660)))})}),this[t(715)][t(706)][t(601)](t(486))[t(773)]({model:t(680)}),this[t(715)][t(707)][t(635)].on(t(472),function(e){const i=t,s=e[i(786)][i(713)](i(659));return(t,n,r)=>{const o=i,a=n[o(554)][o(476)](":")[1],c=s[o(591)](a);if(!c)return null;const u=o(647)==c[o(688)]?o(476):o(611);if(!r[o(572)][o(733)](n[o(477)],t[o(646)]))return;const l=n[o(477)][o(550)](),h=n[o(477)][o(783)],d=e[o(496)][o(682)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(638)];p=p||d[o(642)](e);const i=r[o(653)][o(570)](e);if(i&&i[o(672)](o(727)))return;o(779)==t[o(688)]&&d[o(505)](e)&&!d[o(622)](e)&&(e[o(584)]||h[o(737)]?f&&f[o(640)]==e||(f=e,g(t[o(645)]),v=!0):m=m||t[o(645)])}function g(t){const e=o,i=r[e(766)][e(703)](e(660),{class:e(613)+u}),a=r[e(653)][e(629)](t);c[e(679)][e(639)]&&r[e(766)][e(542)](e(613)+u+e(750),i),s[e(741)]==c&&r[e(766)][e(542)](e(732),i),r[e(766)][e(789)](a,i),r[e(653)][e(582)](i,n[e(554)])}p||v||!m||g(m)}}(this[t(715)]),{priority:t(760)}),this[t(715)][t(707)][t(635)].on(t(595),(e,i,s)=>{const n=t,r=s[n(653)][n(776)](i[n(554)]);if(r)for(const t of r)(t[n(558)](n(628))||t[n(558)](n(524)))&&(s[n(653)][n(711)](t,i[n(554)]),s[n(766)][n(555)](t))},{priority:t(760)}),this[t(715)][t(707)][t(635)].on(t(472),(e,i,s)=>{const n=t,r=i[n(554)][n(476)](":")[1],o=this[n(591)](r);if(!o)return null;const a=n(647)==o[n(688)]?n(476):n(611);if(s[n(572)][n(733)](i[n(477)],e[n(646)]))for(const t of i[n(477)][n(678)]()){if(!t.is(n(511),n(719)))continue;const e=s[n(766)][n(703)](n(660),{class:n(613)+a}),r=s[n(653)][n(629)](this[n(715)][n(496)][n(722)](t));o[n(679)][n(639)]&&s[n(766)][n(542)](n(613)+a+n(750),e),this[n(741)]==o&&s[n(766)][n(542)](n(732),e),s[n(766)][n(789)](r,e),s[n(653)][n(582)](e,i[n(554)])}},{priority:t(760)}),this[t(715)][t(496)][t(578)].on(t(788),()=>{const e=t;this[e(715)][e(707)][e(607)][e(788)](t=>{const i=e;for(const e of this[i(715)][i(496)][i(578)][i(475)]()){const s=this[i(715)][i(496)][i(578)][i(573)](e),n=this[i(715)][i(707)][i(607)][i(578)][i(573)](e);if(n){const e=s[i(650)](i(468));if(t[i(684)](i(761),n),t[i(697)](i(636),n),t[i(697)](i(657),n),t[i(697)](i(548),n),e){const s=this[i(591)](e);if(!s)return null;t[i(631)](i(761),e,n),t[i(542)](i(481)+s[i(688)],n),this[i(741)]==s&&t[i(542)](i(548),n)}}}})}),this[t(715)][t(706)][t(601)](t(549))[t(744)]({view:t(689),model:e=>t(619)+e,converterPriority:t(491)}),this[t(715)][t(706)][t(601)](t(549))[t(744)]({view:t(487),model:e=>t(551)+e,converterPriority:t(491)}),this[t(715)][t(706)][t(601)](t(486))[t(773)]({model:t(692),view:e=>({name:t(712)+e,group:t(692)}),converterPriority:t(491)}),this[t(715)][t(706)][t(601)](t(710))[t(562)]({model:t(692),view:e=>{const i=t,s=e[i(554)][i(476)](":")[1];return i(514)!=s&&i(559)!=s?null:{classes:[i(702),i(493)+s]}}}),this[t(715)][t(707)][t(635)].on(t(787),ue(this[t(715)],t(611)),{priority:t(760)}),this[t(715)][t(707)][t(635)].on(t(654),ue(this[t(715)],t(476)),{priority:t(760)}),this[t(715)][t(707)][t(635)].on(t(632),(e,i,s)=>{const n=t,r=s[n(653)][n(776)](i[n(554)]);if(r)for(const t of r)t.is(n(721))&&(s[n(653)][n(711)](t,i[n(554)]),s[n(766)][n(555)](t))},{priority:t(760)})}[re(591)](t){const e=re;return this[e(623)][e(713)](t)}[re(557)](t){const e=re;return this[e(567)]&&this[e(567)][e(644)](),this[e(567)]=new Bt(this[e(715)][e(749)],t),this[e(567)]}[re(525)](){const t=re;this[t(715)][t(496)][t(578)][t(704)][t(478)](t(680)),this.on(t(518),(e,i,s,n)=>{const r=t;n&&this[r(609)][r(555)](n),s&&(this[r(609)][r(647)]({view:s,stackId:r(763),position:{target:()=>{const t=r,e=this[t(715)][t(707)],i=this[t(591)](s[t(529)]);let n;if(i[t(679)][t(599)]){const s=e[t(607)][t(560)](i[t(602)]);n=Array[t(575)](s[t(634)]())}else{const i=this[t(715)][t(496)][t(552)][t(713)](t(576)+s[t(529)]);n=Array[t(575)](e[t(653)][t(776)](i[t(646)]))[t(754)](i=>e[t(607)][t(538)][t(655)](i))[t(754)](e=>Array[t(575)](e[t(634)]()))[t(464)]()}return this[t(755)]&&n[t(579)](e=>e[t(742)]-3<=this[t(755)].y&&e[t(620)]+3>=this[t(755)].y&&e[t(676)]-3<=this[t(755)].x&&e[t(661)]+3>=this[t(755)].x)||n[0]}}}),this[r(609)][r(603)](r(763)))}),this.on(t(513),(e,i,s,n)=>{const r=t;this[r(725)]=s?this[r(557)](s):null,this[r(715)][r(496)][r(788)](()=>{const t=r,e=this[t(715)][t(707)];n&&(n[t(679)][t(599)]?e[t(607)][t(788)](i=>{const s=t;i[s(697)](s(548),e[s(607)][s(578)][s(573)](n[s(602)]))}):e[t(617)](t(576)+n.id)),s&&(s[t(679)][t(599)]?e[t(607)][t(788)](i=>{const n=t;i[n(542)](n(548),e[n(607)][n(578)][n(573)](s[n(602)]))}):e[t(617)](t(576)+s.id))})}),this[t(669)](this[t(715)][t(707)][t(607)][t(578)],t(774),(e,i)=>{const s=t;if(this[s(741)])return;const n=this[s(473)](i[s(533)]),r=this[s(623)][s(713)](n);r?(this[s(755)]={x:i[s(751)].x,y:i[s(751)].y},this[s(725)]=this[s(557)](r)):(this[s(755)]=null,this[s(725)]=null)}),this[t(669)](this[t(715)][t(707)][t(607)][t(578)],t(587),(e,i)=>{const s=t,n=this[s(473)](i[s(533)]),r=this[s(623)][s(713)](n);r?(this[s(755)]={x:i[s(751)].x,y:i[s(751)].y},r===this[s(741)]?this[s(609)][s(668)]():this[s(741)]=r):(this[s(755)]=null,this[s(741)]=null)})}[re(473)](t){const e=re;do{const i=t[e(650)](e(761));if(i)return i;t=t[e(640)]}while(t);return null}[re(667)](){const t=re;this[t(715)][t(496)][t(788)](e=>{const i=t;for(const t of this[i(715)][i(496)][i(552)])e[i(508)](t)})}}function ae(){const t=["createRevision","ck-suggestion-marker-split","toViewPosition","checkAttribute","setAttribute","removeMarker:revision-suggestion","values","getClientRects","downcastDispatcher","ck-revision-history-root-add","12056kvrUAH","item","isSuggestion","parent","change:numberOfChanges","isContent","affectsData","destroy","previousPosition","name","add","startsWith","vid_end","getAttribute","has","getAttributes","mapper","addMarker:revision-suggestion:insertion","mapViewToDom","isAddSuggestion","ck-revision-history-root-remove","attributesAfter","RevisionViewer","span","right","getChild","currentChangeNumber","_getRevisionsRange","catch","range","_cleanMarkers","updatePosition","listenTo","_getDiff","nextPosition","getCustomProperty","bind","12724723wzCRgz","end","left","forceDisabled","getItems","data","revision","sort","schema","_update","removeAttribute","keys","_threeWayMerge","isEnabled","type","comment","forEach","restoreRevisionCallback","revision-suggestion","concat","92MUDRvV","commands","isNavigationMode","removeClass","repository","indexOf","object","isBefore","ck-suggestion-preview-marker","createUIElement","selection","getIndex","conversion","editing","done","WidgetToolbarRepository","editingDowncast","unbindElementFromMarkerName","suggestion:","get","getRevision","editor","648EIzgRS","_joinTapes","userId","softBreak","offsetSize","uiElement","createPositionBefore","_setDistance","text","activeView","_setConversion","addHighlight","isIncorrect","adapter","isAttached","_markSuggestions","ck-suggestion-marker--active","test","numberOfChanges","splice","code","isAtEnd","_appendChild","resolve","_revisions","activeChange","top","return","dataToMarker","hasAttribute","endIndex","isCollapsed","oldRevisionId","locale","-new","domEvent","isReady","createRangeIn","map","_activeViewTarget","markersStart","index","isAdded","isOfficialPlugin","high","data-change-id","element:pre","revisionHistoryLabel","pop","change:isEnabled","writer","low","isRemoved","isAtStart","deletions","_removeUnsupportedChanges","includes","markerToData","mouseover","getRevisionDocumentData","markerNameToElements","isPremiumPlugin","level","elementEnd","isEqual","filter","_setChanges","start","change:isReady","execute","plugins","addMarker:revision-suggestion:deletion","change","insert","POSITIVE_INFINITY","flat","_fixObsoleteTags","addRoot","3076350NjRZKX","revisionHistoryAttachChange","nodeAfter","then","attributes","addMarker:revision","_findChangeIdFromDomTarget","pluginName","getRootNames","split","markerRange","observeMarkers","_markInsertions","_refreshStartEndIndex","ck-revision-history-root-","addRevisionData","length","refresh","viewItem","dataDowncast","suggestion","_utils","_markMismatchedRemovedTags","roots","highest","2895032CfbZGw","ck-suggestion-preview-marker-","RevisionHistoryUtils","markersEnd","model","_processTape","getLaterVisibleRevision","attachChange","createPositionFromPath","set","vid_start","attributesBefore","isInline","isBlock","toViewRange","showNextChange","removeMarker","ck-suggestion-marker","first","element","abs","change:activeChange","insertion","push","requires","createAttributeElement","change:activeView","47bKaopM","detachRoot","authors","init","string","ck-suggestion-marker-merge","_initInteractions","enableReadOnlyMode","elementToAttribute","delete","changeId","_sortAndFilterDiffChanges","stop","RevisionsRepository","target","ck-editor__editable__overlay","backward","_makeModelFromTape","compare","domConverter","clear","maxOffset","revision-viewer","addClass","loadRevisionData","restoreRevision","getRevisionRootsAttributes","config","19805NySmEt","ck-revision-history-root--active","upcast","getWalker","revision-suggestion:","markers","isAfter","markerName","remove","pairId","_getViewForChange","hasClass","deletion","getDomRoot","next","markerToHighlight","elementStart","findIndex","newRevisionId","consume","_changeView","wrap","showPreviousChange","toViewElement","_removeMissingPairs","consumable","getRoot","diff","from","revision:","_step","document","find","_makeTape","revisionHistory","bindElementToMarker","isRemoveSuggestion","nextSibling","49317VghVYx","enqueueChange","mousedown","_makeModelFromViewString","6478LNhlIR","error","_getChangeFromId","_markMarkers","createRange","addRevision","removeMarker:revision","vid","forward","modelRange","isOnRoot","insertions","for","rootName","showStack","changes","shift","unshift","view","distance","_balloon","_data","merge","_cleanUp","ck-suggestion-marker-","slice","diffData","1116LgJYDh","reconvertMarker","all","revision-comment:","bottom","attribute:vid","isLimit","_changeIdToChange","isObject","startIndex","side"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=463]})(t,e)}function ue(t,e){return(i,s,n)=>{const r=ce;if(!n[r(572)][r(733)](s[r(477)],i[r(646)]))return;const o=s[r(477)][r(550)](),a=s[r(477)][r(783)],c=t[r(496)][r(682)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(638)];h=h||c[r(642)](e);const i=n[r(653)][r(570)](e);if(i&&i[r(672)](r(727)))return;r(779)==t[r(688)]&&c[r(505)](e)&&!c[r(622)](e)&&(e[r(584)]||a[r(737)]?u&&u[r(640)]==e||(u=e,f(t[r(645)]),d=!0):l=l||t[r(645)])}function f(t){const i=r,o=n[i(653)][i(629)](t),a=n[i(766)][i(703)](i(660),{class:i(493)+e});n[i(766)][i(789)](o,a),n[i(653)][i(582)](a,s[i(554)])}h||d||!l||f(l)}}class le extends J.Command{constructor(t){const e=re;super(t);const i=t[e(786)][e(713)](oe);this[e(643)]=!1,this[e(669)](i,e(784),()=>this[e(484)]()),this[e(669)](i,e(765),()=>this[e(484)]())}[re(785)](){const t=re,e=this[t(715)],i=e[t(786)][t(713)](oe),s=i[t(752)]?i[t(574)][t(565)]:null;e[t(546)][t(713)](t(581))[t(691)](s)}[re(484)](){const t=re,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(715)][t(786)][t(713)](oe),r=n&&s[t(498)](n[t(565)]);this[t(687)]=e&&i&&Boolean(r)}}class he extends J.Command{[re(577)];constructor(t,{direction:e}){const i=re;super(t);const s=t[i(786)][i(713)](oe);this[i(643)]=!1,this[i(577)]=i(597)===e?1:-1,this[i(669)](s,i(784),()=>this[i(484)]()),this[i(669)](s,i(765),()=>this[i(484)]()),this[i(669)](s,i(513),()=>this[i(484)]())}[re(785)](){const e=re,i=this[e(715)],s=i[e(786)][e(713)](oe),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(741)]=n?s[e(574)][e(604)][e(713)](r+this[e(577)]):s[e(574)][e(604)][e(510)],s[e(741)][e(679)][e(599)])o=i[e(707)][e(607)][e(560)](s[e(741)][e(602)]);else{const t=i[e(496)][e(552)][e(713)](e(576)+s[e(741)].id);o=(0,G.getMarkerDomElement)(i[e(707)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(484)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(715)][t(786)][t(713)](oe);this[t(687)]=!!(r&&n&&s)&&(!e||(1===this[t(577)]?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=Et();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(t,e){const i=pe();return(me=function(t,e){return i[t-=144]})(t,e)}function pe(){const t=["62584hdIFXZ","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__wrapper","7490RWUKfU","forward","span","isEnabled","bindTemplate","ck-revision-history-ui","141goBSYE","isReady","backward","9Wduisv","5646MALHXo","Total","10451344OXTLgd","currentChangeNumber","numberOfChanges","5895oMNZNm","bind","ck-hidden","isForwardNavigationEnabled","25179696aWaoyU","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation","_statusText","Show next change","fire","9650599pkJnkj","150502iIUBCv","10FxBUfR","Show previous change","X_OF_Y_CHANGES","isNavigationMode","set","setTemplate","No changes","EDIT_X_OF_Y_REVISIONS","15499WsxOaI","Loading...","execute","div","isBackwardNavigationEnabled","_isStatusLabelVisible"];return(pe=function(){return t})()}!function(t){const e=me,i=t();for(;;)try{if(736773===parseInt(e(158))/1*(-parseInt(e(157))/2)+parseInt(e(181))/3*(-parseInt(e(172))/4)+-parseInt(e(145))/5*(-parseInt(e(185))/6)+parseInt(e(156))/7+parseInt(e(187))/8*(-parseInt(e(184))/9)+-parseInt(e(175))/10*(parseInt(e(166))/11)+parseInt(e(149))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ve extends _t.View{constructor(t){const e=me;super(t);const i=this[e(179)],s=new _t.ButtonView(t),n=new _t.ButtonView(t);this[e(162)](e(161),!1),this[e(162)](e(182),!1),this[e(162)](e(188),0),this[e(162)](e(144),0),this[e(162)](e(148),!1),this[e(162)](e(170),!1),this[e(146)](e(171)).to(this,e(182),this,e(144),(t,e)=>t&&e>0),this[e(146)](e(153)).to(this,e(182),this,e(188),this,e(144),this,e(161),(i,s,n,r)=>{const o=e;if(!i)return ot(t,o(167));if(!n)return ot(t,o(164));const a=ot(t,o(173),n);return r?ot(t,o(160),[s+1,n]):a}),s[e(162)]({label:ot(t,e(159)),tooltip:!0,icon:wt.IconChevronUp}),n[e(162)]({label:ot(t,e(154)),tooltip:!0,icon:wt.IconChevronDown}),s[e(146)](e(178)).to(this,e(170)),n[e(146)](e(178)).to(this,e(148)),s.on(e(168),()=>this[e(155)](e(168),e(183))),n.on(e(168),()=>this[e(155)](e(168),e(176))),this[e(163)]({tag:e(169),attributes:{class:["ck",e(180),e(152)]},children:[{tag:e(177),attributes:{class:[e(174)]},children:[{tag:e(177),attributes:{class:[e(150),i.if(e(171),e(147),t=>!t)]},children:[{text:i.to(e(161),i=>i?ot(t,e(165))+": ":ot(t,e(186))+": ")}]},{text:i.to(e(153))}]},new _t.ToolbarSeparatorView,{tag:e(169),attributes:{class:[e(151)]},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=Et();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;const ke=be;function be(t,e){const i=we();return(be=function(t,e){return i[t-=452]})(t,e)}function we(){const t=["addClass","3ZclpsR","hide","editing","72729sgISIy","1255AgLRJh","506324Dioffz","392184GbAlYu","document","ck-editor__editable__loading-overlay","change","editor","isOfficialPlugin","22mRIPsc","6rBAxAu","pluginName","roots","151920LBsFfx","91FElanN","show","2290044GnrInK","68168OHQWFu","108zdpUnS","RevisionViewerLoadingOverlay","isPremiumPlugin","view","removeClass"];return(we=function(){return t})()}!function(t){const e=be,i=t();for(;;)try{if(174052===-parseInt(e(458))/1*(parseInt(e(468))/2)+parseInt(e(455))/3*(-parseInt(e(460))/4)+parseInt(e(459))/5+parseInt(e(461))/6+parseInt(e(472))/7*(-parseInt(e(475))/8)+parseInt(e(476))/9*(parseInt(e(471))/10)+parseInt(e(467))/11*(parseInt(e(474))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const _e=ke(463);class Ie extends J.Plugin{static get[ke(469)](){return ke(477)}static get[ke(466)](){return!0}static get[ke(478)](){return!0}[ke(473)](){const t=ke,e=this[t(465)][t(457)][t(452)];e[t(464)](i=>{const s=t;for(const t of e[s(462)][s(470)])i[s(454)](_e,t)})}[ke(456)](){const t=ke,e=this[t(465)][t(457)][t(452)];e[t(464)](i=>{const s=t;for(const t of e[s(462)][s(470)])i[s(453)](_e,t)})}}const Se=Te;function Oe(){const t=["showNextChange","currentChangeNumber","984880ApXMlJ","listenTo","showPreviousChange","execute","show","isNavigationMode","closeRevisionViewerCallback","15286272zSLyhz","numberOfChanges","plugins","isBackwardNavigationEnabled","change:isReady","changesNavigation","823216tZNuiF","add","restoreRevision","133pvNHGs","isReady","hide","436PsKkrz","exitToEditing","pluginName","revisionHistory","isPremiumPlugin","commands","bind","220XFTKYW","30WAIeJv","forward","143198nEqXXA","set","isEnabled","9hCPwDP","isOfficialPlugin","Restore this revision","init","8hBNvHy","593222SzCIZQ","componentFactory","ck-revision-history-ui__back-to-editing","Back to editing","requires","editor","get","config","isForwardNavigationEnabled","RevisionViewerUI","282429bXHBbA"];return(Oe=function(){return t})()}function Te(t,e){const i=Oe();return(Te=function(t,e){return i[t-=188]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(310364===parseInt(e(197))/1*(parseInt(e(200))/2)+parseInt(e(228))/3*(-parseInt(e(217))/4)+-parseInt(e(231))/5+parseInt(e(208))/6*(-parseInt(e(218))/7)+-parseInt(e(194))/8*(-parseInt(e(213))/9)+parseInt(e(207))/10*(-parseInt(e(210))/11)+parseInt(e(188))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class xe extends J.Plugin{static get[Se(202)](){return Se(227)}static get[Se(214)](){return!0}static get[Se(204)](){return!0}static get[Se(222)](){return[oe,Ie]}[Se(216)](){const t=Se,e=this[t(223)],i=e[t(190)][t(224)](oe),s=e[t(190)][t(224)](Ie);e.ui[t(219)][t(195)](t(201),i=>{const s=t,n=new _t.ButtonView(i);return n[s(211)]({label:ot(i,s(221)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:s(220)}),this[s(232)](n,s(234),()=>{const t=s;e[t(225)][t(224)](t(203))[t(237)]()}),n}),e.ui[t(219)][t(195)](t(196),i=>{const s=t,n=new _t.ButtonView(i);return n[s(211)]({label:ot(i,s(215)),withText:!0,tooltip:!0}),n[s(206)](s(212)).to(e[s(205)][s(224)](s(196))),this[s(232)](n,s(234),()=>e[s(234)](s(196))),n}),e.ui[t(219)][t(195)](t(193),s=>{const n=t,r=new ve(s),o=e[n(205)][n(224)](n(233)),a=e[n(205)][n(224)](n(229));return r[n(206)](n(191)).to(o,n(212)),r[n(206)](n(226)).to(a,n(212)),r[n(206)](n(198),n(230),n(189),n(236)).to(i),this[n(232)](r,n(234),(t,i)=>{const s=n;e[s(234)](s(209)===i?s(229):s(233))}),r}),s[t(235)](),i.on(t(192),(e,i,n)=>{const r=t;n?s[r(199)]():s[r(235)]()})}}var Ne=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=At(),Re.insert=Nt().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Et();St()(Ne.A,Re);Ne.A&&Ne.A.locals&&Ne.A.locals;const Ae=Me;function Me(t,e){const i=Ee();return(Me=function(t,e){return i[t-=460]})(t,e)}function Ee(){const t=["1uulrBu","fieldView","placeholder","ck-revision-history-sidebar__revision-name","span","3652950EjmZlM","scrollWidth","value","bindTemplate","_tooltipString","Revision name","Enter the revision name","831942ColrbL","input","4468437vgRBpI","8RTENib","7485740nmREDk","extendTemplate","1079936zvoxkx","render","_resizeObserver","set","5771472UfuzGl","3172930YZMSmu","listenTo","clientWidth","11GmSbOx","_updateTooltipText","destroy","ck-tooltip_multi-line","element","4FtGxUY"];return(Ee=function(){return t})()}!function(t){const e=Me,i=t();for(;;)try{if(658545===-parseInt(e(486))/1*(-parseInt(e(472))/2)+parseInt(e(466))/3*(-parseInt(e(485))/4)+parseInt(e(477))/5+-parseInt(e(476))/6+-parseInt(e(491))/7+parseInt(e(469))/8*(parseInt(e(468))/9)+parseInt(e(470))/10*(parseInt(e(480))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class Ve extends _t.LabeledFieldView{[Ae(474)]=null;constructor(t,e){const i=Ae;super(t,e);const s=this[i(462)];this[i(475)]({label:ot(t,i(464)),_tooltipString:""}),this[i(487)][i(488)]=ot(t,i(465)),this[i(471)]({tag:i(490),attributes:{class:[i(489)],"data-cke-tooltip-text":s.to(i(463)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(483)}})}[Ae(473)](){const e=Ae;super[e(473)](),this[e(474)]=new t.ResizeObserver(this[e(487)][e(484)],()=>this[e(481)]()),this[e(478)](this[e(487)],e(467),()=>this[e(481)]())}[Ae(482)](){const t=Ae;super[t(482)](),this[t(474)]&&this[t(474)][t(482)]()}[Ae(481)](){const t=Ae,e=this[t(487)][t(484)];this[t(463)]=e[t(460)]>e[t(479)]&&e[t(461)]||""}}var De=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=At(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=Tt(),Ce.insertStyleElement=Et();St()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(t,e){const i=je();return(Fe=function(t,e){return i[t-=368]})(t,e)}!function(t){const e=Fe,i=t();for(;;)try{if(888208===parseInt(e(372))/1+-parseInt(e(379))/2*(parseInt(e(377))/3)+-parseInt(e(381))/4*(parseInt(e(369))/5)+parseInt(e(390))/6*(parseInt(e(376))/7)+-parseInt(e(374))/8*(-parseInt(e(386))/9)+-parseInt(e(373))/10+parseInt(e(389))/11*(-parseInt(e(388))/12))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(387)]({content:wt.IconUser,viewBox:s(371)});const r=["ck",s(380)];i&&r[s(368)](s(370));const o=[{tag:s(384),attributes:{class:["ck",s(382)],title:ot(t,s(i?378:383))},children:[n,e[s(375)]]}];this[s(385)]({tag:"li",attributes:{class:r},children:o})}}function je(){const t=["Revision creator","2222gdsAAF","ck-revision-history-sidebar__revision-author","184HebYUb","ck-revision-history-sidebar__revision-author__name","Revision author","span","setTemplate","9yRqKhO","set","2126736CeRGEy","11sPzLoI","6OXLikq","push","108445Fqceie","ck-revision-history-sidebar__revision-author_creator","0 0 11 10","1494017hXgWjX","1474930vSoBak","12887464SZIWxO","name","443485epRrzU","2586xVOdPa"];return(je=function(){return t})()}function Pe(t,e){var i=ze();return(Pe=function(t,e){return i[t-=269]})(t,e)}function ze(){var t=["7394802XzgpLd","3aLiXJI","7ebcdJR","290pEUtVz","long","toLocaleTimeString","8359752rRRDMk","3851442SBmhgZ","1838028amUwEr","190180rqtdVt","276910zyPVwM","toLocaleDateString","7pBxtSt","200453GGFyPY","numeric"];return(ze=function(){return t})()}!function(t){for(var e=Pe,i=t();;)try{if(634683===parseInt(e(283))/1*(parseInt(e(281))/2)+-parseInt(e(272))/3*(parseInt(e(279))/4)+parseInt(e(280))/5+parseInt(e(271))/6+-parseInt(e(273))/7*(parseInt(e(277))/8)+parseInt(e(278))/9+parseInt(e(274))/10*(-parseInt(e(269))/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=Et();St()(We.A,Ue);We.A&&We.A.locals&&We.A.locals;function Ze(){const t=["source","bindTemplate","button","2064354tWlCLf","locale","ck-revision-history-sidebar__revision__actions","Show more items","menu","740937PrrhQZ","3310LHuZbl","isReady","panelPosition","Compare against selected","find","stopPropagation","665763Htlgyk","ck-on","function","action","Restore this revision","4430mVsdUA","name","1036MmaZmi","Name this revision","9441TivMEZ","first","isEnabled","bind","set","map","buttonView","class","492386NiXwvb","_action","isVisible","listenTo","children","change:isActionsDropdownOpen","isActionsDropdownOpen","model","execute","add","isOpen","items","menuitem","7VMAWVD","4918344KSVUMe","extendTemplate","listView"];return(Ze=function(){return t})()}function He(t,e){const i=Ze();return(He=function(t,e){return i[t-=306]})(t,e)}!function(t){const e=He,i=t();for(;;)try{if(511988===parseInt(e(342))/1+parseInt(e(310))/2+-parseInt(e(335))/3+-parseInt(e(349))/4*(parseInt(e(347))/5)+parseInt(e(330))/6+parseInt(e(323))/7*(-parseInt(e(324))/8)+parseInt(e(351))/9*(parseInt(e(336))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var qe=i(216),$e={attributes:{"data-cke":!0}};$e.setAttributes=At(),$e.insert=Nt().bind(null,"head"),$e.domAPI=Tt(),$e.insertStyleElement=Et();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-=123]})(t,e)}function Je(){const t=["ck-revision-history-sidebar__revision-wrapper_confirmation_visible","authors","_createdAtFormatted","from","ck-revision-history-sidebar__revision-authors","19945LvEJFm","revisionActionsView","render","ck-revision-history-sidebar__revision-wrapper","createdAt","347427SzlFwc","span","220","isConfirm","set","revisionNameView","extendTemplate","setTemplate","change","setName","map","3304343XPwlRp","ck-revision-history-sidebar__revision_highlighted","value","select","isHighlighted","bind","unhighlight","12WTnrxa","length","ck-revision-history-sidebar__actions_dropdown_open","creator","ck-reset","deselect","10UVwDms","ck-revision-history-sidebar__revision","isActionsDropdownOpen","66506qtIKDB","fire","ck-revision-history-sidebar__revision__date","filter","unshift","name","ck-disabled","bindTemplate","fieldView","5vQcCpU","closest","isSelected","isEnabled","12371425AkwPlx","ck-revision-history-sidebar__revision__controls-wrapper","_revision",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision_selected","srcElement","isReady","39549lygTjN","element","uiLanguage","3527520prdOoQ","186HrPcak","listenTo","_requireRevisionName","div","highlight"];return(Je=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(253346===parseInt(e(182))/1*(parseInt(e(173))/2)+parseInt(e(127))/3*(-parseInt(e(164))/4)+parseInt(e(141))/5*(-parseInt(e(131))/6)+-parseInt(e(157))/7+-parseInt(e(130))/8+parseInt(e(146))/9+parseInt(e(170))/10*(parseInt(e(186))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ge extends((0,G.ConfirmMixin)(_t.View)){id;[Be(151)];[Be(142)];[Be(188)];[Be(133)];constructor(e,i,s,n){const r=Be;super(e);const o=this[r(180)],a=function(t,e){const i=r,s=Array[i(139)](e[i(137)])[i(176)](t=>t!=e[i(167)]);return e[i(167)]&&s[i(177)](e[i(167)]),s[i(156)](s=>new Le(t,s,s==e[i(167)]))}(e,i);this.id=i.id,this[r(188)]=i,this[r(133)]=n,this[r(162)](r(178),r(145)).to(i),this[r(162)](r(138)).to(this,r(145),t=>{return i=e[r(129)],(s=t)[(n=Pe)(282)](i,{month:n(275),day:n(270)})+", "+s[n(276)](i,{hour:n(270),minute:n(270)});var i,s,n}),this[r(150)](r(184),!1),this[r(150)](r(161),!1),this[r(150)](r(172),!1),this[r(150)](r(126),!1),this[r(150)](r(185),!1),this[r(151)]=new Ve(e,_t.createLabeledInputText),this[r(151)][r(181)][r(152)]({attributes:{maxlength:r(148)}}),this[r(151)][r(181)][r(162)](r(159)).to(this,r(178),t=>t||this[r(138)]),this[r(151)][r(162)](r(185)).to(this,r(184),this,r(185),(t,e)=>t&&e),this[r(142)]=s&&s[r(165)]?function(e,i){const s=He,n=e[s(328)],r=e[s(331)],o=(0,_t.createDropdown)(r);o[s(338)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=He,s=t[i(331)],n={"Compare against selected":ot(s,i(339)),"Name this revision":ot(s,i(350)),"Restore this revision":ot(s,i(346))};return e[i(307)](t=>{const e=i,s=n[t[e(348)]];return s&&s!==t[e(348)]&&(t[e(348)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(329),model:new _t.UIModel({label:t[n(348)],class:t[n(309)],withText:!0,role:n(322),_action:t[n(345)]})};i[n(317)][n(354)](n(353)).to(e,n(316),i=>n(344)!=typeof t[n(353)]||!i||t[n(353)](e)),o[n(319)](i)}return o}(e,i);return e[s(354)](s(316)).to(o,s(320)),o[s(308)][s(306)]({label:ot(r,s(333)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[s(325)]({attributes:{class:[s(332),n.if(s(316),s(343))]},on:{click:n.to(t=>t[s(341)]())}}),o.on(s(318),t=>{const i=s;e[i(337)]&&i(344)==typeof t[i(327)][i(311)]&&t[i(327)][i(311)](e)}),(0,_t.addListToDropdown)(o,a,{role:s(334)}),o[s(313)](e,s(315),(t,n,r)=>{const a=s;if(r)for(const t of o[a(326)][a(321)]){const s=t[a(314)][a(352)],n=i[a(340)](t=>t[a(345)]===s[a(311)])[a(312)];t[a(312)]=void 0===n||n(e)}}),o}(this,s):"",this[r(142)]&&this[r(142)][r(162)](r(185)).to(this),this[r(153)]({tag:r(134),attributes:{class:["ck",r(168),r(144),o.if(r(149),r(136))]},children:[{tag:r(134),attributes:{class:["ck",r(168),r(171),o.if(r(185),r(179),t=>!t),o.if(r(184),r(124)),o.if(r(161),r(158)),o.if(r(172),r(166))]},children:[this[r(151)],{tag:r(147),attributes:{class:["ck",r(175)]},children:[{text:o.to(r(138))}]},{tag:r(134),attributes:{class:["ck",r(187)]},children:[{tag:"ul",attributes:{class:["ck",r(140)]},children:a}]},this[r(142)]],on:{click:o.to(t=>{const e=r;t[e(125)][e(183)](e(123))||this[e(126)]&&this[e(185)]&&this[e(174)](e(160),{id:this.id})})}}]})}[Be(143)](){const t=Be;super[t(143)]();const e=this[t(151)][t(181)][t(128)];this[t(132)](e,t(154),()=>{const i=t;this[i(133)]&&!e[i(159)]||this[i(174)](i(155),{id:this.id,name:e[i(159)]}),e[i(159)]||(e[i(159)]=this[i(178)]?this[i(178)]:this[i(138)])})}[Be(160)](){this[Be(184)]=!0}[Be(169)](){this[Be(184)]=!1}[Be(135)](){this[Be(161)]=!0}[Be(163)](){this[Be(161)]=!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 Mi=null;class Ei extends Ai{static get instance(){return null===Mi&&(Mi=new Ei),Mi}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 Vi=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(),Vi.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=Vi.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"}),Vi.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: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 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 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):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(),qi.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 $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=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=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 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(Ms(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?Ei.instance:"utc"===i||"gmt"===i?Qi.utcInstance:Qi.parseSpecifier(i)||Fi.create(t)}return Es(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,Ei.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+(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 Rs(t){const e=Vs(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 Ms(t){return void 0===t}function Es(t){return"number"==typeof t}function Vs(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 Vs(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 Ms(t)||null===t||""===t?void 0:parseInt(t,10)}function Us(t){return Ms(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Ms(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 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 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"),Mn=On("year","ordinal"),En=RegExp(`${xn.source} ?(?:${Tn.source}|(${wn.source}))?`),Vn=RegExp(`(?: ${En.source})?`);function Dn(t,e,i){const s=t[e];return Ms(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 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[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(Mn,Cn,Fn,Ln),sr=In(Cn,Fn,Ln);const nr=In(Cn);const rr=_n(/(\d{4})-(\d\d)-(\d\d)/,Vn),or=_n(En),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(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||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(Es(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 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+=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;Es(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Es(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;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of mr)if(!e(this.values[i],t.values[i]))return!1;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 Mr(t,e){return{regex:t,deser:([,t,e])=>Qs(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Vr={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 Er(l);case"uu":return Er(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 Mr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Mr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\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;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=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=Vr[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 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(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(Ms(t.year))n=ps.now();else{for(const e of io)Ms(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=!!Ms(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=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=Es(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||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(Es(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(Es(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=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=Vs(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=Vs(t.year),i=Ps(t.ordinal,1,$s(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,[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=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=$r(a,r),l=$r(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 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 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=!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 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(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=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&&Es(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(t,e){const i=po();return(mo=function(t,e){return i[t-=365]})(t,e)}function po(){const t=["toRelativeCalendar","hasSame","startOf","660921IJGtrv","week","minus","939875YgxafV","day","fromJSDate","47103fUAxEp","weekdayLong","year","9556620SGfRrE","628woLbAe","28mcYVWx","month","setLocale","toJSDate","local","3937158ghCdfo","5177bmZBFk","252DxnJLW","monthLong","35690083QZtNFc","24rQrPAH"];return(po=function(){return t})()}function vo(t,e){const i=mo,s=ho[i(379)](t)[i(387)](e),n=ho[i(389)](),r=n[i(376)]({days:1})[i(373)](i(378));let o,a;return s[i(372)](n,i(378))?(o=s[i(373)](i(378))[i(388)](),a=s[i(371)]()):s[i(372)](r,i(378))?(o=r[i(388)](),a=s[i(371)]()):s[i(372)](n,i(375))?(o=s[i(373)](i(375))[i(388)](),a=s[i(381)]||""):s[i(372)](n,i(382))?(o=s[i(373)](i(386))[i(388)](),a=s[i(368)]||""):(o=s[i(373)](i(382))[i(388)](),a=String(s[i(382)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=mo,i=t();for(;;)try{if(904143===-parseInt(e(366))/1*(parseInt(e(384))/2)+parseInt(e(374))/3*(-parseInt(e(385))/4)+parseInt(e(377))/5+parseInt(e(367))/6*(parseInt(e(380))/7)+-parseInt(e(370))/8*(-parseInt(e(365))/9)+-parseInt(e(383))/10+parseInt(e(369))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=At(),yo.insert=Nt().bind(null,"head"),yo.domAPI=Tt(),yo.insertStyleElement=Et();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;const ko=bo;function bo(t,e){const i=wo();return(bo=function(t,e){return i[t-=318]})(t,e)}function wo(){const t=["select","14SWJZzY","removeRevision","span","add","delegate","18410yNqymq","ck-revision-history-sidebar__time-period__revisions","ck-revision-history-sidebar__time-period","_revisionActions","72nroGjq","6743FIQbkA","createCollection","uiLanguage","setTemplate","revisionViews","_requireRevisionName","143445IzfCoo","startDate","locale","505035cIPYcB","36HyNbnc","81093qbDRzd","addRevision","remove","ck-revision-history-sidebar__time-period__label","div","localizedPeriodName","435130nPphPY","setName","79000cTHxeL","find","631112HoHVDP"];return(wo=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(188528===parseInt(e(322))/1+-parseInt(e(320))/2+-parseInt(e(347))/3*(parseInt(e(346))/4)+-parseInt(e(342))/5*(parseInt(e(335))/6)+parseInt(e(326))/7*(-parseInt(e(324))/8)+-parseInt(e(345))/9+-parseInt(e(331))/10*(-parseInt(e(336))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class _o extends _t.View{[ko(343)];[ko(340)];[ko(334)];[ko(341)];constructor(t,e,i,s){const n=ko;super(t);const r=vo(e,this[n(344)][n(338)])[n(319)];this[n(343)]=e,this[n(340)]=this[n(337)](),this[n(334)]=i,this[n(341)]=s,this[n(340)][n(330)](n(325)).to(this),this[n(340)][n(330)](n(321)).to(this),this[n(339)]({tag:n(318),attributes:{class:["ck",n(333)]},children:[{tag:n(328),attributes:{class:["ck",n(350)]},children:[{text:r}]},{tag:n(318),attributes:{class:["ck",n(332)]},children:this[n(340)]}]})}[ko(348)](t){const e=ko,i=new Ge(this[e(344)],t,this[e(334)],this[e(341)]);this[e(340)][e(329)](i)}[ko(327)](t){const e=ko,i=this[e(340)][e(323)](e=>e.id===t.id);this[e(340)][e(349)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=At(),So.insert=Nt().bind(null,"head"),So.domAPI=Tt(),So.insertStyleElement=Et();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-=368]})(t,e)}function To(){const t=["882581FMBnrc","content","8OcSBnS","2gmgNeq","Revision history","ck-reset_all","178236hrsPmz","span","619295ThMZsH","1277469eojrTZ","17197jnSWGu","135936HRQIma","setTemplate","3090LLWGnp","1177gtbvRD","ck-revision-history-sidebar__header","div","ck-revision-history-sidebar__header__label","4BoDEUp"];return(To=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(112693===-parseInt(e(380))/1*(-parseInt(e(373))/2)+-parseInt(e(381))/3+-parseInt(e(369))/4*(parseInt(e(378))/5)+parseInt(e(376))/6+parseInt(e(370))/7+-parseInt(e(372))/8*(-parseInt(e(379))/9)+-parseInt(e(383))/10*(parseInt(e(384))/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(371)]=wt.IconHistory,this[e(382)]({tag:e(386),attributes:{class:["ck",e(375),e(385)]},children:[i,{tag:e(377),attributes:{class:["ck",e(368)]},children:[ot(t,e(374))]}]})}}var No=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=At(),Ro.insert=Nt().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Et();St()(No.A,Ro);No.A&&No.A.locals&&No.A.locals;const Ao=Eo;function Mo(){const t=["22uwfAle","_requireRevisionName","get","76470oBNTZE","40cGTrBb","_removeRevision","1864392ydlQyC","div","find","selectRevision","ck-rounded-corners","removeRevision","startDate","revisionSelected","createdAt","locale","remove","delegate","setTemplate","8482698jInFYB","818481qYgVHL","select","add","unhighlight","revisionSetName","1499GzvlXr","194509HGrPhj","ck-revision-history-sidebar__timeline","575900EDgyEl","highlight","highlightRevisions","ck-reset","_revisions","timePeriodViews","setName","_addRevision","addRevision","_revisionActions","getTime","1276ouEUBP","8jXJlus","uiLanguage","revisionViews","ck-disabled","map","some","bindTemplate","render","deselect","ck-revision-history-sidebar","set","createCollection","_getTimePeriodViewByStartDate","isEnabled","flat","fire"];return(Mo=function(){return t})()}function Eo(t,e){const i=Mo();return(Eo=function(t,e){return i[t-=168]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(479159===parseInt(e(192))/1*(parseInt(e(223))/2)+-parseInt(e(187))/3+parseInt(e(207))/4*(parseInt(e(195))/5)+parseInt(e(173))/6+-parseInt(e(193))/7*(-parseInt(e(171))/8)+parseInt(e(186))/9+-parseInt(e(170))/10*(parseInt(e(206))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Vo extends _t.View{[Ao(200)];[Ao(199)];[Ao(204)];[Ao(168)];constructor(t,e,i,s){const n=Ao;super(t);const r=this[n(213)];this[n(200)]=this[n(218)](),this[n(200)][n(184)](n(188)).to(this),this[n(200)][n(184)](n(201)).to(this),this[n(199)]=e,this[n(204)]=i,this[n(168)]=s,this.on(n(188),(t,e)=>{const i=n;this[i(222)](i(180),e)}),this.on(n(201),(t,e)=>{const i=n;this[i(222)](i(191),e)}),this[n(217)](n(220),!1),this[n(185)]({tag:n(174),attributes:{class:["ck",n(198),n(177),n(216)]},children:[new xo(t),{tag:n(174),attributes:{class:["ck",n(194),r.if(n(220),n(210),t=>!t)]},children:this[n(200)]}]})}[Ao(214)](){const t=Ao;super[t(214)]();for(const e of this[t(199)])this[t(202)](e);this[t(199)].on(t(189),(e,i)=>{this[t(202)](i)}),this[t(199)].on(t(183),(e,i)=>{this[t(172)](i)})}get[Ao(209)](){const t=Ao;return this[t(200)][t(211)](e=>e[t(209)][t(211)](t=>t))[t(221)]()}[Ao(176)](t){const e=Ao;for(const i of this[e(209)])t&&t.id===i.id?i[e(188)]():i[e(215)]()}[Ao(197)](t){const e=Ao;for(const i of this[e(209)])t[e(212)](({id:t})=>t===i.id)?i[e(196)]():i[e(190)]()}[Ao(202)](t){const e=Ao,i=vo(t[e(181)],this[e(182)][e(208)])[e(179)];let s=this[e(200)][e(169)](0);s&&s[e(179)][e(205)]()===i[e(205)]()||(s=new _o(this[e(182)],i,this[e(204)],this[e(168)]),this[e(200)][e(189)](s)),s[e(203)](t)}[Ao(172)](t){const e=Ao,i=vo(t[e(181)],this[e(182)][e(208)])[e(179)];this[e(219)](i)[e(178)](t)}[Ao(219)](t){const e=Ao;return this[e(200)][e(175)](i=>i[e(179)][e(205)]()===t[e(205)]())}}const Do=Fo;function Co(){const t=["revisionHistory.requireRevisionName","ready","name","_revisionViewer","defaultRevisionActions","5648632cHWGlh","isOfficialPlugin","revisionViews","29206zMfOfE","_sidebarView","revisionSetName","Compare against selected","_handleRevisionSelected","editor","getRevision","init","plugins","restoreRevision","select","fieldView","_handleEditorDataReady","action","locale","diff","data","appendChild","Name this revision","5550sxjLzq","16079DbSsYH","map","66631944CRSKxr","2034yCjKPV","revisionHistory","newRevisionId","Restore this revision","string","getEarlierVisibleRevision","551032xYTolt","30dsDIoQ","revisionHistory.viewerSidebarContainer","9uzuMOs","getRevisionsInDiff","nameRevision","compareAgainstSelected","destroy","setName","listenTo","add","remove","_revisionsRepository","getLaterVisibleRevision","focus","timePeriodViews","getIndex","requires","element","_handleDiffChange","pluginName","get","availableRevisionActions","103iWCorK","isReady","_createRevisionActions","4115763xIDEgW","render","RevisionsSidebar","length","revisionSelected","change:diff","bind","restoreRevisionCallback","isPremiumPlugin","assign","repository","selectRevision","isEnabled","17567LaVAno","compare","isSelected","config","revisionHistory.revisionActions","_revisions","_handleRevisionSetName","highlightRevisions","isVisible"];return(Co=function(){return t})()}function Fo(t,e){const i=Co();return(Fo=function(t,e){return i[t-=273]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(891145===parseInt(e(286))/1*(-parseInt(e(319))/2)+-parseInt(e(289))/3+-parseInt(e(348))/4*(parseInt(e(349))/5)+parseInt(e(342))/6*(-parseInt(e(339))/7)+parseInt(e(316))/8*(parseInt(e(351))/9)+-parseInt(e(338))/10*(parseInt(e(302))/11)+parseInt(e(341))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Co);class Lo extends J.Plugin{[Do(314)];[Do(275)];[Do(320)];static[Do(315)]=[Do(354),Do(328),Do(353)];static[Do(285)]=function(){const t=Do;return{compareAgainstSelected:{name:t(322),action:({plugins:e},i)=>{const s=t,n=e[s(284)](oe),r=n[s(299)];let o=n[s(334)][s(344)],a=i.id;r[s(279)](o)>r[s(279)](a)&&([o,a]=[a,o]),n[s(303)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(284)](oe);return!(n[s(299)][s(352)](n[s(334)])[s(292)]>2||i[s(304)])}},restoreRevision:{name:t(345),action:(e,{id:i})=>{const s=t;e[s(305)][s(284)](s(343))[s(296)](i)},isVisible:({plugins:e},i)=>!!e[t(284)](oe)[t(299)][t(276)](i.id)},nameRevision:{name:t(337),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(284)](oe),o=r[n(299)][n(347)](i);r[n(303)](i,o),s[n(277)](),s[n(330)][n(329)]()}}}}();static get[Do(283)](){return Do(291)}static get[Do(317)](){return!0}static get[Do(297)](){return!0}static get[Do(280)](){return[oe]}constructor(t){const e=Do;super(t),this[e(314)]=t[e(327)][e(284)](oe),this[e(275)]=this[e(314)][e(299)],this[e(320)]=null}[Do(326)](){const t=Do,e=this[t(275)][t(307)],i=this[t(288)](),s=this[t(324)][t(305)][t(284)](t(350));this[t(320)]=new Vo(this[t(324)][t(333)],e,i,this[t(324)][t(305)][t(284)](t(311))),this[t(320)].on(t(293),this[t(323)][t(295)](this)),this[t(320)].on(t(321),this[t(308)][t(295)](this)),this[t(320)][t(295)](t(301)).to(this[t(314)]),this[t(320)][t(278)].on(t(273),(e,i)=>{const s=t;i[s(318)].on(s(273),(t,e)=>{const i=s;e[i(295)](i(301),i(287)).to(this[i(314)])})}),this[t(320)][t(290)](),this[t(357)](this[t(324)][t(335)],t(312),this[t(331)][t(295)](this)),this[t(357)](this[t(314)],t(294),this[t(282)][t(295)](this)),s[t(336)](this[t(320)][t(281)])}[Do(355)](){const t=Do;this[t(320)][t(281)][t(274)](),this[t(320)][t(355)]()}[Do(331)](){const t=Do,e=this[t(275)][t(325)](0);if(e){const i=this[t(275)][t(347)](e.id);this[t(314)][t(303)](e,i)}}[Do(323)](t,e){const i=Do,s=this[i(275)][i(325)](e.id),n=this[i(275)][i(347)](s.id);this[i(314)][i(303)](s,n)}[Do(308)](t,e){const i=Do;this[i(275)][i(325)](e.id)[i(356)](e[i(313)])}[Do(282)](t,e,i){const s=Do,n=this[s(275)][s(352)](i);n[s(292)]>2?(this[s(320)][s(309)](n),this[s(320)][s(300)](null)):(this[s(320)][s(309)]([]),this[s(320)][s(300)](n[0]))}[Do(288)](){const t=Do,e=this[t(324)],i=Lo[t(285)],s=e[t(305)][t(284)](t(306))||Lo[t(315)];if(s[t(292)])return s[t(340)](s=>{const n=t,r=n(346)==typeof s?Object[n(298)]({},i[s]):s;return r[n(332)]=r[n(332)][n(295)](this,e),r[n(310)]&&(r[n(310)]=r[n(310)][n(295)](this,e)),r})}}const jo=Po;function Po(t,e){const i=zo();return(Po=function(t,e){return i[t-=210]})(t,e)}function zo(){const t=["editing","530352fbVcTI","config","view","render","name","attachDomRoot","document","toolbar","140hQthOq","159097nPTAmq","fire","editor","componentFactory","get","getRoot","90LRFbLt","detachDomRoot","_view","1484652bipgMT","fillFromConfig","destroy","addToolbar","stickyPanel","bind","isFocused","_initToolbar","11935totyyH","setEditableElement","focusTracker","init","viewportTopOffset","657246BWpzic","42iEieMK","restore","limiterElement","ready","editable","isActive","51227wqHNsX","_elementReplacer","rootName","4kbahfd","element","replace","viewportOffset","_toolbarConfig","11781360TvLAGd"];return(zo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(904640===parseInt(e(234))/1*(parseInt(e(218))/2)+parseInt(e(256))/3+-parseInt(e(233))/4*(-parseInt(e(251))/5)+parseInt(e(243))/6*(parseInt(e(257))/7)+parseInt(e(225))/8+-parseInt(e(223))/9+-parseInt(e(240))/10*(-parseInt(e(215))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Wo extends _t.EditorUI{[jo(242)];[jo(222)];[jo(216)];get[jo(227)](){return this[jo(242)]}constructor(e,i){const s=jo;super(e),this[s(242)]=i,this[s(222)]=(0,_t.normalizeToolbarConfig)(e[s(226)][s(238)](s(232))),this[s(216)]=new t.ElementReplacer}get[jo(219)](){const t=jo;return this[t(227)][t(219)]}[jo(254)](t){const e=jo,i=this[e(236)],s=this[e(227)],n=i[e(224)][e(227)],r=s[e(213)],o=n[e(231)][e(239)]();r[e(229)]=o[e(217)],s[e(228)]();const a=r[e(219)];this[e(252)](r[e(229)],a),s[e(213)][e(248)](e(249)).to(this[e(253)]),n[e(230)](a),this[e(216)][e(220)](t,this[e(219)]),this[e(250)](),this[e(235)](e(212))}[jo(245)](){const t=jo;super[t(245)]();const e=this[t(227)],i=this[t(236)][t(224)][t(227)];this[t(216)][t(210)](),i[t(241)](e[t(213)][t(229)]),e[t(245)]()}[jo(250)](){const t=jo,e=this[t(227)];e[t(247)][t(248)](t(214)).to(this[t(253)],t(249)),e[t(247)][t(211)]=e[t(219)],e[t(247)][t(248)](t(255)).to(this,t(221),({top:t})=>t),e[t(232)][t(244)](this[t(222)],this[t(237)]),this[t(246)](e[t(232)])}}var Uo=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=At(),Zo.insert=Nt().bind(null,"head"),Zo.domAPI=Tt(),Zo.insertStyleElement=Et();St()(Uo.A,Zo);Uo.A&&Uo.A.locals&&Uo.A.locals;var Ho=qo;function qo(t,e){var i=Bo();return(qo=function(t,e){return i[t-=343]})(t,e)}!function(t){for(var e=qo,i=t();;)try{if(607391===parseInt(e(351))/1+-parseInt(e(357))/2*(parseInt(e(363))/3)+-parseInt(e(361))/4*(-parseInt(e(355))/5)+parseInt(e(360))/6+-parseInt(e(344))/7*(-parseInt(e(350))/8)+-parseInt(e(354))/9+parseInt(e(349))/10*(parseInt(e(343))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class $o extends _t.BoxedEditorUIView{[Ho(358)];[Ho(348)];[Ho(347)];get[Ho(359)](){return this[Ho(358)]}constructor(t,e,i={}){var s=Ho;super(t),this[s(348)]=new _t.StickyPanelView(t),this[s(347)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[s(345)]}),this[s(358)]=new _t.InlineEditableUIView(t,e)}[Ho(352)](){var t=Ho;super[t(352)](),this[t(348)][t(353)][t(362)](this[t(347)]),this[t(346)][t(362)](this[t(348)]),this[t(356)][t(362)](this[t(359)])}}function Bo(){var t=["970270kuWWeA","main","2672romqPL","_editable","editable","3066900SwnXlZ","12NijzDR","add","2157DFFfBR","5599231yifnhJ","14mrUUsI","shouldToolbarGroupWhenFull","top","toolbar","stickyPanel","10cgocZG","1972720ENtoTE","258131RXTsMB","render","content","7071021MDBrsM"];return(Bo=function(){return t})()}const Yo=Jo;function Jo(t,e){const i=Ko();return(Jo=function(t,e){return i[t-=421]})(t,e)}!function(t){const e=Jo,i=t();for(;;)try{if(582174===-parseInt(e(448))/1*(parseInt(e(438))/2)+-parseInt(e(423))/3+-parseInt(e(425))/4+-parseInt(e(451))/5*(-parseInt(e(432))/6)+parseInt(e(436))/7*(parseInt(e(428))/8)+parseInt(e(447))/9*(-parseInt(e(429))/10)+parseInt(e(442))/11*(parseInt(e(444))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Go extends((0,J.ElementApiMixin)(J.Editor)){[Yo(449)];get ui(){return this[Yo(449)]}constructor(t,e){const i=Yo;super(e),this[i(445)]=t,this[i(422)][i(437)][i(433)]();const s=new $o(this[i(441)],this[i(427)][i(439)],{shouldToolbarGroupWhenFull:!0});this[i(449)]=new Wo(this,s)}[Yo(440)](){const t=Yo;return this[t(424)](),this.ui[t(440)](),super[t(440)]()}static async[Yo(435)](t,e){const i=Yo,s=new this(t,e);return await s[i(434)](),await s.ui[i(446)](t),await s[i(426)][i(446)](s[i(421)][i(443)](i(430))||""),s[i(450)](i(431)),s}}function Ko(){const t=["26102256PgcfhN","sourceElement","init","8091ariLXC","8914kGDPJU","_ui","fire","25auAMiY","config","model","3069894KGUOID","updateSourceElement","3794484HRxGLT","data","editing","1003440iIzOLJ","10030iqvAYT","initialData","ready","708504lRRUCe","createRoot","initPlugins","create","42kfgtWx","document","14fLLVvZ","view","destroy","locale","11rHPZXV","get"];return(Ko=function(){return t})()}const Xo=Qo;function Qo(t,e){const i=ta();return(Qo=function(t,e){return i[t-=421]})(t,e)}function ta(){const t=["getUser","RevisionHistoryUI","removeMarker","map","getRevisionDocumentData","_closeRevisionViewer","addRoot","_cleanUp","view","isOpen","catch","fromVersion","revision-history-viewer-opened","numeric","update","13228UxXcdP","insert","getMarkersGroup","RevisionTracker","result","detachRoot","getRevisionRootsAttributes","config","781sSEsnl","closeRevisionViewerCallback","restoreRevision","exitToEditing","_showRevisionViewer","enableReadOnlyMode","toVersion","refreshPositioning","RevisionViewer","name","31870BhsmcM","removeSelectionAttribute","users","1775064uzjmUn","save","set","destroy","parse","plugins","define","restrictedEditingException","display","21knJOyn","Dialog","enqueueChange","isReady","repository","_enhanceCloseRevisionViewerCallback","isOfficialPlugin","creator","revisionHistory.editorContainer","revisionHistory.viewerEditorElement","requires","init","long","isReadOnly","saveRevision","getAttributeKeys","createdAt","join","DocumentOutlineUI","includes","removeAttribute","setSelection","addUser","indexOf","getRevision","then","commands","getRoot","toLocaleDateString","adapter","block","DocumentOutline","revisionHistory.restoreRevisionCallback","fromCharCode","1892015XWPFeE","Autosave","uiLanguage","RestrictedEditingMode","isAttached","revisionHistory.viewerContainer","lazyRoots","rootName","disableReadOnlyMode","roots","markers","toLocaleTimeString","model","getRevisions","isEnabled","2163788hqbMmt","isPremiumPlugin","bind","refreshVisibility","hide","has","_restoreRevision","get","toJSON","isAnonymous","error","selection","revisionHistory","setAttribute","toolbar","Restored","_enhanceShowRevisionViewerCallback","isRevisionViewerOpen","RevisionsRepository","_getRevisionViewerEditorConfig","keys","_recalculatePageBreaks","$graveyard","remove","change","RevisionHistory","66ryJwjR","data","Annotations","push","revisionHistory.closeRevisionViewerCallback","_viewerEditor","createRangeIn","document","create","_update","locale","changesNavigation","none","RevisionViewerIntegration","revisionHistory.requireRevisionName","revision-history-missing-configuration","pluginName","addRevisionData","loadRevisionData","RevisionHistoryUtils","from","452uMJEZR","translations","revisionHistory.showRevisionViewerCallback","PaginationLookup","style","element","1161000rtKnYj","showRevisionViewerCallback","end","editor","1251KUNhsE","Users"];return(ta=function(){return t})()}!function(t){const e=Qo,i=t();for(;;)try{if(235897===-parseInt(e(528))/1*(parseInt(e(493))/2)+-parseInt(e(472))/3*(parseInt(e(520))/4)+parseInt(e(431))/5+parseInt(e(541))/6+parseInt(e(550))/7*(-parseInt(e(499))/8)+parseInt(e(503))/9*(parseInt(e(538))/10)+-parseInt(e(446))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ea=[Xo(506),Xo(434)];class ia extends J.Plugin{[Xo(524)];static get[Xo(488)](){return Xo(485)}static get[Xo(556)](){return!0}static get[Xo(447)](){return!0}constructor(t){const e=Xo;function i(t){const e=Qo;return t[e(508)](t=>String[e(430)](t))[e(567)]("")}super(t),this[e(524)]=e(501),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(477)];static get[Xo(488)](){return Xo(471)}static get[Xo(556)](){return!0}static get[Xo(447)](){return!0}static get[Xo(560)](){return[pt,Ht]}constructor(e){const i=Xo;if(super(e),!this[i(502)][i(527)][i(453)](i(458)))throw new t.CKEditorError(i(487),this);this[i(477)]=null,this[i(543)](i(463),!1),this[i(502)][i(527)][i(547)](i(495),t=>this[i(532)]({...t,translations:this[i(502)][i(482)][i(494)]})),this[i(502)][i(527)][i(547)](i(476),t=>this[i(510)](t)),this[i(502)][i(527)][i(547)](i(429),t=>this[i(452)](t)),this[i(502)][i(527)][i(547)](i(486),!1),this[i(462)](),this[i(555)]()}set[Xo(426)](t){const e=Xo;this[e(502)][e(546)][e(453)](e(523))[e(426)]=t}get[Xo(426)](){const t=Xo;return this[t(502)][t(546)][t(453)](t(523))[t(426)]}[Xo(489)](t){const e=Xo;return this[e(502)][e(546)][e(453)](e(523))[e(489)](t)}[Xo(421)](t){const e=Xo;return this[e(502)][e(546)][e(453)](e(464))[e(421)](t)}[Xo(444)](t){const e=Xo;return this[e(502)][e(546)][e(453)](e(464))[e(444)](t||{toJSON:!1})}[Xo(465)](){const e=Xo,i=this[e(502)],s=(0,G.sanitizeEditorConfig)(i,ea),n=i[e(546)][e(453)](e(523)),r=i[e(546)][e(453)](e(504))[e(540)];return s[e(460)]=[e(531),e(530),e(483)],delete s[e(437)],s[e(546)][e(475)](ia,oe,xe,class extends J.Plugin{static get[e(560)](){return[oe,e(504)]}[e(561)](){const s=e,o=this[s(502)][s(546)][s(453)](s(504));for(const t of r)t[s(455)]||o[s(505)](t.id)||o[s(572)](t);const a=n[s(554)][s(444)]();let c=null;const u=this[s(502)][s(546)][s(453)](s(536));u[s(426)]=n[s(426)],u[s(448)](s(445)).to(n),this[s(502)][s(423)][s(453)](s(530))[s(448)](s(445)).to(i,s(563),t=>!t);for(const e of a){const i=null===e[s(557)];if(i&&e[s(534)]===e[s(516)])continue;const r=e[s(454)]();u[s(489)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(481)](r,o);else if(!o){const e=a[u(454)]();e.id=(0,t.uid)(),n[u(564)](e,a[u(534)])[u(422)](t=>{c=t})}}else e[u(481)](r,o)})}}},Lo),s}[Xo(462)](){const t=Xo,e=this[t(502)][t(527)][t(453)](t(458))[t(500)];this[t(502)][t(527)][t(543)](t(495),async()=>{const i=t;this[i(502)][i(533)](i(517));const s=this[i(502)][i(546)][i(453)](i(523));if(this[i(502)][i(546)][i(451)](i(432))){const t=this[i(502)][i(546)][i(453)](i(432));await t[i(542)]()}else await s[i(519)]();if(this[i(502)][i(546)][i(451)](i(496))&&this[i(502)][i(546)][i(453)](i(496))[i(467)](),this[i(502)][i(546)][i(451)](i(551))){const t=this[i(502)][i(546)][i(453)](i(551));t[i(514)]&&t[i(450)]()}const n=this[i(465)]();return e(n)[i(422)](t=>{const e=i;return this[e(477)]=t,this[e(502)][e(546)][e(451)](e(474))&&this[e(502)][e(546)][e(453)](e(474))[e(449)](),this[e(502)][e(546)][e(451)](e(428))&&(this[e(502)][e(546)][e(453)](e(568))[e(513)][e(498)][e(497)][e(549)]=e(484)),t})[i(515)](t=>(console[i(456)](t),this[i(502)][i(439)](i(517)),null))})}[Xo(555)](){const t=Xo,e=this[t(502)][t(527)][t(453)](t(458))[t(529)];this[t(502)][t(527)][t(543)](t(476),()=>(this[t(502)][t(546)][t(451)](t(496))&&this[t(502)][t(546)][t(453)](t(496))[t(467)](),this[t(502)][t(546)][t(451)](t(428))&&(this[t(502)][t(546)][t(453)](t(568))[t(513)][t(498)][t(497)][t(549)]=""),this[t(477)][t(546)][t(453)](t(536))[t(512)](),e(this[t(477)])[t(422)](()=>{const e=t;if(this[e(502)][e(439)](e(517)),this[e(477)]=null,this[e(502)][e(546)][e(451)](e(474))){const t=this[e(502)][e(546)][e(453)](e(474));t[e(449)](),t[e(535)]()}})))}[Xo(532)](t){const e=Xo,i=this[e(502)][e(527)][e(453)](e(558)),s=this[e(502)][e(527)][e(453)](e(436)),n=this[e(502)][e(527)][e(453)](e(559));return Go[e(480)](n,t)[e(422)](t=>(s[e(497)][e(549)]=e(427),i[e(497)][e(549)]=e(484),this[e(463)]=!0,t))}[Xo(510)](t){const e=Xo,i=this[e(502)][e(527)][e(453)](e(558));return this[e(502)][e(527)][e(453)](e(436))[e(497)][e(549)]=e(484),i[e(497)][e(549)]="",this[e(463)]=!1,t[e(544)]()}async[Xo(452)](t){const e=Xo,i=this[e(502)],s=this[e(477)][e(546)][e(453)](e(536)),n=i[e(546)][e(453)](e(523)),r=i[e(546)][e(453)](e(491)),o=s[e(554)][e(421)](t);let a,c,u;try{await r[e(490)](o,this[e(426)]),a=r[e(509)](o),c=r[e(526)](o)}catch(t){return void console[e(456)](t)}i[e(443)][e(470)](t=>{const s=e;for(const e of Array[s(492)](i[s(443)][s(441)][s(522)](s(548))))t[s(507)](e)}),s[e(553)]=!1,i[e(443)][e(552)](t=>{const s=e;t[s(571)](null),t[s(539)](i[s(443)][s(479)][s(457)][s(565)]());const n=Object[s(466)](a);for(const e of i[s(443)][s(479)][s(440)])s(468)!=e[s(438)]&&e[s(435)]()&&!n[s(569)](e[s(438)])&&t[s(525)](e);for(const e of n){let n=i[s(443)][s(479)][s(424)](e);n&&n[s(435)]()||(n=t[s(511)](e));const r=c[e],o=Object[s(466)](r),u=a[e];for(const e of n[s(565)]())o[s(569)](e)||t[s(570)](e,n);for(const i of o)t[s(459)](i,c[e][i],n);t[s(469)](t[s(478)](n)),t[s(521)](i[s(473)][s(545)](u,n),n,0)}});const l=ot(i[e(482)],e(461));return u=o[e(537)]?-1==o[e(537)][e(573)](l)?l+": "+o[e(537)]:o[e(537)]:l+": "+o[e(566)][e(425)](i[e(482)][e(433)],{month:e(562),day:e(518)})+", "+o[e(566)][e(442)](i[e(482)][e(433)],{hour:e(518),minute:e(518)}),await n[e(564)]({name:u}),s[e(553)]=!0,i[e(527)][e(453)](e(458))[e(529)]()}}function na(){var t=["2067538lJiBqO","5377PfoNxR","24WTtFwj","13480KKgeox","5135530kMNFfV","47655ZUcYhF","1755558alFFdH","608132toMYxs","2037JHoUEr","3cyuZfv","36CgrLzN","114IODRIc"];return(na=function(){return t})()}function ra(t,e){var i=na();return(ra=function(t,e){return i[t-=302]})(t,e)}!function(t){for(var e=ra,i=t();;)try{if(275698===parseInt(e(304))/1*(-parseInt(e(302))/2)+-parseInt(e(312))/3*(-parseInt(e(310))/4)+parseInt(e(308))/5*(parseInt(e(305))/6)+parseInt(e(311))/7*(-parseInt(e(306))/8)+-parseInt(e(309))/9+parseInt(e(307))/10+parseInt(e(303))/11*(parseInt(e(313))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(na)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();