@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250617.0 → 0.0.0-nightly-20250619.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +7 -7
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach((function(i){t.setAttribute(i,e[i])}))}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>le,Revision:()=>Y,RevisionHistory:()=>sa,RevisionHistoryUI:()=>Zt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ae,RevisionViewerEditor:()=>Ko,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>Te,RevisionsRepository:()=>et,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>he});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter((e=>Object.prototype.propertyIsEnumerable.call(t,e)))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(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]=T(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,T(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(T(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]=T(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 x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return 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]=T(i[a],a,s,n,r))}}function R(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,((i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}))}function A(t){return R(t)}function M(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&M(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function V(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(F.test(t)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function j(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function P(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function U(t,e,i){return function(t,e,i,s){if(null==t&&!P(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(e):[e];let r=t;for(let t=0;t<n.length&&null!=r;t++){const e=j(n[t]);let o;if(t===n.length-1)o=i(r[e]);else{const i=r[e],a=s(i);o=void 0!==a?a:P(i)?i:V(n[t+1])?[]:{}}D(r,e,o),r=r[e]}return t}(t,e,(()=>i),(()=>{}))}function W(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?W(e)?H(t,z(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=j(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);const s=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===s?i:s}}}function Z(t,e){const i=H(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}function q(){const t=["5866GqTpRh","fromVersion","authorsIds","6642wvpvet","867936zoCYIr","13098120dTyXYX","creatorId","attributes","3593360dmOVTD","diffData","authors","fire","name","setName","creator","model","5316388BWUDGR","map","createdAt","removeAttribute","set","setAttribute","toVersion","867285QtoAcm","288330cfhTrR","_update","toJSON"];return(q=function(){return t})()}const $=B;function B(t,e){const i=q();return(B=function(t,e){return i[t-=122]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(687981===parseInt(e(140))/1+parseInt(e(148))/2+-parseInt(e(141))/3+parseInt(e(133))/4+parseInt(e(125))/5+-parseInt(e(147))/6*(parseInt(e(144))/7)+-parseInt(e(122))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends((0,t.ObservableMixin)()){id;[$(131)];[$(127)];[$(126)];[$(139)];[$(145)];[$(132)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(131)]=e[i(131)]||null,this[i(127)]=e[i(127)]||[],this[i(126)]=e[i(126)]||null,this[i(139)]=e[i(139)]||0,this[i(145)]=e[i(145)]||0,this[i(137)](i(129),e[i(129)]||""),this[i(137)](i(135),e[i(135)]||new Date),this[i(137)](i(124),e[i(124)]||{})}[$(130)](t){this[$(142)]({name:t})}[$(138)](t,e){const i=$,s=A(this[i(124)]);U(s,t,e),this[i(142)]({attributes:s})}[$(136)](t){const e=$,i=A(this[e(124)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return Z(t,e);if("number"==typeof e?e=j(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&W(e))return Z(t,z(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(142)]({attributes:i})}[$(142)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(129),i(135),i(126),i(127),i(124),i(139),i(145),i(123)];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(127)]&&(n[i(146)]=n[i(127)][i(134)]((t=>t.id)),delete n[i(127)]),this[i(128)](i(142),n,e))}[$(143)](){const t=$;return{id:this.id,name:this[t(129)],creatorId:this[t(131)]?this[t(131)].id:null,authorsIds:this[t(127)][t(134)]((t=>t.id)),diffData:this[t(126)],createdAt:this[t(135)],attributes:this[t(124)],fromVersion:this[t(145)],toVersion:this[t(139)]}}}var J=i(782),G=i(211),K=i(783);const X=Q;function Q(t,e){const i=tt();return(Q=function(t,e){return i[t-=360]})(t,e)}function tt(){const t=["5008950daoENL","123TKdZbo","name","_revisions","getEarlierVisibleRevision","createdAt","getRevisions","later","reverse","href","creatorId","createRevision","join","oldRevisionId","68114jKdYGp","editor","6483440cbmUHa","pluginName","from","240mqwzcW","4400640LHLsOX","plugins","172109gLcLnp","requires","isPremiumPlugin","earlier","getRevisionsInDiff","getUser","attributes","getRevisionsIterator","getLaterVisibleRevision","diffData","toJSON","authorsIds","afterInit","newRevisionId","getRevision","addRevision","fromVersion","isNaN","toVersion","getIndex","get","fromCharCode","push","1470AIzPgK","Users","length","map","add","7188930lKAeib","RevisionsRepository","data","isOfficialPlugin"];return(tt=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(903036===-parseInt(e(381))/1+-parseInt(e(404))/2*(parseInt(e(391))/3)+parseInt(e(410))/4+parseInt(e(406))/5+parseInt(e(386))/6+-parseInt(e(412))/7*(parseInt(e(409))/8)+-parseInt(e(390))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class et extends J.Plugin{[X(393)];static get[X(413)](){return[G.Users]}static get[X(407)](){return X(387)}static get[X(389)](){return!0}static get[X(360)](){return!0}get[X(383)](){const t=X;return this[t(393)][t(383)]}constructor(e){const i=X;super(e),this[i(393)]=new t.Collection}[X(370)](){!async function(e){const i=k([107,52,67,53,101,116,50,51,55,120,99,75,119,117,74,48,97,109,57,80,85,106,114,79,69,49,105,87,76,68,73,102,56,54,83,103,88,111,89,104,84,121,122,82,112,110,118,77,65,115,108,90,72,66,70,100,113,78,86,71,81,98]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)})),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])((t=>setTimeout(t,605900))),o[k([116,104,101,110])]((()=>new(window[k([80,114,111,109,105,115,101])])((t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})))),new(window[k([80,114,111,109,105,115,101])])((t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(375)](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([107]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])]((([e,s])=>{i(e),t(s)})):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=Q;return t[e(384)]((t=>String[e(379)](t)))[e(402)]("")}!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:1750118400;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(399)]);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(401)](t){const e=X,i=this[e(405)][e(411)][e(378)](e(382));return new Y({id:t.id,name:t[e(392)],creator:t[e(400)]?i[e(363)](t[e(400)]):null,diffData:t[e(367)]||t[e(388)],authors:t[e(369)][e(384)]((t=>i[e(363)](t))),createdAt:new Date(t[e(395)]),attributes:t[e(364)],fromVersion:t[e(374)],toVersion:t[e(376)]})}[X(373)](t,e=0){const i=X;this[i(393)][i(385)](t,e)}[X(372)](t){const e=X;return this[e(393)][e(378)](t)}[X(396)](t={toJSON:!1}){const e=X,i=Array[e(408)](this[e(393)]);return i[e(398)](),t[e(368)]?i[e(384)]((t=>t[e(368)]())):i}[X(377)](t){const e=X;return this[e(393)][e(377)](t)}[X(394)](t){const e=X,[,i]=this[e(365)](t,{direction:e(361)});return i}[X(366)](t){const e=X,[,i]=this[e(365)](t,{direction:e(397)});return i}[X(362)](t){const e=X,i=[];for(const s of this[e(365)](t[e(371)]))if(i[e(380)](s),s.id===t[e(403)])break;return i}*[X(365)](t,{direction:e=X(361),filter:i=()=>!0}={}){const s=X,n=s(361)===e?1:-1;let r=this[s(393)][s(378)](t),o=this[s(377)](r);for(yield r;r;){if(o+=n,r=this[s(372)](o),!r)return;i(r)&&(yield r)}}}const it=st;function st(t,e){const i=nt();return(st=function(t,e){return i[t-=241]})(t,e)}function nt(){const t=["toData","toModel","forEach","pluginName","string","_getViewFromDiffObj","loadRevisionData","append","attributes","attributesAfter","_makeModelFromViewString","div","config","_removeRevisionMarkers","createElement","children","render","customProperties","document","collaboration.channelId","viewChildrenToDom","revision-start","innerHTML","31604LMEGNc","data","_appendChild","2oXJniu","_setCustomProperty","domChildrenToView","7120985WRpynf","isOfficialPlugin","fillerOffset","constructor","editor","8191428sXrdxK","length","editing","attachChange","12051ALzjGf","revision-end","startsWith","htmlProcessor","from","diffData","isPremiumPlugin","processor","10150dAGSFN","RevisionHistoryUtils","view","name","_getTypeCharForViewElement","5130792McuKfz","195999LMUfQc","parse","filter","default","type","useFillerType","getRevisionDocumentData","447KcNZEL","isAttached","marked","domConverter","getRevision","data-revision-","domDocument","insertions","childNodes","getRevisionRootsAttributes","map","_typeCharToViewClass","getFillerOffset","10079153fBQiTA","get","_viewClassToTypeChar"];return(nt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(855632===-parseInt(e(292))/1*(parseInt(e(266))/2)+parseInt(e(299))/3*(-parseInt(e(263))/4)+parseInt(e(269))/5+parseInt(e(274))/6+parseInt(e(312))/7+-parseInt(e(291))/8+parseInt(e(278))/9*(-parseInt(e(286))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class rt extends J.Plugin{static get[it(243)](){return it(287)}static get[it(270)](){return!0}static get[it(284)](){return!0}[it(314)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[it(310)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[it(246)](t,e){const i=it;if(t[i(283)]||!e)return;const s=this[i(273)][i(252)][i(313)](i(259)),n=await e[i(303)]({channelId:s,revisionId:t.id});t[i(283)]=n[i(283)]}[it(298)](t){const e=it,i={};for(const s in t[e(283)]){if(t[e(283)][s][e(277)]&&!t[e(283)][s][e(277)][e(300)])continue;const n=this[e(253)](JSON[e(293)](t[e(283)][s][e(306)])),r=this[e(273)][e(276)][e(288)][e(258)],o=new K.ViewDocumentFragment(r,n[e(309)]((t=>this[e(245)](t,!1))));this[e(273)][e(264)][e(285)][e(297)](e(301)),i[s]=this[e(273)][e(264)][e(285)][e(315)](o),this[e(273)][e(264)][e(285)][e(297)](e(295))}return i}[it(308)](t){const e=it,i={};for(const s in t[e(283)])t[e(283)][s][e(277)]&&!t[e(283)][s][e(277)][e(300)]||(i[s]=t[e(283)][s][e(249)]||{});return i}[it(290)](t){const e=it;return this[e(314)][e(313)](t[e(272)])}[it(245)](t,e){const i=it,s=this[i(273)][i(276)][i(288)][i(258)];if(i(244)==typeof t)return new K.ViewText(s,t);{let n,r;r="u"==t[i(296)]||"r"==t[i(296)]?[]:t[i(255)][i(309)]((t=>this[i(245)](t,e)));const o=this[i(310)][i(313)](t[i(296)])||K.ViewElement,a=this[i(273)][i(264)][i(281)][i(302)];if(n=new o(s,t[i(289)],t[i(248)],r),"u"==t[i(296)]&&t[i(255)][0]){const r=t[i(255)][0];if(n[i(256)]=function(t){const e=i,s=t[e(254)](e(251));return s[e(262)]=r,s[e(307)][0]},e){const t=new K.ViewDocumentFragment(s);t[i(265)](n);const e=Array[i(282)](a[i(260)](t,{bind:!1})),r=a[i(305)][i(254)](i(251));r[i(247)](...e),n=Array[i(282)](a[i(268)](r))[0]}}else if("r"==t[i(296)]&&t[i(255)][0]){const r=t[i(255)][0];if(n[i(256)]=function(t){t[i(262)]=r},e){const t=new K.ViewDocumentFragment(s);t[i(265)](n);const e=Array[i(282)](a[i(260)](t,{bind:!1})),r=a[i(305)][i(254)](i(251));r[i(247)](...e);const o=Array[i(282)](a[i(268)](r));o[i(275)]>1?n[i(265)](o):n=o[0]}}if(t[i(257)])for(const[e,s]of t[i(257)])n[i(267)](e,s);const c=void 0===t[i(271)]?null:t[i(271)];return null!==c&&(n[i(311)]=()=>c),n}}[it(250)](t){const e=it,i=JSON[e(293)](t),s=this[e(273)][e(276)][e(288)][e(258)],n=new K.ViewDocumentFragment(s,i[e(309)]((t=>this[e(245)](t,!0))));return this[e(273)][e(264)][e(241)](n)}[it(253)](t){const e=it;return(t=t[e(294)]((t=>!t[e(289)]||e(261)!==t[e(289)]&&e(279)!==t[e(289)])))[e(242)]((t=>{const i=e;i(244)!=typeof t&&(t[i(255)]=this[i(253)](t[i(255)]),t[i(248)]=t[i(248)][i(294)]((t=>!t[0][i(280)](i(304)))))})),t}}function ot(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function at(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ct(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return ut(t,e,r,o)}return ut(t,e,r,o)}function ut(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return M(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const A=(s=s??new Map).get(t),D=s.get(i);if(null!=A&&null!=D)return A===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ct(n,i.get(e),e,t,i,s,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex((e=>ct(o,e,void 0,t,i,s,T)));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 x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ct(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,s,T)||at(t)&&at(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ct(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}const dt=ft;function ft(t,e){const i=mt();return(ft=function(t,e){return i[t-=383]})(t,e)}function mt(){const t=["_makeRevision","_isAttached","stickiness","_continueCurrentRevision","_handleInsertOperation","_touched","_makeModelFromViewString","licenseKey","nodes","_calculateMetaData","locale","1154JvrbGw","trialLimit","_makeIdsRoot","createRange","position","_loadedStateData","Empty document","_clone","addRevisionData","toVersion","define","RevisionTracker","item","uiElement","config","_markChanges","marker","dataToMarker","_createCurrentRevision","_getFromVersion","_createInitialRevision","start","revisionHistoryLicenseKeyUsageLimit","RevisionHistoryUtils","isAttached","getTransformedByOperation","updateRevisions","attachChange","createPositionAt","trim","finally","getRevisionDocumentData","getOperation","end","createRangeIn","1532270fiViPK","get","vid_end","evaluationLimit","_appendChild","children","_insertChild","$graveyard","isReady","element","offset","isEqual","revision:","_isPendingUpdate","key","root","userId","Initial revision","setSource","revisionHistoryLicenseKeyDomainLimit","NEGATIVE_INFINITY","getFillerOffset","sort","7qGYPnF","push","markerToData","getMovedRangeStart","getRoot","getRevisions","getUser","_prepareViewToSave","render","fromVersion","_lastFrom","domConverter","addRevision","_getTypeCharForViewElement","slice","size","elementEnd","794ycivIc","6693798ChuxjF","newRange","_getState","_idsRoots","revisionHistoryLicenseKeyTrialLimit","collaboration.channelId","update","dataDowncast","previousPosition","_handleMoveOperation","rootName","init","filter","version","keepParagraph","_diffRoots","upcast","_initialRevisionId","_execute","bind","11560760QCJDcY","_utils","createPositionBefore","_bufferedUpdates","revisionHistoryLicenseKeyValid","initialData","length","paragraph","getChildren","revisionHistoryLicenseKeyExpired","changeRootAttribute","getAttribute","has","insertion","reinsert","clone","261OHsLPT","add","_baseRootsAttributes","sourcePosition","getOperations","vid","shift","createPositionFromPath","$comment","remove","text","buildRevisionData","Users","merge","authorsIds","_startingVersion","revision","getAttributes","howMany","domainLimit","removeRootAttribute","getRange","insert","oldRange","rawElement","nodeAfter","keys","loadRevisionData","PendingActions","RealTimeCollaborationClient","createdAt","hasContent","expired","_bufferUpdate","RevisionHistory","tableCell","ready","RevisionsRepository","getRootNames","type","getLatestVersion","path","_baseIdsRoots","isAdd","insertions","parent","_reset","offsetSize","getRevisionRootsAttributes","creator","affectsData","_loadState","some","deletion","52664XWPIeO","attributesAfter","values","move","_pendingAction","usageLimit","_licenseKeyCheckInterval","reverse","sendBufferedUpdates","_removePendingAction","attributesBefore","from","_setAttribute","deletions","source","model","revisionHistoryLicenseKeyEvaluationLimit","getRevision","editor-initial-data-replaced-with-revision-data","string","document","revisionHistoryLicenseKeyInvalid","_findInsertionIndex","_addPendingAction","_touchedRoots","PENDING_ACTION_REVISION_HISTORY","getTime","_touchedMarkers","stringify","pluginName","_revisionId","getNodeByPath","getIndex","createRevision","invalid","adapter","_createFromRanges","_diffRootsAttributes","currentRevision","history","rootsAttributes","_handleMergeOperation","roots","_showLicenseError","max","_markers","afterInit","isEnabled","clear","isPremiumPlugin","_setConversion","plugins","_cloneOperation","startsWith","destroy","set","_handleSplitOperation","find","isOfficialPlugin","_handleOperation","toView","_fixOperation","_processRootBeforeSave","diffData","_source","fillerOffset","_handleRootOperation","split","newValue","includes","requires","_fixRange","_removeMetaData","markers","_transformMarkers","_revisionDataBuilder","getData","_baseRoots","targetPosition","outerHTML","data","_handleRootAttributeOperation","revisionHistory.resumeUnsavedRevision","for","getChild","innerHTML","revisionHistoryLicenseKeyNotAllowed","setRevisionData","featureNotAllowed","_fixPosition","_replaceEditorDataWithRevisionData","_authorId","authors","getAncestors","_generateTape","getCurrentRevisionId","documentFragment","_getBaseVids","fromEntries","repository","_getViewJson","_savedMetaData","graveyardPosition","then","2290qiqFIS","_getPreviousFrom","getCustomProperties","_isInit","_applyOperations","_startingRevisionId","_update","childCount","editor","$text","saveRevision","baseVersion","getWalker","vid_start","reInit","name","elementStart","_handleMarkerOperation","range","_saveMetaData","_operations","loadState","detachRoot","addRootAttribute","htmlProcessor","addRoot","delete","_lastTo","_copyMarkers","map","createElement","domDocument","7953qFMQHO","conversion","creatorId","customProperties","_getVidAttributeName","initial","insertionPosition","createPositionAfter","11202300fFlYtn","resolve","splitPosition"];return(mt=function(){return t})()}!function(t){const e=ft,i=t();for(;;)try{if(769611===parseInt(e(619))/1*(parseInt(e(544))/2)+-parseInt(e(656))/3*(parseInt(e(386))/4)+parseInt(e(579))/5+parseInt(e(620))/6*(parseInt(e(602))/7)+parseInt(e(640))/8+-parseInt(e(530))/9+-parseInt(e(490))/10*(parseInt(e(522))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends J.Plugin{[dt(540)];[dt(392)];[dt(424)]=null;[dt(485)];[dt(421)]=null;[dt(461)];[dt(450)];[dt(637)];[dt(643)];[dt(641)];[dt(390)];[dt(536)];[dt(671)];[dt(549)];static get[dt(415)](){return dt(555)}static get[dt(444)](){return!0}static get[dt(435)](){return!0}static get[dt(456)](){return[G.Users,et,rt,J.PendingActions]}constructor(e){const i=dt;super(e),this[i(485)]=this[i(498)][i(437)][i(580)](i(693)),this[i(641)]=this[i(498)][i(437)][i(580)](i(567)),this[i(461)]=new vt(this[i(498)]),this[i(637)]=this[i(498)][i(558)][i(580)](i(625))||i(527),this[i(643)]=new Map,this[i(549)]=null;const s=(0,t.uid)();this[i(450)]={history:this[i(498)][i(401)][i(406)][i(425)],getLatestVersion:()=>Promise[i(531)](this[i(498)][i(401)][i(406)][i(633)]),getCurrentRevisionId:()=>s},this[i(441)](i(587),!1),this[i(441)](i(433),!0),this[i(441)](i(592),!1),this[i(498)][i(558)][i(554)](i(468),!0),this[i(498)][i(523)][i(469)](i(636))[i(561)]({view:i(672)})}[dt(631)](){const t=dt;this[t(436)](),this[t(498)][t(466)].on(t(692),(()=>{const e=t,i=this[e(485)][e(403)](0),s=i&&null===i[e(705)]?i:null;if(this[e(536)]=!!s&&this[e(498)][e(558)][e(580)](e(468)),this[e(498)][e(437)][e(652)](e(685))){const t=this[e(450)][e(481)](),n=this[e(485)][e(403)](t);if(n)this[e(671)]=n[e(611)],this[e(536)]=!1;else{const t=this[e(450)][e(425)][e(510)][e(443)]((t=>!t[e(493)])),n=t?t[e(501)]:this[e(450)][e(425)][e(633)];i?(i[e(553)]<n&&i[e(496)]({toVersion:n}),this[e(536)]?(this[e(450)][e(481)]=()=>s.id,this[e(671)]=s[e(611)]):(this[e(671)]=i[e(553)],this[e(536)]=!1)):(this[e(671)]=n,this[e(536)]=!1)}}else s&&(this[e(498)][e(401)][e(406)][e(425)][e(633)]=Math[e(430)](s[e(553)],this[e(498)][e(401)][e(406)][e(425)][e(633)]),s[e(611)]===s[e(553)]?(0!==s[e(611)]&&(this[e(450)][e(481)]=()=>s.id),this[e(536)]=!1):this[e(536)]&&(this[e(450)][e(481)]=()=>s.id,this[e(671)]=s[e(611)])),this[e(536)]||(this[e(671)]=this[e(498)][e(401)][e(406)][e(633)]);this[e(461)][e(631)](this[e(450)][e(425)]),this[e(564)](this[e(671)]),this[e(562)](this[e(671)]),this[e(421)]&&this[e(394)]()})),this[t(639)](t(587)).to(this,t(592),(t=>!t)),this[t(540)]=this[t(498)][t(558)][t(580)](t(540));const e=this[t(498)];this[t(392)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(644)==r||i(407)==r||i(649)==r||i(598)==r||i(472)==r||i(402)==r||i(624)==r||i(566)==r){delete e[n],s=r,clearInterval(this[i(392)]),this[i(392)]=void 0;break}}i(407)==s&&e[i(429)](i(420)),i(649)==s&&e[i(429)](i(688)),i(598)==s&&e[i(429)](i(675)),i(472)==s&&e[i(429)](i(474),i(690)),i(402)==s&&e[i(429)](i(582)),i(624)==s&&e[i(429)](i(545)),i(566)==s&&e[i(429)](i(391))}),1e3)}async[dt(432)](){const t=dt;if(this[t(485)][t(646)]>0){const e=this[t(485)][t(403)](0),i=await this[t(575)](e),s=await this[t(704)](e);this[t(476)](i,s)}}[dt(440)](){const t=dt;super[t(440)](),this[t(392)]&&clearInterval(this[t(392)])}[dt(597)](t){this[dt(450)]=t}async[dt(626)](){const t=dt,e=await this[t(450)][t(696)]();if(e>this[t(424)][t(553)]){await this[t(383)]();const i=this[t(667)]({revision:this[t(424)],to:e});i[t(478)]=i[t(670)][t(519)]((e=>this[t(498)][t(437)][t(580)](t(668))[t(608)](e))),this[t(424)][t(496)](i)}}async[dt(500)](e={},i=null){const s=dt,n=[];await this[s(383)](),this[s(536)]=!1,i>this[s(424)][s(553)]&&(i=null),null===i&&(i=await this[s(450)][s(696)]());const r=this[s(563)](i),o=this[s(667)]({from:r,to:i});if(this[s(424)][s(553)]<i){const t=this[s(667)]({revision:this[s(424)],from:i,to:i});t[s(478)]=[],t[s(670)]=[],t.id=this[s(424)].id,this[s(424)][s(496)](t,!0),delete t[s(478)],n[s(603)](t)}e[s(524)]=this[s(498)][s(437)][s(580)](s(668)).me.id,e[s(505)]=e[s(505)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(552)](e);n[s(603)](e);const c=this[s(485)][s(418)](a);if(0!==c){const t=this[s(485)][s(403)](c-1);if(t[s(611)]!==i){const r=this[s(461)][s(462)](i,t[s(553)]),o={id:t.id,diffData:r[s(449)],authorsIds:r[s(670)],authors:r[s(670)][s(519)]((t=>this[s(498)][s(437)][s(580)](s(668))[s(608)](t))),fromVersion:i};t===this[s(424)]&&(o[s(686)]=new Date(e[s(686)][s(412)]()+10)),t[s(496)](o,!0),delete o[s(478)],n[s(603)](o)}}if(this[s(421)]){for(const t of n)this[s(689)](t.id,t,!0);this[s(394)]()}return a}[dt(552)](t){const e=dt,i=this[e(485)][e(419)](t);return this[e(421)]&&i.on(e(496),((t,i,s)=>{const n=e;s||(this[n(689)](i.id,i,!0),this[n(394)]())})),this[e(485)][e(614)](i,this[e(408)](i)),i}async[dt(575)](t){const e=dt;return await this[e(641)][e(683)](t,this[e(421)]),this[e(641)][e(575)](t)}async[dt(704)](t){const e=dt;return await this[e(641)][e(683)](t,this[e(421)]),this[e(641)][e(704)](t)}[dt(394)](){const t=dt;if(0===this[t(643)][t(617)])return;if(this[t(592)])return;let e=Array[t(397)](this[t(643)][t(388)]());this[t(643)][t(434)]();for(let i=0;i<e[t(646)];i++){const s=e[i];let n=!1;for(const e of Object[t(682)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(632)]((t=>null!==t)),!e[t(646)])return;for(let i=0;i<e[t(646)];i++){const s=e[i];void 0!==s[t(611)]&&void 0===s[t(553)]&&(s[t(553)]=this[t(485)][t(403)](s.id)[t(553)]),void 0!==s[t(553)]&&void 0===s[t(611)]&&(s[t(611)]=this[t(485)][t(403)](s.id)[t(611)])}const i=this[t(498)][t(558)][t(580)](t(625));this[t(592)]=!0,this[t(409)](),this[t(421)][t(570)](e,i)[t(574)]((()=>{this[t(592)]=!1}))[t(489)]((e=>{const i=t;if(e)for(const t of e)this[i(473)]({id:t.id,createdAt:t[i(686)]});this[i(395)](),this[i(394)]()}))}[dt(667)]({revision:t=null,from:e=null,to:i=null}){const s=dt;e=null!==e?e:t[s(611)],i=null!==i?i:t[s(553)];const n=this[s(461)][s(462)](e,i),r={diffData:n[s(449)],authorsIds:n[s(670)],fromVersion:e,toVersion:i};if(!t||i!==t[s(553)]){const t=i-1,e=this[s(450)][s(425)][s(576)](t);r[s(686)]=e&&e[s(686)]||new Date}if(this[s(549)]&&e===this[s(549)][s(611)])for(const t of this[s(549)][s(478)])r[s(670)][s(455)](t.id)||r[s(670)][s(603)](t.id);return r}[dt(689)](t,e,i){const s=dt;if(this[s(643)][s(652)](t)){const n=this[s(643)][s(580)](t);e=i?{...n,...e}:{...e,...n}}this[s(643)][s(441)](t,e)}[dt(473)](t){const e=dt,i=this[e(485)][e(403)](t.id);if(t[e(686)]&&(t[e(686)]=new Date(t[e(686)])),t[e(670)]){const i=this[e(498)][e(437)][e(580)](e(668));t[e(478)]=t[e(670)][e(519)]((t=>i[e(608)](t)))}i[e(496)](t,!0)}[dt(564)](t){const e=dt,i=this[e(485)][e(403)](this[e(485)][e(646)]-1);if(i)this[e(637)]=i.id;else{const i=!this[e(498)][e(401)][e(406)][e(428)][e(443)]((t=>this[e(498)][e(401)][e(687)](t))),s=this[e(498)][e(437)][e(580)](e(668)).me.id,n=ot(this[e(498)][e(543)],e(i?550:596));this[e(533)]({from:t,to:t,id:this[e(637)],name:n,creatorId:s})}}[dt(562)](t){const e=dt,i=this[e(450)][e(481)]();this[e(424)]=this[e(485)][e(403)](i),this[e(424)]||(this[e(424)]=this[e(533)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(383)](){const t=dt;this[t(536)]&&!this[t(549)]&&(await this[t(641)][t(683)](this[t(424)],this[t(421)]),this[t(461)][t(511)](this[t(424)]),this[t(549)]={fromVersion:this[t(424)][t(611)],authors:this[t(424)][t(478)][t(616)]()})}[dt(476)](e,i){const s=dt;let n=this[s(498)][s(558)][s(580)](s(645)),r=this[s(498)][s(558)][s(580)](s(426));if(void 0===n){n={};for(const t of this[s(498)][s(401)][s(406)][s(694)]())n[t]=""}if(s(405)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(498)][s(401)][s(406)][s(694)]())r[t]={}}let o=!1;const a=Object[s(682)](n),c=Object[s(682)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(573)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[s(682)](r[t])[s(646)]>0){o=!0;break}}o||(o=c[s(384)]((t=>!this[s(498)][s(401)][s(406)][s(606)](t)))),o&&(0,t.logWarning)(s(404),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(498)][s(558)][s(441)](s(645),e),this[s(498)][s(558)][s(441)](s(426),i)}[dt(409)](){const t=dt;if(!this[t(390)]){const e=this[t(498)][t(437)][t(580)](t(684));this[t(390)]=e[t(657)](ot(this[t(498)][t(543)],t(411)))}}[dt(395)](){const t=dt;this[t(390)]&&(this[t(498)][t(437)][t(580)](t(684))[t(665)](this[t(390)]),this[t(390)]=null)}[dt(408)](t){const e=dt,i=this[e(485)][e(607)]();i[e(393)]();let s=0;for(;s<i[e(646)];){const n=i[s];if(n===this[e(424)]){s++;continue}if(n.id===this[e(637)])break;const r=t[e(553)]-n[e(553)]||t[e(611)]-n[e(611)];if(r>0)break;if(r<0)s++;else{if(!t[e(705)]&&n[e(705)])break;if(n[e(705)]||!t[e(705)]){if(t[e(686)]>n[e(686)])break;s++}else s++}}return s}[dt(563)](t){const e=dt,i=this[e(485)][e(607)]();i[e(393)](),i[e(662)]();const s=i[e(443)]((i=>i[e(553)]<=t))[e(553)];return s<this[e(671)]?this[e(671)]:s}[dt(533)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=dt,o=this[r(667)]({from:e,to:i});o[r(505)]=t,o[r(524)]=s,o.id=n;const a=this[r(552)](o);return this[r(421)]&&this[r(689)](o.id,o,!0),a}[dt(436)](){const t=dt;this[t(498)][t(523)][t(469)](t(627))[t(604)]({model:t(672)})}}class vt{[dt(498)];[dt(400)];[dt(487)];[dt(612)];[dt(517)];[dt(431)];[dt(635)];[dt(423)];[dt(463)];[dt(658)];[dt(623)];[dt(698)];[dt(538)];[dt(413)];[dt(410)];[dt(416)];[dt(495)];constructor(t){const e=dt;this[e(498)]=t,this[e(487)]=new Map,this[e(612)]=-1,this[e(517)]=-1,this[e(431)]=new Map,this[e(635)]=new Map,this[e(423)]=new Map,this[e(463)]=new Map,this[e(658)]=new Map,this[e(623)]=new Map,this[e(698)]=new Map,this[e(538)]=new Map,this[e(413)]=new Map,this[e(410)]=new Map,this[e(416)]=1}[dt(631)](t){const e=dt;this[e(400)]=t;const i=new Map,s=new Map,n=this[e(498)][e(401)][e(406)][e(428)][e(519)]((t=>t[e(630)]));for(const t of n){const n=this[e(498)][e(401)][e(406)][e(606)](t),r=gt(n);i[e(441)](t,r),s[e(441)](t,Object[e(484)](n[e(673)]()))}const r=Array[e(397)](this[e(498)][e(401)][e(459)])[e(519)]((t=>[t[e(505)],t[e(677)]()])),o=this[e(400)][e(633)];this[e(509)](o,i,r,s),this[e(495)]=this[e(416)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(441)](t,i),c[e(441)](t,{})}this[e(509)](Number[e(599)],a,[],c)}[dt(462)](t,e){const i=dt;if(this[i(612)]===t&&this[i(517)]<=e)this[i(487)][i(617)]>1&&this[i(458)](this[i(517)]),this[i(494)](this[i(517)],e,!0);else{if(!this[i(487)][i(652)](t)){const e=this[i(491)](t);this[i(542)](e,t,!1)}this[i(542)](t,e,!0)}return this[i(612)]=t,this[i(517)]=e,this[i(622)]()}[dt(511)](t){const e=dt,i=this[e(498)][e(437)][e(580)](e(567));this[e(702)](),this[e(612)]=t[e(611)],this[e(517)]=t[e(553)];for(const s in t[e(449)]){const n=t[e(449)][s][e(571)],r=A(t[e(449)][s][e(396)])||{},o=i[e(539)](t[e(449)][s][e(399)]);o[e(630)]=s,o[e(534)]=!n||!n[e(568)],o[e(568)]=()=>o[e(534)],this[e(463)][e(441)](s,o),this[e(658)][e(441)](s,r),n&&this[e(410)][e(441)](s,n);const a=this[e(546)](o);this[e(698)][e(441)](s,a);for(const[t,i]of o[e(459)]){if(!t[e(439)](e(591)))continue;const s=t[e(453)](":")[2];for(const t of i[e(502)]({singleCharacters:!0})){const i=this[e(526)](t),n=e(618)==t[e(695)]?t[e(628)][e(697)][e(616)](0,-1):t[e(628)][e(697)],r=a[e(417)](n)[e(651)](i);this[e(538)][e(441)](r,{userId:s})}}}this[e(495)]=this[e(416)];const s=[...Array(this[e(416)])[e(682)]()][e(616)](1)[e(632)]((t=>!this[e(538)][e(652)](t)));let n=0;const r=new Map;for(const o in t[e(449)]){const a=t[e(449)][o][e(571)],c=A(t[e(449)][o][e(387)])||{},u=i[e(539)](t[e(449)][o][e(700)]);u[e(630)]=o,u[e(534)]=!a||a[e(568)],u[e(568)]=()=>u[e(534)],this[e(635)][e(441)](o,u),this[e(423)][e(441)](o,c);const l=this[e(546)](u,Number[e(599)]);this[e(623)][e(441)](o,l),r[e(441)](o,u[e(568)]()?c:{});for(const[t,i]of u[e(459)]){if(!t[e(439)](e(591)))continue;const s=t[e(453)](":")[2];for(const t of i[e(502)]({singleCharacters:!0})){const i=this[e(526)](t),n=this[e(416)]++,r=e(618)==t[e(695)]?t[e(628)][e(697)][e(616)](0,-1):t[e(628)][e(697)];l[e(417)](r)[e(398)](i,n),this[e(538)][e(441)](n,{userId:s})}}for(const t of this[e(498)][e(401)][e(578)](u)[e(502)]({singleCharacters:!0})){const i=this[e(526)](t),r=e(618)==t[e(695)]?t[e(628)][e(697)][e(616)](0,-1):t[e(628)][e(697)],o=l[e(417)](r);o[e(651)](i)>0||o[e(398)](i,s[n++])}for(const[t,i]of u[e(459)])t[e(439)](e(591))||this[e(431)][e(441)](t,i)}const o=yt(e(586));this[e(463)][e(441)](e(586),o),this[e(698)][e(441)](e(586),this[e(546)](o,1));const a=yt(e(586));this[e(635)][e(441)](e(586),a),this[e(623)][e(441)](e(586),this[e(546)](a,1));const c=Array[e(397)](this[e(635)])[e(519)]((([t,e])=>[t,gt(e)]));this[e(509)](this[e(517)],c,this[e(431)],r)}[dt(504)](){const t=dt;this[t(702)](),this[t(612)]=-1,this[t(517)]=-1,this[t(487)][t(434)](),this[t(631)](this[t(400)])}[dt(509)](t,e,i,s){const n=dt,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(441)](t,{start:e[n(565)][n(655)](),end:e[n(577)][n(655)](),rootName:e[n(594)][n(630)]});this[n(487)][n(441)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(458)](t){const e=dt;this[e(487)][e(516)](t)}[dt(702)](){const t=dt;this[t(538)][t(434)](),this[t(413)][t(434)](),this[t(410)][t(434)](),this[t(635)][t(434)](),this[t(423)][t(434)](),this[t(463)][t(434)](),this[t(658)][t(434)](),this[t(623)][t(434)](),this[t(698)][t(434)](),this[t(431)][t(434)](),this[t(416)]=1,this[t(495)]=this[t(416)]}[dt(546)](t,e=null){const i=dt;let s=null;t.is(i(482))||(s=new K.ModelElement(t[i(505)],{vid_start:null===e?this[i(416)]++:e++}));const n=[];for(const s of t[i(648)]())if(s.is(i(588))){n[i(603)](this[i(546)](s,e));const t=n[n[i(646)]-1];null!==e&&(e=t.is(i(588),i(499))?t[i(651)](i(661))+1:t[i(651)](i(581))+1)}else for(let t=0;t<s[i(703)];t++)n[i(603)](new K.ModelElement(i(499),{vid:null===e?this[i(416)]++:e++}));if(t.is(i(482))){const e=yt(t[i(630)]);return e[i(585)](0,n),e}return s[i(398)](i(581),null===e?this[i(416)]++:e++),s[i(585)](0,n),s}[dt(542)](t,e,i){const s=dt;this[s(702)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(487)][s(580)](t);this[s(463)]=new Map(n),this[s(658)]=new Map(A(o));for(const[t,e]of this[s(463)])if(s(586)!==t&&(this[s(635)][s(441)](t,gt(e)),this[s(423)]=new Map(A(o)),i)){const i=this[s(416)];this[s(623)][s(441)](t,this[s(546)](e)),this[s(698)][s(441)](t,this[s(546)](e,i))}this[s(495)]=this[s(416)],this[s(635)][s(441)](s(586),gt(this[s(463)][s(580)](s(586)))),i&&this[s(623)][s(441)](s(586),this[s(546)](this[s(463)][s(580)](s(586))));for(const[t,e]of r){const i=this[s(463)][s(580)](e[s(630)]),n=this[s(635)][s(580)](e[s(630)]),r=new K.ModelRange(this[s(475)](e[s(565)],i),this[s(475)](e[s(577)],i)),o=this[s(457)](r,n);i[s(459)][s(441)](t,r),this[s(431)][s(441)](t,o)}this[s(494)](t,e,i)}[dt(494)](t,e,i){const s=dt;for(const n of this[s(400)][s(660)](t,e))this[s(445)](n,i);for(const t of this[s(635)][s(388)]())t[s(459)][s(434)]();for(const[t,e]of this[s(431)])this[s(635)][s(580)](e[s(594)][s(630)])[s(459)][s(441)](t,e[s(655)]());const n=new Map,r=new Map;for(const[t,e]of this[s(635)])n[s(441)](t,gt(e)),r[s(441)](t,this[s(423)][s(580)](t));this[s(509)](e,n,this[s(431)],r)}[dt(491)](t){const e=dt,i=Array[e(397)](this[e(487)][e(682)]());i[e(601)](((t,e)=>t-e)),i[e(393)]();for(const e of i)if(e<t)return e;return Number[e(599)]}[dt(518)](t,e){const i=dt,s=Array[i(397)](e[i(459)])[i(519)]((([e,s])=>[e,this[i(457)](s,t)]));t[i(459)]=new Map(s)}[dt(460)](t){const e=dt;for(const i of this[e(431)][e(388)]()){const s=i[e(569)](t),n=K.ModelRange[e(422)](s);i[e(565)]=n[e(565)],i[e(577)]=n[e(577)]}}[dt(445)](t,e){const i=dt;if(i(515)!=t[i(695)]&&i(512)!=t[i(695)]){if(i(678)==t[i(695)]){const s=t[i(548)][i(594)][i(630)];this[i(635)][i(652)](s)||(this[i(635)][i(441)](s,yt(s,!0)),this[i(423)][i(441)](s,{}),e&&this[i(623)][i(441)](s,yt(s,!0)))}else{if(i(513)==t[i(695)]||i(676)==t[i(695)]||i(650)==t[i(695)])return void this[i(467)](t);i(560)==t[i(695)]&&this[i(507)](t)}if(i(560)!==t[i(695)]){const e=this[i(438)](t,this[i(635)]);e[i(638)](),this[i(460)](e)}if(e)switch(t[i(695)]){case i(678):this[i(537)](t);break;case i(389):case i(665):case i(654):this[i(629)](t);break;case i(669):this[i(427)](t);break;case i(453):this[i(442)](t)}}else this[i(452)](t,e)}[dt(438)](t,e){const i=dt,s=t[i(655)]();return s[i(477)]=t[i(477)],this[i(447)](s,e),s}[dt(483)](t){const e=dt;return t[e(519)]((t=>{const i=e,s=this[i(526)](t);return Number(t[i(556)][i(651)](s))}))}[dt(480)](t,e){const i=dt;if(t.is(i(588),i(499)))e[i(603)]({item:t,type:i(666)});else{t.is(i(588))&&e[i(603)]({item:t,type:i(506)});for(const s of t[i(648)]())this[i(480)](s,e);t.is(i(588))&&e[i(603)]({item:t,type:i(618)})}return e}[dt(622)](){const t=dt,e=new Map(this[t(538)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(463)][t(682)](),...this[t(635)][t(682)]()]);a[t(516)](t(586));for(const e of a){const i=this[t(635)][t(580)](e)||yt(e,!1),s=this[t(463)][t(580)](e)||yt(e,!1);i[t(568)]()||s[t(568)]()?(n[t(700)][e]=gt(i),n[t(399)][e]=gt(s),this[t(518)](n[t(399)][e],s),this[t(518)](n[t(700)][e],i),r[t(700)][e]=this[t(480)](this[t(623)][t(580)](e),[]),r[t(399)][e]=this[t(480)](this[t(698)][t(580)](e)||yt(e,!1),[])):a[t(516)](e)}for(const n of a){const o=r[t(700)][n];for(const n of o){const r=this[t(526)](n),o=n[t(556)][t(651)](r);i[t(516)](o),o>=this[t(495)]&&s[t(441)](o,e[t(580)](o))}}for(const n of a){const a=r[t(700)][n],c=this[t(483)](r[t(399)][n]);let u=0;for(const n of a){const r=this[t(526)](n),a=n[t(556)][t(651)](r);if(!s[t(652)](a)&&!o[t(652)](a))if(i[t(652)](a))u++;else{if(a!=c[u]){const s=e[t(580)](a)||e[t(580)](c[u]);for(;a!=c[u];)i[t(652)](c[u])||(o[t(441)](c[u],s),e[t(441)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(700)][e];for(const e of n){const n=this[t(526)](e),r=e[t(556)][t(651)](n);if(o[t(652)](r)){const e=o[t(580)](r);i[t(652)](r)||i[t(441)](r,{...e}),s[t(441)](r,{...e})}}}for(const e of i[t(682)]())e>=this[t(495)]&&i[t(516)](e);const c=new Map;for(const e of a){let n=r[t(700)][e];for(const e of n)if(e[t(556)].is(t(588),t(691))){const i=this[t(526)](e),n=e[t(556)][t(651)](i);if(s[t(652)](n)){const i=e[t(556)][t(701)][t(701)][t(651)](t(503)),r=c[t(580)](i)||new Set;r[t(657)](s[t(580)](n)[t(595)]),c[t(441)](i,r)}}n=r[t(399)][e];for(const e of n)if(e[t(556)].is(t(588),t(691))){const s=this[t(526)](e),n=e[t(556)][t(651)](s);if(i[t(652)](n)){const s=e[t(556)][t(701)][t(701)][t(651)](t(503)),r=c[t(580)](s)||new Set;r[t(657)](i[t(580)](n)[t(595)]),c[t(441)](s,r)}}for(const e of c[t(682)]())(s[t(652)](e)||i[t(652)](e))&&c[t(516)](e)}for(const e of a){const n=r[t(700)][e];let o=null,a=null;for(const e of n){const n=this[t(526)](e),r=e[t(556)][t(651)](n),u=c[t(580)](r);u&&t(506)==e[t(695)]&&(o=Array[t(397)](u)[0],a=e[t(556)][t(651)](t(581))),o&&(i[t(441)](r,{userId:o}),s[t(441)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(399)][e],a=n[t(700)][e];for(const{userId:e}of this[t(413)][t(388)]())null!==e&&l[t(657)](e);for(const{userId:e}of this[t(410)][t(388)]())null!==e&&l[t(657)](e);this[t(559)](a,r[t(700)][e],s,t(653),l),this[t(559)](o,r[t(399)][e],i,t(385),l),u[e]={insertions:this[t(609)](a),deletions:this[t(609)](o),attachChange:this[t(410)][t(580)](e)||null,attributesBefore:A(this[t(658)][t(580)](e))||{},attributesAfter:A(this[t(423)][t(580)](e))}}return{diffData:u,authorsIds:Array[t(397)](l)}}[dt(448)](t){const e=dt;for(const[,i]of t[e(459)]){const t=i[e(565)][e(479)]()[e(632)]((t=>e(691)==t[e(505)]));for(const i of t)1==i[e(497)]&&i[e(470)](0).is(e(588),e(647))&&i[e(470)](0)[e(398)](e(634),!0)}}[dt(609)](t){const e=dt;this[e(448)](t);const i=this[e(498)][e(466)][e(446)](t,{}),s=Array[e(397)](i[e(648)]())[e(519)]((t=>this[e(486)](t)));return JSON[e(414)](s)}[dt(486)](t){const e=dt;if(t.is(e(499)))return t[e(466)];{const i=this[e(498)][e(437)][e(580)](e(567)),s=t,n=this[e(498)][e(466)][e(514)][e(613)],r={type:i[e(615)](s),name:s[e(505)],attributes:Array[e(397)](s[e(673)]()),children:Array[e(397)](s[e(648)]())[e(519)]((t=>this[e(486)](t)))};if(t.is(e(557))&&e(664)!=t[e(505)]){const i=t[e(610)](n[e(521)],n);r[e(584)][e(603)](i[e(465)])}else if(t.is(e(680))){const i=n[e(521)][e(520)](s[e(505)]);t[e(610)](i,n),r[e(584)][e(603)](i[e(471)])}const o=Array[e(397)](s[e(492)]());o[e(646)]>0&&(r[e(525)]=o);const a=s[e(600)]();return null!==a&&(r[e(451)]=a),r}}[dt(559)](t,e,i,s,n){const r=dt;let o=null,a=null,c=0;const u=this[r(498)][r(401)];for(let s=0;s<e[r(646)];s++){const n=this[r(526)](e[s]),c=e[s][r(556)][r(651)](n),h=i[r(580)](c),d=s==e[r(646)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(595)]!=o[r(595)])&&(l(h,kt(a,t,u),kt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,kt(a,t,u),bt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(595)],d=l(591)+s+":"+h+":"+c++,f=u[l(547)](i,a);t[l(459)][l(441)](d,f),null!==h&&n[l(657)](h)}}[dt(526)](t){const e=dt;switch(t[e(695)]){case e(506):return e(503);case e(618):return e(581);default:return e(661)}}[dt(447)](t,e){const i=dt;t[i(501)]=null;for(const s in t){const n=t[s];if(n instanceof K.ModelPosition){const r=e[i(580)](n[i(594)][i(630)]);t[s]=this[i(475)](n,r)}if(n instanceof K.ModelRange){const r=e[i(580)](n[i(594)][i(630)]);t[s]=this[i(457)](n,r)}i(594)===s&&(t[i(594)]=e[i(580)](t[i(594)][i(630)]))}}[dt(457)](t,e){const i=dt;return this[i(498)][i(401)][i(547)](this[i(475)](t[i(565)],e),this[i(475)](t[i(577)],e))}[dt(475)](t,e){const i=dt;return this[i(498)][i(401)][i(663)](e,t[i(697)],t[i(535)])}[dt(537)](t){const e=dt,i=this[e(623)][e(580)](t[e(548)][e(594)][e(630)]),s=this[e(475)](t[e(548)],i),n=null===t[e(477)]?null:t[e(477)]||this[e(498)][e(437)][e(580)](e(668)).me.id,r=s[e(701)],o=this[e(416)],a=[];for(const i of t[e(541)])if(i.is(e(588)))a[e(603)](this[e(546)](i));else for(let t=0;t<i[e(703)];t++)a[e(603)](new K.ModelElement(e(499),{vid:this[e(416)]++}));const c=this[e(416)];for(let t=o;t<c;t++)this[e(538)][e(441)](t,{userId:n});r[e(585)](s[e(589)],a)}[dt(629)](t){const e=dt;(t=this[e(438)](t,this[e(623)]))[e(638)]();const i=null===t[e(477)]?null:t[e(477)]||this[e(498)][e(437)][e(580)](e(668)).me.id,s=t[e(605)](),n=s[e(701)],r=s[e(589)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(470)](e);r.is(a(588),a(499))?s[a(441)](r[a(651)](a(661)),{userId:i}):(s[a(441)](r[a(651)](a(503)),{userId:i}),t(s,r,0,r[a(497)]),s[a(441)](r[a(651)](a(581)),{userId:i}))}}(this[e(538)],n,r,r+t[e(674)])}[dt(427)](t){const e=dt,i=null===(t=this[e(438)](t,this[e(623)]))[e(477)]?null:t[e(477)]||this[e(498)][e(437)][e(580)](e(668)).me.id,s=t[e(464)][e(701)],n=t[e(659)][e(701)],r=s[e(651)](e(581)),o=n[e(651)](e(503));s[e(398)](e(581),n[e(651)](e(581))),n[e(398)](e(581),r),this[e(538)][e(441)](o,{userId:i}),this[e(538)][e(441)](r,{userId:i}),t[e(638)]()}[dt(442)](t){const e=dt,i=null===(t=this[e(438)](t,this[e(623)]))[e(477)]?null:t[e(477)]||this[e(498)][e(437)][e(580)](e(668)).me.id,s=t[e(488)],n=t[e(532)][e(701)];t[e(638)]();const r=n[e(651)](e(581)),o=t[e(528)][e(681)];if(s){const t=o[e(651)](e(581)),s=n[e(651)](e(581));n[e(398)](e(581),t),o[e(398)](e(581),s),this[e(538)][e(441)](n[e(651)](e(581)),{userId:i}),this[e(538)][e(441)](o[e(651)](e(503)),{userId:i})}else{const t=this[e(416)]++,s=this[e(416)]++;n[e(398)](e(581),t),o[e(398)](e(503),s),o[e(398)](e(581),r),this[e(538)][e(441)](t,{userId:i}),this[e(538)][e(441)](s,{userId:i})}}[dt(507)](t){const e=dt;if(!t[e(706)])return;const i=(t=this[e(438)](t,this[e(635)]))[e(679)]?t[e(679)][e(594)]:null,s=t[e(621)]?t[e(621)][e(594)]:null;i&&this[e(431)][e(516)](t[e(505)]),s&&this[e(431)][e(441)](t[e(505)],t[e(621)][e(655)]());const n=null===t[e(477)]?null:t[e(477)]||this[e(498)][e(437)][e(580)](e(668)).me.id,r=t[e(505)];if(!this[e(413)][e(652)](r))return void this[e(413)][e(441)](r,{range:t[e(679)],userId:n});const o=this[e(413)][e(580)](r),a=o[e(508)],c=t[e(621)];null==a&&null==c||a&&c&&a[e(590)](c)?this[e(413)][e(516)](t[e(505)]):o[e(595)]=n}[dt(452)](t,e){const i=dt;this[i(635)][i(652)](t[i(630)])?this[i(635)][i(580)](t[i(630)])[i(534)]=t[i(699)]:(this[i(635)][i(441)](t[i(630)],yt(t[i(630)],!0)),this[i(423)][i(441)](t[i(630)],{}),e&&this[i(623)][i(441)](t[i(630)],yt(t[i(630)],!0)));const s=null===t[i(477)]?null:t[i(477)]||this[i(498)][i(437)][i(580)](i(668)).me.id,n=this[i(410)][i(580)](t[i(630)]);n&&n[i(595)]===s?this[i(410)][i(516)](t[i(630)]):this[i(410)][i(441)](t[i(630)],{userId:s,isAttached:t[i(699)]})}[dt(467)](t){const e=dt,i=this[e(423)][e(580)](t[e(594)][e(630)]);null===t[e(454)]?delete i[t[e(593)]]:i[t[e(593)]]=t[e(454)]}}function gt(t){const e=dt,i=yt(t[e(630)],t[e(568)]());for(const s of t[e(648)]()){const t=s[e(551)](!0);i[e(583)](t)}return i}function yt(t,e=!0){const i=dt,s=new K.ModelDocumentFragment;return s[i(630)]=t,s[i(534)]=e,s[i(568)]=()=>s[i(534)],s}function kt(t,e,i){const s=dt,n=s(618)==t[s(695)]?i[s(572)](t[s(556)],s(577)):i[s(642)](t[s(556)]);return i[s(663)](e,n[s(697)],n[s(535)])}function bt(t,e,i){const s=dt,n=s(506)==t[s(695)]?i[s(572)](t[s(556)],0):i[s(529)](t[s(556)]);return i[s(663)](e,n[s(697)],n[s(535)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),xt=i.n(Ot),Tt=i(262),Nt=i.n(Tt),Rt=i(667),At=i.n(Rt),Mt=i(357),Dt=i.n(Mt),Et=i(426),Vt={attributes:{"data-cke":!0}};Vt.setAttributes=At(),Vt.insert=Nt().bind(null,"head"),Vt.domAPI=xt(),Vt.insertStyleElement=Dt();St()(Et.A,Vt);Et.A&&Et.A.locals&&Et.A.locals;var Ct=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=At(),Ft.insert=Nt().bind(null,"head"),Ft.domAPI=xt(),Ft.insertStyleElement=Dt();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;const Lt=Pt;function jt(){const t=["keystrokes","_createRevisionNameInput","fieldView","revisionNameInputView","1701912tXigaU","add","revisionNameInputValue","trim","stopPropagation","ck-revision-history-save-revision-form","28CUsqDF","220","ck-responsive-form","input","Name of the revision","focusTracker","focus","errorText","19278500RGuINs","setTemplate","locale","arrowleft","arrowright","optional","7185690ljrBwN","listenTo","extendTemplate","24777PDtIer","form","render","reset","1jFcxxB","10486272YETBnu","3238736sUViMW","arrowup","revisionName","element","set","13633416HeBvyx","116yEYsEj","value","arrowdown","initializeCssTransitionDisablerMixin","label"];return(jt=function(){return t})()}function Pt(t,e){const i=jt();return(Pt=function(t,e){return i[t-=296]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(901287===parseInt(e(317))/1*(-parseInt(e(334))/2)+parseInt(e(313))/3*(parseInt(e(325))/4)+parseInt(e(310))/5+-parseInt(e(318))/6+-parseInt(e(296))/7*(parseInt(e(319))/8)+parseInt(e(324))/9+parseInt(e(304))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class zt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[Lt(301)];[Lt(330)];[Lt(333)];constructor(e,i){const s=Lt;super(e),this[s(301)]=new t.FocusTracker,this[s(330)]=new t.KeystrokeHandler,this[s(323)](s(336),""),this[s(333)]=this[s(331)](i),this[s(305)]({tag:s(314),attributes:{class:["ck",s(339),s(298)],tabindex:"-1"},children:[this[s(333)]]}),this[s(328)]()}[Lt(315)](){const t=Lt;super[t(315)](),(0,_t.submitHandler)({view:this}),this[t(301)][t(335)](this[t(333)][t(322)]),this[t(330)][t(311)](this[t(322)]);const e=e=>e[t(338)]();this[t(330)][t(323)](t(308),e),this[t(330)][t(323)](t(307),e),this[t(330)][t(323)](t(320),e),this[t(330)][t(323)](t(327),e)}[Lt(302)](){const t=Lt;this[t(333)][t(302)]()}get[Lt(321)](){const t=Lt;return this[t(333)][t(332)][t(322)][t(326)][t(337)]()}set[Lt(321)](t){const e=Lt;this[e(333)][e(332)][e(322)][e(326)]=t[e(337)]()}[Lt(316)](){const t=Lt;this[t(333)][t(332)][t(322)][t(326)]="",this[t(333)][t(303)]=null}[Lt(331)](t){const e=Lt,i=new _t.LabeledFieldView(this[e(306)],_t.createLabeledInputText),s=i[e(332)];s[e(312)]({attributes:{maxlength:e(297)}});let n=ot(this[e(306)],e(300));return!t&&(n+=" ("+ot(this[e(306)],e(309))+")"),i[e(329)]=n,s.on(e(299),(()=>{const t=e;this[t(336)]=s[t(322)][t(326)][t(337)]()})),i}}const Ut=Wt;function Wt(t,e){const i=Ht();return(Wt=function(t,e){return i[t-=122]})(t,e)}function Ht(){const t=["_registerMenuComponent","Accept","_showDialog","pluginName","submit","Cancel","34vLGAFx","view","buttonView","492HAabrt","revisionHistory.requireRevisionName","1746312xvTQvx","Revision history","12954969kduaxF","The revision name cannot be empty.","role","delegate","isOpen","11333kMgwpz","isPremiumPlugin","revisionHistory","editor","render","RevisionHistoryUI","panelView","get","bind","init","menu","isReady","focus","ck-button-action","revisionSave","isReadOnly","90625lRlVHC","showRevisionViewerCallback","children","309462OdzNYe","_createSaveRevisionFormView","1067frMGfw","RevisionTracker","290620hnmgSq","menuitem","plugins","editing","menuBar:revisionHistory","add","Save current revision","show","errorText","addMany","revisionName","execute","Dialog","isOfficialPlugin","set","componentFactory","requires","revisionNameInputView","reset","_saveRevisionFormView","items","172378dlkGKi","hide","config","Open revision history","isEnabled","264bmzEBy","saveRevision","locale"];return(Ht=function(){return t})()}!function(t){const e=Wt,i=t();for(;;)try{if(901432===parseInt(e(154))/1+parseInt(e(168))/2*(-parseInt(e(129))/3)+-parseInt(e(173))/4+parseInt(e(126))/5*(parseInt(e(171))/6)+-parseInt(e(180))/7*(-parseInt(e(159))/8)+-parseInt(e(175))/9+parseInt(e(133))/10*(parseInt(e(131))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class Zt extends J.Plugin{static get[Ut(165)](){return Ut(185)}static get[Ut(146)](){return!0}static get[Ut(181)](){return!0}static get[Ut(149)](){return[pt]}[Ut(152)];[Ut(189)](){const t=Ut,e=this[t(183)],i=e[t(135)][t(187)](t(132));e.ui[t(148)][t(138)](t(182),(s=>{const n=t,r=(0,_t.createDropdown)(s),o=r[n(186)][n(128)],a=new _t.ListView(s),c=new _t.ListItemView(s),u=new _t.ButtonView(s),l=new _t.ListItemView(s),h=new _t.ButtonView(s);return r[n(188)](n(158)).to(i,n(191),i,n(158),e,n(125),((t,e,i)=>t&&e&&!i)),r[n(170)][n(147)]({icon:wt.IconHistory,label:ot(s,n(174)),tooltip:!0}),u[n(147)]({label:ot(s,n(139)),withText:!0,role:n(134)}),u[n(188)](n(158)).to(i,n(191),i,n(158),e,n(125),((t,e,i)=>t&&e&&!i)),u.on(n(144),(()=>this[n(164)]())),h[n(147)]({label:ot(s,n(157)),withText:!0,role:n(134)}),h[n(188)](n(158)).to(i,n(191),e,n(125),((t,e)=>t&&!e)),h.on(n(144),(()=>{const t=n;e[t(156)][t(187)](t(182))[t(127)](),r[t(179)]=!1,e[t(136)][t(169)][t(122)]()})),c[n(128)][n(138)](u),l[n(128)][n(138)](h),a[n(177)]=n(190),a[n(153)][n(142)]([c,l]),o[n(138)](a),r})),e.ui[t(148)][t(138)](t(137),(()=>this[t(162)]()))}[Ut(162)](){const t=Ut,e=this[t(183)],i=e[t(161)],s=new _t.MenuBarMenuView(i),n=new _t.MenuBarMenuListView(i);s[t(170)][t(147)]({icon:wt.IconHistory,label:ot(i,t(174))});const r=new _t.MenuBarMenuListItemView(i,s),o=new _t.MenuBarMenuListItemButtonView(i);o[t(147)]({label:ot(i,t(139))}),o[t(178)](t(144)).to(s),o.on(t(144),(()=>{this[t(164)]()})),r[t(128)][t(138)](o),n[t(153)][t(138)](r);const a=new _t.MenuBarMenuListItemView(i,s),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(147)]({label:ot(i,t(157))}),c[t(178)](t(144)).to(s),c.on(t(144),(()=>{const i=t;e[i(156)][i(187)](i(182))[i(127)]()})),a[t(128)][t(138)](c),n[t(153)][t(138)](a),s[t(186)][t(128)][t(138)](n),s}[Ut(164)](){const t=Ut,e=this[t(183)],i=e[t(161)],s=e[t(135)][t(187)](t(145)),n=e[t(135)][t(187)](t(132));function r(n){const r=t;e[r(156)][r(187)](r(172))&&""===n[r(143)]?n[r(150)][r(141)]=ot(i,r(176)):(e[r(135)][r(187)](pt)[r(160)]({name:n[r(143)]}),s[r(155)]())}this[t(152)]||(this[t(130)](),this[t(152)].on(t(166),(()=>r(this[t(152)])))),this[t(152)][t(151)](),s[t(140)]({id:t(124),title:ot(i,t(139)),isModal:!0,content:this[t(152)],actionButtons:[{label:ot(e[t(161)],t(167)),withText:!0,onExecute:()=>s[t(155)]()},{label:ot(e[t(161)],t(163)),class:t(123),withText:!0,onCreate(i){const s=t;i[s(188)](s(158)).to(n,s(191),n,s(158),e,s(125),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(152)])}]})}[Ut(130)](){const t=Ut,e=this[t(183)],i=e[t(161)];this[t(152)]=new zt(i,e[t(156)][t(187)](t(172))),this[t(152)][t(184)]()}}const qt=$t;function $t(t,e){const i=Bt();return($t=function(t,e){return i[t-=492]})(t,e)}function Bt(){const t=["Added by","type","span","data","changeId","102xAgOfz","isSuggestion","3114216rEKPAK","Suggested by","387064RqYcDR","1954AZRoNz","276LFpozd","Removed by","element","ck-revision-change__","89020AYEykb","ck-revision-change","set","author","name","11955edSwCh","div","1150DlrxTw","setTemplate","3821643USKwow","ck-revision-change__label","bindTemplate","focus","44eemhUk","39127hIlJEe","add","_model","ck-annotation"];return(Bt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(235222===parseInt(e(524))/1*(parseInt(e(523))/2)+-parseInt(e(500))/3*(-parseInt(e(508))/4)+-parseInt(e(495))/5*(-parseInt(e(518))/6)+-parseInt(e(520))/7+parseInt(e(522))/8+parseInt(e(504))/9+-parseInt(e(502))/10*(parseInt(e(509))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Yt extends _t.View{[qt(517)];[qt(511)];constructor(t,e){const i=qt;super(t),this[i(511)]=e,this[i(517)]=e.id;const s=this[i(506)],n=ot(t,e[i(516)][i(519)]?i(521):i(510)==e[i(514)]?i(513):i(492));this[i(497)](i(514),e[i(514)]),this[i(503)]({tag:i(501),attributes:{class:[i(512),i(496),s.to(i(514),(t=>i(494)+t))],tabindex:-1},children:[{tag:i(515),children:[{tag:i(515),attributes:{class:[i(505)]},children:[{text:n}]},{text:" "+e[i(498)][i(499)]}]}]})}[qt(507)](){const t=qt;this[t(493)][t(507)]()}}var Jt=Kt;function Gt(){var t=["9ecjMQo","5369656BYlQBi","11142710JBRhCT","author","4753MNBgan","toJSON","createdAt","data","3409095fRijgZ","2046164RFpvcz","type","set","rootName","2748AYZZYg","2362PhxLXH","1212aWubYH","558607JsQkIf"];return(Gt=function(){return t})()}function Kt(t,e){var i=Gt();return(Kt=function(t,e){return i[t-=176]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(383843===parseInt(e(189))/1+-parseInt(e(187))/2*(parseInt(e(188))/3)+-parseInt(e(182))/4+parseInt(e(181))/5+-parseInt(e(186))/6*(parseInt(e(177))/7)+-parseInt(e(191))/8+-parseInt(e(190))/9*(-parseInt(e(192))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Xt extends((0,t.ObservableMixin)()){id;[Jt(176)];[Jt(183)];[Jt(180)];[Jt(185)];constructor(e){var i=Jt;super(),this.id=e.id||(0,t.uid)(),this[i(176)]=e[i(176)],this[i(183)]=e[i(183)],this[i(180)]=e[i(180)]||{},this[i(185)]=e[i(185)],this[i(184)](i(179),e[i(179)])}[Jt(178)](){var t=Jt;return{id:this.id,authorId:this[t(176)].id,type:this[t(183)],data:this[t(180)],createdAt:this[t(179)]}}}const Qt=ee;function te(){const t=["2063352mRNpQD","add","10bePuTt","_setChanges","1146CRBLLl","1922733sIgCOk","newRevisionId","288918YKolmg","874976PXHUqb","oldRevisionId","2189405hbqamt","303ogSoOw","changes","231798lVXoZp","4TaRYQs"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=125]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(341221===parseInt(e(130))/1+-parseInt(e(136))/2*(-parseInt(e(128))/3)+-parseInt(e(131))/4*(parseInt(e(127))/5)+parseInt(e(132))/6+parseInt(e(139))/7+-parseInt(e(125))/8+-parseInt(e(137))/9*(-parseInt(e(134))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ie{[Qt(138)];[Qt(126)];[Qt(129)];constructor(e,i){const s=Qt;this[s(138)]=e,this[s(126)]=i,this[s(129)]=new t.Collection}[Qt(135)](t){const e=Qt;for(const i of t)this[e(129)][e(133)](i)}}var se=i(536),ne={attributes:{"data-cke":!0}};ne.setAttributes=At(),ne.insert=Nt().bind(null,"head"),ne.domAPI=xt(),ne.insertStyleElement=Dt();St()(se.A,ne);se.A&&se.A.locals&&se.A.locals;const re=oe;function oe(t,e){const i=ue();return(oe=function(t,e){return i[t-=447]})(t,e)}!function(t){const e=oe,i=t();for(;;)try{if(702960===parseInt(e(575))/1+parseInt(e(741))/2*(-parseInt(e(662))/3)+-parseInt(e(675))/4*(-parseInt(e(612))/5)+-parseInt(e(489))/6*(-parseInt(e(627))/7)+parseInt(e(644))/8*(-parseInt(e(463))/9)+-parseInt(e(480))/10+-parseInt(e(596))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ae extends J.Plugin{[re(501)];[re(581)]=null;[re(754)];[re(761)];[re(557)];[re(587)];[re(505)];static get[re(460)](){return re(628)}static get[re(589)](){return!0}static get[re(668)](){return!0}static get[re(654)](){return[G.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(501)]=this[e(724)][e(567)][e(704)](e(673)),this[e(754)]=this[e(724)][e(567)][e(704)](e(565)),this[e(682)](e(692),null),this[e(682)](e(681),null),this[e(761)]=null,this[e(682)](e(475),null),this[e(682)](e(705),!1),this[e(682)](e(610),!0),this.on(e(563),((t,i,s)=>{const n=e;this[n(692)]=null,this[n(681)]=null,this[n(724)][n(592)][n(691)][n(527)]((t=>{const e=n;for(const i of this[e(724)][e(592)][e(691)][e(709)][e(634)])s?t[e(490)](e(543),i):t[e(462)](e(543),i)}))})),this[e(536)](e(694)).to(this,e(692),(t=>null!==t)),this[e(536)](e(710)).to(this,e(705),this,e(475),this,e(692),((t,i,s)=>t&&s?i[e(509)][e(526)](s):0)),this[e(536)](e(577)).to(this,e(705),this,e(475),((t,i)=>t?i[e(509)][e(561)]:0)),this[e(557)]=null,this[e(587)]=new Map,this[e(505)]=this[e(724)][e(567)][e(704)](_t.ContextualBalloon)}[re(745)](){const t=re,e=this[t(724)],i=new he(e,{direction:t(633)}),s=new he(e,{direction:t(671)});e[t(699)][t(528)](t(451),i),e[t(699)][t(528)](t(680),s),e[t(699)][t(528)](t(605),new le(e)),this.on(t(457),(()=>{const e=t;i[e(583)](),s[e(583)]()})),this[t(667)](),this[t(521)](),e[t(697)](t(706)),e[t(567)][t(615)](t(670))&&e[t(567)][t(704)](t(670))[t(574)](t(706))}async[re(608)](t){const e=re;return await this[e(754)][e(734)](t,this[e(581)]),this[e(754)][e(608)](t)}async[re(483)](t){const e=re;return await this[e(754)][e(734)](t,this[e(581)]),this[e(754)][e(483)](t)}async[re(466)](t,e,i=!1){const s=re;if(!this[s(610)])return;const n=this[s(475)],r=this[s(501)],o=s(677)==typeof t?r[s(449)](t):t,a=s(677)==typeof e?r[s(449)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(475)]&&this[s(475)][s(764)]===c&&this[s(475)][s(760)]===u)return Promise[s(638)]();this[s(705)]=!1,this[s(681)]=null,this[s(692)]=null,this[s(475)]=new ie(c,u);const l=this[s(518)](o,a,!0)[s(623)]((t=>this[s(754)][s(734)](t,this[s(581)])));return l[s(562)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(620)](l)[s(690)]((()=>{const t=s;if(!this[t(610)])return;this[t(647)]();const e=this[t(693)](c,u);for(const i of e[t(509)])this[t(587)][t(682)](i.id,i);this[t(724)][t(636)][t(618)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(724)][s(636)][s(709)][s(533)]())i[s(751)](t);for(const t of Object[s(762)](e[s(636)])){const n=i[s(510)](t);for(const r of Object[s(762)](e[s(639)][t]))i[s(717)](r,e[s(639)][t][r],n);i[s(616)](e[s(636)][t],n,0)}})),this[t(475)][t(758)](this[t(635)](e[t(509)])),this[t(705)]=!0}))[s(763)]((t=>{const e=s;console[e(679)](t),this[e(647)](),n&&(this[e(475)]=n),this[e(705)]=!0}))}[re(756)](t,e){const i=re,s=this[i(501)][i(552)](t);return s.on(i(546),((t,i,n)=>e(i,n,s))),this[i(501)][i(729)](s),s}[re(647)](){const t=re;this[t(692)]=null,this[t(487)](),this[t(557)]&&this[t(557)][t(614)](),this[t(557)]=null,this[t(587)][t(725)](),this[t(724)][t(636)][t(618)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(724)][i(636)][i(709)][i(533)]())e[i(751)](t)}))}[re(635)](t){const e=re,i=[],s=new Map;for(const t of this[e(724)][e(636)][e(709)][e(533)]()){const n=this[e(724)][e(592)][e(691)][e(683)](t);if(!n)continue;const r=n[e(719)]()[e(492)](0);r&&(i[e(562)](t),s[e(682)](t,r))}return i[e(500)](((t,i)=>{const n=e,r=s[n(704)](t),o=s[n(704)](i);return r.y-o.y||r.x-o.x})),(t=t[e(495)]((t=>i[e(648)](t[e(580)]))))[e(500)](((t,s)=>i[e(479)](t[e(580)])-i[e(479)](s[e(580)]))),t}[re(453)](t){const e=re,i=Array[e(529)](t[e(617)])[e(495)]((([t,i])=>t[e(740)](e(547))&&!i[e(669)])),s=Array[e(529)](this[e(724)][e(636)][e(588)](t)[e(493)]({singleCharacters:!0}));if(0!=i[e(561)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(566)](":");if(n[e(564)][e(469)](t[e(497)])&&i[e(586)](),(t[e(749)][e(469)](n[e(714)])||t[e(749)][e(606)](n[e(714)]))&&(e(603)==r?t[e(696)]={userId:o}:e(450)==r&&(t[e(538)]={userId:o})),0==i[e(561)])break}return s}[re(674)](t){const e=re,i=new Map;for(let s=0;s<t[e(561)];s++)e(519)===t[s][e(730)]?(t[s][e(492)][e(474)]=s,t[s][e(492)][e(645)]=s):(e(676)===t[s][e(730)]?t[s][e(492)][e(474)]=s:e(452)===t[s][e(730)]&&(t[s][e(492)][e(645)]=s),i[e(682)](t[s].id,s));for(const s of i[e(471)]())e(676)===t[s][e(730)]?t[s][e(492)][e(645)]=i[e(704)](t[s][e(736)]):e(452)===t[s][e(730)]&&(t[s][e(492)][e(474)]=i[e(704)](t[s][e(736)]))}[re(503)](t){const e=re;for(let i=0;i<t[e(561)];i++){if(e(676)===t[i][e(730)])t[i][e(492)][e(474)]=i;else if(e(452)===t[i][e(730)]){t[i][e(492)][e(645)]=i;const s=t[i][e(492)][e(474)];t[s][e(736)]=t[i].id,t[i][e(736)]=t[s].id}else t[i][e(492)][e(474)]=i,t[i][e(492)][e(645)]=i,t[i][e(736)]=null;t[i][e(698)]||(t[i][e(698)]=[],t[i][e(739)]=[])}}[re(604)](t,e){const i=re,s=t[i(495)]((t=>!t[i(696)]));for(let t=0;t<e[i(561)];t++)e[t][i(696)]&&(s[t][i(696)]=e[t][i(696)])}[re(693)](t,e=null){const i=re,s=this[i(501)][i(449)](t),n=e?this[i(501)][i(449)](e):null,r=this[i(518)](s,n),o=r[r[i(561)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(561)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(762)](e[i(769)]))if(e[i(769)][t][i(556)]){const s=e[i(769)][t][i(556)];s[i(771)]?(u[i(528)](t),l[i(615)](t)&&l[i(704)](t)[i(718)]==s[i(718)]?l[i(744)](t):l[i(682)](t,s)):l[i(615)](t)?(u[i(744)](t),l[i(744)](t)):(u[i(528)](t),l[i(682)](t,s))}else u[i(528)](t)}for(const t of u){const e=l[i(615)](t)&&!l[i(704)](t)[i(771)];let s=e?r[i(561)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(769)][t]){const s=e?o[i(769)][t][i(520)]:o[i(769)][t][i(454)];c[i(639)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(636)]={};for(const e of t[i(508)])a[i(682)](e.id,e);for(const e of u){const s=t[i(769)][e]?t[i(769)][e][i(478)]:"[]",n=t[i(769)][e]?t[i(769)][e][i(687)]:"[]";t[i(636)][e]={insertions:this[i(754)][i(642)](s),deletions:this[i(754)][i(642)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(529)](s[i(636)][t][i(478)][i(617)])[i(495)]((([t])=>!t[i(740)](i(547)))));let h=0;for(const o of r){const r=this[i(453)](o[i(636)][t][i(478)]);o==s?(e=r,n=e[i(561)],e[i(534)]((t=>{t.id=h++})),this[i(503)](e)):this[i(604)](e,r);const a=e[i(495)]((t=>!t[i(696)]))[i(623)]((t=>t.id));let c=0;const l=this[i(453)](o[i(636)][t][i(687)]);l[i(534)]((t=>{t[i(538)]?t.id=n++:t.id=a[c++]})),this[i(503)](l),this[i(522)](e,i(696)),this[i(522)](l,i(538)),o==s&&this[i(484)](e,u),e=this[i(464)](e,l),this[i(674)](e),this[i(522)](e,i(538))}e=e[i(495)]((t=>!(t[i(696)]&&t[i(538)])));const d=new Map(o[i(636)][t][i(687)][i(617)]),f=new Set(u[i(762)]());for(const t of d[i(762)]())f[i(744)](t);this[i(625)](e,f),this[i(722)](e),e=this[i(545)](e),e=this[i(626)](e),e=this[i(732)](e);const{root:m,changes:p}=this[i(472)](e,a,t);c[i(636)][t]=m;const v=l[i(704)](t);if(v){const e=a[i(704)](v[i(718)]),s=new Xt({author:e,type:v[i(771)]?i(528):i(558),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(651)](s),c[i(639)][t][i(646)]=s.id}c[i(509)]=c[i(509)][i(621)](p)}return c}[re(484)](t,e){const i=re;for(let s=0;s<t[i(561)];s++)for(const[n,r]of e)!r[i(669)]&&r[i(714)][i(469)](t[s][i(749)])&&t[s][i(698)][i(562)](n),r[i(564)][i(469)](t[s][i(497)])&&t[s][i(739)][i(562)](n)}[re(464)](t,e){const i=re;let s=[],n=0,r=0;for(;n<t[i(561)]||r<e[i(561)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(562)](o);else if(a[i(538)]&&o[i(696)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(579)](t,n,e,r);s=s[i(621)](o),n=a,r=c}else a[i(538)]?(r++,s[i(562)](a)):(n++,s[i(562)](o))}return s}[re(625)](t,e){const i=re,s=[];for(let o=0;o<t[i(561)];o++){for(let r=0;r<t[o][i(698)][i(561)];r++){const a=t[o][i(698)][r];if(!e[i(615)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(541)!=c||i(603)!=u&&i(450)!=u||(s[i(651)]({type:u,name:a,userId:l}),t[o][i(698)][i(481)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(739)][i(561)];r++){const a=t[o][i(739)][r];if(!e[i(615)](a))continue;const{group:c,type:u}=n(a);if(i(541)!=c||i(603)!=u&&i(450)!=u)continue;t[o][i(739)][i(481)](r,1),r--;const l=s[i(515)]((t=>t[i(663)]==a));l>-1&&s[i(481)](l,1)}}function n(t){const e=i,s=t[e(566)](":");return{group:s[0],type:s[1],subType:s[e(561)]>=5?s[2]:null,id:s[e(561)]<5?s[2]:s[3],authorId:s[e(561)]<5?s[3]:s[4],markerCount:6==s[e(561)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(561)];i++){if(t[e(696)]&&e(603)==s[i][e(730)]&&t[e(696)][e(718)]==s[i][e(718)])return t[e(737)]=s[i],void delete t[e(696)];if(!t[e(696)]&&!t[e(538)]&&e(450)==s[i][e(730)])return void(t[e(456)]=s[i])}}}[re(522)](t,e){const i=re;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(682)](o.id,s);for(let s=0;s<t[i(561)];s++){if(i(538)==e&&t[s][i(696)]||i(696)==e&&t[s][i(538)])continue;if(i(519)==t[s][i(730)]){t[s][i(684)]=0;continue}const n=r[i(704)](t[s][i(736)]),o=r[i(704)](t[s].id);t[s][i(684)]=n-o}}[re(518)](t,e,i=!1){const s=re,n=[];let r=this[s(501)][s(526)](t),o=this[s(501)][s(526)](e);for(-1==o&&(o=this[s(501)][s(624)][s(561)],i=!1);r<o;)n[s(562)](this[s(501)][s(449)](r)),r++;return i&&n[s(562)](this[s(501)][s(449)](r)),n}[re(579)](t,e,i,s){const n=re,r=this[n(724)][n(636)][n(486)];let o=e;for(;t[o]&&t[o][n(696)];)o++;let a=s;for(;i[a]&&i[a][n(538)];)a++;u(t,e,o),u(i,s,a);const c=i[n(649)](s,a)[n(621)](t[n(649)](e,o));return c[n(500)](((t,e)=>t[n(752)]!=e[n(752)]?t[n(752)]-e[n(752)]:t[n(594)]!=e[n(594)]?t[n(594)]-e[n(594)]:t[n(684)]!=e[n(684)]?e[n(684)]-t[n(684)]:!!t[n(696)]!=!!e[n(696)]?-1==t[n(752)]||0==t[n(752)]?t[n(696)]?-1:1:t[n(696)]?1:-1:t[n(716)]-e[n(716)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(555)],c=!0;for(let n=e;n<i;n++)if(r[s(712)](t[n][s(492)])||(c=!1),t[n][s(492)][s(474)]<e&&(o=n),t[n][s(492)][s(645)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(752)]=n<=o?-1:n<a?0:1,t[n][s(716)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(684)]?t[i][s(594)]=u:(u++,t[i][s(594)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(752)]&&(t[n][s(594)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(684)]?t[e][s(594)]=u:(u--,t[e][s(594)]=u,u--)}}[re(722)](t){const e=re,i=new Map,s=this[e(724)][e(636)][e(486)];for(let n=1;n<t[e(561)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(519)==c[e(730)])continue;if(c[e(730)]!=u[e(730)])continue;if(!s[e(499)](u[e(492)])||s[e(542)](u[e(492)]))continue;if(!s[e(499)](c[e(492)])||s[e(542)](c[e(492)]))continue;if((t[n][e(696)]||t[n][e(737)])&&t[n-1][e(538)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(538)]||!t[n-1][e(696)]&&!t[n-1][e(737)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(594)]==o[e(594)],h=Math[e(750)](r[e(594)])<Math[e(750)](o[e(594)])&&0==o[e(684)];(l||h)&&(i[e(682)](o.id,r.id),t[e(481)](a,1),n--,r[e(696)]=!1)}for(let s=0;s<t[e(561)];s++)i[e(615)](t[s][e(736)])&&(t[s][e(736)]=i[e(704)](t[s][e(736)]))}[re(545)](t){const e=re,i=new Set(t[e(623)]((t=>t.id)));for(let s=0;s<t[e(561)];s++)i[e(615)](t[s][e(736)])||0==t[s][e(684)]||(t[s][e(619)]=!0);return t[e(495)]((t=>!t[e(619)]))}[re(626)](t){const e=re,i=new Set;for(let s=0;s<t[e(561)];s++){if(i[e(615)](t[s].id)&&t[s][e(538)]&&(t[s][e(619)]=!0),t[s][e(619)])continue;if(0==t[s][e(684)])continue;if(e(676)!=t[s][e(730)])continue;if(null==t[s][e(736)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(736)];)e(676)==t[n][e(730)]?r++:e(452)==t[n][e(730)]&&r--,n++;if(0!=r)if(t[s][e(538)])t[s][e(619)]=!0;else for(;n!=s;)t[n][e(538)]&&0!=t[n][e(684)]&&(t[n][e(619)]=!0,i[e(528)](t[n][e(736)])),n--}return t[e(495)]((t=>!t[e(619)]))}[re(732)](t){const e=re,i=this[e(724)][e(636)][e(486)];for(let s=0;s<t[e(561)];s++){if(!(t[s][e(696)]||t[s][e(737)]||t[s][e(538)]||t[s][e(456)]))continue;if(0==t[s][e(684)])continue;const n=t[s][e(492)];i[e(499)](n)||i[e(542)](n)||(t[s][e(696)]&&delete t[s][e(696)],t[s][e(737)]&&delete t[s][e(737)],t[s][e(456)]&&delete t[s][e(456)],t[s][e(538)]&&(t[s][e(619)]=!0))}return t[e(495)]((t=>!t[e(619)]))}[re(472)](t,e,i){const s=re,n=new K.ModelDocumentFragment,r=[],o=new Map,a=this[s(724)][s(636)],c=a[s(486)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(561)];e++)if(s(676)===t[e][s(730)]){t[e][s(749)]=a[s(578)](n,f);const i=new K.ModelElement(t[e][s(492)][s(663)],t[e][s(492)][s(666)]());u[0][s(689)](i),f[s(562)](0),u[s(651)](i),t[e][s(497)]=a[s(578)](n,f)}else s(452)===t[e][s(730)]?(u[s(586)](),t[e][s(749)]=a[s(578)](n,f),f[s(703)](),f[f[s(561)]-1]++,t[e][s(497)]=a[s(578)](n,f)):(t[e][s(749)]=a[s(578)](n,f),d?d[s(473)]+=t[e][s(492)][s(685)]:d=new K.ModelText(t[e][s(492)][s(685)],t[e][s(492)][s(666)]()),t[e+1]&&s(519)===t[e+1][s(730)]&&v(d,t[e+1][s(492)])||(u[0][s(689)](d),d=null),f[f[s(561)]-1]+=t[e][s(492)][s(524)],t[e][s(497)]=a[s(578)](n,f));for(let e=0;e<t[s(561)];e++){const i=t[e][s(749)],n=t[e][s(497)];for(const n of t[e][s(698)])o[s(682)](n,{start:i,end:null});m(s(456),e,i,n),m(s(737),e,i,n),m(s(538),e,i,n),m(s(696),e,i,n);for(const i of t[e][s(739)]){const t=o[s(704)](i);t?t[s(564)]=n:o[s(682)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(724)][s(636)][s(602)](e[s(714)],e[s(564)]);n[s(617)][s(682)](t,i)}return r[s(500)](((t,e)=>{const i=s,r=n[i(617)][i(704)](i(547)+t.id),o=n[i(617)][i(704)](i(547)+e.id);return r[i(714)][i(723)](o[i(714)])?-1:r[i(714)][i(606)](o[i(714)])?1:r[i(564)][i(723)](o[i(564)])?-1:r[i(564)][i(606)](o[i(564)])?1:i(528)===t[i(730)]?-1:1})),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(718)]:null,d=i===t[o(561)]-1,f=h[e][0],m=c[o(713)](t[i][o(492)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(564)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(718)]!==u&&(l[e][o(564)]=n,f&&f[o(718)]===l[e][o(718)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(676)!==t[i][o(730)]||f&&f[o(718)]===u||h[e][o(651)]({userId:u,object:t[i][o(492)],change:l[e]}),o(452)===t[i][o(730)]&&f&&f[o(544)]===t[i][o(492)]&&(h[e][o(586)](),l[e]=f[o(527)])),l[e]&&d&&(l[e][o(564)]=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(492)],f=a[h(486)][h(499)](d)&&!a[h(486)][h(542)](d),m=t[h(600)]==o[h(572)]&&o[h(496)];if(f&&m)return;const p=a[h(602)](t,o),v=e[h(704)](u),g=new Xt({author:v,type:h(696)==l||h(737)==l?h(528):h(558),data:{isSuggestion:h(737)==l||h(456)==l},createdAt:new Date,rootName:i});r[h(562)](g),n[h(617)][h(682)](h(547)+g.id,p)}function v(t,e){const i=s,n=t[i(666)](),r=e[i(666)]();for(const t of n){if(t[1]!==e[i(622)](t[0]))return!1;r[i(540)]()}return r[i(540)]()[i(748)]}}[re(667)](){const t=re;this[t(724)][t(653)][t(613)](t(753))[t(553)]({view:t(523)}),this[t(724)][t(653)][t(613)](t(715))[t(531)]({model:t(523),view:e=>{const i=t,s=e[i(720)][i(566)](":")[1],n=this[i(477)](s);if(!n)return null;const r=i(528)==n[i(730)]?i(603):i(450),o=[i(514),i(773)+r];return n[i(685)][i(459)]&&o[i(562)](i(773)+r+i(498)),this[i(692)]==n&&o[i(562)](i(525)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(724)][t(653)][t(613)](t(753))[t(528)]((e=>{const i=t;e.on(i(570),((t,e,s)=>{const n=i,r=e[n(757)][n(665)](0);if(!r||!r.is(n(707),n(768)))return;if(!s[n(632)][n(447)](r,{attributes:[n(733),n(738)]}))return;const o=e[n(488)][n(714)][n(600)];s[n(641)][n(717)](n(733),r[n(622)](n(733)),o),s[n(641)][n(717)](n(738),r[n(622)](n(738)),o)}),{priority:i(650)})})),this[t(724)][t(653)][t(613)](t(753))[t(528)]((e=>{const i=t;e.on(i(707),((t,e,s)=>{const n=i;if(!s[n(632)][n(447)](e[n(757)],{attributes:[n(733),n(738)]}))return;if(e[n(488)][n(669)])return;const r=e[n(488)][n(714)][n(600)];r[n(537)](n(733))||r[n(537)](n(576))||(s[n(641)][n(717)](n(733),e[n(757)][n(622)](n(733)),r),s[n(641)][n(717)](n(738),e[n(757)][n(622)](n(738)),r))}),{priority:i(650)})})),this[t(724)][t(653)][t(613)](t(753))[t(611)]({view:{name:t(664),attributes:{vid:!0}},model:{key:t(576),value:e=>e[t(622)](t(576))}}),this[t(724)][t(636)][t(486)].on(t(504),((e,[,i])=>{const s=t;[s(733),s(738),s(576)][s(648)](i)&&(e[s(607)]=!0,e[s(742)]())}),{priority:t(658)}),this[t(724)][t(653)][t(613)](t(535))[t(528)]((e=>{const i=t;e.on(i(517),((t,e,s)=>{const n=i;if(" "!=e[n(492)][n(685)]||e[n(492)][n(572)][n(657)]>1)return;if(!s[n(632)][n(447)](e[n(492)],t[n(663)]))return;const r=s[n(641)],o=s[n(465)][n(485)](e[n(595)]);r[n(468)](o,r[n(598)](n(664)))}))})),this[t(724)][t(653)][t(613)](t(535))[t(539)]({model:t(523)}),this[t(724)][t(592)][t(686)].on(t(548),function(e){const i=t,s=e[i(567)][i(704)](i(628));return(t,n,r)=>{const o=i,a=n[o(720)][o(566)](":")[1],c=s[o(477)](a);if(!c)return null;const u=o(528)==c[o(730)]?o(566):o(569);if(!r[o(632)][o(652)](n[o(702)],t[o(663)]))return;const l=n[o(702)][o(493)](),h=n[o(702)][o(714)],d=e[o(636)][o(486)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(492)];p=p||d[o(708)](e);const i=r[o(465)][o(643)](e);if(i&&i[o(743)](o(726)))return;o(452)==t[o(730)]&&d[o(499)](e)&&!d[o(542)](e)&&(e[o(559)]||h[o(461)]?f&&f[o(572)]==e||(f=e,g(t[o(749)]),v=!0):m=m||t[o(749)])}function g(t){const e=o,i=r[e(641)][e(728)](e(664),{class:e(773)+u}),a=r[e(465)][e(554)](t);c[e(685)][e(459)]&&r[e(641)][e(462)](e(773)+u+e(498),i),s[e(692)]==c&&r[e(641)][e(462)](e(525),i),r[e(641)][e(616)](a,i),r[e(465)][e(470)](i,n[e(720)])}p||v||!m||g(m)}}(this[t(724)]),{priority:t(770)}),this[t(724)][t(592)][t(686)].on(t(630),((e,i,s)=>{const n=t,r=s[n(465)][n(511)](i[n(720)]);if(r)for(const t of r)(t[n(516)](n(727))||t[n(516)](n(467)))&&(s[n(465)][n(550)](t,i[n(720)]),s[n(641)][n(558)](t))}),{priority:t(770)}),this[t(724)][t(592)][t(686)].on(t(548),((e,i,s)=>{const n=t,r=i[n(720)][n(566)](":")[1],o=this[n(477)](r);if(!o)return null;const a=n(528)==o[n(730)]?n(566):n(569);if(s[n(632)][n(652)](i[n(702)],e[n(663)]))for(const t of i[n(702)][n(678)]()){if(!t.is(n(707),n(476)))continue;const e=s[n(641)][n(728)](n(664),{class:n(773)+a}),r=s[n(465)][n(554)](this[n(724)][n(636)][n(766)](t));o[n(685)][n(459)]&&s[n(641)][n(462)](n(773)+a+n(498),e),this[n(692)]==o&&s[n(641)][n(462)](n(525),e),s[n(641)][n(616)](r,e),s[n(465)][n(470)](e,i[n(720)])}}),{priority:t(770)}),this[t(724)][t(636)][t(709)].on(t(527),(()=>{const e=t;this[e(724)][e(592)][e(691)][e(527)]((t=>{const i=e;for(const e of this[i(724)][i(636)][i(709)][i(533)]()){const s=this[i(724)][i(636)][i(709)][i(491)](e),n=this[i(724)][i(592)][i(691)][i(709)][i(491)](e);if(n){const e=s[i(622)](i(646));if(t[i(772)](i(688),n),t[i(490)](i(656),n),t[i(490)](i(655),n),t[i(490)](i(755),n),e){const s=this[i(477)](e);if(!s)return null;t[i(717)](i(688),e,n),t[i(462)](i(659)+s[i(730)],n),this[i(692)]==s&&t[i(462)](i(755),n)}}}}))})),this[t(724)][t(653)][t(613)](t(753))[t(553)]({view:t(584),model:e=>t(746)+e,converterPriority:t(658)}),this[t(724)][t(653)][t(613)](t(753))[t(553)]({view:t(661),model:e=>t(455)+e,converterPriority:t(658)}),this[t(724)][t(653)][t(613)](t(535))[t(539)]({model:t(541),view:e=>({name:t(494)+e,group:t(541)}),converterPriority:t(658)}),this[t(724)][t(653)][t(613)](t(715))[t(531)]({model:t(541),view:e=>{const i=t,s=e[i(720)][i(566)](":")[1];return i(603)!=s&&i(450)!=s?null:{classes:[i(597),i(701)+s]}}}),this[t(724)][t(592)][t(686)].on(t(502),ce(this[t(724)],t(569)),{priority:t(770)}),this[t(724)][t(592)][t(686)].on(t(532),ce(this[t(724)],t(566)),{priority:t(770)}),this[t(724)][t(592)][t(686)].on(t(590),((e,i,s)=>{const n=t,r=s[n(465)][n(511)](i[n(720)]);if(r)for(const t of r)t.is(n(571))&&(s[n(465)][n(550)](t,i[n(720)]),s[n(641)][n(558)](t))}),{priority:t(770)})}[re(477)](t){const e=re;return this[e(587)][e(704)](t)}[re(637)](t){const e=re;return this[e(557)]&&this[e(557)][e(614)](),this[e(557)]=new Yt(this[e(724)][e(711)],t),this[e(557)]}[re(521)](){const t=re;this[t(724)][t(636)][t(709)][t(721)][t(759)](t(523)),this.on(t(695),((e,i,s,n)=>{const r=t;n&&this[r(505)][r(558)](n),s&&(this[r(505)][r(528)]({view:s,stackId:r(747),position:{target:()=>{const t=r,e=this[t(724)][t(592)],i=this[t(477)](s[t(609)]);let n;if(i[t(685)][t(593)]){const s=e[t(691)][t(683)](i[t(580)]);n=Array[t(529)](s[t(719)]())}else{const i=this[t(724)][t(636)][t(617)][t(704)](t(547)+s[t(609)]);n=Array[t(529)](e[t(465)][t(511)](i[t(663)]))[t(623)]((i=>e[t(691)][t(507)][t(506)](i)))[t(623)]((e=>Array[t(529)](e[t(719)]())))[t(700)]()}return this[t(761)]&&n[t(549)]((e=>e[t(640)]-3<=this[t(761)].y&&e[t(660)]+3>=this[t(761)].y&&e[t(513)]-3<=this[t(761)].x&&e[t(530)]+3>=this[t(761)].x))||n[0]}}}),this[r(505)][r(591)](r(747)))})),this.on(t(629),((e,i,s,n)=>{const r=t;this[r(681)]=s?this[r(637)](s):null,this[r(724)][r(636)][r(527)]((()=>{const t=r,e=this[t(724)][t(592)];n&&(n[t(685)][t(593)]?e[t(691)][t(527)]((i=>{const s=t;i[s(490)](s(755),e[s(691)][s(709)][s(491)](n[s(580)]))})):e[t(512)](t(547)+n.id)),s&&(s[t(685)][t(593)]?e[t(691)][t(527)]((i=>{const n=t;i[n(462)](n(755),e[n(691)][n(709)][n(491)](s[n(580)]))})):e[t(512)](t(547)+s.id))}))})),this[t(765)](this[t(724)][t(592)][t(691)][t(709)],t(458),((e,i)=>{const s=t;if(this[s(692)])return;const n=this[s(482)](i[s(631)]),r=this[s(587)][s(704)](n);r?(this[s(761)]={x:i[s(601)].x,y:i[s(601)].y},this[s(681)]=this[s(637)](r)):(this[s(761)]=null,this[s(681)]=null)})),this[t(765)](this[t(724)][t(592)][t(691)][t(709)],t(582),((e,i)=>{const s=t,n=this[s(482)](i[s(631)]),r=this[s(587)][s(704)](n);r?(this[s(761)]={x:i[s(601)].x,y:i[s(601)].y},r===this[s(692)]?this[s(505)][s(560)]():this[s(692)]=r):(this[s(761)]=null,this[s(692)]=null)}))}[re(482)](t){const e=re;do{const i=t[e(622)](e(688));if(i)return i;t=t[e(572)]}while(t);return null}[re(487)](){const t=re;this[t(724)][t(636)][t(527)]((e=>{const i=t;for(const t of this[i(724)][i(636)][i(617)])e[i(599)](t)}))}}function ce(t,e){return(i,s,n)=>{const r=oe;if(!n[r(632)][r(652)](s[r(702)],i[r(663)]))return;const o=s[r(702)][r(493)](),a=s[r(702)][r(714)],c=t[r(636)][r(486)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(492)];h=h||c[r(708)](e);const i=n[r(465)][r(643)](e);if(i&&i[r(743)](r(726)))return;r(452)==t[r(730)]&&c[r(499)](e)&&!c[r(542)](e)&&(e[r(559)]||a[r(461)]?u&&u[r(572)]==e||(u=e,f(t[r(749)]),d=!0):l=l||t[r(749)])}function f(t){const i=r,o=n[i(465)][i(554)](t),a=n[i(641)][i(728)](i(664),{class:i(701)+e});n[i(641)][i(616)](o,a),n[i(465)][i(470)](a,s[i(720)])}h||d||!l||f(l)}}function ue(){const t=["test","conversion","requires","ck-revision-history-root-remove","ck-revision-history-root-add","maxOffset","highest","ck-revision-history-root-","bottom","suggestion","21kybPnt","name","span","getChild","getAttributes","_setConversion","isPremiumPlugin","isCollapsed","WidgetToolbarRepository","forward","execute","RevisionsRepository","_refreshStartEndIndex","188zEXdSw","elementStart","string","getItems","error","showNextChange","activeView","set","getDomRoot","distance","data","downcastDispatcher","deletions","data-change-id","_appendChild","then","view","activeChange","_getDiff","isNavigationMode","change:activeView","isAdded","enableReadOnlyMode","markersStart","commands","flat","ck-suggestion-preview-marker-","markerRange","pop","get","isReady","revision-viewer","element","isContent","document","currentChangeNumber","locale","isInline","isObject","start","editingDowncast","index","setAttribute","userId","getClientRects","markerName","selection","_fixObsoleteTags","isBefore","editor","clear","addHighlight","ck-suggestion-marker-split","createUIElement","addRevision","type","revisionHistory","_removeUnsupportedChanges","vid_start","loadRevisionData","restoreRevisionCallback","pairId","isAddSuggestion","vid_end","markersEnd","startsWith","118798hGyFgh","stop","getCustomProperty","delete","init","revision-comment:","revisionHistoryLabel","done","previousPosition","abs","detachRoot","side","upcast","_utils","ck-revision-history-root--active","addRevisionData","viewItem","_setChanges","observeMarkers","oldRevisionId","_activeViewTarget","keys","catch","newRevisionId","listenTo","createPositionBefore","affectsData","code","diffData","high","isAttached","removeAttribute","ck-suggestion-marker-","consume","change:isReady","getRevision","deletion","showPreviousChange","elementEnd","_makeTape","attributesAfter","revision-suggestion:","isRemoveSuggestion","change:numberOfChanges","mouseover","isSuggestion","pluginName","isAtEnd","addClass","2943fCJxxM","_joinTapes","mapper","compare","ck-suggestion-marker-merge","wrap","isEqual","bindElementToMarker","values","_makeModelFromTape","_data","startIndex","diff","softBreak","_getChangeFromId","insertions","indexOf","6974410CxwPVk","splice","_findChangeIdFromDomTarget","getRevisionRootsAttributes","_markMarkers","toViewRange","schema","_cleanMarkers","modelRange","744IhQMmR","removeClass","getRoot","item","getWalker","suggestion:","filter","isAtStart","nextPosition","-new","isBlock","sort","repository","addMarker:revision-suggestion:deletion","_processTape","checkAttribute","_balloon","mapViewToDom","domConverter","authors","changes","addRoot","markerNameToElements","reconvertMarker","left","ck-suggestion-marker","findIndex","hasClass","attribute:vid","_getRevisionsRange","text","attributesBefore","_initInteractions","_setDistance","revision","offsetSize","ck-suggestion-marker--active","getIndex","change","add","from","right","markerToHighlight","addMarker:revision-suggestion:insertion","getRootNames","forEach","dataDowncast","bind","hasAttribute","isRemoved","markerToData","next","revision-suggestion","isLimit","ck-editor__editable__overlay","object","_removeMissingPairs","_update","revision:","addMarker:revision","find","unbindElementFromMarkerName","getLaterVisibleRevision","createRevision","dataToMarker","toViewPosition","POSITIVE_INFINITY","attachChange","_changeView","remove","nextSibling","updatePosition","length","push","change:isEnabled","end","RevisionHistoryUtils","split","plugins","config","merge","element:pre","uiElement","parent","_step","forceDisabled","495292rBhsOH","vid","numberOfChanges","createPositionFromPath","_threeWayMerge","rootName","adapter","mousedown","refresh","comment","first","shift","_changeIdToChange","createRangeIn","isOfficialPlugin","removeMarker:revision-suggestion","showStack","editing","isOnRoot","level","range","1711941dWbZSx","ck-suggestion-preview-marker","createAttributeElement","removeMarker","nodeAfter","domEvent","createRange","insertion","_markInsertions","restoreRevision","isAfter","return","getRevisionDocumentData","changeId","isEnabled","elementToAttribute","32140nqARjG","for","destroy","has","insert","markers","enqueueChange","isIncorrect","all","concat","getAttribute","map","_revisions","_markSuggestions","_markMismatchedRemovedTags","68236ajbvAa","RevisionViewer","change:activeChange","removeMarker:revision","target","consumable","backward","roots","_sortAndFilterDiffChanges","model","_getViewForChange","resolve","attributes","top","writer","_makeModelFromViewString","toViewElement","840ZqYCON","endIndex","revisionHistoryAttachChange","_cleanUp","includes","slice","low","unshift"];return(ue=function(){return t})()}class le extends J.Command{constructor(t){const e=re;super(t);const i=t[e(567)][e(704)](ae);this[e(767)]=!1,this[e(765)](i,e(448),(()=>this[e(583)]())),this[e(765)](i,e(563),(()=>this[e(583)]()))}[re(672)](){const t=re,e=this[t(724)],i=e[t(567)][t(704)](ae),s=i[t(705)]?i[t(475)][t(764)]:null;e[t(568)][t(704)](t(731))[t(735)](s)}[re(583)](){const t=re,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(724)][t(567)][t(704)](ae),r=n&&s[t(551)](n[t(764)]);this[t(610)]=e&&i&&Boolean(r)}}class he extends J.Command{[re(573)];constructor(t,{direction:e}){const i=re;super(t);const s=t[i(567)][i(704)](ae);this[i(767)]=!1,this[i(573)]=i(671)===e?1:-1,this[i(765)](s,i(448),(()=>this[i(583)]())),this[i(765)](s,i(563),(()=>this[i(583)]())),this[i(765)](s,i(629),(()=>this[i(583)]()))}[re(672)](){const e=re,i=this[e(724)],s=i[e(567)][e(704)](ae),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(692)]=n?s[e(475)][e(509)][e(704)](r+this[e(573)]):s[e(475)][e(509)][e(585)],s[e(692)][e(685)][e(593)])o=i[e(592)][e(691)][e(683)](s[e(692)][e(580)]);else{const t=i[e(636)][e(617)][e(704)](e(547)+s[e(692)].id);o=(0,G.getMarkerDomElement)(i[e(592)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(583)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(724)][t(567)][t(704)](ae);this[t(610)]=!!(r&&n&&s)&&(!e||(1===this[t(573)]?i<s-1:i>0))}}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=At(),fe.insert=Nt().bind(null,"head"),fe.domAPI=xt(),fe.insertStyleElement=Dt();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(t,e){const i=pe();return(me=function(t,e){return i[t-=497]})(t,e)}function pe(){const t=["148514DjPkOP","bindTemplate","2370RrDgqn","ck-revision-history-ui__changes-navigation__wrapper","_isStatusLabelVisible","setTemplate","1uHcHpw","ck-revision-history-ui","Loading...","currentChangeNumber","ck-hidden","NUMBER_OF_CHANGES","numberOfChanges","Show next change","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation","EDIT_X_OF_Y_REVISIONS","div","X_OF_Y_CHANGES","5305IqDxTT","backward","bind","2440074QcIIVu","_statusText","forward","set","ck-revision-history-ui__changes-navigation__label","execute","fire","isNavigationMode","span","Show previous change","Total","isEnabled","1079325sIlPSu","isReady","508983HKHext","1448068RKpbiN","2207952EsDUfW","isForwardNavigationEnabled","No changes","ck-revision-history-ui__changes-navigation__navigation"];return(pe=function(){return t})()}!function(t){const e=me,i=t();for(;;)try{if(280529===-parseInt(e(508))/1*(-parseInt(e(502))/2)+parseInt(e(538))/3+parseInt(e(497))/4+parseInt(e(521))/5*(parseInt(e(504))/6)+-parseInt(e(524))/7+-parseInt(e(498))/8+-parseInt(e(536))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ve extends _t.View{constructor(t){const e=me;super(t);const i=this[e(503)],s=new _t.ButtonView(t),n=new _t.ButtonView(t);this[e(527)](e(531),!1),this[e(527)](e(537),!1),this[e(527)](e(511),0),this[e(527)](e(514),0),this[e(527)](e(499),!1),this[e(527)](e(516),!1),this[e(523)](e(506)).to(this,e(537),this,e(514),((t,e)=>t&&e>0)),this[e(523)](e(525)).to(this,e(537),this,e(511),this,e(514),this,e(531),((i,s,n,r)=>{const o=e;if(!i)return ot(t,o(510));if(!n)return ot(t,o(500));const a=ot(t,o(513),n);return r?ot(t,o(520),[s+1,n]):a})),s[e(527)]({label:ot(t,e(533)),tooltip:!0,icon:wt.IconChevronUp}),n[e(527)]({label:ot(t,e(515)),tooltip:!0,icon:wt.IconChevronDown}),s[e(523)](e(535)).to(this,e(516)),n[e(523)](e(535)).to(this,e(499)),s.on(e(529),(()=>this[e(530)](e(529),e(522)))),n.on(e(529),(()=>this[e(530)](e(529),e(526)))),this[e(507)]({tag:e(519),attributes:{class:["ck",e(509),e(517)]},children:[{tag:e(532),attributes:{class:[e(505)]},children:[{tag:e(532),attributes:{class:[e(528),i.if(e(506),e(512),(t=>!t))]},children:[{text:i.to(e(531),(i=>i?ot(t,e(518))+": ":ot(t,e(534))+": "))}]},{text:i.to(e(525))}]},new _t.ToolbarSeparatorView,{tag:e(519),attributes:{class:[e(501)]},children:[s,n]}]})}}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=At(),ye.insert=Nt().bind(null,"head"),ye.domAPI=xt(),ye.insertStyleElement=Dt();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;const ke=we;!function(t){const e=we,i=t();for(;;)try{if(246066===-parseInt(e(325))/1+parseInt(e(333))/2*(-parseInt(e(319))/3)+parseInt(e(339))/4+-parseInt(e(316))/5*(parseInt(e(338))/6)+parseInt(e(334))/7*(-parseInt(e(330))/8)+parseInt(e(318))/9+parseInt(e(328))/10*(parseInt(e(335))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const be=ke(321);function we(t,e){const i=_e();return(we=function(t,e){return i[t-=314]})(t,e)}function _e(){const t=["12pAdtEC","370256FQKpNI","addClass","RevisionViewerLoadingOverlay","977555UhkIDw","removeClass","1202427enTrEH","174081zUnKts","show","ck-editor__editable__loading-overlay","document","pluginName","editor","442256WOlxHL","view","hide","20lXORzS","isPremiumPlugin","72PbVUux","roots","isOfficialPlugin","2RczEMl","65450tpjJlW","5474447mXECQd","editing","change"];return(_e=function(){return t})()}class Ie extends J.Plugin{static get[ke(323)](){return ke(315)}static get[ke(332)](){return!0}static get[ke(329)](){return!0}[ke(320)](){const t=ke,e=this[t(324)][t(336)][t(326)];e[t(337)]((i=>{const s=t;for(const t of e[s(322)][s(331)])i[s(314)](be,t)}))}[ke(327)](){const t=ke,e=this[t(324)][t(336)][t(326)];e[t(337)]((i=>{const s=t;for(const t of e[s(322)][s(331)])i[s(317)](be,t)}))}}const Se=Oe;function Oe(t,e){const i=xe();return(Oe=function(t,e){return i[t-=332]})(t,e)}function xe(){const t=["isForwardNavigationEnabled","isOfficialPlugin","revisionHistory","96216QzWGhZ","isPremiumPlugin","forward","closeRevisionViewerCallback","isEnabled","4162362mKDHOm","Back to editing","2563nalULt","showNextChange","init","isNavigationMode","hide","showPreviousChange","exitToEditing","execute","isBackwardNavigationEnabled","get","2OZNgjv","change:isReady","requires","plugins","102dICRhC","changesNavigation","177685WmLUHB","7933329iariIz","bind","309775XulGoC","componentFactory","Restore this revision","editor","config","currentChangeNumber","numberOfChanges","ck-revision-history-ui__back-to-editing","add","commands","11949000FSPMeZ","listenTo","16WiClOy","isReady","set","10pPXZqC","RevisionViewerUI","pluginName","restoreRevision","show","374486XJZYRJ"];return(xe=function(){return t})()}!function(t){const e=Oe,i=t();for(;;)try{if(817273===-parseInt(e(366))/1+-parseInt(e(357))/2*(-parseInt(e(345))/3)+parseInt(e(378))/4*(parseInt(e(363))/5)+parseInt(e(361))/6*(-parseInt(e(336))/7)+parseInt(e(376))/8+-parseInt(e(364))/9*(-parseInt(e(381))/10)+-parseInt(e(347))/11*(parseInt(e(340))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Te extends J.Plugin{static get[Se(333)](){return Se(332)}static get[Se(338)](){return!0}static get[Se(341)](){return!0}static get[Se(359)](){return[ae,Ie]}[Se(349)](){const t=Se,e=this[t(369)],i=e[t(360)][t(356)](ae),s=e[t(360)][t(356)](Ie);e.ui[t(367)][t(374)](t(353),(i=>{const s=t,n=new _t.ButtonView(i);return n[s(380)]({label:ot(i,s(346)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:s(373)}),this[s(377)](n,s(354),(()=>{const t=s;e[t(370)][t(356)](t(339))[t(343)]()})),n})),e.ui[t(367)][t(374)](t(334),(i=>{const s=t,n=new _t.ButtonView(i);return n[s(380)]({label:ot(i,s(368)),withText:!0,tooltip:!0}),n[s(365)](s(344)).to(e[s(375)][s(356)](s(334))),this[s(377)](n,s(354),(()=>e[s(354)](s(334)))),n})),e.ui[t(367)][t(374)](t(362),(s=>{const n=t,r=new ve(s),o=e[n(375)][n(356)](n(352)),a=e[n(375)][n(356)](n(348));return r[n(365)](n(355)).to(o,n(344)),r[n(365)](n(337)).to(a,n(344)),r[n(365)](n(379),n(371),n(372),n(350)).to(i),this[n(377)](r,n(354),((t,i)=>{const s=n;e[s(354)](s(342)===i?s(348):s(352))})),r})),s[t(335)](),i.on(t(358),((e,i,n)=>{const r=t;n?s[r(351)]():s[r(335)]()}))}}var Ne=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=At(),Re.insert=Nt().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();St()(Ne.A,Re);Ne.A&&Ne.A.locals&&Ne.A.locals;function Ae(t,e){const i=De();return(Ae=function(t,e){return i[t-=229]})(t,e)}const Me=Ae;function De(){const t=["render","bindTemplate","clientWidth","5558859qMLRYg","destroy","1002743EfKOdf","extendTemplate","11TFRmbP","18svvYZN","set","fieldView","74390FdxhXh","9964QCsRXm","322936tnEnTr","scrollWidth","value","element","input","Revision name","1459524ZualJx","listenTo","_tooltipString","95RUzWsf","ck-revision-history-sidebar__revision-name","span","_resizeObserver","5ByZpkx","Enter the revision name","_updateTooltipText","placeholder","ck-tooltip_multi-line","474532QCyyFz"];return(De=function(){return t})()}!function(t){const e=Ae,i=t();for(;;)try{if(341125===-parseInt(e(241))/1*(-parseInt(e(231))/2)+-parseInt(e(238))/3+-parseInt(e(250))/4*(-parseInt(e(245))/5)+-parseInt(e(259))/6*(parseInt(e(256))/7)+parseInt(e(232))/8+parseInt(e(254))/9+parseInt(e(230))/10*(parseInt(e(258))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends _t.LabeledFieldView{[Me(244)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(252)];this[i(260)]({label:ot(t,i(237)),_tooltipString:""}),this[i(229)][i(248)]=ot(t,i(246)),this[i(257)]({tag:i(243),attributes:{class:[i(242)],"data-cke-tooltip-text":s.to(i(240)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(249)}})}[Me(251)](){const e=Me;super[e(251)](),this[e(244)]=new t.ResizeObserver(this[e(229)][e(235)],(()=>this[e(247)]())),this[e(239)](this[e(229)],e(236),(()=>this[e(247)]()))}[Me(255)](){const t=Me;super[t(255)](),this[t(244)]&&this[t(244)][t(255)]()}[Me(247)](){const t=Me,e=this[t(229)][t(235)];this[t(240)]=e[t(233)]>e[t(253)]&&e[t(234)]||""}}var Ve=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=At(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=xt(),Ce.insertStyleElement=Dt();St()(Ve.A,Ce);Ve.A&&Ve.A.locals&&Ve.A.locals;function Fe(){const t=["4Fmuufj","0 0 11 10","1600248Vzmkht","ck-revision-history-sidebar__revision-author","span","push","ck-revision-history-sidebar__revision-author__name","set","5079145mwyBPB","ck-revision-history-sidebar__revision-author_creator","name","8246936dHcZIG","Revision creator","192093OWwqHJ","setTemplate","Revision author","1407657uVhivl","9ZDCCFX","651596XfxAGr","333703DklXkP","28xHkoIy","1170pKEJVq"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=403]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(586183===-parseInt(e(418))/1+parseInt(e(417))/2+parseInt(e(415))/3*(-parseInt(e(421))/4)+-parseInt(e(407))/5+parseInt(e(423))/6*(parseInt(e(419))/7)+-parseInt(e(410))/8*(parseInt(e(416))/9)+parseInt(e(420))/10*(parseInt(e(412))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class je extends _t.View{constructor(t,e,i){const s=Le;super(t);const n=new _t.IconView;n[s(406)]({content:wt.IconUser,viewBox:s(422)});const r=["ck",s(424)];i&&r[s(404)](s(408));const o=[{tag:s(403),attributes:{class:["ck",s(405)],title:ot(t,s(i?411:414))},children:[n,e[s(409)]]}];this[s(413)]({tag:"li",attributes:{class:r},children:o})}}function Pe(){var t=["1713200UZptUk","15403883igluWH","134475vaHqLE","557689MaNmtI","toLocaleDateString","60DkAQQv","numeric","733145wdeRFv","9hoGJlo","toLocaleTimeString","10zYZYNs","long","171201LYBpyo","1670226lAxOhm","2yxqITN"];return(Pe=function(){return t})()}function ze(t,e){var i=Pe();return(ze=function(t,e){return i[t-=275]})(t,e)}!function(t){for(var e=ze,i=t();;)try{if(327350===parseInt(e(280))/1*(-parseInt(e(276))/2)+parseInt(e(289))/3+-parseInt(e(282))/4*(parseInt(e(279))/5)+-parseInt(e(275))/6+-parseInt(e(284))/7+-parseInt(e(277))/8*(-parseInt(e(285))/9)+-parseInt(e(287))/10*(-parseInt(e(278))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);var Ue=i(11),We={attributes:{"data-cke":!0}};We.setAttributes=At(),We.insert=Nt().bind(null,"head"),We.domAPI=xt(),We.insertStyleElement=Dt();St()(Ue.A,We);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(){const t=["action","items","bind","button","1OmmYDo","first","buttonView","isOpen","5200921dmezoJ","name","Show more items","source","_action","change:isActionsDropdownOpen","ck-on","map","listenTo","model","14JJJytw","2226315lPLDWk","add","find","bindTemplate","locale","439640luccTj","extendTemplate","606162KmJfLO","stopPropagation","644076MdxLjO","Restore this revision","isVisible","set","2779484DDQdBF","Compare against selected","children","60hrkVbN","function","2131288UuYjsw","Name this revision","execute","listView","isEnabled","20SpDzNG","menuitem","class","isReady","isActionsDropdownOpen","panelPosition","menu","ck-revision-history-sidebar__revision__actions"];return(He=function(){return t})()}function Ze(t,e){const i=He();return(Ze=function(t,e){return i[t-=221]})(t,e)}!function(t){const e=Ze,i=t();for(;;)try{if(506427===-parseInt(e(255))/1*(parseInt(e(225))/2)+-parseInt(e(270))/3+parseInt(e(233))/4+-parseInt(e(243))/5*(-parseInt(e(227))/6)+-parseInt(e(269))/7*(parseInt(e(238))/8)+-parseInt(e(229))/9*(-parseInt(e(236))/10)+parseInt(e(259))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var qe=i(216),$e={attributes:{"data-cke":!0}};$e.setAttributes=At(),$e.insert=Nt().bind(null,"head"),$e.domAPI=xt(),$e.insertStyleElement=Dt();St()(qe.A,$e);qe.A&&qe.A.locals&&qe.A.locals;const Be=Je;function Ye(){const t=["79352ozUCpj","bind","ck-revision-history-sidebar__revision__date","authors","2NdKBWq","createdAt","extendTemplate","ck-revision-history-sidebar__revision_selected","fieldView","2838030kOKcir","ck-revision-history-sidebar__revision-authors","from","select","ck-revision-history-sidebar__revision__controls-wrapper","ck-disabled","creator","isActionsDropdownOpen","6wvONCb","_createdAtFormatted","uiLanguage","revisionActionsView","36BVhQus","9AvRWpz","220","deselect","isSelected","value","ck-revision-history-sidebar__revision","_requireRevisionName","closest","div","ck-revision-history-sidebar__revision_highlighted","13697IYEkhT","element","888056beXTTv","name","isReady",".ck-thread__remove-confirm","listenTo","isEnabled","611810UFesfF","srcElement","length","ck-reset","highlight","unshift","3535719sIvefh","21OjLobt","fire","render","setTemplate","set","isHighlighted","ck-revision-history-sidebar__revision-wrapper","_revision","change","bindTemplate","filter","revisionNameView","ck-revision-history-sidebar__actions_dropdown_open","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","setName","isConfirm","span","map","4734170PilHuQ","unhighlight"];return(Ye=function(){return t})()}function Je(t,e){const i=Ye();return(Je=function(t,e){return i[t-=261]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(260347===parseInt(e(282))/1*(-parseInt(e(321))/2)+parseInt(e(267))/3*(parseInt(e(284))/4)+-parseInt(e(290))/5+parseInt(e(326))/6+-parseInt(e(297))/7*(parseInt(e(317))/8)+-parseInt(e(272))/9*(-parseInt(e(315))/10)+-parseInt(e(296))/11*(parseInt(e(271))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Ge extends((0,G.ConfirmMixin)(_t.View)){id;[Be(308)];[Be(270)];[Be(304)];[Be(278)];constructor(e,i,s,n){const r=Be;super(e);const o=this[r(306)],a=function(t,e){const i=r,s=Array[i(261)](e[i(320)])[i(307)]((t=>t!=e[i(265)]));return e[i(265)]&&s[i(295)](e[i(265)]),s[i(314)]((s=>new je(t,s,s==e[i(265)])))}(e,i);this.id=i.id,this[r(304)]=i,this[r(278)]=n,this[r(318)](r(285),r(322)).to(i),this[r(318)](r(268)).to(this,r(322),(t=>{return i=e[r(269)],(s=t)[(n=ze)(281)](i,{month:n(288),day:n(283)})+", "+s[n(286)](i,{hour:n(283),minute:n(283)});var i,s,n})),this[r(301)](r(275),!1),this[r(301)](r(302),!1),this[r(301)](r(266),!1),this[r(301)](r(286),!1),this[r(301)](r(289),!1),this[r(308)]=new Ee(e,_t.createLabeledInputText),this[r(308)][r(325)][r(323)]({attributes:{maxlength:r(273)}}),this[r(308)][r(325)][r(318)](r(276)).to(this,r(285),(t=>t||this[r(268)])),this[r(308)][r(318)](r(289)).to(this,r(275),this,r(289),((t,e)=>t&&e)),this[r(270)]=s&&s[r(292)]?function(e,i){const s=Ze,n=e[s(223)],r=e[s(224)],o=(0,_t.createDropdown)(r);o[s(248)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(224)],n={"Compare against selected":ot(s,i(234)),"Name this revision":ot(s,i(239)),"Restore this revision":ot(s,i(230))};return e[i(266)]((t=>{const e=i,s=n[t[e(260)]];return s&&s!==t[e(260)]&&(t[e(260)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(254),model:new _t.UIModel({label:t[n(260)],class:t[n(245)],withText:!0,role:n(244),_action:t[n(251)]})};i[n(268)][n(253)](n(242)).to(e,n(247),(i=>n(237)!=typeof t[n(242)]||!i||t[n(242)](e))),o[n(221)](i)}return o}(e,i);return e[s(253)](s(247)).to(o,s(258)),o[s(257)][s(232)]({label:ot(r,s(261)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[s(226)]({attributes:{class:[s(250),n.if(s(247),s(265))]},on:{click:n.to((t=>t[s(228)]()))}}),o.on(s(240),(t=>{const i=s;e[i(246)]&&i(237)==typeof t[i(262)][i(263)]&&t[i(262)][i(263)](e)})),(0,_t.addListToDropdown)(o,a,{role:s(249)}),o[s(267)](e,s(264),((t,n,r)=>{const a=s;if(r)for(const t of o[a(241)][a(252)]){const s=t[a(235)][a(256)],n=i[a(222)]((t=>t[a(251)]===s[a(263)]))[a(231)];t[a(231)]=void 0===n||n(e)}})),o}(this,s):"",this[r(270)]&&this[r(270)][r(318)](r(289)).to(this),this[r(300)]({tag:r(280),attributes:{class:["ck",r(293),r(303),o.if(r(312),r(310))]},children:[{tag:r(280),attributes:{class:["ck",r(293),r(277),o.if(r(289),r(264),(t=>!t)),o.if(r(275),r(324)),o.if(r(302),r(281)),o.if(r(266),r(309))]},children:[this[r(308)],{tag:r(313),attributes:{class:["ck",r(319)]},children:[{text:o.to(r(268))}]},{tag:r(280),attributes:{class:["ck",r(263)]},children:[{tag:"ul",attributes:{class:["ck",r(327)]},children:a}]},this[r(270)]],on:{click:o.to((t=>{const e=r;t[e(291)][e(279)](e(287))||this[e(286)]&&this[e(289)]&&this[e(298)](e(262),{id:this.id})}))}}]})}[Be(299)](){const t=Be;super[t(299)]();const e=this[t(308)][t(325)][t(283)];this[t(288)](e,t(305),(()=>{const i=t;this[i(278)]&&!e[i(276)]||this[i(298)](i(311),{id:this.id,name:e[i(276)]}),e[i(276)]||(e[i(276)]=this[i(285)]?this[i(285)]:this[i(268)])}))}[Be(262)](){this[Be(275)]=!0}[Be(274)](){this[Be(275)]=!1}[Be(294)](){this[Be(302)]=!0}[Be(316)](){this[Be(302)]=!1}}class Ke extends Error{}class Xe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Qe extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Ke{}class ii extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class si extends Ke{}class ni extends Ke{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ri={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Ai{get type(){throw new ni}get name(){throw new ni}get ianaName(){return this.name}get isUniversal(){throw new ni}offsetName(t,e){throw new ni}formatOffset(t,e){throw new ni}offset(t){throw new ni}equals(t){throw new ni}get isValid(){throw new ni}}let Mi=null;class Di extends Ai{static get instance(){return null===Mi&&(Mi=new Di),Mi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(t,e,i)}formatOffset(t,e){return sn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Vi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class Fi extends Ai{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new Fi(t)),e}static resetCache(){Ci.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(t,e,i,this.name)}formatOffset(t,e){return sn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Vi[e];"era"===e?s[r]=n:Ms(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Ys({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const ji=new Map;function Pi(t,e={}){const i=JSON.stringify([t,e]);let s=ji.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),ji.set(i,s)),s}const zi=new Map;const Ui=new Map;let Wi=null;const Hi=new Map;function Zi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const qi=new Map;function $i(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Bi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=zi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),zi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return zs(this.floor?Math.floor(t):Zs(t,3),this.padTo)}}class Yi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Fi.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Pi(e,n)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Ji{constructor(t,e,i){this.opts={style:"long",...i},!e&&Vs()&&(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 Gi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||ps.defaultLocale,o=r||(n?"en-US":Wi||(Wi=(new Intl.DateTimeFormat).resolvedOptions().locale,Wi)),a=e||ps.defaultNumberingSystem,c=i||ps.defaultOutputCalendar,u=js(s)||ps.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Wi=null,ji.clear(),zi.clear(),Ui.clear(),Hi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Ki.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Pi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Pi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===Zi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,js(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return $i(this,t,cn,(()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=ho.utc(2009,i,1);e.push(t(s))}return e}((t=>this.extract(t,i,"month")))),this.monthsCache[s][t]}))}weekdays(t,e=!1){return $i(this,t,dn,(()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=ho.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return $i(this,void 0,(()=>fn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return $i(this,t,gn,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===i));return s?s.value:null}numberFormatter(t={}){return new Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Ji(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Li[i];return s||(s=new Intl.ListFormat(t,e),Li[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Zi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Cs()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Gi,...e}),qi.set(t,e)}return e}(this.locale):Gi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xi=null;class Qi extends Ai{static get utcInstance(){return null===Xi&&(Xi=new Qi(0)),Xi}static instance(t){return 0===t?Qi.utcInstance:new Qi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Qi(Qs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${sn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${sn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return sn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class ts extends Ai{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function es(t,e){if(Ms(t)||null===t)return e;if(t instanceof Ai)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?Qi.utcInstance:Qi.parseSpecifier(i)||Fi.create(t)}return Ds(t)?Qi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new ts(t)}const is={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ss={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},ns=is.hanidec.replace(/[\[|\]]/g,"").split("");const rs=new Map;function os({numberingSystem:t},e=""){const i=t||"latn";let s=rs.get(i);void 0===s&&(s=new Map,rs.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${is[i]}${e}`),s.set(e,n)),n}let as,cs=()=>Date.now(),us="system",ls=null,hs=null,ds=null,fs=60,ms=null;class ps{static get now(){return cs}static set now(t){cs=t}static set defaultZone(t){us=t}static get defaultZone(){return es(us,Di.instance)}static get defaultLocale(){return ls}static set defaultLocale(t){ls=t}static get defaultNumberingSystem(){return hs}static set defaultNumberingSystem(t){hs=t}static get defaultOutputCalendar(){return ds}static set defaultOutputCalendar(t){ds=t}static get defaultWeekSettings(){return ms}static set defaultWeekSettings(t){ms=js(t)}static get twoDigitCutoffYear(){return fs}static set twoDigitCutoffYear(t){fs=t%100}static get throwOnInvalid(){return as}static set throwOnInvalid(t){as=t}static resetCaches(){Ki.resetCache(),Fi.resetCache(),ho.resetCache(),rs.clear()}}class vs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const gs=[0,31,59,90,120,151,181,212,243,273,304,334],ys=[0,31,60,91,121,152,182,213,244,274,305,335];function ks(t,e){return new vs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function bs(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function ws(t,e,i){return i+(qs(t)?ys:gs)[e-1]}function _s(t,e){const i=qs(t)?ys:gs,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function Is(t,e){return(t-e+7)%7+1}function Ss(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=ws(s,n,r),a=Is(bs(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Gs(c,e,i)):u>Gs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...nn(t)}}function Os(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Is(bs(s,1,e),i),a=$s(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=$s(c)):u>a?(c=s+1,u-=$s(s)):c=s;const{month:l,day:h}=_s(c,u);return{year:c,month:l,day:h,...nn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:ws(e,i,s),...nn(t)}}function Ts(t){const{year:e,ordinal:i}=t,{month:s,day:n}=_s(e,i);return{year:e,month:s,day:n,...nn(t)}}function Ns(t,e){if(!Ms(t.localWeekday)||!Ms(t.localWeekNumber)||!Ms(t.localWeekYear)){if(!Ms(t.weekday)||!Ms(t.weekNumber)||!Ms(t.weekYear))throw new ei("Cannot mix locale-based week fields with ISO-based week fields");return Ms(t.localWeekday)||(t.weekday=t.localWeekday),Ms(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Ms(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Es(t.year),i=Ps(t.month,1,12),s=Ps(t.day,1,Bs(t.year,t.month));return e?i?!s&&ks("day",t.day):ks("month",t.month):ks("year",t.year)}function As(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=Ps(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Ps(i,0,59),a=Ps(s,0,59),c=Ps(n,0,999);return r?o?a?!c&&ks("millisecond",n):ks("second",s):ks("minute",i):ks("hour",e)}function Ms(t){return void 0===t}function Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Vs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Fs(t,e,i){if(0!==t.length)return t.reduce(((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n}),null)[1]}function Ls(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function js(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Ps(t.firstDay,1,7)||!Ps(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Ps(t,1,7))))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ps(t,e,i){return Es(t)&&t>=e&&t<=i}function zs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Ms(t)||null===t||""===t?void 0:parseInt(t,10)}function Ws(t){return Ms(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Ms(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Zs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function qs(t){return t%4==0&&(t%100!=0||t%400==0)}function $s(t){return qs(t)?366:365}function Bs(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ys(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Js(t,e,i){return-Is(bs(t,1,e),i)+e-1}function Gs(t,e=4,i=1){const s=Js(t,e,i),n=Js(t+1,e,i);return($s(t)-s+n)/7}function Ks(t){return t>99?t:t>ps.twoDigitCutoffYear?1900+t:2e3+t}function Xs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function Qs(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function tn(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function en(t,e){const i={};for(const s in t)if(Ls(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=tn(n)}return i}function sn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${zs(i,2)}:${zs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${zs(i,2)}${zs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function nn(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const rn=["January","February","March","April","May","June","July","August","September","October","November","December"],on=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],an=["J","F","M","A","M","J","J","A","S","O","N","D"];function cn(t){switch(t){case"narrow":return[...an];case"short":return[...on];case"long":return[...rn];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const un=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ln=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hn=["M","T","W","T","F","S","S"];function dn(t){switch(t){case"narrow":return[...hn];case"short":return[...ln];case"long":return[...un];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fn=["AM","PM"],mn=["Before Christ","Anno Domini"],pn=["BC","AD"],vn=["B","A"];function gn(t){switch(t){case"narrow":return[...vn];case"short":return[...pn];case"long":return[...mn];default:return null}}function yn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const kn={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:xi,ffff:Ni,F:_i,FF:Si,FFF:Ti,FFFF:Ri};class bn{static create(t,e={}){return new bn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return kn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return zs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return fn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return cn(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return dn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return yn(bn.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}}))}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=bn.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return yn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter((t=>t)))))}}const wn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _n(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function In(...t){return e=>t.reduce((([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]}),[{},null,1]).slice(0,2)}function Sn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function On(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Tn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Nn=RegExp(`${Tn.source}${`(?:${xn.source}?(?:\\[(${wn.source})\\])?)?`}`),Rn=RegExp(`(?:T${Nn.source})?`),An=On("weekYear","weekNumber","weekDay"),Mn=On("year","ordinal"),Dn=RegExp(`${Tn.source} ?(?:${xn.source}|(${wn.source}))?`),En=RegExp(`(?: ${Dn.source})?`);function Vn(t,e,i){const s=t[e];return Ms(s)?i:Us(s)}function Cn(t,e){return[{hours:Vn(t,e,0),minutes:Vn(t,e+1,0),seconds:Vn(t,e+2,0),milliseconds:Hs(t[e+3])},null,e+4]}function Fn(t,e){const i=!t[e]&&!t[e+1],s=Qs(t[e+1],t[e+2]);return[{},i?null:Qi.instance(s),e+3]}function Ln(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const jn=RegExp(`^T?${Tn.source}$`),Pn=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function zn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ws(i)),months:d(Ws(s)),weeks:d(Ws(n)),days:d(Ws(r)),hours:d(Ws(o)),minutes:d(Ws(a)),seconds:d(Ws(c),"-0"===c),milliseconds:d(Hs(u),h)}]}const Un={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Wn(t,e,i,s,n,r,o){const a={year:2===e.length?Ks(Us(e)):Us(e),month:on.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?un.indexOf(t)+1:ln.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 Zn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Wn(e,n,s,i,r,o,a);let f;return f=c?Un[c]:u?0:Qs(l,h),[d,new Qi(f)]}const qn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,$n=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Yn(t){const[,e,i,s,n,r,o,a]=t;return[Wn(e,n,s,i,r,o,a),Qi.utcInstance]}function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Wn(e,a,i,s,n,r,o),Qi.utcInstance]}const Gn=_n(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Kn=_n(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Xn=_n(/(\d{4})-?(\d{3})/,Rn),Qn=_n(Nn),tr=In((function(t,e){return[{year:Vn(t,e),month:Vn(t,e+1,1),day:Vn(t,e+2,1)},null,e+3]}),Cn,Fn,Ln),er=In(An,Cn,Fn,Ln),ir=In(Mn,Cn,Fn,Ln),sr=In(Cn,Fn,Ln);const nr=In(Cn);const rr=_n(/(\d{4})-(\d\d)-(\d\d)/,En),or=_n(Dn),ar=In(Cn,Fn,Ln);const cr="Invalid Duration",ur={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},lr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new kr(s)}function gr(t,e){let i=e.milliseconds??0;for(const s of pr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight(((s,n)=>{if(Ms(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n}),null),mr.reduce(((i,s)=>{if(Ms(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return kr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kr({values:en(t,kr.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ds(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Sn(t,[Pn,zn])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Sn(t,[jn,nr])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new ti(i);return new kr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ii(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?bn.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map((e=>{const i=this.values[e];return Ms(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=Zs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return ho.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(Ls(e.values,t)||Ls(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=tn(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...en(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return vr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>kr.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of mr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Ds(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ds(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return yr(this.matrix,e),vr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return vr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const s of mr)if(e=this.values[s],i=t.values[s],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const br="Invalid Interval";class wr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Qe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),s=fo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,s);return null==n?new wr({start:i,end:s}):n}static after(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),s=fo(t);return wr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=ho.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=ho.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return wr.fromDateTimes(t,r);if(n){const i=kr.fromISO(s,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(wr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=kr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits((t=>t*n)));i=+t>+this.e?this.e:t,r.push(wr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:wr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return wr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i]),[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),r=Array.prototype.concat(...n).sort(((t,e)=>t.time-e.time));for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(s)}difference(...t){return wr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ci,e={}){return this.isValid?bn.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=ps.defaultZone){const e=ho.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return es(t,ps.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ki.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Ki.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Vs(),localeWeek:Cs()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(kr.fromMillis(s).as("days"))}function Sr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Ir(t,e);return(i-i%7)/7}],["days",Ir]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=kr.fromObject(r,s);return u.length>0?kr.fromMillis(c,s).shiftTo(...u).plus(l):l}function Or(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(is.hanidec))e+=ns.indexOf(t[i]);else for(const t in ss){const[i,n]=ss[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Tr=new RegExp(xr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(Tr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Tr," ").toLowerCase()}function Ar(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex((t=>Rr(i)===Rr(t)))+e}}function Mr(t,e){return{regex:t,deser:([,t,e])=>Qs(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Vr=null;function Cr(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=jr(bn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Cr(bn.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=os(e),s=os(e,"{2}"),n=os(e,"{3}"),r=os(e,"{4}"),o=os(e,"{6}"),a=os(e,"{1,2}"),c=os(e,"{1,3}"),u=os(e,"{1,6}"),l=os(e,"{1,9}"),h=os(e,"{2,4}"),d=os(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Ar(e.eras("short"),0);case"GG":return Ar(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Ks);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(s);case"MMM":return Ar(e.months("short",!0),1);case"MMMM":return Ar(e.months("long",!0),1);case"LLL":return Ar(e.months("short",!1),1);case"LLLL":return Ar(e.months("long",!1),1);case"o":case"S":return Or(c);case"ooo":case"SSS":return Or(n);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Or(i);case"a":return Ar(e.meridiems(),0);case"EEE":return Ar(e.weekdays("short",!1),1);case"EEEE":return Ar(e.weekdays("long",!1),1);case"ccc":return Ar(e.weekdays("short",!0),1);case"cccc":return Ar(e.weekdays("long",!0),1);case"Z":case"ZZ":return Mr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Mr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t))),this.disqualifyingUnit=this.units.find((t=>t.invalidReason)),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ls(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;Ms(t.z)||(i=Fi.create(t.z)),Ms(t.Z)||(i||(i=new Qi(t.Z)),e=t.Z),Ms(t.q)||(t.M=3*(t.q-1)+1),Ms(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Ms(t.u)||(t.S=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(Ls(i,"a")&&Ls(i,"H"))throw new ei("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function jr(t,e){if(!t)return null;const i=bn.create(e,t).dtFormatter((Vr||(Vr=ho.fromMillis(1555555555555)),Vr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map((e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Pr="Invalid DateTime",zr=864e13;function Ur(t){return new vs("unsupported zone",`the zone "${t.name}" is not supported`)}function Wr(t){return null===t.weekData&&(t.weekData=Ss(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Ss(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Zr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...i,...e,old:i})}function qr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function $r(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Br(t,e,i){return qr(Ys(t),e,i)}function Yr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Bs(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=kr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ys(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Jr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=ho.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return ho.invalid(new vs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Gr(t,e,i=!0){return t.isValid?bn.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=zs(t.c.year,i?6:4),e?(s+="-",s+=zs(t.c.month),s+="-",s+=zs(t.c.day)):(s+=zs(t.c.month),s+=zs(t.c.day)),s}function Xr(t,e,i,s,n,r){let o=zs(t.c.hour);return e?(o+=":",o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=zs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zs(Math.trunc(-t.o/60)),o+=":",o+=zs(Math.trunc(-t.o%60))):(o+="+",o+=zs(Math.trunc(t.o/60)),o+=":",o+=zs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Qr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],no=["year","ordinal","hour","minute","second","millisecond"];function ro(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ii(t);return e}(t)}}function oo(t,e){const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Ur(i));const s=Ki.fromObject(e);let n,r;if(Ms(t.year))n=ps.now();else{for(const e of io)Ms(t[e])&&(t[e]=Qr[e]);const e=Rs(t)||As(t);if(e)return ho.invalid(e);const s=function(t){if(void 0===uo&&(uo=ps.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[n,r]=Br(t,s,i)}return new ho({ts:n,zone:i,loc:s,o:r})}function ao(t,e,i){const s=!!Ms(i.round)||i.round,n=(t,n)=>{t=Zs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function co(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let uo;const lo=new Map;class ho{constructor(t){const e=t.zone||ps.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new vs("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Ms(t.ts)?ps.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ds(t.o)&&!t.old?t.o:e.offset(this.ts);s=$r(this.ts,r),i=Number.isNaN(s.year)?new vs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return oo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Qi.utcInstance,oo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return ho.invalid("invalid input");const n=es(e.zone,ps.defaultZone);return n.isValid?new ho({ts:i,zone:n,loc:Ki.fromObject(e)}):ho.invalid(Ur(n))}static fromMillis(t,e={}){if(Ds(t))return t<-zr||t>zr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:es(e.zone,ps.defaultZone),loc:Ki.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ds(t))return new ho({ts:1e3*t,zone:es(e.zone,ps.defaultZone),loc:Ki.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=es(e.zone,ps.defaultZone);if(!i.isValid)return ho.invalid(Ur(i));const s=Ki.fromObject(e),n=en(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=Ns(n,s),a=ps.now(),c=Ms(e.specificOffset)?i.offset(a):e.specificOffset,u=!Ms(n.ordinal),l=!Ms(n.year),h=!Ms(n.month)||!Ms(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=$r(a,c);m?(p=so,v=to,g=Ss(g,r,o)):u?(p=no,v=eo,g=xs(g)):(p=io,v=Qr);let y=!1;for(const t of p){Ms(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Es(t.weekYear),n=Ps(t.weekNumber,1,Gs(t.weekYear,e,i)),r=Ps(t.weekday,1,7);return s?n?!r&&ks("weekday",t.weekday):ks("week",t.weekNumber):ks("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Es(t.year),i=Ps(t.ordinal,1,$s(t.year));return e?!i&&ks("ordinal",t.ordinal):ks("year",t.year)}(n):Rs(n),b=k||As(n);if(b)return ho.invalid(b);const w=m?Os(n,r,o):u?Ts(n):n,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return Sn(t,[Gn,tr],[Kn,er],[Xn,ir],[Qn,sr])}(t);return Jr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return Sn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hn,Zn])}(t);return Jr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return Sn(t,[qn,Yn],[$n,Yn],[Bn,Jn])}(t);return Jr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Ms(t)||Ms(e))throw new si("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[s,n,r,o]}(r,t,e);return u?ho.invalid(u):Jr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return Sn(t,[rr,tr],[or,ar])}(t);return Jr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof vs?t:new vs(t,e);if(ps.throwOnInvalid)throw new Xe(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=jr(t,Ki.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Cr(bn.parseFormat(t),Ki.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){uo=void 0,lo.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Wr(this).weekYear:NaN}get weekNumber(){return this.isValid?Wr(this).weekNumber:NaN}get weekday(){return this.isValid?Wr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?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?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Ys(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=$r(a,r),l=$r(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Zr(this,{ts:a}),Zr(this,{ts:c})]:[this]}get isInLeapYear(){return qs(this.year)}get daysInMonth(){return Bs(this.year,this.month)}get daysInYear(){return this.isValid?$s(this.year):NaN}get weeksInWeekYear(){return this.isValid?Gs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Gs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=bn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Qi.instance(t),e)}toLocal(){return this.setZone(ps.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=es(t,ps.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Br(i,e,t)}return Zr(this,{ts:s,zone:t})}return ho.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Zr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=en(t,ro),{minDaysInFirstWeek:i,startOfWeek:s}=Ns(e,this.loc),n=!Ms(e.weekYear)||!Ms(e.weekNumber)||!Ms(e.weekday),r=!Ms(e.ordinal),o=!Ms(e.year),a=!Ms(e.month)||!Ms(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;n?l=Os({...Ss(this.c,i,s),...e},i,s):Ms(e.ordinal)?(l={...this.toObject(),...e},Ms(e.day)&&(l.day=Math.min(Bs(l.year,l.month),l.day))):l=Ts({...xs(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Zr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Zr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=kr.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?bn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bn.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Kr(this,r);return o+="T",o+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Gr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Xr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Gr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Gr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Gr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Pr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return kr.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||ho.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),ao(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new si("min requires all arguments be DateTimes");return Fs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new si("max requires all arguments be DateTimes");return Fs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Ki.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Fr(n,t)}static fromFormatParser(t,e,i={}){if(Ms(t)||Ms(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Ki.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?ho.invalid(u):Jr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ti}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&Ds(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(t,e){const i=po,s=ho[i(208)](t)[i(202)](e),n=ho[i(217)](),r=n[i(203)]({days:1})[i(207)](i(218));let o,a;return s[i(204)](n,i(218))?(o=s[i(207)](i(218))[i(206)](),a=s[i(221)]()):s[i(204)](r,i(218))?(o=r[i(206)](),a=s[i(221)]()):s[i(204)](n,i(199))?(o=s[i(207)](i(199))[i(206)](),a=s[i(222)]||""):s[i(204)](n,i(201))?(o=s[i(207)](i(210))[i(206)](),a=s[i(216)]||""):(o=s[i(207)](i(201))[i(206)](),a=String(s[i(201)])),{startDate:o,localizedPeriodName:a}}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=198]})(t,e)}function vo(){const t=["12490NxZJDN","year","setLocale","minus","hasSame","1628HnBCCe","toJSDate","startOf","fromJSDate","2409jdMejM","month","1374tmXyEZ","4565648LfooYM","8960553KMlBCi","1085avYMtG","3640945xamxUr","monthLong","local","day","125270gxSLui","777hqhWJt","toRelativeCalendar","weekdayLong","17644BopmoZ","week"];return(vo=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(799314===parseInt(e(214))/1*(parseInt(e(205))/2)+-parseInt(e(220))/3*(-parseInt(e(198))/4)+-parseInt(e(200))/5*(-parseInt(e(211))/6)+parseInt(e(215))/7+-parseInt(e(212))/8+parseInt(e(213))/9+-parseInt(e(219))/10*(parseInt(e(209))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=At(),yo.insert=Nt().bind(null,"head"),yo.domAPI=xt(),yo.insertStyleElement=Dt();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;const ko=bo;function bo(t,e){const i=wo();return(bo=function(t,e){return i[t-=240]})(t,e)}function wo(){const t=["removeRevision","setName","createCollection","ck-revision-history-sidebar__time-period__revisions","add","setTemplate","8921979cOTwDx","revisionViews","95dxIPWh","ck-revision-history-sidebar__time-period__label","3224892EATEga","select","1413974iaPjdb","ck-revision-history-sidebar__time-period","startDate","find","7NFaXvu","addRevision","localizedPeriodName","_revisionActions","remove","11871448nyoXtJ","162028VfUKFt","div","uiLanguage","delegate","270366iiuUuH","span","81BznHYK","54601840DZtVZt","locale","_requireRevisionName"];return(wo=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(836602===parseInt(e(254))/1+-parseInt(e(252))/2+-parseInt(e(270))/3*(parseInt(e(264))/4)+-parseInt(e(250))/5*(parseInt(e(268))/6)+-parseInt(e(258))/7*(parseInt(e(263))/8)+-parseInt(e(248))/9+parseInt(e(271))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class _o extends _t.View{[ko(256)];[ko(249)];[ko(261)];[ko(241)];constructor(t,e,i,s){const n=ko;super(t);const r=mo(e,this[n(240)][n(266)])[n(260)];this[n(256)]=e,this[n(249)]=this[n(244)](),this[n(261)]=i,this[n(241)]=s,this[n(249)][n(267)](n(253)).to(this),this[n(249)][n(267)](n(243)).to(this),this[n(247)]({tag:n(265),attributes:{class:["ck",n(255)]},children:[{tag:n(269),attributes:{class:["ck",n(251)]},children:[{text:r}]},{tag:n(265),attributes:{class:["ck",n(245)]},children:this[n(249)]}]})}[ko(259)](t){const e=ko,i=new Ge(this[e(240)],t,this[e(261)],this[e(241)]);this[e(249)][e(246)](i)}[ko(242)](t){const e=ko,i=this[e(249)][e(257)]((e=>e.id===t.id));this[e(249)][e(262)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=At(),So.insert=Nt().bind(null,"head"),So.domAPI=xt(),So.insertStyleElement=Dt();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(){const t=["Revision history","35496ChYGeL","81HcuuPs","setTemplate","239216jsSZzT","span","ck-reset_all","2794cErFwR","437178uwINaY","1371016pdPcvK","content","ck-revision-history-sidebar__header","87213wJxVEY","8538LvDZYs","ck-revision-history-sidebar__header__label","18AAebHl","5JFWRek","1249240kkeEdv","162BUpJQr","div"];return(Oo=function(){return t})()}function xo(t,e){const i=Oo();return(xo=function(t,e){return i[t-=486]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(251050===-parseInt(e(502))/1+parseInt(e(487))/2*(parseInt(e(496))/3)+parseInt(e(498))/4*(-parseInt(e(490))/5)+-parseInt(e(492))/6*(parseInt(e(486))/7)+-parseInt(e(503))/8*(-parseInt(e(489))/9)+-parseInt(e(491))/10+-parseInt(e(501))/11*(-parseInt(e(495))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class To extends _t.View{constructor(t){const e=xo;super(t);const i=new _t.IconView;i[e(504)]=wt.IconHistory,this[e(497)]({tag:e(493),attributes:{class:["ck",e(500),e(505)]},children:[i,{tag:e(499),attributes:{class:["ck",e(488)]},children:[ot(t,e(494))]}]})}}var No=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=At(),Ro.insert=Nt().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();St()(No.A,Ro);No.A&&No.A.locals&&No.A.locals;function Ao(t,e){const i=Do();return(Ao=function(t,e){return i[t-=439]})(t,e)}const Mo=Ao;function Do(){const t=["startDate","removeRevision","getTime","add","isEnabled","_revisionActions","revisionViews","select","ck-revision-history-sidebar__timeline","12spgqWf","flat","div","_requireRevisionName","uiLanguage","highlight","125019USuOPJ","764729dWsBKG","fire","set","_removeRevision","createdAt","22SbHTNk","get","addRevision","2506KQDlsh","setTemplate","70CBepVZ","some","timePeriodViews","_getTimePeriodViewByStartDate","_addRevision","createCollection","setName","_revisions","map","1032400HslquG","highlightRevisions","render","1170035lULhdD","revisionSetName","bindTemplate","ck-reset","delegate","remove","unhighlight","ck-rounded-corners","ck-revision-history-sidebar","find","ck-disabled","2411000qRfKoI","locale","selectRevision","revisionSelected","133782SDRqSk","deselect"];return(Do=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(395701===-parseInt(e(446))/1*(-parseInt(e(449))/2)+-parseInt(e(478))/3+parseInt(e(460))/4+-parseInt(e(463))/5*(-parseInt(e(489))/6)+-parseInt(e(441))/7+-parseInt(e(474))/8+-parseInt(e(440))/9*(-parseInt(e(451))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends _t.View{[Mo(453)];[Mo(458)];[Mo(485)];[Mo(492)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(465)];this[n(453)]=this[n(456)](),this[n(453)][n(467)](n(487)).to(this),this[n(453)][n(467)](n(457)).to(this),this[n(458)]=e,this[n(485)]=i,this[n(492)]=s,this.on(n(487),((t,e)=>{const i=n;this[i(442)](i(477),e)})),this.on(n(457),((t,e)=>{const i=n;this[i(442)](i(464),e)})),this[n(443)](n(484),!1),this[n(450)]({tag:n(491),attributes:{class:["ck",n(466),n(470),n(471)]},children:[new To(t),{tag:n(491),attributes:{class:["ck",n(488),r.if(n(484),n(473),(t=>!t))]},children:this[n(453)]}]})}[Mo(462)](){const t=Mo;super[t(462)]();for(const e of this[t(458)])this[t(455)](e);this[t(458)].on(t(483),((e,i)=>{this[t(455)](i)})),this[t(458)].on(t(468),((e,i)=>{this[t(444)](i)}))}get[Mo(486)](){const t=Mo;return this[t(453)][t(459)]((e=>e[t(486)][t(459)]((t=>t))))[t(490)]()}[Mo(476)](t){const e=Mo;for(const i of this[e(486)])t&&t.id===i.id?i[e(487)]():i[e(479)]()}[Mo(461)](t){const e=Mo;for(const i of this[e(486)])t[e(452)]((({id:t})=>t===i.id))?i[e(439)]():i[e(469)]()}[Mo(455)](t){const e=Mo,i=mo(t[e(445)],this[e(475)][e(493)])[e(480)];let s=this[e(453)][e(447)](0);s&&s[e(480)][e(482)]()===i[e(482)]()||(s=new _o(this[e(475)],i,this[e(485)],this[e(492)]),this[e(453)][e(483)](s)),s[e(448)](t)}[Mo(444)](t){const e=Mo,i=mo(t[e(445)],this[e(475)][e(493)])[e(480)];this[e(454)](i)[e(481)](t)}[Mo(454)](t){const e=Mo;return this[e(453)][e(472)]((i=>i[e(480)][e(482)]()===t[e(482)]()))}}const Vo=Co;function Co(t,e){const i=Fo();return(Co=function(t,e){return i[t-=419]})(t,e)}function Fo(){const t=["selectRevision","getLaterVisibleRevision","_revisionViewer","focus","element","nameRevision","2803112Ucdeyt","requires","isPremiumPlugin","getEarlierVisibleRevision","listenTo","timePeriodViews","revisionHistory.viewerSidebarContainer","revisionSetName","isReady","assign","revisionHistory","getRevisionsInDiff","editor","3UUqiwy","newRevisionId","get","_sidebarView","restoreRevisionCallback","revisionHistory.revisionActions","isOfficialPlugin","compare","bind","init","destroy","action","900gDLuex","restoreRevision","142461OXvBHd","_handleRevisionSetName","getIndex","map","6430484XvLvPP","isEnabled","add","_createRevisionActions","pluginName","select","8319395NfYIdB","isSelected","revisionViews","data","name","appendChild","highlightRevisions","isVisible","RevisionsSidebar","config","_revisionsRepository","Name this revision","5575332kGDQMy","setName","length","revisionHistory.requireRevisionName","availableRevisionActions","_handleDiffChange","remove","getRevision","repository","9vAqcHV","change:diff","_revisions","_handleEditorDataReady","diff","75566xerhuE","render","defaultRevisionActions","string","compareAgainstSelected","Compare against selected","revisionSelected","plugins","Restore this revision","ready","locale","4793551drzLZT","fieldView","_handleRevisionSelected"];return(Fo=function(){return t})()}!function(t){const e=Co,i=t();for(;;)try{if(912025===-parseInt(e(497))/1*(parseInt(e(419))/2)+parseInt(e(452))/3*(parseInt(e(470))/4)+parseInt(e(476))/5+-parseInt(e(488))/6+parseInt(e(430))/7+-parseInt(e(439))/8+-parseInt(e(466))/9*(parseInt(e(464))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends J.Plugin{[Vo(435)];[Vo(486)];[Vo(455)];static[Vo(421)]=[Vo(423),Vo(465),Vo(438)];static[Vo(492)]=function(){const t=Vo;return{compareAgainstSelected:{name:t(424),action:({plugins:e},i)=>{const s=t,n=e[s(454)](ae),r=n[s(496)];let o=n[s(501)][s(453)],a=i.id;r[s(468)](o)>r[s(468)](a)&&([o,a]=[a,o]),n[s(459)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(454)](ae);return!(n[s(496)][s(450)](n[s(501)])[s(490)]>2||i[s(477)])}},restoreRevision:{name:t(427),action:(e,{id:i})=>{const s=t;e[s(485)][s(454)](s(449))[s(456)](i)},isVisible:({plugins:e},i)=>!!e[t(454)](ae)[t(496)][t(434)](i.id)},nameRevision:{name:t(487),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(454)](ae),o=r[n(496)][n(442)](i);r[n(459)](i,o),s[n(436)](),s[n(431)][n(475)]()}}}}();static get[Vo(474)](){return Vo(484)}static get[Vo(458)](){return!0}static get[Vo(441)](){return!0}static get[Vo(440)](){return[ae]}constructor(t){const e=Vo;super(t),this[e(435)]=t[e(426)][e(454)](ae),this[e(486)]=this[e(435)][e(496)],this[e(455)]=null}[Vo(461)](){const t=Vo,e=this[t(486)][t(499)],i=this[t(473)](),s=this[t(451)][t(485)][t(454)](t(445));this[t(455)]=new Eo(this[t(451)][t(429)],e,i,this[t(451)][t(485)][t(454)](t(491))),this[t(455)].on(t(425),this[t(432)][t(460)](this)),this[t(455)].on(t(446),this[t(467)][t(460)](this)),this[t(455)][t(460)](t(471)).to(this[t(435)]),this[t(455)][t(444)].on(t(472),((e,i)=>{const s=t;i[s(478)].on(s(472),((t,e)=>{const i=s;e[i(460)](i(471),i(447)).to(this[i(435)])}))})),this[t(455)][t(420)](),this[t(443)](this[t(451)][t(479)],t(428),this[t(500)][t(460)](this)),this[t(443)](this[t(435)],t(498),this[t(493)][t(460)](this)),s[t(481)](this[t(455)][t(437)])}[Vo(462)](){const t=Vo;this[t(455)][t(437)][t(494)](),this[t(455)][t(462)]()}[Vo(500)](){const t=Vo,e=this[t(486)][t(495)](0);if(e){const i=this[t(486)][t(442)](e.id);this[t(435)][t(459)](e,i)}}[Vo(432)](t,e){const i=Vo,s=this[i(486)][i(495)](e.id),n=this[i(486)][i(442)](s.id);this[i(435)][i(459)](s,n)}[Vo(467)](t,e){const i=Vo;this[i(486)][i(495)](e.id)[i(489)](e[i(480)])}[Vo(493)](t,e,i){const s=Vo,n=this[s(486)][s(450)](i);n[s(490)]>2?(this[s(455)][s(482)](n),this[s(455)][s(433)](null)):(this[s(455)][s(482)]([]),this[s(455)][s(433)](n[0]))}[Vo(473)](){const t=Vo,e=this[t(451)],i=Lo[t(492)],s=e[t(485)][t(454)](t(457))||Lo[t(421)];if(s[t(490)])return s[t(469)]((s=>{const n=t,r=n(422)==typeof s?Object[n(448)]({},i[s]):s;return r[n(463)]=r[n(463)][n(460)](this,e),r[n(483)]&&(r[n(483)]=r[n(483)][n(460)](this,e)),r}))}}const jo=Po;function Po(t,e){const i=zo();return(Po=function(t,e){return i[t-=259]})(t,e)}function zo(){const t=["addToolbar","view","editor","ready","12uVjOwn","isActive","config","attachDomRoot","1412045UMIPON","viewportOffset","get","_elementReplacer","viewportTopOffset","document","4682624EyuArk","fillFromConfig","toolbar","2849490dUMlWK","editing","6334118SplIOd","bind","init","6HRSVXW","getRoot","detachDomRoot","restore","208lfXSQk","_toolbarConfig","element","stickyPanel","editable","render","destroy","11785490QpdMQZ","_initToolbar","replace","setEditableElement","limiterElement","rootName","fire","isFocused","focusTracker","componentFactory","11azSzHs","319454QYkhyf","53622IbKjWv","_view","name"];return(zo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(491713===-parseInt(e(285))/1*(parseInt(e(259))/2)+parseInt(e(260))/3*(-parseInt(e(289))/4)+parseInt(e(271))/5*(parseInt(e(267))/6)+parseInt(e(282))/7+-parseInt(e(277))/8+parseInt(e(280))/9+parseInt(e(296))/10*(parseInt(e(306))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends _t.EditorUI{[jo(261)];[jo(290)];[jo(274)];get[jo(264)](){return this[jo(261)]}constructor(e,i){const s=jo;super(e),this[s(261)]=i,this[s(290)]=(0,_t.normalizeToolbarConfig)(e[s(269)][s(273)](s(279))),this[s(274)]=new t.ElementReplacer}get[jo(291)](){const t=jo;return this[t(264)][t(291)]}[jo(284)](t){const e=jo,i=this[e(265)],s=this[e(264)],n=i[e(281)][e(264)],r=s[e(293)],o=n[e(276)][e(286)]();r[e(262)]=o[e(301)],s[e(294)]();const a=r[e(291)];this[e(299)](r[e(262)],a),s[e(293)][e(283)](e(303)).to(this[e(304)]),n[e(270)](a),this[e(274)][e(298)](t,this[e(291)]),this[e(297)](),this[e(302)](e(266))}[jo(295)](){const t=jo;super[t(295)]();const e=this[t(264)],i=this[t(265)][t(281)][t(264)];this[t(274)][t(288)](),i[t(287)](e[t(293)][t(262)]),e[t(295)]()}[jo(297)](){const t=jo,e=this[t(264)];e[t(292)][t(283)](t(268)).to(this[t(304)],t(303)),e[t(292)][t(300)]=e[t(291)],e[t(292)][t(283)](t(275)).to(this,t(272),(({top:t})=>t)),e[t(279)][t(278)](this[t(290)],this[t(305)]),this[t(263)](e[t(279)])}}var Wo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=At(),Ho.insert=Nt().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Dt();St()(Wo.A,Ho);Wo.A&&Wo.A.locals&&Wo.A.locals;function Zo(){var t=["3963635GSJYaz","top","641660hjgzbh","shouldToolbarGroupWhenFull","add","content","8MDXVKd","6159kQYpNK","editable","1005828ONIaQg","_editable","render","stickyPanel","5306924PHdCSb","432AanLtJ","toolbar","6360pIOtLu","624264GlLCWq","main","47610SZvRvL"];return(Zo=function(){return t})()}var qo=$o;function $o(t,e){var i=Zo();return($o=function(t,e){return i[t-=392]})(t,e)}!function(t){for(var e=$o,i=t();;)try{if(417816===-parseInt(e(404))/1+parseInt(e(401))/2*(-parseInt(e(394))/3)+-parseInt(e(409))/4+-parseInt(e(407))/5+-parseInt(e(396))/6+-parseInt(e(400))/7*(parseInt(e(393))/8)+-parseInt(e(406))/9*(-parseInt(e(403))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zo);class Bo extends _t.BoxedEditorUIView{[qo(397)];[qo(399)];[qo(402)];get[qo(395)](){return this[qo(397)]}constructor(t,e,i={}){var s=qo;super(t),this[s(399)]=new _t.StickyPanelView(t),this[s(402)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[s(410)]}),this[s(397)]=new _t.InlineEditableUIView(t,e)}[qo(398)](){var t=qo;super[t(398)](),this[t(399)][t(392)][t(411)](this[t(402)]),this[t(408)][t(411)](this[t(399)]),this[t(405)][t(411)](this[t(395)])}}const Yo=Jo;function Jo(t,e){const i=Go();return(Jo=function(t,e){return i[t-=494]})(t,e)}function Go(){const t=["ready","create","3052275rueXsv","destroy","updateSourceElement","view","model","document","529cNjcfY","init","64Bdnydk","get","data","fire","_ui","editing","4176264sAurHV","49PWWcqo","392984VFQwLa","sourceElement","44154hZQSpj","162lhoEeM","initialData","153610fqqabt","createRoot","2062bqHztU","config","initPlugins","locale","7904105ncvAxf"];return(Go=function(){return t})()}!function(t){const e=Jo,i=t();for(;;)try{if(427416===parseInt(e(510))/1*(-parseInt(e(497))/2)+parseInt(e(522))/3*(-parseInt(e(512))/4)+parseInt(e(504))/5+parseInt(e(518))/6+-parseInt(e(519))/7*(-parseInt(e(520))/8)+parseInt(e(523))/9*(parseInt(e(495))/10)+-parseInt(e(501))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Ko extends((0,J.ElementApiMixin)(J.Editor)){[Yo(516)];get ui(){return this[Yo(516)]}constructor(t,e){const i=Yo;super(e),this[i(521)]=t,this[i(508)][i(509)][i(496)]();const s=new Bo(this[i(500)],this[i(517)][i(507)],{shouldToolbarGroupWhenFull:!0});this[i(516)]=new Uo(this,s)}[Yo(505)](){const t=Yo;return this[t(506)](),this.ui[t(505)](),super[t(505)]()}static async[Yo(503)](t,e){const i=Yo,s=new this(t,e);return await s[i(499)](),await s.ui[i(511)](t),await s[i(514)][i(511)](s[i(498)][i(513)](i(494))||""),s[i(515)](i(502)),s}}const Xo=ta;function Qo(){const t=["uiLanguage","isReady","_enhanceShowRevisionViewerCallback","adapter","addUser","revisionHistory.showRevisionViewerCallback","isOfficialPlugin","isAnonymous","RevisionTracker","result","detachRoot","restoreRevision","Users","11sJxGma","isReadOnly","14DEIequ","toJSON","numeric","data","removeMarker","_recalculatePageBreaks","display","setSelection","locale","_cleanUp","fromVersion","join","5677764muqCKF","removeSelectionAttribute","long","_closeRevisionViewer","_enhanceCloseRevisionViewerCallback","fromCharCode","creator","roots","push","_viewerEditor","document","Autosave","setAttribute","refreshVisibility","6468LIHcNM","map","revisionHistory.viewerEditorElement","get","3691649tpZUDN","revisionHistory.closeRevisionViewerCallback","disableReadOnlyMode","Restored","getRevision","DocumentOutlineUI","isRevisionViewerOpen","enableReadOnlyMode","1784PAprqD","changesNavigation","init","getAttributeKeys","loadRevisionData","has","saveRevision","RevisionViewerIntegration","createdAt","addRevisionData","removeAttribute","revision-history-viewer-opened","commands","200785OJnNUC","requires","toVersion","toLocaleDateString","PaginationLookup","config","getRevisionRootsAttributes","name","revisionHistory.viewerContainer","repository","$graveyard","isPremiumPlugin","view","exitToEditing","bind","showRevisionViewerCallback","error","block","RevisionsRepository","RevisionHistoryUtils","getRevisionDocumentData","isOpen","1910hxXyug","4AdZlyv","element","1719xjhcib","indexOf","revisionHistory.requireRevisionName","keys","getRevisions","from","editor","_restoreRevision","style","destroy","getRoot","users","end","isAttached","19629QzHKtL","RestrictedEditingMode","refreshPositioning","RevisionHistory","then","markers","none","addRoot","Dialog","define","translations","insert","closeRevisionViewerCallback","change","createRangeIn","DocumentOutline","RevisionHistoryUI","getMarkersGroup","_update","isEnabled","revision-history-missing-configuration","revisionHistory","getUser","plugins","restrictedEditingException","_showRevisionViewer","hide","revisionHistory.restoreRevisionCallback","includes","remove","catch","save","29351NZhJsB","_getRevisionViewerEditorConfig","revisionHistory.editorContainer","parse","12ajLPtu","RevisionViewer","enqueueChange","lazyRoots","toLocaleTimeString","update","model","selection","Annotations","create","toolbar","pluginName","rootName","set","391271MChgTm"];return(Qo=function(){return t})()}function ta(t,e){const i=Qo();return(ta=function(t,e){return i[t-=464]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(513809===-parseInt(e(611))/1*(-parseInt(e(545))/2)+-parseInt(e(547))/3*(-parseInt(e(497))/4)+-parseInt(e(522))/5*(-parseInt(e(597))/6)+-parseInt(e(593))/7*(parseInt(e(509))/8)+parseInt(e(561))/9*(parseInt(e(544))/10)+parseInt(e(469))/11*(-parseInt(e(483))/12)+parseInt(e(501))/13*(-parseInt(e(471))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qo);const ea=[Xo(577),Xo(562)];class ia extends J.Plugin{[Xo(465)];static get[Xo(608)](){return Xo(516)}static get[Xo(618)](){return!0}static get[Xo(533)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(498)]((t=>String[e(488)](t)))[e(482)]("")}super(t),this[e(465)]=e(559),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class sa extends J.Plugin{[Xo(492)];static get[Xo(608)](){return Xo(564)}static get[Xo(618)](){return!0}static get[Xo(533)](){return!0}static get[Xo(523)](){return[pt,Zt]}constructor(e){const i=Xo;if(super(e),!this[i(553)][i(527)][i(500)](i(582)))throw new t.CKEditorError(i(581),this);this[i(492)]=null,this[i(610)](i(507),!1),this[i(553)][i(527)][i(570)](i(617),(t=>this[i(586)]({...t,translations:this[i(553)][i(479)][i(571)]}))),this[i(553)][i(527)][i(570)](i(502),(t=>this[i(486)](t))),this[i(553)][i(527)][i(570)](i(588),(t=>this[i(554)](t))),this[i(553)][i(527)][i(570)](i(549),!1),this[i(614)](),this[i(487)]()}set[Xo(615)](t){const e=Xo;this[e(553)][e(584)][e(500)](e(464))[e(615)]=t}get[Xo(615)](){const t=Xo;return this[t(553)][t(584)][t(500)](t(464))[t(615)]}[Xo(518)](t){const e=Xo;return this[e(553)][e(584)][e(500)](e(464))[e(518)](t)}[Xo(505)](t){const e=Xo;return this[e(553)][e(584)][e(500)](e(540))[e(505)](t)}[Xo(551)](t){const e=Xo;return this[e(553)][e(584)][e(500)](e(540))[e(551)](t||{toJSON:!1})}[Xo(594)](){const e=Xo,i=this[e(553)],s=(0,G.sanitizeEditorConfig)(i,ea),n=i[e(584)][e(500)](e(464)),r=i[e(584)][e(500)](e(468))[e(558)];return s[e(607)]=[e(535),e(467),e(510)],delete s[e(600)],s[e(584)][e(491)](ia,ae,Te,class extends J.Plugin{static get[e(523)](){return[ae,e(468)]}[e(511)](){const s=e,o=this[s(553)][s(584)][s(500)](s(468));for(const t of r)t[s(619)]||o[s(583)](t.id)||o[s(616)](t);const a=n[s(531)][s(551)]();let c=null;const u=this[s(553)][s(584)][s(500)](s(598));u[s(615)]=n[s(615)],u[s(536)](s(580)).to(n),this[s(553)][s(521)][s(500)](s(467))[s(536)](s(580)).to(i,s(470),(t=>!t));for(const e of a){const i=null===e[s(489)];if(i&&e[s(524)]===e[s(481)])continue;const r=e[s(472)]();u[s(518)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(579)](r,o);else if(!o){const e=a[u(472)]();e.id=(0,t.uid)(),n[u(515)](e,a[u(524)])[u(565)]((t=>{c=t}))}}else e[u(579)](r,o)}))}}},Lo),s}[Xo(614)](){const t=Xo,e=this[t(553)][t(527)][t(500)](t(582))[t(537)];this[t(553)][t(527)][t(610)](t(617),(async()=>{const i=t;this[i(553)][i(508)](i(520));const s=this[i(553)][i(584)][i(500)](i(464));if(this[i(553)][i(584)][i(514)](i(494))){const t=this[i(553)][i(584)][i(500)](i(494));await t[i(592)]()}else await s[i(602)]();if(this[i(553)][i(584)][i(514)](i(526))&&this[i(553)][i(584)][i(500)](i(526))[i(476)](),this[i(553)][i(584)][i(514)](i(569))){const t=this[i(553)][i(584)][i(500)](i(569));t[i(543)]&&t[i(587)]()}const n=this[i(594)]();return e(n)[i(565)]((t=>{const e=i;return this[e(492)]=t,this[e(553)][e(584)][e(514)](e(605))&&this[e(553)][e(584)][e(500)](e(605))[e(496)](),this[e(553)][e(584)][e(514)](e(576))&&(this[e(553)][e(584)][e(500)](e(506))[e(534)][e(546)][e(555)][e(477)]=e(567)),t}))[i(591)]((t=>(console[i(538)](t),this[i(553)][i(503)](i(520)),null)))}))}[Xo(487)](){const t=Xo,e=this[t(553)][t(527)][t(500)](t(582))[t(573)];this[t(553)][t(527)][t(610)](t(502),(()=>(this[t(553)][t(584)][t(514)](t(526))&&this[t(553)][t(584)][t(500)](t(526))[t(476)](),this[t(553)][t(584)][t(514)](t(576))&&(this[t(553)][t(584)][t(500)](t(506))[t(534)][t(546)][t(555)][t(477)]=""),this[t(492)][t(584)][t(500)](t(598))[t(480)](),e(this[t(492)])[t(565)]((()=>{const e=t;if(this[e(553)][e(503)](e(520)),this[e(492)]=null,this[e(553)][e(584)][e(514)](e(605))){const t=this[e(553)][e(584)][e(500)](e(605));t[e(496)](),t[e(563)]()}})))))}[Xo(586)](t){const e=Xo,i=this[e(553)][e(527)][e(500)](e(595)),s=this[e(553)][e(527)][e(500)](e(530)),n=this[e(553)][e(527)][e(500)](e(499));return Ko[e(606)](n,t)[e(565)]((t=>(s[e(555)][e(477)]=e(539),i[e(555)][e(477)]=e(567),this[e(507)]=!0,t)))}[Xo(486)](t){const e=Xo,i=this[e(553)][e(527)][e(500)](e(595));return this[e(553)][e(527)][e(500)](e(530))[e(555)][e(477)]=e(567),i[e(555)][e(477)]="",this[e(507)]=!1,t[e(556)]()}async[Xo(554)](t){const e=Xo,i=this[e(553)],s=this[e(492)][e(584)][e(500)](e(598)),n=i[e(584)][e(500)](e(464)),r=i[e(584)][e(500)](e(541)),o=s[e(531)][e(505)](t);let a,c,u;try{await r[e(513)](o,this[e(615)]),a=r[e(542)](o),c=r[e(528)](o)}catch(t){return void console[e(538)](t)}i[e(603)][e(574)]((t=>{const s=e;for(const e of Array[s(552)](i[s(603)][s(566)][s(578)](s(585))))t[s(475)](e)})),s[e(613)]=!1,i[e(603)][e(599)]((t=>{const s=e;t[s(478)](null),t[s(484)](i[s(603)][s(493)][s(604)][s(512)]());const n=Object[s(550)](a);for(const e of i[s(603)][s(493)][s(490)])s(532)!=e[s(609)]&&e[s(560)]()&&!n[s(589)](e[s(609)])&&t[s(466)](e);for(const e of n){let n=i[s(603)][s(493)][s(557)](e);n&&n[s(560)]()||(n=t[s(568)](e));const r=c[e],o=Object[s(550)](r),u=a[e];for(const e of n[s(512)]())o[s(589)](e)||t[s(519)](e,n);for(const i of o)t[s(495)](i,c[e][i],n);t[s(590)](t[s(575)](n)),t[s(572)](i[s(474)][s(596)](u,n),n,0)}}));const l=ot(i[e(479)],e(504));return u=o[e(529)]?-1==o[e(529)][e(548)](l)?l+": "+o[e(529)]:o[e(529)]:l+": "+o[e(517)][e(525)](i[e(479)][e(612)],{month:e(485),day:e(473)})+", "+o[e(517)][e(601)](i[e(479)][e(612)],{hour:e(473),minute:e(473)}),await n[e(515)]({name:u}),s[e(613)]=!0,i[e(527)][e(500)](e(582))[e(573)]()}}function na(t,e){var i=ra();return(na=function(t,e){return i[t-=370]})(t,e)}function ra(){var t=["483668bDstuE","72371783BLienU","6570832qHXfNy","6wFDgKJ","14553081VJmSNK","5601318ZQzeZL","14hlAdDz","4othmfG","2197845NtTYwZ","4394724DrXjhB","10aInmsz"];return(ra=function(){return t})()}!function(t){for(var e=na,i=t();;)try{if(897608===parseInt(e(378))/1*(-parseInt(e(370))/2)+parseInt(e(376))/3*(-parseInt(e(374))/4)+-parseInt(e(375))/5+parseInt(e(372))/6+parseInt(e(373))/7*(-parseInt(e(380))/8)+-parseInt(e(371))/9+-parseInt(e(377))/10*(-parseInt(e(379))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var 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:()=>ue,Revision:()=>Y,RevisionHistory:()=>na,RevisionHistoryUI:()=>Ht,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>mt,RevisionViewer:()=>oe,RevisionViewerEditor:()=>Xo,RevisionViewerLoadingOverlay:()=>Ie,RevisionViewerUI:()=>Te,RevisionsRepository:()=>et,RevisionsSidebar:()=>Fo,ShowChangeCommand:()=>le});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,n=new Map,R=void 0){const M=R?.(t,e,i,n);if(null!=M)return M;if(null==(A=t)||"object"!=typeof A&&"function"!=typeof A)return t;var A;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=T(t[s],s,i,n,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,T(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(T(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]=T(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 x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,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]=T(i[a],a,n,s,r))}}function R(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function M(t){return R(t)}function A(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&A(n,i)&&(void 0!==i||e in t)||(t[e]=i)},V=/^(?:0|[1-9]\d*)$/;function D(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}const C=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(F.test(t)||!C.test(t))||null!=e&&Object.hasOwn(e,t)))}function j(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function P(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function 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&&!P(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let t=0;t<s.length&&null!=r;t++){const e=j(s[t]);let o;if(t===s.length-1)o=i(r[e]);else{const i=r[e],a=n(i);o=void 0!==a?a:P(i)?i:D(s[t+1])?[]:{}}E(r,e,o),r=r[e]}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 Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const n=t[e];return void 0===n?z(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=j(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);const n=t[e=Object.is(e?.valueOf(),-0)?"-0":String(e)];return void 0===n?i:n}}}function H(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;try{return delete i[n],!0}catch{return!1}}const $=B;function q(){const t=["createdAt","811454UEMZrA","model","fromVersion","setName","fire","creator","name","authorsIds","set","_update","350322cjGEmd","toJSON","setAttribute","creatorId","57628KHAcEQ","2344890cgectc","removeAttribute","25525uGuZqY","map","174FChxfu","diffData","toVersion","259644MXFFkZ","80mHfSZG","4YMhvaU","82656iEBKMa","authors","attributes"];return(q=function(){return t})()}function B(t,e){const i=q();return(B=function(t,e){return i[t-=211]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(108343===-parseInt(e(213))/1*(-parseInt(e(232))/2)+-parseInt(e(228))/3+-parseInt(e(211))/4+parseInt(e(235))/5*(parseInt(e(237))/6)+-parseInt(e(218))/7+parseInt(e(212))/8*(-parseInt(e(214))/9)+parseInt(e(233))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(q);class Y extends((0,t.ObservableMixin)()){id;[$(223)];[$(215)];[$(238)];[$(239)];[$(220)];[$(219)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(223)]=e[i(223)]||null,this[i(215)]=e[i(215)]||[],this[i(238)]=e[i(238)]||null,this[i(239)]=e[i(239)]||0,this[i(220)]=e[i(220)]||0,this[i(226)](i(224),e[i(224)]||""),this[i(226)](i(217),e[i(217)]||new Date),this[i(226)](i(216),e[i(216)]||{})}[$(221)](t){this[$(227)]({name:t})}[$(230)](t,e){const i=$,n=M(this[i(216)]);U(n,t,e),this[i(227)]({attributes:n})}[$(234)](t){const e=$,i=M(this[e(216)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return H(t,e);if("number"==typeof e?e=j(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&z(e))return H(t,W(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(227)]({attributes:i})}[$(227)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(224),i(217),i(238),i(215),i(216),i(239),i(220),i(231)];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(215)]&&(s[i(225)]=s[i(215)][i(236)](t=>t.id),delete s[i(215)]),this[i(222)](i(227),s,e))}[$(229)](){const t=$;return{id:this.id,name:this[t(224)],creatorId:this[t(223)]?this[t(223)].id:null,authorsIds:this[t(215)][t(236)](t=>t.id),diffData:this[t(238)],createdAt:this[t(217)],attributes:this[t(216)],fromVersion:this[t(220)],toVersion:this[t(239)]}}}var G=i(782),J=i(211),X=i(783);const K=tt;function Q(){const t=["319582FyPTBP","add","plugins","name","data","9297220htuECU","getRevision","114TULnEN","creatorId","createRevision","2210895gmrIfD","getIndex","143563mNuDvb","newRevisionId","push","from","length","3771RMuwYa","attributes","getRevisions","toJSON","later","isPremiumPlugin","_revisions","addRevision","oldRevisionId","requires","join","reverse","1489386DdsgrN","RevisionsRepository","afterInit","fromVersion","getLaterVisibleRevision","fromCharCode","isOfficialPlugin","getEarlierVisibleRevision","earlier","diffData","3wmARzk","createdAt","getRevisionsIterator","editor","getRevisionsInDiff","4152xATbLp","get","map","Users","href","isNaN","getUser","pluginName","759640zRujGu","toVersion","authorsIds"];return(Q=function(){return t})()}function tt(t,e){const i=Q();return(tt=function(t,e){return i[t-=260]})(t,e)}!function(t){const e=tt,i=t();for(;;)try{if(413766===parseInt(e(308))/1*(-parseInt(e(269))/2)+-parseInt(e(298))/3+parseInt(e(266))/4+parseInt(e(279))/5+-parseInt(e(276))/6*(parseInt(e(281))/7)+-parseInt(e(313))/8*(-parseInt(e(286))/9)+parseInt(e(274))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class et extends G.Plugin{[K(292)];static get[K(295)](){return[J.Users]}static get[K(265)](){return K(299)}static get[K(304)](){return!0}static get[K(291)](){return!0}get[K(285)](){const t=K;return this[t(292)][t(285)]}constructor(e){const i=K;super(e),this[i(292)]=new t.Collection}[K(300)](){!async function(e){const i=k([117,120,88,89,106,78,109,118,122,98,74,107,56,68,110,50,71,67,90,100,73,52,102,85,81,54,66,97,104,103,48,69,115,77,72,84,57,83,82,49,114,51,99,55,65,75,79,53,119,101,111,121,116,112,105,76,113,86,87,70,80,108]),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(263)](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([117]);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(260)](t=>String[e(303)](t))[e(296)]("")}!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:1750291200;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(262)]);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)}[K(278)](t){const e=K,i=this[e(311)][e(271)][e(314)](e(261));return new Y({id:t.id,name:t[e(272)],creator:t[e(277)]?i[e(264)](t[e(277)]):null,diffData:t[e(307)]||t[e(273)],authors:t[e(268)][e(260)](t=>i[e(264)](t)),createdAt:new Date(t[e(309)]),attributes:t[e(287)],fromVersion:t[e(301)],toVersion:t[e(267)]})}[K(293)](t,e=0){const i=K;this[i(292)][i(270)](t,e)}[K(275)](t){const e=K;return this[e(292)][e(314)](t)}[K(288)](t={toJSON:!1}){const e=K,i=Array[e(284)](this[e(292)]);return i[e(297)](),t[e(289)]?i[e(260)](t=>t[e(289)]()):i}[K(280)](t){const e=K;return this[e(292)][e(280)](t)}[K(305)](t){const e=K,[,i]=this[e(310)](t,{direction:e(306)});return i}[K(302)](t){const e=K,[,i]=this[e(310)](t,{direction:e(290)});return i}[K(312)](t){const e=K,i=[];for(const n of this[e(310)](t[e(282)]))if(i[e(283)](n),n.id===t[e(294)])break;return i}*[K(310)](t,{direction:e=K(306),filter:i=()=>!0}={}){const n=K,s=n(306)===e?1:-1;let r=this[n(292)][n(314)](t),o=this[n(280)](r);for(yield r;r;){if(o+=s,r=this[n(275)](o),!r)return;i(r)&&(yield r)}}}const it=st;function nt(){const t=["1727957ZJtnvn","customProperties","default","name","1013368LYREKs","pluginName","htmlProcessor","18YgtotF","domDocument","createElement","fillerOffset","revision-start","insertions","viewChildrenToDom","37580XdHnOl","704VNiROW","collaboration.channelId","data-revision-","get","isAttached","marked","loadRevisionData","diffData","constructor","render","_typeCharToViewClass","processor","_makeModelFromViewString","document","getRevisionDocumentData","useFillerType","91432CcfeMX","_setCustomProperty","data","domChildrenToView","getRevisionRootsAttributes","view","_viewClassToTypeChar","_appendChild","95xljzUX","append","config","attributes","getFillerOffset","parse","domConverter","toData","from","40060AHftLd","length","children","revision-end","_getTypeCharForViewElement","90PNTUjS","attachChange","map","_getViewFromDiffObj","isPremiumPlugin","getRevision","string","innerHTML","forEach","1413237QYplqM","editing","attributesAfter","startsWith","24NOYXJN","childNodes","editor","toModel","RevisionHistoryUtils","isOfficialPlugin","22UGuGWM","filter","div","type","_removeRevisionMarkers","22630738ppImwY"];return(nt=function(){return t})()}function st(t,e){const i=nt();return(st=function(t,e){return i[t-=299]})(t,e)}!function(t){const e=st,i=t();for(;;)try{if(756440===parseInt(e(336))/1*(-parseInt(e(360))/2)+-parseInt(e(350))/3+parseInt(e(319))/4*(parseInt(e(327))/5)+-parseInt(e(373))/6*(parseInt(e(366))/7)+parseInt(e(370))/8*(-parseInt(e(341))/9)+parseInt(e(302))/10*(-parseInt(e(303))/11)+parseInt(e(354))/12*(parseInt(e(365))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class rt extends G.Plugin{static get[it(371)](){return it(358)}static get[it(359)](){return!0}static get[it(345)](){return!0}[it(325)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[it(313)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[it(309)](t,e){const i=it;if(t[i(310)]||!e)return;const n=this[i(356)][i(329)][i(306)](i(304)),s=await e[i(346)]({channelId:n,revisionId:t.id});t[i(310)]=s[i(310)]}[it(317)](t){const e=it,i={};for(const n in t[e(310)]){if(t[e(310)][n][e(342)]&&!t[e(310)][n][e(342)][e(307)])continue;const s=this[e(364)](JSON[e(332)](t[e(310)][n][e(300)])),r=this[e(356)][e(351)][e(324)][e(316)],o=new X.ViewDocumentFragment(r,s[e(343)](t=>this[e(344)](t,!1)));this[e(356)][e(321)][e(314)][e(318)](e(308)),i[n]=this[e(356)][e(321)][e(314)][e(334)](o),this[e(356)][e(321)][e(314)][e(318)](e(368))}return i}[it(323)](t){const e=it,i={};for(const n in t[e(310)])t[e(310)][n][e(342)]&&!t[e(310)][n][e(342)][e(307)]||(i[n]=t[e(310)][n][e(352)]||{});return i}[it(340)](t){const e=it;return this[e(325)][e(306)](t[e(311)])}[it(344)](t,e){const i=it,n=this[i(356)][i(351)][i(324)][i(316)];if(i(347)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(363)]||"r"==t[i(363)]?[]:t[i(338)][i(343)](t=>this[i(344)](t,e));const o=this[i(313)][i(306)](t[i(363)])||X.ViewElement,a=this[i(356)][i(321)][i(372)][i(333)];if(s=new o(n,t[i(369)],t[i(330)],r),"u"==t[i(363)]&&t[i(338)][0]){const r=t[i(338)][0];if(s[i(312)]=function(t){const e=i,n=t[e(375)](e(362));return n[e(348)]=r,n[e(355)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(326)](s);const e=Array[i(335)](a[i(301)](t,{bind:!1})),r=a[i(374)][i(375)](i(362));r[i(328)](...e),s=Array[i(335)](a[i(322)](r))[0]}}else if("r"==t[i(363)]&&t[i(338)][0]){const r=t[i(338)][0];if(s[i(312)]=function(t){t[i(348)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(326)](s);const e=Array[i(335)](a[i(301)](t,{bind:!1})),r=a[i(374)][i(375)](i(362));r[i(328)](...e);const o=Array[i(335)](a[i(322)](r));o[i(337)]>1?s[i(326)](o):s=o[0]}}if(t[i(367)])for(const[e,n]of t[i(367)])s[i(320)](e,n);const c=void 0===t[i(376)]?null:t[i(376)];return null!==c&&(s[i(331)]=()=>c),s}}[it(315)](t){const e=it,i=JSON[e(332)](t),n=this[e(356)][e(351)][e(324)][e(316)],s=new X.ViewDocumentFragment(n,i[e(343)](t=>this[e(344)](t,!0)));return this[e(356)][e(321)][e(357)](s)}[it(364)](t){const e=it;return(t=t[e(361)](t=>!t[e(369)]||e(299)!==t[e(369)]&&e(339)!==t[e(369)]))[e(349)](t=>{const i=e;i(347)!=typeof t&&(t[i(338)]=this[i(364)](t[i(338)]),t[i(330)]=t[i(330)][i(361)](t=>!t[0][i(353)](i(305))))}),t}}function ot(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function at(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ct(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return ut(t,e,r,o)}return ut(t,e,r,o)}function ut(t,i,n,T){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 A(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 M=(n=n??new Map).get(t),E=n.get(i);if(null!=M&&null!=E)return M===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ct(s,i.get(e),e,t,i,n,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ct(o,e,void 0,t,i,n,T));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ct(t[e],i[e],e,t,i,n,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&ut(new Uint8Array(t),new Uint8Array(i),n,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&ut(new Uint8Array(t),new Uint8Array(i),n,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(ut(t.constructor,i.constructor,n,T)||at(t)&&at(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ct(o,i[r],r,t,i,n,T))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function lt(){}function ht(t,e){return function(t,e,i){return ct(t,e,void 0,void 0,void 0,void 0,i)}(t,e,lt)}const dt=ft;function ft(t,e){const i=kt();return(ft=function(t,e){return i[t-=318]})(t,e)}!function(t){const e=ft,i=t();for(;;)try{if(904767===-parseInt(e(623))/1+-parseInt(e(339))/2+parseInt(e(616))/3*(parseInt(e(365))/4)+-parseInt(e(349))/5+-parseInt(e(446))/6+-parseInt(e(355))/7*(parseInt(e(498))/8)+parseInt(e(464))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(kt);class mt extends G.Plugin{[dt(439)];[dt(456)];[dt(609)]=null;[dt(550)];[dt(612)]=null;[dt(618)];[dt(625)];[dt(486)];[dt(566)];[dt(530)];[dt(492)];[dt(417)];[dt(403)];[dt(608)];static get[dt(619)](){return dt(449)}static get[dt(510)](){return!0}static get[dt(445)](){return!0}static get[dt(466)](){return[J.Users,et,rt,G.PendingActions]}constructor(e){const i=dt;super(e),this[i(550)]=this[i(535)][i(433)][i(631)](i(367)),this[i(530)]=this[i(535)][i(433)][i(631)](i(324)),this[i(618)]=new pt(this[i(535)]),this[i(486)]=this[i(535)][i(615)][i(631)](i(438))||i(635),this[i(566)]=new Map,this[i(608)]=null;const n=(0,t.uid)();this[i(625)]={history:this[i(535)][i(360)][i(423)][i(357)],getLatestVersion:()=>Promise[i(472)](this[i(535)][i(360)][i(423)][i(412)]),getCurrentRevisionId:()=>n},this[i(594)](i(476),!1),this[i(594)](i(572),!0),this[i(594)](i(589),!1),this[i(535)][i(615)][i(448)](i(329),!0),this[i(535)][i(371)][i(553)](i(358))[i(571)]({view:i(411)})}[dt(521)](){const t=dt;this[t(396)](),this[t(535)][t(459)].on(t(507),()=>{const e=t,i=this[e(550)][e(390)](0),n=i&&null===i[e(512)]?i:null;if(this[e(417)]=!!n&&this[e(535)][e(615)][e(631)](e(329)),this[e(535)][e(433)][e(494)](e(574))){const t=this[e(625)][e(469)](),s=this[e(550)][e(390)](t);if(s)this[e(403)]=s[e(534)],this[e(417)]=!1;else{const t=this[e(625)][e(357)][e(624)][e(378)](t=>!t[e(613)]),s=t?t[e(585)]:this[e(625)][e(357)][e(412)];i?(i[e(582)]<s&&i[e(598)]({toVersion:s}),this[e(417)]?(this[e(625)][e(469)]=()=>n.id,this[e(403)]=n[e(534)]):(this[e(403)]=i[e(582)],this[e(417)]=!1)):(this[e(403)]=s,this[e(417)]=!1)}}else n&&(this[e(535)][e(360)][e(423)][e(357)][e(412)]=Math[e(524)](n[e(582)],this[e(535)][e(360)][e(423)][e(357)][e(412)]),n[e(534)]===n[e(582)]?(0!==n[e(534)]&&(this[e(625)][e(469)]=()=>n.id),this[e(417)]=!1):this[e(417)]&&(this[e(625)][e(469)]=()=>n.id,this[e(403)]=n[e(534)])),this[e(417)]||(this[e(403)]=this[e(535)][e(360)][e(423)][e(412)]);this[e(618)][e(521)](this[e(625)][e(357)]),this[e(620)](this[e(403)]),this[e(568)](this[e(403)]),this[e(612)]&&this[e(347)]()}),this[t(406)](t(476)).to(this,t(589),t=>!t),this[t(439)]=this[t(535)][t(615)][t(631)](t(439));const e=this[t(535)];this[t(456)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(346)==r||i(499)==r||i(381)==r||i(415)==r||i(599)==r||i(319)==r||i(602)==r||i(591)==r){delete e[s],n=r,clearInterval(this[i(456)]),this[i(456)]=void 0;break}}i(499)==n&&e[i(364)](i(606)),i(381)==n&&e[i(364)](i(539)),i(415)==n&&e[i(364)](i(583)),i(599)==n&&e[i(364)](i(399),i(573)),i(319)==n&&e[i(364)](i(474)),i(602)==n&&e[i(364)](i(593)),i(591)==n&&e[i(364)](i(440))},1e3)}async[dt(414)](){const t=dt;if(this[t(550)][t(354)]>0){const e=this[t(550)][t(390)](0),i=await this[t(567)](e),n=await this[t(352)](e);this[t(320)](i,n)}}[dt(506)](){const t=dt;super[t(506)](),this[t(456)]&&clearInterval(this[t(456)])}[dt(549)](t){this[dt(625)]=t}async[dt(373)](){const t=dt,e=await this[t(625)][t(555)]();if(e>this[t(609)][t(582)]){await this[t(547)]();const i=this[t(370)]({revision:this[t(609)],to:e});i[t(471)]=i[t(611)][t(450)](e=>this[t(535)][t(433)][t(631)](t(581))[t(410)](e)),this[t(609)][t(598)](i)}}async[dt(503)](e={},i=null){const n=dt,s=[];await this[n(547)](),this[n(417)]=!1,i>this[n(609)][n(582)]&&(i=null),null===i&&(i=await this[n(625)][n(555)]());const r=this[n(434)](i),o=this[n(370)]({from:r,to:i});if(this[n(609)][n(582)]<i){const t=this[n(370)]({revision:this[n(609)],from:i,to:i});t[n(471)]=[],t[n(611)]=[],t.id=this[n(609)].id,this[n(609)][n(598)](t,!0),delete t[n(471)],s[n(386)](t)}e[n(630)]=this[n(535)][n(433)][n(631)](n(581)).me.id,e[n(375)]=e[n(375)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(603)](e);s[n(386)](e);const c=this[n(550)][n(632)](a);if(0!==c){const t=this[n(550)][n(390)](c-1);if(t[n(534)]!==i){const r=this[n(618)][n(633)](i,t[n(582)]),o={id:t.id,diffData:r[n(393)],authorsIds:r[n(611)],authors:r[n(611)][n(450)](t=>this[n(535)][n(433)][n(631)](n(581))[n(410)](t)),fromVersion:i};t===this[n(609)]&&(o[n(586)]=new Date(e[n(586)][n(515)]()+10)),t[n(598)](o,!0),delete o[n(471)],s[n(386)](o)}}if(this[n(612)]){for(const t of s)this[n(520)](t.id,t,!0);this[n(347)]()}return a}[dt(603)](t){const e=dt,i=this[e(550)][e(557)](t);return this[e(612)]&&i.on(e(598),(t,i,n)=>{const s=e;n||(this[s(520)](i.id,i,!0),this[s(347)]())}),this[e(550)][e(483)](i,this[e(639)](i)),i}async[dt(567)](t){const e=dt;return await this[e(530)][e(564)](t,this[e(612)]),this[e(530)][e(567)](t)}async[dt(352)](t){const e=dt;return await this[e(530)][e(564)](t,this[e(612)]),this[e(530)][e(352)](t)}[dt(347)](){const t=dt;if(0===this[t(566)][t(543)])return;if(this[t(589)])return;let e=Array[t(342)](this[t(566)][t(392)]());this[t(566)][t(523)]();for(let i=0;i<e[t(354)];i++){const n=e[i];let s=!1;for(const e of Object[t(629)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(424)](t=>null!==t),!e[t(354)])return;for(let i=0;i<e[t(354)];i++){const n=e[i];void 0!==n[t(534)]&&void 0===n[t(582)]&&(n[t(582)]=this[t(550)][t(390)](n.id)[t(582)]),void 0!==n[t(582)]&&void 0===n[t(534)]&&(n[t(534)]=this[t(550)][t(390)](n.id)[t(534)])}const i=this[t(535)][t(615)][t(631)](t(438));this[t(589)]=!0,this[t(576)](),this[t(612)][t(622)](e,i)[t(489)](()=>{this[t(589)]=!1})[t(500)](e=>{const i=t;if(e)for(const t of e)this[i(325)]({id:t.id,createdAt:t[i(586)]});this[i(441)](),this[i(347)]()})}[dt(370)]({revision:t=null,from:e=null,to:i=null}){const n=dt;e=null!==e?e:t[n(534)],i=null!==i?i:t[n(582)];const s=this[n(618)][n(633)](e,i),r={diffData:s[n(393)],authorsIds:s[n(611)],fromVersion:e,toVersion:i};if(!t||i!==t[n(582)]){const t=i-1,e=this[n(625)][n(357)][n(400)](t);r[n(586)]=e&&e[n(586)]||new Date}if(this[n(608)]&&e===this[n(608)][n(534)])for(const t of this[n(608)][n(471)])r[n(611)][n(637)](t.id)||r[n(611)][n(386)](t.id);return r}[dt(520)](t,e,i){const n=dt;if(this[n(566)][n(494)](t)){const s=this[n(566)][n(631)](t);e=i?{...s,...e}:{...e,...s}}this[n(566)][n(594)](t,e)}[dt(325)](t){const e=dt,i=this[e(550)][e(390)](t.id);if(t[e(586)]&&(t[e(586)]=new Date(t[e(586)])),t[e(611)]){const i=this[e(535)][e(433)][e(631)](e(581));t[e(471)]=t[e(611)][e(450)](t=>i[e(410)](t))}i[e(598)](t,!0)}[dt(620)](t){const e=dt,i=this[e(550)][e(390)](this[e(550)][e(354)]-1);if(i)this[e(486)]=i.id;else{const i=!this[e(535)][e(360)][e(423)][e(575)][e(378)](t=>this[e(535)][e(360)][e(344)](t)),n=this[e(535)][e(433)][e(631)](e(581)).me.id,s=ot(this[e(535)][e(551)],e(i?636:337));this[e(554)]({from:t,to:t,id:this[e(486)],name:s,creatorId:n})}}[dt(568)](t){const e=dt,i=this[e(625)][e(469)]();this[e(609)]=this[e(550)][e(390)](i),this[e(609)]||(this[e(609)]=this[e(554)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[dt(547)](){const t=dt;this[t(417)]&&!this[t(608)]&&(await this[t(530)][t(564)](this[t(609)],this[t(612)]),this[t(618)][t(482)](this[t(609)]),this[t(608)]={fromVersion:this[t(609)][t(534)],authors:this[t(609)][t(471)][t(429)]()})}[dt(320)](e,i){const n=dt;let s=this[n(535)][n(615)][n(631)](n(495)),r=this[n(535)][n(615)][n(631)](n(328));if(void 0===s){s={};for(const t of this[n(535)][n(360)][n(423)][n(526)]())s[t]=""}if(n(470)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(535)][n(360)][n(423)][n(526)]())r[t]={}}let o=!1;const a=Object[n(629)](s),c=Object[n(629)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(368)]()){o=!0;break}if(!ht(r[t],i[t])&&Object[n(629)](r[t])[n(354)]>0){o=!0;break}}o||(o=c[n(420)](t=>!this[n(535)][n(360)][n(423)][n(556)](t))),o&&(0,t.logWarning)(n(387),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(535)][n(615)][n(594)](n(495),e),this[n(535)][n(615)][n(594)](n(328),i)}[dt(576)](){const t=dt;if(!this[t(492)]){const e=this[t(535)][t(433)][t(631)](t(331));this[t(492)]=e[t(321)](ot(this[t(535)][t(551)],t(614)))}}[dt(441)](){const t=dt;this[t(492)]&&(this[t(535)][t(433)][t(631)](t(331))[t(443)](this[t(492)]),this[t(492)]=null)}[dt(639)](t){const e=dt,i=this[e(550)][e(427)]();i[e(330)]();let n=0;for(;n<i[e(354)];){const s=i[n];if(s===this[e(609)]){n++;continue}if(s.id===this[e(486)])break;const r=t[e(582)]-s[e(582)]||t[e(534)]-s[e(534)];if(r>0)break;if(r<0)n++;else{if(!t[e(512)]&&s[e(512)])break;if(s[e(512)]||!t[e(512)]){if(t[e(586)]>s[e(586)])break;n++}else n++}}return n}[dt(434)](t){const e=dt,i=this[e(550)][e(427)]();i[e(330)](),i[e(468)]();const n=i[e(378)](i=>i[e(582)]<=t)[e(582)];return n<this[e(403)]?this[e(403)]:n}[dt(554)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=dt,o=this[r(370)]({from:e,to:i});o[r(375)]=t,o[r(630)]=n,o.id=s;const a=this[r(603)](o);return this[r(612)]&&this[r(520)](o.id,o,!0),a}[dt(396)](){const t=dt;this[t(535)][t(371)][t(553)](t(383))[t(529)]({model:t(411)})}}class pt{[dt(535)];[dt(627)];[dt(513)];[dt(454)];[dt(452)];[dt(560)];[dt(338)];[dt(334)];[dt(460)];[dt(540)];[dt(634)];[dt(532)];[dt(484)];[dt(511)];[dt(605)];[dt(592)];[dt(389)];constructor(t){const e=dt;this[e(535)]=t,this[e(513)]=new Map,this[e(454)]=-1,this[e(452)]=-1,this[e(560)]=new Map,this[e(338)]=new Map,this[e(334)]=new Map,this[e(460)]=new Map,this[e(540)]=new Map,this[e(634)]=new Map,this[e(532)]=new Map,this[e(484)]=new Map,this[e(511)]=new Map,this[e(605)]=new Map,this[e(592)]=1}[dt(521)](t){const e=dt;this[e(627)]=t;const i=new Map,n=new Map,s=this[e(535)][e(360)][e(423)][e(575)][e(450)](t=>t[e(435)]);for(const t of s){const s=this[e(535)][e(360)][e(423)][e(556)](t),r=vt(s);i[e(594)](t,r),n[e(594)](t,Object[e(621)](s[e(478)]()))}const r=Array[e(342)](this[e(535)][e(360)][e(343)])[e(450)](t=>[t[e(375)],t[e(617)]()]),o=this[e(627)][e(412)];this[e(374)](o,i,r,n),this[e(389)]=this[e(592)];const a=new Map,c=new Map;for(const t of s){const i=gt(t);a[e(594)](t,i),c[e(594)](t,{})}this[e(374)](Number[e(465)],a,[],c)}[dt(633)](t,e){const i=dt;if(this[i(454)]===t&&this[i(452)]<=e)this[i(513)][i(543)]>1&&this[i(362)](this[i(452)]),this[i(361)](this[i(452)],e,!0);else{if(!this[i(513)][i(494)](t)){const e=this[i(525)](t);this[i(458)](e,t,!1)}this[i(458)](t,e,!0)}return this[i(454)]=t,this[i(452)]=e,this[i(508)]()}[dt(482)](t){const e=dt,i=this[e(535)][e(433)][e(631)](e(324));this[e(323)](),this[e(454)]=t[e(534)],this[e(452)]=t[e(582)];for(const n in t[e(393)]){const s=t[e(393)][n][e(428)],r=M(t[e(393)][n][e(318)])||{},o=i[e(356)](t[e(393)][n][e(522)]);o[e(435)]=n,o[e(528)]=!s||!s[e(333)],o[e(333)]=()=>o[e(528)],this[e(460)][e(594)](n,o),this[e(540)][e(594)](n,r),s&&this[e(605)][e(594)](n,s);const a=this[e(444)](o);this[e(532)][e(594)](n,a);for(const[t,i]of o[e(343)]){if(!t[e(604)](e(490)))continue;const n=t[e(351)](":")[2];for(const t of i[e(569)]({singleCharacters:!0})){const i=this[e(326)](t),s=e(388)==t[e(597)]?t[e(348)][e(397)][e(429)](0,-1):t[e(348)][e(397)],r=a[e(570)](s)[e(455)](i);this[e(484)][e(594)](r,{userId:n})}}}this[e(389)]=this[e(592)];const n=[...Array(this[e(592)])[e(629)]()][e(429)](1)[e(424)](t=>!this[e(484)][e(494)](t));let s=0;const r=new Map;for(const o in t[e(393)]){const a=t[e(393)][o][e(428)],c=M(t[e(393)][o][e(502)])||{},u=i[e(356)](t[e(393)][o][e(336)]);u[e(435)]=o,u[e(528)]=!a||a[e(333)],u[e(333)]=()=>u[e(528)],this[e(338)][e(594)](o,u),this[e(334)][e(594)](o,c);const l=this[e(444)](u,Number[e(465)]);this[e(634)][e(594)](o,l),r[e(594)](o,u[e(333)]()?c:{});for(const[t,i]of u[e(343)]){if(!t[e(604)](e(490)))continue;const n=t[e(351)](":")[2];for(const t of i[e(569)]({singleCharacters:!0})){const i=this[e(326)](t),s=this[e(592)]++,r=e(388)==t[e(597)]?t[e(348)][e(397)][e(429)](0,-1):t[e(348)][e(397)];l[e(570)](r)[e(419)](i,s),this[e(484)][e(594)](s,{userId:n})}}for(const t of this[e(535)][e(360)][e(462)](u)[e(569)]({singleCharacters:!0})){const i=this[e(326)](t),r=e(388)==t[e(597)]?t[e(348)][e(397)][e(429)](0,-1):t[e(348)][e(397)],o=l[e(570)](r);o[e(455)](i)>0||o[e(419)](i,n[s++])}for(const[t,i]of u[e(343)])t[e(604)](e(490))||this[e(560)][e(594)](t,i)}const o=gt(e(552));this[e(460)][e(594)](e(552),o),this[e(532)][e(594)](e(552),this[e(444)](o,1));const a=gt(e(552));this[e(338)][e(594)](e(552),a),this[e(634)][e(594)](e(552),this[e(444)](a,1));const c=Array[e(342)](this[e(338)])[e(450)](([t,e])=>[t,vt(e)]);this[e(374)](this[e(452)],c,this[e(560)],r)}[dt(626)](){const t=dt;this[t(323)](),this[t(454)]=-1,this[t(452)]=-1,this[t(513)][t(523)](),this[t(521)](this[t(627)])}[dt(374)](t,e,i,n){const s=dt,r=new Map(e),o=new Map(M(n)),a=new Map;for(const[t,e]of i)a[s(594)](t,{start:e[s(335)][s(436)](),end:e[s(548)][s(436)](),rootName:e[s(409)][s(435)]});this[s(513)][s(594)](t,{roots:r,markers:a,rootsAttributes:o})}[dt(362)](t){const e=dt;this[e(513)][e(577)](t)}[dt(323)](){const t=dt;this[t(484)][t(523)](),this[t(511)][t(523)](),this[t(605)][t(523)](),this[t(338)][t(523)](),this[t(334)][t(523)](),this[t(460)][t(523)](),this[t(540)][t(523)](),this[t(634)][t(523)](),this[t(532)][t(523)](),this[t(560)][t(523)](),this[t(592)]=1,this[t(389)]=this[t(592)]}[dt(444)](t,e=null){const i=dt;let n=null;t.is(i(496))||(n=new X.ModelElement(t[i(375)],{vid_start:null===e?this[i(592)]++:e++}));const s=[];for(const n of t[i(391)]())if(n.is(i(538))){s[i(386)](this[i(444)](n,e));const t=s[s[i(354)]-1];null!==e&&(e=t.is(i(538),i(395))?t[i(455)](i(447))+1:t[i(455)](i(340))+1)}else for(let t=0;t<n[i(558)];t++)s[i(386)](new X.ModelElement(i(395),{vid:null===e?this[i(592)]++:e++}));if(t.is(i(496))){const e=gt(t[i(435)]);return e[i(385)](0,s),e}return n[i(419)](i(340),null===e?this[i(592)]++:e++),n[i(385)](0,s),n}[dt(458)](t,e,i){const n=dt;this[n(323)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(513)][n(631)](t);this[n(460)]=new Map(s),this[n(540)]=new Map(M(o));for(const[t,e]of this[n(460)])if(n(552)!==t&&(this[n(338)][n(594)](t,vt(e)),this[n(334)]=new Map(M(o)),i)){const i=this[n(592)];this[n(634)][n(594)](t,this[n(444)](e)),this[n(532)][n(594)](t,this[n(444)](e,i))}this[n(389)]=this[n(592)],this[n(338)][n(594)](n(552),vt(this[n(460)][n(631)](n(552)))),i&&this[n(634)][n(594)](n(552),this[n(444)](this[n(460)][n(631)](n(552))));for(const[t,e]of r){const i=this[n(460)][n(631)](e[n(435)]),s=this[n(338)][n(631)](e[n(435)]),r=new X.ModelRange(this[n(610)](e[n(335)],i),this[n(610)](e[n(548)],i)),o=this[n(398)](r,s);i[n(343)][n(594)](t,r),this[n(560)][n(594)](t,o)}this[n(361)](t,e,i)}[dt(361)](t,e,i){const n=dt;for(const s of this[n(627)][n(546)](t,e))this[n(516)](s,i);for(const t of this[n(338)][n(392)]())t[n(343)][n(523)]();for(const[t,e]of this[n(560)])this[n(338)][n(631)](e[n(409)][n(435)])[n(343)][n(594)](t,e[n(436)]());const s=new Map,r=new Map;for(const[t,e]of this[n(338)])s[n(594)](t,vt(e)),r[n(594)](t,this[n(334)][n(631)](t));this[n(374)](e,s,this[n(560)],r)}[dt(525)](t){const e=dt,i=Array[e(342)](this[e(513)][e(629)]());i[e(425)]((t,e)=>t-e),i[e(330)]();for(const e of i)if(e<t)return e;return Number[e(465)]}[dt(514)](t,e){const i=dt,n=Array[i(342)](e[i(343)])[i(450)](([e,n])=>[e,this[i(398)](n,t)]);t[i(343)]=new Map(n)}[dt(418)](t){const e=dt;for(const i of this[e(560)][e(392)]()){const n=i[e(416)](t),s=X.ModelRange[e(475)](n);i[e(335)]=s[e(335)],i[e(548)]=s[e(548)]}}[dt(516)](t,e){const i=dt;if(i(376)!=t[i(597)]&&i(363)!=t[i(597)]){if(i(437)==t[i(597)]){const n=t[i(487)][i(409)][i(435)];this[i(338)][i(494)](n)||(this[i(338)][i(594)](n,gt(n,!0)),this[i(334)][i(594)](n,{}),e&&this[i(634)][i(594)](n,gt(n,!0)))}else{if(i(588)==t[i(597)]||i(518)==t[i(597)]||i(345)==t[i(597)])return void this[i(509)](t);i(359)==t[i(597)]&&this[i(493)](t)}if(i(359)!==t[i(597)]){const e=this[i(491)](t,this[i(338)]);e[i(544)](),this[i(418)](e)}if(e)switch(t[i(597)]){case i(437):this[i(601)](t);break;case i(541):case i(443):case i(587):this[i(463)](t);break;case i(542):this[i(562)](t);break;case i(351):this[i(565)](t)}}else this[i(596)](t,e)}[dt(491)](t,e){const i=dt,n=t[i(436)]();return n[i(430)]=t[i(430)],this[i(332)](n,e),n}[dt(408)](t){const e=dt;return t[e(450)](t=>{const i=e,n=this[i(326)](t);return Number(t[i(366)][i(455)](n))})}[dt(517)](t,e){const i=dt;if(t.is(i(538),i(395)))e[i(386)]({item:t,type:i(559)});else{t.is(i(538))&&e[i(386)]({item:t,type:i(405)});for(const n of t[i(391)]())this[i(517)](n,e);t.is(i(538))&&e[i(386)]({item:t,type:i(388)})}return e}[dt(508)](){const t=dt,e=new Map(this[t(484)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(460)][t(629)](),...this[t(338)][t(629)]()]);a[t(577)](t(552));for(const e of a){const i=this[t(338)][t(631)](e)||gt(e,!1),n=this[t(460)][t(631)](e)||gt(e,!1);i[t(333)]()||n[t(333)]()?(s[t(336)][e]=vt(i),s[t(522)][e]=vt(n),this[t(514)](s[t(522)][e],n),this[t(514)](s[t(336)][e],i),r[t(336)][e]=this[t(517)](this[t(634)][t(631)](e),[]),r[t(522)][e]=this[t(517)](this[t(532)][t(631)](e)||gt(e,!1),[])):a[t(577)](e)}for(const s of a){const o=r[t(336)][s];for(const s of o){const r=this[t(326)](s),o=s[t(366)][t(455)](r);i[t(577)](o),o>=this[t(389)]&&n[t(594)](o,e[t(631)](o))}}for(const s of a){const a=r[t(336)][s],c=this[t(408)](r[t(522)][s]);let u=0;for(const s of a){const r=this[t(326)](s),a=s[t(366)][t(455)](r);if(!n[t(494)](a)&&!o[t(494)](a))if(i[t(494)](a))u++;else{if(a!=c[u]){const n=e[t(631)](a)||e[t(631)](c[u]);for(;a!=c[u];)i[t(494)](c[u])||(o[t(594)](c[u],n),e[t(594)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(336)][e];for(const e of s){const s=this[t(326)](e),r=e[t(366)][t(455)](s);if(o[t(494)](r)){const e=o[t(631)](r);i[t(494)](r)||i[t(594)](r,{...e}),n[t(594)](r,{...e})}}}for(const e of i[t(629)]())e>=this[t(389)]&&i[t(577)](e);const c=new Map;for(const e of a){let s=r[t(336)][e];for(const e of s)if(e[t(366)].is(t(538),t(442))){const i=this[t(326)](e),s=e[t(366)][t(455)](i);if(n[t(494)](s)){const i=e[t(366)][t(382)][t(382)][t(455)](t(536)),r=c[t(631)](i)||new Set;r[t(321)](n[t(631)](s)[t(481)]),c[t(594)](i,r)}}s=r[t(522)][e];for(const e of s)if(e[t(366)].is(t(538),t(442))){const n=this[t(326)](e),s=e[t(366)][t(455)](n);if(i[t(494)](s)){const n=e[t(366)][t(382)][t(382)][t(455)](t(536)),r=c[t(631)](n)||new Set;r[t(321)](i[t(631)](s)[t(481)]),c[t(594)](n,r)}}for(const e of c[t(629)]())(n[t(494)](e)||i[t(494)](e))&&c[t(577)](e)}for(const e of a){const s=r[t(336)][e];let o=null,a=null;for(const e of s){const s=this[t(326)](e),r=e[t(366)][t(455)](s),u=c[t(631)](r);u&&t(405)==e[t(597)]&&(o=Array[t(342)](u)[0],a=e[t(366)][t(455)](t(340))),o&&(i[t(594)](r,{userId:o}),n[t(594)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(522)][e],a=s[t(336)][e];for(const{userId:e}of this[t(511)][t(392)]())null!==e&&l[t(321)](e);for(const{userId:e}of this[t(605)][t(392)]())null!==e&&l[t(321)](e);this[t(578)](a,r[t(336)][e],n,t(404),l),this[t(578)](o,r[t(522)][e],i,t(527),l),u[e]={insertions:this[t(545)](a),deletions:this[t(545)](o),attachChange:this[t(605)][t(631)](e)||null,attributesBefore:M(this[t(540)][t(631)](e))||{},attributesAfter:M(this[t(334)][t(631)](e))}}return{diffData:u,authorsIds:Array[t(342)](l)}}[dt(590)](t){const e=dt;for(const[,i]of t[e(343)]){const t=i[e(335)][e(600)]()[e(424)](t=>e(442)==t[e(375)]);for(const i of t)1==i[e(533)]&&i[e(497)](0).is(e(538),e(413))&&i[e(497)](0)[e(419)](e(628),!0)}}[dt(545)](t){const e=dt;this[e(590)](t);const i=this[e(535)][e(459)][e(422)](t,{}),n=Array[e(342)](i[e(391)]())[e(450)](t=>this[e(431)](t));return JSON[e(457)](n)}[dt(431)](t){const e=dt;if(t.is(e(395)))return t[e(459)];{const i=this[e(535)][e(433)][e(631)](e(324)),n=t,s=this[e(535)][e(459)][e(350)][e(394)],r={type:i[e(531)](n),name:n[e(375)],attributes:Array[e(342)](n[e(478)]()),children:Array[e(342)](n[e(391)]())[e(450)](t=>this[e(431)](t))};if(t.is(e(579))&&e(384)!=t[e(375)]){const i=t[e(561)](s[e(479)],s);r[e(380)][e(386)](i[e(563)])}else if(t.is(e(327))){const i=s[e(479)][e(379)](n[e(375)]);t[e(561)](i,s),r[e(380)][e(386)](i[e(595)])}const o=Array[e(342)](n[e(477)]());o[e(354)]>0&&(r[e(519)]=o);const a=n[e(372)]();return null!==a&&(r[e(451)]=a),r}}[dt(578)](t,e,i,n,s){const r=dt;let o=null,a=null,c=0;const u=this[r(535)][r(360)];for(let n=0;n<e[r(354)];n++){const s=this[r(326)](e[n]),c=e[n][r(366)][r(455)](s),h=i[r(631)](c),d=n==e[r(354)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(481)]!=o[r(481)])&&(l(h,yt(a,t,u),yt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,yt(a,t,u),bt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(481)],d=l(490)+n+":"+h+":"+c++,f=u[l(377)](i,a);t[l(343)][l(594)](d,f),null!==h&&s[l(321)](h)}}[dt(326)](t){const e=dt;switch(t[e(597)]){case e(405):return e(536);case e(388):return e(340);default:return e(447)}}[dt(332)](t,e){const i=dt;t[i(585)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(631)](s[i(409)][i(435)]);t[n]=this[i(610)](s,r)}if(s instanceof X.ModelRange){const r=e[i(631)](s[i(409)][i(435)]);t[n]=this[i(398)](s,r)}i(409)===n&&(t[i(409)]=e[i(631)](t[i(409)][i(435)]))}}[dt(398)](t,e){const i=dt;return this[i(535)][i(360)][i(377)](this[i(610)](t[i(335)],e),this[i(610)](t[i(548)],e))}[dt(610)](t,e){const i=dt;return this[i(535)][i(360)][i(369)](e,t[i(397)],t[i(480)])}[dt(601)](t){const e=dt,i=this[e(634)][e(631)](t[e(487)][e(409)][e(435)]),n=this[e(610)](t[e(487)],i),s=null===t[e(430)]?null:t[e(430)]||this[e(535)][e(433)][e(631)](e(581)).me.id,r=n[e(382)],o=this[e(592)],a=[];for(const i of t[e(467)])if(i.is(e(538)))a[e(386)](this[e(444)](i));else for(let t=0;t<i[e(558)];t++)a[e(386)](new X.ModelElement(e(395),{vid:this[e(592)]++}));const c=this[e(592)];for(let t=o;t<c;t++)this[e(484)][e(594)](t,{userId:s});r[e(385)](n[e(341)],a)}[dt(463)](t){const e=dt;(t=this[e(491)](t,this[e(634)]))[e(544)]();const i=null===t[e(430)]?null:t[e(430)]||this[e(535)][e(433)][e(631)](e(581)).me.id,n=t[e(432)](),s=n[e(382)],r=n[e(341)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(497)](e);r.is(a(538),a(395))?n[a(594)](r[a(455)](a(447)),{userId:i}):(n[a(594)](r[a(455)](a(536)),{userId:i}),t(n,r,0,r[a(533)]),n[a(594)](r[a(455)](a(340)),{userId:i}))}}(this[e(484)],s,r,r+t[e(353)])}[dt(562)](t){const e=dt,i=null===(t=this[e(491)](t,this[e(634)]))[e(430)]?null:t[e(430)]||this[e(535)][e(433)][e(631)](e(581)).me.id,n=t[e(426)][e(382)],s=t[e(322)][e(382)],r=n[e(455)](e(340)),o=s[e(455)](e(536));n[e(419)](e(340),s[e(455)](e(340))),s[e(419)](e(340),r),this[e(484)][e(594)](o,{userId:i}),this[e(484)][e(594)](r,{userId:i}),t[e(544)]()}[dt(565)](t){const e=dt,i=null===(t=this[e(491)](t,this[e(634)]))[e(430)]?null:t[e(430)]||this[e(535)][e(433)][e(631)](e(581)).me.id,n=t[e(401)],s=t[e(638)][e(382)];t[e(544)]();const r=s[e(455)](e(340)),o=t[e(488)][e(501)];if(n){const t=o[e(455)](e(340)),n=s[e(455)](e(340));s[e(419)](e(340),t),o[e(419)](e(340),n),this[e(484)][e(594)](s[e(455)](e(340)),{userId:i}),this[e(484)][e(594)](o[e(455)](e(536)),{userId:i})}else{const t=this[e(592)]++,n=this[e(592)]++;s[e(419)](e(340),t),o[e(419)](e(536),n),o[e(419)](e(340),r),this[e(484)][e(594)](t,{userId:i}),this[e(484)][e(594)](n,{userId:i})}}[dt(493)](t){const e=dt;if(!t[e(402)])return;const i=(t=this[e(491)](t,this[e(338)]))[e(453)]?t[e(453)][e(409)]:null,n=t[e(421)]?t[e(421)][e(409)]:null;i&&this[e(560)][e(577)](t[e(375)]),n&&this[e(560)][e(594)](t[e(375)],t[e(421)][e(436)]());const s=null===t[e(430)]?null:t[e(430)]||this[e(535)][e(433)][e(631)](e(581)).me.id,r=t[e(375)];if(!this[e(511)][e(494)](r))return void this[e(511)][e(594)](r,{range:t[e(453)],userId:s});const o=this[e(511)][e(631)](r),a=o[e(580)],c=t[e(421)];null==a&&null==c||a&&c&&a[e(504)](c)?this[e(511)][e(577)](t[e(375)]):o[e(481)]=s}[dt(596)](t,e){const i=dt;this[i(338)][i(494)](t[i(435)])?this[i(338)][i(631)](t[i(435)])[i(528)]=t[i(505)]:(this[i(338)][i(594)](t[i(435)],gt(t[i(435)],!0)),this[i(334)][i(594)](t[i(435)],{}),e&&this[i(634)][i(594)](t[i(435)],gt(t[i(435)],!0)));const n=null===t[i(430)]?null:t[i(430)]||this[i(535)][i(433)][i(631)](i(581)).me.id,s=this[i(605)][i(631)](t[i(435)]);s&&s[i(481)]===n?this[i(605)][i(577)](t[i(435)]):this[i(605)][i(594)](t[i(435)],{userId:n,isAttached:t[i(505)]})}[dt(509)](t){const e=dt,i=this[e(334)][e(631)](t[e(409)][e(435)]);null===t[e(537)]?delete i[t[e(407)]]:i[t[e(407)]]=t[e(537)]}}function vt(t){const e=dt,i=gt(t[e(435)],t[e(333)]());for(const n of t[e(391)]()){const t=n[e(485)](!0);i[e(607)](t)}return i}function gt(t,e=!0){const i=dt,n=new X.ModelDocumentFragment;return n[i(435)]=t,n[i(528)]=e,n[i(333)]=()=>n[i(528)],n}function yt(t,e,i){const n=dt,s=n(388)==t[n(597)]?i[n(461)](t[n(366)],n(548)):i[n(473)](t[n(366)]);return i[n(369)](e,s[n(397)],s[n(480)])}function kt(){const t=["_saveMetaData","name","addRoot","createRange","find","createElement","children","revisionHistoryLicenseKeyExpired","parent","dataDowncast","$comment","_insertChild","push","editor-initial-data-replaced-with-revision-data","elementEnd","_startingRevisionId","getRevision","getChildren","values","diffData","domConverter","$text","_setConversion","path","_fixRange","featureNotAllowed","getOperation","graveyardPosition","affectsData","_startingVersion","insertion","elementStart","bind","key","_getBaseVids","root","getUser","revision","version","paragraph","afterInit","revisionHistoryLicenseKeyDomainLimit","getTransformedByOperation","_continueCurrentRevision","_transformMarkers","_setAttribute","some","newRange","toView","document","filter","sort","targetPosition","getRevisions","attachChange","slice","_authorId","_getViewJson","getMovedRangeStart","plugins","_getFromVersion","rootName","clone","insert","collaboration.channelId","licenseKey","usageLimit","_removePendingAction","tableCell","remove","_makeIdsRoot","isPremiumPlugin","1647180lXgEed","vid","define","RevisionTracker","map","fillerOffset","_lastTo","oldRange","_lastFrom","getAttribute","_licenseKeyCheckInterval","stringify","_calculateMetaData","data","_baseRoots","createPositionAt","createRangeIn","_handleMoveOperation","38921355NdgGJK","NEGATIVE_INFINITY","requires","nodes","shift","getCurrentRevisionId","string","authors","resolve","createPositionBefore","evaluationLimit","_createFromRanges","isReady","getCustomProperties","getAttributes","domDocument","stickiness","userId","loadState","addRevision","_touched","_clone","_initialRevisionId","position","insertionPosition","finally","revision:","_cloneOperation","_pendingAction","_handleMarkerOperation","has","initialData","documentFragment","getChild","8EytgMr","revisionHistoryLicenseKeyInvalid","then","nodeAfter","attributesAfter","saveRevision","isEqual","isAdd","destroy","ready","_getState","_handleRootAttributeOperation","isOfficialPlugin","_touchedMarkers","creator","_savedMetaData","_copyMarkers","getTime","_handleOperation","_generateTape","removeRootAttribute","customProperties","_bufferUpdate","init","deletions","clear","max","_getPreviousFrom","getRootNames","deletion","_isAttached","markerToData","_utils","_getTypeCharForViewElement","_baseIdsRoots","childCount","fromVersion","editor","vid_start","newValue","element","expired","_baseRootsAttributes","move","merge","size","_execute","_prepareViewToSave","getOperations","_loadState","end","setSource","repository","locale","$graveyard","for","_makeRevision","getLatestVersion","getRoot","createRevision","offsetSize","text","_markers","render","_handleMergeOperation","outerHTML","loadRevisionData","_handleSplitOperation","_bufferedUpdates","getRevisionDocumentData","_createCurrentRevision","getWalker","getNodeByPath","dataToMarker","isEnabled","RevisionHistory","RealTimeCollaborationClient","roots","_addPendingAction","delete","_markChanges","uiElement","range","Users","toVersion","domainLimit","createPositionAfter","baseVersion","createdAt","reinsert","addRootAttribute","_isPendingUpdate","_processRootBeforeSave","revisionHistoryLicenseKeyUsageLimit","_revisionId","trialLimit","set","innerHTML","_handleRootOperation","type","_update","revisionHistoryLicenseKeyNotAllowed","getAncestors","_handleInsertOperation","revisionHistoryLicenseKeyTrialLimit","addRevisionData","startsWith","_touchedRoots","invalid","_appendChild","_loadedStateData","currentRevision","_fixPosition","authorsIds","adapter","_isInit","PENDING_ACTION_REVISION_HISTORY","config","4383hDBizP","getRange","_revisionDataBuilder","pluginName","_createInitialRevision","fromEntries","updateRevisions","1222576MIiJEJ","_operations","_source","reInit","source","keepParagraph","keys","creatorId","get","getIndex","getData","_idsRoots","initial","Empty document","includes","splitPosition","_findInsertionIndex","attributesBefore","revisionHistoryLicenseKeyEvaluationLimit","_replaceEditorDataWithRevisionData","add","sourcePosition","_reset","RevisionHistoryUtils","setRevisionData","_getVidAttributeName","rawElement","rootsAttributes","revisionHistory.resumeUnsavedRevision","reverse","PendingActions","_fixOperation","isAttached","_diffRootsAttributes","start","insertions","Initial revision","_diffRoots","1127144EjvbfB","vid_end","offset","from","markers","hasContent","changeRootAttribute","revisionHistoryLicenseKeyValid","sendBufferedUpdates","previousPosition","6725095snXklw","htmlProcessor","split","getRevisionRootsAttributes","howMany","length","9661162SSBtDo","_makeModelFromViewString","history","upcast","marker","model","_applyOperations","_removeMetaData","detachRoot","_showLicenseError","3740oJNXLJ","item","RevisionsRepository","trim","createPositionFromPath","buildRevisionData","conversion","getFillerOffset","update"];return(kt=function(){return t})()}function bt(t,e,i){const n=dt,s=n(405)==t[n(597)]?i[n(461)](t[n(366)],0):i[n(584)](t[n(366)]);return i[n(369)](e,s[n(397)],s[n(480)])}var wt=i(355),_t=i(311),It=i(673),St=i.n(It),Ot=i(545),xt=i.n(Ot),Tt=i(262),Nt=i.n(Tt),Rt=i(667),Mt=i.n(Rt),At=i(357),Et=i.n(At),Vt=i(426),Dt={attributes:{"data-cke":!0}};Dt.setAttributes=Mt(),Dt.insert=Nt().bind(null,"head"),Dt.domAPI=xt(),Dt.insertStyleElement=Et();St()(Vt.A,Dt);Vt.A&&Vt.A.locals&&Vt.A.locals;var Ct=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=Mt(),Ft.insert=Nt().bind(null,"head"),Ft.domAPI=xt(),Ft.insertStyleElement=Et();St()(Ct.A,Ft);Ct.A&&Ct.A.locals&&Ct.A.locals;const Lt=Pt;function jt(){const t=["errorText","stopPropagation","setTemplate","trim","add","revisionName","keystrokes","176vedNUO","2lEjGYJ","revisionNameInputValue","set","arrowright","arrowup","value","6163746rMPDoL","render","ck-responsive-form","focus","6191612WplVQs","ck-revision-history-save-revision-form","arrowdown","40qmnJSs","3146570ZTEgGO","form","locale","121212qpmPyB","extendTemplate","element","324496cguodZ","revisionNameInputView","860050RInXXZ","440983KiigJo","_createRevisionNameInput","focusTracker","optional","label","input","initializeCssTransitionDisablerMixin","reset","arrowleft","listenTo","220","Name of the revision","45eTEopW","fieldView"];return(jt=function(){return t})()}function Pt(t,e){const i=jt();return(Pt=function(t,e){return i[t-=144]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(814786===parseInt(e(186))/1*(-parseInt(e(163))/2)+parseInt(e(180))/3*(-parseInt(e(176))/4)+parseInt(e(177))/5+-parseInt(e(169))/6+parseInt(e(173))/7+-parseInt(e(183))/8*(parseInt(e(153))/9)+-parseInt(e(185))/10*(-parseInt(e(162))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jt);class Wt extends((0,_t.CssTransitionDisablerMixin)(_t.View)){[Lt(188)];[Lt(161)];[Lt(184)];constructor(e,i){const n=Lt;super(e),this[n(188)]=new t.FocusTracker,this[n(161)]=new t.KeystrokeHandler,this[n(165)](n(164),""),this[n(184)]=this[n(187)](i),this[n(157)]({tag:n(178),attributes:{class:["ck",n(174),n(171)],tabindex:"-1"},children:[this[n(184)]]}),this[n(147)]()}[Lt(170)](){const t=Lt;super[t(170)](),(0,_t.submitHandler)({view:this}),this[t(188)][t(159)](this[t(184)][t(182)]),this[t(161)][t(150)](this[t(182)]);const e=e=>e[t(156)]();this[t(161)][t(165)](t(166),e),this[t(161)][t(165)](t(149),e),this[t(161)][t(165)](t(167),e),this[t(161)][t(165)](t(175),e)}[Lt(172)](){const t=Lt;this[t(184)][t(172)]()}get[Lt(160)](){const t=Lt;return this[t(184)][t(154)][t(182)][t(168)][t(158)]()}set[Lt(160)](t){const e=Lt;this[e(184)][e(154)][e(182)][e(168)]=t[e(158)]()}[Lt(148)](){const t=Lt;this[t(184)][t(154)][t(182)][t(168)]="",this[t(184)][t(155)]=null}[Lt(187)](t){const e=Lt,i=new _t.LabeledFieldView(this[e(179)],_t.createLabeledInputText),n=i[e(154)];n[e(181)]({attributes:{maxlength:e(151)}});let s=ot(this[e(179)],e(152));return!t&&(s+=" ("+ot(this[e(179)],e(144))+")"),i[e(145)]=s,n.on(e(146),()=>{const t=e;this[t(164)]=n[t(182)][t(168)][t(158)]()}),i}}const Ut=Zt;function zt(){const t=["children","Open revision history","show","revisionName","revisionNameInputView","11896NimkXA","10594XUNUGn","requires","isPremiumPlugin","get","ck-button-action","isOpen","22gHQcwN","view","Cancel","render","showRevisionViewerCallback","RevisionHistoryUI","execute","14116512RUqTQN","focus","locale","12uGivPQ","_showDialog","153jHwcAw","buttonView","panelView","errorText","componentFactory","isReady","config","set","6595KFpOJm","RevisionTracker","_saveRevisionFormView","delegate","isEnabled","4320900bVbWLV","Accept","editing","Dialog","menu","1ivifzN","plugins","add","The revision name cannot be empty.","hide","menuBar:revisionHistory","isOfficialPlugin","saveRevision","items","2172kOXdMX","editor","menuitem","revisionHistory.requireRevisionName","Save current revision","submit","_createSaveRevisionFormView","1251399tfYLRB","revisionHistory","addMany","pluginName","_registerMenuComponent","init","role","revisionSave","3301501cCENdI","reset","isReadOnly","bind","Revision history"];return(zt=function(){return t})()}function Zt(t,e){const i=zt();return(Zt=function(t,e){return i[t-=277]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(683410===parseInt(e(340))/1*(-parseInt(e(304))/2)+-parseInt(e(285))/3*(parseInt(e(320))/4)+-parseInt(e(330))/5*(parseInt(e(278))/6)+parseInt(e(293))/7+-parseInt(e(303))/8*(-parseInt(e(322))/9)+-parseInt(e(335))/10+parseInt(e(310))/11*(parseInt(e(317))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Ht extends G.Plugin{static get[Ut(288)](){return Ut(315)}static get[Ut(346)](){return!0}static get[Ut(306)](){return!0}static get[Ut(305)](){return[mt]}[Ut(332)];[Ut(290)](){const t=Ut,e=this[t(279)],i=e[t(341)][t(307)](t(331));e.ui[t(326)][t(342)](t(286),n=>{const s=t,r=(0,_t.createDropdown)(n),o=r[s(324)][s(298)],a=new _t.ListView(n),c=new _t.ListItemView(n),u=new _t.ButtonView(n),l=new _t.ListItemView(n),h=new _t.ButtonView(n);return r[s(296)](s(334)).to(i,s(327),i,s(334),e,s(295),(t,e,i)=>t&&e&&!i),r[s(323)][s(329)]({icon:wt.IconHistory,label:ot(n,s(297)),tooltip:!0}),u[s(329)]({label:ot(n,s(282)),withText:!0,role:s(280)}),u[s(296)](s(334)).to(i,s(327),i,s(334),e,s(295),(t,e,i)=>t&&e&&!i),u.on(s(316),()=>this[s(321)]()),h[s(329)]({label:ot(n,s(299)),withText:!0,role:s(280)}),h[s(296)](s(334)).to(i,s(327),e,s(295),(t,e)=>t&&!e),h.on(s(316),()=>{const t=s;e[t(328)][t(307)](t(286))[t(314)](),r[t(309)]=!1,e[t(337)][t(311)][t(318)]()}),c[s(298)][s(342)](u),l[s(298)][s(342)](h),a[s(291)]=s(339),a[s(277)][s(287)]([c,l]),o[s(342)](a),r}),e.ui[t(326)][t(342)](t(345),()=>this[t(289)]())}[Ut(289)](){const t=Ut,e=this[t(279)],i=e[t(319)],n=new _t.MenuBarMenuView(i),s=new _t.MenuBarMenuListView(i);n[t(323)][t(329)]({icon:wt.IconHistory,label:ot(i,t(297))});const r=new _t.MenuBarMenuListItemView(i,n),o=new _t.MenuBarMenuListItemButtonView(i);o[t(329)]({label:ot(i,t(282))}),o[t(333)](t(316)).to(n),o.on(t(316),()=>{this[t(321)]()}),r[t(298)][t(342)](o),s[t(277)][t(342)](r);const a=new _t.MenuBarMenuListItemView(i,n),c=new _t.MenuBarMenuListItemButtonView(i);return c[t(329)]({label:ot(i,t(299))}),c[t(333)](t(316)).to(n),c.on(t(316),()=>{const i=t;e[i(328)][i(307)](i(286))[i(314)]()}),a[t(298)][t(342)](c),s[t(277)][t(342)](a),n[t(324)][t(298)][t(342)](s),n}[Ut(321)](){const t=Ut,e=this[t(279)],i=e[t(319)],n=e[t(341)][t(307)](t(338)),s=e[t(341)][t(307)](t(331));function r(s){const r=t;e[r(328)][r(307)](r(281))&&""===s[r(301)]?s[r(302)][r(325)]=ot(i,r(343)):(e[r(341)][r(307)](mt)[r(347)]({name:s[r(301)]}),n[r(344)]())}this[t(332)]||(this[t(284)](),this[t(332)].on(t(283),()=>r(this[t(332)]))),this[t(332)][t(294)](),n[t(300)]({id:t(292),title:ot(i,t(282)),isModal:!0,content:this[t(332)],actionButtons:[{label:ot(e[t(319)],t(312)),withText:!0,onExecute:()=>n[t(344)]()},{label:ot(e[t(319)],t(336)),class:t(308),withText:!0,onCreate(i){const n=t;i[n(296)](n(334)).to(s,n(327),s,n(334),e,n(295),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(332)])}]})}[Ut(284)](){const t=Ut,e=this[t(279)],i=e[t(319)];this[t(332)]=new Wt(i,e[t(328)][t(307)](t(281))),this[t(332)][t(313)]()}}function $t(t,e){const i=Bt();return($t=function(t,e){return i[t-=388]})(t,e)}const qt=$t;function Bt(){const t=["ck-revision-change__","Removed by","Suggested by","changeId","element","880OusWxA","bindTemplate","isSuggestion","type","setTemplate","ck-annotation","5514lGnypl","102625OwceOc","9VucbBe","5186130vWZbwS","add","30807IoUTHI","22cRolFf","div","1528110FbBgOE","span","ck-revision-change__label","data","3731AVVCYP","8ymwsHk","name","set","ck-revision-change","5512068YMaYtw","Added by","focus","_model","241916EGxiSs","author"];return(Bt=function(){return t})()}!function(t){const e=$t,i=t();for(;;)try{if(284619===parseInt(e(396))/1*(-parseInt(e(408))/2)+parseInt(e(397))/3*(-parseInt(e(416))/4)+parseInt(e(403))/5+parseInt(e(395))/6*(-parseInt(e(407))/7)+parseInt(e(389))/8*(-parseInt(e(400))/9)+parseInt(e(398))/10+-parseInt(e(401))/11*(-parseInt(e(412))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Yt extends _t.View{[qt(421)];[qt(415)];constructor(t,e){const i=qt;super(t),this[i(415)]=e,this[i(421)]=e.id;const n=this[i(390)],s=ot(t,e[i(406)][i(391)]?i(420):i(399)==e[i(392)]?i(413):i(419));this[i(410)](i(392),e[i(392)]),this[i(393)]({tag:i(402),attributes:{class:[i(394),i(411),n.to(i(392),t=>i(418)+t)],tabindex:-1},children:[{tag:i(404),children:[{tag:i(404),attributes:{class:[i(405)]},children:[{text:s}]},{text:" "+e[i(417)][i(409)]}]}]})}[qt(414)](){const t=qt;this[t(388)][t(414)]()}}var Gt=Jt;function Jt(t,e){var i=Xt();return(Jt=function(t,e){return i[t-=226]})(t,e)}function Xt(){var t=["23rXoVMR","7160382hvPZxi","3159276WMOvQB","288714BHEfuN","304362ootedY","7150NlgfAJ","set","author","data","rootName","type","143ANhyrC","19873ZXqGmN","20180oMvYLd","40LpldWD","1432zPyVDR","createdAt","34972SgOWZR","toJSON","15tbsMCy"];return(Xt=function(){return t})()}!function(t){for(var e=Jt,i=t();;)try{if(931853===-parseInt(e(235))/1*(-parseInt(e(232))/2)+parseInt(e(238))/3*(parseInt(e(229))/4)+-parseInt(e(234))/5*(parseInt(e(239))/6)+-parseInt(e(227))/7*(-parseInt(e(230))/8)+parseInt(e(236))/9+parseInt(e(228))/10*(parseInt(e(240))/11)+parseInt(e(237))/12*(-parseInt(e(226))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Kt extends((0,t.ObservableMixin)()){id;[Gt(242)];[Gt(245)];[Gt(243)];[Gt(244)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(242)]=e[i(242)],this[i(245)]=e[i(245)],this[i(243)]=e[i(243)]||{},this[i(244)]=e[i(244)],this[i(241)](i(231),e[i(231)])}[Gt(233)](){var t=Gt;return{id:this.id,authorId:this[t(242)].id,type:this[t(245)],data:this[t(243)],createdAt:this[t(231)]}}}const Qt=ee;function te(){const t=["2178804jbipZE","newRevisionId","add","256979YJpdMj","9726discri","oldRevisionId","4685205IykssY","60EXUUBE","5278944COsHwx","2182632aglMnR","10RhMqvL","3464470qsbWBu","changes","9ivWkDi","_setChanges"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=199]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(379018===-parseInt(e(202))/1+-parseInt(e(206))/2*(-parseInt(e(203))/3)+-parseInt(e(199))/4+parseInt(e(209))/5*(parseInt(e(208))/6)+parseInt(e(205))/7+-parseInt(e(207))/8+parseInt(e(212))/9*(parseInt(e(210))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ie{[Qt(200)];[Qt(204)];[Qt(211)];constructor(e,i){const n=Qt;this[n(200)]=e,this[n(204)]=i,this[n(211)]=new t.Collection}[Qt(213)](t){const e=Qt;for(const i of t)this[e(211)][e(201)](i)}}var ne=i(536),se={attributes:{"data-cke":!0}};se.setAttributes=Mt(),se.insert=Nt().bind(null,"head"),se.domAPI=xt(),se.insertStyleElement=Et();St()(ne.A,se);ne.A&&ne.A.locals&&ne.A.locals;const re=ce;!function(t){const e=ce,i=t();for(;;)try{if(820226===parseInt(e(185))/1*(-parseInt(e(174))/2)+-parseInt(e(365))/3*(-parseInt(e(400))/4)+parseInt(e(394))/5+-parseInt(e(353))/6+-parseInt(e(195))/7*(-parseInt(e(363))/8)+-parseInt(e(165))/9+-parseInt(e(360))/10*(parseInt(e(206))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(he);class oe extends G.Plugin{[re(371)];[re(424)]=null;[re(381)];[re(364)];[re(193)];[re(186)];[re(268)];static get[re(214)](){return re(262)}static get[re(247)](){return!0}static get[re(331)](){return!0}static get[re(314)](){return[J.Users,_t.ContextualBalloon,et,rt]}constructor(t){const e=re;super(t),this[e(371)]=this[e(270)][e(389)][e(196)](e(287)),this[e(381)]=this[e(270)][e(389)][e(196)](e(315)),this[e(428)](e(393),null),this[e(428)](e(205),null),this[e(364)]=null,this[e(428)](e(148),null),this[e(428)](e(109),!1),this[e(428)](e(198),!0),this.on(e(114),(t,i,n)=>{const s=e;this[s(393)]=null,this[s(205)]=null,this[s(270)][s(271)][s(191)][s(414)](t=>{const e=s;for(const i of this[e(270)][e(271)][e(191)][e(107)][e(156)])n?t[e(299)](e(139),i):t[e(250)](e(139),i)})}),this[e(321)](e(234)).to(this,e(393),t=>null!==t),this[e(321)](e(327)).to(this,e(109),this,e(148),this,e(393),(t,i,n)=>t&&n?i[e(305)][e(345)](n):0),this[e(321)](e(260)).to(this,e(109),this,e(148),(t,i)=>t?i[e(305)][e(399)]:0),this[e(193)]=null,this[e(186)]=new Map,this[e(268)]=this[e(270)][e(389)][e(196)](_t.ContextualBalloon)}[re(226)](){const t=re,e=this[t(270)],i=new le(e,{direction:t(201)}),n=new le(e,{direction:t(242)});e[t(336)][t(368)](t(227),i),e[t(336)][t(368)](t(344),n),e[t(336)][t(368)](t(236),new ue(e)),this.on(t(244),()=>{const e=t;i[e(358)](),n[e(358)]()}),this[t(212)](),this[t(303)](),e[t(112)](t(308)),e[t(389)][t(190)](t(362))&&e[t(389)][t(196)](t(362))[t(379)](t(308))}async[re(295)](t){const e=re;return await this[e(381)][e(425)](t,this[e(424)]),this[e(381)][e(295)](t)}async[re(404)](t){const e=re;return await this[e(381)][e(425)](t,this[e(424)]),this[e(381)][e(404)](t)}async[re(178)](t,e,i=!1){const n=re;if(!this[n(198)])return;const s=this[n(148)],r=this[n(371)],o=n(359)==typeof t?r[n(117)](t):t,a=n(359)==typeof e?r[n(117)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(148)]&&this[n(148)][n(325)]===c&&this[n(148)][n(130)]===u)return Promise[n(300)]();this[n(109)]=!1,this[n(205)]=null,this[n(393)]=null,this[n(148)]=new ie(c,u);const l=this[n(135)](o,a,!0)[n(211)](t=>this[n(381)][n(425)](t,this[n(424)]));return l[n(263)](new Promise(t=>{setTimeout(t,20)})),Promise[n(246)](l)[n(136)](()=>{const t=n;if(!this[t(198)])return;this[t(339)]();const e=this[t(152)](c,u);for(const i of e[t(305)])this[t(186)][t(428)](i.id,i);this[t(270)][t(316)][t(288)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(270)][n(316)][n(107)][n(329)]())i[n(182)](t);for(const t of Object[n(240)](e[n(316)])){const s=i[n(349)](t);for(const r of Object[n(240)](e[n(230)][t]))i[n(200)](r,e[n(230)][t][r],s);i[n(373)](e[n(316)][t],s,0)}}),this[t(148)][t(175)](this[t(279)](e[t(305)])),this[t(109)]=!0})[n(413)](t=>{const e=n;console[e(170)](t),this[e(339)](),s&&(this[e(148)]=s),this[e(109)]=!0})}[re(311)](t,e){const i=re,n=this[i(371)][i(382)](t);return n.on(i(143),(t,i,s)=>e(i,s,n)),this[i(371)][i(266)](n),n}[re(339)](){const t=re;this[t(393)]=null,this[t(377)](),this[t(193)]&&this[t(193)][t(280)](),this[t(193)]=null,this[t(186)][t(222)](),this[t(270)][t(316)][t(288)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(270)][i(316)][i(107)][i(329)]())e[i(182)](t)})}[re(279)](t){const e=re,i=[],n=new Map;for(const t of this[e(270)][e(316)][e(107)][e(329)]()){const s=this[e(270)][e(271)][e(191)][e(128)](t);if(!s)continue;const r=s[e(332)]()[e(217)](0);r&&(i[e(263)](t),n[e(428)](t,r))}return i[e(221)]((t,i)=>{const s=e,r=n[s(196)](t),o=n[s(196)](i);return r.y-o.y||r.x-o.x}),(t=t[e(118)](t=>i[e(181)](t[e(405)])))[e(221)]((t,n)=>i[e(352)](t[e(405)])-i[e(352)](n[e(405)])),t}[re(282)](t){const e=re,i=Array[e(248)](t[e(346)])[e(118)](([t,i])=>t[e(106)](e(149))&&!i[e(197)]),n=Array[e(248)](this[e(270)][e(316)][e(397)](t)[e(137)]({singleCharacters:!0}));if(0!=i[e(399)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(343)](":");if(s[e(395)][e(351)](t[e(278)])&&i[e(275)](),(t[e(386)][e(351)](s[e(202)])||t[e(386)][e(417)](s[e(202)]))&&(e(140)==r?t[e(125)]={userId:o}:e(350)==r&&(t[e(167)]={userId:o})),0==i[e(399)])break}return n}[re(133)](t){const e=re,i=new Map;for(let n=0;n<t[e(399)];n++)e(267)===t[n][e(426)]?(t[n][e(217)][e(119)]=n,t[n][e(217)][e(147)]=n):(e(189)===t[n][e(426)]?t[n][e(217)][e(119)]=n:e(422)===t[n][e(426)]&&(t[n][e(217)][e(147)]=n),i[e(428)](t[n].id,n));for(const n of i[e(387)]())e(189)===t[n][e(426)]?t[n][e(217)][e(147)]=i[e(196)](t[n][e(120)]):e(422)===t[n][e(426)]&&(t[n][e(217)][e(119)]=i[e(196)](t[n][e(120)]))}[re(388)](t){const e=re;for(let i=0;i<t[e(399)];i++){if(e(189)===t[i][e(426)])t[i][e(217)][e(119)]=i;else if(e(422)===t[i][e(426)]){t[i][e(217)][e(147)]=i;const n=t[i][e(217)][e(119)];t[n][e(120)]=t[i].id,t[i][e(120)]=t[n].id}else t[i][e(217)][e(119)]=i,t[i][e(217)][e(147)]=i,t[i][e(120)]=null;t[i][e(219)]||(t[i][e(219)]=[],t[i][e(398)]=[])}}[re(334)](t,e){const i=re,n=t[i(118)](t=>!t[i(125)]);for(let t=0;t<e[i(399)];t++)e[t][i(125)]&&(n[t][i(125)]=e[t][i(125)])}[re(152)](t,e=null){const i=re,n=this[i(371)][i(117)](t),s=e?this[i(371)][i(117)](e):null,r=this[i(135)](n,s),o=r[r[i(399)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(399)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(240)](e[i(151)]))if(e[i(151)][t][i(301)]){const n=e[i(151)][t][i(301)];n[i(249)]?(u[i(368)](t),l[i(190)](t)&&l[i(196)](t)[i(383)]==n[i(383)]?l[i(204)](t):l[i(428)](t,n)):l[i(190)](t)?(u[i(204)](t),l[i(204)](t)):(u[i(368)](t),l[i(428)](t,n))}else u[i(368)](t)}for(const t of u){const e=l[i(190)](t)&&!l[i(196)](t)[i(249)];let n=e?r[i(399)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(151)][t]){const n=e?o[i(151)][t][i(158)]:o[i(151)][t][i(390)];c[i(230)][t]=n?M(n):{};break}n+=s}}for(const t of r){t[i(316)]={};for(const e of t[i(257)])a[i(428)](e.id,e);for(const e of u){const n=t[i(151)][e]?t[i(151)][e][i(110)]:"[]",s=t[i(151)][e]?t[i(151)][e][i(376)]:"[]";t[i(316)][e]={insertions:this[i(381)][i(253)](n),deletions:this[i(381)][i(253)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(248)](n[i(316)][t][i(110)][i(346)])[i(118)](([t])=>!t[i(106)](i(149))));let h=0;for(const o of r){const r=this[i(282)](o[i(316)][t][i(110)]);o==n?(e=r,s=e[i(399)],e[i(286)](t=>{t.id=h++}),this[i(388)](e)):this[i(334)](e,r);const a=e[i(118)](t=>!t[i(125)])[i(211)](t=>t.id);let c=0;const l=this[i(282)](o[i(316)][t][i(376)]);l[i(286)](t=>{t[i(167)]?t.id=s++:t.id=a[c++]}),this[i(388)](l),this[i(121)](e,i(125)),this[i(121)](l,i(167)),o==n&&this[i(176)](e,u),e=this[i(171)](e,l),this[i(133)](e),this[i(121)](e,i(167))}e=e[i(118)](t=>!(t[i(125)]&&t[i(167)]));const d=new Map(o[i(316)][t][i(376)][i(346)]),f=new Set(u[i(240)]());for(const t of d[i(240)]())f[i(204)](t);this[i(224)](e,f),this[i(285)](e),e=this[i(243)](e),e=this[i(338)](e),e=this[i(427)](e);const{root:m,changes:p}=this[i(320)](e,a,t);c[i(316)][t]=m;const v=l[i(196)](t);if(v){const e=a[i(196)](v[i(383)]),n=new Kt({author:e,type:v[i(249)]?i(368):i(256),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(223)](n),c[i(230)][t][i(357)]=n.id}c[i(305)]=c[i(305)][i(264)](p)}return c}[re(176)](t,e){const i=re;for(let n=0;n<t[i(399)];n++)for(const[s,r]of e)!r[i(197)]&&r[i(202)][i(351)](t[n][i(386)])&&t[n][i(219)][i(263)](s),r[i(395)][i(351)](t[n][i(278)])&&t[n][i(398)][i(263)](s)}[re(171)](t,e){const i=re;let n=[],s=0,r=0;for(;s<t[i(399)]||r<e[i(399)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(263)](o);else if(a[i(167)]&&o[i(125)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(232)](t,s,e,r);n=n[i(264)](o),s=a,r=c}else a[i(167)]?(r++,n[i(263)](a)):(s++,n[i(263)](o))}return n}[re(224)](t,e){const i=re,n=[];for(let o=0;o<t[i(399)];o++){for(let r=0;r<t[o][i(219)][i(399)];r++){const a=t[o][i(219)][r];if(!e[i(190)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(141)!=c||i(140)!=u&&i(350)!=u||(n[i(223)]({type:u,name:a,userId:l}),t[o][i(219)][i(347)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(398)][i(399)];r++){const a=t[o][i(398)][r];if(!e[i(190)](a))continue;const{group:c,type:u}=s(a);if(i(141)!=c||i(140)!=u&&i(350)!=u)continue;t[o][i(398)][i(347)](r,1),r--;const l=n[i(188)](t=>t[i(289)]==a);l>-1&&n[i(347)](l,1)}}function s(t){const e=i,n=t[e(343)](":");return{group:n[0],type:n[1],subType:n[e(399)]>=5?n[2]:null,id:n[e(399)]<5?n[2]:n[3],authorId:n[e(399)]<5?n[3]:n[4],markerCount:6==n[e(399)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(399)];i++){if(t[e(125)]&&e(140)==n[i][e(426)]&&t[e(125)][e(383)]==n[i][e(383)])return t[e(421)]=n[i],void delete t[e(125)];if(!t[e(125)]&&!t[e(167)]&&e(350)==n[i][e(426)])return void(t[e(380)]=n[i])}}}[re(121)](t,e){const i=re;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(428)](o.id,n);for(let n=0;n<t[i(399)];n++){if(i(167)==e&&t[n][i(125)]||i(125)==e&&t[n][i(167)])continue;if(i(267)==t[n][i(426)]){t[n][i(323)]=0;continue}const s=r[i(196)](t[n][i(120)]),o=r[i(196)](t[n].id);t[n][i(323)]=s-o}}[re(135)](t,e,i=!1){const n=re,s=[];let r=this[n(371)][n(345)](t),o=this[n(371)][n(345)](e);for(-1==o&&(o=this[n(371)][n(105)][n(399)],i=!1);r<o;)s[n(263)](this[n(371)][n(117)](r)),r++;return i&&s[n(263)](this[n(371)][n(117)](r)),s}[re(232)](t,e,i,n){const s=re,r=this[s(270)][s(316)][s(341)];let o=e;for(;t[o]&&t[o][s(125)];)o++;let a=n;for(;i[a]&&i[a][s(167)];)a++;u(t,e,o),u(i,n,a);const c=i[s(144)](n,a)[s(264)](t[s(144)](e,o));return c[s(221)]((t,e)=>t[s(241)]!=e[s(241)]?t[s(241)]-e[s(241)]:t[s(407)]!=e[s(407)]?t[s(407)]-e[s(407)]:t[s(323)]!=e[s(323)]?e[s(323)]-t[s(323)]:!!t[s(125)]!=!!e[s(125)]?-1==t[s(241)]||0==t[s(241)]?t[s(125)]?-1:1:t[s(125)]?1:-1:t[s(355)]-e[s(355)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(229)],c=!0;for(let s=e;s<i;s++)if(r[n(199)](t[s][n(217)])||(c=!1),t[s][n(217)][n(119)]<e&&(o=s),t[s][n(217)][n(147)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(241)]=s<=o?-1:s<a?0:1,t[s][n(355)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(323)]?t[i][n(407)]=u:(u++,t[i][n(407)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(241)]&&(t[s][n(407)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(323)]?t[e][n(407)]=u:(u--,t[e][n(407)]=u,u--)}}[re(285)](t){const e=re,i=new Map,n=this[e(270)][e(316)][e(341)];for(let s=1;s<t[e(399)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(267)==c[e(426)])continue;if(c[e(426)]!=u[e(426)])continue;if(!n[e(154)](u[e(217)])||n[e(162)](u[e(217)]))continue;if(!n[e(154)](c[e(217)])||n[e(162)](c[e(217)]))continue;if((t[s][e(125)]||t[s][e(421)])&&t[s-1][e(167)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(167)]||!t[s-1][e(125)]&&!t[s-1][e(421)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(407)]==o[e(407)],h=Math[e(310)](r[e(407)])<Math[e(310)](o[e(407)])&&0==o[e(323)];(l||h)&&(i[e(428)](o.id,r.id),t[e(347)](a,1),s--,r[e(125)]=!1)}for(let n=0;n<t[e(399)];n++)i[e(190)](t[n][e(120)])&&(t[n][e(120)]=i[e(196)](t[n][e(120)]))}[re(243)](t){const e=re,i=new Set(t[e(211)](t=>t.id));for(let n=0;n<t[e(399)];n++)i[e(190)](t[n][e(120)])||0==t[n][e(323)]||(t[n][e(115)]=!0);return t[e(118)](t=>!t[e(115)])}[re(338)](t){const e=re,i=new Set;for(let n=0;n<t[e(399)];n++){if(i[e(190)](t[n].id)&&t[n][e(167)]&&(t[n][e(115)]=!0),t[n][e(115)])continue;if(0==t[n][e(323)])continue;if(e(189)!=t[n][e(426)])continue;if(null==t[n][e(120)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(120)];)e(189)==t[s][e(426)]?r++:e(422)==t[s][e(426)]&&r--,s++;if(0!=r)if(t[n][e(167)])t[n][e(115)]=!0;else for(;s!=n;)t[s][e(167)]&&0!=t[s][e(323)]&&(t[s][e(115)]=!0,i[e(368)](t[s][e(120)])),s--}return t[e(118)](t=>!t[e(115)])}[re(427)](t){const e=re,i=this[e(270)][e(316)][e(341)];for(let n=0;n<t[e(399)];n++){if(!(t[n][e(125)]||t[n][e(421)]||t[n][e(167)]||t[n][e(380)]))continue;if(0==t[n][e(323)])continue;const s=t[n][e(217)];i[e(154)](s)||i[e(162)](s)||(t[n][e(125)]&&delete t[n][e(125)],t[n][e(421)]&&delete t[n][e(421)],t[n][e(380)]&&delete t[n][e(380)],t[n][e(167)]&&(t[n][e(115)]=!0))}return t[e(118)](t=>!t[e(115)])}[re(320)](t,e,i){const n=re,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(270)][n(316)],c=a[n(341)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(399)];e++)if(n(189)===t[e][n(426)]){t[e][n(386)]=a[n(391)](s,f);const i=new X.ModelElement(t[e][n(217)][n(289)],t[e][n(217)][n(409)]());u[0][n(164)](i),f[n(263)](0),u[n(223)](i),t[e][n(278)]=a[n(391)](s,f)}else n(422)===t[e][n(426)]?(u[n(275)](),t[e][n(386)]=a[n(391)](s,f),f[n(429)](),f[f[n(399)]-1]++,t[e][n(278)]=a[n(391)](s,f)):(t[e][n(386)]=a[n(391)](s,f),d?d[n(225)]+=t[e][n(217)][n(370)]:d=new X.ModelText(t[e][n(217)][n(370)],t[e][n(217)][n(409)]()),t[e+1]&&n(267)===t[e+1][n(426)]&&v(d,t[e+1][n(217)])||(u[0][n(164)](d),d=null),f[f[n(399)]-1]+=t[e][n(217)][n(330)],t[e][n(278)]=a[n(391)](s,f));for(let e=0;e<t[n(399)];e++){const i=t[e][n(386)],s=t[e][n(278)];for(const s of t[e][n(219)])o[n(428)](s,{start:i,end:null});m(n(380),e,i,s),m(n(421),e,i,s),m(n(167),e,i,s),m(n(125),e,i,s);for(const i of t[e][n(398)]){const t=o[n(196)](i);t?t[n(395)]=s:o[n(428)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(270)][n(316)][n(254)](e[n(202)],e[n(395)]);s[n(346)][n(428)](t,i)}return r[n(221)]((t,e)=>{const i=n,r=s[i(346)][i(196)](i(149)+t.id),o=s[i(346)][i(196)](i(149)+e.id);return r[i(202)][i(269)](o[i(202)])?-1:r[i(202)][i(417)](o[i(202)])?1:r[i(395)][i(269)](o[i(395)])?-1:r[i(395)][i(417)](o[i(395)])?1:i(368)===t[i(426)]?-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(383)]:null,d=i===t[o(399)]-1,f=h[e][0],m=c[o(366)](t[i][o(217)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(395)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(383)]!==u&&(l[e][o(395)]=s,f&&f[o(383)]===l[e][o(383)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(189)!==t[i][o(426)]||f&&f[o(383)]===u||h[e][o(223)]({userId:u,object:t[i][o(217)],change:l[e]}),o(422)===t[i][o(426)]&&f&&f[o(423)]===t[i][o(217)]&&(h[e][o(275)](),l[e]=f[o(414)])),l[e]&&d&&(l[e][o(395)]=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(217)],f=a[h(341)][h(154)](d)&&!a[h(341)][h(162)](d),m=t[h(277)]==o[h(291)]&&o[h(163)];if(f&&m)return;const p=a[h(254)](t,o),v=e[h(196)](u),g=new Kt({author:v,type:h(125)==l||h(421)==l?h(368):h(256),data:{isSuggestion:h(421)==l||h(380)==l},createdAt:new Date,rootName:i});r[h(263)](g),s[h(346)][h(428)](h(149)+g.id,p)}function v(t,e){const i=n,s=t[i(409)](),r=e[i(409)]();for(const t of s){if(t[1]!==e[i(127)](t[0]))return!1;r[i(145)]()}return r[i(145)]()[i(340)]}}[re(212)](){const t=re;this[t(270)][t(138)][t(415)](t(281))[t(146)]({view:t(392)}),this[t(270)][t(138)][t(415)](t(235))[t(172)]({model:t(392),view:e=>{const i=t,n=e[i(411)][i(343)](":")[1],s=this[i(153)](n);if(!s)return null;const r=i(368)==s[i(426)]?i(140):i(350),o=[i(290),i(274)+r];return s[i(370)][i(431)]&&o[i(263)](i(274)+r+i(192)),this[i(393)]==s&&o[i(263)](i(238)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(270)][t(138)][t(415)](t(281))[t(368)](e=>{const i=t;e.on(i(307),(t,e,n)=>{const s=i,r=e[s(265)][s(309)](0);if(!r||!r.is(s(216),s(293)))return;if(!n[s(296)][s(324)](r,{attributes:[s(418),s(111)]}))return;const o=e[s(215)][s(202)][s(277)];n[s(367)][s(200)](s(418),r[s(127)](s(418)),o),n[s(367)][s(200)](s(111),r[s(127)](s(111)),o)},{priority:i(203)})}),this[t(270)][t(138)][t(415)](t(281))[t(368)](e=>{const i=t;e.on(i(216),(t,e,n)=>{const s=i;if(!n[s(296)][s(324)](e[s(265)],{attributes:[s(418),s(111)]}))return;if(e[s(215)][s(197)])return;const r=e[s(215)][s(202)][s(277)];r[s(284)](s(418))||r[s(284)](s(304))||(n[s(367)][s(200)](s(418),e[s(265)][s(127)](s(418)),r),n[s(367)][s(200)](s(111),e[s(265)][s(127)](s(111)),r))},{priority:i(203)})}),this[t(270)][t(138)][t(415)](t(281))[t(412)]({view:{name:t(209),attributes:{vid:!0}},model:{key:t(304),value:e=>e[t(127)](t(304))}}),this[t(270)][t(316)][t(341)].on(t(276),(e,[,i])=>{const n=t;[n(418),n(111),n(304)][n(181)](i)&&(e[n(416)]=!0,e[n(207)]())},{priority:t(194)}),this[t(270)][t(138)][t(415)](t(326))[t(368)](e=>{const i=t;e.on(i(173),(t,e,n)=>{const s=i;if(" "!=e[s(217)][s(370)]||e[s(217)][s(291)][s(322)]>1)return;if(!n[s(296)][s(324)](e[s(217)],t[s(289)]))return;const r=n[s(367)],o=n[s(126)][s(258)](e[s(354)]);r[s(210)](o,r[s(317)](s(209)))})}),this[t(270)][t(138)][t(415)](t(326))[t(319)]({model:t(392)}),this[t(270)][t(271)][t(124)].on(t(166),function(e){const i=t,n=e[i(389)][i(196)](i(262));return(t,s,r)=>{const o=i,a=s[o(411)][o(343)](":")[1],c=n[o(153)](a);if(!c)return null;const u=o(368)==c[o(426)]?o(343):o(402);if(!r[o(296)][o(361)](s[o(132)],t[o(289)]))return;const l=s[o(132)][o(137)](),h=s[o(132)][o(202)],d=e[o(316)][o(341)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(217)];p=p||d[o(272)](e);const i=r[o(126)][o(369)](e);if(i&&i[o(384)](o(403)))return;o(422)==t[o(426)]&&d[o(154)](e)&&!d[o(162)](e)&&(e[o(180)]||h[o(385)]?f&&f[o(291)]==e||(f=e,g(t[o(386)]),v=!0):m=m||t[o(386)])}function g(t){const e=o,i=r[e(367)][e(372)](e(209),{class:e(274)+u}),a=r[e(126)][e(375)](t);c[e(370)][e(431)]&&r[e(367)][e(250)](e(274)+u+e(192),i),n[e(393)]==c&&r[e(367)][e(250)](e(238),i),r[e(367)][e(373)](a,i),r[e(126)][e(259)](i,s[e(411)])}p||v||!m||g(m)}}(this[t(270)]),{priority:t(297)}),this[t(270)][t(271)][t(124)].on(t(208),(e,i,n)=>{const s=t,r=n[s(126)][s(348)](i[s(411)]);if(r)for(const t of r)(t[s(218)](s(420))||t[s(218)](s(342)))&&(n[s(126)][s(187)](t,i[s(411)]),n[s(367)][s(256)](t))},{priority:t(297)}),this[t(270)][t(271)][t(124)].on(t(166),(e,i,n)=>{const s=t,r=i[s(411)][s(343)](":")[1],o=this[s(153)](r);if(!o)return null;const a=s(368)==o[s(426)]?s(343):s(402);if(n[s(296)][s(361)](i[s(132)],e[s(289)]))for(const t of i[s(132)][s(233)]()){if(!t.is(s(216),s(213)))continue;const e=n[s(367)][s(372)](s(209),{class:s(274)+a}),r=n[s(126)][s(375)](this[s(270)][s(316)][s(168)](t));o[s(370)][s(431)]&&n[s(367)][s(250)](s(274)+a+s(192),e),this[s(393)]==o&&n[s(367)][s(250)](s(238),e),n[s(367)][s(373)](r,e),n[s(126)][s(259)](e,i[s(411)])}},{priority:t(297)}),this[t(270)][t(316)][t(107)].on(t(414),()=>{const e=t;this[e(270)][e(271)][e(191)][e(414)](t=>{const i=e;for(const e of this[i(270)][i(316)][i(107)][i(329)]()){const n=this[i(270)][i(316)][i(107)][i(116)](e),s=this[i(270)][i(271)][i(191)][i(107)][i(116)](e);if(s){const e=n[i(127)](i(357));if(t[i(312)](i(396),s),t[i(299)](i(374),s),t[i(299)](i(298),s),t[i(299)](i(150),s),e){const n=this[i(153)](e);if(!n)return null;t[i(200)](i(396),e,s),t[i(250)](i(408)+n[i(426)],s),this[i(393)]==n&&t[i(250)](i(150),s)}}}})}),this[t(270)][t(138)][t(415)](t(281))[t(146)]({view:t(356),model:e=>t(122)+e,converterPriority:t(194)}),this[t(270)][t(138)][t(415)](t(281))[t(146)]({view:t(255),model:e=>t(294)+e,converterPriority:t(194)}),this[t(270)][t(138)][t(415)](t(326))[t(319)]({model:t(141),view:e=>({name:t(169)+e,group:t(141)}),converterPriority:t(194)}),this[t(270)][t(138)][t(415)](t(235))[t(172)]({model:t(141),view:e=>{const i=t,n=e[i(411)][i(343)](":")[1];return i(140)!=n&&i(350)!=n?null:{classes:[i(313),i(302)+n]}}}),this[t(270)][t(271)][t(124)].on(t(157),ae(this[t(270)],t(402)),{priority:t(297)}),this[t(270)][t(271)][t(124)].on(t(177),ae(this[t(270)],t(343)),{priority:t(297)}),this[t(270)][t(271)][t(124)].on(t(406),(e,i,n)=>{const s=t,r=n[s(126)][s(348)](i[s(411)]);if(r)for(const t of r)t.is(s(328))&&(n[s(126)][s(187)](t,i[s(411)]),n[s(367)][s(256)](t))},{priority:t(297)})}[re(153)](t){const e=re;return this[e(186)][e(196)](t)}[re(184)](t){const e=re;return this[e(193)]&&this[e(193)][e(280)](),this[e(193)]=new Yt(this[e(270)][e(273)],t),this[e(193)]}[re(303)](){const t=re;this[t(270)][t(316)][t(107)][t(333)][t(430)](t(392)),this.on(t(410),(e,i,n,s)=>{const r=t;s&&this[r(268)][r(256)](s),n&&(this[r(268)][r(368)]({view:n,stackId:r(251),position:{target:()=>{const t=r,e=this[t(270)][t(271)],i=this[t(153)](n[t(337)]);let s;if(i[t(370)][t(131)]){const n=e[t(191)][t(128)](i[t(405)]);s=Array[t(248)](n[t(332)]())}else{const i=this[t(270)][t(316)][t(346)][t(196)](t(149)+n[t(337)]);s=Array[t(248)](e[t(126)][t(348)](i[t(289)]))[t(211)](i=>e[t(191)][t(237)][t(142)](i))[t(211)](e=>Array[t(248)](e[t(332)]()))[t(159)]()}return this[t(364)]&&s[t(252)](e=>e[t(108)]-3<=this[t(364)].y&&e[t(123)]+3>=this[t(364)].y&&e[t(179)]-3<=this[t(364)].x&&e[t(155)]+3>=this[t(364)].x)||s[0]}}}),this[r(268)][r(335)](r(251)))}),this.on(t(401),(e,i,n,s)=>{const r=t;this[r(205)]=n?this[r(184)](n):null,this[r(270)][r(316)][r(414)](()=>{const t=r,e=this[t(270)][t(271)];s&&(s[t(370)][t(131)]?e[t(191)][t(414)](i=>{const n=t;i[n(299)](n(150),e[n(191)][n(107)][n(116)](s[n(405)]))}):e[t(220)](t(149)+s.id)),n&&(n[t(370)][t(131)]?e[t(191)][t(414)](i=>{const s=t;i[s(250)](s(150),e[s(191)][s(107)][s(116)](n[s(405)]))}):e[t(220)](t(149)+n.id))})}),this[t(113)](this[t(270)][t(271)][t(191)][t(107)],t(283),(e,i)=>{const n=t;if(this[n(393)])return;const s=this[n(419)](i[n(228)]),r=this[n(186)][n(196)](s);r?(this[n(364)]={x:i[n(160)].x,y:i[n(160)].y},this[n(205)]=this[n(184)](r)):(this[n(364)]=null,this[n(205)]=null)}),this[t(113)](this[t(270)][t(271)][t(191)][t(107)],t(261),(e,i)=>{const n=t,s=this[n(419)](i[n(228)]),r=this[n(186)][n(196)](s);r?(this[n(364)]={x:i[n(160)].x,y:i[n(160)].y},r===this[n(393)]?this[n(268)][n(231)]():this[n(393)]=r):(this[n(364)]=null,this[n(393)]=null)})}[re(419)](t){const e=re;do{const i=t[e(127)](e(396));if(i)return i;t=t[e(291)]}while(t);return null}[re(377)](){const t=re;this[t(270)][t(316)][t(414)](e=>{const i=t;for(const t of this[i(270)][i(316)][i(346)])e[i(134)](t)})}}function ae(t,e){return(i,n,s)=>{const r=ce;if(!s[r(296)][r(361)](n[r(132)],i[r(289)]))return;const o=n[r(132)][r(137)](),a=n[r(132)][r(202)],c=t[r(316)][r(341)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(217)];h=h||c[r(272)](e);const i=s[r(126)][r(369)](e);if(i&&i[r(384)](r(403)))return;r(422)==t[r(426)]&&c[r(154)](e)&&!c[r(162)](e)&&(e[r(180)]||a[r(385)]?u&&u[r(291)]==e||(u=e,f(t[r(386)]),d=!0):l=l||t[r(386)])}function f(t){const i=r,o=s[i(126)][i(375)](t),a=s[i(367)][i(372)](i(209),{class:i(302)+e});s[i(367)][i(373)](o,a),s[i(126)][i(259)](a,n[i(411)])}h||d||!l||f(l)}}function ce(t,e){const i=he();return(ce=function(t,e){return i[t-=105]})(t,e)}class ue extends G.Command{constructor(t){const e=re;super(t);const i=t[e(389)][e(196)](oe);this[e(129)]=!1,this[e(113)](i,e(183),()=>this[e(358)]()),this[e(113)](i,e(114),()=>this[e(358)]())}[re(161)](){const t=re,e=this[t(270)],i=e[t(389)][t(196)](oe),n=i[t(109)]?i[t(148)][t(325)]:null;e[t(245)][t(196)](t(378))[t(306)](n)}[re(358)](){const t=re,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(270)][t(389)][t(196)](oe),r=s&&n[t(318)](s[t(325)]);this[t(198)]=e&&i&&Boolean(r)}}class le extends G.Command{[re(292)];constructor(t,{direction:e}){const i=re;super(t);const n=t[i(389)][i(196)](oe);this[i(129)]=!1,this[i(292)]=i(242)===e?1:-1,this[i(113)](n,i(183),()=>this[i(358)]()),this[i(113)](n,i(114),()=>this[i(358)]()),this[i(113)](n,i(401),()=>this[i(358)]())}[re(161)](){const e=re,i=this[e(270)],n=i[e(389)][e(196)](oe),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(393)]=s?n[e(148)][e(305)][e(196)](r+this[e(292)]):n[e(148)][e(305)][e(239)],n[e(393)][e(370)][e(131)])o=i[e(271)][e(191)][e(128)](n[e(393)][e(405)]);else{const t=i[e(316)][e(346)][e(196)](e(149)+n[e(393)].id);o=(0,J.getMarkerDomElement)(i[e(271)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[re(358)](){const t=re,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(270)][t(389)][t(196)](oe);this[t(198)]=!!(r&&s&&n)&&(!e||(1===this[t(292)]?i<n-1:i>0))}}function he(){const t=["pluginName","modelRange","element","item","hasClass","markersStart","reconvertMarker","sort","clear","unshift","_markSuggestions","_data","init","showPreviousChange","target","POSITIVE_INFINITY","attributes","updatePosition","_threeWayMerge","getItems","isNavigationMode","editingDowncast","restoreRevision","domConverter","ck-suggestion-marker--active","first","keys","side","forward","_removeMissingPairs","change:numberOfChanges","config","all","isOfficialPlugin","from","isAttached","addClass","revisionHistoryLabel","find","_makeModelFromViewString","createRange","suggestion","remove","authors","toViewRange","bindElementToMarker","numberOfChanges","mousedown","RevisionViewer","push","concat","viewItem","addRevision","text","_balloon","isBefore","editor","editing","isContent","locale","ck-suggestion-marker-","shift","checkAttribute","nodeAfter","nextPosition","_sortAndFilterDiffChanges","destroy","upcast","_makeTape","mouseover","hasAttribute","_fixObsoleteTags","forEach","RevisionsRepository","enqueueChange","name","ck-suggestion-marker","parent","_step","code","revision-suggestion:","getRevisionDocumentData","consumable","high","ck-revision-history-root-remove","removeClass","resolve","attachChange","ck-suggestion-preview-marker-","_initInteractions","vid","changes","restoreRevisionCallback","element:pre","revision-viewer","getChild","abs","addRevisionData","removeAttribute","ck-suggestion-preview-marker","requires","RevisionHistoryUtils","model","createAttributeElement","getLaterVisibleRevision","markerToData","_makeModelFromTape","bind","maxOffset","distance","consume","newRevisionId","dataDowncast","currentChangeNumber","uiElement","getRootNames","offsetSize","isPremiumPlugin","getClientRects","selection","_markInsertions","showStack","commands","changeId","_markMismatchedRemovedTags","_cleanUp","done","schema","ck-suggestion-marker-merge","split","showNextChange","getIndex","markers","splice","markerNameToElements","addRoot","deletion","isEqual","indexOf","2643468XwHNnH","range","index","comment","revisionHistoryAttachChange","refresh","string","50Jgfymg","test","WidgetToolbarRepository","2200aYYQrE","_activeViewTarget","3qLYcyM","isObject","writer","add","toViewElement","data","repository","createUIElement","insert","ck-revision-history-root-add","toViewPosition","deletions","_cleanMarkers","revisionHistory","forceDisabled","isRemoveSuggestion","_utils","createRevision","userId","getCustomProperty","isAtEnd","previousPosition","values","_processTape","plugins","attributesAfter","createPositionFromPath","revision","activeChange","7069165lASQYk","end","data-change-id","createRangeIn","markersEnd","length","3986344ovFuTe","change:activeChange","merge","addHighlight","getRevisionRootsAttributes","rootName","removeMarker:revision-suggestion","level","ck-revision-history-root-","getAttributes","change:activeView","markerName","elementToAttribute","catch","change","for","return","isAfter","vid_start","_findChangeIdFromDomTarget","ck-suggestion-marker-split","isAddSuggestion","elementEnd","object","adapter","loadRevisionData","type","_removeUnsupportedChanges","set","pop","observeMarkers","isSuggestion","_revisions","startsWith","document","top","isReady","insertions","vid_end","enableReadOnlyMode","listenTo","change:isEnabled","isIncorrect","getRoot","getRevision","filter","startIndex","pairId","_setDistance","revision-comment:","bottom","downcastDispatcher","isAdded","mapper","getAttribute","getDomRoot","affectsData","oldRevisionId","isOnRoot","markerRange","_refreshStartEndIndex","removeMarker","_getRevisionsRange","then","getWalker","conversion","ck-editor__editable__overlay","insertion","revision-suggestion","mapViewToDom","_update","slice","next","dataToMarker","endIndex","diff","revision:","ck-revision-history-root--active","diffData","_getDiff","_getChangeFromId","isBlock","right","roots","addMarker:revision-suggestion:deletion","attributesBefore","flat","domEvent","execute","isLimit","isAtStart","_appendChild","772371eFFmFi","addMarker:revision","isRemoved","createPositionBefore","suggestion:","error","_joinTapes","markerToHighlight","attribute:vid","2PauYRL","_setChanges","_markMarkers","addMarker:revision-suggestion:insertion","compare","left","nextSibling","includes","detachRoot","change:isReady","_getViewForChange","1362441YZwvhD","_changeIdToChange","unbindElementFromMarkerName","findIndex","elementStart","has","view","-new","_changeView","highest","21854ncKZlt","get","isCollapsed","isEnabled","isInline","setAttribute","backward","start","low","delete","activeView","1231791vptCyv","stop","removeMarker:revision","span","wrap","map","_setConversion","softBreak"];return(he=function(){return t})()}var de=i(528),fe={attributes:{"data-cke":!0}};fe.setAttributes=Mt(),fe.insert=Nt().bind(null,"head"),fe.domAPI=xt(),fe.insertStyleElement=Et();St()(de.A,fe);de.A&&de.A.locals&&de.A.locals;function me(t,e){const i=pe();return(me=function(t,e){return i[t-=256]})(t,e)}function pe(){const t=["44852CaOVjD","2wrYOKQ","set","888857iycIZc","_isStatusLabelVisible","ck-revision-history-ui","span","NUMBER_OF_CHANGES","1294008xuFiic","EDIT_X_OF_Y_REVISIONS","isForwardNavigationEnabled","3266540PTPTEs","ck-revision-history-ui__changes-navigation__navigation","2090898FBAqQH","129iLliEw","isReady","div","ck-hidden","No changes","ck-revision-history-ui__changes-navigation","isBackwardNavigationEnabled","20CGvxNJ","isNavigationMode","bind","663291eLzUlw","_statusText","Loading...","fire","ck-revision-history-ui__changes-navigation__label","setTemplate","numberOfChanges","bindTemplate","Show next change","7XQxUVJ","backward","execute","Total","9669627GphQnw","forward","currentChangeNumber","X_OF_Y_CHANGES","ck-revision-history-ui__changes-navigation__wrapper","isEnabled","12Unczox","Show previous change"];return(pe=function(){return t})()}!function(t){const e=me,i=t();for(;;)try{if(496283===parseInt(e(280))/1*(parseInt(e(278))/2)+parseInt(e(291))/3*(parseInt(e(277))/4)+-parseInt(e(288))/5+parseInt(e(290))/6+-parseInt(e(265))/7*(-parseInt(e(285))/8)+parseInt(e(256))/9*(parseInt(e(298))/10)+-parseInt(e(269))/11*(parseInt(e(275))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ve extends _t.View{constructor(t){const e=me;super(t);const i=this[e(263)],n=new _t.ButtonView(t),s=new _t.ButtonView(t);this[e(279)](e(299),!1),this[e(279)](e(292),!1),this[e(279)](e(271),0),this[e(279)](e(262),0),this[e(279)](e(287),!1),this[e(279)](e(297),!1),this[e(300)](e(281)).to(this,e(292),this,e(262),(t,e)=>t&&e>0),this[e(300)](e(257)).to(this,e(292),this,e(271),this,e(262),this,e(299),(i,n,s,r)=>{const o=e;if(!i)return ot(t,o(258));if(!s)return ot(t,o(295));const a=ot(t,o(284),s);return r?ot(t,o(272),[n+1,s]):a}),n[e(279)]({label:ot(t,e(276)),tooltip:!0,icon:wt.IconChevronUp}),s[e(279)]({label:ot(t,e(264)),tooltip:!0,icon:wt.IconChevronDown}),n[e(300)](e(274)).to(this,e(297)),s[e(300)](e(274)).to(this,e(287)),n.on(e(267),()=>this[e(259)](e(267),e(266))),s.on(e(267),()=>this[e(259)](e(267),e(270))),this[e(261)]({tag:e(293),attributes:{class:["ck",e(282),e(296)]},children:[{tag:e(283),attributes:{class:[e(273)]},children:[{tag:e(283),attributes:{class:[e(260),i.if(e(281),e(294),t=>!t)]},children:[{text:i.to(e(299),i=>i?ot(t,e(286))+": ":ot(t,e(268))+": ")}]},{text:i.to(e(257))}]},new _t.ToolbarSeparatorView,{tag:e(293),attributes:{class:[e(289)]},children:[n,s]}]})}}var ge=i(560),ye={attributes:{"data-cke":!0}};ye.setAttributes=Mt(),ye.insert=Nt().bind(null,"head"),ye.domAPI=xt(),ye.insertStyleElement=Et();St()(ge.A,ye);ge.A&&ge.A.locals&&ge.A.locals;function ke(){const t=["ck-editor__editable__loading-overlay","pluginName","roots","change","show","RevisionViewerLoadingOverlay","1620336nPKVwd","251265vWBGjc","editing","document","1188145DiBZqA","addClass","19724ynNefv","14ORAPPG","removeClass","1150245ddcJmv","isOfficialPlugin","isPremiumPlugin","106194mJYyOG","40PMyWpc","4FdcetM","hide","view","editor","172794faXcuf"];return(ke=function(){return t})()}const be=we;function we(t,e){const i=ke();return(we=function(t,e){return i[t-=361]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(133323===-parseInt(e(367))/1*(-parseInt(e(368))/2)+-parseInt(e(379))/3+-parseInt(e(375))/4*(parseInt(e(365))/5)+parseInt(e(373))/6+-parseInt(e(362))/7+-parseInt(e(361))/8+-parseInt(e(370))/9*(-parseInt(e(374))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ke);const _e=be(380);class Ie extends G.Plugin{static get[be(381)](){return be(385)}static get[be(371)](){return!0}static get[be(372)](){return!0}[be(384)](){const t=be,e=this[t(378)][t(363)][t(377)];e[t(383)](i=>{const n=t;for(const t of e[n(364)][n(382)])i[n(366)](_e,t)})}[be(376)](){const t=be,e=this[t(378)][t(363)][t(377)];e[t(383)](i=>{const n=t;for(const t of e[n(364)][n(382)])i[n(369)](_e,t)})}}const Se=xe;function Oe(){const t=["config","closeRevisionViewerCallback","9JiIjgA","isReady","init","1391YNLFYV","9561wvNIXi","showPreviousChange","isOfficialPlugin","isPremiumPlugin","numberOfChanges","get","editor","revisionHistory","136BFrcfI","changesNavigation","plugins","228HlkDgi","Restore this revision","set","isNavigationMode","exitToEditing","restoreRevision","show","pluginName","add","showNextChange","hide","componentFactory","execute","6rPFzwu","620ifNSxG","121150cIVvfl","commands","1701695Rvvndm","requires","Back to editing","isEnabled","18802XGwvOW","RevisionViewerUI","currentChangeNumber","4clDAiT","listenTo","isForwardNavigationEnabled","243023PMSmQq","ck-revision-history-ui__back-to-editing","80486bVhwUe","isBackwardNavigationEnabled","bind","4390780mGybfB","forward","change:isReady"];return(Oe=function(){return t})()}function xe(t,e){const i=Oe();return(xe=function(t,e){return i[t-=463]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(272168===parseInt(e(466))/1*(-parseInt(e(475))/2)+parseInt(e(492))/3*(parseInt(e(465))/4)+parseInt(e(468))/5*(parseInt(e(464))/6)+parseInt(e(480))/7*(-parseInt(e(500))/8)+-parseInt(e(488))/9*(-parseInt(e(483))/10)+-parseInt(e(478))/11*(parseInt(e(503))/12)+parseInt(e(491))/13*(-parseInt(e(472))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Te extends G.Plugin{static get[Se(510)](){return Se(473)}static get[Se(494)](){return!0}static get[Se(495)](){return!0}static get[Se(469)](){return[oe,Ie]}[Se(490)](){const t=Se,e=this[t(498)],i=e[t(502)][t(497)](oe),n=e[t(502)][t(497)](Ie);e.ui[t(514)][t(511)](t(507),i=>{const n=t,s=new _t.ButtonView(i);return s[n(505)]({label:ot(i,n(470)),icon:wt.IconUndo,withText:!0,tooltip:!0,class:n(479)}),this[n(476)](s,n(463),()=>{const t=n;e[t(486)][t(497)](t(499))[t(487)]()}),s}),e.ui[t(514)][t(511)](t(508),i=>{const n=t,s=new _t.ButtonView(i);return s[n(505)]({label:ot(i,n(504)),withText:!0,tooltip:!0}),s[n(482)](n(471)).to(e[n(467)][n(497)](n(508))),this[n(476)](s,n(463),()=>e[n(463)](n(508))),s}),e.ui[t(514)][t(511)](t(501),n=>{const s=t,r=new ve(n),o=e[s(467)][s(497)](s(493)),a=e[s(467)][s(497)](s(512));return r[s(482)](s(481)).to(o,s(471)),r[s(482)](s(477)).to(a,s(471)),r[s(482)](s(489),s(474),s(496),s(506)).to(i),this[s(476)](r,s(463),(t,i)=>{const n=s;e[n(463)](n(484)===i?n(512):n(493))}),r}),n[t(509)](),i.on(t(485),(e,i,s)=>{const r=t;s?n[r(513)]():n[r(509)]()})}}var Ne=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=Nt().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Et();St()(Ne.A,Re);Ne.A&&Ne.A.locals&&Ne.A.locals;function Me(t,e){const i=Ee();return(Me=function(t,e){return i[t-=105]})(t,e)}const Ae=Me;function Ee(){const t=["6090wbRcMW","ck-tooltip_multi-line","Revision name","14YFNRpG","3555ybZNSL","listenTo","_tooltipString","value","extendTemplate","613404LXYFpo","destroy","scrollWidth","_updateTooltipText","element","set","4789609uXKnky","placeholder","fieldView","render","877704BgTxnm","bindTemplate","clientWidth","947472xQIsRB","2pjZDqq","Enter the revision name","input","ck-revision-history-sidebar__revision-name","_resizeObserver","52FcyZJq","1375296KzJGZl","span","99570QGhiOV"];return(Ee=function(){return t})()}!function(t){const e=Me,i=t();for(;;)try{if(308314===parseInt(e(115))/1+-parseInt(e(129))/2*(parseInt(e(128))/3)+parseInt(e(134))/4*(-parseInt(e(105))/5)+parseInt(e(125))/6*(parseInt(e(109))/7)+parseInt(e(135))/8+-parseInt(e(110))/9*(-parseInt(e(106))/10)+-parseInt(e(121))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class Ve extends _t.LabeledFieldView{[Ae(133)]=null;constructor(t,e){const i=Ae;super(t,e);const n=this[i(126)];this[i(120)]({label:ot(t,i(108)),_tooltipString:""}),this[i(123)][i(122)]=ot(t,i(130)),this[i(114)]({tag:i(136),attributes:{class:[i(132)],"data-cke-tooltip-text":n.to(i(112)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(107)}})}[Ae(124)](){const e=Ae;super[e(124)](),this[e(133)]=new t.ResizeObserver(this[e(123)][e(119)],()=>this[e(118)]()),this[e(111)](this[e(123)],e(131),()=>this[e(118)]())}[Ae(116)](){const t=Ae;super[t(116)](),this[t(133)]&&this[t(133)][t(116)]()}[Ae(118)](){const t=Ae,e=this[t(123)][t(119)];this[t(112)]=e[t(117)]>e[t(127)]&&e[t(113)]||""}}var De=i(249),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=Mt(),Ce.insert=Nt().bind(null,"head"),Ce.domAPI=xt(),Ce.insertStyleElement=Et();St()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;function Fe(){const t=["327togqjE","548633FaHheu","77032XEfsKQ","4166640DIAuSM","21064340DZEKfh","0 0 11 10","Revision author","ck-revision-history-sidebar__revision-author__name","9982pLRyto","Revision creator","setTemplate","20imFnlH","5030739IcYpog","ck-revision-history-sidebar__revision-author","name","127048rHmVFk","push","set","ck-revision-history-sidebar__revision-author_creator","413IaeXFL","span"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=290]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(454092===-parseInt(e(296))/1+-parseInt(e(303))/2*(parseInt(e(295))/3)+parseInt(e(310))/4*(-parseInt(e(306))/5)+parseInt(e(298))/6+parseInt(e(293))/7*(-parseInt(e(297))/8)+-parseInt(e(307))/9+parseInt(e(299))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class je extends _t.View{constructor(t,e,i){const n=Le;super(t);const s=new _t.IconView;s[n(291)]({content:wt.IconUser,viewBox:n(300)});const r=["ck",n(308)];i&&r[n(290)](n(292));const o=[{tag:n(294),attributes:{class:["ck",n(302)],title:ot(t,n(i?304:301))},children:[s,e[n(309)]]}];this[n(305)]({tag:"li",attributes:{class:r},children:o})}}function Pe(t,e){var i=We();return(Pe=function(t,e){return i[t-=303]})(t,e)}function We(){var t=["7TqCGIn","1717227KFQsxV","3273072esoYPF","toLocaleDateString","5304378bZXndl","34645041KQMuVa","3935720MVaQgo","5900797KhJnQz","long","5VgURql","toLocaleTimeString","numeric","240834mkhFCG"];return(We=function(){return t})()}!function(t){for(var e=Pe,i=t();;)try{if(541672===parseInt(e(305))/1*(-parseInt(e(304))/2)+parseInt(e(306))/3+-parseInt(e(307))/4+parseInt(e(314))/5*(-parseInt(e(309))/6)+-parseInt(e(312))/7+-parseInt(e(311))/8+parseInt(e(310))/9)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=Nt().bind(null,"head"),ze.domAPI=xt(),ze.insertStyleElement=Et();St()(Ue.A,ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=He();return(Ze=function(t,e){return i[t-=397]})(t,e)}function He(){const t=["class","first","539572fcuOYo","set","model","menuitem","6418505utZhpR","execute","Restore this revision","8487246GskAjC","bind","locale","_action","306arVbZd","listView","function","isEnabled","items","9738141alKoxJ","Name this revision","name","buttonView","bindTemplate","extendTemplate","stopPropagation","button","source","change:isActionsDropdownOpen","isOpen","ck-revision-history-sidebar__revision__actions","679592mmjlQU","isActionsDropdownOpen","action","Compare against selected","add","283995PfPxYK","isReady","menu","Show more items","find","isVisible","panelPosition","44nTDbbX","children","ck-on","listenTo","33762ZvQhLw","map"];return(He=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(961467===-parseInt(e(440))/1+parseInt(e(399))/2*(-parseInt(e(403))/3)+-parseInt(e(407))/4+-parseInt(e(411))/5+parseInt(e(414))/6+-parseInt(e(423))/7+parseInt(e(435))/8*(parseInt(e(418))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(216),qe={attributes:{"data-cke":!0}};qe.setAttributes=Mt(),qe.insert=Nt().bind(null,"head"),qe.domAPI=xt(),qe.insertStyleElement=Et();St()($e.A,qe);$e.A&&$e.A.locals&&$e.A.locals;const Be=Ge;function Ye(){const t=["unhighlight","render","isReady","_revision","set","261036hQPcrA","listenTo","element","createdAt","fieldView","ck-reset","3948uJDWmG","srcElement","isActionsDropdownOpen","authors",".ck-thread__remove-confirm","name","closest","div","isConfirm","_createdAtFormatted","ck-revision-history-sidebar__actions_dropdown_open","30aVthAQ","fire","_requireRevisionName","isSelected","8438790eFQbnt","13011yfRkvO","1361837oOieWF","extendTemplate","uiLanguage","map","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision_highlighted","setTemplate","span","bindTemplate","21vgskKv","ck-revision-history-sidebar__revision","filter","unshift","4695449yNswVg","length","revisionActionsView","isHighlighted","9fMZhTo","8621224VRhKlr","deselect","2rWUpFA","isEnabled","ck-revision-history-sidebar__revision-wrapper","creator","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision_selected","220","setName","value","highlight","select","bind","1209JzDfTi","from","revisionNameView","ck-disabled","212rufEYq","ck-revision-history-sidebar__revision-authors","change"];return(Ye=function(){return t})()}function Ge(t,e){const i=Ye();return(Ge=function(t,e){return i[t-=280]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(919821===parseInt(e(310))/1*(-parseInt(e(331))/2)+-parseInt(e(309))/3*(-parseInt(e(347))/4)+parseInt(e(308))/5+-parseInt(e(287))/6*(-parseInt(e(320))/7)+-parseInt(e(329))/8*(parseInt(e(328))/9)+-parseInt(e(304))/10*(-parseInt(e(324))/11)+-parseInt(e(293))/12*(-parseInt(e(343))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Je extends((0,J.ConfirmMixin)(_t.View)){id;[Be(345)];[Be(326)];[Be(285)];[Be(306)];constructor(e,i,n,s){const r=Be;super(e);const o=this[r(319)],a=function(t,e){const i=r,n=Array[i(344)](e[i(296)])[i(322)](t=>t!=e[i(334)]);return e[i(334)]&&n[i(323)](e[i(334)]),n[i(313)](n=>new je(t,n,n==e[i(334)]))}(e,i);this.id=i.id,this[r(285)]=i,this[r(306)]=s,this[r(342)](r(298),r(290)).to(i),this[r(342)](r(302)).to(this,r(290),t=>{return i=e[r(312)],(n=t)[(s=Pe)(308)](i,{month:s(313),day:s(303)})+", "+n[s(315)](i,{hour:s(303),minute:s(303)});var i,n,s}),this[r(286)](r(307),!1),this[r(286)](r(327),!1),this[r(286)](r(295),!1),this[r(286)](r(284),!1),this[r(286)](r(332),!1),this[r(345)]=new Ve(e,_t.createLabeledInputText),this[r(345)][r(291)][r(311)]({attributes:{maxlength:r(337)}}),this[r(345)][r(291)][r(342)](r(339)).to(this,r(298),t=>t||this[r(302)]),this[r(345)][r(342)](r(332)).to(this,r(307),this,r(332),(t,e)=>t&&e),this[r(326)]=n&&n[r(325)]?function(e,i){const n=Ze,s=e[n(427)],r=e[n(416)],o=(0,_t.createDropdown)(r);o[n(398)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(416)],s={"Compare against selected":ot(n,i(438)),"Name this revision":ot(n,i(424)),"Restore this revision":ot(n,i(413))};return e[i(404)](t=>{const e=i,n=s[t[e(425)]];return n&&n!==t[e(425)]&&(t[e(425)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(430),model:new _t.UIModel({label:t[s(425)],class:t[s(405)],withText:!0,role:s(410),_action:t[s(437)]})};i[s(409)][s(415)](s(421)).to(e,s(436),i=>s(420)!=typeof t[s(421)]||!i||t[s(421)](e)),o[s(439)](i)}return o}(e,i);return e[n(415)](n(436)).to(o,n(433)),o[n(426)][n(408)]({label:ot(r,n(443)),tooltip:!0,tooltipPosition:"sw",icon:wt.IconThreeVerticalDots}),o[n(428)]({attributes:{class:[n(434),s.if(n(436),n(401))]},on:{click:s.to(t=>t[n(429)]())}}),o.on(n(412),t=>{const i=n;e[i(441)]&&i(420)==typeof t[i(431)][i(417)]&&t[i(431)][i(417)](e)}),(0,_t.addListToDropdown)(o,a,{role:n(442)}),o[n(402)](e,n(432),(t,s,r)=>{const a=n;if(r)for(const t of o[a(419)][a(422)]){const n=t[a(400)][a(406)],s=i[a(444)](t=>t[a(437)]===n[a(417)])[a(397)];t[a(397)]=void 0===s||s(e)}}),o}(this,n):"",this[r(326)]&&this[r(326)][r(342)](r(332)).to(this),this[r(317)]({tag:r(300),attributes:{class:["ck",r(292),r(333),o.if(r(301),r(314))]},children:[{tag:r(300),attributes:{class:["ck",r(292),r(321),o.if(r(332),r(346),t=>!t),o.if(r(307),r(336)),o.if(r(327),r(316)),o.if(r(295),r(303))]},children:[this[r(345)],{tag:r(318),attributes:{class:["ck",r(315)]},children:[{text:o.to(r(302))}]},{tag:r(300),attributes:{class:["ck",r(335)]},children:[{tag:"ul",attributes:{class:["ck",r(280)]},children:a}]},this[r(326)]],on:{click:o.to(t=>{const e=r;t[e(294)][e(299)](e(297))||this[e(284)]&&this[e(332)]&&this[e(305)](e(341),{id:this.id})})}}]})}[Be(283)](){const t=Be;super[t(283)]();const e=this[t(345)][t(291)][t(289)];this[t(288)](e,t(281),()=>{const i=t;this[i(306)]&&!e[i(339)]||this[i(305)](i(338),{id:this.id,name:e[i(339)]}),e[i(339)]||(e[i(339)]=this[i(298)]?this[i(298)]:this[i(302)])})}[Be(341)](){this[Be(307)]=!0}[Be(330)](){this[Be(307)]=!1}[Be(340)](){this[Be(327)]=!0}[Be(282)](){this[Be(327)]=!1}}class Xe extends Error{}class Ke extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class Qe extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ei extends Xe{}class ii extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class si extends Xe{constructor(){super("Zone is an abstract class")}}const ri="numeric",oi="short",ai="long",ci={year:ri,month:ri,day:ri},ui={year:ri,month:oi,day:ri},li={year:ri,month:oi,day:ri,weekday:oi},hi={year:ri,month:ai,day:ri},di={year:ri,month:ai,day:ri,weekday:ai},fi={hour:ri,minute:ri},mi={hour:ri,minute:ri,second:ri},pi={hour:ri,minute:ri,second:ri,timeZoneName:oi},vi={hour:ri,minute:ri,second:ri,timeZoneName:ai},gi={hour:ri,minute:ri,hourCycle:"h23"},yi={hour:ri,minute:ri,second:ri,hourCycle:"h23"},ki={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:oi},bi={hour:ri,minute:ri,second:ri,hourCycle:"h23",timeZoneName:ai},wi={year:ri,month:ri,day:ri,hour:ri,minute:ri},_i={year:ri,month:ri,day:ri,hour:ri,minute:ri,second:ri},Ii={year:ri,month:oi,day:ri,hour:ri,minute:ri},Si={year:ri,month:oi,day:ri,hour:ri,minute:ri,second:ri},Oi={year:ri,month:oi,day:ri,weekday:oi,hour:ri,minute:ri},xi={year:ri,month:ai,day:ri,hour:ri,minute:ri,timeZoneName:oi},Ti={year:ri,month:ai,day:ri,hour:ri,minute:ri,second:ri,timeZoneName:oi},Ni={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,timeZoneName:ai},Ri={year:ri,month:ai,day:ri,weekday:ai,hour:ri,minute:ri,second:ri,timeZoneName:ai};class Mi{get type(){throw new si}get name(){throw new si}get ianaName(){return this.name}get isUniversal(){throw new si}offsetName(t,e){throw new si}formatOffset(t,e){throw new si}offset(t){throw new si}equals(t){throw new si}get isValid(){throw new si}}let Ai=null;class Ei extends Mi{static get instance(){return null===Ai&&(Ai=new Ei),Ai}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qn(t,e,i)}formatOffset(t,e){return ns(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Vi=new Map;const Di={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Ci=new Map;class Fi extends Mi{static create(t){let e=Ci.get(t);return void 0===e&&Ci.set(t,e=new Fi(t)),e}static resetCache(){Ci.clear(),Vi.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qn(t,e,i,this.name)}formatOffset(t,e){return ns(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Vi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Vi.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Di[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 ji=new Map;function Pi(t,e={}){const i=JSON.stringify([t,e]);let n=ji.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),ji.set(i,n)),n}const Wi=new Map;const Ui=new Map;let zi=null;const Zi=new Map;function Hi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function qi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Bi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=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 Yi{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Fi.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=Pi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=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 Ji={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||vn.defaultLocale,o=r||(s?"en-US":zi||(zi=(new Intl.DateTimeFormat).resolvedOptions().locale,zi)),a=e||vn.defaultNumberingSystem,c=i||vn.defaultOutputCalendar,u=Pn(n)||vn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){zi=null,ji.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=Pi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=Pi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===Hi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Pn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return qi(this,t,cs,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=ho.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return qi(this,t,ds,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=ho.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return qi(this,void 0,()=>fs,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ho.utc(2016,11,13,9),ho.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return qi(this,t,gs,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[ho.utc(-40,1,1),ho.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Bi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new 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()||Hi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ji,...e}),$i.set(t,e)}return e}(this.locale):Ji}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Ki=null;class Qi extends Mi{static get utcInstance(){return null===Ki&&(Ki=new Qi(0)),Ki}static instance(t){return 0===t?Qi.utcInstance:new Qi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Qi(ts(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ns(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ns(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ns(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class tn extends 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 en(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?Qi.utcInstance:Qi.parseSpecifier(i)||Fi.create(t)}return Vn(t)?Qi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new tn(t)}const nn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},sn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rn=nn.hanidec.replace(/[\[|\]]/g,"").split("");const on=new Map;function an({numberingSystem:t},e=""){const i=t||"latn";let n=on.get(i);void 0===n&&(n=new Map,on.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${nn[i]}${e}`),n.set(e,s)),s}let cn,un=()=>Date.now(),ln="system",hn=null,dn=null,fn=null,mn=60,pn=null;class vn{static get now(){return un}static set now(t){un=t}static set defaultZone(t){ln=t}static get defaultZone(){return en(ln,Ei.instance)}static get defaultLocale(){return hn}static set defaultLocale(t){hn=t}static get defaultNumberingSystem(){return dn}static set defaultNumberingSystem(t){dn=t}static get defaultOutputCalendar(){return fn}static set defaultOutputCalendar(t){fn=t}static get defaultWeekSettings(){return pn}static set defaultWeekSettings(t){pn=Pn(t)}static get twoDigitCutoffYear(){return mn}static set twoDigitCutoffYear(t){mn=t%100}static get throwOnInvalid(){return cn}static set throwOnInvalid(t){cn=t}static resetCaches(){Xi.resetCache(),Fi.resetCache(),ho.resetCache(),on.clear()}}class gn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const yn=[0,31,59,90,120,151,181,212,243,273,304,334],kn=[0,31,60,91,121,152,182,213,244,274,305,335];function bn(t,e){return new gn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function wn(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function _n(t,e,i){return i+(qn(t)?kn:yn)[e-1]}function In(t,e){const i=qn(t)?kn:yn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function Sn(t,e){return(t-e+7)%7+1}function On(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=_n(n,s,r),a=Sn(wn(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ss(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=Sn(wn(n,1,e),i),a=Bn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Bn(c)):u>a?(c=n+1,u-=Bn(n)):c=n;const{month:l,day:h}=In(c,u);return{year:c,month:l,day:h,...ss(t)}}function Tn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:_n(e,i,n),...ss(t)}}function Nn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=In(e,i);return{year:e,month:n,day:s,...ss(t)}}function Rn(t,e){if(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ei("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=Dn(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Yn(t.year,t.month));return e?i?!n&&bn("day",t.day):bn("month",t.month):bn("year",t.year)}function An(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&&bn("millisecond",s):bn("second",n):bn("minute",i):bn("hour",e)}function En(t){return void 0===t}function Vn(t){return"number"==typeof t}function Dn(t){return"number"==typeof t&&t%1==0}function Cn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function jn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Pn(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Dn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function zn(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function Hn(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 qn(t){return t%4==0&&(t%100!=0||t%400==0)}function Bn(t){return qn(t)?366:365}function Yn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function 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 Jn(t,e,i){return-Sn(wn(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Jn(t,e,i),s=Jn(t+1,e,i);return(Bn(t)-n+s)/7}function Kn(t){return t>99?t:t>vn.twoDigitCutoffYear?1900+t:2e3+t}function Qn(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function ts(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function es(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function is(t,e){const i={};for(const n in t)if(jn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=es(s)}return i}function ns(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${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 ss(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const rs=["January","February","March","April","May","June","July","August","September","October","November","December"],os=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],as=["J","F","M","A","M","J","J","A","S","O","N","D"];function cs(t){switch(t){case"narrow":return[...as];case"short":return[...os];case"long":return[...rs];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const us=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ls=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],hs=["M","T","W","T","F","S","S"];function ds(t){switch(t){case"narrow":return[...hs];case"short":return[...ls];case"long":return[...us];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const fs=["AM","PM"],ms=["Before Christ","Anno Domini"],ps=["BC","AD"],vs=["B","A"];function gs(t){switch(t){case"narrow":return[...vs];case"short":return[...ps];case"long":return[...ms];default:return null}}function ys(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const ks={D:ci,DD:ui,DDD:hi,DDDD:di,t:fi,tt:mi,ttt:pi,tttt:vi,T:gi,TT:yi,TTT:ki,TTTT:bi,f:wi,ff:Ii,fff:xi,ffff:Ni,F:_i,FF:Si,FFF:Ti,FFFF:Ri};class bs{static create(t,e={}){return new bs(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return ks[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return 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 fs[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return cs(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return ds(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=bs.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return gs(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ys(bs.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=bs.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ys(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const ws=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function _s(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Is(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Ss(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Os(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=zn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ts=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Ns=RegExp(`${Ts.source}${`(?:${xs.source}?(?:\\[(${ws.source})\\])?)?`}`),Rs=RegExp(`(?:T${Ns.source})?`),Ms=Os("weekYear","weekNumber","weekDay"),As=Os("year","ordinal"),Es=RegExp(`${Ts.source} ?(?:${xs.source}|(${ws.source}))?`),Vs=RegExp(`(?: ${Es.source})?`);function Ds(t,e,i){const n=t[e];return En(n)?i:zn(n)}function Cs(t,e){return[{hours:Ds(t,e,0),minutes:Ds(t,e+1,0),seconds:Ds(t,e+2,0),milliseconds:Hn(t[e+3])},null,e+4]}function Fs(t,e){const i=!t[e]&&!t[e+1],n=ts(t[e+1],t[e+2]);return[{},i?null:Qi.instance(n),e+3]}function Ls(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const js=RegExp(`^T?${Ts.source}$`),Ps=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function 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(Hn(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function zs(t,e,i,n,s,r,o){const a={year:2===e.length?Kn(zn(e)):zn(e),month:os.indexOf(i)+1,day:zn(n),hour:zn(s),minute:zn(r)};return o&&(a.second=zn(o)),t&&(a.weekday=t.length>3?us.indexOf(t)+1:ls.indexOf(t)+1),a}const Zs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Hs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=zs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:ts(l,h),[d,new Qi(f)]}const $s=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,qs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ys(t){const[,e,i,n,s,r,o,a]=t;return[zs(e,s,n,i,r,o,a),Qi.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[zs(e,a,i,n,s,r,o),Qi.utcInstance]}const Js=_s(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Xs=_s(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Ks=_s(/(\d{4})-?(\d{3})/,Rs),Qs=_s(Ns),tr=Is(function(t,e){return[{year:Ds(t,e),month:Ds(t,e+1,1),day:Ds(t,e+2,1)},null,e+3]},Cs,Fs,Ls),er=Is(Ms,Cs,Fs,Ls),ir=Is(As,Cs,Fs,Ls),nr=Is(Cs,Fs,Ls);const sr=Is(Cs);const rr=_s(/(\d{4})-(\d\d)-(\d\d)/,Vs),or=_s(Es),ar=Is(Cs,Fs,Ls);const cr="Invalid Duration",ur={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},lr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...ur},hr=365.2425,dr=30.436875,fr={years:{quarters:4,months:12,weeks:52.1775,days:hr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:dr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...ur},mr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],pr=mr.slice(0).reverse();function vr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new kr(n)}function gr(t,e){let i=e.milliseconds??0;for(const n of pr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function yr(t,e){const i=gr(t,e)<0?-1:1;mr.reduceRight((n,s)=>{if(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),mr.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 kr{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?fr:lr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return kr.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new kr({values:is(t,kr.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vn(t))return kr.fromMillis(t);if(kr.isDuration(t))return t;if("object"==typeof t)return kr.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Ss(t,[Ps,Ws])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Ss(t,[js,sr])}(t);return i?kr.fromObject(i,e):kr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new ti(i);return new kr({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ii(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?bs.create(this.loc,i).formatDurationFromString(this,t):cr}toHuman(t={}){if(!this.isValid)return cr;const e=mr.map(e=>{const i=this.values[e];return 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 ho.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?gr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t),i={};for(const t of mr)(jn(e.values,t)||jn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return vr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=kr.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=es(t(this.values[i],i));return vr(this,{values:e},!0)}get(t){return this[kr.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return vr(this,{values:{...this.values,...is(t,kr.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return vr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return yr(this.matrix,t),vr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return vr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>kr.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of mr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Vn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return yr(this.matrix,e),vr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return vr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of mr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const br="Invalid Interval";class wr{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Qe(i);return new wr({invalid:i})}static fromDateTimes(t,e){const i=fo(t),n=fo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?wr.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:wr.invalid("missing or invalid end"):wr.invalid("missing or invalid start")}(i,n);return null==s?new wr({start:i,end:n}):s}static after(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.fromDateTimes(n,n.plus(i))}static before(t,e){const i=kr.fromDurationLike(e),n=fo(t);return wr.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=ho.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=ho.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return wr.fromDateTimes(t,r);if(s){const i=kr.fromISO(n,e);if(i.isValid)return wr.after(t,i)}else if(o){const t=kr.fromISO(i,e);if(t.isValid)return wr.before(r,t)}}return wr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?wr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(fo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(wr.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=kr.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(wr.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:wr.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return wr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(wr.fromDateTimes(e,t.time)),e=null);return wr.merge(n)}difference(...t){return wr.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:br}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ci,e={}){return this.isValid?bs.create(this.s.loc.clone(e),t).formatInterval(this):br}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:br}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:br}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:br}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:br}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):kr.invalid(this.invalidReason)}mapEndpoints(t){return wr.fromDateTimes(t(this.s),t(this.e))}}class _r{static hasDST(t=vn.defaultZone){const e=ho.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return en(t,vn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||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:Cn(),localeWeek:Fn()}}}function Ir(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(kr.fromMillis(n).as("days"))}function Sr(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Ir(t,e);return(i-i%7)/7}],["days",Ir]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=kr.fromObject(r,n);return u.length>0?kr.fromMillis(c,n).shiftTo(...u).plus(l):l}function Or(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(nn.hanidec))e+=rn.indexOf(t[i]);else for(const t in sn){const[i,s]=sn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Tr=new RegExp(xr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(Tr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Tr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Ar(t,e){return{regex:t,deser:([,t,e])=>ts(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Vr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Dr=null;function Cr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=jr(bs.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Cr(bs.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=an(e),n=an(e,"{2}"),s=an(e,"{3}"),r=an(e,"{4}"),o=an(e,"{6}"),a=an(e,"{1,2}"),c=an(e,"{1,3}"),u=an(e,"{1,6}"),l=an(e,"{1,9}"),h=an(e,"{2,4}"),d=an(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Or(u);case"yy":case"kk":return Or(h,Kn);case"yyyy":case"kkkk":return Or(r);case"yyyyy":return Or(d);case"yyyyyy":return Or(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Or(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Or(n);case"MMM":return 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 Or(c);case"ooo":case"SSS":return Or(s);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return Or(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 Ar(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Ar(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(jn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;En(t.z)||(i=Fi.create(t.z)),En(t.Z)||(i||(i=new Qi(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=Hn(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(jn(i,"a")&&jn(i,"H"))throw new ei("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function jr(t,e){if(!t)return null;const i=bs.create(e,t).dtFormatter((Dr||(Dr=ho.fromMillis(1555555555555)),Dr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Vr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const Pr="Invalid DateTime",Wr=864e13;function Ur(t){return new gn("unsupported zone",`the zone "${t.name}" is not supported`)}function zr(t){return null===t.weekData&&(t.weekData=On(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=On(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Hr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new ho({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function qr(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Br(t,e,i){return $r(Gn(t),e,i)}function Yr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Yn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=kr.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=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=ho.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return ho.invalid(new gn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Jr(t,e,i=!0){return t.isValid?bs.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 Kr(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 Qr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},to={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eo={ordinal:1,hour:0,minute:0,second:0,millisecond:0},io=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],so=["year","ordinal","hour","minute","second","millisecond"];function ro(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ii(t);return e}(t)}}function oo(t,e){const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(Ur(i));const n=Xi.fromObject(e);let s,r;if(En(t.year))s=vn.now();else{for(const e of io)En(t[e])&&(t[e]=Qr[e]);const e=Mn(t)||An(t);if(e)return ho.invalid(e);const n=function(t){if(void 0===uo&&(uo=vn.now()),"iana"!==t.type)return t.offset(uo);const e=t.name;let i=lo.get(e);return void 0===i&&(i=t.offset(uo),lo.set(e,i)),i}(i);[s,r]=Br(t,n,i)}return new ho({ts:s,zone:i,loc:n,o:r})}function ao(t,e,i){const n=!!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 co(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let uo;const lo=new Map;class ho{constructor(t){const e=t.zone||vn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=En(t.ts)?vn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Vn(t.o)&&!t.old?t.o:e.offset(this.ts);n=qr(this.ts,r),i=Number.isNaN(n.year)?new gn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new ho({})}static local(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return oo({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=co(arguments),[i,n,s,r,o,a,c]=e;return t.zone=Qi.utcInstance,oo({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return ho.invalid("invalid input");const s=en(e.zone,vn.defaultZone);return s.isValid?new ho({ts:i,zone:s,loc:Xi.fromObject(e)}):ho.invalid(Ur(s))}static fromMillis(t,e={}){if(Vn(t))return t<-Wr||t>Wr?ho.invalid("Timestamp out of range"):new ho({ts:t,zone:en(e.zone,vn.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vn(t))return new ho({ts:1e3*t,zone:en(e.zone,vn.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=en(e.zone,vn.defaultZone);if(!i.isValid)return ho.invalid(Ur(i));const n=Xi.fromObject(e),s=is(t,ro),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=vn.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 ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ei("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=qr(a,c);m?(p=no,v=to,g=On(g,r,o)):u?(p=so,v=eo,g=Tn(g)):(p=io,v=Qr);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=Dn(t.weekYear),s=Wn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&bn("weekday",t.weekday):bn("week",t.weekNumber):bn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Dn(t.year),i=Wn(t.ordinal,1,Bn(t.year));return e?!i&&bn("ordinal",t.ordinal):bn("year",t.year)}(s):Mn(s),b=k||An(s);if(b)return ho.invalid(b);const w=m?xn(s,r,o):u?Nn(s):s,[_,I]=Br(w,c,i),S=new ho({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?ho.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:ho.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Ss(t,[Js,tr],[Xs,er],[Ks,ir],[Qs,nr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Ss(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,Hs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Ss(t,[$s,Ys],[qs,Ys],[Bs,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(En(t)||En(e))throw new ni("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?ho.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return ho.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Ss(t,[rr,tr],[or,ar])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gn?t:new gn(t,e);if(vn.throwOnInvalid)throw new Ke(i);return new ho({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=jr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Cr(bs.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){uo=void 0,lo.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?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?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?Tn(this.c).ordinal:NaN}get monthShort(){return this.isValid?_r.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?_r.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?_r.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?_r.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=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=qr(a,r),l=qr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Hr(this,{ts:a}),Hr(this,{ts:c})]:[this]}get isInLeapYear(){return qn(this.year)}get daysInMonth(){return Yn(this.year,this.month)}get daysInYear(){return this.isValid?Bn(this.year):NaN}get weeksInWeekYear(){return this.isValid?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}=bs.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(Qi.instance(t),e)}toLocal(){return this.setZone(vn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=en(t,vn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Br(i,e,t)}return Hr(this,{ts:n,zone:t})}return ho.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Hr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=is(t,ro),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(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 ei("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ei("Can't mix ordinal dates with month/day");let l;s?l=xn({...On(this.c,i,n),...e},i,n):En(e.ordinal)?(l={...this.toObject(),...e},En(e.day)&&(l.day=Math.min(Yn(l.year,l.month),l.day))):l=Nn({...Tn(this.c),...e});const[h,d]=Br(l,this.o,this.zone);return Hr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Hr(this,Yr(this,kr.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Hr(this,Yr(this,kr.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=kr.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?bs.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Pr}toLocaleString(t=ci,e={}){return this.isValid?bs.create(this.loc.clone(e),t).formatDateTime(this):Pr}toLocaleParts(t={}){return this.isValid?bs.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Kr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Jr(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":"")+Kr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Jr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Jr(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")),Jr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Pr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return kr.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(kr.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Sr(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(ho.now(),t,e)}until(t){return this.isValid?wr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||ho.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),ao(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?ao(t.base||ho.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(ho.isDateTime))throw new ni("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(ho.isDateTime))throw new ni("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return ho.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Fr(s,t)}static fromFormatParser(t,e,i={}){if(En(t)||En(e))throw new ni("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 ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?ho.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ci}static get DATE_MED(){return ui}static get DATE_MED_WITH_WEEKDAY(){return li}static get DATE_FULL(){return hi}static get DATE_HUGE(){return di}static get TIME_SIMPLE(){return fi}static get TIME_WITH_SECONDS(){return mi}static get TIME_WITH_SHORT_OFFSET(){return pi}static get TIME_WITH_LONG_OFFSET(){return vi}static get TIME_24_SIMPLE(){return gi}static get TIME_24_WITH_SECONDS(){return yi}static get TIME_24_WITH_SHORT_OFFSET(){return ki}static get TIME_24_WITH_LONG_OFFSET(){return bi}static get DATETIME_SHORT(){return wi}static get DATETIME_SHORT_WITH_SECONDS(){return _i}static get DATETIME_MED(){return Ii}static get DATETIME_MED_WITH_SECONDS(){return Si}static get DATETIME_MED_WITH_WEEKDAY(){return Oi}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ti}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function fo(t){if(ho.isDateTime(t))return t;if(t&&t.valueOf&&Vn(t.valueOf()))return ho.fromJSDate(t);if(t&&"object"==typeof t)return ho.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function mo(t,e){const i=po();return(mo=function(t,e){return i[t-=496]})(t,e)}function po(){const t=["toJSDate","16048umTyFa","11341260FSoTDy","6SUwaDD","monthLong","2034744VbSryu","50550EGnZNm","weekdayLong","week","minus","1389540VMsurB","local","1127dwExwO","1324299xMbgqj","3411408wabvHi","fromJSDate","year","month","setLocale","startOf","toRelativeCalendar","day","hasSame"];return(po=function(){return t})()}function vo(t,e){const i=mo,n=ho[i(518)](t)[i(498)](e),s=ho[i(514)](),r=s[i(512)]({days:1})[i(499)](i(501));let o,a;return n[i(502)](s,i(501))?(o=n[i(499)](i(501))[i(503)](),a=n[i(500)]()):n[i(502)](r,i(501))?(o=r[i(503)](),a=n[i(500)]()):n[i(502)](s,i(511))?(o=n[i(499)](i(511))[i(503)](),a=n[i(510)]||""):n[i(502)](s,i(496))?(o=n[i(499)](i(497))[i(503)](),a=n[i(507)]||""):(o=n[i(499)](i(496))[i(503)](),a=String(n[i(496)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=mo,i=t();for(;;)try{if(652233===parseInt(e(509))/1*(-parseInt(e(506))/2)+-parseInt(e(516))/3+parseInt(e(508))/4+-parseInt(e(513))/5+-parseInt(e(517))/6+-parseInt(e(515))/7*(-parseInt(e(504))/8)+parseInt(e(505))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var go=i(45),yo={attributes:{"data-cke":!0}};yo.setAttributes=Mt(),yo.insert=Nt().bind(null,"head"),yo.domAPI=xt(),yo.insertStyleElement=Et();St()(go.A,yo);go.A&&go.A.locals&&go.A.locals;const ko=bo;function bo(t,e){const i=wo();return(bo=function(t,e){return i[t-=488]})(t,e)}function wo(){const t=["497212xevwrl","addRevision","12858VINQPj","9475480pvtZMn","2736591tCntEx","revisionViews","135WmKnjG","locale","5798560MsgxKR","startDate","setTemplate","_revisionActions","_requireRevisionName","ck-revision-history-sidebar__time-period__revisions","localizedPeriodName","removeRevision","ck-revision-history-sidebar__time-period__label","select","add","4412754fIYBwD","delegate","setName","ck-revision-history-sidebar__time-period","30407436Ebtgnw","createCollection","55BneEmX","remove","uiLanguage","div","span","find"];return(wo=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(758366===parseInt(e(489))/1*(parseInt(e(516))/2)+-parseInt(e(518))/3+-parseInt(e(514))/4*(-parseInt(e(508))/5)+parseInt(e(502))/6+parseInt(e(517))/7+parseInt(e(491))/8+-parseInt(e(506))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class _o extends _t.View{[ko(492)];[ko(488)];[ko(494)];[ko(495)];constructor(t,e,i,n){const s=ko;super(t);const r=vo(e,this[s(490)][s(510)])[s(497)];this[s(492)]=e,this[s(488)]=this[s(507)](),this[s(494)]=i,this[s(495)]=n,this[s(488)][s(503)](s(500)).to(this),this[s(488)][s(503)](s(504)).to(this),this[s(493)]({tag:s(511),attributes:{class:["ck",s(505)]},children:[{tag:s(512),attributes:{class:["ck",s(499)]},children:[{text:r}]},{tag:s(511),attributes:{class:["ck",s(496)]},children:this[s(488)]}]})}[ko(515)](t){const e=ko,i=new Je(this[e(490)],t,this[e(494)],this[e(495)]);this[e(488)][e(501)](i)}[ko(498)](t){const e=ko,i=this[e(488)][e(513)](e=>e.id===t.id);this[e(488)][e(509)](i)}}var Io=i(173),So={attributes:{"data-cke":!0}};So.setAttributes=Mt(),So.insert=Nt().bind(null,"head"),So.domAPI=xt(),So.insertStyleElement=Et();St()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;function Oo(){const t=["917SQkGYE","149944vVUNhW","36959jPMXTx","150UaZsLW","setTemplate","288GlOlXX","3064495oIJDXb","ck-reset_all","4499709xDoFUi","881353SamSNk","Revision history","div","1092rCezFN","span","ck-revision-history-sidebar__header__label","1572VZpzua","718crsbwR","4OIzPvz","content","45258Wghwkw","ck-revision-history-sidebar__header"];return(Oo=function(){return t})()}function xo(t,e){const i=Oo();return(xo=function(t,e){return i[t-=383]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(822297===-parseInt(e(400))/1*(-parseInt(e(395))/2)+parseInt(e(387))/3*(-parseInt(e(396))/4)+-parseInt(e(385))/5+parseInt(e(398))/6*(parseInt(e(391))/7)+parseInt(e(401))/8*(parseInt(e(384))/9)+-parseInt(e(403))/10*(-parseInt(e(388))/11)+-parseInt(e(394))/12*(parseInt(e(402))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oo);class To extends _t.View{constructor(t){const e=xo;super(t);const i=new _t.IconView;i[e(397)]=wt.IconHistory,this[e(383)]({tag:e(390),attributes:{class:["ck",e(386),e(399)]},children:[i,{tag:e(392),attributes:{class:["ck",e(393)]},children:[ot(t,e(389))]}]})}}var No=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=Nt().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Et();St()(No.A,Ro);No.A&&No.A.locals&&No.A.locals;const Mo=Ao;function Ao(t,e){const i=Vo();return(Ao=function(t,e){return i[t-=433]})(t,e)}!function(t){const e=Ao,i=t();for(;;)try{if(428550===-parseInt(e(434))/1+-parseInt(e(441))/2*(-parseInt(e(469))/3)+-parseInt(e(460))/4+-parseInt(e(467))/5*(parseInt(e(449))/6)+-parseInt(e(470))/7+-parseInt(e(473))/8*(parseInt(e(450))/9)+-parseInt(e(459))/10*(-parseInt(e(447))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends _t.View{[Mo(479)];[Mo(455)];[Mo(465)];[Mo(474)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(456)];this[s(479)]=this[s(476)](),this[s(479)][s(437)](s(443)).to(this),this[s(479)][s(437)](s(462)).to(this),this[s(455)]=e,this[s(465)]=i,this[s(474)]=n,this.on(s(443),(t,e)=>{const i=s;this[i(438)](i(436),e)}),this.on(s(462),(t,e)=>{const i=s;this[i(438)](i(477),e)}),this[s(480)](s(463),!1),this[s(481)]({tag:s(487),attributes:{class:["ck",s(475),s(486),s(446)]},children:[new To(t),{tag:s(487),attributes:{class:["ck",s(452),r.if(s(463),s(461),t=>!t)]},children:this[s(479)]}]})}[Mo(448)](){const t=Mo;super[t(448)]();for(const e of this[t(455)])this[t(485)](e);this[t(455)].on(t(464),(e,i)=>{this[t(485)](i)}),this[t(455)].on(t(439),(e,i)=>{this[t(442)](i)})}get[Mo(454)](){const t=Mo;return this[t(479)][t(433)](e=>e[t(454)][t(433)](t=>t))[t(440)]()}[Mo(466)](t){const e=Mo;for(const i of this[e(454)])t&&t.id===i.id?i[e(443)]():i[e(484)]()}[Mo(435)](t){const e=Mo;for(const i of this[e(454)])t[e(457)](({id:t})=>t===i.id)?i[e(471)]():i[e(488)]()}[Mo(485)](t){const e=Mo,i=vo(t[e(478)],this[e(451)][e(468)])[e(458)];let n=this[e(479)][e(445)](0);n&&n[e(458)][e(472)]()===i[e(472)]()||(n=new _o(this[e(451)],i,this[e(465)],this[e(474)]),this[e(479)][e(464)](n)),n[e(444)](t)}[Mo(442)](t){const e=Mo,i=vo(t[e(478)],this[e(451)][e(468)])[e(458)];this[e(483)](i)[e(453)](t)}[Mo(483)](t){const e=Mo;return this[e(479)][e(482)](i=>i[e(458)][e(472)]()===t[e(472)]())}}function Vo(){const t=["35PswcTb","uiLanguage","996909BESjWN","1689058hkxVdx","highlight","getTime","4794848fmoYxa","_requireRevisionName","ck-reset","createCollection","revisionSetName","createdAt","timePeriodViews","set","setTemplate","find","_getTimePeriodViewByStartDate","deselect","_addRevision","ck-rounded-corners","div","unhighlight","map","448158MyHbAg","highlightRevisions","revisionSelected","delegate","fire","remove","flat","2iPUIXK","_removeRevision","select","addRevision","get","ck-revision-history-sidebar","4903096IOSWNI","render","399780hLWQRL","9IbbvoZ","locale","ck-revision-history-sidebar__timeline","removeRevision","revisionViews","_revisions","bindTemplate","some","startDate","60LjXWCl","3291804TiBIMn","ck-disabled","setName","isEnabled","add","_revisionActions","selectRevision"];return(Vo=function(){return t})()}const Do=Co;function Co(t,e){const i=Lo();return(Co=function(t,e){return i[t-=323]})(t,e)}!function(t){const e=Co,i=t();for(;;)try{if(631705===-parseInt(e(394))/1+parseInt(e(382))/2+-parseInt(e(346))/3*(parseInt(e(383))/4)+-parseInt(e(327))/5+-parseInt(e(393))/6*(parseInt(e(370))/7)+parseInt(e(326))/8*(-parseInt(e(404))/9)+parseInt(e(323))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Fo extends G.Plugin{[Do(344)];[Do(345)];[Do(388)];static[Do(403)]=[Do(354),Do(334),Do(328)];static[Do(353)]=function(){const t=Do;return{compareAgainstSelected:{name:t(363),action:({plugins:e},i)=>{const n=t,s=e[n(357)](oe),r=s[n(356)];let o=s[n(365)][n(342)],a=i.id;r[n(351)](o)>r[n(351)](a)&&([o,a]=[a,o]),s[n(378)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(357)](oe);return!(s[n(356)][n(350)](s[n(365)])[n(366)]>2||i[n(333)])}},restoreRevision:{name:t(325),action:(e,{id:i})=>{const n=t;e[n(372)][n(357)](n(330))[n(336)](i)},isVisible:({plugins:e},i)=>!!e[t(357)](oe)[t(356)][t(386)](i.id)},nameRevision:{name:t(329),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(357)](oe),o=r[s(356)][s(349)](i);r[s(378)](i,o),n[s(381)](),n[s(402)][s(379)]()}}}}();static get[Do(341)](){return Do(343)}static get[Do(337)](){return!0}static get[Do(373)](){return!0}static get[Do(396)](){return[oe]}constructor(t){const e=Do;super(t),this[e(344)]=t[e(400)][e(357)](oe),this[e(345)]=this[e(344)][e(356)],this[e(388)]=null}[Do(340)](){const t=Do,e=this[t(345)][t(355)],i=this[t(380)](),n=this[t(367)][t(372)][t(357)](t(391));this[t(388)]=new Eo(this[t(367)][t(335)],e,i,this[t(367)][t(372)][t(357)](t(389))),this[t(388)].on(t(397),this[t(339)][t(369)](this)),this[t(388)].on(t(371),this[t(387)][t(369)](this)),this[t(388)][t(369)](t(361)).to(this[t(344)]),this[t(388)][t(360)].on(t(364),(e,i)=>{const n=t;i[n(398)].on(n(364),(t,e)=>{const i=n;e[i(369)](i(361),i(331)).to(this[i(344)])})}),this[t(388)][t(401)](),this[t(390)](this[t(367)][t(384)],t(362),this[t(375)][t(369)](this)),this[t(390)](this[t(344)],t(368),this[t(395)][t(369)](this)),n[t(338)](this[t(388)][t(374)])}[Do(392)](){const t=Do;this[t(388)][t(374)][t(399)](),this[t(388)][t(392)]()}[Do(375)](){const t=Do,e=this[t(345)][t(324)](0);if(e){const i=this[t(345)][t(349)](e.id);this[t(344)][t(378)](e,i)}}[Do(339)](t,e){const i=Do,n=this[i(345)][i(324)](e.id),s=this[i(345)][i(349)](n.id);this[i(344)][i(378)](n,s)}[Do(387)](t,e){const i=Do;this[i(345)][i(324)](e.id)[i(376)](e[i(352)])}[Do(395)](t,e,i){const n=Do,s=this[n(345)][n(350)](i);s[n(366)]>2?(this[n(388)][n(358)](s),this[n(388)][n(377)](null)):(this[n(388)][n(358)]([]),this[n(388)][n(377)](s[0]))}[Do(380)](){const t=Do,e=this[t(367)],i=Fo[t(353)],n=e[t(372)][t(357)](t(405))||Fo[t(403)];if(n[t(366)])return n[t(348)](n=>{const s=t,r=s(359)==typeof n?Object[s(347)]({},i[n]):n;return r[s(385)]=r[s(385)][s(369)](this,e),r[s(332)]&&(r[s(332)]=r[s(332)][s(369)](this,e)),r})}}function Lo(){const t=["compare","select","_createRevisionActions","focus","2112164JMNRFx","4qkoIdb","data","action","getLaterVisibleRevision","_handleRevisionSetName","_sidebarView","revisionHistory.requireRevisionName","listenTo","revisionHistory.viewerSidebarContainer","destroy","6282JcaeIa","238800hAOOMU","_handleDiffChange","requires","revisionSelected","revisionViews","remove","plugins","render","fieldView","defaultRevisionActions","113895ZKpDZc","revisionHistory.revisionActions","14171950LNACbz","getRevision","Restore this revision","376wmOXEF","52650KzDPur","nameRevision","Name this revision","revisionHistory","isReady","isVisible","isSelected","restoreRevision","locale","restoreRevisionCallback","isOfficialPlugin","appendChild","_handleRevisionSelected","init","pluginName","newRevisionId","RevisionsSidebar","_revisionViewer","_revisionsRepository","1911867EOuFpw","assign","map","getEarlierVisibleRevision","getRevisionsInDiff","getIndex","name","availableRevisionActions","compareAgainstSelected","_revisions","repository","get","highlightRevisions","string","timePeriodViews","isEnabled","ready","Compare against selected","add","diff","length","editor","change:diff","bind","2408hqkExw","revisionSetName","config","isPremiumPlugin","element","_handleEditorDataReady","setName","selectRevision"];return(Lo=function(){return t})()}const jo=Po;function Po(t,e){const i=Wo();return(Po=function(t,e){return i[t-=462]})(t,e)}function Wo(){const t=["name","focusTracker","init","config","457630hxofRo","setEditableElement","ready","176kAwjBk","9228KGrLVR","viewportOffset","editor","_initToolbar","replace","_toolbarConfig","isActive","8757EswQYf","3019563UevxWW","destroy","263066rumWwP","toolbar","viewportTopOffset","isFocused","detachDomRoot","editable","restore","get","limiterElement","editing","rootName","view","fillFromConfig","2443lobLPS","fire","bind","attachDomRoot","componentFactory","getRoot","8284970QxrDls","element","stickyPanel","render","document","_view","8sKmXWP","_elementReplacer","625824aaGJgK","addToolbar"];return(Wo=function(){return t})()}!function(t){const e=Po,i=t();for(;;)try{if(493623===parseInt(e(487))/1+parseInt(e(507))/2+parseInt(e(504))/3*(-parseInt(e(496))/4)+-parseInt(e(493))/5+-parseInt(e(497))/6*(parseInt(e(473))/7)+parseInt(e(485))/8*(-parseInt(e(505))/9)+parseInt(e(479))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wo);class Uo extends _t.EditorUI{[jo(484)];[jo(502)];[jo(486)];get[jo(471)](){return this[jo(484)]}constructor(e,i){const n=jo;super(e),this[n(484)]=i,this[n(502)]=(0,_t.normalizeToolbarConfig)(e[n(492)][n(467)](n(508))),this[n(486)]=new t.ElementReplacer}get[jo(480)](){const t=jo;return this[t(471)][t(480)]}[jo(491)](t){const e=jo,i=this[e(499)],n=this[e(471)],s=i[e(469)][e(471)],r=n[e(465)],o=s[e(483)][e(478)]();r[e(489)]=o[e(470)],n[e(482)]();const a=r[e(480)];this[e(494)](r[e(489)],a),n[e(465)][e(475)](e(463)).to(this[e(490)]),s[e(476)](a),this[e(486)][e(501)](t,this[e(480)]),this[e(500)](),this[e(474)](e(495))}[jo(506)](){const t=jo;super[t(506)]();const e=this[t(471)],i=this[t(499)][t(469)][t(471)];this[t(486)][t(466)](),i[t(464)](e[t(465)][t(489)]),e[t(506)]()}[jo(500)](){const t=jo,e=this[t(471)];e[t(481)][t(475)](t(503)).to(this[t(490)],t(463)),e[t(481)][t(468)]=e[t(480)],e[t(481)][t(475)](t(462)).to(this,t(498),({top:t})=>t),e[t(508)][t(472)](this[t(502)],this[t(477)]),this[t(488)](e[t(508)])}}var zo=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Nt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();St()(zo.A,Zo);zo.A&&zo.A.locals&&zo.A.locals;var Ho=$o;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=393]})(t,e)}!function(t){for(var e=$o,i=t();;)try{if(160623===-parseInt(e(404))/1+-parseInt(e(401))/2*(-parseInt(e(411))/3)+parseInt(e(398))/4+-parseInt(e(406))/5+parseInt(e(410))/6*(-parseInt(e(407))/7)+parseInt(e(413))/8*(-parseInt(e(402))/9)+parseInt(e(400))/10*(parseInt(e(405))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class qo extends _t.BoxedEditorUIView{[Ho(409)];[Ho(395)];[Ho(399)];get[Ho(412)](){return this[Ho(409)]}constructor(t,e,i={}){var n=Ho;super(t),this[n(395)]=new _t.StickyPanelView(t),this[n(399)]=new _t.ToolbarView(t,{shouldGroupWhenFull:i[n(393)]}),this[n(409)]=new _t.InlineEditableUIView(t,e)}[Ho(394)](){var t=Ho;super[t(394)](),this[t(395)][t(396)][t(403)](this[t(399)]),this[t(408)][t(403)](this[t(395)]),this[t(397)][t(403)](this[t(412)])}}function Bo(){var t=["toolbar","10WmYMKo","416546xXqFhv","23211RvGbKe","add","87884yGIFuk","873521TtgDtE","116165Uuwvxo","1026683TtyxHg","top","_editable","6KqBqZU","3ndDTAR","editable","584mylgOo","shouldToolbarGroupWhenFull","render","stickyPanel","content","main","1275968fSwqXO"];return(Bo=function(){return t})()}const Yo=Go;function Go(t,e){const i=Jo();return(Go=function(t,e){return i[t-=292]})(t,e)}function Jo(){const t=["updateSourceElement","editing","initPlugins","model","fire","init","get","190966CPBmcl","2313730AiMCtX","1953752ngDwaX","3EixoiL","data","_ui","config","create","21PnBZrN","document","locale","6131274RFBgef","388105ugkQDt","destroy","initialData","7362423oBafAW","1765509AkLWxm","ready","createRoot","view","sourceElement","12ilXGrt"];return(Jo=function(){return t})()}!function(t){const e=Go,i=t();for(;;)try{if(635925===parseInt(e(305))/1*(parseInt(e(302))/2)+-parseInt(e(318))/3+parseInt(e(294))/4*(parseInt(e(314))/5)+parseInt(e(313))/6+parseInt(e(310))/7*(parseInt(e(304))/8)+-parseInt(e(317))/9+-parseInt(e(303))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Yo(307)];get ui(){return this[Yo(307)]}constructor(t,e){const i=Yo;super(e),this[i(293)]=t,this[i(298)][i(311)][i(320)]();const n=new qo(this[i(312)],this[i(296)][i(292)],{shouldToolbarGroupWhenFull:!0});this[i(307)]=new Uo(this,n)}[Yo(315)](){const t=Yo;return this[t(295)](),this.ui[t(315)](),super[t(315)]()}static async[Yo(309)](t,e){const i=Yo,n=new this(t,e);return await n[i(297)](),await n.ui[i(300)](t),await n[i(306)][i(300)](n[i(308)][i(301)](i(316))||""),n[i(299)](i(319)),n}}const Ko=ta;function Qo(){const t=["define","removeSelectionAttribute","rootName","toJSON","document","markers","10329152JZlSje","isAnonymous","model","createRangeIn","element","get","addRevisionData","view","44660310GBXvjT","Dialog","creator","toVersion","11gSBzQF","Autosave","getRevision","disableReadOnlyMode","DocumentOutlineUI","createdAt","removeMarker","translations","194360dZyJJg","has","RestrictedEditingMode","data","RevisionTracker","isOpen","pluginName","refreshPositioning","isReadOnly","_closeRevisionViewer","_enhanceShowRevisionViewerCallback","revision-history-missing-configuration","enqueueChange","name","restoreRevision","commands","setSelection","editor","revision-history-viewer-opened","RevisionHistoryUI","lazyRoots","2243034rsqpud","getRevisionRootsAttributes","set","roots","_showRevisionViewer","_cleanUp","27LyqoSq","revisionHistory.restoreRevisionCallback","revisionHistory.viewerEditorElement","keys","186gCZHQu","showRevisionViewerCallback","locale","199216ILpVEr","fromVersion","adapter","exitToEditing","revisionHistory.closeRevisionViewerCallback","refreshVisibility","includes","init","parse","requires","block","toolbar","RevisionsRepository","_viewerEditor","then","Annotations","update","config","Restored","destroy","restrictedEditingException","getRoot","isEnabled","isRevisionViewerOpen","style","fromCharCode","result","removeAttribute","saveRevision","$graveyard","map","join","numeric","isAttached","uiLanguage","setAttribute","isOfficialPlugin","repository","getUser","from","_enhanceCloseRevisionViewerCallback","users","changesNavigation","isPremiumPlugin","PaginationLookup","_recalculatePageBreaks","revisionHistory.viewerContainer","436744EbfrWd","addRoot","Users","toLocaleDateString","enableReadOnlyMode","getMarkersGroup","addUser","_getRevisionViewerEditorConfig","detachRoot","RevisionHistoryUtils","change","create","DocumentOutline","save","getRevisions","catch","revisionHistory.requireRevisionName","isReady","push","long","RevisionHistory","loadRevisionData","indexOf","revisionHistory","RevisionViewerIntegration","revisionHistory.showRevisionViewerCallback","insert","selection","getAttributeKeys","closeRevisionViewerCallback","115jGcAel","revisionHistory.editorContainer","error","RevisionViewer","toLocaleTimeString","remove","_restoreRevision","bind","getRevisionDocumentData","_update","end","hide","452252GeXSeU","none","plugins","display"];return(Qo=function(){return t})()}function ta(t,e){const i=Qo();return(ta=function(t,e){return i[t-=292]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(976333===parseInt(e(390))/1+-parseInt(e(301))/2*(-parseInt(e(294))/3)+-parseInt(e(420))/4*(-parseInt(e(378))/5)+parseInt(e(298))/6*(parseInt(e(348))/7)+parseInt(e(400))/8+-parseInt(e(441))/9+-parseInt(e(408))/10*(parseInt(e(412))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qo);const ea=[Ko(439),Ko(422)];class ia extends G.Plugin{[Ko(327)];static get[Ko(426)](){return Ko(372)}static get[Ko(337)](){return!0}static get[Ko(344)](){return!0}constructor(t){const e=Ko;function i(t){const e=ta;return t[e(331)](t=>String[e(326)](t))[e(332)]("")}super(t),this[e(327)]=e(388),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{[Ko(314)];static get[Ko(426)](){return Ko(368)}static get[Ko(337)](){return!0}static get[Ko(344)](){return!0}static get[Ko(310)](){return[mt,Ht]}constructor(e){const i=Ko;if(super(e),!this[i(437)][i(318)][i(405)](i(371)))throw new t.CKEditorError(i(431),this);this[i(314)]=null,this[i(443)](i(324),!1),this[i(437)][i(318)][i(394)](i(373),t=>this[i(292)]({...t,translations:this[i(437)][i(300)][i(419)]})),this[i(437)][i(318)][i(394)](i(305),t=>this[i(429)](t)),this[i(437)][i(318)][i(394)](i(295),t=>this[i(384)](t)),this[i(437)][i(318)][i(394)](i(364),!1),this[i(430)](),this[i(341)]()}set[Ko(303)](t){const e=Ko;this[e(437)][e(392)][e(405)](e(424))[e(303)]=t}get[Ko(303)](){const t=Ko;return this[t(437)][t(392)][t(405)](t(424))[t(303)]}[Ko(406)](t){const e=Ko;return this[e(437)][e(392)][e(405)](e(424))[e(406)](t)}[Ko(414)](t){const e=Ko;return this[e(437)][e(392)][e(405)](e(313))[e(414)](t)}[Ko(362)](t){const e=Ko;return this[e(437)][e(392)][e(405)](e(313))[e(362)](t||{toJSON:!1})}[Ko(355)](){const e=Ko,i=this[e(437)],n=(0,J.sanitizeEditorConfig)(i,ea),s=i[e(392)][e(405)](e(424)),r=i[e(392)][e(405)](e(350))[e(342)];return n[e(312)]=[e(304),e(434),e(343)],delete n[e(440)],n[e(392)][e(366)](ia,oe,Te,class extends G.Plugin{static get[e(310)](){return[oe,e(350)]}[e(308)](){const n=e,o=this[n(437)][n(392)][n(405)](n(350));for(const t of r)t[n(401)]||o[n(339)](t.id)||o[n(354)](t);const a=s[n(338)][n(362)]();let c=null;const u=this[n(437)][n(392)][n(405)](n(381));u[n(303)]=s[n(303)],u[n(385)](n(323)).to(s),this[n(437)][n(435)][n(405)](n(434))[n(385)](n(323)).to(i,n(428),t=>!t);for(const e of a){const i=null===e[n(410)];if(i&&e[n(411)]===e[n(302)])continue;const r=e[n(397)]();u[n(406)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(387)](r,o);else if(!o){const e=a[u(397)]();e.id=(0,t.uid)(),s[u(329)](e,a[u(411)])[u(315)](t=>{c=t})}}else e[u(387)](r,o)})}}},Fo),n}[Ko(430)](){const t=Ko,e=this[t(437)][t(318)][t(405)](t(371))[t(299)];this[t(437)][t(318)][t(443)](t(373),async()=>{const i=t;this[i(437)][i(352)](i(438));const n=this[i(437)][i(392)][i(405)](i(424));if(this[i(437)][i(392)][i(421)](i(413))){const t=this[i(437)][i(392)][i(405)](i(413));await t[i(361)]()}else await n[i(317)]();if(this[i(437)][i(392)][i(421)](i(345))&&this[i(437)][i(392)][i(405)](i(345))[i(346)](),this[i(437)][i(392)][i(421)](i(409))){const t=this[i(437)][i(392)][i(405)](i(409));t[i(425)]&&t[i(389)]()}const s=this[i(355)]();return e(s)[i(315)](t=>{const e=i;return this[e(314)]=t,this[e(437)][e(392)][e(421)](e(316))&&this[e(437)][e(392)][e(405)](e(316))[e(306)](),this[e(437)][e(392)][e(421)](e(360))&&(this[e(437)][e(392)][e(405)](e(416))[e(407)][e(404)][e(325)][e(393)]=e(391)),t})[i(363)](t=>(console[i(380)](t),this[i(437)][i(415)](i(438)),null))})}[Ko(341)](){const t=Ko,e=this[t(437)][t(318)][t(405)](t(371))[t(377)];this[t(437)][t(318)][t(443)](t(305),()=>(this[t(437)][t(392)][t(421)](t(345))&&this[t(437)][t(392)][t(405)](t(345))[t(346)](),this[t(437)][t(392)][t(421)](t(360))&&(this[t(437)][t(392)][t(405)](t(416))[t(407)][t(404)][t(325)][t(393)]=""),this[t(314)][t(392)][t(405)](t(381))[t(293)](),e(this[t(314)])[t(315)](()=>{const e=t;if(this[e(437)][e(415)](e(438)),this[e(314)]=null,this[e(437)][e(392)][e(421)](e(316))){const t=this[e(437)][e(392)][e(405)](e(316));t[e(306)](),t[e(427)]()}})))}[Ko(292)](t){const e=Ko,i=this[e(437)][e(318)][e(405)](e(379)),n=this[e(437)][e(318)][e(405)](e(347)),s=this[e(437)][e(318)][e(405)](e(296));return Xo[e(359)](s,t)[e(315)](t=>(n[e(325)][e(393)]=e(311),i[e(325)][e(393)]=e(391),this[e(324)]=!0,t))}[Ko(429)](t){const e=Ko,i=this[e(437)][e(318)][e(405)](e(379));return this[e(437)][e(318)][e(405)](e(347))[e(325)][e(393)]=e(391),i[e(325)][e(393)]="",this[e(324)]=!1,t[e(320)]()}async[Ko(384)](t){const e=Ko,i=this[e(437)],n=this[e(314)][e(392)][e(405)](e(381)),s=i[e(392)][e(405)](e(424)),r=i[e(392)][e(405)](e(357)),o=n[e(338)][e(414)](t);let a,c,u;try{await r[e(369)](o,this[e(303)]),a=r[e(386)](o),c=r[e(442)](o)}catch(t){return void console[e(380)](t)}i[e(402)][e(358)](t=>{const n=e;for(const e of Array[n(340)](i[n(402)][n(399)][n(353)](n(321))))t[n(418)](e)}),n[e(365)]=!1,i[e(402)][e(432)](t=>{const n=e;t[n(436)](null),t[n(395)](i[n(402)][n(398)][n(375)][n(376)]());const s=Object[n(297)](a);for(const e of i[n(402)][n(398)][n(444)])n(330)!=e[n(396)]&&e[n(334)]()&&!s[n(307)](e[n(396)])&&t[n(356)](e);for(const e of s){let s=i[n(402)][n(398)][n(322)](e);s&&s[n(334)]()||(s=t[n(349)](e));const r=c[e],o=Object[n(297)](r),u=a[e];for(const e of s[n(376)]())o[n(307)](e)||t[n(328)](e,s);for(const i of o)t[n(336)](i,c[e][i],s);t[n(383)](t[n(403)](s)),t[n(374)](i[n(423)][n(309)](u,s),s,0)}});const l=ot(i[e(300)],e(319));return u=o[e(433)]?-1==o[e(433)][e(370)](l)?l+": "+o[e(433)]:o[e(433)]:l+": "+o[e(417)][e(351)](i[e(300)][e(335)],{month:e(367),day:e(333)})+", "+o[e(417)][e(382)](i[e(300)][e(335)],{hour:e(333),minute:e(333)}),await s[e(329)]({name:u}),n[e(365)]=!0,i[e(318)][e(405)](e(371))[e(377)]()}}function sa(t,e){var i=ra();return(sa=function(t,e){return i[t-=262]})(t,e)}function ra(){var t=["1806SJbFFA","270060YngmDW","44XfgDrj","2224917rcsVVF","28235JeBWgh","4938SHHgIo","4816FTMyVJ","115EXUMmM","371816NGXmhr","259160yueHYS"];return(ra=function(){return t})()}!function(t){for(var e=sa,i=t();;)try{if(180223===parseInt(e(271))/1*(parseInt(e(270))/2)+-parseInt(e(265))/3+parseInt(e(266))/4*(-parseInt(e(268))/5)+parseInt(e(269))/6*(-parseInt(e(264))/7)+parseInt(e(262))/8+parseInt(e(267))/9+-parseInt(e(263))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();