@ckeditor/ckeditor5-revision-history 47.0.0-alpha.3 → 47.0.0-alpha.5

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-2025, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={6:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}},140:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},193:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(931)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},316:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},342:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},439:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},532:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-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},549:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},557:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},574:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},602:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},606:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},628:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},660:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},718:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},750:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},931:t=>{"use strict";t.exports=CKEditor5.collaborationDll},933:t=>{"use strict";t.exports=function(t){return t[1]}},997:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(933),s=i.n(n),r=i(718),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>Y,RevisionHistory:()=>sa,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Ko,RevisionViewerIntegration:()=>na,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,x(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(x(s,void 0,i,n,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=x(t[s],s,i,n,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function U(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=P(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?Z(e)?H(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function q(t,e){const i=H(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}function $(){const t=["35TSzeXG","name","map","fromVersion","creator","setAttribute","1122886ZYXobO","creatorId","authors","260562cyuVZD","removeAttribute","attributes","2008tANFxW","toVersion","1902092JxLNYj","authorsIds","set","899394BMjoHD","fire","model","_update","8169CpACsp","9043137fEdDeM","35044550SXgMDf","setName","diffData","6KKnzNc","toJSON","createdAt"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=452]})(t,e)}const J=B;!function(t){const e=B,i=t();for(;;)try{if(509127===parseInt(e(480))/1+parseInt(e(469))/2+parseInt(e(460))/3*(parseInt(e(477))/4)+-parseInt(e(463))/5*(-parseInt(e(472))/6)+parseInt(e(455))/7*(parseInt(e(475))/8)+parseInt(e(456))/9+-parseInt(e(457))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class Y extends((0,t.ObservableMixin)()){id;[J(467)];[J(471)];[J(459)];[J(476)];[J(466)];[J(453)];constructor(e){const i=J;super(),this.id=e.id||(0,t.uid)(),this[i(467)]=e[i(467)]||null,this[i(471)]=e[i(471)]||[],this[i(459)]=e[i(459)]||null,this[i(476)]=e[i(476)]||0,this[i(466)]=e[i(466)]||0,this[i(479)](i(464),e[i(464)]||""),this[i(479)](i(462),e[i(462)]||new Date),this[i(479)](i(474),e[i(474)]||{})}[J(458)](t){this[J(454)]({name:t})}[J(468)](t,e){const i=J,n=R(this[i(474)]);U(n,t,e),this[i(454)]({attributes:n})}[J(473)](t){const e=J,i=R(this[e(474)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Z(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(454)]({attributes:i})}[J(454)](t,e=!1){const i=J;let n=!1;const s={id:this.id},r=[i(464),i(462),i(459),i(471),i(474),i(476),i(466),i(470)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(471)]&&(s[i(478)]=s[i(471)][i(465)](t=>t.id),delete s[i(471)]),this[i(452)](i(454),s,e))}[J(461)](){const t=J;return{id:this.id,name:this[t(464)],creatorId:this[t(467)]?this[t(467)].id:null,authorsIds:this[t(471)][t(465)](t=>t.id),diffData:this[t(459)],createdAt:this[t(462)],attributes:this[t(474)],fromVersion:this[t(466)],toVersion:this[t(476)]}}}var G=i(782),X=i(211),K=i(783);const Q=et;function tt(){const t=["99qivOgi","40VIYNey","name","plugins","length","push","4476GQVujA","getEarlierVisibleRevision","1196443BQXAuF","editor","map","add","isOfficialPlugin","toJSON","fromVersion","getUser","getIndex","getRevisions","244JDuJnJ","href","getRevision","oldRevisionId","getRevisionsIterator","620030MZZQok","12129FoneHR","createdAt","_revisions","createRevision","from","isPremiumPlugin","join","attributes","toVersion","earlier","Users","85696wXIrFX","diffData","creatorId","3763026jymWnv","714108UozpBB","addRevision","getRevisionsInDiff","getLaterVisibleRevision","reverse","newRevisionId","afterInit","requires","later","441CSGjcA","isNaN","RevisionsRepository","40391zkGrSs","data","get","2uGdJHm","fromCharCode","pluginName","authorsIds"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=220]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(626292===parseInt(e(231))/1*(-parseInt(e(277))/2)+-parseInt(e(247))/3*(-parseInt(e(241))/4)+parseInt(e(224))/5*(parseInt(e(262))/6)+-parseInt(e(271))/7*(parseInt(e(258))/8)+-parseInt(e(261))/9+parseInt(e(246))/10*(parseInt(e(223))/11)+parseInt(e(229))/12*(parseInt(e(274))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[Q(249)];static get[Q(269)](){return[X.Users]}static get[Q(221)](){return Q(273)}static get[Q(235)](){return!0}static get[Q(252)](){return!0}get[Q(227)](){const t=Q;return this[t(249)][t(227)]}constructor(e){const i=Q;super(e),this[i(249)]=new t.Collection}[Q(268)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(272)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(233)](t=>String[e(220)](t))[e(253)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:1758931200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(242)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[Q(250)](t){const e=Q,i=this[e(232)][e(226)][e(276)](e(257));return new Y({id:t.id,name:t[e(225)],creator:t[e(260)]?i[e(238)](t[e(260)]):null,diffData:t[e(259)]||t[e(275)],authors:t[e(222)][e(233)](t=>i[e(238)](t)),createdAt:new Date(t[e(248)]),attributes:t[e(254)],fromVersion:t[e(237)],toVersion:t[e(255)]})}[Q(263)](t,e=0){const i=Q;this[i(249)][i(234)](t,e)}[Q(243)](t){const e=Q;return this[e(249)][e(276)](t)}[Q(240)](t={toJSON:!1}){const e=Q,i=Array[e(251)](this[e(249)]);return i[e(266)](),t[e(236)]?i[e(233)](t=>t[e(236)]()):i}[Q(239)](t){const e=Q;return this[e(249)][e(239)](t)}[Q(230)](t){const e=Q,[,i]=this[e(245)](t,{direction:e(256)});return i}[Q(265)](t){const e=Q,[,i]=this[e(245)](t,{direction:e(270)});return i}[Q(264)](t){const e=Q,i=[];for(const n of this[e(245)](t[e(267)]))if(i[e(228)](n),n.id===t[e(244)])break;return i}*[Q(245)](t,{direction:e=Q(256),filter:i=()=>!0}={}){const n=Q,s=n(256)===e?1:-1;let r=this[n(249)][n(276)](t),o=this[n(239)](r);for(yield r;r;){if(o+=s,r=this[n(243)](o),!r)return;i(r)&&(yield r)}}}function nt(t,e){const i=st();return(nt=function(t,e){return i[t-=184]})(t,e)}function st(){const t=["attachChange","data-revision-","innerHTML","_getTypeCharForViewElement","collaboration.channelId","isOfficialPlugin","default","loadRevisionData","getRevisionDocumentData","config","getFillerOffset","string","document","insertions","47401SaMPMb","length","domChildrenToView","forEach","_getViewFromDiffObj","filter","toData","pluginName","_makeModelFromViewString","revision-end","fillerOffset","processor","diffData","isPremiumPlugin","10CxMDAc","customProperties","attributes","editing","toModel","2167732pOlWyk","15ONVIoL","_typeCharToViewClass","htmlProcessor","getRevisionRootsAttributes","childNodes","type","102708QsuLhH","children","13331197akJBVX","useFillerType","viewChildrenToDom","createElement","_appendChild","map","domConverter","get","div","parse","append","marked","_viewClassToTypeChar","startsWith","editor","6eTNkfE","getRevision","_removeRevisionMarkers","constructor","276618LoLOlh","revision-start","name","from","440AgxrhU","data","view","_setCustomProperty","render","2684004XZeIDY","attributesAfter","RevisionHistoryUtils","1270820JTzsZX","domDocument","isAttached"];return(st=function(){return t})()}const rt=nt;!function(t){const e=nt,i=t();for(;;)try{if(739396===parseInt(e(233))/1*(-parseInt(e(200))/2)+parseInt(e(213))/3+parseInt(e(216))/4*(-parseInt(e(253))/5)+parseInt(e(204))/6+parseInt(e(252))/7+-parseInt(e(208))/8*(parseInt(e(259))/9)+-parseInt(e(247))/10*(-parseInt(e(185))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends G.Plugin{static get[rt(240)](){return rt(215)}static get[rt(224)](){return!0}static get[rt(246)](){return!0}[rt(197)]=new Map([[K.ViewContainerElement,"c"],[K.ViewAttributeElement,"a"],[K.ViewEmptyElement,"e"],[K.ViewRawElement,"r"],[K.ViewUIElement,"u"]]);[rt(254)]=new Map([["c",K.ViewContainerElement],["a",K.ViewAttributeElement],["e",K.ViewEmptyElement],["r",K.ViewRawElement],["u",K.ViewUIElement]]);async[rt(226)](t,e){const i=rt;if(t[i(245)]||!e)return;const n=this[i(199)][i(228)][i(192)](i(223)),s=await e[i(201)]({channelId:n,revisionId:t.id});t[i(245)]=s[i(245)]}[rt(227)](t){const e=rt,i={};for(const n in t[e(245)]){if(t[e(245)][n][e(219)]&&!t[e(245)][n][e(219)][e(218)])continue;const s=this[e(202)](JSON[e(194)](t[e(245)][n][e(232)])),r=this[e(199)][e(250)][e(210)][e(231)],o=new K.ViewDocumentFragment(r,s[e(190)](t=>this[e(237)](t,!1)));this[e(199)][e(209)][e(244)][e(186)](e(196)),i[n]=this[e(199)][e(209)][e(244)][e(239)](o),this[e(199)][e(209)][e(244)][e(186)](e(225))}return i}[rt(256)](t){const e=rt,i={};for(const n in t[e(245)])t[e(245)][n][e(219)]&&!t[e(245)][n][e(219)][e(218)]||(i[n]=t[e(245)][n][e(214)]||{});return i}[rt(222)](t){const e=rt;return this[e(197)][e(192)](t[e(203)])}[rt(237)](t,e){const i=rt,n=this[i(199)][i(250)][i(210)][i(231)];if(i(230)==typeof t)return new K.ViewText(n,t);{let s,r;r="u"==t[i(258)]||"r"==t[i(258)]?[]:t[i(184)][i(190)](t=>this[i(237)](t,e));const o=this[i(254)][i(192)](t[i(258)])||K.ViewElement,a=this[i(199)][i(209)][i(255)][i(191)];if(s=new o(n,t[i(206)],t[i(249)],r),"u"==t[i(258)]&&t[i(184)][0]){const r=t[i(184)][0];if(s[i(212)]=function(t){const e=i,n=t[e(188)](e(193));return n[e(221)]=r,n[e(257)][0]},e){const t=new K.ViewDocumentFragment(n);t[i(189)](s);const e=Array[i(207)](a[i(187)](t,{bind:!1})),r=a[i(217)][i(188)](i(193));r[i(195)](...e),s=Array[i(207)](a[i(235)](r))[0]}}else if("r"==t[i(258)]&&t[i(184)][0]){const r=t[i(184)][0];if(s[i(212)]=function(t){t[i(221)]=r},e){const t=new K.ViewDocumentFragment(n);t[i(189)](s);const e=Array[i(207)](a[i(187)](t,{bind:!1})),r=a[i(217)][i(188)](i(193));r[i(195)](...e);const o=Array[i(207)](a[i(235)](r));o[i(234)]>1?s[i(189)](o):s=o[0]}}if(t[i(248)])for(const[e,n]of t[i(248)])s[i(211)](e,n);const c=void 0===t[i(243)]?null:t[i(243)];return null!==c&&(s[i(229)]=()=>c),s}}[rt(241)](t){const e=rt,i=JSON[e(194)](t),n=this[e(199)][e(250)][e(210)][e(231)],s=new K.ViewDocumentFragment(n,i[e(190)](t=>this[e(237)](t,!0)));return this[e(199)][e(209)][e(251)](s)}[rt(202)](t){const e=rt;return(t=t[e(238)](t=>!t[e(206)]||e(205)!==t[e(206)]&&e(242)!==t[e(206)]))[e(236)](t=>{const i=e;i(230)!=typeof t&&(t[i(184)]=this[i(202)](t[i(184)]),t[i(249)]=t[i(249)][i(238)](t=>!t[0][i(198)](i(220))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,x){if(Object.is(t,i))return!0;let N=s(t),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,x));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,x)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,x))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=wt();return(mt=function(t,e){return i[t-=457]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(778919===-parseInt(e(546))/1*(-parseInt(e(655))/2)+parseInt(e(465))/3+-parseInt(e(567))/4+parseInt(e(724))/5+-parseInt(e(771))/6*(-parseInt(e(565))/7)+parseInt(e(604))/8+-parseInt(e(671))/9*(parseInt(e(718))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wt);class pt extends G.Plugin{[ft(761)];[ft(539)];[ft(755)]=null;[ft(463)];[ft(680)]=null;[ft(763)];[ft(685)];[ft(775)];[ft(572)];[ft(509)];[ft(635)];[ft(754)];[ft(770)];[ft(630)];static get[ft(652)](){return ft(598)}static get[ft(658)](){return!0}static get[ft(558)](){return!0}static get[ft(645)](){return[X.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(463)]=this[i(470)][i(589)][i(621)](i(731)),this[i(509)]=this[i(470)][i(589)][i(621)](i(498)),this[i(763)]=new vt(this[i(470)]),this[i(775)]=this[i(470)][i(726)][i(621)](i(625))||i(654),this[i(572)]=new Map,this[i(630)]=null;const n=(0,t.uid)();this[i(685)]={history:this[i(470)][i(620)][i(762)][i(614)],getLatestVersion:()=>Promise[i(602)](this[i(470)][i(620)][i(762)][i(536)]),getCurrentRevisionId:()=>n},this[i(690)](i(518),!1),this[i(690)](i(585),!0),this[i(690)](i(566),!1),this[i(470)][i(726)][i(554)](i(740),!0),this[i(470)][i(505)][i(686)](i(532))[i(508)]({view:i(651)})}[ft(504)](){const t=ft;this[t(682)](),this[t(470)][t(672)].on(t(650),()=>{const e=t,i=this[e(463)][e(481)](0),n=i&&null===i[e(665)]?i:null;if(this[e(754)]=!!n&&this[e(470)][e(726)][e(621)](e(740)),this[e(470)][e(589)][e(757)](e(661))){const t=this[e(685)][e(603)](),s=this[e(463)][e(481)](t);if(s)this[e(770)]=s[e(702)],this[e(754)]=!1;else{const t=this[e(685)][e(614)][e(610)][e(714)](t=>!t[e(460)]),s=t?t[e(564)]:this[e(685)][e(614)][e(536)];i?(i[e(758)]<s&&i[e(678)]({toVersion:s}),this[e(754)]?(this[e(685)][e(603)]=()=>n.id,this[e(770)]=n[e(702)]):(this[e(770)]=i[e(758)],this[e(754)]=!1)):(this[e(770)]=s,this[e(754)]=!1)}}else n&&(this[e(470)][e(620)][e(762)][e(614)][e(536)]=Math[e(720)](n[e(758)],this[e(470)][e(620)][e(762)][e(614)][e(536)]),n[e(702)]===n[e(758)]?(0!==n[e(702)]&&(this[e(685)][e(603)]=()=>n.id),this[e(754)]=!1):this[e(754)]&&(this[e(685)][e(603)]=()=>n.id,this[e(770)]=n[e(702)])),this[e(754)]||(this[e(770)]=this[e(470)][e(620)][e(762)][e(536)]);this[e(763)][e(504)](this[e(685)][e(614)]),this[e(727)](this[e(770)]),this[e(595)](this[e(770)]),this[e(680)]&&this[e(583)]()}),this[t(751)](t(518)).to(this,t(566),t=>!t),this[t(761)]=this[t(470)][t(726)][t(621)](t(761));const e=this[t(470)];this[t(539)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(570)==r||i(571)==r||i(717)==r||i(642)==r||i(513)==r||i(646)==r||i(633)==r||i(500)==r){delete e[s],n=r,clearInterval(this[i(539)]),this[i(539)]=void 0;break}}i(571)==n&&e[i(629)](i(624)),i(717)==n&&e[i(629)](i(497)),i(642)==n&&e[i(629)](i(634)),i(513)==n&&e[i(629)](i(681),i(688)),i(646)==n&&e[i(629)](i(660)),i(633)==n&&e[i(629)](i(517)),i(500)==n&&e[i(629)](i(640))},1e3)}async[ft(728)](){const t=ft;if(this[t(463)][t(588)]>0){const e=this[t(463)][t(481)](0),i=await this[t(484)](e),n=await this[t(779)](e);this[t(608)](i,n)}}[ft(486)](){const t=ft;super[t(486)](),this[t(539)]&&clearInterval(this[t(539)])}[ft(461)](t){this[ft(685)]=t}async[ft(515)](){const t=ft,e=await this[t(685)][t(712)]();if(e>this[t(755)][t(758)]){await this[t(540)]();const i=this[t(743)]({revision:this[t(755)],to:e});i[t(756)]=i[t(529)][t(545)](e=>this[t(470)][t(589)][t(621)](t(773))[t(499)](e)),this[t(755)][t(678)](i)}}async[ft(719)](e={},i=null){const n=ft,s=[];await this[n(540)](),this[n(754)]=!1,i>this[n(755)][n(758)]&&(i=null),null===i&&(i=await this[n(685)][n(712)]());const r=this[n(467)](i),o=this[n(743)]({from:r,to:i});if(this[n(755)][n(758)]<i){const t=this[n(743)]({revision:this[n(755)],from:i,to:i});t[n(756)]=[],t[n(529)]=[],t.id=this[n(755)].id,this[n(755)][n(678)](t,!0),delete t[n(756)],s[n(548)](t)}e[n(759)]=this[n(470)][n(589)][n(621)](n(773)).me.id,e[n(749)]=e[n(749)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(628)](e);s[n(548)](e);const c=this[n(463)][n(657)](a);if(0!==c){const t=this[n(463)][n(481)](c-1);if(t[n(702)]!==i){const r=this[n(763)][n(495)](i,t[n(758)]),o={id:t.id,diffData:r[n(643)],authorsIds:r[n(529)],authors:r[n(529)][n(545)](t=>this[n(470)][n(589)][n(621)](n(773))[n(499)](t)),fromVersion:i};t===this[n(755)]&&(o[n(734)]=new Date(e[n(734)][n(711)]()+10)),t[n(678)](o,!0),delete o[n(756)],s[n(548)](o)}}if(this[n(680)]){for(const t of s)this[n(575)](t.id,t,!0);this[n(583)]()}return a}[ft(628)](t){const e=ft,i=this[e(463)][e(489)](t);return this[e(680)]&&i.on(e(678),(t,i,n)=>{const s=e;n||(this[s(575)](i.id,i,!0),this[s(583)]())}),this[e(463)][e(562)](i,this[e(586)](i)),i}async[ft(484)](t){const e=ft;return await this[e(509)][e(516)](t,this[e(680)]),this[e(509)][e(484)](t)}async[ft(779)](t){const e=ft;return await this[e(509)][e(516)](t,this[e(680)]),this[e(509)][e(779)](t)}[ft(583)](){const t=ft;if(0===this[t(572)][t(694)])return;if(this[t(566)])return;let e=Array[t(722)](this[t(572)][t(732)]());this[t(572)][t(627)]();for(let i=0;i<e[t(588)];i++){const n=e[i];let s=!1;for(const e of Object[t(584)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(480)](t=>null!==t),!e[t(588)])return;for(let i=0;i<e[t(588)];i++){const n=e[i];void 0!==n[t(702)]&&void 0===n[t(758)]&&(n[t(758)]=this[t(463)][t(481)](n.id)[t(758)]),void 0!==n[t(758)]&&void 0===n[t(702)]&&(n[t(702)]=this[t(463)][t(481)](n.id)[t(702)])}const i=this[t(470)][t(726)][t(621)](t(625));this[t(566)]=!0,this[t(705)](),this[t(680)][t(487)](e,i)[t(560)](()=>{this[t(566)]=!1})[t(677)](e=>{const i=t;if(e)for(const t of e)this[i(502)]({id:t.id,createdAt:t[i(734)]});this[i(687)](),this[i(583)]()})}[ft(743)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(702)],i=null!==i?i:t[n(758)];const s=this[n(763)][n(495)](e,i),r={diffData:s[n(643)],authorsIds:s[n(529)],fromVersion:e,toVersion:i};if(!t||i!==t[n(758)]){const t=i-1,e=this[n(685)][n(614)][n(772)](t);r[n(734)]=e&&e[n(734)]||new Date}if(this[n(630)]&&e===this[n(630)][n(702)])for(const t of this[n(630)][n(756)])r[n(529)][n(612)](t.id)||r[n(529)][n(548)](t.id);return r}[ft(575)](t,e,i){const n=ft;if(this[n(572)][n(757)](t)){const s=this[n(572)][n(621)](t);e=i?{...s,...e}:{...e,...s}}this[n(572)][n(690)](t,e)}[ft(502)](t){const e=ft,i=this[e(463)][e(481)](t.id);if(t[e(734)]&&(t[e(734)]=new Date(t[e(734)])),t[e(529)]){const i=this[e(470)][e(589)][e(621)](e(773));t[e(756)]=t[e(529)][e(545)](t=>i[e(499)](t))}i[e(678)](t,!0)}[ft(727)](t){const e=ft,i=this[e(463)][e(481)](this[e(463)][e(588)]-1);if(i)this[e(775)]=i.id;else{const i=!this[e(470)][e(620)][e(762)][e(582)][e(714)](t=>this[e(470)][e(620)][e(574)](t)),n=this[e(470)][e(589)][e(621)](e(773)).me.id,s=at(this[e(470)][e(491)],e(i?778:617));this[e(670)]({from:t,to:t,id:this[e(775)],name:s,creatorId:n})}}[ft(595)](t){const e=ft,i=this[e(685)][e(603)]();this[e(755)]=this[e(463)][e(481)](i),this[e(755)]||(this[e(755)]=this[e(670)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(540)](){const t=ft;this[t(754)]&&!this[t(630)]&&(await this[t(509)][t(516)](this[t(755)],this[t(680)]),this[t(763)][t(592)](this[t(755)]),this[t(630)]={fromVersion:this[t(755)][t(702)],authors:this[t(755)][t(756)][t(537)]()})}[ft(608)](e,i){const n=ft;let s=this[n(470)][n(726)][n(621)](n(544)),r=this[n(470)][n(726)][n(621)](n(637));if(void 0===s){s={};for(const t of this[n(470)][n(620)][n(762)][n(750)]())s[t]=""}if(n(464)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(470)][n(620)][n(762)][n(750)]())r[t]={}}let o=!1;const a=Object[n(584)](s),c=Object[n(584)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(659)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(584)](r[t])[n(588)]>0){o=!0;break}}o||(o=c[n(708)](t=>!this[n(470)][n(620)][n(762)][n(692)](t))),o&&(0,t.logWarning)(n(733),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(470)][n(726)][n(690)](n(544),e),this[n(470)][n(726)][n(690)](n(637),i)}[ft(705)](){const t=ft;if(!this[t(635)]){const e=this[t(470)][t(589)][t(621)](t(716));this[t(635)]=e[t(475)](at(this[t(470)][t(491)],t(601)))}}[ft(687)](){const t=ft;this[t(635)]&&(this[t(470)][t(589)][t(621)](t(716))[t(674)](this[t(635)]),this[t(635)]=null)}[ft(586)](t){const e=ft,i=this[e(463)][e(701)]();i[e(715)]();let n=0;for(;n<i[e(588)];){const s=i[n];if(s===this[e(755)]){n++;continue}if(s.id===this[e(775)])break;const r=t[e(758)]-s[e(758)]||t[e(702)]-s[e(702)];if(r>0)break;if(r<0)n++;else{if(!t[e(665)]&&s[e(665)])break;if(s[e(665)]||!t[e(665)]){if(t[e(734)]>s[e(734)])break;n++}else n++}}return n}[ft(467)](t){const e=ft,i=this[e(463)][e(701)]();i[e(715)](),i[e(742)]();const n=i[e(714)](i=>i[e(758)]<=t)[e(758)];return n<this[e(770)]?this[e(770)]:n}[ft(670)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(743)]({from:e,to:i});o[r(749)]=t,o[r(759)]=n,o.id=s;const a=this[r(628)](o);return this[r(680)]&&this[r(575)](o.id,o,!0),a}[ft(682)](){const t=ft;this[t(470)][t(505)][t(686)](t(753))[t(609)]({model:t(651)})}}class vt{[ft(470)];[ft(590)];[ft(458)];[ft(695)];[ft(596)];[ft(704)];[ft(477)];[ft(524)];[ft(689)];[ft(707)];[ft(488)];[ft(774)];[ft(725)];[ft(605)];[ft(616)];[ft(521)];[ft(552)];constructor(t){const e=ft;this[e(470)]=t,this[e(458)]=new Map,this[e(695)]=-1,this[e(596)]=-1,this[e(704)]=new Map,this[e(477)]=new Map,this[e(524)]=new Map,this[e(689)]=new Map,this[e(707)]=new Map,this[e(488)]=new Map,this[e(774)]=new Map,this[e(725)]=new Map,this[e(605)]=new Map,this[e(616)]=new Map,this[e(521)]=1}[ft(504)](t){const e=ft;this[e(590)]=t;const i=new Map,n=new Map,s=this[e(470)][e(620)][e(762)][e(582)][e(545)](t=>t[e(648)]);for(const t of s){const s=this[e(470)][e(620)][e(762)][e(692)](t),r=gt(s);i[e(690)](t,r),n[e(690)](t,Object[e(639)](s[e(559)]()))}const r=Array[e(722)](this[e(470)][e(620)][e(471)])[e(545)](t=>[t[e(749)],t[e(668)]()]),o=this[e(590)][e(536)];this[e(696)](o,i,r,n),this[e(552)]=this[e(521)];const a=new Map,c=new Map;for(const t of s){const i=yt(t);a[e(690)](t,i),c[e(690)](t,{})}this[e(696)](Number[e(698)],a,[],c)}[ft(495)](t,e){const i=ft;if(this[i(695)]===t&&this[i(596)]<=e)this[i(458)][i(694)]>1&&this[i(538)](this[i(596)]),this[i(593)](this[i(596)],e,!0);else{if(!this[i(458)][i(757)](t)){const e=this[i(553)](t);this[i(769)](e,t,!1)}this[i(769)](t,e,!0)}return this[i(695)]=t,this[i(596)]=e,this[i(744)]()}[ft(592)](t){const e=ft;if(!this[e(458)][e(757)](t[e(702)])){const i=this[e(553)](t[e(702)]);this[e(769)](i,t[e(702)],!1)}this[e(769)](t[e(702)],t[e(758)],!1);const i=this[e(470)][e(589)][e(621)](e(498));this[e(697)](),this[e(695)]=t[e(702)],this[e(596)]=t[e(758)];for(const n in t[e(643)]){const s=t[e(643)][n][e(483)],r=R(t[e(643)][n][e(506)])||{},o=i[e(472)](t[e(643)][n][e(510)]);o[e(648)]=n,o[e(710)]=!s||!s[e(551)],o[e(551)]=()=>o[e(710)],this[e(689)][e(690)](n,o),this[e(707)][e(690)](n,r),s&&this[e(616)][e(690)](n,s);const a=this[e(669)](o);this[e(774)][e(690)](n,a);for(const[t,i]of o[e(471)]){if(!t[e(748)](e(673)))continue;const n=t[e(746)](":")[2];for(const t of i[e(729)]({singleCharacters:!0})){const i=this[e(482)](t),s=e(656)==t[e(587)]?t[e(693)][e(623)][e(537)](0,-1):t[e(693)][e(623)],r=a[e(581)](s)[e(741)](i);this[e(725)][e(690)](r,{userId:n})}}}this[e(552)]=this[e(521)];const n=[...Array(this[e(521)])[e(584)]()][e(537)](1)[e(480)](t=>!this[e(725)][e(757)](t));let s=0;const r=new Map;for(const o in t[e(643)]){const a=t[e(643)][o][e(483)],c=R(t[e(643)][o][e(479)])||{},u=i[e(472)](t[e(643)][o][e(511)]);u[e(648)]=o,u[e(710)]=!a||a[e(551)],u[e(551)]=()=>u[e(710)],this[e(477)][e(690)](o,u),this[e(524)][e(690)](o,c);const l=this[e(669)](u,Number[e(698)]);this[e(488)][e(690)](o,l),r[e(690)](o,u[e(551)]()?c:{});for(const[t,i]of u[e(471)]){if(!t[e(748)](e(673)))continue;const n=t[e(746)](":")[2];for(const t of i[e(729)]({singleCharacters:!0})){const i=this[e(482)](t),s=this[e(521)]++,r=e(656)==t[e(587)]?t[e(693)][e(623)][e(537)](0,-1):t[e(693)][e(623)];l[e(581)](r)[e(512)](i,s),this[e(725)][e(690)](s,{userId:n})}}for(const t of this[e(470)][e(620)][e(700)](u)[e(729)]({singleCharacters:!0})){const i=this[e(482)](t),r=e(656)==t[e(587)]?t[e(693)][e(623)][e(537)](0,-1):t[e(693)][e(623)],o=l[e(581)](r);o[e(741)](i)>0||o[e(512)](i,n[s++])}for(const[t,i]of u[e(471)])t[e(748)](e(673))||this[e(704)][e(690)](t,i)}const{roots:o}=this[e(458)][e(621)](t[e(702)]),{roots:a}=this[e(458)][e(621)](t[e(758)]),c=gt(o[e(621)](e(485)));this[e(689)][e(690)](e(485),c),this[e(774)][e(690)](e(485),this[e(669)](c,Number[e(698)]));const u=gt(a[e(621)](e(485)));this[e(477)][e(690)](e(485),u),this[e(488)][e(690)](e(485),this[e(669)](u));const l=Array[e(722)](this[e(477)])[e(545)](([t,e])=>[t,gt(e)]);this[e(696)](this[e(596)],l,this[e(704)],r)}[ft(578)](){const t=ft;this[t(697)](),this[t(695)]=-1,this[t(596)]=-1,this[t(458)][t(627)](),this[t(504)](this[t(590)])}[ft(696)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(690)](t,{start:e[s(568)][s(531)](),end:e[s(607)][s(531)](),rootName:e[s(739)][s(648)]});this[s(458)][s(690)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(538)](t){const e=ft;this[e(458)][e(494)](t)}[ft(697)](){const t=ft;this[t(725)][t(627)](),this[t(605)][t(627)](),this[t(616)][t(627)](),this[t(477)][t(627)](),this[t(524)][t(627)](),this[t(689)][t(627)](),this[t(707)][t(627)](),this[t(488)][t(627)](),this[t(774)][t(627)](),this[t(704)][t(627)](),this[t(521)]=1,this[t(552)]=this[t(521)]}[ft(669)](t,e=null){const i=ft;let n=null;t.is(i(699))||(n=new K.ModelElement(t[i(749)],{vid_start:null===e?this[i(521)]++:e++}));const s=[];for(const n of t[i(736)]())if(n.is(i(641))){s[i(548)](this[i(669)](n,e));const t=s[s[i(588)]-1];null!==e&&(e=t.is(i(641),i(535))?t[i(741)](i(579))+1:t[i(741)](i(666))+1)}else for(let t=0;t<n[i(723)];t++)s[i(548)](new K.ModelElement(i(535),{vid:null===e?this[i(521)]++:e++}));if(t.is(i(699))){const e=yt(t[i(648)]);return e[i(767)](0,s),e}return n[i(512)](i(666),null===e?this[i(521)]++:e++),n[i(767)](0,s),n}[ft(769)](t,e,i){const n=ft;this[n(697)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(458)][n(621)](t);this[n(689)]=new Map(s),this[n(707)]=new Map(R(o));for(const[t,e]of this[n(689)])if(n(485)!==t&&(this[n(477)][n(690)](t,gt(e)),this[n(524)]=new Map(R(o)),i)){const i=this[n(521)];this[n(488)][n(690)](t,this[n(669)](e)),this[n(774)][n(690)](t,this[n(669)](e,i))}this[n(552)]=this[n(521)],this[n(477)][n(690)](n(485),gt(this[n(689)][n(621)](n(485)))),i&&this[n(488)][n(690)](n(485),this[n(669)](this[n(689)][n(621)](n(485))));for(const[t,e]of r){const i=this[n(689)][n(621)](e[n(648)]),s=this[n(477)][n(621)](e[n(648)]),r=new K.ModelRange(this[n(492)](e[n(568)],i),this[n(492)](e[n(607)],i)),o=this[n(597)](r,s);i[n(471)][n(690)](t,r),this[n(704)][n(690)](t,o)}this[n(593)](t,e,i)}[ft(593)](t,e,i){const n=ft;for(const s of this[n(590)][n(618)](t,e))this[n(557)](s,i);for(const t of this[n(477)][n(732)]())t[n(471)][n(627)]();for(const[t,e]of this[n(704)])this[n(477)][n(621)](e[n(739)][n(648)])[n(471)][n(690)](t,e[n(531)]());const s=new Map,r=new Map;for(const[t,e]of this[n(477)])s[n(690)](t,gt(e)),r[n(690)](t,this[n(524)][n(621)](t));this[n(696)](e,s,this[n(704)],r)}[ft(553)](t){const e=ft,i=Array[e(722)](this[e(458)][e(584)]());i[e(577)]((t,e)=>t-e),i[e(715)]();for(const e of i)if(e<t)return e;return Number[e(698)]}[ft(667)](t,e){const i=ft,n=Array[i(722)](e[i(471)])[i(545)](([e,n])=>[e,this[i(597)](n,t)]);t[i(471)]=new Map(n)}[ft(462)](t){const e=ft;for(const i of this[e(704)][e(732)]()){const n=i[e(541)](t),s=K.ModelRange[e(468)](n);i[e(568)]=s[e(568)],i[e(607)]=s[e(607)]}}[ft(557)](t,e){const i=ft;if(i(580)!=t[i(587)]&&i(706)!=t[i(587)]){if(i(631)==t[i(587)]){const n=t[i(514)][i(739)][i(648)];this[i(477)][i(757)](n)||(this[i(477)][i(690)](n,yt(n,!0)),this[i(524)][i(690)](n,{}),e&&this[i(488)][i(690)](n,yt(n,!0)))}else{if(i(709)==t[i(587)]||i(647)==t[i(587)]||i(549)==t[i(587)])return void this[i(490)](t);i(765)==t[i(587)]&&this[i(466)](t)}if(i(765)!==t[i(587)]){const e=this[i(768)](t,this[i(477)]);e[i(520)](),this[i(462)](e)}if(e)switch(t[i(587)]){case i(631):this[i(684)](t);break;case i(721):case i(674):case i(542):this[i(738)](t);break;case i(457):this[i(526)](t);break;case i(746):this[i(613)](t)}}else this[i(556)](t,e)}[ft(768)](t,e){const i=ft,n=t[i(531)]();return n[i(653)]=t[i(653)],this[i(611)](n,e),n}[ft(649)](t){const e=ft;return t[e(545)](t=>{const i=e,n=this[i(482)](t);return Number(t[i(760)][i(741)](n))})}[ft(632)](t,e){const i=ft;if(t.is(i(641),i(535)))e[i(548)]({item:t,type:i(501)});else{t.is(i(641))&&e[i(548)]({item:t,type:i(530)});for(const n of t[i(736)]())this[i(632)](n,e);t.is(i(641))&&e[i(548)]({item:t,type:i(656)})}return e}[ft(744)](){const t=ft,e=new Map(this[t(725)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(689)][t(584)](),...this[t(477)][t(584)]()]);a[t(494)](t(485));for(const e of a){const i=this[t(477)][t(621)](e)||yt(e,!1),n=this[t(689)][t(621)](e)||yt(e,!1);i[t(551)]()||n[t(551)]()?(s[t(511)][e]=gt(i),s[t(510)][e]=gt(n),this[t(667)](s[t(510)][e],n),this[t(667)](s[t(511)][e],i),r[t(511)][e]=this[t(632)](this[t(488)][t(621)](e),[]),r[t(510)][e]=this[t(632)](this[t(774)][t(621)](e)||yt(e,!1),[])):a[t(494)](e)}for(const s of a){const o=r[t(511)][s];for(const s of o){const r=this[t(482)](s),o=s[t(760)][t(741)](r);i[t(494)](o),o>=this[t(552)]&&n[t(690)](o,e[t(621)](o))}}for(const s of a){const a=r[t(511)][s],c=this[t(649)](r[t(510)][s]);let u=0;for(const s of a){const r=this[t(482)](s),a=s[t(760)][t(741)](r);if(!n[t(757)](a)&&!o[t(757)](a))if(i[t(757)](a))u++;else{if(a!=c[u]){const n=e[t(621)](a)||e[t(621)](c[u]);for(;a!=c[u];)i[t(757)](c[u])||(o[t(690)](c[u],n),e[t(690)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(511)][e];for(const e of s){const s=this[t(482)](e),r=e[t(760)][t(741)](s);if(o[t(757)](r)){const e=o[t(621)](r);i[t(757)](r)||i[t(690)](r,{...e}),n[t(690)](r,{...e})}}}for(const e of i[t(584)]())e>=this[t(552)]&&i[t(494)](e);const c=new Map;for(const e of a){let s=r[t(511)][e];for(const e of s)if(e[t(760)].is(t(641),t(591))){const i=this[t(482)](e),s=e[t(760)][t(741)](i);if(n[t(757)](s)){const i=e[t(760)][t(619)][t(619)][t(741)](t(496)),r=c[t(621)](i)||new Set;r[t(475)](n[t(621)](s)[t(622)]),c[t(690)](i,r)}}s=r[t(510)][e];for(const e of s)if(e[t(760)].is(t(641),t(591))){const n=this[t(482)](e),s=e[t(760)][t(741)](n);if(i[t(757)](s)){const n=e[t(760)][t(619)][t(619)][t(741)](t(496)),r=c[t(621)](n)||new Set;r[t(475)](i[t(621)](s)[t(622)]),c[t(690)](n,r)}}for(const e of c[t(584)]())(n[t(757)](e)||i[t(757)](e))&&c[t(494)](e)}for(const e of a){const s=r[t(511)][e];let o=null,a=null;for(const e of s){const s=this[t(482)](e),r=e[t(760)][t(741)](s),u=c[t(621)](r);u&&t(530)==e[t(587)]&&(o=Array[t(722)](u)[0],a=e[t(760)][t(741)](t(666))),o&&(i[t(690)](r,{userId:o}),n[t(690)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(510)][e],a=s[t(511)][e];for(const{userId:e}of this[t(605)][t(732)]())null!==e&&l[t(475)](e);for(const{userId:e}of this[t(616)][t(732)]())null!==e&&l[t(475)](e);this[t(525)](a,r[t(511)][e],n,t(533),l),this[t(525)](o,r[t(510)][e],i,t(737),l),u[e]={insertions:this[t(675)](a),deletions:this[t(675)](o),attachChange:this[t(616)][t(621)](e)||null,attributesBefore:R(this[t(707)][t(621)](e))||{},attributesAfter:R(this[t(524)][t(621)](e))}}return{diffData:u,authorsIds:Array[t(722)](l)}}[ft(662)](t){const e=ft;for(const[,i]of t[e(471)]){const t=i[e(568)][e(752)]()[e(480)](t=>e(591)==t[e(749)]);for(const i of t)1==i[e(563)]&&i[e(522)](0).is(e(641),e(747))&&i[e(522)](0)[e(512)](e(638),!0)}}[ft(675)](t){const e=ft;this[e(662)](t);const i=this[e(470)][e(672)][e(676)](t,{}),n=Array[e(722)](i[e(736)]())[e(545)](t=>this[e(555)](t));return JSON[e(713)](n)}[ft(555)](t){const e=ft;if(t.is(e(535)))return t[e(672)];{const i=this[e(470)][e(589)][e(621)](e(498)),n=t,s=this[e(470)][e(672)][e(527)][e(777)],r={type:i[e(547)](n),name:n[e(749)],attributes:Array[e(722)](n[e(559)]()),children:Array[e(722)](n[e(736)]())[e(545)](t=>this[e(555)](t))};if(t.is(e(534))&&e(679)!=t[e(749)]){const i=t[e(561)](s[e(606)],s);r[e(663)][e(548)](i[e(474)])}else if(t.is(e(550))){const i=s[e(606)][e(599)](n[e(749)]);t[e(561)](i,s),r[e(663)][e(548)](i[e(664)])}const o=Array[e(722)](n[e(766)]());o[e(588)]>0&&(r[e(543)]=o);const a=n[e(735)]();return null!==a&&(r[e(503)]=a),r}}[ft(525)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(470)][r(620)];for(let n=0;n<e[r(588)];n++){const s=this[r(482)](e[n]),c=e[n][r(760)][r(741)](s),h=i[r(621)](c),d=n==e[r(588)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(622)]!=o[r(622)])&&(l(h,kt(a,t,u),kt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,kt(a,t,u),bt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(622)],d=l(673)+n+":"+h+":"+c++,f=u[l(594)](i,a);t[l(471)][l(690)](d,f),null!==h&&s[l(475)](h)}}[ft(482)](t){const e=ft;switch(t[e(587)]){case e(530):return e(496);case e(656):return e(666);default:return e(579)}}[ft(611)](t,e){const i=ft;t[i(564)]=null;for(const n in t){const s=t[n];if(s instanceof K.ModelPosition){const r=e[i(621)](s[i(739)][i(648)]);t[n]=this[i(492)](s,r)}if(s instanceof K.ModelRange){const r=e[i(621)](s[i(739)][i(648)]);t[n]=this[i(597)](s,r)}i(739)===n&&(t[i(739)]=e[i(621)](t[i(739)][i(648)]))}}[ft(597)](t,e){const i=ft;return this[i(470)][i(620)][i(594)](this[i(492)](t[i(568)],e),this[i(492)](t[i(607)],e))}[ft(492)](t,e){const i=ft;return this[i(470)][i(620)][i(636)](e,t[i(623)],t[i(776)])}[ft(684)](t){const e=ft,i=this[e(488)][e(621)](t[e(514)][e(739)][e(648)]),n=this[e(492)](t[e(514)],i),s=null===t[e(653)]?null:t[e(653)]||this[e(470)][e(589)][e(621)](e(773)).me.id,r=n[e(619)],o=this[e(521)],a=[];for(const i of t[e(573)])if(i.is(e(641)))a[e(548)](this[e(669)](i));else for(let t=0;t<i[e(723)];t++)a[e(548)](new K.ModelElement(e(535),{vid:this[e(521)]++}));const c=this[e(521)];for(let t=o;t<c;t++)this[e(725)][e(690)](t,{userId:s});r[e(767)](n[e(691)],a)}[ft(738)](t){const e=ft;(t=this[e(768)](t,this[e(488)]))[e(520)]();const i=null===t[e(653)]?null:t[e(653)]||this[e(470)][e(589)][e(621)](e(773)).me.id,n=t[e(459)](),s=n[e(619)],r=n[e(691)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(522)](e);r.is(a(641),a(535))?n[a(690)](r[a(741)](a(579)),{userId:i}):(n[a(690)](r[a(741)](a(496)),{userId:i}),t(n,r,0,r[a(563)]),n[a(690)](r[a(741)](a(666)),{userId:i}))}}(this[e(725)],s,r,r+t[e(600)])}[ft(526)](t){const e=ft,i=null===(t=this[e(768)](t,this[e(488)]))[e(653)]?null:t[e(653)]||this[e(470)][e(589)][e(621)](e(773)).me.id,n=t[e(745)][e(619)],s=t[e(473)][e(619)],r=n[e(741)](e(666)),o=s[e(741)](e(496));n[e(512)](e(666),s[e(741)](e(666))),s[e(512)](e(666),r),this[e(725)][e(690)](o,{userId:i}),this[e(725)][e(690)](r,{userId:i}),t[e(520)]()}[ft(613)](t){const e=ft,i=null===(t=this[e(768)](t,this[e(488)]))[e(653)]?null:t[e(653)]||this[e(470)][e(589)][e(621)](e(773)).me.id,n=t[e(528)],s=t[e(519)][e(619)];t[e(520)]();const r=s[e(741)](e(666)),o=t[e(644)][e(476)];if(n){const t=o[e(741)](e(666)),n=s[e(741)](e(666));s[e(512)](e(666),t),o[e(512)](e(666),n),this[e(725)][e(690)](s[e(741)](e(666)),{userId:i}),this[e(725)][e(690)](o[e(741)](e(496)),{userId:i})}else{const t=this[e(521)]++,n=this[e(521)]++;s[e(512)](e(666),t),o[e(512)](e(496),n),o[e(512)](e(666),r),this[e(725)][e(690)](t,{userId:i}),this[e(725)][e(690)](n,{userId:i})}}[ft(466)](t){const e=ft;if(!t[e(493)])return;const i=(t=this[e(768)](t,this[e(477)]))[e(730)]?t[e(730)][e(739)]:null,n=t[e(626)]?t[e(626)][e(739)]:null;i&&this[e(704)][e(494)](t[e(749)]),n&&this[e(704)][e(690)](t[e(749)],t[e(626)][e(531)]());const s=null===t[e(653)]?null:t[e(653)]||this[e(470)][e(589)][e(621)](e(773)).me.id,r=t[e(749)];if(!this[e(605)][e(757)](r))return void this[e(605)][e(690)](r,{range:t[e(730)],userId:s});const o=this[e(605)][e(621)](r),a=o[e(764)],c=t[e(626)];null==a&&null==c||a&&c&&a[e(615)](c)?this[e(605)][e(494)](t[e(749)]):o[e(622)]=s}[ft(556)](t,e){const i=ft;this[i(477)][i(757)](t[i(648)])?this[i(477)][i(621)](t[i(648)])[i(710)]=t[i(523)]:(this[i(477)][i(690)](t[i(648)],yt(t[i(648)],!0)),this[i(524)][i(690)](t[i(648)],{}),e&&this[i(488)][i(690)](t[i(648)],yt(t[i(648)],!0)));const n=null===t[i(653)]?null:t[i(653)]||this[i(470)][i(589)][i(621)](i(773)).me.id,s=this[i(616)][i(621)](t[i(648)]);s&&s[i(622)]===n?this[i(616)][i(494)](t[i(648)]):this[i(616)][i(690)](t[i(648)],{userId:n,isAttached:t[i(523)]})}[ft(490)](t){const e=ft,i=this[e(524)][e(621)](t[e(739)][e(648)]);null===t[e(478)]?delete i[t[e(569)]]:i[t[e(569)]]=t[e(478)]}}function gt(t){const e=ft,i=yt(t[e(648)],t[e(551)]());for(const n of t[e(736)]()){const t=n[e(703)](!0);i[e(507)](t)}return i}function yt(t,e=!0){const i=ft,n=new K.ModelDocumentFragment;return n[i(648)]=t,n[i(710)]=e,n[i(551)]=()=>n[i(710)],n}function kt(t,e,i){const n=ft,s=n(656)==t[n(587)]?i[n(469)](t[n(760)],n(607)):i[n(576)](t[n(760)]);return i[n(636)](e,s[n(623)],s[n(776)])}function bt(t,e,i){const n=ft,s=n(530)==t[n(587)]?i[n(469)](t[n(760)],0):i[n(683)](t[n(760)]);return i[n(636)](e,s[n(623)],s[n(776)])}function wt(){const t=["insert","_generateTape","revisionHistoryLicenseKeyTrialLimit","domainLimit","_pendingAction","createPositionFromPath","rootsAttributes","keepParagraph","fromEntries","usageLimit","element","revisionHistoryLicenseKeyDomainLimit","diffData","insertionPosition","requires","revisionHistoryLicenseKeyEvaluationLimit","removeRootAttribute","rootName","_getBaseVids","ready","revision","pluginName","_authorId","initial","2GeDfaq","elementEnd","getIndex","isOfficialPlugin","trim","evaluationLimit","RealTimeCollaborationClient","_processRootBeforeSave","children","innerHTML","creator","vid_end","_copyMarkers","getRange","_makeIdsRoot","_makeRevision","117630oCXyJu","data","revision:","remove","_prepareViewToSave","toView","then","_update","$comment","adapter","featureNotAllowed","_setConversion","createPositionAfter","_handleInsertOperation","_source","for","_removePendingAction","RevisionHistory","_baseRoots","set","offset","getRoot","previousPosition","size","_lastFrom","_saveMetaData","_reset","NEGATIVE_INFINITY","documentFragment","createRangeIn","getRevisions","fromVersion","_clone","_markers","_addPendingAction","detachRoot","_baseRootsAttributes","some","addRootAttribute","_isAttached","getTime","getLatestVersion","stringify","find","reverse","PendingActions","revisionHistoryLicenseKeyExpired","770maOpjW","saveRevision","max","move","from","offsetSize","2720245kGlEpx","_touched","config","_createInitialRevision","afterInit","getWalker","oldRange","RevisionsRepository","values","editor-initial-data-replaced-with-revision-data","createdAt","getFillerOffset","getChildren","deletion","_handleMoveOperation","root","revisionHistory.resumeUnsavedRevision","getAttribute","shift","buildRevisionData","_getState","targetPosition","split","paragraph","startsWith","name","getRootNames","bind","getAncestors","dataDowncast","_continueCurrentRevision","currentRevision","authors","has","toVersion","creatorId","item","licenseKey","document","_revisionDataBuilder","range","marker","getCustomProperties","_insertChild","_cloneOperation","_calculateMetaData","_startingVersion","186fxXnzD","getOperation","Users","_baseIdsRoots","_initialRevisionId","stickiness","domConverter","Empty document","getRevisionRootsAttributes","merge","_savedMetaData","getMovedRangeStart","_isInit","setSource","_transformMarkers","repository","string","1017150GGIjgL","_handleMarkerOperation","_getFromVersion","_createFromRanges","createPositionAt","editor","markers","_makeModelFromViewString","sourcePosition","outerHTML","add","nodeAfter","_diffRoots","newValue","attributesAfter","filter","getRevision","_getVidAttributeName","attachChange","getRevisionDocumentData","$graveyard","destroy","updateRevisions","_idsRoots","createRevision","_handleRootAttributeOperation","locale","_fixPosition","affectsData","delete","getData","vid_start","expired","RevisionHistoryUtils","getUser","revisionHistoryLicenseKeyUsageLimit","text","setRevisionData","fillerOffset","init","conversion","attributesBefore","_appendChild","dataToMarker","_utils","deletions","insertions","_setAttribute","revisionHistoryLicenseKeyNotAllowed","position","update","loadRevisionData","trialLimit","isReady","splitPosition","_execute","_revisionId","getChild","isAdd","_diffRootsAttributes","_markChanges","_handleMergeOperation","htmlProcessor","graveyardPosition","authorsIds","elementStart","clone","upcast","insertion","uiElement","$text","version","slice","_removeMetaData","_licenseKeyCheckInterval","_loadState","getTransformedByOperation","reinsert","customProperties","initialData","map","675934VhlAgs","_getTypeCharForViewElement","push","changeRootAttribute","rawElement","isAttached","_startingRevisionId","_getPreviousFrom","define","_getViewJson","_handleRootOperation","_handleOperation","isPremiumPlugin","getAttributes","finally","render","addRevision","childCount","baseVersion","21672rzywiJ","_isPendingUpdate","3109844vKddUh","start","key","revisionHistoryLicenseKeyValid","revisionHistoryLicenseKeyInvalid","_bufferedUpdates","nodes","hasContent","_bufferUpdate","createPositionBefore","sort","reInit","vid","addRoot","getNodeByPath","roots","sendBufferedUpdates","keys","isEnabled","_findInsertionIndex","type","length","plugins","source","tableCell","loadState","_applyOperations","createRange","_createCurrentRevision","_lastTo","_fixRange","RevisionTracker","createElement","howMany","PENDING_ACTION_REVISION_HISTORY","resolve","getCurrentRevisionId","7262088fgynQO","_touchedMarkers","domDocument","end","_replaceEditorDataWithRevisionData","markerToData","_operations","_fixOperation","includes","_handleSplitOperation","history","isEqual","_touchedRoots","Initial revision","getOperations","parent","model","get","userId","path","invalid","collaboration.channelId","newRange","clear","addRevisionData","_showLicenseError","_loadedStateData"];return(wt=function(){return t})()}var _t=i(355),It=i(311),St=i(6),Ot=i.n(St),Tt=i(602),xt=i.n(Tt),Nt=i(557),At=i.n(Nt),Rt=i(302),Mt=i.n(Rt),Vt=i(290),Dt=i.n(Vt),Et=i(606),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(660),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Pt;function Pt(t,e){const i=zt();return(Pt=function(t,e){return i[t-=218]})(t,e)}function zt(){const t=["ck-responsive-form","render","16KvmCTE","revisionNameInputValue","errorText","add","arrowdown","label","reset","setTemplate","Name of the revision","140jEggmY","arrowleft","arrowup","62190ZJwumN","220","keystrokes","optional","input","initializeCssTransitionDisablerMixin","_createRevisionNameInput","set","796852uytmCe","extendTemplate","stopPropagation","2EnYBwg","1494900egvHVW","ck-revision-history-save-revision-form","fieldView","94132ralbTo","form","arrowright","value","focusTracker","2708595WfTvkQ","288957ERFOJP","trim","revisionNameInputView","revisionName","focus","element","locale","listenTo","1274628IsBuCb"];return(zt=function(){return t})()}!function(t){const e=Pt,i=t();for(;;)try{if(296137===parseInt(e(231))/1+-parseInt(e(227))/2*(parseInt(e(237))/3)+-parseInt(e(245))/4+parseInt(e(236))/5+-parseInt(e(228))/6+-parseInt(e(224))/7*(-parseInt(e(248))/8)+parseInt(e(260))/9*(parseInt(e(257))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(235)];[Lt(218)];[Lt(239)];constructor(e,i){const n=Lt;super(e),this[n(235)]=new t.FocusTracker,this[n(218)]=new t.KeystrokeHandler,this[n(223)](n(249),""),this[n(239)]=this[n(222)](i),this[n(255)]({tag:n(232),attributes:{class:["ck",n(229),n(246)],tabindex:"-1"},children:[this[n(239)]]}),this[n(221)]()}[Lt(247)](){const t=Lt;super[t(247)](),(0,It.submitHandler)({view:this}),this[t(235)][t(251)](this[t(239)][t(242)]),this[t(218)][t(244)](this[t(242)]);const e=e=>e[t(226)]();this[t(218)][t(223)](t(233),e),this[t(218)][t(223)](t(258),e),this[t(218)][t(223)](t(259),e),this[t(218)][t(223)](t(252),e)}[Lt(241)](){const t=Lt;this[t(239)][t(241)]()}get[Lt(240)](){const t=Lt;return this[t(239)][t(230)][t(242)][t(234)][t(238)]()}set[Lt(240)](t){const e=Lt;this[e(239)][e(230)][e(242)][e(234)]=t[e(238)]()}[Lt(254)](){const t=Lt;this[t(239)][t(230)][t(242)][t(234)]="",this[t(239)][t(250)]=null}[Lt(222)](t){const e=Lt,i=new It.LabeledFieldView(this[e(243)],It.createLabeledInputText),n=i[e(230)];n[e(225)]({attributes:{maxlength:e(261)}});let s=at(this[e(243)],e(256));return!t&&(s+=" ("+at(this[e(243)],e(219))+")"),i[e(253)]=s,n.on(e(220),()=>{const t=e;this[t(249)]=n[t(242)][t(234)][t(238)]()}),i}}const Ut=Ht;function Zt(){const t=["items","isEnabled","menuBar:revisionHistory","_showDialog","15403176xwTkhe","Open revision history","_createSaveRevisionFormView","buttonView","5083662dULPJA","Dialog","submit","saveRevision","hide","Accept","panelView","menu","Save current revision","_saveRevisionFormView","editing","isOfficialPlugin","children","bind","errorText","isReadOnly","focus","editor","27zSkymg","103254reUZlP","isPremiumPlugin","pluginName","RevisionHistoryUI","3940808PedEWo","execute","revisionName","isOpen","revisionHistory.requireRevisionName","requires","addMany","showRevisionViewerCallback","view","show","add","render","The revision name cannot be empty.","reset","9858541VcKHrL","Revision history","role","RevisionTracker","set","config","_registerMenuComponent","revisionNameInputView","6751830yLNkty","componentFactory","893512yRXpeb","revisionSave","menuitem","locale","isReady","Cancel","delegate","ck-button-action","5uaxOag","revisionHistory","get","init","plugins"];return(Zt=function(){return t})()}function Ht(t,e){const i=Zt();return(Ht=function(t,e){return i[t-=377]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(855518===-parseInt(e(407))/1*(parseInt(e(408))/2)+parseInt(e(389))/3+-parseInt(e(412))/4+-parseInt(e(444))/5*(-parseInt(e(434))/6)+-parseInt(e(426))/7+parseInt(e(436))/8+parseInt(e(385))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends G.Plugin{static get[Ut(410)](){return Ut(411)}static get[Ut(400)](){return!0}static get[Ut(409)](){return!0}static get[Ut(417)](){return[pt]}[Ut(398)];[Ut(379)](){const t=Ut,e=this[t(406)],i=e[t(380)][t(378)](t(429));e.ui[t(435)][t(422)](t(377),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(395)][s(401)],a=new It.ListView(n),c=new It.ListItemView(n),u=new It.ButtonView(n),l=new It.ListItemView(n),h=new It.ButtonView(n);return r[s(402)](s(382)).to(i,s(440),i,s(382),e,s(404),(t,e,i)=>t&&e&&!i),r[s(388)][s(430)]({icon:_t.IconHistory,label:at(n,s(427)),tooltip:!0}),u[s(430)]({label:at(n,s(397)),withText:!0,role:s(438)}),u[s(402)](s(382)).to(i,s(440),i,s(382),e,s(404),(t,e,i)=>t&&e&&!i),u.on(s(413),()=>this[s(384)]()),h[s(430)]({label:at(n,s(386)),withText:!0,role:s(438)}),h[s(402)](s(382)).to(i,s(440),e,s(404),(t,e)=>t&&!e),h.on(s(413),()=>{const t=s;e[t(431)][t(378)](t(377))[t(419)](),r[t(415)]=!1,e[t(399)][t(420)][t(405)]()}),c[s(401)][s(422)](u),l[s(401)][s(422)](h),a[s(428)]=s(396),a[s(381)][s(418)]([c,l]),o[s(422)](a),r}),e.ui[t(435)][t(422)](t(383),()=>this[t(432)]())}[Ut(432)](){const t=Ut,e=this[t(406)],i=e[t(439)],n=new It.MenuBarMenuView(i),s=new It.MenuBarMenuListView(i);n[t(388)][t(430)]({icon:_t.IconHistory,label:at(i,t(427))});const r=new It.MenuBarMenuListItemView(i,n),o=new It.MenuBarMenuListItemButtonView(i);o[t(430)]({label:at(i,t(397))}),o[t(442)](t(413)).to(n),o.on(t(413),()=>{this[t(384)]()}),r[t(401)][t(422)](o),s[t(381)][t(422)](r);const a=new It.MenuBarMenuListItemView(i,n),c=new It.MenuBarMenuListItemButtonView(i);return c[t(430)]({label:at(i,t(386))}),c[t(442)](t(413)).to(n),c.on(t(413),()=>{const i=t;e[i(431)][i(378)](i(377))[i(419)]()}),a[t(401)][t(422)](c),s[t(381)][t(422)](a),n[t(395)][t(401)][t(422)](s),n}[Ut(384)](){const t=Ut,e=this[t(406)],i=e[t(439)],n=e[t(380)][t(378)](t(390)),s=e[t(380)][t(378)](t(429));function r(s){const r=t;e[r(431)][r(378)](r(416))&&""===s[r(414)]?s[r(433)][r(403)]=at(i,r(424)):(e[r(380)][r(378)](pt)[r(392)]({name:s[r(414)]}),n[r(393)]())}this[t(398)]||(this[t(387)](),this[t(398)].on(t(391),()=>r(this[t(398)]))),this[t(398)][t(425)](),n[t(421)]({id:t(437),title:at(i,t(397)),isModal:!0,content:this[t(398)],actionButtons:[{label:at(e[t(439)],t(441)),withText:!0,onExecute:()=>n[t(393)]()},{label:at(e[t(439)],t(394)),class:t(443),withText:!0,onCreate(i){const n=t;i[n(402)](n(382)).to(s,n(440),s,n(382),e,n(404),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(398)])}]})}[Ut(387)](){const t=Ut,e=this[t(406)],i=e[t(439)];this[t(398)]=new Wt(i,e[t(431)][t(378)](t(416))),this[t(398)][t(423)]()}}const $t=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=317]})(t,e)}function Jt(){const t=["ck-revision-change__label","ck-annotation","isSuggestion","add","Added by","1593096JZQpFe","ck-revision-change__","ck-revision-change","changeId","bindTemplate","focus","2cDKKzu","element","setTemplate","10qDzfre","data","_model","span","author","20814ijmxUZ","160044gDSDyD","Removed by","Suggested by","724254sQPsPW","name","set","94258enMUlT","7ARhrJN","type","div","1007240DGRDkv","1028997jPMtcU"];return(Jt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(102523===parseInt(e(342))/1+parseInt(e(327))/2*(-parseInt(e(335))/3)+-parseInt(e(336))/4*(-parseInt(e(330))/5)+parseInt(e(339))/6+-parseInt(e(343))/7*(parseInt(e(321))/8)+parseInt(e(347))/9+-parseInt(e(346))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt extends It.View{[$t(324)];[$t(332)];constructor(t,e){const i=$t;super(t),this[i(332)]=e,this[i(324)]=e.id;const n=this[i(325)],s=at(t,e[i(331)][i(318)]?i(338):i(319)==e[i(344)]?i(320):i(337));this[i(341)](i(344),e[i(344)]),this[i(329)]({tag:i(345),attributes:{class:[i(317),i(323),n.to(i(344),t=>i(322)+t)],tabindex:-1},children:[{tag:i(333),children:[{tag:i(333),attributes:{class:[i(348)]},children:[{text:s}]},{text:" "+e[i(334)][i(340)]}]}]})}[$t(326)](){const t=$t;this[t(328)][t(326)]()}}function Gt(){var t=["type","set","11vWLqRf","7908kCBqtV","data","author","229956scVyNB","18616cWYiTq","1041120nexOpY","2ZNNJFg","createdAt","25LhaWKe","11972nupEnX","3987hbPzNn","1137444qfGblo","toJSON","3ifavbW","8411pMWWMh","11244422VlJliE","rootName"];return(Gt=function(){return t})()}function Xt(t,e){var i=Gt();return(Xt=function(t,e){return i[t-=253]})(t,e)}var Kt=Xt;!function(t){for(var e=Xt,i=t();;)try{if(816987===parseInt(e(271))/1*(parseInt(e(268))/2)+-parseInt(e(255))/3*(parseInt(e(253))/4)+parseInt(e(270))/5*(parseInt(e(265))/6)+parseInt(e(257))/7+parseInt(e(266))/8*(-parseInt(e(272))/9)+-parseInt(e(267))/10*(parseInt(e(261))/11)+parseInt(e(262))/12*(parseInt(e(256))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Qt extends((0,t.ObservableMixin)()){id;[Kt(264)];[Kt(259)];[Kt(263)];[Kt(258)];constructor(e){var i=Kt;super(),this.id=e.id||(0,t.uid)(),this[i(264)]=e[i(264)],this[i(259)]=e[i(259)],this[i(263)]=e[i(263)]||{},this[i(258)]=e[i(258)],this[i(260)](i(269),e[i(269)])}[Kt(254)](){var t=Kt;return{id:this.id,authorId:this[t(264)].id,type:this[t(259)],data:this[t(263)],createdAt:this[t(269)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=188]})(t,e)}function ie(){const t=["changes","970450tcZLst","newRevisionId","304zGgTQw","639pwkCyL","1437426vfEfil","9249MJVxuZ","_setChanges","2002992UsEAIv","798819CPXJde","oldRevisionId","8740GQJsJV","1SHZaDF","264692AHsLTp","add"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(213824===parseInt(e(188))/1*(parseInt(e(189))/2)+-parseInt(e(197))/3*(-parseInt(e(194))/4)+-parseInt(e(192))/5+parseInt(e(196))/6+parseInt(e(200))/7+-parseInt(e(199))/8+parseInt(e(195))/9*(-parseInt(e(202))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[te(193)];[te(201)];[te(191)];constructor(e,i){const n=te;this[n(193)]=e,this[n(201)]=i,this[n(191)]=new t.Collection}[te(198)](t){const e=te;for(const i of t)this[e(191)][e(190)](i)}}var se=i(316),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ae;function ae(t,e){const i=ue();return(ae=function(t,e){return i[t-=337]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(377608===-parseInt(e(354))/1*(-parseInt(e(490))/2)+-parseInt(e(584))/3+-parseInt(e(427))/4*(-parseInt(e(509))/5)+parseInt(e(402))/6*(parseInt(e(341))/7)+parseInt(e(389))/8*(-parseInt(e(556))/9)+-parseInt(e(470))/10+-parseInt(e(473))/11*(parseInt(e(514))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ce extends G.Plugin{[oe(589)];[oe(491)]=null;[oe(489)];[oe(423)];[oe(513)];[oe(526)];[oe(498)];static get[oe(408)](){return oe(592)}static get[oe(469)](){return!0}static get[oe(421)](){return!0}static get[oe(548)](){return[X.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(589)]=this[e(532)][e(505)][e(430)](e(611)),this[e(489)]=this[e(532)][e(505)][e(430)](e(640)),this[e(601)](e(645),null),this[e(601)](e(520),null),this[e(423)]=null,this[e(601)](e(660),null),this[e(601)](e(537),!1),this[e(601)](e(401),!0),this.on(e(608),(t,i,n)=>{const s=e;this[s(645)]=null,this[s(520)]=null,this[s(532)][s(615)][s(636)][s(479)](t=>{const e=s;for(const i of this[e(532)][e(615)][e(636)][e(588)][e(542)])n?t[e(458)](e(440),i):t[e(623)](e(440),i)})}),this[e(374)](e(603)).to(this,e(645),t=>null!==t),this[e(374)](e(518)).to(this,e(537),this,e(660),this,e(645),(t,i,n)=>t&&n?i[e(484)][e(462)](n):0),this[e(374)](e(379)).to(this,e(537),this,e(660),(t,i)=>t?i[e(484)][e(628)]:0),this[e(513)]=null,this[e(526)]=new Map,this[e(498)]=this[e(532)][e(505)][e(430)](It.ContextualBalloon)}[oe(517)](){const t=oe,e=this[t(532)],i=new de(e,{direction:t(422)}),n=new de(e,{direction:t(428)});e[t(650)][t(586)](t(390),i),e[t(650)][t(586)](t(478),n),e[t(650)][t(586)](t(386),new he(e)),this.on(t(539),()=>{const e=t;i[e(342)](),n[e(342)]()}),this[t(465)](),this[t(568)](),e[t(653)](t(434)),e[t(505)][t(654)](t(656))&&e[t(505)][t(430)](t(656))[t(585)](t(434))}async[oe(572)](t){const e=oe;return await this[e(489)][e(487)](t,this[e(491)]),this[e(489)][e(572)](t)}async[oe(492)](t){const e=oe;return await this[e(489)][e(487)](t,this[e(491)]),this[e(489)][e(492)](t)}async[oe(531)](t,e,i=!1){const n=oe;if(!this[n(401)])return;const s=this[n(660)],r=this[n(589)],o=n(581)==typeof t?r[n(486)](t):t,a=n(581)==typeof e?r[n(486)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(660)]&&this[n(660)][n(339)]===c&&this[n(660)][n(519)]===u)return Promise[n(350)]();this[n(537)]=!1,this[n(520)]=null,this[n(645)]=null,this[n(660)]=new ne(c,u);const l=this[n(467)](o,a,!0)[n(426)](t=>this[n(489)][n(487)](t,this[n(491)]));return l[n(347)](new Promise(t=>{setTimeout(t,20)})),Promise[n(646)](l)[n(557)](()=>{const t=n;if(!this[t(401)])return;this[t(571)]();const e=this[t(564)](c,u);for(const i of e[t(484)])this[t(526)][t(601)](i.id,i);this[t(532)][t(366)][t(417)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(532)][n(366)][n(588)][n(452)]())i[n(355)](t);for(const t of Object[n(411)](e[n(366)])){const s=i[n(508)](t);for(const r of Object[n(411)](e[n(377)][t]))i[n(604)](r,e[n(377)][t][r],s);i[n(357)](e[n(366)][t],s,0)}}),this[t(660)][t(563)](this[t(648)](e[t(484)])),this[t(537)]=!0})[n(476)](t=>{const e=n;console[e(593)](t),this[e(571)](),s&&(this[e(660)]=s),this[e(537)]=!0})}[oe(528)](t,e){const i=oe,n=this[i(589)][i(414)](t);return n.on(i(471),(t,i,s)=>e(i,s,n)),this[i(589)][i(591)](n),n}[oe(571)](){const t=oe;this[t(645)]=null,this[t(619)](),this[t(513)]&&this[t(513)][t(349)](),this[t(513)]=null,this[t(526)][t(638)](),this[t(532)][t(366)][t(417)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(532)][i(366)][i(588)][i(452)]())e[i(355)](t)})}[oe(648)](t){const e=oe,i=[],n=new Map;for(const t of this[e(532)][e(366)][e(588)][e(452)]()){const s=this[e(532)][e(615)][e(636)][e(521)](t);if(!s)continue;const r=s[e(464)]()[e(544)](0);r&&(i[e(347)](t),n[e(601)](t,r))}return i[e(661)]((t,i)=>{const s=e,r=n[s(430)](t),o=n[s(430)](i);return r.y-o.y||r.x-o.x}),(t=t[e(352)](t=>i[e(655)](t[e(378)])))[e(661)]((t,n)=>i[e(461)](t[e(378)])-i[e(461)](n[e(378)])),t}[oe(409)](t){const e=oe,i=Array[e(579)](t[e(507)])[e(352)](([t,i])=>t[e(649)](e(545))&&!i[e(399)]),n=Array[e(579)](this[e(532)][e(366)][e(437)](t)[e(360)]({singleCharacters:!0}));if(0!=i[e(628)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(375)](":");if(s[e(634)][e(651)](t[e(576)])&&i[e(477)](),(t[e(630)][e(651)](s[e(373)])||t[e(630)][e(387)](s[e(373)]))&&(e(530)==r?t[e(442)]={userId:o}:e(559)==r&&(t[e(407)]={userId:o})),0==i[e(628)])break}return n}[oe(664)](t){const e=oe,i=new Map;for(let n=0;n<t[e(628)];n++)e(463)===t[n][e(534)]?(t[n][e(544)][e(429)]=n,t[n][e(544)][e(439)]=n):(e(343)===t[n][e(534)]?t[n][e(544)][e(429)]=n:e(397)===t[n][e(534)]&&(t[n][e(544)][e(439)]=n),i[e(601)](t[n].id,n));for(const n of i[e(438)]())e(343)===t[n][e(534)]?t[n][e(544)][e(439)]=i[e(430)](t[n][e(367)]):e(397)===t[n][e(534)]&&(t[n][e(544)][e(429)]=i[e(430)](t[n][e(367)]))}[oe(445)](t){const e=oe;for(let i=0;i<t[e(628)];i++){if(e(343)===t[i][e(534)])t[i][e(544)][e(429)]=i;else if(e(397)===t[i][e(534)]){t[i][e(544)][e(439)]=i;const n=t[i][e(544)][e(429)];t[n][e(367)]=t[i].id,t[i][e(367)]=t[n].id}else t[i][e(544)][e(429)]=i,t[i][e(544)][e(439)]=i,t[i][e(367)]=null;t[i][e(543)]||(t[i][e(543)]=[],t[i][e(454)]=[])}}[oe(594)](t,e){const i=oe,n=t[i(352)](t=>!t[i(442)]);for(let t=0;t<e[i(628)];t++)e[t][i(442)]&&(n[t][i(442)]=e[t][i(442)])}[oe(564)](t,e=null){const i=oe,n=this[i(589)][i(486)](t),s=e?this[i(589)][i(486)](e):null,r=this[i(467)](n,s),o=r[r[i(628)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(628)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(411)](e[i(569)]))if(e[i(569)][t][i(450)]){const n=e[i(569)][t][i(450)];n[i(457)]?(u[i(586)](t),l[i(654)](t)&&l[i(430)](t)[i(500)]==n[i(500)]?l[i(523)](t):l[i(601)](t,n)):l[i(654)](t)?(u[i(523)](t),l[i(523)](t)):(u[i(586)](t),l[i(601)](t,n))}else u[i(586)](t)}for(const t of u){const e=l[i(654)](t)&&!l[i(430)](t)[i(457)];let n=e?r[i(628)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(569)][t]){const n=e?o[i(569)][t][i(433)]:o[i(569)][t][i(617)];c[i(377)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(366)]={};for(const e of t[i(574)])a[i(601)](e.id,e);for(const e of u){const n=t[i(569)][e]?t[i(569)][e][i(363)]:"[]",s=t[i(569)][e]?t[i(569)][e][i(602)]:"[]";t[i(366)][e]={insertions:this[i(489)][i(391)](n),deletions:this[i(489)][i(391)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(579)](n[i(366)][t][i(363)][i(507)])[i(352)](([t])=>!t[i(649)](i(545))));let h=0;for(const o of r){const r=this[i(409)](o[i(366)][t][i(363)]);o==n?(e=r,s=e[i(628)],e[i(412)](t=>{t.id=h++}),this[i(445)](e)):this[i(594)](e,r);const a=e[i(352)](t=>!t[i(442)])[i(426)](t=>t.id);let c=0;const l=this[i(409)](o[i(366)][t][i(602)]);l[i(412)](t=>{t[i(407)]?t.id=s++:t.id=a[c++]}),this[i(445)](l),this[i(446)](e,i(442)),this[i(446)](l,i(407)),o==n&&this[i(383)](e,u),e=this[i(364)](e,l),this[i(664)](e),this[i(446)](e,i(407))}e=e[i(352)](t=>!(t[i(442)]&&t[i(407)]));const d=new Map(o[i(366)][t][i(602)][i(507)]),f=new Set(u[i(411)]());for(const t of d[i(411)]())f[i(523)](t);this[i(555)](e,f),this[i(404)](e),e=this[i(474)](e),e=this[i(394)](e),e=this[i(406)](e);const{root:m,changes:p}=this[i(396)](e,a,t);c[i(366)][t]=m;const v=l[i(430)](t);if(v){const e=a[i(430)](v[i(500)]),n=new Qt({author:e,type:v[i(457)]?i(586):i(346),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(643)](n),c[i(377)][t][i(558)]=n.id}c[i(484)]=c[i(484)][i(372)](p)}return c}[oe(383)](t,e){const i=oe;for(let n=0;n<t[i(628)];n++)for(const[s,r]of e)!r[i(399)]&&r[i(373)][i(651)](t[n][i(630)])&&t[n][i(543)][i(347)](s),r[i(634)][i(651)](t[n][i(576)])&&t[n][i(454)][i(347)](s)}[oe(364)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(628)]||r<e[i(628)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(347)](o);else if(a[i(407)]&&o[i(442)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(448)](t,s,e,r);n=n[i(372)](o),s=a,r=c}else a[i(407)]?(r++,n[i(347)](a)):(s++,n[i(347)](o))}return n}[oe(555)](t,e){const i=oe,n=[];for(let o=0;o<t[i(628)];o++){for(let r=0;r<t[o][i(543)][i(628)];r++){const a=t[o][i(543)][r];if(!e[i(654)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(626)!=c||i(530)!=u&&i(559)!=u||(n[i(643)]({type:u,name:a,userId:l}),t[o][i(543)][i(449)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(454)][i(628)];r++){const a=t[o][i(454)][r];if(!e[i(654)](a))continue;const{group:c,type:u}=s(a);if(i(626)!=c||i(530)!=u&&i(559)!=u)continue;t[o][i(454)][i(449)](r,1),r--;const l=n[i(610)](t=>t[i(637)]==a);l>-1&&n[i(449)](l,1)}}function s(t){const e=i,n=t[e(375)](":");return{group:n[0],type:n[1],subType:n[e(628)]>=5?n[2]:null,id:n[e(628)]<5?n[2]:n[3],authorId:n[e(628)]<5?n[3]:n[4],markerCount:6==n[e(628)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(628)];i++){if(t[e(442)]&&e(530)==n[i][e(534)]&&t[e(442)][e(500)]==n[i][e(500)])return t[e(432)]=n[i],void delete t[e(442)];if(!t[e(442)]&&!t[e(407)]&&e(559)==n[i][e(534)])return void(t[e(460)]=n[i])}}}[oe(446)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(601)](o.id,n);for(let n=0;n<t[i(628)];n++){if(i(407)==e&&t[n][i(442)]||i(442)==e&&t[n][i(407)])continue;if(i(463)==t[n][i(534)]){t[n][i(362)]=0;continue}const s=r[i(430)](t[n][i(367)]),o=r[i(430)](t[n].id);t[n][i(362)]=s-o}}[oe(467)](t,e,i=!1){const n=oe,s=[];let r=this[n(589)][n(462)](t),o=this[n(589)][n(462)](e);for(-1==o&&(o=this[n(589)][n(368)][n(628)],i=!1);r<o;)s[n(347)](this[n(589)][n(486)](r)),r++;return i&&s[n(347)](this[n(589)][n(486)](r)),s}[oe(448)](t,e,i,n){const s=oe,r=this[s(532)][s(366)][s(370)];let o=e;for(;t[o]&&t[o][s(442)];)o++;let a=n;for(;i[a]&&i[a][s(407)];)a++;u(t,e,o),u(i,n,a);const c=i[s(652)](n,a)[s(372)](t[s(652)](e,o));return c[s(661)]((t,e)=>t[s(506)]!=e[s(506)]?t[s(506)]-e[s(506)]:t[s(578)]!=e[s(578)]?t[s(578)]-e[s(578)]:t[s(362)]!=e[s(362)]?e[s(362)]-t[s(362)]:!!t[s(442)]!=!!e[s(442)]?-1==t[s(506)]||0==t[s(506)]?t[s(442)]?-1:1:t[s(442)]?1:-1:t[s(410)]-e[s(410)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(551)],c=!0;for(let s=e;s<i;s++)if(r[n(337)](t[s][n(544)])||(c=!1),t[s][n(544)][n(429)]<e&&(o=s),t[s][n(544)][n(439)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(506)]=s<=o?-1:s<a?0:1,t[s][n(410)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(362)]?t[i][n(578)]=u:(u++,t[i][n(578)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(506)]&&(t[s][n(578)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(362)]?t[e][n(578)]=u:(u--,t[e][n(578)]=u,u--)}}[oe(404)](t){const e=oe,i=new Map,n=this[e(532)][e(366)][e(370)];for(let s=1;s<t[e(628)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(463)==c[e(534)])continue;if(c[e(534)]!=u[e(534)])continue;if(!n[e(629)](u[e(544)])||n[e(552)](u[e(544)]))continue;if(!n[e(629)](c[e(544)])||n[e(552)](c[e(544)]))continue;if((t[s][e(442)]||t[s][e(432)])&&t[s-1][e(407)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(407)]||!t[s-1][e(442)]&&!t[s-1][e(432)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(578)]==o[e(578)],h=Math[e(536)](r[e(578)])<Math[e(536)](o[e(578)])&&0==o[e(362)];(l||h)&&(i[e(601)](o.id,r.id),t[e(449)](a,1),s--,r[e(442)]=!1)}for(let n=0;n<t[e(628)];n++)i[e(654)](t[n][e(367)])&&(t[n][e(367)]=i[e(430)](t[n][e(367)]))}[oe(474)](t){const e=oe,i=new Set(t[e(426)](t=>t.id));for(let n=0;n<t[e(628)];n++)i[e(654)](t[n][e(367)])||0==t[n][e(362)]||(t[n][e(380)]=!0);return t[e(352)](t=>!t[e(380)])}[oe(394)](t){const e=oe,i=new Set;for(let n=0;n<t[e(628)];n++){if(i[e(654)](t[n].id)&&t[n][e(407)]&&(t[n][e(380)]=!0),t[n][e(380)])continue;if(0==t[n][e(362)])continue;if(e(343)!=t[n][e(534)])continue;if(null==t[n][e(367)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(367)];)e(343)==t[s][e(534)]?r++:e(397)==t[s][e(534)]&&r--,s++;if(0!=r)if(t[n][e(407)])t[n][e(380)]=!0;else for(;s!=n;)t[s][e(407)]&&0!=t[s][e(362)]&&(t[s][e(380)]=!0,i[e(586)](t[s][e(367)])),s--}return t[e(352)](t=>!t[e(380)])}[oe(406)](t){const e=oe,i=this[e(532)][e(366)][e(370)];for(let n=0;n<t[e(628)];n++){if(!(t[n][e(442)]||t[n][e(432)]||t[n][e(407)]||t[n][e(460)]))continue;if(0==t[n][e(362)])continue;const s=t[n][e(544)];i[e(629)](s)||i[e(552)](s)||(t[n][e(442)]&&delete t[n][e(442)],t[n][e(432)]&&delete t[n][e(432)],t[n][e(460)]&&delete t[n][e(460)],t[n][e(407)]&&(t[n][e(380)]=!0))}return t[e(352)](t=>!t[e(380)])}[oe(396)](t,e,i){const n=oe,s=new K.ModelDocumentFragment,r=[],o=new Map,a=this[n(532)][n(366)],c=a[n(370)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(628)];e++)if(n(343)===t[e][n(534)]){t[e][n(630)]=a[n(663)](s,f);const i=new K.ModelElement(t[e][n(544)][n(637)],t[e][n(544)][n(565)]());u[0][n(499)](i),f[n(347)](0),u[n(643)](i),t[e][n(576)]=a[n(663)](s,f)}else n(397)===t[e][n(534)]?(u[n(477)](),t[e][n(630)]=a[n(663)](s,f),f[n(444)](),f[f[n(628)]-1]++,t[e][n(576)]=a[n(663)](s,f)):(t[e][n(630)]=a[n(663)](s,f),d?d[n(381)]+=t[e][n(544)][n(338)]:d=new K.ModelText(t[e][n(544)][n(338)],t[e][n(544)][n(565)]()),t[e+1]&&n(463)===t[e+1][n(534)]&&v(d,t[e+1][n(544)])||(u[0][n(499)](d),d=null),f[f[n(628)]-1]+=t[e][n(544)][n(570)],t[e][n(576)]=a[n(663)](s,f));for(let e=0;e<t[n(628)];e++){const i=t[e][n(630)],s=t[e][n(576)];for(const s of t[e][n(543)])o[n(601)](s,{start:i,end:null});m(n(460),e,i,s),m(n(432),e,i,s),m(n(407),e,i,s),m(n(442),e,i,s);for(const i of t[e][n(454)]){const t=o[n(430)](i);t?t[n(634)]=s:o[n(601)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(532)][n(366)][n(361)](e[n(373)],e[n(634)]);s[n(507)][n(601)](t,i)}return r[n(661)]((t,e)=>{const i=n,r=s[i(507)][i(430)](i(545)+t.id),o=s[i(507)][i(430)](i(545)+e.id);return r[i(373)][i(515)](o[i(373)])?-1:r[i(373)][i(387)](o[i(373)])?1:r[i(634)][i(515)](o[i(634)])?-1:r[i(634)][i(387)](o[i(634)])?1:i(586)===t[i(534)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(500)]:null,d=i===t[o(628)]-1,f=h[e][0],m=c[o(573)](t[i][o(544)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(634)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(500)]!==u&&(l[e][o(634)]=s,f&&f[o(500)]===l[e][o(500)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(343)!==t[i][o(534)]||f&&f[o(500)]===u||h[e][o(643)]({userId:u,object:t[i][o(544)],change:l[e]}),o(397)===t[i][o(534)]&&f&&f[o(524)]===t[i][o(544)]&&(h[e][o(477)](),l[e]=f[o(479)])),l[e]&&d&&(l[e][o(634)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(544)],f=a[h(370)][h(629)](d)&&!a[h(370)][h(552)](d),m=t[h(612)]==o[h(535)]&&o[h(497)];if(f&&m)return;const p=a[h(361)](t,o),v=e[h(430)](u),g=new Qt({author:v,type:h(442)==l||h(432)==l?h(586):h(346),data:{isSuggestion:h(432)==l||h(460)==l},createdAt:new Date,rootName:i});r[h(347)](g),s[h(507)][h(601)](h(545)+g.id,p)}function v(t,e){const i=n,s=t[i(565)](),r=e[i(565)]();for(const t of s){if(t[1]!==e[i(633)](t[0]))return!1;r[i(596)]()}return r[i(596)]()[i(493)]}}[oe(465)](){const t=oe;this[t(532)][t(431)][t(635)](t(455))[t(416)]({view:t(371)}),this[t(532)][t(431)][t(635)](t(382))[t(533)]({model:t(371),view:e=>{const i=t,n=e[i(340)][i(375)](":")[1],s=this[i(392)](n);if(!s)return null;const r=i(586)==s[i(534)]?i(530):i(559),o=[i(613),i(456)+r];return s[i(338)][i(575)]&&o[i(347)](i(456)+r+i(348)),this[i(645)]==s&&o[i(347)](i(398)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(532)][t(431)][t(635)](t(455))[t(586)](e=>{const i=t;e.on(i(365),(t,e,n)=>{const s=i,r=e[s(631)][s(605)](0);if(!r||!r.is(s(494),s(662)))return;if(!n[s(554)][s(567)](r,{attributes:[s(621),s(622)]}))return;const o=e[s(627)][s(373)][s(612)];n[s(516)][s(604)](s(621),r[s(633)](s(621)),o),n[s(516)][s(604)](s(622),r[s(633)](s(622)),o)},{priority:i(424)})}),this[t(532)][t(431)][t(635)](t(455))[t(586)](e=>{const i=t;e.on(i(494),(t,e,n)=>{const s=i;if(!n[s(554)][s(567)](e[s(631)],{attributes:[s(621),s(622)]}))return;if(e[s(627)][s(399)])return;const r=e[s(627)][s(373)][s(612)];r[s(385)](s(621))||r[s(385)](s(595))||(n[s(516)][s(604)](s(621),e[s(631)][s(633)](s(621)),r),n[s(516)][s(604)](s(622),e[s(631)][s(633)](s(622)),r))},{priority:i(424)})}),this[t(532)][t(431)][t(635)](t(455))[t(459)]({view:{name:t(468),attributes:{vid:!0}},model:{key:t(595),value:e=>e[t(633)](t(595))}}),this[t(532)][t(366)][t(370)].on(t(560),(e,[,i])=>{const n=t;[n(621),n(622),n(595)][n(655)](i)&&(e[n(466)]=!0,e[n(405)]())},{priority:t(495)}),this[t(532)][t(431)][t(635)](t(657))[t(586)](e=>{const i=t;e.on(i(547),(t,e,n)=>{const s=i;if(" "!=e[s(544)][s(338)]||e[s(544)][s(535)][s(441)]>1)return;if(!n[s(554)][s(567)](e[s(544)],t[s(637)]))return;const r=n[s(516)],o=n[s(529)][s(583)](e[s(400)]);r[s(485)](o,r[s(388)](s(468)))})}),this[t(532)][t(431)][t(635)](t(657))[t(538)]({model:t(371)}),this[t(532)][t(615)][t(413)].on(t(503),function(e){const i=t,n=e[i(505)][i(430)](i(592));return(t,s,r)=>{const o=i,a=s[o(340)][o(375)](":")[1],c=n[o(392)](a);if(!c)return null;const u=o(586)==c[o(534)]?o(375):o(620);if(!r[o(554)][o(644)](s[o(359)],t[o(637)]))return;const l=s[o(359)][o(360)](),h=s[o(359)][o(373)],d=e[o(366)][o(370)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(544)];p=p||d[o(453)](e);const i=r[o(529)][o(443)](e);if(i&&i[o(577)](o(415)))return;o(397)==t[o(534)]&&d[o(629)](e)&&!d[o(552)](e)&&(e[o(522)]||h[o(597)]?f&&f[o(535)]==e||(f=e,g(t[o(630)]),v=!0):m=m||t[o(630)])}function g(t){const e=o,i=r[e(516)][e(502)](e(468),{class:e(456)+u}),a=r[e(529)][e(435)](t);c[e(338)][e(575)]&&r[e(516)][e(623)](e(456)+u+e(348),i),n[e(645)]==c&&r[e(516)][e(623)](e(398),i),r[e(516)][e(357)](a,i),r[e(529)][e(425)](i,s[e(340)])}p||v||!m||g(m)}}(this[t(532)]),{priority:t(501)}),this[t(532)][t(615)][t(413)].on(t(403),(e,i,n)=>{const s=t,r=n[s(529)][s(472)](i[s(340)]);if(r)for(const t of r)(t[s(420)](s(488))||t[s(420)](s(616)))&&(n[s(529)][s(369)](t,i[s(340)]),n[s(516)][s(346)](t))},{priority:t(501)}),this[t(532)][t(615)][t(413)].on(t(503),(e,i,n)=>{const s=t,r=i[s(340)][s(375)](":")[1],o=this[s(392)](r);if(!o)return null;const a=s(586)==o[s(534)]?s(375):s(620);if(n[s(554)][s(644)](i[s(359)],e[s(637)]))for(const t of i[s(359)][s(624)]()){if(!t.is(s(494),s(480)))continue;const e=n[s(516)][s(502)](s(468),{class:s(456)+a}),r=n[s(529)][s(435)](this[s(532)][s(366)][s(419)](t));o[s(338)][s(575)]&&n[s(516)][s(623)](s(456)+a+s(348),e),this[s(645)]==o&&n[s(516)][s(623)](s(398),e),n[s(516)][s(357)](r,e),n[s(529)][s(425)](e,i[s(340)])}},{priority:t(501)}),this[t(532)][t(366)][t(588)].on(t(479),()=>{const e=t;this[e(532)][e(615)][e(636)][e(479)](t=>{const i=e;for(const e of this[i(532)][i(366)][i(588)][i(452)]()){const n=this[i(532)][i(366)][i(588)][i(582)](e),s=this[i(532)][i(615)][i(636)][i(588)][i(582)](e);if(s){const e=n[i(633)](i(558));if(t[i(625)](i(609),s),t[i(458)](i(481),s),t[i(458)](i(659),s),t[i(458)](i(546),s),e){const n=this[i(392)](e);if(!n)return null;t[i(604)](i(609),e,s),t[i(623)](i(566)+n[i(534)],s),this[i(645)]==n&&t[i(623)](i(546),s)}}}})}),this[t(532)][t(431)][t(635)](t(455))[t(416)]({view:t(356),model:e=>t(599)+e,converterPriority:t(495)}),this[t(532)][t(431)][t(635)](t(455))[t(416)]({view:t(447),model:e=>t(607)+e,converterPriority:t(495)}),this[t(532)][t(431)][t(635)](t(657))[t(538)]({model:t(626),view:e=>({name:t(632)+e,group:t(626)}),converterPriority:t(495)}),this[t(532)][t(431)][t(635)](t(382))[t(533)]({model:t(626),view:e=>{const i=t,n=e[i(340)][i(375)](":")[1];return i(530)!=n&&i(559)!=n?null:{classes:[i(525),i(510)+n]}}}),this[t(532)][t(615)][t(413)].on(t(550),le(this[t(532)],t(620)),{priority:t(501)}),this[t(532)][t(615)][t(413)].on(t(618),le(this[t(532)],t(375)),{priority:t(501)}),this[t(532)][t(615)][t(413)].on(t(436),(e,i,n)=>{const s=t,r=n[s(529)][s(472)](i[s(340)]);if(r)for(const t of r)t.is(s(351))&&(n[s(529)][s(369)](t,i[s(340)]),n[s(516)][s(346)](t))},{priority:t(501)})}[oe(392)](t){const e=oe;return this[e(526)][e(430)](t)}[oe(504)](t){const e=oe;return this[e(513)]&&this[e(513)][e(349)](),this[e(513)]=new Yt(this[e(532)][e(614)],t),this[e(513)]}[oe(568)](){const t=oe;this[t(532)][t(366)][t(588)][t(642)][t(641)](t(371)),this.on(t(353),(e,i,n,s)=>{const r=t;s&&this[r(498)][r(346)](s),n&&(this[r(498)][r(586)]({view:n,stackId:r(562),position:{target:()=>{const t=r,e=this[t(532)][t(615)],i=this[t(392)](n[t(540)]);let s;if(i[t(338)][t(344)]){const n=e[t(636)][t(521)](i[t(378)]);s=Array[t(579)](n[t(464)]())}else{const i=this[t(532)][t(366)][t(507)][t(430)](t(545)+n[t(540)]);s=Array[t(579)](e[t(529)][t(472)](i[t(637)]))[t(426)](i=>e[t(636)][t(549)][t(647)](i))[t(426)](e=>Array[t(579)](e[t(464)]()))[t(590)]()}return this[t(423)]&&s[t(580)](e=>e[t(600)]-3<=this[t(423)].y&&e[t(358)]+3>=this[t(423)].y&&e[t(483)]-3<=this[t(423)].x&&e[t(395)]+3>=this[t(423)].x)||s[0]}}}),this[r(498)][r(527)](r(562)))}),this.on(t(541),(e,i,n,s)=>{const r=t;this[r(520)]=n?this[r(504)](n):null,this[r(532)][r(366)][r(479)](()=>{const t=r,e=this[t(532)][t(615)];s&&(s[t(338)][t(344)]?e[t(636)][t(479)](i=>{const n=t;i[n(458)](n(546),e[n(636)][n(588)][n(582)](s[n(378)]))}):e[t(512)](t(545)+s.id)),n&&(n[t(338)][t(344)]?e[t(636)][t(479)](i=>{const s=t;i[s(623)](s(546),e[s(636)][s(588)][s(582)](n[s(378)]))}):e[t(512)](t(545)+n.id))})}),this[t(496)](this[t(532)][t(615)][t(636)][t(588)],t(393),(e,i)=>{const n=t;if(this[n(645)])return;const s=this[n(475)](i[n(418)]),r=this[n(526)][n(430)](s);r?(this[n(423)]={x:i[n(482)].x,y:i[n(482)].y},this[n(520)]=this[n(504)](r)):(this[n(423)]=null,this[n(520)]=null)}),this[t(496)](this[t(532)][t(615)][t(636)][t(588)],t(384),(e,i)=>{const n=t,s=this[n(475)](i[n(418)]),r=this[n(526)][n(430)](s);r?(this[n(423)]={x:i[n(482)].x,y:i[n(482)].y},r===this[n(645)]?this[n(498)][n(345)]():this[n(645)]=r):(this[n(423)]=null,this[n(645)]=null)})}[oe(475)](t){const e=oe;do{const i=t[e(633)](e(609));if(i)return i;t=t[e(535)]}while(t);return null}[oe(619)](){const t=oe;this[t(532)][t(366)][t(479)](e=>{const i=t;for(const t of this[i(532)][i(366)][i(507)])e[i(639)](t)})}}function ue(){const t=["RevisionHistoryUtils","observeMarkers","selection","unshift","test","activeChange","all","mapViewToDom","_sortAndFilterDiffChanges","startsWith","commands","isEqual","slice","enableReadOnlyMode","has","includes","WidgetToolbarRepository","dataDowncast","affectsData","ck-revision-history-root-remove","diff","sort","code","createPositionFromPath","_refreshStartEndIndex","isInline","data","newRevisionId","markerName","7RKUTIi","refresh","elementStart","isOnRoot","updatePosition","remove","push","-new","destroy","resolve","uiElement","filter","change:activeView","128wudtJz","detachRoot","comment","insert","bottom","markerRange","getWalker","createRange","distance","insertions","_joinTapes","element:pre","model","pairId","_revisions","unbindElementFromMarkerName","schema","revision","concat","start","bind","split","getLaterVisibleRevision","attributes","rootName","numberOfChanges","isIncorrect","_data","editingDowncast","_markMarkers","mousedown","hasAttribute","restoreRevision","isAfter","createAttributeElement","42304difHle","showPreviousChange","_makeModelFromViewString","_getChangeFromId","mouseover","_markMismatchedRemovedTags","right","_makeModelFromTape","elementEnd","ck-suggestion-marker--active","isCollapsed","range","isEnabled","3370722oswXmV","removeMarker:revision","_fixObsoleteTags","stop","_removeUnsupportedChanges","isRemoved","pluginName","_makeTape","index","keys","forEach","downcastDispatcher","createRevision","addHighlight","dataToMarker","enqueueChange","target","createPositionBefore","hasClass","isPremiumPlugin","backward","_activeViewTarget","low","bindElementToMarker","map","4CjZdFQ","forward","startIndex","get","conversion","isAddSuggestion","attributesBefore","revision-viewer","toViewPosition","removeMarker:revision-suggestion","createRangeIn","values","endIndex","ck-editor__editable__overlay","maxOffset","isAdded","toViewElement","pop","_processTape","_setDistance","suggestion","_threeWayMerge","splice","attachChange","revisionHistory","getRootNames","isContent","markersEnd","upcast","ck-suggestion-marker-","isAttached","removeClass","elementToAttribute","isRemoveSuggestion","indexOf","getIndex","text","getClientRects","_setConversion","return","_getRevisionsRange","span","isOfficialPlugin","3456770OYfktJ","_update","markerNameToElements","239723IbyQpn","_removeMissingPairs","_findChangeIdFromDomTarget","catch","shift","showNextChange","change","softBreak","ck-revision-history-root-add","domEvent","left","changes","wrap","getRevision","loadRevisionData","ck-suggestion-marker-split","_utils","8066jifDvT","adapter","getRevisionRootsAttributes","done","element","highest","listenTo","isAtStart","_balloon","_appendChild","userId","high","createUIElement","addMarker:revision","_getViewForChange","plugins","side","markers","addRoot","2079355SXXiSu","ck-suggestion-preview-marker-","execute","reconvertMarker","_changeView","36NpOWwZ","isBefore","writer","init","currentChangeNumber","oldRevisionId","activeView","getDomRoot","nextSibling","delete","object","ck-suggestion-preview-marker","_changeIdToChange","showStack","addRevisionData","mapper","insertion","compare","editor","markerToHighlight","type","parent","abs","isReady","markerToData","change:numberOfChanges","changeId","change:activeChange","roots","markersStart","item","revision:","ck-revision-history-root--active","attribute:vid","requires","domConverter","addMarker:revision-suggestion:deletion","POSITIVE_INFINITY","isLimit","_step","consumable","_markSuggestions","927AlqjHy","then","revisionHistoryAttachChange","deletion","checkAttribute","config","revisionHistoryLabel","_setChanges","_getDiff","getAttributes","ck-revision-history-root-","consume","_initInteractions","diffData","offsetSize","_cleanUp","getRevisionDocumentData","isObject","authors","isSuggestion","nextPosition","getCustomProperty","level","from","find","string","getRoot","toViewRange","481662jWXuBg","forceDisabled","add","first","document","repository","flat","addRevision","RevisionViewer","error","_markInsertions","vid","next","isAtEnd","restoreRevisionCallback","revision-comment:","top","set","deletions","isNavigationMode","setAttribute","getChild","change:isReady","revision-suggestion:","change:isEnabled","data-change-id","findIndex","RevisionsRepository","nodeAfter","ck-suggestion-marker","locale","editing","ck-suggestion-marker-merge","attributesAfter","addMarker:revision-suggestion:insertion","_cleanMarkers","merge","vid_start","vid_end","addClass","getItems","removeAttribute","revision-suggestion","modelRange","length","isBlock","previousPosition","viewItem","suggestion:","getAttribute","end","for","view","name","clear","removeMarker"];return(ue=function(){return t})()}function le(t,e){return(i,n,s)=>{const r=ae;if(!s[r(554)][r(644)](n[r(359)],i[r(637)]))return;const o=n[r(359)][r(360)](),a=n[r(359)][r(373)],c=t[r(366)][r(370)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(544)];h=h||c[r(453)](e);const i=s[r(529)][r(443)](e);if(i&&i[r(577)](r(415)))return;r(397)==t[r(534)]&&c[r(629)](e)&&!c[r(552)](e)&&(e[r(522)]||a[r(597)]?u&&u[r(535)]==e||(u=e,f(t[r(630)]),d=!0):l=l||t[r(630)])}function f(t){const i=r,o=s[i(529)][i(435)](t),a=s[i(516)][i(502)](i(468),{class:i(510)+e});s[i(516)][i(357)](o,a),s[i(529)][i(425)](a,n[i(340)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(505)][e(430)](ce);this[e(658)]=!1,this[e(496)](i,e(606),()=>this[e(342)]()),this[e(496)](i,e(608),()=>this[e(342)]())}[oe(511)](){const t=oe,e=this[t(532)],i=e[t(505)][t(430)](ce),n=i[t(537)]?i[t(660)][t(339)]:null;e[t(561)][t(430)](t(451))[t(598)](n)}[oe(342)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(532)][t(505)][t(430)](ce),r=s&&n[t(376)](s[t(339)]);this[t(401)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(553)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(505)][i(430)](ce);this[i(658)]=!1,this[i(553)]=i(428)===e?1:-1,this[i(496)](n,i(606),()=>this[i(342)]()),this[i(496)](n,i(608),()=>this[i(342)]()),this[i(496)](n,i(541),()=>this[i(342)]())}[oe(511)](){const e=oe,i=this[e(532)],n=i[e(505)][e(430)](ce),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(645)]=s?n[e(660)][e(484)][e(430)](r+this[e(553)]):n[e(660)][e(484)][e(587)],n[e(645)][e(338)][e(344)])o=i[e(615)][e(636)][e(521)](n[e(645)][e(378)]);else{const t=i[e(366)][e(507)][e(430)](e(545)+n[e(645)].id);o=(0,X.getMarkerDomElement)(i[e(615)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(342)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(532)][t(505)][t(430)](ce);this[t(401)]=!!(r&&s&&n)&&(!e||(1===this[t(553)]?i<n-1:i>0))}}var fe=i(140),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["setTemplate","forward","Show previous change","30AAnwuS","div","fire","isEnabled","Loading...","currentChangeNumber","Show next change","isForwardNavigationEnabled","isNavigationMode","7tohTxn","662552rMshJs","execute","numberOfChanges","backward","bindTemplate","165NoXhID","7190238tlwtXw","set","ck-revision-history-ui","1185437BnqXGy","ck-hidden","X_OF_Y_CHANGES","382491yDfDuF","41188VNRflS","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation","ck-revision-history-ui__changes-navigation__wrapper","isReady","ck-revision-history-ui__changes-navigation__label","_isStatusLabelVisible","Total","span","4VIjLoY","No changes","348nlqtoS","NUMBER_OF_CHANGES","bind","EDIT_X_OF_Y_REVISIONS","4957576AheqhV","isBackwardNavigationEnabled","2873975aAaMNN","_statusText"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=333]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(683717===parseInt(e(347))/1+parseInt(e(351))/2*(-parseInt(e(343))/3)+parseInt(e(360))/4*(parseInt(e(368))/5)+parseInt(e(344))/6*(-parseInt(e(337))/7)+-parseInt(e(366))/8+parseInt(e(350))/9*(parseInt(e(373))/10)+-parseInt(e(338))/11*(-parseInt(e(362))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(342)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(345)](e(336),!1),this[e(345)](e(355),!1),this[e(345)](e(333),0),this[e(345)](e(340),0),this[e(345)](e(335),!1),this[e(345)](e(367),!1),this[e(364)](e(357)).to(this,e(355),this,e(340),(t,e)=>t&&e>0),this[e(364)](e(369)).to(this,e(355),this,e(333),this,e(340),this,e(336),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(377));if(!s)return at(t,o(361));const a=at(t,o(363),s);return r?at(t,o(349),[n+1,s]):a}),n[e(345)]({label:at(t,e(372)),tooltip:!0,icon:_t.IconChevronUp}),s[e(345)]({label:at(t,e(334)),tooltip:!0,icon:_t.IconChevronDown}),n[e(364)](e(376)).to(this,e(367)),s[e(364)](e(376)).to(this,e(335)),n.on(e(339),()=>this[e(375)](e(339),e(341))),s.on(e(339),()=>this[e(375)](e(339),e(371))),this[e(370)]({tag:e(374),attributes:{class:["ck",e(346),e(353)]},children:[{tag:e(359),attributes:{class:[e(354)]},children:[{tag:e(359),attributes:{class:[e(356),i.if(e(357),e(348),t=>!t)]},children:[{text:i.to(e(336),i=>i?at(t,e(365))+": ":at(t,e(358))+": ")}]},{text:i.to(e(369))}]},new It.ToolbarSeparatorView,{tag:e(374),attributes:{class:[e(352)]},children:[n,s]}]})}}var ye=i(628),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=_e;function we(){const t=["removeClass","3861618VsqMIp","ck-editor__editable__loading-overlay","document","editing","addClass","show","hide","738750OeJmAc","26848OViEFP","RevisionViewerLoadingOverlay","editor","10rhgufw","2807049CGwcpZ","isOfficialPlugin","25556445tROvYX","875chQqxY","5615610tijIjs","isPremiumPlugin","3723160cQBFBT","roots","change","view","pluginName","2QCWhaU"];return(we=function(){return t})()}function _e(t,e){const i=we();return(_e=function(t,e){return i[t-=165]})(t,e)}!function(t){const e=_e,i=t();for(;;)try{if(758523===-parseInt(e(172))/1+-parseInt(e(188))/2*(-parseInt(e(177))/3)+-parseInt(e(183))/4+-parseInt(e(181))/5+-parseInt(e(165))/6+parseInt(e(180))/7*(parseInt(e(173))/8)+parseInt(e(179))/9*(parseInt(e(176))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(we);const Ie=be(166);class Se extends G.Plugin{static get[be(187)](){return be(174)}static get[be(178)](){return!0}static get[be(182)](){return!0}[be(170)](){const t=be,e=this[t(175)][t(168)][t(186)];e[t(185)](i=>{const n=t;for(const t of e[n(167)][n(184)])i[n(169)](Ie,t)})}[be(171)](){const t=be,e=this[t(175)][t(168)][t(186)];e[t(185)](i=>{const n=t;for(const t of e[n(167)][n(184)])i[n(189)](Ie,t)})}}function Oe(){const t=["config","isBackwardNavigationEnabled","change:isReady","isNavigationMode","requires","hide","Back to editing","numberOfChanges","init","changesNavigation","showPreviousChange","isPremiumPlugin","set","exitToEditing","isReady","1RRxYfC","767765UnbqXJ","bind","1667226qnzebX","Restore this revision","4501ZfoYzY","execute","plugins","ck-revision-history-ui__back-to-editing","isEnabled","RevisionViewerUI","commands","editor","pluginName","isForwardNavigationEnabled","1584aiBADO","add","componentFactory","475188VFZXBv","149336rwvraA","30miAvYk","restoreRevision","revisionHistory","4NhuRFY","currentChangeNumber","show","showNextChange","868464ArPTRG","isOfficialPlugin","forward","307218cDKUPn","closeRevisionViewerCallback","listenTo","get"];return(Oe=function(){return t})()}const Te=xe;function xe(t,e){const i=Oe();return(xe=function(t,e){return i[t-=199]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(104526===-parseInt(e(247))/1*(-parseInt(e(217))/2)+parseInt(e(216))/3+parseInt(e(221))/4*(parseInt(e(199))/5)+-parseInt(e(228))/6+-parseInt(e(203))/7*(-parseInt(e(213))/8)+parseInt(e(225))/9+-parseInt(e(218))/10*(parseInt(e(201))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Ne extends G.Plugin{static get[Te(211)](){return Te(208)}static get[Te(226)](){return!0}static get[Te(243)](){return!0}static get[Te(236)](){return[ce,Se]}[Te(240)](){const t=Te,e=this[t(210)],i=e[t(205)][t(231)](ce),n=e[t(205)][t(231)](Se);e.ui[t(215)][t(214)](t(245),i=>{const n=t,s=new It.ButtonView(i);return s[n(244)]({label:at(i,n(238)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(206)}),this[n(230)](s,n(204),()=>{const t=n;e[t(232)][t(231)](t(220))[t(229)]()}),s}),e.ui[t(215)][t(214)](t(219),i=>{const n=t,s=new It.ButtonView(i);return s[n(244)]({label:at(i,n(202)),withText:!0,tooltip:!0}),s[n(200)](n(207)).to(e[n(209)][n(231)](n(219))),this[n(230)](s,n(204),()=>e[n(204)](n(219))),s}),e.ui[t(215)][t(214)](t(241),n=>{const s=t,r=new ge(n),o=e[s(209)][s(231)](s(242)),a=e[s(209)][s(231)](s(224));return r[s(200)](s(233)).to(o,s(207)),r[s(200)](s(212)).to(a,s(207)),r[s(200)](s(246),s(222),s(239),s(235)).to(i),this[s(230)](r,s(204),(t,i)=>{const n=s;e[n(204)](n(227)===i?n(224):n(242))}),r}),n[t(223)](),i.on(t(234),(e,i,s)=>{const r=t;s?n[r(237)]():n[r(223)]()})}}var Ae=i(549),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ve;function Ve(t,e){const i=De();return(Ve=function(t,e){return i[t-=215]})(t,e)}function De(){const t=["scrollWidth","clientWidth","8824644OOFHOD","72255XEacPG","ck-tooltip_multi-line","Revision name","value","Enter the revision name","3595254UvaiOW","_updateTooltipText","span","260mdDGtw","1836642cjNHoE","render","_resizeObserver","placeholder","ck-revision-history-sidebar__revision-name","973366VQlTfp","element","destroy","input","extendTemplate","fieldView","3388973agkugx","bindTemplate","_tooltipString","1277975sBkFMw","listenTo","set","8XnkYvP"];return(De=function(){return t})()}!function(t){const e=Ve,i=t();for(;;)try{if(652317===-parseInt(e(236))/1+-parseInt(e(227))/2+parseInt(e(222))/3+-parseInt(e(221))/4*(-parseInt(e(243))/5)+-parseInt(e(218))/6+parseInt(e(233))/7*(parseInt(e(239))/8)+parseInt(e(242))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends It.LabeledFieldView{[Me(224)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(234)];this[i(238)]({label:at(t,i(215)),_tooltipString:""}),this[i(232)][i(225)]=at(t,i(217)),this[i(231)]({tag:i(220),attributes:{class:[i(226)],"data-cke-tooltip-text":n.to(i(235)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(244)}})}[Me(223)](){const e=Me;super[e(223)](),this[e(224)]=new t.ResizeObserver(this[e(232)][e(228)],()=>this[e(219)]()),this[e(237)](this[e(232)],e(230),()=>this[e(219)]())}[Me(229)](){const t=Me;super[t(229)](),this[t(224)]&&this[t(224)][t(229)]()}[Me(219)](){const t=Me,e=this[t(232)][t(228)];this[t(235)]=e[t(240)]>e[t(241)]&&e[t(216)]||""}}var Ce=i(997),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;!function(t){const e=Le,i=t();for(;;)try{if(958092===parseInt(e(443))/1*(parseInt(e(452))/2)+parseInt(e(457))/3+parseInt(e(441))/4*(parseInt(e(451))/5)+parseInt(e(453))/6*(-parseInt(e(446))/7)+-parseInt(e(448))/8*(-parseInt(e(450))/9)+-parseInt(e(454))/10+-parseInt(e(445))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class je extends It.View{constructor(t,e,i){const n=Le;super(t);const s=new It.IconView;s[n(442)]({content:_t.IconUser,viewBox:n(462)});const r=["ck",n(444)];i&&r[n(449)](n(456));const o=[{tag:n(461),attributes:{class:["ck",n(455)],title:at(t,n(i?458:460))},children:[s,e[n(459)]]}];this[n(447)]({tag:"li",attributes:{class:r},children:o})}}function Le(t,e){const i=Pe();return(Le=function(t,e){return i[t-=441]})(t,e)}function Pe(){const t=["ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author_creator","3269961EhqCqt","Revision creator","name","Revision author","span","0 0 11 10","6933604fVUMXQ","set","7nQWFpS","ck-revision-history-sidebar__revision-author","23883893ywptmp","629195sXxldM","setTemplate","736432fnwfzz","push","9TWasUc","5qCWnim","373358hocZsp","18Zpovyu","8231850kptFYT"];return(Pe=function(){return t})()}function ze(){var t=["3CgzgkA","301uPCdko","toLocaleDateString","5283GPqceW","toLocaleTimeString","10912xuzgdL","long","2875508CorzRT","numeric","4302175HmjJiE","43258130VRTcMy","1669257EviMAt","986512wDEKSi","42126NkGCNi"];return(ze=function(){return t})()}function We(t,e){var i=ze();return(We=function(t,e){return i[t-=368]})(t,e)}!function(t){for(var e=We,i=t();;)try{if(919171===-parseInt(e(376))/1+-parseInt(e(377))/2+-parseInt(e(379))/3*(-parseInt(e(372))/4)+-parseInt(e(374))/5+parseInt(e(378))/6*(-parseInt(e(380))/7)+-parseInt(e(370))/8*(parseInt(e(368))/9)+parseInt(e(375))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ze);var Ue=i(439),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Dt();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(){const t=["965744ZROEwf","336348WXrfah","locale","_action","source","989090bggqtV","bindTemplate","8XIwSfM","isActionsDropdownOpen","add","buttonView","panelPosition","Name this revision","action","button","listenTo","14mVdCpV","first","Compare against selected","ck-revision-history-sidebar__revision__actions","Restore this revision","class","Show more items","11iDBXPy","find","10wBbsGi","3180qhgAcJ","isVisible","items","children","bind","menuitem","change:isActionsDropdownOpen","2188862FKeJIU","isOpen","name","execute","set","model","map","11998NXftVw","1927377untZBS","6lluHQq","77rfDuBY","extendTemplate","listView","menu","isEnabled","function","ck-on","isReady","stopPropagation"];return(He=function(){return t})()}function qe(t,e){const i=He();return(qe=function(t,e){return i[t-=306]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(137779===parseInt(e(321))/1*(-parseInt(e(338))/2)+parseInt(e(351))/3*(-parseInt(e(357))/4)+parseInt(e(355))/5*(-parseInt(e(340))/6)+parseInt(e(314))/7*(parseInt(e(350))/8)+parseInt(e(339))/9*(parseInt(e(323))/10)+-parseInt(e(341))/11*(-parseInt(e(324))/12)+parseInt(e(331))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(He);var $e=i(532),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Je=Ye;function Ye(t,e){const i=Ge();return(Ye=function(t,e){return i[t-=227]})(t,e)}function Ge(){const t=["ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","isConfirm",".ck-confirm-view","srcElement","highlight","from","isHighlighted","change","listenTo","2919054COBNEx","select","isEnabled","value","9UtWyrZ","1278leeRPr","bind","ck-revision-history-sidebar__revision-authors","span","extendTemplate","39880kHURjd","ck-disabled","bindTemplate","unhighlight","1544288VBzAbn","isSelected","revisionNameView","ck-revision-history-sidebar__revision_selected","fieldView","setName","fire","237600Znubwn","_revision","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__actions_dropdown_open","deselect","revisionActionsView","createdAt","closest","length","set","unshift","5591553KTVPqq","ck-revision-history-sidebar__revision_highlighted","isReady","4Trduib","17938hsVkxk","div","295990ASSsux","220","ck-reset","creator","uiLanguage","_createdAtFormatted","_requireRevisionName","ck-revision-history-sidebar__revision__date","element","ck-revision-history-sidebar__revision-wrapper","map","setTemplate","name","isActionsDropdownOpen","14LsfNRk","filter","render","authors"];return(Ge=function(){return t})()}!function(t){const e=Ye,i=t();for(;;)try{if(407347===parseInt(e(278))/1+-parseInt(e(227))/2*(-parseInt(e(261))/3)+parseInt(e(292))/4*(-parseInt(e(229))/5)+-parseInt(e(257))/6+parseInt(e(243))/7*(-parseInt(e(271))/8)+-parseInt(e(262))/9*(-parseInt(e(267))/10)+parseInt(e(289))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Xe extends((0,X.ConfirmMixin)(It.View)){id;[Je(273)];[Je(283)];[Je(279)];[Je(235)];constructor(e,i,n,s){const r=Je;super(e);const o=this[r(269)],a=function(t,e){const i=r,n=Array[i(253)](e[i(246)])[i(244)](t=>t!=e[i(232)]);return e[i(232)]&&n[i(288)](e[i(232)]),n[i(239)](n=>new je(t,n,n==e[i(232)]))}(e,i);this.id=i.id,this[r(279)]=i,this[r(235)]=s,this[r(263)](r(241),r(284)).to(i),this[r(263)](r(234)).to(this,r(284),t=>{return i=e[r(233)],(n=t)[(s=We)(381)](i,{month:s(371),day:s(373)})+", "+n[s(369)](i,{hour:s(373),minute:s(373)});var i,n,s}),this[r(287)](r(272),!1),this[r(287)](r(254),!1),this[r(287)](r(242),!1),this[r(287)](r(291),!1),this[r(287)](r(259),!1),this[r(273)]=new Ee(e,It.createLabeledInputText),this[r(273)][r(275)][r(266)]({attributes:{maxlength:r(230)}}),this[r(273)][r(275)][r(263)](r(260)).to(this,r(241),t=>t||this[r(234)]),this[r(273)][r(263)](r(259)).to(this,r(272),this,r(259),(t,e)=>t&&e),this[r(283)]=n&&n[r(286)]?function(e,i){const n=qe,s=e[n(356)],r=e[n(352)],o=(0,It.createDropdown)(r);o[n(309)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=qe,n=t[i(352)],s={"Compare against selected":at(n,i(316)),"Name this revision":at(n,i(310)),"Restore this revision":at(n,i(318))};return e[i(337)](t=>{const e=i,n=s[t[e(333)]];return n&&n!==t[e(333)]&&(t[e(333)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(312),model:new It.UIModel({label:t[s(333)],class:t[s(319)],withText:!0,role:s(329),_action:t[s(311)]})};i[s(336)][s(328)](s(345)).to(e,s(306),i=>s(346)!=typeof t[s(345)]||!i||t[s(345)](e)),o[s(307)](i)}return o}(e,i);return e[n(328)](n(306)).to(o,n(332)),o[n(308)][n(335)]({label:at(r,n(320)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(342)]({attributes:{class:[n(317),s.if(n(306),n(347))]},on:{click:s.to(t=>t[n(349)]())}}),o.on(n(334),t=>{const i=n;e[i(348)]&&i(346)==typeof t[i(354)][i(353)]&&t[i(354)][i(353)](e)}),(0,It.addListToDropdown)(o,a,{role:n(344)}),o[n(313)](e,n(330),(t,s,r)=>{const a=n;if(r)for(const t of o[a(343)][a(326)]){const n=t[a(327)][a(315)],s=i[a(322)](t=>t[a(311)]===n[a(353)])[a(325)];t[a(325)]=void 0===s||s(e)}}),o}(this,n):"",this[r(283)]&&this[r(283)][r(263)](r(259)).to(this),this[r(240)]({tag:r(228),attributes:{class:["ck",r(231),r(238),o.if(r(249),r(248))]},children:[{tag:r(228),attributes:{class:["ck",r(231),r(247),o.if(r(259),r(268),t=>!t),o.if(r(272),r(274)),o.if(r(254),r(290)),o.if(r(242),r(281))]},children:[this[r(273)],{tag:r(265),attributes:{class:["ck",r(236)]},children:[{text:o.to(r(234))}]},{tag:r(228),attributes:{class:["ck",r(280)]},children:[{tag:"ul",attributes:{class:["ck",r(264)]},children:a}]},this[r(283)]],on:{click:o.to(t=>{const e=r;t[e(251)][e(285)](e(250))||this[e(291)]&&this[e(259)]&&this[e(277)](e(258),{id:this.id})})}}]})}[Je(245)](){const t=Je;super[t(245)]();const e=this[t(273)][t(275)][t(237)];this[t(256)](e,t(255),()=>{const i=t;this[i(235)]&&!e[i(260)]||this[i(277)](i(276),{id:this.id,name:e[i(260)]}),e[i(260)]||(e[i(260)]=this[i(241)]?this[i(241)]:this[i(234)])})}[Je(258)](){this[Je(272)]=!0}[Je(282)](){this[Je(272)]=!1}[Je(252)](){this[Je(254)]=!0}[Je(270)](){this[Je(254)]=!1}}class Ke extends Error{}class Qe extends Ke{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Ke{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Ke{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Ke{}class ni extends Ke{constructor(t){super(`Invalid unit ${t}`)}}class si extends Ke{}class ri extends Ke{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:Dn(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Pi.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Pi.set(i,n)),n}const Wi=new Map;const Ui=new Map;let Zi=null;const Hi=new Map;function qi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Un(this.floor?Math.floor(t):$n(t,3),this.padTo)}}class Yi{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Ui.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Xi={firstDay:1,minimalDays:4,weekend:[6,7]};class Ki{static fromOpts(t){return Ki.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Ki(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),Wi.clear(),Ui.clear(),Hi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Ki.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Ki.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=Li[i];return n||(n=new Intl.ListFormat(t,e),Li[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:jn()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Xi,...e}),$i.set(t,e)}return e}(this.locale):Xi}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class en extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(Dn(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Di.instance:"utc"===i||"gmt"===i?tn.utcInstance:tn.parseSpecifier(i)||ji.create(t)}return En(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Di.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Ki.resetCache(),ji.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function Tn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Kn(c,e,i)):u>Kn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function xn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Jn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Jn(c)):u>a?(c=n+1,u-=Jn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!Dn(t.localWeekday)||!Dn(t.localWeekNumber)||!Dn(t.localWeekYear)){if(!Dn(t.weekday)||!Dn(t.weekNumber)||!Dn(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Dn(t.localWeekday)||(t.weekday=t.localWeekday),Dn(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Dn(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Mn(t){const e=Cn(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Yn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function Dn(t){return void 0===t}function En(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function jn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ln(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Pn(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Un(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Zn(t){return Dn(t)||null===t||""===t?void 0:parseInt(t,10)}function Hn(t){return Dn(t)||null===t||""===t?void 0:parseFloat(t)}function qn(t){if(!Dn(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function $n(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Jn(t){return Bn(t)?366:365}function Yn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Xn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Kn(t,e=4,i=1){const n=Xn(t,e,i),s=Xn(t+1,e,i);return(Jn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Pn(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Un(i,2)}:${Un(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Un(i,2)}${Un(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Un(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function Ts(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Zn(e[i+s]);return[n,null,i+s]}}const xs=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${xs.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=Ts("weekYear","weekNumber","weekDay"),Vs=Ts("year","ordinal"),Ds=RegExp(`${Ns.source} ?(?:${xs.source}|(${_s.source}))?`),Es=RegExp(`(?: ${Ds.source})?`);function Cs(t,e,i){const n=t[e];return Dn(n)?i:Zn(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:qn(t[e+3])},null,e+4]}function js(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function Ls(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ps=RegExp(`^T?${Ns.source}$`),zs=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ws(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Hn(i)),months:d(Hn(n)),weeks:d(Hn(s)),days:d(Hn(r)),hours:d(Hn(o)),minutes:d(Hn(a)),seconds:d(Hn(c),"-0"===c),milliseconds:d(qn(u),h)}]}const Us={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zs(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Zn(e)):Zn(e),month:as.indexOf(i)+1,day:Zn(n),hour:Zn(s),minute:Zn(r)};return o&&(a.second=Zn(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Hs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qs(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Zs(e,s,n,i,r,o,a);let f;return f=c?Us[c]:u?0:es(l,h),[d,new tn(f)]}const $s=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Js=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Ys(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Zs(e,a,i,n,s,r,o),tn.utcInstance]}const Xs=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Ks=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,js,Ls),ir=Ss(Ms,Fs,js,Ls),nr=Ss(Vs,Fs,js,Ls),sr=Ss(Fs,js,Ls);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Es),ar=Is(Ds),cr=Ss(Fs,js,Ls);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(Dn(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(Dn(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Ki.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Ki.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(En(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Ws])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ps,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ni(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Dn(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=$n(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(Pn(e.values,t)||Pn(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;En(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else En(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Ki.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Ki.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Ki.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Ki.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Ki.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:jn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>es(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Qn);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(s);case"u":return Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(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 n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Pn(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;return Dn(t.z)||(i=ji.create(t.z)),Dn(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),Dn(t.q)||(t.M=3*(t.q-1)+1),Dn(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Dn(t.u)||(t.S=qn(t.u)),[Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Pn(i,"a")&&Pn(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function Lr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=Tn(t.c)),t.weekData}function Hr(t){return null===t.localWeekData&&(t.localWeekData=Tn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Jr(t,e,i){return $r(Gn(t),e,i)}function Yr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Yn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Gn(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Xr(t,e,i=!0){return t.isValid?ws.create(Ki.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Kr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Un(t.c.year,i?6:4),e?(n+="-",n+=Un(t.c.month),n+="-",n+=Un(t.c.day)):(n+=Un(t.c.month),n+=Un(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Un(t.c.hour);return e?(o+=":",o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Un(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Un(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Un(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Un(Math.trunc(-t.o/60)),o+=":",o+=Un(Math.trunc(-t.o%60))):(o+="+",o+=Un(Math.trunc(t.o/60)),o+=":",o+=Un(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Ki.fromObject(e);let s,r;if(Dn(t.year))s=gn.now();else{for(const e of no)Dn(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Jr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!Dn(i.round)||i.round,s=(t,s)=>{t=$n(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Dn(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=En(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Ki.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Ki.fromObject(e)}):fo.invalid(Ur(s))}static fromMillis(t,e={}){if(En(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Ki.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(En(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Ki.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const n=Ki.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=Dn(e.specificOffset)?i.offset(a):e.specificOffset,u=!Dn(s.ordinal),l=!Dn(s.year),h=!Dn(s.month)||!Dn(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=Tn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){Dn(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Wn(t.weekNumber,1,Kn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Wn(t.ordinal,1,Jn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?xn(s,r,o):u?An(s):s,[_,I]=Jr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Xs,er],[Ks,ir],[Qs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Hs,qs])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[$s,Ys],[Bs,Ys],[Js,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Ki.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Ki.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Yn(this.year,this.month)}get daysInYear(){return this.isValid?Jn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Kn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Kn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Jr(i,e,t)}return qr(this,{ts:n,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!Dn(e.weekYear)||!Dn(e.weekNumber)||!Dn(e.weekday),r=!Dn(e.ordinal),o=!Dn(e.year),a=!Dn(e.month)||!Dn(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=xn({...Tn(this.c,i,n),...e},i,n):Dn(e.ordinal)?(l={...this.toObject(),...e},Dn(e.day)&&(l.day=Math.min(Yn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Jr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Yr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Yr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Kr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Kr(this,"extended"===t):null}toISOWeekDate(){return Xr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Xr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Xr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Kr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Xr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return Ln(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return Lr(Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Ki.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new jr(s,t)}static fromFormatParser(t,e,i={}){if(Dn(t)||Dn(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Ki.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&En(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=vo();return(po=function(t,e){return i[t-=296]})(t,e)}function vo(){const t=["toRelativeCalendar","startOf","12gITHny","local","day","4865304OEilgv","938148XQlZBg","hasSame","fromJSDate","week","2474340DSuWnG","1854118OWTFUD","weekdayLong","setLocale","374236PeptyP","monthLong","minus","toJSDate","9HqpilZ","40yXkGjI","416115ylZNVH","year","902049WgThLD","month"];return(vo=function(){return t})()}function go(t,e){const i=po,n=fo[i(311)](t)[i(316)](e),s=fo[i(306)](),r=s[i(319)]({days:1})[i(304)](i(307));let o,a;return n[i(310)](s,i(307))?(o=n[i(304)](i(307))[i(296)](),a=n[i(303)]()):n[i(310)](r,i(307))?(o=r[i(296)](),a=n[i(303)]()):n[i(310)](s,i(312))?(o=n[i(304)](i(312))[i(296)](),a=n[i(315)]||""):n[i(310)](s,i(300))?(o=n[i(304)](i(302))[i(296)](),a=n[i(318)]||""):(o=n[i(304)](i(300))[i(296)](),a=String(n[i(300)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(389149===-parseInt(e(299))/1+parseInt(e(309))/2+-parseInt(e(301))/3+-parseInt(e(317))/4*(parseInt(e(298))/5)+-parseInt(e(305))/6*(-parseInt(e(314))/7)+parseInt(e(308))/8*(parseInt(e(297))/9)+parseInt(e(313))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(342),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=142]})(t,e)}function _o(){const t=["delegate","ck-revision-history-sidebar__time-period","230266AziNzU","417248LGBBIj","div","8912AvgfQq","_revisionActions","select","1595SYJgEd","setTemplate","remove","setName","startDate","localizedPeriodName","23040FKbJAx","addRevision","ck-revision-history-sidebar__time-period__revisions","span","ck-revision-history-sidebar__time-period__label","find","414PNszAy","add","uiLanguage","_requireRevisionName","7qbkWpc","8ujDCbd","49656jTuvUp","locale","revisionViews","229855iJXiPo","removeRevision","createCollection","179508TJqhID"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(117692===-parseInt(e(152))/1+parseInt(e(153))/2+-parseInt(e(149))/3+-parseInt(e(142))/4*(parseInt(e(146))/5)+parseInt(e(143))/6*(parseInt(e(174))/7)+parseInt(e(155))/8*(-parseInt(e(170))/9)+parseInt(e(164))/10*(parseInt(e(158))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(162)];[bo(145)];[bo(156)];[bo(173)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(144)][s(172)])[s(163)];this[s(162)]=e,this[s(145)]=this[s(148)](),this[s(156)]=i,this[s(173)]=n,this[s(145)][s(150)](s(157)).to(this),this[s(145)][s(150)](s(161)).to(this),this[s(159)]({tag:s(154),attributes:{class:["ck",s(151)]},children:[{tag:s(167),attributes:{class:["ck",s(168)]},children:[{text:r}]},{tag:s(154),attributes:{class:["ck",s(166)]},children:this[s(145)]}]})}[bo(165)](t){const e=bo,i=new Xe(this[e(144)],t,this[e(156)],this[e(173)]);this[e(145)][e(171)](i)}[bo(147)](t){const e=bo,i=this[e(145)][e(169)](e=>e.id===t.id);this[e(145)][e(160)](i)}}var So=i(193),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(){const t=["170111VAqDvd","span","div","2GEgbNK","19072GcGpHj","301407nRFDqz","2017683Ivibfb","ck-revision-history-sidebar__header","ck-revision-history-sidebar__header__label","385SToPSK","ck-reset_all","content","Revision history","setTemplate","2278626NnIrXC","1022077hLQMTm","2292560gNaDsB"];return(To=function(){return t})()}function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=446]})(t,e)}!function(t){const e=xo,i=t();for(;;)try{if(199587===parseInt(e(460))/1+-parseInt(e(446))/2*(-parseInt(e(448))/3)+-parseInt(e(447))/4*(parseInt(e(452))/5)+parseInt(e(457))/6+-parseInt(e(458))/7+parseInt(e(459))/8+-parseInt(e(449))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(454)]=_t.IconHistory,this[e(456)]({tag:e(462),attributes:{class:["ck",e(453),e(450)]},children:[i,{tag:e(461),attributes:{class:["ck",e(451)]},children:[at(t,e(455))]}]})}}var Ao=i(574),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Vo;function Vo(t,e){const i=Do();return(Vo=function(t,e){return i[t-=265]})(t,e)}function Do(){const t=["ck-reset","isEnabled","startDate","deselect","94568YubBWA","locale","highlightRevisions","set","60nSdGZI","removeRevision","ck-revision-history-sidebar","10hrsMvr","get","highlight","bindTemplate","revisionSelected","delegate","819126qxJBOT","revisionSetName","uiLanguage","_addRevision","ck-revision-history-sidebar__timeline","remove","add","fire","createdAt","ck-rounded-corners","unhighlight","render","createCollection","_requireRevisionName","1023057QAAtiQ","some","ck-disabled","revisionViews","div","779118YTbUAO","71564KnuUmx","20OfVcGq","addRevision","flat","1850344KRGUoV","getTime","_revisions","timePeriodViews","selectRevision","setTemplate","map","select","2520513BRnIGo","_removeRevision","find","_revisionActions","setName","_getTimePeriodViewByStartDate"];return(Do=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(281672===-parseInt(e(277))/1+parseInt(e(290))/2+-parseInt(e(281))/3*(parseInt(e(310))/4)+-parseInt(e(311))/5*(-parseInt(e(309))/6)+-parseInt(e(304))/7+parseInt(e(314))/8+-parseInt(e(267))/9*(parseInt(e(284))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Do);class Eo extends It.View{[Mo(317)];[Mo(316)];[Mo(270)];[Mo(303)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(287)];this[s(317)]=this[s(302)](),this[s(317)][s(289)](s(266)).to(this),this[s(317)][s(289)](s(271)).to(this),this[s(316)]=e,this[s(270)]=i,this[s(303)]=n,this.on(s(266),(t,e)=>{const i=s;this[i(297)](i(288),e)}),this.on(s(271),(t,e)=>{const i=s;this[i(297)](i(291),e)}),this[s(280)](s(274),!1),this[s(319)]({tag:s(308),attributes:{class:["ck",s(273),s(299),s(283)]},children:[new No(t),{tag:s(308),attributes:{class:["ck",s(294),r.if(s(274),s(306),t=>!t)]},children:this[s(317)]}]})}[Mo(301)](){const t=Mo;super[t(301)]();for(const e of this[t(316)])this[t(293)](e);this[t(316)].on(t(296),(e,i)=>{this[t(293)](i)}),this[t(316)].on(t(295),(e,i)=>{this[t(268)](i)})}get[Mo(307)](){const t=Mo;return this[t(317)][t(265)](e=>e[t(307)][t(265)](t=>t))[t(313)]()}[Mo(318)](t){const e=Mo;for(const i of this[e(307)])t&&t.id===i.id?i[e(266)]():i[e(276)]()}[Mo(279)](t){const e=Mo;for(const i of this[e(307)])t[e(305)](({id:t})=>t===i.id)?i[e(286)]():i[e(300)]()}[Mo(293)](t){const e=Mo,i=go(t[e(298)],this[e(278)][e(292)])[e(275)];let n=this[e(317)][e(285)](0);n&&n[e(275)][e(315)]()===i[e(315)]()||(n=new Io(this[e(278)],i,this[e(270)],this[e(303)]),this[e(317)][e(296)](n)),n[e(312)](t)}[Mo(268)](t){const e=Mo,i=go(t[e(298)],this[e(278)][e(292)])[e(275)];this[e(272)](i)[e(282)](t)}[Mo(272)](t){const e=Mo;return this[e(317)][e(269)](i=>i[e(275)][e(315)]()===t[e(315)]())}}const Co=jo;function Fo(){const t=["init","142764nNxMeh","assign","42GsxyoO","getIndex","16893ngVFQv","isVisible","revisionHistory","getEarlierVisibleRevision","nameRevision","destroy","listenTo","1685816kgApyf","Restore this revision","highlightRevisions","add","RevisionsSidebar","compareAgainstSelected","restoreRevision","2132396jdlkEx","action","map","_revisionViewer","fieldView","selectRevision","name","data","bind","focus","select","isReady","_handleEditorDataReady","setName","revisionHistory.revisionActions","getRevisionsInDiff","newRevisionId","repository","getLaterVisibleRevision","locale","get","isOfficialPlugin","_revisions","revisionSetName","_createRevisionActions","76719loIltg","_sidebarView","length","Compare against selected","isEnabled","revisionSelected","_handleRevisionSelected","plugins","timePeriodViews","30UBpjJd","_revisionsRepository","getRevision","diff","_handleRevisionSetName","defaultRevisionActions","_handleDiffChange","string","change:diff","Name this revision","pluginName","revisionHistory.requireRevisionName","appendChild","availableRevisionActions","remove","restoreRevisionCallback","render","96EeCtwp","2255856OmdLnc","element","requires","revisionHistory.viewerSidebarContainer","revisionViews","editor","isSelected","182648GBhEyJ","config","ready","2310zGvZIr","5kpQrhd","isPremiumPlugin","compare"];return(Fo=function(){return t})()}function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=307]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(272759===parseInt(e(332))/1+-parseInt(e(384))/2*(-parseInt(e(375))/3)+-parseInt(e(350))/4+parseInt(e(328))/5*(-parseInt(e(317))/6)+-parseInt(e(334))/7*(parseInt(e(324))/8)+parseInt(e(336))/9*(-parseInt(e(327))/10)+parseInt(e(343))/11*(parseInt(e(316))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Lo extends G.Plugin{[Co(353)];[Co(385)];[Co(376)];static[Co(389)]=[Co(348),Co(349),Co(340)];static[Co(312)]=function(){const t=Co;return{compareAgainstSelected:{name:t(378),action:({plugins:e},i)=>{const n=t,s=e[n(370)](ce),r=s[n(367)];let o=s[n(387)][n(366)],a=i.id;r[n(335)](o)>r[n(335)](a)&&([o,a]=[a,o]),s[n(330)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(370)](ce);return!(s[n(367)][n(365)](s[n(387)])[n(377)]>2||i[n(323)])}},restoreRevision:{name:t(344),action:(e,{id:i})=>{const n=t;e[n(325)][n(370)](n(338))[n(314)](i)},isVisible:({plugins:e},i)=>!!e[t(370)](ce)[t(367)][t(368)](i.id)},nameRevision:{name:t(308),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(370)](ce),o=r[s(367)][s(339)](i);r[s(330)](i,o),n[s(359)](),n[s(354)][s(360)]()}}}}();static get[Co(309)](){return Co(347)}static get[Co(371)](){return!0}static get[Co(329)](){return!0}static get[Co(319)](){return[ce]}constructor(t){const e=Co;super(t),this[e(353)]=t[e(382)][e(370)](ce),this[e(385)]=this[e(353)][e(367)],this[e(376)]=null}[Co(331)](){const t=Co,e=this[t(385)][t(372)],i=this[t(374)](),n=this[t(322)][t(325)][t(370)](t(320));this[t(376)]=new Eo(this[t(322)][t(369)],e,i,this[t(322)][t(325)][t(370)](t(310))),this[t(376)].on(t(380),this[t(381)][t(358)](this)),this[t(376)].on(t(373),this[t(388)][t(358)](this)),this[t(376)][t(358)](t(379)).to(this[t(353)]),this[t(376)][t(383)].on(t(346),(e,i)=>{const n=t;i[n(321)].on(n(346),(t,e)=>{const i=n;e[i(358)](i(379),i(361)).to(this[i(353)])})}),this[t(376)][t(315)](),this[t(342)](this[t(322)][t(357)],t(326),this[t(362)][t(358)](this)),this[t(342)](this[t(353)],t(307),this[t(390)][t(358)](this)),n[t(311)](this[t(376)][t(318)])}[Co(341)](){const t=Co;this[t(376)][t(318)][t(313)](),this[t(376)][t(341)]()}[Co(362)](){const t=Co,e=this[t(385)][t(386)](0);if(e){const i=this[t(385)][t(339)](e.id);this[t(353)][t(330)](e,i)}}[Co(381)](t,e){const i=Co,n=this[i(385)][i(386)](e.id),s=this[i(385)][i(339)](n.id);this[i(353)][i(330)](n,s)}[Co(388)](t,e){const i=Co;this[i(385)][i(386)](e.id)[i(363)](e[i(356)])}[Co(390)](t,e,i){const n=Co,s=this[n(385)][n(365)](i);s[n(377)]>2?(this[n(376)][n(345)](s),this[n(376)][n(355)](null)):(this[n(376)][n(345)]([]),this[n(376)][n(355)](s[0]))}[Co(374)](){const t=Co,e=this[t(322)],i=Lo[t(312)],n=e[t(325)][t(370)](t(364))||Lo[t(389)];if(n[t(377)])return n[t(352)](n=>{const s=t,r=s(391)==typeof n?Object[s(333)]({},i[n]):n;return r[s(351)]=r[s(351)][s(358)](this,e),r[s(337)]&&(r[s(337)]=r[s(337)][s(358)](this,e)),r})}}const Po=Wo;function zo(){const t=["_initToolbar","fillFromConfig","1469565fBmtxk","toolbar","document","viewportOffset","focusTracker","editing","get","1599266ITcrqv","_toolbarConfig","isActive","element","bind","render","isFocused","6BCMEye","restore","view","init","componentFactory","destroy","fire","replace","stickyPanel","viewportTopOffset","10145056DnlabS","addToolbar","_view","getRoot","editable","name","54672471HkmvTx","9638139pmeoxo","setEditableElement","editor","attachDomRoot","2236287JgBhEf","ready","detachDomRoot","4mDflUz","limiterElement","rootName","861404SzQbVN","_elementReplacer","config"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=301]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(729331===-parseInt(e(319))/1+-parseInt(e(331))/2+-parseInt(e(313))/3*(parseInt(e(316))/4)+-parseInt(e(324))/5+parseInt(e(338))/6*(-parseInt(e(309))/7)+-parseInt(e(302))/8+parseInt(e(308))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Po(304)];[Po(332)];[Po(320)];get[Po(340)](){return this[Po(304)]}constructor(e,i){const n=Po;super(e),this[n(304)]=i,this[n(332)]=(0,It.normalizeToolbarConfig)(e[n(321)][n(330)](n(325))),this[n(320)]=new t.ElementReplacer}get[Po(334)](){const t=Po;return this[t(340)][t(334)]}[Po(341)](t){const e=Po,i=this[e(311)],n=this[e(340)],s=i[e(329)][e(340)],r=n[e(306)],o=s[e(326)][e(305)]();r[e(307)]=o[e(318)],n[e(336)]();const a=r[e(334)];this[e(310)](r[e(307)],a),n[e(306)][e(335)](e(337)).to(this[e(328)]),s[e(312)](a),this[e(320)][e(345)](t,this[e(334)]),this[e(322)](),this[e(344)](e(314))}[Po(343)](){const t=Po;super[t(343)]();const e=this[t(340)],i=this[t(311)][t(329)][t(340)];this[t(320)][t(339)](),i[t(315)](e[t(306)][t(307)]),e[t(343)]()}[Po(322)](){const t=Po,e=this[t(340)];e[t(346)][t(335)](t(333)).to(this[t(328)],t(337)),e[t(346)][t(317)]=e[t(334)],e[t(346)][t(335)](t(301)).to(this,t(327),({top:t})=>t),e[t(325)][t(323)](this[t(332)],this[t(342)]),this[t(303)](e[t(325)])}}var Zo=i(750),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Dt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;var qo=$o;function $o(t,e){var i=Bo();return($o=function(t,e){return i[t-=313]})(t,e)}function Bo(){var t=["shouldToolbarGroupWhenFull","497464osRpWH","3412197soazGa","render","8HViJUz","11556104CMRrjb","stickyPanel","640RvQMoD","top","toolbar","content","18Yfatxb","1543985vQNDVI","652291ffZbRM","add","_editable","501LgBqOo","editable","20422XZXksA","main","7314132UUeiix"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(946377===parseInt(e(320))/1+parseInt(e(325))/2*(parseInt(e(323))/3)+parseInt(e(327))/4+parseInt(e(319))/5*(parseInt(e(318))/6)+-parseInt(e(333))/7+-parseInt(e(332))/8*(-parseInt(e(330))/9)+parseInt(e(314))/10*(-parseInt(e(329))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Jo extends It.BoxedEditorUIView{[qo(322)];[qo(313)];[qo(316)];get[qo(324)](){return this[qo(322)]}constructor(t,e,i={}){var n=qo;super(t),this[n(313)]=new It.StickyPanelView(t),this[n(316)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(328)]}),this[n(322)]=new It.InlineEditableUIView(t,e)}[qo(331)](){var t=qo;super[t(331)](),this[t(313)][t(317)][t(321)](this[t(316)]),this[t(315)][t(321)](this[t(313)]),this[t(326)][t(321)](this[t(324)])}}function Yo(){const t=["1839335AqoXmm","view","_ui","fire","editing","1774682UFouBt","sourceElement","destroy","141096kqFfDE","model","12mFCAxe","document","init","ready","locale","create","updateSourceElement","647224jUYApk","config","initPlugins","54nZljHQ","781ZcSonf","2204384IUcNOn","data","get","initialData","createRoot","13659xeddYl","87870wrubpO","212WnATmK"];return(Yo=function(){return t})()}const Go=Xo;function Xo(t,e){const i=Yo();return(Xo=function(t,e){return i[t-=178]})(t,e)}!function(t){const e=Xo,i=t();for(;;)try{if(446287===-parseInt(e(202))/1+parseInt(e(199))/2+parseInt(e(191))/3*(-parseInt(e(193))/4)+parseInt(e(194))/5*(parseInt(e(204))/6)+parseInt(e(186))/7+parseInt(e(181))/8*(-parseInt(e(184))/9)+parseInt(e(192))/10*(-parseInt(e(185))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Go(196)];get ui(){return this[Go(196)]}constructor(t,e){const i=Go;super(e),this[i(200)]=t,this[i(203)][i(205)][i(190)]();const n=new Jo(this[i(178)],this[i(198)][i(195)],{shouldToolbarGroupWhenFull:!0});this[i(196)]=new Uo(this,n)}[Go(201)](){const t=Go;return this[t(180)](),this.ui[t(201)](),super[t(201)]()}static async[Go(179)](t,e){const i=Go,n=new this(t,e);return await n[i(183)](),await n.ui[i(206)](t),await n[i(187)][i(206)](n[i(182)][i(188)](i(189))||""),n[i(197)](i(207)),n}}function Qo(){const t=["data","getRevisionRootsAttributes","join","createRangeIn","config","774zaWrLb","revisionHistory","locale","disableReadOnlyMode","insert","hide","fromVersion","uiLanguage","getRevision","Users","repository","roots","136PJJdCW","createdAt","toolbar","87mUhZpB","revisionHistory.viewerEditorElement","RevisionHistory","restrictedEditingException","exitToEditing","bind","revisionHistory.closeRevisionViewerCallback","setAttribute","830540vJZxQi","map","pluginName","isReadOnly","indexOf","change","markers","Autosave","_enhanceShowRevisionViewerCallback","revisionHistory.viewerContainer","selection","editor","isOpen","from","remove","display","_cleanUp","_update","destroy","refreshVisibility","_enhanceCloseRevisionViewerCallback","RevisionViewer","removeSelectionAttribute","_restoreRevision","addRevisionData","getRevisionDocumentData","_viewerEditor","users","restoreRevision","get","requires","error","commands","45909ldSsJs","includes","update","block","rootName","element","$graveyard","plugins","long","isOfficialPlugin","Restored","RestrictedEditingMode","init","revisionHistory.restoreRevisionCallback","revisionHistory.showRevisionViewerCallback","RevisionTracker","removeMarker","view","isRevisionViewerOpen","Annotations","revisionHistory.editorContainer","name","style","31913rqMurJ","refreshPositioning","keys","setSelection","toLocaleDateString","getUser","enqueueChange","895685wCfBzL","then","model","isAnonymous","toVersion","save","loadRevisionData","removeAttribute","660370zLvjCq","result","getMarkersGroup","DocumentOutline","none","12175UwMcvG","set","addUser","has","catch","showRevisionViewerCallback","isPremiumPlugin","revision-history-viewer-opened","define","changesNavigation","document","lazyRoots","toLocaleTimeString","isEnabled","detachRoot","_getRevisionViewerEditorConfig","PaginationLookup","creator","getAttributeKeys","RevisionHistoryUI","RevisionViewerIntegration","adapter","fromCharCode","RevisionHistoryUtils","revision-history-missing-configuration","enableReadOnlyMode","_recalculatePageBreaks","getRevisions","end","parse","push","6436FTKICW","_showRevisionViewer","numeric","isReady","_closeRevisionViewer","DocumentOutlineUI","create","getRoot","revisionHistory.requireRevisionName","addRoot","saveRevision","translations","RevisionsRepository","closeRevisionViewerCallback","isAttached","toJSON","Dialog"];return(Qo=function(){return t})()}const ta=ea;function ea(t,e){const i=Qo();return(ea=function(t,e){return i[t-=145]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(258128===parseInt(e(222))/1+-parseInt(e(166))/2+parseInt(e(158))/3*(parseInt(e(273))/4)+parseInt(e(242))/5*(parseInt(e(295))/6)+parseInt(e(229))/7+parseInt(e(155))/8*(parseInt(e(199))/9)+parseInt(e(237))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qo);const ia=[ta(261),ta(210)];class na extends G.Plugin{[ta(238)];static get[ta(168)](){return ta(262)}static get[ta(208)](){return!0}static get[ta(248)](){return!0}constructor(t){const e=ta;function i(t){const e=ea;return t[e(167)](t=>String[e(264)](t))[e(292)]("")}super(t),this[e(238)]=e(270),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class sa extends G.Plugin{[ta(192)];static get[ta(168)](){return ta(160)}static get[ta(208)](){return!0}static get[ta(248)](){return!0}static get[ta(196)](){return[pt,qt]}constructor(e){const i=ta;if(super(e),!this[i(177)][i(294)][i(195)](i(296)))throw new t.CKEditorError(i(266),this);this[i(192)]=null,this[i(243)](i(217),!1),this[i(177)][i(294)][i(250)](i(213),t=>this[i(274)]({...t,translations:this[i(177)][i(145)][i(284)]})),this[i(177)][i(294)][i(250)](i(164),t=>this[i(277)](t)),this[i(177)][i(294)][i(250)](i(212),t=>this[i(189)](t)),this[i(177)][i(294)][i(250)](i(281),!1),this[i(174)](),this[i(186)]()}set[ta(263)](t){const e=ta;this[e(177)][e(206)][e(195)](e(214))[e(263)]=t}get[ta(263)](){const t=ta;return this[t(177)][t(206)][t(195)](t(214))[t(263)]}[ta(190)](t){const e=ta;return this[e(177)][e(206)][e(195)](e(214))[e(190)](t)}[ta(151)](t){const e=ta;return this[e(177)][e(206)][e(195)](e(285))[e(151)](t)}[ta(269)](t){const e=ta;return this[e(177)][e(206)][e(195)](e(285))[e(269)](t||{toJSON:!1})}[ta(257)](){const e=ta,i=this[e(177)],n=(0,X.sanitizeEditorConfig)(i,ia),s=i[e(206)][e(195)](e(214)),r=i[e(206)][e(195)](e(152))[e(193)];return n[e(157)]=[e(162),e(194),e(251)],delete n[e(253)],n[e(206)][e(272)](na,ce,Ne,class extends G.Plugin{static get[e(196)](){return[ce,e(152)]}[e(211)](){const n=e,o=this[n(177)][n(206)][n(195)](n(152));for(const t of r)t[n(232)]||o[n(227)](t.id)||o[n(244)](t);const a=s[n(153)][n(269)]();let c=null;const u=this[n(177)][n(206)][n(195)](n(187));u[n(263)]=s[n(263)],u[n(163)](n(255)).to(s),this[n(177)][n(198)][n(195)](n(194))[n(163)](n(255)).to(i,n(169),t=>!t);for(const e of a){const i=null===e[n(259)];if(i&&e[n(233)]===e[n(149)])continue;const r=e[n(288)]();u[n(190)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(183)](r,o);else if(!o){const e=a[u(288)]();e.id=(0,t.uid)(),s[u(283)](e,a[u(233)])[u(230)](t=>{c=t})}}else e[u(183)](r,o)})}}},Lo),n}[ta(174)](){const t=ta,e=this[t(177)][t(294)][t(195)](t(296))[t(247)];this[t(177)][t(294)][t(243)](t(213),async()=>{const i=t;this[i(177)][i(267)](i(249));const n=this[i(177)][i(206)][i(195)](i(214));if(this[i(177)][i(206)][i(245)](i(173))){const t=this[i(177)][i(206)][i(195)](i(173));await t[i(234)]()}else await n[i(201)]();if(this[i(177)][i(206)][i(245)](i(258))&&this[i(177)][i(206)][i(195)](i(258))[i(268)](),this[i(177)][i(206)][i(245)](i(289))){const t=this[i(177)][i(206)][i(195)](i(289));t[i(178)]&&t[i(148)]()}const s=this[i(257)]();return e(s)[i(230)](t=>{const e=i;return this[e(192)]=t,this[e(177)][e(206)][e(245)](e(218))&&this[e(177)][e(206)][e(195)](e(218))[e(185)](),this[e(177)][e(206)][e(245)](e(240))&&(this[e(177)][e(206)][e(195)](e(278))[e(216)][e(204)][e(221)][e(181)]=e(241)),t})[i(246)](t=>(console[i(197)](t),this[i(177)][i(146)](i(249)),null))})}[ta(186)](){const t=ta,e=this[t(177)][t(294)][t(195)](t(296))[t(286)];this[t(177)][t(294)][t(243)](t(164),()=>(this[t(177)][t(206)][t(245)](t(258))&&this[t(177)][t(206)][t(195)](t(258))[t(268)](),this[t(177)][t(206)][t(245)](t(240))&&(this[t(177)][t(206)][t(195)](t(278))[t(216)][t(204)][t(221)][t(181)]=""),this[t(192)][t(206)][t(195)](t(187))[t(182)](),e(this[t(192)])[t(230)](()=>{const e=t;if(this[e(177)][e(146)](e(249)),this[e(192)]=null,this[e(177)][e(206)][e(245)](e(218))){const t=this[e(177)][e(206)][e(195)](e(218));t[e(185)](),t[e(223)]()}})))}[ta(274)](t){const e=ta,i=this[e(177)][e(294)][e(195)](e(219)),n=this[e(177)][e(294)][e(195)](e(175)),s=this[e(177)][e(294)][e(195)](e(159));return Ko[e(279)](s,t)[e(230)](t=>(n[e(221)][e(181)]=e(202),i[e(221)][e(181)]=e(241),this[e(217)]=!0,t))}[ta(277)](t){const e=ta,i=this[e(177)][e(294)][e(195)](e(219));return this[e(177)][e(294)][e(195)](e(175))[e(221)][e(181)]=e(241),i[e(221)][e(181)]="",this[e(217)]=!1,t[e(184)]()}async[ta(189)](t){const e=ta,i=this[e(177)],n=this[e(192)][e(206)][e(195)](e(187)),s=i[e(206)][e(195)](e(214)),r=i[e(206)][e(195)](e(265)),o=n[e(153)][e(151)](t);let a,c,u;try{await r[e(235)](o,this[e(263)]),a=r[e(191)](o),c=r[e(291)](o)}catch(t){return void console[e(197)](t)}i[e(231)][e(171)](t=>{const n=e;for(const e of Array[n(179)](i[n(231)][n(172)][n(239)](n(161))))t[n(215)](e)}),n[e(276)]=!1,i[e(231)][e(228)](t=>{const n=e;t[n(225)](null),t[n(188)](i[n(231)][n(252)][n(176)][n(260)]());const s=Object[n(224)](a);for(const e of i[n(231)][n(252)][n(154)])n(205)!=e[n(203)]&&e[n(287)]()&&!s[n(200)](e[n(203)])&&t[n(256)](e);for(const e of s){let s=i[n(231)][n(252)][n(280)](e);s&&s[n(287)]()||(s=t[n(282)](e));const r=c[e],o=Object[n(224)](r),u=a[e];for(const e of s[n(260)]())o[n(200)](e)||t[n(236)](e,s);for(const i of o)t[n(165)](i,c[e][i],s);t[n(180)](t[n(293)](s)),t[n(147)](i[n(290)][n(271)](u,s),s,0)}});const l=at(i[e(145)],e(209));return u=o[e(220)]?-1==o[e(220)][e(170)](l)?l+": "+o[e(220)]:o[e(220)]:l+": "+o[e(156)][e(226)](i[e(145)][e(150)],{month:e(207),day:e(275)})+", "+o[e(156)][e(254)](i[e(145)][e(150)],{hour:e(275),minute:e(275)}),await s[e(283)]({name:u}),n[e(276)]=!0,i[e(294)][e(195)](e(296))[e(286)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=369]})(t,e)}function oa(){var t=["2Stalla","12YIxXId","20kYZkjT","119673MnXMaK","300szbUrT","25179cKhHsU","4918001xSXSfI","1770512UXrPRP","367408wrxbWa","56909iotBBo","1350845xikubH","3JNKdgO"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(162705===-parseInt(e(374))/1*(-parseInt(e(377))/2)+parseInt(e(376))/3*(-parseInt(e(373))/4)+parseInt(e(375))/5+-parseInt(e(369))/6*(-parseInt(e(370))/7)+parseInt(e(372))/8+-parseInt(e(380))/9*(parseInt(e(379))/10)+parseInt(e(371))/11*(-parseInt(e(378))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();
5
+ */(()=>{var t={6: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}}},140:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),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},193:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},211:(t,e,i)=>{t.exports=i(931)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},290:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},302:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},316:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),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},342:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},439:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),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},532:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),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},549:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),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},557: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)}},574:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},602: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)}}}},606:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),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},628:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),o=i.n(r)()(n());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},660:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),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},718: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}},750:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),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},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},931:t=>{"use strict";t.exports=CKEditor5.collaborationDll},933:t=>{"use strict";t.exports=function(t){return t[1]}},997:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(933),n=i.n(s),r=i(718),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}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>Y,RevisionHistory:()=>na,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Ko,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,L=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(L.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function U(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=P(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const s=t[e];return void 0===s?H(e)?Z(t,W(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=B;function B(t,e){const i=J();return(B=function(t,e){return i[t-=495]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(609749===parseInt(e(515))/1+parseInt(e(512))/2*(-parseInt(e(498))/3)+-parseInt(e(516))/4+-parseInt(e(520))/5+parseInt(e(502))/6*(-parseInt(e(501))/7)+-parseInt(e(496))/8+parseInt(e(509))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Y extends((0,t.ObservableMixin)()){id;[$(521)];[$(504)];[$(517)];[$(513)];[$(499)];[$(503)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(521)]=e[i(521)]||null,this[i(504)]=e[i(504)]||[],this[i(517)]=e[i(517)]||null,this[i(513)]=e[i(513)]||0,this[i(499)]=e[i(499)]||0,this[i(500)](i(497),e[i(497)]||""),this[i(500)](i(507),e[i(507)]||new Date),this[i(500)](i(510),e[i(510)]||{})}[$(505)](t){this[$(495)]({name:t})}[$(519)](t,e){const i=$,s=R(this[i(510)]);U(s,t,e),this[i(495)]({attributes:s})}[$(511)](t){const e=$,i=R(this[e(510)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(495)]({attributes:i})}[$(495)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(497),i(507),i(517),i(504),i(510),i(513),i(499),i(522)];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(504)]&&(n[i(514)]=n[i(504)][i(518)](t=>t.id),delete n[i(504)]),this[i(508)](i(495),n,e))}[$(506)](){const t=$;return{id:this.id,name:this[t(497)],creatorId:this[t(521)]?this[t(521)].id:null,authorsIds:this[t(504)][t(518)](t=>t.id),diffData:this[t(517)],createdAt:this[t(507)],attributes:this[t(510)],fromVersion:this[t(499)],toVersion:this[t(513)]}}}function J(){const t=["1099121txATfb","4603644Rphobc","diffData","map","setAttribute","4631185HZLwZd","creator","creatorId","_update","1880392BZntnb","name","9ydQJde","fromVersion","set","21JQMLag","1320870CVuiIZ","model","authors","setName","toJSON","createdAt","fire","24791949ZcwXZp","attributes","removeAttribute","180934wqIDxz","toVersion","authorsIds"];return(J=function(){return t})()}var G=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["plugins","RevisionsRepository","creatorId","createRevision","isPremiumPlugin","push","Users","isNaN","join","272yqclEU","editor","getLaterVisibleRevision","getRevision","4675RshGfk","1064886vzPVXs","attributes","fromVersion","201696MkUUmq","696609fEmxnG","reverse","610580RHlDlf","getUser","isOfficialPlugin","add","data","_revisions","href","getRevisionsIterator","getRevisionsInDiff","fromCharCode","requires","length","get","from","getEarlierVisibleRevision","createdAt","702688RZZYTA","diffData","getIndex","map","oldRevisionId","afterInit","toJSON","toVersion","name","later","pluginName","addRevision","2279096eJAVvd","authorsIds","newRevisionId","earlier","getRevisions"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=442]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(348803===-parseInt(e(457))/1+parseInt(e(454))/2+parseInt(e(455))/3+parseInt(e(446))/4*(parseInt(e(450))/5)+parseInt(e(451))/6+parseInt(e(473))/7+parseInt(e(485))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[Q(462)];static get[Q(467)](){return[K.Users]}static get[Q(483)](){return Q(491)}static get[Q(459)](){return!0}static get[Q(494)](){return!0}get[Q(468)](){const t=Q;return this[t(462)][t(468)]}constructor(e){const i=Q;super(e),this[i(462)]=new t.Collection}[Q(478)](){!async function(e){const i=k([115,71,54,53,67,114,107,49,99,100,50,105,103,76,78,55,122,73,69,65,89,106,117,57,74,51,104,98,80,66,116,110,70,77,120,81,102,52,72,119,90,97,108,48,113,84,83,86,75,121,68,109,111,82,118,85,88,101,112,87,79,56]),s=964649,n=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function s(){i[k([108,101,110,103,116,104])]>=7&&t()}s(),i[k([111,110])](k([97,100,100]),s)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(444)](window[k([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([115]);for(let s=0;s<t[k([108,101,110,103,116,104])];s+=2){let n=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[k([108,101,110,103,116,104])]&&(n-=i[k([108,101,110,103,116,104])]),e+=i[n]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const s=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=et;return t[e(476)](t=>String[e(466)](t))[e(445)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=s),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),s=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),s[k([105,115,69,110,97,98,108,101,100])]=!1,s[k([99,111,109,112,97,114,101])]=y,void(s[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,s=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),s={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete s[k([118,99])],f(s)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(s=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(s())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](n/s)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*s:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const s=c[k([115,112,108,105,116])](k([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(s),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1759104e3;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(463)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[Q(493)](t){const e=Q,i=this[e(447)][e(490)][e(469)](e(443));return new Y({id:t.id,name:t[e(481)],creator:t[e(492)]?i[e(458)](t[e(492)]):null,diffData:t[e(474)]||t[e(461)],authors:t[e(486)][e(476)](t=>i[e(458)](t)),createdAt:new Date(t[e(472)]),attributes:t[e(452)],fromVersion:t[e(453)],toVersion:t[e(480)]})}[Q(484)](t,e=0){const i=Q;this[i(462)][i(460)](t,e)}[Q(449)](t){const e=Q;return this[e(462)][e(469)](t)}[Q(489)](t={toJSON:!1}){const e=Q,i=Array[e(470)](this[e(462)]);return i[e(456)](),t[e(479)]?i[e(476)](t=>t[e(479)]()):i}[Q(475)](t){const e=Q;return this[e(462)][e(475)](t)}[Q(471)](t){const e=Q,[,i]=this[e(464)](t,{direction:e(488)});return i}[Q(448)](t){const e=Q,[,i]=this[e(464)](t,{direction:e(482)});return i}[Q(465)](t){const e=Q,i=[];for(const s of this[e(464)](t[e(487)]))if(i[e(442)](s),s.id===t[e(477)])break;return i}*[Q(464)](t,{direction:e=Q(488),filter:i=()=>!0}={}){const s=Q,n=s(488)===e?1:-1;let r=this[s(462)][s(469)](t),o=this[s(475)](r);for(yield r;r;){if(o+=n,r=this[s(449)](o),!r)return;i(r)&&(yield r)}}}function st(){const t=["898970mVopbF","_appendChild","toModel","constructor","pluginName","string","childNodes","_setCustomProperty","processor","fillerOffset","revision-end","getRevision","233622aucKKn","attachChange","_removeRevisionMarkers","createElement","28XJyrWt","9VieZUx","isAttached","isOfficialPlugin","_getViewFromDiffObj","1BtEHYz","type","htmlProcessor","name","attributesAfter","forEach","document","RevisionHistoryUtils","diffData","getRevisionRootsAttributes","startsWith","toData","editor","append","data","domDocument","get","useFillerType","1061188eTXnEA","view","marked","parse","_getTypeCharForViewElement","domChildrenToView","_makeModelFromViewString","6244928aokmlV","revision-start","children","getRevisionDocumentData","data-revision-","editing","render","586230GaoaZu","config","collaboration.channelId","length","domConverter","12hgUGos","customProperties","insertions","3103908zjqtPw","viewChildrenToDom","getFillerOffset","loadRevisionData","isPremiumPlugin","_typeCharToViewClass","1655796lIFbTa","map","11bkvubI","from","_viewClassToTypeChar","filter","default","innerHTML","div","attributes"];return(st=function(){return t})()}const nt=rt;function rt(t,e){const i=st();return(rt=function(t,e){return i[t-=102]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(880164===parseInt(e(168))/1*(-parseInt(e(109))/2)+parseInt(e(137))/3*(parseInt(e(128))/4)+parseInt(e(147))/5+parseInt(e(159))/6*(parseInt(e(163))/7)+-parseInt(e(116))/8+parseInt(e(164))/9*(-parseInt(e(123))/10)+parseInt(e(139))/11*(parseInt(e(131))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends G.Plugin{static get[nt(151)](){return nt(175)}static get[nt(166)](){return!0}static get[nt(135)](){return!0}[nt(141)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(136)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(134)](t,e){const i=nt;if(t[i(176)]||!e)return;const s=this[i(103)][i(124)][i(107)](i(125)),n=await e[i(158)]({channelId:s,revisionId:t.id});t[i(176)]=n[i(176)]}[nt(119)](t){const e=nt,i={};for(const s in t[e(176)]){if(t[e(176)][s][e(160)]&&!t[e(176)][s][e(160)][e(165)])continue;const n=this[e(161)](JSON[e(112)](t[e(176)][s][e(130)])),r=this[e(103)][e(121)][e(110)][e(174)],o=new X.ViewDocumentFragment(r,n[e(138)](t=>this[e(167)](t,!1)));this[e(103)][e(105)][e(155)][e(108)](e(111)),i[s]=this[e(103)][e(105)][e(155)][e(102)](o),this[e(103)][e(105)][e(155)][e(108)](e(143))}return i}[nt(177)](t){const e=nt,i={};for(const s in t[e(176)])t[e(176)][s][e(160)]&&!t[e(176)][s][e(160)][e(165)]||(i[s]=t[e(176)][s][e(172)]||{});return i}[nt(113)](t){const e=nt;return this[e(141)][e(107)](t[e(150)])}[nt(167)](t,e){const i=nt,s=this[i(103)][i(121)][i(110)][i(174)];if(i(152)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(169)]||"r"==t[i(169)]?[]:t[i(118)][i(138)](t=>this[i(167)](t,e));const o=this[i(136)][i(107)](t[i(169)])||X.ViewElement,a=this[i(103)][i(105)][i(170)][i(127)];if(n=new o(s,t[i(171)],t[i(146)],r),"u"==t[i(169)]&&t[i(118)][0]){const r=t[i(118)][0];if(n[i(122)]=function(t){const e=i,s=t[e(162)](e(145));return s[e(144)]=r,s[e(153)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(148)](n);const e=Array[i(140)](a[i(132)](t,{bind:!1})),r=a[i(106)][i(162)](i(145));r[i(104)](...e),n=Array[i(140)](a[i(114)](r))[0]}}else if("r"==t[i(169)]&&t[i(118)][0]){const r=t[i(118)][0];if(n[i(122)]=function(t){t[i(144)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(148)](n);const e=Array[i(140)](a[i(132)](t,{bind:!1})),r=a[i(106)][i(162)](i(145));r[i(104)](...e);const o=Array[i(140)](a[i(114)](r));o[i(126)]>1?n[i(148)](o):n=o[0]}}if(t[i(129)])for(const[e,s]of t[i(129)])n[i(154)](e,s);const c=void 0===t[i(156)]?null:t[i(156)];return null!==c&&(n[i(133)]=()=>c),n}}[nt(115)](t){const e=nt,i=JSON[e(112)](t),s=this[e(103)][e(121)][e(110)][e(174)],n=new X.ViewDocumentFragment(s,i[e(138)](t=>this[e(167)](t,!0)));return this[e(103)][e(105)][e(149)](n)}[nt(161)](t){const e=nt;return(t=t[e(142)](t=>!t[e(171)]||e(117)!==t[e(171)]&&e(157)!==t[e(171)]))[e(173)](t=>{const i=e;i(152)!=typeof t&&(t[i(118)]=this[i(161)](t[i(118)]),t[i(146)]=t[i(146)][i(142)](t=>!t[0][i(178)](i(120))))}),t}}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const 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(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=pt;function mt(){const t=["RealTimeCollaborationClient","paragraph","RevisionHistoryUtils","PENDING_ACTION_REVISION_HISTORY","_revisionId","userId","_handleRootOperation","createPositionFromPath","getMovedRangeStart","attachChange","clear","fromEntries","loadRevisionData","creatorId","innerHTML","model","_saveMetaData","NEGATIVE_INFINITY","revisionHistoryLicenseKeyUsageLimit","getAncestors","getAttribute","createRange","targetPosition","marker","insertions","from","render","define","newValue","_touched","addRoot","collaboration.channelId","_pendingAction","_isPendingUpdate","createPositionBefore","updateRevisions","sort","118314NEezdS","getData","_applyOperations","_getViewJson","isOfficialPlugin","destroy","string","element","RevisionsRepository","_setConversion","5YQprsg","createRevision","_fixPosition","htmlProcessor","_makeRevision","_prepareViewToSave","_lastTo","_bufferUpdate","removeRootAttribute","createdAt","conversion","getRevision","remove","afterInit","_removeMetaData","move","domDocument","_licenseKeyCheckInterval","insertion","_reset","_createCurrentRevision","some","graveyardPosition","$comment","143nmHaSA","_revisionDataBuilder","howMany","position","uiElement","_operations","start","update","getTime","reverse","_lastFrom","_authorId","_savedMetaData","fillerOffset","document","getRevisions","documentFragment","_diffRoots","_getState","_startingVersion","type","revisionHistoryLicenseKeyExpired","length","Empty document","_copyMarkers","_createInitialRevision","text","1396808pWrEjg","_markChanges","buildRevisionData","_transformMarkers","bind","_setAttribute","usageLimit","getCustomProperties","vid_start","getIndex","isEnabled","_loadState","createElement","licenseKey","vid_end","createPositionAt","push","1398516QurLmL","for","setSource","rawElement","isAttached","revisionHistoryLicenseKeyInvalid","_showLicenseError","getChildren","changeRootAttribute","_baseRootsAttributes","nodeAfter","_handleMarkerOperation","affectsData","$graveyard","_getBaseVids","getAttributes","revisionHistory.resumeUnsavedRevision","Users","Initial revision","_removePendingAction","requires","revisionHistoryLicenseKeyEvaluationLimit","detachRoot","_getFromVersion","_insertChild","_markers","get","2485029BaIxzU","getWalker","fromVersion","_baseRoots","isEqual","_continueCurrentRevision","isAdd","_execute","key","expired","adapter","initial","_isAttached","getRevisionRootsAttributes","getFillerOffset","path","finally","_makeIdsRoot","pluginName","_cloneOperation","_initialRevisionId","editor-initial-data-replaced-with-revision-data","root","domainLimit","roots","revisionHistoryLicenseKeyNotAllowed","end","651676MYlONE","sendBufferedUpdates","item","_loadedStateData","RevisionHistory","evaluationLimit","version","upcast","editor","set","featureNotAllowed","_source","dataToMarker","parent","reInit","outerHTML","creator","plugins","_utils","_processRootBeforeSave","diffData","_getPreviousFrom","getOperation","_findInsertionIndex","data","_touchedRoots","$text","revisionHistoryLicenseKeyValid","attributesAfter","_handleInsertOperation","_makeModelFromViewString","initialData","_getTypeCharForViewElement","add","repository","_baseIdsRoots","history","getRange","1302580rRBHFs","elementEnd","insert","tableCell","source","getUser","rootName","addRootAttribute","getRootNames","getRoot","4129316WDXEmL","_fixRange","clone","_getVidAttributeName","64LOeKtA","offset","init","dataDowncast","createPositionAfter","getOperations","find","startsWith","attributesBefore","splitPosition","_touchedMarkers","getChild","_handleSplitOperation","locale","includes","_clone","rootsAttributes","config","has","previousPosition","_isInit","getRevisionDocumentData","_handleRootAttributeOperation","_startingRevisionId","_fixOperation","loadState","offsetSize","_handleMoveOperation","max","merge","_handleOperation","childCount","saveRevision","range","_replaceEditorDataWithRevisionData","baseVersion","split","revisionHistoryLicenseKeyTrialLimit","children","_handleMergeOperation","PendingActions","addRevisionData","nodes","_generateTape","name","_diffRootsAttributes","getTransformedByOperation","newRange","customProperties","shift","addRevision","stickiness","insertionPosition","getLatestVersion","trim","_createFromRanges","delete","_addPendingAction","filter","trialLimit","deletions","values","createRangeIn","stringify","reinsert","map","currentRevision","_idsRoots","revision","sourcePosition","oldRange","deletion","slice","authors","invalid","vid","markerToData","keys","_appendChild","getNodeByPath","_calculateMetaData","isPremiumPlugin","elementStart","resolve","size","authorsIds","domConverter","hasContent","_update","keepParagraph","revisionHistoryLicenseKeyDomainLimit","_bufferedUpdates","isReady","toVersion","6FKzgHA","setRevisionData","RevisionTracker","ready","toView","markers","then","getCurrentRevisionId","revision:"];return(mt=function(){return t})()}function pt(t,e){const i=mt();return(pt=function(t,e){return i[t-=280]})(t,e)}!function(t){const e=pt,i=t();for(;;)try{if(519612===-parseInt(e(584))/1+parseInt(e(530))/2+parseInt(e(557))/3+-parseInt(e(308))/4*(-parseInt(e(462))/5)+parseInt(e(406))/6*(parseInt(e(513))/7)+parseInt(e(312))/8*(parseInt(e(452))/9)+-parseInt(e(298))/10*(parseInt(e(486))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class vt extends G.Plugin{[ft(526)];[ft(479)];[ft(378)]=null;[ft(294)];[ft(567)]=null;[ft(487)];[ft(595)];[ft(577)];[ft(403)];[ft(602)];[ft(447)];[ft(562)];[ft(505)];[ft(587)];static get[ft(575)](){return ft(408)}static get[ft(456)](){return!0}static get[ft(393)](){return!0}static get[ft(550)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(294)]=this[i(592)][i(601)][i(556)](i(460)),this[i(602)]=this[i(592)][i(601)][i(556)](i(417)),this[i(487)]=new gt(this[i(592)]),this[i(577)]=this[i(592)][i(329)][i(556)](i(446))||i(568),this[i(403)]=new Map,this[i(587)]=null;const s=(0,t.uid)();this[i(595)]={history:this[i(592)][i(430)][i(500)][i(296)],getLatestVersion:()=>Promise[i(395)](this[i(592)][i(430)][i(500)][i(590)]),getCurrentRevisionId:()=>s},this[i(593)](i(404),!1),this[i(593)](i(523),!0),this[i(593)](i(448),!1),this[i(592)][i(329)][i(442)](i(546),!0),this[i(592)][i(472)][i(531)](i(591))[i(596)]({view:i(380)})}[ft(314)](){const t=ft;this[t(461)](),this[t(592)][t(284)].on(t(409),()=>{const e=t,i=this[e(294)][e(473)](0),s=i&&null===i[e(600)]?i:null;if(this[e(562)]=!!s&&this[e(592)][e(329)][e(556)](e(546)),this[e(592)][e(601)][e(330)](e(415))){const t=this[e(595)][e(413)](),n=this[e(294)][e(473)](t);if(n)this[e(505)]=n[e(559)],this[e(562)]=!1;else{const t=this[e(595)][e(296)][e(491)][e(318)](t=>!t[e(332)]),n=t?t[e(347)]:this[e(595)][e(296)][e(590)];i?(i[e(405)]<n&&i[e(400)]({toVersion:n}),this[e(562)]?(this[e(595)][e(413)]=()=>s.id,this[e(505)]=s[e(559)]):(this[e(505)]=i[e(405)],this[e(562)]=!1)):(this[e(505)]=n,this[e(562)]=!1)}}else s&&(this[e(592)][e(430)][e(500)][e(296)][e(590)]=Math[e(340)](s[e(405)],this[e(592)][e(430)][e(500)][e(296)][e(590)]),s[e(559)]===s[e(405)]?(0!==s[e(559)]&&(this[e(595)][e(413)]=()=>s.id),this[e(562)]=!1):this[e(562)]&&(this[e(595)][e(413)]=()=>s.id,this[e(505)]=s[e(559)])),this[e(562)]||(this[e(505)]=this[e(592)][e(430)][e(500)][e(590)]);this[e(487)][e(314)](this[e(595)][e(296)]),this[e(511)](this[e(505)]),this[e(482)](this[e(505)]),this[e(567)]&&this[e(585)]()}),this[t(517)](t(404)).to(this,t(448),t=>!t),this[t(526)]=this[t(592)][t(329)][t(556)](t(526));const e=this[t(592)];this[t(479)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(287)==r||i(535)==r||i(507)==r||i(402)==r||i(582)==r||i(551)==r||i(349)==r||i(433)==r){delete e[n],s=r,clearInterval(this[i(479)]),this[i(479)]=void 0;break}}i(535)==s&&e[i(536)](i(386)),i(507)==s&&e[i(536)](i(566)),i(402)==s&&e[i(536)](i(580)),i(582)==s&&e[i(536)](i(594),i(588)),i(551)==s&&e[i(536)](i(589)),i(349)==s&&e[i(536)](i(371)),i(433)==s&&e[i(536)](i(519))},1e3)}async[ft(475)](){const t=ft;if(this[t(294)][t(508)]>0){const e=this[t(294)][t(473)](0),i=await this[t(333)](e),s=await this[t(570)](e);this[t(346)](i,s)}}[ft(457)](){const t=ft;super[t(457)](),this[t(479)]&&clearInterval(this[t(479)])}[ft(532)](t){this[ft(595)]=t}async[ft(493)](){const t=ft,e=await this[t(595)][t(365)]();if(e>this[t(378)][t(405)]){await this[t(524)]();const i=this[t(515)]({revision:this[t(378)],to:e});i[t(385)]=i[t(397)][t(377)](e=>this[t(592)][t(601)][t(556)](t(547))[t(303)](e)),this[t(378)][t(400)](i)}}async[ft(344)](e={},i=null){const s=ft,n=[];await this[s(524)](),this[s(562)]=!1,i>this[s(378)][s(405)]&&(i=null),null===i&&(i=await this[s(595)][s(365)]());const r=this[s(553)](i),o=this[s(515)]({from:r,to:i});if(this[s(378)][s(405)]<i){const t=this[s(515)]({revision:this[s(378)],from:i,to:i});t[s(385)]=[],t[s(397)]=[],t.id=this[s(378)].id,this[s(378)][s(400)](t,!0),delete t[s(385)],n[s(529)](t)}e[s(428)]=this[s(592)][s(601)][s(556)](s(547)).me.id,e[s(356)]=e[s(356)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(353)](e);n[s(529)](e);const c=this[s(294)][s(522)](a);if(0!==c){const t=this[s(294)][s(473)](c-1);if(t[s(559)]!==i){const r=this[s(487)][s(453)](i,t[s(405)]),o={id:t.id,diffData:r[s(280)],authorsIds:r[s(397)],authors:r[s(397)][s(377)](t=>this[s(592)][s(601)][s(556)](s(547))[s(303)](t)),fromVersion:i};t===this[s(378)]&&(o[s(471)]=new Date(e[s(471)][s(494)]()+10)),t[s(400)](o,!0),delete o[s(385)],n[s(529)](o)}}if(this[s(567)]){for(const t of n)this[s(469)](t.id,t,!0);this[s(585)]()}return a}[ft(353)](t){const e=ft,i=this[e(294)][e(463)](t);return this[e(567)]&&i.on(e(400),(t,i,s)=>{const n=e;s||(this[n(469)](i.id,i,!0),this[n(585)]())}),this[e(294)][e(362)](i,this[e(283)](i)),i}async[ft(333)](t){const e=ft;return await this[e(602)][e(427)](t,this[e(567)]),this[e(602)][e(333)](t)}async[ft(570)](t){const e=ft;return await this[e(602)][e(427)](t,this[e(567)]),this[e(602)][e(570)](t)}[ft(585)](){const t=ft;if(0===this[t(403)][t(396)])return;if(this[t(448)])return;let e=Array[t(440)](this[t(403)][t(373)]());this[t(403)][t(425)]();for(let i=0;i<e[t(508)];i++){const s=e[i];let n=!1;for(const e of Object[t(389)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(370)](t=>null!==t),!e[t(508)])return;for(let i=0;i<e[t(508)];i++){const s=e[i];void 0!==s[t(559)]&&void 0===s[t(405)]&&(s[t(405)]=this[t(294)][t(473)](s.id)[t(405)]),void 0!==s[t(405)]&&void 0===s[t(559)]&&(s[t(559)]=this[t(294)][t(473)](s.id)[t(559)])}const i=this[t(592)][t(329)][t(556)](t(446));this[t(448)]=!0,this[t(369)](),this[t(567)][t(450)](e,i)[t(573)](()=>{this[t(448)]=!1})[t(412)](e=>{const i=t;if(e)for(const t of e)this[i(407)]({id:t.id,createdAt:t[i(471)]});this[i(549)](),this[i(585)]()})}[ft(515)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(559)],i=null!==i?i:t[s(405)];const n=this[s(487)][s(453)](e,i),r={diffData:n[s(280)],authorsIds:n[s(397)],fromVersion:e,toVersion:i};if(!t||i!==t[s(405)]){const t=i-1,e=this[s(595)][s(296)][s(282)](t);r[s(471)]=e&&e[s(471)]||new Date}if(this[s(587)]&&e===this[s(587)][s(559)])for(const t of this[s(587)][s(385)])r[s(397)][s(326)](t.id)||r[s(397)][s(529)](t.id);return r}[ft(469)](t,e,i){const s=ft;if(this[s(403)][s(330)](t)){const n=this[s(403)][s(556)](t);e=i?{...n,...e}:{...e,...n}}this[s(403)][s(593)](t,e)}[ft(407)](t){const e=ft,i=this[e(294)][e(473)](t.id);if(t[e(471)]&&(t[e(471)]=new Date(t[e(471)])),t[e(397)]){const i=this[e(592)][e(601)][e(556)](e(547));t[e(385)]=t[e(397)][e(377)](t=>i[e(303)](t))}i[e(400)](t,!0)}[ft(511)](t){const e=ft,i=this[e(294)][e(473)](this[e(294)][e(508)]-1);if(i)this[e(577)]=i.id;else{const i=!this[e(592)][e(430)][e(500)][e(581)][e(318)](t=>this[e(592)][e(430)][e(399)](t)),s=this[e(592)][e(601)][e(556)](e(547)).me.id,n=at(this[e(592)][e(325)],e(i?509:548));this[e(466)]({from:t,to:t,id:this[e(577)],name:n,creatorId:s})}}[ft(482)](t){const e=ft,i=this[e(595)][e(413)]();this[e(378)]=this[e(294)][e(473)](i),this[e(378)]||(this[e(378)]=this[e(466)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(524)](){const t=ft;this[t(562)]&&!this[t(587)]&&(await this[t(602)][t(427)](this[t(378)],this[t(567)]),this[t(487)][t(337)](this[t(378)]),this[t(587)]={fromVersion:this[t(378)][t(559)],authors:this[t(378)][t(385)][t(384)]()})}[ft(346)](e,i){const s=ft;let n=this[s(592)][s(329)][s(556)](s(291)),r=this[s(592)][s(329)][s(556)](s(328));if(void 0===n){n={};for(const t of this[s(592)][s(430)][s(500)][s(306)]())n[t]=""}if(s(458)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(592)][s(430)][s(500)][s(306)]())r[t]={}}let o=!1;const a=Object[s(389)](n),c=Object[s(389)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(366)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(389)](r[t])[s(508)]>0){o=!0;break}}o||(o=c[s(483)](t=>!this[s(592)][s(430)][s(500)][s(307)](t))),o&&(0,t.logWarning)(s(578),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(592)][s(329)][s(593)](s(291),e),this[s(592)][s(329)][s(593)](s(328),i)}[ft(369)](){const t=ft;if(!this[t(447)]){const e=this[t(592)][t(601)][t(556)](t(352));this[t(447)]=e[t(293)](at(this[t(592)][t(325)],t(418)))}}[ft(549)](){const t=ft;this[t(447)]&&(this[t(592)][t(601)][t(556)](t(352))[t(474)](this[t(447)]),this[t(447)]=null)}[ft(283)](t){const e=ft,i=this[e(294)][e(501)]();i[e(495)]();let s=0;for(;s<i[e(508)];){const n=i[s];if(n===this[e(378)]){s++;continue}if(n.id===this[e(577)])break;const r=t[e(405)]-n[e(405)]||t[e(559)]-n[e(559)];if(r>0)break;if(r<0)s++;else{if(!t[e(600)]&&n[e(600)])break;if(n[e(600)]||!t[e(600)]){if(t[e(471)]>n[e(471)])break;s++}else s++}}return s}[ft(553)](t){const e=ft,i=this[e(294)][e(501)]();i[e(495)](),i[e(361)]();const s=i[e(318)](i=>i[e(405)]<=t)[e(405)];return s<this[e(505)]?this[e(505)]:s}[ft(466)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(515)]({from:e,to:i});o[r(356)]=t,o[r(428)]=s,o.id=n;const a=this[r(353)](o);return this[r(567)]&&this[r(469)](o.id,o,!0),a}[ft(461)](){const t=ft;this[t(592)][t(472)][t(531)](t(315))[t(388)]({model:t(380)})}}class gt{[ft(592)];[ft(302)];[ft(498)];[ft(496)];[ft(468)];[ft(555)];[ft(503)];[ft(357)];[ft(560)];[ft(539)];[ft(379)];[ft(295)];[ft(444)];[ft(322)];[ft(285)];[ft(419)];[ft(335)];constructor(t){const e=ft;this[e(592)]=t,this[e(498)]=new Map,this[e(496)]=-1,this[e(468)]=-1,this[e(555)]=new Map,this[e(503)]=new Map,this[e(357)]=new Map,this[e(560)]=new Map,this[e(539)]=new Map,this[e(379)]=new Map,this[e(295)]=new Map,this[e(444)]=new Map,this[e(322)]=new Map,this[e(285)]=new Map,this[e(419)]=1}[ft(314)](t){const e=ft;this[e(302)]=t;const i=new Map,s=new Map,n=this[e(592)][e(430)][e(500)][e(581)][e(377)](t=>t[e(304)]);for(const t of n){const n=this[e(592)][e(430)][e(500)][e(307)](t),r=yt(n);i[e(593)](t,r),s[e(593)](t,Object[e(426)](n[e(545)]()))}const r=Array[e(440)](this[e(592)][e(430)][e(411)])[e(377)](t=>[t[e(356)],t[e(297)]()]),o=this[e(302)][e(590)];this[e(431)](o,i,r,s),this[e(335)]=this[e(419)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(593)](t,i),c[e(593)](t,{})}this[e(431)](Number[e(432)],a,[],c)}[ft(453)](t,e){const i=ft;if(this[i(496)]===t&&this[i(468)]<=e)this[i(498)][i(396)]>1&&this[i(476)](this[i(468)]),this[i(454)](this[i(468)],e,!0);else{if(!this[i(498)][i(330)](t)){const e=this[i(281)](t);this[i(392)](e,t,!1)}this[i(392)](t,e,!0)}return this[i(496)]=t,this[i(468)]=e,this[i(504)]()}[ft(337)](t){const e=ft;if(!this[e(498)][e(330)](t[e(559)])){const i=this[e(281)](t[e(559)]);this[e(392)](i,t[e(559)],!1)}this[e(392)](t[e(559)],t[e(405)],!1);const i=this[e(592)][e(601)][e(556)](e(417));this[e(481)](),this[e(496)]=t[e(559)],this[e(468)]=t[e(405)];for(const s in t[e(280)]){const n=t[e(280)][s][e(424)],r=R(t[e(280)][s][e(320)])||{},o=i[e(290)](t[e(280)][s][e(372)]);o[e(304)]=s,o[e(569)]=!n||!n[e(534)],o[e(534)]=()=>o[e(569)],this[e(560)][e(593)](s,o),this[e(539)][e(593)](s,r),n&&this[e(285)][e(593)](s,n);const a=this[e(574)](o);this[e(295)][e(593)](s,a);for(const[t,i]of o[e(411)]){if(!t[e(319)](e(414)))continue;const s=t[e(348)](":")[2];for(const t of i[e(558)]({singleCharacters:!0})){const i=this[e(311)](t),n=e(299)==t[e(506)]?t[e(331)][e(572)][e(384)](0,-1):t[e(331)][e(572)],r=a[e(391)](n)[e(435)](i);this[e(444)][e(593)](r,{userId:s})}}}this[e(335)]=this[e(419)];const s=[...Array(this[e(419)])[e(389)]()][e(384)](1)[e(370)](t=>!this[e(444)][e(330)](t));let n=0;const r=new Map;for(const o in t[e(280)]){const a=t[e(280)][o][e(424)],c=R(t[e(280)][o][e(288)])||{},u=i[e(290)](t[e(280)][o][e(439)]);u[e(304)]=o,u[e(569)]=!a||a[e(534)],u[e(534)]=()=>u[e(569)],this[e(503)][e(593)](o,u),this[e(357)][e(593)](o,c);const l=this[e(574)](u,Number[e(432)]);this[e(379)][e(593)](o,l),r[e(593)](o,u[e(534)]()?c:{});for(const[t,i]of u[e(411)]){if(!t[e(319)](e(414)))continue;const s=t[e(348)](":")[2];for(const t of i[e(558)]({singleCharacters:!0})){const i=this[e(311)](t),n=this[e(419)]++,r=e(299)==t[e(506)]?t[e(331)][e(572)][e(384)](0,-1):t[e(331)][e(572)];l[e(391)](r)[e(518)](i,n),this[e(444)][e(593)](n,{userId:s})}}for(const t of this[e(592)][e(430)][e(374)](u)[e(558)]({singleCharacters:!0})){const i=this[e(311)](t),r=e(299)==t[e(506)]?t[e(331)][e(572)][e(384)](0,-1):t[e(331)][e(572)],o=l[e(391)](r);o[e(435)](i)>0||o[e(518)](i,s[n++])}for(const[t,i]of u[e(411)])t[e(319)](e(414))||this[e(555)][e(593)](t,i)}const{roots:o}=this[e(498)][e(556)](t[e(559)]),{roots:a}=this[e(498)][e(556)](t[e(405)]),c=yt(o[e(556)](e(543)));this[e(560)][e(593)](e(543),c),this[e(295)][e(593)](e(543),this[e(574)](c,Number[e(432)]));const u=yt(a[e(556)](e(543)));this[e(503)][e(593)](e(543),u),this[e(379)][e(593)](e(543),this[e(574)](u));const l=Array[e(440)](this[e(503)])[e(377)](([t,e])=>[t,yt(e)]);this[e(431)](this[e(468)],l,this[e(555)],r)}[ft(598)](){const t=ft;this[t(481)](),this[t(496)]=-1,this[t(468)]=-1,this[t(498)][t(425)](),this[t(314)](this[t(302)])}[ft(431)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(593)](t,{start:e[n(492)][n(310)](),end:e[n(583)][n(310)](),rootName:e[n(579)][n(304)]});this[n(498)][n(593)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(476)](t){const e=ft;this[e(498)][e(368)](t)}[ft(481)](){const t=ft;this[t(444)][t(425)](),this[t(322)][t(425)](),this[t(285)][t(425)](),this[t(503)][t(425)](),this[t(357)][t(425)](),this[t(560)][t(425)](),this[t(539)][t(425)](),this[t(379)][t(425)](),this[t(295)][t(425)](),this[t(555)][t(425)](),this[t(419)]=1,this[t(335)]=this[t(419)]}[ft(574)](t,e=null){const i=ft;let s=null;t.is(i(502))||(s=new X.ModelElement(t[i(356)],{vid_start:null===e?this[i(419)]++:e++}));const n=[];for(const s of t[i(537)]())if(s.is(i(459))){n[i(529)](this[i(574)](s,e));const t=n[n[i(508)]-1];null!==e&&(e=t.is(i(459),i(286))?t[i(435)](i(387))+1:t[i(435)](i(527))+1)}else for(let t=0;t<s[i(338)];t++)n[i(529)](new X.ModelElement(i(286),{vid:null===e?this[i(419)]++:e++}));if(t.is(i(502))){const e=kt(t[i(304)]);return e[i(554)](0,n),e}return s[i(518)](i(527),null===e?this[i(419)]++:e++),s[i(554)](0,n),s}[ft(392)](t,e,i){const s=ft;this[s(481)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(498)][s(556)](t);this[s(560)]=new Map(n),this[s(539)]=new Map(R(o));for(const[t,e]of this[s(560)])if(s(543)!==t&&(this[s(503)][s(593)](t,yt(e)),this[s(357)]=new Map(R(o)),i)){const i=this[s(419)];this[s(379)][s(593)](t,this[s(574)](e)),this[s(295)][s(593)](t,this[s(574)](e,i))}this[s(335)]=this[s(419)],this[s(503)][s(593)](s(543),yt(this[s(560)][s(556)](s(543)))),i&&this[s(379)][s(593)](s(543),this[s(574)](this[s(560)][s(556)](s(543))));for(const[t,e]of r){const i=this[s(560)][s(556)](e[s(304)]),n=this[s(503)][s(556)](e[s(304)]),r=new X.ModelRange(this[s(464)](e[s(492)],i),this[s(464)](e[s(583)],i)),o=this[s(309)](r,n);i[s(411)][s(593)](t,r),this[s(555)][s(593)](t,o)}this[s(454)](t,e,i)}[ft(454)](t,e,i){const s=ft;for(const n of this[s(302)][s(317)](t,e))this[s(342)](n,i);for(const t of this[s(503)][s(373)]())t[s(411)][s(425)]();for(const[t,e]of this[s(555)])this[s(503)][s(556)](e[s(579)][s(304)])[s(411)][s(593)](t,e[s(310)]());const n=new Map,r=new Map;for(const[t,e]of this[s(503)])n[s(593)](t,yt(e)),r[s(593)](t,this[s(357)][s(556)](t));this[s(431)](e,n,this[s(555)],r)}[ft(281)](t){const e=ft,i=Array[e(440)](this[e(498)][e(389)]());i[e(451)]((t,e)=>t-e),i[e(495)]();for(const e of i)if(e<t)return e;return Number[e(432)]}[ft(510)](t,e){const i=ft,s=Array[i(440)](e[i(411)])[i(377)](([e,s])=>[e,this[i(309)](s,t)]);t[i(411)]=new Map(s)}[ft(516)](t){const e=ft;for(const i of this[e(555)][e(373)]()){const s=i[e(358)](t),n=X.ModelRange[e(367)](s);i[e(492)]=n[e(492)],i[e(583)]=n[e(583)]}}[ft(342)](t,e){const i=ft;if(i(445)!=t[i(506)]&&i(552)!=t[i(506)]){if(i(300)==t[i(506)]){const s=t[i(489)][i(579)][i(304)];this[i(503)][i(330)](s)||(this[i(503)][i(593)](s,kt(s,!0)),this[i(357)][i(593)](s,{}),e&&this[i(379)][i(593)](s,kt(s,!0)))}else{if(i(305)==t[i(506)]||i(470)==t[i(506)]||i(538)==t[i(506)])return void this[i(334)](t);i(438)==t[i(506)]&&this[i(541)](t)}if(i(438)!==t[i(506)]){const e=this[i(576)](t,this[i(503)]);e[i(564)](),this[i(516)](e)}if(e)switch(t[i(506)]){case i(300):this[i(289)](t);break;case i(477):case i(474):case i(376):this[i(339)](t);break;case i(341):this[i(351)](t);break;case i(348):this[i(324)](t)}}else this[i(421)](t,e)}[ft(576)](t,e){const i=ft,s=t[i(310)]();return s[i(497)]=t[i(497)],this[i(336)](s,e),s}[ft(544)](t){const e=ft;return t[e(377)](t=>{const i=e,s=this[i(311)](t);return Number(t[i(586)][i(435)](s))})}[ft(355)](t,e){const i=ft;if(t.is(i(459),i(286)))e[i(529)]({item:t,type:i(512)});else{t.is(i(459))&&e[i(529)]({item:t,type:i(394)});for(const s of t[i(537)]())this[i(355)](s,e);t.is(i(459))&&e[i(529)]({item:t,type:i(299)})}return e}[ft(504)](){const t=ft,e=new Map(this[t(444)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(560)][t(389)](),...this[t(503)][t(389)]()]);a[t(368)](t(543));for(const e of a){const i=this[t(503)][t(556)](e)||kt(e,!1),s=this[t(560)][t(556)](e)||kt(e,!1);i[t(534)]()||s[t(534)]()?(n[t(439)][e]=yt(i),n[t(372)][e]=yt(s),this[t(510)](n[t(372)][e],s),this[t(510)](n[t(439)][e],i),r[t(439)][e]=this[t(355)](this[t(379)][t(556)](e),[]),r[t(372)][e]=this[t(355)](this[t(295)][t(556)](e)||kt(e,!1),[])):a[t(368)](e)}for(const n of a){const o=r[t(439)][n];for(const n of o){const r=this[t(311)](n),o=n[t(586)][t(435)](r);i[t(368)](o),o>=this[t(335)]&&s[t(593)](o,e[t(556)](o))}}for(const n of a){const a=r[t(439)][n],c=this[t(544)](r[t(372)][n]);let u=0;for(const n of a){const r=this[t(311)](n),a=n[t(586)][t(435)](r);if(!s[t(330)](a)&&!o[t(330)](a))if(i[t(330)](a))u++;else{if(a!=c[u]){const s=e[t(556)](a)||e[t(556)](c[u]);for(;a!=c[u];)i[t(330)](c[u])||(o[t(593)](c[u],s),e[t(593)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(439)][e];for(const e of n){const n=this[t(311)](e),r=e[t(586)][t(435)](n);if(o[t(330)](r)){const e=o[t(556)](r);i[t(330)](r)||i[t(593)](r,{...e}),s[t(593)](r,{...e})}}}for(const e of i[t(389)]())e>=this[t(335)]&&i[t(368)](e);const c=new Map;for(const e of a){let n=r[t(439)][e];for(const e of n)if(e[t(586)].is(t(459),t(301))){const i=this[t(311)](e),n=e[t(586)][t(435)](i);if(s[t(330)](n)){const i=e[t(586)][t(597)][t(597)][t(435)](t(521)),r=c[t(556)](i)||new Set;r[t(293)](s[t(556)](n)[t(420)]),c[t(593)](i,r)}}n=r[t(372)][e];for(const e of n)if(e[t(586)].is(t(459),t(301))){const s=this[t(311)](e),n=e[t(586)][t(435)](s);if(i[t(330)](n)){const s=e[t(586)][t(597)][t(597)][t(435)](t(521)),r=c[t(556)](s)||new Set;r[t(293)](i[t(556)](n)[t(420)]),c[t(593)](s,r)}}for(const e of c[t(389)]())(s[t(330)](e)||i[t(330)](e))&&c[t(368)](e)}for(const e of a){const n=r[t(439)][e];let o=null,a=null;for(const e of n){const n=this[t(311)](e),r=e[t(586)][t(435)](n),u=c[t(556)](r);u&&t(394)==e[t(506)]&&(o=Array[t(440)](u)[0],a=e[t(586)][t(435)](t(527))),o&&(i[t(593)](r,{userId:o}),s[t(593)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(372)][e],a=n[t(439)][e];for(const{userId:e}of this[t(322)][t(373)]())null!==e&&l[t(293)](e);for(const{userId:e}of this[t(285)][t(373)]())null!==e&&l[t(293)](e);this[t(514)](a,r[t(439)][e],s,t(480),l),this[t(514)](o,r[t(372)][e],i,t(383),l),u[e]={insertions:this[t(467)](a),deletions:this[t(467)](o),attachChange:this[t(285)][t(556)](e)||null,attributesBefore:R(this[t(539)][t(556)](e))||{},attributesAfter:R(this[t(357)][t(556)](e))}}return{diffData:u,authorsIds:Array[t(440)](l)}}[ft(603)](t){const e=ft;for(const[,i]of t[e(411)]){const t=i[e(492)][e(434)]()[e(370)](t=>e(301)==t[e(356)]);for(const i of t)1==i[e(343)]&&i[e(323)](0).is(e(459),e(416))&&i[e(323)](0)[e(518)](e(401),!0)}}[ft(467)](t){const e=ft;this[e(603)](t);const i=this[e(592)][e(284)][e(410)](t,{}),s=Array[e(440)](i[e(537)]())[e(377)](t=>this[e(455)](t));return JSON[e(375)](s)}[ft(455)](t){const e=ft;if(t.is(e(286)))return t[e(284)];{const i=this[e(592)][e(601)][e(556)](e(417)),s=t,n=this[e(592)][e(284)][e(465)][e(398)],r={type:i[e(292)](s),name:s[e(356)],attributes:Array[e(440)](s[e(545)]()),children:Array[e(440)](s[e(537)]())[e(377)](t=>this[e(455)](t))};if(t.is(e(490))&&e(485)!=t[e(356)]){const i=t[e(441)](n[e(478)],n);r[e(350)][e(529)](i[e(599)])}else if(t.is(e(533))){const i=n[e(478)][e(525)](s[e(356)]);t[e(441)](i,n),r[e(350)][e(529)](i[e(429)])}const o=Array[e(440)](s[e(520)]());o[e(508)]>0&&(r[e(360)]=o);const a=s[e(571)]();return null!==a&&(r[e(499)]=a),r}}[ft(514)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(592)][r(430)];for(let s=0;s<e[r(508)];s++){const n=this[r(311)](e[s]),c=e[s][r(586)][r(435)](n),h=i[r(556)](c),d=s==e[r(508)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(420)]!=o[r(420)])&&(l(h,bt(a,t,u),bt(e[s],t,u)),o=h||null,a=h?e[s]:null),o&&d&&l(h,bt(a,t,u),wt(e[s],t,u))}function l(e,i,a){const l=r,h=o[l(420)],d=l(414)+s+":"+h+":"+c++,f=u[l(436)](i,a);t[l(411)][l(593)](d,f),null!==h&&n[l(293)](h)}}[ft(311)](t){const e=ft;switch(t[e(506)]){case e(394):return e(521);case e(299):return e(527);default:return e(387)}}[ft(336)](t,e){const i=ft;t[i(347)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(556)](n[i(579)][i(304)]);t[s]=this[i(464)](n,r)}if(n instanceof X.ModelRange){const r=e[i(556)](n[i(579)][i(304)]);t[s]=this[i(309)](n,r)}i(579)===s&&(t[i(579)]=e[i(556)](t[i(579)][i(304)]))}}[ft(309)](t,e){const i=ft;return this[i(592)][i(430)][i(436)](this[i(464)](t[i(492)],e),this[i(464)](t[i(583)],e))}[ft(464)](t,e){const i=ft;return this[i(592)][i(430)][i(422)](e,t[i(572)],t[i(363)])}[ft(289)](t){const e=ft,i=this[e(379)][e(556)](t[e(489)][e(579)][e(304)]),s=this[e(464)](t[e(489)],i),n=null===t[e(497)]?null:t[e(497)]||this[e(592)][e(601)][e(556)](e(547)).me.id,r=s[e(597)],o=this[e(419)],a=[];for(const i of t[e(354)])if(i.is(e(459)))a[e(529)](this[e(574)](i));else for(let t=0;t<i[e(338)];t++)a[e(529)](new X.ModelElement(e(286),{vid:this[e(419)]++}));const c=this[e(419)];for(let t=o;t<c;t++)this[e(444)][e(593)](t,{userId:n});r[e(554)](s[e(313)],a)}[ft(339)](t){const e=ft;(t=this[e(576)](t,this[e(379)]))[e(564)]();const i=null===t[e(497)]?null:t[e(497)]||this[e(592)][e(601)][e(556)](e(547)).me.id,s=t[e(423)](),n=s[e(597)],r=s[e(313)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(323)](e);r.is(a(459),a(286))?s[a(593)](r[a(435)](a(387)),{userId:i}):(s[a(593)](r[a(435)](a(521)),{userId:i}),t(s,r,0,r[a(343)]),s[a(593)](r[a(435)](a(527)),{userId:i}))}}(this[e(444)],n,r,r+t[e(488)])}[ft(351)](t){const e=ft,i=null===(t=this[e(576)](t,this[e(379)]))[e(497)]?null:t[e(497)]||this[e(592)][e(601)][e(556)](e(547)).me.id,s=t[e(437)][e(597)],n=t[e(381)][e(597)],r=s[e(435)](e(527)),o=n[e(435)](e(521));s[e(518)](e(527),n[e(435)](e(527))),n[e(518)](e(527),r),this[e(444)][e(593)](o,{userId:i}),this[e(444)][e(593)](r,{userId:i}),t[e(564)]()}[ft(324)](t){const e=ft,i=null===(t=this[e(576)](t,this[e(379)]))[e(497)]?null:t[e(497)]||this[e(592)][e(601)][e(556)](e(547)).me.id,s=t[e(484)],n=t[e(321)][e(597)];t[e(564)]();const r=n[e(435)](e(527)),o=t[e(364)][e(540)];if(s){const t=o[e(435)](e(527)),s=n[e(435)](e(527));n[e(518)](e(527),t),o[e(518)](e(527),s),this[e(444)][e(593)](n[e(435)](e(527)),{userId:i}),this[e(444)][e(593)](o[e(435)](e(521)),{userId:i})}else{const t=this[e(419)]++,s=this[e(419)]++;n[e(518)](e(527),t),o[e(518)](e(521),s),o[e(518)](e(527),r),this[e(444)][e(593)](t,{userId:i}),this[e(444)][e(593)](s,{userId:i})}}[ft(541)](t){const e=ft;if(!t[e(542)])return;const i=(t=this[e(576)](t,this[e(503)]))[e(382)]?t[e(382)][e(579)]:null,s=t[e(359)]?t[e(359)][e(579)]:null;i&&this[e(555)][e(368)](t[e(356)]),s&&this[e(555)][e(593)](t[e(356)],t[e(359)][e(310)]());const n=null===t[e(497)]?null:t[e(497)]||this[e(592)][e(601)][e(556)](e(547)).me.id,r=t[e(356)];if(!this[e(322)][e(330)](r))return void this[e(322)][e(593)](r,{range:t[e(382)],userId:n});const o=this[e(322)][e(556)](r),a=o[e(345)],c=t[e(359)];null==a&&null==c||a&&c&&a[e(561)](c)?this[e(322)][e(368)](t[e(356)]):o[e(420)]=n}[ft(421)](t,e){const i=ft;this[i(503)][i(330)](t[i(304)])?this[i(503)][i(556)](t[i(304)])[i(569)]=t[i(563)]:(this[i(503)][i(593)](t[i(304)],kt(t[i(304)],!0)),this[i(357)][i(593)](t[i(304)],{}),e&&this[i(379)][i(593)](t[i(304)],kt(t[i(304)],!0)));const s=null===t[i(497)]?null:t[i(497)]||this[i(592)][i(601)][i(556)](i(547)).me.id,n=this[i(285)][i(556)](t[i(304)]);n&&n[i(420)]===s?this[i(285)][i(368)](t[i(304)]):this[i(285)][i(593)](t[i(304)],{userId:s,isAttached:t[i(563)]})}[ft(334)](t){const e=ft,i=this[e(357)][e(556)](t[e(579)][e(304)]);null===t[e(443)]?delete i[t[e(565)]]:i[t[e(565)]]=t[e(443)]}}function yt(t){const e=ft,i=kt(t[e(304)],t[e(534)]());for(const s of t[e(537)]()){const t=s[e(327)](!0);i[e(390)](t)}return i}function kt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(304)]=t,s[i(569)]=e,s[i(534)]=()=>s[i(569)],s}function bt(t,e,i){const s=ft,n=s(299)==t[s(506)]?i[s(528)](t[s(586)],s(583)):i[s(449)](t[s(586)]);return i[s(422)](e,n[s(572)],n[s(363)])}function wt(t,e,i){const s=ft,n=s(394)==t[s(506)]?i[s(528)](t[s(586)],0):i[s(316)](t[s(586)]);return i[s(422)](e,n[s(572)],n[s(363)])}var _t=i(355),It=i(311),St=i(6),Ot=i.n(St),Tt=i(602),xt=i.n(Tt),Nt=i(557),At=i.n(Nt),Rt=i(302),Mt=i.n(Rt),Vt=i(290),Et=i.n(Vt),Dt=i(606),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(660),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Mt(),Lt.insert=At().bind(null,"head"),Lt.domAPI=xt(),Lt.insertStyleElement=Et();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=zt;function Pt(){const t=["value","344MRxrXO","arrowleft","add","Name of the revision","setTemplate","ck-responsive-form","keystrokes","18898429PItHIG","765782dfsVGp","focusTracker","errorText","2CfwapU","7JTnfvV","initializeCssTransitionDisablerMixin","fieldView","trim","arrowup","ck-revision-history-save-revision-form","revisionNameInputView","element","2109860mQNYdG","2449532axAddG","revisionName","stopPropagation","set","arrowdown","_createRevisionNameInput","7871628mJOaVM","revisionNameInputValue","extendTemplate","220","10wUWfvS","input","reset","2594463YEqrSM","arrowright","optional","locale","listenTo","focus","176787TaSKTb","label","form","render"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=251]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(674271===-parseInt(e(260))/1+parseInt(e(263))/2*(parseInt(e(286))/3)+-parseInt(e(273))/4*(-parseInt(e(283))/5)+parseInt(e(279))/6*(-parseInt(e(264))/7)+-parseInt(e(252))/8*(parseInt(e(292))/9)+-parseInt(e(272))/10+parseInt(e(259))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(261)];[jt(258)];[jt(270)];constructor(e,i){const s=jt;super(e),this[s(261)]=new t.FocusTracker,this[s(258)]=new t.KeystrokeHandler,this[s(276)](s(280),""),this[s(270)]=this[s(278)](i),this[s(256)]({tag:s(294),attributes:{class:["ck",s(269),s(257)],tabindex:"-1"},children:[this[s(270)]]}),this[s(265)]()}[jt(295)](){const t=jt;super[t(295)](),(0,It.submitHandler)({view:this}),this[t(261)][t(254)](this[t(270)][t(271)]),this[t(258)][t(290)](this[t(271)]);const e=e=>e[t(275)]();this[t(258)][t(276)](t(287),e),this[t(258)][t(276)](t(253),e),this[t(258)][t(276)](t(268),e),this[t(258)][t(276)](t(277),e)}[jt(291)](){const t=jt;this[t(270)][t(291)]()}get[jt(274)](){const t=jt;return this[t(270)][t(266)][t(271)][t(251)][t(267)]()}set[jt(274)](t){const e=jt;this[e(270)][e(266)][e(271)][e(251)]=t[e(267)]()}[jt(285)](){const t=jt;this[t(270)][t(266)][t(271)][t(251)]="",this[t(270)][t(262)]=null}[jt(278)](t){const e=jt,i=new It.LabeledFieldView(this[e(289)],It.createLabeledInputText),s=i[e(266)];s[e(281)]({attributes:{maxlength:e(282)}});let n=at(this[e(289)],e(255));return!t&&(n+=" ("+at(this[e(289)],e(288))+")"),i[e(293)]=n,s.on(e(284),()=>{const t=e;this[t(280)]=s[t(271)][t(251)][t(267)]()}),i}}function Ut(){const t=["editing","init","14820iTDImf","_saveRevisionFormView","requires","hide","5862960uzXlVl","menu","pluginName","items","view","Cancel","revisionHistory.requireRevisionName","plugins","config","menuitem","saveRevision","children","Open revision history","isReady","Dialog","4993043etaoFD","showRevisionViewerCallback","errorText","panelView","RevisionHistoryUI","527356ZUmNsG","10WmEOcO","Save current revision","componentFactory","The revision name cannot be empty.","isOpen","875063gyqJMY","ck-button-action","bind","reset","revisionNameInputView","16061760RmlSgc","revisionHistory","2952aTNVXF","RevisionTracker","focus","delegate","9MjQkSk","_registerMenuComponent","revisionSave","add","show","role","addMany","isPremiumPlugin","isEnabled","editor","76760MswTBd","Accept","Revision history","isOfficialPlugin","revisionName","_showDialog","get","render","locale","_createSaveRevisionFormView","buttonView","isReadOnly","553RQafXQ","menuBar:revisionHistory","2mwMAel","execute","submit","set"];return(Ut=function(){return t})()}const Ht=Zt;function Zt(t,e){const i=Ut();return(Zt=function(t,e){return i[t-=390]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(946702===-parseInt(e(419))/1*(-parseInt(e(454))/2)+-parseInt(e(430))/3*(parseInt(e(413))/4)+-parseInt(e(460))/5*(-parseInt(e(426))/6)+-parseInt(e(452))/7*(parseInt(e(440))/8)+parseInt(e(393))/9+-parseInt(e(414))/10*(-parseInt(e(408))/11)+-parseInt(e(424))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ut);class qt extends G.Plugin{static get[Ht(395)](){return Ht(412)}static get[Ht(443)](){return!0}static get[Ht(437)](){return!0}static get[Ht(391)](){return[vt]}[Ht(390)];[Ht(459)](){const t=Ht,e=this[t(439)],i=e[t(400)][t(446)](t(427));e.ui[t(416)][t(433)](t(425),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(411)][n(404)],a=new It.ListView(s),c=new It.ListItemView(s),u=new It.ButtonView(s),l=new It.ListItemView(s),h=new It.ButtonView(s);return r[n(421)](n(438)).to(i,n(406),i,n(438),e,n(451),(t,e,i)=>t&&e&&!i),r[n(450)][n(457)]({icon:_t.IconHistory,label:at(s,n(442)),tooltip:!0}),u[n(457)]({label:at(s,n(415)),withText:!0,role:n(402)}),u[n(421)](n(438)).to(i,n(406),i,n(438),e,n(451),(t,e,i)=>t&&e&&!i),u.on(n(455),()=>this[n(445)]()),h[n(457)]({label:at(s,n(405)),withText:!0,role:n(402)}),h[n(421)](n(438)).to(i,n(406),e,n(451),(t,e)=>t&&!e),h.on(n(455),()=>{const t=n;e[t(401)][t(446)](t(425))[t(409)](),r[t(418)]=!1,e[t(458)][t(397)][t(428)]()}),c[n(404)][n(433)](u),l[n(404)][n(433)](h),a[n(435)]=n(394),a[n(396)][n(436)]([c,l]),o[n(433)](a),r}),e.ui[t(416)][t(433)](t(453),()=>this[t(431)]())}[Ht(431)](){const t=Ht,e=this[t(439)],i=e[t(448)],s=new It.MenuBarMenuView(i),n=new It.MenuBarMenuListView(i);s[t(450)][t(457)]({icon:_t.IconHistory,label:at(i,t(442))});const r=new It.MenuBarMenuListItemView(i,s),o=new It.MenuBarMenuListItemButtonView(i);o[t(457)]({label:at(i,t(415))}),o[t(429)](t(455)).to(s),o.on(t(455),()=>{this[t(445)]()}),r[t(404)][t(433)](o),n[t(396)][t(433)](r);const a=new It.MenuBarMenuListItemView(i,s),c=new It.MenuBarMenuListItemButtonView(i);return c[t(457)]({label:at(i,t(405))}),c[t(429)](t(455)).to(s),c.on(t(455),()=>{const i=t;e[i(401)][i(446)](i(425))[i(409)]()}),a[t(404)][t(433)](c),n[t(396)][t(433)](a),s[t(411)][t(404)][t(433)](n),s}[Ht(445)](){const t=Ht,e=this[t(439)],i=e[t(448)],s=e[t(400)][t(446)](t(407)),n=e[t(400)][t(446)](t(427));function r(n){const r=t;e[r(401)][r(446)](r(399))&&""===n[r(444)]?n[r(423)][r(410)]=at(i,r(417)):(e[r(400)][r(446)](vt)[r(403)]({name:n[r(444)]}),s[r(392)]())}this[t(390)]||(this[t(449)](),this[t(390)].on(t(456),()=>r(this[t(390)]))),this[t(390)][t(422)](),s[t(434)]({id:t(432),title:at(i,t(415)),isModal:!0,content:this[t(390)],actionButtons:[{label:at(e[t(448)],t(398)),withText:!0,onExecute:()=>s[t(392)]()},{label:at(e[t(448)],t(441)),class:t(420),withText:!0,onCreate(i){const s=t;i[s(421)](s(438)).to(n,s(406),n,s(438),e,s(451),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(390)])}]})}[Ht(449)](){const t=Ht,e=this[t(439)],i=e[t(448)];this[t(390)]=new Wt(i,e[t(401)][t(446)](t(399))),this[t(390)][t(447)]()}}const $t=Yt;function Bt(){const t=["element","1856620rOpNTY","focus","892126sXqNPA","span","ck-revision-change","set","ck-revision-change__label","div","ck-revision-change__","changeId","779634JiWmvO","Suggested by","93723WXKMHL","type","399fapzku","bindTemplate","author","3qAxuui","name","data","_model","isSuggestion","1525592sPljlQ","27576dWWbFu","ck-annotation","Removed by","setTemplate","Added by","3310398bdRSjv","add"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=379]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(300862===-parseInt(e(384))/1+parseInt(e(405))/2+parseInt(e(389))/3*(-parseInt(e(394))/4)+parseInt(e(403))/5+parseInt(e(382))/6+-parseInt(e(386))/7*(-parseInt(e(395))/8)+-parseInt(e(400))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[$t(381)];[$t(392)];constructor(t,e){const i=$t;super(t),this[i(392)]=e,this[i(381)]=e.id;const s=this[i(387)],n=at(t,e[i(391)][i(393)]?i(383):i(401)==e[i(385)]?i(399):i(397));this[i(408)](i(385),e[i(385)]),this[i(398)]({tag:i(379),attributes:{class:[i(396),i(407),s.to(i(385),t=>i(380)+t)],tabindex:-1},children:[{tag:i(406),children:[{tag:i(406),attributes:{class:[i(409)]},children:[{text:n}]},{text:" "+e[i(388)][i(390)]}]}]})}[$t(404)](){const t=$t;this[t(402)][t(404)]()}}var Gt=Xt;function Kt(){var t=["1066088DyZrIV","17156840syYrPO","7351421clzSTo","createdAt","data","set","8qGlRRD","1176026ANdEgF","204966ifnzHW","rootName","author","1321775LXHdhQ","type","toJSON","2127165BhHrjd"];return(Kt=function(){return t})()}function Xt(t,e){var i=Kt();return(Xt=function(t,e){return i[t-=377]})(t,e)}!function(t){for(var e=Xt,i=t();;)try{if(752184===parseInt(e(387))/1+-parseInt(e(380))/2+parseInt(e(379))/3+parseInt(e(386))/4*(parseInt(e(391))/5)+-parseInt(e(388))/6+parseInt(e(382))/7+-parseInt(e(381))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(390)];[Gt(377)];[Gt(384)];[Gt(389)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(390)]=e[i(390)],this[i(377)]=e[i(377)],this[i(384)]=e[i(384)]||{},this[i(389)]=e[i(389)],this[i(385)](i(383),e[i(383)])}[Gt(378)](){var t=Gt;return{id:this.id,authorId:this[t(390)].id,type:this[t(377)],data:this[t(384)],createdAt:this[t(383)]}}}const te=ie;function ee(){const t=["703818tFXJcH","8097354WryruN","oldRevisionId","_setChanges","newRevisionId","555204eoyGXs","317815oLvDvw","1712998NHIMDZ","310438bDJFhs","changes","2TdSUzT","6063784pxYLvN","add","32rAAcJG"];return(ee=function(){return t})()}function ie(t,e){const i=ee();return(ie=function(t,e){return i[t-=112]})(t,e)}!function(t){const e=ie,i=t();for(;;)try{if(388821===-parseInt(e(115))/1*(-parseInt(e(117))/2)+-parseInt(e(121))/3+parseInt(e(120))/4*(parseInt(e(113))/5)+-parseInt(e(112))/6+-parseInt(e(114))/7+-parseInt(e(118))/8+parseInt(e(122))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ee);class se{[te(125)];[te(123)];[te(116)];constructor(e,i){const s=te;this[s(125)]=e,this[s(123)]=i,this[s(116)]=new t.Collection}[te(124)](t){const e=te;for(const i of t)this[e(116)][e(119)](i)}}var ne=i(316),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ce;function ae(){const t=["add","isContent","pluginName","config","33156OpopNK","index","first","conversion","isNavigationMode","checkAttribute","view","mousedown","distance","createRevision","modelRange","bottom","execute","restoreRevision","_setDistance","_balloon","_setConversion","destroy","vid","_makeModelFromViewString","addHighlight","consumable","markersEnd","nextSibling","markerToData","elementToAttribute","_makeModelFromTape","offsetSize","highest","restoreRevisionCallback","addMarker:revision","_getDiff","getLaterVisibleRevision","2933224nkJlct","bindElementToMarker","selection","getRevisionDocumentData","refresh","return","-new","498896NsiEuz","_removeMissingPairs","enableReadOnlyMode","startIndex","string","data-change-id","domEvent","deletions","pop","suggestion","RevisionViewer","isSuggestion","high","_markMismatchedRemovedTags","element:pre","attachChange","isPremiumPlugin","isReady","hasClass","revision:","_cleanUp","detachRoot","target","markers","revision-comment:","slice","upcast","activeView","downcastDispatcher","activeChange","parent","createPositionBefore","createRangeIn","addRevision","change:numberOfChanges","comment","_activeViewTarget","getIndex","342KRxNdw","oldRevisionId","isObject","isEnabled","maxOffset","text","showNextChange","getRevisionRootsAttributes","513070tPZMFN","has","change:activeView","createRange","isInline","remove","ck-revision-history-root-","attributes","reconvertMarker","ck-revision-history-root-remove","_utils","wrap","isBlock","code","currentChangeNumber","_makeTape","init","end","isEqual","roots","mapViewToDom","isLimit","_update","test","vid_end","userId","WidgetToolbarRepository","forEach","markerName","editing","document","change:isEnabled","nextPosition","span","shift","name","removeClass","done","editingDowncast","_appendChild","isAfter","ck-suggestion-marker-split","object","removeMarker","_step","_removeUnsupportedChanges","schema","markerNameToElements","showPreviousChange","catch","newRevisionId","resolve","isAtEnd","unshift","commands","type","hasAttribute","concat","33910CiZwHh","stop","elementStart","isRemoveSuggestion","toViewRange","side","authors","isOnRoot","ck-suggestion-preview-marker-","_initInteractions","_joinTapes","plugins","consume","_sortAndFilterDiffChanges","map","level","changeId","ck-suggestion-marker-","uiElement","RevisionsRepository","forward","_markInsertions","elementEnd","_fixObsoleteTags","revision","markersStart","pairId","createUIElement","from","change:activeChange","getRevision","getAttributes","split","vid_start","compare","repository","_changeIdToChange","22kTYFkO","revisionHistoryLabel","addRoot","getAttribute","writer","14886VEVEHX","start","numberOfChanges","getWalker","then","keys","isAtStart","addMarker:revision-suggestion:insertion","ck-suggestion-preview-marker","removeAttribute","addClass","backward","isAdded","dataToMarker","insertions","low","locale","attributesAfter","mapper","updatePosition","getRoot","1800248llzGeU","length","push","findIndex","indexOf","startsWith","sort","revision-suggestion","getDomRoot","for","removeMarker:revision-suggestion","merge","_markMarkers","adapter","dataDowncast","deletion","change:isReady","removeMarker:revision","isAddSuggestion","createAttributeElement","suggestion:","2eYgPHZ","top","next","addRevisionData","affectsData","right","diffData","_setChanges","enqueueChange","_refreshStartEndIndex","bind","abs","endIndex","getClientRects","addMarker:revision-suggestion:deletion","getCustomProperty","unbindElementFromMarkerName","_data","set","includes","editor","range","model","get","ck-revision-history-root--active","find","getItems","attributesBefore","data","observeMarkers","revision-viewer","previousPosition","_getRevisionsRange","isCollapsed","showStack","delete","_getViewForChange","isIncorrect","RevisionHistoryUtils","toViewPosition","isAttached","listenTo","isRemoved","_markSuggestions","setAttribute","POSITIVE_INFINITY","createPositionFromPath","change","revisionHistoryAttachChange","_changeView","loadRevisionData","diff","values","isOfficialPlugin","markerToHighlight","softBreak","nodeAfter","_cleanMarkers","isBefore","ck-suggestion-marker-merge","attribute:vid","insertion","viewItem","domConverter","ck-revision-history-root-add","revisionHistory","ck-suggestion-marker--active","_revisions","_threeWayMerge","changes","rootName","item","mouseover","element","ck-suggestion-marker","2784rErKXl","left","ck-editor__editable__overlay","filter","forceDisabled","getChild","all","insert","_getChangeFromId","requires","clear","flat","toViewElement","revision-suggestion:","error","splice","_processTape","markerRange","_findChangeIdFromDomTarget","getRootNames"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=380]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(318574===-parseInt(e(461))/1*(parseInt(e(600))/2)+-parseInt(e(560))/3+-parseInt(e(440))/4+-parseInt(e(704))/5*(-parseInt(e(638))/6)+parseInt(e(593))/7+-parseInt(e(536))/8*(-parseInt(e(419))/9)+-parseInt(e(646))/10*(parseInt(e(414))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(412)];[oe(453)]=null;[oe(656)];[oe(636)];[oe(510)];[oe(413)];[oe(575)];static get[oe(558)](){return oe(610)}static get[oe(514)](){return!0}static get[oe(616)](){return!0}static get[oe(545)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(412)]=this[e(481)][e(388)][e(484)](e(396)),this[e(656)]=this[e(481)][e(388)][e(484)](e(499)),this[e(479)](e(629),null),this[e(479)](e(627),null),this[e(636)]=null,this[e(479)](e(512),null),this[e(479)](e(617),!1),this[e(479)](e(641),!0),this.on(e(677),(t,i,s)=>{const n=e;this[n(629)]=null,this[n(627)]=null,this[n(481)][n(675)][n(566)][n(508)](t=>{const e=n;for(const i of this[e(481)][e(675)][e(566)][e(676)][e(665)])s?t[e(682)](e(538),i):t[e(429)](e(538),i)})}),this[e(471)](e(564)).to(this,e(629),t=>null!==t),this[e(471)](e(660)).to(this,e(617),this,e(512),this,e(629),(t,i,s)=>t&&s?i[e(530)][e(637)](s):0),this[e(471)](e(421)).to(this,e(617),this,e(512),(t,i)=>t?i[e(530)][e(441)]:0),this[e(510)]=null,this[e(413)]=new Map,this[e(575)]=this[e(481)][e(388)][e(484)](It.ContextualBalloon)}[oe(662)](){const t=oe,e=this[t(481)],i=new de(e,{direction:t(430)}),s=new de(e,{direction:t(397)});e[t(700)][t(556)](t(694),i),e[t(700)][t(556)](t(644),s),e[t(700)][t(556)](t(573),new he(e)),this.on(t(634),()=>{const e=t;i[e(597)](),s[e(597)]()}),this[t(576)](),this[t(386)](),e[t(602)](t(491)),e[t(388)][t(647)](t(672))&&e[t(388)][t(484)](t(672))[t(540)](t(491))}async[oe(596)](t){const e=oe;return await this[e(656)][e(511)](t,this[e(453)]),this[e(656)][e(596)](t)}async[oe(645)](t){const e=oe;return await this[e(656)][e(511)](t,this[e(453)]),this[e(656)][e(645)](t)}async[oe(411)](t,e,i=!1){const s=oe;if(!this[s(641)])return;const n=this[s(512)],r=this[s(412)],o=s(604)==typeof t?r[s(407)](t):t,a=s(604)==typeof e?r[s(407)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(512)]&&this[s(512)][s(696)]===c&&this[s(512)][s(639)]===u)return Promise[s(697)]();this[s(617)]=!1,this[s(627)]=null,this[s(629)]=null,this[s(512)]=new se(c,u);const l=this[s(493)](o,a,!0)[s(391)](t=>this[s(656)][s(511)](t,this[s(453)]));return l[s(442)](new Promise(t=>{setTimeout(t,20)})),Promise[s(542)](l)[s(423)](()=>{const t=s;if(!this[t(641)])return;this[t(620)]();const e=this[t(591)](c,u);for(const i of e[t(530)])this[t(413)][t(479)](i.id,i);this[t(481)][t(483)][t(469)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(481)][s(483)][s(676)][s(555)]())i[s(621)](t);for(const t of Object[s(424)](e[s(483)])){const n=i[s(416)](t);for(const r of Object[s(424)](e[s(653)][t]))i[s(505)](r,e[s(653)][t][r],n);i[s(543)](e[s(483)][t],n,0)}}),this[t(512)][t(468)](this[t(390)](e[t(530)])),this[t(617)]=!0})[s(695)](t=>{const e=s;console[e(550)](t),this[e(620)](),n&&(this[e(512)]=n),this[e(617)]=!0})}[oe(464)](t,e){const i=oe,s=this[i(412)][i(569)](t);return s.on(i(668),(t,i,n)=>e(i,n,s)),this[i(412)][i(633)](s),s}[oe(620)](){const t=oe;this[t(629)]=null,this[t(518)](),this[t(510)]&&this[t(510)][t(577)](),this[t(510)]=null,this[t(413)][t(546)](),this[t(481)][t(483)][t(469)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(481)][i(483)][i(676)][i(555)]())e[i(621)](t)})}[oe(390)](t){const e=oe,i=[],s=new Map;for(const t of this[e(481)][e(483)][e(676)][e(555)]()){const n=this[e(481)][e(675)][e(566)][e(448)](t);if(!n)continue;const r=n[e(474)]()[e(532)](0);r&&(i[e(442)](t),s[e(479)](t,r))}return i[e(446)]((t,i)=>{const n=e,r=s[n(484)](t),o=s[n(484)](i);return r.y-o.y||r.x-o.x}),(t=t[e(539)](t=>i[e(480)](t[e(531)])))[e(446)]((t,s)=>i[e(444)](t[e(531)])-i[e(444)](s[e(531)])),t}[oe(661)](t){const e=oe,i=Array[e(405)](t[e(623)])[e(539)](([t,i])=>t[e(445)](e(619))&&!i[e(494)]),s=Array[e(405)](this[e(481)][e(483)][e(632)](t)[e(422)]({singleCharacters:!0}));if(0!=i[e(441)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(409)](":");if(n[e(663)][e(664)](t[e(678)])&&i[e(680)](),(t[e(492)][e(664)](n[e(420)])||t[e(492)][e(686)](n[e(420)]))&&(e(522)==r?t[e(431)]={userId:o}:e(455)==r&&(t[e(503)]={userId:o})),0==i[e(441)])break}return s}[oe(470)](t){const e=oe,i=new Map;for(let s=0;s<t[e(441)];s++)e(643)===t[s][e(701)]?(t[s][e(532)][e(603)]=s,t[s][e(532)][e(473)]=s):(e(706)===t[s][e(701)]?t[s][e(532)][e(603)]=s:e(399)===t[s][e(701)]&&(t[s][e(532)][e(473)]=s),i[e(479)](t[s].id,s));for(const s of i[e(513)]())e(706)===t[s][e(701)]?t[s][e(532)][e(473)]=i[e(484)](t[s][e(403)]):e(399)===t[s][e(701)]&&(t[s][e(532)][e(603)]=i[e(484)](t[s][e(403)]))}[oe(552)](t){const e=oe;for(let i=0;i<t[e(441)];i++){if(e(706)===t[i][e(701)])t[i][e(532)][e(603)]=i;else if(e(399)===t[i][e(701)]){t[i][e(532)][e(473)]=i;const s=t[i][e(532)][e(603)];t[s][e(403)]=t[i].id,t[i][e(403)]=t[s].id}else t[i][e(532)][e(603)]=i,t[i][e(532)][e(473)]=i,t[i][e(403)]=null;t[i][e(402)]||(t[i][e(402)]=[],t[i][e(582)]=[])}}[oe(398)](t,e){const i=oe,s=t[i(539)](t=>!t[i(431)]);for(let t=0;t<e[i(441)];t++)e[t][i(431)]&&(s[t][i(431)]=e[t][i(431)])}[oe(591)](t,e=null){const i=oe,s=this[i(412)][i(407)](t),n=e?this[i(412)][i(407)](e):null,r=this[i(493)](s,n),o=r[r[i(441)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(441)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(424)](e[i(467)]))if(e[i(467)][t][i(615)]){const s=e[i(467)][t][i(615)];s[i(501)]?(u[i(556)](t),l[i(647)](t)&&l[i(484)](t)[i(671)]==s[i(671)]?l[i(496)](t):l[i(479)](t,s)):l[i(647)](t)?(u[i(496)](t),l[i(496)](t)):(u[i(556)](t),l[i(479)](t,s))}else u[i(556)](t)}for(const t of u){const e=l[i(647)](t)&&!l[i(484)](t)[i(501)];let s=e?r[i(441)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(467)][t]){const s=e?o[i(467)][t][i(488)]:o[i(467)][t][i(436)];c[i(653)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(483)]={};for(const e of t[i(383)])a[i(479)](e.id,e);for(const e of u){const s=t[i(467)][e]?t[i(467)][e][i(433)]:"[]",n=t[i(467)][e]?t[i(467)][e][i(607)]:"[]";t[i(483)][e]={insertions:this[i(656)][i(579)](s),deletions:this[i(656)][i(579)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(405)](s[i(483)][t][i(433)][i(623)])[i(539)](([t])=>!t[i(445)](i(619))));let h=0;for(const o of r){const r=this[i(661)](o[i(483)][t][i(433)]);o==s?(e=r,n=e[i(441)],e[i(673)](t=>{t.id=h++}),this[i(552)](e)):this[i(398)](e,r);const a=e[i(539)](t=>!t[i(431)])[i(391)](t=>t.id);let c=0;const l=this[i(661)](o[i(483)][t][i(607)]);l[i(673)](t=>{t[i(503)]?t.id=n++:t.id=a[c++]}),this[i(552)](l),this[i(574)](e,i(431)),this[i(574)](l,i(503)),o==s&&this[i(452)](e,u),e=this[i(387)](e,l),this[i(470)](e),this[i(574)](e,i(503))}e=e[i(539)](t=>!(t[i(431)]&&t[i(503)]));const d=new Map(o[i(483)][t][i(607)][i(623)]),f=new Set(u[i(424)]());for(const t of d[i(424)]())f[i(496)](t);this[i(504)](e,f),this[i(400)](e),e=this[i(601)](e),e=this[i(613)](e),e=this[i(691)](e);const{root:m,changes:p}=this[i(586)](e,a,t);c[i(483)][t]=m;const v=l[i(484)](t);if(v){const e=a[i(484)](v[i(671)]),s=new Qt({author:e,type:v[i(501)]?i(556):i(651),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(699)](s),c[i(653)][t][i(509)]=s.id}c[i(530)]=c[i(530)][i(703)](p)}return c}[oe(452)](t,e){const i=oe;for(let s=0;s<t[i(441)];s++)for(const[n,r]of e)!r[i(494)]&&r[i(420)][i(664)](t[s][i(492)])&&t[s][i(402)][i(442)](n),r[i(663)][i(664)](t[s][i(678)])&&t[s][i(582)][i(442)](n)}[oe(387)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(441)]||r<e[i(441)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(442)](o);else if(a[i(503)]&&o[i(431)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(529)](t,n,e,r);s=s[i(703)](o),n=a,r=c}else a[i(503)]?(r++,s[i(442)](a)):(n++,s[i(442)](o))}return s}[oe(504)](t,e){const i=oe,s=[];for(let o=0;o<t[i(441)];o++){for(let r=0;r<t[o][i(402)][i(441)];r++){const a=t[o][i(402)][r];if(!e[i(647)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(447)!=c||i(522)!=u&&i(455)!=u||(s[i(699)]({type:u,name:a,userId:l}),t[o][i(402)][i(551)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(582)][i(441)];r++){const a=t[o][i(582)][r];if(!e[i(647)](a))continue;const{group:c,type:u}=n(a);if(i(447)!=c||i(522)!=u&&i(455)!=u)continue;t[o][i(582)][i(551)](r,1),r--;const l=s[i(443)](t=>t[i(681)]==a);l>-1&&s[i(551)](l,1)}}function n(t){const e=i,s=t[e(409)](":");return{group:s[0],type:s[1],subType:s[e(441)]>=5?s[2]:null,id:s[e(441)]<5?s[2]:s[3],authorId:s[e(441)]<5?s[3]:s[4],markerCount:6==s[e(441)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(441)];i++){if(t[e(431)]&&e(522)==s[i][e(701)]&&t[e(431)][e(671)]==s[i][e(671)])return t[e(458)]=s[i],void delete t[e(431)];if(!t[e(431)]&&!t[e(503)]&&e(455)==s[i][e(701)])return void(t[e(380)]=s[i])}}}[oe(574)](t,e){const i=oe;let s=0,n=!1;const r=new Map;for(const o of t)o[e]?n&&(s++,n=!1):(s++,n=!0),r[i(479)](o.id,s);for(let s=0;s<t[i(441)];s++){if(i(503)==e&&t[s][i(431)]||i(431)==e&&t[s][i(503)])continue;if(i(643)==t[s][i(701)]){t[s][i(568)]=0;continue}const n=r[i(484)](t[s][i(403)]),o=r[i(484)](t[s].id);t[s][i(568)]=n-o}}[oe(493)](t,e,i=!1){const s=oe,n=[];let r=this[s(412)][s(637)](t),o=this[s(412)][s(637)](e);for(-1==o&&(o=this[s(412)][s(528)][s(441)],i=!1);r<o;)n[s(442)](this[s(412)][s(407)](r)),r++;return i&&n[s(442)](this[s(412)][s(407)](r)),n}[oe(529)](t,e,i,s){const n=oe,r=this[n(481)][n(483)][n(692)];let o=e;for(;t[o]&&t[o][n(431)];)o++;let a=s;for(;i[a]&&i[a][n(503)];)a++;u(t,e,o),u(i,s,a);const c=i[n(625)](s,a)[n(703)](t[n(625)](e,o));return c[n(446)]((t,e)=>t[n(382)]!=e[n(382)]?t[n(382)]-e[n(382)]:t[n(392)]!=e[n(392)]?t[n(392)]-e[n(392)]:t[n(568)]!=e[n(568)]?e[n(568)]-t[n(568)]:!!t[n(431)]!=!!e[n(431)]?-1==t[n(382)]||0==t[n(382)]?t[n(431)]?-1:1:t[n(431)]?1:-1:t[n(561)]-e[n(561)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(506)],c=!0;for(let n=e;n<i;n++)if(r[s(650)](t[n][s(532)])||(c=!1),t[n][s(532)][s(603)]<e&&(o=n),t[n][s(532)][s(473)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(382)]=n<=o?-1:n<a?0:1,t[n][s(561)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(568)]?t[i][s(392)]=u:(u++,t[i][s(392)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(382)]&&(t[n][s(392)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(568)]?t[e][s(392)]=u:(u--,t[e][s(392)]=u,u--)}}[oe(400)](t){const e=oe,i=new Map,s=this[e(481)][e(483)][e(692)];for(let n=1;n<t[e(441)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(643)==c[e(701)])continue;if(c[e(701)]!=u[e(701)])continue;if(!s[e(658)](u[e(532)])||s[e(667)](u[e(532)]))continue;if(!s[e(658)](c[e(532)])||s[e(667)](c[e(532)]))continue;if((t[n][e(431)]||t[n][e(458)])&&t[n-1][e(503)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(503)]||!t[n-1][e(431)]&&!t[n-1][e(458)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(392)]==o[e(392)],h=Math[e(472)](r[e(392)])<Math[e(472)](o[e(392)])&&0==o[e(568)];(l||h)&&(i[e(479)](o.id,r.id),t[e(551)](a,1),n--,r[e(431)]=!1)}for(let s=0;s<t[e(441)];s++)i[e(647)](t[s][e(403)])&&(t[s][e(403)]=i[e(484)](t[s][e(403)]))}[oe(601)](t){const e=oe,i=new Set(t[e(391)](t=>t.id));for(let s=0;s<t[e(441)];s++)i[e(647)](t[s][e(403)])||0==t[s][e(568)]||(t[s][e(498)]=!0);return t[e(539)](t=>!t[e(498)])}[oe(613)](t){const e=oe,i=new Set;for(let s=0;s<t[e(441)];s++){if(i[e(647)](t[s].id)&&t[s][e(503)]&&(t[s][e(498)]=!0),t[s][e(498)])continue;if(0==t[s][e(568)])continue;if(e(706)!=t[s][e(701)])continue;if(null==t[s][e(403)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(403)];)e(706)==t[n][e(701)]?r++:e(399)==t[n][e(701)]&&r--,n++;if(0!=r)if(t[s][e(503)])t[s][e(498)]=!0;else for(;n!=s;)t[n][e(503)]&&0!=t[n][e(568)]&&(t[n][e(498)]=!0,i[e(556)](t[n][e(403)])),n--}return t[e(539)](t=>!t[e(498)])}[oe(691)](t){const e=oe,i=this[e(481)][e(483)][e(692)];for(let s=0;s<t[e(441)];s++){if(!(t[s][e(431)]||t[s][e(458)]||t[s][e(503)]||t[s][e(380)]))continue;if(0==t[s][e(568)])continue;const n=t[s][e(532)];i[e(658)](n)||i[e(667)](n)||(t[s][e(431)]&&delete t[s][e(431)],t[s][e(458)]&&delete t[s][e(458)],t[s][e(380)]&&delete t[s][e(380)],t[s][e(503)]&&(t[s][e(498)]=!0))}return t[e(539)](t=>!t[e(498)])}[oe(586)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(481)][s(483)],c=a[s(692)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(441)];e++)if(s(706)===t[e][s(701)]){t[e][s(492)]=a[s(507)](n,f);const i=new X.ModelElement(t[e][s(532)][s(681)],t[e][s(532)][s(408)]());u[0][s(685)](i),f[s(442)](0),u[s(699)](i),t[e][s(678)]=a[s(507)](n,f)}else s(399)===t[e][s(701)]?(u[s(680)](),t[e][s(492)]=a[s(507)](n,f),f[s(608)](),f[f[s(441)]-1]++,t[e][s(678)]=a[s(507)](n,f)):(t[e][s(492)]=a[s(507)](n,f),d?d[s(478)]+=t[e][s(532)][s(489)]:d=new X.ModelText(t[e][s(532)][s(489)],t[e][s(532)][s(408)]()),t[e+1]&&s(643)===t[e+1][s(701)]&&v(d,t[e+1][s(532)])||(u[0][s(685)](d),d=null),f[f[s(441)]-1]+=t[e][s(532)][s(587)],t[e][s(678)]=a[s(507)](n,f));for(let e=0;e<t[s(441)];e++){const i=t[e][s(492)],n=t[e][s(678)];for(const n of t[e][s(402)])o[s(479)](n,{start:i,end:null});m(s(380),e,i,n),m(s(458),e,i,n),m(s(503),e,i,n),m(s(431),e,i,n);for(const i of t[e][s(582)]){const t=o[s(484)](i);t?t[s(663)]=n:o[s(479)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(481)][s(483)][s(649)](e[s(420)],e[s(663)]);n[s(623)][s(479)](t,i)}return r[s(446)]((t,e)=>{const i=s,r=n[i(623)][i(484)](i(619)+t.id),o=n[i(623)][i(484)](i(619)+e.id);return r[i(420)][i(519)](o[i(420)])?-1:r[i(420)][i(686)](o[i(420)])?1:r[i(663)][i(519)](o[i(663)])?-1:r[i(663)][i(686)](o[i(663)])?1:i(556)===t[i(701)]?-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(671)]:null,d=i===t[o(441)]-1,f=h[e][0],m=c[o(640)](t[i][o(532)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(663)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(671)]!==u&&(l[e][o(663)]=n,f&&f[o(671)]===l[e][o(671)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(706)!==t[i][o(701)]||f&&f[o(671)]===u||h[e][o(699)]({userId:u,object:t[i][o(532)],change:l[e]}),o(399)===t[i][o(701)]&&f&&f[o(688)]===t[i][o(532)]&&(h[e][o(680)](),l[e]=f[o(508)])),l[e]&&d&&(l[e][o(663)]=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(532)],f=a[h(692)][h(658)](d)&&!a[h(692)][h(667)](d),m=t[h(517)]==o[h(630)]&&o[h(425)];if(f&&m)return;const p=a[h(649)](t,o),v=e[h(484)](u),g=new Qt({author:v,type:h(431)==l||h(458)==l?h(556):h(651),data:{isSuggestion:h(458)==l||h(380)==l},createdAt:new Date,rootName:i});r[h(442)](g),n[h(623)][h(479)](h(619)+g.id,p)}function v(t,e){const i=s,n=t[i(408)](),r=e[i(408)]();for(const t of n){if(t[1]!==e[i(417)](t[0]))return!1;r[i(463)]()}return r[i(463)]()[i(683)]}}[oe(576)](){const t=oe;this[t(481)][t(563)][t(449)](t(626))[t(432)]({view:t(401)}),this[t(481)][t(563)][t(449)](t(684))[t(515)]({model:t(401),view:e=>{const i=t,s=e[i(674)][i(409)](":")[1],n=this[i(544)](s);if(!n)return null;const r=i(556)==n[i(701)]?i(522):i(455),o=[i(535),i(394)+r];return n[i(489)][i(611)]&&o[i(442)](i(394)+r+i(599)),this[i(629)]==n&&o[i(442)](i(527)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(481)][t(563)][t(449)](t(626))[t(556)](e=>{const i=t;e.on(i(614),(t,e,s)=>{const n=i,r=e[n(523)][n(541)](0);if(!r||!r.is(n(534),n(659)))return;if(!s[n(581)][n(389)](r,{attributes:[n(410),n(670)]}))return;const o=e[n(570)][n(420)][n(517)];s[n(418)][n(505)](n(410),r[n(417)](n(410)),o),s[n(418)][n(505)](n(670),r[n(417)](n(670)),o)},{priority:i(434)})}),this[t(481)][t(563)][t(449)](t(626))[t(556)](e=>{const i=t;e.on(i(534),(t,e,s)=>{const n=i;if(!s[n(581)][n(389)](e[n(523)],{attributes:[n(410),n(670)]}))return;if(e[n(570)][n(494)])return;const r=e[n(570)][n(420)][n(517)];r[n(702)](n(410))||r[n(702)](n(578))||(s[n(418)][n(505)](n(410),e[n(523)][n(417)](n(410)),r),s[n(418)][n(505)](n(670),e[n(523)][n(417)](n(670)),r))},{priority:i(434)})}),this[t(481)][t(563)][t(449)](t(626))[t(585)]({view:{name:t(679),attributes:{vid:!0}},model:{key:t(578),value:e=>e[t(417)](t(578))}}),this[t(481)][t(483)][t(692)].on(t(565),(e,[,i])=>{const s=t;[s(410),s(670),s(578)][s(480)](i)&&(e[s(598)]=!0,e[s(705)]())},{priority:t(588)}),this[t(481)][t(563)][t(449)](t(454))[t(556)](e=>{const i=t;e.on(i(521),(t,e,s)=>{const n=i;if(" "!=e[n(532)][n(489)]||e[n(532)][n(630)][n(642)]>1)return;if(!s[n(581)][n(389)](e[n(532)],t[n(681)]))return;const r=s[n(418)],o=s[n(437)][n(381)](e[n(482)]);r[n(657)](o,r[n(459)](n(679)))})}),this[t(481)][t(563)][t(449)](t(454))[t(584)]({model:t(401)}),this[t(481)][t(675)][t(628)].on(t(590),function(e){const i=t,s=e[i(388)][i(484)](i(610));return(t,n,r)=>{const o=i,a=n[o(674)][o(409)](":")[1],c=s[o(544)](a);if(!c)return null;const u=o(556)==c[o(701)]?o(409):o(451);if(!r[o(581)][o(669)](n[o(553)],t[o(681)]))return;const l=n[o(553)][o(422)](),h=n[o(553)][o(420)],d=e[o(483)][o(692)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(532)];p=p||d[o(557)](e);const i=r[o(437)][o(548)](e);if(i&&i[o(476)](o(580)))return;o(399)==t[o(701)]&&d[o(658)](e)&&!d[o(667)](e)&&(e[o(583)]||h[o(698)]?f&&f[o(630)]==e||(f=e,g(t[o(492)]),v=!0):m=m||t[o(492)])}function g(t){const e=o,i=r[e(418)][e(404)](e(679),{class:e(394)+u}),a=r[e(437)][e(500)](t);c[e(489)][e(611)]&&r[e(418)][e(429)](e(394)+u+e(599),i),s[e(629)]==c&&r[e(418)][e(429)](e(527),i),r[e(418)][e(543)](a,i),r[e(437)][e(594)](i,n[e(674)])}p||v||!m||g(m)}}(this[t(481)]),{priority:t(612)}),this[t(481)][t(675)][t(628)].on(t(457),(e,i,s)=>{const n=t,r=s[n(437)][n(693)](i[n(674)]);if(r)for(const t of r)(t[n(618)](n(687))||t[n(618)](n(520)))&&(s[n(437)][n(477)](t,i[n(674)]),s[n(418)][n(651)](t))},{priority:t(612)}),this[t(481)][t(675)][t(628)].on(t(590),(e,i,s)=>{const n=t,r=i[n(674)][n(409)](":")[1],o=this[n(544)](r);if(!o)return null;const a=n(556)==o[n(701)]?n(409):n(451);if(s[n(581)][n(669)](i[n(553)],e[n(681)]))for(const t of i[n(553)][n(487)]()){if(!t.is(n(534),n(516)))continue;const e=s[n(418)][n(404)](n(679),{class:n(394)+a}),r=s[n(437)][n(500)](this[n(481)][n(483)][n(631)](t));o[n(489)][n(611)]&&s[n(418)][n(429)](n(394)+a+n(599),e),this[n(629)]==o&&s[n(418)][n(429)](n(527),e),s[n(418)][n(543)](r,e),s[n(437)][n(594)](e,i[n(674)])}},{priority:t(612)}),this[t(481)][t(483)][t(676)].on(t(508),()=>{const e=t;this[e(481)][e(675)][e(566)][e(508)](t=>{const i=e;for(const e of this[i(481)][i(483)][i(676)][i(555)]()){const s=this[i(481)][i(483)][i(676)][i(439)](e),n=this[i(481)][i(675)][i(566)][i(676)][i(439)](e);if(n){const e=s[i(417)](i(509));if(t[i(428)](i(605),n),t[i(682)](i(525),n),t[i(682)](i(655),n),t[i(682)](i(485),n),e){const s=this[i(544)](e);if(!s)return null;t[i(505)](i(605),e,n),t[i(429)](i(652)+s[i(701)],n),this[i(629)]==s&&t[i(429)](i(485),n)}}}})}),this[t(481)][t(563)][t(449)](t(626))[t(432)]({view:t(635),model:e=>t(624)+e,converterPriority:t(588)}),this[t(481)][t(563)][t(449)](t(626))[t(432)]({view:t(609),model:e=>t(549)+e,converterPriority:t(588)}),this[t(481)][t(563)][t(449)](t(454))[t(584)]({model:t(447),view:e=>({name:t(460)+e,group:t(447)}),converterPriority:t(588)}),this[t(481)][t(563)][t(449)](t(684))[t(515)]({model:t(447),view:e=>{const i=t,s=e[i(674)][i(409)](":")[1];return i(522)!=s&&i(455)!=s?null:{classes:[i(427),i(385)+s]}}}),this[t(481)][t(675)][t(628)].on(t(475),le(this[t(481)],t(451)),{priority:t(612)}),this[t(481)][t(675)][t(628)].on(t(426),le(this[t(481)],t(409)),{priority:t(612)}),this[t(481)][t(675)][t(628)].on(t(450),(e,i,s)=>{const n=t,r=s[n(437)][n(693)](i[n(674)]);if(r)for(const t of r)t.is(n(395))&&(s[n(437)][n(477)](t,i[n(674)]),s[n(418)][n(651)](t))},{priority:t(612)})}[oe(544)](t){const e=oe;return this[e(413)][e(484)](t)}[oe(497)](t){const e=oe;return this[e(510)]&&this[e(510)][e(577)](),this[e(510)]=new Jt(this[e(481)][e(435)],t),this[e(510)]}[oe(386)](){const t=oe;this[t(481)][t(483)][t(676)][t(595)][t(490)](t(401)),this.on(t(648),(e,i,s,n)=>{const r=t;n&&this[r(575)][r(651)](n),s&&(this[r(575)][r(556)]({view:s,stackId:r(415),position:{target:()=>{const t=r,e=this[t(481)][t(675)],i=this[t(544)](s[t(393)]);let n;if(i[t(489)][t(384)]){const s=e[t(566)][t(448)](i[t(531)]);n=Array[t(405)](s[t(474)]())}else{const i=this[t(481)][t(483)][t(623)][t(484)](t(619)+s[t(393)]);n=Array[t(405)](e[t(437)][t(693)](i[t(681)]))[t(391)](i=>e[t(566)][t(524)][t(666)](i))[t(391)](e=>Array[t(405)](e[t(474)]()))[t(547)]()}return this[t(636)]&&n[t(486)](e=>e[t(462)]-3<=this[t(636)].y&&e[t(571)]+3>=this[t(636)].y&&e[t(537)]-3<=this[t(636)].x&&e[t(466)]+3>=this[t(636)].x)||n[0]}}}),this[r(575)][r(495)](r(415)))}),this.on(t(406),(e,i,s,n)=>{const r=t;this[r(627)]=s?this[r(497)](s):null,this[r(481)][r(483)][r(508)](()=>{const t=r,e=this[t(481)][t(675)];n&&(n[t(489)][t(384)]?e[t(566)][t(508)](i=>{const s=t;i[s(682)](s(485),e[s(566)][s(676)][s(439)](n[s(531)]))}):e[t(654)](t(619)+n.id)),s&&(s[t(489)][t(384)]?e[t(566)][t(508)](i=>{const n=t;i[n(429)](n(485),e[n(566)][n(676)][n(439)](s[n(531)]))}):e[t(654)](t(619)+s.id))})}),this[t(502)](this[t(481)][t(675)][t(566)][t(676)],t(533),(e,i)=>{const s=t;if(this[s(629)])return;const n=this[s(554)](i[s(622)]),r=this[s(413)][s(484)](n);r?(this[s(636)]={x:i[s(606)].x,y:i[s(606)].y},this[s(627)]=this[s(497)](r)):(this[s(636)]=null,this[s(627)]=null)}),this[t(502)](this[t(481)][t(675)][t(566)][t(676)],t(567),(e,i)=>{const s=t,n=this[s(554)](i[s(622)]),r=this[s(413)][s(484)](n);r?(this[s(636)]={x:i[s(606)].x,y:i[s(606)].y},r===this[s(629)]?this[s(575)][s(438)]():this[s(629)]=r):(this[s(636)]=null,this[s(629)]=null)})}[oe(554)](t){const e=oe;do{const i=t[e(417)](e(605));if(i)return i;t=t[e(630)]}while(t);return null}[oe(518)](){const t=oe;this[t(481)][t(483)][t(508)](e=>{const i=t;for(const t of this[i(481)][i(483)][i(623)])e[i(689)](t)})}}function le(t,e){return(i,s,n)=>{const r=ce;if(!n[r(581)][r(669)](s[r(553)],i[r(681)]))return;const o=s[r(553)][r(422)](),a=s[r(553)][r(420)],c=t[r(483)][r(692)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(532)];h=h||c[r(557)](e);const i=n[r(437)][r(548)](e);if(i&&i[r(476)](r(580)))return;r(399)==t[r(701)]&&c[r(658)](e)&&!c[r(667)](e)&&(e[r(583)]||a[r(698)]?u&&u[r(630)]==e||(u=e,f(t[r(492)]),d=!0):l=l||t[r(492)])}function f(t){const i=r,o=n[i(437)][i(500)](t),a=n[i(418)][i(404)](i(679),{class:i(385)+e});n[i(418)][i(543)](o,a),n[i(437)][i(594)](a,s[i(674)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(388)][e(484)](ue);this[e(465)]=!1,this[e(502)](i,e(456),()=>this[e(597)]()),this[e(502)](i,e(677),()=>this[e(597)]())}[oe(572)](){const t=oe,e=this[t(481)],i=e[t(388)][t(484)](ue),s=i[t(617)]?i[t(512)][t(696)]:null;e[t(559)][t(484)](t(526))[t(589)](s)}[oe(597)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(481)][t(388)][t(484)](ue),r=n&&s[t(592)](n[t(696)]);this[t(641)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(690)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(388)][i(484)](ue);this[i(465)]=!1,this[i(690)]=i(397)===e?1:-1,this[i(502)](s,i(456),()=>this[i(597)]()),this[i(502)](s,i(677),()=>this[i(597)]()),this[i(502)](s,i(406),()=>this[i(597)]())}[oe(572)](){const e=oe,i=this[e(481)],s=i[e(388)][e(484)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(629)]=n?s[e(512)][e(530)][e(484)](r+this[e(690)]):s[e(512)][e(530)][e(562)],s[e(629)][e(489)][e(384)])o=i[e(675)][e(566)][e(448)](s[e(629)][e(531)]);else{const t=i[e(483)][e(623)][e(484)](e(619)+s[e(629)].id);o=(0,K.getMarkerDomElement)(i[e(675)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(597)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(481)][t(388)][t(484)](ue);this[t(641)]=!!(r&&n&&s)&&(!e||(1===this[t(690)]?i<s-1:i>0))}}var fe=i(140),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Et();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=146]})(t,e)}function ve(){const t=["161696NVEdet","bindTemplate","forward","numberOfChanges","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui","7jicAIe","2527860HJMwAh","isEnabled","ck-revision-history-ui__changes-navigation__label","2192004OojRmi","No changes","24020EWtLQf","82xJcJvU","set","X_OF_Y_CHANGES","1496NFbkPS","isForwardNavigationEnabled","execute","Loading...","ck-hidden","Total","5432PgTQXy","span","2160neWmVA","isNavigationMode","bind","currentChangeNumber","Show previous change","backward","Show next change","1066377jyWNyr","isReady","ck-revision-history-ui__changes-navigation","fire","NUMBER_OF_CHANGES","div","_isStatusLabelVisible","162YzOhTc","ck-revision-history-ui__changes-navigation__wrapper","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__navigation","setTemplate","_statusText","16856tufCAp"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(355460===-parseInt(e(185))/1*(-parseInt(e(154))/2)+-parseInt(e(172))/3+-parseInt(e(163))/4*(-parseInt(e(165))/5)+-parseInt(e(148))/6*(parseInt(e(147))/7)+-parseInt(e(186))/8*(-parseInt(e(179))/9)+parseInt(e(153))/10*(-parseInt(e(157))/11)+-parseInt(e(151))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(187)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(155)](e(166),!1),this[e(155)](e(173),!1),this[e(155)](e(168),0),this[e(155)](e(189),0),this[e(155)](e(158),!1),this[e(155)](e(181),!1),this[e(167)](e(178)).to(this,e(173),this,e(189),(t,e)=>t&&e>0),this[e(167)](e(184)).to(this,e(173),this,e(168),this,e(189),this,e(166),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(160));if(!n)return at(t,o(152));const a=at(t,o(176),n);return r?at(t,o(156),[s+1,n]):a}),s[e(155)]({label:at(t,e(169)),tooltip:!0,icon:_t.IconChevronUp}),n[e(155)]({label:at(t,e(171)),tooltip:!0,icon:_t.IconChevronDown}),s[e(167)](e(149)).to(this,e(181)),n[e(167)](e(149)).to(this,e(158)),s.on(e(159),()=>this[e(175)](e(159),e(170))),n.on(e(159),()=>this[e(175)](e(159),e(188))),this[e(183)]({tag:e(177),attributes:{class:["ck",e(146),e(174)]},children:[{tag:e(164),attributes:{class:[e(180)]},children:[{tag:e(164),attributes:{class:[e(150),i.if(e(178),e(161),t=>!t)]},children:[{text:i.to(e(166),i=>i?at(t,e(190))+": ":at(t,e(162))+": ")}]},{text:i.to(e(184))}]},new It.ToolbarSeparatorView,{tag:e(177),attributes:{class:[e(182)]},children:[s,n]}]})}}var ye=i(628),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Et();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=241]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(275856===parseInt(e(259))/1*(parseInt(e(256))/2)+-parseInt(e(251))/3*(parseInt(e(241))/4)+parseInt(e(263))/5+-parseInt(e(245))/6+-parseInt(e(246))/7*(-parseInt(e(254))/8)+-parseInt(e(252))/9*(parseInt(e(249))/10)+-parseInt(e(266))/11*(parseInt(e(248))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(253);function Ie(){const t=["pluginName","editing","removeClass","3028422SkXLKg","3878cRCqII","change","50316ChanEf","120SHYkRl","RevisionViewerLoadingOverlay","45273jDZstc","52209fAviyb","ck-editor__editable__loading-overlay","1416TBOXxA","hide","46282JswsPe","view","document","23sNwvsw","show","roots","isPremiumPlugin","1216905yMYSuE","addClass","isOfficialPlugin","22vjLqQk","editor","4RPJNzZ"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(242)](){return be(250)}static get[be(265)](){return!0}static get[be(262)](){return!0}[be(260)](){const t=be,e=this[t(267)][t(243)][t(257)];e[t(247)](i=>{const s=t;for(const t of e[s(258)][s(261)])i[s(264)](_e,t)})}[be(255)](){const t=be,e=this[t(267)][t(243)][t(257)];e[t(247)](i=>{const s=t;for(const t of e[s(258)][s(261)])i[s(244)](_e,t)})}}const Oe=xe;function Te(){const t=["numberOfChanges","246552Dfkkqt","2725188bsaQkZ","156CIXzDb","6psRjFz","13893xsEMCL","get","537239UBUiLa","23905VAoCKy","change:isReady","changesNavigation","hide","isOfficialPlugin","showPreviousChange","isNavigationMode","add","20408rGqqiN","889aQThHN","forward","listenTo","showNextChange","editor","currentChangeNumber","3719718uGcciT","revisionHistory","pluginName","5290xLSCnf","Back to editing","closeRevisionViewerCallback","requires","isReady","RevisionViewerUI","isBackwardNavigationEnabled","exitToEditing","bind","init","show","execute","config","restoreRevision","Restore this revision","componentFactory","plugins","isEnabled","commands","set","ck-revision-history-ui__back-to-editing","isForwardNavigationEnabled","isPremiumPlugin"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=362]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(280818===-parseInt(e(394))/1+parseInt(e(391))/2*(parseInt(e(388))/3)+-parseInt(e(390))/4*(-parseInt(e(395))/5)+parseInt(e(389))/6+-parseInt(e(404))/7*(parseInt(e(403))/8)+-parseInt(e(410))/9+parseInt(e(364))/10*(parseInt(e(392))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(363)](){return Oe(369)}static get[Oe(399)](){return!0}static get[Oe(386)](){return!0}static get[Oe(367)](){return[ue,Se]}[Oe(373)](){const t=Oe,e=this[t(408)],i=e[t(380)][t(393)](ue),s=e[t(380)][t(393)](Se);e.ui[t(379)][t(402)](t(371),i=>{const s=t,n=new It.ButtonView(i);return n[s(383)]({label:at(i,s(365)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(384)}),this[s(406)](n,s(375),()=>{const t=s;e[t(376)][t(393)](t(362))[t(366)]()}),n}),e.ui[t(379)][t(402)](t(377),i=>{const s=t,n=new It.ButtonView(i);return n[s(383)]({label:at(i,s(378)),withText:!0,tooltip:!0}),n[s(372)](s(381)).to(e[s(382)][s(393)](s(377))),this[s(406)](n,s(375),()=>e[s(375)](s(377))),n}),e.ui[t(379)][t(402)](t(397),s=>{const n=t,r=new ge(s),o=e[n(382)][n(393)](n(400)),a=e[n(382)][n(393)](n(407));return r[n(372)](n(370)).to(o,n(381)),r[n(372)](n(385)).to(a,n(381)),r[n(372)](n(368),n(409),n(387),n(401)).to(i),this[n(406)](r,n(375),(t,i)=>{const s=n;e[s(375)](s(405)===i?s(407):s(400))}),r}),s[t(374)](),i.on(t(396),(e,i,n)=>{const r=t;n?s[r(398)]():s[r(374)]()})}}var Ae=i(549),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Et();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ve;function Ve(t,e){const i=De();return(Ve=function(t,e){return i[t-=411]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(761087===-parseInt(e(439))/1*(-parseInt(e(433))/2)+-parseInt(e(418))/3+parseInt(e(436))/4+parseInt(e(435))/5*(-parseInt(e(412))/6)+-parseInt(e(429))/7*(-parseInt(e(441))/8)+-parseInt(e(424))/9*(-parseInt(e(426))/10)+-parseInt(e(411))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ee extends It.LabeledFieldView{[Me(442)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(415)];this[i(437)]({label:at(t,i(434)),_tooltipString:""}),this[i(421)][i(425)]=at(t,i(422)),this[i(419)]({tag:i(413),attributes:{class:[i(416)],"data-cke-tooltip-text":s.to(i(420)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(417)}})}[Me(428)](){const e=Me;super[e(428)](),this[e(442)]=new t.ResizeObserver(this[e(421)][e(440)],()=>this[e(427)]()),this[e(430)](this[e(421)],e(423),()=>this[e(427)]())}[Me(414)](){const t=Me;super[t(414)](),this[t(442)]&&this[t(442)][t(414)]()}[Me(427)](){const t=Me,e=this[t(421)][t(440)];this[t(420)]=e[t(432)]>e[t(438)]&&e[t(431)]||""}}function De(){const t=["element","232GrEekO","_resizeObserver","13879503LXWFmJ","3956316DxsfKf","span","destroy","bindTemplate","ck-revision-history-sidebar__revision-name","ck-tooltip_multi-line","3172515hMKPNb","extendTemplate","_tooltipString","fieldView","Enter the revision name","input","9CyiuOf","placeholder","11759770PLYNva","_updateTooltipText","render","332143rhjhqB","listenTo","value","scrollWidth","997574eHpbep","Revision name","5JNJxfi","760716Zlucuq","set","clientWidth","2NemyfV"];return(De=function(){return t})()}var Ce=i(997),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Le(){const t=["1952511HQgNcD","span","ck-revision-history-sidebar__revision-author","2079558WhWlBU","25CjgUnV","push","148DwWgbs","211603EPrGDd","setTemplate","ck-revision-history-sidebar__revision-author_creator","546712FLKdws","Revision author","144FqNnEB","ck-revision-history-sidebar__revision-author__name","2694393eotxHE","set","Revision creator","7081WceRWU","0 0 11 10","8bPSqkY","6759600XEsEBP","name"];return(Le=function(){return t})()}function je(t,e){const i=Le();return(je=function(t,e){return i[t-=413]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(377238===-parseInt(e(425))/1*(-parseInt(e(414))/2)+parseInt(e(433))/3+parseInt(e(418))/4*(parseInt(e(434))/5)+-parseInt(e(420))/6*(parseInt(e(415))/7)+-parseInt(e(427))/8*(parseInt(e(422))/9)+-parseInt(e(428))/10+parseInt(e(430))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Le);class Pe extends It.View{constructor(t,e,i){const s=je;super(t);const n=new It.IconView;n[s(423)]({content:_t.IconUser,viewBox:s(426)});const r=["ck",s(432)];i&&r[s(413)](s(417));const o=[{tag:s(431),attributes:{class:["ck",s(421)],title:at(t,s(i?424:419))},children:[n,e[s(429)]]}];this[s(416)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=124]})(t,e)}function We(){var t=["8004830WmIvAK","688745rsKcgd","55wiActS","11988856SCWhqQ","toLocaleTimeString","long","693048fPUywn","10HBMiKd","7159671lpGlUs","20CCfKEb","toLocaleDateString","numeric","4455486eAJxRB","7OQnAIE","220909aqQkRA"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(780924===-parseInt(e(127))/1*(parseInt(e(135))/2)+parseInt(e(134))/3+-parseInt(e(137))/4*(-parseInt(e(129))/5)+-parseInt(e(125))/6+parseInt(e(126))/7*(-parseInt(e(131))/8)+-parseInt(e(136))/9+-parseInt(e(128))/10*(-parseInt(e(130))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(439),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=At().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Et();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(){const t=["children","map","model","Compare against selected","stopPropagation","menu","first","5umVbnZ","Name this revision","items","isActionsDropdownOpen","listenTo","25586hYLLqf","2285568QILush","name","Show more items","button","set","2151500qyciUv","ck-on","buttonView","1338RpiEXa","listView","class","function","add","menuitem","locale","isEnabled","30JMzVjS","bind","isVisible","1152108UTvvwc","find","source","271OReyDA","execute","3820Cuollc","_action","isOpen","action","bindTemplate","Restore this revision","582933cnAptW","isReady","681709xdjqTi","extendTemplate","change:isActionsDropdownOpen","ck-revision-history-sidebar__revision__actions","panelPosition"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=357]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(304298===-parseInt(e(391))/1*(parseInt(e(377))/2)+-parseInt(e(399))/3+-parseInt(e(374))/4*(parseInt(e(363))/5)+-parseInt(e(385))/6*(-parseInt(e(401))/7)+-parseInt(e(369))/8+parseInt(e(388))/9+-parseInt(e(393))/10*(-parseInt(e(368))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var $e=i(532),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["setTemplate","_requireRevisionName","isSelected","createdAt","8yLTlqN","srcElement","fieldView","highlight","listenTo","898622nhtEHq","2tWFQER","revisionNameView","7726275gGVoqS","element","div","filter","fire","2226204KlHExC","unshift","_createdAtFormatted","12FbSFtY","span","ck-revision-history-sidebar__revision_selected","139569PlnyZL","ck-revision-history-sidebar__revision__date","isReady","value","deselect","isConfirm","4172335LoPEmj","isEnabled","ck-disabled","extendTemplate","change",".ck-confirm-view","name","setName","_revision","unhighlight","uiLanguage","isHighlighted","authors","creator","11cvYDyd","closest","ck-revision-history-sidebar__revision-authors","1380876JyqZJn","17311990abZbEt","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__actions_dropdown_open","220","bindTemplate","ck-revision-history-sidebar__revision","length","ck-reset","ck-revision-history-sidebar__revision_highlighted","render","select","set","ck-revision-history-sidebar__revision-wrapper","bind","from","isActionsDropdownOpen","map","revisionActionsView","ck-revision-history-sidebar__revision__controls-wrapper"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=216]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(547030===-parseInt(e(279))/1*(-parseInt(e(280))/2)+-parseInt(e(227))/3*(parseInt(e(224))/4)+parseInt(e(233))/5+-parseInt(e(221))/6+parseInt(e(250))/7+-parseInt(e(274))/8*(-parseInt(e(216))/9)+-parseInt(e(251))/10*(parseInt(e(247))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(281)];[Ye(268)];[Ye(241)];[Ye(271)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(255)],a=function(t,e){const i=r,s=Array[i(265)](e[i(245)])[i(219)](t=>t!=e[i(246)]);return e[i(246)]&&s[i(222)](e[i(246)]),s[i(267)](s=>new Pe(t,s,s==e[i(246)]))}(e,i);this.id=i.id,this[r(241)]=i,this[r(271)]=n,this[r(264)](r(239),r(273)).to(i),this[r(264)](r(223)).to(this,r(273),t=>{return i=e[r(243)],(s=t)[(n=ze)(138)](i,{month:n(133),day:n(124)})+", "+s[n(132)](i,{hour:n(124),minute:n(124)});var i,s,n}),this[r(262)](r(272),!1),this[r(262)](r(244),!1),this[r(262)](r(266),!1),this[r(262)](r(229),!1),this[r(262)](r(234),!1),this[r(281)]=new Ee(e,It.createLabeledInputText),this[r(281)][r(276)][r(236)]({attributes:{maxlength:r(254)}}),this[r(281)][r(276)][r(264)](r(230)).to(this,r(239),t=>t||this[r(223)]),this[r(281)][r(264)](r(234)).to(this,r(272),this,r(234),(t,e)=>t&&e),this[r(268)]=s&&s[r(257)]?function(e,i){const s=qe,n=e[s(397)],r=e[s(383)],o=(0,It.createDropdown)(r);o[s(405)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=qe,s=t[i(383)],n={"Compare against selected":at(s,i(359)),"Name this revision":at(s,i(364)),"Restore this revision":at(s,i(398))};return e[i(357)](t=>{const e=i,s=n[t[e(370)]];return s&&s!==t[e(370)]&&(t[e(370)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(372),model:new It.UIModel({label:t[n(370)],class:t[n(379)],withText:!0,role:n(382),_action:t[n(396)]})};i[n(358)][n(386)](n(384)).to(e,n(366),i=>n(380)!=typeof t[n(384)]||!i||t[n(384)](e)),o[n(381)](i)}return o}(e,i);return e[s(386)](s(366)).to(o,s(395)),o[s(376)][s(373)]({label:at(r,s(371)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(402)]({attributes:{class:[s(404),n.if(s(366),s(375))]},on:{click:n.to(t=>t[s(360)]())}}),o.on(s(392),t=>{const i=s;e[i(400)]&&i(380)==typeof t[i(390)][i(394)]&&t[i(390)][i(394)](e)}),(0,It.addListToDropdown)(o,a,{role:s(361)}),o[s(367)](e,s(403),(t,n,r)=>{const a=s;if(r)for(const t of o[a(378)][a(365)]){const s=t[a(406)][a(362)],n=i[a(389)](t=>t[a(396)]===s[a(394)])[a(387)];t[a(387)]=void 0===n||n(e)}}),o}(this,s):"",this[r(268)]&&this[r(268)][r(264)](r(234)).to(this),this[r(270)]({tag:r(218),attributes:{class:["ck",r(258),r(263),o.if(r(232),r(252))]},children:[{tag:r(218),attributes:{class:["ck",r(258),r(256),o.if(r(234),r(235),t=>!t),o.if(r(272),r(226)),o.if(r(244),r(259)),o.if(r(266),r(253))]},children:[this[r(281)],{tag:r(225),attributes:{class:["ck",r(228)]},children:[{text:o.to(r(223))}]},{tag:r(218),attributes:{class:["ck",r(269)]},children:[{tag:"ul",attributes:{class:["ck",r(249)]},children:a}]},this[r(268)]],on:{click:o.to(t=>{const e=r;t[e(275)][e(248)](e(238))||this[e(229)]&&this[e(234)]&&this[e(220)](e(261),{id:this.id})})}}]})}[Ye(260)](){const t=Ye;super[t(260)]();const e=this[t(281)][t(276)][t(217)];this[t(278)](e,t(237),()=>{const i=t;this[i(271)]&&!e[i(230)]||this[i(220)](i(240),{id:this.id,name:e[i(230)]}),e[i(230)]||(e[i(230)]=this[i(239)]?this[i(239)]:this[i(223)])})}[Ye(261)](){this[Ye(272)]=!0}[Ye(231)](){this[Ye(272)]=!1}[Ye(277)](){this[Ye(244)]=!0}[Ye(242)](){this[Ye(244)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Ei extends Mi{static get instance(){return null===Vi&&(Vi=new Ei),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Li extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Li(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Li.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let ji={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=Pi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Pi.set(i,s)),s}const Wi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.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 Ws(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Li.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=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),Wi.clear(),Ui.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.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=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ps(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=ji[i];return s||(s=new Intl.ListFormat(t,e),ji[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class ts extends Mi{static get utcInstance(){return null===Qi&&(Qi=new ts(0)),Qi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ei.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||Li.create(t)}return Es(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Ei.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ps(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Xi.resetCache(),Li.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Ds(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Es(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ls(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 js(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Ds(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Hs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Xs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(js(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ws(i,2)}:${Ws(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ws(i,2)}${Ws(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ws(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Tn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),En=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),Dn=RegExp(`(?: ${En.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Us(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function Ln(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function jn(t,e){return[{},t[e]?Li.create(t[e]):null,e+1]}const Pn=RegExp(`^T?${Nn.source}$`),zn=/^-?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 Wn(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(Hs(i)),months:d(Hs(s)),weeks:d(Hs(n)),days:d(Hs(r)),hours:d(Hs(o)),minutes:d(Hs(a)),seconds:d(Hs(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Un={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hn(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Us(e)):Us(e),month:an.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Zn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Hn(e,n,s,i,r,o,a);let f;return f=c?Un[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Qn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,Ln,jn),ir=Sn(Mn,Fn,Ln,jn),sr=Sn(Vn,Fn,Ln,jn),nr=Sn(Fn,Ln,jn);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(En),cr=Sn(Fn,Ln,jn);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Es(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Wn])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[Pn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=qs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(js(e.values,t)||js(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Es(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Es(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Li.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Er(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Lr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(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(js(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 Vs(t.z)||(i=Li.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=Zs(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(js(i,"a")&&js(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:s,zone:n,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function jr(t,e,i){return new Lr(t,i).explainFromTokens(e)}function Pr(t,e){if(!t)return null;const i=wn.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),s=i.formatToParts(),n=i.resolvedOptions();return s.map(e=>function(t,e,i){const{type:s,value:n}=t;if("literal"===s){const t=/^\s+$/.test(n);return{literal:!t,val:t?" ":n}}const r=e[s];let o=s;"hour"===s&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const zr="Invalid DateTime",Wr=864e13;function Ur(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ws(t.c.year,i?6:4),e?(s+="-",s+=Ws(t.c.month),s+="-",s+=Ws(t.c.day)):(s+=Ws(t.c.month),s+=Ws(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=Ws(t.c.hour);return e?(o+=":",o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ws(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ws(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ws(Math.trunc(-t.o/60)),o+=":",o+=Ws(Math.trunc(-t.o%60))):(o+="+",o+=Ws(Math.trunc(t.o/60)),o+=":",o+=Ws(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Es(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Es(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Es(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=zs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=jr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Ys(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return jr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Lr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Es(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new ni(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(t,e){const i=go();return(po=function(t,e){return i[t-=497]})(t,e)}function vo(t,e){const i=po,s=fo[i(501)](t)[i(504)](e),n=fo[i(505)](),r=n[i(520)]({days:1})[i(517)](i(506));let o,a;return s[i(515)](n,i(506))?(o=s[i(517)](i(506))[i(507)](),a=s[i(498)]()):s[i(515)](r,i(506))?(o=r[i(507)](),a=s[i(498)]()):s[i(515)](n,i(497))?(o=s[i(517)](i(497))[i(507)](),a=s[i(516)]||""):s[i(515)](n,i(511))?(o=s[i(517)](i(519))[i(507)](),a=s[i(513)]||""):(o=s[i(517)](i(511))[i(507)](),a=String(s[i(511)])),{startDate:o,localizedPeriodName:a}}function go(){const t=["4sOBVKJ","9231500KhDHIS","year","1311935JaATZe","monthLong","518rMfPvd","hasSame","weekdayLong","startOf","34158vwoDQB","month","minus","week","toRelativeCalendar","3269904tBfjUF","1874286vNEdLT","fromJSDate","399MXIHFj","3274JpZlFo","setLocale","local","day","toJSDate","411523oVJOML"];return(go=function(){return t})()}!function(t){const e=po,i=t();for(;;)try{if(227229===-parseInt(e(508))/1+-parseInt(e(503))/2*(parseInt(e(502))/3)+parseInt(e(509))/4*(-parseInt(e(512))/5)+parseInt(e(518))/6*(-parseInt(e(514))/7)+parseInt(e(499))/8+parseInt(e(500))/9+parseInt(e(510))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(342),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=202]})(t,e)}function _o(){const t=["find","3254376QwxKSw","10960FbeBCn","48346IuSFUn","add","_revisionActions","delegate","removeRevision","30661326cCJSuS","revisionViews","select","4472426wQgYio","uiLanguage","_requireRevisionName","startDate","8737600rbeSMs","localizedPeriodName","div","setName","createCollection","ck-revision-history-sidebar__time-period","setTemplate","locale","1100yLQveh","addRevision","34KsvXJZ","ck-revision-history-sidebar__time-period__revisions","436806jyHLMe","ck-revision-history-sidebar__time-period__label","remove","span"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(647808===-parseInt(e(212))/1*(parseInt(e(203))/2)+-parseInt(e(205))/3+parseInt(e(211))/4*(-parseInt(e(232))/5)+parseInt(e(210))/6+-parseInt(e(220))/7+-parseInt(e(224))/8+parseInt(e(217))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(223)];[bo(218)];[bo(214)];[bo(222)];constructor(t,e,i,s){const n=bo;super(t);const r=vo(e,this[n(231)][n(221)])[n(225)];this[n(223)]=e,this[n(218)]=this[n(228)](),this[n(214)]=i,this[n(222)]=s,this[n(218)][n(215)](n(219)).to(this),this[n(218)][n(215)](n(227)).to(this),this[n(230)]({tag:n(226),attributes:{class:["ck",n(229)]},children:[{tag:n(208),attributes:{class:["ck",n(206)]},children:[{text:r}]},{tag:n(226),attributes:{class:["ck",n(204)]},children:this[n(218)]}]})}[bo(202)](t){const e=bo,i=new Ke(this[e(231)],t,this[e(214)],this[e(222)]);this[e(218)][e(213)](i)}[bo(216)](t){const e=bo,i=this[e(218)][e(209)](e=>e.id===t.id);this[e(218)][e(207)](i)}}var So=i(193),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=118]})(t,e)}function xo(){const t=["span","div","10023412iGtanb","Revision history","content","41211588csrOcY","ck-revision-history-sidebar__header__label","4olaBQG","2259780nkrbYs","11231iXeyYN","5651896BlgAbG","setTemplate","ck-reset_all","6XngzTL","221997SJiGGZ","22rUSpll","9uOtWnB","ck-revision-history-sidebar__header","3746430EixWmh"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(731964===-parseInt(e(125))/1*(parseInt(e(131))/2)+parseInt(e(130))/3*(parseInt(e(123))/4)+parseInt(e(124))/5*(-parseInt(e(129))/6)+-parseInt(e(118))/7+-parseInt(e(126))/8+parseInt(e(132))/9*(-parseInt(e(134))/10)+parseInt(e(121))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(120)]=_t.IconHistory,this[e(127)]({tag:e(136),attributes:{class:["ck",e(128),e(133)]},children:[i,{tag:e(135),attributes:{class:["ck",e(122)]},children:[at(t,e(119))]}]})}}var Ao=i(574),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Et();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=188]})(t,e)}function Eo(){const t=["some","656qKzixi","ck-reset","div","_removeRevision","highlightRevisions","isEnabled","select","map","revisionSelected","298909nIgUff","selectRevision","1547905KbrLBz","startDate","deselect","set","42gEIAnU","removeRevision","ck-rounded-corners","bindTemplate","4623eghAal","ck-revision-history-sidebar","add","1302486DCpINM","highlight","timePeriodViews","getTime","revisionViews","_addRevision","delegate","setName","10288288bQXZuv","render","784152PLGtZN","ck-revision-history-sidebar__timeline","createCollection","revisionSetName","_revisions","_getTimePeriodViewByStartDate","remove","uiLanguage","1017316SPCzSi","get","_requireRevisionName","createdAt","_revisionActions","flat","addRevision","locale","ck-disabled","fire","unhighlight","find","setTemplate"];return(Eo=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(666871===-parseInt(e(195))/1+parseInt(e(240))/2*(parseInt(e(205))/3)+parseInt(e(226))/4+parseInt(e(197))/5+-parseInt(e(208))/6*(parseInt(e(201))/7)+parseInt(e(216))/8+-parseInt(e(218))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Mo(210)];[Mo(222)];[Mo(230)];[Mo(228)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(204)];this[n(210)]=this[n(220)](),this[n(210)][n(214)](n(192)).to(this),this[n(210)][n(214)](n(215)).to(this),this[n(222)]=e,this[n(230)]=i,this[n(228)]=s,this.on(n(192),(t,e)=>{const i=n;this[i(235)](i(194),e)}),this.on(n(215),(t,e)=>{const i=n;this[i(235)](i(221),e)}),this[n(200)](n(191),!1),this[n(238)]({tag:n(188),attributes:{class:["ck",n(241),n(203),n(206)]},children:[new No(t),{tag:n(188),attributes:{class:["ck",n(219),r.if(n(191),n(234),t=>!t)]},children:this[n(210)]}]})}[Mo(217)](){const t=Mo;super[t(217)]();for(const e of this[t(222)])this[t(213)](e);this[t(222)].on(t(207),(e,i)=>{this[t(213)](i)}),this[t(222)].on(t(224),(e,i)=>{this[t(189)](i)})}get[Mo(212)](){const t=Mo;return this[t(210)][t(193)](e=>e[t(212)][t(193)](t=>t))[t(231)]()}[Mo(196)](t){const e=Mo;for(const i of this[e(212)])t&&t.id===i.id?i[e(192)]():i[e(199)]()}[Mo(190)](t){const e=Mo;for(const i of this[e(212)])t[e(239)](({id:t})=>t===i.id)?i[e(209)]():i[e(236)]()}[Mo(213)](t){const e=Mo,i=vo(t[e(229)],this[e(233)][e(225)])[e(198)];let s=this[e(210)][e(227)](0);s&&s[e(198)][e(211)]()===i[e(211)]()||(s=new Io(this[e(233)],i,this[e(230)],this[e(228)]),this[e(210)][e(207)](s)),s[e(232)](t)}[Mo(189)](t){const e=Mo,i=vo(t[e(229)],this[e(233)][e(225)])[e(198)];this[e(223)](i)[e(202)](t)}[Mo(223)](t){const e=Mo;return this[e(210)][e(237)](i=>i[e(198)][e(211)]()===t[e(211)]())}}const Co=Lo;function Fo(){const t=["revisionHistory.revisionActions","bind","editor","_createRevisionActions","get","getRevisionsInDiff","_handleRevisionSetName","highlightRevisions","element","action","getEarlierVisibleRevision","getLaterVisibleRevision","RevisionsSidebar","focus","change:diff","_handleDiffChange","isSelected","Compare against selected","getRevision","_revisionsRepository","requires","timePeriodViews","60RBPOIj","1kbNJPO","locale","appendChild","pluginName","fieldView","revisionSelected","restoreRevision","isPremiumPlugin","restoreRevisionCallback","diff","revisionHistory.requireRevisionName","3205536LmSjrr","_revisions","availableRevisionActions","compare","revisionSetName","length","13009964IsvAXC","name","6772DUlYHT","getIndex","config","isVisible","listenTo","newRevisionId","revisionHistory","Restore this revision","selectRevision","init","setName","destroy","isEnabled","isOfficialPlugin","revisionViews","_handleEditorDataReady","compareAgainstSelected","105xXfVsc","387063Wdrjmy","remove","defaultRevisionActions","repository","246wJgRYL","select","isReady","_revisionViewer","2232590PICYaw","add","_handleRevisionSelected","revisionHistory.viewerSidebarContainer","assign","Name this revision","1168578QSyGCV","plugins","nameRevision","data","string","92799HavXoS","render","ready","map","_sidebarView"];return(Fo=function(){return t})()}function Lo(t,e){const i=Fo();return(Lo=function(t,e){return i[t-=346]})(t,e)}!function(t){const e=Lo,i=t();for(;;)try{if(326369===parseInt(e(348))/1*(-parseInt(e(399))/2)+parseInt(e(384))/3*(parseInt(e(367))/4)+-parseInt(e(393))/5+-parseInt(e(389))/6*(parseInt(e(404))/7)+parseInt(e(359))/8+parseInt(e(385))/9*(parseInt(e(347))/10)+parseInt(e(365))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class jo extends G.Plugin{[Co(392)];[Co(428)];[Co(408)];static[Co(387)]=[Co(383),Co(354),Co(401)];static[Co(361)]=function(){const t=Co;return{compareAgainstSelected:{name:t(426),action:({plugins:e},i)=>{const s=t,n=e[s(413)](ue),r=n[s(388)];let o=n[s(357)][s(372)],a=i.id;r[s(368)](o)>r[s(368)](a)&&([o,a]=[a,o]),n[s(362)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(413)](ue);return!(n[s(388)][s(414)](n[s(357)])[s(364)]>2||i[s(425)])}},restoreRevision:{name:t(374),action:(e,{id:i})=>{const s=t;e[s(369)][s(413)](s(373))[s(356)](i)},isVisible:({plugins:e},i)=>!!e[t(413)](ue)[t(388)][t(420)](i.id)},nameRevision:{name:t(398),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(413)](ue),o=r[n(388)][n(419)](i);r[n(362)](i,o),s[n(422)](),s[n(352)][n(390)]()}}}}();static get[Co(351)](){return Co(421)}static get[Co(380)](){return!0}static get[Co(355)](){return!0}static get[Co(429)](){return[ue]}constructor(t){const e=Co;super(t),this[e(392)]=t[e(400)][e(413)](ue),this[e(428)]=this[e(392)][e(388)],this[e(408)]=null}[Co(376)](){const t=Co,e=this[t(428)][t(360)],i=this[t(412)](),s=this[t(411)][t(369)][t(413)](t(396));this[t(408)]=new Do(this[t(411)][t(349)],e,i,this[t(411)][t(369)][t(413)](t(358))),this[t(408)].on(t(353),this[t(395)][t(410)](this)),this[t(408)].on(t(363),this[t(415)][t(410)](this)),this[t(408)][t(410)](t(379)).to(this[t(392)]),this[t(408)][t(346)].on(t(394),(e,i)=>{const s=t;i[s(381)].on(s(394),(t,e)=>{const i=s;e[i(410)](i(379),i(391)).to(this[i(392)])})}),this[t(408)][t(405)](),this[t(371)](this[t(411)][t(402)],t(406),this[t(382)][t(410)](this)),this[t(371)](this[t(392)],t(423),this[t(424)][t(410)](this)),s[t(350)](this[t(408)][t(417)])}[Co(378)](){const t=Co;this[t(408)][t(417)][t(386)](),this[t(408)][t(378)]()}[Co(382)](){const t=Co,e=this[t(428)][t(427)](0);if(e){const i=this[t(428)][t(419)](e.id);this[t(392)][t(362)](e,i)}}[Co(395)](t,e){const i=Co,s=this[i(428)][i(427)](e.id),n=this[i(428)][i(419)](s.id);this[i(392)][i(362)](s,n)}[Co(415)](t,e){const i=Co;this[i(428)][i(427)](e.id)[i(377)](e[i(366)])}[Co(424)](t,e,i){const s=Co,n=this[s(428)][s(414)](i);n[s(364)]>2?(this[s(408)][s(416)](n),this[s(408)][s(375)](null)):(this[s(408)][s(416)]([]),this[s(408)][s(375)](n[0]))}[Co(412)](){const t=Co,e=this[t(411)],i=jo[t(361)],s=e[t(369)][t(413)](t(409))||jo[t(387)];if(s[t(364)])return s[t(407)](s=>{const n=t,r=n(403)==typeof s?Object[n(397)]({},i[s]):s;return r[n(418)]=r[n(418)][n(410)](this,e),r[n(370)]&&(r[n(370)]=r[n(370)][n(410)](this,e)),r})}}const Po=Wo;function zo(){const t=["init","5691202QJYXzh","81544cjxKUd","setEditableElement","_initToolbar","_view","componentFactory","limiterElement","fire","document","editable","render","destroy","77OVoAsi","rootName","_toolbarConfig","_elementReplacer","1070iblJwq","83055ITdPpl","viewportTopOffset","replace","getRoot","5262wXHILx","editor","get","viewportOffset","name","detachDomRoot","1012vaaWQi","isFocused","12jVJdbV","ready","389ZNqOUt","fillFromConfig","restore","isActive","6EKNoah","toolbar","focusTracker","4873518iYwUWt","view","addToolbar","bind","attachDomRoot","config","stickyPanel","31167ikSZnJ","editing","332Ficsok","element"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=392]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(333051===-parseInt(e(412))/1*(parseInt(e(408))/2)+parseInt(e(402))/3*(parseInt(e(428))/4)+parseInt(e(398))/5*(-parseInt(e(416))/6)+-parseInt(e(393))/7*(parseInt(e(432))/8)+parseInt(e(426))/9*(parseInt(e(397))/10)+-parseInt(e(431))/11*(-parseInt(e(410))/12)+-parseInt(e(419))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Po(435)];[Po(395)];[Po(396)];get[Po(420)](){return this[Po(435)]}constructor(e,i){const s=Po;super(e),this[s(435)]=i,this[s(395)]=(0,It.normalizeToolbarConfig)(e[s(424)][s(404)](s(417))),this[s(396)]=new t.ElementReplacer}get[Po(429)](){const t=Po;return this[t(420)][t(429)]}[Po(430)](t){const e=Po,i=this[e(403)],s=this[e(420)],n=i[e(427)][e(420)],r=s[e(440)],o=n[e(439)][e(401)]();r[e(406)]=o[e(394)],s[e(441)]();const a=r[e(429)];this[e(433)](r[e(406)],a),s[e(440)][e(422)](e(409)).to(this[e(418)]),n[e(423)](a),this[e(396)][e(400)](t,this[e(429)]),this[e(434)](),this[e(438)](e(411))}[Po(392)](){const t=Po;super[t(392)]();const e=this[t(420)],i=this[t(403)][t(427)][t(420)];this[t(396)][t(414)](),i[t(407)](e[t(440)][t(406)]),e[t(392)]()}[Po(434)](){const t=Po,e=this[t(420)];e[t(425)][t(422)](t(415)).to(this[t(418)],t(409)),e[t(425)][t(437)]=e[t(429)],e[t(425)][t(422)](t(399)).to(this,t(405),({top:t})=>t),e[t(417)][t(413)](this[t(395)],this[t(436)]),this[t(421)](e[t(417)])}}var Ho=i(750),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Et();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;var qo=Bo;function $o(){var t=["540679tgXeRR","_editable","1949780PghTTp","top","15ZvqvdA","toolbar","content","2361191kERhFr","2300574FhBpxI","main","stickyPanel","5441689YKmhHV","shouldToolbarGroupWhenFull","add","8qWLFDy","2HkcVhs","editable","2349561rIDlKL","36wJpchH","render","50szprVH","1027449UTwPar"];return($o=function(){return t})()}function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=475]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(589581===-parseInt(e(492))/1*(parseInt(e(485))/2)+-parseInt(e(487))/3+-parseInt(e(494))/4+parseInt(e(496))/5*(parseInt(e(478))/6)+parseInt(e(477))/7*(parseInt(e(484))/8)+parseInt(e(491))/9*(-parseInt(e(490))/10)+-parseInt(e(481))/11*(-parseInt(e(488))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Yo extends It.BoxedEditorUIView{[qo(493)];[qo(480)];[qo(475)];get[qo(486)](){return this[qo(493)]}constructor(t,e,i={}){var s=qo;super(t),this[s(480)]=new It.StickyPanelView(t),this[s(475)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(482)]}),this[s(493)]=new It.InlineEditableUIView(t,e)}[qo(489)](){var t=qo;super[t(489)](),this[t(480)][t(476)][t(483)](this[t(475)]),this[t(495)][t(483)](this[t(480)]),this[t(479)][t(483)](this[t(486)])}}const Jo=Go;function Go(t,e){const i=Xo();return(Go=function(t,e){return i[t-=118]})(t,e)}!function(t){const e=Go,i=t();for(;;)try{if(610072===parseInt(e(140))/1+-parseInt(e(137))/2+-parseInt(e(146))/3*(parseInt(e(144))/4)+parseInt(e(145))/5*(parseInt(e(120))/6)+parseInt(e(124))/7*(-parseInt(e(133))/8)+-parseInt(e(126))/9+parseInt(e(125))/10*(parseInt(e(118))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xo);class Ko extends((0,G.ElementApiMixin)(G.Editor)){[Jo(129)];get ui(){return this[Jo(129)]}constructor(t,e){const i=Jo;super(e),this[i(134)]=t,this[i(119)][i(147)][i(123)]();const s=new Yo(this[i(139)],this[i(142)][i(121)],{shouldToolbarGroupWhenFull:!0});this[i(129)]=new Uo(this,s)}[Jo(132)](){const t=Jo;return this[t(131)](),this.ui[t(132)](),super[t(132)]()}static async[Jo(128)](t,e){const i=Jo,s=new this(t,e);return await s[i(141)](),await s.ui[i(143)](t),await s[i(136)][i(143)](s[i(127)][i(135)](i(130))||""),s[i(122)](i(138)),s}}function Xo(){const t=["2362048QJKnOZ","ready","locale","692748tijwcE","initPlugins","editing","init","4frBKnc","4648510BysLOM","344235TSjuNa","document","1397izsRVU","model","6yzezZC","view","fire","createRoot","133yOVynI","170090mNGNzd","6160689YydVxo","config","create","_ui","initialData","updateSourceElement","destroy","501992giWpZD","sourceElement","get","data"];return(Xo=function(){return t})()}const Qo=ta;function ta(t,e){const i=ea();return(ta=function(t,e){return i[t-=302]})(t,e)}function ea(){const t=["_showRevisionViewer","isEnabled","closeRevisionViewerCallback","commands","save","push","DocumentOutline","error","getRevision","toJSON","document","remove","restoreRevision","enableReadOnlyMode","roots","detachRoot","showRevisionViewerCallback","view","_getRevisionViewerEditorConfig","toLocaleDateString","isPremiumPlugin","disableReadOnlyMode","parse","2kWADUV","join","34900tDXTvc","getUser","_cleanUp","getRevisionRootsAttributes","destroy","revisionHistory.viewerEditorElement","revision-history-missing-configuration","numeric","plugins","Users","RevisionTracker","includes","isOfficialPlugin","toolbar","106121RBcMfC","rootName","getAttributeKeys","setSelection","toLocaleTimeString","bind","Restored","24LqLceN","change","fromCharCode","changesNavigation","selection","115OnoHIV","style","display","saveRevision","map","PaginationLookup","users","_viewerEditor","define","locale","markers","revisionHistory.showRevisionViewerCallback","from","repository","isAnonymous","isRevisionViewerOpen","get","fromVersion","block","Annotations","element","create","addRevisionData","RevisionHistoryUtils","keys","getRevisions","refreshPositioning","Dialog","revision-history-viewer-opened","isReady","createdAt","uiLanguage","revisionHistory","removeMarker","init","addUser","pluginName","has","revisionHistory.viewerContainer","result","revisionHistory.restoreRevisionCallback","_update","loadRevisionData","hide","isAttached","insert","getMarkersGroup","enqueueChange","indexOf","_recalculatePageBreaks","305325XMYUmY","then","requires","417494fpixFh","model","isOpen","$graveyard","toVersion","removeSelectionAttribute","isReadOnly","RevisionHistory","DocumentOutlineUI","removeAttribute","update","RestrictedEditingMode","end","createRangeIn","_closeRevisionViewer","restrictedEditingException","adapter","getRevisionDocumentData","setAttribute","catch","config","creator","20556kbXSPf","_restoreRevision","RevisionsRepository","30yRHLha","addRoot","RevisionHistoryUI","getRoot","data","none","_enhanceCloseRevisionViewerCallback","name","_enhanceShowRevisionViewerCallback","long","revisionHistory.requireRevisionName","RevisionViewer","translations","RevisionViewerIntegration","exitToEditing","Autosave","lazyRoots","revisionHistory.closeRevisionViewerCallback","set","1178023tIEJPv","refreshVisibility","revisionHistory.editorContainer","604656LjzFCx","editor"];return(ea=function(){return t})()}!function(t){const e=ta,i=t();for(;;)try{if(116336===parseInt(e(329))/1*(-parseInt(e(313))/2)+parseInt(e(441))/3+-parseInt(e(315))/4+parseInt(e(341))/5*(-parseInt(e(416))/6)+-parseInt(e(394))/7*(parseInt(e(336))/8)+-parseInt(e(391))/9+-parseInt(e(419))/10*(-parseInt(e(438))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ea);const ia=[Qo(421),Qo(405)];class sa extends G.Plugin{[Qo(380)];static get[Qo(377)](){return Qo(432)}static get[Qo(327)](){return!0}static get[Qo(310)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(345)](t=>String[e(338)](t))[e(314)]("")}super(t),this[e(380)]=e(406),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends G.Plugin{[Qo(348)];static get[Qo(377)](){return Qo(401)}static get[Qo(327)](){return!0}static get[Qo(310)](){return!0}static get[Qo(393)](){return[vt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(442)][i(414)][i(357)](i(373)))throw new t.CKEditorError(i(321),this);this[i(348)]=null,this[i(437)](i(356),!1),this[i(442)][i(414)][i(349)](i(352),t=>this[i(443)]({...t,translations:this[i(442)][i(350)][i(431)]})),this[i(442)][i(414)][i(349)](i(436),t=>this[i(408)](t)),this[i(442)][i(414)][i(349)](i(381),t=>this[i(417)](t)),this[i(442)][i(414)][i(349)](i(429),!1),this[i(427)](),this[i(425)]()}set[Qo(410)](t){const e=Qo;this[e(442)][e(323)][e(357)](e(325))[e(410)]=t}get[Qo(410)](){const t=Qo;return this[t(442)][t(323)][t(357)](t(325))[t(410)]}[Qo(363)](t){const e=Qo;return this[e(442)][e(323)][e(357)](e(325))[e(363)](t)}[Qo(451)](t){const e=Qo;return this[e(442)][e(323)][e(357)](e(418))[e(451)](t)}[Qo(366)](t){const e=Qo;return this[e(442)][e(323)][e(357)](e(418))[e(366)](t||{toJSON:!1})}[Qo(308)](){const e=Qo,i=this[e(442)],s=(0,K.sanitizeEditorConfig)(i,ia),n=i[e(323)][e(357)](e(325)),r=i[e(323)][e(357)](e(324))[e(347)];return s[e(328)]=[e(433),e(302),e(339)],delete s[e(435)],s[e(323)][e(448)](sa,ue,Ne,class extends G.Plugin{static get[e(393)](){return[ue,e(324)]}[e(375)](){const s=e,o=this[s(442)][s(323)][s(357)](s(324));for(const t of r)t[s(355)]||o[s(316)](t.id)||o[s(376)](t);const a=n[s(354)][s(366)]();let c=null;const u=this[s(442)][s(323)][s(357)](s(430));u[s(410)]=n[s(410)],u[s(334)](s(444)).to(n),this[s(442)][s(446)][s(357)](s(302))[s(334)](s(444)).to(i,s(400),t=>!t);for(const e of a){const i=null===e[s(415)];if(i&&e[s(398)]===e[s(358)])continue;const r=e[s(452)]();u[s(363)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(382)](r,o);else if(!o){const e=a[u(452)]();e.id=(0,t.uid)(),n[u(344)](e,a[u(398)])[u(392)](t=>{c=t})}}else e[u(382)](r,o)})}}},jo),s}[Qo(427)](){const t=Qo,e=this[t(442)][t(414)][t(357)](t(373))[t(306)];this[t(442)][t(414)][t(437)](t(352),async()=>{const i=t;this[i(442)][i(303)](i(369));const s=this[i(442)][i(323)][i(357)](i(325));if(this[i(442)][i(323)][i(378)](i(434))){const t=this[i(442)][i(323)][i(357)](i(434));await t[i(447)]()}else await s[i(404)]();if(this[i(442)][i(323)][i(378)](i(346))&&this[i(442)][i(323)][i(357)](i(346))[i(390)](),this[i(442)][i(323)][i(378)](i(368))){const t=this[i(442)][i(323)][i(357)](i(368));t[i(396)]&&t[i(384)]()}const n=this[i(308)]();return e(n)[i(392)](t=>{const e=i;return this[e(348)]=t,this[e(442)][e(323)][e(378)](e(360))&&this[e(442)][e(323)][e(357)](e(360))[e(439)](),this[e(442)][e(323)][e(378)](e(449))&&(this[e(442)][e(323)][e(357)](e(402))[e(307)][e(361)][e(342)][e(343)]=e(424)),t})[i(413)](t=>(console[i(450)](t),this[i(442)][i(311)](i(369)),null))})}[Qo(425)](){const t=Qo,e=this[t(442)][t(414)][t(357)](t(373))[t(445)];this[t(442)][t(414)][t(437)](t(436),()=>(this[t(442)][t(323)][t(378)](t(346))&&this[t(442)][t(323)][t(357)](t(346))[t(390)](),this[t(442)][t(323)][t(378)](t(449))&&(this[t(442)][t(323)][t(357)](t(402))[t(307)][t(361)][t(342)][t(343)]=""),this[t(348)][t(323)][t(357)](t(430))[t(317)](),e(this[t(348)])[t(392)](()=>{const e=t;if(this[e(442)][e(311)](e(369)),this[e(348)]=null,this[e(442)][e(323)][e(378)](e(360))){const t=this[e(442)][e(323)][e(357)](e(360));t[e(439)](),t[e(367)]()}})))}[Qo(443)](t){const e=Qo,i=this[e(442)][e(414)][e(357)](e(440)),s=this[e(442)][e(414)][e(357)](e(379)),n=this[e(442)][e(414)][e(357)](e(320));return Ko[e(362)](n,t)[e(392)](t=>(s[e(342)][e(343)]=e(359),i[e(342)][e(343)]=e(424),this[e(356)]=!0,t))}[Qo(408)](t){const e=Qo,i=this[e(442)][e(414)][e(357)](e(440));return this[e(442)][e(414)][e(357)](e(379))[e(342)][e(343)]=e(424),i[e(342)][e(343)]="",this[e(356)]=!1,t[e(319)]()}async[Qo(417)](t){const e=Qo,i=this[e(442)],s=this[e(348)][e(323)][e(357)](e(430)),n=i[e(323)][e(357)](e(325)),r=i[e(323)][e(357)](e(364)),o=s[e(354)][e(451)](t);let a,c,u;try{await r[e(383)](o,this[e(410)]),a=r[e(411)](o),c=r[e(318)](o)}catch(t){return void console[e(450)](t)}i[e(395)][e(337)](t=>{const s=e;for(const e of Array[s(353)](i[s(395)][s(351)][s(387)](s(409))))t[s(374)](e)}),s[e(370)]=!1,i[e(395)][e(388)](t=>{const s=e;t[s(332)](null),t[s(399)](i[s(395)][s(453)][s(340)][s(331)]());const n=Object[s(365)](a);for(const e of i[s(395)][s(453)][s(304)])s(397)!=e[s(330)]&&e[s(385)]()&&!n[s(326)](e[s(330)])&&t[s(305)](e);for(const e of n){let n=i[s(395)][s(453)][s(422)](e);n&&n[s(385)]()||(n=t[s(420)](e));const r=c[e],o=Object[s(365)](r),u=a[e];for(const e of n[s(331)]())o[s(326)](e)||t[s(403)](e,n);for(const i of o)t[s(412)](i,c[e][i],n);t[s(454)](t[s(407)](n)),t[s(386)](i[s(423)][s(312)](u,n),n,0)}});const l=at(i[e(350)],e(335));return u=o[e(426)]?-1==o[e(426)][e(389)](l)?l+": "+o[e(426)]:o[e(426)]:l+": "+o[e(371)][e(309)](i[e(350)][e(372)],{month:e(428),day:e(322)})+", "+o[e(371)][e(333)](i[e(350)][e(372)],{hour:e(322),minute:e(322)}),await n[e(344)]({name:u}),s[e(370)]=!0,i[e(414)][e(357)](e(373))[e(445)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=408]})(t,e)}function oa(){var t=["937430srddRY","6XotQxf","6TdgTMa","1884864gAWFlQ","17541tWbeYU","30422314Fsenee","16FparxX","14VNOBTt","4JignTN","1805237ZMfLCQ","59EQtncx","2920viMpfq","3156egwJTk","18843IYttzN"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(363790===parseInt(e(409))/1*(-parseInt(e(414))/2)+-parseInt(e(416))/3*(parseInt(e(421))/4)+parseInt(e(413))/5*(parseInt(e(415))/6)+-parseInt(e(408))/7*(parseInt(e(419))/8)+parseInt(e(417))/9*(-parseInt(e(410))/10)+-parseInt(e(412))/11*(parseInt(e(411))/12)+parseInt(e(418))/13*(parseInt(e(420))/14))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();