@ckeditor/ckeditor5-revision-history 46.0.0-alpha.7 → 46.0.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:()=>he,Revision:()=>B,RevisionHistory:()=>sa,RevisionHistoryUI:()=>Ht,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Xo,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Po,ShowChangeCommand:()=>de});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,R=void 0){const A=R?.(t,e,i,n);if(null!=A)return A;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,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;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,R));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,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);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,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 n.set(t,e),N(e,t,i,n,R),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,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),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,R),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,R),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 R(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 A(t){return R(t)}function M(t){return"__proto__"===t}function E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&E(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function P(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&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function L(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function W(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 U(t,e,i){return function(t,e,i,n){if(null==t&&!W(t))return t;const s=P(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=L(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:W(i)?i:C(s[e+1])?[]:{}}V(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?Z(e)?H(t,z(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(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;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function $(t,e){const i=H(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const q=Y;!function(t){const e=Y,i=t();for(;;)try{if(635677===parseInt(e(381))/1+parseInt(e(403))/2+parseInt(e(382))/3+-parseInt(e(387))/4*(parseInt(e(405))/5)+parseInt(e(390))/6*(-parseInt(e(386))/7)+parseInt(e(398))/8+-parseInt(e(399))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(G);class B extends((0,t.ObservableMixin)()){id;[q(395)];[q(385)];[q(394)];[q(393)];[q(389)];[q(406)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(395)]=e[i(395)]||null,this[i(385)]=e[i(385)]||[],this[i(394)]=e[i(394)]||null,this[i(393)]=e[i(393)]||0,this[i(389)]=e[i(389)]||0,this[i(388)](i(392),e[i(392)]||""),this[i(388)](i(401),e[i(401)]||new Date),this[i(388)](i(397),e[i(397)]||{})}[q(400)](t){this[q(383)]({name:t})}[q(380)](t,e){const i=q,n=A(this[i(397)]);U(n,t,e),this[i(383)]({attributes:n})}[q(404)](t){const e=q,i=A(this[e(397)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return $(t,e);if("number"==typeof e?e=L(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Z(e))return $(t,z(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(383)]({attributes:i})}[q(383)](t,e=!1){const i=q;let n=!1;const s={id:this.id},r=[i(392),i(401),i(394),i(385),i(397),i(393),i(389),i(391)];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(385)]&&(s[i(402)]=s[i(385)][i(396)](t=>t.id),delete s[i(385)]),this[i(379)](i(383),s,e))}[q(384)](){const t=q;return{id:this.id,name:this[t(392)],creatorId:this[t(395)]?this[t(395)].id:null,authorsIds:this[t(385)][t(396)](t=>t.id),diffData:this[t(394)],createdAt:this[t(401)],attributes:this[t(397)],fromVersion:this[t(389)],toVersion:this[t(393)]}}}function Y(t,e){const i=G();return(Y=function(t,e){return i[t-=379]})(t,e)}function G(){const t=["toJSON","authors","820078EBokwF","20yMaACW","set","fromVersion","6mYXDrP","creatorId","name","toVersion","diffData","creator","map","attributes","8833616xWzNBf","13113252BWqsVh","setName","createdAt","authorsIds","136446HSccFI","removeAttribute","552550CtThpP","model","fire","setAttribute","1197528MoqKQD","1177368PvreZQ","_update"];return(G=function(){return t})()}var J=i(782),K=i(211),X=i(783);function Q(t,e){const i=et();return(Q=function(t,e){return i[t-=229]})(t,e)}const tt=Q;function et(){const t=["5876675Anknfv","push","2363236ghtorU","getLaterVisibleRevision","earlier","attributes","oldRevisionId","28215otrPSr","reverse","fromVersion","pluginName","creatorId","6Mbhony","6256413YdjjRH","643660fDdYry","fromCharCode","name","1251946axUVNa","RevisionsRepository","isPremiumPlugin","getEarlierVisibleRevision","_revisions","authorsIds","getRevisionsIterator","plugins","add","requires","836vhydjI","length","href","from","toVersion","data","getRevisionsInDiff","join","getUser","getRevisions","toJSON","getIndex","later","isNaN","get","editor","diffData","4134128zQgCvt","createRevision","addRevision","Users","createdAt","map","getRevision","isOfficialPlugin","21klyNBo","afterInit","newRevisionId","66GJlmcw"];return(et=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(988397===-parseInt(e(258))/1+-parseInt(e(243))/2+-parseInt(e(248))/3*(-parseInt(e(268))/4)+-parseInt(e(241))/5*(parseInt(e(253))/6)+parseInt(e(237))/7*(parseInt(e(229))/8)+parseInt(e(254))/9+parseInt(e(255))/10*(parseInt(e(240))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends J.Plugin{[tt(262)];static get[tt(267)](){return[K.Users]}static get[tt(251)](){return tt(259)}static get[tt(236)](){return!0}static get[tt(260)](){return!0}get[tt(269)](){const t=tt;return this[t(262)][t(269)]}constructor(e){const i=tt;super(e),this[i(262)]=new t.Collection}[tt(238)](){!async function(e){const i=k([67,98,77,84,83,103,66,99,73,68,107,54,104,89,79,72,65,116,75,108,100,115,90,114,48,117,71,78,55,109,81,106,80,119,50,52,87,97,110,111,51,57,102,112,70,69,88,113,122,74,56,118,105,82,120,49,121,53,86,101,85,76]),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(281)](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([67]);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(234)](t=>String[e(256)](t))[e(275)]("")}!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:1751932800;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(270)]);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)}[tt(230)](t){const e=tt,i=this[e(283)][e(265)][e(282)](e(232));return new B({id:t.id,name:t[e(257)],creator:t[e(252)]?i[e(276)](t[e(252)]):null,diffData:t[e(284)]||t[e(273)],authors:t[e(263)][e(234)](t=>i[e(276)](t)),createdAt:new Date(t[e(233)]),attributes:t[e(246)],fromVersion:t[e(250)],toVersion:t[e(272)]})}[tt(231)](t,e=0){const i=tt;this[i(262)][i(266)](t,e)}[tt(235)](t){const e=tt;return this[e(262)][e(282)](t)}[tt(277)](t={toJSON:!1}){const e=tt,i=Array[e(271)](this[e(262)]);return i[e(249)](),t[e(278)]?i[e(234)](t=>t[e(278)]()):i}[tt(279)](t){const e=tt;return this[e(262)][e(279)](t)}[tt(261)](t){const e=tt,[,i]=this[e(264)](t,{direction:e(245)});return i}[tt(244)](t){const e=tt,[,i]=this[e(264)](t,{direction:e(280)});return i}[tt(274)](t){const e=tt,i=[];for(const n of this[e(264)](t[e(239)]))if(i[e(242)](n),n.id===t[e(247)])break;return i}*[tt(264)](t,{direction:e=tt(245),filter:i=()=>!0}={}){const n=tt,s=n(245)===e?1:-1;let r=this[n(262)][n(282)](t),o=this[n(279)](r);for(yield r;r;){if(o+=s,r=this[n(235)](o),!r)return;i(r)&&(yield r)}}}const nt=st;function st(t,e){const i=rt();return(st=function(t,e){return i[t-=302]})(t,e)}function rt(){const t=["editing","attachChange","_setCustomProperty","createElement","isAttached","view","data-revision-","_getViewFromDiffObj","getRevision","_removeRevisionMarkers","21679416dGzbwc","getRevisionRootsAttributes","innerHTML","domChildrenToView","revision-start","domDocument","attributes","collaboration.channelId","from","parse","editor","type","domConverter","1ORdjMW","forEach","startsWith","insertions","isPremiumPlugin","childNodes","data","409938SxguMY","toModel","596323ZMzqpt","diffData","fillerOffset","document","div","_typeCharToViewClass","htmlProcessor","253320tpkCfF","4463990pKIfqr","RevisionHistoryUtils","render","_appendChild","_getTypeCharForViewElement","isOfficialPlugin","children","toData","useFillerType","processor","viewChildrenToDom","string","default","getRevisionDocumentData","pluginName","constructor","56IwdroK","5550912abNIeL","getFillerOffset","config","marked","revision-end","1231134eWnhBU","length","filter","name","_makeModelFromViewString","_viewClassToTypeChar","map","attributesAfter","customProperties","loadRevisionData","append","get"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(557466===parseInt(e(346))/1*(parseInt(e(353))/2)+parseInt(e(311))/3+-parseInt(e(362))/4+parseInt(e(363))/5+parseInt(e(306))/6+-parseInt(e(355))/7*(-parseInt(e(305))/8)+-parseInt(e(333))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends J.Plugin{static get[nt(303)](){return nt(364)}static get[nt(368)](){return!0}static get[nt(350)](){return!0}[nt(316)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(360)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(320)](t,e){const i=nt;if(t[i(356)]||!e)return;const n=this[i(343)][i(308)][i(322)](i(340)),s=await e[i(331)]({channelId:n,revisionId:t.id});t[i(356)]=s[i(356)]}[nt(302)](t){const e=nt,i={};for(const n in t[e(356)]){if(t[e(356)][n][e(324)]&&!t[e(356)][n][e(324)][e(327)])continue;const s=this[e(332)](JSON[e(342)](t[e(356)][n][e(349)])),r=this[e(343)][e(323)][e(328)][e(358)],o=new X.ViewDocumentFragment(r,s[e(317)](t=>this[e(330)](t,!1)));this[e(343)][e(352)][e(372)][e(371)](e(309)),i[n]=this[e(343)][e(352)][e(372)][e(370)](o),this[e(343)][e(352)][e(372)][e(371)](e(375))}return i}[nt(334)](t){const e=nt,i={};for(const n in t[e(356)])t[e(356)][n][e(324)]&&!t[e(356)][n][e(324)][e(327)]||(i[n]=t[e(356)][n][e(318)]||{});return i}[nt(367)](t){const e=nt;return this[e(316)][e(322)](t[e(304)])}[nt(330)](t,e){const i=nt,n=this[i(343)][i(323)][i(328)][i(358)];if(i(374)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(344)]||"r"==t[i(344)]?[]:t[i(369)][i(317)](t=>this[i(330)](t,e));const o=this[i(360)][i(322)](t[i(344)])||X.ViewElement,a=this[i(343)][i(352)][i(361)][i(345)];if(s=new o(n,t[i(314)],t[i(339)],r),"u"==t[i(344)]&&t[i(369)][0]){const r=t[i(369)][0];if(s[i(365)]=function(t){const e=i,n=t[e(326)](e(359));return n[e(335)]=r,n[e(351)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(366)](s);const e=Array[i(341)](a[i(373)](t,{bind:!1})),r=a[i(338)][i(326)](i(359));r[i(321)](...e),s=Array[i(341)](a[i(336)](r))[0]}}else if("r"==t[i(344)]&&t[i(369)][0]){const r=t[i(369)][0];if(s[i(365)]=function(t){t[i(335)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(366)](s);const e=Array[i(341)](a[i(373)](t,{bind:!1})),r=a[i(338)][i(326)](i(359));r[i(321)](...e);const o=Array[i(341)](a[i(336)](r));o[i(312)]>1?s[i(366)](o):s=o[0]}}if(t[i(319)])for(const[e,n]of t[i(319)])s[i(325)](e,n);const c=void 0===t[i(357)]?null:t[i(357)];return null!==c&&(s[i(307)]=()=>c),s}}[nt(315)](t){const e=nt,i=JSON[e(342)](t),n=this[e(343)][e(323)][e(328)][e(358)],s=new X.ViewDocumentFragment(n,i[e(317)](t=>this[e(330)](t,!0)));return this[e(343)][e(352)][e(354)](s)}[nt(332)](t){const e=nt;return(t=t[e(313)](t=>!t[e(314)]||e(337)!==t[e(314)]&&e(310)!==t[e(314)]))[e(347)](t=>{const i=e;i(374)!=typeof t&&(t[i(369)]=this[i(332)](t[i(369)]),t[i(339)]=t[i(339)][i(313)](t=>!t[0][i(348)](i(329))))}),t}}function at(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 ct(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 ut(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 lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),R=s(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 E(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=(n=n??new Map).get(t),M=n.get(i);if(null!=A&&null!=M)return A===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)||!ut(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=>ut(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(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(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(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}function ft(t,e){const i=pt();return(ft=function(t,e){return i[t-=230]})(t,e)}const mt=ft;function pt(){const t=["getChildren","fromEntries","isOfficialPlugin","_startingVersion","createRangeIn","_lastTo","_calculateMetaData","buildRevisionData","saveRevision","type","updateRevisions","insert","_findInsertionIndex","marker","_initialRevisionId","_isPendingUpdate","innerHTML","licenseKey","reInit","keys","createPositionAt","RealTimeCollaborationClient","authorsIds","_applyOperations","map","find","getRevisionDocumentData","revisionHistoryLicenseKeyExpired","RevisionsRepository","clone","then","revisionHistory.resumeUnsavedRevision","elementEnd","domConverter","_getTypeCharForViewElement","range","max","nodes","revision:","_transformMarkers","domDocument","2745783hRHNKb","init","push","getRevisionRootsAttributes","toVersion","source","initial","featureNotAllowed","_touchedRoots","_getPreviousFrom","_handleSplitOperation","from","_source","upcast","_fixPosition","_getVidAttributeName","has","_insertChild","bind","getFillerOffset","_getBaseVids","_fixRange","config","_addPendingAction","_makeModelFromViewString","roots","toView","dataToMarker","delete","Initial revision","getAncestors","rootName","keepParagraph","trim","usageLimit","getRevision","revisionHistoryLicenseKeyInvalid","_markChanges","_showLicenseError","revisionHistoryLicenseKeyValid","sort","nodeAfter","changeRootAttribute","_baseRoots","deletion","revisionHistoryLicenseKeyEvaluationLimit","userId","getWalker","setSource","move","document","reverse","deletions","_handleRootOperation","addRoot","_setConversion","fillerOffset","_createCurrentRevision","merge","requires","dataDowncast","splitPosition","length","RevisionHistory","getTransformedByOperation","add","vid","markers","getUser","_markers","initialData","for","pluginName","tableCell","_isAttached","getAttribute","name","$graveyard","children","childCount","sendBufferedUpdates","isPremiumPlugin","_handleMoveOperation","PENDING_ACTION_REVISION_HISTORY","_baseRootsAttributes","_baseIdsRoots","setRevisionData","model","stickiness","_bufferedUpdates","includes","customProperties","revisionHistoryLicenseKeyDomainLimit","start","getMovedRangeStart","editor-initial-data-replaced-with-revision-data","_createInitialRevision","previousPosition","sourcePosition","attributesBefore","_licenseKeyCheckInterval","168hIsagS","_utils","RevisionHistoryUtils","_generateTape","getLatestVersion","_revisionDataBuilder","resolve","_getState","_handleRootAttributeOperation","Empty document","invalid","editor","createPositionAfter","stringify","_pendingAction","_execute","insertions","vid_end","revisionHistoryLicenseKeyTrialLimit","_fixOperation","baseVersion","locale","getCustomProperties","htmlProcessor","string","_appendChild","trialLimit","afterInit","expired","_continueCurrentRevision","createdAt","getAttributes","loadState","getNodeByPath","_startingRevisionId","newValue","getOperation","getOperations","text","item","destroy","plugins","elementStart","filter","isAttached","update","attachChange","creatorId","_loadedStateData","_lastFrom","uiElement","root","10468FbKFpX","_idsRoots","removeRootAttribute","getCurrentRevisionId","newRange","startsWith","hasContent","authors","6080052eGBMDx","getRange","insertionPosition","_touched","adapter","evaluationLimit","position","createRevision","$comment","_diffRootsAttributes","12hodMXS","createPositionBefore","detachRoot","_reset","version","_savedMetaData","fromVersion","getChild","isAdd","isEnabled","_authorId","paragraph","howMany","Users","_processRootBeforeSave","repository","finally","ready","_update","set","affectsData","slice","_touchedMarkers","diffData","currentRevision","addRootAttribute","targetPosition","_loadState","reinsert","clear","3419512dYrAPd","_isInit","createPositionFromPath","insertion","getData","25834761TgwuLQ","end","values","_handleMergeOperation","_setAttribute","offsetSize","_bufferUpdate","collaboration.channelId","PendingActions","addRevision","outerHTML","getIndex","size","_getViewJson","_handleMarkerOperation","_prepareViewToSave","_handleOperation","parent","key","offset","oldRange","getRootNames","loadRevisionData","conversion","_cloneOperation","data","1556604YVZvYp","1384690vyYmjj","remove","_getFromVersion","NEGATIVE_INFINITY","graveyardPosition","rootsAttributes","_revisionId","_copyMarkers","domainLimit","_handleInsertOperation","markerToData","element","isReady","path","creator","vid_start","addRevisionData","getRevisions","revisionHistoryLicenseKeyUsageLimit","get","_createFromRanges","_replaceEditorDataWithRevisionData","some","_diffRoots","$text","_makeRevision","_saveMetaData","RevisionTracker","documentFragment","_clone","getTime","rawElement","define","revisionHistoryLicenseKeyNotAllowed","_makeIdsRoot","render","split","isEqual","revision","attributesAfter","getRoot","_removePendingAction","_operations","_removeMetaData","history","createElement","shift","createRange"];return(pt=function(){return t})()}!function(t){const e=ft,i=t();for(;;)try{if(688361===-parseInt(e(334))/1*(parseInt(e(282))/2)+-parseInt(e(503))/3+parseInt(e(352))/4*(parseInt(e(414))/5)+-parseInt(e(342))/6+parseInt(e(413))/7+-parseInt(e(382))/8+parseInt(e(387))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends J.Plugin{[mt(479)];[mt(281)];[mt(376)]=null;[mt(367)];[mt(346)]=null;[mt(287)];[mt(515)];[mt(476)];[mt(270)];[mt(283)];[mt(296)];[mt(311)];[mt(465)];[mt(330)];static get[mt(253)](){return mt(441)}static get[mt(464)](){return!0}static get[mt(262)](){return!0}static get[mt(240)](){return[K.Users,it,ot,J.PendingActions]}constructor(e){const i=mt;super(e),this[i(367)]=this[i(293)][i(323)][i(433)](i(490)),this[i(283)]=this[i(293)][i(323)][i(433)](i(284)),this[i(287)]=new gt(this[i(293)]),this[i(476)]=this[i(293)][i(525)][i(433)](i(394))||i(509),this[i(270)]=new Map,this[i(330)]=null;const n=(0,t.uid)();this[i(515)]={history:this[i(293)][i(268)][i(231)][i(458)],getLatestVersion:()=>Promise[i(288)](this[i(293)][i(268)][i(231)][i(356)]),getCurrentRevisionId:()=>n},this[i(371)](i(426),!1),this[i(371)](i(361),!0),this[i(371)](i(477),!1),this[i(293)][i(525)][i(446)](i(493),!0),this[i(293)][i(410)][i(252)](i(516))[i(530)]({view:i(452)})}[mt(504)](){const t=mt;this[t(236)](),this[t(293)][t(412)].on(t(369),()=>{const e=t,i=this[e(367)][e(538)](0),n=i&&null===i[e(428)]?i:null;if(this[e(311)]=!!n&&this[e(293)][e(525)][e(433)](e(493)),this[e(293)][e(323)][e(519)](e(483))){const t=this[e(515)][e(337)](),s=this[e(367)][e(538)](t);if(s)this[e(465)]=s[e(358)],this[e(311)]=!1;else{const t=this[e(515)][e(458)][e(456)][e(487)](t=>!t[e(383)]),s=t?t[e(302)]:this[e(515)][e(458)][e(356)];i?(i[e(507)]<s&&i[e(370)]({toVersion:s}),this[e(311)]?(this[e(515)][e(337)]=()=>n.id,this[e(465)]=n[e(358)]):(this[e(465)]=i[e(507)],this[e(311)]=!1)):(this[e(465)]=s,this[e(311)]=!1)}}else n&&(this[e(293)][e(268)][e(231)][e(458)][e(356)]=Math[e(498)](n[e(507)],this[e(293)][e(268)][e(231)][e(458)][e(356)]),n[e(358)]===n[e(507)]?(0!==n[e(358)]&&(this[e(515)][e(337)]=()=>n.id),this[e(311)]=!1):this[e(311)]&&(this[e(515)][e(337)]=()=>n.id,this[e(465)]=n[e(358)])),this[e(311)]||(this[e(465)]=this[e(293)][e(268)][e(231)][e(356)]);this[e(287)][e(504)](this[e(515)][e(458)]),this[e(277)](this[e(465)]),this[e(238)](this[e(465)]),this[e(346)]&&this[e(261)]()}),this[t(521)](t(426)).to(this,t(477),t=>!t),this[t(479)]=this[t(293)][t(525)][t(433)](t(479));const e=this[t(293)];this[t(281)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(542)==r||i(539)==r||i(489)==r||i(273)==r||i(447)==r||i(548)==r||i(300)==r||i(432)==r){delete e[s],n=r,clearInterval(this[i(281)]),this[i(281)]=void 0;break}}i(539)==n&&e[i(541)](i(292)),i(489)==n&&e[i(541)](i(310)),i(273)==n&&e[i(541)](i(422)),i(447)==n&&e[i(541)](i(510),i(244)),i(548)==n&&e[i(541)](i(347)),i(300)==n&&e[i(541)](i(308)),i(432)==n&&e[i(541)](i(537))},1e3)}async[mt(309)](){const t=mt;if(this[t(367)][t(243)]>0){const e=this[t(367)][t(538)](0),i=await this[t(488)](e),n=await this[t(506)](e);this[t(435)](i,n)}}[mt(322)](){const t=mt;super[t(322)](),this[t(281)]&&clearInterval(this[t(281)])}[mt(551)](t){this[mt(515)]=t}async[mt(327)](){const t=mt,e=await this[t(515)][t(286)]();if(e>this[t(376)][t(507)]){await this[t(379)]();const i=this[t(469)]({revision:this[t(376)],to:e});i[t(341)]=i[t(484)][t(486)](e=>this[t(293)][t(323)][t(433)](t(365))[t(249)](e)),this[t(376)][t(370)](i)}}async[mt(470)](e={},i=null){const n=mt,s=[];await this[n(379)](),this[n(311)]=!1,i>this[n(376)][n(507)]&&(i=null),null===i&&(i=await this[n(515)][n(286)]());const r=this[n(416)](i),o=this[n(469)]({from:r,to:i});if(this[n(376)][n(507)]<i){const t=this[n(469)]({revision:this[n(376)],from:i,to:i});t[n(341)]=[],t[n(484)]=[],t.id=this[n(376)].id,this[n(376)][n(370)](t,!0),delete t[n(341)],s[n(505)](t)}e[n(329)]=this[n(293)][n(323)][n(433)](n(365)).me.id,e[n(257)]=e[n(257)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(430)](e);s[n(505)](e);const c=this[n(367)][n(398)](a);if(0!==c){const t=this[n(367)][n(538)](c-1);if(t[n(358)]!==i){const r=this[n(287)][n(386)](i,t[n(507)]),o={id:t.id,diffData:r[n(375)],authorsIds:r[n(484)],authors:r[n(484)][n(486)](t=>this[n(293)][n(323)][n(433)](n(365))[n(249)](t)),fromVersion:i};t===this[n(376)]&&(o[n(312)]=new Date(e[n(312)][n(444)]()+10)),t[n(370)](o,!0),delete o[n(341)],s[n(505)](o)}}if(this[n(346)]){for(const t of s)this[n(393)](t.id,t,!0);this[n(261)]()}return a}[mt(430)](t){const e=mt,i=this[e(367)][e(349)](t);return this[e(346)]&&i.on(e(370),(t,i,n)=>{const s=e;n||(this[s(393)](i.id,i,!0),this[s(261)]())}),this[e(367)][e(396)](i,this[e(474)](i)),i}async[mt(488)](t){const e=mt;return await this[e(283)][e(409)](t,this[e(346)]),this[e(283)][e(488)](t)}async[mt(506)](t){const e=mt;return await this[e(283)][e(409)](t,this[e(346)]),this[e(283)][e(506)](t)}[mt(261)](){const t=mt;if(0===this[t(270)][t(399)])return;if(this[t(477)])return;let e=Array[t(514)](this[t(270)][t(389)]());this[t(270)][t(381)]();for(let i=0;i<e[t(243)];i++){const n=e[i];let s=!1;for(const e of Object[t(481)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(325)](t=>null!==t),!e[t(243)])return;for(let i=0;i<e[t(243)];i++){const n=e[i];void 0!==n[t(358)]&&void 0===n[t(507)]&&(n[t(507)]=this[t(367)][t(538)](n.id)[t(507)]),void 0!==n[t(507)]&&void 0===n[t(358)]&&(n[t(358)]=this[t(367)][t(538)](n.id)[t(358)])}const i=this[t(293)][t(525)][t(433)](t(394));this[t(477)]=!0,this[t(526)](),this[t(346)][t(472)](e,i)[t(368)](()=>{this[t(477)]=!1})[t(492)](e=>{const i=t;if(e)for(const t of e)this[i(267)]({id:t.id,createdAt:t[i(312)]});this[i(455)](),this[i(261)]()})}[mt(469)]({revision:t=null,from:e=null,to:i=null}){const n=mt;e=null!==e?e:t[n(358)],i=null!==i?i:t[n(507)];const s=this[n(287)][n(386)](e,i),r={diffData:s[n(375)],authorsIds:s[n(484)],fromVersion:e,toVersion:i};if(!t||i!==t[n(507)]){const t=i-1,e=this[n(515)][n(458)][n(318)](t);r[n(312)]=e&&e[n(312)]||new Date}if(this[n(330)]&&e===this[n(330)][n(358)])for(const t of this[n(330)][n(341)])r[n(484)][n(271)](t.id)||r[n(484)][n(505)](t.id);return r}[mt(393)](t,e,i){const n=mt;if(this[n(270)][n(519)](t)){const s=this[n(270)][n(433)](t);e=i?{...s,...e}:{...e,...s}}this[n(270)][n(371)](t,e)}[mt(267)](t){const e=mt,i=this[e(367)][e(538)](t.id);if(t[e(312)]&&(t[e(312)]=new Date(t[e(312)])),t[e(484)]){const i=this[e(293)][e(323)][e(433)](e(365));t[e(341)]=t[e(484)][e(486)](t=>i[e(249)](t))}i[e(370)](t,!0)}[mt(277)](t){const e=mt,i=this[e(367)][e(538)](this[e(367)][e(243)]-1);if(i)this[e(476)]=i.id;else{const i=!this[e(293)][e(268)][e(231)][e(528)][e(487)](t=>this[e(293)][e(268)][e(340)](t)),n=this[e(293)][e(323)][e(433)](e(365)).me.id,s=at(this[e(293)][e(303)],e(i?291:532));this[e(439)]({from:t,to:t,id:this[e(476)],name:s,creatorId:n})}}[mt(238)](t){const e=mt,i=this[e(515)][e(337)]();this[e(376)]=this[e(367)][e(538)](i),this[e(376)]||(this[e(376)]=this[e(439)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[mt(379)](){const t=mt;this[t(311)]&&!this[t(330)]&&(await this[t(283)][t(409)](this[t(376)],this[t(346)]),this[t(287)][t(314)](this[t(376)]),this[t(330)]={fromVersion:this[t(376)][t(358)],authors:this[t(376)][t(341)][t(373)]()})}[mt(435)](e,i){const n=mt;let s=this[n(293)][n(525)][n(433)](n(251)),r=this[n(293)][n(525)][n(433)](n(419));if(void 0===s){s={};for(const t of this[n(293)][n(268)][n(231)][n(408)]())s[t]=""}if(n(306)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(293)][n(268)][n(231)][n(408)]())r[t]={}}let o=!1;const a=Object[n(481)](s),c=Object[n(481)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(536)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(481)](r[t])[n(243)]>0){o=!0;break}}o||(o=c[n(436)](t=>!this[n(293)][n(268)][n(231)][n(454)](t))),o&&(0,t.logWarning)(n(276),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(293)][n(525)][n(371)](n(251),e),this[n(293)][n(525)][n(371)](n(419),i)}[mt(526)](){const t=mt;if(!this[t(296)]){const e=this[t(293)][t(323)][t(433)](t(395));this[t(296)]=e[t(246)](at(this[t(293)][t(303)],t(264)))}}[mt(455)](){const t=mt;this[t(296)]&&(this[t(293)][t(323)][t(433)](t(395))[t(415)](this[t(296)]),this[t(296)]=null)}[mt(474)](t){const e=mt,i=this[e(367)][e(431)]();i[e(232)]();let n=0;for(;n<i[e(243)];){const s=i[n];if(s===this[e(376)]){n++;continue}if(s.id===this[e(476)])break;const r=t[e(507)]-s[e(507)]||t[e(358)]-s[e(358)];if(r>0)break;if(r<0)n++;else{if(!t[e(428)]&&s[e(428)])break;if(s[e(428)]||!t[e(428)]){if(t[e(312)]>s[e(312)])break;n++}else n++}}return n}[mt(416)](t){const e=mt,i=this[e(367)][e(431)]();i[e(232)](),i[e(460)]();const n=i[e(487)](i=>i[e(507)]<=t)[e(507)];return n<this[e(465)]?this[e(465)]:n}[mt(439)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=mt,o=this[r(469)]({from:e,to:i});o[r(257)]=t,o[r(329)]=n,o.id=s;const a=this[r(430)](o);return this[r(346)]&&this[r(393)](o.id,o,!0),a}[mt(236)](){const t=mt;this[t(293)][t(410)][t(252)](t(241))[t(424)]({model:t(452)})}}class gt{[mt(293)];[mt(508)];[mt(357)];[mt(331)];[mt(467)];[mt(250)];[mt(437)];[mt(351)];[mt(546)];[mt(265)];[mt(335)];[mt(266)];[mt(345)];[mt(374)];[mt(511)];[mt(420)];[mt(316)];constructor(t){const e=mt;this[e(293)]=t,this[e(357)]=new Map,this[e(331)]=-1,this[e(467)]=-1,this[e(250)]=new Map,this[e(437)]=new Map,this[e(351)]=new Map,this[e(546)]=new Map,this[e(265)]=new Map,this[e(335)]=new Map,this[e(266)]=new Map,this[e(345)]=new Map,this[e(374)]=new Map,this[e(511)]=new Map,this[e(420)]=1}[mt(504)](t){const e=mt;this[e(508)]=t;const i=new Map,n=new Map,s=this[e(293)][e(268)][e(231)][e(528)][e(486)](t=>t[e(534)]);for(const t of s){const s=this[e(293)][e(268)][e(231)][e(454)](t),r=yt(s);i[e(371)](t,r),n[e(371)](t,Object[e(463)](s[e(313)]()))}const r=Array[e(514)](this[e(293)][e(268)][e(248)])[e(486)](t=>[t[e(257)],t[e(343)]()]),o=this[e(508)][e(356)];this[e(440)](o,i,r,n),this[e(316)]=this[e(420)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(371)](t,i),c[e(371)](t,{})}this[e(440)](Number[e(417)],a,[],c)}[mt(386)](t,e){const i=mt;if(this[i(331)]===t&&this[i(467)]<=e)this[i(357)][i(399)]>1&&this[i(457)](this[i(467)]),this[i(485)](this[i(467)],e,!0);else{if(!this[i(357)][i(519)](t)){const e=this[i(512)](t);this[i(468)](e,t,!1)}this[i(468)](t,e,!0)}return this[i(331)]=t,this[i(467)]=e,this[i(289)]()}[mt(314)](t){const e=mt,i=this[e(293)][e(323)][e(433)](e(284));this[e(355)](),this[e(331)]=t[e(358)],this[e(467)]=t[e(507)];for(const n in t[e(375)]){const s=t[e(375)][n][e(328)],r=A(t[e(375)][n][e(280)])||{},o=i[e(527)](t[e(375)][n][e(233)]);o[e(534)]=n,o[e(255)]=!s||!s[e(326)],o[e(326)]=()=>o[e(255)],this[e(546)][e(371)](n,o),this[e(265)][e(371)](n,r),s&&this[e(511)][e(371)](n,s);const a=this[e(448)](o);this[e(266)][e(371)](n,a);for(const[t,i]of o[e(248)]){if(!t[e(339)](e(500)))continue;const n=t[e(450)](":")[2];for(const t of i[e(550)]({singleCharacters:!0})){const i=this[e(518)](t),s=e(494)==t[e(471)]?t[e(278)][e(427)][e(373)](0,-1):t[e(278)][e(427)],r=a[e(315)](s)[e(256)](i);this[e(345)][e(371)](r,{userId:n})}}}this[e(316)]=this[e(420)];const n=[...Array(this[e(420)])[e(481)]()][e(373)](1)[e(325)](t=>!this[e(345)][e(519)](t));let s=0;const r=new Map;for(const o in t[e(375)]){const a=t[e(375)][o][e(328)],c=A(t[e(375)][o][e(453)])||{},u=i[e(527)](t[e(375)][o][e(298)]);u[e(534)]=o,u[e(255)]=!a||a[e(326)],u[e(326)]=()=>u[e(255)],this[e(437)][e(371)](o,u),this[e(351)][e(371)](o,c);const l=this[e(448)](u,Number[e(417)]);this[e(335)][e(371)](o,l),r[e(371)](o,u[e(326)]()?c:{});for(const[t,i]of u[e(248)]){if(!t[e(339)](e(500)))continue;const n=t[e(450)](":")[2];for(const t of i[e(550)]({singleCharacters:!0})){const i=this[e(518)](t),s=this[e(420)]++,r=e(494)==t[e(471)]?t[e(278)][e(427)][e(373)](0,-1):t[e(278)][e(427)];l[e(315)](r)[e(391)](i,s),this[e(345)][e(371)](s,{userId:n})}}for(const t of this[e(293)][e(268)][e(466)](u)[e(550)]({singleCharacters:!0})){const i=this[e(518)](t),r=e(494)==t[e(471)]?t[e(278)][e(427)][e(373)](0,-1):t[e(278)][e(427)],o=l[e(315)](r);o[e(256)](i)>0||o[e(391)](i,n[s++])}for(const[t,i]of u[e(248)])t[e(339)](e(500))||this[e(250)][e(371)](t,i)}const o=kt(e(258));this[e(546)][e(371)](e(258),o),this[e(266)][e(371)](e(258),this[e(448)](o,1));const a=kt(e(258));this[e(437)][e(371)](e(258),a),this[e(335)][e(371)](e(258),this[e(448)](a,1));const c=Array[e(514)](this[e(437)])[e(486)](([t,e])=>[t,yt(e)]);this[e(440)](this[e(467)],c,this[e(250)],r)}[mt(480)](){const t=mt;this[t(355)](),this[t(331)]=-1,this[t(467)]=-1,this[t(357)][t(381)](),this[t(504)](this[t(508)])}[mt(440)](t,e,i,n){const s=mt,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(371)](t,{start:e[s(274)][s(491)](),end:e[s(388)][s(491)](),rootName:e[s(333)][s(534)]});this[s(357)][s(371)](t,{roots:r,markers:a,rootsAttributes:o})}[mt(457)](t){const e=mt;this[e(357)][e(531)](t)}[mt(355)](){const t=mt;this[t(345)][t(381)](),this[t(374)][t(381)](),this[t(511)][t(381)](),this[t(437)][t(381)](),this[t(351)][t(381)](),this[t(546)][t(381)](),this[t(265)][t(381)](),this[t(335)][t(381)](),this[t(266)][t(381)](),this[t(250)][t(381)](),this[t(420)]=1,this[t(316)]=this[t(420)]}[mt(448)](t,e=null){const i=mt;let n=null;t.is(i(442))||(n=new X.ModelElement(t[i(257)],{vid_start:null===e?this[i(420)]++:e++}));const s=[];for(const n of t[i(462)]())if(n.is(i(425))){s[i(505)](this[i(448)](n,e));const t=s[s[i(243)]-1];null!==e&&(e=t.is(i(425),i(438))?t[i(256)](i(247))+1:t[i(256)](i(299))+1)}else for(let t=0;t<n[i(392)];t++)s[i(505)](new X.ModelElement(i(438),{vid:null===e?this[i(420)]++:e++}));if(t.is(i(442))){const e=kt(t[i(534)]);return e[i(520)](0,s),e}return n[i(391)](i(299),null===e?this[i(420)]++:e++),n[i(520)](0,s),n}[mt(468)](t,e,i){const n=mt;this[n(355)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(357)][n(433)](t);this[n(546)]=new Map(s),this[n(265)]=new Map(A(o));for(const[t,e]of this[n(546)])if(n(258)!==t&&(this[n(437)][n(371)](t,yt(e)),this[n(351)]=new Map(A(o)),i)){const i=this[n(420)];this[n(335)][n(371)](t,this[n(448)](e)),this[n(266)][n(371)](t,this[n(448)](e,i))}this[n(316)]=this[n(420)],this[n(437)][n(371)](n(258),yt(this[n(546)][n(433)](n(258)))),i&&this[n(335)][n(371)](n(258),this[n(448)](this[n(546)][n(433)](n(258))));for(const[t,e]of r){const i=this[n(546)][n(433)](e[n(534)]),s=this[n(437)][n(433)](e[n(534)]),r=new X.ModelRange(this[n(517)](e[n(274)],i),this[n(517)](e[n(388)],i)),o=this[n(524)](r,s);i[n(248)][n(371)](t,r),this[n(250)][n(371)](t,o)}this[n(485)](t,e,i)}[mt(485)](t,e,i){const n=mt;for(const s of this[n(508)][n(319)](t,e))this[n(403)](s,i);for(const t of this[n(437)][n(389)]())t[n(248)][n(381)]();for(const[t,e]of this[n(250)])this[n(437)][n(433)](e[n(333)][n(534)])[n(248)][n(371)](t,e[n(491)]());const s=new Map,r=new Map;for(const[t,e]of this[n(437)])s[n(371)](t,yt(e)),r[n(371)](t,this[n(351)][n(433)](t));this[n(440)](e,s,this[n(250)],r)}[mt(512)](t){const e=mt,i=Array[e(514)](this[e(357)][e(481)]());i[e(543)]((t,e)=>t-e),i[e(232)]();for(const e of i)if(e<t)return e;return Number[e(417)]}[mt(421)](t,e){const i=mt,n=Array[i(514)](e[i(248)])[i(486)](([e,n])=>[e,this[i(524)](n,t)]);t[i(248)]=new Map(n)}[mt(501)](t){const e=mt;for(const i of this[e(250)][e(389)]()){const n=i[e(245)](t),s=X.ModelRange[e(434)](n);i[e(274)]=s[e(274)],i[e(388)]=s[e(388)]}}[mt(403)](t,e){const i=mt;if(i(235)!=t[i(471)]&&i(354)!=t[i(471)]){if(i(473)==t[i(471)]){const n=t[i(348)][i(333)][i(534)];this[i(437)][i(519)](n)||(this[i(437)][i(371)](n,kt(n,!0)),this[i(351)][i(371)](n,{}),e&&this[i(335)][i(371)](n,kt(n,!0)))}else{if(i(377)==t[i(471)]||i(336)==t[i(471)]||i(545)==t[i(471)])return void this[i(290)](t);i(475)==t[i(471)]&&this[i(401)](t)}if(i(475)!==t[i(471)]){const e=this[i(411)](t,this[i(437)]);e[i(297)](),this[i(501)](e)}if(e)switch(t[i(471)]){case i(473):this[i(423)](t);break;case i(230):case i(415):case i(380):this[i(263)](t);break;case i(239):this[i(390)](t);break;case i(450):this[i(513)](t)}}else this[i(234)](t,e)}[mt(411)](t,e){const i=mt,n=t[i(491)]();return n[i(362)]=t[i(362)],this[i(301)](n,e),n}[mt(523)](t){const e=mt;return t[e(486)](t=>{const i=e,n=this[i(518)](t);return Number(t[i(321)][i(256)](n))})}[mt(285)](t,e){const i=mt;if(t.is(i(425),i(438)))e[i(505)]({item:t,type:i(320)});else{t.is(i(425))&&e[i(505)]({item:t,type:i(324)});for(const n of t[i(462)]())this[i(285)](n,e);t.is(i(425))&&e[i(505)]({item:t,type:i(494)})}return e}[mt(289)](){const t=mt,e=new Map(this[t(345)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(546)][t(481)](),...this[t(437)][t(481)]()]);a[t(531)](t(258));for(const e of a){const i=this[t(437)][t(433)](e)||kt(e,!1),n=this[t(546)][t(433)](e)||kt(e,!1);i[t(326)]()||n[t(326)]()?(s[t(298)][e]=yt(i),s[t(233)][e]=yt(n),this[t(421)](s[t(233)][e],n),this[t(421)](s[t(298)][e],i),r[t(298)][e]=this[t(285)](this[t(335)][t(433)](e),[]),r[t(233)][e]=this[t(285)](this[t(266)][t(433)](e)||kt(e,!1),[])):a[t(531)](e)}for(const s of a){const o=r[t(298)][s];for(const s of o){const r=this[t(518)](s),o=s[t(321)][t(256)](r);i[t(531)](o),o>=this[t(316)]&&n[t(371)](o,e[t(433)](o))}}for(const s of a){const a=r[t(298)][s],c=this[t(523)](r[t(233)][s]);let u=0;for(const s of a){const r=this[t(518)](s),a=s[t(321)][t(256)](r);if(!n[t(519)](a)&&!o[t(519)](a))if(i[t(519)](a))u++;else{if(a!=c[u]){const n=e[t(433)](a)||e[t(433)](c[u]);for(;a!=c[u];)i[t(519)](c[u])||(o[t(371)](c[u],n),e[t(371)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(298)][e];for(const e of s){const s=this[t(518)](e),r=e[t(321)][t(256)](s);if(o[t(519)](r)){const e=o[t(433)](r);i[t(519)](r)||i[t(371)](r,{...e}),n[t(371)](r,{...e})}}}for(const e of i[t(481)]())e>=this[t(316)]&&i[t(531)](e);const c=new Map;for(const e of a){let s=r[t(298)][e];for(const e of s)if(e[t(321)].is(t(425),t(254))){const i=this[t(518)](e),s=e[t(321)][t(256)](i);if(n[t(519)](s)){const i=e[t(321)][t(404)][t(404)][t(256)](t(429)),r=c[t(433)](i)||new Set;r[t(246)](n[t(433)](s)[t(549)]),c[t(371)](i,r)}}s=r[t(233)][e];for(const e of s)if(e[t(321)].is(t(425),t(254))){const n=this[t(518)](e),s=e[t(321)][t(256)](n);if(i[t(519)](s)){const n=e[t(321)][t(404)][t(404)][t(256)](t(429)),r=c[t(433)](n)||new Set;r[t(246)](i[t(433)](s)[t(549)]),c[t(371)](n,r)}}for(const e of c[t(481)]())(n[t(519)](e)||i[t(519)](e))&&c[t(531)](e)}for(const e of a){const s=r[t(298)][e];let o=null,a=null;for(const e of s){const s=this[t(518)](e),r=e[t(321)][t(256)](s),u=c[t(433)](r);u&&t(324)==e[t(471)]&&(o=Array[t(514)](u)[0],a=e[t(321)][t(256)](t(299))),o&&(i[t(371)](r,{userId:o}),n[t(371)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(233)][e],a=s[t(298)][e];for(const{userId:e}of this[t(374)][t(389)]())null!==e&&l[t(246)](e);for(const{userId:e}of this[t(511)][t(389)]())null!==e&&l[t(246)](e);this[t(540)](a,r[t(298)][e],n,t(385),l),this[t(540)](o,r[t(233)][e],i,t(547),l),u[e]={insertions:this[t(402)](a),deletions:this[t(402)](o),attachChange:this[t(511)][t(433)](e)||null,attributesBefore:A(this[t(265)][t(433)](e))||{},attributesAfter:A(this[t(351)][t(433)](e))}}return{diffData:u,authorsIds:Array[t(514)](l)}}[mt(366)](t){const e=mt;for(const[,i]of t[e(248)]){const t=i[e(274)][e(533)]()[e(325)](t=>e(254)==t[e(257)]);for(const i of t)1==i[e(260)]&&i[e(359)](0).is(e(425),e(363))&&i[e(359)](0)[e(391)](e(535),!0)}}[mt(402)](t){const e=mt;this[e(366)](t);const i=this[e(293)][e(412)][e(529)](t,{}),n=Array[e(514)](i[e(462)]())[e(486)](t=>this[e(400)](t));return JSON[e(295)](n)}[mt(400)](t){const e=mt;if(t.is(e(438)))return t[e(412)];{const i=this[e(293)][e(323)][e(433)](e(284)),n=t,s=this[e(293)][e(412)][e(305)][e(495)],r={type:i[e(496)](n),name:n[e(257)],attributes:Array[e(514)](n[e(313)]()),children:Array[e(514)](n[e(462)]())[e(486)](t=>this[e(400)](t))};if(t.is(e(332))&&e(350)!=t[e(257)]){const i=t[e(449)](s[e(502)],s);r[e(259)][e(505)](i[e(397)])}else if(t.is(e(445))){const i=s[e(502)][e(459)](n[e(257)]);t[e(449)](i,s),r[e(259)][e(505)](i[e(478)])}const o=Array[e(514)](n[e(304)]());o[e(243)]>0&&(r[e(272)]=o);const a=n[e(522)]();return null!==a&&(r[e(237)]=a),r}}[mt(540)](t,e,i,n,s){const r=mt;let o=null,a=null,c=0;const u=this[r(293)][r(268)];for(let n=0;n<e[r(243)];n++){const s=this[r(518)](e[n]),c=e[n][r(321)][r(256)](s),h=i[r(433)](c),d=n==e[r(243)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(549)]!=o[r(549)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(549)],d=l(500)+n+":"+h+":"+c++,f=u[l(461)](i,a);t[l(248)][l(371)](d,f),null!==h&&s[l(246)](h)}}[mt(518)](t){const e=mt;switch(t[e(471)]){case e(324):return e(429);case e(494):return e(299);default:return e(247)}}[mt(301)](t,e){const i=mt;t[i(302)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(433)](s[i(333)][i(534)]);t[n]=this[i(517)](s,r)}if(s instanceof X.ModelRange){const r=e[i(433)](s[i(333)][i(534)]);t[n]=this[i(524)](s,r)}i(333)===n&&(t[i(333)]=e[i(433)](t[i(333)][i(534)]))}}[mt(524)](t,e){const i=mt;return this[i(293)][i(268)][i(461)](this[i(517)](t[i(274)],e),this[i(517)](t[i(388)],e))}[mt(517)](t,e){const i=mt;return this[i(293)][i(268)][i(384)](e,t[i(427)],t[i(269)])}[mt(423)](t){const e=mt,i=this[e(335)][e(433)](t[e(348)][e(333)][e(534)]),n=this[e(517)](t[e(348)],i),s=null===t[e(362)]?null:t[e(362)]||this[e(293)][e(323)][e(433)](e(365)).me.id,r=n[e(404)],o=this[e(420)],a=[];for(const i of t[e(499)])if(i.is(e(425)))a[e(505)](this[e(448)](i));else for(let t=0;t<i[e(392)];t++)a[e(505)](new X.ModelElement(e(438),{vid:this[e(420)]++}));const c=this[e(420)];for(let t=o;t<c;t++)this[e(345)][e(371)](t,{userId:s});r[e(520)](n[e(406)],a)}[mt(263)](t){const e=mt;(t=this[e(411)](t,this[e(335)]))[e(297)]();const i=null===t[e(362)]?null:t[e(362)]||this[e(293)][e(323)][e(433)](e(365)).me.id,n=t[e(275)](),s=n[e(404)],r=n[e(406)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(359)](e);r.is(a(425),a(438))?n[a(371)](r[a(256)](a(247)),{userId:i}):(n[a(371)](r[a(256)](a(429)),{userId:i}),t(n,r,0,r[a(260)]),n[a(371)](r[a(256)](a(299)),{userId:i}))}}(this[e(345)],s,r,r+t[e(364)])}[mt(390)](t){const e=mt,i=null===(t=this[e(411)](t,this[e(335)]))[e(362)]?null:t[e(362)]||this[e(293)][e(323)][e(433)](e(365)).me.id,n=t[e(378)][e(404)],s=t[e(279)][e(404)],r=n[e(256)](e(299)),o=s[e(256)](e(429));n[e(391)](e(299),s[e(256)](e(299))),s[e(391)](e(299),r),this[e(345)][e(371)](o,{userId:i}),this[e(345)][e(371)](r,{userId:i}),t[e(297)]()}[mt(513)](t){const e=mt,i=null===(t=this[e(411)](t,this[e(335)]))[e(362)]?null:t[e(362)]||this[e(293)][e(323)][e(433)](e(365)).me.id,n=t[e(418)],s=t[e(242)][e(404)];t[e(297)]();const r=s[e(256)](e(299)),o=t[e(344)][e(544)];if(n){const t=o[e(256)](e(299)),n=s[e(256)](e(299));s[e(391)](e(299),t),o[e(391)](e(299),n),this[e(345)][e(371)](s[e(256)](e(299)),{userId:i}),this[e(345)][e(371)](o[e(256)](e(429)),{userId:i})}else{const t=this[e(420)]++,n=this[e(420)]++;s[e(391)](e(299),t),o[e(391)](e(429),n),o[e(391)](e(299),r),this[e(345)][e(371)](t,{userId:i}),this[e(345)][e(371)](n,{userId:i})}}[mt(401)](t){const e=mt;if(!t[e(372)])return;const i=(t=this[e(411)](t,this[e(437)]))[e(407)]?t[e(407)][e(333)]:null,n=t[e(338)]?t[e(338)][e(333)]:null;i&&this[e(250)][e(531)](t[e(257)]),n&&this[e(250)][e(371)](t[e(257)],t[e(338)][e(491)]());const s=null===t[e(362)]?null:t[e(362)]||this[e(293)][e(323)][e(433)](e(365)).me.id,r=t[e(257)];if(!this[e(374)][e(519)](r))return void this[e(374)][e(371)](r,{range:t[e(407)],userId:s});const o=this[e(374)][e(433)](r),a=o[e(497)],c=t[e(338)];null==a&&null==c||a&&c&&a[e(451)](c)?this[e(374)][e(531)](t[e(257)]):o[e(549)]=s}[mt(234)](t,e){const i=mt;this[i(437)][i(519)](t[i(534)])?this[i(437)][i(433)](t[i(534)])[i(255)]=t[i(360)]:(this[i(437)][i(371)](t[i(534)],kt(t[i(534)],!0)),this[i(351)][i(371)](t[i(534)],{}),e&&this[i(335)][i(371)](t[i(534)],kt(t[i(534)],!0)));const n=null===t[i(362)]?null:t[i(362)]||this[i(293)][i(323)][i(433)](i(365)).me.id,s=this[i(511)][i(433)](t[i(534)]);s&&s[i(549)]===n?this[i(511)][i(531)](t[i(534)]):this[i(511)][i(371)](t[i(534)],{userId:n,isAttached:t[i(360)]})}[mt(290)](t){const e=mt,i=this[e(351)][e(433)](t[e(333)][e(534)]);null===t[e(317)]?delete i[t[e(405)]]:i[t[e(405)]]=t[e(317)]}}function yt(t){const e=mt,i=kt(t[e(534)],t[e(326)]());for(const n of t[e(462)]()){const t=n[e(443)](!0);i[e(307)](t)}return i}function kt(t,e=!0){const i=mt,n=new X.ModelDocumentFragment;return n[i(534)]=t,n[i(255)]=e,n[i(326)]=()=>n[i(255)],n}function bt(t,e,i){const n=mt,s=n(494)==t[n(471)]?i[n(482)](t[n(321)],n(388)):i[n(353)](t[n(321)]);return i[n(384)](e,s[n(427)],s[n(269)])}function wt(t,e,i){const n=mt,s=n(324)==t[n(471)]?i[n(482)](t[n(321)],0):i[n(294)](t[n(321)]);return i[n(384)](e,s[n(427)],s[n(269)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),Tt=i(545),xt=i.n(Tt),Nt=i(262),Rt=i.n(Nt),At=i(667),Mt=i.n(At),Et=i(357),Vt=i.n(Et),Dt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Vt();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Vt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Pt=Lt;function Lt(t,e){const i=Wt();return(Lt=function(t,e){return i[t-=356]})(t,e)}function Wt(){const t=["arrowup","Name of the revision","initializeCssTransitionDisablerMixin","revisionName","12178507DrSsPg","_createRevisionNameInput","value","stopPropagation","arrowdown","ck-revision-history-save-revision-form","42qUJWiR","form","errorText","set","focus","label","220","add","1834252btrzEv","trim","listenTo","arrowright","keystrokes","focusTracker","setTemplate","54205RkbAft","6924OtZrxt","locale","input","9WQaqlZ","11486PCnVHA","optional","render","reset","310384vbnIYc","ck-responsive-form","arrowleft","3257130ZDHZHV","fieldView","extendTemplate","revisionNameInputView","element","669GPAghz","revisionNameInputValue","6NnvEla"];return(Wt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(204922===parseInt(e(397))/1*(parseInt(e(366))/2)+-parseInt(e(364))/3*(parseInt(e(393))/4)+parseInt(e(392))/5*(parseInt(e(377))/6)+-parseInt(e(385))/7+-parseInt(e(356))/8+-parseInt(e(396))/9*(parseInt(e(359))/10)+parseInt(e(371))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(390)];[Pt(389)];[Pt(362)];constructor(e,i){const n=Pt;super(e),this[n(390)]=new t.FocusTracker,this[n(389)]=new t.KeystrokeHandler,this[n(380)](n(365),""),this[n(362)]=this[n(372)](i),this[n(391)]({tag:n(378),attributes:{class:["ck",n(376),n(357)],tabindex:"-1"},children:[this[n(362)]]}),this[n(369)]()}[Pt(399)](){const t=Pt;super[t(399)](),(0,It.submitHandler)({view:this}),this[t(390)][t(384)](this[t(362)][t(363)]),this[t(389)][t(387)](this[t(363)]);const e=e=>e[t(374)]();this[t(389)][t(380)](t(388),e),this[t(389)][t(380)](t(358),e),this[t(389)][t(380)](t(367),e),this[t(389)][t(380)](t(375),e)}[Pt(381)](){const t=Pt;this[t(362)][t(381)]()}get[Pt(370)](){const t=Pt;return this[t(362)][t(360)][t(363)][t(373)][t(386)]()}set[Pt(370)](t){const e=Pt;this[e(362)][e(360)][e(363)][e(373)]=t[e(386)]()}[Pt(400)](){const t=Pt;this[t(362)][t(360)][t(363)][t(373)]="",this[t(362)][t(379)]=null}[Pt(372)](t){const e=Pt,i=new It.LabeledFieldView(this[e(394)],It.createLabeledInputText),n=i[e(360)];n[e(361)]({attributes:{maxlength:e(383)}});let s=at(this[e(394)],e(368));return!t&&(s+=" ("+at(this[e(394)],e(398))+")"),i[e(382)]=s,n.on(e(395),()=>{const t=e;this[t(365)]=n[t(363)][t(373)][t(386)]()}),i}}const Ut=Zt;function Zt(t,e){const i=$t();return(Zt=function(t,e){return i[t-=146]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(238966===-parseInt(e(176))/1*(-parseInt(e(182))/2)+-parseInt(e(178))/3+parseInt(e(191))/4+parseInt(e(180))/5+parseInt(e(155))/6+-parseInt(e(210))/7+-parseInt(e(175))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Ht extends J.Plugin{static get[Ut(149)](){return Ut(169)}static get[Ut(196)](){return!0}static get[Ut(202)](){return!0}static get[Ut(150)](){return[vt]}[Ut(187)];[Ut(168)](){const t=Ut,e=this[t(193)],i=e[t(198)][t(197)](t(183));e.ui[t(174)][t(208)](t(186),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(159)][s(173)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(211)](s(164)).to(i,s(171),i,s(164),e,s(177),(t,e,i)=>t&&e&&!i),r[s(206)][s(204)]({icon:_t.IconHistory,label:at(n,s(194)),tooltip:!0}),u[s(204)]({label:at(n,s(184)),withText:!0,role:s(158)}),u[s(211)](s(164)).to(i,s(171),i,s(164),e,s(177),(t,e,i)=>t&&e&&!i),u.on(s(189),()=>this[s(156)]()),h[s(204)]({label:at(n,s(154)),withText:!0,role:s(158)}),h[s(211)](s(164)).to(i,s(171),e,s(177),(t,e)=>t&&!e),h.on(s(189),()=>{const t=s;e[t(151)][t(197)](t(186))[t(166)](),r[t(207)]=!1,e[t(195)][t(161)][t(200)]()}),c[s(173)][s(208)](u),l[s(173)][s(208)](h),a[s(192)]=s(170),a[s(157)][s(185)]([c,l]),o[s(208)](a),r}),e.ui[t(174)][t(208)](t(212),()=>this[t(152)]())}[Ut(152)](){const t=Ut,e=this[t(193)],i=e[t(165)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(206)][t(204)]({icon:_t.IconHistory,label:at(i,t(194))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(204)]({label:at(i,t(184))}),o[t(160)](t(189)).to(n),o.on(t(189),()=>{this[t(156)]()}),r[t(173)][t(208)](o),s[t(157)][t(208)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(204)]({label:at(i,t(154))}),c[t(160)](t(189)).to(n),c.on(t(189),()=>{const i=t;e[i(151)][i(197)](i(186))[i(166)]()}),a[t(173)][t(208)](c),s[t(157)][t(208)](a),n[t(159)][t(173)][t(208)](s),n}[Ut(156)](){const t=Ut,e=this[t(193)],i=e[t(165)],n=e[t(198)][t(197)](t(201)),s=e[t(198)][t(197)](t(183));function r(s){const r=t;e[r(151)][r(197)](r(181))&&""===s[r(179)]?s[r(203)][r(147)]=at(i,r(162)):(e[r(198)][r(197)](vt)[r(153)]({name:s[r(179)]}),n[r(188)]())}this[t(187)]||(this[t(190)](),this[t(187)].on(t(209),()=>r(this[t(187)]))),this[t(187)][t(167)](),n[t(163)]({id:t(146),title:at(i,t(184)),isModal:!0,content:this[t(187)],actionButtons:[{label:at(e[t(165)],t(205)),withText:!0,onExecute:()=>n[t(188)]()},{label:at(e[t(165)],t(199)),class:t(172),withText:!0,onCreate(i){const n=t;i[n(211)](n(164)).to(s,n(171),s,n(164),e,n(177),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(187)])}]})}[Ut(190)](){const t=Ut,e=this[t(193)],i=e[t(165)];this[t(187)]=new zt(i,e[t(151)][t(197)](t(181))),this[t(187)][t(148)]()}}function $t(){const t=["revisionHistory","_saveRevisionFormView","hide","execute","_createSaveRevisionFormView","986568rPqOTF","role","editor","Revision history","editing","isOfficialPlugin","get","plugins","Accept","focus","Dialog","isPremiumPlugin","revisionNameInputView","set","Cancel","buttonView","isOpen","add","submit","1605212hyNEeA","bind","menuBar:revisionHistory","revisionSave","errorText","render","pluginName","requires","config","_registerMenuComponent","saveRevision","Open revision history","730404VEyYgq","_showDialog","items","menuitem","panelView","delegate","view","The revision name cannot be empty.","show","isEnabled","locale","showRevisionViewerCallback","reset","init","RevisionHistoryUI","menu","isReady","ck-button-action","children","componentFactory","429312iMeJcl","49OPHneH","isReadOnly","1026537TcwvuQ","revisionName","1502175XlTVjb","revisionHistory.requireRevisionName","7972nyVeCs","RevisionTracker","Save current revision","addMany"];return($t=function(){return t})()}const qt=Bt;function Bt(t,e){const i=Gt();return(Bt=function(t,e){return i[t-=296]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(730425===-parseInt(e(309))/1+parseInt(e(320))/2*(-parseInt(e(299))/3)+parseInt(e(319))/4*(-parseInt(e(304))/5)+-parseInt(e(316))/6+parseInt(e(300))/7+-parseInt(e(325))/8*(parseInt(e(305))/9)+parseInt(e(307))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Yt extends It.View{[qt(313)];[qt(326)];constructor(t,e){const i=qt;super(t),this[i(326)]=e,this[i(313)]=e.id;const n=this[i(306)],s=at(t,e[i(310)][i(314)]?i(318):i(321)==e[i(311)]?i(301):i(327));this[i(303)](i(311),e[i(311)]),this[i(308)]({tag:i(298),attributes:{class:[i(296),i(324),n.to(i(311),t=>i(297)+t)],tabindex:-1},children:[{tag:i(317),children:[{tag:i(317),attributes:{class:[i(322)]},children:[{text:s}]},{text:" "+e[i(312)][i(302)]}]}]})}[qt(323)](){const t=qt;this[t(315)][t(323)]()}}function Gt(){const t=["changeId","isSuggestion","element","6988122LIewmX","span","Suggested by","4zOAlFW","2xpbGVb","add","ck-revision-change__label","focus","ck-revision-change","1152dbkWpy","_model","Removed by","ck-annotation","ck-revision-change__","div","1592397rziEQE","9998093tcFpoH","Added by","name","set","5201700AoECMJ","24579tNhcwP","bindTemplate","32359270caYXqm","setTemplate","804711ropImY","data","type","author"];return(Gt=function(){return t})()}var Jt=Kt;function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=434]})(t,e)}function Xt(){var t=["rootName","1604jvWWcH","349795ZDzhlD","3603380bBmRVk","108132vZdxzd","toJSON","set","3995484ocTPaS","type","author","153mMvNUb","2CFzjAg","721094NWUkDm","435iymIBv","data","createdAt","213600GqNUHl","7jimAmG"];return(Xt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(386852===-parseInt(e(444))/1*(parseInt(e(451))/2)+parseInt(e(435))/3*(parseInt(e(441))/4)+-parseInt(e(442))/5+parseInt(e(447))/6*(parseInt(e(439))/7)+-parseInt(e(438))/8*(parseInt(e(450))/9)+parseInt(e(443))/10+-parseInt(e(434))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Jt(449)];[Jt(448)];[Jt(436)];[Jt(440)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(449)]=e[i(449)],this[i(448)]=e[i(448)],this[i(436)]=e[i(436)]||{},this[i(440)]=e[i(440)],this[i(446)](i(437),e[i(437)])}[Jt(445)](){var t=Jt;return{id:this.id,authorId:this[t(449)].id,type:this[t(448)],data:this[t(436)],createdAt:this[t(437)]}}}const te=ee;function ee(t,e){const i=ne();return(ee=function(t,e){return i[t-=246]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(650866===-parseInt(e(246))/1*(parseInt(e(253))/2)+-parseInt(e(249))/3+-parseInt(e(258))/4+-parseInt(e(259))/5+-parseInt(e(257))/6*(parseInt(e(260))/7)+-parseInt(e(255))/8*(-parseInt(e(254))/9)+-parseInt(e(247))/10*(-parseInt(e(256))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ne);class ie{[te(248)];[te(261)];[te(252)];constructor(e,i){const n=te;this[n(248)]=e,this[n(261)]=i,this[n(252)]=new t.Collection}[te(250)](t){const e=te;for(const i of t)this[e(252)][e(251)](i)}}function ne(){const t=["_setChanges","add","changes","20dUCZYa","18NJoqPW","2724952mjoQOw","1842566ehnRJj","1638vITmdZ","1155116xYqBJr","5817010IRItAy","28903zFTzqR","oldRevisionId","70224knrGOf","250zvYFnm","newRevisionId","2809152zoHlru"];return(ne=function(){return t})()}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Vt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=le;function ae(){const t=["getRootNames","modelRange","index","ck-revision-history-root-","ck-revision-history-root-add","next","element:pre","merge","markerToHighlight","concat","126fWFIyx","model","maxOffset","forward","isContent","getWalker","ck-suggestion-marker","resolve","_markInsertions","3474jBZeer","getLaterVisibleRevision","editor","distance","_appendChild","for","isRemoveSuggestion","split","domConverter","change:isEnabled","isReady","consume","object","config","plugins","151332RncrUe","hasClass","getDomRoot","attributesBefore","done","markerRange","sort","isAtEnd","indexOf","4502456IhLCsE","isAdded","isBlock","enqueueChange","loadRevisionData","addMarker:revision-suggestion:insertion","_initInteractions","2188cEvBPy","change:activeChange","upcast","_joinTapes","delete","length","isRemoved","pop","wrap","editingDowncast","document","getAttributes","RevisionHistoryUtils","item","deletions","dataDowncast","isIncorrect","_step","isCollapsed","pairId","99FSMGjw","getClientRects","name","_findChangeIdFromDomTarget","_sortAndFilterDiffChanges","remove","showNextChange","POSITIVE_INFINITY","markersStart","addHighlight","softBreak","markersEnd","rootName","top","bindElementToMarker","enableReadOnlyMode","startIndex","reconvertMarker","revision-viewer","vid","change:isReady","_fixObsoleteTags","repository","_getDiff","isNavigationMode","showPreviousChange","isInline","flat","pluginName","domEvent","newRevisionId","editing","getIndex","type","string","offsetSize","addRoot","left","diffData","consumable","nextSibling","commands","mapper","push","forceDisabled","_activeViewTarget","addMarker:revision-suggestion:deletion","_setConversion","execute","RevisionsRepository","observeMarkers","restoreRevision","getCustomProperty","suggestion:","init","markerNameToElements","checkAttribute","endIndex","map","ck-revision-history-root--active","parent","_setDistance","userId","createRange","text","_markMarkers","nodeAfter","low","markerToData","elementEnd","_changeView","detachRoot","revisionHistory","revision:","getChild","find","elementStart","downcastDispatcher","startsWith","isEnabled","addClass","_makeTape","removeMarker:revision-suggestion","WidgetToolbarRepository","_cleanMarkers","has","isOfficialPlugin","_markMismatchedRemovedTags","_processTape","elementToAttribute","createAttributeElement","ck-suggestion-marker-","removeMarker:revision","level","getRevisionRootsAttributes","ck-editor__editable__overlay","authors","restoreRevisionCallback","code","high","removeAttribute","ck-suggestion-preview-marker-","_removeMissingPairs","isAddSuggestion","addMarker:revision","attribute:vid","currentChangeNumber","createRangeIn","hasAttribute","isAfter","isAttached","toViewPosition","all","element","destroy","_removeUnsupportedChanges","markers","return","target","getItems","mousedown","_getRevisionsRange","_makeModelFromViewString","getRoot","test","end","then","data","addRevisionData","change:numberOfChanges","changes","catch","ck-suggestion-preview-marker","isEqual","refresh","comment","writer","insertions","vid_start","_markSuggestions","revision-suggestion:","17240RqluzC","_threeWayMerge","first","side","RevisionViewer","backward","roots","isOnRoot","changeId","values","range","102684sCeKAW","schema","createRevision","activeView","view","revision-suggestion","isLimit","add","_data","unbindElementFromMarkerName","includes","previousPosition","conversion","createPositionFromPath","-new","affectsData","span","bind","revisionHistoryLabel","showStack","41169XIsjgu","listenTo","_update","activeChange","_refreshStartEndIndex","mouseover","setAttribute","data-change-id","165NtGSQg","change:activeView","splice","set","_makeModelFromTape","ck-suggestion-marker-merge","markerName","clear","_changeIdToChange","oldRevisionId","revisionHistoryAttachChange","keys","toViewElement","getAttribute","numberOfChanges","from","attachChange","requires","stop","removeClass","getRevisionDocumentData","uiElement","createPositionBefore","toViewRange","deletion","slice","isObject","revision","_cleanUp","adapter","_getViewForChange","highest","error","unshift","vid_end","_revisions","_getChangeFromId","100CCmUdw","abs","_utils","updatePosition","suggestion","diff","get","bottom","getRevision","forEach","right","locale","isSuggestion","910553qQbXol","filter","compare","isAtStart","shift","nextPosition","isBefore","start","insert","attributes","selection","ck-revision-history-root-remove","_balloon","ck-suggestion-marker-split","isPremiumPlugin","insertion","viewItem","revision-comment:","ck-suggestion-marker--active","mapViewToDom","findIndex","dataToMarker","addRevision","createUIElement","change","attributesAfter","_setChanges","removeMarker"];return(ae=function(){return t})()}!function(t){const e=le,i=t();for(;;)try{if(426168===parseInt(e(532))/1*(-parseInt(e(492))/2)+-parseInt(e(396))/3*(parseInt(e(441))/4)+-parseInt(e(404))/5*(parseInt(e(376))/6)+parseInt(e(454))/7+parseInt(e(525))/8+-parseInt(e(501))/9*(-parseInt(e(365))/10)+-parseInt(e(552))/11*(-parseInt(e(516))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends J.Plugin{[oe(574)];[oe(433)]=null;[oe(443)];[oe(269)];[oe(294)];[oe(412)];[oe(466)];static get[oe(252)](){return oe(369)}static get[oe(310)](){return!0}static get[oe(468)](){return!0}static get[oe(421)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(574)]=this[e(503)][e(515)][e(447)](e(273)),this[e(443)]=this[e(503)][e(515)][e(447)](e(544)),this[e(407)](e(399),null),this[e(407)](e(379),null),this[e(269)]=null,this[e(407)](e(446),null),this[e(407)](e(511),!1),this[e(407)](e(303),!0),this.on(e(510),(t,i,n)=>{const s=e;this[s(399)]=null,this[s(379)]=null,this[s(503)][s(255)][s(380)][s(478)](t=>{const e=s;for(const i of this[e(503)][e(255)][e(380)][e(542)][e(371)])n?t[e(423)](e(319),i):t[e(304)](e(319),i)})}),this[e(393)](e(576)).to(this,e(399),t=>null!==t),this[e(393)](e(330)).to(this,e(511),this,e(446),this,e(399),(t,i,n)=>t&&n?i[e(354)][e(256)](n):0),this[e(393)](e(418)).to(this,e(511),this,e(446),(t,i)=>t?i[e(354)][e(537)]:0),this[e(294)]=null,this[e(412)]=new Map,this[e(466)]=this[e(503)][e(515)][e(447)](It.ContextualBalloon)}[oe(278)](){const t=oe,e=this[t(503)],i=new de(e,{direction:t(370)}),n=new de(e,{direction:t(495)});e[t(265)][t(383)](t(249),i),e[t(265)][t(383)](t(558),n),e[t(265)][t(383)](t(275),new he(e)),this.on(t(353),()=>{const e=t;i[e(358)](),n[e(358)]()}),this[t(271)](),this[t(531)](),e[t(567)](t(570)),e[t(515)][t(309)](t(307))&&e[t(515)][t(447)](t(307))[t(268)](t(570))}async[oe(424)](t){const e=oe;return await this[e(443)][e(529)](t,this[e(433)]),this[e(443)][e(424)](t)}async[oe(318)](t){const e=oe;return await this[e(443)][e(529)](t,this[e(433)]),this[e(443)][e(318)](t)}async[oe(456)](t,e,i=!1){const n=oe;if(!this[n(303)])return;const s=this[n(446)],r=this[n(574)],o=n(258)==typeof t?r[n(449)](t):t,a=n(258)==typeof e?r[n(449)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(446)]&&this[n(446)][n(254)]===c&&this[n(446)][n(413)]===u)return Promise[n(499)]();this[n(511)]=!1,this[n(379)]=null,this[n(399)]=null,this[n(446)]=new ie(c,u);const l=this[n(345)](o,a,!0)[n(282)](t=>this[n(443)][n(529)](t,this[n(433)]));return l[n(267)](new Promise(t=>{setTimeout(t,20)})),Promise[n(336)](l)[n(350)](()=>{const t=n;if(!this[t(303)])return;this[t(432)]();const e=this[t(575)](c,u);for(const i of e[t(354)])this[t(412)][t(407)](i.id,i);this[t(503)][t(493)][t(528)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(503)][n(493)][n(542)][n(482)]())i[n(295)](t);for(const t of Object[n(415)](e[n(493)])){const s=i[n(260)](t);for(const r of Object[n(415)](e[n(463)][t]))i[n(402)](r,e[n(463)][t][r],s);i[n(462)](e[n(493)][t],s,0)}}),this[t(446)][t(480)](this[t(556)](e[t(354)])),this[t(511)]=!0})[n(355)](t=>{const e=n;console[e(436)](t),this[e(432)](),s&&(this[e(446)]=s),this[e(511)]=!0})}[oe(352)](t,e){const i=oe,n=this[i(574)][i(378)](t);return n.on(i(398),(t,i,s)=>e(i,s,n)),this[i(574)][i(476)](n),n}[oe(432)](){const t=oe;this[t(399)]=null,this[t(308)](),this[t(294)]&&this[t(294)][t(338)](),this[t(294)]=null,this[t(412)][t(411)](),this[t(503)][t(493)][t(528)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(503)][i(493)][i(542)][i(482)]())e[i(295)](t)})}[oe(556)](t){const e=oe,i=[],n=new Map;for(const t of this[e(503)][e(493)][e(542)][e(482)]()){const s=this[e(503)][e(255)][e(380)][e(518)](t);if(!s)continue;const r=s[e(553)]()[e(545)](0);r&&(i[e(267)](t),n[e(407)](t,r))}return i[e(522)]((t,i)=>{const s=e,r=n[s(447)](t),o=n[s(447)](i);return r.y-o.y||r.x-o.x}),(t=t[e(455)](t=>i[e(386)](t[e(564)])))[e(522)]((t,n)=>i[e(524)](t[e(564)])-i[e(524)](n[e(564)])),t}[oe(305)](t){const e=oe,i=Array[e(419)](t[e(340)])[e(455)](([t,i])=>t[e(302)](e(297))&&!i[e(550)]),n=Array[e(419)](this[e(503)][e(493)][e(331)](t)[e(497)]({singleCharacters:!0}));if(0!=i[e(537)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(508)](":");if(s[e(349)][e(357)](t[e(459)])&&i[e(458)](),(t[e(387)][e(357)](s[e(461)])||t[e(387)][e(333)](s[e(461)]))&&(e(469)==r?t[e(526)]={userId:o}:e(428)==r&&(t[e(538)]={userId:o})),0==i[e(537)])break}return n}[oe(400)](t){const e=oe,i=new Map;for(let n=0;n<t[e(537)];n++)e(288)===t[n][e(257)]?(t[n][e(545)][e(568)]=n,t[n][e(545)][e(281)]=n):(e(300)===t[n][e(257)]?t[n][e(545)][e(568)]=n:e(293)===t[n][e(257)]&&(t[n][e(545)][e(281)]=n),i[e(407)](t[n].id,n));for(const n of i[e(374)]())e(300)===t[n][e(257)]?t[n][e(545)][e(281)]=i[e(447)](t[n][e(551)]):e(293)===t[n][e(257)]&&(t[n][e(545)][e(568)]=i[e(447)](t[n][e(551)]))}[oe(312)](t){const e=oe;for(let i=0;i<t[e(537)];i++){if(e(300)===t[i][e(257)])t[i][e(545)][e(568)]=i;else if(e(293)===t[i][e(257)]){t[i][e(545)][e(281)]=i;const n=t[i][e(545)][e(568)];t[n][e(551)]=t[i].id,t[i][e(551)]=t[n].id}else t[i][e(545)][e(568)]=i,t[i][e(545)][e(281)]=i,t[i][e(551)]=null;t[i][e(560)]||(t[i][e(560)]=[],t[i][e(563)]=[])}}[oe(500)](t,e){const i=oe,n=t[i(455)](t=>!t[i(526)]);for(let t=0;t<e[i(537)];t++)e[t][i(526)]&&(n[t][i(526)]=e[t][i(526)])}[oe(575)](t,e=null){const i=oe,n=this[i(574)][i(449)](t),s=e?this[i(574)][i(449)](e):null,r=this[i(345)](n,s),o=r[r[i(537)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(537)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(415)](e[i(262)]))if(e[i(262)][t][i(420)]){const n=e[i(262)][t][i(420)];n[i(334)]?(u[i(383)](t),l[i(309)](t)&&l[i(447)](t)[i(286)]==n[i(286)]?l[i(536)](t):l[i(407)](t,n)):l[i(309)](t)?(u[i(536)](t),l[i(536)](t)):(u[i(383)](t),l[i(407)](t,n))}else u[i(383)](t)}for(const t of u){const e=l[i(309)](t)&&!l[i(447)](t)[i(334)];let n=e?r[i(537)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(262)][t]){const n=e?o[i(262)][t][i(519)]:o[i(262)][t][i(479)];c[i(463)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(493)]={};for(const e of t[i(320)])a[i(407)](e.id,e);for(const e of u){const n=t[i(262)][e]?t[i(262)][e][i(361)]:"[]",s=t[i(262)][e]?t[i(262)][e][i(546)]:"[]";t[i(493)][e]={insertions:this[i(443)][i(346)](n),deletions:this[i(443)][i(346)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(419)](n[i(493)][t][i(361)][i(340)])[i(455)](([t])=>!t[i(302)](i(297))));let h=0;for(const o of r){const r=this[i(305)](o[i(493)][t][i(361)]);o==n?(e=r,s=e[i(537)],e[i(450)](t=>{t.id=h++}),this[i(312)](e)):this[i(500)](e,r);const a=e[i(455)](t=>!t[i(526)])[i(282)](t=>t.id);let c=0;const l=this[i(305)](o[i(493)][t][i(546)]);l[i(450)](t=>{t[i(538)]?t.id=s++:t.id=a[c++]}),this[i(312)](l),this[i(285)](e,i(526)),this[i(285)](l,i(538)),o==n&&this[i(289)](e,u),e=this[i(535)](e,l),this[i(400)](e),this[i(285)](e,i(538))}e=e[i(455)](t=>!(t[i(526)]&&t[i(538)]));const d=new Map(o[i(493)][t][i(546)][i(340)]),f=new Set(u[i(415)]());for(const t of d[i(415)]())f[i(536)](t);this[i(363)](e,f),this[i(573)](e),e=this[i(326)](e),e=this[i(311)](e),e=this[i(339)](e);const{root:m,changes:p}=this[i(408)](e,a,t);c[i(493)][t]=m;const v=l[i(447)](t);if(v){const e=a[i(447)](v[i(286)]),n=new Qt({author:e,type:v[i(334)]?i(383):i(557),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(437)](n),c[i(463)][t][i(414)]=n.id}c[i(354)]=c[i(354)][i(491)](p)}return c}[oe(289)](t,e){const i=oe;for(let n=0;n<t[i(537)];n++)for(const[s,r]of e)!r[i(550)]&&r[i(461)][i(357)](t[n][i(387)])&&t[n][i(560)][i(267)](s),r[i(349)][i(357)](t[n][i(459)])&&t[n][i(563)][i(267)](s)}[oe(535)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(537)]||r<e[i(537)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(267)](o);else if(a[i(538)]&&o[i(526)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(366)](t,s,e,r);n=n[i(491)](o),s=a,r=c}else a[i(538)]?(r++,n[i(267)](a)):(s++,n[i(267)](o))}return n}[oe(363)](t,e){const i=oe,n=[];for(let o=0;o<t[i(537)];o++){for(let r=0;r<t[o][i(560)][i(537)];r++){const a=t[o][i(560)][r];if(!e[i(309)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(381)!=c||i(469)!=u&&i(428)!=u||(n[i(437)]({type:u,name:a,userId:l}),t[o][i(560)][i(406)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(563)][i(537)];r++){const a=t[o][i(563)][r];if(!e[i(309)](a))continue;const{group:c,type:u}=s(a);if(i(381)!=c||i(469)!=u&&i(428)!=u)continue;t[o][i(563)][i(406)](r,1),r--;const l=n[i(474)](t=>t[i(554)]==a);l>-1&&n[i(406)](l,1)}}function s(t){const e=i,n=t[e(508)](":");return{group:n[0],type:n[1],subType:n[e(537)]>=5?n[2]:null,id:n[e(537)]<5?n[2]:n[3],authorId:n[e(537)]<5?n[3]:n[4],markerCount:6==n[e(537)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(537)];i++){if(t[e(526)]&&e(469)==n[i][e(257)]&&t[e(526)][e(286)]==n[i][e(286)])return t[e(327)]=n[i],void delete t[e(526)];if(!t[e(526)]&&!t[e(538)]&&e(428)==n[i][e(257)])return void(t[e(507)]=n[i])}}}[oe(285)](t,e){const i=oe;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(407)](o.id,n);for(let n=0;n<t[i(537)];n++){if(i(538)==e&&t[n][i(526)]||i(526)==e&&t[n][i(538)])continue;if(i(288)==t[n][i(257)]){t[n][i(504)]=0;continue}const s=r[i(447)](t[n][i(551)]),o=r[i(447)](t[n].id);t[n][i(504)]=s-o}}[oe(345)](t,e,i=!1){const n=oe,s=[];let r=this[n(574)][n(256)](t),o=this[n(574)][n(256)](e);for(-1==o&&(o=this[n(574)][n(439)][n(537)],i=!1);r<o;)s[n(267)](this[n(574)][n(449)](r)),r++;return i&&s[n(267)](this[n(574)][n(449)](r)),s}[oe(366)](t,e,i,n){const s=oe,r=this[s(503)][s(493)][s(377)];let o=e;for(;t[o]&&t[o][s(526)];)o++;let a=n;for(;i[a]&&i[a][s(538)];)a++;u(t,e,o),u(i,n,a);const c=i[s(429)](n,a)[s(491)](t[s(429)](e,o));return c[s(522)]((t,e)=>t[s(368)]!=e[s(368)]?t[s(368)]-e[s(368)]:t[s(317)]!=e[s(317)]?t[s(317)]-e[s(317)]:t[s(504)]!=e[s(504)]?e[s(504)]-t[s(504)]:!!t[s(526)]!=!!e[s(526)]?-1==t[s(368)]||0==t[s(368)]?t[s(526)]?-1:1:t[s(526)]?1:-1:t[s(484)]-e[s(484)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(559)],c=!0;for(let s=e;s<i;s++)if(r[n(250)](t[s][n(545)])||(c=!1),t[s][n(545)][n(568)]<e&&(o=s),t[s][n(545)][n(281)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(368)]=s<=o?-1:s<a?0:1,t[s][n(484)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(504)]?t[i][n(317)]=u:(u++,t[i][n(317)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(368)]&&(t[s][n(317)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(504)]?t[e][n(317)]=u:(u--,t[e][n(317)]=u,u--)}}[oe(573)](t){const e=oe,i=new Map,n=this[e(503)][e(493)][e(377)];for(let s=1;s<t[e(537)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(288)==c[e(257)])continue;if(c[e(257)]!=u[e(257)])continue;if(!n[e(527)](u[e(545)])||n[e(382)](u[e(545)]))continue;if(!n[e(527)](c[e(545)])||n[e(382)](c[e(545)]))continue;if((t[s][e(526)]||t[s][e(327)])&&t[s-1][e(538)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(538)]||!t[s-1][e(526)]&&!t[s-1][e(327)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(317)]==o[e(317)],h=Math[e(442)](r[e(317)])<Math[e(442)](o[e(317)])&&0==o[e(504)];(l||h)&&(i[e(407)](o.id,r.id),t[e(406)](a,1),s--,r[e(526)]=!1)}for(let n=0;n<t[e(537)];n++)i[e(309)](t[n][e(551)])&&(t[n][e(551)]=i[e(447)](t[n][e(551)]))}[oe(326)](t){const e=oe,i=new Set(t[e(282)](t=>t.id));for(let n=0;n<t[e(537)];n++)i[e(309)](t[n][e(551)])||0==t[n][e(504)]||(t[n][e(548)]=!0);return t[e(455)](t=>!t[e(548)])}[oe(311)](t){const e=oe,i=new Set;for(let n=0;n<t[e(537)];n++){if(i[e(309)](t[n].id)&&t[n][e(538)]&&(t[n][e(548)]=!0),t[n][e(548)])continue;if(0==t[n][e(504)])continue;if(e(300)!=t[n][e(257)])continue;if(null==t[n][e(551)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(551)];)e(300)==t[s][e(257)]?r++:e(293)==t[s][e(257)]&&r--,s++;if(0!=r)if(t[n][e(538)])t[n][e(548)]=!0;else for(;s!=n;)t[s][e(538)]&&0!=t[s][e(504)]&&(t[s][e(548)]=!0,i[e(383)](t[s][e(551)])),s--}return t[e(455)](t=>!t[e(548)])}[oe(339)](t){const e=oe,i=this[e(503)][e(493)][e(377)];for(let n=0;n<t[e(537)];n++){if(!(t[n][e(526)]||t[n][e(327)]||t[n][e(538)]||t[n][e(507)]))continue;if(0==t[n][e(504)])continue;const s=t[n][e(545)];i[e(527)](s)||i[e(382)](s)||(t[n][e(526)]&&delete t[n][e(526)],t[n][e(327)]&&delete t[n][e(327)],t[n][e(507)]&&delete t[n][e(507)],t[n][e(538)]&&(t[n][e(548)]=!0))}return t[e(455)](t=>!t[e(548)])}[oe(408)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(503)][n(493)],c=a[n(377)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(537)];e++)if(n(300)===t[e][n(257)]){t[e][n(387)]=a[n(389)](s,f);const i=new X.ModelElement(t[e][n(545)][n(554)],t[e][n(545)][n(543)]());u[0][n(505)](i),f[n(267)](0),u[n(437)](i),t[e][n(459)]=a[n(389)](s,f)}else n(293)===t[e][n(257)]?(u[n(458)](),t[e][n(387)]=a[n(389)](s,f),f[n(539)](),f[f[n(537)]-1]++,t[e][n(459)]=a[n(389)](s,f)):(t[e][n(387)]=a[n(389)](s,f),d?d[n(384)]+=t[e][n(545)][n(351)]:d=new X.ModelText(t[e][n(545)][n(351)],t[e][n(545)][n(543)]()),t[e+1]&&n(288)===t[e+1][n(257)]&&v(d,t[e+1][n(545)])||(u[0][n(505)](d),d=null),f[f[n(537)]-1]+=t[e][n(545)][n(259)],t[e][n(459)]=a[n(389)](s,f));for(let e=0;e<t[n(537)];e++){const i=t[e][n(387)],s=t[e][n(459)];for(const s of t[e][n(560)])o[n(407)](s,{start:i,end:null});m(n(507),e,i,s),m(n(327),e,i,s),m(n(538),e,i,s),m(n(526),e,i,s);for(const i of t[e][n(563)]){const t=o[n(447)](i);t?t[n(349)]=s:o[n(407)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(503)][n(493)][n(287)](e[n(461)],e[n(349)]);s[n(340)][n(407)](t,i)}return r[n(522)]((t,e)=>{const i=n,r=s[i(340)][i(447)](i(297)+t.id),o=s[i(340)][i(447)](i(297)+e.id);return r[i(461)][i(460)](o[i(461)])?-1:r[i(461)][i(333)](o[i(461)])?1:r[i(349)][i(460)](o[i(349)])?-1:r[i(349)][i(333)](o[i(349)])?1:i(383)===t[i(257)]?-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(286)]:null,d=i===t[o(537)]-1,f=h[e][0],m=c[o(430)](t[i][o(545)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(349)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(286)]!==u&&(l[e][o(349)]=s,f&&f[o(286)]===l[e][o(286)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(300)!==t[i][o(257)]||f&&f[o(286)]===u||h[e][o(437)]({userId:u,object:t[i][o(545)],change:l[e]}),o(293)===t[i][o(257)]&&f&&f[o(513)]===t[i][o(545)]&&(h[e][o(458)](),l[e]=f[o(478)])),l[e]&&d&&(l[e][o(349)]=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(545)],f=a[h(377)][h(527)](d)&&!a[h(377)][h(382)](d),m=t[h(290)]==o[h(284)]&&o[h(457)];if(f&&m)return;const p=a[h(287)](t,o),v=e[h(447)](u),g=new Qt({author:v,type:h(526)==l||h(327)==l?h(383):h(557),data:{isSuggestion:h(327)==l||h(507)==l},createdAt:new Date,rootName:i});r[h(267)](g),s[h(340)][h(407)](h(297)+g.id,p)}function v(t,e){const i=n,s=t[i(543)](),r=e[i(543)]();for(const t of s){if(t[1]!==e[i(417)](t[0]))return!1;r[i(487)]()}return r[i(487)]()[i(520)]}}[oe(271)](){const t=oe;this[t(503)][t(388)][t(506)](t(534))[t(475)]({view:t(431)}),this[t(503)][t(388)][t(506)](t(541))[t(490)]({model:t(431),view:e=>{const i=t,n=e[i(410)][i(508)](":")[1],s=this[i(440)](n);if(!s)return null;const r=i(383)==s[i(257)]?i(469):i(428),o=[i(498),i(315)+r];return s[i(351)][i(453)]&&o[i(267)](i(315)+r+i(390)),this[i(399)]==s&&o[i(267)](i(472)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(503)][t(388)][t(506)](t(534))[t(383)](e=>{const i=t;e.on(i(488),(t,e,n)=>{const s=i,r=e[s(470)][s(298)](0);if(!r||!r.is(s(337),s(322)))return;if(!n[s(263)][s(512)](r,{attributes:[s(362),s(438)]}))return;const o=e[s(483)][s(461)][s(290)];n[s(360)][s(402)](s(362),r[s(417)](s(362)),o),n[s(360)][s(402)](s(438),r[s(417)](s(438)),o)},{priority:i(291)})}),this[t(503)][t(388)][t(506)](t(534))[t(383)](e=>{const i=t;e.on(i(337),(t,e,n)=>{const s=i;if(!n[s(263)][s(512)](e[s(470)],{attributes:[s(362),s(438)]}))return;if(e[s(483)][s(550)])return;const r=e[s(483)][s(461)][s(290)];r[s(332)](s(362))||r[s(332)](s(571))||(n[s(360)][s(402)](s(362),e[s(470)][s(417)](s(362)),r),n[s(360)][s(402)](s(438),e[s(470)][s(417)](s(438)),r))},{priority:i(291)})}),this[t(503)][t(388)][t(506)](t(534))[t(313)]({view:{name:t(392),attributes:{vid:!0}},model:{key:t(571),value:e=>e[t(417)](t(571))}}),this[t(503)][t(493)][t(377)].on(t(280),(e,[,i])=>{const n=t;[n(362),n(438),n(571)][n(386)](i)&&(e[n(341)]=!0,e[n(422)]())},{priority:t(435)}),this[t(503)][t(388)][t(506)](t(547))[t(383)](e=>{const i=t;e.on(i(329),(t,e,n)=>{const s=i;if(" "!=e[s(545)][s(351)]||e[s(545)][s(284)][s(494)]>1)return;if(!n[s(263)][s(512)](e[s(545)],t[s(554)]))return;const r=n[s(360)],o=n[s(266)][s(427)](e[s(375)]);r[s(540)](o,r[s(314)](s(392)))})}),this[t(503)][t(388)][t(506)](t(547))[t(292)]({model:t(431)}),this[t(503)][t(255)][t(301)].on(t(328),function(e){const i=t,n=e[i(515)][i(447)](i(369));return(t,s,r)=>{const o=i,a=s[o(410)][o(508)](":")[1],c=n[o(440)](a);if(!c)return null;const u=o(383)==c[o(257)]?o(508):o(489);if(!r[o(263)][o(348)](s[o(521)],t[o(554)]))return;const l=s[o(521)][o(497)](),h=s[o(521)][o(461)],d=e[o(493)][o(377)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(545)];p=p||d[o(496)](e);const i=r[o(266)][o(416)](e);if(i&&i[o(276)](o(561)))return;o(293)==t[o(257)]&&d[o(527)](e)&&!d[o(382)](e)&&(e[o(264)]||h[o(523)]?f&&f[o(284)]==e||(f=e,g(t[o(387)]),v=!0):m=m||t[o(387)])}function g(t){const e=o,i=r[e(360)][e(477)](e(392),{class:e(315)+u}),a=r[e(266)][e(335)](t);c[e(351)][e(453)]&&r[e(360)][e(304)](e(315)+u+e(390),i),n[e(399)]==c&&r[e(360)][e(304)](e(472),i),r[e(360)][e(462)](a,i),r[e(266)][e(566)](i,s[e(410)])}p||v||!m||g(m)}}(this[t(503)]),{priority:t(323)}),this[t(503)][t(255)][t(301)].on(t(316),(e,i,n)=>{const s=t,r=n[s(266)][s(279)](i[s(410)]);if(r)for(const t of r)(t[s(517)](s(467))||t[s(517)](s(409)))&&(n[s(266)][s(385)](t,i[s(410)]),n[s(360)][s(557)](t))},{priority:t(323)}),this[t(503)][t(255)][t(301)].on(t(328),(e,i,n)=>{const s=t,r=i[s(410)][s(508)](":")[1],o=this[s(440)](r);if(!o)return null;const a=s(383)==o[s(257)]?s(508):s(489);if(n[s(263)][s(348)](i[s(521)],e[s(554)]))for(const t of i[s(521)][s(343)]()){if(!t.is(s(337),s(562)))continue;const e=n[s(360)][s(477)](s(392),{class:s(315)+a}),r=n[s(266)][s(335)](this[s(503)][s(493)][s(426)](t));o[s(351)][s(453)]&&n[s(360)][s(304)](s(315)+a+s(390),e),this[s(399)]==o&&n[s(360)][s(304)](s(472),e),n[s(360)][s(462)](r,e),n[s(266)][s(566)](e,i[s(410)])}},{priority:t(323)}),this[t(503)][t(493)][t(542)].on(t(478),()=>{const e=t;this[e(503)][e(255)][e(380)][e(478)](t=>{const i=e;for(const e of this[i(503)][i(493)][i(542)][i(482)]()){const n=this[i(503)][i(493)][i(542)][i(347)](e),s=this[i(503)][i(255)][i(380)][i(542)][i(347)](e);if(s){const e=n[i(417)](i(414));if(t[i(324)](i(403),s),t[i(423)](i(486),s),t[i(423)](i(465),s),t[i(423)](i(283),s),e){const n=this[i(440)](e);if(!n)return null;t[i(402)](i(403),e,s),t[i(304)](i(485)+n[i(257)],s),this[i(399)]==n&&t[i(304)](i(283),s)}}}})}),this[t(503)][t(388)][t(506)](t(534))[t(475)]({view:t(359),model:e=>t(471)+e,converterPriority:t(435)}),this[t(503)][t(388)][t(506)](t(534))[t(475)]({view:t(445),model:e=>t(364)+e,converterPriority:t(435)}),this[t(503)][t(388)][t(506)](t(547))[t(292)]({model:t(381),view:e=>({name:t(277)+e,group:t(381)}),converterPriority:t(435)}),this[t(503)][t(388)][t(506)](t(541))[t(490)]({model:t(381),view:e=>{const i=t,n=e[i(410)][i(508)](":")[1];return i(469)!=n&&i(428)!=n?null:{classes:[i(356),i(325)+n]}}}),this[t(503)][t(255)][t(301)].on(t(270),ue(this[t(503)],t(489)),{priority:t(323)}),this[t(503)][t(255)][t(301)].on(t(530),ue(this[t(503)],t(508)),{priority:t(323)}),this[t(503)][t(255)][t(301)].on(t(306),(e,i,n)=>{const s=t,r=n[s(266)][s(279)](i[s(410)]);if(r)for(const t of r)t.is(s(425))&&(n[s(266)][s(385)](t,i[s(410)]),n[s(360)][s(557)](t))},{priority:t(323)})}[oe(440)](t){const e=oe;return this[e(412)][e(447)](t)}[oe(434)](t){const e=oe;return this[e(294)]&&this[e(294)][e(338)](),this[e(294)]=new Yt(this[e(503)][e(452)],t),this[e(294)]}[oe(531)](){const t=oe;this[t(503)][t(493)][t(542)][t(464)][t(274)](t(431)),this.on(t(405),(e,i,n,s)=>{const r=t;s&&this[r(466)][r(557)](s),n&&(this[r(466)][r(383)]({view:n,stackId:r(394),position:{target:()=>{const t=r,e=this[t(503)][t(255)],i=this[t(440)](n[t(373)]);let s;if(i[t(351)][t(372)]){const n=e[t(380)][t(518)](i[t(564)]);s=Array[t(419)](n[t(553)]())}else{const i=this[t(503)][t(493)][t(340)][t(447)](t(297)+n[t(373)]);s=Array[t(419)](e[t(266)][t(279)](i[t(554)]))[t(282)](i=>e[t(380)][t(509)][t(473)](i))[t(282)](e=>Array[t(419)](e[t(553)]()))[t(251)]()}return this[t(269)]&&s[t(299)](e=>e[t(565)]-3<=this[t(269)].y&&e[t(448)]+3>=this[t(269)].y&&e[t(261)]-3<=this[t(269)].x&&e[t(451)]+3>=this[t(269)].x)||s[0]}}}),this[r(466)][r(395)](r(394)))}),this.on(t(533),(e,i,n,s)=>{const r=t;this[r(379)]=n?this[r(434)](n):null,this[r(503)][r(493)][r(478)](()=>{const t=r,e=this[t(503)][t(255)];s&&(s[t(351)][t(372)]?e[t(380)][t(478)](i=>{const n=t;i[n(423)](n(283),e[n(380)][n(542)][n(347)](s[n(564)]))}):e[t(569)](t(297)+s.id)),n&&(n[t(351)][t(372)]?e[t(380)][t(478)](i=>{const s=t;i[s(304)](s(283),e[s(380)][s(542)][s(347)](n[s(564)]))}):e[t(569)](t(297)+n.id))})}),this[t(397)](this[t(503)][t(255)][t(380)][t(542)],t(401),(e,i)=>{const n=t;if(this[n(399)])return;const s=this[n(555)](i[n(342)]),r=this[n(412)][n(447)](s);r?(this[n(269)]={x:i[n(253)].x,y:i[n(253)].y},this[n(379)]=this[n(434)](r)):(this[n(269)]=null,this[n(379)]=null)}),this[t(397)](this[t(503)][t(255)][t(380)][t(542)],t(344),(e,i)=>{const n=t,s=this[n(555)](i[n(342)]),r=this[n(412)][n(447)](s);r?(this[n(269)]={x:i[n(253)].x,y:i[n(253)].y},r===this[n(399)]?this[n(466)][n(444)]():this[n(399)]=r):(this[n(269)]=null,this[n(399)]=null)})}[oe(555)](t){const e=oe;do{const i=t[e(417)](e(403));if(i)return i;t=t[e(284)]}while(t);return null}[oe(308)](){const t=oe;this[t(503)][t(493)][t(478)](e=>{const i=t;for(const t of this[i(503)][i(493)][i(340)])e[i(481)](t)})}}function ue(t,e){return(i,n,s)=>{const r=le;if(!s[r(263)][r(348)](n[r(521)],i[r(554)]))return;const o=n[r(521)][r(497)](),a=n[r(521)][r(461)],c=t[r(493)][r(377)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(545)];h=h||c[r(496)](e);const i=s[r(266)][r(416)](e);if(i&&i[r(276)](r(561)))return;r(293)==t[r(257)]&&c[r(527)](e)&&!c[r(382)](e)&&(e[r(264)]||a[r(523)]?u&&u[r(284)]==e||(u=e,f(t[r(387)]),d=!0):l=l||t[r(387)])}function f(t){const i=r,o=s[i(266)][i(335)](t),a=s[i(360)][i(477)](i(392),{class:i(325)+e});s[i(360)][i(462)](o,a),s[i(266)][i(566)](a,n[i(410)])}h||d||!l||f(l)}}function le(t,e){const i=ae();return(le=function(t,e){return i[t-=249]})(t,e)}class he extends J.Command{constructor(t){const e=oe;super(t);const i=t[e(515)][e(447)](ce);this[e(391)]=!1,this[e(397)](i,e(572),()=>this[e(358)]()),this[e(397)](i,e(510),()=>this[e(358)]())}[oe(272)](){const t=oe,e=this[t(503)],i=e[t(515)][t(447)](ce),n=i[t(511)]?i[t(446)][t(254)]:null;e[t(514)][t(447)](t(296))[t(321)](n)}[oe(358)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(503)][t(515)][t(447)](ce),r=s&&n[t(502)](s[t(254)]);this[t(303)]=e&&i&&Boolean(r)}}class de extends J.Command{[oe(549)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(515)][i(447)](ce);this[i(391)]=!1,this[i(549)]=i(495)===e?1:-1,this[i(397)](n,i(572),()=>this[i(358)]()),this[i(397)](n,i(510),()=>this[i(358)]()),this[i(397)](n,i(533),()=>this[i(358)]())}[oe(272)](){const e=oe,i=this[e(503)],n=i[e(515)][e(447)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(399)]=s?n[e(446)][e(354)][e(447)](r+this[e(549)]):n[e(446)][e(354)][e(367)],n[e(399)][e(351)][e(372)])o=i[e(255)][e(380)][e(518)](n[e(399)][e(564)]);else{const t=i[e(493)][e(340)][e(447)](e(297)+n[e(399)].id);o=(0,K.getMarkerDomElement)(i[e(255)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(358)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(503)][t(515)][t(447)](ce);this[t(303)]=!!(r&&s&&n)&&(!e||(1===this[t(549)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Vt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=175]})(t,e)}function ve(){const t=["225UMHKrt","isEnabled","div","2262136gPlOpV","fire","5297178KoBCeS","Total","EDIT_X_OF_Y_REVISIONS","14DXluRV","No changes","2181260UoTrTW","setTemplate","forward","isForwardNavigationEnabled","Show next change","isNavigationMode","72880zIgtzP","isReady","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation","Loading...","span","3EXxfJe","ck-revision-history-ui__changes-navigation__wrapper","backward","_statusText","execute","Show previous change","ck-revision-history-ui","X_OF_Y_CHANGES","bind","9031GHnvoC","numberOfChanges","1089815eIiVAx","1625674dAHqcR","ck-hidden","ck-revision-history-ui__changes-navigation__label","bindTemplate","49610AsykDu","set","isBackwardNavigationEnabled","_isStatusLabelVisible","ck-revision-history-ui__changes-navigation__navigation","currentChangeNumber"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(985015===parseInt(e(185))/1+parseInt(e(198))/2+-parseInt(e(217))/3*(-parseInt(e(205))/4)+parseInt(e(184))/5+-parseInt(e(200))/6*(-parseInt(e(203))/7)+-parseInt(e(211))/8*(parseInt(e(195))/9)+parseInt(e(189))/10*(-parseInt(e(182))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(188)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(190)](e(210),!1),this[e(190)](e(212),!1),this[e(190)](e(194),0),this[e(190)](e(183),0),this[e(190)](e(208),!1),this[e(190)](e(191),!1),this[e(181)](e(192)).to(this,e(212),this,e(183),(t,e)=>t&&e>0),this[e(181)](e(176)).to(this,e(212),this,e(194),this,e(183),this,e(210),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(215));if(!s)return at(t,o(204));const a=at(t,o(213),s);return r?at(t,o(180),[n+1,s]):a}),n[e(190)]({label:at(t,e(178)),tooltip:!0,icon:_t.IconChevronUp}),s[e(190)]({label:at(t,e(209)),tooltip:!0,icon:_t.IconChevronDown}),n[e(181)](e(196)).to(this,e(191)),s[e(181)](e(196)).to(this,e(208)),n.on(e(177),()=>this[e(199)](e(177),e(175))),s.on(e(177),()=>this[e(199)](e(177),e(207))),this[e(206)]({tag:e(197),attributes:{class:["ck",e(179),e(214)]},children:[{tag:e(216),attributes:{class:[e(218)]},children:[{tag:e(216),attributes:{class:[e(187),i.if(e(192),e(186),t=>!t)]},children:[{text:i.to(e(210),i=>i?at(t,e(202))+": ":at(t,e(201))+": ")}]},{text:i.to(e(176))}]},new It.ToolbarSeparatorView,{tag:e(197),attributes:{class:[e(193)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=_e();return(we=function(t,e){return i[t-=121]})(t,e)}function _e(){const t=["RevisionViewerLoadingOverlay","removeClass","2794980gwcyDx","7948464bdbkSr","3ORvTaP","39802XpYYti","3763860ZNMVOI","2416036TEnhkg","show","hide","738012XsQPvK","isPremiumPlugin","roots","view","editor","14564025lgsIih","editing","document","pluginName","addClass","ck-editor__editable__loading-overlay","704BIYCBp","isOfficialPlugin","change"];return(_e=function(){return t})()}!function(t){const e=we,i=t();for(;;)try{if(738290===parseInt(e(137))/1*(parseInt(e(143))/2)+-parseInt(e(135))/3+parseInt(e(140))/4+parseInt(e(139))/5+parseInt(e(136))/6+parseInt(e(138))/7*(-parseInt(e(130))/8)+-parseInt(e(124))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=be(129);class Se extends J.Plugin{static get[be(127)](){return be(133)}static get[be(131)](){return!0}static get[be(144)](){return!0}[be(141)](){const t=be,e=this[t(123)][t(125)][t(122)];e[t(132)](i=>{const n=t;for(const t of e[n(126)][n(121)])i[n(128)](Ie,t)})}[be(142)](){const t=be,e=this[t(123)][t(125)][t(122)];e[t(132)](i=>{const n=t;for(const t of e[n(126)][n(121)])i[n(134)](Ie,t)})}}const Oe=xe;function Te(){const t=["show","5951vbEkld","1152140woOSXN","commands","restoreRevision","6MuRElV","isBackwardNavigationEnabled","changesNavigation","bind","add","isOfficialPlugin","69650wHidlk","plugins","7764VwLPGH","pluginName","isReady","listenTo","config","showNextChange","forward","ck-revision-history-ui__back-to-editing","set","componentFactory","showPreviousChange","isNavigationMode","requires","3760510zFQpMD","exitToEditing","editor","9wewgCY","change:isReady","50jpIsXp","isForwardNavigationEnabled","numberOfChanges","132872iZrwrk","init","isEnabled","currentChangeNumber","get","Restore this revision","hide","11068maGPkU","isPremiumPlugin","Back to editing","revisionHistory","1007088msEdUc","RevisionViewerUI","execute","4tzkpIu","closeRevisionViewerCallback"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=493]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(370669===-parseInt(e(525))/1*(parseInt(e(535))/2)+-parseInt(e(539))/3*(parseInt(e(542))/4)+parseInt(e(496))/5*(parseInt(e(499))/6)+parseInt(e(505))/7+-parseInt(e(528))/8*(-parseInt(e(523))/9)+parseInt(e(520))/10+-parseInt(e(495))/11*(-parseInt(e(507))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends J.Plugin{static get[Oe(508)](){return Oe(540)}static get[Oe(504)](){return!0}static get[Oe(536)](){return!0}static get[Oe(519)](){return[ce,Se]}[Oe(529)](){const t=Oe,e=this[t(522)],i=e[t(506)][t(532)](ce),n=e[t(506)][t(532)](Se);e.ui[t(516)][t(503)](t(521),i=>{const n=t,s=new It.ButtonView(i);return s[n(515)]({label:at(i,n(537)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(514)}),this[n(510)](s,n(541),()=>{const t=n;e[t(511)][t(532)](t(538))[t(493)]()}),s}),e.ui[t(516)][t(503)](t(498),i=>{const n=t,s=new It.ButtonView(i);return s[n(515)]({label:at(i,n(533)),withText:!0,tooltip:!0}),s[n(502)](n(530)).to(e[n(497)][n(532)](n(498))),this[n(510)](s,n(541),()=>e[n(541)](n(498))),s}),e.ui[t(516)][t(503)](t(501),n=>{const s=t,r=new ge(n),o=e[s(497)][s(532)](s(517)),a=e[s(497)][s(532)](s(512));return r[s(502)](s(500)).to(o,s(530)),r[s(502)](s(526)).to(a,s(530)),r[s(502)](s(509),s(531),s(527),s(518)).to(i),this[s(510)](r,s(541),(t,i)=>{const n=s;e[n(541)](n(513)===i?n(512):n(517))}),r}),n[t(494)](),i.on(t(524),(e,i,s)=>{const r=t;s?n[r(534)]():n[r(494)]()})}}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Vt();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ve;function Ee(){const t=["render","1848744dOkLyj","span","extendTemplate","Revision name","_tooltipString","value","110363PgaZDN","listenTo","input","ck-revision-history-sidebar__revision-name","_resizeObserver","1005319VjjZbc","placeholder","clientWidth","113616yMhfVT","scrollWidth","8KGzGro","171fKbPgE","destroy","ck-tooltip_multi-line","5cFEOud","349250qjvftz","588621xRkkqQ","element","bindTemplate","Enter the revision name","set","fieldView","59810JQMiSM","_updateTooltipText"];return(Ee=function(){return t})()}function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=290]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(177753===-parseInt(e(312))/1+parseInt(e(296))/2+-parseInt(e(297))/3+parseInt(e(320))/4*(-parseInt(e(295))/5)+parseInt(e(306))/6+parseInt(e(317))/7*(parseInt(e(291))/8)+-parseInt(e(292))/9*(parseInt(e(303))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(316)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(299)];this[i(301)]({label:at(t,i(309)),_tooltipString:""}),this[i(302)][i(318)]=at(t,i(300)),this[i(308)]({tag:i(307),attributes:{class:[i(315)],"data-cke-tooltip-text":n.to(i(310)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(294)}})}[Me(305)](){const e=Me;super[e(305)](),this[e(316)]=new t.ResizeObserver(this[e(302)][e(298)],()=>this[e(304)]()),this[e(313)](this[e(302)],e(314),()=>this[e(304)]())}[Me(293)](){const t=Me;super[t(293)](),this[t(316)]&&this[t(316)][t(293)]()}[Me(304)](){const t=Me,e=this[t(302)][t(298)];this[t(310)]=e[t(290)]>e[t(319)]&&e[t(311)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Vt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["setTemplate","888PcDvfw","ck-revision-history-sidebar__revision-author_creator","name","55584EfxZRu","0 0 11 10","4371448EvHsXg","7317uOKjlF","Revision creator","set","287843OxUsmR","push","650245lHjYoG","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author__name","21rKGWWd","179390STufEL","Revision author","span","44430ZxmogB"];return(je=function(){return t})()}function Pe(t,e){const i=je();return(Pe=function(t,e){return i[t-=323]})(t,e)}!function(t){const e=Pe,i=t();for(;;)try{if(317131===parseInt(e(330))/1+-parseInt(e(336))/2+parseInt(e(327))/3*(-parseInt(e(341))/4)+parseInt(e(332))/5+-parseInt(e(339))/6*(parseInt(e(335))/7)+parseInt(e(326))/8+parseInt(e(324))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Le extends It.View{constructor(t,e,i){const n=Pe;super(t);const s=new It.IconView;s[n(329)]({content:_t.IconUser,viewBox:n(325)});const r=["ck",n(333)];i&&r[n(331)](n(342));const o=[{tag:n(338),attributes:{class:["ck",n(334)],title:at(t,n(i?328:337))},children:[s,e[n(323)]]}];this[n(340)]({tag:"li",attributes:{class:r},children:o})}}function We(){var t=["340LWZRaq","2749637WqQuaE","7938050KDxZcA","3504yObtiv","1055724rrimsa","434871ioXzPW","32VtsWQM","toLocaleTimeString","numeric","10165ZQTVaG","67244Waerht","716NgMGRZ","toLocaleDateString","long","14BRpPyS"];return(We=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=219]})(t,e)}!function(t){for(var e=ze,i=t();;)try{if(430829===-parseInt(e(220))/1+-parseInt(e(221))/2*(parseInt(e(228))/3)+parseInt(e(225))/4*(-parseInt(e(219))/5)+parseInt(e(229))/6*(parseInt(e(224))/7)+parseInt(e(231))/8*(parseInt(e(230))/9)+parseInt(e(227))/10+-parseInt(e(226))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(11),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=Rt().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Vt();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(t,e){const i=$e();return(He=function(t,e){return i[t-=283]})(t,e)}function $e(){const t=["8136CRxeCT","find","isOpen","isReady","first","change:isActionsDropdownOpen","extendTemplate","ck-on","Restore this revision","action","12444ZPcGBU","885051BbndUi","228ZGxUML","function","isEnabled","1021631jOwxUi","items","1741785wRnpdA","64cxOAOO","source","execute","button","children","7gCNWpe","set","80sTCssO","1344414ctglmg","582791qnaMES","name","isActionsDropdownOpen","listView","menu","40hKEXMa","map","Name this revision","bind","model","_action","menuitem","isVisible","ck-revision-history-sidebar__revision__actions","listenTo","98uXVIrW","Compare against selected","locale","add","bindTemplate","stopPropagation","class","Show more items","panelPosition","buttonView"];return($e=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(402947===parseInt(e(293))/1*(-parseInt(e(325))/2)+-parseInt(e(283))/3*(parseInt(e(308))/4)+parseInt(e(300))/5+parseInt(e(309))/6*(parseInt(e(306))/7)+parseInt(e(301))/8*(-parseInt(e(294))/9)+parseInt(e(315))/10*(-parseInt(e(310))/11)+parseInt(e(295))/12*(parseInt(e(298))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var qe=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Vt();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Ge;function Ge(t,e){const i=Ke();return(Ge=function(t,e){return i[t-=216]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(173424===parseInt(e(241))/1*(-parseInt(e(261))/2)+parseInt(e(266))/3*(-parseInt(e(235))/4)+-parseInt(e(250))/5*(parseInt(e(216))/6)+parseInt(e(232))/7+-parseInt(e(221))/8*(-parseInt(e(269))/9)+-parseInt(e(243))/10*(-parseInt(e(262))/11)+parseInt(e(231))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ke);class Je extends((0,K.ConfirmMixin)(It.View)){id;[Ye(229)];[Ye(222)];[Ye(233)];[Ye(275)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(227)],a=function(t,e){const i=r,n=Array[i(242)](e[i(270)])[i(256)](t=>t!=e[i(217)]);return e[i(217)]&&n[i(267)](e[i(217)]),n[i(249)](n=>new Le(t,n,n==e[i(217)]))}(e,i);this.id=i.id,this[r(233)]=i,this[r(275)]=s,this[r(230)](r(252),r(225)).to(i),this[r(230)](r(268)).to(this,r(225),t=>{return i=e[r(281)],(n=t)[(s=ze)(222)](i,{month:s(223),day:s(233)})+", "+n[s(232)](i,{hour:s(233),minute:s(233)});var i,n,s}),this[r(273)](r(254),!1),this[r(273)](r(272),!1),this[r(273)](r(236),!1),this[r(273)](r(251),!1),this[r(273)](r(219),!1),this[r(229)]=new De(e,It.createLabeledInputText),this[r(229)][r(237)][r(223)]({attributes:{maxlength:r(226)}}),this[r(229)][r(237)][r(230)](r(265)).to(this,r(252),t=>t||this[r(268)]),this[r(229)][r(230)](r(219)).to(this,r(254),this,r(219),(t,e)=>t&&e),this[r(222)]=n&&n[r(244)]?function(e,i){const n=He,s=e[n(329)],r=e[n(327)],o=(0,It.createDropdown)(r);o[n(333)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=He,n=t[i(327)],s={"Compare against selected":at(n,i(326)),"Name this revision":at(n,i(317)),"Restore this revision":at(n,i(291))};return e[i(316)](t=>{const e=i,n=s[t[e(311)]];return n&&n!==t[e(311)]&&(t[e(311)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(304),model:new It.UIModel({label:t[s(311)],class:t[s(331)],withText:!0,role:s(321),_action:t[s(292)]})};i[s(319)][s(318)](s(297)).to(e,s(312),i=>s(296)!=typeof t[s(297)]||!i||t[s(297)](e)),o[s(328)](i)}return o}(e,i);return e[n(318)](n(312)).to(o,n(285)),o[n(334)][n(307)]({label:at(r,n(332)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(289)]({attributes:{class:[n(323),s.if(n(312),n(290))]},on:{click:s.to(t=>t[n(330)]())}}),o.on(n(303),t=>{const i=n;e[i(286)]&&i(296)==typeof t[i(302)][i(320)]&&t[i(302)][i(320)](e)}),(0,It.addListToDropdown)(o,a,{role:n(314)}),o[n(324)](e,n(288),(t,s,r)=>{const a=n;if(r)for(const t of o[a(313)][a(299)]){const n=t[a(305)][a(287)],s=i[a(284)](t=>t[a(292)]===n[a(320)])[a(322)];t[a(322)]=void 0===s||s(e)}}),o}(this,n):"",this[r(222)]&&this[r(222)][r(230)](r(219)).to(this),this[r(280)]({tag:r(264),attributes:{class:["ck",r(282),r(260),o.if(r(238),r(259))]},children:[{tag:r(264),attributes:{class:["ck",r(282),r(224),o.if(r(219),r(271),t=>!t),o.if(r(254),r(253)),o.if(r(272),r(274)),o.if(r(236),r(247))]},children:[this[r(229)],{tag:r(276),attributes:{class:["ck",r(248)]},children:[{text:o.to(r(268))}]},{tag:r(264),attributes:{class:["ck",r(258)]},children:[{tag:"ul",attributes:{class:["ck",r(279)]},children:a}]},this[r(222)]],on:{click:o.to(t=>{const e=r;t[e(245)][e(257)](e(220))||this[e(251)]&&this[e(219)]&&this[e(234)](e(277),{id:this.id})})}}]})}[Ye(255)](){const t=Ye;super[t(255)]();const e=this[t(229)][t(237)][t(278)];this[t(228)](e,t(246),()=>{const i=t;this[i(275)]&&!e[i(265)]||this[i(234)](i(263),{id:this.id,name:e[i(265)]}),e[i(265)]||(e[i(265)]=this[i(252)]?this[i(252)]:this[i(268)])})}[Ye(277)](){this[Ye(254)]=!0}[Ye(239)](){this[Ye(254)]=!1}[Ye(240)](){this[Ye(272)]=!0}[Ye(218)](){this[Ye(272)]=!1}}function Ke(){const t=["setTemplate","uiLanguage","ck-reset","208602XXxlxV","creator","unhighlight","isEnabled",".ck-thread__remove-confirm","184UyfESK","revisionActionsView","extendTemplate","ck-revision-history-sidebar__revision","createdAt","220","bindTemplate","listenTo","revisionNameView","bind","4496472pBxHoP","441168KHQSAS","_revision","fire","3748DzfYOg","isActionsDropdownOpen","fieldView","isConfirm","deselect","highlight","251hDsLgn","from","230BvhEKx","length","srcElement","change","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision__date","map","15NRyYXM","isReady","name","ck-revision-history-sidebar__revision_selected","isSelected","render","filter","closest","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision-wrapper","2506JRVlrf","3498XizPcL","setName","div","value","291aJwUXH","unshift","_createdAtFormatted","93159yMRQax","authors","ck-disabled","isHighlighted","set","ck-revision-history-sidebar__revision_highlighted","_requireRevisionName","span","select","element","ck-revision-history-sidebar__revision-authors"];return(Ke=function(){return t})()}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Ei=null;class Vi extends Mi{static get instance(){return null===Ei&&(Ei=new Vi),Ei}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[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=Ci[e];"era"===e?n[r]=s:Vn(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 Pi={};const Li=new Map;function Wi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const zi=new Map;const Ui=new Map;let Zi=null;const Hi=new Map;function $i(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{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 Un(this.floor?Math.floor(t):qn(t,3),this.padTo)}}class Gi{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&&ji.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=Wi(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&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.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 Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=Wn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Zi=null,Li.clear(),zi.clear(),Ui.clear(),Hi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.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=Wi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Wi(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"===$i(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Wn(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 Bi(this,t,us,()=>{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=fo.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 Bi(this,t,fs,()=>{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=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.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 Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Gi(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=Pi[i];return n||(n=new Intl.ListFormat(t,e),Pi[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||$i(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?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={...Ki,...e}),qi.set(t,e)}return e}(this.locale):Ki}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 tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en extends Mi{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 nn(t,e){if(Vn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Dn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Vi.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=Wn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(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 In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function Rn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function An(t,e){if(!Vn(t.localWeekday)||!Vn(t.localWeekNumber)||!Vn(t.localWeekYear)){if(!Vn(t.weekday)||!Vn(t.weekNumber)||!Vn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vn(t.localWeekday)||(t.weekday=t.localWeekday),Vn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vn(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 Mn(t){const e=Cn(t.year),i=zn(t.month,1,12),n=zn(t.day,1,Gn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function En(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&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Vn(t){return void 0===t}function Dn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Pn(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 Ln(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Wn(t){if(null==t)return null;if("object"!=typeof t)throw new si("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 si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Zn(t){return Vn(t)||null===t||""===t?void 0:parseInt(t,10)}function Hn(t){return Vn(t)||null===t||""===t?void 0:parseFloat(t)}function $n(t){if(!Vn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qn(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Gn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(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 Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(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 es(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 is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Ln(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(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}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};class ws{static create(t,e={}){return new ws(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 bs[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 Un(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 ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.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=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(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 _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...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 Os(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 Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Zn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rs=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),As=RegExp(`(?:T${Rs.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Es=Ts("year","ordinal"),Vs=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Vs.source})?`);function Cs(t,e,i){const n=t[e];return Vn(n)?i:Zn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:$n(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ps(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ls=RegExp(`^T?${Ns.source}$`),Ws=/^-?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(Hn(i)),months:d(Hn(n)),weeks:d(Hn(s)),days:d(Hn(r)),hours:d(Hn(o)),minutes:d(Hn(a)),seconds:d(Hn(c),"-0"===c),milliseconds:d($n(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Zn(e)):Zn(e),month:as.indexOf(i)+1,day:Zn(n),hour:Zn(s),minute:Zn(r)};return o&&(a.second=Zn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Hs=/^(?:(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 $s(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Zs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const qs=/^(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$/,Bs=/^(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$/,Ys=/^(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 Gs(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,s,n,i,r,o,a),tn.utcInstance]}function Js(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Qs=Is(/(\d{4})-?(\d{3})/,As),tr=Is(Rs),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ps),ir=Ss(Ms,Fs,js,Ps),nr=Ss(Es,Fs,js,Ps),sr=Ss(Fs,js,Ps);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Vs),cr=Ss(Fs,js,Ps);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(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 br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Vn(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),pr.reduce((i,n)=>{if(Vn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.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 br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[Ws,zs])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ls,rr])}(t);return i?br.fromObject(i,e):br.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 yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({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 ni(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?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vn(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+=qn(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 fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Ln(e.values,t)||Ln(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(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 kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(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=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)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;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(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 kr(this.matrix,e),gr(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 gr(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 pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.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=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.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?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).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(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.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(_r.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:_r.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 _r.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(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(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=Sr(t,e);return(i-i%7)/7}],["days",Sr]],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=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(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(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Er(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Lr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Ln(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;Vn(t.z)||(i=ji.create(t.z)),Vn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Vn(t.q)||(t.M=3*(t.q-1)+1),Vn(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),Vn(t.u)||(t.S=$n(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(Ln(i,"a")&&Ln(i,"H"))throw new ii("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 Pr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),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=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const Wr="Invalid DateTime",zr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function $r(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function qr(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 Br(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 Yr(t,e,i){return qr(Jn(t),e,i)}function Gr(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,Gn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.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]=qr(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=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e);let s,r;if(Vn(t.year))s=gn.now();else{for(const e of no)Vn(t[e])&&(t[e]=to[e]);const e=Mn(t)||En(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Vn(i.round)||i.round,s=(t,s)=>{t=qn(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 uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Vn(t.ts)?gn.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=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({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 fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(Dn(t))return t<-zr||t>zr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=An(s,n),a=gn.now(),c=Vn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vn(s.ordinal),l=!Vn(s.year),h=!Vn(s.month)||!Vn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Vn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=zn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=zn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=zn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||En(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?Rn(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Jr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hs,$s])}(t);return Jr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[qs,Gs],[Bs,Gs],[Ys,Js])}(t);return Jr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vn(t)||Vn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Pr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Jr(i,n,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 yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.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?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.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=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Gn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.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]=Yr(i,e,t)}return $r(this,{ts:n,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(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=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=An(e,this.loc),s=!Vn(e.weekYear)||!Vn(e.weekNumber)||!Vn(e.weekday),r=!Vn(e.ordinal),o=!Vn(e.year),a=!Vn(e.month)||!Vn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Vn(e.ordinal)?(l={...this.toObject(),...e},Vn(e.day)&&(l.day=Math.min(Gn(l.year,l.month),l.day))):l=Rn({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Gr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Gr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Wr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):Wr}toLocaleParts(t={}){return this.isValid?ws.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=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(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 Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Wr}[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 br.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(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.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||fo.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),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Pn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Pn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Pr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(Vn(t)||Vn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,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?fo.invalid(u):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Dn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["27wTNuTF","676782OOjBqE","setLocale","hasSame","month","274180UulodI","year","11HVRzsd","198192CRkmWL","1463352GccgMl","day","3326iWMmhZ","startOf","monthLong","minus","50mCbuNZ","1881691nmqEEy","week","toJSDate","local","toRelativeCalendar","65176RFkyhE","weekdayLong","fromJSDate"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=424]})(t,e)}function go(t,e){const i=vo,n=fo[i(426)](t)[i(429)](e),s=fo[i(446)](),r=s[i(441)]({days:1})[i(439)](i(437));let o,a;return n[i(430)](s,i(437))?(o=n[i(439)](i(437))[i(445)](),a=n[i(447)]()):n[i(430)](r,i(437))?(o=r[i(445)](),a=n[i(447)]()):n[i(430)](s,i(444))?(o=n[i(439)](i(444))[i(445)](),a=n[i(425)]||""):n[i(430)](s,i(433))?(o=n[i(439)](i(431))[i(445)](),a=n[i(440)]||""):(o=n[i(439)](i(433))[i(445)](),a=String(n[i(433)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(173892===-parseInt(e(434))/1*(parseInt(e(438))/2)+-parseInt(e(435))/3+-parseInt(e(424))/4*(parseInt(e(442))/5)+-parseInt(e(428))/6+parseInt(e(443))/7+parseInt(e(436))/8+parseInt(e(427))/9*(parseInt(e(432))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=303]})(t,e)}function _o(){const t=["startDate","div","revisionViews","2ErqYfk","5MLjUJW","81650YcGcIn","ck-revision-history-sidebar__time-period__revisions","5147589lEwEqJ","removeRevision","36802128AkvUUd","7680952JaVeWu","localizedPeriodName","ck-revision-history-sidebar__time-period__label","2880544whnrQJ","delegate","uiLanguage","add","createCollection","ck-revision-history-sidebar__time-period","_revisionActions","span","remove","select","_requireRevisionName","setTemplate","setName","7Qvdsbu","addRevision","1251ZOoQlB","locale","10119468HCzIlW","find","1043266iuYHXC"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(956749===-parseInt(e(312))/1+-parseInt(e(316))/2*(-parseInt(e(320))/3)+parseInt(e(326))/4*(parseInt(e(317))/5)+-parseInt(e(310))/6+-parseInt(e(306))/7*(parseInt(e(323))/8)+-parseInt(e(308))/9*(parseInt(e(318))/10)+parseInt(e(322))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(313)];[bo(315)];[bo(332)];[bo(303)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(309)][s(328)])[s(324)];this[s(313)]=e,this[s(315)]=this[s(330)](),this[s(332)]=i,this[s(303)]=n,this[s(315)][s(327)](s(335)).to(this),this[s(315)][s(327)](s(305)).to(this),this[s(304)]({tag:s(314),attributes:{class:["ck",s(331)]},children:[{tag:s(333),attributes:{class:["ck",s(325)]},children:[{text:r}]},{tag:s(314),attributes:{class:["ck",s(319)]},children:this[s(315)]}]})}[bo(307)](t){const e=bo,i=new Je(this[e(309)],t,this[e(332)],this[e(303)]);this[e(315)][e(329)](i)}[bo(321)](t){const e=bo,i=this[e(315)][e(311)](e=>e.id===t.id);this[e(315)][e(334)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Vt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=221]})(t,e)}function xo(){const t=["33IsKEJn","div","content","setTemplate","514911tKNrWN","334608ezzVUh","ck-revision-history-sidebar__header","16820JsRMRh","1392uYQyUE","2926041FGtNjb","9uGavoP","6ggirtu","40707147eYOrFJ","4KNjtwQ","49ngbSAn","947048cNbFav","ck-reset_all","span","4655770Jddmto","ck-revision-history-sidebar__header__label","Revision history"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(944945===parseInt(e(228))/1*(-parseInt(e(235))/2)+parseInt(e(233))/3*(-parseInt(e(237))/4)+-parseInt(e(231))/5*(-parseInt(e(232))/6)+-parseInt(e(238))/7*(parseInt(e(239))/8)+-parseInt(e(234))/9*(-parseInt(e(221))/10)+-parseInt(e(224))/11*(parseInt(e(229))/12)+parseInt(e(236))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(226)]=_t.IconHistory,this[e(227)]({tag:e(225),attributes:{class:["ck",e(240),e(230)]},children:[i,{tag:e(241),attributes:{class:["ck",e(222)]},children:[at(t,e(223))]}]})}}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Vt();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Vo;function Eo(){const t=["some","find","createCollection","fire","_revisions","bindTemplate","highlightRevisions","flat","delegate","12NwaWrR","ck-revision-history-sidebar","map","setTemplate","unhighlight","add","907fMVrsJ","766wblYPu","selectRevision","startDate","timePeriodViews","_removeRevision","2902045GODmMP","ck-rounded-corners","setName","235332lBRGCL","_revisionActions","24UheQPA","revisionSelected","highlight","div","addRevision","isEnabled","17227GEQzPY","4665120NRaeUv","ck-reset","select","render","372KBkpgz","revisionSetName","_requireRevisionName","removeRevision","34445609rHbCBG","_addRevision","getTime","1446QEJAnu","deselect","ck-disabled","26238gKqPIP","locale","revisionViews","set","uiLanguage","ck-revision-history-sidebar__timeline","remove","createdAt","_getTimePeriodViewByStartDate","get"];return(Eo=function(){return t})()}function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=384]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(409082===-parseInt(e(415))/1*(parseInt(e(416))/2)+-parseInt(e(390))/3*(parseInt(e(437))/4)+-parseInt(e(421))/5+parseInt(e(387))/6*(-parseInt(e(432))/7)+-parseInt(e(426))/8*(-parseInt(e(424))/9)+-parseInt(e(433))/10+parseInt(e(384))/11*(parseInt(e(409))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Mo(419)];[Mo(404)];[Mo(425)];[Mo(439)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(405)];this[s(419)]=this[s(402)](),this[s(419)][s(408)](s(435)).to(this),this[s(419)][s(408)](s(423)).to(this),this[s(404)]=e,this[s(425)]=i,this[s(439)]=n,this.on(s(435),(t,e)=>{const i=s;this[i(403)](i(427),e)}),this.on(s(423),(t,e)=>{const i=s;this[i(403)](i(438),e)}),this[s(393)](s(431),!1),this[s(412)]({tag:s(429),attributes:{class:["ck",s(434),s(422),s(410)]},children:[new No(t),{tag:s(429),attributes:{class:["ck",s(395),r.if(s(431),s(389),t=>!t)]},children:this[s(419)]}]})}[Mo(436)](){const t=Mo;super[t(436)]();for(const e of this[t(404)])this[t(385)](e);this[t(404)].on(t(414),(e,i)=>{this[t(385)](i)}),this[t(404)].on(t(396),(e,i)=>{this[t(420)](i)})}get[Mo(392)](){const t=Mo;return this[t(419)][t(411)](e=>e[t(392)][t(411)](t=>t))[t(407)]()}[Mo(417)](t){const e=Mo;for(const i of this[e(392)])t&&t.id===i.id?i[e(435)]():i[e(388)]()}[Mo(406)](t){const e=Mo;for(const i of this[e(392)])t[e(400)](({id:t})=>t===i.id)?i[e(428)]():i[e(413)]()}[Mo(385)](t){const e=Mo,i=go(t[e(397)],this[e(391)][e(394)])[e(418)];let n=this[e(419)][e(399)](0);n&&n[e(418)][e(386)]()===i[e(386)]()||(n=new Io(this[e(391)],i,this[e(425)],this[e(439)]),this[e(419)][e(414)](n)),n[e(430)](t)}[Mo(420)](t){const e=Mo,i=go(t[e(397)],this[e(391)][e(394)])[e(418)];this[e(398)](i)[e(440)](t)}[Mo(398)](t){const e=Mo;return this[e(419)][e(401)](i=>i[e(418)][e(386)]()===t[e(386)]())}}const Co=Fo;function Fo(t,e){const i=jo();return(Fo=function(t,e){return i[t-=194]})(t,e)}function jo(){const t=["45jcKMHA","setName","highlightRevisions","revisionHistory.requireRevisionName","Restore this revision","ready","restoreRevisionCallback","RevisionsSidebar","add","destroy","651000XZZDTP","plugins","_sidebarView","compareAgainstSelected","revisionSelected","Name this revision","action","isSelected","isOfficialPlugin","revisionHistory.revisionActions","_handleRevisionSetName","_revisionViewer","bind","defaultRevisionActions","fieldView","isPremiumPlugin","render","15666fhVnpr","name","data","pluginName","8166015YeFhoN","timePeriodViews","getRevisionsInDiff","421460ALwrkt","revisionHistory","getLaterVisibleRevision","assign","get","repository","map","_handleDiffChange","getIndex","isVisible","revisionHistory.viewerSidebarContainer","newRevisionId","remove","isEnabled","compare","select","_createRevisionActions","listenTo","availableRevisionActions","editor","element","focus","_revisionsRepository","string","appendChild","requires","init","_revisions","revisionViews","selectRevision","231627AGvfpA","24934QIconK","change:diff","421744ppEehM","config","restoreRevision","length","isReady","_handleEditorDataReady","Compare against selected","getRevision","diff","getEarlierVisibleRevision","revisionSetName","_handleRevisionSelected","40jdptmY","locale","nameRevision"];return(jo=function(){return t})()}!function(t){const e=Fo,i=t();for(;;)try{if(136853===-parseInt(e(272))/1+-parseInt(e(242))/2+-parseInt(e(218))/3+-parseInt(e(275))/4+parseInt(e(208))/5*(-parseInt(e(235))/6)+parseInt(e(273))/7*(parseInt(e(205))/8)+parseInt(e(239))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Po extends J.Plugin{[Co(229)];[Co(264)];[Co(220)];static[Co(231)]=[Co(221),Co(195),Co(207)];static[Co(260)]=function(){const t=Co;return{compareAgainstSelected:{name:t(199),action:({plugins:e},i)=>{const n=t,s=e[n(246)](ce),r=s[n(247)];let o=s[n(201)][n(253)],a=i.id;r[n(250)](o)>r[n(250)](a)&&([o,a]=[a,o]),s[n(256)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(246)](ce);return!(s[n(247)][n(241)](s[n(201)])[n(196)]>2||i[n(225)])}},restoreRevision:{name:t(212),action:(e,{id:i})=>{const n=t;e[n(194)][n(246)](n(243))[n(214)](i)},isVisible:({plugins:e},i)=>!!e[t(246)](ce)[t(247)][t(244)](i.id)},nameRevision:{name:t(223),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(246)](ce),o=r[s(247)][s(202)](i);r[s(256)](i,o),n[s(263)](),n[s(232)][s(257)]()}}}}();static get[Co(238)](){return Co(215)}static get[Co(226)](){return!0}static get[Co(233)](){return!0}static get[Co(267)](){return[ce]}constructor(t){const e=Co;super(t),this[e(229)]=t[e(219)][e(246)](ce),this[e(264)]=this[e(229)][e(247)],this[e(220)]=null}[Co(268)](){const t=Co,e=this[t(264)][t(269)],i=this[t(258)](),n=this[t(261)][t(194)][t(246)](t(252));this[t(220)]=new Do(this[t(261)][t(206)],e,i,this[t(261)][t(194)][t(246)](t(211))),this[t(220)].on(t(222),this[t(204)][t(230)](this)),this[t(220)].on(t(203),this[t(228)][t(230)](this)),this[t(220)][t(230)](t(255)).to(this[t(229)]),this[t(220)][t(240)].on(t(216),(e,i)=>{const n=t;i[n(270)].on(n(216),(t,e)=>{const i=n;e[i(230)](i(255),i(197)).to(this[i(229)])})}),this[t(220)][t(234)](),this[t(259)](this[t(261)][t(237)],t(213),this[t(198)][t(230)](this)),this[t(259)](this[t(229)],t(274),this[t(249)][t(230)](this)),n[t(266)](this[t(220)][t(262)])}[Co(217)](){const t=Co;this[t(220)][t(262)][t(254)](),this[t(220)][t(217)]()}[Co(198)](){const t=Co,e=this[t(264)][t(200)](0);if(e){const i=this[t(264)][t(202)](e.id);this[t(229)][t(256)](e,i)}}[Co(204)](t,e){const i=Co,n=this[i(264)][i(200)](e.id),s=this[i(264)][i(202)](n.id);this[i(229)][i(256)](n,s)}[Co(228)](t,e){const i=Co;this[i(264)][i(200)](e.id)[i(209)](e[i(236)])}[Co(249)](t,e,i){const n=Co,s=this[n(264)][n(241)](i);s[n(196)]>2?(this[n(220)][n(210)](s),this[n(220)][n(271)](null)):(this[n(220)][n(210)]([]),this[n(220)][n(271)](s[0]))}[Co(258)](){const t=Co,e=this[t(261)],i=Po[t(260)],n=e[t(194)][t(246)](t(227))||Po[t(231)];if(n[t(196)])return n[t(248)](n=>{const s=t,r=s(265)==typeof n?Object[s(245)]({},i[n]):n;return r[s(224)]=r[s(224)][s(230)](this,e),r[s(251)]&&(r[s(251)]=r[s(251)][s(230)](this,e)),r})}}const Lo=Wo;function Wo(t,e){const i=Uo();return(Wo=function(t,e){return i[t-=254]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(964028===parseInt(e(273))/1+-parseInt(e(264))/2+-parseInt(e(290))/3+parseInt(e(280))/4+parseInt(e(286))/5+-parseInt(e(269))/6+-parseInt(e(283))/7*(-parseInt(e(254))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class zo extends It.EditorUI{[Lo(263)];[Lo(259)];[Lo(279)];get[Lo(261)](){return this[Lo(263)]}constructor(e,i){const n=Lo;super(e),this[n(263)]=i,this[n(259)]=(0,It.normalizeToolbarConfig)(e[n(270)][n(294)](n(276))),this[n(279)]=new t.ElementReplacer}get[Lo(258)](){const t=Lo;return this[t(261)][t(258)]}[Lo(289)](t){const e=Lo,i=this[e(266)],n=this[e(261)],s=i[e(291)][e(261)],r=n[e(267)],o=s[e(260)][e(284)]();r[e(298)]=o[e(292)],n[e(282)]();const a=r[e(258)];this[e(287)](r[e(298)],a),n[e(267)][e(293)](e(268)).to(this[e(271)]),s[e(281)](a),this[e(279)][e(296)](t,this[e(258)]),this[e(256)](),this[e(262)](e(257))}[Lo(255)](){const t=Lo;super[t(255)]();const e=this[t(261)],i=this[t(266)][t(291)][t(261)];this[t(279)][t(285)](),i[t(297)](e[t(267)][t(298)]),e[t(255)]()}[Lo(256)](){const t=Lo,e=this[t(261)];e[t(274)][t(293)](t(272)).to(this[t(271)],t(268)),e[t(274)][t(277)]=e[t(258)],e[t(274)][t(293)](t(265)).to(this,t(278),({top:t})=>t),e[t(276)][t(275)](this[t(259)],this[t(288)]),this[t(295)](e[t(276)])}}function Uo(){const t=["_toolbarConfig","document","view","fire","_view","1925206WqcLKS","viewportTopOffset","editor","editable","isFocused","5465148kfrcon","config","focusTracker","isActive","845757RVUWuE","stickyPanel","fillFromConfig","toolbar","limiterElement","viewportOffset","_elementReplacer","2029228dPkLsF","attachDomRoot","render","7kQxmLk","getRoot","restore","4692160Lkemmr","setEditableElement","componentFactory","init","1793268ePwUBm","editing","rootName","bind","get","addToolbar","replace","detachDomRoot","name","9149992OffWba","destroy","_initToolbar","ready","element"];return(Uo=function(){return t})()}var Zo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=Rt().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Vt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var $o=Bo;function qo(){var t=["main","add","124XNfWXN","513LXLwUW","3847xYRyDm","284760qpuoWX","editable","toolbar","8339632atSPAI","2164924GNFcyR","6ueNNbv","30616QbBwdr","render","161892fwrSps","stickyPanel","content","top","140wwBDjd","_editable","1014PinDVI","shouldToolbarGroupWhenFull","446226YCbMvy","36ItgVbX"];return(qo=function(){return t})()}function Bo(t,e){var i=qo();return(Bo=function(t,e){return i[t-=475]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(696797===parseInt(e(491))/1*(-parseInt(e(489))/2)+-parseInt(e(497))/3*(-parseInt(e(496))/4)+parseInt(e(492))/5*(parseInt(e(486))/6)+-parseInt(e(495))/7+-parseInt(e(475))/8*(-parseInt(e(490))/9)+-parseInt(e(481))/10*(parseInt(e(485))/11)+parseInt(e(477))/12*(parseInt(e(483))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[$o(482)];[$o(478)];[$o(494)];get[$o(493)](){return this[$o(482)]}constructor(t,e,i={}){var n=$o;super(t),this[n(478)]=new It.StickyPanelView(t),this[n(494)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(484)]}),this[n(482)]=new It.InlineEditableUIView(t,e)}[$o(476)](){var t=$o;super[t(476)](),this[t(478)][t(479)][t(488)](this[t(494)]),this[t(480)][t(488)](this[t(478)]),this[t(487)][t(488)](this[t(493)])}}const Go=Ko;function Jo(){const t=["view","document","data","7879608TWdtIa","updateSourceElement","_ui","ready","create","26165jngbiW","init","3976672aAZecN","editing","477178wFVWTy","locale","destroy","7513UwcgBx","createRoot","2bnaaxM","get","9040xyqdnE","initialData","13121304MAhHLu","15DrSAEb","config","107740wEWITh","sourceElement","initPlugins","fire","1722RrqKfM","model"];return(Jo=function(){return t})()}function Ko(t,e){const i=Jo();return(Ko=function(t,e){return i[t-=111]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(954108===-parseInt(e(118))/1*(-parseInt(e(113))/2)+-parseInt(e(123))/3*(parseInt(e(125))/4)+parseInt(e(139))/5*(-parseInt(e(129))/6)+parseInt(e(122))/7+parseInt(e(111))/8+-parseInt(e(134))/9+parseInt(e(120))/10*(parseInt(e(116))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Xo extends((0,J.ElementApiMixin)(J.Editor)){[Go(136)];get ui(){return this[Go(136)]}constructor(t,e){const i=Go;super(e),this[i(126)]=t,this[i(130)][i(132)][i(117)]();const n=new Yo(this[i(114)],this[i(112)][i(131)],{shouldToolbarGroupWhenFull:!0});this[i(136)]=new zo(this,n)}[Go(115)](){const t=Go;return this[t(135)](),this.ui[t(115)](),super[t(115)]()}static async[Go(138)](t,e){const i=Go,n=new this(t,e);return await n[i(127)](),await n.ui[i(140)](t),await n[i(133)][i(140)](n[i(124)][i(119)](i(121))||""),n[i(128)](i(137)),n}}const Qo=ea;!function(t){const e=ea,i=t();for(;;)try{if(134856===parseInt(e(277))/1+parseInt(e(301))/2*(-parseInt(e(213))/3)+-parseInt(e(202))/4+-parseInt(e(243))/5*(-parseInt(e(201))/6)+-parseInt(e(235))/7+-parseInt(e(200))/8+parseInt(e(188))/9*(parseInt(e(228))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(na);const ta=[Qo(278),Qo(313)];function ea(t,e){const i=na();return(ea=function(t,e){return i[t-=165]})(t,e)}class ia extends J.Plugin{[Qo(178)];static get[Qo(288)](){return Qo(180)}static get[Qo(232)](){return!0}static get[Qo(193)](){return!0}constructor(t){const e=Qo;function i(t){const e=ea;return t[e(208)](t=>String[e(252)](t))[e(295)]("")}super(t),this[e(178)]=e(186),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 na(){const t=["_cleanUp","getUser","removeMarker","isOfficialPlugin","block","bind","437283maxcEt","fromVersion","document","revisionHistory.showRevisionViewerCallback","revisionHistory.restoreRevisionCallback","closeRevisionViewerCallback","loadRevisionData","PaginationLookup","2135YioTTv","catch","toolbar","remove","isOpen","roots","revisionHistory.editorContainer","DocumentOutline","define","fromCharCode","_getRevisionViewerEditorConfig","adapter","hide","showRevisionViewerCallback","isAttached","addRevisionData","RevisionHistoryUtils","refreshVisibility","users","removeSelectionAttribute","rootName","model","name","update","setAttribute","translations","none","Autosave","plugins","_showRevisionViewer","RevisionViewer","uiLanguage","display","disableReadOnlyMode","210822oNRPFF","RevisionHistoryUI","push","createdAt","revisionHistory.viewerEditorElement","setSelection","Users","toJSON","getRoot","revision-history-missing-configuration","style","pluginName","changesNavigation","commands","numeric","DocumentOutlineUI","getRevisionDocumentData","RevisionHistory","join","getRevision","_viewerEditor","isAnonymous","toLocaleDateString","toVersion","217598eIGzhZ","isEnabled","revisionHistory.closeRevisionViewerCallback","revisionHistory.viewerContainer","revisionHistory.requireRevisionName","save","destroy","repository","detachRoot","locale","enableReadOnlyMode","revision-history-viewer-opened","RestrictedEditingMode","isReadOnly","addRoot","from","has","Restored","saveRevision","editor","_closeRevisionViewer","isReady","restoreRevision","enqueueChange","Annotations","element","includes","lazyRoots","creator","result","RevisionTracker","RevisionViewerIntegration","_enhanceCloseRevisionViewerCallback","_recalculatePageBreaks","error","create","Dialog","end","set","162JiMRum","requires","long","restrictedEditingException","getMarkersGroup","isPremiumPlugin","data","then","addUser","_enhanceShowRevisionViewerCallback","getRevisions","change","362200jZAlnU","3468omZcaX","543068RvJaiL","toLocaleTimeString","get","markers","indexOf","getRevisionRootsAttributes","map","config","view","init","_update","3ADDKjE","selection","revisionHistory","insert","getAttributeKeys","isRevisionViewerOpen","RevisionsRepository","parse","refreshPositioning","createRangeIn","$graveyard","_restoreRevision","exitToEditing","keys","removeAttribute","16410YHLDuE"];return(na=function(){return t})()}class sa extends J.Plugin{[Qo(297)];static get[Qo(288)](){return Qo(294)}static get[Qo(232)](){return!0}static get[Qo(193)](){return!0}static get[Qo(189)](){return[vt,Ht]}constructor(e){const i=Qo;if(super(e),!this[i(168)][i(209)][i(204)](i(215)))throw new t.CKEditorError(i(286),this);this[i(297)]=null,this[i(187)](i(218),!1),this[i(168)][i(209)][i(251)](i(238),t=>this[i(272)]({...t,translations:this[i(168)][i(310)][i(268)]})),this[i(168)][i(209)][i(251)](i(303),t=>this[i(169)](t)),this[i(168)][i(209)][i(251)](i(239),t=>this[i(224)](t)),this[i(168)][i(209)][i(251)](i(305),!1),this[i(197)](),this[i(181)]()}set[Qo(254)](t){const e=Qo;this[e(168)][e(271)][e(204)](e(179))[e(254)]=t}get[Qo(254)](){const t=Qo;return this[t(168)][t(271)][t(204)](t(179))[t(254)]}[Qo(258)](t){const e=Qo;return this[e(168)][e(271)][e(204)](e(179))[e(258)](t)}[Qo(296)](t){const e=Qo;return this[e(168)][e(271)][e(204)](e(219))[e(296)](t)}[Qo(198)](t){const e=Qo;return this[e(168)][e(271)][e(204)](e(219))[e(198)](t||{toJSON:!1})}[Qo(253)](){const e=Qo,i=this[e(168)],n=(0,K.sanitizeEditorConfig)(i,ta),s=i[e(271)][e(204)](e(179)),r=i[e(271)][e(204)](e(283))[e(261)];return n[e(245)]=[e(225),e(171),e(289)],delete n[e(176)],n[e(271)][e(279)](ia,ce,Ne,class extends J.Plugin{static get[e(189)](){return[ce,e(283)]}[e(211)](){const n=e,o=this[n(168)][n(271)][n(204)](n(283));for(const t of r)t[n(298)]||o[n(230)](t.id)||o[n(196)](t);const a=s[n(308)][n(198)]();let c=null;const u=this[n(168)][n(271)][n(204)](n(273));u[n(254)]=s[n(254)],u[n(234)](n(302)).to(s),this[n(168)][n(290)][n(204)](n(171))[n(234)](n(302)).to(i,n(314),t=>!t);for(const e of a){const i=null===e[n(177)];if(i&&e[n(300)]===e[n(236)])continue;const r=e[n(284)]();u[n(258)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(212)](r,o);else if(!o){const e=a[u(284)]();e.id=(0,t.uid)(),s[u(167)](e,a[u(300)])[u(195)](t=>{c=t})}}else e[u(212)](r,o)})}}},Po),n}[Qo(197)](){const t=Qo,e=this[t(168)][t(209)][t(204)](t(215))[t(256)];this[t(168)][t(209)][t(187)](t(238),async()=>{const i=t;this[i(168)][i(311)](i(312));const n=this[i(168)][i(271)][i(204)](i(179));if(this[i(168)][i(271)][i(165)](i(270))){const t=this[i(168)][i(271)][i(204)](i(270));await t[i(306)]()}else await n[i(266)]();if(this[i(168)][i(271)][i(165)](i(242))&&this[i(168)][i(271)][i(204)](i(242))[i(182)](),this[i(168)][i(271)][i(165)](i(185))){const t=this[i(168)][i(271)][i(204)](i(185));t[i(247)]&&t[i(255)]()}const s=this[i(253)]();return e(s)[i(195)](t=>{const e=i;return this[e(297)]=t,this[e(168)][e(271)][e(165)](e(173))&&this[e(168)][e(271)][e(204)](e(173))[e(260)](),this[e(168)][e(271)][e(165)](e(250))&&(this[e(168)][e(271)][e(204)](e(292))[e(210)][e(174)][e(287)][e(275)]=e(269)),t})[i(244)](t=>(console[i(183)](t),this[i(168)][i(276)](i(312)),null))})}[Qo(181)](){const t=Qo,e=this[t(168)][t(209)][t(204)](t(215))[t(240)];this[t(168)][t(209)][t(187)](t(303),()=>(this[t(168)][t(271)][t(165)](t(242))&&this[t(168)][t(271)][t(204)](t(242))[t(182)](),this[t(168)][t(271)][t(165)](t(250))&&(this[t(168)][t(271)][t(204)](t(292))[t(210)][t(174)][t(287)][t(275)]=""),this[t(297)][t(271)][t(204)](t(273))[t(229)](),e(this[t(297)])[t(195)](()=>{const e=t;if(this[e(168)][e(276)](e(312)),this[e(297)]=null,this[e(168)][e(271)][e(165)](e(173))){const t=this[e(168)][e(271)][e(204)](e(173));t[e(260)](),t[e(221)]()}})))}[Qo(272)](t){const e=Qo,i=this[e(168)][e(209)][e(204)](e(249)),n=this[e(168)][e(209)][e(204)](e(304)),s=this[e(168)][e(209)][e(204)](e(281));return Xo[e(184)](s,t)[e(195)](t=>(n[e(287)][e(275)]=e(233),i[e(287)][e(275)]=e(269),this[e(218)]=!0,t))}[Qo(169)](t){const e=Qo,i=this[e(168)][e(209)][e(204)](e(249));return this[e(168)][e(209)][e(204)](e(304))[e(287)][e(275)]=e(269),i[e(287)][e(275)]="",this[e(218)]=!1,t[e(307)]()}async[Qo(224)](t){const e=Qo,i=this[e(168)],n=this[e(297)][e(271)][e(204)](e(273)),s=i[e(271)][e(204)](e(179)),r=i[e(271)][e(204)](e(259)),o=n[e(308)][e(296)](t);let a,c,u;try{await r[e(241)](o,this[e(254)]),a=r[e(293)](o),c=r[e(207)](o)}catch(t){return void console[e(183)](t)}i[e(264)][e(199)](t=>{const n=e;for(const e of Array[n(316)](i[n(264)][n(205)][n(192)](n(191))))t[n(231)](e)}),n[e(170)]=!1,i[e(264)][e(172)](t=>{const n=e;t[n(282)](null),t[n(262)](i[n(264)][n(237)][n(214)][n(217)]());const s=Object[n(226)](a);for(const e of i[n(264)][n(237)][n(248)])n(223)!=e[n(263)]&&e[n(257)]()&&!s[n(175)](e[n(263)])&&t[n(309)](e);for(const e of s){let s=i[n(264)][n(237)][n(285)](e);s&&s[n(257)]()||(s=t[n(315)](e));const r=c[e],o=Object[n(226)](r),u=a[e];for(const e of s[n(217)]())o[n(175)](e)||t[n(227)](e,s);for(const i of o)t[n(267)](i,c[e][i],s);t[n(246)](t[n(222)](s)),t[n(216)](i[n(194)][n(220)](u,s),s,0)}});const l=at(i[e(310)],e(166));return u=o[e(265)]?-1==o[e(265)][e(206)](l)?l+": "+o[e(265)]:o[e(265)]:l+": "+o[e(280)][e(299)](i[e(310)][e(274)],{month:e(190),day:e(291)})+", "+o[e(280)][e(203)](i[e(310)][e(274)],{hour:e(291),minute:e(291)}),await s[e(167)]({name:u}),n[e(170)]=!0,i[e(209)][e(204)](e(215))[e(240)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=495]})(t,e)}function oa(){var t=["15qeWfst","55394jVrctW","6745610QkVSFw","4noskBL","89720BPrfXM","7326978jVDBIO","943058HllhNO","11388879OEIZYf","110yXGYYs","10XKBTmg","63HdRonc","6670356VSGnNM"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(742306===-parseInt(e(501))/1+parseInt(e(496))/2*(-parseInt(e(495))/3)+-parseInt(e(498))/4*(parseInt(e(497))/5)+-parseInt(e(500))/6+-parseInt(e(505))/7*(-parseInt(e(499))/8)+-parseInt(e(502))/9*(parseInt(e(504))/10)+parseInt(e(503))/11*(parseInt(e(506))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
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:()=>he,Revision:()=>Y,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Ko,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});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]",x="[object Float64Array]";function T(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]=T(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,T(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(T(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]=T(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 x: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]=T(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return T(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){return"__proto__"===t}function D(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&D(n,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(L.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function H(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 W(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?H(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}V(r,o,a),r=r[o]}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":{if(M(e))return i;const n=t[e];return void 0===n?U(e)?Z(t,H(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(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;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const $=B;function B(t,e){const i=J();return(B=function(t,e){return i[t-=421]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(771533===parseInt(e(437))/1+parseInt(e(447))/2*(-parseInt(e(445))/3)+parseInt(e(438))/4+parseInt(e(421))/5*(-parseInt(e(432))/6)+-parseInt(e(429))/7+-parseInt(e(426))/8+-parseInt(e(424))/9*(-parseInt(e(427))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Y extends((0,t.ObservableMixin)()){id;[$(442)];[$(422)];[$(435)];[$(431)];[$(434)];[$(444)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(442)]=e[i(442)]||null,this[i(422)]=e[i(422)]||[],this[i(435)]=e[i(435)]||null,this[i(431)]=e[i(431)]||0,this[i(434)]=e[i(434)]||0,this[i(430)](i(446),e[i(446)]||""),this[i(430)](i(439),e[i(439)]||new Date),this[i(430)](i(440),e[i(440)]||{})}[$(448)](t){this[$(441)]({name:t})}[$(423)](t,e){const i=$,n=R(this[i(440)]);W(n,t,e),this[i(441)]({attributes:n})}[$(443)](t){const e=$,i=R(this[e(440)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(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 q(t,H(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(441)]({attributes:i})}[$(441)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(446),i(439),i(435),i(422),i(440),i(431),i(434),i(428)];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(422)]&&(s[i(433)]=s[i(422)][i(425)](t=>t.id),delete s[i(422)]),this[i(449)](i(441),s,e))}[$(436)](){const t=$;return{id:this.id,name:this[t(446)],creatorId:this[t(442)]?this[t(442)].id:null,authorsIds:this[t(422)][t(425)](t=>t.id),diffData:this[t(435)],createdAt:this[t(439)],attributes:this[t(440)],fromVersion:this[t(434)],toVersion:this[t(431)]}}}function J(){const t=["90400GldAUV","790068YQuDFs","createdAt","attributes","_update","creator","removeAttribute","model","3BGsoSc","name","1649974VDSLYy","setName","fire","30275YGMTnn","authors","setAttribute","144LOsFlp","map","566128WdjKzv","1200750ureXte","creatorId","2139802FAEeTX","set","toVersion","234mwzcov","authorsIds","fromVersion","diffData","toJSON"];return(J=function(){return t})()}var G=i(782),X=i(211),K=i(783);const Q=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=471]})(t,e)}function et(){const t=["toVersion","isOfficialPlugin","reverse","getEarlierVisibleRevision","join","_revisions","5bNXpfG","afterInit","authorsIds","9FJKQJR","347232StXaKr","attributes","fromCharCode","requires","diffData","from","RevisionsRepository","getRevisions","isNaN","editor","4JRcTbN","earlier","getLaterVisibleRevision","length","get","add","createdAt","creatorId","addRevision","getRevisionsIterator","297672vJJbtj","1660449xojAvF","7969760DIoqvd","Users","getRevision","toJSON","href","data","oldRevisionId","fromVersion","137374aWwJwz","pluginName","push","2465512tZNRXW","plugins","getIndex","getUser","createRevision","isPremiumPlugin","24507oDrpON","later","name","map","newRevisionId","getRevisionsInDiff"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(163627===parseInt(e(521))/1*(parseInt(e(501))/2)+parseInt(e(475))/3+parseInt(e(511))/4+-parseInt(e(487))/5*(-parseInt(e(491))/6)+parseInt(e(512))/7+parseInt(e(524))/8*(parseInt(e(490))/9)+-parseInt(e(513))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[Q(486)];static get[Q(494)](){return[X.Users]}static get[Q(522)](){return Q(497)}static get[Q(482)](){return!0}static get[Q(474)](){return!0}get[Q(504)](){const t=Q;return this[t(486)][t(504)]}constructor(e){const i=Q;super(e),this[i(486)]=new t.Collection}[Q(488)](){!async function(e){const i=k([65,119,68,105,88,52,116,82,83,54,103,107,80,67,77,72,109,98,110,87,101,117,50,97,112,86,115,99,104,48,106,66,71,53,84,78,120,81,76,102,90,49,69,85,118,113,55,73,51,89,56,75,111,70,100,122,74,121,114,108,79,57]),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=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(499)](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([65]);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=tt;return t[e(478)](t=>String[e(493)](t))[e(485)]("")}!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:1752019200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(517)]);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)}[Q(473)](t){const e=Q,i=this[e(500)][e(525)][e(505)](e(514));return new Y({id:t.id,name:t[e(477)],creator:t[e(508)]?i[e(472)](t[e(508)]):null,diffData:t[e(495)]||t[e(518)],authors:t[e(489)][e(478)](t=>i[e(472)](t)),createdAt:new Date(t[e(507)]),attributes:t[e(492)],fromVersion:t[e(520)],toVersion:t[e(481)]})}[Q(509)](t,e=0){const i=Q;this[i(486)][i(506)](t,e)}[Q(515)](t){const e=Q;return this[e(486)][e(505)](t)}[Q(498)](t={toJSON:!1}){const e=Q,i=Array[e(496)](this[e(486)]);return i[e(483)](),t[e(516)]?i[e(478)](t=>t[e(516)]()):i}[Q(471)](t){const e=Q;return this[e(486)][e(471)](t)}[Q(484)](t){const e=Q,[,i]=this[e(510)](t,{direction:e(502)});return i}[Q(503)](t){const e=Q,[,i]=this[e(510)](t,{direction:e(476)});return i}[Q(480)](t){const e=Q,i=[];for(const n of this[e(510)](t[e(479)]))if(i[e(523)](n),n.id===t[e(519)])break;return i}*[Q(510)](t,{direction:e=Q(502),filter:i=()=>!0}={}){const n=Q,s=n(502)===e?1:-1;let r=this[n(486)][n(505)](t),o=this[n(471)](r);for(yield r;r;){if(o+=s,r=this[n(515)](o),!r)return;i(r)&&(yield r)}}}const nt=st;function st(t,e){const i=rt();return(st=function(t,e){return i[t-=116]})(t,e)}function rt(){const t=["_typeCharToViewClass","getFillerOffset","editing","391454VLtWyX","editor","data","innerHTML","from","document","getRevisionRootsAttributes","filter","customProperties","length","revision-end","_viewClassToTypeChar","config","revision-start","map","attributes","string","_makeModelFromViewString","1735080jEFbhs","render","domConverter","parse","default","forEach","pluginName","toData","27pFeXpa","_appendChild","isPremiumPlugin","children","viewChildrenToDom","name","view","domChildrenToView","getRevision","_removeRevisionMarkers","childNodes","isAttached","771698MPunZM","htmlProcessor","createElement","get","2488270xLZSjy","loadRevisionData","isOfficialPlugin","683586DZyVxT","insertions","processor","fillerOffset","toModel","56rFDFAE","constructor","449472ELihSV","attachChange","attributesAfter","div","RevisionHistoryUtils","_setCustomProperty","1485320VnyzYs","data-revision-","1uFrRnP","type","diffData","useFillerType","domDocument","marked","_getViewFromDiffObj","_getTypeCharForViewElement","append","getRevisionDocumentData","collaboration.channelId","startsWith"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(276836===parseInt(e(182))/1*(parseInt(e(160))/2)+-parseInt(e(167))/3+-parseInt(e(174))/4+parseInt(e(180))/5+parseInt(e(140))/6+parseInt(e(122))/7*(parseInt(e(172))/8)+-parseInt(e(148))/9*(parseInt(e(164))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[nt(146)](){return nt(178)}static get[nt(166)](){return!0}static get[nt(150)](){return!0}[nt(133)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[nt(119)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[nt(165)](t,e){const i=nt;if(t[i(184)]||!e)return;const n=this[i(123)][i(134)][i(163)](i(117)),s=await e[i(156)]({channelId:n,revisionId:t.id});t[i(184)]=s[i(184)]}[nt(116)](t){const e=nt,i={};for(const n in t[e(184)]){if(t[e(184)][n][e(175)]&&!t[e(184)][n][e(175)][e(159)])continue;const s=this[e(157)](JSON[e(143)](t[e(184)][n][e(168)])),r=this[e(123)][e(121)][e(154)][e(127)],o=new K.ViewDocumentFragment(r,s[e(136)](t=>this[e(188)](t,!1)));this[e(123)][e(124)][e(169)][e(185)](e(187)),i[n]=this[e(123)][e(124)][e(169)][e(147)](o),this[e(123)][e(124)][e(169)][e(185)](e(144))}return i}[nt(128)](t){const e=nt,i={};for(const n in t[e(184)])t[e(184)][n][e(175)]&&!t[e(184)][n][e(175)][e(159)]||(i[n]=t[e(184)][n][e(176)]||{});return i}[nt(189)](t){const e=nt;return this[e(133)][e(163)](t[e(173)])}[nt(188)](t,e){const i=nt,n=this[i(123)][i(121)][i(154)][i(127)];if(i(138)==typeof t)return new K.ViewText(n,t);{let s,r;r="u"==t[i(183)]||"r"==t[i(183)]?[]:t[i(151)][i(136)](t=>this[i(188)](t,e));const o=this[i(119)][i(163)](t[i(183)])||K.ViewElement,a=this[i(123)][i(124)][i(161)][i(142)];if(s=new o(n,t[i(153)],t[i(137)],r),"u"==t[i(183)]&&t[i(151)][0]){const r=t[i(151)][0];if(s[i(141)]=function(t){const e=i,n=t[e(162)](e(177));return n[e(125)]=r,n[e(158)][0]},e){const t=new K.ViewDocumentFragment(n);t[i(149)](s);const e=Array[i(126)](a[i(152)](t,{bind:!1})),r=a[i(186)][i(162)](i(177));r[i(190)](...e),s=Array[i(126)](a[i(155)](r))[0]}}else if("r"==t[i(183)]&&t[i(151)][0]){const r=t[i(151)][0];if(s[i(141)]=function(t){t[i(125)]=r},e){const t=new K.ViewDocumentFragment(n);t[i(149)](s);const e=Array[i(126)](a[i(152)](t,{bind:!1})),r=a[i(186)][i(162)](i(177));r[i(190)](...e);const o=Array[i(126)](a[i(155)](r));o[i(131)]>1?s[i(149)](o):s=o[0]}}if(t[i(130)])for(const[e,n]of t[i(130)])s[i(179)](e,n);const c=void 0===t[i(170)]?null:t[i(170)];return null!==c&&(s[i(120)]=()=>c),s}}[nt(139)](t){const e=nt,i=JSON[e(143)](t),n=this[e(123)][e(121)][e(154)][e(127)],s=new K.ViewDocumentFragment(n,i[e(136)](t=>this[e(188)](t,!0)));return this[e(123)][e(124)][e(171)](s)}[nt(157)](t){const e=nt;return(t=t[e(129)](t=>!t[e(153)]||e(135)!==t[e(153)]&&e(132)!==t[e(153)]))[e(145)](t=>{const i=e;i(138)!=typeof t&&(t[i(151)]=this[i(157)](t[i(151)]),t[i(137)]=t[i(137)][i(129)](t=>!t[0][i(118)](i(181))))}),t}}function at(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 ct(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 ut(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 lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,T){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 D(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),M=n.get(i);if(null!=R&&null!=M)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)||!ut(s,i.get(e),e,t,i,n,T))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=>ut(o,e,void 0,t,i,n,T));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 x: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(!ut(t[e],i[e],e,t,i,n,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,T)||ct(t)&&ct(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(!ut(o,i[r],r,t,i,n,T))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=pt;function mt(){const t=["userId","howMany","createRangeIn","addRevision","_fixRange","getOperations","_baseRoots","deletion","createElement","RevisionHistory","type","_addPendingAction","_insertChild","_revisionDataBuilder","207655AlSjjY","_createCurrentRevision","_fixPosition","vid_start","keepParagraph","diffData","toVersion","RevisionTracker","splitPosition","trialLimit","_pendingAction","insertionPosition","addRoot","_diffRoots","vid_end","getData","outerHTML","_operations","data","oldRange","invalid","_makeModelFromViewString","revisionHistoryLicenseKeyNotAllowed","featureNotAllowed","customProperties","_findInsertionIndex","createRevision","revision:","parent","getNodeByPath","initial","previousPosition","_bufferedUpdates","size","_prepareViewToSave","tableCell","_baseRootsAttributes","deletions","setRevisionData","_getPreviousFrom","item","_transformMarkers","reInit","_fixOperation","authorsIds","createPositionBefore","loadRevisionData","_handleOperation","addRevisionData","bind","_makeIdsRoot","_initialRevisionId","paragraph","revisionHistory.resumeUnsavedRevision","for","attributesAfter","updateRevisions","_licenseKeyCheckInterval","_markers","define","hasContent","_reset","createdAt","fillerOffset","18KAfYru","offsetSize","domConverter","_touched","_update","revisionHistoryLicenseKeyUsageLimit","split","200335rKXZWp","_copyMarkers","isEqual","getOperation","getRoot","includes","push","editor","_processRootBeforeSave","detachRoot","affectsData","getCustomProperties","PENDING_ACTION_REVISION_HISTORY","revisionHistoryLicenseKeyInvalid","rootName","htmlProcessor","_startingVersion","remove","revisionHistoryLicenseKeyValid","9772218WESqij","_isAttached","authors","model","revisionHistoryLicenseKeyExpired","revision","dataDowncast","_handleRootOperation","getRange","Users","_getVidAttributeName","_setAttribute","_saveMetaData","revisionHistoryLicenseKeyDomainLimit","move","usageLimit","collaboration.channelId","render","_authorId","1489512VyzUWd","15869VPBlDb","_startingRevisionId","slice","_loadedStateData","_getTypeCharForViewElement","set","has","saveRevision","max","NEGATIVE_INFINITY","reinsert","add","$text","isOfficialPlugin","resolve","adapter","_handleRootAttributeOperation","creatorId","getChild","nodeAfter","isPremiumPlugin","buildRevisionData","_diffRootsAttributes","nodes","ready","attachChange","finally","_getFromVersion","upcast","delete","_removeMetaData","source","map","values","_execute","path","_isPendingUpdate","_removePendingAction","getTime","rootsAttributes","text","_makeRevision","name","sort","_getBaseVids","clone","trim","dataToMarker","childCount","_calculateMetaData","repository","_createInitialRevision","_handleInsertOperation","1669089QJAqof","version","locale","loadState","_touchedMarkers","createPositionAfter","_touchedRoots","isEnabled","_utils","createPositionAt","getFillerOffset","then","startsWith","_continueCurrentRevision","position","getRootNames","offset","createPositionFromPath","newRange","newValue","graveyardPosition","currentRevision","history","_idsRoots","Initial revision","document","_applyOperations","_markChanges","requires","getAncestors","getWalker","range","$graveyard","key","_showLicenseError","filter","_loadState","init","destroy","getRevisions","_createFromRanges","roots","markers","innerHTML","isAdd","_lastFrom","getCurrentRevisionId","insertion","PendingActions","toView","documentFragment","getUser","_handleSplitOperation","some","domainLimit","find","getRevisionRootsAttributes","_baseIdsRoots","get","rawElement","getAttribute","merge","_savedMetaData","getIndex","_cloneOperation","elementEnd","initialData","getAttributes","RevisionHistoryUtils","attributesBefore","from","children","domDocument","revisionHistoryLicenseKeyEvaluationLimit","afterInit","stickiness","config","Empty document","changeRootAttribute","shift","_replaceEditorDataWithRevisionData","_setConversion","revisionHistoryLicenseKeyTrialLimit","_getViewJson","pluginName","string","setSource","reverse","removeRootAttribute","clear","vid","evaluationLimit","RealTimeCollaborationClient","plugins","RevisionsRepository","targetPosition","_revisionId","uiElement","insert","addRootAttribute","end","getTransformedByOperation","markerToData","getRevision","_source","_handleMoveOperation","editor-initial-data-replaced-with-revision-data","stringify","isAttached","baseVersion","getLatestVersion","$comment","fromVersion","sourcePosition","_handleMarkerOperation","marker","_clone","_isInit","_bufferUpdate","isReady","_lastTo","update","sendBufferedUpdates","_handleMergeOperation","insertions","createRange","4rilPQj","getChildren","root","fromEntries","conversion","elementStart","keys","_generateTape","creator","_getState","expired","licenseKey","188782kohtXd","element","_appendChild","getMovedRangeStart","start","getRevisionDocumentData","length"];return(mt=function(){return t})()}function pt(t,e){const i=mt();return(pt=function(t,e){return i[t-=236]})(t,e)}!function(t){const e=pt,i=t();for(;;)try{if(298576===-parseInt(e(512))/1+-parseInt(e(420))/2+-parseInt(e(282))/3*(parseInt(e(408))/4)+-parseInt(e(441))/5*(parseInt(e(505))/6)+parseInt(e(551))/7+parseInt(e(550))/8+parseInt(e(531))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class vt extends G.Plugin{[ft(419)];[ft(498)];[ft(303)]=null;[ft(279)];[ft(244)]=null;[ft(440)];[ft(386)];[ft(492)];[ft(473)];[ft(290)];[ft(451)];[ft(295)];[ft(528)];[ft(554)];static get[ft(366)](){return ft(448)}static get[ft(242)](){return!0}static get[ft(249)](){return!0}static get[ft(310)](){return[X.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(279)]=this[i(519)][i(375)][i(340)](i(376)),this[i(290)]=this[i(519)][i(375)][i(340)](i(350)),this[i(440)]=new gt(this[i(519)]),this[i(492)]=this[i(519)][i(358)][i(340)](i(547))||i(471),this[i(473)]=new Map,this[i(554)]=null;const n=(0,t.uid)();this[i(386)]={history:this[i(519)][i(534)][i(307)][i(304)],getLatestVersion:()=>Promise[i(243)](this[i(519)][i(534)][i(307)][i(283)]),getCurrentRevisionId:()=>n},this[i(556)](i(401),!1),this[i(556)](i(289),!0),this[i(556)](i(265),!1),this[i(519)][i(358)][i(500)](i(494),!0),this[i(519)][i(412)][i(495)](i(257))[i(276)]({view:i(536)})}[ft(319)](){const t=ft;this[t(363)](),this[t(519)][t(459)].on(t(253),()=>{const e=t,i=this[e(279)][e(385)](0),n=i&&null===i[e(416)]?i:null;if(this[e(295)]=!!n&&this[e(519)][e(358)][e(340)](e(494)),this[e(519)][e(375)][e(557)](e(374))){const t=this[e(386)][e(328)](),s=this[e(279)][e(385)](t);if(s)this[e(528)]=s[e(394)],this[e(295)]=!1;else{const t=this[e(386)][e(304)][e(458)][e(337)](t=>!t[e(399)]),s=t?t[e(391)]:this[e(386)][e(304)][e(283)];i?(i[e(447)]<s&&i[e(509)]({toVersion:s}),this[e(295)]?(this[e(386)][e(328)]=()=>n.id,this[e(528)]=n[e(394)]):(this[e(528)]=i[e(447)],this[e(295)]=!1)):(this[e(528)]=s,this[e(295)]=!1)}}else n&&(this[e(519)][e(534)][e(307)][e(304)][e(283)]=Math[e(237)](n[e(447)],this[e(519)][e(534)][e(307)][e(304)][e(283)]),n[e(394)]===n[e(447)]?(0!==n[e(394)]&&(this[e(386)][e(328)]=()=>n.id),this[e(295)]=!1):this[e(295)]&&(this[e(386)][e(328)]=()=>n.id,this[e(528)]=n[e(394)])),this[e(295)]||(this[e(528)]=this[e(519)][e(534)][e(307)][e(283)]);this[e(440)][e(319)](this[e(386)][e(304)]),this[e(280)](this[e(528)]),this[e(442)](this[e(528)]),this[e(244)]&&this[e(404)]()}),this[t(490)](t(401)).to(this,t(265),t=>!t),this[t(419)]=this[t(519)][t(358)][t(340)](t(419));const e=this[t(519)];this[t(498)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(530)==r||i(525)==r||i(535)==r||i(544)==r||i(463)==r||i(355)==r||i(364)==r||i(510)==r){delete e[s],n=r,clearInterval(this[i(498)]),this[i(498)]=void 0;break}}i(525)==n&&e[i(316)](i(461)),i(535)==n&&e[i(316)](i(418)),i(544)==n&&e[i(316)](i(336)),i(463)==n&&e[i(316)](i(464),i(436)),i(355)==n&&e[i(316)](i(373)),i(364)==n&&e[i(316)](i(450)),i(510)==n&&e[i(316)](i(546))},1e3)}async[ft(356)](){const t=ft;if(this[t(279)][t(426)]>0){const e=this[t(279)][t(385)](0),i=await this[t(425)](e),n=await this[t(338)](e);this[t(362)](i,n)}}[ft(320)](){const t=ft;super[t(320)](),this[t(498)]&&clearInterval(this[t(498)])}[ft(368)](t){this[ft(386)]=t}async[ft(403)](){const t=ft,e=await this[t(386)][t(392)]();if(e>this[t(303)][t(447)]){await this[t(318)]();const i=this[t(250)]({revision:this[t(303)],to:e});i[t(533)]=i[t(485)][t(261)](e=>this[t(519)][t(375)][t(340)](t(540))[t(333)](e)),this[t(303)][t(509)](i)}}async[ft(236)](e={},i=null){const n=ft,s=[];await this[n(318)](),this[n(295)]=!1,i>this[n(303)][n(447)]&&(i=null),null===i&&(i=await this[n(386)][n(392)]());const r=this[n(256)](i),o=this[n(250)]({from:r,to:i});if(this[n(303)][n(447)]<i){const t=this[n(250)]({revision:this[n(303)],from:i,to:i});t[n(533)]=[],t[n(485)]=[],t.id=this[n(303)].id,this[n(303)][n(509)](t,!0),delete t[n(533)],s[n(518)](t)}e[n(246)]=this[n(519)][n(375)][n(340)](n(540)).me.id,e[n(271)]=e[n(271)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(489)](e);s[n(518)](e);const c=this[n(279)][n(345)](a);if(0!==c){const t=this[n(279)][n(385)](c-1);if(t[n(394)]!==i){const r=this[n(440)][n(456)](i,t[n(447)]),o={id:t.id,diffData:r[n(446)],authorsIds:r[n(485)],authors:r[n(485)][n(261)](t=>this[n(519)][n(375)][n(340)](n(540))[n(333)](t)),fromVersion:i};t===this[n(303)]&&(o[n(503)]=new Date(e[n(503)][n(267)]()+10)),t[n(509)](o,!0),delete o[n(533)],s[n(518)](o)}}if(this[n(244)]){for(const t of s)this[n(400)](t.id,t,!0);this[n(404)]()}return a}[ft(489)](t){const e=ft,i=this[e(279)][e(467)](t);return this[e(244)]&&i.on(e(509),(t,i,n)=>{const s=e;n||(this[s(400)](i.id,i,!0),this[s(404)]())}),this[e(279)][e(430)](i,this[e(466)](i)),i}async[ft(425)](t){const e=ft;return await this[e(290)][e(487)](t,this[e(244)]),this[e(290)][e(425)](t)}async[ft(338)](t){const e=ft;return await this[e(290)][e(487)](t,this[e(244)]),this[e(290)][e(338)](t)}[ft(404)](){const t=ft;if(0===this[t(473)][t(474)])return;if(this[t(265)])return;let e=Array[t(352)](this[t(473)][t(262)]());this[t(473)][t(371)]();for(let i=0;i<e[t(426)];i++){const n=e[i];let s=!1;for(const e of Object[t(414)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(317)](t=>null!==t),!e[t(426)])return;for(let i=0;i<e[t(426)];i++){const n=e[i];void 0!==n[t(394)]&&void 0===n[t(447)]&&(n[t(447)]=this[t(279)][t(385)](n.id)[t(447)]),void 0!==n[t(447)]&&void 0===n[t(394)]&&(n[t(394)]=this[t(279)][t(385)](n.id)[t(394)])}const i=this[t(519)][t(358)][t(340)](t(547));this[t(265)]=!0,this[t(438)](),this[t(244)][t(497)](e,i)[t(255)](()=>{this[t(265)]=!1})[t(293)](e=>{const i=t;if(e)for(const t of e)this[i(479)]({id:t.id,createdAt:t[i(503)]});this[i(266)](),this[i(404)]()})}[ft(250)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(394)],i=null!==i?i:t[n(447)];const s=this[n(440)][n(456)](e,i),r={diffData:s[n(446)],authorsIds:s[n(485)],fromVersion:e,toVersion:i};if(!t||i!==t[n(447)]){const t=i-1,e=this[n(386)][n(304)][n(515)](t);r[n(503)]=e&&e[n(503)]||new Date}if(this[n(554)]&&e===this[n(554)][n(394)])for(const t of this[n(554)][n(533)])r[n(485)][n(517)](t.id)||r[n(485)][n(518)](t.id);return r}[ft(400)](t,e,i){const n=ft;if(this[n(473)][n(557)](t)){const s=this[n(473)][n(340)](t);e=i?{...s,...e}:{...e,...s}}this[n(473)][n(556)](t,e)}[ft(479)](t){const e=ft,i=this[e(279)][e(385)](t.id);if(t[e(503)]&&(t[e(503)]=new Date(t[e(503)])),t[e(485)]){const i=this[e(519)][e(375)][e(340)](e(540));t[e(533)]=t[e(485)][e(261)](t=>i[e(333)](t))}i[e(509)](t,!0)}[ft(280)](t){const e=ft,i=this[e(279)][e(385)](this[e(279)][e(426)]-1);if(i)this[e(492)]=i.id;else{const i=!this[e(519)][e(534)][e(307)][e(323)][e(337)](t=>this[e(519)][e(534)][e(501)](t)),n=this[e(519)][e(375)][e(340)](e(540)).me.id,s=at(this[e(519)][e(284)],e(i?359:306));this[e(270)]({from:t,to:t,id:this[e(492)],name:s,creatorId:n})}}[ft(442)](t){const e=ft,i=this[e(386)][e(328)]();this[e(303)]=this[e(279)][e(385)](i),this[e(303)]||(this[e(303)]=this[e(270)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(318)](){const t=ft;this[t(295)]&&!this[t(554)]&&(await this[t(290)][t(487)](this[t(303)],this[t(244)]),this[t(440)][t(285)](this[t(303)]),this[t(554)]={fromVersion:this[t(303)][t(394)],authors:this[t(303)][t(533)][t(553)]()})}[ft(362)](e,i){const n=ft;let s=this[n(519)][n(358)][n(340)](n(348)),r=this[n(519)][n(358)][n(340)](n(268));if(void 0===s){s={};for(const t of this[n(519)][n(534)][n(307)][n(297)]())s[t]=""}if(n(367)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(519)][n(534)][n(307)][n(297)]())r[t]={}}let o=!1;const a=Object[n(414)](s),c=Object[n(414)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(275)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(414)](r[t])[n(426)]>0){o=!0;break}}o||(o=c[n(335)](t=>!this[n(519)][n(534)][n(307)][n(516)](t))),o&&(0,t.logWarning)(n(388),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(519)][n(358)][n(556)](n(348),e),this[n(519)][n(358)][n(556)](n(268),i)}[ft(438)](){const t=ft;if(!this[t(451)]){const e=this[t(519)][t(375)][t(340)](t(330));this[t(451)]=e[t(240)](at(this[t(519)][t(284)],t(524)))}}[ft(266)](){const t=ft;this[t(451)]&&(this[t(519)][t(375)][t(340)](t(330))[t(529)](this[t(451)]),this[t(451)]=null)}[ft(466)](t){const e=ft,i=this[e(279)][e(321)]();i[e(369)]();let n=0;for(;n<i[e(426)];){const s=i[n];if(s===this[e(303)]){n++;continue}if(s.id===this[e(492)])break;const r=t[e(447)]-s[e(447)]||t[e(394)]-s[e(394)];if(r>0)break;if(r<0)n++;else{if(!t[e(416)]&&s[e(416)])break;if(s[e(416)]||!t[e(416)]){if(t[e(503)]>s[e(503)])break;n++}else n++}}return n}[ft(256)](t){const e=ft,i=this[e(279)][e(321)]();i[e(369)](),i[e(361)]();const n=i[e(337)](i=>i[e(447)]<=t)[e(447)];return n<this[e(528)]?this[e(528)]:n}[ft(270)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(250)]({from:e,to:i});o[r(271)]=t,o[r(246)]=n,o.id=s;const a=this[r(489)](o);return this[r(244)]&&this[r(400)](o.id,o,!0),a}[ft(363)](){const t=ft;this[t(519)][t(412)][t(495)](t(537))[t(384)]({model:t(536)})}}class gt{[ft(519)];[ft(260)];[ft(344)];[ft(327)];[ft(402)];[ft(499)];[ft(454)];[ft(251)];[ft(433)];[ft(477)];[ft(305)];[ft(339)];[ft(508)];[ft(286)];[ft(288)];[ft(378)];[ft(552)];constructor(t){const e=ft;this[e(519)]=t,this[e(344)]=new Map,this[e(327)]=-1,this[e(402)]=-1,this[e(499)]=new Map,this[e(454)]=new Map,this[e(251)]=new Map,this[e(433)]=new Map,this[e(477)]=new Map,this[e(305)]=new Map,this[e(339)]=new Map,this[e(508)]=new Map,this[e(286)]=new Map,this[e(288)]=new Map,this[e(378)]=1}[ft(319)](t){const e=ft;this[e(260)]=t;const i=new Map,n=new Map,s=this[e(519)][e(534)][e(307)][e(323)][e(261)](t=>t[e(526)]);for(const t of s){const s=this[e(519)][e(534)][e(307)][e(516)](t),r=yt(s);i[e(556)](t,r),n[e(556)](t,Object[e(411)](s[e(349)]()))}const r=Array[e(352)](this[e(519)][e(534)][e(324)])[e(261)](t=>[t[e(271)],t[e(539)]()]),o=this[e(260)][e(283)];this[e(543)](o,i,r,n),this[e(552)]=this[e(378)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(556)](t,i),c[e(556)](t,{})}this[e(543)](Number[e(238)],a,[],c)}[ft(456)](t,e){const i=ft;if(this[i(327)]===t&&this[i(402)]<=e)this[i(344)][i(474)]>1&&this[i(259)](this[i(402)]),this[i(308)](this[i(402)],e,!0);else{if(!this[i(344)][i(557)](t)){const e=this[i(480)](t);this[i(278)](e,t,!1)}this[i(278)](t,e,!0)}return this[i(327)]=t,this[i(402)]=e,this[i(417)]()}[ft(285)](t){const e=ft,i=this[e(519)][e(375)][e(340)](e(350));this[e(502)](),this[e(327)]=t[e(394)],this[e(402)]=t[e(447)];for(const n in t[e(446)]){const s=t[e(446)][n][e(254)],r=R(t[e(446)][n][e(351)])||{},o=i[e(462)](t[e(446)][n][e(478)]);o[e(526)]=n,o[e(532)]=!s||!s[e(390)],o[e(390)]=()=>o[e(532)],this[e(433)][e(556)](n,o),this[e(477)][e(556)](n,r),s&&this[e(288)][e(556)](n,s);const a=this[e(491)](o);this[e(339)][e(556)](n,a);for(const[t,i]of o[e(324)]){if(!t[e(294)](e(468)))continue;const n=t[e(511)](":")[2];for(const t of i[e(312)]({singleCharacters:!0})){const i=this[e(541)](t),s=e(347)==t[e(437)]?t[e(472)][e(264)][e(553)](0,-1):t[e(472)][e(264)],r=a[e(470)](s)[e(342)](i);this[e(508)][e(556)](r,{userId:n})}}}this[e(552)]=this[e(378)];const n=[...Array(this[e(378)])[e(414)]()][e(553)](1)[e(317)](t=>!this[e(508)][e(557)](t));let s=0;const r=new Map;for(const o in t[e(446)]){const a=t[e(446)][o][e(254)],c=R(t[e(446)][o][e(496)])||{},u=i[e(462)](t[e(446)][o][e(406)]);u[e(526)]=o,u[e(532)]=!a||a[e(390)],u[e(390)]=()=>u[e(532)],this[e(454)][e(556)](o,u),this[e(251)][e(556)](o,c);const l=this[e(491)](u,Number[e(238)]);this[e(305)][e(556)](o,l),r[e(556)](o,u[e(390)]()?c:{});for(const[t,i]of u[e(324)]){if(!t[e(294)](e(468)))continue;const n=t[e(511)](":")[2];for(const t of i[e(312)]({singleCharacters:!0})){const i=this[e(541)](t),s=this[e(378)]++,r=e(347)==t[e(437)]?t[e(472)][e(264)][e(553)](0,-1):t[e(472)][e(264)];l[e(470)](r)[e(542)](i,s),this[e(508)][e(556)](s,{userId:n})}}for(const t of this[e(519)][e(534)][e(429)](u)[e(312)]({singleCharacters:!0})){const i=this[e(541)](t),r=e(347)==t[e(437)]?t[e(472)][e(264)][e(553)](0,-1):t[e(472)][e(264)],o=l[e(470)](r);o[e(342)](i)>0||o[e(542)](i,n[s++])}for(const[t,i]of u[e(324)])t[e(294)](e(468))||this[e(499)][e(556)](t,i)}const o=kt(e(314));this[e(433)][e(556)](e(314),o),this[e(339)][e(556)](e(314),this[e(491)](o,1));const a=kt(e(314));this[e(454)][e(556)](e(314),a),this[e(305)][e(556)](e(314),this[e(491)](a,1));const c=Array[e(352)](this[e(454)])[e(261)](([t,e])=>[t,yt(e)]);this[e(543)](this[e(402)],c,this[e(499)],r)}[ft(483)](){const t=ft;this[t(502)](),this[t(327)]=-1,this[t(402)]=-1,this[t(344)][t(371)](),this[t(319)](this[t(260)])}[ft(543)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(556)](t,{start:e[s(424)][s(274)](),end:e[s(382)][s(274)](),rootName:e[s(410)][s(526)]});this[s(344)][s(556)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(259)](t){const e=ft;this[e(344)][e(258)](t)}[ft(502)](){const t=ft;this[t(508)][t(371)](),this[t(286)][t(371)](),this[t(288)][t(371)](),this[t(454)][t(371)](),this[t(251)][t(371)](),this[t(433)][t(371)](),this[t(477)][t(371)](),this[t(305)][t(371)](),this[t(339)][t(371)](),this[t(499)][t(371)](),this[t(378)]=1,this[t(552)]=this[t(378)]}[ft(491)](t,e=null){const i=ft;let n=null;t.is(i(332))||(n=new K.ModelElement(t[i(271)],{vid_start:null===e?this[i(378)]++:e++}));const s=[];for(const n of t[i(409)]())if(n.is(i(421))){s[i(518)](this[i(491)](n,e));const t=s[s[i(426)]-1];null!==e&&(e=t.is(i(421),i(241))?t[i(342)](i(372))+1:t[i(342)](i(455))+1)}else for(let t=0;t<n[i(506)];t++)s[i(518)](new K.ModelElement(i(241),{vid:null===e?this[i(378)]++:e++}));if(t.is(i(332))){const e=kt(t[i(526)]);return e[i(439)](0,s),e}return n[i(542)](i(455),null===e?this[i(378)]++:e++),n[i(439)](0,s),n}[ft(278)](t,e,i){const n=ft;this[n(502)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(344)][n(340)](t);this[n(433)]=new Map(s),this[n(477)]=new Map(R(o));for(const[t,e]of this[n(433)])if(n(314)!==t&&(this[n(454)][n(556)](t,yt(e)),this[n(251)]=new Map(R(o)),i)){const i=this[n(378)];this[n(305)][n(556)](t,this[n(491)](e)),this[n(339)][n(556)](t,this[n(491)](e,i))}this[n(552)]=this[n(378)],this[n(454)][n(556)](n(314),yt(this[n(433)][n(340)](n(314)))),i&&this[n(305)][n(556)](n(314),this[n(491)](this[n(433)][n(340)](n(314))));for(const[t,e]of r){const i=this[n(433)][n(340)](e[n(526)]),s=this[n(454)][n(340)](e[n(526)]),r=new K.ModelRange(this[n(443)](e[n(424)],i),this[n(443)](e[n(382)],i)),o=this[n(431)](r,s);i[n(324)][n(556)](t,r),this[n(499)][n(556)](t,o)}this[n(308)](t,e,i)}[ft(308)](t,e,i){const n=ft;for(const s of this[n(260)][n(432)](t,e))this[n(488)](s,i);for(const t of this[n(454)][n(262)]())t[n(324)][n(371)]();for(const[t,e]of this[n(499)])this[n(454)][n(340)](e[n(410)][n(526)])[n(324)][n(556)](t,e[n(274)]());const s=new Map,r=new Map;for(const[t,e]of this[n(454)])s[n(556)](t,yt(e)),r[n(556)](t,this[n(251)][n(340)](t));this[n(543)](e,s,this[n(499)],r)}[ft(480)](t){const e=ft,i=Array[e(352)](this[e(344)][e(414)]());i[e(272)]((t,e)=>t-e),i[e(369)]();for(const e of i)if(e<t)return e;return Number[e(238)]}[ft(513)](t,e){const i=ft,n=Array[i(352)](e[i(324)])[i(261)](([e,n])=>[e,this[i(431)](n,t)]);t[i(324)]=new Map(n)}[ft(482)](t){const e=ft;for(const i of this[e(499)][e(262)]()){const n=i[e(383)](t),s=K.ModelRange[e(322)](n);i[e(424)]=s[e(424)],i[e(382)]=s[e(382)]}}[ft(488)](t,e){const i=ft;if(i(453)!=t[i(437)]&&i(521)!=t[i(437)]){if(i(380)==t[i(437)]){const n=t[i(296)][i(410)][i(526)];this[i(454)][i(557)](n)||(this[i(454)][i(556)](n,kt(n,!0)),this[i(251)][i(556)](n,{}),e&&this[i(305)][i(556)](n,kt(n,!0)))}else{if(i(381)==t[i(437)]||i(370)==t[i(437)]||i(360)==t[i(437)])return void this[i(245)](t);i(397)==t[i(437)]&&this[i(396)](t)}if(i(397)!==t[i(437)]){const e=this[i(346)](t,this[i(454)]);e[i(263)](),this[i(482)](e)}if(e)switch(t[i(437)]){case i(380):this[i(281)](t);break;case i(545):case i(529):case i(239):this[i(387)](t);break;case i(343):this[i(405)](t);break;case i(511):this[i(334)](t)}}else this[i(538)](t,e)}[ft(346)](t,e){const i=ft,n=t[i(274)]();return n[i(549)]=t[i(549)],this[i(484)](n,e),n}[ft(273)](t){const e=ft;return t[e(261)](t=>{const i=e,n=this[i(541)](t);return Number(t[i(481)][i(342)](n))})}[ft(415)](t,e){const i=ft;if(t.is(i(421),i(241)))e[i(518)]({item:t,type:i(269)});else{t.is(i(421))&&e[i(518)]({item:t,type:i(413)});for(const n of t[i(409)]())this[i(415)](n,e);t.is(i(421))&&e[i(518)]({item:t,type:i(347)})}return e}[ft(417)](){const t=ft,e=new Map(this[t(508)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(433)][t(414)](),...this[t(454)][t(414)]()]);a[t(258)](t(314));for(const e of a){const i=this[t(454)][t(340)](e)||kt(e,!1),n=this[t(433)][t(340)](e)||kt(e,!1);i[t(390)]()||n[t(390)]()?(s[t(406)][e]=yt(i),s[t(478)][e]=yt(n),this[t(513)](s[t(478)][e],n),this[t(513)](s[t(406)][e],i),r[t(406)][e]=this[t(415)](this[t(305)][t(340)](e),[]),r[t(478)][e]=this[t(415)](this[t(339)][t(340)](e)||kt(e,!1),[])):a[t(258)](e)}for(const s of a){const o=r[t(406)][s];for(const s of o){const r=this[t(541)](s),o=s[t(481)][t(342)](r);i[t(258)](o),o>=this[t(552)]&&n[t(556)](o,e[t(340)](o))}}for(const s of a){const a=r[t(406)][s],c=this[t(273)](r[t(478)][s]);let u=0;for(const s of a){const r=this[t(541)](s),a=s[t(481)][t(342)](r);if(!n[t(557)](a)&&!o[t(557)](a))if(i[t(557)](a))u++;else{if(a!=c[u]){const n=e[t(340)](a)||e[t(340)](c[u]);for(;a!=c[u];)i[t(557)](c[u])||(o[t(556)](c[u],n),e[t(556)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(406)][e];for(const e of s){const s=this[t(541)](e),r=e[t(481)][t(342)](s);if(o[t(557)](r)){const e=o[t(340)](r);i[t(557)](r)||i[t(556)](r,{...e}),n[t(556)](r,{...e})}}}for(const e of i[t(414)]())e>=this[t(552)]&&i[t(258)](e);const c=new Map;for(const e of a){let s=r[t(406)][e];for(const e of s)if(e[t(481)].is(t(421),t(476))){const i=this[t(541)](e),s=e[t(481)][t(342)](i);if(n[t(557)](s)){const i=e[t(481)][t(469)][t(469)][t(342)](t(444)),r=c[t(340)](i)||new Set;r[t(240)](n[t(340)](s)[t(427)]),c[t(556)](i,r)}}s=r[t(478)][e];for(const e of s)if(e[t(481)].is(t(421),t(476))){const n=this[t(541)](e),s=e[t(481)][t(342)](n);if(i[t(557)](s)){const n=e[t(481)][t(469)][t(469)][t(342)](t(444)),r=c[t(340)](n)||new Set;r[t(240)](i[t(340)](s)[t(427)]),c[t(556)](n,r)}}for(const e of c[t(414)]())(n[t(557)](e)||i[t(557)](e))&&c[t(258)](e)}for(const e of a){const s=r[t(406)][e];let o=null,a=null;for(const e of s){const s=this[t(541)](e),r=e[t(481)][t(342)](s),u=c[t(340)](r);u&&t(413)==e[t(437)]&&(o=Array[t(352)](u)[0],a=e[t(481)][t(342)](t(455))),o&&(i[t(556)](r,{userId:o}),n[t(556)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(478)][e],a=s[t(406)][e];for(const{userId:e}of this[t(286)][t(262)]())null!==e&&l[t(240)](e);for(const{userId:e}of this[t(288)][t(262)]())null!==e&&l[t(240)](e);this[t(309)](a,r[t(406)][e],n,t(329),l),this[t(309)](o,r[t(478)][e],i,t(434),l),u[e]={insertions:this[t(475)](a),deletions:this[t(475)](o),attachChange:this[t(288)][t(340)](e)||null,attributesBefore:R(this[t(477)][t(340)](e))||{},attributesAfter:R(this[t(251)][t(340)](e))}}return{diffData:u,authorsIds:Array[t(352)](l)}}[ft(520)](t){const e=ft;for(const[,i]of t[e(324)]){const t=i[e(424)][e(311)]()[e(317)](t=>e(476)==t[e(271)]);for(const i of t)1==i[e(277)]&&i[e(247)](0).is(e(421),e(493))&&i[e(247)](0)[e(542)](e(445),!0)}}[ft(475)](t){const e=ft;this[e(520)](t);const i=this[e(519)][e(459)][e(331)](t,{}),n=Array[e(352)](i[e(409)]())[e(261)](t=>this[e(365)](t));return JSON[e(389)](n)}[ft(365)](t){const e=ft;if(t.is(e(241)))return t[e(459)];{const i=this[e(519)][e(375)][e(340)](e(350)),n=t,s=this[e(519)][e(459)][e(527)][e(507)],r={type:i[e(555)](n),name:n[e(271)],attributes:Array[e(352)](n[e(349)]()),children:Array[e(352)](n[e(409)]())[e(261)](t=>this[e(365)](t))};if(t.is(e(379))&&e(393)!=t[e(271)]){const i=t[e(548)](s[e(354)],s);r[e(353)][e(518)](i[e(457)])}else if(t.is(e(341))){const i=s[e(354)][e(435)](n[e(271)]);t[e(548)](i,s),r[e(353)][e(518)](i[e(325)])}const o=Array[e(352)](n[e(523)]());o[e(426)]>0&&(r[e(465)]=o);const a=n[e(292)]();return null!==a&&(r[e(504)]=a),r}}[ft(309)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(519)][r(534)];for(let n=0;n<e[r(426)];n++){const s=this[r(541)](e[n]),c=e[n][r(481)][r(342)](s),h=i[r(340)](c),d=n==e[r(426)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(427)]!=o[r(427)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(427)],d=l(468)+n+":"+h+":"+c++,f=u[l(407)](i,a);t[l(324)][l(556)](d,f),null!==h&&s[l(240)](h)}}[ft(541)](t){const e=ft;switch(t[e(437)]){case e(413):return e(444);case e(347):return e(455);default:return e(372)}}[ft(484)](t,e){const i=ft;t[i(391)]=null;for(const n in t){const s=t[n];if(s instanceof K.ModelPosition){const r=e[i(340)](s[i(410)][i(526)]);t[n]=this[i(443)](s,r)}if(s instanceof K.ModelRange){const r=e[i(340)](s[i(410)][i(526)]);t[n]=this[i(431)](s,r)}i(410)===n&&(t[i(410)]=e[i(340)](t[i(410)][i(526)]))}}[ft(431)](t,e){const i=ft;return this[i(519)][i(534)][i(407)](this[i(443)](t[i(424)],e),this[i(443)](t[i(382)],e))}[ft(443)](t,e){const i=ft;return this[i(519)][i(534)][i(299)](e,t[i(264)],t[i(357)])}[ft(281)](t){const e=ft,i=this[e(305)][e(340)](t[e(296)][e(410)][e(526)]),n=this[e(443)](t[e(296)],i),s=null===t[e(549)]?null:t[e(549)]||this[e(519)][e(375)][e(340)](e(540)).me.id,r=n[e(469)],o=this[e(378)],a=[];for(const i of t[e(252)])if(i.is(e(421)))a[e(518)](this[e(491)](i));else for(let t=0;t<i[e(506)];t++)a[e(518)](new K.ModelElement(e(241),{vid:this[e(378)]++}));const c=this[e(378)];for(let t=o;t<c;t++)this[e(508)][e(556)](t,{userId:s});r[e(439)](n[e(298)],a)}[ft(387)](t){const e=ft;(t=this[e(346)](t,this[e(305)]))[e(263)]();const i=null===t[e(549)]?null:t[e(549)]||this[e(519)][e(375)][e(340)](e(540)).me.id,n=t[e(423)](),s=n[e(469)],r=n[e(298)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(247)](e);r.is(a(421),a(241))?n[a(556)](r[a(342)](a(372)),{userId:i}):(n[a(556)](r[a(342)](a(444)),{userId:i}),t(n,r,0,r[a(277)]),n[a(556)](r[a(342)](a(455)),{userId:i}))}}(this[e(508)],s,r,r+t[e(428)])}[ft(405)](t){const e=ft,i=null===(t=this[e(346)](t,this[e(305)]))[e(549)]?null:t[e(549)]||this[e(519)][e(375)][e(340)](e(540)).me.id,n=t[e(377)][e(469)],s=t[e(395)][e(469)],r=n[e(342)](e(455)),o=s[e(342)](e(444));n[e(542)](e(455),s[e(342)](e(455))),s[e(542)](e(455),r),this[e(508)][e(556)](o,{userId:i}),this[e(508)][e(556)](r,{userId:i}),t[e(263)]()}[ft(334)](t){const e=ft,i=null===(t=this[e(346)](t,this[e(305)]))[e(549)]?null:t[e(549)]||this[e(519)][e(375)][e(340)](e(540)).me.id,n=t[e(302)],s=t[e(449)][e(469)];t[e(263)]();const r=s[e(342)](e(455)),o=t[e(452)][e(248)];if(n){const t=o[e(342)](e(455)),n=s[e(342)](e(455));s[e(542)](e(455),t),o[e(542)](e(455),n),this[e(508)][e(556)](s[e(342)](e(455)),{userId:i}),this[e(508)][e(556)](o[e(342)](e(444)),{userId:i})}else{const t=this[e(378)]++,n=this[e(378)]++;s[e(542)](e(455),t),o[e(542)](e(444),n),o[e(542)](e(455),r),this[e(508)][e(556)](t,{userId:i}),this[e(508)][e(556)](n,{userId:i})}}[ft(396)](t){const e=ft;if(!t[e(522)])return;const i=(t=this[e(346)](t,this[e(454)]))[e(460)]?t[e(460)][e(410)]:null,n=t[e(300)]?t[e(300)][e(410)]:null;i&&this[e(499)][e(258)](t[e(271)]),n&&this[e(499)][e(556)](t[e(271)],t[e(300)][e(274)]());const s=null===t[e(549)]?null:t[e(549)]||this[e(519)][e(375)][e(340)](e(540)).me.id,r=t[e(271)];if(!this[e(286)][e(557)](r))return void this[e(286)][e(556)](r,{range:t[e(460)],userId:s});const o=this[e(286)][e(340)](r),a=o[e(313)],c=t[e(300)];null==a&&null==c||a&&c&&a[e(514)](c)?this[e(286)][e(258)](t[e(271)]):o[e(427)]=s}[ft(538)](t,e){const i=ft;this[i(454)][i(557)](t[i(526)])?this[i(454)][i(340)](t[i(526)])[i(532)]=t[i(326)]:(this[i(454)][i(556)](t[i(526)],kt(t[i(526)],!0)),this[i(251)][i(556)](t[i(526)],{}),e&&this[i(305)][i(556)](t[i(526)],kt(t[i(526)],!0)));const n=null===t[i(549)]?null:t[i(549)]||this[i(519)][i(375)][i(340)](i(540)).me.id,s=this[i(288)][i(340)](t[i(526)]);s&&s[i(427)]===n?this[i(288)][i(258)](t[i(526)]):this[i(288)][i(556)](t[i(526)],{userId:n,isAttached:t[i(326)]})}[ft(245)](t){const e=ft,i=this[e(251)][e(340)](t[e(410)][e(526)]);null===t[e(301)]?delete i[t[e(315)]]:i[t[e(315)]]=t[e(301)]}}function yt(t){const e=ft,i=kt(t[e(526)],t[e(390)]());for(const n of t[e(409)]()){const t=n[e(398)](!0);i[e(422)](t)}return i}function kt(t,e=!0){const i=ft,n=new K.ModelDocumentFragment;return n[i(526)]=t,n[i(532)]=e,n[i(390)]=()=>n[i(532)],n}function bt(t,e,i){const n=ft,s=n(347)==t[n(437)]?i[n(291)](t[n(481)],n(382)):i[n(486)](t[n(481)]);return i[n(299)](e,s[n(264)],s[n(357)])}function wt(t,e,i){const n=ft,s=n(413)==t[n(437)]?i[n(291)](t[n(481)],0):i[n(287)](t[n(481)]);return i[n(299)](e,s[n(264)],s[n(357)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),xt=i(545),Tt=i.n(xt),Nt=i(262),At=i.n(Nt),Rt=i(667),Mt=i.n(Rt),Dt=i(357),Vt=i.n(Dt),Et=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=Tt(),Ct.insertStyleElement=Vt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(959),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Mt(),Lt.insert=At().bind(null,"head"),Lt.domAPI=Tt(),Lt.insertStyleElement=Vt();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=zt;function Pt(){const t=["66kRhlws","element","78nIBmnf","focusTracker","arrowdown","32685EGveXo","arrowright","revisionNameInputValue","arrowup","revisionName","stopPropagation","errorText","listenTo","ck-responsive-form","271020ZPBnwl","add","optional","3435776CGWDXM","ck-revision-history-save-revision-form","form","reset","render","locale","set","9bYAoKR","input","arrowleft","setTemplate","focus","label","value","220","64617XBgSkh","fieldView","trim","revisionNameInputView","Name of the revision","1141119uFltlf","2393365AOpniL","keystrokes","initializeCssTransitionDisablerMixin","_createRevisionNameInput","99nYMKPM","extendTemplate","1799420BhvvOx"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=388]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(603383===parseInt(e(404))/1+parseInt(e(414))/2*(-parseInt(e(417))/3)+parseInt(e(411))/4+-parseInt(e(405))/5+parseInt(e(412))/6*(parseInt(e(399))/7)+parseInt(e(429))/8*(-parseInt(e(391))/9)+-parseInt(e(426))/10*(-parseInt(e(409))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Ht extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(415)];[jt(406)];[jt(402)];constructor(e,i){const n=jt;super(e),this[n(415)]=new t.FocusTracker,this[n(406)]=new t.KeystrokeHandler,this[n(390)](n(419),""),this[n(402)]=this[n(408)](i),this[n(394)]({tag:n(431),attributes:{class:["ck",n(430),n(425)],tabindex:"-1"},children:[this[n(402)]]}),this[n(407)]()}[jt(388)](){const t=jt;super[t(388)](),(0,It.submitHandler)({view:this}),this[t(415)][t(427)](this[t(402)][t(413)]),this[t(406)][t(424)](this[t(413)]);const e=e=>e[t(422)]();this[t(406)][t(390)](t(418),e),this[t(406)][t(390)](t(393),e),this[t(406)][t(390)](t(420),e),this[t(406)][t(390)](t(416),e)}[jt(395)](){const t=jt;this[t(402)][t(395)]()}get[jt(421)](){const t=jt;return this[t(402)][t(400)][t(413)][t(397)][t(401)]()}set[jt(421)](t){const e=jt;this[e(402)][e(400)][e(413)][e(397)]=t[e(401)]()}[jt(432)](){const t=jt;this[t(402)][t(400)][t(413)][t(397)]="",this[t(402)][t(423)]=null}[jt(408)](t){const e=jt,i=new It.LabeledFieldView(this[e(389)],It.createLabeledInputText),n=i[e(400)];n[e(410)]({attributes:{maxlength:e(398)}});let s=at(this[e(389)],e(403));return!t&&(s+=" ("+at(this[e(389)],e(428))+")"),i[e(396)]=s,n.on(e(392),()=>{const t=e;this[t(419)]=n[t(413)][t(397)][t(401)]()}),i}}const Wt=Zt;function Ut(){const t=["editor","showRevisionViewerCallback","buttonView","79289zpWFHJ","init","The revision name cannot be empty.","addMany","reset","165036hqLnue","set","RevisionHistoryUI","revisionName","role","257470jKMQKA","_saveRevisionFormView","execute","errorText","isEnabled","focus","isReadOnly","489324jpufUc","RevisionTracker","Save current revision","menuBar:revisionHistory","Accept","menu","plugins","menuitem","_registerMenuComponent","revisionHistory.requireRevisionName","isOpen","111354hBSuSx","ck-button-action","Revision history","componentFactory","get","pluginName","saveRevision","_createSaveRevisionFormView","revisionNameInputView","revisionSave","_showDialog","view","requires","Open revision history","delegate","416kBvchd","bind","children","isOfficialPlugin","isReady","Dialog","revisionHistory","submit","add","Cancel","panelView","locale","hide","isPremiumPlugin","editing","show","items","670830xiejWQ","render","566168PJwzdY","config"];return(Ut=function(){return t})()}function Zt(t,e){const i=Ut();return(Zt=function(t,e){return i[t-=275]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(171594===parseInt(e(285))/1+parseInt(e(337))/2+-parseInt(e(280))/3+parseInt(e(292))/4+parseInt(e(335))/5+parseInt(e(303))/6+-parseInt(e(275))/7*(parseInt(e(318))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class qt extends G.Plugin{static get[Wt(308)](){return Wt(282)}static get[Wt(321)](){return!0}static get[Wt(331)](){return!0}static get[Wt(315)](){return[vt]}[Wt(286)];[Wt(276)](){const t=Wt,e=this[t(339)],i=e[t(298)][t(307)](t(293));e.ui[t(306)][t(326)](t(324),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(328)][s(320)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(319)](s(289)).to(i,s(322),i,s(289),e,s(291),(t,e,i)=>t&&e&&!i),r[s(341)][s(281)]({icon:_t.IconHistory,label:at(n,s(305)),tooltip:!0}),u[s(281)]({label:at(n,s(294)),withText:!0,role:s(299)}),u[s(319)](s(289)).to(i,s(322),i,s(289),e,s(291),(t,e,i)=>t&&e&&!i),u.on(s(287),()=>this[s(313)]()),h[s(281)]({label:at(n,s(316)),withText:!0,role:s(299)}),h[s(319)](s(289)).to(i,s(322),e,s(291),(t,e)=>t&&!e),h.on(s(287),()=>{const t=s;e[t(338)][t(307)](t(324))[t(340)](),r[t(302)]=!1,e[t(332)][t(314)][t(290)]()}),c[s(320)][s(326)](u),l[s(320)][s(326)](h),a[s(284)]=s(297),a[s(334)][s(278)]([c,l]),o[s(326)](a),r}),e.ui[t(306)][t(326)](t(295),()=>this[t(300)]())}[Wt(300)](){const t=Wt,e=this[t(339)],i=e[t(329)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(341)][t(281)]({icon:_t.IconHistory,label:at(i,t(305))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(281)]({label:at(i,t(294))}),o[t(317)](t(287)).to(n),o.on(t(287),()=>{this[t(313)]()}),r[t(320)][t(326)](o),s[t(334)][t(326)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(281)]({label:at(i,t(316))}),c[t(317)](t(287)).to(n),c.on(t(287),()=>{const i=t;e[i(338)][i(307)](i(324))[i(340)]()}),a[t(320)][t(326)](c),s[t(334)][t(326)](a),n[t(328)][t(320)][t(326)](s),n}[Wt(313)](){const t=Wt,e=this[t(339)],i=e[t(329)],n=e[t(298)][t(307)](t(323)),s=e[t(298)][t(307)](t(293));function r(s){const r=t;e[r(338)][r(307)](r(301))&&""===s[r(283)]?s[r(311)][r(288)]=at(i,r(277)):(e[r(298)][r(307)](vt)[r(309)]({name:s[r(283)]}),n[r(330)]())}this[t(286)]||(this[t(310)](),this[t(286)].on(t(325),()=>r(this[t(286)]))),this[t(286)][t(279)](),n[t(333)]({id:t(312),title:at(i,t(294)),isModal:!0,content:this[t(286)],actionButtons:[{label:at(e[t(329)],t(327)),withText:!0,onExecute:()=>n[t(330)]()},{label:at(e[t(329)],t(296)),class:t(304),withText:!0,onCreate(i){const n=t;i[n(319)](n(289)).to(s,n(322),s,n(289),e,n(291),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(286)])}]})}[Wt(310)](){const t=Wt,e=this[t(339)],i=e[t(329)];this[t(286)]=new Ht(i,e[t(338)][t(307)](t(301))),this[t(286)][t(336)]()}}const $t=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(385056===-parseInt(e(348))/1*(parseInt(e(358))/2)+-parseInt(e(370))/3+parseInt(e(361))/4*(-parseInt(e(368))/5)+-parseInt(e(371))/6*(-parseInt(e(372))/7)+-parseInt(e(373))/8*(-parseInt(e(343))/9)+parseInt(e(354))/10+parseInt(e(341))/11*(parseInt(e(351))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt extends It.View{[$t(362)];[$t(363)];constructor(t,e){const i=$t;super(t),this[i(363)]=e,this[i(362)]=e.id;const n=this[i(344)],s=at(t,e[i(349)][i(374)]?i(355):i(357)==e[i(350)]?i(342):i(360));this[i(365)](i(350),e[i(350)]),this[i(356)]({tag:i(347),attributes:{class:[i(366),i(369),n.to(i(350),t=>i(353)+t)],tabindex:-1},children:[{tag:i(346),children:[{tag:i(346),attributes:{class:[i(359)]},children:[{text:s}]},{text:" "+e[i(352)][i(364)]}]}]})}[$t(345)](){const t=$t;this[t(367)][t(345)]()}}function Jt(){const t=["7GRqADr","9240QRxaiE","isSuggestion","1067twjNnz","Added by","387NcFUtr","bindTemplate","focus","span","div","79293UADitO","data","type","102756KXSsgH","author","ck-revision-change__","2676700CkGMvN","Suggested by","setTemplate","add","14ZAxLLf","ck-revision-change__label","Removed by","70088juMURq","changeId","_model","name","set","ck-annotation","element","20QsoCrc","ck-revision-change","1409166YmZYZL","1991826uAdsbt"];return(Jt=function(){return t})()}var Gt=Kt;function Xt(){var t=["createdAt","2264652XfeyPk","author","data","rootName","1057852OtAscB","set","8ZlCuqD","1953025ELuoQT","6971823IfZxHW","4952680eteAGY","66JaHaGL","1575066XNFwPy","type","2XNvijw","1499871SeCSqz","21tEKZhF","toJSON"];return(Xt=function(){return t})()}function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=376]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(790583===-parseInt(e(378))/1*(parseInt(e(377))/2)+parseInt(e(382))/3+-parseInt(e(386))/4+parseInt(e(389))/5+-parseInt(e(393))/6*(parseInt(e(379))/7)+-parseInt(e(388))/8*(parseInt(e(390))/9)+-parseInt(e(391))/10*(-parseInt(e(392))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(383)];[Gt(376)];[Gt(384)];[Gt(385)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(383)]=e[i(383)],this[i(376)]=e[i(376)],this[i(384)]=e[i(384)]||{},this[i(385)]=e[i(385)],this[i(387)](i(381),e[i(381)])}[Gt(380)](){var t=Gt;return{id:this.id,authorId:this[t(383)].id,type:this[t(376)],data:this[t(384)],createdAt:this[t(381)]}}}const te=ie;function ee(){const t=["_setChanges","2551145BoBlJL","2994144gdIwUt","newRevisionId","5593314DDCcDt","add","changes","2281321vzlsKt","oldRevisionId","12YeSqNL","200AYBvjr","288329tEcfvO","6984956nRojeQ","375471PlPYqH"];return(ee=function(){return t})()}function ie(t,e){const i=ee();return(ie=function(t,e){return i[t-=125]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(908213===-parseInt(e(131))/1*(-parseInt(e(129))/2)+parseInt(e(136))/3+-parseInt(e(132))/4+-parseInt(e(135))/5+-parseInt(e(138))/6+parseInt(e(127))/7+-parseInt(e(130))/8*(-parseInt(e(133))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class ne{[te(137)];[te(128)];[te(126)];constructor(e,i){const n=te;this[n(137)]=e,this[n(128)]=i,this[n(126)]=new t.Collection}[te(134)](t){const e=te;for(const i of t)this[e(126)][e(125)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=Tt(),re.insertStyleElement=Vt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;function oe(){const t=["_changeIdToChange","downcastDispatcher","text","highest","isAdded","isAtStart","_setConversion","1941300qcriSv","forceDisabled","getRoot","-new","offsetSize","conversion","enableReadOnlyMode","currentChangeNumber","9FZHcNt","keys","_sortAndFilterDiffChanges","_markInsertions","endIndex","change:numberOfChanges","clear","ck-suggestion-marker-","1221834SnuyuJ","createAttributeElement","getItems","addMarker:revision","isBlock","resolve","softBreak","createPositionBefore","revision-suggestion","_getViewForChange","affectsData","toViewElement","RevisionsRepository","removeAttribute","getAttributes","elementStart","_makeTape","nodeAfter","POSITIVE_INFINITY","showStack","isPremiumPlugin","_markMismatchedRemovedTags","_threeWayMerge","range","userId","map","getClientRects","getCustomProperty","adapter","domEvent","right","_refreshStartEndIndex","consume","showNextChange","editingDowncast","side","set","vid_start","init","getRevisionDocumentData","isAfter","mousedown","suggestion","18397010HffdQx","forEach","done","upcast","isCollapsed","previousPosition","vid","suggestion:","isAddSuggestion","values","removeMarker:revision-suggestion","domConverter","getRootNames","isSuggestion","markers","insertions","change:isEnabled","isObject","nextPosition","change:activeView","pop","_update","checkAttribute","_removeMissingPairs","consumable","attachChange","setAttribute","filter","ck-suggestion-preview-marker-","span","_appendChild","comment","removeMarker","createRange","pairId","markersStart","sort","_getChangeFromId","revision-viewer","ck-revision-history-root-","find","136SRTZIt","_setDistance","getLaterVisibleRevision","low","_markSuggestions","has","getRevision","ck-suggestion-marker--active","detachRoot","addHighlight","dataToMarker","element","bind","refresh","type","diffData","revision:","unbindElementFromMarkerName","get","_processTape","createPositionFromPath","isInline","deletion","diff","nextSibling","pluginName","_markMarkers","findIndex","viewItem","ck-suggestion-marker","writer","length","all","_cleanMarkers","hasClass","model","forward","delete","view","_utils","item","vid_end","WidgetToolbarRepository","markerName","isRemoveSuggestion","return","start","commands","repository","remove","abs","_data","newRevisionId","execute","then","unshift","wrap","stop","attributes","reconvertMarker","first","backward","requires","getWalker","addClass","observeMarkers","left","split","isRemoved","isAtEnd","plugins","next","ck-editor__editable__overlay","catch","getRevisionRootsAttributes","elementToAttribute","distance","data-change-id","error","restoreRevision","document","addRevision","RevisionHistoryUtils","locale","insertion","changes","markerToData","ck-revision-history-root-add","element:pre","parent","isReady","getIndex","attributesAfter","oldRevisionId","data","slice","_getRevisionsRange","mapViewToDom","isIncorrect","elementEnd","hasAttribute","change","_makeModelFromTape","deletions","includes","dataDowncast","createUIElement","authors","string","concat","editing","225911emaidh","revision-comment:","markerNameToElements","push","object","listenTo","bindElementToMarker","toViewPosition","uiElement","removeMarker:revision","isAttached","showPreviousChange","ck-revision-history-root-remove","ck-suggestion-marker-merge","_getDiff","ck-suggestion-preview-marker","shift","createRevision","revisionHistoryAttachChange","ck-revision-history-root--active","isOfficialPlugin","_revisions","from","add","index","createRangeIn","getChild","toViewRange","maxOffset","getAttribute","end","splice","restoreRevisionCallback","_makeModelFromViewString","editor","isNavigationMode","enqueueChange","startsWith","attribute:vid","changeId","2600832oaalDf","flat","addMarker:revision-suggestion:insertion","numberOfChanges","mapper","target","for","change:isReady","level","_cleanUp","rootName","loadRevisionData","selection","_fixObsoleteTags","_setChanges","isEqual","markersEnd","_balloon","change:activeChange","_findChangeIdFromDomTarget","revisionHistory","ck-suggestion-marker-split","attributesBefore","_initInteractions","updatePosition","_step","bottom","isLimit","high","_joinTapes","6qxWUwP","startIndex","top","addRoot","activeView","config","368534pSDTiv","indexOf","getDomRoot","removeClass","revisionHistoryLabel","compare","_removeUnsupportedChanges","RevisionViewer","merge","_activeViewTarget","roots","revision","insert","addMarker:revision-suggestion:deletion","revision-suggestion:","modelRange","addRevisionData","name","schema","isOnRoot","activeChange","708091GfvOWt","destroy","test","isEnabled","_changeView","markerToHighlight","markerRange","mouseover","code","isContent","isBefore"];return(oe=function(){return t})()}const ae=ce;function ce(t,e){const i=oe();return(ce=function(t,e){return i[t-=101]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(678510===parseInt(e(355))/1+-parseInt(e(334))/2+parseInt(e(389))/3+parseInt(e(298))/4+parseInt(e(373))/5*(parseInt(e(328))/6)+-parseInt(e(258))/7*(-parseInt(e(147))/8)+parseInt(e(381))/9*(-parseInt(e(106))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ue extends G.Plugin{[ae(195)];[ae(417)]=null;[ae(186)];[ae(343)];[ae(359)];[ae(366)];[ae(315)];static get[ae(172)](){return ae(341)}static get[ae(278)](){return!0}static get[ae(409)](){return!0}static get[ae(209)](){return[X.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=ae;super(t),this[e(195)]=this[e(292)][e(217)][e(165)](e(401)),this[e(186)]=this[e(292)][e(217)][e(165)](e(229)),this[e(425)](e(354),null),this[e(425)](e(332),null),this[e(343)]=null,this[e(425)](e(170),null),this[e(425)](e(237),!1),this[e(425)](e(358),!0),this.on(e(122),(t,i,n)=>{const s=e;this[s(354)]=null,this[s(332)]=null,this[s(292)][s(257)][s(185)][s(248)](t=>{const e=s;for(const i of this[e(292)][e(257)][e(185)][e(227)][e(344)])n?t[e(337)](e(219),i):t[e(211)](e(219),i)})}),this[e(159)](e(293)).to(this,e(354),t=>null!==t),this[e(159)](e(380)).to(this,e(237),this,e(170),this,e(354),(t,i,n)=>t&&n?i[e(232)][e(238)](n):0),this[e(159)](e(301)).to(this,e(237),this,e(170),(t,i)=>t?i[e(232)][e(178)]:0),this[e(359)]=null,this[e(366)]=new Map,this[e(315)]=this[e(292)][e(217)][e(165)](It.ContextualBalloon)}[ae(101)](){const t=ae,e=this[t(292)],i=new de(e,{direction:t(208)}),n=new de(e,{direction:t(183)});e[t(194)][t(281)](t(269),i),e[t(194)][t(281)](t(422),n),e[t(194)][t(281)](t(226),new he(e)),this.on(t(386),()=>{const e=t;i[e(160)](),n[e(160)]()}),this[t(372)](),this[t(321)](),e[t(379)](t(144)),e[t(217)][t(152)](t(189))&&e[t(217)][t(165)](t(189))[t(374)](t(144))}async[ae(102)](t){const e=ae;return await this[e(186)][e(309)](t,this[e(417)]),this[e(186)][e(102)](t)}async[ae(221)](t){const e=ae;return await this[e(186)][e(309)](t,this[e(417)]),this[e(186)][e(221)](t)}async[ae(339)](t,e,i=!1){const n=ae;if(!this[n(358)])return;const s=this[n(170)],r=this[n(195)],o=n(255)==typeof t?r[n(153)](t):t,a=n(255)==typeof e?r[n(153)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(170)]&&this[n(170)][n(199)]===c&&this[n(170)][n(240)]===u)return Promise[n(394)]();this[n(237)]=!1,this[n(332)]=null,this[n(354)]=null,this[n(170)]=new ne(c,u);const l=this[n(243)](o,a,!0)[n(414)](t=>this[n(186)][n(309)](t,this[n(417)]));return l[n(261)](new Promise(t=>{setTimeout(t,20)})),Promise[n(179)](l)[n(201)](()=>{const t=n;if(!this[t(358)])return;this[t(307)]();const e=this[t(272)](c,u);for(const i of e[t(232)])this[t(366)][t(425)](i.id,i);this[t(292)][t(182)][t(294)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(292)][n(182)][n(227)][n(118)]())i[n(155)](t);for(const t of Object[n(382)](e[n(182)])){const s=i[n(331)](t);for(const r of Object[n(382)](e[n(205)][t]))i[n(132)](r,e[n(205)][t][r],s);i[n(346)](e[n(182)][t],s,0)}}),this[t(170)][t(312)](this[t(383)](e[t(232)])),this[t(237)]=!0})[n(220)](t=>{const e=n;console[e(225)](t),this[e(307)](),s&&(this[e(170)]=s),this[e(237)]=!0})}[ae(350)](t,e){const i=ae,n=this[i(195)][i(275)](t);return n.on(i(127),(t,i,s)=>e(i,s,n)),this[i(195)][i(228)](n),n}[ae(307)](){const t=ae;this[t(354)]=null,this[t(180)](),this[t(359)]&&this[t(359)][t(356)](),this[t(359)]=null,this[t(366)][t(387)](),this[t(292)][t(182)][t(294)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(292)][i(182)][i(227)][i(118)]())e[i(155)](t)})}[ae(383)](t){const e=ae,i=[],n=new Map;for(const t of this[e(292)][e(182)][e(227)][e(118)]()){const s=this[e(292)][e(257)][e(185)][e(336)](t);if(!s)continue;const r=s[e(415)]()[e(187)](0);r&&(i[e(261)](t),n[e(425)](t,r))}return i[e(142)]((t,i)=>{const s=e,r=n[s(165)](t),o=n[s(165)](i);return r.y-o.y||r.x-o.x}),(t=t[e(133)](t=>i[e(251)](t[e(308)])))[e(142)]((t,n)=>i[e(335)](t[e(308)])-i[e(335)](n[e(308)])),t}[ae(405)](t){const e=ae,i=Array[e(280)](t[e(120)])[e(133)](([t,i])=>t[e(295)](e(163))&&!i[e(110)]),n=Array[e(280)](this[e(292)][e(182)][e(283)](t)[e(210)]({singleCharacters:!0}));if(0!=i[e(178)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(214)](":");if(s[e(288)][e(313)](t[e(124)])&&i[e(274)](),(t[e(111)][e(313)](s[e(193)])||t[e(111)][e(103)](s[e(193)]))&&(e(231)==r?t[e(370)]={userId:o}:e(169)==r&&(t[e(215)]={userId:o})),0==i[e(178)])break}return n}[ae(420)](t){const e=ae,i=new Map;for(let n=0;n<t[e(178)];n++)e(368)===t[n][e(161)]?(t[n][e(187)][e(329)]=n,t[n][e(187)][e(385)]=n):(e(404)===t[n][e(161)]?t[n][e(187)][e(329)]=n:e(246)===t[n][e(161)]&&(t[n][e(187)][e(385)]=n),i[e(425)](t[n].id,n));for(const n of i[e(115)]())e(404)===t[n][e(161)]?t[n][e(187)][e(385)]=i[e(165)](t[n][e(140)]):e(246)===t[n][e(161)]&&(t[n][e(187)][e(329)]=i[e(165)](t[n][e(140)]))}[ae(166)](t){const e=ae;for(let i=0;i<t[e(178)];i++){if(e(404)===t[i][e(161)])t[i][e(187)][e(329)]=i;else if(e(246)===t[i][e(161)]){t[i][e(187)][e(385)]=i;const n=t[i][e(187)][e(329)];t[n][e(140)]=t[i].id,t[i][e(140)]=t[n].id}else t[i][e(187)][e(329)]=i,t[i][e(187)][e(385)]=i,t[i][e(140)]=null;t[i][e(141)]||(t[i][e(141)]=[],t[i][e(314)]=[])}}[ae(384)](t,e){const i=ae,n=t[i(133)](t=>!t[i(370)]);for(let t=0;t<e[i(178)];t++)e[t][i(370)]&&(n[t][i(370)]=e[t][i(370)])}[ae(272)](t,e=null){const i=ae,n=this[i(195)][i(153)](t),s=e?this[i(195)][i(153)](e):null,r=this[i(243)](n,s),o=r[r[i(178)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(178)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(382)](e[i(162)]))if(e[i(162)][t][i(131)]){const n=e[i(162)][t][i(131)];n[i(268)]?(u[i(281)](t),l[i(152)](t)&&l[i(165)](t)[i(413)]==n[i(413)]?l[i(184)](t):l[i(425)](t,n)):l[i(152)](t)?(u[i(184)](t),l[i(184)](t)):(u[i(281)](t),l[i(425)](t,n))}else u[i(281)](t)}for(const t of u){const e=l[i(152)](t)&&!l[i(165)](t)[i(268)];let n=e?r[i(178)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(162)][t]){const n=e?o[i(162)][t][i(320)]:o[i(162)][t][i(239)];c[i(205)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(182)]={};for(const e of t[i(254)])a[i(425)](e.id,e);for(const e of u){const n=t[i(162)][e]?t[i(162)][e][i(121)]:"[]",s=t[i(162)][e]?t[i(162)][e][i(250)]:"[]";t[i(182)][e]={insertions:this[i(186)][i(291)](n),deletions:this[i(186)][i(291)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(280)](n[i(182)][t][i(121)][i(120)])[i(133)](([t])=>!t[i(295)](i(163))));let h=0;for(const o of r){const r=this[i(405)](o[i(182)][t][i(121)]);o==n?(e=r,s=e[i(178)],e[i(107)](t=>{t.id=h++}),this[i(166)](e)):this[i(384)](e,r);const a=e[i(133)](t=>!t[i(370)])[i(414)](t=>t.id);let c=0;const l=this[i(405)](o[i(182)][t][i(250)]);l[i(107)](t=>{t[i(215)]?t.id=s++:t.id=a[c++]}),this[i(166)](l),this[i(148)](e,i(370)),this[i(148)](l,i(215)),o==n&&this[i(173)](e,u),e=this[i(327)](e,l),this[i(420)](e),this[i(148)](e,i(215))}e=e[i(133)](t=>!(t[i(370)]&&t[i(215)]));const d=new Map(o[i(182)][t][i(250)][i(120)]),f=new Set(u[i(382)]());for(const t of d[i(382)]())f[i(184)](t);this[i(151)](e,f),this[i(311)](e),e=this[i(129)](e),e=this[i(410)](e),e=this[i(340)](e);const{root:m,changes:p}=this[i(249)](e,a,t);c[i(182)][t]=m;const v=l[i(165)](t);if(v){const e=a[i(165)](v[i(413)]),n=new Qt({author:e,type:v[i(268)]?i(281):i(196),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(202)](n),c[i(205)][t][i(276)]=n.id}c[i(232)]=c[i(232)][i(256)](p)}return c}[ae(173)](t,e){const i=ae;for(let n=0;n<t[i(178)];n++)for(const[s,r]of e)!r[i(110)]&&r[i(193)][i(313)](t[n][i(111)])&&t[n][i(141)][i(261)](s),r[i(288)][i(313)](t[n][i(124)])&&t[n][i(314)][i(261)](s)}[ae(327)](t,e){const i=ae;let n=[],s=0,r=0;for(;s<t[i(178)]||r<e[i(178)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(261)](o);else if(a[i(215)]&&o[i(370)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(411)](t,s,e,r);n=n[i(256)](o),s=a,r=c}else a[i(215)]?(r++,n[i(261)](a)):(s++,n[i(261)](o))}return n}[ae(151)](t,e){const i=ae,n=[];for(let o=0;o<t[i(178)];o++){for(let r=0;r<t[o][i(141)][i(178)];r++){const a=t[o][i(141)][r];if(!e[i(152)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(397)!=c||i(231)!=u&&i(169)!=u||(n[i(202)]({type:u,name:a,userId:l}),t[o][i(141)][i(289)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(314)][i(178)];r++){const a=t[o][i(314)][r];if(!e[i(152)](a))continue;const{group:c,type:u}=s(a);if(i(397)!=c||i(231)!=u&&i(169)!=u)continue;t[o][i(314)][i(289)](r,1),r--;const l=n[i(174)](t=>t[i(351)]==a);l>-1&&n[i(289)](l,1)}}function s(t){const e=i,n=t[e(214)](":");return{group:n[0],type:n[1],subType:n[e(178)]>=5?n[2]:null,id:n[e(178)]<5?n[2]:n[3],authorId:n[e(178)]<5?n[3]:n[4],markerCount:6==n[e(178)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(178)];i++){if(t[e(370)]&&e(231)==n[i][e(161)]&&t[e(370)][e(413)]==n[i][e(413)])return t[e(114)]=n[i],void delete t[e(370)];if(!t[e(370)]&&!t[e(215)]&&e(169)==n[i][e(161)])return void(t[e(191)]=n[i])}}}[ae(148)](t,e){const i=ae;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(425)](o.id,n);for(let n=0;n<t[i(178)];n++){if(i(215)==e&&t[n][i(370)]||i(370)==e&&t[n][i(215)])continue;if(i(368)==t[n][i(161)]){t[n][i(223)]=0;continue}const s=r[i(165)](t[n][i(140)]),o=r[i(165)](t[n].id);t[n][i(223)]=s-o}}[ae(243)](t,e,i=!1){const n=ae,s=[];let r=this[n(195)][n(238)](t),o=this[n(195)][n(238)](e);for(-1==o&&(o=this[n(195)][n(279)][n(178)],i=!1);r<o;)s[n(261)](this[n(195)][n(153)](r)),r++;return i&&s[n(261)](this[n(195)][n(153)](r)),s}[ae(411)](t,e,i,n){const s=ae,r=this[s(292)][s(182)][s(352)];let o=e;for(;t[o]&&t[o][s(370)];)o++;let a=n;for(;i[a]&&i[a][s(215)];)a++;u(t,e,o),u(i,n,a);const c=i[s(242)](n,a)[s(256)](t[s(242)](e,o));return c[s(142)]((t,e)=>t[s(424)]!=e[s(424)]?t[s(424)]-e[s(424)]:t[s(306)]!=e[s(306)]?t[s(306)]-e[s(306)]:t[s(223)]!=e[s(223)]?e[s(223)]-t[s(223)]:!!t[s(370)]!=!!e[s(370)]?-1==t[s(424)]||0==t[s(424)]?t[s(370)]?-1:1:t[s(370)]?1:-1:t[s(282)]-e[s(282)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(407)],c=!0;for(let s=e;s<i;s++)if(r[n(168)](t[s][n(187)])||(c=!1),t[s][n(187)][n(329)]<e&&(o=s),t[s][n(187)][n(385)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(424)]=s<=o?-1:s<a?0:1,t[s][n(282)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(223)]?t[i][n(306)]=u:(u++,t[i][n(306)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(424)]&&(t[s][n(306)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(223)]?t[e][n(306)]=u:(u--,t[e][n(306)]=u,u--)}}[ae(311)](t){const e=ae,i=new Map,n=this[e(292)][e(182)][e(352)];for(let s=1;s<t[e(178)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(368)==c[e(161)])continue;if(c[e(161)]!=u[e(161)])continue;if(!n[e(393)](u[e(187)])||n[e(325)](u[e(187)]))continue;if(!n[e(393)](c[e(187)])||n[e(325)](c[e(187)]))continue;if((t[s][e(370)]||t[s][e(114)])&&t[s-1][e(215)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(215)]||!t[s-1][e(370)]&&!t[s-1][e(114)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(306)]==o[e(306)],h=Math[e(197)](r[e(306)])<Math[e(197)](o[e(306)])&&0==o[e(223)];(l||h)&&(i[e(425)](o.id,r.id),t[e(289)](a,1),s--,r[e(370)]=!1)}for(let n=0;n<t[e(178)];n++)i[e(152)](t[n][e(140)])&&(t[n][e(140)]=i[e(165)](t[n][e(140)]))}[ae(129)](t){const e=ae,i=new Set(t[e(414)](t=>t.id));for(let n=0;n<t[e(178)];n++)i[e(152)](t[n][e(140)])||0==t[n][e(223)]||(t[n][e(245)]=!0);return t[e(133)](t=>!t[e(245)])}[ae(410)](t){const e=ae,i=new Set;for(let n=0;n<t[e(178)];n++){if(i[e(152)](t[n].id)&&t[n][e(215)]&&(t[n][e(245)]=!0),t[n][e(245)])continue;if(0==t[n][e(223)])continue;if(e(404)!=t[n][e(161)])continue;if(null==t[n][e(140)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(140)];)e(404)==t[s][e(161)]?r++:e(246)==t[s][e(161)]&&r--,s++;if(0!=r)if(t[n][e(215)])t[n][e(245)]=!0;else for(;s!=n;)t[s][e(215)]&&0!=t[s][e(223)]&&(t[s][e(245)]=!0,i[e(281)](t[s][e(140)])),s--}return t[e(133)](t=>!t[e(245)])}[ae(340)](t){const e=ae,i=this[e(292)][e(182)][e(352)];for(let n=0;n<t[e(178)];n++){if(!(t[n][e(370)]||t[n][e(114)]||t[n][e(215)]||t[n][e(191)]))continue;if(0==t[n][e(223)])continue;const s=t[n][e(187)];i[e(393)](s)||i[e(325)](s)||(t[n][e(370)]&&delete t[n][e(370)],t[n][e(114)]&&delete t[n][e(114)],t[n][e(191)]&&delete t[n][e(191)],t[n][e(215)]&&(t[n][e(245)]=!0))}return t[e(133)](t=>!t[e(245)])}[ae(249)](t,e,i){const n=ae,s=new K.ModelDocumentFragment,r=[],o=new Map,a=this[n(292)][n(182)],c=a[n(352)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(178)];e++)if(n(404)===t[e][n(161)]){t[e][n(111)]=a[n(167)](s,f);const i=new K.ModelElement(t[e][n(187)][n(351)],t[e][n(187)][n(403)]());u[0][n(136)](i),f[n(261)](0),u[n(202)](i),t[e][n(124)]=a[n(167)](s,f)}else n(246)===t[e][n(161)]?(u[n(274)](),t[e][n(111)]=a[n(167)](s,f),f[n(126)](),f[f[n(178)]-1]++,t[e][n(124)]=a[n(167)](s,f)):(t[e][n(111)]=a[n(167)](s,f),d?d[n(198)]+=t[e][n(187)][n(241)]:d=new K.ModelText(t[e][n(187)][n(241)],t[e][n(187)][n(403)]()),t[e+1]&&n(368)===t[e+1][n(161)]&&v(d,t[e+1][n(187)])||(u[0][n(136)](d),d=null),f[f[n(178)]-1]+=t[e][n(187)][n(377)],t[e][n(124)]=a[n(167)](s,f));for(let e=0;e<t[n(178)];e++){const i=t[e][n(111)],s=t[e][n(124)];for(const s of t[e][n(141)])o[n(425)](s,{start:i,end:null});m(n(191),e,i,s),m(n(114),e,i,s),m(n(215),e,i,s),m(n(370),e,i,s);for(const i of t[e][n(314)]){const t=o[n(165)](i);t?t[n(288)]=s:o[n(425)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(292)][n(182)][n(139)](e[n(193)],e[n(288)]);s[n(120)][n(425)](t,i)}return r[n(142)]((t,e)=>{const i=n,r=s[i(120)][i(165)](i(163)+t.id),o=s[i(120)][i(165)](i(163)+e.id);return r[i(193)][i(365)](o[i(193)])?-1:r[i(193)][i(103)](o[i(193)])?1:r[i(288)][i(365)](o[i(288)])?-1:r[i(288)][i(103)](o[i(288)])?1:i(281)===t[i(161)]?-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(413)]:null,d=i===t[o(178)]-1,f=h[e][0],m=c[o(123)](t[i][o(187)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(288)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(413)]!==u&&(l[e][o(288)]=s,f&&f[o(413)]===l[e][o(413)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(404)!==t[i][o(161)]||f&&f[o(413)]===u||h[e][o(202)]({userId:u,object:t[i][o(187)],change:l[e]}),o(246)===t[i][o(161)]&&f&&f[o(262)]===t[i][o(187)]&&(h[e][o(274)](),l[e]=f[o(248)])),l[e]&&d&&(l[e][o(288)]=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(187)],f=a[h(352)][h(393)](d)&&!a[h(352)][h(325)](d),m=t[h(406)]==o[h(236)]&&o[h(371)];if(f&&m)return;const p=a[h(139)](t,o),v=e[h(165)](u),g=new Qt({author:v,type:h(370)==l||h(114)==l?h(281):h(196),data:{isSuggestion:h(114)==l||h(191)==l},createdAt:new Date,rootName:i});r[h(261)](g),s[h(120)][h(425)](h(163)+g.id,p)}function v(t,e){const i=n,s=t[i(403)](),r=e[i(403)]();for(const t of s){if(t[1]!==e[i(287)](t[0]))return!1;r[i(218)]()}return r[i(218)]()[i(108)]}}[ae(372)](){const t=ae;this[t(292)][t(378)][t(304)](t(109))[t(157)]({view:t(345)}),this[t(292)][t(378)][t(304)](t(423))[t(360)]({model:t(345),view:e=>{const i=t,n=e[i(190)][i(214)](":")[1],s=this[i(143)](n);if(!s)return null;const r=i(281)==s[i(161)]?i(231):i(169),o=[i(176),i(388)+r];return s[i(241)][i(119)]&&o[i(261)](i(388)+r+i(376)),this[i(354)]==s&&o[i(261)](i(154)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(292)][t(378)][t(304)](t(109))[t(281)](e=>{const i=t;e.on(i(235),(t,e,n)=>{const s=i,r=e[s(175)][s(284)](0);if(!r||!r.is(s(158),s(363)))return;if(!n[s(130)][s(421)](r,{attributes:[s(426),s(188)]}))return;const o=e[s(349)][s(193)][s(406)];n[s(177)][s(132)](s(426),r[s(287)](s(426)),o),n[s(177)][s(132)](s(188),r[s(287)](s(188)),o)},{priority:i(150)})}),this[t(292)][t(378)][t(304)](t(109))[t(281)](e=>{const i=t;e.on(i(158),(t,e,n)=>{const s=i;if(!n[s(130)][s(421)](e[s(175)],{attributes:[s(426),s(188)]}))return;if(e[s(349)][s(110)])return;const r=e[s(349)][s(193)][s(406)];r[s(247)](s(426))||r[s(247)](s(112))||(n[s(177)][s(132)](s(426),e[s(175)][s(287)](s(426)),r),n[s(177)][s(132)](s(188),e[s(175)][s(287)](s(188)),r))},{priority:i(150)})}),this[t(292)][t(378)][t(304)](t(109))[t(222)]({view:{name:t(135),attributes:{vid:!0}},model:{key:t(112),value:e=>e[t(287)](t(112))}}),this[t(292)][t(182)][t(352)].on(t(128),(e,[,i])=>{const n=t;[n(426),n(188),n(112)][n(251)](i)&&(e[n(192)]=!0,e[n(204)]())},{priority:t(369)}),this[t(292)][t(378)][t(304)](t(252))[t(281)](e=>{const i=t;e.on(i(296),(t,e,n)=>{const s=i;if(" "!=e[s(187)][s(241)]||e[s(187)][s(236)][s(286)]>1)return;if(!n[s(130)][s(421)](e[s(187)],t[s(351)]))return;const r=n[s(177)],o=n[s(302)][s(285)](e[s(412)]);r[s(203)](o,r[s(390)](s(135)))})}),this[t(292)][t(378)][t(304)](t(252))[t(233)]({model:t(345)}),this[t(292)][t(257)][t(367)].on(t(392),function(e){const i=t,n=e[i(217)][i(165)](i(341));return(t,s,r)=>{const o=i,a=s[o(190)][o(214)](":")[1],c=n[o(143)](a);if(!c)return null;const u=o(281)==c[o(161)]?o(214):o(342);if(!r[o(130)][o(357)](s[o(361)],t[o(351)]))return;const l=s[o(361)][o(210)](),h=s[o(361)][o(193)],d=e[o(182)][o(352)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(187)];p=p||d[o(364)](e);const i=r[o(302)][o(400)](e);if(i&&i[o(416)](o(156)))return;o(246)==t[o(161)]&&d[o(393)](e)&&!d[o(325)](e)&&(e[o(171)]||h[o(216)]?f&&f[o(236)]==e||(f=e,g(t[o(111)]),v=!0):m=m||t[o(111)])}function g(t){const e=o,i=r[e(177)][e(253)](e(135),{class:e(388)+u}),a=r[e(302)][e(265)](t);c[e(241)][e(119)]&&r[e(177)][e(211)](e(388)+u+e(376),i),n[e(354)]==c&&r[e(177)][e(211)](e(154),i),r[e(177)][e(346)](a,i),r[e(302)][e(264)](i,s[e(190)])}p||v||!m||g(m)}}(this[t(292)]),{priority:t(326)}),this[t(292)][t(257)][t(367)].on(t(267),(e,i,n)=>{const s=t,r=n[s(302)][s(260)](i[s(190)]);if(r)for(const t of r)(t[s(181)](s(319))||t[s(181)](s(271)))&&(n[s(302)][s(164)](t,i[s(190)]),n[s(177)][s(196)](t))},{priority:t(326)}),this[t(292)][t(257)][t(367)].on(t(392),(e,i,n)=>{const s=t,r=i[s(190)][s(214)](":")[1],o=this[s(143)](r);if(!o)return null;const a=s(281)==o[s(161)]?s(214):s(342);if(n[s(130)][s(357)](i[s(361)],e[s(351)]))for(const t of i[s(361)][s(391)]()){if(!t.is(s(158),s(395)))continue;const e=n[s(177)][s(253)](s(135),{class:s(388)+a}),r=n[s(302)][s(265)](this[s(292)][s(182)][s(396)](t));o[s(241)][s(119)]&&n[s(177)][s(211)](s(388)+a+s(376),e),this[s(354)]==o&&n[s(177)][s(211)](s(154),e),n[s(177)][s(346)](r,e),n[s(302)][s(264)](e,i[s(190)])}},{priority:t(326)}),this[t(292)][t(182)][t(227)].on(t(248),()=>{const e=t;this[e(292)][e(257)][e(185)][e(248)](t=>{const i=e;for(const e of this[i(292)][i(182)][i(227)][i(118)]()){const n=this[i(292)][i(182)][i(227)][i(375)](e),s=this[i(292)][i(257)][i(185)][i(227)][i(375)](e);if(s){const e=n[i(287)](i(276));if(t[i(402)](i(224),s),t[i(337)](i(234),s),t[i(337)](i(270),s),t[i(337)](i(277),s),e){const n=this[i(143)](e);if(!n)return null;t[i(132)](i(224),e,s),t[i(211)](i(145)+n[i(161)],s),this[i(354)]==n&&t[i(211)](i(277),s)}}}})}),this[t(292)][t(378)][t(304)](t(109))[t(157)]({view:t(137),model:e=>t(259)+e,converterPriority:t(369)}),this[t(292)][t(378)][t(304)](t(109))[t(157)]({view:t(105),model:e=>t(348)+e,converterPriority:t(369)}),this[t(292)][t(378)][t(304)](t(252))[t(233)]({model:t(397),view:e=>({name:t(113)+e,group:t(397)}),converterPriority:t(369)}),this[t(292)][t(378)][t(304)](t(423))[t(360)]({model:t(397),view:e=>{const i=t,n=e[i(190)][i(214)](":")[1];return i(231)!=n&&i(169)!=n?null:{classes:[i(273),i(134)+n]}}}),this[t(292)][t(257)][t(367)].on(t(347),le(this[t(292)],t(342)),{priority:t(326)}),this[t(292)][t(257)][t(367)].on(t(300),le(this[t(292)],t(214)),{priority:t(326)}),this[t(292)][t(257)][t(367)].on(t(116),(e,i,n)=>{const s=t,r=n[s(302)][s(260)](i[s(190)]);if(r)for(const t of r)t.is(s(266))&&(n[s(302)][s(164)](t,i[s(190)]),n[s(177)][s(196)](t))},{priority:t(326)})}[ae(143)](t){const e=ae;return this[e(366)][e(165)](t)}[ae(398)](t){const e=ae;return this[e(359)]&&this[e(359)][e(356)](),this[e(359)]=new Yt(this[e(292)][e(230)],t),this[e(359)]}[ae(321)](){const t=ae;this[t(292)][t(182)][t(227)][t(310)][t(212)](t(345)),this.on(t(125),(e,i,n,s)=>{const r=t;s&&this[r(315)][r(196)](s),n&&(this[r(315)][r(281)]({view:n,stackId:r(338),position:{target:()=>{const t=r,e=this[t(292)][t(257)],i=this[t(143)](n[t(297)]);let s;if(i[t(241)][t(353)]){const n=e[t(185)][t(336)](i[t(308)]);s=Array[t(280)](n[t(415)]())}else{const i=this[t(292)][t(182)][t(120)][t(165)](t(163)+n[t(297)]);s=Array[t(280)](e[t(302)][t(260)](i[t(351)]))[t(414)](i=>e[t(185)][t(117)][t(244)](i))[t(414)](e=>Array[t(280)](e[t(415)]()))[t(299)]()}return this[t(343)]&&s[t(146)](e=>e[t(330)]-3<=this[t(343)].y&&e[t(324)]+3>=this[t(343)].y&&e[t(213)]-3<=this[t(343)].x&&e[t(419)]+3>=this[t(343)].x)||s[0]}}}),this[r(315)][r(408)](r(338)))}),this.on(t(316),(e,i,n,s)=>{const r=t;this[r(332)]=n?this[r(398)](n):null,this[r(292)][r(182)][r(248)](()=>{const t=r,e=this[t(292)][t(257)];s&&(s[t(241)][t(353)]?e[t(185)][t(248)](i=>{const n=t;i[n(337)](n(277),e[n(185)][n(227)][n(375)](s[n(308)]))}):e[t(206)](t(163)+s.id)),n&&(n[t(241)][t(353)]?e[t(185)][t(248)](i=>{const s=t;i[s(211)](s(277),e[s(185)][s(227)][s(375)](n[s(308)]))}):e[t(206)](t(163)+n.id))})}),this[t(263)](this[t(292)][t(257)][t(185)][t(227)],t(362),(e,i)=>{const n=t;if(this[n(354)])return;const s=this[n(317)](i[n(303)]),r=this[n(366)][n(165)](s);r?(this[n(343)]={x:i[n(418)].x,y:i[n(418)].y},this[n(332)]=this[n(398)](r)):(this[n(343)]=null,this[n(332)]=null)}),this[t(263)](this[t(292)][t(257)][t(185)][t(227)],t(104),(e,i)=>{const n=t,s=this[n(317)](i[n(303)]),r=this[n(366)][n(165)](s);r?(this[n(343)]={x:i[n(418)].x,y:i[n(418)].y},r===this[n(354)]?this[n(315)][n(322)]():this[n(354)]=r):(this[n(343)]=null,this[n(354)]=null)})}[ae(317)](t){const e=ae;do{const i=t[e(287)](e(224));if(i)return i;t=t[e(236)]}while(t);return null}[ae(180)](){const t=ae;this[t(292)][t(182)][t(248)](e=>{const i=t;for(const t of this[i(292)][i(182)][i(120)])e[i(138)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(130)][r(357)](n[r(361)],i[r(351)]))return;const o=n[r(361)][r(210)](),a=n[r(361)][r(193)],c=t[r(182)][r(352)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(187)];h=h||c[r(364)](e);const i=s[r(302)][r(400)](e);if(i&&i[r(416)](r(156)))return;r(246)==t[r(161)]&&c[r(393)](e)&&!c[r(325)](e)&&(e[r(171)]||a[r(216)]?u&&u[r(236)]==e||(u=e,f(t[r(111)]),d=!0):l=l||t[r(111)])}function f(t){const i=r,o=s[i(302)][i(265)](t),a=s[i(177)][i(253)](i(135),{class:i(134)+e});s[i(177)][i(346)](o,a),s[i(302)][i(264)](a,n[i(190)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=ae;super(t);const i=t[e(217)][e(165)](ue);this[e(399)]=!1,this[e(263)](i,e(305),()=>this[e(160)]()),this[e(263)](i,e(122),()=>this[e(160)]())}[ae(200)](){const t=ae,e=this[t(292)],i=e[t(217)][t(165)](ue),n=i[t(237)]?i[t(170)][t(199)]:null;e[t(333)][t(165)](t(318))[t(290)](n)}[ae(160)](){const t=ae,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(292)][t(217)][t(165)](ue),r=s&&n[t(149)](s[t(199)]);this[t(358)]=e&&i&&Boolean(r)}}class de extends G.Command{[ae(323)];constructor(t,{direction:e}){const i=ae;super(t);const n=t[i(217)][i(165)](ue);this[i(399)]=!1,this[i(323)]=i(183)===e?1:-1,this[i(263)](n,i(305),()=>this[i(160)]()),this[i(263)](n,i(122),()=>this[i(160)]()),this[i(263)](n,i(316),()=>this[i(160)]())}[ae(200)](){const e=ae,i=this[e(292)],n=i[e(217)][e(165)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(354)]=s?n[e(170)][e(232)][e(165)](r+this[e(323)]):n[e(170)][e(232)][e(207)],n[e(354)][e(241)][e(353)])o=i[e(257)][e(185)][e(336)](n[e(354)][e(308)]);else{const t=i[e(182)][e(120)][e(165)](e(163)+n[e(354)].id);o=(0,X.getMarkerDomElement)(i[e(257)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[ae(160)](){const t=ae,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(292)][t(217)][t(165)](ue);this[t(358)]=!!(r&&s&&n)&&(!e||(1===this[t(323)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=Tt(),me.insertStyleElement=Vt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["forward","5ZgqKoo","5721506EhVjTc","Total","Show next change","currentChangeNumber","set","6632000SKIVGp","ck-revision-history-ui__changes-navigation__label","No changes","NUMBER_OF_CHANGES","4899672zSmxvT","_isStatusLabelVisible","div","136wPFqSX","fire","bind","span","Loading...","265743QQEkpL","isBackwardNavigationEnabled","ck-revision-history-ui","_statusText","ck-revision-history-ui__changes-navigation","9193080LAAPLX","Show previous change","EDIT_X_OF_Y_REVISIONS","X_OF_Y_CHANGES","21lfYUlm","execute","backward","420220llXmBL","setTemplate","isNavigationMode","ck-hidden","ck-revision-history-ui__changes-navigation__navigation","719074PzUOfq","bindTemplate","numberOfChanges","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","isEnabled","isReady"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=194]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(989175===-parseInt(e(226))/1+-parseInt(e(221))/2*(-parseInt(e(218))/3)+parseInt(e(197))/4*(parseInt(e(234))/5)+-parseInt(e(201))/6+parseInt(e(235))/7+parseInt(e(204))/8*(-parseInt(e(209))/9)+-parseInt(e(214))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(227)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(196)](e(223),!1),this[e(196)](e(232),!1),this[e(196)](e(195),0),this[e(196)](e(228),0),this[e(196)](e(229),!1),this[e(196)](e(210),!1),this[e(206)](e(202)).to(this,e(232),this,e(228),(t,e)=>t&&e>0),this[e(206)](e(212)).to(this,e(232),this,e(195),this,e(228),this,e(223),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(208));if(!s)return at(t,o(199));const a=at(t,o(200),s);return r?at(t,o(217),[n+1,s]):a}),n[e(196)]({label:at(t,e(215)),tooltip:!0,icon:_t.IconChevronUp}),s[e(196)]({label:at(t,e(194)),tooltip:!0,icon:_t.IconChevronDown}),n[e(206)](e(231)).to(this,e(210)),s[e(206)](e(231)).to(this,e(229)),n.on(e(219),()=>this[e(205)](e(219),e(220))),s.on(e(219),()=>this[e(205)](e(219),e(233))),this[e(222)]({tag:e(203),attributes:{class:["ck",e(211),e(213)]},children:[{tag:e(207),attributes:{class:[e(230)]},children:[{tag:e(207),attributes:{class:[e(198),i.if(e(202),e(224),t=>!t)]},children:[{text:i.to(e(223),i=>i?at(t,e(216))+": ":at(t,e(236))+": ")}]},{text:i.to(e(212))}]},new It.ToolbarSeparatorView,{tag:e(203),attributes:{class:[e(225)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=Tt(),ke.insertStyleElement=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(){const t=["6270riSoLz","editor","866090uwqQpe","1743zxuFLG","isPremiumPlugin","document","isOfficialPlugin","roots","2235123iTlLIq","72nkRoBH","pluginName","180LmIibH","show","1433995uZizkb","view","RevisionViewerLoadingOverlay","removeClass","editing","59643ofHwFM","addClass","1936728rwPaHu","33112dYuAKc","change","4415LGklST","hide","ck-editor__editable__loading-overlay"];return(be=function(){return t})()}const we=_e;function _e(t,e){const i=be();return(_e=function(t,e){return i[t-=315]})(t,e)}!function(t){const e=_e,i=t();for(;;)try{if(735962===parseInt(e(331))/1+parseInt(e(320))/2+parseInt(e(336))/3*(parseInt(e(327))/4)+-parseInt(e(315))/5*(-parseInt(e(318))/6)+parseInt(e(321))/7*(parseInt(e(339))/8)+parseInt(e(338))/9+parseInt(e(329))/10*(-parseInt(e(326))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);const Ie=we(317);class Se extends G.Plugin{static get[we(328)](){return we(333)}static get[we(324)](){return!0}static get[we(322)](){return!0}[we(330)](){const t=we,e=this[t(319)][t(335)][t(332)];e[t(340)](i=>{const n=t;for(const t of e[n(323)][n(325)])i[n(337)](Ie,t)})}[we(316)](){const t=we,e=this[t(319)][t(335)][t(332)];e[t(340)](i=>{const n=t;for(const t of e[n(323)][n(325)])i[n(334)](Ie,t)})}}const Oe=Te;function xe(){const t=["RevisionViewerUI","pluginName","794640RfzXPp","isPremiumPlugin","requires","Restore this revision","isNavigationMode","currentChangeNumber","commands","listenTo","isForwardNavigationEnabled","125iILbHU","config","set","isEnabled","plugins","hide","9852360tlTxsr","showNextChange","30426oxezHG","revisionHistory","5067atvIFu","ck-revision-history-ui__back-to-editing","7070ZdaJDT","closeRevisionViewerCallback","componentFactory","bind","restoreRevision","add","execute","isReady","change:isReady","showPreviousChange","editor","changesNavigation","forward","1247808KvLTzI","4007841UEVdpn","Back to editing","1085wMoVke","isBackwardNavigationEnabled","show","get","isOfficialPlugin","init","exitToEditing","39212erOsUn","numberOfChanges"];return(xe=function(){return t})()}function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=364]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(683035===-parseInt(e(382))/1+parseInt(e(396))/2+parseInt(e(383))/3+-parseInt(e(392))/4*(-parseInt(e(405))/5)+parseInt(e(365))/6*(parseInt(e(385))/7)+-parseInt(e(411))/8+parseInt(e(367))/9*(parseInt(e(369))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(395)](){return Oe(394)}static get[Oe(389)](){return!0}static get[Oe(397)](){return!0}static get[Oe(398)](){return[ue,Se]}[Oe(390)](){const t=Oe,e=this[t(379)],i=e[t(409)][t(388)](ue),n=e[t(409)][t(388)](Se);e.ui[t(371)][t(374)](t(391),i=>{const n=t,s=new It.ButtonView(i);return s[n(407)]({label:at(i,n(384)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(368)}),this[n(403)](s,n(375),()=>{const t=n;e[t(406)][t(388)](t(366))[t(370)]()}),s}),e.ui[t(371)][t(374)](t(373),i=>{const n=t,s=new It.ButtonView(i);return s[n(407)]({label:at(i,n(399)),withText:!0,tooltip:!0}),s[n(372)](n(408)).to(e[n(402)][n(388)](n(373))),this[n(403)](s,n(375),()=>e[n(375)](n(373))),s}),e.ui[t(371)][t(374)](t(380),n=>{const s=t,r=new ge(n),o=e[s(402)][s(388)](s(378)),a=e[s(402)][s(388)](s(364));return r[s(372)](s(386)).to(o,s(408)),r[s(372)](s(404)).to(a,s(408)),r[s(372)](s(376),s(401),s(393),s(400)).to(i),this[s(403)](r,s(375),(t,i)=>{const n=s;e[n(375)](n(381)===i?n(364):n(378))}),r}),n[t(387)](),i.on(t(377),(e,i,s)=>{const r=t;s?n[r(410)]():n[r(387)]()})}}var Ae=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Vt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ve;function De(){const t=["clientWidth","Revision name","_tooltipString","4466572LmvJdm","input","44533qliKSa","scrollWidth","6529167cRFVOD","placeholder","Enter the revision name","render","destroy","span","bindTemplate","fieldView","18068380DoDULO","209460dBcdME","element","ck-tooltip_multi-line","value","extendTemplate","listenTo","3AKdePa","802064TZWezF","24JAYvQe","4201385sRlPwV","set","ck-revision-history-sidebar__revision-name","105MfqgDR","_updateTooltipText","_resizeObserver"];return(De=function(){return t})()}function Ve(t,e){const i=De();return(Ve=function(t,e){return i[t-=383]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(694005===parseInt(e(413))/1*(-parseInt(e(401))/2)+parseInt(e(399))/3*(-parseInt(e(411))/4)+parseInt(e(402))/5+-parseInt(e(393))/6*(-parseInt(e(405))/7)+-parseInt(e(400))/8+-parseInt(e(384))/9+parseInt(e(392))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends It.LabeledFieldView{[Me(407)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(390)];this[i(403)]({label:at(t,i(409)),_tooltipString:""}),this[i(391)][i(385)]=at(t,i(386)),this[i(397)]({tag:i(389),attributes:{class:[i(404)],"data-cke-tooltip-text":n.to(i(410)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(395)}})}[Me(387)](){const e=Me;super[e(387)](),this[e(407)]=new t.ResizeObserver(this[e(391)][e(394)],()=>this[e(406)]()),this[e(398)](this[e(391)],e(412),()=>this[e(406)]())}[Me(388)](){const t=Me;super[t(388)](),this[t(407)]&&this[t(407)][t(388)]()}[Me(406)](){const t=Me,e=this[t(391)][t(394)];this[t(410)]=e[t(383)]>e[t(408)]&&e[t(396)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=Tt(),Fe.insertStyleElement=Vt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=228]})(t,e)}function je(){const t=["2264TpvjYz","push","0 0 11 10","394810HDmYbt","ck-revision-history-sidebar__revision-author_creator","474684sjLaQJ","name","Revision author","ck-revision-history-sidebar__revision-author","30ySyPXb","28273JlTkwv","set","317647LhosEr","setTemplate","22rIwqpv","1154274yFdrtV","6NFsvrE","Revision creator","6181101Biinsq","span","1032172uzsaHF","ck-revision-history-sidebar__revision-author__name"];return(je=function(){return t})()}!function(t){const e=Le,i=t();for(;;)try{if(658528===parseInt(e(229))/1+-parseInt(e(232))/2+parseInt(e(233))/3*(-parseInt(e(237))/4)+-parseInt(e(248))/5*(parseInt(e(244))/6)+-parseInt(e(249))/7*(-parseInt(e(239))/8)+parseInt(e(235))/9+parseInt(e(242))/10*(parseInt(e(231))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const n=Le;super(t);const s=new It.IconView;s[n(228)]({content:_t.IconUser,viewBox:n(241)});const r=["ck",n(247)];i&&r[n(240)](n(243));const o=[{tag:n(236),attributes:{class:["ck",n(238)],title:at(t,n(i?234:246))},children:[s,e[n(245)]]}];this[n(230)]({tag:"li",attributes:{class:r},children:o})}}function ze(){var t=["188687rDuJmV","long","13368wfRenb","2aHhLQH","2873180AtESKz","110OgVnJx","7ViRQJH","9OXyCNI","632864LzoseY","toLocaleTimeString","toLocaleDateString","266550dWObdB","11swXDvH","numeric","683460LFRhEY","1329174QrOuZj"];return(ze=function(){return t})()}function He(t,e){var i=ze();return(He=function(t,e){return i[t-=344]})(t,e)}!function(t){for(var e=He,i=t();;)try{if(526304===parseInt(e(352))/1+-parseInt(e(355))/2*(parseInt(e(351))/3)+parseInt(e(350))/4+-parseInt(e(357))/5*(-parseInt(e(347))/6)+-parseInt(e(358))/7*(parseInt(e(344))/8)+parseInt(e(359))/9*(-parseInt(e(356))/10)+parseInt(e(348))/11*(-parseInt(e(354))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(11),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Mt(),Ue.insert=At().bind(null,"head"),Ue.domAPI=Tt(),Ue.insertStyleElement=Vt();Ot()(We.A,Ue);We.A&&We.A.locals&&We.A.locals;function Ze(){const t=["execute","add","isEnabled","action","6560620PwzCAE","1765912UFburb","4136765lglbkW","model","_action","extendTemplate","class","10212tGhOzB","items","buttonView","change:isActionsDropdownOpen","Show more items","3443BrLnOM","map","156JkkxwG","function","isOpen","panelPosition","listenTo","2424IgjXDS","bindTemplate","isActionsDropdownOpen","Name this revision","listView","stopPropagation","ck-on","isReady","menuitem","64589MjFXqL","69IpoVoo","find","Compare against selected","43887TKObPI","button","locale","bind","9XFTcWz","Restore this revision","source","set","children","first","menu","isVisible","172hoTkgS","name","ck-revision-history-sidebar__revision__actions"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=250]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(492087===parseInt(e(251))/1*(-parseInt(e(280))/2)+-parseInt(e(254))/3*(-parseInt(e(266))/4)+parseInt(e(275))/5+-parseInt(e(287))/6*(parseInt(e(250))/7)+-parseInt(e(274))/8*(-parseInt(e(258))/9)+-parseInt(e(273))/10+-parseInt(e(285))/11*(-parseInt(e(292))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=Tt(),Be.insertStyleElement=Vt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["8079vgSzIE","span","srcElement","bindTemplate","extendTemplate","ck-revision-history-sidebar__revision__controls-wrapper","setTemplate","_requireRevisionName","createdAt","from","value","ck-revision-history-sidebar__revision_highlighted","closest","220","_createdAtFormatted","isConfirm","fire","isEnabled","deselect","revisionNameView","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","bind","ck-revision-history-sidebar__revision_selected","authors","1444GyiaNi",".ck-thread__remove-confirm","set","_revision","element","render","creator","ck-revision-history-sidebar__revision","10232757sphvhX","1260942jOOUBo","isReady","length","7lWDsKI","isSelected","setName","div","unhighlight","ck-revision-history-sidebar__actions_dropdown_open","fieldView","highlight","map","uiLanguage","ck-revision-history-sidebar__revision-wrapper","ck-disabled","1480237ULuuxp","select","name","ck-revision-history-sidebar__revision__date","revisionActionsView","2fXNmGK","listenTo","5667250MLbmlz","isActionsDropdownOpen","13861896HIwusD","unshift","change","4538180MHmKrE","ck-revision-history-sidebar__revision-authors","filter","ck-reset","isHighlighted"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=211]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(966857===-parseInt(e(259))/1*(-parseInt(e(264))/2)+-parseInt(e(211))/3*(-parseInt(e(235))/4)+-parseInt(e(266))/5+-parseInt(e(244))/6+parseInt(e(247))/7*(-parseInt(e(268))/8)+parseInt(e(243))/9+parseInt(e(271))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Xe extends((0,X.ConfirmMixin)(It.View)){id;[Ye(230)];[Ye(263)];[Ye(238)];[Ye(218)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(214)],a=function(t,e){const i=r,n=Array[i(220)](e[i(234)])[i(273)](t=>t!=e[i(241)]);return e[i(241)]&&n[i(269)](e[i(241)]),n[i(255)](n=>new Pe(t,n,n==e[i(241)]))}(e,i);this.id=i.id,this[r(238)]=i,this[r(218)]=s,this[r(232)](r(261),r(219)).to(i),this[r(232)](r(225)).to(this,r(219),t=>{return i=e[r(256)],(n=t)[(s=He)(346)](i,{month:s(353),day:s(349)})+", "+n[s(345)](i,{hour:s(349),minute:s(349)});var i,n,s}),this[r(237)](r(248),!1),this[r(237)](r(275),!1),this[r(237)](r(267),!1),this[r(237)](r(245),!1),this[r(237)](r(228),!1),this[r(230)]=new Ee(e,It.createLabeledInputText),this[r(230)][r(253)][r(215)]({attributes:{maxlength:r(224)}}),this[r(230)][r(253)][r(232)](r(221)).to(this,r(261),t=>t||this[r(225)]),this[r(230)][r(232)](r(228)).to(this,r(248),this,r(228),(t,e)=>t&&e),this[r(263)]=n&&n[r(246)]?function(e,i){const n=qe,s=e[n(293)],r=e[n(256)],o=(0,It.createDropdown)(r);o[n(290)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=qe,n=t[i(256)],s={"Compare against selected":at(n,i(253)),"Name this revision":at(n,i(295)),"Restore this revision":at(n,i(259))};return e[i(286)](t=>{const e=i,n=s[t[e(267)]];return n&&n!==t[e(267)]&&(t[e(267)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(255),model:new It.UIModel({label:t[s(267)],class:t[s(279)],withText:!0,role:s(300),_action:t[s(272)]})};i[s(276)][s(257)](s(271)).to(e,s(294),i=>s(288)!=typeof t[s(271)]||!i||t[s(271)](e)),o[s(270)](i)}return o}(e,i);return e[n(257)](n(294)).to(o,n(289)),o[n(282)][n(261)]({label:at(r,n(284)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(278)]({attributes:{class:[n(268),s.if(n(294),n(298))]},on:{click:s.to(t=>t[n(297)]())}}),o.on(n(269),t=>{const i=n;e[i(299)]&&i(288)==typeof t[i(260)][i(277)]&&t[i(260)][i(277)](e)}),(0,It.addListToDropdown)(o,a,{role:n(264)}),o[n(291)](e,n(283),(t,s,r)=>{const a=n;if(r)for(const t of o[a(296)][a(281)]){const n=t[a(262)][a(263)],s=i[a(252)](t=>t[a(272)]===n[a(277)])[a(265)];t[a(265)]=void 0===s||s(e)}}),o}(this,n):"",this[r(263)]&&this[r(263)][r(232)](r(228)).to(this),this[r(217)]({tag:r(250),attributes:{class:["ck",r(274),r(257),o.if(r(226),r(231))]},children:[{tag:r(250),attributes:{class:["ck",r(274),r(242),o.if(r(228),r(258),t=>!t),o.if(r(248),r(233)),o.if(r(275),r(222)),o.if(r(267),r(252))]},children:[this[r(230)],{tag:r(212),attributes:{class:["ck",r(262)]},children:[{text:o.to(r(225))}]},{tag:r(250),attributes:{class:["ck",r(216)]},children:[{tag:"ul",attributes:{class:["ck",r(272)]},children:a}]},this[r(263)]],on:{click:o.to(t=>{const e=r;t[e(213)][e(223)](e(236))||this[e(245)]&&this[e(228)]&&this[e(227)](e(260),{id:this.id})})}}]})}[Ye(240)](){const t=Ye;super[t(240)]();const e=this[t(230)][t(253)][t(239)];this[t(265)](e,t(270),()=>{const i=t;this[i(218)]&&!e[i(221)]||this[i(227)](i(249),{id:this.id,name:e[i(221)]}),e[i(221)]||(e[i(221)]=this[i(261)]?this[i(261)]:this[i(225)])})}[Ye(260)](){this[Ye(248)]=!0}[Ye(229)](){this[Ye(248)]=!1}[Ye(254)](){this[Ye(275)]=!0}[Ye(251)](){this[Ye(275)]=!1}}class Ke extends Error{}class Qe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Ke{}class ni extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class si extends Ke{}class ri extends Ke{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},xi={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},Ti={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Di=null;class Vi extends Mi{static get instance(){return null===Di&&(Di=new Vi),Di}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Li extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Li(t)),e}static resetCache(){Fi.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Li.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[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=Ci[e];"era"===e?n[r]=s:Vn(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,(Gn({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 ji={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Hi=new Map;const Wi=new Map;let Ui=null;const Zi=new Map;function qi(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 Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{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=Hi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Hi.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 Wn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{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&&Li.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=zi(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 Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.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 Xi={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||gn.defaultLocale,o=r||(s?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Ui=null,Pi.clear(),Hi.clear(),Wi.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=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(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"===qi(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,zn(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 Bi(this,t,us,()=>{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=fo.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 Bi(this,t,fs,()=>{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=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.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 Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ln()?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={...Xi,...e}),$i.set(t,e)}return e}(this.locale):Xi}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 tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(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 en extends Mi{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 nn(t,e){if(Vn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||Li.create(t)}return En(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={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]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Vi.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Ki.resetCache(),Li.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(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 In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function xn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(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,...rs(t)}}function Tn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!Vn(t.localWeekday)||!Vn(t.localWeekNumber)||!Vn(t.localWeekYear)){if(!Vn(t.weekday)||!Vn(t.weekNumber)||!Vn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vn(t.localWeekday)||(t.weekday=t.localWeekday),Vn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vn(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 Mn(t){const e=Cn(t.year),i=Hn(t.month,1,12),n=Hn(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Dn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Hn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Hn(i,0,59),a=Hn(n,0,59),c=Hn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Vn(t){return void 0===t}function En(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ln(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(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 Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Hn(t.firstDay,1,7)||!Hn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Hn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Hn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Un(t){return Vn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Vn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Vn(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 Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(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 Xn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Kn(t,e=4,i=1){const n=Xn(t,e,i),s=Xn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(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 es(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 is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(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}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];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 ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:Ti,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class ws{static create(t,e={}){return new ws(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 bs[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 Wn(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 ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.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=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(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 _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...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 Os(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 xs(...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))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${Ts.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=xs("weekYear","weekNumber","weekDay"),Ds=xs("year","ordinal"),Vs=RegExp(`${Ns.source} ?(?:${Ts.source}|(${_s.source}))?`),Es=RegExp(`(?: ${Vs.source})?`);function Cs(t,e,i){const n=t[e];return Vn(n)?i:Un(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function Ls(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function js(t,e){return[{},t[e]?Li.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),zs=/^-?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 Hs(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(qn(u),h)}]}const Ws={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:as.indexOf(i)+1,day:Un(n),hour:Un(s),minute:Un(r)};return o&&(a.second=Un(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.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 qs(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?Ws[c]:u?0:es(l,h),[d,new tn(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$/,Bs=/^(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$/,Ys=/^(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 Js(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,a,i,n,s,r,o),tn.utcInstance]}const Xs=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Ks=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,Ls,js),ir=Ss(Ms,Fs,Ls,js),nr=Ss(Ds,Fs,Ls,js),sr=Ss(Fs,Ls,js);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Es),ar=Is(Vs),cr=Ss(Fs,Ls,js);const ur="Invalid Duration",lr={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}},hr={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},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,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:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(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 br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Vn(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),pr.reduce((i,n)=>{if(Vn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;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 br.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 br({values:ns(t,br.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(En(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Hs])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.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 yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({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 ni(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?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vn(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 fo.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?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.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]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(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 kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(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=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)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;En(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else En(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 kr(this.matrix,e),gr(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 gr(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 pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{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 yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.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:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.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=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.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?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).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(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.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(_r.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:_r.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 _r.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(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[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=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Li.isValidZone(t)}static normalizeZone(t){return nn(t,gn.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:Fn(),localeWeek:Ln()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(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=Sr(t,e);return(i-i%7)/7}],["days",Sr]],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=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function xr(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(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(Tr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,Tr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Dr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Lr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(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 Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return xr(u);case"yy":case"kk":return xr(h,Qn);case"yyyy":case"kkkk":return xr(r);case"yyyyy":return xr(d);case"yyyyyy":return xr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return xr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return xr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return xr(c);case"ooo":case"SSS":return xr(s);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return xr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Dr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Dr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(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;Vn(t.z)||(i=Li.create(t.z)),Vn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Vn(t.q)||(t.M=3*(t.q-1)+1),Vn(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),Vn(t.u)||(t.S=qn(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(Pn(i,"a")&&Pn(i,"H"))throw new ii("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 jr(t,e,i){return new Lr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),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=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Hr=864e13;function Wr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=xn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=xn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...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 Br(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 Yr(t,e,i){return $r(Gn(t),e,i)}function Jr(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,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.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=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(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=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Xr(t,e,i=!0){return t.isValid?ws.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+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(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 ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Ki.fromObject(e);let s,r;if(Vn(t.year))s=gn.now();else{for(const e of no)Vn(t[e])&&(t[e]=to[e]);const e=Mn(t)||Dn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Vn(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 uo(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 lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Vn(t.ts)?gn.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=En(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("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 fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({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 fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Ki.fromObject(e)}):fo.invalid(Wr(s))}static fromMillis(t,e={}){if(En(t))return t<-Hr||t>Hr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.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(En(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Ki.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Ki.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=Vn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vn(s.ordinal),l=!Vn(s.year),h=!Vn(s.month)||!Vn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=xn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Vn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Hn(t.weekNumber,1,Kn(t.weekYear,e,i)),r=Hn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Hn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Dn(s);if(b)return fo.invalid(b);const w=m?Tn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Xs,er],[Ks,ir],[Qs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vn(t)||Vn(e))throw new si("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}=jr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,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 yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Ki.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Ki.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.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?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.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=Gn(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=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(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}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.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]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(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=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Vn(e.weekYear)||!Vn(e.weekNumber)||!Vn(e.weekday),r=!Vn(e.ordinal),o=!Vn(e.year),a=!Vn(e.month)||!Vn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=Tn({...xn(this.c,i,n),...e},i,n):Vn(e.ordinal)?(l={...this.toObject(),...e},Vn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.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?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.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 Xr(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 Xr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Xr(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")),Xr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[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 br.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(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.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||fo.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),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.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 Lr(s,t)}static fromFormatParser(t,e,i={}){if(Vn(t)||Vn(e))throw new si("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 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?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return xi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&En(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=go();return(po=function(t,e){return i[t-=439]})(t,e)}function vo(t,e){const i=po,n=fo[i(442)](t)[i(455)](e),s=fo[i(449)](),r=s[i(448)]({days:1})[i(453)](i(447));let o,a;return n[i(458)](s,i(447))?(o=n[i(453)](i(447))[i(462)](),a=n[i(456)]()):n[i(458)](r,i(447))?(o=r[i(462)](),a=n[i(456)]()):n[i(458)](s,i(463))?(o=n[i(453)](i(463))[i(462)](),a=n[i(461)]||""):n[i(458)](s,i(446))?(o=n[i(453)](i(454))[i(462)](),a=n[i(444)]||""):(o=n[i(453)](i(446))[i(462)](),a=String(n[i(446)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["2861193GsowFO","monthLong","31625209sAobEJ","year","day","minus","local","940KrXlCS","7269980mZPZfl","12ZLmQsC","startOf","month","setLocale","toRelativeCalendar","647358VZXXyg","hasSame","7404624DHYQwR","5676XnnbxJ","weekdayLong","toJSDate","week","134362xeKSLr","7tiqJtY","9zFdpmY","fromJSDate"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(541871===-parseInt(e(452))/1*(parseInt(e(439))/2)+-parseInt(e(443))/3+-parseInt(e(460))/4*(parseInt(e(450))/5)+-parseInt(e(457))/6*(parseInt(e(440))/7)+-parseInt(e(459))/8*(parseInt(e(441))/9)+parseInt(e(451))/10+parseInt(e(445))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=Tt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=213]})(t,e)}function _o(){const t=["uiLanguage","ck-revision-history-sidebar__time-period__label","320168xUvLtt","5ousJfQ","select","9pXGwiQ","delegate","301006YIzRyO","setName","locale","525540gHzeGB","addRevision","_requireRevisionName","find","createCollection","3222852ciEFzx","ck-revision-history-sidebar__time-period__revisions","3193587AEPxmi","10012793oZmbla","startDate","localizedPeriodName","75TYRDvp","14364790TwOdWB","span","removeRevision","ck-revision-history-sidebar__time-period","_revisionActions","remove","setTemplate","revisionViews","div","add"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(774050===-parseInt(e(239))/1*(parseInt(e(243))/2)+parseInt(e(221))/3+-parseInt(e(219))/4+-parseInt(e(225))/5*(-parseInt(e(214))/6)+parseInt(e(222))/7+parseInt(e(238))/8*(-parseInt(e(241))/9)+-parseInt(e(226))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(223)];[bo(233)];[bo(230)];[bo(216)];constructor(t,e,i,n){const s=bo;super(t);const r=vo(e,this[s(213)][s(236)])[s(224)];this[s(223)]=e,this[s(233)]=this[s(218)](),this[s(230)]=i,this[s(216)]=n,this[s(233)][s(242)](s(240)).to(this),this[s(233)][s(242)](s(244)).to(this),this[s(232)]({tag:s(234),attributes:{class:["ck",s(229)]},children:[{tag:s(227),attributes:{class:["ck",s(237)]},children:[{text:r}]},{tag:s(234),attributes:{class:["ck",s(220)]},children:this[s(233)]}]})}[bo(215)](t){const e=bo,i=new Xe(this[e(213)],t,this[e(230)],this[e(216)]);this[e(233)][e(235)](i)}[bo(228)](t){const e=bo,i=this[e(233)][e(217)](e=>e.id===t.id);this[e(233)][e(231)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=Tt(),Oo.insertStyleElement=Vt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=417]})(t,e)}function To(){const t=["986424klVoHe","10941057zbTPpM","6334FtcwhN","22sjaMVf","ck-reset_all","4079240wVpkYV","ck-revision-history-sidebar__header","18wrzbiw","7Nlecdt","ck-revision-history-sidebar__header__label","114xAjhcm","969076GBSGKE","div","span","content","Revision history","2492862GTqTge","setTemplate","153730yiNHZg"];return(To=function(){return t})()}!function(t){const e=xo,i=t();for(;;)try{if(786395===-parseInt(e(424))/1*(parseInt(e(432))/2)+-parseInt(e(429))/3*(parseInt(e(433))/4)+parseInt(e(427))/5+-parseInt(e(419))/6*(-parseInt(e(430))/7)+parseInt(e(422))/8+parseInt(e(423))/9+-parseInt(e(421))/10*(-parseInt(e(425))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(417)]=_t.IconHistory,this[e(420)]({tag:e(434),attributes:{class:["ck",e(426),e(428)]},children:[i,{tag:e(435),attributes:{class:["ck",e(431)]},children:[at(t,e(418))]}]})}}var Ao=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Vt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Vo;function Do(){const t=["isEnabled","ck-reset","deselect","select","unhighlight","highlightRevisions","ck-revision-history-sidebar","render","add","some","div","_removeRevision","setName","82648GjjdMo","startDate","delegate","143170meuCwQ","uiLanguage","remove","revisionViews","addRevision","flat","find","_revisionActions","176172Dneukj","map","4rLdgpG","_getTimePeriodViewByStartDate","revisionSelected","399097vfAjgV","set","63BMLCKU","ck-revision-history-sidebar__timeline","createCollection","fire","_revisions","14HrtNbz","selectRevision","createdAt","timePeriodViews","removeRevision","8862612dVbzcv","getTime","451IMzIUD","392780GxOylm","bindTemplate","_addRevision","highlight","11893OQyZIx","setTemplate","get","_requireRevisionName","ck-disabled","locale","1266kafGoy","ck-rounded-corners","revisionSetName"];return(Do=function(){return t})()}function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=284]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(293883===parseInt(e(301))/1+parseInt(e(308))/2*(parseInt(e(296))/3)+-parseInt(e(298))/4*(parseInt(e(316))/5)+parseInt(e(326))/6*(-parseInt(e(320))/7)+parseInt(e(285))/8*(parseInt(e(303))/9)+-parseInt(e(288))/10*(-parseInt(e(315))/11)+-parseInt(e(313))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Mo(311)];[Mo(307)];[Mo(295)];[Mo(323)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(317)];this[s(311)]=this[s(305)](),this[s(311)][s(287)](s(332)).to(this),this[s(311)][s(287)](s(284)).to(this),this[s(307)]=e,this[s(295)]=i,this[s(323)]=n,this.on(s(332),(t,e)=>{const i=s;this[i(306)](i(300),e)}),this.on(s(284),(t,e)=>{const i=s;this[i(306)](i(328),e)}),this[s(302)](s(329),!1),this[s(321)]({tag:s(339),attributes:{class:["ck",s(330),s(327),s(335)]},children:[new No(t),{tag:s(339),attributes:{class:["ck",s(304),r.if(s(329),s(324),t=>!t)]},children:this[s(311)]}]})}[Mo(336)](){const t=Mo;super[t(336)]();for(const e of this[t(307)])this[t(318)](e);this[t(307)].on(t(337),(e,i)=>{this[t(318)](i)}),this[t(307)].on(t(290),(e,i)=>{this[t(340)](i)})}get[Mo(291)](){const t=Mo;return this[t(311)][t(297)](e=>e[t(291)][t(297)](t=>t))[t(293)]()}[Mo(309)](t){const e=Mo;for(const i of this[e(291)])t&&t.id===i.id?i[e(332)]():i[e(331)]()}[Mo(334)](t){const e=Mo;for(const i of this[e(291)])t[e(338)](({id:t})=>t===i.id)?i[e(319)]():i[e(333)]()}[Mo(318)](t){const e=Mo,i=vo(t[e(310)],this[e(325)][e(289)])[e(286)];let n=this[e(311)][e(322)](0);n&&n[e(286)][e(314)]()===i[e(314)]()||(n=new Io(this[e(325)],i,this[e(295)],this[e(323)]),this[e(311)][e(337)](n)),n[e(292)](t)}[Mo(340)](t){const e=Mo,i=vo(t[e(310)],this[e(325)][e(289)])[e(286)];this[e(299)](i)[e(312)](t)}[Mo(299)](t){const e=Mo;return this[e(311)][e(294)](i=>i[e(286)][e(314)]()===t[e(314)]())}}function Co(t,e){const i=Lo();return(Co=function(t,e){return i[t-=273]})(t,e)}const Fo=Co;function Lo(){const t=["2466McdAum","12234141hryJQD","name","compare","render","revisionSelected","_revisions","fieldView","action","highlightRevisions","revisionHistory.viewerSidebarContainer","_createRevisionActions","availableRevisionActions","revisionSetName","editor","getIndex","remove","bind","data","10vMtRVJ","17241RbpvAR","_handleRevisionSetName","config","isPremiumPlugin","_sidebarView","7HmQgyS","add","diff","RevisionsSidebar","setName","element","getLaterVisibleRevision","compareAgainstSelected","selectRevision","Name this revision","length","get","requires","init","_revisionsRepository","Compare against selected","revisionHistory.requireRevisionName","_handleEditorDataReady","getEarlierVisibleRevision","_revisionViewer","appendChild","pluginName","6748115MYQxlg","restoreRevision","defaultRevisionActions","_handleDiffChange","isReady","revisionViews","focus","isOfficialPlugin","restoreRevisionCallback","isVisible","isSelected","change:diff","isEnabled","assign","destroy","221848Lmevkb","revisionHistory.revisionActions","nameRevision","listenTo","getRevisionsInDiff","getRevision","303118pwAUOx","select","locale","newRevisionId","_handleRevisionSelected","repository","plugins","revisionHistory","ready","string","1184286nCZSUv","Restore this revision","timePeriodViews","5471104goJbZf","map"];return(Lo=function(){return t})()}!function(t){const e=Co,i=t();for(;;)try{if(967323===parseInt(e(313))/1*(parseInt(e(273))/2)+-parseInt(e(283))/3+-parseInt(e(286))/4+parseInt(e(335))/5+-parseInt(e(288))/6*(parseInt(e(308))/7)+-parseInt(e(350))/8+-parseInt(e(289))/9*(-parseInt(e(307))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends G.Plugin{[Fo(332)];[Fo(327)];[Fo(312)];static[Fo(337)]=[Fo(320),Fo(336),Fo(352)];static[Fo(300)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(328),action:({plugins:e},i)=>{const n=t,s=e[n(324)](ue),r=s[n(278)];let o=s[n(315)][n(276)],a=i.id;r[n(303)](o)>r[n(303)](a)&&([o,a]=[a,o]),s[n(291)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(324)](ue);return!(s[n(278)][n(354)](s[n(315)])[n(323)]>2||i[n(345)])}},restoreRevision:{name:t(284),action:(e,{id:i})=>{const n=t;e[n(310)][n(324)](n(280))[n(343)](i)},isVisible:({plugins:e},i)=>!!e[t(324)](ue)[t(278)][t(319)](i.id)},nameRevision:{name:t(322),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(324)](ue),o=r[s(278)][s(331)](i);r[s(291)](i,o),n[s(341)](),n[s(295)][s(274)]()}}}}();static get[Fo(334)](){return Fo(316)}static get[Fo(342)](){return!0}static get[Fo(311)](){return!0}static get[Fo(325)](){return[ue]}constructor(t){const e=Fo;super(t),this[e(332)]=t[e(279)][e(324)](ue),this[e(327)]=this[e(332)][e(278)],this[e(312)]=null}[Fo(326)](){const t=Fo,e=this[t(327)][t(294)],i=this[t(299)](),n=this[t(302)][t(310)][t(324)](t(298));this[t(312)]=new Eo(this[t(302)][t(275)],e,i,this[t(302)][t(310)][t(324)](t(329))),this[t(312)].on(t(293),this[t(277)][t(305)](this)),this[t(312)].on(t(301),this[t(309)][t(305)](this)),this[t(312)][t(305)](t(347)).to(this[t(332)]),this[t(312)][t(285)].on(t(314),(e,i)=>{const n=t;i[n(340)].on(n(314),(t,e)=>{const i=n;e[i(305)](i(347),i(339)).to(this[i(332)])})}),this[t(312)][t(292)](),this[t(353)](this[t(302)][t(306)],t(281),this[t(330)][t(305)](this)),this[t(353)](this[t(332)],t(346),this[t(338)][t(305)](this)),n[t(333)](this[t(312)][t(318)])}[Fo(349)](){const t=Fo;this[t(312)][t(318)][t(304)](),this[t(312)][t(349)]()}[Fo(330)](){const t=Fo,e=this[t(327)][t(355)](0);if(e){const i=this[t(327)][t(331)](e.id);this[t(332)][t(291)](e,i)}}[Fo(277)](t,e){const i=Fo,n=this[i(327)][i(355)](e.id),s=this[i(327)][i(331)](n.id);this[i(332)][i(291)](n,s)}[Fo(309)](t,e){const i=Fo;this[i(327)][i(355)](e.id)[i(317)](e[i(290)])}[Fo(338)](t,e,i){const n=Fo,s=this[n(327)][n(354)](i);s[n(323)]>2?(this[n(312)][n(297)](s),this[n(312)][n(321)](null)):(this[n(312)][n(297)]([]),this[n(312)][n(321)](s[0]))}[Fo(299)](){const t=Fo,e=this[t(302)],i=jo[t(300)],n=e[t(310)][t(324)](t(351))||jo[t(337)];if(n[t(323)])return n[t(287)](n=>{const s=t,r=s(282)==typeof n?Object[s(348)]({},i[n]):n;return r[s(296)]=r[s(296)][s(305)](this,e),r[s(344)]&&(r[s(344)]=r[s(344)][s(305)](this,e)),r})}}function Po(t,e){const i=zo();return(Po=function(t,e){return i[t-=338]})(t,e)}function zo(){const t=["destroy","setEditableElement","959941ZdmqNC","getRoot","document","5816anEdxt","rootName","detachDomRoot","element","addToolbar","56yyGfCM","stickyPanel","name","_initToolbar","viewportTopOffset","192aXcjqR","replace","1560056xyUDvN","fire","bind","ready","limiterElement","240003vCHzuF","_toolbarConfig","restore","componentFactory","9443588CXefqR","view","11131780RUiQfH","get","isActive","attachDomRoot","editor","isFocused","focusTracker","render","init","config","_view","fillFromConfig","2229KwwJFF","toolbar","viewportOffset","21015GITCkH","editable","editing","_elementReplacer"];return(zo=function(){return t})()}const Ho=Po;!function(t){const e=Po,i=t();for(;;)try{if(815150===-parseInt(e(384))/1+parseInt(e(352))/2+parseInt(e(375))/3*(parseInt(e(340))/4)+-parseInt(e(378))/5*(parseInt(e(350))/6)+parseInt(e(361))/7+parseInt(e(345))/8*(-parseInt(e(357))/9)+-parseInt(e(363))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Wo extends It.EditorUI{[Ho(373)];[Ho(358)];[Ho(381)];get[Ho(362)](){return this[Ho(373)]}constructor(e,i){const n=Ho;super(e),this[n(373)]=i,this[n(358)]=(0,It.normalizeToolbarConfig)(e[n(372)][n(364)](n(376))),this[n(381)]=new t.ElementReplacer}get[Ho(343)](){const t=Ho;return this[t(362)][t(343)]}[Ho(371)](t){const e=Ho,i=this[e(367)],n=this[e(362)],s=i[e(380)][e(362)],r=n[e(379)],o=s[e(339)][e(338)]();r[e(347)]=o[e(341)],n[e(370)]();const a=r[e(343)];this[e(383)](r[e(347)],a),n[e(379)][e(354)](e(368)).to(this[e(369)]),s[e(366)](a),this[e(381)][e(351)](t,this[e(343)]),this[e(348)](),this[e(353)](e(355))}[Ho(382)](){const t=Ho;super[t(382)]();const e=this[t(362)],i=this[t(367)][t(380)][t(362)];this[t(381)][t(359)](),i[t(342)](e[t(379)][t(347)]),e[t(382)]()}[Ho(348)](){const t=Ho,e=this[t(362)];e[t(346)][t(354)](t(365)).to(this[t(369)],t(368)),e[t(346)][t(356)]=e[t(343)],e[t(346)][t(354)](t(349)).to(this,t(377),({top:t})=>t),e[t(376)][t(374)](this[t(358)],this[t(360)]),this[t(344)](e[t(376)])}}var Uo=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=Tt(),Zo.insertStyleElement=Vt();Ot()(Uo.A,Zo);Uo.A&&Uo.A.locals&&Uo.A.locals;var qo=Bo;function $o(){var t=["content","2505330eqvQcy","stickyPanel","744532pxXVrP","12FjMlnX","70FJENSb","editable","toolbar","_editable","446852JnDMBd","render","198666Idetsd","150036iyXZlW","top","5078144NZQQkp","715710PDeTHD","main","shouldToolbarGroupWhenFull","182FoouDF","add"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=346]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(471415===parseInt(e(352))/1+parseInt(e(358))/2*(-parseInt(e(353))/3)+parseInt(e(361))/4*(-parseInt(e(354))/5)+parseInt(e(360))/6*(parseInt(e(347))/7)+parseInt(e(363))/8+-parseInt(e(350))/9+-parseInt(e(364))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(357)];[qo(351)];[qo(356)];get[qo(355)](){return this[qo(357)]}constructor(t,e,i={}){var n=qo;super(t),this[n(351)]=new It.StickyPanelView(t),this[n(356)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(346)]}),this[n(357)]=new It.InlineEditableUIView(t,e)}[qo(359)](){var t=qo;super[t(359)](),this[t(351)][t(349)][t(348)](this[t(356)]),this[t(362)][t(348)](this[t(351)]),this[t(365)][t(348)](this[t(355)])}}const Jo=Xo;function Go(){const t=["4HROQSg","config","308853OZxvQS","10372338XibwPS","169179IUKhqy","initialData","editing","locale","sourceElement","3488085WLQwmo","7Hbomkw","ready","_ui","model","1133gZhrIG","376kBsxnV","createRoot","create","8102HlMuXz","7943828bKUrrc","view","get","initPlugins","updateSourceElement","data","308170OjeOYs","document","fire","destroy","init"];return(Go=function(){return t})()}function Xo(t,e){const i=Go();return(Xo=function(t,e){return i[t-=496]})(t,e)}!function(t){const e=Xo,i=t();for(;;)try{if(999981===-parseInt(e(516))/1+parseInt(e(498))/2*(-parseInt(e(502))/3)+parseInt(e(517))/4+-parseInt(e(507))/5+-parseInt(e(501))/6*(parseInt(e(508))/7)+parseInt(e(513))/8*(-parseInt(e(500))/9)+parseInt(e(523))/10*(parseInt(e(512))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Jo(510)];get ui(){return this[Jo(510)]}constructor(t,e){const i=Jo;super(e),this[i(506)]=t,this[i(511)][i(524)][i(514)]();const n=new Yo(this[i(505)],this[i(504)][i(518)],{shouldToolbarGroupWhenFull:!0});this[i(510)]=new Wo(this,n)}[Jo(496)](){const t=Jo;return this[t(521)](),this.ui[t(496)](),super[t(496)]()}static async[Jo(515)](t,e){const i=Jo,n=new this(t,e);return await n[i(520)](),await n.ui[i(497)](t),await n[i(522)][i(497)](n[i(499)][i(519)](i(503))||""),n[i(525)](i(509)),n}}const Qo=ia;function ta(){const t=["set","removeSelectionAttribute","RevisionViewer","Autosave","style","revisionHistory.closeRevisionViewerCallback","roots","36eiDIzz","toJSON","Dialog","341oqVaCd","init","_cleanUp","editor","lazyRoots","1167297wLLNLt","destroy","RevisionHistory","PaginationLookup","createdAt","insert","isRevisionViewerOpen","refreshPositioning","uiLanguage","save","element","101899tBzRdr","RevisionViewerIntegration","_restoreRevision","_viewerEditor","RevisionHistoryUtils","RevisionTracker","Restored","toLocaleTimeString","numeric","data","pluginName","17580bVSQns","rootName","markers","requires","none","isEnabled","restoreRevision","fromCharCode","showRevisionViewerCallback","plugins","commands","indexOf","addUser","Annotations","model","config","2ppiivM","387480hneyZH","users","revisionHistory.editorContainer","getMarkersGroup","RevisionsRepository","loadRevisionData","setAttribute","createRangeIn","restrictedEditingException","end","getUser","DocumentOutlineUI","getRoot","RevisionHistoryUI","_enhanceCloseRevisionViewerCallback","isReady","enqueueChange","_showRevisionViewer","_recalculatePageBreaks","revision-history-missing-configuration","72vxXtrm","revisionHistory","_closeRevisionViewer","removeMarker","isAnonymous","DocumentOutline","parse","addRoot","_update","381471afDfpb","detachRoot","getRevision","setSelection","creator","toVersion","revisionHistory.viewerContainer","translations","get","isOfficialPlugin","join","$graveyard","Users","change","remove","name","getAttributeKeys","has","isAttached","getRevisionDocumentData","hide","_enhanceShowRevisionViewerCallback","18mQCwzx","display","isPremiumPlugin","4xcjWFJ","saveRevision","closeRevisionViewerCallback","revisionHistory.requireRevisionName","967343VcRLhp","bind","block","catch","changesNavigation","getRevisions","locale","isReadOnly","2531525MghhHA","exitToEditing","view","push","result","enableReadOnlyMode","from","toolbar","addRevisionData","disableReadOnlyMode","fromVersion","map","isOpen","getRevisionRootsAttributes","revisionHistory.restoreRevisionCallback","repository","document","toLocaleDateString","revisionHistory.viewerEditorElement","define","adapter","RestrictedEditingMode","removeAttribute","keys","selection","refreshVisibility","update","create","long","_getRevisionViewerEditorConfig","includes","then","revision-history-viewer-opened","revisionHistory.showRevisionViewerCallback","error"];return(ta=function(){return t})()}!function(t){const e=ia,i=t();for(;;)try{if(298760===parseInt(e(412))/1*(parseInt(e(382))/2)+-parseInt(e(344))/3*(parseInt(e(437))/4)+parseInt(e(449))/5+-parseInt(e(403))/6*(-parseInt(e(355))/7)+parseInt(e(383))/8*(-parseInt(e(434))/9)+-parseInt(e(366))/10*(parseInt(e(339))/11)+parseInt(e(491))/12*(-parseInt(e(441))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ea=[Qo(396),Qo(470)];function ia(t,e){const i=ta();return(ia=function(t,e){return i[t-=338]})(t,e)}class na extends G.Plugin{[Qo(453)];static get[Qo(365)](){return Qo(356)}static get[Qo(421)](){return!0}static get[Qo(436)](){return!0}constructor(t){const e=Qo;function i(t){const e=ia;return t[e(460)](t=>String[e(373)](t))[e(422)]("")}super(t),this[e(453)]=e(392),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 G.Plugin{[Qo(358)];static get[Qo(365)](){return Qo(346)}static get[Qo(421)](){return!0}static get[Qo(436)](){return!0}static get[Qo(369)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(342)][i(381)][i(420)](i(404)))throw new t.CKEditorError(i(402),this);this[i(358)]=null,this[i(484)](i(350),!1),this[i(342)][i(381)][i(468)](i(482),t=>this[i(400)]({...t,translations:this[i(342)][i(447)][i(419)]})),this[i(342)][i(381)][i(468)](i(489),t=>this[i(405)](t)),this[i(342)][i(381)][i(468)](i(463),t=>this[i(357)](t)),this[i(342)][i(381)][i(468)](i(440),!1),this[i(433)](),this[i(397)]()}set[Qo(469)](t){const e=Qo;this[e(342)][e(375)][e(420)](e(360))[e(469)]=t}get[Qo(469)](){const t=Qo;return this[t(342)][t(375)][t(420)](t(360))[t(469)]}[Qo(457)](t){const e=Qo;return this[e(342)][e(375)][e(420)](e(360))[e(457)](t)}[Qo(414)](t){const e=Qo;return this[e(342)][e(375)][e(420)](e(387))[e(414)](t)}[Qo(446)](t){const e=Qo;return this[e(342)][e(375)][e(420)](e(387))[e(446)](t||{toJSON:!1})}[Qo(478)](){const e=Qo,i=this[e(342)],n=(0,X.sanitizeEditorConfig)(i,ea),s=i[e(375)][e(420)](e(360)),r=i[e(375)][e(420)](e(424))[e(384)];return n[e(456)]=[e(450),e(372),e(445)],delete n[e(343)],n[e(375)][e(452)](na,ue,Ne,class extends G.Plugin{static get[e(369)](){return[ue,e(424)]}[e(340)](){const n=e,o=this[n(342)][n(375)][n(420)](n(424));for(const t of r)t[n(407)]||o[n(393)](t.id)||o[n(378)](t);const a=s[n(464)][n(446)]();let c=null;const u=this[n(342)][n(375)][n(420)](n(486));u[n(469)]=s[n(469)],u[n(442)](n(371)).to(s),this[n(342)][n(376)][n(420)](n(372))[n(442)](n(371)).to(i,n(448),t=>!t);for(const e of a){const i=null===e[n(416)];if(i&&e[n(417)]===e[n(459)])continue;const r=e[n(492)]();u[n(457)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(411)](r,o);else if(!o){const e=a[u(492)]();e.id=(0,t.uid)(),s[u(438)](e,a[u(417)])[u(480)](t=>{c=t})}}else e[u(411)](r,o)})}}},jo),n}[Qo(433)](){const t=Qo,e=this[t(342)][t(381)][t(420)](t(404))[t(374)];this[t(342)][t(381)][t(484)](t(482),async()=>{const i=t;this[i(342)][i(454)](i(481));const n=this[i(342)][i(375)][i(420)](i(360));if(this[i(342)][i(375)][i(429)](i(487))){const t=this[i(342)][i(375)][i(420)](i(487));await t[i(353)]()}else await n[i(475)]();if(this[i(342)][i(375)][i(429)](i(347))&&this[i(342)][i(375)][i(420)](i(347))[i(401)](),this[i(342)][i(375)][i(429)](i(338))){const t=this[i(342)][i(375)][i(420)](i(338));t[i(461)]&&t[i(432)]()}const s=this[i(478)]();return e(s)[i(480)](t=>{const e=i;return this[e(358)]=t,this[e(342)][e(375)][e(429)](e(379))&&this[e(342)][e(375)][e(420)](e(379))[e(474)](),this[e(342)][e(375)][e(429)](e(408))&&(this[e(342)][e(375)][e(420)](e(394))[e(451)][e(354)][e(488)][e(435)]=e(370)),t})[i(444)](t=>(console[i(483)](t),this[i(342)][i(458)](i(481)),null))})}[Qo(397)](){const t=Qo,e=this[t(342)][t(381)][t(420)](t(404))[t(439)];this[t(342)][t(381)][t(484)](t(489),()=>(this[t(342)][t(375)][t(429)](t(347))&&this[t(342)][t(375)][t(420)](t(347))[t(401)](),this[t(342)][t(375)][t(429)](t(408))&&(this[t(342)][t(375)][t(420)](t(394))[t(451)][t(354)][t(488)][t(435)]=""),this[t(358)][t(375)][t(420)](t(486))[t(341)](),e(this[t(358)])[t(480)](()=>{const e=t;if(this[e(342)][e(458)](e(481)),this[e(358)]=null,this[e(342)][e(375)][e(429)](e(379))){const t=this[e(342)][e(375)][e(420)](e(379));t[e(474)](),t[e(351)]()}})))}[Qo(400)](t){const e=Qo,i=this[e(342)][e(381)][e(420)](e(385)),n=this[e(342)][e(381)][e(420)](e(418)),s=this[e(342)][e(381)][e(420)](e(467));return Ko[e(476)](s,t)[e(480)](t=>(n[e(488)][e(435)]=e(443),i[e(488)][e(435)]=e(370),this[e(350)]=!0,t))}[Qo(405)](t){const e=Qo,i=this[e(342)][e(381)][e(420)](e(385));return this[e(342)][e(381)][e(420)](e(418))[e(488)][e(435)]=e(370),i[e(488)][e(435)]="",this[e(350)]=!1,t[e(345)]()}async[Qo(357)](t){const e=Qo,i=this[e(342)],n=this[e(358)][e(375)][e(420)](e(486)),s=i[e(375)][e(420)](e(360)),r=i[e(375)][e(420)](e(359)),o=n[e(464)][e(414)](t);let a,c,u;try{await r[e(388)](o,this[e(469)]),a=r[e(431)](o),c=r[e(462)](o)}catch(t){return void console[e(483)](t)}i[e(380)][e(425)](t=>{const n=e;for(const e of Array[n(455)](i[n(380)][n(368)][n(386)](n(391))))t[n(406)](e)}),n[e(398)]=!1,i[e(380)][e(399)](t=>{const n=e;t[n(415)](null),t[n(485)](i[n(380)][n(465)][n(473)][n(428)]());const s=Object[n(472)](a);for(const e of i[n(380)][n(465)][n(490)])n(423)!=e[n(367)]&&e[n(430)]()&&!s[n(479)](e[n(367)])&&t[n(413)](e);for(const e of s){let s=i[n(380)][n(465)][n(395)](e);s&&s[n(430)]()||(s=t[n(410)](e));const r=c[e],o=Object[n(472)](r),u=a[e];for(const e of s[n(428)]())o[n(479)](e)||t[n(471)](e,s);for(const i of o)t[n(389)](i,c[e][i],s);t[n(426)](t[n(390)](s)),t[n(349)](i[n(364)][n(409)](u,s),s,0)}});const l=at(i[e(447)],e(361));return u=o[e(427)]?-1==o[e(427)][e(377)](l)?l+": "+o[e(427)]:o[e(427)]:l+": "+o[e(348)][e(466)](i[e(447)][e(352)],{month:e(477),day:e(363)})+", "+o[e(348)][e(362)](i[e(447)][e(352)],{hour:e(363),minute:e(363)}),await s[e(438)]({name:u}),n[e(398)]=!0,i[e(381)][e(420)](e(404))[e(439)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=402]})(t,e)}function oa(){var t=["8105310XADkJV","6099ybJqlQ","484171XxATRI","3087515VNSpEF","18orDqxX","2NnyuJr","6052872yIawEO","3110IdcojM","3531073srPDCk","1592tYTHur","62227xOsoeH"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(960743===-parseInt(e(405))/1*(-parseInt(e(408))/2)+-parseInt(e(404))/3*(parseInt(e(412))/4)+-parseInt(e(406))/5+parseInt(e(407))/6*(-parseInt(e(411))/7)+parseInt(e(409))/8+parseInt(e(403))/9+-parseInt(e(410))/10*(-parseInt(e(402))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();