@ckeditor/ckeditor5-revision-history 46.0.3 → 46.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +7 -7
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +11 -11
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>Ht,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>mt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,R=void 0){const A=R?.(t,e,i,n);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,R));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,R),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,R),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,R),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function R(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function A(t){return R(t)}function M(t){return"__proto__"===t}function E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&E(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function U(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function W(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?U(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}V(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?Z(e)?H(t,U(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=H(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const $=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=285]})(t,e)}function Y(){const t=["model","name","3SrEZGl","4740905kEimOS","toJSON","diffData","creator","fromVersion","2886sOEQUq","creatorId","13854519EfliVI","_update","1920310noEybq","map","setName","8659lpzbIY","authors","90006FkPFcp","setAttribute","4460180qFELzS","createdAt","toVersion","fire","4182528UcmmGK","set","authorsIds","attributes","removeAttribute"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(583913===-parseInt(e(286))/1+-parseInt(e(309))/2+-parseInt(e(299))/3*(-parseInt(e(288))/4)+-parseInt(e(300))/5+parseInt(e(305))/6*(-parseInt(e(312))/7)+parseInt(e(292))/8+parseInt(e(307))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[$(303)];[$(285)];[$(302)];[$(290)];[$(304)];[$(297)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(303)]=e[i(303)]||null,this[i(285)]=e[i(285)]||[],this[i(302)]=e[i(302)]||null,this[i(290)]=e[i(290)]||0,this[i(304)]=e[i(304)]||0,this[i(293)](i(298),e[i(298)]||""),this[i(293)](i(289),e[i(289)]||new Date),this[i(293)](i(295),e[i(295)]||{})}[$(311)](t){this[$(308)]({name:t})}[$(287)](t,e){const i=$,n=A(this[i(295)]);W(n,t,e),this[i(308)]({attributes:n})}[$(296)](t){const e=$,i=A(this[e(295)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Z(e))return q(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(308)]({attributes:i})}[$(308)](t,e=!1){const i=$;let n=!1;const s={id:this.id},r=[i(298),i(289),i(302),i(285),i(295),i(290),i(304),i(306)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(285)]&&(s[i(294)]=s[i(285)][i(310)](t=>t.id),delete s[i(285)]),this[i(291)](i(308),s,e))}[$(301)](){const t=$;return{id:this.id,name:this[t(298)],creatorId:this[t(303)]?this[t(303)].id:null,authorsIds:this[t(285)][t(310)](t=>t.id),diffData:this[t(302)],createdAt:this[t(289)],attributes:this[t(295)],fromVersion:this[t(304)],toVersion:this[t(290)]}}}var G=i(782),K=i(211),Q=i(783);const X=tt;function tt(t,e){const i=et();return(tt=function(t,e){return i[t-=391]})(t,e)}function et(){const t=["diffData","getEarlierVisibleRevision","createdAt","2519088YRmEEU","data","3042CFLFGe","authorsIds","346530sNvDdQ","editor","isOfficialPlugin","plugins","getUser","href","join","getIndex","getRevisions","36PAjiLv","length","42JkqEmN","17ZrWrKz","later","addRevision","reverse","pluginName","getLaterVisibleRevision","getRevisionsInDiff","113870SqsOzN","getRevisionsIterator","add","292564RSSyqW","1030ZEZLoC","fromCharCode","oldRevisionId","Users","name","toVersion","isNaN","9eGxdfy","5186230fdIuuB","map","push","_revisions","isPremiumPlugin","get","earlier","fromVersion","afterInit","toJSON","newRevisionId","attributes","requires","getRevision","creatorId","createRevision","6463413tuONOQ","from","RevisionsRepository"];return(et=function(){return t})()}!function(t){const e=tt,i=t();for(;;)try{if(720683===parseInt(e(399))/1*(parseInt(e(406))/2)+parseInt(e(398))/3*(-parseInt(e(409))/4)+parseInt(e(410))/5*(parseInt(e(442))/6)+-parseInt(e(418))/7+-parseInt(e(440))/8+-parseInt(e(417))/9*(parseInt(e(444))/10)+-parseInt(e(434))/11*(-parseInt(e(396))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[X(421)];static get[X(430)](){return[K.Users]}static get[X(403)](){return X(436)}static get[X(446)](){return!0}static get[X(422)](){return!0}get[X(397)](){const t=X;return this[t(421)][t(397)]}constructor(e){const i=X;super(e),this[i(421)]=new t.Collection}[X(426)](){!async function(e){const i=k([83,99,105,102,79,90,84,49,74,89,55,121,114,115,97,76,71,75,86,88,82,67,65,111,100,119,122,54,112,113,73,117,78,70,72,85,101,52,56,98,104,108,51,110,77,120,103,57,48,66,50,118,116,53,107,106,81,80,68,109,69,87]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(416)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([83]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=tt;return t[e(419)](t=>String[e(411)](t))[e(393)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1756857600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(392)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[X(433)](t){const e=X,i=this[e(445)][e(447)][e(423)](e(413));return new J({id:t.id,name:t[e(414)],creator:t[e(432)]?i[e(391)](t[e(432)]):null,diffData:t[e(437)]||t[e(441)],authors:t[e(443)][e(419)](t=>i[e(391)](t)),createdAt:new Date(t[e(439)]),attributes:t[e(429)],fromVersion:t[e(425)],toVersion:t[e(415)]})}[X(401)](t,e=0){const i=X;this[i(421)][i(408)](t,e)}[X(431)](t){const e=X;return this[e(421)][e(423)](t)}[X(395)](t={toJSON:!1}){const e=X,i=Array[e(435)](this[e(421)]);return i[e(402)](),t[e(427)]?i[e(419)](t=>t[e(427)]()):i}[X(394)](t){const e=X;return this[e(421)][e(394)](t)}[X(438)](t){const e=X,[,i]=this[e(407)](t,{direction:e(424)});return i}[X(404)](t){const e=X,[,i]=this[e(407)](t,{direction:e(400)});return i}[X(405)](t){const e=X,i=[];for(const n of this[e(407)](t[e(428)]))if(i[e(420)](n),n.id===t[e(412)])break;return i}*[X(407)](t,{direction:e=X(424),filter:i=()=>!0}={}){const n=X,s=n(424)===e?1:-1;let r=this[n(421)][n(423)](t),o=this[n(394)](r);for(yield r;r;){if(o+=s,r=this[n(431)](o),!r)return;i(r)&&(yield r)}}}function nt(t,e){const i=rt();return(nt=function(t,e){return i[t-=223]})(t,e)}const st=nt;function rt(){const t=["domConverter","processor","attributesAfter","filter","forEach","type","RevisionHistoryUtils","string","_viewClassToTypeChar","_getTypeCharForViewElement","getRevisionRootsAttributes","isPremiumPlugin","4fOalZt","document","getFillerOffset","116WEUcwa","getRevisionDocumentData","createElement","default","55UUAJcd","marked","attachChange","constructor","77481uNNWwX","render","view","domChildrenToView","_removeRevisionMarkers","editor","editing","revision-end","htmlProcessor","_appendChild","toData","4672600JEDrOt","getRevision","map","isAttached","attributes","collaboration.channelId","parse","diffData","fillerOffset","name","data-revision-","append","_makeModelFromViewString","revision-start","viewChildrenToDom","childNodes","insertions","loadRevisionData","children","get","customProperties","2642958SjXMtQ","_setCustomProperty","from","2401560sEkdZe","useFillerType","config","data","pluginName","1052710RFyGuI","32716rrHaJX","isOfficialPlugin","length","_typeCharToViewClass","innerHTML","_getViewFromDiffObj","div","5092318OFIUqK","toModel","8lgsfBk","startsWith","domDocument"];return(rt=function(){return t})()}!function(t){const e=nt,i=t();for(;;)try{if(470840===parseInt(e(297))/1*(-parseInt(e(245))/2)+parseInt(e(256))/3*(parseInt(e(248))/4)+parseInt(e(267))/5+parseInt(e(291))/6+-parseInt(e(228))/7+parseInt(e(230))/8*(-parseInt(e(288))/9)+parseInt(e(296))/10*(-parseInt(e(252))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[st(295)](){return st(239)}static get[st(298)](){return!0}static get[st(244)](){return!0}[st(241)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[st(224)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[st(284)](t,e){const i=st;if(t[i(274)]||!e)return;const n=this[i(261)][i(293)][i(286)](i(272)),s=await e[i(268)]({channelId:n,revisionId:t.id});t[i(274)]=s[i(274)]}[st(249)](t){const e=st,i={};for(const n in t[e(274)]){if(t[e(274)][n][e(254)]&&!t[e(274)][n][e(254)][e(270)])continue;const s=this[e(260)](JSON[e(273)](t[e(274)][n][e(283)])),r=this[e(261)][e(262)][e(258)][e(246)],o=new Q.ViewDocumentFragment(r,s[e(269)](t=>this[e(226)](t,!1)));this[e(261)][e(294)][e(234)][e(292)](e(253)),i[n]=this[e(261)][e(294)][e(234)][e(266)](o),this[e(261)][e(294)][e(234)][e(292)](e(251))}return i}[st(243)](t){const e=st,i={};for(const n in t[e(274)])t[e(274)][n][e(254)]&&!t[e(274)][n][e(254)][e(270)]||(i[n]=t[e(274)][n][e(235)]||{});return i}[st(242)](t){const e=st;return this[e(241)][e(286)](t[e(255)])}[st(226)](t,e){const i=st,n=this[i(261)][i(262)][i(258)][i(246)];if(i(240)==typeof t)return new Q.ViewText(n,t);{let s,r;r="u"==t[i(238)]||"r"==t[i(238)]?[]:t[i(285)][i(269)](t=>this[i(226)](t,e));const o=this[i(224)][i(286)](t[i(238)])||Q.ViewElement,a=this[i(261)][i(294)][i(264)][i(233)];if(s=new o(n,t[i(276)],t[i(271)],r),"u"==t[i(238)]&&t[i(285)][0]){const r=t[i(285)][0];if(s[i(257)]=function(t){const e=i,n=t[e(250)](e(227));return n[e(225)]=r,n[e(282)][0]},e){const t=new Q.ViewDocumentFragment(n);t[i(265)](s);const e=Array[i(290)](a[i(281)](t,{bind:!1})),r=a[i(232)][i(250)](i(227));r[i(278)](...e),s=Array[i(290)](a[i(259)](r))[0]}}else if("r"==t[i(238)]&&t[i(285)][0]){const r=t[i(285)][0];if(s[i(257)]=function(t){t[i(225)]=r},e){const t=new Q.ViewDocumentFragment(n);t[i(265)](s);const e=Array[i(290)](a[i(281)](t,{bind:!1})),r=a[i(232)][i(250)](i(227));r[i(278)](...e);const o=Array[i(290)](a[i(259)](r));o[i(223)]>1?s[i(265)](o):s=o[0]}}if(t[i(287)])for(const[e,n]of t[i(287)])s[i(289)](e,n);const c=void 0===t[i(275)]?null:t[i(275)];return null!==c&&(s[i(247)]=()=>c),s}}[st(279)](t){const e=st,i=JSON[e(273)](t),n=this[e(261)][e(262)][e(258)][e(246)],s=new Q.ViewDocumentFragment(n,i[e(269)](t=>this[e(226)](t,!0)));return this[e(261)][e(294)][e(229)](s)}[st(260)](t){const e=st;return(t=t[e(236)](t=>!t[e(276)]||e(280)!==t[e(276)]&&e(263)!==t[e(276)]))[e(237)](t=>{const i=e;i(240)!=typeof t&&(t[i(285)]=this[i(260)](t[i(285)]),t[i(271)]=t[i(271)][i(236)](t=>!t[0][i(231)](i(277))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),R=s(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return E(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const A=(n=n??new Map).get(t),M=n.get(i);if(null!=A&&null!=M)return A===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=kt;!function(t){const e=kt,i=t();for(;;)try{if(472763===parseInt(e(335))/1*(-parseInt(e(355))/2)+-parseInt(e(459))/3+-parseInt(e(506))/4+-parseInt(e(559))/5+-parseInt(e(349))/6+-parseInt(e(354))/7*(-parseInt(e(356))/8)+parseInt(e(493))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class mt extends G.Plugin{[ft(367)];[ft(364)];[ft(511)]=null;[ft(285)];[ft(392)]=null;[ft(519)];[ft(541)];[ft(290)];[ft(293)];[ft(384)];[ft(421)];[ft(302)];[ft(582)];[ft(329)];static get[ft(478)](){return ft(577)}static get[ft(407)](){return!0}static get[ft(423)](){return!0}static get[ft(538)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(285)]=this[i(524)][i(288)][i(332)](i(286)),this[i(384)]=this[i(524)][i(288)][i(332)](i(300)),this[i(519)]=new vt(this[i(524)]),this[i(290)]=this[i(524)][i(429)][i(332)](i(311))||i(529),this[i(293)]=new Map,this[i(329)]=null;const n=(0,t.uid)();this[i(541)]={history:this[i(524)][i(426)][i(304)][i(441)],getLatestVersion:()=>Promise[i(353)](this[i(524)][i(426)][i(304)][i(585)]),getCurrentRevisionId:()=>n},this[i(360)](i(389),!1),this[i(360)](i(472),!0),this[i(360)](i(323),!1),this[i(524)][i(429)][i(531)](i(561),!0),this[i(524)][i(319)][i(346)](i(427))[i(446)]({view:i(548)})}[ft(547)](){const t=ft;this[t(274)](),this[t(524)][t(576)].on(t(406),()=>{const e=t,i=this[e(285)][e(412)](0),n=i&&null===i[e(387)]?i:null;if(this[e(302)]=!!n&&this[e(524)][e(429)][e(332)](e(561)),this[e(524)][e(288)][e(417)](e(549))){const t=this[e(541)][e(301)](),s=this[e(285)][e(412)](t);if(s)this[e(582)]=s[e(342)],this[e(302)]=!1;else{const t=this[e(541)][e(441)][e(324)][e(413)](t=>!t[e(581)]),s=t?t[e(591)]:this[e(541)][e(441)][e(585)];i?(i[e(430)]<s&&i[e(317)]({toVersion:s}),this[e(302)]?(this[e(541)][e(301)]=()=>n.id,this[e(582)]=n[e(342)]):(this[e(582)]=i[e(430)],this[e(302)]=!1)):(this[e(582)]=s,this[e(302)]=!1)}}else n&&(this[e(524)][e(426)][e(304)][e(441)][e(585)]=Math[e(590)](n[e(430)],this[e(524)][e(426)][e(304)][e(441)][e(585)]),n[e(342)]===n[e(430)]?(0!==n[e(342)]&&(this[e(541)][e(301)]=()=>n.id),this[e(302)]=!1):this[e(302)]&&(this[e(541)][e(301)]=()=>n.id,this[e(582)]=n[e(342)])),this[e(302)]||(this[e(582)]=this[e(524)][e(426)][e(304)][e(585)]);this[e(519)][e(547)](this[e(541)][e(441)]),this[e(453)](this[e(582)]),this[e(419)](this[e(582)]),this[e(392)]&&this[e(383)]()}),this[t(312)](t(389)).to(this,t(323),t=>!t),this[t(367)]=this[t(524)][t(429)][t(332)](t(367));const e=this[t(524)];this[t(364)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(275)==r||i(292)==r||i(425)==r||i(333)==r||i(351)==r||i(313)==r||i(272)==r||i(284)==r){delete e[s],n=r,clearInterval(this[i(364)]),this[i(364)]=void 0;break}}i(292)==n&&e[i(363)](i(525)),i(425)==n&&e[i(363)](i(528)),i(333)==n&&e[i(363)](i(523)),i(351)==n&&e[i(363)](i(512),i(350)),i(313)==n&&e[i(363)](i(445)),i(272)==n&&e[i(363)](i(401)),i(284)==n&&e[i(363)](i(554))},1e3)}async[ft(385)](){const t=ft;if(this[t(285)][t(410)]>0){const e=this[t(285)][t(412)](0),i=await this[t(530)](e),n=await this[t(516)](e);this[t(362)](i,n)}}[ft(574)](){const t=ft;super[t(574)](),this[t(364)]&&clearInterval(this[t(364)])}[ft(579)](t){this[ft(541)]=t}async[ft(370)](){const t=ft,e=await this[t(541)][t(443)]();if(e>this[t(511)][t(430)]){await this[t(294)]();const i=this[t(490)]({revision:this[t(511)],to:e});i[t(543)]=i[t(338)][t(470)](e=>this[t(524)][t(288)][t(332)](t(569))[t(588)](e)),this[t(511)][t(317)](i)}}async[ft(551)](e={},i=null){const n=ft,s=[];await this[n(294)](),this[n(302)]=!1,i>this[n(511)][n(430)]&&(i=null),null===i&&(i=await this[n(541)][n(443)]());const r=this[n(479)](i),o=this[n(490)]({from:r,to:i});if(this[n(511)][n(430)]<i){const t=this[n(490)]({revision:this[n(511)],from:i,to:i});t[n(543)]=[],t[n(338)]=[],t.id=this[n(511)].id,this[n(511)][n(317)](t,!0),delete t[n(543)],s[n(566)](t)}e[n(382)]=this[n(524)][n(288)][n(332)](n(569)).me.id,e[n(339)]=e[n(339)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(461)](e);s[n(566)](e);const c=this[n(285)][n(372)](a);if(0!==c){const t=this[n(285)][n(412)](c-1);if(t[n(342)]!==i){const r=this[n(519)][n(308)](i,t[n(430)]),o={id:t.id,diffData:r[n(451)],authorsIds:r[n(338)],authors:r[n(338)][n(470)](t=>this[n(524)][n(288)][n(332)](n(569))[n(588)](t)),fromVersion:i};t===this[n(511)]&&(o[n(366)]=new Date(e[n(366)][n(278)]()+10)),t[n(317)](o,!0),delete o[n(543)],s[n(566)](o)}}if(this[n(392)]){for(const t of s)this[n(276)](t.id,t,!0);this[n(383)]()}return a}[ft(461)](t){const e=ft,i=this[e(285)][e(376)](t);return this[e(392)]&&i.on(e(317),(t,i,n)=>{const s=e;n||(this[s(276)](i.id,i,!0),this[s(383)]())}),this[e(285)][e(379)](i,this[e(277)](i)),i}async[ft(530)](t){const e=ft;return await this[e(384)][e(322)](t,this[e(392)]),this[e(384)][e(530)](t)}async[ft(516)](t){const e=ft;return await this[e(384)][e(322)](t,this[e(392)]),this[e(384)][e(516)](t)}[ft(383)](){const t=ft;if(0===this[t(293)][t(467)])return;if(this[t(323)])return;let e=Array[t(398)](this[t(293)][t(435)]());this[t(293)][t(310)]();for(let i=0;i<e[t(410)];i++){const n=e[i];let s=!1;for(const e of Object[t(468)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(536)](t=>null!==t),!e[t(410)])return;for(let i=0;i<e[t(410)];i++){const n=e[i];void 0!==n[t(342)]&&void 0===n[t(430)]&&(n[t(430)]=this[t(285)][t(412)](n.id)[t(430)]),void 0!==n[t(430)]&&void 0===n[t(342)]&&(n[t(342)]=this[t(285)][t(412)](n.id)[t(342)])}const i=this[t(524)][t(429)][t(332)](t(311));this[t(323)]=!0,this[t(299)](),this[t(392)][t(281)](e,i)[t(408)](()=>{this[t(323)]=!1})[t(510)](e=>{const i=t;if(e)for(const t of e)this[i(486)]({id:t.id,createdAt:t[i(366)]});this[i(587)](),this[i(383)]()})}[ft(490)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(342)],i=null!==i?i:t[n(430)];const s=this[n(519)][n(308)](e,i),r={diffData:s[n(451)],authorsIds:s[n(338)],fromVersion:e,toVersion:i};if(!t||i!==t[n(430)]){const t=i-1,e=this[n(541)][n(441)][n(361)](t);r[n(366)]=e&&e[n(366)]||new Date}if(this[n(329)]&&e===this[n(329)][n(342)])for(const t of this[n(329)][n(543)])r[n(338)][n(343)](t.id)||r[n(338)][n(566)](t.id);return r}[ft(276)](t,e,i){const n=ft;if(this[n(293)][n(417)](t)){const s=this[n(293)][n(332)](t);e=i?{...s,...e}:{...e,...s}}this[n(293)][n(360)](t,e)}[ft(486)](t){const e=ft,i=this[e(285)][e(412)](t.id);if(t[e(366)]&&(t[e(366)]=new Date(t[e(366)])),t[e(338)]){const i=this[e(524)][e(288)][e(332)](e(569));t[e(543)]=t[e(338)][e(470)](t=>i[e(588)](t))}i[e(317)](t,!0)}[ft(453)](t){const e=ft,i=this[e(285)][e(412)](this[e(285)][e(410)]-1);if(i)this[e(290)]=i.id;else{const i=!this[e(524)][e(426)][e(304)][e(515)][e(413)](t=>this[e(524)][e(426)][e(537)](t)),n=this[e(524)][e(288)][e(332)](e(569)).me.id,s=at(this[e(524)][e(544)],e(i?552:345));this[e(344)]({from:t,to:t,id:this[e(290)],name:s,creatorId:n})}}[ft(419)](t){const e=ft,i=this[e(541)][e(301)]();this[e(511)]=this[e(285)][e(412)](i),this[e(511)]||(this[e(511)]=this[e(344)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(294)](){const t=ft;this[t(302)]&&!this[t(329)]&&(await this[t(384)][t(322)](this[t(511)],this[t(392)]),this[t(519)][t(462)](this[t(511)]),this[t(329)]={fromVersion:this[t(511)][t(342)],authors:this[t(511)][t(543)][t(494)]()})}[ft(362)](e,i){const n=ft;let s=this[n(524)][n(429)][n(332)](n(282)),r=this[n(524)][n(429)][n(332)](n(527));if(void 0===s){s={};for(const t of this[n(524)][n(426)][n(304)][n(560)]())s[t]=""}if(n(347)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(524)][n(426)][n(304)][n(560)]())r[t]={}}let o=!1;const a=Object[n(468)](s),c=Object[n(468)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(409)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(468)](r[t])[n(410)]>0){o=!0;break}}o||(o=c[n(373)](t=>!this[n(524)][n(426)][n(304)][n(513)](t))),o&&(0,t.logWarning)(n(484),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(524)][n(429)][n(360)](n(282),e),this[n(524)][n(429)][n(360)](n(527),i)}[ft(299)](){const t=ft;if(!this[t(421)]){const e=this[t(524)][t(288)][t(332)](t(463));this[t(421)]=e[t(341)](at(this[t(524)][t(544)],t(480)))}}[ft(587)](){const t=ft;this[t(421)]&&(this[t(524)][t(288)][t(332)](t(463))[t(314)](this[t(421)]),this[t(421)]=null)}[ft(277)](t){const e=ft,i=this[e(285)][e(563)]();i[e(572)]();let n=0;for(;n<i[e(410)];){const s=i[n];if(s===this[e(511)]){n++;continue}if(s.id===this[e(290)])break;const r=t[e(430)]-s[e(430)]||t[e(342)]-s[e(342)];if(r>0)break;if(r<0)n++;else{if(!t[e(387)]&&s[e(387)])break;if(s[e(387)]||!t[e(387)]){if(t[e(366)]>s[e(366)])break;n++}else n++}}return n}[ft(479)](t){const e=ft,i=this[e(285)][e(563)]();i[e(572)](),i[e(390)]();const n=i[e(413)](i=>i[e(430)]<=t)[e(430)];return n<this[e(582)]?this[e(582)]:n}[ft(344)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(490)]({from:e,to:i});o[r(339)]=t,o[r(382)]=n,o.id=s;const a=this[r(461)](o);return this[r(392)]&&this[r(276)](o.id,o,!0),a}[ft(274)](){const t=ft;this[t(524)][t(319)][t(346)](t(586))[t(306)]({model:t(548)})}}function pt(){const t=["setRevisionData","_handleMoveOperation","_getVidAttributeName","move","buildRevisionData","text","isEqual","31737951Kdkhow","slice","documentFragment","_markChanges","vid_end","getTransformedByOperation","previousPosition","getCustomProperties","_touchedMarkers","_getState","$text","addRoot","addRootAttribute","1538744imMCRS","_handleSplitOperation","htmlProcessor","_transformMarkers","then","currentRevision","featureNotAllowed","getRoot","_revisionId","roots","getRevisionRootsAttributes","offset","_cloneOperation","_revisionDataBuilder","_reset","tableCell","item","domainLimit","editor","invalid","_makeModelFromViewString","rootsAttributes","expired","initial","getRevisionDocumentData","define","toView","_startingRevisionId","outerHTML","_handleMarkerOperation","filter","hasContent","requires","marker","delete","_source","getOperations","authors","locale","isAdd","_savedMetaData","init","revision","RealTimeCollaborationClient","root","saveRevision","Empty document","end","usageLimit","$comment","_lastFrom","fillerOffset","getAttributes","3702625cLlDDN","getRootNames","revisionHistory.resumeUnsavedRevision","getFillerOffset","getRevisions","newValue","path","push","_getPreviousFrom","domDocument","Users","split","customProperties","reverse","attachChange","destroy","_removeMetaData","data","RevisionTracker","targetPosition","setSource","NEGATIVE_INFINITY","_isInit","_startingVersion","_setAttribute","newRange","version","dataDowncast","_removePendingAction","getUser","insertionPosition","max","baseVersion","start","key","revisionHistoryLicenseKeyTrialLimit","_appendChild","_setConversion","revisionHistoryLicenseKeyValid","_bufferUpdate","_findInsertionIndex","getTime","_processRootBeforeSave","revision:","updateRevisions","initialData","vid","revisionHistoryLicenseKeyUsageLimit","repository","RevisionsRepository","deletion","plugins","_insertChild","_initialRevisionId","clone","revisionHistoryLicenseKeyInvalid","_bufferedUpdates","_loadState","position","render","stringify","keepParagraph","_addPendingAction","RevisionHistoryUtils","getCurrentRevisionId","_continueCurrentRevision","rootName","document","affectsData","markerToData","_getBaseVids","getData","_baseRootsAttributes","clear","collaboration.channelId","bind","revisionHistoryLicenseKeyEvaluationLimit","remove","_handleInsertOperation","domConverter","_update","sourcePosition","conversion","_touched","changeRootAttribute","loadRevisionData","_isPendingUpdate","_operations","attributesAfter","reInit","getMovedRangeStart","innerHTML","_loadedStateData","uiElement","children","get","revisionHistoryLicenseKeyDomainLimit","getChildren","1iKNWce","isAttached","insertions","authorsIds","name","_markers","add","fromVersion","includes","_makeRevision","Initial revision","for","string","oldRange","5268774VOhDBW","RevisionHistory","revisionHistoryLicenseKeyNotAllowed","_handleRootAttributeOperation","resolve","378pTkfRF","1878380KGuVFd","115392SbBqAo","deletions","_applyOperations","_makeIdsRoot","set","getOperation","_replaceEditorDataWithRevisionData","_showLicenseError","_licenseKeyCheckInterval","rawElement","createdAt","licenseKey","createPositionAt","insertion","update","getRange","getIndex","some","nodes","sort","createRevision","merge","createRange","addRevision","createPositionFromPath","getChild","creatorId","sendBufferedUpdates","_utils","afterInit","childCount","creator","_touchedRoots","isReady","shift","_diffRootsAttributes","adapter","_fixRange","userId","_generateTape","createPositionBefore","_fixOperation","from","_getTypeCharForViewElement","_diffRoots","trialLimit","stickiness","offsetSize","_handleRootOperation","vid_start","ready","isOfficialPlugin","finally","trim","length","_baseIdsRoots","getRevision","find","range","getNodeByPath","_baseRoots","has","_saveMetaData","_createCurrentRevision","_isAttached","_pendingAction","source","isPremiumPlugin","insert","revisionHistoryLicenseKeyExpired","model","upcast","createPositionAfter","config","toVersion","_calculateMetaData","parent","reinsert","fromEntries","values","getAttribute","splitPosition","_prepareViewToSave","howMany","detachRoot","history","_getViewJson","getLatestVersion","_fixPosition","evaluationLimit","dataToMarker","_copyMarkers","_createFromRanges","_lastTo","elementStart","diffData","getWalker","_createInitialRevision","graveyardPosition","removeRootAttribute","paragraph","_handleOperation","attributesBefore","2670126iQCPRA","getAncestors","addRevisionData","loadState","PendingActions","$graveyard","elementEnd","createRangeIn","size","keys","element","map","_handleMergeOperation","isEnabled","markers","_clone","type","_execute","nodeAfter","pluginName","_getFromVersion","PENDING_ACTION_REVISION_HISTORY","createElement","_authorId","startsWith","editor-initial-data-replaced-with-revision-data","_idsRoots"];return(pt=function(){return t})()}class vt{[ft(524)];[ft(422)];[ft(546)];[ft(556)];[ft(449)];[ft(340)];[ft(400)];[ft(391)];[ft(416)];[ft(309)];[ft(485)];[ft(411)];[ft(320)];[ft(501)];[ft(388)];[ft(514)];[ft(533)];constructor(t){const e=ft;this[e(524)]=t,this[e(546)]=new Map,this[e(556)]=-1,this[e(449)]=-1,this[e(340)]=new Map,this[e(400)]=new Map,this[e(391)]=new Map,this[e(416)]=new Map,this[e(309)]=new Map,this[e(485)]=new Map,this[e(411)]=new Map,this[e(320)]=new Map,this[e(501)]=new Map,this[e(388)]=new Map,this[e(514)]=1}[ft(547)](t){const e=ft;this[e(422)]=t;const i=new Map,n=new Map,s=this[e(524)][e(426)][e(304)][e(515)][e(470)](t=>t[e(303)]);for(const t of s){const s=this[e(524)][e(426)][e(304)][e(513)](t),r=gt(s);i[e(360)](t,r),n[e(360)](t,Object[e(434)](s[e(558)]()))}const r=Array[e(398)](this[e(524)][e(426)][e(473)])[e(470)](t=>[t[e(339)],t[e(371)]()]),o=this[e(422)][e(585)];this[e(418)](o,i,r,n),this[e(533)]=this[e(514)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(360)](t,i),c[e(360)](t,{})}this[e(418)](Number[e(580)],a,[],c)}[ft(308)](t,e){const i=ft;if(this[i(556)]===t&&this[i(449)]<=e)this[i(546)][i(467)]>1&&this[i(575)](this[i(449)]),this[i(358)](this[i(449)],e,!0);else{if(!this[i(546)][i(417)](t)){const e=this[i(567)](t);this[i(431)](e,t,!1)}this[i(431)](t,e,!0)}return this[i(556)]=t,this[i(449)]=e,this[i(502)]()}[ft(462)](t){const e=ft,i=this[e(524)][e(288)][e(332)](e(300));this[e(520)](),this[e(556)]=t[e(342)],this[e(449)]=t[e(430)];for(const n in t[e(451)]){const s=t[e(451)][n][e(573)],r=A(t[e(451)][n][e(458)])||{},o=i[e(526)](t[e(451)][n][e(357)]);o[e(303)]=n,o[e(420)]=!s||!s[e(336)],o[e(336)]=()=>o[e(420)],this[e(416)][e(360)](n,o),this[e(309)][e(360)](n,r),s&&this[e(388)][e(360)](n,s);const a=this[e(359)](o);this[e(411)][e(360)](n,a);for(const[t,i]of o[e(473)]){if(!t[e(483)](e(280)))continue;const n=t[e(570)](":")[2];for(const t of i[e(452)]({singleCharacters:!0})){const i=this[e(488)](t),s=e(465)==t[e(475)]?t[e(499)][e(565)][e(494)](0,-1):t[e(499)][e(565)],r=a[e(415)](s)[e(436)](i);this[e(320)][e(360)](r,{userId:n})}}}this[e(533)]=this[e(514)];const n=[...Array(this[e(514)])[e(468)]()][e(494)](1)[e(536)](t=>!this[e(320)][e(417)](t));let s=0;const r=new Map;for(const o in t[e(451)]){const a=t[e(451)][o][e(573)],c=A(t[e(451)][o][e(325)])||{},u=i[e(526)](t[e(451)][o][e(337)]);u[e(303)]=o,u[e(420)]=!a||a[e(336)],u[e(336)]=()=>u[e(420)],this[e(400)][e(360)](o,u),this[e(391)][e(360)](o,c);const l=this[e(359)](u,Number[e(580)]);this[e(485)][e(360)](o,l),r[e(360)](o,u[e(336)]()?c:{});for(const[t,i]of u[e(473)]){if(!t[e(483)](e(280)))continue;const n=t[e(570)](":")[2];for(const t of i[e(452)]({singleCharacters:!0})){const i=this[e(488)](t),s=this[e(514)]++,r=e(465)==t[e(475)]?t[e(499)][e(565)][e(494)](0,-1):t[e(499)][e(565)];l[e(415)](r)[e(583)](i,s),this[e(320)][e(360)](s,{userId:n})}}for(const t of this[e(524)][e(426)][e(466)](u)[e(452)]({singleCharacters:!0})){const i=this[e(488)](t),r=e(465)==t[e(475)]?t[e(499)][e(565)][e(494)](0,-1):t[e(499)][e(565)],o=l[e(415)](r);o[e(436)](i)>0||o[e(583)](i,n[s++])}for(const[t,i]of u[e(473)])t[e(483)](e(280))||this[e(340)][e(360)](t,i)}const o=yt(e(464));this[e(416)][e(360)](e(464),o),this[e(411)][e(360)](e(464),this[e(359)](o,1));const a=yt(e(464));this[e(400)][e(360)](e(464),a),this[e(485)][e(360)](e(464),this[e(359)](a,1));const c=Array[e(398)](this[e(400)])[e(470)](([t,e])=>[t,gt(e)]);this[e(418)](this[e(449)],c,this[e(340)],r)}[ft(326)](){const t=ft;this[t(520)](),this[t(556)]=-1,this[t(449)]=-1,this[t(546)][t(310)](),this[t(547)](this[t(422)])}[ft(418)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(A(n)),a=new Map;for(const[t,e]of i)a[s(360)](t,{start:e[s(592)][s(291)](),end:e[s(553)][s(291)](),rootName:e[s(550)][s(303)]});this[s(546)][s(360)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(575)](t){const e=ft;this[e(546)][e(540)](t)}[ft(520)](){const t=ft;this[t(320)][t(310)](),this[t(501)][t(310)](),this[t(388)][t(310)](),this[t(400)][t(310)](),this[t(391)][t(310)](),this[t(416)][t(310)](),this[t(309)][t(310)](),this[t(485)][t(310)](),this[t(411)][t(310)](),this[t(340)][t(310)](),this[t(514)]=1,this[t(533)]=this[t(514)]}[ft(359)](t,e=null){const i=ft;let n=null;t.is(i(495))||(n=new Q.ModelElement(t[i(339)],{vid_start:null===e?this[i(514)]++:e++}));const s=[];for(const n of t[i(334)]())if(n.is(i(469))){s[i(566)](this[i(359)](n,e));const t=s[s[i(410)]-1];null!==e&&(e=t.is(i(469),i(503))?t[i(436)](i(283))+1:t[i(436)](i(497))+1)}else for(let t=0;t<n[i(403)];t++)s[i(566)](new Q.ModelElement(i(503),{vid:null===e?this[i(514)]++:e++}));if(t.is(i(495))){const e=yt(t[i(303)]);return e[i(289)](0,s),e}return n[i(583)](i(497),null===e?this[i(514)]++:e++),n[i(289)](0,s),n}[ft(431)](t,e,i){const n=ft;this[n(520)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(546)][n(332)](t);this[n(416)]=new Map(s),this[n(309)]=new Map(A(o));for(const[t,e]of this[n(416)])if(n(464)!==t&&(this[n(400)][n(360)](t,gt(e)),this[n(391)]=new Map(A(o)),i)){const i=this[n(514)];this[n(485)][n(360)](t,this[n(359)](e)),this[n(411)][n(360)](t,this[n(359)](e,i))}this[n(533)]=this[n(514)],this[n(400)][n(360)](n(464),gt(this[n(416)][n(332)](n(464)))),i&&this[n(485)][n(360)](n(464),this[n(359)](this[n(416)][n(332)](n(464))));for(const[t,e]of r){const i=this[n(416)][n(332)](e[n(303)]),s=this[n(400)][n(332)](e[n(303)]),r=new Q.ModelRange(this[n(444)](e[n(592)],i),this[n(444)](e[n(553)],i)),o=this[n(393)](r,s);i[n(473)][n(360)](t,r),this[n(340)][n(360)](t,o)}this[n(358)](t,e,i)}[ft(358)](t,e,i){const n=ft;for(const s of this[n(422)][n(542)](t,e))this[n(457)](s,i);for(const t of this[n(400)][n(435)]())t[n(473)][n(310)]();for(const[t,e]of this[n(340)])this[n(400)][n(332)](e[n(550)][n(303)])[n(473)][n(360)](t,e[n(291)]());const s=new Map,r=new Map;for(const[t,e]of this[n(400)])s[n(360)](t,gt(e)),r[n(360)](t,this[n(391)][n(332)](t));this[n(418)](e,s,this[n(340)],r)}[ft(567)](t){const e=ft,i=Array[e(398)](this[e(546)][e(468)]());i[e(375)]((t,e)=>t-e),i[e(572)]();for(const e of i)if(e<t)return e;return Number[e(580)]}[ft(447)](t,e){const i=ft,n=Array[i(398)](e[i(473)])[i(470)](([e,n])=>[e,this[i(393)](n,t)]);t[i(473)]=new Map(n)}[ft(509)](t){const e=ft;for(const i of this[e(340)][e(435)]()){const n=i[e(498)](t),s=Q.ModelRange[e(448)](n);i[e(592)]=s[e(592)],i[e(553)]=s[e(553)]}}[ft(457)](t,e){const i=ft;if(i(504)!=t[i(475)]&&i(440)!=t[i(475)]){if(i(424)==t[i(475)]){const n=t[i(295)][i(550)][i(303)];this[i(400)][i(417)](n)||(this[i(400)][i(360)](n,yt(n,!0)),this[i(391)][i(360)](n,{}),e&&this[i(485)][i(360)](n,yt(n,!0)))}else{if(i(505)==t[i(475)]||i(455)==t[i(475)]||i(321)==t[i(475)])return void this[i(352)](t);i(539)==t[i(475)]&&this[i(535)](t)}if(i(539)!==t[i(475)]){const e=this[i(518)](t,this[i(400)]);e[i(476)](),this[i(509)](e)}if(e)switch(t[i(475)]){case i(424):this[i(315)](t);break;case i(489):case i(314):case i(433):this[i(487)](t);break;case i(377):this[i(471)](t);break;case i(570):this[i(507)](t)}}else this[i(404)](t,e)}[ft(518)](t,e){const i=ft,n=t[i(291)]();return n[i(482)]=t[i(482)],this[i(397)](n,e),n}[ft(307)](t){const e=ft;return t[e(470)](t=>{const i=e,n=this[i(488)](t);return Number(t[i(522)][i(436)](n))})}[ft(395)](t,e){const i=ft;if(t.is(i(469),i(503)))e[i(566)]({item:t,type:i(491)});else{t.is(i(469))&&e[i(566)]({item:t,type:i(450)});for(const n of t[i(334)]())this[i(395)](n,e);t.is(i(469))&&e[i(566)]({item:t,type:i(465)})}return e}[ft(502)](){const t=ft,e=new Map(this[t(320)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(416)][t(468)](),...this[t(400)][t(468)]()]);a[t(540)](t(464));for(const e of a){const i=this[t(400)][t(332)](e)||yt(e,!1),n=this[t(416)][t(332)](e)||yt(e,!1);i[t(336)]()||n[t(336)]()?(s[t(337)][e]=gt(i),s[t(357)][e]=gt(n),this[t(447)](s[t(357)][e],n),this[t(447)](s[t(337)][e],i),r[t(337)][e]=this[t(395)](this[t(485)][t(332)](e),[]),r[t(357)][e]=this[t(395)](this[t(411)][t(332)](e)||yt(e,!1),[])):a[t(540)](e)}for(const s of a){const o=r[t(337)][s];for(const s of o){const r=this[t(488)](s),o=s[t(522)][t(436)](r);i[t(540)](o),o>=this[t(533)]&&n[t(360)](o,e[t(332)](o))}}for(const s of a){const a=r[t(337)][s],c=this[t(307)](r[t(357)][s]);let u=0;for(const s of a){const r=this[t(488)](s),a=s[t(522)][t(436)](r);if(!n[t(417)](a)&&!o[t(417)](a))if(i[t(417)](a))u++;else{if(a!=c[u]){const n=e[t(332)](a)||e[t(332)](c[u]);for(;a!=c[u];)i[t(417)](c[u])||(o[t(360)](c[u],n),e[t(360)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(337)][e];for(const e of s){const s=this[t(488)](e),r=e[t(522)][t(436)](s);if(o[t(417)](r)){const e=o[t(332)](r);i[t(417)](r)||i[t(360)](r,{...e}),n[t(360)](r,{...e})}}}for(const e of i[t(468)]())e>=this[t(533)]&&i[t(540)](e);const c=new Map;for(const e of a){let s=r[t(337)][e];for(const e of s)if(e[t(522)].is(t(469),t(521))){const i=this[t(488)](e),s=e[t(522)][t(436)](i);if(n[t(417)](s)){const i=e[t(522)][t(432)][t(432)][t(436)](t(405)),r=c[t(332)](i)||new Set;r[t(341)](n[t(332)](s)[t(394)]),c[t(360)](i,r)}}s=r[t(357)][e];for(const e of s)if(e[t(522)].is(t(469),t(521))){const n=this[t(488)](e),s=e[t(522)][t(436)](n);if(i[t(417)](s)){const n=e[t(522)][t(432)][t(432)][t(436)](t(405)),r=c[t(332)](n)||new Set;r[t(341)](i[t(332)](s)[t(394)]),c[t(360)](n,r)}}for(const e of c[t(468)]())(n[t(417)](e)||i[t(417)](e))&&c[t(540)](e)}for(const e of a){const s=r[t(337)][e];let o=null,a=null;for(const e of s){const s=this[t(488)](e),r=e[t(522)][t(436)](s),u=c[t(332)](r);u&&t(450)==e[t(475)]&&(o=Array[t(398)](u)[0],a=e[t(522)][t(436)](t(497))),o&&(i[t(360)](r,{userId:o}),n[t(360)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(357)][e],a=s[t(337)][e];for(const{userId:e}of this[t(501)][t(435)]())null!==e&&l[t(341)](e);for(const{userId:e}of this[t(388)][t(435)]())null!==e&&l[t(341)](e);this[t(496)](a,r[t(337)][e],n,t(369),l),this[t(496)](o,r[t(357)][e],i,t(287),l),u[e]={insertions:this[t(438)](a),deletions:this[t(438)](o),attachChange:this[t(388)][t(332)](e)||null,attributesBefore:A(this[t(309)][t(332)](e))||{},attributesAfter:A(this[t(391)][t(332)](e))}}return{diffData:u,authorsIds:Array[t(398)](l)}}[ft(279)](t){const e=ft;for(const[,i]of t[e(473)]){const t=i[e(592)][e(460)]()[e(536)](t=>e(521)==t[e(339)]);for(const i of t)1==i[e(386)]&&i[e(381)](0).is(e(469),e(456))&&i[e(381)](0)[e(583)](e(298),!0)}}[ft(438)](t){const e=ft;this[e(279)](t);const i=this[e(524)][e(576)][e(532)](t,{}),n=Array[e(398)](i[e(334)]())[e(470)](t=>this[e(442)](t));return JSON[e(297)](n)}[ft(442)](t){const e=ft;if(t.is(e(503)))return t[e(576)];{const i=this[e(524)][e(288)][e(332)](e(300)),n=t,s=this[e(524)][e(576)][e(508)][e(316)],r={type:i[e(399)](n),name:n[e(339)],attributes:Array[e(398)](n[e(558)]()),children:Array[e(398)](n[e(334)]())[e(470)](t=>this[e(442)](t))};if(t.is(e(330))&&e(555)!=t[e(339)]){const i=t[e(296)](s[e(568)],s);r[e(331)][e(566)](i[e(534)])}else if(t.is(e(365))){const i=s[e(568)][e(481)](n[e(339)]);t[e(296)](i,s),r[e(331)][e(566)](i[e(328)])}const o=Array[e(398)](n[e(500)]());o[e(410)]>0&&(r[e(571)]=o);const a=n[e(562)]();return null!==a&&(r[e(557)]=a),r}}[ft(496)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(524)][r(426)];for(let n=0;n<e[r(410)];n++){const s=this[r(488)](e[n]),c=e[n][r(522)][r(436)](s),h=i[r(332)](c),d=n==e[r(410)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(394)]!=o[r(394)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(394)],d=l(280)+n+":"+h+":"+c++,f=u[l(378)](i,a);t[l(473)][l(360)](d,f),null!==h&&s[l(341)](h)}}[ft(488)](t){const e=ft;switch(t[e(475)]){case e(450):return e(405);case e(465):return e(497);default:return e(283)}}[ft(397)](t,e){const i=ft;t[i(591)]=null;for(const n in t){const s=t[n];if(s instanceof Q.ModelPosition){const r=e[i(332)](s[i(550)][i(303)]);t[n]=this[i(444)](s,r)}if(s instanceof Q.ModelRange){const r=e[i(332)](s[i(550)][i(303)]);t[n]=this[i(393)](s,r)}i(550)===n&&(t[i(550)]=e[i(332)](t[i(550)][i(303)]))}}[ft(393)](t,e){const i=ft;return this[i(524)][i(426)][i(378)](this[i(444)](t[i(592)],e),this[i(444)](t[i(553)],e))}[ft(444)](t,e){const i=ft;return this[i(524)][i(426)][i(380)](e,t[i(565)],t[i(402)])}[ft(315)](t){const e=ft,i=this[e(485)][e(332)](t[e(295)][e(550)][e(303)]),n=this[e(444)](t[e(295)],i),s=null===t[e(482)]?null:t[e(482)]||this[e(524)][e(288)][e(332)](e(569)).me.id,r=n[e(432)],o=this[e(514)],a=[];for(const i of t[e(374)])if(i.is(e(469)))a[e(566)](this[e(359)](i));else for(let t=0;t<i[e(403)];t++)a[e(566)](new Q.ModelElement(e(503),{vid:this[e(514)]++}));const c=this[e(514)];for(let t=o;t<c;t++)this[e(320)][e(360)](t,{userId:s});r[e(289)](n[e(517)],a)}[ft(487)](t){const e=ft;(t=this[e(518)](t,this[e(485)]))[e(476)]();const i=null===t[e(482)]?null:t[e(482)]||this[e(524)][e(288)][e(332)](e(569)).me.id,n=t[e(327)](),s=n[e(432)],r=n[e(517)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(381)](e);r.is(a(469),a(503))?n[a(360)](r[a(436)](a(283)),{userId:i}):(n[a(360)](r[a(436)](a(405)),{userId:i}),t(n,r,0,r[a(386)]),n[a(360)](r[a(436)](a(497)),{userId:i}))}}(this[e(320)],s,r,r+t[e(439)])}[ft(471)](t){const e=ft,i=null===(t=this[e(518)](t,this[e(485)]))[e(482)]?null:t[e(482)]||this[e(524)][e(288)][e(332)](e(569)).me.id,n=t[e(578)][e(432)],s=t[e(318)][e(432)],r=n[e(436)](e(497)),o=s[e(436)](e(405));n[e(583)](e(497),s[e(436)](e(497))),s[e(583)](e(497),r),this[e(320)][e(360)](o,{userId:i}),this[e(320)][e(360)](r,{userId:i}),t[e(476)]()}[ft(507)](t){const e=ft,i=null===(t=this[e(518)](t,this[e(485)]))[e(482)]?null:t[e(482)]||this[e(524)][e(288)][e(332)](e(569)).me.id,n=t[e(454)],s=t[e(437)][e(432)];t[e(476)]();const r=s[e(436)](e(497)),o=t[e(589)][e(477)];if(n){const t=o[e(436)](e(497)),n=s[e(436)](e(497));s[e(583)](e(497),t),o[e(583)](e(497),n),this[e(320)][e(360)](s[e(436)](e(497)),{userId:i}),this[e(320)][e(360)](o[e(436)](e(405)),{userId:i})}else{const t=this[e(514)]++,n=this[e(514)]++;s[e(583)](e(497),t),o[e(583)](e(405),n),o[e(583)](e(497),r),this[e(320)][e(360)](t,{userId:i}),this[e(320)][e(360)](n,{userId:i})}}[ft(535)](t){const e=ft;if(!t[e(305)])return;const i=(t=this[e(518)](t,this[e(400)]))[e(348)]?t[e(348)][e(550)]:null,n=t[e(584)]?t[e(584)][e(550)]:null;i&&this[e(340)][e(540)](t[e(339)]),n&&this[e(340)][e(360)](t[e(339)],t[e(584)][e(291)]());const s=null===t[e(482)]?null:t[e(482)]||this[e(524)][e(288)][e(332)](e(569)).me.id,r=t[e(339)];if(!this[e(501)][e(417)](r))return void this[e(501)][e(360)](r,{range:t[e(348)],userId:s});const o=this[e(501)][e(332)](r),a=o[e(414)],c=t[e(584)];null==a&&null==c||a&&c&&a[e(492)](c)?this[e(501)][e(540)](t[e(339)]):o[e(394)]=s}[ft(404)](t,e){const i=ft;this[i(400)][i(417)](t[i(303)])?this[i(400)][i(332)](t[i(303)])[i(420)]=t[i(545)]:(this[i(400)][i(360)](t[i(303)],yt(t[i(303)],!0)),this[i(391)][i(360)](t[i(303)],{}),e&&this[i(485)][i(360)](t[i(303)],yt(t[i(303)],!0)));const n=null===t[i(482)]?null:t[i(482)]||this[i(524)][i(288)][i(332)](i(569)).me.id,s=this[i(388)][i(332)](t[i(303)]);s&&s[i(394)]===n?this[i(388)][i(540)](t[i(303)]):this[i(388)][i(360)](t[i(303)],{userId:n,isAttached:t[i(545)]})}[ft(352)](t){const e=ft,i=this[e(391)][e(332)](t[e(550)][e(303)]);null===t[e(564)]?delete i[t[e(593)]]:i[t[e(593)]]=t[e(564)]}}function gt(t){const e=ft,i=yt(t[e(303)],t[e(336)]());for(const n of t[e(334)]()){const t=n[e(474)](!0);i[e(273)](t)}return i}function yt(t,e=!0){const i=ft,n=new Q.ModelDocumentFragment;return n[i(303)]=t,n[i(420)]=e,n[i(336)]=()=>n[i(420)],n}function kt(t,e){const i=pt();return(kt=function(t,e){return i[t-=272]})(t,e)}function bt(t,e,i){const n=ft,s=n(465)==t[n(475)]?i[n(368)](t[n(522)],n(553)):i[n(396)](t[n(522)]);return i[n(380)](e,s[n(565)],s[n(402)])}function wt(t,e,i){const n=ft,s=n(450)==t[n(475)]?i[n(368)](t[n(522)],0):i[n(428)](t[n(522)]);return i[n(380)](e,s[n(565)],s[n(402)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),Tt=i(545),xt=i.n(Tt),Nt=i(262),Rt=i.n(Nt),At=i(667),Mt=i.n(At),Et=i(357),Vt=i.n(Et),Dt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Vt();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(959),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Vt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=zt;function Pt(){const t=["90rHPeJE","3003011RWQUAE","637458CsmDLI","focus","stopPropagation","extendTemplate","label","36NjJCeq","listenTo","_createRevisionNameInput","revisionNameInputValue","15agDimd","220","184qofyXj","form","focusTracker","revisionNameInputView","Name of the revision","render","element","ck-responsive-form","arrowup","arrowdown","11914qhhsgU","value","optional","errorText","44846baHirj","fieldView","15LgcLlg","add","initializeCssTransitionDisablerMixin","reset","input","arrowleft","keystrokes","setTemplate","ck-revision-history-save-revision-form","locale","arrowright","377450jydbbE","1470105ArWDpu","8iLpTgy","252248BOvLDp","revisionName","trim","set"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=164]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(221755===-parseInt(e(195))/1*(parseInt(e(180))/2)+-parseInt(e(182))/3*(-parseInt(e(196))/4)+parseInt(e(164))/5*(-parseInt(e(202))/6)+-parseInt(e(176))/7*(parseInt(e(166))/8)+parseInt(e(200))/9*(parseInt(e(193))/10)+-parseInt(e(201))/11+parseInt(e(207))/12*(parseInt(e(194))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(168)];[Lt(188)];[Lt(169)];constructor(e,i){const n=Lt;super(e),this[n(168)]=new t.FocusTracker,this[n(188)]=new t.KeystrokeHandler,this[n(199)](n(210),""),this[n(169)]=this[n(209)](i),this[n(189)]({tag:n(167),attributes:{class:["ck",n(190),n(173)],tabindex:"-1"},children:[this[n(169)]]}),this[n(184)]()}[Lt(171)](){const t=Lt;super[t(171)](),(0,It.submitHandler)({view:this}),this[t(168)][t(183)](this[t(169)][t(172)]),this[t(188)][t(208)](this[t(172)]);const e=e=>e[t(204)]();this[t(188)][t(199)](t(192),e),this[t(188)][t(199)](t(187),e),this[t(188)][t(199)](t(174),e),this[t(188)][t(199)](t(175),e)}[Lt(203)](){const t=Lt;this[t(169)][t(203)]()}get[Lt(197)](){const t=Lt;return this[t(169)][t(181)][t(172)][t(177)][t(198)]()}set[Lt(197)](t){const e=Lt;this[e(169)][e(181)][e(172)][e(177)]=t[e(198)]()}[Lt(185)](){const t=Lt;this[t(169)][t(181)][t(172)][t(177)]="",this[t(169)][t(179)]=null}[Lt(209)](t){const e=Lt,i=new It.LabeledFieldView(this[e(191)],It.createLabeledInputText),n=i[e(181)];n[e(205)]({attributes:{maxlength:e(165)}});let s=at(this[e(191)],e(170));return!t&&(s+=" ("+at(this[e(191)],e(178))+")"),i[e(206)]=s,n.on(e(186),()=>{const t=e;this[t(210)]=n[t(172)][t(177)][t(198)]()}),i}}function Wt(t,e){const i=qt();return(Wt=function(t,e){return i[t-=308]})(t,e)}const Zt=Wt;!function(t){const e=Wt,i=t();for(;;)try{if(590384===-parseInt(e(335))/1+-parseInt(e(361))/2*(-parseInt(e(345))/3)+parseInt(e(338))/4*(parseInt(e(363))/5)+-parseInt(e(343))/6+parseInt(e(309))/7*(-parseInt(e(374))/8)+parseInt(e(376))/9+-parseInt(e(330))/10*(-parseInt(e(358))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Ht extends G.Plugin{static get[Zt(317)](){return Zt(365)}static get[Zt(336)](){return!0}static get[Zt(351)](){return!0}static get[Zt(310)](){return[mt]}[Zt(322)];[Zt(333)](){const t=Zt,e=this[t(350)],i=e[t(373)][t(332)](t(321));e.ui[t(323)][t(356)](t(318),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(325)][s(371)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(320)](s(327)).to(i,s(311),i,s(327),e,s(339),(t,e,i)=>t&&e&&!i),r[s(377)][s(362)]({icon:_t.IconHistory,label:at(n,s(359)),tooltip:!0}),u[s(362)]({label:at(n,s(324)),withText:!0,role:s(346)}),u[s(320)](s(327)).to(i,s(311),i,s(327),e,s(339),(t,e,i)=>t&&e&&!i),u.on(s(349),()=>this[s(334)]()),h[s(362)]({label:at(n,s(312)),withText:!0,role:s(346)}),h[s(320)](s(327)).to(i,s(311),e,s(339),(t,e)=>t&&!e),h.on(s(349),()=>{const t=s;e[t(364)][t(332)](t(318))[t(357)](),r[t(342)]=!1,e[t(341)][t(372)][t(326)]()}),c[s(371)][s(356)](u),l[s(371)][s(356)](h),a[s(328)]=s(375),a[s(337)][s(370)]([c,l]),o[s(356)](a),r}),e.ui[t(323)][t(356)](t(355),()=>this[t(344)]())}[Zt(344)](){const t=Zt,e=this[t(350)],i=e[t(316)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(377)][t(362)]({icon:_t.IconHistory,label:at(i,t(359))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(362)]({label:at(i,t(324))}),o[t(331)](t(349)).to(n),o.on(t(349),()=>{this[t(334)]()}),r[t(371)][t(356)](o),s[t(337)][t(356)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(362)]({label:at(i,t(312))}),c[t(331)](t(349)).to(n),c.on(t(349),()=>{const i=t;e[i(364)][i(332)](i(318))[i(357)]()}),a[t(371)][t(356)](c),s[t(337)][t(356)](a),n[t(325)][t(371)][t(356)](s),n}[Zt(334)](){const t=Zt,e=this[t(350)],i=e[t(316)],n=e[t(373)][t(332)](t(368)),s=e[t(373)][t(332)](t(321));function r(s){const r=t;e[r(364)][r(332)](r(347))&&""===s[r(314)]?s[r(313)][r(354)]=at(i,r(308)):(e[r(373)][r(332)](mt)[r(348)]({name:s[r(314)]}),n[r(353)]())}this[t(322)]||(this[t(366)](),this[t(322)].on(t(340),()=>r(this[t(322)]))),this[t(322)][t(367)](),n[t(369)]({id:t(352),title:at(i,t(324)),isModal:!0,content:this[t(322)],actionButtons:[{label:at(e[t(316)],t(329)),withText:!0,onExecute:()=>n[t(353)]()},{label:at(e[t(316)],t(319)),class:t(315),withText:!0,onCreate(i){const n=t;i[n(320)](n(327)).to(s,n(311),s,n(327),e,n(339),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(322)])}]})}[Zt(366)](){const t=Zt,e=this[t(350)],i=e[t(316)];this[t(322)]=new Ut(i,e[t(364)][t(332)](t(347))),this[t(322)][t(360)]()}}function qt(){const t=["Dialog","show","addMany","children","view","plugins","32XcIhng","menu","8257221ILpAKU","buttonView","The revision name cannot be empty.","527177woeOOK","requires","isReady","Open revision history","revisionNameInputView","revisionName","ck-button-action","locale","pluginName","revisionHistory","Accept","bind","RevisionTracker","_saveRevisionFormView","componentFactory","Save current revision","panelView","focus","isEnabled","role","Cancel","3043860zosFUo","delegate","get","init","_showDialog","812505xEDqky","isOfficialPlugin","items","204wwlSKw","isReadOnly","submit","editing","isOpen","3555858aKybjM","_registerMenuComponent","354xUTkjS","menuitem","revisionHistory.requireRevisionName","saveRevision","execute","editor","isPremiumPlugin","revisionSave","hide","errorText","menuBar:revisionHistory","add","showRevisionViewerCallback","33wUOlFh","Revision history","render","6816Fxjiys","set","6275yZRyUg","config","RevisionHistoryUI","_createSaveRevisionFormView","reset"];return(qt=function(){return t})()}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=153]})(t,e)}function Yt(){const t=["ck-revision-change__","data","focus","bindTemplate","element","Added by","6bbqeiR","3870205cAXcRu","isSuggestion","ck-annotation","1399788gMZYuu","set","_model","name","3183240VQVKFA","Suggested by","author","type","div","changeId","ck-revision-change","577977fabkEB","span","3448319CZcHQA","2249672fbkzJu","add","setTemplate","Removed by","1036dcPERd","1621Orjiux","ck-revision-change__label"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(570470===parseInt(e(154))/1*(parseInt(e(153))/2)+parseInt(e(177))/3+parseInt(e(180))/4+-parseInt(e(163))/5+parseInt(e(162))/6*(-parseInt(e(179))/7)+parseInt(e(170))/8+-parseInt(e(166))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[$t(175)];[$t(168)];constructor(t,e){const i=$t;super(t),this[i(168)]=e,this[i(175)]=e.id;const n=this[i(159)],s=at(t,e[i(157)][i(164)]?i(171):i(181)==e[i(173)]?i(161):i(183));this[i(167)](i(173),e[i(173)]),this[i(182)]({tag:i(174),attributes:{class:[i(165),i(176),n.to(i(173),t=>i(156)+t)],tabindex:-1},children:[{tag:i(178),children:[{tag:i(178),attributes:{class:[i(155)]},children:[{text:s}]},{text:" "+e[i(172)][i(169)]}]}]})}[$t(158)](){const t=$t;this[t(160)][t(158)]()}}var Gt=Qt;function Kt(){var t=["704814nZWWvb","createdAt","94GcbPay","3139680OZADgp","data","1102098qGEKwZ","8MofEUU","4050620SchpTn","author","19018dEAAVH","type","set","2934632eIsYSl","toJSON","rootName","28mNQbZq","4050261eimZwD"];return(Kt=function(){return t})()}function Qt(t,e){var i=Kt();return(Qt=function(t,e){return i[t-=483]})(t,e)}!function(t){for(var e=Qt,i=t();;)try{if(485597===-parseInt(e(487))/1*(parseInt(e(494))/2)+-parseInt(e(490))/3+parseInt(e(497))/4+parseInt(e(488))/5+parseInt(e(485))/6*(-parseInt(e(483))/7)+parseInt(e(491))/8*(parseInt(e(484))/9)+parseInt(e(492))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(493)];[Gt(495)];[Gt(489)];[Gt(499)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(493)]=e[i(493)],this[i(495)]=e[i(495)],this[i(489)]=e[i(489)]||{},this[i(499)]=e[i(499)],this[i(496)](i(486),e[i(486)])}[Gt(498)](){var t=Gt;return{id:this.id,authorId:this[t(493)].id,type:this[t(495)],data:this[t(489)],createdAt:this[t(486)]}}}const te=ie;function ee(){const t=["2211010fCljhI","add","896080bhtONA","10SaNlxe","10012coxlwj","27PyQkBs","5Xjecfh","changes","1583461qMYOqo","2607624MCpbpj","oldRevisionId","7xELAlA","4038032oRYVXg","_setChanges","2083389WBvvwZ","newRevisionId"];return(ee=function(){return t})()}function ie(t,e){const i=ee();return(ie=function(t,e){return i[t-=383]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(448417===-parseInt(e(396))/1*(parseInt(e(397))/2)+parseInt(e(391))/3+-parseInt(e(395))/4*(-parseInt(e(383))/5)+-parseInt(e(386))/6*(parseInt(e(388))/7)+-parseInt(e(389))/8+-parseInt(e(398))/9*(-parseInt(e(393))/10)+-parseInt(e(385))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class ne{[te(392)];[te(387)];[te(384)];constructor(e,i){const n=te;this[n(392)]=e,this[n(387)]=i,this[n(384)]=new t.Collection}[te(390)](t){const e=te;for(const i of t)this[e(384)][e(394)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Vt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=le();return(ae=function(t,e){return i[t-=148]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(899528===-parseInt(e(304))/1+-parseInt(e(403))/2+parseInt(e(344))/3*(-parseInt(e(196))/4)+parseInt(e(205))/5+parseInt(e(388))/6+parseInt(e(173))/7*(parseInt(e(161))/8)+-parseInt(e(324))/9*(-parseInt(e(409))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(le);class ce extends G.Plugin{[oe(433)];[oe(451)]=null;[oe(281)];[oe(387)];[oe(250)];[oe(221)];[oe(434)];static get[oe(435)](){return oe(307)}static get[oe(329)](){return!0}static get[oe(257)](){return!0}static get[oe(315)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(433)]=this[e(365)][e(201)][e(303)](e(444)),this[e(281)]=this[e(365)][e(201)][e(303)](e(458)),this[e(391)](e(202),null),this[e(391)](e(176),null),this[e(387)]=null,this[e(391)](e(207),null),this[e(391)](e(325),!1),this[e(391)](e(459),!0),this.on(e(292),(t,i,n)=>{const s=e;this[s(202)]=null,this[s(176)]=null,this[s(365)][s(240)][s(148)][s(381)](t=>{const e=s;for(const i of this[e(365)][e(240)][e(148)][e(323)][e(242)])n?t[e(262)](e(277),i):t[e(314)](e(277),i)})}),this[e(180)](e(186)).to(this,e(202),t=>null!==t),this[e(180)](e(217)).to(this,e(325),this,e(207),this,e(202),(t,i,n)=>t&&n?i[e(269)][e(259)](n):0),this[e(180)](e(245)).to(this,e(325),this,e(207),(t,i)=>t?i[e(269)][e(280)]:0),this[e(250)]=null,this[e(221)]=new Map,this[e(434)]=this[e(365)][e(201)][e(303)](It.ContextualBalloon)}[oe(166)](){const t=oe,e=this[t(365)],i=new de(e,{direction:t(234)}),n=new de(e,{direction:t(171)});e[t(320)][t(215)](t(225),i),e[t(320)][t(215)](t(463),n),e[t(320)][t(215)](t(316),new he(e)),this.on(t(156),()=>{const e=t;i[e(232)](),n[e(232)]()}),this[t(421)](),this[t(204)](),e[t(382)](t(393)),e[t(201)][t(193)](t(300))&&e[t(201)][t(303)](t(300))[t(425)](t(393))}async[oe(398)](t){const e=oe;return await this[e(281)][e(297)](t,this[e(451)]),this[e(281)][e(398)](t)}async[oe(363)](t){const e=oe;return await this[e(281)][e(297)](t,this[e(451)]),this[e(281)][e(363)](t)}async[oe(174)](t,e,i=!1){const n=oe;if(!this[n(459)])return;const s=this[n(207)],r=this[n(433)],o=n(290)==typeof t?r[n(431)](t):t,a=n(290)==typeof e?r[n(431)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(207)]&&this[n(207)][n(255)]===c&&this[n(207)][n(426)]===u)return Promise[n(450)]();this[n(325)]=!1,this[n(176)]=null,this[n(202)]=null,this[n(207)]=new ne(c,u);const l=this[n(241)](o,a,!0)[n(341)](t=>this[n(281)][n(297)](t,this[n(451)]));return l[n(222)](new Promise(t=>{setTimeout(t,20)})),Promise[n(312)](l)[n(332)](()=>{const t=n;if(!this[t(459)])return;this[t(275)]();const e=this[t(345)](c,u);for(const i of e[t(269)])this[t(221)][t(391)](i.id,i);this[t(365)][t(336)][t(220)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(365)][n(336)][n(323)][n(203)]())i[n(396)](t);for(const t of Object[n(266)](e[n(336)])){const s=i[n(170)](t);for(const r of Object[n(266)](e[n(293)][t]))i[n(296)](r,e[n(293)][t][r],s);i[n(236)](e[n(336)][t],s,0)}}),this[t(207)][t(378)](this[t(322)](e[t(269)])),this[t(325)]=!0})[n(183)](t=>{const e=n;console[e(276)](t),this[e(275)](),s&&(this[e(207)]=s),this[e(325)]=!0})}[oe(299)](t,e){const i=oe,n=this[i(433)][i(177)](t);return n.on(i(369),(t,i,s)=>e(i,s,n)),this[i(433)][i(273)](n),n}[oe(275)](){const t=oe;this[t(202)]=null,this[t(330)](),this[t(250)]&&this[t(250)][t(263)](),this[t(250)]=null,this[t(221)][t(187)](),this[t(365)][t(336)][t(220)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(365)][i(336)][i(323)][i(203)]())e[i(396)](t)})}[oe(322)](t){const e=oe,i=[],n=new Map;for(const t of this[e(365)][e(336)][e(323)][e(203)]()){const s=this[e(365)][e(240)][e(148)][e(184)](t);if(!s)continue;const r=s[e(370)]()[e(371)](0);r&&(i[e(222)](t),n[e(391)](t,r))}return i[e(377)]((t,i)=>{const s=e,r=n[s(303)](t),o=n[s(303)](i);return r.y-o.y||r.x-o.x}),(t=t[e(419)](t=>i[e(150)](t[e(211)])))[e(377)]((t,n)=>i[e(149)](t[e(211)])-i[e(149)](n[e(211)])),t}[oe(311)](t){const e=oe,i=Array[e(385)](t[e(429)])[e(419)](([t,i])=>t[e(284)](e(442))&&!i[e(469)]),n=Array[e(385)](this[e(365)][e(336)][e(191)](t)[e(346)]({singleCharacters:!0}));if(0!=i[e(280)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(274)](":");if(s[e(224)][e(157)](t[e(457)])&&i[e(239)](),(t[e(342)][e(157)](s[e(195)])||t[e(342)][e(248)](s[e(195)]))&&(e(333)==r?t[e(359)]={userId:o}:e(460)==r&&(t[e(172)]={userId:o})),0==i[e(280)])break}return n}[oe(160)](t){const e=oe,i=new Map;for(let n=0;n<t[e(280)];n++)e(375)===t[n][e(305)]?(t[n][e(371)][e(331)]=n,t[n][e(371)][e(334)]=n):(e(339)===t[n][e(305)]?t[n][e(371)][e(331)]=n:e(321)===t[n][e(305)]&&(t[n][e(371)][e(334)]=n),i[e(391)](t[n].id,n));for(const n of i[e(189)]())e(339)===t[n][e(305)]?t[n][e(371)][e(334)]=i[e(303)](t[n][e(471)]):e(321)===t[n][e(305)]&&(t[n][e(371)][e(331)]=i[e(303)](t[n][e(471)]))}[oe(373)](t){const e=oe;for(let i=0;i<t[e(280)];i++){if(e(339)===t[i][e(305)])t[i][e(371)][e(331)]=i;else if(e(321)===t[i][e(305)]){t[i][e(371)][e(334)]=i;const n=t[i][e(371)][e(331)];t[n][e(471)]=t[i].id,t[i][e(471)]=t[n].id}else t[i][e(371)][e(331)]=i,t[i][e(371)][e(334)]=i,t[i][e(471)]=null;t[i][e(376)]||(t[i][e(376)]=[],t[i][e(395)]=[])}}[oe(247)](t,e){const i=oe,n=t[i(419)](t=>!t[i(359)]);for(let t=0;t<e[i(280)];t++)e[t][i(359)]&&(n[t][i(359)]=e[t][i(359)])}[oe(345)](t,e=null){const i=oe,n=this[i(433)][i(431)](t),s=e?this[i(433)][i(431)](e):null,r=this[i(241)](n,s),o=r[r[i(280)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(280)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(266)](e[i(449)]))if(e[i(449)][t][i(404)]){const n=e[i(449)][t][i(404)];n[i(243)]?(u[i(215)](t),l[i(193)](t)&&l[i(303)](t)[i(271)]==n[i(271)]?l[i(209)](t):l[i(391)](t,n)):l[i(193)](t)?(u[i(209)](t),l[i(209)](t)):(u[i(215)](t),l[i(391)](t,n))}else u[i(215)](t)}for(const t of u){const e=l[i(193)](t)&&!l[i(303)](t)[i(243)];let n=e?r[i(280)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(449)][t]){const n=e?o[i(449)][t][i(235)]:o[i(449)][t][i(410)];c[i(293)][t]=n?A(n):{};break}n+=s}}for(const t of r){t[i(336)]={};for(const e of t[i(472)])a[i(391)](e.id,e);for(const e of u){const n=t[i(449)][e]?t[i(449)][e][i(411)]:"[]",s=t[i(449)][e]?t[i(449)][e][i(197)]:"[]";t[i(336)][e]={insertions:this[i(281)][i(258)](n),deletions:this[i(281)][i(258)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(385)](n[i(336)][t][i(411)][i(429)])[i(419)](([t])=>!t[i(284)](i(442))));let h=0;for(const o of r){const r=this[i(311)](o[i(336)][t][i(411)]);o==n?(e=r,s=e[i(280)],e[i(383)](t=>{t.id=h++}),this[i(373)](e)):this[i(247)](e,r);const a=e[i(419)](t=>!t[i(359)])[i(341)](t=>t.id);let c=0;const l=this[i(311)](o[i(336)][t][i(197)]);l[i(383)](t=>{t[i(172)]?t.id=s++:t.id=a[c++]}),this[i(373)](l),this[i(400)](e,i(359)),this[i(400)](l,i(172)),o==n&&this[i(194)](e,u),e=this[i(439)](e,l),this[i(160)](e),this[i(400)](e,i(172))}e=e[i(419)](t=>!(t[i(359)]&&t[i(172)]));const d=new Map(o[i(336)][t][i(197)][i(429)]),f=new Set(u[i(266)]());for(const t of d[i(266)]())f[i(209)](t);this[i(199)](e,f),this[i(152)](e),e=this[i(350)](e),e=this[i(407)](e),e=this[i(227)](e);const{root:m,changes:p}=this[i(418)](e,a,t);c[i(336)][t]=m;const v=l[i(303)](t);if(v){const e=a[i(303)](v[i(271)]),n=new Xt({author:e,type:v[i(243)]?i(215):i(261),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(368)](n),c[i(293)][t][i(465)]=n.id}c[i(269)]=c[i(269)][i(279)](p)}return c}[oe(194)](t,e){const i=oe;for(let n=0;n<t[i(280)];n++)for(const[s,r]of e)!r[i(469)]&&r[i(195)][i(157)](t[n][i(342)])&&t[n][i(376)][i(222)](s),r[i(224)][i(157)](t[n][i(457)])&&t[n][i(395)][i(222)](s)}[oe(439)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(280)]||r<e[i(280)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(222)](o);else if(a[i(172)]&&o[i(359)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(448)](t,s,e,r);n=n[i(279)](o),s=a,r=c}else a[i(172)]?(r++,n[i(222)](a)):(s++,n[i(222)](o))}return n}[oe(199)](t,e){const i=oe,n=[];for(let o=0;o<t[i(280)];o++){for(let r=0;r<t[o][i(376)][i(280)];r++){const a=t[o][i(376)][r];if(!e[i(193)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(309)!=c||i(333)!=u&&i(460)!=u||(n[i(368)]({type:u,name:a,userId:l}),t[o][i(376)][i(470)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(395)][i(280)];r++){const a=t[o][i(395)][r];if(!e[i(193)](a))continue;const{group:c,type:u}=s(a);if(i(309)!=c||i(333)!=u&&i(460)!=u)continue;t[o][i(395)][i(470)](r,1),r--;const l=n[i(178)](t=>t[i(355)]==a);l>-1&&n[i(470)](l,1)}}function s(t){const e=i,n=t[e(274)](":");return{group:n[0],type:n[1],subType:n[e(280)]>=5?n[2]:null,id:n[e(280)]<5?n[2]:n[3],authorId:n[e(280)]<5?n[3]:n[4],markerCount:6==n[e(280)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(280)];i++){if(t[e(359)]&&e(333)==n[i][e(305)]&&t[e(359)][e(271)]==n[i][e(271)])return t[e(214)]=n[i],void delete t[e(359)];if(!t[e(359)]&&!t[e(172)]&&e(460)==n[i][e(305)])return void(t[e(354)]=n[i])}}}[oe(400)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(391)](o.id,n);for(let n=0;n<t[i(280)];n++){if(i(172)==e&&t[n][i(359)]||i(359)==e&&t[n][i(172)])continue;if(i(375)==t[n][i(305)]){t[n][i(367)]=0;continue}const s=r[i(303)](t[n][i(471)]),o=r[i(303)](t[n].id);t[n][i(367)]=s-o}}[oe(241)](t,e,i=!1){const n=oe,s=[];let r=this[n(433)][n(259)](t),o=this[n(433)][n(259)](e);for(-1==o&&(o=this[n(433)][n(213)][n(280)],i=!1);r<o;)s[n(222)](this[n(433)][n(431)](r)),r++;return i&&s[n(222)](this[n(433)][n(431)](r)),s}[oe(448)](t,e,i,n){const s=oe,r=this[s(365)][s(336)][s(295)];let o=e;for(;t[o]&&t[o][s(359)];)o++;let a=n;for(;i[a]&&i[a][s(172)];)a++;u(t,e,o),u(i,n,a);const c=i[s(192)](n,a)[s(279)](t[s(192)](e,o));return c[s(377)]((t,e)=>t[s(351)]!=e[s(351)]?t[s(351)]-e[s(351)]:t[s(402)]!=e[s(402)]?t[s(402)]-e[s(402)]:t[s(367)]!=e[s(367)]?e[s(367)]-t[s(367)]:!!t[s(359)]!=!!e[s(359)]?-1==t[s(351)]||0==t[s(351)]?t[s(359)]?-1:1:t[s(359)]?1:-1:t[s(415)]-e[s(415)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(238)],c=!0;for(let s=e;s<i;s++)if(r[n(340)](t[s][n(371)])||(c=!1),t[s][n(371)][n(331)]<e&&(o=s),t[s][n(371)][n(334)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(351)]=s<=o?-1:s<a?0:1,t[s][n(415)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(367)]?t[i][n(402)]=u:(u++,t[i][n(402)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(351)]&&(t[s][n(402)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(367)]?t[e][n(402)]=u:(u--,t[e][n(402)]=u,u--)}}[oe(152)](t){const e=oe,i=new Map,n=this[e(365)][e(336)][e(295)];for(let s=1;s<t[e(280)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(375)==c[e(305)])continue;if(c[e(305)]!=u[e(305)])continue;if(!n[e(347)](u[e(371)])||n[e(163)](u[e(371)]))continue;if(!n[e(347)](c[e(371)])||n[e(163)](c[e(371)]))continue;if((t[s][e(359)]||t[s][e(214)])&&t[s-1][e(172)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(172)]||!t[s-1][e(359)]&&!t[s-1][e(214)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(402)]==o[e(402)],h=Math[e(454)](r[e(402)])<Math[e(454)](o[e(402)])&&0==o[e(367)];(l||h)&&(i[e(391)](o.id,r.id),t[e(470)](a,1),s--,r[e(359)]=!1)}for(let n=0;n<t[e(280)];n++)i[e(193)](t[n][e(471)])&&(t[n][e(471)]=i[e(303)](t[n][e(471)]))}[oe(350)](t){const e=oe,i=new Set(t[e(341)](t=>t.id));for(let n=0;n<t[e(280)];n++)i[e(193)](t[n][e(471)])||0==t[n][e(367)]||(t[n][e(338)]=!0);return t[e(419)](t=>!t[e(338)])}[oe(407)](t){const e=oe,i=new Set;for(let n=0;n<t[e(280)];n++){if(i[e(193)](t[n].id)&&t[n][e(172)]&&(t[n][e(338)]=!0),t[n][e(338)])continue;if(0==t[n][e(367)])continue;if(e(339)!=t[n][e(305)])continue;if(null==t[n][e(471)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(471)];)e(339)==t[s][e(305)]?r++:e(321)==t[s][e(305)]&&r--,s++;if(0!=r)if(t[n][e(172)])t[n][e(338)]=!0;else for(;s!=n;)t[s][e(172)]&&0!=t[s][e(367)]&&(t[s][e(338)]=!0,i[e(215)](t[s][e(471)])),s--}return t[e(419)](t=>!t[e(338)])}[oe(227)](t){const e=oe,i=this[e(365)][e(336)][e(295)];for(let n=0;n<t[e(280)];n++){if(!(t[n][e(359)]||t[n][e(214)]||t[n][e(172)]||t[n][e(354)]))continue;if(0==t[n][e(367)])continue;const s=t[n][e(371)];i[e(347)](s)||i[e(163)](s)||(t[n][e(359)]&&delete t[n][e(359)],t[n][e(214)]&&delete t[n][e(214)],t[n][e(354)]&&delete t[n][e(354)],t[n][e(172)]&&(t[n][e(338)]=!0))}return t[e(419)](t=>!t[e(338)])}[oe(418)](t,e,i){const n=oe,s=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[n(365)][n(336)],c=a[n(295)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(280)];e++)if(n(339)===t[e][n(305)]){t[e][n(342)]=a[n(366)](s,f);const i=new Q.ModelElement(t[e][n(371)][n(355)],t[e][n(371)][n(445)]());u[0][n(237)](i),f[n(222)](0),u[n(368)](i),t[e][n(457)]=a[n(366)](s,f)}else n(321)===t[e][n(305)]?(u[n(239)](),t[e][n(342)]=a[n(366)](s,f),f[n(464)](),f[f[n(280)]-1]++,t[e][n(457)]=a[n(366)](s,f)):(t[e][n(342)]=a[n(366)](s,f),d?d[n(188)]+=t[e][n(371)][n(436)]:d=new Q.ModelText(t[e][n(371)][n(436)],t[e][n(371)][n(445)]()),t[e+1]&&n(375)===t[e+1][n(305)]&&v(d,t[e+1][n(371)])||(u[0][n(237)](d),d=null),f[f[n(280)]-1]+=t[e][n(371)][n(285)],t[e][n(457)]=a[n(366)](s,f));for(let e=0;e<t[n(280)];e++){const i=t[e][n(342)],s=t[e][n(457)];for(const s of t[e][n(376)])o[n(391)](s,{start:i,end:null});m(n(354),e,i,s),m(n(214),e,i,s),m(n(172),e,i,s),m(n(359),e,i,s);for(const i of t[e][n(395)]){const t=o[n(303)](i);t?t[n(224)]=s:o[n(391)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(365)][n(336)][n(349)](e[n(195)],e[n(224)]);s[n(429)][n(391)](t,i)}return r[n(377)]((t,e)=>{const i=n,r=s[i(429)][i(303)](i(442)+t.id),o=s[i(429)][i(303)](i(442)+e.id);return r[i(195)][i(424)](o[i(195)])?-1:r[i(195)][i(248)](o[i(195)])?1:r[i(224)][i(424)](o[i(224)])?-1:r[i(224)][i(248)](o[i(224)])?1:i(215)===t[i(305)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(271)]:null,d=i===t[o(280)]-1,f=h[e][0],m=c[o(200)](t[i][o(371)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(224)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(271)]!==u&&(l[e][o(224)]=s,f&&f[o(271)]===l[e][o(271)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(339)!==t[i][o(305)]||f&&f[o(271)]===u||h[e][o(368)]({userId:u,object:t[i][o(371)],change:l[e]}),o(321)===t[i][o(305)]&&f&&f[o(441)]===t[i][o(371)]&&(h[e][o(239)](),l[e]=f[o(381)])),l[e]&&d&&(l[e][o(224)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(371)],f=a[h(295)][h(347)](d)&&!a[h(295)][h(163)](d),m=t[h(352)]==o[h(452)]&&o[h(286)];if(f&&m)return;const p=a[h(349)](t,o),v=e[h(303)](u),g=new Xt({author:v,type:h(359)==l||h(214)==l?h(215):h(261),data:{isSuggestion:h(214)==l||h(354)==l},createdAt:new Date,rootName:i});r[h(222)](g),s[h(429)][h(391)](h(442)+g.id,p)}function v(t,e){const i=n,s=t[i(445)](),r=e[i(445)]();for(const t of s){if(t[1]!==e[i(229)](t[0]))return!1;r[i(212)]()}return r[i(212)]()[i(233)]}}[oe(421)](){const t=oe;this[t(365)][t(358)][t(438)](t(182))[t(319)]({view:t(392)}),this[t(365)][t(358)][t(438)](t(432))[t(179)]({model:t(392),view:e=>{const i=t,n=e[i(413)][i(274)](":")[1],s=this[i(361)](n);if(!s)return null;const r=i(215)==s[i(305)]?i(333):i(460),o=[i(335),i(190)+r];return s[i(436)][i(390)]&&o[i(222)](i(190)+r+i(218)),this[i(202)]==s&&o[i(222)](i(270)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(365)][t(358)][t(438)](t(182))[t(215)](e=>{const i=t;e.on(i(422),(t,e,n)=>{const s=i,r=e[s(420)][s(154)](0);if(!r||!r.is(s(265),s(446)))return;if(!n[s(216)][s(362)](r,{attributes:[s(406),s(254)]}))return;const o=e[s(246)][s(195)][s(352)];n[s(427)][s(296)](s(406),r[s(229)](s(406)),o),n[s(427)][s(296)](s(254),r[s(229)](s(254)),o)},{priority:i(348)})}),this[t(365)][t(358)][t(438)](t(182))[t(215)](e=>{const i=t;e.on(i(265),(t,e,n)=>{const s=i;if(!n[s(216)][s(362)](e[s(420)],{attributes:[s(406),s(254)]}))return;if(e[s(246)][s(469)])return;const r=e[s(246)][s(195)][s(352)];r[s(256)](s(406))||r[s(256)](s(360))||(n[s(427)][s(296)](s(406),e[s(420)][s(229)](s(406)),r),n[s(427)][s(296)](s(254),e[s(420)][s(229)](s(254)),r))},{priority:i(348)})}),this[t(365)][t(358)][t(438)](t(182))[t(405)]({view:{name:t(272),attributes:{vid:!0}},model:{key:t(360),value:e=>e[t(229)](t(360))}}),this[t(365)][t(336)][t(295)].on(t(159),(e,[,i])=>{const n=t;[n(406),n(254),n(360)][n(150)](i)&&(e[n(244)]=!0,e[n(443)]())},{priority:t(473)}),this[t(365)][t(358)][t(438)](t(301))[t(215)](e=>{const i=t;e.on(i(210),(t,e,n)=>{const s=i;if(" "!=e[s(371)][s(436)]||e[s(371)][s(452)][s(384)]>1)return;if(!n[s(216)][s(362)](e[s(371)],t[s(355)]))return;const r=n[s(427)],o=n[s(289)][s(291)](e[s(223)]);r[s(162)](o,r[s(343)](s(272)))})}),this[t(365)][t(358)][t(438)](t(301))[t(185)]({model:t(392)}),this[t(365)][t(240)][t(462)].on(t(318),function(e){const i=t,n=e[i(201)][i(303)](i(307));return(t,s,r)=>{const o=i,a=s[o(413)][o(274)](":")[1],c=n[o(361)](a);if(!c)return null;const u=o(215)==c[o(305)]?o(274):o(251);if(!r[o(216)][o(317)](s[o(455)],t[o(355)]))return;const l=s[o(455)][o(346)](),h=s[o(455)][o(195)],d=e[o(336)][o(295)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(371)];p=p||d[o(461)](e);const i=r[o(289)][o(456)](e);if(i&&i[o(401)](o(397)))return;o(321)==t[o(305)]&&d[o(347)](e)&&!d[o(163)](e)&&(e[o(287)]||h[o(428)]?f&&f[o(452)]==e||(f=e,g(t[o(342)]),v=!0):m=m||t[o(342)])}function g(t){const e=o,i=r[e(427)][e(389)](e(272),{class:e(190)+u}),a=r[e(289)][e(208)](t);c[e(436)][e(390)]&&r[e(427)][e(314)](e(190)+u+e(218),i),n[e(202)]==c&&r[e(427)][e(314)](e(270),i),r[e(427)][e(236)](a,i),r[e(289)][e(167)](i,s[e(413)])}p||v||!m||g(m)}}(this[t(365)]),{priority:t(153)}),this[t(365)][t(240)][t(462)].on(t(151),(e,i,n)=>{const s=t,r=n[s(289)][s(394)](i[s(413)]);if(r)for(const t of r)(t[s(327)](s(440))||t[s(327)](s(437)))&&(n[s(289)][s(288)](t,i[s(413)]),n[s(427)][s(261)](t))},{priority:t(153)}),this[t(365)][t(240)][t(462)].on(t(318),(e,i,n)=>{const s=t,r=i[s(413)][s(274)](":")[1],o=this[s(361)](r);if(!o)return null;const a=s(215)==o[s(305)]?s(274):s(251);if(n[s(216)][s(317)](i[s(455)],e[s(355)]))for(const t of i[s(455)][s(168)]()){if(!t.is(s(265),s(328)))continue;const e=n[s(427)][s(389)](s(272),{class:s(190)+a}),r=n[s(289)][s(208)](this[s(365)][s(336)][s(282)](t));o[s(436)][s(390)]&&n[s(427)][s(314)](s(190)+a+s(218),e),this[s(202)]==o&&n[s(427)][s(314)](s(270),e),n[s(427)][s(236)](r,e),n[s(289)][s(167)](e,i[s(413)])}},{priority:t(153)}),this[t(365)][t(336)][t(323)].on(t(381),()=>{const e=t;this[e(365)][e(240)][e(148)][e(381)](t=>{const i=e;for(const e of this[i(365)][i(336)][i(323)][i(203)]()){const n=this[i(365)][i(336)][i(323)][i(310)](e),s=this[i(365)][i(240)][i(148)][i(323)][i(310)](e);if(s){const e=n[i(229)](i(465));if(t[i(380)](i(386),s),t[i(262)](i(337),s),t[i(262)](i(374),s),t[i(262)](i(417),s),e){const n=this[i(361)](e);if(!n)return null;t[i(296)](i(386),e,s),t[i(314)](i(430)+n[i(305)],s),this[i(202)]==n&&t[i(314)](i(417),s)}}}})}),this[t(365)][t(358)][t(438)](t(182))[t(319)]({view:t(364),model:e=>t(228)+e,converterPriority:t(473)}),this[t(365)][t(358)][t(438)](t(182))[t(319)]({view:t(302),model:e=>t(414)+e,converterPriority:t(473)}),this[t(365)][t(358)][t(438)](t(301))[t(185)]({model:t(309),view:e=>({name:t(326)+e,group:t(309)}),converterPriority:t(473)}),this[t(365)][t(358)][t(438)](t(432))[t(179)]({model:t(309),view:e=>{const i=t,n=e[i(413)][i(274)](":")[1];return i(333)!=n&&i(460)!=n?null:{classes:[i(198),i(423)+n]}}}),this[t(365)][t(240)][t(462)].on(t(468),ue(this[t(365)],t(251)),{priority:t(153)}),this[t(365)][t(240)][t(462)].on(t(353),ue(this[t(365)],t(274)),{priority:t(153)}),this[t(365)][t(240)][t(462)].on(t(283),(e,i,n)=>{const s=t,r=n[s(289)][s(394)](i[s(413)]);if(r)for(const t of r)t.is(s(412))&&(n[s(289)][s(288)](t,i[s(413)]),n[s(427)][s(261)](t))},{priority:t(153)})}[oe(361)](t){const e=oe;return this[e(221)][e(303)](t)}[oe(158)](t){const e=oe;return this[e(250)]&&this[e(250)][e(263)](),this[e(250)]=new Jt(this[e(365)][e(278)],t),this[e(250)]}[oe(204)](){const t=oe;this[t(365)][t(336)][t(323)][t(252)][t(447)](t(392)),this.on(t(306),(e,i,n,s)=>{const r=t;s&&this[r(434)][r(261)](s),n&&(this[r(434)][r(215)]({view:n,stackId:r(399),position:{target:()=>{const t=r,e=this[t(365)][t(240)],i=this[t(361)](n[t(164)]);let s;if(i[t(436)][t(249)]){const n=e[t(148)][t(184)](i[t(211)]);s=Array[t(385)](n[t(370)]())}else{const i=this[t(365)][t(336)][t(429)][t(303)](t(442)+n[t(164)]);s=Array[t(385)](e[t(289)][t(394)](i[t(355)]))[t(341)](i=>e[t(148)][t(356)][t(268)](i))[t(341)](e=>Array[t(385)](e[t(370)]()))[t(294)]()}return this[t(387)]&&s[t(416)](e=>e[t(253)]-3<=this[t(387)].y&&e[t(219)]+3>=this[t(387)].y&&e[t(264)]-3<=this[t(387)].x&&e[t(231)]+3>=this[t(387)].x)||s[0]}}}),this[r(434)][r(175)](r(399)))}),this.on(t(466),(e,i,n,s)=>{const r=t;this[r(176)]=n?this[r(158)](n):null,this[r(365)][r(336)][r(381)](()=>{const t=r,e=this[t(365)][t(240)];s&&(s[t(436)][t(249)]?e[t(148)][t(381)](i=>{const n=t;i[n(262)](n(417),e[n(148)][n(323)][n(310)](s[n(211)]))}):e[t(372)](t(442)+s.id)),n&&(n[t(436)][t(249)]?e[t(148)][t(381)](i=>{const s=t;i[s(314)](s(417),e[s(148)][s(323)][s(310)](n[s(211)]))}):e[t(372)](t(442)+n.id))})}),this[t(408)](this[t(365)][t(240)][t(148)][t(323)],t(155),(e,i)=>{const n=t;if(this[n(202)])return;const s=this[n(206)](i[n(453)]),r=this[n(221)][n(303)](s);r?(this[n(387)]={x:i[n(379)].x,y:i[n(379)].y},this[n(176)]=this[n(158)](r)):(this[n(387)]=null,this[n(176)]=null)}),this[t(408)](this[t(365)][t(240)][t(148)][t(323)],t(169),(e,i)=>{const n=t,s=this[n(206)](i[n(453)]),r=this[n(221)][n(303)](s);r?(this[n(387)]={x:i[n(379)].x,y:i[n(379)].y},r===this[n(202)]?this[n(434)][n(357)]():this[n(202)]=r):(this[n(387)]=null,this[n(202)]=null)})}[oe(206)](t){const e=oe;do{const i=t[e(229)](e(386));if(i)return i;t=t[e(452)]}while(t);return null}[oe(330)](){const t=oe;this[t(365)][t(336)][t(381)](e=>{const i=t;for(const t of this[i(365)][i(336)][i(429)])e[i(308)](t)})}}function ue(t,e){return(i,n,s)=>{const r=ae;if(!s[r(216)][r(317)](n[r(455)],i[r(355)]))return;const o=n[r(455)][r(346)](),a=n[r(455)][r(195)],c=t[r(336)][r(295)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(371)];h=h||c[r(461)](e);const i=s[r(289)][r(456)](e);if(i&&i[r(401)](r(397)))return;r(321)==t[r(305)]&&c[r(347)](e)&&!c[r(163)](e)&&(e[r(287)]||a[r(428)]?u&&u[r(452)]==e||(u=e,f(t[r(342)]),d=!0):l=l||t[r(342)])}function f(t){const i=r,o=s[i(289)][i(208)](t),a=s[i(427)][i(389)](i(272),{class:i(423)+e});s[i(427)][i(236)](o,a),s[i(289)][i(167)](a,n[i(413)])}h||d||!l||f(l)}}function le(){const t=["requires","restoreRevision","test","addMarker:revision","dataToMarker","commands","elementEnd","_sortAndFilterDiffChanges","document","24489jupjei","isReady","suggestion:","hasClass","softBreak","isOfficialPlugin","_cleanMarkers","startIndex","then","insertion","endIndex","ck-suggestion-marker","model","ck-revision-history-root-add","isIncorrect","elementStart","isInline","map","previousPosition","createAttributeElement","3qHnxxT","_getDiff","getWalker","isBlock","low","createRange","_removeMissingPairs","side","nodeAfter","addMarker:revision-suggestion:insertion","isRemoveSuggestion","name","domConverter","updatePosition","conversion","isAdded","vid","_getChangeFromId","consume","getRevisionRootsAttributes","comment","editor","createPositionFromPath","distance","unshift","_update","getClientRects","item","reconvertMarker","_processTape","ck-revision-history-root-remove","text","markersStart","sort","_setChanges","domEvent","removeAttribute","change","enableReadOnlyMode","forEach","maxOffset","from","data-change-id","_activeViewTarget","9142704BZAUwi","createUIElement","isSuggestion","set","revision","revision-viewer","markerNameToElements","markersEnd","detachRoot","addHighlight","getRevisionDocumentData","revisionHistoryLabel","_setDistance","getCustomProperty","level","1230030IGLwzD","attachChange","elementToAttribute","vid_start","_markMismatchedRemovedTags","listenTo","5790UUiXDj","attributesAfter","insertions","uiElement","markerName","revision-suggestion:","index","find","ck-revision-history-root--active","_makeModelFromTape","filter","viewItem","_setConversion","element:pre","ck-suggestion-preview-marker-","isBefore","forceDisabled","oldRevisionId","writer","isAtEnd","markers","ck-revision-history-root-","getRevision","editingDowncast","repository","_balloon","pluginName","data","ck-suggestion-marker-merge","for","_joinTapes","ck-suggestion-marker-split","object","revision:","stop","RevisionsRepository","getAttributes","code","observeMarkers","_threeWayMerge","diffData","resolve","adapter","parent","target","abs","markerRange","toViewElement","nextPosition","RevisionHistoryUtils","isEnabled","deletion","isContent","downcastDispatcher","showNextChange","pop","revisionHistoryAttachChange","change:activeChange","config","addMarker:revision-suggestion:deletion","isCollapsed","splice","pairId","authors","highest","view","indexOf","includes","removeMarker:revision","_fixObsoleteTags","high","getChild","mouseover","change:numberOfChanges","isEqual","_getViewForChange","checkAttribute","_refreshStartEndIndex","33928cWnHSi","wrap","isLimit","changeId","first","init","bindElementToMarker","getItems","mousedown","addRoot","forward","isRemoved","441fOnTnn","compare","showStack","activeView","createRevision","findIndex","markerToHighlight","bind","execute","upcast","catch","getDomRoot","markerToData","isNavigationMode","clear","_data","values","ck-suggestion-marker-","createRangeIn","slice","has","_markMarkers","start","6416516pzNigK","deletions","ck-suggestion-preview-marker","_markSuggestions","isObject","plugins","activeChange","getRootNames","_initInteractions","2527075ORNvmM","_findChangeIdFromDomTarget","diff","toViewPosition","delete","attribute:vid","rootName","next","_revisions","isAddSuggestion","add","consumable","currentChangeNumber","-new","bottom","enqueueChange","_changeIdToChange","push","range","end","showPreviousChange","change:isReady","_removeUnsupportedChanges","revision-comment:","getAttribute","affectsData","right","refresh","done","backward","attributesBefore","insert","_appendChild","POSITIVE_INFINITY","shift","editing","_getRevisionsRange","roots","isAttached","return","numberOfChanges","modelRange","_markInsertions","isAfter","isOnRoot","_changeView","merge","selection","top","vid_end","newRevisionId","hasAttribute","isPremiumPlugin","_makeModelFromViewString","getIndex","getLaterVisibleRevision","remove","removeClass","destroy","left","element","keys","_step","mapViewToDom","changes","ck-suggestion-marker--active","userId","span","addRevision","split","_cleanUp","error","ck-editor__editable__overlay","locale","concat","length","_utils","createPositionBefore","removeMarker:revision-suggestion","startsWith","offsetSize","isAtStart","nextSibling","unbindElementFromMarkerName","mapper","string","toViewRange","change:isEnabled","attributes","flat","schema","setAttribute","loadRevisionData","revisionHistory","addRevisionData","WidgetToolbarRepository","dataDowncast","suggestion","get","753169pFEaum","type","change:activeView","RevisionViewer","removeMarker","revision-suggestion","getRoot","_makeTape","all","restoreRevisionCallback","addClass"];return(le=function(){return t})()}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(201)][e(303)](ce);this[e(230)]=!1,this[e(408)](i,e(226),()=>this[e(232)]()),this[e(408)](i,e(292),()=>this[e(232)]())}[oe(181)](){const t=oe,e=this[t(365)],i=e[t(201)][t(303)](ce),n=i[t(325)]?i[t(207)][t(255)]:null;e[t(467)][t(303)](t(298))[t(313)](n)}[oe(232)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(365)][t(201)][t(303)](ce),r=s&&n[t(260)](s[t(255)]);this[t(459)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(267)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(201)][i(303)](ce);this[i(230)]=!1,this[i(267)]=i(171)===e?1:-1,this[i(408)](n,i(226),()=>this[i(232)]()),this[i(408)](n,i(292),()=>this[i(232)]()),this[i(408)](n,i(466),()=>this[i(232)]())}[oe(181)](){const e=oe,i=this[e(365)],n=i[e(201)][e(303)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(202)]=s?n[e(207)][e(269)][e(303)](r+this[e(267)]):n[e(207)][e(269)][e(165)],n[e(202)][e(436)][e(249)])o=i[e(240)][e(148)][e(184)](n[e(202)][e(211)]);else{const t=i[e(336)][e(429)][e(303)](e(442)+n[e(202)].id);o=(0,K.getMarkerDomElement)(i[e(240)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(232)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(365)][t(201)][t(303)](ce);this[t(459)]=!!(r&&s&&n)&&(!e||(1===this[t(267)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Vt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=346]})(t,e)}function ve(){const t=["5326755ysQkKz","87535OlfQdO","ck-revision-history-ui__changes-navigation","16avcXBX","2312082lsrCbd","backward","EDIT_X_OF_Y_REVISIONS","forward","numberOfChanges","16PmxVeh","NUMBER_OF_CHANGES","ck-revision-history-ui__changes-navigation__label","bindTemplate","isNavigationMode","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__wrapper","_statusText","isBackwardNavigationEnabled","isForwardNavigationEnabled","execute","bind","59404enIENT","ck-hidden","setTemplate","Loading...","isEnabled","X_OF_Y_CHANGES","2142414CUuyzl","fire","div","ck-revision-history-ui__changes-navigation__navigation","span","11PmqNjD","currentChangeNumber","_isStatusLabelVisible","Show next change","4530730FWnzkz","set","Total","4667922GmkGvF","164MVgyHd","Show previous change","isReady","No changes"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(401136===parseInt(e(361))/1*(parseInt(e(349))/2)+-parseInt(e(367))/3+-parseInt(e(380))/4*(-parseInt(e(385))/5)+-parseInt(e(379))/6+parseInt(e(384))/7+parseInt(e(387))/8*(-parseInt(e(388))/9)+-parseInt(e(376))/10*(-parseInt(e(372))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(352)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(377)](e(353),!1),this[e(377)](e(382),!1),this[e(377)](e(373),0),this[e(377)](e(348),0),this[e(377)](e(358),!1),this[e(377)](e(357),!1),this[e(360)](e(374)).to(this,e(382),this,e(348),(t,e)=>t&&e>0),this[e(360)](e(356)).to(this,e(382),this,e(373),this,e(348),this,e(353),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(364));if(!s)return at(t,o(383));const a=at(t,o(350),s);return r?at(t,o(366),[n+1,s]):a}),n[e(377)]({label:at(t,e(381)),tooltip:!0,icon:_t.IconChevronUp}),s[e(377)]({label:at(t,e(375)),tooltip:!0,icon:_t.IconChevronDown}),n[e(360)](e(365)).to(this,e(357)),s[e(360)](e(365)).to(this,e(358)),n.on(e(359),()=>this[e(368)](e(359),e(389))),s.on(e(359),()=>this[e(368)](e(359),e(347))),this[e(363)]({tag:e(369),attributes:{class:["ck",e(354),e(386)]},children:[{tag:e(371),attributes:{class:[e(355)]},children:[{tag:e(371),attributes:{class:[e(351),i.if(e(374),e(362),t=>!t)]},children:[{text:i.to(e(353),i=>i?at(t,e(346))+": ":at(t,e(378))+": ")}]},{text:i.to(e(356))}]},new It.ToolbarSeparatorView,{tag:e(369),attributes:{class:[e(370)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=_e();return(we=function(t,e){return i[t-=415]})(t,e)}function _e(){const t=["36459uvSJVZ","8OMFCOY","isPremiumPlugin","340zfyphM","roots","editing","399BQhEoS","2203209qOLZQN","addClass","RevisionViewerLoadingOverlay","2443650hjwJBR","view","ck-editor__editable__loading-overlay","124WSHQIR","document","editor","isOfficialPlugin","pluginName","show","change","hide","removeClass","235650ZOZpoC","179329DFUbMk","57690gVomsH","55759phHvDS"];return(_e=function(){return t})()}!function(t){const e=we,i=t();for(;;)try{if(306467===parseInt(e(435))/1+-parseInt(e(434))/2+parseInt(e(438))/3*(parseInt(e(425))/4)+parseInt(e(422))/5+-parseInt(e(436))/6*(parseInt(e(418))/7)+parseInt(e(439))/8*(-parseInt(e(419))/9)+parseInt(e(415))/10*(parseInt(e(437))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);const Ie=be(424);class Se extends G.Plugin{static get[be(429)](){return be(421)}static get[be(428)](){return!0}static get[be(440)](){return!0}[be(430)](){const t=be,e=this[t(427)][t(417)][t(423)];e[t(431)](i=>{const n=t;for(const t of e[n(426)][n(416)])i[n(420)](Ie,t)})}[be(432)](){const t=be,e=this[t(427)][t(417)][t(423)];e[t(431)](i=>{const n=t;for(const t of e[n(426)][n(416)])i[n(433)](Ie,t)})}}const Oe=xe;function Te(){const t=["isReady","Restore this revision","execute","826hlfuqJ","37890vBfrRo","isBackwardNavigationEnabled","623553QBpGzy","componentFactory","change:isReady","isNavigationMode","get","isOfficialPlugin","showNextChange","1320662dpBoVq","6787qSgLeg","add","showPreviousChange","numberOfChanges","isPremiumPlugin","156575UeYVnk","4zyyTLm","isEnabled","show","13890cmUZSD","set","changesNavigation","listenTo","config","commands","977421emNmOu","currentChangeNumber","revisionHistory","forward","87560qmcFEm","bind","plugins","init","requires","pluginName","exitToEditing","Back to editing","closeRevisionViewerCallback","387oxthKB","restoreRevision","hide","RevisionViewerUI","editor","ck-revision-history-ui__back-to-editing","isForwardNavigationEnabled"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=205]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(406914===parseInt(e(243))/1+parseInt(e(250))/2+-parseInt(e(217))/3+parseInt(e(208))/4*(parseInt(e(207))/5)+parseInt(e(241))/6*(parseInt(e(240))/7)+parseInt(e(221))/8*(-parseInt(e(230))/9)+-parseInt(e(211))/10*(parseInt(e(251))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(226)](){return Oe(233)}static get[Oe(248)](){return!0}static get[Oe(206)](){return!0}static get[Oe(225)](){return[ce,Se]}[Oe(224)](){const t=Oe,e=this[t(234)],i=e[t(223)][t(247)](ce),n=e[t(223)][t(247)](Se);e.ui[t(244)][t(252)](t(227),i=>{const n=t,s=new It.ButtonView(i);return s[n(212)]({label:at(i,n(228)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(235)}),this[n(214)](s,n(239),()=>{const t=n;e[t(215)][t(247)](t(219))[t(229)]()}),s}),e.ui[t(244)][t(252)](t(231),i=>{const n=t,s=new It.ButtonView(i);return s[n(212)]({label:at(i,n(238)),withText:!0,tooltip:!0}),s[n(222)](n(209)).to(e[n(216)][n(247)](n(231))),this[n(214)](s,n(239),()=>e[n(239)](n(231))),s}),e.ui[t(244)][t(252)](t(213),n=>{const s=t,r=new ge(n),o=e[s(216)][s(247)](s(253)),a=e[s(216)][s(247)](s(249));return r[s(222)](s(242)).to(o,s(209)),r[s(222)](s(236)).to(a,s(209)),r[s(222)](s(237),s(218),s(205),s(246)).to(i),this[s(214)](r,s(239),(t,i)=>{const n=s;e[n(239)](n(220)===i?n(249):n(253))}),r}),n[t(210)](),i.on(t(245),(e,i,s)=>{const r=t;s?n[r(232)]():n[r(210)]()})}}var Re=i(329),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Vt();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ee;function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=361]})(t,e)}function Ve(){const t=["4161760VkDkuc","164927UsLoqB","5532402RLvkSv","clientWidth","listenTo","_updateTooltipText","element","ck-revision-history-sidebar__revision-name","scrollWidth","render","1874496gKwavG","extendTemplate","set","value","392956ogvxnz","destroy","fieldView","_tooltipString","input","bindTemplate","ck-tooltip_multi-line","Revision name","_resizeObserver","28204477LyDCFE","Enter the revision name","span","2311572zfKgui","placeholder"];return(Ve=function(){return t})()}!function(t){const e=Ee,i=t();for(;;)try{if(710662===-parseInt(e(386))/1+-parseInt(e(371))/2+-parseInt(e(367))/3+-parseInt(e(383))/4+-parseInt(e(385))/5+-parseInt(e(387))/6+parseInt(e(380))/7)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Me(379)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(376)];this[i(369)]({label:at(t,i(378)),_tooltipString:""}),this[i(373)][i(384)]=at(t,i(381)),this[i(368)]({tag:i(382),attributes:{class:[i(364)],"data-cke-tooltip-text":n.to(i(374)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(377)}})}[Me(366)](){const e=Me;super[e(366)](),this[e(379)]=new t.ResizeObserver(this[e(373)][e(363)],()=>this[e(362)]()),this[e(361)](this[e(373)],e(375),()=>this[e(362)]())}[Me(372)](){const t=Me;super[t(372)](),this[t(379)]&&this[t(379)][t(372)]()}[Me(362)](){const t=Me,e=this[t(373)][t(363)];this[t(374)]=e[t(365)]>e[t(388)]&&e[t(370)]||""}}var Ce=i(249),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Vt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Pe();return(je=function(t,e){return i[t-=384]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(400101===parseInt(e(385))/1*(-parseInt(e(390))/2)+-parseInt(e(388))/3+-parseInt(e(398))/4+parseInt(e(397))/5*(-parseInt(e(391))/6)+-parseInt(e(404))/7*(parseInt(e(400))/8)+-parseInt(e(384))/9+parseInt(e(386))/10*(parseInt(e(396))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class Le extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(394)]({content:_t.IconUser,viewBox:n(389)});const r=["ck",n(395)];i&&r[n(399)](n(403));const o=[{tag:n(401),attributes:{class:["ck",n(393)],title:at(t,n(i?392:405))},children:[s,e[n(402)]]}];this[n(387)]({tag:"li",attributes:{class:r},children:o})}}function Pe(){const t=["ck-revision-history-sidebar__revision-author__name","set","ck-revision-history-sidebar__revision-author","6523LoGgsb","1817595nHokMF","775208GVbgUt","push","8Exmtur","span","name","ck-revision-history-sidebar__revision-author_creator","4782442OGFrDN","Revision author","5713326colbzt","6lJptfN","54020KWRiBm","setTemplate","1498344dOonbH","0 0 11 10","142832KwSAJZ","6ngRELr","Revision creator"];return(Pe=function(){return t})()}function ze(){var t=["long","3252VzbmDO","999815qYCtXi","numeric","toLocaleDateString","15162uQOAvW","790gYBXoQ","1134609BJxQue","45vwQnEv","2177xmWAKS","1615384TJfGQo","469560PbDPgA","toLocaleTimeString","135mYDKYN","264693Hoqreh"];return(ze=function(){return t})()}function Ue(t,e){var i=ze();return(Ue=function(t,e){return i[t-=208]})(t,e)}!function(t){for(var e=Ue,i=t();;)try{if(512070===-parseInt(e(209))/1+parseInt(e(218))/2+-parseInt(e(214))/3+parseInt(e(208))/4*(-parseInt(e(220))/5)+-parseInt(e(212))/6*(-parseInt(e(216))/7)+-parseInt(e(217))/8*(parseInt(e(215))/9)+-parseInt(e(213))/10*(-parseInt(e(221))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var We=i(11),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=Rt().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Vt();Ot()(We.A,Ze);We.A&&We.A.locals&&We.A.locals;function He(t,e){const i=qe();return(He=function(t,e){return i[t-=121]})(t,e)}function qe(){const t=["set","isReady","Show more items","listenTo","extendTemplate","1215037hsaAPe","isEnabled","2LFMIQS","listView","5633420kgYHHb","_action","752zifmpr","function","model","change:isActionsDropdownOpen","action","ck-revision-history-sidebar__revision__actions","3137360eWLJPC","bind","children","class","locale","buttonView","6305028LqVsrb","find","Compare against selected","4632249wgkDVB","isActionsDropdownOpen","panelPosition","9PVniNi","menu","isOpen","Restore this revision","23065PBdWnu","bindTemplate","items","button","Name this revision","menuitem","execute","map","ck-on","5564240vMgwIz","isVisible","first","source","stopPropagation","4NPqdxh","name","add"];return(qe=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(853772===parseInt(e(135))/1+-parseInt(e(137))/2*(parseInt(e(156))/3)+parseInt(e(127))/4*(-parseInt(e(147))/5)+parseInt(e(153))/6+-parseInt(e(163))/7*(parseInt(e(141))/8)+-parseInt(e(159))/9*(-parseInt(e(139))/10)+parseInt(e(122))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Vt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Je;function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=486]})(t,e)}function Ge(){const t=["7185980DHazzr","createdAt","_createdAtFormatted","_revision","listenTo","1196352OPjwVd","select","fire","bind","ck-revision-history-sidebar__actions_dropdown_open","253278aaaiBh","span","isActionsDropdownOpen","5636ehuglA","unhighlight","isEnabled","value","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","453ugosvO","ck-reset","ck-revision-history-sidebar__revision_selected","from","fieldView","ck-revision-history-sidebar__revision__controls-wrapper","div","creator","revisionActionsView",".ck-thread__remove-confirm","isReady","isConfirm","40ybleGM","highlight","ck-disabled","bindTemplate","deselect","extendTemplate","render","ck-revision-history-sidebar__revision-authors","setTemplate","271518KhUXaW","closest","uiLanguage","element","ck-revision-history-sidebar__revision_highlighted","set","change","ck-revision-history-sidebar__revision","220","isHighlighted","length","isSelected","10070dioVvb","1740lFHYqr","authors","filter","setName","unshift","_requireRevisionName","ck-revision-history-sidebar__revision__date","srcElement","map","revisionNameView","646667aHoOkN","name","ck-revision-history-sidebar__revision-wrapper"];return(Ge=function(){return t})()}!function(t){const e=Je,i=t();for(;;)try{if(377547===-parseInt(e(515))/1+parseInt(e(544))/2+-parseInt(e(523))/3*(parseInt(e(518))/4)+-parseInt(e(491))/5*(-parseInt(e(492))/6)+-parseInt(e(502))/7*(parseInt(e(535))/8)+-parseInt(e(510))/9+parseInt(e(505))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(501)];[Ye(531)];[Ye(508)];[Ye(497)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(538)],a=function(t,e){const i=r,n=Array[i(526)](e[i(493)])[i(494)](t=>t!=e[i(530)]);return e[i(530)]&&n[i(496)](e[i(530)]),n[i(500)](n=>new Le(t,n,n==e[i(530)]))}(e,i);this.id=i.id,this[r(508)]=i,this[r(497)]=s,this[r(513)](r(503),r(506)).to(i),this[r(513)](r(507)).to(this,r(506),t=>{return i=e[r(546)],(n=t)[(s=Ue)(211)](i,{month:s(222),day:s(210)})+", "+n[s(219)](i,{hour:s(210),minute:s(210)});var i,n,s}),this[r(549)](r(490),!1),this[r(549)](r(488),!1),this[r(549)](r(517),!1),this[r(549)](r(533),!1),this[r(549)](r(520),!1),this[r(501)]=new De(e,It.createLabeledInputText),this[r(501)][r(527)][r(540)]({attributes:{maxlength:r(487)}}),this[r(501)][r(527)][r(513)](r(521)).to(this,r(503),t=>t||this[r(507)]),this[r(501)][r(513)](r(520)).to(this,r(490),this,r(520),(t,e)=>t&&e),this[r(531)]=n&&n[r(489)]?function(e,i){const n=He,s=e[n(164)],r=e[n(151)],o=(0,It.createDropdown)(r);o[n(158)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=He,n=t[i(151)],s={"Compare against selected":at(n,i(155)),"Name this revision":at(n,i(167)),"Restore this revision":at(n,i(162))};return e[i(170)](t=>{const e=i,n=s[t[e(128)]];return n&&n!==t[e(128)]&&(t[e(128)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(166),model:new It.UIModel({label:t[s(128)],class:t[s(150)],withText:!0,role:s(168),_action:t[s(145)]})};i[s(143)][s(148)](s(136)).to(e,s(157),i=>s(142)!=typeof t[s(136)]||!i||t[s(136)](e)),o[s(129)](i)}return o}(e,i);return e[n(148)](n(157)).to(o,n(161)),o[n(152)][n(130)]({label:at(r,n(132)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(134)]({attributes:{class:[n(146),s.if(n(157),n(121))]},on:{click:s.to(t=>t[n(126)]())}}),o.on(n(169),t=>{const i=n;e[i(131)]&&i(142)==typeof t[i(125)][i(140)]&&t[i(125)][i(140)](e)}),(0,It.addListToDropdown)(o,a,{role:n(160)}),o[n(133)](e,n(144),(t,s,r)=>{const a=n;if(r)for(const t of o[a(138)][a(165)]){const n=t[a(149)][a(124)],s=i[a(154)](t=>t[a(145)]===n[a(140)])[a(123)];t[a(123)]=void 0===s||s(e)}}),o}(this,n):"",this[r(531)]&&this[r(531)][r(513)](r(520)).to(this),this[r(543)]({tag:r(529),attributes:{class:["ck",r(524),r(504),o.if(r(534),r(522))]},children:[{tag:r(529),attributes:{class:["ck",r(524),r(486),o.if(r(520),r(537),t=>!t),o.if(r(490),r(525)),o.if(r(488),r(548)),o.if(r(517),r(514))]},children:[this[r(501)],{tag:r(516),attributes:{class:["ck",r(498)]},children:[{text:o.to(r(507))}]},{tag:r(529),attributes:{class:["ck",r(528)]},children:[{tag:"ul",attributes:{class:["ck",r(542)]},children:a}]},this[r(531)]],on:{click:o.to(t=>{const e=r;t[e(499)][e(545)](e(532))||this[e(533)]&&this[e(520)]&&this[e(512)](e(511),{id:this.id})})}}]})}[Ye(541)](){const t=Ye;super[t(541)]();const e=this[t(501)][t(527)][t(547)];this[t(509)](e,t(550),()=>{const i=t;this[i(497)]&&!e[i(521)]||this[i(512)](i(495),{id:this.id,name:e[i(521)]}),e[i(521)]||(e[i(521)]=this[i(503)]?this[i(503)]:this[i(507)])})}[Ye(511)](){this[Ye(490)]=!0}[Ye(539)](){this[Ye(490)]=!1}[Ye(536)](){this[Ye(488)]=!0}[Ye(519)](){this[Ye(488)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class ni extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Ei=null;class Vi extends Mi{static get instance(){return null===Ei&&(Ei=new Vi),Ei}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Vn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Ui=new Map;const Wi=new Map;let Zi=null;const Hi=new Map;function qi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Ui.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Ui.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Wn(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Wi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Qi{static fromOpts(t){return Qi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),Ui.clear(),Wi.clear(),Hi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Qi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xi=null;class tn extends Mi{static get utcInstance(){return null===Xi&&(Xi=new tn(0)),Xi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class en extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(Vn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return Dn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Vi.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Qi.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Qn(c,e,i)):u>Qn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function Rn(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function An(t,e){if(!Vn(t.localWeekday)||!Vn(t.localWeekNumber)||!Vn(t.localWeekYear)){if(!Vn(t.weekday)||!Vn(t.weekNumber)||!Vn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vn(t.localWeekday)||(t.weekday=t.localWeekday),Vn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vn(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Mn(t){const e=Cn(t.year),i=Un(t.month,1,12),n=Un(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function En(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Un(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Un(i,0,59),a=Un(n,0,59),c=Un(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Vn(t){return void 0===t}function Dn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Un(t.firstDay,1,7)||!Un(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Un(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Un(t,e,i){return Cn(t)&&t>=e&&t<=i}function Wn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Zn(t){return Vn(t)||null===t||""===t?void 0:parseInt(t,10)}function Hn(t){return Vn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Vn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Qn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Xn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Wn(i,2)}:${Wn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Wn(i,2)}${Wn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Wn(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Zn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Rs=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),As=RegExp(`(?:T${Rs.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Es=Ts("year","ordinal"),Vs=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Vs.source})?`);function Cs(t,e,i){const n=t[e];return Vn(n)?i:Zn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),zs=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Us(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Hn(i)),months:d(Hn(n)),weeks:d(Hn(s)),days:d(Hn(r)),hours:d(Hn(o)),minutes:d(Hn(a)),seconds:d(Hn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Ws={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zs(t,e,i,n,s,r,o){const a={year:2===e.length?Xn(Zn(e)):Zn(e),month:as.indexOf(i)+1,day:Zn(n),hour:Zn(s),minute:Zn(r)};return o&&(a.second=Zn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Hs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Zs(e,s,n,i,r,o,a);let f;return f=c?Ws[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ys=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Js(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,As),Qs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,As),Xs=Is(/(\d{4})-?(\d{3})/,As),tr=Is(Rs),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Es,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Vs),cr=Ss(Fs,js,Ls);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Vn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Vn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Us])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ni(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vn(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$n(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Qi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function Er(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Vn(t.z)||(i=ji.create(t.z)),Vn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Vn(t.q)||(t.M=3*(t.q-1)+1),Vn(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vn(t.u)||(t.S=qn(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Ur=864e13;function Wr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Wn(t.c.year,i?6:4),e?(n+="-",n+=Wn(t.c.month),n+="-",n+=Wn(t.c.day)):(n+=Wn(t.c.month),n+=Wn(t.c.day)),n}function Xr(t,e,i,n,s,r){let o=Wn(t.c.hour);return e?(o+=":",o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Wn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Wn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Wn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Wn(Math.trunc(-t.o/60)),o+=":",o+=Wn(Math.trunc(-t.o%60))):(o+="+",o+=Wn(Math.trunc(t.o/60)),o+=":",o+=Wn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Qi.fromObject(e);let s,r;if(Vn(t.year))s=gn.now();else{for(const e of no)Vn(t[e])&&(t[e]=to[e]);const e=Mn(t)||En(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Vn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Wr(e));this.ts=Vn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Qi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Qi.fromObject(e)}):fo.invalid(Wr(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Qi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Wr(i));const n=Qi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=An(s,n),a=gn.now(),c=Vn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vn(s.ordinal),l=!Vn(s.year),h=!Vn(s.month)||!Vn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Vn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Un(t.weekNumber,1,Qn(t.weekYear,e,i)),r=Un(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Un(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||En(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?Rn(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Qs,ir],[Xs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vn(t)||Vn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Qn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Qn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=An(e,this.loc),s=!Vn(e.weekYear)||!Vn(e.weekNumber)||!Vn(e.weekday),r=!Vn(e.ordinal),o=!Vn(e.year),a=!Vn(e.month)||!Vn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Vn(e.ordinal)?(l={...this.toObject(),...e},Vn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=Rn({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Xr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Qi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(Vn(t)||Vn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Qi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Dn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["hasSame","year","750621qwIoMw","111410YTRRlK","24305LWwTIF","4726447pMemHN","43197SAxTRH","30JMozBL","week","27euoiqV","day","toJSDate","monthLong","fromJSDate","startOf","minus","month","18ZTTBYj","618224yyYcOv","weekdayLong","552btjBkM","setLocale","3139176MAuRTL","local","toRelativeCalendar"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=266]})(t,e)}function go(t,e){const i=vo,n=fo[i(268)](t)[i(276)](e),s=fo[i(278)](),r=s[i(270)]({days:1})[i(269)](i(290));let o,a;return n[i(280)](s,i(290))?(o=n[i(269)](i(290))[i(266)](),a=n[i(279)]()):n[i(280)](r,i(290))?(o=r[i(266)](),a=n[i(279)]()):n[i(280)](s,i(288))?(o=n[i(269)](i(288))[i(266)](),a=n[i(274)]||""):n[i(280)](s,i(281))?(o=n[i(269)](i(271))[i(266)](),a=n[i(267)]||""):(o=n[i(269)](i(281))[i(266)](),a=String(n[i(281)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(454686===parseInt(e(282))/1+-parseInt(e(283))/2*(parseInt(e(289))/3)+-parseInt(e(277))/4+-parseInt(e(284))/5*(parseInt(e(275))/6)+-parseInt(e(286))/7+-parseInt(e(273))/8*(-parseInt(e(272))/9)+parseInt(e(287))/10*(parseInt(e(285))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(t,e){const i=_o();return(bo=function(t,e){return i[t-=348]})(t,e)}const wo=bo;function _o(){const t=["8mhAviY","1910DEILjU","899622GsraFu","15022799vLIgVn","168zCQRBl","select","startDate","uiLanguage","removeRevision","delegate","21033YAzVtU","ck-revision-history-sidebar__time-period__revisions","remove","addRevision","33099oeKhSH","412194sikvXD","ck-revision-history-sidebar__time-period__label","revisionViews","createCollection","3677093yvgGiR","add","locale","_requireRevisionName","find","div","setName","setTemplate","span","40vsQAKH","localizedPeriodName","269859jgMIZF","_revisionActions","ck-revision-history-sidebar__time-period"];return(_o=function(){return t})()}!function(t){const e=bo,i=t();for(;;)try{if(300297===parseInt(e(350))/1+-parseInt(e(355))/2+parseInt(e(367))/3*(-parseInt(e(357))/4)+-parseInt(e(348))/5*(-parseInt(e(368))/6)+parseInt(e(372))/7*(-parseInt(e(353))/8)+parseInt(e(363))/9*(-parseInt(e(354))/10)+parseInt(e(356))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[wo(359)];[wo(370)];[wo(351)];[wo(375)];constructor(t,e,i,n){const s=wo;super(t);const r=go(e,this[s(374)][s(360)])[s(349)];this[s(359)]=e,this[s(370)]=this[s(371)](),this[s(351)]=i,this[s(375)]=n,this[s(370)][s(362)](s(358)).to(this),this[s(370)][s(362)](s(378)).to(this),this[s(379)]({tag:s(377),attributes:{class:["ck",s(352)]},children:[{tag:s(380),attributes:{class:["ck",s(369)]},children:[{text:r}]},{tag:s(377),attributes:{class:["ck",s(364)]},children:this[s(370)]}]})}[wo(366)](t){const e=wo,i=new Ke(this[e(374)],t,this[e(351)],this[e(375)]);this[e(370)][e(373)](i)}[wo(361)](t){const e=wo,i=this[e(370)][e(376)](e=>e.id===t.id);this[e(370)][e(365)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Vt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["ck-revision-history-sidebar__header__label","setTemplate","ck-revision-history-sidebar__header","5387735OdYKEd","8xUeEgB","1409961ZtQSfg","20PTtrvj","Revision history","156081gBQXJc","120JhswgW","1THRHYm","ck-reset_all","span","7348752jBmeJZ","780844gergMU","1234629vxvvMw","content","div","885808jdjbvF"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=122]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(749688===-parseInt(e(138))/1*(parseInt(e(123))/2)+parseInt(e(136))/3*(-parseInt(e(134))/4)+parseInt(e(131))/5+parseInt(e(122))/6+parseInt(e(133))/7+-parseInt(e(132))/8*(parseInt(e(124))/9)+-parseInt(e(137))/10*(parseInt(e(127))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(125)]=_t.IconHistory,this[e(129)]({tag:e(126),attributes:{class:["ck",e(139),e(130)]},children:[i,{tag:e(140),attributes:{class:["ck",e(128)]},children:[at(t,e(135))]}]})}}var Ro=i(722),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Vt();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Eo;function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=239]})(t,e)}function Vo(){const t=["66952VWsOrj","fire","ck-reset","deselect","_addRevision","170976VcmSFC","unhighlight","_revisions","some","timePeriodViews","addRevision","323346EuOXhR","bindTemplate","removeRevision","_revisionActions","highlight","getTime","remove","revisionSelected","find","map","ck-revision-history-sidebar__timeline","selectRevision","ck-revision-history-sidebar","1383477kbQRRn","locale","revisionViews","add","flat","1001LNtKhV","div","393504gqeJtO","2682510FFZYzb","setName","set","_removeRevision","createdAt","uiLanguage","_getTimePeriodViewByStartDate","isEnabled","_requireRevisionName","startDate","highlightRevisions","delegate","render","915024HWCyoG","select","createCollection","get","revisionSetName","ck-rounded-corners","setTemplate","ck-disabled"];return(Vo=function(){return t})()}!function(t){const e=Eo,i=t();for(;;)try{if(410446===-parseInt(e(259))/1+-parseInt(e(240))/2+parseInt(e(272))/3+parseInt(e(279))/4+-parseInt(e(280))/5+-parseInt(e(253))/6+parseInt(e(277))/7*(parseInt(e(248))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(257)];[Mo(255)];[Mo(262)];[Mo(288)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(260)];this[s(257)]=this[s(242)](),this[s(257)][s(291)](s(241)).to(this),this[s(257)][s(291)](s(281)).to(this),this[s(255)]=e,this[s(262)]=i,this[s(288)]=n,this.on(s(241),(t,e)=>{const i=s;this[i(249)](i(266),e)}),this.on(s(281),(t,e)=>{const i=s;this[i(249)](i(244),e)}),this[s(282)](s(287),!1),this[s(246)]({tag:s(278),attributes:{class:["ck",s(250),s(245),s(271)]},children:[new No(t),{tag:s(278),attributes:{class:["ck",s(269),r.if(s(287),s(247),t=>!t)]},children:this[s(257)]}]})}[Mo(239)](){const t=Mo;super[t(239)]();for(const e of this[t(255)])this[t(252)](e);this[t(255)].on(t(275),(e,i)=>{this[t(252)](i)}),this[t(255)].on(t(265),(e,i)=>{this[t(283)](i)})}get[Mo(274)](){const t=Mo;return this[t(257)][t(268)](e=>e[t(274)][t(268)](t=>t))[t(276)]()}[Mo(270)](t){const e=Mo;for(const i of this[e(274)])t&&t.id===i.id?i[e(241)]():i[e(251)]()}[Mo(290)](t){const e=Mo;for(const i of this[e(274)])t[e(256)](({id:t})=>t===i.id)?i[e(263)]():i[e(254)]()}[Mo(252)](t){const e=Mo,i=go(t[e(284)],this[e(273)][e(285)])[e(289)];let n=this[e(257)][e(243)](0);n&&n[e(289)][e(264)]()===i[e(264)]()||(n=new Io(this[e(273)],i,this[e(262)],this[e(288)]),this[e(257)][e(275)](n)),n[e(258)](t)}[Mo(283)](t){const e=Mo,i=go(t[e(284)],this[e(273)][e(285)])[e(289)];this[e(286)](i)[e(261)](t)}[Mo(286)](t){const e=Mo;return this[e(257)][e(267)](i=>i[e(289)][e(264)]()===t[e(264)]())}}const Co=Fo;function Fo(t,e){const i=jo();return(Fo=function(t,e){return i[t-=476]})(t,e)}function jo(){const t=["fieldView","add","map","20YynEuL","name","newRevisionId","_revisionsRepository","revisionSetName","string","7900915jIMubV","editor","65908FhCpjQ","appendChild","_handleRevisionSelected","highlightRevisions","isPremiumPlugin","listenTo","getIndex","isEnabled","init","5384715LhWAuI","isSelected","availableRevisionActions","_revisions","5548914ZCjWEs","focus","revisionHistory.revisionActions","getLaterVisibleRevision","_handleRevisionSetName","locale","defaultRevisionActions","Restore this revision","render","timePeriodViews","181857nnPcXU","1602891UIxcei","revisionViews","remove","config","pluginName","select","_sidebarView","isOfficialPlugin","setName","nameRevision","_handleDiffChange","change:diff","_createRevisionActions","bind","Compare against selected","76nLjxSp","_handleEditorDataReady","19CSuaZo","restoreRevision","getRevisionsInDiff","compareAgainstSelected","4383421UvGTmT","ready","RevisionsSidebar","_revisionViewer","plugins","8LOegZU","isVisible","repository","revisionHistory","revisionHistory.viewerSidebarContainer","get","selectRevision","element","compare","destroy","diff","length","revisionHistory.requireRevisionName","assign","Name this revision","getRevision","revisionSelected","isReady","action","restoreRevisionCallback","getEarlierVisibleRevision","requires","data"];return(jo=function(){return t})()}!function(t){const e=Fo,i=t();for(;;)try{if(637337===parseInt(e(496))/1*(parseInt(e(539))/2)+parseInt(e(478))/3*(parseInt(e(494))/4)+-parseInt(e(548))/5+parseInt(e(552))/6+parseInt(e(500))/7+parseInt(e(505))/8*(-parseInt(e(479))/9)+parseInt(e(531))/10*(-parseInt(e(537))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends G.Plugin{[Co(503)];[Co(534)];[Co(485)];static[Co(558)]=[Co(499),Co(497),Co(488)];static[Co(550)]=function(){const t=Co;return{compareAgainstSelected:{name:t(493),action:({plugins:e},i)=>{const n=t,s=e[n(510)](ce),r=s[n(507)];let o=s[n(515)][n(533)],a=i.id;r[n(545)](o)>r[n(545)](a)&&([o,a]=[a,o]),s[n(513)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(510)](ce);return!(s[n(507)][n(498)](s[n(515)])[n(516)]>2||i[n(549)])}},restoreRevision:{name:t(559),action:(e,{id:i})=>{const n=t;e[n(482)][n(510)](n(508))[n(524)](i)},isVisible:({plugins:e},i)=>!!e[t(510)](ce)[t(507)][t(555)](i.id)},nameRevision:{name:t(519),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(510)](ce),o=r[s(507)][s(525)](i);r[s(513)](i,o),n[s(553)](),n[s(528)][s(484)]()}}}}();static get[Co(483)](){return Co(502)}static get[Co(486)](){return!0}static get[Co(543)](){return!0}static get[Co(526)](){return[ce]}constructor(t){const e=Co;super(t),this[e(503)]=t[e(504)][e(510)](ce),this[e(534)]=this[e(503)][e(507)],this[e(485)]=null}[Co(547)](){const t=Co,e=this[t(534)][t(551)],i=this[t(491)](),n=this[t(538)][t(482)][t(510)](t(509));this[t(485)]=new Do(this[t(538)][t(557)],e,i,this[t(538)][t(482)][t(510)](t(517))),this[t(485)].on(t(521),this[t(541)][t(492)](this)),this[t(485)].on(t(535),this[t(556)][t(492)](this)),this[t(485)][t(492)](t(546)).to(this[t(503)]),this[t(485)][t(477)].on(t(529),(e,i)=>{const n=t;i[n(480)].on(n(529),(t,e)=>{const i=n;e[i(492)](i(546),i(522)).to(this[i(503)])})}),this[t(485)][t(476)](),this[t(544)](this[t(538)][t(527)],t(501),this[t(495)][t(492)](this)),this[t(544)](this[t(503)],t(490),this[t(489)][t(492)](this)),n[t(540)](this[t(485)][t(512)])}[Co(514)](){const t=Co;this[t(485)][t(512)][t(481)](),this[t(485)][t(514)]()}[Co(495)](){const t=Co,e=this[t(534)][t(520)](0);if(e){const i=this[t(534)][t(525)](e.id);this[t(503)][t(513)](e,i)}}[Co(541)](t,e){const i=Co,n=this[i(534)][i(520)](e.id),s=this[i(534)][i(525)](n.id);this[i(503)][i(513)](n,s)}[Co(556)](t,e){const i=Co;this[i(534)][i(520)](e.id)[i(487)](e[i(532)])}[Co(489)](t,e,i){const n=Co,s=this[n(534)][n(498)](i);s[n(516)]>2?(this[n(485)][n(542)](s),this[n(485)][n(511)](null)):(this[n(485)][n(542)]([]),this[n(485)][n(511)](s[0]))}[Co(491)](){const t=Co,e=this[t(538)],i=Lo[t(550)],n=e[t(482)][t(510)](t(554))||Lo[t(558)];if(n[t(516)])return n[t(530)](n=>{const s=t,r=s(536)==typeof n?Object[s(518)]({},i[n]):n;return r[s(523)]=r[s(523)][s(492)](this,e),r[s(506)]&&(r[s(506)]=r[s(506)][s(492)](this,e)),r})}}const Po=zo;function zo(t,e){const i=Uo();return(zo=function(t,e){return i[t-=106]})(t,e)}function Uo(){const t=["rootName","12076323SJclSI","editable","_view","render","addToolbar","fillFromConfig","stickyPanel","_initToolbar","editing","name","detachDomRoot","1452051CjQlDF","init","fire","limiterElement","2284092zvNDaI","document","716542ZoTCQi","bind","restore","replace","focusTracker","8WJNexw","editor","_elementReplacer","view","45bcVpxm","config","get","viewportOffset","componentFactory","attachDomRoot","ready","isActive","isFocused","getRoot","785832fOvhZG","toolbar","386559aTJsjR","viewportTopOffset","setEditableElement","element","2101254pXKhoS","_toolbarConfig","destroy"];return(Uo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(962026===-parseInt(e(145))/1+parseInt(e(124))/2+parseInt(e(120))/3+-parseInt(e(118))/4*(parseInt(e(108))/5)+parseInt(e(143))/6+parseInt(e(128))/7+-parseInt(e(150))/8*(-parseInt(e(139))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Uo);class Wo extends It.EditorUI{[Po(130)];[Po(125)];[Po(106)];get[Po(107)](){return this[Po(130)]}constructor(e,i){const n=Po;super(e),this[n(130)]=i,this[n(125)]=(0,It.normalizeToolbarConfig)(e[n(109)][n(110)](n(119))),this[n(106)]=new t.ElementReplacer}get[Po(123)](){const t=Po;return this[t(107)][t(123)]}[Po(140)](t){const e=Po,i=this[e(151)],n=this[e(107)],s=i[e(136)][e(107)],r=n[e(129)],o=s[e(144)][e(117)]();r[e(137)]=o[e(127)],n[e(131)]();const a=r[e(123)];this[e(122)](r[e(137)],a),n[e(129)][e(146)](e(116)).to(this[e(149)]),s[e(113)](a),this[e(106)][e(148)](t,this[e(123)]),this[e(135)](),this[e(141)](e(114))}[Po(126)](){const t=Po;super[t(126)]();const e=this[t(107)],i=this[t(151)][t(136)][t(107)];this[t(106)][t(147)](),i[t(138)](e[t(129)][t(137)]),e[t(126)]()}[Po(135)](){const t=Po,e=this[t(107)];e[t(134)][t(146)](t(115)).to(this[t(149)],t(116)),e[t(134)][t(142)]=e[t(123)],e[t(134)][t(146)](t(121)).to(this,t(111),({top:t})=>t),e[t(119)][t(133)](this[t(125)],this[t(112)]),this[t(132)](e[t(119)])}}var Zo=i(161),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=Rt().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Vt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;function qo(){var t=["8246pGhwHH","shouldToolbarGroupWhenFull","content","stickyPanel","11249359QpYPLT","add","render","358jlFlZE","2580369jlBfrv","342666gSodMI","4SNhmFE","_editable","9idIXEc","editable","toolbar","11748392kxNsRO","4060370USOmLj","top","175aqVxvk","4010980Dkccbd","main"];return(qo=function(){return t})()}function $o(t,e){var i=qo();return($o=function(t,e){return i[t-=326]})(t,e)}var Bo=$o;!function(t){for(var e=$o,i=t();;)try{if(858661===-parseInt(e(337))/1*(-parseInt(e(344))/2)+parseInt(e(345))/3*(parseInt(e(326))/4)+parseInt(e(335))/5+parseInt(e(346))/6*(-parseInt(e(334))/7)+parseInt(e(331))/8*(-parseInt(e(328))/9)+-parseInt(e(332))/10+parseInt(e(341))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[Bo(327)];[Bo(340)];[Bo(330)];get[Bo(329)](){return this[Bo(327)]}constructor(t,e,i={}){var n=Bo;super(t),this[n(340)]=new It.StickyPanelView(t),this[n(330)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(338)]}),this[n(327)]=new It.InlineEditableUIView(t,e)}[Bo(343)](){var t=Bo;super[t(343)](),this[t(340)][t(339)][t(342)](this[t(330)]),this[t(333)][t(342)](this[t(340)]),this[t(336)][t(342)](this[t(329)])}}const Jo=Ko;function Go(){const t=["view","432168fVOOKr","createRoot","model","config","405702sYkbDY","get","fire","initialData","280OSDkGm","8438toPyjX","document","sourceElement","destroy","23275wchhiM","ready","data","148Nidcye","29GvhDiB","locale","1235690ixIrqV","create","editing","updateSourceElement","_ui","initPlugins","init","166212kFWJqF","22813rIbSCh"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(102044===-parseInt(e(271))/1*(-parseInt(e(263))/2)+parseInt(e(283))/3+parseInt(e(270))/4*(-parseInt(e(267))/5)+-parseInt(e(280))/6+parseInt(e(281))/7*(parseInt(e(262))/8)+parseInt(e(287))/9+-parseInt(e(273))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(277)];get ui(){return this[Jo(277)]}constructor(t,e){const i=Jo;super(e),this[i(265)]=t,this[i(285)][i(264)][i(284)]();const n=new Yo(this[i(272)],this[i(275)][i(282)],{shouldToolbarGroupWhenFull:!0});this[i(277)]=new Wo(this,n)}[Jo(266)](){const t=Jo;return this[t(276)](),this.ui[t(266)](),super[t(266)]()}static async[Jo(274)](t,e){const i=Jo,n=new this(t,e);return await n[i(278)](),await n.ui[i(279)](t),await n[i(269)][i(279)](n[i(286)][i(288)](i(290))||""),n[i(289)](i(268)),n}}const Xo=ea;function ta(){const t=["define","create","has","removeMarker","update","repository","parse","_enhanceShowRevisionViewerCallback","toolbar","_closeRevisionViewer","from","creator","revision-history-missing-configuration","saveRevision","hide","changesNavigation","_showRevisionViewer","Restored","refreshVisibility","11705990zoCDLe","removeAttribute","remove","save","enableReadOnlyMode","revisionHistory","_cleanUp","setAttribute","revisionHistory.viewerEditorElement","8838edrcxh","init","Annotations","fromCharCode","error","locale","Autosave","fromVersion","plugins","data","isReadOnly","disableReadOnlyMode","roots","revisionHistory.requireRevisionName","isOfficialPlugin","users","lazyRoots","21aeiWwS","RevisionTracker","getAttributeKeys","document","catch","set","createRangeIn","exitToEditing","end","view","createdAt","then","includes","isEnabled","getRevisionDocumentData","style","getRevisionRootsAttributes","toLocaleDateString","push","enqueueChange","getRoot","destroy","getMarkersGroup","showRevisionViewerCallback","change","737tTCicY","bind","revisionHistory.editorContainer","3721045kbdqdw","detachRoot","RevisionViewerIntegration","revisionHistory.closeRevisionViewerCallback","getUser","_restoreRevision","2430016cZKgdZ","toLocaleTimeString","long","block","$graveyard","RevisionHistoryUtils","removeSelectionAttribute","Users","getRevisions","_viewerEditor","selection","DocumentOutlineUI","result","closeRevisionViewerCallback","addRevisionData","1582XSUAXO","addUser","628116xHTdiS","refreshPositioning","editor","name","RevisionHistory","revision-history-viewer-opened","join","markers","model","getRevision","_update","RestrictedEditingMode","revisionHistory.restoreRevisionCallback","revisionHistory.viewerContainer","DocumentOutline","none","rootName","isRevisionViewerOpen","_getRevisionViewerEditorConfig","PaginationLookup","map","_recalculatePageBreaks","get","isOpen","Dialog","element","9cTdYvl","numeric","2240fEUrUP","pluginName","keys","toJSON","uiLanguage","addRoot","config","restrictedEditingException","108JZpUah","restoreRevision","isReady","isAnonymous","toVersion","display","isPremiumPlugin","isAttached","indexOf","commands","adapter","RevisionHistoryUI","requires","revisionHistory.showRevisionViewerCallback","loadRevisionData","RevisionsRepository","_enhanceCloseRevisionViewerCallback","setSelection","9102690HQdIFZ","translations","insert","RevisionViewer"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=335]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(910400===parseInt(e(343))/1*(parseInt(e(381))/2)+-parseInt(e(431))/3*(parseInt(e(373))/4)+parseInt(e(476))/5+-parseInt(e(399))/6+parseInt(e(448))/7*(parseInt(e(482))/8)+parseInt(e(371))/9*(-parseInt(e(422))/10)+-parseInt(e(473))/11*(-parseInt(e(345))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(392),Xo(356)];class na extends G.Plugin{[Xo(340)];static get[Xo(374)](){return Xo(478)}static get[Xo(445)](){return!0}static get[Xo(387)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(365)](t=>String[e(434)](t))[e(351)]("")}super(t),this[e(340)]=e(456),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class sa extends G.Plugin{[Xo(337)];static get[Xo(374)](){return Xo(349)}static get[Xo(445)](){return!0}static get[Xo(387)](){return!0}static get[Xo(393)](){return[mt,Ht]}constructor(e){const i=Xo;if(super(e),!this[i(347)][i(379)][i(367)](i(427)))throw new t.CKEditorError(i(415),this);this[i(337)]=null,this[i(453)](i(362),!1),this[i(347)][i(379)][i(403)](i(394),t=>this[i(419)]({...t,translations:this[i(347)][i(436)][i(400)]})),this[i(347)][i(379)][i(403)](i(479),t=>this[i(412)](t)),this[i(347)][i(379)][i(403)](i(357),t=>this[i(481)](t)),this[i(347)][i(379)][i(403)](i(444),!1),this[i(410)](),this[i(397)]()}set[Xo(391)](t){const e=Xo;this[e(347)][e(439)][e(367)](e(449))[e(391)]=t}get[Xo(391)](){const t=Xo;return this[t(347)][t(439)][t(367)](t(449))[t(391)]}[Xo(342)](t){const e=Xo;return this[e(347)][e(439)][e(367)](e(449))[e(342)](t)}[Xo(354)](t){const e=Xo;return this[e(347)][e(439)][e(367)](e(396))[e(354)](t)}[Xo(336)](t){const e=Xo;return this[e(347)][e(439)][e(367)](e(396))[e(336)](t||{toJSON:!1})}[Xo(363)](){const e=Xo,i=this[e(347)],n=(0,K.sanitizeEditorConfig)(i,ia),s=i[e(439)][e(367)](e(449)),r=i[e(439)][e(367)](e(335))[e(446)];return n[e(411)]=[e(455),e(382),e(418)],delete n[e(447)],n[e(439)][e(466)](na,ce,Ne,class extends G.Plugin{static get[e(393)](){return[ce,e(335)]}[e(432)](){const n=e,o=this[n(347)][n(439)][n(367)](n(335));for(const t of r)t[n(384)]||o[n(480)](t.id)||o[n(344)](t);const a=s[n(408)][n(336)]();let c=null;const u=this[n(347)][n(439)][n(367)](n(402));u[n(391)]=s[n(391)],u[n(474)](n(461)).to(s),this[n(347)][n(390)][n(367)](n(382))[n(474)](n(461)).to(i,n(441),t=>!t);for(const e of a){const i=null===e[n(414)];if(i&&e[n(385)]===e[n(438)])continue;const r=e[n(376)]();u[n(342)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(355)](r,o);else if(!o){const e=a[u(376)]();e.id=(0,t.uid)(),s[u(416)](e,a[u(385)])[u(459)](t=>{c=t})}}else e[u(355)](r,o)})}}},Lo),n}[Xo(410)](){const t=Xo,e=this[t(347)][t(379)][t(367)](t(427))[t(471)];this[t(347)][t(379)][t(453)](t(394),async()=>{const i=t;this[i(347)][i(426)](i(350));const n=this[i(347)][i(439)][i(367)](i(449));if(this[i(347)][i(439)][i(405)](i(437))){const t=this[i(347)][i(439)][i(367)](i(437));await t[i(425)]()}else await n[i(407)]();if(this[i(347)][i(439)][i(405)](i(364))&&this[i(347)][i(439)][i(367)](i(364))[i(366)](),this[i(347)][i(439)][i(405)](i(369))){const t=this[i(347)][i(439)][i(367)](i(369));t[i(368)]&&t[i(417)]()}const s=this[i(363)]();return e(s)[i(459)](t=>{const e=i;return this[e(337)]=t,this[e(347)][e(439)][e(405)](e(433))&&this[e(347)][e(439)][e(367)](e(433))[e(421)](),this[e(347)][e(439)][e(405)](e(359))&&(this[e(347)][e(439)][e(367)](e(339))[e(457)][e(370)][e(463)][e(386)]=e(360)),t})[i(452)](t=>(console[i(435)](t),this[i(347)][i(442)](i(350)),null))})}[Xo(397)](){const t=Xo,e=this[t(347)][t(379)][t(367)](t(427))[t(341)];this[t(347)][t(379)][t(453)](t(479),()=>(this[t(347)][t(439)][t(405)](t(364))&&this[t(347)][t(439)][t(367)](t(364))[t(366)](),this[t(347)][t(439)][t(405)](t(359))&&(this[t(347)][t(439)][t(367)](t(339))[t(457)][t(370)][t(463)][t(386)]=""),this[t(337)][t(439)][t(367)](t(402))[t(428)](),e(this[t(337)])[t(459)](()=>{const e=t;if(this[e(347)][e(442)](e(350)),this[e(337)]=null,this[e(347)][e(439)][e(405)](e(433))){const t=this[e(347)][e(439)][e(367)](e(433));t[e(421)](),t[e(346)]()}})))}[Xo(419)](t){const e=Xo,i=this[e(347)][e(379)][e(367)](e(475)),n=this[e(347)][e(379)][e(367)](e(358)),s=this[e(347)][e(379)][e(367)](e(430));return Qo[e(404)](s,t)[e(459)](t=>(n[e(463)][e(386)]=e(485),i[e(463)][e(386)]=e(360),this[e(362)]=!0,t))}[Xo(412)](t){const e=Xo,i=this[e(347)][e(379)][e(367)](e(475));return this[e(347)][e(379)][e(367)](e(358))[e(463)][e(386)]=e(360),i[e(463)][e(386)]="",this[e(362)]=!1,t[e(469)]()}async[Xo(481)](t){const e=Xo,i=this[e(347)],n=this[e(337)][e(439)][e(367)](e(402)),s=i[e(439)][e(367)](e(449)),r=i[e(439)][e(367)](e(487)),o=n[e(408)][e(354)](t);let a,c,u;try{await r[e(395)](o,this[e(391)]),a=r[e(462)](o),c=r[e(464)](o)}catch(t){return void console[e(435)](t)}i[e(353)][e(472)](t=>{const n=e;for(const e of Array[n(413)](i[n(353)][n(352)][n(470)](n(380))))t[n(406)](e)}),n[e(383)]=!1,i[e(353)][e(467)](t=>{const n=e;t[n(398)](null),t[n(488)](i[n(353)][n(451)][n(338)][n(450)]());const s=Object[n(375)](a);for(const e of i[n(353)][n(451)][n(443)])n(486)!=e[n(361)]&&e[n(388)]()&&!s[n(460)](e[n(361)])&&t[n(477)](e);for(const e of s){let s=i[n(353)][n(451)][n(468)](e);s&&s[n(388)]()||(s=t[n(378)](e));const r=c[e],o=Object[n(375)](r),u=a[e];for(const e of s[n(450)]())o[n(460)](e)||t[n(423)](e,s);for(const i of o)t[n(429)](i,c[e][i],s);t[n(424)](t[n(454)](s)),t[n(401)](i[n(440)][n(409)](u,s),s,0)}});const l=at(i[e(436)],e(420));return u=o[e(348)]?-1==o[e(348)][e(389)](l)?l+": "+o[e(348)]:o[e(348)]:l+": "+o[e(458)][e(465)](i[e(436)][e(377)],{month:e(484),day:e(372)})+", "+o[e(458)][e(483)](i[e(436)][e(377)],{hour:e(372),minute:e(372)}),await s[e(416)]({name:u}),n[e(383)]=!0,i[e(379)][e(367)](e(427))[e(341)]()}}function ra(){var t=["4034272bPKfuT","15vvGKIE","2471256mEOSgp","172302HFQVhb","5685102yQViBF","7Nxahlu","3443AQttnd","221270dgWOpC","15430DdVwql","243154sMdxJN","4qHwNAR"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=307]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(382604===-parseInt(e(311))/1+parseInt(e(317))/2*(-parseInt(e(309))/3)+parseInt(e(307))/4*(-parseInt(e(315))/5)+-parseInt(e(310))/6+parseInt(e(313))/7*(parseInt(e(308))/8)+parseInt(e(312))/9+-parseInt(e(316))/10*(-parseInt(e(314))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={11:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},45:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},161:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},168:t=>{"use strict";t.exports=function(t){return t[1]}},173:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},216:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-thread__remove-confirm .ck-thread__remove-confirm-inner .ck-thread__remove-confirm-actions .ck.ck-button.ck-thread__remove-confirm-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},237:t=>{"use strict";t.exports=CKEditor5.dll},249:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},262:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},329:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},357:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},426:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},433:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},528:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},536:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},545:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},560:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},667:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},673:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},722:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},959:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(168),s=i.n(n),r=i(433),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Go,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>et,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=T(t[s],s,i,n,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,T(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(T(s,void 0,i,n,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=T(t[s],s,i,n,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&E(n,i)&&(void 0!==i||e in t)||(t[e]=i)},V=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return V.test(t)}}const j=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,F=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(F.test(t)||!j.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function U(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?H(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}function $(){const t=["2710OAYLkc","set","27LQIUrQ","creator","253rrcpeH","246uCJzyM","90096XcQZWA","model","diffData","3983256uSoSsp","5ZfbcuD","118951YvZhjX","creatorId","attributes","fromVersion","26fSmnED","setName","name","setAttribute","toVersion","authors","15287796wzScWS","54UDJLMc","authorsIds","fire","removeAttribute","_update","createdAt","16041uRgVfz","253132hpxtZj","map","toJSON"];return($=function(){return t})()}const B=Y;function Y(t,e){const i=$();return(Y=function(t,e){return i[t-=106]})(t,e)}!function(t){const e=Y,i=t();for(;;)try{if(515955===-parseInt(e(110))/1+-parseInt(e(118))/2*(parseInt(e(109))/3)+parseInt(e(122))/4*(-parseInt(e(123))/5)+parseInt(e(135))/6*(-parseInt(e(124))/7)+-parseInt(e(119))/8*(-parseInt(e(115))/9)+parseInt(e(113))/10*(-parseInt(e(117))/11)+-parseInt(e(134))/12*(-parseInt(e(128))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends((0,t.ObservableMixin)()){id;[B(116)];[B(133)];[B(121)];[B(132)];[B(127)];[B(120)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(116)]=e[i(116)]||null,this[i(133)]=e[i(133)]||[],this[i(121)]=e[i(121)]||null,this[i(132)]=e[i(132)]||0,this[i(127)]=e[i(127)]||0,this[i(114)](i(130),e[i(130)]||""),this[i(114)](i(108),e[i(108)]||new Date),this[i(114)](i(126),e[i(126)]||{})}[B(129)](t){this[B(107)]({name:t})}[B(131)](t,e){const i=B,n=R(this[i(126)]);U(n,t,e),this[i(107)]({attributes:n})}[B(106)](t){const e=B,i=R(this[e(126)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(107)]({attributes:i})}[B(107)](t,e=!1){const i=B;let n=!1;const s={id:this.id},r=[i(130),i(108),i(121),i(133),i(126),i(132),i(127),i(125)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(133)]&&(s[i(136)]=s[i(133)][i(111)](t=>t.id),delete s[i(133)]),this[i(137)](i(107),s,e))}[B(112)](){const t=B;return{id:this.id,name:this[t(130)],creatorId:this[t(116)]?this[t(116)].id:null,authorsIds:this[t(133)][t(111)](t=>t.id),diffData:this[t(121)],createdAt:this[t(108)],attributes:this[t(126)],fromVersion:this[t(127)],toVersion:this[t(132)]}}}var G=i(782),X=i(211),K=i(783);const Q=tt;function tt(t,e){const i=it();return(tt=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=tt,i=t();for(;;)try{if(336472===parseInt(e(343))/1+parseInt(e(382))/2*(-parseInt(e(368))/3)+parseInt(e(377))/4+-parseInt(e(395))/5+parseInt(e(372))/6*(-parseInt(e(387))/7)+parseInt(e(389))/8+parseInt(e(385))/9*(-parseInt(e(388))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);class et extends G.Plugin{[Q(370)];static get[Q(350)](){return[X.Users]}static get[Q(384)](){return Q(371)}static get[Q(349)](){return!0}static get[Q(344)](){return!0}get[Q(375)](){const t=Q;return this[t(370)][t(375)]}constructor(e){const i=Q;super(e),this[i(370)]=new t.Collection}[Q(353)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(380)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=tt;return t[e(361)](t=>String[e(351)](t))[e(374)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1757376e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(355)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[Q(363)](t){const e=Q,i=this[e(366)][e(379)][e(359)](e(346));return new J({id:t.id,name:t[e(352)],creator:t[e(390)]?i[e(341)](t[e(390)]):null,diffData:t[e(347)]||t[e(376)],authors:t[e(342)][e(361)](t=>i[e(341)](t)),createdAt:new Date(t[e(357)]),attributes:t[e(365)],fromVersion:t[e(345)],toVersion:t[e(391)]})}[Q(362)](t,e=0){const i=Q;this[i(370)][i(354)](t,e)}[Q(386)](t){const e=Q;return this[e(370)][e(359)](t)}[Q(394)](t={toJSON:!1}){const e=Q,i=Array[e(360)](this[e(370)]);return i[e(373)](),t[e(383)]?i[e(361)](t=>t[e(383)]()):i}[Q(367)](t){const e=Q;return this[e(370)][e(367)](t)}[Q(381)](t){const e=Q,[,i]=this[e(369)](t,{direction:e(378)});return i}[Q(393)](t){const e=Q,[,i]=this[e(369)](t,{direction:e(356)});return i}[Q(392)](t){const e=Q,i=[];for(const n of this[e(369)](t[e(358)]))if(i[e(364)](n),n.id===t[e(348)])break;return i}*[Q(369)](t,{direction:e=Q(378),filter:i=()=>!0}={}){const n=Q,s=n(378)===e?1:-1;let r=this[n(370)][n(359)](t),o=this[n(367)](r);for(yield r;r;){if(o+=s,r=this[n(386)](o),!r)return;i(r)&&(yield r)}}}function it(){const t=["isNaN","getEarlierVisibleRevision","98WhzdWf","toJSON","pluginName","472653nVPcXl","getRevision","235067xFXHaE","20mqonQU","463440ThsCxk","creatorId","toVersion","getRevisionsInDiff","getLaterVisibleRevision","getRevisions","1864165jiWwpf","getUser","authorsIds","645924TXZpQD","isPremiumPlugin","fromVersion","Users","diffData","oldRevisionId","isOfficialPlugin","requires","fromCharCode","name","afterInit","add","href","later","createdAt","newRevisionId","get","from","map","addRevision","createRevision","push","attributes","editor","getIndex","11958MHtlRY","getRevisionsIterator","_revisions","RevisionsRepository","30HnQmHW","reverse","join","length","data","1894816PPVNRk","earlier","plugins"];return(it=function(){return t})()}const nt=st;function st(t,e){const i=rt();return(st=function(t,e){return i[t-=384]})(t,e)}function rt(){const t=["domChildrenToView","default","_typeCharToViewClass","getRevisionRootsAttributes","startsWith","RevisionHistoryUtils","isPremiumPlugin","_viewClassToTypeChar","length","7952cOqmep","customProperties","273876qsFnLO","58zOvOvt","1231624lIDqgM","viewChildrenToDom","append","_getViewFromDiffObj","from","data-revision-","revision-end","isAttached","innerHTML","string","49338igVQux","getRevision","type","_removeRevisionMarkers","document","childNodes","15966sJJbII","pluginName","getFillerOffset","editing","loadRevisionData","editor","insertions","_appendChild","config","31575016PaTwjg","constructor","getRevisionDocumentData","9746508eItQJL","createElement","fillerOffset","_getTypeCharForViewElement","useFillerType","115VyusFw","toData","marked","htmlProcessor","attributesAfter","revision-start","processor","2050mImisD","diffData","filter","isOfficialPlugin","_makeModelFromViewString","attributes","domConverter","parse","toModel","render","view","get","collaboration.channelId","name","children","8862POJygi","div","forEach","map","data","attachChange","_setCustomProperty","domDocument"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(976179===-parseInt(e(456))/1+-parseInt(e(455))/2*(-parseInt(e(396))/3)+parseInt(e(454))/4*(-parseInt(e(413))/5)+-parseInt(e(408))/6+parseInt(e(435))/7*(parseInt(e(452))/8)+-parseInt(e(390))/9*(-parseInt(e(420))/10)+parseInt(e(405))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[nt(397)](){return nt(448)}static get[nt(423)](){return!0}static get[nt(449)](){return!0}[nt(450)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[nt(445)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[nt(400)](t,e){const i=nt;if(t[i(421)]||!e)return;const n=this[i(401)][i(404)][i(431)](i(432)),s=await e[i(391)]({channelId:n,revisionId:t.id});t[i(421)]=s[i(421)]}[nt(407)](t){const e=nt,i={};for(const n in t[e(421)]){if(t[e(421)][n][e(440)]&&!t[e(421)][n][e(440)][e(387)])continue;const s=this[e(393)](JSON[e(427)](t[e(421)][n][e(402)])),r=this[e(401)][e(399)][e(430)][e(394)],o=new K.ViewDocumentFragment(r,s[e(438)](t=>this[e(459)](t,!1)));this[e(401)][e(439)][e(419)][e(412)](e(415)),i[n]=this[e(401)][e(439)][e(419)][e(414)](o),this[e(401)][e(439)][e(419)][e(412)](e(444))}return i}[nt(446)](t){const e=nt,i={};for(const n in t[e(421)])t[e(421)][n][e(440)]&&!t[e(421)][n][e(440)][e(387)]||(i[n]=t[e(421)][n][e(417)]||{});return i}[nt(411)](t){const e=nt;return this[e(450)][e(431)](t[e(406)])}[nt(459)](t,e){const i=nt,n=this[i(401)][i(399)][i(430)][i(394)];if(i(389)==typeof t)return new K.ViewText(n,t);{let s,r;r="u"==t[i(392)]||"r"==t[i(392)]?[]:t[i(434)][i(438)](t=>this[i(459)](t,e));const o=this[i(445)][i(431)](t[i(392)])||K.ViewElement,a=this[i(401)][i(439)][i(416)][i(426)];if(s=new o(n,t[i(433)],t[i(425)],r),"u"==t[i(392)]&&t[i(434)][0]){const r=t[i(434)][0];if(s[i(429)]=function(t){const e=i,n=t[e(409)](e(436));return n[e(388)]=r,n[e(395)][0]},e){const t=new K.ViewDocumentFragment(n);t[i(403)](s);const e=Array[i(384)](a[i(457)](t,{bind:!1})),r=a[i(442)][i(409)](i(436));r[i(458)](...e),s=Array[i(384)](a[i(443)](r))[0]}}else if("r"==t[i(392)]&&t[i(434)][0]){const r=t[i(434)][0];if(s[i(429)]=function(t){t[i(388)]=r},e){const t=new K.ViewDocumentFragment(n);t[i(403)](s);const e=Array[i(384)](a[i(457)](t,{bind:!1})),r=a[i(442)][i(409)](i(436));r[i(458)](...e);const o=Array[i(384)](a[i(443)](r));o[i(451)]>1?s[i(403)](o):s=o[0]}}if(t[i(453)])for(const[e,n]of t[i(453)])s[i(441)](e,n);const c=void 0===t[i(410)]?null:t[i(410)];return null!==c&&(s[i(398)]=()=>c),s}}[nt(424)](t){const e=nt,i=JSON[e(427)](t),n=this[e(401)][e(399)][e(430)][e(394)],s=new K.ViewDocumentFragment(n,i[e(438)](t=>this[e(459)](t,!0)));return this[e(401)][e(439)][e(428)](s)}[nt(393)](t){const e=nt;return(t=t[e(422)](t=>!t[e(433)]||e(418)!==t[e(433)]&&e(386)!==t[e(433)]))[e(437)](t=>{const i=e;i(389)!=typeof t&&(t[i(434)]=this[i(393)](t[i(434)]),t[i(425)]=t[i(425)][i(422)](t=>!t[0][i(447)](i(385))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,T){if(Object.is(t,i))return!0;let N=s(t),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return E(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,T));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,T)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,T))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}function ft(){const t=["root","getNodeByPath","getIndex","_diffRootsAttributes","sendBufferedUpdates","_setAttribute","domDocument","from","_copyMarkers","markerToData","_handleRootAttributeOperation","string","source","expired","editor-initial-data-replaced-with-revision-data","vid_end","_getTypeCharForViewElement","adapter","innerHTML","dataToMarker","find","_baseRootsAttributes","_handleInsertOperation","_handleSplitOperation","stickiness","908124YDlXtI","childCount","markers","splitPosition","reInit","collaboration.channelId","isEnabled","_createCurrentRevision","text","featureNotAllowed","merge","saveRevision","finally","PendingActions","model","_revisionDataBuilder","newValue","history","_touchedRoots","key","Empty document","getTransformedByOperation","hasContent","path","getMovedRangeStart","ready","_fixPosition","getData","previousPosition","_handleRootOperation","_handleMergeOperation","marker","clear","_addPendingAction","insertions","getTime","range","usageLimit","_getViewJson","_findInsertionIndex","addRevisionData","initialData","update","_fixOperation","keepParagraph","start","RealTimeCollaborationClient","_makeRevision","config","110006NTGQir","isOfficialPlugin","affectsData","deletions","_setConversion","filter","getWalker","map","createdAt","graveyardPosition","rootName","_createInitialRevision","name","add","for","getLatestVersion","creatorId","nodeAfter","setRevisionData","afterInit","repository","sort","get","size","changeRootAttribute","rawElement","loadState","_appendChild","getRevisions","remove","nodes","_bufferUpdate","document","insertion","toVersion","_removePendingAction","_revisionId","10WebNgo","_isPendingUpdate","_removeMetaData","_touchedMarkers","then","_createFromRanges","type","some","insertionPosition","revisionHistoryLicenseKeyDomainLimit","documentFragment","conversion","delete","revisionHistoryLicenseKeyExpired","initial","isPremiumPlugin","fromEntries","startsWith","RevisionTracker","vid_start","_idsRoots","createElement","howMany","_initialRevisionId","_startingVersion","_diffRoots","addRevision","_reset","289532ZZtNUH","removeRootAttribute","reinsert","$comment","insert","currentRevision","toView","push","_continueCurrentRevision","_baseIdsRoots","createPositionFromPath","destroy","pluginName","revisionHistoryLicenseKeyTrialLimit","_update","trialLimit","updateRevisions","rootsAttributes","_source","1788htApOn","diffData","getRevision","resolve","revision:","data","_makeIdsRoot","_authorId","_handleMoveOperation","detachRoot","attributesAfter","990024MojcgM","createPositionAt","length","_markChanges","_clone","_isInit","editor","getOperations","includes","$graveyard","authorsIds","newRange","loadRevisionData","_makeModelFromViewString","getUser","_bufferedUpdates","domainLimit","evaluationLimit","render","domConverter","_getPreviousFrom","revisionHistoryLicenseKeyUsageLimit","_replaceEditorDataWithRevisionData","licenseKey","dataDowncast","getRevisionDocumentData","revisionHistoryLicenseKeyNotAllowed","split","move","getRevisionRootsAttributes","_cloneOperation","RevisionHistoryUtils","getChildren","RevisionHistory","isAttached","set","getRootNames","_processRootBeforeSave","revisionHistoryLicenseKeyEvaluationLimit","4jmIKxh","init","Users","offsetSize","_savedMetaData","_handleOperation","values","roots","slice","_fixRange","_generateTape","getChild","getAttribute","position","bind","getCustomProperties","authors","setSource","oldRange","parent","_getBaseVids","getRange","customProperties","keys","_operations","getFillerOffset","64oXIYtk","_saveMetaData","deletion","getAncestors","shift","baseVersion","has","createPositionBefore","_prepareViewToSave","upcast","_calculateMetaData","_getFromVersion","creator","_licenseKeyCheckInterval","revisionHistoryLicenseKeyInvalid","clone","isEqual","children","paragraph","createRange","item","revisionHistoryLicenseKeyValid","define","getOperation","locale","reverse","userId","uiElement","attributesBefore","_execute","elementEnd","max","_getState","trim","invalid","_transformMarkers","createRangeIn","Initial revision","createPositionAfter","_lastFrom","300572ETlafI","attachChange","tableCell","$text","_utils","PENDING_ACTION_REVISION_HISTORY","addRootAttribute","_touched","revision","653139NcMRIq","getCurrentRevisionId","RevisionsRepository","sourcePosition","targetPosition","fillerOffset","createRevision","_loadState","341iDKACV","_applyOperations","95090JaHfwz","_showLicenseError","getRoot","element","vid","stringify","_insertChild","_baseRoots","18jRzfii","_markers","_lastTo","isAdd","requires","fromVersion","revisionHistory.resumeUnsavedRevision","elementStart","plugins","htmlProcessor","isReady","NEGATIVE_INFINITY","_startingRevisionId","_pendingAction","version","_getVidAttributeName","addRoot","_loadedStateData","_isAttached","buildRevisionData","getAttributes","_handleMarkerOperation","outerHTML","offset","end"];return(ft=function(){return t})()}const mt=pt;function pt(t,e){const i=ft();return(pt=function(t,e){return i[t-=469]})(t,e)}!function(t){const e=pt,i=t();for(;;)try{if(366585===parseInt(e(621))/1*(-parseInt(e(555))/2)+parseInt(e(698))/3+-parseInt(e(486))/4*(parseInt(e(784))/5)+parseInt(e(648))/6*(parseInt(e(516))/7)+parseInt(e(581))/8*(-parseInt(e(630))/9)+-parseInt(e(640))/10*(parseInt(e(638))/11)+parseInt(e(505))/12*(parseInt(e(747))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ft);class vt extends G.Plugin{[mt(539)];[mt(594)];[mt(491)]=null;[mt(767)];[mt(690)]=null;[mt(713)];[mt(504)];[mt(481)];[mt(531)];[mt(625)];[mt(661)];[mt(494)];[mt(482)];[mt(665)];static get[mt(498)](){return mt(476)}static get[mt(748)](){return!0}static get[mt(473)](){return!0}static get[mt(652)](){return[X.Users,et,ot,G.PendingActions]}constructor(e){const i=mt;super(e),this[i(767)]=this[i(522)][i(656)][i(769)](i(632)),this[i(625)]=this[i(522)][i(656)][i(769)](i(547)),this[i(713)]=new gt(this[i(522)]),this[i(481)]=this[i(522)][i(746)][i(769)](i(703))||i(472),this[i(531)]=new Map,this[i(665)]=null;const n=(0,t.uid)();this[i(504)]={history:this[i(522)][i(712)][i(779)][i(715)],getLatestVersion:()=>Promise[i(508)](this[i(522)][i(712)][i(779)][i(662)]),getCurrentRevisionId:()=>n},this[i(551)](i(658),!1),this[i(551)](i(704),!0),this[i(551)](i(785),!1),this[i(522)][i(746)][i(603)](i(654),!0),this[i(522)][i(469)][i(761)](i(590))[i(692)]({view:i(629)})}[mt(556)](){const t=mt;this[t(751)](),this[t(522)][t(510)].on(t(723),()=>{const e=t,i=this[e(767)][e(507)](0),n=i&&null===i[e(593)]?i:null;if(this[e(494)]=!!n&&this[e(522)][e(746)][e(769)](e(654)),this[e(522)][e(656)][e(587)](e(744))){const t=this[e(504)][e(631)](),s=this[e(767)][e(507)](t);if(s)this[e(482)]=s[e(653)],this[e(494)]=!1;else{const t=this[e(504)][e(715)][e(579)][e(693)](t=>!t[e(521)]),s=t?t[e(586)]:this[e(504)][e(715)][e(662)];i?(i[e(781)]<s&&i[e(500)]({toVersion:s}),this[e(494)]?(this[e(504)][e(631)]=()=>n.id,this[e(482)]=n[e(653)]):(this[e(482)]=i[e(781)],this[e(494)]=!1)):(this[e(482)]=s,this[e(494)]=!1)}}else n&&(this[e(522)][e(712)][e(779)][e(715)][e(662)]=Math[e(612)](n[e(781)],this[e(522)][e(712)][e(779)][e(715)][e(662)]),n[e(653)]===n[e(781)]?(0!==n[e(653)]&&(this[e(504)][e(631)]=()=>n.id),this[e(494)]=!1):this[e(494)]&&(this[e(504)][e(631)]=()=>n.id,this[e(482)]=n[e(653)])),this[e(494)]||(this[e(482)]=this[e(522)][e(712)][e(779)][e(662)]);this[e(713)][e(556)](this[e(504)][e(715)]),this[e(758)](this[e(482)]),this[e(705)](this[e(482)]),this[e(690)]&&this[e(677)]()}),this[t(569)](t(658)).to(this,t(785),t=>!t),this[t(539)]=this[t(522)][t(746)][t(769)](t(539));const e=this[t(522)];this[t(594)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(602)==r||i(595)==r||i(471)==r||i(793)==r||i(542)==r||i(554)==r||i(499)==r||i(537)==r){delete e[s],n=r,clearInterval(this[i(594)]),this[i(594)]=void 0;break}}i(595)==n&&e[i(641)](i(615)),i(471)==n&&e[i(641)](i(686)),i(793)==n&&e[i(641)](i(532)),i(542)==n&&e[i(641)](i(707),i(549)),i(554)==n&&e[i(641)](i(533)),i(499)==n&&e[i(641)](i(501)),i(537)==n&&e[i(641)](i(735))},1e3)}async[mt(766)](){const t=mt;if(this[t(767)][t(518)]>0){const e=this[t(767)][t(507)](0),i=await this[t(541)](e),n=await this[t(545)](e);this[t(538)](i,n)}}[mt(497)](){const t=mt;super[t(497)](),this[t(594)]&&clearInterval(this[t(594)])}[mt(572)](t){this[mt(504)]=t}async[mt(740)](){const t=mt,e=await this[t(504)][t(762)]();if(e>this[t(491)][t(781)]){await this[t(637)]();const i=this[t(667)]({revision:this[t(491)],to:e});i[t(571)]=i[t(526)][t(754)](e=>this[t(522)][t(656)][t(769)](t(557))[t(530)](e)),this[t(491)][t(500)](i)}}async[mt(709)](e={},i=null){const n=mt,s=[];await this[n(637)](),this[n(494)]=!1,i>this[n(491)][n(781)]&&(i=null),null===i&&(i=await this[n(504)][n(762)]());const r=this[n(592)](i),o=this[n(667)]({from:r,to:i});if(this[n(491)][n(781)]<i){const t=this[n(667)]({revision:this[n(491)],from:i,to:i});t[n(571)]=[],t[n(526)]=[],t.id=this[n(491)].id,this[n(491)][n(500)](t,!0),delete t[n(571)],s[n(493)](t)}e[n(763)]=this[n(522)][n(656)][n(769)](n(557)).me.id,e[n(759)]=e[n(759)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(738)](e);s[n(493)](e);const c=this[n(767)][n(675)](a);if(0!==c){const t=this[n(767)][n(507)](c-1);if(t[n(653)]!==i){const r=this[n(713)][n(725)](i,t[n(781)]),o={id:t.id,diffData:r[n(506)],authorsIds:r[n(526)],authors:r[n(526)][n(754)](t=>this[n(522)][n(656)][n(769)](n(557))[n(530)](t)),fromVersion:i};t===this[n(491)]&&(o[n(755)]=new Date(e[n(755)][n(733)]()+10)),t[n(500)](o,!0),delete o[n(571)],s[n(493)](o)}}if(this[n(690)]){for(const t of s)this[n(778)](t.id,t,!0);this[n(677)]()}return a}[mt(738)](t){const e=mt,i=this[e(767)][e(636)](t);return this[e(690)]&&i.on(e(500),(t,i,n)=>{const s=e;n||(this[s(778)](i.id,i,!0),this[s(677)]())}),this[e(767)][e(484)](i,this[e(737)](i)),i}async[mt(541)](t){const e=mt;return await this[e(625)][e(528)](t,this[e(690)]),this[e(625)][e(541)](t)}async[mt(545)](t){const e=mt;return await this[e(625)][e(528)](t,this[e(690)]),this[e(625)][e(545)](t)}[mt(677)](){const t=mt;if(0===this[t(531)][t(770)])return;if(this[t(785)])return;let e=Array[t(680)](this[t(531)][t(561)]());this[t(531)][t(730)]();for(let i=0;i<e[t(518)];i++){const n=e[i];let s=!1;for(const e of Object[t(578)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(752)](t=>null!==t),!e[t(518)])return;for(let i=0;i<e[t(518)];i++){const n=e[i];void 0!==n[t(653)]&&void 0===n[t(781)]&&(n[t(781)]=this[t(767)][t(507)](n.id)[t(781)]),void 0!==n[t(781)]&&void 0===n[t(653)]&&(n[t(653)]=this[t(767)][t(507)](n.id)[t(653)])}const i=this[t(522)][t(746)][t(769)](t(703));this[t(785)]=!0,this[t(731)](),this[t(690)][t(502)](e,i)[t(710)](()=>{this[t(785)]=!1})[t(788)](e=>{const i=t;if(e)for(const t of e)this[i(765)]({id:t.id,createdAt:t[i(755)]});this[i(782)](),this[i(677)]()})}[mt(667)]({revision:t=null,from:e=null,to:i=null}){const n=mt;e=null!==e?e:t[n(653)],i=null!==i?i:t[n(781)];const s=this[n(713)][n(725)](e,i),r={diffData:s[n(506)],authorsIds:s[n(526)],fromVersion:e,toVersion:i};if(!t||i!==t[n(781)]){const t=i-1,e=this[n(504)][n(715)][n(604)](t);r[n(755)]=e&&e[n(755)]||new Date}if(this[n(665)]&&e===this[n(665)][n(653)])for(const t of this[n(665)][n(571)])r[n(526)][n(524)](t.id)||r[n(526)][n(493)](t.id);return r}[mt(778)](t,e,i){const n=mt;if(this[n(531)][n(587)](t)){const s=this[n(531)][n(769)](t);e=i?{...s,...e}:{...e,...s}}this[n(531)][n(551)](t,e)}[mt(765)](t){const e=mt,i=this[e(767)][e(507)](t.id);if(t[e(755)]&&(t[e(755)]=new Date(t[e(755)])),t[e(526)]){const i=this[e(522)][e(656)][e(769)](e(557));t[e(571)]=t[e(526)][e(754)](t=>i[e(530)](t))}i[e(500)](t,!0)}[mt(758)](t){const e=mt,i=this[e(767)][e(507)](this[e(767)][e(518)]-1);if(i)this[e(481)]=i.id;else{const i=!this[e(522)][e(712)][e(779)][e(562)][e(693)](t=>this[e(522)][e(712)][e(720)](t)),n=this[e(522)][e(656)][e(769)](e(557)).me.id,s=at(this[e(522)][e(605)],e(i?718:618));this[e(745)]({from:t,to:t,id:this[e(481)],name:s,creatorId:n})}}[mt(705)](t){const e=mt,i=this[e(504)][e(631)]();this[e(491)]=this[e(767)][e(507)](i),this[e(491)]||(this[e(491)]=this[e(745)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[mt(637)](){const t=mt;this[t(494)]&&!this[t(665)]&&(await this[t(625)][t(528)](this[t(491)],this[t(690)]),this[t(713)][t(773)](this[t(491)]),this[t(665)]={fromVersion:this[t(491)][t(653)],authors:this[t(491)][t(571)][t(563)]()})}[mt(538)](e,i){const n=mt;let s=this[n(522)][n(746)][n(769)](n(739)),r=this[n(522)][n(746)][n(769)](n(503));if(void 0===s){s={};for(const t of this[n(522)][n(712)][n(779)][n(552)]())s[t]=""}if(n(684)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(522)][n(712)][n(779)][n(552)]())r[t]={}}let o=!1;const a=Object[n(578)](s),c=Object[n(578)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(614)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(578)](r[t])[n(518)]>0){o=!0;break}}o||(o=c[n(791)](t=>!this[n(522)][n(712)][n(779)][n(642)](t))),o&&(0,t.logWarning)(n(687),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(522)][n(746)][n(551)](n(739),e),this[n(522)][n(746)][n(551)](n(503),i)}[mt(731)](){const t=mt;if(!this[t(661)]){const e=this[t(522)][t(656)][t(769)](t(711));this[t(661)]=e[t(760)](at(this[t(522)][t(605)],t(626)))}}[mt(782)](){const t=mt;this[t(661)]&&(this[t(522)][t(656)][t(769)](t(711))[t(776)](this[t(661)]),this[t(661)]=null)}[mt(737)](t){const e=mt,i=this[e(767)][e(775)]();i[e(606)]();let n=0;for(;n<i[e(518)];){const s=i[n];if(s===this[e(491)]){n++;continue}if(s.id===this[e(481)])break;const r=t[e(781)]-s[e(781)]||t[e(653)]-s[e(653)];if(r>0)break;if(r<0)n++;else{if(!t[e(593)]&&s[e(593)])break;if(s[e(593)]||!t[e(593)]){if(t[e(755)]>s[e(755)])break;n++}else n++}}return n}[mt(592)](t){const e=mt,i=this[e(767)][e(775)]();i[e(606)](),i[e(585)]();const n=i[e(693)](i=>i[e(781)]<=t)[e(781)];return n<this[e(482)]?this[e(482)]:n}[mt(745)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=mt,o=this[r(667)]({from:e,to:i});o[r(759)]=t,o[r(763)]=n,o.id=s;const a=this[r(738)](o);return this[r(690)]&&this[r(778)](o.id,o,!0),a}[mt(751)](){const t=mt;this[t(522)][t(469)][t(761)](t(540))[t(682)]({model:t(629)})}}class gt{[mt(522)];[mt(685)];[mt(559)];[mt(620)];[mt(650)];[mt(649)];[mt(483)];[mt(676)];[mt(647)];[mt(694)];[mt(478)];[mt(495)];[mt(628)];[mt(787)];[mt(716)];[mt(783)];[mt(660)];constructor(t){const e=mt;this[e(522)]=t,this[e(559)]=new Map,this[e(620)]=-1,this[e(650)]=-1,this[e(649)]=new Map,this[e(483)]=new Map,this[e(676)]=new Map,this[e(647)]=new Map,this[e(694)]=new Map,this[e(478)]=new Map,this[e(495)]=new Map,this[e(628)]=new Map,this[e(787)]=new Map,this[e(716)]=new Map,this[e(783)]=1}[mt(556)](t){const e=mt;this[e(685)]=t;const i=new Map,n=new Map,s=this[e(522)][e(712)][e(779)][e(562)][e(754)](t=>t[e(757)]);for(const t of s){const s=this[e(522)][e(712)][e(779)][e(642)](t),r=yt(s);i[e(551)](t,r),n[e(551)](t,Object[e(474)](s[e(668)]()))}const r=Array[e(680)](this[e(522)][e(712)][e(700)])[e(754)](t=>[t[e(759)],t[e(576)]()]),o=this[e(685)][e(662)];this[e(582)](o,i,r,n),this[e(660)]=this[e(783)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(551)](t,i),c[e(551)](t,{})}this[e(582)](Number[e(659)],a,[],c)}[mt(725)](t,e){const i=mt;if(this[i(620)]===t&&this[i(650)]<=e)this[i(559)][i(770)]>1&&this[i(786)](this[i(650)]),this[i(639)](this[i(650)],e,!0);else{if(!this[i(559)][i(587)](t)){const e=this[i(536)](t);this[i(591)](e,t,!1)}this[i(591)](t,e,!0)}return this[i(620)]=t,this[i(650)]=e,this[i(613)]()}[mt(773)](t){const e=mt,i=this[e(522)][e(656)][e(769)](e(547));this[e(485)](),this[e(620)]=t[e(653)],this[e(650)]=t[e(781)];for(const n in t[e(506)]){const s=t[e(506)][n][e(622)],r=R(t[e(506)][n][e(609)])||{},o=i[e(529)](t[e(506)][n][e(750)]);o[e(757)]=n,o[e(666)]=!s||!s[e(550)],o[e(550)]=()=>o[e(666)],this[e(647)][e(551)](n,o),this[e(694)][e(551)](n,r),s&&this[e(716)][e(551)](n,s);const a=this[e(511)](o);this[e(495)][e(551)](n,a);for(const[t,i]of o[e(700)]){if(!t[e(475)](e(509)))continue;const n=t[e(543)](":")[2];for(const t of i[e(753)]({singleCharacters:!0})){const i=this[e(663)](t),s=e(611)==t[e(790)]?t[e(726)][e(721)][e(563)](0,-1):t[e(726)][e(721)],r=a[e(674)](s)[e(567)](i);this[e(628)][e(551)](r,{userId:n})}}}this[e(660)]=this[e(783)];const n=[...Array(this[e(783)])[e(578)]()][e(563)](1)[e(752)](t=>!this[e(628)][e(587)](t));let s=0;const r=new Map;for(const o in t[e(506)]){const a=t[e(506)][o][e(622)],c=R(t[e(506)][o][e(515)])||{},u=i[e(529)](t[e(506)][o][e(732)]);u[e(757)]=o,u[e(666)]=!a||a[e(550)],u[e(550)]=()=>u[e(666)],this[e(483)][e(551)](o,u),this[e(676)][e(551)](o,c);const l=this[e(511)](u,Number[e(659)]);this[e(478)][e(551)](o,l),r[e(551)](o,u[e(550)]()?c:{});for(const[t,i]of u[e(700)]){if(!t[e(475)](e(509)))continue;const n=t[e(543)](":")[2];for(const t of i[e(753)]({singleCharacters:!0})){const i=this[e(663)](t),s=this[e(783)]++,r=e(611)==t[e(790)]?t[e(726)][e(721)][e(563)](0,-1):t[e(726)][e(721)];l[e(674)](r)[e(678)](i,s),this[e(628)][e(551)](s,{userId:n})}}for(const t of this[e(522)][e(712)][e(617)](u)[e(753)]({singleCharacters:!0})){const i=this[e(663)](t),r=e(611)==t[e(790)]?t[e(726)][e(721)][e(563)](0,-1):t[e(726)][e(721)],o=l[e(674)](r);o[e(567)](i)>0||o[e(678)](i,n[s++])}for(const[t,i]of u[e(700)])t[e(475)](e(509))||this[e(649)][e(551)](t,i)}const o=kt(e(525));this[e(647)][e(551)](e(525),o),this[e(495)][e(551)](e(525),this[e(511)](o,1));const a=kt(e(525));this[e(483)][e(551)](e(525),a),this[e(478)][e(551)](e(525),this[e(511)](a,1));const c=Array[e(680)](this[e(483)])[e(754)](([t,e])=>[t,yt(e)]);this[e(582)](this[e(650)],c,this[e(649)],r)}[mt(702)](){const t=mt;this[t(485)](),this[t(620)]=-1,this[t(650)]=-1,this[t(559)][t(730)](),this[t(556)](this[t(685)])}[mt(582)](t,e,i,n){const s=mt,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(551)](t,{start:e[s(743)][s(596)](),end:e[s(672)][s(596)](),rootName:e[s(673)][s(757)]});this[s(559)][s(551)](t,{roots:r,markers:a,rootsAttributes:o})}[mt(786)](t){const e=mt;this[e(559)][e(470)](t)}[mt(485)](){const t=mt;this[t(628)][t(730)](),this[t(787)][t(730)](),this[t(716)][t(730)](),this[t(483)][t(730)](),this[t(676)][t(730)](),this[t(647)][t(730)](),this[t(694)][t(730)](),this[t(478)][t(730)](),this[t(495)][t(730)](),this[t(649)][t(730)](),this[t(783)]=1,this[t(660)]=this[t(783)]}[mt(511)](t,e=null){const i=mt;let n=null;t.is(i(794))||(n=new K.ModelElement(t[i(759)],{vid_start:null===e?this[i(783)]++:e++}));const s=[];for(const n of t[i(548)]())if(n.is(i(643))){s[i(493)](this[i(511)](n,e));const t=s[s[i(518)]-1];null!==e&&(e=t.is(i(643),i(624))?t[i(567)](i(644))+1:t[i(567)](i(688))+1)}else for(let t=0;t<n[i(558)];t++)s[i(493)](new K.ModelElement(i(624),{vid:null===e?this[i(783)]++:e++}));if(t.is(i(794))){const e=kt(t[i(757)]);return e[i(646)](0,s),e}return n[i(678)](i(688),null===e?this[i(783)]++:e++),n[i(646)](0,s),n}[mt(591)](t,e,i){const n=mt;this[n(485)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(559)][n(769)](t);this[n(647)]=new Map(s),this[n(694)]=new Map(R(o));for(const[t,e]of this[n(647)])if(n(525)!==t&&(this[n(483)][n(551)](t,yt(e)),this[n(676)]=new Map(R(o)),i)){const i=this[n(783)];this[n(478)][n(551)](t,this[n(511)](e)),this[n(495)][n(551)](t,this[n(511)](e,i))}this[n(660)]=this[n(783)],this[n(483)][n(551)](n(525),yt(this[n(647)][n(769)](n(525)))),i&&this[n(478)][n(551)](n(525),this[n(511)](this[n(647)][n(769)](n(525))));for(const[t,e]of r){const i=this[n(647)][n(769)](e[n(757)]),s=this[n(483)][n(769)](e[n(757)]),r=new K.ModelRange(this[n(724)](e[n(743)],i),this[n(724)](e[n(672)],i)),o=this[n(564)](r,s);i[n(700)][n(551)](t,r),this[n(649)][n(551)](t,o)}this[n(639)](t,e,i)}[mt(639)](t,e,i){const n=mt;for(const s of this[n(685)][n(523)](t,e))this[n(560)](s,i);for(const t of this[n(483)][n(561)]())t[n(700)][n(730)]();for(const[t,e]of this[n(649)])this[n(483)][n(769)](e[n(673)][n(757)])[n(700)][n(551)](t,e[n(596)]());const s=new Map,r=new Map;for(const[t,e]of this[n(483)])s[n(551)](t,yt(e)),r[n(551)](t,this[n(676)][n(769)](t));this[n(582)](e,s,this[n(649)],r)}[mt(536)](t){const e=mt,i=Array[e(680)](this[e(559)][e(578)]());i[e(768)]((t,e)=>t-e),i[e(606)]();for(const e of i)if(e<t)return e;return Number[e(659)]}[mt(681)](t,e){const i=mt,n=Array[i(680)](e[i(700)])[i(754)](([e,n])=>[e,this[i(564)](n,t)]);t[i(700)]=new Map(n)}[mt(616)](t){const e=mt;for(const i of this[e(649)][e(561)]()){const n=i[e(719)](t),s=K.ModelRange[e(789)](n);i[e(743)]=s[e(743)],i[e(672)]=s[e(672)]}}[mt(560)](t,e){const i=mt;if(i(664)!=t[i(790)]&&i(514)!=t[i(790)]){if(i(490)==t[i(790)]){const n=t[i(568)][i(673)][i(757)];this[i(483)][i(587)](n)||(this[i(483)][i(551)](n,kt(n,!0)),this[i(676)][i(551)](n,{}),e&&this[i(478)][i(551)](n,kt(n,!0)))}else{if(i(627)==t[i(790)]||i(487)==t[i(790)]||i(771)==t[i(790)])return void this[i(683)](t);i(729)==t[i(790)]&&this[i(669)](t)}if(i(729)!==t[i(790)]){const e=this[i(546)](t,this[i(483)]);e[i(610)](),this[i(616)](e)}if(e)switch(t[i(790)]){case i(490):this[i(695)](t);break;case i(544):case i(776):case i(488):this[i(513)](t);break;case i(708):this[i(728)](t);break;case i(543):this[i(696)](t)}}else this[i(727)](t,e)}[mt(546)](t,e){const i=mt,n=t[i(596)]();return n[i(512)]=t[i(512)],this[i(741)](n,e),n}[mt(575)](t){const e=mt;return t[e(754)](t=>{const i=e,n=this[i(663)](t);return Number(t[i(601)][i(567)](n))})}[mt(565)](t,e){const i=mt;if(t.is(i(643),i(624)))e[i(493)]({item:t,type:i(706)});else{t.is(i(643))&&e[i(493)]({item:t,type:i(655)});for(const n of t[i(548)]())this[i(565)](n,e);t.is(i(643))&&e[i(493)]({item:t,type:i(611)})}return e}[mt(613)](){const t=mt,e=new Map(this[t(628)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(647)][t(578)](),...this[t(483)][t(578)]()]);a[t(470)](t(525));for(const e of a){const i=this[t(483)][t(769)](e)||kt(e,!1),n=this[t(647)][t(769)](e)||kt(e,!1);i[t(550)]()||n[t(550)]()?(s[t(732)][e]=yt(i),s[t(750)][e]=yt(n),this[t(681)](s[t(750)][e],n),this[t(681)](s[t(732)][e],i),r[t(732)][e]=this[t(565)](this[t(478)][t(769)](e),[]),r[t(750)][e]=this[t(565)](this[t(495)][t(769)](e)||kt(e,!1),[])):a[t(470)](e)}for(const s of a){const o=r[t(732)][s];for(const s of o){const r=this[t(663)](s),o=s[t(601)][t(567)](r);i[t(470)](o),o>=this[t(660)]&&n[t(551)](o,e[t(769)](o))}}for(const s of a){const a=r[t(732)][s],c=this[t(575)](r[t(750)][s]);let u=0;for(const s of a){const r=this[t(663)](s),a=s[t(601)][t(567)](r);if(!n[t(587)](a)&&!o[t(587)](a))if(i[t(587)](a))u++;else{if(a!=c[u]){const n=e[t(769)](a)||e[t(769)](c[u]);for(;a!=c[u];)i[t(587)](c[u])||(o[t(551)](c[u],n),e[t(551)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(732)][e];for(const e of s){const s=this[t(663)](e),r=e[t(601)][t(567)](s);if(o[t(587)](r)){const e=o[t(769)](r);i[t(587)](r)||i[t(551)](r,{...e}),n[t(551)](r,{...e})}}}for(const e of i[t(578)]())e>=this[t(660)]&&i[t(470)](e);const c=new Map;for(const e of a){let s=r[t(732)][e];for(const e of s)if(e[t(601)].is(t(643),t(623))){const i=this[t(663)](e),s=e[t(601)][t(567)](i);if(n[t(587)](s)){const i=e[t(601)][t(574)][t(574)][t(567)](t(477)),r=c[t(769)](i)||new Set;r[t(760)](n[t(769)](s)[t(607)]),c[t(551)](i,r)}}s=r[t(750)][e];for(const e of s)if(e[t(601)].is(t(643),t(623))){const n=this[t(663)](e),s=e[t(601)][t(567)](n);if(i[t(587)](s)){const n=e[t(601)][t(574)][t(574)][t(567)](t(477)),r=c[t(769)](n)||new Set;r[t(760)](i[t(769)](s)[t(607)]),c[t(551)](n,r)}}for(const e of c[t(578)]())(n[t(587)](e)||i[t(587)](e))&&c[t(470)](e)}for(const e of a){const s=r[t(732)][e];let o=null,a=null;for(const e of s){const s=this[t(663)](e),r=e[t(601)][t(567)](s),u=c[t(769)](r);u&&t(655)==e[t(790)]&&(o=Array[t(680)](u)[0],a=e[t(601)][t(567)](t(688))),o&&(i[t(551)](r,{userId:o}),n[t(551)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(750)][e],a=s[t(732)][e];for(const{userId:e}of this[t(787)][t(561)]())null!==e&&l[t(760)](e);for(const{userId:e}of this[t(716)][t(561)]())null!==e&&l[t(760)](e);this[t(519)](a,r[t(732)][e],n,t(780),l),this[t(519)](o,r[t(750)][e],i,t(583),l),u[e]={insertions:this[t(589)](a),deletions:this[t(589)](o),attachChange:this[t(716)][t(769)](e)||null,attributesBefore:R(this[t(694)][t(769)](e))||{},attributesAfter:R(this[t(676)][t(769)](e))}}return{diffData:u,authorsIds:Array[t(680)](l)}}[mt(553)](t){const e=mt;for(const[,i]of t[e(700)]){const t=i[e(743)][e(584)]()[e(752)](t=>e(623)==t[e(759)]);for(const i of t)1==i[e(699)]&&i[e(566)](0).is(e(643),e(599))&&i[e(566)](0)[e(678)](e(742),!0)}}[mt(589)](t){const e=mt;this[e(553)](t);const i=this[e(522)][e(510)][e(492)](t,{}),n=Array[e(680)](i[e(548)]())[e(754)](t=>this[e(736)](t));return JSON[e(645)](n)}[mt(736)](t){const e=mt;if(t.is(e(624)))return t[e(510)];{const i=this[e(522)][e(656)][e(769)](e(547)),n=t,s=this[e(522)][e(510)][e(657)][e(535)],r={type:i[e(689)](n),name:n[e(759)],attributes:Array[e(680)](n[e(668)]()),children:Array[e(680)](n[e(548)]())[e(754)](t=>this[e(736)](t))};if(t.is(e(608))&&e(489)!=t[e(759)]){const i=t[e(534)](s[e(679)],s);r[e(598)][e(493)](i[e(670)])}else if(t.is(e(772))){const i=s[e(679)][e(479)](n[e(759)]);t[e(534)](i,s),r[e(598)][e(493)](i[e(691)])}const o=Array[e(680)](n[e(570)]());o[e(518)]>0&&(r[e(577)]=o);const a=n[e(580)]();return null!==a&&(r[e(635)]=a),r}}[mt(519)](t,e,i,n,s){const r=mt;let o=null,a=null,c=0;const u=this[r(522)][r(712)];for(let n=0;n<e[r(518)];n++){const s=this[r(663)](e[n]),c=e[n][r(601)][r(567)](s),h=i[r(769)](c),d=n==e[r(518)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(607)]!=o[r(607)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(607)],d=l(509)+n+":"+h+":"+c++,f=u[l(600)](i,a);t[l(700)][l(551)](d,f),null!==h&&s[l(760)](h)}}[mt(663)](t){const e=mt;switch(t[e(790)]){case e(655):return e(477);case e(611):return e(688);default:return e(644)}}[mt(741)](t,e){const i=mt;t[i(586)]=null;for(const n in t){const s=t[n];if(s instanceof K.ModelPosition){const r=e[i(769)](s[i(673)][i(757)]);t[n]=this[i(724)](s,r)}if(s instanceof K.ModelRange){const r=e[i(769)](s[i(673)][i(757)]);t[n]=this[i(564)](s,r)}i(673)===n&&(t[i(673)]=e[i(769)](t[i(673)][i(757)]))}}[mt(564)](t,e){const i=mt;return this[i(522)][i(712)][i(600)](this[i(724)](t[i(743)],e),this[i(724)](t[i(672)],e))}[mt(724)](t,e){const i=mt;return this[i(522)][i(712)][i(496)](e,t[i(721)],t[i(697)])}[mt(695)](t){const e=mt,i=this[e(478)][e(769)](t[e(568)][e(673)][e(757)]),n=this[e(724)](t[e(568)],i),s=null===t[e(512)]?null:t[e(512)]||this[e(522)][e(656)][e(769)](e(557)).me.id,r=n[e(574)],o=this[e(783)],a=[];for(const i of t[e(777)])if(i.is(e(643)))a[e(493)](this[e(511)](i));else for(let t=0;t<i[e(558)];t++)a[e(493)](new K.ModelElement(e(624),{vid:this[e(783)]++}));const c=this[e(783)];for(let t=o;t<c;t++)this[e(628)][e(551)](t,{userId:s});r[e(646)](n[e(671)],a)}[mt(513)](t){const e=mt;(t=this[e(546)](t,this[e(478)]))[e(610)]();const i=null===t[e(512)]?null:t[e(512)]||this[e(522)][e(656)][e(769)](e(557)).me.id,n=t[e(722)](),s=n[e(574)],r=n[e(671)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(566)](e);r.is(a(643),a(624))?n[a(551)](r[a(567)](a(644)),{userId:i}):(n[a(551)](r[a(567)](a(477)),{userId:i}),t(n,r,0,r[a(699)]),n[a(551)](r[a(567)](a(688)),{userId:i}))}}(this[e(628)],s,r,r+t[e(480)])}[mt(728)](t){const e=mt,i=null===(t=this[e(546)](t,this[e(478)]))[e(512)]?null:t[e(512)]||this[e(522)][e(656)][e(769)](e(557)).me.id,n=t[e(634)][e(574)],s=t[e(633)][e(574)],r=n[e(567)](e(688)),o=s[e(567)](e(477));n[e(678)](e(688),s[e(567)](e(688))),s[e(678)](e(688),r),this[e(628)][e(551)](o,{userId:i}),this[e(628)][e(551)](r,{userId:i}),t[e(610)]()}[mt(696)](t){const e=mt,i=null===(t=this[e(546)](t,this[e(478)]))[e(512)]?null:t[e(512)]||this[e(522)][e(656)][e(769)](e(557)).me.id,n=t[e(756)],s=t[e(701)][e(574)];t[e(610)]();const r=s[e(567)](e(688)),o=t[e(792)][e(764)];if(n){const t=o[e(567)](e(688)),n=s[e(567)](e(688));s[e(678)](e(688),t),o[e(678)](e(688),n),this[e(628)][e(551)](s[e(567)](e(688)),{userId:i}),this[e(628)][e(551)](o[e(567)](e(477)),{userId:i})}else{const t=this[e(783)]++,n=this[e(783)]++;s[e(678)](e(688),t),o[e(678)](e(477),n),o[e(678)](e(688),r),this[e(628)][e(551)](t,{userId:i}),this[e(628)][e(551)](n,{userId:i})}}[mt(669)](t){const e=mt;if(!t[e(749)])return;const i=(t=this[e(546)](t,this[e(483)]))[e(573)]?t[e(573)][e(673)]:null,n=t[e(527)]?t[e(527)][e(673)]:null;i&&this[e(649)][e(470)](t[e(759)]),n&&this[e(649)][e(551)](t[e(759)],t[e(527)][e(596)]());const s=null===t[e(512)]?null:t[e(512)]||this[e(522)][e(656)][e(769)](e(557)).me.id,r=t[e(759)];if(!this[e(787)][e(587)](r))return void this[e(787)][e(551)](r,{range:t[e(573)],userId:s});const o=this[e(787)][e(769)](r),a=o[e(734)],c=t[e(527)];null==a&&null==c||a&&c&&a[e(597)](c)?this[e(787)][e(470)](t[e(759)]):o[e(607)]=s}[mt(727)](t,e){const i=mt;this[i(483)][i(587)](t[i(757)])?this[i(483)][i(769)](t[i(757)])[i(666)]=t[i(651)]:(this[i(483)][i(551)](t[i(757)],kt(t[i(757)],!0)),this[i(676)][i(551)](t[i(757)],{}),e&&this[i(478)][i(551)](t[i(757)],kt(t[i(757)],!0)));const n=null===t[i(512)]?null:t[i(512)]||this[i(522)][i(656)][i(769)](i(557)).me.id,s=this[i(716)][i(769)](t[i(757)]);s&&s[i(607)]===n?this[i(716)][i(470)](t[i(757)]):this[i(716)][i(551)](t[i(757)],{userId:n,isAttached:t[i(651)]})}[mt(683)](t){const e=mt,i=this[e(676)][e(769)](t[e(673)][e(757)]);null===t[e(714)]?delete i[t[e(717)]]:i[t[e(717)]]=t[e(714)]}}function yt(t){const e=mt,i=kt(t[e(757)],t[e(550)]());for(const n of t[e(548)]()){const t=n[e(520)](!0);i[e(774)](t)}return i}function kt(t,e=!0){const i=mt,n=new K.ModelDocumentFragment;return n[i(757)]=t,n[i(666)]=e,n[i(550)]=()=>n[i(666)],n}function bt(t,e,i){const n=mt,s=n(611)==t[n(790)]?i[n(517)](t[n(601)],n(672)):i[n(588)](t[n(601)]);return i[n(496)](e,s[n(721)],s[n(697)])}function wt(t,e,i){const n=mt,s=n(655)==t[n(790)]?i[n(517)](t[n(601)],0):i[n(619)](t[n(601)]);return i[n(496)](e,s[n(721)],s[n(697)])}var _t=i(355),It=i(311),St=i(673),Ot=i.n(St),xt=i(545),Tt=i.n(xt),Nt=i(262),At=i.n(Nt),Rt=i(667),Mt=i.n(Rt),Et=i(357),Dt=i.n(Et),Vt=i(426),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=Tt(),Ct.insertStyleElement=Dt();Ot()(Vt.A,Ct);Vt.A&&Vt.A.locals&&Vt.A.locals;var jt=i(959),Ft={attributes:{"data-cke":!0}};Ft.setAttributes=Mt(),Ft.insert=At().bind(null,"head"),Ft.domAPI=Tt(),Ft.insertStyleElement=Dt();Ot()(jt.A,Ft);jt.A&&jt.A.locals&&jt.A.locals;const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=221]})(t,e)}function zt(){const t=["add","trim","keystrokes","arrowdown","fieldView","7yeOGAs","setTemplate","1067296PUmWRc","17vAdIhb","focusTracker","220","revisionNameInputValue","13774AxZWkM","render","ck-revision-history-save-revision-form","initializeCssTransitionDisablerMixin","set","listenTo","revisionNameInputView","arrowright","input","308EAyZag","387340YMrudy","element","108deuScm","_createRevisionNameInput","locale","value","revisionName","1565yiJssh","reset","form","label","9vOzraG","stopPropagation","ck-responsive-form","arrowup","errorText","6921512zIVHzK","focus","12585iCRsaY","optional","43560AWKfHw","extendTemplate","4146QSAEmr","Name of the revision","arrowleft"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(110521===-parseInt(e(259))/1*(-parseInt(e(263))/2)+-parseInt(e(244))/3*(-parseInt(e(228))/4)+parseInt(e(233))/5*(parseInt(e(248))/6)+-parseInt(e(256))/7*(-parseInt(e(258))/8)+-parseInt(e(237))/9*(parseInt(e(226))/10)+-parseInt(e(225))/11*(-parseInt(e(246))/12)+-parseInt(e(242))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(260)];[Lt(253)];[Lt(222)];constructor(e,i){const n=Lt;super(e),this[n(260)]=new t.FocusTracker,this[n(253)]=new t.KeystrokeHandler,this[n(267)](n(262),""),this[n(222)]=this[n(229)](i),this[n(257)]({tag:n(235),attributes:{class:["ck",n(265),n(239)],tabindex:"-1"},children:[this[n(222)]]}),this[n(266)]()}[Lt(264)](){const t=Lt;super[t(264)](),(0,It.submitHandler)({view:this}),this[t(260)][t(251)](this[t(222)][t(227)]),this[t(253)][t(221)](this[t(227)]);const e=e=>e[t(238)]();this[t(253)][t(267)](t(223),e),this[t(253)][t(267)](t(250),e),this[t(253)][t(267)](t(240),e),this[t(253)][t(267)](t(254),e)}[Lt(243)](){const t=Lt;this[t(222)][t(243)]()}get[Lt(232)](){const t=Lt;return this[t(222)][t(255)][t(227)][t(231)][t(252)]()}set[Lt(232)](t){const e=Lt;this[e(222)][e(255)][e(227)][e(231)]=t[e(252)]()}[Lt(234)](){const t=Lt;this[t(222)][t(255)][t(227)][t(231)]="",this[t(222)][t(241)]=null}[Lt(229)](t){const e=Lt,i=new It.LabeledFieldView(this[e(230)],It.createLabeledInputText),n=i[e(255)];n[e(247)]({attributes:{maxlength:e(261)}});let s=at(this[e(230)],e(249));return!t&&(s+=" ("+at(this[e(230)],e(245))+")"),i[e(236)]=s,n.on(e(224),()=>{const t=e;this[t(262)]=n[t(227)][t(231)][t(252)]()}),i}}const Ut=Ht;function Ht(t,e){const i=Zt();return(Ht=function(t,e){return i[t-=364]})(t,e)}function Zt(){const t=["locale","showRevisionViewerCallback","Open revision history","isOfficialPlugin","menuBar:revisionHistory","2559dZLxne","Cancel","editing","_saveRevisionFormView","buttonView","menuitem","Revision history","bind","isOpen","revisionSave","_registerMenuComponent","The revision name cannot be empty.","role","Save current revision","9110XeuiBp","delegate","panelView","focus","828NjbyhA","Accept","RevisionHistoryUI","saveRevision","errorText","editor","view","set","render","7GkNsdB","hide","componentFactory","_showDialog","add","827607nwmSGM","show","isPremiumPlugin","revisionNameInputView","Dialog","5308941swIBvs","items","4WurJLo","isReady","38Wxlkjl","init","addMany","_createSaveRevisionFormView","plugins","get","pluginName","menu","isReadOnly","2216598ddPBbs","revisionHistory.requireRevisionName","3745928dWsIdG","revisionName","isEnabled","config","revisionHistory","700195oUXnOG","ck-button-action","RevisionTracker","submit","requires","reset","execute","children"];return(Zt=function(){return t})()}!function(t){const e=Ht,i=t();for(;;)try{if(254404===-parseInt(e(389))/1*(parseInt(e(430))/2)+-parseInt(e(421))/3+-parseInt(e(428))/4*(-parseInt(e(376))/5)+parseInt(e(369))/6+-parseInt(e(416))/7*(-parseInt(e(371))/8)+-parseInt(e(407))/9*(-parseInt(e(403))/10)+-parseInt(e(426))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends G.Plugin{static get[Ut(366)](){return Ut(409)}static get[Ut(387)](){return!0}static get[Ut(423)](){return!0}static get[Ut(380)](){return[vt]}[Ut(392)];[Ut(431)](){const t=Ut,e=this[t(412)],i=e[t(364)][t(365)](t(378));e.ui[t(418)][t(420)](t(375),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(405)][s(383)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(396)](s(373)).to(i,s(429),i,s(373),e,s(368),(t,e,i)=>t&&e&&!i),r[s(393)][s(414)]({icon:_t.IconHistory,label:at(n,s(395)),tooltip:!0}),u[s(414)]({label:at(n,s(402)),withText:!0,role:s(394)}),u[s(396)](s(373)).to(i,s(429),i,s(373),e,s(368),(t,e,i)=>t&&e&&!i),u.on(s(382),()=>this[s(419)]()),h[s(414)]({label:at(n,s(386)),withText:!0,role:s(394)}),h[s(396)](s(373)).to(i,s(429),e,s(368),(t,e)=>t&&!e),h.on(s(382),()=>{const t=s;e[t(374)][t(365)](t(375))[t(385)](),r[t(397)]=!1,e[t(391)][t(413)][t(406)]()}),c[s(383)][s(420)](u),l[s(383)][s(420)](h),a[s(401)]=s(367),a[s(427)][s(432)]([c,l]),o[s(420)](a),r}),e.ui[t(418)][t(420)](t(388),()=>this[t(399)]())}[Ut(399)](){const t=Ut,e=this[t(412)],i=e[t(384)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(393)][t(414)]({icon:_t.IconHistory,label:at(i,t(395))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(414)]({label:at(i,t(402))}),o[t(404)](t(382)).to(n),o.on(t(382),()=>{this[t(419)]()}),r[t(383)][t(420)](o),s[t(427)][t(420)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(414)]({label:at(i,t(386))}),c[t(404)](t(382)).to(n),c.on(t(382),()=>{const i=t;e[i(374)][i(365)](i(375))[i(385)]()}),a[t(383)][t(420)](c),s[t(427)][t(420)](a),n[t(405)][t(383)][t(420)](s),n}[Ut(419)](){const t=Ut,e=this[t(412)],i=e[t(384)],n=e[t(364)][t(365)](t(425)),s=e[t(364)][t(365)](t(378));function r(s){const r=t;e[r(374)][r(365)](r(370))&&""===s[r(372)]?s[r(424)][r(411)]=at(i,r(400)):(e[r(364)][r(365)](vt)[r(410)]({name:s[r(372)]}),n[r(417)]())}this[t(392)]||(this[t(433)](),this[t(392)].on(t(379),()=>r(this[t(392)]))),this[t(392)][t(381)](),n[t(422)]({id:t(398),title:at(i,t(402)),isModal:!0,content:this[t(392)],actionButtons:[{label:at(e[t(384)],t(390)),withText:!0,onExecute:()=>n[t(417)]()},{label:at(e[t(384)],t(408)),class:t(377),withText:!0,onCreate(i){const n=t;i[n(396)](n(373)).to(s,n(429),s,n(373),e,n(368),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(392)])}]})}[Ut(433)](){const t=Ut,e=this[t(412)],i=e[t(384)];this[t(392)]=new Wt(i,e[t(374)][t(365)](t(370))),this[t(392)][t(415)]()}}const $t=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=401]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(647737===parseInt(e(402))/1+-parseInt(e(429))/2*(-parseInt(e(408))/3)+parseInt(e(428))/4*(-parseInt(e(404))/5)+-parseInt(e(409))/6+-parseInt(e(401))/7*(-parseInt(e(412))/8)+parseInt(e(420))/9+parseInt(e(424))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt extends It.View{[$t(416)];[$t(422)];constructor(t,e){const i=$t;super(t),this[i(422)]=e,this[i(416)]=e.id;const n=this[i(413)],s=at(t,e[i(426)][i(411)]?i(403):i(419)==e[i(414)]?i(431):i(407));this[i(432)](i(414),e[i(414)]),this[i(405)]({tag:i(430),attributes:{class:[i(425),i(421),n.to(i(414),t=>i(427)+t)],tabindex:-1},children:[{tag:i(418),children:[{tag:i(418),attributes:{class:[i(410)]},children:[{text:s}]},{text:" "+e[i(406)][i(417)]}]}]})}[$t(423)](){const t=$t;this[t(415)][t(423)]()}}function Jt(){const t=["65xEKuBJ","setTemplate","author","Removed by","123684mvUBAL","6116646wHlGYq","ck-revision-change__label","isSuggestion","9273272HeyAAR","bindTemplate","type","element","changeId","name","span","add","5913198KcZvNL","ck-revision-change","_model","focus","5712400tzelKV","ck-annotation","data","ck-revision-change__","348148HvgIer","4iUJfFl","div","Added by","set","7teljxI","328782dbeFcf","Suggested by"];return(Jt=function(){return t})()}var Gt=Xt;function Xt(t,e){var i=Kt();return(Xt=function(t,e){return i[t-=265]})(t,e)}function Kt(){var t=["7385TuJAMW","10JxWoix","toJSON","rootName","2645709BtsJMD","author","type","8DchWno","8OcYBeL","set","26736CgPTMb","3241091tprBLL","405PooqtW","1229307ZWBkiP","5150007uUEoXP","data","272222WISjbn","createdAt"];return(Kt=function(){return t})()}!function(t){for(var e=Xt,i=t();;)try{if(456019===-parseInt(e(279))/1+parseInt(e(277))/2+parseInt(e(274))/3*(parseInt(e(269))/4)+parseInt(e(273))/5*(-parseInt(e(271))/6)+-parseInt(e(272))/7*(parseInt(e(268))/8)+parseInt(e(275))/9+parseInt(e(280))/10*(-parseInt(e(265))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(266)];[Gt(267)];[Gt(276)];[Gt(282)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(266)]=e[i(266)],this[i(267)]=e[i(267)],this[i(276)]=e[i(276)]||{},this[i(282)]=e[i(282)],this[i(270)](i(278),e[i(278)])}[Gt(281)](){var t=Gt;return{id:this.id,authorId:this[t(266)].id,type:this[t(267)],data:this[t(276)],createdAt:this[t(278)]}}}function te(){const t=["_setChanges","3ZARQaj","5458640ruvaqX","2937045rRVchY","134981NkYoIn","3064BykYbE","4847496EOFLCt","oldRevisionId","33lXKNAi","newRevisionId","9fRZRwT","371WOzUjJ","changes","add","2972756EXpRXa","234zBSEVG","2392120ULRuNF"];return(te=function(){return t})()}const ee=ie;function ie(t,e){const i=te();return(ie=function(t,e){return i[t-=338]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(394880===-parseInt(e(344))/1*(parseInt(e(338))/2)+-parseInt(e(351))/3*(parseInt(e(347))/4)+parseInt(e(353))/5+-parseInt(e(348))/6*(-parseInt(e(354))/7)+-parseInt(e(349))/8*(parseInt(e(343))/9)+-parseInt(e(352))/10+-parseInt(e(341))/11*(-parseInt(e(339))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class ne{[ee(342)];[ee(340)];[ee(345)];constructor(e,i){const n=ee;this[n(342)]=e,this[n(340)]=i,this[n(345)]=new t.Collection}[ee(350)](t){const e=ee;for(const i of t)this[e(345)][e(346)](i)}}var se=i(536),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=Tt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["enableReadOnlyMode","change:activeView","modelRange","createRevision","vid_end","getIndex","span","nextPosition","restoreRevision","detachRoot","POSITIVE_INFINITY","restoreRevisionCallback","_removeMissingPairs","filter","endIndex","insert","unbindElementFromMarkerName","next","_getDiff","5507901qcnkRm","previousPosition","removeMarker:revision","splice","_processTape","all","pairId","createRangeIn","addRevision","isEnabled","isBlock","attachChange","addRoot","addMarker:revision","catch","ck-suggestion-marker-merge","conversion","side","code","changes","isInline","delete","isObject","9066497AbdCoO","domEvent","locale","isAfter","repository","revisionHistory","ck-revision-history-root-add","_activeViewTarget","downcastDispatcher","markersStart","getCustomProperty","_setConversion","attributesAfter","indexOf","concat","setAttribute","_data","revisionHistoryAttachChange","length","remove","mapper","writer","markerName","isPremiumPlugin","_getRevisionsRange","error","_markMarkers","currentChangeNumber","offsetSize","schema","set","hasAttribute","removeAttribute","execute","isRemoved","consume","slice","_markInsertions","getWalker","view","_utils","name","_makeModelFromTape","data","change","markerToHighlight","_findChangeIdFromDomTarget","elementStart","getRevision","from","showPreviousChange","addMarker:revision-suggestion:insertion","_markSuggestions","elementToAttribute","mapViewToDom","addHighlight","elementEnd","_update","vid","range","upcast","add","unshift","attribute:vid","showNextChange","config","end","addClass","then","476073MwBOkg","markerRange","ck-editor__editable__overlay","stop","_threeWayMerge","isOfficialPlugin","attributesBefore","WidgetToolbarRepository","ck-suggestion-marker-split","RevisionViewer","_getChangeFromId","rootName","ck-suggestion-marker--active","bind","affectsData","data-change-id","clear","consumable","removeMarker:revision-suggestion","done","object","dataDowncast","2824584vvxqdA","changeId","attributes","maxOffset","change:numberOfChanges","getChild","getRevisionRootsAttributes","markerToData","isContent","getLaterVisibleRevision","_joinTapes","insertion","change:isEnabled","_changeView","ck-revision-history-root-","change:activeChange","values","uiElement","isAdded","start","RevisionsRepository","destroy","_sortAndFilterDiffChanges","commands","-new","abs","_refreshStartEndIndex","level","bindElementToMarker","suggestion:","isLimit","ck-suggestion-preview-marker","revision-comment:","text","top","activeView","deletions","isReady","right","find","isCollapsed","removeClass","removeMarker","updatePosition","getRoot","change:isReady","highest","includes","4EQJDwD","diff","dataToMarker","_appendChild","152uRHDIy","markers","distance","observeMarkers","sort","_removeUnsupportedChanges","newRevisionId","left","getRootNames","findIndex","revision-suggestion","markerNameToElements","compare","getClientRects","isAtStart","isAtEnd","RevisionHistoryUtils","getRevisionDocumentData","revisionHistoryLabel","getAttribute","revision","deletion","_changeIdToChange","viewItem","pluginName","nextSibling","keys","forEach","_markMismatchedRemovedTags","ck-suggestion-preview-marker-","_initInteractions","_fixObsoleteTags","vid_start","resolve","_getViewForChange","softBreak","requires","authors","activeChange","plugins","createPositionFromPath","document","wrap","_revisions","_step","for","createRange","element","userId","bottom","roots","_setDistance","comment","8oPqRed","toViewElement","loadRevisionData","isBefore","numberOfChanges","createUIElement","type","getDomRoot","addMarker:revision-suggestion:deletion","backward","isAttached","parent","_cleanUp","startIndex","ck-suggestion-marker-","hasClass","selection","enqueueChange","test","item","checkAttribute","_makeModelFromViewString","init","addRevisionData","forward","revision-suggestion:","element:pre","diffData","insertions","refresh","low","isNavigationMode","flat","shift","high","startsWith","isOnRoot","index","14810nlNJWT","suggestion","showStack","isSuggestion","revision:","target","12XDQUrr","get","model","editor","toViewPosition","has","isAddSuggestion","reconvertMarker","map","_makeTape","_cleanMarkers","ck-revision-history-root--active","550007rMXZhU","50mxnQoU","nodeAfter","adapter","_balloon","isEqual","createPositionBefore","createAttributeElement","getAttributes","ck-suggestion-marker","mousedown","listenTo","toViewRange","string","oldRevisionId","first","forceDisabled","pop","2110062wPxpBw","isRemoveSuggestion","getItems","editingDowncast","split","isIncorrect","mouseover","domConverter","push","ck-revision-history-root-remove","editing","markersEnd","return","revision-viewer","_setChanges","merge"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=190]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(814991===parseInt(e(360))/1*(parseInt(e(247))/2)+parseInt(e(378))/3+-parseInt(e(251))/4*(parseInt(e(342))/5)+parseInt(e(199))/6+parseInt(e(413))/7*(-parseInt(e(304))/8)+-parseInt(e(505))/9*(-parseInt(e(361))/10)+parseInt(e(436))/11*(-parseInt(e(348))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(440)];[oe(363)]=null;[oe(476)];[oe(443)];[oe(212)];[oe(273)];[oe(364)];static get[oe(275)](){return oe(514)}static get[oe(510)](){return!0}static get[oe(459)](){return!0}static get[oe(287)](){return[X.Users,It.ContextualBalloon,et,ot]}constructor(t){const e=oe;super(t),this[e(440)]=this[e(351)][e(290)][e(349)](e(219)),this[e(476)]=this[e(351)][e(290)][e(349)](e(267)),this[e(466)](e(289),null),this[e(466)](e(234),null),this[e(443)]=null,this[e(466)](e(248),null),this[e(466)](e(236),!1),this[e(466)](e(422),!0),this.on(e(211),(t,i,n)=>{const s=e;this[s(289)]=null,this[s(234)]=null,this[s(351)][s(388)][s(475)][s(480)](t=>{const e=s;for(const i of this[e(351)][e(388)][e(475)][e(292)][e(301)])n?t[e(240)](e(507),i):t[e(503)](e(507),i)})}),this[e(190)](e(335)).to(this,e(289),t=>null!==t),this[e(190)](e(463)).to(this,e(236),this,e(248),this,e(289),(t,i,n)=>t&&n?i[e(432)][e(399)](n):0),this[e(190)](e(308)).to(this,e(236),this,e(248),(t,i)=>t?i[e(432)][e(454)]:0),this[e(212)]=null,this[e(273)]=new Map,this[e(364)]=this[e(351)][e(290)][e(349)](It.ContextualBalloon)}[oe(326)](){const t=oe,e=this[t(351)],i=new de(e,{direction:t(313)}),n=new de(e,{direction:t(328)});e[t(222)][t(497)](t(486),i),e[t(222)][t(497)](t(500),n),e[t(222)][t(497)](t(402),new he(e)),this.on(t(203),()=>{const e=t;i[e(333)](),n[e(333)]()}),this[t(447)](),this[t(281)](),e[t(394)](t(391)),e[t(290)][t(353)](t(512))&&e[t(290)][t(349)](t(512))[t(376)](t(391))}async[oe(268)](t){const e=oe;return await this[e(476)][e(306)](t,this[e(363)]),this[e(476)][e(268)](t)}async[oe(205)](t){const e=oe;return await this[e(476)][e(306)](t,this[e(363)]),this[e(476)][e(205)](t)}async[oe(263)](t,e,i=!1){const n=oe;if(!this[n(422)])return;const s=this[n(248)],r=this[n(440)],o=n(373)==typeof t?r[n(484)](t):t,a=n(373)==typeof e?r[n(484)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(248)]&&this[n(248)][n(257)]===c&&this[n(248)][n(374)]===u)return Promise[n(284)]();this[n(236)]=!1,this[n(234)]=null,this[n(289)]=null,this[n(248)]=new ne(c,u);const l=this[n(460)](o,a,!0)[n(356)](t=>this[n(476)][n(306)](t,this[n(363)]));return l[n(386)](new Promise(t=>{setTimeout(t,20)})),Promise[n(418)](l)[n(504)](()=>{const t=n;if(!this[t(422)])return;this[t(316)]();const e=this[t(412)](c,u);for(const i of e[t(432)])this[t(273)][t(466)](i.id,i);this[t(351)][t(350)][t(321)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(351)][n(350)][n(292)][n(259)]())i[n(403)](t);for(const t of Object[n(277)](e[n(350)])){const s=i[n(425)](t);for(const r of Object[n(277)](e[n(201)][t]))i[n(451)](r,e[n(201)][t][r],s);i[n(409)](e[n(350)][t],s,0)}}),this[t(248)][t(392)](this[t(221)](e[t(432)])),this[t(236)]=!0})[n(427)](t=>{const e=n;console[e(461)](t),this[e(316)](),s&&(this[e(248)]=s),this[e(236)]=!0})}[oe(327)](t,e){const i=oe,n=this[i(440)][i(397)](t);return n.on(i(493),(t,i,s)=>e(i,s,n)),this[i(440)][i(421)](n),n}[oe(316)](){const t=oe;this[t(289)]=null,this[t(358)](),this[t(212)]&&this[t(212)][t(220)](),this[t(212)]=null,this[t(273)][t(193)](),this[t(351)][t(350)][t(321)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(351)][i(350)][i(292)][i(259)]())e[i(403)](t)})}[oe(221)](t){const e=oe,i=[],n=new Map;for(const t of this[e(351)][e(350)][e(292)][e(259)]()){const s=this[e(351)][e(388)][e(475)][e(311)](t);if(!s)continue;const r=s[e(264)]()[e(323)](0);r&&(i[e(386)](t),n[e(466)](t,r))}return i[e(255)]((t,i)=>{const s=e,r=n[s(349)](t),o=n[s(349)](i);return r.y-o.y||r.x-o.x}),(t=t[e(407)](t=>i[e(246)](t[e(516)])))[e(255)]((t,n)=>i[e(449)](t[e(516)])-i[e(449)](n[e(516)])),t}[oe(357)](t){const e=oe,i=Array[e(485)](t[e(252)])[e(407)](([t,i])=>t[e(339)](e(346))&&!i[e(239)]),n=Array[e(485)](this[e(351)][e(350)][e(420)](t)[e(474)]({singleCharacters:!0}));if(0!=i[e(454)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(382)](":");if(s[e(502)][e(365)](t[e(401)])&&i[e(337)](),(t[e(414)][e(365)](s[e(218)])||t[e(414)][e(439)](s[e(218)]))&&(e(210)==r?t[e(217)]={userId:o}:e(272)==r&&(t[e(470)]={userId:o})),0==i[e(454)])break}return n}[oe(225)](t){const e=oe,i=new Map;for(let n=0;n<t[e(454)];n++)e(232)===t[n][e(310)]?(t[n][e(323)][e(317)]=n,t[n][e(323)][e(408)]=n):(e(483)===t[n][e(310)]?t[n][e(323)][e(317)]=n:e(492)===t[n][e(310)]&&(t[n][e(323)][e(408)]=n),i[e(466)](t[n].id,n));for(const n of i[e(215)]())e(483)===t[n][e(310)]?t[n][e(323)][e(408)]=i[e(349)](t[n][e(419)]):e(492)===t[n][e(310)]&&(t[n][e(323)][e(317)]=i[e(349)](t[n][e(419)]))}[oe(417)](t){const e=oe;for(let i=0;i<t[e(454)];i++){if(e(483)===t[i][e(310)])t[i][e(323)][e(317)]=i;else if(e(492)===t[i][e(310)]){t[i][e(323)][e(408)]=i;const n=t[i][e(323)][e(317)];t[n][e(419)]=t[i].id,t[i][e(419)]=t[n].id}else t[i][e(323)][e(317)]=i,t[i][e(323)][e(408)]=i,t[i][e(419)]=null;t[i][e(445)]||(t[i][e(445)]=[],t[i][e(389)]=[])}}[oe(473)](t,e){const i=oe,n=t[i(407)](t=>!t[i(217)]);for(let t=0;t<e[i(454)];t++)e[t][i(217)]&&(n[t][i(217)]=e[t][i(217)])}[oe(412)](t,e=null){const i=oe,n=this[i(440)][i(484)](t),s=e?this[i(440)][i(484)](e):null,r=this[i(460)](n,s),o=r[r[i(454)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(454)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(277)](e[i(331)]))if(e[i(331)][t][i(424)]){const n=e[i(331)][t][i(424)];n[i(314)]?(u[i(497)](t),l[i(353)](t)&&l[i(349)](t)[i(299)]==n[i(299)]?l[i(434)](t):l[i(466)](t,n)):l[i(353)](t)?(u[i(434)](t),l[i(434)](t)):(u[i(497)](t),l[i(466)](t,n))}else u[i(497)](t)}for(const t of u){const e=l[i(353)](t)&&!l[i(349)](t)[i(314)];let n=e?r[i(454)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(331)][t]){const n=e?o[i(331)][t][i(511)]:o[i(331)][t][i(448)];c[i(201)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(350)]={};for(const e of t[i(288)])a[i(466)](e.id,e);for(const e of u){const n=t[i(331)][e]?t[i(331)][e][i(332)]:"[]",s=t[i(331)][e]?t[i(331)][e][i(235)]:"[]";t[i(350)][e]={insertions:this[i(476)][i(325)](n),deletions:this[i(476)][i(325)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(485)](n[i(350)][t][i(332)][i(252)])[i(407)](([t])=>!t[i(339)](i(346))));let h=0;for(const o of r){const r=this[i(357)](o[i(350)][t][i(332)]);o==n?(e=r,s=e[i(454)],e[i(278)](t=>{t.id=h++}),this[i(417)](e)):this[i(473)](e,r);const a=e[i(407)](t=>!t[i(217)])[i(356)](t=>t.id);let c=0;const l=this[i(357)](o[i(350)][t][i(235)]);l[i(278)](t=>{t[i(470)]?t.id=s++:t.id=a[c++]}),this[i(417)](l),this[i(302)](e,i(217)),this[i(302)](l,i(470)),o==n&&this[i(462)](e,u),e=this[i(209)](e,l),this[i(225)](e),this[i(302)](e,i(470))}e=e[i(407)](t=>!(t[i(217)]&&t[i(470)]));const d=new Map(o[i(350)][t][i(235)][i(252)]),f=new Set(u[i(277)]());for(const t of d[i(277)]())f[i(434)](t);this[i(488)](e,f),this[i(282)](e),e=this[i(406)](e),e=this[i(279)](e),e=this[i(256)](e);const{root:m,changes:p}=this[i(478)](e,a,t);c[i(350)][t]=m;const v=l[i(349)](t);if(v){const e=a[i(349)](v[i(299)]),n=new Qt({author:e,type:v[i(314)]?i(497):i(455),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(498)](n),c[i(201)][t][i(453)]=n.id}c[i(432)]=c[i(432)][i(450)](p)}return c}[oe(462)](t,e){const i=oe;for(let n=0;n<t[i(454)];n++)for(const[s,r]of e)!r[i(239)]&&r[i(218)][i(365)](t[n][i(414)])&&t[n][i(445)][i(386)](s),r[i(502)][i(365)](t[n][i(401)])&&t[n][i(389)][i(386)](s)}[oe(209)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(454)]||r<e[i(454)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(386)](o);else if(a[i(470)]&&o[i(217)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(509)](t,s,e,r);n=n[i(450)](o),s=a,r=c}else a[i(470)]?(r++,n[i(386)](a)):(s++,n[i(386)](o))}return n}[oe(488)](t,e){const i=oe,n=[];for(let o=0;o<t[i(454)];o++){for(let r=0;r<t[o][i(445)][i(454)];r++){const a=t[o][i(445)][r];if(!e[i(353)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(261)!=c||i(210)!=u&&i(272)!=u||(n[i(498)]({type:u,name:a,userId:l}),t[o][i(445)][i(416)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(389)][i(454)];r++){const a=t[o][i(389)][r];if(!e[i(353)](a))continue;const{group:c,type:u}=s(a);if(i(261)!=c||i(210)!=u&&i(272)!=u)continue;t[o][i(389)][i(416)](r,1),r--;const l=n[i(260)](t=>t[i(477)]==a);l>-1&&n[i(416)](l,1)}}function s(t){const e=i,n=t[e(382)](":");return{group:n[0],type:n[1],subType:n[e(454)]>=5?n[2]:null,id:n[e(454)]<5?n[2]:n[3],authorId:n[e(454)]<5?n[3]:n[4],markerCount:6==n[e(454)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(454)];i++){if(t[e(217)]&&e(210)==n[i][e(310)]&&t[e(217)][e(299)]==n[i][e(299)])return t[e(354)]=n[i],void delete t[e(217)];if(!t[e(217)]&&!t[e(470)]&&e(272)==n[i][e(310)])return void(t[e(379)]=n[i])}}}[oe(302)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(466)](o.id,n);for(let n=0;n<t[i(454)];n++){if(i(470)==e&&t[n][i(217)]||i(217)==e&&t[n][i(470)])continue;if(i(232)==t[n][i(310)]){t[n][i(253)]=0;continue}const s=r[i(349)](t[n][i(419)]),o=r[i(349)](t[n].id);t[n][i(253)]=s-o}}[oe(460)](t,e,i=!1){const n=oe,s=[];let r=this[n(440)][n(399)](t),o=this[n(440)][n(399)](e);for(-1==o&&(o=this[n(440)][n(294)][n(454)],i=!1);r<o;)s[n(386)](this[n(440)][n(484)](r)),r++;return i&&s[n(386)](this[n(440)][n(484)](r)),s}[oe(509)](t,e,i,n){const s=oe,r=this[s(351)][s(350)][s(465)];let o=e;for(;t[o]&&t[o][s(217)];)o++;let a=n;for(;i[a]&&i[a][s(470)];)a++;u(t,e,o),u(i,n,a);const c=i[s(472)](n,a)[s(450)](t[s(472)](e,o));return c[s(255)]((t,e)=>t[s(430)]!=e[s(430)]?t[s(430)]-e[s(430)]:t[s(226)]!=e[s(226)]?t[s(226)]-e[s(226)]:t[s(253)]!=e[s(253)]?e[s(253)]-t[s(253)]:!!t[s(217)]!=!!e[s(217)]?-1==t[s(430)]||0==t[s(430)]?t[s(217)]?-1:1:t[s(217)]?1:-1:t[s(341)]-e[s(341)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(404)],c=!0;for(let s=e;s<i;s++)if(r[n(433)](t[s][n(323)])||(c=!1),t[s][n(323)][n(317)]<e&&(o=s),t[s][n(323)][n(408)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(430)]=s<=o?-1:s<a?0:1,t[s][n(341)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(253)]?t[i][n(226)]=u:(u++,t[i][n(226)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(430)]&&(t[s][n(226)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(253)]?t[e][n(226)]=u:(u--,t[e][n(226)]=u,u--)}}[oe(282)](t){const e=oe,i=new Map,n=this[e(351)][e(350)][e(465)];for(let s=1;s<t[e(454)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(232)==c[e(310)])continue;if(c[e(310)]!=u[e(310)])continue;if(!n[e(423)](u[e(323)])||n[e(229)](u[e(323)]))continue;if(!n[e(423)](c[e(323)])||n[e(229)](c[e(323)]))continue;if((t[s][e(217)]||t[s][e(354)])&&t[s-1][e(470)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(470)]||!t[s-1][e(217)]&&!t[s-1][e(354)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(226)]==o[e(226)],h=Math[e(224)](r[e(226)])<Math[e(224)](o[e(226)])&&0==o[e(253)];(l||h)&&(i[e(466)](o.id,r.id),t[e(416)](a,1),s--,r[e(217)]=!1)}for(let n=0;n<t[e(454)];n++)i[e(353)](t[n][e(419)])&&(t[n][e(419)]=i[e(349)](t[n][e(419)]))}[oe(406)](t){const e=oe,i=new Set(t[e(356)](t=>t.id));for(let n=0;n<t[e(454)];n++)i[e(353)](t[n][e(419)])||0==t[n][e(253)]||(t[n][e(383)]=!0);return t[e(407)](t=>!t[e(383)])}[oe(279)](t){const e=oe,i=new Set;for(let n=0;n<t[e(454)];n++){if(i[e(353)](t[n].id)&&t[n][e(470)]&&(t[n][e(383)]=!0),t[n][e(383)])continue;if(0==t[n][e(253)])continue;if(e(483)!=t[n][e(310)])continue;if(null==t[n][e(419)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(419)];)e(483)==t[s][e(310)]?r++:e(492)==t[s][e(310)]&&r--,s++;if(0!=r)if(t[n][e(470)])t[n][e(383)]=!0;else for(;s!=n;)t[s][e(470)]&&0!=t[s][e(253)]&&(t[s][e(383)]=!0,i[e(497)](t[s][e(419)])),s--}return t[e(407)](t=>!t[e(383)])}[oe(256)](t){const e=oe,i=this[e(351)][e(350)][e(465)];for(let n=0;n<t[e(454)];n++){if(!(t[n][e(217)]||t[n][e(354)]||t[n][e(470)]||t[n][e(379)]))continue;if(0==t[n][e(253)])continue;const s=t[n][e(323)];i[e(423)](s)||i[e(229)](s)||(t[n][e(217)]&&delete t[n][e(217)],t[n][e(354)]&&delete t[n][e(354)],t[n][e(379)]&&delete t[n][e(379)],t[n][e(470)]&&(t[n][e(383)]=!0))}return t[e(407)](t=>!t[e(383)])}[oe(478)](t,e,i){const n=oe,s=new K.ModelDocumentFragment,r=[],o=new Map,a=this[n(351)][n(350)],c=a[n(465)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(454)];e++)if(n(483)===t[e][n(310)]){t[e][n(414)]=a[n(291)](s,f);const i=new K.ModelElement(t[e][n(323)][n(477)],t[e][n(323)][n(368)]());u[0][n(250)](i),f[n(386)](0),u[n(498)](i),t[e][n(401)]=a[n(291)](s,f)}else n(492)===t[e][n(310)]?(u[n(337)](),t[e][n(414)]=a[n(291)](s,f),f[n(377)](),f[f[n(454)]-1]++,t[e][n(401)]=a[n(291)](s,f)):(t[e][n(414)]=a[n(291)](s,f),d?d[n(452)]+=t[e][n(323)][n(479)]:d=new K.ModelText(t[e][n(323)][n(479)],t[e][n(323)][n(368)]()),t[e+1]&&n(232)===t[e+1][n(310)]&&v(d,t[e+1][n(323)])||(u[0][n(250)](d),d=null),f[f[n(454)]-1]+=t[e][n(323)][n(464)],t[e][n(401)]=a[n(291)](s,f));for(let e=0;e<t[n(454)];e++){const i=t[e][n(414)],s=t[e][n(401)];for(const s of t[e][n(445)])o[n(466)](s,{start:i,end:null});m(n(379),e,i,s),m(n(354),e,i,s),m(n(470),e,i,s),m(n(217),e,i,s);for(const i of t[e][n(389)]){const t=o[n(349)](i);t?t[n(502)]=s:o[n(466)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(351)][n(350)][n(297)](e[n(218)],e[n(502)]);s[n(252)][n(466)](t,i)}return r[n(255)]((t,e)=>{const i=n,r=s[i(252)][i(349)](i(346)+t.id),o=s[i(252)][i(349)](i(346)+e.id);return r[i(218)][i(307)](o[i(218)])?-1:r[i(218)][i(439)](o[i(218)])?1:r[i(502)][i(307)](o[i(502)])?-1:r[i(502)][i(439)](o[i(502)])?1:i(497)===t[i(310)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(299)]:null,d=i===t[o(454)]-1,f=h[e][0],m=c[o(435)](t[i][o(323)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(502)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(299)]!==u&&(l[e][o(502)]=s,f&&f[o(299)]===l[e][o(299)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(483)!==t[i][o(310)]||f&&f[o(299)]===u||h[e][o(498)]({userId:u,object:t[i][o(323)],change:l[e]}),o(492)===t[i][o(310)]&&f&&f[o(197)]===t[i][o(323)]&&(h[e][o(337)](),l[e]=f[o(480)])),l[e]&&d&&(l[e][o(502)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(323)],f=a[h(465)][h(423)](d)&&!a[h(465)][h(229)](d),m=t[h(362)]==o[h(315)]&&o[h(265)];if(f&&m)return;const p=a[h(297)](t,o),v=e[h(349)](u),g=new Qt({author:v,type:h(217)==l||h(354)==l?h(497):h(455),data:{isSuggestion:h(354)==l||h(379)==l},createdAt:new Date,rootName:i});r[h(386)](g),s[h(252)][h(466)](h(346)+g.id,p)}function v(t,e){const i=n,s=t[i(368)](),r=e[i(368)]();for(const t of s){if(t[1]!==e[i(270)](t[0]))return!1;r[i(411)]()}return r[i(411)]()[i(196)]}}[oe(447)](){const t=oe;this[t(351)][t(429)][t(296)](t(496))[t(249)]({view:t(271)}),this[t(351)][t(429)][t(296)](t(381))[t(481)]({model:t(271),view:e=>{const i=t,n=e[i(458)][i(382)](":")[1],s=this[i(515)](n);if(!s)return null;const r=i(497)==s[i(310)]?i(210):i(272),o=[i(369),i(318)+r];return s[i(479)][i(345)]&&o[i(386)](i(318)+r+i(223)),this[i(289)]==s&&o[i(386)](i(517)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(351)][t(429)][t(296)](t(496))[t(497)](e=>{const i=t;e.on(i(330),(t,e,n)=>{const s=i,r=e[s(274)][s(204)](0);if(!r||!r.is(s(298),s(431)))return;if(!n[s(194)][s(471)](r,{attributes:[s(283),s(398)]}))return;const o=e[s(396)][s(218)][s(362)];n[s(457)][s(451)](s(283),r[s(270)](s(283)),o),n[s(457)][s(451)](s(398),r[s(270)](s(398)),o)},{priority:i(334)})}),this[t(351)][t(429)][t(296)](t(496))[t(497)](e=>{const i=t;e.on(i(298),(t,e,n)=>{const s=i;if(!n[s(194)][s(471)](e[s(274)],{attributes:[s(283),s(398)]}))return;if(e[s(396)][s(239)])return;const r=e[s(396)][s(218)][s(362)];r[s(467)](s(283))||r[s(467)](s(494))||(n[s(457)][s(451)](s(283),e[s(274)][s(270)](s(283)),r),n[s(457)][s(451)](s(398),e[s(274)][s(270)](s(398)),r))},{priority:i(334)})}),this[t(351)][t(429)][t(296)](t(496))[t(489)]({view:{name:t(400),attributes:{vid:!0}},model:{key:t(494),value:e=>e[t(270)](t(494))}}),this[t(351)][t(350)][t(465)].on(t(324),(e,[,i])=>{const n=t;[n(283),n(398),n(494)][n(246)](i)&&(e[n(390)]=!0,e[n(508)]())},{priority:t(245)}),this[t(351)][t(429)][t(296)](t(198))[t(497)](e=>{const i=t;e.on(i(499),(t,e,n)=>{const s=i;if(" "!=e[s(323)][s(479)]||e[s(323)][s(315)][s(202)]>1)return;if(!n[s(194)][s(471)](e[s(323)],t[s(477)]))return;const r=n[s(457)],o=n[s(456)][s(372)](e[s(495)]);r[s(293)](o,r[s(367)](s(400)))})}),this[t(351)][t(429)][t(296)](t(198))[t(206)]({model:t(271)}),this[t(351)][t(388)][t(444)].on(t(426),function(e){const i=t,n=e[i(290)][i(349)](i(514));return(t,s,r)=>{const o=i,a=s[o(458)][o(382)](":")[1],c=n[o(515)](a);if(!c)return null;const u=o(497)==c[o(310)]?o(382):o(393);if(!r[o(194)][o(322)](s[o(506)],t[o(477)]))return;const l=s[o(506)][o(474)](),h=s[o(506)][o(218)],d=e[o(350)][o(465)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(323)];p=p||d[o(207)](e);const i=r[o(456)][o(305)](e);if(i&&i[o(446)](o(491)))return;o(492)==t[o(310)]&&d[o(423)](e)&&!d[o(229)](e)&&(e[o(276)]||h[o(266)]?f&&f[o(315)]==e||(f=e,g(t[o(414)]),v=!0):m=m||t[o(414)])}function g(t){const e=o,i=r[e(457)][e(309)](e(400),{class:e(318)+u}),a=r[e(456)][e(352)](t);c[e(479)][e(345)]&&r[e(457)][e(503)](e(318)+u+e(223),i),n[e(289)]==c&&r[e(457)][e(503)](e(517),i),r[e(457)][e(409)](a,i),r[e(456)][e(227)](i,s[e(458)])}p||v||!m||g(m)}}(this[t(351)]),{priority:t(338)}),this[t(351)][t(388)][t(444)].on(t(415),(e,i,n)=>{const s=t,r=n[s(456)][s(262)](i[s(458)]);if(r)for(const t of r)(t[s(319)](s(513))||t[s(319)](s(428)))&&(n[s(456)][s(410)](t,i[s(458)]),n[s(457)][s(455)](t))},{priority:t(338)}),this[t(351)][t(388)][t(444)].on(t(426),(e,i,n)=>{const s=t,r=i[s(458)][s(382)](":")[1],o=this[s(515)](r);if(!o)return null;const a=s(497)==o[s(310)]?s(382):s(393);if(n[s(194)][s(322)](i[s(506)],e[s(477)]))for(const t of i[s(506)][s(380)]()){if(!t.is(s(298),s(286)))continue;const e=n[s(457)][s(309)](s(400),{class:s(318)+a}),r=n[s(456)][s(352)](this[s(351)][s(350)][s(366)](t));o[s(479)][s(345)]&&n[s(457)][s(503)](s(318)+a+s(223),e),this[s(289)]==o&&n[s(457)][s(503)](s(517),e),n[s(457)][s(409)](r,e),n[s(456)][s(227)](e,i[s(458)])}},{priority:t(338)}),this[t(351)][t(350)][t(292)].on(t(480),()=>{const e=t;this[e(351)][e(388)][e(475)][e(480)](t=>{const i=e;for(const e of this[i(351)][i(350)][i(292)][i(259)]()){const n=this[i(351)][i(350)][i(292)][i(243)](e),s=this[i(351)][i(388)][i(475)][i(292)][i(243)](e);if(s){const e=n[i(270)](i(453));if(t[i(468)](i(192),s),t[i(240)](i(442),s),t[i(240)](i(387),s),t[i(240)](i(359),s),e){const n=this[i(515)](e);if(!n)return null;t[i(451)](i(192),e,s),t[i(503)](i(213)+n[i(310)],s),this[i(289)]==n&&t[i(503)](i(359),s)}}}})}),this[t(351)][t(429)][t(296)](t(496))[t(249)]({view:t(303),model:e=>t(231)+e,converterPriority:t(245)}),this[t(351)][t(429)][t(296)](t(496))[t(249)]({view:t(343),model:e=>t(329)+e,converterPriority:t(245)}),this[t(351)][t(429)][t(296)](t(198))[t(206)]({model:t(261),view:e=>({name:t(228)+e,group:t(261)}),converterPriority:t(245)}),this[t(351)][t(429)][t(296)](t(381))[t(481)]({model:t(261),view:e=>{const i=t,n=e[i(458)][i(382)](":")[1];return i(210)!=n&&i(272)!=n?null:{classes:[i(230),i(280)+n]}}}),this[t(351)][t(388)][t(444)].on(t(312),le(this[t(351)],t(393)),{priority:t(338)}),this[t(351)][t(388)][t(444)].on(t(487),le(this[t(351)],t(382)),{priority:t(338)}),this[t(351)][t(388)][t(444)].on(t(195),(e,i,n)=>{const s=t,r=n[s(456)][s(262)](i[s(458)]);if(r)for(const t of r)t.is(s(216))&&(n[s(456)][s(410)](t,i[s(458)]),n[s(457)][s(455)](t))},{priority:t(338)})}[oe(515)](t){const e=oe;return this[e(273)][e(349)](t)}[oe(285)](t){const e=oe;return this[e(212)]&&this[e(212)][e(220)](),this[e(212)]=new Yt(this[e(351)][e(438)],t),this[e(212)]}[oe(281)](){const t=oe;this[t(351)][t(350)][t(292)][t(320)][t(254)](t(271)),this.on(t(395),(e,i,n,s)=>{const r=t;s&&this[r(364)][r(455)](s),n&&(this[r(364)][r(497)]({view:n,stackId:r(269),position:{target:()=>{const t=r,e=this[t(351)][t(388)],i=this[t(515)](n[t(200)]);let s;if(i[t(479)][t(340)]){const n=e[t(475)][t(311)](i[t(516)]);s=Array[t(485)](n[t(264)]())}else{const i=this[t(351)][t(350)][t(252)][t(349)](t(346)+n[t(200)]);s=Array[t(485)](e[t(456)][t(262)](i[t(477)]))[t(356)](i=>e[t(475)][t(385)][t(490)](i))[t(356)](e=>Array[t(485)](e[t(264)]()))[t(336)]()}return this[t(443)]&&s[t(238)](e=>e[t(233)]-3<=this[t(443)].y&&e[t(300)]+3>=this[t(443)].y&&e[t(258)]-3<=this[t(443)].x&&e[t(237)]+3>=this[t(443)].x)||s[0]}}}),this[r(364)][r(344)](r(269)))}),this.on(t(214),(e,i,n,s)=>{const r=t;this[r(234)]=n?this[r(285)](n):null,this[r(351)][r(350)][r(480)](()=>{const t=r,e=this[t(351)][t(388)];s&&(s[t(479)][t(340)]?e[t(475)][t(480)](i=>{const n=t;i[n(240)](n(359),e[n(475)][n(292)][n(243)](s[n(516)]))}):e[t(355)](t(346)+s.id)),n&&(n[t(479)][t(340)]?e[t(475)][t(480)](i=>{const s=t;i[s(503)](s(359),e[s(475)][s(292)][s(243)](n[s(516)]))}):e[t(355)](t(346)+n.id))})}),this[t(371)](this[t(351)][t(388)][t(475)][t(292)],t(384),(e,i)=>{const n=t;if(this[n(289)])return;const s=this[n(482)](i[n(347)]),r=this[n(273)][n(349)](s);r?(this[n(443)]={x:i[n(437)].x,y:i[n(437)].y},this[n(234)]=this[n(285)](r)):(this[n(443)]=null,this[n(234)]=null)}),this[t(371)](this[t(351)][t(388)][t(475)][t(292)],t(370),(e,i)=>{const n=t,s=this[n(482)](i[n(347)]),r=this[n(273)][n(349)](s);r?(this[n(443)]={x:i[n(437)].x,y:i[n(437)].y},r===this[n(289)]?this[n(364)][n(242)]():this[n(289)]=r):(this[n(443)]=null,this[n(289)]=null)})}[oe(482)](t){const e=oe;do{const i=t[e(270)](e(192));if(i)return i;t=t[e(315)]}while(t);return null}[oe(358)](){const t=oe;this[t(351)][t(350)][t(480)](e=>{const i=t;for(const t of this[i(351)][i(350)][i(252)])e[i(241)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(194)][r(322)](n[r(506)],i[r(477)]))return;const o=n[r(506)][r(474)](),a=n[r(506)][r(218)],c=t[r(350)][r(465)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(323)];h=h||c[r(207)](e);const i=s[r(456)][r(305)](e);if(i&&i[r(446)](r(491)))return;r(492)==t[r(310)]&&c[r(423)](e)&&!c[r(229)](e)&&(e[r(276)]||a[r(266)]?u&&u[r(315)]==e||(u=e,f(t[r(414)]),d=!0):l=l||t[r(414)])}function f(t){const i=r,o=s[i(456)][i(352)](t),a=s[i(457)][i(309)](i(400),{class:i(280)+e});s[i(457)][i(409)](o,a),s[i(456)][i(227)](a,n[i(458)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(290)][e(349)](ue);this[e(191)]=!1,this[e(371)](i,e(244),()=>this[e(333)]()),this[e(371)](i,e(211),()=>this[e(333)]())}[oe(469)](){const t=oe,e=this[t(351)],i=e[t(290)][t(349)](ue),n=i[t(236)]?i[t(248)][t(257)]:null;e[t(501)][t(349)](t(441))[t(405)](n)}[oe(333)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(351)][t(290)][t(349)](ue),r=s&&n[t(208)](s[t(257)]);this[t(422)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(295)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(290)][i(349)](ue);this[i(191)]=!1,this[i(295)]=i(328)===e?1:-1,this[i(371)](n,i(244),()=>this[i(333)]()),this[i(371)](n,i(211),()=>this[i(333)]()),this[i(371)](n,i(214),()=>this[i(333)]())}[oe(469)](){const e=oe,i=this[e(351)],n=i[e(290)][e(349)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(289)]=s?n[e(248)][e(432)][e(349)](r+this[e(295)]):n[e(248)][e(432)][e(375)],n[e(289)][e(479)][e(340)])o=i[e(388)][e(475)][e(311)](n[e(289)][e(516)]);else{const t=i[e(350)][e(252)][e(349)](e(346)+n[e(289)].id);o=(0,X.getMarkerDomElement)(i[e(388)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(333)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(351)][t(290)][t(349)](ue);this[t(422)]=!!(r&&s&&n)&&(!e||(1===this[t(295)]?i<n-1:i>0))}}var fe=i(528),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=Tt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["9mbGXJm","fire","execute","ck-revision-history-ui__changes-navigation__navigation","isForwardNavigationEnabled","16166550SZAKau","ck-revision-history-ui","ck-revision-history-ui__changes-navigation__label","EDIT_X_OF_Y_REVISIONS","backward","div","No changes","_statusText","isEnabled","_isStatusLabelVisible","NUMBER_OF_CHANGES","Loading...","Show next change","80689PYXNmD","ck-hidden","2643224MEXzff","Total","numberOfChanges","316106AXDMSa","13826EUQsiG","348kDucwa","forward","261DGxSEz","X_OF_Y_CHANGES","bindTemplate","set","Show previous change","ck-revision-history-ui__changes-navigation__wrapper","1336150KBiJxm","setTemplate","span","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation","bind","currentChangeNumber","7399952NHfvll","isReady","isNavigationMode"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=286]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(485346===parseInt(e(315))/1+-parseInt(e(316))/2*(-parseInt(e(319))/3)+parseInt(e(312))/4+parseInt(e(325))/5+parseInt(e(317))/6*(-parseInt(e(310))/7)+parseInt(e(289))/8+-parseInt(e(292))/9*(parseInt(e(297))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(321)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(322)](e(291),!1),this[e(322)](e(290),!1),this[e(322)](e(288),0),this[e(322)](e(314),0),this[e(322)](e(296),!1),this[e(322)](e(328),!1),this[e(287)](e(306)).to(this,e(290),this,e(314),(t,e)=>t&&e>0),this[e(287)](e(304)).to(this,e(290),this,e(288),this,e(314),this,e(291),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(308));if(!s)return at(t,o(303));const a=at(t,o(307),s);return r?at(t,o(320),[n+1,s]):a}),n[e(322)]({label:at(t,e(323)),tooltip:!0,icon:_t.IconChevronUp}),s[e(322)]({label:at(t,e(309)),tooltip:!0,icon:_t.IconChevronDown}),n[e(287)](e(305)).to(this,e(328)),s[e(287)](e(305)).to(this,e(296)),n.on(e(294),()=>this[e(293)](e(294),e(301))),s.on(e(294),()=>this[e(293)](e(294),e(318))),this[e(326)]({tag:e(302),attributes:{class:["ck",e(298),e(286)]},children:[{tag:e(327),attributes:{class:[e(324)]},children:[{tag:e(327),attributes:{class:[e(299),i.if(e(306),e(311),t=>!t)]},children:[{text:i.to(e(291),i=>i?at(t,e(300))+": ":at(t,e(313))+": ")}]},{text:i.to(e(304))}]},new It.ToolbarSeparatorView,{tag:e(302),attributes:{class:[e(295)]},children:[n,s]}]})}}var ye=i(560),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=Tt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=_e;function we(){const t=["addClass","editor","document","399960BRXkVU","8sqcvjl","change","isPremiumPlugin","ck-editor__editable__loading-overlay","5922711dmNmos","3675ONbhQM","removeClass","258886eoJcXM","5169115mIUdZg","200lfxHEq","8SHHUzj","RevisionViewerLoadingOverlay","2193174HmIljo","editing","view","roots","pluginName","1148OEnDNe","4876730mRCKGp","isOfficialPlugin","show","hide"];return(we=function(){return t})()}function _e(t,e){const i=we();return(_e=function(t,e){return i[t-=282]})(t,e)}!function(t){const e=_e,i=t();for(;;)try{if(623080===-parseInt(e(295))/1*(parseInt(e(288))/2)+-parseInt(e(293))/3*(parseInt(e(305))/4)+parseInt(e(306))/5+parseInt(e(300))/6+parseInt(e(296))/7+-parseInt(e(298))/8*(-parseInt(e(292))/9)+-parseInt(e(297))/10*(parseInt(e(287))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const Ie=be(291);class Se extends G.Plugin{static get[be(304)](){return be(299)}static get[be(307)](){return!0}static get[be(290)](){return!0}[be(282)](){const t=be,e=this[t(285)][t(301)][t(302)];e[t(289)](i=>{const n=t;for(const t of e[n(286)][n(303)])i[n(284)](Ie,t)})}[be(283)](){const t=be,e=this[t(285)][t(301)][t(302)];e[t(289)](i=>{const n=t;for(const t of e[n(286)][n(303)])i[n(294)](Ie,t)})}}const Oe=Te;function xe(){const t=["add","RevisionViewerUI","3gdoZBV","isPremiumPlugin","exitToEditing","isEnabled","bind","listenTo","28817110ecrnFd","showNextChange","isForwardNavigationEnabled","2GvCjeo","forward","get","set","componentFactory","execute","isNavigationMode","isBackwardNavigationEnabled","1562314xAEEWU","closeRevisionViewerCallback","init","restoreRevision","Restore this revision","5080212DZCzmv","show","isReady","pluginName","4266972DqROGs","6327918ygYxxZ","requires","hide","revisionHistory","change:isReady","numberOfChanges","1169bPxrYz","currentChangeNumber","16256wqQJJh","plugins","config","isOfficialPlugin","showPreviousChange","2901830uaaOcS","ck-revision-history-ui__back-to-editing","changesNavigation","editor","commands","Back to editing"];return(xe=function(){return t})()}function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=374]})(t,e)}!function(t){const e=Te,i=t();for(;;)try{if(952065===-parseInt(e(420))/1*(parseInt(e(380))/2)+parseInt(e(411))/3*(-parseInt(e(389))/4)+-parseInt(e(403))/5+parseInt(e(390))/6+-parseInt(e(396))/7*(parseInt(e(398))/8)+parseInt(e(385))/9+parseInt(e(417))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(388)](){return Oe(410)}static get[Oe(401)](){return!0}static get[Oe(412)](){return!0}static get[Oe(391)](){return[ue,Se]}[Oe(382)](){const t=Oe,e=this[t(406)],i=e[t(399)][t(374)](ue),n=e[t(399)][t(374)](Se);e.ui[t(376)][t(409)](t(413),i=>{const n=t,s=new It.ButtonView(i);return s[n(375)]({label:at(i,n(408)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(404)}),this[n(416)](s,n(377),()=>{const t=n;e[t(400)][t(374)](t(393))[t(381)]()}),s}),e.ui[t(376)][t(409)](t(383),i=>{const n=t,s=new It.ButtonView(i);return s[n(375)]({label:at(i,n(384)),withText:!0,tooltip:!0}),s[n(415)](n(414)).to(e[n(407)][n(374)](n(383))),this[n(416)](s,n(377),()=>e[n(377)](n(383))),s}),e.ui[t(376)][t(409)](t(405),n=>{const s=t,r=new ge(n),o=e[s(407)][s(374)](s(402)),a=e[s(407)][s(374)](s(418));return r[s(415)](s(379)).to(o,s(414)),r[s(415)](s(419)).to(a,s(414)),r[s(415)](s(387),s(397),s(395),s(378)).to(i),this[s(416)](r,s(377),(t,i)=>{const n=s;e[n(377)](n(421)===i?n(418):n(402))}),r}),n[t(386)](),i.on(t(394),(e,i,s)=>{const r=t;s?n[r(392)]():n[r(386)]()})}}var Ae=i(329),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ee;function Ee(t,e){const i=De();return(Ee=function(t,e){return i[t-=397]})(t,e)}function De(){const t=["Revision name","span","ck-revision-history-sidebar__revision-name","930612cVDebR","destroy","10AqerET","fieldView","clientWidth","bindTemplate","ck-tooltip_multi-line","set","1270104ABbbZS","Enter the revision name","_tooltipString","2321703zRgrtJ","177546ZjjSYr","scrollWidth","_updateTooltipText","221334VkIsmr","listenTo","135BDsPGc","render","input","59424ZQmWMN","element","placeholder","14LoYtJC","value","extendTemplate","1900362kZnWWX","_resizeObserver"];return(De=function(){return t})()}!function(t){const e=Ee,i=t();for(;;)try{if(482625===parseInt(e(414))/1+parseInt(e(398))/2+-parseInt(e(409))/3+parseInt(e(403))/4*(-parseInt(e(400))/5)+-parseInt(e(426))/6*(-parseInt(e(406))/7)+parseInt(e(422))/8+-parseInt(e(425))/9*(-parseInt(e(416))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ve extends It.LabeledFieldView{[Me(410)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(419)];this[i(421)]({label:at(t,i(411)),_tooltipString:""}),this[i(417)][i(405)]=at(t,i(423)),this[i(408)]({tag:i(412),attributes:{class:[i(413)],"data-cke-tooltip-text":n.to(i(424)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(420)}})}[Me(401)](){const e=Me;super[e(401)](),this[e(410)]=new t.ResizeObserver(this[e(417)][e(404)],()=>this[e(397)]()),this[e(399)](this[e(417)],e(402),()=>this[e(397)]())}[Me(415)](){const t=Me;super[t(415)](),this[t(410)]&&this[t(410)][t(415)]()}[Me(397)](){const t=Me,e=this[t(417)][t(404)];this[t(424)]=e[t(427)]>e[t(418)]&&e[t(407)]||""}}var Ce=i(249),je={attributes:{"data-cke":!0}};je.setAttributes=Mt(),je.insert=At().bind(null,"head"),je.domAPI=Tt(),je.insertStyleElement=Dt();Ot()(Ce.A,je);Ce.A&&Ce.A.locals&&Ce.A.locals;function Fe(){const t=["1068473uqHTjB","24ulQfeL","3HgIzFk","ck-revision-history-sidebar__revision-author__name","5YsqVKc","set","223949qCFWyl","30Kkngnj","676572LfZWPX","span","name","0 0 11 10","Revision creator","setTemplate","ck-revision-history-sidebar__revision-author_creator","65446hzeAjL","push","238265KvewMC","695812pxviCb","16UCCYWV","ck-revision-history-sidebar__revision-author","10UldSRg","Revision author","679149jPGjFD"];return(Fe=function(){return t})()}function Le(t,e){const i=Fe();return(Le=function(t,e){return i[t-=119]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(122439===parseInt(e(122))/1*(-parseInt(e(133))/2)+parseInt(e(120))/3*(parseInt(e(136))/4)+-parseInt(e(135))/5*(-parseInt(e(125))/6)+-parseInt(e(142))/7+-parseInt(e(137))/8*(-parseInt(e(141))/9)+-parseInt(e(139))/10*(parseInt(e(124))/11)+-parseInt(e(119))/12*(parseInt(e(126))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fe);class Pe extends It.View{constructor(t,e,i){const n=Le;super(t);const s=new It.IconView;s[n(123)]({content:_t.IconUser,viewBox:n(129)});const r=["ck",n(138)];i&&r[n(134)](n(132));const o=[{tag:n(127),attributes:{class:["ck",n(121)],title:at(t,n(i?130:140))},children:[s,e[n(128)]]}];this[n(131)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=197]})(t,e)}function We(){var t=["1067LSshfg","toLocaleDateString","1598092blqAEa","1076prNFwh","50LkwIsh","long","toLocaleTimeString","3jnlyFG","20860FxniTl","3308934GckNxR","3235573wDtrZm","1435790LpWHoZ","883773eIeATQ","2056foFROa","numeric"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(419586===-parseInt(e(207))/1*(-parseInt(e(210))/2)+-parseInt(e(199))/3*(parseInt(e(209))/4)+-parseInt(e(203))/5+parseInt(e(201))/6+-parseInt(e(200))/7*(-parseInt(e(205))/8)+-parseInt(e(204))/9*(parseInt(e(211))/10)+-parseInt(e(202))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(11),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=At().bind(null,"head"),He.domAPI=Tt(),He.insertStyleElement=Dt();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=441]})(t,e)}function qe(){const t=["Restore this revision","menu","children","listView","isReady","first","panelPosition","175trYsZs","isOpen","execute","3294945EHsWWg","_action","stopPropagation","action","isVisible","listenTo","ck-on","menuitem","3657546CkvJTU","name","Show more items","17HHIIUF","model","ck-revision-history-sidebar__revision__actions","177458nnAfMj","items","Name this revision","249400ekqTlU","buttonView","203137XkZuyP","bind","402348fGvtaJ","map","set","function","1310kkNGmJ","bindTemplate","isActionsDropdownOpen","add","isEnabled","55bRnjUs","class","locale","extendTemplate","source","find","change:isActionsDropdownOpen","button","Compare against selected","53932xIZTbO"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(858484===-parseInt(e(480))/1*(-parseInt(e(483))/2)+-parseInt(e(490))/3+-parseInt(e(458))/4*(-parseInt(e(449))/5)+parseInt(e(477))/6+-parseInt(e(466))/7*(-parseInt(e(486))/8)+parseInt(e(469))/9+-parseInt(e(444))/10*(parseInt(e(488))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(216),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=Tt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["fire","listenTo","11LCsgff","220","79539WmmjkL","filter","unhighlight","5070hsTXNh","set","_requireRevisionName","2331531ROtXcI","value","span","highlight","ck-revision-history-sidebar__revision-authors","ck-disabled","_createdAtFormatted","isReady","isActionsDropdownOpen","ck-revision-history-sidebar__revision_highlighted","ck-revision-history-sidebar__revision__date","setTemplate","closest","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","render","isConfirm","isEnabled","name","_revision","isSelected","ck-revision-history-sidebar__revision__controls-wrapper","srcElement","change","revisionActionsView","ck-revision-history-sidebar__actions_dropdown_open","3408420NBnHdV","977847IeCJOr","element","611HshwOj","57665ZnBWoi",".ck-thread__remove-confirm","createdAt","18104XCOQjV","setName","isHighlighted","uiLanguage","10zUFwez","div","ck-reset","from","ck-revision-history-sidebar__revision","authors","ck-revision-history-sidebar__revision-wrapper","creator","revisionNameView","map","780lXcgop","bind","select","fieldView","extendTemplate","deselect","80aqxpYf","ck-revision-history-sidebar__revision_selected","bindTemplate","length","unshift","3087ICqDSY"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=481]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(901619===-parseInt(e(527))/1*(-parseInt(e(496))/2)+parseInt(e(493))/3*(-parseInt(e(483))/4)+parseInt(e(528))/5*(parseInt(e(545))/6)+-parseInt(e(488))/7*(parseInt(e(531))/8)+parseInt(e(499))/9*(-parseInt(e(535))/10)+-parseInt(e(491))/11*(parseInt(e(524))/12)+-parseInt(e(525))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Xe extends((0,X.ConfirmMixin)(It.View)){id;[Ye(543)];[Ye(522)];[Ye(517)];[Ye(498)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(485)],a=function(t,e){const i=r,n=Array[i(538)](e[i(540)])[i(494)](t=>t!=e[i(542)]);return e[i(542)]&&n[i(487)](e[i(542)]),n[i(544)](n=>new Pe(t,n,n==e[i(542)]))}(e,i);this.id=i.id,this[r(517)]=i,this[r(498)]=s,this[r(546)](r(516),r(530)).to(i),this[r(546)](r(505)).to(this,r(530),t=>{return i=e[r(534)],(n=t)[(s=ze)(208)](i,{month:s(197),day:s(206)})+", "+n[s(198)](i,{hour:s(206),minute:s(206)});var i,n,s}),this[r(497)](r(518),!1),this[r(497)](r(533),!1),this[r(497)](r(507),!1),this[r(497)](r(506),!1),this[r(497)](r(515),!1),this[r(543)]=new Ve(e,It.createLabeledInputText),this[r(543)][r(548)][r(481)]({attributes:{maxlength:r(492)}}),this[r(543)][r(548)][r(546)](r(500)).to(this,r(516),t=>t||this[r(505)]),this[r(543)][r(546)](r(515)).to(this,r(518),this,r(515),(t,e)=>t&&e),this[r(522)]=n&&n[r(486)]?function(e,i){const n=Ze,s=e[n(445)],r=e[n(451)],o=(0,It.createDropdown)(r);o[n(465)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=Ze,n=t[i(451)],s={"Compare against selected":at(n,i(457)),"Name this revision":at(n,i(485)),"Restore this revision":at(n,i(459))};return e[i(441)](t=>{const e=i,n=s[t[e(478)]];return n&&n!==t[e(478)]&&(t[e(478)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(456),model:new It.UIModel({label:t[s(478)],class:t[s(450)],withText:!0,role:s(476),_action:t[s(472)]})};i[s(481)][s(489)](s(448)).to(e,s(446),i=>s(443)!=typeof t[s(448)]||!i||t[s(448)](e)),o[s(447)](i)}return o}(e,i);return e[n(489)](n(446)).to(o,n(467)),o[n(487)][n(442)]({label:at(r,n(479)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(452)]({attributes:{class:[n(482),s.if(n(446),n(475))]},on:{click:s.to(t=>t[n(471)]())}}),o.on(n(468),t=>{const i=n;e[i(463)]&&i(443)==typeof t[i(453)][i(470)]&&t[i(453)][i(470)](e)}),(0,It.addListToDropdown)(o,a,{role:n(460)}),o[n(474)](e,n(455),(t,s,r)=>{const a=n;if(r)for(const t of o[a(462)][a(484)]){const n=t[a(461)][a(464)],s=i[a(454)](t=>t[a(472)]===n[a(470)])[a(473)];t[a(473)]=void 0===s||s(e)}}),o}(this,n):"",this[r(522)]&&this[r(522)][r(546)](r(515)).to(this),this[r(510)]({tag:r(536),attributes:{class:["ck",r(537),r(541),o.if(r(514),r(512))]},children:[{tag:r(536),attributes:{class:["ck",r(537),r(539),o.if(r(515),r(504),t=>!t),o.if(r(518),r(484)),o.if(r(533),r(508)),o.if(r(507),r(523))]},children:[this[r(543)],{tag:r(501),attributes:{class:["ck",r(509)]},children:[{text:o.to(r(505))}]},{tag:r(536),attributes:{class:["ck",r(519)]},children:[{tag:"ul",attributes:{class:["ck",r(503)]},children:a}]},this[r(522)]],on:{click:o.to(t=>{const e=r;t[e(520)][e(511)](e(529))||this[e(506)]&&this[e(515)]&&this[e(489)](e(547),{id:this.id})})}}]})}[Ye(513)](){const t=Ye;super[t(513)]();const e=this[t(543)][t(548)][t(526)];this[t(490)](e,t(521),()=>{const i=t;this[i(498)]&&!e[i(500)]||this[i(489)](i(532),{id:this.id,name:e[i(500)]}),e[i(500)]||(e[i(500)]=this[i(516)]?this[i(516)]:this[i(505)])})}[Ye(547)](){this[Ye(518)]=!0}[Ye(482)](){this[Ye(518)]=!1}[Ye(502)](){this[Ye(533)]=!0}[Ye(495)](){this[Ye(533)]=!1}}class Ke extends Error{}class Qe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Ke{}class ni extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class si extends Ke{}class ri extends Ke{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},xi={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},Ti={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Ei=null;class Di extends Mi{static get instance(){return null===Ei&&(Ei=new Di),Ei}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Vi=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const ji=new Map;class Fi extends Mi{static create(t){let e=ji.get(t);return void 0===e&&ji.set(t,e=new Fi(t)),e}static resetCache(){ji.clear(),Vi.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Fi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Vi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Vi.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Un(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Fi.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&jn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Xi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),Wi.clear(),Ui.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Ki.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Xi,...e}),$i.set(t,e)}return e}(this.locale):Xi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class en extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(Dn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||Fi.create(t)}return Vn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Di.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Ki.resetCache(),Fi.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function xn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Kn(c,e,i)):u>Kn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function Tn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Mn(t){const e=Cn(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function En(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Dn(t){return void 0===t}function Vn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Hn(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Xn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Kn(t,e=4,i=1){const n=Xn(t,e,i),s=Xn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:Ti,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Un(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function xs(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Hn(e[i+s]);return[n,null,i+s]}}const Ts=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${Ts.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=xs("weekYear","weekNumber","weekDay"),Es=xs("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${Ts.source}|(${_s.source}))?`),Vs=RegExp(`(?: ${Ds.source})?`);function Cs(t,e,i){const n=t[e];return Dn(n)?i:Hn(n)}function js(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function Fs(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?Fi.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),zs=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ws(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Hn(e)):Hn(e),month:as.indexOf(i)+1,day:Hn(n),hour:Hn(s),minute:Hn(r)};return o&&(a.second=Hn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Hs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ys=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Js(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Hs(e,a,i,n,s,r,o),tn.utcInstance]}const Xs=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Ks=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},js,Fs,Ls),ir=Ss(Ms,js,Fs,Ls),nr=Ss(Es,js,Fs,Ls),sr=Ss(js,Fs,Ls);const rr=Ss(js);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Vs),ar=Is(Ds),cr=Ss(js,Fs,Ls);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Ws])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ni(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Dn(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$n(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Vn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Fi.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:jn(),localeWeek:Fn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function xr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(Tr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,Tr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Er(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Vr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function jr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Fr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=jr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return xr(u);case"yy":case"kk":return xr(h,Qn);case"yyyy":case"kkkk":return xr(r);case"yyyyy":return xr(d);case"yyyyyy":return xr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return xr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return xr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return xr(c);case"ooo":case"SSS":return xr(s);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return xr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=function(t){const e=t.map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"");return[`^${e}$`,t]}(this.units);this.regex=RegExp(t,"i"),this.handlers=e}}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;Dn(t.z)||(i=Fi.create(t.z)),Dn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Dn(t.u)||(t.S=qn(t.u));const n=Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{});return[n,i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new Fr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Vr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=xn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=xn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Xr(t,e,i=!0){return t.isValid?ws.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Ki.fromObject(e);let s,r;if(Dn(t.year))s=gn.now();else{for(const e of no)Dn(t[e])&&(t[e]=to[e]);const e=Mn(t)||En(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Dn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Vn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Ki.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(Vn(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Ki.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Ki.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Ki.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=xn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Wn(t.weekNumber,1,Kn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Wn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||En(s);if(b)return fo.invalid(b);const w=m?Tn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Xs,er],[Ks,ir],[Qs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Ki.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return jr(ws.parseFormat(t),Ki.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Kn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Kn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=Tn({...xn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Kr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Xr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Xr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Xr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Xr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Ki.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Fr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return xi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Vn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo,n=fo[i(160)](t)[i(174)](e),s=fo[i(177)](),r=s[i(169)]({days:1})[i(173)](i(182));let o,a;return n[i(179)](s,i(182))?(o=n[i(173)](i(182))[i(171)](),a=n[i(167)]()):n[i(179)](r,i(182))?(o=r[i(171)](),a=n[i(167)]()):n[i(179)](s,i(180))?(o=n[i(173)](i(180))[i(171)](),a=n[i(175)]||""):n[i(179)](s,i(163))?(o=n[i(173)](i(161))[i(171)](),a=n[i(170)]||""):(o=n[i(173)](i(163))[i(171)](),a=String(n[i(163)])),{startDate:o,localizedPeriodName:a}}function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=160]})(t,e)}function go(){const t=["year","9evXVas","1627050FSWMLn","1532114sszkNq","toRelativeCalendar","7323841ARNNtQ","minus","monthLong","toJSDate","495505NMDymu","startOf","setLocale","weekdayLong","418808nLhHct","local","868770UdzJhk","hasSame","week","15716088mpnYff","day","fromJSDate","month","30uNIDYQ"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(601761===parseInt(e(178))/1+-parseInt(e(166))/2+parseInt(e(162))/3*(parseInt(e(176))/4)+parseInt(e(172))/5+parseInt(e(165))/6+parseInt(e(168))/7+-parseInt(e(181))/8*(parseInt(e(164))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(45),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=Tt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=465]})(t,e)}function _o(){const t=["6CMtKZe","764544QVlwJS","589386xYHVwk","find","revisionViews","add","363548gjQHkQ","remove","setName","locale","span","7qorEIL","startDate","1010055NyXQeH","231971okhpUc","ck-revision-history-sidebar__time-period__revisions","delegate","uiLanguage","_requireRevisionName","localizedPeriodName","removeRevision","ck-revision-history-sidebar__time-period__label","_revisionActions","241119eVrMRh","12808YFNfgN","createCollection","setTemplate","addRevision","select","ck-revision-history-sidebar__time-period","div"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(134090===-parseInt(e(491))/1+parseInt(e(483))/2+parseInt(e(477))/3*(parseInt(e(470))/4)+parseInt(e(490))/5+-parseInt(e(479))/6*(-parseInt(e(488))/7)+-parseInt(e(478))/8+-parseInt(e(469))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(489)];[bo(481)];[bo(468)];[bo(495)];constructor(t,e,i,n){const s=bo;super(t);const r=po(e,this[s(486)][s(494)])[s(465)];this[s(489)]=e,this[s(481)]=this[s(471)](),this[s(468)]=i,this[s(495)]=n,this[s(481)][s(493)](s(474)).to(this),this[s(481)][s(493)](s(485)).to(this),this[s(472)]({tag:s(476),attributes:{class:["ck",s(475)]},children:[{tag:s(487),attributes:{class:["ck",s(467)]},children:[{text:r}]},{tag:s(476),attributes:{class:["ck",s(492)]},children:this[s(481)]}]})}[bo(473)](t){const e=bo,i=new Xe(this[e(486)],t,this[e(468)],this[e(495)]);this[e(481)][e(482)](i)}[bo(466)](t){const e=bo,i=this[e(481)][e(480)](e=>e.id===t.id);this[e(481)][e(484)](i)}}var So=i(173),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=Tt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function xo(){const t=["8338128SMRopM","20944pBHQSP","Revision history","9744BpGWAA","2171152sUqQFw","274172SAFPAi","ck-reset_all","1635VjTWxP","span","600430YswmyZ","99jjHvWK","div","10bOEMod","ck-revision-history-sidebar__header__label","14WyIXjB","34078YGYtmY","1160070zwsXuE","setTemplate","content","ck-revision-history-sidebar__header"];return(xo=function(){return t})()}function To(t,e){const i=xo();return(To=function(t,e){return i[t-=307]})(t,e)}!function(t){const e=To,i=t();for(;;)try{if(962825===-parseInt(e(318))/1*(parseInt(e(311))/2)+-parseInt(e(322))/3+parseInt(e(307))/4*(parseInt(e(313))/5)+-parseInt(e(326))/6+parseInt(e(320))/7*(parseInt(e(310))/8)+parseInt(e(316))/9*(-parseInt(e(315))/10)+parseInt(e(321))/11*(parseInt(e(309))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(324)]=_t.IconHistory,this[e(323)]({tag:e(317),attributes:{class:["ck",e(312),e(325)]},children:[i,{tag:e(314),attributes:{class:["ck",e(319)]},children:[at(t,e(308))]}]})}}var Ao=i(722),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Do;function Eo(){const t=["2207160bOkjLD","setName","ck-reset","createCollection","uiLanguage","deselect","bindTemplate","addRevision","highlight","1609460LLfNtl","find","_revisionActions","5UlKAMc","timePeriodViews","render","setTemplate","21SkulQc","isEnabled","_requireRevisionName","ck-revision-history-sidebar__timeline","delegate","_addRevision","revisionSetName","createdAt","selectRevision","removeRevision","ck-revision-history-sidebar","_getTimePeriodViewByStartDate","some","startDate","_revisions","1782153GomorO","get","499134xnIuVD","set","map","div","_removeRevision","ck-disabled","select","locale","10BlXGNE","ck-rounded-corners","flat","highlightRevisions","5789310rsPkfb","3HJMjnM","revisionSelected","add","revisionViews","fire","getTime","489286TFXUIP","10355235GIMkpP","unhighlight","remove"];return(Eo=function(){return t})()}function Do(t,e){const i=Eo();return(Do=function(t,e){return i[t-=260]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(539974===parseInt(e(278))/1+parseInt(e(297))/2*(parseInt(e(291))/3)+parseInt(e(310))/4+parseInt(e(313))/5*(parseInt(e(290))/6)+parseInt(e(261))/7*(-parseInt(e(301))/8)+-parseInt(e(276))/9*(-parseInt(e(286))/10)+-parseInt(e(298))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Vo extends It.View{[Mo(314)];[Mo(275)];[Mo(312)];[Mo(263)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(307)];this[s(314)]=this[s(304)](),this[s(314)][s(265)](s(284)).to(this),this[s(314)][s(265)](s(302)).to(this),this[s(275)]=e,this[s(312)]=i,this[s(263)]=n,this.on(s(284),(t,e)=>{const i=s;this[i(295)](i(292),e)}),this.on(s(302),(t,e)=>{const i=s;this[i(295)](i(267),e)}),this[s(279)](s(262),!1),this[s(260)]({tag:s(281),attributes:{class:["ck",s(303),s(287),s(271)]},children:[new No(t),{tag:s(281),attributes:{class:["ck",s(264),r.if(s(262),s(283),t=>!t)]},children:this[s(314)]}]})}[Mo(315)](){const t=Mo;super[t(315)]();for(const e of this[t(275)])this[t(266)](e);this[t(275)].on(t(293),(e,i)=>{this[t(266)](i)}),this[t(275)].on(t(300),(e,i)=>{this[t(282)](i)})}get[Mo(294)](){const t=Mo;return this[t(314)][t(280)](e=>e[t(294)][t(280)](t=>t))[t(288)]()}[Mo(269)](t){const e=Mo;for(const i of this[e(294)])t&&t.id===i.id?i[e(284)]():i[e(306)]()}[Mo(289)](t){const e=Mo;for(const i of this[e(294)])t[e(273)](({id:t})=>t===i.id)?i[e(309)]():i[e(299)]()}[Mo(266)](t){const e=Mo,i=po(t[e(268)],this[e(285)][e(305)])[e(274)];let n=this[e(314)][e(277)](0);n&&n[e(274)][e(296)]()===i[e(296)]()||(n=new Io(this[e(285)],i,this[e(312)],this[e(263)]),this[e(314)][e(293)](n)),n[e(308)](t)}[Mo(282)](t){const e=Mo,i=po(t[e(268)],this[e(285)][e(305)])[e(274)];this[e(272)](i)[e(270)](t)}[Mo(272)](t){const e=Mo;return this[e(314)][e(311)](i=>i[e(274)][e(296)]()===t[e(296)]())}}function Co(t,e){const i=jo();return(Co=function(t,e){return i[t-=408]})(t,e)}function jo(){const t=["1315128lgrVjo","change:diff","bind","revisionSelected","4644GNOQoD","action","repository","isOfficialPlugin","32261LUAoTH","restoreRevision","isReady","data","availableRevisionActions","element","revisionHistory.viewerSidebarContainer","assign","isEnabled","Compare against selected","compare","getRevisionsInDiff","editor","Name this revision","appendChild","ready","highlightRevisions","_handleRevisionSelected","_handleEditorDataReady","revisionHistory","compareAgainstSelected","_sidebarView","listenTo","revisionViews","revisionSetName","_createRevisionActions","map","init","focus","setName","requires","newRevisionId","18piwizi","pluginName","26YSffVM","revisionHistory.revisionActions","getRevision","1216405wtKEbn","defaultRevisionActions","isPremiumPlugin","getLaterVisibleRevision","destroy","plugins","revisionHistory.requireRevisionName","name","diff","getEarlierVisibleRevision","_revisionsRepository","string","8691361ACeBUj","selectRevision","select","timePeriodViews","RevisionsSidebar","isSelected","_revisionViewer","18eQdEYu","restoreRevisionCallback","46sLFLwC","_handleRevisionSetName","2288456FqLZvR","remove","11zhNNrx","fieldView","locale","nameRevision","length","_revisions","isVisible","get","9787490GqkKbl","249KlChpt","_handleDiffChange","config","Restore this revision","add","render","getIndex"];return(jo=function(){return t})()}const Fo=Co;!function(t){const e=Co,i=t();for(;;)try{if(724323===-parseInt(e(477))/1*(-parseInt(e(449))/2)+-parseInt(e(462))/3*(-parseInt(e(473))/4)+parseInt(e(428))/5*(-parseInt(e(447))/6)+parseInt(e(440))/7+-parseInt(e(451))/8*(-parseInt(e(423))/9)+parseInt(e(461))/10*(-parseInt(e(453))/11)+-parseInt(e(469))/12*(parseInt(e(425))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(jo);class Lo extends G.Plugin{[Fo(446)];[Fo(438)];[Fo(412)];static[Fo(429)]=[Fo(411),Fo(478),Fo(456)];static[Fo(481)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(486),action:({plugins:e},i)=>{const n=t,s=e[n(460)](ue),r=s[n(475)];let o=s[n(436)][n(422)],a=i.id;r[n(468)](o)>r[n(468)](a)&&([o,a]=[a,o]),s[n(487)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(460)](ue);return!(s[n(475)][n(488)](s[n(436)])[n(457)]>2||i[n(445)])}},restoreRevision:{name:t(465),action:(e,{id:i})=>{const n=t;e[n(464)][n(460)](n(410))[n(448)](i)},isVisible:({plugins:e},i)=>!!e[t(460)](ue)[t(475)][t(431)](i.id)},nameRevision:{name:t(490),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(460)](ue),o=r[s(475)][s(437)](i);r[s(487)](i,o),n[s(419)](),n[s(454)][s(442)]()}}}}();static get[Fo(424)](){return Fo(444)}static get[Fo(476)](){return!0}static get[Fo(430)](){return!0}static get[Fo(421)](){return[ue]}constructor(t){const e=Fo;super(t),this[e(446)]=t[e(433)][e(460)](ue),this[e(438)]=this[e(446)][e(475)],this[e(412)]=null}[Fo(418)](){const t=Fo,e=this[t(438)][t(458)],i=this[t(416)](),n=this[t(489)][t(464)][t(460)](t(483));this[t(412)]=new Vo(this[t(489)][t(455)],e,i,this[t(489)][t(464)][t(460)](t(434))),this[t(412)].on(t(472),this[t(408)][t(471)](this)),this[t(412)].on(t(415),this[t(450)][t(471)](this)),this[t(412)][t(471)](t(485)).to(this[t(446)]),this[t(412)][t(443)].on(t(466),(e,i)=>{const n=t;i[n(414)].on(n(466),(t,e)=>{const i=n;e[i(471)](i(485),i(479)).to(this[i(446)])})}),this[t(412)][t(467)](),this[t(413)](this[t(489)][t(480)],t(492),this[t(409)][t(471)](this)),this[t(413)](this[t(446)],t(470),this[t(463)][t(471)](this)),n[t(491)](this[t(412)][t(482)])}[Fo(432)](){const t=Fo;this[t(412)][t(482)][t(452)](),this[t(412)][t(432)]()}[Fo(409)](){const t=Fo,e=this[t(438)][t(427)](0);if(e){const i=this[t(438)][t(437)](e.id);this[t(446)][t(487)](e,i)}}[Fo(408)](t,e){const i=Fo,n=this[i(438)][i(427)](e.id),s=this[i(438)][i(437)](n.id);this[i(446)][i(487)](n,s)}[Fo(450)](t,e){const i=Fo;this[i(438)][i(427)](e.id)[i(420)](e[i(435)])}[Fo(463)](t,e,i){const n=Fo,s=this[n(438)][n(488)](i);s[n(457)]>2?(this[n(412)][n(493)](s),this[n(412)][n(441)](null)):(this[n(412)][n(493)]([]),this[n(412)][n(441)](s[0]))}[Fo(416)](){const t=Fo,e=this[t(489)],i=Lo[t(481)],n=e[t(464)][t(460)](t(426))||Lo[t(429)];if(n[t(457)])return n[t(417)](n=>{const s=t,r=s(439)==typeof n?Object[s(484)]({},i[n]):n;return r[s(474)]=r[s(474)][s(471)](this,e),r[s(459)]&&(r[s(459)]=r[s(459)][s(471)](this,e)),r})}}const Po=Wo;function zo(){const t=["ready","detachDomRoot","6IQMcyL","fillFromConfig","bind","isFocused","destroy","3154QUfHwD","setEditableElement","get","stickyPanel","editing","_elementReplacer","limiterElement","2049951oswXGJ","24FpaDPX","focusTracker","rootName","337NuAijH","31202868CNrwZi","_view","init","element","isActive","editor","viewportTopOffset","addToolbar","componentFactory","document","fire","toolbar","config","4ZskTjp","154tpgaxr","replace","view","viewportOffset","1283359qAEEiE","251730mtrsjM","2113587EXTiNv","name","editable","3055295IBnQeZ","attachDomRoot","restore","render","_initToolbar","getRoot","_toolbarConfig"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=496]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(341982===parseInt(e(508))/1*(-parseInt(e(497))/2)+parseInt(e(504))/3*(-parseInt(e(522))/4)+parseInt(e(532))/5*(-parseInt(e(541))/6)+parseInt(e(527))/7*(-parseInt(e(505))/8)+-parseInt(e(529))/9+-parseInt(e(528))/10*(-parseInt(e(523))/11)+parseInt(e(509))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Po(510)];[Po(538)];[Po(502)];get[Po(525)](){return this[Po(510)]}constructor(e,i){const n=Po;super(e),this[n(510)]=i,this[n(538)]=(0,It.normalizeToolbarConfig)(e[n(521)][n(499)](n(520))),this[n(502)]=new t.ElementReplacer}get[Po(512)](){const t=Po;return this[t(525)][t(512)]}[Po(511)](t){const e=Po,i=this[e(514)],n=this[e(525)],s=i[e(501)][e(525)],r=n[e(531)],o=s[e(518)][e(537)]();r[e(530)]=o[e(507)],n[e(535)]();const a=r[e(512)];this[e(498)](r[e(530)],a),n[e(531)][e(543)](e(544)).to(this[e(506)]),s[e(533)](a),this[e(502)][e(524)](t,this[e(512)]),this[e(536)](),this[e(519)](e(539))}[Po(496)](){const t=Po;super[t(496)]();const e=this[t(525)],i=this[t(514)][t(501)][t(525)];this[t(502)][t(534)](),i[t(540)](e[t(531)][t(530)]),e[t(496)]()}[Po(536)](){const t=Po,e=this[t(525)];e[t(500)][t(543)](t(513)).to(this[t(506)],t(544)),e[t(500)][t(503)]=e[t(512)],e[t(500)][t(543)](t(515)).to(this,t(526),({top:t})=>t),e[t(520)][t(542)](this[t(538)],this[t(517)]),this[t(516)](e[t(520)])}}var Ho=i(161),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=Tt(),Zo.insertStyleElement=Dt();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=$o;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=142]})(t,e)}function Bo(){var t=["add","5rdOfXS","editable","shouldToolbarGroupWhenFull","12qGvMCS","content","7066150nqirRp","133DmexLf","100168GyJula","3059226QUIoHj","2665407aeTuUE","4DNsYcJ","top","22abvkGW","main","191060viyWav","72908aYsxNj","99ncgbtA","stickyPanel","_editable","render","toolbar","5484314ZwLQFX"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(687545===parseInt(e(142))/1*(parseInt(e(145))/2)+-parseInt(e(162))/3*(-parseInt(e(163))/4)+parseInt(e(153))/5*(-parseInt(e(161))/6)+parseInt(e(159))/7*(-parseInt(e(160))/8)+-parseInt(e(146))/9*(parseInt(e(144))/10)+-parseInt(e(151))/11*(-parseInt(e(156))/12)+-parseInt(e(158))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(148)];[qo(147)];[qo(150)];get[qo(154)](){return this[qo(148)]}constructor(t,e,i={}){var n=qo;super(t),this[n(147)]=new It.StickyPanelView(t),this[n(150)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(155)]}),this[n(148)]=new It.InlineEditableUIView(t,e)}[qo(149)](){var t=qo;super[t(149)](),this[t(147)][t(157)][t(152)](this[t(150)]),this[t(164)][t(152)](this[t(147)]),this[t(143)][t(152)](this[t(154)])}}const Jo=Xo;!function(t){const e=Xo,i=t();for(;;)try{if(443980===parseInt(e(438))/1+-parseInt(e(444))/2+-parseInt(e(445))/3+parseInt(e(463))/4+-parseInt(e(458))/5*(-parseInt(e(440))/6)+parseInt(e(442))/7*(-parseInt(e(454))/8)+parseInt(e(455))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Go extends((0,G.ElementApiMixin)(G.Editor)){[Jo(451)];get ui(){return this[Jo(451)]}constructor(t,e){const i=Jo;super(e),this[i(462)]=t,this[i(447)][i(452)][i(459)]();const n=new Yo(this[i(461)],this[i(437)][i(450)],{shouldToolbarGroupWhenFull:!0});this[i(451)]=new Uo(this,n)}[Jo(448)](){const t=Jo;return this[t(441)](),this.ui[t(448)](),super[t(448)]()}static async[Jo(443)](t,e){const i=Jo,n=new this(t,e);return await n[i(436)](),await n.ui[i(460)](t),await n[i(439)][i(460)](n[i(457)][i(449)](i(446))||""),n[i(456)](i(453)),n}}function Xo(t,e){const i=Ko();return(Xo=function(t,e){return i[t-=436]})(t,e)}function Ko(){const t=["2174128Hciyxf","initPlugins","editing","245421szrnYf","data","5190nxAKuz","updateSourceElement","6503OkqLMk","create","927078gQbBGj","1036209qEwNVD","initialData","model","destroy","get","view","_ui","document","ready","5944RsLhBm","10006479uAHmVW","fire","config","245BhzGKq","createRoot","init","locale","sourceElement"];return(Ko=function(){return t})()}const Qo=ea;function ta(){const t=["disableReadOnlyMode","addRevisionData","setAttribute","includes","setSelection","getRevisions","changesNavigation","save","error","name","create","$graveyard","removeMarker","define","getRevision","_recalculatePageBreaks","Autosave","revisionHistory","Annotations","selection","revision-history-missing-configuration","rootName","insert","RevisionViewerIntegration","9131048xTzYMp","getRevisionDocumentData","revisionHistory.requireRevisionName","isRevisionViewerOpen","RevisionHistory","roots","createRangeIn","toJSON","catch","RevisionsRepository","end","revisionHistory.editorContainer","revisionHistory.restoreRevisionCallback","markers","5erxRje","isOpen","RevisionHistoryUtils","exitToEditing","editor","_getRevisionViewerEditorConfig","map","config","from","uiLanguage","_closeRevisionViewer","numeric","keys","toVersion","remove","_update","createdAt","restrictedEditingException","destroy","71988TEbcJL","_viewerEditor","lazyRoots","document","_enhanceShowRevisionViewerCallback","loadRevisionData","RestrictedEditingMode","getRevisionRootsAttributes","addRoot","1051368RaRXUc","revisionHistory.viewerContainer","requires","revision-history-viewer-opened","display","revisionHistory.closeRevisionViewerCallback","indexOf","revisionHistory.showRevisionViewerCallback","2388616ZZlEYA","hide","getUser","DocumentOutline","Users","model","then","update","DocumentOutlineUI","repository","result","adapter","view","toLocaleTimeString","toLocaleDateString","data","get","style","isPremiumPlugin","removeSelectionAttribute","set","9OoylSY","detachRoot","RevisionViewer","isOfficialPlugin","isReadOnly","RevisionHistoryUI","refreshVisibility","commands","locale","PaginationLookup","saveRevision","RevisionTracker","bind","3133368zoPzCG","getAttributeKeys","plugins","240310VyvGyx","Restored","enqueueChange","_restoreRevision","users","455XKEcKj","isEnabled","addUser","getMarkersGroup","restoreRevision","isAttached","creator","parse","init","element","revisionHistory.viewerEditorElement","translations","_showRevisionViewer","_enhanceCloseRevisionViewerCallback","pluginName","has","isReady","showRevisionViewerCallback","toolbar","push","getRoot","closeRevisionViewerCallback","fromCharCode","_cleanUp","refreshPositioning","removeAttribute","none","change","enableReadOnlyMode","isAnonymous","fromVersion","join","long","Dialog","1012ygywke","818011EPALGS","block"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=152]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(781366===-parseInt(e(163))/1+-parseInt(e(231))/2+-parseInt(e(273))/3+-parseInt(e(239))/4*(-parseInt(e(203))/5)+-parseInt(e(222))/6*(parseInt(e(281))/7)+-parseInt(e(189))/8*(-parseInt(e(260))/9)+-parseInt(e(276))/10*(-parseInt(e(162))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Qo(265),Qo(228)];class na extends G.Plugin{[Qo(249)];static get[Qo(295)](){return Qo(188)}static get[Qo(263)](){return!0}static get[Qo(257)](){return!0}constructor(t){const e=Qo;function i(t){const e=ea;return t[e(209)](t=>String[e(303)](t))[e(159)]("")}super(t),this[e(249)]=e(199),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class sa extends G.Plugin{[Qo(223)];static get[Qo(295)](){return Qo(193)}static get[Qo(263)](){return!0}static get[Qo(257)](){return!0}static get[Qo(233)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(207)][i(210)][i(255)](i(182)))throw new t.CKEditorError(i(185),this);this[i(223)]=null,this[i(259)](i(192),!1),this[i(207)][i(210)][i(178)](i(238),t=>this[i(293)]({...t,translations:this[i(207)][i(268)][i(292)]})),this[i(207)][i(210)][i(178)](i(236),t=>this[i(213)](t)),this[i(207)][i(210)][i(178)](i(201),t=>this[i(279)](t)),this[i(207)][i(210)][i(178)](i(191),!1),this[i(226)](),this[i(294)]()}set[Qo(250)](t){const e=Qo;this[e(207)][e(275)][e(255)](e(271))[e(250)]=t}get[Qo(250)](){const t=Qo;return this[t(207)][t(275)][t(255)](t(271))[t(250)]}[Qo(166)](t){const e=Qo;return this[e(207)][e(275)][e(255)](e(271))[e(166)](t)}[Qo(179)](t){const e=Qo;return this[e(207)][e(275)][e(255)](e(198))[e(179)](t)}[Qo(170)](t){const e=Qo;return this[e(207)][e(275)][e(255)](e(198))[e(170)](t||{toJSON:!1})}[Qo(208)](){const e=Qo,i=this[e(207)],n=(0,X.sanitizeEditorConfig)(i,ia),s=i[e(275)][e(255)](e(271)),r=i[e(275)][e(255)](e(243))[e(280)];return n[e(299)]=[e(206),e(285),e(171)],delete n[e(224)],n[e(275)][e(300)](na,ue,Ne,class extends G.Plugin{static get[e(233)](){return[ue,e(243)]}[e(289)](){const n=e,o=this[n(207)][n(275)][n(255)](n(243));for(const t of r)t[n(157)]||o[n(241)](t.id)||o[n(283)](t);const a=s[n(248)][n(170)]();let c=null;const u=this[n(207)][n(275)][n(255)](n(262));u[n(250)]=s[n(250)],u[n(272)](n(282)).to(s),this[n(207)][n(267)][n(255)](n(285))[n(272)](n(282)).to(i,n(264),t=>!t);for(const e of a){const i=null===e[n(287)];if(i&&e[n(216)]===e[n(158)])continue;const r=e[n(196)]();u[n(166)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(218)](r,o);else if(!o){const e=a[u(196)]();e.id=(0,t.uid)(),s[u(270)](e,a[u(216)])[u(245)](t=>{c=t})}}else e[u(218)](r,o)})}}},Lo),n}[Qo(226)](){const t=Qo,e=this[t(207)][t(210)][t(255)](t(182))[t(298)];this[t(207)][t(210)][t(259)](t(238),async()=>{const i=t;this[i(207)][i(156)](i(234));const n=this[i(207)][i(275)][i(255)](i(271));if(this[i(207)][i(275)][i(296)](i(181))){const t=this[i(207)][i(275)][i(255)](i(181));await t[i(172)]()}else await n[i(246)]();if(this[i(207)][i(275)][i(296)](i(269))&&this[i(207)][i(275)][i(255)](i(269))[i(180)](),this[i(207)][i(275)][i(296)](i(161))){const t=this[i(207)][i(275)][i(255)](i(161));t[i(204)]&&t[i(240)]()}const s=this[i(208)]();return e(s)[i(245)](t=>{const e=i;return this[e(223)]=t,this[e(207)][e(275)][e(296)](e(183))&&this[e(207)][e(275)][e(255)](e(183))[e(266)](),this[e(207)][e(275)][e(296)](e(242))&&(this[e(207)][e(275)][e(255)](e(247))[e(251)][e(290)][e(256)][e(235)]=e(154)),t})[i(197)](t=>(console[i(173)](t),this[i(207)][i(165)](i(234)),null))})}[Qo(294)](){const t=Qo,e=this[t(207)][t(210)][t(255)](t(182))[t(302)];this[t(207)][t(210)][t(259)](t(236),()=>(this[t(207)][t(275)][t(296)](t(269))&&this[t(207)][t(275)][t(255)](t(269))[t(180)](),this[t(207)][t(275)][t(296)](t(242))&&(this[t(207)][t(275)][t(255)](t(247))[t(251)][t(290)][t(256)][t(235)]=""),this[t(223)][t(275)][t(255)](t(262))[t(304)](),e(this[t(223)])[t(245)](()=>{const e=t;if(this[e(207)][e(165)](e(234)),this[e(223)]=null,this[e(207)][e(275)][e(296)](e(183))){const t=this[e(207)][e(275)][e(255)](e(183));t[e(266)](),t[e(152)]()}})))}[Qo(293)](t){const e=Qo,i=this[e(207)][e(210)][e(255)](e(200)),n=this[e(207)][e(210)][e(255)](e(232)),s=this[e(207)][e(210)][e(255)](e(291));return Go[e(175)](s,t)[e(245)](t=>(n[e(256)][e(235)]=e(164),i[e(256)][e(235)]=e(154),this[e(192)]=!0,t))}[Qo(213)](t){const e=Qo,i=this[e(207)][e(210)][e(255)](e(200));return this[e(207)][e(210)][e(255)](e(232))[e(256)][e(235)]=e(154),i[e(256)][e(235)]="",this[e(192)]=!1,t[e(221)]()}async[Qo(279)](t){const e=Qo,i=this[e(207)],n=this[e(223)][e(275)][e(255)](e(262)),s=i[e(275)][e(255)](e(271)),r=i[e(275)][e(255)](e(205)),o=n[e(248)][e(179)](t);let a,c,u;try{await r[e(227)](o,this[e(250)]),a=r[e(190)](o),c=r[e(229)](o)}catch(t){return void console[e(173)](t)}i[e(244)][e(155)](t=>{const n=e;for(const e of Array[n(211)](i[n(244)][n(202)][n(284)](n(220))))t[n(177)](e)}),n[e(297)]=!1,i[e(244)][e(278)](t=>{const n=e;t[n(169)](null),t[n(258)](i[n(244)][n(225)][n(184)][n(274)]());const s=Object[n(215)](a);for(const e of i[n(244)][n(225)][n(194)])n(176)!=e[n(186)]&&e[n(286)]()&&!s[n(168)](e[n(186)])&&t[n(261)](e);for(const e of s){let s=i[n(244)][n(225)][n(301)](e);s&&s[n(286)]()||(s=t[n(230)](e));const r=c[e],o=Object[n(215)](r),u=a[e];for(const e of s[n(274)]())o[n(168)](e)||t[n(153)](e,s);for(const i of o)t[n(167)](i,c[e][i],s);t[n(217)](t[n(195)](s)),t[n(187)](i[n(254)][n(288)](u,s),s,0)}});const l=at(i[e(268)],e(277));return u=o[e(174)]?-1==o[e(174)][e(237)](l)?l+": "+o[e(174)]:o[e(174)]:l+": "+o[e(219)][e(253)](i[e(268)][e(212)],{month:e(160),day:e(214)})+", "+o[e(219)][e(252)](i[e(268)][e(212)],{hour:e(214),minute:e(214)}),await s[e(270)]({name:u}),n[e(297)]=!0,i[e(210)][e(255)](e(182))[e(302)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=324]})(t,e)}function oa(){var t=["39660TjjmZM","877448HJFbzN","4907254ZLxLTp","8957898AgISsV","4418410AADRxD","35582HDYPlM","245REBTgC","9xEdunW","7mdYUUn","3512964lSNMEL","74YSdCRv"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(756194===parseInt(e(333))/1*(-parseInt(e(327))/2)+parseInt(e(326))/3+-parseInt(e(328))/4*(parseInt(e(334))/5)+parseInt(e(331))/6*(parseInt(e(325))/7)+-parseInt(e(329))/8+parseInt(e(324))/9*(-parseInt(e(332))/10)+parseInt(e(330))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();