@ckeditor/ckeditor5-revision-history 47.7.5 → 47.7.6

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 +12 -12
  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-2026, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={76(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},450(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},522(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},898(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{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-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-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},433(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},443(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},223(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},416(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},812(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},651(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},4(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},434(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},418(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{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__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.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},271(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},366(t){"use strict";t.exports=function(t){return t[1]}},789(t){"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},298(t){"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},825(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},207(t){"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},437(t){"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},211(t,e,i){t.exports=i(312)("./src/collaboration-core.js")},782(t,e,i){t.exports=i(237)("./src/core.js")},783(t,e,i){t.exports=i(237)("./src/engine.js")},355(t,e,i){t.exports=i(237)("./src/icons.js")},311(t,e,i){t.exports=i(237)("./src/ui.js")},584(t,e,i){t.exports=i(237)("./src/utils.js")},312(t){"use strict";t.exports=CKEditor5.collaborationDll},237(t){"use strict";t.exports=CKEditor5.dll}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>ve,Revision:()=>tt,RevisionHistory:()=>ua,RevisionHistoryUI:()=>Gt,RevisionHistoryUtils:()=>ht,RevisionTracker:()=>bt,RevisionViewer:()=>me,RevisionViewerEditor:()=>ia,RevisionViewerIntegration:()=>ca,RevisionViewerLoadingOverlay:()=>Ae,RevisionViewerUI:()=>Ee,RevisionsRepository:()=>ot,RevisionsSidebar:()=>Ho,ShowChangeCommand:()=>ge});var t=i(584);function e(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const n="[object RegExp]",r="[object String]",o="[object Number]",a="[object Boolean]",c="[object Arguments]",u="[object Symbol]",l="[object Date]",h="[object Map]",d="[object Set]",f="[object Array]",m="[object ArrayBuffer]",p="[object Object]",v="[object DataView]",g="[object Uint8Array]",y="[object Uint8ClampedArray]",k="[object Uint16Array]",b="[object Uint32Array]",w="[object Int8Array]",_="[object Int16Array]",I="[object Int32Array]",S="[object Float32Array]",O="[object Float64Array]";function T(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}const x="object"==typeof globalThis&&globalThis||"object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof i.g&&i.g||function(){return this}();function N(t){return void 0!==x.Buffer&&x.Buffer.isBuffer(t)}function A(t,i,s,T=new Map,x=void 0){const M=x?.(t,i,s,T);if(void 0!==M)return M;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(T.has(t))return T.get(t);if(Array.isArray(t)){const e=new Array(t.length);T.set(t,e);for(let i=0;i<t.length;i++)e[i]=A(t[i],i,s,T,x);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;T.set(t,e);for(const[i,n]of t)e.set(i,A(n,i,s,T,x));return e}if(t instanceof Set){const e=new Set;T.set(t,e);for(const i of t)e.add(A(i,void 0,s,T,x));return e}if(N(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);T.set(t,e);for(let i=0;i<t.length;i++)e[i]=A(t[i],i,s,T,x);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 T.set(t,e),R(e,t,s,T,x),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return T.set(t,e),R(e,t,s,T,x),e}if("undefined"!=typeof Blob&&t instanceof Blob){const e=new Blob([t],{type:t.type});return T.set(t,e),R(e,t,s,T,x),e}if(t instanceof Error){const e=structuredClone(t);return T.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,e.constructor=t.constructor,R(e,t,s,T,x),e}if(t instanceof Boolean){const e=new Boolean(t.valueOf());return T.set(t,e),R(e,t,s,T,x),e}if(t instanceof Number){const e=new Number(t.valueOf());return T.set(t,e),R(e,t,s,T,x),e}if(t instanceof String){const e=new String(t.valueOf());return T.set(t,e),R(e,t,s,T,x),e}if("object"==typeof t&&function(t){switch(e(t)){case c:case f:case m:case v:case a:case l:case S:case O:case w:case _:case I:case h:case o:case p:case n:case d:case r:case u:case g:case y:case k:case b:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return T.set(t,e),R(e,t,s,T,x),e}return t}function R(t,e,i=t,s,n){const r=[...Object.keys(e),...T(e)];for(let o=0;o<r.length;o++){const a=r[o],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=A(e[a],a,i,s,n))}}function M(t,i){return function(t,e){return A(t,void 0,t,new Map,e)}(t,(s,n,u,l)=>{const h=i?.(s,n,u,l);if(void 0!==h)return h;if("object"==typeof t){if("[object Object]"===e(t)&&"function"!=typeof t.constructor){const e={};return l.set(t,e),R(e,t,u,l),e}switch(Object.prototype.toString.call(t)){case o:case r:case a:{const e=new t.constructor(t?.valueOf());return R(e,t),e}case c:{const e={};return R(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}})}function V(t){return M(t)}function E(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function D(t){return"symbol"==typeof t||t instanceof Symbol}function C(t){if("string"==typeof t)return t;if(Array.isArray(t))return t.map(C).join(",");if(D(t))return t.toString();const e=t+"";return"0"===e&&Object.is(Number(t),-0)?"-0":e}function F(t){if(Array.isArray(t))return t.map(E);if("symbol"==typeof t)return[t];var e;const i=[],s=(t=null==(e=t)?"":C(e)).length;if(0===s)return i;let n=0,r="",o="",a=!1,c=!1;const u=/^-?\d+(?:\.\d+)?$/;for(46===t.charCodeAt(0)&&i.push("");n<s;){const e=t[n];if(o)"\\"===e&&n+1<s?(n++,r+=t[n]):e===o?o="":r+=e;else if(a)if('"'===e||"'"===e)o=e,c=!0;else if("]"===e){if(a=!1,c||!r.includes(".")||u.test(r))i.push(r);else{const t=r.split(".");for(let e=0;e<t.length;e++)""!==t[e]&&i.push(t[e])}r=""}else r+=e;else if("["===e)a=!0,c=!1,r&&(i.push(r),r="");else if("."===e){r&&(i.push(r),r="");const e=t[n+1];void 0!==e&&"."!==e||i.push("")}else r+=e;n++}return r&&i.push(r),i}function j(t){return"__proto__"===t}const L=/\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;function P(t){switch(typeof t){case"number":case"symbol":default:return!1;case"string":return""!==t&&!t.startsWith(".")&&!t.endsWith(".")&&L.test(t)}}function z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(j(e))return i;const s=t[e];return void 0===s?P(e)&&!Object.hasOwn(t,e)?z(t,F(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=E(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(j(e[t]))return i;s=s[e[t]]}return void 0===s?i:s}(t,e,i);if(j(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function W(t){return null!==t&&("object"==typeof t||"function"==typeof t)}const U=/^(?:0|[1-9]\d*)$/;function H(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 U.test(t)}}const Z=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$=/^\w*$/;function B(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const q=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&B(s,i)&&(void 0!==i||e in t)||(t[e]=i)};function J(t){return"__proto__"===t||"constructor"===t||"prototype"===t}function Y(t,e,i,s){if(null==t&&!W(t))return t;let n;var r,o;r=e,o=t,n=!Array.isArray(r)&&("number"==typeof r||"boolean"==typeof r||null==r||D(r)||"string"==typeof r&&($.test(r)||!Z.test(r))||null!=o&&Object.hasOwn(o,r))?[e]:Array.isArray(e)?e:F(e);const a=i(z(t,n));let c=t;for(let e=0;e<n.length&&null!=c;e++){const i=E(n[e]);if(J(i))return t;let r;if(e===n.length-1)r=a;else{const o=c[i],a=s?.(o,i,t);r=void 0!==a?a:W(o)?o:H(n[e+1])?[]:{}}q(c,i,r),c=c[i]}return t}function G(t,e){const i=1===e.length?t:z(t,e.slice(0,-1)),s=e[e.length-1];if(void 0===i?.[s])return!0;if(j(s))return!1;try{return delete i[s],!0}catch{return!1}}const K=Q;function X(){const t=["model","setAttribute","385XSTCAy","4350280MxioOr","fire","authorsIds","12724wKjUXe","removeAttribute","fromVersion","attributes","toVersion","126331WjFHUO","1802532ZhtBFe","5081211FVPizt","_update","set","toJSON","name","1204806SWWFfN","createdAt","creator","map","1999284vjbPnv","diffData","authors","setName","creatorId","7CHwdOy"];return(X=function(){return t})()}function Q(t,e){const i=X();return(Q=function(t,e){return i[t-=230]})(t,e)}!function(t){const e=Q,i=t();for(;;)try{if(356937===-parseInt(e(241))/1+-parseInt(e(248))/2+-parseInt(e(242))/3+-parseInt(e(236))/4*(-parseInt(e(232))/5)+parseInt(e(252))/6*(parseInt(e(257))/7)+parseInt(e(233))/8+parseInt(e(243))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(X);class tt extends((0,t.ObservableMixin)()){id;[K(250)];[K(254)];[K(253)];[K(240)];[K(238)];[K(230)];constructor(e){const i=K;super(),this.id=e.id||(0,t.uid)(),this[i(250)]=e[i(250)]||null,this[i(254)]=e[i(254)]||[],this[i(253)]=e[i(253)]||null,this[i(240)]=e[i(240)]||0,this[i(238)]=e[i(238)]||0,this[i(245)](i(247),e[i(247)]||""),this[i(245)](i(249),e[i(249)]||new Date),this[i(245)](i(239),e[i(239)]||{})}[K(255)](t){this[K(244)]({name:t})}[K(231)](t,e){const i=K,s=V(this[i(239)]);var n;n=e,Y(s,t,()=>n,()=>{}),this[i(244)]({attributes:s})}[K(237)](t){const e=K,i=V(this[e(239)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return G(t,e);if("number"==typeof e?e=E(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),j(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]&&P(e)&&!Object.hasOwn(t,e))return G(t,F(e));if(j(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(244)]({attributes:i})}[K(244)](t,e=!1){const i=K;let s=!1;const n={id:this.id},r=[i(247),i(249),i(253),i(254),i(239),i(240),i(238),i(256)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(254)]&&(n[i(235)]=n[i(254)][i(251)](t=>t.id),delete n[i(254)]),this[i(234)](i(244),n,e))}[K(246)](){const t=K;return{id:this.id,name:this[t(247)],creatorId:this[t(250)]?this[t(250)].id:null,authorsIds:this[t(254)][t(251)](t=>t.id),diffData:this[t(253)],createdAt:this[t(249)],attributes:this[t(239)],fromVersion:this[t(238)],toVersion:this[t(240)]}}}var et=i(782),it=i(211),st=i(783);const nt=rt;function rt(t,e){const i=at();return(rt=function(t,e){return i[t-=384]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(420846===parseInt(e(408))/1*(parseInt(e(411))/2)+-parseInt(e(420))/3+-parseInt(e(405))/4*(parseInt(e(391))/5)+-parseInt(e(388))/6*(-parseInt(e(428))/7)+-parseInt(e(384))/8+-parseInt(e(398))/9+parseInt(e(401))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ot extends et.Plugin{[nt(430)];static get[nt(424)](){return[it.Users]}static get[nt(387)](){return nt(389)}static get[nt(425)](){return!0}static get[nt(390)](){return!0}get[nt(422)](){const t=nt;return this[t(430)][t(422)]}constructor(e){const i=nt;super(e),this[i(430)]=new t.Collection}[nt(412)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([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]),[y([121])]:y([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]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=rt;return t[e(402)](t=>String[e(434)](t))[e(415)]("")}!function(t){const i=u();r[i]=y([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[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([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[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([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===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([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(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([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]))||p(y([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=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1790035200;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=rt,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(432)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=rt;for(const e in window)if(window[y([78,117,109,98,101,114])][i(404)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[nt(395)](t){const e=nt,i=this[e(392)][e(416)][e(419)](e(438));return new tt({id:t.id,name:t[e(385)],creator:t[e(407)]?i[e(437)](t[e(407)]):null,diffData:t[e(397)]||t[e(431)],authors:t[e(403)][e(402)](t=>i[e(437)](t)),createdAt:new Date(t[e(433)]),attributes:t[e(396)],fromVersion:t[e(421)],toVersion:t[e(410)]})}[nt(394)](t,e=0){const i=nt;this[i(430)][i(426)](t,e)}[nt(423)](t){const e=nt;return this[e(430)][e(419)](t)}[nt(409)](t={toJSON:!1}){const e=nt,i=Array[e(427)](this[e(430)]);return i[e(393)](),t[e(386)]?i[e(402)](t=>t[e(386)]()):i}[nt(400)](t){const e=nt;return this[e(430)][e(400)](t)}[nt(414)](t){const e=nt,[,i]=this[e(399)](t,{direction:e(418)});return i}[nt(429)](t){const e=nt,[,i]=this[e(399)](t,{direction:e(435)});return i}[nt(417)](t){const e=nt,i=[];for(const s of this[e(399)](t[e(436)]))if(i[e(413)](s),s.id===t[e(406)])break;return i}*[nt(399)](t,{direction:e=nt(418),filter:i=()=>!0}={}){const s=nt,n=s(418)===e?1:-1;let r=this[s(430)][s(419)](t),o=this[s(400)](r);for(yield r;r;){if(o+=n,r=this[s(423)](o),!r)return;i(r)&&(yield r)}}}function at(){const t=["isPremiumPlugin","65VVxgKh","editor","reverse","addRevision","createRevision","attributes","diffData","1454598mpzgiq","getRevisionsIterator","getIndex","7335250AawSGB","map","authorsIds","isNaN","88080BMfTKR","oldRevisionId","creatorId","17265lZGkuF","getRevisions","toVersion","50wSzYVe","afterInit","push","getEarlierVisibleRevision","join","plugins","getRevisionsInDiff","earlier","get","1380858ZRnUOb","fromVersion","length","getRevision","requires","isOfficialPlugin","add","from","118034hEmHEt","getLaterVisibleRevision","_revisions","data","href","createdAt","fromCharCode","later","newRevisionId","getUser","Users","3680240deJwrm","name","toJSON","pluginName","222LIHbqp","RevisionsRepository"];return(at=function(){return t})()}const ct=ut;function ut(t,e){const i=lt();return(ut=function(t,e){return i[t-=309]})(t,e)}function lt(){const t=["8UVrfGF","htmlProcessor","viewChildrenToDom","getFillerOffset","div","getRevision","1569594mRuomB","domConverter","constructor","createElement","forEach","config","7640811tEexzR","attributes","map","_makeModelFromViewString","data","getRevisionDocumentData","innerHTML","processor","collaboration.channelId","filter","6500384JSiTtg","view","type","render","string","1IyADpT","revision-end","editor","length","_getTypeCharForViewElement","children","546098zsMzWB","startsWith","isPremiumPlugin","childNodes","_removeRevisionMarkers","default","isAttached","get","isOfficialPlugin","from","attachChange","10932GQpSar","append","56744uDlcRb","name","_getViewFromDiffObj","attributesAfter","useFillerType","data-revision-","document","pluginName","_appendChild","toData","insertions","3135JUijwq","parse","domDocument","_setCustomProperty","revision-start","getRevisionRootsAttributes","editing","RevisionHistoryUtils","_typeCharToViewClass","diffData","7965390JLDwHy","fillerOffset","marked","loadRevisionData","customProperties","toModel","_viewClassToTypeChar","domChildrenToView","791vqVWGi"];return(lt=function(){return t})()}!function(t){const e=ut,i=t();for(;;)try{if(575728===-parseInt(e(362))/1*(parseInt(e(368))/2)+parseInt(e(341))/3*(parseInt(e(335))/4)+parseInt(e(316))/5*(parseInt(e(379))/6)+parseInt(e(334))/7*(-parseInt(e(381))/8)+parseInt(e(347))/9+-parseInt(e(326))/10+-parseInt(e(357))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(lt);class ht extends et.Plugin{static get[ct(312)](){return ct(323)}static get[ct(376)](){return!0}static get[ct(370)](){return!0}[ct(332)]=new Map([[st.ViewContainerElement,"c"],[st.ViewAttributeElement,"a"],[st.ViewEmptyElement,"e"],[st.ViewRawElement,"r"],[st.ViewUIElement,"u"]]);[ct(324)]=new Map([["c",st.ViewContainerElement],["a",st.ViewAttributeElement],["e",st.ViewEmptyElement],["r",st.ViewRawElement],["u",st.ViewUIElement]]);async[ct(329)](t,e){const i=ct;if(t[i(325)]||!e)return;const s=this[i(364)][i(346)][i(375)](i(355)),n=await e[i(340)]({channelId:s,revisionId:t.id});t[i(325)]=n[i(325)]}[ct(352)](t){const e=ct,i={};for(const s in t[e(325)]){if(t[e(325)][s][e(378)]&&!t[e(325)][s][e(378)][e(374)])continue;const n=this[e(372)](JSON[e(317)](t[e(325)][s][e(315)])),r=this[e(364)][e(322)][e(358)][e(311)],o=new st.ViewDocumentFragment(r,n[e(349)](t=>this[e(383)](t,!1)));this[e(364)][e(351)][e(354)][e(309)](e(328)),i[s]=this[e(364)][e(351)][e(354)][e(314)](o),this[e(364)][e(351)][e(354)][e(309)](e(373))}return i}[ct(321)](t){const e=ct,i={};for(const s in t[e(325)])t[e(325)][s][e(378)]&&!t[e(325)][s][e(378)][e(374)]||(i[s]=t[e(325)][s][e(384)]||{});return i}[ct(366)](t){const e=ct;return this[e(332)][e(375)](t[e(343)])}[ct(383)](t,e){const i=ct,s=this[i(364)][i(322)][i(358)][i(311)];if(i(361)==typeof t)return new st.ViewText(s,t);{let n,r;r="u"==t[i(359)]||"r"==t[i(359)]?[]:t[i(367)][i(349)](t=>this[i(383)](t,e));const o=this[i(324)][i(375)](t[i(359)])||st.ViewElement,a=this[i(364)][i(351)][i(336)][i(342)];if(n=new o(s,t[i(382)],t[i(348)],r),"u"==t[i(359)]&&t[i(367)][0]){const r=t[i(367)][0];if(n[i(360)]=function(t){const e=i,s=t[e(344)](e(339));return s[e(353)]=r,s[e(371)][0]},e){const t=new st.ViewDocumentFragment(s);t[i(313)](n);const e=Array[i(377)](a[i(337)](t,{bind:!1})),r=a[i(318)][i(344)](i(339));r[i(380)](...e),n=Array[i(377)](a[i(333)](r))[0]}}else if("r"==t[i(359)]&&t[i(367)][0]){const r=t[i(367)][0];if(n[i(360)]=function(t){t[i(353)]=r},e){const t=new st.ViewDocumentFragment(s);t[i(313)](n);const e=Array[i(377)](a[i(337)](t,{bind:!1})),r=a[i(318)][i(344)](i(339));r[i(380)](...e);const o=Array[i(377)](a[i(333)](r));o[i(365)]>1?n[i(313)](o):n=o[0]}}if(t[i(330)])for(const[e,s]of t[i(330)])n[i(319)](e,s);const c=void 0===t[i(327)]?null:t[i(327)];return null!==c&&(n[i(338)]=()=>c),n}}[ct(350)](t){const e=ct,i=JSON[e(317)](t),s=this[e(364)][e(322)][e(358)][e(311)],n=new st.ViewDocumentFragment(s,i[e(349)](t=>this[e(383)](t,!0)));return this[e(364)][e(351)][e(331)](n)}[ct(372)](t){const e=ct;return(t=t[e(356)](t=>!t[e(382)]||e(320)!==t[e(382)]&&e(363)!==t[e(382)]))[e(345)](t=>{const i=e;i(361)!=typeof t&&(t[i(367)]=this[i(372)](t[i(367)]),t[i(348)]=t[i(348)][i(356)](t=>!t[0][i(369)](i(310))))}),t}}function dt(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ft(){}function mt(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 pt(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return vt(t,e,r,o)}return vt(t,e,r,o)}function vt(t,i,s,c){if(Object.is(t,i))return!0;let x=e(t),A=e(i);if("[object Arguments]"===x&&(x=p),"[object Arguments]"===A&&(A=p),x!==A)return!1;switch(x){case r:return t.toString()===i.toString();case o:return B(t.valueOf(),i.valueOf());case a:case l:case u:return Object.is(t.valueOf(),i.valueOf());case n:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(x){case h:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!pt(n,i.get(e),e,t,i,s,c))return!1;return!0;case d:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>pt(o,e,void 0,t,i,s,c));if(-1===a)return!1;n.splice(a,1)}return!0}case f:case g:case y:case k:case b:case"[object BigUint64Array]":case w:case _:case I:case"[object BigInt64Array]":case S:case O:if(N(t)!==N(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!pt(t[e],i[e],e,t,i,s,c))return!1;return!0;case m:return t.byteLength===i.byteLength&&vt(new Uint8Array(t),new Uint8Array(i),s,c);case v:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&vt(new Uint8Array(t),new Uint8Array(i),s,c);case"[object Error]":return t.name===i.name&&t.message===i.message;case p:{if(!(vt(t.constructor,i.constructor,s,c)||mt(t)&&mt(i)))return!1;const e=[...Object.keys(t),...T(t)],n=[...Object.keys(i),...T(i)];if(e.length!==n.length)return!1;for(let n=0;n<e.length;n++){const r=e[n],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!pt(o,i[r],r,t,i,s,c))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function gt(t,e){return function(t,e,i){return pt(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ft)}const yt=kt;function kt(t,e){const i=wt();return(kt=function(t,e){return i[t-=484]})(t,e)}!function(t){const e=kt,i=t();for(;;)try{if(295539===-parseInt(e(752))/1+-parseInt(e(614))/2+parseInt(e(731))/3*(-parseInt(e(622))/4)+parseInt(e(799))/5+-parseInt(e(736))/6*(-parseInt(e(616))/7)+-parseInt(e(712))/8+parseInt(e(627))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wt);class bt extends et.Plugin{[yt(765)];[yt(755)];[yt(610)]=null;[yt(745)];[yt(505)]=null;[yt(734)];[yt(602)];[yt(785)];[yt(750)];[yt(589)];[yt(487)];[yt(695)];[yt(725)];[yt(675)];static get[yt(508)](){return yt(581)}static get[yt(512)](){return!0}static get[yt(527)](){return!0}static get[yt(658)](){return[it.Users,ot,ht,et.PendingActions]}constructor(e){const i=yt;super(e),this[i(745)]=this[i(544)][i(509)][i(665)](i(601)),this[i(589)]=this[i(544)][i(509)][i(665)](i(567)),this[i(734)]=new _t(this[i(544)]),this[i(785)]=this[i(544)][i(691)][i(665)](i(791))||i(729),this[i(750)]=new Map,this[i(675)]=null;const s=(0,t.uid)();this[i(602)]={history:this[i(544)][i(518)][i(594)][i(495)],getLatestVersion:()=>Promise[i(625)](this[i(544)][i(518)][i(594)][i(714)]),getCurrentRevisionId:()=>s},this[i(696)](i(516),!1),this[i(696)](i(513),!0),this[i(696)](i(751),!1),this[i(544)][i(691)][i(603)](i(682),!0),this[i(544)][i(500)][i(536)](i(565))[i(717)]({view:i(690)})}[yt(718)](){const t=yt;this[t(578)](),this[t(544)][t(554)].on(t(699),()=>{const e=t,i=this[e(745)][e(788)](0),s=i&&null===i[e(501)]?i:null;if(this[e(695)]=!!s&&this[e(544)][e(691)][e(665)](e(682)),this[e(544)][e(509)][e(571)](e(781))){const t=this[e(602)][e(529)](),n=this[e(745)][e(788)](t);if(n)this[e(725)]=n[e(683)],this[e(695)]=!1;else{const t=this[e(602)][e(495)][e(757)][e(560)](t=>!t[e(697)]),n=t?t[e(511)]:this[e(602)][e(495)][e(714)];i?(i[e(762)]<n&&i[e(596)]({toVersion:n}),this[e(695)]?(this[e(602)][e(529)]=()=>s.id,this[e(725)]=s[e(683)]):(this[e(725)]=i[e(762)],this[e(695)]=!1)):(this[e(725)]=n,this[e(695)]=!1)}}else s&&(this[e(544)][e(518)][e(594)][e(495)][e(714)]=Math[e(794)](s[e(762)],this[e(544)][e(518)][e(594)][e(495)][e(714)]),s[e(683)]===s[e(762)]?(0!==s[e(683)]&&(this[e(602)][e(529)]=()=>s.id),this[e(695)]=!1):this[e(695)]&&(this[e(602)][e(529)]=()=>s.id,this[e(725)]=s[e(683)])),this[e(695)]||(this[e(725)]=this[e(544)][e(518)][e(594)][e(714)]);this[e(734)][e(718)](this[e(602)][e(495)]),this[e(652)](this[e(725)]),this[e(716)](this[e(725)]),this[e(505)]&&this[e(517)]()}),this[t(586)](t(516)).to(this,t(751),t=>!t),this[t(765)]=this[t(544)][t(691)][t(665)](t(765));const e=this[t(544)];this[t(755)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(503)==r||i(557)==r||i(562)==r||i(576)==r||i(776)==r||i(564)==r||i(573)==r){delete e[n],s=r,clearInterval(this[i(755)]),this[i(755)]=void 0;break}}i(557)==s&&e[i(618)](i(756)),i(562)==s&&e[i(618)](i(670)),i(576)==s&&e[i(618)](i(577)),i(776)==s&&e[i(618)](i(784),i(608)),i(564)==s&&e[i(618)](i(741)),i(573)==s&&e[i(618)](i(732))},1e3)}async[yt(763)](){const t=yt;if(this[t(745)][t(639)]>0){const e=this[t(745)][t(788)](0),i=await this[t(789)](e),s=await this[t(771)](e);this[t(759)](i,s)}}[yt(612)](){const t=yt;super[t(612)](),this[t(755)]&&clearInterval(this[t(755)])}[yt(662)](t){this[yt(602)]=t}async[yt(650)](){const t=yt,e=await this[t(602)][t(723)]();if(e>this[t(610)][t(762)]){await this[t(595)]();const i=this[t(494)]({revision:this[t(610)],to:e});i[t(628)]=i[t(730)][t(587)](e=>this[t(544)][t(509)][t(665)](t(541))[t(654)](e)),this[t(610)][t(596)](i)}}async[yt(779)](e={},i=null){const s=yt,n=[];await this[s(595)](),this[s(695)]=!1,i>this[s(610)][s(762)]&&(i=null),null===i&&(i=await this[s(602)][s(723)]());const r=this[s(585)](i),o=this[s(494)]({from:r,to:i});if(this[s(610)][s(762)]<i){const t=this[s(494)]({revision:this[s(610)],from:i,to:i});t[s(628)]=[],t[s(730)]=[],t.id=this[s(610)].id,this[s(610)][s(596)](t,!0),delete t[s(628)],n[s(786)](t)}e[s(520)]=this[s(544)][s(509)][s(665)](s(541)).me.id,e[s(510)]=e[s(510)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(637)](e);n[s(786)](e);const c=this[s(745)][s(519)](a);if(0!==c){const t=this[s(745)][s(788)](c-1);if(t[s(683)]!==i){const r=this[s(734)][s(689)](i,t[s(762)]),o={id:t.id,diffData:r[s(566)],authorsIds:r[s(730)],authors:r[s(730)][s(587)](t=>this[s(544)][s(509)][s(665)](s(541))[s(654)](t)),fromVersion:i};t===this[s(610)]&&(o[s(758)]=new Date(e[s(758)][s(753)]()+10)),t[s(596)](o,!0),delete o[s(628)],n[s(786)](o)}}if(this[s(505)]){for(const t of n)this[s(539)](t.id,t,!0);this[s(517)]()}return a}[yt(637)](t){const e=yt,i=this[e(745)][e(710)](t);return this[e(505)]&&i.on(e(596),(t,i,s)=>{const n=e;s||(this[n(539)](i.id,i,!0),this[n(517)]())}),this[e(745)][e(598)](i,this[e(647)](i)),i}async[yt(789)](t){const e=yt;return await this[e(589)][e(488)](t,this[e(505)]),this[e(589)][e(789)](t)}async[yt(771)](t){const e=yt;return await this[e(589)][e(488)](t,this[e(505)]),this[e(589)][e(771)](t)}[yt(517)](){const t=yt;if(0===this[t(750)][t(773)])return;if(this[t(751)])return;let e=Array[t(629)](this[t(750)][t(646)]());this[t(750)][t(687)]();for(let i=0;i<e[t(639)];i++){const s=e[i];let n=!1;for(const e of Object[t(777)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(648)](t=>null!==t),!e[t(639)])return;for(let i=0;i<e[t(639)];i++){const s=e[i];void 0!==s[t(683)]&&void 0===s[t(762)]&&(s[t(762)]=this[t(745)][t(788)](s.id)[t(762)]),void 0!==s[t(762)]&&void 0===s[t(683)]&&(s[t(683)]=this[t(745)][t(788)](s.id)[t(683)])}const i=this[t(544)][t(691)][t(665)](t(791));this[t(751)]=!0,this[t(555)](),this[t(505)][t(623)](e,i)[t(642)](()=>{this[t(751)]=!1})[t(801)](e=>{const i=t;if(e)for(const t of e)this[i(681)]({id:t.id,createdAt:t[i(758)]});this[i(735)](),this[i(517)]()})}[yt(494)]({revision:t=null,from:e=null,to:i=null}){const s=yt;e=null!==e?e:t[s(683)],i=null!==i?i:t[s(762)];const n=this[s(734)][s(689)](e,i),r={diffData:n[s(566)],authorsIds:n[s(730)],fromVersion:e,toVersion:i};if(!t||i!==t[s(762)]){const t=i-1,e=this[s(602)][s(495)][s(688)](t);r[s(758)]=e&&e[s(758)]||new Date}if(this[s(675)]&&e===this[s(675)][s(683)])for(const t of this[s(675)][s(628)])r[s(730)][s(606)](t.id)||r[s(730)][s(786)](t.id);return r}[yt(539)](t,e,i){const s=yt;if(this[s(750)][s(571)](t)){const n=this[s(750)][s(665)](t);e=i?{...n,...e}:{...e,...n}}this[s(750)][s(696)](t,e)}[yt(681)](t){const e=yt,i=this[e(745)][e(788)](t.id);if(t[e(758)]&&(t[e(758)]=new Date(t[e(758)])),t[e(730)]){const i=this[e(544)][e(509)][e(665)](e(541));t[e(628)]=t[e(730)][e(587)](t=>i[e(654)](t))}i[e(596)](t,!0)}[yt(652)](t){const e=yt,i=this[e(745)][e(788)](this[e(745)][e(639)]-1);if(i)this[e(785)]=i.id;else{const i=!this[e(544)][e(518)][e(594)][e(525)][e(560)](t=>this[e(544)][e(518)][e(550)](t)),s=this[e(544)][e(509)][e(665)](e(541)).me.id,n=dt(this[e(544)][e(619)],e(i?746:787));this[e(568)]({from:t,to:t,id:this[e(785)],name:n,creatorId:s})}}[yt(716)](t){const e=yt,i=this[e(602)][e(529)]();this[e(610)]=this[e(745)][e(788)](i),this[e(610)]||(this[e(610)]=this[e(568)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[yt(595)](){const t=yt;this[t(695)]&&!this[t(675)]&&(await this[t(589)][t(488)](this[t(610)],this[t(505)]),this[t(734)][t(546)](this[t(610)]),this[t(675)]={fromVersion:this[t(610)][t(683)],authors:this[t(610)][t(628)][t(726)]()})}[yt(759)](e,i){const s=yt;let n=this[s(544)][s(691)][s(665)](s(526)),r=this[s(544)][s(691)][s(665)](s(617));if(void 0===n){n={};for(const t of this[s(544)][s(518)][s(594)][s(707)]())n[t]=""}if(s(748)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(544)][s(518)][s(594)][s(707)]())r[t]={}}let o=!1;const a=Object[s(777)](n),c=Object[s(777)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(593)]()){o=!0;break}if(!gt(r[t],i[t])&&Object[s(777)](r[t])[s(639)]>0){o=!0;break}}o||(o=c[s(547)](t=>!this[s(544)][s(518)][s(594)][s(768)](t))),o&&(0,t.logWarning)(s(679),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(544)][s(691)][s(696)](s(526),e),this[s(544)][s(691)][s(696)](s(617),i)}[yt(555)](){const t=yt;if(!this[t(487)]){const e=this[t(544)][t(509)][t(665)](t(666));this[t(487)]=e[t(780)](dt(this[t(544)][t(619)],t(740)))}}[yt(735)](){const t=yt;this[t(487)]&&(this[t(544)][t(509)][t(665)](t(666))[t(743)](this[t(487)]),this[t(487)]=null)}[yt(647)](t){const e=yt,i=this[e(745)][e(561)]();i[e(499)]();let s=0;for(;s<i[e(639)];){const n=i[s];if(n===this[e(610)]){s++;continue}if(n.id===this[e(785)])break;const r=t[e(762)]-n[e(762)]||t[e(683)]-n[e(683)];if(r>0)break;if(r<0)s++;else{if(!t[e(501)]&&n[e(501)])break;if(n[e(501)]||!t[e(501)]){if(t[e(758)]>n[e(758)])break;s++}else s++}}return s}[yt(585)](t){const e=yt,i=this[e(745)][e(561)]();i[e(499)](),i[e(774)]();const s=i[e(560)](i=>i[e(762)]<=t)[e(762)];return s<this[e(725)]?this[e(725)]:s}[yt(568)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=yt,o=this[r(494)]({from:e,to:i});o[r(510)]=t,o[r(520)]=s,o.id=n;const a=this[r(637)](o);return this[r(505)]&&this[r(539)](o.id,o,!0),a}[yt(578)](){const t=yt;this[t(544)][t(500)][t(536)](t(754))[t(719)]({model:t(690)})}}function wt(){const t=["children","_touchedMarkers","_handleMoveOperation","for","_prepareViewToSave","_removeMetaData","_bufferUpdate","getAttribute","Users","vid_start","_handleInsertOperation","editor","source","loadState","some","markers","getWalker","hasContent","_handleMarkerOperation","_diffRoots","isEqual","data","_addPendingAction","_isAttached","revisionHistoryLicenseKeyInvalid","_lastFrom","_handleOperation","find","getRevisions","revisionHistoryLicenseKeyExpired","rootName","revisionHistoryLicenseKeyEvaluationLimit","upcast","diffData","RevisionHistoryUtils","_makeRevision","_clone","_fixOperation","has","_makeModelFromViewString","revisionHistoryLicenseKeyUsageLimit","domDocument","key","revisionHistoryLicenseKeyDomainLimit","domainLimit","_setConversion","_calculateMetaData","_markers","RevisionTracker","tableCell","$text","createPositionBefore","_getFromVersion","bind","map","fillerOffset","_utils","getRange","sourcePosition","_appendChild","trim","document","_loadState","_update","merge","addRevision","_touched","_handleRootOperation","RevisionsRepository","_source","define","toView","childCount","includes","insertion","RevisionHistory","nodes","currentRevision","outerHTML","destroy","_idsRoots","1034914Uardme","previousPosition","9317oHFmSJ","rootsAttributes","_showLicenseError","locale","_revisionId","item","1975132usTZOp","updateRevisions","isAttached","resolve","fromEntries","10793079HZyrHe","authors","from","_makeIdsRoot","removeRootAttribute","getCustomProperties","stickiness","revision:","clone","userId","addRevisionData","vid_end","length","offset","split","finally","sort","createPositionAt","createPositionAfter","values","_findInsertionIndex","filter","detachRoot","update","addRoot","_createInitialRevision","start","getUser","changeRootAttribute","_execute","end","requires","_fixPosition","path","text","setSource","domConverter","_handleSplitOperation","get","PendingActions","_setAttribute","deletions","_getTypeCharForViewElement","expired","root","delete","move","$graveyard","_loadedStateData","getTransformedByOperation","getFillerOffset","deletion","editor-initial-data-replaced-with-revision-data","attributesAfter","setRevisionData","revisionHistory.resumeUnsavedRevision","fromVersion","_authorId","createRangeIn","affectsData","clear","getOperation","getData","revision","config","_fixRange","_handleRootAttributeOperation","_insertChild","_continueCurrentRevision","set","_isInit","_getViewJson","ready","_cloneOperation","createElement","attributesBefore","_applyOperations","_getBaseVids","_markChanges","getNodeByPath","getRootNames","createPositionFromPath","graveyardPosition","createRevision","splitPosition","603712AOwnTs","_createFromRanges","version","customProperties","_createCurrentRevision","dataToMarker","init","markerToData","_baseRootsAttributes","_baseRoots","reinsert","getLatestVersion","attachChange","_startingVersion","slice","htmlProcessor","_transformMarkers","initial","authorsIds","3shNtbS","usageLimit","getOperations","_revisionDataBuilder","_removePendingAction","1158pexVEW","_getPreviousFrom","keepParagraph","marker","PENDING_ACTION_REVISION_HISTORY","evaluationLimit","createRange","remove","innerHTML","repository","Empty document","documentFragment","string","howMany","_bufferedUpdates","_isPendingUpdate","469976XruWnG","getTime","dataDowncast","_licenseKeyCheckInterval","invalid","_operations","createdAt","_replaceEditorDataWithRevisionData","_diffRootsAttributes","elementEnd","toVersion","afterInit","getMovedRangeStart","licenseKey","newValue","render","getRoot","_saveMetaData","targetPosition","getRevisionRootsAttributes","parent","size","shift","insertionPosition","revisionHistoryLicenseKeyNotAllowed","keys","paragraph","saveRevision","add","RealTimeCollaborationClient","_copyMarkers","type","featureNotAllowed","_initialRevisionId","push","Initial revision","getRevision","getRevisionDocumentData","_getState","collaboration.channelId","rawElement","uiElement","max","_lastTo","_baseIdsRoots","isAdd","startsWith","1980525zTgryk","_touchedRoots","then","reInit","$comment","NEGATIVE_INFINITY","_generateTape","_reset","_pendingAction","loadRevisionData","_savedMetaData","offsetSize","getChild","getChildren","position","buildRevisionData","history","insertions","oldRange","element","reverse","conversion","creator","_startingRevisionId","revisionHistoryLicenseKeyValid","stringify","adapter","nodeAfter","vid","pluginName","plugins","name","baseVersion","isOfficialPlugin","isEnabled","_processRootBeforeSave","_handleMergeOperation","isReady","sendBufferedUpdates","model","getIndex","creatorId","getAttributes","newRange","insert","addRootAttribute","roots","initialData","isPremiumPlugin","getAncestors","getCurrentRevisionId","_getVidAttributeName","range","elementStart"];return(wt=function(){return t})()}class _t{[yt(544)];[yt(545)];[yt(489)];[yt(558)];[yt(795)];[yt(580)];[yt(552)];[yt(760)];[yt(721)];[yt(720)];[yt(613)];[yt(796)];[yt(599)];[yt(534)];[yt(800)];[yt(620)];[yt(502)];constructor(t){const e=yt;this[e(544)]=t,this[e(489)]=new Map,this[e(558)]=-1,this[e(795)]=-1,this[e(580)]=new Map,this[e(552)]=new Map,this[e(760)]=new Map,this[e(721)]=new Map,this[e(720)]=new Map,this[e(613)]=new Map,this[e(796)]=new Map,this[e(599)]=new Map,this[e(534)]=new Map,this[e(800)]=new Map,this[e(620)]=1}[yt(718)](t){const e=yt;this[e(545)]=t;const i=new Map,s=new Map,n=this[e(544)][e(518)][e(594)][e(525)][e(587)](t=>t[e(563)]);for(const t of n){const n=this[e(544)][e(518)][e(594)][e(768)](t),r=It(n);i[e(696)](t,r),s[e(696)](t,Object[e(626)](n[e(521)]()))}const r=Array[e(629)](this[e(544)][e(518)][e(548)])[e(587)](t=>[t[e(510)],t[e(590)]()]),o=this[e(545)][e(714)];this[e(769)](o,i,r,s),this[e(502)]=this[e(620)];const a=new Map,c=new Map;for(const t of n){const i=St(t);a[e(696)](t,i),c[e(696)](t,{})}this[e(769)](Number[e(484)],a,[],c)}[yt(689)](t,e){const i=yt;if(this[i(558)]===t&&this[i(795)]<=e)this[i(489)][i(773)]>1&&this[i(538)](this[i(795)]),this[i(703)](this[i(795)],e,!0);else{if(!this[i(489)][i(571)](t)){const e=this[i(737)](t);this[i(579)](e,t,!1)}this[i(579)](t,e,!0)}return this[i(558)]=t,this[i(795)]=e,this[i(790)]()}[yt(546)](t){const e=yt;if(!this[e(489)][e(571)](t[e(683)])){const i=this[e(737)](t[e(683)]);this[e(579)](i,t[e(683)],!1)}this[e(579)](t[e(683)],t[e(762)],!1);const i=this[e(544)][e(509)][e(665)](e(567));this[e(486)](),this[e(558)]=t[e(683)],this[e(795)]=t[e(762)];for(const s in t[e(566)]){const n=t[e(566)][s][e(724)],r=V(t[e(566)][s][e(702)])||{},o=i[e(572)](t[e(566)][s][e(668)]);o[e(563)]=s,o[e(556)]=!n||!n[e(624)],o[e(624)]=()=>o[e(556)],this[e(721)][e(696)](s,o),this[e(720)][e(696)](s,r),n&&this[e(800)][e(696)](s,n);const a=this[e(630)](o);this[e(796)][e(696)](s,a);for(const[t,i]of o[e(548)]){if(!t[e(798)](e(634)))continue;const s=t[e(641)](":")[2];for(const t of i[e(549)]({singleCharacters:!0})){const i=this[e(530)](t),n=e(761)==t[e(783)]?t[e(615)][e(660)][e(726)](0,-1):t[e(615)][e(660)],r=a[e(706)](n)[e(540)](i);this[e(599)][e(696)](r,{userId:s})}o[e(548)][e(672)](t)}}this[e(502)]=this[e(620)];const s=[...Array(this[e(620)])[e(777)]()][e(726)](1)[e(648)](t=>!this[e(599)][e(571)](t));let n=0;const r=new Map;for(const o in t[e(566)]){const a=t[e(566)][o][e(724)],c=V(t[e(566)][o][e(680)])||{},u=i[e(572)](t[e(566)][o][e(496)]);u[e(563)]=o,u[e(556)]=!a||a[e(624)],u[e(624)]=()=>u[e(556)],this[e(552)][e(696)](o,u),this[e(760)][e(696)](o,c);const l=this[e(630)](u,Number[e(484)]);this[e(613)][e(696)](o,l),r[e(696)](o,u[e(624)]()?c:{});for(const[t,i]of u[e(548)]){if(!t[e(798)](e(634)))continue;const s=t[e(641)](":")[2];for(const t of i[e(549)]({singleCharacters:!0})){const i=this[e(530)](t),n=this[e(620)]++,r=e(761)==t[e(783)]?t[e(615)][e(660)][e(726)](0,-1):t[e(615)][e(660)];l[e(706)](r)[e(667)](i,n),this[e(599)][e(696)](n,{userId:s})}u[e(548)][e(672)](t)}for(const t of this[e(544)][e(518)][e(685)](u)[e(549)]({singleCharacters:!0})){const i=this[e(530)](t),r=e(761)==t[e(783)]?t[e(615)][e(660)][e(726)](0,-1):t[e(615)][e(660)],o=l[e(706)](r);o[e(540)](i)>0||o[e(667)](i,s[n++])}for(const[t,i]of u[e(548)])t[e(798)](e(634))||this[e(580)][e(696)](t,i)}const{roots:o}=this[e(489)][e(665)](t[e(683)]),{roots:a}=this[e(489)][e(665)](t[e(762)]),c=It(o[e(665)](e(674)));this[e(721)][e(696)](e(674),c),this[e(796)][e(696)](e(674),this[e(630)](c,Number[e(484)]));const u=It(a[e(665)](e(674)));this[e(552)][e(696)](e(674),u),this[e(613)][e(696)](e(674),this[e(630)](u));const l=Array[e(629)](this[e(552)])[e(587)](([t,e])=>[t,It(e)]);this[e(769)](this[e(795)],l,this[e(580)],r)}[yt(802)](){const t=yt;this[t(486)](),this[t(558)]=-1,this[t(795)]=-1,this[t(489)][t(687)](),this[t(718)](this[t(545)])}[yt(769)](t,e,i,s){const n=yt,r=new Map(e),o=new Map(V(s)),a=new Map;for(const[t,e]of i)a[n(696)](t,{start:e[n(653)][n(635)](),end:e[n(657)][n(635)](),rootName:e[n(671)][n(563)]});this[n(489)][n(696)](t,{roots:r,markers:a,rootsAttributes:o})}[yt(538)](t){const e=yt;this[e(489)][e(672)](t)}[yt(486)](){const t=yt;this[t(599)][t(687)](),this[t(534)][t(687)](),this[t(800)][t(687)](),this[t(552)][t(687)](),this[t(760)][t(687)](),this[t(721)][t(687)](),this[t(720)][t(687)](),this[t(613)][t(687)](),this[t(796)][t(687)](),this[t(580)][t(687)](),this[t(620)]=1,this[t(502)]=this[t(620)]}[yt(630)](t,e=null){const i=yt;let s=null;t.is(i(747))||(s=new st.ModelElement(t[i(510)],{vid_start:null===e?this[i(620)]++:e++}));const n=[];for(const s of t[i(492)]())if(s.is(i(498))){n[i(786)](this[i(630)](s,e));const t=n[n[i(639)]-1];null!==e&&(e=t.is(i(498),i(583))?t[i(540)](i(507))+1:t[i(540)](i(638))+1)}else for(let t=0;t<s[i(490)];t++)n[i(786)](new st.ModelElement(i(583),{vid:null===e?this[i(620)]++:e++}));if(t.is(i(747))){const e=St(t[i(563)]);return e[i(694)](0,n),e}return s[i(667)](i(638),null===e?this[i(620)]++:e++),s[i(694)](0,n),s}[yt(579)](t,e,i){const s=yt;this[s(486)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(489)][s(665)](t);this[s(721)]=new Map(n),this[s(720)]=new Map(V(o));for(const[t,e]of this[s(721)])if(s(674)!==t&&(this[s(552)][s(696)](t,It(e)),this[s(760)]=new Map(V(o)),i)){const i=this[s(620)];this[s(613)][s(696)](t,this[s(630)](e)),this[s(796)][s(696)](t,this[s(630)](e,i))}this[s(502)]=this[s(620)],this[s(552)][s(696)](s(674),It(this[s(721)][s(665)](s(674)))),i&&this[s(613)][s(696)](s(674),this[s(630)](this[s(721)][s(665)](s(674))));for(const[t,e]of r){const i=this[s(721)][s(665)](e[s(563)]),n=this[s(552)][s(665)](e[s(563)]),r=new st.ModelRange(this[s(659)](e[s(653)],i),this[s(659)](e[s(657)],i)),o=this[s(692)](r,n);i[s(548)][s(696)](t,r),this[s(580)][s(696)](t,o)}this[s(703)](t,e,i)}[yt(703)](t,e,i){const s=yt;for(const n of this[s(545)][s(733)](t,e))this[s(559)](n,i);for(const t of this[s(552)][s(646)]())t[s(548)][s(687)]();for(const[t,e]of this[s(580)])this[s(552)][s(665)](e[s(671)][s(563)])[s(548)][s(696)](t,e[s(635)]());const n=new Map,r=new Map;for(const[t,e]of this[s(552)])n[s(696)](t,It(e)),r[s(696)](t,this[s(760)][s(665)](t));this[s(769)](e,n,this[s(580)],r)}[yt(737)](t){const e=yt,i=Array[e(629)](this[e(489)][e(777)]());i[e(643)]((t,e)=>t-e),i[e(499)]();for(const e of i)if(e<t)return e;return Number[e(484)]}[yt(782)](t,e){const i=yt,s=Array[i(629)](e[i(548)])[i(587)](([e,s])=>[e,this[i(692)](s,t)]);t[i(548)]=new Map(s)}[yt(728)](t){const e=yt;for(const i of this[e(580)][e(646)]()){const s=i[e(676)](t),n=st.ModelRange[e(713)](s);i[e(653)]=n[e(653)],i[e(657)]=n[e(657)]}}[yt(559)](t,e){const i=yt;if(i(651)!=t[i(783)]&&i(649)!=t[i(783)]){if(i(523)==t[i(783)]){const s=t[i(493)][i(671)][i(563)];this[i(552)][i(571)](s)||(this[i(552)][i(696)](s,St(s,!0)),this[i(760)][i(696)](s,{}),e&&this[i(613)][i(696)](s,St(s,!0)))}else{if(i(524)==t[i(783)]||i(631)==t[i(783)]||i(655)==t[i(783)])return void this[i(693)](t);i(739)==t[i(783)]&&this[i(551)](t)}if(i(739)!==t[i(783)]){const e=this[i(700)](t,this[i(552)]);e[i(656)](),this[i(728)](e)}if(e)switch(t[i(783)]){case i(523):this[i(543)](t);break;case i(673):case i(743):case i(722):this[i(535)](t);break;case i(597):this[i(515)](t);break;case i(641):this[i(664)](t)}}else this[i(600)](t,e)}[yt(700)](t,e){const i=yt,s=t[i(635)]();return s[i(684)]=t[i(684)],this[i(570)](s,e),s}[yt(704)](t){const e=yt;return t[e(587)](t=>{const i=e,s=this[i(530)](t);return Number(t[i(621)][i(540)](s))})}[yt(485)](t,e){const i=yt;if(t.is(i(498),i(583)))e[i(786)]({item:t,type:i(661)});else{t.is(i(498))&&e[i(786)]({item:t,type:i(532)});for(const s of t[i(492)]())this[i(485)](s,e);t.is(i(498))&&e[i(786)]({item:t,type:i(761)})}return e}[yt(790)](){const t=yt,e=new Map(this[t(599)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(721)][t(777)](),...this[t(552)][t(777)]()]);a[t(672)](t(674));for(const e of a){const i=this[t(552)][t(665)](e)||St(e,!1),s=this[t(721)][t(665)](e)||St(e,!1);i[t(624)]()||s[t(624)]()?(n[t(496)][e]=It(i),n[t(668)][e]=It(s),this[t(782)](n[t(668)][e],s),this[t(782)](n[t(496)][e],i),r[t(496)][e]=this[t(485)](this[t(613)][t(665)](e),[]),r[t(668)][e]=this[t(485)](this[t(796)][t(665)](e)||St(e,!1),[])):a[t(672)](e)}for(const n of a){const o=r[t(496)][n];for(const n of o){const r=this[t(530)](n),o=n[t(621)][t(540)](r);i[t(672)](o),o>=this[t(502)]&&s[t(696)](o,e[t(665)](o))}}for(const n of a){const a=r[t(496)][n],c=this[t(704)](r[t(668)][n]);let u=0;for(const n of a){const r=this[t(530)](n),a=n[t(621)][t(540)](r);if(!s[t(571)](a)&&!o[t(571)](a))if(i[t(571)](a))u++;else{if(a!=c[u]){const s=e[t(665)](a)||e[t(665)](c[u]);for(;a!=c[u];)i[t(571)](c[u])||(o[t(696)](c[u],s),e[t(696)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(496)][e];for(const e of n){const n=this[t(530)](e),r=e[t(621)][t(540)](n);if(o[t(571)](r)){const e=o[t(665)](r);i[t(571)](r)||i[t(696)](r,{...e}),s[t(696)](r,{...e})}}}for(const e of i[t(777)]())e>=this[t(502)]&&i[t(672)](e);const c=new Map;for(const e of a){let n=r[t(496)][e];for(const e of n)if(e[t(621)].is(t(498),t(582))){const i=this[t(530)](e),n=e[t(621)][t(540)](i);if(s[t(571)](n)){const i=e[t(621)][t(772)][t(772)][t(540)](t(542)),r=c[t(665)](i)||new Set;r[t(780)](s[t(665)](n)[t(636)]),c[t(696)](i,r)}}n=r[t(668)][e];for(const e of n)if(e[t(621)].is(t(498),t(582))){const s=this[t(530)](e),n=e[t(621)][t(540)](s);if(i[t(571)](n)){const s=e[t(621)][t(772)][t(772)][t(540)](t(542)),r=c[t(665)](s)||new Set;r[t(780)](i[t(665)](n)[t(636)]),c[t(696)](s,r)}}for(const e of c[t(777)]())(s[t(571)](e)||i[t(571)](e))&&c[t(672)](e)}for(const e of a){const n=r[t(496)][e];let o=null,a=null;for(const e of n){const n=this[t(530)](e),r=e[t(621)][t(540)](n),u=c[t(665)](r);u&&t(532)==e[t(783)]&&(o=Array[t(629)](u)[0],a=e[t(621)][t(540)](t(638))),o&&(i[t(696)](r,{userId:o}),s[t(696)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(668)][e],a=n[t(496)][e];for(const{userId:e}of this[t(534)][t(646)]())null!==e&&l[t(780)](e);for(const{userId:e}of this[t(800)][t(646)]())null!==e&&l[t(780)](e);this[t(705)](a,r[t(496)][e],s,t(607),l),this[t(705)](o,r[t(668)][e],i,t(678),l),u[e]={insertions:this[t(537)](a),deletions:this[t(537)](o),attachChange:this[t(800)][t(665)](e)||null,attributesBefore:V(this[t(720)][t(665)](e))||{},attributesAfter:V(this[t(760)][t(665)](e))}}return{diffData:u,authorsIds:Array[t(629)](l)}}[yt(514)](t){const e=yt;for(const[,i]of t[e(548)]){const t=i[e(653)][e(528)]()[e(648)](t=>e(582)==t[e(510)]);for(const i of t)1==i[e(605)]&&i[e(491)](0).is(e(498),e(778))&&i[e(491)](0)[e(667)](e(738),!0)}}[yt(537)](t){const e=yt;this[e(514)](t);const i=this[e(544)][e(554)][e(604)](t,{}),s=Array[e(629)](i[e(492)]())[e(587)](t=>this[e(698)](t));return JSON[e(504)](s)}[yt(698)](t){const e=yt;if(t.is(e(583)))return t[e(554)];{const i=this[e(544)][e(509)][e(665)](e(567)),s=t,n=this[e(544)][e(554)][e(727)][e(663)],r={type:i[e(669)](s),name:s[e(510)],attributes:Array[e(629)](s[e(521)]()),children:Array[e(629)](s[e(492)]())[e(587)](t=>this[e(698)](t))};if(t.is(e(793))&&e(803)!=t[e(510)]){const i=t[e(767)](n[e(574)],n);r[e(533)][e(786)](i[e(611)])}else if(t.is(e(792))){const i=n[e(574)][e(701)](s[e(510)]);t[e(767)](i,n),r[e(533)][e(786)](i[e(744)])}const o=Array[e(629)](s[e(632)]());o[e(639)]>0&&(r[e(715)]=o);const a=s[e(677)]();return null!==a&&(r[e(588)]=a),r}}[yt(705)](t,e,i,s,n){const r=yt;let o=null,a=null,c=0;const u=this[r(544)][r(518)];for(let s=0;s<e[r(639)];s++){const n=this[r(530)](e[s]),c=e[s][r(621)][r(540)](n),h=i[r(665)](c),d=s==e[r(639)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(636)]!=o[r(636)])&&(l(h,Ot(a,t,u),Ot(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,Ot(a,t,u),Tt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(636)],d=l(634)+s+":"+h+":"+c++,f=u[l(742)](i,a);t[l(548)][l(696)](d,f),null!==h&&n[l(780)](h)}}[yt(530)](t){const e=yt;switch(t[e(783)]){case e(532):return e(542);case e(761):return e(638);default:return e(507)}}[yt(570)](t,e){const i=yt;t[i(511)]=null;for(const s in t){const n=t[s];if(n instanceof st.ModelPosition){const r=e[i(665)](n[i(671)][i(563)]);t[s]=this[i(659)](n,r)}if(n instanceof st.ModelRange){const r=e[i(665)](n[i(671)][i(563)]);t[s]=this[i(692)](n,r)}i(671)===s&&(t[i(671)]=e[i(665)](t[i(671)][i(563)]))}}[yt(692)](t,e){const i=yt;return this[i(544)][i(518)][i(742)](this[i(659)](t[i(653)],e),this[i(659)](t[i(657)],e))}[yt(659)](t,e){const i=yt;return this[i(544)][i(518)][i(708)](e,t[i(660)],t[i(633)])}[yt(543)](t){const e=yt,i=this[e(613)][e(665)](t[e(493)][e(671)][e(563)]),s=this[e(659)](t[e(493)],i),n=null===t[e(684)]?null:t[e(684)]||this[e(544)][e(509)][e(665)](e(541)).me.id,r=s[e(772)],o=this[e(620)],a=[];for(const i of t[e(609)])if(i.is(e(498)))a[e(786)](this[e(630)](i));else for(let t=0;t<i[e(490)];t++)a[e(786)](new st.ModelElement(e(583),{vid:this[e(620)]++}));const c=this[e(620)];for(let t=o;t<c;t++)this[e(599)][e(696)](t,{userId:n});r[e(694)](s[e(640)],a)}[yt(535)](t){const e=yt;(t=this[e(700)](t,this[e(613)]))[e(656)]();const i=null===t[e(684)]?null:t[e(684)]||this[e(544)][e(509)][e(665)](e(541)).me.id,s=t[e(764)](),n=s[e(772)],r=s[e(640)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(491)](e);r.is(a(498),a(583))?s[a(696)](r[a(540)](a(507)),{userId:i}):(s[a(696)](r[a(540)](a(542)),{userId:i}),t(s,r,0,r[a(605)]),s[a(696)](r[a(540)](a(638)),{userId:i}))}}(this[e(599)],n,r,r+t[e(749)])}[yt(515)](t){const e=yt,i=null===(t=this[e(700)](t,this[e(613)]))[e(684)]?null:t[e(684)]||this[e(544)][e(509)][e(665)](e(541)).me.id,s=t[e(770)][e(772)],n=t[e(591)][e(772)],r=s[e(540)](e(638)),o=n[e(540)](e(542));s[e(667)](e(638),n[e(540)](e(638))),n[e(667)](e(638),r),this[e(599)][e(696)](o,{userId:i}),this[e(599)][e(696)](r,{userId:i}),t[e(656)]()}[yt(664)](t){const e=yt,i=null===(t=this[e(700)](t,this[e(613)]))[e(684)]?null:t[e(684)]||this[e(544)][e(509)][e(665)](e(541)).me.id,s=t[e(709)],n=t[e(711)][e(772)];t[e(656)]();const r=n[e(540)](e(638)),o=t[e(775)][e(506)];if(s){const t=o[e(540)](e(638)),s=n[e(540)](e(638));n[e(667)](e(638),t),o[e(667)](e(638),s),this[e(599)][e(696)](n[e(540)](e(638)),{userId:i}),this[e(599)][e(696)](o[e(540)](e(542)),{userId:i})}else{const t=this[e(620)]++,s=this[e(620)]++;n[e(667)](e(638),t),o[e(667)](e(542),s),o[e(667)](e(638),r),this[e(599)][e(696)](t,{userId:i}),this[e(599)][e(696)](s,{userId:i})}}[yt(551)](t){const e=yt;if(!t[e(686)])return;const i=(t=this[e(700)](t,this[e(552)]))[e(497)]?t[e(497)][e(671)]:null,s=t[e(522)]?t[e(522)][e(671)]:null;i&&this[e(580)][e(672)](t[e(510)]),s&&this[e(580)][e(696)](t[e(510)],t[e(522)][e(635)]());const n=null===t[e(684)]?null:t[e(684)]||this[e(544)][e(509)][e(665)](e(541)).me.id,r=t[e(510)];if(!this[e(534)][e(571)](r))return void this[e(534)][e(696)](r,{range:t[e(497)],userId:n});const o=this[e(534)][e(665)](r),a=o[e(531)],c=t[e(522)];null==a&&null==c||a&&c&&a[e(553)](c)?this[e(534)][e(672)](t[e(510)]):o[e(636)]=n}[yt(600)](t,e){const i=yt;this[i(552)][i(571)](t[i(563)])?this[i(552)][i(665)](t[i(563)])[i(556)]=t[i(797)]:(this[i(552)][i(696)](t[i(563)],St(t[i(563)],!0)),this[i(760)][i(696)](t[i(563)],{}),e&&this[i(613)][i(696)](t[i(563)],St(t[i(563)],!0)));const s=null===t[i(684)]?null:t[i(684)]||this[i(544)][i(509)][i(665)](i(541)).me.id,n=this[i(800)][i(665)](t[i(563)]);n&&n[i(636)]===s?this[i(800)][i(672)](t[i(563)]):this[i(800)][i(696)](t[i(563)],{userId:s,isAttached:t[i(797)]})}[yt(693)](t){const e=yt,i=this[e(760)][e(665)](t[e(671)][e(563)]);null===t[e(766)]?delete i[t[e(575)]]:i[t[e(575)]]=t[e(766)]}}function It(t){const e=yt,i=St(t[e(563)],t[e(624)]());for(const s of t[e(492)]()){const t=s[e(569)](!0);i[e(592)](t)}return i}function St(t,e=!0){const i=yt,s=new st.ModelDocumentFragment;return s[i(563)]=t,s[i(556)]=e,s[i(624)]=()=>s[i(556)],s}function Ot(t,e,i){const s=yt,n=s(761)==t[s(783)]?i[s(644)](t[s(621)],s(657)):i[s(584)](t[s(621)]);return i[s(708)](e,n[s(660)],n[s(633)])}function Tt(t,e,i){const s=yt,n=s(532)==t[s(783)]?i[s(644)](t[s(621)],0):i[s(645)](t[s(621)]);return i[s(708)](e,n[s(660)],n[s(633)])}var xt=i(355),Nt=i(311),At=i(789),Rt=i.n(At),Mt=i(437),Vt=i.n(Mt),Et=i(298),Dt=i.n(Et),Ct=i(207),Ft=i.n(Ct),jt=i(825),Lt=i.n(jt),Pt=i(416),zt={attributes:{"data-cke":!0}};zt.setAttributes=Ft(),zt.insert=Dt().bind(null,"head"),zt.domAPI=Vt(),zt.insertStyleElement=Lt();Rt()(Pt.A,zt);Pt.A&&Pt.A.locals&&Pt.A.locals;var Wt=i(450),Ut={attributes:{"data-cke":!0}};Ut.setAttributes=Ft(),Ut.insert=Dt().bind(null,"head"),Ut.domAPI=Vt(),Ut.insertStyleElement=Lt();Rt()(Wt.A,Ut);Wt.A&&Wt.A.locals&&Wt.A.locals;function Ht(t,e){const i=$t();return(Ht=function(t,e){return i[t-=128]})(t,e)}const Zt=Ht;function $t(){const t=["5622320dNkJgm","3060452FRCEFa","revisionName","4BYFiCD","_createRevisionNameInput","focusTracker","setTemplate","initializeCssTransitionDisablerMixin","reset","element","render","arrowup","5SBmvdS","input","ck-responsive-form","errorText","add","value","ck-revision-history-save-revision-form","locale","listenTo","arrowleft","revisionNameInputValue","3974823kFZIzI","set","220","35670NsIEJz","trim","arrowright","focus","optional","Name of the revision","187518FPhfAv","9527112dPIOZM","arrowdown","form","extendTemplate","keystrokes","revisionNameInputView","459613DzxmbA","1539ffCxxo","label","fieldView","stopPropagation"];return($t=function(){return t})()}!function(t){const e=Ht,i=t();for(;;)try{if(877532===-parseInt(e(171))/1*(parseInt(e(135))/2)+parseInt(e(155))/3+-parseInt(e(133))/4+-parseInt(e(144))/5*(parseInt(e(164))/6)+parseInt(e(165))/7+-parseInt(e(132))/8+-parseInt(e(128))/9*(-parseInt(e(158))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Bt extends((0,Nt.CssTransitionDisablerMixin)(Nt.View)){[Zt(137)];[Zt(169)];[Zt(170)];constructor(e,i){const s=Zt;super(e),this[s(137)]=new t.FocusTracker,this[s(169)]=new t.KeystrokeHandler,this[s(156)](s(154),""),this[s(170)]=this[s(136)](i),this[s(138)]({tag:s(167),attributes:{class:["ck",s(150),s(146)],tabindex:"-1"},children:[this[s(170)]]}),this[s(139)]()}[Zt(142)](){const t=Zt;super[t(142)](),(0,Nt.submitHandler)({view:this}),this[t(137)][t(148)](this[t(170)][t(141)]),this[t(169)][t(152)](this[t(141)]);const e=e=>e[t(131)]();this[t(169)][t(156)](t(160),e),this[t(169)][t(156)](t(153),e),this[t(169)][t(156)](t(143),e),this[t(169)][t(156)](t(166),e)}[Zt(161)](){const t=Zt;this[t(170)][t(161)]()}get[Zt(134)](){const t=Zt;return this[t(170)][t(130)][t(141)][t(149)][t(159)]()}set[Zt(134)](t){const e=Zt;this[e(170)][e(130)][e(141)][e(149)]=t[e(159)]()}[Zt(140)](){const t=Zt;this[t(170)][t(130)][t(141)][t(149)]="",this[t(170)][t(147)]=null}[Zt(136)](t){const e=Zt,i=new Nt.LabeledFieldView(this[e(151)],Nt.createLabeledInputText),s=i[e(130)];s[e(168)]({attributes:{maxlength:e(157)}});let n=dt(this[e(151)],e(163));return!t&&(n+=" ("+dt(this[e(151)],e(162))+")"),i[e(129)]=n,s.on(e(145),()=>{const t=e;this[t(154)]=s[t(141)][t(149)][t(159)]()}),i}}const qt=Jt;function Jt(t,e){const i=Yt();return(Jt=function(t,e){return i[t-=397]})(t,e)}function Yt(){const t=["RevisionTracker","show","_createSaveRevisionButton","render","Accept","_showDialog","ck-button-action","revisionHistory","332ElUybH","get","submit","175137FoUipU","menuBar:revisionHistory","39010QzgbfX","init","Open revision history","revisionHistory.requireRevisionName","Save current revision","add","editing","revisionName","6054489GKCsJc","_createOpenRevisionButton","execute","Cancel","pluginName","isReadOnly","set","_saveRevisionFormView","_createSaveRevisionFormView","menu","delegate","isOfficialPlugin","editor","hide","revisionSave","panelView","menuitem","config","revisionNameInputView","isOpen","locale","bind","role","Revision history","children","errorText","777614mJfePb","view","866460CSwWgV","reset","focus","isEnabled","The revision name cannot be empty.","low","buttonView","11416510AlUFSo","isReady","16KumgHH","componentFactory","saveRevision","requires","showRevisionViewerCallback","plugins","addMany","_registerMenuComponent","RevisionHistoryUI","items","1zJBsAE","Dialog","isPremiumPlugin","listenTo","2046422HYOwfH"];return(Yt=function(){return t})()}!function(t){const e=Jt,i=t();for(;;)try{if(345786===parseInt(e(424))/1*(-parseInt(e(403))/2)+parseInt(e(440))/3+parseInt(e(437))/4*(parseInt(e(442))/5)+parseInt(e(405))/6+parseInt(e(428))/7*(-parseInt(e(414))/8)+-parseInt(e(450))/9+parseInt(e(412))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Gt extends et.Plugin{static get[qt(454)](){return qt(422)}static get[qt(461)](){return!0}static get[qt(426)](){return!0}static get[qt(417)](){return[bt]}[qt(457)];[qt(443)](){const t=qt,e=this[t(462)],i=e[t(419)][t(438)](t(429));e.ui[t(415)][t(447)](t(436),s=>{const n=t,r=(0,Nt.createDropdown)(s),o=r[n(465)][n(401)],a=new Nt.ListView(s),c=new Nt.ListItemView(s),u=this[n(431)](Nt.ButtonView),l=new Nt.ListItemView(s),h=this[n(451)](Nt.ButtonView);return r[n(398)](n(408)).to(i,n(413),i,n(408),e,n(455),(t,e,i)=>t&&e&&!i),r[n(411)][n(456)]({icon:xt.IconHistory,label:dt(s,n(400)),tooltip:!0}),u[n(456)]({withText:!0,role:n(466)}),h[n(456)]({withText:!0,role:n(466)}),this[n(427)](h,n(452),()=>{const t=n;r[t(469)]=!1,e[t(448)][t(404)][t(407)]()},{priority:n(410)}),c[n(401)][n(447)](u),l[n(401)][n(447)](h),a[n(399)]=n(459),a[n(423)][n(420)]([c,l]),o[n(447)](a),r}),e.ui[t(415)][t(447)](t(441),()=>this[t(421)]())}[qt(421)](){const t=qt,e=this[t(462)],i=e[t(397)],s=e[t(419)][t(438)](t(429)),n=new Nt.MenuBarMenuView(i),r=new Nt.MenuBarMenuListView(i);n[t(398)](t(408)).to(s,t(413),s,t(408),e,t(455),(t,e,i)=>t&&e&&!i),n[t(411)][t(456)]({icon:xt.IconHistory,label:dt(i,t(400))});const o=new Nt.MenuBarMenuListItemView(i,n),a=this[t(431)](Nt.MenuBarMenuListItemButtonView);a[t(460)](t(452)).to(n),o[t(401)][t(447)](a),r[t(423)][t(447)](o);const c=new Nt.MenuBarMenuListItemView(i,n),u=this[t(451)](Nt.MenuBarMenuListItemButtonView);return u[t(460)](t(452)).to(n),c[t(401)][t(447)](u),r[t(423)][t(447)](c),n[t(465)][t(401)][t(447)](r),n}[qt(431)](t){const e=qt,i=this[e(462)],s=i[e(419)][e(438)](e(429)),n=new t(i[e(397)]);return n[e(456)]({label:dt(i[e(397)],e(446))}),n[e(398)](e(408)).to(s,e(413),s,e(408),i,e(455),(t,e,i)=>t&&e&&!i),this[e(427)](n,e(452),()=>{this[e(434)]()}),n}[qt(451)](t){const e=qt,i=this[e(462)],s=i[e(419)][e(438)](e(429)),n=new t(i[e(397)]);return n[e(456)]({label:dt(i[e(397)],e(444))}),n[e(398)](e(408)).to(s,e(413),i,e(455),(t,e)=>t&&!e),this[e(427)](n,e(452),()=>{const t=e;i[t(467)][t(438)](t(436))[t(418)]()}),n}[qt(434)](){const t=qt,e=this[t(462)],i=e[t(397)],s=e[t(419)][t(438)](t(425)),n=e[t(419)][t(438)](t(429));function r(n){const r=t;e[r(467)][r(438)](r(445))&&""===n[r(449)]?n[r(468)][r(402)]=dt(i,r(409)):(e[r(419)][r(438)](bt)[r(416)]({name:n[r(449)]}),s[r(463)]())}this[t(457)]||(this[t(458)](),this[t(457)].on(t(439),()=>r(this[t(457)]))),this[t(457)][t(406)](),s[t(430)]({id:t(464),title:dt(i,t(446)),isModal:!0,content:this[t(457)],actionButtons:[{label:dt(e[t(397)],t(453)),withText:!0,onExecute:()=>s[t(463)]()},{label:dt(e[t(397)],t(433)),class:t(435),withText:!0,onCreate(i){const s=t;i[s(398)](s(408)).to(n,s(413),n,s(408),e,s(455),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(457)])}]})}[qt(458)](){const t=qt,e=this[t(462)],i=e[t(397)];this[t(457)]=new Bt(i,e[t(467)][t(438)](t(445))),this[t(457)][t(432)]()}}const Kt=Xt;function Xt(t,e){const i=Qt();return(Xt=function(t,e){return i[t-=499]})(t,e)}function Qt(){const t=["13440420iSKqDe","82524TJOVeN","data","_model","ck-revision-change","add","author","Suggested by","span","name","1784530uTEoVc","changeId","element","60NCMGyN","set","ck-annotation","ck-revision-change__label","bindTemplate","div","setTemplate","60URWKzb","987734rTXXZZ","isSuggestion","focus","type","1168694SWCaMw","Added by","ck-revision-change__","157255FrfOPd","Removed by","2837024axuFwm"];return(Qt=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(560847===-parseInt(e(506))/1+-parseInt(e(510))/2+parseInt(e(517))/3*(parseInt(e(505))/4)+parseInt(e(526))/5+-parseInt(e(529))/6*(-parseInt(e(513))/7)+-parseInt(e(515))/8+parseInt(e(516))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class te extends Nt.View{[Kt(527)];[Kt(519)];constructor(t,e){const i=Kt;super(t),this[i(519)]=e,this[i(527)]=e.id;const s=this[i(502)],n=dt(t,e[i(518)][i(507)]?i(523):i(521)==e[i(509)]?i(511):i(514));this[i(499)](i(509),e[i(509)]),this[i(504)]({tag:i(503),attributes:{class:[i(500),i(520),s.to(i(509),t=>i(512)+t)],tabindex:-1},children:[{tag:i(524),children:[{tag:i(524),attributes:{class:[i(501)]},children:[{text:n}]},{text:" "+e[i(522)][i(525)]}]}]})}[Kt(508)](){const t=Kt;this[t(528)][t(508)]()}}var ee=ie;function ie(t,e){var i=ne();return(ie=function(t,e){return i[t-=133]})(t,e)}!function(t){for(var e=ie,i=t();;)try{if(774664===parseInt(e(150))/1*(-parseInt(e(141))/2)+parseInt(e(138))/3+parseInt(e(149))/4*(-parseInt(e(148))/5)+-parseInt(e(133))/6*(parseInt(e(135))/7)+parseInt(e(147))/8+-parseInt(e(137))/9*(-parseInt(e(140))/10)+parseInt(e(142))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ne);class se extends((0,t.ObservableMixin)()){id;[ee(143)];[ee(136)];[ee(146)];[ee(145)];constructor(e){var i=ee;super(),this.id=e.id||(0,t.uid)(),this[i(143)]=e[i(143)],this[i(136)]=e[i(136)],this[i(146)]=e[i(146)]||{},this[i(145)]=e[i(145)],this[i(134)](i(139),e[i(139)])}[ee(144)](){var t=ee;return{id:this.id,authorId:this[t(143)].id,type:this[t(136)],data:this[t(146)],createdAt:this[t(139)]}}}function ne(){var t=["4iJrgby","2XMhszM","6FkJfGy","set","3895577DDwiYy","type","5247dhcgyU","403284sjZNky","createdAt","3460cfPnkT","860724QbrWBi","16269748PfvQHd","author","toJSON","rootName","data","8187920gWlppT","3234025DQAETa"];return(ne=function(){return t})()}const re=ae;function oe(){const t=["4364MCdYtE","oldRevisionId","8iVCsne","10kLWSBj","1761129xKRHXY","99qpcagj","add","3228456TxGtVR","1174440xsWjyw","53515EEyADW","3etaFpf","_setChanges","624806XrLMdU","1535oRafLI","1498380RVvXhb","newRevisionId","changes"];return(oe=function(){return t})()}function ae(t,e){const i=oe();return(ae=function(t,e){return i[t-=329]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(240175===-parseInt(e(332))/1+-parseInt(e(335))/2*(parseInt(e(333))/3)+parseInt(e(340))/4*(parseInt(e(336))/5)+-parseInt(e(331))/6+parseInt(e(330))/7*(-parseInt(e(342))/8)+-parseInt(e(344))/9*(parseInt(e(343))/10)+parseInt(e(345))/11*(parseInt(e(337))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oe);class ce{[re(338)];[re(341)];[re(339)];constructor(e,i){const s=re;this[s(338)]=e,this[s(341)]=i,this[s(339)]=new t.Collection}[re(334)](t){const e=re;for(const i of t)this[e(339)][e(329)](i)}}var ue=i(434),le={attributes:{"data-cke":!0}};le.setAttributes=Ft(),le.insert=Dt().bind(null,"head"),le.domAPI=Vt(),le.insertStyleElement=Lt();Rt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=de;function de(t,e){const i=fe();return(de=function(t,e){return i[t-=244]})(t,e)}function fe(){const t=["getRootNames","bindElementToMarker","enableReadOnlyMode","revision","item","config","from","conversion","_update","restoreRevisionCallback","filter","execute","selection","isAfter","distance","getAttributes","11990rtRZbU","_cleanUp","getRevision","toViewElement","ck-revision-history-root-add","isSuggestion","suggestion:","ck-suggestion-marker--active","find","ck-suggestion-marker-merge","wrap","shift","toViewRange","diff","createPositionFromPath","length","getWalker","unshift","_appendChild","init","isBlock","ck-suggestion-marker","domEvent","startIndex","createPositionBefore","writer","toViewPosition","editingDowncast","WidgetToolbarRepository","dataDowncast","start","elementEnd","bottom","_getChangeFromId","return","span","_makeModelFromViewString","repository","text","ck-suggestion-preview-marker-","stop","first","isReady","dataToMarker","createAttributeElement","updatePosition","-new","markerNameToElements","getRevisionRootsAttributes","mapViewToDom","createRevision","getItems","refresh","forEach","insert","editing","hasAttribute","attachChange","for","oldRevisionId","getAttribute","schema","authors","nextSibling","_step","_findChangeIdFromDomTarget","1398TaZaoF","error","revision-suggestion","diffData","checkAttribute","isRemoveSuggestion","_removeUnsupportedChanges","revision-viewer","_refreshStartEndIndex","revision-suggestion:","merge","removeClass","change:isEnabled","restoreRevision","RevisionsRepository","adapter","attributes","rootName","getIndex","currentChangeNumber","2wdbCEi","consume","affectsData","editor","target","highest","viewItem","flat","data","range","attributesBefore","revisionHistoryAttachChange","3952267vrJPbb","isAtEnd","forward","POSITIVE_INFINITY","7tRiIeq","markers","_setChanges","change:isReady","getLaterVisibleRevision","resolve","side","createRange","catch","commands","getCustomProperty","2628136oRtFyb","right","findIndex","_removeMissingPairs","pluginName","markerRange","get","_cleanMarkers","insertions","addRevisionData","isInline","markerToHighlight","next","deletions","activeChange","bind","clear","done","suggestion","element:pre","roots","mousedown","removeMarker","678458KfXYze","document","has","view","type","modelRange","unbindElementFromMarkerName","markersEnd","set","change","_activeViewTarget","activeView","mapper","createRangeIn","delete","markerName","domConverter","pop","indexOf","level","splice","change:activeView","comment","1170126GkOmQx","numberOfChanges","loadRevisionData","insertion","isAdded","markerToData","userId","hasClass","mouseover","ck-suggestion-marker-","uiElement","plugins","forceDisabled","addClass","addRevision","_makeModelFromTape","markersStart","requires","ck-revision-history-root-","isPremiumPlugin","elementToAttribute","detachRoot","showPreviousChange","top","3828285GIqraf","_markMarkers","nextPosition","vid_start","endIndex","then","isRemoved","downcastDispatcher","end","startsWith","ck-suggestion-marker-split","_processTape","attributesAfter","addMarker:revision-suggestion:deletion","isNavigationMode","softBreak","addRoot","newRevisionId","addMarker:revision","_setConversion","removeAttribute","change:activeChange","offsetSize","data-change-id","_markSuggestions","upcast","parent","deletion","isIncorrect","isCollapsed","isAttached","add","_changeView","observeMarkers","push","string","backward","keys","previousPosition","pairId","all","sort","concat","attribute:vid","low","_getRevisionsRange","object","revision-comment:","revisionHistory","isEqual","changeId","compare","vid","_revisions","destroy","isOnRoot","_fixObsoleteTags","isOfficialPlugin","remove","removeMarker:revision-suggestion","slice","_balloon","isLimit","isBefore","split","code","addHighlight","isContent","revisionHistoryLabel","nodeAfter","isEnabled","_makeTape","ck-revision-history-root--active","element","reconvertMarker","getDomRoot","isAddSuggestion","locale","enqueueChange","RevisionViewer","_setDistance","showStack","map","elementStart","maxOffset","name","model","ck-suggestion-preview-marker","index","consumable","_threeWayMerge","high","_sortAndFilterDiffChanges","abs","ck-editor__editable__overlay","revision:","_joinTapes","2099792lwZhxa","_getDiff","isAtStart","_utils","getChild","left","listenTo","change:numberOfChanges","values","showNextChange","removeMarker:revision","RevisionHistoryUtils","setAttribute","addMarker:revision-suggestion:insertion","_markMismatchedRemovedTags","10jmQKlX","_markInsertions","getRoot","getRevisionDocumentData","_data","changes","includes","createUIElement","getClientRects","test","_getViewForChange","isObject","_initInteractions","_changeIdToChange","vid_end","ck-revision-history-root-remove"];return(fe=function(){return t})()}!function(t){const e=de,i=t();for(;;)try{if(440963===parseInt(e(507))/1*(parseInt(e(457))/2)+parseInt(e(530))/3+-parseInt(e(324))/4+-parseInt(e(371))/5*(parseInt(e(437))/6)+parseInt(e(473))/7*(-parseInt(e(484))/8)+parseInt(e(554))/9+-parseInt(e(339))/10*(-parseInt(e(469))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(fe);class me extends et.Plugin{[he(408)];[he(452)]=null;[he(327)];[he(517)];[he(259)];[he(352)];[he(288)];static get[he(488)](){return he(306)}static get[he(284)](){return!0}static get[he(549)](){return!0}static get[he(547)](){return[it.Users,Nt.ContextualBalloon,ot,ht]}constructor(t){const e=he;super(t),this[e(408)]=this[e(460)][e(541)][e(490)](e(451)),this[e(327)]=this[e(460)][e(541)][e(490)](e(335)),this[e(515)](e(498),null),this[e(515)](e(518),null),this[e(517)]=null,this[e(515)](e(384),null),this[e(515)](e(413),!1),this[e(515)](e(297),!0),this.on(e(449),(t,i,s)=>{const n=e;this[n(498)]=null,this[n(518)]=null,this[n(460)][n(426)][n(510)][n(516)](t=>{const e=n;for(const i of this[e(460)][e(426)][e(510)][e(508)][e(504)])s?t[e(448)](e(321),i):t[e(543)](e(321),i)})}),this[e(499)](e(568)).to(this,e(498),t=>null!==t),this[e(499)](e(456)).to(this,e(413),this,e(384),this,e(498),(t,i,s)=>t&&s?i[e(344)][e(455)](s):0),this[e(499)](e(531)).to(this,e(413),this,e(384),(t,i)=>t?i[e(344)][e(386)]:0),this[e(259)]=null,this[e(352)]=new Map,this[e(288)]=this[e(460)][e(541)][e(490)](Nt.ContextualBalloon)}[he(390)](){const t=he,e=this[t(460)],i=new ge(e,{direction:t(263)}),s=new ge(e,{direction:t(471)});e[t(482)][t(258)](t(552),i),e[t(482)][t(258)](t(333),s),e[t(482)][t(258)](t(450),new ve(e)),this.on(t(331),()=>{const e=t;i[e(423)](),s[e(423)]()}),this[t(246)](),this[t(351)](),e[t(357)](t(444)),e[t(541)][t(509)](t(399))&&e[t(541)][t(490)](t(399))[t(542)](t(444))}async[he(342)](t){const e=he;return await this[e(327)][e(532)](t,this[e(452)]),this[e(327)][e(342)](t)}async[he(419)](t){const e=he;return await this[e(327)][e(532)](t,this[e(452)]),this[e(327)][e(419)](t)}async[he(278)](t,e,i=!1){const s=he;if(!this[s(297)])return;const n=this[s(384)],r=this[s(408)],o=s(262)==typeof t?r[s(373)](t):t,a=s(262)==typeof e?r[s(373)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(384)]&&this[s(384)][s(244)]===c&&this[s(384)][s(430)]===u)return Promise[s(478)]();this[s(413)]=!1,this[s(518)]=null,this[s(498)]=null,this[s(384)]=new ce(c,u);const l=this[s(272)](o,a,!0)[s(309)](t=>this[s(327)][s(532)](t,this[s(452)]));return l[s(261)](new Promise(t=>{setTimeout(t,20)})),Promise[s(267)](l)[s(559)](()=>{const t=s;if(!this[t(297)])return;this[t(372)]();const e=this[t(325)](c,u);for(const i of e[t(344)])this[t(352)][t(515)](i.id,i);this[t(460)][t(313)][t(305)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(460)][s(313)][s(508)][s(355)]())i[s(551)](t);for(const t of Object[s(264)](e[s(313)])){const n=i[s(570)](t);for(const r of Object[s(264)](e[s(453)][t]))i[s(336)](r,e[s(453)][t][r],n);i[s(425)](e[s(313)][t],n,0)}}),this[t(384)][t(475)](this[t(319)](e[t(344)])),this[t(413)]=!0})[s(481)](t=>{const e=s;console[e(438)](t),this[e(372)](),n&&(this[e(384)]=n),this[e(413)]=!0})}[he(493)](t,e){const i=he,s=this[i(408)][i(421)](t);return s.on(i(363),(t,i,n)=>e(i,n,s)),this[i(408)][i(544)](s),s}[he(372)](){const t=he;this[t(498)]=null,this[t(491)](),this[t(259)]&&this[t(259)][t(281)](),this[t(259)]=null,this[t(352)][t(500)](),this[t(460)][t(313)][t(305)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(460)][i(313)][i(508)][i(355)]())e[i(551)](t)})}[he(319)](t){const e=he,i=[],s=new Map;for(const t of this[e(460)][e(313)][e(508)][e(355)]()){const n=this[e(460)][e(426)][e(510)][e(302)](t);if(!n)continue;const r=n[e(347)]()[e(359)](0);r&&(i[e(261)](t),s[e(515)](t,r))}return i[e(268)]((t,i)=>{const n=e,r=s[n(490)](t),o=s[n(490)](i);return r.y-o.y||r.x-o.x}),(t=t[e(365)](t=>i[e(345)](t[e(454)])))[e(268)]((t,s)=>i[e(525)](t[e(454)])-i[e(525)](s[e(454)])),t}[he(298)](t){const e=he,i=Array[e(361)](t[e(474)])[e(365)](([t,i])=>t[e(563)](e(322))&&!i[e(256)]),s=Array[e(361)](this[e(460)][e(313)][e(520)](t)[e(387)]({singleCharacters:!0}));if(0!=i[e(386)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(291)](":");if(n[e(562)][e(276)](t[e(556)])&&i[e(382)](),(t[e(265)][e(276)](n[e(401)])||t[e(265)][e(368)](n[e(401)]))&&(e(533)==r?t[e(534)]={userId:o}:e(254)==r&&(t[e(560)]={userId:o})),0==i[e(386)])break}return s}[he(445)](t){const e=he,i=new Map;for(let s=0;s<t[e(386)];s++)e(409)===t[s][e(511)]?(t[s][e(359)][e(394)]=s,t[s][e(359)][e(558)]=s):(e(310)===t[s][e(511)]?t[s][e(359)][e(394)]=s:e(402)===t[s][e(511)]&&(t[s][e(359)][e(558)]=s),i[e(515)](t[s].id,s));for(const s of i[e(332)]())e(310)===t[s][e(511)]?t[s][e(359)][e(558)]=i[e(490)](t[s][e(266)]):e(402)===t[s][e(511)]&&(t[s][e(359)][e(394)]=i[e(490)](t[s][e(266)]))}[he(565)](t){const e=he;for(let i=0;i<t[e(386)];i++){if(e(310)===t[i][e(511)])t[i][e(359)][e(394)]=i;else if(e(402)===t[i][e(511)]){t[i][e(359)][e(558)]=i;const s=t[i][e(359)][e(394)];t[s][e(266)]=t[i].id,t[i][e(266)]=t[s].id}else t[i][e(359)][e(394)]=i,t[i][e(359)][e(558)]=i,t[i][e(266)]=null;t[i][e(546)]||(t[i][e(546)]=[],t[i][e(514)]=[])}}[he(340)](t,e){const i=he,s=t[i(365)](t=>!t[i(534)]);for(let t=0;t<e[i(386)];t++)e[t][i(534)]&&(s[t][i(534)]=e[t][i(534)])}[he(325)](t,e=null){const i=he,s=this[i(408)][i(373)](t),n=e?this[i(408)][i(373)](e):null,r=this[i(272)](s,n),o=r[r[i(386)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(386)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(264)](e[i(440)]))if(e[i(440)][t][i(428)]){const s=e[i(440)][t][i(428)];s[i(257)]?(u[i(258)](t),l[i(509)](t)&&l[i(490)](t)[i(536)]==s[i(536)]?l[i(521)](t):l[i(515)](t,s)):l[i(509)](t)?(u[i(521)](t),l[i(521)](t)):(u[i(258)](t),l[i(515)](t,s))}else u[i(258)](t)}for(const t of u){const e=l[i(509)](t)&&!l[i(490)](t)[i(257)];let s=e?r[i(386)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(440)][t]){const s=e?o[i(440)][t][i(467)]:o[i(440)][t][i(566)];c[i(453)][t]=s?V(s):{};break}s+=n}}for(const t of r){t[i(313)]={};for(const e of t[i(433)])a[i(515)](e.id,e);for(const e of u){const s=t[i(440)][e]?t[i(440)][e][i(492)]:"[]",n=t[i(440)][e]?t[i(440)][e][i(497)]:"[]";t[i(313)][e]={insertions:this[i(327)][i(407)](s),deletions:this[i(327)][i(407)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(361)](s[i(313)][t][i(492)][i(474)])[i(365)](([t])=>!t[i(563)](i(322))));let h=0;for(const o of r){const r=this[i(298)](o[i(313)][t][i(492)]);o==s?(e=r,n=e[i(386)],e[i(424)](t=>{t.id=h++}),this[i(565)](e)):this[i(340)](e,r);const a=e[i(365)](t=>!t[i(534)])[i(309)](t=>t.id);let c=0;const l=this[i(298)](o[i(313)][t][i(497)]);l[i(424)](t=>{t[i(560)]?t.id=n++:t.id=a[c++]}),this[i(565)](l),this[i(307)](e,i(534)),this[i(307)](l,i(560)),o==s&&this[i(555)](e,u),e=this[i(323)](e,l),this[i(445)](e),this[i(307)](e,i(560))}e=e[i(365)](t=>!(t[i(534)]&&t[i(560)]));const d=new Map(o[i(313)][t][i(497)][i(474)]),f=new Set(u[i(264)]());for(const t of d[i(264)]())f[i(521)](t);this[i(251)](e,f),this[i(283)](e),e=this[i(487)](e),e=this[i(338)](e),e=this[i(443)](e);const{root:m,changes:p}=this[i(545)](e,a,t);c[i(313)][t]=m;const v=l[i(490)](t);if(v){const e=a[i(490)](v[i(536)]),s=new se({author:e,type:v[i(257)]?i(258):i(285),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(388)](s),c[i(453)][t][i(468)]=s.id}c[i(344)]=c[i(344)][i(269)](p)}return c}[he(555)](t,e){const i=he;for(let s=0;s<t[i(386)];s++)for(const[n,r]of e)!r[i(256)]&&r[i(401)][i(276)](t[s][i(265)])&&t[s][i(546)][i(261)](n),r[i(562)][i(276)](t[s][i(556)])&&t[s][i(514)][i(261)](n)}[he(323)](t,e){const i=he;let s=[],n=0,r=0;for(;n<t[i(386)]||r<e[i(386)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(261)](o);else if(a[i(560)]&&o[i(534)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(317)](t,n,e,r);s=s[i(269)](o),n=a,r=c}else a[i(560)]?(r++,s[i(261)](a)):(n++,s[i(261)](o))}return s}[he(251)](t,e){const i=he,s=[];for(let o=0;o<t[i(386)];o++){for(let r=0;r<t[o][i(546)][i(386)];r++){const a=t[o][i(546)][r];if(!e[i(509)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(439)!=c||i(533)!=u&&i(254)!=u||(s[i(388)]({type:u,name:a,userId:l}),t[o][i(546)][i(527)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(514)][i(386)];r++){const a=t[o][i(514)][r];if(!e[i(509)](a))continue;const{group:c,type:u}=n(a);if(i(439)!=c||i(533)!=u&&i(254)!=u)continue;t[o][i(514)][i(527)](r,1),r--;const l=s[i(486)](t=>t[i(312)]==a);l>-1&&s[i(527)](l,1)}}function n(t){const e=i,s=t[e(291)](":");return{group:s[0],type:s[1],subType:s[e(386)]>=5?s[2]:null,id:s[e(386)]<5?s[2]:s[3],authorId:s[e(386)]<5?s[3]:s[4],markerCount:6==s[e(386)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(386)];i++){if(t[e(534)]&&e(533)==s[i][e(511)]&&t[e(534)][e(536)]==s[i][e(536)])return t[e(303)]=s[i],void delete t[e(534)];if(!t[e(534)]&&!t[e(560)]&&e(254)==s[i][e(511)])return void(t[e(442)]=s[i])}}}[he(307)](t,e){const i=he;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(515)](o.id,s);for(let s=0;s<t[i(386)];s++){if(i(560)==e&&t[s][i(534)]||i(534)==e&&t[s][i(560)])continue;if(i(409)==t[s][i(511)]){t[s][i(369)]=0;continue}const n=r[i(490)](t[s][i(266)]),o=r[i(490)](t[s].id);t[s][i(369)]=n-o}}[he(272)](t,e,i=!1){const s=he,n=[];let r=this[s(408)][s(455)](t),o=this[s(408)][s(455)](e);for(-1==o&&(o=this[s(408)][s(280)][s(386)],i=!1);r<o;)n[s(261)](this[s(408)][s(373)](r)),r++;return i&&n[s(261)](this[s(408)][s(373)](r)),n}[he(317)](t,e,i,s){const n=he,r=this[n(460)][n(313)][n(432)];let o=e;for(;t[o]&&t[o][n(534)];)o++;let a=s;for(;i[a]&&i[a][n(560)];)a++;u(t,e,o),u(i,s,a);const c=i[n(287)](s,a)[n(269)](t[n(287)](e,o));return c[n(268)]((t,e)=>t[n(479)]!=e[n(479)]?t[n(479)]-e[n(479)]:t[n(526)]!=e[n(526)]?t[n(526)]-e[n(526)]:t[n(369)]!=e[n(369)]?e[n(369)]-t[n(369)]:!!t[n(534)]!=!!e[n(534)]?-1==t[n(479)]||0==t[n(479)]?t[n(534)]?-1:1:t[n(534)]?1:-1:t[n(315)]-e[n(315)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(472)],c=!0;for(let n=e;n<i;n++)if(r[s(494)](t[n][s(359)])||(c=!1),t[n][s(359)][s(394)]<e&&(o=n),t[n][s(359)][s(558)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(479)]=n<=o?-1:n<a?0:1,t[n][s(315)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(369)]?t[i][s(526)]=u:(u++,t[i][s(526)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(479)]&&(t[n][s(526)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(369)]?t[e][s(526)]=u:(u--,t[e][s(526)]=u,u--)}}[he(283)](t){const e=he,i=new Map,s=this[e(460)][e(313)][e(432)];for(let n=1;n<t[e(386)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(409)==c[e(511)])continue;if(c[e(511)]!=u[e(511)])continue;if(!s[e(391)](u[e(359)])||s[e(289)](u[e(359)]))continue;if(!s[e(391)](c[e(359)])||s[e(289)](c[e(359)]))continue;if((t[n][e(534)]||t[n][e(303)])&&t[n-1][e(560)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(560)]||!t[n-1][e(534)]&&!t[n-1][e(303)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(526)]==o[e(526)],h=Math[e(320)](r[e(526)])<Math[e(320)](o[e(526)])&&0==o[e(369)];(l||h)&&(i[e(515)](o.id,r.id),t[e(527)](a,1),n--,r[e(534)]=!1)}for(let s=0;s<t[e(386)];s++)i[e(509)](t[s][e(266)])&&(t[s][e(266)]=i[e(490)](t[s][e(266)]))}[he(487)](t){const e=he,i=new Set(t[e(309)](t=>t.id));for(let s=0;s<t[e(386)];s++)i[e(509)](t[s][e(266)])||0==t[s][e(369)]||(t[s][e(255)]=!0);return t[e(365)](t=>!t[e(255)])}[he(338)](t){const e=he,i=new Set;for(let s=0;s<t[e(386)];s++){if(i[e(509)](t[s].id)&&t[s][e(560)]&&(t[s][e(255)]=!0),t[s][e(255)])continue;if(0==t[s][e(369)])continue;if(e(310)!=t[s][e(511)])continue;if(null==t[s][e(266)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(266)];)e(310)==t[n][e(511)]?r++:e(402)==t[n][e(511)]&&r--,n++;if(0!=r)if(t[s][e(560)])t[s][e(255)]=!0;else for(;n!=s;)t[n][e(560)]&&0!=t[n][e(369)]&&(t[n][e(255)]=!0,i[e(258)](t[n][e(266)])),n--}return t[e(365)](t=>!t[e(255)])}[he(443)](t){const e=he,i=this[e(460)][e(313)][e(432)];for(let s=0;s<t[e(386)];s++){if(!(t[s][e(534)]||t[s][e(303)]||t[s][e(560)]||t[s][e(442)]))continue;if(0==t[s][e(369)])continue;const n=t[s][e(359)];i[e(391)](n)||i[e(289)](n)||(t[s][e(534)]&&delete t[s][e(534)],t[s][e(303)]&&delete t[s][e(303)],t[s][e(442)]&&delete t[s][e(442)],t[s][e(560)]&&(t[s][e(255)]=!0))}return t[e(365)](t=>!t[e(255)])}[he(545)](t,e,i){const s=he,n=new st.ModelDocumentFragment,r=[],o=new Map,a=this[s(460)][s(313)],c=a[s(432)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(386)];e++)if(s(310)===t[e][s(511)]){t[e][s(265)]=a[s(385)](n,f);const i=new st.ModelElement(t[e][s(359)][s(312)],t[e][s(359)][s(370)]());u[0][s(389)](i),f[s(261)](0),u[s(388)](i),t[e][s(556)]=a[s(385)](n,f)}else s(402)===t[e][s(511)]?(u[s(382)](),t[e][s(265)]=a[s(385)](n,f),f[s(524)](),f[f[s(386)]-1]++,t[e][s(556)]=a[s(385)](n,f)):(t[e][s(265)]=a[s(385)](n,f),d?d[s(343)]+=t[e][s(359)][s(465)]:d=new st.ModelText(t[e][s(359)][s(465)],t[e][s(359)][s(370)]()),t[e+1]&&s(409)===t[e+1][s(511)]&&v(d,t[e+1][s(359)])||(u[0][s(389)](d),d=null),f[f[s(386)]-1]+=t[e][s(359)][s(249)],t[e][s(556)]=a[s(385)](n,f));for(let e=0;e<t[s(386)];e++){const i=t[e][s(265)],n=t[e][s(556)];for(const n of t[e][s(546)])o[s(515)](n,{start:i,end:null});m(s(442),e,i,n),m(s(303),e,i,n),m(s(560),e,i,n),m(s(534),e,i,n);for(const i of t[e][s(514)]){const t=o[s(490)](i);t?t[s(562)]=n:o[s(515)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(460)][s(313)][s(480)](e[s(401)],e[s(562)]);n[s(474)][s(515)](t,i)}return r[s(268)]((t,e)=>{const i=s,r=n[i(474)][i(490)](i(322)+t.id),o=n[i(474)][i(490)](i(322)+e.id);return r[i(401)][i(290)](o[i(401)])?-1:r[i(401)][i(368)](o[i(401)])?1:r[i(562)][i(290)](o[i(562)])?-1:r[i(562)][i(368)](o[i(562)])?1:i(258)===t[i(511)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(536)]:null,d=i===t[o(386)]-1,f=h[e][0],m=c[o(350)](t[i][o(359)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(562)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(536)]!==u&&(l[e][o(562)]=n,f&&f[o(536)]===l[e][o(536)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(310)!==t[i][o(511)]||f&&f[o(536)]===u||h[e][o(388)]({userId:u,object:t[i][o(359)],change:l[e]}),o(402)===t[i][o(511)]&&f&&f[o(273)]===t[i][o(359)]&&(h[e][o(382)](),l[e]=f[o(516)])),l[e]&&d&&(l[e][o(562)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(359)],f=a[h(432)][h(391)](d)&&!a[h(432)][h(289)](d),m=t[h(296)]==o[h(253)]&&o[h(326)];if(f&&m)return;const p=a[h(480)](t,o),v=e[h(490)](u),g=new se({author:v,type:h(534)==l||h(303)==l?h(258):h(285),data:{isSuggestion:h(303)==l||h(442)==l},createdAt:new Date,rootName:i});r[h(261)](g),n[h(474)][h(515)](h(322)+g.id,p)}function v(t,e){const i=s,n=t[i(370)](),r=e[i(370)]();for(const t of n){if(t[1]!==e[i(431)](t[0]))return!1;r[i(496)]()}return r[i(496)]()[i(501)]}}[he(246)](){const t=he;this[t(460)][t(362)][t(429)](t(252))[t(414)]({view:t(358)}),this[t(460)][t(362)][t(429)](t(398))[t(495)]({model:t(358),view:e=>{const i=t,s=e[i(522)][i(291)](":")[1],n=this[i(404)](s);if(!n)return null;const r=i(258)==n[i(511)]?i(533):i(254),o=[i(392),i(539)+r];return n[i(465)][i(376)]&&o[i(261)](i(539)+r+i(417)),this[i(498)]==n&&o[i(261)](i(378)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(460)][t(362)][t(429)](t(252))[t(258)](e=>{const i=t;e.on(i(503),(t,e,s)=>{const n=i,r=e[n(463)][n(328)](0);if(!r||!r.is(n(300),n(292)))return;if(!s[n(316)][n(458)](r,{attributes:[n(557),n(353)]}))return;const o=e[n(512)][n(401)][n(296)];s[n(396)][n(336)](n(557),r[n(431)](n(557)),o),s[n(396)][n(336)](n(353),r[n(431)](n(353)),o)},{priority:i(271)})}),this[t(460)][t(362)][t(429)](t(252))[t(258)](e=>{const i=t;e.on(i(300),(t,e,s)=>{const n=i;if(!s[n(316)][n(458)](e[n(463)],{attributes:[n(557),n(353)]}))return;if(e[n(512)][n(256)])return;const r=e[n(512)][n(401)][n(296)];r[n(427)](n(557))||r[n(427)](n(279))||(s[n(396)][n(336)](n(557),e[n(463)][n(431)](n(557)),r),s[n(396)][n(336)](n(353),e[n(463)][n(431)](n(353)),r))},{priority:i(271)})}),this[t(460)][t(362)][t(429)](t(252))[t(550)]({view:{name:t(406),attributes:{vid:!0}},model:{key:t(279),value:e=>e[t(431)](t(279))}}),this[t(460)][t(313)][t(432)].on(t(441),(e,[,i])=>{const s=t;[s(557),s(353),s(279)][s(345)](i)&&(e[s(405)]=!0,e[s(411)]())},{priority:t(462)}),this[t(460)][t(362)][t(429)](t(400))[t(258)](e=>{const i=t;e.on(i(270),(t,e,s)=>{const n=i;if(" "!=e[n(359)][n(465)]||e[n(359)][n(253)][n(311)]>1)return;if(!s[n(316)][n(458)](e[n(359)],t[n(312)]))return;const r=s[n(396)],o=s[n(519)][n(383)](e[n(466)]);r[n(381)](o,r[n(415)](n(406)))})}),this[t(460)][t(362)][t(429)](t(400))[t(535)]({model:t(358)}),this[t(460)][t(426)][t(561)].on(t(245),function(e){const i=t,s=e[i(541)][i(490)](i(306));return(t,n,r)=>{const o=i,a=n[o(522)][o(291)](":")[1],c=s[o(404)](a);if(!c)return null;const u=o(258)==c[o(511)]?o(291):o(447);if(!r[o(316)][o(348)](n[o(489)],t[o(312)]))return;const l=n[o(489)][o(387)](),h=n[o(489)][o(401)],d=e[o(313)][o(432)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(359)];p=p||d[o(294)](e);const i=r[o(519)][o(374)](e);if(i&&i[o(483)](o(293)))return;o(402)==t[o(511)]&&d[o(391)](e)&&!d[o(289)](e)&&(e[o(434)]||h[o(470)]?f&&f[o(253)]==e||(f=e,g(t[o(265)]),v=!0):m=m||t[o(265)])}function g(t){const e=o,i=r[e(396)][e(346)](e(406),{class:e(539)+u}),a=r[e(519)][e(397)](t);c[e(465)][e(376)]&&r[e(396)][e(543)](e(539)+u+e(417),i),s[e(498)]==c&&r[e(396)][e(543)](e(378),i),r[e(396)][e(425)](a,i),r[e(519)][e(356)](i,n[e(522)])}p||v||!m||g(m)}}(this[t(460)]),{priority:t(318)}),this[t(460)][t(426)][t(561)].on(t(334),(e,i,s)=>{const n=t,r=s[n(519)][n(418)](i[n(522)]);if(r)for(const t of r)(t[n(537)](n(564))||t[n(537)](n(380)))&&(s[n(519)][n(513)](t,i[n(522)]),s[n(396)][n(285)](t))},{priority:t(318)}),this[t(460)][t(426)][t(561)].on(t(245),(e,i,s)=>{const n=t,r=i[n(522)][n(291)](":")[1],o=this[n(404)](r);if(!o)return null;const a=n(258)==o[n(511)]?n(291):n(447);if(s[n(316)][n(348)](i[n(489)],e[n(312)]))for(const t of i[n(489)][n(422)]()){if(!t.is(n(300),n(569)))continue;const e=s[n(396)][n(346)](n(406),{class:n(539)+a}),r=s[n(519)][n(397)](this[n(460)][n(313)][n(395)](t));o[n(465)][n(376)]&&s[n(396)][n(543)](n(539)+a+n(417),e),this[n(498)]==o&&s[n(396)][n(543)](n(378),e),s[n(396)][n(425)](r,e),s[n(519)][n(356)](e,i[n(522)])}},{priority:t(318)}),this[t(460)][t(313)][t(508)].on(t(516),()=>{const e=t;this[e(460)][e(426)][e(510)][e(516)](t=>{const i=e;for(const e of this[i(460)][i(313)][i(508)][i(355)]()){const s=this[i(460)][i(313)][i(508)][i(341)](e),n=this[i(460)][i(426)][i(510)][i(508)][i(341)](e);if(n){const e=s[i(431)](i(468));if(t[i(247)](i(250),n),t[i(448)](i(375),n),t[i(448)](i(354),n),t[i(448)](i(299),n),e){const s=this[i(404)](e);if(!s)return null;t[i(336)](i(250),e,n),t[i(543)](i(548)+s[i(511)],n),this[i(498)]==s&&t[i(543)](i(299),n)}}}})}),this[t(460)][t(362)][t(429)](t(252))[t(414)]({view:t(529),model:e=>t(274)+e,converterPriority:t(462)}),this[t(460)][t(362)][t(429)](t(252))[t(414)]({view:t(502),model:e=>t(446)+e,converterPriority:t(462)}),this[t(460)][t(362)][t(429)](t(400))[t(535)]({model:t(439),view:e=>({name:t(377)+e,group:t(439)}),converterPriority:t(462)}),this[t(460)][t(362)][t(429)](t(398))[t(495)]({model:t(439),view:e=>{const i=t,s=e[i(522)][i(291)](":")[1];return i(533)!=s&&i(254)!=s?null:{classes:[i(314),i(410)+s]}}}),this[t(460)][t(426)][t(561)].on(t(567),pe(this[t(460)],t(447)),{priority:t(318)}),this[t(460)][t(426)][t(561)].on(t(337),pe(this[t(460)],t(291)),{priority:t(318)}),this[t(460)][t(426)][t(561)].on(t(286),(e,i,s)=>{const n=t,r=s[n(519)][n(418)](i[n(522)]);if(r)for(const t of r)t.is(n(540))&&(s[n(519)][n(513)](t,i[n(522)]),s[n(396)][n(285)](t))},{priority:t(318)})}[he(404)](t){const e=he;return this[e(352)][e(490)](t)}[he(349)](t){const e=he;return this[e(259)]&&this[e(259)][e(281)](),this[e(259)]=new te(this[e(460)][e(304)],t),this[e(259)]}[he(351)](){const t=he;this[t(460)][t(313)][t(508)][t(367)][t(260)](t(358)),this.on(t(528),(e,i,s,n)=>{const r=t;n&&this[r(288)][r(285)](n),s&&(this[r(288)][r(258)]({view:s,stackId:r(295),position:{target:()=>{const t=r,e=this[t(460)][t(426)],i=this[t(404)](s[t(277)]);let n;if(i[t(465)][t(282)]){const s=e[t(510)][t(302)](i[t(454)]);n=Array[t(361)](s[t(347)]())}else{const i=this[t(460)][t(313)][t(474)][t(490)](t(322)+s[t(277)]);n=Array[t(361)](e[t(519)][t(418)](i[t(312)]))[t(309)](i=>e[t(510)][t(523)][t(420)](i))[t(309)](e=>Array[t(361)](e[t(347)]()))[t(464)]()}return this[t(517)]&&n[t(379)](e=>e[t(553)]-3<=this[t(517)].y&&e[t(403)]+3>=this[t(517)].y&&e[t(329)]-3<=this[t(517)].x&&e[t(485)]+3>=this[t(517)].x)||n[0]}}}),this[r(288)][r(308)](r(295)))}),this.on(t(248),(e,i,s,n)=>{const r=t;this[r(518)]=s?this[r(349)](s):null,this[r(460)][r(313)][r(516)](()=>{const t=r,e=this[t(460)][t(426)];n&&(n[t(465)][t(282)]?e[t(510)][t(516)](i=>{const s=t;i[s(448)](s(299),e[s(510)][s(508)][s(341)](n[s(454)]))}):e[t(301)](t(322)+n.id)),s&&(s[t(465)][t(282)]?e[t(510)][t(516)](i=>{const n=t;i[n(543)](n(299),e[n(510)][n(508)][n(341)](s[n(454)]))}):e[t(301)](t(322)+s.id))})}),this[t(330)](this[t(460)][t(426)][t(510)][t(508)],t(538),(e,i)=>{const s=t;if(this[s(498)])return;const n=this[s(436)](i[s(461)]),r=this[s(352)][s(490)](n);r?(this[s(517)]={x:i[s(393)].x,y:i[s(393)].y},this[s(518)]=this[s(349)](r)):(this[s(517)]=null,this[s(518)]=null)}),this[t(330)](this[t(460)][t(426)][t(510)][t(508)],t(505),(e,i)=>{const s=t,n=this[s(436)](i[s(461)]),r=this[s(352)][s(490)](n);r?(this[s(517)]={x:i[s(393)].x,y:i[s(393)].y},r===this[s(498)]?this[s(288)][s(416)]():this[s(498)]=r):(this[s(517)]=null,this[s(498)]=null)})}[he(436)](t){const e=he;do{const i=t[e(431)](e(250));if(i)return i;t=t[e(253)]}while(t);return null}[he(491)](){const t=he;this[t(460)][t(313)][t(516)](e=>{const i=t;for(const t of this[i(460)][i(313)][i(474)])e[i(506)](t)})}}function pe(t,e){return(i,s,n)=>{const r=de;if(!n[r(316)][r(348)](s[r(489)],i[r(312)]))return;const o=s[r(489)][r(387)](),a=s[r(489)][r(401)],c=t[r(313)][r(432)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(359)];h=h||c[r(294)](e);const i=n[r(519)][r(374)](e);if(i&&i[r(483)](r(293)))return;r(402)==t[r(511)]&&c[r(391)](e)&&!c[r(289)](e)&&(e[r(434)]||a[r(470)]?u&&u[r(253)]==e||(u=e,f(t[r(265)]),d=!0):l=l||t[r(265)])}function f(t){const i=r,o=n[i(519)][i(397)](t),a=n[i(396)][i(346)](i(406),{class:i(410)+e});n[i(396)][i(425)](o,a),n[i(519)][i(356)](a,s[i(522)])}h||d||!l||f(l)}}class ve extends et.Command{constructor(t){const e=he;super(t);const i=t[e(541)][e(490)](me);this[e(459)]=!1,this[e(330)](i,e(476),()=>this[e(423)]()),this[e(330)](i,e(449),()=>this[e(423)]())}[he(366)](){const t=he,e=this[t(460)],i=e[t(541)][t(490)](me),s=i[t(413)]?i[t(384)][t(244)]:null;e[t(360)][t(490)](t(275))[t(364)](s)}[he(423)](){const t=he,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(460)][t(541)][t(490)](me),r=n&&s[t(477)](n[t(244)]);this[t(297)]=e&&i&&Boolean(r)}}class ge extends et.Command{[he(435)];constructor(t,{direction:e}){const i=he;super(t);const s=t[i(541)][i(490)](me);this[i(459)]=!1,this[i(435)]=i(471)===e?1:-1,this[i(330)](s,i(476),()=>this[i(423)]()),this[i(330)](s,i(449),()=>this[i(423)]()),this[i(330)](s,i(248),()=>this[i(423)]())}[he(366)](){const e=he,i=this[e(460)],s=i[e(541)][e(490)](me),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(498)]=n?s[e(384)][e(344)][e(490)](r+this[e(435)]):s[e(384)][e(344)][e(412)],s[e(498)][e(465)][e(282)])o=i[e(426)][e(510)][e(302)](s[e(498)][e(454)]);else{const t=i[e(313)][e(474)][e(490)](e(322)+s[e(498)].id);o=(0,it.getMarkerDomElement)(i[e(426)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[he(423)](){const t=he,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(460)][t(541)][t(490)](me);this[t(297)]=!!(r&&n&&s)&&(!e||(1===this[t(435)]?i<s-1:i>0))}}var ye=i(522),ke={attributes:{"data-cke":!0}};ke.setAttributes=Ft(),ke.insert=Dt().bind(null,"head"),ke.domAPI=Vt(),ke.insertStyleElement=Lt();Rt()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(){const t=["set","Show previous change","NUMBER_OF_CHANGES","bindTemplate","isEnabled","ck-revision-history-ui__changes-navigation__label","Show next change","currentChangeNumber","Total","26dDgECV","526411ZbSezM","2371368SeJIRZ","div","ck-revision-history-ui__changes-navigation","_isStatusLabelVisible","13704zYMEms","backward","9642ysKMFp","770670nVbhbw","ck-revision-history-ui__changes-navigation__navigation","No changes","33BPjHHM","bind","setTemplate","isReady","4529KVMtkd","_statusText","isForwardNavigationEnabled","3519fFjhWF","execute","4mPlNep","X_OF_Y_CHANGES","isNavigationMode","fire","isBackwardNavigationEnabled","ck-revision-history-ui","Loading...","EDIT_X_OF_Y_REVISIONS","numberOfChanges","12248784kBSIYg","1939940hnhKxH","ck-revision-history-ui__changes-navigation__wrapper","ck-hidden","span","forward","10gXNRcg"];return(be=function(){return t})()}function we(t,e){const i=be();return(we=function(t,e){return i[t-=184]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(567009===-parseInt(e(196))/1*(parseInt(e(216))/2)+-parseInt(e(197))/3+parseInt(e(226))/4*(parseInt(e(185))/5)+parseInt(e(203))/6*(-parseInt(e(211))/7)+parseInt(e(201))/8*(parseInt(e(214))/9)+-parseInt(e(204))/10*(parseInt(e(207))/11)+parseInt(e(225))/12*(parseInt(e(195))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);class _e extends Nt.View{constructor(t){const e=we;super(t);const i=this[e(189)],s=new Nt.ButtonView(t),n=new Nt.ButtonView(t);this[e(186)](e(218),!1),this[e(186)](e(210),!1),this[e(186)](e(193),0),this[e(186)](e(224),0),this[e(186)](e(213),!1),this[e(186)](e(220),!1),this[e(208)](e(200)).to(this,e(210),this,e(224),(t,e)=>t&&e>0),this[e(208)](e(212)).to(this,e(210),this,e(193),this,e(224),this,e(218),(i,s,n,r)=>{const o=e;if(!i)return dt(t,o(222));if(!n)return dt(t,o(206));const a=dt(t,o(188),n);return r?dt(t,o(217),[s+1,n]):a}),s[e(186)]({label:dt(t,e(187)),tooltip:!0,icon:xt.IconChevronUp}),n[e(186)]({label:dt(t,e(192)),tooltip:!0,icon:xt.IconChevronDown}),s[e(208)](e(190)).to(this,e(220)),n[e(208)](e(190)).to(this,e(213)),s.on(e(215),()=>this[e(219)](e(215),e(202))),n.on(e(215),()=>this[e(219)](e(215),e(184))),this[e(209)]({tag:e(198),attributes:{class:["ck",e(221),e(199)]},children:[{tag:e(229),attributes:{class:[e(227)]},children:[{tag:e(229),attributes:{class:[e(191),i.if(e(200),e(228),t=>!t)]},children:[{text:i.to(e(218),i=>i?dt(t,e(223))+": ":dt(t,e(194))+": ")}]},{text:i.to(e(212))}]},new Nt.ToolbarSeparatorView,{tag:e(198),attributes:{class:[e(205)]},children:[s,n]}]})}}var Ie=i(418),Se={attributes:{"data-cke":!0}};Se.setAttributes=Ft(),Se.insert=Dt().bind(null,"head"),Se.domAPI=Vt(),Se.insertStyleElement=Lt();Rt()(Ie.A,Se);Ie.A&&Ie.A.locals&&Ie.A.locals;function Oe(t,e){const i=xe();return(Oe=function(t,e){return i[t-=367]})(t,e)}const Te=Oe;function xe(){const t=["editing","907144SAkrGf","1992294lwtSjr","429500gjeJUd","20090280UliwCo","33FBpiwu","view","hide","isPremiumPlugin","addClass","pluginName","roots","RevisionViewerLoadingOverlay","17560RmNuuj","show","change","editor","removeClass","document","ck-editor__editable__loading-overlay","110078VnHZIY","14DKiSbE","260OFKGZu","isOfficialPlugin","863154bJcjlK"];return(xe=function(){return t})()}!function(t){const e=Oe,i=t();for(;;)try{if(350128===-parseInt(e(381))/1+parseInt(e(373))/2*(-parseInt(e(383))/3)+parseInt(e(375))/4*(-parseInt(e(391))/5)+parseInt(e(377))/6*(-parseInt(e(374))/7)+parseInt(e(379))/8+-parseInt(e(380))/9+parseInt(e(382))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);const Ne=Te(372);class Ae extends et.Plugin{static get[Te(388)](){return Te(390)}static get[Te(376)](){return!0}static get[Te(386)](){return!0}[Te(367)](){const t=Te,e=this[t(369)][t(378)][t(384)];e[t(368)](i=>{const s=t;for(const t of e[s(371)][s(389)])i[s(387)](Ne,t)})}[Te(385)](){const t=Te,e=this[t(369)][t(378)][t(384)];e[t(368)](i=>{const s=t;for(const t of e[s(371)][s(389)])i[s(370)](Ne,t)})}}const Re=Me;function Me(t,e){const i=Ve();return(Me=function(t,e){return i[t-=264]})(t,e)}function Ve(){const t=["currentChangeNumber","showNextChange","add","init","change:isReady","15XVTOtQ","editor","hide","showPreviousChange","changesNavigation","pluginName","3673047RuuZtl","set","commands","plugins","get","restoreRevision","isPremiumPlugin","Restore this revision","Back to editing","show","5043076ELqhTr","config","isForwardNavigationEnabled","numberOfChanges","revisionHistory","isEnabled","2878662njRRpU","requires","listenTo","closeRevisionViewerCallback","1733396PWjhOH","34VJjHIc","isBackwardNavigationEnabled","isNavigationMode","isReady","47041lIzdCN","63ORLqpi","componentFactory","21904350kjbwUg","RevisionViewerUI","ck-revision-history-ui__back-to-editing","forward","isOfficialPlugin","exitToEditing","602632GtPhlg","execute","bind"];return(Ve=function(){return t})()}!function(t){const e=Me,i=t();for(;;)try{if(739450===parseInt(e(285))/1*(parseInt(e(281))/2)+parseInt(e(308))/3+-parseInt(e(270))/4+parseInt(e(302))/5*(-parseInt(e(276))/6)+-parseInt(e(280))/7+-parseInt(e(294))/8*(parseInt(e(286))/9)+parseInt(e(288))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class Ee extends et.Plugin{static get[Re(307)](){return Re(289)}static get[Re(292)](){return!0}static get[Re(266)](){return!0}static get[Re(277)](){return[me,Ae]}[Re(300)](){const t=Re,e=this[t(303)],i=e[t(311)][t(264)](me),s=e[t(311)][t(264)](Ae);e.ui[t(287)][t(299)](t(293),i=>{const s=t,n=new Nt.ButtonView(i);return n[s(309)]({label:dt(i,s(268)),icon:xt.IconUndo,withText:!0,tooltip:!0,class:s(290)}),this[s(278)](n,s(295),()=>{const t=s;e[t(271)][t(264)](t(274))[t(279)]()}),n}),e.ui[t(287)][t(299)](t(265),i=>{const s=t,n=new Nt.ButtonView(i);return n[s(309)]({label:dt(i,s(267)),withText:!0,tooltip:!0}),n[s(296)](s(275)).to(e[s(310)][s(264)](s(265))),this[s(278)](n,s(295),()=>e[s(295)](s(265))),n}),e.ui[t(287)][t(299)](t(306),s=>{const n=t,r=new _e(s),o=e[n(310)][n(264)](n(305)),a=e[n(310)][n(264)](n(298));return r[n(296)](n(282)).to(o,n(275)),r[n(296)](n(272)).to(a,n(275)),r[n(296)](n(284),n(297),n(273),n(283)).to(i),this[n(278)](r,n(295),(t,i)=>{const s=n;e[s(295)](s(291)===i?s(298):s(305))}),r}),s[t(269)](),i.on(t(301),(e,i,n)=>{const r=t;n?s[r(304)]():s[r(269)]()})}}var De=i(223),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=Ft(),Ce.insert=Dt().bind(null,"head"),Ce.domAPI=Vt(),Ce.insertStyleElement=Lt();Rt()(De.A,Ce);De.A&&De.A.locals&&De.A.locals;const Fe=Le;function je(){const t=["292995pKiVfB","scrollWidth","1277208XVuGpo","clientWidth","Revision name","fieldView","extendTemplate","_tooltipString","bindTemplate","ck-tooltip_multi-line","225281LHQooz","307782dEuypQ","set","70106WfjcId","placeholder","listenTo","21bwIUoh","destroy","input","2005312yJFnFg","2020914EIxumY","14MRkxHi","_updateTooltipText","_resizeObserver","ck-revision-history-sidebar__revision-name","element","span","value","render","Enter the revision name"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=421]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(169227===parseInt(e(421))/1+parseInt(e(424))/2*(parseInt(e(427))/3)+-parseInt(e(443))/4+-parseInt(e(441))/5+parseInt(e(422))/6*(parseInt(e(432))/7)+-parseInt(e(430))/8+parseInt(e(431))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends Nt.LabeledFieldView{[Fe(434)]=null;constructor(t,e){const i=Fe;super(t,e);const s=this[i(449)];this[i(423)]({label:dt(t,i(445)),_tooltipString:""}),this[i(446)][i(425)]=dt(t,i(440)),this[i(447)]({tag:i(437),attributes:{class:[i(435)],"data-cke-tooltip-text":s.to(i(448)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(450)}})}[Fe(439)](){const e=Fe;super[e(439)](),this[e(434)]=new t.ResizeObserver(this[e(446)][e(436)],()=>this[e(433)]()),this[e(426)](this[e(446)],e(429),()=>this[e(433)]())}[Fe(428)](){const t=Fe;super[t(428)](),this[t(434)]&&this[t(434)][t(428)]()}[Fe(433)](){const t=Fe,e=this[t(446)][t(436)];this[t(448)]=e[t(442)]>e[t(444)]&&e[t(438)]||""}}var ze=i(443),We={attributes:{"data-cke":!0}};We.setAttributes=Ft(),We.insert=Dt().bind(null,"head"),We.domAPI=Vt(),We.insertStyleElement=Lt();Rt()(ze.A,We);ze.A&&ze.A.locals&&ze.A.locals;function Ue(){const t=["setTemplate","name","Revision author","Revision creator","ck-revision-history-sidebar__revision-author__name","668271HNKKeM","8430513Apsgxt","8TAktAO","392485FjEKUK","set","0 0 11 10","44350009XcGrBJ","27NwNGsM","5167660kNhWgQ","27352qOPEBu","ck-revision-history-sidebar__revision-author_creator","42QZIXjO","ck-revision-history-sidebar__revision-author","818157pshqvV","12xmzBnV","push","span"];return(Ue=function(){return t})()}function He(t,e){const i=Ue();return(He=function(t,e){return i[t-=300]})(t,e)}!function(t){const e=He,i=t();for(;;)try{if(891245===-parseInt(e(314))/1+parseInt(e(301))/2+parseInt(e(305))/3*(parseInt(e(306))/4)+parseInt(e(317))/5*(-parseInt(e(303))/6)+parseInt(e(315))/7*(-parseInt(e(316))/8)+-parseInt(e(321))/9*(parseInt(e(300))/10)+parseInt(e(320))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);class Ze extends Nt.View{constructor(t,e,i){const s=He;super(t);const n=new Nt.IconView;n[s(318)]({content:xt.IconUser,viewBox:s(319)});const r=["ck",s(304)];i&&r[s(307)](s(302));const o=[{tag:s(308),attributes:{class:["ck",s(313)],title:dt(t,s(i?312:311))},children:[n,e[s(310)]]}];this[s(309)]({tag:"li",attributes:{class:r},children:o})}}function $e(t,e){var i=Be();return($e=function(t,e){return i[t-=108]})(t,e)}function Be(){var t=["438720OlLHNa","1215318TMYrZT","965232vQdVrj","5hSfzdV","long","1910jJlsmf","toLocaleDateString","358616cBBDjF","6991TiiZVn","1044QupvFE","21395PAIDvp","11277wCiOJq","numeric","4Yauflh","toLocaleTimeString","14LnTnXt"];return(Be=function(){return t})()}!function(t){for(var e=$e,i=t();;)try{if(147871===-parseInt(e(110))/1*(-parseInt(e(115))/2)+-parseInt(e(118))/3+-parseInt(e(109))/4+parseInt(e(121))/5*(parseInt(e(119))/6)+parseInt(e(117))/7*(-parseInt(e(120))/8)+parseInt(e(113))/9*(parseInt(e(123))/10)+parseInt(e(112))/11*(parseInt(e(111))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Be);var qe=i(433),Je={attributes:{"data-cke":!0}};Je.setAttributes=Ft(),Je.insert=Dt().bind(null,"head"),Je.domAPI=Vt(),Je.insertStyleElement=Lt();Rt()(qe.A,Je);qe.A&&qe.A.locals&&qe.A.locals;function Ye(){const t=["isReady","find","execute","Name this revision","Compare against selected","stopPropagation","name","isVisible","2631VvdSNw","bind","children","change:isActionsDropdownOpen","source","3787945wPQWJV","ck-revision-history-sidebar__revision__actions","menu","6TkhHHI","map","isActionsDropdownOpen","8zNsgLF","extendTemplate","model","locale","Restore this revision","isOpen","class","add","1549365gyfajN","listView","_action","set","6yqpqmR","8533810UZncUe","panelPosition","items","first","function","isEnabled","menuitem","action","listenTo","6311259BBkVEV","ck-on","127580DqPDSB","button","Show more items","buttonView","bindTemplate","3263688btQSdx"];return(Ye=function(){return t})()}function Ge(t,e){const i=Ye();return(Ge=function(t,e){return i[t-=387]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(393133===-parseInt(e(427))/1*(parseInt(e(435))/2)+-parseInt(e(401))/3*(parseInt(e(413))/4)+parseInt(e(397))/5+parseInt(e(418))/6+-parseInt(e(432))/7+parseInt(e(389))/8*(-parseInt(e(411))/9)+parseInt(e(402))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);var Ke=i(898),Xe={attributes:{"data-cke":!0}};Xe.setAttributes=Ft(),Xe.insert=Dt().bind(null,"head"),Xe.domAPI=Vt(),Xe.insertStyleElement=Lt();Rt()(Ke.A,Xe);Ke.A&&Ke.A.locals&&Ke.A.locals;const Qe=ei;function ti(){const t=["uiLanguage","517622eGNcHl","isSelected","isConfirm","name","808084qgalEn","creator","5OpFOcu","filter","30jDRWsS","srcElement","element","div","ck-disabled","fieldView","2ALcfzr","isEnabled","value","span","deselect","5012080UdRAre","highlight","listenTo","60IGzBOB","from","length","isReady","render","3614814zAWohe","ck-revision-history-sidebar__actions_dropdown_open","revisionNameView","closest","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision-wrapper","isActionsDropdownOpen","isHighlighted","978604ossPTF","ck-revision-history-sidebar__revision__controls-wrapper","1386357AmUGjd","map","bindTemplate","431921IlTLVv","_revision",".ck-confirm-view","setTemplate","ck-revision-history-sidebar__revision_selected","unhighlight","select","_createdAtFormatted","220","change","authors","setName","extendTemplate","unshift","ck-revision-history-sidebar__revision_highlighted","revisionActionsView","ck-revision-history-sidebar__revision","_requireRevisionName","set","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-reset","createdAt","bind","fire"];return(ti=function(){return t})()}function ei(t,e){const i=ti();return(ei=function(t,e){return i[t-=122]})(t,e)}!function(t){const e=ei,i=t();for(;;)try{if(317478===-parseInt(e(158))/1*(parseInt(e(144))/2)+parseInt(e(181))/3+parseInt(e(148))/4*(-parseInt(e(150))/5)+-parseInt(e(166))/6*(-parseInt(e(184))/7)+parseInt(e(163))/8+-parseInt(e(171))/9+-parseInt(e(152))/10*(parseInt(e(179))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ti);class ii extends((0,it.ConfirmMixin)(Nt.View)){id;[Qe(173)];[Qe(133)];[Qe(185)];[Qe(135)];constructor(e,i,s,n){const r=Qe;super(e);const o=this[r(183)],a=function(t,e){const i=r,s=Array[i(167)](e[i(128)])[i(151)](t=>t!=e[i(149)]);return e[i(149)]&&s[i(131)](e[i(149)]),s[i(182)](s=>new Ze(t,s,s==e[i(149)]))}(e,i);this.id=i.id,this[r(185)]=i,this[r(135)]=n,this[r(141)](r(147),r(140)).to(i),this[r(141)](r(125)).to(this,r(140),t=>{return i=e[r(143)],(s=t)[(n=$e)(108)](i,{month:n(122),day:n(114)})+", "+s[n(116)](i,{hour:n(114),minute:n(114)});var i,s,n}),this[r(136)](r(145),!1),this[r(136)](r(178),!1),this[r(136)](r(177),!1),this[r(136)](r(169),!1),this[r(136)](r(159),!1),this[r(173)]=new Pe(e,Nt.createLabeledInputText),this[r(173)][r(157)][r(130)]({attributes:{maxlength:r(126)}}),this[r(173)][r(157)][r(141)](r(160)).to(this,r(147),t=>t||this[r(125)]),this[r(173)][r(141)](r(159)).to(this,r(145),this,r(159),(t,e)=>t&&e),this[r(133)]=s&&s[r(168)]?function(e,i){const s=Ge,n=e[s(417)],r=e[s(392)],o=(0,Nt.createDropdown)(r);o[s(403)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ge,s=t[i(392)],n={"Compare against selected":dt(s,i(423)),"Name this revision":dt(s,i(422)),"Restore this revision":dt(s,i(393))};return e[i(387)](t=>{const e=i,s=n[t[e(425)]];return s&&s!==t[e(425)]&&(t[e(425)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(414),model:new Nt.UIModel({label:t[n(425)],class:t[n(395)],withText:!0,role:n(408),_action:t[n(409)]})};i[n(391)][n(428)](n(407)).to(e,n(388),i=>n(406)!=typeof t[n(407)]||!i||t[n(407)](e)),o[n(396)](i)}return o}(e,i);return e[s(428)](s(388)).to(o,s(394)),o[s(416)][s(400)]({label:dt(r,s(415)),tooltip:!0,tooltipPosition:"sw",icon:xt.IconThreeVerticalDots}),o[s(390)]({attributes:{class:[s(433),n.if(s(388),s(412))]},on:{click:n.to(t=>t[s(424)]())}}),o.on(s(421),t=>{const i=s;e[i(419)]&&i(406)==typeof t[i(431)][i(399)]&&t[i(431)][i(399)](e)}),(0,Nt.addListToDropdown)(o,a,{role:s(434)}),o[s(410)](e,s(430),(t,n,r)=>{const a=s;if(r)for(const t of o[a(398)][a(404)]){const s=t[a(429)][a(405)],n=i[a(420)](t=>t[a(409)]===s[a(399)])[a(426)];t[a(426)]=void 0===n||n(e)}}),o}(this,s):"",this[r(133)]&&this[r(133)][r(141)](r(159)).to(this),this[r(187)]({tag:r(155),attributes:{class:["ck",r(139),r(176),o.if(r(146),r(138))]},children:[{tag:r(155),attributes:{class:["ck",r(139),r(134),o.if(r(159),r(156),t=>!t),o.if(r(145),r(122)),o.if(r(178),r(132)),o.if(r(177),r(172))]},children:[this[r(173)],{tag:r(161),attributes:{class:["ck",r(137)]},children:[{text:o.to(r(125))}]},{tag:r(155),attributes:{class:["ck",r(180)]},children:[{tag:"ul",attributes:{class:["ck",r(175)]},children:a}]},this[r(133)]],on:{click:o.to(t=>{const e=r;t[e(153)][e(174)](e(186))||this[e(169)]&&this[e(159)]&&this[e(142)](e(124),{id:this.id})})}}]})}[Qe(170)](){const t=Qe;super[t(170)]();const e=this[t(173)][t(157)][t(154)];this[t(165)](e,t(127),()=>{const i=t;this[i(135)]&&!e[i(160)]||this[i(142)](i(129),{id:this.id,name:e[i(160)]}),e[i(160)]||(e[i(160)]=this[i(147)]?this[i(147)]:this[i(125)])})}[Qe(124)](){this[Qe(145)]=!0}[Qe(162)](){this[Qe(145)]=!1}[Qe(164)](){this[Qe(178)]=!0}[Qe(123)](){this[Qe(178)]=!1}}class si extends Error{}class ni extends si{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ri extends si{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class oi extends si{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ai extends si{}class ci extends si{constructor(t){super(`Invalid unit ${t}`)}}class ui extends si{}class li extends si{constructor(){super("Zone is an abstract class")}}const hi="numeric",di="short",fi="long",mi={year:hi,month:hi,day:hi},pi={year:hi,month:di,day:hi},vi={year:hi,month:di,day:hi,weekday:di},gi={year:hi,month:fi,day:hi},yi={year:hi,month:fi,day:hi,weekday:fi},ki={hour:hi,minute:hi},bi={hour:hi,minute:hi,second:hi},wi={hour:hi,minute:hi,second:hi,timeZoneName:di},_i={hour:hi,minute:hi,second:hi,timeZoneName:fi},Ii={hour:hi,minute:hi,hourCycle:"h23"},Si={hour:hi,minute:hi,second:hi,hourCycle:"h23"},Oi={hour:hi,minute:hi,second:hi,hourCycle:"h23",timeZoneName:di},Ti={hour:hi,minute:hi,second:hi,hourCycle:"h23",timeZoneName:fi},xi={year:hi,month:hi,day:hi,hour:hi,minute:hi},Ni={year:hi,month:hi,day:hi,hour:hi,minute:hi,second:hi},Ai={year:hi,month:di,day:hi,hour:hi,minute:hi},Ri={year:hi,month:di,day:hi,hour:hi,minute:hi,second:hi},Mi={year:hi,month:di,day:hi,weekday:di,hour:hi,minute:hi},Vi={year:hi,month:fi,day:hi,hour:hi,minute:hi,timeZoneName:di},Ei={year:hi,month:fi,day:hi,hour:hi,minute:hi,second:hi,timeZoneName:di},Di={year:hi,month:fi,day:hi,weekday:fi,hour:hi,minute:hi,timeZoneName:fi},Ci={year:hi,month:fi,day:hi,weekday:fi,hour:hi,minute:hi,second:hi,timeZoneName:fi};class Fi{get type(){throw new li}get name(){throw new li}get ianaName(){return this.name}get isUniversal(){throw new li}offsetName(t,e){throw new li}formatOffset(t,e){throw new li}offset(t){throw new li}equals(t){throw new li}get isValid(){throw new li}}let ji=null;class Li extends Fi{static get instance(){return null===ji&&(ji=new Li),ji}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return rn(t,e,i)}formatOffset(t,e){return un(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Pi=new Map;const zi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Wi=new Map;class Ui extends Fi{static create(t){let e=Wi.get(t);return void 0===e&&Wi.set(t,e=new Ui(t)),e}static resetCache(){Wi.clear(),Pi.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=Ui.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return rn(t,e,i,this.name)}formatOffset(t,e){return un(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=Pi.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"}),Pi.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=zi[e];"era"===e?s[r]=n:js(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(tn({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Hi={};const Zi=new Map;function $i(t,e={}){const i=JSON.stringify([t,e]);let s=Zi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Zi.set(i,s)),s}const Bi=new Map;const qi=new Map;let Ji=null;const Yi=new Map;function Gi(t){let e=Yi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Yi.set(t,e)),e}const Ki=new Map;function Xi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Qi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Bi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Bi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Bs(this.floor?Math.floor(t):Gs(t,3),this.padTo)}}class ts{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Ui.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=$i(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class es{constructor(t,e,i){this.opts={style:"long",...i},!e&&zs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=qi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),qi.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const is={firstDay:1,minimalDays:4,weekend:[6,7]};class ss{static fromOpts(t){return ss.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||ws.defaultLocale,o=r||(n?"en-US":Ji||(Ji=(new Intl.DateTimeFormat).resolvedOptions().locale,Ji)),a=e||ws.defaultNumberingSystem,c=i||ws.defaultOutputCalendar,u=Zs(s)||ws.defaultWeekSettings;return new ss(o,a,c,u,r)}static resetCache(){Ji=null,Zi.clear(),Bi.clear(),qi.clear(),Yi.clear(),Ki.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return ss.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=$i(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=$i(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===Gi(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?ss.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Zs(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 Xi(this,t,mn,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=yo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Xi(this,t,yn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=yo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Xi(this,void 0,()=>kn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[yo.utc(2016,11,13,9),yo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Xi(this,t,In,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[yo.utc(-40,1,1),yo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Qi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ts(t,this.intl,e)}relFormatter(t={}){return new es(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Hi[i];return s||(s=new Intl.ListFormat(t,e),Hi[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Gi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ws()?function(t){let e=Ki.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...is,...e}),Ki.set(t,e)}return e}(this.locale):is}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 ns=null;class rs extends Fi{static get utcInstance(){return null===ns&&(ns=new rs(0)),ns}static instance(t){return 0===t?rs.utcInstance:new rs(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new rs(on(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${un(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${un(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return un(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 os extends Fi{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 as(t,e){if(js(t)||null===t)return e;if(t instanceof Fi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Li.instance:"utc"===i||"gmt"===i?rs.utcInstance:rs.parseSpecifier(i)||Ui.create(t)}return Ls(t)?rs.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new os(t)}const cs={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},us={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]},ls=cs.hanidec.replace(/[\[|\]]/g,"").split("");const hs=new Map;function ds({numberingSystem:t},e=""){const i=t||"latn";let s=hs.get(i);void 0===s&&(s=new Map,hs.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${cs[i]}${e}`),s.set(e,n)),n}let fs,ms=()=>Date.now(),ps="system",vs=null,gs=null,ys=null,ks=60,bs=null;class ws{static get now(){return ms}static set now(t){ms=t}static set defaultZone(t){ps=t}static get defaultZone(){return as(ps,Li.instance)}static get defaultLocale(){return vs}static set defaultLocale(t){vs=t}static get defaultNumberingSystem(){return gs}static set defaultNumberingSystem(t){gs=t}static get defaultOutputCalendar(){return ys}static set defaultOutputCalendar(t){ys=t}static get defaultWeekSettings(){return bs}static set defaultWeekSettings(t){bs=Zs(t)}static get twoDigitCutoffYear(){return ks}static set twoDigitCutoffYear(t){ks=t%100}static get throwOnInvalid(){return fs}static set throwOnInvalid(t){fs=t}static resetCaches(){ss.resetCache(),Ui.resetCache(),yo.resetCache(),hs.clear()}}class _s{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Is=[0,31,59,90,120,151,181,212,243,273,304,334],Ss=[0,31,60,91,121,152,182,213,244,274,305,335];function Os(t,e){return new _s("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Ts(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function xs(t,e,i){return i+(Ks(t)?Ss:Is)[e-1]}function Ns(t,e){const i=Ks(t)?Ss:Is,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function As(t,e){return(t-e+7)%7+1}function Rs(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=xs(s,n,r),a=As(Ts(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=sn(c,e,i)):u>sn(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...ln(t)}}function Ms(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=As(Ts(s,1,e),i),a=Xs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Xs(c)):u>a?(c=s+1,u-=Xs(s)):c=s;const{month:l,day:h}=Ns(c,u);return{year:c,month:l,day:h,...ln(t)}}function Vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:xs(e,i,s),...ln(t)}}function Es(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Ns(e,i);return{year:e,month:s,day:n,...ln(t)}}function Ds(t,e){if(!js(t.localWeekday)||!js(t.localWeekNumber)||!js(t.localWeekYear)){if(!js(t.weekday)||!js(t.weekNumber)||!js(t.weekYear))throw new ai("Cannot mix locale-based week fields with ISO-based week fields");return js(t.localWeekday)||(t.weekday=t.localWeekday),js(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),js(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 Cs(t){const e=Ps(t.year),i=$s(t.month,1,12),s=$s(t.day,1,Qs(t.year,t.month));return e?i?!s&&Os("day",t.day):Os("month",t.month):Os("year",t.year)}function Fs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=$s(e,0,23)||24===e&&0===i&&0===s&&0===n,o=$s(i,0,59),a=$s(s,0,59),c=$s(n,0,999);return r?o?a?!c&&Os("millisecond",n):Os("second",s):Os("minute",i):Os("hour",e)}function js(t){return void 0===t}function Ls(t){return"number"==typeof t}function Ps(t){return"number"==typeof t&&t%1==0}function zs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ws(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Us(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Hs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Zs(t){if(null==t)return null;if("object"!=typeof t)throw new ui("Week settings must be an object");if(!$s(t.firstDay,1,7)||!$s(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!$s(t,1,7)))throw new ui("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function $s(t,e,i){return Ps(t)&&t>=e&&t<=i}function Bs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function qs(t){return js(t)||null===t||""===t?void 0:parseInt(t,10)}function Js(t){return js(t)||null===t||""===t?void 0:parseFloat(t)}function Ys(t){if(!js(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Gs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Ks(t){return t%4==0&&(t%100!=0||t%400==0)}function Xs(t){return Ks(t)?366:365}function Qs(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Ks(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function tn(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 en(t,e,i){return-As(Ts(t,1,e),i)+e-1}function sn(t,e=4,i=1){const s=en(t,e,i),n=en(t+1,e,i);return(Xs(t)-s+n)/7}function nn(t){return t>99?t:t>ws.twoDigitCutoffYear?1900+t:2e3+t}function rn(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function on(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function an(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ui(`Invalid unit value ${t}`);return e}function cn(t,e){const i={};for(const s in t)if(Hs(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=an(n)}return i}function un(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Bs(i,2)}:${Bs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Bs(i,2)}${Bs(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ln(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const hn=["January","February","March","April","May","June","July","August","September","October","November","December"],dn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],fn=["J","F","M","A","M","J","J","A","S","O","N","D"];function mn(t){switch(t){case"narrow":return[...fn];case"short":return[...dn];case"long":return[...hn];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 pn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],vn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],gn=["M","T","W","T","F","S","S"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const kn=["AM","PM"],bn=["Before Christ","Anno Domini"],wn=["BC","AD"],_n=["B","A"];function In(t){switch(t){case"narrow":return[..._n];case"short":return[...wn];case"long":return[...bn];default:return null}}function Sn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const On={D:mi,DD:pi,DDD:gi,DDDD:yi,t:ki,tt:bi,ttt:wi,tttt:_i,T:Ii,TT:Si,TTT:Oi,TTTT:Ti,f:xi,ff:Ai,fff:Vi,ffff:Di,F:Ni,FF:Ri,FFF:Ei,FFFF:Ci};class Tn{static create(t,e={}){return new Tn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return On[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 Bs(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return kn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return mn(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return yn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Tn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return In(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return Sn(Tn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=Tn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return Sn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const xn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Nn(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function An(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Rn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Mn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=qs(e[i+n]);return[s,null,i+n]}}const Vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,En=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Dn=RegExp(`${En.source}${`(?:${Vn.source}?(?:\\[(${xn.source})\\])?)?`}`),Cn=RegExp(`(?:T${Dn.source})?`),Fn=Mn("weekYear","weekNumber","weekDay"),jn=Mn("year","ordinal"),Ln=RegExp(`${En.source} ?(?:${Vn.source}|(${xn.source}))?`),Pn=RegExp(`(?: ${Ln.source})?`);function zn(t,e,i){const s=t[e];return js(s)?i:qs(s)}function Wn(t,e){return[{hours:zn(t,e,0),minutes:zn(t,e+1,0),seconds:zn(t,e+2,0),milliseconds:Ys(t[e+3])},null,e+4]}function Un(t,e){const i=!t[e]&&!t[e+1],s=on(t[e+1],t[e+2]);return[{},i?null:rs.instance(s),e+3]}function Hn(t,e){return[{},t[e]?Ui.create(t[e]):null,e+1]}const Zn=RegExp(`^T?${En.source}$`),$n=/^-?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 Bn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Js(i)),months:d(Js(s)),weeks:d(Js(n)),days:d(Js(r)),hours:d(Js(o)),minutes:d(Js(a)),seconds:d(Js(c),"-0"===c),milliseconds:d(Ys(u),h)}]}const qn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Jn(t,e,i,s,n,r,o){const a={year:2===e.length?nn(qs(e)):qs(e),month:dn.indexOf(i)+1,day:qs(s),hour:qs(n),minute:qs(r)};return o&&(a.second=qs(o)),t&&(a.weekday=t.length>3?pn.indexOf(t)+1:vn.indexOf(t)+1),a}const Yn=/^(?:(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 Gn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Jn(e,n,s,i,r,o,a);let f;return f=c?qn[c]:u?0:on(l,h),[d,new rs(f)]}const Kn=/^(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$/,Xn=/^(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$/,Qn=/^(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 tr(t){const[,e,i,s,n,r,o,a]=t;return[Jn(e,n,s,i,r,o,a),rs.utcInstance]}function er(t){const[,e,i,s,n,r,o,a]=t;return[Jn(e,a,i,s,n,r,o),rs.utcInstance]}const ir=Nn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Cn),sr=Nn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Cn),nr=Nn(/(\d{4})-?(\d{3})/,Cn),rr=Nn(Dn),or=An(function(t,e){return[{year:zn(t,e),month:zn(t,e+1,1),day:zn(t,e+2,1)},null,e+3]},Wn,Un,Hn),ar=An(Fn,Wn,Un,Hn),cr=An(jn,Wn,Un,Hn),ur=An(Wn,Un,Hn);const lr=An(Wn);const hr=Nn(/(\d{4})-(\d\d)-(\d\d)/,Pn),dr=Nn(Ln),fr=An(Wn,Un,Hn);const mr="Invalid Duration",pr={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}},vr={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},...pr},gr=365.2425,yr=30.436875,kr={years:{quarters:4,months:12,weeks:52.1775,days:gr,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:yr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...pr},br=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],wr=br.slice(0).reverse();function _r(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Or(s)}function Ir(t,e){let i=e.milliseconds??0;for(const s of wr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function Sr(t,e){const i=Ir(t,e)<0?-1:1;br.reduceRight((s,n)=>{if(js(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),br.reduce((i,s)=>{if(js(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class Or{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?kr:vr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ss.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Or.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ui("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Or({values:cn(t,Or.normalizeUnit),loc:ss.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ls(t))return Or.fromMillis(t);if(Or.isDuration(t))return t;if("object"==typeof t)return Or.fromObject(t);throw new ui(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Rn(t,[$n,Bn])}(t);return i?Or.fromObject(i,e):Or.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Rn(t,[Zn,lr])}(t);return i?Or.fromObject(i,e):Or.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ui("need to specify a reason the Duration is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new oi(i);return new Or({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 ci(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?Tn.create(this.loc,i).formatDurationFromString(this,t):mr}toHuman(t={}){if(!this.isValid)return mr;const e=br.map(e=>{const i=this.values[e];return js(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+=Gs(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 yo.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?Ir(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Or.fromDurationLike(t),i={};for(const t of br)(Hs(e.values,t)||Hs(this.values,t))&&(i[t]=e.get(t)+this.get(t));return _r(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Or.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]=an(t(this.values[i],i));return _r(this,{values:e},!0)}get(t){return this[Or.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return _r(this,{values:{...this.values,...cn(t,Or.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return _r(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Sr(this.matrix,t),_r(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return _r(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>Or.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of br)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Ls(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ls(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return Sr(this.matrix,e),_r(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 _r(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 br)if(!e(this.values[i],t.values[i]))return!1;return!0}}const Tr="Invalid Interval";class xr{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 ui("need to specify a reason the Interval is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new ri(i);return new xr({invalid:i})}static fromDateTimes(t,e){const i=ko(t),s=ko(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?xr.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:xr.invalid("missing or invalid end"):xr.invalid("missing or invalid start")}(i,s);return null==n?new xr({start:i,end:s}):n}static after(t,e){const i=Or.fromDurationLike(e),s=ko(t);return xr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=Or.fromDurationLike(e),s=ko(t);return xr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=yo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=yo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return xr.fromDateTimes(t,r);if(n){const i=Or.fromISO(s,e);if(i.isValid)return xr.after(t,i)}else if(o){const t=Or.fromISO(i,e);if(t.isValid)return xr.before(r,t)}}return xr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?xr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(ko).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(xr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=Or.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(xr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:xr.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 xr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(xr.fromDateTimes(e,t.time)),e=null);return xr.merge(s)}difference(...t){return xr.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Tr}[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=mi,e={}){return this.isValid?Tn.create(this.s.loc.clone(e),t).formatInterval(this):Tr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Tr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Tr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Tr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Tr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Or.invalid(this.invalidReason)}mapEndpoints(t){return xr.fromDateTimes(t(this.s),t(this.e))}}class Nr{static hasDST(t=ws.defaultZone){const e=yo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Ui.isValidZone(t)}static normalizeZone(t){return as(t,ws.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||ss.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||ss.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||ss.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||ss.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ss.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ss.create(e,null,"gregory").eras(t)}static features(){return{relative:zs(),localeWeek:Ws()}}}function Ar(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(Or.fromMillis(s).as("days"))}function Rr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Ar(t,e);return(i-i%7)/7}],["days",Ar]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=Or.fromObject(r,s);return u.length>0?Or.fromMillis(c,s).shiftTo(...u).plus(l):l}Object.defineProperty(Rr,"name",{value:"default",configurable:!0});function Mr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(cs.hanidec))e+=ls.indexOf(t[i]);else for(const t in us){const[i,n]=us[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Vr=`[ ${String.fromCharCode(160)}]`,Er=new RegExp(Vr,"g");function Dr(t){return t.replace(/\./g,"\\.?").replace(Er,Vr)}function Cr(t){return t.replace(/\./g,"").replace(Er," ").toLowerCase()}function Fr(t,e){return null===t?null:{regex:RegExp(t.map(Dr).join("|")),deser:([i])=>t.findIndex(t=>Cr(i)===Cr(t))+e}}function jr(t,e){return{regex:t,deser:([,t,e])=>on(t,e),groups:e}}function Lr(t){return{regex:t,deser:([t])=>t}}const Pr={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 zr=null;function Wr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Zr(Tn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Ur{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Wr(Tn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=ds(e),s=ds(e,"{2}"),n=ds(e,"{3}"),r=ds(e,"{4}"),o=ds(e,"{6}"),a=ds(e,"{1,2}"),c=ds(e,"{1,3}"),u=ds(e,"{1,6}"),l=ds(e,"{1,9}"),h=ds(e,"{2,4}"),d=ds(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 Fr(e.eras("short"),0);case"GG":return Fr(e.eras("long"),0);case"y":return Mr(u);case"yy":case"kk":return Mr(h,nn);case"yyyy":case"kkkk":return Mr(r);case"yyyyy":return Mr(d);case"yyyyyy":return Mr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Mr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Mr(s);case"MMM":return Fr(e.months("short",!0),1);case"MMMM":return Fr(e.months("long",!0),1);case"LLL":return Fr(e.months("short",!1),1);case"LLLL":return Fr(e.months("long",!1),1);case"o":case"S":return Mr(c);case"ooo":case"SSS":return Mr(n);case"u":return Lr(l);case"uu":return Lr(a);case"uuu":case"E":case"c":return Mr(i);case"a":return Fr(e.meridiems(),0);case"EEE":return Fr(e.weekdays("short",!1),1);case"EEEE":return Fr(e.weekdays("long",!1),1);case"ccc":return Fr(e.weekdays("short",!0),1);case"cccc":return Fr(e.weekdays("long",!0),1);case"Z":case"ZZ":return jr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return jr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Lr(/[a-z_+-/]{1,256}?/i);case" ":return Lr(/[^\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]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Hs(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return js(t.z)||(i=Ui.create(t.z)),js(t.Z)||(i||(i=new rs(t.Z)),e=t.Z),js(t.q)||(t.M=3*(t.q-1)+1),js(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),js(t.u)||(t.S=Ys(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Hs(i,"a")&&Hs(i,"H"))throw new ai("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Hr(t,e,i){return new Ur(t,i).explainFromTokens(e)}function Zr(t,e){if(!t)return null;const i=Tn.create(e,t).dtFormatter((zr||(zr=yo.fromMillis(1555555555555)),zr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Pr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const $r="Invalid DateTime",Br=864e13;function qr(t){return new _s("unsupported zone",`the zone "${t.name}" is not supported`)}function Jr(t){return null===t.weekData&&(t.weekData=Rs(t.c)),t.weekData}function Yr(t){return null===t.localWeekData&&(t.localWeekData=Rs(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Gr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new yo({...i,...e,old:i})}function Kr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Xr(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 Qr(t,e,i){return Kr(tn(t),e,i)}function to(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Qs(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Or.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=tn(r);let[c,u]=Kr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function eo(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=yo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return yo.invalid(new _s("unparsable",`the input "${n}" can't be parsed as ${s}`))}function io(t,e,i=!0){return t.isValid?Tn.create(ss.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function so(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Bs(t.c.year,i?6:4),e?(s+="-",s+=Bs(t.c.month),s+="-",s+=Bs(t.c.day)):(s+=Bs(t.c.month),s+=Bs(t.c.day)),s}function no(t,e,i,s,n,r){let o=Bs(t.c.hour);return e?(o+=":",o+=Bs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Bs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Bs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Bs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Bs(Math.trunc(-t.o/60)),o+=":",o+=Bs(Math.trunc(-t.o%60))):(o+="+",o+=Bs(Math.trunc(t.o/60)),o+=":",o+=Bs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const ro={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},oo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ao={ordinal:1,hour:0,minute:0,second:0,millisecond:0},co=["year","month","day","hour","minute","second","millisecond"],uo=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lo=["year","ordinal","hour","minute","second","millisecond"];function ho(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 ci(t);return e}(t)}}function fo(t,e){const i=as(e.zone,ws.defaultZone);if(!i.isValid)return yo.invalid(qr(i));const s=ss.fromObject(e);let n,r;if(js(t.year))n=ws.now();else{for(const e of co)js(t[e])&&(t[e]=ro[e]);const e=Cs(t)||Fs(t);if(e)return yo.invalid(e);const s=function(t){if(void 0===vo&&(vo=ws.now()),"iana"!==t.type)return t.offset(vo);const e=t.name;let i=go.get(e);return void 0===i&&(i=t.offset(vo),go.set(e,i)),i}(i);[n,r]=Qr(t,s,i)}return new yo({ts:n,zone:i,loc:s,o:r})}function mo(t,e,i){const s=!!js(i.round)||i.round,n=(t,n)=>{t=Gs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function po(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 vo;const go=new Map;class yo{constructor(t){const e=t.zone||ws.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new _s("invalid input"):null)||(e.isValid?null:qr(e));this.ts=js(t.ts)?ws.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ls(t.o)&&!t.old?t.o:e.offset(this.ts);s=Xr(this.ts,r),i=Number.isNaN(s.year)?new _s("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||ss.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new yo({})}static local(){const[t,e]=po(arguments),[i,s,n,r,o,a,c]=e;return fo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=po(arguments),[i,s,n,r,o,a,c]=e;return t.zone=rs.utcInstance,fo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return yo.invalid("invalid input");const n=as(e.zone,ws.defaultZone);return n.isValid?new yo({ts:i,zone:n,loc:ss.fromObject(e)}):yo.invalid(qr(n))}static fromMillis(t,e={}){if(Ls(t))return t<-Br||t>Br?yo.invalid("Timestamp out of range"):new yo({ts:t,zone:as(e.zone,ws.defaultZone),loc:ss.fromObject(e)});throw new ui(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ls(t))return new yo({ts:1e3*t,zone:as(e.zone,ws.defaultZone),loc:ss.fromObject(e)});throw new ui("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=as(e.zone,ws.defaultZone);if(!i.isValid)return yo.invalid(qr(i));const s=ss.fromObject(e),n=cn(t,ho),{minDaysInFirstWeek:r,startOfWeek:o}=Ds(n,s),a=ws.now(),c=js(e.specificOffset)?i.offset(a):e.specificOffset,u=!js(n.ordinal),l=!js(n.year),h=!js(n.month)||!js(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ai("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ai("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Xr(a,c);m?(p=uo,v=oo,g=Rs(g,r,o)):u?(p=lo,v=ao,g=Vs(g)):(p=co,v=ro);let y=!1;for(const t of p){js(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ps(t.weekYear),n=$s(t.weekNumber,1,sn(t.weekYear,e,i)),r=$s(t.weekday,1,7);return s?n?!r&&Os("weekday",t.weekday):Os("week",t.weekNumber):Os("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ps(t.year),i=$s(t.ordinal,1,Xs(t.year));return e?!i&&Os("ordinal",t.ordinal):Os("year",t.year)}(n):Cs(n),b=k||Fs(n);if(b)return yo.invalid(b);const w=m?Ms(n,r,o):u?Es(n):n,[_,I]=Qr(w,c,i),S=new yo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?yo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:yo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return Rn(t,[ir,or],[sr,ar],[nr,cr],[rr,ur])}(t);return eo(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return Rn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Yn,Gn])}(t);return eo(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return Rn(t,[Kn,tr],[Xn,tr],[Qn,er])}(t);return eo(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(js(t)||js(e))throw new ui("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Hr(t,e,i);return[s,n,r,o]}(r,t,e);return u?yo.invalid(u):eo(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return yo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return Rn(t,[hr,or],[dr,fr])}(t);return eo(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ui("need to specify a reason the DateTime is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new ni(i);return new yo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Zr(t,ss.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Wr(Tn.parseFormat(t),ss.fromObject(e)).map(t=>t.val).join("")}static resetCache(){vo=void 0,go.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?Jr(this).weekYear:NaN}get weekNumber(){return this.isValid?Jr(this).weekNumber:NaN}get weekday(){return this.isValid?Jr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Yr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Yr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Yr(this).weekYear:NaN}get ordinal(){return this.isValid?Vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Nr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Nr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Nr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Nr.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=tn(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Xr(a,r),l=Xr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Gr(this,{ts:a}),Gr(this,{ts:c})]:[this]}get isInLeapYear(){return Ks(this.year)}get daysInMonth(){return Qs(this.year,this.month)}get daysInYear(){return this.isValid?Xs(this.year):NaN}get weeksInWeekYear(){return this.isValid?sn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?sn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=Tn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(rs.instance(t),e)}toLocal(){return this.setZone(ws.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=as(t,ws.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Qr(i,e,t)}return Gr(this,{ts:s,zone:t})}return yo.invalid(qr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Gr(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=cn(t,ho),{minDaysInFirstWeek:i,startOfWeek:s}=Ds(e,this.loc),n=!js(e.weekYear)||!js(e.weekNumber)||!js(e.weekday),r=!js(e.ordinal),o=!js(e.year),a=!js(e.month)||!js(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ai("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ai("Can't mix ordinal dates with month/day");let l;n?l=Ms({...Rs(this.c,i,s),...e},i,s):js(e.ordinal)?(l={...this.toObject(),...e},js(e.day)&&(l.day=Math.min(Qs(l.year,l.month),l.day))):l=Es({...Vs(this.c),...e});const[h,d]=Qr(l,this.o,this.zone);return Gr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Gr(this,to(this,Or.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Gr(this,to(this,Or.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=Or.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Tn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):$r}toLocaleString(t=mi,e={}){return this.isValid?Tn.create(this.loc.clone(e),t).formatDateTime(this):$r}toLocaleParts(t={}){return this.isValid?Tn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=so(this,r);return o+="T",o+=no(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?so(this,"extended"===t):null}toISOWeekDate(){return io(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+no(this,"extended"===r,e,t,i,n)}toRFC2822(){return io(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return io(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?so(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),io(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():$r}[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 Or.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(Or.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Rr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(yo.now(),t,e)}until(t){return this.isValid?xr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||yo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),mo(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?mo(t.base||yo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(yo.isDateTime))throw new ui("min requires all arguments be DateTimes");return Us(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(yo.isDateTime))throw new ui("max requires all arguments be DateTimes");return Us(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Hr(ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return yo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=ss.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Ur(n,t)}static fromFormatParser(t,e,i={}){if(js(t)||js(e))throw new ui("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ui(`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?yo.invalid(u):eo(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return mi}static get DATE_MED(){return pi}static get DATE_MED_WITH_WEEKDAY(){return vi}static get DATE_FULL(){return gi}static get DATE_HUGE(){return yi}static get TIME_SIMPLE(){return ki}static get TIME_WITH_SECONDS(){return bi}static get TIME_WITH_SHORT_OFFSET(){return wi}static get TIME_WITH_LONG_OFFSET(){return _i}static get TIME_24_SIMPLE(){return Ii}static get TIME_24_WITH_SECONDS(){return Si}static get TIME_24_WITH_SHORT_OFFSET(){return Oi}static get TIME_24_WITH_LONG_OFFSET(){return Ti}static get DATETIME_SHORT(){return xi}static get DATETIME_SHORT_WITH_SECONDS(){return Ni}static get DATETIME_MED(){return Ai}static get DATETIME_MED_WITH_SECONDS(){return Ri}static get DATETIME_MED_WITH_WEEKDAY(){return Mi}static get DATETIME_FULL(){return Vi}static get DATETIME_FULL_WITH_SECONDS(){return Ei}static get DATETIME_HUGE(){return Di}static get DATETIME_HUGE_WITH_SECONDS(){return Ci}}function ko(t){if(yo.isDateTime(t))return t;if(t&&t.valueOf&&Ls(t.valueOf()))return yo.fromJSDate(t);if(t&&"object"==typeof t)return yo.fromObject(t);throw new ui(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function bo(){const t=["fromJSDate","130170fKJevk","hasSame","local","133784FyuDcF","minus","year","toRelativeCalendar","monthLong","462212CCLqtJ","481148vzjPFi","16065hXoqUz","weekdayLong","813435dLruCf","startOf","setLocale","month","450jbNoAu","day","toJSDate","1888IbaUFA","3rGCSYr","week","1992330HoZzDv"];return(bo=function(){return t})()}function wo(t,e){const i=bo();return(wo=function(t,e){return i[t-=189]})(t,e)}function _o(t,e){const i=wo,s=yo[i(207)](t)[i(198)](e),n=yo[i(210)](),r=n[i(212)]({days:1})[i(197)](i(201));let o,a;return s[i(209)](n,i(201))?(o=s[i(197)](i(201))[i(202)](),a=s[i(190)]()):s[i(209)](r,i(201))?(o=r[i(202)](),a=s[i(190)]()):s[i(209)](n,i(205))?(o=s[i(197)](i(205))[i(202)](),a=s[i(195)]||""):s[i(209)](n,i(189))?(o=s[i(197)](i(199))[i(202)](),a=s[i(191)]||""):(o=s[i(197)](i(189))[i(202)](),a=String(s[i(189)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=wo,i=t();for(;;)try{if(318943===parseInt(e(211))/1+parseInt(e(193))/2+-parseInt(e(204))/3*(parseInt(e(192))/4)+-parseInt(e(196))/5+parseInt(e(206))/6+-parseInt(e(194))/7*(-parseInt(e(203))/8)+parseInt(e(200))/9*(-parseInt(e(208))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);var Io=i(4),So={attributes:{"data-cke":!0}};So.setAttributes=Ft(),So.insert=Dt().bind(null,"head"),So.domAPI=Vt(),So.insertStyleElement=Lt();Rt()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=137]})(t,e)}function xo(){const t=["7429720ApAoex","delegate","4HyJoLd","uiLanguage","span","startDate","_revisionActions","981203uXpkKq","_requireRevisionName","div","remove","locale","ck-revision-history-sidebar__time-period","select","ck-revision-history-sidebar__time-period__revisions","addRevision","localizedPeriodName","7941376pzMqlt","setName","845892xBZXbr","removeRevision","revisionViews","13924557yjIIAd","createCollection","7bLsgHo","find","2669242iUOBuS","setTemplate","add","1431669ZvvvhL","ck-revision-history-sidebar__time-period__label"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(789114===-parseInt(e(151))/1+parseInt(e(139))/2+parseInt(e(142))/3*(-parseInt(e(146))/4)+-parseInt(e(144))/5+-parseInt(e(163))/6*(parseInt(e(137))/7)+parseInt(e(161))/8+parseInt(e(166))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends Nt.View{[Oo(149)];[Oo(165)];[Oo(150)];[Oo(152)];constructor(t,e,i,s){const n=Oo;super(t);const r=_o(e,this[n(155)][n(147)])[n(160)];this[n(149)]=e,this[n(165)]=this[n(167)](),this[n(150)]=i,this[n(152)]=s,this[n(165)][n(145)](n(157)).to(this),this[n(165)][n(145)](n(162)).to(this),this[n(140)]({tag:n(153),attributes:{class:["ck",n(156)]},children:[{tag:n(148),attributes:{class:["ck",n(143)]},children:[{text:r}]},{tag:n(153),attributes:{class:["ck",n(158)]},children:this[n(165)]}]})}[Oo(159)](t){const e=Oo,i=new ii(this[e(155)],t,this[e(150)],this[e(152)]);this[e(165)][e(141)](i)}[Oo(164)](t){const e=Oo,i=this[e(165)][e(138)](e=>e.id===t.id);this[e(165)][e(154)](i)}}var Ao=i(651),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Ft(),Ro.insert=Dt().bind(null,"head"),Ro.domAPI=Vt(),Ro.insertStyleElement=Lt();Rt()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;function Mo(t,e){const i=Vo();return(Mo=function(t,e){return i[t-=454]})(t,e)}function Vo(){const t=["3758610gyTqMg","ck-revision-history-sidebar__header","1541948irWEJb","7169464KFjvQW","Revision history","div","span","ck-reset_all","40622DWtnEF","5fVyDwY","3160581xsOYYO","content","ck-revision-history-sidebar__header__label","2869041XtRycT","2031746fnpCsI","setTemplate"];return(Vo=function(){return t})()}!function(t){const e=Mo,i=t();for(;;)try{if(528570===parseInt(e(460))/1+parseInt(e(466))/2+-parseInt(e(462))/3+parseInt(e(454))/4*(parseInt(e(461))/5)+parseInt(e(468))/6+parseInt(e(465))/7+-parseInt(e(455))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Eo extends Nt.View{constructor(t){const e=Mo;super(t);const i=new Nt.IconView;i[e(463)]=xt.IconHistory,this[e(467)]({tag:e(457),attributes:{class:["ck",e(459),e(469)]},children:[i,{tag:e(458),attributes:{class:["ck",e(464)]},children:[dt(t,e(456))]}]})}}var Do=i(812),Co={attributes:{"data-cke":!0}};Co.setAttributes=Ft(),Co.insert=Dt().bind(null,"head"),Co.domAPI=Vt(),Co.insertStyleElement=Lt();Rt()(Do.A,Co);Do.A&&Do.A.locals&&Do.A.locals;function Fo(t,e){const i=Po();return(Fo=function(t,e){return i[t-=217]})(t,e)}const jo=Fo;!function(t){const e=Fo,i=t();for(;;)try{if(820406===parseInt(e(234))/1+-parseInt(e(262))/2*(parseInt(e(229))/3)+parseInt(e(239))/4+-parseInt(e(258))/5*(-parseInt(e(246))/6)+-parseInt(e(250))/7+-parseInt(e(259))/8+parseInt(e(226))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Lo extends Nt.View{[jo(228)];[jo(223)];[jo(221)];[jo(255)];constructor(t,e,i,s){const n=jo;super(t);const r=this[n(256)];this[n(228)]=this[n(220)](),this[n(228)][n(238)](n(227)).to(this),this[n(228)][n(238)](n(218)).to(this),this[n(223)]=e,this[n(221)]=i,this[n(255)]=s,this.on(n(227),(t,e)=>{const i=n;this[i(247)](i(249),e)}),this.on(n(218),(t,e)=>{const i=n;this[i(247)](i(253),e)}),this[n(267)](n(252),!1),this[n(235)]({tag:n(248),attributes:{class:["ck",n(241),n(240),n(260)]},children:[new Eo(t),{tag:n(248),attributes:{class:["ck",n(232),r.if(n(252),n(243),t=>!t)]},children:this[n(228)]}]})}[jo(270)](){const t=jo;super[t(270)]();for(const e of this[t(223)])this[t(257)](e);this[t(223)].on(t(222),(e,i)=>{this[t(257)](i)}),this[t(223)].on(t(225),(e,i)=>{this[t(268)](i)})}get[jo(254)](){const t=jo;return this[t(228)][t(224)](e=>e[t(254)][t(224)](t=>t))[t(233)]()}[jo(219)](t){const e=jo;for(const i of this[e(254)])t&&t.id===i.id?i[e(227)]():i[e(242)]()}[jo(251)](t){const e=jo;for(const i of this[e(254)])t[e(269)](({id:t})=>t===i.id)?i[e(261)]():i[e(263)]()}[jo(257)](t){const e=jo,i=_o(t[e(245)],this[e(230)][e(236)])[e(264)];let s=this[e(228)][e(231)](0);s&&s[e(264)][e(266)]()===i[e(266)]()||(s=new No(this[e(230)],i,this[e(221)],this[e(255)]),this[e(228)][e(222)](s)),s[e(237)](t)}[jo(268)](t){const e=jo,i=_o(t[e(245)],this[e(230)][e(236)])[e(264)];this[e(265)](i)[e(217)](t)}[jo(265)](t){const e=jo;return this[e(228)][e(244)](i=>i[e(264)][e(266)]()===t[e(266)]())}}function Po(){const t=["setName","selectRevision","createCollection","_revisionActions","add","_revisions","map","remove","3247308zMFocW","select","timePeriodViews","1749591RLmxNn","locale","get","ck-revision-history-sidebar__timeline","flat","1380828sZkKeb","setTemplate","uiLanguage","addRevision","delegate","44872IVjmBK","ck-rounded-corners","ck-reset","deselect","ck-disabled","find","createdAt","6nMBAgg","fire","div","revisionSelected","5603675pQOAko","highlightRevisions","isEnabled","revisionSetName","revisionViews","_requireRevisionName","bindTemplate","_addRevision","5529265ABAqAo","5236664dQHofh","ck-revision-history-sidebar","highlight","2dHDNNi","unhighlight","startDate","_getTimePeriodViewByStartDate","getTime","set","_removeRevision","some","render","removeRevision"];return(Po=function(){return t})()}function zo(){const t=["setName","remove","requires","config","plugins","selectRevision","element","newRevisionId","defaultRevisionActions","getIndex","_revisions","compare","highlightRevisions","revisionHistory","assign","pluginName","Name this revision","editor","773162GnfVBs","add","_sidebarView","locale","fieldView","Compare against selected","destroy","bind","getRevisionsInDiff","Restore this revision","init","string","change:diff","restoreRevisionCallback","isVisible","listenTo","_handleEditorDataReady","revisionViews","action","revisionHistory.viewerSidebarContainer","_createRevisionActions","compareAgainstSelected","isOfficialPlugin","846258iRNqpb","18HKobEo","revisionHistory.requireRevisionName","isEnabled","794580xsDKIC","_handleDiffChange","isReady","revisionSelected","42uVWmUw","map","3157656qFENAw","nameRevision","526140FlAoaP","diff","getLaterVisibleRevision","ready","select","isPremiumPlugin","9321vAjQma","restoreRevision","RevisionsSidebar","getEarlierVisibleRevision","focus","render","timePeriodViews","get","data","_revisionsRepository","length","_handleRevisionSetName","name","revisionHistory.revisionActions","_handleRevisionSelected","892KiACUv","availableRevisionActions","3427785xEcrkM","revisionSetName","_revisionViewer","appendChild","isSelected","getRevision","repository"];return(zo=function(){return t})()}const Wo=Uo;function Uo(t,e){const i=zo();return(Uo=function(t,e){return i[t-=481]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(512678===-parseInt(e(529))/1+-parseInt(e(481))/2+parseInt(e(487))/3*(-parseInt(e(502))/4)+parseInt(e(504))/5+parseInt(e(552))/6*(parseInt(e(560))/7)+-parseInt(e(562))/8*(-parseInt(e(553))/9)+-parseInt(e(556))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Ho extends et.Plugin{[Wo(506)];[Wo(496)];[Wo(531)];static[Wo(519)]=[Wo(550),Wo(488),Wo(563)];static[Wo(503)]=function(){const t=Wo;return{compareAgainstSelected:{name:t(534),action:({plugins:e},i)=>{const s=t,n=e[s(494)](me),r=n[s(510)];let o=n[s(482)][s(518)],a=i.id;r[s(520)](o)>r[s(520)](a)&&([o,a]=[a,o]),n[s(522)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(494)](me);return!(n[s(510)][s(537)](n[s(482)])[s(497)]>2||i[s(508)])}},restoreRevision:{name:t(538),action:(e,{id:i})=>{const s=t;e[s(514)][s(494)](s(524))[s(542)](i)},isVisible:({plugins:e},i)=>!!e[t(494)](me)[t(510)][t(483)](i.id)},nameRevision:{name:t(527),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(494)](me),o=r[n(510)][n(490)](i);r[n(522)](i,o),s[n(491)](),s[n(533)][n(485)]()}}}}();static get[Wo(526)](){return Wo(489)}static get[Wo(551)](){return!0}static get[Wo(486)](){return!0}static get[Wo(513)](){return[me]}constructor(t){const e=Wo;super(t),this[e(506)]=t[e(515)][e(494)](me),this[e(496)]=this[e(506)][e(510)],this[e(531)]=null}[Wo(539)](){const t=Wo,e=this[t(496)][t(521)],i=this[t(549)](),s=this[t(528)][t(514)][t(494)](t(548));this[t(531)]=new Lo(this[t(528)][t(532)],e,i,this[t(528)][t(514)][t(494)](t(554))),this[t(531)].on(t(559),this[t(501)][t(536)](this)),this[t(531)].on(t(505),this[t(498)][t(536)](this)),this[t(531)][t(536)](t(555)).to(this[t(506)]),this[t(531)][t(493)].on(t(530),(e,i)=>{const s=t;i[s(546)].on(s(530),(t,e)=>{const i=s;e[i(536)](i(555),i(558)).to(this[i(506)])})}),this[t(531)][t(492)](),this[t(544)](this[t(528)][t(495)],t(484),this[t(545)][t(536)](this)),this[t(544)](this[t(506)],t(541),this[t(557)][t(536)](this)),s[t(507)](this[t(531)][t(517)])}[Wo(535)](){const t=Wo;this[t(531)][t(517)][t(512)](),this[t(531)][t(535)]()}[Wo(545)](){const t=Wo,e=this[t(496)][t(509)](0);if(e){const i=this[t(496)][t(490)](e.id);this[t(506)][t(522)](e,i)}}[Wo(501)](t,e){const i=Wo,s=this[i(496)][i(509)](e.id),n=this[i(496)][i(490)](s.id);this[i(506)][i(522)](s,n)}[Wo(498)](t,e){const i=Wo;this[i(496)][i(509)](e.id)[i(511)](e[i(499)])}[Wo(557)](t,e,i){const s=Wo,n=this[s(496)][s(537)](i);n[s(497)]>2?(this[s(531)][s(523)](n),this[s(531)][s(516)](null)):(this[s(531)][s(523)]([]),this[s(531)][s(516)](n[0]))}[Wo(549)](){const t=Wo,e=this[t(528)],i=Ho[t(503)],s=e[t(514)][t(494)](t(500))||Ho[t(519)];if(s[t(497)])return s[t(561)](s=>{const n=t,r=n(540)==typeof s?Object[n(525)]({},i[s]):s;return r[n(547)]=r[n(547)][n(536)](this,e),r[n(543)]&&(r[n(543)]=r[n(543)][n(536)](this,e)),r})}}function Zo(t,e){const i=Bo();return(Zo=function(t,e){return i[t-=266]})(t,e)}const $o=Zo;function Bo(){const t=["restore","stickyPanel","limiterElement","editable","init","isFocused","ready","_view","1137582hgQOZL","_elementReplacer","10mPxDhL","editor","editing","get","6679352ACzrxx","15486CCiLBu","render","view","1076698FfdAeU","addToolbar","508042Cfmsrt","fire","_toolbarConfig","document","destroy","_initToolbar","isActive","184249QrYoIP","setEditableElement","fillFromConfig","rootName","viewportOffset","getRoot","replace","element","bind","focusTracker","config","detachDomRoot","attachDomRoot","toolbar","viewportTopOffset","componentFactory","name","461060oCKlyr"];return(Bo=function(){return t})()}!function(t){const e=Zo,i=t();for(;;)try{if(182454===parseInt(e(286))/1+parseInt(e(279))/2+parseInt(e(274))/3+parseInt(e(303))/4*(parseInt(e(269))/5)+parseInt(e(267))/6+parseInt(e(277))/7+-parseInt(e(273))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class qo extends Nt.EditorUI{[$o(266)];[$o(281)];[$o(268)];get[$o(276)](){return this[$o(266)]}constructor(e,i){const s=$o;super(e),this[s(266)]=i,this[s(281)]=(0,Nt.normalizeToolbarConfig)(e[s(296)][s(272)](s(299))),this[s(268)]=new t.ElementReplacer}get[$o(293)](){const t=$o;return this[t(276)][t(293)]}[$o(308)](t){const e=$o,i=this[e(270)],s=this[e(276)],n=i[e(271)][e(276)],r=s[e(307)],o=n[e(282)][e(291)]();r[e(302)]=o[e(289)],s[e(275)]();const a=r[e(293)];this[e(287)](r[e(302)],a),s[e(307)][e(294)](e(309)).to(this[e(295)]),n[e(298)](a),this[e(268)][e(292)](t,this[e(293)]),this[e(284)](),this[e(280)](e(310))}[$o(283)](){const t=$o;super[t(283)]();const e=this[t(276)],i=this[t(270)][t(271)][t(276)];this[t(268)][t(304)](),i[t(297)](e[t(307)][t(302)]),e[t(283)]()}[$o(284)](){const t=$o,e=this[t(276)];e[t(305)][t(294)](t(285)).to(this[t(295)],t(309)),e[t(305)][t(306)]=e[t(293)],e[t(305)][t(294)](t(300)).to(this,t(290),({top:t})=>t),e[t(299)][t(288)](this[t(281)],this[t(301)]),this[t(278)](e[t(299)])}}var Jo=i(76),Yo={attributes:{"data-cke":!0}};Yo.setAttributes=Ft(),Yo.insert=Dt().bind(null,"head"),Yo.domAPI=Vt(),Yo.insertStyleElement=Lt();Rt()(Jo.A,Yo);Jo.A&&Jo.A.locals&&Jo.A.locals;function Go(t,e){var i=Xo();return(Go=function(t,e){return i[t-=227]})(t,e)}var Ko=Go;function Xo(){var t=["stickyPanel","137559LhzbFS","531535vUNafH","editable","3275818BNjIBs","4WnGOeO","5775712wImvGB","render","content","main","add","toolbar","74573nCjdly","shouldToolbarGroupWhenFull","60HZgdQa","6574536nrBlEf","top","19757694lzDxzF","_editable","6TVBeXo","10KuaexV"];return(Xo=function(){return t})()}!function(t){for(var e=Go,i=t();;)try{if(379318===parseInt(e(245))/1*(parseInt(e(238))/2)+-parseInt(e(234))/3*(parseInt(e(247))/4)+parseInt(e(235))/5*(parseInt(e(231))/6)+parseInt(e(237))/7+-parseInt(e(239))/8+-parseInt(e(227))/9+-parseInt(e(232))/10*(-parseInt(e(229))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo);class Qo extends Nt.BoxedEditorUIView{[Ko(230)];[Ko(233)];[Ko(244)];get[Ko(236)](){return this[Ko(230)]}constructor(t,e,i={}){var s=Ko;super(t),this[s(233)]=new Nt.StickyPanelView(t),this[s(244)]=new Nt.ToolbarView(t,{shouldGroupWhenFull:i[s(246)]}),this[s(230)]=new Nt.InlineEditableUIView(t,e)}[Ko(240)](){var t=Ko;super[t(240)](),this[t(233)][t(241)][t(243)](this[t(244)]),this[t(228)][t(243)](this[t(233)]),this[t(242)][t(243)](this[t(236)])}}const ta=ea;function ea(t,e){const i=sa();return(ea=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(168359===parseInt(e(257))/1+parseInt(e(239))/2*(-parseInt(e(243))/3)+parseInt(e(255))/4+-parseInt(e(242))/5+-parseInt(e(237))/6+-parseInt(e(246))/7+parseInt(e(249))/8*(parseInt(e(245))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sa);class ia extends((0,et.ElementApiMixin)(et.Editor)){[ta(259)];get ui(){return this[ta(259)]}constructor(t,e){const i=ta;super(e),this[i(256)]=t,this[i(261)][i(240)][i(262)]();const s=new Qo(this[i(258)],this[i(248)][i(236)],{shouldToolbarGroupWhenFull:!0});this[i(259)]=new qo(this,s)}[ta(254)](){const t=ta;return this[t(253)](),this.ui[t(254)](),super[t(254)]()}static async[ta(241)](t,e){const i=ta,s=new this(t,e);return await s[i(251)](),await s.ui[i(247)](t),await s[i(250)][i(247)](s[i(260)][i(238)](i(244))||""),s[i(252)](i(235)),s}}function sa(){const t=["document","create","785035Kubosz","3UlEKFJ","initialData","10278AIZeUa","1305178MsJLfY","init","editing","3208JzspNQ","data","initPlugins","fire","updateSourceElement","destroy","1242536BNQRBt","sourceElement","70281jWWWXA","locale","_ui","config","model","createRoot","ready","view","421812NcGfLE","get","513470Lqapgd"];return(sa=function(){return t})()}const na=ra;function ra(t,e){const i=oa();return(ra=function(t,e){return i[t-=240]})(t,e)}function oa(){const t=["document","translations","Dialog","setSelection","Autosave","toLocaleTimeString","restoreRevision","fromCharCode","AITranslate","4243430FyJcnI","name","revisionHistory.viewerContainer","set","revisionHistory.viewerEditorElement","AITabs","getRoot","getRevisionDocumentData","removeSelectionAttribute","AIChatShortcuts","34855GZcopJ","toVersion","change","getRevision","revisionHistory.requireRevisionName","style","enqueueChange","revisionHistory","2409795NRLOwa","parse","RevisionViewer","_update","editor","toJSON","removeAttribute","486030aXlDOU","locale","28ZDpOIL","catch","PaginationLookup","AIQuickActions","view","bind","6523032Juxfor","Restored","RevisionHistory","revisionHistory.restoreRevisionCallback"," ck-tab-panel_disabled","pluginName","plugins","isOpen","RevisionViewerIntegration","class","_restoreRevision","_closeRevisionViewer","detachRoot","hide","isAnonymous","insert","includes","RevisionTracker","numeric","adapter","isReadOnly","result","createRangeIn","save","isRevisionViewerOpen","querySelector","long","create","has","get","isReady","update","RevisionsRepository","revisionHistory.editorContainer","getMarkersGroup","remove","createdAt","DocumentOutline","selection","getRevisions","config","revisionHistory.closeRevisionViewerCallback","_enhanceShowRevisionViewerCallback","push","exitToEditing","addUser","_viewerEditor","addRevisionData","users","isPremiumPlugin","closeRevisionViewerCallback","revision-history-viewer-opened","_cleanUp","$graveyard","showRevisionViewerCallback","_recalculatePageBreaks","AIBalloon","tabindex","replace","destroy","isEnabled","saveRevision",".ck-ai-chat__prompt-input .ck-textarea","AIActions","define","error","changesNavigation","RevisionHistoryUtils","addRoot","toolbar","markers","_showRevisionViewer","getUser","loadRevisionData","AIChatHistory","model","Users","revision-history-missing-configuration","setAttribute","9URkxtl","block","2532105HFBgpV","_getRevisionViewerEditorConfig","creator","then","uiLanguage","RestrictedEditingMode","82758VFaqHm","156FLAKDa","isOfficialPlugin","ck-tab-panel_disabled","requires","panelViews","RevisionHistoryUI","data","getRevisionRootsAttributes","end","removeMarker","init","keys","refreshVisibility","repository","toLocaleDateString","AIReviewMode","DocumentOutlineUI","restrictedEditingException","element","map","display","getAttributeKeys","revisionHistory.showRevisionViewerCallback","from","commands",".ck-ai-chat-history .ck-input","lazyRoots","join","rootName","fromVersion","refreshPositioning","Annotations","AIChat","_enhanceCloseRevisionViewerCallback","indexOf","roots","enableReadOnlyMode","isAttached","disableReadOnlyMode","none"];return(oa=function(){return t})()}!function(t){const e=ra,i=t();for(;;)try{if(451144===-parseInt(e(338))/1*(-parseInt(e(346))/2)+parseInt(e(244))/3+-parseInt(e(347))/4*(-parseInt(e(406))/5)+parseInt(e(251))/6*(-parseInt(e(253))/7)+-parseInt(e(259))/8+-parseInt(e(340))/9+parseInt(e(396))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa);const aa=[na(352),na(345),na(379),na(362),na(315),na(256),na(322),na(405),na(395)];class ca extends et.Plugin{[na(280)];static get[na(264)](){return na(267)}static get[na(348)](){return!0}static get[na(308)](){return!0}constructor(t){const e=na;function i(t){const e=ra;return t[e(366)](t=>String[e(394)](t))[e(374)]("")}super(t),this[e(280)]=e(355),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 ua extends et.Plugin{[na(305)];static get[na(264)](){return na(261)}static get[na(348)](){return!0}static get[na(308)](){return!0}static get[na(350)](){return[bt,Gt]}constructor(e){const i=na;if(super(e),!this[i(248)][i(299)][i(288)](i(243)))throw new t.CKEditorError(i(336),this);this[i(305)]=null,this[i(399)](i(283),!1),this[i(248)][i(299)][i(323)](i(369),t=>this[i(330)]({...t,translations:this[i(248)][i(252)][i(388)]})),this[i(248)][i(299)][i(323)](i(300),t=>this[i(270)](t)),this[i(248)][i(299)][i(323)](i(262),t=>this[i(269)](t)),this[i(248)][i(299)][i(323)](i(240),!1),this[i(301)](),this[i(380)]()}set[na(278)](t){const e=na;this[e(248)][e(265)][e(288)](e(276))[e(278)]=t}get[na(278)](){const t=na;return this[t(248)][t(265)][t(288)](t(276))[t(278)]}[na(306)](t){const e=na;return this[e(248)][e(265)][e(288)](e(276))[e(306)](t)}[na(409)](t){const e=na;return this[e(248)][e(265)][e(288)](e(291))[e(409)](t)}[na(298)](t){const e=na;return this[e(248)][e(265)][e(288)](e(291))[e(298)](t||{toJSON:!1})}[na(341)](){const e=na,i=this[e(248)],s=(0,it.sanitizeEditorConfig)(i,aa),n=i[e(265)][e(288)](e(276)),r=i[e(265)][e(288)](e(335))[e(307)];return s[e(328)]=[e(303),e(393),e(325)],delete s[e(373)],s[e(265)][e(302)](ca,me,Ee,class extends et.Plugin{static get[e(350)](){return[me,e(335)]}[e(357)](){const s=e,o=this[s(248)][s(265)][s(288)](s(335));for(const t of r)t[s(273)]||o[s(331)](t.id)||o[s(304)](t);const a=n[s(360)][s(298)]();let c=null;const u=this[s(248)][s(265)][s(288)](s(246));u[s(278)]=n[s(278)],u[s(258)](s(319)).to(n),this[s(248)][s(371)][s(288)](s(393))[s(258)](s(319)).to(i,s(279),t=>!t);for(const e of a){const i=null===e[s(342)];if(i&&e[s(407)]===e[s(376)])continue;const r=e[s(249)]();u[s(306)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(247)](r,o);else if(!o){const e=a[u(249)]();e.id=(0,t.uid)(),n[u(320)](e,a[u(407)])[u(343)](t=>{c=t})}}else e[u(247)](r,o)})}}},Ho),s}[na(301)](){const t=na,e=this[t(248)][t(299)][t(288)](t(243))[t(313)];this[t(248)][t(299)][t(399)](t(369),async()=>{const i=t;this[i(248)][i(383)](i(310));const s=this[i(248)][i(265)][i(288)](i(276));if(this[i(248)][i(265)][i(287)](i(391))){const t=this[i(248)][i(265)][i(288)](i(391));await t[i(282)]()}else await s[i(290)]();if(this[i(248)][i(265)][i(287)](i(255))&&this[i(248)][i(265)][i(288)](i(255))[i(314)](),this[i(248)][i(265)][i(287)](i(389))){const t=this[i(248)][i(265)][i(288)](i(389));t[i(266)]&&t[i(272)]()}if(this[i(248)][i(265)][i(287)](i(401))){const t=this[i(248)][i(265)][i(288)](i(401))[i(257)][i(351)];for(const e of t)e[i(268)]=e[i(268)]?e[i(268)]+i(263):i(349);if(this[i(248)][i(265)][i(287)](i(379))){const t=document[i(284)](i(321));t&&t[i(337)](i(316),"-1")}if(this[i(248)][i(265)][i(287)](i(333))){const t=document[i(284)](i(372));t&&t[i(337)](i(316),"-1")}}const n=this[i(341)]();return e(n)[i(343)](t=>{const e=i;return this[e(305)]=t,this[e(248)][e(265)][e(287)](e(378))&&this[e(248)][e(265)][e(288)](e(378))[e(359)](),this[e(248)][e(265)][e(287)](e(296))&&(this[e(248)][e(265)][e(288)](e(363))[e(257)][e(365)][e(241)][e(367)]=e(386)),t})[i(254)](t=>(console[i(324)](t),this[i(248)][i(385)](i(310)),null))})}[na(380)](){const t=na,e=this[t(248)][t(299)][t(288)](t(243))[t(309)];this[t(248)][t(299)][t(399)](t(300),()=>{const i=t;if(this[i(248)][i(265)][i(287)](i(255))&&this[i(248)][i(265)][i(288)](i(255))[i(314)](),this[i(248)][i(265)][i(287)](i(296))&&(this[i(248)][i(265)][i(288)](i(363))[i(257)][i(365)][i(241)][i(367)]=""),this[i(248)][i(265)][i(287)](i(401))){const t=this[i(248)][i(265)][i(288)](i(401))[i(257)][i(351)];for(const e of t)e[i(268)]=i(349)===e[i(268)]?"":e[i(268)][i(317)](i(263),"");if(this[i(248)][i(265)][i(287)](i(379))){const t=document[i(284)](i(321));t&&t[i(250)](i(316))}if(this[i(248)][i(265)][i(287)](i(333))){const t=document[i(284)](i(372));t&&t[i(250)](i(316))}}return this[i(305)][i(265)][i(288)](i(246))[i(311)](),e(this[i(305)])[i(343)](()=>{const t=i;if(this[t(248)][t(385)](t(310)),this[t(305)]=null,this[t(248)][t(265)][t(287)](t(378))){const e=this[t(248)][t(265)][t(288)](t(378));e[t(359)](),e[t(377)]()}})})}[na(330)](t){const e=na,i=this[e(248)][e(299)][e(288)](e(292)),s=this[e(248)][e(299)][e(288)](e(398)),n=this[e(248)][e(299)][e(288)](e(400));return ia[e(286)](n,t)[e(343)](t=>(s[e(241)][e(367)]=e(339),i[e(241)][e(367)]=e(386),this[e(283)]=!0,t))}[na(270)](t){const e=na,i=this[e(248)][e(299)][e(288)](e(292));return this[e(248)][e(299)][e(288)](e(398))[e(241)][e(367)]=e(386),i[e(241)][e(367)]="",this[e(283)]=!1,t[e(318)]()}async[na(269)](t){const e=na,i=this[e(248)],s=this[e(305)][e(265)][e(288)](e(246)),n=i[e(265)][e(288)](e(276)),r=i[e(265)][e(288)](e(326)),o=s[e(360)][e(409)](t);let a,c,u;try{await r[e(332)](o,this[e(278)]),a=r[e(403)](o),c=r[e(354)](o)}catch(t){return void console[e(324)](t)}i[e(334)][e(408)](t=>{const s=e;for(const e of Array[s(370)](i[s(334)][s(329)][s(293)](s(364))))t[s(356)](e)}),s[e(289)]=!1,i[e(334)][e(242)](t=>{const s=e;t[s(390)](null),t[s(404)](i[s(334)][s(387)][s(297)][s(368)]());const n=Object[s(358)](a);for(const e of i[s(334)][s(387)][s(382)])s(312)!=e[s(375)]&&e[s(384)]()&&!n[s(275)](e[s(375)])&&t[s(271)](e);for(const e of n){let n=i[s(334)][s(387)][s(402)](e);n&&n[s(384)]()||(n=t[s(327)](e));const r=c[e],o=Object[s(358)](r),u=a[e];for(const e of n[s(368)]())o[s(275)](e)||t[s(250)](e,n);for(const i of o)t[s(337)](i,c[e][i],n);t[s(294)](t[s(281)](n)),t[s(274)](i[s(353)][s(245)](u,n),n,0)}});const l=dt(i[e(252)],e(260));return u=o[e(397)]?-1==o[e(397)][e(381)](l)?l+": "+o[e(397)]:o[e(397)]:l+": "+o[e(295)][e(361)](i[e(252)][e(344)],{month:e(285),day:e(277)})+", "+o[e(295)][e(392)](i[e(252)][e(344)],{hour:e(277),minute:e(277)}),await n[e(320)]({name:u}),s[e(289)]=!0,i[e(299)][e(288)](e(243))[e(309)]()}}function la(){var t=["2008140vwprzB","332651IbAzpA","3bYOVYh","445529JNcPTj","5rMawZu","5543516BzWeLO","80748iESxSN","329WDkVto","5271084aCGiVP","210904bXFDVg","70Uwdsrg"];return(la=function(){return t})()}function ha(t,e){var i=la();return(ha=function(t,e){return i[t-=235]})(t,e)}!function(t){for(var e=ha,i=t();;)try{if(721010===parseInt(e(237))/1+-parseInt(e(240))/2+parseInt(e(236))/3*(-parseInt(e(239))/4)+-parseInt(e(238))/5*(parseInt(e(245))/6)+-parseInt(e(241))/7*(-parseInt(e(243))/8)+parseInt(e(242))/9+-parseInt(e(244))/10*(-parseInt(e(235))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(la)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={76(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},450(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},522(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},898(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{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-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-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},433(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},443(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},223(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},416(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},812(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},651(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},4(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},434(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},418(t,e,i){"use strict";i.d(e,{A:()=>a});var s=i(366),n=i.n(s),r=i(271),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{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__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.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},271(t){"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},366(t){"use strict";t.exports=function(t){return t[1]}},789(t){"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},298(t){"use strict";var e={};t.exports=function(t,i){var s=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(i)}},825(t){"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},207(t){"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},437(t){"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function s(t,e,s,n){var r;if(s)r="";else{r="",n.supports&&(r+="@supports (".concat(n.supports,") {")),n.media&&(r+="@media ".concat(n.media," {"));var o=void 0!==n.layer;o&&(r+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),r+=n.css,o&&(r+="}"),n.media&&(r+="}"),n.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var n={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=n.singletonCounter++,i=n.singleton||(n.singleton=t.insertStyleElement(t));return{update:function(t){s(i,e,!1,t)},remove:function(t){s(i,e,!0,t)}}}},211(t,e,i){t.exports=i(312)("./src/collaboration-core.js")},782(t,e,i){t.exports=i(237)("./src/core.js")},783(t,e,i){t.exports=i(237)("./src/engine.js")},355(t,e,i){t.exports=i(237)("./src/icons.js")},311(t,e,i){t.exports=i(237)("./src/ui.js")},584(t,e,i){t.exports=i(237)("./src/utils.js")},312(t){"use strict";t.exports=CKEditor5.collaborationDll},237(t){"use strict";t.exports=CKEditor5.dll}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>ve,Revision:()=>tt,RevisionHistory:()=>ua,RevisionHistoryUI:()=>Jt,RevisionHistoryUtils:()=>ht,RevisionTracker:()=>bt,RevisionViewer:()=>fe,RevisionViewerEditor:()=>ia,RevisionViewerIntegration:()=>ca,RevisionViewerLoadingOverlay:()=>Ae,RevisionViewerUI:()=>De,RevisionsRepository:()=>ot,RevisionsSidebar:()=>Uo,ShowChangeCommand:()=>ge});var t=i(584);function e(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const n="[object RegExp]",r="[object String]",o="[object Number]",a="[object Boolean]",c="[object Arguments]",u="[object Symbol]",l="[object Date]",h="[object Map]",d="[object Set]",f="[object Array]",m="[object ArrayBuffer]",p="[object Object]",v="[object DataView]",g="[object Uint8Array]",y="[object Uint8ClampedArray]",k="[object Uint16Array]",b="[object Uint32Array]",w="[object Int8Array]",_="[object Int16Array]",I="[object Int32Array]",S="[object Float32Array]",O="[object Float64Array]";function T(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}const x="object"==typeof globalThis&&globalThis||"object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof i.g&&i.g||function(){return this}();function N(t){return void 0!==x.Buffer&&x.Buffer.isBuffer(t)}function A(t,i,s,T=new Map,x=void 0){const M=x?.(t,i,s,T);if(void 0!==M)return M;if(null==(V=t)||"object"!=typeof V&&"function"!=typeof V)return t;var V;if(T.has(t))return T.get(t);if(Array.isArray(t)){const e=new Array(t.length);T.set(t,e);for(let i=0;i<t.length;i++)e[i]=A(t[i],i,s,T,x);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;T.set(t,e);for(const[i,n]of t)e.set(i,A(n,i,s,T,x));return e}if(t instanceof Set){const e=new Set;T.set(t,e);for(const i of t)e.add(A(i,void 0,s,T,x));return e}if(N(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);T.set(t,e);for(let i=0;i<t.length;i++)e[i]=A(t[i],i,s,T,x);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 T.set(t,e),R(e,t,s,T,x),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return T.set(t,e),R(e,t,s,T,x),e}if("undefined"!=typeof Blob&&t instanceof Blob){const e=new Blob([t],{type:t.type});return T.set(t,e),R(e,t,s,T,x),e}if(t instanceof Error){const e=structuredClone(t);return T.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,e.constructor=t.constructor,R(e,t,s,T,x),e}if(t instanceof Boolean){const e=new Boolean(t.valueOf());return T.set(t,e),R(e,t,s,T,x),e}if(t instanceof Number){const e=new Number(t.valueOf());return T.set(t,e),R(e,t,s,T,x),e}if(t instanceof String){const e=new String(t.valueOf());return T.set(t,e),R(e,t,s,T,x),e}if("object"==typeof t&&function(t){switch(e(t)){case c:case f:case m:case v:case a:case l:case S:case O:case w:case _:case I:case h:case o:case p:case n:case d:case r:case u:case g:case y:case k:case b:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return T.set(t,e),R(e,t,s,T,x),e}return t}function R(t,e,i=t,s,n){const r=[...Object.keys(e),...T(e)];for(let o=0;o<r.length;o++){const a=r[o],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=A(e[a],a,i,s,n))}}function M(t,i){return function(t,e){return A(t,void 0,t,new Map,e)}(t,(s,n,u,l)=>{const h=i?.(s,n,u,l);if(void 0!==h)return h;if("object"==typeof t){if("[object Object]"===e(t)&&"function"!=typeof t.constructor){const e={};return l.set(t,e),R(e,t,u,l),e}switch(Object.prototype.toString.call(t)){case o:case r:case a:{const e=new t.constructor(t?.valueOf());return R(e,t),e}case c:{const e={};return R(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}}})}function V(t){return M(t)}function D(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function E(t){return"symbol"==typeof t||t instanceof Symbol}function C(t){if("string"==typeof t)return t;if(Array.isArray(t))return t.map(C).join(",");if(E(t))return t.toString();const e=t+"";return"0"===e&&Object.is(Number(t),-0)?"-0":e}function F(t){if(Array.isArray(t))return t.map(D);if("symbol"==typeof t)return[t];var e;const i=[],s=(t=null==(e=t)?"":C(e)).length;if(0===s)return i;let n=0,r="",o="",a=!1,c=!1;const u=/^-?\d+(?:\.\d+)?$/;for(46===t.charCodeAt(0)&&i.push("");n<s;){const e=t[n];if(o)"\\"===e&&n+1<s?(n++,r+=t[n]):e===o?o="":r+=e;else if(a)if('"'===e||"'"===e)o=e,c=!0;else if("]"===e){if(a=!1,c||!r.includes(".")||u.test(r))i.push(r);else{const t=r.split(".");for(let e=0;e<t.length;e++)""!==t[e]&&i.push(t[e])}r=""}else r+=e;else if("["===e)a=!0,c=!1,r&&(i.push(r),r="");else if("."===e){r&&(i.push(r),r="");const e=t[n+1];void 0!==e&&"."!==e||i.push("")}else r+=e;n++}return r&&i.push(r),i}function j(t){return"__proto__"===t}const L=/\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;function P(t){switch(typeof t){case"number":case"symbol":default:return!1;case"string":return""!==t&&!t.startsWith(".")&&!t.endsWith(".")&&L.test(t)}}function z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(j(e))return i;const s=t[e];return void 0===s?P(e)&&!Object.hasOwn(t,e)?z(t,F(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=D(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(j(e[t]))return i;s=s[e[t]]}return void 0===s?i:s}(t,e,i);if(j(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function W(t){return null!==t&&("object"==typeof t||"function"==typeof t)}const Z=/^(?:0|[1-9]\d*)$/;function U(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 Z.test(t)}}const H=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,q=/^\w*$/;function $(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const B=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&$(s,i)&&(void 0!==i||e in t)||(t[e]=i)};function Y(t){return"__proto__"===t||"constructor"===t||"prototype"===t}function G(t,e,i,s){if(null==t&&!W(t))return t;let n;var r,o;r=e,o=t,n=!Array.isArray(r)&&("number"==typeof r||"boolean"==typeof r||null==r||E(r)||"string"==typeof r&&(q.test(r)||!H.test(r))||null!=o&&Object.hasOwn(o,r))?[e]:Array.isArray(e)?e:F(e);const a=i(z(t,n));let c=t;for(let e=0;e<n.length&&null!=c;e++){const i=D(n[e]);if(Y(i))return t;let r;if(e===n.length-1)r=a;else{const o=c[i],a=s?.(o,i,t);r=void 0!==a?a:W(o)?o:U(n[e+1])?[]:{}}B(c,i,r),c=c[i]}return t}function J(t,e){const i=1===e.length?t:z(t,e.slice(0,-1)),s=e[e.length-1];if(void 0===i?.[s])return!0;if(j(s))return!1;try{return delete i[s],!0}catch{return!1}}const K=X;function X(t,e){const i=Q();return(X=function(t,e){return i[t-=320]})(t,e)}function Q(){const t=["set","authors","createdAt","392qnbPxT","setAttribute","removeAttribute","setName","244020qacZfg","649125wFtJdb","model","fire","2905YUFlvA","26313ReTUIk","toJSON","99493LGyStN","attributes","385862MnXvlO","name","authorsIds","693772QbFZQu","492DnOZqH","diffData","creatorId","map","creator","toVersion","_update","fromVersion"];return(Q=function(){return t})()}!function(t){const e=X,i=t();for(;;)try{if(102065===parseInt(e(342))/1+parseInt(e(344))/2+-parseInt(e(335))/3+-parseInt(e(347))/4+parseInt(e(339))/5*(-parseInt(e(320))/6)+parseInt(e(340))/7*(parseInt(e(331))/8)+-parseInt(e(336))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Q);class tt extends((0,t.ObservableMixin)()){id;[K(324)];[K(329)];[K(321)];[K(325)];[K(327)];[K(337)];constructor(e){const i=K;super(),this.id=e.id||(0,t.uid)(),this[i(324)]=e[i(324)]||null,this[i(329)]=e[i(329)]||[],this[i(321)]=e[i(321)]||null,this[i(325)]=e[i(325)]||0,this[i(327)]=e[i(327)]||0,this[i(328)](i(345),e[i(345)]||""),this[i(328)](i(330),e[i(330)]||new Date),this[i(328)](i(343),e[i(343)]||{})}[K(334)](t){this[K(326)]({name:t})}[K(332)](t,e){const i=K,s=V(this[i(343)]);var n;n=e,G(s,t,()=>n,()=>{}),this[i(326)]({attributes:s})}[K(333)](t){const e=K,i=V(this[e(343)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return J(t,e);if("number"==typeof e?e=D(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),j(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]&&P(e)&&!Object.hasOwn(t,e))return J(t,F(e));if(j(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(326)]({attributes:i})}[K(326)](t,e=!1){const i=K;let s=!1;const n={id:this.id},r=[i(345),i(330),i(321),i(329),i(343),i(325),i(327),i(322)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,n[e]=i,s=!0)}s&&(n[i(329)]&&(n[i(346)]=n[i(329)][i(323)](t=>t.id),delete n[i(329)]),this[i(338)](i(326),n,e))}[K(341)](){const t=K;return{id:this.id,name:this[t(345)],creatorId:this[t(324)]?this[t(324)].id:null,authorsIds:this[t(329)][t(323)](t=>t.id),diffData:this[t(321)],createdAt:this[t(330)],attributes:this[t(343)],fromVersion:this[t(327)],toVersion:this[t(325)]}}}var et=i(782),it=i(211),st=i(783);const nt=rt;function rt(t,e){const i=at();return(rt=function(t,e){return i[t-=200]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(469222===parseInt(e(204))/1+parseInt(e(253))/2+-parseInt(e(234))/3+parseInt(e(213))/4+-parseInt(e(237))/5*(parseInt(e(215))/6)+-parseInt(e(212))/7*(-parseInt(e(210))/8)+-parseInt(e(224))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(at);class ot extends et.Plugin{[nt(230)];static get[nt(223)](){return[it.Users]}static get[nt(218)](){return nt(248)}static get[nt(227)](){return!0}static get[nt(245)](){return!0}get[nt(202)](){const t=nt;return this[t(230)][t(202)]}constructor(e){const i=nt;super(e),this[i(230)]=new t.Collection}[nt(241)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([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]),[y([121])]:y([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]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=rt;return t[e(243)](t=>String[e(239)](t))[e(226)]("")}!function(t){const i=u();r[i]=y([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[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([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[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([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===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([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(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([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]))||p(y([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=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1793059200;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=rt,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(211)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=rt;for(const e in window)if(window[y([78,117,109,98,101,114])][i(233)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[nt(217)](t){const e=nt,i=this[e(205)][e(242)][e(207)](e(250));return new tt({id:t.id,name:t[e(209)],creator:t[e(240)]?i[e(201)](t[e(240)]):null,diffData:t[e(214)]||t[e(229)],authors:t[e(200)][e(243)](t=>i[e(201)](t)),createdAt:new Date(t[e(244)]),attributes:t[e(235)],fromVersion:t[e(216)],toVersion:t[e(219)]})}[nt(247)](t,e=0){const i=nt;this[i(230)][i(228)](t,e)}[nt(203)](t){const e=nt;return this[e(230)][e(207)](t)}[nt(246)](t={toJSON:!1}){const e=nt,i=Array[e(238)](this[e(230)]);return i[e(249)](),t[e(232)]?i[e(243)](t=>t[e(232)]()):i}[nt(251)](t){const e=nt;return this[e(230)][e(251)](t)}[nt(231)](t){const e=nt,[,i]=this[e(221)](t,{direction:e(206)});return i}[nt(208)](t){const e=nt,[,i]=this[e(221)](t,{direction:e(222)});return i}[nt(236)](t){const e=nt,i=[];for(const s of this[e(221)](t[e(252)]))if(i[e(220)](s),s.id===t[e(225)])break;return i}*[nt(221)](t,{direction:e=nt(206),filter:i=()=>!0}={}){const s=nt,n=s(206)===e?1:-1;let r=this[s(230)][s(207)](t),o=this[s(251)](r);for(yield r;r;){if(o+=n,r=this[s(203)](o),!r)return;i(r)&&(yield r)}}}function at(){const t=["13972mphSXY","1150716XOmnfm","diffData","82554VZZyZc","fromVersion","createRevision","pluginName","toVersion","push","getRevisionsIterator","later","requires","3439062jygBKT","oldRevisionId","join","isOfficialPlugin","add","data","_revisions","getEarlierVisibleRevision","toJSON","isNaN","1135539JkGXWu","attributes","getRevisionsInDiff","160bkkQzS","from","fromCharCode","creatorId","afterInit","plugins","map","createdAt","isPremiumPlugin","getRevisions","addRevision","RevisionsRepository","reverse","Users","getIndex","newRevisionId","588148gieLWR","authorsIds","getUser","length","getRevision","311944evpRxp","editor","earlier","get","getLaterVisibleRevision","name","3112TEHJQd","href"];return(at=function(){return t})()}const ct=lt;function ut(){const t=["toModel","editing","marked","collaboration.channelId","parse","fillerOffset","name","processor","startsWith","27jcDdND","2148428cvtbbZ","innerHTML","pluginName","596883CgmBhE","config","length","_viewClassToTypeChar","loadRevisionData","childNodes","constructor","view","div","getRevisionRootsAttributes","7cRCpJA","getRevisionDocumentData","data","from","customProperties","domConverter","_typeCharToViewClass","_removeRevisionMarkers","_appendChild","revision-start","viewChildrenToDom","getRevision","domDocument","render","children","_getViewFromDiffObj","diffData","revision-end","isOfficialPlugin","_makeModelFromViewString","6754plOcHL","23676sfXUbn","_getTypeCharForViewElement","isAttached","append","type","useFillerType","attributes","domChildrenToView","data-revision-","string","_setCustomProperty","18IqDwSJ","5055438igruUC","isPremiumPlugin","RevisionHistoryUtils","get","htmlProcessor","map","default","editor","5880664Xoyjwt","forEach","document","attributesAfter","createElement","toData","1545530fmugdb","5ZiYwux","filter","insertions","getFillerOffset","attachChange","99404pQUChH"];return(ut=function(){return t})()}function lt(t,e){const i=ut();return(lt=function(t,e){return i[t-=112]})(t,e)}!function(t){const e=lt,i=t();for(;;)try{if(576949===parseInt(e(163))/1+-parseInt(e(149))/2*(-parseInt(e(128))/3)+-parseInt(e(160))/4*(-parseInt(e(144))/5)+-parseInt(e(129))/6*(parseInt(e(173))/7)+parseInt(e(137))/8+-parseInt(e(159))/9*(-parseInt(e(143))/10)+-parseInt(e(116))/11*(parseInt(e(117))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ut);class ht extends et.Plugin{static get[ct(162)](){return ct(131)}static get[ct(114)](){return!0}static get[ct(130)](){return!0}[ct(166)]=new Map([[st.ViewContainerElement,"c"],[st.ViewAttributeElement,"a"],[st.ViewEmptyElement,"e"],[st.ViewRawElement,"r"],[st.ViewUIElement,"u"]]);[ct(179)]=new Map([["c",st.ViewContainerElement],["a",st.ViewAttributeElement],["e",st.ViewEmptyElement],["r",st.ViewRawElement],["u",st.ViewUIElement]]);async[ct(167)](t,e){const i=ct;if(t[i(112)]||!e)return;const s=this[i(136)][i(164)][i(132)](i(153)),n=await e[i(184)]({channelId:s,revisionId:t.id});t[i(112)]=n[i(112)]}[ct(174)](t){const e=ct,i={};for(const s in t[e(112)]){if(t[e(112)][s][e(148)]&&!t[e(112)][s][e(148)][e(119)])continue;const n=this[e(180)](JSON[e(154)](t[e(112)][s][e(146)])),r=this[e(136)][e(151)][e(170)][e(139)],o=new st.ViewDocumentFragment(r,n[e(134)](t=>this[e(188)](t,!1)));this[e(136)][e(175)][e(157)][e(122)](e(152)),i[s]=this[e(136)][e(175)][e(157)][e(142)](o),this[e(136)][e(175)][e(157)][e(122)](e(135))}return i}[ct(172)](t){const e=ct,i={};for(const s in t[e(112)])t[e(112)][s][e(148)]&&!t[e(112)][s][e(148)][e(119)]||(i[s]=t[e(112)][s][e(140)]||{});return i}[ct(118)](t){const e=ct;return this[e(166)][e(132)](t[e(169)])}[ct(188)](t,e){const i=ct,s=this[i(136)][i(151)][i(170)][i(139)];if(i(126)==typeof t)return new st.ViewText(s,t);{let n,r;r="u"==t[i(121)]||"r"==t[i(121)]?[]:t[i(187)][i(134)](t=>this[i(188)](t,e));const o=this[i(179)][i(132)](t[i(121)])||st.ViewElement,a=this[i(136)][i(175)][i(133)][i(178)];if(n=new o(s,t[i(156)],t[i(123)],r),"u"==t[i(121)]&&t[i(187)][0]){const r=t[i(187)][0];if(n[i(186)]=function(t){const e=i,s=t[e(141)](e(171));return s[e(161)]=r,s[e(168)][0]},e){const t=new st.ViewDocumentFragment(s);t[i(181)](n);const e=Array[i(176)](a[i(183)](t,{bind:!1})),r=a[i(185)][i(141)](i(171));r[i(120)](...e),n=Array[i(176)](a[i(124)](r))[0]}}else if("r"==t[i(121)]&&t[i(187)][0]){const r=t[i(187)][0];if(n[i(186)]=function(t){t[i(161)]=r},e){const t=new st.ViewDocumentFragment(s);t[i(181)](n);const e=Array[i(176)](a[i(183)](t,{bind:!1})),r=a[i(185)][i(141)](i(171));r[i(120)](...e);const o=Array[i(176)](a[i(124)](r));o[i(165)]>1?n[i(181)](o):n=o[0]}}if(t[i(177)])for(const[e,s]of t[i(177)])n[i(127)](e,s);const c=void 0===t[i(155)]?null:t[i(155)];return null!==c&&(n[i(147)]=()=>c),n}}[ct(115)](t){const e=ct,i=JSON[e(154)](t),s=this[e(136)][e(151)][e(170)][e(139)],n=new st.ViewDocumentFragment(s,i[e(134)](t=>this[e(188)](t,!0)));return this[e(136)][e(175)][e(150)](n)}[ct(180)](t){const e=ct;return(t=t[e(145)](t=>!t[e(156)]||e(182)!==t[e(156)]&&e(113)!==t[e(156)]))[e(138)](t=>{const i=e;i(126)!=typeof t&&(t[i(187)]=this[i(180)](t[i(187)]),t[i(123)]=t[i(123)][i(145)](t=>!t[0][i(158)](i(125))))}),t}}function dt(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ft(){}function mt(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 pt(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return vt(t,e,r,o)}return vt(t,e,r,o)}function vt(t,i,s,c){if(Object.is(t,i))return!0;let x=e(t),A=e(i);if("[object Arguments]"===x&&(x=p),"[object Arguments]"===A&&(A=p),x!==A)return!1;switch(x){case r:return t.toString()===i.toString();case o:return $(t.valueOf(),i.valueOf());case a:case l:case u:return Object.is(t.valueOf(),i.valueOf());case n:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(x){case h:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!pt(n,i.get(e),e,t,i,s,c))return!1;return!0;case d:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>pt(o,e,void 0,t,i,s,c));if(-1===a)return!1;n.splice(a,1)}return!0}case f:case g:case y:case k:case b:case"[object BigUint64Array]":case w:case _:case I:case"[object BigInt64Array]":case S:case O:if(N(t)!==N(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!pt(t[e],i[e],e,t,i,s,c))return!1;return!0;case m:return t.byteLength===i.byteLength&&vt(new Uint8Array(t),new Uint8Array(i),s,c);case v:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&vt(new Uint8Array(t),new Uint8Array(i),s,c);case"[object Error]":return t.name===i.name&&t.message===i.message;case p:{if(!(vt(t.constructor,i.constructor,s,c)||mt(t)&&mt(i)))return!1;const e=[...Object.keys(t),...T(t)],n=[...Object.keys(i),...T(i)];if(e.length!==n.length)return!1;for(let n=0;n<e.length;n++){const r=e[n],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!pt(o,i[r],r,t,i,s,c))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function gt(t,e){return function(t,e,i){return pt(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ft)}const yt=kt;function kt(t,e){const i=wt();return(kt=function(t,e){return i[t-=260]})(t,e)}!function(t){const e=kt,i=t();for(;;)try{if(815234===parseInt(e(533))/1+-parseInt(e(375))/2+-parseInt(e(345))/3*(-parseInt(e(437))/4)+parseInt(e(381))/5+-parseInt(e(309))/6+-parseInt(e(406))/7+-parseInt(e(307))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wt);class bt extends et.Plugin{[yt(316)];[yt(284)];[yt(535)]=null;[yt(387)];[yt(370)]=null;[yt(476)];[yt(466)];[yt(320)];[yt(558)];[yt(347)];[yt(443)];[yt(293)];[yt(271)];[yt(310)];static get[yt(269)](){return yt(278)}static get[yt(393)](){return!0}static get[yt(468)](){return!0}static get[yt(292)](){return[it.Users,ot,ht,et.PendingActions]}constructor(e){const i=yt;super(e),this[i(387)]=this[i(499)][i(288)][i(379)](i(420)),this[i(347)]=this[i(499)][i(288)][i(379)](i(436)),this[i(476)]=new _t(this[i(499)]),this[i(320)]=this[i(499)][i(323)][i(379)](i(413))||i(260),this[i(558)]=new Map,this[i(310)]=null;const s=(0,t.uid)();this[i(466)]={history:this[i(499)][i(386)][i(541)][i(418)],getLatestVersion:()=>Promise[i(428)](this[i(499)][i(386)][i(541)][i(487)]),getCurrentRevisionId:()=>s},this[i(411)](i(578),!1),this[i(411)](i(563),!0),this[i(411)](i(446),!1),this[i(499)][i(323)][i(478)](i(357),!0),this[i(499)][i(304)][i(299)](i(263))[i(573)]({view:i(343)})}[yt(463)](){const t=yt;this[t(511)](),this[t(499)][t(315)].on(t(561),()=>{const e=t,i=this[e(387)][e(548)](0),s=i&&null===i[e(551)]?i:null;if(this[e(293)]=!!s&&this[e(499)][e(323)][e(379)](e(357)),this[e(499)][e(288)][e(380)](e(495))){const t=this[e(466)][e(553)](),n=this[e(387)][e(548)](t);if(n)this[e(271)]=n[e(319)],this[e(293)]=!1;else{const t=this[e(466)][e(418)][e(338)][e(414)](t=>!t[e(333)]),n=t?t[e(537)]:this[e(466)][e(418)][e(487)];i?(i[e(341)]<n&&i[e(265)]({toVersion:n}),this[e(293)]?(this[e(466)][e(553)]=()=>s.id,this[e(271)]=s[e(319)]):(this[e(271)]=i[e(341)],this[e(293)]=!1)):(this[e(271)]=n,this[e(293)]=!1)}}else s&&(this[e(499)][e(386)][e(541)][e(418)][e(487)]=Math[e(492)](s[e(341)],this[e(499)][e(386)][e(541)][e(418)][e(487)]),s[e(319)]===s[e(341)]?(0!==s[e(319)]&&(this[e(466)][e(553)]=()=>s.id),this[e(293)]=!1):this[e(293)]&&(this[e(466)][e(553)]=()=>s.id,this[e(271)]=s[e(319)])),this[e(293)]||(this[e(271)]=this[e(499)][e(386)][e(541)][e(487)]);this[e(476)][e(463)](this[e(466)][e(418)]),this[e(262)](this[e(271)]),this[e(527)](this[e(271)]),this[e(370)]&&this[e(510)]()}),this[t(297)](t(578)).to(this,t(446),t=>!t),this[t(316)]=this[t(499)][t(323)][t(379)](t(316));const e=this[t(499)];this[t(284)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(539)==r||i(459)==r||i(430)==r||i(306)==r||i(509)==r||i(425)==r||i(272)==r){delete e[n],s=r,clearInterval(this[i(284)]),this[i(284)]=void 0;break}}i(459)==s&&e[i(562)](i(472)),i(430)==s&&e[i(562)](i(500)),i(306)==s&&e[i(562)](i(515)),i(509)==s&&e[i(562)](i(268),i(427)),i(425)==s&&e[i(562)](i(449)),i(272)==s&&e[i(562)](i(440))},1e3)}async[yt(556)](){const t=yt;if(this[t(387)][t(409)]>0){const e=this[t(387)][t(548)](0),i=await this[t(296)](e),s=await this[t(326)](e);this[t(513)](i,s)}}[yt(530)](){const t=yt;super[t(530)](),this[t(284)]&&clearInterval(this[t(284)])}[yt(308)](t){this[yt(466)]=t}async[yt(300)](){const t=yt,e=await this[t(466)][t(424)]();if(e>this[t(535)][t(341)]){await this[t(350)]();const i=this[t(524)]({revision:this[t(535)],to:e});i[t(433)]=i[t(376)][t(403)](e=>this[t(499)][t(288)][t(379)](t(361))[t(378)](e)),this[t(535)][t(265)](i)}}async[yt(560)](e={},i=null){const s=yt,n=[];await this[s(350)](),this[s(293)]=!1,i>this[s(535)][s(341)]&&(i=null),null===i&&(i=await this[s(466)][s(424)]());const r=this[s(514)](i),o=this[s(524)]({from:r,to:i});if(this[s(535)][s(341)]<i){const t=this[s(524)]({revision:this[s(535)],from:i,to:i});t[s(433)]=[],t[s(376)]=[],t.id=this[s(535)].id,this[s(535)][s(265)](t,!0),delete t[s(433)],n[s(334)](t)}e[s(339)]=this[s(499)][s(288)][s(379)](s(361)).me.id,e[s(543)]=e[s(543)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(508)](e);n[s(334)](e);const c=this[s(387)][s(412)](a);if(0!==c){const t=this[s(387)][s(548)](c-1);if(t[s(319)]!==i){const r=this[s(476)][s(483)](i,t[s(341)]),o={id:t.id,diffData:r[s(340)],authorsIds:r[s(376)],authors:r[s(376)][s(403)](t=>this[s(499)][s(288)][s(379)](s(361))[s(378)](t)),fromVersion:i};t===this[s(535)]&&(o[s(448)]=new Date(e[s(448)][s(374)]()+10)),t[s(265)](o,!0),delete o[s(433)],n[s(334)](o)}}if(this[s(370)]){for(const t of n)this[s(538)](t.id,t,!0);this[s(510)]()}return a}[yt(508)](t){const e=yt,i=this[e(387)][e(358)](t);return this[e(370)]&&i.on(e(265),(t,i,s)=>{const n=e;s||(this[n(538)](i.id,i,!0),this[n(510)]())}),this[e(387)][e(577)](i,this[e(534)](i)),i}async[yt(296)](t){const e=yt;return await this[e(347)][e(547)](t,this[e(370)]),this[e(347)][e(296)](t)}async[yt(326)](t){const e=yt;return await this[e(347)][e(547)](t,this[e(370)]),this[e(347)][e(326)](t)}[yt(510)](){const t=yt;if(0===this[t(558)][t(325)])return;if(this[t(446)])return;let e=Array[t(274)](this[t(558)][t(303)]());this[t(558)][t(525)]();for(let i=0;i<e[t(409)];i++){const s=e[i];let n=!1;for(const e of Object[t(301)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(277)](t=>null!==t),!e[t(409)])return;for(let i=0;i<e[t(409)];i++){const s=e[i];void 0!==s[t(319)]&&void 0===s[t(341)]&&(s[t(341)]=this[t(387)][t(548)](s.id)[t(341)]),void 0!==s[t(341)]&&void 0===s[t(319)]&&(s[t(319)]=this[t(387)][t(548)](s.id)[t(319)])}const i=this[t(499)][t(323)][t(379)](t(413));this[t(446)]=!0,this[t(490)](),this[t(370)][t(275)](e,i)[t(395)](()=>{this[t(446)]=!1})[t(312)](e=>{const i=t;if(e)for(const t of e)this[i(460)]({id:t.id,createdAt:t[i(448)]});this[i(280)](),this[i(510)]()})}[yt(524)]({revision:t=null,from:e=null,to:i=null}){const s=yt;e=null!==e?e:t[s(319)],i=null!==i?i:t[s(341)];const n=this[s(476)][s(483)](e,i),r={diffData:n[s(340)],authorsIds:n[s(376)],fromVersion:e,toVersion:i};if(!t||i!==t[s(341)]){const t=i-1,e=this[s(466)][s(418)][s(497)](t);r[s(448)]=e&&e[s(448)]||new Date}if(this[s(310)]&&e===this[s(310)][s(319)])for(const t of this[s(310)][s(433)])r[s(376)][s(332)](t.id)||r[s(376)][s(334)](t.id);return r}[yt(538)](t,e,i){const s=yt;if(this[s(558)][s(380)](t)){const n=this[s(558)][s(379)](t);e=i?{...n,...e}:{...e,...n}}this[s(558)][s(411)](t,e)}[yt(460)](t){const e=yt,i=this[e(387)][e(548)](t.id);if(t[e(448)]&&(t[e(448)]=new Date(t[e(448)])),t[e(376)]){const i=this[e(499)][e(288)][e(379)](e(361));t[e(433)]=t[e(376)][e(403)](t=>i[e(378)](t))}i[e(265)](t,!0)}[yt(262)](t){const e=yt,i=this[e(387)][e(548)](this[e(387)][e(409)]-1);if(i)this[e(320)]=i.id;else{const i=!this[e(499)][e(386)][e(541)][e(529)][e(414)](t=>this[e(499)][e(386)][e(544)](t)),s=this[e(499)][e(288)][e(379)](e(361)).me.id,n=dt(this[e(499)][e(528)],e(i?289:450));this[e(360)]({from:t,to:t,id:this[e(320)],name:n,creatorId:s})}}[yt(527)](t){const e=yt,i=this[e(466)][e(553)]();this[e(535)]=this[e(387)][e(548)](i),this[e(535)]||(this[e(535)]=this[e(360)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[yt(350)](){const t=yt;this[t(293)]&&!this[t(310)]&&(await this[t(347)][t(547)](this[t(535)],this[t(370)]),this[t(476)][t(536)](this[t(535)]),this[t(310)]={fromVersion:this[t(535)][t(319)],authors:this[t(535)][t(433)][t(512)]()})}[yt(513)](e,i){const s=yt;let n=this[s(499)][s(323)][s(379)](s(532)),r=this[s(499)][s(323)][s(379)](s(285));if(void 0===n){n={};for(const t of this[s(499)][s(386)][s(541)][s(574)]())n[t]=""}if(s(276)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(499)][s(386)][s(541)][s(574)]())r[t]={}}let o=!1;const a=Object[s(301)](n),c=Object[s(301)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(290)]()){o=!0;break}if(!gt(r[t],i[t])&&Object[s(301)](r[t])[s(409)]>0){o=!0;break}}o||(o=c[s(517)](t=>!this[s(499)][s(386)][s(541)][s(570)](t))),o&&(0,t.logWarning)(s(546),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(499)][s(323)][s(411)](s(532),e),this[s(499)][s(323)][s(411)](s(285),i)}[yt(490)](){const t=yt;if(!this[t(443)]){const e=this[t(499)][t(288)][t(379)](t(523));this[t(443)]=e[t(400)](dt(this[t(499)][t(528)],t(371)))}}[yt(280)](){const t=yt;this[t(443)]&&(this[t(499)][t(288)][t(379)](t(523))[t(311)](this[t(443)]),this[t(443)]=null)}[yt(534)](t){const e=yt,i=this[e(387)][e(444)]();i[e(397)]();let s=0;for(;s<i[e(409)];){const n=i[s];if(n===this[e(535)]){s++;continue}if(n.id===this[e(320)])break;const r=t[e(341)]-n[e(341)]||t[e(319)]-n[e(319)];if(r>0)break;if(r<0)s++;else{if(!t[e(551)]&&n[e(551)])break;if(n[e(551)]||!t[e(551)]){if(t[e(448)]>n[e(448)])break;s++}else s++}}return s}[yt(514)](t){const e=yt,i=this[e(387)][e(444)]();i[e(397)](),i[e(457)]();const s=i[e(414)](i=>i[e(341)]<=t)[e(341)];return s<this[e(271)]?this[e(271)]:s}[yt(360)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=yt,o=this[r(524)]({from:e,to:i});o[r(543)]=t,o[r(339)]=s,o.id=n;const a=this[r(508)](o);return this[r(370)]&&this[r(538)](o.id,o,!0),a}[yt(511)](){const t=yt;this[t(499)][t(304)][t(299)](t(484))[t(489)]({model:t(343)})}}function wt(){const t=["bind","getChildren","for","update","keys","_makeModelFromViewString","values","conversion","_lastTo","revisionHistoryLicenseKeyDomainLimit","7198992VCbryK","setSource","1598640pSlQQg","_loadedStateData","remove","then","insert","$text","data","licenseKey","uiElement","_getPreviousFrom","fromVersion","_initialRevisionId","elementStart","offset","config","_startingRevisionId","size","getRevisionRootsAttributes","graveyardPosition","_cloneOperation","getRange","deletion","getAttribute","includes","_isInit","push","parent","getAncestors","item","_operations","creatorId","diffData","toVersion","root","revision","_processRootBeforeSave","4190919bgBimE","delete","_utils","_execute","_makeIdsRoot","_loadState","_removeMetaData","render","createPositionAfter","_diffRootsAttributes","_touchedMarkers","element","revisionHistory.resumeUnsavedRevision","createRevision","createRangeIn","_makeRevision","Users","_savedMetaData","sourcePosition","isAdd","_getState","_prepareViewToSave","_clone","keepParagraph","marker","adapter","PENDING_ACTION_REVISION_HISTORY","_transformMarkers","isEqual","getTime","1442146pzoNkA","authorsIds","documentFragment","getUser","get","has","3866910xCLKra","split","key","createPositionFromPath","_getVidAttributeName","model","repository","splitPosition","htmlProcessor","range","insertionPosition","_copyMarkers","isOfficialPlugin","_fixOperation","finally","getOperations","reverse","toView","domDocument","add","_touched","_baseRootsAttributes","map","_isAttached","offsetSize","5182058tMmXSF","_getViewJson","position","length","getMovedRangeStart","set","getIndex","collaboration.channelId","find","_handleOperation","_handleSplitOperation","childCount","history","start","RevisionsRepository","outerHTML","elementEnd","attributesAfter","getLatestVersion","revisionHistoryLicenseKeyEvaluationLimit","attributesBefore","RevisionHistory","resolve","_calculateMetaData","revisionHistoryLicenseKeyExpired","fromEntries","source","authors","text","addRootAttribute","RevisionHistoryUtils","4tzQDFv","reInit","_createFromRanges","usageLimit","createRange","_getTypeCharForViewElement","_pendingAction","getRevisions","detachRoot","_isPendingUpdate","_setAttribute","createdAt","evaluationLimit","Initial revision","merge","domConverter","nodes","insertions","changeRootAttribute","targetPosition","shift","_diffRoots","revisionHistoryLicenseKeyInvalid","setRevisionData","previousPosition","_handleMoveOperation","init","getWalker","oldRange","_source","stickiness","isPremiumPlugin","_authorId","customProperties","_handleMarkerOperation","invalid","sort","vid","_markChanges","_revisionDataBuilder","_fixRange","define","_insertChild","isAttached","type","deletions","getData","dataDowncast","tableCell","_appendChild","version","NEGATIVE_INFINITY","markerToData","_addPendingAction","getAttributes","max","newValue","paragraph","RealTimeCollaborationClient","_saveMetaData","getOperation","_revisionId","editor","expired","revision:","_applyOperations","clone","affectsData","_lastFrom","_markers","_handleInsertOperation","addRevisionData","revisionHistoryLicenseKeyNotAllowed","sendBufferedUpdates","_setConversion","slice","_replaceEditorDataWithRevisionData","_getFromVersion","domainLimit","fillerOffset","some","markers","userId","move","stringify","rootName","PendingActions","buildRevisionData","clear","_handleMergeOperation","_createCurrentRevision","locale","roots","destroy","innerHTML","initialData","1272560PZVIoN","_findInsertionIndex","currentRevision","loadState","baseVersion","_bufferUpdate","revisionHistoryLicenseKeyValid","rawElement","document","getTransformedByOperation","name","hasContent","_fixPosition","editor-initial-data-replaced-with-revision-data","loadRevisionData","getRevision","vid_start","vid_end","creator","newRange","getCurrentRevisionId","addRoot","_touchedRoots","afterInit","reinsert","_bufferedUpdates","insertion","saveRevision","ready","_showLicenseError","isEnabled","startsWith","_idsRoots","howMany","getChild","nodeAfter","getFillerOffset","getRoot","_generateTape","children","dataToMarker","getRootNames","removeRootAttribute","getNodeByPath","addRevision","isReady","initial","$comment","_createInitialRevision","upcast","end","_update","createElement","_handleRootOperation","featureNotAllowed","pluginName","attachChange","_startingVersion","revisionHistoryLicenseKeyUsageLimit","createPositionBefore","from","updateRevisions","string","filter","RevisionTracker","path","_removePendingAction","_baseIdsRoots","$graveyard","_getBaseVids","_licenseKeyCheckInterval","rootsAttributes","_reset","_baseRoots","plugins","Empty document","trim","_handleRootAttributeOperation","requires","_continueCurrentRevision","getCustomProperties","createPositionAt","getRevisionDocumentData"];return(wt=function(){return t})()}class _t{[yt(499)];[yt(432)];[yt(362)];[yt(505)];[yt(305)];[yt(506)];[yt(458)];[yt(354)];[yt(287)];[yt(402)];[yt(565)];[yt(281)];[yt(401)];[yt(355)];[yt(555)];[yt(498)];[yt(324)];constructor(t){const e=yt;this[e(499)]=t,this[e(362)]=new Map,this[e(505)]=-1,this[e(305)]=-1,this[e(506)]=new Map,this[e(458)]=new Map,this[e(354)]=new Map,this[e(287)]=new Map,this[e(402)]=new Map,this[e(565)]=new Map,this[e(281)]=new Map,this[e(401)]=new Map,this[e(355)]=new Map,this[e(555)]=new Map,this[e(498)]=1}[yt(463)](t){const e=yt;this[e(432)]=t;const i=new Map,s=new Map,n=this[e(499)][e(386)][e(541)][e(529)][e(403)](t=>t[e(522)]);for(const t of n){const n=this[e(499)][e(386)][e(541)][e(570)](t),r=It(n);i[e(411)](t,r),s[e(411)](t,Object[e(431)](n[e(491)]()))}const r=Array[e(274)](this[e(499)][e(386)][e(518)])[e(403)](t=>[t[e(543)],t[e(329)]()]),o=this[e(432)][e(487)];this[e(496)](o,i,r,s),this[e(324)]=this[e(498)];const a=new Map,c=new Map;for(const t of n){const i=St(t);a[e(411)](t,i),c[e(411)](t,{})}this[e(496)](Number[e(488)],a,[],c)}[yt(483)](t,e){const i=yt;if(this[i(505)]===t&&this[i(305)]<=e)this[i(362)][i(325)]>1&&this[i(351)](this[i(305)]),this[i(502)](this[i(305)],e,!0);else{if(!this[i(362)][i(380)](t)){const e=this[i(318)](t);this[i(429)](e,t,!1)}this[i(429)](t,e,!0)}return this[i(505)]=t,this[i(305)]=e,this[i(365)]()}[yt(536)](t){const e=yt;if(!this[e(362)][e(380)](t[e(319)])){const i=this[e(318)](t[e(319)]);this[e(429)](i,t[e(319)],!1)}this[e(429)](t[e(319)],t[e(341)],!1);const i=this[e(499)][e(288)][e(379)](e(436));this[e(286)](),this[e(505)]=t[e(319)],this[e(305)]=t[e(341)];for(const s in t[e(340)]){const n=t[e(340)][s][e(270)],r=V(t[e(340)][s][e(426)])||{},o=i[e(302)](t[e(340)][s][e(482)]);o[e(522)]=s,o[e(404)]=!n||!n[e(480)],o[e(480)]=()=>o[e(404)],this[e(287)][e(411)](s,o),this[e(402)][e(411)](s,r),n&&this[e(555)][e(411)](s,n);const a=this[e(349)](o);this[e(281)][e(411)](s,a);for(const[t,i]of o[e(518)]){if(!t[e(564)](e(501)))continue;const s=t[e(382)](":")[2];for(const t of i[e(464)]({singleCharacters:!0})){const i=this[e(385)](t),n=e(422)==t[e(481)]?t[e(461)][e(279)][e(512)](0,-1):t[e(461)][e(279)],r=a[e(576)](n)[e(331)](i);this[e(401)][e(411)](r,{userId:s})}o[e(518)][e(346)](t)}}this[e(324)]=this[e(498)];const s=[...Array(this[e(498)])[e(301)]()][e(512)](1)[e(277)](t=>!this[e(401)][e(380)](t));let n=0;const r=new Map;for(const o in t[e(340)]){const a=t[e(340)][o][e(270)],c=V(t[e(340)][o][e(423)])||{},u=i[e(302)](t[e(340)][o][e(454)]);u[e(522)]=o,u[e(404)]=!a||a[e(480)],u[e(480)]=()=>u[e(404)],this[e(458)][e(411)](o,u),this[e(354)][e(411)](o,c);const l=this[e(349)](u,Number[e(488)]);this[e(565)][e(411)](o,l),r[e(411)](o,u[e(480)]()?c:{});for(const[t,i]of u[e(518)]){if(!t[e(564)](e(501)))continue;const s=t[e(382)](":")[2];for(const t of i[e(464)]({singleCharacters:!0})){const i=this[e(385)](t),n=this[e(498)]++,r=e(422)==t[e(481)]?t[e(461)][e(279)][e(512)](0,-1):t[e(461)][e(279)];l[e(576)](r)[e(447)](i,n),this[e(401)][e(411)](n,{userId:s})}u[e(518)][e(346)](t)}for(const t of this[e(499)][e(386)][e(359)](u)[e(464)]({singleCharacters:!0})){const i=this[e(385)](t),r=e(422)==t[e(481)]?t[e(461)][e(279)][e(512)](0,-1):t[e(461)][e(279)],o=l[e(576)](r);o[e(331)](i)>0||o[e(447)](i,s[n++])}for(const[t,i]of u[e(518)])t[e(564)](e(501))||this[e(506)][e(411)](t,i)}const{roots:o}=this[e(362)][e(379)](t[e(319)]),{roots:a}=this[e(362)][e(379)](t[e(341)]),c=It(o[e(379)](e(282)));this[e(287)][e(411)](e(282),c),this[e(281)][e(411)](e(282),this[e(349)](c,Number[e(488)]));const u=It(a[e(379)](e(282)));this[e(458)][e(411)](e(282),u),this[e(565)][e(411)](e(282),this[e(349)](u));const l=Array[e(274)](this[e(458)])[e(403)](([t,e])=>[t,It(e)]);this[e(496)](this[e(305)],l,this[e(506)],r)}[yt(438)](){const t=yt;this[t(286)](),this[t(505)]=-1,this[t(305)]=-1,this[t(362)][t(525)](),this[t(463)](this[t(432)])}[yt(496)](t,e,i,s){const n=yt,r=new Map(e),o=new Map(V(s)),a=new Map;for(const[t,e]of i)a[n(411)](t,{start:e[n(419)][n(503)](),end:e[n(264)][n(503)](),rootName:e[n(342)][n(522)]});this[n(362)][n(411)](t,{roots:r,markers:a,rootsAttributes:o})}[yt(351)](t){const e=yt;this[e(362)][e(346)](t)}[yt(286)](){const t=yt;this[t(401)][t(525)](),this[t(355)][t(525)](),this[t(555)][t(525)](),this[t(458)][t(525)](),this[t(354)][t(525)](),this[t(287)][t(525)](),this[t(402)][t(525)](),this[t(565)][t(525)](),this[t(281)][t(525)](),this[t(506)][t(525)](),this[t(498)]=1,this[t(324)]=this[t(498)]}[yt(349)](t,e=null){const i=yt;let s=null;t.is(i(377))||(s=new st.ModelElement(t[i(543)],{vid_start:null===e?this[i(498)]++:e++}));const n=[];for(const s of t[i(298)]())if(s.is(i(356))){n[i(334)](this[i(349)](s,e));const t=n[n[i(409)]-1];null!==e&&(e=t.is(i(356),i(314))?t[i(331)](i(474))+1:t[i(331)](i(550))+1)}else for(let t=0;t<s[i(405)];t++)n[i(334)](new st.ModelElement(i(314),{vid:null===e?this[i(498)]++:e++}));if(t.is(i(377))){const e=St(t[i(522)]);return e[i(479)](0,n),e}return s[i(447)](i(550),null===e?this[i(498)]++:e++),s[i(479)](0,n),s}[yt(429)](t,e,i){const s=yt;this[s(286)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(362)][s(379)](t);this[s(287)]=new Map(n),this[s(402)]=new Map(V(o));for(const[t,e]of this[s(287)])if(s(282)!==t&&(this[s(458)][s(411)](t,It(e)),this[s(354)]=new Map(V(o)),i)){const i=this[s(498)];this[s(565)][s(411)](t,this[s(349)](e)),this[s(281)][s(411)](t,this[s(349)](e,i))}this[s(324)]=this[s(498)],this[s(458)][s(411)](s(282),It(this[s(287)][s(379)](s(282)))),i&&this[s(565)][s(411)](s(282),this[s(349)](this[s(287)][s(379)](s(282))));for(const[t,e]of r){const i=this[s(287)][s(379)](e[s(522)]),n=this[s(458)][s(379)](e[s(522)]),r=new st.ModelRange(this[s(545)](e[s(419)],i),this[s(545)](e[s(264)],i)),o=this[s(477)](r,n);i[s(518)][s(411)](t,r),this[s(506)][s(411)](t,o)}this[s(502)](t,e,i)}[yt(502)](t,e,i){const s=yt;for(const n of this[s(432)][s(396)](t,e))this[s(415)](n,i);for(const t of this[s(458)][s(303)]())t[s(518)][s(525)]();for(const[t,e]of this[s(506)])this[s(458)][s(379)](e[s(342)][s(522)])[s(518)][s(411)](t,e[s(503)]());const n=new Map,r=new Map;for(const[t,e]of this[s(458)])n[s(411)](t,It(e)),r[s(411)](t,this[s(354)][s(379)](t));this[s(496)](e,n,this[s(506)],r)}[yt(318)](t){const e=yt,i=Array[e(274)](this[e(362)][e(301)]());i[e(473)]((t,e)=>t-e),i[e(397)]();for(const e of i)if(e<t)return e;return Number[e(488)]}[yt(392)](t,e){const i=yt,s=Array[i(274)](e[i(518)])[i(403)](([e,s])=>[e,this[i(477)](s,t)]);t[i(518)]=new Map(s)}[yt(372)](t){const e=yt;for(const i of this[e(506)][e(303)]()){const s=i[e(542)](t),n=st.ModelRange[e(439)](s);i[e(419)]=n[e(419)],i[e(264)]=n[e(264)]}}[yt(415)](t,e){const i=yt;if(i(554)!=t[i(481)]&&i(445)!=t[i(481)]){if(i(313)==t[i(481)]){const s=t[i(408)][i(342)][i(522)];this[i(458)][i(380)](s)||(this[i(458)][i(411)](s,St(s,!0)),this[i(354)][i(411)](s,{}),e&&this[i(565)][i(411)](s,St(s,!0)))}else{if(i(435)==t[i(481)]||i(575)==t[i(481)]||i(455)==t[i(481)])return void this[i(291)](t);i(369)==t[i(481)]&&this[i(471)](t)}if(i(369)!==t[i(481)]){const e=this[i(328)](t,this[i(458)]);e[i(348)](),this[i(372)](e)}if(e)switch(t[i(481)]){case i(313):this[i(507)](t);break;case i(520):case i(311):case i(557):this[i(462)](t);break;case i(451):this[i(526)](t);break;case i(382):this[i(416)](t)}}else this[i(267)](t,e)}[yt(328)](t,e){const i=yt,s=t[i(503)]();return s[i(469)]=t[i(469)],this[i(394)](s,e),s}[yt(283)](t){const e=yt;return t[e(403)](t=>{const i=e,s=this[i(385)](t);return Number(t[i(337)][i(331)](s))})}[yt(571)](t,e){const i=yt;if(t.is(i(356),i(314)))e[i(334)]({item:t,type:i(434)});else{t.is(i(356))&&e[i(334)]({item:t,type:i(321)});for(const s of t[i(298)]())this[i(571)](s,e);t.is(i(356))&&e[i(334)]({item:t,type:i(422)})}return e}[yt(365)](){const t=yt,e=new Map(this[t(401)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(287)][t(301)](),...this[t(458)][t(301)]()]);a[t(346)](t(282));for(const e of a){const i=this[t(458)][t(379)](e)||St(e,!1),s=this[t(287)][t(379)](e)||St(e,!1);i[t(480)]()||s[t(480)]()?(n[t(454)][e]=It(i),n[t(482)][e]=It(s),this[t(392)](n[t(482)][e],s),this[t(392)](n[t(454)][e],i),r[t(454)][e]=this[t(571)](this[t(565)][t(379)](e),[]),r[t(482)][e]=this[t(571)](this[t(281)][t(379)](e)||St(e,!1),[])):a[t(346)](e)}for(const n of a){const o=r[t(454)][n];for(const n of o){const r=this[t(385)](n),o=n[t(337)][t(331)](r);i[t(346)](o),o>=this[t(324)]&&s[t(411)](o,e[t(379)](o))}}for(const n of a){const a=r[t(454)][n],c=this[t(283)](r[t(482)][n]);let u=0;for(const n of a){const r=this[t(385)](n),a=n[t(337)][t(331)](r);if(!s[t(380)](a)&&!o[t(380)](a))if(i[t(380)](a))u++;else{if(a!=c[u]){const s=e[t(379)](a)||e[t(379)](c[u]);for(;a!=c[u];)i[t(380)](c[u])||(o[t(411)](c[u],s),e[t(411)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(454)][e];for(const e of n){const n=this[t(385)](e),r=e[t(337)][t(331)](n);if(o[t(380)](r)){const e=o[t(379)](r);i[t(380)](r)||i[t(411)](r,{...e}),s[t(411)](r,{...e})}}}for(const e of i[t(301)]())e>=this[t(324)]&&i[t(346)](e);const c=new Map;for(const e of a){let n=r[t(454)][e];for(const e of n)if(e[t(337)].is(t(356),t(485))){const i=this[t(385)](e),n=e[t(337)][t(331)](i);if(s[t(380)](n)){const i=e[t(337)][t(335)][t(335)][t(331)](t(549)),r=c[t(379)](i)||new Set;r[t(400)](s[t(379)](n)[t(519)]),c[t(411)](i,r)}}n=r[t(482)][e];for(const e of n)if(e[t(337)].is(t(356),t(485))){const s=this[t(385)](e),n=e[t(337)][t(331)](s);if(i[t(380)](n)){const s=e[t(337)][t(335)][t(335)][t(331)](t(549)),r=c[t(379)](s)||new Set;r[t(400)](i[t(379)](n)[t(519)]),c[t(411)](s,r)}}for(const e of c[t(301)]())(s[t(380)](e)||i[t(380)](e))&&c[t(346)](e)}for(const e of a){const n=r[t(454)][e];let o=null,a=null;for(const e of n){const n=this[t(385)](e),r=e[t(337)][t(331)](n),u=c[t(379)](r);u&&t(321)==e[t(481)]&&(o=Array[t(274)](u)[0],a=e[t(337)][t(331)](t(550))),o&&(i[t(411)](r,{userId:o}),s[t(411)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(482)][e],a=n[t(454)][e];for(const{userId:e}of this[t(355)][t(303)]())null!==e&&l[t(400)](e);for(const{userId:e}of this[t(555)][t(303)]())null!==e&&l[t(400)](e);this[t(475)](a,r[t(454)][e],s,t(559),l),this[t(475)](o,r[t(482)][e],i,t(330),l),u[e]={insertions:this[t(366)](a),deletions:this[t(366)](o),attachChange:this[t(555)][t(379)](e)||null,attributesBefore:V(this[t(402)][t(379)](e))||{},attributesAfter:V(this[t(354)][t(379)](e))}}return{diffData:u,authorsIds:Array[t(274)](l)}}[yt(344)](t){const e=yt;for(const[,i]of t[e(518)]){const t=i[e(419)][e(336)]()[e(277)](t=>e(485)==t[e(543)]);for(const i of t)1==i[e(417)]&&i[e(567)](0).is(e(356),e(494))&&i[e(567)](0)[e(447)](e(368),!0)}}[yt(366)](t){const e=yt;this[e(344)](t);const i=this[e(499)][e(315)][e(398)](t,{}),s=Array[e(274)](i[e(298)]())[e(403)](t=>this[e(407)](t));return JSON[e(521)](s)}[yt(407)](t){const e=yt;if(t.is(e(314)))return t[e(315)];{const i=this[e(499)][e(288)][e(379)](e(436)),s=t,n=this[e(499)][e(315)][e(389)][e(452)],r={type:i[e(442)](s),name:s[e(543)],attributes:Array[e(274)](s[e(491)]()),children:Array[e(274)](s[e(298)]())[e(403)](t=>this[e(407)](t))};if(t.is(e(317))&&e(261)!=t[e(543)]){const i=t[e(352)](n[e(399)],n);r[e(572)][e(334)](i[e(421)])}else if(t.is(e(540))){const i=n[e(399)][e(266)](s[e(543)]);t[e(352)](i,n),r[e(572)][e(334)](i[e(531)])}const o=Array[e(274)](s[e(294)]());o[e(409)]>0&&(r[e(470)]=o);const a=s[e(569)]();return null!==a&&(r[e(516)]=a),r}}[yt(475)](t,e,i,s,n){const r=yt;let o=null,a=null,c=0;const u=this[r(499)][r(386)];for(let s=0;s<e[r(409)];s++){const n=this[r(385)](e[s]),c=e[s][r(337)][r(331)](n),h=i[r(379)](c),d=s==e[r(409)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(519)]!=o[r(519)])&&(l(h,Ot(a,t,u),Ot(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,Ot(a,t,u),Tt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(519)],d=l(501)+s+":"+h+":"+c++,f=u[l(441)](i,a);t[l(518)][l(411)](d,f),null!==h&&n[l(400)](h)}}[yt(385)](t){const e=yt;switch(t[e(481)]){case e(321):return e(549);case e(422):return e(550);default:return e(474)}}[yt(394)](t,e){const i=yt;t[i(537)]=null;for(const s in t){const n=t[s];if(n instanceof st.ModelPosition){const r=e[i(379)](n[i(342)][i(522)]);t[s]=this[i(545)](n,r)}if(n instanceof st.ModelRange){const r=e[i(379)](n[i(342)][i(522)]);t[s]=this[i(477)](n,r)}i(342)===s&&(t[i(342)]=e[i(379)](t[i(342)][i(522)]))}}[yt(477)](t,e){const i=yt;return this[i(499)][i(386)][i(441)](this[i(545)](t[i(419)],e),this[i(545)](t[i(264)],e))}[yt(545)](t,e){const i=yt;return this[i(499)][i(386)][i(384)](e,t[i(279)],t[i(467)])}[yt(507)](t){const e=yt,i=this[e(565)][e(379)](t[e(408)][e(342)][e(522)]),s=this[e(545)](t[e(408)],i),n=null===t[e(469)]?null:t[e(469)]||this[e(499)][e(288)][e(379)](e(361)).me.id,r=s[e(335)],o=this[e(498)],a=[];for(const i of t[e(453)])if(i.is(e(356)))a[e(334)](this[e(349)](i));else for(let t=0;t<i[e(405)];t++)a[e(334)](new st.ModelElement(e(314),{vid:this[e(498)]++}));const c=this[e(498)];for(let t=o;t<c;t++)this[e(401)][e(411)](t,{userId:n});r[e(479)](s[e(322)],a)}[yt(462)](t){const e=yt;(t=this[e(328)](t,this[e(565)]))[e(348)]();const i=null===t[e(469)]?null:t[e(469)]||this[e(499)][e(288)][e(379)](e(361)).me.id,s=t[e(410)](),n=s[e(335)],r=s[e(322)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(567)](e);r.is(a(356),a(314))?s[a(411)](r[a(331)](a(474)),{userId:i}):(s[a(411)](r[a(331)](a(549)),{userId:i}),t(s,r,0,r[a(417)]),s[a(411)](r[a(331)](a(550)),{userId:i}))}}(this[e(401)],n,r,r+t[e(566)])}[yt(526)](t){const e=yt,i=null===(t=this[e(328)](t,this[e(565)]))[e(469)]?null:t[e(469)]||this[e(499)][e(288)][e(379)](e(361)).me.id,s=t[e(456)][e(335)],n=t[e(363)][e(335)],r=s[e(331)](e(550)),o=n[e(331)](e(549));s[e(447)](e(550),n[e(331)](e(550))),n[e(447)](e(550),r),this[e(401)][e(411)](o,{userId:i}),this[e(401)][e(411)](r,{userId:i}),t[e(348)]()}[yt(416)](t){const e=yt,i=null===(t=this[e(328)](t,this[e(565)]))[e(469)]?null:t[e(469)]||this[e(499)][e(288)][e(379)](e(361)).me.id,s=t[e(327)],n=t[e(388)][e(335)];t[e(348)]();const r=n[e(331)](e(550)),o=t[e(391)][e(568)];if(s){const t=o[e(331)](e(550)),s=n[e(331)](e(550));n[e(447)](e(550),t),o[e(447)](e(550),s),this[e(401)][e(411)](n[e(331)](e(550)),{userId:i}),this[e(401)][e(411)](o[e(331)](e(549)),{userId:i})}else{const t=this[e(498)]++,s=this[e(498)]++;n[e(447)](e(550),t),o[e(447)](e(549),s),o[e(447)](e(550),r),this[e(401)][e(411)](t,{userId:i}),this[e(401)][e(411)](s,{userId:i})}}[yt(471)](t){const e=yt;if(!t[e(504)])return;const i=(t=this[e(328)](t,this[e(458)]))[e(465)]?t[e(465)][e(342)]:null,s=t[e(552)]?t[e(552)][e(342)]:null;i&&this[e(506)][e(346)](t[e(543)]),s&&this[e(506)][e(411)](t[e(543)],t[e(552)][e(503)]());const n=null===t[e(469)]?null:t[e(469)]||this[e(499)][e(288)][e(379)](e(361)).me.id,r=t[e(543)];if(!this[e(355)][e(380)](r))return void this[e(355)][e(411)](r,{range:t[e(465)],userId:n});const o=this[e(355)][e(379)](r),a=o[e(390)],c=t[e(552)];null==a&&null==c||a&&c&&a[e(373)](c)?this[e(355)][e(346)](t[e(543)]):o[e(519)]=n}[yt(267)](t,e){const i=yt;this[i(458)][i(380)](t[i(522)])?this[i(458)][i(379)](t[i(522)])[i(404)]=t[i(364)]:(this[i(458)][i(411)](t[i(522)],St(t[i(522)],!0)),this[i(354)][i(411)](t[i(522)],{}),e&&this[i(565)][i(411)](t[i(522)],St(t[i(522)],!0)));const s=null===t[i(469)]?null:t[i(469)]||this[i(499)][i(288)][i(379)](i(361)).me.id,n=this[i(555)][i(379)](t[i(522)]);n&&n[i(519)]===s?this[i(555)][i(346)](t[i(522)]):this[i(555)][i(411)](t[i(522)],{userId:s,isAttached:t[i(364)]})}[yt(291)](t){const e=yt,i=this[e(354)][e(379)](t[e(342)][e(522)]);null===t[e(493)]?delete i[t[e(383)]]:i[t[e(383)]]=t[e(493)]}}function It(t){const e=yt,i=St(t[e(522)],t[e(480)]());for(const s of t[e(298)]()){const t=s[e(367)](!0);i[e(486)](t)}return i}function St(t,e=!0){const i=yt,s=new st.ModelDocumentFragment;return s[i(522)]=t,s[i(404)]=e,s[i(480)]=()=>s[i(404)],s}function Ot(t,e,i){const s=yt,n=s(422)==t[s(481)]?i[s(295)](t[s(337)],s(264)):i[s(273)](t[s(337)]);return i[s(384)](e,n[s(279)],n[s(467)])}function Tt(t,e,i){const s=yt,n=s(321)==t[s(481)]?i[s(295)](t[s(337)],0):i[s(353)](t[s(337)]);return i[s(384)](e,n[s(279)],n[s(467)])}var xt=i(355),Nt=i(311),At=i(789),Rt=i.n(At),Mt=i(437),Vt=i.n(Mt),Dt=i(298),Et=i.n(Dt),Ct=i(207),Ft=i.n(Ct),jt=i(825),Lt=i.n(jt),Pt=i(416),zt={attributes:{"data-cke":!0}};zt.setAttributes=Ft(),zt.insert=Et().bind(null,"head"),zt.domAPI=Vt(),zt.insertStyleElement=Lt();Rt()(Pt.A,zt);Pt.A&&Pt.A.locals&&Pt.A.locals;var Wt=i(450),Zt={attributes:{"data-cke":!0}};Zt.setAttributes=Ft(),Zt.insert=Et().bind(null,"head"),Zt.domAPI=Vt(),Zt.insertStyleElement=Lt();Rt()(Wt.A,Zt);Wt.A&&Wt.A.locals&&Wt.A.locals;function Ut(t,e){const i=qt();return(Ut=function(t,e){return i[t-=410]})(t,e)}const Ht=Ut;function qt(){const t=["errorText","form","1266340XnsaIv","9774728ZtYsTE","input","locale","revisionNameInputView","fieldView","12FFFYKN","label","ck-revision-history-save-revision-form","extendTemplate","focusTracker","setTemplate","focus","value","29405830hlbrzm","9spsPLL","220","arrowleft","add","revisionName","3644511dYZSGo","arrowdown","element","listenTo","keystrokes","5DtlrUM","2299982ppiCyX","trim","ck-responsive-form","set","stopPropagation","598430mNlEKl","1098651GaTDiZ","initializeCssTransitionDisablerMixin","arrowup","reset","Name of the revision","arrowright","render","revisionNameInputValue","_createRevisionNameInput","optional"];return(qt=function(){return t})()}!function(t){const e=Ut,i=t();for(;;)try{if(830542===-parseInt(e(421))/1+-parseInt(e(415))/2+parseInt(e(453))/3+-parseInt(e(433))/4*(-parseInt(e(414))/5)+parseInt(e(439))/6*(-parseInt(e(420))/7)+-parseInt(e(434))/8+parseInt(e(448))/9*(parseInt(e(447))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class $t extends((0,Nt.CssTransitionDisablerMixin)(Nt.View)){[Ht(443)];[Ht(413)];[Ht(437)];constructor(e,i){const s=Ht;super(e),this[s(443)]=new t.FocusTracker,this[s(413)]=new t.KeystrokeHandler,this[s(418)](s(428),""),this[s(437)]=this[s(429)](i),this[s(444)]({tag:s(432),attributes:{class:["ck",s(441),s(417)],tabindex:"-1"},children:[this[s(437)]]}),this[s(422)]()}[Ht(427)](){const t=Ht;super[t(427)](),(0,Nt.submitHandler)({view:this}),this[t(443)][t(451)](this[t(437)][t(411)]),this[t(413)][t(412)](this[t(411)]);const e=e=>e[t(419)]();this[t(413)][t(418)](t(426),e),this[t(413)][t(418)](t(450),e),this[t(413)][t(418)](t(423),e),this[t(413)][t(418)](t(410),e)}[Ht(445)](){const t=Ht;this[t(437)][t(445)]()}get[Ht(452)](){const t=Ht;return this[t(437)][t(438)][t(411)][t(446)][t(416)]()}set[Ht(452)](t){const e=Ht;this[e(437)][e(438)][e(411)][e(446)]=t[e(416)]()}[Ht(424)](){const t=Ht;this[t(437)][t(438)][t(411)][t(446)]="",this[t(437)][t(431)]=null}[Ht(429)](t){const e=Ht,i=new Nt.LabeledFieldView(this[e(436)],Nt.createLabeledInputText),s=i[e(438)];s[e(442)]({attributes:{maxlength:e(449)}});let n=dt(this[e(436)],e(425));return!t&&(n+=" ("+dt(this[e(436)],e(430))+")"),i[e(440)]=n,s.on(e(435),()=>{const t=e;this[t(428)]=s[t(411)][t(446)][t(416)]()}),i}}const Bt=Yt;function Yt(t,e){const i=Gt();return(Yt=function(t,e){return i[t-=249]})(t,e)}function Gt(){const t=["children","ck-button-action","isOfficialPlugin","init","2303433BpPRJD","locale","_createSaveRevisionButton","buttonView","262906avAxqN","set","RevisionHistoryUI","bind","plugins","10310504pTQOcJ","40lkKqfZ","Cancel","isPremiumPlugin","RevisionTracker","Accept","submit","menuitem","_saveRevisionFormView","Open revision history","execute","view","isOpen","focus","The revision name cannot be empty.","reset","revisionHistory.requireRevisionName","1134XmpEVE","379340UxRCqd","get","_showDialog","show","_createSaveRevisionFormView","addMany","menuBar:revisionHistory","errorText","Dialog","3955JyJDcy","_registerMenuComponent","low","role","listenTo","isEnabled","isReady","render","items","componentFactory","panelView","revisionSave","hide","pluginName","revisionHistory","editing","showRevisionViewerCallback","add","revisionNameInputView","34585936kykapQ","editor","_createOpenRevisionButton","isReadOnly","config","Save current revision","24eyYTZd","revisionName","saveRevision","delegate","26089JZexGo","requires","Revision history","7732aDhZdv","menu"];return(Gt=function(){return t})()}!function(t){const e=Yt,i=t();for(;;)try{if(800057===parseInt(e(253))/1+-parseInt(e(276))/2*(parseInt(e(310))/3)+-parseInt(e(317))/4*(parseInt(e(285))/5)+parseInt(e(275))/6*(parseInt(e(314))/7)+-parseInt(e(258))/8+-parseInt(e(249))/9*(-parseInt(e(259))/10)+parseInt(e(304))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Jt extends et.Plugin{static get[Bt(298)](){return Bt(255)}static get[Bt(321)](){return!0}static get[Bt(261)](){return!0}static get[Bt(315)](){return[bt]}[Bt(266)];[Bt(322)](){const t=Bt,e=this[t(305)],i=e[t(257)][t(277)](t(262));e.ui[t(294)][t(302)](t(299),s=>{const n=t,r=(0,Nt.createDropdown)(s),o=r[n(295)][n(319)],a=new Nt.ListView(s),c=new Nt.ListItemView(s),u=this[n(251)](Nt.ButtonView),l=new Nt.ListItemView(s),h=this[n(306)](Nt.ButtonView);return r[n(256)](n(290)).to(i,n(291),i,n(290),e,n(307),(t,e,i)=>t&&e&&!i),r[n(252)][n(254)]({icon:xt.IconHistory,label:dt(s,n(316)),tooltip:!0}),u[n(254)]({withText:!0,role:n(265)}),h[n(254)]({withText:!0,role:n(265)}),this[n(289)](h,n(268),()=>{const t=n;r[t(270)]=!1,e[t(300)][t(269)][t(271)]()},{priority:n(287)}),c[n(319)][n(302)](u),l[n(319)][n(302)](h),a[n(288)]=n(318),a[n(293)][n(281)]([c,l]),o[n(302)](a),r}),e.ui[t(294)][t(302)](t(282),()=>this[t(286)]())}[Bt(286)](){const t=Bt,e=this[t(305)],i=e[t(250)],s=e[t(257)][t(277)](t(262)),n=new Nt.MenuBarMenuView(i),r=new Nt.MenuBarMenuListView(i);n[t(256)](t(290)).to(s,t(291),s,t(290),e,t(307),(t,e,i)=>t&&e&&!i),n[t(252)][t(254)]({icon:xt.IconHistory,label:dt(i,t(316))});const o=new Nt.MenuBarMenuListItemView(i,n),a=this[t(251)](Nt.MenuBarMenuListItemButtonView);a[t(313)](t(268)).to(n),o[t(319)][t(302)](a),r[t(293)][t(302)](o);const c=new Nt.MenuBarMenuListItemView(i,n),u=this[t(306)](Nt.MenuBarMenuListItemButtonView);return u[t(313)](t(268)).to(n),c[t(319)][t(302)](u),r[t(293)][t(302)](c),n[t(295)][t(319)][t(302)](r),n}[Bt(251)](t){const e=Bt,i=this[e(305)],s=i[e(257)][e(277)](e(262)),n=new t(i[e(250)]);return n[e(254)]({label:dt(i[e(250)],e(309))}),n[e(256)](e(290)).to(s,e(291),s,e(290),i,e(307),(t,e,i)=>t&&e&&!i),this[e(289)](n,e(268),()=>{this[e(278)]()}),n}[Bt(306)](t){const e=Bt,i=this[e(305)],s=i[e(257)][e(277)](e(262)),n=new t(i[e(250)]);return n[e(254)]({label:dt(i[e(250)],e(267))}),n[e(256)](e(290)).to(s,e(291),i,e(307),(t,e)=>t&&!e),this[e(289)](n,e(268),()=>{const t=e;i[t(308)][t(277)](t(299))[t(301)]()}),n}[Bt(278)](){const t=Bt,e=this[t(305)],i=e[t(250)],s=e[t(257)][t(277)](t(284)),n=e[t(257)][t(277)](t(262));function r(n){const r=t;e[r(308)][r(277)](r(274))&&""===n[r(311)]?n[r(303)][r(283)]=dt(i,r(272)):(e[r(257)][r(277)](bt)[r(312)]({name:n[r(311)]}),s[r(297)]())}this[t(266)]||(this[t(280)](),this[t(266)].on(t(264),()=>r(this[t(266)]))),this[t(266)][t(273)](),s[t(279)]({id:t(296),title:dt(i,t(309)),isModal:!0,content:this[t(266)],actionButtons:[{label:dt(e[t(250)],t(260)),withText:!0,onExecute:()=>s[t(297)]()},{label:dt(e[t(250)],t(263)),class:t(320),withText:!0,onCreate(i){const s=t;i[s(256)](s(290)).to(n,s(291),n,s(290),e,s(307),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(266)])}]})}[Bt(280)](){const t=Bt,e=this[t(305)],i=e[t(250)];this[t(266)]=new $t(i,e[t(308)][t(277)](t(274))),this[t(266)][t(292)]()}}const Kt=Xt;function Xt(t,e){const i=Qt();return(Xt=function(t,e){return i[t-=320]})(t,e)}function Qt(){const t=["changeId","isSuggestion","type","set","ck-annotation","ck-revision-change__","ck-revision-change","div","5047096ouNYeE","426737mHtiYE","Added by","ck-revision-change__label","author","setTemplate","add","Removed by","4319DLhpeO","name","span","556238hdYUfZ","280bIOMoo","53805AUXmpI","bindTemplate","element","Suggested by","2017518RzmTXH","_model","data","984bADLkq","focus","17241876zZCMec"];return(Qt=function(){return t})()}!function(t){const e=Xt,i=t();for(;;)try{if(390705===parseInt(e(347))/1+-parseInt(e(326))/2+parseInt(e(332))/3+-parseInt(e(327))/4*(-parseInt(e(328))/5)+parseInt(e(335))/6*(parseInt(e(323))/7)+parseInt(e(346))/8+-parseInt(e(337))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class te extends Nt.View{[Kt(338)];[Kt(333)];constructor(t,e){const i=Kt;super(t),this[i(333)]=e,this[i(338)]=e.id;const s=this[i(329)],n=dt(t,e[i(334)][i(339)]?i(331):i(321)==e[i(340)]?i(348):i(322));this[i(341)](i(340),e[i(340)]),this[i(320)]({tag:i(345),attributes:{class:[i(342),i(344),s.to(i(340),t=>i(343)+t)],tabindex:-1},children:[{tag:i(325),children:[{tag:i(325),attributes:{class:[i(349)]},children:[{text:n}]},{text:" "+e[i(350)][i(324)]}]}]})}[Kt(336)](){const t=Kt;this[t(330)][t(336)]()}}function ee(){var t=["data","396712UOINdK","21770NLBAzd","author","4750qeIMJK","33NpKMxF","rootName","set","10WDinkK","toJSON","1855042smrkEW","6680160NQhxRD","type","14817bnicGY","1218ICvFFA","7805120BqrCvc","createdAt","60482rYUNHb"];return(ee=function(){return t})()}var ie=se;function se(t,e){var i=ee();return(se=function(t,e){return i[t-=485]})(t,e)}!function(t){for(var e=se,i=t();;)try{if(717735===parseInt(e(496))/1*(-parseInt(e(487))/2)+parseInt(e(493))/3*(parseInt(e(489))/4)+-parseInt(e(490))/5*(parseInt(e(502))/6)+-parseInt(e(498))/7+parseInt(e(485))/8+parseInt(e(499))/9+parseInt(e(492))/10*(-parseInt(e(501))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class ne extends((0,t.ObservableMixin)()){id;[ie(491)];[ie(500)];[ie(488)];[ie(494)];constructor(e){var i=ie;super(),this.id=e.id||(0,t.uid)(),this[i(491)]=e[i(491)],this[i(500)]=e[i(500)],this[i(488)]=e[i(488)]||{},this[i(494)]=e[i(494)],this[i(495)](i(486),e[i(486)])}[ie(497)](){var t=ie;return{id:this.id,authorId:this[t(491)].id,type:this[t(500)],data:this[t(488)],createdAt:this[t(486)]}}}function re(){const t=["846687Mrahqj","3921810iFreHm","822411tGHYwq","4495880gvHDuo","4204336CwJyBE","56cRtaVO","changes","_setChanges","oldRevisionId","add","newRevisionId","320620VwgDZx","1jGDdtH","13126740vqnRZk","7VXxVqz"];return(re=function(){return t})()}const oe=ae;function ae(t,e){const i=re();return(ae=function(t,e){return i[t-=357]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(529649===-parseInt(e(358))/1*(-parseInt(e(357))/2)+-parseInt(e(361))/3+parseInt(e(365))/4+parseInt(e(364))/5+-parseInt(e(362))/6*(-parseInt(e(360))/7)+parseInt(e(366))/8*(-parseInt(e(363))/9)+-parseInt(e(359))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(re);class ce{[oe(371)];[oe(369)];[oe(367)];constructor(e,i){const s=oe;this[s(371)]=e,this[s(369)]=i,this[s(367)]=new t.Collection}[oe(368)](t){const e=oe;for(const i of t)this[e(367)][e(370)](i)}}var ue=i(434),le={attributes:{"data-cke":!0}};le.setAttributes=Ft(),le.insert=Et().bind(null,"head"),le.domAPI=Vt(),le.insertStyleElement=Lt();Rt()(ue.A,le);ue.A&&ue.A.locals&&ue.A.locals;const he=de;function de(t,e){const i=pe();return(de=function(t,e){return i[t-=337]})(t,e)}!function(t){const e=de,i=t();for(;;)try{if(921749===-parseInt(e(376))/1*(-parseInt(e(565))/2)+parseInt(e(429))/3*(parseInt(e(407))/4)+-parseInt(e(548))/5+parseInt(e(605))/6+parseInt(e(563))/7+parseInt(e(566))/8+parseInt(e(370))/9*(-parseInt(e(360))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class fe extends et.Plugin{[he(657)];[he(626)]=null;[he(634)];[he(342)];[he(622)];[he(478)];[he(570)];static get[he(577)](){return he(484)}static get[he(363)](){return!0}static get[he(406)](){return!0}static get[he(423)](){return[it.Users,Nt.ContextualBalloon,ot,ht]}constructor(t){const e=he;super(t),this[e(657)]=this[e(513)][e(431)][e(586)](e(569)),this[e(634)]=this[e(513)][e(431)][e(586)](e(635)),this[e(633)](e(594),null),this[e(633)](e(397),null),this[e(342)]=null,this[e(633)](e(650),null),this[e(633)](e(462),!1),this[e(633)](e(411),!0),this.on(e(461),(t,i,s)=>{const n=e;this[n(594)]=null,this[n(397)]=null,this[n(513)][n(453)][n(536)][n(377)](t=>{const e=n;for(const i of this[e(513)][e(453)][e(536)][e(413)][e(530)])s?t[e(509)](e(493),i):t[e(416)](e(493),i)})}),this[e(385)](e(662)).to(this,e(594),t=>null!==t),this[e(385)](e(467)).to(this,e(462),this,e(650),this,e(594),(t,i,s)=>t&&s?i[e(527)][e(337)](s):0),this[e(385)](e(589)).to(this,e(462),this,e(650),(t,i)=>t?i[e(527)][e(568)]:0),this[e(622)]=null,this[e(478)]=new Map,this[e(570)]=this[e(513)][e(431)][e(586)](Nt.ContextualBalloon)}[he(391)](){const t=he,e=this[t(513)],i=new ge(e,{direction:t(359)}),s=new ge(e,{direction:t(638)});e[t(637)][t(547)](t(602),i),e[t(637)][t(547)](t(659),s),e[t(637)][t(547)](t(358),new ve(e)),this.on(t(465),()=>{const e=t;i[e(561)](),s[e(561)]()}),this[t(587)](),this[t(572)](),e[t(371)](t(554)),e[t(431)][t(438)](t(387))&&e[t(431)][t(586)](t(387))[t(609)](t(554))}async[he(576)](t){const e=he;return await this[e(634)][e(449)](t,this[e(626)]),this[e(634)][e(576)](t)}async[he(579)](t){const e=he;return await this[e(634)][e(449)](t,this[e(626)]),this[e(634)][e(579)](t)}async[he(471)](t,e,i=!1){const s=he;if(!this[s(411)])return;const n=this[s(650)],r=this[s(657)],o=s(588)==typeof t?r[s(515)](t):t,a=s(588)==typeof e?r[s(515)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(650)]&&this[s(650)][s(534)]===c&&this[s(650)][s(341)]===u)return Promise[s(361)]();this[s(462)]=!1,this[s(397)]=null,this[s(594)]=null,this[s(650)]=new ce(c,u);const l=this[s(551)](o,a,!0)[s(353)](t=>this[s(634)][s(449)](t,this[s(626)]));return l[s(487)](new Promise(t=>{setTimeout(t,20)})),Promise[s(539)](l)[s(432)](()=>{const t=s;if(!this[t(411)])return;this[t(508)]();const e=this[t(641)](c,u);for(const i of e[t(527)])this[t(478)][t(633)](i.id,i);this[t(513)][t(401)][t(616)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(513)][s(401)][s(413)][s(584)]())i[s(522)](t);for(const t of Object[s(394)](e[s(401)])){const n=i[s(494)](t);for(const r of Object[s(394)](e[s(615)][t]))i[s(503)](r,e[s(615)][t][r],n);i[s(612)](e[s(401)][t],n,0)}}),this[t(650)][t(488)](this[t(552)](e[t(527)])),this[t(462)]=!0})[s(395)](t=>{const e=s;console[e(599)](t),this[e(508)](),n&&(this[e(650)]=n),this[e(462)]=!0})}[he(388)](t,e){const i=he,s=this[i(657)][i(505)](t);return s.on(i(458),(t,i,n)=>e(i,n,s)),this[i(657)][i(368)](s),s}[he(508)](){const t=he;this[t(594)]=null,this[t(425)](),this[t(622)]&&this[t(622)][t(603)](),this[t(622)]=null,this[t(478)][t(502)](),this[t(513)][t(401)][t(616)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(513)][i(401)][i(413)][i(584)]())e[i(522)](t)})}[he(552)](t){const e=he,i=[],s=new Map;for(const t of this[e(513)][e(401)][e(413)][e(584)]()){const n=this[e(513)][e(453)][e(536)][e(475)](t);if(!n)continue;const r=n[e(655)]()[e(652)](0);r&&(i[e(487)](t),s[e(633)](t,r))}return i[e(559)]((t,i)=>{const n=e,r=s[n(586)](t),o=s[n(586)](i);return r.y-o.y||r.x-o.x}),(t=t[e(660)](t=>i[e(571)](t[e(340)])))[e(559)]((t,s)=>i[e(614)](t[e(340)])-i[e(614)](s[e(340)])),t}[he(533)](t){const e=he,i=Array[e(564)](t[e(434)])[e(660)](([t,i])=>t[e(479)](e(611))&&!i[e(537)]),s=Array[e(564)](this[e(513)][e(401)][e(392)](t)[e(384)]({singleCharacters:!0}));if(0!=i[e(568)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(595)](":");if(n[e(518)][e(444)](t[e(606)])&&i[e(415)](),(t[e(389)][e(444)](n[e(375)])||t[e(389)][e(422)](n[e(375)]))&&(e(590)==r?t[e(480)]={userId:o}:e(396)==r&&(t[e(591)]={userId:o})),0==i[e(568)])break}return s}[he(604)](t){const e=he,i=new Map;for(let s=0;s<t[e(568)];s++)e(598)===t[s][e(483)]?(t[s][e(652)][e(621)]=s,t[s][e(652)][e(442)]=s):(e(656)===t[s][e(483)]?t[s][e(652)][e(621)]=s:e(620)===t[s][e(483)]&&(t[s][e(652)][e(442)]=s),i[e(633)](t[s].id,s));for(const s of i[e(435)]())e(656)===t[s][e(483)]?t[s][e(652)][e(442)]=i[e(586)](t[s][e(531)]):e(620)===t[s][e(483)]&&(t[s][e(652)][e(621)]=i[e(586)](t[s][e(531)]))}[he(464)](t){const e=he;for(let i=0;i<t[e(568)];i++){if(e(656)===t[i][e(483)])t[i][e(652)][e(621)]=i;else if(e(620)===t[i][e(483)]){t[i][e(652)][e(442)]=i;const s=t[i][e(652)][e(621)];t[s][e(531)]=t[i].id,t[i][e(531)]=t[s].id}else t[i][e(652)][e(621)]=i,t[i][e(652)][e(442)]=i,t[i][e(531)]=null;t[i][e(372)]||(t[i][e(372)]=[],t[i][e(555)]=[])}}[he(430)](t,e){const i=he,s=t[i(660)](t=>!t[i(480)]);for(let t=0;t<e[i(568)];t++)e[t][i(480)]&&(s[t][i(480)]=e[t][i(480)])}[he(641)](t,e=null){const i=he,s=this[i(657)][i(515)](t),n=e?this[i(657)][i(515)](e):null,r=this[i(551)](s,n),o=r[r[i(568)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(568)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(394)](e[i(519)]))if(e[i(519)][t][i(369)]){const s=e[i(519)][t][i(369)];s[i(338)]?(u[i(547)](t),l[i(438)](t)&&l[i(586)](t)[i(525)]==s[i(525)]?l[i(474)](t):l[i(633)](t,s)):l[i(438)](t)?(u[i(474)](t),l[i(474)](t)):(u[i(547)](t),l[i(633)](t,s))}else u[i(547)](t)}for(const t of u){const e=l[i(438)](t)&&!l[i(586)](t)[i(338)];let s=e?r[i(568)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(519)][t]){const s=e?o[i(519)][t][i(516)]:o[i(519)][t][i(500)];c[i(615)][t]=s?V(s):{};break}s+=n}}for(const t of r){t[i(401)]={};for(const e of t[i(512)])a[i(633)](e.id,e);for(const e of u){const s=t[i(519)][e]?t[i(519)][e][i(356)]:"[]",n=t[i(519)][e]?t[i(519)][e][i(381)]:"[]";t[i(401)][e]={insertions:this[i(634)][i(597)](s),deletions:this[i(634)][i(597)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(564)](s[i(401)][t][i(356)][i(434)])[i(660)](([t])=>!t[i(479)](i(611))));let h=0;for(const o of r){const r=this[i(533)](o[i(401)][t][i(356)]);o==s?(e=r,n=e[i(568)],e[i(380)](t=>{t.id=h++}),this[i(464)](e)):this[i(430)](e,r);const a=e[i(660)](t=>!t[i(480)])[i(353)](t=>t.id);let c=0;const l=this[i(533)](o[i(401)][t][i(381)]);l[i(380)](t=>{t[i(591)]?t.id=n++:t.id=a[c++]}),this[i(464)](l),this[i(437)](e,i(480)),this[i(437)](l,i(591)),o==s&&this[i(654)](e,u),e=this[i(451)](e,l),this[i(604)](e),this[i(437)](e,i(591))}e=e[i(660)](t=>!(t[i(480)]&&t[i(591)]));const d=new Map(o[i(401)][t][i(381)][i(434)]),f=new Set(u[i(394)]());for(const t of d[i(394)]())f[i(474)](t);this[i(441)](e,f),this[i(350)](e),e=this[i(404)](e),e=this[i(498)](e),e=this[i(482)](e);const{root:m,changes:p}=this[i(412)](e,a,t);c[i(401)][t]=m;const v=l[i(586)](t);if(v){const e=a[i(586)](v[i(525)]),s=new ne({author:e,type:v[i(338)]?i(547):i(636),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(365)](s),c[i(615)][t][i(366)]=s.id}c[i(527)]=c[i(527)][i(499)](p)}return c}[he(654)](t,e){const i=he;for(let s=0;s<t[i(568)];s++)for(const[n,r]of e)!r[i(537)]&&r[i(375)][i(444)](t[s][i(389)])&&t[s][i(372)][i(487)](n),r[i(518)][i(444)](t[s][i(606)])&&t[s][i(555)][i(487)](n)}[he(451)](t,e){const i=he;let s=[],n=0,r=0;for(;n<t[i(568)]||r<e[i(568)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(487)](o);else if(a[i(591)]&&o[i(480)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(517)](t,n,e,r);s=s[i(499)](o),n=a,r=c}else a[i(591)]?(r++,s[i(487)](a)):(n++,s[i(487)](o))}return s}[he(441)](t,e){const i=he,s=[];for(let o=0;o<t[i(568)];o++){for(let r=0;r<t[o][i(372)][i(568)];r++){const a=t[o][i(372)][r];if(!e[i(438)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(617)!=c||i(590)!=u&&i(396)!=u||(s[i(365)]({type:u,name:a,userId:l}),t[o][i(372)][i(653)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(555)][i(568)];r++){const a=t[o][i(555)][r];if(!e[i(438)](a))continue;const{group:c,type:u}=n(a);if(i(617)!=c||i(590)!=u&&i(396)!=u)continue;t[o][i(555)][i(653)](r,1),r--;const l=s[i(357)](t=>t[i(433)]==a);l>-1&&s[i(653)](l,1)}}function n(t){const e=i,s=t[e(595)](":");return{group:s[0],type:s[1],subType:s[e(568)]>=5?s[2]:null,id:s[e(568)]<5?s[2]:s[3],authorId:s[e(568)]<5?s[3]:s[4],markerCount:6==s[e(568)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(568)];i++){if(t[e(480)]&&e(590)==s[i][e(483)]&&t[e(480)][e(525)]==s[i][e(525)])return t[e(558)]=s[i],void delete t[e(480)];if(!t[e(480)]&&!t[e(591)]&&e(396)==s[i][e(483)])return void(t[e(632)]=s[i])}}}[he(437)](t,e){const i=he;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(633)](o.id,s);for(let s=0;s<t[i(568)];s++){if(i(591)==e&&t[s][i(480)]||i(480)==e&&t[s][i(591)])continue;if(i(598)==t[s][i(483)]){t[s][i(489)]=0;continue}const n=r[i(586)](t[s][i(531)]),o=r[i(586)](t[s].id);t[s][i(489)]=n-o}}[he(551)](t,e,i=!1){const s=he,n=[];let r=this[s(657)][s(337)](t),o=this[s(657)][s(337)](e);for(-1==o&&(o=this[s(657)][s(428)][s(568)],i=!1);r<o;)n[s(487)](this[s(657)][s(515)](r)),r++;return i&&n[s(487)](this[s(657)][s(515)](r)),n}[he(517)](t,e,i,s){const n=he,r=this[n(513)][n(401)][n(596)];let o=e;for(;t[o]&&t[o][n(480)];)o++;let a=s;for(;i[a]&&i[a][n(591)];)a++;u(t,e,o),u(i,s,a);const c=i[n(374)](s,a)[n(499)](t[n(374)](e,o));return c[n(559)]((t,e)=>t[n(627)]!=e[n(627)]?t[n(627)]-e[n(627)]:t[n(510)]!=e[n(510)]?t[n(510)]-e[n(510)]:t[n(489)]!=e[n(489)]?e[n(489)]-t[n(489)]:!!t[n(480)]!=!!e[n(480)]?-1==t[n(627)]||0==t[n(627)]?t[n(480)]?-1:1:t[n(480)]?1:-1:t[n(405)]-e[n(405)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(593)],c=!0;for(let n=e;n<i;n++)if(r[s(658)](t[n][s(652)])||(c=!1),t[n][s(652)][s(621)]<e&&(o=n),t[n][s(652)][s(442)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(627)]=n<=o?-1:n<a?0:1,t[n][s(405)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(489)]?t[i][s(510)]=u:(u++,t[i][s(510)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(627)]&&(t[n][s(510)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(489)]?t[e][s(510)]=u:(u--,t[e][s(510)]=u,u--)}}[he(350)](t){const e=he,i=new Map,s=this[e(513)][e(401)][e(596)];for(let n=1;n<t[e(568)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(598)==c[e(483)])continue;if(c[e(483)]!=u[e(483)])continue;if(!s[e(578)](u[e(652)])||s[e(409)](u[e(652)]))continue;if(!s[e(578)](c[e(652)])||s[e(409)](c[e(652)]))continue;if((t[n][e(480)]||t[n][e(558)])&&t[n-1][e(591)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(591)]||!t[n-1][e(480)]&&!t[n-1][e(558)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(510)]==o[e(510)],h=Math[e(468)](r[e(510)])<Math[e(468)](o[e(510)])&&0==o[e(489)];(l||h)&&(i[e(633)](o.id,r.id),t[e(653)](a,1),n--,r[e(480)]=!1)}for(let s=0;s<t[e(568)];s++)i[e(438)](t[s][e(531)])&&(t[s][e(531)]=i[e(586)](t[s][e(531)]))}[he(404)](t){const e=he,i=new Set(t[e(353)](t=>t.id));for(let s=0;s<t[e(568)];s++)i[e(438)](t[s][e(531)])||0==t[s][e(489)]||(t[s][e(420)]=!0);return t[e(660)](t=>!t[e(420)])}[he(498)](t){const e=he,i=new Set;for(let s=0;s<t[e(568)];s++){if(i[e(438)](t[s].id)&&t[s][e(591)]&&(t[s][e(420)]=!0),t[s][e(420)])continue;if(0==t[s][e(489)])continue;if(e(656)!=t[s][e(483)])continue;if(null==t[s][e(531)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(531)];)e(656)==t[n][e(483)]?r++:e(620)==t[n][e(483)]&&r--,n++;if(0!=r)if(t[s][e(591)])t[s][e(420)]=!0;else for(;n!=s;)t[n][e(591)]&&0!=t[n][e(489)]&&(t[n][e(420)]=!0,i[e(547)](t[n][e(531)])),n--}return t[e(660)](t=>!t[e(420)])}[he(482)](t){const e=he,i=this[e(513)][e(401)][e(596)];for(let s=0;s<t[e(568)];s++){if(!(t[s][e(480)]||t[s][e(558)]||t[s][e(591)]||t[s][e(632)]))continue;if(0==t[s][e(489)])continue;const n=t[s][e(652)];i[e(578)](n)||i[e(409)](n)||(t[s][e(480)]&&delete t[s][e(480)],t[s][e(558)]&&delete t[s][e(558)],t[s][e(632)]&&delete t[s][e(632)],t[s][e(591)]&&(t[s][e(420)]=!0))}return t[e(660)](t=>!t[e(420)])}[he(412)](t,e,i){const s=he,n=new st.ModelDocumentFragment,r=[],o=new Map,a=this[s(513)][s(401)],c=a[s(596)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(568)];e++)if(s(656)===t[e][s(483)]){t[e][s(389)]=a[s(400)](n,f);const i=new st.ModelElement(t[e][s(652)][s(433)],t[e][s(652)][s(630)]());u[0][s(600)](i),f[s(487)](0),u[s(365)](i),t[e][s(606)]=a[s(400)](n,f)}else s(620)===t[e][s(483)]?(u[s(415)](),t[e][s(389)]=a[s(400)](n,f),f[s(364)](),f[f[s(568)]-1]++,t[e][s(606)]=a[s(400)](n,f)):(t[e][s(389)]=a[s(400)](n,f),d?d[s(446)]+=t[e][s(652)][s(553)]:d=new st.ModelText(t[e][s(652)][s(553)],t[e][s(652)][s(630)]()),t[e+1]&&s(598)===t[e+1][s(483)]&&v(d,t[e+1][s(652)])||(u[0][s(600)](d),d=null),f[f[s(568)]-1]+=t[e][s(652)][s(528)],t[e][s(606)]=a[s(400)](n,f));for(let e=0;e<t[s(568)];e++){const i=t[e][s(389)],n=t[e][s(606)];for(const n of t[e][s(372)])o[s(633)](n,{start:i,end:null});m(s(632),e,i,n),m(s(558),e,i,n),m(s(591),e,i,n),m(s(480),e,i,n);for(const i of t[e][s(555)]){const t=o[s(586)](i);t?t[s(518)]=n:o[s(633)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(513)][s(401)][s(550)](e[s(375)],e[s(518)]);n[s(434)][s(633)](t,i)}return r[s(559)]((t,e)=>{const i=s,r=n[i(434)][i(586)](i(611)+t.id),o=n[i(434)][i(586)](i(611)+e.id);return r[i(375)][i(414)](o[i(375)])?-1:r[i(375)][i(422)](o[i(375)])?1:r[i(518)][i(414)](o[i(518)])?-1:r[i(518)][i(422)](o[i(518)])?1:i(547)===t[i(483)]?-1:1}),{root:n,changes:r};function m(e,i,n,r){const o=s,a=!!t[i][e],u=a?t[i][e][o(525)]:null,d=i===t[o(568)]-1,f=h[e][0],m=c[o(344)](t[i][o(652)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(518)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(525)]!==u&&(l[e][o(518)]=n,f&&f[o(525)]===l[e][o(525)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(656)!==t[i][o(483)]||f&&f[o(525)]===u||h[e][o(365)]({userId:u,object:t[i][o(652)],change:l[e]}),o(620)===t[i][o(483)]&&f&&f[o(386)]===t[i][o(652)]&&(h[e][o(415)](),l[e]=f[o(377)])),l[e]&&d&&(l[e][o(518)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=s,d=c[h(652)],f=a[h(596)][h(578)](d)&&!a[h(596)][h(409)](d),m=t[h(348)]==o[h(544)]&&o[h(460)];if(f&&m)return;const p=a[h(550)](t,o),v=e[h(586)](u),g=new ne({author:v,type:h(480)==l||h(558)==l?h(547):h(636),data:{isSuggestion:h(558)==l||h(632)==l},createdAt:new Date,rootName:i});r[h(487)](g),n[h(434)][h(633)](h(611)+g.id,p)}function v(t,e){const i=s,n=t[i(630)](),r=e[i(630)]();for(const t of n){if(t[1]!==e[i(524)](t[0]))return!1;r[i(452)]()}return r[i(452)]()[i(648)]}}[he(587)](){const t=he;this[t(513)][t(506)][t(419)](t(573))[t(608)]({view:t(507)}),this[t(513)][t(506)][t(419)](t(526))[t(439)]({model:t(507),view:e=>{const i=t,s=e[i(624)][i(595)](":")[1],n=this[i(540)](s);if(!n)return null;const r=i(547)==n[i(483)]?i(590):i(396),o=[i(457),i(469)+r];return n[i(553)][i(481)]&&o[i(487)](i(469)+r+i(497)),this[i(594)]==n&&o[i(487)](i(545)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(513)][t(506)][t(419)](t(573))[t(547)](e=>{const i=t;e.on(i(403),(t,e,s)=>{const n=i,r=e[n(619)][n(575)](0);if(!r||!r.is(n(514),n(352)))return;if(!s[n(445)][n(661)](r,{attributes:[n(504),n(399)]}))return;const o=e[n(410)][n(375)][n(348)];s[n(644)][n(503)](n(504),r[n(524)](n(504)),o),s[n(644)][n(503)](n(399),r[n(524)](n(399)),o)},{priority:i(625)})}),this[t(513)][t(506)][t(419)](t(573))[t(547)](e=>{const i=t;e.on(i(514),(t,e,s)=>{const n=i;if(!s[n(445)][n(661)](e[n(619)],{attributes:[n(504),n(399)]}))return;if(e[n(410)][n(537)])return;const r=e[n(410)][n(375)][n(348)];r[n(463)](n(504))||r[n(463)](n(610))||(s[n(644)][n(503)](n(504),e[n(619)][n(524)](n(504)),r),s[n(644)][n(503)](n(399),e[n(619)][n(524)](n(399)),r))},{priority:i(625)})}),this[t(513)][t(506)][t(419)](t(573))[t(580)]({view:{name:t(443),attributes:{vid:!0}},model:{key:t(610),value:e=>e[t(524)](t(610))}}),this[t(513)][t(401)][t(596)].on(t(643),(e,[,i])=>{const s=t;[s(504),s(399),s(610)][s(571)](i)&&(e[s(613)]=!0,e[s(520)]())},{priority:t(424)}),this[t(513)][t(506)][t(419)](t(349))[t(547)](e=>{const i=t;e.on(i(631),(t,e,s)=>{const n=i;if(" "!=e[n(652)][n(553)]||e[n(652)][n(544)][n(601)]>1)return;if(!s[n(445)][n(661)](e[n(652)],t[n(433)]))return;const r=s[n(644)],o=s[n(466)][n(436)](e[n(440)]);r[n(562)](o,r[n(408)](n(443)))})}),this[t(513)][t(506)][t(419)](t(349))[t(560)]({model:t(507)}),this[t(513)][t(453)][t(557)].on(t(402),function(e){const i=t,s=e[i(431)][i(586)](i(484));return(t,n,r)=>{const o=i,a=n[o(624)][o(595)](":")[1],c=s[o(540)](a);if(!c)return null;const u=o(547)==c[o(483)]?o(595):o(476);if(!r[o(445)][o(592)](n[o(496)],t[o(433)]))return;const l=n[o(496)][o(384)](),h=n[o(496)][o(375)],d=e[o(401)][o(596)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(652)];p=p||d[o(556)](e);const i=r[o(466)][o(477)](e);if(i&&i[o(447)](o(456)))return;o(620)==t[o(483)]&&d[o(578)](e)&&!d[o(409)](e)&&(e[o(532)]||h[o(382)]?f&&f[o(544)]==e||(f=e,g(t[o(389)]),v=!0):m=m||t[o(389)])}function g(t){const e=o,i=r[e(644)][e(523)](e(443),{class:e(469)+u}),a=r[e(466)][e(583)](t);c[e(553)][e(481)]&&r[e(644)][e(416)](e(469)+u+e(497),i),s[e(594)]==c&&r[e(644)][e(416)](e(545),i),r[e(644)][e(612)](a,i),r[e(466)][e(426)](i,n[e(624)])}p||v||!m||g(m)}}(this[t(513)]),{priority:t(491)}),this[t(513)][t(453)][t(557)].on(t(543),(e,i,s)=>{const n=t,r=s[n(466)][n(448)](i[n(624)]);if(r)for(const t of r)(t[n(535)](n(538))||t[n(535)](n(421)))&&(s[n(466)][n(367)](t,i[n(624)]),s[n(644)][n(636)](t))},{priority:t(491)}),this[t(513)][t(453)][t(557)].on(t(402),(e,i,s)=>{const n=t,r=i[n(624)][n(595)](":")[1],o=this[n(540)](r);if(!o)return null;const a=n(547)==o[n(483)]?n(595):n(476);if(s[n(445)][n(592)](i[n(496)],e[n(433)]))for(const t of i[n(496)][n(645)]()){if(!t.is(n(514),n(567)))continue;const e=s[n(644)][n(523)](n(443),{class:n(469)+a}),r=s[n(466)][n(583)](this[n(513)][n(401)][n(373)](t));o[n(553)][n(481)]&&s[n(644)][n(416)](n(469)+a+n(497),e),this[n(594)]==o&&s[n(644)][n(416)](n(545),e),s[n(644)][n(612)](r,e),s[n(466)][n(426)](e,i[n(624)])}},{priority:t(491)}),this[t(513)][t(401)][t(413)].on(t(377),()=>{const e=t;this[e(513)][e(453)][e(536)][e(377)](t=>{const i=e;for(const e of this[i(513)][i(401)][i(413)][i(584)]()){const s=this[i(513)][i(401)][i(413)][i(495)](e),n=this[i(513)][i(453)][i(536)][i(413)][i(495)](e);if(n){const e=s[i(524)](i(366));if(t[i(529)](i(418),n),t[i(509)](i(485),n),t[i(509)](i(472),n),t[i(509)](i(454),n),e){const s=this[i(540)](e);if(!s)return null;t[i(503)](i(418),e,n),t[i(416)](i(541)+s[i(483)],n),this[i(594)]==s&&t[i(416)](i(454),n)}}}})}),this[t(513)][t(506)][t(419)](t(573))[t(608)]({view:t(649),model:e=>t(546)+e,converterPriority:t(424)}),this[t(513)][t(506)][t(419)](t(573))[t(608)]({view:t(640),model:e=>t(639)+e,converterPriority:t(424)}),this[t(513)][t(506)][t(419)](t(349))[t(560)]({model:t(617),view:e=>({name:t(417)+e,group:t(617)}),converterPriority:t(424)}),this[t(513)][t(506)][t(419)](t(526))[t(439)]({model:t(617),view:e=>{const i=t,s=e[i(624)][i(595)](":")[1];return i(590)!=s&&i(396)!=s?null:{classes:[i(549),i(607)+s]}}}),this[t(513)][t(453)][t(557)].on(t(470),me(this[t(513)],t(476)),{priority:t(491)}),this[t(513)][t(453)][t(557)].on(t(390),me(this[t(513)],t(595)),{priority:t(491)}),this[t(513)][t(453)][t(557)].on(t(585),(e,i,s)=>{const n=t,r=s[n(466)][n(448)](i[n(624)]);if(r)for(const t of r)t.is(n(492))&&(s[n(466)][n(367)](t,i[n(624)]),s[n(644)][n(636)](t))},{priority:t(491)})}[he(540)](t){const e=he;return this[e(478)][e(586)](t)}[he(347)](t){const e=he;return this[e(622)]&&this[e(622)][e(603)](),this[e(622)]=new te(this[e(513)][e(647)],t),this[e(622)]}[he(572)](){const t=he;this[t(513)][t(401)][t(413)][t(378)][t(542)](t(507)),this.on(t(642),(e,i,s,n)=>{const r=t;n&&this[r(570)][r(636)](n),s&&(this[r(570)][r(547)]({view:s,stackId:r(427),position:{target:()=>{const t=r,e=this[t(513)][t(453)],i=this[t(540)](s[t(383)]);let n;if(i[t(553)][t(511)]){const s=e[t(536)][t(475)](i[t(340)]);n=Array[t(564)](s[t(655)]())}else{const i=this[t(513)][t(401)][t(434)][t(586)](t(611)+s[t(383)]);n=Array[t(564)](e[t(466)][t(448)](i[t(433)]))[t(353)](i=>e[t(536)][t(582)][t(646)](i))[t(353)](e=>Array[t(564)](e[t(655)]()))[t(651)]()}return this[t(342)]&&n[t(618)](e=>e[t(501)]-3<=this[t(342)].y&&e[t(345)]+3>=this[t(342)].y&&e[t(486)]-3<=this[t(342)].x&&e[t(455)]+3>=this[t(342)].x)||n[0]}}}),this[r(570)][r(629)](r(427)))}),this.on(t(581),(e,i,s,n)=>{const r=t;this[r(397)]=s?this[r(347)](s):null,this[r(513)][r(401)][r(377)](()=>{const t=r,e=this[t(513)][t(453)];n&&(n[t(553)][t(511)]?e[t(536)][t(377)](i=>{const s=t;i[s(509)](s(454),e[s(536)][s(413)][s(495)](n[s(340)]))}):e[t(521)](t(611)+n.id)),s&&(s[t(553)][t(511)]?e[t(536)][t(377)](i=>{const n=t;i[n(416)](n(454),e[n(536)][n(413)][n(495)](s[n(340)]))}):e[t(521)](t(611)+s.id))})}),this[t(628)](this[t(513)][t(453)][t(536)][t(413)],t(355),(e,i)=>{const s=t;if(this[s(594)])return;const n=this[s(339)](i[s(459)]),r=this[s(478)][s(586)](n);r?(this[s(342)]={x:i[s(362)].x,y:i[s(362)].y},this[s(397)]=this[s(347)](r)):(this[s(342)]=null,this[s(397)]=null)}),this[t(628)](this[t(513)][t(453)][t(536)][t(413)],t(393),(e,i)=>{const s=t,n=this[s(339)](i[s(459)]),r=this[s(478)][s(586)](n);r?(this[s(342)]={x:i[s(362)].x,y:i[s(362)].y},r===this[s(594)]?this[s(570)][s(574)]():this[s(594)]=r):(this[s(342)]=null,this[s(594)]=null)})}[he(339)](t){const e=he;do{const i=t[e(524)](e(418));if(i)return i;t=t[e(544)]}while(t);return null}[he(425)](){const t=he;this[t(513)][t(401)][t(377)](e=>{const i=t;for(const t of this[i(513)][i(401)][i(434)])e[i(379)](t)})}}function me(t,e){return(i,s,n)=>{const r=de;if(!n[r(445)][r(592)](s[r(496)],i[r(433)]))return;const o=s[r(496)][r(384)](),a=s[r(496)][r(375)],c=t[r(401)][r(596)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(652)];h=h||c[r(556)](e);const i=n[r(466)][r(477)](e);if(i&&i[r(447)](r(456)))return;r(620)==t[r(483)]&&c[r(578)](e)&&!c[r(409)](e)&&(e[r(532)]||a[r(382)]?u&&u[r(544)]==e||(u=e,f(t[r(389)]),d=!0):l=l||t[r(389)])}function f(t){const i=r,o=n[i(466)][i(583)](t),a=n[i(644)][i(523)](i(443),{class:i(607)+e});n[i(644)][i(612)](o,a),n[i(466)][i(426)](a,s[i(624)])}h||d||!l||f(l)}}function pe(){const t=["toViewPosition","getRootNames","removeMarker:revision-suggestion","get","_setConversion","string","numberOfChanges","insertion","isRemoved","test","POSITIVE_INFINITY","activeChange","split","schema","_makeModelFromViewString","text","error","_appendChild","maxOffset","showPreviousChange","destroy","_refreshStartEndIndex","9605868rWKAsM","nextPosition","ck-suggestion-preview-marker-","dataToMarker","forceDisabled","vid","revision:","insert","return","indexOf","attributes","enqueueChange","revision-suggestion","find","viewItem","elementEnd","startIndex","_changeView","first","markerName","low","adapter","side","listenTo","showStack","getAttributes","attribute:vid","isRemoveSuggestion","set","_utils","RevisionHistoryUtils","remove","commands","forward","revision-suggestion:","suggestion","_getDiff","change:activeView","checkAttribute","writer","getItems","mapViewToDom","locale","done","comment","diff","flat","item","splice","_markMarkers","getClientRects","elementStart","repository","isInline","showNextChange","filter","consume","isNavigationMode","getIndex","isAttached","_findChangeIdFromDomTarget","rootName","oldRevisionId","_activeViewTarget","affectsData","isObject","bottom","restoreRevisionCallback","_getViewForChange","nodeAfter","dataDowncast","_fixObsoleteTags","change:isReady","code","map","execute","mouseover","insertions","findIndex","restoreRevision","backward","240qoZgUa","resolve","domEvent","isOfficialPlugin","pop","unshift","revisionHistoryAttachChange","unbindElementFromMarkerName","addRevision","attachChange","829107hcIoND","enableReadOnlyMode","markersStart","createPositionBefore","slice","start","75ArIypS","change","selection","removeMarker","forEach","deletions","isAtEnd","changeId","getWalker","bind","object","WidgetToolbarRepository","addRevisionData","previousPosition","addMarker:revision-suggestion:insertion","init","createRangeIn","mousedown","keys","catch","deletion","activeView","revisionHistory","vid_end","createPositionFromPath","model","addMarker:revision","element:pre","_removeMissingPairs","index","isPremiumPlugin","81988DVEAgc","createAttributeElement","isLimit","modelRange","isEnabled","_makeModelFromTape","document","isBefore","shift","addClass","suggestion:","data-change-id","for","isIncorrect","ck-suggestion-marker-merge","isAfter","requires","highest","_cleanMarkers","bindElementToMarker","revisionHistoryLabel","_revisions","15GoKSbz","_markInsertions","plugins","then","name","markers","values","toViewRange","_setDistance","has","markerToHighlight","range","_markSuggestions","endIndex","span","isEqual","consumable","_data","getCustomProperty","markerNameToElements","loadRevisionData","config","_joinTapes","next","editing","ck-revision-history-root--active","right","addHighlight","ck-suggestion-marker","_update","target","isAtStart","change:isEnabled","isReady","hasAttribute","_processTape","change:numberOfChanges","mapper","currentChangeNumber","abs","ck-suggestion-marker-","addMarker:revision-suggestion:deletion","compare","ck-revision-history-root-remove","_step","delete","getDomRoot","merge","toViewElement","_changeIdToChange","startsWith","isAdded","isSuggestion","_removeUnsupportedChanges","type","RevisionViewer","ck-revision-history-root-add","left","push","_setChanges","distance","getLaterVisibleRevision","high","uiElement","ck-editor__editable__overlay","addRoot","getRoot","markerRange","-new","_markMismatchedRemovedTags","concat","attributesAfter","top","clear","setAttribute","vid_start","createRevision","conversion","revision","_cleanUp","removeClass","level","isOnRoot","authors","editor","element","getRevision","attributesBefore","_threeWayMerge","end","diffData","stop","reconvertMarker","detachRoot","createUIElement","getAttribute","userId","editingDowncast","changes","offsetSize","removeAttribute","roots","pairId","nextSibling","_makeTape","newRevisionId","hasClass","view","isCollapsed","ck-suggestion-marker-split","all","_getChangeFromId","ck-revision-history-root-","observeMarkers","removeMarker:revision","parent","ck-suggestion-marker--active","revision-comment:","add","8060560VhbzzW","ck-suggestion-preview-marker","createRange","_getRevisionsRange","_sortAndFilterDiffChanges","data","revision-viewer","markersEnd","isContent","downcastDispatcher","isAddSuggestion","sort","markerToData","refresh","wrap","9454550jyrRMr","from","34718BPuUlh","3110200zKwsLr","softBreak","length","RevisionsRepository","_balloon","includes","_initInteractions","upcast","updatePosition","getChild","getRevisionDocumentData","pluginName","isBlock","getRevisionRootsAttributes","elementToAttribute","change:activeChange","domConverter"];return(pe=function(){return t})()}class ve extends et.Command{constructor(t){const e=he;super(t);const i=t[e(431)][e(586)](fe);this[e(343)]=!1,this[e(628)](i,e(351),()=>this[e(561)]()),this[e(628)](i,e(461),()=>this[e(561)]())}[he(354)](){const t=he,e=this[t(513)],i=e[t(431)][t(586)](fe),s=i[t(462)]?i[t(650)][t(534)]:null;e[t(450)][t(586)](t(398))[t(346)](s)}[he(561)](){const t=he,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(513)][t(431)][t(586)](fe),r=n&&s[t(490)](n[t(534)]);this[t(411)]=e&&i&&Boolean(r)}}class ge extends et.Command{[he(473)];constructor(t,{direction:e}){const i=he;super(t);const s=t[i(431)][i(586)](fe);this[i(343)]=!1,this[i(473)]=i(638)===e?1:-1,this[i(628)](s,i(351),()=>this[i(561)]()),this[i(628)](s,i(461),()=>this[i(561)]()),this[i(628)](s,i(581),()=>this[i(561)]())}[he(354)](){const e=he,i=this[e(513)],s=i[e(431)][e(586)](fe),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(594)]=n?s[e(650)][e(527)][e(586)](r+this[e(473)]):s[e(650)][e(527)][e(623)],s[e(594)][e(553)][e(511)])o=i[e(453)][e(536)][e(475)](s[e(594)][e(340)]);else{const t=i[e(401)][e(434)][e(586)](e(611)+s[e(594)].id);o=(0,it.getMarkerDomElement)(i[e(453)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[he(561)](){const t=he,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(513)][t(431)][t(586)](fe);this[t(411)]=!!(r&&n&&s)&&(!e||(1===this[t(473)]?i<s-1:i>0))}}var ye=i(522),ke={attributes:{"data-cke":!0}};ke.setAttributes=Ft(),ke.insert=Et().bind(null,"head"),ke.domAPI=Vt(),ke.insertStyleElement=Lt();Rt()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(t,e){const i=_e();return(be=function(t,e){return i[t-=234]})(t,e)}!function(t){const e=be,i=t();for(;;)try{if(770356===-parseInt(e(268))/1*(parseInt(e(254))/2)+parseInt(e(248))/3+-parseInt(e(265))/4+-parseInt(e(236))/5*(-parseInt(e(262))/6)+-parseInt(e(257))/7*(-parseInt(e(252))/8)+parseInt(e(258))/9+parseInt(e(275))/10*(parseInt(e(264))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_e);class we extends Nt.View{constructor(t){const e=be;super(t);const i=this[e(239)],s=new Nt.ButtonView(t),n=new Nt.ButtonView(t);this[e(241)](e(243),!1),this[e(241)](e(242),!1),this[e(241)](e(259),0),this[e(241)](e(253),0),this[e(241)](e(234),!1),this[e(241)](e(267),!1),this[e(237)](e(261)).to(this,e(242),this,e(253),(t,e)=>t&&e>0),this[e(237)](e(273)).to(this,e(242),this,e(259),this,e(253),this,e(243),(i,s,n,r)=>{const o=e;if(!i)return dt(t,o(272));if(!n)return dt(t,o(250));const a=dt(t,o(274),n);return r?dt(t,o(269),[s+1,n]):a}),s[e(241)]({label:dt(t,e(276)),tooltip:!0,icon:xt.IconChevronUp}),n[e(241)]({label:dt(t,e(245)),tooltip:!0,icon:xt.IconChevronDown}),s[e(237)](e(235)).to(this,e(267)),n[e(237)](e(235)).to(this,e(234)),s.on(e(263),()=>this[e(260)](e(263),e(266))),n.on(e(263),()=>this[e(260)](e(263),e(249))),this[e(246)]({tag:e(271),attributes:{class:["ck",e(244),e(238)]},children:[{tag:e(256),attributes:{class:[e(251)]},children:[{tag:e(256),attributes:{class:[e(255),i.if(e(261),e(247),t=>!t)]},children:[{text:i.to(e(243),i=>i?dt(t,e(270))+": ":dt(t,e(277))+": ")}]},{text:i.to(e(273))}]},new Nt.ToolbarSeparatorView,{tag:e(271),attributes:{class:[e(240)]},children:[s,n]}]})}}function _e(){const t=["3164AkXQKi","6948738jCOZwU","currentChangeNumber","fire","_isStatusLabelVisible","809418QblGVA","execute","84128gCLoZn","5086680jRmAtY","backward","isBackwardNavigationEnabled","5546GsZfBl","X_OF_Y_CHANGES","EDIT_X_OF_Y_REVISIONS","div","Loading...","_statusText","NUMBER_OF_CHANGES","530BqVxsG","Show previous change","Total","isForwardNavigationEnabled","isEnabled","5mrtyOX","bind","ck-revision-history-ui__changes-navigation","bindTemplate","ck-revision-history-ui__changes-navigation__navigation","set","isReady","isNavigationMode","ck-revision-history-ui","Show next change","setTemplate","ck-hidden","2923641miFVoq","forward","No changes","ck-revision-history-ui__changes-navigation__wrapper","2832VAYmTz","numberOfChanges","146oCilIN","ck-revision-history-ui__changes-navigation__label","span"];return(_e=function(){return t})()}var Ie=i(418),Se={attributes:{"data-cke":!0}};Se.setAttributes=Ft(),Se.insert=Et().bind(null,"head"),Se.domAPI=Vt(),Se.insertStyleElement=Lt();Rt()(Ie.A,Se);Ie.A&&Ie.A.locals&&Ie.A.locals;const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=377]})(t,e)}function xe(){const t=["98RfyEGp","83541ExwJxQ","change","RevisionViewerLoadingOverlay","80kZjkLq","editor","2897180FrHqlB","hide","addClass","ck-editor__editable__loading-overlay","isPremiumPlugin","removeClass","show","pluginName","editing","7AaTfLl","roots","document","view","1172392brkarV","929060tEeFlz","99udRYsu","9420492zVrABZ","1172568KqAFes","isOfficialPlugin","3455936EcBKwq"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(830413===-parseInt(e(384))/1+-parseInt(e(391))/2*(parseInt(e(392))/3)+parseInt(e(385))/4+parseInt(e(397))/5+-parseInt(e(387))/6*(parseInt(e(380))/7)+parseInt(e(388))/8*(parseInt(e(386))/9)+-parseInt(e(395))/10*(-parseInt(e(390))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);const Ne=Oe(400);class Ae extends et.Plugin{static get[Oe(378)](){return Oe(394)}static get[Oe(389)](){return!0}static get[Oe(401)](){return!0}[Oe(377)](){const t=Oe,e=this[t(396)][t(379)][t(383)];e[t(393)](i=>{const s=t;for(const t of e[s(382)][s(381)])i[s(399)](Ne,t)})}[Oe(398)](){const t=Oe,e=this[t(396)][t(379)][t(383)];e[t(393)](i=>{const s=t;for(const t of e[s(382)][s(381)])i[s(402)](Ne,t)})}}const Re=Me;function Me(t,e){const i=Ve();return(Me=function(t,e){return i[t-=290]})(t,e)}function Ve(){const t=["883880SbKzYv","hide","currentChangeNumber","exitToEditing","init","add","showPreviousChange","isEnabled","isBackwardNavigationEnabled","Restore this revision","forward","100GsJfcb","restoreRevision","changesNavigation","pluginName","commands","config","2oLfWUV","plugins","requires","revisionHistory","editor","get","5089864ONWYNr","componentFactory","change:isReady","2678036VlxLUw","show","showNextChange","set","isNavigationMode","2259729AYXhDm","isForwardNavigationEnabled","numberOfChanges","130eTnTRg","RevisionViewerUI","listenTo","Back to editing","isOfficialPlugin","92652zPvcmm","isReady","bind","execute","823889luqbRU","isPremiumPlugin","ck-revision-history-ui__back-to-editing","513756uwRWNG","closeRevisionViewerCallback","7CYqgkj"];return(Ve=function(){return t})()}!function(t){const e=Me,i=t();for(;;)try{if(484762===parseInt(e(295))/1*(parseInt(e(312))/2)+-parseInt(e(292))/3+parseInt(e(321))/4+-parseInt(e(306))/5*(parseInt(e(334))/6)+-parseInt(e(294))/7*(-parseInt(e(318))/8)+-parseInt(e(326))/9+parseInt(e(329))/10*(-parseInt(e(338))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends et.Plugin{static get[Re(309)](){return Re(330)}static get[Re(333)](){return!0}static get[Re(290)](){return!0}static get[Re(314)](){return[fe,Ae]}[Re(299)](){const t=Re,e=this[t(316)],i=e[t(313)][t(317)](fe),s=e[t(313)][t(317)](Ae);e.ui[t(319)][t(300)](t(298),i=>{const s=t,n=new Nt.ButtonView(i);return n[s(324)]({label:dt(i,s(332)),icon:xt.IconUndo,withText:!0,tooltip:!0,class:s(291)}),this[s(331)](n,s(337),()=>{const t=s;e[t(311)][t(317)](t(315))[t(293)]()}),n}),e.ui[t(319)][t(300)](t(307),i=>{const s=t,n=new Nt.ButtonView(i);return n[s(324)]({label:dt(i,s(304)),withText:!0,tooltip:!0}),n[s(336)](s(302)).to(e[s(310)][s(317)](s(307))),this[s(331)](n,s(337),()=>e[s(337)](s(307))),n}),e.ui[t(319)][t(300)](t(308),s=>{const n=t,r=new we(s),o=e[n(310)][n(317)](n(301)),a=e[n(310)][n(317)](n(323));return r[n(336)](n(303)).to(o,n(302)),r[n(336)](n(327)).to(a,n(302)),r[n(336)](n(335),n(297),n(328),n(325)).to(i),this[n(331)](r,n(337),(t,i)=>{const s=n;e[s(337)](s(305)===i?s(323):s(301))}),r}),s[t(322)](),i.on(t(320),(e,i,n)=>{const r=t;n?s[r(296)]():s[r(322)]()})}}var Ee=i(223),Ce={attributes:{"data-cke":!0}};Ce.setAttributes=Ft(),Ce.insert=Et().bind(null,"head"),Ce.domAPI=Vt(),Ce.insertStyleElement=Lt();Rt()(Ee.A,Ce);Ee.A&&Ee.A.locals&&Ee.A.locals;const Fe=je;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=104]})(t,e)}function Le(){const t=["_resizeObserver","_tooltipString","ck-revision-history-sidebar__revision-name","_updateTooltipText","input","2109060swNdhQ","value","listenTo","13545880PLSAjr","bindTemplate","6399827aXCXtm","5984735LwshKO","destroy","20KjLSOq","Revision name","placeholder","scrollWidth","163634aSpNOX","ck-tooltip_multi-line","set","Enter the revision name","extendTemplate","element","span","render","fieldView","777963AlKHOf","clientWidth","1915204UWfhzn"];return(Le=function(){return t})()}!function(t){const e=je,i=t();for(;;)try{if(793430===parseInt(e(126))/1+parseInt(e(108))/2+parseInt(e(106))/3*(parseInt(e(122))/4)+-parseInt(e(120))/5+parseInt(e(114))/6+parseInt(e(119))/7+-parseInt(e(117))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends Nt.LabeledFieldView{[Fe(109)]=null;constructor(t,e){const i=Fe;super(t,e);const s=this[i(118)];this[i(128)]({label:dt(t,i(123)),_tooltipString:""}),this[i(105)][i(124)]=dt(t,i(129)),this[i(130)]({tag:i(132),attributes:{class:[i(111)],"data-cke-tooltip-text":s.to(i(110)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(127)}})}[Fe(104)](){const e=Fe;super[e(104)](),this[e(109)]=new t.ResizeObserver(this[e(105)][e(131)],()=>this[e(112)]()),this[e(116)](this[e(105)],e(113),()=>this[e(112)]())}[Fe(121)](){const t=Fe;super[t(121)](),this[t(109)]&&this[t(109)][t(121)]()}[Fe(112)](){const t=Fe,e=this[t(105)][t(131)];this[t(110)]=e[t(125)]>e[t(107)]&&e[t(115)]||""}}var ze=i(443),We={attributes:{"data-cke":!0}};We.setAttributes=Ft(),We.insert=Et().bind(null,"head"),We.domAPI=Vt(),We.insertStyleElement=Lt();Rt()(ze.A,We);ze.A&&ze.A.locals&&ze.A.locals;function Ze(){const t=["ck-revision-history-sidebar__revision-author_creator","name","Revision creator","Revision author","465516xfKLKI","660232XdZPZK","38753xnkkQS","setTemplate","7OosMvZ","set","0 0 11 10","ck-revision-history-sidebar__revision-author","2155960AXHpkV","772878QzNnzd","256647PSqXse","75rxeWza","3xqthVf","20212tzGasM","span","310YNhLVp","ck-revision-history-sidebar__revision-author__name","push"];return(Ze=function(){return t})()}function Ue(t,e){const i=Ze();return(Ue=function(t,e){return i[t-=175]})(t,e)}!function(t){const e=Ue,i=t();for(;;)try{if(191555===parseInt(e(186))/1+-parseInt(e(177))/2*(parseInt(e(188))/3)+-parseInt(e(189))/4*(parseInt(e(187))/5)+parseInt(e(185))/6*(parseInt(e(180))/7)+parseInt(e(184))/8+parseInt(e(176))/9+parseInt(e(191))/10*(-parseInt(e(178))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);class He extends Nt.View{constructor(t,e,i){const s=Ue;super(t);const n=new Nt.IconView;n[s(181)]({content:xt.IconUser,viewBox:s(182)});const r=["ck",s(183)];i&&r[s(193)](s(194));const o=[{tag:s(190),attributes:{class:["ck",s(192)],title:dt(t,s(i?196:175))},children:[n,e[s(195)]]}];this[s(179)]({tag:"li",attributes:{class:r},children:o})}}function qe(){var t=["long","2631270uOHLmG","9116343KCBnzX","numeric","15ukxuJY","1289348frNTrW","toLocaleDateString","124134Yygrzj","2042860rXYxAF","443434iBbSOX","toLocaleTimeString","8KasazN","1698382VLbJSC"];return(qe=function(){return t})()}function $e(t,e){var i=qe();return($e=function(t,e){return i[t-=437]})(t,e)}!function(t){for(var e=$e,i=t();;)try{if(275832===parseInt(e(449))/1+parseInt(e(447))/2*(parseInt(e(444))/3)+parseInt(e(445))/4+parseInt(e(448))/5+-parseInt(e(441))/6+-parseInt(e(439))/7*(-parseInt(e(438))/8)+-parseInt(e(442))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var Be=i(433),Ye={attributes:{"data-cke":!0}};Ye.setAttributes=Ft(),Ye.insert=Et().bind(null,"head"),Ye.domAPI=Vt(),Ye.insertStyleElement=Lt();Rt()(Be.A,Ye);Be.A&&Be.A.locals&&Be.A.locals;function Ge(){const t=["locale","name","change:isActionsDropdownOpen","1047357BGCjQu","children","34586SvbSDY","56HOmZVA","map","menu","buttonView","source","bindTemplate","621530tetWxF","7168192aOxJBT","items","isActionsDropdownOpen","button","listView","listenTo","menuitem","6BNAzgs","class","Show more items","extendTemplate","add","panelPosition","stopPropagation","5132799KDuAiQ","bind","Name this revision","execute","set","model","isReady","function","26537730jnblOJ","isEnabled","_action","find","ck-on","31qUQBtn","isOpen","Compare against selected","1682705KIzRot","ck-revision-history-sidebar__revision__actions","isVisible","action","first","Restore this revision"];return(Ge=function(){return t})()}function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=243]})(t,e)}!function(t){const e=Je,i=t();for(;;)try{if(996011===-parseInt(e(255))/1*(-parseInt(e(269))/2)+parseInt(e(291))/3+parseInt(e(277))/4+-parseInt(e(258))/5*(-parseInt(e(284))/6)+parseInt(e(276))/7+parseInt(e(270))/8*(-parseInt(e(267))/9)+-parseInt(e(250))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);var Ke=i(898),Xe={attributes:{"data-cke":!0}};Xe.setAttributes=Ft(),Xe.insert=Et().bind(null,"head"),Xe.domAPI=Vt(),Xe.insertStyleElement=Lt();Rt()(Ke.A,Xe);Ke.A&&Ke.A.locals&&Ke.A.locals;const Qe=ti;function ti(t,e){const i=ei();return(ti=function(t,e){return i[t-=465]})(t,e)}function ei(){const t=["190450fwcTXq","unhighlight","closest","ck-revision-history-sidebar__revision_highlighted","bindTemplate","extendTemplate","filter","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","_revision","listenTo","892629tLhHMa","uiLanguage","unshift","ck-revision-history-sidebar__revision__date","set","586570zQfWIg","313160dVTUWI","12uoksfi","2101lmtrsF","fire","ck-disabled","element",".ck-confirm-view","isSelected","isReady","highlight","revisionActionsView","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__revision__controls-wrapper","_requireRevisionName","ck-revision-history-sidebar__actions_dropdown_open","fieldView","from","setName","_createdAtFormatted","setTemplate","851351EHwqFW","div","deselect","map","isHighlighted","ck-revision-history-sidebar__revision_selected","ck-reset","change","52HOJJdK","revisionNameView","createdAt","bind","88maBwUf","name","3105298QaIovn","span","isConfirm","220","isActionsDropdownOpen","select","creator","ck-revision-history-sidebar__revision-wrapper","authors","ck-revision-history-sidebar__revision","isEnabled","1607199ODqiTm","value","srcElement","length","render"];return(ei=function(){return t})()}!function(t){const e=ti,i=t();for(;;)try{if(793223===-parseInt(e(466))/1+-parseInt(e(511))/2+-parseInt(e(491))/3+-parseInt(e(474))/4*(-parseInt(e(512))/5)+-parseInt(e(513))/6*(parseInt(e(480))/7)+-parseInt(e(478))/8*(parseInt(e(506))/9)+-parseInt(e(496))/10*(-parseInt(e(514))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ei);class ii extends((0,it.ConfirmMixin)(Nt.View)){id;[Qe(475)];[Qe(522)];[Qe(504)];[Qe(525)];constructor(e,i,s,n){const r=Qe;super(e);const o=this[r(500)],a=function(t,e){const i=r,s=Array[i(528)](e[i(488)])[i(502)](t=>t!=e[i(486)]);return e[i(486)]&&s[i(508)](e[i(486)]),s[i(469)](s=>new He(t,s,s==e[i(486)]))}(e,i);this.id=i.id,this[r(504)]=i,this[r(525)]=n,this[r(477)](r(479),r(476)).to(i),this[r(477)](r(530)).to(this,r(476),t=>{return i=e[r(507)],(s=t)[(n=$e)(446)](i,{month:n(440),day:n(443)})+", "+s[n(437)](i,{hour:n(443),minute:n(443)});var i,s,n}),this[r(510)](r(519),!1),this[r(510)](r(470),!1),this[r(510)](r(484),!1),this[r(510)](r(520),!1),this[r(510)](r(490),!1),this[r(475)]=new Pe(e,Nt.createLabeledInputText),this[r(475)][r(527)][r(501)]({attributes:{maxlength:r(483)}}),this[r(475)][r(527)][r(477)](r(492)).to(this,r(479),t=>t||this[r(530)]),this[r(475)][r(477)](r(490)).to(this,r(519),this,r(490),(t,e)=>t&&e),this[r(522)]=s&&s[r(494)]?function(e,i){const s=Je,n=e[s(275)],r=e[s(264)],o=(0,Nt.createDropdown)(r);o[s(289)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Je,s=t[i(264)],n={"Compare against selected":dt(s,i(257)),"Name this revision":dt(s,i(244)),"Restore this revision":dt(s,i(263))};return e[i(271)](t=>{const e=i,s=n[t[e(265)]];return s&&s!==t[e(265)]&&(t[e(265)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(280),model:new Nt.UIModel({label:t[n(265)],class:t[n(285)],withText:!0,role:n(283),_action:t[n(261)]})};i[n(247)][n(243)](n(251)).to(e,n(279),i=>n(249)!=typeof t[n(251)]||!i||t[n(251)](e)),o[n(288)](i)}return o}(e,i);return e[s(243)](s(279)).to(o,s(256)),o[s(273)][s(246)]({label:dt(r,s(286)),tooltip:!0,tooltipPosition:"sw",icon:xt.IconThreeVerticalDots}),o[s(287)]({attributes:{class:[s(259),n.if(s(279),s(254))]},on:{click:n.to(t=>t[s(290)]())}}),o.on(s(245),t=>{const i=s;e[i(248)]&&i(249)==typeof t[i(274)][i(252)]&&t[i(274)][i(252)](e)}),(0,Nt.addListToDropdown)(o,a,{role:s(272)}),o[s(282)](e,s(266),(t,n,r)=>{const a=s;if(r)for(const t of o[a(281)][a(278)]){const s=t[a(268)][a(262)],n=i[a(253)](t=>t[a(261)]===s[a(252)])[a(260)];t[a(260)]=void 0===n||n(e)}}),o}(this,s):"",this[r(522)]&&this[r(522)][r(477)](r(490)).to(this),this[r(465)]({tag:r(467),attributes:{class:["ck",r(472),r(487),o.if(r(482),r(503))]},children:[{tag:r(467),attributes:{class:["ck",r(472),r(489),o.if(r(490),r(516),t=>!t),o.if(r(519),r(471)),o.if(r(470),r(499)),o.if(r(484),r(526))]},children:[this[r(475)],{tag:r(481),attributes:{class:["ck",r(509)]},children:[{text:o.to(r(530))}]},{tag:r(467),attributes:{class:["ck",r(524)]},children:[{tag:"ul",attributes:{class:["ck",r(523)]},children:a}]},this[r(522)]],on:{click:o.to(t=>{const e=r;t[e(493)][e(498)](e(518))||this[e(520)]&&this[e(490)]&&this[e(515)](e(485),{id:this.id})})}}]})}[Qe(495)](){const t=Qe;super[t(495)]();const e=this[t(475)][t(527)][t(517)];this[t(505)](e,t(473),()=>{const i=t;this[i(525)]&&!e[i(492)]||this[i(515)](i(529),{id:this.id,name:e[i(492)]}),e[i(492)]||(e[i(492)]=this[i(479)]?this[i(479)]:this[i(530)])})}[Qe(485)](){this[Qe(519)]=!0}[Qe(468)](){this[Qe(519)]=!1}[Qe(521)](){this[Qe(470)]=!0}[Qe(497)](){this[Qe(470)]=!1}}class si extends Error{}class ni extends si{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ri extends si{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class oi extends si{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ai extends si{}class ci extends si{constructor(t){super(`Invalid unit ${t}`)}}class ui extends si{}class li extends si{constructor(){super("Zone is an abstract class")}}const hi="numeric",di="short",fi="long",mi={year:hi,month:hi,day:hi},pi={year:hi,month:di,day:hi},vi={year:hi,month:di,day:hi,weekday:di},gi={year:hi,month:fi,day:hi},yi={year:hi,month:fi,day:hi,weekday:fi},ki={hour:hi,minute:hi},bi={hour:hi,minute:hi,second:hi},wi={hour:hi,minute:hi,second:hi,timeZoneName:di},_i={hour:hi,minute:hi,second:hi,timeZoneName:fi},Ii={hour:hi,minute:hi,hourCycle:"h23"},Si={hour:hi,minute:hi,second:hi,hourCycle:"h23"},Oi={hour:hi,minute:hi,second:hi,hourCycle:"h23",timeZoneName:di},Ti={hour:hi,minute:hi,second:hi,hourCycle:"h23",timeZoneName:fi},xi={year:hi,month:hi,day:hi,hour:hi,minute:hi},Ni={year:hi,month:hi,day:hi,hour:hi,minute:hi,second:hi},Ai={year:hi,month:di,day:hi,hour:hi,minute:hi},Ri={year:hi,month:di,day:hi,hour:hi,minute:hi,second:hi},Mi={year:hi,month:di,day:hi,weekday:di,hour:hi,minute:hi},Vi={year:hi,month:fi,day:hi,hour:hi,minute:hi,timeZoneName:di},Di={year:hi,month:fi,day:hi,hour:hi,minute:hi,second:hi,timeZoneName:di},Ei={year:hi,month:fi,day:hi,weekday:fi,hour:hi,minute:hi,timeZoneName:fi},Ci={year:hi,month:fi,day:hi,weekday:fi,hour:hi,minute:hi,second:hi,timeZoneName:fi};class Fi{get type(){throw new li}get name(){throw new li}get ianaName(){return this.name}get isUniversal(){throw new li}offsetName(t,e){throw new li}formatOffset(t,e){throw new li}offset(t){throw new li}equals(t){throw new li}get isValid(){throw new li}}let ji=null;class Li extends Fi{static get instance(){return null===ji&&(ji=new Li),ji}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return rn(t,e,i)}formatOffset(t,e){return un(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Pi=new Map;const zi={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Wi=new Map;class Zi extends Fi{static create(t){let e=Wi.get(t);return void 0===e&&Wi.set(t,e=new Zi(t)),e}static resetCache(){Wi.clear(),Pi.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=Zi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return rn(t,e,i,this.name)}formatOffset(t,e){return un(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=Pi.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"}),Pi.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=zi[e];"era"===e?s[r]=n:js(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(tn({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Ui={};const Hi=new Map;function qi(t,e={}){const i=JSON.stringify([t,e]);let s=Hi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Hi.set(i,s)),s}const $i=new Map;const Bi=new Map;let Yi=null;const Gi=new Map;function Ji(t){let e=Gi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Gi.set(t,e)),e}const Ki=new Map;function Xi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Qi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=$i.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),$i.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return $s(this.floor?Math.floor(t):Js(t,3),this.padTo)}}class ts{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Zi.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=qi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class es{constructor(t,e,i){this.opts={style:"long",...i},!e&&zs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Bi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Bi.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const is={firstDay:1,minimalDays:4,weekend:[6,7]};class ss{static fromOpts(t){return ss.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||ws.defaultLocale,o=r||(n?"en-US":Yi||(Yi=(new Intl.DateTimeFormat).resolvedOptions().locale,Yi)),a=e||ws.defaultNumberingSystem,c=i||ws.defaultOutputCalendar,u=Hs(s)||ws.defaultWeekSettings;return new ss(o,a,c,u,r)}static resetCache(){Yi=null,Hi.clear(),$i.clear(),Bi.clear(),Gi.clear(),Ki.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return ss.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=qi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=qi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===Ji(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?ss.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Hs(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 Xi(this,t,mn,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=yo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Xi(this,t,yn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=yo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Xi(this,void 0,()=>kn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[yo.utc(2016,11,13,9),yo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Xi(this,t,In,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[yo.utc(-40,1,1),yo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Qi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new ts(t,this.intl,e)}relFormatter(t={}){return new es(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Ui[i];return s||(s=new Intl.ListFormat(t,e),Ui[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||Ji(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Ws()?function(t){let e=Ki.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...is,...e}),Ki.set(t,e)}return e}(this.locale):is}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 ns=null;class rs extends Fi{static get utcInstance(){return null===ns&&(ns=new rs(0)),ns}static instance(t){return 0===t?rs.utcInstance:new rs(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new rs(on(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${un(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${un(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return un(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 os extends Fi{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 as(t,e){if(js(t)||null===t)return e;if(t instanceof Fi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Li.instance:"utc"===i||"gmt"===i?rs.utcInstance:rs.parseSpecifier(i)||Zi.create(t)}return Ls(t)?rs.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new os(t)}const cs={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},us={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]},ls=cs.hanidec.replace(/[\[|\]]/g,"").split("");const hs=new Map;function ds({numberingSystem:t},e=""){const i=t||"latn";let s=hs.get(i);void 0===s&&(s=new Map,hs.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${cs[i]}${e}`),s.set(e,n)),n}let fs,ms=()=>Date.now(),ps="system",vs=null,gs=null,ys=null,ks=60,bs=null;class ws{static get now(){return ms}static set now(t){ms=t}static set defaultZone(t){ps=t}static get defaultZone(){return as(ps,Li.instance)}static get defaultLocale(){return vs}static set defaultLocale(t){vs=t}static get defaultNumberingSystem(){return gs}static set defaultNumberingSystem(t){gs=t}static get defaultOutputCalendar(){return ys}static set defaultOutputCalendar(t){ys=t}static get defaultWeekSettings(){return bs}static set defaultWeekSettings(t){bs=Hs(t)}static get twoDigitCutoffYear(){return ks}static set twoDigitCutoffYear(t){ks=t%100}static get throwOnInvalid(){return fs}static set throwOnInvalid(t){fs=t}static resetCaches(){ss.resetCache(),Zi.resetCache(),yo.resetCache(),hs.clear()}}class _s{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Is=[0,31,59,90,120,151,181,212,243,273,304,334],Ss=[0,31,60,91,121,152,182,213,244,274,305,335];function Os(t,e){return new _s("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function Ts(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function xs(t,e,i){return i+(Ks(t)?Ss:Is)[e-1]}function Ns(t,e){const i=Ks(t)?Ss:Is,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function As(t,e){return(t-e+7)%7+1}function Rs(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=xs(s,n,r),a=As(Ts(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=sn(c,e,i)):u>sn(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...ln(t)}}function Ms(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=As(Ts(s,1,e),i),a=Xs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Xs(c)):u>a?(c=s+1,u-=Xs(s)):c=s;const{month:l,day:h}=Ns(c,u);return{year:c,month:l,day:h,...ln(t)}}function Vs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:xs(e,i,s),...ln(t)}}function Ds(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Ns(e,i);return{year:e,month:s,day:n,...ln(t)}}function Es(t,e){if(!js(t.localWeekday)||!js(t.localWeekNumber)||!js(t.localWeekYear)){if(!js(t.weekday)||!js(t.weekNumber)||!js(t.weekYear))throw new ai("Cannot mix locale-based week fields with ISO-based week fields");return js(t.localWeekday)||(t.weekday=t.localWeekday),js(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),js(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 Cs(t){const e=Ps(t.year),i=qs(t.month,1,12),s=qs(t.day,1,Qs(t.year,t.month));return e?i?!s&&Os("day",t.day):Os("month",t.month):Os("year",t.year)}function Fs(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=qs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=qs(i,0,59),a=qs(s,0,59),c=qs(n,0,999);return r?o?a?!c&&Os("millisecond",n):Os("second",s):Os("minute",i):Os("hour",e)}function js(t){return void 0===t}function Ls(t){return"number"==typeof t}function Ps(t){return"number"==typeof t&&t%1==0}function zs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Ws(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Zs(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Us(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Hs(t){if(null==t)return null;if("object"!=typeof t)throw new ui("Week settings must be an object");if(!qs(t.firstDay,1,7)||!qs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!qs(t,1,7)))throw new ui("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function qs(t,e,i){return Ps(t)&&t>=e&&t<=i}function $s(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Bs(t){return js(t)||null===t||""===t?void 0:parseInt(t,10)}function Ys(t){return js(t)||null===t||""===t?void 0:parseFloat(t)}function Gs(t){if(!js(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function Js(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function Ks(t){return t%4==0&&(t%100!=0||t%400==0)}function Xs(t){return Ks(t)?366:365}function Qs(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Ks(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function tn(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 en(t,e,i){return-As(Ts(t,1,e),i)+e-1}function sn(t,e=4,i=1){const s=en(t,e,i),n=en(t+1,e,i);return(Xs(t)-s+n)/7}function nn(t){return t>99?t:t>ws.twoDigitCutoffYear?1900+t:2e3+t}function rn(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function on(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function an(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ui(`Invalid unit value ${t}`);return e}function cn(t,e){const i={};for(const s in t)if(Us(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=an(n)}return i}function un(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${$s(i,2)}:${$s(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${$s(i,2)}${$s(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function ln(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const hn=["January","February","March","April","May","June","July","August","September","October","November","December"],dn=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],fn=["J","F","M","A","M","J","J","A","S","O","N","D"];function mn(t){switch(t){case"narrow":return[...fn];case"short":return[...dn];case"long":return[...hn];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 pn=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],vn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],gn=["M","T","W","T","F","S","S"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const kn=["AM","PM"],bn=["Before Christ","Anno Domini"],wn=["BC","AD"],_n=["B","A"];function In(t){switch(t){case"narrow":return[..._n];case"short":return[...wn];case"long":return[...bn];default:return null}}function Sn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const On={D:mi,DD:pi,DDD:gi,DDDD:yi,t:ki,tt:bi,ttt:wi,tttt:_i,T:Ii,TT:Si,TTT:Oi,TTTT:Ti,f:xi,ff:Ai,fff:Vi,ffff:Ei,F:Ni,FF:Ri,FFF:Di,FFFF:Ci};class Tn{static create(t,e={}){return new Tn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return On[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 $s(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return kn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return mn(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return yn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=Tn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return In(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return Sn(Tn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=Tn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return Sn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const xn=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Nn(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function An(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Rn(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Mn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Bs(e[i+n]);return[s,null,i+n]}}const Vn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Dn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,En=RegExp(`${Dn.source}${`(?:${Vn.source}?(?:\\[(${xn.source})\\])?)?`}`),Cn=RegExp(`(?:T${En.source})?`),Fn=Mn("weekYear","weekNumber","weekDay"),jn=Mn("year","ordinal"),Ln=RegExp(`${Dn.source} ?(?:${Vn.source}|(${xn.source}))?`),Pn=RegExp(`(?: ${Ln.source})?`);function zn(t,e,i){const s=t[e];return js(s)?i:Bs(s)}function Wn(t,e){return[{hours:zn(t,e,0),minutes:zn(t,e+1,0),seconds:zn(t,e+2,0),milliseconds:Gs(t[e+3])},null,e+4]}function Zn(t,e){const i=!t[e]&&!t[e+1],s=on(t[e+1],t[e+2]);return[{},i?null:rs.instance(s),e+3]}function Un(t,e){return[{},t[e]?Zi.create(t[e]):null,e+1]}const Hn=RegExp(`^T?${Dn.source}$`),qn=/^-?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 $n(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Ys(i)),months:d(Ys(s)),weeks:d(Ys(n)),days:d(Ys(r)),hours:d(Ys(o)),minutes:d(Ys(a)),seconds:d(Ys(c),"-0"===c),milliseconds:d(Gs(u),h)}]}const Bn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Yn(t,e,i,s,n,r,o){const a={year:2===e.length?nn(Bs(e)):Bs(e),month:dn.indexOf(i)+1,day:Bs(s),hour:Bs(n),minute:Bs(r)};return o&&(a.second=Bs(o)),t&&(a.weekday=t.length>3?pn.indexOf(t)+1:vn.indexOf(t)+1),a}const Gn=/^(?:(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 Jn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Yn(e,n,s,i,r,o,a);let f;return f=c?Bn[c]:u?0:on(l,h),[d,new rs(f)]}const Kn=/^(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$/,Xn=/^(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$/,Qn=/^(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 tr(t){const[,e,i,s,n,r,o,a]=t;return[Yn(e,n,s,i,r,o,a),rs.utcInstance]}function er(t){const[,e,i,s,n,r,o,a]=t;return[Yn(e,a,i,s,n,r,o),rs.utcInstance]}const ir=Nn(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Cn),sr=Nn(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Cn),nr=Nn(/(\d{4})-?(\d{3})/,Cn),rr=Nn(En),or=An(function(t,e){return[{year:zn(t,e),month:zn(t,e+1,1),day:zn(t,e+2,1)},null,e+3]},Wn,Zn,Un),ar=An(Fn,Wn,Zn,Un),cr=An(jn,Wn,Zn,Un),ur=An(Wn,Zn,Un);const lr=An(Wn);const hr=Nn(/(\d{4})-(\d\d)-(\d\d)/,Pn),dr=Nn(Ln),fr=An(Wn,Zn,Un);const mr="Invalid Duration",pr={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}},vr={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},...pr},gr=365.2425,yr=30.436875,kr={years:{quarters:4,months:12,weeks:52.1775,days:gr,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:yr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...pr},br=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],wr=br.slice(0).reverse();function _r(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Or(s)}function Ir(t,e){let i=e.milliseconds??0;for(const s of wr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function Sr(t,e){const i=Ir(t,e)<0?-1:1;br.reduceRight((s,n)=>{if(js(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),br.reduce((i,s)=>{if(js(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class Or{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?kr:vr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||ss.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return Or.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ui("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Or({values:cn(t,Or.normalizeUnit),loc:ss.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Ls(t))return Or.fromMillis(t);if(Or.isDuration(t))return t;if("object"==typeof t)return Or.fromObject(t);throw new ui(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Rn(t,[qn,$n])}(t);return i?Or.fromObject(i,e):Or.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Rn(t,[Hn,lr])}(t);return i?Or.fromObject(i,e):Or.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ui("need to specify a reason the Duration is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new oi(i);return new Or({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 ci(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?Tn.create(this.loc,i).formatDurationFromString(this,t):mr}toHuman(t={}){if(!this.isValid)return mr;const e=br.map(e=>{const i=this.values[e];return js(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+=Js(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 yo.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?Ir(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Or.fromDurationLike(t),i={};for(const t of br)(Us(e.values,t)||Us(this.values,t))&&(i[t]=e.get(t)+this.get(t));return _r(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=Or.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]=an(t(this.values[i],i));return _r(this,{values:e},!0)}get(t){return this[Or.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return _r(this,{values:{...this.values,...cn(t,Or.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return _r(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Sr(this.matrix,t),_r(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return _r(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>Or.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of br)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Ls(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ls(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return Sr(this.matrix,e),_r(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 _r(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 br)if(!e(this.values[i],t.values[i]))return!1;return!0}}const Tr="Invalid Interval";class xr{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 ui("need to specify a reason the Interval is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new ri(i);return new xr({invalid:i})}static fromDateTimes(t,e){const i=ko(t),s=ko(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?xr.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:xr.invalid("missing or invalid end"):xr.invalid("missing or invalid start")}(i,s);return null==n?new xr({start:i,end:s}):n}static after(t,e){const i=Or.fromDurationLike(e),s=ko(t);return xr.fromDateTimes(s,s.plus(i))}static before(t,e){const i=Or.fromDurationLike(e),s=ko(t);return xr.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=yo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=yo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return xr.fromDateTimes(t,r);if(n){const i=Or.fromISO(s,e);if(i.isValid)return xr.after(t,i)}else if(o){const t=Or.fromISO(i,e);if(t.isValid)return xr.before(r,t)}}return xr.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?xr.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(ko).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(xr.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=Or.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(xr.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:xr.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 xr.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(xr.fromDateTimes(e,t.time)),e=null);return xr.merge(s)}difference(...t){return xr.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Tr}[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=mi,e={}){return this.isValid?Tn.create(this.s.loc.clone(e),t).formatInterval(this):Tr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Tr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Tr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Tr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Tr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Or.invalid(this.invalidReason)}mapEndpoints(t){return xr.fromDateTimes(t(this.s),t(this.e))}}class Nr{static hasDST(t=ws.defaultZone){const e=yo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Zi.isValidZone(t)}static normalizeZone(t){return as(t,ws.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||ss.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||ss.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||ss.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||ss.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||ss.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ss.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return ss.create(e,null,"gregory").eras(t)}static features(){return{relative:zs(),localeWeek:Ws()}}}function Ar(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(Or.fromMillis(s).as("days"))}function Rr(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Ar(t,e);return(i-i%7)/7}],["days",Ar]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=Or.fromObject(r,s);return u.length>0?Or.fromMillis(c,s).shiftTo(...u).plus(l):l}Object.defineProperty(Rr,"name",{value:"default",configurable:!0});function Mr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(cs.hanidec))e+=ls.indexOf(t[i]);else for(const t in us){const[i,n]=us[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const Vr=`[ ${String.fromCharCode(160)}]`,Dr=new RegExp(Vr,"g");function Er(t){return t.replace(/\./g,"\\.?").replace(Dr,Vr)}function Cr(t){return t.replace(/\./g,"").replace(Dr," ").toLowerCase()}function Fr(t,e){return null===t?null:{regex:RegExp(t.map(Er).join("|")),deser:([i])=>t.findIndex(t=>Cr(i)===Cr(t))+e}}function jr(t,e){return{regex:t,deser:([,t,e])=>on(t,e),groups:e}}function Lr(t){return{regex:t,deser:([t])=>t}}const Pr={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 zr=null;function Wr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Hr(Tn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Zr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Wr(Tn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=ds(e),s=ds(e,"{2}"),n=ds(e,"{3}"),r=ds(e,"{4}"),o=ds(e,"{6}"),a=ds(e,"{1,2}"),c=ds(e,"{1,3}"),u=ds(e,"{1,6}"),l=ds(e,"{1,9}"),h=ds(e,"{2,4}"),d=ds(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 Fr(e.eras("short"),0);case"GG":return Fr(e.eras("long"),0);case"y":return Mr(u);case"yy":case"kk":return Mr(h,nn);case"yyyy":case"kkkk":return Mr(r);case"yyyyy":return Mr(d);case"yyyyyy":return Mr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Mr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Mr(s);case"MMM":return Fr(e.months("short",!0),1);case"MMMM":return Fr(e.months("long",!0),1);case"LLL":return Fr(e.months("short",!1),1);case"LLLL":return Fr(e.months("long",!1),1);case"o":case"S":return Mr(c);case"ooo":case"SSS":return Mr(n);case"u":return Lr(l);case"uu":return Lr(a);case"uuu":case"E":case"c":return Mr(i);case"a":return Fr(e.meridiems(),0);case"EEE":return Fr(e.weekdays("short",!1),1);case"EEEE":return Fr(e.weekdays("long",!1),1);case"ccc":return Fr(e.weekdays("short",!0),1);case"cccc":return Fr(e.weekdays("long",!0),1);case"Z":case"ZZ":return jr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return jr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Lr(/[a-z_+-/]{1,256}?/i);case" ":return Lr(/[^\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]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Us(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return js(t.z)||(i=Zi.create(t.z)),js(t.Z)||(i||(i=new rs(t.Z)),e=t.Z),js(t.q)||(t.M=3*(t.q-1)+1),js(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),js(t.u)||(t.S=Gs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Us(i,"a")&&Us(i,"H"))throw new ai("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Ur(t,e,i){return new Zr(t,i).explainFromTokens(e)}function Hr(t,e){if(!t)return null;const i=Tn.create(e,t).dtFormatter((zr||(zr=yo.fromMillis(1555555555555)),zr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Pr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const qr="Invalid DateTime",$r=864e13;function Br(t){return new _s("unsupported zone",`the zone "${t.name}" is not supported`)}function Yr(t){return null===t.weekData&&(t.weekData=Rs(t.c)),t.weekData}function Gr(t){return null===t.localWeekData&&(t.localWeekData=Rs(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function Jr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new yo({...i,...e,old:i})}function Kr(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Xr(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 Qr(t,e,i){return Kr(tn(t),e,i)}function to(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Qs(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=Or.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=tn(r);let[c,u]=Kr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function eo(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=yo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return yo.invalid(new _s("unparsable",`the input "${n}" can't be parsed as ${s}`))}function io(t,e,i=!0){return t.isValid?Tn.create(ss.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function so(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=$s(t.c.year,i?6:4),e?(s+="-",s+=$s(t.c.month),s+="-",s+=$s(t.c.day)):(s+=$s(t.c.month),s+=$s(t.c.day)),s}function no(t,e,i,s,n,r){let o=$s(t.c.hour);return e?(o+=":",o+=$s(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=$s(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=$s(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=$s(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=$s(Math.trunc(-t.o/60)),o+=":",o+=$s(Math.trunc(-t.o%60))):(o+="+",o+=$s(Math.trunc(t.o/60)),o+=":",o+=$s(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const ro={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},oo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ao={ordinal:1,hour:0,minute:0,second:0,millisecond:0},co=["year","month","day","hour","minute","second","millisecond"],uo=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],lo=["year","ordinal","hour","minute","second","millisecond"];function ho(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 ci(t);return e}(t)}}function fo(t,e){const i=as(e.zone,ws.defaultZone);if(!i.isValid)return yo.invalid(Br(i));const s=ss.fromObject(e);let n,r;if(js(t.year))n=ws.now();else{for(const e of co)js(t[e])&&(t[e]=ro[e]);const e=Cs(t)||Fs(t);if(e)return yo.invalid(e);const s=function(t){if(void 0===vo&&(vo=ws.now()),"iana"!==t.type)return t.offset(vo);const e=t.name;let i=go.get(e);return void 0===i&&(i=t.offset(vo),go.set(e,i)),i}(i);[n,r]=Qr(t,s,i)}return new yo({ts:n,zone:i,loc:s,o:r})}function mo(t,e,i){const s=!!js(i.round)||i.round,n=(t,n)=>{t=Js(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function po(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 vo;const go=new Map;class yo{constructor(t){const e=t.zone||ws.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new _s("invalid input"):null)||(e.isValid?null:Br(e));this.ts=js(t.ts)?ws.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ls(t.o)&&!t.old?t.o:e.offset(this.ts);s=Xr(this.ts,r),i=Number.isNaN(s.year)?new _s("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||ss.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new yo({})}static local(){const[t,e]=po(arguments),[i,s,n,r,o,a,c]=e;return fo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=po(arguments),[i,s,n,r,o,a,c]=e;return t.zone=rs.utcInstance,fo({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return yo.invalid("invalid input");const n=as(e.zone,ws.defaultZone);return n.isValid?new yo({ts:i,zone:n,loc:ss.fromObject(e)}):yo.invalid(Br(n))}static fromMillis(t,e={}){if(Ls(t))return t<-$r||t>$r?yo.invalid("Timestamp out of range"):new yo({ts:t,zone:as(e.zone,ws.defaultZone),loc:ss.fromObject(e)});throw new ui(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Ls(t))return new yo({ts:1e3*t,zone:as(e.zone,ws.defaultZone),loc:ss.fromObject(e)});throw new ui("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=as(e.zone,ws.defaultZone);if(!i.isValid)return yo.invalid(Br(i));const s=ss.fromObject(e),n=cn(t,ho),{minDaysInFirstWeek:r,startOfWeek:o}=Es(n,s),a=ws.now(),c=js(e.specificOffset)?i.offset(a):e.specificOffset,u=!js(n.ordinal),l=!js(n.year),h=!js(n.month)||!js(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ai("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ai("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Xr(a,c);m?(p=uo,v=oo,g=Rs(g,r,o)):u?(p=lo,v=ao,g=Vs(g)):(p=co,v=ro);let y=!1;for(const t of p){js(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ps(t.weekYear),n=qs(t.weekNumber,1,sn(t.weekYear,e,i)),r=qs(t.weekday,1,7);return s?n?!r&&Os("weekday",t.weekday):Os("week",t.weekNumber):Os("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ps(t.year),i=qs(t.ordinal,1,Xs(t.year));return e?!i&&Os("ordinal",t.ordinal):Os("year",t.year)}(n):Cs(n),b=k||Fs(n);if(b)return yo.invalid(b);const w=m?Ms(n,r,o):u?Ds(n):n,[_,I]=Qr(w,c,i),S=new yo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?yo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:yo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return Rn(t,[ir,or],[sr,ar],[nr,cr],[rr,ur])}(t);return eo(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return Rn(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Gn,Jn])}(t);return eo(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return Rn(t,[Kn,tr],[Xn,tr],[Qn,er])}(t);return eo(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(js(t)||js(e))throw new ui("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Ur(t,e,i);return[s,n,r,o]}(r,t,e);return u?yo.invalid(u):eo(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return yo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return Rn(t,[hr,or],[dr,fr])}(t);return eo(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ui("need to specify a reason the DateTime is invalid");const i=t instanceof _s?t:new _s(t,e);if(ws.throwOnInvalid)throw new ni(i);return new yo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Hr(t,ss.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Wr(Tn.parseFormat(t),ss.fromObject(e)).map(t=>t.val).join("")}static resetCache(){vo=void 0,go.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?Yr(this).weekYear:NaN}get weekNumber(){return this.isValid?Yr(this).weekNumber:NaN}get weekday(){return this.isValid?Yr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Gr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Gr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Gr(this).weekYear:NaN}get ordinal(){return this.isValid?Vs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Nr.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Nr.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Nr.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Nr.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=tn(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Xr(a,r),l=Xr(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[Jr(this,{ts:a}),Jr(this,{ts:c})]:[this]}get isInLeapYear(){return Ks(this.year)}get daysInMonth(){return Qs(this.year,this.month)}get daysInYear(){return this.isValid?Xs(this.year):NaN}get weeksInWeekYear(){return this.isValid?sn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?sn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=Tn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(rs.instance(t),e)}toLocal(){return this.setZone(ws.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=as(t,ws.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Qr(i,e,t)}return Jr(this,{ts:s,zone:t})}return yo.invalid(Br(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return Jr(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=cn(t,ho),{minDaysInFirstWeek:i,startOfWeek:s}=Es(e,this.loc),n=!js(e.weekYear)||!js(e.weekNumber)||!js(e.weekday),r=!js(e.ordinal),o=!js(e.year),a=!js(e.month)||!js(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ai("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ai("Can't mix ordinal dates with month/day");let l;n?l=Ms({...Rs(this.c,i,s),...e},i,s):js(e.ordinal)?(l={...this.toObject(),...e},js(e.day)&&(l.day=Math.min(Qs(l.year,l.month),l.day))):l=Ds({...Vs(this.c),...e});const[h,d]=Qr(l,this.o,this.zone);return Jr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return Jr(this,to(this,Or.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Jr(this,to(this,Or.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=Or.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?Tn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):qr}toLocaleString(t=mi,e={}){return this.isValid?Tn.create(this.loc.clone(e),t).formatDateTime(this):qr}toLocaleParts(t={}){return this.isValid?Tn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=so(this,r);return o+="T",o+=no(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?so(this,"extended"===t):null}toISOWeekDate(){return io(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+no(this,"extended"===r,e,t,i,n)}toRFC2822(){return io(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return io(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?so(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),io(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():qr}[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 Or.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(Or.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Rr(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(yo.now(),t,e)}until(t){return this.isValid?xr.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||yo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),mo(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?mo(t.base||yo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(yo.isDateTime))throw new ui("min requires all arguments be DateTimes");return Zs(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(yo.isDateTime))throw new ui("max requires all arguments be DateTimes");return Zs(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Ur(ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return yo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=ss.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Zr(n,t)}static fromFormatParser(t,e,i={}){if(js(t)||js(e))throw new ui("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=ss.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ui(`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?yo.invalid(u):eo(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return mi}static get DATE_MED(){return pi}static get DATE_MED_WITH_WEEKDAY(){return vi}static get DATE_FULL(){return gi}static get DATE_HUGE(){return yi}static get TIME_SIMPLE(){return ki}static get TIME_WITH_SECONDS(){return bi}static get TIME_WITH_SHORT_OFFSET(){return wi}static get TIME_WITH_LONG_OFFSET(){return _i}static get TIME_24_SIMPLE(){return Ii}static get TIME_24_WITH_SECONDS(){return Si}static get TIME_24_WITH_SHORT_OFFSET(){return Oi}static get TIME_24_WITH_LONG_OFFSET(){return Ti}static get DATETIME_SHORT(){return xi}static get DATETIME_SHORT_WITH_SECONDS(){return Ni}static get DATETIME_MED(){return Ai}static get DATETIME_MED_WITH_SECONDS(){return Ri}static get DATETIME_MED_WITH_WEEKDAY(){return Mi}static get DATETIME_FULL(){return Vi}static get DATETIME_FULL_WITH_SECONDS(){return Di}static get DATETIME_HUGE(){return Ei}static get DATETIME_HUGE_WITH_SECONDS(){return Ci}}function ko(t){if(yo.isDateTime(t))return t;if(t&&t.valueOf&&Ls(t.valueOf()))return yo.fromJSDate(t);if(t&&"object"==typeof t)return yo.fromObject(t);throw new ui(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function bo(){const t=["weekdayLong","10984977kLKfhb","36588588DUqGyC","79429cvDkuj","5730380euxIHZ","toRelativeCalendar","local","hasSame","toJSDate","11935zCZhhc","startOf","3992DZWXoS","day","68BwRSCh","6xTCfGV","13486430oByDUI","month","year","310287QhiSuT","4HMkfku","setLocale","monthLong","fromJSDate","minus","11OspYyg","week"];return(bo=function(){return t})()}function wo(t,e){const i=bo();return(wo=function(t,e){return i[t-=106]})(t,e)}function _o(t,e){const i=wo,s=yo[i(111)](t)[i(109)](e),n=yo[i(121)](),r=n[i(112)]({days:1})[i(125)](i(127));let o,a;return s[i(122)](n,i(127))?(o=s[i(125)](i(127))[i(123)](),a=s[i(120)]()):s[i(122)](r,i(127))?(o=r[i(123)](),a=s[i(120)]()):s[i(122)](n,i(114))?(o=s[i(125)](i(114))[i(123)](),a=s[i(115)]||""):s[i(122)](n,i(106))?(o=s[i(125)](i(131))[i(123)](),a=s[i(110)]||""):(o=s[i(125)](i(106))[i(123)](),a=String(s[i(106)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=wo,i=t();for(;;)try{if(964707===-parseInt(e(118))/1*(parseInt(e(108))/2)+parseInt(e(107))/3*(-parseInt(e(128))/4)+-parseInt(e(119))/5*(parseInt(e(129))/6)+-parseInt(e(124))/7*(-parseInt(e(126))/8)+-parseInt(e(116))/9+parseInt(e(130))/10*(parseInt(e(113))/11)+parseInt(e(117))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);var Io=i(4),So={attributes:{"data-cke":!0}};So.setAttributes=Ft(),So.insert=Et().bind(null,"head"),So.domAPI=Vt(),So.insertStyleElement=Lt();Rt()(Io.A,So);Io.A&&Io.A.locals&&Io.A.locals;const Oo=To;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=165]})(t,e)}function xo(){const t=["select","15189690tTrzbT","_requireRevisionName","177876fQteQA","addRevision","div","createCollection","4PnmytG","localizedPeriodName","548632UkioHK","revisionViews","setTemplate","setName","uiLanguage","find","add","1eKdlDF","2487974CdzEad","ck-revision-history-sidebar__time-period","2295160CbiiTp","37647uIzfvI","locale","81bfoSBF","removeRevision","span","5167965BSTVmi","startDate","delegate","294iOYdVs","ck-revision-history-sidebar__time-period__revisions","remove","ck-revision-history-sidebar__time-period__label","_revisionActions"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(902379===parseInt(e(183))/1*(parseInt(e(184))/2)+parseInt(e(187))/3*(parseInt(e(174))/4)+parseInt(e(186))/5+parseInt(e(170))/6*(-parseInt(e(195))/7)+parseInt(e(176))/8*(-parseInt(e(189))/9)+parseInt(e(168))/10+-parseInt(e(192))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends Nt.View{[Oo(193)];[Oo(177)];[Oo(166)];[Oo(169)];constructor(t,e,i,s){const n=Oo;super(t);const r=_o(e,this[n(188)][n(180)])[n(175)];this[n(193)]=e,this[n(177)]=this[n(173)](),this[n(166)]=i,this[n(169)]=s,this[n(177)][n(194)](n(167)).to(this),this[n(177)][n(194)](n(179)).to(this),this[n(178)]({tag:n(172),attributes:{class:["ck",n(185)]},children:[{tag:n(191),attributes:{class:["ck",n(165)]},children:[{text:r}]},{tag:n(172),attributes:{class:["ck",n(196)]},children:this[n(177)]}]})}[Oo(171)](t){const e=Oo,i=new ii(this[e(188)],t,this[e(166)],this[e(169)]);this[e(177)][e(182)](i)}[Oo(190)](t){const e=Oo,i=this[e(177)][e(181)](e=>e.id===t.id);this[e(177)][e(197)](i)}}var Ao=i(651),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Ft(),Ro.insert=Et().bind(null,"head"),Ro.domAPI=Vt(),Ro.insertStyleElement=Lt();Rt()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;function Mo(t,e){const i=Vo();return(Mo=function(t,e){return i[t-=296]})(t,e)}function Vo(){const t=["content","Revision history","ck-revision-history-sidebar__header","ck-revision-history-sidebar__header__label","40000829ZbYMyo","132TBDbMb","12phZBQm","span","20524rpbrBQ","175590cKRZmX","setTemplate","ck-reset_all","div","9076165DcjfKg","109718euXHCd","1819830HbMYEI","9899730qFVcQg","9ryjGrg","122fLhXsf","32bLgRat"];return(Vo=function(){return t})()}!function(t){const e=Mo,i=t();for(;;)try{if(970064===parseInt(e(314))/1*(-parseInt(e(304))/2)+parseInt(e(305))/3*(parseInt(e(301))/4)+-parseInt(e(309))/5+-parseInt(e(312))/6+-parseInt(e(310))/7*(parseInt(e(315))/8)+parseInt(e(313))/9*(parseInt(e(311))/10)+-parseInt(e(300))/11*(-parseInt(e(302))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends Nt.View{constructor(t){const e=Mo;super(t);const i=new Nt.IconView;i[e(296)]=xt.IconHistory,this[e(306)]({tag:e(308),attributes:{class:["ck",e(307),e(298)]},children:[i,{tag:e(303),attributes:{class:["ck",e(299)]},children:[dt(t,e(297))]}]})}}var Eo=i(812),Co={attributes:{"data-cke":!0}};Co.setAttributes=Ft(),Co.insert=Et().bind(null,"head"),Co.domAPI=Vt(),Co.insertStyleElement=Lt();Rt()(Eo.A,Co);Eo.A&&Eo.A.locals&&Eo.A.locals;const Fo=jo;function jo(t,e){const i=Lo();return(jo=function(t,e){return i[t-=232]})(t,e)}function Lo(){const t=["ck-reset","getTime","delegate","_getTimePeriodViewByStartDate","13595280xEeJvx","add","_removeRevision","_revisions","startDate","6773085IOGCcU","isEnabled","get","14qzLdUR","remove","6038NQhcdR","highlightRevisions","deselect","revisionSelected","fire","ck-disabled","unhighlight","_addRevision","revisionSetName","set","createdAt","some","6CnPbgM","34823294yMVmrm","highlight","removeRevision","flat","createCollection","timePeriodViews","uiLanguage","bindTemplate","addRevision","div","ck-revision-history-sidebar__timeline","setTemplate","_requireRevisionName","map","render","54xeADte","2396696BNIsPC","241UYdUTR","find","revisionViews","4758488KNVZtC","selectRevision","setName","locale","select","ck-rounded-corners","_revisionActions","ck-revision-history-sidebar","627075fWlmRV"];return(Lo=function(){return t})()}!function(t){const e=jo,i=t();for(;;)try{if(793927===parseInt(e(248))/1*(parseInt(e(274))/2)+-parseInt(e(286))/3*(parseInt(e(247))/4)+parseInt(e(259))/5*(parseInt(e(246))/6)+-parseInt(e(272))/7*(-parseInt(e(251))/8)+parseInt(e(269))/9+parseInt(e(264))/10+-parseInt(e(287))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class Po extends Nt.View{[Fo(236)];[Fo(267)];[Fo(257)];[Fo(243)];constructor(t,e,i,s){const n=Fo;super(t);const r=this[n(238)];this[n(236)]=this[n(235)](),this[n(236)][n(262)](n(255)).to(this),this[n(236)][n(262)](n(253)).to(this),this[n(267)]=e,this[n(257)]=i,this[n(243)]=s,this.on(n(255),(t,e)=>{const i=n;this[i(278)](i(277),e)}),this.on(n(253),(t,e)=>{const i=n;this[i(278)](i(282),e)}),this[n(283)](n(270),!1),this[n(242)]({tag:n(240),attributes:{class:["ck",n(260),n(256),n(258)]},children:[new Do(t),{tag:n(240),attributes:{class:["ck",n(241),r.if(n(270),n(279),t=>!t)]},children:this[n(236)]}]})}[Fo(245)](){const t=Fo;super[t(245)]();for(const e of this[t(267)])this[t(281)](e);this[t(267)].on(t(265),(e,i)=>{this[t(281)](i)}),this[t(267)].on(t(273),(e,i)=>{this[t(266)](i)})}get[Fo(250)](){const t=Fo;return this[t(236)][t(244)](e=>e[t(250)][t(244)](t=>t))[t(234)]()}[Fo(252)](t){const e=Fo;for(const i of this[e(250)])t&&t.id===i.id?i[e(255)]():i[e(276)]()}[Fo(275)](t){const e=Fo;for(const i of this[e(250)])t[e(285)](({id:t})=>t===i.id)?i[e(232)]():i[e(280)]()}[Fo(281)](t){const e=Fo,i=_o(t[e(284)],this[e(254)][e(237)])[e(268)];let s=this[e(236)][e(271)](0);s&&s[e(268)][e(261)]()===i[e(261)]()||(s=new No(this[e(254)],i,this[e(257)],this[e(243)]),this[e(236)][e(265)](s)),s[e(239)](t)}[Fo(266)](t){const e=Fo,i=_o(t[e(284)],this[e(254)][e(237)])[e(268)];this[e(263)](i)[e(233)](t)}[Fo(263)](t){const e=Fo;return this[e(236)][e(249)](i=>i[e(268)][e(261)]()===t[e(261)]())}}function zo(t,e){const i=Zo();return(zo=function(t,e){return i[t-=496]})(t,e)}const Wo=zo;function Zo(){const t=["appendChild","length","RevisionsSidebar","fieldView","_revisions","154312mylfxr","get","highlightRevisions","restoreRevisionCallback","pluginName","plugins","listenTo","locale","Name this revision","setName","revisionHistory.requireRevisionName","isVisible","select","requires","336762IajAVA","_revisionsRepository","bind","init","revisionSelected","nameRevision","element","assign","getEarlierVisibleRevision","_handleRevisionSetName","ready","revisionSetName","isOfficialPlugin","_handleDiffChange","compareAgainstSelected","availableRevisionActions","Restore this revision","_handleEditorDataReady","revisionHistory.viewerSidebarContainer","140EEtUOp","focus","diff","isPremiumPlugin","1639PTHFae","revisionViews","20390uQWWHo","editor","map","getIndex","getRevision","_revisionViewer","getLaterVisibleRevision","action","_sidebarView","newRevisionId","restoreRevision","isReady","isEnabled","data","16499McyMuK","repository","change:diff","isSelected","name","_handleRevisionSelected","Compare against selected","16788vPrGeb","compare","config","string","timePeriodViews","render","34430UdKMaC","536QGcunW","defaultRevisionActions","revisionHistory.revisionActions","remove","revisionHistory","selectRevision","_createRevisionActions","destroy","2109204TXgBkR","add","getRevisionsInDiff","378udhSer"];return(Zo=function(){return t})()}!function(t){const e=zo,i=t();for(;;)try{if(167717===parseInt(e(528))/1+-parseInt(e(542))/2+parseInt(e(504))/3*(-parseInt(e(561))/4)+-parseInt(e(567))/5*(-parseInt(e(522))/6)+-parseInt(e(497))/7*(parseInt(e(511))/8)+-parseInt(e(519))/9+parseInt(e(510))/10*(parseInt(e(565))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zo);class Uo extends et.Plugin{[Wo(572)];[Wo(543)];[Wo(575)];static[Wo(512)]=[Wo(556),Wo(577),Wo(547)];static[Wo(557)]=function(){const t=Wo;return{compareAgainstSelected:{name:t(503),action:({plugins:e},i)=>{const s=t,n=e[s(529)](fe),r=n[s(498)];let o=n[s(563)][s(576)],a=i.id;r[s(570)](o)>r[s(570)](a)&&([o,a]=[a,o]),n[s(505)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(529)](fe);return!(n[s(498)][s(521)](n[s(563)])[s(524)]>2||i[s(500)])}},restoreRevision:{name:t(558),action:(e,{id:i})=>{const s=t;e[s(506)][s(529)](s(515))[s(531)](i)},isVisible:({plugins:e},i)=>!!e[t(529)](fe)[t(498)][t(573)](i.id)},nameRevision:{name:t(536),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(529)](fe),o=r[n(498)][n(550)](i);r[n(505)](i,o),s[n(562)](),s[n(526)][n(540)]()}}}}();static get[Wo(532)](){return Wo(525)}static get[Wo(554)](){return!0}static get[Wo(564)](){return!0}static get[Wo(541)](){return[fe]}constructor(t){const e=Wo;super(t),this[e(572)]=t[e(533)][e(529)](fe),this[e(543)]=this[e(572)][e(498)],this[e(575)]=null}[Wo(545)](){const t=Wo,e=this[t(543)][t(527)],i=this[t(517)](),s=this[t(568)][t(506)][t(529)](t(560));this[t(575)]=new Po(this[t(568)][t(535)],e,i,this[t(568)][t(506)][t(529)](t(538))),this[t(575)].on(t(546),this[t(502)][t(544)](this)),this[t(575)].on(t(553),this[t(551)][t(544)](this)),this[t(575)][t(544)](t(579)).to(this[t(572)]),this[t(575)][t(508)].on(t(520),(e,i)=>{const s=t;i[s(566)].on(s(520),(t,e)=>{const i=s;e[i(544)](i(579),i(578)).to(this[i(572)])})}),this[t(575)][t(509)](),this[t(534)](this[t(568)][t(496)],t(552),this[t(559)][t(544)](this)),this[t(534)](this[t(572)],t(499),this[t(555)][t(544)](this)),s[t(523)](this[t(575)][t(548)])}[Wo(518)](){const t=Wo;this[t(575)][t(548)][t(514)](),this[t(575)][t(518)]()}[Wo(559)](){const t=Wo,e=this[t(543)][t(571)](0);if(e){const i=this[t(543)][t(550)](e.id);this[t(572)][t(505)](e,i)}}[Wo(502)](t,e){const i=Wo,s=this[i(543)][i(571)](e.id),n=this[i(543)][i(550)](s.id);this[i(572)][i(505)](s,n)}[Wo(551)](t,e){const i=Wo;this[i(543)][i(571)](e.id)[i(537)](e[i(501)])}[Wo(555)](t,e,i){const s=Wo,n=this[s(543)][s(521)](i);n[s(524)]>2?(this[s(575)][s(530)](n),this[s(575)][s(516)](null)):(this[s(575)][s(530)]([]),this[s(575)][s(516)](n[0]))}[Wo(517)](){const t=Wo,e=this[t(568)],i=Uo[t(557)],s=e[t(506)][t(529)](t(513))||Uo[t(512)];if(s[t(524)])return s[t(569)](s=>{const n=t,r=n(507)==typeof s?Object[n(549)]({},i[s]):s;return r[n(574)]=r[n(574)][n(544)](this,e),r[n(539)]&&(r[n(539)]=r[n(539)][n(544)](this,e)),r})}}const Ho=qo;function qo(t,e){const i=$o();return(qo=function(t,e){return i[t-=500]})(t,e)}function $o(){const t=["editor","attachDomRoot","detachDomRoot","_elementReplacer","bind","replace","fillFromConfig","restore","144318lUbJuP","editable","element","viewportOffset","addToolbar","_toolbarConfig","fire","viewportTopOffset","2237648nnKzCL","stickyPanel","6oFKGaS","toolbar","30DgVLsj","_view","36oYyBGk","view","3823260aeQBeA","init","isFocused","ready","destroy","_initToolbar","setEditableElement","document","12016310MscKui","focusTracker","get","config","limiterElement","editing","70374bPaspk","rootName","110862AhdDCZ","22sGFEbD","name","render","getRoot","isActive","componentFactory","8828827smnEaR"];return($o=function(){return t})()}!function(t){const e=qo,i=t();for(;;)try{if(653438===-parseInt(e(519))/1+-parseInt(e(529))/2*(parseInt(e(501))/3)+parseInt(e(535))/4+parseInt(e(531))/5*(-parseInt(e(503))/6)+-parseInt(e(510))/7+parseInt(e(527))/8*(-parseInt(e(533))/9)+parseInt(e(543))/10*(parseInt(e(504))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Bo extends Nt.EditorUI{[Ho(532)];[Ho(524)];[Ho(514)];get[Ho(534)](){return this[Ho(532)]}constructor(e,i){const s=Ho;super(e),this[s(532)]=i,this[s(524)]=(0,Nt.normalizeToolbarConfig)(e[s(546)][s(545)](s(530))),this[s(514)]=new t.ElementReplacer}get[Ho(521)](){const t=Ho;return this[t(534)][t(521)]}[Ho(536)](t){const e=Ho,i=this[e(511)],s=this[e(534)],n=i[e(500)][e(534)],r=s[e(520)],o=n[e(542)][e(507)]();r[e(505)]=o[e(502)],s[e(506)]();const a=r[e(521)];this[e(541)](r[e(505)],a),s[e(520)][e(515)](e(537)).to(this[e(544)]),n[e(512)](a),this[e(514)][e(516)](t,this[e(521)]),this[e(540)](),this[e(525)](e(538))}[Ho(539)](){const t=Ho;super[t(539)]();const e=this[t(534)],i=this[t(511)][t(500)][t(534)];this[t(514)][t(518)](),i[t(513)](e[t(520)][t(505)]),e[t(539)]()}[Ho(540)](){const t=Ho,e=this[t(534)];e[t(528)][t(515)](t(508)).to(this[t(544)],t(537)),e[t(528)][t(547)]=e[t(521)],e[t(528)][t(515)](t(526)).to(this,t(522),({top:t})=>t),e[t(530)][t(517)](this[t(524)],this[t(509)]),this[t(523)](e[t(530)])}}var Yo=i(76),Go={attributes:{"data-cke":!0}};Go.setAttributes=Ft(),Go.insert=Et().bind(null,"head"),Go.domAPI=Vt(),Go.insertStyleElement=Lt();Rt()(Yo.A,Go);Yo.A&&Yo.A.locals&&Yo.A.locals;function Jo(){var t=["1956542bFjoaG","1055946WyWFph","152015hcltPQ","shouldToolbarGroupWhenFull","20hfgAJW","_editable","content","35IQliBc","stickyPanel","toolbar","173000QFuiTx","1134771MlBQFO","9926168uNrdMs","83932cuaPBZ","204cmDkyK","171nTXtXN","render","top","main","84GhZgsL","add","editable"];return(Jo=function(){return t})()}var Ko=Xo;function Xo(t,e){var i=Jo();return(Xo=function(t,e){return i[t-=251]})(t,e)}!function(t){for(var e=Xo,i=t();;)try{if(775073===parseInt(e(252))/1*(parseInt(e(254))/2)+-parseInt(e(264))/3*(parseInt(e(263))/4)+parseInt(e(257))/5*(-parseInt(e(251))/6)+parseInt(e(272))/7+parseInt(e(262))/8+-parseInt(e(265))/9*(parseInt(e(260))/10)+-parseInt(e(261))/11*(-parseInt(e(269))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class Qo extends Nt.BoxedEditorUIView{[Ko(255)];[Ko(258)];[Ko(259)];get[Ko(271)](){return this[Ko(255)]}constructor(t,e,i={}){var s=Ko;super(t),this[s(258)]=new Nt.StickyPanelView(t),this[s(259)]=new Nt.ToolbarView(t,{shouldGroupWhenFull:i[s(253)]}),this[s(255)]=new Nt.InlineEditableUIView(t,e)}[Ko(266)](){var t=Ko;super[t(266)](),this[t(258)][t(256)][t(270)](this[t(259)]),this[t(267)][t(270)](this[t(258)]),this[t(268)][t(270)](this[t(271)])}}const ta=ea;function ea(t,e){const i=sa();return(ea=function(t,e){return i[t-=197]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(904351===-parseInt(e(221))/1*(-parseInt(e(215))/2)+parseInt(e(225))/3*(-parseInt(e(197))/4)+-parseInt(e(214))/5*(-parseInt(e(224))/6)+parseInt(e(213))/7*(-parseInt(e(223))/8)+parseInt(e(228))/9*(-parseInt(e(227))/10)+parseInt(e(210))/11*(-parseInt(e(218))/12)+parseInt(e(212))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sa);class ia extends((0,et.ElementApiMixin)(et.Editor)){[ta(198)];get ui(){return this[ta(198)]}constructor(t,e){const i=ta;super(e),this[i(203)]=t,this[i(226)][i(209)][i(201)]();const s=new Qo(this[i(208)],this[i(219)][i(206)],{shouldToolbarGroupWhenFull:!0});this[i(198)]=new Bo(this,s)}[ta(205)](){const t=ta;return this[t(204)](),this.ui[t(205)](),super[t(205)]()}static async[ta(199)](t,e){const i=ta,s=new this(t,e);return await s[i(207)](),await s.ui[i(220)](t),await s[i(200)][i(220)](s[i(216)][i(211)](i(217))||""),s[i(202)](i(222)),s}}function sa(){const t=["1085BQgOTW","1094445YBZouj","2802XhETXJ","config","initialData","62508WmmZXD","editing","init","1087JbOlKF","ready","49640MVBayE","6pVHjsb","529665NSeZfx","model","40QNBnNv","3625389yaYvoM","4RbgxpC","_ui","create","data","createRoot","fire","sourceElement","updateSourceElement","destroy","view","initPlugins","locale","document","1595BbSpqG","get","34677422gtXAiw"];return(sa=function(){return t})()}const na=oa;function ra(){const t=["from","isEnabled","_cleanUp","document","DocumentOutlineUI","435225OGESyk","repository","$graveyard","_getRevisionViewerEditorConfig","revisionHistory","translations","error","config","revisionHistory.editorContainer","isOpen",".ck-ai-chat-history .ck-input","3064428cvHMcq","get","disableReadOnlyMode","model","none","isPremiumPlugin","removeMarker","setSelection","RevisionTracker","replace","PaginationLookup","AIChat","data","adapter","users","define","ck-tab-panel_disabled","then","_enhanceShowRevisionViewerCallback","enableReadOnlyMode","AIChatHistory","RevisionHistory","getRevisions","tabindex","set","DocumentOutline","closeRevisionViewerCallback","init","detachRoot","parse","setAttribute","changesNavigation","numeric","restrictedEditingException","uiLanguage","Annotations"," ck-tab-panel_disabled","addRevisionData","AITabs","3362095QfnuBm","markers","destroy","Autosave","hide","exitToEditing","revisionHistory.showRevisionViewerCallback","_restoreRevision","RevisionViewerIntegration","revisionHistory.viewerEditorElement","style","end","addUser","enqueueChange","toolbar","catch",".ck-ai-chat__prompt-input .ck-textarea","push","RestrictedEditingMode","632973whjKYl","querySelector","element","restoreRevision","Users","creator","isOfficialPlugin","revisionHistory.viewerContainer","RevisionHistoryUI","includes","getRevision","378360KiEdLF","toLocaleDateString","keys","revisionHistory.requireRevisionName","getAttributeKeys","fromVersion","lazyRoots","731024fbzwWY","refreshVisibility","panelViews","showRevisionViewerCallback","long","requires","_enhanceCloseRevisionViewerCallback","isReadOnly","addRoot","getUser","display","AIActions","toJSON","isAnonymous","AIBalloon","revisionHistory.closeRevisionViewerCallback","indexOf","revision-history-missing-configuration","_recalculatePageBreaks","selection","revisionHistory.restoreRevisionCallback","refreshPositioning","rootName","remove","AIChatShortcuts","2kRPvvm","commands","block","create","view","has","Dialog","isAttached","pluginName","revision-history-viewer-opened","createdAt","AITranslate","getRevisionDocumentData","locale","update","Restored","_closeRevisionViewer","map","name","AIQuickActions","removeAttribute","plugins","_showRevisionViewer","getMarkersGroup","AIReviewMode","saveRevision","result","327741zampxq","_viewerEditor","toLocaleTimeString","editor","getRoot","roots","createRangeIn","bind","isRevisionViewerOpen","fromCharCode","RevisionsRepository","loadRevisionData","class","isReady","RevisionHistoryUtils","save","change","insert","RevisionViewer","_update","join","removeSelectionAttribute","getRevisionRootsAttributes","toVersion"];return(ra=function(){return t})()}function oa(t,e){const i=ra();return(oa=function(t,e){return i[t-=193]})(t,e)}!function(t){const e=oa,i=t();for(;;)try{if(343818===parseInt(e(222))/1*(parseInt(e(195))/2)+-parseInt(e(320))/3+parseInt(e(331))/4+parseInt(e(301))/5+-parseInt(e(262))/6+parseInt(e(251))/7+-parseInt(e(338))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra);const aa=[na(328),na(319),na(273),na(219),na(352),na(214),na(349),na(194),na(206)];class ca extends et.Plugin{[na(221)];static get[na(203)](){return na(309)}static get[na(326)](){return!0}static get[na(267)](){return!0}constructor(t){const e=na;function i(t){const e=oa;return t[e(212)](t=>String[e(231)](t))[e(242)]("")}super(t),this[e(221)]=e(312),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 ua extends et.Plugin{[na(223)];static get[na(203)](){return na(283)}static get[na(326)](){return!0}static get[na(267)](){return!0}static get[na(343)](){return[bt,Jt]}constructor(e){const i=na;if(super(e),!this[i(225)][i(258)][i(263)](i(255)))throw new t.CKEditorError(i(355),this);this[i(223)]=null,this[i(286)](i(230),!1),this[i(225)][i(258)][i(277)](i(307),t=>this[i(217)]({...t,translations:this[i(225)][i(208)][i(256)]})),this[i(225)][i(258)][i(277)](i(353),t=>this[i(211)](t)),this[i(225)][i(258)][i(277)](i(358),t=>this[i(308)](t)),this[i(225)][i(258)][i(277)](i(334),!1),this[i(280)](),this[i(344)]()}set[na(275)](t){const e=na;this[e(225)][e(216)][e(263)](e(270))[e(275)]=t}get[na(275)](){const t=na;return this[t(225)][t(216)][t(263)](t(270))[t(275)]}[na(299)](t){const e=na;return this[e(225)][e(216)][e(263)](e(270))[e(299)](t)}[na(330)](t){const e=na;return this[e(225)][e(216)][e(263)](e(232))[e(330)](t)}[na(284)](t){const e=na;return this[e(225)][e(216)][e(263)](e(232))[e(284)](t||{toJSON:!1})}[na(254)](){const e=na,i=this[e(225)],s=(0,it.sanitizeEditorConfig)(i,aa),n=i[e(216)][e(263)](e(270)),r=i[e(216)][e(263)](e(324))[e(276)];return s[e(315)]=[e(306),e(323),e(293)],delete s[e(337)],s[e(216)][e(318)](ca,fe,De,class extends et.Plugin{static get[e(343)](){return[fe,e(324)]}[e(289)](){const s=e,o=this[s(225)][s(216)][s(263)](s(324));for(const t of r)t[s(351)]||o[s(347)](t.id)||o[s(313)](t);const a=n[s(252)][s(284)]();let c=null;const u=this[s(225)][s(216)][s(263)](s(240));u[s(275)]=n[s(275)],u[s(229)](s(247)).to(n),this[s(225)][s(196)][s(263)](s(323))[s(229)](s(247)).to(i,s(345),t=>!t);for(const e of a){const i=null===e[s(325)];if(i&&e[s(245)]===e[s(336)])continue;const r=e[s(350)]();u[s(299)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(241)](r,o);else if(!o){const e=a[u(350)]();e.id=(0,t.uid)(),n[u(220)](e,a[u(245)])[u(279)](t=>{c=t})}}else e[u(241)](r,o)})}}},Uo),s}[na(280)](){const t=na,e=this[t(225)][t(258)][t(263)](t(255))[t(341)];this[t(225)][t(258)][t(286)](t(307),async()=>{const i=t;this[i(225)][i(281)](i(204));const s=this[i(225)][i(216)][i(263)](i(270));if(this[i(225)][i(216)][i(200)](i(304))){const t=this[i(225)][i(216)][i(263)](i(304));await t[i(237)]()}else await s[i(209)]();if(this[i(225)][i(216)][i(200)](i(272))&&this[i(225)][i(216)][i(263)](i(272))[i(356)](),this[i(225)][i(216)][i(200)](i(201))){const t=this[i(225)][i(216)][i(263)](i(201));t[i(260)]&&t[i(305)]()}if(this[i(225)][i(216)][i(200)](i(300))){const t=this[i(225)][i(216)][i(263)](i(300))[i(199)][i(340)];for(const e of t)e[i(234)]=e[i(234)]?e[i(234)]+i(298):i(278);if(this[i(225)][i(216)][i(200)](i(273))){const t=document[i(321)](i(317));t&&t[i(292)](i(285),"-1")}if(this[i(225)][i(216)][i(200)](i(282))){const t=document[i(321)](i(261));t&&t[i(292)](i(285),"-1")}}const n=this[i(254)]();return e(n)[i(279)](t=>{const e=i;return this[e(223)]=t,this[e(225)][e(216)][e(200)](e(297))&&this[e(225)][e(216)][e(263)](e(297))[e(339)](),this[e(225)][e(216)][e(200)](e(287))&&(this[e(225)][e(216)][e(263)](e(250))[e(199)][e(322)][e(311)][e(348)]=e(266)),t})[i(316)](t=>(console[i(257)](t),this[i(225)][i(264)](i(204)),null))})}[na(344)](){const t=na,e=this[t(225)][t(258)][t(263)](t(255))[t(288)];this[t(225)][t(258)][t(286)](t(353),()=>{const i=t;if(this[i(225)][i(216)][i(200)](i(272))&&this[i(225)][i(216)][i(263)](i(272))[i(356)](),this[i(225)][i(216)][i(200)](i(287))&&(this[i(225)][i(216)][i(263)](i(250))[i(199)][i(322)][i(311)][i(348)]=""),this[i(225)][i(216)][i(200)](i(300))){const t=this[i(225)][i(216)][i(263)](i(300))[i(199)][i(340)];for(const e of t)e[i(234)]=i(278)===e[i(234)]?"":e[i(234)][i(271)](i(298),"");if(this[i(225)][i(216)][i(200)](i(273))){const t=document[i(321)](i(317));t&&t[i(215)](i(285))}if(this[i(225)][i(216)][i(200)](i(282))){const t=document[i(321)](i(261));t&&t[i(215)](i(285))}}return this[i(223)][i(216)][i(263)](i(240))[i(248)](),e(this[i(223)])[i(279)](()=>{const t=i;if(this[t(225)][t(264)](t(204)),this[t(223)]=null,this[t(225)][t(216)][t(200)](t(297))){const e=this[t(225)][t(216)][t(263)](t(297));e[t(339)](),e[t(359)]()}})})}[na(217)](t){const e=na,i=this[e(225)][e(258)][e(263)](e(259)),s=this[e(225)][e(258)][e(263)](e(327)),n=this[e(225)][e(258)][e(263)](e(310));return ia[e(198)](n,t)[e(279)](t=>(s[e(311)][e(348)]=e(197),i[e(311)][e(348)]=e(266),this[e(230)]=!0,t))}[na(211)](t){const e=na,i=this[e(225)][e(258)][e(263)](e(259));return this[e(225)][e(258)][e(263)](e(327))[e(311)][e(348)]=e(266),i[e(311)][e(348)]="",this[e(230)]=!1,t[e(303)]()}async[na(308)](t){const e=na,i=this[e(225)],s=this[e(223)][e(216)][e(263)](e(240)),n=i[e(216)][e(263)](e(270)),r=i[e(216)][e(263)](e(236)),o=s[e(252)][e(330)](t);let a,c,u;try{await r[e(233)](o,this[e(275)]),a=r[e(207)](o),c=r[e(244)](o)}catch(t){return void console[e(257)](t)}i[e(265)][e(238)](t=>{const s=e;for(const e of Array[s(246)](i[s(265)][s(302)][s(218)](s(295))))t[s(268)](e)}),s[e(235)]=!1,i[e(265)][e(314)](t=>{const s=e;t[s(269)](null),t[s(243)](i[s(265)][s(249)][s(357)][s(335)]());const n=Object[s(333)](a);for(const e of i[s(265)][s(249)][s(227)])s(253)!=e[s(360)]&&e[s(202)]()&&!n[s(329)](e[s(360)])&&t[s(290)](e);for(const e of n){let n=i[s(265)][s(249)][s(226)](e);n&&n[s(202)]()||(n=t[s(346)](e));const r=c[e],o=Object[s(333)](r),u=a[e];for(const e of n[s(335)]())o[s(329)](e)||t[s(215)](e,n);for(const i of o)t[s(292)](i,c[e][i],n);t[s(193)](t[s(228)](n)),t[s(239)](i[s(274)][s(291)](u,n),n,0)}});const l=dt(i[e(208)],e(210));return u=o[e(213)]?-1==o[e(213)][e(354)](l)?l+": "+o[e(213)]:o[e(213)]:l+": "+o[e(205)][e(332)](i[e(208)][e(296)],{month:e(342),day:e(294)})+", "+o[e(205)][e(224)](i[e(208)][e(296)],{hour:e(294),minute:e(294)}),await n[e(220)]({name:u}),s[e(235)]=!0,i[e(258)][e(263)](e(255))[e(288)]()}}function la(t,e){var i=ha();return(la=function(t,e){return i[t-=226]})(t,e)}function ha(){var t=["6201630nLuGZW","53081RlSJTg","4099myiECt","37999602IjVWOX","254kUaaiN","150uSGVIa","1993686jFTixI","12360856FiRSbu","6764764WhCYvI"];return(ha=function(){return t})()}!function(t){for(var e=la,i=t();;)try{if(851496===parseInt(e(226))/1*(-parseInt(e(228))/2)+-parseInt(e(230))/3+-parseInt(e(232))/4+parseInt(e(233))/5+-parseInt(e(229))/6*(parseInt(e(234))/7)+-parseInt(e(231))/8+parseInt(e(227))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ha)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();