@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20250226.0 → 0.0.0-nightly-next-20250226.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 (183) hide show
  1. package/LICENSE.md +1 -1
  2. package/build/revision-history.js +1 -1
  3. package/ckeditor5-metadata.json +1 -1
  4. package/dist/index.js +6 -6
  5. package/dist/translations/af.js +1 -1
  6. package/dist/translations/af.umd.js +1 -1
  7. package/dist/translations/ar.js +1 -1
  8. package/dist/translations/ar.umd.js +1 -1
  9. package/dist/translations/ast.js +1 -1
  10. package/dist/translations/ast.umd.js +1 -1
  11. package/dist/translations/az.js +1 -1
  12. package/dist/translations/az.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 +12 -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/revisionsrepository.js +1 -1
  159. package/src/revisiontracker.js +1 -1
  160. package/src/revisionviewer.js +1 -1
  161. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  162. package/src/ui/revision/revisionauthorview.js +1 -1
  163. package/src/ui/revision/revisionnameview.js +1 -1
  164. package/src/ui/revision/revisionview.js +2 -2
  165. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  166. package/src/ui/revision/subrevisionview.js +1 -1
  167. package/src/ui/revision/utils.js +1 -1
  168. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  170. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  174. package/src/ui/revisionssidebar/utils.js +1 -1
  175. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  176. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  177. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  179. package/src/utils/common-translations.js +1 -1
  180. package/theme/icons/arrow-down.svg +0 -1
  181. package/theme/icons/arrow-up.svg +0 -1
  182. package/theme/icons/revision-history.svg +0 -1
  183. package/theme/icons/user.svg +0 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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},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),r=i.n(n),s=i(433),o=i.n(s)()(r());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,r,s){"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!==s&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=s),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),r&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=r):l[4]="".concat(r)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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,r){var s;if(n)s="";else{s="",r.supports&&(s+="@supports (".concat(r.supports,") {")),r.media&&(s+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(s+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),s+=r.css,o&&(s+="}"),r.media&&(s+="}"),r.supports&&(s+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,s);else{var a=document.createTextNode(s),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var r={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=r.singletonCounter++,i=r.singleton||(r.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),r=i.n(n),s=i(433),o=i.n(s)()(r());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:0;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 s={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=s[u]||0,h="".concat(u," ").concat(l);s[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=r(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function r(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,r){var s=n(t=t||[],r=r||{});return function(t){t=t||[];for(var o=0;o<s.length;o++){var a=i(s[o]);e[a].references--}for(var c=n(t,r),u=0;u<s.length;u++){var l=i(s[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}s=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),r=i.n(n),s=i(433),o=i.n(s)()(r());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),r=i.n(n),s=i(433),o=i.n(s)()(r());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 r=e[n];if(void 0!==r)return r.exports;var s=e[n]={id:n,exports:{}};return t[n](s,s.exports,i),s.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,{Revision:()=>$i,RevisionHistory:()=>fl,RevisionHistoryUI:()=>er,RevisionTracker:()=>Sn,RevisionViewer:()=>kr,RevisionViewerLoadingOverlay:()=>Cr,RevisionViewerUI:()=>Pr,RevisionsRepository:()=>Qi,RevisionsSidebar:()=>Bu});var t=i(584);const e=function(){this.__data__=[],this.size=0};const r=function(t,e){return t===e||t!=t&&e!=e};const s=function(t,e){for(var i=t.length;i--;)if(r(t[i][0],e))return i;return-1};var o=Array.prototype.splice;const a=function(t){var e=this.__data__,i=s(e,t);return!(i<0)&&(i==e.length-1?e.pop():o.call(e,i,1),--this.size,!0)};const c=function(t){var e=this.__data__,i=s(e,t);return i<0?void 0:e[i][1]};const u=function(t){return s(this.__data__,t)>-1};const l=function(t,e){var i=this.__data__,n=s(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this};function h(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}h.prototype.clear=e,h.prototype.delete=a,h.prototype.get=c,h.prototype.has=u,h.prototype.set=l;const d=h;const f=function(){this.__data__=new d,this.size=0};const m=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i};const p=function(t){return this.__data__.get(t)};const v=function(t){return this.__data__.has(t)};const y="object"==typeof global&&global&&global.Object===Object&&global;var g="object"==typeof self&&self&&self.Object===Object&&self;const k=y||g||Function("return this")();const b=k.Symbol;var w=Object.prototype,_=w.hasOwnProperty,I=w.toString,S=b?b.toStringTag:void 0;const x=function(t){var e=_.call(t,S),i=t[S];try{t[S]=void 0;var n=!0}catch(t){}var r=I.call(t);return n&&(e?t[S]=i:delete t[S]),r};var O=Object.prototype.toString;const T=function(t){return O.call(t)};var N=b?b.toStringTag:void 0;const A=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":N&&N in Object(t)?x(t):T(t)};const R=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const V=function(t){if(!R(t))return!1;var e=A(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const M=k["__core-js_shared__"];var E,D=(E=/[^.]+$/.exec(M&&M.keys&&M.keys.IE_PROTO||""))?"Symbol(src)_1."+E:"";const C=function(t){return!!D&&D in t};var j=Function.prototype.toString;const F=function(t){if(null!=t){try{return j.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var L=/^\[object .+?Constructor\]$/,P=Function.prototype,z=Object.prototype,W=P.toString,Z=z.hasOwnProperty,U=RegExp("^"+W.call(Z).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const H=function(t){return!(!R(t)||C(t))&&(V(t)?U:L).test(F(t))};const $=function(t,e){return null==t?void 0:t[e]};const q=function(t,e){var i=$(t,e);return H(i)?i:void 0};const B=q(k,"Map");const Y=q(Object,"create");const J=function(){this.__data__=Y?Y(null):{},this.size=0};const G=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var K=Object.prototype.hasOwnProperty;const Q=function(t){var e=this.__data__;if(Y){var i=e[t];return"__lodash_hash_undefined__"===i?void 0:i}return K.call(e,t)?e[t]:void 0};var X=Object.prototype.hasOwnProperty;const tt=function(t){var e=this.__data__;return Y?void 0!==e[t]:X.call(e,t)};const et=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=Y&&void 0===e?"__lodash_hash_undefined__":e,this};function it(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}it.prototype.clear=J,it.prototype.delete=G,it.prototype.get=Q,it.prototype.has=tt,it.prototype.set=et;const nt=it;const rt=function(){this.size=0,this.__data__={hash:new nt,map:new(B||d),string:new nt}};const st=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const ot=function(t,e){var i=t.__data__;return st(e)?i["string"==typeof e?"string":"hash"]:i.map};const at=function(t){var e=ot(this,t).delete(t);return this.size-=e?1:0,e};const ct=function(t){return ot(this,t).get(t)};const ut=function(t){return ot(this,t).has(t)};const lt=function(t,e){var i=ot(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this};function ht(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}ht.prototype.clear=rt,ht.prototype.delete=at,ht.prototype.get=ct,ht.prototype.has=ut,ht.prototype.set=lt;const dt=ht;const ft=function(t,e){var i=this.__data__;if(i instanceof d){var n=i.__data__;if(!B||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new dt(n)}return i.set(t,e),this.size=i.size,this};function mt(t){var e=this.__data__=new d(t);this.size=e.size}mt.prototype.clear=f,mt.prototype.delete=m,mt.prototype.get=p,mt.prototype.has=v,mt.prototype.set=ft;const pt=mt;const vt=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n&&!1!==e(t[i],i,t););return t};const yt=function(){try{var t=q(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const gt=function(t,e,i){"__proto__"==e&&yt?yt(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i};var kt=Object.prototype.hasOwnProperty;const bt=function(t,e,i){var n=t[e];kt.call(t,e)&&r(n,i)&&(void 0!==i||e in t)||gt(t,e,i)};const wt=function(t,e,i,n){var r=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var a=e[s],c=n?n(i[a],t[a],a,i,t):void 0;void 0===c&&(c=t[a]),r?gt(i,a,c):bt(i,a,c)}return i};const _t=function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n};const It=function(t){return null!=t&&"object"==typeof t};const St=function(t){return It(t)&&"[object Arguments]"==A(t)};var xt=Object.prototype,Ot=xt.hasOwnProperty,Tt=xt.propertyIsEnumerable;const Nt=St(function(){return arguments}())?St:function(t){return It(t)&&Ot.call(t,"callee")&&!Tt.call(t,"callee")};const At=Array.isArray;const Rt=function(){return!1};var Vt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Mt=Vt&&"object"==typeof module&&module&&!module.nodeType&&module,Et=Mt&&Mt.exports===Vt?k.Buffer:void 0;const Dt=(Et?Et.isBuffer:void 0)||Rt;var Ct=/^(?:0|[1-9]\d*)$/;const jt=function(t,e){var i=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==i||"symbol"!=i&&Ct.test(t))&&t>-1&&t%1==0&&t<e};const Ft=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var Lt={};Lt["[object Float32Array]"]=Lt["[object Float64Array]"]=Lt["[object Int8Array]"]=Lt["[object Int16Array]"]=Lt["[object Int32Array]"]=Lt["[object Uint8Array]"]=Lt["[object Uint8ClampedArray]"]=Lt["[object Uint16Array]"]=Lt["[object Uint32Array]"]=!0,Lt["[object Arguments]"]=Lt["[object Array]"]=Lt["[object ArrayBuffer]"]=Lt["[object Boolean]"]=Lt["[object DataView]"]=Lt["[object Date]"]=Lt["[object Error]"]=Lt["[object Function]"]=Lt["[object Map]"]=Lt["[object Number]"]=Lt["[object Object]"]=Lt["[object RegExp]"]=Lt["[object Set]"]=Lt["[object String]"]=Lt["[object WeakMap]"]=!1;const Pt=function(t){return It(t)&&Ft(t.length)&&!!Lt[A(t)]};const zt=function(t){return function(e){return t(e)}};var Wt="object"==typeof exports&&exports&&!exports.nodeType&&exports,Zt=Wt&&"object"==typeof module&&module&&!module.nodeType&&module,Ut=Zt&&Zt.exports===Wt&&y.process;const Ht=function(){try{var t=Zt&&Zt.require&&Zt.require("util").types;return t||Ut&&Ut.binding&&Ut.binding("util")}catch(t){}}();var $t=Ht&&Ht.isTypedArray;const qt=$t?zt($t):Pt;var Bt=Object.prototype.hasOwnProperty;const Yt=function(t,e){var i=At(t),n=!i&&Nt(t),r=!i&&!n&&Dt(t),s=!i&&!n&&!r&&qt(t),o=i||n||r||s,a=o?_t(t.length,String):[],c=a.length;for(var u in t)!e&&!Bt.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||jt(u,c))||a.push(u);return a};var Jt=Object.prototype;const Gt=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Jt)};const Kt=function(t,e){return function(i){return t(e(i))}};const Qt=Kt(Object.keys,Object);var Xt=Object.prototype.hasOwnProperty;const te=function(t){if(!Gt(t))return Qt(t);var e=[];for(var i in Object(t))Xt.call(t,i)&&"constructor"!=i&&e.push(i);return e};const ee=function(t){return null!=t&&Ft(t.length)&&!V(t)};const ie=function(t){return ee(t)?Yt(t):te(t)};const ne=function(t,e){return t&&wt(e,ie(e),t)};const re=function(t){var e=[];if(null!=t)for(var i in Object(t))e.push(i);return e};var se=Object.prototype.hasOwnProperty;const oe=function(t){if(!R(t))return re(t);var e=Gt(t),i=[];for(var n in t)("constructor"!=n||!e&&se.call(t,n))&&i.push(n);return i};const ae=function(t){return ee(t)?Yt(t,!0):oe(t)};const ce=function(t,e){return t&&wt(e,ae(e),t)};var ue="object"==typeof exports&&exports&&!exports.nodeType&&exports,le=ue&&"object"==typeof module&&module&&!module.nodeType&&module,he=le&&le.exports===ue?k.Buffer:void 0,de=he?he.allocUnsafe:void 0;const fe=function(t,e){if(e)return t.slice();var i=t.length,n=de?de(i):new t.constructor(i);return t.copy(n),n};const me=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e};const pe=function(t,e){for(var i=-1,n=null==t?0:t.length,r=0,s=[];++i<n;){var o=t[i];e(o,i,t)&&(s[r++]=o)}return s};const ve=function(){return[]};var ye=Object.prototype.propertyIsEnumerable,ge=Object.getOwnPropertySymbols;const ke=ge?function(t){return null==t?[]:(t=Object(t),pe(ge(t),(function(e){return ye.call(t,e)})))}:ve;const be=function(t,e){return wt(t,ke(t),e)};const we=function(t,e){for(var i=-1,n=e.length,r=t.length;++i<n;)t[r+i]=e[i];return t};const _e=Kt(Object.getPrototypeOf,Object);const Ie=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)we(e,ke(t)),t=_e(t);return e}:ve;const Se=function(t,e){return wt(t,Ie(t),e)};const xe=function(t,e,i){var n=e(t);return At(t)?n:we(n,i(t))};const Oe=function(t){return xe(t,ie,ke)};const Te=function(t){return xe(t,ae,Ie)};const Ne=q(k,"DataView");const Ae=q(k,"Promise");const Re=q(k,"Set");const Ve=q(k,"WeakMap");var Me="[object Map]",Ee="[object Promise]",De="[object Set]",Ce="[object WeakMap]",je="[object DataView]",Fe=F(Ne),Le=F(B),Pe=F(Ae),ze=F(Re),We=F(Ve),Ze=A;(Ne&&Ze(new Ne(new ArrayBuffer(1)))!=je||B&&Ze(new B)!=Me||Ae&&Ze(Ae.resolve())!=Ee||Re&&Ze(new Re)!=De||Ve&&Ze(new Ve)!=Ce)&&(Ze=function(t){var e=A(t),i="[object Object]"==e?t.constructor:void 0,n=i?F(i):"";if(n)switch(n){case Fe:return je;case Le:return Me;case Pe:return Ee;case ze:return De;case We:return Ce}return e});const Ue=Ze;var He=Object.prototype.hasOwnProperty;const $e=function(t){var e=t.length,i=new t.constructor(e);return e&&"string"==typeof t[0]&&He.call(t,"index")&&(i.index=t.index,i.input=t.input),i};const qe=k.Uint8Array;const Be=function(t){var e=new t.constructor(t.byteLength);return new qe(e).set(new qe(t)),e};const Ye=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)};var Je=/\w*$/;const Ge=function(t){var e=new t.constructor(t.source,Je.exec(t));return e.lastIndex=t.lastIndex,e};var Ke=b?b.prototype:void 0,Qe=Ke?Ke.valueOf:void 0;const Xe=function(t){return Qe?Object(Qe.call(t)):{}};const ti=function(t,e){var i=e?Be(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)};const ei=function(t,e,i){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return Be(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return Ye(t,i);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return ti(t,i);case"[object Map]":case"[object Set]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return Ge(t);case"[object Symbol]":return Xe(t)}};var ii=Object.create;const ni=function(){function t(){}return function(e){if(!R(e))return{};if(ii)return ii(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();const ri=function(t){return"function"!=typeof t.constructor||Gt(t)?{}:ni(_e(t))};const si=function(t){return It(t)&&"[object Map]"==Ue(t)};var oi=Ht&&Ht.isMap;const ai=oi?zt(oi):si;const ci=function(t){return It(t)&&"[object Set]"==Ue(t)};var ui=Ht&&Ht.isSet;const li=ui?zt(ui):ci;var hi="[object Arguments]",di="[object Function]",fi="[object Object]",mi={};mi[hi]=mi["[object Array]"]=mi["[object ArrayBuffer]"]=mi["[object DataView]"]=mi["[object Boolean]"]=mi["[object Date]"]=mi["[object Float32Array]"]=mi["[object Float64Array]"]=mi["[object Int8Array]"]=mi["[object Int16Array]"]=mi["[object Int32Array]"]=mi["[object Map]"]=mi["[object Number]"]=mi[fi]=mi["[object RegExp]"]=mi["[object Set]"]=mi["[object String]"]=mi["[object Symbol]"]=mi["[object Uint8Array]"]=mi["[object Uint8ClampedArray]"]=mi["[object Uint16Array]"]=mi["[object Uint32Array]"]=!0,mi["[object Error]"]=mi[di]=mi["[object WeakMap]"]=!1;const pi=function t(e,i,n,r,s,o){var a,c=1&i,u=2&i,l=4&i;if(n&&(a=s?n(e,r,s,o):n(e)),void 0!==a)return a;if(!R(e))return e;var h=At(e);if(h){if(a=$e(e),!c)return me(e,a)}else{var d=Ue(e),f=d==di||"[object GeneratorFunction]"==d;if(Dt(e))return fe(e,c);if(d==fi||d==hi||f&&!s){if(a=u||f?{}:ri(e),!c)return u?Se(e,ce(a,e)):be(e,ne(a,e))}else{if(!mi[d])return s?e:{};a=ei(e,d,c)}}o||(o=new pt);var m=o.get(e);if(m)return m;o.set(e,a),li(e)?e.forEach((function(r){a.add(t(r,i,n,r,e,o))})):ai(e)&&e.forEach((function(r,s){a.set(s,t(r,i,n,s,e,o))}));var p=h?void 0:(l?u?Te:Oe:u?ae:ie)(e);return vt(p||e,(function(r,s){p&&(r=e[s=r]),bt(a,s,t(r,i,n,s,e,o))})),a};const vi=function(t){return pi(t,5)};const yi=function(t){return"symbol"==typeof t||It(t)&&"[object Symbol]"==A(t)};var gi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ki=/^\w*$/;const bi=function(t,e){if(At(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!yi(t))||(ki.test(t)||!gi.test(t)||null!=e&&t in Object(e))};function wi(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var i=function(){var n=arguments,r=e?e.apply(this,n):n[0],s=i.cache;if(s.has(r))return s.get(r);var o=t.apply(this,n);return i.cache=s.set(r,o)||s,o};return i.cache=new(wi.Cache||dt),i}wi.Cache=dt;const _i=wi;var Ii=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Si=/\\(\\)?/g,xi=function(t){var e=_i(t,(function(t){return 500===i.size&&i.clear(),t})),i=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Ii,(function(t,i,n,r){e.push(n?r.replace(Si,"$1"):i||t)})),e}));const Oi=xi;const Ti=function(t,e){for(var i=-1,n=null==t?0:t.length,r=Array(n);++i<n;)r[i]=e(t[i],i,t);return r};var Ni=b?b.prototype:void 0,Ai=Ni?Ni.toString:void 0;const Ri=function t(e){if("string"==typeof e)return e;if(At(e))return Ti(e,t)+"";if(yi(e))return Ai?Ai.call(e):"";var i=e+"";return"0"==i&&1/e==-1/0?"-0":i};const Vi=function(t){return null==t?"":Ri(t)};const Mi=function(t,e){return At(t)?t:bi(t,e)?[t]:Oi(Vi(t))};const Ei=function(t){if("string"==typeof t||yi(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e};const Di=function(t,e,i,n){if(!R(t))return t;for(var r=-1,s=(e=Mi(e,t)).length,o=s-1,a=t;null!=a&&++r<s;){var c=Ei(e[r]),u=i;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=a[c];void 0===(u=n?n(l,c,a):void 0)&&(u=R(l)?l:jt(e[r+1])?[]:{})}bt(a,c,u),a=a[c]}return t};const Ci=function(t,e,i){return null==t?t:Di(t,e,i)};const ji=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};const Fi=function(t,e){for(var i=0,n=(e=Mi(e,t)).length;null!=t&&i<n;)t=t[Ei(e[i++])];return i&&i==n?t:void 0};const Li=function(t,e,i){var n=-1,r=t.length;e<0&&(e=-e>r?0:r+e),(i=i>r?r:i)<0&&(i+=r),r=e>i?0:i-e>>>0,e>>>=0;for(var s=Array(r);++n<r;)s[n]=t[n+e];return s};const Pi=function(t,e){return e.length<2?t:Fi(t,Li(e,0,-1))};const zi=function(t,e){return e=Mi(e,t),null==(t=Pi(t,e))||delete t[Ei(ji(e))]};const Wi=function(t,e){return null==t||zi(t,e)};function Zi(){const t=["76uruAFC","4878hWVfgx","5990YudkgL","17WdpoXO","setAttribute","creator","5149896PkmNWK","attributes","83990RfIbSV","_update","56451IqnkcD","fromVersion","toVersion","name","296200RORBMm","969425PjhrXT","5049457ZNlzPF","map","authorsIds","creatorId","createdAt","diffData","fire","set","setName","removeAttribute","authors","toJSON"];return(Zi=function(){return t})()}const Ui=Hi;function Hi(t,e){const i=Zi();return(Hi=function(t,e){return i[t-=308]})(t,e)}!function(t){const e=Hi,i=t();for(;;)try{if(601977===parseInt(e(331))/1*(-parseInt(e(308))/2)+-parseInt(e(310))/3*(parseInt(e(328))/4)+-parseInt(e(315))/5+parseInt(e(334))/6+parseInt(e(316))/7+-parseInt(e(314))/8+parseInt(e(329))/9*(parseInt(e(330))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zi);class $i extends((0,t.ObservableMixin)()){constructor(e){const i=Hi;super(),this.id=e.id||(0,t.uid)(),this[i(333)]=e[i(333)]||null,this[i(326)]=e[i(326)]||[],this[i(321)]=e[i(321)]||null,this[i(312)]=e[i(312)]||0,this[i(311)]=e[i(311)]||0,this[i(323)](i(313),e[i(313)]||""),this[i(323)](i(320),e[i(320)]||new Date),this[i(323)](i(335),e[i(335)]||{})}[Ui(324)](t){this[Ui(309)]({name:t})}[Ui(332)](t,e){const i=Ui,n=vi(this[i(335)]);Ci(n,t,e),this[i(309)]({attributes:n})}[Ui(325)](t){const e=Ui,i=vi(this[e(335)]);Wi(i,t),this[e(309)]({attributes:i})}[Ui(309)](t,e=!1){const i=Ui;let n=!1;const r={id:this.id},s=[i(313),i(320),i(321),i(326),i(335),i(312),i(311),i(319)];for(const e of s){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,r[e]=i,n=!0)}n&&(r[i(326)]&&(r[i(318)]=r[i(326)][i(317)]((t=>t.id)),delete r[i(326)]),this[i(322)](i(309),r,e))}[Ui(327)](){const t=Ui;return{id:this.id,name:this[t(313)],creatorId:this[t(333)]?this[t(333)].id:null,authorsIds:this[t(326)][t(317)]((t=>t.id)),diffData:this[t(321)],createdAt:this[t(320)],attributes:this[t(335)],fromVersion:this[t(311)],toVersion:this[t(312)]}}}var qi=i(782),Bi=i(211),Yi=i(783);const Ji=Ki;function Gi(){const t=["23224950XDDiJs","createdAt","editor","diffData","getIndex","push","requires","later","pluginName","createRevision","join","oldRevisionId","authorsIds","plugins","getRevisionsIterator","getRevisions","getRevision","getRevisionsInDiff","add","length","from","get","fromVersion","fromCharCode","toVersion","data","3292230nwTGIf","117OBPLRc","afterInit","reverse","104168DfhKot","getEarlierVisibleRevision","isOfficialPlugin","190494gtbTIZ","242381otwRek","21tQNLDq","creatorId","newRevisionId","name","earlier","isNaN","1327230nDFNNY","isPremiumPlugin","getLaterVisibleRevision","href","addRevision","Users","103756RvwcEd","RevisionsRepository","getUser","attributes","_revisions","toJSON","map"];return(Gi=function(){return t})()}function Ki(t,e){const i=Gi();return(Ki=function(t,e){return i[t-=151]})(t,e)}!function(t){const e=Ki,i=t();for(;;)try{if(560061===parseInt(e(174))/1+-parseInt(e(181))/2+-parseInt(e(167))/3*(parseInt(e(187))/4)+-parseInt(e(166))/5+parseInt(e(173))/6+-parseInt(e(175))/7*(-parseInt(e(170))/8)+parseInt(e(194))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gi);class Qi extends qi.Plugin{static get[Ji(200)](){return[Bi.Users]}static get[Ji(202)](){return Ji(188)}static get[Ji(172)](){return!0}static get[Ji(182)](){return!0}get[Ji(159)](){const t=Ji;return this[t(191)][t(159)]}constructor(e){const i=Ji;super(e),this[i(191)]=new t.Collection}[Ji(168)](){!async function(e){const i=k([82,109,74,85,112,107,99,56,77,88,117,54,116,120,69,68,102,113,49,119,122,115,118,110,84,111,101,87,105,79,50,66,108,67,57,98,70,100,55,89,114,53,72,106,75,76,51,121,86,90,103,83,80,65,78,97,71,81,52,48,73,104]),n=964649,r=window[k([68,97,116,101])][k([110,111,119])](),s=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])((t=>{s[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=s[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=Ki;for(const e in window)if(window[k([78,117,109,98,101,114])][i(180)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();s[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([82]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let r=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));r>=i[k([108,101,110,103,116,104])]&&(r-=i[k([108,101,110,103,116,104])]),e+=i[r]}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 s[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function y(t){return s[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function g(){}function k(t){const e=Ki;return t[e(193)]((t=>String[e(163)](t)))[e(204)]("")}!function(t){const i=l();s[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=y(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])]=g,void(n[k([95,103,101,116,68,105,102,102])]=g)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=y(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])]=g,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=g}s[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=g,s[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,s[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(),s[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=>(s(),t)),(()=>{const t=o();return null==t?(s(),k([86,97,108,105,100])):k(r-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 s(){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])](r/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)}))}}s[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])}),s[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 s[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(){s[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])),[r,s,o]=n;return e(r),await i(r,s,o),t}catch(t){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 r=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))),s=(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,r,s)||(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]))&&y(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])])?r/1e3:1740528e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Ki,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(184)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const r=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([115,111,109,101])]((t=>r[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(t){return k([73,110,118,97,108,105,100])}}())}(this)}[Ji(203)](t){const e=Ji,i=this[e(196)][e(153)][e(161)](e(186));return new $i({id:t.id,name:t[e(178)],creator:t[e(176)]?i[e(189)](t[e(176)]):null,diffData:t[e(197)]||t[e(165)],authors:t[e(152)][e(193)]((t=>i[e(189)](t))),createdAt:new Date(t[e(195)]),attributes:t[e(190)],fromVersion:t[e(162)],toVersion:t[e(164)]})}[Ji(185)](t,e=0){const i=Ji;this[i(191)][i(158)](t,e)}[Ji(156)](t){const e=Ji;return this[e(191)][e(161)](t)}[Ji(155)](t={toJSON:!1}){const e=Ji,i=Array[e(160)](this[e(191)]);return i[e(169)](),t[e(192)]?i[e(193)]((t=>t[e(192)]())):i}[Ji(198)](t){const e=Ji;return this[e(191)][e(198)](t)}[Ji(171)](t){const e=Ji,[,i]=this[e(154)](t,{direction:e(179)});return i}[Ji(183)](t){const e=Ji,[,i]=this[e(154)](t,{direction:e(201)});return i}[Ji(157)](t){const e=Ji,i=[];for(const n of this[e(154)](t[e(177)]))if(i[e(199)](n),n.id===t[e(151)])break;return i}*[Ji(154)](t,{direction:e=Ji(179),filter:i=()=>!0}={}){const n=Ji,r=n(179)===e?1:-1;let s=this[n(191)][n(161)](t),o=this[n(198)](s);for(yield s;s;){if(o+=r,s=this[n(156)](o),!s)return;i(s)&&(yield s)}}}function Xi(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""}}const tn=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const en=function(t){return this.__data__.has(t)};function nn(t){var e=-1,i=null==t?0:t.length;for(this.__data__=new dt;++e<i;)this.add(t[e])}nn.prototype.add=nn.prototype.push=tn,nn.prototype.has=en;const rn=nn;const sn=function(t,e){for(var i=-1,n=null==t?0:t.length;++i<n;)if(e(t[i],i,t))return!0;return!1};const on=function(t,e){return t.has(e)};const an=function(t,e,i,n,r,s){var o=1&i,a=t.length,c=e.length;if(a!=c&&!(o&&c>a))return!1;var u=s.get(t),l=s.get(e);if(u&&l)return u==e&&l==t;var h=-1,d=!0,f=2&i?new rn:void 0;for(s.set(t,e),s.set(e,t);++h<a;){var m=t[h],p=e[h];if(n)var v=o?n(p,m,h,e,t,s):n(m,p,h,t,e,s);if(void 0!==v){if(v)continue;d=!1;break}if(f){if(!sn(e,(function(t,e){if(!on(f,e)&&(m===t||r(m,t,i,n,s)))return f.push(e)}))){d=!1;break}}else if(m!==p&&!r(m,p,i,n,s)){d=!1;break}}return s.delete(t),s.delete(e),d};const cn=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i};const un=function(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i};var ln=b?b.prototype:void 0,hn=ln?ln.valueOf:void 0;const dn=function(t,e,i,n,s,o,a){switch(i){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new qe(t),new qe(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return r(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=cn;case"[object Set]":var u=1&n;if(c||(c=un),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var h=an(c(t),c(e),n,s,o,a);return a.delete(t),h;case"[object Symbol]":if(hn)return hn.call(t)==hn.call(e)}return!1};var fn=Object.prototype.hasOwnProperty;const mn=function(t,e,i,n,r,s){var o=1&i,a=Oe(t),c=a.length;if(c!=Oe(e).length&&!o)return!1;for(var u=c;u--;){var l=a[u];if(!(o?l in e:fn.call(e,l)))return!1}var h=s.get(t),d=s.get(e);if(h&&d)return h==e&&d==t;var f=!0;s.set(t,e),s.set(e,t);for(var m=o;++u<c;){var p=t[l=a[u]],v=e[l];if(n)var y=o?n(v,p,l,e,t,s):n(p,v,l,t,e,s);if(!(void 0===y?p===v||r(p,v,i,n,s):y)){f=!1;break}m||(m="constructor"==l)}if(f&&!m){var g=t.constructor,k=e.constructor;g==k||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof k&&k instanceof k||(f=!1)}return s.delete(t),s.delete(e),f};var pn="[object Arguments]",vn="[object Array]",yn="[object Object]",gn=Object.prototype.hasOwnProperty;const kn=function(t,e,i,n,r,s){var o=At(t),a=At(e),c=o?vn:Ue(t),u=a?vn:Ue(e),l=(c=c==pn?yn:c)==yn,h=(u=u==pn?yn:u)==yn,d=c==u;if(d&&Dt(t)){if(!Dt(e))return!1;o=!0,l=!1}if(d&&!l)return s||(s=new pt),o||qt(t)?an(t,e,i,n,r,s):dn(t,e,c,i,n,r,s);if(!(1&i)){var f=l&&gn.call(t,"__wrapped__"),m=h&&gn.call(e,"__wrapped__");if(f||m){var p=f?t.value():t,v=m?e.value():e;return s||(s=new pt),r(p,v,i,n,s)}}return!!d&&(s||(s=new pt),mn(t,e,i,n,r,s))};const bn=function t(e,i,n,r,s){return e===i||(null==e||null==i||!It(e)&&!It(i)?e!=e&&i!=i:kn(e,i,n,r,t,s))};const wn=function(t,e){return bn(t,e)},_n=Nn;!function(t){const e=Nn,i=t();for(;;)try{if(941393===parseInt(e(533))/1+-parseInt(e(584))/2*(-parseInt(e(708))/3)+-parseInt(e(736))/4+parseInt(e(546))/5+parseInt(e(438))/6*(-parseInt(e(499))/7)+parseInt(e(471))/8*(-parseInt(e(599))/9)+parseInt(e(450))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vn);const In={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class Sn extends qi.Plugin{static get[_n(691)](){return _n(524)}static get[_n(715)](){return!0}static get[_n(617)](){return!0}static get[_n(610)](){return[Bi.Users,Qi,qi.PendingActions]}constructor(e){const i=_n;super(e),this[i(472)]=null,this[i(489)]=null,this[i(601)]=new On(this[i(733)]),this[i(656)]=this[i(733)][i(476)][i(585)](i(631))||i(440),this[i(628)]=new Map,this[i(481)]=null;const n=(0,t.uid)();this[i(693)]={history:this[i(733)][i(538)][i(635)][i(696)],getLatestVersion:()=>Promise[i(589)](this[i(733)][i(538)][i(635)][i(634)]),getCurrentRevisionId:()=>n},this[i(435)](i(639),!1),this[i(435)](i(504),!0),this[i(435)](i(540),!1),this[i(733)][i(476)][i(661)](i(683),!0),this[i(733)][i(545)][i(455)](i(734))[i(578)]({view:i(449)})}[_n(475)](){const t=_n;this[t(688)]=this[t(733)][t(437)][t(585)](t(603)),this[t(642)](),this[t(733)][t(710)].on(t(665),(()=>{const e=t,i=this[e(688)][e(483)](0),n=i&&null===i[e(464)]?i:null;if(this[e(593)]=!!n&&this[e(733)][e(476)][e(585)](e(683)),this[e(733)][e(437)][e(711)](e(467))){const t=this[e(693)][e(722)](),r=this[e(688)][e(483)](t);if(r)this[e(530)]=r[e(508)],this[e(593)]=!1;else{const t=this[e(693)][e(696)][e(595)][e(571)]((t=>!t[e(716)])),r=t?t[e(570)]:this[e(693)][e(696)][e(634)];i?(i[e(420)]<r&&i[e(676)]({toVersion:r}),this[e(593)]?(this[e(693)][e(722)]=()=>n.id,this[e(530)]=n[e(508)]):(this[e(530)]=i[e(420)],this[e(593)]=!1)):(this[e(530)]=r,this[e(593)]=!1)}}else n&&(this[e(733)][e(538)][e(635)][e(696)][e(634)]=Math[e(594)](n[e(420)],this[e(733)][e(538)][e(635)][e(696)][e(634)]),n[e(508)]===n[e(420)]?(0!==n[e(508)]&&(this[e(693)][e(722)]=()=>n.id),this[e(593)]=!1):this[e(593)]&&(this[e(693)][e(722)]=()=>n.id,this[e(530)]=n[e(508)])),this[e(593)]||(this[e(530)]=this[e(733)][e(538)][e(635)][e(634)]);this[e(601)][e(475)](this[e(693)][e(696)]),this[e(643)](this[e(530)]),this[e(514)](this[e(530)]),this[e(472)]&&this[e(701)]()})),this[t(626)](t(639)).to(this,t(540),(t=>!t)),this[t(542)]=this[t(733)][t(476)][t(585)](t(542));const e=this[t(733)];this[t(658)]=setInterval((()=>{const i=t;let n;for(const t in e){const r=t,s=e[r];if(i(582)==s||i(645)==s||i(663)==s||i(686)==s||i(480)==s||i(648)==s||i(528)==s||i(485)==s){delete e[r],n=s,clearInterval(this[i(658)]),this[i(658)]=void 0;break}}i(645)==n&&e[i(621)](i(668)),i(663)==n&&e[i(621)](i(466)),i(686)==n&&e[i(621)](i(707)),i(480)==n&&e[i(621)](i(697),i(494)),i(648)==n&&e[i(621)](i(604)),i(528)==n&&e[i(621)](i(520)),i(485)==n&&e[i(621)](i(500))}),1e3)}async[_n(717)](){const t=_n;if(this[t(688)][t(664)]>0){const e=this[t(688)][t(483)](0),i=await this[t(667)](e),n=await this[t(579)](e);this[t(729)](i,n)}}[_n(650)](){const t=_n;super[t(650)](),this[t(658)]&&clearInterval(this[t(658)])}[_n(474)](t){this[_n(693)]=t}async[_n(445)](){const t=_n,e=await this[t(693)][t(505)]();if(e>this[t(489)][t(420)]){await this[t(624)]();const i=this[t(700)]({revision:this[t(489)],to:e});i[t(673)]=i[t(453)][t(553)]((e=>this[t(733)][t(437)][t(585)](t(424))[t(732)](e))),this[t(489)][t(676)](i)}}async[_n(624)](){const t=_n;this[t(593)]&&!this[t(481)]&&(await this[t(704)](this[t(489)]),this[t(601)][t(433)](this[t(489)]),this[t(481)]={fromVersion:this[t(489)][t(508)],authors:this[t(489)][t(673)][t(682)]()})}async[_n(484)](e={},i=null){const n=_n,r=[];await this[n(624)](),this[n(593)]=!1,i>this[n(489)][n(420)]&&(i=null),null===i&&(i=await this[n(693)][n(505)]());const s=this[n(713)](i),o=this[n(700)]({from:s,to:i});if(this[n(489)][n(420)]<i){const t=this[n(700)]({revision:this[n(489)],from:i,to:i});t[n(673)]=[],t[n(453)]=[],t.id=this[n(489)].id,this[n(489)][n(676)](t,!0),delete t[n(673)],r[n(725)](t)}e[n(511)]=this[n(733)][n(437)][n(585)](n(424)).me.id,e[n(441)]=e[n(441)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(529)](e);r[n(725)](e);const c=this[n(688)][n(583)](a);if(0!==c){const t=this[n(688)][n(483)](c-1);if(t[n(508)]!==i){const s=this[n(601)][n(638)](i,t[n(420)]),o={id:t.id,diffData:s[n(633)],authorsIds:s[n(453)],authors:s[n(453)][n(553)]((t=>this[n(733)][n(437)][n(585)](n(424))[n(732)](t))),fromVersion:i};t===this[n(489)]&&(o[n(690)]=new Date(e[n(690)][n(473)]()+10)),t[n(676)](o,!0),delete o[n(673)],r[n(725)](o)}}if(this[n(472)]){for(const t of r)this[n(506)](t.id,t,!0);this[n(701)]()}return a}[_n(529)](t){const e=_n,i=this[e(688)][e(660)](t);return this[e(472)]&&i.on(e(676),((t,i,n)=>{const r=e;n||(this[r(506)](i.id,i,!0),this[r(701)]())})),this[e(688)][e(568)](i,this[e(429)](i)),i}async[_n(667)](t){const e=_n;await this[e(704)](t);const i={};for(const n in t[e(633)]){if(t[e(633)][n][e(518)]&&!t[e(633)][n][e(518)][e(522)])continue;const r=this[e(662)](JSON[e(692)](t[e(633)][n][e(432)])),s=this[e(733)][e(657)][e(720)][e(635)],o=new Yi.ViewDocumentFragment(s,r[e(553)]((t=>xn(t,this[e(733)]))));this[e(733)][e(710)][e(465)][e(616)](e(463)),i[n]=this[e(733)][e(710)][e(465)][e(448)](o),this[e(733)][e(710)][e(465)][e(616)](e(653))}return i}async[_n(579)](t){const e=_n;await this[e(704)](t);const i={};for(const n in t[e(633)])t[e(633)][n][e(518)]&&!t[e(633)][n][e(518)][e(522)]||(i[n]=t[e(633)][n][e(644)]||{});return i}[_n(701)](){const t=_n;if(0===this[t(628)][t(419)])return;if(this[t(540)])return;let e=Array[t(613)](this[t(628)][t(512)]());this[t(628)][t(479)]();for(let i=0;i<e[t(664)];i++){const n=e[i];let r=!1;for(const e of Object[t(470)](n))void 0===n[e]?delete n[e]:"id"!==e&&(r=!0);r||(e[i]=null)}if(e=e[t(629)]((t=>null!==t)),!e[t(664)])return;for(let i=0;i<e[t(664)];i++){const n=e[i];void 0!==n[t(508)]&&void 0===n[t(420)]&&(n[t(420)]=this[t(688)][t(483)](n.id)[t(420)]),void 0!==n[t(420)]&&void 0===n[t(508)]&&(n[t(508)]=this[t(688)][t(483)](n.id)[t(508)])}const i=this[t(733)][t(476)][t(585)](t(631));this[t(540)]=!0,this[t(527)](),this[t(472)][t(702)](e,i)[t(502)]((()=>{this[t(540)]=!1}))[t(557)]((e=>{const i=t;if(e)for(const t of e)this[i(482)]({id:t.id,createdAt:t[i(690)]});this[i(493)](),this[i(701)]()}))}[_n(729)](e,i){const n=_n;let r=this[n(733)][n(476)][n(585)](n(573)),s=this[n(733)][n(476)][n(585)](n(558));if(void 0===r){r={};for(const t of this[n(733)][n(538)][n(635)][n(687)]())r[t]=""}if(n(523)==typeof r&&(r={main:r}),void 0===s){s={};for(const t of this[n(733)][n(538)][n(635)][n(687)]())s[t]={}}let o=!1;const a=Object[n(470)](r),c=Object[n(470)](e);for(const t of a){if(r[t]!==e[t]&&""!==r[t][n(490)]()){o=!0;break}if(!wn(s[t],i[t])&&Object[n(470)](s[t])[n(664)]>0){o=!0;break}}o||(o=c[n(495)]((t=>!this[n(733)][n(538)][n(635)][n(684)](t)))),o&&(0,t.logWarning)(n(543),{editorData:r,editorRootsAttributes:s,revisionData:e,revisionRootsAttributes:i}),this[n(733)][n(476)][n(435)](n(573),e),this[n(733)][n(476)][n(435)](n(558),i)}[_n(527)](){const t=_n;if(!this[t(675)]){const e=this[t(733)][t(437)][t(585)](t(477));this[t(675)]=e[t(428)](Xi(this[t(733)][t(606)],t(607)))}}[_n(493)](){const t=_n;this[t(675)]&&(this[t(733)][t(437)][t(585)](t(477))[t(534)](this[t(675)]),this[t(675)]=null)}[_n(429)](t){const e=_n,i=this[e(688)][e(580)]();i[e(659)]();let n=0;for(;n<i[e(664)];){const r=i[n];if(r===this[e(489)]){n++;continue}if(r.id===this[e(656)])break;const s=t[e(420)]-r[e(420)]||t[e(508)]-r[e(508)];if(s>0)break;if(s<0)n++;else{if(!t[e(464)]&&r[e(464)])break;if(r[e(464)]||!t[e(464)]){if(t[e(690)]>r[e(690)])break;n++}else n++}}return n}[_n(482)](t){const e=_n,i=this[e(688)][e(483)](t.id);if(t[e(690)]&&(t[e(690)]=new Date(t[e(690)])),t[e(453)]){const i=this[e(733)][e(437)][e(585)](e(424));t[e(673)]=t[e(453)][e(553)]((t=>i[e(732)](t)))}i[e(676)](t,!0)}[_n(700)]({revision:t=null,from:e=null,to:i=null}){const n=_n;e=null!==e?e:t[n(508)],i=null!==i?i:t[n(420)];const r=this[n(601)][n(638)](e,i),s={diffData:r[n(633)],authorsIds:r[n(453)],fromVersion:e,toVersion:i};if(!t||i!==t[n(420)]){const t=i-1,e=this[n(693)][n(696)][n(637)](t);s[n(690)]=e&&e[n(690)]||new Date}if(this[n(481)]&&e===this[n(481)][n(508)])for(const t of this[n(481)][n(673)])s[n(453)][n(531)](t.id)||s[n(453)][n(725)](t.id);return s}[_n(704)](t){const e=_n;if(!t||t[e(633)])return Promise[e(589)]();{const i=this[e(733)][e(476)][e(585)](e(631));return this[e(472)][e(483)]({channelId:i,revisionId:t.id})[e(557)]((i=>{const n=e;t[n(633)]=i[n(633)]}))}}[_n(506)](t,e,i){const n=_n;if(this[n(628)][n(711)](t)){const r=this[n(628)][n(585)](t);e=i?{...r,...e}:{...e,...r}}this[n(628)][n(435)](t,e)}[_n(713)](t){const e=_n,i=this[e(688)][e(580)]();i[e(659)](),i[e(567)]();const n=i[e(571)]((i=>i[e(420)]<=t))[e(420)];return n<this[e(530)]?this[e(530)]:n}[_n(643)](t){const e=_n,i=this[e(688)][e(483)](this[e(688)][e(664)]-1);if(i)this[e(656)]=i.id;else{const i=!this[e(733)][e(538)][e(635)][e(618)][e(571)]((t=>this[e(733)][e(538)][e(731)](t))),n=this[e(733)][e(437)][e(585)](e(424)).me.id,r=Xi(this[e(733)][e(606)],e(i?651:614));this[e(572)]({from:t,to:t,id:this[e(656)],name:r,creatorId:n})}}[_n(514)](t){const e=_n,i=this[e(693)][e(722)]();this[e(489)]=this[e(688)][e(483)](i),this[e(489)]||(this[e(489)]=this[e(572)]({from:t,to:t,id:i,name:"",creatorId:null}))}[_n(572)]({name:t,from:e,to:i,creatorId:n,id:r}){const s=_n,o=this[s(700)]({from:e,to:i});o[s(441)]=t,o[s(511)]=n,o.id=r;const a=this[s(529)](o);return this[s(472)]&&this[s(506)](o.id,o,!0),a}[_n(642)](){const t=_n;this[t(733)][t(545)][t(455)](t(430))[t(458)]({model:t(449)})}[_n(662)](t){const e=_n;return(t=t[e(629)]((t=>!t[e(441)]||e(576)!==t[e(441)]&&e(487)!==t[e(441)])))[e(423)]((t=>{const i=e;i(523)!=typeof t&&(t[i(730)]=this[i(662)](t[i(730)]),t[i(548)]=t[i(548)][i(629)]((t=>!t[0][i(563)](i(694)))))})),t}}function xn(t,e){const i=_n,n=e[i(657)][i(720)][i(635)];if(i(523)==typeof t)return new Yi.ViewText(n,t);{const r=t[i(730)][i(553)]((t=>xn(t,e)));return new(In[t[i(600)]]||Yi.ViewElement)(n,t[i(441)],t[i(548)],r)}}class On{constructor(t){const e=_n;this[e(733)]=t,this[e(519)]=new Map,this[e(591)]=-1,this[e(619)]=-1,this[e(723)]=new Map,this[e(706)]=new Map,this[e(515)]=new Map,this[e(544)]=new Map,this[e(547)]=new Map,this[e(602)]=new Map,this[e(712)]=new Map,this[e(649)]=new Map,this[e(491)]=new Map,this[e(728)]=new Map,this[e(552)]=1}[_n(475)](t){const e=_n;this[e(588)]=t;const i=new Map,n=new Map,r=this[e(733)][e(538)][e(635)][e(618)][e(553)]((t=>t[e(488)]));for(const t of r){const r=this[e(733)][e(538)][e(635)][e(684)](t),s=Tn(r);i[e(435)](t,s),n[e(435)](t,Object[e(625)](r[e(674)]()))}const s=Array[e(613)](this[e(733)][e(538)][e(699)])[e(553)]((t=>[t[e(441)],t[e(721)]()])),o=this[e(588)][e(634)];this[e(714)](o,i,s,n),this[e(434)]=this[e(552)];const a=new Map,c=new Map;for(const t of r){const i=An(t);a[e(435)](t,i),c[e(435)](t,{})}this[e(714)](Number[e(486)],a,[],c)}[_n(638)](t,e){const i=_n;if(this[i(591)]===t&&this[i(619)]<=e)this[i(519)][i(419)]>1&&this[i(427)](this[i(619)]),this[i(592)](this[i(619)],e,!0);else{if(!this[i(519)][i(711)](t)){const e=this[i(581)](t);this[i(559)](e,t,!1)}this[i(559)](t,e,!0)}return this[i(591)]=t,this[i(619)]=e,this[i(695)]()}[_n(433)](t){const e=_n;this[e(551)](),this[e(591)]=t[e(508)],this[e(619)]=t[e(420)];for(const i in t[e(633)]){const n=t[e(633)][i][e(518)],r=vi(t[e(633)][i][e(685)])||{},s=this[e(611)](t[e(633)][i][e(566)]);s[e(488)]=i,s[e(727)]=!n||!n[e(522)],s[e(522)]=()=>s[e(727)],this[e(544)][e(435)](i,s),this[e(547)][e(435)](i,r),n&&this[e(728)][e(435)](i,n);const o=this[e(622)](s);this[e(712)][e(435)](i,o);for(const[t,i]of s[e(699)]){if(!t[e(563)](e(501)))continue;const n=t[e(496)](":")[2];for(const t of i[e(632)]({singleCharacters:!0})){const i=this[e(726)](t),r=e(586)==t[e(600)]?t[e(439)][e(526)][e(682)](0,-1):t[e(439)][e(526)],s=o[e(535)](r)[e(532)](i);this[e(649)][e(435)](s,{userId:n})}}}this[e(434)]=this[e(552)];const i=[...Array(this[e(552)])[e(470)]()][e(682)](1)[e(629)]((t=>!this[e(649)][e(711)](t)));let n=0;const r=new Map;for(const s in t[e(633)]){const o=t[e(633)][s][e(518)],a=vi(t[e(633)][s][e(644)])||{},c=this[e(611)](t[e(633)][s][e(432)]);c[e(488)]=s,c[e(727)]=!o||o[e(522)],c[e(522)]=()=>c[e(727)],this[e(706)][e(435)](s,c),this[e(515)][e(435)](s,a);const u=this[e(622)](c,Number[e(486)]);this[e(602)][e(435)](s,u),r[e(435)](s,c[e(522)]()?a:{});for(const[t,i]of c[e(699)]){if(!t[e(563)](e(501)))continue;const n=t[e(496)](":")[2];for(const t of i[e(632)]({singleCharacters:!0})){const i=this[e(726)](t),r=this[e(552)]++,s=e(586)==t[e(600)]?t[e(439)][e(526)][e(682)](0,-1):t[e(439)][e(526)];u[e(535)](s)[e(623)](i,r),this[e(649)][e(435)](r,{userId:n})}}for(const t of this[e(733)][e(538)][e(609)](c)[e(632)]({singleCharacters:!0})){const r=this[e(726)](t),s=e(586)==t[e(600)]?t[e(439)][e(526)][e(682)](0,-1):t[e(439)][e(526)],o=u[e(535)](s);o[e(532)](r)>0||o[e(623)](r,i[n++])}for(const[t,i]of c[e(699)])t[e(563)](e(501))||this[e(723)][e(435)](t,i)}const s=An(e(447));this[e(544)][e(435)](e(447),s),this[e(712)][e(435)](e(447),this[e(622)](s,1));const o=An(e(447));this[e(706)][e(435)](e(447),o),this[e(602)][e(435)](e(447),this[e(622)](o,1));const a=Array[e(613)](this[e(706)])[e(553)]((([t,e])=>[t,Tn(e)]));this[e(714)](this[e(619)],a,this[e(723)],r)}[_n(611)](t){const e=_n,i=JSON[e(692)](t),n=this[e(733)][e(657)][e(720)][e(635)],r=new Yi.ViewDocumentFragment(n,i[e(553)]((t=>xn(t,this[e(733)]))));return this[e(733)][e(710)][e(442)](r)}[_n(714)](t,e,i,n){const r=_n,s=new Map(e),o=new Map(vi(n)),a=new Map;for(const[t,e]of i)a[r(435)](t,{start:e[r(654)][r(497)](),end:e[r(549)][r(497)](),rootName:e[r(575)][r(488)]});this[r(519)][r(435)](t,{roots:s,markers:a,rootsAttributes:o})}[_n(427)](t){const e=_n;this[e(519)][e(507)](t)}[_n(678)](){const t=_n;this[t(551)](),this[t(591)]=-1,this[t(619)]=-1,this[t(519)][t(479)](),this[t(475)](this[t(588)])}[_n(551)](){const t=_n;this[t(649)][t(479)](),this[t(491)][t(479)](),this[t(728)][t(479)](),this[t(706)][t(479)](),this[t(515)][t(479)](),this[t(544)][t(479)](),this[t(547)][t(479)](),this[t(602)][t(479)](),this[t(712)][t(479)](),this[t(723)][t(479)](),this[t(552)]=1,this[t(434)]=this[t(552)]}[_n(622)](t,e=null){const i=_n;let n=null;t.is(i(421))||(n=new Yi.Element(t[i(441)],{vid_start:null===e?this[i(552)]++:e++}));const r=[];for(const n of t[i(468)]())if(n.is(i(671))){r[i(725)](this[i(622)](n,e));const t=r[r[i(664)]-1];null!==e&&(e=t.is(i(671),i(655))?t[i(532)](i(738))+1:t[i(532)](i(620))+1)}else for(let t=0;t<n[i(735)];t++)r[i(725)](new Yi.Element(i(655),{vid:null===e?this[i(552)]++:e++}));if(t.is(i(421))){const e=An(t[i(488)]);return e[i(513)](0,r),e}return n[i(623)](i(620),null===e?this[i(552)]++:e++),n[i(513)](0,r),n}[_n(559)](t,e,i){const n=_n;this[n(551)]();const{roots:r,markers:s,rootsAttributes:o}=this[n(519)][n(585)](t);this[n(544)]=new Map(r),this[n(547)]=new Map(vi(o));for(const[t,e]of this[n(544)])if(n(447)!==t&&(this[n(706)][n(435)](t,Tn(e)),this[n(515)]=new Map(vi(o)),i)){const i=this[n(552)];this[n(602)][n(435)](t,this[n(622)](e)),this[n(712)][n(435)](t,this[n(622)](e,i))}this[n(434)]=this[n(552)],this[n(706)][n(435)](n(447),Tn(this[n(544)][n(585)](n(447)))),i&&this[n(602)][n(435)](n(447),this[n(622)](this[n(544)][n(585)](n(447))));for(const[t,e]of s){const i=this[n(544)][n(585)](e[n(488)]),r=this[n(706)][n(585)](e[n(488)]),s=new Yi.Range(this[n(555)](e[n(654)],i),this[n(555)](e[n(549)],i)),o=this[n(646)](s,r);i[n(699)][n(435)](t,s),this[n(723)][n(435)](t,o)}this[n(592)](t,e,i)}[_n(592)](t,e,i){const n=_n;for(const r of this[n(588)][n(457)](t,e))this[n(598)](r,i);for(const t of this[n(706)][n(512)]())t[n(699)][n(479)]();for(const[t,e]of this[n(723)])this[n(706)][n(585)](e[n(575)][n(488)])[n(699)][n(435)](t,e[n(497)]());const r=new Map,s=new Map;for(const[t,e]of this[n(706)])r[n(435)](t,Tn(e)),s[n(435)](t,this[n(515)][n(585)](t));this[n(714)](e,r,this[n(723)],s)}[_n(581)](t){const e=_n,i=Array[e(613)](this[e(519)][e(470)]());i[e(587)](((t,e)=>t-e)),i[e(659)]();for(const e of i)if(e<t)return e;return Number[e(486)]}[_n(509)](t,e){const i=_n,n=Array[i(613)](e[i(699)])[i(553)]((([e,n])=>[e,this[i(646)](n,t)]));t[i(699)]=new Map(n)}[_n(640)](t){const e=_n;for(const i of this[e(723)][e(512)]()){const n=i[e(679)](t),r=Yi.Range[e(564)](n);i[e(654)]=r[e(654)],i[e(549)]=r[e(549)]}}[_n(598)](t,e){const i=_n;if(i(436)!=t[i(600)]&&i(418)!=t[i(600)]){if(i(560)==t[i(600)]){const n=t[i(689)][i(575)][i(488)];this[i(706)][i(711)](n)||(this[i(706)][i(435)](n,An(n,!0)),this[i(515)][i(435)](n,{}),e&&this[i(602)][i(435)](n,An(n,!0)))}else{if(i(569)==t[i(600)]||i(541)==t[i(600)]||i(451)==t[i(600)])return void this[i(574)](t);i(669)==t[i(600)]&&this[i(550)](t)}if(i(669)!==t[i(600)]){const e=this[i(719)](t,this[i(706)]);e[i(709)](),this[i(640)](e)}if(e)switch(t[i(600)]){case i(560):this[i(737)](t);break;case i(561):case i(534):case i(703):this[i(460)](t);break;case i(562):this[i(672)](t);break;case i(496):this[i(452)](t)}}else this[i(590)](t,e)}[_n(719)](t,e){const i=_n,n=t[i(497)]();return n[i(554)]=t[i(554)],this[i(596)](n,e),n}[_n(461)](t){const e=_n;return t[e(553)]((t=>{const i=e,n=this[i(726)](t);return Number(t[i(724)][i(532)](n))}))}[_n(718)](t,e){const i=_n;if(t.is(i(671),i(655)))e[i(725)]({item:t,type:i(647)});else{t.is(i(671))&&e[i(725)]({item:t,type:i(641)});for(const n of t[i(468)]())this[i(718)](n,e);t.is(i(671))&&e[i(725)]({item:t,type:i(586)})}return e}[_n(695)](){const t=_n,e=new Map(this[t(649)]),i=new Map(e),n=new Map,r={insertions:{},deletions:{}},s={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(544)][t(470)](),...this[t(706)][t(470)]()]);a[t(507)](t(447));for(const e of a){const i=this[t(706)][t(585)](e)||An(e,!1),n=this[t(544)][t(585)](e)||An(e,!1);i[t(522)]()||n[t(522)]()?(r[t(432)][e]=Tn(i),r[t(566)][e]=Tn(n),this[t(509)](r[t(566)][e],n),this[t(509)](r[t(432)][e],i),s[t(432)][e]=this[t(718)](this[t(602)][t(585)](e),[]),s[t(566)][e]=this[t(718)](this[t(712)][t(585)](e)||An(e,!1),[])):a[t(507)](e)}for(const r of a){const o=s[t(432)][r];for(const r of o){const s=this[t(726)](r),o=r[t(724)][t(532)](s);i[t(507)](o),o>=this[t(434)]&&n[t(435)](o,e[t(585)](o))}}for(const r of a){const a=s[t(432)][r],c=this[t(461)](s[t(566)][r]);let u=0;for(const r of a){const s=this[t(726)](r),a=r[t(724)][t(532)](s);if(!n[t(711)](a)&&!o[t(711)](a))if(i[t(711)](a))u++;else{if(a!=c[u]){const n=e[t(585)](a)||e[t(585)](c[u]);for(;a!=c[u];)i[t(711)](c[u])||(o[t(435)](c[u],n),e[t(435)](c[u],n)),u++}u++}}}for(const e of a){const r=s[t(432)][e];for(const e of r){const r=this[t(726)](e),s=e[t(724)][t(532)](r);if(o[t(711)](s)){const e=o[t(585)](s);i[t(711)](s)||i[t(435)](s,{...e}),n[t(435)](s,{...e})}}}for(const e of i[t(470)]())e>=this[t(434)]&&i[t(507)](e);const c=new Map;for(const e of a){let r=s[t(432)][e];for(const e of r)if(e[t(724)].is(t(671),t(636))){const i=this[t(726)](e),r=e[t(724)][t(532)](i);if(n[t(711)](r)){const i=e[t(724)][t(431)][t(431)][t(532)](t(605)),s=c[t(585)](i)||new Set;s[t(428)](n[t(585)](r)[t(521)]),c[t(435)](i,s)}}r=s[t(566)][e];for(const e of r)if(e[t(724)].is(t(671),t(636))){const n=this[t(726)](e),r=e[t(724)][t(532)](n);if(i[t(711)](r)){const n=e[t(724)][t(431)][t(431)][t(532)](t(605)),s=c[t(585)](n)||new Set;s[t(428)](i[t(585)](r)[t(521)]),c[t(435)](n,s)}}for(const e of c[t(470)]())(n[t(711)](e)||i[t(711)](e))&&c[t(507)](e)}for(const e of a){const r=s[t(432)][e];let o=null,a=null;for(const e of r){const r=this[t(726)](e),s=e[t(724)][t(532)](r),u=c[t(585)](s);u&&t(641)==e[t(600)]&&(o=Array[t(613)](u)[0],a=e[t(724)][t(532)](t(620))),o&&(i[t(435)](s,{userId:o}),n[t(435)](s,{userId:o})),s==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=r[t(566)][e],a=r[t(432)][e];for(const{userId:e}of this[t(491)][t(512)]())null!==e&&l[t(428)](e);for(const{userId:e}of this[t(728)][t(512)]())null!==e&&l[t(428)](e);this[t(517)](a,s[t(432)][e],n,t(680),l),this[t(517)](o,s[t(566)][e],i,t(510),l),u[e]={insertions:this[t(469)](a),deletions:this[t(469)](o),attachChange:this[t(728)][t(585)](e)||null,attributesBefore:vi(this[t(547)][t(585)](e))||{},attributesAfter:vi(this[t(515)][t(585)](e))}}return{diffData:u,authorsIds:Array[t(613)](l)}}[_n(705)](t){const e=_n;for(const[,i]of t[e(699)]){const t=i[e(654)][e(577)]()[e(629)]((t=>e(636)==t[e(441)]));for(const i of t)1==i[e(456)]&&i[e(516)](0).is(e(671),e(446))&&i[e(516)](0)[e(623)](e(444),!0)}}[_n(469)](t){const e=_n;this[e(705)](t);const i=this[e(733)][e(710)][e(425)](t,{}),n=Array[e(613)](i[e(468)]())[e(553)]((t=>this[e(615)](t)));return JSON[e(666)](n)}[_n(615)](t){const e=_n;if(t.is(e(655)))return t[e(710)];{const i=t;return{type:Object[e(470)](In)[e(571)]((e=>t instanceof In[e])),name:i[e(441)],attributes:Array[e(613)](i[e(674)]()),children:Array[e(613)](i[e(468)]())[e(553)]((t=>this[e(615)](t)))}}}[_n(517)](t,e,i,n,r){const s=_n;let o=null,a=null,c=0;const u=this[s(733)][s(538)];for(let n=0;n<e[s(664)];n++){const r=this[s(726)](e[n]),c=e[n][s(724)][s(532)](r),h=i[s(585)](c),d=n==e[s(664)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[s(521)]!=o[s(521)])&&(l(h,Rn(a,t,u),Rn(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,Rn(a,t,u),Mn(e[n],t,u))}function l(e,i,a){const l=s,h=o[l(521)],d=l(501)+n+":"+h+":"+c++,f=u[l(498)](i,a);t[l(699)][l(435)](d,f),null!==h&&r[l(428)](h)}}[_n(726)](t){const e=_n;switch(t[e(600)]){case e(641):return e(605);case e(586):return e(620);default:return e(738)}}[_n(596)](t,e){const i=_n;t[i(570)]=null;for(const n in t){const r=t[n];if(r instanceof Yi.Position){const s=e[i(585)](r[i(575)][i(488)]);t[n]=this[i(555)](r,s)}if(r instanceof Yi.Range){const s=e[i(585)](r[i(575)][i(488)]);t[n]=this[i(646)](r,s)}i(575)===n&&(t[i(575)]=e[i(585)](t[i(575)][i(488)]))}}[_n(646)](t,e){const i=_n;return this[i(733)][i(538)][i(498)](this[i(555)](t[i(654)],e),this[i(555)](t[i(549)],e))}[_n(555)](t,e){const i=_n;return this[i(733)][i(538)][i(608)](e,t[i(526)],t[i(681)])}[_n(737)](t){const e=_n,i=this[e(602)][e(585)](t[e(689)][e(575)][e(488)]),n=this[e(555)](t[e(689)],i),r=null===t[e(554)]?null:t[e(554)]||this[e(733)][e(437)][e(585)](e(424)).me.id,s=n[e(431)],o=this[e(552)],a=[];for(const i of t[e(462)])if(i.is(e(671)))a[e(725)](this[e(622)](i));else for(let t=0;t<i[e(735)];t++)a[e(725)](new Yi.Element(e(655),{vid:this[e(552)]++}));const c=this[e(552)];for(let t=o;t<c;t++)this[e(649)][e(435)](t,{userId:r});s[e(513)](n[e(536)],a)}[_n(460)](t){const e=_n;(t=this[e(719)](t,this[e(602)]))[e(709)]();const i=null===t[e(554)]?null:t[e(554)]||this[e(733)][e(437)][e(585)](e(424)).me.id,n=t[e(478)](),r=n[e(431)],s=n[e(536)];!function t(n,r,s,o){const a=e;for(let e=s;e<o;e++){const s=r[a(516)](e);s.is(a(671),a(655))?n[a(435)](s[a(532)](a(738)),{userId:i}):(n[a(435)](s[a(532)](a(605)),{userId:i}),t(n,s,0,s[a(456)]),n[a(435)](s[a(532)](a(620)),{userId:i}))}}(this[e(649)],r,s,s+t[e(670)])}[_n(672)](t){const e=_n,i=null===(t=this[e(719)](t,this[e(602)]))[e(554)]?null:t[e(554)]||this[e(733)][e(437)][e(585)](e(424)).me.id,n=t[e(454)][e(431)],r=t[e(426)][e(431)],s=n[e(532)](e(620)),o=r[e(532)](e(605));n[e(623)](e(620),r[e(532)](e(620))),r[e(623)](e(620),s),this[e(649)][e(435)](o,{userId:i}),this[e(649)][e(435)](s,{userId:i}),t[e(709)]()}[_n(452)](t){const e=_n,i=null===(t=this[e(719)](t,this[e(602)]))[e(554)]?null:t[e(554)]||this[e(733)][e(437)][e(585)](e(424)).me.id,n=t[e(698)],r=t[e(565)][e(431)];t[e(709)]();const s=r[e(532)](e(620)),o=t[e(443)][e(492)];if(n){const t=o[e(532)](e(620)),n=r[e(532)](e(620));r[e(623)](e(620),t),o[e(623)](e(620),n),this[e(649)][e(435)](r[e(532)](e(620)),{userId:i}),this[e(649)][e(435)](o[e(532)](e(605)),{userId:i})}else{const t=this[e(552)]++,n=this[e(552)]++;r[e(623)](e(620),t),o[e(623)](e(605),n),o[e(623)](e(620),s),this[e(649)][e(435)](t,{userId:i}),this[e(649)][e(435)](n,{userId:i})}}[_n(550)](t){const e=_n;if(!t[e(556)])return;const i=(t=this[e(719)](t,this[e(706)]))[e(503)]?t[e(503)][e(575)]:null,n=t[e(612)]?t[e(612)][e(575)]:null;i&&this[e(723)][e(507)](t[e(441)]),n&&this[e(723)][e(435)](t[e(441)],t[e(612)][e(497)]());const r=null===t[e(554)]?null:t[e(554)]||this[e(733)][e(437)][e(585)](e(424)).me.id,s=t[e(441)];if(!this[e(491)][e(711)](s))return void this[e(491)][e(435)](s,{range:t[e(503)],userId:r});const o=this[e(491)][e(585)](s),a=o[e(597)],c=t[e(612)];null==a&&null==c||a&&c&&a[e(677)](c)?this[e(491)][e(507)](t[e(441)]):o[e(521)]=r}[_n(590)](t,e){const i=_n;this[i(706)][i(711)](t[i(488)])?this[i(706)][i(585)](t[i(488)])[i(727)]=t[i(539)]:(this[i(706)][i(435)](t[i(488)],An(t[i(488)],!0)),this[i(515)][i(435)](t[i(488)],{}),e&&this[i(602)][i(435)](t[i(488)],An(t[i(488)],!0)));const n=null===t[i(554)]?null:t[i(554)]||this[i(733)][i(437)][i(585)](i(424)).me.id,r=this[i(728)][i(585)](t[i(488)]);r&&r[i(521)]===n?this[i(728)][i(507)](t[i(488)]):this[i(728)][i(435)](t[i(488)],{userId:n,isAttached:t[i(539)]})}[_n(574)](t){const e=_n,i=this[e(515)][e(585)](t[e(575)][e(488)]);null===t[e(422)]?delete i[t[e(459)]]:i[t[e(459)]]=t[e(422)]}}function Tn(t){const e=_n,i=An(t[e(488)],t[e(522)]());for(const n of t[e(468)]()){const t=n[e(525)](!0);i[e(627)](t)}return i}function Nn(t,e){const i=Vn();return(Nn=function(t,e){return i[t-=418]})(t,e)}function An(t,e=!0){const i=_n,n=new Yi.DocumentFragment;return n[i(488)]=t,n[i(727)]=e,n[i(522)]=()=>n[i(727)],n}function Rn(t,e,i){const n=_n,r=n(586)==t[n(600)]?i[n(537)](t[n(724)],n(549)):i[n(652)](t[n(724)]);return i[n(608)](e,r[n(526)],r[n(681)])}function Vn(){const t=["attributesAfter","revisionHistoryLicenseKeyInvalid","_fixRange","text","revisionHistoryLicenseKeyEvaluationLimit","_touched","destroy","Empty document","createPositionBefore","default","start","$text","_initialRevisionId","editing","_licenseKeyCheckInterval","reverse","createRevision","define","_removeRevisionMarkers","revisionHistoryLicenseKeyExpired","length","ready","stringify","getRevisionDocumentData","invalid","marker","howMany","element","_handleMergeOperation","authors","getAttributes","_pendingAction","_update","isEqual","reInit","getTransformedByOperation","insertion","stickiness","slice","revisionHistory.resumeUnsavedRevision","getRoot","attributesBefore","revisionHistoryLicenseKeyDomainLimit","getRootNames","repository","position","createdAt","pluginName","parse","_source","data-revision-","_getState","history","featureNotAllowed","graveyardPosition","markers","buildRevisionData","sendBufferedUpdates","updateRevisions","reinsert","_loadRevisionData","_processRootBeforeSave","_diffRoots","domainLimit","34503NuEwWS","_execute","data","has","_baseIdsRoots","_getFromVersion","_saveMetaData","isOfficialPlugin","_isInit","afterInit","_generateTape","_cloneOperation","view","getRange","getCurrentRevisionId","_markers","item","push","_getVidAttributeName","_isAttached","_touchedRoots","_replaceEditorDataWithRevisionData","children","hasContent","getUser","editor","upcast","offsetSize","4387164zOQxyu","_handleInsertOperation","vid","detachRoot","size","toVersion","documentFragment","newValue","forEach","Users","toView","sourcePosition","_removeMetaData","add","_findInsertionIndex","dataDowncast","parent","insertions","loadState","_startingRevisionId","set","addRoot","plugins","12vqcjRv","previousPosition","initial","name","toModel","insertionPosition","keepParagraph","update","paragraph","$graveyard","toData","revision","7796930dYBaVz","changeRootAttribute","_handleSplitOperation","authorsIds","targetPosition","for","childCount","getOperations","markerToData","key","_handleMoveOperation","_getBaseVids","nodes","marked","creator","processor","expired","RealTimeCollaborationClient","getChildren","_prepareViewToSave","keys","26144dFJnez","adapter","getTime","setSource","init","config","PendingActions","getMovedRangeStart","clear","revisionHistoryLicenseKeyNotAllowed","_loadedStateData","setRevisionData","getRevision","saveRevision","revisionHistoryLicenseKeyUsageLimit","NEGATIVE_INFINITY","revision-end","rootName","currentRevision","trim","_touchedMarkers","nodeAfter","_removePendingAction","RevisionHistory","some","split","clone","createRange","2224432zntuUx","usageLimit","revision:","finally","oldRange","isEnabled","getLatestVersion","_bufferUpdate","delete","fromVersion","_copyMarkers","deletion","creatorId","values","_insertChild","_createCurrentRevision","_diffRootsAttributes","getChild","_markChanges","attachChange","_savedMetaData","trialLimit","userId","isAttached","string","RevisionTracker","_clone","path","_addPendingAction","revisionHistoryLicenseKeyTrialLimit","addRevisionData","_startingVersion","includes","getAttribute","611970itcSIm","remove","getNodeByPath","offset","createPositionAt","model","isAdd","_isPendingUpdate","removeRootAttribute","licenseKey","editor-initial-data-replaced-with-revision-data","_baseRoots","conversion","371080NdpRPm","_baseRootsAttributes","attributes","end","_handleMarkerOperation","_reset","_revisionId","map","_authorId","_fixPosition","affectsData","then","rootsAttributes","_calculateMetaData","insert","move","merge","startsWith","_createFromRanges","splitPosition","deletions","shift","addRevision","addRootAttribute","baseVersion","find","_makeRevision","initialData","_handleRootAttributeOperation","root","revision-start","getAncestors","dataToMarker","getRevisionRootsAttributes","getRevisions","_getPreviousFrom","revisionHistoryLicenseKeyValid","getIndex","218djSEwu","get","elementEnd","sort","source","resolve","_handleRootOperation","_lastFrom","_applyOperations","_continueCurrentRevision","max","_operations","_fixOperation","range","_handleOperation","126HzSuGI","type","_revisionDataBuilder","_idsRoots","RevisionsRepository","evaluationLimit","vid_start","locale","PENDING_ACTION_REVISION_HISTORY","createPositionFromPath","createRangeIn","requires","_makeModelFromViewString","newRange","from","Initial revision","_getViewJson","useFillerType","isPremiumPlugin","roots","_lastTo","vid_end","_showLicenseError","_makeIdsRoot","_setAttribute","_loadState","fromEntries","bind","_appendChild","_bufferedUpdates","filter","createPositionAfter","collaboration.channelId","getWalker","diffData","version","document","tableCell","getOperation","getData","isReady","_transformMarkers","elementStart","_setConversion","_createInitialRevision"];return(Vn=function(){return t})()}function Mn(t,e,i){const n=_n,r=n(641)==t[n(600)]?i[n(537)](t[n(724)],0):i[n(630)](t[n(724)]);return i[n(608)](e,r[n(526)],r[n(681)])}var En=i(311),Dn=i(673),Cn=i.n(Dn),jn=i(545),Fn=i.n(jn),Ln=i(262),Pn=i.n(Ln),zn=i(667),Wn=i.n(zn),Zn=i(357),Un=i.n(Zn),Hn=i(426),$n={attributes:{"data-cke":!0}};$n.setAttributes=Wn(),$n.insert=Pn().bind(null,"head"),$n.domAPI=Fn(),$n.insertStyleElement=Un();Cn()(Hn.A,$n);Hn.A&&Hn.A.locals&&Hn.A.locals;var qn=i(959),Bn={attributes:{"data-cke":!0}};Bn.setAttributes=Wn(),Bn.insert=Pn().bind(null,"head"),Bn.domAPI=Fn(),Bn.insertStyleElement=Un();Cn()(qn.A,Bn);qn.A&&qn.A.locals&&qn.A.locals;const Yn=Gn;function Jn(){const t=["add","render","set","stopPropagation","_createRevisionNameInput","4204605lCRBFq","arrowdown","10ZYQsRN","focusTracker","reset","374658mIbYfM","arrowleft","label","220","form","revisionNameInputValue","200552mNQqrs","2028551KhNGIa","optional","keystrokes","ck-revision-history-save-revision-form","extendTemplate","ck-responsive-form","arrowup","setTemplate","arrowright","input","fieldView","trim","Name of the revision","errorText","listenTo","revisionName","735513vuAgVA","1273668faIqaq","revisionNameInputView","25600752ztVjxK","locale","value","focus","element"];return(Jn=function(){return t})()}function Gn(t,e){const i=Jn();return(Gn=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=Gn,i=t();for(;;)try{if(891029===-parseInt(e(464))/1+-parseInt(e(465))/2+-parseInt(e(477))/3+parseInt(e(488))/4+parseInt(e(479))/5*(parseInt(e(482))/6)+parseInt(e(489))/7+parseInt(e(467))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jn);class Kn extends En.View{constructor(e,i){const n=Gn;super(e),this[n(480)]=new t.FocusTracker,this[n(491)]=new t.KeystrokeHandler,this[n(474)](n(487),""),this[n(466)]=this[n(476)](i),this[n(496)]({tag:n(486),attributes:{class:["ck",n(492),n(494)],tabindex:"-1"},children:[this[n(466)]]}),(0,En.injectCssTransitionDisabler)(this)}[Yn(473)](){const t=Yn;super[t(473)](),(0,En.submitHandler)({view:this}),this[t(480)][t(472)](this[t(466)][t(471)]),this[t(491)][t(462)](this[t(471)]);const e=e=>e[t(475)]();this[t(491)][t(474)](t(497),e),this[t(491)][t(474)](t(483),e),this[t(491)][t(474)](t(495),e),this[t(491)][t(474)](t(478),e)}[Yn(470)](){const t=Yn;this[t(466)][t(470)]()}get[Yn(463)](){const t=Yn;return this[t(466)][t(499)][t(471)][t(469)][t(500)]()}set[Yn(463)](t){const e=Yn;this[e(466)][e(499)][e(471)][e(469)]=t[e(500)]()}[Yn(481)](){const t=Yn;this[t(466)][t(499)][t(471)][t(469)]="",this[t(466)][t(461)]=null}[Yn(476)](t){const e=Yn,i=new En.LabeledFieldView(this[e(468)],En.createLabeledInputText),n=i[e(499)];n[e(493)]({attributes:{maxlength:e(485)}});let r=Xi(this[e(468)],e(460));return!t&&(r+=" ("+Xi(this[e(468)],e(490))+")"),i[e(484)]=r,n.on(e(498),(()=>{const t=e;this[t(487)]=n[t(471)][t(469)][t(500)]()})),i}}const Qn=Xn;function Xn(t,e){const i=tr();return(Xn=function(t,e){return i[t-=218]})(t,e)}function tr(){const t=["RevisionTracker","The revision name cannot be empty.","isOpen","editing","7LERIKf","bind","menuitem","submit","33874659ajUPXV","componentFactory","Accept","402548KQGwMG","hide","locale","RevisionHistoryUI","plugins","menuBar:revisionHistory","render","isReady","isReadOnly","_saveRevisionFormView","pluginName","delegate","_registerMenuComponent","2824029Tttpxt","_showDialog","revisionName","Save current revision","init","focus","showRevisionViewerCallback","children","execute","Cancel","history","revisionHistory","editor","errorText","isEnabled","_createSaveRevisionFormView","panelView","view","isPremiumPlugin","isOfficialPlugin","config","addMany","Dialog","10RqIIFm","menu","reset","show","revisionSave","set","revisionNameInputView","revisionHistory.requireRevisionName","saveRevision","Revision history","ck-button-action","buttonView","get","281812PkRGxe","add","3966872JfzFKG","items","role","requires","710289jAtTqn","Open revision history","4091490usLZET"];return(tr=function(){return t})()}!function(t){const e=Xn,i=t();for(;;)try{if(592265===-parseInt(e(252))/1+-parseInt(e(266))/2+-parseInt(e(279))/3+parseInt(e(246))/4*(-parseInt(e(233))/5)+-parseInt(e(254))/6+parseInt(e(259))/7*(-parseInt(e(248))/8)+parseInt(e(263))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tr);class er extends qi.Plugin{static get[Qn(276)](){return Qn(269)}static get[Qn(229)](){return!0}static get[Qn(228)](){return!0}static get[Qn(251)](){return[Sn]}[Qn(283)](){const t=Qn,e=this[t(222)],i=e[t(270)][t(245)](t(255));e.ui[t(264)][t(247)](t(221),(n=>{const r=t,s=(0,En.createDropdown)(n),o=s[r(226)][r(286)],a=new En.ListView(n),c=new En.ListItemView(n),u=new En.ButtonView(n),l=new En.ListItemView(n),h=new En.ButtonView(n);return s[r(260)](r(224)).to(i,r(273),i,r(224),e,r(274),((t,e,i)=>t&&e&&!i)),s[r(244)][r(238)]({icon:qi.icons[r(220)],label:Xi(n,r(242)),tooltip:!0}),u[r(238)]({label:Xi(n,r(282)),withText:!0,role:r(261)}),u[r(260)](r(224)).to(i,r(273),i,r(224),e,r(274),((t,e,i)=>t&&e&&!i)),u.on(r(218),(()=>this[r(280)]())),h[r(238)]({label:Xi(n,r(253)),withText:!0,role:r(261)}),h[r(260)](r(224)).to(i,r(273),e,r(274),((t,e)=>t&&!e)),h.on(r(218),(()=>{const t=r;e[t(230)][t(245)](t(221))[t(285)](),s[t(257)]=!1,e[t(258)][t(227)][t(284)]()})),c[r(286)][r(247)](u),l[r(286)][r(247)](h),a[r(250)]=r(234),a[r(249)][r(231)]([c,l]),o[r(247)](a),s})),e.ui[t(264)][t(247)](t(271),(()=>this[t(278)]()))}[Qn(278)](){const t=Qn,e=this[t(222)],i=e[t(268)],n=new En.MenuBarMenuView(i),r=new En.MenuBarMenuListView(i);n[t(244)][t(238)]({icon:qi.icons[t(220)],label:Xi(i,t(242))});const s=new En.MenuBarMenuListItemView(i,n),o=new En.MenuBarMenuListItemButtonView(i);o[t(238)]({label:Xi(i,t(282))}),o[t(277)](t(218)).to(n),o.on(t(218),(()=>{this[t(280)]()})),s[t(286)][t(247)](o),r[t(249)][t(247)](s);const a=new En.MenuBarMenuListItemView(i,n),c=new En.MenuBarMenuListItemButtonView(i);return c[t(238)]({label:Xi(i,t(253))}),c[t(277)](t(218)).to(n),c.on(t(218),(()=>{const i=t;e[i(230)][i(245)](i(221))[i(285)]()})),a[t(286)][t(247)](c),r[t(249)][t(247)](a),n[t(226)][t(286)][t(247)](r),n}[Qn(280)](){const t=Qn,e=this[t(222)],i=e[t(268)],n=e[t(270)][t(245)](t(232)),r=e[t(270)][t(245)](t(255));function s(r){const s=t;e[s(230)][s(245)](s(240))&&""===r[s(281)]?r[s(239)][s(223)]=Xi(i,s(256)):(e[s(270)][s(245)](Sn)[s(241)]({name:r[s(281)]}),n[s(267)]())}this[t(275)]||(this[t(225)](),this[t(275)].on(t(262),(()=>s(this[t(275)])))),this[t(275)][t(235)](),n[t(236)]({id:t(237),title:Xi(i,t(282)),isModal:!0,content:this[t(275)],actionButtons:[{label:Xi(e[t(268)],t(219)),withText:!0,onExecute:()=>n[t(267)]()},{label:Xi(e[t(268)],t(265)),class:t(243),withText:!0,onCreate(i){const n=t;i[n(260)](n(224)).to(r,n(273),r,n(224),e,n(274),((t,e,i)=>t&&e&&!i))},onExecute:()=>s(this[t(275)])}]})}[Qn(225)](){const t=Qn,e=this[t(222)],i=e[t(268)];this[t(275)]=new Kn(i,e[t(230)][t(245)](t(240))),this[t(275)][t(272)]()}}function ir(t,e){const i=nr();return(ir=function(t,e){return i[t-=287]})(t,e)}function nr(){const t=["isSuggestion","3259473GseCtD","element","set","add","1153472yBxiKx","_model","ck-annotation","name","342597XjykbA","2cQAfwg","setTemplate","Added by","span","60gPAywN","Removed by","ck-revision-change","type","11040750WJNURy","author","bindTemplate","Suggested by","div","ck-revision-change__label","902720MyhUue","205812JphfhC","focus","472704LnIyuh","ck-revision-change__","280ogWXPV","data","changeId"];return(nr=function(){return t})()}const rr=ir;!function(t){const e=ir,i=t();for(;;)try{if(552477===parseInt(e(318))/1+-parseInt(e(304))/2*(-parseInt(e(303))/3)+-parseInt(e(299))/4+parseInt(e(308))/5*(-parseInt(e(289))/6)+parseInt(e(295))/7+-parseInt(e(291))/8*(parseInt(e(287))/9)+parseInt(e(312))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nr);class sr extends En.View{constructor(t,e){const i=ir;super(t),this[i(300)]=e,this[i(293)]=e.id;const n=this[i(314)],r=Xi(t,e[i(292)][i(294)]?i(315):i(298)==e[i(311)]?i(306):i(309));this[i(297)](i(311),e[i(311)]),this[i(305)]({tag:i(316),attributes:{class:[i(301),i(310),n.to(i(311),(t=>i(290)+t))],tabindex:-1},children:[{tag:i(307),children:[{tag:i(307),attributes:{class:[i(317)]},children:[{text:r}]},{text:" "+e[i(313)][i(302)]}]}]})}[rr(288)](){const t=rr;this[t(296)][t(288)]()}}var or=ar;function ar(t,e){var i=ur();return(ar=function(t,e){return i[t-=348]})(t,e)}!function(t){for(var e=ar,i=t();;)try{if(833756===-parseInt(e(365))/1+parseInt(e(356))/2*(-parseInt(e(351))/3)+parseInt(e(353))/4*(-parseInt(e(352))/5)+-parseInt(e(354))/6*(parseInt(e(360))/7)+-parseInt(e(363))/8*(-parseInt(e(366))/9)+parseInt(e(355))/10*(-parseInt(e(348))/11)+parseInt(e(364))/12*(parseInt(e(350))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ur);class cr extends((0,t.ObservableMixin)()){constructor(e){var i=ar;super(),this.id=e.id||(0,t.uid)(),this[i(361)]=e[i(361)],this[i(367)]=e[i(367)],this[i(362)]=e[i(362)]||{},this[i(359)]=e[i(359)],this[i(358)](i(349),e[i(349)])}[or(357)](){var t=or;return{id:this.id,authorId:this[t(361)].id,type:this[t(367)],data:this[t(362)],createdAt:this[t(349)]}}}function ur(){var t=["890JqiAAC","16844UtkZWS","2103762mxcBTF","3394960CJKryf","10dHdGCV","toJSON","set","rootName","28tdCwUT","author","data","72IhPkWi","1848HRJlvs","1146865pnOGrB","1192113CYbvdL","type","33thTYGC","createdAt","347334vqhKti","93306IDwgzw"];return(ur=function(){return t})()}function lr(){const t=["newRevisionId","147zNlkzC","280wEhjNr","changes","27984nuSdlH","4iwbRCs","1221pMTpwU","161nGrhWo","_setChanges","add","990140CFRjcO","10iJtZpV","oldRevisionId","30332rBuMdJ","167967cwxAnx","22462qbKdkW","15157692urlzSL"];return(lr=function(){return t})()}function hr(t,e){const i=lr();return(hr=function(t,e){return i[t-=243]})(t,e)}const dr=hr;!function(t){const e=hr,i=t();for(;;)try{if(374160===-parseInt(e(252))/1*(-parseInt(e(245))/2)+-parseInt(e(248))/3*(parseInt(e(243))/4)+parseInt(e(257))/5+parseInt(e(251))/6*(-parseInt(e(254))/7)+parseInt(e(249))/8*(-parseInt(e(244))/9)+-parseInt(e(258))/10*(-parseInt(e(253))/11)+parseInt(e(246))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lr);class fr{constructor(e,i){const n=hr;this[n(247)]=e,this[n(259)]=i,this[n(250)]=new t.Collection}[dr(255)](t){const e=dr;for(const i of t)this[e(250)][e(256)](i)}}var mr=i(536),pr={attributes:{"data-cke":!0}};pr.setAttributes=Wn(),pr.insert=Pn().bind(null,"head"),pr.domAPI=Fn(),pr.insertStyleElement=Un();Cn()(mr.A,pr);mr.A&&mr.A.locals&&mr.A.locals;function vr(){const t=["mapper","change","init","getRoot","next","enqueueChange","destroy","index","insertion","startIndex","userId","markersStart","showNextChange","_processTape","vid","listenTo","createPositionBefore","addMarker:revision-suggestion:insertion","-new","top","diffData","pop","consume","splice","currentChangeNumber","roots","target","_makeModelFromViewString","getDomRoot","catch","mousedown","compare","detachRoot","pluginName","6uvfnZZ","1101879ghBRhe","data-revision-","bindElementToMarker","isNavigationMode","filter","data","forceDisabled","find","isEnabled","length","default","addHighlight","_markSuggestions","_data","addRevision","addRevisionData","stop","isAddSuggestion","concat","refresh","RevisionViewer","reconvertMarker","markers","diff","backward","getIndex","getRevisionData","keys","push","string","activeView","offsetSize","nextPosition","markerName","dataDowncast","newRevisionId","revision-suggestion","_step","toModel","_markInsertions","revision","config","all","elementToAttribute","change:numberOfChanges","addClass","level","ck-suggestion-preview-marker","revision-comment:","revisionHistory","_cleanMarkers","collaboration.channelId","removeMarker:revision","5029090EVgRMs","start","first","_balloon","suggestion:","attribute:vid","getCustomProperty","insert","domEvent","includes","createRevision","createRangeIn","selection","getLaterVisibleRevision","removeMarker","data-change-id","conversion","nodeAfter","enableReadOnlyMode","ck-suggestion-marker","authors","element","parse","isCollapsed","bottom","item","changeId","_activeViewTarget","_makeModelFromTape","abs","attributes","_joinTapes","repository","highest","_findChangeIdFromDomTarget","schema","revision-viewer","suggestion","addMarker:revision","markersEnd","isBefore","map","vid_start","indexOf","_initInteractions","restoreRevision","range","POSITIVE_INFINITY","addRoot","_setDistance","isPremiumPlugin","hasAttribute","get","distance","done","isAdded","_cleanUp","getWalker","isAfter","bind","createPositionFromPath","367408jAntiQ","clear","return","isAtEnd","1240XShgZX","getChild","text","toData","isContent","isReady","getAttribute","isSuggestion","locale","isAttached","element:pre","8106pVbEeV","for","uiElement","_setChanges","remove","ck-editor__editable__overlay","addMarker:revision-suggestion:deletion","slice","getItems","isBlock","ck-revision-history-root-add","left","isEqual","isLimit","rootName","flat","previousPosition","ck-suggestion-marker-merge","change:isReady","vid_end","document","numberOfChanges","then","wrap","parent","merge","isOfficialPlugin","isRemoved","revisionHistoryLabel","_markMarkers","adapter","insertions","ck-suggestion-marker--active","1198617pQGozk","attachChange","execute","deletions","side","_changeView","editingDowncast","checkAttribute","_makeTape","RevisionsRepository","isAtStart","revisionHistoryAttachChange","_getViewObj","error","observeMarkers","model","ck-suggestion-preview-marker-","changes","_refreshStartEndIndex","children","hasClass","nextSibling","change:activeView","ck-suggestion-marker-","_update","right","forEach","plugins","resolve","markerNameToElements","showStack","writer","endIndex","name","markerRange","shift","attributesBefore","elementStart","_getRevisionsRange","unshift","set","loadRevisionData","softBreak","getClientRects","toViewElement","createUIElement","downcastDispatcher","toViewRange","low","from","findIndex","createAttributeElement","updatePosition","66CNewRy","_getDiff","has","values","type","_threeWayMerge","getAttributes","requires","ck-revision-history-root-remove","markerToHighlight","processor","change:isEnabled","elementEnd","revision-end","ck-revision-history-root-","isOnRoot","removeMarker:revision-suggestion","deletion","viewItem","end","domConverter","activeChange","getRevisionRootsAttributes","getRevision","2945GzzfxU","forward","editor","showPreviousChange","sort","startsWith","_appendChild","ck-suggestion-marker-split","marked","getRootNames","modelRange","toViewPosition","view","_changeIdToChange","code","unbindElementFromMarkerName","test","removeClass","dataToMarker","_getViewForChange","upcast","ck-revision-history-root--active","isObject","add","revision:","revision-suggestion:","comment","attributesAfter","oldRevisionId","_revisions","_markMismatchedRemovedTags","setAttribute","_removeRevisionMarkers","useFillerType","_sortAndFilterDiffChanges","_removeUnsupportedChanges","removeAttribute","_getChangeFromId","affectsData","markerToData","pairId","WidgetToolbarRepository","commands","object","isRemoveSuggestion","revision-start","maxOffset","isIncorrect","split","isInline","high","2594XJsSAI","_setConversion","change:activeChange","mapViewToDom","restoreRevisionCallback","editing","createRange","_fixObsoleteTags","delete","span","consumable","mouseover","_removeMissingPairs"];return(vr=function(){return t})()}const yr=wr;!function(t){const e=wr,i=t();for(;;)try{if(109223===parseInt(e(271))/1+parseInt(e(432))/2*(parseInt(e(357))/3)+-parseInt(e(260))/4*(parseInt(e(381))/5)+parseInt(e(479))/6*(-parseInt(e(304))/7)+parseInt(e(256))/8+-parseInt(e(480))/9+parseInt(e(533))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vr);const gr={c:Yi.ViewContainerElement,a:Yi.ViewAttributeElement,e:Yi.ViewEmptyElement,r:Yi.ViewRawElement,u:Yi.ViewUIElement};class kr extends qi.Plugin{static get[yr(478)](){return yr(500)}static get[yr(297)](){return!0}static get[yr(245)](){return!0}static get[yr(364)](){return[Bi.Users,En.ContextualBalloon,Qi]}constructor(t){const e=yr;super(t),this[e(565)]=this[e(383)][e(331)][e(247)](e(313)),this[e(344)](e(378),null),this[e(344)](e(510),null),this[e(560)]=null,this[e(344)](e(503),null),this[e(344)](e(265),!1),this[e(344)](e(488),!0),this.on(e(368),((t,i,n)=>{const r=e;this[r(378)]=null,this[r(510)]=null,this[r(383)][r(437)][r(393)][r(446)]((t=>{const e=r;for(const i of this[e(383)][e(437)][e(393)][e(291)][e(470)])n?t[e(398)](e(276),i):t[e(525)](e(276),i)}))})),this[e(254)](e(483)).to(this,e(378),(t=>null!==t)),this[e(254)](e(469)).to(this,e(265),this,e(503),this,e(378),((t,i,n)=>t&&n?i[e(321)][e(505)](n):0)),this[e(254)](e(292)).to(this,e(265),this,e(503),((t,i)=>t?i[e(321)][e(489)]:0)),this[e(309)]=null,this[e(394)]=new Map,this[e(301)]=null,this[e(536)]=this[e(383)][e(331)][e(247)](En.ContextualBalloon)}[yr(447)](){const t=yr,e=this[t(383)],i=new Ir(e,{direction:t(504)}),n=new Ir(e,{direction:t(382)});e[t(423)][t(404)](t(384),i),e[t(423)][t(404)](t(457),n),e[t(423)][t(404)](t(578),new _r(e)),this.on(t(524),(()=>{const e=t;i[e(499)](),n[e(499)]()})),this[t(433)](),this[t(577)](),e[t(551)](t(569)),e[t(331)][t(359)](t(422))&&e[t(331)][t(247)](t(422))[t(486)](t(569))}async[yr(506)](t){const e=yr;await this[e(345)](t);const i={};for(const n in t[e(465)]){if(t[e(465)][n][e(305)]&&!t[e(465)][n][e(305)][e(269)])continue;const r=this[e(413)](JSON[e(555)](t[e(465)][n][e(302)])),s=this[e(383)][e(437)][e(393)][e(291)],o=new Yi.ViewDocumentFragment(s,r[e(574)]((t=>this[e(316)](t))));this[e(383)][e(485)][e(367)][e(414)](e(389)),i[n]=this[e(383)][e(485)][e(367)][e(263)](o),this[e(383)][e(485)][e(367)][e(414)](e(490))}return i}async[yr(379)](t){const e=yr;await this[e(345)](t);const i={};for(const n in t[e(465)])t[e(465)][n][e(305)]&&!t[e(465)][n][e(305)][e(269)]||(i[n]=t[e(465)][n][e(408)]||{});return i}[yr(413)](t){const e=yr;return(t=t[e(484)]((t=>!t[e(337)]||e(426)!==t[e(337)]&&e(370)!==t[e(337)])))[e(330)]((t=>{const i=e;i(509)!=typeof t&&(t[i(323)]=this[i(413)](t[i(323)]),t[i(563)]=t[i(563)][i(484)]((t=>!t[0][i(386)](i(481)))))})),t}async[yr(476)](t,e,i=!1){const n=yr;if(!this[n(488)])return;const r=this[n(503)],s=this[n(565)],o=n(509)==typeof t?s[n(380)](t):t,a=n(509)==typeof e?s[n(380)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(503)]&&this[n(503)][n(515)]===c&&this[n(503)][n(409)]===u)return Promise[n(332)]();this[n(265)]=!1,this[n(510)]=null,this[n(378)]=null,this[n(503)]=new fr(c,u);const l=this[n(342)](o,a,!0)[n(574)]((t=>this[n(345)](t)));return l[n(508)](new Promise((t=>{setTimeout(t,20)}))),Promise[n(522)](l)[n(293)]((()=>{const t=n;if(!this[t(488)])return;this[t(251)]();const e=this[t(358)](c,u);for(const i of e[t(321)])this[t(394)][t(344)](i.id,i);this[t(383)][t(319)][t(450)]({isUndoable:!1},(i=>{const n=t;for(const t of this[n(383)][n(319)][n(291)][n(390)]())i[n(477)](t);for(const t of Object[n(507)](e[n(319)])){const r=i[n(243)](t);for(const s of Object[n(507)](e[n(563)][t]))i[n(412)](s,e[n(563)][t][s],r);i[n(540)](e[n(319)][t],r,0)}})),this[t(503)][t(274)](this[t(415)](e[t(321)])),this[t(265)]=!0}))[n(474)]((t=>{const e=n;console[e(317)](t),this[e(251)](),r&&(this[e(503)]=r),this[e(265)]=!0}))}[yr(495)](t,e){const i=yr,n=this[i(565)][i(543)](t);return n.on(i(328),((t,i,r)=>e(i,r,n))),this[i(565)][i(494)](n),n}[yr(345)](t){const e=yr;if(!t||t[e(465)])return Promise[e(332)]();{const i=this[e(383)][e(521)][e(247)](e(531));return this[e(301)][e(380)]({channelId:i,revisionId:t.id})[e(293)]((i=>{const n=e;t[n(328)]({diffData:i[n(465)]},!0)}))}}[yr(251)](){const t=yr;this[t(378)]=null,this[t(530)](),this[t(309)]&&this[t(309)][t(451)](),this[t(309)]=null,this[t(394)][t(257)](),this[t(383)][t(319)][t(450)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(383)][i(319)][i(291)][i(390)]())e[i(477)](t)}))}[yr(415)](t){const e=yr,i=[],n=new Map;for(const t of this[e(383)][e(319)][e(291)][e(390)]()){const r=this[e(383)][e(437)][e(393)][e(473)](t);if(!r)continue;const s=r[e(347)]()[e(558)](0);s&&(i[e(508)](t),n[e(344)](t,s))}return i[e(385)](((t,i)=>{const r=e,s=n[r(247)](t),o=n[r(247)](i);return s.y-o.y||s.x-o.x})),(t=t[e(484)]((t=>i[e(542)](t[e(285)]))))[e(385)](((t,n)=>i[e(576)](t[e(285)])-i[e(576)](n[e(285)]))),t}[yr(312)](t){const e=yr,i=Array[e(353)](t[e(502)])[e(484)]((([t,i])=>t[e(386)](e(405))&&!i[e(556)])),n=Array[e(353)](this[e(383)][e(319)][e(544)](t)[e(252)]({singleCharacters:!0}));if(0!=i[e(489)])for(const t of n){const[n,r]=i[0],[,s,o]=n[e(429)](":");if(r[e(376)][e(283)](t[e(512)])&&i[e(339)](),(t[e(287)][e(283)](r[e(534)])||t[e(287)][e(253)](r[e(534)]))&&(e(453)==s?t[e(250)]={userId:o}:e(374)==s&&(t[e(298)]={userId:o})),0==i[e(489)])break}return n}[yr(322)](t){const e=yr,i=new Map;for(let n=0;n<t[e(489)];n++)e(262)===t[n][e(361)]?(t[n][e(558)][e(454)]=n,t[n][e(558)][e(336)]=n):(e(341)===t[n][e(361)]?t[n][e(558)][e(454)]=n:e(369)===t[n][e(361)]&&(t[n][e(558)][e(336)]=n),i[e(344)](t[n].id,n));for(const n of i[e(360)]())e(341)===t[n][e(361)]?t[n][e(558)][e(336)]=i[e(247)](t[n][e(421)]):e(369)===t[n][e(361)]&&(t[n][e(558)][e(454)]=i[e(247)](t[n][e(421)]))}[yr(458)](t){const e=yr;for(let i=0;i<t[e(489)];i++){if(e(341)===t[i][e(361)])t[i][e(558)][e(454)]=i;else if(e(369)===t[i][e(361)]){t[i][e(558)][e(336)]=i;const n=t[i][e(558)][e(454)];t[n][e(421)]=t[i].id,t[i][e(421)]=t[n].id}else t[i][e(558)][e(454)]=i,t[i][e(558)][e(336)]=i,t[i][e(421)]=null;t[i][e(456)]||(t[i][e(456)]=[],t[i][e(572)]=[])}}[yr(519)](t,e){const i=yr,n=t[i(484)]((t=>!t[i(250)]));for(let t=0;t<e[i(489)];t++)e[t][i(250)]&&(n[t][i(250)]=e[t][i(250)])}[yr(472)](t){const e=yr,i=JSON[e(555)](t),n=this[e(383)][e(437)][e(393)][e(291)],r=new Yi.ViewDocumentFragment(n,i[e(574)]((t=>this[e(316)](t))));return this[e(383)][e(485)][e(518)](r)}[yr(316)](t){const e=yr,i=this[e(383)][e(437)][e(393)][e(291)];if(e(509)==typeof t)return new Yi.ViewText(i,t);{const n=t[e(323)][e(574)]((t=>this[e(316)](t)));return new(gr[t[e(361)]]||Yi.ViewElement)(i,t[e(337)],t[e(563)],n)}}[yr(358)](t,e=null){const i=yr,n=this[i(565)][i(380)](t),r=e?this[i(565)][i(380)](e):null,s=this[i(342)](n,r),o=s[s[i(489)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=s[i(489)]-1;t>=0;t--){const e=s[t];for(const t of Object[i(507)](e[i(465)]))if(e[i(465)][t][i(305)]){const n=e[i(465)][t][i(305)];n[i(269)]?(u[i(404)](t),l[i(359)](t)&&l[i(247)](t)[i(455)]==n[i(455)]?l[i(440)](t):l[i(344)](t,n)):l[i(359)](t)?(u[i(440)](t),l[i(440)](t)):(u[i(404)](t),l[i(344)](t,n))}else u[i(404)](t)}for(const t of u){const e=l[i(359)](t)&&!l[i(247)](t)[i(269)];let n=e?s[i(489)]-1:0;const r=e?-1:1;for(;s[n];){const o=s[n];if(o[i(465)][t]){const n=e?o[i(465)][t][i(340)]:o[i(465)][t][i(408)];c[i(563)][t]=n?vi(n):{};break}n+=r}}for(const t of s){t[i(319)]={};for(const e of t[i(553)])a[i(344)](e.id,e);for(const e of u){const n=t[i(465)][e]?t[i(465)][e][i(302)]:"[]",r=t[i(465)][e]?t[i(465)][e][i(307)]:"[]";t[i(319)][e]={insertions:this[i(472)](n),deletions:this[i(472)](r)}}}for(const t of u){let e=null,r=0;const u=new Map(Array[i(353)](n[i(319)][t][i(302)][i(502)])[i(484)]((([t])=>!t[i(386)](i(405)))));let h=0;for(const o of s){const s=this[i(312)](o[i(319)][t][i(302)]);o==n?(e=s,r=e[i(489)],e[i(330)]((t=>{t.id=h++})),this[i(458)](e)):this[i(519)](e,s);const a=e[i(484)]((t=>!t[i(250)]))[i(574)]((t=>t.id));let c=0;const l=this[i(312)](o[i(319)][t][i(307)]);l[i(330)]((t=>{t[i(298)]?t.id=r++:t.id=a[c++]})),this[i(458)](l),this[i(244)](e,i(250)),this[i(244)](l,i(298)),o==n&&this[i(300)](e,u),e=this[i(564)](e,l),this[i(322)](e),this[i(244)](e,i(298))}e=e[i(484)]((t=>!(t[i(250)]&&t[i(298)])));const d=new Map(o[i(319)][t][i(307)][i(502)]),f=new Set(u[i(507)]());for(const t of d[i(507)]())f[i(440)](t);this[i(492)](e,f),this[i(439)](e),e=this[i(444)](e),e=this[i(411)](e),e=this[i(416)](e);const{root:m,changes:p}=this[i(561)](e,a,t);c[i(319)][t]=m;const v=l[i(247)](t);if(v){const e=a[i(247)](v[i(455)]),n=new cr({author:e,type:v[i(269)]?i(404):i(275),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(343)](n),c[i(563)][t][i(315)]=n.id}c[i(321)]=c[i(321)][i(498)](p)}return c}[yr(300)](t,e){const i=yr;for(let n=0;n<t[i(489)];n++)for(const[r,s]of e)s[i(534)][i(283)](t[n][i(287)])&&t[n][i(456)][i(508)](r),s[i(376)][i(283)](t[n][i(512)])&&t[n][i(572)][i(508)](r)}[yr(564)](t,e){const i=yr;let n=[],r=0,s=0;for(;r<t[i(489)]||s<e[i(489)];){const o=t[r]||{},a=e[s]||{};if(o.id==a.id)r++,s++,n[i(508)](o);else if(a[i(298)]&&o[i(250)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(362)](t,r,e,s);n=n[i(498)](o),r=a,s=c}else a[i(298)]?(s++,n[i(508)](a)):(r++,n[i(508)](o))}return n}[yr(492)](t,e){const i=yr,n=[];for(let o=0;o<t[i(489)];o++){for(let s=0;s<t[o][i(456)][i(489)];s++){const a=t[o][i(456)][s];if(!e[i(359)](a))continue;const{group:c,type:u,authorId:l}=r(a);i(516)!=c||i(453)!=u&&i(374)!=u||(n[i(343)]({type:u,name:a,userId:l}),t[o][i(456)][i(468)](s,1),s--)}s(t[o]);for(let s=0;s<t[o][i(572)][i(489)];s++){const a=t[o][i(572)][s];if(!e[i(359)](a))continue;const{group:c,type:u}=r(a);if(i(516)!=c||i(453)!=u&&i(374)!=u)continue;t[o][i(572)][i(468)](s,1),s--;const l=n[i(354)]((t=>t[i(337)]==a));l>-1&&n[i(468)](l,1)}}function r(t){const e=i,n=t[e(429)](":");return{group:n[0],type:n[1],subType:n[e(489)]>=5?n[2]:null,id:n[e(489)]<5?n[2]:n[3],authorId:n[e(489)]<5?n[3]:n[4],markerCount:6==n[e(489)]?n[5]:null}}function s(t){const e=i;for(let i=0;i<n[e(489)];i++){if(t[e(250)]&&e(453)==n[i][e(361)])return t[e(497)]=n[i],void delete t[e(250)];if(!t[e(250)]&&!t[e(298)]&&e(374)==n[i][e(361)])return void(t[e(425)]=n[i])}}}[yr(244)](t,e){const i=yr;let n=0,r=!1;const s=new Map;for(const o of t)o[e]?r&&(n++,r=!1):(n++,r=!0),s[i(344)](o.id,n);for(let n=0;n<t[i(489)];n++){if(i(298)==e&&t[n][i(250)]||i(250)==e&&t[n][i(298)])continue;if(i(262)==t[n][i(361)]){t[n][i(248)]=0;continue}const r=s[i(247)](t[n][i(421)]),o=s[i(247)](t[n].id);t[n][i(248)]=r-o}}[yr(342)](t,e,i=!1){const n=yr,r=[];let s=this[n(565)][n(505)](t),o=this[n(565)][n(505)](e);for(-1==o&&(o=this[n(565)][n(410)][n(489)],i=!1);s<o;)r[n(508)](this[n(565)][n(380)](s)),s++;return i&&r[n(508)](this[n(565)][n(380)](s)),r}[yr(362)](t,e,i,n){const r=yr,s=this[r(383)][r(319)][r(568)];let o=e;for(;t[o]&&t[o][r(250)];)o++;let a=n;for(;i[a]&&i[a][r(298)];)a++;u(t,e,o),u(i,n,a);const c=i[r(278)](n,a)[r(498)](t[r(278)](e,o));return c[r(385)](((t,e)=>t[r(308)]!=e[r(308)]?t[r(308)]-e[r(308)]:t[r(526)]!=e[r(526)]?t[r(526)]-e[r(526)]:t[r(248)]!=e[r(248)]?e[r(248)]-t[r(248)]:!!t[r(250)]!=!!e[r(250)]?-1==t[r(308)]||0==t[r(308)]?t[r(250)]?-1:1:t[r(250)]?1:-1:t[r(452)]-e[r(452)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=r;let o=-1,a=Number[n(242)],c=!0;for(let r=e;r<i;r++)if(s[n(430)](t[r][n(558)])||(c=!1),t[r][n(558)][n(454)]<e&&(o=r),t[r][n(558)][n(336)]>=i){a=r;break}c&&(o=i-1);for(let r=e;r<i;r++)t[r][n(308)]=r<=o?-1:r<a?0:1,t[r][n(452)]=r;let u=0;for(let i=e;i<=o;i++)0==t[i][n(248)]?t[i][n(526)]=u:(u++,t[i][n(526)]=u,u++);for(let r=e;r<i;r++)0==t[r][n(308)]&&(t[r][n(526)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(248)]?t[e][n(526)]=u:(u--,t[e][n(526)]=u,u--)}}[yr(439)](t){const e=yr,i=new Map,n=this[e(383)][e(319)][e(568)];for(let r=1;r<t[e(489)];r++){let s,o,a;const c=t[r],u=t[r-1];if(e(262)==c[e(361)])continue;if(c[e(361)]!=u[e(361)])continue;if(!n[e(280)](u[e(558)])||n[e(284)](u[e(558)]))continue;if(!n[e(280)](c[e(558)])||n[e(284)](c[e(558)]))continue;if((t[r][e(250)]||t[r][e(497)])&&t[r-1][e(298)])s=t[r],o=t[r-1],a=r-1;else{if(!t[r][e(298)]||!t[r-1][e(250)]&&!t[r-1][e(497)])continue;s=t[r-1],o=t[r],a=r}const l=s[e(526)]==o[e(526)],h=Math[e(562)](s[e(526)])<Math[e(562)](o[e(526)])&&0==o[e(248)];(l||h)&&(i[e(344)](o.id,s.id),t[e(468)](a,1),r--,s[e(250)]=!1)}for(let n=0;n<t[e(489)];n++)i[e(359)](t[n][e(421)])&&(t[n][e(421)]=i[e(247)](t[n][e(421)]))}[yr(444)](t){const e=yr,i=new Set(t[e(574)]((t=>t.id)));for(let n=0;n<t[e(489)];n++)i[e(359)](t[n][e(421)])||0==t[n][e(248)]||(t[n][e(428)]=!0);return t[e(484)]((t=>!t[e(428)]))}[yr(411)](t){const e=yr,i=new Set;for(let n=0;n<t[e(489)];n++){if(i[e(359)](t[n].id)&&t[n][e(298)]&&(t[n][e(428)]=!0),t[n][e(428)])continue;if(0==t[n][e(248)])continue;if(e(341)!=t[n][e(361)])continue;if(null==t[n][e(421)])continue;let r=n+1,s=0;for(;t[r].id!=t[n][e(421)];)e(341)==t[r][e(361)]?s++:e(369)==t[r][e(361)]&&s--,r++;if(0!=s)if(t[n][e(298)])t[n][e(428)]=!0;else for(;r!=n;)t[r][e(298)]&&0!=t[r][e(248)]&&(t[r][e(428)]=!0,i[e(404)](t[r][e(421)])),r--}return t[e(484)]((t=>!t[e(428)]))}[yr(416)](t){const e=yr,i=this[e(383)][e(319)][e(568)];for(let n=0;n<t[e(489)];n++){if(!(t[n][e(250)]||t[n][e(497)]||t[n][e(298)]||t[n][e(425)]))continue;if(0==t[n][e(248)])continue;const r=t[n][e(558)];i[e(280)](r)||i[e(284)](r)||(t[n][e(250)]&&delete t[n][e(250)],t[n][e(497)]&&delete t[n][e(497)],t[n][e(425)]&&delete t[n][e(425)],t[n][e(298)]&&(t[n][e(428)]=!0))}return t[e(484)]((t=>!t[e(428)]))}[yr(561)](t,e,i){const n=yr,r=new Yi.DocumentFragment,s=[],o=new Map,a=this[n(383)][n(319)],c=a[n(568)],u=[r],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(489)];e++)if(n(341)===t[e][n(361)]){t[e][n(287)]=a[n(255)](r,f);const i=new Yi.Element(t[e][n(558)][n(337)],t[e][n(558)][n(363)]());u[0][n(387)](i),f[n(508)](0),u[n(343)](i),t[e][n(512)]=a[n(255)](r,f)}else n(369)===t[e][n(361)]?(u[n(339)](),t[e][n(287)]=a[n(255)](r,f),f[n(466)](),f[f[n(489)]-1]++,t[e][n(512)]=a[n(255)](r,f)):(t[e][n(287)]=a[n(255)](r,f),d?d[n(493)]+=t[e][n(558)][n(485)]:d=new Yi.Text(t[e][n(558)][n(485)],t[e][n(558)][n(363)]()),t[e+1]&&n(262)===t[e+1][n(361)]&&v(d,t[e+1][n(558)])||(u[0][n(387)](d),d=null),f[f[n(489)]-1]+=t[e][n(558)][n(511)],t[e][n(512)]=a[n(255)](r,f));for(let e=0;e<t[n(489)];e++){const i=t[e][n(287)],r=t[e][n(512)];for(const r of t[e][n(456)])o[n(344)](r,{start:i,end:null});m(n(425),e,i,r),m(n(497),e,i,r),m(n(298),e,i,r),m(n(250),e,i,r);for(const i of t[e][n(572)])o[n(247)](i)[n(376)]=r}for(const[t,e]of o){const i=this[n(383)][n(319)][n(438)](e[n(534)],e[n(376)]);r[n(502)][n(344)](t,i)}return s[n(385)](((t,e)=>{const i=n,s=r[i(502)][i(247)](i(405)+t.id),o=r[i(502)][i(247)](i(405)+e.id);return s[i(534)][i(573)](o[i(534)])?-1:s[i(534)][i(253)](o[i(534)])?1:s[i(376)][i(573)](o[i(376)])?-1:s[i(376)][i(253)](o[i(376)])?1:i(404)===t[i(361)]?-1:1})),{root:r,changes:s};function m(e,i,r,s){const o=n,a=!!t[i][e],u=a?t[i][e][o(455)]:null,d=i===t[o(489)]-1,f=h[e][0],m=c[o(403)](t[i][o(558)]);!l[e]&&a?l[e]={start:r,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(376)]=r,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(455)]!==u&&(l[e][o(376)]=r,f&&f[o(455)]===l[e][o(455)]||p(l[e]),l[e]={start:r,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(341)!==t[i][o(361)]||f&&f[o(455)]===u||h[e][o(343)]({userId:u,object:t[i][o(558)],change:l[e]}),o(369)===t[i][o(361)]&&f&&f[o(424)]===t[i][o(558)]&&(h[e][o(339)](),l[e]=f[o(446)])),l[e]&&d&&(l[e][o(376)]=s,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(558)],f=a[h(568)][h(280)](d)&&!a[h(568)][h(284)](d),m=t[h(550)]==o[h(295)]&&o[h(314)];if(f&&m)return;const p=a[h(438)](t,o),v=e[h(247)](u),y=new cr({author:v,type:h(250)==l||h(497)==l?h(404):h(275),data:{isSuggestion:h(497)==l||h(425)==l},createdAt:new Date,rootName:i});s[h(508)](y),r[h(502)][h(344)](h(405)+y.id,p)}function v(t,e){const i=n,r=t[i(363)](),s=e[i(363)]();for(const t of r){if(t[1]!==e[i(266)](t[0]))return!1;s[i(449)]()}return s[i(449)]()[i(249)]}}[yr(433)](){const t=yr;this[t(383)][t(549)][t(272)](t(401))[t(399)]({view:t(520)}),this[t(383)][t(549)][t(272)](t(310))[t(366)]({model:t(520),view:e=>{const i=t,n=e[i(513)][i(429)](":")[1],r=this[i(418)](n);if(!r)return null;const s=i(404)==r[i(361)]?i(453):i(374),o=[i(552),i(327)+s];return r[i(485)][i(267)]&&o[i(508)](i(327)+s+i(463)),this[i(378)]==r&&o[i(508)](i(303)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(383)][t(549)][t(272)](t(401))[t(404)]((e=>{const i=t;e.on(i(270),((t,e,n)=>{const r=i,s=e[r(375)][r(261)](0);if(!s||!s.is(r(554),r(395)))return;if(!n[r(442)][r(467)](s,{attributes:[r(575),r(290)]}))return;const o=e[r(391)][r(534)][r(550)];n[r(335)][r(412)](r(575),s[r(266)](r(575)),o),n[r(335)][r(412)](r(290),s[r(266)](r(290)),o)}),{priority:i(352)})})),this[t(383)][t(549)][t(272)](t(401))[t(404)]((e=>{const i=t;e.on(i(554),((t,e,n)=>{const r=i;if(!n[r(442)][r(467)](e[r(375)],{attributes:[r(575),r(290)]}))return;if(e[r(391)][r(556)])return;const s=e[r(391)][r(534)][r(550)];s[r(246)](r(575))||s[r(246)](r(459))||(n[r(335)][r(412)](r(575),e[r(375)][r(266)](r(575)),s),n[r(335)][r(412)](r(290),e[r(375)][r(266)](r(290)),s))}),{priority:i(352)})})),this[t(383)][t(549)][t(272)](t(401))[t(523)]({view:{name:t(441),attributes:{vid:!0}},model:{key:t(459),value:e=>e[t(266)](t(459))}}),this[t(383)][t(319)][t(568)].on(t(311),((e,[,i])=>{const n=t;[n(575),n(290),n(459)][n(542)](i)&&(e[n(258)]=!0,e[n(496)]())}),{priority:t(566)}),this[t(383)][t(549)][t(272)](t(514))[t(404)]((e=>{const i=t;e.on(i(538),((t,e,n)=>{const r=i;if(" "!=e[r(558)][r(485)]||e[r(558)][r(295)][r(427)]>1)return;if(!n[r(442)][r(467)](e[r(558)],t[r(337)]))return;const s=n[r(335)],o=n[r(445)][r(351)](e[r(241)]);s[r(294)](o,s[r(355)](r(441)))}))})),this[t(383)][t(549)][t(272)](t(514))[t(420)]({model:t(520)}),this[t(383)][t(437)][t(350)].on(t(571),function(e){const i=t,n=e[i(331)][i(247)](i(500));return(t,r,s)=>{const o=i,a=r[o(513)][o(429)](":")[1],c=n[o(418)](a);if(!c)return null;const u=o(404)==c[o(361)]?o(429):o(296);if(!s[o(442)][o(397)](r[o(338)],t[o(337)]))return;const l=r[o(338)][o(252)](),h=r[o(338)][o(534)],d=e[o(319)][o(568)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(558)];p=p||d[o(264)](e);const i=s[o(445)][o(348)](e);if(i&&i[o(539)](o(491)))return;o(369)==t[o(361)]&&d[o(280)](e)&&!d[o(284)](e)&&(e[o(325)]||h[o(259)]?f&&f[o(295)]==e||(f=e,y(t[o(287)]),v=!0):m=m||t[o(287)])}function y(t){const e=o,i=s[e(335)][e(349)](e(441),{class:e(327)+u}),a=s[e(445)][e(392)](t);c[e(485)][e(267)]&&s[e(335)][e(525)](e(327)+u+e(463),i),n[e(378)]==c&&s[e(335)][e(525)](e(303),i),s[e(335)][e(540)](a,i),s[e(445)][e(482)](i,r[e(513)])}p||v||!m||y(m)}}(this[t(383)]),{priority:t(431)}),this[t(383)][t(437)][t(350)].on(t(532),((e,i,n)=>{const r=t,s=n[r(445)][r(333)](i[r(513)]);if(s)for(const t of s)(t[r(324)](r(388))||t[r(324)](r(288)))&&(n[r(445)][r(396)](t,i[r(513)]),n[r(335)][r(275)](t))}),{priority:t(431)}),this[t(383)][t(437)][t(350)].on(t(571),((e,i,n)=>{const r=t,s=i[r(513)][r(429)](":")[1],o=this[r(418)](s);if(!o)return null;const a=r(404)==o[r(361)]?r(429):r(296);if(n[r(442)][r(397)](i[r(338)],e[r(337)]))for(const t of i[r(338)][r(279)]()){if(!t.is(r(554),r(346)))continue;const e=n[r(335)][r(349)](r(441),{class:r(327)+a}),s=n[r(445)][r(392)](this[r(383)][r(319)][r(461)](t));o[r(485)][r(267)]&&n[r(335)][r(525)](r(327)+a+r(463),e),this[r(378)]==o&&n[r(335)][r(525)](r(303),e),n[r(335)][r(540)](s,e),n[r(445)][r(482)](e,i[r(513)])}}),{priority:t(431)}),this[t(383)][t(319)][t(291)].on(t(446),(()=>{const e=t;this[e(383)][e(437)][e(393)][e(446)]((t=>{const i=e;for(const e of this[i(383)][i(319)][i(291)][i(390)]()){const n=this[i(383)][i(319)][i(291)][i(448)](e),r=this[i(383)][i(437)][i(393)][i(291)][i(448)](e);if(r){const e=n[i(266)](i(315));if(t[i(417)](i(548),r),t[i(398)](i(281),r),t[i(398)](i(365),r),t[i(398)](i(402),r),e){const n=this[i(418)](e);if(!n)return null;t[i(412)](i(548),e,r),t[i(525)](i(371)+n[i(361)],r),this[i(378)]==n&&t[i(525)](i(402),r)}}}}))})),this[t(383)][t(549)][t(272)](t(401))[t(399)]({view:t(407),model:e=>t(528)+e,converterPriority:t(566)}),this[t(383)][t(549)][t(272)](t(401))[t(399)]({view:t(570),model:e=>t(406)+e,converterPriority:t(566)}),this[t(383)][t(549)][t(272)](t(514))[t(420)]({model:t(516),view:e=>({name:t(537)+e,group:t(516)}),converterPriority:t(566)}),this[t(383)][t(549)][t(272)](t(310))[t(366)]({model:t(516),view:e=>{const i=t,n=e[i(513)][i(429)](":")[1];return i(453)!=n&&i(374)!=n?null:{classes:[i(527),i(320)+n]}}}),this[t(383)][t(437)][t(350)].on(t(277),br(this[t(383)],t(296)),{priority:t(431)}),this[t(383)][t(437)][t(350)].on(t(462),br(this[t(383)],t(429)),{priority:t(431)}),this[t(383)][t(437)][t(350)].on(t(373),((e,i,n)=>{const r=t,s=n[r(445)][r(333)](i[r(513)]);if(s)for(const t of s)t.is(r(273))&&(n[r(445)][r(396)](t,i[r(513)]),n[r(335)][r(275)](t))}),{priority:t(431)})}[yr(418)](t){const e=yr;return this[e(394)][e(247)](t)}[yr(400)](t){const e=yr;return this[e(309)]&&this[e(309)][e(451)](),this[e(309)]=new sr(this[e(383)][e(268)],t),this[e(309)]}[yr(577)](){const t=yr;this[t(383)][t(319)][t(291)][t(545)][t(318)](t(520)),this.on(t(326),((e,i,n,r)=>{const s=t;r&&this[s(536)][s(275)](r),n&&(this[s(536)][s(404)]({view:n,stackId:s(299),position:{target:()=>{const t=s,e=this[t(383)][t(437)],i=this[t(418)](n[t(559)]);let r;if(i[t(485)][t(372)]){const n=e[t(393)][t(473)](i[t(285)]);r=Array[t(353)](n[t(347)]())}else{const i=this[t(383)][t(319)][t(502)][t(247)](t(405)+n[t(559)]);r=Array[t(353)](e[t(445)][t(333)](i[t(337)]))[t(574)]((i=>e[t(393)][t(377)][t(435)](i)))[t(574)]((e=>Array[t(353)](e[t(347)]())))[t(286)]()}return this[t(560)]&&r[t(487)]((e=>e[t(464)]-3<=this[t(560)].y&&e[t(557)]+3>=this[t(560)].y&&e[t(282)]-3<=this[t(560)].x&&e[t(329)]+3>=this[t(560)].x))||r[0]}}}),this[s(536)][s(334)](s(299)))})),this.on(t(434),((e,i,n,r)=>{const s=t;this[s(510)]=n?this[s(400)](n):null,this[s(383)][s(319)][s(446)]((()=>{const t=s,e=this[t(383)][t(437)];r&&(r[t(485)][t(372)]?e[t(393)][t(446)]((i=>{const n=t;i[n(398)](n(402),e[n(393)][n(291)][n(448)](r[n(285)]))})):e[t(501)](t(405)+r.id)),n&&(n[t(485)][t(372)]?e[t(393)][t(446)]((i=>{const r=t;i[r(525)](r(402),e[r(393)][r(291)][r(448)](n[r(285)]))})):e[t(501)](t(405)+n.id))}))})),this[t(460)](this[t(383)][t(437)][t(393)][t(291)],t(443),((e,i)=>{const n=t;if(this[n(378)])return;const r=this[n(567)](i[n(471)]),s=this[n(394)][n(247)](r);s?(this[n(560)]={x:i[n(541)].x,y:i[n(541)].y},this[n(510)]=this[n(400)](s)):(this[n(560)]=null,this[n(510)]=null)})),this[t(460)](this[t(383)][t(437)][t(393)][t(291)],t(475),((e,i)=>{const n=t,r=this[n(567)](i[n(471)]),s=this[n(394)][n(247)](r);s?(this[n(560)]={x:i[n(541)].x,y:i[n(541)].y},s===this[n(378)]?this[n(536)][n(356)]():this[n(378)]=s):(this[n(560)]=null,this[n(378)]=null)}))}[yr(567)](t){const e=yr;do{const i=t[e(266)](e(548));if(i)return i;t=t[e(295)]}while(t);return null}[yr(530)](){const t=yr;this[t(383)][t(319)][t(446)]((e=>{const i=t;for(const t of this[i(383)][i(319)][i(502)])e[i(547)](t)}))}}function br(t,e){return(i,n,r)=>{const s=wr;if(!r[s(442)][s(397)](n[s(338)],i[s(337)]))return;const o=n[s(338)][s(252)](),a=n[s(338)][s(534)],c=t[s(319)][s(568)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[s(558)];h=h||c[s(264)](e);const i=r[s(445)][s(348)](e);if(i&&i[s(539)](s(491)))return;s(369)==t[s(361)]&&c[s(280)](e)&&!c[s(284)](e)&&(e[s(325)]||a[s(259)]?u&&u[s(295)]==e||(u=e,f(t[s(287)]),d=!0):l=l||t[s(287)])}function f(t){const i=s,o=r[i(445)][i(392)](t),a=r[i(335)][i(349)](i(441),{class:i(320)+e});r[i(335)][i(540)](o,a),r[i(445)][i(482)](a,n[i(513)])}h||d||!l||f(l)}}function wr(t,e){const i=vr();return(wr=function(t,e){return i[t-=241]})(t,e)}class _r extends qi.Command{constructor(t){const e=yr;super(t);const i=t[e(331)][e(247)](kr);this[e(419)]=!1,this[e(460)](i,e(289),(()=>this[e(499)]())),this[e(460)](i,e(368),(()=>this[e(499)]()))}[yr(306)](){const t=yr,e=this[t(383)],i=e[t(331)][t(247)](kr),n=i[t(265)]?i[t(503)][t(515)]:null;e[t(521)][t(247)](t(529))[t(436)](n)}[yr(499)](){const t=yr,{isReady:e,isEnabled:i,repository:n,diff:r}=this[t(383)][t(331)][t(247)](kr),s=r&&n[t(546)](r[t(515)]);this[t(488)]=e&&i&&Boolean(s)}}class Ir extends qi.Command{constructor(t,{direction:e}){const i=yr;super(t);const n=t[i(331)][i(247)](kr);this[i(419)]=!1,this[i(517)]=i(382)===e?1:-1,this[i(460)](n,i(289),(()=>this[i(499)]())),this[i(460)](n,i(368),(()=>this[i(499)]())),this[i(460)](n,i(434),(()=>this[i(499)]()))}[yr(306)](){const e=yr,i=this[e(383)],n=i[e(331)][e(247)](kr),{isNavigationMode:r,currentChangeNumber:s}=n;let o;if(n[e(378)]=r?n[e(503)][e(321)][e(247)](s+this[e(517)]):n[e(503)][e(321)][e(535)],n[e(378)][e(485)][e(372)])o=i[e(437)][e(393)][e(473)](n[e(378)][e(285)]);else{const t=i[e(319)][e(502)][e(247)](e(405)+n[e(378)].id);o=(0,Bi.getMarkerDomElement)(i[e(437)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[yr(499)](){const t=yr,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:r,isEnabled:s}=this[t(383)][t(331)][t(247)](kr);this[t(488)]=!!(s&&r&&n)&&(!e||(1===this[t(517)]?i<n-1:i>0))}}var Sr=i(528),xr={attributes:{"data-cke":!0}};xr.setAttributes=Wn(),xr.insert=Pn().bind(null,"head"),xr.domAPI=Fn(),xr.insertStyleElement=Un();Cn()(Sr.A,xr);Sr.A&&Sr.A.locals&&Sr.A.locals;function Or(t,e){const i=Nr();return(Or=function(t,e){return i[t-=304]})(t,e)}!function(t){const e=Or,i=t();for(;;)try{if(821003===-parseInt(e(346))/1+parseInt(e(329))/2+-parseInt(e(334))/3+-parseInt(e(336))/4*(-parseInt(e(330))/5)+parseInt(e(328))/6*(parseInt(e(307))/7)+-parseInt(e(341))/8*(parseInt(e(321))/9)+-parseInt(e(347))/10*(-parseInt(e(316))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Nr);class Tr extends En.View{constructor(t){const e=Or;super(t);const i=this[e(319)],n=new En.ButtonView(t),r=new En.ButtonView(t);this[e(326)](e(304),!1),this[e(326)](e(305),!1),this[e(326)](e(340),0),this[e(326)](e(311),0),this[e(326)](e(308),!1),this[e(326)](e(306),!1),this[e(309)](e(327)).to(this,e(305),this,e(311),((t,e)=>t&&e>0)),this[e(309)](e(337)).to(this,e(305),this,e(340),this,e(311),this,e(304),((i,n,r,s)=>{const o=e;if(!i)return Xi(t,o(335));if(!r)return Xi(t,o(339));const a=Xi(t,o(323),r);return s?Xi(t,o(310),[n+1,r]):a})),n[e(326)]({label:Xi(t,e(313)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 14.494a.75.75 0 0 0 1.197-.899l-.067-.089-6.992-8a.75.75 0 0 0-1.05-.078l-.079.078-7.008 8a.75.75 0 0 0 1.049 1.066l.08-.078 6.442-7.354 6.428 7.354z"/></svg>\n'}),r[e(326)]({label:Xi(t,e(325)),tooltip:!0,icon:'<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M16.435 5.506a.75.75 0 0 1 1.197.899l-.067.089-6.992 8a.75.75 0 0 1-1.05.078l-.079-.078-7.008-8a.75.75 0 0 1 1.049-1.066l.08.078 6.442 7.354 6.428-7.354z"/></svg>\n'}),n[e(309)](e(324)).to(this,e(306)),r[e(309)](e(324)).to(this,e(308)),n.on(e(312),(()=>this[e(315)](e(312),e(332)))),r.on(e(312),(()=>this[e(315)](e(312),e(320)))),this[e(333)]({tag:e(331),attributes:{class:["ck",e(343),e(338)]},children:[{tag:e(342),attributes:{class:[e(318)]},children:[{tag:e(342),attributes:{class:[e(344),i.if(e(327),e(322),(t=>!t))]},children:[{text:i.to(e(304),(i=>i?Xi(t,e(345))+": ":Xi(t,e(317))+": "))}]},{text:i.to(e(337))}]},new En.ToolbarSeparatorView,{tag:e(331),attributes:{class:[e(314)]},children:[n,r]}]})}}function Nr(){const t=["execute","Show previous change","ck-revision-history-ui__changes-navigation__navigation","fire","11SByGpx","Total","ck-revision-history-ui__changes-navigation__wrapper","bindTemplate","forward","99ifjIRm","ck-hidden","NUMBER_OF_CHANGES","isEnabled","Show next change","set","_isStatusLabelVisible","7907496sgqjWr","3167018xrGDVH","685zcTXSq","div","backward","setTemplate","4218600BupJOb","Loading...","12476tBtUEa","_statusText","ck-revision-history-ui__changes-navigation","No changes","currentChangeNumber","198088BQovyG","span","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__label","EDIT_X_OF_Y_REVISIONS","1535661RMoKZg","7065070kGQytj","isNavigationMode","isReady","isBackwardNavigationEnabled","7beqgLZ","isForwardNavigationEnabled","bind","X_OF_Y_CHANGES","numberOfChanges"];return(Nr=function(){return t})()}var Ar=i(560),Rr={attributes:{"data-cke":!0}};Rr.setAttributes=Wn(),Rr.insert=Pn().bind(null,"head"),Rr.domAPI=Fn(),Rr.insertStyleElement=Un();Cn()(Ar.A,Rr);Ar.A&&Ar.A.locals&&Ar.A.locals;const Vr=Mr;function Mr(t,e){const i=Er();return(Mr=function(t,e){return i[t-=166]})(t,e)}function Er(){const t=["hide","editing","231372dOAiNv","1334294IvRFgA","pluginName","addClass","7yjXOju","519345EhRsqJ","view","ck-editor__editable__loading-overlay","RevisionViewerLoadingOverlay","2jFWrIJ","70NFzEKy","show","change","1232733tgtGzp","isOfficialPlugin","2341210XrEhWA","isPremiumPlugin","editor","64wIvAjJ","11xPHSbL","removeClass","document","12AqTTpI","4444158peRyAw","roots","57331pTnrPl"];return(Er=function(){return t})()}!function(t){const e=Mr,i=t();for(;;)try{if(409352===-parseInt(e(190))/1+parseInt(e(174))/2*(parseInt(e(178))/3)+-parseInt(e(193))/4*(parseInt(e(175))/5)+-parseInt(e(188))/6*(-parseInt(e(169))/7)+-parseInt(e(183))/8*(-parseInt(e(170))/9)+-parseInt(e(180))/10*(parseInt(e(184))/11)+-parseInt(e(187))/12*(parseInt(e(166))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Er);const Dr=Vr(172);class Cr extends qi.Plugin{static get[Vr(167)](){return Vr(173)}static get[Vr(179)](){return!0}static get[Vr(181)](){return!0}[Vr(176)](){const t=Vr,e=this[t(182)][t(192)][t(171)];e[t(177)]((i=>{const n=t;for(const t of e[n(186)][n(189)])i[n(168)](Dr,t)}))}[Vr(191)](){const t=Vr,e=this[t(182)][t(192)][t(171)];e[t(177)]((i=>{const n=t;for(const t of e[n(186)][n(189)])i[n(185)](Dr,t)}))}}function jr(t,e){const i=Lr();return(jr=function(t,e){return i[t-=227]})(t,e)}const Fr=jr;function Lr(){const t=["forward","showPreviousChange","componentFactory","showNextChange","2115VCmnbH","show","Restore this revision","2eVgcrQ","get","numberOfChanges","change:isReady","config","6926490ZUtYYT","isReady","requires","44xRETZs","ck-revision-history-ui__back-to-editing","RevisionViewerUI","restoreRevision","currentChangeNumber","changesNavigation","init","pluginName","execute","hide","isEnabled","bind","isForwardNavigationEnabled","1062149eaAYpn","editor","Back to editing","6wkBTRe","listenTo","4725408KLgrMN","exitToEditing","add","3287610NZVNSg","45768kjrYxt","isNavigationMode","commands","1051162QpTBIJ","isPremiumPlugin","plugins","undo","isOfficialPlugin","isBackwardNavigationEnabled","closeRevisionViewerCallback","set","revisionHistory","3745347HSdYSN"];return(Lr=function(){return t})()}!function(t){const e=jr,i=t();for(;;)try{if(749179===-parseInt(e(267))/1+parseInt(e(246))/2*(parseInt(e(238))/3)+parseInt(e(272))/4+parseInt(e(275))/5+-parseInt(e(270))/6*(-parseInt(e(229))/7)+parseInt(e(276))/8*(parseInt(e(243))/9)+parseInt(e(251))/10*(-parseInt(e(254))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lr);class Pr extends qi.Plugin{static get[Fr(261)](){return Fr(256)}static get[Fr(233)](){return!0}static get[Fr(230)](){return!0}static get[Fr(253)](){return[kr,Cr]}[Fr(260)](){const t=Fr,e=this[t(268)],i=e[t(231)][t(247)](kr),n=e[t(231)][t(247)](Cr);e.ui[t(241)][t(274)](t(273),(i=>{const n=t,r=new En.ButtonView(i);return r[n(236)]({label:Xi(i,n(269)),icon:qi.icons[n(232)],withText:!0,tooltip:!0,class:n(255)}),this[n(271)](r,n(262),(()=>{const t=n;e[t(250)][t(247)](t(237))[t(235)]()})),r})),e.ui[t(241)][t(274)](t(257),(i=>{const n=t,r=new En.ButtonView(i);return r[n(236)]({label:Xi(i,n(245)),withText:!0,tooltip:!0}),r[n(265)](n(264)).to(e[n(228)][n(247)](n(257))),this[n(271)](r,n(262),(()=>e[n(262)](n(257)))),r})),e.ui[t(241)][t(274)](t(259),(n=>{const r=t,s=new Tr(n),o=e[r(228)][r(247)](r(240)),a=e[r(228)][r(247)](r(242));return s[r(265)](r(234)).to(o,r(264)),s[r(265)](r(266)).to(a,r(264)),s[r(265)](r(252),r(258),r(248),r(227)).to(i),this[r(271)](s,r(262),((t,i)=>{const n=r;e[n(262)](n(239)===i?n(242):n(240))})),s})),n[t(244)](),i.on(t(249),((e,i,r)=>{const s=t;r?n[s(263)]():n[s(244)]()}))}}var zr=i(329),Wr={attributes:{"data-cke":!0}};Wr.setAttributes=Wn(),Wr.insert=Pn().bind(null,"head"),Wr.domAPI=Fn(),Wr.insertStyleElement=Un();Cn()(zr.A,Wr);zr.A&&zr.A.locals&&zr.A.locals;const Zr=Ur;function Ur(t,e){const i=Hr();return(Ur=function(t,e){return i[t-=156]})(t,e)}function Hr(){const t=["Revision name","span","_tooltipString","491wyIpru","extendTemplate","23276796OKuTct","9sIMppx","input","render","4535652PPtVzc","placeholder","9402uHpGOo","set","fieldView","_resizeObserver","4907kNuqSQ","81705fygfnI","164AbVYEO","5150LScSJp","scrollWidth","bindTemplate","ck-tooltip_multi-line","clientWidth","12341290cGZtYe","_updateTooltipText","11WuzfmY","39BkegHn","value","6709552zuzVpF","Enter the revision name","listenTo","ck-revision-history-sidebar__revision-name","destroy","element"];return(Hr=function(){return t})()}!function(t){const e=Ur,i=t();for(;;)try{if(798281===-parseInt(e(159))/1*(-parseInt(e(174))/2)+parseInt(e(165))/3+parseInt(e(173))/4*(parseInt(e(172))/5)+parseInt(e(167))/6*(parseInt(e(171))/7)+parseInt(e(184))/8*(parseInt(e(162))/9)+-parseInt(e(179))/10*(-parseInt(e(181))/11)+-parseInt(e(161))/12*(parseInt(e(182))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Hr);class $r extends En.LabeledFieldView{constructor(t,e){const i=Ur;super(t,e),this[i(170)]=null;const n=this[i(176)];this[i(168)]({label:Xi(t,i(156)),_tooltipString:""}),this[i(169)][i(166)]=Xi(t,i(185)),this[i(160)]({tag:i(157),attributes:{class:[i(187)],"data-cke-tooltip-text":n.to(i(158)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(177)}})}[Zr(164)](){const e=Zr;super[e(164)](),this[e(170)]=new t.ResizeObserver(this[e(169)][e(189)],(()=>this[e(180)]())),this[e(186)](this[e(169)],e(163),(()=>this[e(180)]()))}[Zr(188)](){const t=Zr;super[t(188)](),this[t(170)]&&this[t(170)][t(188)]()}[Zr(180)](){const t=Zr,e=this[t(169)][t(189)];this[t(158)]=e[t(175)]>e[t(178)]&&e[t(183)]||""}}var qr=i(249),Br={attributes:{"data-cke":!0}};Br.setAttributes=Wn(),Br.insert=Pn().bind(null,"head"),Br.domAPI=Fn(),Br.insertStyleElement=Un();Cn()(qr.A,Br);qr.A&&qr.A.locals&&qr.A.locals;function Yr(t,e){const i=Jr();return(Yr=function(t,e){return i[t-=434]})(t,e)}function Jr(){const t=["29881240uiaBlB","3LPRXOF","Revision author","474BaQlOH","ck-revision-history-sidebar__revision-author_creator","9325421cUKyfA","ck-revision-history-sidebar__revision-author__name","span","set","push","3089032PHOgzd","5246444ikjKdx","ck-revision-history-sidebar__revision-author","307733VmrTzf","Revision creator","1348371SVvcTt","0 0 11 10","105830HNnJjL","setTemplate","6vZiLjL","name"];return(Jr=function(){return t})()}!function(t){const e=Yr,i=t();for(;;)try{if(949351===parseInt(e(443))/1*(-parseInt(e(449))/2)+-parseInt(e(452))/3*(parseInt(e(441))/4)+-parseInt(e(447))/5*(parseInt(e(454))/6)+parseInt(e(435))/7+parseInt(e(440))/8+parseInt(e(445))/9+parseInt(e(451))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jr);class Gr extends En.View{constructor(t,e,i){const n=Yr;super(t);const r=new En.IconView;r[n(438)]({content:'<svg viewBox="0 0 11 10" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><path d="M5.5 5C8.538 5 11 7.015 11 9.5c0 .17-.011.336-.034.5H.034A3.732 3.732 0 0 1 0 9.5C0 7.015 2.462 5 5.5 5zm0-5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5z" /></svg>\n',viewBox:n(446)});const s=["ck",n(442)];i&&s[n(439)](n(434));const o=[{tag:n(437),attributes:{class:["ck",n(436)],title:Xi(t,n(i?444:453))},children:[r,e[n(450)]]}];this[n(448)]({tag:"li",attributes:{class:s},children:o})}}function Kr(){var t=["28040QcWdYB","4xsfQOe","88HcvIZV","883821WUeGnz","numeric","toLocaleTimeString","1243snGewn","4148641NpNqMt","toLocaleDateString","4653290YMWLdr","7EKxEuW","192138FuZGDK","637380VsJqoN","long","1591218mJYIEs"];return(Kr=function(){return t})()}function Qr(t,e){var i=Kr();return(Qr=function(t,e){return i[t-=452]})(t,e)}!function(t){for(var e=Qr,i=t();;)try{if(870550===-parseInt(e(454))/1*(-parseInt(e(455))/2)+parseInt(e(462))/3*(-parseInt(e(460))/4)+-parseInt(e(453))/5+-parseInt(e(458))/6+parseInt(e(466))/7+-parseInt(e(461))/8*(-parseInt(e(456))/9)+-parseInt(e(459))/10*(-parseInt(e(465))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kr);var Xr=i(11),ts={attributes:{"data-cke":!0}};ts.setAttributes=Wn(),ts.insert=Pn().bind(null,"head"),ts.domAPI=Fn(),ts.insertStyleElement=Un();Cn()(Xr.A,ts);Xr.A&&Xr.A.locals&&Xr.A.locals;function es(t,e){const i=is();return(es=function(t,e){return i[t-=309]})(t,e)}function is(){const t=["execute","144BtbMdM","Restore this revision","menu","panelPosition","add","bindTemplate","find","37266930osjmXB","change:isActionsDropdownOpen","isReady","977123YxEmUA","class","listenTo","2451894VobgyM","505256nKoWYV","60505SvNPhr","items","Show more items","source","4576557xDHwmD","first","action","isActionsDropdownOpen","locale","threeVerticalDots","set","10206918KotaZi","name","stopPropagation","1lBvuzA","isOpen","children","Compare against selected","bind","64xzrkIy","buttonView","ck-revision-history-sidebar__revision__actions","button","listView","menuitem","isVisible","model","map","extendTemplate","Name this revision","_action","ck-on","function","isEnabled"];return(is=function(){return t})()}!function(t){const e=es,i=t();for(;;)try{if(828507===parseInt(e(315))/1*(-parseInt(e(349))/2)+-parseInt(e(355))/3+parseInt(e(350))/4+-parseInt(e(351))/5*(parseInt(e(336))/6)+parseInt(e(346))/7*(-parseInt(e(320))/8)+parseInt(e(312))/9+parseInt(e(343))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(is);var ns=i(216),rs={attributes:{"data-cke":!0}};rs.setAttributes=Wn(),rs.insert=Pn().bind(null,"head"),rs.domAPI=Fn(),rs.insertStyleElement=Un();Cn()(ns.A,rs);ns.A&&ns.A.locals&&ns.A.locals;const ss=os;function os(t,e){const i=as();return(os=function(t,e){return i[t-=444]})(t,e)}function as(){const t=["render","extendTemplate","isSelected","div","fire","deselect","uiLanguage","bindTemplate","ck-revision-history-sidebar__revision-authors","bind","60843nQhAWx","isConfirm","map","setName","134FIumNK","_requireRevisionName","length","unshift","span","authors","highlight","fieldView","revisionNameView","ck-revision-history-sidebar__revision__controls-wrapper","46532710niCAKm","_createdAtFormatted","324882ALAxRl","revisionActionsView","ck-revision-history-sidebar__actions_dropdown_open","ck-reset","closest","7035184bjdDDo",".ck-thread__remove-confirm","createdAt","16052IFYPDv","ck-revision-history-sidebar__revision-wrapper","203kmJQxL","from","1037862JRbdNZ","ck-revision-history-sidebar__revision__date","creator","2305kKWPFi","filter","select","listenTo","220","ck-revision-history-sidebar__revision_highlighted","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isEnabled","srcElement","unhighlight","isHighlighted","1653443nTQbOD","setTemplate","ck-disabled","change","ck-revision-history-sidebar__revision_selected","set","_revision","value","isReady","element","name","isActionsDropdownOpen"];return(as=function(){return t})()}!function(t){const e=os,i=t();for(;;)try{if(926015===-parseInt(e(506))/1+-parseInt(e(467))/2*(parseInt(e(463))/3)+parseInt(e(487))/4*(parseInt(e(494))/5)+-parseInt(e(479))/6*(parseInt(e(489))/7)+-parseInt(e(484))/8+-parseInt(e(491))/9+parseInt(e(477))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(as);class cs extends((0,Bi.ConfirmMixin)(En.View)){constructor(e,i,n,r){const s=os;super(e);const o=this[s(460)],a=function(t,e){const i=s,n=Array[i(490)](e[i(472)])[i(495)]((t=>t!=e[i(493)]));return e[i(493)]&&n[i(470)](e[i(493)]),n[i(465)]((n=>new Gr(t,n,n==e[i(493)])))}(e,i);this.id=i.id,this[s(447)]=i,this[s(468)]=r,this[s(462)](s(451),s(486)).to(i),this[s(462)](s(478)).to(this,s(486),(t=>{return i=e[s(459)],(n=t)[(r=Qr)(452)](i,{month:r(457),day:r(463)})+", "+n[r(464)](i,{hour:r(463),minute:r(463)});var i,n,r})),this[s(446)](s(455),!1),this[s(446)](s(505),!1),this[s(446)](s(452),!1),this[s(446)](s(449),!1),this[s(446)](s(502),!1),this[s(475)]=new $r(e,En.createLabeledInputText),this[s(475)][s(474)][s(454)]({attributes:{maxlength:s(498)}}),this[s(475)][s(474)][s(462)](s(448)).to(this,s(451),(t=>t||this[s(478)])),this[s(475)][s(462)](s(502)).to(this,s(455),this,s(502),((t,e)=>t&&e)),this[s(480)]=n&&n[s(469)]?function(e,i){const n=es,r=e[n(341)],s=e[n(309)],o=(0,En.createDropdown)(s);o[n(339)]="sw";const a=function(e,i){const r=n,s=function(t,e){const i=es,n=t[i(309)],r={"Compare against selected":Xi(n,i(318)),"Name this revision":Xi(n,i(330)),"Restore this revision":Xi(n,i(337))};return e[i(328)]((t=>{const e=i,n=r[t[e(313)]];return n&&n!==t[e(313)]&&(t[e(313)]=n),t}))}(e,i),o=new t.Collection;for(const t of s){const i={type:r(323),model:new En.ViewModel({label:t[r(313)],class:t[r(347)],withText:!0,role:r(325),_action:t[r(357)]})};i[r(327)][r(319)](r(334)).to(e,r(358),(i=>r(333)!=typeof t[r(334)]||!i||t[r(334)](e))),o[r(340)](i)}return o}(e,i);return e[n(319)](n(358)).to(o,n(316)),o[n(321)][n(311)]({label:Xi(s,n(353)),tooltip:!0,tooltipPosition:"sw",icon:qi.icons[n(310)]}),o[n(329)]({attributes:{class:[n(322),r.if(n(358),n(332))]},on:{click:r.to((t=>t[n(314)]()))}}),o.on(n(335),(t=>{const i=n;e[i(345)]&&i(333)==typeof t[i(354)][i(331)]&&t[i(354)][i(331)](e)})),(0,En.addListToDropdown)(o,a,{role:n(338)}),o[n(348)](e,n(344),((t,r,s)=>{const a=n;if(s)for(const t of o[a(324)][a(352)]){const n=t[a(317)][a(356)],r=i[a(342)]((t=>t[a(357)]===n[a(331)]))[a(326)];t[a(326)]=void 0===r||r(e)}})),o}(this,n):"",this[s(480)]&&this[s(480)][s(462)](s(502)).to(this),this[s(507)]({tag:s(456),attributes:{class:["ck",s(482),s(488),o.if(s(464),s(501))]},children:[{tag:s(456),attributes:{class:["ck",s(482),s(500),o.if(s(502),s(508),(t=>!t)),o.if(s(455),s(445)),o.if(s(505),s(499)),o.if(s(452),s(481))]},children:[this[s(475)],{tag:s(471),attributes:{class:["ck",s(492)]},children:[{text:o.to(s(478))}]},{tag:s(456),attributes:{class:["ck",s(476)]},children:[{tag:"ul",attributes:{class:["ck",s(461)]},children:a}]},this[s(480)]],on:{click:o.to((t=>{const e=s;t[e(503)][e(483)](e(485))||this[e(449)]&&this[e(502)]&&this[e(457)](e(496),{id:this.id})}))}}]})}[ss(453)](){const t=ss;super[t(453)]();const e=this[t(475)][t(474)][t(450)];this[t(497)](e,t(444),(()=>{const i=t;this[i(468)]&&!e[i(448)]||this[i(457)](i(466),{id:this.id,name:e[i(448)]}),e[i(448)]||(e[i(448)]=this[i(451)]?this[i(451)]:this[i(478)])}))}[ss(496)](){this[ss(455)]=!0}[ss(458)](){this[ss(455)]=!1}[ss(473)](){this[ss(505)]=!0}[ss(504)](){this[ss(505)]=!1}}class us extends Error{}class ls extends us{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hs extends us{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ds extends us{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class fs extends us{}class ms extends us{constructor(t){super(`Invalid unit ${t}`)}}class ps extends us{}class vs extends us{constructor(){super("Zone is an abstract class")}}const ys="numeric",gs="short",ks="long",bs={year:ys,month:ys,day:ys},ws={year:ys,month:gs,day:ys},_s={year:ys,month:gs,day:ys,weekday:gs},Is={year:ys,month:ks,day:ys},Ss={year:ys,month:ks,day:ys,weekday:ks},xs={hour:ys,minute:ys},Os={hour:ys,minute:ys,second:ys},Ts={hour:ys,minute:ys,second:ys,timeZoneName:gs},Ns={hour:ys,minute:ys,second:ys,timeZoneName:ks},As={hour:ys,minute:ys,hourCycle:"h23"},Rs={hour:ys,minute:ys,second:ys,hourCycle:"h23"},Vs={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:gs},Ms={hour:ys,minute:ys,second:ys,hourCycle:"h23",timeZoneName:ks},Es={year:ys,month:ys,day:ys,hour:ys,minute:ys},Ds={year:ys,month:ys,day:ys,hour:ys,minute:ys,second:ys},Cs={year:ys,month:gs,day:ys,hour:ys,minute:ys},js={year:ys,month:gs,day:ys,hour:ys,minute:ys,second:ys},Fs={year:ys,month:gs,day:ys,weekday:gs,hour:ys,minute:ys},Ls={year:ys,month:ks,day:ys,hour:ys,minute:ys,timeZoneName:gs},Ps={year:ys,month:ks,day:ys,hour:ys,minute:ys,second:ys,timeZoneName:gs},zs={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,timeZoneName:ks},Ws={year:ys,month:ks,day:ys,weekday:ks,hour:ys,minute:ys,second:ys,timeZoneName:ks};class Zs{get type(){throw new vs}get name(){throw new vs}get ianaName(){return this.name}get isUniversal(){throw new vs}offsetName(t,e){throw new vs}formatOffset(t,e){throw new vs}offset(t){throw new vs}equals(t){throw new vs}get isValid(){throw new vs}}let Us=null;class Hs extends Zs{static get instance(){return null===Us&&(Us=new Hs),Us}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $s={};const qs={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Bs={};class Ys extends Zs{static create(t){return Bs[t]||(Bs[t]=new Ys(t)),Bs[t]}static resetCache(){Bs={},$s={}}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=Ys.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ua(t,e,i,this.name)}formatOffset(t,e){return fa(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(n=this.name,$s[n]||($s[n]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$s[n]);var n;let[r,s,o,a,c,u,l]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:r}=i[t],s=qs[e];"era"===e?n[s]=r:Zo(s)||(n[s]=parseInt(r,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),[,r,s,o,a,c,u,l]=n;return[o,r,s,a,c,u,l]}(i,e);"BC"===a&&(r=1-Math.abs(r));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(sa({year:r,month:s,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Js={};let Gs={};function Ks(t,e={}){const i=JSON.stringify([t,e]);let n=Gs[i];return n||(n=new Intl.DateTimeFormat(t,e),Gs[i]=n),n}let Qs={};let Xs={};let to=null;let eo={};function io(t,e,i,n){const r=t.listingMode();return"error"===r?null:"en"===r?i(e):n(e)}class no{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:r,...s}=i;if(!e||Object.keys(s).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=Qs[i];return n||(n=new Intl.NumberFormat(t,e),Qs[i]=n),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ko(this.floor?Math.floor(t):ea(t,3),this.padTo)}}class ro{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&&Ys.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 r={...this.opts};r.timeZone=r.timeZone||n,this.dtf=Ks(e,r)}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 so{constructor(t,e,i){this.opts={style:"long",...i},!e&&$o()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,r=JSON.stringify([t,n]);let s=Xs[r];return s||(s=new Intl.RelativeTimeFormat(t,e),Xs[r]=s),s}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const r={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."]},s=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&s){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${r[t][0]}`;case-1:return i?"yesterday":`last ${r[t][0]}`;case 0:return i?"today":`this ${r[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=r[t],l=n?c?u[1]:u[2]||u[1]:c?r[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 oo={firstDay:1,minimalDays:4,weekend:[6,7]};class ao{static fromOpts(t){return ao.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,r=!1){const s=t||Oo.defaultLocale,o=s||(r?"en-US":to||(to=(new Intl.DateTimeFormat).resolvedOptions().locale,to)),a=e||Oo.defaultNumberingSystem,c=i||Oo.defaultOutputCalendar,u=Jo(n)||Oo.defaultWeekSettings;return new ao(o,a,c,u,s)}static resetCache(){to=null,Gs={},Qs={},Xs={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return ao.create(t,e,i,n)}constructor(t,e,i,n,r){const[s,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=Ks(t).resolvedOptions(),n=t}catch(r){const s=t.substring(0,i);e=Ks(s).resolvedOptions(),n=s}const{numberingSystem:r,calendar:s}=e;return[n,r,s]}}(t);this.locale=s,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=r,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"===new Intl.DateTimeFormat(t.intl).resolvedOptions().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?ao.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Jo(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 io(this,t,ga,(()=>{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=wu.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 io(this,t,_a,(()=>{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=wu.utc(2016,11,13+i);e.push(t(n))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[n][t]}))}meridiems(){return io(this,void 0,(()=>Ia),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[wu.utc(2016,11,13,9),wu.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return io(this,t,Ta,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[wu.utc(-40,1,1),wu.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 no(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ro(t,this.intl,e)}relFormatter(t={}){return new so(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Js[i];return n||(n=new Intl.ListFormat(t,e),Js[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:qo()?function(t){let e=eo[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,eo[t]=e}return e}(this.locale):oo}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 co=null;class uo extends Zs{static get utcInstance(){return null===co&&(co=new uo(0)),co}static instance(t){return 0===t?uo.utcInstance:new uo(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new uo(la(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${fa(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${fa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return fa(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 lo extends Zs{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 ho(t,e){if(Zo(t)||null===t)return e;if(t instanceof Zs)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Hs.instance:"utc"===i||"gmt"===i?uo.utcInstance:uo.parseSpecifier(i)||Ys.create(t)}return Uo(t)?uo.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new lo(t)}const fo={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},mo={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]},po=fo.hanidec.replace(/[\[|\]]/g,"").split("");let vo={};function yo({numberingSystem:t},e=""){const i=t||"latn";return vo[i]||(vo[i]={}),vo[i][e]||(vo[i][e]=new RegExp(`${fo[i]}${e}`)),vo[i][e]}let go,ko=()=>Date.now(),bo="system",wo=null,_o=null,Io=null,So=60,xo=null;class Oo{static get now(){return ko}static set now(t){ko=t}static set defaultZone(t){bo=t}static get defaultZone(){return ho(bo,Hs.instance)}static get defaultLocale(){return wo}static set defaultLocale(t){wo=t}static get defaultNumberingSystem(){return _o}static set defaultNumberingSystem(t){_o=t}static get defaultOutputCalendar(){return Io}static set defaultOutputCalendar(t){Io=t}static get defaultWeekSettings(){return xo}static set defaultWeekSettings(t){xo=Jo(t)}static get twoDigitCutoffYear(){return So}static set twoDigitCutoffYear(t){So=t%100}static get throwOnInvalid(){return go}static set throwOnInvalid(t){go=t}static resetCaches(){ao.resetCache(),Ys.resetCache(),wu.resetCache(),vo={}}}class To{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const No=[0,31,59,90,120,151,181,212,243,273,304,334],Ao=[0,31,60,91,121,152,182,213,244,274,305,335];function Ro(t,e){return new To("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Vo(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const r=n.getUTCDay();return 0===r?7:r}function Mo(t,e,i){return i+(ia(t)?Ao:No)[e-1]}function Eo(t,e){const i=ia(t)?Ao:No,n=i.findIndex((t=>t<e));return{month:n+1,day:e-i[n]}}function Do(t,e){return(t-e+7)%7+1}function Co(t,e=4,i=1){const{year:n,month:r,day:s}=t,o=Mo(n,r,s),a=Do(Vo(n,r,s),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=aa(c,e,i)):u>aa(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...ma(t)}}function jo(t,e=4,i=1){const{weekYear:n,weekNumber:r,weekday:s}=t,o=Do(Vo(n,1,e),i),a=na(n);let c,u=7*r+s-o-7+e;u<1?(c=n-1,u+=na(c)):u>a?(c=n+1,u-=na(n)):c=n;const{month:l,day:h}=Eo(c,u);return{year:c,month:l,day:h,...ma(t)}}function Fo(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:Mo(e,i,n),...ma(t)}}function Lo(t){const{year:e,ordinal:i}=t,{month:n,day:r}=Eo(e,i);return{year:e,month:n,day:r,...ma(t)}}function Po(t,e){if(!Zo(t.localWeekday)||!Zo(t.localWeekNumber)||!Zo(t.localWeekYear)){if(!Zo(t.weekday)||!Zo(t.weekNumber)||!Zo(t.weekYear))throw new fs("Cannot mix locale-based week fields with ISO-based week fields");return Zo(t.localWeekday)||(t.weekday=t.localWeekday),Zo(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Zo(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 zo(t){const e=Ho(t.year),i=Go(t.month,1,12),n=Go(t.day,1,ra(t.year,t.month));return e?i?!n&&Ro("day",t.day):Ro("month",t.month):Ro("year",t.year)}function Wo(t){const{hour:e,minute:i,second:n,millisecond:r}=t,s=Go(e,0,23)||24===e&&0===i&&0===n&&0===r,o=Go(i,0,59),a=Go(n,0,59),c=Go(r,0,999);return s?o?a?!c&&Ro("millisecond",r):Ro("second",n):Ro("minute",i):Ro("hour",e)}function Zo(t){return void 0===t}function Uo(t){return"number"==typeof t}function Ho(t){return"number"==typeof t&&t%1==0}function $o(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function qo(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Bo(t,e,i){if(0!==t.length)return t.reduce(((t,n)=>{const r=[e(n),n];return t&&i(t[0],r[0])===t[0]?t:r}),null)[1]}function Yo(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Jo(t){if(null==t)return null;if("object"!=typeof t)throw new ps("Week settings must be an object");if(!Go(t.firstDay,1,7)||!Go(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!Go(t,1,7))))throw new ps("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Go(t,e,i){return Ho(t)&&t>=e&&t<=i}function Ko(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Qo(t){return Zo(t)||null===t||""===t?void 0:parseInt(t,10)}function Xo(t){return Zo(t)||null===t||""===t?void 0:parseFloat(t)}function ta(t){if(!Zo(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function ea(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function ia(t){return t%4==0&&(t%100!=0||t%400==0)}function na(t){return ia(t)?366:365}function ra(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?ia(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function sa(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 oa(t,e,i){return-Do(Vo(t,1,e),i)+e-1}function aa(t,e=4,i=1){const n=oa(t,e,i),r=oa(t+1,e,i);return(na(t)-n+r)/7}function ca(t){return t>99?t:t>Oo.twoDigitCutoffYear?1900+t:2e3+t}function ua(t,e,i,n=null){const r=new Date(t),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(s.timeZone=n);const o={timeZoneName:e,...s},a=new Intl.DateTimeFormat(i,o).formatToParts(r).find((t=>"timezonename"===t.type.toLowerCase()));return a?a.value:null}function la(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 ha(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ps(`Invalid unit value ${t}`);return e}function da(t,e){const i={};for(const n in t)if(Yo(t,n)){const r=t[n];if(null==r)continue;i[e(n)]=ha(r)}return i}function fa(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),r=t>=0?"+":"-";switch(e){case"short":return`${r}${Ko(i,2)}:${Ko(n,2)}`;case"narrow":return`${r}${i}${n>0?`:${n}`:""}`;case"techie":return`${r}${Ko(i,2)}${Ko(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ma(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const pa=["January","February","March","April","May","June","July","August","September","October","November","December"],va=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ya=["J","F","M","A","M","J","J","A","S","O","N","D"];function ga(t){switch(t){case"narrow":return[...ya];case"short":return[...va];case"long":return[...pa];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 ka=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ba=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],wa=["M","T","W","T","F","S","S"];function _a(t){switch(t){case"narrow":return[...wa];case"short":return[...ba];case"long":return[...ka];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Ia=["AM","PM"],Sa=["Before Christ","Anno Domini"],xa=["BC","AD"],Oa=["B","A"];function Ta(t){switch(t){case"narrow":return[...Oa];case"short":return[...xa];case"long":return[...Sa];default:return null}}function Na(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const Aa={D:bs,DD:ws,DDD:Is,DDDD:Ss,t:xs,tt:Os,ttt:Ts,tttt:Ns,T:As,TT:Rs,TTT:Vs,TTTT:Ms,f:Es,ff:Cs,fff:Ls,ffff:zs,F:Ds,FF:js,FFF:Ps,FFFF:Ws};class Ra{static create(t,e={}){return new Ra(t,e)}static parseFormat(t){let e=null,i="",n=!1;const r=[];for(let s=0;s<t.length;s++){const o=t.charAt(s);"'"===o?(i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&r.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&r.push({literal:n||/^\s+$/.test(i),val:i}),r}static macroTokenToFormatOpts(t){return Aa[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 Ko(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,r=(e,i)=>this.loc.extract(t,e,i),s=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return Ia[t.hour<12?0:1]}(t):r({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return ga(e)[t.month-1]}(t,e):r(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return _a(e)[t.weekday-1]}(t,e):r(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Ra.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return Ta(e)[t.year<0?0:1]}(t,e):r({era:e},"era");return Na(Ra.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 s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({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?r({day:"numeric"},"day"):this.num(t.day);case"dd":return n?r({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?r({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?r({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?r({month:"numeric"},"month"):this.num(t.month);case"MM":return n?r({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?r({year:"numeric"},"year"):this.num(t.year);case"yy":return n?r({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?r({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?r({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=Ra.parseFormat(e),r=n.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return Na(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...r.map(i).filter((t=>t)))))}}const Va=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ma(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function Ea(...t){return e=>t.reduce((([t,i,n],r)=>{const[s,o,a]=r(e,n);return[{...t,...s},o||i,a]}),[{},null,1]).slice(0,2)}function Da(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 Ca(...t){return(e,i)=>{const n={};let r;for(r=0;r<t.length;r++)n[t[r]]=Qo(e[i+r]);return[n,null,i+r]}}const ja=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Fa=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,La=RegExp(`${Fa.source}${`(?:${ja.source}?(?:\\[(${Va.source})\\])?)?`}`),Pa=RegExp(`(?:T${La.source})?`),za=Ca("weekYear","weekNumber","weekDay"),Wa=Ca("year","ordinal"),Za=RegExp(`${Fa.source} ?(?:${ja.source}|(${Va.source}))?`),Ua=RegExp(`(?: ${Za.source})?`);function Ha(t,e,i){const n=t[e];return Zo(n)?i:Qo(n)}function $a(t,e){return[{hours:Ha(t,e,0),minutes:Ha(t,e+1,0),seconds:Ha(t,e+2,0),milliseconds:ta(t[e+3])},null,e+4]}function qa(t,e){const i=!t[e]&&!t[e+1],n=la(t[e+1],t[e+2]);return[{},i?null:uo.instance(n),e+3]}function Ba(t,e){return[{},t[e]?Ys.create(t[e]):null,e+1]}const Ya=RegExp(`^T?${Fa.source}$`),Ja=/^-?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 Ga(t){const[e,i,n,r,s,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(Xo(i)),months:d(Xo(n)),weeks:d(Xo(r)),days:d(Xo(s)),hours:d(Xo(o)),minutes:d(Xo(a)),seconds:d(Xo(c),"-0"===c),milliseconds:d(ta(u),h)}]}const Ka={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Qa(t,e,i,n,r,s,o){const a={year:2===e.length?ca(Qo(e)):Qo(e),month:va.indexOf(i)+1,day:Qo(n),hour:Qo(r),minute:Qo(s)};return o&&(a.second=Qo(o)),t&&(a.weekday=t.length>3?ka.indexOf(t)+1:ba.indexOf(t)+1),a}const Xa=/^(?:(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 tc(t){const[,e,i,n,r,s,o,a,c,u,l,h]=t,d=Qa(e,r,n,i,s,o,a);let f;return f=c?Ka[c]:u?0:la(l,h),[d,new uo(f)]}const ec=/^(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$/,ic=/^(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$/,nc=/^(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 rc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,r,n,i,s,o,a),uo.utcInstance]}function sc(t){const[,e,i,n,r,s,o,a]=t;return[Qa(e,a,i,n,r,s,o),uo.utcInstance]}const oc=Ma(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Pa),ac=Ma(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Pa),cc=Ma(/(\d{4})-?(\d{3})/,Pa),uc=Ma(La),lc=Ea((function(t,e){return[{year:Ha(t,e),month:Ha(t,e+1,1),day:Ha(t,e+2,1)},null,e+3]}),$a,qa,Ba),hc=Ea(za,$a,qa,Ba),dc=Ea(Wa,$a,qa,Ba),fc=Ea($a,qa,Ba);const mc=Ea($a);const pc=Ma(/(\d{4})-(\d\d)-(\d\d)/,Ua),vc=Ma(Za),yc=Ea($a,qa,Ba);const gc="Invalid Duration",kc={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}},bc={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},...kc},wc=365.2425,_c=30.436875,Ic={years:{quarters:4,months:12,weeks:52.1775,days:wc,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:_c,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...kc},Sc=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],xc=Sc.slice(0).reverse();function Oc(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 Ac(n)}function Tc(t,e){let i=e.milliseconds??0;for(const n of xc.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function Nc(t,e){const i=Tc(t,e)<0?-1:1;Sc.reduceRight(((n,r)=>{if(Zo(e[r]))return n;if(n){const s=e[n]*i,o=t[r][n],a=Math.floor(s/o);e[r]+=a*i,e[n]-=a*o*i}return r}),null),Sc.reduce(((i,n)=>{if(Zo(e[n]))return i;if(i){const r=e[i]%1;e[i]-=r,e[n]+=r*t[i][n]}return n}),null)}class Ac{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?Ic:bc;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ao.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Ac.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ps("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Ac({values:da(t,Ac.normalizeUnit),loc:ao.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Uo(t))return Ac.fromMillis(t);if(Ac.isDuration(t))return t;if("object"==typeof t)return Ac.fromObject(t);throw new ps(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Da(t,[Ja,Ga])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Da(t,[Ya,mc])}(t);return i?Ac.fromObject(i,e):Ac.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the Duration is invalid");const i=t instanceof To?t:new To(t,e);if(Oo.throwOnInvalid)throw new ds(i);return new Ac({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 ms(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?Ra.create(this.loc,i).formatDurationFromString(this,t):gc}toHuman(t={}){if(!this.isValid)return gc;const e=Sc.map((e=>{const i=this.values[e];return Zo(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+=ea(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 wu.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?Tc(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Ac.fromDurationLike(t),i={};for(const t of Sc)(Yo(e.values,t)||Yo(this.values,t))&&(i[t]=e.get(t)+this.get(t));return Oc(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Ac.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]=ha(t(this.values[i],i));return Oc(this,{values:e},!0)}get(t){return this[Ac.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return Oc(this,{values:{...this.values,...da(t,Ac.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return Oc(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 Nc(this.matrix,t),Oc(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return Oc(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=>Ac.normalizeUnit(t)));const e={},i={},n=this.toObject();let r;for(const s of Sc)if(t.indexOf(s)>=0){r=s;let t=0;for(const e in i)t+=this.matrix[e][s]*i[e],i[e]=0;Uo(n[s])&&(t+=n[s]);const o=Math.trunc(t);e[s]=o,i[s]=(1e3*t-1e3*o)/1e3}else Uo(n[s])&&(i[s]=n[s]);for(const t in i)0!==i[t]&&(e[r]+=t===r?i[t]:i[t]/this.matrix[r][t]);return Nc(this.matrix,e),Oc(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 Oc(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 n of Sc)if(e=this.values[n],i=t.values[n],!(void 0===e||0===e?void 0===i||0===i:e===i))return!1;var e,i;return!0}}const Rc="Invalid Interval";class Vc{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 ps("need to specify a reason the Interval is invalid");const i=t instanceof To?t:new To(t,e);if(Oo.throwOnInvalid)throw new hs(i);return new Vc({invalid:i})}static fromDateTimes(t,e){const i=_u(t),n=_u(e),r=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Vc.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:Vc.invalid("missing or invalid end"):Vc.invalid("missing or invalid start")}(i,n);return null==r?new Vc({start:i,end:n}):r}static after(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Vc.fromDateTimes(n,n.plus(i))}static before(t,e){const i=Ac.fromDurationLike(e),n=_u(t);return Vc.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,r,s,o;try{t=wu.fromISO(i,e),r=t.isValid}catch(n){r=!1}try{s=wu.fromISO(n,e),o=s.isValid}catch(n){o=!1}if(r&&o)return Vc.fromDateTimes(t,s);if(r){const i=Ac.fromISO(n,e);if(i.isValid)return Vc.after(t,i)}else if(o){const t=Ac.fromISO(i,e);if(t.isValid)return Vc.before(s,t)}}return Vc.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 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?Vc.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(_u).filter((t=>this.contains(t))).sort(((t,e)=>t.toMillis()-e.toMillis())),i=[];let{s:n}=this,r=0;for(;n<this.e;){const t=e[r]||this.e,s=+t>+this.e?this.e:t;i.push(Vc.fromDateTimes(n,s)),n=s,r+=1}return i}splitBy(t){const e=Ac.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,r=1;const s=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits((t=>t*r)));i=+t>+this.e?this.e:t,s.push(Vc.fromDateTimes(n,i)),n=i,r+=1}return s}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:Vc.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 Vc.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=[],r=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),s=Array.prototype.concat(...r).sort(((t,e)=>t.time-e.time));for(const t of s)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!=+t.time&&n.push(Vc.fromDateTimes(e,t.time)),e=null);return Vc.merge(n)}difference(...t){return Vc.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Rc}[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=bs,e={}){return this.isValid?Ra.create(this.s.loc.clone(e),t).formatInterval(this):Rc}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Rc}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Rc}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Rc}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Rc}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Ac.invalid(this.invalidReason)}mapEndpoints(t){return Vc.fromDateTimes(t(this.s),t(this.e))}}class Mc{static hasDST(t=Oo.defaultZone){const e=wu.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ys.isValidZone(t)}static normalizeZone(t){return ho(t,Oo.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ao.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:r="gregory"}={}){return(n||ao.create(e,i,r)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||ao.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ao.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ao.create(e,null,"gregory").eras(t)}static features(){return{relative:$o(),localeWeek:qo()}}}function Ec(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(Ac.fromMillis(n).as("days"))}function Dc(t,e,i,n){let[r,s,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=Ec(t,e);return(i-i%7)/7}],["days",Ec]],r={},s=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,r[c]=u(t,e),a=s.plus(r),a>e?(r[c]--,(t=s.plus(r))>e&&(a=t,r[c]--,t=s.plus(r))):t=a);return[t,r,a,o]}(t,e,i);const c=e-r,u=i.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===u.length&&(o<e&&(o=r.plus({[a]:1})),o!==r&&(s[a]=(s[a]||0)+c/(o-r)));const l=Ac.fromObject(s,n);return u.length>0?Ac.fromMillis(c,n).shiftTo(...u).plus(l):l}function Cc(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(fo.hanidec))e+=po.indexOf(t[i]);else for(const t in mo){const[i,r]=mo[t];n>=i&&n<=r&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const jc=`[ ${String.fromCharCode(160)}]`,Fc=new RegExp(jc,"g");function Lc(t){return t.replace(/\./g,"\\.?").replace(Fc,jc)}function Pc(t){return t.replace(/\./g,"").replace(Fc," ").toLowerCase()}function zc(t,e){return null===t?null:{regex:RegExp(t.map(Lc).join("|")),deser:([i])=>t.findIndex((t=>Pc(i)===Pc(t)))+e}}function Wc(t,e){return{regex:t,deser:([,t,e])=>la(t,e),groups:e}}function Zc(t){return{regex:t,deser:([t])=>t}}const Uc={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 Hc=null;function $c(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Yc(Ra.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class qc{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=$c(Ra.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=yo(e),n=yo(e,"{2}"),r=yo(e,"{3}"),s=yo(e,"{4}"),o=yo(e,"{6}"),a=yo(e,"{1,2}"),c=yo(e,"{1,3}"),u=yo(e,"{1,6}"),l=yo(e,"{1,9}"),h=yo(e,"{2,4}"),d=yo(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 zc(e.eras("short"),0);case"GG":return zc(e.eras("long"),0);case"y":return Cc(u);case"yy":case"kk":return Cc(h,ca);case"yyyy":case"kkkk":return Cc(s);case"yyyyy":return Cc(d);case"yyyyyy":return Cc(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Cc(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Cc(n);case"MMM":return zc(e.months("short",!0),1);case"MMMM":return zc(e.months("long",!0),1);case"LLL":return zc(e.months("short",!1),1);case"LLLL":return zc(e.months("long",!1),1);case"o":case"S":return Cc(c);case"ooo":case"SSS":return Cc(r);case"u":return Zc(l);case"uu":return Zc(a);case"uuu":case"E":case"c":return Cc(i);case"a":return zc(e.meridiems(),0);case"EEE":return zc(e.weekdays("short",!1),1);case"EEEE":return zc(e.weekdays("long",!1),1);case"ccc":return zc(e.weekdays("short",!0),1);case"cccc":return zc(e.weekdays("long",!0),1);case"Z":case"ZZ":return Wc(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Wc(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Zc(/[a-z_+-/]{1,256}?/i);case" ":return Zc(/[^\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 r in i)if(Yo(i,r)){const s=i[r],o=s.groups?s.groups+1:1;!s.literal&&s.token&&(t[s.token.val[0]]=s.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,r,s]=i?function(t){let e,i=null;Zo(t.z)||(i=Ys.create(t.z)),Zo(t.Z)||(i||(i=new uo(t.Z)),e=t.Z),Zo(t.q)||(t.M=3*(t.q-1)+1),Zo(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),Zo(t.u)||(t.S=ta(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(Yo(i,"a")&&Yo(i,"H"))throw new fs("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:r,specificOffset:s}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Bc(t,e,i){return new qc(t,i).explainFromTokens(e)}function Yc(t,e){if(!t)return null;const i=Ra.create(e,t).dtFormatter((Hc||(Hc=wu.fromMillis(1555555555555)),Hc)),n=i.formatToParts(),r=i.resolvedOptions();return n.map((e=>function(t,e,i){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=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=Uc[o];if("object"==typeof a&&(a=a[s]),a)return{literal:!1,val:a}}(e,t,r)))}const Jc="Invalid DateTime",Gc=864e13;function Kc(t){return new To("unsupported zone",`the zone "${t.name}" is not supported`)}function Qc(t){return null===t.weekData&&(t.weekData=Co(t.c)),t.weekData}function Xc(t){return null===t.localWeekData&&(t.localWeekData=Co(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function tu(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new wu({...i,...e,old:i})}function eu(t,e,i){let n=t-60*e*1e3;const r=i.offset(n);if(e===r)return[n,e];n-=60*(r-e)*1e3;const s=i.offset(n);return r===s?[n,r]:[t-60*Math.min(r,s)*1e3,Math.max(r,s)]}function iu(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 nu(t,e,i){return eu(sa(t),e,i)}function ru(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),r=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),s={...t.c,year:n,month:r,day:Math.min(t.c.day,ra(n,r))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Ac.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=sa(s);let[c,u]=eu(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function su(t,e,i,n,r,s){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,r=wu.fromObject(t,{...i,zone:n,specificOffset:s});return o?r:r.setZone(a)}return wu.invalid(new To("unparsable",`the input "${r}" can't be parsed as ${n}`))}function ou(t,e,i=!0){return t.isValid?Ra.create(ao.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function au(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Ko(t.c.year,i?6:4),e?(n+="-",n+=Ko(t.c.month),n+="-",n+=Ko(t.c.day)):(n+=Ko(t.c.month),n+=Ko(t.c.day)),n}function cu(t,e,i,n,r,s){let o=Ko(t.c.hour);return e?(o+=":",o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ko(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ko(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Ko(t.c.millisecond,3))),r&&(t.isOffsetFixed&&0===t.offset&&!s?o+="Z":t.o<0?(o+="-",o+=Ko(Math.trunc(-t.o/60)),o+=":",o+=Ko(Math.trunc(-t.o%60))):(o+="+",o+=Ko(Math.trunc(t.o/60)),o+=":",o+=Ko(Math.trunc(t.o%60)))),s&&(o+="["+t.zone.ianaName+"]"),o}const uu={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},lu={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hu={ordinal:1,hour:0,minute:0,second:0,millisecond:0},du=["year","month","day","hour","minute","second","millisecond"],fu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],mu=["year","ordinal","hour","minute","second","millisecond"];function pu(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 ms(t);return e}(t)}}function vu(t,e){const i=ho(e.zone,Oo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e);let r,s;if(Zo(t.year))r=Oo.now();else{for(const e of du)Zo(t[e])&&(t[e]=uu[e]);const e=zo(t)||Wo(t);if(e)return wu.invalid(e);const n=function(t){return bu[t]||(void 0===ku&&(ku=Oo.now()),bu[t]=t.offset(ku)),bu[t]}(i);[r,s]=nu(t,n,i)}return new wu({ts:r,zone:i,loc:n,o:s})}function yu(t,e,i){const n=!!Zo(i.round)||i.round,r=(t,r)=>{t=ea(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,r)},s=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 r(s(i.unit),i.unit);for(const t of i.units){const e=s(t);if(Math.abs(e)>=1)return r(e,t)}return r(t>e?-0:0,i.units[i.units.length-1])}function gu(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 ku,bu={};class wu{constructor(t){const e=t.zone||Oo.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new To("invalid input"):null)||(e.isValid?null:Kc(e));this.ts=Zo(t.ts)?Oo.now():t.ts;let n=null,r=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,r]=[t.old.c,t.old.o];else{const s=Uo(t.o)&&!t.old?t.o:e.offset(this.ts);n=iu(this.ts,s),i=Number.isNaN(n.year)?new To("invalid input"):null,n=i?null:n,r=i?null:s}}this._zone=e,this.loc=t.loc||ao.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=r,this.isLuxonDateTime=!0}static now(){return new wu({})}static local(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return vu({year:i,month:n,day:r,hour:s,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=gu(arguments),[i,n,r,s,o,a,c]=e;return t.zone=uo.utcInstance,vu({year:i,month:n,day:r,hour:s,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 wu.invalid("invalid input");const r=ho(e.zone,Oo.defaultZone);return r.isValid?new wu({ts:i,zone:r,loc:ao.fromObject(e)}):wu.invalid(Kc(r))}static fromMillis(t,e={}){if(Uo(t))return t<-Gc||t>Gc?wu.invalid("Timestamp out of range"):new wu({ts:t,zone:ho(e.zone,Oo.defaultZone),loc:ao.fromObject(e)});throw new ps(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Uo(t))return new wu({ts:1e3*t,zone:ho(e.zone,Oo.defaultZone),loc:ao.fromObject(e)});throw new ps("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=ho(e.zone,Oo.defaultZone);if(!i.isValid)return wu.invalid(Kc(i));const n=ao.fromObject(e),r=da(t,pu),{minDaysInFirstWeek:s,startOfWeek:o}=Po(r,n),a=Oo.now(),c=Zo(e.specificOffset)?i.offset(a):e.specificOffset,u=!Zo(r.ordinal),l=!Zo(r.year),h=!Zo(r.month)||!Zo(r.day),d=l||h,f=r.weekYear||r.weekNumber;if((d||u)&&f)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new fs("Can't mix ordinal dates with month/day");const m=f||r.weekday&&!d;let p,v,y=iu(a,c);m?(p=fu,v=lu,y=Co(y,s,o)):u?(p=mu,v=hu,y=Fo(y)):(p=du,v=uu);let g=!1;for(const t of p){Zo(r[t])?r[t]=g?v[t]:y[t]:g=!0}const k=m?function(t,e=4,i=1){const n=Ho(t.weekYear),r=Go(t.weekNumber,1,aa(t.weekYear,e,i)),s=Go(t.weekday,1,7);return n?r?!s&&Ro("weekday",t.weekday):Ro("week",t.weekNumber):Ro("weekYear",t.weekYear)}(r,s,o):u?function(t){const e=Ho(t.year),i=Go(t.ordinal,1,na(t.year));return e?!i&&Ro("ordinal",t.ordinal):Ro("year",t.year)}(r):zo(r),b=k||Wo(r);if(b)return wu.invalid(b);const w=m?jo(r,s,o):u?Lo(r):r,[_,I]=nu(w,c,i),S=new wu({ts:_,zone:i,o:I,loc:n});return r.weekday&&d&&t.weekday!==S.weekday?wu.invalid("mismatched weekday",`you can't specify both a weekday of ${r.weekday} and a date of ${S.toISO()}`):S.isValid?S:wu.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Da(t,[oc,lc],[ac,hc],[cc,dc],[uc,fc])}(t);return su(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Da(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Xa,tc])}(t);return su(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Da(t,[ec,rc],[ic,rc],[nc,sc])}(t);return su(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Zo(t)||Zo(e))throw new ps("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:r,specificOffset:s,invalidReason:o}=Bc(t,e,i);return[n,r,s,o]}(s,t,e);return u?wu.invalid(u):su(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return wu.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Da(t,[pc,lc],[vc,yc])}(t);return su(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ps("need to specify a reason the DateTime is invalid");const i=t instanceof To?t:new To(t,e);if(Oo.throwOnInvalid)throw new ls(i);return new wu({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Yc(t,ao.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return $c(Ra.parseFormat(t),ao.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){ku=void 0,bu={}}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?Qc(this).weekYear:NaN}get weekNumber(){return this.isValid?Qc(this).weekNumber:NaN}get weekday(){return this.isValid?Qc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Xc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Xc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Xc(this).weekYear:NaN}get ordinal(){return this.isValid?Fo(this.c).ordinal:NaN}get monthShort(){return this.isValid?Mc.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Mc.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Mc.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Mc.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=sa(this.c),n=this.zone.offset(i-t),r=this.zone.offset(i+t),s=this.zone.offset(i-n*e),o=this.zone.offset(i-r*e);if(s===o)return[this];const a=i-s*e,c=i-o*e,u=iu(a,s),l=iu(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[tu(this,{ts:a}),tu(this,{ts:c})]:[this]}get isInLeapYear(){return ia(this.year)}get daysInMonth(){return ra(this.year,this.month)}get daysInYear(){return this.isValid?na(this.year):NaN}get weeksInWeekYear(){return this.isValid?aa(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?aa(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=Ra.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(uo.instance(t),e)}toLocal(){return this.setZone(Oo.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=ho(t,Oo.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]=nu(i,e,t)}return tu(this,{ts:n,zone:t})}return wu.invalid(Kc(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return tu(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=da(t,pu),{minDaysInFirstWeek:i,startOfWeek:n}=Po(e,this.loc),r=!Zo(e.weekYear)||!Zo(e.weekNumber)||!Zo(e.weekday),s=!Zo(e.ordinal),o=!Zo(e.year),a=!Zo(e.month)||!Zo(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||s)&&u)throw new fs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&s)throw new fs("Can't mix ordinal dates with month/day");let l;r?l=jo({...Co(this.c,i,n),...e},i,n):Zo(e.ordinal)?(l={...this.toObject(),...e},Zo(e.day)&&(l.day=Math.min(ra(l.year,l.month),l.day))):l=Lo({...Fo(this.c),...e});const[h,d]=nu(l,this.o,this.zone);return tu(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return tu(this,ru(this,Ac.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=Ac.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?Ra.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Jc}toLocaleString(t=bs,e={}){return this.isValid?Ra.create(this.loc.clone(e),t).formatDateTime(this):Jc}toLocaleParts(t={}){return this.isValid?Ra.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:r=!1}={}){if(!this.isValid)return null;const s="extended"===t;let o=au(this,s);return o+="T",o+=cu(this,s,e,i,n,r),o}toISODate({format:t="extended"}={}){return this.isValid?au(this,"extended"===t):null}toISOWeekDate(){return ou(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:r=!1,format:s="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+cu(this,"extended"===s,e,t,i,r)}toRFC2822(){return ou(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ou(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?au(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")),ou(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Jc}[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 Ac.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},r=(a=e,Array.isArray(a)?a:[a]).map(Ac.normalizeUnit),s=t.valueOf()>this.valueOf(),o=Dc(s?this:t,s?t:this,r,n);var a;return s?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(wu.now(),t,e)}until(t){return this.isValid?Vc.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e,i)<=n&&n<=r.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||wu.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],r=t.unit;return Array.isArray(t.unit)&&(n=t.unit,r=void 0),yu(e,this.plus(i),{...t,numeric:"always",units:n,unit:r})}toRelativeCalendar(t={}){return this.isValid?yu(t.base||wu.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(wu.isDateTime))throw new ps("min requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(wu.isDateTime))throw new ps("max requires all arguments be DateTimes");return Bo(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:r=null}=i;return Bc(ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return wu.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,r=ao.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new qc(r,t)}static fromFormatParser(t,e,i={}){if(Zo(t)||Zo(e))throw new ps("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:r=null}=i,s=ao.fromOpts({locale:n,numberingSystem:r,defaultToEN:!0});if(!s.equals(e.locale))throw new ps(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?wu.invalid(u):su(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return bs}static get DATE_MED(){return ws}static get DATE_MED_WITH_WEEKDAY(){return _s}static get DATE_FULL(){return Is}static get DATE_HUGE(){return Ss}static get TIME_SIMPLE(){return xs}static get TIME_WITH_SECONDS(){return Os}static get TIME_WITH_SHORT_OFFSET(){return Ts}static get TIME_WITH_LONG_OFFSET(){return Ns}static get TIME_24_SIMPLE(){return As}static get TIME_24_WITH_SECONDS(){return Rs}static get TIME_24_WITH_SHORT_OFFSET(){return Vs}static get TIME_24_WITH_LONG_OFFSET(){return Ms}static get DATETIME_SHORT(){return Es}static get DATETIME_SHORT_WITH_SECONDS(){return Ds}static get DATETIME_MED(){return Cs}static get DATETIME_MED_WITH_SECONDS(){return js}static get DATETIME_MED_WITH_WEEKDAY(){return Fs}static get DATETIME_FULL(){return Ls}static get DATETIME_FULL_WITH_SECONDS(){return Ps}static get DATETIME_HUGE(){return zs}static get DATETIME_HUGE_WITH_SECONDS(){return Ws}}function _u(t){if(wu.isDateTime(t))return t;if(t&&t.valueOf&&Uo(t.valueOf()))return wu.fromJSDate(t);if(t&&"object"==typeof t)return wu.fromObject(t);throw new ps(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function Iu(t,e){const i=Su();return(Iu=function(t,e){return i[t-=245]})(t,e)}function Su(){const t=["week","55wKiHoD","1037870PUYjOV","1928388gEIOvf","year","163363XuGIdZ","10nLpXNe","fromJSDate","minus","hasSame","toRelativeCalendar","27835kMnMcR","local","toJSDate","1394628xxsYkT","setLocale","day","8ePJcuS","startOf","month","weekdayLong","804VowfCe","monthLong","7824257weKWyu","4206051lAnXJe"];return(Su=function(){return t})()}function xu(t,e){const i=Iu,n=wu[i(258)](t)[i(266)](e),r=wu[i(263)](),s=r[i(259)]({days:1})[i(269)](i(267));let o,a;return n[i(260)](r,i(267))?(o=n[i(269)](i(267))[i(264)](),a=n[i(261)]()):n[i(260)](s,i(267))?(o=s[i(264)](),a=n[i(261)]()):n[i(260)](r,i(251))?(o=n[i(269)](i(251))[i(264)](),a=n[i(246)]||""):n[i(260)](r,i(255))?(o=n[i(269)](i(245))[i(264)](),a=n[i(248)]||""):(o=n[i(269)](i(255))[i(264)](),a=String(n[i(255)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=Iu,i=t();for(;;)try{if(596265===-parseInt(e(256))/1*(parseInt(e(257))/2)+-parseInt(e(254))/3+parseInt(e(247))/4*(parseInt(e(262))/5)+-parseInt(e(265))/6+parseInt(e(249))/7+-parseInt(e(268))/8*(parseInt(e(250))/9)+parseInt(e(253))/10*(parseInt(e(252))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Su);var Ou=i(45),Tu={attributes:{"data-cke":!0}};Tu.setAttributes=Wn(),Tu.insert=Pn().bind(null,"head"),Tu.domAPI=Fn(),Tu.insertStyleElement=Un();Cn()(Ou.A,Tu);Ou.A&&Ou.A.locals&&Ou.A.locals;const Nu=Ru;function Au(){const t=["span","select","createCollection","add","addRevision","div","181384nPkqjh","locale","uiLanguage","startDate","5KjWBVc","319026vMMLMA","removeRevision","setName","ck-revision-history-sidebar__time-period__label","revisionViews","35770JtBSaw","2xiTLgj","1609290hCkBZg","find","1541760eLRBEh","delegate","localizedPeriodName","35pXFEWd","ck-revision-history-sidebar__time-period__revisions","63wejIOG","_revisionActions","11092ZKPSrK","48240FwcHPJ","remove","setTemplate","ck-revision-history-sidebar__time-period","_requireRevisionName"];return(Au=function(){return t})()}function Ru(t,e){const i=Au();return(Ru=function(t,e){return i[t-=342]})(t,e)}!function(t){const e=Ru,i=t();for(;;)try{if(209096===parseInt(e(368))/1+parseInt(e(357))/2*(-parseInt(e(351))/3)+parseInt(e(367))/4*(-parseInt(e(350))/5)+parseInt(e(358))/6+parseInt(e(363))/7*(-parseInt(e(346))/8)+parseInt(e(365))/9*(-parseInt(e(356))/10)+parseInt(e(360))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Au);class Vu extends En.View{constructor(t,e,i,n){const r=Ru;super(t);const s=xu(e,this[r(347)][r(348)])[r(362)];this[r(349)]=e,this[r(355)]=this[r(342)](),this[r(366)]=i,this[r(372)]=n,this[r(355)][r(361)](r(374)).to(this),this[r(355)][r(361)](r(353)).to(this),this[r(370)]({tag:r(345),attributes:{class:["ck",r(371)]},children:[{tag:r(373),attributes:{class:["ck",r(354)]},children:[{text:s}]},{tag:r(345),attributes:{class:["ck",r(364)]},children:this[r(355)]}]})}[Nu(344)](t){const e=Nu,i=new cs(this[e(347)],t,this[e(366)],this[e(372)]);this[e(355)][e(343)](i)}[Nu(352)](t){const e=Nu,i=this[e(355)][e(359)]((e=>e.id===t.id));this[e(355)][e(369)](i)}}var Mu=i(173),Eu={attributes:{"data-cke":!0}};Eu.setAttributes=Wn(),Eu.insert=Pn().bind(null,"head"),Eu.domAPI=Fn(),Eu.insertStyleElement=Un();Cn()(Mu.A,Eu);Mu.A&&Mu.A.locals&&Mu.A.locals;function Du(t,e){const i=Cu();return(Du=function(t,e){return i[t-=414]})(t,e)}function Cu(){const t=["872094ilYvVV","span","865527gJVjrd","17372530ztTSAv","history","ck-reset_all","Revision history","ck-revision-history-sidebar__header","9koKxBt","3965mBIeNZ","2178659PumTWy","5fyFuLL","370QjZtmy","setTemplate","ck-revision-history-sidebar__header__label","345160kLZqLF","436396INSqvT","content","div"];return(Cu=function(){return t})()}!function(t){const e=Du,i=t();for(;;)try{if(397087===-parseInt(e(424))/1*(parseInt(e(427))/2)+-parseInt(e(417))/3+-parseInt(e(431))/4+parseInt(e(426))/5*(parseInt(e(415))/6)+-parseInt(e(425))/7+-parseInt(e(430))/8*(parseInt(e(423))/9)+parseInt(e(418))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Cu);class ju extends En.View{constructor(t){const e=Du;super(t);const i=new En.IconView;i[e(432)]=qi.icons[e(419)],this[e(428)]({tag:e(414),attributes:{class:["ck",e(420),e(422)]},children:[i,{tag:e(416),attributes:{class:["ck",e(429)]},children:[Xi(t,e(421))]}]})}}var Fu=i(722),Lu={attributes:{"data-cke":!0}};Lu.setAttributes=Wn(),Lu.insert=Pn().bind(null,"head"),Lu.domAPI=Fn(),Lu.insertStyleElement=Un();Cn()(Fu.A,Lu);Fu.A&&Fu.A.locals&&Fu.A.locals;const Pu=Wu;function zu(){const t=["delegate","isEnabled","timePeriodViews","fire","div","deselect","render","490Bkbujr","ck-reset","setName","ck-rounded-corners","266050KCEJQI","ck-revision-history-sidebar","_revisionActions","369220TiJeHw","highlightRevisions","addRevision","ck-disabled","setTemplate","set","some","get","remove","find","8609776gzwLrn","revisionSelected","revisionViews","map","ck-revision-history-sidebar__timeline","36056HrGhoM","getTime","createCollection","bindTemplate","revisionSetName","unhighlight","3839058RFTFAq","_revisions","711AwRiFT","flat","_removeRevision","add","removeRevision","_getTimePeriodViewByStartDate","uiLanguage","locale","selectRevision","highlight","749864HKfDHo","_requireRevisionName","startDate","createdAt","7kGacoH","select","_addRevision","685434PRVBmr"];return(zu=function(){return t})()}function Wu(t,e){const i=zu();return(Wu=function(t,e){return i[t-=144]})(t,e)}!function(t){const e=Wu,i=t();for(;;)try{if(689081===-parseInt(e(177))/1+-parseInt(e(158))/2+-parseInt(e(146))/3+-parseInt(e(195))/4*(-parseInt(e(173))/5)+-parseInt(e(165))/6*(parseInt(e(162))/7)+-parseInt(e(190))/8+-parseInt(e(148))/9*(-parseInt(e(180))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zu);class Zu extends En.View{constructor(t,e,i,n){const r=Wu;super(t);const s=this[r(198)];this[r(168)]=this[r(197)](),this[r(168)][r(166)](r(163)).to(this),this[r(168)][r(166)](r(175)).to(this),this[r(147)]=e,this[r(179)]=i,this[r(159)]=n,this.on(r(163),((t,e)=>{const i=r;this[i(169)](i(191),e)})),this.on(r(175),((t,e)=>{const i=r;this[i(169)](i(144),e)})),this[r(185)](r(167),!1),this[r(184)]({tag:r(170),attributes:{class:["ck",r(174),r(176),r(178)]},children:[new ju(t),{tag:r(170),attributes:{class:["ck",r(194),s.if(r(167),r(183),(t=>!t))]},children:this[r(168)]}]})}[Pu(172)](){const t=Pu;super[t(172)]();for(const e of this[t(147)])this[t(164)](e);this[t(147)].on(t(151),((e,i)=>{this[t(164)](i)})),this[t(147)].on(t(188),((e,i)=>{this[t(150)](i)}))}get[Pu(192)](){const t=Pu;return this[t(168)][t(193)]((e=>e[t(192)][t(193)]((t=>t))))[t(149)]()}[Pu(156)](t){const e=Pu;for(const i of this[e(192)])t&&t.id===i.id?i[e(163)]():i[e(171)]()}[Pu(181)](t){const e=Pu;for(const i of this[e(192)])t[e(186)]((({id:t})=>t===i.id))?i[e(157)]():i[e(145)]()}[Pu(164)](t){const e=Pu,i=xu(t[e(161)],this[e(155)][e(154)])[e(160)];let n=this[e(168)][e(187)](0);n&&n[e(160)][e(196)]()===i[e(196)]()||(n=new Vu(this[e(155)],i,this[e(179)],this[e(159)]),this[e(168)][e(151)](n)),n[e(182)](t)}[Pu(150)](t){const e=Pu,i=xu(t[e(161)],this[e(155)][e(154)])[e(160)];this[e(153)](i)[e(152)](t)}[Pu(153)](t){const e=Pu;return this[e(168)][e(189)]((i=>i[e(160)][e(196)]()===t[e(196)]()))}}const Uu=Hu;function Hu(t,e){const i=$u();return(Hu=function(t,e){return i[t-=145]})(t,e)}function $u(){const t=["highlightRevisions","revisionViews","locale","getRevision","_handleDiffChange","diff","getEarlierVisibleRevision","21752wfTSmJ","compareAgainstSelected","ready","_sidebarView","data","getLaterVisibleRevision","revisionHistory","1425744rVuiDo","bind","_handleEditorDataReady","setName","isVisible","121490HtgUdX","77cVROTc","availableRevisionActions","93521RtqiqT","select","147nJnhIB","timePeriodViews","revisionSelected","focus","isReady","isOfficialPlugin","Restore this revision","action","pluginName","revisionHistory.requireRevisionName","Compare against selected","Name this revision","576LmNWQl","104965TPZLqy","78EjTIZD","editor","_createRevisionActions","_handleRevisionSetName","restoreRevisionCallback","_revisionsRepository","assign","revisionHistory.viewerSidebarContainer","element","_revisions","RevisionsSidebar","map","requires","nameRevision","appendChild","isPremiumPlugin","destroy","3428UMcMFx","config","selectRevision","repository","_handleRevisionSelected","getIndex","render","restoreRevision","_revisionViewer","init","change:diff","defaultRevisionActions","add","length","string","215xmRIwS","15856pKSZkO","remove","revisionHistory.revisionActions","name","compare","listenTo","plugins","revisionSetName","get","getRevisionsInDiff","fieldView","isEnabled","newRevisionId","isSelected"];return($u=function(){return t})()}!function(t){const e=Hu,i=t();for(;;)try{if(141513===parseInt(e(166))/1+parseInt(e(199))/2*(-parseInt(e(168))/3)+parseInt(e(151))/4*(parseInt(e(214))/5)+-parseInt(e(182))/6*(parseInt(e(181))/7)+parseInt(e(215))/8*(parseInt(e(180))/9)+parseInt(e(163))/10*(parseInt(e(164))/11)+-parseInt(e(158))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($u);class qu extends qi.Plugin{static get[Uu(176)](){return Uu(192)}static get[Uu(173)](){return!0}static get[Uu(197)](){return!0}static get[Uu(194)](){return[kr]}constructor(t){const e=Uu;super(t),this[e(207)]=t[e(221)][e(223)](kr),this[e(187)]=this[e(207)][e(202)],this[e(154)]=null}[Uu(208)](){const t=Uu,e=this[t(187)][t(191)],i=this[t(184)](),n=this[t(183)][t(200)][t(223)](t(189));this[t(154)]=new Zu(this[t(183)][t(146)],e,i,this[t(183)][t(200)][t(223)](t(177))),this[t(154)].on(t(170),this[t(203)][t(159)](this)),this[t(154)].on(t(222),this[t(185)][t(159)](this)),this[t(154)][t(159)](t(226)).to(this[t(207)]),this[t(154)][t(169)].on(t(211),((e,i)=>{const n=t;i[n(145)].on(n(211),((t,e)=>{const i=n;e[i(159)](i(226),i(172)).to(this[i(207)])}))})),this[t(154)][t(205)](),this[t(220)](this[t(183)][t(155)],t(153),this[t(160)][t(159)](this)),this[t(220)](this[t(207)],t(209),this[t(148)][t(159)](this)),n[t(196)](this[t(154)][t(190)])}[Uu(198)](){const t=Uu;this[t(154)][t(190)][t(216)](),this[t(154)][t(198)]()}[Uu(160)](){const t=Uu,e=this[t(187)][t(147)](0);if(e){const i=this[t(187)][t(150)](e.id);this[t(207)][t(219)](e,i)}}[Uu(203)](t,e){const i=Uu,n=this[i(187)][i(147)](e.id),r=this[i(187)][i(150)](n.id);this[i(207)][i(219)](n,r)}[Uu(185)](t,e){const i=Uu;this[i(187)][i(147)](e.id)[i(161)](e[i(218)])}[Uu(148)](t,e,i){const n=Uu,r=this[n(187)][n(224)](i);r[n(212)]>2?(this[n(154)][n(229)](r),this[n(154)][n(201)](null)):(this[n(154)][n(229)]([]),this[n(154)][n(201)](r[0]))}[Uu(184)](){const t=Uu,e=this[t(183)],i=qu[t(165)],n=e[t(200)][t(223)](t(217))||qu[t(210)];if(n[t(212)])return n[t(193)]((n=>{const r=t,s=r(213)==typeof n?Object[r(188)]({},i[n]):n;return s[r(175)]=s[r(175)][r(159)](this,e),s[r(162)]&&(s[r(162)]=s[r(162)][r(159)](this,e)),s}))}}qu[Uu(210)]=[Uu(152),Uu(206),Uu(195)],qu[Uu(165)]={compareAgainstSelected:{name:Uu(178),action:({plugins:t},e)=>{const i=Uu,n=t[i(223)](kr),r=n[i(202)];let s=n[i(149)][i(227)],o=e.id;r[i(204)](s)>r[i(204)](o)&&([s,o]=[o,s]),n[i(219)](s,o)},isVisible:({plugins:t},e)=>{const i=Uu,n=t[i(223)](kr);return!(n[i(202)][i(224)](n[i(149)])[i(212)]>2||e[i(228)])}},restoreRevision:{name:Uu(174),action:(t,{id:e})=>{const i=Uu;t[i(200)][i(223)](i(157))[i(186)](e)},isVisible:({plugins:t},e)=>!!t[Uu(223)](kr)[Uu(202)][Uu(156)](e.id)},nameRevision:{name:Uu(179),action:({plugins:t},{id:e,revisionNameView:i})=>{const n=Uu,r=t[n(223)](kr),s=r[n(202)][n(150)](e);r[n(219)](e,s),i[n(171)](),i[n(225)][n(167)]()}}};const Bu=qu,Yu=Gu;function Ju(){const t=["_view","162288ZxXnqW","bind","59127OIrHtf","restore","8184hdfJzO","getRoot","fire","view","addToolbar","render","init","editor","name","limiterElement","isFocused","toolbar","1FAIvTK","editing","265310sCwZyA","focusTracker","_elementReplacer","3565023BNJKdc","rootName","14132172qhhHLY","16138xbgKoO","90Uwcvvx","ready","element","_initToolbar","270ZBNZTe","viewportTopOffset","replace","editable","212wGlrWs","componentFactory","destroy","54GWfmjb","fillFromConfig","setEditableElement","attachDomRoot","stickyPanel","isActive","config","viewportOffset","get","_toolbarConfig","document","detachDomRoot"];return(Ju=function(){return t})()}function Gu(t,e){const i=Ju();return(Gu=function(t,e){return i[t-=332]})(t,e)}!function(t){const e=Gu,i=t();for(;;)try{if(553480===-parseInt(e(334))/1*(parseInt(e(342))/2)+parseInt(e(369))/3*(-parseInt(e(351))/4)+parseInt(e(336))/5*(parseInt(e(343))/6)+-parseInt(e(339))/7+-parseInt(e(367))/8*(-parseInt(e(354))/9)+parseInt(e(347))/10*(parseInt(e(371))/11)+parseInt(e(341))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ju);class Ku extends En.EditorUI{get[Yu(374)](){return this[Yu(366)]}constructor(e,i){const n=Yu;super(e),this[n(366)]=i,this[n(363)]=(0,En.normalizeToolbarConfig)(e[n(360)][n(362)](n(333))),this[n(338)]=new t.ElementReplacer}get[Yu(345)](){const t=Yu;return this[t(374)][t(345)]}[Yu(377)](t){const e=Yu,i=this[e(378)],n=this[e(374)],r=i[e(335)][e(374)],s=n[e(350)],o=r[e(364)][e(372)]();s[e(379)]=o[e(340)],n[e(376)]();const a=s[e(345)];this[e(356)](s[e(379)],a),n[e(350)][e(368)](e(332)).to(this[e(337)]),r[e(357)](a),this[e(338)][e(349)](t,this[e(345)]),this[e(346)](),this[e(373)](e(344))}[Yu(353)](){const t=Yu;super[t(353)]();const e=this[t(374)],i=this[t(378)][t(335)][t(374)];this[t(338)][t(370)](),i[t(365)](e[t(350)][t(379)]),e[t(353)]()}[Yu(346)](){const t=Yu,e=this[t(374)];e[t(358)][t(368)](t(359)).to(this[t(337)],t(332)),e[t(358)][t(380)]=e[t(345)],e[t(358)][t(368)](t(348)).to(this,t(361),(({top:t})=>t)),e[t(333)][t(355)](this[t(363)],this[t(352)]),this[t(375)](e[t(333)])}}var Qu=i(161),Xu={attributes:{"data-cke":!0}};Xu.setAttributes=Wn(),Xu.insert=Pn().bind(null,"head"),Xu.domAPI=Fn(),Xu.insertStyleElement=Un();Cn()(Qu.A,Xu);Qu.A&&Qu.A.locals&&Qu.A.locals;var tl=il;!function(t){for(var e=il,i=t();;)try{if(561398===-parseInt(e(116))/1*(-parseInt(e(109))/2)+-parseInt(e(108))/3*(parseInt(e(115))/4)+-parseInt(e(114))/5+parseInt(e(111))/6*(parseInt(e(120))/7)+-parseInt(e(110))/8+-parseInt(e(105))/9*(-parseInt(e(113))/10)+parseInt(e(119))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nl);class el extends En.BoxedEditorUIView{get[tl(104)](){return this[tl(112)]}constructor(t,e,i={}){var n=tl;super(t),this[n(122)]=new En.StickyPanelView(t),this[n(123)]=new En.ToolbarView(t,{shouldGroupWhenFull:i[n(106)]}),this[n(112)]=new En.InlineEditableUIView(t,e)}[tl(121)](){var t=tl;super[t(121)](),this[t(122)][t(117)][t(124)](this[t(123)]),this[t(118)][t(124)](this[t(122)]),this[t(107)][t(124)](this[t(104)])}}function il(t,e){var i=nl();return(il=function(t,e){return i[t-=104]})(t,e)}function nl(){var t=["171246mzZwJR","883826gCiuyr","2925952sSrGCJ","363036gdvQtx","_editable","110FxrfSo","2867115yxNLrg","76ICIyaI","1reQLPl","content","top","13392874DBaGos","56dZTChA","render","stickyPanel","toolbar","add","editable","361332UdzPdj","shouldToolbarGroupWhenFull","main"];return(nl=function(){return t})()}const rl=sl;function sl(t,e){const i=ol();return(sl=function(t,e){return i[t-=342]})(t,e)}function ol(){const t=["fire","651864Pyybsc","model","535066wPnQay","672021LBzckw","locale","create","destroy","get","1365698gvFmbK","4geJIYv","editing","createRoot","20YSPRrj","12ILZamD","3101380vOsODh","init","document","initPlugins","initialData","ready","data","32mSPrJu","sourceElement","view","config","36mIlLjN","1993179tKpnCL","updateSourceElement","_ui","8636969irQlnl"];return(ol=function(){return t})()}!function(t){const e=sl,i=t();for(;;)try{if(733860===parseInt(e(369))/1+parseInt(e(343))/2+-parseInt(e(361))/3*(-parseInt(e(344))/4)+-parseInt(e(347))/5*(-parseInt(e(366))/6)+parseInt(e(368))/7*(parseInt(e(356))/8)+-parseInt(e(360))/9*(parseInt(e(349))/10)+parseInt(e(364))/11*(-parseInt(e(348))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ol);class al extends((0,qi.ElementApiMixin)(qi.Editor)){get ui(){return this[sl(363)]}constructor(t,e){const i=sl;super(e),this[i(357)]=t,this[i(367)][i(351)][i(346)]();const n=new el(this[i(370)],this[i(345)][i(358)],{shouldToolbarGroupWhenFull:!0});this[i(363)]=new Ku(this,n)}[rl(372)](){const t=rl;return this[t(362)](),this.ui[t(372)](),super[t(372)]()}static async[rl(371)](t,e){const i=rl,n=new this(t,e);return await n[i(352)](),await n.ui[i(350)](t),await n[i(355)][i(350)](n[i(359)][i(342)](i(353))||""),n[i(365)](i(354)),n}}const cl=ul;function ul(t,e){const i=ll();return(ul=function(t,e){return i[t-=331]})(t,e)}function ll(){const t=["editor","RestrictedEditingMode","translations","update","revisionHistory.viewerContainer","isAnonymous","refreshPositioning","isAttached","enqueueChange","toLocaleDateString","addRoot","1647uHZVJG","revisionHistory.closeRevisionViewerCallback","_getRevisionViewerEditorConfig","1072164RyUQnt","925420zOxuZl","showRevisionViewerCallback","insert","markers","revisionHistory.restoreRevisionCallback","getRevisionData","bind","set","getRevisions","revisionHistory.showRevisionViewerCallback","includes","model","selection","init","destroy","block","revisionHistory.editorContainer","revision-history-missing-configuration","RevisionsRepository","_viewerEditor","requires","PaginationLookup","save","then","_enhanceCloseRevisionViewerCallback","detachRoot","commands","removeMarker","name","setAttribute","revisionHistory.viewerEditorElement","_enhanceShowRevisionViewerCallback","get","Annotations","parse","6eWYgVh","RevisionViewerIntegration","setSelection","end","removeAttribute","map","919025vNfBGl","removeSelectionAttribute","keys","document","206831IStQGG","uiLanguage","pluginName","Users","isReady","revisionHistory","_update","1909992jdBmLX","getRevisionRootsAttributes","addUser","Dialog","isOfficialPlugin","_cleanUp","RevisionViewer","isReadOnly","style","RevisionHistory","push","closeRevisionViewerCallback","rootName","saveRevision","restoreRevision","6016AqTvlB","remove","creator","lazyRoots","result","from","refreshVisibility","create","_showRevisionViewer","isOpen","adapter","join","getUser","isPremiumPlugin","fromVersion","catch","isEnabled","createdAt","users","has","getRevision","_restoreRevision","RevisionTracker","_recalculatePageBreaks","repository","restrictedEditingException","changesNavigation","getAttributeKeys","indexOf","addRevisionData","createRangeIn","$graveyard","data","config","toJSON","RevisionHistoryUI","display","getMarkersGroup","numeric","toLocaleTimeString","Restored","getRoot","disableReadOnlyMode","fromCharCode","enableReadOnlyMode","3nRbsbQ","81426HwEWHz","Autosave","error","_closeRevisionViewer","hide","exitToEditing","revision-history-viewer-opened","locale","none","long","define","revisionHistory.requireRevisionName","change","toolbar","toVersion","roots","plugins"];return(ll=function(){return t})()}!function(t){const e=ul,i=t();for(;;)try{if(154622===-parseInt(e(405))/1+-parseInt(e(473))/2+-parseInt(e(472))/3*(-parseInt(e(359))/4)+parseInt(e(401))/5*(-parseInt(e(395))/6)+parseInt(e(412))/7+-parseInt(e(427))/8*(-parseInt(e(356))/9)+-parseInt(e(360))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ll);const hl=[cl(462),cl(346)];class dl extends qi.Plugin{static get[cl(407)](){return cl(396)}static get[cl(416)](){return!0}static get[cl(440)](){return!0}constructor(t){const e=cl;function i(t){const e=ul;return t[e(400)]((t=>String[e(470)](t)))[e(438)]("")}super(t),this[e(431)]=e(398),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 fl extends qi.Plugin{static get[cl(407)](){return cl(421)}static get[cl(416)](){return!0}static get[cl(440)](){return!0}static get[cl(380)](){return[Sn,er]}constructor(e){const i=cl;if(super(e),!this[i(345)][i(460)][i(392)](i(410)))throw new t.CKEditorError(i(377),this);this[i(379)]=null,this[i(345)][i(460)][i(338)](i(369),(t=>this[i(435)]({...t,translations:this[i(345)][i(335)][i(347)]}))),this[i(345)][i(460)][i(338)](i(357),(t=>this[i(331)](t))),this[i(345)][i(460)][i(338)](i(364),(t=>this[i(448)](t))),this[i(345)][i(460)][i(338)](i(339),!1),this[i(391)](),this[i(384)]()}set[cl(437)](t){const e=cl;this[e(345)][e(344)][e(392)](e(449))[e(437)]=t}get[cl(437)](){const t=cl;return this[t(345)][t(344)][t(392)](t(449))[t(437)]}[cl(456)](t){const e=cl;return this[e(345)][e(344)][e(392)](e(449))[e(456)](t)}[cl(447)](t){const e=cl;return this[e(345)][e(344)][e(392)](e(378))[e(447)](t)}[cl(368)](t){const e=cl;return this[e(345)][e(344)][e(392)](e(378))[e(368)](t||{toJSON:!1})}[cl(358)](){const e=cl,i=this[e(345)],n=(0,Bi.sanitizeEditorConfig)(i,hl),r=i[e(344)][e(392)](e(449)),s=i[e(344)][e(392)](e(408))[e(445)];return n[e(341)]=[e(333),e(426),e(453)],delete n[e(430)],n[e(344)][e(422)](dl,kr,Pr,class extends qi.Plugin{static get[e(380)](){return[kr,e(408)]}[e(373)](){const n=e,o=this[n(345)][n(344)][n(392)](n(408));for(const t of s)t[n(350)]||o[n(439)](t.id)||o[n(414)](t);const a=r[n(451)][n(368)]();let c=null;const u=this[n(345)][n(344)][n(392)](n(418));u[n(437)]=r[n(437)],u[n(366)](n(443)).to(r),this[n(345)][n(386)][n(392)](n(426))[n(366)](n(443)).to(i,n(419),(t=>!t));for(const e of a){const i=null===e[n(429)];if(i&&e[n(342)]===e[n(441)])continue;const s=e[n(461)]();u[n(456)](s,((s,o,a)=>{const u=n;if(i){if(c)c[u(411)](s,o);else if(!o){const e=a[u(461)]();e.id=(0,t.uid)(),r[u(425)](e,a[u(342)])[u(383)]((t=>{c=t}))}}else e[u(411)](s,o)}))}}},Bu),n}[cl(391)](){const t=cl,e=this[t(345)][t(460)][t(392)](t(410))[t(361)];this[t(345)][t(460)][t(367)](t(369),(async()=>{const i=t;this[i(345)][i(471)](i(334));const n=this[i(345)][i(344)][i(392)](i(449));if(this[i(345)][i(344)][i(446)](i(474))){const t=this[i(345)][i(344)][i(392)](i(474));await t[i(382)]()}else await n[i(348)]();if(this[i(345)][i(344)][i(446)](i(381))&&this[i(345)][i(344)][i(392)](i(381))[i(450)](),this[i(345)][i(344)][i(446)](i(415))){const t=this[i(345)][i(344)][i(392)](i(415));t[i(436)]&&t[i(332)]()}const r=this[i(358)]();return e(r)[i(383)]((t=>{const e=i;return this[e(379)]=t,this[e(345)][e(344)][e(446)](e(393))&&this[e(345)][e(344)][e(392)](e(393))[e(433)](),t}))[i(442)]((t=>(console[i(475)](t),this[i(345)][i(469)](i(334)),null)))}))}[cl(384)](){const t=cl,e=this[t(345)][t(460)][t(392)](t(410))[t(423)];this[t(345)][t(460)][t(367)](t(357),(()=>(this[t(345)][t(344)][t(446)](t(381))&&this[t(345)][t(344)][t(392)](t(381))[t(450)](),this[t(379)][t(344)][t(392)](t(418))[t(417)](),e(this[t(379)])[t(383)]((()=>{const e=t;if(this[e(345)][e(469)](e(334)),this[e(379)]=null,this[e(345)][e(344)][e(446)](e(393))){const t=this[e(345)][e(344)][e(392)](e(393));t[e(433)](),t[e(351)]()}})))))}[cl(435)](t){const e=cl,i=this[e(345)][e(460)][e(392)](e(376)),n=this[e(345)][e(460)][e(392)](e(349)),r=this[e(345)][e(460)][e(392)](e(390));return al[e(434)](r,t)[e(383)]((t=>(n[e(420)][e(463)]=e(375),i[e(420)][e(463)]=e(336),t)))}[cl(331)](t){const e=cl,i=this[e(345)][e(460)][e(392)](e(376));return this[e(345)][e(460)][e(392)](e(349))[e(420)][e(463)]=e(336),i[e(420)][e(463)]="",t[e(374)]()}async[cl(448)](t){const e=cl,i=this[e(345)],n=this[e(379)][e(344)][e(392)](e(418)),r=i[e(344)][e(392)](e(449)),s=n[e(451)][e(447)](t);let o,a,c;try{o=await n[e(365)](s),a=await n[e(413)](s)}catch(t){return void console[e(475)](t)}i[e(371)][e(340)]((t=>{const n=e;for(const e of Array[n(432)](i[n(371)][n(363)][n(464)](n(452))))t[n(387)](e)})),n[e(409)]=!1,i[e(371)][e(353)]((t=>{const n=e;t[n(397)](null),t[n(402)](i[n(371)][n(404)][n(372)][n(454)]());const r=Object[n(403)](o);for(const e of i[n(371)][n(404)][n(343)])n(458)!=e[n(424)]&&e[n(352)]()&&!r[n(370)](e[n(424)])&&t[n(385)](e);for(const e of r){let r=i[n(371)][n(404)][n(468)](e);r&&r[n(352)]()||(r=t[n(355)](e));const s=a[e],c=Object[n(403)](s),u=o[e];for(const e of r[n(454)]())c[n(370)](e)||t[n(399)](e,r);for(const i of c)t[n(389)](i,a[e][i],r);t[n(428)](t[n(457)](r)),t[n(362)](i[n(459)][n(394)](u,r),r,0)}}));const u=Xi(i[e(335)],e(467));return c=s[e(388)]?-1==s[e(388)][e(455)](u)?u+": "+s[e(388)]:s[e(388)]:u+": "+s[e(444)][e(354)](i[e(335)][e(406)],{month:e(337),day:e(465)})+", "+s[e(444)][e(466)](i[e(335)][e(406)],{hour:e(465),minute:e(465)}),await r[e(425)]({name:c}),n[e(409)]=!0,i[e(460)][e(392)](e(410))[e(423)]()}}function ml(t,e){var i=pl();return(ml=function(t,e){return i[t-=100]})(t,e)}function pl(){var t=["3440530NPrjZs","457656ktQDLH","94950aHFkOy","1813iGgEUf","1501160maOsBP","9RiVlvy","735882BMMjCe","254JzazYE","25206kpzVVM","5cWfjlM"];return(pl=function(){return t})()}!function(t){for(var e=ml,i=t();;)try{if(131268===parseInt(e(106))/1*(parseInt(e(100))/2)+-parseInt(e(105))/3+-parseInt(e(104))/4+parseInt(e(102))/5*(-parseInt(e(101))/6)+-parseInt(e(109))/7+parseInt(e(107))/8*(-parseInt(e(108))/9)+parseInt(e(103))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pl)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(168),n=i.n(s),r=i(433),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0;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,{Revision:()=>z,RevisionHistory:()=>Yo,RevisionHistoryUI:()=>Ct,RevisionTracker:()=>nt,RevisionViewer:()=>Qt,RevisionViewerLoadingOverlay:()=>pe,RevisionViewerUI:()=>ke,RevisionsRepository:()=>B,RevisionsSidebar:()=>No});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,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(E=t)||"object"!=typeof E&&"function"!=typeof E)return t;var E,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,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,T(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(T(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(M=t,ArrayBuffer.isView(M)&&!(M instanceof DataView)){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,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case 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,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,s,n,r))}}function A(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 R(t){return A(t)}const E=/^(?:0|[1-9]\d*)$/;function M(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)}}function V(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 D(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function C(t){return Object.is(t,-0)?"-0":t.toString()}function F(t,e,i){if(null==t)return i;switch(typeof e){case"string":{const s=t[e];return void 0===s?D(e)?F(t,V(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=C(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 L(t,e){const i=F(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;try{return delete i[s],!0}catch{return!1}}const j=P;function P(t,e){const i=W();return(P=function(t,e){return i[t-=261]})(t,e)}function W(){const t=["2565448SQScKk","1361680cAkrKZ","creator","authors","98148GKiifv","80ClbVXE","setName","removeAttribute","toVersion","map","7227693AWZkUy","15507HqsFKa","name","diffData","_update","authorsIds","256497LOjEWp","toJSON","createdAt","model","setAttribute","creatorId","attributes","fire","fromVersion","406RgDlqp","5681235KSZPwD","set"];return(W=function(){return t})()}!function(t){const e=P,i=t();for(;;)try{if(590345===-parseInt(e(265))/1+parseInt(e(274))/2*(-parseInt(e(288))/3)+parseInt(e(278))/4+parseInt(e(282))/5*(parseInt(e(281))/6)+parseInt(e(275))/7+-parseInt(e(277))/8+parseInt(e(287))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(W);class z extends((0,t.ObservableMixin)()){id;[j(279)];[j(280)];[j(262)];[j(285)];[j(273)];[j(268)];constructor(e){const i=j;super(),this.id=e.id||(0,t.uid)(),this[i(279)]=e[i(279)]||null,this[i(280)]=e[i(280)]||[],this[i(262)]=e[i(262)]||null,this[i(285)]=e[i(285)]||0,this[i(273)]=e[i(273)]||0,this[i(276)](i(261),e[i(261)]||""),this[i(276)](i(267),e[i(267)]||new Date),this[i(276)](i(271),e[i(271)]||{})}[j(283)](t){this[j(263)]({name:t})}[j(269)](t,e){const i=j,s=R(this[i(271)]);(function(t,e,i){const s=Array.isArray(e)?e:"string"==typeof e?V(e):[e];let n=t;for(let t=0;t<s.length-1;t++){const e=s[t],i=s[t+1];null==n[e]&&(n[e]=M(i)?[]:{}),n=n[e]}n[s[s.length-1]]=i})(s,t,e),this[i(263)]({attributes:s})}[j(284)](t){const e=j,i=R(this[e(271)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return L(t,e);if("number"==typeof e?e=C(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]&&D(e))return L(t,V(e));try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(263)]({attributes:i})}[j(263)](t,e=!1){const i=j;let s=!1;const n={id:this.id},r=[i(261),i(267),i(262),i(280),i(271),i(285),i(273),i(270)];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(280)]&&(n[i(264)]=n[i(280)][i(286)]((t=>t.id)),delete n[i(280)]),this[i(272)](i(263),n,e))}[j(266)](){const t=j;return{id:this.id,name:this[t(261)],creatorId:this[t(279)]?this[t(279)].id:null,authorsIds:this[t(280)][t(286)]((t=>t.id)),diffData:this[t(262)],createdAt:this[t(267)],attributes:this[t(271)],fromVersion:this[t(273)],toVersion:this[t(285)]}}}var U=i(782),Z=i(211),H=i(783);const q=$;function $(t,e){const i=Y();return($=function(t,e){return i[t-=258]})(t,e)}!function(t){const e=$,i=t();for(;;)try{if(425904===-parseInt(e(279))/1*(-parseInt(e(282))/2)+parseInt(e(284))/3+parseInt(e(265))/4*(parseInt(e(268))/5)+parseInt(e(283))/6*(-parseInt(e(313))/7)+parseInt(e(271))/8*(-parseInt(e(306))/9)+parseInt(e(296))/10*(parseInt(e(314))/11)+-parseInt(e(281))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class B extends U.Plugin{[q(295)];static get[q(304)](){return[Z.Users]}static get[q(260)](){return q(259)}static get[q(288)](){return!0}static get[q(311)](){return!0}get[q(276)](){const t=q;return this[t(295)][t(276)]}constructor(e){const i=q;super(e),this[i(295)]=new t.Collection}[q(263)](){!async function(e){const i=k([112,100,109,99,55,118,117,72,120,84,51,108,102,115,69,104,80,97,70,89,65,105,114,83,76,113,56,111,103,53,88,48,82,57,77,98,54,86,119,101,122,121,116,85,73,75,107,71,74,81,106,110,49,67,68,79,66,50,78,87,52,90]),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=$;for(const e in window)if(window[k([78,117,109,98,101,114])][i(307)](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([112]);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=$;return t[e(262)]((t=>String[e(266)](t)))[e(312)]("")}!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(t){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:1740528e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=$,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(272)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])]((t=>t[k([105,110,99,108,117,100,101,115])](k([42]))))[k([109,97,112])]((t=>t[k([115,112,108,105,116])](k([46]))))[k([115,111,109,101])]((t=>n[k([101,118,101,114,121])](((e,i)=>t[i]===e||t[i]===k([42])))))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])(((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])]((e=>{e!=k([86,97,108,105,100])&&t(e)}),e)})):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch(t){return k([73,110,118,97,108,105,100])}}())}(this)}[q(303)](t){const e=q,i=this[e(300)][e(293)][e(286)](e(278));return new z({id:t.id,name:t[e(289)],creator:t[e(270)]?i[e(290)](t[e(270)]):null,diffData:t[e(298)]||t[e(301)],authors:t[e(261)][e(262)]((t=>i[e(290)](t))),createdAt:new Date(t[e(310)]),attributes:t[e(275)],fromVersion:t[e(273)],toVersion:t[e(297)]})}[q(302)](t,e=0){const i=q;this[i(295)][i(269)](t,e)}[q(309)](t){const e=q;return this[e(295)][e(286)](t)}[q(258)](t={toJSON:!1}){const e=q,i=Array[e(267)](this[e(295)]);return i[e(280)](),t[e(285)]?i[e(262)]((t=>t[e(285)]())):i}[q(294)](t){const e=q;return this[e(295)][e(294)](t)}[q(308)](t){const e=q,[,i]=this[e(305)](t,{direction:e(287)});return i}[q(277)](t){const e=q,[,i]=this[e(305)](t,{direction:e(299)});return i}[q(291)](t){const e=q,i=[];for(const s of this[e(305)](t[e(292)]))if(i[e(274)](s),s.id===t[e(264)])break;return i}*[q(305)](t,{direction:e=q(287),filter:i=()=>!0}={}){const s=q,n=s(287)===e?1:-1;let r=this[s(295)][s(286)](t),o=this[s(294)](r);for(yield r;r;){if(o+=n,r=this[s(309)](o),!r)return;i(r)&&(yield r)}}}function Y(){const t=["fromVersion","push","attributes","length","getLaterVisibleRevision","Users","108187KzCIFL","reverse","2640120YmTUGi","10qDlZlF","10962SNhOhp","1214616nxKuYO","toJSON","get","earlier","isOfficialPlugin","name","getUser","getRevisionsInDiff","newRevisionId","plugins","getIndex","_revisions","470PZHxsZ","toVersion","diffData","later","editor","data","addRevision","createRevision","requires","getRevisionsIterator","18ISZEYJ","isNaN","getEarlierVisibleRevision","getRevision","createdAt","isPremiumPlugin","join","1225ZBQDWP","154583HlUuYA","getRevisions","RevisionsRepository","pluginName","authorsIds","map","afterInit","oldRevisionId","86244NEugto","fromCharCode","from","15FjVAqx","add","creatorId","2821368WhIguH","href"];return(Y=function(){return t})()}function G(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 J(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 K(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 X(t,e,r,o)}return X(t,e,r,o)}function X(t,i,s,T){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:{const e=t.valueOf(),s=i.valueOf();return(R=e)===(E=s)||Number.isNaN(R)&&Number.isNaN(E)}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}var R,E;const M=(s=s??new Map).get(t),V=s.get(i);if(null!=M&&null!=V)return M===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)||!K(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=>K(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(!K(t[e],i[e],e,t,i,s,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&X(new Uint8Array(t),new Uint8Array(i),s,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&X(new Uint8Array(t),new Uint8Array(i),s,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(X(t.constructor,i.constructor,s,T)||J(t)&&J(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(!K(o,i[r],r,t,i,s,T))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function Q(){}function tt(t,e){return function(t,e,i){return K(t,e,void 0,void 0,void 0,void 0,i)}(t,e,Q)}const et=it;function it(t,e){const i=at();return(it=function(t,e){return i[t-=316]})(t,e)}!function(t){const e=it,i=t();for(;;)try{if(419715===parseInt(e(514))/1+-parseInt(e(327))/2+-parseInt(e(487))/3*(parseInt(e(403))/4)+parseInt(e(412))/5+parseInt(e(505))/6+-parseInt(e(335))/7+parseInt(e(540))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);const st={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class nt extends U.Plugin{[et(525)];[et(330)];[et(320)];[et(515)];[et(494)];[et(588)];[et(382)];[et(556)];[et(612)];[et(360)];[et(354)];[et(630)];[et(364)];static get[et(371)](){return et(521)}static get[et(509)](){return!0}static get[et(552)](){return!0}static get[et(583)](){return[Z.Users,B,U.PendingActions]}constructor(e){const i=et;super(e),this[i(320)]=null,this[i(515)]=null,this[i(588)]=new ot(this[i(377)]),this[i(556)]=this[i(377)][i(617)][i(633)](i(516))||i(528),this[i(612)]=new Map,this[i(364)]=null;const s=(0,t.uid)();this[i(382)]={history:this[i(377)][i(324)][i(511)][i(455)],getLatestVersion:()=>Promise[i(390)](this[i(377)][i(324)][i(511)][i(420)]),getCurrentRevisionId:()=>s},this[i(343)](i(441),!1),this[i(343)](i(619),!0),this[i(343)](i(486),!1),this[i(377)][i(617)][i(411)](i(436),!0),this[i(377)][i(337)][i(350)](i(532))[i(384)]({view:i(634)})}[et(520)](){const t=et;this[t(494)]=this[t(377)][t(435)][t(633)](t(605)),this[t(426)](),this[t(377)][t(398)].on(t(536),(()=>{const e=t,i=this[e(494)][e(599)](0),s=i&&null===i[e(508)]?i:null;if(this[e(354)]=!!s&&this[e(377)][e(617)][e(633)](e(436)),this[e(377)][e(435)][e(338)](e(466))){const t=this[e(382)][e(577)](),n=this[e(494)][e(599)](t);if(n)this[e(630)]=n[e(322)],this[e(354)]=!1;else{const t=this[e(382)][e(455)][e(369)][e(553)]((t=>!t[e(321)])),n=t?t[e(478)]:this[e(382)][e(455)][e(420)];i?(i[e(482)]<n&&i[e(326)]({toVersion:n}),this[e(354)]?(this[e(382)][e(577)]=()=>s.id,this[e(630)]=s[e(322)]):(this[e(630)]=i[e(482)],this[e(354)]=!1)):(this[e(630)]=n,this[e(354)]=!1)}}else s&&(this[e(377)][e(324)][e(511)][e(455)][e(420)]=Math[e(339)](s[e(482)],this[e(377)][e(324)][e(511)][e(455)][e(420)]),s[e(322)]===s[e(482)]?(0!==s[e(322)]&&(this[e(382)][e(577)]=()=>s.id),this[e(354)]=!1):this[e(354)]&&(this[e(382)][e(577)]=()=>s.id,this[e(630)]=s[e(322)])),this[e(354)]||(this[e(630)]=this[e(377)][e(324)][e(511)][e(420)]);this[e(588)][e(520)](this[e(382)][e(455)]),this[e(400)](this[e(630)]),this[e(613)](this[e(630)]),this[e(320)]&&this[e(572)]()})),this[t(456)](t(441)).to(this,t(486),(t=>!t)),this[t(525)]=this[t(377)][t(617)][t(633)](t(525));const e=this[t(377)];this[t(330)]=setInterval((()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(589)==r||i(334)==r||i(608)==r||i(429)==r||i(353)==r||i(541)==r||i(495)==r||i(542)==r){delete e[n],s=r,clearInterval(this[i(330)]),this[i(330)]=void 0;break}}i(334)==s&&e[i(582)](i(513)),i(608)==s&&e[i(582)](i(397)),i(429)==s&&e[i(582)](i(474)),i(353)==s&&e[i(582)](i(469),i(557)),i(541)==s&&e[i(582)](i(446)),i(495)==s&&e[i(582)](i(517)),i(542)==s&&e[i(582)](i(607))}),1e3)}async[et(408)](){const t=et;if(this[t(494)][t(370)]>0){const e=this[t(494)][t(599)](0),i=await this[t(362)](e),s=await this[t(560)](e);this[t(374)](i,s)}}[et(530)](){const t=et;super[t(530)](),this[t(330)]&&clearInterval(this[t(330)])}[et(433)](t){this[et(382)]=t}async[et(477)](){const t=et,e=await this[t(382)][t(484)]();if(e>this[t(515)][t(482)]){await this[t(519)]();const i=this[t(316)]({revision:this[t(515)],to:e});i[t(391)]=i[t(558)][t(543)]((e=>this[t(377)][t(435)][t(633)](t(524))[t(396)](e))),this[t(515)][t(326)](i)}}async[et(519)](){const t=et;this[t(354)]&&!this[t(364)]&&(await this[t(571)](this[t(515)]),this[t(588)][t(492)](this[t(515)]),this[t(364)]={fromVersion:this[t(515)][t(322)],authors:this[t(515)][t(391)][t(453)]()})}async[et(367)](e={},i=null){const s=et,n=[];await this[s(519)](),this[s(354)]=!1,i>this[s(515)][s(482)]&&(i=null),null===i&&(i=await this[s(382)][s(484)]());const r=this[s(538)](i),o=this[s(316)]({from:r,to:i});if(this[s(515)][s(482)]<i){const t=this[s(316)]({revision:this[s(515)],from:i,to:i});t[s(391)]=[],t[s(558)]=[],t.id=this[s(515)].id,this[s(515)][s(326)](t,!0),delete t[s(391)],n[s(578)](t)}e[s(318)]=this[s(377)][s(435)][s(633)](s(524)).me.id,e[s(537)]=e[s(537)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(518)](e);n[s(578)](e);const c=this[s(494)][s(442)](a);if(0!==c){const t=this[s(494)][s(599)](c-1);if(t[s(322)]!==i){const r=this[s(588)][s(454)](i,t[s(482)]),o={id:t.id,diffData:r[s(561)],authorsIds:r[s(558)],authors:r[s(558)][s(543)]((t=>this[s(377)][s(435)][s(633)](s(524))[s(396)](t))),fromVersion:i};t===this[s(515)]&&(o[s(504)]=new Date(e[s(504)][s(554)]()+10)),t[s(326)](o,!0),delete o[s(391)],n[s(578)](o)}}if(this[s(320)]){for(const t of n)this[s(376)](t.id,t,!0);this[s(572)]()}return a}[et(518)](t){const e=et,i=this[e(494)][e(361)](t);return this[e(320)]&&i.on(e(326),((t,i,s)=>{const n=e;s||(this[n(376)](i.id,i,!0),this[n(572)]())})),this[e(494)][e(422)](i,this[e(611)](i)),i}async[et(362)](t){const e=et;await this[e(571)](t);const i={};for(const s in t[e(561)]){if(t[e(561)][s][e(481)]&&!t[e(561)][s][e(481)][e(527)])continue;const n=this[e(470)](JSON[e(566)](t[e(561)][s][e(587)])),r=this[e(377)][e(479)][e(529)][e(511)],o=new H.ViewDocumentFragment(r,n[e(543)]((t=>rt(t,this[e(377)]))));this[e(377)][e(398)][e(601)][e(620)](e(546)),i[s]=this[e(377)][e(398)][e(601)][e(593)](o),this[e(377)][e(398)][e(601)][e(620)](e(340))}return i}async[et(560)](t){const e=et;await this[e(571)](t);const i={};for(const s in t[e(561)])t[e(561)][s][e(481)]&&!t[e(561)][s][e(481)][e(527)]||(i[s]=t[e(561)][s][e(418)]||{});return i}[et(572)](){const t=et;if(0===this[t(612)][t(402)])return;if(this[t(486)])return;let e=Array[t(467)](this[t(612)][t(574)]());this[t(612)][t(501)]();for(let i=0;i<e[t(370)];i++){const s=e[i];let n=!1;for(const e of Object[t(535)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(497)]((t=>null!==t)),!e[t(370)])return;for(let i=0;i<e[t(370)];i++){const s=e[i];void 0!==s[t(322)]&&void 0===s[t(482)]&&(s[t(482)]=this[t(494)][t(599)](s.id)[t(482)]),void 0!==s[t(482)]&&void 0===s[t(322)]&&(s[t(322)]=this[t(494)][t(599)](s.id)[t(322)])}const i=this[t(377)][t(617)][t(633)](t(516));this[t(486)]=!0,this[t(575)](),this[t(320)][t(597)](e,i)[t(443)]((()=>{this[t(486)]=!1}))[t(579)]((e=>{const i=t;if(e)for(const t of e)this[i(460)]({id:t.id,createdAt:t[i(504)]});this[i(458)](),this[i(572)]()}))}[et(374)](e,i){const s=et;let n=this[s(377)][s(617)][s(633)](s(598)),r=this[s(377)][s(617)][s(633)](s(452));if(void 0===n){n={};for(const t of this[s(377)][s(324)][s(511)][s(395)]())n[t]=""}if(s(438)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(377)][s(324)][s(511)][s(395)]())r[t]={}}let o=!1;const a=Object[s(535)](n),c=Object[s(535)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(423)]()){o=!0;break}if(!tt(r[t],i[t])&&Object[s(535)](r[t])[s(370)]>0){o=!0;break}}o||(o=c[s(584)]((t=>!this[s(377)][s(324)][s(511)][s(357)](t)))),o&&(0,t.logWarning)(s(461),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(377)][s(617)][s(343)](s(598),e),this[s(377)][s(617)][s(343)](s(452),i)}[et(575)](){const t=et;if(!this[t(360)]){const e=this[t(377)][t(435)][t(633)](t(457));this[t(360)]=e[t(342)](G(this[t(377)][t(352)],t(323)))}}[et(458)](){const t=et;this[t(360)]&&(this[t(377)][t(435)][t(633)](t(457))[t(431)](this[t(360)]),this[t(360)]=null)}[et(611)](t){const e=et,i=this[e(494)][e(355)]();i[e(610)]();let s=0;for(;s<i[e(370)];){const n=i[s];if(n===this[e(515)]){s++;continue}if(n.id===this[e(556)])break;const r=t[e(482)]-n[e(482)]||t[e(322)]-n[e(322)];if(r>0)break;if(r<0)s++;else{if(!t[e(508)]&&n[e(508)])break;if(n[e(508)]||!t[e(508)]){if(t[e(504)]>n[e(504)])break;s++}else s++}}return s}[et(460)](t){const e=et,i=this[e(494)][e(599)](t.id);if(t[e(504)]&&(t[e(504)]=new Date(t[e(504)])),t[e(558)]){const i=this[e(377)][e(435)][e(633)](e(524));t[e(391)]=t[e(558)][e(543)]((t=>i[e(396)](t)))}i[e(326)](t,!0)}[et(316)]({revision:t=null,from:e=null,to:i=null}){const s=et;e=null!==e?e:t[s(322)],i=null!==i?i:t[s(482)];const n=this[s(588)][s(454)](e,i),r={diffData:n[s(561)],authorsIds:n[s(558)],fromVersion:e,toVersion:i};if(!t||i!==t[s(482)]){const t=i-1,e=this[s(382)][s(455)][s(366)](t);r[s(504)]=e&&e[s(504)]||new Date}if(this[s(364)]&&e===this[s(364)][s(322)])for(const t of this[s(364)][s(391)])r[s(558)][s(383)](t.id)||r[s(558)][s(578)](t.id);return r}[et(571)](t){const e=et;if(!t||t[e(561)])return Promise[e(390)]();{const i=this[e(377)][e(617)][e(633)](e(516));return this[e(320)][e(599)]({channelId:i,revisionId:t.id})[e(579)]((i=>{const s=e;t[s(561)]=i[s(561)]}))}}[et(376)](t,e,i){const s=et;if(this[s(612)][s(338)](t)){const n=this[s(612)][s(633)](t);e=i?{...n,...e}:{...e,...n}}this[s(612)][s(343)](t,e)}[et(538)](t){const e=et,i=this[e(494)][e(355)]();i[e(610)](),i[e(581)]();const s=i[e(553)]((i=>i[e(482)]<=t))[e(482)];return s<this[e(630)]?this[e(630)]:s}[et(400)](t){const e=et,i=this[e(494)][e(599)](this[e(494)][e(370)]-1);if(i)this[e(556)]=i.id;else{const i=!this[e(377)][e(324)][e(511)][e(531)][e(553)]((t=>this[e(377)][e(324)][e(410)](t))),s=this[e(377)][e(435)][e(633)](e(524)).me.id,n=G(this[e(377)][e(352)],e(i?331:569));this[e(319)]({from:t,to:t,id:this[e(556)],name:n,creatorId:s})}}[et(613)](t){const e=et,i=this[e(382)][e(577)]();this[e(515)]=this[e(494)][e(599)](i),this[e(515)]||(this[e(515)]=this[e(319)]({from:t,to:t,id:i,name:"",creatorId:null}))}[et(319)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=et,o=this[r(316)]({from:e,to:i});o[r(537)]=t,o[r(318)]=s,o.id=n;const a=this[r(518)](o);return this[r(320)]&&this[r(376)](o.id,o,!0),a}[et(426)](){const t=et;this[t(377)][t(337)][t(350)](t(491))[t(336)]({model:t(634)})}[et(470)](t){const e=et;return(t=t[e(497)]((t=>!t[e(537)]||e(510)!==t[e(537)]&&e(564)!==t[e(537)])))[e(325)]((t=>{const i=e;i(438)!=typeof t&&(t[i(430)]=this[i(470)](t[i(430)]),t[i(445)]=t[i(445)][i(497)]((t=>!t[0][i(609)](i(533)))))})),t}}function rt(t,e){const i=et,s=e[i(479)][i(529)][i(511)];if(i(438)==typeof t)return new H.ViewText(s,t);{const n=t[i(430)][i(543)]((t=>rt(t,e)));return new(st[t[i(576)]]||H.ViewElement)(s,t[i(537)],t[i(445)],n)}}class ot{[et(377)];[et(421)];[et(526)];[et(568)];[et(399)];[et(580)];[et(480)];[et(332)];[et(389)];[et(471)];[et(415)];[et(424)];[et(586)];[et(522)];[et(592)];[et(565)];[et(447)];constructor(t){const e=et;this[e(377)]=t,this[e(526)]=new Map,this[e(568)]=-1,this[e(399)]=-1,this[e(580)]=new Map,this[e(480)]=new Map,this[e(332)]=new Map,this[e(389)]=new Map,this[e(471)]=new Map,this[e(415)]=new Map,this[e(424)]=new Map,this[e(586)]=new Map,this[e(522)]=new Map,this[e(592)]=new Map,this[e(565)]=1}[et(520)](t){const e=et;this[e(421)]=t;const i=new Map,s=new Map,n=this[e(377)][e(324)][e(511)][e(531)][e(543)]((t=>t[e(404)]));for(const t of n){const n=this[e(377)][e(324)][e(511)][e(357)](t),r=ct(n);i[e(343)](t,r),s[e(343)](t,Object[e(615)](n[e(359)]()))}const r=Array[e(467)](this[e(377)][e(324)][e(627)])[e(543)]((t=>[t[e(537)],t[e(502)]()])),o=this[e(421)][e(420)];this[e(385)](o,i,r,s),this[e(447)]=this[e(565)];const a=new Map,c=new Map;for(const t of n){const i=ut(t);a[e(343)](t,i),c[e(343)](t,{})}this[e(385)](Number[e(349)],a,[],c)}[et(454)](t,e){const i=et;if(this[i(568)]===t&&this[i(399)]<=e)this[i(526)][i(402)]>1&&this[i(507)](this[i(399)]),this[i(631)](this[i(399)],e,!0);else{if(!this[i(526)][i(338)](t)){const e=this[i(489)](t);this[i(414)](e,t,!1)}this[i(414)](t,e,!0)}return this[i(568)]=t,this[i(399)]=e,this[i(629)]()}[et(492)](t){const e=et;this[e(439)](),this[e(568)]=t[e(322)],this[e(399)]=t[e(482)];for(const i in t[e(561)]){const s=t[e(561)][i][e(481)],n=R(t[e(561)][i][e(632)])||{},r=this[e(606)](t[e(561)][i][e(428)]);r[e(404)]=i,r[e(614)]=!s||!s[e(527)],r[e(527)]=()=>r[e(614)],this[e(389)][e(343)](i,r),this[e(471)][e(343)](i,n),s&&this[e(592)][e(343)](i,s);const o=this[e(348)](r);this[e(424)][e(343)](i,o);for(const[t,i]of r[e(627)]){if(!t[e(609)](e(623)))continue;const s=t[e(549)](":")[2];for(const t of i[e(417)]({singleCharacters:!0})){const i=this[e(625)](t),n=e(328)==t[e(576)]?t[e(406)][e(449)][e(453)](0,-1):t[e(406)][e(449)],r=o[e(425)](n)[e(622)](i);this[e(586)][e(343)](r,{userId:s})}}}this[e(447)]=this[e(565)];const i=[...Array(this[e(565)])[e(535)]()][e(453)](1)[e(497)]((t=>!this[e(586)][e(338)](t)));let s=0;const n=new Map;for(const r in t[e(561)]){const o=t[e(561)][r][e(481)],a=R(t[e(561)][r][e(418)])||{},c=this[e(606)](t[e(561)][r][e(587)]);c[e(404)]=r,c[e(614)]=!o||o[e(527)],c[e(527)]=()=>c[e(614)],this[e(480)][e(343)](r,c),this[e(332)][e(343)](r,a);const u=this[e(348)](c,Number[e(349)]);this[e(415)][e(343)](r,u),n[e(343)](r,c[e(527)]()?a:{});for(const[t,i]of c[e(627)]){if(!t[e(609)](e(623)))continue;const s=t[e(549)](":")[2];for(const t of i[e(417)]({singleCharacters:!0})){const i=this[e(625)](t),n=this[e(565)]++,r=e(328)==t[e(576)]?t[e(406)][e(449)][e(453)](0,-1):t[e(406)][e(449)];u[e(425)](r)[e(562)](i,n),this[e(586)][e(343)](n,{userId:s})}}for(const t of this[e(377)][e(324)][e(373)](c)[e(417)]({singleCharacters:!0})){const n=this[e(625)](t),r=e(328)==t[e(576)]?t[e(406)][e(449)][e(453)](0,-1):t[e(406)][e(449)],o=u[e(425)](r);o[e(622)](n)>0||o[e(562)](n,i[s++])}for(const[t,i]of c[e(627)])t[e(609)](e(623))||this[e(580)][e(343)](t,i)}const r=ut(e(465));this[e(389)][e(343)](e(465),r),this[e(424)][e(343)](e(465),this[e(348)](r,1));const o=ut(e(465));this[e(480)][e(343)](e(465),o),this[e(415)][e(343)](e(465),this[e(348)](o,1));const a=Array[e(467)](this[e(480)])[e(543)]((([t,e])=>[t,ct(e)]));this[e(385)](this[e(399)],a,this[e(580)],n)}[et(606)](t){const e=et,i=JSON[e(566)](t),s=this[e(377)][e(479)][e(529)][e(511)],n=new H.ViewDocumentFragment(s,i[e(543)]((t=>rt(t,this[e(377)]))));return this[e(377)][e(398)][e(365)](n)}[et(385)](t,e,i,s){const n=et,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(343)](t,{start:e[n(464)][n(498)](),end:e[n(472)][n(498)](),rootName:e[n(503)][n(404)]});this[n(526)][n(343)](t,{roots:r,markers:a,rootsAttributes:o})}[et(507)](t){const e=et;this[e(526)][e(483)](t)}[et(626)](){const t=et;this[t(439)](),this[t(568)]=-1,this[t(399)]=-1,this[t(526)][t(501)](),this[t(520)](this[t(421)])}[et(439)](){const t=et;this[t(586)][t(501)](),this[t(522)][t(501)](),this[t(592)][t(501)](),this[t(480)][t(501)](),this[t(332)][t(501)](),this[t(389)][t(501)](),this[t(471)][t(501)](),this[t(415)][t(501)](),this[t(424)][t(501)](),this[t(580)][t(501)](),this[t(565)]=1,this[t(447)]=this[t(565)]}[et(348)](t,e=null){const i=et;let s=null;t.is(i(624))||(s=new H.Element(t[i(537)],{vid_start:null===e?this[i(565)]++:e++}));const n=[];for(const s of t[i(444)]())if(s.is(i(459))){n[i(578)](this[i(348)](s,e));const t=n[n[i(370)]-1];null!==e&&(e=t.is(i(459),i(488))?t[i(622)](i(563))+1:t[i(622)](i(440))+1)}else for(let t=0;t<s[i(547)];t++)n[i(578)](new H.Element(i(488),{vid:null===e?this[i(565)]++:e++}));if(t.is(i(624))){const e=ut(t[i(404)]);return e[i(602)](0,n),e}return s[i(562)](i(440),null===e?this[i(565)]++:e++),s[i(602)](0,n),s}[et(414)](t,e,i){const s=et;this[s(439)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(526)][s(633)](t);this[s(389)]=new Map(n),this[s(471)]=new Map(R(o));for(const[t,e]of this[s(389)])if(s(465)!==t&&(this[s(480)][s(343)](t,ct(e)),this[s(332)]=new Map(R(o)),i)){const i=this[s(565)];this[s(415)][s(343)](t,this[s(348)](e)),this[s(424)][s(343)](t,this[s(348)](e,i))}this[s(447)]=this[s(565)],this[s(480)][s(343)](s(465),ct(this[s(389)][s(633)](s(465)))),i&&this[s(415)][s(343)](s(465),this[s(348)](this[s(389)][s(633)](s(465))));for(const[t,e]of r){const i=this[s(389)][s(633)](e[s(404)]),n=this[s(480)][s(633)](e[s(404)]),r=new H.Range(this[s(500)](e[s(464)],i),this[s(500)](e[s(472)],i)),o=this[s(401)](r,n);i[s(627)][s(343)](t,r),this[s(580)][s(343)](t,o)}this[s(631)](t,e,i)}[et(631)](t,e,i){const s=et;for(const n of this[s(421)][s(490)](t,e))this[s(493)](n,i);for(const t of this[s(480)][s(574)]())t[s(627)][s(501)]();for(const[t,e]of this[s(580)])this[s(480)][s(633)](e[s(503)][s(404)])[s(627)][s(343)](t,e[s(498)]());const n=new Map,r=new Map;for(const[t,e]of this[s(480)])n[s(343)](t,ct(e)),r[s(343)](t,this[s(332)][s(633)](t));this[s(385)](e,n,this[s(580)],r)}[et(489)](t){const e=et,i=Array[e(467)](this[e(526)][e(535)]());i[e(594)](((t,e)=>t-e)),i[e(610)]();for(const e of i)if(e<t)return e;return Number[e(349)]}[et(512)](t,e){const i=et,s=Array[i(467)](e[i(627)])[i(543)]((([e,s])=>[e,this[i(401)](s,t)]));t[i(627)]=new Map(s)}[et(381)](t){const e=et;for(const i of this[e(580)][e(574)]()){const s=i[e(344)](t),n=H.Range[e(604)](s);i[e(464)]=n[e(464)],i[e(472)]=n[e(472)]}}[et(493)](t,e){const i=et;if(i(559)!=t[i(576)]&&i(475)!=t[i(576)]){if(i(628)==t[i(576)]){const s=t[i(523)][i(503)][i(404)];this[i(480)][i(338)](s)||(this[i(480)][i(343)](s,ut(s,!0)),this[i(332)][i(343)](s,{}),e&&this[i(415)][i(343)](s,ut(s,!0)))}else{if(i(600)==t[i(576)]||i(416)==t[i(576)]||i(548)==t[i(576)])return void this[i(539)](t);i(551)==t[i(576)]&&this[i(394)](t)}if(i(551)!==t[i(576)]){const e=this[i(375)](t,this[i(480)]);e[i(573)](),this[i(381)](e)}if(e)switch(t[i(576)]){case i(628):this[i(585)](t);break;case i(496):case i(431):case i(387):this[i(473)](t);break;case i(618):this[i(427)](t);break;case i(549):this[i(591)](t)}}else this[i(485)](t,e)}[et(375)](t,e){const i=et,s=t[i(498)]();return s[i(409)]=t[i(409)],this[i(434)](s,e),s}[et(341)](t){const e=et;return t[e(543)]((t=>{const i=e,s=this[i(625)](t);return Number(t[i(380)][i(622)](s))}))}[et(432)](t,e){const i=et;if(t.is(i(459),i(488)))e[i(578)]({item:t,type:i(596)});else{t.is(i(459))&&e[i(578)]({item:t,type:i(468)});for(const s of t[i(444)]())this[i(432)](s,e);t.is(i(459))&&e[i(578)]({item:t,type:i(328)})}return e}[et(629)](){const t=et,e=new Map(this[t(586)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(389)][t(535)](),...this[t(480)][t(535)]()]);a[t(483)](t(465));for(const e of a){const i=this[t(480)][t(633)](e)||ut(e,!1),s=this[t(389)][t(633)](e)||ut(e,!1);i[t(527)]()||s[t(527)]()?(n[t(587)][e]=ct(i),n[t(428)][e]=ct(s),this[t(512)](n[t(428)][e],s),this[t(512)](n[t(587)][e],i),r[t(587)][e]=this[t(432)](this[t(415)][t(633)](e),[]),r[t(428)][e]=this[t(432)](this[t(424)][t(633)](e)||ut(e,!1),[])):a[t(483)](e)}for(const n of a){const o=r[t(587)][n];for(const n of o){const r=this[t(625)](n),o=n[t(380)][t(622)](r);i[t(483)](o),o>=this[t(447)]&&s[t(343)](o,e[t(633)](o))}}for(const n of a){const a=r[t(587)][n],c=this[t(341)](r[t(428)][n]);let u=0;for(const n of a){const r=this[t(625)](n),a=n[t(380)][t(622)](r);if(!s[t(338)](a)&&!o[t(338)](a))if(i[t(338)](a))u++;else{if(a!=c[u]){const s=e[t(633)](a)||e[t(633)](c[u]);for(;a!=c[u];)i[t(338)](c[u])||(o[t(343)](c[u],s),e[t(343)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(587)][e];for(const e of n){const n=this[t(625)](e),r=e[t(380)][t(622)](n);if(o[t(338)](r)){const e=o[t(633)](r);i[t(338)](r)||i[t(343)](r,{...e}),s[t(343)](r,{...e})}}}for(const e of i[t(535)]())e>=this[t(447)]&&i[t(483)](e);const c=new Map;for(const e of a){let n=r[t(587)][e];for(const e of n)if(e[t(380)].is(t(459),t(372))){const i=this[t(625)](e),n=e[t(380)][t(622)](i);if(s[t(338)](n)){const i=e[t(380)][t(386)][t(386)][t(622)](t(419)),r=c[t(633)](i)||new Set;r[t(342)](s[t(633)](n)[t(346)]),c[t(343)](i,r)}}n=r[t(428)][e];for(const e of n)if(e[t(380)].is(t(459),t(372))){const s=this[t(625)](e),n=e[t(380)][t(622)](s);if(i[t(338)](n)){const s=e[t(380)][t(386)][t(386)][t(622)](t(419)),r=c[t(633)](s)||new Set;r[t(342)](i[t(633)](n)[t(346)]),c[t(343)](s,r)}}for(const e of c[t(535)]())(s[t(338)](e)||i[t(338)](e))&&c[t(483)](e)}for(const e of a){const n=r[t(587)][e];let o=null,a=null;for(const e of n){const n=this[t(625)](e),r=e[t(380)][t(622)](n),u=c[t(633)](r);u&&t(468)==e[t(576)]&&(o=Array[t(467)](u)[0],a=e[t(380)][t(622)](t(440))),o&&(i[t(343)](r,{userId:o}),s[t(343)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(428)][e],a=n[t(587)][e];for(const{userId:e}of this[t(522)][t(574)]())null!==e&&l[t(342)](e);for(const{userId:e}of this[t(592)][t(574)]())null!==e&&l[t(342)](e);this[t(534)](a,r[t(587)][e],s,t(448),l),this[t(534)](o,r[t(428)][e],i,t(616),l),u[e]={insertions:this[t(476)](a),deletions:this[t(476)](o),attachChange:this[t(592)][t(633)](e)||null,attributesBefore:R(this[t(471)][t(633)](e))||{},attributesAfter:R(this[t(332)][t(633)](e))}}return{diffData:u,authorsIds:Array[t(467)](l)}}[et(590)](t){const e=et;for(const[,i]of t[e(627)]){const t=i[e(464)][e(437)]()[e(497)]((t=>e(372)==t[e(537)]));for(const i of t)1==i[e(570)]&&i[e(378)](0).is(e(459),e(317))&&i[e(378)](0)[e(562)](e(333),!0)}}[et(476)](t){const e=et;this[e(590)](t);const i=this[e(377)][e(398)][e(499)](t,{}),s=Array[e(467)](i[e(444)]())[e(543)]((t=>this[e(550)](t)));return JSON[e(506)](s)}[et(550)](t){const e=et;if(t.is(e(488)))return t[e(398)];{const i=t;return{type:Object[e(535)](st)[e(553)]((e=>t instanceof st[e])),name:i[e(537)],attributes:Array[e(467)](i[e(359)]()),children:Array[e(467)](i[e(444)]())[e(543)]((t=>this[e(550)](t)))}}}[et(534)](t,e,i,s,n){const r=et;let o=null,a=null,c=0;const u=this[r(377)][r(324)];for(let s=0;s<e[r(370)];s++){const n=this[r(625)](e[s]),c=e[s][r(380)][r(622)](n),h=i[r(633)](c),d=s==e[r(370)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(346)]!=o[r(346)])&&(l(h,lt(a,t,u),lt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,lt(a,t,u),ht(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(346)],d=l(623)+s+":"+h+":"+c++,f=u[l(347)](i,a);t[l(627)][l(343)](d,f),null!==h&&n[l(342)](h)}}[et(625)](t){const e=et;switch(t[e(576)]){case e(468):return e(419);case e(328):return e(440);default:return e(563)}}[et(434)](t,e){const i=et;t[i(478)]=null;for(const s in t){const n=t[s];if(n instanceof H.Position){const r=e[i(633)](n[i(503)][i(404)]);t[s]=this[i(500)](n,r)}if(n instanceof H.Range){const r=e[i(633)](n[i(503)][i(404)]);t[s]=this[i(401)](n,r)}i(503)===s&&(t[i(503)]=e[i(633)](t[i(503)][i(404)]))}}[et(401)](t,e){const i=et;return this[i(377)][i(324)][i(347)](this[i(500)](t[i(464)],e),this[i(500)](t[i(472)],e))}[et(500)](t,e){const i=et;return this[i(377)][i(324)][i(368)](e,t[i(449)],t[i(451)])}[et(585)](t){const e=et,i=this[e(415)][e(633)](t[e(523)][e(503)][e(404)]),s=this[e(500)](t[e(523)],i),n=null===t[e(409)]?null:t[e(409)]||this[e(377)][e(435)][e(633)](e(524)).me.id,r=s[e(386)],o=this[e(565)],a=[];for(const i of t[e(405)])if(i.is(e(459)))a[e(578)](this[e(348)](i));else for(let t=0;t<i[e(547)];t++)a[e(578)](new H.Element(e(488),{vid:this[e(565)]++}));const c=this[e(565)];for(let t=o;t<c;t++)this[e(586)][e(343)](t,{userId:n});r[e(602)](s[e(450)],a)}[et(473)](t){const e=et;(t=this[e(375)](t,this[e(415)]))[e(573)]();const i=null===t[e(409)]?null:t[e(409)]||this[e(377)][e(435)][e(633)](e(524)).me.id,s=t[e(463)](),n=s[e(386)],r=s[e(450)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(378)](e);r.is(a(459),a(488))?s[a(343)](r[a(622)](a(563)),{userId:i}):(s[a(343)](r[a(622)](a(419)),{userId:i}),t(s,r,0,r[a(570)]),s[a(343)](r[a(622)](a(440)),{userId:i}))}}(this[e(586)],n,r,r+t[e(413)])}[et(427)](t){const e=et,i=null===(t=this[e(375)](t,this[e(415)]))[e(409)]?null:t[e(409)]||this[e(377)][e(435)][e(633)](e(524)).me.id,s=t[e(358)][e(386)],n=t[e(545)][e(386)],r=s[e(622)](e(440)),o=n[e(622)](e(419));s[e(562)](e(440),n[e(622)](e(440))),n[e(562)](e(440),r),this[e(586)][e(343)](o,{userId:i}),this[e(586)][e(343)](r,{userId:i}),t[e(573)]()}[et(591)](t){const e=et,i=null===(t=this[e(375)](t,this[e(415)]))[e(409)]?null:t[e(409)]||this[e(377)][e(435)][e(633)](e(524)).me.id,s=t[e(351)],n=t[e(345)][e(386)];t[e(573)]();const r=n[e(622)](e(440)),o=t[e(392)][e(393)];if(s){const t=o[e(622)](e(440)),s=n[e(622)](e(440));n[e(562)](e(440),t),o[e(562)](e(440),s),this[e(586)][e(343)](n[e(622)](e(440)),{userId:i}),this[e(586)][e(343)](o[e(622)](e(419)),{userId:i})}else{const t=this[e(565)]++,s=this[e(565)]++;n[e(562)](e(440),t),o[e(562)](e(419),s),o[e(562)](e(440),r),this[e(586)][e(343)](t,{userId:i}),this[e(586)][e(343)](s,{userId:i})}}[et(394)](t){const e=et;if(!t[e(595)])return;const i=(t=this[e(375)](t,this[e(480)]))[e(329)]?t[e(329)][e(503)]:null,s=t[e(462)]?t[e(462)][e(503)]:null;i&&this[e(580)][e(483)](t[e(537)]),s&&this[e(580)][e(343)](t[e(537)],t[e(462)][e(498)]());const n=null===t[e(409)]?null:t[e(409)]||this[e(377)][e(435)][e(633)](e(524)).me.id,r=t[e(537)];if(!this[e(522)][e(338)](r))return void this[e(522)][e(343)](r,{range:t[e(329)],userId:n});const o=this[e(522)][e(633)](r),a=o[e(621)],c=t[e(462)];null==a&&null==c||a&&c&&a[e(544)](c)?this[e(522)][e(483)](t[e(537)]):o[e(346)]=n}[et(485)](t,e){const i=et;this[i(480)][i(338)](t[i(404)])?this[i(480)][i(633)](t[i(404)])[i(614)]=t[i(363)]:(this[i(480)][i(343)](t[i(404)],ut(t[i(404)],!0)),this[i(332)][i(343)](t[i(404)],{}),e&&this[i(415)][i(343)](t[i(404)],ut(t[i(404)],!0)));const s=null===t[i(409)]?null:t[i(409)]||this[i(377)][i(435)][i(633)](i(524)).me.id,n=this[i(592)][i(633)](t[i(404)]);n&&n[i(346)]===s?this[i(592)][i(483)](t[i(404)]):this[i(592)][i(343)](t[i(404)],{userId:s,isAttached:t[i(363)]})}[et(539)](t){const e=et,i=this[e(332)][e(633)](t[e(503)][e(404)]);null===t[e(356)]?delete i[t[e(388)]]:i[t[e(388)]]=t[e(356)]}}function at(){const t=["get","revision","buildRevisionData","paragraph","creatorId","_makeRevision","adapter","_isInit","fromVersion","PENDING_ACTION_REVISION_HISTORY","model","forEach","_update","792434EzThqN","elementEnd","oldRange","_licenseKeyCheckInterval","Empty document","_diffRootsAttributes","keepParagraph","revisionHistoryLicenseKeyInvalid","1419894WbAvbW","markerToData","conversion","has","max","default","_getBaseVids","add","set","getTransformedByOperation","splitPosition","userId","createRange","_makeIdsRoot","NEGATIVE_INFINITY","for","graveyardPosition","locale","revisionHistoryLicenseKeyNotAllowed","_continueCurrentRevision","getRevisions","newValue","getRoot","targetPosition","getAttributes","_pendingAction","createRevision","getRevisionDocumentData","isAdd","_loadedStateData","toModel","getOperation","saveRevision","createPositionFromPath","_operations","length","pluginName","tableCell","createRangeIn","_replaceEditorDataWithRevisionData","_cloneOperation","_bufferUpdate","editor","getChild","_appendChild","item","_transformMarkers","_source","includes","dataToMarker","_saveMetaData","parent","reinsert","key","_baseRoots","resolve","authors","insertionPosition","nodeAfter","_handleMarkerOperation","getRootNames","getUser","expired","data","_lastTo","_createInitialRevision","_fixRange","size","4vyZMWG","rootName","nodes","previousPosition","_clone","afterInit","_authorId","hasContent","define","139370GmTtxV","howMany","_calculateMetaData","_idsRoots","removeRootAttribute","getWalker","attributesAfter","vid_start","version","source","addRevision","trim","_baseIdsRoots","getNodeByPath","_setConversion","_handleMergeOperation","deletions","revisionHistoryLicenseKeyDomainLimit","children","remove","_generateTape","setSource","_fixOperation","plugins","revisionHistory.resumeUnsavedRevision","getAncestors","string","_reset","vid_end","isReady","getIndex","finally","getChildren","attributes","evaluationLimit","_startingRevisionId","insertion","path","offset","stickiness","rootsAttributes","slice","getData","history","bind","PendingActions","_removePendingAction","element","setRevisionData","editor-initial-data-replaced-with-revision-data","newRange","getMovedRangeStart","start","$graveyard","RealTimeCollaborationClient","from","elementStart","featureNotAllowed","_removeRevisionMarkers","_baseRootsAttributes","end","_handleMoveOperation","domainLimit","detachRoot","_prepareViewToSave","update","baseVersion","editing","_diffRoots","attachChange","toVersion","delete","getLatestVersion","_handleRootOperation","_isPendingUpdate","2256465DMbEPM","$text","_getPreviousFrom","getOperations","dataDowncast","loadState","_handleOperation","repository","revisionHistoryLicenseKeyTrialLimit","move","filter","clone","toView","_fixPosition","clear","getRange","root","createdAt","548820EyhGmV","stringify","_removeMetaData","creator","isOfficialPlugin","revision-start","document","_copyMarkers","invalid","711462tuKhlK","currentRevision","collaboration.channelId","trialLimit","addRevisionData","_loadState","init","RevisionTracker","_touchedMarkers","position","Users","licenseKey","_savedMetaData","isAttached","initial","view","destroy","roots","upcast","data-revision-","_markChanges","keys","ready","name","_getFromVersion","_handleRootAttributeOperation","7520984SlkwlF","revisionHistoryLicenseKeyEvaluationLimit","revisionHistoryLicenseKeyUsageLimit","map","isEqual","sourcePosition","marked","offsetSize","changeRootAttribute","split","_getViewJson","marker","isPremiumPlugin","find","getTime","createPositionAfter","_initialRevisionId","RevisionHistory","authorsIds","addRoot","getRevisionRootsAttributes","diffData","_setAttribute","vid","revision-end","_revisionId","parse","createPositionAt","_lastFrom","Initial revision","childCount","_loadRevisionData","sendBufferedUpdates","_execute","values","_addPendingAction","type","getCurrentRevisionId","push","then","_markers","shift","_showLicenseError","requires","some","_handleInsertOperation","_touched","insertions","_revisionDataBuilder","revisionHistoryLicenseKeyValid","_processRootBeforeSave","_handleSplitOperation","_touchedRoots","toData","sort","affectsData","text","updateRevisions","initialData","getRevision","addRootAttribute","processor","_insertChild","createPositionBefore","_createFromRanges","RevisionsRepository","_makeModelFromViewString","usageLimit","revisionHistoryLicenseKeyExpired","startsWith","reverse","_findInsertionIndex","_bufferedUpdates","_createCurrentRevision","_isAttached","fromEntries","deletion","config","merge","isEnabled","useFillerType","range","getAttribute","revision:","documentFragment","_getVidAttributeName","reInit","markers","insert","_getState","_startingVersion","_applyOperations","attributesBefore"];return(at=function(){return t})()}function ct(t){const e=et,i=ut(t[e(404)],t[e(527)]());for(const s of t[e(444)]()){const t=s[e(407)](!0);i[e(379)](t)}return i}function ut(t,e=!0){const i=et,s=new H.DocumentFragment;return s[i(404)]=t,s[i(614)]=e,s[i(527)]=()=>s[i(614)],s}function lt(t,e,i){const s=et,n=s(328)==t[s(576)]?i[s(567)](t[s(380)],s(472)):i[s(603)](t[s(380)]);return i[s(368)](e,n[s(449)],n[s(451)])}function ht(t,e,i){const s=et,n=s(468)==t[s(576)]?i[s(567)](t[s(380)],0):i[s(555)](t[s(380)]);return i[s(368)](e,n[s(449)],n[s(451)])}var dt=i(355),ft=i(311),mt=i(673),pt=i.n(mt),vt=i(545),gt=i.n(vt),yt=i(262),kt=i.n(yt),bt=i(667),wt=i.n(bt),_t=i(357),It=i.n(_t),St=i(426),Ot={attributes:{"data-cke":!0}};Ot.setAttributes=wt(),Ot.insert=kt().bind(null,"head"),Ot.domAPI=gt(),Ot.insertStyleElement=It();pt()(St.A,Ot);St.A&&St.A.locals&&St.A.locals;var xt=i(959),Tt={attributes:{"data-cke":!0}};Tt.setAttributes=wt(),Tt.insert=kt().bind(null,"head"),Tt.domAPI=gt(),Tt.insertStyleElement=It();pt()(xt.A,Tt);xt.A&&xt.A.locals&&xt.A.locals;const Nt=Rt;function At(){const t=["focusTracker","4512570MOJCWQ","errorText","_createRevisionNameInput","focus","ck-responsive-form","2719356IaQEji","13133270xIQkzq","arrowup","optional","68uusbqs","11CulOEh","revisionNameInputValue","add","fieldView","arrowleft","trim","ck-revision-history-save-revision-form","revisionNameInputView","arrowright","1393hmCvqR","form","reset","keystrokes","22368KdMSgK","revisionName","131240VwylmK","stopPropagation","set","render","8cgZnGQ","220","listenTo","value","extendTemplate","1297992MyhZiv","element","Name of the revision","setTemplate","4693050BdhRPw","input","locale","label","arrowdown"];return(At=function(){return t})()}function Rt(t,e){const i=At();return(Rt=function(t,e){return i[t-=226]})(t,e)}!function(t){const e=Rt,i=t();for(;;)try{if(757269===parseInt(e(227))/1+parseInt(e(242))/2+-parseInt(e(237))/3+-parseInt(e(246))/4*(parseInt(e(262))/5)+parseInt(e(260))/6*(-parseInt(e(256))/7)+parseInt(e(266))/8*(-parseInt(e(231))/9)+parseInt(e(243))/10*(parseInt(e(247))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(At);class Et extends ft.View{[Nt(236)];[Nt(259)];[Nt(254)];constructor(e,i){const s=Nt;super(e),this[s(236)]=new t.FocusTracker,this[s(259)]=new t.KeystrokeHandler,this[s(264)](s(248),""),this[s(254)]=this[s(239)](i),this[s(230)]({tag:s(257),attributes:{class:["ck",s(253),s(241)],tabindex:"-1"},children:[this[s(254)]]}),(0,ft.injectCssTransitionDisabler)(this)}[Nt(265)](){const t=Nt;super[t(265)](),(0,ft.submitHandler)({view:this}),this[t(236)][t(249)](this[t(254)][t(228)]),this[t(259)][t(268)](this[t(228)]);const e=e=>e[t(263)]();this[t(259)][t(264)](t(255),e),this[t(259)][t(264)](t(251),e),this[t(259)][t(264)](t(244),e),this[t(259)][t(264)](t(235),e)}[Nt(240)](){const t=Nt;this[t(254)][t(240)]()}get[Nt(261)](){const t=Nt;return this[t(254)][t(250)][t(228)][t(269)][t(252)]()}set[Nt(261)](t){const e=Nt;this[e(254)][e(250)][e(228)][e(269)]=t[e(252)]()}[Nt(258)](){const t=Nt;this[t(254)][t(250)][t(228)][t(269)]="",this[t(254)][t(238)]=null}[Nt(239)](t){const e=Nt,i=new ft.LabeledFieldView(this[e(233)],ft.createLabeledInputText),s=i[e(250)];s[e(226)]({attributes:{maxlength:e(267)}});let n=G(this[e(233)],e(229));return!t&&(n+=" ("+G(this[e(233)],e(245))+")"),i[e(234)]=n,s.on(e(232),(()=>{const t=e;this[t(248)]=s[t(228)][t(269)][t(252)]()})),i}}const Mt=Vt;function Vt(t,e){const i=Dt();return(Vt=function(t,e){return i[t-=177]})(t,e)}function Dt(){const t=["add","Save current revision","RevisionHistoryUI","1620872FFgUuS","showRevisionViewerCallback","20iEpqTw","hide","Accept","_saveRevisionFormView","revisionHistory.requireRevisionName","1650174AgEibC","get","panelView","5lLKpiL","ck-button-action","18ObqUIm","isReady","focus","42494DZPxHO","children","_showDialog","isReadOnly","plugins","revisionSave","isEnabled","view","items","init","15570430virmlY","The revision name cannot be empty.","requires","menu","execute","11FyLskN","editing","Revision history","revisionHistory","set","2996718xejGhf","show","RevisionTracker","errorText","config","_createSaveRevisionFormView","role","_registerMenuComponent","editor","revisionName","854365OYLSCd","revisionNameInputView","componentFactory","isOfficialPlugin","Dialog","render","reset","menuitem","isPremiumPlugin","addMany","Cancel","locale","menuBar:revisionHistory","isOpen","submit","saveRevision","delegate","8593284uxvECb","pluginName","Open revision history","buttonView","bind"];return(Dt=function(){return t})()}!function(t){const e=Vt,i=t();for(;;)try{if(710396===-parseInt(e(201))/1*(-parseInt(e(206))/2)+parseInt(e(226))/3+-parseInt(e(193))/4*(parseInt(e(236))/5)+-parseInt(e(198))/6+-parseInt(e(183))/7+parseInt(e(191))/8*(parseInt(e(203))/9)+-parseInt(e(216))/10*(-parseInt(e(221))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Dt);class Ct extends U.Plugin{static get[Mt(184)](){return Mt(190)}static get[Mt(239)](){return!0}static get[Mt(244)](){return!0}static get[Mt(218)](){return[nt]}[Mt(196)];[Mt(215)](){const t=Mt,e=this[t(234)],i=e[t(210)][t(199)](t(228));e.ui[t(238)][t(188)](t(224),(s=>{const n=t,r=(0,ft.createDropdown)(s),o=r[n(200)][n(207)],a=new ft.ListView(s),c=new ft.ListItemView(s),u=new ft.ButtonView(s),l=new ft.ListItemView(s),h=new ft.ButtonView(s);return r[n(187)](n(212)).to(i,n(204),i,n(212),e,n(209),((t,e,i)=>t&&e&&!i)),r[n(186)][n(225)]({icon:dt.IconHistory,label:G(s,n(223)),tooltip:!0}),u[n(225)]({label:G(s,n(189)),withText:!0,role:n(243)}),u[n(187)](n(212)).to(i,n(204),i,n(212),e,n(209),((t,e,i)=>t&&e&&!i)),u.on(n(220),(()=>this[n(208)]())),h[n(225)]({label:G(s,n(185)),withText:!0,role:n(243)}),h[n(187)](n(212)).to(i,n(204),e,n(209),((t,e)=>t&&!e)),h.on(n(220),(()=>{const t=n;e[t(230)][t(199)](t(224))[t(192)](),r[t(179)]=!1,e[t(222)][t(213)][t(205)]()})),c[n(207)][n(188)](u),l[n(207)][n(188)](h),a[n(232)]=n(219),a[n(214)][n(245)]([c,l]),o[n(188)](a),r})),e.ui[t(238)][t(188)](t(178),(()=>this[t(233)]()))}[Mt(233)](){const t=Mt,e=this[t(234)],i=e[t(177)],s=new ft.MenuBarMenuView(i),n=new ft.MenuBarMenuListView(i);s[t(186)][t(225)]({icon:dt.IconHistory,label:G(i,t(223))});const r=new ft.MenuBarMenuListItemView(i,s),o=new ft.MenuBarMenuListItemButtonView(i);o[t(225)]({label:G(i,t(189))}),o[t(182)](t(220)).to(s),o.on(t(220),(()=>{this[t(208)]()})),r[t(207)][t(188)](o),n[t(214)][t(188)](r);const a=new ft.MenuBarMenuListItemView(i,s),c=new ft.MenuBarMenuListItemButtonView(i);return c[t(225)]({label:G(i,t(185))}),c[t(182)](t(220)).to(s),c.on(t(220),(()=>{const i=t;e[i(230)][i(199)](i(224))[i(192)]()})),a[t(207)][t(188)](c),n[t(214)][t(188)](a),s[t(200)][t(207)][t(188)](n),s}[Mt(208)](){const t=Mt,e=this[t(234)],i=e[t(177)],s=e[t(210)][t(199)](t(240)),n=e[t(210)][t(199)](t(228));function r(n){const r=t;e[r(230)][r(199)](r(197))&&""===n[r(235)]?n[r(237)][r(229)]=G(i,r(217)):(e[r(210)][r(199)](nt)[r(181)]({name:n[r(235)]}),s[r(194)]())}this[t(196)]||(this[t(231)](),this[t(196)].on(t(180),(()=>r(this[t(196)])))),this[t(196)][t(242)](),s[t(227)]({id:t(211),title:G(i,t(189)),isModal:!0,content:this[t(196)],actionButtons:[{label:G(e[t(177)],t(246)),withText:!0,onExecute:()=>s[t(194)]()},{label:G(e[t(177)],t(195)),class:t(202),withText:!0,onCreate(i){const s=t;i[s(187)](s(212)).to(n,s(204),n,s(212),e,s(209),((t,e,i)=>t&&e&&!i))},onExecute:()=>r(this[t(196)])}]})}[Mt(231)](){const t=Mt,e=this[t(234)],i=e[t(177)];this[t(196)]=new Et(i,e[t(230)][t(199)](t(197))),this[t(196)][t(241)]()}}function Ft(){const t=["element","ck-revision-change__label","isSuggestion","Suggested by","203FplEmz","span","Removed by","data","ck-revision-change","setTemplate","set","1378458EgJyXH","329155LNlxDZ","ck-annotation","466locADb","author","div","Added by","ck-revision-change__","_model","changeId","focus","68dYcZhv","bindTemplate","type","add","113412SsJNvk","3838614OUzhyK","name","8163099JqyILG","5049928tGOxKu"];return(Ft=function(){return t})()}const Lt=jt;function jt(t,e){const i=Ft();return(jt=function(t,e){return i[t-=138]})(t,e)}!function(t){const e=jt,i=t();for(;;)try{if(820092===parseInt(e(153))/1*(-parseInt(e(163))/2)+parseInt(e(145))/3+parseInt(e(140))/4*(-parseInt(e(161))/5)+parseInt(e(144))/6+parseInt(e(147))/7+-parseInt(e(148))/8+parseInt(e(160))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ft);class Pt extends ft.View{[Lt(138)];[Lt(168)];constructor(t,e){const i=Lt;super(t),this[i(168)]=e,this[i(138)]=e.id;const s=this[i(141)],n=G(t,e[i(156)][i(151)]?i(152):i(143)==e[i(142)]?i(166):i(155));this[i(159)](i(142),e[i(142)]),this[i(158)]({tag:i(165),attributes:{class:[i(162),i(157),s.to(i(142),(t=>i(167)+t))],tabindex:-1},children:[{tag:i(154),children:[{tag:i(154),attributes:{class:[i(150)]},children:[{text:n}]},{text:" "+e[i(164)][i(146)]}]}]})}[Lt(139)](){const t=Lt;this[t(149)][t(139)]()}}var Wt=zt;function zt(t,e){var i=Ut();return(zt=function(t,e){return i[t-=273]})(t,e)}function Ut(){var t=["370qfjJjR","author","rootName","toJSON","2362376agBara","99apMowt","4893816HkTZAN","80479XWlTxB","22uljYke","9440mnFoaH","createdAt","3024510mQKGdw","type","360546yISfYw","data","8hfFlme","224397UBWPGD","342glenTd","set"];return(Ut=function(){return t})()}!function(t){for(var e=zt,i=t();;)try{if(569659===-parseInt(e(281))/1*(-parseInt(e(285))/2)+-parseInt(e(289))/3*(-parseInt(e(291))/4)+-parseInt(e(287))/5+-parseInt(e(274))/6*(-parseInt(e(283))/7)+-parseInt(e(280))/8+parseInt(e(273))/9*(parseInt(e(276))/10)+parseInt(e(284))/11*(-parseInt(e(282))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class Zt extends((0,t.ObservableMixin)()){id;[Wt(277)];[Wt(288)];[Wt(290)];[Wt(278)];constructor(e){var i=Wt;super(),this.id=e.id||(0,t.uid)(),this[i(277)]=e[i(277)],this[i(288)]=e[i(288)],this[i(290)]=e[i(290)]||{},this[i(278)]=e[i(278)],this[i(275)](i(286),e[i(286)])}[Wt(279)](){var t=Wt;return{id:this.id,authorId:this[t(277)].id,type:this[t(288)],data:this[t(290)],createdAt:this[t(286)]}}}const Ht=$t;function qt(){const t=["25804hmQmDY","171126AzHTfd","2127915pCjBUZ","19VfxURg","changes","536285YGfBqu","4440534yXcJQh","1031500BxxuTP","190iyonKK","add","newRevisionId","_setChanges","oldRevisionId","6PCAgfn","8CQqjll","437327SstJSy"];return(qt=function(){return t})()}function $t(t,e){const i=qt();return($t=function(t,e){return i[t-=106]})(t,e)}!function(t){const e=$t,i=t();for(;;)try{if(453584===-parseInt(e(106))/1*(parseInt(e(119))/2)+parseInt(e(121))/3+-parseInt(e(110))/4+parseInt(e(108))/5*(parseInt(e(116))/6)+-parseInt(e(109))/7+parseInt(e(117))/8*(parseInt(e(120))/9)+-parseInt(e(111))/10*(-parseInt(e(118))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Bt{[Ht(113)];[Ht(115)];[Ht(107)];constructor(e,i){const s=Ht;this[s(113)]=e,this[s(115)]=i,this[s(107)]=new t.Collection}[Ht(114)](t){const e=Ht;for(const i of t)this[e(107)][e(112)](i)}}var Yt=i(536),Gt={attributes:{"data-cke":!0}};Gt.setAttributes=wt(),Gt.insert=kt().bind(null,"head"),Gt.domAPI=gt(),Gt.insertStyleElement=It();pt()(Yt.A,Gt);Yt.A&&Yt.A.locals&&Yt.A.locals;const Jt=Kt;function Kt(t,e){const i=ee();return(Kt=function(t,e){return i[t-=346]})(t,e)}!function(t){const e=Kt,i=t();for(;;)try{if(482825===-parseInt(e(578))/1*(-parseInt(e(450))/2)+-parseInt(e(647))/3+parseInt(e(438))/4+parseInt(e(613))/5*(parseInt(e(617))/6)+-parseInt(e(632))/7*(parseInt(e(656))/8)+parseInt(e(501))/9+-parseInt(e(607))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);const Xt={c:H.ViewContainerElement,a:H.ViewAttributeElement,e:H.ViewEmptyElement,r:H.ViewRawElement,u:H.ViewUIElement};class Qt extends U.Plugin{[Jt(637)];[Jt(393)];[Jt(509)];[Jt(412)];[Jt(514)];[Jt(458)];static get[Jt(491)](){return Jt(357)}static get[Jt(464)](){return!0}static get[Jt(569)](){return!0}static get[Jt(423)](){return[Z.Users,ft.ContextualBalloon,B]}constructor(t){const e=Jt;super(t),this[e(637)]=this[e(594)][e(658)][e(404)](e(605)),this[e(359)](e(622),null),this[e(359)](e(376),null),this[e(509)]=null,this[e(359)](e(673),null),this[e(359)](e(483),!1),this[e(359)](e(653),!0),this.on(e(371),((t,i,s)=>{const n=e;this[n(622)]=null,this[n(376)]=null,this[n(594)][n(604)][n(479)][n(451)]((t=>{const e=n;for(const i of this[e(594)][e(604)][e(479)][e(358)][e(579)])s?t[e(378)](e(377),i):t[e(623)](e(377),i)}))})),this[e(511)](e(644)).to(this,e(622),(t=>null!==t)),this[e(511)](e(562)).to(this,e(483),this,e(673),this,e(622),((t,i,s)=>t&&s?i[e(682)][e(531)](s):0)),this[e(511)](e(347)).to(this,e(483),this,e(673),((t,i)=>t?i[e(682)][e(346)]:0)),this[e(412)]=null,this[e(514)]=new Map,this[e(393)]=null,this[e(458)]=this[e(594)][e(658)][e(404)](ft.ContextualBalloon)}[Jt(610)](){const t=Jt,e=this[t(594)],i=new se(e,{direction:t(614)}),s=new se(e,{direction:t(600)});e[t(655)][t(596)](t(399),i),e[t(655)][t(596)](t(683),s),e[t(655)][t(596)](t(477),new ie(e)),this.on(t(520),(()=>{const e=t;i[e(432)](),s[e(432)]()})),this[t(678)](),this[t(530)](),e[t(452)](t(558)),e[t(658)][t(603)](t(350))&&e[t(658)][t(404)](t(350))[t(546)](t(558))}async[Jt(507)](t){const e=Jt;await this[e(437)](t);const i={};for(const s in t[e(629)]){if(t[e(629)][s][e(567)]&&!t[e(629)][s][e(567)][e(539)])continue;const n=this[e(411)](JSON[e(641)](t[e(629)][s][e(433)])),r=this[e(594)][e(604)][e(479)][e(358)],o=new H.ViewDocumentFragment(r,n[e(508)]((t=>this[e(543)](t))));this[e(594)][e(375)][e(397)][e(384)](e(560)),i[s]=this[e(594)][e(375)][e(397)][e(484)](o),this[e(594)][e(375)][e(397)][e(384)](e(408))}return i}async[Jt(463)](t){const e=Jt;await this[e(437)](t);const i={};for(const s in t[e(629)])t[e(629)][s][e(567)]&&!t[e(629)][s][e(567)][e(539)]||(i[s]=t[e(629)][s][e(424)]||{});return i}[Jt(411)](t){const e=Jt;return(t=t[e(367)]((t=>!t[e(355)]||e(391)!==t[e(355)]&&e(362)!==t[e(355)])))[e(354)]((t=>{const i=e;i(490)!=typeof t&&(t[i(418)]=this[i(411)](t[i(418)]),t[i(650)]=t[i(650)][i(367)]((t=>!t[0][i(383)](i(461)))))})),t}async[Jt(349)](t,e,i=!1){const s=Jt;if(!this[s(653)])return;const n=this[s(673)],r=this[s(637)],o=s(490)==typeof t?r[s(441)](t):t,a=s(490)==typeof e?r[s(441)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(673)]&&this[s(673)][s(448)]===c&&this[s(673)][s(492)]===u)return Promise[s(654)]();this[s(483)]=!1,this[s(376)]=null,this[s(622)]=null,this[s(673)]=new Bt(c,u);const l=this[s(532)](o,a,!0)[s(508)]((t=>this[s(437)](t)));return l[s(636)](new Promise((t=>{setTimeout(t,20)}))),Promise[s(602)](l)[s(611)]((()=>{const t=s;if(!this[t(653)])return;this[t(595)]();const e=this[t(457)](c,u);for(const i of e[t(682)])this[t(514)][t(359)](i.id,i);this[t(594)][t(589)][t(545)]({isUndoable:!1},(i=>{const s=t;for(const t of this[s(594)][s(589)][s(358)][s(528)]())i[s(573)](t);for(const t of Object[s(588)](e[s(589)])){const n=i[s(510)](t);for(const r of Object[s(588)](e[s(650)][t]))i[s(563)](r,e[s(650)][t][r],n);i[s(585)](e[s(589)][t],n,0)}})),this[t(673)][t(552)](this[t(679)](e[t(682)])),this[t(483)]=!0}))[s(446)]((t=>{const e=s;console[e(389)](t),this[e(595)](),n&&(this[e(673)]=n),this[e(483)]=!0}))}[Jt(462)](t,e){const i=Jt,s=this[i(637)][i(426)](t);return s.on(i(469),((t,i,n)=>e(i,n,s))),this[i(637)][i(504)](s),s}[Jt(437)](t){const e=Jt;if(!t||t[e(629)])return Promise[e(654)]();{const i=this[e(594)][e(624)][e(404)](e(414));return this[e(393)][e(441)]({channelId:i,revisionId:t.id})[e(611)]((i=>{const s=e;t[s(469)]({diffData:i[s(629)]},!0)}))}}[Jt(595)](){const t=Jt;this[t(622)]=null,this[t(526)](),this[t(412)]&&this[t(412)][t(538)](),this[t(412)]=null,this[t(514)][t(642)](),this[t(594)][t(589)][t(545)]({isUndoable:!1},(e=>{const i=t;for(const t of this[i(594)][i(589)][i(358)][i(528)]())e[i(573)](t)}))}[Jt(679)](t){const e=Jt,i=[],s=new Map;for(const t of this[e(594)][e(589)][e(358)][e(528)]()){const n=this[e(594)][e(604)][e(479)][e(583)](t);if(!n)continue;const r=n[e(643)]()[e(351)](0);r&&(i[e(636)](t),s[e(359)](t,r))}return i[e(415)](((t,i)=>{const n=e,r=s[n(404)](t),o=s[n(404)](i);return r.y-o.y||r.x-o.x})),(t=t[e(367)]((t=>i[e(548)](t[e(406)]))))[e(415)](((t,s)=>i[e(470)](t[e(406)])-i[e(470)](s[e(406)]))),t}[Jt(681)](t){const e=Jt,i=Array[e(665)](t[e(366)])[e(367)]((([t,i])=>t[e(383)](e(587))&&!i[e(460)])),s=Array[e(665)](this[e(594)][e(589)][e(506)](t)[e(485)]({singleCharacters:!0}));if(0!=i[e(346)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(662)](":");if(n[e(620)][e(425)](t[e(364)])&&i[e(401)](),(t[e(584)][e(425)](n[e(659)])||t[e(584)][e(487)](n[e(659)]))&&(e(640)==r?t[e(663)]={userId:o}:e(586)==r&&(t[e(630)]={userId:o})),0==i[e(346)])break}return s}[Jt(468)](t){const e=Jt,i=new Map;for(let s=0;s<t[e(346)];s++)e(568)===t[s][e(395)]?(t[s][e(351)][e(570)]=s,t[s][e(351)][e(489)]=s):(e(517)===t[s][e(395)]?t[s][e(351)][e(570)]=s:e(379)===t[s][e(395)]&&(t[s][e(351)][e(489)]=s),i[e(359)](t[s].id,s));for(const s of i[e(590)]())e(517)===t[s][e(395)]?t[s][e(351)][e(489)]=i[e(404)](t[s][e(626)]):e(379)===t[s][e(395)]&&(t[s][e(351)][e(570)]=i[e(404)](t[s][e(626)]))}[Jt(368)](t){const e=Jt;for(let i=0;i<t[e(346)];i++){if(e(517)===t[i][e(395)])t[i][e(351)][e(570)]=i;else if(e(379)===t[i][e(395)]){t[i][e(351)][e(489)]=i;const s=t[i][e(351)][e(570)];t[s][e(626)]=t[i].id,t[i][e(626)]=t[s].id}else t[i][e(351)][e(570)]=i,t[i][e(351)][e(489)]=i,t[i][e(626)]=null;t[i][e(574)]||(t[i][e(574)]=[],t[i][e(627)]=[])}}[Jt(618)](t,e){const i=Jt,s=t[i(367)]((t=>!t[i(663)]));for(let t=0;t<e[i(346)];t++)e[t][i(663)]&&(s[t][i(663)]=e[t][i(663)])}[Jt(516)](t){const e=Jt,i=JSON[e(641)](t),s=this[e(594)][e(604)][e(479)][e(358)],n=new H.ViewDocumentFragment(s,i[e(508)]((t=>this[e(543)](t))));return this[e(594)][e(375)][e(443)](n)}[Jt(543)](t){const e=Jt,i=this[e(594)][e(604)][e(479)][e(358)];if(e(490)==typeof t)return new H.ViewText(i,t);{const s=t[e(418)][e(508)]((t=>this[e(543)](t)));return new(Xt[t[e(395)]]||H.ViewElement)(i,t[e(355)],t[e(650)],s)}}[Jt(457)](t,e=null){const i=Jt,s=this[i(637)][i(441)](t),n=e?this[i(637)][i(441)](e):null,r=this[i(532)](s,n),o=r[r[i(346)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(346)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(588)](e[i(629)]))if(e[i(629)][t][i(567)]){const s=e[i(629)][t][i(567)];s[i(539)]?(u[i(596)](t),l[i(603)](t)&&l[i(404)](t)[i(499)]==s[i(499)]?l[i(421)](t):l[i(359)](t,s)):l[i(603)](t)?(u[i(421)](t),l[i(421)](t)):(u[i(596)](t),l[i(359)](t,s))}else u[i(596)](t)}for(const t of u){const e=l[i(603)](t)&&!l[i(404)](t)[i(539)];let s=e?r[i(346)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(629)][t]){const s=e?o[i(629)][t][i(634)]:o[i(629)][t][i(424)];c[i(650)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(589)]={};for(const e of t[i(420)])a[i(359)](e.id,e);for(const e of u){const s=t[i(629)][e]?t[i(629)][e][i(433)]:"[]",n=t[i(629)][e]?t[i(629)][e][i(392)]:"[]";t[i(589)][e]={insertions:this[i(516)](s),deletions:this[i(516)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(665)](s[i(589)][t][i(433)][i(366)])[i(367)]((([t])=>!t[i(383)](i(587)))));let h=0;for(const o of r){const r=this[i(681)](o[i(589)][t][i(433)]);o==s?(e=r,n=e[i(346)],e[i(354)]((t=>{t.id=h++})),this[i(368)](e)):this[i(618)](e,r);const a=e[i(367)]((t=>!t[i(663)]))[i(508)]((t=>t.id));let c=0;const l=this[i(681)](o[i(589)][t][i(392)]);l[i(354)]((t=>{t[i(630)]?t.id=n++:t.id=a[c++]})),this[i(368)](l),this[i(480)](e,i(663)),this[i(480)](l,i(630)),o==s&&this[i(631)](e,u),e=this[i(527)](e,l),this[i(468)](e),this[i(480)](e,i(630))}e=e[i(367)]((t=>!(t[i(663)]&&t[i(630)])));const d=new Map(o[i(589)][t][i(392)][i(366)]),f=new Set(u[i(588)]());for(const t of d[i(588)]())f[i(421)](t);this[i(478)](e,f),this[i(638)](e),e=this[i(608)](e),e=this[i(419)](e),e=this[i(373)](e);const{root:m,changes:p}=this[i(459)](e,a,t);c[i(589)][t]=m;const v=l[i(404)](t);if(v){const e=a[i(404)](v[i(499)]),s=new Zt({author:e,type:v[i(539)]?i(596):i(554),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(660)](s),c[i(650)][t][i(348)]=s.id}c[i(682)]=c[i(682)][i(621)](p)}return c}[Jt(631)](t,e){const i=Jt;for(let s=0;s<t[i(346)];s++)for(const[n,r]of e)r[i(659)][i(425)](t[s][i(584)])&&t[s][i(574)][i(636)](n),r[i(620)][i(425)](t[s][i(364)])&&t[s][i(627)][i(636)](n)}[Jt(527)](t,e){const i=Jt;let s=[],n=0,r=0;for(;n<t[i(346)]||r<e[i(346)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(636)](o);else if(a[i(630)]&&o[i(663)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(365)](t,n,e,r);s=s[i(621)](o),n=a,r=c}else a[i(630)]?(r++,s[i(636)](a)):(n++,s[i(636)](o))}return s}[Jt(478)](t,e){const i=Jt,s=[];for(let o=0;o<t[i(346)];o++){for(let r=0;r<t[o][i(574)][i(346)];r++){const a=t[o][i(574)][r];if(!e[i(603)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(668)!=c||i(640)!=u&&i(586)!=u||(s[i(660)]({type:u,name:a,userId:l}),t[o][i(574)][i(648)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(627)][i(346)];r++){const a=t[o][i(627)][r];if(!e[i(603)](a))continue;const{group:c,type:u}=n(a);if(i(668)!=c||i(640)!=u&&i(586)!=u)continue;t[o][i(627)][i(648)](r,1),r--;const l=s[i(473)]((t=>t[i(355)]==a));l>-1&&s[i(648)](l,1)}}function n(t){const e=i,s=t[e(662)](":");return{group:s[0],type:s[1],subType:s[e(346)]>=5?s[2]:null,id:s[e(346)]<5?s[2]:s[3],authorId:s[e(346)]<5?s[3]:s[4],markerCount:6==s[e(346)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(346)];i++){if(t[e(663)]&&e(640)==s[i][e(395)])return t[e(625)]=s[i],void delete t[e(663)];if(!t[e(663)]&&!t[e(630)]&&e(586)==s[i][e(395)])return void(t[e(447)]=s[i])}}}[Jt(480)](t,e){const i=Jt;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(359)](o.id,s);for(let s=0;s<t[i(346)];s++){if(i(630)==e&&t[s][i(663)]||i(663)==e&&t[s][i(630)])continue;if(i(568)==t[s][i(395)]){t[s][i(396)]=0;continue}const n=r[i(404)](t[s][i(626)]),o=r[i(404)](t[s].id);t[s][i(396)]=n-o}}[Jt(532)](t,e,i=!1){const s=Jt,n=[];let r=this[s(637)][s(531)](t),o=this[s(637)][s(531)](e);for(-1==o&&(o=this[s(637)][s(409)][s(346)],i=!1);r<o;)n[s(636)](this[s(637)][s(441)](r)),r++;return i&&n[s(636)](this[s(637)][s(441)](r)),n}[Jt(365)](t,e,i,s){const n=Jt,r=this[n(594)][n(589)][n(352)];let o=e;for(;t[o]&&t[o][n(663)];)o++;let a=s;for(;i[a]&&i[a][n(630)];)a++;u(t,e,o),u(i,s,a);const c=i[n(555)](s,a)[n(621)](t[n(555)](e,o));return c[n(415)](((t,e)=>t[n(486)]!=e[n(486)]?t[n(486)]-e[n(486)]:t[n(512)]!=e[n(512)]?t[n(512)]-e[n(512)]:t[n(396)]!=e[n(396)]?e[n(396)]-t[n(396)]:!!t[n(663)]!=!!e[n(663)]?-1==t[n(486)]||0==t[n(486)]?t[n(663)]?-1:1:t[n(663)]?1:-1:t[n(495)]-e[n(495)])),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(649)],c=!0;for(let n=e;n<i;n++)if(r[s(601)](t[n][s(351)])||(c=!1),t[n][s(351)][s(570)]<e&&(o=n),t[n][s(351)][s(489)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(486)]=n<=o?-1:n<a?0:1,t[n][s(495)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(396)]?t[i][s(512)]=u:(u++,t[i][s(512)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(486)]&&(t[n][s(512)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(396)]?t[e][s(512)]=u:(u--,t[e][s(512)]=u,u--)}}[Jt(638)](t){const e=Jt,i=new Map,s=this[e(594)][e(589)][e(352)];for(let n=1;n<t[e(346)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(568)==c[e(395)])continue;if(c[e(395)]!=u[e(395)])continue;if(!s[e(449)](u[e(351)])||s[e(498)](u[e(351)]))continue;if(!s[e(449)](c[e(351)])||s[e(498)](c[e(351)]))continue;if((t[n][e(663)]||t[n][e(625)])&&t[n-1][e(630)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(630)]||!t[n-1][e(663)]&&!t[n-1][e(625)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(512)]==o[e(512)],h=Math[e(593)](r[e(512)])<Math[e(593)](o[e(512)])&&0==o[e(396)];(l||h)&&(i[e(359)](o.id,r.id),t[e(648)](a,1),n--,r[e(663)]=!1)}for(let s=0;s<t[e(346)];s++)i[e(603)](t[s][e(626)])&&(t[s][e(626)]=i[e(404)](t[s][e(626)]))}[Jt(608)](t){const e=Jt,i=new Set(t[e(508)]((t=>t.id)));for(let s=0;s<t[e(346)];s++)i[e(603)](t[s][e(626)])||0==t[s][e(396)]||(t[s][e(616)]=!0);return t[e(367)]((t=>!t[e(616)]))}[Jt(419)](t){const e=Jt,i=new Set;for(let s=0;s<t[e(346)];s++){if(i[e(603)](t[s].id)&&t[s][e(630)]&&(t[s][e(616)]=!0),t[s][e(616)])continue;if(0==t[s][e(396)])continue;if(e(517)!=t[s][e(395)])continue;if(null==t[s][e(626)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(626)];)e(517)==t[n][e(395)]?r++:e(379)==t[n][e(395)]&&r--,n++;if(0!=r)if(t[s][e(630)])t[s][e(616)]=!0;else for(;n!=s;)t[n][e(630)]&&0!=t[n][e(396)]&&(t[n][e(616)]=!0,i[e(596)](t[n][e(626)])),n--}return t[e(367)]((t=>!t[e(616)]))}[Jt(373)](t){const e=Jt,i=this[e(594)][e(589)][e(352)];for(let s=0;s<t[e(346)];s++){if(!(t[s][e(663)]||t[s][e(625)]||t[s][e(630)]||t[s][e(447)]))continue;if(0==t[s][e(396)])continue;const n=t[s][e(351)];i[e(449)](n)||i[e(498)](n)||(t[s][e(663)]&&delete t[s][e(663)],t[s][e(625)]&&delete t[s][e(625)],t[s][e(447)]&&delete t[s][e(447)],t[s][e(630)]&&(t[s][e(616)]=!0))}return t[e(367)]((t=>!t[e(616)]))}[Jt(459)](t,e,i){const s=Jt,n=new H.DocumentFragment,r=[],o=new Map,a=this[s(594)][s(589)],c=a[s(352)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(346)];e++)if(s(517)===t[e][s(395)]){t[e][s(584)]=a[s(413)](n,f);const i=new H.Element(t[e][s(351)][s(355)],t[e][s(351)][s(599)]());u[0][s(385)](i),f[s(636)](0),u[s(660)](i),t[e][s(364)]=a[s(413)](n,f)}else s(379)===t[e][s(395)]?(u[s(401)](),t[e][s(584)]=a[s(413)](n,f),f[s(430)](),f[f[s(346)]-1]++,t[e][s(364)]=a[s(413)](n,f)):(t[e][s(584)]=a[s(413)](n,f),d?d[s(592)]+=t[e][s(351)][s(375)]:d=new H.Text(t[e][s(351)][s(375)],t[e][s(351)][s(599)]()),t[e+1]&&s(568)===t[e+1][s(395)]&&v(d,t[e+1][s(351)])||(u[0][s(385)](d),d=null),f[f[s(346)]-1]+=t[e][s(351)][s(488)],t[e][s(364)]=a[s(413)](n,f));for(let e=0;e<t[s(346)];e++){const i=t[e][s(584)],n=t[e][s(364)];for(const n of t[e][s(574)])o[s(359)](n,{start:i,end:null});m(s(447),e,i,n),m(s(625),e,i,n),m(s(630),e,i,n),m(s(663),e,i,n);for(const i of t[e][s(627)])o[s(404)](i)[s(620)]=n}for(const[t,e]of o){const i=this[s(594)][s(589)][s(564)](e[s(659)],e[s(620)]);n[s(366)][s(359)](t,i)}return r[s(415)](((t,e)=>{const i=s,r=n[i(366)][i(404)](i(587)+t.id),o=n[i(366)][i(404)](i(587)+e.id);return r[i(659)][i(541)](o[i(659)])?-1:r[i(659)][i(487)](o[i(659)])?1:r[i(620)][i(541)](o[i(620)])?-1:r[i(620)][i(487)](o[i(620)])?1:i(596)===t[i(395)]?-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(499)]:null,d=i===t[o(346)]-1,f=h[e][0],m=c[o(422)](t[i][o(351)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(620)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(499)]!==u&&(l[e][o(620)]=n,f&&f[o(499)]===l[e][o(499)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(517)!==t[i][o(395)]||f&&f[o(499)]===u||h[e][o(660)]({userId:u,object:t[i][o(351)],change:l[e]}),o(379)===t[i][o(395)]&&f&&f[o(591)]===t[i][o(351)]&&(h[e][o(401)](),l[e]=f[o(451)])),l[e]&&d&&(l[e][o(620)]=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(351)],f=a[h(352)][h(449)](d)&&!a[h(352)][h(498)](d),m=t[h(372)]==o[h(670)]&&o[h(455)];if(f&&m)return;const p=a[h(564)](t,o),v=e[h(404)](u),g=new Zt({author:v,type:h(663)==l||h(625)==l?h(596):h(554),data:{isSuggestion:h(625)==l||h(447)==l},createdAt:new Date,rootName:i});r[h(636)](g),n[h(366)][h(359)](h(587)+g.id,p)}function v(t,e){const i=s,n=t[i(599)](),r=e[i(599)]();for(const t of n){if(t[1]!==e[i(666)](t[0]))return!1;r[i(635)]()}return r[i(635)]()[i(551)]}}[Jt(678)](){const t=Jt;this[t(594)][t(435)][t(542)](t(676))[t(612)]({view:t(549)}),this[t(594)][t(435)][t(542)](t(456))[t(388)]({model:t(549),view:e=>{const i=t,s=e[i(505)][i(662)](":")[1],n=this[i(646)](s);if(!n)return null;const r=i(596)==n[i(395)]?i(640):i(586),o=[i(370),i(442)+r];return n[i(375)][i(444)]&&o[i(636)](i(442)+r+i(566)),this[i(622)]==n&&o[i(636)](i(519)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(594)][t(435)][t(542)](t(676))[t(596)]((e=>{const i=t;e.on(i(353),((t,e,s)=>{const n=i,r=e[n(529)][n(536)](0);if(!r||!r.is(n(557),n(657)))return;if(!s[n(431)][n(628)](r,{attributes:[n(363),n(652)]}))return;const o=e[n(674)][n(659)][n(372)];s[n(386)][n(563)](n(363),r[n(666)](n(363)),o),s[n(386)][n(563)](n(652),r[n(666)](n(652)),o)}),{priority:i(582)})})),this[t(594)][t(435)][t(542)](t(676))[t(596)]((e=>{const i=t;e.on(i(557),((t,e,s)=>{const n=i;if(!s[n(431)][n(628)](e[n(529)],{attributes:[n(363),n(652)]}))return;if(e[n(674)][n(460)])return;const r=e[n(674)][n(659)][n(372)];r[n(672)](n(363))||r[n(672)](n(606))||(s[n(386)][n(563)](n(363),e[n(529)][n(666)](n(363)),r),s[n(386)][n(563)](n(652),e[n(529)][n(666)](n(652)),r))}),{priority:i(582)})})),this[t(594)][t(435)][t(542)](t(676))[t(534)]({view:{name:t(598),attributes:{vid:!0}},model:{key:t(606),value:e=>e[t(666)](t(606))}}),this[t(594)][t(589)][t(352)].on(t(513),((e,[,i])=>{const s=t;[s(363),s(652),s(606)][s(548)](i)&&(e[s(553)]=!0,e[s(675)]())}),{priority:t(410)}),this[t(594)][t(435)][t(542)](t(497))[t(596)]((e=>{const i=t;e.on(i(381),((t,e,s)=>{const n=i;if(" "!=e[n(351)][n(375)]||e[n(351)][n(670)][n(502)]>1)return;if(!s[n(431)][n(628)](e[n(351)],t[n(355)]))return;const r=s[n(386)],o=s[n(407)][n(503)](e[n(369)]);r[n(556)](o,r[n(402)](n(598)))}))})),this[t(594)][t(435)][t(542)](t(497))[t(382)]({model:t(549)}),this[t(594)][t(604)][t(387)].on(t(540),function(e){const i=t,s=e[i(658)][i(404)](i(357));return(t,n,r)=>{const o=i,a=n[o(505)][o(662)](":")[1],c=s[o(646)](a);if(!c)return null;const u=o(596)==c[o(395)]?o(662):o(550);if(!r[o(431)][o(439)](n[o(667)],t[o(355)]))return;const l=n[o(667)][o(485)](),h=n[o(667)][o(659)],d=e[o(589)][o(352)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(351)];p=p||d[o(535)](e);const i=r[o(407)][o(669)](e);if(i&&i[o(471)](o(481)))return;o(379)==t[o(395)]&&d[o(449)](e)&&!d[o(498)](e)&&(e[o(561)]||h[o(522)]?f&&f[o(670)]==e||(f=e,g(t[o(584)]),v=!0):m=m||t[o(584)])}function g(t){const e=o,i=r[e(386)][e(428)](e(598),{class:e(442)+u}),a=r[e(407)][e(565)](t);c[e(375)][e(444)]&&r[e(386)][e(623)](e(442)+u+e(566),i),s[e(622)]==c&&r[e(386)][e(623)](e(519),i),r[e(386)][e(585)](a,i),r[e(407)][e(405)](i,n[e(505)])}p||v||!m||g(m)}}(this[t(594)]),{priority:t(547)}),this[t(594)][t(604)][t(387)].on(t(521),((e,i,s)=>{const n=t,r=s[n(407)][n(580)](i[n(505)]);if(r)for(const t of r)(t[n(474)](n(572))||t[n(474)](n(496)))&&(s[n(407)][n(677)](t,i[n(505)]),s[n(386)][n(554)](t))}),{priority:t(547)}),this[t(594)][t(604)][t(387)].on(t(540),((e,i,s)=>{const n=t,r=i[n(505)][n(662)](":")[1],o=this[n(646)](r);if(!o)return null;const a=n(596)==o[n(395)]?n(662):n(550);if(s[n(431)][n(439)](i[n(667)],e[n(355)]))for(const t of i[n(667)][n(400)]()){if(!t.is(n(557),n(523)))continue;const e=s[n(386)][n(428)](n(598),{class:n(442)+a}),r=s[n(407)][n(565)](this[n(594)][n(589)][n(434)](t));o[n(375)][n(444)]&&s[n(386)][n(623)](n(442)+a+n(566),e),this[n(622)]==o&&s[n(386)][n(623)](n(519),e),s[n(386)][n(585)](r,e),s[n(407)][n(405)](e,i[n(505)])}}),{priority:t(547)}),this[t(594)][t(589)][t(358)].on(t(451),(()=>{const e=t;this[e(594)][e(604)][e(479)][e(451)]((t=>{const i=e;for(const e of this[i(594)][i(589)][i(358)][i(528)]()){const s=this[i(594)][i(589)][i(358)][i(361)](e),n=this[i(594)][i(604)][i(479)][i(358)][i(361)](e);if(n){const e=s[i(666)](i(348));if(t[i(475)](i(429),n),t[i(378)](i(645),n),t[i(378)](i(417),n),t[i(378)](i(494),n),e){const s=this[i(646)](e);if(!s)return null;t[i(563)](i(429),e,n),t[i(623)](i(374)+s[i(395)],n),this[i(622)]==s&&t[i(623)](i(494),n)}}}}))})),this[t(594)][t(435)][t(542)](t(676))[t(612)]({view:t(633),model:e=>t(476)+e,converterPriority:t(410)}),this[t(594)][t(435)][t(542)](t(676))[t(612)]({view:t(619),model:e=>t(403)+e,converterPriority:t(410)}),this[t(594)][t(435)][t(542)](t(497))[t(382)]({model:t(668),view:e=>({name:t(380)+e,group:t(668)}),converterPriority:t(410)}),this[t(594)][t(435)][t(542)](t(456))[t(388)]({model:t(668),view:e=>{const i=t,s=e[i(505)][i(662)](":")[1];return i(640)!=s&&i(586)!=s?null:{classes:[i(472),i(436)+s]}}}),this[t(594)][t(604)][t(387)].on(t(581),te(this[t(594)],t(550)),{priority:t(547)}),this[t(594)][t(604)][t(387)].on(t(515),te(this[t(594)],t(662)),{priority:t(547)}),this[t(594)][t(604)][t(387)].on(t(493),((e,i,s)=>{const n=t,r=s[n(407)][n(580)](i[n(505)]);if(r)for(const t of r)t.is(n(544))&&(s[n(407)][n(677)](t,i[n(505)]),s[n(386)][n(554)](t))}),{priority:t(547)})}[Jt(646)](t){const e=Jt;return this[e(514)][e(404)](t)}[Jt(416)](t){const e=Jt;return this[e(412)]&&this[e(412)][e(538)](),this[e(412)]=new Pt(this[e(594)][e(356)],t),this[e(412)]}[Jt(530)](){const t=Jt;this[t(594)][t(589)][t(358)][t(671)][t(500)](t(549)),this.on(t(518),((e,i,s,n)=>{const r=t;n&&this[r(458)][r(554)](n),s&&(this[r(458)][r(596)]({view:s,stackId:r(465),position:{target:()=>{const t=r,e=this[t(594)][t(604)],i=this[t(646)](s[t(577)]);let n;if(i[t(375)][t(360)]){const s=e[t(479)][t(583)](i[t(406)]);n=Array[t(665)](s[t(643)]())}else{const i=this[t(594)][t(589)][t(366)][t(404)](t(587)+s[t(577)]);n=Array[t(665)](e[t(407)][t(580)](i[t(355)]))[t(508)]((i=>e[t(479)][t(390)][t(609)](i)))[t(508)]((e=>Array[t(665)](e[t(643)]())))[t(571)]()}return this[t(509)]&&n[t(537)]((e=>e[t(427)]-3<=this[t(509)].y&&e[t(445)]+3>=this[t(509)].y&&e[t(482)]-3<=this[t(509)].x&&e[t(639)]+3>=this[t(509)].x))||n[0]}}}),this[r(458)][r(575)](r(465)))})),this.on(t(597),((e,i,s,n)=>{const r=t;this[r(376)]=s?this[r(416)](s):null,this[r(594)][r(589)][r(451)]((()=>{const t=r,e=this[t(594)][t(604)];n&&(n[t(375)][t(360)]?e[t(479)][t(451)]((i=>{const s=t;i[s(378)](s(494),e[s(479)][s(358)][s(361)](n[s(406)]))})):e[t(651)](t(587)+n.id)),s&&(s[t(375)][t(360)]?e[t(479)][t(451)]((i=>{const n=t;i[n(623)](n(494),e[n(479)][n(358)][n(361)](s[n(406)]))})):e[t(651)](t(587)+s.id))}))})),this[t(661)](this[t(594)][t(604)][t(479)][t(358)],t(453),((e,i)=>{const s=t;if(this[s(622)])return;const n=this[s(576)](i[s(664)]),r=this[s(514)][s(404)](n);r?(this[s(509)]={x:i[s(524)].x,y:i[s(524)].y},this[s(376)]=this[s(416)](r)):(this[s(509)]=null,this[s(376)]=null)})),this[t(661)](this[t(594)][t(604)][t(479)][t(358)],t(398),((e,i)=>{const s=t,n=this[s(576)](i[s(664)]),r=this[s(514)][s(404)](n);r?(this[s(509)]={x:i[s(524)].x,y:i[s(524)].y},r===this[s(622)]?this[s(458)][s(394)]():this[s(622)]=r):(this[s(509)]=null,this[s(622)]=null)}))}[Jt(576)](t){const e=Jt;do{const i=t[e(666)](e(429));if(i)return i;t=t[e(670)]}while(t);return null}[Jt(526)](){const t=Jt;this[t(594)][t(589)][t(451)]((e=>{const i=t;for(const t of this[i(594)][i(589)][i(366)])e[i(533)](t)}))}}function te(t,e){return(i,s,n)=>{const r=Kt;if(!n[r(431)][r(439)](s[r(667)],i[r(355)]))return;const o=s[r(667)][r(485)](),a=s[r(667)][r(659)],c=t[r(589)][r(352)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(351)];h=h||c[r(535)](e);const i=n[r(407)][r(669)](e);if(i&&i[r(471)](r(481)))return;r(379)==t[r(395)]&&c[r(449)](e)&&!c[r(498)](e)&&(e[r(561)]||a[r(522)]?u&&u[r(670)]==e||(u=e,f(t[r(584)]),d=!0):l=l||t[r(584)])}function f(t){const i=r,o=n[i(407)][i(565)](t),a=n[i(386)][i(428)](i(598),{class:i(436)+e});n[i(386)][i(585)](o,a),n[i(407)][i(405)](a,s[i(505)])}h||d||!l||f(l)}}function ee(){const t=["conversion","ck-suggestion-preview-marker-","loadRevisionData","2323692NmVEQf","test","revisionHistory","getRevision","ck-suggestion-marker-","toModel","isSuggestion","bottom","catch","isRemoveSuggestion","newRevisionId","isBlock","2nBNIxm","change","enableReadOnlyMode","mouseover","_step","isAtStart","editingDowncast","_getDiff","_balloon","_makeModelFromTape","isCollapsed","data-revision-","addRevisionData","getRevisionRootsAttributes","isOfficialPlugin","revisionHistoryLabel","affectsData","getLaterVisibleRevision","_refreshStartEndIndex","_update","indexOf","getCustomProperty","ck-suggestion-preview-marker","findIndex","hasClass","removeAttribute","revision-comment:","restoreRevision","_markSuggestions","view","_setDistance","addHighlight","left","isReady","toData","getWalker","side","isAfter","offsetSize","endIndex","string","pluginName","oldRevisionId","removeMarker:revision-suggestion","ck-revision-history-root--active","index","ck-suggestion-marker-merge","dataDowncast","isLimit","userId","observeMarkers","8163108zmYhLM","maxOffset","toViewRange","addRevision","markerName","createRangeIn","getRevisionData","map","_activeViewTarget","addRoot","bind","level","checkAttribute","_changeIdToChange","addMarker:revision-suggestion:insertion","_makeModelFromViewString","elementStart","change:activeView","ck-suggestion-marker--active","change:numberOfChanges","removeMarker:revision","isAtEnd","softBreak","domEvent","execute","_cleanMarkers","_joinTapes","getRootNames","viewItem","_initInteractions","getIndex","_getRevisionsRange","removeMarker","elementToAttribute","isContent","getChild","find","destroy","isAttached","addMarker:revision","isBefore","for","_getViewObj","uiElement","enqueueChange","forceDisabled","high","includes","revision","merge","done","_setChanges","return","remove","slice","wrap","element","revision-viewer","restoreRevisionCallback","marked","nextSibling","currentChangeNumber","setAttribute","createRange","toViewPosition","-new","attachChange","text","isPremiumPlugin","startIndex","flat","ck-suggestion-marker-split","detachRoot","markersStart","showStack","_findChangeIdFromDomTarget","changeId","725503UNMQcZ","roots","markerNameToElements","addMarker:revision-suggestion:deletion","low","getDomRoot","previousPosition","insert","deletion","revision:","keys","model","values","object","_data","abs","editor","_cleanUp","add","change:activeChange","span","getAttributes","forward","isInline","all","has","editing","RevisionsRepository","vid","11572460ROimdV","_removeMissingPairs","mapViewToDom","init","then","dataToMarker","195BGEUSg","backward","first","isIncorrect","73578JrMdnX","_markInsertions","suggestion","end","concat","activeChange","addClass","config","isAddSuggestion","pairId","markersEnd","consume","diffData","isRemoved","_markMarkers","7XmYnMr","comment","attributesBefore","next","push","repository","_fixObsoleteTags","right","insertion","parse","clear","getClientRects","isNavigationMode","ck-revision-history-root-add","_getChangeFromId","1541529LTzorw","splice","POSITIVE_INFINITY","attributes","reconvertMarker","vid_end","isEnabled","resolve","commands","4302248aOaXKY","code","plugins","start","unshift","listenTo","split","isAdded","target","from","getAttribute","markerRange","revision-suggestion","toViewElement","parent","selection","hasAttribute","diff","modelRange","stop","upcast","unbindElementFromMarkerName","_setConversion","_sortAndFilterDiffChanges","change:isReady","_makeTape","changes","showNextChange","length","numberOfChanges","revisionHistoryAttachChange","compare","WidgetToolbarRepository","item","schema","element:pre","forEach","name","locale","RevisionViewer","document","set","isOnRoot","getRoot","revision-end","vid_start","nextPosition","_threeWayMerge","markers","filter","_processTape","range","ck-suggestion-marker","change:isEnabled","nodeAfter","_removeUnsupportedChanges","ck-revision-history-root-","data","activeView","ck-editor__editable__overlay","removeClass","elementEnd","suggestion:","attribute:vid","markerToData","startsWith","useFillerType","_appendChild","writer","downcastDispatcher","markerToHighlight","error","domConverter","revision-start","deletions","adapter","updatePosition","type","distance","processor","mousedown","showPreviousChange","getItems","shift","createAttributeElement","revision-suggestion:","get","bindElementToMarker","rootName","mapper","default","_revisions","highest","_removeRevisionMarkers","_changeView","createPositionFromPath","collaboration.channelId","sort","_getViewForChange","ck-revision-history-root-remove","children","_markMismatchedRemovedTags","authors","delete","isObject","requires","attributesAfter","isEqual","createRevision","top","createUIElement","data-change-id","pop","consumable","refresh","insertions","createPositionBefore"];return(ee=function(){return t})()}class ie extends U.Command{constructor(t){const e=Jt;super(t);const i=t[e(658)][e(404)](Qt);this[e(466)]=!1,this[e(661)](i,e(680),(()=>this[e(432)]())),this[e(661)](i,e(371),(()=>this[e(432)]()))}[Jt(525)](){const t=Jt,e=this[t(594)],i=e[t(658)][t(404)](Qt),s=i[t(483)]?i[t(673)][t(448)]:null;e[t(624)][t(404)](t(440))[t(559)](s)}[Jt(432)](){const t=Jt,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(594)][t(658)][t(404)](Qt),r=n&&s[t(467)](n[t(448)]);this[t(653)]=e&&i&&Boolean(r)}}class se extends U.Command{[Jt(454)];constructor(t,{direction:e}){const i=Jt;super(t);const s=t[i(658)][i(404)](Qt);this[i(466)]=!1,this[i(454)]=i(600)===e?1:-1,this[i(661)](s,i(680),(()=>this[i(432)]())),this[i(661)](s,i(371),(()=>this[i(432)]())),this[i(661)](s,i(597),(()=>this[i(432)]()))}[Jt(525)](){const e=Jt,i=this[e(594)],s=i[e(658)][e(404)](Qt),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(622)]=n?s[e(673)][e(682)][e(404)](r+this[e(454)]):s[e(673)][e(682)][e(615)],s[e(622)][e(375)][e(360)])o=i[e(604)][e(479)][e(583)](s[e(622)][e(406)]);else{const t=i[e(589)][e(366)][e(404)](e(587)+s[e(622)].id);o=(0,Z.getMarkerDomElement)(i[e(604)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[Jt(432)](){const t=Jt,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(594)][t(658)][t(404)](Qt);this[t(653)]=!!(r&&n&&s)&&(!e||(1===this[t(454)]?i<s-1:i>0))}}var ne=i(528),re={attributes:{"data-cke":!0}};re.setAttributes=wt(),re.insert=kt().bind(null,"head"),re.domAPI=gt(),re.insertStyleElement=It();pt()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;function oe(t,e){const i=ae();return(oe=function(t,e){return i[t-=114]})(t,e)}function ae(){const t=["ck-revision-history-ui__changes-navigation__navigation","_statusText","forward","bindTemplate","ck-revision-history-ui__changes-navigation__label","238994FhDarC","isNavigationMode","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__wrapper","execute","172395HMOfkn","EDIT_X_OF_Y_REVISIONS","isReady","ck-revision-history-ui","Show next change","698108gihORB","setTemplate","ck-hidden","500901QSOEHB","9ysQiUx","No changes","Show previous change","currentChangeNumber","set","_isStatusLabelVisible","bind","div","1756209JDZpxO","7543056PEyWyF","numberOfChanges","2678088RVeeWT","fire","X_OF_Y_CHANGES","Total","backward","span","44CpfInY","Loading...","ck-revision-history-ui__changes-navigation","isBackwardNavigationEnabled","isForwardNavigationEnabled","isEnabled"];return(ae=function(){return t})()}!function(t){const e=oe,i=t();for(;;)try{if(306853===-parseInt(e(122))/1+parseInt(e(119))/2+-parseInt(e(131))/3+-parseInt(e(140))/4*(parseInt(e(114))/5)+parseInt(e(134))/6+parseInt(e(151))/7+parseInt(e(132))/8*(parseInt(e(123))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ce extends ft.View{constructor(t){const e=oe;super(t);const i=this[e(149)],s=new ft.ButtonView(t),n=new ft.ButtonView(t);this[e(127)](e(152),!1),this[e(127)](e(116),!1),this[e(127)](e(126),0),this[e(127)](e(133),0),this[e(127)](e(144),!1),this[e(127)](e(143),!1),this[e(129)](e(128)).to(this,e(116),this,e(133),((t,e)=>t&&e>0)),this[e(129)](e(147)).to(this,e(116),this,e(126),this,e(133),this,e(152),((i,s,n,r)=>{const o=e;if(!i)return G(t,o(141));if(!n)return G(t,o(124));const a=G(t,o(153),n);return r?G(t,o(136),[s+1,n]):a})),s[e(127)]({label:G(t,e(125)),tooltip:!0,icon:dt.IconChevronUp}),n[e(127)]({label:G(t,e(118)),tooltip:!0,icon:dt.IconChevronDown}),s[e(129)](e(145)).to(this,e(143)),n[e(129)](e(145)).to(this,e(144)),s.on(e(155),(()=>this[e(135)](e(155),e(138)))),n.on(e(155),(()=>this[e(135)](e(155),e(148)))),this[e(120)]({tag:e(130),attributes:{class:["ck",e(117),e(142)]},children:[{tag:e(139),attributes:{class:[e(154)]},children:[{tag:e(139),attributes:{class:[e(150),i.if(e(128),e(121),(t=>!t))]},children:[{text:i.to(e(152),(i=>i?G(t,e(115))+": ":G(t,e(137))+": "))}]},{text:i.to(e(147))}]},new ft.ToolbarSeparatorView,{tag:e(130),attributes:{class:[e(146)]},children:[s,n]}]})}}var ue=i(560),le={attributes:{"data-cke":!0}};le.setAttributes=wt(),le.insert=kt().bind(null,"head"),le.domAPI=gt(),le.insertStyleElement=It();pt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=me;function de(){const t=["show","16411263RhuhGW","342668CUGdSj","view","editor","3901005mWmEhL","RevisionViewerLoadingOverlay","251808kkCICf","editing","isPremiumPlugin","removeClass","addClass","isOfficialPlugin","1625046hufalP","15hXmdXn","document","roots","hide","25KgREzm","ck-editor__editable__loading-overlay","pluginName","1544080EQvXPz","21lzYkEm","30dFuYJm","change","8994qfcfXn"];return(de=function(){return t})()}!function(t){const e=me,i=t();for(;;)try{if(659495===-parseInt(e(332))/1*(parseInt(e(313))/2)+-parseInt(e(328))/3*(-parseInt(e(316))/4)+-parseInt(e(335))/5+parseInt(e(327))/6*(parseInt(e(336))/7)+parseInt(e(321))/8+parseInt(e(319))/9*(parseInt(e(337))/10)+-parseInt(e(315))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);const fe=he(333);function me(t,e){const i=de();return(me=function(t,e){return i[t-=313]})(t,e)}class pe extends U.Plugin{static get[he(334)](){return he(320)}static get[he(326)](){return!0}static get[he(323)](){return!0}[he(314)](){const t=he,e=this[t(318)][t(322)][t(317)];e[t(338)]((i=>{const s=t;for(const t of e[s(329)][s(330)])i[s(325)](fe,t)}))}[he(331)](){const t=he,e=this[t(318)][t(322)][t(317)];e[t(338)]((i=>{const s=t;for(const t of e[s(329)][s(330)])i[s(324)](fe,t)}))}}function ve(){const t=["forward","6kvldfF","editor","componentFactory","plugins","requires","ck-revision-history-ui__back-to-editing","showPreviousChange","closeRevisionViewerCallback","config","hide","96534QSJoyv","1645746isbdge","pluginName","changesNavigation","isForwardNavigationEnabled","commands","revisionHistory","135aWLgwK","Restore this revision","isReady","get","Back to editing","set","294IYUexD","exitToEditing","RevisionViewerUI","show","bind","3531225LYAgHO","690DCaBeN","listenTo","isPremiumPlugin","add","4mfGSsV","change:isReady","showNextChange","init","isBackwardNavigationEnabled","numberOfChanges","39SesCpo","137966JaYIcU","399600HbIZrG","currentChangeNumber","restoreRevision","134233exKmYB","2559084qCWFUC","isOfficialPlugin","isEnabled","isNavigationMode","execute"];return(ve=function(){return t})()}const ge=ye;function ye(t,e){const i=ve();return(ye=function(t,e){return i[t-=197]})(t,e)}!function(t){const e=ye,i=t();for(;;)try{if(825689===parseInt(e(228))/1+parseInt(e(239))/2*(-parseInt(e(199))/3)+parseInt(e(221))/4*(parseInt(e(216))/5)+parseInt(e(198))/6*(parseInt(e(211))/7)+-parseInt(e(229))/8*(-parseInt(e(205))/9)+-parseInt(e(217))/10*(-parseInt(e(232))/11)+-parseInt(e(233))/12*(parseInt(e(227))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ke extends U.Plugin{static get[ge(200)](){return ge(213)}static get[ge(234)](){return!0}static get[ge(219)](){return!0}static get[ge(243)](){return[Qt,pe]}[ge(224)](){const t=ge,e=this[t(240)],i=e[t(242)][t(208)](Qt),s=e[t(242)][t(208)](pe);e.ui[t(241)][t(220)](t(212),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(210)]({label:G(i,s(209)),icon:dt.IconUndo,withText:!0,tooltip:!0,class:s(244)}),this[s(218)](n,s(237),(()=>{const t=s;e[t(247)][t(208)](t(204))[t(246)]()})),n})),e.ui[t(241)][t(220)](t(231),(i=>{const s=t,n=new ft.ButtonView(i);return n[s(210)]({label:G(i,s(206)),withText:!0,tooltip:!0}),n[s(215)](s(235)).to(e[s(203)][s(208)](s(231))),this[s(218)](n,s(237),(()=>e[s(237)](s(231)))),n})),e.ui[t(241)][t(220)](t(201),(s=>{const n=t,r=new ce(s),o=e[n(203)][n(208)](n(245)),a=e[n(203)][n(208)](n(223));return r[n(215)](n(225)).to(o,n(235)),r[n(215)](n(202)).to(a,n(235)),r[n(215)](n(207),n(230),n(226),n(236)).to(i),this[n(218)](r,n(237),((t,i)=>{const s=n;e[s(237)](s(238)===i?s(223):s(245))})),r})),s[t(214)](),i.on(t(222),((e,i,n)=>{const r=t;n?s[r(197)]():s[r(214)]()}))}}var be=i(329),we={attributes:{"data-cke":!0}};we.setAttributes=wt(),we.insert=kt().bind(null,"head"),we.domAPI=gt(),we.insertStyleElement=It();pt()(be.A,we);be.A&&be.A.locals&&be.A.locals;const _e=Ie;function Ie(t,e){const i=Se();return(Ie=function(t,e){return i[t-=251]})(t,e)}function Se(){const t=["_tooltipString","Revision name","1356012AiUZDV","740RjSOvr","fieldView","9EMutHv","11UKIaMI","span","scrollWidth","destroy","3615HCzfpA","Enter the revision name","listenTo","15IIUTvs","10578320ETwLHe","bindTemplate","clientWidth","render","1384574yGflof","input","_updateTooltipText","value","11089200FAwAfz","set","7fMFgsM","element","ck-tooltip_multi-line","extendTemplate","_resizeObserver","placeholder","25895064OgjSXQ","1374036mlMLGh","ck-revision-history-sidebar__revision-name"];return(Se=function(){return t})()}!function(t){const e=Ie,i=t();for(;;)try{if(773891===-parseInt(e(262))/1+parseInt(e(279))/2+parseInt(e(254))/3*(parseInt(e(280))/4)+-parseInt(e(257))/5*(parseInt(e(275))/6)+parseInt(e(268))/7*(-parseInt(e(258))/8)+parseInt(e(282))/9*(parseInt(e(266))/10)+parseInt(e(283))/11*(parseInt(e(274))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Se);class Oe extends ft.LabeledFieldView{[_e(272)]=null;constructor(t,e){const i=_e;super(t,e);const s=this[i(259)];this[i(267)]({label:G(t,i(278)),_tooltipString:""}),this[i(281)][i(273)]=G(t,i(255)),this[i(271)]({tag:i(251),attributes:{class:[i(276)],"data-cke-tooltip-text":s.to(i(277)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(270)}})}[_e(261)](){const e=_e;super[e(261)](),this[e(272)]=new t.ResizeObserver(this[e(281)][e(269)],(()=>this[e(264)]())),this[e(256)](this[e(281)],e(263),(()=>this[e(264)]()))}[_e(253)](){const t=_e;super[t(253)](),this[t(272)]&&this[t(272)][t(253)]()}[_e(264)](){const t=_e,e=this[t(281)][t(269)];this[t(277)]=e[t(252)]>e[t(260)]&&e[t(265)]||""}}var xe=i(249),Te={attributes:{"data-cke":!0}};Te.setAttributes=wt(),Te.insert=kt().bind(null,"head"),Te.domAPI=gt(),Te.insertStyleElement=It();pt()(xe.A,Te);xe.A&&xe.A.locals&&xe.A.locals;function Ne(t,e){const i=Ae();return(Ne=function(t,e){return i[t-=162]})(t,e)}function Ae(){const t=["ck-revision-history-sidebar__revision-author_creator","91KEzGzx","Revision author","ck-revision-history-sidebar__revision-author","9427392eZEPhP","278976Winkhi","1878462NPgzRb","9qMQVxa","ck-revision-history-sidebar__revision-author__name","502234ehtKDi","0 0 11 10","99gedMTI","name","setTemplate","344fGToLW","span","push","3606260gIGbBx","11785lCePxf","109696ONjUxQ","set","Revision creator"];return(Ae=function(){return t})()}!function(t){const e=Ne,i=t();for(;;)try{if(990780===parseInt(e(179))/1+-parseInt(e(169))/2*(parseInt(e(167))/3)+parseInt(e(174))/4*(parseInt(e(178))/5)+-parseInt(e(166))/6+-parseInt(e(183))/7*(parseInt(e(165))/8)+-parseInt(e(164))/9+parseInt(e(177))/10*(parseInt(e(171))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ae);class Re extends ft.View{constructor(t,e,i){const s=Ne;super(t);const n=new ft.IconView;n[s(180)]({content:dt.IconUser,viewBox:s(170)});const r=["ck",s(163)];i&&r[s(176)](s(182));const o=[{tag:s(175),attributes:{class:["ck",s(168)],title:G(t,s(i?181:162))},children:[n,e[s(172)]]}];this[s(173)]({tag:"li",attributes:{class:r},children:o})}}function Ee(t,e){var i=Me();return(Ee=function(t,e){return i[t-=115]})(t,e)}function Me(){var t=["toLocaleDateString","toLocaleTimeString","1509eWnXTt","long","1561rIIBZi","404216qJrCHk","294MHEmXw","645132sYtCpH","4139509DmGmoE","384rJfEEd","28620XgTbcC","numeric","10WzXMfX","143770tWwqud","3876OFinAC"];return(Me=function(){return t})()}!function(t){for(var e=Ee,i=t();;)try{if(124266===-parseInt(e(117))/1*(-parseInt(e(121))/2)+parseInt(e(122))/3+parseInt(e(120))/4+-parseInt(e(128))/5+-parseInt(e(129))/6*(-parseInt(e(119))/7)+-parseInt(e(124))/8*(parseInt(e(125))/9)+-parseInt(e(127))/10*(parseInt(e(123))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Me);var Ve=i(11),De={attributes:{"data-cke":!0}};De.setAttributes=wt(),De.insert=kt().bind(null,"head"),De.domAPI=gt(),De.insertStyleElement=It();pt()(Ve.A,De);Ve.A&&Ve.A.locals&&Ve.A.locals;function Ce(t,e){const i=Fe();return(Ce=function(t,e){return i[t-=456]})(t,e)}function Fe(){const t=["ck-revision-history-sidebar__revision__actions","128022sjurYb","_action","source","Compare against selected","Restore this revision","locale","map","isActionsDropdownOpen","67822iLVyYD","buttonView","listView","Name this revision","panelPosition","function","first","bind","class","button","isVisible","32RnGLoV","set","find","isEnabled","151185sYMlhR","children","add","extendTemplate","10792uOSbUH","action","change:isActionsDropdownOpen","execute","items","8bYeTfq","ck-on","75317BxbbEx","1073740FjPdbY","model","Show more items","isOpen","isReady","280269UkRDom","menuitem","listenTo","name","1240UajuIQ","stopPropagation","menu","bindTemplate","70EQfWEo"];return(Fe=function(){return t})()}!function(t){const e=Ce,i=t();for(;;)try{if(221048===parseInt(e(484))/1*(parseInt(e(460))/2)+parseInt(e(475))/3*(parseInt(e(471))/4)+parseInt(e(487))/5+-parseInt(e(502))/6*(-parseInt(e(500))/7)+-parseInt(e(479))/8+-parseInt(e(492))/9+parseInt(e(496))/10*(-parseInt(e(486))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);var Le=i(216),je={attributes:{"data-cke":!0}};je.setAttributes=wt(),je.insert=kt().bind(null,"head"),je.domAPI=gt(),je.insertStyleElement=It();pt()(Le.A,je);Le.A&&Le.A.locals&&Le.A.locals;function Pe(){const t=["_requireRevisionName","isReady","_revision","length","3553620TEeqib","220","change","setTemplate","1412748DAtNVR","closest","element","unshift","render","ck-revision-history-sidebar__actions_dropdown_open","_createdAtFormatted","extendTemplate","set","ck-disabled","ck-revision-history-sidebar__revision__controls-wrapper","srcElement","createdAt","unhighlight","ck-revision-history-sidebar__revision-wrapper","isHighlighted","name","highlight","ck-revision-history-sidebar__revision-authors","from","value","div","isConfirm","isEnabled","authors","isActionsDropdownOpen","deselect",".ck-thread__remove-confirm","ck-revision-history-sidebar__revision__date","select","revisionActionsView","ck-reset","14038248CKRTFw","fieldView","fire","15AVcedl","bindTemplate","487044YtuFuO","setName","creator","2163644BFIWsT","168641kPGNXK","isSelected","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","1095634XRMPol","ck-revision-history-sidebar__revision_selected","uiLanguage","revisionNameView","bind","span","map","ck-revision-history-sidebar__revision","listenTo","filter","ck-revision-history-sidebar__revision_highlighted"];return(Pe=function(){return t})()}const We=ze;function ze(t,e){const i=Pe();return(ze=function(t,e){return i[t-=292]})(t,e)}!function(t){const e=ze,i=t();for(;;)try{if(290634===-parseInt(e(297))/1+-parseInt(e(300))/2+-parseInt(e(319))/3+-parseInt(e(296))/4+-parseInt(e(354))/5*(parseInt(e(293))/6)+parseInt(e(315))/7+parseInt(e(351))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class Ue extends((0,Z.ConfirmMixin)(ft.View)){id;[We(303)];[We(349)];[We(313)];[We(311)];constructor(e,i,s,n){const r=We;super(e);const o=this[r(292)],a=function(t,e){const i=r,s=Array[i(338)](e[i(343)])[i(309)]((t=>t!=e[i(295)]));return e[i(295)]&&s[i(322)](e[i(295)]),s[i(306)]((s=>new Re(t,s,s==e[i(295)])))}(e,i);this.id=i.id,this[r(313)]=i,this[r(311)]=n,this[r(304)](r(335),r(331)).to(i),this[r(304)](r(325)).to(this,r(331),(t=>{return i=e[r(302)],(s=t)[(n=Ee)(115)](i,{month:n(118),day:n(126)})+", "+s[n(116)](i,{hour:n(126),minute:n(126)});var i,s,n})),this[r(327)](r(298),!1),this[r(327)](r(334),!1),this[r(327)](r(344),!1),this[r(327)](r(312),!1),this[r(327)](r(342),!1),this[r(303)]=new Oe(e,ft.createLabeledInputText),this[r(303)][r(352)][r(326)]({attributes:{maxlength:r(316)}}),this[r(303)][r(352)][r(304)](r(339)).to(this,r(335),(t=>t||this[r(325)])),this[r(303)][r(304)](r(342)).to(this,r(298),this,r(342),((t,e)=>t&&e)),this[r(349)]=s&&s[r(314)]?function(e,i){const s=Ce,n=e[s(499)],r=e[s(457)],o=(0,ft.createDropdown)(r);o[s(464)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ce,s=t[i(457)],n={"Compare against selected":G(s,i(505)),"Name this revision":G(s,i(463)),"Restore this revision":G(s,i(456))};return e[i(458)]((t=>{const e=i,s=n[t[e(495)]];return s&&s!==t[e(495)]&&(t[e(495)]=s),t}))}(e,i),o=new t.Collection;for(const t of r){const i={type:n(469),model:new ft.ViewModel({label:t[n(495)],class:t[n(468)],withText:!0,role:n(493),_action:t[n(480)]})};i[n(488)][n(467)](n(474)).to(e,n(459),(i=>n(465)!=typeof t[n(474)]||!i||t[n(474)](e))),o[n(477)](i)}return o}(e,i);return e[s(467)](s(459)).to(o,s(490)),o[s(461)][s(472)]({label:G(r,s(489)),tooltip:!0,tooltipPosition:"sw",icon:dt.IconThreeVerticalDots}),o[s(478)]({attributes:{class:[s(501),n.if(s(459),s(485))]},on:{click:n.to((t=>t[s(497)]()))}}),o.on(s(482),(t=>{const i=s;e[i(491)]&&i(465)==typeof t[i(504)][i(503)]&&t[i(504)][i(503)](e)})),(0,ft.addListToDropdown)(o,a,{role:s(498)}),o[s(494)](e,s(481),((t,n,r)=>{const a=s;if(r)for(const t of o[a(462)][a(483)]){const s=t[a(476)][a(466)],n=i[a(473)]((t=>t[a(480)]===s[a(503)]))[a(470)];t[a(470)]=void 0===n||n(e)}})),o}(this,s):"",this[r(349)]&&this[r(349)][r(304)](r(342)).to(this),this[r(318)]({tag:r(340),attributes:{class:["ck",r(350),r(333),o.if(r(341),r(299))]},children:[{tag:r(340),attributes:{class:["ck",r(350),r(307),o.if(r(342),r(328),(t=>!t)),o.if(r(298),r(301)),o.if(r(334),r(310)),o.if(r(344),r(324))]},children:[this[r(303)],{tag:r(305),attributes:{class:["ck",r(347)]},children:[{text:o.to(r(325))}]},{tag:r(340),attributes:{class:["ck",r(329)]},children:[{tag:"ul",attributes:{class:["ck",r(337)]},children:a}]},this[r(349)]],on:{click:o.to((t=>{const e=r;t[e(330)][e(320)](e(346))||this[e(312)]&&this[e(342)]&&this[e(353)](e(348),{id:this.id})}))}}]})}[We(323)](){const t=We;super[t(323)]();const e=this[t(303)][t(352)][t(321)];this[t(308)](e,t(317),(()=>{const i=t;this[i(311)]&&!e[i(339)]||this[i(353)](i(294),{id:this.id,name:e[i(339)]}),e[i(339)]||(e[i(339)]=this[i(335)]?this[i(335)]:this[i(325)])}))}[We(348)](){this[We(298)]=!0}[We(345)](){this[We(298)]=!1}[We(336)](){this[We(334)]=!0}[We(332)](){this[We(334)]=!1}}class Ze extends Error{}class He extends Ze{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class qe extends Ze{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class $e extends Ze{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Be extends Ze{}class Ye extends Ze{constructor(t){super(`Invalid unit ${t}`)}}class Ge extends Ze{}class Je extends Ze{constructor(){super("Zone is an abstract class")}}const Ke="numeric",Xe="short",Qe="long",ti={year:Ke,month:Ke,day:Ke},ei={year:Ke,month:Xe,day:Ke},ii={year:Ke,month:Xe,day:Ke,weekday:Xe},si={year:Ke,month:Qe,day:Ke},ni={year:Ke,month:Qe,day:Ke,weekday:Qe},ri={hour:Ke,minute:Ke},oi={hour:Ke,minute:Ke,second:Ke},ai={hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},ci={hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe},ui={hour:Ke,minute:Ke,hourCycle:"h23"},li={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23"},hi={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Xe},di={hour:Ke,minute:Ke,second:Ke,hourCycle:"h23",timeZoneName:Qe},fi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke},mi={year:Ke,month:Ke,day:Ke,hour:Ke,minute:Ke,second:Ke},pi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke},vi={year:Ke,month:Xe,day:Ke,hour:Ke,minute:Ke,second:Ke},gi={year:Ke,month:Xe,day:Ke,weekday:Xe,hour:Ke,minute:Ke},yi={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,timeZoneName:Xe},ki={year:Ke,month:Qe,day:Ke,hour:Ke,minute:Ke,second:Ke,timeZoneName:Xe},bi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,timeZoneName:Qe},wi={year:Ke,month:Qe,day:Ke,weekday:Qe,hour:Ke,minute:Ke,second:Ke,timeZoneName:Qe};class _i{get type(){throw new Je}get name(){throw new Je}get ianaName(){return this.name}get isUniversal(){throw new Je}offsetName(t,e){throw new Je}formatOffset(t,e){throw new Je}offset(t){throw new Je}equals(t){throw new Je}get isValid(){throw new Je}}let Ii=null;class Si extends _i{static get instance(){return null===Ii&&(Ii=new Si),Ii}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let Oi={};const xi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let Ti={};class Ni extends _i{static create(t){return Ti[t]||(Ti[t]=new Ni(t)),Ti[t]}static resetCache(){Ti={},Oi={}}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=Ni.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Us(t,e,i,this.name)}formatOffset(t,e){return $s(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const i=(s=this.name,Oi[s]||(Oi[s]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),Oi[s]);var s;let[n,r,o,a,c,u,l]=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=xi[e];"era"===e?s[r]=n:ws(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"===a&&(n=1-Math.abs(n));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(js({year:n,month:r,day:o,hour:24===c?0:c,minute:u,second:l,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ai={};let Ri={};function Ei(t,e={}){const i=JSON.stringify([t,e]);let s=Ri[i];return s||(s=new Intl.DateTimeFormat(t,e),Ri[i]=s),s}let Mi={};let Vi={};let Di=null;let Ci={};function Fi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Li{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=Mi[i];return s||(s=new Intl.NumberFormat(t,e),Mi[i]=s),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Rs(this.floor?Math.floor(t):Ds(t,3),this.padTo)}}class ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ni.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=Ei(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 Pi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Ss()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Vi[n];return r||(r=new Intl.RelativeTimeFormat(t,e),Vi[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 Wi={firstDay:1,minimalDays:4,weekend:[6,7]};class zi{static fromOpts(t){return zi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||rs.defaultLocale,o=r||(n?"en-US":Di||(Di=(new Intl.DateTimeFormat).resolvedOptions().locale,Di)),a=e||rs.defaultNumberingSystem,c=i||rs.defaultOutputCalendar,u=Ns(s)||rs.defaultWeekSettings;return new zi(o,a,c,u,r)}static resetCache(){Di=null,Ri={},Mi={},Vi={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return zi.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=Ei(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Ei(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"===new Intl.DateTimeFormat(t.intl).resolvedOptions().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?zi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ns(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 Fi(this,t,Ks,(()=>{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=eo.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 Fi(this,t,en,(()=>{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=eo.utc(2016,11,13+i);e.push(t(s))}return e}((t=>this.extract(t,i,"weekday")))),this.weekdaysCache[s][t]}))}meridiems(){return Fi(this,void 0,(()=>sn),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[eo.utc(2016,11,13,9),eo.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t){return Fi(this,t,an,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[eo.utc(-40,1,1),eo.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 Li(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ji(t,this.intl,e)}relFormatter(t={}){return new Pi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ai[i];return s||(s=new Intl.ListFormat(t,e),Ai[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Os()?function(t){let e=Ci[t];if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,Ci[t]=e}return e}(this.locale):Wi}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 Ui=null;class Zi extends _i{static get utcInstance(){return null===Ui&&(Ui=new Zi(0)),Ui}static instance(t){return 0===t?Zi.utcInstance:new Zi(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new Zi(Zs(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${$s(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${$s(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return $s(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 Hi extends _i{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 qi(t,e){if(ws(t)||null===t)return e;if(t instanceof _i)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Si.instance:"utc"===i||"gmt"===i?Zi.utcInstance:Zi.parseSpecifier(i)||Ni.create(t)}return _s(t)?Zi.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new Hi(t)}const $i={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},Bi={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]},Yi=$i.hanidec.replace(/[\[|\]]/g,"").split("");let Gi={};function Ji({numberingSystem:t},e=""){const i=t||"latn";return Gi[i]||(Gi[i]={}),Gi[i][e]||(Gi[i][e]=new RegExp(`${$i[i]}${e}`)),Gi[i][e]}let Ki,Xi=()=>Date.now(),Qi="system",ts=null,es=null,is=null,ss=60,ns=null;class rs{static get now(){return Xi}static set now(t){Xi=t}static set defaultZone(t){Qi=t}static get defaultZone(){return qi(Qi,Si.instance)}static get defaultLocale(){return ts}static set defaultLocale(t){ts=t}static get defaultNumberingSystem(){return es}static set defaultNumberingSystem(t){es=t}static get defaultOutputCalendar(){return is}static set defaultOutputCalendar(t){is=t}static get defaultWeekSettings(){return ns}static set defaultWeekSettings(t){ns=Ns(t)}static get twoDigitCutoffYear(){return ss}static set twoDigitCutoffYear(t){ss=t%100}static get throwOnInvalid(){return Ki}static set throwOnInvalid(t){Ki=t}static resetCaches(){zi.resetCache(),Ni.resetCache(),eo.resetCache(),Gi={}}}class os{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const as=[0,31,59,90,120,151,181,212,243,273,304,334],cs=[0,31,60,91,121,152,182,213,244,274,305,335];function us(t,e){return new os("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ls(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 hs(t,e,i){return i+(Cs(t)?cs:as)[e-1]}function ds(t,e){const i=Cs(t)?cs:as,s=i.findIndex((t=>t<e));return{month:s+1,day:e-i[s]}}function fs(t,e){return(t-e+7)%7+1}function ms(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=hs(s,n,r),a=fs(ls(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ws(c,e,i)):u>Ws(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...Bs(t)}}function ps(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=fs(ls(s,1,e),i),a=Fs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Fs(c)):u>a?(c=s+1,u-=Fs(s)):c=s;const{month:l,day:h}=ds(c,u);return{year:c,month:l,day:h,...Bs(t)}}function vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:hs(e,i,s),...Bs(t)}}function gs(t){const{year:e,ordinal:i}=t,{month:s,day:n}=ds(e,i);return{year:e,month:s,day:n,...Bs(t)}}function ys(t,e){if(!ws(t.localWeekday)||!ws(t.localWeekNumber)||!ws(t.localWeekYear)){if(!ws(t.weekday)||!ws(t.weekNumber)||!ws(t.weekYear))throw new Be("Cannot mix locale-based week fields with ISO-based week fields");return ws(t.localWeekday)||(t.weekday=t.localWeekday),ws(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),ws(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 ks(t){const e=Is(t.year),i=As(t.month,1,12),s=As(t.day,1,Ls(t.year,t.month));return e?i?!s&&us("day",t.day):us("month",t.month):us("year",t.year)}function bs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=As(e,0,23)||24===e&&0===i&&0===s&&0===n,o=As(i,0,59),a=As(s,0,59),c=As(n,0,999);return r?o?a?!c&&us("millisecond",n):us("second",s):us("minute",i):us("hour",e)}function ws(t){return void 0===t}function _s(t){return"number"==typeof t}function Is(t){return"number"==typeof t&&t%1==0}function Ss(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Os(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function xs(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 Ts(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ns(t){if(null==t)return null;if("object"!=typeof t)throw new Ge("Week settings must be an object");if(!As(t.firstDay,1,7)||!As(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some((t=>!As(t,1,7))))throw new Ge("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function As(t,e,i){return Is(t)&&t>=e&&t<=i}function Rs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Es(t){return ws(t)||null===t||""===t?void 0:parseInt(t,10)}function Ms(t){return ws(t)||null===t||""===t?void 0:parseFloat(t)}function Vs(t){if(!ws(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Ds(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Cs(t){return t%4==0&&(t%100!=0||t%400==0)}function Fs(t){return Cs(t)?366:365}function Ls(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Cs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Ps(t,e,i){return-fs(ls(t,1,e),i)+e-1}function Ws(t,e=4,i=1){const s=Ps(t,e,i),n=Ps(t+1,e,i);return(Fs(t)-s+n)/7}function zs(t){return t>99?t:t>rs.twoDigitCutoffYear?1900+t:2e3+t}function Us(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 Zs(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 Hs(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new Ge(`Invalid unit value ${t}`);return e}function qs(t,e){const i={};for(const s in t)if(Ts(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=Hs(n)}return i}function $s(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}${Rs(i,2)}:${Rs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Rs(i,2)}${Rs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Bs(t){return function(t,e){return e.reduce(((e,i)=>(e[i]=t[i],e)),{})}(t,["hour","minute","second","millisecond"])}const Ys=["January","February","March","April","May","June","July","August","September","October","November","December"],Gs=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Js=["J","F","M","A","M","J","J","A","S","O","N","D"];function Ks(t){switch(t){case"narrow":return[...Js];case"short":return[...Gs];case"long":return[...Ys];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 Xs=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Qs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tn=["M","T","W","T","F","S","S"];function en(t){switch(t){case"narrow":return[...tn];case"short":return[...Qs];case"long":return[...Xs];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const sn=["AM","PM"],nn=["Before Christ","Anno Domini"],rn=["BC","AD"],on=["B","A"];function an(t){switch(t){case"narrow":return[...on];case"short":return[...rn];case"long":return[...nn];default:return null}}function cn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const un={D:ti,DD:ei,DDD:si,DDDD:ni,t:ri,tt:oi,ttt:ai,tttt:ci,T:ui,TT:li,TTT:hi,TTTT:di,f:fi,ff:pi,fff:yi,ffff:bi,F:mi,FF:vi,FFF:ki,FFFF:wi};class ln{static create(t,e={}){return new ln(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 un[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 Rs(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 sn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return Ks(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return en(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ln.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return an(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return cn(ln.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=ln.parseFormat(e),n=s.reduce(((t,{literal:e,val:i})=>e?t:t.concat(i)),[]);return cn(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 hn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function dn(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function fn(...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 mn(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 pn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Es(e[i+n]);return[s,null,i+n]}}const vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,gn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,yn=RegExp(`${gn.source}${`(?:${vn.source}?(?:\\[(${hn.source})\\])?)?`}`),kn=RegExp(`(?:T${yn.source})?`),bn=pn("weekYear","weekNumber","weekDay"),wn=pn("year","ordinal"),_n=RegExp(`${gn.source} ?(?:${vn.source}|(${hn.source}))?`),In=RegExp(`(?: ${_n.source})?`);function Sn(t,e,i){const s=t[e];return ws(s)?i:Es(s)}function On(t,e){return[{hours:Sn(t,e,0),minutes:Sn(t,e+1,0),seconds:Sn(t,e+2,0),milliseconds:Vs(t[e+3])},null,e+4]}function xn(t,e){const i=!t[e]&&!t[e+1],s=Zs(t[e+1],t[e+2]);return[{},i?null:Zi.instance(s),e+3]}function Tn(t,e){return[{},t[e]?Ni.create(t[e]):null,e+1]}const Nn=RegExp(`^T?${gn.source}$`),An=/^-?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 Rn(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(Ms(i)),months:d(Ms(s)),weeks:d(Ms(n)),days:d(Ms(r)),hours:d(Ms(o)),minutes:d(Ms(a)),seconds:d(Ms(c),"-0"===c),milliseconds:d(Vs(u),h)}]}const En={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Mn(t,e,i,s,n,r,o){const a={year:2===e.length?zs(Es(e)):Es(e),month:Gs.indexOf(i)+1,day:Es(s),hour:Es(n),minute:Es(r)};return o&&(a.second=Es(o)),t&&(a.weekday=t.length>3?Xs.indexOf(t)+1:Qs.indexOf(t)+1),a}const Vn=/^(?:(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 Dn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Mn(e,n,s,i,r,o,a);let f;return f=c?En[c]:u?0:Zs(l,h),[d,new Zi(f)]}const Cn=/^(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$/,Fn=/^(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$/,Ln=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function jn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,n,s,i,r,o,a),Zi.utcInstance]}function Pn(t){const[,e,i,s,n,r,o,a]=t;return[Mn(e,a,i,s,n,r,o),Zi.utcInstance]}const Wn=dn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,kn),zn=dn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,kn),Un=dn(/(\d{4})-?(\d{3})/,kn),Zn=dn(yn),Hn=fn((function(t,e){return[{year:Sn(t,e),month:Sn(t,e+1,1),day:Sn(t,e+2,1)},null,e+3]}),On,xn,Tn),qn=fn(bn,On,xn,Tn),$n=fn(wn,On,xn,Tn),Bn=fn(On,xn,Tn);const Yn=fn(On);const Gn=dn(/(\d{4})-(\d\d)-(\d\d)/,In),Jn=dn(_n),Kn=fn(On,xn,Tn);const Xn="Invalid Duration",Qn={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}},tr={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},...Qn},er=365.2425,ir=30.436875,sr={years:{quarters:4,months:12,weeks:52.1775,days:er,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:ir,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...Qn},nr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],rr=nr.slice(0).reverse();function or(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 ur(s)}function ar(t,e){let i=e.milliseconds??0;for(const s of rr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function cr(t,e){const i=ar(t,e)<0?-1:1;nr.reduceRight(((s,n)=>{if(ws(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),nr.reduce(((i,s)=>{if(ws(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s}),null)}class ur{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?sr:tr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||zi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return ur.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new Ge("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new ur({values:qs(t,ur.normalizeUnit),loc:zi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(_s(t))return ur.fromMillis(t);if(ur.isDuration(t))return t;if("object"==typeof t)return ur.fromObject(t);throw new Ge(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return mn(t,[An,Rn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return mn(t,[Nn,Yn])}(t);return i?ur.fromObject(i,e):ur.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the Duration is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new $e(i);return new ur({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 Ye(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?ln.create(this.loc,i).formatDurationFromString(this,t):Xn}toHuman(t={}){if(!this.isValid)return Xn;const e=nr.map((e=>{const i=this.values[e];return ws(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+=Ds(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 eo.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?ar(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=ur.fromDurationLike(t),i={};for(const t of nr)(Ts(e.values,t)||Ts(this.values,t))&&(i[t]=e.get(t)+this.get(t));return or(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=ur.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]=Hs(t(this.values[i],i));return or(this,{values:e},!0)}get(t){return this[ur.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return or(this,{values:{...this.values,...qs(t,ur.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return or(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 cr(this.matrix,t),or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return or(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=>ur.normalizeUnit(t)));const e={},i={},s=this.toObject();let n;for(const r of nr)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;_s(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else _s(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 cr(this.matrix,e),or(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 or(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 nr)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 lr="Invalid Interval";class hr{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 Ge("need to specify a reason the Interval is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new qe(i);return new hr({invalid:i})}static fromDateTimes(t,e){const i=io(t),s=io(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?hr.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:hr.invalid("missing or invalid end"):hr.invalid("missing or invalid start")}(i,s);return null==n?new hr({start:i,end:s}):n}static after(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=ur.fromDurationLike(e),s=io(t);return hr.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=eo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=eo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return hr.fromDateTimes(t,r);if(n){const i=ur.fromISO(s,e);if(i.isValid)return hr.after(t,i)}else if(o){const t=ur.fromISO(i,e);if(t.isValid)return hr.before(r,t)}}return hr.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 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?hr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(io).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(hr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=ur.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(hr.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:hr.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 hr.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(hr.fromDateTimes(e,t.time)),e=null);return hr.merge(s)}difference(...t){return hr.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:lr}[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=ti,e={}){return this.isValid?ln.create(this.s.loc.clone(e),t).formatInterval(this):lr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:lr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:lr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:lr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:lr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):ur.invalid(this.invalidReason)}mapEndpoints(t){return hr.fromDateTimes(t(this.s),t(this.e))}}class dr{static hasDST(t=rs.defaultZone){const e=eo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ni.isValidZone(t)}static normalizeZone(t){return qi(t,rs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||zi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||zi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||zi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||zi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||zi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||zi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||zi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return zi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return zi.create(e,null,"gregory").eras(t)}static features(){return{relative:Ss(),localeWeek:Os()}}}function fr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(ur.fromMillis(s).as("days"))}function mr(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=fr(t,e);return(i-i%7)/7}],["days",fr]],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=ur.fromObject(r,s);return u.length>0?ur.fromMillis(c,s).shiftTo(...u).plus(l):l}function pr(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($i.hanidec))e+=Yi.indexOf(t[i]);else for(const t in Bi){const[i,n]=Bi[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const vr=`[ ${String.fromCharCode(160)}]`,gr=new RegExp(vr,"g");function yr(t){return t.replace(/\./g,"\\.?").replace(gr,vr)}function kr(t){return t.replace(/\./g,"").replace(gr," ").toLowerCase()}function br(t,e){return null===t?null:{regex:RegExp(t.map(yr).join("|")),deser:([i])=>t.findIndex((t=>kr(i)===kr(t)))+e}}function wr(t,e){return{regex:t,deser:([,t,e])=>Zs(t,e),groups:e}}function _r(t){return{regex:t,deser:([t])=>t}}const Ir={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 Sr=null;function Or(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const i=Nr(ln.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e))))}class xr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Or(ln.parseFormat(e),t),this.units=this.tokens.map((e=>function(t,e){const i=Ji(e),s=Ji(e,"{2}"),n=Ji(e,"{3}"),r=Ji(e,"{4}"),o=Ji(e,"{6}"),a=Ji(e,"{1,2}"),c=Ji(e,"{1,3}"),u=Ji(e,"{1,6}"),l=Ji(e,"{1,9}"),h=Ji(e,"{2,4}"),d=Ji(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 br(e.eras("short"),0);case"GG":return br(e.eras("long"),0);case"y":return pr(u);case"yy":case"kk":return pr(h,zs);case"yyyy":case"kkkk":return pr(r);case"yyyyy":return pr(d);case"yyyyyy":return pr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return pr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return pr(s);case"MMM":return br(e.months("short",!0),1);case"MMMM":return br(e.months("long",!0),1);case"LLL":return br(e.months("short",!1),1);case"LLLL":return br(e.months("long",!1),1);case"o":case"S":return pr(c);case"ooo":case"SSS":return pr(n);case"u":return _r(l);case"uu":return _r(a);case"uuu":case"E":case"c":return pr(i);case"a":return br(e.meridiems(),0);case"EEE":return br(e.weekdays("short",!1),1);case"EEEE":return br(e.weekdays("long",!1),1);case"ccc":return br(e.weekdays("short",!0),1);case"cccc":return br(e.weekdays("long",!0),1);case"Z":case"ZZ":return wr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return wr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return _r(/[a-z_+-/]{1,256}?/i);case" ":return _r(/[^\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(Ts(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;ws(t.z)||(i=Ni.create(t.z)),ws(t.Z)||(i||(i=new Zi(t.Z)),e=t.Z),ws(t.q)||(t.M=3*(t.q-1)+1),ws(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),ws(t.u)||(t.S=Vs(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(Ts(i,"a")&&Ts(i,"H"))throw new Be("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 Tr(t,e,i){return new xr(t,i).explainFromTokens(e)}function Nr(t,e){if(!t)return null;const i=ln.create(e,t).dtFormatter((Sr||(Sr=eo.fromMillis(1555555555555)),Sr)),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=Ir[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n)))}const Ar="Invalid DateTime",Rr=864e13;function Er(t){return new os("unsupported zone",`the zone "${t.name}" is not supported`)}function Mr(t){return null===t.weekData&&(t.weekData=ms(t.c)),t.weekData}function Vr(t){return null===t.localWeekData&&(t.localWeekData=ms(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Dr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new eo({...i,...e,old:i})}function Cr(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 Fr(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 Lr(t,e,i){return Cr(js(t),e,i)}function jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ls(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=ur.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=js(r);let[c,u]=Cr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Pr(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=eo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return eo.invalid(new os("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Wr(t,e,i=!0){return t.isValid?ln.create(zi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function zr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Rs(t.c.year,i?6:4),e?(s+="-",s+=Rs(t.c.month),s+="-",s+=Rs(t.c.day)):(s+=Rs(t.c.month),s+=Rs(t.c.day)),s}function Ur(t,e,i,s,n,r){let o=Rs(t.c.hour);return e?(o+=":",o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Rs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Rs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Rs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Rs(Math.trunc(-t.o/60)),o+=":",o+=Rs(Math.trunc(-t.o%60))):(o+="+",o+=Rs(Math.trunc(t.o/60)),o+=":",o+=Rs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const Zr={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Hr={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},qr={ordinal:1,hour:0,minute:0,second:0,millisecond:0},$r=["year","month","day","hour","minute","second","millisecond"],Br=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Yr=["year","ordinal","hour","minute","second","millisecond"];function Gr(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 Ye(t);return e}(t)}}function Jr(t,e){const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Er(i));const s=zi.fromObject(e);let n,r;if(ws(t.year))n=rs.now();else{for(const e of $r)ws(t[e])&&(t[e]=Zr[e]);const e=ks(t)||bs(t);if(e)return eo.invalid(e);const s=function(t){return to[t]||(void 0===Qr&&(Qr=rs.now()),to[t]=t.offset(Qr)),to[t]}(i);[n,r]=Lr(t,s,i)}return new eo({ts:n,zone:i,loc:s,o:r})}function Kr(t,e,i){const s=!!ws(i.round)||i.round,n=(t,n)=>{t=Ds(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 Xr(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 Qr,to={};class eo{constructor(t){const e=t.zone||rs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new os("invalid input"):null)||(e.isValid?null:Er(e));this.ts=ws(t.ts)?rs.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=_s(t.o)&&!t.old?t.o:e.offset(this.ts);s=Fr(this.ts,r),i=Number.isNaN(s.year)?new os("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||zi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new eo({})}static local(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return Jr({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=Xr(arguments),[i,s,n,r,o,a,c]=e;return t.zone=Zi.utcInstance,Jr({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 eo.invalid("invalid input");const n=qi(e.zone,rs.defaultZone);return n.isValid?new eo({ts:i,zone:n,loc:zi.fromObject(e)}):eo.invalid(Er(n))}static fromMillis(t,e={}){if(_s(t))return t<-Rr||t>Rr?eo.invalid("Timestamp out of range"):new eo({ts:t,zone:qi(e.zone,rs.defaultZone),loc:zi.fromObject(e)});throw new Ge(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(_s(t))return new eo({ts:1e3*t,zone:qi(e.zone,rs.defaultZone),loc:zi.fromObject(e)});throw new Ge("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=qi(e.zone,rs.defaultZone);if(!i.isValid)return eo.invalid(Er(i));const s=zi.fromObject(e),n=qs(t,Gr),{minDaysInFirstWeek:r,startOfWeek:o}=ys(n,s),a=rs.now(),c=ws(e.specificOffset)?i.offset(a):e.specificOffset,u=!ws(n.ordinal),l=!ws(n.year),h=!ws(n.month)||!ws(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new Be("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Fr(a,c);m?(p=Br,v=Hr,g=ms(g,r,o)):u?(p=Yr,v=qr,g=vs(g)):(p=$r,v=Zr);let y=!1;for(const t of p){ws(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Is(t.weekYear),n=As(t.weekNumber,1,Ws(t.weekYear,e,i)),r=As(t.weekday,1,7);return s?n?!r&&us("weekday",t.weekday):us("week",t.weekNumber):us("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Is(t.year),i=As(t.ordinal,1,Fs(t.year));return e?!i&&us("ordinal",t.ordinal):us("year",t.year)}(n):ks(n),b=k||bs(n);if(b)return eo.invalid(b);const w=m?ps(n,r,o):u?gs(n):n,[_,I]=Lr(w,c,i),S=new eo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?eo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:eo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return mn(t,[Wn,Hn],[zn,qn],[Un,$n],[Zn,Bn])}(t);return Pr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return mn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Vn,Dn])}(t);return Pr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return mn(t,[Cn,jn],[Fn,jn],[Ln,Pn])}(t);return Pr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(ws(t)||ws(e))throw new Ge("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Tr(t,e,i);return[s,n,r,o]}(r,t,e);return u?eo.invalid(u):Pr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return eo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return mn(t,[Gn,Hn],[Jn,Kn])}(t);return Pr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new Ge("need to specify a reason the DateTime is invalid");const i=t instanceof os?t:new os(t,e);if(rs.throwOnInvalid)throw new He(i);return new eo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Nr(t,zi.fromObject(e));return i?i.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return Or(ln.parseFormat(t),zi.fromObject(e)).map((t=>t.val)).join("")}static resetCache(){Qr=void 0,to={}}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?Mr(this).weekYear:NaN}get weekNumber(){return this.isValid?Mr(this).weekNumber:NaN}get weekday(){return this.isValid?Mr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Vr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Vr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Vr(this).weekYear:NaN}get ordinal(){return this.isValid?vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?dr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?dr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?dr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?dr.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Fr(a,r),l=Fr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Dr(this,{ts:a}),Dr(this,{ts:c})]:[this]}get isInLeapYear(){return Cs(this.year)}get daysInMonth(){return Ls(this.year,this.month)}get daysInYear(){return this.isValid?Fs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ws(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ws(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=ln.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(Zi.instance(t),e)}toLocal(){return this.setZone(rs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=qi(t,rs.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]=Lr(i,e,t)}return Dr(this,{ts:s,zone:t})}return eo.invalid(Er(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Dr(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=qs(t,Gr),{minDaysInFirstWeek:i,startOfWeek:s}=ys(e,this.loc),n=!ws(e.weekYear)||!ws(e.weekNumber)||!ws(e.weekday),r=!ws(e.ordinal),o=!ws(e.year),a=!ws(e.month)||!ws(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new Be("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new Be("Can't mix ordinal dates with month/day");let l;n?l=ps({...ms(this.c,i,s),...e},i,s):ws(e.ordinal)?(l={...this.toObject(),...e},ws(e.day)&&(l.day=Math.min(Ls(l.year,l.month),l.day))):l=gs({...vs(this.c),...e});const[h,d]=Lr(l,this.o,this.zone);return Dr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Dr(this,jr(this,ur.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Dr(this,jr(this,ur.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=ur.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?ln.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):Ar}toLocaleString(t=ti,e={}){return this.isValid?ln.create(this.loc.clone(e),t).formatDateTime(this):Ar}toLocaleParts(t={}){return this.isValid?ln.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=zr(this,r);return o+="T",o+=Ur(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?zr(this,"extended"===t):null}toISOWeekDate(){return Wr(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":"")+Ur(this,"extended"===r,e,t,i,n)}toRFC2822(){return Wr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Wr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?zr(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")),Wr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ar}[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 ur.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(ur.normalizeUnit),r=t.valueOf()>this.valueOf(),o=mr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(eo.now(),t,e)}until(t){return this.isValid?hr.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||eo.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),Kr(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?Kr(t.base||eo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(eo.isDateTime))throw new Ge("min requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(eo.isDateTime))throw new Ge("max requires all arguments be DateTimes");return xs(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Tr(zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return eo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=zi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new xr(n,t)}static fromFormatParser(t,e,i={}){if(ws(t)||ws(e))throw new Ge("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=zi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new Ge(`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?eo.invalid(u):Pr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ti}static get DATE_MED(){return ei}static get DATE_MED_WITH_WEEKDAY(){return ii}static get DATE_FULL(){return si}static get DATE_HUGE(){return ni}static get TIME_SIMPLE(){return ri}static get TIME_WITH_SECONDS(){return oi}static get TIME_WITH_SHORT_OFFSET(){return ai}static get TIME_WITH_LONG_OFFSET(){return ci}static get TIME_24_SIMPLE(){return ui}static get TIME_24_WITH_SECONDS(){return li}static get TIME_24_WITH_SHORT_OFFSET(){return hi}static get TIME_24_WITH_LONG_OFFSET(){return di}static get DATETIME_SHORT(){return fi}static get DATETIME_SHORT_WITH_SECONDS(){return mi}static get DATETIME_MED(){return pi}static get DATETIME_MED_WITH_SECONDS(){return vi}static get DATETIME_MED_WITH_WEEKDAY(){return gi}static get DATETIME_FULL(){return yi}static get DATETIME_FULL_WITH_SECONDS(){return ki}static get DATETIME_HUGE(){return bi}static get DATETIME_HUGE_WITH_SECONDS(){return wi}}function io(t){if(eo.isDateTime(t))return t;if(t&&t.valueOf&&_s(t.valueOf()))return eo.fromJSDate(t);if(t&&"object"==typeof t)return eo.fromObject(t);throw new Ge(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function so(t,e){const i=no,s=eo[i(343)](t)[i(346)](e),n=eo[i(358)](),r=n[i(342)]({days:1})[i(350)](i(355));let o,a;return s[i(337)](n,i(355))?(o=s[i(350)](i(355))[i(347)](),a=s[i(349)]()):s[i(337)](r,i(355))?(o=r[i(347)](),a=s[i(349)]()):s[i(337)](n,i(356))?(o=s[i(350)](i(356))[i(347)](),a=s[i(339)]||""):s[i(337)](n,i(354))?(o=s[i(350)](i(344))[i(347)](),a=s[i(345)]||""):(o=s[i(350)](i(354))[i(347)](),a=String(s[i(354)])),{startDate:o,localizedPeriodName:a}}function no(t,e){const i=ro();return(no=function(t,e){return i[t-=337]})(t,e)}function ro(){const t=["setLocale","toJSDate","144iDTlWj","toRelativeCalendar","startOf","3504568LsCqxE","1902ZsFkMG","4448016oIfcmK","year","day","week","31381WbATaI","local","8558615qagZVF","4ZfuNND","hasSame","1481745nbdhLj","weekdayLong","439116DJzmVa","302230ctbZbf","minus","fromJSDate","month","monthLong"];return(ro=function(){return t})()}!function(t){const e=no,i=t();for(;;)try{if(948527===parseInt(e(340))/1+parseInt(e(351))/2+-parseInt(e(338))/3*(parseInt(e(360))/4)+parseInt(e(359))/5+parseInt(e(352))/6*(-parseInt(e(357))/7)+-parseInt(e(353))/8+-parseInt(e(348))/9*(parseInt(e(341))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ro);var oo=i(45),ao={attributes:{"data-cke":!0}};ao.setAttributes=wt(),ao.insert=kt().bind(null,"head"),ao.domAPI=gt(),ao.insertStyleElement=It();pt()(oo.A,ao);oo.A&&oo.A.locals&&oo.A.locals;const co=lo;function uo(){const t=["localizedPeriodName","locale","40404qruOwH","addRevision","setTemplate","startDate","uiLanguage","createCollection","ck-revision-history-sidebar__time-period__revisions","select","add","delegate","ck-revision-history-sidebar__time-period","1078wmIrLK","753BBmnBJ","setName","10GXbqcx","span","removeRevision","117496IOONbP","605118IJYAaA","146mBGXyS","7GOsgri","_revisionActions","div","_requireRevisionName","find","ck-revision-history-sidebar__time-period__label","remove","revisionViews","56HiXuzc","3722364JWFUPf","42333lppYYx","2043510ZzGvTG"];return(uo=function(){return t})()}function lo(t,e){const i=uo();return(lo=function(t,e){return i[t-=106]})(t,e)}!function(t){const e=lo,i=t();for(;;)try{if(298027===-parseInt(e(110))/1*(-parseInt(e(117))/2)+parseInt(e(128))/3*(-parseInt(e(126))/4)+parseInt(e(129))/5+parseInt(e(116))/6*(parseInt(e(118))/7)+parseInt(e(115))/8+parseInt(e(127))/9*(-parseInt(e(112))/10)+-parseInt(e(109))/11*(-parseInt(e(132))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(uo);class ho extends ft.View{[co(135)];[co(125)];[co(119)];[co(121)];constructor(t,e,i,s){const n=co;super(t);const r=so(e,this[n(131)][n(136)])[n(130)];this[n(135)]=e,this[n(125)]=this[n(137)](),this[n(119)]=i,this[n(121)]=s,this[n(125)][n(107)](n(139)).to(this),this[n(125)][n(107)](n(111)).to(this),this[n(134)]({tag:n(120),attributes:{class:["ck",n(108)]},children:[{tag:n(113),attributes:{class:["ck",n(123)]},children:[{text:r}]},{tag:n(120),attributes:{class:["ck",n(138)]},children:this[n(125)]}]})}[co(133)](t){const e=co,i=new Ue(this[e(131)],t,this[e(119)],this[e(121)]);this[e(125)][e(106)](i)}[co(114)](t){const e=co,i=this[e(125)][e(122)]((e=>e.id===t.id));this[e(125)][e(124)](i)}}var fo=i(173),mo={attributes:{"data-cke":!0}};mo.setAttributes=wt(),mo.insert=kt().bind(null,"head"),mo.domAPI=gt(),mo.insertStyleElement=It();pt()(fo.A,mo);fo.A&&fo.A.locals&&fo.A.locals;function po(t,e){const i=vo();return(po=function(t,e){return i[t-=411]})(t,e)}function vo(){const t=["2XcYYrK","11624436gKOSnR","setTemplate","ck-revision-history-sidebar__header__label","3429570yhMgId","319847EgVEVm","ck-reset_all","content","32150437qxACZS","10ByVAtl","6oSoidW","3930143pLTJZt","div","1621059Pjvsvp","ck-revision-history-sidebar__header","6607816KKSogx","8JZLJbB","span","Revision history"];return(vo=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(744369===parseInt(e(414))/1*(-parseInt(e(428))/2)+parseInt(e(422))/3+-parseInt(e(425))/4*(parseInt(e(413))/5)+parseInt(e(419))/6*(-parseInt(e(420))/7)+parseInt(e(424))/8+-parseInt(e(429))/9+-parseInt(e(418))/10*(-parseInt(e(417))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);class go extends ft.View{constructor(t){const e=po;super(t);const i=new ft.IconView;i[e(416)]=dt.IconHistory,this[e(411)]({tag:e(421),attributes:{class:["ck",e(415),e(423)]},children:[i,{tag:e(426),attributes:{class:["ck",e(412)]},children:[G(t,e(427))]}]})}}var yo=i(722),ko={attributes:{"data-cke":!0}};ko.setAttributes=wt(),ko.insert=kt().bind(null,"head"),ko.domAPI=gt(),ko.insertStyleElement=It();pt()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(t,e){const i=_o();return(bo=function(t,e){return i[t-=203]})(t,e)}const wo=bo;function _o(){const t=["264iMGoEa","highlightRevisions","add","some","_getTimePeriodViewByStartDate","338YLTVmS","_revisions","createdAt","_removeRevision","bindTemplate","uiLanguage","unhighlight","4157205DCQMhY","get","div","removeRevision","isEnabled","_addRevision","ck-revision-history-sidebar__timeline","addRevision","2385099gaifLm","locale","2953OcEmnF","109080caLBwA","_requireRevisionName","timePeriodViews","391599XULvpL","flat","highlight","setTemplate","getTime","map","find","ck-disabled","177882pYRprA","5615808zEJYoO","startDate","selectRevision","revisionSelected","setName","revisionSetName","91hDPUCQ","revisionViews","set","createCollection","fire","remove","ck-rounded-corners","ck-revision-history-sidebar","render","ck-reset","_revisionActions","delegate","select","deselect"];return(_o=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(784825===-parseInt(e(244))/1*(parseInt(e(227))/2)+parseInt(e(242))/3+-parseInt(e(257))/4+parseInt(e(234))/5+-parseInt(e(256))/6*(parseInt(e(208))/7)+parseInt(e(222))/8*(parseInt(e(248))/9)+parseInt(e(245))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends ft.View{[wo(247)];[wo(228)];[wo(218)];[wo(246)];constructor(t,e,i,s){const n=wo;super(t);const r=this[n(231)];this[n(247)]=this[n(211)](),this[n(247)][n(219)](n(220)).to(this),this[n(247)][n(219)](n(206)).to(this),this[n(228)]=e,this[n(218)]=i,this[n(246)]=s,this.on(n(220),((t,e)=>{const i=n;this[i(212)](i(205),e)})),this.on(n(206),((t,e)=>{const i=n;this[i(212)](i(207),e)})),this[n(210)](n(238),!1),this[n(251)]({tag:n(236),attributes:{class:["ck",n(217),n(214),n(215)]},children:[new go(t),{tag:n(236),attributes:{class:["ck",n(240),r.if(n(238),n(255),(t=>!t))]},children:this[n(247)]}]})}[wo(216)](){const t=wo;super[t(216)]();for(const e of this[t(228)])this[t(239)](e);this[t(228)].on(t(224),((e,i)=>{this[t(239)](i)})),this[t(228)].on(t(213),((e,i)=>{this[t(230)](i)}))}get[wo(209)](){const t=wo;return this[t(247)][t(253)]((e=>e[t(209)][t(253)]((t=>t))))[t(249)]()}[wo(204)](t){const e=wo;for(const i of this[e(209)])t&&t.id===i.id?i[e(220)]():i[e(221)]()}[wo(223)](t){const e=wo;for(const i of this[e(209)])t[e(225)]((({id:t})=>t===i.id))?i[e(250)]():i[e(233)]()}[wo(239)](t){const e=wo,i=so(t[e(229)],this[e(243)][e(232)])[e(203)];let s=this[e(247)][e(235)](0);s&&s[e(203)][e(252)]()===i[e(252)]()||(s=new ho(this[e(243)],i,this[e(218)],this[e(246)]),this[e(247)][e(224)](s)),s[e(241)](t)}[wo(230)](t){const e=wo,i=so(t[e(229)],this[e(243)][e(232)])[e(203)];this[e(226)](i)[e(237)](t)}[wo(226)](t){const e=wo;return this[e(247)][e(254)]((i=>i[e(203)][e(252)]()===t[e(252)]()))}}const So=Oo;function Oo(t,e){const i=xo();return(Oo=function(t,e){return i[t-=433]})(t,e)}function xo(){const t=["selectRevision","revisionHistory.viewerSidebarContainer","getLaterVisibleRevision","diff","change:diff","nameRevision","fieldView","94916CZygGa","destroy","setName","focus","isVisible","string","Name this revision","add","6032907yMntRb","action","remove","data","timePeriodViews","Compare against selected","repository","_handleRevisionSelected","_handleRevisionSetName","1268278qeHkdq","restoreRevisionCallback","_revisionViewer","getEarlierVisibleRevision","getRevision","map","assign","revisionSelected","locale","listenTo","defaultRevisionActions","_handleDiffChange","6qCkxfv","_revisionsRepository","getIndex","Restore this revision","config","init","RevisionsSidebar","_createRevisionActions","highlightRevisions","revisionViews","_handleEditorDataReady","compare","appendChild","availableRevisionActions","revisionHistory.revisionActions","isOfficialPlugin","ready","render","plugins","201cFEPQM","isEnabled","name","restoreRevision","pluginName","bind","get","isPremiumPlugin","_sidebarView","requires","isReady","36rJAopY","editor","11456440uGMewH","10CEsLph","revisionSetName","7454XTOLhO","compareAgainstSelected","revisionHistory.requireRevisionName","isSelected","getRevisionsInDiff","382748MPNEKb","_revisions","select","newRevisionId","element","length","5jVUctP","7796803niLLkB","revisionHistory"];return(xo=function(){return t})()}!function(t){const e=Oo,i=t();for(;;)try{if(725715===-parseInt(e(509))/1+-parseInt(e(504))/2*(parseInt(e(488))/3)+parseInt(e(440))/4*(parseInt(e(515))/5)+-parseInt(e(469))/6*(parseInt(e(516))/7)+parseInt(e(501))/8+parseInt(e(448))/9*(parseInt(e(502))/10)+parseInt(e(457))/11*(parseInt(e(499))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class To extends U.Plugin{[So(459)];[So(470)];[So(496)];static[So(467)]=[So(505),So(491),So(438)];static[So(482)]=function(){const t=So;return{compareAgainstSelected:{name:t(453),action:({plugins:e},i)=>{const s=t,n=e[s(494)](Qt),r=n[s(454)];let o=n[s(436)][s(512)],a=i.id;r[s(471)](o)>r[s(471)](a)&&([o,a]=[a,o]),n[s(480)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(494)](Qt);return!(n[s(454)][s(508)](n[s(436)])[s(514)]>2||i[s(507)])}},restoreRevision:{name:t(472),action:(e,{id:i})=>{const s=t;e[s(473)][s(494)](s(517))[s(458)](i)},isVisible:({plugins:e},i)=>!!e[t(494)](Qt)[t(454)][t(435)](i.id)},nameRevision:{name:t(446),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(494)](Qt),o=r[n(454)][n(460)](i);r[n(480)](i,o),s[n(443)](),s[n(439)][n(511)]()}}}}();static get[So(492)](){return So(475)}static get[So(484)](){return!0}static get[So(495)](){return!0}static get[So(497)](){return[Qt]}constructor(t){const e=So;super(t),this[e(459)]=t[e(487)][e(494)](Qt),this[e(470)]=this[e(459)][e(454)],this[e(496)]=null}[So(474)](){const t=So,e=this[t(470)][t(510)],i=this[t(476)](),s=this[t(500)][t(473)][t(494)](t(434));this[t(496)]=new Io(this[t(500)][t(465)],e,i,this[t(500)][t(473)][t(494)](t(506))),this[t(496)].on(t(464),this[t(455)][t(493)](this)),this[t(496)].on(t(503),this[t(456)][t(493)](this)),this[t(496)][t(493)](t(489)).to(this[t(459)]),this[t(496)][t(452)].on(t(447),((e,i)=>{const s=t;i[s(478)].on(s(447),((t,e)=>{const i=s;e[i(493)](i(489),i(498)).to(this[i(459)])}))})),this[t(496)][t(486)](),this[t(466)](this[t(500)][t(451)],t(485),this[t(479)][t(493)](this)),this[t(466)](this[t(459)],t(437),this[t(468)][t(493)](this)),s[t(481)](this[t(496)][t(513)])}[So(441)](){const t=So;this[t(496)][t(513)][t(450)](),this[t(496)][t(441)]()}[So(479)](){const t=So,e=this[t(470)][t(461)](0);if(e){const i=this[t(470)][t(460)](e.id);this[t(459)][t(480)](e,i)}}[So(455)](t,e){const i=So,s=this[i(470)][i(461)](e.id),n=this[i(470)][i(460)](s.id);this[i(459)][i(480)](s,n)}[So(456)](t,e){const i=So;this[i(470)][i(461)](e.id)[i(442)](e[i(490)])}[So(468)](t,e,i){const s=So,n=this[s(470)][s(508)](i);n[s(514)]>2?(this[s(496)][s(477)](n),this[s(496)][s(433)](null)):(this[s(496)][s(477)]([]),this[s(496)][s(433)](n[0]))}[So(476)](){const t=So,e=this[t(500)],i=To[t(482)],s=e[t(473)][t(494)](t(483))||To[t(467)];if(s[t(514)])return s[t(462)]((s=>{const n=t,r=n(445)==typeof s?Object[n(463)]({},i[s]):s;return r[n(449)]=r[n(449)][n(493)](this,e),r[n(444)]&&(r[n(444)]=r[n(444)][n(493)](this,e)),r}))}}const No=To;function Ao(t,e){const i=Eo();return(Ao=function(t,e){return i[t-=389]})(t,e)}const Ro=Ao;function Eo(){const t=["config","addToolbar","3529010cbDIML","172739eTowrC","ready","viewportOffset","248bnbfik","init","_elementReplacer","207141pxmBDB","replace","name","bind","render","editable","view","9JiUVWQ","detachDomRoot","editing","focusTracker","attachDomRoot","destroy","32LDjXld","componentFactory","51995qfSXmb","stickyPanel","_view","isActive","217090jzmDNo","getRoot","isFocused","5EWUgwE","_toolbarConfig","editor","element","limiterElement","444fKXkMf","viewportTopOffset","_initToolbar","fire","toolbar","fillFromConfig","rootName","document","32976312QeVmPR","4045316DKatBg","restore","get","setEditableElement"];return(Eo=function(){return t})()}!function(t){const e=Ao,i=t();for(;;)try{if(602245===-parseInt(e(409))/1*(-parseInt(e(406))/2)+parseInt(e(436))/3*(parseInt(e(400))/4)+parseInt(e(402))/5*(parseInt(e(414))/6)+parseInt(e(430))/7*(parseInt(e(433))/8)+parseInt(e(394))/9*(parseInt(e(429))/10)+parseInt(e(423))/11+-parseInt(e(422))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Mo extends ft.EditorUI{[Ro(404)];[Ro(410)];[Ro(435)];get[Ro(393)](){return this[Ro(404)]}constructor(e,i){const s=Ro;super(e),this[s(404)]=i,this[s(410)]=(0,ft.normalizeToolbarConfig)(e[s(427)][s(425)](s(418))),this[s(435)]=new t.ElementReplacer}get[Ro(412)](){const t=Ro;return this[t(393)][t(412)]}[Ro(434)](t){const e=Ro,i=this[e(411)],s=this[e(393)],n=i[e(396)][e(393)],r=s[e(392)],o=n[e(421)][e(407)]();r[e(389)]=o[e(420)],s[e(391)]();const a=r[e(412)];this[e(426)](r[e(389)],a),s[e(392)][e(390)](e(408)).to(this[e(397)]),n[e(398)](a),this[e(435)][e(437)](t,this[e(412)]),this[e(416)](),this[e(417)](e(431))}[Ro(399)](){const t=Ro;super[t(399)]();const e=this[t(393)],i=this[t(411)][t(396)][t(393)];this[t(435)][t(424)](),i[t(395)](e[t(392)][t(389)]),e[t(399)]()}[Ro(416)](){const t=Ro,e=this[t(393)];e[t(403)][t(390)](t(405)).to(this[t(397)],t(408)),e[t(403)][t(413)]=e[t(412)],e[t(403)][t(390)](t(415)).to(this,t(432),(({top:t})=>t)),e[t(418)][t(419)](this[t(410)],this[t(401)]),this[t(428)](e[t(418)])}}var Vo=i(161),Do={attributes:{"data-cke":!0}};Do.setAttributes=wt(),Do.insert=kt().bind(null,"head"),Do.domAPI=gt(),Do.insertStyleElement=It();pt()(Vo.A,Do);Vo.A&&Vo.A.locals&&Vo.A.locals;function Co(){var t=["content","31671728gfekhm","6420127amVRoN","3859844BTYvRx","top","editable","add","stickyPanel","1526460ODxWZI","7723368NHPHeS","shouldToolbarGroupWhenFull","main","328FLElSp","toolbar","render","_editable","3432QyRMqB","597448rnJkRU"];return(Co=function(){return t})()}var Fo=Lo;function Lo(t,e){var i=Co();return(Lo=function(t,e){return i[t-=363]})(t,e)}!function(t){for(var e=Lo,i=t();;)try{if(685076===-parseInt(e(374))/1+parseInt(e(369))/2*(parseInt(e(373))/3)+-parseInt(e(378))/4+parseInt(e(365))/5+-parseInt(e(366))/6+-parseInt(e(377))/7+parseInt(e(376))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Co);class jo extends ft.BoxedEditorUIView{[Fo(372)];[Fo(364)];[Fo(370)];get[Fo(380)](){return this[Fo(372)]}constructor(t,e,i={}){var s=Fo;super(t),this[s(364)]=new ft.StickyPanelView(t),this[s(370)]=new ft.ToolbarView(t,{shouldGroupWhenFull:i[s(367)]}),this[s(372)]=new ft.InlineEditableUIView(t,e)}[Fo(371)](){var t=Fo;super[t(371)](),this[t(364)][t(375)][t(363)](this[t(370)]),this[t(379)][t(363)](this[t(364)]),this[t(368)][t(363)](this[t(380)])}}function Po(){const t=["destroy","document","createRoot","ready","initialData","_ui","fire","18DAUmDn","996281edmFXZ","155oxVxMG","get","162070bWfAcE","12654HBNcPj","10izkThS","70gHwtAq","7897275bRZFvF","locale","12808MoSfGF","initPlugins","updateSourceElement","view","sourceElement","589710aanNwI","create","editing","init","data","model","config","3458616IiuAvZ"];return(Po=function(){return t})()}const Wo=zo;function zo(t,e){const i=Po();return(zo=function(t,e){return i[t-=339]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(535675===parseInt(e(344))/1+-parseInt(e(345))/2*(-parseInt(e(340))/3)+parseInt(e(350))/4*(parseInt(e(342))/5)+-parseInt(e(355))/6*(parseInt(e(347))/7)+parseInt(e(362))/8+parseInt(e(348))/9+parseInt(e(346))/10*(-parseInt(e(341))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Uo extends((0,U.ElementApiMixin)(U.Editor)){[Wo(368)];get ui(){return this[Wo(368)]}constructor(t,e){const i=Wo;super(e),this[i(354)]=t,this[i(360)][i(364)][i(365)]();const s=new jo(this[i(349)],this[i(357)][i(353)],{shouldToolbarGroupWhenFull:!0});this[i(368)]=new Mo(this,s)}[Wo(363)](){const t=Wo;return this[t(352)](),this.ui[t(363)](),super[t(363)]()}static async[Wo(356)](t,e){const i=Wo,s=new this(t,e);return await s[i(351)](),await s.ui[i(358)](t),await s[i(359)][i(358)](s[i(361)][i(343)](i(367))||""),s[i(339)](i(366)),s}}function Zo(t,e){const i=qo();return(Zo=function(t,e){return i[t-=469]})(t,e)}const Ho=Zo;function qo(){const t=["toLocaleDateString","44554mVfPUW","creator","revisionHistory.requireRevisionName","462jZTldf","adapter","isOpen","removeSelectionAttribute","includes","RevisionViewerIntegration","createRangeIn","RevisionViewer","requires","setAttribute","closeRevisionViewerCallback","toolbar","_enhanceCloseRevisionViewerCallback","getRevisionRootsAttributes","RevisionsRepository","catch","disableReadOnlyMode","commands","RevisionHistoryUI","users","_recalculatePageBreaks","block","locale","enqueueChange","revision-history-viewer-opened","long","revisionHistory.viewerEditorElement","bind","fromCharCode","revisionHistory","revisionHistory.restoreRevisionCallback","uiLanguage","_cleanUp","Dialog","repository","RevisionTracker","editor","_update","get","display","showRevisionViewerCallback","revisionHistory.viewerContainer","11vYSpYX","getRevisions","getRevision","toJSON","destroy","isReady","restoreRevision","pluginName","getMarkersGroup","Users","save","revisionHistory.closeRevisionViewerCallback","3909684HbwlnB","update","document","isOfficialPlugin","create","lazyRoots","then","join","createdAt","removeAttribute","hide","changesNavigation","isReadOnly","revisionHistory.showRevisionViewerCallback","addRoot","refreshVisibility","getAttributeKeys","name","refreshPositioning","addRevisionData","push","set","RevisionHistory","123SsrWgv","from","none","translations","isAttached","end","getRevisionData","has","parse","roots","markers","_getRevisionViewerEditorConfig","define","restrictedEditingException","revisionHistory.editorContainer","change","numeric","map","model","fromVersion","rootName","RestrictedEditingMode","error","exitToEditing","Autosave","_viewerEditor","getUser","10umfHxp","config","indexOf","_restoreRevision","_enhanceShowRevisionViewerCallback","addUser","detachRoot","9cLHDTj","style","getRoot","revision-history-missing-configuration","insert","toLocaleTimeString","init","166341fAjbOR","toVersion","keys","enableReadOnlyMode","isEnabled","isAnonymous","2222072Jbkwdq","12315290wrIiHh","$graveyard","Restored","_showRevisionViewer","PaginationLookup","selection","190032lKmQhC","result","remove","_closeRevisionViewer","plugins","49311660cPbztE","setSelection","removeMarker","saveRevision","isPremiumPlugin","data","Annotations"];return(qo=function(){return t})()}!function(t){const e=Zo,i=t();for(;;)try{if(834626===-parseInt(e(597))/1+-parseInt(e(476))/2*(parseInt(e(556))/3)+-parseInt(e(603))/4+-parseInt(e(583))/5*(parseInt(e(533))/6)+-parseInt(e(479))/7*(parseInt(e(610))/8)+-parseInt(e(590))/9*(-parseInt(e(604))/10)+parseInt(e(521))/11*(parseInt(e(615))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);const $o=[Ho(497),Ho(577)];class Bo extends U.Plugin{[Ho(611)];static get[Ho(528)](){return Ho(484)}static get[Ho(536)](){return!0}static get[Ho(472)](){return!0}constructor(t){const e=Ho;function i(t){const e=Zo;return t[e(573)]((t=>String[e(507)](t)))[e(540)]("")}super(t),this[e(611)]=e(561),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 Yo extends U.Plugin{[Ho(581)];static get[Ho(528)](){return Ho(555)}static get[Ho(536)](){return!0}static get[Ho(472)](){return!0}static get[Ho(487)](){return[nt,Ct]}constructor(e){const i=Ho;if(super(e),!this[i(515)][i(584)][i(517)](i(508)))throw new t.CKEditorError(i(593),this);this[i(581)]=null,this[i(515)][i(584)][i(568)](i(546),(t=>this[i(607)]({...t,translations:this[i(515)][i(501)][i(559)]}))),this[i(515)][i(584)][i(568)](i(532),(t=>this[i(613)](t))),this[i(515)][i(584)][i(568)](i(509),(t=>this[i(586)](t))),this[i(515)][i(584)][i(568)](i(478),!1),this[i(587)](),this[i(491)]()}set[Ho(480)](t){const e=Ho;this[e(515)][e(614)][e(517)](e(514))[e(480)]=t}get[Ho(480)](){const t=Ho;return this[t(515)][t(614)][t(517)](t(514))[t(480)]}[Ho(552)](t){const e=Ho;return this[e(515)][e(614)][e(517)](e(514))[e(552)](t)}[Ho(523)](t){const e=Ho;return this[e(515)][e(614)][e(517)](e(493))[e(523)](t)}[Ho(522)](t){const e=Ho;return this[e(515)][e(614)][e(517)](e(493))[e(522)](t||{toJSON:!1})}[Ho(567)](){const e=Ho,i=this[e(515)],s=(0,Z.sanitizeEditorConfig)(i,$o),n=i[e(614)][e(517)](e(514)),r=i[e(614)][e(517)](e(530))[e(498)];return s[e(490)]=[e(579),e(527),e(544)],delete s[e(538)],s[e(614)][e(553)](Bo,Qt,ke,class extends U.Plugin{static get[e(487)](){return[Qt,e(530)]}[e(596)](){const s=e,o=this[s(515)][s(614)][s(517)](s(530));for(const t of r)t[s(602)]||o[s(582)](t.id)||o[s(588)](t);const a=n[s(513)][s(522)]();let c=null;const u=this[s(515)][s(614)][s(517)](s(486));u[s(480)]=n[s(480)],u[s(506)](s(601)).to(n),this[s(515)][s(496)][s(517)](s(527))[s(506)](s(601)).to(i,s(545),(t=>!t));for(const e of a){const i=null===e[s(477)];if(i&&e[s(598)]===e[s(575)])continue;const r=e[s(524)]();u[s(552)](r,((r,o,a)=>{const u=s;if(i){if(c)c[u(516)](r,o);else if(!o){const e=a[u(524)]();e.id=(0,t.uid)(),n[u(471)](e,a[u(598)])[u(539)]((t=>{c=t}))}}else e[u(516)](r,o)}))}}},No),s}[Ho(587)](){const t=Ho,e=this[t(515)][t(584)][t(517)](t(508))[t(519)];this[t(515)][t(584)][t(554)](t(546),(async()=>{const i=t;this[i(515)][i(600)](i(503));const s=this[i(515)][i(614)][i(517)](i(514));if(this[i(515)][i(614)][i(563)](i(580))){const t=this[i(515)][i(614)][i(517)](i(580));await t[i(531)]()}else await s[i(534)]();if(this[i(515)][i(614)][i(563)](i(608))&&this[i(515)][i(614)][i(517)](i(608))[i(499)](),this[i(515)][i(614)][i(563)](i(512))){const t=this[i(515)][i(614)][i(517)](i(512));t[i(481)]&&t[i(543)]()}const n=this[i(567)]();return e(n)[i(539)]((t=>{const e=i;return this[e(581)]=t,this[e(515)][e(614)][e(563)](e(474))&&this[e(515)][e(614)][e(517)](e(474))[e(548)](),t}))[i(494)]((t=>(console[i(578)](t),this[i(515)][i(495)](i(503)),null)))}))}[Ho(491)](){const t=Ho,e=this[t(515)][t(584)][t(517)](t(508))[t(489)];this[t(515)][t(584)][t(554)](t(532),(()=>(this[t(515)][t(614)][t(563)](t(608))&&this[t(515)][t(614)][t(517)](t(608))[t(499)](),this[t(581)][t(614)][t(517)](t(486))[t(511)](),e(this[t(581)])[t(539)]((()=>{const e=t;if(this[e(515)][e(495)](e(503)),this[e(581)]=null,this[e(515)][e(614)][e(563)](e(474))){const t=this[e(515)][e(614)][e(517)](e(474));t[e(548)](),t[e(551)]()}})))))}[Ho(607)](t){const e=Ho,i=this[e(515)][e(584)][e(517)](e(570)),s=this[e(515)][e(584)][e(517)](e(520)),n=this[e(515)][e(584)][e(517)](e(505));return Uo[e(537)](n,t)[e(539)]((t=>(s[e(591)][e(518)]=e(500),i[e(591)][e(518)]=e(558),t)))}[Ho(613)](t){const e=Ho,i=this[e(515)][e(584)][e(517)](e(570));return this[e(515)][e(584)][e(517)](e(520))[e(591)][e(518)]=e(558),i[e(591)][e(518)]="",t[e(525)]()}async[Ho(586)](t){const e=Ho,i=this[e(515)],s=this[e(581)][e(614)][e(517)](e(486)),n=i[e(614)][e(517)](e(514)),r=s[e(513)][e(523)](t);let o,a,c;try{o=await s[e(562)](r),a=await s[e(492)](r)}catch(t){return void console[e(578)](t)}i[e(574)][e(571)]((t=>{const s=e;for(const e of Array[s(557)](i[s(574)][s(566)][s(529)](s(569))))t[s(470)](e)})),s[e(526)]=!1,i[e(574)][e(502)]((t=>{const s=e;t[s(469)](null),t[s(482)](i[s(574)][s(535)][s(609)][s(549)]());const n=Object[s(599)](o);for(const e of i[s(574)][s(535)][s(565)])s(605)!=e[s(576)]&&e[s(560)]()&&!n[s(483)](e[s(576)])&&t[s(589)](e);for(const e of n){let n=i[s(574)][s(535)][s(592)](e);n&&n[s(560)]()||(n=t[s(547)](e));const r=a[e],c=Object[s(599)](r),u=o[e];for(const e of n[s(549)]())c[s(483)](e)||t[s(542)](e,n);for(const i of c)t[s(488)](i,a[e][i],n);t[s(612)](t[s(485)](n)),t[s(594)](i[s(473)][s(564)](u,n),n,0)}}));const u=G(i[e(501)],e(606));return c=r[e(550)]?-1==r[e(550)][e(585)](u)?u+": "+r[e(550)]:r[e(550)]:u+": "+r[e(541)][e(475)](i[e(501)][e(510)],{month:e(504),day:e(572)})+", "+r[e(541)][e(595)](i[e(501)][e(510)],{hour:e(572),minute:e(572)}),await n[e(471)]({name:c}),s[e(526)]=!0,i[e(584)][e(517)](e(508))[e(489)]()}}function Go(t,e){var i=Jo();return(Go=function(t,e){return i[t-=261]})(t,e)}function Jo(){var t=["506966jEqrUe","3qscfjO","591997Rpmoao","366576RBEccC","1417956LJXIsv","563224BSpGeo","8881328esOFHj","1096745CewSdb"];return(Jo=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(190945===parseInt(e(267))/1+parseInt(e(264))/2*(parseInt(e(265))/3)+parseInt(e(261))/4+parseInt(e(263))/5+parseInt(e(268))/6+parseInt(e(266))/7+-parseInt(e(262))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();