@ckeditor/ckeditor5-revision-history 47.3.0-alpha.0 → 47.3.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +7 -7
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +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={10:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},52:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},98:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},102: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)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},243:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},251:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},282:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},297: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)}}}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},324:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},448:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},505:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},586:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779: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}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},815:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},929: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}}}},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:()=>J,RevisionHistory:()=>na,RevisionHistoryUI:()=>Ht,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>vt,RevisionViewer:()=>ae,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>et,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 E(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const V=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&E(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 U(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 W(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?U(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])?[]:{}}V(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const s=t[e];return void 0===s?Z(e)?H(t,U(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=H(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=Y();return(B=function(t,e){return i[t-=386]})(t,e)}function Y(){const t=["toJSON","3496600PmRRFE","11UFdKSF","888ygkgVW","18dffeJy","1792QfCwwT","removeAttribute","setAttribute","setName","toVersion","name","createdAt","diffData","92retrij","fire","model","234245vsgJpe","authorsIds","set","creator","12410770pplSTh","9pcPyVJ","1507093LvWdGp","map","_update","fromVersion","authors","46097712Mrarvc","attributes","42595GkbbSr","creatorId"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(662521===-parseInt(e(413))/1+-parseInt(e(389))/2*(-parseInt(e(387))/3)+parseInt(e(397))/4*(-parseInt(e(400))/5)+parseInt(e(388))/6*(-parseInt(e(406))/7)+-parseInt(e(416))/8*(parseInt(e(405))/9)+-parseInt(e(404))/10*(parseInt(e(386))/11)+parseInt(e(411))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[$(403)];[$(410)];[$(396)];[$(393)];[$(409)];[$(399)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(403)]=e[i(403)]||null,this[i(410)]=e[i(410)]||[],this[i(396)]=e[i(396)]||null,this[i(393)]=e[i(393)]||0,this[i(409)]=e[i(409)]||0,this[i(402)](i(394),e[i(394)]||""),this[i(402)](i(395),e[i(395)]||new Date),this[i(402)](i(412),e[i(412)]||{})}[$(392)](t){this[$(408)]({name:t})}[$(391)](t,e){const i=$,s=R(this[i(412)]);W(s,t,e),this[i(408)]({attributes:s})}[$(390)](t){const e=$,i=R(this[e(412)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Z(e))return q(t,U(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(408)]({attributes:i})}[$(408)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(394),i(395),i(396),i(410),i(412),i(393),i(409),i(414)];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(410)]&&(n[i(401)]=n[i(410)][i(407)](t=>t.id),delete n[i(410)]),this[i(398)](i(408),n,e))}[$(415)](){const t=$;return{id:this.id,name:this[t(394)],creatorId:this[t(403)]?this[t(403)].id:null,authorsIds:this[t(410)][t(407)](t=>t.id),diffData:this[t(396)],createdAt:this[t(395)],attributes:this[t(412)],fromVersion:this[t(409)],toVersion:this[t(393)]}}}var G=i(782),K=i(211),Q=i(783);const X=tt;function tt(t,e){const i=it();return(tt=function(t,e){return i[t-=142]})(t,e)}!function(t){const e=tt,i=t();for(;;)try{if(191200===parseInt(e(184))/1+parseInt(e(152))/2*(parseInt(e(193))/3)+parseInt(e(146))/4+parseInt(e(144))/5*(parseInt(e(180))/6)+parseInt(e(191))/7+parseInt(e(148))/8+-parseInt(e(164))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);class et extends G.Plugin{[X(185)];static get[X(145)](){return[K.Users]}static get[X(159)](){return X(194)}static get[X(150)](){return!0}static get[X(181)](){return!0}get[X(162)](){const t=X;return this[t(185)][t(162)]}constructor(e){const i=X;super(e),this[i(185)]=new t.Collection}[X(161)](){!async function(e){const i=k([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[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=tt;for(const e in window)if(window[k([78,117,109,98,101,114])][i(174)](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([118]);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=tt;return t[e(170)](t=>String[e(178)](t))[e(172)]("")}!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:1764115200;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=tt,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(188)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[X(163)](t){const e=X,i=this[e(192)][e(166)][e(149)](e(153));return new J({id:t.id,name:t[e(143)],creator:t[e(173)]?i[e(179)](t[e(173)]):null,diffData:t[e(168)]||t[e(151)],authors:t[e(169)][e(170)](t=>i[e(179)](t)),createdAt:new Date(t[e(175)]),attributes:t[e(190)],fromVersion:t[e(189)],toVersion:t[e(156)]})}[X(157)](t,e=0){const i=X;this[i(185)][i(186)](t,e)}[X(165)](t){const e=X;return this[e(185)][e(149)](t)}[X(158)](t={toJSON:!1}){const e=X,i=Array[e(154)](this[e(185)]);return i[e(171)](),t[e(183)]?i[e(170)](t=>t[e(183)]()):i}[X(182)](t){const e=X;return this[e(185)][e(182)](t)}[X(187)](t){const e=X,[,i]=this[e(176)](t,{direction:e(155)});return i}[X(147)](t){const e=X,[,i]=this[e(176)](t,{direction:e(167)});return i}[X(177)](t){const e=X,i=[];for(const s of this[e(176)](t[e(195)]))if(i[e(142)](s),s.id===t[e(160)])break;return i}*[X(176)](t,{direction:e=X(155),filter:i=()=>!0}={}){const s=X,n=s(155)===e?1:-1;let r=this[s(185)][s(149)](t),o=this[s(182)](r);for(yield r;r;){if(o+=n,r=this[s(165)](o),!r)return;i(r)&&(yield r)}}}function it(){const t=["toVersion","addRevision","getRevisions","pluginName","oldRevisionId","afterInit","length","createRevision","7190244iZyPHv","getRevision","plugins","later","diffData","authorsIds","map","reverse","join","creatorId","isNaN","createdAt","getRevisionsIterator","getRevisionsInDiff","fromCharCode","getUser","6YeLoTG","isPremiumPlugin","getIndex","toJSON","326622VstyIL","_revisions","add","getEarlierVisibleRevision","href","fromVersion","attributes","1044477azbuEs","editor","488403ilzxWR","RevisionsRepository","newRevisionId","push","name","604630UkOmQf","requires","647972krNnfr","getLaterVisibleRevision","548504FapTqU","get","isOfficialPlugin","data","2ORjlmY","Users","from","earlier"];return(it=function(){return t})()}function st(t,e){const i=rt();return(st=function(t,e){return i[t-=176]})(t,e)}const nt=st;function rt(){const t=["forEach","type","3941392HLSPbP","_appendChild","marked","revision-start","render","attachChange","isPremiumPlugin","domDocument","isAttached","innerHTML","21802lJjvsd","toData","getFillerOffset","editing","string","append","length","loadRevisionData","getRevision","5ANdHVM","_makeModelFromViewString","_viewClassToTypeChar","createElement","_getViewFromDiffObj","name","default","isOfficialPlugin","18SNnaqf","viewChildrenToDom","constructor","10882828vuLLPJ","pluginName","3923717iuTLZW","attributesAfter","startsWith","1304364YOENGE","customProperties","fillerOffset","_removeRevisionMarkers","useFillerType","revision-end","_typeCharToViewClass","diffData","parse","attributes","_getTypeCharForViewElement","processor","div","filter","getRevisionRootsAttributes","children","data","document","3BhSNyG","getRevisionDocumentData","config","view","childNodes","map","collaboration.channelId","6xNVwET","_setCustomProperty","domConverter","1377346qSOiEe","htmlProcessor","from","2922290LUrAxo","data-revision-","domChildrenToView","editor","toModel","RevisionHistoryUtils","insertions","get"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(512987===parseInt(e(215))/1+parseInt(e(192))/2*(-parseInt(e(182))/3)+-parseInt(e(240))/4*(parseInt(e(224))/5)+-parseInt(e(189))/6*(parseInt(e(237))/7)+parseInt(e(205))/8+parseInt(e(232))/9*(parseInt(e(195))/10)+parseInt(e(235))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[nt(236)](){return nt(200)}static get[nt(231)](){return!0}static get[nt(211)](){return!0}[nt(226)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[nt(246)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[nt(222)](t,e){const i=nt;if(t[i(247)]||!e)return;const s=this[i(198)][i(184)][i(202)](i(188)),n=await e[i(223)]({channelId:s,revisionId:t.id});t[i(247)]=n[i(247)]}[nt(183)](t){const e=nt,i={};for(const s in t[e(247)]){if(t[e(247)][s][e(210)]&&!t[e(247)][s][e(210)][e(213)])continue;const n=this[e(243)](JSON[e(248)](t[e(247)][s][e(201)])),r=this[e(198)][e(218)][e(185)][e(181)],o=new Q.ViewDocumentFragment(r,n[e(187)](t=>this[e(228)](t,!1)));this[e(198)][e(180)][e(251)][e(244)](e(207)),i[s]=this[e(198)][e(180)][e(251)][e(216)](o),this[e(198)][e(180)][e(251)][e(244)](e(230))}return i}[nt(178)](t){const e=nt,i={};for(const s in t[e(247)])t[e(247)][s][e(210)]&&!t[e(247)][s][e(210)][e(213)]||(i[s]=t[e(247)][s][e(238)]||{});return i}[nt(250)](t){const e=nt;return this[e(226)][e(202)](t[e(234)])}[nt(228)](t,e){const i=nt,s=this[i(198)][i(218)][i(185)][i(181)];if(i(219)==typeof t)return new Q.ViewText(s,t);{let n,r;r="u"==t[i(204)]||"r"==t[i(204)]?[]:t[i(179)][i(187)](t=>this[i(228)](t,e));const o=this[i(246)][i(202)](t[i(204)])||Q.ViewElement,a=this[i(198)][i(180)][i(193)][i(191)];if(n=new o(s,t[i(229)],t[i(249)],r),"u"==t[i(204)]&&t[i(179)][0]){const r=t[i(179)][0];if(n[i(209)]=function(t){const e=i,s=t[e(227)](e(176));return s[e(214)]=r,s[e(186)][0]},e){const t=new Q.ViewDocumentFragment(s);t[i(206)](n);const e=Array[i(194)](a[i(233)](t,{bind:!1})),r=a[i(212)][i(227)](i(176));r[i(220)](...e),n=Array[i(194)](a[i(197)](r))[0]}}else if("r"==t[i(204)]&&t[i(179)][0]){const r=t[i(179)][0];if(n[i(209)]=function(t){t[i(214)]=r},e){const t=new Q.ViewDocumentFragment(s);t[i(206)](n);const e=Array[i(194)](a[i(233)](t,{bind:!1})),r=a[i(212)][i(227)](i(176));r[i(220)](...e);const o=Array[i(194)](a[i(197)](r));o[i(221)]>1?n[i(206)](o):n=o[0]}}if(t[i(241)])for(const[e,s]of t[i(241)])n[i(190)](e,s);const c=void 0===t[i(242)]?null:t[i(242)];return null!==c&&(n[i(217)]=()=>c),n}}[nt(225)](t){const e=nt,i=JSON[e(248)](t),s=this[e(198)][e(218)][e(185)][e(181)],n=new Q.ViewDocumentFragment(s,i[e(187)](t=>this[e(228)](t,!0)));return this[e(198)][e(180)][e(199)](n)}[nt(243)](t){const e=nt;return(t=t[e(177)](t=>!t[e(229)]||e(208)!==t[e(229)]&&e(245)!==t[e(229)]))[e(203)](t=>{const i=e;i(219)!=typeof t&&(t[i(179)]=this[i(243)](t[i(179)]),t[i(249)]=t[i(249)][i(177)](t=>!t[0][i(239)](i(196))))}),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 E(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(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=mt;function mt(t,e){const i=pt();return(mt=function(t,e){return i[t-=214]})(t,e)}function pt(){const t=["8056EqIjgV","insertions","insertionPosition","loadRevisionData","_createFromRanges","text","_handleMoveOperation","getRevisionRootsAttributes","_createInitialRevision","_markChanges","getRevisionDocumentData","pluginName","elementStart","insertion","_setConversion","attributesBefore","_fixOperation","_loadedStateData","marker","licenseKey","_clone","getData","_getViewJson","createElement","fillerOffset","map","$text","revisionHistoryLicenseKeyEvaluationLimit","paragraph","push","_addPendingAction","data","define","fromEntries","getLatestVersion","_baseIdsRoots","getAttributes","getChildren","domConverter","newValue","_handleRootAttributeOperation","isEqual","revisionHistoryLicenseKeyUsageLimit","remove","isEnabled","$graveyard","domainLimit","markerToData","RevisionHistoryUtils","conversion","authors","trialLimit","getNodeByPath","removeRootAttribute","sourcePosition","max","_getVidAttributeName","fromVersion","createPositionFromPath","revisionHistoryLicenseKeyTrialLimit","RevisionTracker","delete","getRevision","currentRevision","Users","_lastTo","_removeMetaData","_handleRootOperation","creator","domDocument","_bufferUpdate","NEGATIVE_INFINITY","createRevision","_authorId","_getBaseVids","940688rZPmsQ","_baseRoots","_utils","end","_applyOperations","getAttribute","38hAHAkn","key","_showLicenseError","reinsert","_touchedRoots","ready","revisionHistoryLicenseKeyDomainLimit","element","root","rawElement","elementEnd","keys","innerHTML","requires","collaboration.channelId","_operations","getUser","setRevisionData","stringify","_handleInsertOperation","_diffRoots","merge","diffData","createPositionAt","rootsAttributes","usageLimit","_source","_fixRange","destroy","move","_lastFrom","_licenseKeyCheckInterval","_transformMarkers","repository","_isPendingUpdate","RevisionHistory","_getPreviousFrom","_replaceEditorDataWithRevisionData","clone","_touched","2976765sIQiIF","_loadState","_getTypeCharForViewElement","isAdd","afterInit","_diffRootsAttributes","authorsIds","_continueCurrentRevision","isOfficialPlugin","editor-initial-data-replaced-with-revision-data","buildRevisionData","RevisionsRepository","getTime","createdAt","_startingVersion","vid_start","vid_end","htmlProcessor","includes","_cloneOperation","_update","_getState","_insertChild","PENDING_ACTION_REVISION_HISTORY","version","stickiness","keepParagraph","initial","expired","length","model","plugins","dataDowncast","getIndex","isAttached","affectsData","render","toVersion","graveyardPosition","_execute","423YAjHRa","_touchedMarkers","getAncestors","hasContent","nodes","documentFragment","addRoot","detachRoot","getFillerOffset","locale","_startingRevisionId","add","newRange","_savedMetaData","revisionHistory.resumeUnsavedRevision","_fixPosition","get","_removePendingAction","3oMqIBK","editor","upcast","featureNotAllowed","revisionHistoryLicenseKeyValid","_appendChild","getOperations","history","creatorId","tableCell","filter","update","saveRevision","_revisionId","previousPosition","_handleMergeOperation","PendingActions","addRootAttribute","type","3695580UwvqtB","name","uiElement","revision","some","for","getRevisions","getTransformedByOperation","size","customProperties","_makeModelFromViewString","187MDbkAi","has","25141HLivev","slice","nodeAfter","_pendingAction","_findInsertionIndex","_generateTape","_calculateMetaData","deletions","revisionHistoryLicenseKeyInvalid","clear","init","changeRootAttribute","splitPosition","Empty document","revisionHistoryLicenseKeyExpired","setSource","config","_handleMarkerOperation","document","adapter","toView","_revisionDataBuilder","bind","RealTimeCollaborationClient","string","startsWith","rootName","start","split","6VJdgym","oldRange","_baseRootsAttributes","addRevisionData","createRange","initialData","$comment","_processRootBeforeSave","_makeIdsRoot","outerHTML","values","then","find","getRootNames","getMovedRangeStart","deletion","loadState","_saveMetaData","position","userId","isPremiumPlugin","6905544bebqzQ","sort","getRoot","source","_reset","range","_bufferedUpdates","attachChange","getCurrentRevisionId","evaluationLimit","path","revision:","getOperation","insert","howMany","_isAttached","vid","createRangeIn","attributesAfter","from","isReady","shift","_setAttribute","offset","roots","updateRevisions","_prepareViewToSave","_markers","_handleOperation","invalid","finally","revisionHistoryLicenseKeyNotAllowed","dataToMarker","_makeRevision","trim","resolve","item","childCount","getRange","_getFromVersion","createPositionAfter","reverse","targetPosition","getCustomProperties","parent","set","_handleSplitOperation","Initial revision","markers","_copyMarkers","sendBufferedUpdates","_createCurrentRevision","_initialRevisionId","offsetSize","addRevision","createPositionBefore","getWalker","getChild","baseVersion","_isInit","reInit","_idsRoots","433520WqFbGl","children"];return(pt=function(){return t})()}!function(t){const e=mt,i=t();for(;;)try{if(484853===parseInt(e(253))/1*(-parseInt(e(448))/2)+-parseInt(e(221))/3*(parseInt(e(442))/4)+parseInt(e(488))/5*(-parseInt(e(282))/6)+parseInt(e(240))/7+parseInt(e(367))/8*(-parseInt(e(528))/9)+parseInt(e(365))/10*(parseInt(e(251))/11)+parseInt(e(303))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pt);class vt extends G.Plugin{[ft(386)];[ft(479)];[ft(430)]=null;[ft(481)];[ft(272)]=null;[ft(274)];[ft(474)];[ft(355)];[ft(309)];[ft(444)];[ft(256)];[ft(495)];[ft(502)];[ft(384)];static get[ft(378)](){return ft(427)}static get[ft(496)](){return!0}static get[ft(302)](){return!0}static get[ft(461)](){return[K.Users,et,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(481)]=this[i(222)][i(519)][i(219)](i(499)),this[i(444)]=this[i(222)][i(519)][i(219)](i(415)),this[i(274)]=new gt(this[i(222)]),this[i(355)]=this[i(222)][i(269)][i(219)](i(462))||i(515),this[i(309)]=new Map,this[i(384)]=null;const s=(0,t.uid)();this[i(474)]={history:this[i(222)][i(518)][i(271)][i(228)],getLatestVersion:()=>Promise[i(338)](this[i(222)][i(518)][i(271)][i(512)]),getCurrentRevisionId:()=>s},this[i(348)](i(323),!1),this[i(348)](i(411),!0),this[i(348)](i(482),!1),this[i(222)][i(269)][i(399)](i(217),!0),this[i(222)][i(416)][i(245)](i(223))[i(335)]({view:i(243)})}[ft(263)](){const t=ft;this[t(381)](),this[t(222)][t(398)].on(t(453),()=>{const e=t,i=this[e(481)][e(429)](0),s=i&&null===i[e(435)]?i:null;if(this[e(495)]=!!s&&this[e(222)][e(269)][e(219)](e(217)),this[e(222)][e(519)][e(252)](e(276))){const t=this[e(474)][e(311)](),n=this[e(481)][e(429)](t);if(n)this[e(502)]=n[e(424)],this[e(495)]=!1;else{const t=this[e(474)][e(228)][e(463)][e(294)](t=>!t[e(362)]),n=t?t[e(361)]:this[e(474)][e(228)][e(512)];i?(i[e(525)]<n&&i[e(508)]({toVersion:n}),this[e(495)]?(this[e(474)][e(311)]=()=>s.id,this[e(502)]=s[e(424)]):(this[e(502)]=i[e(525)],this[e(495)]=!1)):(this[e(502)]=n,this[e(495)]=!1)}}else s&&(this[e(222)][e(518)][e(271)][e(228)][e(512)]=Math[e(422)](s[e(525)],this[e(222)][e(518)][e(271)][e(228)][e(512)]),s[e(424)]===s[e(525)]?(0!==s[e(424)]&&(this[e(474)][e(311)]=()=>s.id),this[e(495)]=!1):this[e(495)]&&(this[e(474)][e(311)]=()=>s.id,this[e(502)]=s[e(424)])),this[e(495)]||(this[e(502)]=this[e(222)][e(518)][e(271)][e(512)]);this[e(274)][e(263)](this[e(474)][e(228)]),this[e(375)](this[e(502)]),this[e(354)](this[e(502)]),this[e(272)]&&this[e(353)]()}),this[t(275)](t(323)).to(this,t(482),t=>!t),this[t(386)]=this[t(222)][t(269)][t(219)](t(386));const e=this[t(222)];this[t(479)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(225)==r||i(261)==r||i(267)==r||i(454)==r||i(334)==r||i(394)==r||i(426)==r||i(409)==r){delete e[n],s=r,clearInterval(this[i(479)]),this[i(479)]=void 0;break}}i(261)==s&&e[i(450)](i(332)),i(267)==s&&e[i(450)](i(516)),i(454)==s&&e[i(450)](i(413)),i(334)==s&&e[i(450)](i(224),i(483)),i(394)==s&&e[i(450)](i(312)),i(426)==s&&e[i(450)](i(418)),i(409)==s&&e[i(450)](i(473))},1e3)}async[ft(492)](){const t=ft;if(this[t(481)][t(517)]>0){const e=this[t(481)][t(429)](0),i=await this[t(377)](e),s=await this[t(374)](e);this[t(485)](i,s)}}[ft(476)](){const t=ft;super[t(476)](),this[t(479)]&&clearInterval(this[t(479)])}[ft(268)](t){this[ft(474)]=t}async[ft(232)](){const t=ft,e=await this[t(474)][t(401)]();if(e>this[t(430)][t(525)]){await this[t(489)]();const i=this[t(498)]({revision:this[t(430)],to:e});i[t(417)]=i[t(494)][t(392)](e=>this[t(222)][t(519)][t(219)](t(431))[t(464)](e)),this[t(430)][t(508)](i)}}async[ft(233)](e={},i=null){const s=ft,n=[];await this[s(489)](),this[s(495)]=!1,i>this[s(430)][s(525)]&&(i=null),null===i&&(i=await this[s(474)][s(401)]());const r=this[s(342)](i),o=this[s(498)]({from:r,to:i});if(this[s(430)][s(525)]<i){const t=this[s(498)]({revision:this[s(430)],from:i,to:i});t[s(417)]=[],t[s(494)]=[],t.id=this[s(430)].id,this[s(430)][s(508)](t,!0),delete t[s(417)],n[s(396)](t)}e[s(229)]=this[s(222)][s(519)][s(219)](s(431)).me.id,e[s(241)]=e[s(241)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(285)](e);n[s(396)](e);const c=this[s(481)][s(521)](a);if(0!==c){const t=this[s(481)][s(429)](c-1);if(t[s(424)]!==i){const r=this[s(274)][s(388)](i,t[s(525)]),o={id:t.id,diffData:r[s(470)],authorsIds:r[s(494)],authors:r[s(494)][s(392)](t=>this[s(222)][s(519)][s(219)](s(431))[s(464)](t)),fromVersion:i};t===this[s(430)]&&(o[s(501)]=new Date(e[s(501)][s(500)]()+10)),t[s(508)](o,!0),delete o[s(417)],n[s(396)](o)}}if(this[s(272)]){for(const t of n)this[s(437)](t.id,t,!0);this[s(353)]()}return a}[ft(285)](t){const e=ft,i=this[e(481)][e(439)](t);return this[e(272)]&&i.on(e(508),(t,i,s)=>{const n=e;s||(this[n(437)](i.id,i,!0),this[n(353)]())}),this[e(481)][e(357)](i,this[e(257)](i)),i}async[ft(377)](t){const e=ft;return await this[e(444)][e(370)](t,this[e(272)]),this[e(444)][e(377)](t)}async[ft(374)](t){const e=ft;return await this[e(444)][e(370)](t,this[e(272)]),this[e(444)][e(374)](t)}[ft(353)](){const t=ft;if(0===this[t(309)][t(248)])return;if(this[t(482)])return;let e=Array[t(322)](this[t(309)][t(292)]());this[t(309)][t(262)]();for(let i=0;i<e[t(517)];i++){const s=e[i];let n=!1;for(const e of Object[t(459)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(231)](t=>null!==t),!e[t(517)])return;for(let i=0;i<e[t(517)];i++){const s=e[i];void 0!==s[t(424)]&&void 0===s[t(525)]&&(s[t(525)]=this[t(481)][t(429)](s.id)[t(525)]),void 0!==s[t(525)]&&void 0===s[t(424)]&&(s[t(424)]=this[t(481)][t(429)](s.id)[t(424)])}const i=this[t(222)][t(269)][t(219)](t(462));this[t(482)]=!0,this[t(397)](),this[t(272)][t(328)](e,i)[t(333)](()=>{this[t(482)]=!1})[t(293)](e=>{const i=t;if(e)for(const t of e)this[i(465)]({id:t.id,createdAt:t[i(501)]});this[i(220)](),this[i(353)]()})}[ft(498)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(424)],i=null!==i?i:t[s(525)];const n=this[s(274)][s(388)](e,i),r={diffData:n[s(470)],authorsIds:n[s(494)],fromVersion:e,toVersion:i};if(!t||i!==t[s(525)]){const t=i-1,e=this[s(474)][s(228)][s(315)](t);r[s(501)]=e&&e[s(501)]||new Date}if(this[s(384)]&&e===this[s(384)][s(424)])for(const t of this[s(384)][s(417)])r[s(494)][s(506)](t.id)||r[s(494)][s(396)](t.id);return r}[ft(437)](t,e,i){const s=ft;if(this[s(309)][s(252)](t)){const n=this[s(309)][s(219)](t);e=i?{...n,...e}:{...e,...n}}this[s(309)][s(348)](t,e)}[ft(465)](t){const e=ft,i=this[e(481)][e(429)](t.id);if(t[e(501)]&&(t[e(501)]=new Date(t[e(501)])),t[e(494)]){const i=this[e(222)][e(519)][e(219)](e(431));t[e(417)]=t[e(494)][e(392)](t=>i[e(464)](t))}i[e(508)](t,!0)}[ft(375)](t){const e=ft,i=this[e(481)][e(429)](this[e(481)][e(517)]-1);if(i)this[e(355)]=i.id;else{const i=!this[e(222)][e(518)][e(271)][e(327)][e(294)](t=>this[e(222)][e(518)][e(531)](t)),s=this[e(222)][e(519)][e(219)](e(431)).me.id,n=at(this[e(222)][e(537)],e(i?266:350));this[e(336)]({from:t,to:t,id:this[e(355)],name:n,creatorId:s})}}[ft(354)](t){const e=ft,i=this[e(474)][e(311)]();this[e(430)]=this[e(481)][e(429)](i),this[e(430)]||(this[e(430)]=this[e(336)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(489)](){const t=ft;this[t(495)]&&!this[t(384)]&&(await this[t(444)][t(370)](this[t(430)],this[t(272)]),this[t(274)][t(298)](this[t(430)]),this[t(384)]={fromVersion:this[t(430)][t(424)],authors:this[t(430)][t(417)][t(254)]()})}[ft(485)](e,i){const s=ft;let n=this[s(222)][s(269)][s(219)](s(287)),r=this[s(222)][s(269)][s(219)](s(472));if(void 0===n){n={};for(const t of this[s(222)][s(518)][s(271)][s(295)]())n[t]=""}if(s(277)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(222)][s(518)][s(271)][s(295)]())r[t]={}}let o=!1;const a=Object[s(459)](n),c=Object[s(459)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(337)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(459)](r[t])[s(517)]>0){o=!0;break}}o||(o=c[s(244)](t=>!this[s(222)][s(518)][s(271)][s(305)](t))),o&&(0,t.logWarning)(s(497),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(222)][s(269)][s(348)](s(287),e),this[s(222)][s(269)][s(348)](s(472),i)}[ft(397)](){const t=ft;if(!this[t(256)]){const e=this[t(222)][t(519)][t(219)](t(237));this[t(256)]=e[t(214)](at(this[t(222)][t(537)],t(511)))}}[ft(220)](){const t=ft;this[t(256)]&&(this[t(222)][t(519)][t(219)](t(237))[t(410)](this[t(256)]),this[t(256)]=null)}[ft(257)](t){const e=ft,i=this[e(481)][e(246)]();i[e(344)]();let s=0;for(;s<i[e(517)];){const n=i[s];if(n===this[e(430)]){s++;continue}if(n.id===this[e(355)])break;const r=t[e(525)]-n[e(525)]||t[e(424)]-n[e(424)];if(r>0)break;if(r<0)s++;else{if(!t[e(435)]&&n[e(435)])break;if(n[e(435)]||!t[e(435)]){if(t[e(501)]>n[e(501)])break;s++}else s++}}return s}[ft(342)](t){const e=ft,i=this[e(481)][e(246)]();i[e(344)](),i[e(324)]();const s=i[e(294)](i=>i[e(525)]<=t)[e(525)];return s<this[e(502)]?this[e(502)]:s}[ft(336)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(498)]({from:e,to:i});o[r(241)]=t,o[r(229)]=s,o.id=n;const a=this[r(285)](o);return this[r(272)]&&this[r(437)](o.id,o,!0),a}[ft(381)](){const t=ft;this[t(222)][t(416)][t(245)](t(520))[t(414)]({model:t(243)})}}class gt{[ft(222)];[ft(306)];[ft(216)];[ft(478)];[ft(432)];[ft(330)];[ft(468)];[ft(493)];[ft(443)];[ft(284)];[ft(364)];[ft(402)];[ft(487)];[ft(529)];[ft(452)];[ft(234)];[ft(538)];constructor(t){const e=ft;this[e(222)]=t,this[e(216)]=new Map,this[e(478)]=-1,this[e(432)]=-1,this[e(330)]=new Map,this[e(468)]=new Map,this[e(493)]=new Map,this[e(443)]=new Map,this[e(284)]=new Map,this[e(364)]=new Map,this[e(402)]=new Map,this[e(487)]=new Map,this[e(529)]=new Map,this[e(452)]=new Map,this[e(234)]=1}[ft(263)](t){const e=ft;this[e(306)]=t;const i=new Map,s=new Map,n=this[e(222)][e(518)][e(271)][e(327)][e(392)](t=>t[e(279)]);for(const t of n){const n=this[e(222)][e(518)][e(271)][e(305)](t),r=yt(n);i[e(348)](t,r),s[e(348)](t,Object[e(400)](n[e(403)]()))}const r=Array[e(322)](this[e(222)][e(518)][e(351)])[e(392)](t=>[t[e(241)],t[e(341)]()]),o=this[e(306)][e(512)];this[e(299)](o,i,r,s),this[e(538)]=this[e(234)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(348)](t,i),c[e(348)](t,{})}this[e(299)](Number[e(438)],a,[],c)}[ft(388)](t,e){const i=ft;if(this[i(478)]===t&&this[i(432)]<=e)this[i(216)][i(248)]>1&&this[i(433)](this[i(432)]),this[i(446)](this[i(432)],e,!0);else{if(!this[i(216)][i(252)](t)){const e=this[i(484)](t);this[i(259)](e,t,!1)}this[i(259)](t,e,!0)}return this[i(478)]=t,this[i(432)]=e,this[i(509)]()}[ft(298)](t){const e=ft;if(!this[e(216)][e(252)](t[e(424)])){const i=this[e(484)](t[e(424)]);this[e(259)](i,t[e(424)],!1)}this[e(259)](t[e(424)],t[e(525)],!1);const i=this[e(222)][e(519)][e(219)](e(415));this[e(307)](),this[e(478)]=t[e(424)],this[e(432)]=t[e(525)];for(const s in t[e(470)]){const n=t[e(470)][s][e(310)],r=R(t[e(470)][s][e(382)])||{},o=i[e(250)](t[e(470)][s][e(260)]);o[e(279)]=s,o[e(318)]=!n||!n[e(522)],o[e(522)]=()=>o[e(318)],this[e(443)][e(348)](s,o),this[e(284)][e(348)](s,r),n&&this[e(452)][e(348)](s,n);const a=this[e(290)](o);this[e(402)][e(348)](s,a);for(const[t,i]of o[e(351)]){if(!t[e(278)](e(314)))continue;const s=t[e(281)](":")[2];for(const t of i[e(359)]({singleCharacters:!0})){const i=this[e(423)](t),n=e(458)==t[e(239)]?t[e(235)][e(313)][e(254)](0,-1):t[e(235)][e(313)],r=a[e(419)](n)[e(447)](i);this[e(487)][e(348)](r,{userId:s})}o[e(351)][e(428)](t)}}this[e(538)]=this[e(234)];const s=[...Array(this[e(234)])[e(459)]()][e(254)](1)[e(231)](t=>!this[e(487)][e(252)](t));let n=0;const r=new Map;for(const o in t[e(470)]){const a=t[e(470)][o][e(310)],c=R(t[e(470)][o][e(321)])||{},u=i[e(250)](t[e(470)][o][e(368)]);u[e(279)]=o,u[e(318)]=!a||a[e(522)],u[e(522)]=()=>u[e(318)],this[e(468)][e(348)](o,u),this[e(493)][e(348)](o,c);const l=this[e(290)](u,Number[e(438)]);this[e(364)][e(348)](o,l),r[e(348)](o,u[e(522)]()?c:{});for(const[t,i]of u[e(351)]){if(!t[e(278)](e(314)))continue;const s=t[e(281)](":")[2];for(const t of i[e(359)]({singleCharacters:!0})){const i=this[e(423)](t),n=this[e(234)]++,r=e(458)==t[e(239)]?t[e(235)][e(313)][e(254)](0,-1):t[e(235)][e(313)];l[e(419)](r)[e(325)](i,n),this[e(487)][e(348)](n,{userId:s})}u[e(351)][e(428)](t)}for(const t of this[e(222)][e(518)][e(320)](u)[e(359)]({singleCharacters:!0})){const i=this[e(423)](t),r=e(458)==t[e(239)]?t[e(235)][e(313)][e(254)](0,-1):t[e(235)][e(313)],o=l[e(419)](r);o[e(447)](i)>0||o[e(325)](i,s[n++])}for(const[t,i]of u[e(351)])t[e(278)](e(314))||this[e(330)][e(348)](t,i)}const{roots:o}=this[e(216)][e(219)](t[e(424)]),{roots:a}=this[e(216)][e(219)](t[e(525)]),c=yt(o[e(219)](e(412)));this[e(443)][e(348)](e(412),c),this[e(402)][e(348)](e(412),this[e(290)](c,Number[e(438)]));const u=yt(a[e(219)](e(412)));this[e(468)][e(348)](e(412),u),this[e(364)][e(348)](e(412),this[e(290)](u));const l=Array[e(322)](this[e(468)])[e(392)](([t,e])=>[t,yt(e)]);this[e(299)](this[e(432)],l,this[e(330)],r)}[ft(363)](){const t=ft;this[t(307)](),this[t(478)]=-1,this[t(432)]=-1,this[t(216)][t(262)](),this[t(263)](this[t(306)])}[ft(299)](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(348)](t,{start:e[n(280)][n(486)](),end:e[n(445)][n(486)](),rootName:e[n(456)][n(279)]});this[n(216)][n(348)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(433)](t){const e=ft;this[e(216)][e(428)](t)}[ft(307)](){const t=ft;this[t(487)][t(262)](),this[t(529)][t(262)](),this[t(452)][t(262)](),this[t(468)][t(262)](),this[t(493)][t(262)](),this[t(443)][t(262)](),this[t(284)][t(262)](),this[t(364)][t(262)](),this[t(402)][t(262)](),this[t(330)][t(262)](),this[t(234)]=1,this[t(538)]=this[t(234)]}[ft(290)](t,e=null){const i=ft;let s=null;t.is(i(533))||(s=new Q.ModelElement(t[i(241)],{vid_start:null===e?this[i(234)]++:e++}));const n=[];for(const s of t[i(404)]())if(s.is(i(455))){n[i(396)](this[i(290)](s,e));const t=n[n[i(517)]-1];null!==e&&(e=t.is(i(455),i(393))?t[i(447)](i(319))+1:t[i(447)](i(504))+1)}else for(let t=0;t<s[i(356)];t++)n[i(396)](new Q.ModelElement(i(393),{vid:null===e?this[i(234)]++:e++}));if(t.is(i(533))){const e=kt(t[i(279)]);return e[i(510)](0,n),e}return s[i(325)](i(504),null===e?this[i(234)]++:e++),s[i(510)](0,n),s}[ft(259)](t,e,i){const s=ft;this[s(307)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(216)][s(219)](t);this[s(443)]=new Map(n),this[s(284)]=new Map(R(o));for(const[t,e]of this[s(443)])if(s(412)!==t&&(this[s(468)][s(348)](t,yt(e)),this[s(493)]=new Map(R(o)),i)){const i=this[s(234)];this[s(364)][s(348)](t,this[s(290)](e)),this[s(402)][s(348)](t,this[s(290)](e,i))}this[s(538)]=this[s(234)],this[s(468)][s(348)](s(412),yt(this[s(443)][s(219)](s(412)))),i&&this[s(364)][s(348)](s(412),this[s(290)](this[s(443)][s(219)](s(412))));for(const[t,e]of r){const i=this[s(443)][s(219)](e[s(279)]),n=this[s(468)][s(219)](e[s(279)]),r=new Q.ModelRange(this[s(218)](e[s(280)],i),this[s(218)](e[s(445)],i)),o=this[s(475)](r,n);i[s(351)][s(348)](t,r),this[s(330)][s(348)](t,o)}this[s(446)](t,e,i)}[ft(446)](t,e,i){const s=ft;for(const n of this[s(306)][s(227)](t,e))this[s(331)](n,i);for(const t of this[s(468)][s(292)]())t[s(351)][s(262)]();for(const[t,e]of this[s(330)])this[s(468)][s(219)](e[s(456)][s(279)])[s(351)][s(348)](t,e[s(486)]());const n=new Map,r=new Map;for(const[t,e]of this[s(468)])n[s(348)](t,yt(e)),r[s(348)](t,this[s(493)][s(219)](t));this[s(299)](e,n,this[s(330)],r)}[ft(484)](t){const e=ft,i=Array[e(322)](this[e(216)][e(459)]());i[e(304)]((t,e)=>t-e),i[e(344)]();for(const e of i)if(e<t)return e;return Number[e(438)]}[ft(352)](t,e){const i=ft,s=Array[i(322)](e[i(351)])[i(392)](([e,s])=>[e,this[i(475)](s,t)]);t[i(351)]=new Map(s)}[ft(480)](t){const e=ft;for(const i of this[e(330)][e(292)]()){const s=i[e(247)](t),n=Q.ModelRange[e(371)](s);i[e(280)]=n[e(280)],i[e(445)]=n[e(445)]}}[ft(331)](t,e){const i=ft;if(i(534)!=t[i(239)]&&i(535)!=t[i(239)]){if(i(316)==t[i(239)]){const s=t[i(300)][i(456)][i(279)];this[i(468)][i(252)](s)||(this[i(468)][i(348)](s,kt(s,!0)),this[i(493)][i(348)](s,{}),e&&this[i(364)][i(348)](s,kt(s,!0)))}else{if(i(238)==t[i(239)]||i(420)==t[i(239)]||i(264)==t[i(239)])return void this[i(407)](t);i(385)==t[i(239)]&&this[i(270)](t)}if(i(385)!==t[i(239)]){const e=this[i(507)](t,this[i(468)]);e[i(527)](),this[i(480)](e)}if(e)switch(t[i(239)]){case i(316):this[i(467)](t);break;case i(477):case i(410):case i(451):this[i(373)](t);break;case i(469):this[i(236)](t);break;case i(281):this[i(349)](t)}}else this[i(434)](t,e)}[ft(507)](t,e){const i=ft,s=t[i(486)]();return s[i(440)]=t[i(440)],this[i(383)](s,e),s}[ft(441)](t){const e=ft;return t[e(392)](t=>{const i=e,s=this[i(423)](t);return Number(t[i(339)][i(447)](s))})}[ft(258)](t,e){const i=ft;if(t.is(i(455),i(393)))e[i(396)]({item:t,type:i(372)});else{t.is(i(455))&&e[i(396)]({item:t,type:i(379)});for(const s of t[i(404)]())this[i(258)](s,e);t.is(i(455))&&e[i(396)]({item:t,type:i(458)})}return e}[ft(509)](){const t=ft,e=new Map(this[t(487)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(443)][t(459)](),...this[t(468)][t(459)]()]);a[t(428)](t(412));for(const e of a){const i=this[t(468)][t(219)](e)||kt(e,!1),s=this[t(443)][t(219)](e)||kt(e,!1);i[t(522)]()||s[t(522)]()?(n[t(368)][e]=yt(i),n[t(260)][e]=yt(s),this[t(352)](n[t(260)][e],s),this[t(352)](n[t(368)][e],i),r[t(368)][e]=this[t(258)](this[t(364)][t(219)](e),[]),r[t(260)][e]=this[t(258)](this[t(402)][t(219)](e)||kt(e,!1),[])):a[t(428)](e)}for(const n of a){const o=r[t(368)][n];for(const n of o){const r=this[t(423)](n),o=n[t(339)][t(447)](r);i[t(428)](o),o>=this[t(538)]&&s[t(348)](o,e[t(219)](o))}}for(const n of a){const a=r[t(368)][n],c=this[t(441)](r[t(260)][n]);let u=0;for(const n of a){const r=this[t(423)](n),a=n[t(339)][t(447)](r);if(!s[t(252)](a)&&!o[t(252)](a))if(i[t(252)](a))u++;else{if(a!=c[u]){const s=e[t(219)](a)||e[t(219)](c[u]);for(;a!=c[u];)i[t(252)](c[u])||(o[t(348)](c[u],s),e[t(348)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(368)][e];for(const e of n){const n=this[t(423)](e),r=e[t(339)][t(447)](n);if(o[t(252)](r)){const e=o[t(219)](r);i[t(252)](r)||i[t(348)](r,{...e}),s[t(348)](r,{...e})}}}for(const e of i[t(459)]())e>=this[t(538)]&&i[t(428)](e);const c=new Map;for(const e of a){let n=r[t(368)][e];for(const e of n)if(e[t(339)].is(t(455),t(230))){const i=this[t(423)](e),n=e[t(339)][t(447)](i);if(s[t(252)](n)){const i=e[t(339)][t(347)][t(347)][t(447)](t(503)),r=c[t(219)](i)||new Set;r[t(214)](s[t(219)](n)[t(301)]),c[t(348)](i,r)}}n=r[t(260)][e];for(const e of n)if(e[t(339)].is(t(455),t(230))){const s=this[t(423)](e),n=e[t(339)][t(447)](s);if(i[t(252)](n)){const s=e[t(339)][t(347)][t(347)][t(447)](t(503)),r=c[t(219)](s)||new Set;r[t(214)](i[t(219)](n)[t(301)]),c[t(348)](s,r)}}for(const e of c[t(459)]())(s[t(252)](e)||i[t(252)](e))&&c[t(428)](e)}for(const e of a){const n=r[t(368)][e];let o=null,a=null;for(const e of n){const n=this[t(423)](e),r=e[t(339)][t(447)](n),u=c[t(219)](r);u&&t(379)==e[t(239)]&&(o=Array[t(322)](u)[0],a=e[t(339)][t(447)](t(504))),o&&(i[t(348)](r,{userId:o}),s[t(348)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(260)][e],a=n[t(368)][e];for(const{userId:e}of this[t(529)][t(292)]())null!==e&&l[t(214)](e);for(const{userId:e}of this[t(452)][t(292)]())null!==e&&l[t(214)](e);this[t(376)](a,r[t(368)][e],s,t(380),l),this[t(376)](o,r[t(260)][e],i,t(297),l),u[e]={insertions:this[t(329)](a),deletions:this[t(329)](o),attachChange:this[t(452)][t(219)](e)||null,attributesBefore:R(this[t(284)][t(219)](e))||{},attributesAfter:R(this[t(493)][t(219)](e))}}return{diffData:u,authorsIds:Array[t(322)](l)}}[ft(289)](t){const e=ft;for(const[,i]of t[e(351)]){const t=i[e(280)][e(530)]()[e(231)](t=>e(230)==t[e(241)]);for(const i of t)1==i[e(340)]&&i[e(360)](0).is(e(455),e(395))&&i[e(360)](0)[e(325)](e(514),!0)}}[ft(329)](t){const e=ft;this[e(289)](t);const i=this[e(222)][e(398)][e(273)](t,{}),s=Array[e(322)](i[e(404)]())[e(392)](t=>this[e(389)](t));return JSON[e(466)](s)}[ft(389)](t){const e=ft;if(t.is(e(393)))return t[e(398)];{const i=this[e(222)][e(519)][e(219)](e(415)),s=t,n=this[e(222)][e(398)][e(505)][e(405)],r={type:i[e(490)](s),name:s[e(241)],attributes:Array[e(322)](s[e(403)]()),children:Array[e(322)](s[e(404)]())[e(392)](t=>this[e(389)](t))};if(t.is(e(242))&&e(288)!=t[e(241)]){const i=t[e(524)](n[e(436)],n);r[e(366)][e(396)](i[e(291)])}else if(t.is(e(457))){const i=n[e(436)][e(390)](s[e(241)]);t[e(524)](i,n),r[e(366)][e(396)](i[e(460)])}const o=Array[e(322)](s[e(346)]());o[e(517)]>0&&(r[e(249)]=o);const a=s[e(536)]();return null!==a&&(r[e(391)]=a),r}}[ft(376)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(222)][r(518)];for(let s=0;s<e[r(517)];s++){const n=this[r(423)](e[s]),c=e[s][r(339)][r(447)](n),h=i[r(219)](c),d=s==e[r(517)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(301)]!=o[r(301)])&&(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(301)],d=l(314)+s+":"+h+":"+c++,f=u[l(286)](i,a);t[l(351)][l(348)](d,f),null!==h&&n[l(214)](h)}}[ft(423)](t){const e=ft;switch(t[e(239)]){case e(379):return e(503);case e(458):return e(504);default:return e(319)}}[ft(383)](t,e){const i=ft;t[i(361)]=null;for(const s in t){const n=t[s];if(n instanceof Q.ModelPosition){const r=e[i(219)](n[i(456)][i(279)]);t[s]=this[i(218)](n,r)}if(n instanceof Q.ModelRange){const r=e[i(219)](n[i(456)][i(279)]);t[s]=this[i(475)](n,r)}i(456)===s&&(t[i(456)]=e[i(219)](t[i(456)][i(279)]))}}[ft(475)](t,e){const i=ft;return this[i(222)][i(518)][i(286)](this[i(218)](t[i(280)],e),this[i(218)](t[i(445)],e))}[ft(218)](t,e){const i=ft;return this[i(222)][i(518)][i(425)](e,t[i(313)],t[i(513)])}[ft(467)](t){const e=ft,i=this[e(364)][e(219)](t[e(300)][e(456)][e(279)]),s=this[e(218)](t[e(300)],i),n=null===t[e(440)]?null:t[e(440)]||this[e(222)][e(519)][e(219)](e(431)).me.id,r=s[e(347)],o=this[e(234)],a=[];for(const i of t[e(532)])if(i.is(e(455)))a[e(396)](this[e(290)](i));else for(let t=0;t<i[e(356)];t++)a[e(396)](new Q.ModelElement(e(393),{vid:this[e(234)]++}));const c=this[e(234)];for(let t=o;t<c;t++)this[e(487)][e(348)](t,{userId:n});r[e(510)](s[e(326)],a)}[ft(373)](t){const e=ft;(t=this[e(507)](t,this[e(364)]))[e(527)]();const i=null===t[e(440)]?null:t[e(440)]||this[e(222)][e(519)][e(219)](e(431)).me.id,s=t[e(296)](),n=s[e(347)],r=s[e(326)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(360)](e);r.is(a(455),a(393))?s[a(348)](r[a(447)](a(319)),{userId:i}):(s[a(348)](r[a(447)](a(503)),{userId:i}),t(s,r,0,r[a(340)]),s[a(348)](r[a(447)](a(504)),{userId:i}))}}(this[e(487)],n,r,r+t[e(317)])}[ft(236)](t){const e=ft,i=null===(t=this[e(507)](t,this[e(364)]))[e(440)]?null:t[e(440)]||this[e(222)][e(519)][e(219)](e(431)).me.id,s=t[e(345)][e(347)],n=t[e(421)][e(347)],r=s[e(447)](e(504)),o=n[e(447)](e(503));s[e(325)](e(504),n[e(447)](e(504))),n[e(325)](e(504),r),this[e(487)][e(348)](o,{userId:i}),this[e(487)][e(348)](r,{userId:i}),t[e(527)]()}[ft(349)](t){const e=ft,i=null===(t=this[e(507)](t,this[e(364)]))[e(440)]?null:t[e(440)]||this[e(222)][e(519)][e(219)](e(431)).me.id,s=t[e(526)],n=t[e(265)][e(347)];t[e(527)]();const r=n[e(447)](e(504)),o=t[e(369)][e(255)];if(s){const t=o[e(447)](e(504)),s=n[e(447)](e(504));n[e(325)](e(504),t),o[e(325)](e(504),s),this[e(487)][e(348)](n[e(447)](e(504)),{userId:i}),this[e(487)][e(348)](o[e(447)](e(503)),{userId:i})}else{const t=this[e(234)]++,s=this[e(234)]++;n[e(325)](e(504),t),o[e(325)](e(503),s),o[e(325)](e(504),r),this[e(487)][e(348)](t,{userId:i}),this[e(487)][e(348)](s,{userId:i})}}[ft(270)](t){const e=ft;if(!t[e(523)])return;const i=(t=this[e(507)](t,this[e(468)]))[e(283)]?t[e(283)][e(456)]:null,s=t[e(215)]?t[e(215)][e(456)]:null;i&&this[e(330)][e(428)](t[e(241)]),s&&this[e(330)][e(348)](t[e(241)],t[e(215)][e(486)]());const n=null===t[e(440)]?null:t[e(440)]||this[e(222)][e(519)][e(219)](e(431)).me.id,r=t[e(241)];if(!this[e(529)][e(252)](r))return void this[e(529)][e(348)](r,{range:t[e(283)],userId:n});const o=this[e(529)][e(219)](r),a=o[e(308)],c=t[e(215)];null==a&&null==c||a&&c&&a[e(408)](c)?this[e(529)][e(428)](t[e(241)]):o[e(301)]=n}[ft(434)](t,e){const i=ft;this[i(468)][i(252)](t[i(279)])?this[i(468)][i(219)](t[i(279)])[i(318)]=t[i(491)]:(this[i(468)][i(348)](t[i(279)],kt(t[i(279)],!0)),this[i(493)][i(348)](t[i(279)],{}),e&&this[i(364)][i(348)](t[i(279)],kt(t[i(279)],!0)));const s=null===t[i(440)]?null:t[i(440)]||this[i(222)][i(519)][i(219)](i(431)).me.id,n=this[i(452)][i(219)](t[i(279)]);n&&n[i(301)]===s?this[i(452)][i(428)](t[i(279)]):this[i(452)][i(348)](t[i(279)],{userId:s,isAttached:t[i(491)]})}[ft(407)](t){const e=ft,i=this[e(493)][e(219)](t[e(456)][e(279)]);null===t[e(406)]?delete i[t[e(449)]]:i[t[e(449)]]=t[e(406)]}}function yt(t){const e=ft,i=kt(t[e(279)],t[e(522)]());for(const s of t[e(404)]()){const t=s[e(387)](!0);i[e(226)](t)}return i}function kt(t,e=!0){const i=ft,s=new Q.ModelDocumentFragment;return s[i(279)]=t,s[i(318)]=e,s[i(522)]=()=>s[i(318)],s}function bt(t,e,i){const s=ft,n=s(458)==t[s(239)]?i[s(471)](t[s(339)],s(445)):i[s(358)](t[s(339)]);return i[s(425)](e,n[s(313)],n[s(513)])}function wt(t,e,i){const s=ft,n=s(379)==t[s(239)]?i[s(471)](t[s(339)],0):i[s(343)](t[s(339)]);return i[s(425)](e,n[s(313)],n[s(513)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),Nt=i(102),At=i.n(Nt),Rt=i(123),Mt=i.n(Rt),Et=i(741),Vt=i.n(Et),Dt=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Vt();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(98),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Mt(),Lt.insert=At().bind(null,"head"),Lt.domAPI=xt(),Lt.insertStyleElement=Vt();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=zt;function Pt(){const t=["locale","trim","element","stopPropagation","4879405yHAYOU","reset","label","ck-revision-history-save-revision-form","arrowright","5959856PHIeqT","2gihNDP","revisionNameInputView","1709409zHFHBJ","2295337QVJbOZ","_createRevisionNameInput","value","revisionNameInputValue","1598608FlpylE","arrowleft","focus","keystrokes","add","arrowdown","Name of the revision","set","revisionName","form","render","ck-responsive-form","input","focusTracker","setTemplate","errorText","9896DzQuhT","220","extendTemplate","optional","listenTo","6cDkxFr","arrowup","549521BXmPLw","10YjfUeV","fieldView","initializeCssTransitionDisablerMixin","1215TcfTRe"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=253]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(970861===parseInt(e(278))/1+-parseInt(e(293))/2*(-parseInt(e(295))/3)+-parseInt(e(255))/4+parseInt(e(287))/5*(-parseInt(e(276))/6)+parseInt(e(292))/7+-parseInt(e(271))/8*(-parseInt(e(282))/9)+parseInt(e(279))/10*(parseInt(e(296))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Ut extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(268)];[jt(258)];[jt(294)];constructor(e,i){const s=jt;super(e),this[s(268)]=new t.FocusTracker,this[s(258)]=new t.KeystrokeHandler,this[s(262)](s(254),""),this[s(294)]=this[s(297)](i),this[s(269)]({tag:s(264),attributes:{class:["ck",s(290),s(266)],tabindex:"-1"},children:[this[s(294)]]}),this[s(281)]()}[jt(265)](){const t=jt;super[t(265)](),(0,It.submitHandler)({view:this}),this[t(268)][t(259)](this[t(294)][t(285)]),this[t(258)][t(275)](this[t(285)]);const e=e=>e[t(286)]();this[t(258)][t(262)](t(291),e),this[t(258)][t(262)](t(256),e),this[t(258)][t(262)](t(277),e),this[t(258)][t(262)](t(260),e)}[jt(257)](){const t=jt;this[t(294)][t(257)]()}get[jt(263)](){const t=jt;return this[t(294)][t(280)][t(285)][t(253)][t(284)]()}set[jt(263)](t){const e=jt;this[e(294)][e(280)][e(285)][e(253)]=t[e(284)]()}[jt(288)](){const t=jt;this[t(294)][t(280)][t(285)][t(253)]="",this[t(294)][t(270)]=null}[jt(297)](t){const e=jt,i=new It.LabeledFieldView(this[e(283)],It.createLabeledInputText),s=i[e(280)];s[e(273)]({attributes:{maxlength:e(272)}});let n=at(this[e(283)],e(261));return!t&&(n+=" ("+at(this[e(283)],e(274))+")"),i[e(289)]=n,s.on(e(267),()=>{const t=e;this[t(254)]=s[t(285)][t(253)][t(284)]()}),i}}const Wt=Zt;function Zt(t,e){const i=qt();return(Zt=function(t,e){return i[t-=138]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(564925===-parseInt(e(170))/1+-parseInt(e(198))/2*(parseInt(e(174))/3)+parseInt(e(165))/4+parseInt(e(177))/5*(parseInt(e(202))/6)+-parseInt(e(151))/7+-parseInt(e(196))/8*(-parseInt(e(148))/9)+parseInt(e(155))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qt);class Ht extends G.Plugin{static get[Wt(150)](){return Wt(175)}static get[Wt(183)](){return!0}static get[Wt(201)](){return!0}static get[Wt(186)](){return[vt]}[Wt(193)];[Wt(189)](){const t=Wt,e=this[t(182)],i=e[t(203)][t(207)](t(143));e.ui[t(187)][t(160)](t(206),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(199)][n(197)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(140)](It.ButtonView),l=new It.ListItemView(s),h=this[n(141)](It.ButtonView);return r[n(209)](n(200)).to(i,n(190),i,n(200),e,n(144),(t,e,i)=>t&&e&&!i),r[n(158)][n(178)]({icon:_t.IconHistory,label:at(s,n(154)),tooltip:!0}),u[n(178)]({withText:!0,role:n(180)}),h[n(178)]({withText:!0,role:n(180)}),this[n(195)](h,n(139),()=>{const t=n;r[t(191)]=!1,e[t(166)][t(168)][t(142)]()},{priority:n(138)}),c[n(197)][n(160)](u),l[n(197)][n(160)](h),a[n(184)]=n(156),a[n(181)][n(157)]([c,l]),o[n(160)](a),r}),e.ui[t(187)][t(160)](t(153),()=>this[t(161)]())}[Wt(161)](){const t=Wt,e=this[t(182)],i=e[t(159)],s=e[t(203)][t(207)](t(143)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(209)](t(200)).to(s,t(190),s,t(200),e,t(144),(t,e,i)=>t&&e&&!i),n[t(158)][t(178)]({icon:_t.IconHistory,label:at(i,t(154))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(140)](It.MenuBarMenuListItemButtonView);a[t(152)](t(139)).to(n),o[t(197)][t(160)](a),r[t(181)][t(160)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(141)](It.MenuBarMenuListItemButtonView);return u[t(152)](t(139)).to(n),c[t(197)][t(160)](u),r[t(181)][t(160)](c),n[t(199)][t(197)][t(160)](r),n}[Wt(140)](t){const e=Wt,i=this[e(182)],s=i[e(203)][e(207)](e(143)),n=new t(i[e(159)]);return n[e(178)]({label:at(i[e(159)],e(194))}),n[e(209)](e(200)).to(s,e(190),s,e(200),i,e(144),(t,e,i)=>t&&e&&!i),this[e(195)](n,e(139),()=>{this[e(146)]()}),n}[Wt(141)](t){const e=Wt,i=this[e(182)],s=i[e(203)][e(207)](e(143)),n=new t(i[e(159)]);return n[e(178)]({label:at(i[e(159)],e(185))}),n[e(209)](e(200)).to(s,e(190),i,e(144),(t,e)=>t&&!e),this[e(195)](n,e(139),()=>{const t=e;i[t(208)][t(207)](t(206))[t(147)]()}),n}[Wt(146)](){const t=Wt,e=this[t(182)],i=e[t(159)],s=e[t(203)][t(207)](t(163)),n=e[t(203)][t(207)](t(143));function r(n){const r=t;e[r(208)][r(207)](r(172))&&""===n[r(192)]?n[r(171)][r(167)]=at(i,r(176)):(e[r(203)][r(207)](vt)[r(169)]({name:n[r(192)]}),s[r(173)]())}this[t(193)]||(this[t(205)](),this[t(193)].on(t(145),()=>r(this[t(193)]))),this[t(193)][t(188)](),s[t(162)]({id:t(164),title:at(i,t(194)),isModal:!0,content:this[t(193)],actionButtons:[{label:at(e[t(159)],t(204)),withText:!0,onExecute:()=>s[t(173)]()},{label:at(e[t(159)],t(210)),class:t(179),withText:!0,onCreate(i){const s=t;i[s(209)](s(200)).to(n,s(190),n,s(200),e,s(144),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(193)])}]})}[Wt(205)](){const t=Wt,e=this[t(182)],i=e[t(159)];this[t(193)]=new Ut(i,e[t(208)][t(207)](t(172))),this[t(193)][t(149)]()}}function qt(){const t=["isOfficialPlugin","role","Open revision history","requires","componentFactory","reset","init","isReady","isOpen","revisionName","_saveRevisionFormView","Save current revision","listenTo","16NfWXuz","children","1006KIaLbM","panelView","isEnabled","isPremiumPlugin","6OynqeV","plugins","Cancel","_createSaveRevisionFormView","revisionHistory","get","config","bind","Accept","low","execute","_createSaveRevisionButton","_createOpenRevisionButton","focus","RevisionTracker","isReadOnly","submit","_showDialog","showRevisionViewerCallback","4574034ZigNSC","render","pluginName","1198694eAHMbg","delegate","menuBar:revisionHistory","Revision history","2641650JpKrGw","menu","addMany","buttonView","locale","add","_registerMenuComponent","show","Dialog","revisionSave","1570120seLBwg","editing","errorText","view","saveRevision","305556WJiWuQ","revisionNameInputView","revisionHistory.requireRevisionName","hide","5955SlqzlH","RevisionHistoryUI","The revision name cannot be empty.","1835155KUdpRw","set","ck-button-action","menuitem","items","editor"];return(qt=function(){return t})()}function $t(){const t=["1340915YqlZht","1948pfggKS","div","set","_model","element","ck-revision-change","bindTemplate","name","ck-annotation","Added by","span","add","2426230sEAqlZ","data","229502fhJtdG","810476ozMFhz","12ivROSD","focus","changeId","ck-revision-change__label","1263bMQEyD","type","Suggested by","isSuggestion","ck-revision-change__","536cIbiQx","5189715SexTbx","4291EJvklz","Removed by","author","setTemplate"];return($t=function(){return t})()}const Bt=Yt;function Yt(t,e){const i=$t();return(Yt=function(t,e){return i[t-=227]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(301896===-parseInt(e(242))/1+parseInt(e(228))/2*(parseInt(e(248))/3)+-parseInt(e(243))/4+-parseInt(e(227))/5*(parseInt(e(244))/6)+-parseInt(e(255))/7*(-parseInt(e(253))/8)+parseInt(e(254))/9+parseInt(e(240))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Jt extends It.View{[Bt(246)];[Bt(231)];constructor(t,e){const i=Bt;super(t),this[i(231)]=e,this[i(246)]=e.id;const s=this[i(234)],n=at(t,e[i(241)][i(251)]?i(250):i(239)==e[i(249)]?i(237):i(256));this[i(230)](i(249),e[i(249)]),this[i(258)]({tag:i(229),attributes:{class:[i(236),i(233),s.to(i(249),t=>i(252)+t)],tabindex:-1},children:[{tag:i(238),children:[{tag:i(238),attributes:{class:[i(247)]},children:[{text:n}]},{text:" "+e[i(257)][i(235)]}]}]})}[Bt(245)](){const t=Bt;this[t(232)][t(245)]()}}var Gt=Kt;function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=171]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(210859===parseInt(e(179))/1+parseInt(e(174))/2+parseInt(e(182))/3*(-parseInt(e(184))/4)+parseInt(e(177))/5*(-parseInt(e(175))/6)+parseInt(e(172))/7+parseInt(e(173))/8+parseInt(e(183))/9*(parseInt(e(171))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(176)];[Gt(181)];[Gt(185)];[Gt(187)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(176)]=e[i(176)],this[i(181)]=e[i(181)],this[i(185)]=e[i(185)]||{},this[i(187)]=e[i(187)],this[i(180)](i(178),e[i(178)])}[Gt(186)](){var t=Gt;return{id:this.id,authorId:this[t(176)].id,type:this[t(181)],data:this[t(185)],createdAt:this[t(178)]}}}function Xt(){var t=["author","5FqqMtk","createdAt","51741ZIPRiu","set","type","241023oCYRsZ","417816BwuUuB","20eemhbZ","data","toJSON","rootName","50PfoYEx","2073638fzdzhW","539280rdlmfG","59012dmEDBh","386682gOAdKp"];return(Xt=function(){return t})()}function te(t,e){const i=ie();return(te=function(t,e){return i[t-=292]})(t,e)}const ee=te;function ie(){const t=["oldRevisionId","newRevisionId","7535PmlWtO","changes","add","1123jWjPpR","3370601JijKKN","281547eliSDq","8QlQGnf","250ELnorx","_setChanges","2730196qUZqhL","686196cIHZbU","72710qYiRIG","6llwuUy","42beIecC","12OjqTNY","1314ZEEJpi"];return(ie=function(){return t})()}!function(t){const e=te,i=t();for(;;)try{if(196776===parseInt(e(308))/1*(-parseInt(e(300))/2)+-parseInt(e(299))/3*(-parseInt(e(297))/4)+parseInt(e(305))/5*(parseInt(e(302))/6)+-parseInt(e(296))/7+-parseInt(e(293))/8*(-parseInt(e(292))/9)+-parseInt(e(294))/10*(-parseInt(e(298))/11)+parseInt(e(301))/12*(-parseInt(e(309))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{[ee(304)];[ee(303)];[ee(306)];constructor(e,i){const s=ee;this[s(304)]=e,this[s(303)]=i,this[s(306)]=new t.Collection}[ee(295)](t){const e=ee;for(const i of t)this[e(306)][e(307)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Vt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ue;!function(t){const e=ue,i=t();for(;;)try{if(970893===-parseInt(e(452))/1*(-parseInt(e(208))/2)+parseInt(e(427))/3*(-parseInt(e(338))/4)+parseInt(e(344))/5*(parseInt(e(463))/6)+parseInt(e(481))/7+-parseInt(e(237))/8+-parseInt(e(404))/9+-parseInt(e(229))/10*(parseInt(e(179))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ae extends G.Plugin{[oe(339)];[oe(436)]=null;[oe(391)];[oe(356)];[oe(392)];[oe(328)];[oe(292)];static get[oe(260)](){return oe(194)}static get[oe(367)](){return!0}static get[oe(302)](){return!0}static get[oe(482)](){return[K.Users,It.ContextualBalloon,et,ot]}constructor(t){const e=oe;super(t),this[e(339)]=this[e(466)][e(415)][e(284)](e(297)),this[e(391)]=this[e(466)][e(415)][e(284)](e(195)),this[e(433)](e(447),null),this[e(433)](e(247),null),this[e(356)]=null,this[e(433)](e(412),null),this[e(433)](e(364),!1),this[e(433)](e(410),!0),this.on(e(405),(t,i,s)=>{const n=e;this[n(447)]=null,this[n(247)]=null,this[n(466)][n(374)][n(311)][n(245)](t=>{const e=n;for(const i of this[e(466)][e(374)][e(311)][e(305)][e(421)])s?t[e(212)](e(454),i):t[e(251)](e(454),i)})}),this[e(380)](e(307)).to(this,e(447),t=>null!==t),this[e(380)](e(198)).to(this,e(364),this,e(412),this,e(447),(t,i,s)=>t&&s?i[e(477)][e(423)](s):0),this[e(380)](e(503)).to(this,e(364),this,e(412),(t,i)=>t?i[e(477)][e(397)]:0),this[e(392)]=null,this[e(328)]=new Map,this[e(292)]=this[e(466)][e(415)][e(284)](It.ContextualBalloon)}[oe(488)](){const t=oe,e=this[t(466)],i=new de(e,{direction:t(317)}),s=new de(e,{direction:t(451)});e[t(429)][t(321)](t(502),i),e[t(429)][t(321)](t(318),s),e[t(429)][t(321)](t(283),new he(e)),this.on(t(270),()=>{const e=t;i[e(312)](),s[e(312)]()}),this[t(393)](),this[t(320)](),e[t(394)](t(218)),e[t(415)][t(209)](t(496))&&e[t(415)][t(284)](t(496))[t(396)](t(218))}async[oe(406)](t){const e=oe;return await this[e(391)][e(350)](t,this[e(436)]),this[e(391)][e(406)](t)}async[oe(343)](t){const e=oe;return await this[e(391)][e(350)](t,this[e(436)]),this[e(391)][e(343)](t)}async[oe(189)](t,e,i=!1){const s=oe;if(!this[s(410)])return;const n=this[s(412)],r=this[s(339)],o=s(402)==typeof t?r[s(483)](t):t,a=s(402)==typeof e?r[s(483)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(412)]&&this[s(412)][s(352)]===c&&this[s(412)][s(366)]===u)return Promise[s(313)]();this[s(364)]=!1,this[s(247)]=null,this[s(447)]=null,this[s(412)]=new se(c,u);const l=this[s(213)](o,a,!0)[s(437)](t=>this[s(391)][s(350)](t,this[s(436)]));return l[s(279)](new Promise(t=>{setTimeout(t,20)})),Promise[s(205)](l)[s(351)](()=>{const t=s;if(!this[t(410)])return;this[t(453)]();const e=this[t(376)](c,u);for(const i of e[t(477)])this[t(328)][t(433)](i.id,i);this[t(466)][t(278)][t(180)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(466)][s(278)][s(305)][s(493)]())i[s(319)](t);for(const t of Object[s(322)](e[s(278)])){const n=i[s(214)](t);for(const r of Object[s(322)](e[s(418)][t]))i[s(232)](r,e[s(418)][t][r],n);i[s(440)](e[s(278)][t],n,0)}}),this[t(412)][t(256)](this[t(363)](e[t(477)])),this[t(364)]=!0})[s(498)](t=>{const e=s;console[e(439)](t),this[e(453)](),n&&(this[e(412)]=n),this[e(364)]=!0})}[oe(314)](t,e){const i=oe,s=this[i(339)][i(497)](t);return s.on(i(467),(t,i,n)=>e(i,n,s)),this[i(339)][i(266)](s),s}[oe(453)](){const t=oe;this[t(447)]=null,this[t(455)](),this[t(392)]&&this[t(392)][t(306)](),this[t(392)]=null,this[t(328)][t(476)](),this[t(466)][t(278)][t(180)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(466)][i(278)][i(305)][i(493)]())e[i(319)](t)})}[oe(363)](t){const e=oe,i=[],s=new Map;for(const t of this[e(466)][e(278)][e(305)][e(493)]()){const n=this[e(466)][e(374)][e(311)][e(288)](t);if(!n)continue;const r=n[e(478)]()[e(267)](0);r&&(i[e(279)](t),s[e(433)](t,r))}return i[e(422)]((t,i)=>{const n=e,r=s[n(284)](t),o=s[n(284)](i);return r.y-o.y||r.x-o.x}),(t=t[e(353)](t=>i[e(383)](t[e(438)])))[e(422)]((t,s)=>i[e(347)](t[e(438)])-i[e(347)](s[e(438)])),t}[oe(464)](t){const e=oe,i=Array[e(473)](t[e(222)])[e(353)](([t,i])=>t[e(368)](e(378))&&!i[e(430)]),s=Array[e(473)](this[e(466)][e(278)][e(372)](t)[e(285)]({singleCharacters:!0}));if(0!=i[e(397)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(315)](":");if(n[e(330)][e(187)](t[e(341)])&&i[e(281)](),(t[e(325)][e(187)](n[e(291)])||t[e(325)][e(334)](n[e(291)]))&&(e(193)==r?t[e(435)]={userId:o}:e(456)==r&&(t[e(244)]={userId:o})),0==i[e(397)])break}return s}[oe(253)](t){const e=oe,i=new Map;for(let s=0;s<t[e(397)];s++)e(183)===t[s][e(327)]?(t[s][e(267)][e(238)]=s,t[s][e(267)][e(268)]=s):(e(235)===t[s][e(327)]?t[s][e(267)][e(238)]=s:e(190)===t[s][e(327)]&&(t[s][e(267)][e(268)]=s),i[e(433)](t[s].id,s));for(const s of i[e(250)]())e(235)===t[s][e(327)]?t[s][e(267)][e(268)]=i[e(284)](t[s][e(340)]):e(190)===t[s][e(327)]&&(t[s][e(267)][e(238)]=i[e(284)](t[s][e(340)]))}[oe(441)](t){const e=oe;for(let i=0;i<t[e(397)];i++){if(e(235)===t[i][e(327)])t[i][e(267)][e(238)]=i;else if(e(190)===t[i][e(327)]){t[i][e(267)][e(268)]=i;const s=t[i][e(267)][e(238)];t[s][e(340)]=t[i].id,t[i][e(340)]=t[s].id}else t[i][e(267)][e(238)]=i,t[i][e(267)][e(268)]=i,t[i][e(340)]=null;t[i][e(450)]||(t[i][e(450)]=[],t[i][e(233)]=[])}}[oe(444)](t,e){const i=oe,s=t[i(353)](t=>!t[i(435)]);for(let t=0;t<e[i(397)];t++)e[t][i(435)]&&(s[t][i(435)]=e[t][i(435)])}[oe(376)](t,e=null){const i=oe,s=this[i(339)][i(483)](t),n=e?this[i(339)][i(483)](e):null,r=this[i(213)](s,n),o=r[r[i(397)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(397)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(322)](e[i(499)]))if(e[i(499)][t][i(262)]){const s=e[i(499)][t][i(262)];s[i(201)]?(u[i(321)](t),l[i(209)](t)&&l[i(284)](t)[i(282)]==s[i(282)]?l[i(375)](t):l[i(433)](t,s)):l[i(209)](t)?(u[i(375)](t),l[i(375)](t)):(u[i(321)](t),l[i(433)](t,s))}else u[i(321)](t)}for(const t of u){const e=l[i(209)](t)&&!l[i(284)](t)[i(201)];let s=e?r[i(397)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(499)][t]){const s=e?o[i(499)][t][i(358)]:o[i(499)][t][i(192)];c[i(418)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(278)]={};for(const e of t[i(274)])a[i(433)](e.id,e);for(const e of u){const s=t[i(499)][e]?t[i(499)][e][i(234)]:"[]",n=t[i(499)][e]?t[i(499)][e][i(287)]:"[]";t[i(278)][e]={insertions:this[i(391)][i(249)](s),deletions:this[i(391)][i(249)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(473)](s[i(278)][t][i(234)][i(222)])[i(353)](([t])=>!t[i(368)](i(378))));let h=0;for(const o of r){const r=this[i(464)](o[i(278)][t][i(234)]);o==s?(e=r,n=e[i(397)],e[i(265)](t=>{t.id=h++}),this[i(441)](e)):this[i(444)](e,r);const a=e[i(353)](t=>!t[i(435)])[i(437)](t=>t.id);let c=0;const l=this[i(464)](o[i(278)][t][i(287)]);l[i(265)](t=>{t[i(244)]?t.id=n++:t.id=a[c++]}),this[i(441)](l),this[i(293)](e,i(435)),this[i(293)](l,i(244)),o==s&&this[i(388)](e,u),e=this[i(400)](e,l),this[i(253)](e),this[i(293)](e,i(244))}e=e[i(353)](t=>!(t[i(435)]&&t[i(244)]));const d=new Map(o[i(278)][t][i(287)][i(222)]),f=new Set(u[i(322)]());for(const t of d[i(322)]())f[i(375)](t);this[i(259)](e,f),this[i(223)](e),e=this[i(188)](e),e=this[i(484)](e),e=this[i(336)](e);const{root:m,changes:p}=this[i(361)](e,a,t);c[i(278)][t]=m;const v=l[i(284)](t);if(v){const e=a[i(284)](v[i(282)]),s=new Qt({author:e,type:v[i(201)]?i(321):i(408),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(428)](s),c[i(418)][t][i(485)]=s.id}c[i(477)]=c[i(477)][i(217)](p)}return c}[oe(388)](t,e){const i=oe;for(let s=0;s<t[i(397)];s++)for(const[n,r]of e)!r[i(430)]&&r[i(291)][i(187)](t[s][i(325)])&&t[s][i(450)][i(279)](n),r[i(330)][i(187)](t[s][i(341)])&&t[s][i(233)][i(279)](n)}[oe(400)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(397)]||r<e[i(397)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(279)](o);else if(a[i(244)]&&o[i(435)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(349)](t,n,e,r);s=s[i(217)](o),n=a,r=c}else a[i(244)]?(r++,s[i(279)](a)):(n++,s[i(279)](o))}return s}[oe(259)](t,e){const i=oe,s=[];for(let o=0;o<t[i(397)];o++){for(let r=0;r<t[o][i(450)][i(397)];r++){const a=t[o][i(450)][r];if(!e[i(209)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(360)!=c||i(193)!=u&&i(456)!=u||(s[i(428)]({type:u,name:a,userId:l}),t[o][i(450)][i(432)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(233)][i(397)];r++){const a=t[o][i(233)][r];if(!e[i(209)](a))continue;const{group:c,type:u}=n(a);if(i(360)!=c||i(193)!=u&&i(456)!=u)continue;t[o][i(233)][i(432)](r,1),r--;const l=s[i(443)](t=>t[i(381)]==a);l>-1&&s[i(432)](l,1)}}function n(t){const e=i,s=t[e(315)](":");return{group:s[0],type:s[1],subType:s[e(397)]>=5?s[2]:null,id:s[e(397)]<5?s[2]:s[3],authorId:s[e(397)]<5?s[3]:s[4],markerCount:6==s[e(397)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(397)];i++){if(t[e(435)]&&e(193)==s[i][e(327)]&&t[e(435)][e(282)]==s[i][e(282)])return t[e(324)]=s[i],void delete t[e(435)];if(!t[e(435)]&&!t[e(244)]&&e(456)==s[i][e(327)])return void(t[e(492)]=s[i])}}}[oe(293)](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(433)](o.id,s);for(let s=0;s<t[i(397)];s++){if(i(244)==e&&t[s][i(435)]||i(435)==e&&t[s][i(244)])continue;if(i(183)==t[s][i(327)]){t[s][i(252)]=0;continue}const n=r[i(284)](t[s][i(340)]),o=r[i(284)](t[s].id);t[s][i(252)]=n-o}}[oe(213)](t,e,i=!1){const s=oe,n=[];let r=this[s(339)][s(423)](t),o=this[s(339)][s(423)](e);for(-1==o&&(o=this[s(339)][s(501)][s(397)],i=!1);r<o;)n[s(279)](this[s(339)][s(483)](r)),r++;return i&&n[s(279)](this[s(339)][s(483)](r)),n}[oe(349)](t,e,i,s){const n=oe,r=this[n(466)][n(278)][n(246)];let o=e;for(;t[o]&&t[o][n(435)];)o++;let a=s;for(;i[a]&&i[a][n(244)];)a++;u(t,e,o),u(i,s,a);const c=i[n(345)](s,a)[n(217)](t[n(345)](e,o));return c[n(422)]((t,e)=>t[n(290)]!=e[n(290)]?t[n(290)]-e[n(290)]:t[n(373)]!=e[n(373)]?t[n(373)]-e[n(373)]:t[n(252)]!=e[n(252)]?e[n(252)]-t[n(252)]:!!t[n(435)]!=!!e[n(435)]?-1==t[n(290)]||0==t[n(290)]?t[n(435)]?-1:1:t[n(435)]?1:-1:t[n(504)]-e[n(504)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(203)],c=!0;for(let n=e;n<i;n++)if(r[s(494)](t[n][s(267)])||(c=!1),t[n][s(267)][s(238)]<e&&(o=n),t[n][s(267)][s(268)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(290)]=n<=o?-1:n<a?0:1,t[n][s(504)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(252)]?t[i][s(373)]=u:(u++,t[i][s(373)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(290)]&&(t[n][s(373)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(252)]?t[e][s(373)]=u:(u--,t[e][s(373)]=u,u--)}}[oe(223)](t){const e=oe,i=new Map,s=this[e(466)][e(278)][e(246)];for(let n=1;n<t[e(397)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(183)==c[e(327)])continue;if(c[e(327)]!=u[e(327)])continue;if(!s[e(273)](u[e(267)])||s[e(377)](u[e(267)]))continue;if(!s[e(273)](c[e(267)])||s[e(377)](c[e(267)]))continue;if((t[n][e(435)]||t[n][e(324)])&&t[n-1][e(244)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(244)]||!t[n-1][e(435)]&&!t[n-1][e(324)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(373)]==o[e(373)],h=Math[e(332)](r[e(373)])<Math[e(332)](o[e(373)])&&0==o[e(252)];(l||h)&&(i[e(433)](o.id,r.id),t[e(432)](a,1),n--,r[e(435)]=!1)}for(let s=0;s<t[e(397)];s++)i[e(209)](t[s][e(340)])&&(t[s][e(340)]=i[e(284)](t[s][e(340)]))}[oe(188)](t){const e=oe,i=new Set(t[e(437)](t=>t.id));for(let s=0;s<t[e(397)];s++)i[e(209)](t[s][e(340)])||0==t[s][e(252)]||(t[s][e(230)]=!0);return t[e(353)](t=>!t[e(230)])}[oe(484)](t){const e=oe,i=new Set;for(let s=0;s<t[e(397)];s++){if(i[e(209)](t[s].id)&&t[s][e(244)]&&(t[s][e(230)]=!0),t[s][e(230)])continue;if(0==t[s][e(252)])continue;if(e(235)!=t[s][e(327)])continue;if(null==t[s][e(340)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(340)];)e(235)==t[n][e(327)]?r++:e(190)==t[n][e(327)]&&r--,n++;if(0!=r)if(t[s][e(244)])t[s][e(230)]=!0;else for(;n!=s;)t[n][e(244)]&&0!=t[n][e(252)]&&(t[n][e(230)]=!0,i[e(321)](t[n][e(340)])),n--}return t[e(353)](t=>!t[e(230)])}[oe(336)](t){const e=oe,i=this[e(466)][e(278)][e(246)];for(let s=0;s<t[e(397)];s++){if(!(t[s][e(435)]||t[s][e(324)]||t[s][e(244)]||t[s][e(492)]))continue;if(0==t[s][e(252)])continue;const n=t[s][e(267)];i[e(273)](n)||i[e(377)](n)||(t[s][e(435)]&&delete t[s][e(435)],t[s][e(324)]&&delete t[s][e(324)],t[s][e(492)]&&delete t[s][e(492)],t[s][e(244)]&&(t[s][e(230)]=!0))}return t[e(353)](t=>!t[e(230)])}[oe(361)](t,e,i){const s=oe,n=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[s(466)][s(278)],c=a[s(246)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(397)];e++)if(s(235)===t[e][s(327)]){t[e][s(325)]=a[s(220)](n,f);const i=new Q.ModelElement(t[e][s(267)][s(381)],t[e][s(267)][s(228)]());u[0][s(204)](i),f[s(279)](0),u[s(428)](i),t[e][s(341)]=a[s(220)](n,f)}else s(190)===t[e][s(327)]?(u[s(281)](),t[e][s(325)]=a[s(220)](n,f),f[s(382)](),f[f[s(397)]-1]++,t[e][s(341)]=a[s(220)](n,f)):(t[e][s(325)]=a[s(220)](n,f),d?d[s(475)]+=t[e][s(267)][s(461)]:d=new Q.ModelText(t[e][s(267)][s(461)],t[e][s(267)][s(228)]()),t[e+1]&&s(183)===t[e+1][s(327)]&&v(d,t[e+1][s(267)])||(u[0][s(204)](d),d=null),f[f[s(397)]-1]+=t[e][s(267)][s(277)],t[e][s(341)]=a[s(220)](n,f));for(let e=0;e<t[s(397)];e++){const i=t[e][s(325)],n=t[e][s(341)];for(const n of t[e][s(450)])o[s(433)](n,{start:i,end:null});m(s(492),e,i,n),m(s(324),e,i,n),m(s(244),e,i,n),m(s(435),e,i,n);for(const i of t[e][s(233)]){const t=o[s(284)](i);t?t[s(330)]=n:o[s(433)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(466)][s(278)][s(487)](e[s(291)],e[s(330)]);n[s(222)][s(433)](t,i)}return r[s(422)]((t,e)=>{const i=s,r=n[i(222)][i(284)](i(378)+t.id),o=n[i(222)][i(284)](i(378)+e.id);return r[i(291)][i(221)](o[i(291)])?-1:r[i(291)][i(334)](o[i(291)])?1:r[i(330)][i(221)](o[i(330)])?-1:r[i(330)][i(334)](o[i(330)])?1:i(321)===t[i(327)]?-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(282)]:null,d=i===t[o(397)]-1,f=h[e][0],m=c[o(409)](t[i][o(267)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(330)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(282)]!==u&&(l[e][o(330)]=n,f&&f[o(282)]===l[e][o(282)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(235)!==t[i][o(327)]||f&&f[o(282)]===u||h[e][o(428)]({userId:u,object:t[i][o(267)],change:l[e]}),o(190)===t[i][o(327)]&&f&&f[o(457)]===t[i][o(267)]&&(h[e][o(281)](),l[e]=f[o(245)])),l[e]&&d&&(l[e][o(330)]=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(267)],f=a[h(246)][h(273)](d)&&!a[h(246)][h(377)](d),m=t[h(243)]==o[h(301)]&&o[h(474)];if(f&&m)return;const p=a[h(487)](t,o),v=e[h(284)](u),g=new Qt({author:v,type:h(435)==l||h(324)==l?h(321):h(408),data:{isSuggestion:h(324)==l||h(492)==l},createdAt:new Date,rootName:i});r[h(279)](g),n[h(222)][h(433)](h(378)+g.id,p)}function v(t,e){const i=s,n=t[i(228)](),r=e[i(228)]();for(const t of n){if(t[1]!==e[i(242)](t[0]))return!1;r[i(337)]()}return r[i(337)]()[i(413)]}}[oe(393)](){const t=oe;this[t(466)][t(255)][t(417)](t(346))[t(386)]({view:t(333)}),this[t(466)][t(255)][t(417)](t(489))[t(425)]({model:t(333),view:e=>{const i=t,s=e[i(348)][i(315)](":")[1],n=this[i(442)](s);if(!n)return null;const r=i(321)==n[i(327)]?i(193):i(456),o=[i(236),i(479)+r];return n[i(461)][i(371)]&&o[i(279)](i(479)+r+i(407)),this[i(447)]==n&&o[i(279)](i(426)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(466)][t(255)][t(417)](t(346))[t(321)](e=>{const i=t;e.on(i(414),(t,e,s)=>{const n=i,r=e[n(271)][n(420)](0);if(!r||!r.is(n(207),n(303)))return;if(!s[n(269)][n(219)](r,{attributes:[n(399),n(470)]}))return;const o=e[n(460)][n(291)][n(243)];s[n(359)][n(232)](n(399),r[n(242)](n(399)),o),s[n(359)][n(232)](n(470),r[n(242)](n(470)),o)},{priority:i(275)})}),this[t(466)][t(255)][t(417)](t(346))[t(321)](e=>{const i=t;e.on(i(207),(t,e,s)=>{const n=i;if(!s[n(269)][n(219)](e[n(271)],{attributes:[n(399),n(470)]}))return;if(e[n(460)][n(430)])return;const r=e[n(460)][n(291)][n(243)];r[n(384)](n(399))||r[n(384)](n(491))||(s[n(359)][n(232)](n(399),e[n(271)][n(242)](n(399)),r),s[n(359)][n(232)](n(470),e[n(271)][n(242)](n(470)),r))},{priority:i(275)})}),this[t(466)][t(255)][t(417)](t(346))[t(263)]({view:{name:t(369),attributes:{vid:!0}},model:{key:t(491),value:e=>e[t(242)](t(491))}}),this[t(466)][t(278)][t(246)].on(t(261),(e,[,i])=>{const s=t;[s(399),s(470),s(491)][s(383)](i)&&(e[s(206)]=!0,e[s(326)]())},{priority:t(186)}),this[t(466)][t(255)][t(417)](t(401))[t(321)](e=>{const i=t;e.on(i(264),(t,e,s)=>{const n=i;if(" "!=e[n(267)][n(461)]||e[n(267)][n(301)][n(241)]>1)return;if(!s[n(269)][n(219)](e[n(267)],t[n(381)]))return;const r=s[n(359)],o=s[n(468)][n(490)](e[n(295)]);r[n(335)](o,r[n(472)](n(369)))})}),this[t(466)][t(255)][t(417)](t(401))[t(424)]({model:t(333)}),this[t(466)][t(374)][t(227)].on(t(411),function(e){const i=t,s=e[i(415)][i(284)](i(194));return(t,n,r)=>{const o=i,a=n[o(348)][o(315)](":")[1],c=s[o(442)](a);if(!c)return null;const u=o(321)==c[o(327)]?o(315):o(403);if(!r[o(269)][o(385)](n[o(309)],t[o(381)]))return;const l=n[o(309)][o(285)](),h=n[o(309)][o(291)],d=e[o(278)][o(246)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(267)];p=p||d[o(296)](e);const i=r[o(468)][o(257)](e);if(i&&i[o(458)](o(390)))return;o(190)==t[o(327)]&&d[o(273)](e)&&!d[o(377)](e)&&(e[o(416)]||h[o(449)]?f&&f[o(301)]==e||(f=e,g(t[o(325)]),v=!0):m=m||t[o(325)])}function g(t){const e=o,i=r[e(359)][e(196)](e(369),{class:e(479)+u}),a=r[e(468)][e(459)](t);c[e(461)][e(371)]&&r[e(359)][e(251)](e(479)+u+e(407),i),s[e(447)]==c&&r[e(359)][e(251)](e(426),i),r[e(359)][e(440)](a,i),r[e(468)][e(197)](i,n[e(348)])}p||v||!m||g(m)}}(this[t(466)]),{priority:t(199)}),this[t(466)][t(374)][t(227)].on(t(308),(e,i,s)=>{const n=t,r=s[n(468)][n(231)](i[n(348)]);if(r)for(const t of r)(t[n(276)](n(216))||t[n(276)](n(280)))&&(s[n(468)][n(323)](t,i[n(348)]),s[n(359)][n(408)](t))},{priority:t(199)}),this[t(466)][t(374)][t(227)].on(t(411),(e,i,s)=>{const n=t,r=i[n(348)][n(315)](":")[1],o=this[n(442)](r);if(!o)return null;const a=n(321)==o[n(327)]?n(315):n(403);if(s[n(269)][n(385)](i[n(309)],e[n(381)]))for(const t of i[n(309)][n(248)]()){if(!t.is(n(207),n(178)))continue;const e=s[n(359)][n(196)](n(369),{class:n(479)+a}),r=s[n(468)][n(459)](this[n(466)][n(278)][n(434)](t));o[n(461)][n(371)]&&s[n(359)][n(251)](n(479)+a+n(407),e),this[n(447)]==o&&s[n(359)][n(251)](n(426),e),s[n(359)][n(440)](r,e),s[n(468)][n(197)](e,i[n(348)])}},{priority:t(199)}),this[t(466)][t(278)][t(305)].on(t(245),()=>{const e=t;this[e(466)][e(374)][e(311)][e(245)](t=>{const i=e;for(const e of this[i(466)][i(278)][i(305)][i(493)]()){const s=this[i(466)][i(278)][i(305)][i(398)](e),n=this[i(466)][i(374)][i(311)][i(305)][i(398)](e);if(n){const e=s[i(242)](i(485));if(t[i(215)](i(210),n),t[i(212)](i(445),n),t[i(212)](i(419),n),t[i(212)](i(185),n),e){const s=this[i(442)](e);if(!s)return null;t[i(232)](i(210),e,n),t[i(251)](i(469)+s[i(327)],n),this[i(447)]==s&&t[i(251)](i(185),n)}}}})}),this[t(466)][t(255)][t(417)](t(346))[t(386)]({view:t(387),model:e=>t(310)+e,converterPriority:t(186)}),this[t(466)][t(255)][t(417)](t(346))[t(386)]({view:t(272),model:e=>t(225)+e,converterPriority:t(186)}),this[t(466)][t(255)][t(417)](t(401))[t(424)]({model:t(360),view:e=>({name:t(289)+e,group:t(360)}),converterPriority:t(186)}),this[t(466)][t(255)][t(417)](t(489))[t(425)]({model:t(360),view:e=>{const i=t,s=e[i(348)][i(315)](":")[1];return i(193)!=s&&i(456)!=s?null:{classes:[i(446),i(300)+s]}}}),this[t(466)][t(374)][t(227)].on(t(286),le(this[t(466)],t(403)),{priority:t(199)}),this[t(466)][t(374)][t(227)].on(t(240),le(this[t(466)],t(315)),{priority:t(199)}),this[t(466)][t(374)][t(227)].on(t(480),(e,i,s)=>{const n=t,r=s[n(468)][n(231)](i[n(348)]);if(r)for(const t of r)t.is(n(316))&&(s[n(468)][n(323)](t,i[n(348)]),s[n(359)][n(408)](t))},{priority:t(199)})}[oe(442)](t){const e=oe;return this[e(328)][e(284)](t)}[oe(486)](t){const e=oe;return this[e(392)]&&this[e(392)][e(306)](),this[e(392)]=new Jt(this[e(466)][e(258)],t),this[e(392)]}[oe(320)](){const t=oe;this[t(466)][t(278)][t(305)][t(298)][t(471)](t(333)),this.on(t(462),(e,i,s,n)=>{const r=t;n&&this[r(292)][r(408)](n),s&&(this[r(292)][r(321)]({view:s,stackId:r(500),position:{target:()=>{const t=r,e=this[t(466)][t(374)],i=this[t(442)](s[t(329)]);let n;if(i[t(461)][t(299)]){const s=e[t(311)][t(288)](i[t(438)]);n=Array[t(473)](s[t(478)]())}else{const i=this[t(466)][t(278)][t(222)][t(284)](t(378)+s[t(329)]);n=Array[t(473)](e[t(468)][t(231)](i[t(381)]))[t(437)](i=>e[t(311)][t(365)][t(226)](i))[t(437)](e=>Array[t(473)](e[t(478)]()))[t(395)]()}return this[t(356)]&&n[t(211)](e=>e[t(304)]-3<=this[t(356)].y&&e[t(342)]+3>=this[t(356)].y&&e[t(357)]-3<=this[t(356)].x&&e[t(370)]+3>=this[t(356)].x)||n[0]}}}),this[r(292)][r(465)](r(500)))}),this.on(t(431),(e,i,s,n)=>{const r=t;this[r(247)]=s?this[r(486)](s):null,this[r(466)][r(278)][r(245)](()=>{const t=r,e=this[t(466)][t(374)];n&&(n[t(461)][t(299)]?e[t(311)][t(245)](i=>{const s=t;i[s(212)](s(185),e[s(311)][s(305)][s(398)](n[s(438)]))}):e[t(379)](t(378)+n.id)),s&&(s[t(461)][t(299)]?e[t(311)][t(245)](i=>{const n=t;i[n(251)](n(185),e[n(311)][n(305)][n(398)](s[n(438)]))}):e[t(379)](t(378)+s.id))})}),this[t(202)](this[t(466)][t(374)][t(311)][t(305)],t(495),(e,i)=>{const s=t;if(this[s(447)])return;const n=this[s(191)](i[s(224)]),r=this[s(328)][s(284)](n);r?(this[s(356)]={x:i[s(362)].x,y:i[s(362)].y},this[s(247)]=this[s(486)](r)):(this[s(356)]=null,this[s(247)]=null)}),this[t(202)](this[t(466)][t(374)][t(311)][t(305)],t(354),(e,i)=>{const s=t,n=this[s(191)](i[s(224)]),r=this[s(328)][s(284)](n);r?(this[s(356)]={x:i[s(362)].x,y:i[s(362)].y},r===this[s(447)]?this[s(292)][s(200)]():this[s(447)]=r):(this[s(356)]=null,this[s(447)]=null)})}[oe(191)](t){const e=oe;do{const i=t[e(242)](e(210));if(i)return i;t=t[e(301)]}while(t);return null}[oe(455)](){const t=oe;this[t(466)][t(278)][t(245)](e=>{const i=t;for(const t of this[i(466)][i(278)][i(222)])e[i(239)](t)})}}function ce(){const t=["editor","_update","mapper","ck-revision-history-root-","vid_end","observeMarkers","createAttributeElement","from","isAtStart","_data","clear","changes","getClientRects","ck-suggestion-marker-","removeMarker:revision-suggestion","4797310bfYEml","requires","getRevision","_markMismatchedRemovedTags","revisionHistoryAttachChange","_getViewForChange","createRange","init","editingDowncast","toViewRange","vid","isRemoveSuggestion","getRootNames","isInline","mouseover","WidgetToolbarRepository","createRevision","catch","diffData","revisionHistoryLabel","_revisions","showPreviousChange","numberOfChanges","index","softBreak","11oFFoUT","enqueueChange","revisionHistory","config","text","first","ck-revision-history-root--active","highest","isEqual","_removeMissingPairs","compare","elementEnd","_findChangeIdFromDomTarget","attributesAfter","insertion","RevisionViewer","RevisionHistoryUtils","createUIElement","bindElementToMarker","currentChangeNumber","high","updatePosition","isAttached","listenTo","POSITIVE_INFINITY","_appendChild","all","return","element","2oEFVWq","has","data-change-id","find","removeClass","_getRevisionsRange","addRoot","removeAttribute","ck-suggestion-marker-split","concat","revision-viewer","consume","createPositionFromPath","isBefore","markers","_fixObsoleteTags","target","revision-suggestion:","mapViewToDom","downcastDispatcher","getAttributes","6241070pJwTYN","isIncorrect","markerNameToElements","setAttribute","markersEnd","insertions","elementStart","ck-suggestion-marker","1503056PerujQ","startIndex","removeMarker","addMarker:revision-suggestion:insertion","maxOffset","getAttribute","nodeAfter","isRemoved","change","schema","activeView","getItems","_makeModelFromViewString","values","addClass","distance","_refreshStartEndIndex","_step","conversion","_setChanges","toViewElement","locale","_markSuggestions","pluginName","checkAttribute","attachChange","elementToAttribute","attribute:vid","forEach","addRevision","item","endIndex","consumable","change:numberOfChanges","viewItem","suggestion","isBlock","authors","low","hasClass","offsetSize","model","push","ck-suggestion-marker-merge","shift","userId","restoreRevision","get","getWalker","addMarker:revision-suggestion:deletion","deletions","getDomRoot","suggestion:","side","start","_balloon","_setDistance","restoreRevisionCallback","range","isContent","RevisionsRepository","selection","isOnRoot","ck-suggestion-preview-marker-","parent","isPremiumPlugin","code","top","document","destroy","isNavigationMode","removeMarker:revision","markerRange","revision-comment:","view","refresh","resolve","addRevisionData","split","uiElement","backward","showNextChange","detachRoot","_initInteractions","add","keys","unbindElementFromMarkerName","isAddSuggestion","previousPosition","stop","type","_changeIdToChange","changeId","end","getLaterVisibleRevision","abs","revision","isAfter","wrap","_removeUnsupportedChanges","next","12cEbnKD","repository","pairId","nextPosition","bottom","getRevisionRootsAttributes","378415mwQVJu","slice","upcast","indexOf","markerName","_threeWayMerge","loadRevisionData","then","newRevisionId","filter","mousedown","change:isReady","_activeViewTarget","left","attributesBefore","writer","revision-suggestion","_makeModelFromTape","domEvent","_sortAndFilterDiffChanges","isReady","domConverter","oldRevisionId","isOfficialPlugin","startsWith","span","right","isSuggestion","createRangeIn","level","editing","delete","_getDiff","isLimit","revision:","reconvertMarker","bind","name","pop","includes","hasAttribute","test","dataToMarker","comment","_markMarkers","affectsData","addHighlight","_utils","_changeView","_setConversion","enableReadOnlyMode","flat","forceDisabled","length","getRoot","vid_start","_joinTapes","dataDowncast","string","merge","332100gyKxIV","change:isEnabled","getRevisionDocumentData","-new","remove","isObject","isEnabled","addMarker:revision","diff","done","element:pre","plugins","nextSibling","for","attributes","ck-revision-history-root-remove","getChild","roots","sort","getIndex","markerToData","markerToHighlight","ck-suggestion-marker--active","1261047dgUIuk","unshift","commands","isCollapsed","change:activeChange","splice","set","createPositionBefore","isAdded","adapter","map","rootName","error","insert","_processTape","_getChangeFromId","findIndex","_markInsertions","ck-revision-history-root-add","ck-suggestion-preview-marker","activeChange","execute","isAtEnd","markersStart","forward","1411620Pkwqzc","_cleanUp","ck-editor__editable__overlay","_cleanMarkers","deletion","object","getCustomProperty","toViewPosition","modelRange","data","change:activeView","78eEuVyF","_makeTape","showStack"];return(ce=function(){return t})()}function ue(t,e){const i=ce();return(ue=function(t,e){return i[t-=178]})(t,e)}function le(t,e){return(i,s,n)=>{const r=ue;if(!n[r(269)][r(385)](s[r(309)],i[r(381)]))return;const o=s[r(309)][r(285)](),a=s[r(309)][r(291)],c=t[r(278)][r(246)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(267)];h=h||c[r(296)](e);const i=n[r(468)][r(257)](e);if(i&&i[r(458)](r(390)))return;r(190)==t[r(327)]&&c[r(273)](e)&&!c[r(377)](e)&&(e[r(416)]||a[r(449)]?u&&u[r(301)]==e||(u=e,f(t[r(325)]),d=!0):l=l||t[r(325)])}function f(t){const i=r,o=n[i(468)][i(459)](t),a=n[i(359)][i(196)](i(369),{class:i(300)+e});n[i(359)][i(440)](o,a),n[i(468)][i(197)](a,s[i(348)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(415)][e(284)](ae);this[e(389)]=!1,this[e(202)](i,e(355),()=>this[e(312)]()),this[e(202)](i,e(405),()=>this[e(312)]())}[oe(448)](){const t=oe,e=this[t(466)],i=e[t(415)][t(284)](ae),s=i[t(364)]?i[t(412)][t(352)]:null;e[t(182)][t(284)](t(181))[t(294)](s)}[oe(312)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(466)][t(415)][t(284)](ae),r=n&&s[t(331)](n[t(352)]);this[t(410)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(254)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(415)][i(284)](ae);this[i(389)]=!1,this[i(254)]=i(451)===e?1:-1,this[i(202)](s,i(355),()=>this[i(312)]()),this[i(202)](s,i(405),()=>this[i(312)]()),this[i(202)](s,i(431),()=>this[i(312)]())}[oe(448)](){const e=oe,i=this[e(466)],s=i[e(415)][e(284)](ae),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(447)]=n?s[e(412)][e(477)][e(284)](r+this[e(254)]):s[e(412)][e(477)][e(184)],s[e(447)][e(461)][e(299)])o=i[e(374)][e(311)][e(288)](s[e(447)][e(438)]);else{const t=i[e(278)][e(222)][e(284)](e(378)+s[e(447)].id);o=(0,K.getMarkerDomElement)(i[e(374)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(312)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(466)][t(415)][t(284)](ae);this[t(410)]=!!(r&&n&&s)&&(!e||(1===this[t(254)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Vt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["fire","backward","ck-revision-history-ui","div","ck-revision-history-ui__changes-navigation__wrapper","set","NUMBER_OF_CHANGES","execute","ck-revision-history-ui__changes-navigation__label","2188698caWQJI","setTemplate","isForwardNavigationEnabled","forward","bind","isEnabled","ck-hidden","isNavigationMode","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation","Total","_isStatusLabelVisible","9505053nrNpnd","ck-revision-history-ui__changes-navigation__navigation","2040260HzJWYi","831052kzTqjS","_statusText","isReady","X_OF_Y_CHANGES","EDIT_X_OF_Y_REVISIONS","Show previous change","span","No changes","515569yfrVNp","Loading...","8sTAaec","currentChangeNumber","212422kGQQGM","bindTemplate","114lkszkB","numberOfChanges","Show next change","270405wlpCbj"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=311]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(414166===parseInt(e(333))/1+-parseInt(e(325))/2+-parseInt(e(352))/3+parseInt(e(324))/4+parseInt(e(342))/5+parseInt(e(339))/6*(-parseInt(e(337))/7)+parseInt(e(335))/8*(parseInt(e(322))/9))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(338)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(348)](e(317),!1),this[e(348)](e(327),!1),this[e(348)](e(336),0),this[e(348)](e(340),0),this[e(348)](e(312),!1),this[e(348)](e(318),!1),this[e(314)](e(321)).to(this,e(327),this,e(340),(t,e)=>t&&e>0),this[e(314)](e(326)).to(this,e(327),this,e(336),this,e(340),this,e(317),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(334));if(!n)return at(t,o(332));const a=at(t,o(349),n);return r?at(t,o(328),[s+1,n]):a}),s[e(348)]({label:at(t,e(330)),tooltip:!0,icon:_t.IconChevronUp}),n[e(348)]({label:at(t,e(341)),tooltip:!0,icon:_t.IconChevronDown}),s[e(314)](e(315)).to(this,e(318)),n[e(314)](e(315)).to(this,e(312)),s.on(e(350),()=>this[e(343)](e(350),e(344))),n.on(e(350),()=>this[e(343)](e(350),e(313))),this[e(311)]({tag:e(346),attributes:{class:["ck",e(345),e(319)]},children:[{tag:e(331),attributes:{class:[e(347)]},children:[{tag:e(331),attributes:{class:[e(351),i.if(e(321),e(316),t=>!t)]},children:[{text:i.to(e(317),i=>i?at(t,e(329))+": ":at(t,e(320))+": ")}]},{text:i.to(e(326))}]},new It.ToolbarSeparatorView,{tag:e(346),attributes:{class:[e(323)]},children:[s,n]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Vt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;const be=we;function we(t,e){const i=Ie();return(we=function(t,e){return i[t-=126]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(964028===parseInt(e(140))/1+-parseInt(e(131))/2*(-parseInt(e(145))/3)+-parseInt(e(142))/4+-parseInt(e(135))/5+parseInt(e(147))/6+parseInt(e(129))/7+parseInt(e(132))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(148);function Ie(){const t=["366324MSCvDY","document","4546868EQFsud","change","view","490302DYlhIy","isOfficialPlugin","2270220rhVDmA","ck-editor__editable__loading-overlay","editor","RevisionViewerLoadingOverlay","removeClass","841316KIuhow","editing","6EFpOJI","10214912XDNbmm","hide","roots","2656515HvpehI","isPremiumPlugin","show","pluginName","addClass"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(138)](){return be(127)}static get[be(146)](){return!0}static get[be(136)](){return!0}[be(137)](){const t=be,e=this[t(126)][t(130)][t(144)];e[t(143)](i=>{const s=t;for(const t of e[s(141)][s(134)])i[s(139)](_e,t)})}[be(133)](){const t=be,e=this[t(126)][t(130)][t(144)];e[t(143)](i=>{const s=t;for(const t of e[s(141)][s(134)])i[s(128)](_e,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=229]})(t,e)}function xe(){const t=["showPreviousChange","1729440SwhwgA","showNextChange","show","forward","Back to editing","listenTo","isPremiumPlugin","change:isReady","6plbniu","isReady","init","exitToEditing","config","713188JVlBZC","9064170oSLkVg","componentFactory","bind","editor","restoreRevision","189jWpwyU","ck-revision-history-ui__back-to-editing","isBackwardNavigationEnabled","currentChangeNumber","commands","2087844bpUwZc","requires","isNavigationMode","get","revisionHistory","529715AFZxAx","changesNavigation","RevisionViewerUI","pluginName","hide","isEnabled","isOfficialPlugin","numberOfChanges","isForwardNavigationEnabled","set","4196nmuobF","Restore this revision","execute","add","plugins","closeRevisionViewerCallback","841458eKSRru"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(708702===parseInt(e(238))/1+-parseInt(e(232))/2*(-parseInt(e(259))/3)+parseInt(e(264))/4+parseInt(e(269))/5+-parseInt(e(248))/6*(parseInt(e(253))/7)+parseInt(e(240))/8+-parseInt(e(254))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(272)](){return Oe(271)}static get[Oe(275)](){return!0}static get[Oe(246)](){return!0}static get[Oe(265)](){return[ae,Se]}[Oe(250)](){const t=Oe,e=this[t(257)],i=e[t(236)][t(267)](ae),s=e[t(236)][t(267)](Se);e.ui[t(255)][t(235)](t(251),i=>{const s=t,n=new It.ButtonView(i);return n[s(231)]({label:at(i,s(244)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(260)}),this[s(245)](n,s(234),()=>{const t=s;e[t(252)][t(267)](t(268))[t(237)]()}),n}),e.ui[t(255)][t(235)](t(258),i=>{const s=t,n=new It.ButtonView(i);return n[s(231)]({label:at(i,s(233)),withText:!0,tooltip:!0}),n[s(256)](s(274)).to(e[s(263)][s(267)](s(258))),this[s(245)](n,s(234),()=>e[s(234)](s(258))),n}),e.ui[t(255)][t(235)](t(270),s=>{const n=t,r=new ge(s),o=e[n(263)][n(267)](n(239)),a=e[n(263)][n(267)](n(241));return r[n(256)](n(261)).to(o,n(274)),r[n(256)](n(230)).to(a,n(274)),r[n(256)](n(249),n(262),n(229),n(266)).to(i),this[n(245)](r,n(234),(t,i)=>{const s=n;e[s(234)](s(243)===i?s(241):s(239))}),r}),s[t(242)](),i.on(t(247),(e,i,n)=>{const r=t;n?s[r(273)]():s[r(242)]()})}}var Ae=i(815),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Vt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ee;function Ee(t,e){const i=De();return(Ee=function(t,e){return i[t-=339]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(533447===-parseInt(e(352))/1*(parseInt(e(358))/2)+parseInt(e(343))/3+parseInt(e(339))/4+parseInt(e(355))/5+-parseInt(e(340))/6+-parseInt(e(361))/7*(-parseInt(e(362))/8)+-parseInt(e(349))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(De);class Ve extends It.LabeledFieldView{[Me(363)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(348)];this[i(342)]({label:at(t,i(351)),_tooltipString:""}),this[i(364)][i(357)]=at(t,i(341)),this[i(360)]({tag:i(345),attributes:{class:[i(359)],"data-cke-tooltip-text":s.to(i(354)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(366)}})}[Me(367)](){const e=Me;super[e(367)](),this[e(363)]=new t.ResizeObserver(this[e(364)][e(347)],()=>this[e(353)]()),this[e(344)](this[e(364)],e(356),()=>this[e(353)]())}[Me(346)](){const t=Me;super[t(346)](),this[t(363)]&&this[t(363)][t(346)]()}[Me(353)](){const t=Me,e=this[t(364)][t(347)];this[t(354)]=e[t(365)]>e[t(350)]&&e[t(368)]||""}}function De(){const t=["_tooltipString","1484515jgXIcR","input","placeholder","3608yGzRvm","ck-revision-history-sidebar__revision-name","extendTemplate","105pebfmr","468808CYgbyI","_resizeObserver","fieldView","scrollWidth","ck-tooltip_multi-line","render","value","2959972pkEqlW","6307908UfzHMx","Enter the revision name","set","1635498gAlUhB","listenTo","span","destroy","element","bindTemplate","2837412TOwWwI","clientWidth","Revision name","311LeUVTv","_updateTooltipText"];return(De=function(){return t})()}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Vt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Le(){const t=["2004hwHeQK","691930AEziMD","1592412EzAbvy","3242cyruQa","Revision creator","name","ck-revision-history-sidebar__revision-author","span","15uywUes","9044Ccgwqt","set","770855oQdTia","1226401drrDEf","ck-revision-history-sidebar__revision-author_creator","Revision author","774LRUhHL","setTemplate","1926wiEYCD","push","0 0 11 10","137896muZDLD","ck-revision-history-sidebar__revision-author__name"];return(Le=function(){return t})()}function je(t,e){const i=Le();return(je=function(t,e){return i[t-=262]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(808744===-parseInt(e(269))/1+-parseInt(e(283))/2*(-parseInt(e(275))/3)+-parseInt(e(282))/4*(parseInt(e(266))/5)+-parseInt(e(280))/6*(-parseInt(e(267))/7)+parseInt(e(278))/8*(parseInt(e(273))/9)+-parseInt(e(281))/10+-parseInt(e(270))/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(268)]({content:_t.IconUser,viewBox:s(277)});const r=["ck",s(264)];i&&r[s(276)](s(271));const o=[{tag:s(265),attributes:{class:["ck",s(279)],title:at(t,s(i?262:272))},children:[n,e[s(263)]]}];this[s(274)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=Ue();return(ze=function(t,e){return i[t-=214]})(t,e)}function Ue(){var t=["toLocaleTimeString","576172tTtrAJ","long","7tMwERS","1766090ihnCCp","2970184xQnRUs","45IvTxPa","toLocaleDateString","2386520mhRkHg","15ccabOS","numeric","29436UhvVCr","678911HSMRce","193752ibvpBK"];return(Ue=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(575102===parseInt(e(216))/1+-parseInt(e(215))/2+parseInt(e(227))/3*(parseInt(e(219))/4)+parseInt(e(226))/5+-parseInt(e(217))/6+-parseInt(e(221))/7*(parseInt(e(223))/8)+-parseInt(e(224))/9*(parseInt(e(222))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ue);var We=i(505),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=At().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Vt();Ot()(We.A,Ze);We.A&&We.A.locals&&We.A.locals;function He(t,e){const i=qe();return(He=function(t,e){return i[t-=258]})(t,e)}function qe(){const t=["panelPosition","execute","listView","14FMNSoR","find","bind","map","1030TBBKci","add","locale","13941wjatzu","class","isVisible","ck-on","ck-revision-history-sidebar__revision__actions","name","4tVvgnY","change:isActionsDropdownOpen","items","isEnabled","listenTo","buttonView","21697335FPwcAu","isOpen","stopPropagation","children","273998ZEykeX","8315VXOaUO","isActionsDropdownOpen","extendTemplate","1779249DOcSdb","Name this revision","Compare against selected","Show more items","action","_action","function","menu","first","18WtwqcZ","Restore this revision","isReady","874355BsUNUO","set","bindTemplate","source","model","menuitem","button","2218208lgsKnf"];return(qe=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(314470===-parseInt(e(285))/1+-parseInt(e(284))/2+-parseInt(e(288))/3*(parseInt(e(274))/4)+-parseInt(e(300))/5*(parseInt(e(297))/6)+parseInt(e(261))/7*(-parseInt(e(307))/8)+-parseInt(e(268))/9*(-parseInt(e(265))/10)+parseInt(e(280))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qe);var $e=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Vt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Je;function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=257]})(t,e)}function Ge(){const t=["ck-revision-history-sidebar__revision-authors","set","extendTemplate","closest","ck-disabled","creator","isConfirm","bindTemplate","isActionsDropdownOpen","length","ck-revision-history-sidebar__revision__controls-wrapper","revisionActionsView","2rBAoUt","highlight","ck-revision-history-sidebar__revision__date","ck-revision-history-sidebar__actions_dropdown_open","unhighlight","ck-revision-history-sidebar__revision_highlighted","4473948tVGlez","ck-revision-history-sidebar__revision","change","bind","796226LnVHVw","createdAt","2257770thWbav","fieldView","deselect","ck-revision-history-sidebar__revision-wrapper","4212xiYBBM","uiLanguage","render","2414564VcYTki","srcElement","11600qlwyWT","unshift","value","isEnabled","name","setName","ck-revision-history-sidebar__revision_selected","20978570UgviaJ","filter","_revision","_createdAtFormatted","authors","_requireRevisionName","from","setTemplate","span","isHighlighted","map","listenTo","element","220","div","isSelected","7ZbbCSo","select","revisionNameView","ck-reset","fire","ck-revision-history-sidebar__revision-wrapper_confirmation_visible",".ck-confirm-view","isReady","2552115gDbxBZ"];return(Ge=function(){return t})()}!function(t){const e=Je,i=t();for(;;)try{if(436075===-parseInt(e(310))/1+parseInt(e(300))/2*(parseInt(e(287))/3)+parseInt(e(319))/4+parseInt(e(312))/5+parseInt(e(306))/6*(parseInt(e(279))/7)+-parseInt(e(321))/8*(-parseInt(e(316))/9)+-parseInt(e(263))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(281)];[Ye(299)];[Ye(265)];[Ye(268)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(295)],a=function(t,e){const i=r,s=Array[i(269)](e[i(267)])[i(264)](t=>t!=e[i(293)]);return e[i(293)]&&s[i(257)](e[i(293)]),s[i(273)](s=>new Pe(t,s,s==e[i(293)]))}(e,i);this.id=i.id,this[r(265)]=i,this[r(268)]=n,this[r(309)](r(260),r(311)).to(i),this[r(309)](r(266)).to(this,r(311),t=>{return i=e[r(317)],(s=t)[(n=ze)(225)](i,{month:n(220),day:n(214)})+", "+s[n(218)](i,{hour:n(214),minute:n(214)});var i,s,n}),this[r(289)](r(278),!1),this[r(289)](r(272),!1),this[r(289)](r(296),!1),this[r(289)](r(286),!1),this[r(289)](r(259),!1),this[r(281)]=new Ve(e,It.createLabeledInputText),this[r(281)][r(313)][r(290)]({attributes:{maxlength:r(276)}}),this[r(281)][r(313)][r(309)](r(258)).to(this,r(260),t=>t||this[r(266)]),this[r(281)][r(309)](r(259)).to(this,r(278),this,r(259),(t,e)=>t&&e),this[r(299)]=s&&s[r(297)]?function(e,i){const s=He,n=e[s(302)],r=e[s(267)],o=(0,It.createDropdown)(r);o[s(258)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=He,s=t[i(267)],n={"Compare against selected":at(s,i(290)),"Name this revision":at(s,i(289)),"Restore this revision":at(s,i(298))};return e[i(264)](t=>{const e=i,s=n[t[e(273)]];return s&&s!==t[e(273)]&&(t[e(273)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(306),model:new It.UIModel({label:t[n(273)],class:t[n(269)],withText:!0,role:n(305),_action:t[n(292)]})};i[n(304)][n(263)](n(277)).to(e,n(286),i=>n(294)!=typeof t[n(277)]||!i||t[n(277)](e)),o[n(266)](i)}return o}(e,i);return e[s(263)](s(286)).to(o,s(281)),o[s(279)][s(301)]({label:at(r,s(291)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(287)]({attributes:{class:[s(272),n.if(s(286),s(271))]},on:{click:n.to(t=>t[s(282)]())}}),o.on(s(259),t=>{const i=s;e[i(299)]&&i(294)==typeof t[i(303)][i(293)]&&t[i(303)][i(293)](e)}),(0,It.addListToDropdown)(o,a,{role:s(295)}),o[s(278)](e,s(275),(t,n,r)=>{const a=s;if(r)for(const t of o[a(260)][a(276)]){const s=t[a(283)][a(296)],n=i[a(262)](t=>t[a(292)]===s[a(293)])[a(270)];t[a(270)]=void 0===n||n(e)}}),o}(this,s):"",this[r(299)]&&this[r(299)][r(309)](r(259)).to(this),this[r(270)]({tag:r(277),attributes:{class:["ck",r(282),r(315),o.if(r(294),r(284))]},children:[{tag:r(277),attributes:{class:["ck",r(282),r(307),o.if(r(259),r(292),t=>!t),o.if(r(278),r(262)),o.if(r(272),r(305)),o.if(r(296),r(303))]},children:[this[r(281)],{tag:r(271),attributes:{class:["ck",r(302)]},children:[{text:o.to(r(266))}]},{tag:r(277),attributes:{class:["ck",r(298)]},children:[{tag:"ul",attributes:{class:["ck",r(288)]},children:a}]},this[r(299)]],on:{click:o.to(t=>{const e=r;t[e(320)][e(291)](e(285))||this[e(286)]&&this[e(259)]&&this[e(283)](e(280),{id:this.id})})}}]})}[Ye(318)](){const t=Ye;super[t(318)]();const e=this[t(281)][t(313)][t(275)];this[t(274)](e,t(308),()=>{const i=t;this[i(268)]&&!e[i(258)]||this[i(283)](i(261),{id:this.id,name:e[i(258)]}),e[i(258)]||(e[i(258)]=this[i(260)]?this[i(260)]:this[i(266)])})}[Ye(280)](){this[Ye(278)]=!0}[Ye(314)](){this[Ye(278)]=!1}[Ye(301)](){this[Ye(272)]=!0}[Ye(304)](){this[Ye(272)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class si extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Ei=null;class Vi extends Mi{static get instance(){return null===Ei&&(Ei=new Vi),Ei}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(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 Xs(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:Es(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 Ui=new Map;const Wi=new Map;let Zi=null;const Hi=new Map;function qi(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,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=Ui.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Ui.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 Us(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=Wi.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Wi.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 Qi{static fromOpts(t){return Qi.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":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),Ui.clear(),Wi.clear(),Hi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Qi.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?Qi.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 Xi=null;class ts extends Mi{static get utcInstance(){return null===Xi&&(Xi=new ts(0)),Xi}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(Es(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Vi.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||Li.create(t)}return Vs(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,Vi.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(){Qi.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(!Es(t.localWeekday)||!Es(t.localWeekNumber)||!Es(t.localWeekYear)){if(!Es(t.weekday)||!Es(t.weekNumber)||!Es(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Es(t.localWeekday)||(t.weekday=t.localWeekday),Es(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Es(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 Es(t){return void 0===t}function Vs(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 Us(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Ws(t){return Es(t)||null===t||""===t?void 0:parseInt(t,10)}function Zs(t){return Es(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Es(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 Qs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Xs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function 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}${Us(i,2)}:${Us(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Us(i,2)}${Us(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 Us(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]]=Ws(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"),En=Tn("year","ordinal"),Vn=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),Dn=RegExp(`(?: ${Vn.source})?`);function Cn(t,e,i){const s=t[e];return Es(s)?i:Ws(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Hs(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 Un(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(Zs(i)),months:d(Zs(s)),weeks:d(Zs(n)),days:d(Zs(r)),hours:d(Zs(o)),minutes:d(Zs(a)),seconds:d(Zs(c),"-0"===c),milliseconds:d(Hs(u),h)}]}const Wn={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Zn(t,e,i,s,n,r,o){const a={year:2===e.length?Qs(Ws(e)):Ws(e),month:an.indexOf(i)+1,day:Ws(s),hour:Ws(n),minute:Ws(r)};return o&&(a.second=Ws(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Hn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Zn(e,n,s,i,r,o,a);let f;return f=c?Wn[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[Zn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Zn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Qn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Xn=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(En,Fn,Ln,jn),nr=Sn(Fn,Ln,jn);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(Vn),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(Es(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(Es(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||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Qi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Vs(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,Un])}(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 Es(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;Vs(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Vs(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||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative: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 Er(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Vr(t){return{regex:t,deser:([t])=>t}}const Dr={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(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,Qs);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 Vr(l);case"uu":return Vr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Er(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Er(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Vr(/[a-z_+-/]{1,256}?/i);case" ":return Vr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(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 Es(t.z)||(i=Li.create(t.z)),Es(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Es(t.q)||(t.M=3*(t.q-1)+1),Es(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),Es(t.u)||(t.S=Hs(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",Ur=864e13;function Wr(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Zr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Hr(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(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Us(t.c.year,i?6:4),e?(s+="-",s+=Us(t.c.month),s+="-",s+=Us(t.c.day)):(s+=Us(t.c.month),s+=Us(t.c.day)),s}function Xr(t,e,i,s,n,r){let o=Us(t.c.hour);return e?(o+=":",o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Us(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Us(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Us(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Us(Math.trunc(-t.o/60)),o+=":",o+=Us(Math.trunc(-t.o%60))):(o+="+",o+=Us(Math.trunc(t.o/60)),o+=":",o+=Us(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(Wr(i));const s=Qi.fromObject(e);let n,r;if(Es(t.year))n=vs.now();else{for(const e of so)Es(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=!!Es(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:Wr(e));this.ts=Es(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=Vs(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||Qi.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:Qi.fromObject(e)}):fo.invalid(Wr(n))}static fromMillis(t,e={}){if(Vs(t))return t<-Ur||t>Ur?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Qi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Vs(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Qi.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(Wr(i));const s=Qi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Es(e.specificOffset)?i.offset(a):e.specificOffset,u=!Es(n.ordinal),l=!Es(n.year),h=!Es(n.month)||!Es(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){Es(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],[Qn,ir],[Xn,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),[Hn,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(Es(t)||Es(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.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 Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Zr(this).weekYear:NaN}get weekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get weekday(){return this.isValid?Zr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Hr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Hr(this).weekYear:NaN}get ordinal(){return this.isValid?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(Wr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Es(e.weekYear)||!Es(e.weekNumber)||!Es(e.weekday),r=!Es(e.ordinal),o=!Es(e.year),a=!Es(e.month)||!Es(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):Es(e.ordinal)?(l={...this.toObject(),...e},Es(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=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Xr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let 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(Qi.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=Qi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Lr(n,t)}static fromFormatParser(t,e,i={}){if(Es(t)||Es(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Qi.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&&Vs(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=vo();return(po=function(t,e){return i[t-=375]})(t,e)}function vo(){const t=["hasSame","weekdayLong","91940bAAuKj","monthLong","2283736xnOhae","startOf","3368695vYtCWj","42eCgeRW","fromJSDate","minus","local","171fotMsH","3OBoZdK","6011232BMNgip","year","month","week","setLocale","338792geiWmf","140945cXwWCB","toJSDate","7qvQYSs","425178FUlzCj","toRelativeCalendar","day"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(379)](t)[i(388)](e),n=fo[i(381)](),r=n[i(380)]({days:1})[i(376)](i(395));let o,a;return s[i(396)](n,i(395))?(o=s[i(376)](i(395))[i(391)](),a=s[i(394)]()):s[i(396)](r,i(395))?(o=r[i(391)](),a=s[i(394)]()):s[i(396)](n,i(387))?(o=s[i(376)](i(387))[i(391)](),a=s[i(397)]||""):s[i(396)](n,i(385))?(o=s[i(376)](i(386))[i(391)](),a=s[i(399)]||""):(o=s[i(376)](i(385))[i(391)](),a=String(s[i(385)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(403680===parseInt(e(383))/1*(parseInt(e(389))/2)+parseInt(e(393))/3+parseInt(e(375))/4+-parseInt(e(390))/5*(parseInt(e(378))/6)+parseInt(e(392))/7*(-parseInt(e(384))/8)+-parseInt(e(382))/9*(parseInt(e(398))/10)+parseInt(e(377))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Vt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=Io();return(wo=function(t,e){return i[t-=258]})(t,e)}!function(t){const e=wo,i=t();for(;;)try{if(842064===parseInt(e(289))/1*(parseInt(e(278))/2)+-parseInt(e(264))/3+-parseInt(e(265))/4*(-parseInt(e(262))/5)+-parseInt(e(268))/6*(-parseInt(e(267))/7)+-parseInt(e(280))/8*(-parseInt(e(260))/9)+-parseInt(e(270))/10*(-parseInt(e(272))/11)+-parseInt(e(258))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class _o extends It.View{[bo(271)];[bo(273)];[bo(269)];[bo(277)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(284)][n(266)])[n(263)];this[n(271)]=e,this[n(273)]=this[n(285)](),this[n(269)]=i,this[n(277)]=s,this[n(273)][n(288)](n(275)).to(this),this[n(273)][n(288)](n(287)).to(this),this[n(282)]({tag:n(279),attributes:{class:["ck",n(291)]},children:[{tag:n(261),attributes:{class:["ck",n(286)]},children:[{text:r}]},{tag:n(279),attributes:{class:["ck",n(281)]},children:this[n(273)]}]})}[bo(274)](t){const e=bo,i=new Ke(this[e(284)],t,this[e(269)],this[e(277)]);this[e(273)][e(290)](i)}[bo(276)](t){const e=bo,i=this[e(273)][e(259)](e=>e.id===t.id);this[e(273)][e(283)](i)}}function Io(){const t=["255879ysZGih","4bDDCpm","uiLanguage","749zhixAC","16062ijYglE","_revisionActions","70tPvRPP","startDate","736703kmMBbU","revisionViews","addRevision","select","removeRevision","_requireRevisionName","2394906mduceo","div","1409712vyFoio","ck-revision-history-sidebar__time-period__revisions","setTemplate","remove","locale","createCollection","ck-revision-history-sidebar__time-period__label","setName","delegate","1epxcLF","add","ck-revision-history-sidebar__time-period","33184884mnxaCO","find","63xpehAK","span","2532815LoKJEm","localizedPeriodName"];return(Io=function(){return t})()}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Vt();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-=355]})(t,e)}function xo(){const t=["920936sovRKK","67038aoKKqD","ck-revision-history-sidebar__header","Revision history","799708eDSCpT","content","1397040AsTbgq","div","350ZezOYh","5216175yHoXTY","ck-reset_all","span","setTemplate","7QPiVUD","ck-revision-history-sidebar__header__label","6GaKPql","46002BGLmqd","5uegnmP","254454iiVDqe"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(359103===parseInt(e(369))/1+parseInt(e(372))/2+-parseInt(e(364))/3*(parseInt(e(355))/4)+-parseInt(e(366))/5*(-parseInt(e(367))/6)+parseInt(e(362))/7*(parseInt(e(368))/8)+parseInt(e(358))/9+-parseInt(e(357))/10*(parseInt(e(365))/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(373)]=_t.IconHistory,this[e(361)]({tag:e(356),attributes:{class:["ck",e(359),e(370)]},children:[i,{tag:e(360),attributes:{class:["ck",e(363)]},children:[at(t,e(371))]}]})}}var Ao=i(692),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Vt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;function Mo(t,e){const i=Eo();return(Mo=function(t,e){return i[t-=184]})(t,e)}function Eo(){const t=["removeRevision","select","some","unhighlight","1344444gxqeId","2554616ronJrt","fire","get","setName","selectRevision","set","ck-revision-history-sidebar__timeline","_getTimePeriodViewByStartDate","highlight","createCollection","render","addRevision","delegate","remove","bindTemplate","deselect","ck-rounded-corners","setTemplate","div","add","12368216VYfoXS","find","_addRevision","ck-revision-history-sidebar","highlightRevisions","_revisions","_requireRevisionName","locale","flat","_revisionActions","10wNacqS","revisionSelected","ck-disabled","2469032MlcYBo","984867HUwAOu","startDate","isEnabled","1362102blJxKK","createdAt","_removeRevision","timePeriodViews","ck-reset","revisionViews","getTime","map","4576831EAhyPt","revisionSetName","uiLanguage"];return(Eo=function(){return t})()}const Vo=Mo;!function(t){const e=Mo,i=t();for(;;)try{if(951070===-parseInt(e(206))/1+-parseInt(e(225))/2+-parseInt(e(224))/3+-parseInt(e(205))/4*(-parseInt(e(202))/5)+parseInt(e(209))/6+parseInt(e(217))/7+parseInt(e(192))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Vo(212)];[Vo(197)];[Vo(201)];[Vo(198)];constructor(t,e,i,s){const n=Vo;super(t);const r=this[n(186)];this[n(212)]=this[n(234)](),this[n(212)][n(184)](n(221)).to(this),this[n(212)][n(184)](n(228)).to(this),this[n(197)]=e,this[n(201)]=i,this[n(198)]=s,this.on(n(221),(t,e)=>{const i=n;this[i(226)](i(203),e)}),this.on(n(228),(t,e)=>{const i=n;this[i(226)](i(218),e)}),this[n(230)](n(208),!1),this[n(189)]({tag:n(190),attributes:{class:["ck",n(213),n(188),n(195)]},children:[new No(t),{tag:n(190),attributes:{class:["ck",n(231),r.if(n(208),n(204),t=>!t)]},children:this[n(212)]}]})}[Vo(235)](){const t=Vo;super[t(235)]();for(const e of this[t(197)])this[t(194)](e);this[t(197)].on(t(191),(e,i)=>{this[t(194)](i)}),this[t(197)].on(t(185),(e,i)=>{this[t(211)](i)})}get[Vo(214)](){const t=Vo;return this[t(212)][t(216)](e=>e[t(214)][t(216)](t=>t))[t(200)]()}[Vo(229)](t){const e=Vo;for(const i of this[e(214)])t&&t.id===i.id?i[e(221)]():i[e(187)]()}[Vo(196)](t){const e=Vo;for(const i of this[e(214)])t[e(222)](({id:t})=>t===i.id)?i[e(233)]():i[e(223)]()}[Vo(194)](t){const e=Vo,i=go(t[e(210)],this[e(199)][e(219)])[e(207)];let s=this[e(212)][e(227)](0);s&&s[e(207)][e(215)]()===i[e(215)]()||(s=new _o(this[e(199)],i,this[e(201)],this[e(198)]),this[e(212)][e(191)](s)),s[e(236)](t)}[Vo(211)](t){const e=Vo,i=go(t[e(210)],this[e(199)][e(219)])[e(207)];this[e(232)](i)[e(220)](t)}[Vo(232)](t){const e=Vo;return this[e(212)][e(193)](i=>i[e(207)][e(215)]()===t[e(215)]())}}const Co=Lo;function Fo(){const t=["locale","Restore this revision","name","getRevisionsInDiff","getRevision","init","element","isPremiumPlugin","isOfficialPlugin","newRevisionId","_sidebarView","RevisionsSidebar","ready","compareAgainstSelected","revisionHistory.revisionActions","revisionViews","_revisionViewer","_handleDiffChange","editor","revisionHistory","remove","highlightRevisions","fieldView","appendChild","pluginName","isVisible","render","getLaterVisibleRevision","string","get","defaultRevisionActions","6IzKlqQ","selectRevision","revisionHistory.requireRevisionName","change:diff","_handleRevisionSetName","config","revisionSelected","_revisions","listenTo","2387203Rxglxt","2505237bJXfgM","getEarlierVisibleRevision","bind","focus","requires","plugins","setName","select","_handleRevisionSelected","Compare against selected","compare","repository","assign","604330WRqExA","availableRevisionActions","length","isReady","3314564jBAIQm","getIndex","27dSHZjC","revisionHistory.viewerSidebarContainer","restoreRevisionCallback","Name this revision","2837608aovJUI","_createRevisionActions","nameRevision","timePeriodViews","_handleEditorDataReady","map","action","1114134hKcyvw","_revisionsRepository","add","data","restoreRevision","revisionSetName","isEnabled","isSelected","671980HjuzSc","diff","destroy"];return(Fo=function(){return t})()}function Lo(t,e){const i=Fo();return(Lo=function(t,e){return i[t-=420]})(t,e)}!function(t){const e=Lo,i=t();for(;;)try{if(534977===-parseInt(e(471))/1+parseInt(e(488))/2+-parseInt(e(458))/3+parseInt(e(475))/4+-parseInt(e(496))/5*(parseInt(e(448))/6)+-parseInt(e(457))/7+-parseInt(e(481))/8*(-parseInt(e(477))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class jo extends G.Plugin{[Co(433)];[Co(489)];[Co(427)];static[Co(447)]=[Co(430),Co(492),Co(483)];static[Co(472)]=function(){const t=Co;return{compareAgainstSelected:{name:t(467),action:({plugins:e},i)=>{const s=t,n=e[s(446)](ae),r=n[s(469)];let o=n[s(497)][s(426)],a=i.id;r[s(476)](o)>r[s(476)](a)&&([o,a]=[a,o]),n[s(468)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(446)](ae);return!(n[s(469)][s(420)](n[s(497)])[s(473)]>2||i[s(495)])}},restoreRevision:{name:t(500),action:(e,{id:i})=>{const s=t;e[s(453)][s(446)](s(436))[s(479)](i)},isVisible:({plugins:e},i)=>!!e[t(446)](ae)[t(469)][t(444)](i.id)},nameRevision:{name:t(480),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(446)](ae),o=r[n(469)][n(459)](i);r[n(468)](i,o),s[n(461)](),s[n(439)][n(465)]()}}}}();static get[Co(441)](){return Co(428)}static get[Co(425)](){return!0}static get[Co(424)](){return!0}static get[Co(462)](){return[ae]}constructor(t){const e=Co;super(t),this[e(433)]=t[e(463)][e(446)](ae),this[e(489)]=this[e(433)][e(469)],this[e(427)]=null}[Co(422)](){const t=Co,e=this[t(489)][t(455)],i=this[t(482)](),s=this[t(435)][t(453)][t(446)](t(478));this[t(427)]=new Do(this[t(435)][t(499)],e,i,this[t(435)][t(453)][t(446)](t(450))),this[t(427)].on(t(454),this[t(466)][t(460)](this)),this[t(427)].on(t(493),this[t(452)][t(460)](this)),this[t(427)][t(460)](t(494)).to(this[t(433)]),this[t(427)][t(484)].on(t(490),(e,i)=>{const s=t;i[s(432)].on(s(490),(t,e)=>{const i=s;e[i(460)](i(494),i(474)).to(this[i(433)])})}),this[t(427)][t(443)](),this[t(456)](this[t(435)][t(491)],t(429),this[t(485)][t(460)](this)),this[t(456)](this[t(433)],t(451),this[t(434)][t(460)](this)),s[t(440)](this[t(427)][t(423)])}[Co(498)](){const t=Co;this[t(427)][t(423)][t(437)](),this[t(427)][t(498)]()}[Co(485)](){const t=Co,e=this[t(489)][t(421)](0);if(e){const i=this[t(489)][t(459)](e.id);this[t(433)][t(468)](e,i)}}[Co(466)](t,e){const i=Co,s=this[i(489)][i(421)](e.id),n=this[i(489)][i(459)](s.id);this[i(433)][i(468)](s,n)}[Co(452)](t,e){const i=Co;this[i(489)][i(421)](e.id)[i(464)](e[i(501)])}[Co(434)](t,e,i){const s=Co,n=this[s(489)][s(420)](i);n[s(473)]>2?(this[s(427)][s(438)](n),this[s(427)][s(449)](null)):(this[s(427)][s(438)]([]),this[s(427)][s(449)](n[0]))}[Co(482)](){const t=Co,e=this[t(435)],i=jo[t(472)],s=e[t(453)][t(446)](t(431))||jo[t(447)];if(s[t(473)])return s[t(486)](s=>{const n=t,r=n(445)==typeof s?Object[n(470)]({},i[s]):s;return r[n(487)]=r[n(487)][n(460)](this,e),r[n(442)]&&(r[n(442)]=r[n(442)][n(460)](this,e)),r})}}function Po(){const t=["4qptlih","viewportOffset","toolbar","isActive","fillFromConfig","2042jahbXG","editor","_view","1210tQdrLD","addToolbar","49hrGbhb","333654GzGPyN","restore","get","replace","stickyPanel","isFocused","render","fire","rootName","8535zzLVeE","element","limiterElement","destroy","document","componentFactory","20nUVsDZ","config","init","ready","_elementReplacer","_initToolbar","3868209kcnCRs","1686231xZrwFF","detachDomRoot","editable","editing","getRoot","setEditableElement","name","focusTracker","viewportTopOffset","192408vuYxFw","2472952gPSeUI","_toolbarConfig","bind","attachDomRoot","view","852aLGTJp"];return(Po=function(){return t})()}const zo=Uo;function Uo(t,e){const i=Po();return(Uo=function(t,e){return i[t-=484]})(t,e)}!function(t){const e=Uo,i=t();for(;;)try{if(494698===-parseInt(e(532))/1*(parseInt(e(526))/2)+parseInt(e(511))/3*(-parseInt(e(527))/4)+parseInt(e(498))/5+parseInt(e(489))/6*(-parseInt(e(488))/7)+-parseInt(e(521))/8+parseInt(e(510))/9*(parseInt(e(504))/10)+parseInt(e(486))/11*(parseInt(e(520))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Wo extends It.EditorUI{[zo(485)];[zo(522)];[zo(508)];get[zo(525)](){return this[zo(485)]}constructor(e,i){const s=zo;super(e),this[s(485)]=i,this[s(522)]=(0,It.normalizeToolbarConfig)(e[s(505)][s(491)](s(529))),this[s(508)]=new t.ElementReplacer}get[zo(499)](){const t=zo;return this[t(525)][t(499)]}[zo(506)](t){const e=zo,i=this[e(484)],s=this[e(525)],n=i[e(514)][e(525)],r=s[e(513)],o=n[e(502)][e(515)]();r[e(517)]=o[e(497)],s[e(495)]();const a=r[e(499)];this[e(516)](r[e(517)],a),s[e(513)][e(523)](e(494)).to(this[e(518)]),n[e(524)](a),this[e(508)][e(492)](t,this[e(499)]),this[e(509)](),this[e(496)](e(507))}[zo(501)](){const t=zo;super[t(501)]();const e=this[t(525)],i=this[t(484)][t(514)][t(525)];this[t(508)][t(490)](),i[t(512)](e[t(513)][t(517)]),e[t(501)]()}[zo(509)](){const t=zo,e=this[t(525)];e[t(493)][t(523)](t(530)).to(this[t(518)],t(494)),e[t(493)][t(500)]=e[t(499)],e[t(493)][t(523)](t(519)).to(this,t(528),({top:t})=>t),e[t(529)][t(531)](this[t(522)],this[t(503)]),this[t(487)](e[t(529)])}}var Zo=i(324),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Vt();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-=198]})(t,e)}function Bo(){var t=["16102716Umpvju","105bjdabW","_editable","10062060ddluGd","2DvdiuC","13008645DtMMiE","add","871144yeWOyX","main","editable","content","shouldToolbarGroupWhenFull","1071585GhDUuM","823633cbNWPn","16ohEHTd","render","935958VesjSP","55olDoZp","toolbar","stickyPanel","33odnTor","top"];return(Bo=function(){return t})()}!function(t){for(var e=$o,i=t();;)try{if(886393===parseInt(e(212))/1*(parseInt(e(203))/2)+-parseInt(e(211))/3*(parseInt(e(213))/4)+-parseInt(e(216))/5*(parseInt(e(215))/6)+parseInt(e(200))/7*(parseInt(e(206))/8)+-parseInt(e(204))/9+-parseInt(e(202))/10+parseInt(e(219))/11*(parseInt(e(199))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[qo(201)];[qo(218)];[qo(217)];get[qo(208)](){return this[qo(201)]}constructor(t,e,i={}){var s=qo;super(t),this[s(218)]=new It.StickyPanelView(t),this[s(217)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(210)]}),this[s(201)]=new It.InlineEditableUIView(t,e)}[qo(214)](){var t=qo;super[t(214)](),this[t(218)][t(209)][t(205)](this[t(217)]),this[t(198)][t(205)](this[t(218)]),this[t(207)][t(205)](this[t(208)])}}const Jo=Ko;function Go(){const t=["9666rwhjJv","41016mPrKep","2695cUJfRW","5284880rjLgcN","data","initialData","_ui","view","updateSourceElement","242PqMPdq","4402ECPEBY","locale","sourceElement","get","2285WxtqpE","67240XJsUaW","config","init","579PramEw","fire","180puuduM","editing","createRoot","document","destroy","238503iTvmGs","ready","1652xeAETC","initPlugins","create","model"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=427]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(337494===parseInt(e(430))/1+parseInt(e(446))/2*(-parseInt(e(454))/3)+parseInt(e(432))/4*(parseInt(e(450))/5)+-parseInt(e(436))/6*(-parseInt(e(438))/7)+parseInt(e(451))/8*(parseInt(e(456))/9)+-parseInt(e(439))/10+parseInt(e(445))/11*(parseInt(e(437))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(442)];get ui(){return this[Jo(442)]}constructor(t,e){const i=Jo;super(e),this[i(448)]=t,this[i(435)][i(428)][i(427)]();const s=new Yo(this[i(447)],this[i(457)][i(443)],{shouldToolbarGroupWhenFull:!0});this[i(442)]=new Wo(this,s)}[Jo(429)](){const t=Jo;return this[t(444)](),this.ui[t(429)](),super[t(429)]()}static async[Jo(434)](t,e){const i=Jo,s=new this(t,e);return await s[i(433)](),await s.ui[i(453)](t),await s[i(440)][i(453)](s[i(452)][i(449)](i(441))||""),s[i(455)](i(431)),s}}const Xo=ea;function ta(){const t=["toVersion","locale","refreshVisibility","revision-history-viewer-opened","enqueueChange","2912085mldiGa","rootName","removeAttribute","view","25xMybdq","create","_showRevisionViewer","querySelector","markers","_recalculatePageBreaks","saveRevision","revisionHistory.viewerContainer","RevisionTracker","replace","getRevision","pluginName","_enhanceShowRevisionViewerCallback","Users","getMarkersGroup","loadRevisionData","revisionHistory.restoreRevisionCallback","Autosave","isOpen","indexOf","4104Gxqmsb","addUser","isAnonymous","repository","7354580GzTZLG","_restoreRevision","destroy","revisionHistory.viewerEditorElement","15112rLmWCL","numeric","$graveyard","element","selection","isAttached","init","keys","_cleanUp","end","addRevisionData","toLocaleTimeString","model","update","RevisionViewerIntegration","RevisionViewer","showRevisionViewerCallback","then","Annotations","translations","revisionHistory.editorContainer","bind","map","tabindex","400688BArZOY","removeMarker","includes","Dialog","document","block","editor","addRoot","RevisionHistoryUtils","_closeRevisionViewer","toolbar","setAttribute","roots","revisionHistory.showRevisionViewerCallback","detachRoot","DocumentOutline",".ck-ai-chat-history .ck-input","getRevisionDocumentData","isRevisionViewerOpen","4693227RnBnqS","commands","long","insert","uiLanguage","fromVersion","name","isReady","_viewerEditor","setSelection","RevisionsRepository","AIQuickActions","restoreRevision","AIChat","change","style","none","DocumentOutlineUI","parse","changesNavigation","getRevisionRootsAttributes","lazyRoots","134005KLNMmo","join","panelViews","has","RestrictedEditingMode","define","_getRevisionViewerEditorConfig","data","restrictedEditingException","class","toJSON","result","getRoot","getRevisions","config","RevisionHistoryUI","catch",".ck-ai-chat__prompt-input .ck-textarea","adapter","789090vmYGJB","error","AIActions","revisionHistory.closeRevisionViewerCallback","toLocaleDateString","fromCharCode","getUser","push","revision-history-missing-configuration","isEnabled","closeRevisionViewerCallback","AIChatHistory","save","removeSelectionAttribute","disableReadOnlyMode","RevisionHistory","getAttributeKeys","Restored","refreshPositioning","isPremiumPlugin","exitToEditing","ck-tab-panel_disabled","_enhanceCloseRevisionViewerCallback"," ck-tab-panel_disabled","revisionHistory.requireRevisionName","plugins","users","revisionHistory","AIBalloon","requires","set","isOfficialPlugin","AIReviewMode","createdAt","PaginationLookup","2FTSKbh","_update","AITabs","hide","isReadOnly","display","remove","creator","enableReadOnlyMode","createRangeIn","get","from"];return(ta=function(){return t})()}function ea(t,e){const i=ta();return(ea=function(t,e){return i[t-=454]})(t,e)}!function(t){const e=ea,i=t();for(;;)try{if(530228===parseInt(e(620))/1*(-parseInt(e(506))/2)+-parseInt(e(523))/3+-parseInt(e(579))/4*(parseInt(e(527))/5)+-parseInt(e(471))/6+parseInt(e(598))/7+-parseInt(e(555))/8*(-parseInt(e(547))/9)+parseInt(e(551))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ia=[Xo(467),Xo(456),Xo(611),Xo(503),Xo(499),Xo(609),Xo(473)];class sa extends G.Plugin{[Xo(463)];static get[Xo(538)](){return Xo(569)}static get[Xo(502)](){return!0}static get[Xo(490)](){return!0}constructor(t){const e=Xo;function i(t){const e=ea;return t[e(577)](t=>String[e(476)](t))[e(621)]("")}super(t),this[e(463)]=e(564),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{[Xo(606)];static get[Xo(538)](){return Xo(486)}static get[Xo(502)](){return!0}static get[Xo(490)](){return!0}static get[Xo(500)](){return[vt,Ht]}constructor(e){const i=Xo;if(super(e),!this[i(585)][i(466)][i(516)](i(498)))throw new t.CKEditorError(i(479),this);this[i(606)]=null,this[i(501)](i(597),!1),this[i(585)][i(466)][i(457)](i(592),t=>this[i(529)]({...t,translations:this[i(585)][i(519)][i(574)]})),this[i(585)][i(466)][i(457)](i(474),t=>this[i(588)](t)),this[i(585)][i(466)][i(457)](i(543),t=>this[i(552)](t)),this[i(585)][i(466)][i(457)](i(495),!1),this[i(539)](),this[i(493)]()}set[Xo(470)](t){const e=Xo;this[e(585)][e(496)][e(516)](e(535))[e(470)]=t}get[Xo(470)](){const t=Xo;return this[t(585)][t(496)][t(516)](t(535))[t(470)]}[Xo(565)](t){const e=Xo;return this[e(585)][e(496)][e(516)](e(535))[e(565)](t)}[Xo(537)](t){const e=Xo;return this[e(585)][e(496)][e(516)](e(608))[e(537)](t)}[Xo(465)](t){const e=Xo;return this[e(585)][e(496)][e(516)](e(608))[e(465)](t||{toJSON:!1})}[Xo(458)](){const e=Xo,i=this[e(585)],s=(0,K.sanitizeEditorConfig)(i,ia),n=i[e(496)][e(516)](e(535)),r=i[e(496)][e(516)](e(540))[e(497)];return s[e(589)]=[e(491),e(610),e(617)],delete s[e(619)],s[e(496)][e(478)](sa,ae,Ne,class extends G.Plugin{static get[e(500)](){return[ae,e(540)]}[e(561)](){const s=e,o=this[s(585)][s(496)][s(516)](s(540));for(const t of r)t[s(549)]||o[s(477)](t.id)||o[s(548)](t);const a=n[s(550)][s(465)]();let c=null;const u=this[s(585)][s(496)][s(516)](s(570));u[s(470)]=n[s(470)],u[s(576)](s(480)).to(n),this[s(585)][s(599)][s(516)](s(610))[s(576)](s(480)).to(i,s(510),t=>!t);for(const e of a){const i=null===e[s(513)];if(i&&e[s(518)]===e[s(603)])continue;const r=e[s(462)]();u[s(565)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(507)](r,o);else if(!o){const e=a[u(462)]();e.id=(0,t.uid)(),n[u(533)](e,a[u(518)])[u(572)](t=>{c=t})}}else e[u(507)](r,o)})}}},jo),s}[Xo(539)](){const t=Xo,e=this[t(585)][t(466)][t(516)](t(498))[t(571)];this[t(585)][t(466)][t(501)](t(592),async()=>{const i=t;this[i(585)][i(514)](i(521));const s=this[i(585)][i(496)][i(516)](i(535));if(this[i(585)][i(496)][i(455)](i(544))){const t=this[i(585)][i(496)][i(516)](i(544));await t[i(483)]()}else await s[i(568)]();if(this[i(585)][i(496)][i(455)](i(505))&&this[i(585)][i(496)][i(516)](i(505))[i(532)](),this[i(585)][i(496)][i(455)](i(582))){const t=this[i(585)][i(496)][i(516)](i(582));t[i(545)]&&t[i(509)]()}if(this[i(585)][i(496)][i(455)](i(508))){const t=this[i(585)][i(496)][i(516)](i(508))[i(526)][i(454)];for(const e of t)e[i(461)]=e[i(461)]?e[i(461)]+i(494):i(492);if(this[i(585)][i(496)][i(455)](i(611))){const t=document[i(530)](i(469));t&&t[i(590)](i(578),"-1")}if(this[i(585)][i(496)][i(455)](i(482))){const t=document[i(530)](i(595));t&&t[i(590)](i(578),"-1")}}const n=this[i(458)]();return e(n)[i(572)](t=>{const e=i;return this[e(606)]=t,this[e(585)][e(496)][e(455)](e(573))&&this[e(585)][e(496)][e(516)](e(573))[e(520)](),this[e(585)][e(496)][e(455)](e(594))&&(this[e(585)][e(496)][e(516)](e(615))[e(526)][e(558)][e(613)][e(511)]=e(614)),t})[i(468)](t=>(console[i(472)](t),this[i(585)][i(485)](i(521)),null))})}[Xo(493)](){const t=Xo,e=this[t(585)][t(466)][t(516)](t(498))[t(481)];this[t(585)][t(466)][t(501)](t(474),()=>{const i=t;if(this[i(585)][i(496)][i(455)](i(505))&&this[i(585)][i(496)][i(516)](i(505))[i(532)](),this[i(585)][i(496)][i(455)](i(594))&&(this[i(585)][i(496)][i(516)](i(615))[i(526)][i(558)][i(613)][i(511)]=""),this[i(585)][i(496)][i(455)](i(508))){const t=this[i(585)][i(496)][i(516)](i(508))[i(526)][i(454)];for(const e of t)e[i(461)]=i(492)===e[i(461)]?"":e[i(461)][i(536)](i(494),"");if(this[i(585)][i(496)][i(455)](i(611))){const t=document[i(530)](i(469));t&&t[i(525)](i(578))}if(this[i(585)][i(496)][i(455)](i(482))){const t=document[i(530)](i(595));t&&t[i(525)](i(578))}}return this[i(606)][i(496)][i(516)](i(570))[i(563)](),e(this[i(606)])[i(572)](()=>{const t=i;if(this[t(585)][t(485)](t(521)),this[t(606)]=null,this[t(585)][t(496)][t(455)](t(573))){const e=this[t(585)][t(496)][t(516)](t(573));e[t(520)](),e[t(489)]()}})})}[Xo(529)](t){const e=Xo,i=this[e(585)][e(466)][e(516)](e(575)),s=this[e(585)][e(466)][e(516)](e(534)),n=this[e(585)][e(466)][e(516)](e(554));return Qo[e(528)](n,t)[e(572)](t=>(s[e(613)][e(511)]=e(584),i[e(613)][e(511)]=e(614),this[e(597)]=!0,t))}[Xo(588)](t){const e=Xo,i=this[e(585)][e(466)][e(516)](e(575));return this[e(585)][e(466)][e(516)](e(534))[e(613)][e(511)]=e(614),i[e(613)][e(511)]="",this[e(597)]=!1,t[e(553)]()}async[Xo(552)](t){const e=Xo,i=this[e(585)],s=this[e(606)][e(496)][e(516)](e(570)),n=i[e(496)][e(516)](e(535)),r=i[e(496)][e(516)](e(587)),o=s[e(550)][e(537)](t);let a,c,u;try{await r[e(542)](o,this[e(470)]),a=r[e(596)](o),c=r[e(618)](o)}catch(t){return void console[e(472)](t)}i[e(567)][e(612)](t=>{const s=e;for(const e of Array[s(517)](i[s(567)][s(531)][s(541)](s(460))))t[s(580)](e)}),s[e(605)]=!1,i[e(567)][e(522)](t=>{const s=e;t[s(607)](null),t[s(484)](i[s(567)][s(583)][s(559)][s(487)]());const n=Object[s(562)](a);for(const e of i[s(567)][s(583)][s(591)])s(557)!=e[s(524)]&&e[s(560)]()&&!n[s(581)](e[s(524)])&&t[s(593)](e);for(const e of n){let n=i[s(567)][s(583)][s(464)](e);n&&n[s(560)]()||(n=t[s(586)](e));const r=c[e],o=Object[s(562)](r),u=a[e];for(const e of n[s(487)]())o[s(581)](e)||t[s(525)](e,n);for(const i of o)t[s(590)](i,c[e][i],n);t[s(512)](t[s(515)](n)),t[s(601)](i[s(459)][s(616)](u,n),n,0)}});const l=at(i[e(519)],e(488));return u=o[e(604)]?-1==o[e(604)][e(546)](l)?l+": "+o[e(604)]:o[e(604)]:l+": "+o[e(504)][e(475)](i[e(519)][e(602)],{month:e(600),day:e(556)})+", "+o[e(504)][e(566)](i[e(519)][e(602)],{hour:e(556),minute:e(556)}),await n[e(533)]({name:u}),s[e(605)]=!0,i[e(466)][e(516)](e(498))[e(481)]()}}function ra(){var t=["279936uYbbQP","3201UEBZpf","17465rxvkCn","294033EEDMtY","7deFXBW","13868ztYfVT","709974ryGTEO","14410bpSZaN","813816AAAKGu","236poeOIg","7yUYKPO"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=273]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(132524===parseInt(e(277))/1*(parseInt(e(283))/2)+parseInt(e(281))/3+-parseInt(e(276))/4*(parseInt(e(280))/5)+-parseInt(e(278))/6+parseInt(e(282))/7*(-parseInt(e(275))/8)+-parseInt(e(273))/9+-parseInt(e(274))/10*(-parseInt(e(279))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={10:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},52:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},98:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},102: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)}},106:t=>{"use strict";t.exports=function(t){return t[1]}},123:t=>{"use strict";t.exports=function(t,e){Object.keys(e).forEach(function(i){t.setAttribute(i,e[i])})}},211:(t,e,i)=>{t.exports=i(312)("./src/collaboration-core.js")},237:t=>{"use strict";t.exports=CKEditor5.dll},243:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},251:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},282:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},297: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)}}}},311:(t,e,i)=>{t.exports=i(237)("./src/ui.js")},312:t=>{"use strict";t.exports=CKEditor5.collaborationDll},324:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},448:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},505:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},586:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779: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}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},815:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),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},929: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}}}},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:()=>pt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Qo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>et,RevisionsSidebar:()=>Po,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,R=void 0){const A=R?.(t,e,i,s);if(null!=A)return A;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,R));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,R));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,R);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,R),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,R),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,R),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case 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,R),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function R(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 A(t){return R(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)\]/,j=/^\w*$/;function P(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 L(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=P(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=L(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=L(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 $(t,e){const i=J();return($=function(t,e){return i[t-=148]})(t,e)}function J(){const t=["toJSON","map","creatorId","createdAt","1767156FQmRFm","removeAttribute","33088620ydslyv","230015nrYpca","12aZGJHY","diffData","creator","set","812346mELzdx","_update","494861gmjdHd","fire","authorsIds","toVersion","16NtDBoi","setAttribute","attributes","model","name","setName","2282967pnzrMN","authors","fromVersion","5668992ibqxjH","3LKKQbI"];return(J=function(){return t})()}!function(t){const e=$,i=t();for(;;)try{if(615859===-parseInt(e(156))/1+parseInt(e(175))/2*(-parseInt(e(170))/3)+-parseInt(e(150))/4*(-parseInt(e(149))/5)+-parseInt(e(154))/6+-parseInt(e(169))/7+-parseInt(e(160))/8*(parseInt(e(166))/9)+parseInt(e(148))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Y extends((0,t.ObservableMixin)()){id;[B(152)];[B(167)];[B(151)];[B(159)];[B(168)];[B(163)];constructor(e){const i=B;super(),this.id=e.id||(0,t.uid)(),this[i(152)]=e[i(152)]||null,this[i(167)]=e[i(167)]||[],this[i(151)]=e[i(151)]||null,this[i(159)]=e[i(159)]||0,this[i(168)]=e[i(168)]||0,this[i(153)](i(164),e[i(164)]||""),this[i(153)](i(174),e[i(174)]||new Date),this[i(153)](i(162),e[i(162)]||{})}[B(165)](t){this[B(155)]({name:t})}[B(161)](t,e){const i=B,s=A(this[i(162)]);U(s,t,e),this[i(155)]({attributes:s})}[B(176)](t){const e=B,i=A(this[e(162)]);(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=L(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(155)]({attributes:i})}[B(155)](t,e=!1){const i=B;let s=!1;const n={id:this.id},r=[i(164),i(174),i(151),i(167),i(162),i(159),i(168),i(173)];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(167)]&&(n[i(158)]=n[i(167)][i(172)](t=>t.id),delete n[i(167)]),this[i(157)](i(155),n,e))}[B(171)](){const t=B;return{id:this.id,name:this[t(164)],creatorId:this[t(152)]?this[t(152)].id:null,authorsIds:this[t(167)][t(172)](t=>t.id),diffData:this[t(151)],createdAt:this[t(174)],attributes:this[t(162)],fromVersion:this[t(168)],toVersion:this[t(159)]}}}var G=i(782),K=i(211),Q=i(783);function X(t,e){const i=it();return(X=function(t,e){return i[t-=452]})(t,e)}const tt=X;!function(t){const e=X,i=t();for(;;)try{if(144133===parseInt(e(491))/1*(-parseInt(e(473))/2)+parseInt(e(486))/3+parseInt(e(454))/4*(-parseInt(e(479))/5)+-parseInt(e(474))/6+parseInt(e(505))/7*(parseInt(e(456))/8)+parseInt(e(480))/9*(-parseInt(e(467))/10)+parseInt(e(466))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(it);class et extends G.Plugin{[tt(503)];static get[tt(485)](){return[K.Users]}static get[tt(465)](){return tt(496)}static get[tt(457)](){return!0}static get[tt(494)](){return!0}get[tt(498)](){const t=tt;return this[t(503)][t(498)]}constructor(e){const i=tt;super(e),this[i(503)]=new t.Collection}[tt(489)](){!async function(e){const i=k([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[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=X;for(const e in window)if(window[k([78,117,109,98,101,114])][i(476)](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([118]);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=X;return t[e(490)](t=>String[e(459)](t))[e(488)]("")}!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:1764201600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=X,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(462)]);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)}[tt(477)](t){const e=tt,i=this[e(500)][e(492)][e(460)](e(453));return new Y({id:t.id,name:t[e(469)],creator:t[e(502)]?i[e(481)](t[e(502)]):null,diffData:t[e(482)]||t[e(463)],authors:t[e(468)][e(490)](t=>i[e(481)](t)),createdAt:new Date(t[e(507)]),attributes:t[e(475)],fromVersion:t[e(472)],toVersion:t[e(478)]})}[tt(506)](t,e=0){const i=tt;this[i(503)][i(483)](t,e)}[tt(455)](t){const e=tt;return this[e(503)][e(460)](t)}[tt(495)](t={toJSON:!1}){const e=tt,i=Array[e(471)](this[e(503)]);return i[e(452)](),t[e(484)]?i[e(490)](t=>t[e(484)]()):i}[tt(464)](t){const e=tt;return this[e(503)][e(464)](t)}[tt(501)](t){const e=tt,[,i]=this[e(487)](t,{direction:e(470)});return i}[tt(499)](t){const e=tt,[,i]=this[e(487)](t,{direction:e(504)});return i}[tt(461)](t){const e=tt,i=[];for(const s of this[e(487)](t[e(497)]))if(i[e(493)](s),s.id===t[e(458)])break;return i}*[tt(487)](t,{direction:e=tt(470),filter:i=()=>!0}={}){const s=tt,n=s(470)===e?1:-1;let r=this[s(503)][s(460)](t),o=this[s(464)](r);for(yield r;r;){if(o+=n,r=this[s(455)](o),!r)return;i(r)&&(yield r)}}}function it(){const t=["toJSON","requires","104373jcfBxf","getRevisionsIterator","join","afterInit","map","252991prbVmh","plugins","push","isPremiumPlugin","getRevisions","RevisionsRepository","newRevisionId","length","getLaterVisibleRevision","editor","getEarlierVisibleRevision","creatorId","_revisions","later","21tHIVBF","addRevision","createdAt","reverse","Users","4eYFVVQ","getRevision","326896jgBhPb","isOfficialPlugin","oldRevisionId","fromCharCode","get","getRevisionsInDiff","href","data","getIndex","pluginName","6563623VWyMuL","929420atrJcu","authorsIds","name","earlier","from","fromVersion","2rIpegJ","173202SrgFnS","attributes","isNaN","createRevision","toVersion","246265Erqkln","27zGoiED","getUser","diffData","add"];return(it=function(){return t})()}const st=rt;function nt(){const t=["editor","attributes","_getViewFromDiffObj","marked","getFillerOffset","from","_viewClassToTypeChar","data-revision-","processor","string","config","578895ePAqvT","append","getRevision","startsWith","customProperties","parse","_appendChild","30636UrfKqx","htmlProcessor","render","getRevisionDocumentData","map","length","36FOTGMf","2242528OeSRgZ","view","isOfficialPlugin","filter","name","_typeCharToViewClass","editing","10930808PEdqMT","920710Ddcbky","_setCustomProperty","innerHTML","RevisionHistoryUtils","attachChange","collaboration.channelId","toModel","toData","_removeRevisionMarkers","createElement","revision-start","domConverter","2463738fzlCOG","getRevisionRootsAttributes","revision-end","div","type","diffData","useFillerType","fillerOffset","pluginName","isAttached","forEach","2630733FCNazu","children","childNodes","domChildrenToView","isPremiumPlugin","constructor","_getTypeCharForViewElement","attributesAfter","insertions","default","_makeModelFromViewString","domDocument","document","loadRevisionData","get","data","viewChildrenToDom"];return(nt=function(){return t})()}function rt(t,e){const i=nt();return(rt=function(t,e){return i[t-=118]})(t,e)}!function(t){const e=rt,i=t();for(;;)try{if(563975===-parseInt(e(123))/1+-parseInt(e(138))/2+-parseInt(e(150))/3+-parseInt(e(130))/4+parseInt(e(189))/5*(parseInt(e(129))/6)+parseInt(e(161))/7+parseInt(e(137))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(nt);class ot extends G.Plugin{static get[st(158)](){return st(141)}static get[st(132)](){return!0}static get[st(165)](){return!0}[st(184)]=new Map([[Q.ViewContainerElement,"c"],[Q.ViewAttributeElement,"a"],[Q.ViewEmptyElement,"e"],[Q.ViewRawElement,"r"],[Q.ViewUIElement,"u"]]);[st(135)]=new Map([["c",Q.ViewContainerElement],["a",Q.ViewAttributeElement],["e",Q.ViewEmptyElement],["r",Q.ViewRawElement],["u",Q.ViewUIElement]]);async[st(174)](t,e){const i=st;if(t[i(155)]||!e)return;const s=this[i(178)][i(188)][i(175)](i(143)),n=await e[i(118)]({channelId:s,revisionId:t.id});t[i(155)]=n[i(155)]}[st(126)](t){const e=st,i={};for(const s in t[e(155)]){if(t[e(155)][s][e(142)]&&!t[e(155)][s][e(142)][e(159)])continue;const n=this[e(146)](JSON[e(121)](t[e(155)][s][e(169)])),r=this[e(178)][e(136)][e(131)][e(173)],o=new Q.ViewDocumentFragment(r,n[e(127)](t=>this[e(180)](t,!1)));this[e(178)][e(176)][e(186)][e(156)](e(181)),i[s]=this[e(178)][e(176)][e(186)][e(145)](o),this[e(178)][e(176)][e(186)][e(156)](e(170))}return i}[st(151)](t){const e=st,i={};for(const s in t[e(155)])t[e(155)][s][e(142)]&&!t[e(155)][s][e(142)][e(159)]||(i[s]=t[e(155)][s][e(168)]||{});return i}[st(167)](t){const e=st;return this[e(184)][e(175)](t[e(166)])}[st(180)](t,e){const i=st,s=this[i(178)][i(136)][i(131)][i(173)];if(i(187)==typeof t)return new Q.ViewText(s,t);{let n,r;r="u"==t[i(154)]||"r"==t[i(154)]?[]:t[i(162)][i(127)](t=>this[i(180)](t,e));const o=this[i(135)][i(175)](t[i(154)])||Q.ViewElement,a=this[i(178)][i(176)][i(124)][i(149)];if(n=new o(s,t[i(134)],t[i(179)],r),"u"==t[i(154)]&&t[i(162)][0]){const r=t[i(162)][0];if(n[i(125)]=function(t){const e=i,s=t[e(147)](e(153));return s[e(140)]=r,s[e(163)][0]},e){const t=new Q.ViewDocumentFragment(s);t[i(122)](n);const e=Array[i(183)](a[i(177)](t,{bind:!1})),r=a[i(172)][i(147)](i(153));r[i(190)](...e),n=Array[i(183)](a[i(164)](r))[0]}}else if("r"==t[i(154)]&&t[i(162)][0]){const r=t[i(162)][0];if(n[i(125)]=function(t){t[i(140)]=r},e){const t=new Q.ViewDocumentFragment(s);t[i(122)](n);const e=Array[i(183)](a[i(177)](t,{bind:!1})),r=a[i(172)][i(147)](i(153));r[i(190)](...e);const o=Array[i(183)](a[i(164)](r));o[i(128)]>1?n[i(122)](o):n=o[0]}}if(t[i(120)])for(const[e,s]of t[i(120)])n[i(139)](e,s);const c=void 0===t[i(157)]?null:t[i(157)];return null!==c&&(n[i(182)]=()=>c),n}}[st(171)](t){const e=st,i=JSON[e(121)](t),s=this[e(178)][e(136)][e(131)][e(173)],n=new Q.ViewDocumentFragment(s,i[e(127)](t=>this[e(180)](t,!0)));return this[e(178)][e(176)][e(144)](n)}[st(146)](t){const e=st;return(t=t[e(133)](t=>!t[e(134)]||e(148)!==t[e(134)]&&e(152)!==t[e(134)]))[e(160)](t=>{const i=e;i(187)!=typeof t&&(t[i(162)]=this[i(146)](t[i(162)]),t[i(179)]=t[i(179)][i(133)](t=>!t[0][i(119)](i(185))))}),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),R=n(i);if(N===u&&(N=v),R===u&&(R=v),N!==R)return!1;switch(N){case o:return t.toString()===i.toString();case a:return 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 A=(s=s??new Map).get(t),M=s.get(i);if(null!=A&&null!=M)return A===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!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=mt;function mt(t,e){const i=gt();return(mt=function(t,e){return i[t-=389]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(818783===parseInt(e(398))/1+-parseInt(e(462))/2*(-parseInt(e(542))/3)+parseInt(e(406))/4+parseInt(e(521))/5+-parseInt(e(624))/6*(parseInt(e(539))/7)+parseInt(e(621))/8*(parseInt(e(684))/9)+parseInt(e(429))/10*(-parseInt(e(622))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(gt);class pt extends G.Plugin{[ft(672)];[ft(433)];[ft(609)]=null;[ft(390)];[ft(467)]=null;[ft(570)];[ft(582)];[ft(525)];[ft(486)];[ft(674)];[ft(657)];[ft(432)];[ft(443)];[ft(440)];static get[ft(682)](){return ft(402)}static get[ft(601)](){return!0}static get[ft(507)](){return!0}static get[ft(496)](){return[K.Users,et,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(390)]=this[i(405)][i(579)][i(655)](i(420)),this[i(674)]=this[i(405)][i(579)][i(655)](i(504)),this[i(570)]=new vt(this[i(405)]),this[i(525)]=this[i(405)][i(543)][i(655)](i(485))||i(434),this[i(486)]=new Map,this[i(440)]=null;const s=(0,t.uid)();this[i(582)]={history:this[i(405)][i(455)][i(444)][i(667)],getLatestVersion:()=>Promise[i(510)](this[i(405)][i(455)][i(444)][i(663)]),getCurrentRevisionId:()=>s},this[i(645)](i(683),!1),this[i(645)](i(506),!0),this[i(645)](i(566),!1),this[i(405)][i(543)][i(586)](i(693),!0),this[i(405)][i(468)][i(515)](i(593))[i(688)]({view:i(700)})}[ft(691)](){const t=ft;this[t(549)](),this[t(405)][t(581)].on(t(436),()=>{const e=t,i=this[e(390)][e(603)](0),s=i&&null===i[e(600)]?i:null;if(this[e(432)]=!!s&&this[e(405)][e(543)][e(655)](e(693)),this[e(405)][e(579)][e(573)](e(524))){const t=this[e(582)][e(512)](),n=this[e(390)][e(603)](t);if(n)this[e(443)]=n[e(453)],this[e(432)]=!1;else{const t=this[e(582)][e(667)][e(464)][e(502)](t=>!t[e(418)]),n=t?t[e(625)]:this[e(582)][e(667)][e(663)];i?(i[e(439)]<n&&i[e(397)]({toVersion:n}),this[e(432)]?(this[e(582)][e(512)]=()=>s.id,this[e(443)]=s[e(453)]):(this[e(443)]=i[e(439)],this[e(432)]=!1)):(this[e(443)]=n,this[e(432)]=!1)}}else s&&(this[e(405)][e(455)][e(444)][e(667)][e(663)]=Math[e(477)](s[e(439)],this[e(405)][e(455)][e(444)][e(667)][e(663)]),s[e(453)]===s[e(439)]?(0!==s[e(453)]&&(this[e(582)][e(512)]=()=>s.id),this[e(432)]=!1):this[e(432)]&&(this[e(582)][e(512)]=()=>s.id,this[e(443)]=s[e(453)])),this[e(432)]||(this[e(443)]=this[e(405)][e(455)][e(444)][e(663)]);this[e(570)][e(691)](this[e(582)][e(667)]),this[e(599)](this[e(443)]),this[e(595)](this[e(443)]),this[e(467)]&&this[e(697)]()}),this[t(399)](t(683)).to(this,t(566),t=>!t),this[t(672)]=this[t(405)][t(543)][t(655)](t(672));const e=this[t(405)];this[t(433)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(555)==r||i(476)==r||i(412)==r||i(653)==r||i(589)==r||i(394)==r||i(541)==r||i(532)==r){delete e[n],s=r,clearInterval(this[i(433)]),this[i(433)]=void 0;break}}i(476)==s&&e[i(419)](i(414)),i(412)==s&&e[i(419)](i(617)),i(653)==s&&e[i(419)](i(651)),i(589)==s&&e[i(419)](i(489),i(607)),i(394)==s&&e[i(419)](i(628)),i(541)==s&&e[i(419)](i(558)),i(532)==s&&e[i(419)](i(608))},1e3)}async[ft(643)](){const t=ft;if(this[t(390)][t(563)]>0){const e=this[t(390)][t(603)](0),i=await this[t(631)](e),s=await this[t(466)](e);this[t(560)](i,s)}}[ft(529)](){const t=ft;super[t(529)](),this[t(433)]&&clearInterval(this[t(433)])}[ft(448)](t){this[ft(582)]=t}async[ft(571)](){const t=ft,e=await this[t(582)][t(404)]();if(e>this[t(609)][t(439)]){await this[t(509)]();const i=this[t(565)]({revision:this[t(609)],to:e});i[t(634)]=i[t(452)][t(596)](e=>this[t(405)][t(579)][t(655)](t(620))[t(709)](e)),this[t(609)][t(397)](i)}}async[ft(442)](e={},i=null){const s=ft,n=[];await this[s(509)](),this[s(432)]=!1,i>this[s(609)][s(439)]&&(i=null),null===i&&(i=await this[s(582)][s(404)]());const r=this[s(503)](i),o=this[s(565)]({from:r,to:i});if(this[s(609)][s(439)]<i){const t=this[s(565)]({revision:this[s(609)],from:i,to:i});t[s(634)]=[],t[s(452)]=[],t.id=this[s(609)].id,this[s(609)][s(397)](t,!0),delete t[s(634)],n[s(421)](t)}e[s(638)]=this[s(405)][s(579)][s(655)](s(620)).me.id,e[s(574)]=e[s(574)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(435)](e);n[s(421)](e);const c=this[s(390)][s(702)](a);if(0!==c){const t=this[s(390)][s(603)](c-1);if(t[s(453)]!==i){const r=this[s(570)][s(469)](i,t[s(439)]),o={id:t.id,diffData:r[s(644)],authorsIds:r[s(452)],authors:r[s(452)][s(596)](t=>this[s(405)][s(579)][s(655)](s(620))[s(709)](t)),fromVersion:i};t===this[s(609)]&&(o[s(690)]=new Date(e[s(690)][s(703)]()+10)),t[s(397)](o,!0),delete o[s(634)],n[s(421)](o)}}if(this[s(467)]){for(const t of n)this[s(707)](t.id,t,!0);this[s(697)]()}return a}[ft(435)](t){const e=ft,i=this[e(390)][e(514)](t);return this[e(467)]&&i.on(e(397),(t,i,s)=>{const n=e;s||(this[n(707)](i.id,i,!0),this[n(697)]())}),this[e(390)][e(522)](i,this[e(673)](i)),i}async[ft(631)](t){const e=ft;return await this[e(674)][e(407)](t,this[e(467)]),this[e(674)][e(631)](t)}async[ft(466)](t){const e=ft;return await this[e(674)][e(407)](t,this[e(467)]),this[e(674)][e(466)](t)}[ft(697)](){const t=ft;if(0===this[t(486)][t(417)])return;if(this[t(566)])return;let e=Array[t(454)](this[t(486)][t(483)]());this[t(486)][t(647)]();for(let i=0;i<e[t(563)];i++){const s=e[i];let n=!1;for(const e of Object[t(519)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(471)](t=>null!==t),!e[t(563)])return;for(let i=0;i<e[t(563)];i++){const s=e[i];void 0!==s[t(453)]&&void 0===s[t(439)]&&(s[t(439)]=this[t(390)][t(603)](s.id)[t(439)]),void 0!==s[t(439)]&&void 0===s[t(453)]&&(s[t(453)]=this[t(390)][t(603)](s.id)[t(453)])}const i=this[t(405)][t(543)][t(655)](t(485));this[t(566)]=!0,this[t(427)](),this[t(467)][t(562)](e,i)[t(660)](()=>{this[t(566)]=!1})[t(493)](e=>{const i=t;if(e)for(const t of e)this[i(605)]({id:t.id,createdAt:t[i(690)]});this[i(572)](),this[i(697)]()})}[ft(565)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(453)],i=null!==i?i:t[s(439)];const n=this[s(570)][s(469)](e,i),r={diffData:n[s(644)],authorsIds:n[s(452)],fromVersion:e,toVersion:i};if(!t||i!==t[s(439)]){const t=i-1,e=this[s(582)][s(667)][s(642)](t);r[s(690)]=e&&e[s(690)]||new Date}if(this[s(440)]&&e===this[s(440)][s(453)])for(const t of this[s(440)][s(634)])r[s(452)][s(646)](t.id)||r[s(452)][s(421)](t.id);return r}[ft(707)](t,e,i){const s=ft;if(this[s(486)][s(573)](t)){const n=this[s(486)][s(655)](t);e=i?{...n,...e}:{...e,...n}}this[s(486)][s(645)](t,e)}[ft(605)](t){const e=ft,i=this[e(390)][e(603)](t.id);if(t[e(690)]&&(t[e(690)]=new Date(t[e(690)])),t[e(452)]){const i=this[e(405)][e(579)][e(655)](e(620));t[e(634)]=t[e(452)][e(596)](t=>i[e(709)](t))}i[e(397)](t,!0)}[ft(599)](t){const e=ft,i=this[e(390)][e(603)](this[e(390)][e(563)]-1);if(i)this[e(525)]=i.id;else{const i=!this[e(405)][e(455)][e(444)][e(482)][e(502)](t=>this[e(405)][e(455)][e(520)](t)),s=this[e(405)][e(579)][e(655)](e(620)).me.id,n=at(this[e(405)][e(561)],e(i?696:588));this[e(518)]({from:t,to:t,id:this[e(525)],name:n,creatorId:s})}}[ft(595)](t){const e=ft,i=this[e(582)][e(512)]();this[e(609)]=this[e(390)][e(603)](i),this[e(609)]||(this[e(609)]=this[e(518)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(509)](){const t=ft;this[t(432)]&&!this[t(440)]&&(await this[t(674)][t(407)](this[t(609)],this[t(467)]),this[t(570)][t(480)](this[t(609)]),this[t(440)]={fromVersion:this[t(609)][t(453)],authors:this[t(609)][t(634)][t(577)]()})}[ft(560)](e,i){const s=ft;let n=this[s(405)][s(543)][s(655)](s(559)),r=this[s(405)][s(543)][s(655)](s(671));if(void 0===n){n={};for(const t of this[s(405)][s(455)][s(444)][s(639)]())n[t]=""}if(s(531)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(405)][s(455)][s(444)][s(639)]())r[t]={}}let o=!1;const a=Object[s(519)](n),c=Object[s(519)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(676)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(519)](r[t])[s(563)]>0){o=!0;break}}o||(o=c[s(456)](t=>!this[s(405)][s(455)][s(444)][s(389)](t))),o&&(0,t.logWarning)(s(694),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(405)][s(543)][s(645)](s(559),e),this[s(405)][s(543)][s(645)](s(671),i)}[ft(427)](){const t=ft;if(!this[t(657)]){const e=this[t(405)][t(579)][t(655)](t(712));this[t(657)]=e[t(649)](at(this[t(405)][t(561)],t(505)))}}[ft(572)](){const t=ft;this[t(657)]&&(this[t(405)][t(579)][t(655)](t(712))[t(474)](this[t(657)]),this[t(657)]=null)}[ft(673)](t){const e=ft,i=this[e(390)][e(656)]();i[e(431)]();let s=0;for(;s<i[e(563)];){const n=i[s];if(n===this[e(609)]){s++;continue}if(n.id===this[e(525)])break;const r=t[e(439)]-n[e(439)]||t[e(453)]-n[e(453)];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(690)]>n[e(690)])break;s++}else s++}}return s}[ft(503)](t){const e=ft,i=this[e(390)][e(656)]();i[e(431)](),i[e(705)]();const s=i[e(502)](i=>i[e(439)]<=t)[e(439)];return s<this[e(443)]?this[e(443)]:s}[ft(518)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(565)]({from:e,to:i});o[r(574)]=t,o[r(638)]=s,o.id=n;const a=this[r(435)](o);return this[r(467)]&&this[r(707)](o.id,o,!0),a}[ft(549)](){const t=ft;this[t(405)][t(468)][t(515)](t(426))[t(687)]({model:t(700)})}}class vt{[ft(405)];[ft(666)];[ft(447)];[ft(465)];[ft(401)];[ft(594)];[ft(606)];[ft(475)];[ft(487)];[ft(449)];[ft(422)];[ft(616)];[ft(451)];[ft(545)];[ft(576)];[ft(554)];[ft(450)];constructor(t){const e=ft;this[e(405)]=t,this[e(447)]=new Map,this[e(465)]=-1,this[e(401)]=-1,this[e(594)]=new Map,this[e(606)]=new Map,this[e(475)]=new Map,this[e(487)]=new Map,this[e(449)]=new Map,this[e(422)]=new Map,this[e(616)]=new Map,this[e(451)]=new Map,this[e(545)]=new Map,this[e(576)]=new Map,this[e(554)]=1}[ft(691)](t){const e=ft;this[e(666)]=t;const i=new Map,s=new Map,n=this[e(405)][e(455)][e(444)][e(482)][e(596)](t=>t[e(445)]);for(const t of n){const n=this[e(405)][e(455)][e(444)][e(389)](t),r=yt(n);i[e(645)](t,r),s[e(645)](t,Object[e(612)](n[e(636)]()))}const r=Array[e(454)](this[e(405)][e(455)][e(537)])[e(596)](t=>[t[e(574)],t[e(640)]()]),o=this[e(666)][e(663)];this[e(592)](o,i,r,s),this[e(450)]=this[e(554)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(645)](t,i),c[e(645)](t,{})}this[e(592)](Number[e(641)],a,[],c)}[ft(469)](t,e){const i=ft;if(this[i(465)]===t&&this[i(401)]<=e)this[i(447)][i(417)]>1&&this[i(704)](this[i(401)]),this[i(633)](this[i(401)],e,!0);else{if(!this[i(447)][i(573)](t)){const e=this[i(481)](t);this[i(392)](e,t,!1)}this[i(392)](t,e,!0)}return this[i(465)]=t,this[i(401)]=e,this[i(637)]()}[ft(480)](t){const e=ft;if(!this[e(447)][e(573)](t[e(453)])){const i=this[e(481)](t[e(453)]);this[e(392)](i,t[e(453)],!1)}this[e(392)](t[e(453)],t[e(439)],!1);const i=this[e(405)][e(579)][e(655)](e(504));this[e(665)](),this[e(465)]=t[e(453)],this[e(401)]=t[e(439)];for(const s in t[e(644)]){const n=t[e(644)][s][e(472)],r=A(t[e(644)][s][e(598)])||{},o=i[e(602)](t[e(644)][s][e(395)]);o[e(445)]=s,o[e(409)]=!n||!n[e(654)],o[e(654)]=()=>o[e(409)],this[e(487)][e(645)](s,o),this[e(449)][e(645)](s,r),n&&this[e(576)][e(645)](s,n);const a=this[e(497)](o);this[e(616)][e(645)](s,a);for(const[t,i]of o[e(537)]){if(!t[e(689)](e(400)))continue;const s=t[e(473)](":")[2];for(const t of i[e(396)]({singleCharacters:!0})){const i=this[e(403)](t),n=e(533)==t[e(670)]?t[e(527)][e(424)][e(577)](0,-1):t[e(527)][e(424)],r=a[e(546)](n)[e(460)](i);this[e(451)][e(645)](r,{userId:s})}o[e(537)][e(580)](t)}}this[e(450)]=this[e(554)];const s=[...Array(this[e(554)])[e(519)]()][e(577)](1)[e(471)](t=>!this[e(451)][e(573)](t));let n=0;const r=new Map;for(const o in t[e(644)]){const a=t[e(644)][o][e(472)],c=A(t[e(644)][o][e(678)])||{},u=i[e(602)](t[e(644)][o][e(629)]);u[e(445)]=o,u[e(409)]=!a||a[e(654)],u[e(654)]=()=>u[e(409)],this[e(606)][e(645)](o,u),this[e(475)][e(645)](o,c);const l=this[e(497)](u,Number[e(641)]);this[e(422)][e(645)](o,l),r[e(645)](o,u[e(654)]()?c:{});for(const[t,i]of u[e(537)]){if(!t[e(689)](e(400)))continue;const s=t[e(473)](":")[2];for(const t of i[e(396)]({singleCharacters:!0})){const i=this[e(403)](t),n=this[e(554)]++,r=e(533)==t[e(670)]?t[e(527)][e(424)][e(577)](0,-1):t[e(527)][e(424)];l[e(546)](r)[e(701)](i,n),this[e(451)][e(645)](n,{userId:s})}u[e(537)][e(580)](t)}for(const t of this[e(405)][e(455)][e(698)](u)[e(396)]({singleCharacters:!0})){const i=this[e(403)](t),r=e(533)==t[e(670)]?t[e(527)][e(424)][e(577)](0,-1):t[e(527)][e(424)],o=l[e(546)](r);o[e(460)](i)>0||o[e(701)](i,s[n++])}for(const[t,i]of u[e(537)])t[e(689)](e(400))||this[e(594)][e(645)](t,i)}const{roots:o}=this[e(447)][e(655)](t[e(453)]),{roots:a}=this[e(447)][e(655)](t[e(439)]),c=yt(o[e(655)](e(567)));this[e(487)][e(645)](e(567),c),this[e(616)][e(645)](e(567),this[e(497)](c,Number[e(641)]));const u=yt(a[e(655)](e(567)));this[e(606)][e(645)](e(567),u),this[e(422)][e(645)](e(567),this[e(497)](u));const l=Array[e(454)](this[e(606)])[e(596)](([t,e])=>[t,yt(e)]);this[e(592)](this[e(401)],l,this[e(594)],r)}[ft(677)](){const t=ft;this[t(665)](),this[t(465)]=-1,this[t(401)]=-1,this[t(447)][t(647)](),this[t(691)](this[t(666)])}[ft(592)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(A(s)),a=new Map;for(const[t,e]of i)a[n(645)](t,{start:e[n(538)][n(484)](),end:e[n(441)][n(484)](),rootName:e[n(425)][n(445)]});this[n(447)][n(645)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(704)](t){const e=ft;this[e(447)][e(580)](t)}[ft(665)](){const t=ft;this[t(451)][t(647)](),this[t(545)][t(647)](),this[t(576)][t(647)](),this[t(606)][t(647)](),this[t(475)][t(647)](),this[t(487)][t(647)](),this[t(449)][t(647)](),this[t(422)][t(647)](),this[t(616)][t(647)](),this[t(594)][t(647)](),this[t(554)]=1,this[t(450)]=this[t(554)]}[ft(497)](t,e=null){const i=ft;let s=null;t.is(i(614))||(s=new Q.ModelElement(t[i(574)],{vid_start:null===e?this[i(554)]++:e++}));const n=[];for(const s of t[i(619)]())if(s.is(i(523))){n[i(421)](this[i(497)](s,e));const t=n[n[i(563)]-1];null!==e&&(e=t.is(i(523),i(446))?t[i(460)](i(552))+1:t[i(460)](i(550))+1)}else for(let t=0;t<s[i(492)];t++)n[i(421)](new Q.ModelElement(i(446),{vid:null===e?this[i(554)]++:e++}));if(t.is(i(614))){const e=kt(t[i(445)]);return e[i(708)](0,n),e}return s[i(701)](i(550),null===e?this[i(554)]++:e++),s[i(708)](0,n),s}[ft(392)](t,e,i){const s=ft;this[s(665)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(447)][s(655)](t);this[s(487)]=new Map(n),this[s(449)]=new Map(A(o));for(const[t,e]of this[s(487)])if(s(567)!==t&&(this[s(606)][s(645)](t,yt(e)),this[s(475)]=new Map(A(o)),i)){const i=this[s(554)];this[s(422)][s(645)](t,this[s(497)](e)),this[s(616)][s(645)](t,this[s(497)](e,i))}this[s(450)]=this[s(554)],this[s(606)][s(645)](s(567),yt(this[s(487)][s(655)](s(567)))),i&&this[s(422)][s(645)](s(567),this[s(497)](this[s(487)][s(655)](s(567))));for(const[t,e]of r){const i=this[s(487)][s(655)](e[s(445)]),n=this[s(606)][s(655)](e[s(445)]),r=new Q.ModelRange(this[s(461)](e[s(538)],i),this[s(461)](e[s(441)],i)),o=this[s(535)](r,n);i[s(537)][s(645)](t,r),this[s(594)][s(645)](t,o)}this[s(633)](t,e,i)}[ft(633)](t,e,i){const s=ft;for(const n of this[s(666)][s(611)](t,e))this[s(501)](n,i);for(const t of this[s(606)][s(483)]())t[s(537)][s(647)]();for(const[t,e]of this[s(594)])this[s(606)][s(655)](e[s(425)][s(445)])[s(537)][s(645)](t,e[s(484)]());const n=new Map,r=new Map;for(const[t,e]of this[s(606)])n[s(645)](t,yt(e)),r[s(645)](t,this[s(475)][s(655)](t));this[s(592)](e,n,this[s(594)],r)}[ft(481)](t){const e=ft,i=Array[e(454)](this[e(447)][e(519)]());i[e(551)]((t,e)=>t-e),i[e(431)]();for(const e of i)if(e<t)return e;return Number[e(641)]}[ft(662)](t,e){const i=ft,s=Array[i(454)](e[i(537)])[i(596)](([e,s])=>[e,this[i(535)](s,t)]);t[i(537)]=new Map(s)}[ft(569)](t){const e=ft;for(const i of this[e(594)][e(483)]()){const s=i[e(695)](t),n=Q.ModelRange[e(498)](s);i[e(538)]=n[e(538)],i[e(441)]=n[e(441)]}}[ft(501)](t,e){const i=ft;if(i(597)!=t[i(670)]&&i(457)!=t[i(670)]){if(i(530)==t[i(670)]){const s=t[i(479)][i(425)][i(445)];this[i(606)][i(573)](s)||(this[i(606)][i(645)](s,kt(s,!0)),this[i(475)][i(645)](s,{}),e&&this[i(422)][i(645)](s,kt(s,!0)))}else{if(i(556)==t[i(670)]||i(463)==t[i(670)]||i(437)==t[i(670)])return void this[i(540)](t);i(528)==t[i(670)]&&this[i(626)](t)}if(i(528)!==t[i(670)]){const e=this[i(669)](t,this[i(606)]);e[i(583)](),this[i(569)](e)}if(e)switch(t[i(670)]){case i(530):this[i(544)](t);break;case i(618):case i(474):case i(632):this[i(516)](t);break;case i(459):this[i(668)](t);break;case i(473):this[i(438)](t)}}else this[i(585)](t,e)}[ft(669)](t,e){const i=ft,s=t[i(484)]();return s[i(410)]=t[i(410)],this[i(578)](s,e),s}[ft(511)](t){const e=ft;return t[e(596)](t=>{const i=e,s=this[i(403)](t);return Number(t[i(679)][i(460)](s))})}[ft(615)](t,e){const i=ft;if(t.is(i(523),i(446)))e[i(421)]({item:t,type:i(630)});else{t.is(i(523))&&e[i(421)]({item:t,type:i(411)});for(const s of t[i(619)]())this[i(615)](s,e);t.is(i(523))&&e[i(421)]({item:t,type:i(533)})}return e}[ft(637)](){const t=ft,e=new Map(this[t(451)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(487)][t(519)](),...this[t(606)][t(519)]()]);a[t(580)](t(567));for(const e of a){const i=this[t(606)][t(655)](e)||kt(e,!1),s=this[t(487)][t(655)](e)||kt(e,!1);i[t(654)]()||s[t(654)]()?(n[t(629)][e]=yt(i),n[t(395)][e]=yt(s),this[t(662)](n[t(395)][e],s),this[t(662)](n[t(629)][e],i),r[t(629)][e]=this[t(615)](this[t(422)][t(655)](e),[]),r[t(395)][e]=this[t(615)](this[t(616)][t(655)](e)||kt(e,!1),[])):a[t(580)](e)}for(const n of a){const o=r[t(629)][n];for(const n of o){const r=this[t(403)](n),o=n[t(679)][t(460)](r);i[t(580)](o),o>=this[t(450)]&&s[t(645)](o,e[t(655)](o))}}for(const n of a){const a=r[t(629)][n],c=this[t(511)](r[t(395)][n]);let u=0;for(const n of a){const r=this[t(403)](n),a=n[t(679)][t(460)](r);if(!s[t(573)](a)&&!o[t(573)](a))if(i[t(573)](a))u++;else{if(a!=c[u]){const s=e[t(655)](a)||e[t(655)](c[u]);for(;a!=c[u];)i[t(573)](c[u])||(o[t(645)](c[u],s),e[t(645)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(629)][e];for(const e of n){const n=this[t(403)](e),r=e[t(679)][t(460)](n);if(o[t(573)](r)){const e=o[t(655)](r);i[t(573)](r)||i[t(645)](r,{...e}),s[t(645)](r,{...e})}}}for(const e of i[t(519)]())e>=this[t(450)]&&i[t(580)](e);const c=new Map;for(const e of a){let n=r[t(629)][e];for(const e of n)if(e[t(679)].is(t(523),t(553))){const i=this[t(403)](e),n=e[t(679)][t(460)](i);if(s[t(573)](n)){const i=e[t(679)][t(408)][t(408)][t(460)](t(575)),r=c[t(655)](i)||new Set;r[t(649)](s[t(655)](n)[t(692)]),c[t(645)](i,r)}}n=r[t(395)][e];for(const e of n)if(e[t(679)].is(t(523),t(553))){const s=this[t(403)](e),n=e[t(679)][t(460)](s);if(i[t(573)](n)){const s=e[t(679)][t(408)][t(408)][t(460)](t(575)),r=c[t(655)](s)||new Set;r[t(649)](i[t(655)](n)[t(692)]),c[t(645)](s,r)}}for(const e of c[t(519)]())(s[t(573)](e)||i[t(573)](e))&&c[t(580)](e)}for(const e of a){const n=r[t(629)][e];let o=null,a=null;for(const e of n){const n=this[t(403)](e),r=e[t(679)][t(460)](n),u=c[t(655)](r);u&&t(411)==e[t(670)]&&(o=Array[t(454)](u)[0],a=e[t(679)][t(460)](t(550))),o&&(i[t(645)](r,{userId:o}),s[t(645)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(395)][e],a=n[t(629)][e];for(const{userId:e}of this[t(545)][t(483)]())null!==e&&l[t(649)](e);for(const{userId:e}of this[t(576)][t(483)]())null!==e&&l[t(649)](e);this[t(591)](a,r[t(629)][e],s,t(536),l),this[t(591)](o,r[t(395)][e],i,t(652),l),u[e]={insertions:this[t(393)](a),deletions:this[t(393)](o),attachChange:this[t(576)][t(655)](e)||null,attributesBefore:A(this[t(449)][t(655)](e))||{},attributesAfter:A(this[t(475)][t(655)](e))}}return{diffData:u,authorsIds:Array[t(454)](l)}}[ft(478)](t){const e=ft;for(const[,i]of t[e(537)]){const t=i[e(538)][e(415)]()[e(471)](t=>e(553)==t[e(574)]);for(const i of t)1==i[e(587)]&&i[e(491)](0).is(e(523),e(710))&&i[e(491)](0)[e(701)](e(413),!0)}}[ft(393)](t){const e=ft;this[e(478)](t);const i=this[e(405)][e(581)][e(416)](t,{}),s=Array[e(454)](i[e(619)]())[e(596)](t=>this[e(661)](t));return JSON[e(675)](s)}[ft(661)](t){const e=ft;if(t.is(e(446)))return t[e(581)];{const i=this[e(405)][e(579)][e(655)](e(504)),s=t,n=this[e(405)][e(581)][e(686)][e(557)],r={type:i[e(659)](s),name:s[e(574)],attributes:Array[e(454)](s[e(636)]()),children:Array[e(454)](s[e(619)]())[e(596)](t=>this[e(661)](t))};if(t.is(e(548))&&e(500)!=t[e(574)]){const i=t[e(635)](n[e(458)],n);r[e(391)][e(421)](i[e(499)])}else if(t.is(e(706))){const i=n[e(458)][e(658)](s[e(574)]);t[e(635)](i,n),r[e(391)][e(421)](i[e(685)])}const o=Array[e(454)](s[e(517)]());o[e(563)]>0&&(r[e(568)]=o);const a=s[e(648)]();return null!==a&&(r[e(470)]=a),r}}[ft(591)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(405)][r(455)];for(let s=0;s<e[r(563)];s++){const n=this[r(403)](e[s]),c=e[s][r(679)][r(460)](n),h=i[r(655)](c),d=s==e[r(563)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(692)]!=o[r(692)])&&(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(692)],d=l(400)+s+":"+h+":"+c++,f=u[l(590)](i,a);t[l(537)][l(645)](d,f),null!==h&&n[l(649)](h)}}[ft(403)](t){const e=ft;switch(t[e(670)]){case e(411):return e(575);case e(533):return e(550);default:return e(552)}}[ft(578)](t,e){const i=ft;t[i(625)]=null;for(const s in t){const n=t[s];if(n instanceof Q.ModelPosition){const r=e[i(655)](n[i(425)][i(445)]);t[s]=this[i(461)](n,r)}if(n instanceof Q.ModelRange){const r=e[i(655)](n[i(425)][i(445)]);t[s]=this[i(535)](n,r)}i(425)===s&&(t[i(425)]=e[i(655)](t[i(425)][i(445)]))}}[ft(535)](t,e){const i=ft;return this[i(405)][i(455)][i(590)](this[i(461)](t[i(538)],e),this[i(461)](t[i(441)],e))}[ft(461)](t,e){const i=ft;return this[i(405)][i(455)][i(613)](e,t[i(424)],t[i(488)])}[ft(544)](t){const e=ft,i=this[e(422)][e(655)](t[e(479)][e(425)][e(445)]),s=this[e(461)](t[e(479)],i),n=null===t[e(410)]?null:t[e(410)]||this[e(405)][e(579)][e(655)](e(620)).me.id,r=s[e(408)],o=this[e(554)],a=[];for(const i of t[e(564)])if(i.is(e(523)))a[e(421)](this[e(497)](i));else for(let t=0;t<i[e(492)];t++)a[e(421)](new Q.ModelElement(e(446),{vid:this[e(554)]++}));const c=this[e(554)];for(let t=o;t<c;t++)this[e(451)][e(645)](t,{userId:n});r[e(708)](s[e(430)],a)}[ft(516)](t){const e=ft;(t=this[e(669)](t,this[e(422)]))[e(583)]();const i=null===t[e(410)]?null:t[e(410)]||this[e(405)][e(579)][e(655)](e(620)).me.id,s=t[e(680)](),n=s[e(408)],r=s[e(430)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(491)](e);r.is(a(523),a(446))?s[a(645)](r[a(460)](a(552)),{userId:i}):(s[a(645)](r[a(460)](a(575)),{userId:i}),t(s,r,0,r[a(587)]),s[a(645)](r[a(460)](a(550)),{userId:i}))}}(this[e(451)],n,r,r+t[e(490)])}[ft(668)](t){const e=ft,i=null===(t=this[e(669)](t,this[e(422)]))[e(410)]?null:t[e(410)]||this[e(405)][e(579)][e(655)](e(620)).me.id,s=t[e(604)][e(408)],n=t[e(681)][e(408)],r=s[e(460)](e(550)),o=n[e(460)](e(575));s[e(701)](e(550),n[e(460)](e(550))),n[e(701)](e(550),r),this[e(451)][e(645)](o,{userId:i}),this[e(451)][e(645)](r,{userId:i}),t[e(583)]()}[ft(438)](t){const e=ft,i=null===(t=this[e(669)](t,this[e(422)]))[e(410)]?null:t[e(410)]||this[e(405)][e(579)][e(655)](e(620)).me.id,s=t[e(508)],n=t[e(526)][e(408)];t[e(583)]();const r=n[e(460)](e(550)),o=t[e(534)][e(428)];if(s){const t=o[e(460)](e(550)),s=n[e(460)](e(550));n[e(701)](e(550),t),o[e(701)](e(550),s),this[e(451)][e(645)](n[e(460)](e(550)),{userId:i}),this[e(451)][e(645)](o[e(460)](e(575)),{userId:i})}else{const t=this[e(554)]++,s=this[e(554)]++;n[e(701)](e(550),t),o[e(701)](e(575),s),o[e(701)](e(550),r),this[e(451)][e(645)](t,{userId:i}),this[e(451)][e(645)](s,{userId:i})}}[ft(626)](t){const e=ft;if(!t[e(584)])return;const i=(t=this[e(669)](t,this[e(606)]))[e(650)]?t[e(650)][e(425)]:null,s=t[e(495)]?t[e(495)][e(425)]:null;i&&this[e(594)][e(580)](t[e(574)]),s&&this[e(594)][e(645)](t[e(574)],t[e(495)][e(484)]());const n=null===t[e(410)]?null:t[e(410)]||this[e(405)][e(579)][e(655)](e(620)).me.id,r=t[e(574)];if(!this[e(545)][e(573)](r))return void this[e(545)][e(645)](r,{range:t[e(650)],userId:n});const o=this[e(545)][e(655)](r),a=o[e(699)],c=t[e(495)];null==a&&null==c||a&&c&&a[e(627)](c)?this[e(545)][e(580)](t[e(574)]):o[e(692)]=n}[ft(585)](t,e){const i=ft;this[i(606)][i(573)](t[i(445)])?this[i(606)][i(655)](t[i(445)])[i(409)]=t[i(423)]:(this[i(606)][i(645)](t[i(445)],kt(t[i(445)],!0)),this[i(475)][i(645)](t[i(445)],{}),e&&this[i(422)][i(645)](t[i(445)],kt(t[i(445)],!0)));const s=null===t[i(410)]?null:t[i(410)]||this[i(405)][i(579)][i(655)](i(620)).me.id,n=this[i(576)][i(655)](t[i(445)]);n&&n[i(692)]===s?this[i(576)][i(580)](t[i(445)]):this[i(576)][i(645)](t[i(445)],{userId:s,isAttached:t[i(423)]})}[ft(540)](t){const e=ft,i=this[e(475)][e(655)](t[e(425)][e(445)]);null===t[e(513)]?delete i[t[e(494)]]:i[t[e(494)]]=t[e(513)]}}function gt(){const t=["_baseIdsRoots","expired","move","getChildren","Users","6616SDsSBf","33hfZaDv","createPositionBefore","6XzMoUP","baseVersion","_handleMarkerOperation","isEqual","evaluationLimit","insertions","text","getRevisionDocumentData","reinsert","_applyOperations","authors","render","getAttributes","_getState","creatorId","getRootNames","getRange","NEGATIVE_INFINITY","getOperation","afterInit","diffData","set","includes","clear","getFillerOffset","add","oldRange","domainLimit","deletion","revisionHistoryLicenseKeyDomainLimit","isAttached","get","getRevisions","_pendingAction","createElement","_getTypeCharForViewElement","finally","_getViewJson","_copyMarkers","version","createPositionAfter","_reset","source","history","_handleMergeOperation","_cloneOperation","type","rootsAttributes","licenseKey","_findInsertionIndex","_utils","stringify","trim","reInit","attributesAfter","item","getMovedRangeStart","sourcePosition","pluginName","isReady","7461GrziBa","innerHTML","htmlProcessor","markerToData","dataToMarker","startsWith","createdAt","init","userId","revisionHistory.resumeUnsavedRevision","editor-initial-data-replaced-with-revision-data","getTransformedByOperation","Empty document","sendBufferedUpdates","createRangeIn","range","revision","_setAttribute","getIndex","getTime","_removeMetaData","shift","rawElement","_bufferUpdate","_insertChild","getUser","paragraph","createPositionAt","PendingActions","getRoot","repository","children","_calculateMetaData","_prepareViewToSave","revisionHistoryLicenseKeyEvaluationLimit","deletions","getWalker","_update","114440XgoWQZ","bind","revision:","_lastTo","RevisionTracker","_getVidAttributeName","getLatestVersion","editor","3297044XeVhyv","loadRevisionData","parent","_isAttached","_authorId","elementStart","revisionHistoryLicenseKeyExpired","keepParagraph","invalid","getAncestors","toView","size","_isInit","_showLicenseError","RevisionsRepository","push","_idsRoots","isAdd","path","root","dataDowncast","_addPendingAction","nodeAfter","8964070sJlBws","offset","reverse","_continueCurrentRevision","_licenseKeyCheckInterval","initial","addRevisionData","ready","changeRootAttribute","_handleSplitOperation","toVersion","_loadedStateData","end","saveRevision","_startingVersion","document","rootName","$text","_savedMetaData","setSource","_baseRootsAttributes","_startingRevisionId","_touched","authorsIds","fromVersion","from","model","some","detachRoot","domDocument","merge","getAttribute","_fixPosition","1478114dqoPvf","removeRootAttribute","_operations","_lastFrom","getRevisionRootsAttributes","adapter","conversion","getData","fillerOffset","filter","attachChange","split","remove","_diffRootsAttributes","revisionHistoryLicenseKeyInvalid","max","_processRootBeforeSave","position","loadState","_getPreviousFrom","roots","values","clone","collaboration.channelId","_bufferedUpdates","_baseRoots","stickiness","featureNotAllowed","howMany","getChild","offsetSize","then","key","newRange","requires","_makeIdsRoot","_createFromRanges","outerHTML","$comment","_handleOperation","find","_getFromVersion","RevisionHistoryUtils","PENDING_ACTION_REVISION_HISTORY","isEnabled","isPremiumPlugin","graveyardPosition","_loadState","resolve","_getBaseVids","getCurrentRevisionId","newValue","createRevision","for","_handleMoveOperation","getCustomProperties","_makeRevision","keys","hasContent","2983570UCOgmQ","addRevision","element","RealTimeCollaborationClient","_initialRevisionId","splitPosition","previousPosition","marker","destroy","insert","string","revisionHistoryLicenseKeyUsageLimit","elementEnd","insertionPosition","_fixRange","insertion","markers","start","1337756UAHlec","_handleRootAttributeOperation","revisionHistoryLicenseKeyTrialLimit","6SOpOCL","config","_handleInsertOperation","_touchedMarkers","getNodeByPath","_clone","uiElement","_setConversion","vid_end","sort","vid","tableCell","_revisionId","revisionHistoryLicenseKeyValid","addRootAttribute","domConverter","trialLimit","initialData","_replaceEditorDataWithRevisionData","locale","updateRevisions","length","nodes","buildRevisionData","_isPendingUpdate","$graveyard","customProperties","_transformMarkers","_revisionDataBuilder","update","_removePendingAction","has","name","vid_start","_touchedRoots","slice","_fixOperation","plugins","delete","data","_source","_execute","affectsData","_handleRootOperation","define","childCount","Initial revision","revisionHistoryLicenseKeyNotAllowed","createRange","_markChanges","_saveMetaData","upcast","_markers","_createCurrentRevision","map","addRoot","attributesBefore","_createInitialRevision","creator","isOfficialPlugin","_makeModelFromViewString","getRevision","targetPosition","setRevisionData","_diffRoots","RevisionHistory","usageLimit","currentRevision","_appendChild","getOperations","fromEntries","createPositionFromPath","documentFragment","_generateTape"];return(gt=function(){return t})()}function yt(t){const e=ft,i=kt(t[e(445)],t[e(654)]());for(const s of t[e(619)]()){const t=s[e(547)](!0);i[e(610)](t)}return i}function kt(t,e=!0){const i=ft,s=new Q.ModelDocumentFragment;return s[i(445)]=t,s[i(409)]=e,s[i(654)]=()=>s[i(409)],s}function bt(t,e,i){const s=ft,n=s(533)==t[s(670)]?i[s(711)](t[s(679)],s(441)):i[s(623)](t[s(679)]);return i[s(613)](e,n[s(424)],n[s(488)])}function wt(t,e,i){const s=ft,n=s(411)==t[s(670)]?i[s(711)](t[s(679)],0):i[s(664)](t[s(679)]);return i[s(613)](e,n[s(424)],n[s(488)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),Nt=i(102),Rt=i.n(Nt),At=i(123),Mt=i.n(At),Vt=i(741),Et=i.n(Vt),Dt=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Rt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(98),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Rt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Et();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Pt=zt;function Lt(){const t=["175iJxhbo","add","label","arrowdown","keystrokes","ck-responsive-form","input","focus","arrowup","errorText","arrowright","set","159536PygtLe","reset","optional","956763vFcfSA","setTemplate","238492YFMPIR","356666VQRpDB","ck-revision-history-save-revision-form","8022gpbrMy","revisionNameInputView","_createRevisionNameInput","listenTo","Name of the revision","form","revisionName","583872KmCuqu","extendTemplate","revisionNameInputValue","fieldView","90MfnVtD","arrowleft","locale","220","render","focusTracker","2hKMIPN","trim","initializeCssTransitionDisablerMixin","stopPropagation","element","1529969xEDgNp","value"];return(Lt=function(){return t})()}function zt(t,e){const i=Lt();return(zt=function(t,e){return i[t-=334]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(179792===parseInt(e(344))/1*(-parseInt(e(369))/2)+-parseInt(e(334))/3+parseInt(e(368))/4+parseInt(e(351))/5*(-parseInt(e(371))/6)+-parseInt(e(349))/7+-parseInt(e(363))/8+-parseInt(e(366))/9*(-parseInt(e(338))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Pt(343)];[Pt(355)];[Pt(372)];constructor(e,i){const s=Pt;super(e),this[s(343)]=new t.FocusTracker,this[s(355)]=new t.KeystrokeHandler,this[s(362)](s(336),""),this[s(372)]=this[s(373)](i),this[s(367)]({tag:s(376),attributes:{class:["ck",s(370),s(356)],tabindex:"-1"},children:[this[s(372)]]}),this[s(346)]()}[Pt(342)](){const t=Pt;super[t(342)](),(0,It.submitHandler)({view:this}),this[t(343)][t(352)](this[t(372)][t(348)]),this[t(355)][t(374)](this[t(348)]);const e=e=>e[t(347)]();this[t(355)][t(362)](t(361),e),this[t(355)][t(362)](t(339),e),this[t(355)][t(362)](t(359),e),this[t(355)][t(362)](t(354),e)}[Pt(358)](){const t=Pt;this[t(372)][t(358)]()}get[Pt(377)](){const t=Pt;return this[t(372)][t(337)][t(348)][t(350)][t(345)]()}set[Pt(377)](t){const e=Pt;this[e(372)][e(337)][e(348)][e(350)]=t[e(345)]()}[Pt(364)](){const t=Pt;this[t(372)][t(337)][t(348)][t(350)]="",this[t(372)][t(360)]=null}[Pt(373)](t){const e=Pt,i=new It.LabeledFieldView(this[e(340)],It.createLabeledInputText),s=i[e(337)];s[e(335)]({attributes:{maxlength:e(341)}});let n=at(this[e(340)],e(375));return!t&&(n+=" ("+at(this[e(340)],e(365))+")"),i[e(353)]=n,s.on(e(357),()=>{const t=e;this[t(336)]=s[t(348)][t(350)][t(345)]()}),i}}const Ut=Zt;function Ht(){const t=["hide","4232xMVBOq","revisionHistory.requireRevisionName","plugins","isOfficialPlugin","saveRevision","isEnabled","locale","465723ISMqFZ","RevisionTracker","_createSaveRevisionFormView","addMany","componentFactory","execute","showRevisionViewerCallback","19863820opBBJr","Dialog","isReadOnly","Accept","3486624AgxjYd","_createSaveRevisionButton","add","delegate","pluginName","config","focus","menuitem","isOpen","get","4600syImsR","panelView","show","_saveRevisionFormView","menu","42136OtEBeX","_registerMenuComponent","children","buttonView","Cancel","reset","RevisionHistoryUI","role","Save current revision","_createOpenRevisionButton","requires","submit","Open revision history","ck-button-action","menuBar:revisionHistory","low","view","Revision history","revisionNameInputView","items","4hDjaPn","listenTo","render","set","init","revisionSave","isReady","editor","The revision name cannot be empty.","isPremiumPlugin","bind","editing","errorText","681572WpuhTH","revisionHistory","_showDialog","14FboDOc","revisionName","10412238gqmoBC"];return(Ht=function(){return t})()}function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=298]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(961152===-parseInt(e(338))/1*(parseInt(e(351))/2)+parseInt(e(303))/3+-parseInt(e(358))/4*(-parseInt(e(313))/5)+-parseInt(e(356))/6+-parseInt(e(354))/7*(parseInt(e(318))/8)+-parseInt(e(365))/9+parseInt(e(299))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends G.Plugin{static get[Ut(307)](){return Ut(324)}static get[Ut(361)](){return!0}static get[Ut(347)](){return!0}static get[Ut(328)](){return[pt]}[Ut(316)];[Ut(342)](){const t=Ut,e=this[t(345)],i=e[t(360)][t(312)](t(366));e.ui[t(369)][t(305)](t(352),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(314)][n(320)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(304)](It.ButtonView),l=new It.ListItemView(s),h=this[n(327)](It.ButtonView);return r[n(348)](n(363)).to(i,n(344),i,n(363),e,n(301),(t,e,i)=>t&&e&&!i),r[n(321)][n(341)]({icon:_t.IconHistory,label:at(s,n(335)),tooltip:!0}),u[n(341)]({withText:!0,role:n(310)}),h[n(341)]({withText:!0,role:n(310)}),this[n(339)](h,n(370),()=>{const t=n;r[t(311)]=!1,e[t(349)][t(334)][t(309)]()},{priority:n(333)}),c[n(320)][n(305)](u),l[n(320)][n(305)](h),a[n(325)]=n(317),a[n(337)][n(368)]([c,l]),o[n(305)](a),r}),e.ui[t(369)][t(305)](t(332),()=>this[t(319)]())}[Ut(319)](){const t=Ut,e=this[t(345)],i=e[t(364)],s=e[t(360)][t(312)](t(366)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(348)](t(363)).to(s,t(344),s,t(363),e,t(301),(t,e,i)=>t&&e&&!i),n[t(321)][t(341)]({icon:_t.IconHistory,label:at(i,t(335))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(304)](It.MenuBarMenuListItemButtonView);a[t(306)](t(370)).to(n),o[t(320)][t(305)](a),r[t(337)][t(305)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(327)](It.MenuBarMenuListItemButtonView);return u[t(306)](t(370)).to(n),c[t(320)][t(305)](u),r[t(337)][t(305)](c),n[t(314)][t(320)][t(305)](r),n}[Ut(304)](t){const e=Ut,i=this[e(345)],s=i[e(360)][e(312)](e(366)),n=new t(i[e(364)]);return n[e(341)]({label:at(i[e(364)],e(326))}),n[e(348)](e(363)).to(s,e(344),s,e(363),i,e(301),(t,e,i)=>t&&e&&!i),this[e(339)](n,e(370),()=>{this[e(353)]()}),n}[Ut(327)](t){const e=Ut,i=this[e(345)],s=i[e(360)][e(312)](e(366)),n=new t(i[e(364)]);return n[e(341)]({label:at(i[e(364)],e(330))}),n[e(348)](e(363)).to(s,e(344),i,e(301),(t,e)=>t&&!e),this[e(339)](n,e(370),()=>{const t=e;i[t(308)][t(312)](t(352))[t(298)]()}),n}[Ut(353)](){const t=Ut,e=this[t(345)],i=e[t(364)],s=e[t(360)][t(312)](t(300)),n=e[t(360)][t(312)](t(366));function r(n){const r=t;e[r(308)][r(312)](r(359))&&""===n[r(355)]?n[r(336)][r(350)]=at(i,r(346)):(e[r(360)][r(312)](pt)[r(362)]({name:n[r(355)]}),s[r(357)]())}this[t(316)]||(this[t(367)](),this[t(316)].on(t(329),()=>r(this[t(316)]))),this[t(316)][t(323)](),s[t(315)]({id:t(343),title:at(i,t(326)),isModal:!0,content:this[t(316)],actionButtons:[{label:at(e[t(364)],t(322)),withText:!0,onExecute:()=>s[t(357)]()},{label:at(e[t(364)],t(302)),class:t(331),withText:!0,onCreate(i){const s=t;i[s(348)](s(363)).to(n,s(344),n,s(363),e,s(301),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(316)])}]})}[Ut(367)](){const t=Ut,e=this[t(345)],i=e[t(364)];this[t(316)]=new Wt(i,e[t(308)][t(312)](t(359))),this[t(316)][t(340)]()}}const Bt=Jt;function $t(){const t=["type","4596lHAfbw","61448zsjqWl","3639200EAKnGH","isSuggestion","Suggested by","10IlUQXJ","add","focus","Added by","_model","setTemplate","468bxCohl","set","ck-revision-change","9762235ZYzZPm","element","ck-revision-change__","span","ck-revision-change__label","div","1324MZlnHl","bindTemplate","3033942egcDgd","data","ck-annotation","author","changeId","369301EAUNnz","name","Removed by","1502954RUWAvo"];return($t=function(){return t})()}function Jt(t,e){const i=$t();return(Jt=function(t,e){return i[t-=149]})(t,e)}!function(t){const e=Jt,i=t();for(;;)try{if(742557===-parseInt(e(164))/1+-parseInt(e(167))/2+-parseInt(e(169))/3*(parseInt(e(157))/4)+parseInt(e(174))/5*(parseInt(e(159))/6)+parseInt(e(151))/7+-parseInt(e(170))/8*(parseInt(e(180))/9)+parseInt(e(171))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($t);class Yt extends It.View{[Bt(163)];[Bt(178)];constructor(t,e){const i=Bt;super(t),this[i(178)]=e,this[i(163)]=e.id;const s=this[i(158)],n=at(t,e[i(160)][i(172)]?i(173):i(175)==e[i(168)]?i(177):i(166));this[i(149)](i(168),e[i(168)]),this[i(179)]({tag:i(156),attributes:{class:[i(161),i(150),s.to(i(168),t=>i(153)+t)],tabindex:-1},children:[{tag:i(154),children:[{tag:i(154),attributes:{class:[i(155)]},children:[{text:n}]},{text:" "+e[i(162)][i(165)]}]}]})}[Bt(176)](){const t=Bt;this[t(152)][t(176)]()}}var Gt=Qt;function Kt(){var t=["data","toJSON","350892kWZjNk","1078088lzmgox","368426SskoJE","18372MVIzRF","6zlHjUx","7970mYcUAa","rootName","241422ETEprq","type","set","2815015yEKvnd","560fJZRGB","968UxIIiQ","9PycRec","author","createdAt"];return(Kt=function(){return t})()}function Qt(t,e){var i=Kt();return(Qt=function(t,e){return i[t-=436]})(t,e)}!function(t){for(var e=Qt,i=t();;)try{if(220151===-parseInt(e(450))/1+parseInt(e(445))/2*(parseInt(e(447))/3)+parseInt(e(443))/4+parseInt(e(436))/5*(parseInt(e(446))/6)+-parseInt(e(453))/7+-parseInt(e(444))/8*(-parseInt(e(438))/9)+-parseInt(e(448))/10*(parseInt(e(437))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Kt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(439)];[Gt(451)];[Gt(441)];[Gt(449)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(439)]=e[i(439)],this[i(451)]=e[i(451)],this[i(441)]=e[i(441)]||{},this[i(449)]=e[i(449)],this[i(452)](i(440),e[i(440)])}[Gt(442)](){var t=Gt;return{id:this.id,authorId:this[t(439)].id,type:this[t(451)],data:this[t(441)],createdAt:this[t(440)]}}}const te=ee;function ee(t,e){const i=se();return(ee=function(t,e){return i[t-=408]})(t,e)}!function(t){const e=ee,i=t();for(;;)try{if(217696===-parseInt(e(417))/1*(parseInt(e(418))/2)+parseInt(e(409))/3+-parseInt(e(416))/4+parseInt(e(420))/5+-parseInt(e(419))/6*(parseInt(e(423))/7)+-parseInt(e(414))/8*(-parseInt(e(415))/9)+-parseInt(e(408))/10*(-parseInt(e(410))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(se);class ie{[te(422)];[te(411)];[te(421)];constructor(e,i){const s=te;this[s(422)]=e,this[s(411)]=i,this[s(421)]=new t.Collection}[te(412)](t){const e=te;for(const i of t)this[e(421)][e(413)](i)}}function se(){const t=["3671127xjubXQ","982656CMlgdl","1544APoEFL","402OhyzyV","12xFOZzz","1671310osCDll","changes","newRevisionId","1088311IirkOc","746180zosUQA","803601eUPdGv","11VJORwK","oldRevisionId","_setChanges","add","8XZvBfQ"];return(se=function(){return t})()}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Rt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Et();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ae;function ae(t,e){const i=ue();return(ae=function(t,e){return i[t-=471]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(298910===parseInt(e(795))/1*(-parseInt(e(603))/2)+-parseInt(e(649))/3*(parseInt(e(661))/4)+-parseInt(e(689))/5+-parseInt(e(734))/6+parseInt(e(674))/7*(parseInt(e(565))/8)+-parseInt(e(638))/9*(-parseInt(e(517))/10)+parseInt(e(767))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ue);class ce extends G.Plugin{[oe(610)];[oe(474)]=null;[oe(747)];[oe(494)];[oe(746)];[oe(680)];[oe(522)];static get[oe(757)](){return oe(764)}static get[oe(762)](){return!0}static get[oe(620)](){return!0}static get[oe(606)](){return[K.Users,It.ContextualBalloon,et,ot]}constructor(t){const e=oe;super(t),this[e(610)]=this[e(660)][e(618)][e(731)](e(683)),this[e(747)]=this[e(660)][e(618)][e(731)](e(766)),this[e(550)](e(491),null),this[e(550)](e(700),null),this[e(494)]=null,this[e(550)](e(551),null),this[e(550)](e(627),!1),this[e(550)](e(793),!0),this.on(e(788),(t,i,s)=>{const n=e;this[n(491)]=null,this[n(700)]=null,this[n(660)][n(501)][n(656)][n(784)](t=>{const e=n;for(const i of this[e(660)][e(501)][e(656)][e(744)][e(636)])s?t[e(569)](e(645),i):t[e(743)](e(645),i)})}),this[e(642)](e(728)).to(this,e(491),t=>null!==t),this[e(642)](e(704)).to(this,e(627),this,e(551),this,e(491),(t,i,s)=>t&&s?i[e(533)][e(685)](s):0),this[e(642)](e(614)).to(this,e(627),this,e(551),(t,i)=>t?i[e(533)][e(691)]:0),this[e(746)]=null,this[e(680)]=new Map,this[e(522)]=this[e(660)][e(618)][e(731)](It.ContextualBalloon)}[oe(571)](){const t=oe,e=this[t(660)],i=new de(e,{direction:t(710)}),s=new de(e,{direction:t(495)});e[t(724)][t(646)](t(686),i),e[t(724)][t(646)](t(782),s),e[t(724)][t(646)](t(505),new he(e)),this.on(t(721),()=>{const e=t;i[e(633)](),s[e(633)]()}),this[t(601)](),this[t(585)](),e[t(527)](t(692)),e[t(618)][t(504)](t(741))&&e[t(618)][t(731)](t(741))[t(508)](t(692))}async[oe(662)](t){const e=oe;return await this[e(747)][e(663)](t,this[e(474)]),this[e(747)][e(662)](t)}async[oe(794)](t){const e=oe;return await this[e(747)][e(663)](t,this[e(474)]),this[e(747)][e(794)](t)}async[oe(616)](t,e,i=!1){const s=oe;if(!this[s(793)])return;const n=this[s(551)],r=this[s(610)],o=s(629)==typeof t?r[s(624)](t):t,a=s(629)==typeof e?r[s(624)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(551)]&&this[s(551)][s(485)]===c&&this[s(551)][s(791)]===u)return Promise[s(615)]();this[s(627)]=!1,this[s(700)]=null,this[s(491)]=null,this[s(551)]=new ie(c,u);const l=this[s(479)](o,a,!0)[s(652)](t=>this[s(747)][s(663)](t,this[s(474)]));return l[s(781)](new Promise(t=>{setTimeout(t,20)})),Promise[s(486)](l)[s(568)](()=>{const t=s;if(!this[t(793)])return;this[t(671)]();const e=this[t(573)](c,u);for(const i of e[t(533)])this[t(680)][t(550)](i.id,i);this[t(660)][t(598)][t(532)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(660)][s(598)][s(744)][s(480)]())i[s(643)](t);for(const t of Object[s(667)](e[s(598)])){const n=i[s(584)](t);for(const r of Object[s(667)](e[s(675)][t]))i[s(510)](r,e[s(675)][t][r],n);i[s(771)](e[s(598)][t],n,0)}}),this[t(551)][t(531)](this[t(572)](e[t(533)])),this[t(627)]=!0})[s(754)](t=>{const e=s;console[e(732)](t),this[e(671)](),n&&(this[e(551)]=n),this[e(627)]=!0})}[oe(612)](t,e){const i=oe,s=this[i(610)][i(582)](t);return s.on(i(735),(t,i,n)=>e(i,n,s)),this[i(610)][i(562)](s),s}[oe(671)](){const t=oe;this[t(491)]=null,this[t(564)](),this[t(746)]&&this[t(746)][t(595)](),this[t(746)]=null,this[t(680)][t(655)](),this[t(660)][t(598)][t(532)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(660)][i(598)][i(744)][i(480)]())e[i(643)](t)})}[oe(572)](t){const e=oe,i=[],s=new Map;for(const t of this[e(660)][e(598)][e(744)][e(480)]()){const n=this[e(660)][e(501)][e(656)][e(694)](t);if(!n)continue;const r=n[e(742)]()[e(760)](0);r&&(i[e(781)](t),s[e(550)](t,r))}return i[e(563)]((t,i)=>{const n=e,r=s[n(731)](t),o=s[n(731)](i);return r.y-o.y||r.x-o.x}),(t=t[e(718)](t=>i[e(516)](t[e(768)])))[e(563)]((t,s)=>i[e(693)](t[e(768)])-i[e(693)](s[e(768)])),t}[oe(587)](t){const e=oe,i=Array[e(545)](t[e(547)])[e(718)](([t,i])=>t[e(608)](e(740))&&!i[e(720)]),s=Array[e(545)](this[e(660)][e(598)][e(725)](t)[e(758)]({singleCharacters:!0}));if(0!=i[e(691)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(557)](":");if(n[e(632)][e(637)](t[e(499)])&&i[e(714)](),(t[e(776)][e(637)](n[e(477)])||t[e(776)][e(514)](n[e(477)]))&&(e(673)==r?t[e(659)]={userId:o}:e(554)==r&&(t[e(555)]={userId:o})),0==i[e(691)])break}return s}[oe(670)](t){const e=oe,i=new Map;for(let s=0;s<t[e(691)];s++)e(525)===t[s][e(719)]?(t[s][e(760)][e(489)]=s,t[s][e(760)][e(716)]=s):(e(684)===t[s][e(719)]?t[s][e(760)][e(489)]=s:e(588)===t[s][e(719)]&&(t[s][e(760)][e(716)]=s),i[e(550)](t[s].id,s));for(const s of i[e(518)]())e(684)===t[s][e(719)]?t[s][e(760)][e(716)]=i[e(731)](t[s][e(769)]):e(588)===t[s][e(719)]&&(t[s][e(760)][e(489)]=i[e(731)](t[s][e(769)]))}[oe(483)](t){const e=oe;for(let i=0;i<t[e(691)];i++){if(e(684)===t[i][e(719)])t[i][e(760)][e(489)]=i;else if(e(588)===t[i][e(719)]){t[i][e(760)][e(716)]=i;const s=t[i][e(760)][e(489)];t[s][e(769)]=t[i].id,t[i][e(769)]=t[s].id}else t[i][e(760)][e(489)]=i,t[i][e(760)][e(716)]=i,t[i][e(769)]=null;t[i][e(602)]||(t[i][e(602)]=[],t[i][e(575)]=[])}}[oe(711)](t,e){const i=oe,s=t[i(718)](t=>!t[i(659)]);for(let t=0;t<e[i(691)];t++)e[t][i(659)]&&(s[t][i(659)]=e[t][i(659)])}[oe(573)](t,e=null){const i=oe,s=this[i(610)][i(624)](t),n=e?this[i(610)][i(624)](e):null,r=this[i(479)](s,n),o=r[r[i(691)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(691)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(667)](e[i(570)]))if(e[i(570)][t][i(556)]){const s=e[i(570)][t][i(556)];s[i(639)]?(u[i(646)](t),l[i(504)](t)&&l[i(731)](t)[i(542)]==s[i(542)]?l[i(599)](t):l[i(550)](t,s)):l[i(504)](t)?(u[i(599)](t),l[i(599)](t)):(u[i(646)](t),l[i(550)](t,s))}else u[i(646)](t)}for(const t of u){const e=l[i(504)](t)&&!l[i(731)](t)[i(639)];let s=e?r[i(691)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(570)][t]){const s=e?o[i(570)][t][i(783)]:o[i(570)][t][i(523)];c[i(675)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(598)]={};for(const e of t[i(640)])a[i(550)](e.id,e);for(const e of u){const s=t[i(570)][e]?t[i(570)][e][i(515)]:"[]",n=t[i(570)][e]?t[i(570)][e][i(702)]:"[]";t[i(598)][e]={insertions:this[i(747)][i(668)](s),deletions:this[i(747)][i(668)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(545)](s[i(598)][t][i(515)][i(547)])[i(718)](([t])=>!t[i(608)](i(740))));let h=0;for(const o of r){const r=this[i(587)](o[i(598)][t][i(515)]);o==s?(e=r,n=e[i(691)],e[i(631)](t=>{t.id=h++}),this[i(483)](e)):this[i(711)](e,r);const a=e[i(718)](t=>!t[i(659)])[i(652)](t=>t.id);let c=0;const l=this[i(587)](o[i(598)][t][i(702)]);l[i(631)](t=>{t[i(555)]?t.id=n++:t.id=a[c++]}),this[i(483)](l),this[i(763)](e,i(659)),this[i(763)](l,i(555)),o==s&&this[i(748)](e,u),e=this[i(604)](e,l),this[i(670)](e),this[i(763)](e,i(555))}e=e[i(718)](t=>!(t[i(659)]&&t[i(555)]));const d=new Map(o[i(598)][t][i(702)][i(547)]),f=new Set(u[i(667)]());for(const t of d[i(667)]())f[i(599)](t);this[i(739)](e,f),this[i(755)](e),e=this[i(540)](e),e=this[i(535)](e),e=this[i(658)](e);const{root:m,changes:p}=this[i(623)](e,a,t);c[i(598)][t]=m;const v=l[i(731)](t);if(v){const e=a[i(731)](v[i(542)]),s=new Xt({author:e,type:v[i(639)]?i(646):i(537),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(678)](s),c[i(675)][t][i(471)]=s.id}c[i(533)]=c[i(533)][i(544)](p)}return c}[oe(748)](t,e){const i=oe;for(let s=0;s<t[i(691)];s++)for(const[n,r]of e)!r[i(720)]&&r[i(477)][i(637)](t[s][i(776)])&&t[s][i(602)][i(781)](n),r[i(632)][i(637)](t[s][i(499)])&&t[s][i(575)][i(781)](n)}[oe(604)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(691)]||r<e[i(691)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(781)](o);else if(a[i(555)]&&o[i(659)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(541)](t,n,e,r);s=s[i(544)](o),n=a,r=c}else a[i(555)]?(r++,s[i(781)](a)):(n++,s[i(781)](o))}return s}[oe(739)](t,e){const i=oe,s=[];for(let o=0;o<t[i(691)];o++){for(let r=0;r<t[o][i(602)][i(691)];r++){const a=t[o][i(602)][r];if(!e[i(504)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(493)!=c||i(673)!=u&&i(554)!=u||(s[i(678)]({type:u,name:a,userId:l}),t[o][i(602)][i(628)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(575)][i(691)];r++){const a=t[o][i(575)][r];if(!e[i(504)](a))continue;const{group:c,type:u}=n(a);if(i(493)!=c||i(673)!=u&&i(554)!=u)continue;t[o][i(575)][i(628)](r,1),r--;const l=s[i(497)](t=>t[i(472)]==a);l>-1&&s[i(628)](l,1)}}function n(t){const e=i,s=t[e(557)](":");return{group:s[0],type:s[1],subType:s[e(691)]>=5?s[2]:null,id:s[e(691)]<5?s[2]:s[3],authorId:s[e(691)]<5?s[3]:s[4],markerCount:6==s[e(691)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(691)];i++){if(t[e(659)]&&e(673)==s[i][e(719)]&&t[e(659)][e(542)]==s[i][e(542)])return t[e(512)]=s[i],void delete t[e(659)];if(!t[e(659)]&&!t[e(555)]&&e(554)==s[i][e(719)])return void(t[e(529)]=s[i])}}}[oe(763)](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(550)](o.id,s);for(let s=0;s<t[i(691)];s++){if(i(555)==e&&t[s][i(659)]||i(659)==e&&t[s][i(555)])continue;if(i(525)==t[s][i(719)]){t[s][i(626)]=0;continue}const n=r[i(731)](t[s][i(769)]),o=r[i(731)](t[s].id);t[s][i(626)]=n-o}}[oe(479)](t,e,i=!1){const s=oe,n=[];let r=this[s(610)][s(685)](t),o=this[s(610)][s(685)](e);for(-1==o&&(o=this[s(610)][s(677)][s(691)],i=!1);r<o;)n[s(781)](this[s(610)][s(624)](r)),r++;return i&&n[s(781)](this[s(610)][s(624)](r)),n}[oe(541)](t,e,i,s){const n=oe,r=this[n(660)][n(598)][n(774)];let o=e;for(;t[o]&&t[o][n(659)];)o++;let a=s;for(;i[a]&&i[a][n(555)];)a++;u(t,e,o),u(i,s,a);const c=i[n(797)](s,a)[n(544)](t[n(797)](e,o));return c[n(563)]((t,e)=>t[n(736)]!=e[n(736)]?t[n(736)]-e[n(736)]:t[n(576)]!=e[n(576)]?t[n(576)]-e[n(576)]:t[n(626)]!=e[n(626)]?e[n(626)]-t[n(626)]:!!t[n(659)]!=!!e[n(659)]?-1==t[n(736)]||0==t[n(736)]?t[n(659)]?-1:1:t[n(659)]?1:-1:t[n(503)]-e[n(503)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(696)],c=!0;for(let n=e;n<i;n++)if(r[s(492)](t[n][s(760)])||(c=!1),t[n][s(760)][s(489)]<e&&(o=n),t[n][s(760)][s(716)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(736)]=n<=o?-1:n<a?0:1,t[n][s(503)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(626)]?t[i][s(576)]=u:(u++,t[i][s(576)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(736)]&&(t[n][s(576)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(626)]?t[e][s(576)]=u:(u--,t[e][s(576)]=u,u--)}}[oe(755)](t){const e=oe,i=new Map,s=this[e(660)][e(598)][e(774)];for(let n=1;n<t[e(691)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(525)==c[e(719)])continue;if(c[e(719)]!=u[e(719)])continue;if(!s[e(786)](u[e(760)])||s[e(476)](u[e(760)]))continue;if(!s[e(786)](c[e(760)])||s[e(476)](c[e(760)]))continue;if((t[n][e(659)]||t[n][e(512)])&&t[n-1][e(555)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(555)]||!t[n-1][e(659)]&&!t[n-1][e(512)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(576)]==o[e(576)],h=Math[e(737)](r[e(576)])<Math[e(737)](o[e(576)])&&0==o[e(626)];(l||h)&&(i[e(550)](o.id,r.id),t[e(628)](a,1),n--,r[e(659)]=!1)}for(let s=0;s<t[e(691)];s++)i[e(504)](t[s][e(769)])&&(t[s][e(769)]=i[e(731)](t[s][e(769)]))}[oe(540)](t){const e=oe,i=new Set(t[e(652)](t=>t.id));for(let s=0;s<t[e(691)];s++)i[e(504)](t[s][e(769)])||0==t[s][e(626)]||(t[s][e(789)]=!0);return t[e(718)](t=>!t[e(789)])}[oe(535)](t){const e=oe,i=new Set;for(let s=0;s<t[e(691)];s++){if(i[e(504)](t[s].id)&&t[s][e(555)]&&(t[s][e(789)]=!0),t[s][e(789)])continue;if(0==t[s][e(626)])continue;if(e(684)!=t[s][e(719)])continue;if(null==t[s][e(769)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(769)];)e(684)==t[n][e(719)]?r++:e(588)==t[n][e(719)]&&r--,n++;if(0!=r)if(t[s][e(555)])t[s][e(789)]=!0;else for(;n!=s;)t[n][e(555)]&&0!=t[n][e(626)]&&(t[n][e(789)]=!0,i[e(646)](t[n][e(769)])),n--}return t[e(718)](t=>!t[e(789)])}[oe(658)](t){const e=oe,i=this[e(660)][e(598)][e(774)];for(let s=0;s<t[e(691)];s++){if(!(t[s][e(659)]||t[s][e(512)]||t[s][e(555)]||t[s][e(529)]))continue;if(0==t[s][e(626)])continue;const n=t[s][e(760)];i[e(786)](n)||i[e(476)](n)||(t[s][e(659)]&&delete t[s][e(659)],t[s][e(512)]&&delete t[s][e(512)],t[s][e(529)]&&delete t[s][e(529)],t[s][e(555)]&&(t[s][e(789)]=!0))}return t[e(718)](t=>!t[e(789)])}[oe(623)](t,e,i){const s=oe,n=new Q.ModelDocumentFragment,r=[],o=new Map,a=this[s(660)][s(598)],c=a[s(774)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(691)];e++)if(s(684)===t[e][s(719)]){t[e][s(776)]=a[s(478)](n,f);const i=new Q.ModelElement(t[e][s(760)][s(472)],t[e][s(760)][s(560)]());u[0][s(579)](i),f[s(781)](0),u[s(678)](i),t[e][s(499)]=a[s(478)](n,f)}else s(588)===t[e][s(719)]?(u[s(714)](),t[e][s(776)]=a[s(478)](n,f),f[s(654)](),f[f[s(691)]-1]++,t[e][s(499)]=a[s(478)](n,f)):(t[e][s(776)]=a[s(478)](n,f),d?d[s(676)]+=t[e][s(760)][s(733)]:d=new Q.ModelText(t[e][s(760)][s(733)],t[e][s(760)][s(560)]()),t[e+1]&&s(525)===t[e+1][s(719)]&&v(d,t[e+1][s(760)])||(u[0][s(579)](d),d=null),f[f[s(691)]-1]+=t[e][s(760)][s(488)],t[e][s(499)]=a[s(478)](n,f));for(let e=0;e<t[s(691)];e++){const i=t[e][s(776)],n=t[e][s(499)];for(const n of t[e][s(602)])o[s(550)](n,{start:i,end:null});m(s(529),e,i,n),m(s(512),e,i,n),m(s(555),e,i,n),m(s(659),e,i,n);for(const i of t[e][s(575)]){const t=o[s(731)](i);t?t[s(632)]=n:o[s(550)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(660)][s(598)][s(765)](e[s(477)],e[s(632)]);n[s(547)][s(550)](t,i)}return r[s(563)]((t,e)=>{const i=s,r=n[i(547)][i(731)](i(740)+t.id),o=n[i(547)][i(731)](i(740)+e.id);return r[i(477)][i(530)](o[i(477)])?-1:r[i(477)][i(514)](o[i(477)])?1:r[i(632)][i(530)](o[i(632)])?-1:r[i(632)][i(514)](o[i(632)])?1:i(646)===t[i(719)]?-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(542)]:null,d=i===t[o(691)]-1,f=h[e][0],m=c[o(524)](t[i][o(760)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(632)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(542)]!==u&&(l[e][o(632)]=n,f&&f[o(542)]===l[e][o(542)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(684)!==t[i][o(719)]||f&&f[o(542)]===u||h[e][o(678)]({userId:u,object:t[i][o(760)],change:l[e]}),o(588)===t[i][o(719)]&&f&&f[o(647)]===t[i][o(760)]&&(h[e][o(714)](),l[e]=f[o(784)])),l[e]&&d&&(l[e][o(632)]=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(760)],f=a[h(774)][h(786)](d)&&!a[h(774)][h(476)](d),m=t[h(787)]==o[h(580)]&&o[h(653)];if(f&&m)return;const p=a[h(765)](t,o),v=e[h(731)](u),g=new Xt({author:v,type:h(659)==l||h(512)==l?h(646):h(537),data:{isSuggestion:h(512)==l||h(529)==l},createdAt:new Date,rootName:i});r[h(781)](g),n[h(547)][h(550)](h(740)+g.id,p)}function v(t,e){const i=s,n=t[i(560)](),r=e[i(560)]();for(const t of n){if(t[1]!==e[i(546)](t[0]))return!1;r[i(775)]()}return r[i(775)]()[i(561)]}}[oe(601)](){const t=oe;this[t(660)][t(751)][t(709)](t(695))[t(723)]({view:t(490)}),this[t(660)][t(751)][t(709)](t(796))[t(534)]({model:t(490),view:e=>{const i=t,s=e[i(509)][i(557)](":")[1],n=this[i(539)](s);if(!n)return null;const r=i(646)==n[i(719)]?i(673):i(554),o=[i(634),i(708)+r];return n[i(733)][i(577)]&&o[i(781)](i(708)+r+i(619)),this[i(491)]==n&&o[i(781)](i(699)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(660)][t(751)][t(709)](t(695))[t(646)](e=>{const i=t;e.on(i(513),(t,e,s)=>{const n=i,r=e[n(727)][n(761)](0);if(!r||!r.is(n(669),n(484)))return;if(!s[n(536)][n(496)](r,{attributes:[n(583),n(635)]}))return;const o=e[n(753)][n(477)][n(787)];s[n(648)][n(510)](n(583),r[n(546)](n(583)),o),s[n(648)][n(510)](n(635),r[n(546)](n(635)),o)},{priority:i(756)})}),this[t(660)][t(751)][t(709)](t(695))[t(646)](e=>{const i=t;e.on(i(669),(t,e,s)=>{const n=i;if(!s[n(536)][n(496)](e[n(727)],{attributes:[n(583),n(635)]}))return;if(e[n(753)][n(720)])return;const r=e[n(753)][n(477)][n(787)];r[n(500)](n(583))||r[n(500)](n(622))||(s[n(648)][n(510)](n(583),e[n(727)][n(546)](n(583)),r),s[n(648)][n(510)](n(635),e[n(727)][n(546)](n(635)),r))},{priority:i(756)})}),this[t(660)][t(751)][t(709)](t(695))[t(697)]({view:{name:t(644),attributes:{vid:!0}},model:{key:t(622),value:e=>e[t(546)](t(622))}}),this[t(660)][t(598)][t(774)].on(t(749),(e,[,i])=>{const s=t;[s(583),s(635),s(622)][s(516)](i)&&(e[s(511)]=!0,e[s(641)]())},{priority:t(574)}),this[t(660)][t(751)][t(709)](t(657))[t(646)](e=>{const i=t;e.on(i(682),(t,e,s)=>{const n=i;if(" "!=e[n(760)][n(733)]||e[n(760)][n(580)][n(520)]>1)return;if(!s[n(536)][n(496)](e[n(760)],t[n(472)]))return;const r=s[n(648)],o=s[n(594)][n(690)](e[n(777)]);r[n(688)](o,r[n(507)](n(644)))})}),this[t(660)][t(751)][t(709)](t(657))[t(549)]({model:t(490)}),this[t(660)][t(501)][t(650)].on(t(681),function(e){const i=t,s=e[i(618)][i(731)](i(764));return(t,n,r)=>{const o=i,a=n[o(509)][o(557)](":")[1],c=s[o(539)](a);if(!c)return null;const u=o(646)==c[o(719)]?o(557):o(790);if(!r[o(536)][o(475)](n[o(707)],t[o(472)]))return;const l=n[o(707)][o(758)](),h=n[o(707)][o(477)],d=e[o(598)][o(774)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(760)];p=p||d[o(581)](e);const i=r[o(594)][o(543)](e);if(i&&i[o(713)](o(630)))return;o(588)==t[o(719)]&&d[o(786)](e)&&!d[o(476)](e)&&(e[o(589)]||h[o(559)]?f&&f[o(580)]==e||(f=e,g(t[o(776)]),v=!0):m=m||t[o(776)])}function g(t){const e=o,i=r[e(648)][e(698)](e(644),{class:e(708)+u}),a=r[e(594)][e(487)](t);c[e(733)][e(577)]&&r[e(648)][e(743)](e(708)+u+e(619),i),s[e(491)]==c&&r[e(648)][e(743)](e(699),i),r[e(648)][e(771)](a,i),r[e(594)][e(498)](i,n[e(509)])}p||v||!m||g(m)}}(this[t(660)]),{priority:t(778)}),this[t(660)][t(501)][t(650)].on(t(552),(e,i,s)=>{const n=t,r=s[n(594)][n(597)](i[n(509)]);if(r)for(const t of r)(t[n(600)](n(785))||t[n(600)](n(502)))&&(s[n(594)][n(750)](t,i[n(509)]),s[n(648)][n(537)](t))},{priority:t(778)}),this[t(660)][t(501)][t(650)].on(t(681),(e,i,s)=>{const n=t,r=i[n(509)][n(557)](":")[1],o=this[n(539)](r);if(!o)return null;const a=n(646)==o[n(719)]?n(557):n(790);if(s[n(536)][n(475)](i[n(707)],e[n(472)]))for(const t of i[n(707)][n(672)]()){if(!t.is(n(669),n(566)))continue;const e=s[n(648)][n(698)](n(644),{class:n(708)+a}),r=s[n(594)][n(487)](this[n(660)][n(598)][n(526)](t));o[n(733)][n(577)]&&s[n(648)][n(743)](n(708)+a+n(619),e),this[n(491)]==o&&s[n(648)][n(743)](n(699),e),s[n(648)][n(771)](r,e),s[n(594)][n(498)](e,i[n(509)])}},{priority:t(778)}),this[t(660)][t(598)][t(744)].on(t(784),()=>{const e=t;this[e(660)][e(501)][e(656)][e(784)](t=>{const i=e;for(const e of this[i(660)][i(598)][i(744)][i(480)]()){const s=this[i(660)][i(598)][i(744)][i(703)](e),n=this[i(660)][i(501)][i(656)][i(744)][i(703)](e);if(n){const e=s[i(546)](i(471));if(t[i(729)](i(770),n),t[i(569)](i(558),n),t[i(569)](i(706),n),t[i(569)](i(717),n),e){const s=this[i(539)](e);if(!s)return null;t[i(510)](i(770),e,n),t[i(743)](i(586)+s[i(719)],n),this[i(491)]==s&&t[i(743)](i(717),n)}}}})}),this[t(660)][t(751)][t(709)](t(695))[t(723)]({view:t(596),model:e=>t(738)+e,converterPriority:t(574)}),this[t(660)][t(751)][t(709)](t(695))[t(723)]({view:t(759),model:e=>t(609)+e,converterPriority:t(574)}),this[t(660)][t(751)][t(709)](t(657))[t(549)]({model:t(493),view:e=>({name:t(538)+e,group:t(493)}),converterPriority:t(574)}),this[t(660)][t(751)][t(709)](t(796))[t(534)]({model:t(493),view:e=>{const i=t,s=e[i(509)][i(557)](":")[1];return i(673)!=s&&i(554)!=s?null:{classes:[i(715),i(548)+s]}}}),this[t(660)][t(501)][t(650)].on(t(665),le(this[t(660)],t(790)),{priority:t(778)}),this[t(660)][t(501)][t(650)].on(t(625),le(this[t(660)],t(557)),{priority:t(778)}),this[t(660)][t(501)][t(650)].on(t(705),(e,i,s)=>{const n=t,r=s[n(594)][n(597)](i[n(509)]);if(r)for(const t of r)t.is(n(482))&&(s[n(594)][n(750)](t,i[n(509)]),s[n(648)][n(537)](t))},{priority:t(778)})}[oe(539)](t){const e=oe;return this[e(680)][e(731)](t)}[oe(473)](t){const e=oe;return this[e(746)]&&this[e(746)][e(595)](),this[e(746)]=new Yt(this[e(660)][e(752)],t),this[e(746)]}[oe(585)](){const t=oe;this[t(660)][t(598)][t(744)][t(607)][t(528)](t(490)),this.on(t(593),(e,i,s,n)=>{const r=t;n&&this[r(522)][r(537)](n),s&&(this[r(522)][r(646)]({view:s,stackId:r(521),position:{target:()=>{const t=r,e=this[t(660)][t(501)],i=this[t(539)](s[t(519)]);let n;if(i[t(733)][t(701)]){const s=e[t(656)][t(694)](i[t(768)]);n=Array[t(545)](s[t(742)]())}else{const i=this[t(660)][t(598)][t(547)][t(731)](t(740)+s[t(519)]);n=Array[t(545)](e[t(594)][t(597)](i[t(472)]))[t(652)](i=>e[t(656)][t(592)][t(745)](i))[t(652)](e=>Array[t(545)](e[t(742)]()))[t(773)]()}return this[t(494)]&&n[t(481)](e=>e[t(722)]-3<=this[t(494)].y&&e[t(605)]+3>=this[t(494)].y&&e[t(679)]-3<=this[t(494)].x&&e[t(621)]+3>=this[t(494)].x)||n[0]}}}),this[r(522)][r(792)](r(521)))}),this.on(t(780),(e,i,s,n)=>{const r=t;this[r(700)]=s?this[r(473)](s):null,this[r(660)][r(598)][r(784)](()=>{const t=r,e=this[t(660)][t(501)];n&&(n[t(733)][t(701)]?e[t(656)][t(784)](i=>{const s=t;i[s(569)](s(717),e[s(656)][s(744)][s(703)](n[s(768)]))}):e[t(651)](t(740)+n.id)),s&&(s[t(733)][t(701)]?e[t(656)][t(784)](i=>{const n=t;i[n(743)](n(717),e[n(656)][n(744)][n(703)](s[n(768)]))}):e[t(651)](t(740)+s.id))})}),this[t(712)](this[t(660)][t(501)][t(656)][t(744)],t(687),(e,i)=>{const s=t;if(this[s(491)])return;const n=this[s(772)](i[s(553)]),r=this[s(680)][s(731)](n);r?(this[s(494)]={x:i[s(506)].x,y:i[s(506)].y},this[s(700)]=this[s(473)](r)):(this[s(494)]=null,this[s(700)]=null)}),this[t(712)](this[t(660)][t(501)][t(656)][t(744)],t(611),(e,i)=>{const s=t,n=this[s(772)](i[s(553)]),r=this[s(680)][s(731)](n);r?(this[s(494)]={x:i[s(506)].x,y:i[s(506)].y},r===this[s(491)]?this[s(522)][s(726)]():this[s(491)]=r):(this[s(494)]=null,this[s(491)]=null)})}[oe(772)](t){const e=oe;do{const i=t[e(546)](e(770));if(i)return i;t=t[e(580)]}while(t);return null}[oe(564)](){const t=oe;this[t(660)][t(598)][t(784)](e=>{const i=t;for(const t of this[i(660)][i(598)][i(547)])e[i(666)](t)})}}function ue(){const t=["wrap","2711025ZakbIs","toViewRange","length","revision-viewer","indexOf","getDomRoot","upcast","POSITIVE_INFINITY","elementToAttribute","createUIElement","ck-suggestion-marker--active","activeView","isOnRoot","deletions","getRoot","currentChangeNumber","removeMarker:revision-suggestion","ck-revision-history-root-remove","markerRange","ck-suggestion-marker-","for","backward","_markInsertions","listenTo","getCustomProperty","shift","ck-suggestion-preview-marker","endIndex","ck-revision-history-root--active","filter","type","isCollapsed","change:numberOfChanges","top","dataToMarker","commands","createRangeIn","updatePosition","viewItem","isNavigationMode","removeAttribute","execute","get","error","data","1093326HSphWm","_update","side","abs","revision-comment:","_markSuggestions","revision:","WidgetToolbarRepository","getClientRects","addClass","document","mapViewToDom","_changeView","_utils","_markMarkers","checkAttribute","unbindElementFromMarkerName","conversion","locale","modelRange","catch","_fixObsoleteTags","low","pluginName","getWalker","suggestion","item","getChild","isOfficialPlugin","_setDistance","RevisionViewer","createRange","RevisionHistoryUtils","8000421AHqgnX","rootName","pairId","data-change-id","insert","_findChangeIdFromDomTarget","flat","schema","next","previousPosition","range","high","getLaterVisibleRevision","change:activeChange","push","showNextChange","attributesBefore","change","ck-suggestion-marker-split","isBlock","nodeAfter","change:isEnabled","isIncorrect","merge","oldRevisionId","showStack","isEnabled","getRevisionRootsAttributes","1OzHzWP","editingDowncast","slice","revisionHistoryAttachChange","name","_getViewForChange","adapter","test","isLimit","start","createPositionFromPath","_getRevisionsRange","getRootNames","find","uiElement","_processTape","code","newRevisionId","all","toViewPosition","offsetSize","startIndex","revision","activeChange","isInline","revision-suggestion","_activeViewTarget","forward","consume","findIndex","bindElementToMarker","nextPosition","hasAttribute","editing","ck-suggestion-marker-merge","index","has","restoreRevision","domEvent","createAttributeElement","forceDisabled","markerName","setAttribute","return","isAddSuggestion","element:pre","isAfter","insertions","includes","368710HnwkfP","values","changeId","maxOffset","revisionHistoryLabel","_balloon","attributesAfter","isObject","text","createPositionBefore","enableReadOnlyMode","observeMarkers","isRemoveSuggestion","isBefore","_setChanges","enqueueChange","changes","markerToHighlight","_markMismatchedRemovedTags","consumable","remove","suggestion:","_getChangeFromId","_removeMissingPairs","_threeWayMerge","userId","toViewElement","concat","from","getAttribute","markers","ck-suggestion-preview-marker-","markerToData","set","diff","removeMarker:revision","target","deletion","isRemoved","attachChange","split","ck-revision-history-root-add","isAtEnd","getAttributes","done","addRevision","sort","_cleanMarkers","428008gBNKke","softBreak","affectsData","then","removeClass","diffData","init","_sortAndFilterDiffChanges","_getDiff","highest","markersEnd","level","isSuggestion","_step","_appendChild","parent","isContent","createRevision","vid_start","addRoot","_initInteractions","ck-revision-history-root-","_makeTape","elementEnd","nextSibling","config","first","domConverter","change:activeView","mapper","destroy","comment","markerNameToElements","model","delete","hasClass","_setConversion","markersStart","138232iYhtWL","_joinTapes","bottom","requires","selection","startsWith","revision-suggestion:","repository","mousedown","addRevisionData","restoreRevisionCallback","numberOfChanges","resolve","compare","revisionHistory","plugins","-new","isPremiumPlugin","right","vid","_makeModelFromTape","getRevision","addMarker:revision-suggestion:insertion","distance","isReady","splice","string","addHighlight","forEach","end","refresh","ck-suggestion-marker","vid_end","roots","isEqual","54HleIgj","isAttached","authors","stop","bind","detachRoot","span","ck-editor__editable__overlay","add","object","writer","370770iJyFPv","downcastDispatcher","reconvertMarker","map","isAtStart","pop","clear","view","dataDowncast","_removeUnsupportedChanges","isAdded","editor","4OneIbS","getRevisionDocumentData","loadRevisionData","change:isReady","addMarker:revision-suggestion:deletion","removeMarker","keys","_makeModelFromViewString","element","_refreshStartEndIndex","_cleanUp","getItems","insertion","35szmJZA","attributes","_data","_revisions","unshift","left","_changeIdToChange","addMarker:revision","attribute:vid","RevisionsRepository","elementStart","getIndex","showPreviousChange","mouseover"];return(ue=function(){return t})()}function le(t,e){return(i,s,n)=>{const r=ae;if(!n[r(536)][r(475)](s[r(707)],i[r(472)]))return;const o=s[r(707)][r(758)](),a=s[r(707)][r(477)],c=t[r(598)][r(774)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(760)];h=h||c[r(581)](e);const i=n[r(594)][r(543)](e);if(i&&i[r(713)](r(630)))return;r(588)==t[r(719)]&&c[r(786)](e)&&!c[r(476)](e)&&(e[r(589)]||a[r(559)]?u&&u[r(580)]==e||(u=e,f(t[r(776)]),d=!0):l=l||t[r(776)])}function f(t){const i=r,o=n[i(594)][i(487)](t),a=n[i(648)][i(698)](i(644),{class:i(548)+e});n[i(648)][i(771)](o,a),n[i(594)][i(498)](a,s[i(509)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(618)][e(731)](ce);this[e(567)]=!1,this[e(712)](i,e(664),()=>this[e(633)]()),this[e(712)](i,e(788),()=>this[e(633)]())}[oe(730)](){const t=oe,e=this[t(660)],i=e[t(618)][t(731)](ce),s=i[t(627)]?i[t(551)][t(485)]:null;e[t(590)][t(731)](t(617))[t(613)](s)}[oe(633)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(660)][t(618)][t(731)](ce),r=n&&s[t(779)](n[t(485)]);this[t(793)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(578)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(618)][i(731)](ce);this[i(567)]=!1,this[i(578)]=i(495)===e?1:-1,this[i(712)](s,i(664),()=>this[i(633)]()),this[i(712)](s,i(788),()=>this[i(633)]()),this[i(712)](s,i(780),()=>this[i(633)]())}[oe(730)](){const e=oe,i=this[e(660)],s=i[e(618)][e(731)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(491)]=n?s[e(551)][e(533)][e(731)](r+this[e(578)]):s[e(551)][e(533)][e(591)],s[e(491)][e(733)][e(701)])o=i[e(501)][e(656)][e(694)](s[e(491)][e(768)]);else{const t=i[e(598)][e(547)][e(731)](e(740)+s[e(491)].id);o=(0,K.getMarkerDomElement)(i[e(501)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(633)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(660)][t(618)][t(731)](ce);this[t(793)]=!!(r&&n&&s)&&(!e||(1===this[t(578)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Rt().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-=143]})(t,e)}function ve(){const t=["5GEnYed","10105730OQgjCp","553209qnbJbt","isNavigationMode","11cRMueG","169768RhcOFj","ck-revision-history-ui__changes-navigation__label","2958SGBYuo","EDIT_X_OF_Y_REVISIONS","ck-revision-history-ui__changes-navigation__navigation","ck-revision-history-ui__changes-navigation__wrapper","ck-revision-history-ui","isForwardNavigationEnabled","30760qQjRBi","execute","isReady","63LSLvld","set","bind","2753124kWHffG","NUMBER_OF_CHANGES","No changes","Show next change","span","setTemplate","24hOhKRd","currentChangeNumber","ck-hidden","Total","X_OF_Y_CHANGES","div","Show previous change","_statusText","2977524lUPiPX","Loading...","forward","bindTemplate","isBackwardNavigationEnabled","isEnabled","fire","numberOfChanges","ck-revision-history-ui__changes-navigation","backward","_isStatusLabelVisible"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(398535===-parseInt(e(162))/1+parseInt(e(167))/2*(parseInt(e(185))/3)+parseInt(e(173))/4*(-parseInt(e(160))/5)+parseInt(e(179))/6+-parseInt(e(176))/7*(parseInt(e(165))/8)+-parseInt(e(149))/9+-parseInt(e(161))/10*(-parseInt(e(164))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(152)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(177)](e(163),!1),this[e(177)](e(175),!1),this[e(177)](e(186),0),this[e(177)](e(156),0),this[e(177)](e(172),!1),this[e(177)](e(153),!1),this[e(178)](e(159)).to(this,e(175),this,e(156),(t,e)=>t&&e>0),this[e(178)](e(148)).to(this,e(175),this,e(186),this,e(156),this,e(163),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(150));if(!n)return at(t,o(181));const a=at(t,o(180),n);return r?at(t,o(145),[s+1,n]):a}),s[e(177)]({label:at(t,e(147)),tooltip:!0,icon:_t.IconChevronUp}),n[e(177)]({label:at(t,e(182)),tooltip:!0,icon:_t.IconChevronDown}),s[e(178)](e(154)).to(this,e(153)),n[e(178)](e(154)).to(this,e(172)),s.on(e(174),()=>this[e(155)](e(174),e(158))),n.on(e(174),()=>this[e(155)](e(174),e(151))),this[e(184)]({tag:e(146),attributes:{class:["ck",e(171),e(157)]},children:[{tag:e(183),attributes:{class:[e(170)]},children:[{tag:e(183),attributes:{class:[e(166),i.if(e(159),e(143),t=>!t)]},children:[{text:i.to(e(163),i=>i?at(t,e(168))+": ":at(t,e(144))+": ")}]},{text:i.to(e(148))}]},new It.ToolbarSeparatorView,{tag:e(146),attributes:{class:[e(169)]},children:[s,n]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Rt().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-=263]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(210968===parseInt(e(274))/1*(-parseInt(e(278))/2)+-parseInt(e(279))/3*(parseInt(e(282))/4)+parseInt(e(289))/5*(-parseInt(e(267))/6)+-parseInt(e(264))/7+parseInt(e(275))/8*(-parseInt(e(263))/9)+parseInt(e(286))/10*(parseInt(e(271))/11)+parseInt(e(283))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(268);function Ie(){const t=["76jHVbGz","14185404WjDooU","removeClass","isOfficialPlugin","20evJSGx","editing","document","3490YIFzih","625545cEAbir","1909663InIRfs","show","RevisionViewerLoadingOverlay","2532OnlIjQ","ck-editor__editable__loading-overlay","change","isPremiumPlugin","980485GVnaEy","roots","addClass","1gMEKzJ","40cvGNOQ","view","editor","20202RCKwrI","35436HEzbfW","hide","pluginName"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(281)](){return be(266)}static get[be(285)](){return!0}static get[be(270)](){return!0}[be(265)](){const t=be,e=this[t(277)][t(287)][t(276)];e[t(269)](i=>{const s=t;for(const t of e[s(288)][s(272)])i[s(273)](_e,t)})}[be(280)](){const t=be,e=this[t(277)][t(287)][t(276)];e[t(269)](i=>{const s=t;for(const t of e[s(288)][s(272)])i[s(284)](_e,t)})}}const Oe=xe;function Te(){const t=["plugins","hide","show","isPremiumPlugin","showNextChange","commands","6000084QROuzS","showPreviousChange","set","12TaUKsV","isBackwardNavigationEnabled","30282593xVJQbO","RevisionViewerUI","pluginName","numberOfChanges","1117330IhbomK","change:isReady","Restore this revision","closeRevisionViewerCallback","Back to editing","get","config","componentFactory","279707iYPEnv","ck-revision-history-ui__back-to-editing","revisionHistory","execute","isForwardNavigationEnabled","6mdxtuf","873675JGRPpB","isEnabled","isReady","10qgSfEW","add","listenTo","8161832JyIrHi","4158477cIKhYD","currentChangeNumber","init","forward","7sijSwv","editor","requires","changesNavigation","isOfficialPlugin","isNavigationMode","restoreRevision","bind","exitToEditing"];return(Te=function(){return t})()}function xe(t,e){const i=Te();return(xe=function(t,e){return i[t-=431]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(528687===-parseInt(e(461))/1*(parseInt(e(466))/2)+-parseInt(e(467))/3*(-parseInt(e(447))/4)+parseInt(e(453))/5+-parseInt(e(444))/6+parseInt(e(478))/7*(-parseInt(e(473))/8)+-parseInt(e(474))/9*(parseInt(e(470))/10)+parseInt(e(449))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Te);class Ne extends G.Plugin{static get[Oe(451)](){return Oe(450)}static get[Oe(433)](){return!0}static get[Oe(441)](){return!0}static get[Oe(431)](){return[ce,Se]}[Oe(476)](){const t=Oe,e=this[t(479)],i=e[t(438)][t(458)](ce),s=e[t(438)][t(458)](Se);e.ui[t(460)][t(471)](t(437),i=>{const s=t,n=new It.ButtonView(i);return n[s(446)]({label:at(i,s(457)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(462)}),this[s(472)](n,s(464),()=>{const t=s;e[t(459)][t(458)](t(463))[t(456)]()}),n}),e.ui[t(460)][t(471)](t(435),i=>{const s=t,n=new It.ButtonView(i);return n[s(446)]({label:at(i,s(455)),withText:!0,tooltip:!0}),n[s(436)](s(468)).to(e[s(443)][s(458)](s(435))),this[s(472)](n,s(464),()=>e[s(464)](s(435))),n}),e.ui[t(460)][t(471)](t(432),s=>{const n=t,r=new ge(s),o=e[n(443)][n(458)](n(445)),a=e[n(443)][n(458)](n(442));return r[n(436)](n(448)).to(o,n(468)),r[n(436)](n(465)).to(a,n(468)),r[n(436)](n(469),n(475),n(452),n(434)).to(i),this[n(472)](r,n(464),(t,i)=>{const s=n;e[s(464)](s(477)===i?s(442):s(445))}),r}),s[t(440)](),i.on(t(454),(e,i,n)=>{const r=t;n?s[r(439)]():s[r(440)]()})}}var Re=i(815),Ae={attributes:{"data-cke":!0}};Ae.setAttributes=Mt(),Ae.insert=Rt().bind(null,"head"),Ae.domAPI=xt(),Ae.insertStyleElement=Et();Ot()(Re.A,Ae);Re.A&&Re.A.locals&&Re.A.locals;const Me=Ee;function Ve(){const t=["destroy","element","placeholder","ck-revision-history-sidebar__revision-name","3374144ldCVwT","_tooltipString","span","10xWNhmE","fieldView","6hcCyMt","10298xbjtpR","_resizeObserver","extendTemplate","35mrsApJ","Enter the revision name","clientWidth","listenTo","render","scrollWidth","ck-tooltip_multi-line","10113381UbFsbV","value","3056505DGVXWJ","975792AZMipX","bindTemplate","_updateTooltipText","584456ppCadG","set","237vFHpvF","690522ZbpMrd","Revision name","143lBfHYW","input"];return(Ve=function(){return t})()}function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=157]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(644446===parseInt(e(164))/1+-parseInt(e(178))/2*(parseInt(e(163))/3)+-parseInt(e(172))/4+parseInt(e(157))/5*(-parseInt(e(177))/6)+parseInt(e(181))/7*(-parseInt(e(161))/8)+parseInt(e(188))/9*(parseInt(e(175))/10)+-parseInt(e(166))/11*(-parseInt(e(158))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Me(179)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(159)];this[i(162)]({label:at(t,i(165)),_tooltipString:""}),this[i(176)][i(170)]=at(t,i(182)),this[i(180)]({tag:i(174),attributes:{class:[i(171)],"data-cke-tooltip-text":s.to(i(173)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(187)}})}[Me(185)](){const e=Me;super[e(185)](),this[e(179)]=new t.ResizeObserver(this[e(176)][e(169)],()=>this[e(160)]()),this[e(184)](this[e(176)],e(167),()=>this[e(160)]())}[Me(168)](){const t=Me;super[t(168)](),this[t(179)]&&this[t(179)][t(168)]()}[Me(160)](){const t=Me,e=this[t(176)][t(169)];this[t(173)]=e[t(186)]>e[t(183)]&&e[t(189)]||""}}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Rt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(t,e){const i=Le();return(je=function(t,e){return i[t-=340]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(819994===-parseInt(e(352))/1+-parseInt(e(351))/2+parseInt(e(343))/3*(-parseInt(e(342))/4)+-parseInt(e(341))/5+parseInt(e(354))/6+-parseInt(e(358))/7+parseInt(e(340))/8)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(357)]({content:_t.IconUser,viewBox:s(347)});const r=["ck",s(349)];i&&r[s(355)](s(353));const o=[{tag:s(344),attributes:{class:["ck",s(350)],title:at(t,s(i?346:356))},children:[n,e[s(345)]]}];this[s(348)]({tag:"li",attributes:{class:r},children:o})}}function Le(){const t=["1909032dwpMld","125746cRUrBh","ck-revision-history-sidebar__revision-author_creator","663774hAyucz","push","Revision author","set","8670508RdmFkw","34503344vvCBCC","1468475TZVrft","495476fsEazR","24kBNHAK","span","name","Revision creator","0 0 11 10","setTemplate","ck-revision-history-sidebar__revision-author","ck-revision-history-sidebar__revision-author__name"];return(Le=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=110]})(t,e)}function We(){var t=["6207243VdGqfb","6ySwmlb","64pUotmf","toLocaleTimeString","1059057QdKMnR","1830252BoCKdm","25GRcohC","33969859rpPqUX","8534PPsHvN","long","133WwBAkO","numeric","791958TaCwON","toLocaleDateString","8777880APrZAf"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(694598===parseInt(e(117))/1*(parseInt(e(115))/2)+parseInt(e(123))/3*(-parseInt(e(112))/4)+-parseInt(e(113))/5*(-parseInt(e(119))/6)+-parseInt(e(122))/7+-parseInt(e(124))/8*(parseInt(e(111))/9)+-parseInt(e(121))/10+parseInt(e(114))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(505),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Rt().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=["items","Restore this revision","1599516WkqDkE","2211727yCAVHz","7512wNmciS","source","isVisible","function","set","Compare against selected","Show more items","class","execute","locale","stopPropagation","name","buttonView","panelPosition","isActionsDropdownOpen","map","change:isActionsDropdownOpen","isEnabled","85756jpXUUq","6944080mpkgHK","model","children","first","menu","145466BNqBxf","ck-on","9UiJekB","extendTemplate","find","isReady","4948750kKgXbW","Name this revision","isOpen","8Pjgrhp","bindTemplate","button","listView","ck-revision-history-sidebar__revision__actions","listenTo","add","_action","menuitem","bind","action","11mZgxGq","9dOtDTr","1292334bQvskY"];return(Ze=function(){return t})()}function qe(t,e){const i=Ze();return(qe=function(t,e){return i[t-=404]})(t,e)}!function(t){const e=qe,i=t();for(;;)try{if(665088===parseInt(e(451))/1*(-parseInt(e(431))/2)+-parseInt(e(452))/3*(parseInt(e(405))/4)+-parseInt(e(437))/5+-parseInt(e(453))/6+-parseInt(e(406))/7*(parseInt(e(440))/8)+-parseInt(e(433))/9*(parseInt(e(426))/10)+parseInt(e(425))/11*(parseInt(e(407))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var Be=i(898),$e={attributes:{"data-cke":!0}};$e.setAttributes=Mt(),$e.insert=Rt().bind(null,"head"),$e.domAPI=xt(),$e.insertStyleElement=Et();Ot()(Be.A,$e);Be.A&&Be.A.locals&&Be.A.locals;const Je=Ge;function Ye(){const t=["revisionActionsView","fieldView","srcElement","220","806oKRsZX","select","creator","ck-revision-history-sidebar__actions_dropdown_open","bind","isEnabled","ck-reset","setName","603oiwbSY","closest","ck-revision-history-sidebar__revision_selected","ck-revision-history-sidebar__revision","fire","span","_revision",".ck-confirm-view","createdAt","ck-revision-history-sidebar__revision__date","element","isConfirm","deselect","ck-revision-history-sidebar__revision-authors","value","unhighlight","revisionNameView","3690GZIceg","authors","14701812mEvWPK","length","11011NkNuGp","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","ck-revision-history-sidebar__revision_highlighted","_requireRevisionName","isReady","ck-disabled","render","347012JayAuo","filter","setTemplate","map","_createdAtFormatted","highlight","set","1506jfpKTu","11kWyhHJ","change","838330nMCqyY","ck-revision-history-sidebar__revision__controls-wrapper","ck-revision-history-sidebar__revision-wrapper","327068fbDZAc","7048txziaj","from","20kFLmIp","name","unshift","isHighlighted","div","isActionsDropdownOpen","uiLanguage","listenTo","bindTemplate","isSelected","extendTemplate"];return(Ye=function(){return t})()}function Ge(t,e){const i=Ye();return(Ge=function(t,e){return i[t-=438]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(329776===-parseInt(e(500))/1+-parseInt(e(451))/2*(parseInt(e(476))/3)+parseInt(e(487))/4*(parseInt(e(503))/5)+parseInt(e(494))/6*(-parseInt(e(480))/7)+parseInt(e(501))/8*(parseInt(e(459))/9)+parseInt(e(497))/10*(-parseInt(e(495))/11)+parseInt(e(478))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Je(475)];[Je(447)];[Je(465)];[Je(483)];constructor(e,i,s,n){const r=Je;super(e);const o=this[r(444)],a=function(t,e){const i=r,s=Array[i(502)](e[i(477)])[i(488)](t=>t!=e[i(453)]);return e[i(453)]&&s[i(438)](e[i(453)]),s[i(490)](s=>new Pe(t,s,s==e[i(453)]))}(e,i);this.id=i.id,this[r(465)]=i,this[r(483)]=n,this[r(455)](r(504),r(467)).to(i),this[r(455)](r(491)).to(this,r(467),t=>{return i=e[r(442)],(s=t)[(n=ze)(120)](i,{month:n(116),day:n(118)})+", "+s[n(110)](i,{hour:n(118),minute:n(118)});var i,s,n}),this[r(493)](r(445),!1),this[r(493)](r(439),!1),this[r(493)](r(441),!1),this[r(493)](r(484),!1),this[r(493)](r(456),!1),this[r(475)]=new De(e,It.createLabeledInputText),this[r(475)][r(448)][r(446)]({attributes:{maxlength:r(450)}}),this[r(475)][r(448)][r(455)](r(473)).to(this,r(504),t=>t||this[r(491)]),this[r(475)][r(455)](r(456)).to(this,r(445),this,r(456),(t,e)=>t&&e),this[r(447)]=s&&s[r(479)]?function(e,i){const s=qe,n=e[s(441)],r=e[s(416)],o=(0,It.createDropdown)(r);o[s(420)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=qe,s=t[i(416)],n={"Compare against selected":at(s,i(412)),"Name this revision":at(s,i(438)),"Restore this revision":at(s,i(404))};return e[i(422)](t=>{const e=i,s=n[t[e(418)]];return s&&s!==t[e(418)]&&(t[e(418)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(442),model:new It.UIModel({label:t[n(418)],class:t[n(414)],withText:!0,role:n(448),_action:t[n(450)]})};i[n(427)][n(449)](n(424)).to(e,n(421),i=>n(410)!=typeof t[n(424)]||!i||t[n(424)](e)),o[n(446)](i)}return o}(e,i);return e[s(449)](s(421)).to(o,s(439)),o[s(419)][s(411)]({label:at(r,s(413)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(434)]({attributes:{class:[s(444),n.if(s(421),s(432))]},on:{click:n.to(t=>t[s(417)]())}}),o.on(s(415),t=>{const i=s;e[i(436)]&&i(410)==typeof t[i(408)][i(447)]&&t[i(408)][i(447)](e)}),(0,It.addListToDropdown)(o,a,{role:s(430)}),o[s(445)](e,s(423),(t,n,r)=>{const a=s;if(r)for(const t of o[a(443)][a(454)]){const s=t[a(428)][a(429)],n=i[a(435)](t=>t[a(450)]===s[a(447)])[a(409)];t[a(409)]=void 0===n||n(e)}}),o}(this,s):"",this[r(447)]&&this[r(447)][r(455)](r(456)).to(this),this[r(489)]({tag:r(440),attributes:{class:["ck",r(457),r(499),o.if(r(470),r(481))]},children:[{tag:r(440),attributes:{class:["ck",r(457),r(462),o.if(r(456),r(485),t=>!t),o.if(r(445),r(461)),o.if(r(439),r(482)),o.if(r(441),r(454))]},children:[this[r(475)],{tag:r(464),attributes:{class:["ck",r(468)]},children:[{text:o.to(r(491))}]},{tag:r(440),attributes:{class:["ck",r(498)]},children:[{tag:"ul",attributes:{class:["ck",r(472)]},children:a}]},this[r(447)]],on:{click:o.to(t=>{const e=r;t[e(449)][e(460)](e(466))||this[e(484)]&&this[e(456)]&&this[e(463)](e(452),{id:this.id})})}}]})}[Je(486)](){const t=Je;super[t(486)]();const e=this[t(475)][t(448)][t(469)];this[t(443)](e,t(496),()=>{const i=t;this[i(483)]&&!e[i(473)]||this[i(463)](i(458),{id:this.id,name:e[i(473)]}),e[i(473)]||(e[i(473)]=this[i(504)]?this[i(504)]:this[i(491)])})}[Je(452)](){this[Je(445)]=!0}[Je(471)](){this[Je(445)]=!1}[Je(492)](){this[Je(439)]=!0}[Je(474)](){this[Je(439)]=!1}}class Qe extends Error{}class Xe extends Qe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Qe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Qe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Qe{}class si extends Qe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Qe{}class ri extends Qe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let 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 Xs(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 ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Xs(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,(Ys({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Pi={};const Li=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=Li.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Li.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 Bi=new Map;function $i(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Ji{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 Yi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.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 Qi{static fromOpts(t){return Qi.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=Ls(s)||vs.defaultWeekSettings;return new Qi(o,a,c,u,r)}static resetCache(){Hi=null,Li.clear(),Wi.clear(),Ui.clear(),Zi.clear(),Bi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Qi.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?Qi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ls(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return $i(this,t,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 $i(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 $i(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 $i(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 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 s=Pi[i];return s||(s=new Intl.ListFormat(t,e),Pi[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=Bi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),Bi.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Xi=null;class ts extends Mi{static get utcInstance(){return null===Xi&&(Xi=new ts(0)),Xi}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)||ji.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=Ls(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(){Qi.resetCache(),ji.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+(Bs(t)?ks:ys)[e-1]}function Is(t,e){const i=Bs(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=$s(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=$s(c)):u>a?(c=s+1,u-=$s(s)):c=s;const{month:l,day:h}=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 Rs(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 As(t){const e=Ds(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Js(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 js(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 Ps(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ls(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 Bs(t){return t%4==0&&(t%100!=0||t%400==0)}function $s(t){return Bs(t)?366:365}function Js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ys(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function 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($s(t)-s+n)/7}function Qs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Xs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function 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(Ps(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:Ri,F:Ii,FF:Oi,FFF:Ni,FFFF:Ai};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}))?)?)?/,Rn=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),An=RegExp(`(?:T${Rn.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 jn(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 Pn(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Ln=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?Qs(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 Bn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,$n=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Yn(t){const[,e,i,s,n,r,o,a]=t;return[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))?)?/,An),Qn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,An),Xn=In(/(\d{4})-?(\d{3})/,An),tr=In(Rn),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,jn,Pn),ir=Sn(Mn,Fn,jn,Pn),sr=Sn(Vn,Fn,jn,Pn),nr=Sn(Fn,jn,Pn);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(En),cr=Sn(Fn,jn,Pn);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||Qi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Qi.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,[Ln,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)(Ps(e.values,t)||Ps(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 ji.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Qi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Qi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Qi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Qi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Qi.create(e,null,"gregory").eras(t)}static features(){return{relative: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 Rr(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Ar(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Rr).join("|")),deser:([i])=>t.findIndex(t=>Ar(i)===Ar(t))+e}}function 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=Lr(wn.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(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,Qs);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(Ps(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=ji.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(Ps(i,"a")&&Ps(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 Pr(t,e,i){return new jr(t,i).explainFromTokens(e)}function Lr(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 Br(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function $r(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Jr(t,e,i){return Br(Ys(t),e,i)}function Yr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Js(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=Ys(r);let[c,u]=Br(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(Qi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Qr(t,e){const i=t.c.year>9999||t.c.year<0;let 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 Xr(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=Qi.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=As(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]=Jr(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=$r(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||Qi.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:Qi.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:Qi.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:Qi.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=Qi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rs(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=$r(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,$s(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):As(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Jr(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],[Qn,ir],[Xn,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,[Bn,Yn],[$n,Yn],[Jn,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=Qi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Pr(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 Xe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Qi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Qi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?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=Ys(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=$r(a,r),l=$r(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return Bs(this.year)}get daysInMonth(){return Js(this.year,this.month)}get daysInYear(){return this.isValid?$s(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]=Jr(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}=Rs(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(Js(l.year,l.month),l.day))):l=Ns({...xs(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={},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=Qr(this,r);return o+="T",o+=Xr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Qr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Xr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Qr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let 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 js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Pr(Qi.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=Qi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new jr(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=Qi.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 Ri}static get DATETIME_HUGE_WITH_SECONDS(){return Ai}}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=vo,s=fo[i(298)](t)[i(312)](e),n=fo[i(311)](),r=n[i(309)]({days:1})[i(317)](i(307));let o,a;return s[i(303)](n,i(307))?(o=s[i(317)](i(307))[i(304)](),a=s[i(316)]()):s[i(303)](r,i(307))?(o=r[i(304)](),a=s[i(316)]()):s[i(303)](n,i(296))?(o=s[i(317)](i(296))[i(304)](),a=s[i(321)]||""):s[i(303)](n,i(308))?(o=s[i(317)](i(318))[i(304)](),a=s[i(310)]||""):(o=s[i(317)](i(308))[i(304)](),a=String(s[i(308)])),{startDate:o,localizedPeriodName:a}}function vo(t,e){const i=go();return(vo=function(t,e){return i[t-=296]})(t,e)}function go(){const t=["72055dhkNMV","2674392GUFKFc","weekdayLong","week","77145KNiQOn","fromJSDate","11875792EGgRFw","28klhJLa","1698XoGeVc","1722432CjSNTw","hasSame","toJSDate","3683140mZvvih","37268RIPIwC","day","year","minus","monthLong","local","setLocale","110XjADrq","12BtdJAz","18TuJOBz","toRelativeCalendar","startOf","month"];return(go=function(){return t})()}!function(t){const e=vo,i=t();for(;;)try{if(840107===parseInt(e(319))/1*(parseInt(e(300))/2)+-parseInt(e(320))/3+parseInt(e(314))/4*(parseInt(e(297))/5)+parseInt(e(301))/6*(-parseInt(e(306))/7)+parseInt(e(299))/8+-parseInt(e(315))/9*(parseInt(e(305))/10)+parseInt(e(313))/11*(parseInt(e(302))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(go);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;!function(t){const e=_o,i=t();for(;;)try{if(882868===-parseInt(e(148))/1*(-parseInt(e(171))/2)+-parseInt(e(149))/3+-parseInt(e(169))/4+parseInt(e(156))/5+parseInt(e(159))/6+-parseInt(e(157))/7*(parseInt(e(168))/8)+parseInt(e(144))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Io);class wo extends It.View{[bo(167)];[bo(158)];[bo(170)];[bo(166)];constructor(t,e,i,s){const n=bo;super(t);const r=po(e,this[n(165)][n(173)])[n(160)];this[n(167)]=e,this[n(158)]=this[n(153)](),this[n(170)]=i,this[n(166)]=s,this[n(158)][n(164)](n(146)).to(this),this[n(158)][n(164)](n(151)).to(this),this[n(161)]({tag:n(163),attributes:{class:["ck",n(152)]},children:[{tag:n(174),attributes:{class:["ck",n(155)]},children:[{text:r}]},{tag:n(163),attributes:{class:["ck",n(162)]},children:this[n(158)]}]})}[bo(154)](t){const e=bo,i=new Ke(this[e(165)],t,this[e(170)],this[e(166)]);this[e(158)][e(147)](i)}[bo(145)](t){const e=bo,i=this[e(158)][e(150)](e=>e.id===t.id);this[e(158)][e(172)](i)}}function _o(t,e){const i=Io();return(_o=function(t,e){return i[t-=144]})(t,e)}function Io(){const t=["addRevision","ck-revision-history-sidebar__time-period__label","4212390jxUzkp","119pSbDlT","revisionViews","6634248NYmdbW","localizedPeriodName","setTemplate","ck-revision-history-sidebar__time-period__revisions","div","delegate","locale","_requireRevisionName","startDate","593672wfkdYg","3136124qfzdtA","_revisionActions","156SIZFXs","remove","uiLanguage","span","4065012bTakGk","removeRevision","select","add","17693IPMRuK","2554368bFlMHT","find","setName","ck-revision-history-sidebar__time-period","createCollection"];return(Io=function(){return t})()}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Rt().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-=177]})(t,e)}function xo(){const t=["4632464dYngSE","content","ck-reset_all","Revision history","span","setTemplate","144711rsNgXa","173876tciUNZ","684957QbJtat","ck-revision-history-sidebar__header","div","4794oyWtgF","257686GyxAQt","ck-revision-history-sidebar__header__label","135464sSzCoM","495fDGeVD"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(140314===-parseInt(e(180))/1+-parseInt(e(185))/2+-parseInt(e(181))/3+parseInt(e(187))/4+-parseInt(e(188))/5*(-parseInt(e(184))/6)+-parseInt(e(179))/7+parseInt(e(189))/8)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(190)]=_t.IconHistory,this[e(178)]({tag:e(183),attributes:{class:["ck",e(191),e(182)]},children:[i,{tag:e(177),attributes:{class:["ck",e(186)]},children:[at(t,e(192))]}]})}}var Ro=i(692),Ao={attributes:{"data-cke":!0}};Ao.setAttributes=Mt(),Ao.insert=Rt().bind(null,"head"),Ao.domAPI=xt(),Ao.insertStyleElement=Et();Ot()(Ro.A,Ao);Ro.A&&Ro.A.locals&&Ro.A.locals;const Mo=Eo;function Vo(){const t=["createdAt","setName","ck-revision-history-sidebar","_addRevision","ck-revision-history-sidebar__timeline","selectRevision","revisionSetName","fire","56574aRPtrH","isEnabled","startDate","3592136zZKIOM","find","76bjlAjd","highlight","102umbWDK","52619kfXNQW","delegate","uiLanguage","some","locale","9185847PcYkRk","_removeRevision","addRevision","_requireRevisionName","deselect","highlightRevisions","remove","3119605vvwmtV","4OIIILD","flat","render","ck-reset","createCollection","get","990RsiRnl","setTemplate","1593660wGJSJY","bindTemplate","revisionSelected","div","14410xKPZMM","set","ck-rounded-corners","timePeriodViews","map","_revisionActions","getTime","12NfdABp","ck-disabled","revisionViews","_revisions","unhighlight","select","removeRevision","_getTimePeriodViewByStartDate","add"];return(Vo=function(){return t})()}function Eo(t,e){const i=Vo();return(Eo=function(t,e){return i[t-=205]})(t,e)}!function(t){const e=Eo,i=t();for(;;)try{if(334690===parseInt(e(256))/1*(-parseInt(e(227))/2)+-parseInt(e(223))/3+-parseInt(e(215))/4*(-parseInt(e(214))/5)+parseInt(e(258))/6*(parseInt(e(259))/7)+parseInt(e(254))/8+parseInt(e(251))/9*(-parseInt(e(221))/10)+-parseInt(e(207))/11*(-parseInt(e(234))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Vo);class Do extends It.View{[Mo(230)];[Mo(237)];[Mo(232)];[Mo(210)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(224)];this[n(230)]=this[n(219)](),this[n(230)][n(260)](n(239)).to(this),this[n(230)][n(260)](n(244)).to(this),this[n(237)]=e,this[n(232)]=i,this[n(210)]=s,this.on(n(239),(t,e)=>{const i=n;this[i(250)](i(225),e)}),this.on(n(244),(t,e)=>{const i=n;this[i(250)](i(249),e)}),this[n(228)](n(252),!1),this[n(222)]({tag:n(226),attributes:{class:["ck",n(218),n(229),n(245)]},children:[new No(t),{tag:n(226),attributes:{class:["ck",n(247),r.if(n(252),n(235),t=>!t)]},children:this[n(230)]}]})}[Mo(217)](){const t=Mo;super[t(217)]();for(const e of this[t(237)])this[t(246)](e);this[t(237)].on(t(242),(e,i)=>{this[t(246)](i)}),this[t(237)].on(t(213),(e,i)=>{this[t(208)](i)})}get[Mo(236)](){const t=Mo;return this[t(230)][t(231)](e=>e[t(236)][t(231)](t=>t))[t(216)]()}[Mo(248)](t){const e=Mo;for(const i of this[e(236)])t&&t.id===i.id?i[e(239)]():i[e(211)]()}[Mo(212)](t){const e=Mo;for(const i of this[e(236)])t[e(205)](({id:t})=>t===i.id)?i[e(257)]():i[e(238)]()}[Mo(246)](t){const e=Mo,i=po(t[e(243)],this[e(206)][e(261)])[e(253)];let s=this[e(230)][e(220)](0);s&&s[e(253)][e(233)]()===i[e(233)]()||(s=new wo(this[e(206)],i,this[e(232)],this[e(210)]),this[e(230)][e(242)](s)),s[e(209)](t)}[Mo(208)](t){const e=Mo,i=po(t[e(243)],this[e(206)][e(261)])[e(253)];this[e(241)](i)[e(240)](t)}[Mo(241)](t){const e=Mo;return this[e(230)][e(255)](i=>i[e(253)][e(233)]()===t[e(233)]())}}const Co=jo;function Fo(){const t=["nameRevision","data","ready","change:diff","map","isEnabled","locale","revisionHistory.requireRevisionName","isSelected","_handleRevisionSelected","pluginName","_revisions","getLaterVisibleRevision","appendChild","focus","12480912PJxEJe","repository","editor","destroy","render","defaultRevisionActions","1019460yTOiws","requires","revisionHistory","_createRevisionActions","listenTo","init","Restore this revision","bind","compareAgainstSelected","isPremiumPlugin","config","isReady","diff","Name this revision","revisionViews","revisionHistory.revisionActions","_sidebarView","highlightRevisions","revisionHistory.viewerSidebarContainer","restoreRevision","timePeriodViews","getRevisionsInDiff","1042433NfILcf","getRevision","_handleEditorDataReady","selectRevision","9016665HKZhwF","isOfficialPlugin","restoreRevisionCallback","setName","_handleRevisionSetName","newRevisionId","fieldView","3083298zeHwet","Compare against selected","6729870yWYMww","length","plugins","remove","getEarlierVisibleRevision","_revisionViewer","string","compare","name","2ljtFxi","revisionSelected","isVisible","availableRevisionActions","action","_revisionsRepository","get","RevisionsSidebar","revisionSetName","getIndex","select","element","_handleDiffChange","5600580AkQInJ","assign","add"];return(Fo=function(){return t})()}function jo(t,e){const i=Fo();return(jo=function(t,e){return i[t-=122]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(924761===-parseInt(e(150))/1+-parseInt(e(172))/2*(-parseInt(e(161))/3)+parseInt(e(128))/4+parseInt(e(163))/5+-parseInt(e(185))/6+-parseInt(e(154))/7+parseInt(e(122))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Fo);class Po extends G.Plugin{[Co(168)];[Co(177)];[Co(144)];static[Co(127)]=[Co(136),Co(147),Co(188)];static[Co(175)]=function(){const t=Co;return{compareAgainstSelected:{name:t(162),action:({plugins:e},i)=>{const s=t,n=e[s(178)](ce),r=n[s(123)];let o=n[s(140)][s(159)],a=i.id;r[s(181)](o)>r[s(181)](a)&&([o,a]=[a,o]),n[s(170)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(178)](ce);return!(n[s(123)][s(149)](n[s(140)])[s(164)]>2||i[s(196)])}},restoreRevision:{name:t(134),action:(e,{id:i})=>{const s=t;e[s(138)][s(178)](s(130))[s(156)](i)},isVisible:({plugins:e},i)=>!!e[t(178)](ce)[t(123)][t(200)](i.id)},nameRevision:{name:t(141),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(178)](ce),o=r[n(123)][n(167)](i);r[n(170)](i,o),s[n(202)](),s[n(160)][n(182)]()}}}}();static get[Co(198)](){return Co(179)}static get[Co(155)](){return!0}static get[Co(137)](){return!0}static get[Co(129)](){return[ce]}constructor(t){const e=Co;super(t),this[e(168)]=t[e(165)][e(178)](ce),this[e(177)]=this[e(168)][e(123)],this[e(144)]=null}[Co(133)](){const t=Co,e=this[t(177)][t(199)],i=this[t(131)](),s=this[t(124)][t(138)][t(178)](t(146));this[t(144)]=new Do(this[t(124)][t(194)],e,i,this[t(124)][t(138)][t(178)](t(195))),this[t(144)].on(t(173),this[t(197)][t(135)](this)),this[t(144)].on(t(180),this[t(158)][t(135)](this)),this[t(144)][t(135)](t(193)).to(this[t(168)]),this[t(144)][t(148)].on(t(187),(e,i)=>{const s=t;i[s(142)].on(s(187),(t,e)=>{const i=s;e[i(135)](i(193),i(139)).to(this[i(168)])})}),this[t(144)][t(126)](),this[t(132)](this[t(124)][t(189)],t(190),this[t(152)][t(135)](this)),this[t(132)](this[t(168)],t(191),this[t(184)][t(135)](this)),s[t(201)](this[t(144)][t(183)])}[Co(125)](){const t=Co;this[t(144)][t(183)][t(166)](),this[t(144)][t(125)]()}[Co(152)](){const t=Co,e=this[t(177)][t(151)](0);if(e){const i=this[t(177)][t(167)](e.id);this[t(168)][t(170)](e,i)}}[Co(197)](t,e){const i=Co,s=this[i(177)][i(151)](e.id),n=this[i(177)][i(167)](s.id);this[i(168)][i(170)](s,n)}[Co(158)](t,e){const i=Co;this[i(177)][i(151)](e.id)[i(157)](e[i(171)])}[Co(184)](t,e,i){const s=Co,n=this[s(177)][s(149)](i);n[s(164)]>2?(this[s(144)][s(145)](n),this[s(144)][s(153)](null)):(this[s(144)][s(145)]([]),this[s(144)][s(153)](n[0]))}[Co(131)](){const t=Co,e=this[t(124)],i=Po[t(175)],s=e[t(138)][t(178)](t(143))||Po[t(127)];if(s[t(164)])return s[t(192)](s=>{const n=t,r=n(169)==typeof s?Object[n(186)]({},i[s]):s;return r[n(176)]=r[n(176)][n(135)](this,e),r[n(174)]&&(r[n(174)]=r[n(174)][n(135)](this,e)),r})}}function Lo(t,e){const i=zo();return(Lo=function(t,e){return i[t-=229]})(t,e)}function zo(){const t=["2878827ukhpjQ","restore","1783464fRXbkx","setEditableElement","313035oPBXEM","438471IQRWUj","getRoot","viewportOffset","name","5579dQfBOR","4CQyVMe","element","config","1948408JbBhdv","view","rootName","bind","isFocused","editable","stickyPanel","_initToolbar","fire","destroy","detachDomRoot","fillFromConfig","isActive","init","componentFactory","addToolbar","viewportTopOffset","_elementReplacer","_toolbarConfig","render","_view","limiterElement","editing","get","2250dFpOoo","document","6280985BuvjZd","250bgBIFx","ready","editor","replace","focusTracker","toolbar","attachDomRoot"];return(zo=function(){return t})()}const Wo=Lo;!function(t){const e=Lo,i=t();for(;;)try{if(749132===-parseInt(e(253))/1+-parseInt(e(262))/2+-parseInt(e(249))/3+-parseInt(e(259))/4*(-parseInt(e(241))/5)+-parseInt(e(239))/6*(-parseInt(e(258))/7)+parseInt(e(251))/8+parseInt(e(254))/9*(parseInt(e(242))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Wo(235)];[Wo(233)];[Wo(232)];get[Wo(263)](){return this[Wo(235)]}constructor(e,i){const s=Wo;super(e),this[s(235)]=i,this[s(233)]=(0,It.normalizeToolbarConfig)(e[s(261)][s(238)](s(247))),this[s(232)]=new t.ElementReplacer}get[Wo(260)](){const t=Wo;return this[t(263)][t(260)]}[Wo(275)](t){const e=Wo,i=this[e(244)],s=this[e(263)],n=i[e(237)][e(263)],r=s[e(267)],o=n[e(240)][e(255)]();r[e(257)]=o[e(264)],s[e(234)]();const a=r[e(260)];this[e(252)](r[e(257)],a),s[e(267)][e(265)](e(266)).to(this[e(246)]),n[e(248)](a),this[e(232)][e(245)](t,this[e(260)]),this[e(269)](),this[e(270)](e(243))}[Wo(271)](){const t=Wo;super[t(271)]();const e=this[t(263)],i=this[t(244)][t(237)][t(263)];this[t(232)][t(250)](),i[t(272)](e[t(267)][t(257)]),e[t(271)]()}[Wo(269)](){const t=Wo,e=this[t(263)];e[t(268)][t(265)](t(274)).to(this[t(246)],t(266)),e[t(268)][t(236)]=e[t(260)],e[t(268)][t(265)](t(231)).to(this,t(256),({top:t})=>t),e[t(247)][t(273)](this[t(233)],this[t(229)]),this[t(230)](e[t(247)])}}var Ho=i(324),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Rt().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 Bo(t,e){var i=Jo();return(Bo=function(t,e){return i[t-=201]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(759050===parseInt(e(216))/1+-parseInt(e(217))/2*(-parseInt(e(204))/3)+-parseInt(e(212))/4+parseInt(e(210))/5+parseInt(e(202))/6+-parseInt(e(208))/7+parseInt(e(201))/8*(parseInt(e(214))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jo);class $o extends It.BoxedEditorUIView{[qo(218)];[qo(213)];[qo(219)];get[qo(211)](){return this[qo(218)]}constructor(t,e,i={}){var s=qo;super(t),this[s(213)]=new It.StickyPanelView(t),this[s(219)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(207)]}),this[s(218)]=new It.InlineEditableUIView(t,e)}[qo(215)](){var t=qo;super[t(215)](),this[t(213)][t(206)][t(203)](this[t(219)]),this[t(209)][t(203)](this[t(213)]),this[t(205)][t(203)](this[t(211)])}}function Jo(){var t=["3045000wRehXZ","stickyPanel","634689QrsQMN","render","259692wyegJq","244XJMdCe","_editable","toolbar","64mbLuxh","3736998kGvBas","add","7212kLpZai","main","content","shouldToolbarGroupWhenFull","9430491eImLlC","top","5637660jlpZhh","editable"];return(Jo=function(){return t})()}function Yo(){const t=["4464430zvSsJL","1161434cIQpTv","1541136OLKucz","fire","locale","initialData","ready","editing","1BHpYHC","document","destroy","733236eteyuT","164494hhpXqF","36cltmAC","create","630pISTFw","_ui","data","197848yvIhSC","config","createRoot","model","initPlugins","init","9bIQNBJ","1757565AUTlId","sourceElement","view","get","updateSourceElement"];return(Yo=function(){return t})()}const Go=Ko;function Ko(t,e){const i=Yo();return(Ko=function(t,e){return i[t-=136]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(575937===-parseInt(e(162))/1*(parseInt(e(155))/2)+-parseInt(e(148))/3*(-parseInt(e(165))/4)+-parseInt(e(154))/5+parseInt(e(137))/6*(parseInt(e(142))/7)+parseInt(e(156))/8+parseInt(e(149))/9+parseInt(e(139))/10*(parseInt(e(136))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yo);class Qo extends((0,G.ElementApiMixin)(G.Editor)){[Go(140)];get ui(){return this[Go(140)]}constructor(t,e){const i=Go;super(e),this[i(150)]=t,this[i(145)][i(163)][i(144)]();const s=new $o(this[i(158)],this[i(161)][i(151)],{shouldToolbarGroupWhenFull:!0});this[i(140)]=new Uo(this,s)}[Go(164)](){const t=Go;return this[t(153)](),this.ui[t(164)](),super[t(164)]()}static async[Go(138)](t,e){const i=Go,s=new this(t,e);return await s[i(146)](),await s.ui[i(147)](t),await s[i(141)][i(147)](s[i(143)][i(152)](i(159))||""),s[i(157)](i(160)),s}}const Xo=ta;function ta(t,e){const i=ia();return(ta=function(t,e){return i[t-=389]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(731359===parseInt(e(461))/1+-parseInt(e(491))/2+-parseInt(e(496))/3*(-parseInt(e(490))/4)+parseInt(e(538))/5+-parseInt(e(393))/6*(-parseInt(e(466))/7)+-parseInt(e(472))/8*(-parseInt(e(540))/9)+-parseInt(e(463))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ia);const ea=[Xo(543),Xo(426),Xo(449),Xo(407),Xo(424),Xo(473),Xo(499)];function ia(){const t=["toolbar","AIChatHistory","RevisionViewerIntegration","revision-history-missing-configuration","exitToEditing","showRevisionViewerCallback","toLocaleDateString","roots","enqueueChange","ck-tab-panel_disabled","hide","remove","getRevision","result","config","Autosave","44yOhtRe","2229408kQMTqz","requires","_restoreRevision","model","RevisionHistory","67941wcazyO","element","loadRevisionData","AIActions","revision-history-viewer-opened","catch","saveRevision","changesNavigation","view","revisionHistory.showRevisionViewerCallback","getRevisions","detachRoot","AITabs","push","DocumentOutline","refreshVisibility"," ck-tab-panel_disabled","revisionHistory","getUser","isAttached","removeSelectionAttribute","style","uiLanguage","Annotations","isRevisionViewerOpen","insert","markers","revisionHistory.closeRevisionViewerCallback","isOfficialPlugin","end","isReadOnly","error","create","editor","_recalculatePageBreaks","long","addRevisionData","commands","rootName","data","translations","get","3882205nojFLb","replace","342VSpqql","getRevisionDocumentData","has","RevisionHistoryUI","_enhanceShowRevisionViewerCallback","pluginName","locale","update","repository","Dialog","isAnonymous","numeric","createdAt","_update","addRoot","removeAttribute","class","createRangeIn","display","_showRevisionViewer","fromVersion","47946FJMFqI","lazyRoots","panelViews","block","adapter","set","_cleanUp","keys","_viewerEditor","refreshPositioning","$graveyard","document","RevisionViewer","getRoot","AIReviewMode","destroy",".ck-ai-chat-history .ck-input","fromCharCode","parse","revisionHistory.viewerEditorElement","toVersion","plugins","restoreRevision","isOpen","init","from","tabindex","setSelection","RevisionsRepository","none","RevisionHistoryUtils","AIBalloon","isReady","RestrictedEditingMode","_closeRevisionViewer","isPremiumPlugin","getRevisionRootsAttributes","setAttribute","selection","Users","_getRevisionViewerEditorConfig","revisionHistory.restoreRevisionCallback","revisionHistory.viewerContainer",".ck-ai-chat__prompt-input .ck-textarea","creator","users","toJSON","getMarkersGroup","PaginationLookup","join","isEnabled","change","Restored","indexOf","getAttributeKeys","toLocaleTimeString","AIChat","bind","RevisionTracker","name","disableReadOnlyMode","revisionHistory.requireRevisionName","closeRevisionViewerCallback","save","enableReadOnlyMode","revisionHistory.editorContainer","includes","addUser","94641uLyerM","querySelector","19261940WvuBcL","DocumentOutlineUI","then","1064yoYDUF","map","restrictedEditingException","define","_enhanceCloseRevisionViewerCallback","removeMarker","302616Hflqvy","AIQuickActions"];return(ia=function(){return t})()}class sa extends G.Plugin{[Xo(487)];static get[Xo(545)](){return Xo(476)}static get[Xo(524)](){return!0}static get[Xo(428)](){return!0}constructor(t){const e=Xo;function i(t){const e=ta;return t[e(467)](t=>String[e(410)](t))[e(442)]("")}super(t),this[e(487)]=e(525),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{[Xo(401)];static get[Xo(545)](){return Xo(495)}static get[Xo(524)](){return!0}static get[Xo(428)](){return!0}static get[Xo(492)](){return[pt,qt]}constructor(e){const i=Xo;if(super(e),!this[i(529)][i(488)][i(537)](i(513)))throw new t.CKEditorError(i(477),this);this[i(401)]=null,this[i(398)](i(520),!1),this[i(529)][i(488)][i(469)](i(505),t=>this[i(391)]({...t,translations:this[i(529)][i(546)][i(536)]})),this[i(529)][i(488)][i(469)](i(523),t=>this[i(427)](t)),this[i(529)][i(488)][i(469)](i(434),t=>this[i(493)](t)),this[i(529)][i(488)][i(469)](i(454),!1),this[i(544)](),this[i(470)]()}set[Xo(397)](t){const e=Xo;this[e(529)][e(414)][e(537)](e(451))[e(397)]=t}get[Xo(397)](){const t=Xo;return this[t(529)][t(414)][t(537)](t(451))[t(397)]}[Xo(532)](t){const e=Xo;return this[e(529)][e(414)][e(537)](e(451))[e(532)](t)}[Xo(486)](t){const e=Xo;return this[e(529)][e(414)][e(537)](e(421))[e(486)](t)}[Xo(506)](t){const e=Xo;return this[e(529)][e(414)][e(537)](e(421))[e(506)](t||{toJSON:!1})}[Xo(433)](){const e=Xo,i=this[e(529)],s=(0,K.sanitizeEditorConfig)(i,ea),n=i[e(414)][e(537)](e(451)),r=i[e(414)][e(537)](e(432))[e(438)];return s[e(474)]=[e(478),e(415),e(503)],delete s[e(394)],s[e(414)][e(509)](sa,ce,Ne,class extends G.Plugin{static get[e(492)](){return[ce,e(432)]}[e(417)](){const s=e,o=this[s(529)][s(414)][s(537)](s(432));for(const t of r)t[s(550)]||o[s(514)](t.id)||o[s(460)](t);const a=n[s(548)][s(506)]();let c=null;const u=this[s(529)][s(414)][s(537)](s(405));u[s(397)]=n[s(397)],u[s(450)](s(443)).to(n),this[s(529)][s(533)][s(537)](s(415))[s(450)](s(443)).to(i,s(526),t=>!t);for(const e of a){const i=null===e[s(437)];if(i&&e[s(413)]===e[s(392)])continue;const r=e[s(439)]();u[s(532)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(553)](r,o);else if(!o){const e=a[u(439)]();e.id=(0,t.uid)(),n[u(502)](e,a[u(413)])[u(465)](t=>{c=t})}}else e[u(553)](r,o)})}}},Po),s}[Xo(544)](){const t=Xo,e=this[t(529)][t(488)][t(537)](t(513))[t(479)];this[t(529)][t(488)][t(398)](t(505),async()=>{const i=t;this[i(529)][i(457)](i(500));const s=this[i(529)][i(414)][i(537)](i(451));if(this[i(529)][i(414)][i(542)](i(489))){const t=this[i(529)][i(414)][i(537)](i(489));await t[i(456)]()}else await s[i(547)]();if(this[i(529)][i(414)][i(542)](i(441))&&this[i(529)][i(414)][i(537)](i(441))[i(530)](),this[i(529)][i(414)][i(542)](i(549))){const t=this[i(529)][i(414)][i(537)](i(549));t[i(416)]&&t[i(484)]()}if(this[i(529)][i(414)][i(542)](i(508))){const t=this[i(529)][i(414)][i(537)](i(508))[i(504)][i(395)];for(const e of t)e[i(556)]=e[i(556)]?e[i(556)]+i(512):i(483);if(this[i(529)][i(414)][i(542)](i(449))){const t=document[i(462)](i(436));t&&t[i(430)](i(419),"-1")}if(this[i(529)][i(414)][i(542)](i(475))){const t=document[i(462)](i(409));t&&t[i(430)](i(419),"-1")}}const n=this[i(433)]();return e(n)[i(465)](t=>{const e=i;return this[e(401)]=t,this[e(529)][e(414)][e(542)](e(519))&&this[e(529)][e(414)][e(537)](e(519))[e(511)](),this[e(529)][e(414)][e(542)](e(510))&&(this[e(529)][e(414)][e(537)](e(464))[e(504)][e(497)][e(517)][e(390)]=e(422)),t})[i(501)](t=>(console[i(527)](t),this[i(529)][i(453)](i(500)),null))})}[Xo(470)](){const t=Xo,e=this[t(529)][t(488)][t(537)](t(513))[t(455)];this[t(529)][t(488)][t(398)](t(523),()=>{const i=t;if(this[i(529)][i(414)][i(542)](i(441))&&this[i(529)][i(414)][i(537)](i(441))[i(530)](),this[i(529)][i(414)][i(542)](i(510))&&(this[i(529)][i(414)][i(537)](i(464))[i(504)][i(497)][i(517)][i(390)]=""),this[i(529)][i(414)][i(542)](i(508))){const t=this[i(529)][i(414)][i(537)](i(508))[i(504)][i(395)];for(const e of t)e[i(556)]=i(483)===e[i(556)]?"":e[i(556)][i(539)](i(512),"");if(this[i(529)][i(414)][i(542)](i(449))){const t=document[i(462)](i(436));t&&t[i(555)](i(419))}if(this[i(529)][i(414)][i(542)](i(475))){const t=document[i(462)](i(409));t&&t[i(555)](i(419))}}return this[i(401)][i(414)][i(537)](i(405))[i(399)](),e(this[i(401)])[i(465)](()=>{const t=i;if(this[t(529)][t(453)](t(500)),this[t(401)]=null,this[t(529)][t(414)][t(542)](t(519))){const e=this[t(529)][t(414)][t(537)](t(519));e[t(511)](),e[t(402)]()}})})}[Xo(391)](t){const e=Xo,i=this[e(529)][e(488)][e(537)](e(458)),s=this[e(529)][e(488)][e(537)](e(435)),n=this[e(529)][e(488)][e(537)](e(412));return Qo[e(528)](n,t)[e(465)](t=>(s[e(517)][e(390)]=e(396),i[e(517)][e(390)]=e(422),this[e(520)]=!0,t))}[Xo(427)](t){const e=Xo,i=this[e(529)][e(488)][e(537)](e(458));return this[e(529)][e(488)][e(537)](e(435))[e(517)][e(390)]=e(422),i[e(517)][e(390)]="",this[e(520)]=!1,t[e(408)]()}async[Xo(493)](t){const e=Xo,i=this[e(529)],s=this[e(401)][e(414)][e(537)](e(405)),n=i[e(414)][e(537)](e(451)),r=i[e(414)][e(537)](e(423)),o=s[e(548)][e(486)](t);let a,c,u;try{await r[e(498)](o,this[e(397)]),a=r[e(541)](o),c=r[e(429)](o)}catch(t){return void console[e(527)](t)}i[e(494)][e(444)](t=>{const s=e;for(const e of Array[s(418)](i[s(494)][s(522)][s(440)](s(468))))t[s(471)](e)}),s[e(425)]=!1,i[e(494)][e(482)](t=>{const s=e;t[s(420)](null),t[s(516)](i[s(494)][s(404)][s(431)][s(447)]());const n=Object[s(400)](a);for(const e of i[s(494)][s(404)][s(481)])s(403)!=e[s(534)]&&e[s(515)]()&&!n[s(459)](e[s(534)])&&t[s(507)](e);for(const e of n){let n=i[s(494)][s(404)][s(406)](e);n&&n[s(515)]()||(n=t[s(554)](e));const r=c[e],o=Object[s(400)](r),u=a[e];for(const e of n[s(447)]())o[s(459)](e)||t[s(555)](e,n);for(const i of o)t[s(430)](i,c[e][i],n);t[s(485)](t[s(389)](n)),t[s(521)](i[s(535)][s(411)](u,n),n,0)}});const l=at(i[e(546)],e(445));return u=o[e(452)]?-1==o[e(452)][e(446)](l)?l+": "+o[e(452)]:o[e(452)]:l+": "+o[e(552)][e(480)](i[e(546)][e(518)],{month:e(531),day:e(551)})+", "+o[e(552)][e(448)](i[e(546)][e(518)],{hour:e(551),minute:e(551)}),await n[e(502)]({name:u}),s[e(425)]=!0,i[e(488)][e(537)](e(513))[e(455)]()}}function ra(){var t=["8980412AWNbyH","10841208JUPGKg","3413172yKnItl","53645640tDXwcY","1137742VhVNEB","5QTJulp","8XWIfGI","7495884pxXvwV","7107804xyUSRz","1UESYsp"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=206]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(957800===parseInt(e(206))/1*(-parseInt(e(211))/2)+parseInt(e(209))/3+parseInt(e(214))/4*(parseInt(e(212))/5)+parseInt(e(208))/6+parseInt(e(207))/7*(parseInt(e(213))/8)+parseInt(e(215))/9+-parseInt(e(210))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();