@ckeditor/ckeditor5-revision-history 46.1.0-alpha.0 → 46.1.0-alpha.2

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 s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Ko,RevisionViewerIntegration:()=>sa,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 n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function A(t){return R(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,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 j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\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&&(F.test(t)||!j.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 s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function U(t,e,i){return function(t,e,i,s){if(null==t&&!W(t))return t;const n=P(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=L(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:W(i)?i:C(n[e+1])?[]:{}}E(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 s=t[e];return void 0===s?Z(e)?H(t,z(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=L(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=H(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=Y;function B(){const t=["65334EUhWPI","toVersion","diffData","7857KGzTiq","creatorId","setAttribute","fromVersion","3125732pKUXAV","setName","fire","name","335063wPJdfv","model","595oRuqzt","attributes","map","removeAttribute","5951460vmxZxK","createdAt","11693840ZpapqD","authorsIds","toJSON","_update","creator","24975sZMmQt","6264RMxDUn","authors","524aQfRrx","set"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=266]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(870834===parseInt(e(288))/1+parseInt(e(284))/2+-parseInt(e(272))/3*(-parseInt(e(275))/4)+-parseInt(e(294))/5+-parseInt(e(277))/6*(-parseInt(e(290))/7)+parseInt(e(273))/8*(-parseInt(e(280))/9)+-parseInt(e(267))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class J extends((0,t.ObservableMixin)()){id;[$(271)];[$(274)];[$(279)];[$(278)];[$(283)];[$(289)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(271)]=e[i(271)]||null,this[i(274)]=e[i(274)]||[],this[i(279)]=e[i(279)]||null,this[i(278)]=e[i(278)]||0,this[i(283)]=e[i(283)]||0,this[i(276)](i(287),e[i(287)]||""),this[i(276)](i(266),e[i(266)]||new Date),this[i(276)](i(291),e[i(291)]||{})}[$(285)](t){this[$(270)]({name:t})}[$(282)](t,e){const i=$,s=A(this[i(291)]);U(s,t,e),this[i(270)]({attributes:s})}[$(293)](t){const e=$,i=A(this[e(291)]);(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=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 q(t,z(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(270)]({attributes:i})}[$(270)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(287),i(266),i(279),i(274),i(291),i(278),i(283),i(281)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(274)]&&(n[i(268)]=n[i(274)][i(292)](t=>t.id),delete n[i(274)]),this[i(286)](i(270),n,e))}[$(269)](){const t=$;return{id:this.id,name:this[t(287)],creatorId:this[t(271)]?this[t(271)].id:null,authorsIds:this[t(274)][t(292)](t=>t.id),diffData:this[t(279)],createdAt:this[t(266)],attributes:this[t(291)],fromVersion:this[t(283)],toVersion:this[t(278)]}}}var G=i(782),K=i(211),Q=i(783);const X=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=440]})(t,e)}function et(){const t=["fromVersion","toJSON","getEarlierVisibleRevision","later","6224yTHJZz","Users","get","length","2035334rSjxTp","createRevision","afterInit","6544048Pdddib","plugins","getRevisions","getUser","2000874GYfLhP","getLaterVisibleRevision","getIndex","authorsIds","createdAt","earlier","2758044tVPghq","map","5igQSmg","21182679NkbBeC","attributes","add","getRevisionsInDiff","226chEawf","creatorId","getRevisionsIterator","from","requires","isPremiumPlugin","push","64612xCqXmh","oldRevisionId","href","isOfficialPlugin","toVersion","getRevision","newRevisionId","editor","addRevision","data","diffData","isNaN","reverse","10iUfSBQ","join","_revisions","RevisionsRepository","name","pluginName","fromCharCode"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(553359===-parseInt(e(488))/1*(parseInt(e(457))/2)+-parseInt(e(450))/3+parseInt(e(464))/4+parseInt(e(452))/5*(parseInt(e(444))/6)+parseInt(e(492))/7+-parseInt(e(440))/8+-parseInt(e(453))/9*(-parseInt(e(477))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[X(479)];static get[X(461)](){return[K.Users]}static get[X(482)](){return X(480)}static get[X(467)](){return!0}static get[X(462)](){return!0}get[X(491)](){const t=X;return this[t(479)][t(491)]}constructor(e){const i=X;super(e),this[i(479)]=new t.Collection}[X(494)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(475)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=tt;return t[e(451)](t=>String[e(483)](t))[e(478)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1756944e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(466)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[X(493)](t){const e=X,i=this[e(471)][e(441)][e(490)](e(489));return new J({id:t.id,name:t[e(481)],creator:t[e(458)]?i[e(443)](t[e(458)]):null,diffData:t[e(474)]||t[e(473)],authors:t[e(447)][e(451)](t=>i[e(443)](t)),createdAt:new Date(t[e(448)]),attributes:t[e(454)],fromVersion:t[e(484)],toVersion:t[e(468)]})}[X(472)](t,e=0){const i=X;this[i(479)][i(455)](t,e)}[X(469)](t){const e=X;return this[e(479)][e(490)](t)}[X(442)](t={toJSON:!1}){const e=X,i=Array[e(460)](this[e(479)]);return i[e(476)](),t[e(485)]?i[e(451)](t=>t[e(485)]()):i}[X(446)](t){const e=X;return this[e(479)][e(446)](t)}[X(486)](t){const e=X,[,i]=this[e(459)](t,{direction:e(449)});return i}[X(445)](t){const e=X,[,i]=this[e(459)](t,{direction:e(487)});return i}[X(456)](t){const e=X,i=[];for(const s of this[e(459)](t[e(470)]))if(i[e(463)](s),s.id===t[e(465)])break;return i}*[X(459)](t,{direction:e=X(449),filter:i=()=>!0}={}){const s=X,n=s(449)===e?1:-1;let r=this[s(479)][s(490)](t),o=this[s(446)](r);for(yield r;r;){if(o+=n,r=this[s(469)](o),!r)return;i(r)&&(yield r)}}}const st=nt;function nt(t,e){const i=rt();return(nt=function(t,e){return i[t-=471]})(t,e)}function rt(){const t=["string","RevisionHistoryUtils","domDocument","attributes","diffData","domChildrenToView","constructor","viewChildrenToDom","11CDFZUp","document","marked","getRevisionRootsAttributes","parse","createElement","revision-end","filter","getRevision","738OFhZGL","734YyeCjG","4704670FbTmWU","6nrusRS","editor","htmlProcessor","loadRevisionData","div","pluginName","_setCustomProperty","insertions","fillerOffset","toModel","length","default","get","innerHTML","startsWith","data","domConverter","_typeCharToViewClass","from","editing","config","type","_appendChild","name","_makeModelFromViewString","_getTypeCharForViewElement","isAttached","_viewClassToTypeChar","render","childNodes","642448eGmoCW","collaboration.channelId","view","421565IVJybz","processor","isOfficialPlugin","append","getFillerOffset","3BvGBJY","_getViewFromDiffObj","552832hgrPIJ","customProperties","getRevisionDocumentData","forEach","isPremiumPlugin","3835053qOoBRq","revision-start","8kAjXUN","toData","useFillerType","_removeRevisionMarkers","data-revision-","map","children","attributesAfter","attachChange","6136704ZDGbsv"];return(rt=function(){return t})()}!function(t){const e=nt,i=t();for(;;)try{if(269621===parseInt(e(544))/1*(-parseInt(e(545))/2)+parseInt(e(508))/3*(parseInt(e(500))/4)+-parseInt(e(503))/5*(parseInt(e(547))/6)+parseInt(e(510))/7+parseInt(e(517))/8*(parseInt(e(515))/9)+-parseInt(e(546))/10*(-parseInt(e(535))/11)+-parseInt(e(526))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[st(475)](){return st(528)}static get[st(505)](){return!0}static get[st(514)](){return!0}[st(497)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[st(487)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[st(473)](t,e){const i=st;if(t[i(531)]||!e)return;const s=this[i(471)][i(490)][i(482)](i(501)),n=await e[i(543)]({channelId:s,revisionId:t.id});t[i(531)]=n[i(531)]}[st(512)](t){const e=st,i={};for(const s in t[e(531)]){if(t[e(531)][s][e(525)]&&!t[e(531)][s][e(525)][e(496)])continue;const n=this[e(520)](JSON[e(539)](t[e(531)][s][e(477)])),r=this[e(471)][e(489)][e(502)][e(536)],o=new Q.ViewDocumentFragment(r,n[e(522)](t=>this[e(509)](t,!1)));this[e(471)][e(485)][e(504)][e(519)](e(537)),i[s]=this[e(471)][e(485)][e(504)][e(518)](o),this[e(471)][e(485)][e(504)][e(519)](e(481))}return i}[st(538)](t){const e=st,i={};for(const s in t[e(531)])t[e(531)][s][e(525)]&&!t[e(531)][s][e(525)][e(496)]||(i[s]=t[e(531)][s][e(524)]||{});return i}[st(495)](t){const e=st;return this[e(497)][e(482)](t[e(533)])}[st(509)](t,e){const i=st,s=this[i(471)][i(489)][i(502)][i(536)];if(i(527)==typeof t)return new Q.ViewText(s,t);{let n,r;r="u"==t[i(491)]||"r"==t[i(491)]?[]:t[i(523)][i(522)](t=>this[i(509)](t,e));const o=this[i(487)][i(482)](t[i(491)])||Q.ViewElement,a=this[i(471)][i(485)][i(472)][i(486)];if(n=new o(s,t[i(493)],t[i(530)],r),"u"==t[i(491)]&&t[i(523)][0]){const r=t[i(523)][0];if(n[i(498)]=function(t){const e=i,s=t[e(540)](e(474));return s[e(483)]=r,s[e(499)][0]},e){const t=new Q.ViewDocumentFragment(s);t[i(492)](n);const e=Array[i(488)](a[i(534)](t,{bind:!1})),r=a[i(529)][i(540)](i(474));r[i(506)](...e),n=Array[i(488)](a[i(532)](r))[0]}}else if("r"==t[i(491)]&&t[i(523)][0]){const r=t[i(523)][0];if(n[i(498)]=function(t){t[i(483)]=r},e){const t=new Q.ViewDocumentFragment(s);t[i(492)](n);const e=Array[i(488)](a[i(534)](t,{bind:!1})),r=a[i(529)][i(540)](i(474));r[i(506)](...e);const o=Array[i(488)](a[i(532)](r));o[i(480)]>1?n[i(492)](o):n=o[0]}}if(t[i(511)])for(const[e,s]of t[i(511)])n[i(476)](e,s);const c=void 0===t[i(478)]?null:t[i(478)];return null!==c&&(n[i(507)]=()=>c),n}}[st(494)](t){const e=st,i=JSON[e(539)](t),s=this[e(471)][e(489)][e(502)][e(536)],n=new Q.ViewDocumentFragment(s,i[e(522)](t=>this[e(509)](t,!0)));return this[e(471)][e(485)][e(479)](n)}[st(520)](t){const e=st;return(t=t[e(542)](t=>!t[e(493)]||e(516)!==t[e(493)]&&e(541)!==t[e(493)]))[e(513)](t=>{const i=e;i(527)!=typeof t&&(t[i(523)]=this[i(520)](t[i(523)]),t[i(530)]=t[i(530)][i(542)](t=>!t[0][i(484)](i(521))))}),t}}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function 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,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const A=(s=s??new Map).get(t),M=s.get(i);if(null!=A&&null!=M)return A===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.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=["detachRoot","elementStart","_getFromVersion","_addPendingAction","element","_pendingAction","_touchedMarkers","_isPendingUpdate","_startingVersion","addRevision","_bufferedUpdates","_insertChild","6KKCvsr","size","markerToData","source","merge","collaboration.channelId","userId","has","_bufferUpdate","requires","getRevisions","_initialRevisionId","RevisionHistoryUtils","roots","outerHTML","createRevision","getTransformedByOperation","_createInitialRevision","item","offset","version","isAdd","finally","_getBaseVids","expired","_setAttribute","model","_calculateMetaData","_operations","getRootNames","for","isReady","documentFragment","destroy","htmlProcessor","usageLimit","getRevision","newRange","licenseKey","_baseRoots","rootsAttributes","tableCell","getLatestVersion","createdAt","_removeMetaData","revision:","_handleSplitOperation","some","_touched","createPositionAt","createPositionBefore","_handleMoveOperation","_getTypeCharForViewElement","attributesBefore","nodeAfter","document","attachChange","loadRevisionData","config","revisionHistoryLicenseKeyTrialLimit","revisionHistory.resumeUnsavedRevision","_idsRoots","7123945eQAlzv","from","165alzSye","_markChanges","_savedMetaData","setSource","locale","_makeIdsRoot","insert","toVersion","getAttributes","uiElement","loadState","add","deletions","vid_end","revisionHistoryLicenseKeyNotAllowed","_handleMarkerOperation","13213056WWKpkf","getMovedRangeStart","attributesAfter","_baseRootsAttributes","map","getCurrentRevisionId","_execute","domConverter","getRevisionRootsAttributes","ready","isEnabled","getFillerOffset","featureNotAllowed","PendingActions","_getViewJson","find","editor","_touchedRoots","name","_applyOperations","getRevisionDocumentData","Users","define","split","elementEnd","revision","14290xjAXBd","filter","getWalker","markers","innerHTML","baseVersion","keys","then","_findInsertionIndex","Empty document","text","_continueCurrentRevision","startsWith","fillerOffset","nodes","_makeRevision","_handleMergeOperation","RevisionTracker","RevisionsRepository","customProperties","vid_start","path","reinsert","addRevisionData","move","_loadedStateData","authorsIds","stringify","authors","parent","render","getAttribute","init","length","_lastTo","children","plugins","remove","root","_setConversion","_reset","domDocument","_transformMarkers","createPositionFromPath","sort","data","addRootAttribute","revisionHistoryLicenseKeyExpired","sourcePosition","editor-initial-data-replaced-with-revision-data","revisionHistoryLicenseKeyEvaluationLimit","buildRevisionData","94983UOxGgr","_utils","8954547HlTRfS","deletion","createRange","rawElement","getTime","changeRootAttribute","creator","_source","revisionHistoryLicenseKeyInvalid","end","_diffRootsAttributes","_processRootBeforeSave","getOperation","$comment","revisionHistoryLicenseKeyDomainLimit","type","_appendChild","Initial revision","start","values","childCount","adapter","vid","set","RealTimeCollaborationClient","_revisionId","_fixPosition","reverse","saveRevision","insertions","_handleRootAttributeOperation","getNodeByPath","bind","hasContent","_prepareViewToSave","_clone","key","offsetSize","clear","getRange","creatorId","evaluationLimit","_makeModelFromViewString","_getState","delete","resolve","getCustomProperties","_revisionDataBuilder","marker","_startingRevisionId","getRoot","_isAttached","conversion","stickiness","isAttached","_fixRange","trim","getAncestors","createPositionAfter","getUser","getChildren","repository","$text","newValue","howMany","isPremiumPlugin","removeRootAttribute","PENDING_ACTION_REVISION_HISTORY","range","_getPreviousFrom","getChild","_update","isOfficialPlugin","_createCurrentRevision","afterInit","history","dataToMarker","_authorId","fromEntries","_markers","max","_saveMetaData","_createFromRanges","previousPosition","insertion","graveyardPosition","90UljXnz","trialLimit","_diffRoots","createElement","oldRange","reInit","_showLicenseError","$graveyard","setRevisionData","getData","dataDowncast","string","upcast","revisionHistoryLicenseKeyUsageLimit","sendBufferedUpdates","splitPosition","_fixOperation","_handleInsertOperation","keepParagraph","get","domainLimit","_generateTape","isEqual","fromVersion","_removePendingAction","_handleOperation","slice","update","104FbCqSL","_getVidAttributeName","includes","_replaceEditorDataWithRevisionData","toView","getIndex","_handleRootOperation","paragraph","clone","RevisionHistory","updateRevisions","revisionHistoryLicenseKeyValid","_lastFrom","getOperations","push","1137648yVMpGI","invalid","diffData","affectsData","_copyMarkers","_loadState","_cloneOperation","createRangeIn","initialData","16Zykgpl","insertionPosition","_baseIdsRoots","currentRevision","_isInit","NEGATIVE_INFINITY","targetPosition","_licenseKeyCheckInterval","488230dQaBaH","pluginName","shift","addRoot","initial","position","rootName"];return(mt=function(){return t})()}function pt(t,e){const i=mt();return(pt=function(t,e){return i[t-=497]})(t,e)}!function(t){const e=pt,i=t();for(;;)try{if(713187===parseInt(e(503))/1*(-parseInt(e(695))/2)+-parseInt(e(555))/3*(parseInt(e(671))/4)+parseInt(e(784))/5+parseInt(e(722))/6*(parseInt(e(557))/7)+parseInt(e(686))/8*(-parseInt(e(643))/9)+parseInt(e(703))/10*(-parseInt(e(786))/11)+parseInt(e(802))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class vt extends G.Plugin{[ft(760)];[ft(702)];[ft(698)]=null;[ft(618)];[ft(578)]=null;[ft(604)];[ft(564)];[ft(733)];[ft(720)];[ft(556)];[ft(715)];[ft(514)];[ft(718)];[ft(528)];static get[ft(704)](){return ft(520)}static get[ft(629)](){return!0}static get[ft(622)](){return!0}static get[ft(731)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(618)]=this[i(818)][i(539)][i(662)](i(521)),this[i(556)]=this[i(818)][i(539)][i(662)](i(734)),this[i(604)]=new gt(this[i(818)]),this[i(733)]=this[i(818)][i(780)][i(662)](i(727))||i(707),this[i(720)]=new Map,this[i(528)]=null;const s=(0,t.uid)();this[i(564)]={history:this[i(818)][i(748)][i(777)][i(632)],getLatestVersion:()=>Promise[i(602)](this[i(818)][i(748)][i(777)][i(742)]),getCurrentRevisionId:()=>s},this[i(580)](i(753),!1),this[i(580)](i(812),!0),this[i(580)](i(717),!1),this[i(818)][i(780)][i(499)](i(782),!0),this[i(818)][i(609)][i(752)](i(655))[i(633)]({view:i(502)})}[ft(535)](){const t=ft;this[t(542)](),this[t(818)][t(548)].on(t(811),()=>{const e=t,i=this[e(618)][e(758)](0),s=i&&null===i[e(563)]?i:null;if(this[e(514)]=!!s&&this[e(818)][e(780)][e(662)](e(782)),this[e(818)][e(539)][e(729)](e(581))){const t=this[e(564)][e(807)](),n=this[e(618)][e(758)](t);if(n)this[e(718)]=n[e(666)],this[e(514)]=!1;else{const t=this[e(564)][e(632)][e(750)][e(817)](t=>!t[e(699)]),n=t?t[e(508)]:this[e(564)][e(632)][e(742)];i?(i[e(793)]<n&&i[e(628)]({toVersion:n}),this[e(514)]?(this[e(564)][e(807)]=()=>s.id,this[e(718)]=s[e(666)]):(this[e(718)]=i[e(793)],this[e(514)]=!1)):(this[e(718)]=n,this[e(514)]=!1)}}else s&&(this[e(818)][e(748)][e(777)][e(632)][e(742)]=Math[e(637)](s[e(793)],this[e(818)][e(748)][e(777)][e(632)][e(742)]),s[e(666)]===s[e(793)]?(0!==s[e(666)]&&(this[e(564)][e(807)]=()=>s.id),this[e(514)]=!1):this[e(514)]&&(this[e(564)][e(807)]=()=>s.id,this[e(718)]=s[e(666)])),this[e(514)]||(this[e(718)]=this[e(818)][e(748)][e(777)][e(742)]);this[e(604)][e(535)](this[e(564)][e(632)]),this[e(739)](this[e(718)]),this[e(630)](this[e(718)]),this[e(578)]&&this[e(657)]()}),this[t(589)](t(753)).to(this,t(717),t=>!t),this[t(760)]=this[t(818)][t(780)][t(662)](t(760));const e=this[t(818)];this[t(702)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(682)==r||i(565)==r||i(550)==r||i(571)==r||i(800)==r||i(553)==r||i(781)==r||i(656)==r){delete e[n],s=r,clearInterval(this[i(702)]),this[i(702)]=void 0;break}}i(565)==s&&e[i(649)](i(687)),i(550)==s&&e[i(649)](i(746)),i(571)==s&&e[i(649)](i(663)),i(800)==s&&e[i(649)](i(814),i(680)),i(553)==s&&e[i(649)](i(598)),i(781)==s&&e[i(649)](i(644)),i(656)==s&&e[i(649)](i(757))},1e3)}async[ft(631)](){const t=ft;if(this[t(618)][t(536)]>0){const e=this[t(618)][t(758)](0),i=await this[t(497)](e),s=await this[t(810)](e);this[t(674)](i,s)}}[ft(755)](){const t=ft;super[t(755)](),this[t(702)]&&clearInterval(this[t(702)])}[ft(789)](t){this[ft(564)]=t}async[ft(670)](){const t=ft,e=await this[t(564)][t(764)]();if(e>this[t(698)][t(793)]){await this[t(691)]();const i=this[t(554)]({revision:this[t(698)],to:e});i[t(531)]=i[t(529)][t(806)](e=>this[t(818)][t(539)][t(662)](t(498))[t(616)](e)),this[t(698)][t(628)](i)}}async[ft(585)](e={},i=null){const s=ft,n=[];await this[s(691)](),this[s(514)]=!1,i>this[s(698)][s(793)]&&(i=null),null===i&&(i=await this[s(564)][s(764)]());const r=this[s(712)](i),o=this[s(554)]({from:r,to:i});if(this[s(698)][s(793)]<i){const t=this[s(554)]({revision:this[s(698)],from:i,to:i});t[s(531)]=[],t[s(529)]=[],t.id=this[s(698)].id,this[s(698)][s(628)](t,!0),delete t[s(531)],n[s(685)](t)}e[s(597)]=this[s(818)][s(539)][s(662)](s(498)).me.id,e[s(820)]=e[s(820)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(526)](e);n[s(685)](e);const c=this[s(618)][s(676)](a);if(0!==c){const t=this[s(618)][s(758)](c-1);if(t[s(666)]!==i){const r=this[s(604)][s(652)](i,t[s(793)]),o={id:t.id,diffData:r[s(688)],authorsIds:r[s(529)],authors:r[s(529)][s(806)](t=>this[s(818)][s(539)][s(662)](s(498))[s(616)](t)),fromVersion:i};t===this[s(698)]&&(o[s(765)]=new Date(e[s(765)][s(561)]()+10)),t[s(628)](o,!0),delete o[s(531)],n[s(685)](o)}}if(this[s(578)]){for(const t of n)this[s(730)](t.id,t,!0);this[s(657)]()}return a}[ft(526)](t){const e=ft,i=this[e(618)][e(737)](t);return this[e(578)]&&i.on(e(628),(t,i,s)=>{const n=e;s||(this[n(730)](i.id,i,!0),this[n(657)]())}),this[e(618)][e(719)](i,this[e(511)](i)),i}async[ft(497)](t){const e=ft;return await this[e(556)][e(779)](t,this[e(578)]),this[e(556)][e(497)](t)}async[ft(810)](t){const e=ft;return await this[e(556)][e(779)](t,this[e(578)]),this[e(556)][e(810)](t)}[ft(657)](){const t=ft;if(0===this[t(720)][t(723)])return;if(this[t(717)])return;let e=Array[t(785)](this[t(720)][t(576)]());this[t(720)][t(595)]();for(let i=0;i<e[t(536)];i++){const s=e[i];let n=!1;for(const e of Object[t(509)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(504)](t=>null!==t),!e[t(536)])return;for(let i=0;i<e[t(536)];i++){const s=e[i];void 0!==s[t(666)]&&void 0===s[t(793)]&&(s[t(793)]=this[t(618)][t(758)](s.id)[t(793)]),void 0!==s[t(793)]&&void 0===s[t(666)]&&(s[t(666)]=this[t(618)][t(758)](s.id)[t(666)])}const i=this[t(818)][t(780)][t(662)](t(727));this[t(717)]=!0,this[t(713)](),this[t(578)][t(681)](e,i)[t(744)](()=>{this[t(717)]=!1})[t(510)](e=>{const i=t;if(e)for(const t of e)this[i(651)]({id:t.id,createdAt:t[i(765)]});this[i(667)](),this[i(657)]()})}[ft(554)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(666)],i=null!==i?i:t[s(793)];const n=this[s(604)][s(652)](e,i),r={diffData:n[s(688)],authorsIds:n[s(529)],fromVersion:e,toVersion:i};if(!t||i!==t[s(793)]){const t=i-1,e=this[s(564)][s(632)][s(569)](t);r[s(765)]=e&&e[s(765)]||new Date}if(this[s(528)]&&e===this[s(528)][s(666)])for(const t of this[s(528)][s(531)])r[s(529)][s(673)](t.id)||r[s(529)][s(685)](t.id);return r}[ft(730)](t,e,i){const s=ft;if(this[s(720)][s(729)](t)){const n=this[s(720)][s(662)](t);e=i?{...n,...e}:{...e,...n}}this[s(720)][s(580)](t,e)}[ft(651)](t){const e=ft,i=this[e(618)][e(758)](t.id);if(t[e(765)]&&(t[e(765)]=new Date(t[e(765)])),t[e(529)]){const i=this[e(818)][e(539)][e(662)](e(498));t[e(531)]=t[e(529)][e(806)](t=>i[e(616)](t))}i[e(628)](t,!0)}[ft(739)](t){const e=ft,i=this[e(618)][e(758)](this[e(618)][e(536)]-1);if(i)this[e(733)]=i.id;else{const i=!this[e(818)][e(748)][e(777)][e(735)][e(817)](t=>this[e(818)][e(748)][e(590)](t)),s=this[e(818)][e(539)][e(662)](e(498)).me.id,n=at(this[e(818)][e(790)],e(i?512:574));this[e(518)]({from:t,to:t,id:this[e(733)],name:n,creatorId:s})}}[ft(630)](t){const e=ft,i=this[e(564)][e(807)]();this[e(698)]=this[e(618)][e(758)](i),this[e(698)]||(this[e(698)]=this[e(518)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(691)](){const t=ft;this[t(514)]&&!this[t(528)]&&(await this[t(556)][t(779)](this[t(698)],this[t(578)]),this[t(604)][t(796)](this[t(698)]),this[t(528)]={fromVersion:this[t(698)][t(666)],authors:this[t(698)][t(531)][t(669)]()})}[ft(674)](e,i){const s=ft;let n=this[s(818)][s(780)][s(662)](s(694)),r=this[s(818)][s(780)][s(662)](s(762));if(void 0===n){n={};for(const t of this[s(818)][s(748)][s(777)][s(751)]())n[t]=""}if(s(654)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(818)][s(748)][s(777)][s(751)]())r[t]={}}let o=!1;const a=Object[s(509)](n),c=Object[s(509)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(613)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(509)](r[t])[s(536)]>0){o=!0;break}}o||(o=c[s(769)](t=>!this[s(818)][s(748)][s(777)][s(607)](t))),o&&(0,t.logWarning)(s(552),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(818)][s(780)][s(580)](s(694),e),this[s(818)][s(780)][s(580)](s(762),i)}[ft(713)](){const t=ft;if(!this[t(715)]){const e=this[t(818)][t(539)][t(662)](t(815));this[t(715)]=e[t(797)](at(this[t(818)][t(790)],t(624)))}}[ft(667)](){const t=ft;this[t(715)]&&(this[t(818)][t(539)][t(662)](t(815))[t(540)](this[t(715)]),this[t(715)]=null)}[ft(511)](t){const e=ft,i=this[e(618)][e(732)]();i[e(584)]();let s=0;for(;s<i[e(536)];){const n=i[s];if(n===this[e(698)]){s++;continue}if(n.id===this[e(733)])break;const r=t[e(793)]-n[e(793)]||t[e(666)]-n[e(666)];if(r>0)break;if(r<0)s++;else{if(!t[e(563)]&&n[e(563)])break;if(n[e(563)]||!t[e(563)]){if(t[e(765)]>n[e(765)])break;s++}else s++}}return s}[ft(712)](t){const e=ft,i=this[e(618)][e(732)]();i[e(584)](),i[e(705)]();const s=i[e(817)](i=>i[e(793)]<=t)[e(793)];return s<this[e(718)]?this[e(718)]:s}[ft(518)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(554)]({from:e,to:i});o[r(820)]=t,o[r(597)]=s,o.id=n;const a=this[r(526)](o);return this[r(578)]&&this[r(730)](o.id,o,!0),a}[ft(542)](){const t=ft;this[t(818)][t(609)][t(752)](t(653))[t(724)]({model:t(502)})}}class gt{[ft(818)];[ft(725)];[ft(788)];[ft(683)];[ft(537)];[ft(636)];[ft(645)];[ft(567)];[ft(761)];[ft(805)];[ft(783)];[ft(697)];[ft(770)];[ft(716)];[ft(819)];[ft(582)];[ft(606)];constructor(t){const e=ft;this[e(818)]=t,this[e(788)]=new Map,this[e(683)]=-1,this[e(537)]=-1,this[e(636)]=new Map,this[e(645)]=new Map,this[e(567)]=new Map,this[e(761)]=new Map,this[e(805)]=new Map,this[e(783)]=new Map,this[e(697)]=new Map,this[e(770)]=new Map,this[e(716)]=new Map,this[e(819)]=new Map,this[e(582)]=1}[ft(535)](t){const e=ft;this[e(725)]=t;const i=new Map,s=new Map,n=this[e(818)][e(748)][e(777)][e(735)][e(806)](t=>t[e(709)]);for(const t of n){const n=this[e(818)][e(748)][e(777)][e(607)](t),r=yt(n);i[e(580)](t,r),s[e(580)](t,Object[e(635)](n[e(794)]()))}const r=Array[e(785)](this[e(818)][e(748)][e(506)])[e(806)](t=>[t[e(820)],t[e(596)]()]),o=this[e(725)][e(742)];this[e(638)](o,i,r,s),this[e(606)]=this[e(582)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(580)](t,i),c[e(580)](t,{})}this[e(638)](Number[e(700)],a,[],c)}[ft(652)](t,e){const i=ft;if(this[i(683)]===t&&this[i(537)]<=e)this[i(788)][i(723)]>1&&this[i(766)](this[i(537)]),this[i(821)](this[i(537)],e,!0);else{if(!this[i(788)][i(729)](t)){const e=this[i(626)](t);this[i(749)](e,t,!1)}this[i(749)](t,e,!0)}return this[i(683)]=t,this[i(537)]=e,this[i(600)]()}[ft(796)](t){const e=ft,i=this[e(818)][e(539)][e(662)](e(734));this[e(543)](),this[e(683)]=t[e(666)],this[e(537)]=t[e(793)];for(const s in t[e(688)]){const n=t[e(688)][s][e(778)],r=A(t[e(688)][s][e(775)])||{},o=i[e(599)](t[e(688)][s][e(798)]);o[e(709)]=s,o[e(608)]=!n||!n[e(611)],o[e(611)]=()=>o[e(608)],this[e(761)][e(580)](s,o),this[e(805)][e(580)](s,r),n&&this[e(819)][e(580)](s,n);const a=this[e(791)](o);this[e(697)][e(580)](s,a);for(const[t,i]of o[e(506)]){if(!t[e(515)](e(767)))continue;const s=t[e(500)](":")[2];for(const t of i[e(505)]({singleCharacters:!0})){const i=this[e(672)](t),n=e(501)==t[e(572)]?t[e(640)][e(524)][e(669)](0,-1):t[e(640)][e(524)],r=a[e(588)](n)[e(534)](i);this[e(770)][e(580)](r,{userId:s})}}}this[e(606)]=this[e(582)];const s=[...Array(this[e(582)])[e(509)]()][e(669)](1)[e(504)](t=>!this[e(770)][e(729)](t));let n=0;const r=new Map;for(const o in t[e(688)]){const a=t[e(688)][o][e(778)],c=A(t[e(688)][o][e(804)])||{},u=i[e(599)](t[e(688)][o][e(586)]);u[e(709)]=o,u[e(608)]=!a||a[e(611)],u[e(611)]=()=>u[e(608)],this[e(645)][e(580)](o,u),this[e(567)][e(580)](o,c);const l=this[e(791)](u,Number[e(700)]);this[e(783)][e(580)](o,l),r[e(580)](o,u[e(611)]()?c:{});for(const[t,i]of u[e(506)]){if(!t[e(515)](e(767)))continue;const s=t[e(500)](":")[2];for(const t of i[e(505)]({singleCharacters:!0})){const i=this[e(672)](t),n=this[e(582)]++,r=e(501)==t[e(572)]?t[e(640)][e(524)][e(669)](0,-1):t[e(640)][e(524)];l[e(588)](r)[e(747)](i,n),this[e(770)][e(580)](n,{userId:s})}}for(const t of this[e(818)][e(748)][e(693)](u)[e(505)]({singleCharacters:!0})){const i=this[e(672)](t),r=e(501)==t[e(572)]?t[e(640)][e(524)][e(669)](0,-1):t[e(640)][e(524)],o=l[e(588)](r);o[e(534)](i)>0||o[e(747)](i,s[n++])}for(const[t,i]of u[e(506)])t[e(515)](e(767))||this[e(636)][e(580)](t,i)}const o=kt(e(650));this[e(761)][e(580)](e(650),o),this[e(697)][e(580)](e(650),this[e(791)](o,1));const a=kt(e(650));this[e(645)][e(580)](e(650),a),this[e(783)][e(580)](e(650),this[e(791)](a,1));const c=Array[e(785)](this[e(645)])[e(806)](([t,e])=>[t,yt(e)]);this[e(638)](this[e(537)],c,this[e(636)],r)}[ft(648)](){const t=ft;this[t(543)](),this[t(683)]=-1,this[t(537)]=-1,this[t(788)][t(595)](),this[t(535)](this[t(725)])}[ft(638)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(580)](t,{start:e[n(575)][n(679)](),end:e[n(566)][n(679)](),rootName:e[n(541)][n(709)]});this[n(788)][n(580)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(766)](t){const e=ft;this[e(788)][e(601)](t)}[ft(543)](){const t=ft;this[t(770)][t(595)](),this[t(716)][t(595)](),this[t(819)][t(595)](),this[t(645)][t(595)](),this[t(567)][t(595)](),this[t(761)][t(595)](),this[t(805)][t(595)](),this[t(783)][t(595)](),this[t(697)][t(595)](),this[t(636)][t(595)](),this[t(582)]=1,this[t(606)]=this[t(582)]}[ft(791)](t,e=null){const i=ft;let s=null;t.is(i(754))||(s=new Q.ModelElement(t[i(820)],{vid_start:null===e?this[i(582)]++:e++}));const n=[];for(const s of t[i(617)]())if(s.is(i(714))){n[i(685)](this[i(791)](s,e));const t=n[n[i(536)]-1];null!==e&&(e=t.is(i(714),i(619))?t[i(534)](i(579))+1:t[i(534)](i(799))+1)}else for(let t=0;t<s[i(594)];t++)n[i(685)](new Q.ModelElement(i(619),{vid:null===e?this[i(582)]++:e++}));if(t.is(i(754))){const e=kt(t[i(709)]);return e[i(721)](0,n),e}return s[i(747)](i(799),null===e?this[i(582)]++:e++),s[i(721)](0,n),s}[ft(749)](t,e,i){const s=ft;this[s(543)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(788)][s(662)](t);this[s(761)]=new Map(n),this[s(805)]=new Map(A(o));for(const[t,e]of this[s(761)])if(s(650)!==t&&(this[s(645)][s(580)](t,yt(e)),this[s(567)]=new Map(A(o)),i)){const i=this[s(582)];this[s(783)][s(580)](t,this[s(791)](e)),this[s(697)][s(580)](t,this[s(791)](e,i))}this[s(606)]=this[s(582)],this[s(645)][s(580)](s(650),yt(this[s(761)][s(662)](s(650)))),i&&this[s(783)][s(580)](s(650),this[s(791)](this[s(761)][s(662)](s(650))));for(const[t,e]of r){const i=this[s(761)][s(662)](e[s(709)]),n=this[s(645)][s(662)](e[s(709)]),r=new Q.ModelRange(this[s(583)](e[s(575)],i),this[s(583)](e[s(566)],i)),o=this[s(612)](r,n);i[s(506)][s(580)](t,r),this[s(636)][s(580)](t,o)}this[s(821)](t,e,i)}[ft(821)](t,e,i){const s=ft;for(const n of this[s(725)][s(684)](t,e))this[s(668)](n,i);for(const t of this[s(645)][s(576)]())t[s(506)][s(595)]();for(const[t,e]of this[s(636)])this[s(645)][s(662)](e[s(541)][s(709)])[s(506)][s(580)](t,e[s(679)]());const n=new Map,r=new Map;for(const[t,e]of this[s(645)])n[s(580)](t,yt(e)),r[s(580)](t,this[s(567)][s(662)](t));this[s(638)](e,n,this[s(636)],r)}[ft(626)](t){const e=ft,i=Array[e(785)](this[e(788)][e(509)]());i[e(547)]((t,e)=>t-e),i[e(584)]();for(const e of i)if(e<t)return e;return Number[e(700)]}[ft(690)](t,e){const i=ft,s=Array[i(785)](e[i(506)])[i(806)](([e,s])=>[e,this[i(612)](s,t)]);t[i(506)]=new Map(s)}[ft(545)](t){const e=ft;for(const i of this[e(636)][e(576)]()){const s=i[e(738)](t),n=Q.ModelRange[e(639)](s);i[e(575)]=n[e(575)],i[e(566)]=n[e(566)]}}[ft(668)](t,e){const i=ft;if(i(706)!=t[i(572)]&&i(710)!=t[i(572)]){if(i(792)==t[i(572)]){const s=t[i(708)][i(541)][i(709)];this[i(645)][i(729)](s)||(this[i(645)][i(580)](s,kt(s,!0)),this[i(567)][i(580)](s,{}),e&&this[i(783)][i(580)](s,kt(s,!0)))}else{if(i(549)==t[i(572)]||i(623)==t[i(572)]||i(562)==t[i(572)])return void this[i(587)](t);i(605)==t[i(572)]&&this[i(801)](t)}if(i(605)!==t[i(572)]){const e=this[i(692)](t,this[i(645)]);e[i(808)](),this[i(545)](e)}if(e)switch(t[i(572)]){case i(792):this[i(660)](t);break;case i(527):case i(540):case i(525):this[i(773)](t);break;case i(726):this[i(519)](t);break;case i(500):this[i(768)](t)}}else this[i(677)](t,e)}[ft(692)](t,e){const i=ft,s=t[i(679)]();return s[i(634)]=t[i(634)],this[i(659)](s,e),s}[ft(745)](t){const e=ft;return t[e(806)](t=>{const i=e,s=this[i(672)](t);return Number(t[i(740)][i(534)](s))})}[ft(664)](t,e){const i=ft;if(t.is(i(714),i(619)))e[i(685)]({item:t,type:i(513)});else{t.is(i(714))&&e[i(685)]({item:t,type:i(711)});for(const s of t[i(617)]())this[i(664)](s,e);t.is(i(714))&&e[i(685)]({item:t,type:i(501)})}return e}[ft(600)](){const t=ft,e=new Map(this[t(770)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(761)][t(509)](),...this[t(645)][t(509)]()]);a[t(601)](t(650));for(const e of a){const i=this[t(645)][t(662)](e)||kt(e,!1),s=this[t(761)][t(662)](e)||kt(e,!1);i[t(611)]()||s[t(611)]()?(n[t(586)][e]=yt(i),n[t(798)][e]=yt(s),this[t(690)](n[t(798)][e],s),this[t(690)](n[t(586)][e],i),r[t(586)][e]=this[t(664)](this[t(783)][t(662)](e),[]),r[t(798)][e]=this[t(664)](this[t(697)][t(662)](e)||kt(e,!1),[])):a[t(601)](e)}for(const n of a){const o=r[t(586)][n];for(const n of o){const r=this[t(672)](n),o=n[t(740)][t(534)](r);i[t(601)](o),o>=this[t(606)]&&s[t(580)](o,e[t(662)](o))}}for(const n of a){const a=r[t(586)][n],c=this[t(745)](r[t(798)][n]);let u=0;for(const n of a){const r=this[t(672)](n),a=n[t(740)][t(534)](r);if(!s[t(729)](a)&&!o[t(729)](a))if(i[t(729)](a))u++;else{if(a!=c[u]){const s=e[t(662)](a)||e[t(662)](c[u]);for(;a!=c[u];)i[t(729)](c[u])||(o[t(580)](c[u],s),e[t(580)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(586)][e];for(const e of n){const n=this[t(672)](e),r=e[t(740)][t(534)](n);if(o[t(729)](r)){const e=o[t(662)](r);i[t(729)](r)||i[t(580)](r,{...e}),s[t(580)](r,{...e})}}}for(const e of i[t(509)]())e>=this[t(606)]&&i[t(601)](e);const c=new Map;for(const e of a){let n=r[t(586)][e];for(const e of n)if(e[t(740)].is(t(714),t(763))){const i=this[t(672)](e),n=e[t(740)][t(534)](i);if(s[t(729)](n)){const i=e[t(740)][t(532)][t(532)][t(534)](t(523)),r=c[t(662)](i)||new Set;r[t(797)](s[t(662)](n)[t(728)]),c[t(580)](i,r)}}n=r[t(798)][e];for(const e of n)if(e[t(740)].is(t(714),t(763))){const s=this[t(672)](e),n=e[t(740)][t(534)](s);if(i[t(729)](n)){const s=e[t(740)][t(532)][t(532)][t(534)](t(523)),r=c[t(662)](s)||new Set;r[t(797)](i[t(662)](n)[t(728)]),c[t(580)](s,r)}}for(const e of c[t(509)]())(s[t(729)](e)||i[t(729)](e))&&c[t(601)](e)}for(const e of a){const n=r[t(586)][e];let o=null,a=null;for(const e of n){const n=this[t(672)](e),r=e[t(740)][t(534)](n),u=c[t(662)](r);u&&t(711)==e[t(572)]&&(o=Array[t(785)](u)[0],a=e[t(740)][t(534)](t(799))),o&&(i[t(580)](r,{userId:o}),s[t(580)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(798)][e],a=n[t(586)][e];for(const{userId:e}of this[t(716)][t(576)]())null!==e&&l[t(797)](e);for(const{userId:e}of this[t(819)][t(576)]())null!==e&&l[t(797)](e);this[t(787)](a,r[t(586)][e],s,t(641),l),this[t(787)](o,r[t(798)][e],i,t(558),l),u[e]={insertions:this[t(591)](a),deletions:this[t(591)](o),attachChange:this[t(819)][t(662)](e)||null,attributesBefore:A(this[t(805)][t(662)](e))||{},attributesAfter:A(this[t(567)][t(662)](e))}}return{diffData:u,authorsIds:Array[t(785)](l)}}[ft(568)](t){const e=ft;for(const[,i]of t[e(506)]){const t=i[e(575)][e(614)]()[e(504)](t=>e(763)==t[e(820)]);for(const i of t)1==i[e(577)]&&i[e(627)](0).is(e(714),e(678))&&i[e(627)](0)[e(747)](e(661),!0)}}[ft(591)](t){const e=ft;this[e(568)](t);const i=this[e(818)][e(548)][e(675)](t,{}),s=Array[e(785)](i[e(617)]())[e(806)](t=>this[e(816)](t));return JSON[e(530)](s)}[ft(816)](t){const e=ft;if(t.is(e(619)))return t[e(548)];{const i=this[e(818)][e(539)][e(662)](e(734)),s=t,n=this[e(818)][e(548)][e(756)][e(809)],r={type:i[e(774)](s),name:s[e(820)],attributes:Array[e(785)](s[e(794)]()),children:Array[e(785)](s[e(617)]())[e(806)](t=>this[e(816)](t))};if(t.is(e(795))&&e(570)!=t[e(820)]){const i=t[e(533)](n[e(544)],n);r[e(538)][e(685)](i[e(736)])}else if(t.is(e(560))){const i=n[e(544)][e(646)](s[e(820)]);t[e(533)](i,n),r[e(538)][e(685)](i[e(507)])}const o=Array[e(785)](s[e(603)]());o[e(536)]>0&&(r[e(522)]=o);const a=s[e(813)]();return null!==a&&(r[e(516)]=a),r}}[ft(787)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(818)][r(748)];for(let s=0;s<e[r(536)];s++){const n=this[r(672)](e[s]),c=e[s][r(740)][r(534)](n),h=i[r(662)](c),d=s==e[r(536)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(728)]!=o[r(728)])&&(l(h,bt(a,t,u),bt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,bt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(728)],d=l(767)+s+":"+h+":"+c++,f=u[l(559)](i,a);t[l(506)][l(580)](d,f),null!==h&&n[l(797)](h)}}[ft(672)](t){const e=ft;switch(t[e(572)]){case e(711):return e(523);case e(501):return e(799);default:return e(579)}}[ft(659)](t,e){const i=ft;t[i(508)]=null;for(const s in t){const n=t[s];if(n instanceof Q.ModelPosition){const r=e[i(662)](n[i(541)][i(709)]);t[s]=this[i(583)](n,r)}if(n instanceof Q.ModelRange){const r=e[i(662)](n[i(541)][i(709)]);t[s]=this[i(612)](n,r)}i(541)===s&&(t[i(541)]=e[i(662)](t[i(541)][i(709)]))}}[ft(612)](t,e){const i=ft;return this[i(818)][i(748)][i(559)](this[i(583)](t[i(575)],e),this[i(583)](t[i(566)],e))}[ft(583)](t,e){const i=ft;return this[i(818)][i(748)][i(546)](e,t[i(524)],t[i(610)])}[ft(660)](t){const e=ft,i=this[e(783)][e(662)](t[e(708)][e(541)][e(709)]),s=this[e(583)](t[e(708)],i),n=null===t[e(634)]?null:t[e(634)]||this[e(818)][e(539)][e(662)](e(498)).me.id,r=s[e(532)],o=this[e(582)],a=[];for(const i of t[e(517)])if(i.is(e(714)))a[e(685)](this[e(791)](i));else for(let t=0;t<i[e(594)];t++)a[e(685)](new Q.ModelElement(e(619),{vid:this[e(582)]++}));const c=this[e(582)];for(let t=o;t<c;t++)this[e(770)][e(580)](t,{userId:n});r[e(721)](s[e(741)],a)}[ft(773)](t){const e=ft;(t=this[e(692)](t,this[e(783)]))[e(808)]();const i=null===t[e(634)]?null:t[e(634)]||this[e(818)][e(539)][e(662)](e(498)).me.id,s=t[e(803)](),n=s[e(532)],r=s[e(741)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(627)](e);r.is(a(714),a(619))?s[a(580)](r[a(534)](a(579)),{userId:i}):(s[a(580)](r[a(534)](a(523)),{userId:i}),t(s,r,0,r[a(577)]),s[a(580)](r[a(534)](a(799)),{userId:i}))}}(this[e(770)],n,r,r+t[e(621)])}[ft(519)](t){const e=ft,i=null===(t=this[e(692)](t,this[e(783)]))[e(634)]?null:t[e(634)]||this[e(818)][e(539)][e(662)](e(498)).me.id,s=t[e(701)][e(532)],n=t[e(551)][e(532)],r=s[e(534)](e(799)),o=n[e(534)](e(523));s[e(747)](e(799),n[e(534)](e(799))),n[e(747)](e(799),r),this[e(770)][e(580)](o,{userId:i}),this[e(770)][e(580)](r,{userId:i}),t[e(808)]()}[ft(768)](t){const e=ft,i=null===(t=this[e(692)](t,this[e(783)]))[e(634)]?null:t[e(634)]||this[e(818)][e(539)][e(662)](e(498)).me.id,s=t[e(642)],n=t[e(658)][e(532)];t[e(808)]();const r=n[e(534)](e(799)),o=t[e(696)][e(776)];if(s){const t=o[e(534)](e(799)),s=n[e(534)](e(799));n[e(747)](e(799),t),o[e(747)](e(799),s),this[e(770)][e(580)](n[e(534)](e(799)),{userId:i}),this[e(770)][e(580)](o[e(534)](e(523)),{userId:i})}else{const t=this[e(582)]++,s=this[e(582)]++;n[e(747)](e(799),t),o[e(747)](e(523),s),o[e(747)](e(799),r),this[e(770)][e(580)](t,{userId:i}),this[e(770)][e(580)](s,{userId:i})}}[ft(801)](t){const e=ft;if(!t[e(689)])return;const i=(t=this[e(692)](t,this[e(645)]))[e(647)]?t[e(647)][e(541)]:null,s=t[e(759)]?t[e(759)][e(541)]:null;i&&this[e(636)][e(601)](t[e(820)]),s&&this[e(636)][e(580)](t[e(820)],t[e(759)][e(679)]());const n=null===t[e(634)]?null:t[e(634)]||this[e(818)][e(539)][e(662)](e(498)).me.id,r=t[e(820)];if(!this[e(716)][e(729)](r))return void this[e(716)][e(580)](r,{range:t[e(647)],userId:n});const o=this[e(716)][e(662)](r),a=o[e(625)],c=t[e(759)];null==a&&null==c||a&&c&&a[e(665)](c)?this[e(716)][e(601)](t[e(820)]):o[e(728)]=n}[ft(677)](t,e){const i=ft;this[i(645)][i(729)](t[i(709)])?this[i(645)][i(662)](t[i(709)])[i(608)]=t[i(743)]:(this[i(645)][i(580)](t[i(709)],kt(t[i(709)],!0)),this[i(567)][i(580)](t[i(709)],{}),e&&this[i(783)][i(580)](t[i(709)],kt(t[i(709)],!0)));const s=null===t[i(634)]?null:t[i(634)]||this[i(818)][i(539)][i(662)](i(498)).me.id,n=this[i(819)][i(662)](t[i(709)]);n&&n[i(728)]===s?this[i(819)][i(601)](t[i(709)]):this[i(819)][i(580)](t[i(709)],{userId:s,isAttached:t[i(743)]})}[ft(587)](t){const e=ft,i=this[e(567)][e(662)](t[e(541)][e(709)]);null===t[e(620)]?delete i[t[e(593)]]:i[t[e(593)]]=t[e(620)]}}function yt(t){const e=ft,i=kt(t[e(709)],t[e(611)]());for(const s of t[e(617)]()){const t=s[e(592)](!0);i[e(573)](t)}return i}function kt(t,e=!0){const i=ft,s=new Q.ModelDocumentFragment;return s[i(709)]=t,s[i(608)]=e,s[i(611)]=()=>s[i(608)],s}function bt(t,e,i){const s=ft,n=s(501)==t[s(572)]?i[s(771)](t[s(740)],s(566)):i[s(772)](t[s(740)]);return i[s(546)](e,n[s(524)],n[s(610)])}function wt(t,e,i){const s=ft,n=s(711)==t[s(572)]?i[s(771)](t[s(740)],0):i[s(615)](t[s(740)]);return i[s(546)](e,n[s(524)],n[s(610)])}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),Vt=i(357),Et=i.n(Vt),Dt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var jt=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=Mt(),Ft.insert=Rt().bind(null,"head"),Ft.domAPI=xt(),Ft.insertStyleElement=Et();Ot()(jt.A,Ft);jt.A&&jt.A.locals&&jt.A.locals;const Pt=Lt;function Lt(t,e){const i=Wt();return(Lt=function(t,e){return i[t-=429]})(t,e)}function Wt(){const t=["2744600JZWojh","initializeCssTransitionDisablerMixin","render","_createRevisionNameInput","362696lLWJcZ","trim","439538MOapmh","arrowup","add","listenTo","1098044nZUley","set","42pVFjAj","arrowright","focusTracker","arrowdown","Name of the revision","extendTemplate","reset","ck-responsive-form","element","37860rjdgGb","revisionName","optional","339759rWbTwq","setTemplate","revisionNameInputView","220","fieldView","form","ck-revision-history-save-revision-form","revisionNameInputValue","135hkhfAb","value","3HZGlEL","arrowleft","stopPropagation","input","locale","220729jitbpX","label","errorText","keystrokes","focus"];return(Wt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(140312===parseInt(e(431))/1+parseInt(e(442))/2*(-parseInt(e(470))/3)+-parseInt(e(446))/4+parseInt(e(468))/5*(-parseInt(e(457))/6)+parseInt(e(448))/7*(parseInt(e(440))/8)+parseInt(e(460))/9+parseInt(e(436))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(450)];[Pt(434)];[Pt(462)];constructor(e,i){const s=Pt;super(e),this[s(450)]=new t.FocusTracker,this[s(434)]=new t.KeystrokeHandler,this[s(447)](s(467),""),this[s(462)]=this[s(439)](i),this[s(461)]({tag:s(465),attributes:{class:["ck",s(466),s(455)],tabindex:"-1"},children:[this[s(462)]]}),this[s(437)]()}[Pt(438)](){const t=Pt;super[t(438)](),(0,It.submitHandler)({view:this}),this[t(450)][t(444)](this[t(462)][t(456)]),this[t(434)][t(445)](this[t(456)]);const e=e=>e[t(472)]();this[t(434)][t(447)](t(449),e),this[t(434)][t(447)](t(471),e),this[t(434)][t(447)](t(443),e),this[t(434)][t(447)](t(451),e)}[Pt(435)](){const t=Pt;this[t(462)][t(435)]()}get[Pt(458)](){const t=Pt;return this[t(462)][t(464)][t(456)][t(469)][t(441)]()}set[Pt(458)](t){const e=Pt;this[e(462)][e(464)][e(456)][e(469)]=t[e(441)]()}[Pt(454)](){const t=Pt;this[t(462)][t(464)][t(456)][t(469)]="",this[t(462)][t(433)]=null}[Pt(439)](t){const e=Pt,i=new It.LabeledFieldView(this[e(430)],It.createLabeledInputText),s=i[e(464)];s[e(453)]({attributes:{maxlength:e(463)}});let n=at(this[e(430)],e(452));return!t&&(n+=" ("+at(this[e(430)],e(459))+")"),i[e(432)]=n,s.on(e(429),()=>{const t=e;this[t(467)]=s[t(456)][t(469)][t(441)]()}),i}}const Ut=Ht;function Zt(){const t=["focus","menuitem","RevisionTracker","isPremiumPlugin","86919dyVJCB","execute","336DKlLKO","get","55DGVCAr","_registerMenuComponent","errorText","_saveRevisionFormView","render","3650523GUNIPk","The revision name cannot be empty.","Dialog","hide","117ipCZVE","Save current revision","addMany","isReadOnly","Accept","requires","reset","isReady","5478TkeiUr","revisionHistory.requireRevisionName","view","showRevisionViewerCallback","Open revision history","27396oyktgR","223364KuYfbG","add","editor","bind","_createSaveRevisionFormView","RevisionHistoryUI","pluginName","locale","menuBar:revisionHistory","revisionSave","buttonView","ck-button-action","27352bLWXiz","init","14638290ZyXywq","delegate","plugins","show","revisionHistory","role","componentFactory","revisionNameInputView","Cancel","children","menu","items","editing","_showDialog","revisionName","isEnabled","submit","213lMZGqI","6934YfdWjP","panelView","set","isOfficialPlugin","saveRevision","isOpen","Revision history","config"];return(Zt=function(){return t})()}function Ht(t,e){const i=Zt();return(Ht=function(t,e){return i[t-=220]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(768611===parseInt(e(238))/1*(-parseInt(e(239))/2)+parseInt(e(260))/3+-parseInt(e(278))/4*(-parseInt(e(255))/5)+parseInt(e(253))/6*(-parseInt(e(251))/7)+-parseInt(e(290))/8*(-parseInt(e(264))/9)+parseInt(e(221))/10+-parseInt(e(272))/11*(parseInt(e(277))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends G.Plugin{static get[Ut(284)](){return Ut(283)}static get[Ut(242)](){return!0}static get[Ut(250)](){return!0}static get[Ut(269)](){return[vt]}[Ut(258)];[Ut(220)](){const t=Ut,e=this[t(280)],i=e[t(223)][t(254)](t(249));e.ui[t(227)][t(279)](t(225),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(240)][n(230)],a=new It.ListView(s),c=new It.ListItemView(s),u=new It.ButtonView(s),l=new It.ListItemView(s),h=new It.ButtonView(s);return r[n(281)](n(236)).to(i,n(271),i,n(236),e,n(267),(t,e,i)=>t&&e&&!i),r[n(288)][n(241)]({icon:_t.IconHistory,label:at(s,n(245)),tooltip:!0}),u[n(241)]({label:at(s,n(265)),withText:!0,role:n(248)}),u[n(281)](n(236)).to(i,n(271),i,n(236),e,n(267),(t,e,i)=>t&&e&&!i),u.on(n(252),()=>this[n(234)]()),h[n(241)]({label:at(s,n(276)),withText:!0,role:n(248)}),h[n(281)](n(236)).to(i,n(271),e,n(267),(t,e)=>t&&!e),h.on(n(252),()=>{const t=n;e[t(246)][t(254)](t(225))[t(275)](),r[t(244)]=!1,e[t(233)][t(274)][t(247)]()}),c[n(230)][n(279)](u),l[n(230)][n(279)](h),a[n(226)]=n(231),a[n(232)][n(266)]([c,l]),o[n(279)](a),r}),e.ui[t(227)][t(279)](t(286),()=>this[t(256)]())}[Ut(256)](){const t=Ut,e=this[t(280)],i=e[t(285)],s=new It.MenuBarMenuView(i),n=new It.MenuBarMenuListView(i);s[t(288)][t(241)]({icon:_t.IconHistory,label:at(i,t(245))});const r=new It.MenuBarMenuListItemView(i,s),o=new It.MenuBarMenuListItemButtonView(i);o[t(241)]({label:at(i,t(265))}),o[t(222)](t(252)).to(s),o.on(t(252),()=>{this[t(234)]()}),r[t(230)][t(279)](o),n[t(232)][t(279)](r);const a=new It.MenuBarMenuListItemView(i,s),c=new It.MenuBarMenuListItemButtonView(i);return c[t(241)]({label:at(i,t(276))}),c[t(222)](t(252)).to(s),c.on(t(252),()=>{const i=t;e[i(246)][i(254)](i(225))[i(275)]()}),a[t(230)][t(279)](c),n[t(232)][t(279)](a),s[t(240)][t(230)][t(279)](n),s}[Ut(234)](){const t=Ut,e=this[t(280)],i=e[t(285)],s=e[t(223)][t(254)](t(262)),n=e[t(223)][t(254)](t(249));function r(n){const r=t;e[r(246)][r(254)](r(273))&&""===n[r(235)]?n[r(228)][r(257)]=at(i,r(261)):(e[r(223)][r(254)](vt)[r(243)]({name:n[r(235)]}),s[r(263)]())}this[t(258)]||(this[t(282)](),this[t(258)].on(t(237),()=>r(this[t(258)]))),this[t(258)][t(270)](),s[t(224)]({id:t(287),title:at(i,t(265)),isModal:!0,content:this[t(258)],actionButtons:[{label:at(e[t(285)],t(229)),withText:!0,onExecute:()=>s[t(263)]()},{label:at(e[t(285)],t(268)),class:t(289),withText:!0,onCreate(i){const s=t;i[s(281)](s(236)).to(n,s(271),n,s(236),e,s(267),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(258)])}]})}[Ut(282)](){const t=Ut,e=this[t(280)],i=e[t(285)];this[t(258)]=new zt(i,e[t(246)][t(254)](t(273))),this[t(258)][t(259)]()}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=260]})(t,e)}function Yt(){const t=["Added by","30ZqAikQ","add","4VXsGmO","type","705881NBbvtn","set","data","span","5802330bIDwiE","92465kNBonb","Suggested by","isSuggestion","1302920marsIq","3306780cTTsJJ","element","Removed by","focus","_model","name","ck-revision-change__label","8tuCZGs","div","ck-annotation","7XRpiRL","bindTemplate","setTemplate","changeId","2102255hFFuNb","ck-revision-change","author","217800GNeLgR","ck-revision-change__"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(484315===-parseInt(e(288))/1*(parseInt(e(281))/2)+parseInt(e(276))/3+-parseInt(e(266))/4*(-parseInt(e(273))/5)+-parseInt(e(287))/6+parseInt(e(269))/7*(parseInt(e(291))/8)+parseInt(e(292))/9+-parseInt(e(279))/10*(-parseInt(e(283))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[$t(272)];[$t(263)];constructor(t,e){const i=$t;super(t),this[i(263)]=e,this[i(272)]=e.id;const s=this[i(270)],n=at(t,e[i(285)][i(290)]?i(289):i(280)==e[i(282)]?i(278):i(261));this[i(284)](i(282),e[i(282)]),this[i(271)]({tag:i(267),attributes:{class:[i(268),i(274),s.to(i(282),t=>i(277)+t)],tabindex:-1},children:[{tag:i(286),children:[{tag:i(286),attributes:{class:[i(265)]},children:[{text:n}]},{text:" "+e[i(275)][i(264)]}]}]})}[$t(262)](){const t=$t;this[t(260)][t(262)]()}}var Gt=Kt;function Kt(t,e){var i=Qt();return(Kt=function(t,e){return i[t-=421]})(t,e)}function Qt(){var t=["rootName","1971798MtRzzI","set","5bylLpg","3301833krhKxW","142896jmIXIg","data","17386oLIboh","11glpfKp","toJSON","13458972blZSHj","52yYpLia","author","createdAt","1927695cZThix","16lKTvBH","7500186SAOVBr","10UItzon","type"];return(Qt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(618209===-parseInt(e(431))/1*(parseInt(e(435))/2)+parseInt(e(428))/3+parseInt(e(429))/4+-parseInt(e(427))/5*(parseInt(e(425))/6)+-parseInt(e(438))/7*(-parseInt(e(439))/8)+parseInt(e(421))/9*(parseInt(e(422))/10)+-parseInt(e(432))/11*(parseInt(e(434))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(436)];[Gt(423)];[Gt(430)];[Gt(424)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(436)]=e[i(436)],this[i(423)]=e[i(423)],this[i(430)]=e[i(430)]||{},this[i(424)]=e[i(424)],this[i(426)](i(437),e[i(437)])}[Gt(433)](){var t=Gt;return{id:this.id,authorId:this[t(436)].id,type:this[t(423)],data:this[t(430)],createdAt:this[t(437)]}}}function te(){const t=["6335336ltsURv","239956jhnUfc","231294QmdRxq","249585aEUAoz","_setChanges","712980Swatov","212009sZTQUV","newRevisionId","add","879702wrfuGk","changes","oldRevisionId","7yawMeA"];return(te=function(){return t})()}const ee=ie;function ie(t,e){const i=te();return(ie=function(t,e){return i[t-=327]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(107887===-parseInt(e(332))/1+-parseInt(e(327))/2+-parseInt(e(328))/3+-parseInt(e(331))/4+parseInt(e(329))/5+-parseInt(e(335))/6*(parseInt(e(338))/7)+parseInt(e(339))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class se{[ee(333)];[ee(337)];[ee(336)];constructor(e,i){const s=ee;this[s(333)]=e,this[s(337)]=i,this[s(336)]=new t.Collection}[ee(330)](t){const e=ee;for(const i of t)this[e(336)][e(334)](i)}}var ne=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ue;function ae(){const t=["set","_getChangeFromId","resolve","pluginName","element","insert","mapViewToDom","bindElementToMarker","start","execute","174QoPCIL","pop","mapper","writer","addClass","sort","backward","includes","_cleanMarkers","editing","mousedown","currentChangeNumber","_cleanUp","attributesAfter","markers","revision","RevisionViewer","domEvent","getRevisionDocumentData","document","attributesBefore","markerName","getIndex","ck-suggestion-preview-marker","concat","markerToData","getClientRects","ck-suggestion-marker-","span","diffData","_makeModelFromTape","splice","getWalker","selection","showNextChange","getRevision","suggestion:","7617339fvScRq","locale","removeMarker:revision-suggestion","parent","forEach","end","numberOfChanges","plugins","change:isReady","indexOf","nodeAfter","_processTape","all","suggestion","map","_getViewForChange","consume","merge","unshift","isAtEnd","getRoot","isSuggestion","elementToAttribute","isAttached","POSITIVE_INFINITY","hasClass","vid","revisionHistoryAttachChange","42152efKhNI","isRemoveSuggestion","roots","keys","markersEnd","domConverter","modelRange","catch","elementStart","addMarker:revision-suggestion:deletion","_removeMissingPairs","startsWith","adapter","checkAttribute","markersStart","revision-suggestion","WidgetToolbarRepository","RevisionsRepository","startIndex","range","removeClass","compare","dataDowncast","revision-viewer","deletions","3147397GrVVSc","newRevisionId","isEnabled","revisionHistoryLabel","elementEnd","_threeWayMerge","getAttributes","detachRoot","remove","consumable","nextPosition","test","change:activeChange","_markInsertions","createPositionBefore","_joinTapes","viewItem","listenTo","revision-comment:","left","ck-editor__editable__overlay","_removeUnsupportedChanges","schema","first","getRevisionRootsAttributes","editingDowncast","init","_markMarkers","revisionHistory","repository","showStack","authors","ck-suggestion-marker--active","hasAttribute","find","ck-suggestion-marker-split","isOnRoot","ck-revision-history-root-add","8800961lgxOjC","_appendChild","createRangeIn","uiElement","isInline","_setConversion","_findChangeIdFromDomTarget","softBreak","addRoot","createAttributeElement","restoreRevisionCallback","_refreshStartEndIndex","endIndex","getDomRoot","unbindElementFromMarkerName","getAttribute","removeMarker","change:activeView","flat","ck-revision-history-root-","_getDiff","filter","userId","_fixObsoleteTags","_setChanges","993xHCLsN","revision:","length","shift","add","downcastDispatcher","change","isBlock","isCollapsed","rootName","createRevision","distance","createUIElement","pairId","enableReadOnlyMode","diff","refresh","text","addRevision","_makeTape","delete","ck-revision-history-root--active","next","item","done","_makeModelFromViewString","error","isIncorrect","clear","activeChange","_utils","toViewElement","from","getCustomProperty","isNavigationMode","has","slice","isOfficialPlugin","isPremiumPlugin","enqueueChange","vid_start","getRootNames","changeId","index","bottom","_markSuggestions","_markMismatchedRemovedTags","_update","for","view","toViewPosition","updatePosition","attachChange","commands","stop","_changeIdToChange","code","isAfter","bind","markerRange","setAttribute","686rvlWZQ","markerToHighlight","insertions","addHighlight","198106fVNPcv","nextSibling","values","name","changes","revision-suggestion:","showPreviousChange","createRange","-new","config","object","_balloon","addRevisionData","offsetSize","mouseover","comment","isAtStart","_changeView","isLimit","right","loadRevisionData","model","forceDisabled","10tPCjni","_step","affectsData","findIndex","addMarker:revision-suggestion:insertion","addMarker:revision","maxOffset","change:isEnabled","top","ck-suggestion-marker-merge","wrap","_revisions","then","removeMarker:revision","activeView","dataToMarker","deletion","get","level","getChild","high","isRemoved","return","isBefore","ck-revision-history-root-remove","split","editor","createPositionFromPath","side","isReady","isAdded","12zPPBWt","oldRevisionId","RevisionHistoryUtils","isAddSuggestion","8WNbKXj","ck-suggestion-preview-marker-","attribute:vid","vid_end","removeAttribute","_getRevisionsRange","getItems","7872cOwNTH","target","isContent","forward","data","reconvertMarker","destroy","abs","push","_initInteractions","highest","data-change-id","restoreRevision","type","_setDistance","7855KQBsZf","toViewRange","requires","getLaterVisibleRevision","element:pre","low","isObject","conversion","_activeViewTarget","upcast","change:numberOfChanges","_sortAndFilterDiffChanges","insertion","string","previousPosition","isEqual","_data","observeMarkers","markerNameToElements","ck-suggestion-marker","attributes"];return(ae=function(){return t})()}!function(t){const e=ue,i=t();for(;;)try{if(495066===parseInt(e(493))/1*(parseInt(e(435))/2)+parseInt(e(370))/3*(-parseInt(e(500))/4)+parseInt(e(515))/5*(-parseInt(e(546))/6)+-parseInt(e(431))/7*(-parseInt(e(611))/8)+parseInt(e(583))/9*(parseInt(e(458))/10)+-parseInt(e(636))/11*(parseInt(e(489))/12)+-parseInt(e(345))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends G.Plugin{[oe(336)];[oe(623)]=null;[oe(400)];[oe(523)];[oe(452)];[oe(425)];[oe(446)];static get[oe(539)](){return oe(562)}static get[oe(407)](){return!0}static get[oe(408)](){return!0}static get[oe(517)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(336)]=this[e(484)][e(590)][e(475)](e(628)),this[e(400)]=this[e(484)][e(590)][e(475)](e(491)),this[e(536)](e(399),null),this[e(536)](e(472),null),this[e(523)]=null,this[e(536)](e(385),null),this[e(536)](e(487),!1),this[e(536)](e(638),!0),this.on(e(465),(t,i,s)=>{const n=e;this[n(399)]=null,this[n(472)]=null,this[n(484)][n(555)][n(419)][n(376)](t=>{const e=n;for(const i of this[e(484)][e(555)][e(419)][e(565)][e(613)])s?t[e(631)](e(327),i):t[e(550)](e(327),i)})}),this[e(428)](e(404)).to(this,e(399),t=>null!==t),this[e(428)](e(557)).to(this,e(487),this,e(385),this,e(399),(t,i,s)=>t&&s?i[e(439)][e(568)](s):0),this[e(428)](e(589)).to(this,e(487),this,e(385),(t,i)=>t?i[e(439)][e(372)]:0),this[e(452)]=null,this[e(425)]=new Map,this[e(446)]=this[e(484)][e(590)][e(475)](It.ContextualBalloon)}[oe(333)](){const t=oe,e=this[t(484)],i=new de(e,{direction:t(552)}),s=new de(e,{direction:t(503)});e[t(423)][t(374)](t(441),i),e[t(423)][t(374)](t(580),s),e[t(423)][t(374)](t(512),new he(e)),this.on(t(525),()=>{const e=t;i[e(386)](),s[e(386)]()}),this[t(350)](),this[t(509)](),e[t(384)](t(634)),e[t(590)][t(405)](t(627))&&e[t(590)][t(475)](t(627))[t(457)](t(634))}async[oe(564)](t){const e=oe;return await this[e(400)][e(455)](t,this[e(623)]),this[e(400)][e(564)](t)}async[oe(331)](t){const e=oe;return await this[e(400)][e(455)](t,this[e(623)]),this[e(400)][e(331)](t)}async[oe(632)](t,e,i=!1){const s=oe;if(!this[s(638)])return;const n=this[s(385)],r=this[s(336)],o=s(528)==typeof t?r[s(581)](t):t,a=s(528)==typeof e?r[s(581)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(385)]&&this[s(385)][s(637)]===c&&this[s(385)][s(490)]===u)return Promise[s(538)]();this[s(487)]=!1,this[s(472)]=null,this[s(399)]=null,this[s(385)]=new se(c,u);const l=this[s(498)](o,a,!0)[s(597)](t=>this[s(400)][s(455)](t,this[s(623)]));return l[s(508)](new Promise(t=>{setTimeout(t,20)})),Promise[s(595)](l)[s(470)](()=>{const t=s;if(!this[t(638)])return;this[t(558)]();const e=this[t(365)](c,u);for(const i of e[t(439)])this[t(425)][t(536)](i.id,i);this[t(484)][t(456)][t(409)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(484)][s(456)][s(565)][s(411)]())i[s(314)](t);for(const t of Object[s(614)](e[s(456)])){const n=i[s(353)](t);for(const r of Object[s(614)](e[s(535)][t]))i[s(430)](r,e[s(535)][t][r],n);i[s(541)](e[s(456)][t],n,0)}}),this[t(385)][t(369)](this[t(526)](e[t(439)])),this[t(487)]=!0})[s(618)](t=>{const e=s;console[e(396)](t),this[e(558)](),n&&(this[e(385)]=n),this[e(487)]=!0})}[oe(447)](t,e){const i=oe,s=this[i(336)][i(380)](t);return s.on(i(417),(t,i,n)=>e(i,n,s)),this[i(336)][i(388)](s),s}[oe(558)](){const t=oe;this[t(399)]=null,this[t(554)](),this[t(452)]&&this[t(452)][t(506)](),this[t(452)]=null,this[t(425)][t(398)](),this[t(484)][t(456)][t(409)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(484)][i(456)][i(565)][i(411)]())e[i(314)](t)})}[oe(526)](t){const e=oe,i=[],s=new Map;for(const t of this[e(484)][e(456)][e(565)][e(411)]()){const n=this[e(484)][e(555)][e(419)][e(358)](t);if(!n)continue;const r=n[e(572)]()[e(393)](0);r&&(i[e(508)](t),s[e(536)](t,r))}return i[e(551)]((t,i)=>{const n=e,r=s[n(475)](t),o=s[n(475)](i);return r.y-o.y||r.x-o.x}),(t=t[e(366)](t=>i[e(553)](t[e(379)])))[e(551)]((t,s)=>i[e(592)](t[e(379)])-i[e(592)](s[e(379)])),t}[oe(389)](t){const e=oe,i=Array[e(402)](t[e(560)])[e(366)](([t,i])=>t[e(622)](e(371))&&!i[e(378)]),s=Array[e(402)](this[e(484)][e(456)][e(347)](t)[e(578)]({singleCharacters:!0}));if(0!=i[e(372)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(483)](":");if(n[e(588)][e(530)](t[e(317)])&&i[e(373)](),(t[e(529)][e(530)](n[e(544)])||t[e(529)][e(427)](n[e(544)]))&&(e(527)==r?t[e(488)]={userId:o}:e(474)==r&&(t[e(479)]={userId:o})),0==i[e(372)])break}return s}[oe(356)](t){const e=oe,i=new Map;for(let s=0;s<t[e(372)];s++)e(387)===t[s][e(513)]?(t[s][e(393)][e(629)]=s,t[s][e(393)][e(357)]=s):(e(619)===t[s][e(513)]?t[s][e(393)][e(629)]=s:e(311)===t[s][e(513)]&&(t[s][e(393)][e(357)]=s),i[e(536)](t[s].id,s));for(const s of i[e(437)]())e(619)===t[s][e(513)]?t[s][e(393)][e(357)]=i[e(475)](t[s][e(383)]):e(311)===t[s][e(513)]&&(t[s][e(393)][e(629)]=i[e(475)](t[s][e(383)]))}[oe(594)](t){const e=oe;for(let i=0;i<t[e(372)];i++){if(e(619)===t[i][e(513)])t[i][e(393)][e(629)]=i;else if(e(311)===t[i][e(513)]){t[i][e(393)][e(357)]=i;const s=t[i][e(393)][e(629)];t[s][e(383)]=t[i].id,t[i][e(383)]=t[s].id}else t[i][e(393)][e(629)]=i,t[i][e(393)][e(357)]=i,t[i][e(383)]=null;t[i][e(625)]||(t[i][e(625)]=[],t[i][e(615)]=[])}}[oe(320)](t,e){const i=oe,s=t[i(366)](t=>!t[i(488)]);for(let t=0;t<e[i(372)];t++)e[t][i(488)]&&(s[t][i(488)]=e[t][i(488)])}[oe(365)](t,e=null){const i=oe,s=this[i(336)][i(581)](t),n=e?this[i(336)][i(581)](e):null,r=this[i(498)](s,n),o=r[r[i(372)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(372)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(614)](e[i(575)]))if(e[i(575)][t][i(422)]){const s=e[i(575)][t][i(422)];s[i(606)]?(u[i(374)](t),l[i(405)](t)&&l[i(475)](t)[i(367)]==s[i(367)]?l[i(390)](t):l[i(536)](t,s)):l[i(405)](t)?(u[i(390)](t),l[i(390)](t)):(u[i(374)](t),l[i(536)](t,s))}else u[i(374)](t)}for(const t of u){const e=l[i(405)](t)&&!l[i(475)](t)[i(606)];let s=e?r[i(372)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(575)][t]){const s=e?o[i(575)][t][i(566)]:o[i(575)][t][i(559)];c[i(535)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(456)]={};for(const e of t[i(338)])a[i(536)](e.id,e);for(const e of u){const s=t[i(575)][e]?t[i(575)][e][i(433)]:"[]",n=t[i(575)][e]?t[i(575)][e][i(635)]:"[]";t[i(456)][e]={insertions:this[i(400)][i(395)](s),deletions:this[i(400)][i(395)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(402)](s[i(456)][t][i(433)][i(560)])[i(366)](([t])=>!t[i(622)](i(371))));let h=0;for(const o of r){const r=this[i(389)](o[i(456)][t][i(433)]);o==s?(e=r,n=e[i(372)],e[i(587)](t=>{t.id=h++}),this[i(594)](e)):this[i(320)](e,r);const a=e[i(366)](t=>!t[i(488)])[i(597)](t=>t.id);let c=0;const l=this[i(389)](o[i(456)][t][i(635)]);l[i(587)](t=>{t[i(479)]?t.id=n++:t.id=a[c++]}),this[i(594)](l),this[i(514)](e,i(488)),this[i(514)](l,i(479)),o==s&&this[i(334)](e,u),e=this[i(322)](e,l),this[i(356)](e),this[i(514)](e,i(479))}e=e[i(366)](t=>!(t[i(488)]&&t[i(479)]));const d=new Map(o[i(456)][t][i(635)][i(560)]),f=new Set(u[i(614)]());for(const t of d[i(614)]())f[i(390)](t);this[i(415)](e,f),this[i(368)](e),e=this[i(621)](e),e=this[i(416)](e),e=this[i(328)](e);const{root:m,changes:p}=this[i(576)](e,a,t);c[i(456)][t]=m;const v=l[i(475)](t);if(v){const e=a[i(475)](v[i(367)]),s=new Xt({author:e,type:v[i(606)]?i(374):i(315),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(601)](s),c[i(535)][t][i(610)]=s.id}c[i(439)]=c[i(439)][i(570)](p)}return c}[oe(334)](t,e){const i=oe;for(let s=0;s<t[i(372)];s++)for(const[n,r]of e)!r[i(378)]&&r[i(544)][i(530)](t[s][i(529)])&&t[s][i(625)][i(508)](n),r[i(588)][i(530)](t[s][i(317)])&&t[s][i(615)][i(508)](n)}[oe(322)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(372)]||r<e[i(372)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(508)](o);else if(a[i(479)]&&o[i(488)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(312)](t,n,e,r);s=s[i(570)](o),n=a,r=c}else a[i(479)]?(r++,s[i(508)](a)):(n++,s[i(508)](o))}return s}[oe(415)](t,e){const i=oe,s=[];for(let o=0;o<t[i(372)];o++){for(let r=0;r<t[o][i(625)][i(372)];r++){const a=t[o][i(625)][r];if(!e[i(405)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(626)!=c||i(527)!=u&&i(474)!=u||(s[i(601)]({type:u,name:a,userId:l}),t[o][i(625)][i(577)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(615)][i(372)];r++){const a=t[o][i(615)][r];if(!e[i(405)](a))continue;const{group:c,type:u}=n(a);if(i(626)!=c||i(527)!=u&&i(474)!=u)continue;t[o][i(615)][i(577)](r,1),r--;const l=s[i(461)](t=>t[i(438)]==a);l>-1&&s[i(577)](l,1)}}function n(t){const e=i,s=t[e(483)](":");return{group:s[0],type:s[1],subType:s[e(372)]>=5?s[2]:null,id:s[e(372)]<5?s[2]:s[3],authorId:s[e(372)]<5?s[3]:s[4],markerCount:6==s[e(372)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(372)];i++){if(t[e(488)]&&e(527)==s[i][e(513)]&&t[e(488)][e(367)]==s[i][e(367)])return t[e(492)]=s[i],void delete t[e(488)];if(!t[e(488)]&&!t[e(479)]&&e(474)==s[i][e(513)])return void(t[e(612)]=s[i])}}}[oe(514)](t,e){const i=oe;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(536)](o.id,s);for(let s=0;s<t[i(372)];s++){if(i(479)==e&&t[s][i(488)]||i(488)==e&&t[s][i(479)])continue;if(i(387)==t[s][i(513)]){t[s][i(381)]=0;continue}const n=r[i(475)](t[s][i(383)]),o=r[i(475)](t[s].id);t[s][i(381)]=n-o}}[oe(498)](t,e,i=!1){const s=oe,n=[];let r=this[s(336)][s(568)](t),o=this[s(336)][s(568)](e);for(-1==o&&(o=this[s(336)][s(469)][s(372)],i=!1);r<o;)n[s(508)](this[s(336)][s(581)](r)),r++;return i&&n[s(508)](this[s(336)][s(581)](r)),n}[oe(312)](t,e,i,s){const n=oe,r=this[n(484)][n(456)][n(329)];let o=e;for(;t[o]&&t[o][n(488)];)o++;let a=s;for(;i[a]&&i[a][n(479)];)a++;u(t,e,o),u(i,s,a);const c=i[n(406)](s,a)[n(570)](t[n(406)](e,o));return c[n(551)]((t,e)=>t[n(486)]!=e[n(486)]?t[n(486)]-e[n(486)]:t[n(476)]!=e[n(476)]?t[n(476)]-e[n(476)]:t[n(381)]!=e[n(381)]?e[n(381)]-t[n(381)]:!!t[n(488)]!=!!e[n(488)]?-1==t[n(486)]||0==t[n(486)]?t[n(488)]?-1:1:t[n(488)]?1:-1:t[n(413)]-e[n(413)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(607)],c=!0;for(let n=e;n<i;n++)if(r[s(349)](t[n][s(393)])||(c=!1),t[n][s(393)][s(629)]<e&&(o=n),t[n][s(393)][s(357)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(486)]=n<=o?-1:n<a?0:1,t[n][s(413)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(381)]?t[i][s(476)]=u:(u++,t[i][s(476)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(486)]&&(t[n][s(476)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(381)]?t[e][s(476)]=u:(u--,t[e][s(476)]=u,u--)}}[oe(368)](t){const e=oe,i=new Map,s=this[e(484)][e(456)][e(329)];for(let n=1;n<t[e(372)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(387)==c[e(513)])continue;if(c[e(513)]!=u[e(513)])continue;if(!s[e(377)](u[e(393)])||s[e(453)](u[e(393)]))continue;if(!s[e(377)](c[e(393)])||s[e(453)](c[e(393)]))continue;if((t[n][e(488)]||t[n][e(492)])&&t[n-1][e(479)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(479)]||!t[n-1][e(488)]&&!t[n-1][e(492)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(476)]==o[e(476)],h=Math[e(507)](r[e(476)])<Math[e(507)](o[e(476)])&&0==o[e(381)];(l||h)&&(i[e(536)](o.id,r.id),t[e(577)](a,1),n--,r[e(488)]=!1)}for(let s=0;s<t[e(372)];s++)i[e(405)](t[s][e(383)])&&(t[s][e(383)]=i[e(475)](t[s][e(383)]))}[oe(621)](t){const e=oe,i=new Set(t[e(597)](t=>t.id));for(let s=0;s<t[e(372)];s++)i[e(405)](t[s][e(383)])||0==t[s][e(381)]||(t[s][e(397)]=!0);return t[e(366)](t=>!t[e(397)])}[oe(416)](t){const e=oe,i=new Set;for(let s=0;s<t[e(372)];s++){if(i[e(405)](t[s].id)&&t[s][e(479)]&&(t[s][e(397)]=!0),t[s][e(397)])continue;if(0==t[s][e(381)])continue;if(e(619)!=t[s][e(513)])continue;if(null==t[s][e(383)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(383)];)e(619)==t[n][e(513)]?r++:e(311)==t[n][e(513)]&&r--,n++;if(0!=r)if(t[s][e(479)])t[s][e(397)]=!0;else for(;n!=s;)t[n][e(479)]&&0!=t[n][e(381)]&&(t[n][e(397)]=!0,i[e(374)](t[n][e(383)])),n--}return t[e(366)](t=>!t[e(397)])}[oe(328)](t){const e=oe,i=this[e(484)][e(456)][e(329)];for(let s=0;s<t[e(372)];s++){if(!(t[s][e(488)]||t[s][e(492)]||t[s][e(479)]||t[s][e(612)]))continue;if(0==t[s][e(381)])continue;const n=t[s][e(393)];i[e(377)](n)||i[e(453)](n)||(t[s][e(488)]&&delete t[s][e(488)],t[s][e(492)]&&delete t[s][e(492)],t[s][e(612)]&&delete t[s][e(612)],t[s][e(479)]&&(t[s][e(397)]=!0))}return t[e(366)](t=>!t[e(397)])}[oe(576)](t,e,i){const s=oe,n=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[s(484)][s(456)],c=a[s(329)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(372)];e++)if(s(619)===t[e][s(513)]){t[e][s(529)]=a[s(485)](n,f);const i=new Q.ModelElement(t[e][s(393)][s(438)],t[e][s(393)][s(313)]());u[0][s(346)](i),f[s(508)](0),u[s(601)](i),t[e][s(317)]=a[s(485)](n,f)}else s(311)===t[e][s(513)]?(u[s(373)](),t[e][s(529)]=a[s(485)](n,f),f[s(547)](),f[f[s(372)]-1]++,t[e][s(317)]=a[s(485)](n,f)):(t[e][s(529)]=a[s(485)](n,f),d?d[s(531)]+=t[e][s(393)][s(504)]:d=new Q.ModelText(t[e][s(393)][s(504)],t[e][s(393)][s(313)]()),t[e+1]&&s(387)===t[e+1][s(513)]&&v(d,t[e+1][s(393)])||(u[0][s(346)](d),d=null),f[f[s(372)]-1]+=t[e][s(393)][s(448)],t[e][s(317)]=a[s(485)](n,f));for(let e=0;e<t[s(372)];e++){const i=t[e][s(529)],n=t[e][s(317)];for(const n of t[e][s(625)])o[s(536)](n,{start:i,end:null});m(s(612),e,i,n),m(s(492),e,i,n),m(s(479),e,i,n),m(s(488),e,i,n);for(const i of t[e][s(615)]){const t=o[s(475)](i);t?t[s(588)]=n:o[s(536)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(484)][s(456)][s(442)](e[s(544)],e[s(588)]);n[s(560)][s(536)](t,i)}return r[s(551)]((t,e)=>{const i=s,r=n[i(560)][i(475)](i(371)+t.id),o=n[i(560)][i(475)](i(371)+e.id);return r[i(544)][i(481)](o[i(544)])?-1:r[i(544)][i(427)](o[i(544)])?1:r[i(588)][i(481)](o[i(588)])?-1:r[i(588)][i(427)](o[i(588)])?1:i(374)===t[i(513)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(367)]:null,d=i===t[o(372)]-1,f=h[e][0],m=c[o(521)](t[i][o(393)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(588)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(367)]!==u&&(l[e][o(588)]=n,f&&f[o(367)]===l[e][o(367)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(619)!==t[i][o(513)]||f&&f[o(367)]===u||h[e][o(601)]({userId:u,object:t[i][o(393)],change:l[e]}),o(311)===t[i][o(513)]&&f&&f[o(445)]===t[i][o(393)]&&(h[e][o(373)](),l[e]=f[o(376)])),l[e]&&d&&(l[e][o(588)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(393)],f=a[h(329)][h(377)](d)&&!a[h(329)][h(453)](d),m=t[h(593)]==o[h(586)]&&o[h(451)];if(f&&m)return;const p=a[h(442)](t,o),v=e[h(475)](u),g=new Xt({author:v,type:h(488)==l||h(492)==l?h(374):h(315),data:{isSuggestion:h(492)==l||h(612)==l},createdAt:new Date,rootName:i});r[h(508)](g),n[h(560)][h(536)](h(371)+g.id,p)}function v(t,e){const i=s,n=t[i(313)](),r=e[i(313)]();for(const t of n){if(t[1]!==e[i(360)](t[0]))return!1;r[i(392)]()}return r[i(392)]()[i(394)]}}[oe(350)](){const t=oe;this[t(484)][t(522)][t(418)](t(524))[t(473)]({view:t(561)}),this[t(484)][t(522)][t(418)](t(332))[t(432)]({model:t(561),view:e=>{const i=t,s=e[i(567)][i(483)](":")[1],n=this[i(537)](s);if(!n)return null;const r=i(374)==n[i(513)]?i(527):i(474),o=[i(534),i(573)+r];return n[i(504)][i(604)]&&o[i(508)](i(573)+r+i(443)),this[i(399)]==n&&o[i(508)](i(339)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(484)][t(522)][t(418)](t(524))[t(374)](e=>{const i=t;e.on(i(519),(t,e,s)=>{const n=i,r=e[n(323)][n(477)](0);if(!r||!r.is(n(540),n(426)))return;if(!s[n(316)][n(599)](r,{attributes:[n(410),n(496)]}))return;const o=e[n(617)][n(544)][n(593)];s[n(549)][n(430)](n(410),r[n(360)](n(410)),o),s[n(549)][n(430)](n(496),r[n(360)](n(496)),o)},{priority:i(520)})}),this[t(484)][t(522)][t(418)](t(524))[t(374)](e=>{const i=t;e.on(i(540),(t,e,s)=>{const n=i;if(!s[n(316)][n(599)](e[n(323)],{attributes:[n(410),n(496)]}))return;if(e[n(617)][n(378)])return;const r=e[n(617)][n(544)][n(593)];r[n(340)](n(410))||r[n(340)](n(609))||(s[n(549)][n(430)](n(410),e[n(323)][n(360)](n(410)),r),s[n(549)][n(430)](n(496),e[n(323)][n(360)](n(496)),r))},{priority:i(520)})}),this[t(484)][t(522)][t(418)](t(524))[t(605)]({view:{name:t(574),attributes:{vid:!0}},model:{key:t(609),value:e=>e[t(360)](t(609))}}),this[t(484)][t(456)][t(329)].on(t(624),(e,[,i])=>{const s=t;[s(410),s(496),s(609)][s(553)](i)&&(e[s(480)]=!0,e[s(424)]())},{priority:t(510)}),this[t(484)][t(522)][t(418)](t(633))[t(374)](e=>{const i=t;e.on(i(495),(t,e,s)=>{const n=i;if(" "!=e[n(393)][n(504)]||e[n(393)][n(586)][n(464)]>1)return;if(!s[n(316)][n(599)](e[n(393)],t[n(438)]))return;const r=s[n(549)],o=s[n(548)][n(516)](e[n(630)]);r[n(468)](o,r[n(354)](n(574)))})}),this[t(484)][t(522)][t(418)](t(633))[t(571)]({model:t(561)}),this[t(484)][t(555)][t(375)].on(t(463),function(e){const i=t,s=e[i(590)][i(475)](i(562));return(t,n,r)=>{const o=i,a=n[o(567)][o(483)](":")[1],c=s[o(537)](a);if(!c)return null;const u=o(374)==c[o(513)]?o(483):o(600);if(!r[o(316)][o(318)](n[o(429)],t[o(438)]))return;const l=n[o(429)][o(578)](),h=n[o(429)][o(544)],d=e[o(456)][o(329)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(393)];p=p||d[o(502)](e);const i=r[o(548)][o(401)](e);if(i&&i[o(403)](o(434)))return;o(311)==t[o(513)]&&d[o(377)](e)&&!d[o(453)](e)&&(e[o(436)]||h[o(602)]?f&&f[o(586)]==e||(f=e,g(t[o(529)]),v=!0):m=m||t[o(529)])}function g(t){const e=o,i=r[e(549)][e(382)](e(574),{class:e(573)+u}),a=r[e(548)][e(420)](t);c[e(504)][e(604)]&&r[e(549)][e(550)](e(573)+u+e(443),i),s[e(399)]==c&&r[e(549)][e(550)](e(339),i),r[e(549)][e(541)](a,i),r[e(548)][e(543)](i,n[e(567)])}p||v||!m||g(m)}}(this[t(484)]),{priority:t(478)}),this[t(484)][t(555)][t(375)].on(t(471),(e,i,s)=>{const n=t,r=s[n(548)][n(533)](i[n(567)]);if(r)for(const t of r)(t[n(608)](n(342))||t[n(608)](n(467)))&&(s[n(548)][n(359)](t,i[n(567)]),s[n(549)][n(315)](t))},{priority:t(478)}),this[t(484)][t(555)][t(375)].on(t(463),(e,i,s)=>{const n=t,r=i[n(567)][n(483)](":")[1],o=this[n(537)](r);if(!o)return null;const a=n(374)==o[n(513)]?n(483):n(600);if(s[n(316)][n(318)](i[n(429)],e[n(438)]))for(const t of i[n(429)][n(499)]()){if(!t.is(n(540),n(352)))continue;const e=s[n(549)][n(382)](n(574),{class:n(573)+a}),r=s[n(548)][n(420)](this[n(484)][n(456)][n(321)](t));o[n(504)][n(604)]&&s[n(549)][n(550)](n(573)+a+n(443),e),this[n(399)]==o&&s[n(549)][n(550)](n(339),e),s[n(549)][n(541)](r,e),s[n(548)][n(543)](e,i[n(567)])}},{priority:t(478)}),this[t(484)][t(456)][t(565)].on(t(376),()=>{const e=t;this[e(484)][e(555)][e(419)][e(376)](t=>{const i=e;for(const e of this[i(484)][i(456)][i(565)][i(411)]()){const s=this[i(484)][i(456)][i(565)][i(603)](e),n=this[i(484)][i(555)][i(419)][i(565)][i(603)](e);if(n){const e=s[i(360)](i(610));if(t[i(497)](i(511),n),t[i(631)](i(344),n),t[i(631)](i(482),n),t[i(631)](i(391),n),e){const s=this[i(537)](e);if(!s)return null;t[i(430)](i(511),e,n),t[i(550)](i(364)+s[i(513)],n),this[i(399)]==s&&t[i(550)](i(391),n)}}}})}),this[t(484)][t(522)][t(418)](t(524))[t(473)]({view:t(450),model:e=>t(325)+e,converterPriority:t(510)}),this[t(484)][t(522)][t(418)](t(524))[t(473)]({view:t(596),model:e=>t(440)+e,converterPriority:t(510)}),this[t(484)][t(522)][t(418)](t(633))[t(571)]({model:t(626),view:e=>({name:t(582)+e,group:t(626)}),converterPriority:t(510)}),this[t(484)][t(522)][t(418)](t(332))[t(432)]({model:t(626),view:e=>{const i=t,s=e[i(567)][i(483)](":")[1];return i(527)!=s&&i(474)!=s?null:{classes:[i(569),i(494)+s]}}}),this[t(484)][t(555)][t(375)].on(t(620),le(this[t(484)],t(600)),{priority:t(478)}),this[t(484)][t(555)][t(375)].on(t(462),le(this[t(484)],t(483)),{priority:t(478)}),this[t(484)][t(555)][t(375)].on(t(585),(e,i,s)=>{const n=t,r=s[n(548)][n(533)](i[n(567)]);if(r)for(const t of r)t.is(n(348))&&(s[n(548)][n(359)](t,i[n(567)]),s[n(549)][n(315)](t))},{priority:t(478)})}[oe(537)](t){const e=oe;return this[e(425)][e(475)](t)}[oe(598)](t){const e=oe;return this[e(452)]&&this[e(452)][e(506)](),this[e(452)]=new Jt(this[e(484)][e(584)],t),this[e(452)]}[oe(509)](){const t=oe;this[t(484)][t(456)][t(565)][t(579)][t(532)](t(561)),this.on(t(362),(e,i,s,n)=>{const r=t;n&&this[r(446)][r(315)](n),s&&(this[r(446)][r(374)]({view:s,stackId:r(310),position:{target:()=>{const t=r,e=this[t(484)][t(555)],i=this[t(537)](s[t(412)]);let n;if(i[t(504)][t(343)]){const s=e[t(419)][t(358)](i[t(379)]);n=Array[t(402)](s[t(572)]())}else{const i=this[t(484)][t(456)][t(560)][t(475)](t(371)+s[t(412)]);n=Array[t(402)](e[t(548)][t(533)](i[t(438)]))[t(597)](i=>e[t(419)][t(616)][t(542)](i))[t(597)](e=>Array[t(402)](e[t(572)]()))[t(363)]()}return this[t(523)]&&n[t(341)](e=>e[t(466)]-3<=this[t(523)].y&&e[t(414)]+3>=this[t(523)].y&&e[t(326)]-3<=this[t(523)].x&&e[t(454)]+3>=this[t(523)].x)||n[0]}}}),this[r(446)][r(337)](r(310)))}),this.on(t(319),(e,i,s,n)=>{const r=t;this[r(472)]=s?this[r(598)](s):null,this[r(484)][r(456)][r(376)](()=>{const t=r,e=this[t(484)][t(555)];n&&(n[t(504)][t(343)]?e[t(419)][t(376)](i=>{const s=t;i[s(631)](s(391),e[s(419)][s(565)][s(603)](n[s(379)]))}):e[t(505)](t(371)+n.id)),s&&(s[t(504)][t(343)]?e[t(419)][t(376)](i=>{const n=t;i[n(550)](n(391),e[n(419)][n(565)][n(603)](s[n(379)]))}):e[t(505)](t(371)+s.id))})}),this[t(324)](this[t(484)][t(555)][t(419)][t(565)],t(449),(e,i)=>{const s=t;if(this[s(399)])return;const n=this[s(351)](i[s(501)]),r=this[s(425)][s(475)](n);r?(this[s(523)]={x:i[s(563)].x,y:i[s(563)].y},this[s(472)]=this[s(598)](r)):(this[s(523)]=null,this[s(472)]=null)}),this[t(324)](this[t(484)][t(555)][t(419)][t(565)],t(556),(e,i)=>{const s=t,n=this[s(351)](i[s(501)]),r=this[s(425)][s(475)](n);r?(this[s(523)]={x:i[s(563)].x,y:i[s(563)].y},r===this[s(399)]?this[s(446)][s(421)]():this[s(399)]=r):(this[s(523)]=null,this[s(399)]=null)})}[oe(351)](t){const e=oe;do{const i=t[e(360)](e(511));if(i)return i;t=t[e(586)]}while(t);return null}[oe(554)](){const t=oe;this[t(484)][t(456)][t(376)](e=>{const i=t;for(const t of this[i(484)][i(456)][i(560)])e[i(361)](t)})}}function ue(t,e){const i=ae();return(ue=function(t,e){return i[t-=310]})(t,e)}function le(t,e){return(i,s,n)=>{const r=ue;if(!n[r(316)][r(318)](s[r(429)],i[r(438)]))return;const o=s[r(429)][r(578)](),a=s[r(429)][r(544)],c=t[r(456)][r(329)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(393)];h=h||c[r(502)](e);const i=n[r(548)][r(401)](e);if(i&&i[r(403)](r(434)))return;r(311)==t[r(513)]&&c[r(377)](e)&&!c[r(453)](e)&&(e[r(436)]||a[r(602)]?u&&u[r(586)]==e||(u=e,f(t[r(529)]),d=!0):l=l||t[r(529)])}function f(t){const i=r,o=n[i(548)][i(420)](t),a=n[i(549)][i(382)](i(574),{class:i(494)+e});n[i(549)][i(541)](o,a),n[i(548)][i(543)](a,s[i(567)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(590)][e(475)](ce);this[e(460)]=!1,this[e(324)](i,e(591),()=>this[e(386)]()),this[e(324)](i,e(465),()=>this[e(386)]())}[oe(545)](){const t=oe,e=this[t(484)],i=e[t(590)][t(475)](ce),s=i[t(487)]?i[t(385)][t(637)]:null;e[t(444)][t(475)](t(335))[t(355)](s)}[oe(386)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(484)][t(590)][t(475)](ce),r=n&&s[t(518)](n[t(637)]);this[t(638)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(459)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(590)][i(475)](ce);this[i(460)]=!1,this[i(459)]=i(503)===e?1:-1,this[i(324)](s,i(591),()=>this[i(386)]()),this[i(324)](s,i(465),()=>this[i(386)]()),this[i(324)](s,i(319),()=>this[i(386)]())}[oe(545)](){const e=oe,i=this[e(484)],s=i[e(590)][e(475)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(399)]=n?s[e(385)][e(439)][e(475)](r+this[e(459)]):s[e(385)][e(439)][e(330)],s[e(399)][e(504)][e(343)])o=i[e(555)][e(419)][e(358)](s[e(399)][e(379)]);else{const t=i[e(456)][e(560)][e(475)](e(371)+s[e(399)].id);o=(0,K.getMarkerDomElement)(i[e(555)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(386)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(484)][t(590)][t(475)](ce);this[t(638)]=!!(r&&n&&s)&&(!e||(1===this[t(459)]?i<s-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=Et();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-=111]})(t,e)}function ve(){const t=["4elqPkT","Loading...","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui__changes-navigation","set","X_OF_Y_CHANGES","860KGfcpi","439441AMPjDR","3602096joBKnX","Show previous change","368610uwGboL","forward","ck-revision-history-ui","_isStatusLabelVisible","1718975RWESxE","currentChangeNumber","setTemplate","6aETHPc","No changes","backward","numberOfChanges","1320993Nijfmx","ck-hidden","_statusText","818342uBVHUk","execute","isReady","isEnabled","isNavigationMode","ck-revision-history-ui__changes-navigation__label","span","Total","ck-revision-history-ui__changes-navigation__navigation","40AQpoaD","isBackwardNavigationEnabled","8076465iNvpQN","NUMBER_OF_CHANGES","bindTemplate","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__wrapper","div","fire","Show next change","bind"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(475997===parseInt(e(117))/1*(parseInt(e(154))/2)+parseInt(e(131))/3+parseInt(e(118))/4+parseInt(e(124))/5*(-parseInt(e(127))/6)+parseInt(e(134))/7*(parseInt(e(143))/8)+parseInt(e(145))/9+-parseInt(e(116))/10*(parseInt(e(120))/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(147)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(114)](e(138),!1),this[e(114)](e(136),!1),this[e(114)](e(125),0),this[e(114)](e(130),0),this[e(114)](e(148),!1),this[e(114)](e(144),!1),this[e(153)](e(123)).to(this,e(136),this,e(130),(t,e)=>t&&e>0),this[e(153)](e(133)).to(this,e(136),this,e(125),this,e(130),this,e(138),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(111));if(!n)return at(t,o(128));const a=at(t,o(146),n);return r?at(t,o(115),[s+1,n]):a}),s[e(114)]({label:at(t,e(119)),tooltip:!0,icon:_t.IconChevronUp}),n[e(114)]({label:at(t,e(152)),tooltip:!0,icon:_t.IconChevronDown}),s[e(153)](e(137)).to(this,e(144)),n[e(153)](e(137)).to(this,e(148)),s.on(e(135),()=>this[e(151)](e(135),e(129))),n.on(e(135),()=>this[e(151)](e(135),e(121))),this[e(126)]({tag:e(150),attributes:{class:["ck",e(122),e(113)]},children:[{tag:e(140),attributes:{class:[e(149)]},children:[{tag:e(140),attributes:{class:[e(139),i.if(e(123),e(132),t=>!t)]},children:[{text:i.to(e(138),i=>i?at(t,e(112))+": ":at(t,e(141))+": ")}]},{text:i.to(e(133))}]},new It.ToolbarSeparatorView,{tag:e(150),attributes:{class:[e(142)]},children:[s,n]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=Ie;!function(t){const e=Ie,i=t();for(;;)try{if(703653===parseInt(e(490))/1+parseInt(e(481))/2+parseInt(e(474))/3+parseInt(e(485))/4+parseInt(e(482))/5+parseInt(e(472))/6*(parseInt(e(484))/7)+parseInt(e(473))/8*(-parseInt(e(471))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const we=be(488);function _e(){const t=["roots","3618DVsliR","6esqGVG","73128RjegiQ","1655937aEeUQN","change","pluginName","hide","RevisionViewerLoadingOverlay","view","show","2287508RsRufR","4569765wntTVm","addClass","6478577GldhoJ","1247912NdywSa","isPremiumPlugin","removeClass","ck-editor__editable__loading-overlay","isOfficialPlugin","531160WYeVlv","editor","document","editing"];return(_e=function(){return t})()}function Ie(t,e){const i=_e();return(Ie=function(t,e){return i[t-=467]})(t,e)}class Se extends G.Plugin{static get[be(476)](){return be(478)}static get[be(489)](){return!0}static get[be(486)](){return!0}[be(480)](){const t=be,e=this[t(467)][t(469)][t(479)];e[t(475)](i=>{const s=t;for(const t of e[s(468)][s(470)])i[s(483)](we,t)})}[be(477)](){const t=be,e=this[t(467)][t(469)][t(479)];e[t(475)](i=>{const s=t;for(const t of e[s(468)][s(470)])i[s(487)](we,t)})}}const Oe=xe;function Te(){const t=["23645010yeJBqy","hide","commands","numberOfChanges","bind","Restore this revision","requires","restoreRevision","isPremiumPlugin","changesNavigation","244707RqUmrE","componentFactory","isOfficialPlugin","ck-revision-history-ui__back-to-editing","get","set","isForwardNavigationEnabled","628649Mrstog","pluginName","isNavigationMode","3831228ANzxNe","isBackwardNavigationEnabled","2346398iDwvqs","revisionHistory","config","189077TSMbsG","closeRevisionViewerCallback","exitToEditing","24fdrFml","isEnabled","showPreviousChange","currentChangeNumber","232266tywzWH","editor","8vbTzAr","showNextChange","add","isReady","plugins","Back to editing","init","forward","show","change:isReady","RevisionViewerUI","listenTo","170dXSMEW","execute"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=487]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(847364===parseInt(e(495))/1+-parseInt(e(500))/2+parseInt(e(488))/3*(-parseInt(e(512))/4)+parseInt(e(524))/5*(-parseInt(e(510))/6)+-parseInt(e(503))/7*(-parseInt(e(506))/8)+parseInt(e(498))/9+parseInt(e(526))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(496)](){return Oe(522)}static get[Oe(490)](){return!0}static get[Oe(534)](){return!0}static get[Oe(532)](){return[ce,Se]}[Oe(518)](){const t=Oe,e=this[t(511)],i=e[t(516)][t(492)](ce),s=e[t(516)][t(492)](Se);e.ui[t(489)][t(514)](t(505),i=>{const s=t,n=new It.ButtonView(i);return n[s(493)]({label:at(i,s(517)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(491)}),this[s(523)](n,s(525),()=>{const t=s;e[t(502)][t(492)](t(501))[t(504)]()}),n}),e.ui[t(489)][t(514)](t(533),i=>{const s=t,n=new It.ButtonView(i);return n[s(493)]({label:at(i,s(531)),withText:!0,tooltip:!0}),n[s(530)](s(507)).to(e[s(528)][s(492)](s(533))),this[s(523)](n,s(525),()=>e[s(525)](s(533))),n}),e.ui[t(489)][t(514)](t(487),s=>{const n=t,r=new ge(s),o=e[n(528)][n(492)](n(508)),a=e[n(528)][n(492)](n(513));return r[n(530)](n(499)).to(o,n(507)),r[n(530)](n(494)).to(a,n(507)),r[n(530)](n(515),n(509),n(529),n(497)).to(i),this[n(523)](r,n(525),(t,i)=>{const s=n;e[s(525)](s(519)===i?s(513):s(508))}),r}),s[t(520)](),i.on(t(521),(e,i,n)=>{const r=t;n?s[r(527)]():s[r(520)]()})}}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Et();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ee;function Ve(){const t=["clientWidth","bindTemplate","extendTemplate","1043740gOXXVi","775BNIoBl","span","_resizeObserver","listenTo","_tooltipString","element","Enter the revision name","174142LpvNDA","value","Revision name","142314QpPxPJ","96PcLzkh","53202YrllDh","31283pcSBsK","12JJSWHA","62109mWspXy","placeholder","destroy","fieldView","input","ck-tooltip_multi-line","ck-revision-history-sidebar__revision-name","10FkFtsw","set","_updateTooltipText","scrollWidth","1370237JbIIWP","render","752tjEsqZ"];return(Ve=function(){return t})()}function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=417]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(859801===parseInt(e(420))/1+parseInt(e(417))/2*(-parseInt(e(424))/3)+parseInt(e(442))/4+-parseInt(e(443))/5*(-parseInt(e(422))/6)+parseInt(e(423))/7*(parseInt(e(438))/8)+parseInt(e(425))/9*(parseInt(e(432))/10)+-parseInt(e(436))/11*(parseInt(e(421))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Me(445)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(440)];this[i(433)]({label:at(t,i(419)),_tooltipString:""}),this[i(428)][i(426)]=at(t,i(449)),this[i(441)]({tag:i(444),attributes:{class:[i(431)],"data-cke-tooltip-text":s.to(i(447)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(430)}})}[Me(437)](){const e=Me;super[e(437)](),this[e(445)]=new t.ResizeObserver(this[e(428)][e(448)],()=>this[e(434)]()),this[e(446)](this[e(428)],e(429),()=>this[e(434)]())}[Me(427)](){const t=Me;super[t(427)](),this[t(445)]&&this[t(445)][t(427)]()}[Me(434)](){const t=Me,e=this[t(428)][t(448)];this[t(447)]=e[t(435)]>e[t(439)]&&e[t(418)]||""}}var Ce=i(249),je={attributes:{"data-cke":!0}};je.setAttributes=Mt(),je.insert=Rt().bind(null,"head"),je.domAPI=xt(),je.insertStyleElement=Et();Ot()(Ce.A,je);Ce.A&&Ce.A.locals&&Ce.A.locals;function Fe(){const t=["162FROxFB","21CtePbv","ck-revision-history-sidebar__revision-author","7Bbjqos","0 0 11 10","name","ck-revision-history-sidebar__revision-author_creator","1312036EcPKjB","set","14932tmexJc","5239366MjDGEW","Revision author","6680qktzat","Revision creator","27205ASWkij","3492wQZSRy","236109JWSnGG","setTemplate","push","ck-revision-history-sidebar__revision-author__name","span","2702264aoURfM"];return(Fe=function(){return t})()}function Pe(t,e){const i=Fe();return(Pe=function(t,e){return i[t-=100]})(t,e)}!function(t){const e=Pe,i=t();for(;;)try{if(373644===parseInt(e(101))/1+parseInt(e(114))/2+-parseInt(e(108))/3*(-parseInt(e(116))/4)+parseInt(e(121))/5*(-parseInt(e(107))/6)+parseInt(e(110))/7*(parseInt(e(106))/8)+parseInt(e(100))/9*(-parseInt(e(119))/10)+-parseInt(e(117))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class Le extends It.View{constructor(t,e,i){const s=Pe;super(t);const n=new It.IconView;n[s(115)]({content:_t.IconUser,viewBox:s(111)});const r=["ck",s(109)];i&&r[s(103)](s(113));const o=[{tag:s(105),attributes:{class:["ck",s(104)],title:at(t,s(i?120:118))},children:[n,e[s(112)]]}];this[s(102)]({tag:"li",attributes:{class:r},children:o})}}function We(){var t=["84dGYqxT","17526obrqxv","toLocaleDateString","1329672OQcDeO","633115dUSxwm","122639YTtvsZ","1145mKadAM","long","16972UWYVvT","toLocaleTimeString","numeric","30dvaHrV","48VkRxJu","296149sSHpbl","195OqPQGb","2233989wNtbxj"];return(We=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=322]})(t,e)}!function(t){for(var e=ze,i=t();;)try{if(387298===parseInt(e(336))/1+parseInt(e(331))/2*(parseInt(e(337))/3)+parseInt(e(326))/4+-parseInt(e(329))/5*(parseInt(e(324))/6)+parseInt(e(327))/7*(parseInt(e(335))/8)+parseInt(e(322))/9*(-parseInt(e(334))/10)+-parseInt(e(328))/11*(-parseInt(e(323))/12))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=Et();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(){const t=["extendTemplate","isVisible","add","isEnabled","bindTemplate","ck-revision-history-sidebar__revision__actions","2025654AXtOoq","listView","action","4xpcHYU","ck-on","map","menu","first","173051mErZUZ","bind","listenTo","stopPropagation","isOpen","Show more items","Name this revision","find","1816052cIGMkO","button","2224915HcSSsj","set","children","panelPosition","buttonView","locale","isActionsDropdownOpen","model","_action","677355iCutQs","Compare against selected","source","Restore this revision","class","menuitem","change:isActionsDropdownOpen","isReady","execute","items","454779lJaABL","2500072KqjQcI","name","function"];return(He=function(){return t})()}function qe(t,e){const i=He();return(qe=function(t,e){return i[t-=323]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(257144===parseInt(e(361))/1*(parseInt(e(356))/2)+-parseInt(e(343))/3+-parseInt(e(369))/4+parseInt(e(324))/5+-parseInt(e(353))/6+parseInt(e(333))/7+parseInt(e(344))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["set","creator","ck-revision-history-sidebar__actions_dropdown_open","select","220","uiLanguage","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision__date","isSelected","isConfirm","isEnabled","value","ck-disabled","filter","name","_revision","577875WqNWrR","101976dmmSze","ck-revision-history-sidebar__revision-authors","_requireRevisionName","setTemplate","div","listenTo",".ck-thread__remove-confirm","createdAt","ck-revision-history-sidebar__revision_selected","isActionsDropdownOpen","fieldView","setName","fire","element","deselect","span","708966eSTxCF","revisionNameView","ck-revision-history-sidebar__revision_highlighted","891qliSsZ","highlight","change","from","length","bind","2555628TazEtq","unshift","bindTemplate","1279518HgouJa","86497YAhrHr","ck-revision-history-sidebar__revision__controls-wrapper","14EADtYJ","map","isReady","1307105MIUPvg","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","closest","render","authors","srcElement","revisionActionsView","ck-reset","unhighlight","extendTemplate","isHighlighted","ck-revision-history-sidebar__revision","_createdAtFormatted"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=446]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(395730===-parseInt(e(479))/1+parseInt(e(466))/2+parseInt(e(449))/3+-parseInt(e(475))/4+-parseInt(e(484))/5+parseInt(e(478))/6*(-parseInt(e(481))/7)+-parseInt(e(450))/8*(-parseInt(e(469))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(467)];[Ye(490)];[Ye(448)];[Ye(452)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(477)],a=function(t,e){const i=r,s=Array[i(472)](e[i(488)])[i(446)](t=>t!=e[i(498)]);return e[i(498)]&&s[i(476)](e[i(498)]),s[i(482)](s=>new Le(t,s,s==e[i(498)]))}(e,i);this.id=i.id,this[r(448)]=i,this[r(452)]=n,this[r(474)](r(447),r(457)).to(i),this[r(474)](r(496)).to(this,r(457),t=>{return i=e[r(502)],(s=t)[(n=ze)(325)](i,{month:n(330),day:n(333)})+", "+s[n(332)](i,{hour:n(333),minute:n(333)});var i,s,n}),this[r(497)](r(505),!1),this[r(497)](r(494),!1),this[r(497)](r(459),!1),this[r(497)](r(483),!1),this[r(497)](r(507),!1),this[r(467)]=new De(e,It.createLabeledInputText),this[r(467)][r(460)][r(493)]({attributes:{maxlength:r(501)}}),this[r(467)][r(460)][r(474)](r(508)).to(this,r(447),t=>t||this[r(496)]),this[r(467)][r(474)](r(507)).to(this,r(505),this,r(507),(t,e)=>t&&e),this[r(490)]=s&&s[r(473)]?function(e,i){const s=qe,n=e[s(351)],r=e[s(329)],o=(0,It.createDropdown)(r);o[s(327)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=qe,s=t[i(329)],n={"Compare against selected":at(s,i(334)),"Name this revision":at(s,i(367)),"Restore this revision":at(s,i(336))};return e[i(358)](t=>{const e=i,s=n[t[e(345)]];return s&&s!==t[e(345)]&&(t[e(345)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(323),model:new It.UIModel({label:t[n(345)],class:t[n(337)],withText:!0,role:n(338),_action:t[n(355)]})};i[n(331)][n(362)](n(350)).to(e,n(330),i=>n(346)!=typeof t[n(350)]||!i||t[n(350)](e)),o[n(349)](i)}return o}(e,i);return e[s(362)](s(330)).to(o,s(365)),o[s(328)][s(325)]({label:at(r,s(366)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(347)]({attributes:{class:[s(352),n.if(s(330),s(357))]},on:{click:n.to(t=>t[s(364)]())}}),o.on(s(341),t=>{const i=s;e[i(340)]&&i(346)==typeof t[i(335)][i(332)]&&t[i(335)][i(332)](e)}),(0,It.addListToDropdown)(o,a,{role:s(359)}),o[s(363)](e,s(339),(t,n,r)=>{const a=s;if(r)for(const t of o[a(354)][a(342)]){const s=t[a(326)][a(360)],n=i[a(368)](t=>t[a(355)]===s[a(332)])[a(348)];t[a(348)]=void 0===n||n(e)}}),o}(this,s):"",this[r(490)]&&this[r(490)][r(474)](r(507)).to(this),this[r(453)]({tag:r(454),attributes:{class:["ck",r(491),r(503),o.if(r(506),r(485))]},children:[{tag:r(454),attributes:{class:["ck",r(491),r(495),o.if(r(507),r(509),t=>!t),o.if(r(505),r(458)),o.if(r(494),r(468)),o.if(r(459),r(499))]},children:[this[r(467)],{tag:r(465),attributes:{class:["ck",r(504)]},children:[{text:o.to(r(496))}]},{tag:r(454),attributes:{class:["ck",r(480)]},children:[{tag:"ul",attributes:{class:["ck",r(451)]},children:a}]},this[r(490)]],on:{click:o.to(t=>{const e=r;t[e(489)][e(486)](e(456))||this[e(483)]&&this[e(507)]&&this[e(462)](e(500),{id:this.id})})}}]})}[Ye(487)](){const t=Ye;super[t(487)]();const e=this[t(467)][t(460)][t(463)];this[t(455)](e,t(471),()=>{const i=t;this[i(452)]&&!e[i(508)]||this[i(462)](i(461),{id:this.id,name:e[i(508)]}),e[i(508)]||(e[i(508)]=this[i(447)]?this[i(447)]:this[i(496)])})}[Ye(500)](){this[Ye(505)]=!0}[Ye(464)](){this[Ye(505)]=!1}[Ye(470)](){this[Ye(494)]=!0}[Ye(492)](){this[Ye(494)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class si extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Qe{}class ri extends Qe{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 Vi=null;class Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(t,e,i)}formatOffset(t,e){return nn(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 ji=new Map;class Fi extends Mi{static create(t){let e=ji.get(t);return void 0===e&&ji.set(t,e=new Fi(t)),e}static resetCache(){ji.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Pi={};const Li=new Map;function Wi(t,e={}){const i=JSON.stringify([t,e]);let s=Li.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Li.set(i,s)),s}const zi=new Map;const Ui=new Map;let Zi=null;const Hi=new Map;function qi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=zi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),zi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return zs(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Fi.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Wi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ls(s)||vs.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Zi=null,Li.clear(),zi.clear(),Ui.clear(),Hi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Qi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Wi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Wi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===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?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ls(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{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,yn,()=>{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 s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.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 s=Pi[i];return s||(s=new Intl.ListFormat(t,e),Pi[i]=s),s}(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:js()?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={...Ki,...e}),$i.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 Xi=null;class ts extends Mi{static get utcInstance(){return null===Xi&&(Xi=new ts(0)),Xi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(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 es 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 is(t,e){if(Vs(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?Ei.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||Fi.create(t)}return Es(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={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]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Ei.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ls(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Qi.resetCache(),Fi.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function Rs(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function As(t){const e=Ds(t.year),i=Ws(t.month,1,12),s=Ws(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Ws(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Ws(i,0,59),a=Ws(s,0,59),c=Ws(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Es(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function js(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Fs(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ps(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ls(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!Ws(t.firstDay,1,7)||!Ws(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Ws(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ws(t,e,i){return Ds(t)&&t>=e&&t<=i}function zs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Zs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Qs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Xs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ps(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${zs(i,2)}:${zs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${zs(i,2)}${zs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];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 ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={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 wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return zs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Tn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rn=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),An=RegExp(`(?:T${Rn.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),En=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),Dn=RegExp(`(?: ${En.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Us(s)}function jn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Hs(t[e+3])},null,e+4]}function Fn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Pn(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const Ln=RegExp(`^T?${Nn.source}$`),Wn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function zn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zs(i)),months:d(Zs(s)),weeks:d(Zs(n)),days:d(Zs(r)),hours:d(Zs(o)),minutes:d(Zs(a)),seconds:d(Zs(c),"-0"===c),milliseconds:d(Hs(u),h)}]}const Un={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zn(t,e,i,s,n,r,o){const a={year:2===e.length?Qs(Us(e)):Us(e),month:an.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Hn=/^(?:(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 qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Zn(e,n,s,i,r,o,a);let f;return f=c?Un[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(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$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Zn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Zn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,An),Qn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,An),Xn=In(/(\d{4})-?(\d{3})/,An),tr=In(Rn),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},jn,Fn,Pn),ir=Sn(Mn,jn,Fn,Pn),sr=Sn(Vn,jn,Fn,Pn),nr=Sn(jn,Fn,Pn);const rr=Sn(jn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(En),cr=Sn(jn,Fn,Pn);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 s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class 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||Qi.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 ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Es(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[Wn,zn])}(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 On(t,[Ln,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 ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.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 si(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?wn.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 Vs(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=qs(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)(Ps(e.values,t)||Ps(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]=en(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,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return 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,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Es(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Es(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return 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 ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=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,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,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 s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_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}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_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 s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}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?wn.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=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:js()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).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 s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-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 Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Er(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 jr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Lr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=jr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(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,Qs);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(s);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(n);case"u":return Er(l);case"uu":return Er(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 Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ps(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;Vs(t.z)||(i=Fi.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=Hs(t.u));const s=Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{});return[s,i,e]}(i):[null,null,void 0];if(Ps(i,"a")&&Ps(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:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Pr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const Wr="Invalid DateTime",zr=864e13;function Ur(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Os(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 s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function 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(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+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=Js(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,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=zs(t.c.year,i?6:4),e?(s+="-",s+=zs(t.c.month),s+="-",s+=zs(t.c.day)):(s+=zs(t.c.month),s+=zs(t.c.day)),s}function Xr(t,e,i,s,n,r){let o=zs(t.c.hour);return e?(o+=":",o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=zs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zs(Math.trunc(-t.o/60)),o+=":",o+=zs(Math.trunc(-t.o%60))):(o+="+",o+=zs(Math.trunc(t.o/60)),o+=":",o+=zs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const 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},so=["year","month","day","hour","minute","second","millisecond"],no=["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 si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Qi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=As(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.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);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function 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||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Es(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Qi.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Es(t))return t<-zr||t>zr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Es(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Qi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rs(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new 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||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=Ws(t.weekNumber,1,Ks(t.weekYear,e,i)),r=Ws(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=Ws(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):As(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Qn,ir],[Xn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Pr(t,e,i);return[s,n,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,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return jr(wn.parseFormat(t),Qi.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?xs(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=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=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 $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Ur(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=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=Rs(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new 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;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...xs(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={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Wr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):Wr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Xr(this,"extended"===r,e,t,i,n)}toRFC2822(){return 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?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!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 s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);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 s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}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 ni("min requires all arguments be DateTimes");return Fs(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return Fs(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Pr(Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Qi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Fr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?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 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&&Es(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=go();return(po=function(t,e){return i[t-=425]})(t,e)}function vo(t,e){const i=po,s=fo[i(442)](t)[i(430)](e),n=fo[i(427)](),r=n[i(449)]({days:1})[i(434)](i(426));let o,a;return s[i(440)](n,i(426))?(o=s[i(434)](i(426))[i(428)](),a=s[i(445)]()):s[i(440)](r,i(426))?(o=r[i(428)](),a=s[i(445)]()):s[i(440)](n,i(429))?(o=s[i(434)](i(429))[i(428)](),a=s[i(448)]||""):s[i(440)](n,i(437))?(o=s[i(434)](i(433))[i(428)](),a=s[i(439)]||""):(o=s[i(434)](i(437))[i(428)](),a=String(s[i(437)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["56736QJjpoa","632328jUpJpH","month","startOf","1912097OfwmCl","1171rhktru","year","14048824jhbMTD","monthLong","hasSame","180fsslzz","fromJSDate","852anDhcu","7sNLopV","toRelativeCalendar","370xdXarq","20jTPbBA","weekdayLong","minus","1847268krzWUw","3387860RmDolL","day","local","toJSDate","week","setLocale"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(921961===-parseInt(e(436))/1*(-parseInt(e(443))/2)+parseInt(e(450))/3+parseInt(e(425))/4+parseInt(e(447))/5*(-parseInt(e(432))/6)+-parseInt(e(444))/7*(-parseInt(e(438))/8)+parseInt(e(431))/9*(parseInt(e(446))/10)+parseInt(e(435))/11*(-parseInt(e(441))/12))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=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(){const t=["ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__revisions","span","_revisionActions","delegate","12nYMbKS","_requireRevisionName","135591hIDuAe","setName","ck-revision-history-sidebar__time-period__label","startDate","locale","find","add","554kpruEs","remove","702792aHCgHZ","createCollection","div","99sKmuXq","296dGpdOE","select","setTemplate","uiLanguage","addRevision","211144wXxyCJ","revisionViews","1078500hXojZy","localizedPeriodName","7790IAELRe","removeRevision","5401LzYAVs","841092sZvPXo"];return(bo=function(){return t})()}const wo=_o;function _o(t,e){const i=bo();return(_o=function(t,e){return i[t-=209]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(147005===-parseInt(e(222))/1*(-parseInt(e(216))/2)+-parseInt(e(209))/3*(-parseInt(e(240))/4)+-parseInt(e(229))/5+parseInt(e(218))/6+parseInt(e(234))/7+parseInt(e(227))/8*(parseInt(e(221))/9)+-parseInt(e(231))/10*(parseInt(e(233))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class Io extends It.View{[wo(212)];[wo(228)];[wo(238)];[wo(241)];constructor(t,e,i,s){const n=wo;super(t);const r=vo(e,this[n(213)][n(225)])[n(230)];this[n(212)]=e,this[n(228)]=this[n(219)](),this[n(238)]=i,this[n(241)]=s,this[n(228)][n(239)](n(223)).to(this),this[n(228)][n(239)](n(210)).to(this),this[n(224)]({tag:n(220),attributes:{class:["ck",n(235)]},children:[{tag:n(237),attributes:{class:["ck",n(211)]},children:[{text:r}]},{tag:n(220),attributes:{class:["ck",n(236)]},children:this[n(228)]}]})}[wo(226)](t){const e=wo,i=new Ke(this[e(213)],t,this[e(238)],this[e(241)]);this[e(228)][e(215)](i)}[wo(232)](t){const e=wo,i=this[e(228)][e(214)](e=>e.id===t.id);this[e(228)][e(217)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();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-=316]})(t,e)}function xo(){const t=["1173300egbSvk","1379394WPglPK","70uEMaQS","1712444fzrmtP","ck-revision-history-sidebar__header","3796044CWSfmR","div","1868rxNbRP","24eTPQYa","142yQkDTR","span","16xMwJFT","ck-reset_all","40NbWRjj","56190992jqsiPW","9edOsIb","content","setTemplate","ck-revision-history-sidebar__header__label","41129xccBkP","Revision history"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(808945===parseInt(e(334))/1*(parseInt(e(332))/2)+-parseInt(e(319))/3*(-parseInt(e(328))/4)+-parseInt(e(317))/5*(-parseInt(e(325))/6)+-parseInt(e(330))/7*(-parseInt(e(336))/8)+-parseInt(e(326))/9*(-parseInt(e(327))/10)+parseInt(e(323))/11*(-parseInt(e(333))/12)+-parseInt(e(318))/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(320)]=_t.IconHistory,this[e(321)]({tag:e(331),attributes:{class:["ck",e(316),e(329)]},children:[i,{tag:e(335),attributes:{class:["ck",e(322)]},children:[at(t,e(324))]}]})}}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Et();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Eo;function Vo(){const t=["map","8UqajMW","setTemplate","ck-revision-history-sidebar","bindTemplate","add","createCollection","getTime","_revisionActions","addRevision","10RghASN","highlightRevisions","div","unhighlight","timePeriodViews","set","578958HiQBuV","get","flat","highlight","3135ZaYjcx","6279273djdpXr","deselect","_requireRevisionName","startDate","ck-reset","6004WQbjgL","select","ck-revision-history-sidebar__timeline","setName","_addRevision","revisionSelected","uiLanguage","find","render","createdAt","selectRevision","delegate","_revisions","locale","_getTimePeriodViewByStartDate","removeRevision","5474909dbYcVk","remove","2DUiUcZ","2506818OmJVgo","revisionSetName","_removeRevision","isEnabled","ck-rounded-corners","1019752RWBGnM","some","ck-disabled","fire","2711072AobKTn","revisionViews"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=469]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(661928===parseInt(e(470))/1+-parseInt(e(520))/2*(-parseInt(e(492))/3)+parseInt(e(502))/4*(-parseInt(e(496))/5)+-parseInt(e(521))/6+-parseInt(e(474))/7+parseInt(e(477))/8*(parseInt(e(497))/9)+parseInt(e(486))/10*(parseInt(e(518))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(490)];[Mo(514)];[Mo(484)];[Mo(499)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(480)];this[n(490)]=this[n(482)](),this[n(490)][n(513)](n(503)).to(this),this[n(490)][n(513)](n(505)).to(this),this[n(514)]=e,this[n(484)]=i,this[n(499)]=s,this.on(n(503),(t,e)=>{const i=n;this[i(473)](i(507),e)}),this.on(n(505),(t,e)=>{const i=n;this[i(473)](i(522),e)}),this[n(491)](n(524),!1),this[n(478)]({tag:n(488),attributes:{class:["ck",n(501),n(469),n(479)]},children:[new No(t),{tag:n(488),attributes:{class:["ck",n(504),r.if(n(524),n(472),t=>!t)]},children:this[n(490)]}]})}[Mo(510)](){const t=Mo;super[t(510)]();for(const e of this[t(514)])this[t(506)](e);this[t(514)].on(t(481),(e,i)=>{this[t(506)](i)}),this[t(514)].on(t(519),(e,i)=>{this[t(523)](i)})}get[Mo(475)](){const t=Mo;return this[t(490)][t(476)](e=>e[t(475)][t(476)](t=>t))[t(494)]()}[Mo(512)](t){const e=Mo;for(const i of this[e(475)])t&&t.id===i.id?i[e(503)]():i[e(498)]()}[Mo(487)](t){const e=Mo;for(const i of this[e(475)])t[e(471)](({id:t})=>t===i.id)?i[e(495)]():i[e(489)]()}[Mo(506)](t){const e=Mo,i=vo(t[e(511)],this[e(515)][e(508)])[e(500)];let s=this[e(490)][e(493)](0);s&&s[e(500)][e(483)]()===i[e(483)]()||(s=new Io(this[e(515)],i,this[e(484)],this[e(499)]),this[e(490)][e(481)](s)),s[e(485)](t)}[Mo(523)](t){const e=Mo,i=vo(t[e(511)],this[e(515)][e(508)])[e(500)];this[e(516)](i)[e(517)](t)}[Mo(516)](t){const e=Mo;return this[e(490)][e(509)](i=>i[e(500)][e(483)]()===t[e(483)]())}}const Co=jo;function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=449]})(t,e)}function Fo(){const t=["49304yPIjza","diff","_revisionViewer","data","map","highlightRevisions","availableRevisionActions","restoreRevisionCallback","_handleRevisionSelected","fieldView","select","_createRevisionActions","6034876zSTHAC","restoreRevision","8201942YkyJlp","isOfficialPlugin","config","Name this revision","get","plugins","repository","1143CMhaaU","_revisionsRepository","string","action","revisionHistory.requireRevisionName","getEarlierVisibleRevision","isEnabled","bind","change:diff","length","revisionHistory.revisionActions","compareAgainstSelected","setName","getLaterVisibleRevision","2274ShCYoX","1562930YGFQDF","isSelected","_sidebarView","revisionSetName","render","init","appendChild","assign","timePeriodViews","add","revisionHistory","newRevisionId","ready","getRevisionsInDiff","_handleRevisionSetName","7235NQktoC","166EfggGy","revisionViews","_revisions","_handleEditorDataReady","locale","editor","Compare against selected","revisionSelected","nameRevision","name","pluginName","30858BGtWvH","destroy","RevisionsSidebar","isReady","revisionHistory.viewerSidebarContainer","45592530lGePOU","isPremiumPlugin","getRevision","Restore this revision","requires","element","remove","isVisible","_handleDiffChange","compare","focus","defaultRevisionActions","listenTo","getIndex","selectRevision"];return(Fo=function(){return t})()}!function(t){const e=jo,i=t();for(;;)try{if(935348===-parseInt(e(485))/1+-parseInt(e(501))/2*(-parseInt(e(512))/3)+-parseInt(e(461))/4+-parseInt(e(500))/5*(-parseInt(e(484))/6)+-parseInt(e(463))/7+parseInt(e(449))/8*(-parseInt(e(470))/9)+parseInt(e(517))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends G.Plugin{[Co(451)];[Co(471)];[Co(487)];static[Co(528)]=[Co(481),Co(462),Co(509)];static[Co(455)]=function(){const t=Co;return{compareAgainstSelected:{name:t(507),action:({plugins:e},i)=>{const s=t,n=e[s(467)](ce),r=n[s(469)];let o=n[s(450)][s(496)],a=i.id;r[s(530)](o)>r[s(530)](a)&&([o,a]=[a,o]),n[s(526)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(467)](ce);return!(n[s(469)][s(498)](n[s(450)])[s(479)]>2||i[s(486)])}},restoreRevision:{name:t(520),action:(e,{id:i})=>{const s=t;e[s(465)][s(467)](s(495))[s(456)](i)},isVisible:({plugins:e},i)=>!!e[t(467)](ce)[t(469)][t(483)](i.id)},nameRevision:{name:t(466),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(467)](ce),o=r[n(469)][n(475)](i);r[n(526)](i,o),s[n(527)](),s[n(458)][n(459)]()}}}}();static get[Co(511)](){return Co(514)}static get[Co(464)](){return!0}static get[Co(518)](){return!0}static get[Co(521)](){return[ce]}constructor(t){const e=Co;super(t),this[e(451)]=t[e(468)][e(467)](ce),this[e(471)]=this[e(451)][e(469)],this[e(487)]=null}[Co(490)](){const t=Co,e=this[t(471)][t(503)],i=this[t(460)](),s=this[t(506)][t(465)][t(467)](t(516));this[t(487)]=new Do(this[t(506)][t(505)],e,i,this[t(506)][t(465)][t(467)](t(474))),this[t(487)].on(t(508),this[t(457)][t(477)](this)),this[t(487)].on(t(488),this[t(499)][t(477)](this)),this[t(487)][t(477)](t(476)).to(this[t(451)]),this[t(487)][t(493)].on(t(494),(e,i)=>{const s=t;i[s(502)].on(s(494),(t,e)=>{const i=s;e[i(477)](i(476),i(515)).to(this[i(451)])})}),this[t(487)][t(489)](),this[t(529)](this[t(506)][t(452)],t(497),this[t(504)][t(477)](this)),this[t(529)](this[t(451)],t(478),this[t(525)][t(477)](this)),s[t(491)](this[t(487)][t(522)])}[Co(513)](){const t=Co;this[t(487)][t(522)][t(523)](),this[t(487)][t(513)]()}[Co(504)](){const t=Co,e=this[t(471)][t(519)](0);if(e){const i=this[t(471)][t(475)](e.id);this[t(451)][t(526)](e,i)}}[Co(457)](t,e){const i=Co,s=this[i(471)][i(519)](e.id),n=this[i(471)][i(475)](s.id);this[i(451)][i(526)](s,n)}[Co(499)](t,e){const i=Co;this[i(471)][i(519)](e.id)[i(482)](e[i(510)])}[Co(525)](t,e,i){const s=Co,n=this[s(471)][s(498)](i);n[s(479)]>2?(this[s(487)][s(454)](n),this[s(487)][s(531)](null)):(this[s(487)][s(454)]([]),this[s(487)][s(531)](n[0]))}[Co(460)](){const t=Co,e=this[t(506)],i=Po[t(455)],s=e[t(465)][t(467)](t(480))||Po[t(528)];if(s[t(479)])return s[t(453)](s=>{const n=t,r=n(472)==typeof s?Object[n(492)]({},i[s]):s;return r[n(473)]=r[n(473)][n(477)](this,e),r[n(524)]&&(r[n(524)]=r[n(524)][n(477)](this,e)),r})}}function Lo(t,e){const i=zo();return(Lo=function(t,e){return i[t-=103]})(t,e)}const Wo=Lo;function zo(){const t=["componentFactory","toolbar","8EfnMOH","_view","destroy","487122XCDyDY","editable","fire","bind","view","render","limiterElement","init","18007fPcWCZ","config","attachDomRoot","name","restore","rootName","editor","addToolbar","editing","detachDomRoot","ready","100ReCvsi","1572870JOiIgb","fillFromConfig","3oixWlc","get","1278014qHFDLe","1900szHfkO","document","6360uHFTNZ","5405IQSRDo","7511399dcTmkw","replace","_initToolbar","_elementReplacer","1664199qibaZE","viewportTopOffset","element","viewportOffset","setEditableElement","_toolbarConfig","stickyPanel","getRoot","isActive","focusTracker","isFocused"];return(zo=function(){return t})()}!function(t){const e=Lo,i=t();for(;;)try{if(983238===-parseInt(e(107))/1+-parseInt(e(111))/2*(parseInt(e(109))/3)+-parseInt(e(112))/4*(parseInt(e(115))/5)+-parseInt(e(136))/6+parseInt(e(116))/7*(parseInt(e(133))/8)+parseInt(e(120))/9*(parseInt(e(106))/10)+parseInt(e(144))/11*(parseInt(e(114))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Wo(134)];[Wo(125)];[Wo(119)];get[Wo(140)](){return this[Wo(134)]}constructor(e,i){const s=Wo;super(e),this[s(134)]=i,this[s(125)]=(0,It.normalizeToolbarConfig)(e[s(145)][s(110)](s(132))),this[s(119)]=new t.ElementReplacer}get[Wo(122)](){const t=Wo;return this[t(140)][t(122)]}[Wo(143)](t){const e=Wo,i=this[e(150)],s=this[e(140)],n=i[e(103)][e(140)],r=s[e(137)],o=n[e(113)][e(127)]();r[e(147)]=o[e(149)],s[e(141)]();const a=r[e(122)];this[e(124)](r[e(147)],a),s[e(137)][e(139)](e(130)).to(this[e(129)]),n[e(146)](a),this[e(119)][e(117)](t,this[e(122)]),this[e(118)](),this[e(138)](e(105))}[Wo(135)](){const t=Wo;super[t(135)]();const e=this[t(140)],i=this[t(150)][t(103)][t(140)];this[t(119)][t(148)](),i[t(104)](e[t(137)][t(147)]),e[t(135)]()}[Wo(118)](){const t=Wo,e=this[t(140)];e[t(126)][t(139)](t(128)).to(this[t(129)],t(130)),e[t(126)][t(142)]=e[t(122)],e[t(126)][t(139)](t(121)).to(this,t(123),({top:t})=>t),e[t(132)][t(108)](this[t(125)],this[t(131)]),this[t(151)](e[t(132)])}}var Zo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=Rt().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Et();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;function qo(t,e){var i=Yo();return(qo=function(t,e){return i[t-=343]})(t,e)}var $o=qo;!function(t){for(var e=qo,i=t();;)try{if(385706===parseInt(e(345))/1+-parseInt(e(346))/2*(-parseInt(e(356))/3)+-parseInt(e(352))/4*(-parseInt(e(357))/5)+-parseInt(e(355))/6+-parseInt(e(359))/7*(-parseInt(e(350))/8)+parseInt(e(354))/9+-parseInt(e(344))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);class Bo extends It.BoxedEditorUIView{[$o(362)];[$o(347)];[$o(351)];get[$o(349)](){return this[$o(362)]}constructor(t,e,i={}){var s=$o;super(t),this[s(347)]=new It.StickyPanelView(t),this[s(351)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(361)]}),this[s(362)]=new It.InlineEditableUIView(t,e)}[$o(358)](){var t=$o;super[t(358)](),this[t(347)][t(353)][t(348)](this[t(351)]),this[t(360)][t(348)](this[t(347)]),this[t(343)][t(348)](this[t(349)])}}function Yo(){var t=["3543400oxFXOh","toolbar","3061340eaBAQp","content","5950296kkjlXf","2581254pkUtId","30654eFWFFh","5uXnmSw","render","7cAAAOY","top","shouldToolbarGroupWhenFull","_editable","main","15719300jNhecU","17759JvRzBF","98KrJJLl","stickyPanel","add","editable"];return(Yo=function(){return t})()}function Jo(t,e){const i=Qo();return(Jo=function(t,e){return i[t-=188]})(t,e)}const Go=Jo;!function(t){const e=Jo,i=t();for(;;)try{if(768690===-parseInt(e(205))/1+parseInt(e(190))/2+parseInt(e(213))/3*(parseInt(e(216))/4)+parseInt(e(193))/5*(-parseInt(e(199))/6)+-parseInt(e(202))/7*(-parseInt(e(211))/8)+-parseInt(e(192))/9*(-parseInt(e(204))/10)+parseInt(e(207))/11*(parseInt(e(212))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qo);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Go(200)];get ui(){return this[Go(200)]}constructor(t,e){const i=Go;super(e),this[i(201)]=t,this[i(210)][i(208)][i(189)]();const s=new Bo(this[i(217)],this[i(209)][i(218)],{shouldToolbarGroupWhenFull:!0});this[i(200)]=new Uo(this,s)}[Go(203)](){const t=Go;return this[t(188)](),this.ui[t(203)](),super[t(203)]()}static async[Go(196)](t,e){const i=Go,s=new this(t,e);return await s[i(214)](),await s.ui[i(197)](t),await s[i(206)][i(197)](s[i(191)][i(195)](i(198))||""),s[i(194)](i(215)),s}}function Qo(){const t=["create","init","initialData","5442978TcjhUG","_ui","sourceElement","7dEkrph","destroy","410vfxmOU","1359759zbnhvh","data","7799hDEwAT","document","editing","model","6500728rYJSgH","300WTtQPe","259338HMTfnj","initPlugins","ready","32vPZVOC","locale","view","updateSourceElement","createRoot","1083646LVPMCu","config","213345psWPBe","5wYuiqr","fire","get"];return(Qo=function(){return t})()}const Xo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=106]})(t,e)}function ea(){const t=["parse","requires","create","markers","removeAttribute","uiLanguage","revisionHistory.restoreRevisionCallback","RestrictedEditingMode","setAttribute","revisionHistory.viewerContainer","block","define","refreshPositioning","save","has","isAttached","4ijnCnt","saveRevision","refreshVisibility","users","Users","createRangeIn","_showRevisionViewer","RevisionHistoryUtils","result","6889824IULCYt","Dialog","hide","fromCharCode","error","5099475pgkwfq","remove","revisionHistory.requireRevisionName","long","init","revisionHistory.showRevisionViewerCallback","Restored","push","isPremiumPlugin","changesNavigation","repository","toVersion","view","revisionHistory.editorContainer","toolbar","getMarkersGroup","isOfficialPlugin","getAttributeKeys","change","showRevisionViewerCallback","style","revisionHistory.viewerEditorElement","getRoot","from","getRevisionDocumentData","keys","revision-history-missing-configuration","enableReadOnlyMode","end","11155160UbKQZE","revision-history-viewer-opened","then","disableReadOnlyMode","removeMarker","isEnabled","display","addRevisionData","getRevisions","DocumentOutline","_enhanceCloseRevisionViewerCallback","element","getUser","name","map","_recalculatePageBreaks","config","get","_update","indexOf","addUser","isRevisionViewerOpen","fromVersion","catch","RevisionHistory","lazyRoots","numeric","restoreRevision","adapter","_viewerEditor","destroy","creator","selection","Annotations","toJSON","_enhanceShowRevisionViewerCallback","enqueueChange","join","plugins","closeRevisionViewerCallback","_restoreRevision","set","includes","bind","roots","exitToEditing","toLocaleDateString","rootName","toLocaleTimeString","RevisionViewerIntegration","isReady","_closeRevisionViewer","createdAt","commands","locale","revisionHistory.closeRevisionViewerCallback","editor","getRevisionRootsAttributes","60neejoN","RevisionTracker","setSelection","683566ilamjH","Autosave","restrictedEditingException","102fUCepl","isReadOnly","document","pluginName","RevisionHistoryUI","addRoot","translations","RevisionsRepository","detachRoot","insert","revisionHistory","isOpen","$graveyard","loadRevisionData","RevisionViewer","isAnonymous","DocumentOutlineUI","removeSelectionAttribute","none","data","_getRevisionViewerEditorConfig","5778LzJWEI","update","206ILlSXV","model","2486957QrmNIU","_cleanUp","28378iqNxNe","PaginationLookup","getRevision"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(846338===parseInt(e(198))/1+parseInt(e(224))/2*(-parseInt(e(222))/3)+parseInt(e(247))/4*(parseInt(e(108))/5)+parseInt(e(201))/6*(parseInt(e(228))/7)+parseInt(e(137))/8+-parseInt(e(256))/9+-parseInt(e(195))/10*(parseInt(e(226))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Xo(205),Xo(238)];class sa extends G.Plugin{[Xo(255)];static get[Xo(204)](){return Xo(186)}static get[Xo(124)](){return!0}static get[Xo(116)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(151)](t=>String[e(106)](t))[e(174)]("")}super(t),this[e(255)]=e(136),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 na extends G.Plugin{[Xo(166)];static get[Xo(204)](){return Xo(161)}static get[Xo(124)](){return!0}static get[Xo(116)](){return!0}static get[Xo(232)](){return[vt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(193)][i(153)][i(154)](i(211)))throw new t.CKEditorError(i(134),this);this[i(166)]=null,this[i(178)](i(158),!1),this[i(193)][i(153)][i(242)](i(113),t=>this[i(253)]({...t,translations:this[i(193)][i(191)][i(207)]})),this[i(193)][i(153)][i(242)](i(192),t=>this[i(188)](t)),this[i(193)][i(153)][i(242)](i(237),t=>this[i(177)](t)),this[i(193)][i(153)][i(242)](i(110),!1),this[i(172)](),this[i(147)]()}set[Xo(165)](t){const e=Xo;this[e(193)][e(175)][e(154)](e(196))[e(165)]=t}get[Xo(165)](){const t=Xo;return this[t(193)][t(175)][t(154)](t(196))[t(165)]}[Xo(144)](t){const e=Xo;return this[e(193)][e(175)][e(154)](e(196))[e(144)](t)}[Xo(230)](t){const e=Xo;return this[e(193)][e(175)][e(154)](e(208))[e(230)](t)}[Xo(145)](t){const e=Xo;return this[e(193)][e(175)][e(154)](e(208))[e(145)](t||{toJSON:!1})}[Xo(221)](){const e=Xo,i=this[e(193)],s=(0,K.sanitizeEditorConfig)(i,ia),n=i[e(175)][e(154)](e(196)),r=i[e(175)][e(154)](e(251))[e(250)];return s[e(122)]=[e(182),e(164),e(117)],delete s[e(162)],s[e(175)][e(115)](sa,ce,Ne,class extends G.Plugin{static get[e(232)](){return[ce,e(251)]}[e(112)](){const s=e,o=this[s(193)][s(175)][s(154)](s(251));for(const t of r)t[s(216)]||o[s(149)](t.id)||o[s(157)](t);const a=n[s(118)][s(145)]();let c=null;const u=this[s(193)][s(175)][s(154)](s(215));u[s(165)]=n[s(165)],u[s(180)](s(142)).to(n),this[s(193)][s(190)][s(154)](s(164))[s(180)](s(142)).to(i,s(202),t=>!t);for(const e of a){const i=null===e[s(168)];if(i&&e[s(119)]===e[s(159)])continue;const r=e[s(171)]();u[s(144)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(155)](r,o);else if(!o){const e=a[u(171)]();e.id=(0,t.uid)(),n[u(248)](e,a[u(119)])[u(139)](t=>{c=t})}}else e[u(155)](r,o)})}}},Po),s}[Xo(172)](){const t=Xo,e=this[t(193)][t(153)][t(154)](t(211))[t(127)];this[t(193)][t(153)][t(178)](t(113),async()=>{const i=t;this[i(193)][i(135)](i(138));const s=this[i(193)][i(175)][i(154)](i(196));if(this[i(193)][i(175)][i(245)](i(199))){const t=this[i(193)][i(175)][i(154)](i(199));await t[i(244)]()}else await s[i(223)]();if(this[i(193)][i(175)][i(245)](i(229))&&this[i(193)][i(175)][i(154)](i(229))[i(152)](),this[i(193)][i(175)][i(245)](i(257))){const t=this[i(193)][i(175)][i(154)](i(257));t[i(212)]&&t[i(258)]()}const n=this[i(221)]();return e(n)[i(139)](t=>{const e=i;return this[e(166)]=t,this[e(193)][e(175)][e(245)](e(170))&&this[e(193)][e(175)][e(154)](e(170))[e(249)](),this[e(193)][e(175)][e(245)](e(146))&&(this[e(193)][e(175)][e(154)](e(217))[e(120)][e(148)][e(128)][e(143)]=e(219)),t})[i(160)](t=>(console[i(107)](t),this[i(193)][i(140)](i(138)),null))})}[Xo(147)](){const t=Xo,e=this[t(193)][t(153)][t(154)](t(211))[t(176)];this[t(193)][t(153)][t(178)](t(192),()=>(this[t(193)][t(175)][t(245)](t(229))&&this[t(193)][t(175)][t(154)](t(229))[t(152)](),this[t(193)][t(175)][t(245)](t(146))&&(this[t(193)][t(175)][t(154)](t(217))[t(120)][t(148)][t(128)][t(143)]=""),this[t(166)][t(175)][t(154)](t(215))[t(227)](),e(this[t(166)])[t(139)](()=>{const e=t;if(this[e(193)][e(140)](e(138)),this[e(166)]=null,this[e(193)][e(175)][e(245)](e(170))){const t=this[e(193)][e(175)][e(154)](e(170));t[e(249)](),t[e(243)]()}})))}[Xo(253)](t){const e=Xo,i=this[e(193)][e(153)][e(154)](e(121)),s=this[e(193)][e(153)][e(154)](e(240)),n=this[e(193)][e(153)][e(154)](e(129));return Ko[e(233)](n,t)[e(139)](t=>(s[e(128)][e(143)]=e(241),i[e(128)][e(143)]=e(219),this[e(158)]=!0,t))}[Xo(188)](t){const e=Xo,i=this[e(193)][e(153)][e(154)](e(121));return this[e(193)][e(153)][e(154)](e(240))[e(128)][e(143)]=e(219),i[e(128)][e(143)]="",this[e(158)]=!1,t[e(167)]()}async[Xo(177)](t){const e=Xo,i=this[e(193)],s=this[e(166)][e(175)][e(154)](e(215)),n=i[e(175)][e(154)](e(196)),r=i[e(175)][e(154)](e(254)),o=s[e(118)][e(230)](t);let a,c,u;try{await r[e(214)](o,this[e(165)]),a=r[e(132)](o),c=r[e(194)](o)}catch(t){return void console[e(107)](t)}i[e(225)][e(126)](t=>{const s=e;for(const e of Array[s(131)](i[s(225)][s(234)][s(123)](s(200))))t[s(141)](e)}),s[e(187)]=!1,i[e(225)][e(173)](t=>{const s=e;t[s(197)](null),t[s(218)](i[s(225)][s(203)][s(169)][s(125)]());const n=Object[s(133)](a);for(const e of i[s(225)][s(203)][s(181)])s(213)!=e[s(184)]&&e[s(246)]()&&!n[s(179)](e[s(184)])&&t[s(209)](e);for(const e of n){let n=i[s(225)][s(203)][s(130)](e);n&&n[s(246)]()||(n=t[s(206)](e));const r=c[e],o=Object[s(133)](r),u=a[e];for(const e of n[s(125)]())o[s(179)](e)||t[s(235)](e,n);for(const i of o)t[s(239)](i,c[e][i],n);t[s(109)](t[s(252)](n)),t[s(210)](i[s(220)][s(231)](u,n),n,0)}});const l=at(i[e(191)],e(114));return u=o[e(150)]?-1==o[e(150)][e(156)](l)?l+": "+o[e(150)]:o[e(150)]:l+": "+o[e(189)][e(183)](i[e(191)][e(236)],{month:e(111),day:e(163)})+", "+o[e(189)][e(185)](i[e(191)][e(236)],{hour:e(163),minute:e(163)}),await n[e(248)]({name:u}),s[e(187)]=!0,i[e(153)][e(154)](e(211))[e(176)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=186]})(t,e)}function oa(){var t=["733275xyvRLl","18045CEIeFu","840wWcHVd","56bOfuHY","6226150fCQJtM","3573dVFqRO","6613178zSCXpt","71099nYmksA","1PaGmgf","40058NJBhBA","848qOCZlq"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(348846===-parseInt(e(193))/1*(-parseInt(e(194))/2)+-parseInt(e(190))/3*(-parseInt(e(195))/4)+parseInt(e(186))/5*(-parseInt(e(187))/6)+-parseInt(e(192))/7+-parseInt(e(188))/8*(-parseInt(e(196))/9)+parseInt(e(189))/10+-parseInt(e(191))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>le,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>he});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,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 V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(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 L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.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 W(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&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(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])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(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?H(e)?Z(t,W(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 $=Y;function B(){const t=["setName","4497038RvmVUR","model","createdAt","fire","532fCtjXh","map","set","toJSON","69592euwqxS","creatorId","creator","name","420666HpVqYh","910628bqfsmh","removeAttribute","2811dzqjEV","attributes","18TkavES","fromVersion","_update","setAttribute","diffData","authorsIds","authors","4274205amCQqY","toVersion","13731824cJZmjM"];return(B=function(){return t})()}function Y(t,e){const i=B();return(Y=function(t,e){return i[t-=240]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(688302===-parseInt(e(244))/1+parseInt(e(263))/2*(-parseInt(e(246))/3)+-parseInt(e(267))/4+-parseInt(e(255))/5+-parseInt(e(243))/6+-parseInt(e(259))/7+parseInt(e(257))/8*(parseInt(e(248))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(B);class J extends((0,t.ObservableMixin)()){id;[$(241)];[$(254)];[$(252)];[$(256)];[$(249)];[$(260)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(241)]=e[i(241)]||null,this[i(254)]=e[i(254)]||[],this[i(252)]=e[i(252)]||null,this[i(256)]=e[i(256)]||0,this[i(249)]=e[i(249)]||0,this[i(265)](i(242),e[i(242)]||""),this[i(265)](i(261),e[i(261)]||new Date),this[i(265)](i(247),e[i(247)]||{})}[$(258)](t){this[$(250)]({name:t})}[$(251)](t,e){const i=$,n=A(this[i(247)]);U(n,t,e),this[i(250)]({attributes:n})}[$(245)](t){const e=$,i=A(this[e(247)]);(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]&&H(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(250)]({attributes:i})}[$(250)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(242),i(261),i(252),i(254),i(247),i(256),i(249),i(240)];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(254)]&&(s[i(253)]=s[i(254)][i(264)](t=>t.id),delete s[i(254)]),this[i(262)](i(250),s,e))}[$(266)](){const t=$;return{id:this.id,name:this[t(242)],creatorId:this[t(241)]?this[t(241)].id:null,authorsIds:this[t(254)][t(264)](t=>t.id),diffData:this[t(252)],createdAt:this[t(261)],attributes:this[t(247)],fromVersion:this[t(249)],toVersion:this[t(256)]}}}var G=i(782),K=i(211),X=i(783);const Q=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=362]})(t,e)}function et(){const t=["365wQevVw","map","name","fromCharCode","711570zrtNzF","getEarlierVisibleRevision","diffData","690345hnwTWR","data","plugins","getRevisionsInDiff","_revisions","1922480gqTnji","get","getRevisions","oldRevisionId","isOfficialPlugin","authorsIds","afterInit","href","221193gipnzZ","isNaN","earlier","join","attributes","510247Ykzhpn","reverse","createdAt","pluginName","toVersion","toJSON","add","Users","isPremiumPlugin","2532rubaht","from","createRevision","fromVersion","length","14wljNiN","RevisionsRepository","getLaterVisibleRevision","editor","7dshpsu","push","requires","addRevision","getIndex","newRevisionId","creatorId","getUser","getRevisionsIterator","9968110yqlROX","getRevision","later"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(357962===parseInt(e(412))/1+parseInt(e(371))/2*(parseInt(e(407))/3)+parseInt(e(366))/4*(parseInt(e(387))/5)+-parseInt(e(391))/6*(-parseInt(e(375))/7)+parseInt(e(399))/8+-parseInt(e(394))/9+-parseInt(e(384))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[Q(398)];static get[Q(377)](){return[K.Users]}static get[Q(415)](){return Q(372)}static get[Q(403)](){return!0}static get[Q(365)](){return!0}get[Q(370)](){const t=Q;return this[t(398)][t(370)]}constructor(e){const i=Q;super(e),this[i(398)]=new t.Collection}[Q(405)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),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(408)](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([115]);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(388)](t=>String[e(390)](t))[e(410)]("")}!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:1757462400;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(406)]);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(368)](t){const e=Q,i=this[e(374)][e(396)][e(400)](e(364));return new J({id:t.id,name:t[e(389)],creator:t[e(381)]?i[e(382)](t[e(381)]):null,diffData:t[e(393)]||t[e(395)],authors:t[e(404)][e(388)](t=>i[e(382)](t)),createdAt:new Date(t[e(414)]),attributes:t[e(411)],fromVersion:t[e(369)],toVersion:t[e(416)]})}[Q(378)](t,e=0){const i=Q;this[i(398)][i(363)](t,e)}[Q(385)](t){const e=Q;return this[e(398)][e(400)](t)}[Q(401)](t={toJSON:!1}){const e=Q,i=Array[e(367)](this[e(398)]);return i[e(413)](),t[e(362)]?i[e(388)](t=>t[e(362)]()):i}[Q(379)](t){const e=Q;return this[e(398)][e(379)](t)}[Q(392)](t){const e=Q,[,i]=this[e(383)](t,{direction:e(409)});return i}[Q(373)](t){const e=Q,[,i]=this[e(383)](t,{direction:e(386)});return i}[Q(397)](t){const e=Q,i=[];for(const n of this[e(383)](t[e(380)]))if(i[e(376)](n),n.id===t[e(402)])break;return i}*[Q(383)](t,{direction:e=Q(409),filter:i=()=>!0}={}){const n=Q,s=n(409)===e?1:-1;let r=this[n(398)][n(400)](t),o=this[n(379)](r);for(yield r;r;){if(o+=s,r=this[n(385)](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-=429]})(t,e)}function rt(){const t=["4622uPreKT","string","name","map","_setCustomProperty","attachChange","processor","customProperties","div","_removeRevisionMarkers","editing","getRevisionRootsAttributes","getRevision","data-revision-","insertions","get","config","isPremiumPlugin","default","415590kyKDKj","isAttached","domConverter","4tdguKS","533144bZUxTw","constructor","view","parse","205473EcKmUx","37gfKase","401282mKduQb","length","viewChildrenToDom","marked","4505370OpCvOc","render","toData","_appendChild","createElement","RevisionHistoryUtils","collaboration.channelId","forEach","diffData","startsWith","_viewClassToTypeChar","attributes","childNodes","useFillerType","revision-start","_getTypeCharForViewElement","isOfficialPlugin","27SZTLqt","revision-end","filter","_makeModelFromViewString","fillerOffset","pluginName","domChildrenToView","getRevisionDocumentData","data","innerHTML","attributesAfter","getFillerOffset","from","children","editor","toModel","loadRevisionData","append","document","1126370IUQBts","_getViewFromDiffObj","_typeCharToViewClass","domDocument","htmlProcessor","type"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(144603===parseInt(e(502))/1*(-parseInt(e(474))/2)+-parseInt(e(501))/3+-parseInt(e(496))/4*(parseInt(e(468))/5)+-parseInt(e(493))/6+-parseInt(e(503))/7+-parseInt(e(497))/8*(-parseInt(e(449))/9)+parseInt(e(432))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[nt(454)](){return nt(437)}static get[nt(448)](){return!0}static get[nt(491)](){return!0}[nt(442)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(470)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(465)](t,e){const i=nt;if(t[i(440)]||!e)return;const n=this[i(463)][i(490)][i(489)](i(438)),s=await e[i(486)]({channelId:n,revisionId:t.id});t[i(440)]=s[i(440)]}[nt(456)](t){const e=nt,i={};for(const n in t[e(440)]){if(t[e(440)][n][e(479)]&&!t[e(440)][n][e(479)][e(494)])continue;const s=this[e(483)](JSON[e(500)](t[e(440)][n][e(488)])),r=this[e(463)][e(484)][e(499)][e(467)],o=new X.ViewDocumentFragment(r,s[e(477)](t=>this[e(469)](t,!1)));this[e(463)][e(457)][e(480)][e(445)](e(431)),i[n]=this[e(463)][e(457)][e(480)][e(434)](o),this[e(463)][e(457)][e(480)][e(445)](e(492))}return i}[nt(485)](t){const e=nt,i={};for(const n in t[e(440)])t[e(440)][n][e(479)]&&!t[e(440)][n][e(479)][e(494)]||(i[n]=t[e(440)][n][e(459)]||{});return i}[nt(447)](t){const e=nt;return this[e(442)][e(489)](t[e(498)])}[nt(469)](t,e){const i=nt,n=this[i(463)][i(484)][i(499)][i(467)];if(i(475)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(473)]||"r"==t[i(473)]?[]:t[i(462)][i(477)](t=>this[i(469)](t,e));const o=this[i(470)][i(489)](t[i(473)])||X.ViewElement,a=this[i(463)][i(457)][i(472)][i(495)];if(s=new o(n,t[i(476)],t[i(443)],r),"u"==t[i(473)]&&t[i(462)][0]){const r=t[i(462)][0];if(s[i(433)]=function(t){const e=i,n=t[e(436)](e(482));return n[e(458)]=r,n[e(444)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(435)](s);const e=Array[i(461)](a[i(430)](t,{bind:!1})),r=a[i(471)][i(436)](i(482));r[i(466)](...e),s=Array[i(461)](a[i(455)](r))[0]}}else if("r"==t[i(473)]&&t[i(462)][0]){const r=t[i(462)][0];if(s[i(433)]=function(t){t[i(458)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(435)](s);const e=Array[i(461)](a[i(430)](t,{bind:!1})),r=a[i(471)][i(436)](i(482));r[i(466)](...e);const o=Array[i(461)](a[i(455)](r));o[i(429)]>1?s[i(435)](o):s=o[0]}}if(t[i(481)])for(const[e,n]of t[i(481)])s[i(478)](e,n);const c=void 0===t[i(453)]?null:t[i(453)];return null!==c&&(s[i(460)]=()=>c),s}}[nt(452)](t){const e=nt,i=JSON[e(500)](t),n=this[e(463)][e(484)][e(499)][e(467)],s=new X.ViewDocumentFragment(n,i[e(477)](t=>this[e(469)](t,!0)));return this[e(463)][e(457)][e(464)](s)}[nt(483)](t){const e=nt;return(t=t[e(451)](t=>!t[e(476)]||e(446)!==t[e(476)]&&e(450)!==t[e(476)]))[e(439)](t=>{const i=e;i(475)!=typeof t&&(t[i(462)]=this[i(483)](t[i(462)]),t[i(443)]=t[i(443)][i(451)](t=>!t[0][i(441)](i(487))))}),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 V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const A=(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)}const ft=pt;function mt(){const t=["documentFragment","range","Initial revision","clear","requires","stringify","history","_addPendingAction","Users","_startingRevisionId","shift","trialLimit","_findInsertionIndex","trim","insertions","$graveyard","_utils","_createFromRanges","nodeAfter","addRevisionData","licenseKey","getLatestVersion","deletion","_setAttribute","_calculateMetaData","document","isEqual","_generateTape","ready","root","_makeModelFromViewString","featureNotAllowed","revisionHistoryLicenseKeyInvalid","_transformMarkers","creator","getWalker","init","clone","length","removeRootAttribute","item","fillerOffset","getRevision","element","markers","getTime","evaluationLimit","isEnabled","1718oULJbK","insert","authorsIds","editor-initial-data-replaced-with-revision-data","push","_getTypeCharForViewElement","_baseRootsAttributes","toVersion","getNodeByPath","bind","_getState","setSource","string","insertion","config","_update","_createInitialRevision","_removePendingAction","vid_end","_clone","getCustomProperties","attributesAfter","split","end","_isAttached","_pendingAction","update","loadState","_getBaseVids","paragraph","stickiness","detachRoot","_appendChild","reInit","_saveMetaData","initialData","revisionHistoryLicenseKeyEvaluationLimit","offsetSize","_handleSplitOperation","some","then","reverse","vid","_cloneOperation","_startingVersion","currentRevision","revisionHistoryLicenseKeyExpired","revisionHistoryLicenseKeyValid","upcast","oldRange","_getViewJson","loadRevisionData","fromEntries","toView","getRootNames","set","pluginName","getChildren","keys","getUser","_initialRevisionId","_createCurrentRevision","_handleInsertOperation","repository","revisionHistory.resumeUnsavedRevision","getTransformedByOperation","_touchedMarkers","usageLimit","_execute","4275996tYlMaq","_baseIdsRoots","5YOakip","NEGATIVE_INFINITY","parent","addRoot","dataToMarker","tableCell","_touched","revisionHistoryLicenseKeyNotAllowed","createdAt","_makeRevision","attributesBefore","addRevision","_fixRange","2512251lzzrUW","_licenseKeyCheckInterval","_removeMetaData","_continueCurrentRevision","getOperations","PendingActions","6575776izKgVk","setRevisionData","afterInit","getOperation","filter","_authorId","domainLimit","resolve","_getPreviousFrom","createPositionBefore","outerHTML","revisionHistoryLicenseKeyUsageLimit","_handleMarkerOperation","finally","sort","includes","roots","revisionHistoryLicenseKeyTrialLimit","map","domDocument","model","_savedMetaData","_getFromVersion","invalid","revision:","_applyOperations","2058301ulXFNz","fromVersion","getData","splitPosition","saveRevision","previousPosition","_fixOperation","graveyardPosition","createRange","dataDowncast","domConverter","$text","_prepareViewToSave","sourcePosition","createPositionAfter","948hVYHvm","_isInit","_getVidAttributeName","get","rawElement","nodes","24ZwzBJf","start","_copyMarkers","editor","expired","_fixPosition","RevisionHistory","position","plugins","_processRootBeforeSave","deletions","getIndex","has","collaboration.channelId","PENDING_ACTION_REVISION_HISTORY","type","define","584573MefmTj","locale","merge","getRevisionDocumentData","isAttached","getAttribute","_revisionDataBuilder","reinsert","RevisionsRepository","$comment","render","isOfficialPlugin","source","_replaceEditorDataWithRevisionData","_diffRoots","uiElement","isReady","addRootAttribute","getRange","initial","_baseRoots","version","values","innerHTML","baseVersion","authors","_showLicenseError","createPositionAt","_idsRoots","_markers","path","_source","buildRevisionData","_diffRootsAttributes","revisionHistoryLicenseKeyDomainLimit","getRevisions","RevisionTracker","offset","insertionPosition","_isPendingUpdate","_handleOperation","_revisionId","howMany","sendBufferedUpdates","elementStart","_handleRootOperation","add","getAttributes","getCurrentRevisionId","isPremiumPlugin","_markChanges","move","from","getChild","_touchedRoots","data","33JlRXbj","targetPosition","_handleMergeOperation","max","createPositionFromPath","_bufferUpdate","_bufferedUpdates","elementEnd","_operations","conversion","_lastTo","70iYoWCp","rootsAttributes","_lastFrom","slice","for","createRangeIn","getRoot","_insertChild","name","adapter","getMovedRangeStart","childCount","_reset","Empty document","_loadedStateData","isAdd","diffData","createElement","delete","destroy","_loadState","revision","1427357nwmnKd","newValue","_makeIdsRoot","remove","createRevision","RevisionHistoryUtils","text","attachChange","getRevisionRootsAttributes","keepParagraph","hasContent","vid_start","getAncestors","children","userId","rootName","changeRootAttribute","startsWith","customProperties","_handleRootAttributeOperation","affectsData","size","_handleMoveOperation","newRange","updateRevisions","getFillerOffset","creatorId","markerToData","htmlProcessor","find","RealTimeCollaborationClient","_setConversion","key","marker"];return(mt=function(){return t})()}function pt(t,e){const i=mt();return(pt=function(t,e){return i[t-=120]})(t,e)}!function(t){const e=pt,i=t();for(;;)try{if(986991===parseInt(e(269))/1+-parseInt(e(351))/2*(parseInt(e(236))/3)+-parseInt(e(441))/4*(-parseInt(e(422))/5)+-parseInt(e(420))/6+parseInt(e(142))/7*(parseInt(e(163))/8)+-parseInt(e(435))/9*(-parseInt(e(247))/10)+parseInt(e(180))/11*(-parseInt(e(157))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class vt extends G.Plugin{[ft(323)];[ft(436)];[ft(396)]=null;[ft(414)];[ft(256)]=null;[ft(186)];[ft(211)];[ft(411)];[ft(242)];[ft(319)];[ft(376)];[ft(438)];[ft(395)];[ft(261)];static get[ft(407)](){return ft(216)}static get[ft(191)](){return!0}static get[ft(229)](){return!0}static get[ft(307)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(414)]=this[i(166)][i(171)][i(160)](i(188)),this[i(319)]=this[i(166)][i(171)][i(160)](i(274)),this[i(186)]=new gt(this[i(166)]),this[i(411)]=this[i(166)][i(365)][i(160)](i(176))||i(199),this[i(242)]=new Map,this[i(261)]=null;const n=(0,t.uid)();this[i(211)]={history:this[i(166)][i(136)][i(328)][i(309)],getLatestVersion:()=>Promise[i(123)](this[i(166)][i(136)][i(328)][i(201)]),getCurrentRevisionId:()=>n},this[i(406)](i(196),!1),this[i(406)](i(350),!0),this[i(406)](i(219),!1),this[i(166)][i(365)][i(179)](i(415),!0),this[i(166)][i(245)][i(251)](i(399))[i(426)]({view:i(268)})}[ft(339)](){const t=ft;this[t(300)](),this[t(166)][t(235)].on(t(331),()=>{const e=t,i=this[e(414)][e(345)](0),n=i&&null===i[e(337)]?i:null;if(this[e(438)]=!!n&&this[e(166)][e(365)][e(160)](e(415)),this[e(166)][e(171)][e(175)](e(299))){const t=this[e(211)][e(228)](),s=this[e(414)][e(345)](t);if(s)this[e(395)]=s[e(143)],this[e(438)]=!1;else{const t=this[e(211)][e(309)][e(244)][e(298)](t=>!t[e(158)]),s=t?t[e(204)]:this[e(211)][e(309)][e(201)];i?(i[e(358)]<s&&i[e(366)]({toVersion:s}),this[e(438)]?(this[e(211)][e(228)]=()=>n.id,this[e(395)]=n[e(143)]):(this[e(395)]=i[e(358)],this[e(438)]=!1)):(this[e(395)]=s,this[e(438)]=!1)}}else n&&(this[e(166)][e(136)][e(328)][e(309)][e(201)]=Math[e(239)](n[e(358)],this[e(166)][e(136)][e(328)][e(309)][e(201)]),n[e(143)]===n[e(358)]?(0!==n[e(143)]&&(this[e(211)][e(228)]=()=>n.id),this[e(438)]=!1):this[e(438)]&&(this[e(211)][e(228)]=()=>n.id,this[e(395)]=n[e(143)])),this[e(438)]||(this[e(395)]=this[e(166)][e(136)][e(328)][e(201)]);this[e(186)][e(339)](this[e(211)][e(309)]),this[e(367)](this[e(395)]),this[e(412)](this[e(395)]),this[e(256)]&&this[e(223)]()}),this[t(360)](t(196)).to(this,t(219),t=>!t),this[t(323)]=this[t(166)][t(365)][t(160)](t(323));const e=this[t(166)];this[t(436)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(398)==r||i(335)==r||i(397)==r||i(214)==r||i(429)==r||i(387)==r||i(133)==r||i(127)==r){delete e[s],n=r,clearInterval(this[i(436)]),this[i(436)]=void 0;break}}i(335)==n&&e[i(206)](i(139)),i(397)==n&&e[i(206)](i(167)),i(214)==n&&e[i(206)](i(122)),i(429)==n&&e[i(206)](i(334),i(169)),i(387)==n&&e[i(206)](i(349)),i(133)==n&&e[i(206)](i(314)),i(127)==n&&e[i(206)](i(418))},1e3)}async[ft(443)](){const t=ft;if(this[t(414)][t(341)]>0){const e=this[t(414)][t(345)](0),i=await this[t(183)](e),n=await this[t(277)](e);this[t(193)](i,n)}}[ft(266)](){const t=ft;super[t(266)](),this[t(436)]&&clearInterval(this[t(436)])}[ft(362)](t){this[ft(211)]=t}async[ft(377)](){const t=ft,e=await this[t(211)][t(324)]();if(e>this[t(396)][t(358)]){await this[t(267)]();const i=this[t(212)]({revision:this[t(396)],to:e});i[t(205)]=i[t(353)][t(134)](e=>this[t(166)][t(171)][t(160)](t(311))[t(410)](e)),this[t(396)][t(366)](i)}}async[ft(146)](e={},i=null){const n=ft,s=[];await this[n(267)](),this[n(438)]=!1,i>this[n(396)][n(358)]&&(i=null),null===i&&(i=await this[n(211)][n(324)]());const r=this[n(138)](i),o=this[n(212)]({from:r,to:i});if(this[n(396)][n(358)]<i){const t=this[n(212)]({revision:this[n(396)],from:i,to:i});t[n(205)]=[],t[n(353)]=[],t.id=this[n(396)].id,this[n(396)][n(366)](t,!0),delete t[n(205)],s[n(355)](t)}e[n(295)]=this[n(166)][n(171)][n(160)](n(311)).me.id,e[n(255)]=e[n(255)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(322)](e);s[n(355)](e);const c=this[n(414)][n(174)](a);if(0!==c){const t=this[n(414)][n(345)](c-1);if(t[n(143)]!==i){const r=this[n(186)][n(144)](i,t[n(358)]),o={id:t.id,diffData:r[n(263)],authorsIds:r[n(353)],authors:r[n(353)][n(134)](t=>this[n(166)][n(171)][n(160)](n(311))[n(410)](t)),fromVersion:i};t===this[n(396)]&&(o[n(430)]=new Date(e[n(430)][n(348)]()+10)),t[n(366)](o,!0),delete o[n(205)],s[n(355)](o)}}if(this[n(256)]){for(const t of s)this[n(241)](t.id,t,!0);this[n(223)]()}return a}[ft(322)](t){const e=ft,i=this[e(414)][e(273)](t);return this[e(256)]&&i.on(e(366),(t,i,n)=>{const s=e;n||(this[s(241)](i.id,i,!0),this[s(223)]())}),this[e(414)][e(433)](i,this[e(315)](i)),i}async[ft(183)](t){const e=ft;return await this[e(319)][e(402)](t,this[e(256)]),this[e(319)][e(183)](t)}async[ft(277)](t){const e=ft;return await this[e(319)][e(402)](t,this[e(256)]),this[e(319)][e(277)](t)}[ft(223)](){const t=ft;if(0===this[t(242)][t(290)])return;if(this[t(219)])return;let e=Array[t(232)](this[t(242)][t(202)]());this[t(242)][t(306)]();for(let i=0;i<e[t(341)];i++){const n=e[i];let s=!1;for(const e of Object[t(409)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(120)](t=>null!==t),!e[t(341)])return;for(let i=0;i<e[t(341)];i++){const n=e[i];void 0!==n[t(143)]&&void 0===n[t(358)]&&(n[t(358)]=this[t(414)][t(345)](n.id)[t(358)]),void 0!==n[t(358)]&&void 0===n[t(143)]&&(n[t(143)]=this[t(414)][t(345)](n.id)[t(143)])}const i=this[t(166)][t(365)][t(160)](t(176));this[t(219)]=!0,this[t(310)](),this[t(256)][t(293)](e,i)[t(129)](()=>{this[t(219)]=!1})[t(391)](e=>{const i=t;if(e)for(const t of e)this[i(442)]({id:t.id,createdAt:t[i(430)]});this[i(368)](),this[i(223)]()})}[ft(212)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(143)],i=null!==i?i:t[n(358)];const s=this[n(186)][n(144)](e,i),r={diffData:s[n(263)],authorsIds:s[n(353)],fromVersion:e,toVersion:i};if(!t||i!==t[n(358)]){const t=i-1,e=this[n(211)][n(309)][n(444)](t);r[n(430)]=e&&e[n(430)]||new Date}if(this[n(261)]&&e===this[n(261)][n(143)])for(const t of this[n(261)][n(205)])r[n(353)][n(131)](t.id)||r[n(353)][n(355)](t.id);return r}[ft(241)](t,e,i){const n=ft;if(this[n(242)][n(175)](t)){const s=this[n(242)][n(160)](t);e=i?{...s,...e}:{...e,...s}}this[n(242)][n(406)](t,e)}[ft(442)](t){const e=ft,i=this[e(414)][e(345)](t.id);if(t[e(430)]&&(t[e(430)]=new Date(t[e(430)])),t[e(353)]){const i=this[e(166)][e(171)][e(160)](e(311));t[e(205)]=t[e(353)][e(134)](t=>i[e(410)](t))}i[e(366)](t,!0)}[ft(367)](t){const e=ft,i=this[e(414)][e(345)](this[e(414)][e(341)]-1);if(i)this[e(411)]=i.id;else{const i=!this[e(166)][e(136)][e(328)][e(132)][e(298)](t=>this[e(166)][e(136)][e(279)](t)),n=this[e(166)][e(171)][e(160)](e(311)).me.id,s=at(this[e(166)][e(181)],e(i?260:305));this[e(431)]({from:t,to:t,id:this[e(411)],name:s,creatorId:n})}}[ft(412)](t){const e=ft,i=this[e(211)][e(228)]();this[e(396)]=this[e(414)][e(345)](i),this[e(396)]||(this[e(396)]=this[e(431)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(267)](){const t=ft;this[t(438)]&&!this[t(261)]&&(await this[t(319)][t(402)](this[t(396)],this[t(256)]),this[t(186)][t(378)](this[t(396)]),this[t(261)]={fromVersion:this[t(396)][t(143)],authors:this[t(396)][t(205)][t(250)]()})}[ft(193)](e,i){const n=ft;let s=this[n(166)][n(365)][n(160)](n(386)),r=this[n(166)][n(365)][n(160)](n(248));if(void 0===s){s={};for(const t of this[n(166)][n(136)][n(328)][n(405)]())s[t]=""}if(n(363)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(166)][n(136)][n(328)][n(405)]())r[t]={}}let o=!1;const a=Object[n(409)](s),c=Object[n(409)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(316)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(409)](r[t])[n(341)]>0){o=!0;break}}o||(o=c[n(390)](t=>!this[n(166)][n(136)][n(328)][n(253)](t))),o&&(0,t.logWarning)(n(354),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(166)][n(365)][n(406)](n(386),e),this[n(166)][n(365)][n(406)](n(248),i)}[ft(310)](){const t=ft;if(!this[t(376)]){const e=this[t(166)][t(171)][t(160)](t(440));this[t(376)]=e[t(226)](at(this[t(166)][t(181)],t(177)))}}[ft(368)](){const t=ft;this[t(376)]&&(this[t(166)][t(171)][t(160)](t(440))[t(272)](this[t(376)]),this[t(376)]=null)}[ft(315)](t){const e=ft,i=this[e(414)][e(215)]();i[e(392)]();let n=0;for(;n<i[e(341)];){const s=i[n];if(s===this[e(396)]){n++;continue}if(s.id===this[e(411)])break;const r=t[e(358)]-s[e(358)]||t[e(143)]-s[e(143)];if(r>0)break;if(r<0)n++;else{if(!t[e(337)]&&s[e(337)])break;if(s[e(337)]||!t[e(337)]){if(t[e(430)]>s[e(430)])break;n++}else n++}}return n}[ft(138)](t){const e=ft,i=this[e(414)][e(215)]();i[e(392)](),i[e(313)]();const n=i[e(298)](i=>i[e(358)]<=t)[e(358)];return n<this[e(395)]?this[e(395)]:n}[ft(431)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(212)]({from:e,to:i});o[r(255)]=t,o[r(295)]=n,o.id=s;const a=this[r(322)](o);return this[r(256)]&&this[r(241)](o.id,o,!0),a}[ft(300)](){const t=ft;this[t(166)][t(245)][t(251)](t(151))[t(296)]({model:t(268)})}}class gt{[ft(166)];[ft(192)];[ft(137)];[ft(249)];[ft(246)];[ft(209)];[ft(194)];[ft(213)];[ft(200)];[ft(357)];[ft(208)];[ft(421)];[ft(428)];[ft(417)];[ft(234)];[ft(221)];[ft(312)];constructor(t){const e=ft;this[e(166)]=t,this[e(137)]=new Map,this[e(249)]=-1,this[e(246)]=-1,this[e(209)]=new Map,this[e(194)]=new Map,this[e(213)]=new Map,this[e(200)]=new Map,this[e(357)]=new Map,this[e(208)]=new Map,this[e(421)]=new Map,this[e(428)]=new Map,this[e(417)]=new Map,this[e(234)]=new Map,this[e(221)]=1}[ft(339)](t){const e=ft;this[e(192)]=t;const i=new Map,n=new Map,s=this[e(166)][e(136)][e(328)][e(132)][e(134)](t=>t[e(284)]);for(const t of s){const s=this[e(166)][e(136)][e(328)][e(253)](t),r=yt(s);i[e(406)](t,r),n[e(406)](t,Object[e(403)](s[e(227)]()))}const r=Array[e(232)](this[e(166)][e(136)][e(347)])[e(134)](t=>[t[e(255)],t[e(198)]()]),o=this[e(192)][e(201)];this[e(385)](o,i,r,n),this[e(312)]=this[e(221)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(406)](t,i),c[e(406)](t,{})}this[e(385)](Number[e(423)],a,[],c)}[ft(144)](t,e){const i=ft;if(this[i(249)]===t&&this[i(246)]<=e)this[i(137)][i(290)]>1&&this[i(437)](this[i(246)]),this[i(141)](this[i(246)],e,!0);else{if(!this[i(137)][i(175)](t)){const e=this[i(124)](t);this[i(327)](e,t,!1)}this[i(327)](t,e,!0)}return this[i(249)]=t,this[i(246)]=e,this[i(361)]()}[ft(378)](t){const e=ft,i=this[e(166)][e(171)][e(160)](e(274));this[e(259)](),this[e(249)]=t[e(143)],this[e(246)]=t[e(358)];for(const n in t[e(263)]){const s=t[e(263)][n][e(276)],r=A(t[e(263)][n][e(432)])||{},o=i[e(333)](t[e(263)][n][e(173)]);o[e(284)]=n,o[e(375)]=!s||!s[e(184)],o[e(184)]=()=>o[e(375)],this[e(200)][e(406)](n,o),this[e(357)][e(406)](n,r),s&&this[e(234)][e(406)](n,s);const a=this[e(271)](o);this[e(421)][e(406)](n,a);for(const[t,i]of o[e(347)]){if(!t[e(286)](e(140)))continue;const n=t[e(373)](":")[2];for(const t of i[e(338)]({singleCharacters:!0})){const i=this[e(159)](t),s=e(243)==t[e(178)]?t[e(147)][e(210)][e(250)](0,-1):t[e(147)][e(210)],r=a[e(359)](s)[e(185)](i);this[e(428)][e(406)](r,{userId:n})}}}this[e(312)]=this[e(221)];const n=[...Array(this[e(221)])[e(409)]()][e(250)](1)[e(120)](t=>!this[e(428)][e(175)](t));let s=0;const r=new Map;for(const o in t[e(263)]){const a=t[e(263)][o][e(276)],c=A(t[e(263)][o][e(372)])||{},u=i[e(333)](t[e(263)][o][e(317)]);u[e(284)]=o,u[e(375)]=!a||a[e(184)],u[e(184)]=()=>u[e(375)],this[e(194)][e(406)](o,u),this[e(213)][e(406)](o,c);const l=this[e(271)](u,Number[e(423)]);this[e(208)][e(406)](o,l),r[e(406)](o,u[e(184)]()?c:{});for(const[t,i]of u[e(347)]){if(!t[e(286)](e(140)))continue;const n=t[e(373)](":")[2];for(const t of i[e(338)]({singleCharacters:!0})){const i=this[e(159)](t),s=this[e(221)]++,r=e(243)==t[e(178)]?t[e(147)][e(210)][e(250)](0,-1):t[e(147)][e(210)];l[e(359)](r)[e(326)](i,s),this[e(428)][e(406)](s,{userId:n})}}for(const t of this[e(166)][e(136)][e(252)](u)[e(338)]({singleCharacters:!0})){const i=this[e(159)](t),r=e(243)==t[e(178)]?t[e(147)][e(210)][e(250)](0,-1):t[e(147)][e(210)],o=l[e(359)](r);o[e(185)](i)>0||o[e(326)](i,n[s++])}for(const[t,i]of u[e(347)])t[e(286)](e(140))||this[e(209)][e(406)](t,i)}const o=kt(e(318));this[e(200)][e(406)](e(318),o),this[e(421)][e(406)](e(318),this[e(271)](o,1));const a=kt(e(318));this[e(194)][e(406)](e(318),a),this[e(208)][e(406)](e(318),this[e(271)](a,1));const c=Array[e(232)](this[e(194)])[e(134)](([t,e])=>[t,yt(e)]);this[e(385)](this[e(246)],c,this[e(209)],r)}[ft(384)](){const t=ft;this[t(259)](),this[t(249)]=-1,this[t(246)]=-1,this[t(137)][t(306)](),this[t(339)](this[t(192)])}[ft(385)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(406)](t,{start:e[s(164)][s(340)](),end:e[s(374)][s(340)](),rootName:e[s(332)][s(284)]});this[s(137)][s(406)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(437)](t){const e=ft;this[e(137)][e(265)](t)}[ft(259)](){const t=ft;this[t(428)][t(306)](),this[t(417)][t(306)](),this[t(234)][t(306)](),this[t(194)][t(306)](),this[t(213)][t(306)](),this[t(200)][t(306)](),this[t(357)][t(306)](),this[t(208)][t(306)](),this[t(421)][t(306)](),this[t(209)][t(306)](),this[t(221)]=1,this[t(312)]=this[t(221)]}[ft(271)](t,e=null){const i=ft;let n=null;t.is(i(303))||(n=new X.ModelElement(t[i(255)],{vid_start:null===e?this[i(221)]++:e++}));const s=[];for(const n of t[i(408)]())if(n.is(i(346))){s[i(355)](this[i(271)](n,e));const t=s[s[i(341)]-1];null!==e&&(e=t.is(i(346),i(153))?t[i(185)](i(393))+1:t[i(185)](i(369))+1)}else for(let t=0;t<n[i(388)];t++)s[i(355)](new X.ModelElement(i(153),{vid:null===e?this[i(221)]++:e++}));if(t.is(i(303))){const e=kt(t[i(284)]);return e[i(254)](0,s),e}return n[i(326)](i(369),null===e?this[i(221)]++:e++),n[i(254)](0,s),n}[ft(327)](t,e,i){const n=ft;this[n(259)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(137)][n(160)](t);this[n(200)]=new Map(s),this[n(357)]=new Map(A(o));for(const[t,e]of this[n(200)])if(n(318)!==t&&(this[n(194)][n(406)](t,yt(e)),this[n(213)]=new Map(A(o)),i)){const i=this[n(221)];this[n(208)][n(406)](t,this[n(271)](e)),this[n(421)][n(406)](t,this[n(271)](e,i))}this[n(312)]=this[n(221)],this[n(194)][n(406)](n(318),yt(this[n(200)][n(160)](n(318)))),i&&this[n(208)][n(406)](n(318),this[n(271)](this[n(200)][n(160)](n(318))));for(const[t,e]of r){const i=this[n(200)][n(160)](e[n(284)]),s=this[n(194)][n(160)](e[n(284)]),r=new X.ModelRange(this[n(168)](e[n(164)],i),this[n(168)](e[n(374)],i)),o=this[n(434)](r,s);i[n(347)][n(406)](t,r),this[n(209)][n(406)](t,o)}this[n(141)](t,e,i)}[ft(141)](t,e,i){const n=ft;for(const s of this[n(192)][n(439)](t,e))this[n(220)](s,i);for(const t of this[n(194)][n(202)]())t[n(347)][n(306)]();for(const[t,e]of this[n(209)])this[n(194)][n(160)](e[n(332)][n(284)])[n(347)][n(406)](t,e[n(340)]());const s=new Map,r=new Map;for(const[t,e]of this[n(194)])s[n(406)](t,yt(e)),r[n(406)](t,this[n(213)][n(160)](t));this[n(385)](e,s,this[n(209)],r)}[ft(124)](t){const e=ft,i=Array[e(232)](this[e(137)][e(409)]());i[e(130)]((t,e)=>t-e),i[e(392)]();for(const e of i)if(e<t)return e;return Number[e(423)]}[ft(165)](t,e){const i=ft,n=Array[i(232)](e[i(347)])[i(134)](([e,n])=>[e,this[i(434)](n,t)]);t[i(347)]=new Map(n)}[ft(336)](t){const e=ft;for(const i of this[e(209)][e(202)]()){const n=i[e(416)](t),s=X.ModelRange[e(320)](n);i[e(164)]=s[e(164)],i[e(374)]=s[e(374)]}}[ft(220)](t,e){const i=ft;if(i(425)!=t[i(178)]&&i(382)!=t[i(178)]){if(i(352)==t[i(178)]){const n=t[i(170)][i(332)][i(284)];this[i(194)][i(175)](n)||(this[i(194)][i(406)](n,kt(n,!0)),this[i(213)][i(406)](n,{}),e&&this[i(208)][i(406)](n,kt(n,!0)))}else{if(i(197)==t[i(178)]||i(342)==t[i(178)]||i(285)==t[i(178)])return void this[i(288)](t);i(302)==t[i(178)]&&this[i(128)](t)}if(i(302)!==t[i(178)]){const e=this[i(394)](t,this[i(194)]);e[i(419)](),this[i(336)](e)}if(e)switch(t[i(178)]){case i(352):this[i(413)](t);break;case i(231):case i(272):case i(187):this[i(291)](t);break;case i(182):this[i(238)](t);break;case i(373):this[i(389)](t)}}else this[i(225)](t,e)}[ft(394)](t,e){const i=ft,n=t[i(340)]();return n[i(121)]=t[i(121)],this[i(148)](n,e),n}[ft(379)](t){const e=ft;return t[e(134)](t=>{const i=e,n=this[i(159)](t);return Number(t[i(343)][i(185)](n))})}[ft(330)](t,e){const i=ft;if(t.is(i(346),i(153)))e[i(355)]({item:t,type:i(275)});else{t.is(i(346))&&e[i(355)]({item:t,type:i(224)});for(const n of t[i(408)]())this[i(330)](n,e);t.is(i(346))&&e[i(355)]({item:t,type:i(243)})}return e}[ft(361)](){const t=ft,e=new Map(this[t(428)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(200)][t(409)](),...this[t(194)][t(409)]()]);a[t(265)](t(318));for(const e of a){const i=this[t(194)][t(160)](e)||kt(e,!1),n=this[t(200)][t(160)](e)||kt(e,!1);i[t(184)]()||n[t(184)]()?(s[t(317)][e]=yt(i),s[t(173)][e]=yt(n),this[t(165)](s[t(173)][e],n),this[t(165)](s[t(317)][e],i),r[t(317)][e]=this[t(330)](this[t(208)][t(160)](e),[]),r[t(173)][e]=this[t(330)](this[t(421)][t(160)](e)||kt(e,!1),[])):a[t(265)](e)}for(const s of a){const o=r[t(317)][s];for(const s of o){const r=this[t(159)](s),o=s[t(343)][t(185)](r);i[t(265)](o),o>=this[t(312)]&&n[t(406)](o,e[t(160)](o))}}for(const s of a){const a=r[t(317)][s],c=this[t(379)](r[t(173)][s]);let u=0;for(const s of a){const r=this[t(159)](s),a=s[t(343)][t(185)](r);if(!n[t(175)](a)&&!o[t(175)](a))if(i[t(175)](a))u++;else{if(a!=c[u]){const n=e[t(160)](a)||e[t(160)](c[u]);for(;a!=c[u];)i[t(175)](c[u])||(o[t(406)](c[u],n),e[t(406)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(317)][e];for(const e of s){const s=this[t(159)](e),r=e[t(343)][t(185)](s);if(o[t(175)](r)){const e=o[t(160)](r);i[t(175)](r)||i[t(406)](r,{...e}),n[t(406)](r,{...e})}}}for(const e of i[t(409)]())e>=this[t(312)]&&i[t(265)](e);const c=new Map;for(const e of a){let s=r[t(317)][e];for(const e of s)if(e[t(343)].is(t(346),t(427))){const i=this[t(159)](e),s=e[t(343)][t(185)](i);if(n[t(175)](s)){const i=e[t(343)][t(424)][t(424)][t(185)](t(280)),r=c[t(160)](i)||new Set;r[t(226)](n[t(160)](s)[t(283)]),c[t(406)](i,r)}}s=r[t(173)][e];for(const e of s)if(e[t(343)].is(t(346),t(427))){const n=this[t(159)](e),s=e[t(343)][t(185)](n);if(i[t(175)](s)){const n=e[t(343)][t(424)][t(424)][t(185)](t(280)),r=c[t(160)](n)||new Set;r[t(226)](i[t(160)](s)[t(283)]),c[t(406)](n,r)}}for(const e of c[t(409)]())(n[t(175)](e)||i[t(175)](e))&&c[t(265)](e)}for(const e of a){const s=r[t(317)][e];let o=null,a=null;for(const e of s){const s=this[t(159)](e),r=e[t(343)][t(185)](s),u=c[t(160)](r);u&&t(224)==e[t(178)]&&(o=Array[t(232)](u)[0],a=e[t(343)][t(185)](t(369))),o&&(i[t(406)](r,{userId:o}),n[t(406)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(173)][e],a=s[t(317)][e];for(const{userId:e}of this[t(417)][t(202)]())null!==e&&l[t(226)](e);for(const{userId:e}of this[t(234)][t(202)]())null!==e&&l[t(226)](e);this[t(230)](a,r[t(317)][e],n,t(364),l),this[t(230)](o,r[t(173)][e],i,t(325),l),u[e]={insertions:this[t(154)](a),deletions:this[t(154)](o),attachChange:this[t(234)][t(160)](e)||null,attributesBefore:A(this[t(357)][t(160)](e))||{},attributesAfter:A(this[t(213)][t(160)](e))}}return{diffData:u,authorsIds:Array[t(232)](l)}}[ft(172)](t){const e=ft;for(const[,i]of t[e(347)]){const t=i[e(164)][e(281)]()[e(120)](t=>e(427)==t[e(255)]);for(const i of t)1==i[e(258)]&&i[e(233)](0).is(e(346),e(380))&&i[e(233)](0)[e(326)](e(278),!0)}}[ft(154)](t){const e=ft;this[e(172)](t);const i=this[e(166)][e(235)][e(404)](t,{}),n=Array[e(232)](i[e(408)]())[e(134)](t=>this[e(401)](t));return JSON[e(308)](n)}[ft(401)](t){const e=ft;if(t.is(e(153)))return t[e(235)];{const i=this[e(166)][e(171)][e(160)](e(274)),n=t,s=this[e(166)][e(235)][e(297)][e(152)],r={type:i[e(356)](n),name:n[e(255)],attributes:Array[e(232)](n[e(227)]()),children:Array[e(232)](n[e(408)]())[e(134)](t=>this[e(401)](t))};if(t.is(e(195))&&e(189)!=t[e(255)]){const i=t[e(190)](s[e(135)],s);r[e(282)][e(355)](i[e(126)])}else if(t.is(e(161))){const i=s[e(135)][e(264)](n[e(255)]);t[e(190)](i,s),r[e(282)][e(355)](i[e(203)])}const o=Array[e(232)](n[e(371)]());o[e(341)]>0&&(r[e(287)]=o);const a=n[e(294)]();return null!==a&&(r[e(344)]=a),r}}[ft(230)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(166)][r(136)];for(let n=0;n<e[r(341)];n++){const s=this[r(159)](e[n]),c=e[n][r(343)][r(185)](s),h=i[r(160)](c),d=n==e[r(341)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(283)]!=o[r(283)])&&(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(283)],d=l(140)+n+":"+h+":"+c++,f=u[l(150)](i,a);t[l(347)][l(406)](d,f),null!==h&&s[l(226)](h)}}[ft(159)](t){const e=ft;switch(t[e(178)]){case e(224):return e(280);case e(243):return e(369);default:return e(393)}}[ft(148)](t,e){const i=ft;t[i(204)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(160)](s[i(332)][i(284)]);t[n]=this[i(168)](s,r)}if(s instanceof X.ModelRange){const r=e[i(160)](s[i(332)][i(284)]);t[n]=this[i(434)](s,r)}i(332)===n&&(t[i(332)]=e[i(160)](t[i(332)][i(284)]))}}[ft(434)](t,e){const i=ft;return this[i(166)][i(136)][i(150)](this[i(168)](t[i(164)],e),this[i(168)](t[i(374)],e))}[ft(168)](t,e){const i=ft;return this[i(166)][i(136)][i(240)](e,t[i(210)],t[i(381)])}[ft(413)](t){const e=ft,i=this[e(208)][e(160)](t[e(170)][e(332)][e(284)]),n=this[e(168)](t[e(170)],i),s=null===t[e(121)]?null:t[e(121)]||this[e(166)][e(171)][e(160)](e(311)).me.id,r=n[e(424)],o=this[e(221)],a=[];for(const i of t[e(162)])if(i.is(e(346)))a[e(355)](this[e(271)](i));else for(let t=0;t<i[e(388)];t++)a[e(355)](new X.ModelElement(e(153),{vid:this[e(221)]++}));const c=this[e(221)];for(let t=o;t<c;t++)this[e(428)][e(406)](t,{userId:s});r[e(254)](n[e(217)],a)}[ft(291)](t){const e=ft;(t=this[e(394)](t,this[e(208)]))[e(419)]();const i=null===t[e(121)]?null:t[e(121)]||this[e(166)][e(171)][e(160)](e(311)).me.id,n=t[e(257)](),s=n[e(424)],r=n[e(217)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(233)](e);r.is(a(346),a(153))?n[a(406)](r[a(185)](a(393)),{userId:i}):(n[a(406)](r[a(185)](a(280)),{userId:i}),t(n,r,0,r[a(258)]),n[a(406)](r[a(185)](a(369)),{userId:i}))}}(this[e(428)],s,r,r+t[e(222)])}[ft(238)](t){const e=ft,i=null===(t=this[e(394)](t,this[e(208)]))[e(121)]?null:t[e(121)]||this[e(166)][e(171)][e(160)](e(311)).me.id,n=t[e(237)][e(424)],s=t[e(155)][e(424)],r=n[e(185)](e(369)),o=s[e(185)](e(280));n[e(326)](e(369),s[e(185)](e(369))),s[e(326)](e(369),r),this[e(428)][e(406)](o,{userId:i}),this[e(428)][e(406)](r,{userId:i}),t[e(419)]()}[ft(389)](t){const e=ft,i=null===(t=this[e(394)](t,this[e(208)]))[e(121)]?null:t[e(121)]||this[e(166)][e(171)][e(160)](e(311)).me.id,n=t[e(149)],s=t[e(145)][e(424)];t[e(419)]();const r=s[e(185)](e(369)),o=t[e(218)][e(321)];if(n){const t=o[e(185)](e(369)),n=s[e(185)](e(369));s[e(326)](e(369),t),o[e(326)](e(369),n),this[e(428)][e(406)](s[e(185)](e(369)),{userId:i}),this[e(428)][e(406)](o[e(185)](e(280)),{userId:i})}else{const t=this[e(221)]++,n=this[e(221)]++;s[e(326)](e(369),t),o[e(326)](e(280),n),o[e(326)](e(369),r),this[e(428)][e(406)](t,{userId:i}),this[e(428)][e(406)](n,{userId:i})}}[ft(128)](t){const e=ft;if(!t[e(289)])return;const i=(t=this[e(394)](t,this[e(194)]))[e(400)]?t[e(400)][e(332)]:null,n=t[e(292)]?t[e(292)][e(332)]:null;i&&this[e(209)][e(265)](t[e(255)]),n&&this[e(209)][e(406)](t[e(255)],t[e(292)][e(340)]());const s=null===t[e(121)]?null:t[e(121)]||this[e(166)][e(171)][e(160)](e(311)).me.id,r=t[e(255)];if(!this[e(417)][e(175)](r))return void this[e(417)][e(406)](r,{range:t[e(400)],userId:s});const o=this[e(417)][e(160)](r),a=o[e(304)],c=t[e(292)];null==a&&null==c||a&&c&&a[e(329)](c)?this[e(417)][e(265)](t[e(255)]):o[e(283)]=s}[ft(225)](t,e){const i=ft;this[i(194)][i(175)](t[i(284)])?this[i(194)][i(160)](t[i(284)])[i(375)]=t[i(262)]:(this[i(194)][i(406)](t[i(284)],kt(t[i(284)],!0)),this[i(213)][i(406)](t[i(284)],{}),e&&this[i(208)][i(406)](t[i(284)],kt(t[i(284)],!0)));const n=null===t[i(121)]?null:t[i(121)]||this[i(166)][i(171)][i(160)](i(311)).me.id,s=this[i(234)][i(160)](t[i(284)]);s&&s[i(283)]===n?this[i(234)][i(265)](t[i(284)]):this[i(234)][i(406)](t[i(284)],{userId:n,isAttached:t[i(262)]})}[ft(288)](t){const e=ft,i=this[e(213)][e(160)](t[e(332)][e(284)]);null===t[e(270)]?delete i[t[e(301)]]:i[t[e(301)]]=t[e(270)]}}function yt(t){const e=ft,i=kt(t[e(284)],t[e(184)]());for(const n of t[e(408)]()){const t=n[e(370)](!0);i[e(383)](t)}return i}function kt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(284)]=t,n[i(375)]=e,n[i(184)]=()=>n[i(375)],n}function bt(t,e,i){const n=ft,s=n(243)==t[n(178)]?i[n(207)](t[n(343)],n(374)):i[n(125)](t[n(343)]);return i[n(240)](e,s[n(210)],s[n(381)])}function wt(t,e,i){const n=ft,s=n(224)==t[n(178)]?i[n(207)](t[n(343)],0):i[n(156)](t[n(343)]);return i[n(240)](e,s[n(210)],s[n(381)])}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),Vt=i(357),Et=i.n(Vt),Dt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();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=Et();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=zt;function Pt(){const t=["locale","56scTLGp","value","revisionNameInputValue","3979324psnbuD","label","11pxYagv","setTemplate","focus","Name of the revision","_createRevisionNameInput","errorText","trim","120322ipZUmg","revisionNameInputView","set","5090hGQPrm","1rwVjJU","1601934UWbMhQ","stopPropagation","40vmqfzz","render","element","listenTo","fieldView","extendTemplate","arrowup","arrowright","17367YdcmWy","ck-revision-history-save-revision-form","220","12582xGKKJO","arrowdown","keystrokes","optional","add","reset","ck-responsive-form","663720ueZyDp","14506548rSWprw","input","form","arrowleft","revisionName","focusTracker","initializeCssTransitionDisablerMixin"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=136]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(770988===parseInt(e(148))/1*(-parseInt(e(144))/2)+-parseInt(e(149))/3+parseInt(e(181))/4+-parseInt(e(151))/5*(-parseInt(e(169))/6)+parseInt(e(159))/7*(-parseInt(e(178))/8)+-parseInt(e(162))/9*(-parseInt(e(147))/10)+parseInt(e(137))/11*(-parseInt(e(170))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(175)];[Lt(164)];[Lt(145)];constructor(e,i){const n=Lt;super(e),this[n(175)]=new t.FocusTracker,this[n(164)]=new t.KeystrokeHandler,this[n(146)](n(180),""),this[n(145)]=this[n(141)](i),this[n(138)]({tag:n(172),attributes:{class:["ck",n(160),n(168)],tabindex:"-1"},children:[this[n(145)]]}),this[n(176)]()}[Lt(152)](){const t=Lt;super[t(152)](),(0,It.submitHandler)({view:this}),this[t(175)][t(166)](this[t(145)][t(153)]),this[t(164)][t(154)](this[t(153)]);const e=e=>e[t(150)]();this[t(164)][t(146)](t(158),e),this[t(164)][t(146)](t(173),e),this[t(164)][t(146)](t(157),e),this[t(164)][t(146)](t(163),e)}[Lt(139)](){const t=Lt;this[t(145)][t(139)]()}get[Lt(174)](){const t=Lt;return this[t(145)][t(155)][t(153)][t(179)][t(143)]()}set[Lt(174)](t){const e=Lt;this[e(145)][e(155)][e(153)][e(179)]=t[e(143)]()}[Lt(167)](){const t=Lt;this[t(145)][t(155)][t(153)][t(179)]="",this[t(145)][t(142)]=null}[Lt(141)](t){const e=Lt,i=new It.LabeledFieldView(this[e(177)],It.createLabeledInputText),n=i[e(155)];n[e(156)]({attributes:{maxlength:e(161)}});let s=at(this[e(177)],e(140));return!t&&(s+=" ("+at(this[e(177)],e(165))+")"),i[e(136)]=s,n.on(e(171),()=>{const t=e;this[t(180)]=n[t(153)][t(179)][t(143)]()}),i}}function Ut(t,e){const i=Zt();return(Ut=function(t,e){return i[t-=418]})(t,e)}const Ht=Ut;function Zt(){const t=["revisionNameInputView","errorText","_saveRevisionFormView","view","_createSaveRevisionFormView","saveRevision","Save current revision","RevisionHistoryUI","Accept","panelView","109290EWKZnJ","isOpen","set","revisionHistory","isEnabled","Dialog","execute","add","Cancel","init","isOfficialPlugin","componentFactory","show","hide","children","menuitem","reset","_showDialog","buttonView","isReadOnly","items","599543LLPora","revisionName","requires","isReady","render","ck-button-action","submit","1337750zNNdqF","role","189000hoTewb","revisionHistory.requireRevisionName","revisionSave","plugins","locale","RevisionTracker","979qDBjGq","showRevisionViewerCallback","845428pJOaWE","addMany","41432ukqkDQ","Open revision history","isPremiumPlugin","editor","menu","bind","menuBar:revisionHistory","The revision name cannot be empty.","Revision history","pluginName","6KVjtOy","1864flAjSG","focus","6YfthtZ","get","_registerMenuComponent","editing","delegate","18243NbaSXE","config"];return(Zt=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(377807===parseInt(e(475))/1+-parseInt(e(465))/2+-parseInt(e(485))/3*(parseInt(e(473))/4)+parseInt(e(463))/5+parseInt(e(418))/6*(parseInt(e(456))/7)+-parseInt(e(486))/8*(parseInt(e(423))/9)+-parseInt(e(435))/10*(-parseInt(e(471))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends G.Plugin{static get[Ht(484)](){return Ht(432)}static get[Ht(445)](){return!0}static get[Ht(477)](){return!0}static get[Ht(458)](){return[vt]}[Ht(427)];[Ht(444)](){const t=Ht,e=this[t(478)],i=e[t(468)][t(419)](t(470));e.ui[t(446)][t(442)](t(438),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(434)][s(449)],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(480)](s(439)).to(i,s(459),i,s(439),e,s(454),(t,e,i)=>t&&e&&!i),r[s(453)][s(437)]({icon:_t.IconHistory,label:at(n,s(483)),tooltip:!0}),u[s(437)]({label:at(n,s(431)),withText:!0,role:s(450)}),u[s(480)](s(439)).to(i,s(459),i,s(439),e,s(454),(t,e,i)=>t&&e&&!i),u.on(s(441),()=>this[s(452)]()),h[s(437)]({label:at(n,s(476)),withText:!0,role:s(450)}),h[s(480)](s(439)).to(i,s(459),e,s(454),(t,e)=>t&&!e),h.on(s(441),()=>{const t=s;e[t(424)][t(419)](t(438))[t(472)](),r[t(436)]=!1,e[t(421)][t(428)][t(487)]()}),c[s(449)][s(442)](u),l[s(449)][s(442)](h),a[s(464)]=s(479),a[s(455)][s(474)]([c,l]),o[s(442)](a),r}),e.ui[t(446)][t(442)](t(481),()=>this[t(420)]())}[Ht(420)](){const t=Ht,e=this[t(478)],i=e[t(469)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(453)][t(437)]({icon:_t.IconHistory,label:at(i,t(483))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(437)]({label:at(i,t(431))}),o[t(422)](t(441)).to(n),o.on(t(441),()=>{this[t(452)]()}),r[t(449)][t(442)](o),s[t(455)][t(442)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(437)]({label:at(i,t(476))}),c[t(422)](t(441)).to(n),c.on(t(441),()=>{const i=t;e[i(424)][i(419)](i(438))[i(472)]()}),a[t(449)][t(442)](c),s[t(455)][t(442)](a),n[t(434)][t(449)][t(442)](s),n}[Ht(452)](){const t=Ht,e=this[t(478)],i=e[t(469)],n=e[t(468)][t(419)](t(440)),s=e[t(468)][t(419)](t(470));function r(s){const r=t;e[r(424)][r(419)](r(466))&&""===s[r(457)]?s[r(425)][r(426)]=at(i,r(482)):(e[r(468)][r(419)](vt)[r(430)]({name:s[r(457)]}),n[r(448)]())}this[t(427)]||(this[t(429)](),this[t(427)].on(t(462),()=>r(this[t(427)]))),this[t(427)][t(451)](),n[t(447)]({id:t(467),title:at(i,t(431)),isModal:!0,content:this[t(427)],actionButtons:[{label:at(e[t(469)],t(443)),withText:!0,onExecute:()=>n[t(448)]()},{label:at(e[t(469)],t(433)),class:t(461),withText:!0,onCreate(i){const n=t;i[n(480)](n(439)).to(s,n(459),s,n(439),e,n(454),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(427)])}]})}[Ht(429)](){const t=Ht,e=this[t(478)],i=e[t(469)];this[t(427)]=new Wt(i,e[t(424)][t(419)](t(466))),this[t(427)][t(460)]()}}function $t(t,e){const i=Yt();return($t=function(t,e){return i[t-=374]})(t,e)}const Bt=$t;function Yt(){const t=["6wqdWKK","3260fwJyZL","1oDmsmA","data","setTemplate","name","116607xwxtVr","Removed by","ck-revision-change__label","205904mnKMfX","set","3132NPkJBZ","bindTemplate","430726AqBFRg","Suggested by","div","type","1306375VpzjUu","5355823sNSeWo","isSuggestion","Added by","_model","focus","add","changeId","140GjWoRh","ck-annotation","span","ck-revision-change","element","author","8560xGynYo","ck-revision-change__"];return(Yt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(150578===parseInt(e(405))/1*(-parseInt(e(383))/2)+parseInt(e(376))/3+-parseInt(e(395))/4*(parseInt(e(404))/5)+parseInt(e(403))/6*(parseInt(e(387))/7)+-parseInt(e(379))/8+-parseInt(e(381))/9*(parseInt(e(401))/10)+parseInt(e(388))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[Bt(394)];[Bt(391)];constructor(t,e){const i=Bt;super(t),this[i(391)]=e,this[i(394)]=e.id;const n=this[i(382)],s=at(t,e[i(406)][i(389)]?i(384):i(393)==e[i(386)]?i(390):i(377));this[i(380)](i(386),e[i(386)]),this[i(374)]({tag:i(385),attributes:{class:[i(396),i(398),n.to(i(386),t=>i(402)+t)],tabindex:-1},children:[{tag:i(397),children:[{tag:i(397),attributes:{class:[i(378)]},children:[{text:s}]},{text:" "+e[i(400)][i(375)]}]}]})}[Bt(392)](){const t=Bt;this[t(399)][t(392)]()}}function Gt(t,e){var i=Kt();return(Gt=function(t,e){return i[t-=142]})(t,e)}function Kt(){var t=["7716ZlABOy","1482lOpkmT","54VrlTgO","38588lAjOWD","367515IvceHT","createdAt","1387774okgwfD","author","toJSON","3343746NhNpjb","rootName","1060190EdtyUa","182336oLbvYT","data","set","10GoLWDD","7524TuuYni","259drTgIj","type"];return(Kt=function(){return t})()}var Xt=Gt;!function(t){for(var e=Gt,i=t();;)try{if(635222===parseInt(e(142))/1+-parseInt(e(144))/2+-parseInt(e(158))/3*(parseInt(e(154))/4)+parseInt(e(153))/5*(parseInt(e(147))/6)+parseInt(e(155))/7*(-parseInt(e(150))/8)+parseInt(e(159))/9*(-parseInt(e(149))/10)+-parseInt(e(160))/11*(-parseInt(e(157))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Qt extends((0,t.ObservableMixin)()){id;[Xt(145)];[Xt(156)];[Xt(151)];[Xt(148)];constructor(e){var i=Xt;super(),this.id=e.id||(0,t.uid)(),this[i(145)]=e[i(145)],this[i(156)]=e[i(156)],this[i(151)]=e[i(151)]||{},this[i(148)]=e[i(148)],this[i(152)](i(143),e[i(143)])}[Xt(146)](){var t=Xt;return{id:this.id,authorId:this[t(145)].id,type:this[t(156)],data:this[t(151)],createdAt:this[t(143)]}}}function te(t,e){const i=ie();return(te=function(t,e){return i[t-=487]})(t,e)}const ee=te;function ie(){const t=["185jrsuDk","3441dQKsde","26XduqBH","15366vXthCg","_setChanges","1693593KKbmxc","add","2088758hbywIy","30dUAvGB","1230452oVTljJ","changes","1476824YxQmEK","182193jHrSQM","newRevisionId","oldRevisionId"];return(ie=function(){return t})()}!function(t){const e=te,i=t();for(;;)try{if(215372===parseInt(e(500))/1*(-parseInt(e(501))/2)+-parseInt(e(496))/3+parseInt(e(493))/4+-parseInt(e(499))/5*(-parseInt(e(487))/6)+parseInt(e(491))/7+parseInt(e(495))/8+parseInt(e(489))/9*(-parseInt(e(492))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[ee(497)];[ee(498)];[ee(494)];constructor(e,i){const n=ee;this[n(497)]=e,this[n(498)]=i,this[n(494)]=new t.Collection}[ee(488)](t){const e=ee;for(const i of t)this[e(494)][e(490)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=de();return(ae=function(t,e){return i[t-=351]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(989452===-parseInt(e(451))/1*(-parseInt(e(568))/2)+-parseInt(e(673))/3*(parseInt(e(385))/4)+parseInt(e(504))/5+parseInt(e(640))/6+-parseInt(e(368))/7*(parseInt(e(576))/8)+parseInt(e(604))/9+parseInt(e(436))/10*(-parseInt(e(428))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);class ce extends G.Plugin{[oe(567)];[oe(392)]=null;[oe(646)];[oe(625)];[oe(360)];[oe(555)];[oe(660)];static get[oe(602)](){return oe(669)}static get[oe(582)](){return!0}static get[oe(566)](){return!0}static get[oe(635)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(567)]=this[e(528)][e(620)][e(622)](e(435)),this[e(646)]=this[e(528)][e(620)][e(622)](e(367)),this[e(543)](e(425),null),this[e(543)](e(627),null),this[e(625)]=null,this[e(543)](e(480),null),this[e(543)](e(485),!1),this[e(543)](e(598),!0),this.on(e(487),(t,i,n)=>{const s=e;this[s(425)]=null,this[s(627)]=null,this[s(528)][s(525)][s(644)][s(553)](t=>{const e=s;for(const i of this[e(528)][e(525)][e(644)][e(518)][e(510)])n?t[e(433)](e(456),i):t[e(420)](e(456),i)})}),this[e(412)](e(655)).to(this,e(425),t=>null!==t),this[e(412)](e(600)).to(this,e(485),this,e(480),this,e(425),(t,i,n)=>t&&n?i[e(672)][e(383)](n):0),this[e(412)](e(506)).to(this,e(485),this,e(480),(t,i)=>t?i[e(672)][e(521)]:0),this[e(360)]=null,this[e(555)]=new Map,this[e(660)]=this[e(528)][e(620)][e(622)](It.ContextualBalloon)}[oe(569)](){const t=oe,e=this[t(528)],i=new he(e,{direction:t(494)}),n=new he(e,{direction:t(491)});e[t(613)][t(409)](t(382),i),e[t(613)][t(409)](t(556),n),e[t(613)][t(409)](t(641),new le(e)),this.on(t(595),()=>{const e=t;i[e(471)](),n[e(471)]()}),this[t(359)](),this[t(541)](),e[t(455)](t(391)),e[t(620)][t(647)](t(542))&&e[t(620)][t(622)](t(542))[t(545)](t(391))}async[oe(490)](t){const e=oe;return await this[e(646)][e(468)](t,this[e(392)]),this[e(646)][e(490)](t)}async[oe(362)](t){const e=oe;return await this[e(646)][e(468)](t,this[e(392)]),this[e(646)][e(362)](t)}async[oe(629)](t,e,i=!1){const n=oe;if(!this[n(598)])return;const s=this[n(480)],r=this[n(567)],o=n(499)==typeof t?r[n(492)](t):t,a=n(499)==typeof e?r[n(492)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(480)]&&this[n(480)][n(565)]===c&&this[n(480)][n(538)]===u)return Promise[n(606)]();this[n(485)]=!1,this[n(627)]=null,this[n(425)]=null,this[n(480)]=new ne(c,u);const l=this[n(374)](o,a,!0)[n(427)](t=>this[n(646)][n(468)](t,this[n(392)]));return l[n(414)](new Promise(t=>{setTimeout(t,20)})),Promise[n(611)](l)[n(668)](()=>{const t=n;if(!this[t(598)])return;this[t(665)]();const e=this[t(657)](c,u);for(const i of e[t(672)])this[t(555)][t(543)](i.id,i);this[t(528)][t(448)][t(550)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(528)][n(448)][n(518)][n(440)]())i[n(527)](t);for(const t of Object[n(398)](e[n(448)])){const s=i[n(353)](t);for(const r of Object[n(398)](e[n(406)][t]))i[n(369)](r,e[n(406)][t][r],s);i[n(474)](e[n(448)][t],s,0)}}),this[t(480)][t(375)](this[t(571)](e[t(672)])),this[t(485)]=!0})[n(352)](t=>{const e=n;console[e(415)](t),this[e(665)](),s&&(this[e(480)]=s),this[e(485)]=!0})}[oe(514)](t,e){const i=oe,n=this[i(567)][i(450)](t);return n.on(i(473),(t,i,s)=>e(i,s,n)),this[i(567)][i(438)](n),n}[oe(665)](){const t=oe;this[t(425)]=null,this[t(596)](),this[t(360)]&&this[t(360)][t(585)](),this[t(360)]=null,this[t(555)][t(358)](),this[t(528)][t(448)][t(550)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(528)][i(448)][i(518)][i(440)]())e[i(527)](t)})}[oe(571)](t){const e=oe,i=[],n=new Map;for(const t of this[e(528)][e(448)][e(518)][e(440)]()){const s=this[e(528)][e(525)][e(644)][e(593)](t);if(!s)continue;const r=s[e(400)]()[e(612)](0);r&&(i[e(414)](t),n[e(543)](t,r))}return i[e(661)]((t,i)=>{const s=e,r=n[s(622)](t),o=n[s(622)](i);return r.y-o.y||r.x-o.x}),(t=t[e(526)](t=>i[e(658)](t[e(484)])))[e(661)]((t,n)=>i[e(663)](t[e(484)])-i[e(663)](n[e(484)])),t}[oe(432)](t){const e=oe,i=Array[e(366)](t[e(562)])[e(526)](([t,i])=>t[e(496)](e(356))&&!i[e(583)]),n=Array[e(366)](this[e(528)][e(448)][e(395)](t)[e(422)]({singleCharacters:!0}));if(0!=i[e(521)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(399)](":");if(s[e(381)][e(664)](t[e(605)])&&i[e(529)](),(t[e(387)][e(664)](s[e(372)])||t[e(387)][e(418)](s[e(372)]))&&(e(365)==r?t[e(530)]={userId:o}:e(577)==r&&(t[e(512)]={userId:o})),0==i[e(521)])break}return n}[oe(519)](t){const e=oe,i=new Map;for(let n=0;n<t[e(521)];n++)e(548)===t[n][e(560)]?(t[n][e(612)][e(363)]=n,t[n][e(612)][e(410)]=n):(e(394)===t[n][e(560)]?t[n][e(612)][e(363)]=n:e(670)===t[n][e(560)]&&(t[n][e(612)][e(410)]=n),i[e(543)](t[n].id,n));for(const n of i[e(666)]())e(394)===t[n][e(560)]?t[n][e(612)][e(410)]=i[e(622)](t[n][e(478)]):e(670)===t[n][e(560)]&&(t[n][e(612)][e(363)]=i[e(622)](t[n][e(478)]))}[oe(364)](t){const e=oe;for(let i=0;i<t[e(521)];i++){if(e(394)===t[i][e(560)])t[i][e(612)][e(363)]=i;else if(e(670)===t[i][e(560)]){t[i][e(612)][e(410)]=i;const n=t[i][e(612)][e(363)];t[n][e(478)]=t[i].id,t[i][e(478)]=t[n].id}else t[i][e(612)][e(363)]=i,t[i][e(612)][e(410)]=i,t[i][e(478)]=null;t[i][e(592)]||(t[i][e(592)]=[],t[i][e(421)]=[])}}[oe(628)](t,e){const i=oe,n=t[i(526)](t=>!t[i(530)]);for(let t=0;t<e[i(521)];t++)e[t][i(530)]&&(n[t][i(530)]=e[t][i(530)])}[oe(657)](t,e=null){const i=oe,n=this[i(567)][i(492)](t),s=e?this[i(567)][i(492)](e):null,r=this[i(374)](n,s),o=r[r[i(521)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(521)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(398)](e[i(452)]))if(e[i(452)][t][i(552)]){const n=e[i(452)][t][i(552)];n[i(502)]?(u[i(409)](t),l[i(647)](t)&&l[i(622)](t)[i(513)]==n[i(513)]?l[i(498)](t):l[i(543)](t,n)):l[i(647)](t)?(u[i(498)](t),l[i(498)](t)):(u[i(409)](t),l[i(543)](t,n))}else u[i(409)](t)}for(const t of u){const e=l[i(647)](t)&&!l[i(622)](t)[i(502)];let n=e?r[i(521)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(452)][t]){const n=e?o[i(452)][t][i(481)]:o[i(452)][t][i(575)];c[i(406)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(448)]={};for(const e of t[i(520)])a[i(543)](e.id,e);for(const e of u){const n=t[i(452)][e]?t[i(452)][e][i(667)]:"[]",s=t[i(452)][e]?t[i(452)][e][i(533)]:"[]";t[i(448)][e]={insertions:this[i(646)][i(507)](n),deletions:this[i(646)][i(507)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(366)](n[i(448)][t][i(667)][i(562)])[i(526)](([t])=>!t[i(496)](i(356))));let h=0;for(const o of r){const r=this[i(432)](o[i(448)][t][i(667)]);o==n?(e=r,s=e[i(521)],e[i(386)](t=>{t.id=h++}),this[i(364)](e)):this[i(628)](e,r);const a=e[i(526)](t=>!t[i(530)])[i(427)](t=>t.id);let c=0;const l=this[i(432)](o[i(448)][t][i(533)]);l[i(386)](t=>{t[i(512)]?t.id=s++:t.id=a[c++]}),this[i(364)](l),this[i(459)](e,i(530)),this[i(459)](l,i(512)),o==n&&this[i(509)](e,u),e=this[i(616)](e,l),this[i(519)](e),this[i(459)](e,i(512))}e=e[i(526)](t=>!(t[i(530)]&&t[i(512)]));const d=new Map(o[i(448)][t][i(533)][i(562)]),f=new Set(u[i(398)]());for(const t of d[i(398)]())f[i(498)](t);this[i(379)](e,f),this[i(465)](e),e=this[i(574)](e),e=this[i(626)](e),e=this[i(633)](e);const{root:m,changes:p}=this[i(639)](e,a,t);c[i(448)][t]=m;const v=l[i(622)](t);if(v){const e=a[i(622)](v[i(513)]),n=new Qt({author:e,type:v[i(502)]?i(409):i(466),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(486)](n),c[i(406)][t][i(662)]=n.id}c[i(672)]=c[i(672)][i(573)](p)}return c}[oe(509)](t,e){const i=oe;for(let n=0;n<t[i(521)];n++)for(const[s,r]of e)!r[i(583)]&&r[i(372)][i(664)](t[n][i(387)])&&t[n][i(592)][i(414)](s),r[i(381)][i(664)](t[n][i(605)])&&t[n][i(421)][i(414)](s)}[oe(616)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(521)]||r<e[i(521)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(414)](o);else if(a[i(512)]&&o[i(530)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(601)](t,s,e,r);n=n[i(573)](o),s=a,r=c}else a[i(512)]?(r++,n[i(414)](a)):(s++,n[i(414)](o))}return n}[oe(379)](t,e){const i=oe,n=[];for(let o=0;o<t[i(521)];o++){for(let r=0;r<t[o][i(592)][i(521)];r++){const a=t[o][i(592)][r];if(!e[i(647)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(674)!=c||i(365)!=u&&i(577)!=u||(n[i(486)]({type:u,name:a,userId:l}),t[o][i(592)][i(354)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(421)][i(521)];r++){const a=t[o][i(421)][r];if(!e[i(647)](a))continue;const{group:c,type:u}=s(a);if(i(674)!=c||i(365)!=u&&i(577)!=u)continue;t[o][i(421)][i(354)](r,1),r--;const l=n[i(558)](t=>t[i(477)]==a);l>-1&&n[i(354)](l,1)}}function s(t){const e=i,n=t[e(399)](":");return{group:n[0],type:n[1],subType:n[e(521)]>=5?n[2]:null,id:n[e(521)]<5?n[2]:n[3],authorId:n[e(521)]<5?n[3]:n[4],markerCount:6==n[e(521)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(521)];i++){if(t[e(530)]&&e(365)==n[i][e(560)]&&t[e(530)][e(513)]==n[i][e(513)])return t[e(408)]=n[i],void delete t[e(530)];if(!t[e(530)]&&!t[e(512)]&&e(577)==n[i][e(560)])return void(t[e(497)]=n[i])}}}[oe(459)](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(543)](o.id,n);for(let n=0;n<t[i(521)];n++){if(i(512)==e&&t[n][i(530)]||i(530)==e&&t[n][i(512)])continue;if(i(548)==t[n][i(560)]){t[n][i(517)]=0;continue}const s=r[i(622)](t[n][i(478)]),o=r[i(622)](t[n].id);t[n][i(517)]=s-o}}[oe(374)](t,e,i=!1){const n=oe,s=[];let r=this[n(567)][n(383)](t),o=this[n(567)][n(383)](e);for(-1==o&&(o=this[n(567)][n(534)][n(521)],i=!1);r<o;)s[n(414)](this[n(567)][n(492)](r)),r++;return i&&s[n(414)](this[n(567)][n(492)](r)),s}[oe(601)](t,e,i,n){const s=oe,r=this[s(528)][s(448)][s(532)];let o=e;for(;t[o]&&t[o][s(530)];)o++;let a=n;for(;i[a]&&i[a][s(512)];)a++;u(t,e,o),u(i,n,a);const c=i[s(630)](n,a)[s(573)](t[s(630)](e,o));return c[s(661)]((t,e)=>t[s(501)]!=e[s(501)]?t[s(501)]-e[s(501)]:t[s(649)]!=e[s(649)]?t[s(649)]-e[s(649)]:t[s(517)]!=e[s(517)]?e[s(517)]-t[s(517)]:!!t[s(530)]!=!!e[s(530)]?-1==t[s(501)]||0==t[s(501)]?t[s(530)]?-1:1:t[s(530)]?1:-1:t[s(467)]-e[s(467)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(489)],c=!0;for(let s=e;s<i;s++)if(r[n(380)](t[s][n(612)])||(c=!1),t[s][n(612)][n(363)]<e&&(o=s),t[s][n(612)][n(410)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(501)]=s<=o?-1:s<a?0:1,t[s][n(467)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(517)]?t[i][n(649)]=u:(u++,t[i][n(649)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(501)]&&(t[s][n(649)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(517)]?t[e][n(649)]=u:(u--,t[e][n(649)]=u,u--)}}[oe(465)](t){const e=oe,i=new Map,n=this[e(528)][e(448)][e(532)];for(let s=1;s<t[e(521)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(548)==c[e(560)])continue;if(c[e(560)]!=u[e(560)])continue;if(!n[e(546)](u[e(612)])||n[e(396)](u[e(612)]))continue;if(!n[e(546)](c[e(612)])||n[e(396)](c[e(612)]))continue;if((t[s][e(530)]||t[s][e(408)])&&t[s-1][e(512)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(512)]||!t[s-1][e(530)]&&!t[s-1][e(408)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(649)]==o[e(649)],h=Math[e(652)](r[e(649)])<Math[e(652)](o[e(649)])&&0==o[e(517)];(l||h)&&(i[e(543)](o.id,r.id),t[e(354)](a,1),s--,r[e(530)]=!1)}for(let n=0;n<t[e(521)];n++)i[e(647)](t[n][e(478)])&&(t[n][e(478)]=i[e(622)](t[n][e(478)]))}[oe(574)](t){const e=oe,i=new Set(t[e(427)](t=>t.id));for(let n=0;n<t[e(521)];n++)i[e(647)](t[n][e(478)])||0==t[n][e(517)]||(t[n][e(445)]=!0);return t[e(526)](t=>!t[e(445)])}[oe(626)](t){const e=oe,i=new Set;for(let n=0;n<t[e(521)];n++){if(i[e(647)](t[n].id)&&t[n][e(512)]&&(t[n][e(445)]=!0),t[n][e(445)])continue;if(0==t[n][e(517)])continue;if(e(394)!=t[n][e(560)])continue;if(null==t[n][e(478)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(478)];)e(394)==t[s][e(560)]?r++:e(670)==t[s][e(560)]&&r--,s++;if(0!=r)if(t[n][e(512)])t[n][e(445)]=!0;else for(;s!=n;)t[s][e(512)]&&0!=t[s][e(517)]&&(t[s][e(445)]=!0,i[e(409)](t[s][e(478)])),s--}return t[e(526)](t=>!t[e(445)])}[oe(633)](t){const e=oe,i=this[e(528)][e(448)][e(532)];for(let n=0;n<t[e(521)];n++){if(!(t[n][e(530)]||t[n][e(408)]||t[n][e(512)]||t[n][e(497)]))continue;if(0==t[n][e(517)])continue;const s=t[n][e(612)];i[e(546)](s)||i[e(396)](s)||(t[n][e(530)]&&delete t[n][e(530)],t[n][e(408)]&&delete t[n][e(408)],t[n][e(497)]&&delete t[n][e(497)],t[n][e(512)]&&(t[n][e(445)]=!0))}return t[e(526)](t=>!t[e(445)])}[oe(639)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(528)][n(448)],c=a[n(532)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(521)];e++)if(n(394)===t[e][n(560)]){t[e][n(387)]=a[n(535)](s,f);const i=new X.ModelElement(t[e][n(612)][n(477)],t[e][n(612)][n(472)]());u[0][n(447)](i),f[n(414)](0),u[n(486)](i),t[e][n(605)]=a[n(535)](s,f)}else n(670)===t[e][n(560)]?(u[n(529)](),t[e][n(387)]=a[n(535)](s,f),f[n(589)](),f[f[n(521)]-1]++,t[e][n(605)]=a[n(535)](s,f)):(t[e][n(387)]=a[n(535)](s,f),d?d[n(493)]+=t[e][n(612)][n(588)]:d=new X.ModelText(t[e][n(612)][n(588)],t[e][n(612)][n(472)]()),t[e+1]&&n(548)===t[e+1][n(560)]&&v(d,t[e+1][n(612)])||(u[0][n(447)](d),d=null),f[f[n(521)]-1]+=t[e][n(612)][n(648)],t[e][n(605)]=a[n(535)](s,f));for(let e=0;e<t[n(521)];e++){const i=t[e][n(387)],s=t[e][n(605)];for(const s of t[e][n(592)])o[n(543)](s,{start:i,end:null});m(n(497),e,i,s),m(n(408),e,i,s),m(n(512),e,i,s),m(n(530),e,i,s);for(const i of t[e][n(421)]){const t=o[n(622)](i);t?t[n(381)]=s:o[n(543)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(528)][n(448)][n(645)](e[n(372)],e[n(381)]);s[n(562)][n(543)](t,i)}return r[n(661)]((t,e)=>{const i=n,r=s[i(562)][i(622)](i(356)+t.id),o=s[i(562)][i(622)](i(356)+e.id);return r[i(372)][i(578)](o[i(372)])?-1:r[i(372)][i(418)](o[i(372)])?1:r[i(381)][i(578)](o[i(381)])?-1:r[i(381)][i(418)](o[i(381)])?1:i(409)===t[i(560)]?-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(513)]:null,d=i===t[o(521)]-1,f=h[e][0],m=c[o(590)](t[i][o(612)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(381)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(513)]!==u&&(l[e][o(381)]=s,f&&f[o(513)]===l[e][o(513)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(394)!==t[i][o(560)]||f&&f[o(513)]===u||h[e][o(486)]({userId:u,object:t[i][o(612)],change:l[e]}),o(670)===t[i][o(560)]&&f&&f[o(511)]===t[i][o(612)]&&(h[e][o(529)](),l[e]=f[o(553)])),l[e]&&d&&(l[e][o(381)]=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(612)],f=a[h(532)][h(546)](d)&&!a[h(532)][h(396)](d),m=t[h(617)]==o[h(624)]&&o[h(384)];if(f&&m)return;const p=a[h(645)](t,o),v=e[h(622)](u),g=new Qt({author:v,type:h(530)==l||h(408)==l?h(409):h(466),data:{isSuggestion:h(408)==l||h(497)==l},createdAt:new Date,rootName:i});r[h(414)](g),s[h(562)][h(543)](h(356)+g.id,p)}function v(t,e){const i=n,s=t[i(472)](),r=e[i(472)]();for(const t of s){if(t[1]!==e[i(559)](t[0]))return!1;r[i(417)]()}return r[i(417)]()[i(632)]}}[oe(359)](){const t=oe;this[t(528)][t(483)][t(554)](t(351))[t(540)]({view:t(411)}),this[t(528)][t(483)][t(554)](t(544))[t(469)]({model:t(411),view:e=>{const i=t,n=e[i(581)][i(399)](":")[1],s=this[i(503)](n);if(!s)return null;const r=i(409)==s[i(560)]?i(365):i(577),o=[i(579),i(482)+r];return s[i(588)][i(516)]&&o[i(414)](i(482)+r+i(461)),this[i(425)]==s&&o[i(414)](i(463)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(528)][t(483)][t(554)](t(351))[t(409)](e=>{const i=t;e.on(i(654),(t,e,n)=>{const s=i,r=e[s(419)][s(446)](0);if(!r||!r.is(s(524),s(584)))return;if(!n[s(551)][s(371)](r,{attributes:[s(561),s(557)]}))return;const o=e[s(531)][s(372)][s(617)];n[s(403)][s(369)](s(561),r[s(559)](s(561)),o),n[s(403)][s(369)](s(557),r[s(559)](s(557)),o)},{priority:i(462)})}),this[t(528)][t(483)][t(554)](t(351))[t(409)](e=>{const i=t;e.on(i(524),(t,e,n)=>{const s=i;if(!n[s(551)][s(371)](e[s(419)],{attributes:[s(561),s(557)]}))return;if(e[s(531)][s(583)])return;const r=e[s(531)][s(372)][s(617)];r[s(539)](s(561))||r[s(539)](s(393))||(n[s(403)][s(369)](s(561),e[s(419)][s(559)](s(561)),r),n[s(403)][s(369)](s(557),e[s(419)][s(559)](s(557)),r))},{priority:i(462)})}),this[t(528)][t(483)][t(554)](t(351))[t(634)]({view:{name:t(614),attributes:{vid:!0}},model:{key:t(393),value:e=>e[t(559)](t(393))}}),this[t(528)][t(448)][t(532)].on(t(357),(e,[,i])=>{const n=t;[n(561),n(557),n(393)][n(658)](i)&&(e[n(623)]=!0,e[n(413)]())},{priority:t(549)}),this[t(528)][t(483)][t(554)](t(434))[t(409)](e=>{const i=t;e.on(i(389),(t,e,n)=>{const s=i;if(" "!=e[s(612)][s(588)]||e[s(612)][s(624)][s(642)]>1)return;if(!n[s(551)][s(371)](e[s(612)],t[s(477)]))return;const r=n[s(403)],o=n[s(453)][s(653)](e[s(442)]);r[s(443)](o,r[s(470)](s(614)))})}),this[t(528)][t(483)][t(554)](t(434))[t(631)]({model:t(411)}),this[t(528)][t(525)][t(361)].on(t(405),function(e){const i=t,n=e[i(620)][i(622)](i(669));return(t,s,r)=>{const o=i,a=s[o(581)][o(399)](":")[1],c=n[o(503)](a);if(!c)return null;const u=o(409)==c[o(560)]?o(399):o(618);if(!r[o(551)][o(607)](s[o(454)],t[o(477)]))return;const l=s[o(454)][o(422)](),h=s[o(454)][o(372)],d=e[o(448)][o(532)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(612)];p=p||d[o(570)](e);const i=r[o(453)][o(426)](e);if(i&&i[o(594)](o(430)))return;o(670)==t[o(560)]&&d[o(546)](e)&&!d[o(396)](e)&&(e[o(591)]||h[o(402)]?f&&f[o(624)]==e||(f=e,g(t[o(387)]),v=!0):m=m||t[o(387)])}function g(t){const e=o,i=r[e(403)][e(404)](e(614),{class:e(482)+u}),a=r[e(453)][e(373)](t);c[e(588)][e(516)]&&r[e(403)][e(420)](e(482)+u+e(461),i),n[e(425)]==c&&r[e(403)][e(420)](e(463),i),r[e(403)][e(474)](a,i),r[e(453)][e(536)](i,s[e(581)])}p||v||!m||g(m)}}(this[t(528)]),{priority:t(423)}),this[t(528)][t(525)][t(361)].on(t(390),(e,i,n)=>{const s=t,r=n[s(453)][s(479)](i[s(581)]);if(r)for(const t of r)(t[s(515)](s(476))||t[s(515)](s(619)))&&(n[s(453)][s(651)](t,i[s(581)]),n[s(403)][s(466)](t))},{priority:t(423)}),this[t(528)][t(525)][t(361)].on(t(405),(e,i,n)=>{const s=t,r=i[s(581)][s(399)](":")[1],o=this[s(503)](r);if(!o)return null;const a=s(409)==o[s(560)]?s(399):s(618);if(n[s(551)][s(607)](i[s(454)],e[s(477)]))for(const t of i[s(454)][s(488)]()){if(!t.is(s(524),s(676)))continue;const e=n[s(403)][s(404)](s(614),{class:s(482)+a}),r=n[s(453)][s(373)](this[s(528)][s(448)][s(370)](t));o[s(588)][s(516)]&&n[s(403)][s(420)](s(482)+a+s(461),e),this[s(425)]==o&&n[s(403)][s(420)](s(463),e),n[s(403)][s(474)](r,e),n[s(453)][s(536)](e,i[s(581)])}},{priority:t(423)}),this[t(528)][t(448)][t(518)].on(t(553),()=>{const e=t;this[e(528)][e(525)][e(644)][e(553)](t=>{const i=e;for(const e of this[i(528)][i(448)][i(518)][i(440)]()){const n=this[i(528)][i(448)][i(518)][i(397)](e),s=this[i(528)][i(525)][i(644)][i(518)][i(397)](e);if(s){const e=n[i(559)](i(662));if(t[i(587)](i(439),s),t[i(433)](i(401),s),t[i(433)](i(609),s),t[i(433)](i(580),s),e){const n=this[i(503)](e);if(!n)return null;t[i(369)](i(439),e,s),t[i(420)](i(643)+n[i(560)],s),this[i(425)]==n&&t[i(420)](i(580),s)}}}})}),this[t(528)][t(483)][t(554)](t(351))[t(540)]({view:t(563),model:e=>t(656)+e,converterPriority:t(549)}),this[t(528)][t(483)][t(554)](t(351))[t(540)]({view:t(677),model:e=>t(671)+e,converterPriority:t(549)}),this[t(528)][t(483)][t(554)](t(434))[t(631)]({model:t(674),view:e=>({name:t(407)+e,group:t(674)}),converterPriority:t(549)}),this[t(528)][t(483)][t(554)](t(544))[t(469)]({model:t(674),view:e=>{const i=t,n=e[i(581)][i(399)](":")[1];return i(365)!=n&&i(577)!=n?null:{classes:[i(610),i(638)+n]}}}),this[t(528)][t(525)][t(361)].on(t(449),ue(this[t(528)],t(618)),{priority:t(423)}),this[t(528)][t(525)][t(361)].on(t(378),ue(this[t(528)],t(399)),{priority:t(423)}),this[t(528)][t(525)][t(361)].on(t(495),(e,i,n)=>{const s=t,r=n[s(453)][s(479)](i[s(581)]);if(r)for(const t of r)t.is(s(572))&&(n[s(453)][s(651)](t,i[s(581)]),n[s(403)][s(466)](t))},{priority:t(423)})}[oe(503)](t){const e=oe;return this[e(555)][e(622)](t)}[oe(523)](t){const e=oe;return this[e(360)]&&this[e(360)][e(585)](),this[e(360)]=new Jt(this[e(528)][e(355)],t),this[e(360)]}[oe(541)](){const t=oe;this[t(528)][t(448)][t(518)][t(377)][t(437)](t(411)),this.on(t(599),(e,i,n,s)=>{const r=t;s&&this[r(660)][r(466)](s),n&&(this[r(660)][r(409)]({view:n,stackId:r(537),position:{target:()=>{const t=r,e=this[t(528)][t(525)],i=this[t(503)](n[t(603)]);let s;if(i[t(588)][t(636)]){const n=e[t(644)][t(593)](i[t(484)]);s=Array[t(366)](n[t(400)]())}else{const i=this[t(528)][t(448)][t(562)][t(622)](t(356)+n[t(603)]);s=Array[t(366)](e[t(453)][t(479)](i[t(477)]))[t(427)](i=>e[t(644)][t(586)][t(460)](i))[t(427)](e=>Array[t(366)](e[t(400)]()))[t(429)]()}return this[t(625)]&&s[t(431)](e=>e[t(416)]-3<=this[t(625)].y&&e[t(444)]+3>=this[t(625)].y&&e[t(659)]-3<=this[t(625)].x&&e[t(458)]+3>=this[t(625)].x)||s[0]}}}),this[r(660)][r(475)](r(537)))}),this.on(t(376),(e,i,n,s)=>{const r=t;this[r(627)]=n?this[r(523)](n):null,this[r(528)][r(448)][r(553)](()=>{const t=r,e=this[t(528)][t(525)];s&&(s[t(588)][t(636)]?e[t(644)][t(553)](i=>{const n=t;i[n(433)](n(580),e[n(644)][n(518)][n(397)](s[n(484)]))}):e[t(637)](t(356)+s.id)),n&&(n[t(588)][t(636)]?e[t(644)][t(553)](i=>{const s=t;i[s(420)](s(580),e[s(644)][s(518)][s(397)](n[s(484)]))}):e[t(637)](t(356)+n.id))})}),this[t(675)](this[t(528)][t(525)][t(644)][t(518)],t(508),(e,i)=>{const n=t;if(this[n(425)])return;const s=this[n(621)](i[n(615)]),r=this[n(555)][n(622)](s);r?(this[n(625)]={x:i[n(424)].x,y:i[n(424)].y},this[n(627)]=this[n(523)](r)):(this[n(625)]=null,this[n(627)]=null)}),this[t(675)](this[t(528)][t(525)][t(644)][t(518)],t(547),(e,i)=>{const n=t,s=this[n(621)](i[n(615)]),r=this[n(555)][n(622)](s);r?(this[n(625)]={x:i[n(424)].x,y:i[n(424)].y},r===this[n(425)]?this[n(660)][n(500)]():this[n(425)]=r):(this[n(625)]=null,this[n(425)]=null)})}[oe(621)](t){const e=oe;do{const i=t[e(559)](e(439));if(i)return i;t=t[e(624)]}while(t);return null}[oe(596)](){const t=oe;this[t(528)][t(448)][t(553)](e=>{const i=t;for(const t of this[i(528)][i(448)][i(562)])e[i(464)](t)})}}function ue(t,e){return(i,n,s)=>{const r=ae;if(!s[r(551)][r(607)](n[r(454)],i[r(477)]))return;const o=n[r(454)][r(422)](),a=n[r(454)][r(372)],c=t[r(448)][r(532)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(612)];h=h||c[r(570)](e);const i=s[r(453)][r(426)](e);if(i&&i[r(594)](r(430)))return;r(670)==t[r(560)]&&c[r(546)](e)&&!c[r(396)](e)&&(e[r(591)]||a[r(402)]?u&&u[r(624)]==e||(u=e,f(t[r(387)]),d=!0):l=l||t[r(387)])}function f(t){const i=r,o=s[i(453)][i(373)](t),a=s[i(403)][i(404)](i(614),{class:i(638)+e});s[i(403)][i(474)](o,a),s[i(453)][i(536)](a,n[i(581)])}h||d||!l||f(l)}}class le extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(620)][e(622)](ce);this[e(388)]=!1,this[e(675)](i,e(564),()=>this[e(471)]()),this[e(675)](i,e(487),()=>this[e(471)]())}[oe(505)](){const t=oe,e=this[t(528)],i=e[t(620)][t(622)](ce),n=i[t(485)]?i[t(480)][t(565)]:null;e[t(522)][t(622)](t(650))[t(457)](n)}[oe(471)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(528)][t(620)][t(622)](ce),r=s&&n[t(597)](s[t(565)]);this[t(598)]=e&&i&&Boolean(r)}}class he extends G.Command{[oe(441)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(620)][i(622)](ce);this[i(388)]=!1,this[i(441)]=i(491)===e?1:-1,this[i(675)](n,i(564),()=>this[i(471)]()),this[i(675)](n,i(487),()=>this[i(471)]()),this[i(675)](n,i(376),()=>this[i(471)]())}[oe(505)](){const e=oe,i=this[e(528)],n=i[e(620)][e(622)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(425)]=s?n[e(480)][e(672)][e(622)](r+this[e(441)]):n[e(480)][e(672)][e(608)],n[e(425)][e(588)][e(636)])o=i[e(525)][e(644)][e(593)](n[e(425)][e(484)]);else{const t=i[e(448)][e(562)][e(622)](e(356)+n[e(425)].id);o=(0,K.getMarkerDomElement)(i[e(525)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(471)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(528)][t(620)][t(622)](ce);this[t(598)]=!!(r&&s&&n)&&(!e||(1===this[t(441)]?i<n-1:i>0))}}function de(){const t=["removeMarker:revision-suggestion","startsWith","isRemoveSuggestion","delete","string","updatePosition","side","isAttached","_getChangeFromId","6485280FSNELu","execute","numberOfChanges","_makeModelFromViewString","mouseover","_markMarkers","roots","object","isRemoved","userId","addRevisionData","hasClass","isSuggestion","distance","document","_refreshStartEndIndex","authors","length","config","_getViewForChange","element","editing","filter","detachRoot","editor","shift","isAdded","modelRange","schema","deletions","_revisions","createPositionFromPath","bindElementToMarker","revisionHistoryLabel","oldRevisionId","hasAttribute","dataToMarker","_initInteractions","WidgetToolbarRepository","set","editingDowncast","forceDisabled","isBlock","mousedown","text","highest","enqueueChange","consumable","attachChange","change","for","_changeIdToChange","showNextChange","vid_end","findIndex","getAttribute","type","vid_start","markers","comment","change:isReady","newRevisionId","isPremiumPlugin","repository","18EFWZCr","init","isContent","_sortAndFilterDiffChanges","uiElement","concat","_removeMissingPairs","attributesAfter","28728IXJxBe","deletion","isBefore","ck-suggestion-marker","ck-revision-history-root--active","markerName","isOfficialPlugin","isCollapsed","code","destroy","domConverter","removeAttribute","data","pop","isObject","nextSibling","markersStart","getDomRoot","getCustomProperty","change:numberOfChanges","_cleanMarkers","getLaterVisibleRevision","isEnabled","change:activeView","currentChangeNumber","_threeWayMerge","pluginName","changeId","4832073JEFKOF","nextPosition","resolve","test","first","ck-revision-history-root-remove","ck-suggestion-preview-marker","all","item","commands","span","target","_joinTapes","nodeAfter","merge","ck-suggestion-marker-merge","plugins","_findChangeIdFromDomTarget","get","return","parent","_activeViewTarget","_markMismatchedRemovedTags","activeView","_markInsertions","compare","slice","markerToData","done","_removeUnsupportedChanges","elementToAttribute","requires","isOnRoot","reconvertMarker","ck-suggestion-preview-marker-","_makeModelFromTape","4846980gQpeIp","restoreRevision","maxOffset","ck-revision-history-root-","view","createRange","_utils","has","offsetSize","level","revisionHistory","unbindElementFromMarkerName","abs","toViewRange","element:pre","isNavigationMode","revision-comment:","_getDiff","includes","left","_balloon","sort","revisionHistoryAttachChange","indexOf","isEqual","_cleanUp","values","insertions","then","RevisionViewer","elementEnd","revision-suggestion:","changes","135wbDxzH","revision-suggestion","listenTo","softBreak","suggestion","upcast","catch","addRoot","splice","locale","revision:","checkAttribute","clear","_setConversion","_changeView","downcastDispatcher","getRevisionRootsAttributes","startIndex","_processTape","insertion","from","RevisionHistoryUtils","2653AvylEY","setAttribute","createPositionBefore","consume","start","toViewPosition","_getRevisionsRange","_setChanges","change:activeChange","selection","addMarker:revision-suggestion:insertion","_markSuggestions","isInline","end","showPreviousChange","getIndex","isAtStart","50908cSrVPW","forEach","previousPosition","affectsData","attribute:vid","removeMarker:revision","revision-viewer","adapter","vid","elementStart","createRangeIn","isLimit","getRoot","keys","split","getClientRects","ck-revision-history-root-add","isAtEnd","writer","createUIElement","addMarker:revision","attributes","suggestion:","isAddSuggestion","add","endIndex","revision","bind","stop","push","error","top","next","isAfter","viewItem","addClass","markersEnd","getWalker","high","domEvent","activeChange","toViewElement","map","22ndZyaS","flat","addHighlight","find","_makeTape","removeClass","dataDowncast","RevisionsRepository","606030MhTLWN","observeMarkers","addRevision","data-change-id","getRootNames","_step","range","wrap","bottom","isIncorrect","getChild","_appendChild","model","addMarker:revision-suggestion:deletion","createRevision","44731oTMaFV","diffData","mapper","markerRange","enableReadOnlyMode","ck-editor__editable__overlay","restoreRevisionCallback","right","_setDistance","mapViewToDom","-new","low","ck-suggestion-marker--active","removeMarker","_fixObsoleteTags","remove","index","loadRevisionData","markerToHighlight","createAttributeElement","refresh","getAttributes","_update","insert","showStack","ck-suggestion-marker-split","name","pairId","markerNameToElements","diff","attributesBefore","ck-suggestion-marker-","conversion","rootName","isReady","unshift","change:isEnabled","getItems","POSITIVE_INFINITY","getRevisionDocumentData","forward","getRevision","_data","backward"];return(de=function(){return t})()}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ge();return(pe=function(t,e){return i[t-=297]})(t,e)}!function(t){const e=pe,i=t();for(;;)try{if(459770===-parseInt(e(300))/1+parseInt(e(316))/2+-parseInt(e(308))/3*(-parseInt(e(315))/4)+-parseInt(e(324))/5+-parseInt(e(304))/6+parseInt(e(327))/7*(parseInt(e(330))/8)+-parseInt(e(319))/9*(-parseInt(e(312))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ge);class ve extends It.View{constructor(t){const e=pe;super(t);const i=this[e(338)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(298)](e(305),!1),this[e(298)](e(334),!1),this[e(298)](e(317),0),this[e(298)](e(337),0),this[e(298)](e(331),!1),this[e(298)](e(326),!1),this[e(302)](e(335)).to(this,e(334),this,e(337),(t,e)=>t&&e>0),this[e(302)](e(329)).to(this,e(334),this,e(317),this,e(337),this,e(305),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(311));if(!s)return at(t,o(320));const a=at(t,o(301),s);return r?at(t,o(307),[n+1,s]):a}),n[e(298)]({label:at(t,e(303)),tooltip:!0,icon:_t.IconChevronUp}),s[e(298)]({label:at(t,e(332)),tooltip:!0,icon:_t.IconChevronDown}),n[e(302)](e(313)).to(this,e(326)),s[e(302)](e(313)).to(this,e(331)),n.on(e(339),()=>this[e(299)](e(339),e(323))),s.on(e(339),()=>this[e(299)](e(339),e(325))),this[e(310)]({tag:e(318),attributes:{class:["ck",e(306),e(297)]},children:[{tag:e(314),attributes:{class:[e(333)]},children:[{tag:e(314),attributes:{class:[e(322),i.if(e(335),e(321),t=>!t)]},children:[{text:i.to(e(305),i=>i?at(t,e(336))+": ":at(t,e(328))+": ")}]},{text:i.to(e(329))}]},new It.ToolbarSeparatorView,{tag:e(318),attributes:{class:[e(309)]},children:[n,s]}]})}}function ge(){const t=["backward","3481115CMVOFu","forward","isBackwardNavigationEnabled","43561gVeyVC","Total","_statusText","8vTymvC","isForwardNavigationEnabled","Show next change","ck-revision-history-ui__changes-navigation__wrapper","isReady","_isStatusLabelVisible","EDIT_X_OF_Y_REVISIONS","numberOfChanges","bindTemplate","execute","ck-revision-history-ui__changes-navigation","set","fire","163129TzHNOS","NUMBER_OF_CHANGES","bind","Show previous change","5360466hHsaUW","isNavigationMode","ck-revision-history-ui","X_OF_Y_CHANGES","1197693BCuoot","ck-revision-history-ui__changes-navigation__navigation","setTemplate","Loading...","2730sPSqRu","isEnabled","span","8fpMPWZ","55120NbzQFA","currentChangeNumber","div","45504RpqMPT","No changes","ck-hidden","ck-revision-history-ui__changes-navigation__label"];return(ge=function(){return t})()}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=167]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(743691===parseInt(e(167))/1*(parseInt(e(170))/2)+-parseInt(e(182))/3*(parseInt(e(191))/4)+-parseInt(e(186))/5*(parseInt(e(180))/6)+-parseInt(e(168))/7+-parseInt(e(174))/8*(parseInt(e(187))/9)+-parseInt(e(169))/10*(parseInt(e(193))/11)+-parseInt(e(189))/12*(-parseInt(e(177))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(175);function Ie(){const t=["88621yqcVCe","isPremiumPlugin","addClass","1583070mRufgZ","show","8829UsVzHz","view","change","document","25cNIGvP","2430rKYGYu","removeClass","5376glzNwK","editor","500lyEXvk","hide","107327xsjzbk","isOfficialPlugin","4183qTEjjH","964187qhnjKQ","10sWJoHM","122KYpUNS","roots","pluginName","editing","21656EmbUUP","ck-editor__editable__loading-overlay","RevisionViewerLoadingOverlay"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(172)](){return be(176)}static get[be(194)](){return!0}static get[be(178)](){return!0}[be(181)](){const t=be,e=this[t(190)][t(173)][t(183)];e[t(184)](i=>{const n=t;for(const t of e[n(185)][n(171)])i[n(179)](_e,t)})}[be(192)](){const t=be,e=this[t(190)][t(173)][t(183)];e[t(184)](i=>{const n=t;for(const t of e[n(185)][n(171)])i[n(188)](_e,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=130]})(t,e)}function xe(){const t=["revisionHistory","exitToEditing","177576HZggRs","get","2534874gfkRpi","1609822rauEkN","isReady","listenTo","2938296HJQdaI","Restore this revision","numberOfChanges","hide","Back to editing","2656cwjFDm","7anUbLI","pluginName","currentChangeNumber","showNextChange","isEnabled","init","isNavigationMode","requires","isPremiumPlugin","change:isReady","restoreRevision","closeRevisionViewerCallback","editor","RevisionViewerUI","commands","config","componentFactory","show","14328rvYEBd","add","441030LUPbLx","plugins","forward","isBackwardNavigationEnabled","ck-revision-history-ui__back-to-editing","isForwardNavigationEnabled","5844535cxvTZA","set","bind","changesNavigation","execute","showPreviousChange","isOfficialPlugin"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(670059===parseInt(e(134))/1+parseInt(e(152))/2+-parseInt(e(149))/3+-parseInt(e(155))/4+parseInt(e(140))/5+-parseInt(e(151))/6*(parseInt(e(161))/7)+-parseInt(e(160))/8*(parseInt(e(132))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(162)](){return Oe(174)}static get[Oe(146)](){return!0}static get[Oe(169)](){return!0}static get[Oe(168)](){return[ce,Se]}[Oe(166)](){const t=Oe,e=this[t(173)],i=e[t(135)][t(150)](ce),n=e[t(135)][t(150)](Se);e.ui[t(130)][t(133)](t(148),i=>{const n=t,s=new It.ButtonView(i);return s[n(141)]({label:at(i,n(159)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(138)}),this[n(154)](s,n(144),()=>{const t=n;e[t(176)][t(150)](t(147))[t(172)]()}),s}),e.ui[t(130)][t(133)](t(171),i=>{const n=t,s=new It.ButtonView(i);return s[n(141)]({label:at(i,n(156)),withText:!0,tooltip:!0}),s[n(142)](n(165)).to(e[n(175)][n(150)](n(171))),this[n(154)](s,n(144),()=>e[n(144)](n(171))),s}),e.ui[t(130)][t(133)](t(143),n=>{const s=t,r=new ve(n),o=e[s(175)][s(150)](s(145)),a=e[s(175)][s(150)](s(164));return r[s(142)](s(137)).to(o,s(165)),r[s(142)](s(139)).to(a,s(165)),r[s(142)](s(153),s(163),s(157),s(167)).to(i),this[s(154)](r,s(144),(t,i)=>{const n=s;e[n(144)](n(136)===i?n(164):n(145))}),r}),n[t(131)](),i.on(t(170),(e,i,s)=>{const r=t;s?n[r(158)]():n[r(131)]()})}}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Et();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;function Me(t,e){const i=Ee();return(Me=function(t,e){return i[t-=246]})(t,e)}const Ve=Me;function Ee(){const t=["1752ISZGXz","2vFdNGn","Enter the revision name","Revision name","placeholder","scrollWidth","ck-tooltip_multi-line","_resizeObserver","10OQpPqQ","destroy","span","_tooltipString","value","clientWidth","set","input","2292bOXXnY","517448bddlSR","1648254KfMpQX","render","4670ixQYkc","_updateTooltipText","fieldView","14idaZEi","82045rvGpdG","ck-revision-history-sidebar__revision-name","extendTemplate","listenTo","element","5401UbyTMo","921231XMgdBc","174924KzQlFx","bindTemplate"];return(Ee=function(){return t})()}!function(t){const e=Me,i=t();for(;;)try{if(207958===parseInt(e(277))/1+-parseInt(e(254))/2*(-parseInt(e(251))/3)+-parseInt(e(253))/4*(-parseInt(e(273))/5)+-parseInt(e(271))/6+parseInt(e(276))/7*(parseInt(e(270))/8)+-parseInt(e(250))/9*(parseInt(e(261))/10)+-parseInt(e(249))/11*(parseInt(e(269))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Ve(260)]=null;constructor(t,e){const i=Ve;super(t,e);const n=this[i(252)];this[i(267)]({label:at(t,i(256)),_tooltipString:""}),this[i(275)][i(257)]=at(t,i(255)),this[i(246)]({tag:i(263),attributes:{class:[i(278)],"data-cke-tooltip-text":n.to(i(264)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(259)}})}[Ve(272)](){const e=Ve;super[e(272)](),this[e(260)]=new t.ResizeObserver(this[e(275)][e(248)],()=>this[e(274)]()),this[e(247)](this[e(275)],e(268),()=>this[e(274)]())}[Ve(262)](){const t=Ve;super[t(262)](),this[t(260)]&&this[t(260)][t(262)]()}[Ve(274)](){const t=Ve,e=this[t(275)][t(248)];this[t(264)]=e[t(258)]>e[t(266)]&&e[t(265)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=164]})(t,e)}function Le(){const t=["name","Revision creator","2561712ejSJxp","10607766iEcZXt","1176384NvDzcm","ck-revision-history-sidebar__revision-author__name","12638619lFgCwm","ck-revision-history-sidebar__revision-author","5lHQUuF","ck-revision-history-sidebar__revision-author_creator","7409252fohcaR","0 0 11 10","push","set","setTemplate","Revision author","1249041cngsNz","span","5027160leNqsJ"];return(Le=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(951407===parseInt(e(178))/1+parseInt(e(164))/2+-parseInt(e(166))/3+-parseInt(e(172))/4*(parseInt(e(170))/5)+-parseInt(e(165))/6+parseInt(e(168))/7+parseInt(e(180))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(175)]({content:_t.IconUser,viewBox:n(173)});const r=["ck",n(169)];i&&r[n(174)](n(171));const o=[{tag:n(179),attributes:{class:["ck",n(167)],title:at(t,n(i?182:177))},children:[s,e[n(181)]]}];this[n(176)]({tag:"li",attributes:{class:r},children:o})}}function ze(){var t=["12402fqDWpj","toLocaleTimeString","1749IlRXTj","toLocaleDateString","3438002WvgoRE","numeric","long","365061QVVrmD","703760zGWXfL","4fxmxCI","1899961iNvbyR","43210TUgFXr","3296JdLsBM","22980ASxlUh","492KXjXwv"];return(ze=function(){return t})()}function We(t,e){var i=ze();return(We=function(t,e){return i[t-=248]})(t,e)}!function(t){for(var e=We,i=t();;)try{if(930735===parseInt(e(250))/1+parseInt(e(261))/2+-parseInt(e(249))/3*(parseInt(e(251))/4)+parseInt(e(253))/5*(-parseInt(e(256))/6)+parseInt(e(252))/7+parseInt(e(254))/8*(-parseInt(e(257))/9)+-parseInt(e(255))/10*(parseInt(e(259))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var Ue=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=160]})(t,e)}function qe(){const t=["source","extendTemplate","ck-revision-history-sidebar__revision__actions","566dyXeZX","isActionsDropdownOpen","stopPropagation","function","items","menu","9387287VhLFsx","listenTo","Name this revision","menuitem","find","children","locale","class","bindTemplate","map","148581wHleoK","set","Compare against selected","add","listView","4184670pBlfXa","1816540RLmlFJ","first","isVisible","panelPosition","bind","4692410CufeVu","Show more items","3026LBKVaw","action","isOpen","buttonView","execute","name","656qJxdUe","isReady","ck-on","change:isActionsDropdownOpen","3248298JmyUyD","_action","Restore this revision","isEnabled","button","4IbSLaz","model"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(772376===parseInt(e(194))/1*(parseInt(e(165))/2)+-parseInt(e(186))/3*(parseInt(e(160))/4)+parseInt(e(192))/5+parseInt(e(204))/6+-parseInt(e(171))/7+parseInt(e(200))/8*(parseInt(e(181))/9)+-parseInt(e(187))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Je;function Je(t,e){const i=Ke();return(Je=function(t,e){return i[t-=208]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(765406===-parseInt(e(248))/1+parseInt(e(208))/2*(-parseInt(e(232))/3)+parseInt(e(267))/4*(-parseInt(e(230))/5)+-parseInt(e(234))/6*(-parseInt(e(244))/7)+parseInt(e(212))/8*(-parseInt(e(256))/9)+-parseInt(e(226))/10+-parseInt(e(271))/11*(-parseInt(e(238))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ke);class Ge extends((0,K.ConfirmMixin)(It.View)){id;[Ye(222)];[Ye(235)];[Ye(264)];[Ye(257)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(237)],a=function(t,e){const i=r,n=Array[i(254)](e[i(227)])[i(211)](t=>t!=e[i(249)]);return e[i(249)]&&n[i(220)](e[i(249)]),n[i(260)](n=>new Pe(t,n,n==e[i(249)]))}(e,i);this.id=i.id,this[r(264)]=i,this[r(257)]=s,this[r(274)](r(247),r(233)).to(i),this[r(274)](r(270)).to(this,r(233),t=>{return i=e[r(263)],(n=t)[(s=We)(260)](i,{month:s(248),day:s(262)})+", "+n[s(258)](i,{hour:s(262),minute:s(262)});var i,n,s}),this[r(231)](r(259),!1),this[r(231)](r(221),!1),this[r(231)](r(265),!1),this[r(231)](r(269),!1),this[r(231)](r(255),!1),this[r(222)]=new De(e,It.createLabeledInputText),this[r(222)][r(236)][r(213)]({attributes:{maxlength:r(218)}}),this[r(222)][r(236)][r(274)](r(223)).to(this,r(247),t=>t||this[r(270)]),this[r(222)][r(274)](r(255)).to(this,r(259),this,r(255),(t,e)=>t&&e),this[r(235)]=n&&n[r(239)]?function(e,i){const n=Ze,s=e[n(179)],r=e[n(177)],o=(0,It.createDropdown)(r);o[n(190)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(177)],s={"Compare against selected":at(n,i(183)),"Name this revision":at(n,i(173)),"Restore this revision":at(n,i(206))};return e[i(180)](t=>{const e=i,n=s[t[e(199)]];return n&&n!==t[e(199)]&&(t[e(199)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(208),model:new It.UIModel({label:t[s(199)],class:t[s(178)],withText:!0,role:s(174),_action:t[s(195)]})};i[s(161)][s(191)](s(207)).to(e,s(166),i=>s(168)!=typeof t[s(207)]||!i||t[s(207)](e)),o[s(184)](i)}return o}(e,i);return e[n(191)](n(166)).to(o,n(196)),o[n(197)][n(182)]({label:at(r,n(193)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(163)]({attributes:{class:[n(164),s.if(n(166),n(202))]},on:{click:s.to(t=>t[n(167)]())}}),o.on(n(198),t=>{const i=n;e[i(201)]&&i(168)==typeof t[i(162)][i(205)]&&t[i(162)][i(205)](e)}),(0,It.addListToDropdown)(o,a,{role:n(170)}),o[n(172)](e,n(203),(t,s,r)=>{const a=n;if(r)for(const t of o[a(185)][a(169)]){const n=t[a(176)][a(188)],s=i[a(175)](t=>t[a(195)]===n[a(205)])[a(189)];t[a(189)]=void 0===s||s(e)}}),o}(this,n):"",this[r(235)]&&this[r(235)][r(274)](r(255)).to(this),this[r(262)]({tag:r(214),attributes:{class:["ck",r(225),r(210),o.if(r(266),r(229))]},children:[{tag:r(214),attributes:{class:["ck",r(225),r(228),o.if(r(255),r(246),t=>!t),o.if(r(259),r(240)),o.if(r(221),r(261)),o.if(r(265),r(217))]},children:[this[r(222)],{tag:r(273),attributes:{class:["ck",r(219)]},children:[{text:o.to(r(270))}]},{tag:r(214),attributes:{class:["ck",r(272)]},children:[{tag:"ul",attributes:{class:["ck",r(253)]},children:a}]},this[r(235)]],on:{click:o.to(t=>{const e=r;t[e(252)][e(268)](e(250))||this[e(269)]&&this[e(255)]&&this[e(216)](e(224),{id:this.id})})}}]})}[Ye(209)](){const t=Ye;super[t(209)]();const e=this[t(222)][t(236)][t(215)];this[t(251)](e,t(241),()=>{const i=t;this[i(257)]&&!e[i(223)]||this[i(216)](i(245),{id:this.id,name:e[i(223)]}),e[i(223)]||(e[i(223)]=this[i(247)]?this[i(247)]:this[i(270)])})}[Ye(224)](){this[Ye(259)]=!0}[Ye(258)](){this[Ye(259)]=!1}[Ye(243)](){this[Ye(221)]=!0}[Ye(242)](){this[Ye(221)]=!1}}function Ke(){const t=["srcElement","ck-revision-history-sidebar__revision-authors","from","isEnabled","365193ewPkpi","_requireRevisionName","deselect","isSelected","map","ck-revision-history-sidebar__revision_highlighted","setTemplate","uiLanguage","_revision","isActionsDropdownOpen","isConfirm","2256LHVlPm","closest","isReady","_createdAtFormatted","21230xbxHgf","ck-revision-history-sidebar__revision__controls-wrapper","span","bind","353794jLYryH","render","ck-revision-history-sidebar__revision-wrapper","filter","56YEYgkd","extendTemplate","div","element","fire","ck-revision-history-sidebar__actions_dropdown_open","220","ck-revision-history-sidebar__revision__date","unshift","isHighlighted","revisionNameView","value","select","ck-reset","14515560KCncng","authors","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","5925eIgEfA","set","6CGLLiu","createdAt","12xdMRxL","revisionActionsView","fieldView","bindTemplate","16968MlVhJx","length","ck-revision-history-sidebar__revision_selected","change","unhighlight","highlight","5289046xGhjmL","setName","ck-disabled","name","717041TeFdFe","creator",".ck-thread__remove-confirm","listenTo"];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 Vi=null;class Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),Vi}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:En(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 Li={};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 Wi=new Map;const Ui=new Map;let Hi=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=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.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):$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&&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=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=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":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),Wi.clear(),Ui.clear(),Zi.clear(),$i.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=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?Xi.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=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?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={...Ki,...e}),$i.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(En(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?Ei.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,Ei.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(){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(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return En(t.localWeekday)||(t.weekday=t.localWeekday),En(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),En(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=Wn(t.month,1,12),n=Wn(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 Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function En(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 Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function 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(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(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 Hn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!En(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 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(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}${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]]=Hn(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"),Vs=Ts("year","ordinal"),Es=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Hn(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 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 Ls(t,e){return[{},t[e]?ji.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 Ws(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 Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(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=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[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[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(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,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Vs,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Es),cr=Ss(Fs,js,Ls);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(En(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(En(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,[zs,Ws])}(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 En(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;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 Vr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Er(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=Pr(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 Er(l);case"uu":return Er(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 Vr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const 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;En(t.z)||(i=ji.create(t.z)),En(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),En(t.q)||(t.M=3*(t.q-1)+1),En(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),En(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 Lr(t,e,i){return new jr(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=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Tn(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 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(En(t.year))s=gn.now();else{for(const e of no)En(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(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=!!En(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:Ur(e));this.ts=En(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<-Wr||t>Wr?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=En(e.specificOffset)?i.offset(a):e.specificOffset,u=!En(s.ordinal),l=!En(s.year),h=!En(s.month)||!En(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){En(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=Wn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Wn(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=Wn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(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 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(En(t)||En(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}=Lr(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,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?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(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?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 qr(this,{ts:n,zone:t})}return fo.invalid(Ur(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}=An(e,this.loc),s=!En(e.weekYear)||!En(e.weekNumber)||!En(e.weekday),r=!En(e.ordinal),o=!En(e.year),a=!En(e.month)||!En(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):En(e.ordinal)?(l={...this.toObject(),...e},En(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=Rn({...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=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():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 Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(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(En(t)||En(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):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 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(t,e){const i=go();return(po=function(t,e){return i[t-=219]})(t,e)}function vo(t,e){const i=po,n=fo[i(233)](t)[i(220)](e),s=fo[i(230)](),r=s[i(227)]({days:1})[i(224)](i(239));let o,a;return n[i(234)](s,i(239))?(o=n[i(224)](i(239))[i(229)](),a=n[i(238)]()):n[i(234)](r,i(239))?(o=r[i(229)](),a=n[i(238)]()):n[i(234)](s,i(226))?(o=n[i(224)](i(226))[i(229)](),a=n[i(231)]||""):n[i(234)](s,i(228))?(o=n[i(224)](i(235))[i(229)](),a=n[i(240)]||""):(o=n[i(224)](i(228))[i(229)](),a=String(n[i(228)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["6437888YcwGSS","3729929MeyBew","toRelativeCalendar","day","monthLong","146waCsHO","setLocale","2119810fRMdqA","203850mJavQq","769667LFUjuf","startOf","1094732ayDZtU","week","minus","year","toJSDate","local","weekdayLong","31635nKNgSw","fromJSDate","hasSame","month"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(459613===parseInt(e(223))/1+parseInt(e(219))/2*(-parseInt(e(232))/3)+parseInt(e(225))/4+parseInt(e(221))/5+parseInt(e(222))/6+parseInt(e(237))/7+-parseInt(e(236))/8)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=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();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-=188]})(t,e)}function _o(){const t=["delegate","select","ck-revision-history-sidebar__time-period__label","setTemplate","38320zPJcYD","5145264obJcSy","792aJfUDl","5nRHjFj","find","471968aUBwst","remove","539178dYvzmZ","addRevision","div","3600552NjyFaF","createCollection","_revisionActions","removeRevision","ck-revision-history-sidebar__time-period","ck-revision-history-sidebar__time-period__revisions","uiLanguage","506303uxetsL","revisionViews","span","612124fpuHkp","localizedPeriodName","locale","setName","add","_requireRevisionName","startDate"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(450735===-parseInt(e(209))/1+-parseInt(e(193))/2+-parseInt(e(211))/3+-parseInt(e(214))/4*(-parseInt(e(207))/5)+parseInt(e(205))/6+parseInt(e(190))/7+parseInt(e(204))/8*(-parseInt(e(206))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(199)];[bo(191)];[bo(216)];[bo(198)];constructor(t,e,i,n){const s=bo;super(t);const r=vo(e,this[s(195)][s(189)])[s(194)];this[s(199)]=e,this[s(191)]=this[s(215)](),this[s(216)]=i,this[s(198)]=n,this[s(191)][s(200)](s(201)).to(this),this[s(191)][s(200)](s(196)).to(this),this[s(203)]({tag:s(213),attributes:{class:["ck",s(218)]},children:[{tag:s(192),attributes:{class:["ck",s(202)]},children:[{text:r}]},{tag:s(213),attributes:{class:["ck",s(188)]},children:this[s(191)]}]})}[bo(212)](t){const e=bo,i=new Ge(this[e(195)],t,this[e(216)],this[e(198)]);this[e(191)][e(197)](i)}[bo(217)](t){const e=bo,i=this[e(191)][e(208)](e=>e.id===t.id);this[e(191)][e(210)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["30zZeqUI","862SqGgtY","ck-reset_all","182460kiBGwd","setTemplate","div","Revision history","1558872ClnrPf","10znZhHt","3874584zNhvot","3958278TXcqkZ","ck-revision-history-sidebar__header","105623ebhirv","ck-revision-history-sidebar__header__label","span","1635882ExvaGG","313gerfha","content"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=391]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(348268===-parseInt(e(395))/1*(parseInt(e(398))/2)+-parseInt(e(394))/3+parseInt(e(400))/4*(-parseInt(e(397))/5)+parseInt(e(407))/6+-parseInt(e(391))/7+parseInt(e(406))/8+-parseInt(e(404))/9*(-parseInt(e(405))/10))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(396)]=_t.IconHistory,this[e(401)]({tag:e(402),attributes:{class:["ck",e(399),e(408)]},children:[i,{tag:e(393),attributes:{class:["ck",e(392)]},children:[at(t,e(403))]}]})}}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Et();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=108]})(t,e)}!function(t){const e=Vo,i=t();for(;;)try{if(448254===parseInt(e(136))/1+-parseInt(e(128))/2*(parseInt(e(113))/3)+-parseInt(e(160))/4*(parseInt(e(121))/5)+parseInt(e(129))/6*(-parseInt(e(126))/7)+parseInt(e(157))/8*(-parseInt(e(143))/9)+-parseInt(e(144))/10+parseInt(e(117))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Mo(120)];[Mo(151)];[Mo(138)];[Mo(155)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(109)];this[s(120)]=this[s(134)](),this[s(120)][s(145)](s(162)).to(this),this[s(120)][s(145)](s(125)).to(this),this[s(151)]=e,this[s(138)]=i,this[s(155)]=n,this.on(s(162),(t,e)=>{const i=s;this[i(116)](i(131),e)}),this.on(s(125),(t,e)=>{const i=s;this[i(116)](i(132),e)}),this[s(161)](s(159),!1),this[s(149)]({tag:s(127),attributes:{class:["ck",s(139),s(142),s(147)]},children:[new No(t),{tag:s(127),attributes:{class:["ck",s(130),r.if(s(159),s(137),t=>!t)]},children:this[s(120)]}]})}[Mo(110)](){const t=Mo;super[t(110)]();for(const e of this[t(151)])this[t(141)](e);this[t(151)].on(t(146),(e,i)=>{this[t(141)](i)}),this[t(151)].on(t(153),(e,i)=>{this[t(158)](i)})}get[Mo(154)](){const t=Mo;return this[t(120)][t(156)](e=>e[t(154)][t(156)](t=>t))[t(148)]()}[Mo(115)](t){const e=Mo;for(const i of this[e(154)])t&&t.id===i.id?i[e(162)]():i[e(133)]()}[Mo(122)](t){const e=Mo;for(const i of this[e(154)])t[e(124)](({id:t})=>t===i.id)?i[e(114)]():i[e(123)]()}[Mo(141)](t){const e=Mo,i=vo(t[e(140)],this[e(118)][e(135)])[e(112)];let n=this[e(120)][e(152)](0);n&&n[e(112)][e(150)]()===i[e(150)]()||(n=new Io(this[e(118)],i,this[e(138)],this[e(155)]),this[e(120)][e(146)](n)),n[e(108)](t)}[Mo(158)](t){const e=Mo,i=vo(t[e(140)],this[e(118)][e(135)])[e(112)];this[e(111)](i)[e(163)](t)}[Mo(111)](t){const e=Mo;return this[e(120)][e(119)](i=>i[e(112)][e(150)]()===t[e(150)]())}}function Do(){const t=["createCollection","uiLanguage","510797MhIKdm","ck-disabled","_revisionActions","ck-reset","createdAt","_addRevision","ck-rounded-corners","1489941bexxCO","1155700uYLeow","delegate","add","ck-revision-history-sidebar","flat","setTemplate","getTime","_revisions","get","remove","revisionViews","_requireRevisionName","map","8BSmCHx","_removeRevision","isEnabled","4qhwMxG","set","select","removeRevision","addRevision","bindTemplate","render","_getTimePeriodViewByStartDate","startDate","7947qBsRmM","highlight","selectRevision","fire","19429333UIrQbl","locale","find","timePeriodViews","1768885dcdxJj","highlightRevisions","unhighlight","some","setName","329FKHjea","div","554EjANOF","58746IUwLsv","ck-revision-history-sidebar__timeline","revisionSelected","revisionSetName","deselect"];return(Do=function(){return t})()}const Co=Fo;function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=227]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(522781===parseInt(e(228))/1+-parseInt(e(261))/2*(-parseInt(e(258))/3)+parseInt(e(249))/4*(parseInt(e(273))/5)+parseInt(e(308))/6*(-parseInt(e(288))/7)+parseInt(e(246))/8*(parseInt(e(239))/9)+-parseInt(e(259))/10*(-parseInt(e(264))/11)+-parseInt(e(279))/12*(parseInt(e(248))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends G.Plugin{[Co(245)];[Co(280)];[Co(312)];static[Co(311)]=[Co(250),Co(305),Co(269)];static[Co(268)]=function(){const t=Co;return{compareAgainstSelected:{name:t(227),action:({plugins:e},i)=>{const n=t,s=e[n(277)](ce),r=s[n(257)];let o=s[n(309)][n(266)],a=i.id;r[n(310)](o)>r[n(310)](a)&&([o,a]=[a,o]),s[n(243)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(277)](ce);return!(s[n(257)][n(267)](s[n(309)])[n(284)]>2||i[n(265)])}},restoreRevision:{name:t(287),action:(e,{id:i})=>{const n=t;e[n(304)][n(277)](n(292))[n(232)](i)},isVisible:({plugins:e},i)=>!!e[t(277)](ce)[t(257)][t(252)](i.id)},nameRevision:{name:t(303),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(277)](ce),o=r[s(257)][s(275)](i);r[s(243)](i,o),n[s(230)](),n[s(302)][s(236)]()}}}}();static get[Co(254)](){return Co(299)}static get[Co(251)](){return!0}static get[Co(291)](){return!0}static get[Co(285)](){return[ce]}constructor(t){const e=Co;super(t),this[e(245)]=t[e(233)][e(277)](ce),this[e(280)]=this[e(245)][e(257)],this[e(312)]=null}[Co(272)](){const t=Co,e=this[t(280)][t(298)],i=this[t(306)](),n=this[t(229)][t(304)][t(277)](t(263));this[t(312)]=new Eo(this[t(229)][t(300)],e,i,this[t(229)][t(304)][t(277)](t(294))),this[t(312)].on(t(255),this[t(237)][t(283)](this)),this[t(312)].on(t(290),this[t(276)][t(283)](this)),this[t(312)][t(283)](t(244)).to(this[t(245)]),this[t(312)][t(301)].on(t(278),(e,i)=>{const n=t;i[n(262)].on(n(278),(t,e)=>{const i=n;e[i(283)](i(244),i(242)).to(this[i(245)])})}),this[t(312)][t(297)](),this[t(235)](this[t(229)][t(256)],t(274),this[t(231)][t(283)](this)),this[t(235)](this[t(245)],t(289),this[t(241)][t(283)](this)),n[t(295)](this[t(312)][t(270)])}[Co(271)](){const t=Co;this[t(312)][t(270)][t(253)](),this[t(312)][t(271)]()}[Co(231)](){const t=Co,e=this[t(280)][t(282)](0);if(e){const i=this[t(280)][t(275)](e.id);this[t(245)][t(243)](e,i)}}[Co(237)](t,e){const i=Co,n=this[i(280)][i(282)](e.id),s=this[i(280)][i(275)](n.id);this[i(245)][i(243)](n,s)}[Co(276)](t,e){const i=Co;this[i(280)][i(282)](e.id)[i(293)](e[i(240)])}[Co(241)](t,e,i){const n=Co,s=this[n(280)][n(267)](i);s[n(284)]>2?(this[n(312)][n(238)](s),this[n(312)][n(260)](null)):(this[n(312)][n(238)]([]),this[n(312)][n(260)](s[0]))}[Co(306)](){const t=Co,e=this[t(229)],i=jo[t(268)],n=e[t(304)][t(277)](t(296))||jo[t(311)];if(n[t(284)])return n[t(286)](n=>{const s=t,r=s(281)==typeof n?Object[s(234)]({},i[n]):n;return r[s(247)]=r[s(247)][s(283)](this,e),r[s(307)]&&(r[s(307)]=r[s(307)][s(283)](this,e)),r})}}function Lo(){const t=["Restore this revision","84FcBSRg","change:diff","revisionSetName","isPremiumPlugin","revisionHistory","setName","revisionHistory.requireRevisionName","appendChild","revisionHistory.revisionActions","render","_revisions","RevisionsSidebar","locale","timePeriodViews","fieldView","Name this revision","config","restoreRevision","_createRevisionActions","isVisible","247746YuHpVZ","diff","getIndex","defaultRevisionActions","_sidebarView","Compare against selected","110758HIAsdf","editor","focus","_handleEditorDataReady","restoreRevisionCallback","plugins","assign","listenTo","select","_handleRevisionSelected","highlightRevisions","3597669cjUqMy","name","_handleDiffChange","isReady","compare","isEnabled","_revisionViewer","16KEDaIP","action","26kMZXIi","399308sLElTS","compareAgainstSelected","isOfficialPlugin","getLaterVisibleRevision","remove","pluginName","revisionSelected","data","repository","3011226JpvmkO","80CXrLAx","selectRevision","2iEkaJX","revisionViews","revisionHistory.viewerSidebarContainer","81180mifcnZ","isSelected","newRevisionId","getRevisionsInDiff","availableRevisionActions","nameRevision","element","destroy","init","35cQwlgD","ready","getEarlierVisibleRevision","_handleRevisionSetName","get","add","9921228UomIJN","_revisionsRepository","string","getRevision","bind","length","requires","map"];return(Lo=function(){return t})()}function Po(){const t=["isFocused","setEditableElement","8BHqmjx","toolbar","detachDomRoot","editor","viewportTopOffset","3124330EOoWPB","replace","focusTracker","8QnOPgk","restore","view","11IrARbs","getRoot","editing","init","rootName","_initToolbar","componentFactory","editable","attachDomRoot","element","544240GvxkoS","158985ForfJa","addToolbar","isActive","_elementReplacer","config","6314IVEZEg","ready","fire","viewportOffset","get","limiterElement","name","stickyPanel","1507968urjBhU","fillFromConfig","bind","414hEcbGW","destroy","document","_toolbarConfig","render","59513NhqJfR","_view","688496cSxcvy"];return(Po=function(){return t})()}const zo=Wo;function Wo(t,e){const i=Po();return(Wo=function(t,e){return i[t-=106]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(136066===parseInt(e(131))/1*(parseInt(e(136))/2)+-parseInt(e(110))/3+parseInt(e(144))/4*(-parseInt(e(109))/5)+parseInt(e(126))/6*(-parseInt(e(115))/7)+parseInt(e(133))/8+-parseInt(e(123))/9+-parseInt(e(141))/10*(-parseInt(e(147))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Uo extends It.EditorUI{[zo(132)];[zo(129)];[zo(113)];get[zo(146)](){return this[zo(132)]}constructor(e,i){const n=zo;super(e),this[n(132)]=i,this[n(129)]=(0,It.normalizeToolbarConfig)(e[n(114)][n(119)](n(137))),this[n(113)]=new t.ElementReplacer}get[zo(108)](){const t=zo;return this[t(146)][t(108)]}[zo(150)](t){const e=zo,i=this[e(139)],n=this[e(146)],s=i[e(149)][e(146)],r=n[e(106)],o=s[e(128)][e(148)]();r[e(121)]=o[e(151)],n[e(130)]();const a=r[e(108)];this[e(135)](r[e(121)],a),n[e(106)][e(125)](e(134)).to(this[e(143)]),s[e(107)](a),this[e(113)][e(142)](t,this[e(108)]),this[e(152)](),this[e(117)](e(116))}[zo(127)](){const t=zo;super[t(127)]();const e=this[t(146)],i=this[t(139)][t(149)][t(146)];this[t(113)][t(145)](),i[t(138)](e[t(106)][t(121)]),e[t(127)]()}[zo(152)](){const t=zo,e=this[t(146)];e[t(122)][t(125)](t(112)).to(this[t(143)],t(134)),e[t(122)][t(120)]=e[t(108)],e[t(122)][t(125)](t(140)).to(this,t(118),({top:t})=>t),e[t(137)][t(124)](this[t(129)],this[t(153)]),this[t(111)](e[t(137)])}}var Ho=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=Bo;function $o(){var t=["38570STzGrr","24992019HsahlS","_editable","add","top","content","stickyPanel","524AkWaJW","shouldToolbarGroupWhenFull","2925549hOPdpE","editable","262990NsbzHt","main","7VpTWDz","toolbar","5935884XpNWIB","3839256icgvqO","render","132588ctpTdQ"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=446]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(545850===parseInt(e(452))/1+parseInt(e(464))/2+-parseInt(e(462))/3+-parseInt(e(460))/4*(parseInt(e(453))/5)+-parseInt(e(449))/6+parseInt(e(447))/7*(parseInt(e(450))/8)+parseInt(e(454))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(455)];[qo(459)];[qo(448)];get[qo(463)](){return this[qo(455)]}constructor(t,e,i={}){var n=qo;super(t),this[n(459)]=new It.StickyPanelView(t),this[n(448)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(461)]}),this[n(455)]=new It.InlineEditableUIView(t,e)}[qo(451)](){var t=qo;super[t(451)](),this[t(459)][t(458)][t(456)](this[t(448)]),this[t(457)][t(456)](this[t(459)]),this[t(446)][t(456)](this[t(463)])}}const Jo=Ko;function Go(){const t=["view","3742434IBPlgU","model","12nIEpVq","init","updateSourceElement","1349385ouuujs","initialData","initPlugins","11NinjPH","17234530IGPNoD","locale","11460672FcuxbP","destroy","337650sRSnKQ","sourceElement","ready","create","data","config","1235196HMTlzZ","13027DqBeJm","get","createRoot","366OoqoiO","_ui","fire","document","editing","8XofSHq"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=230]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(774411===parseInt(e(240))/1+parseInt(e(249))/2*(-parseInt(e(234))/3)+-parseInt(e(253))/4*(-parseInt(e(256))/5)+-parseInt(e(244))/6*(parseInt(e(241))/7)+parseInt(e(232))/8+-parseInt(e(251))/9+-parseInt(e(230))/10*(parseInt(e(259))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(245)];get ui(){return this[Jo(245)]}constructor(t,e){const i=Jo;super(e),this[i(235)]=t,this[i(252)][i(247)][i(243)]();const n=new Yo(this[i(231)],this[i(248)][i(250)],{shouldToolbarGroupWhenFull:!0});this[i(245)]=new Uo(this,n)}[Jo(233)](){const t=Jo;return this[t(255)](),this.ui[t(233)](),super[t(233)]()}static async[Jo(237)](t,e){const i=Jo,n=new this(t,e);return await n[i(258)](),await n.ui[i(254)](t),await n[i(238)][i(254)](n[i(239)][i(242)](i(257))||""),n[i(246)](i(236)),n}}const Qo=ea;function ta(){const t=["744msODDq","128540VnfdCB","model","_update","isReadOnly","map","toLocaleDateString","long","selection","PaginationLookup","showRevisionViewerCallback","catch","uiLanguage","enqueueChange","removeSelectionAttribute","getRevisions","refreshPositioning","end","revision-history-viewer-opened","element","name","translations","save","42534CKNiNT","toJSON","revisionHistory.showRevisionViewerCallback","plugins","getAttributeKeys","roots","isOpen","create","589444oMiQLl","addRoot","result","RestrictedEditingMode","from","revisionHistory.viewerEditorElement","init","createdAt","RevisionHistoryUtils","changesNavigation","isEnabled","Dialog","view","users","change","isAnonymous","adapter","Users","DocumentOutlineUI","error","refreshVisibility","isPremiumPlugin","restrictedEditingException","pluginName","loadRevisionData","commands","RevisionTracker","10BKzFfZ","toVersion","$graveyard","rootName","91419rWblBk","join","includes","style","get","5722416GwpfXT","enableReadOnlyMode","DocumentOutline","document","has","config","_showRevisionViewer","revisionHistory.viewerContainer","none","display","addUser","revisionHistory.requireRevisionName","_recalculatePageBreaks","set","RevisionHistory","removeMarker","RevisionViewer","Restored","update","_closeRevisionViewer","createRangeIn","Annotations","closeRevisionViewerCallback","removeAttribute","editor","keys","55pLyfXj","saveRevision","161682JdEZXn","_cleanUp","disableReadOnlyMode","toolbar","requires","getMarkersGroup","destroy","markers","repository","revisionHistory.editorContainer","getRoot","_enhanceShowRevisionViewerCallback","parse","revisionHistory.closeRevisionViewerCallback","detachRoot","then","fromVersion","_getRevisionViewerEditorConfig","isAttached","define","restoreRevision","insert","getUser","exitToEditing","fromCharCode","block","Autosave","lazyRoots","_enhanceCloseRevisionViewerCallback","locale","addRevisionData","isOfficialPlugin","RevisionHistoryUI","revisionHistory","getRevisionRootsAttributes","push","indexOf","RevisionViewerIntegration","remove","isRevisionViewerOpen","setAttribute","RevisionsRepository","data","revision-history-missing-configuration","getRevisionDocumentData","hide","bind","4yifjQs","toLocaleTimeString","numeric","isReady","_restoreRevision","creator","_viewerEditor","revisionHistory.restoreRevisionCallback","getRevision","125390ReJvXu","setSelection"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=480]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(422806===parseInt(e(629))/1+parseInt(e(599))/2+parseInt(e(507))/3*(parseInt(e(587))/4)+-parseInt(e(503))/5*(-parseInt(e(540))/6)+-parseInt(e(512))/7+parseInt(e(598))/8*(parseInt(e(621))/9)+-parseInt(e(596))/10*(-parseInt(e(538))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Qo(572),Qo(632)];class na extends G.Plugin{[Qo(631)];static get[Qo(499)](){return Qo(577)}static get[Qo(571)](){return!0}static get[Qo(497)](){return!0}constructor(t){const e=Qo;function i(t){const e=ea;return t[e(603)](t=>String[e(564)](t))[e(508)]("")}super(t),this[e(631)]=e(615),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(593)];static get[Qo(499)](){return Qo(526)}static get[Qo(571)](){return!0}static get[Qo(497)](){return!0}static get[Qo(544)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(536)][i(517)][i(511)](i(573)))throw new t.CKEditorError(i(583),this);this[i(593)]=null,this[i(525)](i(579),!1),this[i(536)][i(517)][i(559)](i(623),t=>this[i(518)]({...t,translations:this[i(536)][i(569)][i(619)]})),this[i(536)][i(517)][i(559)](i(553),t=>this[i(531)](t)),this[i(536)][i(517)][i(559)](i(594),t=>this[i(591)](t)),this[i(536)][i(517)][i(559)](i(523),!1),this[i(551)](),this[i(568)]()}set[Qo(492)](t){const e=Qo;this[e(536)][e(624)][e(511)](e(502))[e(492)]=t}get[Qo(492)](){const t=Qo;return this[t(536)][t(624)][t(511)](t(502))[t(492)]}[Qo(570)](t){const e=Qo;return this[e(536)][e(624)][e(511)](e(502))[e(570)](t)}[Qo(595)](t){const e=Qo;return this[e(536)][e(624)][e(511)](e(581))[e(595)](t)}[Qo(613)](t){const e=Qo;return this[e(536)][e(624)][e(511)](e(581))[e(613)](t||{toJSON:!1})}[Qo(557)](){const e=Qo,i=this[e(536)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(624)][e(511)](e(502)),r=i[e(624)][e(511)](e(493))[e(489)];return n[e(543)]=[e(563),e(560),e(485)],delete n[e(567)],n[e(624)][e(575)](na,ce,Ne,class extends G.Plugin{static get[e(544)](){return[ce,e(493)]}[e(482)](){const n=e,o=this[n(536)][n(624)][n(511)](n(493));for(const t of r)t[n(491)]||o[n(562)](t.id)||o[n(522)](t);const a=s[n(548)][n(613)]();let c=null;const u=this[n(536)][n(624)][n(511)](n(528));u[n(492)]=s[n(492)],u[n(586)](n(486)).to(s),this[n(536)][n(501)][n(511)](n(560))[n(586)](n(486)).to(i,n(602),t=>!t);for(const e of a){const i=null===e[n(592)];if(i&&e[n(504)]===e[n(556)])continue;const r=e[n(622)]();u[n(570)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(601)](r,o);else if(!o){const e=a[u(622)]();e.id=(0,t.uid)(),s[u(539)](e,a[u(504)])[u(555)](t=>{c=t})}}else e[u(601)](r,o)})}}},jo),n}[Qo(551)](){const t=Qo,e=this[t(536)][t(517)][t(511)](t(573))[t(608)];this[t(536)][t(517)][t(525)](t(623),async()=>{const i=t;this[i(536)][i(513)](i(616));const n=this[i(536)][i(624)][i(511)](i(502));if(this[i(536)][i(624)][i(516)](i(566))){const t=this[i(536)][i(624)][i(511)](i(566));await t[i(620)]()}else await n[i(530)]();if(this[i(536)][i(624)][i(516)](i(607))&&this[i(536)][i(624)][i(511)](i(607))[i(524)](),this[i(536)][i(624)][i(516)](i(487))){const t=this[i(536)][i(624)][i(511)](i(487));t[i(627)]&&t[i(585)]()}const s=this[i(557)]();return e(s)[i(555)](t=>{const e=i;return this[e(593)]=t,this[e(536)][e(624)][e(516)](e(533))&&this[e(536)][e(624)][e(511)](e(533))[e(496)](),this[e(536)][e(624)][e(516)](e(514))&&(this[e(536)][e(624)][e(511)](e(494))[e(488)][e(617)][e(510)][e(521)]=e(520)),t})[i(609)](t=>(console[i(495)](t),this[i(536)][i(542)](i(616)),null))})}[Qo(568)](){const t=Qo,e=this[t(536)][t(517)][t(511)](t(573))[t(534)];this[t(536)][t(517)][t(525)](t(553),()=>(this[t(536)][t(624)][t(516)](t(607))&&this[t(536)][t(624)][t(511)](t(607))[t(524)](),this[t(536)][t(624)][t(516)](t(514))&&(this[t(536)][t(624)][t(511)](t(494))[t(488)][t(617)][t(510)][t(521)]=""),this[t(593)][t(624)][t(511)](t(528))[t(541)](),e(this[t(593)])[t(555)](()=>{const e=t;if(this[e(536)][e(542)](e(616)),this[e(593)]=null,this[e(536)][e(624)][e(516)](e(533))){const t=this[e(536)][e(624)][e(511)](e(533));t[e(496)](),t[e(614)]()}})))}[Qo(518)](t){const e=Qo,i=this[e(536)][e(517)][e(511)](e(549)),n=this[e(536)][e(517)][e(511)](e(519)),s=this[e(536)][e(517)][e(511)](e(481));return Xo[e(628)](s,t)[e(555)](t=>(n[e(510)][e(521)]=e(565),i[e(510)][e(521)]=e(520),this[e(579)]=!0,t))}[Qo(531)](t){const e=Qo,i=this[e(536)][e(517)][e(511)](e(549));return this[e(536)][e(517)][e(511)](e(519))[e(510)][e(521)]=e(520),i[e(510)][e(521)]="",this[e(579)]=!1,t[e(546)]()}async[Qo(591)](t){const e=Qo,i=this[e(536)],n=this[e(593)][e(624)][e(511)](e(528)),s=i[e(624)][e(511)](e(502)),r=i[e(624)][e(511)](e(484)),o=n[e(548)][e(595)](t);let a,c,u;try{await r[e(500)](o,this[e(492)]),a=r[e(584)](o),c=r[e(574)](o)}catch(t){return void console[e(495)](t)}i[e(600)][e(490)](t=>{const n=e;for(const e of Array[n(480)](i[n(600)][n(547)][n(545)](n(498))))t[n(527)](e)}),n[e(590)]=!1,i[e(600)][e(611)](t=>{const n=e;t[n(597)](null),t[n(612)](i[n(600)][n(515)][n(606)][n(625)]());const s=Object[n(537)](a);for(const e of i[n(600)][n(515)][n(626)])n(505)!=e[n(506)]&&e[n(558)]()&&!s[n(509)](e[n(506)])&&t[n(554)](e);for(const e of s){let s=i[n(600)][n(515)][n(550)](e);s&&s[n(558)]()||(s=t[n(630)](e));const r=c[e],o=Object[n(537)](r),u=a[e];for(const e of s[n(625)]())o[n(509)](e)||t[n(535)](e,s);for(const i of o)t[n(580)](i,c[e][i],s);t[n(578)](t[n(532)](s)),t[n(561)](i[n(582)][n(552)](u,s),s,0)}});const l=at(i[e(569)],e(529));return u=o[e(618)]?-1==o[e(618)][e(576)](l)?l+": "+o[e(618)]:o[e(618)]:l+": "+o[e(483)][e(604)](i[e(569)][e(610)],{month:e(605),day:e(589)})+", "+o[e(483)][e(588)](i[e(569)][e(610)],{hour:e(589),minute:e(589)}),await s[e(539)]({name:u}),n[e(590)]=!0,i[e(517)][e(511)](e(573))[e(534)]()}}function ra(){var t=["8abScIw","2180367SfCBWs","217760uSeOSG","1087828IDWkAk","105osqIeG","11925126GiwDhP","5sawwFw","2482950loRtxm","10nalrcH","33533313httNPD","11672zerTWR"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=193]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(791997===-parseInt(e(200))/1+-parseInt(e(196))/2*(-parseInt(e(201))/3)+parseInt(e(199))/4+-parseInt(e(203))/5*(parseInt(e(193))/6)+parseInt(e(198))/7*(parseInt(e(197))/8)+parseInt(e(202))/9*(-parseInt(e(194))/10)+parseInt(e(195))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();