@ckeditor/ckeditor5-revision-history 47.3.0-alpha.6 → 47.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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:()=>qt,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,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)\]/,L=/^\w*$/;function j(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(L.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let s=0,n="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),s++);s<i;){const a=t[s];r?"\\"===a&&s+1<i?(s++,n+=t[s]):a===r?r="":n+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(n),n=""):n+=a:"["===a?(o=!0,n&&(e.push(n),n="")):"."===a?n&&(e.push(n),n=""):n+=a,s++}return n&&e.push(n),e}function U(t,e,i){return function(t,e,i,s){if(null==t&&!z(t))return t;const n=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<n.length&&null!=r;e++){const o=P(n[e]);if(M(o))continue;let a;if(e===n.length-1)a=i(r[o]);else{const i=r[o],c=s?.(i,o,t);a=void 0!==c?c:z(i)?i:C(n[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function 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,W(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=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}}function $(){const t=["toVersion","map","set","setName","model","creatorId","authors","toJSON","fire","5600580wHUOeS","_update","2580006kkpPYl","4095wfHGdZ","658294iBduAz","creator","fromVersion","authorsIds","3148yyeVxx","createdAt","549672WtghGQ","name","attributes","setAttribute","35504mNUtoz","removeAttribute","63YHbydK","diffData","6804714Ghbfdr"];return($=function(){return t})()}function B(t,e){const i=$();return(B=function(t,e){return i[t-=495]})(t,e)}const Y=B;!function(t){const e=B,i=t();for(;;)try{if(520485===-parseInt(e(511))/1+parseInt(e(501))/2+-parseInt(e(499))/3+parseInt(e(505))/4*(parseInt(e(500))/5)+parseInt(e(497))/6+-parseInt(e(515))/7+-parseInt(e(507))/8*(-parseInt(e(513))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}($);class J extends((0,t.ObservableMixin)()){id;[Y(502)];[Y(522)];[Y(514)];[Y(516)];[Y(503)];[Y(520)];constructor(e){const i=Y;super(),this.id=e.id||(0,t.uid)(),this[i(502)]=e[i(502)]||null,this[i(522)]=e[i(522)]||[],this[i(514)]=e[i(514)]||null,this[i(516)]=e[i(516)]||0,this[i(503)]=e[i(503)]||0,this[i(518)](i(508),e[i(508)]||""),this[i(518)](i(506),e[i(506)]||new Date),this[i(518)](i(509),e[i(509)]||{})}[Y(519)](t){this[Y(498)]({name:t})}[Y(510)](t,e){const i=Y,s=A(this[i(509)]);U(s,t,e),this[i(498)]({attributes:s})}[Y(512)](t){const e=Y,i=A(this[e(509)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&Z(e))return q(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(498)]({attributes:i})}[Y(498)](t,e=!1){const i=Y;let s=!1;const n={id:this.id},r=[i(508),i(506),i(514),i(522),i(509),i(516),i(503),i(521)];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(522)]&&(n[i(504)]=n[i(522)][i(517)](t=>t.id),delete n[i(522)]),this[i(496)](i(498),n,e))}[Y(495)](){const t=Y;return{id:this.id,name:this[t(508)],creatorId:this[t(502)]?this[t(502)].id:null,authorsIds:this[t(522)][t(517)](t=>t.id),diffData:this[t(514)],createdAt:this[t(506)],attributes:this[t(509)],fromVersion:this[t(503)],toVersion:this[t(516)]}}}var G=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["7IWbBOs","72XBzUsc","getRevisions","getLaterVisibleRevision","diffData","createRevision","getIndex","fromVersion","push","plugins","getEarlierVisibleRevision","creatorId","requires","2UhYQQY","data","add","pluginName","1159053MRTpAk","map","9AYznvk","authorsIds","earlier","attributes","204975ZZANbZ","get","9863920qWPdvJ","addRevision","isOfficialPlugin","createdAt","length","from","toJSON","href","editor","getUser","RevisionsRepository","getRevisionsIterator","6272550YJteIF","fromCharCode","join","name","reverse","newRevisionId","getRevisionsInDiff","_revisions","isPremiumPlugin","2559944niUXUW","later","isNaN","getRevision","1078078iTAjCf","toVersion","Users","oldRevisionId","3811776oQDesr","afterInit"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=467]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(647206===-parseInt(e(507))/1*(parseInt(e(488))/2)+parseInt(e(511))/3+parseInt(e(484))/4+-parseInt(e(517))/5*(-parseInt(e(495))/6)+-parseInt(e(494))/7*(-parseInt(e(492))/8)+-parseInt(e(513))/9*(-parseInt(e(475))/10)+-parseInt(e(519))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[Q(482)];static get[Q(506)](){return[K.Users]}static get[Q(510)](){return Q(473)}static get[Q(521)](){return!0}static get[Q(483)](){return!0}get[Q(467)](){const t=Q;return this[t(482)][t(467)]}constructor(e){const i=Q;super(e),this[i(482)]=new t.Collection}[Q(493)](){!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=et;for(const e in window)if(window[k([78,117,109,98,101,114])][i(486)](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=et;return t[e(512)](t=>String[e(476)](t))[e(477)]("")}!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:1764633600;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=et,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[k([108,111,99,97,116,105,111,110])][t(470)]);if(i[k([105,110,99,108,117,100,101,115])](s))return!0;const n=s[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=n[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(n[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>n[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&s?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),s[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||s||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[Q(499)](t){const e=Q,i=this[e(471)][e(503)][e(518)](e(490));return new J({id:t.id,name:t[e(478)],creator:t[e(505)]?i[e(472)](t[e(505)]):null,diffData:t[e(498)]||t[e(508)],authors:t[e(514)][e(512)](t=>i[e(472)](t)),createdAt:new Date(t[e(522)]),attributes:t[e(516)],fromVersion:t[e(501)],toVersion:t[e(489)]})}[Q(520)](t,e=0){const i=Q;this[i(482)][i(509)](t,e)}[Q(487)](t){const e=Q;return this[e(482)][e(518)](t)}[Q(496)](t={toJSON:!1}){const e=Q,i=Array[e(468)](this[e(482)]);return i[e(479)](),t[e(469)]?i[e(512)](t=>t[e(469)]()):i}[Q(500)](t){const e=Q;return this[e(482)][e(500)](t)}[Q(504)](t){const e=Q,[,i]=this[e(474)](t,{direction:e(515)});return i}[Q(497)](t){const e=Q,[,i]=this[e(474)](t,{direction:e(485)});return i}[Q(481)](t){const e=Q,i=[];for(const s of this[e(474)](t[e(480)]))if(i[e(502)](s),s.id===t[e(491)])break;return i}*[Q(474)](t,{direction:e=Q(515),filter:i=()=>!0}={}){const s=Q,n=s(515)===e?1:-1;let r=this[s(482)][s(518)](t),o=this[s(500)](r);for(yield r;r;){if(o+=n,r=this[s(487)](o),!r)return;i(r)&&(yield r)}}}function st(){const t=["string","parse","domChildrenToView","map","168otYyIg","706924BehggW","45138iEkCZu","document","attributes","getRevisionDocumentData","toModel","attachChange","data-revision-","diffData","name","filter","marked","getRevisionRootsAttributes","insertions","childNodes","_viewClassToTypeChar","startsWith","append","editing","_getTypeCharForViewElement","_appendChild","domConverter","_removeRevisionMarkers","constructor","296oyowlv","revision-end","_makeModelFromViewString","render","data","editor","toData","isAttached","_typeCharToViewClass","type","855aYZrkC","collaboration.channelId","viewChildrenToDom","htmlProcessor","isPremiumPlugin","innerHTML","forEach","2615232xHAKrG","12655773LMEtCH","customProperties","createElement","get","length","revision-start","config","view","_setCustomProperty","getRevision","16254cBuKmT","domDocument","useFillerType","RevisionHistoryUtils","children","div","_getViewFromDiffObj","296135snKssy","attributesAfter","processor","getFillerOffset","isOfficialPlugin","pluginName","loadRevisionData","18273760uxAlDe","fillerOffset","default","from"];return(st=function(){return t})()}function nt(t,e){const i=st();return(nt=function(t,e){return i[t-=381]})(t,e)}const rt=nt;!function(t){const e=nt,i=t();for(;;)try{if(794401===parseInt(e(397))/1+parseInt(e(438))/2+parseInt(e(449))/3*(-parseInt(e(421))/4)+parseInt(e(431))/5*(-parseInt(e(398))/6)+parseInt(e(381))/7*(parseInt(e(396))/8)+parseInt(e(439))/9+-parseInt(e(388))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(st);class ot extends G.Plugin{static get[rt(386)](){return rt(452)}static get[rt(385)](){return!0}static get[rt(435)](){return!0}[rt(412)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[rt(429)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[rt(387)](t,e){const i=rt;if(t[i(405)]||!e)return;const s=this[i(426)][i(445)][i(442)](i(432)),n=await e[i(448)]({channelId:s,revisionId:t.id});t[i(405)]=n[i(405)]}[rt(401)](t){const e=rt,i={};for(const s in t[e(405)]){if(t[e(405)][s][e(403)]&&!t[e(405)][s][e(403)][e(428)])continue;const n=this[e(419)](JSON[e(393)](t[e(405)][s][e(410)])),r=this[e(426)][e(415)][e(446)][e(399)],o=new X.ViewDocumentFragment(r,n[e(395)](t=>this[e(455)](t,!1)));this[e(426)][e(425)][e(383)][e(451)](e(408)),i[s]=this[e(426)][e(425)][e(383)][e(427)](o),this[e(426)][e(425)][e(383)][e(451)](e(390))}return i}[rt(409)](t){const e=rt,i={};for(const s in t[e(405)])t[e(405)][s][e(403)]&&!t[e(405)][s][e(403)][e(428)]||(i[s]=t[e(405)][s][e(382)]||{});return i}[rt(416)](t){const e=rt;return this[e(412)][e(442)](t[e(420)])}[rt(455)](t,e){const i=rt,s=this[i(426)][i(415)][i(446)][i(399)];if(i(392)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(430)]||"r"==t[i(430)]?[]:t[i(453)][i(395)](t=>this[i(455)](t,e));const o=this[i(429)][i(442)](t[i(430)])||X.ViewElement,a=this[i(426)][i(425)][i(434)][i(418)];if(n=new o(s,t[i(406)],t[i(400)],r),"u"==t[i(430)]&&t[i(453)][0]){const r=t[i(453)][0];if(n[i(424)]=function(t){const e=i,s=t[e(441)](e(454));return s[e(436)]=r,s[e(411)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(417)](n);const e=Array[i(391)](a[i(433)](t,{bind:!1})),r=a[i(450)][i(441)](i(454));r[i(414)](...e),n=Array[i(391)](a[i(394)](r))[0]}}else if("r"==t[i(430)]&&t[i(453)][0]){const r=t[i(453)][0];if(n[i(424)]=function(t){t[i(436)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(417)](n);const e=Array[i(391)](a[i(433)](t,{bind:!1})),r=a[i(450)][i(441)](i(454));r[i(414)](...e);const o=Array[i(391)](a[i(394)](r));o[i(443)]>1?n[i(417)](o):n=o[0]}}if(t[i(440)])for(const[e,s]of t[i(440)])n[i(447)](e,s);const c=void 0===t[i(389)]?null:t[i(389)];return null!==c&&(n[i(384)]=()=>c),n}}[rt(423)](t){const e=rt,i=JSON[e(393)](t),s=this[e(426)][e(415)][e(446)][e(399)],n=new X.ViewDocumentFragment(s,i[e(395)](t=>this[e(455)](t,!0)));return this[e(426)][e(425)][e(402)](n)}[rt(419)](t){const e=rt;return(t=t[e(407)](t=>!t[e(406)]||e(444)!==t[e(406)]&&e(422)!==t[e(406)]))[e(437)](t=>{const i=e;i(392)!=typeof t&&(t[i(453)]=this[i(419)](t[i(453)]),t[i(400)]=t[i(400)][i(407)](t=>!t[0][i(413)](i(404))))}),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=kt();return(mt=function(t,e){return i[t-=115]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(634315===parseInt(e(304))/1+parseInt(e(163))/2+-parseInt(e(413))/3*(-parseInt(e(263))/4)+-parseInt(e(283))/5+-parseInt(e(377))/6+parseInt(e(373))/7+parseInt(e(322))/8*(-parseInt(e(276))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(kt);class pt extends G.Plugin{[ft(431)];[ft(170)];[ft(229)]=null;[ft(132)];[ft(298)]=null;[ft(387)];[ft(192)];[ft(372)];[ft(430)];[ft(247)];[ft(253)];[ft(336)];[ft(324)];[ft(379)];static get[ft(359)](){return ft(198)}static get[ft(195)](){return!0}static get[ft(428)](){return!0}static get[ft(175)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(132)]=this[i(345)][i(432)][i(115)](i(242)),this[i(247)]=this[i(345)][i(432)][i(115)](i(184)),this[i(387)]=new vt(this[i(345)]),this[i(372)]=this[i(345)][i(269)][i(115)](i(296))||i(310),this[i(430)]=new Map,this[i(379)]=null;const s=(0,t.uid)();this[i(192)]={history:this[i(345)][i(125)][i(156)][i(238)],getLatestVersion:()=>Promise[i(357)](this[i(345)][i(125)][i(156)][i(169)]),getCurrentRevisionId:()=>s},this[i(415)](i(364),!1),this[i(415)](i(203),!0),this[i(415)](i(398),!1),this[i(345)][i(269)][i(350)](i(285),!0),this[i(345)][i(400)][i(117)](i(257))[i(168)]({view:i(121)})}[ft(215)](){const t=ft;this[t(234)](),this[t(345)][t(149)].on(t(337),()=>{const e=t,i=this[e(132)][e(309)](0),s=i&&null===i[e(321)]?i:null;if(this[e(336)]=!!s&&this[e(345)][e(269)][e(115)](e(285)),this[e(345)][e(432)][e(376)](e(404))){const t=this[e(192)][e(182)](),n=this[e(132)][e(309)](t);if(n)this[e(324)]=n[e(339)],this[e(336)]=!1;else{const t=this[e(192)][e(238)][e(164)][e(295)](t=>!t[e(162)]),n=t?t[e(243)]:this[e(192)][e(238)][e(169)];i?(i[e(328)]<n&&i[e(226)]({toVersion:n}),this[e(336)]?(this[e(192)][e(182)]=()=>s.id,this[e(324)]=s[e(339)]):(this[e(324)]=i[e(328)],this[e(336)]=!1)):(this[e(324)]=n,this[e(336)]=!1)}}else s&&(this[e(345)][e(125)][e(156)][e(238)][e(169)]=Math[e(358)](s[e(328)],this[e(345)][e(125)][e(156)][e(238)][e(169)]),s[e(339)]===s[e(328)]?(0!==s[e(339)]&&(this[e(192)][e(182)]=()=>s.id),this[e(336)]=!1):this[e(336)]&&(this[e(192)][e(182)]=()=>s.id,this[e(324)]=s[e(339)])),this[e(336)]||(this[e(324)]=this[e(345)][e(125)][e(156)][e(169)]);this[e(387)][e(215)](this[e(192)][e(238)]),this[e(403)](this[e(324)]),this[e(349)](this[e(324)]),this[e(298)]&&this[e(342)]()}),this[t(223)](t(364)).to(this,t(398),t=>!t),this[t(431)]=this[t(345)][t(269)][t(115)](t(431));const e=this[t(345)];this[t(170)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(306)==r||i(135)==r||i(237)==r||i(362)==r||i(346)==r||i(414)==r||i(120)==r||i(425)==r){delete e[n],s=r,clearInterval(this[i(170)]),this[i(170)]=void 0;break}}i(135)==s&&e[i(320)](i(314)),i(237)==s&&e[i(320)](i(258)),i(362)==s&&e[i(320)](i(374)),i(346)==s&&e[i(320)](i(248),i(225)),i(414)==s&&e[i(320)](i(313)),i(120)==s&&e[i(320)](i(308)),i(425)==s&&e[i(320)](i(118))},1e3)}async[ft(317)](){const t=ft;if(this[t(132)][t(158)]>0){const e=this[t(132)][t(309)](0),i=await this[t(122)](e),s=await this[t(407)](e);this[t(205)](i,s)}}[ft(204)](){const t=ft;super[t(204)](),this[t(170)]&&clearInterval(this[t(170)])}[ft(278)](t){this[ft(192)]=t}async[ft(365)](){const t=ft,e=await this[t(192)][t(424)]();if(e>this[t(229)][t(328)]){await this[t(316)]();const i=this[t(131)]({revision:this[t(229)],to:e});i[t(426)]=i[t(268)][t(181)](e=>this[t(345)][t(432)][t(115)](t(347))[t(325)](e)),this[t(229)][t(226)](i)}}async[ft(231)](e={},i=null){const s=ft,n=[];await this[s(316)](),this[s(336)]=!1,i>this[s(229)][s(328)]&&(i=null),null===i&&(i=await this[s(192)][s(424)]());const r=this[s(145)](i),o=this[s(131)]({from:r,to:i});if(this[s(229)][s(328)]<i){const t=this[s(131)]({revision:this[s(229)],from:i,to:i});t[s(426)]=[],t[s(268)]=[],t.id=this[s(229)].id,this[s(229)][s(226)](t,!0),delete t[s(426)],n[s(129)](t)}e[s(392)]=this[s(345)][s(432)][s(115)](s(347)).me.id,e[s(191)]=e[s(191)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(179)](e);n[s(129)](e);const c=this[s(132)][s(305)](a);if(0!==c){const t=this[s(132)][s(309)](c-1);if(t[s(339)]!==i){const r=this[s(387)][s(186)](i,t[s(328)]),o={id:t.id,diffData:r[s(272)],authorsIds:r[s(268)],authors:r[s(268)][s(181)](t=>this[s(345)][s(432)][s(115)](s(347))[s(325)](t)),fromVersion:i};t===this[s(229)]&&(o[s(246)]=new Date(e[s(246)][s(213)]()+10)),t[s(226)](o,!0),delete o[s(426)],n[s(129)](o)}}if(this[s(298)]){for(const t of n)this[s(219)](t.id,t,!0);this[s(342)]()}return a}[ft(179)](t){const e=ft,i=this[e(132)][e(207)](t);return this[e(298)]&&i.on(e(226),(t,i,s)=>{const n=e;s||(this[n(219)](i.id,i,!0),this[n(342)]())}),this[e(132)][e(319)](i,this[e(232)](i)),i}async[ft(122)](t){const e=ft;return await this[e(247)][e(367)](t,this[e(298)]),this[e(247)][e(122)](t)}async[ft(407)](t){const e=ft;return await this[e(247)][e(367)](t,this[e(298)]),this[e(247)][e(407)](t)}[ft(342)](){const t=ft;if(0===this[t(430)][t(323)])return;if(this[t(398)])return;let e=Array[t(280)](this[t(430)][t(185)]());this[t(430)][t(144)]();for(let i=0;i<e[t(158)];i++){const s=e[i];let n=!1;for(const e of Object[t(394)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(422)](t=>null!==t),!e[t(158)])return;for(let i=0;i<e[t(158)];i++){const s=e[i];void 0!==s[t(339)]&&void 0===s[t(328)]&&(s[t(328)]=this[t(132)][t(309)](s.id)[t(328)]),void 0!==s[t(328)]&&void 0===s[t(339)]&&(s[t(339)]=this[t(132)][t(309)](s.id)[t(339)])}const i=this[t(345)][t(269)][t(115)](t(296));this[t(398)]=!0,this[t(388)](),this[t(298)][t(206)](e,i)[t(435)](()=>{this[t(398)]=!1})[t(200)](e=>{const i=t;if(e)for(const t of e)this[i(174)]({id:t.id,createdAt:t[i(246)]});this[i(130)](),this[i(342)]()})}[ft(131)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(339)],i=null!==i?i:t[s(328)];const n=this[s(387)][s(186)](e,i),r={diffData:n[s(272)],authorsIds:n[s(268)],fromVersion:e,toVersion:i};if(!t||i!==t[s(328)]){const t=i-1,e=this[s(192)][s(238)][s(360)](t);r[s(246)]=e&&e[s(246)]||new Date}if(this[s(379)]&&e===this[s(379)][s(339)])for(const t of this[s(379)][s(426)])r[s(268)][s(188)](t.id)||r[s(268)][s(129)](t.id);return r}[ft(219)](t,e,i){const s=ft;if(this[s(430)][s(376)](t)){const n=this[s(430)][s(115)](t);e=i?{...n,...e}:{...e,...n}}this[s(430)][s(415)](t,e)}[ft(174)](t){const e=ft,i=this[e(132)][e(309)](t.id);if(t[e(246)]&&(t[e(246)]=new Date(t[e(246)])),t[e(268)]){const i=this[e(345)][e(432)][e(115)](e(347));t[e(426)]=t[e(268)][e(181)](t=>i[e(325)](t))}i[e(226)](t,!0)}[ft(403)](t){const e=ft,i=this[e(132)][e(309)](this[e(132)][e(158)]-1);if(i)this[e(372)]=i.id;else{const i=!this[e(345)][e(125)][e(156)][e(333)][e(295)](t=>this[e(345)][e(125)][e(409)](t)),s=this[e(345)][e(432)][e(115)](e(347)).me.id,n=at(this[e(345)][e(312)],e(i?270:212));this[e(423)]({from:t,to:t,id:this[e(372)],name:n,creatorId:s})}}[ft(349)](t){const e=ft,i=this[e(192)][e(182)]();this[e(229)]=this[e(132)][e(309)](i),this[e(229)]||(this[e(229)]=this[e(423)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(316)](){const t=ft;this[t(336)]&&!this[t(379)]&&(await this[t(247)][t(367)](this[t(229)],this[t(298)]),this[t(387)][t(235)](this[t(229)]),this[t(379)]={fromVersion:this[t(229)][t(339)],authors:this[t(229)][t(426)][t(307)]()})}[ft(205)](e,i){const s=ft;let n=this[s(345)][s(269)][s(115)](s(139)),r=this[s(345)][s(269)][s(115)](s(368));if(void 0===n){n={};for(const t of this[s(345)][s(125)][s(156)][s(282)]())n[t]=""}if(s(157)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(345)][s(125)][s(156)][s(282)]())r[t]={}}let o=!1;const a=Object[s(394)](n),c=Object[s(394)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(335)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(394)](r[t])[s(158)]>0){o=!0;break}}o||(o=c[s(315)](t=>!this[s(345)][s(125)][s(156)][s(318)](t))),o&&(0,t.logWarning)(s(273),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(345)][s(269)][s(415)](s(139),e),this[s(345)][s(269)][s(415)](s(368),i)}[ft(388)](){const t=ft;if(!this[t(253)]){const e=this[t(345)][t(432)][t(115)](t(361));this[t(253)]=e[t(344)](at(this[t(345)][t(312)],t(274)))}}[ft(130)](){const t=ft;this[t(253)]&&(this[t(345)][t(432)][t(115)](t(361))[t(284)](this[t(253)]),this[t(253)]=null)}[ft(232)](t){const e=ft,i=this[e(132)][e(427)]();i[e(334)]();let s=0;for(;s<i[e(158)];){const n=i[s];if(n===this[e(229)]){s++;continue}if(n.id===this[e(372)])break;const r=t[e(328)]-n[e(328)]||t[e(339)]-n[e(339)];if(r>0)break;if(r<0)s++;else{if(!t[e(321)]&&n[e(321)])break;if(n[e(321)]||!t[e(321)]){if(t[e(246)]>n[e(246)])break;s++}else s++}}return s}[ft(145)](t){const e=ft,i=this[e(132)][e(427)]();i[e(334)](),i[e(190)]();const s=i[e(295)](i=>i[e(328)]<=t)[e(328)];return s<this[e(324)]?this[e(324)]:s}[ft(423)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(131)]({from:e,to:i});o[r(191)]=t,o[r(392)]=s,o.id=n;const a=this[r(179)](o);return this[r(298)]&&this[r(219)](o.id,o,!0),a}[ft(234)](){const t=ft;this[t(345)][t(400)][t(117)](t(302))[t(202)]({model:t(121)})}}class vt{[ft(345)];[ft(390)];[ft(178)];[ft(218)];[ft(256)];[ft(220)];[ft(326)];[ft(211)];[ft(137)];[ft(134)];[ft(119)];[ft(384)];[ft(208)];[ft(196)];[ft(433)];[ft(261)];[ft(172)];constructor(t){const e=ft;this[e(345)]=t,this[e(178)]=new Map,this[e(218)]=-1,this[e(256)]=-1,this[e(220)]=new Map,this[e(326)]=new Map,this[e(211)]=new Map,this[e(137)]=new Map,this[e(134)]=new Map,this[e(119)]=new Map,this[e(384)]=new Map,this[e(208)]=new Map,this[e(196)]=new Map,this[e(433)]=new Map,this[e(261)]=1}[ft(215)](t){const e=ft;this[e(390)]=t;const i=new Map,s=new Map,n=this[e(345)][e(125)][e(156)][e(333)][e(181)](t=>t[e(264)]);for(const t of n){const n=this[e(345)][e(125)][e(156)][e(318)](t),r=gt(n);i[e(415)](t,r),s[e(415)](t,Object[e(418)](n[e(421)]()))}const r=Array[e(280)](this[e(345)][e(125)][e(209)])[e(181)](t=>[t[e(191)],t[e(140)]()]),o=this[e(390)][e(169)];this[e(160)](o,i,r,s),this[e(172)]=this[e(261)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(415)](t,i),c[e(415)](t,{})}this[e(160)](Number[e(155)],a,[],c)}[ft(186)](t,e){const i=ft;if(this[i(218)]===t&&this[i(256)]<=e)this[i(178)][i(323)]>1&&this[i(255)](this[i(256)]),this[i(146)](this[i(256)],e,!0);else{if(!this[i(178)][i(376)](t)){const e=this[i(290)](t);this[i(133)](e,t,!1)}this[i(133)](t,e,!0)}return this[i(218)]=t,this[i(256)]=e,this[i(393)]()}[ft(235)](t){const e=ft;if(!this[e(178)][e(376)](t[e(339)])){const i=this[e(290)](t[e(339)]);this[e(133)](i,t[e(339)],!1)}this[e(133)](t[e(339)],t[e(328)],!1);const i=this[e(345)][e(432)][e(115)](e(184));this[e(136)](),this[e(218)]=t[e(339)],this[e(256)]=t[e(328)];for(const s in t[e(272)]){const n=t[e(272)][s][e(189)],r=A(t[e(272)][s][e(288)])||{},o=i[e(152)](t[e(272)][s][e(233)]);o[e(264)]=s,o[e(396)]=!n||!n[e(148)],o[e(148)]=()=>o[e(396)],this[e(137)][e(415)](s,o),this[e(134)][e(415)](s,r),n&&this[e(433)][e(415)](s,n);const a=this[e(165)](o);this[e(384)][e(415)](s,a);for(const[t,i]of o[e(209)]){if(!t[e(249)](e(123)))continue;const s=t[e(366)](":")[2];for(const t of i[e(355)]({singleCharacters:!0})){const i=this[e(411)](t),n=e(266)==t[e(199)]?t[e(245)][e(353)][e(307)](0,-1):t[e(245)][e(353)],r=a[e(251)](n)[e(351)](i);this[e(208)][e(415)](r,{userId:s})}o[e(209)][e(250)](t)}}this[e(172)]=this[e(261)];const s=[...Array(this[e(261)])[e(394)]()][e(307)](1)[e(422)](t=>!this[e(208)][e(376)](t));let n=0;const r=new Map;for(const o in t[e(272)]){const a=t[e(272)][o][e(189)],c=A(t[e(272)][o][e(239)])||{},u=i[e(152)](t[e(272)][o][e(141)]);u[e(264)]=o,u[e(396)]=!a||a[e(148)],u[e(148)]=()=>u[e(396)],this[e(326)][e(415)](o,u),this[e(211)][e(415)](o,c);const l=this[e(165)](u,Number[e(155)]);this[e(119)][e(415)](o,l),r[e(415)](o,u[e(148)]()?c:{});for(const[t,i]of u[e(209)]){if(!t[e(249)](e(123)))continue;const s=t[e(366)](":")[2];for(const t of i[e(355)]({singleCharacters:!0})){const i=this[e(411)](t),n=this[e(261)]++,r=e(266)==t[e(199)]?t[e(245)][e(353)][e(307)](0,-1):t[e(245)][e(353)];l[e(251)](r)[e(267)](i,n),this[e(208)][e(415)](n,{userId:s})}u[e(209)][e(250)](t)}for(const t of this[e(345)][e(125)][e(286)](u)[e(355)]({singleCharacters:!0})){const i=this[e(411)](t),r=e(266)==t[e(199)]?t[e(245)][e(353)][e(307)](0,-1):t[e(245)][e(353)],o=l[e(251)](r);o[e(351)](i)>0||o[e(267)](i,s[n++])}for(const[t,i]of u[e(209)])t[e(249)](e(123))||this[e(220)][e(415)](t,i)}const{roots:o}=this[e(178)][e(115)](t[e(339)]),{roots:a}=this[e(178)][e(115)](t[e(328)]),c=gt(o[e(115)](e(401)));this[e(137)][e(415)](e(401),c),this[e(384)][e(415)](e(401),this[e(165)](c,Number[e(155)]));const u=gt(a[e(115)](e(401)));this[e(326)][e(415)](e(401),u),this[e(119)][e(415)](e(401),this[e(165)](u));const l=Array[e(280)](this[e(326)])[e(181)](([t,e])=>[t,gt(e)]);this[e(160)](this[e(256)],l,this[e(220)],r)}[ft(410)](){const t=ft;this[t(136)](),this[t(218)]=-1,this[t(256)]=-1,this[t(178)][t(144)](),this[t(215)](this[t(390)])}[ft(160)](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(415)](t,{start:e[n(408)][n(143)](),end:e[n(127)][n(143)](),rootName:e[n(241)][n(264)]});this[n(178)][n(415)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(255)](t){const e=ft;this[e(178)][e(250)](t)}[ft(136)](){const t=ft;this[t(208)][t(144)](),this[t(196)][t(144)](),this[t(433)][t(144)](),this[t(326)][t(144)](),this[t(211)][t(144)](),this[t(137)][t(144)](),this[t(134)][t(144)](),this[t(119)][t(144)](),this[t(384)][t(144)](),this[t(220)][t(144)](),this[t(261)]=1,this[t(172)]=this[t(261)]}[ft(165)](t,e=null){const i=ft;let s=null;t.is(i(151))||(s=new X.ModelElement(t[i(191)],{vid_start:null===e?this[i(261)]++:e++}));const n=[];for(const s of t[i(183)]())if(s.is(i(340))){n[i(129)](this[i(165)](s,e));const t=n[n[i(158)]-1];null!==e&&(e=t.is(i(340),i(311))?t[i(351)](i(301))+1:t[i(351)](i(294))+1)}else for(let t=0;t<s[i(197)];t++)n[i(129)](new X.ModelElement(i(311),{vid:null===e?this[i(261)]++:e++}));if(t.is(i(151))){const e=yt(t[i(264)]);return e[i(385)](0,n),e}return s[i(267)](i(294),null===e?this[i(261)]++:e++),s[i(385)](0,n),s}[ft(133)](t,e,i){const s=ft;this[s(136)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(178)][s(115)](t);this[s(137)]=new Map(n),this[s(134)]=new Map(A(o));for(const[t,e]of this[s(137)])if(s(401)!==t&&(this[s(326)][s(415)](t,gt(e)),this[s(211)]=new Map(A(o)),i)){const i=this[s(261)];this[s(119)][s(415)](t,this[s(165)](e)),this[s(384)][s(415)](t,this[s(165)](e,i))}this[s(172)]=this[s(261)],this[s(326)][s(415)](s(401),gt(this[s(137)][s(115)](s(401)))),i&&this[s(119)][s(415)](s(401),this[s(165)](this[s(137)][s(115)](s(401))));for(const[t,e]of r){const i=this[s(137)][s(115)](e[s(264)]),n=this[s(326)][s(115)](e[s(264)]),r=new X.ModelRange(this[s(297)](e[s(408)],i),this[s(297)](e[s(127)],i)),o=this[s(227)](r,n);i[s(209)][s(415)](t,r),this[s(220)][s(415)](t,o)}this[s(146)](t,e,i)}[ft(146)](t,e,i){const s=ft;for(const n of this[s(390)][s(420)](t,e))this[s(161)](n,i);for(const t of this[s(326)][s(185)]())t[s(209)][s(144)]();for(const[t,e]of this[s(220)])this[s(326)][s(115)](e[s(241)][s(264)])[s(209)][s(415)](t,e[s(143)]());const n=new Map,r=new Map;for(const[t,e]of this[s(326)])n[s(415)](t,gt(e)),r[s(415)](t,this[s(211)][s(115)](t));this[s(160)](e,n,this[s(220)],r)}[ft(290)](t){const e=ft,i=Array[e(280)](this[e(178)][e(394)]());i[e(356)]((t,e)=>t-e),i[e(334)]();for(const e of i)if(e<t)return e;return Number[e(155)]}[ft(434)](t,e){const i=ft,s=Array[i(280)](e[i(209)])[i(181)](([e,s])=>[e,this[i(227)](s,t)]);t[i(209)]=new Map(s)}[ft(436)](t){const e=ft;for(const i of this[e(220)][e(185)]()){const s=i[e(147)](t),n=X.ModelRange[e(262)](s);i[e(408)]=n[e(408)],i[e(127)]=n[e(127)]}}[ft(161)](t,e){const i=ft;if(i(166)!=t[i(199)]&&i(240)!=t[i(199)]){if(i(116)==t[i(199)]){const s=t[i(222)][i(241)][i(264)];this[i(326)][i(376)](s)||(this[i(326)][i(415)](s,yt(s,!0)),this[i(211)][i(415)](s,{}),e&&this[i(119)][i(415)](s,yt(s,!0)))}else{if(i(279)==t[i(199)]||i(277)==t[i(199)]||i(383)==t[i(199)])return void this[i(173)](t);i(419)==t[i(199)]&&this[i(275)](t)}if(i(419)!==t[i(199)]){const e=this[i(260)](t,this[i(326)]);e[i(300)](),this[i(436)](e)}if(e)switch(t[i(199)]){case i(116):this[i(406)](t);break;case i(254):case i(284):case i(331):this[i(154)](t);break;case i(330):this[i(287)](t);break;case i(366):this[i(303)](t)}}else this[i(201)](t,e)}[ft(260)](t,e){const i=ft,s=t[i(143)]();return s[i(187)]=t[i(187)],this[i(292)](s,e),s}[ft(397)](t){const e=ft;return t[e(181)](t=>{const i=e,s=this[i(411)](t);return Number(t[i(291)][i(351)](s))})}[ft(221)](t,e){const i=ft;if(t.is(i(340),i(311)))e[i(129)]({item:t,type:i(176)});else{t.is(i(340))&&e[i(129)]({item:t,type:i(348)});for(const s of t[i(183)]())this[i(221)](s,e);t.is(i(340))&&e[i(129)]({item:t,type:i(266)})}return e}[ft(393)](){const t=ft,e=new Map(this[t(208)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(137)][t(394)](),...this[t(326)][t(394)]()]);a[t(250)](t(401));for(const e of a){const i=this[t(326)][t(115)](e)||yt(e,!1),s=this[t(137)][t(115)](e)||yt(e,!1);i[t(148)]()||s[t(148)]()?(n[t(141)][e]=gt(i),n[t(233)][e]=gt(s),this[t(434)](n[t(233)][e],s),this[t(434)](n[t(141)][e],i),r[t(141)][e]=this[t(221)](this[t(119)][t(115)](e),[]),r[t(233)][e]=this[t(221)](this[t(384)][t(115)](e)||yt(e,!1),[])):a[t(250)](e)}for(const n of a){const o=r[t(141)][n];for(const n of o){const r=this[t(411)](n),o=n[t(291)][t(351)](r);i[t(250)](o),o>=this[t(172)]&&s[t(415)](o,e[t(115)](o))}}for(const n of a){const a=r[t(141)][n],c=this[t(397)](r[t(233)][n]);let u=0;for(const n of a){const r=this[t(411)](n),a=n[t(291)][t(351)](r);if(!s[t(376)](a)&&!o[t(376)](a))if(i[t(376)](a))u++;else{if(a!=c[u]){const s=e[t(115)](a)||e[t(115)](c[u]);for(;a!=c[u];)i[t(376)](c[u])||(o[t(415)](c[u],s),e[t(415)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(141)][e];for(const e of n){const n=this[t(411)](e),r=e[t(291)][t(351)](n);if(o[t(376)](r)){const e=o[t(115)](r);i[t(376)](r)||i[t(415)](r,{...e}),s[t(415)](r,{...e})}}}for(const e of i[t(394)]())e>=this[t(172)]&&i[t(250)](e);const c=new Map;for(const e of a){let n=r[t(141)][e];for(const e of n)if(e[t(291)].is(t(340),t(391))){const i=this[t(411)](e),n=e[t(291)][t(351)](i);if(s[t(376)](n)){const i=e[t(291)][t(417)][t(417)][t(351)](t(371)),r=c[t(115)](i)||new Set;r[t(344)](s[t(115)](n)[t(138)]),c[t(415)](i,r)}}n=r[t(233)][e];for(const e of n)if(e[t(291)].is(t(340),t(391))){const s=this[t(411)](e),n=e[t(291)][t(351)](s);if(i[t(376)](n)){const s=e[t(291)][t(417)][t(417)][t(351)](t(371)),r=c[t(115)](s)||new Set;r[t(344)](i[t(115)](n)[t(138)]),c[t(415)](s,r)}}for(const e of c[t(394)]())(s[t(376)](e)||i[t(376)](e))&&c[t(250)](e)}for(const e of a){const n=r[t(141)][e];let o=null,a=null;for(const e of n){const n=this[t(411)](e),r=e[t(291)][t(351)](n),u=c[t(115)](r);u&&t(348)==e[t(199)]&&(o=Array[t(280)](u)[0],a=e[t(291)][t(351)](t(294))),o&&(i[t(415)](r,{userId:o}),s[t(415)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(233)][e],a=n[t(141)][e];for(const{userId:e}of this[t(196)][t(185)]())null!==e&&l[t(344)](e);for(const{userId:e}of this[t(433)][t(185)]())null!==e&&l[t(344)](e);this[t(363)](a,r[t(141)][e],s,t(193),l),this[t(363)](o,r[t(233)][e],i,t(327),l),u[e]={insertions:this[t(399)](a),deletions:this[t(399)](o),attachChange:this[t(433)][t(115)](e)||null,attributesBefore:A(this[t(134)][t(115)](e))||{},attributesAfter:A(this[t(211)][t(115)](e))}}return{diffData:u,authorsIds:Array[t(280)](l)}}[ft(217)](t){const e=ft;for(const[,i]of t[e(209)]){const t=i[e(408)][e(159)]()[e(422)](t=>e(391)==t[e(191)]);for(const i of t)1==i[e(228)]&&i[e(405)](0).is(e(340),e(380))&&i[e(405)](0)[e(267)](e(429),!0)}}[ft(399)](t){const e=ft;this[e(217)](t);const i=this[e(345)][e(149)][e(395)](t,{}),s=Array[e(280)](i[e(183)]())[e(181)](t=>this[e(230)](t));return JSON[e(265)](s)}[ft(230)](t){const e=ft;if(t.is(e(311)))return t[e(149)];{const i=this[e(345)][e(432)][e(115)](e(184)),s=t,n=this[e(345)][e(149)][e(153)][e(338)],r={type:i[e(180)](s),name:s[e(191)],attributes:Array[e(280)](s[e(421)]()),children:Array[e(280)](s[e(183)]())[e(181)](t=>this[e(230)](t))};if(t.is(e(128))&&e(369)!=t[e(191)]){const i=t[e(352)](n[e(171)],n);r[e(142)][e(129)](i[e(167)])}else if(t.is(e(389))){const i=n[e(171)][e(402)](s[e(191)]);t[e(352)](i,n),r[e(142)][e(129)](i[e(214)])}const o=Array[e(280)](s[e(299)]());o[e(158)]>0&&(r[e(126)]=o);const a=s[e(381)]();return null!==a&&(r[e(341)]=a),r}}[ft(363)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(345)][r(125)];for(let s=0;s<e[r(158)];s++){const n=this[r(411)](e[s]),c=e[s][r(291)][r(351)](n),h=i[r(115)](c),d=s==e[r(158)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(138)]!=o[r(138)])&&(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(138)],d=l(123)+s+":"+h+":"+c++,f=u[l(370)](i,a);t[l(209)][l(415)](d,f),null!==h&&n[l(344)](h)}}[ft(411)](t){const e=ft;switch(t[e(199)]){case e(348):return e(371);case e(266):return e(294);default:return e(301)}}[ft(292)](t,e){const i=ft;t[i(243)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(115)](n[i(241)][i(264)]);t[s]=this[i(297)](n,r)}if(n instanceof X.ModelRange){const r=e[i(115)](n[i(241)][i(264)]);t[s]=this[i(227)](n,r)}i(241)===s&&(t[i(241)]=e[i(115)](t[i(241)][i(264)]))}}[ft(227)](t,e){const i=ft;return this[i(345)][i(125)][i(370)](this[i(297)](t[i(408)],e),this[i(297)](t[i(127)],e))}[ft(297)](t,e){const i=ft;return this[i(345)][i(125)][i(271)](e,t[i(353)],t[i(416)])}[ft(406)](t){const e=ft,i=this[e(119)][e(115)](t[e(222)][e(241)][e(264)]),s=this[e(297)](t[e(222)],i),n=null===t[e(187)]?null:t[e(187)]||this[e(345)][e(432)][e(115)](e(347)).me.id,r=s[e(417)],o=this[e(261)],a=[];for(const i of t[e(150)])if(i.is(e(340)))a[e(129)](this[e(165)](i));else for(let t=0;t<i[e(197)];t++)a[e(129)](new X.ModelElement(e(311),{vid:this[e(261)]++}));const c=this[e(261)];for(let t=o;t<c;t++)this[e(208)][e(415)](t,{userId:n});r[e(385)](s[e(244)],a)}[ft(154)](t){const e=ft;(t=this[e(260)](t,this[e(119)]))[e(300)]();const i=null===t[e(187)]?null:t[e(187)]||this[e(345)][e(432)][e(115)](e(347)).me.id,s=t[e(224)](),n=s[e(417)],r=s[e(244)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(405)](e);r.is(a(340),a(311))?s[a(415)](r[a(351)](a(301)),{userId:i}):(s[a(415)](r[a(351)](a(371)),{userId:i}),t(s,r,0,r[a(228)]),s[a(415)](r[a(351)](a(294)),{userId:i}))}}(this[e(208)],n,r,r+t[e(329)])}[ft(287)](t){const e=ft,i=null===(t=this[e(260)](t,this[e(119)]))[e(187)]?null:t[e(187)]||this[e(345)][e(432)][e(115)](e(347)).me.id,s=t[e(177)][e(417)],n=t[e(259)][e(417)],r=s[e(351)](e(294)),o=n[e(351)](e(371));s[e(267)](e(294),n[e(351)](e(294))),n[e(267)](e(294),r),this[e(208)][e(415)](o,{userId:i}),this[e(208)][e(415)](r,{userId:i}),t[e(300)]()}[ft(303)](t){const e=ft,i=null===(t=this[e(260)](t,this[e(119)]))[e(187)]?null:t[e(187)]||this[e(345)][e(432)][e(115)](e(347)).me.id,s=t[e(382)],n=t[e(289)][e(417)];t[e(300)]();const r=n[e(351)](e(294)),o=t[e(216)][e(386)];if(s){const t=o[e(351)](e(294)),s=n[e(351)](e(294));n[e(267)](e(294),t),o[e(267)](e(294),s),this[e(208)][e(415)](n[e(351)](e(294)),{userId:i}),this[e(208)][e(415)](o[e(351)](e(371)),{userId:i})}else{const t=this[e(261)]++,s=this[e(261)]++;n[e(267)](e(294),t),o[e(267)](e(371),s),o[e(267)](e(294),r),this[e(208)][e(415)](t,{userId:i}),this[e(208)][e(415)](s,{userId:i})}}[ft(275)](t){const e=ft;if(!t[e(236)])return;const i=(t=this[e(260)](t,this[e(326)]))[e(375)]?t[e(375)][e(241)]:null,s=t[e(412)]?t[e(412)][e(241)]:null;i&&this[e(220)][e(250)](t[e(191)]),s&&this[e(220)][e(415)](t[e(191)],t[e(412)][e(143)]());const n=null===t[e(187)]?null:t[e(187)]||this[e(345)][e(432)][e(115)](e(347)).me.id,r=t[e(191)];if(!this[e(196)][e(376)](r))return void this[e(196)][e(415)](r,{range:t[e(375)],userId:n});const o=this[e(196)][e(115)](r),a=o[e(124)],c=t[e(412)];null==a&&null==c||a&&c&&a[e(252)](c)?this[e(196)][e(250)](t[e(191)]):o[e(138)]=n}[ft(201)](t,e){const i=ft;this[i(326)][i(376)](t[i(264)])?this[i(326)][i(115)](t[i(264)])[i(396)]=t[i(210)]:(this[i(326)][i(415)](t[i(264)],yt(t[i(264)],!0)),this[i(211)][i(415)](t[i(264)],{}),e&&this[i(119)][i(415)](t[i(264)],yt(t[i(264)],!0)));const s=null===t[i(187)]?null:t[i(187)]||this[i(345)][i(432)][i(115)](i(347)).me.id,n=this[i(433)][i(115)](t[i(264)]);n&&n[i(138)]===s?this[i(433)][i(250)](t[i(264)]):this[i(433)][i(415)](t[i(264)],{userId:s,isAttached:t[i(210)]})}[ft(173)](t){const e=ft,i=this[e(211)][e(115)](t[e(241)][e(264)]);null===t[e(194)]?delete i[t[e(378)]]:i[t[e(378)]]=t[e(194)]}}function gt(t){const e=ft,i=yt(t[e(264)],t[e(148)]());for(const s of t[e(183)]()){const t=s[e(343)](!0);i[e(354)](t)}return i}function yt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(264)]=t,s[i(396)]=e,s[i(148)]=()=>s[i(396)],s}function kt(){const t=["invalid","some","_loadState","afterInit","getRoot","addRevision","_showLicenseError","creator","232VqvlSE","size","_startingVersion","getUser","_diffRoots","deletion","toVersion","howMany","merge","reinsert","createPositionBefore","roots","reverse","trim","_continueCurrentRevision","ready","domConverter","fromVersion","element","fillerOffset","sendBufferedUpdates","_clone","add","editor","revisionHistoryLicenseKeyNotAllowed","Users","elementStart","_createCurrentRevision","define","getAttribute","render","path","_appendChild","getWalker","sort","resolve","max","pluginName","getOperation","PendingActions","revisionHistoryLicenseKeyDomainLimit","_markChanges","isReady","update","split","loadRevisionData","rootsAttributes","$comment","createRange","vid_start","_initialRevisionId","637777dGAzOC","domainLimit","oldRange","has","1365948ZNbuVX","key","_loadedStateData","paragraph","getFillerOffset","graveyardPosition","changeRootAttribute","_baseIdsRoots","_insertChild","nodeAfter","_revisionDataBuilder","_addPendingAction","rawElement","source","tableCell","creatorId","_getState","keys","toView","_isAttached","_getBaseVids","_isPendingUpdate","_prepareViewToSave","conversion","$graveyard","createElement","_createInitialRevision","RealTimeCollaborationClient","getChild","_handleInsertOperation","getRevisionRootsAttributes","start","hasContent","reInit","_getVidAttributeName","newRange","93999fxJUGm","revisionHistoryLicenseKeyEvaluationLimit","set","stickiness","parent","fromEntries","marker","getOperations","getAttributes","filter","_makeRevision","getLatestVersion","revisionHistoryLicenseKeyUsageLimit","authors","getRevisions","isPremiumPlugin","keepParagraph","_bufferedUpdates","licenseKey","plugins","_touchedRoots","_copyMarkers","finally","_transformMarkers","get","insert","for","usageLimit","_idsRoots","revisionHistoryLicenseKeyTrialLimit","revision","getRevisionDocumentData","revision:","range","model","customProperties","end","uiElement","push","_removePendingAction","buildRevisionData","repository","_calculateMetaData","_baseRootsAttributes","revisionHistoryLicenseKeyInvalid","_reset","_baseRoots","userId","initialData","getRange","insertions","children","clone","clear","_getFromVersion","_applyOperations","getTransformedByOperation","isAttached","data","nodes","documentFragment","_makeModelFromViewString","htmlProcessor","_handleMoveOperation","NEGATIVE_INFINITY","document","string","length","getAncestors","_saveMetaData","_handleOperation","_isInit","469420HbnOVK","_operations","_makeIdsRoot","addRoot","outerHTML","dataToMarker","version","_licenseKeyCheckInterval","domDocument","_startingRevisionId","_handleRootAttributeOperation","setRevisionData","requires","text","targetPosition","_savedMetaData","addRevisionData","_getTypeCharForViewElement","map","getCurrentRevisionId","getChildren","RevisionHistoryUtils","values","getData","_authorId","includes","attachChange","shift","name","_source","insertion","newValue","isOfficialPlugin","_touchedMarkers","offsetSize","RevisionTracker","type","then","_handleRootOperation","markerToData","isEnabled","destroy","_replaceEditorDataWithRevisionData","updateRevisions","createRevision","_touched","markers","isAdd","_diffRootsAttributes","Initial revision","getTime","innerHTML","init","insertionPosition","_processRootBeforeSave","_lastFrom","_bufferUpdate","_markers","_generateTape","position","bind","getMovedRangeStart","RevisionHistory","_update","_fixRange","childCount","currentRevision","_getViewJson","saveRevision","_findInsertionIndex","deletions","_setConversion","loadState","affectsData","revisionHistoryLicenseKeyExpired","history","attributesAfter","detachRoot","root","RevisionsRepository","baseVersion","offset","previousPosition","createdAt","_utils","featureNotAllowed","startsWith","delete","getNodeByPath","isEqual","_pendingAction","move","_removeMetaData","_lastTo","upcast","expired","sourcePosition","_cloneOperation","_revisionId","_createFromRanges","32txQpZf","rootName","stringify","elementEnd","_setAttribute","authorsIds","config","Empty document","createPositionFromPath","diffData","editor-initial-data-replaced-with-revision-data","PENDING_ACTION_REVISION_HISTORY","_handleMarkerOperation","69831TbTEMO","removeRootAttribute","setSource","addRootAttribute","from","createPositionAfter","getRootNames","99605imPLez","remove","revisionHistory.resumeUnsavedRevision","createRangeIn","_handleMergeOperation","attributesBefore","splitPosition","_getPreviousFrom","item","_fixOperation","createPositionAt","vid_end","find","collaboration.channelId","_fixPosition","adapter","getCustomProperties","_execute","vid","dataDowncast","_handleSplitOperation","530420ExcBsU","getIndex","revisionHistoryLicenseKeyValid","slice","trialLimit","getRevision","initial","$text","locale","evaluationLimit"];return(kt=function(){return t})()}function bt(t,e,i){const s=ft,n=s(266)==t[s(199)]?i[s(293)](t[s(291)],s(127)):i[s(332)](t[s(291)]);return i[s(271)](e,n[s(353)],n[s(416)])}function wt(t,e,i){const s=ft,n=s(348)==t[s(199)]?i[s(293)](t[s(291)],0):i[s(281)](t[s(291)]);return i[s(271)](e,n[s(353)],n[s(416)])}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),Lt={attributes:{"data-cke":!0}};Lt.setAttributes=Mt(),Lt.insert=Rt().bind(null,"head"),Lt.domAPI=xt(),Lt.insertStyleElement=Et();Ot()(Ft.A,Lt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=zt;function Pt(){const t=["initializeCssTransitionDisablerMixin","locale","ck-revision-history-save-revision-form","608OgIsDT","3399234bqKYXo","set","element","220","arrowright","arrowdown","stopPropagation","value","reset","revisionNameInputView","listenTo","revisionNameInputValue","Name of the revision","2053818kgXLYb","2305700EoKjBS","revisionName","setTemplate","add","focusTracker","errorText","arrowup","focus","461313etLehD","ck-responsive-form","arrowleft","10fhSblp","keystrokes","input","extendTemplate","trim","form","_createRevisionNameInput","render","3219181xOsQrD","label","731268qgqiQl","fieldView","optional","2797624wySiWK"];return(Pt=function(){return t})()}function zt(t,e){const i=Pt();return(zt=function(t,e){return i[t-=499]})(t,e)}!function(t){const e=zt,i=t();for(;;)try{if(943494===-parseInt(e(514))/1+-parseInt(e(536))/2+parseInt(e(522))/3+-parseInt(e(517))/4*(parseInt(e(504))/5)+-parseInt(e(535))/6+-parseInt(e(512))/7+parseInt(e(521))/8*(parseInt(e(501))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(540)];[jt(505)];[jt(531)];constructor(e,i){const s=jt;super(e),this[s(540)]=new t.FocusTracker,this[s(505)]=new t.KeystrokeHandler,this[s(523)](s(533),""),this[s(531)]=this[s(510)](i),this[s(538)]({tag:s(509),attributes:{class:["ck",s(520),s(502)],tabindex:"-1"},children:[this[s(531)]]}),this[s(518)]()}[jt(511)](){const t=jt;super[t(511)](),(0,It.submitHandler)({view:this}),this[t(540)][t(539)](this[t(531)][t(524)]),this[t(505)][t(532)](this[t(524)]);const e=e=>e[t(528)]();this[t(505)][t(523)](t(526),e),this[t(505)][t(523)](t(503),e),this[t(505)][t(523)](t(499),e),this[t(505)][t(523)](t(527),e)}[jt(500)](){const t=jt;this[t(531)][t(500)]()}get[jt(537)](){const t=jt;return this[t(531)][t(515)][t(524)][t(529)][t(508)]()}set[jt(537)](t){const e=jt;this[e(531)][e(515)][e(524)][e(529)]=t[e(508)]()}[jt(530)](){const t=jt;this[t(531)][t(515)][t(524)][t(529)]="",this[t(531)][t(541)]=null}[jt(510)](t){const e=jt,i=new It.LabeledFieldView(this[e(519)],It.createLabeledInputText),s=i[e(515)];s[e(507)]({attributes:{maxlength:e(525)}});let n=at(this[e(519)],e(534));return!t&&(n+=" ("+at(this[e(519)],e(516))+")"),i[e(513)]=n,s.on(e(506),()=>{const t=e;this[t(533)]=s[t(524)][t(529)][t(508)]()}),i}}const Ut=Ht;function Zt(){const t=["revisionHistory","Dialog","requires","revisionSave","listenTo","items","buttonView","panelView","menuBar:revisionHistory","ck-button-action","5481175jdmrlb","show","461460BSoWLF","delegate","set","Cancel","menu","config","showRevisionViewerCallback","_saveRevisionFormView","isEnabled","addMany","render","_createSaveRevisionButton","isOpen","The revision name cannot be empty.","get","_registerMenuComponent","saveRevision","focus","pluginName","execute","componentFactory","12379816kYeaXl","1569152UnIKvi","errorText","Accept","init","menuitem","view","low","2176119ZMthxt","role","Save current revision","_createSaveRevisionFormView","144LBLkZm","editing","add","revisionNameInputView","bind","plugins","submit","RevisionHistoryUI","revisionHistory.requireRevisionName","Open revision history","hide","isPremiumPlugin","Revision history","isReadOnly","RevisionTracker","revisionName","isReady","isOfficialPlugin","children","_showDialog","149070uLeTaa","locale","reset","editor","613136RFbKwq","_createOpenRevisionButton"];return(Zt=function(){return t})()}function Ht(t,e){const i=Zt();return(Ht=function(t,e){return i[t-=384]})(t,e)}!function(t){const e=Ht,i=t();for(;;)try{if(392754===parseInt(e(408))/1+parseInt(e(444))/2+parseInt(e(451))/3+-parseInt(e(422))/4+-parseInt(e(404))/5*(-parseInt(e(384))/6)+-parseInt(e(420))/7+-parseInt(e(443))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Zt);class qt extends G.Plugin{static get[Ut(440)](){return Ut(391)}static get[Ut(401)](){return!0}static get[Ut(395)](){return!0}static get[Ut(412)](){return[pt]}[Ut(429)];[Ut(447)](){const t=Ut,e=this[t(407)],i=e[t(389)][t(436)](t(398));e.ui[t(442)][t(386)](t(410),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(417)][n(402)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(433)](It.ButtonView),l=new It.ListItemView(s),h=this[n(409)](It.ButtonView);return r[n(388)](n(430)).to(i,n(400),i,n(430),e,n(397),(t,e,i)=>t&&e&&!i),r[n(416)][n(424)]({icon:_t.IconHistory,label:at(s,n(396)),tooltip:!0}),u[n(424)]({withText:!0,role:n(448)}),h[n(424)]({withText:!0,role:n(448)}),this[n(414)](h,n(441),()=>{const t=n;r[t(434)]=!1,e[t(385)][t(449)][t(439)]()},{priority:n(450)}),c[n(402)][n(386)](u),l[n(402)][n(386)](h),a[n(452)]=n(426),a[n(415)][n(431)]([c,l]),o[n(386)](a),r}),e.ui[t(442)][t(386)](t(418),()=>this[t(437)]())}[Ut(437)](){const t=Ut,e=this[t(407)],i=e[t(405)],s=e[t(389)][t(436)](t(398)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(388)](t(430)).to(s,t(400),s,t(430),e,t(397),(t,e,i)=>t&&e&&!i),n[t(416)][t(424)]({icon:_t.IconHistory,label:at(i,t(396))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(433)](It.MenuBarMenuListItemButtonView);a[t(423)](t(441)).to(n),o[t(402)][t(386)](a),r[t(415)][t(386)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(409)](It.MenuBarMenuListItemButtonView);return u[t(423)](t(441)).to(n),c[t(402)][t(386)](u),r[t(415)][t(386)](c),n[t(417)][t(402)][t(386)](r),n}[Ut(433)](t){const e=Ut,i=this[e(407)],s=i[e(389)][e(436)](e(398)),n=new t(i[e(405)]);return n[e(424)]({label:at(i[e(405)],e(453))}),n[e(388)](e(430)).to(s,e(400),s,e(430),i,e(397),(t,e,i)=>t&&e&&!i),this[e(414)](n,e(441),()=>{this[e(403)]()}),n}[Ut(409)](t){const e=Ut,i=this[e(407)],s=i[e(389)][e(436)](e(398)),n=new t(i[e(405)]);return n[e(424)]({label:at(i[e(405)],e(393))}),n[e(388)](e(430)).to(s,e(400),i,e(397),(t,e)=>t&&!e),this[e(414)](n,e(441),()=>{const t=e;i[t(427)][t(436)](t(410))[t(428)]()}),n}[Ut(403)](){const t=Ut,e=this[t(407)],i=e[t(405)],s=e[t(389)][t(436)](t(411)),n=e[t(389)][t(436)](t(398));function r(n){const r=t;e[r(427)][r(436)](r(392))&&""===n[r(399)]?n[r(387)][r(445)]=at(i,r(435)):(e[r(389)][r(436)](pt)[r(438)]({name:n[r(399)]}),s[r(394)]())}this[t(429)]||(this[t(454)](),this[t(429)].on(t(390),()=>r(this[t(429)]))),this[t(429)][t(406)](),s[t(421)]({id:t(413),title:at(i,t(453)),isModal:!0,content:this[t(429)],actionButtons:[{label:at(e[t(405)],t(425)),withText:!0,onExecute:()=>s[t(394)]()},{label:at(e[t(405)],t(446)),class:t(419),withText:!0,onCreate(i){const s=t;i[s(388)](s(430)).to(n,s(400),n,s(430),e,s(397),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(429)])}]})}[Ut(454)](){const t=Ut,e=this[t(407)],i=e[t(405)];this[t(429)]=new Wt(i,e[t(427)][t(436)](t(392))),this[t(429)][t(432)]()}}const $t=Bt;function Bt(t,e){const i=Jt();return(Bt=function(t,e){return i[t-=216]})(t,e)}!function(t){const e=Bt,i=t();for(;;)try{if(276455===-parseInt(e(246))/1*(parseInt(e(231))/2)+-parseInt(e(248))/3+parseInt(e(221))/4*(-parseInt(e(243))/5)+parseInt(e(249))/6*(-parseInt(e(241))/7)+parseInt(e(223))/8+-parseInt(e(224))/9*(parseInt(e(225))/10)+-parseInt(e(234))/11*(-parseInt(e(219))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Jt);class Yt extends It.View{[$t(230)];[$t(233)];constructor(t,e){const i=$t;super(t),this[i(233)]=e,this[i(230)]=e.id;const s=this[i(229)],n=at(t,e[i(217)][i(238)]?i(216):i(245)==e[i(228)]?i(218):i(239));this[i(236)](i(228),e[i(228)]),this[i(237)]({tag:i(222),attributes:{class:[i(240),i(232),s.to(i(228),t=>i(226)+t)],tabindex:-1},children:[{tag:i(235),children:[{tag:i(235),attributes:{class:[i(242)]},children:[{text:n}]},{text:" "+e[i(227)][i(220)]}]}]})}[$t(247)](){const t=$t;this[t(244)][t(247)]()}}function Jt(){const t=["10QJDoqV","ck-revision-change__","author","type","bindTemplate","changeId","2ODwGxn","ck-revision-change","_model","6284806KRmLcq","span","set","setTemplate","isSuggestion","Removed by","ck-annotation","7LWwDEw","ck-revision-change__label","1998305QarVCj","element","add","94098wtVTin","focus","534780HXMTiv","719022tfXLaR","Suggested by","data","Added by","24ChQmtX","name","4pmGqZX","div","3361040FVoOuc","4450599VdtVfV"];return(Jt=function(){return t})()}var Gt=Kt;function Kt(t,e){var i=Xt();return(Kt=function(t,e){return i[t-=471]})(t,e)}function Xt(){var t=["203052lgXHaW","toJSON","createdAt","6103092wqSSvj","196026HHXraN","2523924QyBbqW","rootName","type","set","data","20895iAIrGf","author","27bJoarR","6489539xdYjJR","50VNBHGL","1882592GIInFB"];return(Xt=function(){return t})()}!function(t){for(var e=Kt,i=t();;)try{if(794402===-parseInt(e(484))/1+-parseInt(e(479))/2+-parseInt(e(478))/3+-parseInt(e(474))/4*(parseInt(e(472))/5)+parseInt(e(477))/6+parseInt(e(471))/7+-parseInt(e(473))/8*(-parseInt(e(486))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Xt);class Qt extends((0,t.ObservableMixin)()){id;[Gt(485)];[Gt(481)];[Gt(483)];[Gt(480)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(485)]=e[i(485)],this[i(481)]=e[i(481)],this[i(483)]=e[i(483)]||{},this[i(480)]=e[i(480)],this[i(482)](i(476),e[i(476)])}[Gt(475)](){var t=Gt;return{id:this.id,authorId:this[t(485)].id,type:this[t(481)],data:this[t(483)],createdAt:this[t(476)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=457]})(t,e)}function ie(){const t=["3020472MXgZja","_setChanges","5830496VJnVHZ","175173QhuRFD","3273374aRZJAh","newRevisionId","oldRevisionId","add","changes","245ZTjEvV","3314165GpCUaN","20811480fwMiwW","53502baQbeq","4FWravJ","1lPTywa"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(865280===parseInt(e(459))/1*(parseInt(e(464))/2)+-parseInt(e(463))/3+-parseInt(e(458))/4*(-parseInt(e(470))/5)+parseInt(e(457))/6*(parseInt(e(469))/7)+parseInt(e(462))/8+-parseInt(e(460))/9+-parseInt(e(471))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{[te(465)];[te(466)];[te(468)];constructor(e,i){const s=te;this[s(465)]=e,this[s(466)]=i,this[s(468)]=new t.Collection}[te(461)](t){const e=te;for(const i of t)this[e(468)][e(467)](i)}}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=ce();return(ae=function(t,e){return i[t-=334]})(t,e)}function ce(){const t=["forEach","createPositionBefore","slice","attachChange","isAdded","model","abs","_removeUnsupportedChanges","revision-suggestion:","backward","setAttribute","_threeWayMerge","13385sRSSvY","attributesBefore","attribute:vid","sort","_update","string","ck-suggestion-preview-marker","ck-suggestion-preview-marker-","293241DJVLKK","bind","done","catch","_setConversion","init","checkAttribute","_markMismatchedRemovedTags","toViewRange","concat","addRevision","showStack","markersStart","24vAtfVV","loadRevisionData","removeMarker:revision","startsWith","_initInteractions","all","addClass","locale","change:numberOfChanges","consume","getLaterVisibleRevision","addRoot","ck-revision-history-root-","_utils","listenTo","range","getClientRects","endIndex","high","isObject","175zUloLb","bindElementToMarker","createRangeIn","text","upcast","_getDiff","getRoot","next","_appendChild","isAttached","_makeModelFromViewString","pairId","getChild","-new","createAttributeElement","wrap","toViewElement","domEvent","addHighlight","consumable","merge","compare","highest","remove","type","_step","split","add","attributes","low","ck-suggestion-marker--active","_processTape","stop","delete","_makeModelFromTape","bottom","splice","comment","push","parent","91030ydNHXV","getAttributes","isOfficialPlugin","revision-viewer","start","rootName","isLimit","getItems","values","right","for","element","2480844jLJQjv","_findChangeIdFromDomTarget","softBreak","ck-revision-history-root--active","removeMarker","mouseover","return","error","nodeAfter","from","updatePosition","elementToAttribute","_getViewForChange","set","_changeView","createRange","schema","resolve","_cleanMarkers","toViewPosition","view","name","includes","restoreRevision","isAtStart","clear","isAtEnd","ck-suggestion-marker-merge","isEnabled","getCustomProperty","getRevision","markerToHighlight","removeAttribute","ck-suggestion-marker","addMarker:revision-suggestion:deletion","isRemoved","markersEnd","data","suggestion","_revisions","createPositionFromPath","activeView","test","then","modelRange","_fixObsoleteTags","span","currentChangeNumber","markerToData","enableReadOnlyMode","element:pre","mousedown","change:activeChange","ck-editor__editable__overlay","ck-suggestion-marker-split","showNextChange","getWalker","_markMarkers","index","elementEnd","unbindElementFromMarkerName","WidgetToolbarRepository","shift","change:isEnabled","markerNameToElements","_joinTapes","markerRange","revision-suggestion","isSuggestion","item","change","activeChange","_getChangeFromId","side","offsetSize","findIndex","pluginName","getIndex","editing","isContent","addMarker:revision-suggestion:insertion","observeMarkers","unshift","_getRevisionsRange","_cleanUp","getRevisionDocumentData","deletion","_setDistance","changeId","previousPosition","isOnRoot","isRemoveSuggestion","keys","distance","detachRoot","nextPosition","affectsData","117YPpouX","downcastDispatcher","selection","writer","indexOf","enqueueChange","find","_data","execute","numberOfChanges","removeMarker:revision-suggestion","revisionHistoryLabel","reconvertMarker","left","document","suggestion:","changes","RevisionViewer","hasClass","getRevisionRootsAttributes","dataDowncast","getRootNames","createUIElement","462wmOsNL","startIndex","_markInsertions","first","top","732MqxiCF","1688193qWXIVd","_makeTape","_changeIdToChange","change:activeView","isNavigationMode","vid","removeClass","mapViewToDom","deletions","addRevisionData","320080KYiXOu","vid_end","maxOffset","hasAttribute","4FNycge","adapter","_refreshStartEndIndex","repository","level","350159DwssrC","isPremiumPlugin","showPreviousChange","revision:","end","viewItem","_balloon","diff","markers","getAttribute","change:isReady","revisionHistory","requires","isInline","insertion","pop","revision","editor","markerName","userId","createRevision","ck-revision-history-root-add","_markSuggestions","editingDowncast","_sortAndFilterDiffChanges","roots","conversion","isBlock","oldRevisionId","code","insertions","dataToMarker","ck-suggestion-marker-","revision-comment:","forward","diffData","destroy","data-change-id","mapper","addMarker:revision","uiElement","_removeMissingPairs","_activeViewTarget","length","attributesAfter","RevisionsRepository","isIncorrect","has","authors","newRevisionId","ck-revision-history-root-remove","isBefore","filter","map","restoreRevisionCallback","commands","forceDisabled","RevisionHistoryUtils","config","isEqual","vid_start","elementStart","get","isCollapsed","revisionHistoryAttachChange","isAddSuggestion","_setChanges","isReady","object","plugins","nextSibling","domConverter","refresh","isAfter","insert","flat","getDomRoot","POSITIVE_INFINITY","target"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(503238===parseInt(e(357))/1*(-parseInt(e(352))/2)+-parseInt(e(456))/3*(-parseInt(e(469))/4)+parseInt(e(448))/5*(parseInt(e(337))/6)+-parseInt(e(489))/7*(parseInt(e(348))/8)+-parseInt(e(338))/9+-parseInt(e(529))/10*(parseInt(e(661))/11)+parseInt(e(541))/12*(parseInt(e(638))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends G.Plugin{[oe(355)];[oe(353)]=null;[oe(482)];[oe(399)];[oe(555)];[oe(340)];[oe(363)];static get[oe(617)](){return oe(655)}static get[oe(531)](){return!0}static get[oe(358)](){return!0}static get[oe(369)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(355)]=this[e(374)][e(426)][e(419)](e(402)),this[e(482)]=this[e(374)][e(426)][e(419)](e(414)),this[e(554)](e(612),null),this[e(554)](e(582),null),this[e(399)]=null,this[e(554)](e(364),null),this[e(554)](e(424),!1),this[e(554)](e(569),!0),this.on(e(604),(t,i,s)=>{const n=e;this[n(612)]=null,this[n(582)]=null,this[n(374)][n(619)][n(561)][n(611)](t=>{const e=n;for(const i of this[e(374)][e(619)][e(561)][e(652)][e(382)])s?t[e(344)](e(594),i):t[e(475)](e(594),i)})}),this[e(457)](e(342)).to(this,e(612),t=>null!==t),this[e(457)](e(588)).to(this,e(424),this,e(364),this,e(612),(t,i,s)=>t&&s?i[e(654)][e(618)](s):0),this[e(457)](e(647)).to(this,e(424),this,e(364),(t,i)=>t?i[e(654)][e(400)]:0),this[e(555)]=null,this[e(340)]=new Map,this[e(363)]=this[e(374)][e(426)][e(419)](It.ContextualBalloon)}[oe(461)](){const t=oe,e=this[t(374)],i=new de(e,{direction:t(445)}),s=new de(e,{direction:t(391)});e[t(412)][t(516)](t(359),i),e[t(412)][t(516)](t(596),s),e[t(412)][t(516)](t(564),new he(e)),this.on(t(477),()=>{const e=t;i[e(429)](),s[e(429)]()}),this[t(460)](),this[t(473)](),e[t(590)](t(532)),e[t(426)][t(404)](t(602))&&e[t(426)][t(419)](t(602))[t(413)](t(532))}async[oe(626)](t){const e=oe;return await this[e(482)][e(470)](t,this[e(353)]),this[e(482)][e(626)](t)}async[oe(657)](t){const e=oe;return await this[e(482)][e(470)](t,this[e(353)]),this[e(482)][e(657)](t)}async[oe(510)](t,e,i=!1){const s=oe;if(!this[s(569)])return;const n=this[s(364)],r=this[s(355)],o=s(453)==typeof t?r[s(571)](t):t,a=s(453)==typeof e?r[s(571)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(364)]&&this[s(364)][s(406)]===c&&this[s(364)][s(385)]===u)return Promise[s(558)]();this[s(424)]=!1,this[s(582)]=null,this[s(612)]=null,this[s(364)]=new se(c,u);const l=this[s(624)](o,a,!0)[s(410)](t=>this[s(482)][s(470)](t,this[s(353)]));return l[s(527)](new Promise(t=>{setTimeout(t,20)})),Promise[s(474)](l)[s(584)](()=>{const t=s;if(!this[t(569)])return;this[t(625)]();const e=this[t(494)](c,u);for(const i of e[t(654)])this[t(340)][t(554)](i.id,i);this[t(374)][t(441)][t(643)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(374)][s(441)][s(652)][s(659)]())i[s(635)](t);for(const t of Object[s(633)](e[s(441)])){const n=i[s(480)](t);for(const r of Object[s(633)](e[s(517)][t]))i[s(446)](r,e[s(517)][t][r],n);i[s(431)](e[s(441)][t],n,0)}}),this[t(364)][t(423)](this[t(381)](e[t(654)])),this[t(424)]=!0})[s(459)](t=>{const e=s;console[e(548)](t),this[e(625)](),n&&(this[e(364)]=n),this[e(424)]=!0})}[oe(347)](t,e){const i=oe,s=this[i(355)][i(377)](t);return s.on(i(452),(t,i,n)=>e(i,n,s)),this[i(355)][i(466)](s),s}[oe(625)](){const t=oe;this[t(612)]=null,this[t(559)](),this[t(555)]&&this[t(555)][t(393)](),this[t(555)]=null,this[t(340)][t(566)](),this[t(374)][t(441)][t(643)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(374)][i(441)][i(652)][i(659)]())e[i(635)](t)})}[oe(381)](t){const e=oe,i=[],s=new Map;for(const t of this[e(374)][e(441)][e(652)][e(659)]()){const n=this[e(374)][e(619)][e(561)][e(433)](t);if(!n)continue;const r=n[e(485)]()[e(610)](0);r&&(i[e(527)](t),s[e(554)](t,r))}return i[e(451)]((t,i)=>{const n=e,r=s[n(419)](t),o=s[n(419)](i);return r.y-o.y||r.x-o.x}),(t=t[e(409)](t=>i[e(563)](t[e(534)])))[e(451)]((t,s)=>i[e(642)](t[e(534)])-i[e(642)](s[e(534)])),t}[oe(339)](t){const e=oe,i=Array[e(550)](t[e(365)])[e(409)](([t,i])=>t[e(472)](e(360))&&!i[e(420)]),s=Array[e(550)](this[e(374)][e(441)][e(491)](t)[e(597)]({singleCharacters:!0}));if(0!=i[e(400)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(515)](":");if(n[e(361)][e(416)](t[e(636)])&&i[e(603)](),(t[e(630)][e(416)](n[e(533)])||t[e(630)][e(430)](n[e(533)]))&&(e(371)==r?t[e(440)]={userId:o}:e(627)==r&&(t[e(576)]={userId:o})),0==i[e(400)])break}return s}[oe(354)](t){const e=oe,i=new Map;for(let s=0;s<t[e(400)];s++)e(492)===t[s][e(513)]?(t[s][e(610)][e(662)]=s,t[s][e(610)][e(486)]=s):(e(418)===t[s][e(513)]?t[s][e(610)][e(662)]=s:e(600)===t[s][e(513)]&&(t[s][e(610)][e(486)]=s),i[e(554)](t[s].id,s));for(const s of i[e(537)]())e(418)===t[s][e(513)]?t[s][e(610)][e(486)]=i[e(419)](t[s][e(500)]):e(600)===t[s][e(513)]&&(t[s][e(610)][e(662)]=i[e(419)](t[s][e(500)]))}[oe(520)](t){const e=oe;for(let i=0;i<t[e(400)];i++){if(e(418)===t[i][e(513)])t[i][e(610)][e(662)]=i;else if(e(600)===t[i][e(513)]){t[i][e(610)][e(486)]=i;const s=t[i][e(610)][e(662)];t[s][e(500)]=t[i].id,t[i][e(500)]=t[s].id}else t[i][e(610)][e(662)]=i,t[i][e(610)][e(486)]=i,t[i][e(500)]=null;t[i][e(468)]||(t[i][e(468)]=[],t[i][e(577)]=[])}}[oe(334)](t,e){const i=oe,s=t[i(409)](t=>!t[i(440)]);for(let t=0;t<e[i(400)];t++)e[t][i(440)]&&(s[t][i(440)]=e[t][i(440)])}[oe(494)](t,e=null){const i=oe,s=this[i(355)][i(571)](t),n=e?this[i(355)][i(571)](e):null,r=this[i(624)](s,n),o=r[r[i(400)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(400)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(633)](e[i(392)]))if(e[i(392)][t][i(439)]){const s=e[i(392)][t][i(439)];s[i(498)]?(u[i(516)](t),l[i(404)](t)&&l[i(419)](t)[i(376)]==s[i(376)]?l[i(522)](t):l[i(554)](t,s)):l[i(404)](t)?(u[i(522)](t),l[i(522)](t)):(u[i(516)](t),l[i(554)](t,s))}else u[i(516)](t)}for(const t of u){const e=l[i(404)](t)&&!l[i(419)](t)[i(498)];let s=e?r[i(400)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(392)][t]){const s=e?o[i(392)][t][i(449)]:o[i(392)][t][i(401)];c[i(517)][t]=s?A(s):{};break}s+=n}}for(const t of r){t[i(441)]={};for(const e of t[i(405)])a[i(554)](e.id,e);for(const e of u){const s=t[i(392)][e]?t[i(392)][e][i(387)]:"[]",n=t[i(392)][e]?t[i(392)][e][i(346)]:"[]";t[i(441)][e]={insertions:this[i(482)][i(499)](s),deletions:this[i(482)][i(499)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(550)](s[i(441)][t][i(387)][i(365)])[i(409)](([t])=>!t[i(472)](i(360))));let h=0;for(const o of r){const r=this[i(339)](o[i(441)][t][i(387)]);o==s?(e=r,n=e[i(400)],e[i(436)](t=>{t.id=h++}),this[i(520)](e)):this[i(334)](e,r);const a=e[i(409)](t=>!t[i(440)])[i(410)](t=>t.id);let c=0;const l=this[i(339)](o[i(441)][t][i(346)]);l[i(436)](t=>{t[i(576)]?t.id=n++:t.id=a[c++]}),this[i(520)](l),this[i(628)](e,i(440)),this[i(628)](l,i(576)),o==s&&this[i(598)](e,u),e=this[i(606)](e,l),this[i(354)](e),this[i(628)](e,i(576))}e=e[i(409)](t=>!(t[i(440)]&&t[i(576)]));const d=new Map(o[i(441)][t][i(346)][i(365)]),f=new Set(u[i(633)]());for(const t of d[i(633)]())f[i(522)](t);this[i(379)](e,f),this[i(586)](e),e=this[i(398)](e),e=this[i(463)](e),e=this[i(443)](e);const{root:m,changes:p}=this[i(523)](e,a,t);c[i(441)][t]=m;const v=l[i(419)](t);if(v){const e=a[i(419)](v[i(376)]),s=new Qt({author:e,type:v[i(498)]?i(516):i(512),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(623)](s),c[i(517)][t][i(421)]=s.id}c[i(654)]=c[i(654)][i(465)](p)}return c}[oe(598)](t,e){const i=oe;for(let s=0;s<t[i(400)];s++)for(const[n,r]of e)!r[i(420)]&&r[i(533)][i(416)](t[s][i(630)])&&t[s][i(468)][i(527)](n),r[i(361)][i(416)](t[s][i(636)])&&t[s][i(577)][i(527)](n)}[oe(606)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(400)]||r<e[i(400)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(527)](o);else if(a[i(576)]&&o[i(440)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(447)](t,n,e,r);s=s[i(465)](o),n=a,r=c}else a[i(576)]?(r++,s[i(527)](a)):(n++,s[i(527)](o))}return s}[oe(379)](t,e){const i=oe,s=[];for(let o=0;o<t[i(400)];o++){for(let r=0;r<t[o][i(468)][i(400)];r++){const a=t[o][i(468)][r];if(!e[i(404)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(608)!=c||i(371)!=u&&i(627)!=u||(s[i(623)]({type:u,name:a,userId:l}),t[o][i(468)][i(525)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(577)][i(400)];r++){const a=t[o][i(577)][r];if(!e[i(404)](a))continue;const{group:c,type:u}=n(a);if(i(608)!=c||i(371)!=u&&i(627)!=u)continue;t[o][i(577)][i(525)](r,1),r--;const l=s[i(616)](t=>t[i(562)]==a);l>-1&&s[i(525)](l,1)}}function n(t){const e=i,s=t[e(515)](":");return{group:s[0],type:s[1],subType:s[e(400)]>=5?s[2]:null,id:s[e(400)]<5?s[2]:s[3],authorId:s[e(400)]<5?s[3]:s[4],markerCount:6==s[e(400)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(400)];i++){if(t[e(440)]&&e(371)==s[i][e(513)]&&t[e(440)][e(376)]==s[i][e(376)])return t[e(422)]=s[i],void delete t[e(440)];if(!t[e(440)]&&!t[e(576)]&&e(627)==s[i][e(513)])return void(t[e(632)]=s[i])}}}[oe(628)](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(554)](o.id,s);for(let s=0;s<t[i(400)];s++){if(i(576)==e&&t[s][i(440)]||i(440)==e&&t[s][i(576)])continue;if(i(492)==t[s][i(513)]){t[s][i(634)]=0;continue}const n=r[i(419)](t[s][i(500)]),o=r[i(419)](t[s].id);t[s][i(634)]=n-o}}[oe(624)](t,e,i=!1){const s=oe,n=[];let r=this[s(355)][s(618)](t),o=this[s(355)][s(618)](e);for(-1==o&&(o=this[s(355)][s(580)][s(400)],i=!1);r<o;)n[s(527)](this[s(355)][s(571)](r)),r++;return i&&n[s(527)](this[s(355)][s(571)](r)),n}[oe(447)](t,e,i,s){const n=oe,r=this[n(374)][n(441)][n(557)];let o=e;for(;t[o]&&t[o][n(440)];)o++;let a=s;for(;i[a]&&i[a][n(576)];)a++;u(t,e,o),u(i,s,a);const c=i[n(438)](s,a)[n(465)](t[n(438)](e,o));return c[n(451)]((t,e)=>t[n(614)]!=e[n(614)]?t[n(614)]-e[n(614)]:t[n(356)]!=e[n(356)]?t[n(356)]-e[n(356)]:t[n(634)]!=e[n(634)]?e[n(634)]-t[n(634)]:!!t[n(440)]!=!!e[n(440)]?-1==t[n(614)]||0==t[n(614)]?t[n(440)]?-1:1:t[n(440)]?1:-1:t[n(599)]-e[n(599)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(434)],c=!0;for(let n=e;n<i;n++)if(r[s(370)](t[n][s(610)])||(c=!1),t[n][s(610)][s(662)]<e&&(o=n),t[n][s(610)][s(486)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(614)]=n<=o?-1:n<a?0:1,t[n][s(599)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(634)]?t[i][s(356)]=u:(u++,t[i][s(356)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(614)]&&(t[n][s(356)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(634)]?t[e][s(356)]=u:(u--,t[e][s(356)]=u,u--)}}[oe(586)](t){const e=oe,i=new Map,s=this[e(374)][e(441)][e(557)];for(let n=1;n<t[e(400)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(492)==c[e(513)])continue;if(c[e(513)]!=u[e(513)])continue;if(!s[e(384)](u[e(610)])||s[e(535)](u[e(610)]))continue;if(!s[e(384)](c[e(610)])||s[e(535)](c[e(610)]))continue;if((t[n][e(440)]||t[n][e(422)])&&t[n-1][e(576)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(576)]||!t[n-1][e(440)]&&!t[n-1][e(422)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(356)]==o[e(356)],h=Math[e(442)](r[e(356)])<Math[e(442)](o[e(356)])&&0==o[e(634)];(l||h)&&(i[e(554)](o.id,r.id),t[e(525)](a,1),n--,r[e(440)]=!1)}for(let s=0;s<t[e(400)];s++)i[e(404)](t[s][e(500)])&&(t[s][e(500)]=i[e(419)](t[s][e(500)]))}[oe(398)](t){const e=oe,i=new Set(t[e(410)](t=>t.id));for(let s=0;s<t[e(400)];s++)i[e(404)](t[s][e(500)])||0==t[s][e(634)]||(t[s][e(403)]=!0);return t[e(409)](t=>!t[e(403)])}[oe(463)](t){const e=oe,i=new Set;for(let s=0;s<t[e(400)];s++){if(i[e(404)](t[s].id)&&t[s][e(576)]&&(t[s][e(403)]=!0),t[s][e(403)])continue;if(0==t[s][e(634)])continue;if(e(418)!=t[s][e(513)])continue;if(null==t[s][e(500)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(500)];)e(418)==t[n][e(513)]?r++:e(600)==t[n][e(513)]&&r--,n++;if(0!=r)if(t[s][e(576)])t[s][e(403)]=!0;else for(;n!=s;)t[n][e(576)]&&0!=t[n][e(634)]&&(t[n][e(403)]=!0,i[e(516)](t[n][e(500)])),n--}return t[e(409)](t=>!t[e(403)])}[oe(443)](t){const e=oe,i=this[e(374)][e(441)][e(557)];for(let s=0;s<t[e(400)];s++){if(!(t[s][e(440)]||t[s][e(422)]||t[s][e(576)]||t[s][e(632)]))continue;if(0==t[s][e(634)])continue;const n=t[s][e(610)];i[e(384)](n)||i[e(535)](n)||(t[s][e(440)]&&delete t[s][e(440)],t[s][e(422)]&&delete t[s][e(422)],t[s][e(632)]&&delete t[s][e(632)],t[s][e(576)]&&(t[s][e(403)]=!0))}return t[e(409)](t=>!t[e(403)])}[oe(523)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(374)][s(441)],c=a[s(557)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(400)];e++)if(s(418)===t[e][s(513)]){t[e][s(630)]=a[s(581)](n,f);const i=new X.ModelElement(t[e][s(610)][s(562)],t[e][s(610)][s(530)]());u[0][s(497)](i),f[s(527)](0),u[s(623)](i),t[e][s(636)]=a[s(581)](n,f)}else s(600)===t[e][s(513)]?(u[s(603)](),t[e][s(630)]=a[s(581)](n,f),f[s(372)](),f[f[s(400)]-1]++,t[e][s(636)]=a[s(581)](n,f)):(t[e][s(630)]=a[s(581)](n,f),d?d[s(645)]+=t[e][s(610)][s(578)]:d=new X.ModelText(t[e][s(610)][s(578)],t[e][s(610)][s(530)]()),t[e+1]&&s(492)===t[e+1][s(513)]&&v(d,t[e+1][s(610)])||(u[0][s(497)](d),d=null),f[f[s(400)]-1]+=t[e][s(610)][s(615)],t[e][s(636)]=a[s(581)](n,f));for(let e=0;e<t[s(400)];e++){const i=t[e][s(630)],n=t[e][s(636)];for(const n of t[e][s(468)])o[s(554)](n,{start:i,end:null});m(s(632),e,i,n),m(s(422),e,i,n),m(s(576),e,i,n),m(s(440),e,i,n);for(const i of t[e][s(577)]){const t=o[s(419)](i);t?t[s(361)]=n:o[s(554)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(374)][s(441)][s(556)](e[s(533)],e[s(361)]);n[s(365)][s(554)](t,i)}return r[s(451)]((t,e)=>{const i=s,r=n[i(365)][i(419)](i(360)+t.id),o=n[i(365)][i(419)](i(360)+e.id);return r[i(533)][i(408)](o[i(533)])?-1:r[i(533)][i(430)](o[i(533)])?1:r[i(361)][i(408)](o[i(361)])?-1:r[i(361)][i(430)](o[i(361)])?1:i(516)===t[i(513)]?-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(376)]:null,d=i===t[o(400)]-1,f=h[e][0],m=c[o(488)](t[i][o(610)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(361)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(376)]!==u&&(l[e][o(361)]=n,f&&f[o(376)]===l[e][o(376)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(418)!==t[i][o(513)]||f&&f[o(376)]===u||h[e][o(623)]({userId:u,object:t[i][o(610)],change:l[e]}),o(600)===t[i][o(513)]&&f&&f[o(425)]===t[i][o(610)]&&(h[e][o(603)](),l[e]=f[o(611)])),l[e]&&d&&(l[e][o(361)]=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(610)],f=a[h(557)][h(384)](d)&&!a[h(557)][h(535)](d),m=t[h(549)]==o[h(528)]&&o[h(565)];if(f&&m)return;const p=a[h(556)](t,o),v=e[h(419)](u),g=new Qt({author:v,type:h(440)==l||h(422)==l?h(516):h(512),data:{isSuggestion:h(422)==l||h(632)==l},createdAt:new Date,rootName:i});r[h(527)](g),n[h(365)][h(554)](h(360)+g.id,p)}function v(t,e){const i=s,n=t[i(530)](),r=e[i(530)]();for(const t of n){if(t[1]!==e[i(366)](t[0]))return!1;r[i(496)]()}return r[i(496)]()[i(458)]}}[oe(460)](){const t=oe;this[t(374)][t(383)][t(539)](t(493))[t(388)]({view:t(373)}),this[t(374)][t(383)][t(539)](t(380))[t(572)]({model:t(373),view:e=>{const i=t,s=e[i(375)][i(515)](":")[1],n=this[i(613)](s);if(!n)return null;const r=i(516)==n[i(513)]?i(371):i(627),o=[i(574),i(389)+r];return n[i(578)][i(609)]&&o[i(527)](i(389)+r+i(502)),this[i(612)]==n&&o[i(527)](i(519)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(374)][t(383)][t(539)](t(493))[t(516)](e=>{const i=t;e.on(i(591),(t,e,s)=>{const n=i,r=e[n(362)][n(501)](0);if(!r||!r.is(n(540),n(386)))return;if(!s[n(508)][n(478)](r,{attributes:[n(417),n(349)]}))return;const o=e[n(585)][n(533)][n(549)];s[n(641)][n(446)](n(417),r[n(366)](n(417)),o),s[n(641)][n(446)](n(349),r[n(366)](n(349)),o)},{priority:i(518)})}),this[t(374)][t(383)][t(539)](t(493))[t(516)](e=>{const i=t;e.on(i(540),(t,e,s)=>{const n=i;if(!s[n(508)][n(478)](e[n(362)],{attributes:[n(417),n(349)]}))return;if(e[n(585)][n(420)])return;const r=e[n(585)][n(533)][n(549)];r[n(351)](n(417))||r[n(351)](n(343))||(s[n(641)][n(446)](n(417),e[n(362)][n(366)](n(417)),r),s[n(641)][n(446)](n(349),e[n(362)][n(366)](n(349)),r))},{priority:i(518)})}),this[t(374)][t(383)][t(539)](t(493))[t(552)]({view:{name:t(587),attributes:{vid:!0}},model:{key:t(343),value:e=>e[t(366)](t(343))}}),this[t(374)][t(441)][t(557)].on(t(462),(e,[,i])=>{const s=t;[s(417),s(349),s(343)][s(563)](i)&&(e[s(547)]=!0,e[s(521)]())},{priority:t(511)}),this[t(374)][t(383)][t(539)](t(658))[t(516)](e=>{const i=t;e.on(i(450),(t,e,s)=>{const n=i;if(" "!=e[n(610)][n(578)]||e[n(610)][n(528)][n(350)]>1)return;if(!s[n(508)][n(478)](e[n(610)],t[n(562)]))return;const r=s[n(641)],o=s[n(395)][n(464)](e[n(484)]);r[n(504)](o,r[n(503)](n(587)))})}),this[t(374)][t(383)][t(539)](t(658))[t(589)]({model:t(373)}),this[t(374)][t(619)][t(639)].on(t(396),function(e){const i=t,s=e[i(426)][i(419)](i(655));return(t,n,r)=>{const o=i,a=n[o(375)][o(515)](":")[1],c=s[o(613)](a);if(!c)return null;const u=o(516)==c[o(513)]?o(515):o(509);if(!r[o(508)][o(583)](n[o(607)],t[o(562)]))return;const l=n[o(607)][o(597)](),h=n[o(607)][o(533)],d=e[o(441)][o(557)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(610)];p=p||d[o(620)](e);const i=r[o(395)][o(505)](e);if(i&&i[o(570)](o(507)))return;o(600)==t[o(513)]&&d[o(384)](e)&&!d[o(535)](e)&&(e[o(427)]||h[o(567)]?f&&f[o(528)]==e||(f=e,g(t[o(630)]),v=!0):m=m||t[o(630)])}function g(t){const e=o,i=r[e(641)][e(660)](e(587),{class:e(389)+u}),a=r[e(395)][e(560)](t);c[e(578)][e(609)]&&r[e(641)][e(475)](e(389)+u+e(502),i),s[e(612)]==c&&r[e(641)][e(475)](e(519),i),r[e(641)][e(431)](a,i),r[e(395)][e(490)](i,n[e(375)])}p||v||!m||g(m)}}(this[t(374)]),{priority:t(487)}),this[t(374)][t(619)][t(639)].on(t(471),(e,i,s)=>{const n=t,r=s[n(395)][n(605)](i[n(375)]);if(r)for(const t of r)(t[n(656)](n(595))||t[n(656)](n(568)))&&(s[n(395)][n(601)](t,i[n(375)]),s[n(641)][n(512)](t))},{priority:t(487)}),this[t(374)][t(619)][t(639)].on(t(396),(e,i,s)=>{const n=t,r=i[n(375)][n(515)](":")[1],o=this[n(613)](r);if(!o)return null;const a=n(516)==o[n(513)]?n(515):n(509);if(s[n(508)][n(583)](i[n(607)],e[n(562)]))for(const t of i[n(607)][n(536)]()){if(!t.is(n(540),n(543)))continue;const e=s[n(641)][n(660)](n(587),{class:n(389)+a}),r=s[n(395)][n(560)](this[n(374)][n(441)][n(437)](t));o[n(578)][n(609)]&&s[n(641)][n(475)](n(389)+a+n(502),e),this[n(612)]==o&&s[n(641)][n(475)](n(519),e),s[n(641)][n(431)](r,e),s[n(395)][n(490)](e,i[n(375)])}},{priority:t(487)}),this[t(374)][t(441)][t(652)].on(t(611),()=>{const e=t;this[e(374)][e(619)][e(561)][e(611)](t=>{const i=e;for(const e of this[i(374)][i(441)][i(652)][i(659)]()){const s=this[i(374)][i(441)][i(652)][i(495)](e),n=this[i(374)][i(619)][i(561)][i(652)][i(495)](e);if(n){const e=s[i(366)](i(421));if(t[i(573)](i(394),n),t[i(344)](i(378),n),t[i(344)](i(407),n),t[i(344)](i(544),n),e){const s=this[i(613)](e);if(!s)return null;t[i(446)](i(394),e,n),t[i(475)](i(481)+s[i(513)],n),this[i(612)]==s&&t[i(475)](i(544),n)}}}})}),this[t(374)][t(383)][t(539)](t(493))[t(388)]({view:t(526),model:e=>t(390)+e,converterPriority:t(511)}),this[t(374)][t(383)][t(539)](t(493))[t(388)]({view:t(579),model:e=>t(444)+e,converterPriority:t(511)}),this[t(374)][t(383)][t(539)](t(658))[t(589)]({model:t(608),view:e=>({name:t(653)+e,group:t(608)}),converterPriority:t(511)}),this[t(374)][t(383)][t(539)](t(380))[t(572)]({model:t(608),view:e=>{const i=t,s=e[i(375)][i(515)](":")[1];return i(371)!=s&&i(627)!=s?null:{classes:[i(454),i(455)+s]}}}),this[t(374)][t(619)][t(639)].on(t(575),le(this[t(374)],t(509)),{priority:t(487)}),this[t(374)][t(619)][t(639)].on(t(621),le(this[t(374)],t(515)),{priority:t(487)}),this[t(374)][t(619)][t(639)].on(t(648),(e,i,s)=>{const n=t,r=s[n(395)][n(605)](i[n(375)]);if(r)for(const t of r)t.is(n(397))&&(s[n(395)][n(601)](t,i[n(375)]),s[n(641)][n(512)](t))},{priority:t(487)})}[oe(613)](t){const e=oe;return this[e(340)][e(419)](t)}[oe(553)](t){const e=oe;return this[e(555)]&&this[e(555)][e(393)](),this[e(555)]=new Yt(this[e(374)][e(476)],t),this[e(555)]}[oe(473)](){const t=oe;this[t(374)][t(441)][t(652)][t(640)][t(622)](t(373)),this.on(t(341),(e,i,s,n)=>{const r=t;n&&this[r(363)][r(512)](n),s&&(this[r(363)][r(516)]({view:s,stackId:r(649),position:{target:()=>{const t=r,e=this[t(374)][t(619)],i=this[t(613)](s[t(629)]);let n;if(i[t(578)][t(631)]){const s=e[t(561)][t(433)](i[t(534)]);n=Array[t(550)](s[t(485)]())}else{const i=this[t(374)][t(441)][t(365)][t(419)](t(360)+s[t(629)]);n=Array[t(550)](e[t(395)][t(605)](i[t(562)]))[t(410)](i=>e[t(561)][t(428)][t(345)](i))[t(410)](e=>Array[t(550)](e[t(485)]()))[t(432)]()}return this[t(399)]&&n[t(644)](e=>e[t(336)]-3<=this[t(399)].y&&e[t(524)]+3>=this[t(399)].y&&e[t(651)]-3<=this[t(399)].x&&e[t(538)]+3>=this[t(399)].x)||n[0]}}}),this[r(363)][r(467)](r(649)))}),this.on(t(593),(e,i,s,n)=>{const r=t;this[r(582)]=s?this[r(553)](s):null,this[r(374)][r(441)][r(611)](()=>{const t=r,e=this[t(374)][t(619)];n&&(n[t(578)][t(631)]?e[t(561)][t(611)](i=>{const s=t;i[s(344)](s(544),e[s(561)][s(652)][s(495)](n[s(534)]))}):e[t(650)](t(360)+n.id)),s&&(s[t(578)][t(631)]?e[t(561)][t(611)](i=>{const n=t;i[n(475)](n(544),e[n(561)][n(652)][n(495)](s[n(534)]))}):e[t(650)](t(360)+s.id))})}),this[t(483)](this[t(374)][t(619)][t(561)][t(652)],t(546),(e,i)=>{const s=t;if(this[s(612)])return;const n=this[s(542)](i[s(435)]),r=this[s(340)][s(419)](n);r?(this[s(399)]={x:i[s(506)].x,y:i[s(506)].y},this[s(582)]=this[s(553)](r)):(this[s(399)]=null,this[s(582)]=null)}),this[t(483)](this[t(374)][t(619)][t(561)][t(652)],t(592),(e,i)=>{const s=t,n=this[s(542)](i[s(435)]),r=this[s(340)][s(419)](n);r?(this[s(399)]={x:i[s(506)].x,y:i[s(506)].y},r===this[s(612)]?this[s(363)][s(551)]():this[s(612)]=r):(this[s(399)]=null,this[s(612)]=null)})}[oe(542)](t){const e=oe;do{const i=t[e(366)](e(394));if(i)return i;t=t[e(528)]}while(t);return null}[oe(559)](){const t=oe;this[t(374)][t(441)][t(611)](e=>{const i=t;for(const t of this[i(374)][i(441)][i(365)])e[i(545)](t)})}}function le(t,e){return(i,s,n)=>{const r=ae;if(!n[r(508)][r(583)](s[r(607)],i[r(562)]))return;const o=s[r(607)][r(597)](),a=s[r(607)][r(533)],c=t[r(441)][r(557)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(610)];h=h||c[r(620)](e);const i=n[r(395)][r(505)](e);if(i&&i[r(570)](r(507)))return;r(600)==t[r(513)]&&c[r(384)](e)&&!c[r(535)](e)&&(e[r(427)]||a[r(567)]?u&&u[r(528)]==e||(u=e,f(t[r(630)]),d=!0):l=l||t[r(630)])}function f(t){const i=r,o=n[i(395)][i(560)](t),a=n[i(641)][i(660)](i(587),{class:i(455)+e});n[i(641)][i(431)](o,a),n[i(395)][i(490)](a,s[i(375)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(426)][e(419)](ue);this[e(637)]=!1,this[e(483)](i,e(367),()=>this[e(429)]()),this[e(483)](i,e(604),()=>this[e(429)]())}[oe(646)](){const t=oe,e=this[t(374)],i=e[t(426)][t(419)](ue),s=i[t(424)]?i[t(364)][t(406)]:null;e[t(415)][t(419)](t(368))[t(411)](s)}[oe(429)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(374)][t(426)][t(419)](ue),r=n&&s[t(479)](n[t(406)]);this[t(569)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(514)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(426)][i(419)](ue);this[i(637)]=!1,this[i(514)]=i(391)===e?1:-1,this[i(483)](s,i(367),()=>this[i(429)]()),this[i(483)](s,i(604),()=>this[i(429)]()),this[i(483)](s,i(593),()=>this[i(429)]())}[oe(646)](){const e=oe,i=this[e(374)],s=i[e(426)][e(419)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(612)]=n?s[e(364)][e(654)][e(419)](r+this[e(514)]):s[e(364)][e(654)][e(335)],s[e(612)][e(578)][e(631)])o=i[e(619)][e(561)][e(433)](s[e(612)][e(534)]);else{const t=i[e(441)][e(365)][e(419)](e(360)+s[e(612)].id);o=(0,K.getMarkerDomElement)(i[e(619)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(429)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(374)][t(426)][t(419)](ue);this[t(569)]=!!(r&&n&&s)&&(!e||(1===this[t(514)]?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(){const t=["isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation__label","isEnabled","Show next change","ck-revision-history-ui","ck-hidden","setTemplate","forward","387eayrJT","isReady","div","Loading...","ck-revision-history-ui__changes-navigation__navigation","345308IdamRx","ck-revision-history-ui__changes-navigation__wrapper","X_OF_Y_CHANGES","89136dbEwLG","numberOfChanges","bind","No changes","_isStatusLabelVisible","5952995SIHlcc","isNavigationMode","_statusText","ck-revision-history-ui__changes-navigation","5227644oAzDTZ","12746840WtcNLO","Total","backward","13786NepPPM","16fbVIux","set","NUMBER_OF_CHANGES","execute","1101987anGpbU","span","currentChangeNumber","7VFRisH","isForwardNavigationEnabled","EDIT_X_OF_Y_REVISIONS","bindTemplate","fire","Show previous change"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=488]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(635389===parseInt(e(508))/1+parseInt(e(521))/2*(-parseInt(e(500))/3)+parseInt(e(505))/4+parseInt(e(513))/5+parseInt(e(517))/6*(-parseInt(e(529))/7)+parseInt(e(522))/8*(-parseInt(e(526))/9)+parseInt(e(518))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(489)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(523)](e(514),!1),this[e(523)](e(501),!1),this[e(523)](e(528),0),this[e(523)](e(509),0),this[e(523)](e(530),!1),this[e(523)](e(492),!1),this[e(510)](e(512)).to(this,e(501),this,e(509),(t,e)=>t&&e>0),this[e(510)](e(515)).to(this,e(501),this,e(528),this,e(509),this,e(514),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(503));if(!n)return at(t,o(511));const a=at(t,o(524),n);return r?at(t,o(507),[s+1,n]):a}),s[e(523)]({label:at(t,e(491)),tooltip:!0,icon:_t.IconChevronUp}),n[e(523)]({label:at(t,e(495)),tooltip:!0,icon:_t.IconChevronDown}),s[e(510)](e(494)).to(this,e(492)),n[e(510)](e(494)).to(this,e(530)),s.on(e(525),()=>this[e(490)](e(525),e(520))),n.on(e(525),()=>this[e(490)](e(525),e(499))),this[e(498)]({tag:e(502),attributes:{class:["ck",e(496),e(516)]},children:[{tag:e(527),attributes:{class:[e(506)]},children:[{tag:e(527),attributes:{class:[e(493),i.if(e(512),e(497),t=>!t)]},children:[{text:i.to(e(514),i=>i?at(t,e(488))+": ":at(t,e(519))+": ")}]},{text:i.to(e(515))}]},new It.ToolbarSeparatorView,{tag:e(502),attributes:{class:[e(504)]},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=_e;!function(t){const e=_e,i=t();for(;;)try{if(329276===-parseInt(e(265))/1*(parseInt(e(258))/2)+parseInt(e(260))/3*(-parseInt(e(280))/4)+-parseInt(e(266))/5+-parseInt(e(262))/6*(-parseInt(e(279))/7)+parseInt(e(273))/8*(-parseInt(e(284))/9)+parseInt(e(261))/10*(-parseInt(e(264))/11)+parseInt(e(275))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const we=be(269);function _e(t,e){const i=Ie();return(_e=function(t,e){return i[t-=258]})(t,e)}function Ie(){const t=["editor","196821pMRPrz","901534QnkPMj","removeClass","3nBBIoQ","10xzWxZB","746862toGsEg","RevisionViewerLoadingOverlay","5128838mIcJnR","1gdlTrL","882125jSukNw","show","change","ck-editor__editable__loading-overlay","pluginName","addClass","document","144BqAboV","isPremiumPlugin","20828316sPlHJa","editing","isOfficialPlugin","roots","14uIKMls","673116bbFNKa","view","hide"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(270)](){return be(263)}static get[be(277)](){return!0}static get[be(274)](){return!0}[be(267)](){const t=be,e=this[t(283)][t(276)][t(281)];e[t(268)](i=>{const s=t;for(const t of e[s(272)][s(278)])i[s(271)](we,t)})}[be(282)](){const t=be,e=this[t(283)][t(276)][t(281)];e[t(268)](i=>{const s=t;for(const t of e[s(272)][s(278)])i[s(259)](we,t)})}}const Oe=Te;function Te(t,e){const i=xe();return(Te=function(t,e){return i[t-=491]})(t,e)}function xe(){const t=["init","closeRevisionViewerCallback","4271847MlYbVE","hide","isForwardNavigationEnabled","config","1121886DRojAS","pluginName","set","revisionHistory","isPremiumPlugin","numberOfChanges","isEnabled","358368hoKJac","isReady","showNextChange","change:isReady","get","currentChangeNumber","ck-revision-history-ui__back-to-editing","showPreviousChange","show","isNavigationMode","commands","restoreRevision","execute","26ulGCQa","isBackwardNavigationEnabled","3954776RLYYcy","editor","113473FqBAnZ","plugins","1536556QCUoZu","isOfficialPlugin","bind","add","forward","RevisionViewerUI","requires","7865555CDBKZI","changesNavigation","Back to editing","18NcPxEb","Restore this revision","listenTo","exitToEditing","componentFactory"];return(xe=function(){return t})()}!function(t){const e=Te,i=t();for(;;)try{if(952514===parseInt(e(497))/1*(parseInt(e(493))/2)+-parseInt(e(516))/3+-parseInt(e(495))/4+parseInt(e(506))/5+parseInt(e(520))/6+parseInt(e(499))/7+-parseInt(e(527))/8*(parseInt(e(509))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Oe(521)](){return Oe(504)}static get[Oe(500)](){return!0}static get[Oe(524)](){return!0}static get[Oe(505)](){return[ue,Se]}[Oe(514)](){const t=Oe,e=this[t(496)],i=e[t(498)][t(531)](ue),s=e[t(498)][t(531)](Se);e.ui[t(513)][t(502)](t(512),i=>{const s=t,n=new It.ButtonView(i);return n[s(522)]({label:at(i,s(508)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(533)}),this[s(511)](n,s(492),()=>{const t=s;e[t(519)][t(531)](t(523))[t(515)]()}),n}),e.ui[t(513)][t(502)](t(491),i=>{const s=t,n=new It.ButtonView(i);return n[s(522)]({label:at(i,s(510)),withText:!0,tooltip:!0}),n[s(501)](s(526)).to(e[s(537)][s(531)](s(491))),this[s(511)](n,s(492),()=>e[s(492)](s(491))),n}),e.ui[t(513)][t(502)](t(507),s=>{const n=t,r=new ge(s),o=e[n(537)][n(531)](n(534)),a=e[n(537)][n(531)](n(529));return r[n(501)](n(494)).to(o,n(526)),r[n(501)](n(518)).to(a,n(526)),r[n(501)](n(528),n(532),n(525),n(536)).to(i),this[n(511)](r,n(492),(t,i)=>{const s=n;e[s(492)](s(503)===i?s(529):s(534))}),r}),s[t(535)](),i.on(t(530),(e,i,n)=>{const r=t;n?s[r(517)]():s[r(535)]()})}}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=Ve;function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=406]})(t,e)}function Ee(){const t=["4390BdjXHW","fieldView","ck-revision-history-sidebar__revision-name","ck-tooltip_multi-line","input","clientWidth","847485UaZhbX","set","bindTemplate","_tooltipString","destroy","span","7190757lbVhzy","2427768txGCUK","render","element","1297608pqCemR","15gsZTLY","placeholder","listenTo","Revision name","664781wHohaT","8NtNHMk","Enter the revision name","extendTemplate","39357Gfeutd","1487164qGgWGI","scrollWidth","value","_resizeObserver","_updateTooltipText"];return(Ee=function(){return t})()}!function(t){const e=Ve,i=t();for(;;)try{if(527612===parseInt(e(408))/1+-parseInt(e(413))/2+parseInt(e(424))/3+-parseInt(e(434))/4*(parseInt(e(435))/5)+parseInt(e(431))/6+parseInt(e(430))/7*(-parseInt(e(409))/8)+parseInt(e(412))/9*(parseInt(e(418))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(416)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(426)];this[i(425)]({label:at(t,i(407)),_tooltipString:""}),this[i(419)][i(436)]=at(t,i(410)),this[i(411)]({tag:i(429),attributes:{class:[i(420)],"data-cke-tooltip-text":s.to(i(427)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(421)}})}[Me(432)](){const e=Me;super[e(432)](),this[e(416)]=new t.ResizeObserver(this[e(419)][e(433)],()=>this[e(417)]()),this[e(406)](this[e(419)],e(422),()=>this[e(417)]())}[Me(428)](){const t=Me;super[t(428)](),this[t(416)]&&this[t(416)][t(428)]()}[Me(417)](){const t=Me,e=this[t(419)][t(433)];this[t(427)]=e[t(414)]>e[t(423)]&&e[t(415)]||""}}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 Le(t,e){const i=Pe();return(Le=function(t,e){return i[t-=309]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(161648===parseInt(e(309))/1*(-parseInt(e(311))/2)+-parseInt(e(320))/3+-parseInt(e(310))/4+-parseInt(e(314))/5+parseInt(e(327))/6*(parseInt(e(319))/7)+-parseInt(e(325))/8+-parseInt(e(313))/9*(-parseInt(e(323))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class je extends It.View{constructor(t,e,i){const s=Le;super(t);const n=new It.IconView;n[s(324)]({content:_t.IconUser,viewBox:s(329)});const r=["ck",s(318)];i&&r[s(321)](s(315));const o=[{tag:s(328),attributes:{class:["ck",s(312)],title:at(t,s(i?317:316))},children:[n,e[s(322)]]}];this[s(326)]({tag:"li",attributes:{class:r},children:o})}}function Pe(){const t=["13060iuKgCl","set","2129832KOTxJk","setTemplate","6eWjyYI","span","0 0 11 10","115721rYNHBN","755604KjBaEO","4uskRpJ","ck-revision-history-sidebar__revision-author__name","6651WvyfFG","879305QSdylQ","ck-revision-history-sidebar__revision-author_creator","Revision author","Revision creator","ck-revision-history-sidebar__revision-author","1946609rSpnCD","657420ENjRjV","push","name"];return(Pe=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=379]})(t,e)}function We(){var t=["toLocaleTimeString","33590QjVCIM","20454dfgFWd","137740KRbUUl","long","toLocaleDateString","4KRdKzA","351210BScjAY","188199njiPTj","440kpdRYp","9TyxsVW","189254qPjeyY","2838130KqRdal","numeric"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(106744===parseInt(e(379))/1+parseInt(e(387))/2+parseInt(e(384))/3*(parseInt(e(382))/4)+-parseInt(e(391))/5+-parseInt(e(383))/6+parseInt(e(392))/7*(parseInt(e(385))/8)+-parseInt(e(386))/9*(parseInt(e(388))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(505),Ze={attributes:{"data-cke":!0}};Ze.setAttributes=Mt(),Ze.insert=Rt().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Et();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(t,e){const i=qe();return(He=function(t,e){return i[t-=103]})(t,e)}function qe(){const t=["menu","573ghkkCE","28tjSXaE","756EdCREw","listenTo","items","model","2117368nIrBvQ","source","set","isEnabled","Show more items","stopPropagation","9wxavmq","isOpen","first","map","Compare against selected","change:isActionsDropdownOpen","bindTemplate","add","Restore this revision","action","_action","ck-revision-history-sidebar__revision__actions","class","listView","function","100485sHXHeZ","30438LLjFev","ck-on","45136UQwZWR","2692150DRvcBS","panelPosition","buttonView","isVisible","isReady","bind","menuitem","name","isActionsDropdownOpen","locale","extendTemplate","button","65zLdyyJ","Name this revision","find","children","20122WaJOlQ","execute"];return(qe=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(177803===parseInt(e(107))/1*(parseInt(e(103))/2)+-parseInt(e(106))/3*(parseInt(e(108))/4)+-parseInt(e(149))/5*(parseInt(e(134))/6)+-parseInt(e(136))/7+-parseInt(e(112))/8*(-parseInt(e(118))/9)+-parseInt(e(137))/10+parseInt(e(133))/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=Rt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Et();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Ge;function Je(){const t=["creator","ck-disabled","isEnabled","_requireRevisionName","from","uiLanguage","createdAt","isSelected","ck-reset","select",".ck-confirm-view","setTemplate","span","54PakrNL","setName","ck-revision-history-sidebar__revision__controls-wrapper","4093554eZmNoG","srcElement","unshift","fieldView","104aLBgpt","name","ck-revision-history-sidebar__revision_selected","revisionActionsView","highlight","element","ck-revision-history-sidebar__revision__date","_createdAtFormatted","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision-authors","467215HwdkfJ","revisionNameView","fire","closest","220","1635400mmGBnQ","set","isActionsDropdownOpen","17378ybwEQG","value","length","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","map","authors","isHighlighted","isConfirm","ck-revision-history-sidebar__revision","ck-revision-history-sidebar__revision_highlighted","bindTemplate","_revision","listenTo","filter","extendTemplate","render","bind","2553564bcMHVi","isReady","div","709710DfImVm","564345rooqvX","deselect","change","unhighlight","ck-revision-history-sidebar__actions_dropdown_open"];return(Je=function(){return t})()}function Ge(t,e){const i=Je();return(Ge=function(t,e){return i[t-=353]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(355150===parseInt(e(378))/1+-parseInt(e(358))/2*(-parseInt(e(397))/3)+-parseInt(e(375))/4+parseInt(e(355))/5+parseInt(e(400))/6+-parseInt(e(414))/7+-parseInt(e(404))/8*(parseInt(e(379))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Je);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(415)];[Ye(407)];[Ye(369)];[Ye(387)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(368)],a=function(t,e){const i=r,s=Array[i(388)](e[i(363)])[i(371)](t=>t!=e[i(384)]);return e[i(384)]&&s[i(402)](e[i(384)]),s[i(362)](s=>new je(t,s,s==e[i(384)]))}(e,i);this.id=i.id,this[r(369)]=i,this[r(387)]=n,this[r(374)](r(405),r(390)).to(i),this[r(374)](r(411)).to(this,r(390),t=>{return i=e[r(389)],(s=t)[(n=ze)(381)](i,{month:n(380),day:n(389)})+", "+s[n(390)](i,{hour:n(389),minute:n(389)});var i,s,n}),this[r(356)](r(391),!1),this[r(356)](r(364),!1),this[r(356)](r(357),!1),this[r(356)](r(376),!1),this[r(356)](r(386),!1),this[r(415)]=new De(e,It.createLabeledInputText),this[r(415)][r(403)][r(372)]({attributes:{maxlength:r(354)}}),this[r(415)][r(403)][r(374)](r(359)).to(this,r(405),t=>t||this[r(411)]),this[r(415)][r(374)](r(386)).to(this,r(391),this,r(386),(t,e)=>t&&e),this[r(407)]=s&&s[r(360)]?function(e,i){const s=He,n=e[s(124)],r=e[s(146)],o=(0,It.createDropdown)(r);o[s(138)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=He,s=t[i(146)],n={"Compare against selected":at(s,i(122)),"Name this revision":at(s,i(150)),"Restore this revision":at(s,i(126))};return e[i(121)](t=>{const e=i,s=n[t[e(144)]];return s&&s!==t[e(144)]&&(t[e(144)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(148),model:new It.UIModel({label:t[n(144)],class:t[n(130)],withText:!0,role:n(143),_action:t[n(127)]})};i[n(111)][n(142)](n(115)).to(e,n(145),i=>n(132)!=typeof t[n(115)]||!i||t[n(115)](e)),o[n(125)](i)}return o}(e,i);return e[s(142)](s(145)).to(o,s(119)),o[s(139)][s(114)]({label:at(r,s(116)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(147)]({attributes:{class:[s(129),n.if(s(145),s(135))]},on:{click:n.to(t=>t[s(117)]())}}),o.on(s(104),t=>{const i=s;e[i(141)]&&i(132)==typeof t[i(113)][i(128)]&&t[i(113)][i(128)](e)}),(0,It.addListToDropdown)(o,a,{role:s(105)}),o[s(109)](e,s(123),(t,n,r)=>{const a=s;if(r)for(const t of o[a(131)][a(110)]){const s=t[a(152)][a(120)],n=i[a(151)](t=>t[a(127)]===s[a(128)])[a(140)];t[a(140)]=void 0===n||n(e)}}),o}(this,s):"",this[r(407)]&&this[r(407)][r(374)](r(386)).to(this),this[r(395)]({tag:r(377),attributes:{class:["ck",r(392),r(412),o.if(r(365),r(361))]},children:[{tag:r(377),attributes:{class:["ck",r(392),r(366),o.if(r(386),r(385),t=>!t),o.if(r(391),r(406)),o.if(r(364),r(367)),o.if(r(357),r(383))]},children:[this[r(415)],{tag:r(396),attributes:{class:["ck",r(410)]},children:[{text:o.to(r(411))}]},{tag:r(377),attributes:{class:["ck",r(399)]},children:[{tag:"ul",attributes:{class:["ck",r(413)]},children:a}]},this[r(407)]],on:{click:o.to(t=>{const e=r;t[e(401)][e(353)](e(394))||this[e(376)]&&this[e(386)]&&this[e(416)](e(393),{id:this.id})})}}]})}[Ye(373)](){const t=Ye;super[t(373)]();const e=this[t(415)][t(403)][t(409)];this[t(370)](e,t(381),()=>{const i=t;this[i(387)]&&!e[i(359)]||this[i(416)](i(398),{id:this.id,name:e[i(359)]}),e[i(359)]||(e[i(359)]=this[i(405)]?this[i(405)]:this[i(411)])})}[Ye(393)](){this[Ye(391)]=!0}[Ye(380)](){this[Ye(391)]=!1}[Ye(408)](){this[Ye(364)]=!0}[Ye(382)](){this[Ye(364)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},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 Qs(t,e,i)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Li extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Li(t)),e}static resetCache(){Fi.clear(),Di.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=Li.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Qs(t,e,i,this.name)}formatOffset(t,e){return nn(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Js({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let ji={};const Pi=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let s=Pi.get(i);return void 0===s&&(s=new Intl.DateTimeFormat(t,e),Pi.set(i,s)),s}const Wi=new Map;const Ui=new Map;let 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=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ws(this.floor?Math.floor(t):qs(t,3),this.padTo)}}class Ji{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Li.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Zi||(Zi=(new Intl.DateTimeFormat).resolvedOptions().locale,Zi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Zi=null,Pi.clear(),Wi.clear(),Ui.clear(),Hi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=zi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=zi(r).resolvedOptions(),s=r}const{numberingSystem:n,calendar:r}=e;return[s,n,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=s,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===qi(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Ps(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,un,()=>{const i=e?{month:t,day:"numeric"}:{month:t},s=e?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=function(t){const e=[];for(let i=1;i<=12;i++){const s=fo.utc(2009,i,1);e.push(t(s))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[s][t]})}weekdays(t,e=!1){return Bi(this,t,fn,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=e?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=function(t){const e=[];for(let i=1;i<=7;i++){const s=fo.utc(2016,11,13+i);e.push(t(s))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return Bi(this,void 0,()=>mn,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,yn,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const s=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return s?s.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=ji[i];return s||(s=new Intl.ListFormat(t,e),ji[i]=s),s}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||qi(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Fs()?function(t){let e=$i.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),$i.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class ts extends Mi{static get utcInstance(){return null===Qi&&(Qi=new ts(0)),Qi}static instance(t){return 0===t?ts.utcInstance:new ts(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new ts(tn(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${nn(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${nn(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return nn(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class es extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function is(t,e){if(Vs(t)||null===t)return e;if(t instanceof Mi)return t;if("string"==typeof t){const i=t.toLowerCase();return"default"===i?e:"local"===i||"system"===i?Ei.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||Li.create(t)}return Es(t)?ts.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new es(t)}const ss={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},ns={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},rs=ss.hanidec.replace(/[\[|\]]/g,"").split("");const os=new Map;function as({numberingSystem:t},e=""){const i=t||"latn";let s=os.get(i);void 0===s&&(s=new Map,os.set(i,s));let n=s.get(e);return void 0===n&&(n=new RegExp(`${ss[i]}${e}`),s.set(e,n)),n}let cs,us=()=>Date.now(),ls="system",hs=null,ds=null,fs=null,ms=60,ps=null;class vs{static get now(){return us}static set now(t){us=t}static set defaultZone(t){ls=t}static get defaultZone(){return is(ls,Ei.instance)}static get defaultLocale(){return hs}static set defaultLocale(t){hs=t}static get defaultNumberingSystem(){return ds}static set defaultNumberingSystem(t){ds=t}static get defaultOutputCalendar(){return fs}static set defaultOutputCalendar(t){fs=t}static get defaultWeekSettings(){return ps}static set defaultWeekSettings(t){ps=Ps(t)}static get twoDigitCutoffYear(){return ms}static set twoDigitCutoffYear(t){ms=t%100}static get throwOnInvalid(){return cs}static set throwOnInvalid(t){cs=t}static resetCaches(){Xi.resetCache(),Li.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($s(t)?ks:ys)[e-1]}function Is(t,e){const i=$s(t)?ks:ys,s=i.findIndex(t=>t<e);return{month:s+1,day:e-i[s]}}function Ss(t,e){return(t-e+7)%7+1}function Os(t,e=4,i=1){const{year:s,month:n,day:r}=t,o=_s(s,n,r),a=Ss(ws(s,n,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=s-1,u=Ks(c,e,i)):u>Ks(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function 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,Ys(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Es(t){return"number"==typeof t}function Ds(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function Ls(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function js(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ps(t){if(null==t)return null;if("object"!=typeof t)throw new ni("Week settings must be an object");if(!zs(t.firstDay,1,7)||!zs(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!zs(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function zs(t,e,i){return Ds(t)&&t>=e&&t<=i}function Ws(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Zs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Hs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Xs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(js(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ws(i,2)}:${Ws(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ws(i,2)}${Ws(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff: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: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 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(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 Un={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?Xs(Us(e)):Us(e),month:an.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const 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?Un[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[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))?)?/,An),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,An),Qn=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,Ln,jn),ir=Sn(Mn,Fn,Ln,jn),sr=Sn(Vn,Fn,Ln,jn),nr=Sn(Fn,Ln,jn);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,Dn),ar=In(En),cr=Sn(Fn,Ln,jn);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const s={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(s)}function yr(t,e){let i=e.milliseconds??0;for(const s of vr.slice(1))e[s]&&(i+=e[s]*t[s].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((s,n)=>{if(Vs(e[n]))return s;if(s){const r=e[s]*i,o=t[n][s],a=Math.floor(r/o);e[n]+=a*i,e[s]-=a*o*i}return n},null),pr.reduce((i,s)=>{if(Vs(e[s]))return i;if(i){const n=e[i]%1;e[i]-=n,e[s]+=n*t[i][s]}return s},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new ni("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:sn(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Es(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new ni(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return On(t,[zn,Wn])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return On(t,[Pn,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Duration is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new si(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?wn.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return Vs(i)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(i)}).filter(t=>t);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=qs(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1};return fo.fromMillis(e,{zone:"UTC"}).toISOTime(t)}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?yr(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t),i={};for(const t of pr)(js(e.values,t)||js(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=en(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...sn(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:s}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:s,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,s]of Object.entries(t))0!==s&&(e[i]=s);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},s=this.toObject();let n;for(const r of pr)if(t.indexOf(r)>=0){n=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Es(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Es(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Li.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function 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=Pr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Lr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,Xs);case"yyyy":case"kkkk":return Tr(r);case"yyyyy":return Tr(d);case"yyyyyy":return Tr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return Tr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return Tr(s);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return Tr(c);case"ooo":case"SSS":return Tr(n);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Er(/[a-z_+-/]{1,256}?/i);case" ":return Er(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(js(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=Li.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=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",Wr=864e13;function Ur(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(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=Ws(t.c.year,i?6:4),e?(s+="-",s+=Ws(t.c.month),s+="-",s+=Ws(t.c.day)):(s+=Ws(t.c.month),s+=Ws(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=Ws(t.c.hour);return e?(o+=":",o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ws(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ws(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ws(Math.trunc(-t.o/60)),o+=":",o+=Ws(Math.trunc(-t.o%60))):(o+="+",o+=Ws(Math.trunc(t.o/60)),o+=":",o+=Ws(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=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]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Es(t.o)&&!t.old?t.o:e.offset(this.ts);s=Br(this.ts,r),i=Number.isNaN(s.year)?new gs("invalid input"):null,s=i?null:s,n=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=s,this.o=n,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,s,n,r,o,a,c]=e;return t.zone=ts.utcInstance,ao({year:i,month:s,day:n,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(s=t,"[object Date]"===Object.prototype.toString.call(s)?t.valueOf():NaN);var s;if(Number.isNaN(i))return fo.invalid("invalid input");const n=is(e.zone,vs.defaultZone);return n.isValid?new fo({ts:i,zone:n,loc:Xi.fromObject(e)}):fo.invalid(Ur(n))}static fromMillis(t,e={}){if(Es(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Es(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=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=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Ds(t.weekYear),n=zs(t.weekNumber,1,Ks(t.weekYear,e,i)),r=zs(t.weekday,1,7);return s?n?!r&&bs("weekday",t.weekday):bs("week",t.weekNumber):bs("weekYear",t.weekYear)}(n,r,o):u?function(t){const e=Ds(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):As(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[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(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=jr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?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(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(Ys(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return qr(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return qr(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:s=!1,extendedZone:n=!1,format:r="extended"}={}){if(!this.isValid)return null;return(s?"T":"")+Qr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let s="HH:mm:ss.SSS";return(e||t)&&(i&&(s+=" "),e?s+="z":t&&(s+="ZZ")),Kr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return Ls(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return jr(Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:s=null}=e,n=Xi.fromOpts({locale:i,numberingSystem:s,defaultToEN:!0});return new Lr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return 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();return(po=function(t,e){return i[t-=461]})(t,e)}function vo(){const t=["week","local","startOf","122756RzGkKX","1401626fHjrik","147WfMixu","toJSDate","setLocale","78hiCoDb","1868869LBcXzv","weekdayLong","monthLong","day","14007216USOVvm","month","toRelativeCalendar","fromJSDate","hasSame","15785505sKvOVK","1027825IhLiKS","814709Colwfy","year","minus"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(470)](t)[i(461)](e),n=fo[i(478)](),r=n[i(476)]({days:1})[i(479)](i(466));let o,a;return s[i(471)](n,i(466))?(o=s[i(479)](i(466))[i(483)](),a=s[i(469)]()):s[i(471)](r,i(466))?(o=r[i(483)](),a=s[i(469)]()):s[i(471)](n,i(477))?(o=s[i(479)](i(477))[i(483)](),a=s[i(464)]||""):s[i(471)](n,i(475))?(o=s[i(479)](i(468))[i(483)](),a=s[i(465)]||""):(o=s[i(479)](i(475))[i(483)](),a=String(s[i(475)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(950178===parseInt(e(463))/1+-parseInt(e(481))/2+parseInt(e(482))/3*(parseInt(e(480))/4)+-parseInt(e(473))/5+-parseInt(e(462))/6*(parseInt(e(474))/7)+parseInt(e(467))/8+-parseInt(e(472))/9)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=Rt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=489]})(t,e)}function _o(){const t=["setName","span","revisionViews","3945656AgkgUY","221502TgIGtT","_requireRevisionName","154bEvEYo","find","ck-revision-history-sidebar__time-period__revisions","147934QKXeoI","delegate","ck-revision-history-sidebar__time-period","35wIWYHU","addRevision","ck-revision-history-sidebar__time-period__label","49444dYDYMx","startDate","_revisionActions","remove","select","div","7399746oFgSud","uiLanguage","14pDPqnl","5765344XTkfyW","69JPjKKH","1290810jmJIyI","localizedPeriodName","createCollection","setTemplate","add","removeRevision","locale"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(962248===parseInt(e(517))/1+-parseInt(e(511))/2*(-parseInt(e(494))/3)+-parseInt(e(505))/4+-parseInt(e(514))/5*(parseInt(e(506))/6)+parseInt(e(492))/7*(parseInt(e(493))/8)+parseInt(e(490))/9+parseInt(e(495))/10*(-parseInt(e(508))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(518)];[bo(504)];[bo(519)];[bo(507)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(501)][n(491)])[n(496)];this[n(518)]=e,this[n(504)]=this[n(497)](),this[n(519)]=i,this[n(507)]=s,this[n(504)][n(512)](n(521)).to(this),this[n(504)][n(512)](n(502)).to(this),this[n(498)]({tag:n(489),attributes:{class:["ck",n(513)]},children:[{tag:n(503),attributes:{class:["ck",n(516)]},children:[{text:r}]},{tag:n(489),attributes:{class:["ck",n(510)]},children:this[n(504)]}]})}[bo(515)](t){const e=bo,i=new Ke(this[e(501)],t,this[e(519)],this[e(507)]);this[e(504)][e(499)](i)}[bo(500)](t){const e=bo,i=this[e(504)][e(509)](e=>e.id===t.id);this[e(504)][e(520)](i)}}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-=335]})(t,e)}function xo(){const t=["2822544ivdXBR","7121303JNsZZs","content","2792042bWMZRG","10tvNRsn","setTemplate","ck-revision-history-sidebar__header__label","div","1445VrqzAH","25686tRNqzS","Revision history","1uOJxQT","9WEywFg","ck-reset_all","ck-revision-history-sidebar__header","305464ygTvRF","820916WtNtIC","span","234zMRmtg","1460314xtcTWD"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(622240===-parseInt(e(352))/1*(-parseInt(e(340))/2)+parseInt(e(353))/3*(parseInt(e(337))/4)+parseInt(e(349))/5*(-parseInt(e(350))/6)+parseInt(e(342))/7+-parseInt(e(336))/8*(parseInt(e(339))/9)+-parseInt(e(345))/10*(-parseInt(e(344))/11)+parseInt(e(341))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class No extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(343)]=_t.IconHistory,this[e(346)]({tag:e(348),attributes:{class:["ck",e(354),e(335)]},children:[i,{tag:e(338),attributes:{class:["ck",e(347)]},children:[at(t,e(351))]}]})}}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=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=134]})(t,e)}function Eo(){const t=["_requireRevisionName","ck-reset","highlight","selectRevision","some","fire","ck-revision-history-sidebar","flat","bindTemplate","find","_getTimePeriodViewByStartDate","3288591CzZqcl","unhighlight","198TOblGO","ck-disabled","div","28yFEwjn","select","timePeriodViews","ck-revision-history-sidebar__timeline","highlightRevisions","set","revisionSetName","197575zAfUZe","18UdCUEx","createdAt","isEnabled","getTime","get","add","startDate","_revisionActions","removeRevision","_revisions","2128528XrUIWl","ck-rounded-corners","delegate","revisionViews","createCollection","map","uiLanguage","setTemplate","_removeRevision","render","addRevision","revisionSelected","134719SoCsAs","setName","remove","locale","8588300oPdKNi","10671TPnnhq","697064cvAdga","_addRevision","deselect"];return(Eo=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(295576===parseInt(e(182))/1+parseInt(e(149))/2*(parseInt(e(187))/3)+parseInt(e(170))/4+-parseInt(e(159))/5*(-parseInt(e(160))/6)+-parseInt(e(152))/7*(parseInt(e(188))/8)+parseInt(e(147))/9+-parseInt(e(186))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Mo(154)];[Mo(169)];[Mo(167)];[Mo(136)];constructor(t,e,i,s){const n=Mo;super(t);const r=this[n(144)];this[n(154)]=this[n(174)](),this[n(154)][n(172)](n(153)).to(this),this[n(154)][n(172)](n(183)).to(this),this[n(169)]=e,this[n(167)]=i,this[n(136)]=s,this.on(n(153),(t,e)=>{const i=n;this[i(141)](i(181),e)}),this.on(n(183),(t,e)=>{const i=n;this[i(141)](i(158),e)}),this[n(157)](n(162),!1),this[n(177)]({tag:n(151),attributes:{class:["ck",n(137),n(171),n(142)]},children:[new No(t),{tag:n(151),attributes:{class:["ck",n(155),r.if(n(162),n(150),t=>!t)]},children:this[n(154)]}]})}[Mo(179)](){const t=Mo;super[t(179)]();for(const e of this[t(169)])this[t(134)](e);this[t(169)].on(t(165),(e,i)=>{this[t(134)](i)}),this[t(169)].on(t(184),(e,i)=>{this[t(178)](i)})}get[Mo(173)](){const t=Mo;return this[t(154)][t(175)](e=>e[t(173)][t(175)](t=>t))[t(143)]()}[Mo(139)](t){const e=Mo;for(const i of this[e(173)])t&&t.id===i.id?i[e(153)]():i[e(135)]()}[Mo(156)](t){const e=Mo;for(const i of this[e(173)])t[e(140)](({id:t})=>t===i.id)?i[e(138)]():i[e(148)]()}[Mo(134)](t){const e=Mo,i=go(t[e(161)],this[e(185)][e(176)])[e(166)];let s=this[e(154)][e(164)](0);s&&s[e(166)][e(163)]()===i[e(163)]()||(s=new Io(this[e(185)],i,this[e(167)],this[e(136)]),this[e(154)][e(165)](s)),s[e(180)](t)}[Mo(178)](t){const e=Mo,i=go(t[e(161)],this[e(185)][e(176)])[e(166)];this[e(146)](i)[e(168)](t)}[Mo(146)](t){const e=Mo;return this[e(154)][e(145)](i=>i[e(166)][e(163)]()===t[e(163)]())}}function Co(t,e){const i=Lo();return(Co=function(t,e){return i[t-=219]})(t,e)}const Fo=Co;function Lo(){const t=["action","_handleRevisionSelected","getIndex","config","_revisionViewer","select","getLaterVisibleRevision","revisionSetName","name","getRevision","ready","defaultRevisionActions","isVisible","remove","bind","revisionHistory.requireRevisionName","Restore this revision","data","requires","revisionViews","timePeriodViews","30naIiOn","revisionHistory.revisionActions","destroy","19456570XojUkH","isEnabled","get","editor","repository","render","1581601Jmqfer","Compare against selected","diff","restoreRevisionCallback","isOfficialPlugin","plugins","isReady","compareAgainstSelected","6qnOCxx","add","newRevisionId","RevisionsSidebar","_createRevisionActions","assign","Name this revision","8012744TeZCWi","_handleEditorDataReady","availableRevisionActions","523678YzXmOO","restoreRevision","focus","listenTo","_sidebarView","highlightRevisions","15tlzVVf","fieldView","6286212yLCikL","appendChild","_handleRevisionSetName","compare","length","116614XkiHOe","getEarlierVisibleRevision","getRevisionsInDiff","isSelected","_handleDiffChange","_revisionsRepository","selectRevision","setName","revisionSelected","string","isPremiumPlugin","revisionHistory","142108UxOWeW","_revisions","map","init","nameRevision","element","revisionHistory.viewerSidebarContainer","locale","pluginName","change:diff"];return(Lo=function(){return t})()}!function(t){const e=Co,i=t();for(;;)try{if(556836===parseInt(e(271))/1+-parseInt(e(284))/2*(-parseInt(e(277))/3)+parseInt(e(296))/4*(parseInt(e(244))/5)+-parseInt(e(261))/6*(parseInt(e(253))/7)+parseInt(e(268))/8+parseInt(e(279))/9+-parseInt(e(247))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends G.Plugin{[Fo(227)];[Fo(289)];[Fo(275)];static[Fo(234)]=[Fo(260),Fo(272),Fo(300)];static[Fo(270)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(254),action:({plugins:e},i)=>{const s=t,n=e[s(249)](ue),r=n[s(251)];let o=n[s(255)][s(263)],a=i.id;r[s(225)](o)>r[s(225)](a)&&([o,a]=[a,o]),n[s(282)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(249)](ue);return!(n[s(251)][s(286)](n[s(255)])[s(283)]>2||i[s(287)])}},restoreRevision:{name:t(239),action:(e,{id:i})=>{const s=t;e[s(226)][s(249)](s(295))[s(256)](i)},isVisible:({plugins:e},i)=>!!e[t(249)](ue)[t(251)][t(229)](i.id)},nameRevision:{name:t(267),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(249)](ue),o=r[n(251)][n(285)](i);r[n(282)](i,o),s[n(273)](),s[n(278)][n(228)]()}}}}();static get[Fo(221)](){return Fo(264)}static get[Fo(257)](){return!0}static get[Fo(294)](){return!0}static get[Fo(241)](){return[ue]}constructor(t){const e=Fo;super(t),this[e(227)]=t[e(258)][e(249)](ue),this[e(289)]=this[e(227)][e(251)],this[e(275)]=null}[Fo(299)](){const t=Fo,e=this[t(289)][t(297)],i=this[t(265)](),s=this[t(250)][t(226)][t(249)](t(219));this[t(275)]=new Do(this[t(250)][t(220)],e,i,this[t(250)][t(226)][t(249)](t(238))),this[t(275)].on(t(292),this[t(224)][t(237)](this)),this[t(275)].on(t(230),this[t(281)][t(237)](this)),this[t(275)][t(237)](t(248)).to(this[t(227)]),this[t(275)][t(243)].on(t(262),(e,i)=>{const s=t;i[s(242)].on(s(262),(t,e)=>{const i=s;e[i(237)](i(248),i(259)).to(this[i(227)])})}),this[t(275)][t(252)](),this[t(274)](this[t(250)][t(240)],t(233),this[t(269)][t(237)](this)),this[t(274)](this[t(227)],t(222),this[t(288)][t(237)](this)),s[t(280)](this[t(275)][t(301)])}[Fo(246)](){const t=Fo;this[t(275)][t(301)][t(236)](),this[t(275)][t(246)]()}[Fo(269)](){const t=Fo,e=this[t(289)][t(232)](0);if(e){const i=this[t(289)][t(285)](e.id);this[t(227)][t(282)](e,i)}}[Fo(224)](t,e){const i=Fo,s=this[i(289)][i(232)](e.id),n=this[i(289)][i(285)](s.id);this[i(227)][i(282)](s,n)}[Fo(281)](t,e){const i=Fo;this[i(289)][i(232)](e.id)[i(291)](e[i(231)])}[Fo(288)](t,e,i){const s=Fo,n=this[s(289)][s(286)](i);n[s(283)]>2?(this[s(275)][s(276)](n),this[s(275)][s(290)](null)):(this[s(275)][s(276)]([]),this[s(275)][s(290)](n[0]))}[Fo(265)](){const t=Fo,e=this[t(250)],i=jo[t(270)],s=e[t(226)][t(249)](t(245))||jo[t(234)];if(s[t(283)])return s[t(298)](s=>{const n=t,r=n(293)==typeof s?Object[n(266)]({},i[s]):s;return r[n(223)]=r[n(223)][n(237)](this,e),r[n(235)]&&(r[n(235)]=r[n(235)][n(237)](this,e)),r})}}const Po=Wo;function zo(){const t=["9002DJfhNM","focusTracker","stickyPanel","attachDomRoot","2959464EzwoAx","replace","editing","get","componentFactory","rootName","toolbar","restore","2922IZIusb","12248gsLFwS","isFocused","196neKNeV","addToolbar","bind","editable","name","348XcTTZY","_view","_initToolbar","ready","setEditableElement","element","4353767lZgFGc","view","getRoot","limiterElement","init","_elementReplacer","156602cPHuuo","10aKyOpv","viewportTopOffset","_toolbarConfig","viewportOffset","fillFromConfig","isActive","37460gemUBS","905450CobvDC","4221LWlgEU","fire","config","editor","detachDomRoot","document","render","destroy","3BUdpse"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=207]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(918905===parseInt(e(250))/1*(-parseInt(e(233))/2)+-parseInt(e(255))/3+-parseInt(e(216))/4*(parseInt(e(240))/5)+-parseInt(e(213))/6*(parseInt(e(251))/7)+-parseInt(e(214))/8*(-parseInt(e(242))/9)+parseInt(e(234))/10*(parseInt(e(227))/11)+parseInt(e(221))/12*(parseInt(e(241))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Po(222)];[Po(236)];[Po(232)];get[Po(228)](){return this[Po(222)]}constructor(e,i){const s=Po;super(e),this[s(222)]=i,this[s(236)]=(0,It.normalizeToolbarConfig)(e[s(244)][s(208)](s(211))),this[s(232)]=new t.ElementReplacer}get[Po(226)](){const t=Po;return this[t(228)][t(226)]}[Po(231)](t){const e=Po,i=this[e(245)],s=this[e(228)],n=i[e(207)][e(228)],r=s[e(219)],o=n[e(247)][e(229)]();r[e(220)]=o[e(210)],s[e(248)]();const a=r[e(226)];this[e(225)](r[e(220)],a),s[e(219)][e(218)](e(215)).to(this[e(252)]),n[e(254)](a),this[e(232)][e(256)](t,this[e(226)]),this[e(223)](),this[e(243)](e(224))}[Po(249)](){const t=Po;super[t(249)]();const e=this[t(228)],i=this[t(245)][t(207)][t(228)];this[t(232)][t(212)](),i[t(246)](e[t(219)][t(220)]),e[t(249)]()}[Po(223)](){const t=Po,e=this[t(228)];e[t(253)][t(218)](t(239)).to(this[t(252)],t(215)),e[t(253)][t(230)]=e[t(226)],e[t(253)][t(218)](t(235)).to(this,t(237),({top:t})=>t),e[t(211)][t(238)](this[t(236)],this[t(209)]),this[t(217)](e[t(211)])}}var Zo=i(324),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=Rt().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Et();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;function qo(){var t=["5OgJmRk","main","6rZhvSg","editable","content","2jSTrZY","toolbar","stickyPanel","775622yTqTZz","19427916QfGqLU","5101551NsjEAK","add","3154964nDXANX","_editable","shouldToolbarGroupWhenFull","327380FeFwys","220XNklLD","render","40YrPThq","top","854397cbacmu","769134gRaZFw"];return(qo=function(){return t})()}var $o=Bo;function Bo(t,e){var i=qo();return(Bo=function(t,e){return i[t-=120]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(482484===parseInt(e(132))/1*(parseInt(e(135))/2)+parseInt(e(126))/3+-parseInt(e(139))/4*(parseInt(e(127))/5)+parseInt(e(129))/6*(parseInt(e(137))/7)+parseInt(e(123))/8*(parseInt(e(125))/9)+-parseInt(e(120))/10*(-parseInt(e(121))/11)+-parseInt(e(136))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[$o(140)];[$o(134)];[$o(133)];get[$o(130)](){return this[$o(140)]}constructor(t,e,i={}){var s=$o;super(t),this[s(134)]=new It.StickyPanelView(t),this[s(133)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(141)]}),this[s(140)]=new It.InlineEditableUIView(t,e)}[$o(122)](){var t=$o;super[t(122)](),this[t(134)][t(131)][t(138)](this[t(133)]),this[t(124)][t(138)](this[t(134)]),this[t(128)][t(138)](this[t(130)])}}const Jo=Go;function Go(t,e){const i=Ko();return(Go=function(t,e){return i[t-=424]})(t,e)}function Ko(){const t=["1832109EloNxP","createRoot","editing","84Fkypkx","updateSourceElement","destroy","create","get","document","20587uDocNv","sourceElement","fire","505645JSxzNb","config","initialData","locale","model","initPlugins","init","ready","616061ReBkML","20827180nMAKXT","2yCOVCe","view","_ui","data","234ZdiPiV","4772596kdUZug","385256WOBwzb"];return(Ko=function(){return t})()}!function(t){const e=Go,i=t();for(;;)try{if(854932===-parseInt(e(446))/1*(parseInt(e(448))/2)+-parseInt(e(426))/3+-parseInt(e(424))/4+-parseInt(e(438))/5+parseInt(e(429))/6*(parseInt(e(435))/7)+parseInt(e(425))/8*(parseInt(e(452))/9)+parseInt(e(447))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(450)];get ui(){return this[Jo(450)]}constructor(t,e){const i=Jo;super(e),this[i(436)]=t,this[i(442)][i(434)][i(427)]();const s=new Yo(this[i(441)],this[i(428)][i(449)],{shouldToolbarGroupWhenFull:!0});this[i(450)]=new Uo(this,s)}[Jo(431)](){const t=Jo;return this[t(430)](),this.ui[t(431)](),super[t(431)]()}static async[Jo(432)](t,e){const i=Jo,s=new this(t,e);return await s[i(443)](),await s.ui[i(444)](t),await s[i(451)][i(444)](s[i(439)][i(433)](i(440))||""),s[i(437)](i(445)),s}}const Qo=ia;function ta(){const t=["element","_getRevisionViewerEditorConfig","tabindex","Restored","get","DocumentOutline","RevisionTracker","style","revision-history-missing-configuration","then","end","numeric","selection","isOpen","revisionHistory.restoreRevisionCallback","restoreRevision","10002zxpTON","querySelector","set","refreshPositioning","from","RevisionHistory","requires","name","getMarkersGroup","Dialog","isEnabled","revisionHistory.closeRevisionViewerCallback","keys","getRevision","6FAdqbB","_enhanceCloseRevisionViewerCallback",".ck-ai-chat__prompt-input .ck-textarea","AIBalloon","addUser","map","Annotations","revision-history-viewer-opened","DocumentOutlineUI","getRoot","RevisionViewerIntegration","indexOf","define","includes","_cleanUp","fromVersion","display","AIActions","AIReviewMode","_showRevisionViewer","pluginName","AIQuickActions","setSelection","creator","_closeRevisionViewer","enqueueChange","isOfficialPlugin","result","insert","document","revisionHistory.viewerContainer",".ck-ai-chat-history .ck-input","save","hide","_restoreRevision","push","has","getAttributeKeys","create","getRevisions","showRevisionViewerCallback","965oNnLCn","remove","2270ezypUt","disableReadOnlyMode","getRevisionDocumentData","destroy","isReady","detachRoot","isAnonymous","AIChat","PaginationLookup","changesNavigation","_viewerEditor","getRevisionRootsAttributes","lazyRoots","isRevisionViewerOpen"," ck-tab-panel_disabled","4zkxNKk","removeAttribute","closeRevisionViewerCallback","init","toolbar","panelViews","saveRevision","update","1337928cAqXeN","loadRevisionData","adapter","addRevisionData","getUser","rootName","config","join","toVersion","uiLanguage","change","locale","addRoot","markers","revisionHistory.showRevisionViewerCallback","RevisionHistoryUtils","21933zsyuJN","_update","model","users","AIChatHistory","$graveyard","RevisionHistoryUI","removeSelectionAttribute","1872qsyKye","commands","revisionHistory.requireRevisionName","translations","RevisionViewer","exitToEditing","AITabs","148933oFdiKU","12137592AXiKda","error","isReadOnly","block","none","repository","enableReadOnlyMode","createRangeIn","createdAt","view","_recalculatePageBreaks","Autosave","toLocaleDateString","RevisionsRepository","plugins","replace","revisionHistory.viewerEditorElement","revisionHistory.editorContainer","parse","editor","isPremiumPlugin","toJSON","removeMarker","bind","toLocaleTimeString","refreshVisibility","long","catch","29139ikLEBx","setAttribute","isAttached","_enhanceShowRevisionViewerCallback","18991megeSq","restrictedEditingException","ck-tab-panel_disabled","revisionHistory","Users","roots","data","fromCharCode","RestrictedEditingMode","class"];return(ta=function(){return t})()}!function(t){const e=ia,i=t();for(;;)try{if(404466===-parseInt(e(247))/1*(parseInt(e(320))/2)+-parseInt(e(216))/3*(parseInt(e(208))/4)+-parseInt(e(361))/5*(-parseInt(e(306))/6)+parseInt(e(280))/7*(-parseInt(e(240))/8)+-parseInt(e(232))/9+-parseInt(e(363))/10*(-parseInt(e(276))/11)+parseInt(e(248))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ea=[Qo(238),Qo(288),Qo(370),Qo(338),Qo(323),Qo(341),Qo(337)];function ia(t,e){const i=ta();return(ia=function(t,e){return i[t-=203]})(t,e)}class sa extends G.Plugin{[Qo(347)];static get[Qo(340)](){return Qo(330)}static get[Qo(346)](){return!0}static get[Qo(268)](){return!0}constructor(t){const e=Qo;function i(t){const e=ia;return t[e(325)](t=>String[e(287)](t))[e(223)]("")}super(t),this[e(347)]=e(300),t[i([101,100,105,116,105,110,103])][i([118,105,101,119])][i([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=i([97,117,116,111]),t[i([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116])]=()=>window[i([80,114,111,109,105,115,101])][i([114,101,115,111,108,118,101])]({[i([115,116,97,116,117,115])]:i([111,107])})}}class na extends G.Plugin{[Qo(203)];static get[Qo(340)](){return Qo(311)}static get[Qo(346)](){return!0}static get[Qo(268)](){return!0}static get[Qo(312)](){return[pt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(267)][i(222)][i(294)](i(283)))throw new t.CKEditorError(i(298),this);this[i(203)]=null,this[i(308)](i(206),!1),this[i(267)][i(222)][i(332)](i(230),t=>this[i(339)]({...t,translations:this[i(267)][i(227)][i(243)]})),this[i(267)][i(222)][i(332)](i(317),t=>this[i(344)](t)),this[i(267)][i(222)][i(332)](i(304),t=>this[i(354)](t)),this[i(267)][i(222)][i(332)](i(242),!1),this[i(279)](),this[i(321)]()}set[Qo(218)](t){const e=Qo;this[e(267)][e(262)][e(294)](e(296))[e(218)]=t}get[Qo(218)](){const t=Qo;return this[t(267)][t(262)][t(294)](t(296))[t(218)]}[Qo(219)](t){const e=Qo;return this[e(267)][e(262)][e(294)](e(296))[e(219)](t)}[Qo(319)](t){const e=Qo;return this[e(267)][e(262)][e(294)](e(261))[e(319)](t)}[Qo(359)](t){const e=Qo;return this[e(267)][e(262)][e(294)](e(261))[e(359)](t||{toJSON:!1})}[Qo(291)](){const e=Qo,i=this[e(267)],s=(0,K.sanitizeEditorConfig)(i,ea),n=i[e(262)][e(294)](e(296)),r=i[e(262)][e(294)](e(284))[e(235)];return s[e(212)]=[e(245),e(305),e(372)],delete s[e(205)],s[e(262)][e(355)](sa,ue,Ne,class extends G.Plugin{static get[e(312)](){return[ue,e(284)]}[e(211)](){const s=e,o=this[s(267)][s(262)][s(294)](s(284));for(const t of r)t[s(369)]||o[s(220)](t.id)||o[s(324)](t);const a=n[s(253)][s(359)]();let c=null;const u=this[s(267)][s(262)][s(294)](s(244));u[s(218)]=n[s(218)],u[s(271)](s(316)).to(n),this[s(267)][s(241)][s(294)](s(305))[s(271)](s(316)).to(i,s(250),t=>!t);for(const e of a){const i=null===e[s(343)];if(i&&e[s(224)]===e[s(335)])continue;const r=e[s(269)]();u[s(219)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(233)](r,o);else if(!o){const e=a[u(269)]();e.id=(0,t.uid)(),n[u(214)](e,a[u(224)])[u(299)](t=>{c=t})}}else e[u(233)](r,o)})}}},jo),s}[Qo(279)](){const t=Qo,e=this[t(267)][t(222)][t(294)](t(283))[t(360)];this[t(267)][t(222)][t(308)](t(230),async()=>{const i=t;this[i(267)][i(254)](i(327));const s=this[i(267)][i(262)][i(294)](i(296));if(this[i(267)][i(262)][i(356)](i(259))){const t=this[i(267)][i(262)][i(294)](i(259));await t[i(352)]()}else await s[i(215)]();if(this[i(267)][i(262)][i(356)](i(371))&&this[i(267)][i(262)][i(294)](i(371))[i(258)](),this[i(267)][i(262)][i(356)](i(315))){const t=this[i(267)][i(262)][i(294)](i(315));t[i(303)]&&t[i(353)]()}if(this[i(267)][i(262)][i(356)](i(246))){const t=this[i(267)][i(262)][i(294)](i(246))[i(257)][i(213)];for(const e of t)e[i(289)]=e[i(289)]?e[i(289)]+i(207):i(282);if(this[i(267)][i(262)][i(356)](i(370))){const t=document[i(307)](i(322));t&&t[i(277)](i(292),"-1")}if(this[i(267)][i(262)][i(356)](i(236))){const t=document[i(307)](i(351));t&&t[i(277)](i(292),"-1")}}const n=this[i(291)]();return e(n)[i(299)](t=>{const e=i;return this[e(203)]=t,this[e(267)][e(262)][e(356)](e(326))&&this[e(267)][e(262)][e(294)](e(326))[e(273)](),this[e(267)][e(262)][e(356)](e(295))&&(this[e(267)][e(262)][e(294)](e(328))[e(257)][e(290)][e(297)][e(336)]=e(252)),t})[i(275)](t=>(console[i(249)](t),this[i(267)][i(364)](i(327)),null))})}[Qo(321)](){const t=Qo,e=this[t(267)][t(222)][t(294)](t(283))[t(210)];this[t(267)][t(222)][t(308)](t(317),()=>{const i=t;if(this[i(267)][i(262)][i(356)](i(371))&&this[i(267)][i(262)][i(294)](i(371))[i(258)](),this[i(267)][i(262)][i(356)](i(295))&&(this[i(267)][i(262)][i(294)](i(328))[i(257)][i(290)][i(297)][i(336)]=""),this[i(267)][i(262)][i(356)](i(246))){const t=this[i(267)][i(262)][i(294)](i(246))[i(257)][i(213)];for(const e of t)e[i(289)]=i(282)===e[i(289)]?"":e[i(289)][i(263)](i(207),"");if(this[i(267)][i(262)][i(356)](i(370))){const t=document[i(307)](i(322));t&&t[i(209)](i(292))}if(this[i(267)][i(262)][i(356)](i(236))){const t=document[i(307)](i(351));t&&t[i(209)](i(292))}}return this[i(203)][i(262)][i(294)](i(244))[i(334)](),e(this[i(203)])[i(299)](()=>{const t=i;if(this[t(267)][t(364)](t(327)),this[t(203)]=null,this[t(267)][t(262)][t(356)](t(326))){const e=this[t(267)][t(262)][t(294)](t(326));e[t(273)](),e[t(309)]()}})})}[Qo(339)](t){const e=Qo,i=this[e(267)][e(222)][e(294)](e(265)),s=this[e(267)][e(222)][e(294)](e(350)),n=this[e(267)][e(222)][e(294)](e(264));return Xo[e(358)](n,t)[e(299)](t=>(s[e(297)][e(336)]=e(251),i[e(297)][e(336)]=e(252),this[e(206)]=!0,t))}[Qo(344)](t){const e=Qo,i=this[e(267)][e(222)][e(294)](e(265));return this[e(267)][e(222)][e(294)](e(350))[e(297)][e(336)]=e(252),i[e(297)][e(336)]="",this[e(206)]=!1,t[e(366)]()}async[Qo(354)](t){const e=Qo,i=this[e(267)],s=this[e(203)][e(262)][e(294)](e(244)),n=i[e(262)][e(294)](e(296)),r=i[e(262)][e(294)](e(231)),o=s[e(253)][e(319)](t);let a,c,u;try{await r[e(217)](o,this[e(218)]),a=r[e(365)](o),c=r[e(204)](o)}catch(t){return void console[e(249)](t)}i[e(234)][e(226)](t=>{const s=e;for(const e of Array[s(310)](i[s(234)][s(229)][s(314)](s(281))))t[s(270)](e)}),s[e(367)]=!1,i[e(234)][e(345)](t=>{const s=e;t[s(342)](null),t[s(239)](i[s(234)][s(349)][s(302)][s(357)]());const n=Object[s(318)](a);for(const e of i[s(234)][s(349)][s(285)])s(237)!=e[s(221)]&&e[s(278)]()&&!n[s(333)](e[s(221)])&&t[s(368)](e);for(const e of n){let n=i[s(234)][s(349)][s(329)](e);n&&n[s(278)]()||(n=t[s(228)](e));const r=c[e],o=Object[s(318)](r),u=a[e];for(const e of n[s(357)]())o[s(333)](e)||t[s(209)](e,n);for(const i of o)t[s(277)](i,c[e][i],n);t[s(362)](t[s(255)](n)),t[s(348)](i[s(286)][s(266)](u,n),n,0)}});const l=at(i[e(227)],e(293));return u=o[e(313)]?-1==o[e(313)][e(331)](l)?l+": "+o[e(313)]:o[e(313)]:l+": "+o[e(256)][e(260)](i[e(227)][e(225)],{month:e(274),day:e(301)})+", "+o[e(256)][e(272)](i[e(227)][e(225)],{hour:e(301),minute:e(301)}),await n[e(214)]({name:u}),s[e(367)]=!0,i[e(222)][e(294)](e(283))[e(210)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=313]})(t,e)}function oa(){var t=["6714gAGfvT","54278HifEpj","80bRQGZD","3733828qQXrAd","1910468PWYvfM","3268701Lngeqw","3464992XRpcyJ","2424993pHsyml","20KAqXug","2415PqKAMv"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(430221===-parseInt(e(317))/1*(-parseInt(e(320))/2)+parseInt(e(316))/3+parseInt(e(313))/4+parseInt(e(318))/5*(parseInt(e(319))/6)+parseInt(e(322))/7+parseInt(e(315))/8+parseInt(e(314))/9*(-parseInt(e(321))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(oa)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();
5
+ */(()=>{var t={10:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,'.ck .ck-revision-change{border-top-left-radius:var(--ck-border-radius);outline:0;padding:var(--ck-spacing-small) var(--ck-spacing-large)}.ck .ck-revision-change>*{font-size:var(--ck-font-size-standard);vertical-align:bottom}.ck .ck-revision-change.ck-revision-change__add{border-left-color:var(--ck-color-suggestion-box-insertion-border)}.ck .ck-revision-change.ck-revision-change__remove{border-left-color:var(--ck-color-suggestion-box-deletion-border)}.ck .ck-revision-change .ck-revision-change__label{font-size:inherit;font-weight:700;vertical-align:inherit}.ck.ck-button.ck-revision-history-ui__back-to-editing{background:var(--ck-color-base-active);color:var(--ck-color-base-background)}.ck.ck-button.ck-revision-history-ui__back-to-editing:hover:not(.ck-disabled){background:var(--ck-color-base-active-focus)}.ck-content .ck-suggestion-preview-marker,.ck-content .ck-suggestion-preview-marker-split{opacity:.75}.ck-content .ck-suggestion-preview-marker-split:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-merge{opacity:.75;text-decoration:line-through}.ck-content .ck-suggestion-preview-marker-merge:after{content:"¶"}.ck-content .ck-suggestion-preview-marker-deletion{text-decoration:line-through}.ck-content .ck-suggestion-marker-deletion-new:not(.ck-widget),.ck-content .ck-suggestion-marker-merge-new{--ck-color-suggestion-marker-deletion-border:none;--ck-color-suggestion-marker-deletion-border-active:none;--ck-color-suggestion-marker-deletion-background:none;--ck-color-suggestion-marker-deletion-background-active:none;--ck-color-suggestion-marker-deletion-stroke:rgba(122,31,54,.8);--ck-color-suggestion-widget-deletion-background:rgba(229,102,134,.03);--ck-color-suggestion-widget-deletion-background-active:rgba(196,33,74,.05)}.ck-content .ck-suggestion-marker-merge-new:after{color:inherit}.ck-content .ck-suggestion-marker-insertion-new,.ck-content .ck-suggestion-marker-split-new{opacity:.75}.ck-content .ck-suggestion-marker-deletion-new.ck-suggestion-marker--active:not(.table),.ck-content .ck-suggestion-marker-merge-new.ck-suggestion-marker--active{--ck-color-suggestion-marker-deletion-background-active:rgba(218,37,82,.08);--ck-color-suggestion-marker-deletion-stroke:#7a1f36;opacity:1}.ck-content .ck-suggestion-marker-insertion-new.ck-suggestion-marker--active,.ck-content .ck-suggestion-marker-split-new.ck-suggestion-marker--active{opacity:1}.ck.ck-editor__editable_inline.ck-revision-history-root-add{border:3px solid var(--ck-color-suggestion-marker-insertion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-add.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-insertion-border-active)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove{border:3px solid var(--ck-color-suggestion-marker-deletion-border)}.ck.ck-editor__editable_inline.ck-revision-history-root-remove.ck-revision-history-root--active{border-color:var(--ck-color-suggestion-marker-deletion-border-active)}',""]);const a=o},52:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-revision-vertical-spacing:calc(var(--ck-spacing-standard)*2)}.ck.ck-revision-history-sidebar__time-period{width:100%}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label{background:var(--ck-revision-history-sidebar-period-background);border-radius:var(--ck-border-radius);color:var(--ck-color-base-background);font-size:9px;font-weight:700;padding:var(--ck-spacing-tiny) var(--ck-spacing-standard);text-transform:uppercase}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__label:first-child{margin-top:var(--ck-spacing-standard)}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar__time-period .ck-revision-history-sidebar__time-period__revisions .ck-revision-history-sidebar__revision-wrapper,.ck.ck-revision-history-sidebar__time-period:not(.ck-hidden)+.ck-revision-history-sidebar__time-period{margin-top:var(--ck-revision-history-sidebar-revision-vertical-spacing)}",""]);const a=o},98:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,'.ck-vertical-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck-vertical-form .ck-button:focus:after{display:none}@media screen and (max-width:600px){.ck.ck-responsive-form .ck-button:after{bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;width:0;z-index:1}.ck.ck-responsive-form .ck-button:focus:after{display:none}}.ck-vertical-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form{padding:var(--ck-spacing-large)}.ck.ck-responsive-form:focus{outline:none}[dir=ltr] .ck.ck-responsive-form>:not(:first-child),[dir=rtl] .ck.ck-responsive-form>:not(:last-child){margin-left:var(--ck-spacing-standard)}@media screen and (max-width:600px){.ck.ck-responsive-form{padding:0;width:calc(var(--ck-input-width)*.8)}.ck.ck-responsive-form .ck-labeled-field-view{margin:var(--ck-spacing-large) var(--ck-spacing-large) 0}.ck.ck-responsive-form .ck-labeled-field-view .ck-input-number,.ck.ck-responsive-form .ck-labeled-field-view .ck-input-text{min-width:0;width:100%}.ck.ck-responsive-form .ck-labeled-field-view .ck-labeled-field-view__error{white-space:normal}.ck.ck-responsive-form>.ck-button:nth-last-child(2):after{border-right:1px solid var(--ck-color-base-border)}.ck.ck-responsive-form>.ck-button:last-child,.ck.ck-responsive-form>.ck-button:nth-last-child(2){border-radius:0;margin-top:var(--ck-spacing-large);padding:var(--ck-spacing-standard)}.ck.ck-responsive-form>.ck-button:last-child:not(:focus),.ck.ck-responsive-form>.ck-button:nth-last-child(2):not(:focus){border-top:1px solid var(--ck-color-base-border)}[dir=ltr] .ck.ck-responsive-form>.ck-button:last-child,[dir=ltr] .ck.ck-responsive-form>.ck-button:nth-last-child(2),[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2){margin-left:0}[dir=rtl] .ck.ck-responsive-form>.ck-button:last-child:last-of-type,[dir=rtl] .ck.ck-responsive-form>.ck-button:nth-last-child(2):last-of-type{border-right:1px solid var(--ck-color-base-border)}}',""]);const a=o},102:t=>{"use strict";var e={};t.exports=function(t,i){var n=function(t){if(void 0===e[t]){var i=document.querySelector(t);if(window.HTMLIFrameElement&&i instanceof window.HTMLIFrameElement)try{i=i.contentDocument.head}catch(t){i=null}e[t]=i}return e[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(i)}},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 n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__header{--header-height:max(calc(var(--ck-ui-component-min-height) + var(--ck-spacing-small)*2 + 1px),calc(var(--ck-icon-size) + var(--ck-spacing-small)*2 + var(--ck-spacing-small)*2 + 1px));align-items:center;border-bottom:1px solid var(--ck-color-toolbar-border);color:inherit;display:flex;flex-direction:row;font-family:inherit;font-weight:700;height:var(--header-height);line-height:var(--header-height);min-height:var(--header-height);overflow:hidden;padding:0 var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar__header .ck-revision-history-sidebar__header__label{color:inherit;font-family:inherit;font-size:1.2em;font-weight:700}.ck.ck-revision-history-sidebar__header .ck-icon{margin-right:var(--ck-spacing-large)}",""]);const a=o},251:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-author{display:block;position:relative;transition:var(--ck-revision-history-revision-transitions)}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-author{transition:none}}.ck.ck-revision-history-sidebar__revision-author .ck-revision-history-sidebar__revision-author__name{display:block;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-author .ck-icon{height:10px;left:calc(var(--ck-revision-history-revision-author-icon-offset)*-1);position:absolute;top:3px;width:11px}.ck.ck-revision-history-sidebar__revision-author:not(:first-of-type) .ck-icon{display:none}",""]);const a=o},282:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation{align-items:center;display:flex;margin-left:auto}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__wrapper{display:flex;margin-right:var(--ck-spacing-standard)}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__label{font-weight:700;white-space:pre}.ck.ck-revision-history-ui.ck-revision-history-ui__changes-navigation .ck-revision-history-ui__changes-navigation__navigation{margin-left:var(--ck-spacing-small)}",""]);const a=o},297:t=>{"use strict";var e,i=(e=[],function(t,i){return e[t]=i,e.filter(Boolean).join("\n")});function n(t,e,n,s){var r;if(n)r="";else{r="",s.supports&&(r+="@supports (".concat(s.supports,") {")),s.media&&(r+="@media ".concat(s.media," {"));var o=void 0!==s.layer;o&&(r+="@layer".concat(s.layer.length>0?" ".concat(s.layer):""," {")),r+=s.css,o&&(r+="}"),s.media&&(r+="}"),s.supports&&(r+="}")}if(t.styleSheet)t.styleSheet.cssText=i(e,r);else{var a=document.createTextNode(r),c=t.childNodes;c[e]&&t.removeChild(c[e]),c.length?t.insertBefore(a,c[e]):t.appendChild(a)}}var s={singleton:null,singletonCounter:0};t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var e=s.singletonCounter++,i=s.singleton||(s.singleton=t.insertStyleElement(t));return{update:function(t){n(i,e,!1,t)},remove:function(t){n(i,e,!0,t)}}}},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 n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,".ck.ck-editor{position:relative}.ck.ck-editor .ck-editor__top .ck-sticky-panel .ck-toolbar{z-index:var(--ck-z-panel)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content{border:solid var(--ck-color-base-border);border-radius:0;border-width:1px 1px 0}.ck-rounded-corners .ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content,.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-rounded-corners{border-radius:var(--ck-border-radius);border-bottom-left-radius:0;border-bottom-right-radius:0}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content.ck-sticky-panel__content_sticky{border-bottom-width:1px}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-menu-bar{border:0;border-bottom:1px solid var(--ck-color-base-border)}.ck.ck-editor__top .ck-sticky-panel .ck-sticky-panel__content .ck-toolbar{border:0}.ck.ck-editor__main>.ck-editor__editable{background:var(--ck-color-base-background);border-radius:0}.ck-rounded-corners .ck.ck-editor__main>.ck-editor__editable,.ck.ck-editor__main>.ck-editor__editable.ck-rounded-corners{border-radius:var(--ck-border-radius);border-top-left-radius:0;border-top-right-radius:0}.ck.ck-editor__main>.ck-editor__editable:not(.ck-focused){border-color:var(--ck-color-base-border)}",""]);const a=o},355:(t,e,i)=>{t.exports=i(237)("./src/icons.js")},448:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-save-revision-form{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:nowrap;width:400px}.ck.ck-revision-history-save-revision-form .ck-labeled-field-view{width:100%}.ck.ck-revision-history-save-revision-form .ck-label{display:none}.ck.ck-revision-history-save-revision-form .ck-input{width:100%}",""]);const a=o},505:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions{display:none;position:absolute;right:var(--ck-spacing-small);top:var(--ck-spacing-small)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{min-height:unset;min-width:unset}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__button .ck-button__icon{transform:scale(.7)}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-dropdown__arrow{display:none}.ck.ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__actions .ck-list__item__danger{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button{color:var(--ck-color-base-background)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-color-base-active-focus)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover{background:var(--ck-revision-history-revision-highlighted-background-color-hover)}.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button.ck-on:hover,.ck.ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted .ck-revision-history-sidebar__revision__actions .ck-dropdown__button:hover:hover{filter:brightness(95%)}.ck.ck-revision-history-sidebar__revision:hover:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions,.ck.ck-revision-history-sidebar__revision:not(.ck-disabled) .ck-revision-history-sidebar__revision__actions.ck-on{display:block}",""]);const a=o},584:(t,e,i)=>{t.exports=i(237)("./src/utils.js")},586:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,'.ck{--ck-revision-history-loading-overlay-transition-duration:.2s;--ck-revision-history-loading-overlay-transition-delay:0s;--ck-revision-history-loading-overlay-spinner-rotation-duration:1s;--ck-revision-history-loading-overlay-spinner-size:60px;--ck-revision-history-loading-overlay-visible-background:#fff}.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{content:"";opacity:0;position:absolute;transition:opacity var(--ck-revision-history-loading-overlay-transition-duration) ease;transition-delay:0s;visibility:hidden}@media (prefers-reduced-motion:reduce){.ck.ck-editor__editable:after,.ck.ck-editor__editable:before{transition:none}}.ck.ck-editor__editable:before{background:var(--ck-revision-history-loading-overlay-visible-background);height:100%;left:0;top:0;width:100%;z-index:var(--ck-z-default)}.ck.ck-editor__editable:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite;border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},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="",n=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),n&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),n&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,n,s,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(n)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);n&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),s&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=s):l[4]="".concat(s)),e.push(l))}},e}},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 n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var n=i(106),s=i.n(n),r=i(779),o=i.n(r)()(s());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},929:t=>{"use strict";var e=[];function i(t){for(var i=-1,n=0;n<e.length;n++)if(e[n].identifier===t){i=n;break}return i}function n(t,n){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=n.base?c[0]+n.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=s(f,n);n.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function s(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,s){var r=n(t=t||[],s=s||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=n(t,s),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var r=e[n]={id:n,exports:{}};return t[n](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};(()=>{"use strict";i.r(n),i.d(n,{RestoreRevisionCommand:()=>he,Revision:()=>J,RevisionHistory:()=>sa,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>ia,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Te,RevisionsRepository:()=>it,RevisionsSidebar:()=>jo,ShowChangeCommand:()=>de});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function s(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",x="[object Float64Array]";function T(t,e,i,n=new Map,A=void 0){const R=A?.(t,e,i,n);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(n.has(t))return n.get(t);if(Array.isArray(t)){const e=new Array(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=T(t[s],s,i,n,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;n.set(t,e);for(const[s,r]of t)e.set(s,T(r,s,i,n,A));return e}if(t instanceof Set){const e=new Set;n.set(t,e);for(const s of t)e.add(T(s,void 0,i,n,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);n.set(t,e);for(let s=0;s<t.length;s++)e[s]=T(t[s],s,i,n,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return n.set(t,e),N(e,t,i,n,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return n.set(t,e),N(e,t,i,n,A),e}if(t instanceof Error){const e=new t.constructor;return n.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,n,A),e}if("object"==typeof t&&function(t){switch(s(t)){case u:case m:case p:case g:case c:case h:case O:case x:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return n.set(t,e),N(e,t,i,n,A),e}return t}function N(t,i,n=t,s,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=T(i[a],a,n,s,r))}}function A(t,e){return function(t,e){return T(t,void 0,t,new Map,e)}(t,(i,n,s,r)=>{const l=e?.(i,n,s,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const E=(t,e,i)=>{const n=t[e];Object.hasOwn(t,e)&&V(n,i)&&(void 0!==i||e in t)||(t[e]=i)},D=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return D.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,P=/^\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&&(P.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 n=0,s="",r="",o=!1;for(46===t.charCodeAt(0)&&(e.push(""),n++);n<i;){const a=t[n];r?"\\"===a&&n+1<i?(n++,s+=t[n]):a===r?r="":s+=a:o?'"'===a||"'"===a?r=a:"]"===a?(o=!1,e.push(s),s=""):s+=a:"["===a?(o=!0,s&&(e.push(s),s="")):"."===a?s&&(e.push(s),s=""):s+=a,n++}return s&&e.push(s),e}function H(t,e,i){return function(t,e,i,n){if(null==t&&!z(t))return t;const s=j(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?W(e):[e];let r=t;for(let e=0;e<s.length&&null!=r;e++){const o=L(s[e]);if(M(o))continue;let a;if(e===s.length-1)a=i(r[o]);else{const i=r[o],c=n?.(i,o,t);a=void 0!==c?c:z(i)?i:C(s[e+1])?[]:{}}E(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function U(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const n=t[e];return void 0===n?U(e)?Z(t,W(e),i):i:n}case"number":case"symbol":{"number"==typeof e&&(e=L(e));const n=t[e];return void 0===n?i:n}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let n=t;for(let t=0;t<e.length;t++){if(null==n)return i;if(M(e[t]))return i;n=n[e[t]]}if(void 0===n)return i;return n}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const n=t[e];return void 0===n?i:n}}}function $(t,e){const i=Z(t,e.slice(0,-1),t),n=e[e.length-1];if(void 0===i?.[n])return!0;if(M(n))return!1;try{return delete i[n],!0}catch{return!1}}const q=B;function B(t,e){const i=Y();return(B=function(t,e){return i[t-=391]})(t,e)}function Y(){const t=["fromVersion","836342DEPfDc","54pFHLmx","50358jXBiCT","5SAAldb","30fcliwW","createdAt","authors","171472beKZRV","authorsIds","toVersion","setAttribute","creatorId","467740rMOUCC","_update","351qwGnzZ","set","creator","14070573SWzPHk","attributes","model","name","fire","4201760zvCPLL","diffData","setName","toJSON","328538tYXVvN","map","removeAttribute"];return(Y=function(){return t})()}!function(t){const e=B,i=t();for(;;)try{if(533473===-parseInt(e(418))/1+parseInt(e(392))/2*(parseInt(e(420))/3)+-parseInt(e(410))/4*(-parseInt(e(391))/5)+-parseInt(e(419))/6*(parseInt(e(414))/7)+parseInt(e(395))/8*(-parseInt(e(402))/9)+parseInt(e(400))/10+parseInt(e(405))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class J extends((0,t.ObservableMixin)()){id;[q(404)];[q(394)];[q(411)];[q(397)];[q(417)];[q(407)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(404)]=e[i(404)]||null,this[i(394)]=e[i(394)]||[],this[i(411)]=e[i(411)]||null,this[i(397)]=e[i(397)]||0,this[i(417)]=e[i(417)]||0,this[i(403)](i(408),e[i(408)]||""),this[i(403)](i(393),e[i(393)]||new Date),this[i(403)](i(406),e[i(406)]||{})}[q(412)](t){this[q(401)]({name:t})}[q(398)](t,e){const i=q,n=R(this[i(406)]);H(n,t,e),this[i(401)]({attributes:n})}[q(416)](t){const e=q,i=R(this[e(406)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return $(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]&&U(e))return $(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(401)]({attributes:i})}[q(401)](t,e=!1){const i=q;let n=!1;const s={id:this.id},r=[i(408),i(393),i(411),i(394),i(406),i(397),i(417),i(399)];for(const e of r){const i=t[e];void 0!==i&&i!==this[e]&&(this[e]=i,s[e]=i,n=!0)}n&&(s[i(394)]&&(s[i(396)]=s[i(394)][i(415)](t=>t.id),delete s[i(394)]),this[i(409)](i(401),s,e))}[q(413)](){const t=q;return{id:this.id,name:this[t(408)],creatorId:this[t(404)]?this[t(404)].id:null,authorsIds:this[t(394)][t(415)](t=>t.id),diffData:this[t(411)],createdAt:this[t(393)],attributes:this[t(406)],fromVersion:this[t(417)],toVersion:this[t(397)]}}}var G=i(782),K=i(211),X=i(783);function Q(t,e){const i=et();return(Q=function(t,e){return i[t-=205]})(t,e)}const tt=Q;function et(){const t=["editor","afterInit","230jPkfMm","diffData","push","toJSON","3625512VUodIw","64dHXKoP","newRevisionId","29843TWrnYu","getEarlierVisibleRevision","getIndex","6dtbPNc","getLaterVisibleRevision","6915885AMNSLs","join","href","toVersion","earlier","authorsIds","from","pluginName","4igNLoA","7900963RVcHSF","createdAt","length","getRevisionsInDiff","316242bxUFhX","isNaN","name","add","plugins","getUser","fromVersion","get","later","isPremiumPlugin","data","createRevision","creatorId","reverse","767038EIyWJR","map","1920861jyFWPv","getRevisions","requires","addRevision","attributes","Users","oldRevisionId","4miDHWx","getRevisionsIterator","_revisions","isOfficialPlugin","getRevision","fromCharCode","RevisionsRepository"];return(et=function(){return t})()}!function(t){const e=Q,i=t();for(;;)try{if(972468===-parseInt(e(226))/1*(parseInt(e(217))/2)+parseInt(e(219))/3+-parseInt(e(255))/4*(-parseInt(e(247))/5)+parseInt(e(245))/6*(parseInt(e(256))/7)+-parseInt(e(240))/8*(parseInt(e(260))/9)+-parseInt(e(235))/10*(parseInt(e(242))/11)+-parseInt(e(239))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(et);class it extends G.Plugin{[tt(228)];static get[tt(221)](){return[K.Users]}static get[tt(254)](){return tt(232)}static get[tt(229)](){return!0}static get[tt(212)](){return!0}get[tt(258)](){const t=tt;return this[t(228)][t(258)]}constructor(e){const i=tt;super(e),this[i(228)]=new t.Collection}[tt(234)](){!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]),n=964649,s=window[k([68,97,116,101])][k([110,111,119])](),r=e[k([101,100,105,116,111,114])],o=new(window[k([80,114,111,109,105,115,101])])(t=>{r[k([111,110,99,101])](k([114,101,97,100,121]),t)}),a={[k([107,116,121])]:k([69,67]),[k([117,115,101])]:k([115,105,103]),[k([99,114,118])]:k([80,45,50,53,54]),[k([120])]:k([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[k([121])]:k([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[k([97,108,103])]:k([69,83,50,53,54])},c=r[k([99,111,110,102,105,103])][k([103,101,116])](k([108,105,99,101,110,115,101,75,101,121]));function u(t){const i=[new(window[k([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[k([116,104,101,110])](()=>new(window[k([80,114,111,109,105,115,101])])(t=>{const i=e[k([95,114,101,118,105,115,105,111,110,115])];function n(){i[k([108,101,110,103,116,104])]>=7&&t()}n(),i[k([111,110])](k([97,100,100]),n)})),new(window[k([80,114,111,109,105,115,101])])(t=>{v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&function e(){const i=Q;for(const e in window)if(window[k([78,117,109,98,101,114])][i(261)](window[k([78,117,109,98,101,114])](e))&&window[e]==n)return t();r[k([115,116,97,116,101])]!=k([100,101,115,116,114,111,121,101,100])&&window[k([115,101,116,84,105,109,101,111,117,116])](e,5e3)}()})];return window[k([80,114,111,109,105,115,101])][k([114,97,99,101])](i)[k([116,104,101,110])](()=>t)}function l(){const t=window[k([83,116,114,105,110,103])](window[k([112,101,114,102,111,114,109,97,110,99,101])][k([110,111,119])]())[k([114,101,112,108,97,99,101])](k([46]),"");let e=k([118]);for(let n=0;n<t[k([108,101,110,103,116,104])];n+=2){let s=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](n,n+2));s>=i[k([108,101,110,103,116,104])]&&(s-=i[k([108,101,110,103,116,104])]),e+=i[s]}return e}function h(t){return t[k([115,116,97,114,116,115,87,105,116,104])](k([101,121]))?JSON[k([112,97,114,115,101])](d(t)):null}function d(t){return window[k([97,116,111,98])](t[k([114,101,112,108,97,99,101])](/-/g,k([43]))[k([114,101,112,108,97,99,101])](/_/g,k([47])))}function f(t){let e=5381;function i(t){for(let i=0;i<t[k([108,101,110,103,116,104])];i++){const n=t[k([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+n,e&=e}}return function t(e){Array[k([105,115,65,114,114,97,121])](e)?e[k([102,111,114,69,97,99,104])](t):e&&typeof e==k([111,98,106,101,99,116])?Object[k([101,110,116,114,105,101,115])](e)[k([115,111,114,116])]()[k([102,111,114,69,97,99,104])](([e,n])=>{i(e),t(n)}):i(window[k([83,116,114,105,110,103])](e))}(t),e>>>0}function m(t){return t[k([116,111,83,116,114,105,110,103])](16)[k([112,97,100,83,116,97,114,116])](8,k([48]))}function p(t){return t[k([115,112,108,105,116])]("")[k([114,101,118,101,114,115,101])]()[k([106,111,105,110])]("")}function v(t){return r[k([112,108,117,103,105,110,115])][k([104,97,115])](t)}function g(t){return r[k([112,108,117,103,105,110,115])][k([103,101,116])](t)}function y(){}function k(t){const e=Q;return t[e(218)](t=>String[e(231)](t))[e(248)]("")}!function(t){const i=l();r[i]=k([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[k([101,110,100,115,87,105,116,104])](k([76,105,109,105,116]))&&(window[l()]=n),t!=k([86,97,108,105,100])&&async function(){if(await o,v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[k([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[k([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[k([105,100])]),n=g(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await n[k([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),n[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),n[k([105,115,69,110,97,98,108,101,100])]=!1,n[k([99,111,109,112,97,114,101])]=y,void(n[k([95,103,101,116,68,105,102,102])]=y)}if(v(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=g(k([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[k([117,110,98,105,110,100])](k([105,115,69,110,97,98,108,101,100])),t[k([105,115,69,110,97,98,108,101,100])]=!1,t[k([117,112,100,97,116,101])]=y,t[k([115,97,118,101,82,101,118,105,115,105,111,110])]=y}r[k([109,111,100,101,108])][k([99,104,97,110,103,101])]=y,r[k([109,111,100,101,108])][k([101,110,113,117,101,117,101,67,104,97,110,103,101])]=y,r[k([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](k([109,111,100,101,108]))}()}(await async function(){let e,i=null,n=null;try{return c==k([71,80,76])?k([78,111,116,65,108,108,111,119,101,100]):(e=function(){const t=c[k([115,112,108,105,116])](k([46]));return 3!=t[k([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=h(t);return e&&i()?e:null;function i(){const t=e[k([106,116,105])],i=window[k([112,97,114,115,101,73,110,116])](t[k([115,117,98,115,116,114,105,110,103])](t[k([108,101,110,103,116,104])]-8),16),n={...e,[k([106,116,105])]:t[k([115,117,98,115,116,114,105,110,103])](0,t[k([108,101,110,103,116,104])]-8)};return delete n[k([118,99])],f(n)==i}}}(),e?(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(n=function(e,i){return new(window[k([80,114,111,109,105,115,101])])(c=>{if(n())return c(k([86,97,108,105,100]));a(),r[k([100,101,99,111,114,97,116,101])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===k([111,98,106,101,99,116])||typeof t===k([102,117,110,99,116,105,111,110]))&&typeof t[k([116,104,101,110])]===k([102,117,110,99,116,105,111,110])&&typeof t[k([99,97,116,99,104])]===k([102,117,110,99,116,105,111,110])}function d(t){a(t)[k([116,104,101,110])](t=>t&&t[k([115,116,97,116,117,115])]==k([111,107])?m(f(l+i))!=t[k([118,101,114,105,102,105,99,97,116,105,111,110])]?k([85,115,97,103,101,76,105,109,105,116]):k([86,97,108,105,100]):k([85,115,97,103,101,76,105,109,105,116]))[k([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),k([86,97,108,105,100])):k(s-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[k([116,104,101,110])](c)[k([99,97,116,99,104])](()=>{c(k([85,115,97,103,101,76,105,109,105,116]))});const n=36e5;function r(){const t=k([108,108,99,116,45])+m(f(e)),i=p(m(window[k([77,97,116,104])][k([99,101,105,108])](s/n)));window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([115,101,116,73,116,101,109])](t,i)}function o(){const t=k([108,108,99,116,45])+m(f(e)),i=window[k([108,111,99,97,108,83,116,111,114,97,103,101])][k([103,101,116,73,116,101,109])](t);return i?window[k([112,97,114,115,101,73,110,116])](p(i),16)*n:null}function a(t){return new(window[k([80,114,111,109,105,115,101])])((e,i)=>{t[k([116,104,101,110])](e,i),window[k([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(k([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[k([114,101,113,117,101,115,116,73,100])]:l}},{[k([112,114,105,111,114,105,116,121])]:k([104,105,103,104])}),r[k([111,110])](k([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[k([114,101,116,117,114,110])])&&(u=!0,d(t[k([114,101,116,117,114,110])]))},{[k([112,114,105,111,114,105,116,121])]:k([108,111,119])}),o[k([116,104,101,110])](()=>{u||c(k([85,115,97,103,101,76,105,109,105,116]))})});function n(){return r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==k([97,117,116,111])}function a(){r[k([101,100,105,116,105,110,103])][k([118,105,101,119])][k([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=k([97,117,116,111])}}(e[k([117,115,97,103,101,69,110,100,112,111,105,110,116])],e[k([106,116,105])])),await async function(){let t=!0;try{const n=c[k([115,112,108,105,116])](k([46])),[s,r,o]=n;return e(s),await i(s,r,o),t}catch{return!1}function e(e){const i=h(e);i&&i[k([97,108,103])]==k([69,83,50,53,54])||(t=!1)}async function i(e,i,n){const s=window[k([85,105,110,116,56,65,114,114,97,121])][k([102,114,111,109])](d(n),t=>t[k([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[k([84,101,120,116,69,110,99,111,100,101,114])]))[k([101,110,99,111,100,101])](e+k([46])+i),o=window[k([99,114,121,112,116,111])][k([115,117,98,116,108,101])];if(!o)return;const c=await o[k([105,109,112,111,114,116,75,101,121])](k([106,119,107]),a,{[k([110,97,109,101])]:k([69,67,68,83,65]),[k([110,97,109,101,100,67,117,114,118,101])]:k([80,45,50,53,54])},!1,[k([118,101,114,105,102,121])]);await o[k([118,101,114,105,102,121])]({[k([110,97,109,101])]:k([69,67,68,83,65]),[k([104,97,115,104])]:{[k([110,97,109,101])]:k([83,72,65,45,50,53,54])}},c,s,r)||(t=!1)}}()?function(){const t=e[k([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[k([105,110,99,108,117,100,101,115])](k([42])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,72])))return!0;if(t[k([105,110,99,108,117,100,101,115])](k([82,82,72]))){if(v(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&g(k([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[k([115,116,97,116,101])]==k([99,111,110,110,101,99,116,101,100]))return!0;if(v(k([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||v(k([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[k([101,118,97,108,117,97,116,105,111,110]),k([116,114,105,97,108])][k([105,110,99,108,117,100,101,115])](e[k([108,105,99,101,110,115,101,84,121,112,101])])?s/1e3:176472e4;return e[k([101,120,112])]<t}()?k([69,120,112,105,114,101,100]):function(){const t=Q,i=e[k([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!i||0==i[k([108,101,110,103,116,104])])return!0;const{hostname:n}=new URL(window[k([108,111,99,97,116,105,111,110])][t(249)]);if(i[k([105,110,99,108,117,100,101,115])](n))return!0;const s=n[k([115,112,108,105,116])](k([46]));return i[k([102,105,108,116,101,114])](t=>t[k([105,110,99,108,117,100,101,115])](k([42])))[k([109,97,112])](t=>t[k([115,112,108,105,116])](k([46])))[k([102,105,108,116,101,114])](t=>t[k([108,101,110,103,116,104])]<=s[k([108,101,110,103,116,104])])[k([109,97,112])](t=>Array(s[k([108,101,110,103,116,104])]-t[k([108,101,110,103,116,104])])[k([102,105,108,108])](t[0]===k([42])?k([42]):"")[k([99,111,110,99,97,116])](t))[k([115,111,109,101])](t=>s[k([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===k([42])))}()?(e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([101,118,97,108,117,97,116,105,111,110])&&(i=u(k([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),e[k([108,105,99,101,110,115,101,84,121,112,101])]==k([116,114,105,97,108])&&(i=u(k([84,114,105,97,108,76,105,109,105,116]))),await(i&&n?new(window[k([80,114,111,109,105,115,101])])((t,e)=>{i[k([116,104,101,110])](t,e),n[k([116,104,101,110])](e=>{e!=k([86,97,108,105,100])&&t(e)},e)}):i||n||k([86,97,108,105,100]))):k([68,111,109,97,105,110,76,105,109,105,116]):k([78,111,116,65,108,108,111,119,101,100]):k([73,110,118,97,108,105,100])):k([73,110,118,97,108,105,100]))}catch{return k([73,110,118,97,108,105,100])}}())}(this)}[tt(214)](t){const e=tt,i=this[e(233)][e(207)][e(210)](e(224));return new J({id:t.id,name:t[e(205)],creator:t[e(215)]?i[e(208)](t[e(215)]):null,diffData:t[e(236)]||t[e(213)],authors:t[e(252)][e(218)](t=>i[e(208)](t)),createdAt:new Date(t[e(257)]),attributes:t[e(223)],fromVersion:t[e(209)],toVersion:t[e(250)]})}[tt(222)](t,e=0){const i=tt;this[i(228)][i(206)](t,e)}[tt(230)](t){const e=tt;return this[e(228)][e(210)](t)}[tt(220)](t={toJSON:!1}){const e=tt,i=Array[e(253)](this[e(228)]);return i[e(216)](),t[e(238)]?i[e(218)](t=>t[e(238)]()):i}[tt(244)](t){const e=tt;return this[e(228)][e(244)](t)}[tt(243)](t){const e=tt,[,i]=this[e(227)](t,{direction:e(251)});return i}[tt(246)](t){const e=tt,[,i]=this[e(227)](t,{direction:e(211)});return i}[tt(259)](t){const e=tt,i=[];for(const n of this[e(227)](t[e(241)]))if(i[e(237)](n),n.id===t[e(225)])break;return i}*[tt(227)](t,{direction:e=tt(251),filter:i=()=>!0}={}){const n=tt,s=n(251)===e?1:-1;let r=this[n(228)][n(210)](t),o=this[n(244)](r);for(yield r;r;){if(o+=s,r=this[n(230)](o),!r)return;i(r)&&(yield r)}}}const nt=st;function st(t,e){const i=rt();return(st=function(t,e){return i[t-=475]})(t,e)}function rt(){const t=["customProperties","innerHTML","editing","_typeCharToViewClass","_appendChild","toData","attributesAfter","domConverter","document","view","3620754VoIuQJ","767793FIQpnx","1626260CAidgK","div","isPremiumPlugin","64bQVSEe","revision-start","13483192mPAcZv","string","length","get","isOfficialPlugin","attributes","fillerOffset","getRevisionRootsAttributes","diffData","parse","RevisionHistoryUtils","insertions","revision-end","data-revision-","name","pluginName","useFillerType","attachChange","5268230rnOMPy","toModel","processor","htmlProcessor","forEach","childNodes","data","loadRevisionData","render","children","_setCustomProperty","_removeRevisionMarkers","collaboration.channelId","type","from","getRevisionDocumentData","117jqpclI","7099380adECnU","config","46234XIrdLH","viewChildrenToDom","startsWith","default","marked","_viewClassToTypeChar","_getViewFromDiffObj","constructor","_makeModelFromViewString","_getTypeCharForViewElement","isAttached","append","filter","domDocument","createElement","getRevision","domChildrenToView","map","editor","getFillerOffset","7kDsnhI"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(997981===parseInt(e(500))/1*(-parseInt(e(539))/2)+-parseInt(e(496))/3+-parseInt(e(497))/4+-parseInt(e(537))/5+-parseInt(e(495))/6+-parseInt(e(484))/7*(parseInt(e(502))/8)+parseInt(e(536))/9*(parseInt(e(520))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[nt(517)](){return nt(512)}static get[nt(506)](){return!0}static get[nt(499)](){return!0}[nt(544)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(488)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(527)](t,e){const i=nt;if(t[i(510)]||!e)return;const n=this[i(482)][i(538)][i(505)](i(532)),s=await e[i(479)]({channelId:n,revisionId:t.id});t[i(510)]=s[i(510)]}[nt(535)](t){const e=nt,i={};for(const n in t[e(510)]){if(t[e(510)][n][e(519)]&&!t[e(510)][n][e(519)][e(549)])continue;const s=this[e(531)](JSON[e(511)](t[e(510)][n][e(513)])),r=this[e(482)][e(487)][e(494)][e(493)],o=new X.ViewDocumentFragment(r,s[e(481)](t=>this[e(545)](t,!1)));this[e(482)][e(526)][e(522)][e(518)](e(543)),i[n]=this[e(482)][e(526)][e(522)][e(490)](o),this[e(482)][e(526)][e(522)][e(518)](e(542))}return i}[nt(509)](t){const e=nt,i={};for(const n in t[e(510)])t[e(510)][n][e(519)]&&!t[e(510)][n][e(519)][e(549)]||(i[n]=t[e(510)][n][e(491)]||{});return i}[nt(548)](t){const e=nt;return this[e(544)][e(505)](t[e(546)])}[nt(545)](t,e){const i=nt,n=this[i(482)][i(487)][i(494)][i(493)];if(i(503)==typeof t)return new X.ViewText(n,t);{let s,r;r="u"==t[i(533)]||"r"==t[i(533)]?[]:t[i(529)][i(481)](t=>this[i(545)](t,e));const o=this[i(488)][i(505)](t[i(533)])||X.ViewElement,a=this[i(482)][i(526)][i(523)][i(492)];if(s=new o(n,t[i(516)],t[i(507)],r),"u"==t[i(533)]&&t[i(529)][0]){const r=t[i(529)][0];if(s[i(528)]=function(t){const e=i,n=t[e(478)](e(498));return n[e(486)]=r,n[e(525)][0]},e){const t=new X.ViewDocumentFragment(n);t[i(489)](s);const e=Array[i(534)](a[i(540)](t,{bind:!1})),r=a[i(477)][i(478)](i(498));r[i(475)](...e),s=Array[i(534)](a[i(480)](r))[0]}}else if("r"==t[i(533)]&&t[i(529)][0]){const r=t[i(529)][0];if(s[i(528)]=function(t){t[i(486)]=r},e){const t=new X.ViewDocumentFragment(n);t[i(489)](s);const e=Array[i(534)](a[i(540)](t,{bind:!1})),r=a[i(477)][i(478)](i(498));r[i(475)](...e);const o=Array[i(534)](a[i(480)](r));o[i(504)]>1?s[i(489)](o):s=o[0]}}if(t[i(485)])for(const[e,n]of t[i(485)])s[i(530)](e,n);const c=void 0===t[i(508)]?null:t[i(508)];return null!==c&&(s[i(483)]=()=>c),s}}[nt(547)](t){const e=nt,i=JSON[e(511)](t),n=this[e(482)][e(487)][e(494)][e(493)],s=new X.ViewDocumentFragment(n,i[e(481)](t=>this[e(545)](t,!0)));return this[e(482)][e(526)][e(521)](s)}[nt(531)](t){const e=nt;return(t=t[e(476)](t=>!t[e(516)]||e(501)!==t[e(516)]&&e(514)!==t[e(516)]))[e(524)](t=>{const i=e;i(503)!=typeof t&&(t[i(529)]=this[i(531)](t[i(529)]),t[i(507)]=t[i(507)][i(476)](t=>!t[0][i(541)](i(515))))}),t}}function at(t,e,i){const n=t.t;switch(e){case"Revision history":return n("Revision history");case"Open revision history":return n("Open revision history");case"Restored":return n("Restored");case"Empty document":return n("Empty document");case"Initial revision":return n("Initial revision");case"Suggested by":return n("Suggested by");case"Added by":return n("Added by");case"Removed by":return n("Removed by");case"Show more items":return n("Show more items");case"Compare against selected":return n("Compare against selected");case"Name this revision":return n("Name this revision");case"Restore this revision":return n("Restore this revision");case"Back to editing":return n("Back to editing");case"Loading...":return n("Loading...");case"No changes":return n("No changes");case"NUMBER_OF_CHANGES":return n({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return n({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return n("Show previous change");case"Show next change":return n("Show next change");case"EDIT_X_OF_Y_REVISIONS":return n({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return n("Total");case"Revision creator":return n("Revision creator");case"Revision author":return n("Revision author");case"Revision name":return n("Revision name");case"Save current revision":return n("Save current revision");case"Accept":return n("Accept");case"Save":return n("Save");case"Cancel":return n("Cancel");case"Name of the revision":return n("Name of the revision");case"optional":return n("optional");case"PENDING_ACTION_REVISION_HISTORY":return n({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return n("The revision name cannot be empty.");case"Enter the revision name":return n("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,n,s,r,o){const a=o(t,e,i,n,s,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,n,T){if(Object.is(t,i))return!0;let N=s(t),A=s(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(n=n??new Map).get(t),M=n.get(i);if(null!=R&&null!=M)return R===i;n.set(t,i),n.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,s]of t.entries())if(!i.has(e)||!ut(s,i.get(e),e,t,i,n,T))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),s=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=s.findIndex(e=>ut(o,e,void 0,t,i,n,T));if(-1===a)return!1;s.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case x:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,n,T))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),n,T);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),n,T);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,n,T)||ct(t)&&ct(i)))return!1;const s=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(s.length!==r.length)return!1;for(let e=0;e<s.length;e++){const r=s[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,n,T))return!1}return!0}default:return!1}}finally{n.delete(t),n.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=mt;function mt(t,e){const i=yt();return(mt=function(t,e){return i[t-=141]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(503867===-parseInt(e(317))/1*(-parseInt(e(389))/2)+-parseInt(e(233))/3+parseInt(e(179))/4*(-parseInt(e(166))/5)+-parseInt(e(187))/6+parseInt(e(425))/7+parseInt(e(397))/8+parseInt(e(243))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(yt);class pt extends G.Plugin{[ft(438)];[ft(198)];[ft(150)]=null;[ft(410)];[ft(394)]=null;[ft(400)];[ft(333)];[ft(285)];[ft(351)];[ft(263)];[ft(174)];[ft(381)];[ft(440)];[ft(231)];static get[ft(349)](){return ft(350)}static get[ft(193)](){return!0}static get[ft(202)](){return!0}static get[ft(162)](){return[K.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(410)]=this[i(290)][i(215)][i(375)](i(307)),this[i(263)]=this[i(290)][i(215)][i(375)](i(372)),this[i(400)]=new vt(this[i(290)]),this[i(285)]=this[i(290)][i(336)][i(375)](i(291))||i(221),this[i(351)]=new Map,this[i(231)]=null;const n=(0,t.uid)();this[i(333)]={history:this[i(290)][i(319)][i(248)][i(164)],getLatestVersion:()=>Promise[i(399)](this[i(290)][i(319)][i(248)][i(245)]),getCurrentRevisionId:()=>n},this[i(161)](i(429),!1),this[i(161)](i(272),!0),this[i(161)](i(265),!1),this[i(290)][i(336)][i(188)](i(252),!0),this[i(290)][i(423)][i(177)](i(416))[i(230)]({view:i(185)})}[ft(424)](){const t=ft;this[t(379)](),this[t(290)][t(308)].on(t(299),()=>{const e=t,i=this[e(410)][e(384)](0),n=i&&null===i[e(441)]?i:null;if(this[e(381)]=!!n&&this[e(290)][e(336)][e(375)](e(252)),this[e(290)][e(215)][e(428)](e(363))){const t=this[e(333)][e(455)](),s=this[e(410)][e(384)](t);if(s)this[e(440)]=s[e(180)],this[e(381)]=!1;else{const t=this[e(333)][e(164)][e(335)][e(457)](t=>!t[e(407)]),s=t?t[e(395)]:this[e(333)][e(164)][e(245)];i?(i[e(427)]<s&&i[e(346)]({toVersion:s}),this[e(381)]?(this[e(333)][e(455)]=()=>n.id,this[e(440)]=n[e(180)]):(this[e(440)]=i[e(427)],this[e(381)]=!1)):(this[e(440)]=s,this[e(381)]=!1)}}else n&&(this[e(290)][e(319)][e(248)][e(164)][e(245)]=Math[e(296)](n[e(427)],this[e(290)][e(319)][e(248)][e(164)][e(245)]),n[e(180)]===n[e(427)]?(0!==n[e(180)]&&(this[e(333)][e(455)]=()=>n.id),this[e(381)]=!1):this[e(381)]&&(this[e(333)][e(455)]=()=>n.id,this[e(440)]=n[e(180)])),this[e(381)]||(this[e(440)]=this[e(290)][e(319)][e(248)][e(245)]);this[e(400)][e(424)](this[e(333)][e(164)]),this[e(293)](this[e(440)]),this[e(380)](this[e(440)]),this[e(394)]&&this[e(332)]()}),this[t(385)](t(429)).to(this,t(265),t=>!t),this[t(438)]=this[t(290)][t(336)][t(375)](t(438));const e=this[t(290)];this[t(198)]=setInterval(()=>{const i=t;let n;for(const t in e){const s=t,r=e[s];if(i(201)==r||i(204)==r||i(302)==r||i(305)==r||i(235)==r||i(373)==r||i(228)==r||i(456)==r){delete e[s],n=r,clearInterval(this[i(198)]),this[i(198)]=void 0;break}}i(204)==n&&e[i(359)](i(196)),i(302)==n&&e[i(359)](i(206)),i(305)==n&&e[i(359)](i(264)),i(235)==n&&e[i(359)](i(311),i(421)),i(373)==n&&e[i(359)](i(277)),i(228)==n&&e[i(359)](i(396)),i(456)==n&&e[i(359)](i(276))},1e3)}async[ft(165)](){const t=ft;if(this[t(410)][t(151)]>0){const e=this[t(410)][t(384)](0),i=await this[t(240)](e),n=await this[t(352)](e);this[t(275)](i,n)}}[ft(149)](){const t=ft;super[t(149)](),this[t(198)]&&clearInterval(this[t(198)])}[ft(404)](t){this[ft(333)]=t}async[ft(279)](){const t=ft,e=await this[t(333)][t(286)]();if(e>this[t(150)][t(427)]){await this[t(454)]();const i=this[t(283)]({revision:this[t(150)],to:e});i[t(447)]=i[t(409)][t(142)](e=>this[t(290)][t(215)][t(375)](t(217))[t(328)](e)),this[t(150)][t(346)](i)}}async[ft(324)](e={},i=null){const n=ft,s=[];await this[n(454)](),this[n(381)]=!1,i>this[n(150)][n(427)]&&(i=null),null===i&&(i=await this[n(333)][n(286)]());const r=this[n(258)](i),o=this[n(283)]({from:r,to:i});if(this[n(150)][n(427)]<i){const t=this[n(283)]({revision:this[n(150)],from:i,to:i});t[n(447)]=[],t[n(409)]=[],t.id=this[n(150)].id,this[n(150)][n(346)](t,!0),delete t[n(447)],s[n(426)](t)}e[n(268)]=this[n(290)][n(215)][n(375)](n(217)).me.id,e[n(222)]=e[n(222)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[n(459)](e);s[n(426)](e);const c=this[n(410)][n(300)](a);if(0!==c){const t=this[n(410)][n(384)](c-1);if(t[n(180)]!==i){const r=this[n(400)][n(213)](i,t[n(427)]),o={id:t.id,diffData:r[n(370)],authorsIds:r[n(409)],authors:r[n(409)][n(142)](t=>this[n(290)][n(215)][n(375)](n(217))[n(328)](t)),fromVersion:i};t===this[n(150)]&&(o[n(247)]=new Date(e[n(247)][n(378)]()+10)),t[n(346)](o,!0),delete o[n(447)],s[n(426)](o)}}if(this[n(394)]){for(const t of s)this[n(242)](t.id,t,!0);this[n(332)]()}return a}[ft(459)](t){const e=ft,i=this[e(410)][e(403)](t);return this[e(394)]&&i.on(e(346),(t,i,n)=>{const s=e;n||(this[s(242)](i.id,i,!0),this[s(332)]())}),this[e(410)][e(190)](i,this[e(301)](i)),i}async[ft(240)](t){const e=ft;return await this[e(263)][e(237)](t,this[e(394)]),this[e(263)][e(240)](t)}async[ft(352)](t){const e=ft;return await this[e(263)][e(237)](t,this[e(394)]),this[e(263)][e(352)](t)}[ft(332)](){const t=ft;if(0===this[t(351)][t(417)])return;if(this[t(265)])return;let e=Array[t(364)](this[t(351)][t(163)]());this[t(351)][t(329)]();for(let i=0;i<e[t(151)];i++){const n=e[i];let s=!1;for(const e of Object[t(292)](n))void 0===n[e]?delete n[e]:"id"!==e&&(s=!0);s||(e[i]=null)}if(e=e[t(209)](t=>null!==t),!e[t(151)])return;for(let i=0;i<e[t(151)];i++){const n=e[i];void 0!==n[t(180)]&&void 0===n[t(427)]&&(n[t(427)]=this[t(410)][t(384)](n.id)[t(427)]),void 0!==n[t(427)]&&void 0===n[t(180)]&&(n[t(180)]=this[t(410)][t(384)](n.id)[t(180)])}const i=this[t(290)][t(336)][t(375)](t(291));this[t(265)]=!0,this[t(194)](),this[t(394)][t(295)](e,i)[t(422)](()=>{this[t(265)]=!1})[t(391)](e=>{const i=t;if(e)for(const t of e)this[i(431)]({id:t.id,createdAt:t[i(247)]});this[i(173)](),this[i(332)]()})}[ft(283)]({revision:t=null,from:e=null,to:i=null}){const n=ft;e=null!==e?e:t[n(180)],i=null!==i?i:t[n(427)];const s=this[n(400)][n(213)](e,i),r={diffData:s[n(370)],authorsIds:s[n(409)],fromVersion:e,toVersion:i};if(!t||i!==t[n(427)]){const t=i-1,e=this[n(333)][n(164)][n(365)](t);r[n(247)]=e&&e[n(247)]||new Date}if(this[n(231)]&&e===this[n(231)][n(180)])for(const t of this[n(231)][n(447)])r[n(409)][n(443)](t.id)||r[n(409)][n(426)](t.id);return r}[ft(242)](t,e,i){const n=ft;if(this[n(351)][n(428)](t)){const s=this[n(351)][n(375)](t);e=i?{...s,...e}:{...e,...s}}this[n(351)][n(161)](t,e)}[ft(431)](t){const e=ft,i=this[e(410)][e(384)](t.id);if(t[e(247)]&&(t[e(247)]=new Date(t[e(247)])),t[e(409)]){const i=this[e(290)][e(215)][e(375)](e(217));t[e(447)]=t[e(409)][e(142)](t=>i[e(328)](t))}i[e(346)](t,!0)}[ft(293)](t){const e=ft,i=this[e(410)][e(384)](this[e(410)][e(151)]-1);if(i)this[e(285)]=i.id;else{const i=!this[e(290)][e(319)][e(248)][e(176)][e(457)](t=>this[e(290)][e(319)][e(219)](t)),n=this[e(290)][e(215)][e(375)](e(217)).me.id,s=at(this[e(290)][e(419)],e(i?368:155));this[e(460)]({from:t,to:t,id:this[e(285)],name:s,creatorId:n})}}[ft(380)](t){const e=ft,i=this[e(333)][e(455)]();this[e(150)]=this[e(410)][e(384)](i),this[e(150)]||(this[e(150)]=this[e(460)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(454)](){const t=ft;this[t(381)]&&!this[t(231)]&&(await this[t(263)][t(237)](this[t(150)],this[t(394)]),this[t(400)][t(241)](this[t(150)]),this[t(231)]={fromVersion:this[t(150)][t(180)],authors:this[t(150)][t(447)][t(199)]()})}[ft(275)](e,i){const n=ft;let s=this[n(290)][n(336)][n(375)](n(304)),r=this[n(290)][n(336)][n(375)](n(152));if(void 0===s){s={};for(const t of this[n(290)][n(319)][n(248)][n(444)]())s[t]=""}if(n(159)==typeof s&&(s={main:s}),void 0===r){r={};for(const t of this[n(290)][n(319)][n(248)][n(444)]())r[t]={}}let o=!1;const a=Object[n(292)](s),c=Object[n(292)](e);for(const t of a){if(s[t]!==e[t]&&""!==s[t][n(418)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[n(292)](r[t])[n(151)]>0){o=!0;break}}o||(o=c[n(369)](t=>!this[n(290)][n(319)][n(248)][n(386)](t))),o&&(0,t.logWarning)(n(148),{editorData:s,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[n(290)][n(336)][n(161)](n(304),e),this[n(290)][n(336)][n(161)](n(152),i)}[ft(194)](){const t=ft;if(!this[t(174)]){const e=this[t(290)][t(215)][t(375)](t(362));this[t(174)]=e[t(205)](at(this[t(290)][t(419)],t(184)))}}[ft(173)](){const t=ft;this[t(174)]&&(this[t(290)][t(215)][t(375)](t(362))[t(348)](this[t(174)]),this[t(174)]=null)}[ft(301)](t){const e=ft,i=this[e(410)][e(445)]();i[e(298)]();let n=0;for(;n<i[e(151)];){const s=i[n];if(s===this[e(150)]){n++;continue}if(s.id===this[e(285)])break;const r=t[e(427)]-s[e(427)]||t[e(180)]-s[e(180)];if(r>0)break;if(r<0)n++;else{if(!t[e(441)]&&s[e(441)])break;if(s[e(441)]||!t[e(441)]){if(t[e(247)]>s[e(247)])break;n++}else n++}}return n}[ft(258)](t){const e=ft,i=this[e(410)][e(445)]();i[e(298)](),i[e(331)]();const n=i[e(457)](i=>i[e(427)]<=t)[e(427)];return n<this[e(440)]?this[e(440)]:n}[ft(460)]({name:t,from:e,to:i,creatorId:n,id:s}){const r=ft,o=this[r(283)]({from:e,to:i});o[r(222)]=t,o[r(268)]=n,o.id=s;const a=this[r(459)](o);return this[r(394)]&&this[r(242)](o.id,o,!0),a}[ft(379)](){const t=ft;this[t(290)][t(423)][t(177)](t(171))[t(406)]({model:t(185)})}}class vt{[ft(290)];[ft(214)];[ft(446)];[ft(309)];[ft(306)];[ft(374)];[ft(367)];[ft(435)];[ft(207)];[ft(430)];[ft(287)];[ft(288)];[ft(160)];[ft(234)];[ft(343)];[ft(354)];[ft(216)];constructor(t){const e=ft;this[e(290)]=t,this[e(446)]=new Map,this[e(309)]=-1,this[e(306)]=-1,this[e(374)]=new Map,this[e(367)]=new Map,this[e(435)]=new Map,this[e(207)]=new Map,this[e(430)]=new Map,this[e(287)]=new Map,this[e(288)]=new Map,this[e(160)]=new Map,this[e(234)]=new Map,this[e(343)]=new Map,this[e(354)]=1}[ft(424)](t){const e=ft;this[e(214)]=t;const i=new Map,n=new Map,s=this[e(290)][e(319)][e(248)][e(176)][e(142)](t=>t[e(183)]);for(const t of s){const s=this[e(290)][e(319)][e(248)][e(386)](t),r=gt(s);i[e(161)](t,r),n[e(161)](t,Object[e(316)](s[e(259)]()))}const r=Array[e(364)](this[e(290)][e(319)][e(238)])[e(142)](t=>[t[e(222)],t[e(297)]()]),o=this[e(214)][e(245)];this[e(436)](o,i,r,n),this[e(216)]=this[e(354)];const a=new Map,c=new Map;for(const t of s){const i=kt(t);a[e(161)](t,i),c[e(161)](t,{})}this[e(436)](Number[e(167)],a,[],c)}[ft(213)](t,e){const i=ft;if(this[i(309)]===t&&this[i(306)]<=e)this[i(446)][i(417)]>1&&this[i(218)](this[i(306)]),this[i(225)](this[i(306)],e,!0);else{if(!this[i(446)][i(428)](t)){const e=this[i(451)](t);this[i(191)](e,t,!1)}this[i(191)](t,e,!0)}return this[i(309)]=t,this[i(306)]=e,this[i(154)]()}[ft(241)](t){const e=ft;if(!this[e(446)][e(428)](t[e(180)])){const i=this[e(451)](t[e(180)]);this[e(191)](i,t[e(180)],!1)}this[e(191)](t[e(180)],t[e(427)],!1);const i=this[e(290)][e(215)][e(375)](e(372));this[e(314)](),this[e(309)]=t[e(180)],this[e(306)]=t[e(427)];for(const n in t[e(370)]){const s=t[e(370)][n][e(439)],r=R(t[e(370)][n][e(250)])||{},o=i[e(253)](t[e(370)][n][e(232)]);o[e(183)]=n,o[e(327)]=!s||!s[e(168)],o[e(168)]=()=>o[e(327)],this[e(207)][e(161)](n,o),this[e(430)][e(161)](n,r),s&&this[e(343)][e(161)](n,s);const a=this[e(437)](o);this[e(288)][e(161)](n,a);for(const[t,i]of o[e(238)]){if(!t[e(366)](e(229)))continue;const n=t[e(158)](":")[2];for(const t of i[e(208)]({singleCharacters:!0})){const i=this[e(345)](t),s=e(393)==t[e(303)]?t[e(226)][e(278)][e(199)](0,-1):t[e(226)][e(278)],r=a[e(220)](s)[e(281)](i);this[e(160)][e(161)](r,{userId:n})}o[e(238)][e(200)](t)}}this[e(216)]=this[e(354)];const n=[...Array(this[e(354)])[e(292)]()][e(199)](1)[e(209)](t=>!this[e(160)][e(428)](t));let s=0;const r=new Map;for(const o in t[e(370)]){const a=t[e(370)][o][e(439)],c=R(t[e(370)][o][e(411)])||{},u=i[e(253)](t[e(370)][o][e(262)]);u[e(183)]=o,u[e(327)]=!a||a[e(168)],u[e(168)]=()=>u[e(327)],this[e(367)][e(161)](o,u),this[e(435)][e(161)](o,c);const l=this[e(437)](u,Number[e(167)]);this[e(287)][e(161)](o,l),r[e(161)](o,u[e(168)]()?c:{});for(const[t,i]of u[e(238)]){if(!t[e(366)](e(229)))continue;const n=t[e(158)](":")[2];for(const t of i[e(208)]({singleCharacters:!0})){const i=this[e(345)](t),s=this[e(354)]++,r=e(393)==t[e(303)]?t[e(226)][e(278)][e(199)](0,-1):t[e(226)][e(278)];l[e(220)](r)[e(249)](i,s),this[e(160)][e(161)](s,{userId:n})}u[e(238)][e(200)](t)}for(const t of this[e(290)][e(319)][e(462)](u)[e(208)]({singleCharacters:!0})){const i=this[e(345)](t),r=e(393)==t[e(303)]?t[e(226)][e(278)][e(199)](0,-1):t[e(226)][e(278)],o=l[e(220)](r);o[e(281)](i)>0||o[e(249)](i,n[s++])}for(const[t,i]of u[e(238)])t[e(366)](e(229))||this[e(374)][e(161)](t,i)}const{roots:o}=this[e(446)][e(375)](t[e(180)]),{roots:a}=this[e(446)][e(375)](t[e(427)]),c=gt(o[e(375)](e(282)));this[e(207)][e(161)](e(282),c),this[e(288)][e(161)](e(282),this[e(437)](c,Number[e(167)]));const u=gt(a[e(375)](e(282)));this[e(367)][e(161)](e(282),u),this[e(287)][e(161)](e(282),this[e(437)](u));const l=Array[e(364)](this[e(367)])[e(142)](([t,e])=>[t,gt(e)]);this[e(436)](this[e(306)],l,this[e(374)],r)}[ft(169)](){const t=ft;this[t(314)](),this[t(309)]=-1,this[t(306)]=-1,this[t(446)][t(329)](),this[t(424)](this[t(214)])}[ft(436)](t,e,i,n){const s=ft,r=new Map(e),o=new Map(R(n)),a=new Map;for(const[t,e]of i)a[s(161)](t,{start:e[s(310)][s(392)](),end:e[s(341)][s(392)](),rootName:e[s(294)][s(183)]});this[s(446)][s(161)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(218)](t){const e=ft;this[e(446)][e(200)](t)}[ft(314)](){const t=ft;this[t(160)][t(329)](),this[t(234)][t(329)](),this[t(343)][t(329)](),this[t(367)][t(329)](),this[t(435)][t(329)](),this[t(207)][t(329)](),this[t(430)][t(329)](),this[t(287)][t(329)](),this[t(288)][t(329)](),this[t(374)][t(329)](),this[t(354)]=1,this[t(216)]=this[t(354)]}[ft(437)](t,e=null){const i=ft;let n=null;t.is(i(322))||(n=new X.ModelElement(t[i(222)],{vid_start:null===e?this[i(354)]++:e++}));const s=[];for(const n of t[i(448)]())if(n.is(i(320))){s[i(426)](this[i(437)](n,e));const t=s[s[i(151)]-1];null!==e&&(e=t.is(i(320),i(388))?t[i(281)](i(251))+1:t[i(281)](i(323))+1)}else for(let t=0;t<n[i(274)];t++)s[i(426)](new X.ModelElement(i(388),{vid:null===e?this[i(354)]++:e++}));if(t.is(i(322))){const e=kt(t[i(183)]);return e[i(145)](0,s),e}return n[i(249)](i(323),null===e?this[i(354)]++:e++),n[i(145)](0,s),n}[ft(191)](t,e,i){const n=ft;this[n(314)]();const{roots:s,markers:r,rootsAttributes:o}=this[n(446)][n(375)](t);this[n(207)]=new Map(s),this[n(430)]=new Map(R(o));for(const[t,e]of this[n(207)])if(n(282)!==t&&(this[n(367)][n(161)](t,gt(e)),this[n(435)]=new Map(R(o)),i)){const i=this[n(354)];this[n(287)][n(161)](t,this[n(437)](e)),this[n(288)][n(161)](t,this[n(437)](e,i))}this[n(216)]=this[n(354)],this[n(367)][n(161)](n(282),gt(this[n(207)][n(375)](n(282)))),i&&this[n(287)][n(161)](n(282),this[n(437)](this[n(207)][n(375)](n(282))));for(const[t,e]of r){const i=this[n(207)][n(375)](e[n(183)]),s=this[n(367)][n(375)](e[n(183)]),r=new X.ModelRange(this[n(186)](e[n(310)],i),this[n(186)](e[n(341)],i)),o=this[n(347)](r,s);i[n(238)][n(161)](t,r),this[n(374)][n(161)](t,o)}this[n(225)](t,e,i)}[ft(225)](t,e,i){const n=ft;for(const s of this[n(214)][n(313)](t,e))this[n(182)](s,i);for(const t of this[n(367)][n(163)]())t[n(238)][n(329)]();for(const[t,e]of this[n(374)])this[n(367)][n(375)](e[n(294)][n(183)])[n(238)][n(161)](t,e[n(392)]());const s=new Map,r=new Map;for(const[t,e]of this[n(367)])s[n(161)](t,gt(e)),r[n(161)](t,this[n(435)][n(375)](t));this[n(436)](e,s,this[n(374)],r)}[ft(451)](t){const e=ft,i=Array[e(364)](this[e(446)][e(292)]());i[e(450)]((t,e)=>t-e),i[e(298)]();for(const e of i)if(e<t)return e;return Number[e(167)]}[ft(361)](t,e){const i=ft,n=Array[i(364)](e[i(238)])[i(142)](([e,n])=>[e,this[i(347)](n,t)]);t[i(238)]=new Map(n)}[ft(315)](t){const e=ft;for(const i of this[e(374)][e(163)]()){const n=i[e(146)](t),s=X.ModelRange[e(178)](n);i[e(310)]=s[e(310)],i[e(341)]=s[e(341)]}}[ft(182)](t,e){const i=ft;if(i(239)!=t[i(303)]&&i(254)!=t[i(303)]){if(i(461)==t[i(303)]){const n=t[i(197)][i(294)][i(183)];this[i(367)][i(428)](n)||(this[i(367)][i(161)](n,kt(n,!0)),this[i(435)][i(161)](n,{}),e&&this[i(287)][i(161)](n,kt(n,!0)))}else{if(i(390)==t[i(303)]||i(449)==t[i(303)]||i(175)==t[i(303)])return void this[i(412)](t);i(357)==t[i(303)]&&this[i(355)](t)}if(i(357)!==t[i(303)]){const e=this[i(156)](t,this[i(367)]);e[i(340)](),this[i(315)](e)}if(e)switch(t[i(303)]){case i(461):this[i(312)](t);break;case i(318):case i(348):case i(289):this[i(211)](t);break;case i(376):this[i(212)](t);break;case i(158):this[i(383)](t)}}else this[i(257)](t,e)}[ft(156)](t,e){const i=ft,n=t[i(392)]();return n[i(246)]=t[i(246)],this[i(413)](n,e),n}[ft(353)](t){const e=ft;return t[e(142)](t=>{const i=e,n=this[i(345)](t);return Number(t[i(325)][i(281)](n))})}[ft(453)](t,e){const i=ft;if(t.is(i(320),i(388)))e[i(426)]({item:t,type:i(227)});else{t.is(i(320))&&e[i(426)]({item:t,type:i(405)});for(const n of t[i(448)]())this[i(453)](n,e);t.is(i(320))&&e[i(426)]({item:t,type:i(393)})}return e}[ft(154)](){const t=ft,e=new Map(this[t(160)]),i=new Map(e),n=new Map,s={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(207)][t(292)](),...this[t(367)][t(292)]()]);a[t(200)](t(282));for(const e of a){const i=this[t(367)][t(375)](e)||kt(e,!1),n=this[t(207)][t(375)](e)||kt(e,!1);i[t(168)]()||n[t(168)]()?(s[t(262)][e]=gt(i),s[t(232)][e]=gt(n),this[t(361)](s[t(232)][e],n),this[t(361)](s[t(262)][e],i),r[t(262)][e]=this[t(453)](this[t(287)][t(375)](e),[]),r[t(232)][e]=this[t(453)](this[t(288)][t(375)](e)||kt(e,!1),[])):a[t(200)](e)}for(const s of a){const o=r[t(262)][s];for(const s of o){const r=this[t(345)](s),o=s[t(325)][t(281)](r);i[t(200)](o),o>=this[t(216)]&&n[t(161)](o,e[t(375)](o))}}for(const s of a){const a=r[t(262)][s],c=this[t(353)](r[t(232)][s]);let u=0;for(const s of a){const r=this[t(345)](s),a=s[t(325)][t(281)](r);if(!n[t(428)](a)&&!o[t(428)](a))if(i[t(428)](a))u++;else{if(a!=c[u]){const n=e[t(375)](a)||e[t(375)](c[u]);for(;a!=c[u];)i[t(428)](c[u])||(o[t(161)](c[u],n),e[t(161)](c[u],n)),u++}u++}}}for(const e of a){const s=r[t(262)][e];for(const e of s){const s=this[t(345)](e),r=e[t(325)][t(281)](s);if(o[t(428)](r)){const e=o[t(375)](r);i[t(428)](r)||i[t(161)](r,{...e}),n[t(161)](r,{...e})}}}for(const e of i[t(292)]())e>=this[t(216)]&&i[t(200)](e);const c=new Map;for(const e of a){let s=r[t(262)][e];for(const e of s)if(e[t(325)].is(t(320),t(377))){const i=this[t(345)](e),s=e[t(325)][t(281)](i);if(n[t(428)](s)){const i=e[t(325)][t(433)][t(433)][t(281)](t(360)),r=c[t(375)](i)||new Set;r[t(205)](n[t(375)](s)[t(330)]),c[t(161)](i,r)}}s=r[t(232)][e];for(const e of s)if(e[t(325)].is(t(320),t(377))){const n=this[t(345)](e),s=e[t(325)][t(281)](n);if(i[t(428)](s)){const n=e[t(325)][t(433)][t(433)][t(281)](t(360)),r=c[t(375)](n)||new Set;r[t(205)](i[t(375)](s)[t(330)]),c[t(161)](n,r)}}for(const e of c[t(292)]())(n[t(428)](e)||i[t(428)](e))&&c[t(200)](e)}for(const e of a){const s=r[t(262)][e];let o=null,a=null;for(const e of s){const s=this[t(345)](e),r=e[t(325)][t(281)](s),u=c[t(375)](r);u&&t(405)==e[t(303)]&&(o=Array[t(364)](u)[0],a=e[t(325)][t(281)](t(323))),o&&(i[t(161)](r,{userId:o}),n[t(161)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=s[t(232)][e],a=s[t(262)][e];for(const{userId:e}of this[t(234)][t(163)]())null!==e&&l[t(205)](e);for(const{userId:e}of this[t(343)][t(163)]())null!==e&&l[t(205)](e);this[t(147)](a,r[t(262)][e],n,t(415),l),this[t(147)](o,r[t(232)][e],i,t(452),l),u[e]={insertions:this[t(358)](a),deletions:this[t(358)](o),attachChange:this[t(343)][t(375)](e)||null,attributesBefore:R(this[t(430)][t(375)](e))||{},attributesAfter:R(this[t(435)][t(375)](e))}}return{diffData:u,authorsIds:Array[t(364)](l)}}[ft(280)](t){const e=ft;for(const[,i]of t[e(238)]){const t=i[e(310)][e(338)]()[e(209)](t=>e(377)==t[e(222)]);for(const i of t)1==i[e(398)]&&i[e(192)](0).is(e(320),e(356))&&i[e(192)](0)[e(249)](e(273),!0)}}[ft(358)](t){const e=ft;this[e(280)](t);const i=this[e(290)][e(308)][e(334)](t,{}),n=Array[e(364)](i[e(448)]())[e(142)](t=>this[e(195)](t));return JSON[e(189)](n)}[ft(195)](t){const e=ft;if(t.is(e(388)))return t[e(308)];{const i=this[e(290)][e(215)][e(375)](e(372)),n=t,s=this[e(290)][e(308)][e(339)][e(244)],r={type:i[e(172)](n),name:n[e(222)],attributes:Array[e(364)](n[e(259)]()),children:Array[e(364)](n[e(448)]())[e(142)](t=>this[e(195)](t))};if(t.is(e(203))&&e(256)!=t[e(222)]){const i=t[e(143)](s[e(408)],s);r[e(432)][e(426)](i[e(153)])}else if(t.is(e(210))){const i=s[e(408)][e(224)](n[e(222)]);t[e(143)](i,s),r[e(432)][e(426)](i[e(267)])}const o=Array[e(364)](n[e(458)]());o[e(151)]>0&&(r[e(269)]=o);const a=n[e(342)]();return null!==a&&(r[e(144)]=a),r}}[ft(147)](t,e,i,n,s){const r=ft;let o=null,a=null,c=0;const u=this[r(290)][r(319)];for(let n=0;n<e[r(151)];n++){const s=this[r(345)](e[n]),c=e[n][r(325)][r(281)](s),h=i[r(375)](c),d=n==e[r(151)]-1;!o&&h&&(o=h,a=e[n]),o&&(!h||h[r(330)]!=o[r(330)])&&(l(h,bt(a,t,u),bt(e[n],t,u)),o=h||null,a=h?e[n]:null),o&&d&&l(h,bt(a,t,u),wt(e[n],t,u))}function l(e,i,a){const l=r,h=o[l(330)],d=l(229)+n+":"+h+":"+c++,f=u[l(260)](i,a);t[l(238)][l(161)](d,f),null!==h&&s[l(205)](h)}}[ft(345)](t){const e=ft;switch(t[e(303)]){case e(405):return e(360);case e(393):return e(323);default:return e(251)}}[ft(413)](t,e){const i=ft;t[i(395)]=null;for(const n in t){const s=t[n];if(s instanceof X.ModelPosition){const r=e[i(375)](s[i(294)][i(183)]);t[n]=this[i(186)](s,r)}if(s instanceof X.ModelRange){const r=e[i(375)](s[i(294)][i(183)]);t[n]=this[i(347)](s,r)}i(294)===n&&(t[i(294)]=e[i(375)](t[i(294)][i(183)]))}}[ft(347)](t,e){const i=ft;return this[i(290)][i(319)][i(260)](this[i(186)](t[i(310)],e),this[i(186)](t[i(341)],e))}[ft(186)](t,e){const i=ft;return this[i(290)][i(319)][i(255)](e,t[i(278)],t[i(266)])}[ft(312)](t){const e=ft,i=this[e(287)][e(375)](t[e(197)][e(294)][e(183)]),n=this[e(186)](t[e(197)],i),s=null===t[e(246)]?null:t[e(246)]||this[e(290)][e(215)][e(375)](e(217)).me.id,r=n[e(433)],o=this[e(354)],a=[];for(const i of t[e(402)])if(i.is(e(320)))a[e(426)](this[e(437)](i));else for(let t=0;t<i[e(274)];t++)a[e(426)](new X.ModelElement(e(388),{vid:this[e(354)]++}));const c=this[e(354)];for(let t=o;t<c;t++)this[e(160)][e(161)](t,{userId:s});r[e(145)](n[e(420)],a)}[ft(211)](t){const e=ft;(t=this[e(156)](t,this[e(287)]))[e(340)]();const i=null===t[e(246)]?null:t[e(246)]||this[e(290)][e(215)][e(375)](e(217)).me.id,n=t[e(261)](),s=n[e(433)],r=n[e(420)];!function t(n,s,r,o){const a=e;for(let e=r;e<o;e++){const r=s[a(192)](e);r.is(a(320),a(388))?n[a(161)](r[a(281)](a(251)),{userId:i}):(n[a(161)](r[a(281)](a(360)),{userId:i}),t(n,r,0,r[a(398)]),n[a(161)](r[a(281)](a(323)),{userId:i}))}}(this[e(160)],s,r,r+t[e(181)])}[ft(212)](t){const e=ft,i=null===(t=this[e(156)](t,this[e(287)]))[e(246)]?null:t[e(246)]||this[e(290)][e(215)][e(375)](e(217)).me.id,n=t[e(414)][e(433)],s=t[e(271)][e(433)],r=n[e(281)](e(323)),o=s[e(281)](e(360));n[e(249)](e(323),s[e(281)](e(323))),s[e(249)](e(323),r),this[e(160)][e(161)](o,{userId:i}),this[e(160)][e(161)](r,{userId:i}),t[e(340)]()}[ft(383)](t){const e=ft,i=null===(t=this[e(156)](t,this[e(287)]))[e(246)]?null:t[e(246)]||this[e(290)][e(215)][e(375)](e(217)).me.id,n=t[e(344)],s=t[e(401)][e(433)];t[e(340)]();const r=s[e(281)](e(323)),o=t[e(371)][e(387)];if(n){const t=o[e(281)](e(323)),n=s[e(281)](e(323));s[e(249)](e(323),t),o[e(249)](e(323),n),this[e(160)][e(161)](s[e(281)](e(323)),{userId:i}),this[e(160)][e(161)](o[e(281)](e(360)),{userId:i})}else{const t=this[e(354)]++,n=this[e(354)]++;s[e(249)](e(323),t),o[e(249)](e(360),n),o[e(249)](e(323),r),this[e(160)][e(161)](t,{userId:i}),this[e(160)][e(161)](n,{userId:i})}}[ft(355)](t){const e=ft;if(!t[e(442)])return;const i=(t=this[e(156)](t,this[e(367)]))[e(270)]?t[e(270)][e(294)]:null,n=t[e(223)]?t[e(223)][e(294)]:null;i&&this[e(374)][e(200)](t[e(222)]),n&&this[e(374)][e(161)](t[e(222)],t[e(223)][e(392)]());const s=null===t[e(246)]?null:t[e(246)]||this[e(290)][e(215)][e(375)](e(217)).me.id,r=t[e(222)];if(!this[e(234)][e(428)](r))return void this[e(234)][e(161)](r,{range:t[e(270)],userId:s});const o=this[e(234)][e(375)](r),a=o[e(236)],c=t[e(223)];null==a&&null==c||a&&c&&a[e(326)](c)?this[e(234)][e(200)](t[e(222)]):o[e(330)]=s}[ft(257)](t,e){const i=ft;this[i(367)][i(428)](t[i(183)])?this[i(367)][i(375)](t[i(183)])[i(327)]=t[i(284)]:(this[i(367)][i(161)](t[i(183)],kt(t[i(183)],!0)),this[i(435)][i(161)](t[i(183)],{}),e&&this[i(287)][i(161)](t[i(183)],kt(t[i(183)],!0)));const n=null===t[i(246)]?null:t[i(246)]||this[i(290)][i(215)][i(375)](i(217)).me.id,s=this[i(343)][i(375)](t[i(183)]);s&&s[i(330)]===n?this[i(343)][i(200)](t[i(183)]):this[i(343)][i(161)](t[i(183)],{userId:n,isAttached:t[i(284)]})}[ft(412)](t){const e=ft,i=this[e(435)][e(375)](t[e(294)][e(183)]);null===t[e(337)]?delete i[t[e(170)]]:i[t[e(170)]]=t[e(337)]}}function gt(t){const e=ft,i=kt(t[e(183)],t[e(168)]());for(const n of t[e(448)]()){const t=n[e(141)](!0);i[e(321)](t)}return i}function yt(){const t=["fromVersion","howMany","_handleOperation","rootName","PENDING_ACTION_REVISION_HISTORY","revision","_fixPosition","4213344VQLVBW","define","stringify","addRevision","_calculateMetaData","getChild","isOfficialPlugin","_addPendingAction","_getViewJson","invalid","position","_licenseKeyCheckInterval","slice","delete","revisionHistoryLicenseKeyValid","isPremiumPlugin","uiElement","revisionHistoryLicenseKeyInvalid","add","expired","_baseRoots","getWalker","filter","rawElement","_handleMoveOperation","_handleMergeOperation","getData","source","plugins","_startingRevisionId","Users","_removeMetaData","hasContent","getNodeByPath","initial","name","newRange","createElement","_applyOperations","previousPosition","text","revisionHistoryLicenseKeyTrialLimit","revision:","dataToMarker","_loadedStateData","deletions","799965xyxCIf","_touchedMarkers","revisionHistoryLicenseKeyNotAllowed","range","loadRevisionData","markers","addRoot","getRevisionDocumentData","loadState","_bufferUpdate","2236518dCVylw","domConverter","version","_authorId","createdAt","document","_setAttribute","attributesBefore","vid","revisionHistory.resumeUnsavedRevision","_makeModelFromViewString","detachRoot","createPositionFromPath","$comment","_handleRootOperation","_getFromVersion","getAttributes","createRange","getMovedRangeStart","insertions","_utils","domainLimit","_isPendingUpdate","stickiness","innerHTML","creatorId","customProperties","oldRange","sourcePosition","isEnabled","keepParagraph","offsetSize","_replaceEditorDataWithRevisionData","usageLimit","evaluationLimit","path","update","_processRootBeforeSave","getAttribute","$graveyard","buildRevisionData","isAdd","_initialRevisionId","getLatestVersion","_idsRoots","_baseIdsRoots","reinsert","editor","collaboration.channelId","keys","_createInitialRevision","root","updateRevisions","max","getRange","reverse","ready","getIndex","_findInsertionIndex","revisionHistoryLicenseKeyExpired","type","initialData","revisionHistoryLicenseKeyDomainLimit","_lastTo","RevisionsRepository","data","_lastFrom","start","featureNotAllowed","_handleInsertOperation","getOperations","_reset","_transformMarkers","fromEntries","4ZiMpvn","move","model","element","_appendChild","documentFragment","vid_end","saveRevision","item","isEqual","_isAttached","getUser","clear","userId","shift","sendBufferedUpdates","_source","toView","_operations","config","newValue","getAncestors","htmlProcessor","_execute","end","getFillerOffset","_touchedRoots","graveyardPosition","_getVidAttributeName","_update","_fixRange","remove","pluginName","RevisionTracker","_bufferedUpdates","getRevisionRootsAttributes","_getBaseVids","_revisionId","_handleMarkerOperation","paragraph","marker","_prepareViewToSave","_showLicenseError","vid_start","_copyMarkers","PendingActions","RealTimeCollaborationClient","from","getOperation","startsWith","_diffRoots","Empty document","some","diffData","insertionPosition","RevisionHistoryUtils","revisionHistoryLicenseKeyEvaluationLimit","_markers","get","merge","tableCell","getTime","_setConversion","_createCurrentRevision","_continueCurrentRevision","createPositionBefore","_handleSplitOperation","getRevision","bind","getRoot","nodeAfter","$text","154364moGJtZ","addRootAttribute","then","clone","elementEnd","adapter","baseVersion","trialLimit","3222832PBeSpM","childCount","resolve","_revisionDataBuilder","splitPosition","nodes","createRevision","setSource","elementStart","markerToData","_isInit","domDocument","authorsIds","repository","attributesAfter","_handleRootAttributeOperation","_fixOperation","targetPosition","insertion","upcast","size","trim","locale","offset","RevisionHistory","finally","conversion","init","6595624IQQlJH","push","toVersion","has","isReady","_baseRootsAttributes","setRevisionData","children","parent","createPositionAfter","_diffRootsAttributes","_saveMetaData","_makeIdsRoot","licenseKey","attachChange","_startingVersion","creator","affectsData","includes","getRootNames","getRevisions","_savedMetaData","authors","getChildren","removeRootAttribute","sort","_getPreviousFrom","deletion","_generateTape","_loadState","getCurrentRevisionId","revisionHistoryLicenseKeyUsageLimit","find","getCustomProperties","addRevisionData","_makeRevision","insert","createRangeIn","_clone","map","render","fillerOffset","_insertChild","getTransformedByOperation","_markChanges","editor-initial-data-replaced-with-revision-data","destroy","currentRevision","length","rootsAttributes","outerHTML","_getState","Initial revision","_cloneOperation","createPositionAt","split","string","_touched","set","requires","values","history","afterInit","25MnQjOj","NEGATIVE_INFINITY","isAttached","reInit","key","dataDowncast","_getTypeCharForViewElement","_removePendingAction","_pendingAction","changeRootAttribute","roots","for","_createFromRanges","343656jsSFVz"];return(yt=function(){return t})()}function kt(t,e=!0){const i=ft,n=new X.ModelDocumentFragment;return n[i(183)]=t,n[i(327)]=e,n[i(168)]=()=>n[i(327)],n}function bt(t,e,i){const n=ft,s=n(393)==t[n(303)]?i[n(157)](t[n(325)],n(341)):i[n(382)](t[n(325)]);return i[n(255)](e,s[n(278)],s[n(266)])}function wt(t,e,i){const n=ft,s=n(405)==t[n(303)]?i[n(157)](t[n(325)],0):i[n(434)](t[n(325)]);return i[n(255)](e,s[n(278)],s[n(266)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),xt=i(297),Tt=i.n(xt),Nt=i(102),At=i.n(Nt),Rt=i(123),Mt=i.n(Rt),Vt=i(741),Et=i.n(Vt),Dt=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=Tt(),Ct.insertStyleElement=Et();Ot()(Dt.A,Ct);Dt.A&&Dt.A.locals&&Dt.A.locals;var Ft=i(98),Pt={attributes:{"data-cke":!0}};Pt.setAttributes=Mt(),Pt.insert=At().bind(null,"head"),Pt.domAPI=Tt(),Pt.insertStyleElement=Et();Ot()(Ft.A,Pt);Ft.A&&Ft.A.locals&&Ft.A.locals;const jt=Lt;function Lt(t,e){const i=zt();return(Lt=function(t,e){return i[t-=281]})(t,e)}function zt(){const t=["2411184bgDCAQ","Name of the revision","optional","errorText","114420LstGEB","14HWxbZE","form","keystrokes","10mkgrWs","revisionNameInputValue","1050076PCEVhw","35754gjlNbh","1332536vHbFri","element","125zidmEH","revisionNameInputView","2419424GxmTUR","arrowleft","focusTracker","locale","render","arrowright","extendTemplate","trim","stopPropagation","listenTo","add","fieldView","220","_createRevisionNameInput","value","455724MrURYY","reset","revisionName","setTemplate","initializeCssTransitionDisablerMixin","input","ck-revision-history-save-revision-form","arrowup","label","arrowdown","focus","set","ck-responsive-form"];return(zt=function(){return t})()}!function(t){const e=Lt,i=t();for(;;)try{if(850282===parseInt(e(319))/1+-parseInt(e(281))/2+parseInt(e(309))/3+-parseInt(e(313))/4+-parseInt(e(323))/5*(parseInt(e(320))/6)+parseInt(e(314))/7*(parseInt(e(321))/8)+-parseInt(e(296))/9*(-parseInt(e(317))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zt);class Wt extends((0,It.CssTransitionDisablerMixin)(It.View)){[jt(283)];[jt(316)];[jt(324)];constructor(e,i){const n=jt;super(e),this[n(283)]=new t.FocusTracker,this[n(316)]=new t.KeystrokeHandler,this[n(307)](n(318),""),this[n(324)]=this[n(294)](i),this[n(299)]({tag:n(315),attributes:{class:["ck",n(302),n(308)],tabindex:"-1"},children:[this[n(324)]]}),this[n(300)]()}[jt(285)](){const t=jt;super[t(285)](),(0,It.submitHandler)({view:this}),this[t(283)][t(291)](this[t(324)][t(322)]),this[t(316)][t(290)](this[t(322)]);const e=e=>e[t(289)]();this[t(316)][t(307)](t(286),e),this[t(316)][t(307)](t(282),e),this[t(316)][t(307)](t(303),e),this[t(316)][t(307)](t(305),e)}[jt(306)](){const t=jt;this[t(324)][t(306)]()}get[jt(298)](){const t=jt;return this[t(324)][t(292)][t(322)][t(295)][t(288)]()}set[jt(298)](t){const e=jt;this[e(324)][e(292)][e(322)][e(295)]=t[e(288)]()}[jt(297)](){const t=jt;this[t(324)][t(292)][t(322)][t(295)]="",this[t(324)][t(312)]=null}[jt(294)](t){const e=jt,i=new It.LabeledFieldView(this[e(284)],It.createLabeledInputText),n=i[e(292)];n[e(287)]({attributes:{maxlength:e(293)}});let s=at(this[e(284)],e(310));return!t&&(s+=" ("+at(this[e(284)],e(311))+")"),i[e(304)]=s,n.on(e(301),()=>{const t=e;this[t(318)]=n[t(322)][t(295)][t(288)]()}),i}}function Ht(){const t=["_showDialog","submit","reset","isOfficialPlugin","587691QmcOeS","children","_createSaveRevisionButton","menuBar:revisionHistory","componentFactory","914949xzVgth","_createOpenRevisionButton","Open revision history","isReady","saveRevision","panelView","isEnabled","28266LMiBSj","errorText","20KgjOwJ","buttonView","Accept","showRevisionViewerCallback","_saveRevisionFormView","revisionName","_registerMenuComponent","isReadOnly","set","Revision history","addMany","revisionHistory.requireRevisionName","show","5264vOVUHr","get","The revision name cannot be empty.","menuitem","isOpen","items","view","Dialog","isPremiumPlugin","3387444MRiZkt","config","ck-button-action","editing","95532BQntpz","1038519PvKccp","listenTo","plugins","delegate","4151xGHscy","low","add","locale","170CyVuae","pluginName","role","revisionNameInputView","menu","Save current revision","revisionHistory","bind","RevisionTracker","execute","hide","editor","requires","Cancel","render","RevisionHistoryUI","focus","init","_createSaveRevisionFormView","revisionSave"];return(Ht=function(){return t})()}const Ut=Zt;function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=310]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(545696===-parseInt(e(361))/1+-parseInt(e(328))/2+-parseInt(e(366))/3+-parseInt(e(324))/4+parseInt(e(375))/5*(-parseInt(e(373))/6)+-parseInt(e(333))/7*(-parseInt(e(315))/8)+-parseInt(e(329))/9*(-parseInt(e(337))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class $t extends G.Plugin{static get[Ut(338)](){return Ut(352)}static get[Ut(360)](){return!0}static get[Ut(323)](){return!0}static get[Ut(349)](){return[pt]}[Ut(379)];[Ut(354)](){const t=Ut,e=this[t(348)],i=e[t(331)][t(316)](t(345));e.ui[t(365)][t(335)](t(343),n=>{const s=t,r=(0,It.createDropdown)(n),o=r[s(371)][s(362)],a=new It.ListView(n),c=new It.ListItemView(n),u=this[s(363)](It.ButtonView),l=new It.ListItemView(n),h=this[s(367)](It.ButtonView);return r[s(344)](s(372)).to(i,s(369),i,s(372),e,s(382),(t,e,i)=>t&&e&&!i),r[s(376)][s(310)]({icon:_t.IconHistory,label:at(n,s(311)),tooltip:!0}),u[s(310)]({withText:!0,role:s(318)}),h[s(310)]({withText:!0,role:s(318)}),this[s(330)](h,s(346),()=>{const t=s;r[t(319)]=!1,e[t(327)][t(321)][t(353)]()},{priority:s(334)}),c[s(362)][s(335)](u),l[s(362)][s(335)](h),a[s(339)]=s(341),a[s(320)][s(312)]([c,l]),o[s(335)](a),r}),e.ui[t(365)][t(335)](t(364),()=>this[t(381)]())}[Ut(381)](){const t=Ut,e=this[t(348)],i=e[t(336)],n=e[t(331)][t(316)](t(345)),s=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);s[t(344)](t(372)).to(n,t(369),n,t(372),e,t(382),(t,e,i)=>t&&e&&!i),s[t(376)][t(310)]({icon:_t.IconHistory,label:at(i,t(311))});const o=new It.MenuBarMenuListItemView(i,s),a=this[t(363)](It.MenuBarMenuListItemButtonView);a[t(332)](t(346)).to(s),o[t(362)][t(335)](a),r[t(320)][t(335)](o);const c=new It.MenuBarMenuListItemView(i,s),u=this[t(367)](It.MenuBarMenuListItemButtonView);return u[t(332)](t(346)).to(s),c[t(362)][t(335)](u),r[t(320)][t(335)](c),s[t(371)][t(362)][t(335)](r),s}[Ut(363)](t){const e=Ut,i=this[e(348)],n=i[e(331)][e(316)](e(345)),s=new t(i[e(336)]);return s[e(310)]({label:at(i[e(336)],e(342))}),s[e(344)](e(372)).to(n,e(369),n,e(372),i,e(382),(t,e,i)=>t&&e&&!i),this[e(330)](s,e(346),()=>{this[e(357)]()}),s}[Ut(367)](t){const e=Ut,i=this[e(348)],n=i[e(331)][e(316)](e(345)),s=new t(i[e(336)]);return s[e(310)]({label:at(i[e(336)],e(368))}),s[e(344)](e(372)).to(n,e(369),i,e(382),(t,e)=>t&&!e),this[e(330)](s,e(346),()=>{const t=e;i[t(325)][t(316)](t(343))[t(378)]()}),s}[Ut(357)](){const t=Ut,e=this[t(348)],i=e[t(336)],n=e[t(331)][t(316)](t(322)),s=e[t(331)][t(316)](t(345));function r(s){const r=t;e[r(325)][r(316)](r(313))&&""===s[r(380)]?s[r(340)][r(374)]=at(i,r(317)):(e[r(331)][r(316)](pt)[r(370)]({name:s[r(380)]}),n[r(347)]())}this[t(379)]||(this[t(355)](),this[t(379)].on(t(358),()=>r(this[t(379)]))),this[t(379)][t(359)](),n[t(314)]({id:t(356),title:at(i,t(342)),isModal:!0,content:this[t(379)],actionButtons:[{label:at(e[t(336)],t(350)),withText:!0,onExecute:()=>n[t(347)]()},{label:at(e[t(336)],t(377)),class:t(326),withText:!0,onCreate(i){const n=t;i[n(344)](n(372)).to(s,n(369),s,n(372),e,n(382),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(379)])}]})}[Ut(355)](){const t=Ut,e=this[t(348)],i=e[t(336)];this[t(379)]=new Wt(i,e[t(325)][t(316)](t(313))),this[t(379)][t(351)]()}}const qt=Yt;function Bt(){const t=["3487584nYCBeu","42062qKTmRb","ck-annotation","7077608pLZFcs","name","changeId","ck-revision-change__label","ck-revision-change__","add","bindTemplate","set","Suggested by","type","span","81otoCYA","1017645DeArJU","ck-revision-change","591234AnFWDY","600845nHpGgX","data","Added by","author","div","focus","setTemplate","Removed by","element","_model","22063365ySkMAR","18GhtXNn","isSuggestion"];return(Bt=function(){return t})()}function Yt(t,e){const i=Bt();return(Yt=function(t,e){return i[t-=427]})(t,e)}!function(t){const e=Yt,i=t();for(;;)try{if(999125===-parseInt(e(433))/1*(parseInt(e(451))/2)+-parseInt(e(436))/3+parseInt(e(450))/4+parseInt(e(434))/5+parseInt(e(448))/6*(parseInt(e(437))/7)+-parseInt(e(453))/8+parseInt(e(447))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bt);class Jt extends It.View{[qt(455)];[qt(446)];constructor(t,e){const i=qt;super(t),this[i(446)]=e,this[i(455)]=e.id;const n=this[i(428)],s=at(t,e[i(438)][i(449)]?i(430):i(427)==e[i(431)]?i(439):i(444));this[i(429)](i(431),e[i(431)]),this[i(443)]({tag:i(441),attributes:{class:[i(452),i(435),n.to(i(431),t=>i(457)+t)],tabindex:-1},children:[{tag:i(432),children:[{tag:i(432),attributes:{class:[i(456)]},children:[{text:s}]},{text:" "+e[i(440)][i(454)]}]}]})}[qt(442)](){const t=qt;this[t(445)][t(442)]()}}var Gt=Kt;function Kt(t,e){var i=Qt();return(Kt=function(t,e){return i[t-=251]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(317411===-parseInt(e(252))/1*(-parseInt(e(262))/2)+parseInt(e(268))/3*(parseInt(e(261))/4)+parseInt(e(265))/5*(parseInt(e(266))/6)+-parseInt(e(256))/7+-parseInt(e(253))/8*(parseInt(e(263))/9)+parseInt(e(264))/10*(-parseInt(e(269))/11)+parseInt(e(260))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(255)];[Gt(259)];[Gt(257)];[Gt(258)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(255)]=e[i(255)],this[i(259)]=e[i(259)],this[i(257)]=e[i(257)]||{},this[i(258)]=e[i(258)],this[i(254)](i(251),e[i(251)])}[Gt(267)](){var t=Gt;return{id:this.id,authorId:this[t(255)].id,type:this[t(259)],data:this[t(257)],createdAt:this[t(251)]}}}function Qt(){var t=["toJSON","1497XeAwRv","22JKMdAv","createdAt","151039nExEHg","8wpxgaU","set","author","896329KzZyfF","data","rootName","type","1529004mWiRag","652pYfOAs","4NcLcPU","1073889cjWxlR","2622330UPwKTn","2892065NnFCpD","6ChJfer"];return(Qt=function(){return t})()}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=172]})(t,e)}function ie(){const t=["3PEArov","changes","_setChanges","1960996zXxEmV","newRevisionId","add","17128cHtnms","1183bYtGRo","476801PTKPWe","451065FnnWDK","18369594HCOkjp","oldRevisionId","10ejStOR","2873226yWmrec","1245824ceHIny"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(424275===-parseInt(e(176))/1+-parseInt(e(182))/2+parseInt(e(183))/3*(-parseInt(e(186))/4)+parseInt(e(177))/5+-parseInt(e(181))/6+-parseInt(e(175))/7*(-parseInt(e(174))/8)+-parseInt(e(178))/9*(-parseInt(e(180))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class ne{[te(172)];[te(179)];[te(184)];constructor(e,i){const n=te;this[n(172)]=e,this[n(179)]=i,this[n(184)]=new t.Collection}[te(185)](t){const e=te;for(const i of t)this[e(184)][e(173)](i)}}var se=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=Tt(),re.insertStyleElement=Et();Ot()(se.A,re);se.A&&se.A.locals&&se.A.locals;const oe=ce;function ae(){const t=["downcastDispatcher","roots","_cleanMarkers","POSITIVE_INFINITY","change:isReady","slice","domEvent","all","attachChange","sort","level","consume","ck-suggestion-marker--active","2fXKXAr","_getViewForChange","affectsData","mousedown","string","selection","createRevision","rootName","_changeIdToChange","getLaterVisibleRevision","getAttribute","for","index","bindElementToMarker","elementToAttribute","model","isRemoveSuggestion","nextSibling","split","revisionHistoryLabel","catch","document","createUIElement","isContent","_changeView","element:pre","vid_start","delete","suggestion","isPremiumPlugin","test","commands","data","_fixObsoleteTags","deletions","revision-viewer","getDomRoot","dataDowncast","createRangeIn","restoreRevision","item","insertions","7696682ycodfr","createAttributeElement","clear","change","left","removeClass","object","attributesAfter","mapViewToDom","createPositionFromPath","pairId","RevisionsRepository","listenTo","loadRevisionData","find","revisionHistory","getWalker","isLimit","startIndex","map","isCollapsed","offsetSize","addRoot","hasAttribute","from","2367051qakJLZ","_update","markerName","destroy","getIndex","isAdded","writer","softBreak","compare","span","markerToData","addRevisionData","vid","getClientRects","toViewPosition","_data","isAddSuggestion","changes","_markSuggestions","comment","_markMismatchedRemovedTags","_setChanges","attributes","modelRange","addClass","push","indexOf","getAttributes","done","isEqual","getRevisionDocumentData","editor","wrap","ck-suggestion-preview-marker-","flat","attributesBefore","refresh","elementEnd","top","_makeTape","_activeViewTarget","_step","addMarker:revision-suggestion:insertion","_setDistance","forEach","ck-revision-history-root-remove","maxOffset","addMarker:revision-suggestion:deletion","removeAttribute","isAttached","editingDowncast","isInline","markers","_markMarkers","1394534CWMVzN","diffData","_getChangeFromId","filter","_processTape","getChild","isSuggestion","getRoot","add","_makeModelFromViewString","upcast","revision:","next","view","markerToHighlight","_markInsertions","bottom","adapter","addMarker:revision","suggestion:","ck-suggestion-marker","isOfficialPlugin","isAtEnd","ck-revision-history-root--active","checkAttribute","_getDiff","ck-editor__editable__overlay","backward","removeMarker","showStack","pop","name","insertion","_joinTapes","_findChangeIdFromDomTarget","get","numberOfChanges","unshift","right","isBefore","newRevisionId","plugins","7856768motcwJ","enableReadOnlyMode","getCustomProperty","oldRevisionId","change:activeView","insert","markerNameToElements","isObject","isEnabled","forward","high","execute","currentChangeNumber","_refreshStartEndIndex","nodeAfter","requires","ck-suggestion-marker-split","parent","toViewRange","_removeUnsupportedChanges","change:isEnabled","splice","restoreRevisionCallback","addHighlight","previousPosition","vid_end","abs","mapper","updatePosition","markersStart","toViewElement","error","isNavigationMode","end","revisionHistoryAttachChange","_initInteractions","isReady","_threeWayMerge","findIndex","changeId","uiElement","diff","_revisions","range","setAttribute","isRemoved","init","unbindElementFromMarkerName","enqueueChange","keys","shift","resolve","ck-suggestion-marker-","detachRoot","_sortAndFilterDiffChanges","194710JlPoDv","_cleanUp","remove","code","stop","showPreviousChange","viewItem","WidgetToolbarRepository","first","ck-revision-history-root-","conversion","markerRange","getRevision","revision-comment:","elementStart","data-change-id","startsWith","side","955808ZhRSLR","revision-suggestion","set","has","revision","isAfter","attribute:vid","change:numberOfChanges","hasClass","markersEnd","ck-revision-history-root-add","merge","includes","text","start","_balloon","change:activeChange","target","element","deletion","distance","authors","return","then","schema","removeMarker:revision-suggestion","observeMarkers","repository","ck-suggestion-marker-merge","17598888jDqXbc","-new","nextPosition","isBlock","_makeModelFromTape","addRevision","_removeMissingPairs","createPositionBefore","activeView","mouseover","getRevisionRootsAttributes","reconvertMarker","getItems","pluginName","revision-suggestion:","getRootNames","createRange","consumable","_setConversion","bind","showNextChange","userId","ck-suggestion-preview-marker","length","domConverter","isIncorrect","editing","locale","_appendChild","forceDisabled","values","endIndex","isOnRoot","removeMarker:revision","low","concat","activeChange","isAtStart","dataToMarker","RevisionViewer","type","_getRevisionsRange","config","204VYgWNr","highest","RevisionHistoryUtils","_utils"];return(ae=function(){return t})()}function ce(t,e){const i=ae();return(ce=function(t,e){return i[t-=182]})(t,e)}!function(t){const e=ce,i=t();for(;;)try{if(831273===-parseInt(e(364))/1*(parseInt(e(485))/2)+parseInt(e(431))/3+parseInt(e(275))/4+-parseInt(e(257))/5*(-parseInt(e(347))/6)+-parseInt(e(406))/7+-parseInt(e(202))/8+parseInt(e(304))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ae);class ue extends G.Plugin{[oe(302)];[oe(502)]=null;[oe(350)];[oe(471)];[oe(388)];[oe(372)];[oe(290)];static get[oe(317)](){return oe(343)}static get[oe(506)](){return!0}static get[oe(393)](){return!0}static get[oe(217)](){return[K.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(302)]=this[e(462)][e(201)][e(195)](e(417)),this[e(350)]=this[e(462)][e(201)][e(195)](e(349)),this[e(277)](e(340),null),this[e(277)](e(312),null),this[e(471)]=null,this[e(277)](e(243),null),this[e(277)](e(238),!1),this[e(277)](e(210),!0),this.on(e(222),(t,i,n)=>{const s=e;this[s(340)]=null,this[s(312)]=null,this[s(462)][s(330)][s(498)][s(409)](t=>{const e=s;for(const i of this[e(462)][e(330)][e(498)][e(385)][e(352)])n?t[e(411)](e(186),i):t[e(455)](e(186),i)})}),this[e(323)](e(234)).to(this,e(340),t=>null!==t),this[e(323)](e(214)).to(this,e(238),this,e(243),this,e(340),(t,i,n)=>t&&n?i[e(448)][e(435)](n):0),this[e(323)](e(196)).to(this,e(238),this,e(243),(t,i)=>t?i[e(448)][e(327)]:0),this[e(388)]=null,this[e(372)]=new Map,this[e(290)]=this[e(462)][e(201)][e(195)](It.ContextualBalloon)}[oe(248)](){const t=oe,e=this[t(462)],i=new de(e,{direction:t(187)}),n=new de(e,{direction:t(211)});e[t(395)][t(493)](t(262),i),e[t(395)][t(493)](t(324),n),e[t(395)][t(493)](t(403),new he(e)),this.on(t(282),()=>{const e=t;i[e(467)](),n[e(467)]()}),this[t(322)](),this[t(237)](),e[t(203)](t(399)),e[t(201)][t(278)](t(264))&&e[t(201)][t(195)](t(264))[t(333)](t(399))}async[oe(461)](t){const e=oe;return await this[e(350)][e(419)](t,this[e(502)]),this[e(350)][e(461)](t)}async[oe(314)](t){const e=oe;return await this[e(350)][e(419)](t,this[e(502)]),this[e(350)][e(314)](t)}async[oe(439)](t,e,i=!1){const n=oe;if(!this[n(210)])return;const s=this[n(243)],r=this[n(302)],o=n(368)==typeof t?r[n(269)](t):t,a=n(368)==typeof e?r[n(269)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[n(243)]&&this[n(243)][n(200)]===c&&this[n(243)][n(205)]===u)return Promise[n(253)]();this[n(238)]=!1,this[n(312)]=null,this[n(340)]=null,this[n(243)]=new ne(c,u);const l=this[n(345)](o,a,!0)[n(425)](t=>this[n(350)][n(419)](t,this[n(502)]));return l[n(456)](new Promise(t=>{setTimeout(t,20)})),Promise[n(358)](l)[n(298)](()=>{const t=n;if(!this[t(210)])return;this[t(258)]();const e=this[t(185)](c,u);for(const i of e[t(448)])this[t(372)][t(277)](i.id,i);this[t(462)][t(379)][t(250)]({isUndoable:!1},i=>{const n=t;for(const t of this[n(462)][n(379)][n(385)][n(319)]())i[n(255)](t);for(const t of Object[n(251)](e[n(379)])){const s=i[n(428)](t);for(const r of Object[n(251)](e[n(453)][t]))i[n(246)](r,e[n(453)][t][r],s);i[n(207)](e[n(379)][t],s,0)}}),this[t(243)][t(452)](this[t(256)](e[t(448)])),this[t(238)]=!0})[n(384)](t=>{const e=n;console[e(233)](t),this[e(258)](),s&&(this[e(243)]=s),this[e(238)]=!0})}[oe(442)](t,e){const i=oe,n=this[i(302)][i(370)](t);return n.on(i(432),(t,i,s)=>e(i,s,n)),this[i(302)][i(309)](n),n}[oe(258)](){const t=oe;this[t(340)]=null,this[t(353)](),this[t(388)]&&this[t(388)][t(434)](),this[t(388)]=null,this[t(372)][t(408)](),this[t(462)][t(379)][t(250)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(462)][i(379)][i(385)][i(319)]())e[i(255)](t)})}[oe(256)](t){const e=oe,i=[],n=new Map;for(const t of this[e(462)][e(379)][e(385)][e(319)]()){const s=this[e(462)][e(330)][e(498)][e(400)](t);if(!s)continue;const r=s[e(444)]()[e(404)](0);r&&(i[e(456)](t),n[e(277)](t,r))}return i[e(360)]((t,i)=>{const s=e,r=n[s(195)](t),o=n[s(195)](i);return r.y-o.y||r.x-o.x}),(t=t[e(488)](t=>i[e(287)](t[e(371)])))[e(360)]((t,n)=>i[e(457)](t[e(371)])-i[e(457)](n[e(371)])),t}[oe(470)](t){const e=oe,i=Array[e(430)](t[e(483)])[e(488)](([t,i])=>t[e(273)](e(496))&&!i[e(426)]),n=Array[e(430)](this[e(462)][e(379)][e(402)](t)[e(422)]({singleCharacters:!0}));if(0!=i[e(327)])for(const t of n){const[n,s]=i[0],[,r,o]=n[e(382)](":");if(s[e(235)][e(460)](t[e(306)])&&i[e(252)](),(t[e(226)][e(460)](s[e(289)])||t[e(226)][e(280)](s[e(289)]))&&(e(192)==r?t[e(436)]={userId:o}:e(294)==r&&(t[e(247)]={userId:o})),0==i[e(327)])break}return n}[oe(215)](t){const e=oe,i=new Map;for(let n=0;n<t[e(327)];n++)e(288)===t[n][e(344)]?(t[n][e(404)][e(424)]=n,t[n][e(404)][e(335)]=n):(e(271)===t[n][e(344)]?t[n][e(404)][e(424)]=n:e(468)===t[n][e(344)]&&(t[n][e(404)][e(335)]=n),i[e(277)](t[n].id,n));for(const n of i[e(334)]())e(271)===t[n][e(344)]?t[n][e(404)][e(335)]=i[e(195)](t[n][e(416)]):e(468)===t[n][e(344)]&&(t[n][e(404)][e(424)]=i[e(195)](t[n][e(416)]))}[oe(489)](t){const e=oe;for(let i=0;i<t[e(327)];i++){if(e(271)===t[i][e(344)])t[i][e(404)][e(424)]=i;else if(e(468)===t[i][e(344)]){t[i][e(404)][e(335)]=i;const n=t[i][e(404)][e(424)];t[n][e(416)]=t[i].id,t[i][e(416)]=t[n].id}else t[i][e(404)][e(424)]=i,t[i][e(404)][e(335)]=i,t[i][e(416)]=null;t[i][e(231)]||(t[i][e(231)]=[],t[i][e(284)]=[])}}[oe(500)](t,e){const i=oe,n=t[i(488)](t=>!t[i(436)]);for(let t=0;t<e[i(327)];t++)e[t][i(436)]&&(n[t][i(436)]=e[t][i(436)])}[oe(185)](t,e=null){const i=oe,n=this[i(302)][i(269)](t),s=e?this[i(302)][i(269)](e):null,r=this[i(345)](n,s),o=r[r[i(327)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(327)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(251)](e[i(486)]))if(e[i(486)][t][i(359)]){const n=e[i(486)][t][i(359)];n[i(480)]?(u[i(493)](t),l[i(278)](t)&&l[i(195)](t)[i(325)]==n[i(325)]?l[i(391)](t):l[i(277)](t,n)):l[i(278)](t)?(u[i(391)](t),l[i(391)](t)):(u[i(493)](t),l[i(277)](t,n))}else u[i(493)](t)}for(const t of u){const e=l[i(278)](t)&&!l[i(195)](t)[i(480)];let n=e?r[i(327)]-1:0;const s=e?-1:1;for(;r[n];){const o=r[n];if(o[i(486)][t]){const n=e?o[i(486)][t][i(466)]:o[i(486)][t][i(413)];c[i(453)][t]=n?R(n):{};break}n+=s}}for(const t of r){t[i(379)]={};for(const e of t[i(296)])a[i(277)](e.id,e);for(const e of u){const n=t[i(486)][e]?t[i(486)][e][i(405)]:"[]",s=t[i(486)][e]?t[i(486)][e][i(398)]:"[]";t[i(379)][e]={insertions:this[i(350)][i(494)](n),deletions:this[i(350)][i(494)](s)}}}for(const t of u){let e=null,s=0;const u=new Map(Array[i(430)](n[i(379)][t][i(405)][i(483)])[i(488)](([t])=>!t[i(273)](i(496))));let h=0;for(const o of r){const r=this[i(470)](o[i(379)][t][i(405)]);o==n?(e=r,s=e[i(327)],e[i(475)](t=>{t.id=h++}),this[i(489)](e)):this[i(500)](e,r);const a=e[i(488)](t=>!t[i(436)])[i(425)](t=>t.id);let c=0;const l=this[i(470)](o[i(379)][t][i(398)]);l[i(475)](t=>{t[i(247)]?t.id=s++:t.id=a[c++]}),this[i(489)](l),this[i(474)](e,i(436)),this[i(474)](l,i(247)),o==n&&this[i(484)](e,u),e=this[i(193)](e,l),this[i(215)](e),this[i(474)](e,i(247))}e=e[i(488)](t=>!(t[i(436)]&&t[i(247)]));const d=new Map(o[i(379)][t][i(398)][i(483)]),f=new Set(u[i(251)]());for(const t of d[i(251)]())f[i(391)](t);this[i(449)](e,f),this[i(397)](e),e=this[i(310)](e),e=this[i(451)](e),e=this[i(221)](e);const{root:m,changes:p}=this[i(308)](e,a,t);c[i(379)][t]=m;const v=l[i(195)](t);if(v){const e=a[i(195)](v[i(325)]),n=new Xt({author:e,type:v[i(480)]?i(493):i(259),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(197)](n),c[i(453)][t][i(236)]=n.id}c[i(448)]=c[i(448)][i(339)](p)}return c}[oe(484)](t,e){const i=oe;for(let n=0;n<t[i(327)];n++)for(const[s,r]of e)!r[i(426)]&&r[i(289)][i(460)](t[n][i(226)])&&t[n][i(231)][i(456)](s),r[i(235)][i(460)](t[n][i(306)])&&t[n][i(284)][i(456)](s)}[oe(193)](t,e){const i=oe;let n=[],s=0,r=0;for(;s<t[i(327)]||r<e[i(327)];){const o=t[s]||{},a=e[r]||{};if(o.id==a.id)s++,r++,n[i(456)](o);else if(a[i(247)]&&o[i(436)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(239)](t,s,e,r);n=n[i(339)](o),s=a,r=c}else a[i(247)]?(r++,n[i(456)](a)):(s++,n[i(456)](o))}return n}[oe(449)](t,e){const i=oe,n=[];for(let o=0;o<t[i(327)];o++){for(let r=0;r<t[o][i(231)][i(327)];r++){const a=t[o][i(231)][r];if(!e[i(278)](a))continue;const{group:c,type:u,authorId:l}=s(a);i(276)!=c||i(192)!=u&&i(294)!=u||(n[i(197)]({type:u,name:a,userId:l}),t[o][i(231)][i(223)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(284)][i(327)];r++){const a=t[o][i(284)][r];if(!e[i(278)](a))continue;const{group:c,type:u}=s(a);if(i(276)!=c||i(192)!=u&&i(294)!=u)continue;t[o][i(284)][i(223)](r,1),r--;const l=n[i(240)](t=>t[i(191)]==a);l>-1&&n[i(223)](l,1)}}function s(t){const e=i,n=t[e(382)](":");return{group:n[0],type:n[1],subType:n[e(327)]>=5?n[2]:null,id:n[e(327)]<5?n[2]:n[3],authorId:n[e(327)]<5?n[3]:n[4],markerCount:6==n[e(327)]?n[5]:null}}function r(t){const e=i;for(let i=0;i<n[e(327)];i++){if(t[e(436)]&&e(192)==n[i][e(344)]&&t[e(436)][e(325)]==n[i][e(325)])return t[e(447)]=n[i],void delete t[e(436)];if(!t[e(436)]&&!t[e(247)]&&e(294)==n[i][e(344)])return void(t[e(380)]=n[i])}}}[oe(474)](t,e){const i=oe;let n=0,s=!1;const r=new Map;for(const o of t)o[e]?s&&(n++,s=!1):(n++,s=!0),r[i(277)](o.id,n);for(let n=0;n<t[i(327)];n++){if(i(247)==e&&t[n][i(436)]||i(436)==e&&t[n][i(247)])continue;if(i(288)==t[n][i(344)]){t[n][i(295)]=0;continue}const s=r[i(195)](t[n][i(416)]),o=r[i(195)](t[n].id);t[n][i(295)]=s-o}}[oe(345)](t,e,i=!1){const n=oe,s=[];let r=this[n(302)][n(435)](t),o=this[n(302)][n(435)](e);for(-1==o&&(o=this[n(302)][n(244)][n(327)],i=!1);r<o;)s[n(456)](this[n(302)][n(269)](r)),r++;return i&&s[n(456)](this[n(302)][n(269)](r)),s}[oe(239)](t,e,i,n){const s=oe,r=this[s(462)][s(379)][s(299)];let o=e;for(;t[o]&&t[o][s(436)];)o++;let a=n;for(;i[a]&&i[a][s(247)];)a++;u(t,e,o),u(i,n,a);const c=i[s(356)](n,a)[s(339)](t[s(356)](e,o));return c[s(360)]((t,e)=>t[s(274)]!=e[s(274)]?t[s(274)]-e[s(274)]:t[s(361)]!=e[s(361)]?t[s(361)]-e[s(361)]:t[s(295)]!=e[s(295)]?e[s(295)]-t[s(295)]:!!t[s(436)]!=!!e[s(436)]?-1==t[s(274)]||0==t[s(274)]?t[s(436)]?-1:1:t[s(436)]?1:-1:t[s(376)]-e[s(376)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const n=s;let o=-1,a=Number[n(354)],c=!0;for(let s=e;s<i;s++)if(r[n(482)](t[s][n(404)])||(c=!1),t[s][n(404)][n(424)]<e&&(o=s),t[s][n(404)][n(335)]>=i){a=s;break}c&&(o=i-1);for(let s=e;s<i;s++)t[s][n(274)]=s<=o?-1:s<a?0:1,t[s][n(376)]=s;let u=0;for(let i=e;i<=o;i++)0==t[i][n(295)]?t[i][n(361)]=u:(u++,t[i][n(361)]=u,u++);for(let s=e;s<i;s++)0==t[s][n(274)]&&(t[s][n(361)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][n(295)]?t[e][n(361)]=u:(u--,t[e][n(361)]=u,u--)}}[oe(397)](t){const e=oe,i=new Map,n=this[e(462)][e(379)][e(299)];for(let s=1;s<t[e(327)];s++){let r,o,a;const c=t[s],u=t[s-1];if(e(288)==c[e(344)])continue;if(c[e(344)]!=u[e(344)])continue;if(!n[e(307)](u[e(404)])||n[e(423)](u[e(404)]))continue;if(!n[e(307)](c[e(404)])||n[e(423)](c[e(404)]))continue;if((t[s][e(436)]||t[s][e(447)])&&t[s-1][e(247)])r=t[s],o=t[s-1],a=s-1;else{if(!t[s][e(247)]||!t[s-1][e(436)]&&!t[s-1][e(447)])continue;r=t[s-1],o=t[s],a=s}const l=r[e(361)]==o[e(361)],h=Math[e(228)](r[e(361)])<Math[e(228)](o[e(361)])&&0==o[e(295)];(l||h)&&(i[e(277)](o.id,r.id),t[e(223)](a,1),s--,r[e(436)]=!1)}for(let n=0;n<t[e(327)];n++)i[e(278)](t[n][e(416)])&&(t[n][e(416)]=i[e(195)](t[n][e(416)]))}[oe(310)](t){const e=oe,i=new Set(t[e(425)](t=>t.id));for(let n=0;n<t[e(327)];n++)i[e(278)](t[n][e(416)])||0==t[n][e(295)]||(t[n][e(329)]=!0);return t[e(488)](t=>!t[e(329)])}[oe(451)](t){const e=oe,i=new Set;for(let n=0;n<t[e(327)];n++){if(i[e(278)](t[n].id)&&t[n][e(247)]&&(t[n][e(329)]=!0),t[n][e(329)])continue;if(0==t[n][e(295)])continue;if(e(271)!=t[n][e(344)])continue;if(null==t[n][e(416)])continue;let s=n+1,r=0;for(;t[s].id!=t[n][e(416)];)e(271)==t[s][e(344)]?r++:e(468)==t[s][e(344)]&&r--,s++;if(0!=r)if(t[n][e(247)])t[n][e(329)]=!0;else for(;s!=n;)t[s][e(247)]&&0!=t[s][e(295)]&&(t[s][e(329)]=!0,i[e(493)](t[s][e(416)])),s--}return t[e(488)](t=>!t[e(329)])}[oe(221)](t){const e=oe,i=this[e(462)][e(379)][e(299)];for(let n=0;n<t[e(327)];n++){if(!(t[n][e(436)]||t[n][e(447)]||t[n][e(247)]||t[n][e(380)]))continue;if(0==t[n][e(295)])continue;const s=t[n][e(404)];i[e(307)](s)||i[e(423)](s)||(t[n][e(436)]&&delete t[n][e(436)],t[n][e(447)]&&delete t[n][e(447)],t[n][e(380)]&&delete t[n][e(380)],t[n][e(247)]&&(t[n][e(329)]=!0))}return t[e(488)](t=>!t[e(329)])}[oe(308)](t,e,i){const n=oe,s=new X.ModelDocumentFragment,r=[],o=new Map,a=this[n(462)][n(379)],c=a[n(299)],u=[s],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[n(327)];e++)if(n(271)===t[e][n(344)]){t[e][n(226)]=a[n(415)](s,f);const i=new X.ModelElement(t[e][n(404)][n(191)],t[e][n(404)][n(458)]());u[0][n(332)](i),f[n(456)](0),u[n(197)](i),t[e][n(306)]=a[n(415)](s,f)}else n(468)===t[e][n(344)]?(u[n(252)](),t[e][n(226)]=a[n(415)](s,f),f[n(190)](),f[f[n(327)]-1]++,t[e][n(306)]=a[n(415)](s,f)):(t[e][n(226)]=a[n(415)](s,f),d?d[n(446)]+=t[e][n(404)][n(396)]:d=new X.ModelText(t[e][n(404)][n(396)],t[e][n(404)][n(458)]()),t[e+1]&&n(288)===t[e+1][n(344)]&&v(d,t[e+1][n(404)])||(u[0][n(332)](d),d=null),f[f[n(327)]-1]+=t[e][n(404)][n(427)],t[e][n(306)]=a[n(415)](s,f));for(let e=0;e<t[n(327)];e++){const i=t[e][n(226)],s=t[e][n(306)];for(const s of t[e][n(231)])o[n(277)](s,{start:i,end:null});m(n(380),e,i,s),m(n(447),e,i,s),m(n(247),e,i,s),m(n(436),e,i,s);for(const i of t[e][n(284)]){const t=o[n(195)](i);t?t[n(235)]=s:o[n(277)](i,{start:s,end:s})}}for(const[t,e]of o){const i=this[n(462)][n(379)][n(320)](e[n(289)],e[n(235)]);s[n(483)][n(277)](t,i)}return r[n(360)]((t,e)=>{const i=n,r=s[i(483)][i(195)](i(496)+t.id),o=s[i(483)][i(195)](i(496)+e.id);return r[i(289)][i(199)](o[i(289)])?-1:r[i(289)][i(280)](o[i(289)])?1:r[i(235)][i(199)](o[i(235)])?-1:r[i(235)][i(280)](o[i(235)])?1:i(493)===t[i(344)]?-1:1}),{root:s,changes:r};function m(e,i,s,r){const o=n,a=!!t[i][e],u=a?t[i][e][o(325)]:null,d=i===t[o(327)]-1,f=h[e][0],m=c[o(209)](t[i][o(404)]);!l[e]&&a?l[e]={start:s,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(235)]=s,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(325)]!==u&&(l[e][o(235)]=s,f&&f[o(325)]===l[e][o(325)]||p(l[e]),l[e]={start:s,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(271)!==t[i][o(344)]||f&&f[o(325)]===u||h[e][o(197)]({userId:u,object:t[i][o(404)],change:l[e]}),o(468)===t[i][o(344)]&&f&&f[o(412)]===t[i][o(404)]&&(h[e][o(252)](),l[e]=f[o(409)])),l[e]&&d&&(l[e][o(235)]=r,p(l[e]),l[e]=null)}function p({start:t,end:o,tapeItem:c,userId:u,type:l}){const h=n,d=c[h(404)],f=a[h(299)][h(307)](d)&&!a[h(299)][h(423)](d),m=t[h(216)]==o[h(219)]&&o[h(341)];if(f&&m)return;const p=a[h(320)](t,o),v=e[h(195)](u),g=new Xt({author:v,type:h(436)==l||h(447)==l?h(493):h(259),data:{isSuggestion:h(447)==l||h(380)==l},createdAt:new Date,rootName:i});r[h(456)](g),s[h(483)][h(277)](h(496)+g.id,p)}function v(t,e){const i=n,s=t[i(458)](),r=e[i(458)]();for(const t of s){if(t[1]!==e[i(374)](t[0]))return!1;r[i(497)]()}return r[i(497)]()[i(459)]}}[oe(322)](){const t=oe;this[t(462)][t(267)][t(375)](t(495))[t(342)]({view:t(279)}),this[t(462)][t(267)][t(375)](t(481))[t(499)]({model:t(279),view:e=>{const i=t,n=e[i(433)][i(382)](":")[1],s=this[i(487)](n);if(!s)return null;const r=i(493)==s[i(344)]?i(192):i(294),o=[i(505),i(254)+r];return s[i(396)][i(491)]&&o[i(456)](i(254)+r+i(305)),this[i(340)]==s&&o[i(456)](i(363)),{classes:o,attributes:{"data-change-id":n}}}}),this[t(462)][t(267)][t(375)](t(495))[t(493)](e=>{const i=t;e.on(i(389),(t,e,n)=>{const s=i,r=e[s(263)][s(490)](0);if(!r||!r.is(s(293),s(260)))return;if(!n[s(321)][s(362)](r,{attributes:[s(390),s(227)]}))return;const o=e[s(454)][s(289)][s(216)];n[s(437)][s(246)](s(390),r[s(374)](s(390)),o),n[s(437)][s(246)](s(227),r[s(374)](s(227)),o)},{priority:i(338)})}),this[t(462)][t(267)][t(375)](t(495))[t(493)](e=>{const i=t;e.on(i(293),(t,e,n)=>{const s=i;if(!n[s(321)][s(362)](e[s(263)],{attributes:[s(390),s(227)]}))return;if(e[s(454)][s(426)])return;const r=e[s(454)][s(289)][s(216)];r[s(429)](s(390))||r[s(429)](s(443))||(n[s(437)][s(246)](s(390),e[s(263)][s(374)](s(390)),r),n[s(437)][s(246)](s(227),e[s(263)][s(374)](s(227)),r))},{priority:i(338)})}),this[t(462)][t(267)][t(375)](t(495))[t(378)]({view:{name:t(440),attributes:{vid:!0}},model:{key:t(443),value:e=>e[t(374)](t(443))}}),this[t(462)][t(379)][t(299)].on(t(184),(e,[,i])=>{const n=t;[n(390),n(227),n(443)][n(287)](i)&&(e[n(297)]=!0,e[n(261)]())},{priority:t(348)}),this[t(462)][t(267)][t(375)](t(401))[t(493)](e=>{const i=t;e.on(i(281),(t,e,n)=>{const s=i;if(" "!=e[s(404)][s(396)]||e[s(404)][s(219)][s(477)]>1)return;if(!n[s(321)][s(362)](e[s(404)],t[s(191)]))return;const r=n[s(437)],o=n[s(229)][s(220)](e[s(245)]);r[s(463)](o,r[s(407)](s(440)))})}),this[t(462)][t(267)][t(375)](t(401))[t(441)]({model:t(279)}),this[t(462)][t(330)][t(351)].on(t(503),function(e){const i=t,n=e[i(201)][i(195)](i(343));return(t,s,r)=>{const o=i,a=s[o(433)][o(382)](":")[1],c=n[o(487)](a);if(!c)return null;const u=o(493)==c[o(344)]?o(382):o(286);if(!r[o(321)][o(394)](s[o(268)],t[o(191)]))return;const l=s[o(268)][o(422)](),h=s[o(268)][o(289)],d=e[o(379)][o(299)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(404)];p=p||d[o(387)](e);const i=r[o(229)][o(232)](e);if(i&&i[o(204)](o(225)))return;o(468)==t[o(344)]&&d[o(307)](e)&&!d[o(423)](e)&&(e[o(381)]||h[o(182)]?f&&f[o(219)]==e||(f=e,g(t[o(226)]),v=!0):m=m||t[o(226)])}function g(t){const e=o,i=r[e(437)][e(386)](e(440),{class:e(254)+u}),a=r[e(229)][e(445)](t);c[e(396)][e(491)]&&r[e(437)][e(455)](e(254)+u+e(305),i),n[e(340)]==c&&r[e(437)][e(455)](e(363),i),r[e(437)][e(207)](a,i),r[e(229)][e(377)](i,s[e(433)])}p||v||!m||g(m)}}(this[t(462)]),{priority:t(212)}),this[t(462)][t(330)][t(351)].on(t(337),(e,i,n)=>{const s=t,r=n[s(229)][s(208)](i[s(433)]);if(r)for(const t of r)(t[s(283)](s(218))||t[s(283)](s(303)))&&(n[s(229)][s(249)](t,i[s(433)]),n[s(437)][s(259)](t))},{priority:t(212)}),this[t(462)][t(330)][t(351)].on(t(503),(e,i,n)=>{const s=t,r=i[s(433)][s(382)](":")[1],o=this[s(487)](r);if(!o)return null;const a=s(493)==o[s(344)]?s(382):s(286);if(n[s(321)][s(394)](i[s(268)],e[s(191)]))for(const t of i[s(268)][s(316)]()){if(!t.is(s(293),s(438)))continue;const e=n[s(437)][s(386)](s(440),{class:s(254)+a}),r=n[s(229)][s(445)](this[s(462)][s(379)][s(311)](t));o[s(396)][s(491)]&&n[s(437)][s(455)](s(254)+a+s(305),e),this[s(340)]==o&&n[s(437)][s(455)](s(363),e),n[s(437)][s(207)](r,e),n[s(229)][s(377)](e,i[s(433)])}},{priority:t(212)}),this[t(462)][t(379)][t(385)].on(t(409),()=>{const e=t;this[e(462)][e(330)][e(498)][e(409)](t=>{const i=e;for(const e of this[i(462)][i(379)][i(385)][i(319)]()){const n=this[i(462)][i(379)][i(385)][i(492)](e),s=this[i(462)][i(330)][i(498)][i(385)][i(492)](e);if(s){const e=n[i(374)](i(236));if(t[i(479)](i(272),s),t[i(411)](i(285),s),t[i(411)](i(476),s),t[i(411)](i(183),s),e){const n=this[i(487)](e);if(!n)return null;t[i(246)](i(272),e,s),t[i(455)](i(266)+n[i(344)],s),this[i(340)]==n&&t[i(455)](i(183),s)}}}})}),this[t(462)][t(267)][t(375)](t(495))[t(342)]({view:t(450),model:e=>t(270)+e,converterPriority:t(348)}),this[t(462)][t(267)][t(375)](t(495))[t(342)]({view:t(392),model:e=>t(318)+e,converterPriority:t(348)}),this[t(462)][t(267)][t(375)](t(401))[t(441)]({model:t(276),view:e=>({name:t(504)+e,group:t(276)}),converterPriority:t(348)}),this[t(462)][t(267)][t(375)](t(481))[t(499)]({model:t(276),view:e=>{const i=t,n=e[i(433)][i(382)](":")[1];return i(192)!=n&&i(294)!=n?null:{classes:[i(326),i(464)+n]}}}),this[t(462)][t(330)][t(351)].on(t(478),le(this[t(462)],t(286)),{priority:t(212)}),this[t(462)][t(330)][t(351)].on(t(473),le(this[t(462)],t(382)),{priority:t(212)}),this[t(462)][t(330)][t(351)].on(t(300),(e,i,n)=>{const s=t,r=n[s(229)][s(208)](i[s(433)]);if(r)for(const t of r)t.is(s(242))&&(n[s(229)][s(249)](t,i[s(433)]),n[s(437)][s(259)](t))},{priority:t(212)})}[oe(487)](t){const e=oe;return this[e(372)][e(195)](t)}[oe(365)](t){const e=oe;return this[e(388)]&&this[e(388)][e(434)](),this[e(388)]=new Jt(this[e(462)][e(331)],t),this[e(388)]}[oe(237)](){const t=oe;this[t(462)][t(379)][t(385)][t(369)][t(301)](t(279)),this.on(t(206),(e,i,n,s)=>{const r=t;s&&this[r(290)][r(259)](s),n&&(this[r(290)][r(493)]({view:n,stackId:r(383),position:{target:()=>{const t=r,e=this[t(462)][t(330)],i=this[t(487)](n[t(241)]);let s;if(i[t(396)][t(336)]){const n=e[t(498)][t(400)](i[t(371)]);s=Array[t(430)](n[t(444)]())}else{const i=this[t(462)][t(379)][t(483)][t(195)](t(496)+n[t(241)]);s=Array[t(430)](e[t(229)][t(208)](i[t(191)]))[t(425)](i=>e[t(498)][t(328)][t(414)](i))[t(425)](e=>Array[t(430)](e[t(444)]()))[t(465)]()}return this[t(471)]&&s[t(420)](e=>e[t(469)]-3<=this[t(471)].y&&e[t(501)]+3>=this[t(471)].y&&e[t(410)]-3<=this[t(471)].x&&e[t(198)]+3>=this[t(471)].x)||s[0]}}}),this[r(290)][r(189)](r(383)))}),this.on(t(291),(e,i,n,s)=>{const r=t;this[r(312)]=n?this[r(365)](n):null,this[r(462)][r(379)][r(409)](()=>{const t=r,e=this[t(462)][t(330)];s&&(s[t(396)][t(336)]?e[t(498)][t(409)](i=>{const n=t;i[n(411)](n(183),e[n(498)][n(385)][n(492)](s[n(371)]))}):e[t(315)](t(496)+s.id)),n&&(n[t(396)][t(336)]?e[t(498)][t(409)](i=>{const s=t;i[s(455)](s(183),e[s(498)][s(385)][s(492)](n[s(371)]))}):e[t(315)](t(496)+n.id))})}),this[t(418)](this[t(462)][t(330)][t(498)][t(385)],t(313),(e,i)=>{const n=t;if(this[n(340)])return;const s=this[n(194)](i[n(292)]),r=this[n(372)][n(195)](s);r?(this[n(471)]={x:i[n(357)].x,y:i[n(357)].y},this[n(312)]=this[n(365)](r)):(this[n(471)]=null,this[n(312)]=null)}),this[t(418)](this[t(462)][t(330)][t(498)][t(385)],t(367),(e,i)=>{const n=t,s=this[n(194)](i[n(292)]),r=this[n(372)][n(195)](s);r?(this[n(471)]={x:i[n(357)].x,y:i[n(357)].y},r===this[n(340)]?this[n(290)][n(230)]():this[n(340)]=r):(this[n(471)]=null,this[n(340)]=null)})}[oe(194)](t){const e=oe;do{const i=t[e(374)](e(272));if(i)return i;t=t[e(219)]}while(t);return null}[oe(353)](){const t=oe;this[t(462)][t(379)][t(409)](e=>{const i=t;for(const t of this[i(462)][i(379)][i(483)])e[i(188)](t)})}}function le(t,e){return(i,n,s)=>{const r=ce;if(!s[r(321)][r(394)](n[r(268)],i[r(191)]))return;const o=n[r(268)][r(422)](),a=n[r(268)][r(289)],c=t[r(379)][r(299)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(404)];h=h||c[r(387)](e);const i=s[r(229)][r(232)](e);if(i&&i[r(204)](r(225)))return;r(468)==t[r(344)]&&c[r(307)](e)&&!c[r(423)](e)&&(e[r(381)]||a[r(182)]?u&&u[r(219)]==e||(u=e,f(t[r(226)]),d=!0):l=l||t[r(226)])}function f(t){const i=r,o=s[i(229)][i(445)](t),a=s[i(437)][i(386)](i(440),{class:i(464)+e});s[i(437)][i(207)](o,a),s[i(229)][i(377)](a,n[i(433)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(201)][e(195)](ue);this[e(366)]=!1,this[e(418)](i,e(355),()=>this[e(467)]()),this[e(418)](i,e(222),()=>this[e(467)]())}[oe(213)](){const t=oe,e=this[t(462)],i=e[t(201)][t(195)](ue),n=i[t(238)]?i[t(243)][t(200)]:null;e[t(346)][t(195)](t(421))[t(224)](n)}[oe(467)](){const t=oe,{isReady:e,isEnabled:i,repository:n,diff:s}=this[t(462)][t(201)][t(195)](ue),r=s&&n[t(373)](s[t(200)]);this[t(210)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(472)];constructor(t,{direction:e}){const i=oe;super(t);const n=t[i(201)][i(195)](ue);this[i(366)]=!1,this[i(472)]=i(211)===e?1:-1,this[i(418)](n,i(355),()=>this[i(467)]()),this[i(418)](n,i(222),()=>this[i(467)]()),this[i(418)](n,i(291),()=>this[i(467)]())}[oe(213)](){const e=oe,i=this[e(462)],n=i[e(201)][e(195)](ue),{isNavigationMode:s,currentChangeNumber:r}=n;let o;if(n[e(340)]=s?n[e(243)][e(448)][e(195)](r+this[e(472)]):n[e(243)][e(448)][e(265)],n[e(340)][e(396)][e(336)])o=i[e(330)][e(498)][e(400)](n[e(340)][e(371)]);else{const t=i[e(379)][e(483)][e(195)](e(496)+n[e(340)].id);o=(0,K.getMarkerDomElement)(i[e(330)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(467)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:n,isReady:s,isEnabled:r}=this[t(462)][t(201)][t(195)](ue);this[t(210)]=!!(r&&s&&n)&&(!e||(1===this[t(472)]?i<n-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=Tt(),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-=123]})(t,e)}function ve(){const t=["EDIT_X_OF_Y_REVISIONS","Show next change","backward","isEnabled","X_OF_Y_CHANGES","Loading...","isReady","1002TEepwe","fire","55319APuWXk","numberOfChanges","div","isForwardNavigationEnabled","No changes","ck-revision-history-ui__changes-navigation__label","currentChangeNumber","15nUeVSR","304TOmouY","ck-revision-history-ui__changes-navigation__wrapper","Show previous change","ck-revision-history-ui","isNavigationMode","11028758WgsrBw","bindTemplate","bind","_statusText","35505ZbtKKD","isBackwardNavigationEnabled","12WCpRAT","1298CdIZeJ","_isStatusLabelVisible","execute","Total","5102312LQlqId","ck-revision-history-ui__changes-navigation","37070sjVYNr","581HrFcnU","ck-hidden","ck-revision-history-ui__changes-navigation__navigation","span","13510tHFGTy","NUMBER_OF_CHANGES","9UEewpP","forward","setTemplate","set"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(326662===-parseInt(e(157))/1+parseInt(e(137))/2*(-parseInt(e(164))/3)+parseInt(e(165))/4*(parseInt(e(128))/5)+-parseInt(e(155))/6*(parseInt(e(138))/7)+-parseInt(e(135))/8*(-parseInt(e(144))/9)+parseInt(e(142))/10*(parseInt(e(131))/11)+-parseInt(e(130))/12*(parseInt(e(124))/13))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(125)],n=new It.ButtonView(t),s=new It.ButtonView(t);this[e(147)](e(123),!1),this[e(147)](e(154),!1),this[e(147)](e(163),0),this[e(147)](e(158),0),this[e(147)](e(160),!1),this[e(147)](e(129),!1),this[e(126)](e(132)).to(this,e(154),this,e(158),(t,e)=>t&&e>0),this[e(126)](e(127)).to(this,e(154),this,e(163),this,e(158),this,e(123),(i,n,s,r)=>{const o=e;if(!i)return at(t,o(153));if(!s)return at(t,o(161));const a=at(t,o(143),s);return r?at(t,o(152),[n+1,s]):a}),n[e(147)]({label:at(t,e(167)),tooltip:!0,icon:_t.IconChevronUp}),s[e(147)]({label:at(t,e(149)),tooltip:!0,icon:_t.IconChevronDown}),n[e(126)](e(151)).to(this,e(129)),s[e(126)](e(151)).to(this,e(160)),n.on(e(133),()=>this[e(156)](e(133),e(150))),s.on(e(133),()=>this[e(156)](e(133),e(145))),this[e(146)]({tag:e(159),attributes:{class:["ck",e(168),e(136)]},children:[{tag:e(141),attributes:{class:[e(166)]},children:[{tag:e(141),attributes:{class:[e(162),i.if(e(132),e(139),t=>!t)]},children:[{text:i.to(e(123),i=>i?at(t,e(148))+": ":at(t,e(134))+": ")}]},{text:i.to(e(127))}]},new It.ToolbarSeparatorView,{tag:e(159),attributes:{class:[e(140)]},children:[n,s]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=Tt(),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-=411]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(249447===-parseInt(e(420))/1*(parseInt(e(427))/2)+parseInt(e(435))/3*(parseInt(e(423))/4)+parseInt(e(421))/5+-parseInt(e(418))/6+parseInt(e(436))/7+parseInt(e(432))/8*(parseInt(e(426))/9)+-parseInt(e(431))/10*(parseInt(e(416))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(411);function Ie(){const t=["removeClass","view","roots","11JFdAPw","addClass","646626WJiBMg","show","201574ztRyfh","1324055HuMeWg","hide","781012MJdORW","pluginName","editing","14310EYYIDF","2rjJbvs","isOfficialPlugin","editor","RevisionViewerLoadingOverlay","6007580cWJruz","2256XOFqhZ","change","isPremiumPlugin","3gFnzdO","1757742lfaxbb","ck-editor__editable__loading-overlay","document"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(424)](){return be(430)}static get[be(428)](){return!0}static get[be(434)](){return!0}[be(419)](){const t=be,e=this[t(429)][t(425)][t(414)];e[t(433)](i=>{const n=t;for(const t of e[n(412)][n(415)])i[n(417)](_e,t)})}[be(422)](){const t=be,e=this[t(429)][t(425)][t(414)];e[t(433)](i=>{const n=t;for(const t of e[n(412)][n(415)])i[n(413)](_e,t)})}}const Oe=xe;function xe(t,e){const i=Ne();return(xe=function(t,e){return i[t-=280]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(828655===-parseInt(e(291))/1+-parseInt(e(307))/2+parseInt(e(293))/3*(-parseInt(e(295))/4)+-parseInt(e(316))/5+-parseInt(e(283))/6+parseInt(e(315))/7+parseInt(e(281))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ne);class Te extends G.Plugin{static get[Oe(287)](){return Oe(325)}static get[Oe(298)](){return!0}static get[Oe(306)](){return!0}static get[Oe(303)](){return[ue,Se]}[Oe(319)](){const t=Oe,e=this[t(290)],i=e[t(323)][t(321)](ue),n=e[t(323)][t(321)](Se);e.ui[t(309)][t(305)](t(317),i=>{const n=t,s=new It.ButtonView(i);return s[n(311)]({label:at(i,n(324)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:n(302)}),this[n(282)](s,n(299),()=>{const t=n;e[t(310)][t(321)](t(289))[t(292)]()}),s}),e.ui[t(309)][t(305)](t(314),i=>{const n=t,s=new It.ButtonView(i);return s[n(311)]({label:at(i,n(312)),withText:!0,tooltip:!0}),s[n(300)](n(308)).to(e[n(313)][n(321)](n(314))),this[n(282)](s,n(299),()=>e[n(299)](n(314))),s}),e.ui[t(309)][t(305)](t(304),n=>{const s=t,r=new ge(n),o=e[s(313)][s(321)](s(320)),a=e[s(313)][s(321)](s(285));return r[s(300)](s(322)).to(o,s(308)),r[s(300)](s(318)).to(a,s(308)),r[s(300)](s(280),s(288),s(294),s(286)).to(i),this[s(282)](r,s(299),(t,i)=>{const n=s;e[n(299)](n(301)===i?n(285):n(320))}),r}),n[t(296)](),i.on(t(284),(e,i,s)=>{const r=t;s?n[r(297)]():n[r(296)]()})}}function Ne(){const t=["isPremiumPlugin","2458058PHUEwm","isEnabled","componentFactory","config","set","Restore this revision","commands","restoreRevision","6427687ainegY","2778490VgvLJd","exitToEditing","isForwardNavigationEnabled","init","showPreviousChange","get","isBackwardNavigationEnabled","plugins","Back to editing","RevisionViewerUI","isReady","33435224VuGszX","listenTo","4947876AeIeaF","change:isReady","showNextChange","isNavigationMode","pluginName","currentChangeNumber","revisionHistory","editor","1560571WvolHO","closeRevisionViewerCallback","15gwfVuH","numberOfChanges","79236sAXvnh","show","hide","isOfficialPlugin","execute","bind","forward","ck-revision-history-ui__back-to-editing","requires","changesNavigation","add"];return(Ne=function(){return t})()}var Ae=i(815),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=Tt(),Re.insertStyleElement=Et();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ee;function Ve(){const t=["bindTemplate","1984347ubcqJq","value","368142KtGygQ","34370NnCGrJ","Revision name","887172YkhGid","ck-tooltip_multi-line","destroy","clientWidth","534WswilB","1682936YfmFxQ","53110pPitzW","span","extendTemplate","1096iKWNvn","render","ck-revision-history-sidebar__revision-name","fieldView","placeholder","listenTo","Enter the revision name","input","set","10Itqzfo","_tooltipString","element","_updateTooltipText","147159dMznXF","scrollWidth","_resizeObserver"];return(Ve=function(){return t})()}function Ee(t,e){const i=Ve();return(Ee=function(t,e){return i[t-=388]})(t,e)}!function(t){const e=Ee,i=t();for(;;)try{if(491175===parseInt(e(415))/1+parseInt(e(392))/2+parseInt(e(413))/3+parseInt(e(418))/4+parseInt(e(393))/5*(-parseInt(e(391))/6)+-parseInt(e(416))/7*(parseInt(e(396))/8)+-parseInt(e(409))/9*(-parseInt(e(405))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ve);class De extends It.LabeledFieldView{[Me(411)]=null;constructor(t,e){const i=Me;super(t,e);const n=this[i(412)];this[i(404)]({label:at(t,i(417)),_tooltipString:""}),this[i(399)][i(400)]=at(t,i(402)),this[i(395)]({tag:i(394),attributes:{class:[i(398)],"data-cke-tooltip-text":n.to(i(406)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(388)}})}[Me(397)](){const e=Me;super[e(397)](),this[e(411)]=new t.ResizeObserver(this[e(399)][e(407)],()=>this[e(408)]()),this[e(401)](this[e(399)],e(403),()=>this[e(408)]())}[Me(389)](){const t=Me;super[t(389)](),this[t(411)]&&this[t(411)][t(389)]()}[Me(408)](){const t=Me,e=this[t(399)][t(407)];this[t(406)]=e[t(410)]>e[t(390)]&&e[t(414)]||""}}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=Tt(),Fe.insertStyleElement=Et();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function Pe(){const t=["635568KXXtyH","60FEJTGt","120028GJCvCa","span","4802295VdXier","11000caAxLB","9zHjGhV","490180ZQoGhO","ck-revision-history-sidebar__revision-author__name","Revision author","13827CCgzHR","0 0 11 10","ck-revision-history-sidebar__revision-author_creator","1062110jkprYY","setTemplate","99jgqSIu","5706328YgcWhn","ck-revision-history-sidebar__revision-author","name","push","set","Revision creator"];return(Pe=function(){return t})()}function je(t,e){const i=Pe();return(je=function(t,e){return i[t-=381]})(t,e)}!function(t){const e=je,i=t();for(;;)try{if(781943===-parseInt(e(390))/1+-parseInt(e(397))/2+parseInt(e(383))/3*(-parseInt(e(392))/4)+-parseInt(e(394))/5+-parseInt(e(391))/6*(-parseInt(e(381))/7)+-parseInt(e(384))/8*(-parseInt(e(396))/9)+-parseInt(e(395))/10*(-parseInt(e(400))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pe);class Le extends It.View{constructor(t,e,i){const n=je;super(t);const s=new It.IconView;s[n(388)]({content:_t.IconUser,viewBox:n(401)});const r=["ck",n(385)];i&&r[n(387)](n(402));const o=[{tag:n(393),attributes:{class:["ck",n(398)],title:at(t,n(i?389:399))},children:[s,e[n(386)]]}];this[n(382)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=277]})(t,e)}function We(){var t=["99783IgEhWf","9000QXFgVa","6NYPlPe","11rckGRa","toLocaleDateString","numeric","339145JyQdoG","long","toLocaleTimeString","16997690mjLWFe","5817553dknrqz","420026NvOfpG","584LmYmvS","105qUzGJw","509360oRZXaO"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(577354===parseInt(e(281))/1+parseInt(e(286))/2*(parseInt(e(283))/3)+-parseInt(e(284))/4+-parseInt(e(291))/5*(-parseInt(e(287))/6)+-parseInt(e(280))/7+parseInt(e(282))/8*(-parseInt(e(285))/9)+-parseInt(e(279))/10*(-parseInt(e(288))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var He=i(505),Ue={attributes:{"data-cke":!0}};Ue.setAttributes=Mt(),Ue.insert=At().bind(null,"head"),Ue.domAPI=Tt(),Ue.insertStyleElement=Et();Ot()(He.A,Ue);He.A&&He.A.locals&&He.A.locals;function Ze(){const t=["set","4nqUVIr","menu","extendTemplate","isActionsDropdownOpen","listenTo","function","40IpoSrq","18823WvYDlX","408827pGTXEp","ck-on","1452wGlRJo","1668lGmaPE","model","382980LWBdNm","items","change:isActionsDropdownOpen","locale","children","isEnabled","add","4240AXMlll","source","205293MrvHEd","isReady","isVisible","first","bindTemplate","class","Restore this revision","bind","stopPropagation","2177484AZxZMj","execute","ck-revision-history-sidebar__revision__actions","menuitem","listView","9387exDAwE","Show more items","name","Name this revision","action","panelPosition","button","buttonView","find","339344kRJrVK","_action","Compare against selected","map","isOpen"];return(Ze=function(){return t})()}function $e(t,e){const i=Ze();return($e=function(t,e){return i[t-=288]})(t,e)}!function(t){const e=$e,i=t();for(;;)try{if(564133===parseInt(e(291))/1*(-parseInt(e(334))/2)+-parseInt(e(314))/3+-parseInt(e(328))/4*(-parseInt(e(289))/5)+parseInt(e(293))/6*(-parseInt(e(290))/7)+-parseInt(e(303))/8*(parseInt(e(319))/9)+parseInt(e(296))/10+-parseInt(e(305))/11*(-parseInt(e(294))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ze);var qe=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=Tt(),Be.insertStyleElement=Et();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Ye=Je;function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=306]})(t,e)}function Ge(){const t=["9EYXKCk","3887496kPFpHl","ck-revision-history-sidebar__revision__date","authors","1772395kGlokC","isConfirm","creator","1002VbAyYu","ck-revision-history-sidebar__revision_selected","fieldView","span","deselect","547200Phnkyf","setTemplate","setName","uiLanguage","ck-revision-history-sidebar__revision","createdAt","19831ikBkbW","select","isReady","1816600ksIfcI","_createdAtFormatted","element","ck-revision-history-sidebar__actions_dropdown_open","extendTemplate","div","unhighlight","220","value","ck-reset","filter","bindTemplate","set",".ck-confirm-view","srcElement","highlight","ck-revision-history-sidebar__revision__controls-wrapper","303060BWOCYg","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision_highlighted","revisionActionsView","_requireRevisionName","513458fStruP","length","ck-revision-history-sidebar__revision-authors","isSelected","ck-disabled","bind","map","_revision","from","closest","render","isActionsDropdownOpen","isEnabled","isHighlighted","unshift","name","fire","9SekifS","listenTo","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","change","revisionNameView"];return(Ge=function(){return t})()}!function(t){const e=Je,i=t();for(;;)try{if(344977===parseInt(e(353))/1+parseInt(e(348))/2*(-parseInt(e(310))/3)+-parseInt(e(322))/4+-parseInt(e(314))/5+parseInt(e(317))/6*(parseInt(e(328))/7)+parseInt(e(311))/8*(parseInt(e(370))/9)+-parseInt(e(331))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(309)];[Ye(351)];[Ye(360)];[Ye(352)];constructor(e,i,n,s){const r=Ye;super(e);const o=this[r(342)],a=function(t,e){const i=r,n=Array[i(361)](e[i(313)])[i(341)](t=>t!=e[i(316)]);return e[i(316)]&&n[i(367)](e[i(316)]),n[i(359)](n=>new Le(t,n,n==e[i(316)]))}(e,i);this.id=i.id,this[r(360)]=i,this[r(352)]=s,this[r(358)](r(368),r(327)).to(i),this[r(358)](r(332)).to(this,r(327),t=>{return i=e[r(325)],(n=t)[(s=ze)(289)](i,{month:s(277),day:s(290)})+", "+n[s(278)](i,{hour:s(290),minute:s(290)});var i,n,s}),this[r(343)](r(356),!1),this[r(343)](r(366),!1),this[r(343)](r(364),!1),this[r(343)](r(330),!1),this[r(343)](r(365),!1),this[r(309)]=new De(e,It.createLabeledInputText),this[r(309)][r(319)][r(335)]({attributes:{maxlength:r(338)}}),this[r(309)][r(319)][r(358)](r(339)).to(this,r(368),t=>t||this[r(332)]),this[r(309)][r(358)](r(365)).to(this,r(356),this,r(365),(t,e)=>t&&e),this[r(351)]=n&&n[r(354)]?function(e,i){const n=$e,s=e[n(309)],r=e[n(299)],o=(0,It.createDropdown)(r);o[n(324)]="sw";const a=function(e,i){const s=n,r=function(t,e){const i=$e,n=t[i(299)],s={"Compare against selected":at(n,i(330)),"Name this revision":at(n,i(322)),"Restore this revision":at(n,i(311))};return e[i(331)](t=>{const e=i,n=s[t[e(321)]];return n&&n!==t[e(321)]&&(t[e(321)]=n),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:s(325),model:new It.UIModel({label:t[s(321)],class:t[s(310)],withText:!0,role:s(317),_action:t[s(323)]})};i[s(295)][s(312)](s(301)).to(e,s(337),i=>s(288)!=typeof t[s(301)]||!i||t[s(301)](e)),o[s(302)](i)}return o}(e,i);return e[n(312)](n(337)).to(o,n(332)),o[n(326)][n(333)]({label:at(r,n(320)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[n(336)]({attributes:{class:[n(316),s.if(n(337),n(292))]},on:{click:s.to(t=>t[n(313)]())}}),o.on(n(315),t=>{const i=n;e[i(306)]&&i(288)==typeof t[i(304)][i(329)]&&t[i(304)][i(329)](e)}),(0,It.addListToDropdown)(o,a,{role:n(335)}),o[n(338)](e,n(298),(t,s,r)=>{const a=n;if(r)for(const t of o[a(318)][a(297)]){const n=t[a(300)][a(308)],s=i[a(327)](t=>t[a(323)]===n[a(329)])[a(307)];t[a(307)]=void 0===s||s(e)}}),o}(this,n):"",this[r(351)]&&this[r(351)][r(358)](r(365)).to(this),this[r(323)]({tag:r(336),attributes:{class:["ck",r(340),r(349),o.if(r(315),r(307))]},children:[{tag:r(336),attributes:{class:["ck",r(340),r(326),o.if(r(365),r(357),t=>!t),o.if(r(356),r(318)),o.if(r(366),r(350)),o.if(r(364),r(334))]},children:[this[r(309)],{tag:r(320),attributes:{class:["ck",r(312)]},children:[{text:o.to(r(332))}]},{tag:r(336),attributes:{class:["ck",r(347)]},children:[{tag:"ul",attributes:{class:["ck",r(355)]},children:a}]},this[r(351)]],on:{click:o.to(t=>{const e=r;t[e(345)][e(362)](e(344))||this[e(330)]&&this[e(365)]&&this[e(369)](e(329),{id:this.id})})}}]})}[Ye(363)](){const t=Ye;super[t(363)]();const e=this[t(309)][t(319)][t(333)];this[t(306)](e,t(308),()=>{const i=t;this[i(352)]&&!e[i(339)]||this[i(369)](i(324),{id:this.id,name:e[i(339)]}),e[i(339)]||(e[i(339)]=this[i(368)]?this[i(368)]:this[i(332)])})}[Ye(329)](){this[Ye(356)]=!0}[Ye(321)](){this[Ye(356)]=!1}[Ye(346)](){this[Ye(366)]=!0}[Ye(337)](){this[Ye(366)]=!1}}class Xe extends Error{}class Qe extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class ni extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class si extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},xi={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},Ti={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let 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 ts(t,e,i)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}const Di=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class Pi extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new Pi(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=Pi.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return ts(t,e,i,this.name)}formatOffset(t,e){return ss(this.offset(t),e)}offset(t){if(!this.valid)return NaN;const e=new Date(t);if(isNaN(e))return NaN;const i=function(t){let e=Di.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Di.set(t,e)),e}(this.name);let[n,s,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),n=[];for(let t=0;t<i.length;t++){const{type:e,value:s}=i[t],r=Ci[e];"era"===e?n[r]=s:En(r)||(n[r]=parseInt(s,10))}return n}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,s,r,o,a,c,u,l]=n;return[o,s,r,a,c,u,l]}(i,e);"BC"===o&&(n=1-Math.abs(n));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Gn({year:n,month:s,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let ji={};const Li=new Map;function zi(t,e={}){const i=JSON.stringify([t,e]);let n=Li.get(i);return void 0===n&&(n=new Intl.DateTimeFormat(t,e),Li.set(i,n)),n}const Wi=new Map;const Hi=new Map;let Ui=null;const Zi=new Map;function $i(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,n){const s=t.listingMode();return"error"===s?null:"en"===s?i(e):n(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:n,floor:s,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let n=Wi.get(i);return void 0===n&&(n=new Intl.NumberFormat(t,e),Wi.set(i,n)),n}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Hn(this.floor?Math.floor(t):qn(t,3),this.padTo)}}class Ji{constructor(t,e,i){let n;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&Pi.create(i).valid?(n=i,this.dt=t):(n="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,n=t.zone.name):(n="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||n,this.dtf=zi(e,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Fn()&&(this.rtf=function(t,e={}){const{base:i,...n}=e,s=JSON.stringify([t,n]);let r=Hi.get(s);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Hi.set(s,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",n=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${s[t][0]}`;case-1:return i?"yesterday":`last ${s[t][0]}`;case 0:return i?"today":`this ${s[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=s[t],l=n?c?u[1]:u[2]||u[1]:c?s[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,n,s=!1){const r=t||gn.defaultLocale,o=r||(s?"en-US":Ui||(Ui=(new Intl.DateTimeFormat).resolvedOptions().locale,Ui)),a=e||gn.defaultNumberingSystem,c=i||gn.defaultOutputCalendar,u=zn(n)||gn.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Ui=null,Li.clear(),Wi.clear(),Hi.clear(),Zi.clear(),qi.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:n}={}){return Xi.create(t,e,i,n)}constructor(t,e,i,n,s){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,n;try{e=zi(t).resolvedOptions(),n=t}catch(s){const r=t.substring(0,i);e=zi(r).resolvedOptions(),n=r}const{numberingSystem:s,calendar:r}=e;return[n,s,r]}}(t);this.locale=r,this.numberingSystem=e||o||null,this.outputCalendar=i||a||null,this.weekSettings=n,this.intl=function(t,e,i){return i||e?(t.includes("-u-")||(t+="-u"),i&&(t+=`-ca-${i}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===$i(t.locale).numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?Xi.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,zn(t.weekSettings)||this.weekSettings,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1){return Bi(this,t,us,()=>{const i=e?{month:t,day:"numeric"}:{month:t},n=e?"format":"standalone";return this.monthsCache[n][t]||(this.monthsCache[n][t]=function(t){const e=[];for(let i=1;i<=12;i++){const n=fo.utc(2009,i,1);e.push(t(n))}return e}(t=>this.extract(t,i,"month"))),this.monthsCache[n][t]})}weekdays(t,e=!1){return Bi(this,t,fs,()=>{const i=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},n=e?"format":"standalone";return this.weekdaysCache[n][t]||(this.weekdaysCache[n][t]=function(t){const e=[];for(let i=1;i<=7;i++){const n=fo.utc(2016,11,13+i);e.push(t(n))}return e}(t=>this.extract(t,i,"weekday"))),this.weekdaysCache[n][t]})}meridiems(){return Bi(this,void 0,()=>ms,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[fo.utc(2016,11,13,9),fo.utc(2016,11,13,19)].map(e=>this.extract(e,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Bi(this,t,ys,()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[fo.utc(-40,1,1),fo.utc(2017,1,1)].map(t=>this.extract(t,e,"era"))),this.eraCache[t]})}extract(t,e,i){const n=this.dtFormatter(t,e).formatToParts().find(t=>t.type.toLowerCase()===i);return n?n.value:null}numberFormatter(t={}){return new Yi(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Ji(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let n=ji[i];return n||(n=new Intl.ListFormat(t,e),ji[i]=n),n}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||$i(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Pn()?function(t){let e=qi.get(t);if(!e){const i=new Intl.Locale(t);e="getWeekInfo"in i?i.getWeekInfo():i.weekInfo,"minimalDays"in e||(e={...Ki,...e}),qi.set(t,e)}return e}(this.locale):Ki}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let Qi=null;class tn extends Mi{static get utcInstance(){return null===Qi&&(Qi=new tn(0)),Qi}static instance(t){return 0===t?tn.utcInstance:new tn(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tn(es(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${ss(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${ss(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return ss(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class en extends Mi{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nn(t,e){if(En(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?tn.utcInstance:tn.parseSpecifier(i)||Pi.create(t)}return Dn(t)?tn.instance(t):"object"==typeof t&&"offset"in t&&"function"==typeof t.offset?t:new en(t)}const sn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},rn={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},on=sn.hanidec.replace(/[\[|\]]/g,"").split("");const an=new Map;function cn({numberingSystem:t},e=""){const i=t||"latn";let n=an.get(i);void 0===n&&(n=new Map,an.set(i,n));let s=n.get(e);return void 0===s&&(s=new RegExp(`${sn[i]}${e}`),n.set(e,s)),s}let un,ln=()=>Date.now(),hn="system",dn=null,fn=null,mn=null,pn=60,vn=null;class gn{static get now(){return ln}static set now(t){ln=t}static set defaultZone(t){hn=t}static get defaultZone(){return nn(hn,Ei.instance)}static get defaultLocale(){return dn}static set defaultLocale(t){dn=t}static get defaultNumberingSystem(){return fn}static set defaultNumberingSystem(t){fn=t}static get defaultOutputCalendar(){return mn}static set defaultOutputCalendar(t){mn=t}static get defaultWeekSettings(){return vn}static set defaultWeekSettings(t){vn=zn(t)}static get twoDigitCutoffYear(){return pn}static set twoDigitCutoffYear(t){pn=t%100}static get throwOnInvalid(){return un}static set throwOnInvalid(t){un=t}static resetCaches(){Xi.resetCache(),Pi.resetCache(),fo.resetCache(),an.clear()}}class yn{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const kn=[0,31,59,90,120,151,181,212,243,273,304,334],bn=[0,31,60,91,121,152,182,213,244,274,305,335];function wn(t,e){return new yn("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function _n(t,e,i){const n=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);const s=n.getUTCDay();return 0===s?7:s}function In(t,e,i){return i+(Bn(t)?bn:kn)[e-1]}function Sn(t,e){const i=Bn(t)?bn:kn,n=i.findIndex(t=>t<e);return{month:n+1,day:e-i[n]}}function On(t,e){return(t-e+7)%7+1}function xn(t,e=4,i=1){const{year:n,month:s,day:r}=t,o=In(n,s,r),a=On(_n(n,s,r),i);let c,u=Math.floor((o-a+14-e)/7);return u<1?(c=n-1,u=Xn(c,e,i)):u>Xn(n,e,i)?(c=n+1,u=1):c=n,{weekYear:c,weekNumber:u,weekday:a,...rs(t)}}function Tn(t,e=4,i=1){const{weekYear:n,weekNumber:s,weekday:r}=t,o=On(_n(n,1,e),i),a=Yn(n);let c,u=7*s+r-o-7+e;u<1?(c=n-1,u+=Yn(c)):u>a?(c=n+1,u-=Yn(n)):c=n;const{month:l,day:h}=Sn(c,u);return{year:c,month:l,day:h,...rs(t)}}function Nn(t){const{year:e,month:i,day:n}=t;return{year:e,ordinal:In(e,i,n),...rs(t)}}function An(t){const{year:e,ordinal:i}=t,{month:n,day:s}=Sn(e,i);return{year:e,month:n,day:s,...rs(t)}}function Rn(t,e){if(!En(t.localWeekday)||!En(t.localWeekNumber)||!En(t.localWeekYear)){if(!En(t.weekday)||!En(t.weekNumber)||!En(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return En(t.localWeekday)||(t.weekday=t.localWeekday),En(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),En(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Mn(t){const e=Cn(t.year),i=Wn(t.month,1,12),n=Wn(t.day,1,Jn(t.year,t.month));return e?i?!n&&wn("day",t.day):wn("month",t.month):wn("year",t.year)}function Vn(t){const{hour:e,minute:i,second:n,millisecond:s}=t,r=Wn(e,0,23)||24===e&&0===i&&0===n&&0===s,o=Wn(i,0,59),a=Wn(n,0,59),c=Wn(s,0,999);return r?o?a?!c&&wn("millisecond",s):wn("second",n):wn("minute",i):wn("hour",e)}function En(t){return void 0===t}function Dn(t){return"number"==typeof t}function Cn(t){return"number"==typeof t&&t%1==0}function Fn(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Pn(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function jn(t,e,i){if(0!==t.length)return t.reduce((t,n)=>{const s=[e(n),n];return t&&i(t[0],s[0])===t[0]?t:s},null)[1]}function Ln(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function zn(t){if(null==t)return null;if("object"!=typeof t)throw new si("Week settings must be an object");if(!Wn(t.firstDay,1,7)||!Wn(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Wn(t,1,7)))throw new si("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Wn(t,e,i){return Cn(t)&&t>=e&&t<=i}function Hn(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Un(t){return En(t)||null===t||""===t?void 0:parseInt(t,10)}function Zn(t){return En(t)||null===t||""===t?void 0:parseFloat(t)}function $n(t){if(!En(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qn(t,e,i=!1){const n=10**e;return(i?Math.trunc:Math.round)(t*n)/n}function Bn(t){return t%4==0&&(t%100!=0||t%400==0)}function Yn(t){return Bn(t)?366:365}function Jn(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?Bn(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Gn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Kn(t,e,i){return-On(_n(t,1,e),i)+e-1}function Xn(t,e=4,i=1){const n=Kn(t,e,i),s=Kn(t+1,e,i);return(Yn(t)-n+s)/7}function Qn(t){return t>99?t:t>gn.twoDigitCutoffYear?1900+t:2e3+t}function ts(t,e,i,n=null){const s=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(r.timeZone=n);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(s).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function es(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const n=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-n:n)}function is(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new si(`Invalid unit value ${t}`);return e}function ns(t,e){const i={};for(const n in t)if(Ln(t,n)){const s=t[n];if(null==s)continue;i[e(n)]=is(s)}return i}function ss(t,e){const i=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${Hn(i,2)}:${Hn(n,2)}`;case"narrow":return`${s}${i}${n>0?`:${n}`:""}`;case"techie":return`${s}${Hn(i,2)}${Hn(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rs(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const os=["January","February","March","April","May","June","July","August","September","October","November","December"],as=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cs=["J","F","M","A","M","J","J","A","S","O","N","D"];function us(t){switch(t){case"narrow":return[...cs];case"short":return[...as];case"long":return[...os];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ls=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hs=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],ds=["M","T","W","T","F","S","S"];function fs(t){switch(t){case"narrow":return[...ds];case"short":return[...hs];case"long":return[...ls];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const ms=["AM","PM"],ps=["Before Christ","Anno Domini"],vs=["BC","AD"],gs=["B","A"];function ys(t){switch(t){case"narrow":return[...gs];case"short":return[...vs];case"long":return[...ps];default:return null}}function ks(t,e){let i="";for(const n of t)n.literal?i+=n.val:i+=e(n.val);return i}const bs={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:Ti,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class ws{static create(t,e={}){return new ws(t,e)}static parseFormat(t){let e=null,i="",n=!1;const s=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),e=null,i="",n=!n):n||o===e?i+=o:(i.length>0&&s.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&s.push({literal:n||/^\s+$/.test(i),val:i}),s}static macroTokenToFormatOpts(t){return bs[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Hn(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),n=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return ms[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,n)=>i?function(t,e){return us(e)[t.month-1]}(t,e):s(n?{month:e}:{month:e,day:"numeric"},"month"),c=(e,n)=>i?function(t,e){return fs(e)[t.weekday-1]}(t,e):s(n?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=ws.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return ys(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return ks(ws.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return n?s({day:"numeric"},"day"):this.num(t.day);case"dd":return n?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return n?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return n?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return n?s({month:"numeric"},"month"):this.num(t.month);case"MM":return n?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return n?s({year:"numeric"},"year"):this.num(t.year);case"yy":return n?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return n?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return n?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},n=ws.parseFormat(e),s=n.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return ks(n,(t=>e=>{const n=i(e);return n?this.num(t.get(n),e.length):e})(t.shiftTo(...s.map(i).filter(t=>t))))}}const _s=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Is(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Ss(...t){return e=>t.reduce(([t,i,n],s)=>{const[r,o,a]=s(e,n);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function Os(t,...e){if(null==t)return[null,null];for(const[i,n]of e){const e=i.exec(t);if(e)return n(e)}return[null,null]}function xs(...t){return(e,i)=>{const n={};let s;for(s=0;s<t.length;s++)n[t[s]]=Un(e[i+s]);return[n,null,i+s]}}const Ts=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Ns=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,As=RegExp(`${Ns.source}${`(?:${Ts.source}?(?:\\[(${_s.source})\\])?)?`}`),Rs=RegExp(`(?:T${As.source})?`),Ms=xs("weekYear","weekNumber","weekDay"),Vs=xs("year","ordinal"),Es=RegExp(`${Ns.source} ?(?:${Ts.source}|(${_s.source}))?`),Ds=RegExp(`(?: ${Es.source})?`);function Cs(t,e,i){const n=t[e];return En(n)?i:Un(n)}function Fs(t,e){return[{hours:Cs(t,e,0),minutes:Cs(t,e+1,0),seconds:Cs(t,e+2,0),milliseconds:$n(t[e+3])},null,e+4]}function Ps(t,e){const i=!t[e]&&!t[e+1],n=es(t[e+1],t[e+2]);return[{},i?null:tn.instance(n),e+3]}function js(t,e){return[{},t[e]?Pi.create(t[e]):null,e+1]}const Ls=RegExp(`^T?${Ns.source}$`),zs=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function Ws(t){const[e,i,n,s,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Zn(i)),months:d(Zn(n)),weeks:d(Zn(s)),days:d(Zn(r)),hours:d(Zn(o)),minutes:d(Zn(a)),seconds:d(Zn(c),"-0"===c),milliseconds:d($n(u),h)}]}const Hs={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Us(t,e,i,n,s,r,o){const a={year:2===e.length?Qn(Un(e)):Un(e),month:as.indexOf(i)+1,day:Un(n),hour:Un(s),minute:Un(r)};return o&&(a.second=Un(o)),t&&(a.weekday=t.length>3?ls.indexOf(t)+1:hs.indexOf(t)+1),a}const Zs=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function $s(t){const[,e,i,n,s,r,o,a,c,u,l,h]=t,d=Us(e,s,n,i,r,o,a);let f;return f=c?Hs[c]:u?0:es(l,h),[d,new tn(f)]}const qs=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bs=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Ys=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Js(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,s,n,i,r,o,a),tn.utcInstance]}function Gs(t){const[,e,i,n,s,r,o,a]=t;return[Us(e,a,i,n,s,r,o),tn.utcInstance]}const Ks=Is(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rs),Xs=Is(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rs),Qs=Is(/(\d{4})-?(\d{3})/,Rs),tr=Is(As),er=Ss(function(t,e){return[{year:Cs(t,e),month:Cs(t,e+1,1),day:Cs(t,e+2,1)},null,e+3]},Fs,Ps,js),ir=Ss(Ms,Fs,Ps,js),nr=Ss(Vs,Fs,Ps,js),sr=Ss(Fs,Ps,js);const rr=Ss(Fs);const or=Is(/(\d{4})-(\d\d)-(\d\d)/,Ds),ar=Is(Es),cr=Ss(Fs,Ps,js);const ur="Invalid Duration",lr={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},hr={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...lr},dr=365.2425,fr=30.436875,mr={years:{quarters:4,months:12,weeks:52.1775,days:dr,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:fr,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...lr},pr=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],vr=pr.slice(0).reverse();function gr(t,e,i=!1){const n={values:i?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new br(n)}function yr(t,e){let i=e.milliseconds??0;for(const n of vr.slice(1))e[n]&&(i+=e[n]*t[n].milliseconds);return i}function kr(t,e){const i=yr(t,e)<0?-1:1;pr.reduceRight((n,s)=>{if(En(e[s]))return n;if(n){const r=e[n]*i,o=t[s][n],a=Math.floor(r/o);e[s]+=a*i,e[n]-=a*o*i}return s},null),pr.reduce((i,n)=>{if(En(e[n]))return i;if(i){const s=e[i]%1;e[i]-=s,e[n]+=s*t[i][n]}return n},null)}class br{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let i=e?mr:hr;t.matrix&&(i=t.matrix),this.values=t.values,this.loc=t.loc||Xi.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=i,this.isLuxonDuration=!0}static fromMillis(t,e){return br.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new si("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new br({values:ns(t,br.normalizeUnit),loc:Xi.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(Dn(t))return br.fromMillis(t);if(br.isDuration(t))return t;if("object"==typeof t)return br.fromObject(t);throw new si(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[i]=function(t){return Os(t,[zs,Ws])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[i]=function(t){return Os(t,[Ls,rr])}(t);return i?br.fromObject(i,e):br.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Duration is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ei(i);return new br({invalid:i})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new ni(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const i={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?ws.create(this.loc,i).formatDurationFromString(this,t):ur}toHuman(t={}){if(!this.isValid)return ur;const e=pr.map(e=>{const i=this.values[e];return En(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+=qn(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)(Ln(e.values,t)||Ln(this.values,t))&&(i[t]=e.get(t)+this.get(t));return gr(this,{values:i},!0)}minus(t){if(!this.isValid)return this;const e=br.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const i of Object.keys(this.values))e[i]=is(t(this.values[i],i));return gr(this,{values:e},!0)}get(t){return this[br.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return gr(this,{values:{...this.values,...ns(t,br.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:i,matrix:n}={}){return gr(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:n,conversionAccuracy:i})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return kr(this.matrix,t),gr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return gr(this,{values:function(t){const e={};for(const[i,n]of Object.entries(t))0!==n&&(e[i]=n);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map(t=>br.normalizeUnit(t));const e={},i={},n=this.toObject();let s;for(const r of pr)if(t.indexOf(r)>=0){s=r;let t=0;for(const e in i)t+=this.matrix[e][r]*i[e],i[e]=0;Dn(n[r])&&(t+=n[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Dn(n[r])&&(i[r]=n[r]);for(const t in i)0!==i[t]&&(e[s]+=t===s?i[t]:i[t]/this.matrix[s][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the Interval is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),n=mo(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,n);return null==s?new _r({start:i,end:n}):s}static after(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n,n.plus(i))}static before(t,e){const i=br.fromDurationLike(e),n=mo(t);return _r.fromDateTimes(n.minus(i),n)}static fromISO(t,e){const[i,n]=(t||"").split("/",2);if(i&&n){let t,s,r,o;try{t=fo.fromISO(i,e),s=t.isValid}catch(n){s=!1}try{r=fo.fromISO(n,e),o=r.isValid}catch(n){o=!1}if(s&&o)return _r.fromDateTimes(t,r);if(s){const i=br.fromISO(n,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let n;return n=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,n=n.startOf(t,e),Math.floor(n.diff(i,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s:n}=this,s=0;for(;n<this.e;){const t=e[s]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(n,r)),n=r,s+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s:n}=this,s=1;const r=[];for(;n<this.e;){const t=this.start.plus(e.mapUnits(t=>t*s));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(n,i)),n=i,s+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const n=[],s=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...s).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&n.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(n)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=gn.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return Pi.isValidZone(t)}static normalizeZone(t){return nn(t,gn.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null,outputCalendar:s="gregory"}={}){return(n||Xi.create(e,i,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:n=null}={}){return(n||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Fn(),localeWeek:Pn()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=i(e)-i(t);return Math.floor(br.fromMillis(n).as("days"))}function Or(t,e,i,n){let[s,r,o,a]=function(t,e,i){const n=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],s={},r=t;let o,a;for(const[c,u]of n)i.indexOf(c)>=0&&(o=c,s[c]=u(t,e),a=r.plus(s),a>e?(s[c]--,(t=r.plus(s))>e&&(a=t,s[c]--,t=r.plus(s))):t=a);return[t,s,a,o]}(t,e,i);const c=e-s,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=s.plus({[a]:1})),o!==s&&(r[a]=(r[a]||0)+c/(o-s)));const l=br.fromObject(r,n);return u.length>0?br.fromMillis(c,n).shiftTo(...u).plus(l):l}function xr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const n=t.charCodeAt(i);if(-1!==t[i].search(sn.hanidec))e+=on.indexOf(t[i]);else for(const t in rn){const[i,s]=rn[t];n>=i&&n<=s&&(e+=n-i)}}return parseInt(e,10)}return e}(t))}}const Tr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(Tr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,Tr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>es(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(ws.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class Pr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(ws.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=cn(e),n=cn(e,"{2}"),s=cn(e,"{3}"),r=cn(e,"{4}"),o=cn(e,"{6}"),a=cn(e,"{1,2}"),c=cn(e,"{1,3}"),u=cn(e,"{1,6}"),l=cn(e,"{1,9}"),h=cn(e,"{2,4}"),d=cn(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return xr(u);case"yy":case"kk":return xr(h,Qn);case"yyyy":case"kkkk":return xr(r);case"yyyyy":return xr(d);case"yyyyyy":return xr(o);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return xr(a);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return xr(n);case"MMM":return Mr(e.months("short",!0),1);case"MMMM":return Mr(e.months("long",!0),1);case"LLL":return Mr(e.months("short",!1),1);case"LLLL":return Mr(e.months("long",!1),1);case"o":case"S":return xr(c);case"ooo":case"SSS":return xr(s);case"u":return Er(l);case"uu":return Er(a);case"uuu":case"E":case"c":return xr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${n.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 n=t.match(e);if(n){const t={};let e=1;for(const s in i)if(Ln(i,s)){const r=i[s],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(n.slice(e,e+o))),e+=o}return[n,t]}return[n,{}]}(t,this.regex,this.handlers),[n,s,r]=i?function(t){let e,i=null;return En(t.z)||(i=Pi.create(t.z)),En(t.Z)||(i||(i=new tn(t.Z)),e=t.Z),En(t.q)||(t.M=3*(t.q-1)+1),En(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),En(t.u)||(t.S=$n(t.u)),[Object.keys(t).reduce((e,i)=>{const n=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return n&&(e[n]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ln(i,"a")&&Ln(i,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:e,matches:i,result:n,zone:s,specificOffset:r}}return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function jr(t,e,i){return new Pr(t,i).explainFromTokens(e)}function Lr(t,e){if(!t)return null;const i=ws.create(e,t).dtFormatter((Cr||(Cr=fo.fromMillis(1555555555555)),Cr)),n=i.formatToParts(),s=i.resolvedOptions();return n.map(e=>function(t,e,i){const{type:n,value:s}=t;if("literal"===n){const t=/^\s+$/.test(s);return{literal:!t,val:t?" ":s}}const r=e[n];let o=n;"hour"===n&&(o=null!=e.hour12?e.hour12?"hour12":"hour24":null!=e.hourCycle?"h11"===e.hourCycle||"h12"===e.hourCycle?"hour12":"hour24":i.hour12?"hour12":"hour24");let a=Dr[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,s))}const zr="Invalid DateTime",Wr=864e13;function Hr(t){return new yn("unsupported zone",`the zone "${t.name}" is not supported`)}function Ur(t){return null===t.weekData&&(t.weekData=xn(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=xn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function $r(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 qr(t,e,i){let n=t-60*e*1e3;const s=i.offset(n);if(e===s)return[n,e];n-=60*(s-e)*1e3;const r=i.offset(n);return s===r?[n,s]:[t-60*Math.min(s,r)*1e3,Math.max(s,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return qr(Gn(t),e,i)}function Jr(t,e){const i=t.o,n=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:n,month:s,day:Math.min(t.c.day,Jn(n,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Gn(r);let[c,u]=qr(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,n,s,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const n=e||a,s=fo.fromObject(t,{...i,zone:n,specificOffset:r});return o?s:s.setZone(a)}return fo.invalid(new yn("unparsable",`the input "${s}" can't be parsed as ${n}`))}function Kr(t,e,i=!0){return t.isValid?ws.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let n="";return i&&t.c.year>=0&&(n+="+"),n+=Hn(t.c.year,i?6:4),e?(n+="-",n+=Hn(t.c.month),n+="-",n+=Hn(t.c.day)):(n+=Hn(t.c.month),n+=Hn(t.c.day)),n}function Qr(t,e,i,n,s,r){let o=Hn(t.c.hour);return e?(o+=":",o+=Hn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Hn(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Hn(t.c.second),0===t.c.millisecond&&n||(o+=".",o+=Hn(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Hn(Math.trunc(-t.o/60)),o+=":",o+=Hn(Math.trunc(-t.o%60))):(o+="+",o+=Hn(Math.trunc(t.o/60)),o+=":",o+=Hn(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},no=["year","month","day","hour","minute","second","millisecond"],so=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new ni(t);return e}(t)}}function ao(t,e){const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Hr(i));const n=Xi.fromObject(e);let s,r;if(En(t.year))s=gn.now();else{for(const e of no)En(t[e])&&(t[e]=to[e]);const e=Mn(t)||Vn(t);if(e)return fo.invalid(e);const n=function(t){if(void 0===lo&&(lo=gn.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[s,r]=Yr(t,n,i)}return new fo({ts:s,zone:i,loc:n,o:r})}function co(t,e,i){const n=!!En(i.round)||i.round,s=(t,s)=>{t=qn(t,n||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,s)},r=n=>i.calendary?e.hasSame(t,n)?0:e.startOf(n).diff(t.startOf(n),n).get(n):e.diff(t,n).get(n);if(i.unit)return s(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||gn.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new yn("invalid input"):null)||(e.isValid?null:Hr(e));this.ts=En(t.ts)?gn.now():t.ts;let n=null,s=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[n,s]=[t.old.c,t.old.o];else{const r=Dn(t.o)&&!t.old?t.o:e.offset(this.ts);n=Br(this.ts,r),i=Number.isNaN(n.year)?new yn("invalid input"):null,n=i?null:n,s=i?null:r}}this._zone=e,this.loc=t.loc||Xi.create(),this.invalid=i,this.weekData=null,this.localWeekData=null,this.c=n,this.o=s,this.isLuxonDateTime=!0}static now(){return new fo({})}static local(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static utc(){const[t,e]=uo(arguments),[i,n,s,r,o,a,c]=e;return t.zone=tn.utcInstance,ao({year:i,month:n,day:s,hour:r,minute:o,second:a,millisecond:c},t)}static fromJSDate(t,e={}){const i=(n=t,"[object Date]"===Object.prototype.toString.call(n)?t.valueOf():NaN);var n;if(Number.isNaN(i))return fo.invalid("invalid input");const s=nn(e.zone,gn.defaultZone);return s.isValid?new fo({ts:i,zone:s,loc:Xi.fromObject(e)}):fo.invalid(Hr(s))}static fromMillis(t,e={}){if(Dn(t))return t<-Wr||t>Wr?fo.invalid("Timestamp out of range"):new fo({ts:t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(Dn(t))return new fo({ts:1e3*t,zone:nn(e.zone,gn.defaultZone),loc:Xi.fromObject(e)});throw new si("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=nn(e.zone,gn.defaultZone);if(!i.isValid)return fo.invalid(Hr(i));const n=Xi.fromObject(e),s=ns(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=Rn(s,n),a=gn.now(),c=En(e.specificOffset)?i.offset(a):e.specificOffset,u=!En(s.ordinal),l=!En(s.year),h=!En(s.month)||!En(s.day),d=l||h,f=s.weekYear||s.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||s.weekday&&!d;let p,v,g=Br(a,c);m?(p=so,v=eo,g=xn(g,r,o)):u?(p=ro,v=io,g=Nn(g)):(p=no,v=to);let y=!1;for(const t of p){En(s[t])?s[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const n=Cn(t.weekYear),s=Wn(t.weekNumber,1,Xn(t.weekYear,e,i)),r=Wn(t.weekday,1,7);return n?s?!r&&wn("weekday",t.weekday):wn("week",t.weekNumber):wn("weekYear",t.weekYear)}(s,r,o):u?function(t){const e=Cn(t.year),i=Wn(t.ordinal,1,Yn(t.year));return e?!i&&wn("ordinal",t.ordinal):wn("year",t.year)}(s):Mn(s),b=k||Vn(s);if(b)return fo.invalid(b);const w=m?Tn(s,r,o):u?An(s):s,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:n});return s.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,n]=function(t){return Os(t,[Ks,er],[Xs,ir],[Qs,nr],[tr,sr])}(t);return Gr(i,n,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,n]=function(t){return Os(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zs,$s])}(t);return Gr(i,n,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,n]=function(t){return Os(t,[qs,Js],[Bs,Js],[Ys,Gs])}(t);return Gr(i,n,e,"HTTP",e)}static fromFormat(t,e,i={}){if(En(t)||En(e))throw new si("fromFormat requires an input string and a format");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:n,zone:s,specificOffset:r,invalidReason:o}=jr(t,e,i);return[n,s,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,n]=function(t){return Os(t,[or,er],[ar,cr])}(t);return Gr(i,n,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new si("need to specify a reason the DateTime is invalid");const i=t instanceof yn?t:new yn(t,e);if(gn.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Lr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(ws.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Ur(this).weekYear:NaN}get weekNumber(){return this.isValid?Ur(this).weekNumber:NaN}get weekday(){return this.isValid?Ur(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?Nn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Gn(this.c),n=this.zone.offset(i-t),s=this.zone.offset(i+t),r=this.zone.offset(i-n*e),o=this.zone.offset(i-s*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[$r(this,{ts:a}),$r(this,{ts:c})]:[this]}get isInLeapYear(){return Bn(this.year)}get daysInMonth(){return Jn(this.year,this.month)}get daysInYear(){return this.isValid?Yn(this.year):NaN}get weeksInWeekYear(){return this.isValid?Xn(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Xn(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:n}=ws.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:n}}toUTC(t=0,e={}){return this.setZone(tn.instance(t),e)}toLocal(){return this.setZone(gn.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=nn(t,gn.defaultZone)).equals(this.zone))return this;if(t.isValid){let n=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[n]=Yr(i,e,t)}return $r(this,{ts:n,zone:t})}return fo.invalid(Hr(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return $r(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=ns(t,oo),{minDaysInFirstWeek:i,startOfWeek:n}=Rn(e,this.loc),s=!En(e.weekYear)||!En(e.weekNumber)||!En(e.weekday),r=!En(e.ordinal),o=!En(e.year),a=!En(e.month)||!En(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;s?l=Tn({...xn(this.c,i,n),...e},i,n):En(e.ordinal)?(l={...this.toObject(),...e},En(e.day)&&(l.day=Math.min(Jn(l.year,l.month),l.day))):l=An({...Nn(this.c),...e});const[h,d]=Yr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Jr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},n=br.normalizeUnit(t);switch(n){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===n)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===n){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?ws.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?ws.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?ws.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:n=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Qr(this,r,e,i,n,s),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Kr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:i=!0,includePrefix:n=!1,extendedZone:s=!1,format:r="extended"}={}){if(!this.isValid)return null;return(n?"T":"")+Qr(this,"extended"===r,e,t,i,s)}toRFC2822(){return Kr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Kr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Xr(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:i=!0}={}){let n="HH:mm:ss.SSS";return(e||t)&&(i&&(n+=" "),e?n+="z":t&&(n+="ZZ")),Kr(this,n,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const n={locale:this.locale,numberingSystem:this.numberingSystem,...i},s=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,s,n);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const n=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(e,i)<=n&&n<=s.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let n=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(n=t.unit,s=void 0),co(e,this.plus(i),{...t,numeric:"always",units:n,unit:s})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new si("min requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new si("max requires all arguments be DateTimes");return jn(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:n=null,numberingSystem:s=null}=i;return jr(Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,i={}){return fo.fromFormatExplain(t,e,i)}static buildFormatParser(t,e={}){const{locale:i=null,numberingSystem:n=null}=e,s=Xi.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});return new Pr(s,t)}static fromFormatParser(t,e,i={}){if(En(t)||En(e))throw new si("fromFormatParser requires an input string and a format parser");const{locale:n=null,numberingSystem:s=null}=i,r=Xi.fromOpts({locale:n,numberingSystem:s,defaultToEN:!0});if(!r.equals(e.locale))throw new si(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return xi}static get DATETIME_FULL(){return Ti}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Dn(t.valueOf()))return fo.fromJSDate(t);if(t&&"object"==typeof t)return fo.fromObject(t);throw new si(`Unknown datetime argument: ${t}, of type ${typeof t}`)}function po(){const t=["startOf","week","7106JLpKQX","minus","month","5748NWbdxc","668660yABtmv","fromJSDate","131437rpuqca","20mUnhbO","monthLong","403551AFoYby","day","5aVKuxR","toJSDate","local","195870ibSzkN","162968ppeEKN","hasSame","21ficvAP","year","weekdayLong","toRelativeCalendar","18aoKbTL","setLocale","20988bfqOVU"];return(po=function(){return t})()}function vo(t,e){const i=po();return(vo=function(t,e){return i[t-=161]})(t,e)}function go(t,e){const i=vo,n=fo[i(163)](t)[i(180)](e),s=fo[i(171)](),r=s[i(185)]({days:1})[i(182)](i(168));let o,a;return n[i(174)](s,i(168))?(o=n[i(182)](i(168))[i(170)](),a=n[i(178)]()):n[i(174)](r,i(168))?(o=r[i(170)](),a=n[i(178)]()):n[i(174)](s,i(183))?(o=n[i(182)](i(183))[i(170)](),a=n[i(177)]||""):n[i(174)](s,i(176))?(o=n[i(182)](i(186))[i(170)](),a=n[i(166)]||""):(o=n[i(182)](i(176))[i(170)](),a=String(n[i(176)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=vo,i=t();for(;;)try{if(131304===-parseInt(e(164))/1+parseInt(e(179))/2*(-parseInt(e(181))/3)+-parseInt(e(162))/4+-parseInt(e(169))/5*(-parseInt(e(172))/6)+parseInt(e(175))/7*(parseInt(e(173))/8)+-parseInt(e(167))/9*(-parseInt(e(165))/10)+parseInt(e(184))/11*(parseInt(e(161))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(po);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=Tt(),ko.insertStyleElement=Et();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=_o;function wo(){const t=["locale","125OGdVDD","div","9NsWOtQ","localizedPeriodName","3387336zMJHlM","removeRevision","createCollection","4028604emEVDU","35RXSFQk","remove","11554goMYlU","addRevision","_revisionActions","add","ck-revision-history-sidebar__time-period__label","_requireRevisionName","setTemplate","uiLanguage","delegate","revisionViews","startDate","ck-revision-history-sidebar__time-period","1833990EmNnDz","4696426CCOjlc","1044726VCOzbN","span","select","ck-revision-history-sidebar__time-period__revisions","19301230cUMrZw","find","setName"];return(wo=function(){return t})()}function _o(t,e){const i=wo();return(_o=function(t,e){return i[t-=252]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(654171===-parseInt(e(255))/1*(-parseInt(e(265))/2)+-parseInt(e(277))/3+parseInt(e(262))/4+-parseInt(e(263))/5*(-parseInt(e(279))/6)+parseInt(e(278))/7+-parseInt(e(259))/8+-parseInt(e(257))/9*(parseInt(e(283))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(wo);class Io extends It.View{[bo(275)];[bo(274)];[bo(267)];[bo(270)];constructor(t,e,i,n){const s=bo;super(t);const r=go(e,this[s(254)][s(272)])[s(258)];this[s(275)]=e,this[s(274)]=this[s(261)](),this[s(267)]=i,this[s(270)]=n,this[s(274)][s(273)](s(281)).to(this),this[s(274)][s(273)](s(253)).to(this),this[s(271)]({tag:s(256),attributes:{class:["ck",s(276)]},children:[{tag:s(280),attributes:{class:["ck",s(269)]},children:[{text:r}]},{tag:s(256),attributes:{class:["ck",s(282)]},children:this[s(274)]}]})}[bo(266)](t){const e=bo,i=new Ke(this[e(254)],t,this[e(267)],this[e(270)]);this[e(274)][e(268)](i)}[bo(260)](t){const e=bo,i=this[e(274)][e(252)](e=>e.id===t.id);this[e(274)][e(264)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=Tt(),Oo.insertStyleElement=Et();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function xo(t,e){const i=To();return(xo=function(t,e){return i[t-=148]})(t,e)}function To(){const t=["Revision history","6zYherD","ck-revision-history-sidebar__header__label","1516476CMeiGH","692132kHGHep","div","span","1033479KJIdeC","1mQvcVo","content","ck-reset_all","5798490HvaGyH","4rgaVVm","3751736rnzlTX","155250bpBuWe","517742yYGilo","setTemplate","ck-revision-history-sidebar__header"];return(To=function(){return t})()}!function(t){const e=xo,i=t();for(;;)try{if(310498===-parseInt(e(151))/1*(parseInt(e(158))/2)+parseInt(e(164))/3+parseInt(e(155))/4*(-parseInt(e(157))/5)+-parseInt(e(162))/6*(-parseInt(e(165))/7)+-parseInt(e(156))/8+-parseInt(e(150))/9+parseInt(e(154))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(To);class No extends It.View{constructor(t){const e=xo;super(t);const i=new It.IconView;i[e(152)]=_t.IconHistory,this[e(159)]({tag:e(148),attributes:{class:["ck",e(153),e(160)]},children:[i,{tag:e(149),attributes:{class:["ck",e(163)]},children:[at(t,e(161))]}]})}}var Ao=i(692),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=Tt(),Ro.insertStyleElement=Et();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;const Mo=Vo;function Vo(t,e){const i=Eo();return(Vo=function(t,e){return i[t-=471]})(t,e)}function Eo(){const t=["delegate","uiLanguage","find","highlightRevisions","7537882ZDyOUz","ck-reset","unhighlight","flat","map","render","selectRevision","isEnabled","createdAt","revisionSetName","revisionViews","4BXReUv","removeRevision","ck-disabled","_addRevision","2067860egKaxI","407952uObWYo","84XAqSWX","380544XJBHpt","fire","bindTemplate","_revisions","remove","12ZFdrmE","ck-rounded-corners","deselect","_revisionActions","add","createCollection","getTime","addRevision","ck-revision-history-sidebar__timeline","select","1619600ObFUZZ","2182515wIHvji","setTemplate","timePeriodViews","locale","_removeRevision","revisionSelected","get","setName","startDate","ck-revision-history-sidebar","_getTimePeriodViewByStartDate","div","_requireRevisionName","some","set","11372RbOodk","27iBMEoC","highlight"];return(Eo=function(){return t})()}!function(t){const e=Vo,i=t();for(;;)try{if(562133===-parseInt(e(487))/1*(parseInt(e(513))/2)+parseInt(e(498))/3+-parseInt(e(475))/4*(-parseInt(e(479))/5)+-parseInt(e(482))/6*(parseInt(e(481))/7)+parseInt(e(480))/8+-parseInt(e(514))/9*(parseInt(e(497))/10)+parseInt(e(520))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Eo);class Do extends It.View{[Mo(500)];[Mo(485)];[Mo(490)];[Mo(510)];constructor(t,e,i,n){const s=Mo;super(t);const r=this[s(484)];this[s(500)]=this[s(492)](),this[s(500)][s(516)](s(496)).to(this),this[s(500)][s(516)](s(505)).to(this),this[s(485)]=e,this[s(490)]=i,this[s(510)]=n,this.on(s(496),(t,e)=>{const i=s;this[i(483)](i(503),e)}),this.on(s(505),(t,e)=>{const i=s;this[i(483)](i(473),e)}),this[s(512)](s(471),!1),this[s(499)]({tag:s(509),attributes:{class:["ck",s(521),s(488),s(507)]},children:[new No(t),{tag:s(509),attributes:{class:["ck",s(495),r.if(s(471),s(477),t=>!t)]},children:this[s(500)]}]})}[Mo(525)](){const t=Mo;super[t(525)]();for(const e of this[t(485)])this[t(478)](e);this[t(485)].on(t(491),(e,i)=>{this[t(478)](i)}),this[t(485)].on(t(486),(e,i)=>{this[t(502)](i)})}get[Mo(474)](){const t=Mo;return this[t(500)][t(524)](e=>e[t(474)][t(524)](t=>t))[t(523)]()}[Mo(526)](t){const e=Mo;for(const i of this[e(474)])t&&t.id===i.id?i[e(496)]():i[e(489)]()}[Mo(519)](t){const e=Mo;for(const i of this[e(474)])t[e(511)](({id:t})=>t===i.id)?i[e(515)]():i[e(522)]()}[Mo(478)](t){const e=Mo,i=go(t[e(472)],this[e(501)][e(517)])[e(506)];let n=this[e(500)][e(504)](0);n&&n[e(506)][e(493)]()===i[e(493)]()||(n=new Io(this[e(501)],i,this[e(490)],this[e(510)]),this[e(500)][e(491)](n)),n[e(494)](t)}[Mo(502)](t){const e=Mo,i=go(t[e(472)],this[e(501)][e(517)])[e(506)];this[e(508)](i)[e(476)](t)}[Mo(508)](t){const e=Mo;return this[e(500)][e(518)](i=>i[e(506)][e(493)]()===t[e(493)]())}}const Co=Fo;function Fo(t,e){const i=Po();return(Fo=function(t,e){return i[t-=269]})(t,e)}function Po(){const t=["remove","_handleRevisionSetName","plugins","getEarlierVisibleRevision","get","revisionSetName","RevisionsSidebar","2CTOMCc","Compare against selected","diff","getRevision","selectRevision","2696RPoYcf","render","_sidebarView","_revisions","1757LQzKtb","highlightRevisions","config","map","pluginName","4473300Bvnrru","171579toiqiP","restoreRevision","fieldView","22254qNNkRe","name","availableRevisionActions","requires","timePeriodViews","revisionHistory.requireRevisionName","ready","_handleDiffChange","action","revisionViews","_handleEditorDataReady","Name this revision","setName","select","add","revisionHistory","_createRevisionActions","34996401eyMsHb","newRevisionId","change:diff","revisionSelected","element","appendChild","assign","data","listenTo","getIndex","defaultRevisionActions","revisionHistory.revisionActions","_revisionViewer","isSelected","restoreRevisionCallback","revisionHistory.viewerSidebarContainer","bind","nameRevision","isVisible","Restore this revision","isOfficialPlugin","isEnabled","length","compareAgainstSelected","string","getLaterVisibleRevision","isReady","862840EKVeTL","compare","isPremiumPlugin","destroy","1163553krKGbC","locale","15381CsmcKb","editor","getRevisionsInDiff","init","repository","_handleRevisionSelected","32kJUMpj","focus","_revisionsRepository"];return(Po=function(){return t})()}!function(t){const e=Fo,i=t();for(;;)try{if(585470===-parseInt(e(279))/1*(parseInt(e(297))/2)+-parseInt(e(312))/3*(parseInt(e(287))/4)+-parseInt(e(275))/5+parseInt(e(315))/6*(-parseInt(e(306))/7)+-parseInt(e(302))/8*(-parseInt(e(281))/9)+-parseInt(e(311))/10+parseInt(e(332))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class jo extends G.Plugin{[Co(344)];[Co(289)];[Co(304)];static[Co(342)]=[Co(271),Co(313),Co(349)];static[Co(317)]=function(){const t=Co;return{compareAgainstSelected:{name:t(298),action:({plugins:e},i)=>{const n=t,s=e[n(294)](ue),r=s[n(285)];let o=s[n(299)][n(333)],a=i.id;r[n(341)](o)>r[n(341)](a)&&([o,a]=[a,o]),s[n(276)](o,a)},isVisible:({plugins:e},i)=>{const n=t,s=e[n(294)](ue);return!(s[n(285)][n(283)](s[n(299)])[n(270)]>2||i[n(345)])}},restoreRevision:{name:t(351),action:(e,{id:i})=>{const n=t;e[n(308)][n(294)](n(330))[n(346)](i)},isVisible:({plugins:e},i)=>!!e[t(294)](ue)[t(285)][t(273)](i.id)},nameRevision:{name:t(326),action:({plugins:e},{id:i,revisionNameView:n})=>{const s=t,r=e[s(294)](ue),o=r[s(285)][s(293)](i);r[s(276)](i,o),n[s(288)](),n[s(314)][s(328)]()}}}}();static get[Co(310)](){return Co(296)}static get[Co(352)](){return!0}static get[Co(277)](){return!0}static get[Co(318)](){return[ue]}constructor(t){const e=Co;super(t),this[e(344)]=t[e(292)][e(294)](ue),this[e(289)]=this[e(344)][e(285)],this[e(304)]=null}[Co(284)](){const t=Co,e=this[t(289)][t(305)],i=this[t(331)](),n=this[t(282)][t(308)][t(294)](t(347));this[t(304)]=new Do(this[t(282)][t(280)],e,i,this[t(282)][t(308)][t(294)](t(320))),this[t(304)].on(t(335),this[t(286)][t(348)](this)),this[t(304)].on(t(295),this[t(291)][t(348)](this)),this[t(304)][t(348)](t(269)).to(this[t(344)]),this[t(304)][t(319)].on(t(329),(e,i)=>{const n=t;i[n(324)].on(n(329),(t,e)=>{const i=n;e[i(348)](i(269),i(274)).to(this[i(344)])})}),this[t(304)][t(303)](),this[t(340)](this[t(282)][t(339)],t(321),this[t(325)][t(348)](this)),this[t(340)](this[t(344)],t(334),this[t(322)][t(348)](this)),n[t(337)](this[t(304)][t(336)])}[Co(278)](){const t=Co;this[t(304)][t(336)][t(290)](),this[t(304)][t(278)]()}[Co(325)](){const t=Co,e=this[t(289)][t(300)](0);if(e){const i=this[t(289)][t(293)](e.id);this[t(344)][t(276)](e,i)}}[Co(286)](t,e){const i=Co,n=this[i(289)][i(300)](e.id),s=this[i(289)][i(293)](n.id);this[i(344)][i(276)](n,s)}[Co(291)](t,e){const i=Co;this[i(289)][i(300)](e.id)[i(327)](e[i(316)])}[Co(322)](t,e,i){const n=Co,s=this[n(289)][n(283)](i);s[n(270)]>2?(this[n(304)][n(307)](s),this[n(304)][n(301)](null)):(this[n(304)][n(307)]([]),this[n(304)][n(301)](s[0]))}[Co(331)](){const t=Co,e=this[t(282)],i=jo[t(317)],n=e[t(308)][t(294)](t(343))||jo[t(342)];if(n[t(270)])return n[t(309)](n=>{const s=t,r=s(272)==typeof n?Object[s(338)]({},i[n]):n;return r[s(323)]=r[s(323)][s(348)](this,e),r[s(350)]&&(r[s(350)]=r[s(350)][s(348)](this,e)),r})}}const Lo=Wo;function zo(){const t=["editor","init","fire","element","limiterElement","name","_view","addToolbar","setEditableElement","_initToolbar","restore","stickyPanel","editing","viewportOffset","bind","1672769fMiuSz","357016BbovJU","replace","focusTracker","document","_elementReplacer","_toolbarConfig","view","897171NlIMlZ","componentFactory","527322xurUjy","fillFromConfig","toolbar","config","isActive","detachDomRoot","attachDomRoot","get","630275fBMRrf","viewportTopOffset","isFocused","render","261904vkVIPJ","1DxLlSm","ready","rootName","destroy","getRoot","editable","5133328FIBvzz"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=236]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(178506===-parseInt(e(264))/1*(-parseInt(e(242))/2)+-parseInt(e(249))/3+-parseInt(e(263))/4+-parseInt(e(259))/5+parseInt(e(251))/6+-parseInt(e(241))/7+parseInt(e(270))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Ho extends It.EditorUI{[Lo(277)];[Lo(247)];[Lo(246)];get[Lo(248)](){return this[Lo(277)]}constructor(e,i){const n=Lo;super(e),this[n(277)]=i,this[n(247)]=(0,It.normalizeToolbarConfig)(e[n(254)][n(258)](n(253))),this[n(246)]=new t.ElementReplacer}get[Lo(274)](){const t=Lo;return this[t(248)][t(274)]}[Lo(272)](t){const e=Lo,i=this[e(271)],n=this[e(248)],s=i[e(238)][e(248)],r=n[e(269)],o=s[e(245)][e(268)]();r[e(276)]=o[e(266)],n[e(262)]();const a=r[e(274)];this[e(279)](r[e(276)],a),n[e(269)][e(240)](e(261)).to(this[e(244)]),s[e(257)](a),this[e(246)][e(243)](t,this[e(274)]),this[e(280)](),this[e(273)](e(265))}[Lo(267)](){const t=Lo;super[t(267)]();const e=this[t(248)],i=this[t(271)][t(238)][t(248)];this[t(246)][t(236)](),i[t(256)](e[t(269)][t(276)]),e[t(267)]()}[Lo(280)](){const t=Lo,e=this[t(248)];e[t(237)][t(240)](t(255)).to(this[t(244)],t(261)),e[t(237)][t(275)]=e[t(274)],e[t(237)][t(240)](t(260)).to(this,t(239),({top:t})=>t),e[t(253)][t(252)](this[t(247)],this[t(250)]),this[t(278)](e[t(253)])}}var Uo=i(324),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=At().bind(null,"head"),Zo.domAPI=Tt(),Zo.insertStyleElement=Et();Ot()(Uo.A,Zo);Uo.A&&Uo.A.locals&&Uo.A.locals;var $o=qo;function qo(t,e){var i=Bo();return(qo=function(t,e){return i[t-=428]})(t,e)}function Bo(){var t=["89341ThfreZ","shouldToolbarGroupWhenFull","10XbSNZe","1460760UAFZFo","3555725lpPxcA","toolbar","content","editable","90243KKBFag","4mAXEaD","224ywnrva","main","9793333ndpJAk","stickyPanel","add","render","_editable","top","284291REJpER","758508fyACbu","234MGgNAy"];return(Bo=function(){return t})()}!function(t){for(var e=qo,i=t();;)try{if(429800===parseInt(e(439))/1+-parseInt(e(440))/2+parseInt(e(445))/3+-parseInt(e(430))/4*(-parseInt(e(446))/5)+-parseInt(e(441))/6*(-parseInt(e(442))/7)+-parseInt(e(431))/8*(parseInt(e(429))/9)+-parseInt(e(444))/10*(parseInt(e(433))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Bo);class Yo extends It.BoxedEditorUIView{[$o(437)];[$o(434)];[$o(447)];get[$o(428)](){return this[$o(437)]}constructor(t,e,i={}){var n=$o;super(t),this[n(434)]=new It.StickyPanelView(t),this[n(447)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[n(443)]}),this[n(437)]=new It.InlineEditableUIView(t,e)}[$o(436)](){var t=$o;super[t(436)](),this[t(434)][t(448)][t(435)](this[t(447)]),this[t(438)][t(435)](this[t(434)]),this[t(432)][t(435)](this[t(428)])}}const Jo=Go;function Go(t,e){const i=Ko();return(Go=function(t,e){return i[t-=331]})(t,e)}function Ko(){const t=["initPlugins","model","1463800dPEWBL","3420690lIqbki","624PKYKxg","ready","840605jOuPDw","updateSourceElement","createRoot","init","889896gxWyjf","6352912cBKlFe","17140xcoOvN","get","config","data","fire","2FTNydP","_ui","editing","5990004vzAqYB","initialData","locale","18bYvHeP","document","destroy","create","sourceElement","view"];return(Ko=function(){return t})()}!function(t){const e=Go,i=t();for(;;)try{if(501531===parseInt(e(337))/1+parseInt(e(348))/2*(-parseInt(e(341))/3)+-parseInt(e(335))/4*(-parseInt(e(343))/5)+parseInt(e(351))/6+-parseInt(e(334))/7+-parseInt(e(342))/8+parseInt(e(354))/9*(-parseInt(e(333))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ko);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(349)];get ui(){return this[Jo(349)]}constructor(t,e){const i=Jo;super(e),this[i(358)]=t,this[i(332)][i(355)][i(339)]();const n=new Yo(this[i(353)],this[i(350)][i(359)],{shouldToolbarGroupWhenFull:!0});this[i(349)]=new Ho(this,n)}[Jo(356)](){const t=Jo;return this[t(338)](),this.ui[t(356)](),super[t(356)]()}static async[Jo(357)](t,e){const i=Jo,n=new this(t,e);return await n[i(331)](),await n.ui[i(340)](t),await n[i(346)][i(340)](n[i(345)][i(344)](i(352))||""),n[i(347)](i(336)),n}}const Qo=na;function ta(){const t=["selection","long","removeSelectionAttribute","RestrictedEditingMode","toJSON","view","create","revision-history-missing-configuration","_cleanUp","revisionHistory.closeRevisionViewerCallback","disableReadOnlyMode","_viewerEditor","Autosave","AIQuickActions","getRoot"," ck-tab-panel_disabled","538929ikCYGt",".ck-ai-chat__prompt-input .ck-textarea","Dialog","_showRevisionViewer","revisionHistory.showRevisionViewerCallback","AIChat","closeRevisionViewerCallback","saveRevision","display","showRevisionViewerCallback","change","revisionHistory.requireRevisionName","commands","name","end","addRoot","isAttached","has","setAttribute","none","isOpen","panelViews","_getRevisionViewerEditorConfig","AIBalloon","Users","48vxhxZl","plugins","setSelection","getRevisionRootsAttributes","ck-tab-panel_disabled","enableReadOnlyMode","revisionHistory.viewerEditorElement","translations","block","exitToEditing","getAttributeKeys","then","getRevisionDocumentData","createdAt","markers","$graveyard","AITabs","join","hide","result","removeAttribute","restrictedEditingException","_closeRevisionViewer","querySelector","creator","includes","addUser","class","_restoreRevision","init","getRevisions","isEnabled","5GFhwvR","RevisionHistoryUtils","define","users","addRevisionData","editor","repository","uiLanguage","roots","tabindex","config","revision-history-viewer-opened","replace","isReady","locale","RevisionHistory","fromVersion","detachRoot","changesNavigation","destroy","RevisionHistoryUI","AIChatHistory","element","toolbar","error","7CmtxTm","style","requires","update","toLocaleTimeString","222348FIHTJu","2403159xYMDFk",".ck-ai-chat-history .ck-input","RevisionTracker","numeric","refreshVisibility","Annotations","pluginName","_update","_enhanceShowRevisionViewerCallback","toLocaleDateString","getUser","RevisionViewerIntegration","21WSjqLK","1394412rYqHDe","58679NpXlll","insert","document","revisionHistory.viewerContainer","isRevisionViewerOpen","loadRevisionData","revisionHistory.editorContainer","remove","56FYrjqz","map","DocumentOutlineUI","isOfficialPlugin","Restored","isReadOnly","enqueueChange","3339620sbxHUn","getRevision","AIReviewMode","rootName","toVersion","save","data","isPremiumPlugin","indexOf","restoreRevision","push","refreshPositioning","model","PaginationLookup","AIActions","set","parse","adapter","keys","getMarkersGroup","createRangeIn","from","_enhanceCloseRevisionViewerCallback","revisionHistory","lazyRoots","840416EYzWdz","removeMarker","RevisionViewer","fromCharCode","DocumentOutline","isAnonymous","catch","RevisionsRepository","_recalculatePageBreaks","bind","get","revisionHistory.restoreRevisionCallback"];return(ta=function(){return t})()}!function(t){const e=na,i=t();for(;;)try{if(515138===parseInt(e(319))/1+parseInt(e(304))/2*(parseInt(e(317))/3)+parseInt(e(189))/4*(-parseInt(e(274))/5)+-parseInt(e(318))/6*(parseInt(e(299))/7)+parseInt(e(327))/8*(-parseInt(e(217))/9)+-parseInt(e(334))/10+-parseInt(e(305))/11*(-parseInt(e(242))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ta);const ea=[Qo(294),Qo(204),Qo(222),Qo(336),Qo(240),Qo(214),Qo(348)];class ia extends G.Plugin{[Qo(261)];static get[Qo(311)](){return Qo(316)}static get[Qo(330)](){return!0}static get[Qo(341)](){return!0}constructor(t){const e=Qo;function i(t){const e=na;return t[e(328)](t=>String[e(192)](t))[e(259)]("")}super(t),this[e(261)]=e(231),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])})}}function na(t,e){const i=ta();return(na=function(t,e){return i[t-=185]})(t,e)}class sa extends G.Plugin{[Qo(212)];static get[Qo(311)](){return Qo(289)}static get[Qo(330)](){return!0}static get[Qo(341)](){return!0}static get[Qo(301)](){return[pt,$t]}constructor(e){const i=Qo;if(super(e),!this[i(279)][i(284)][i(199)](i(187)))throw new t.CKEditorError(i(208),this);this[i(212)]=null,this[i(349)](i(323),!1),this[i(279)][i(284)][i(276)](i(221),t=>this[i(220)]({...t,translations:this[i(279)][i(288)][i(249)]})),this[i(279)][i(284)][i(276)](i(210),t=>this[i(264)](t)),this[i(279)][i(284)][i(276)](i(200),t=>this[i(270)](t)),this[i(279)][i(284)][i(276)](i(228),!1),this[i(313)](),this[i(186)]()}set[Qo(351)](t){const e=Qo;this[e(279)][e(243)][e(199)](e(307))[e(351)]=t}get[Qo(351)](){const t=Qo;return this[t(279)][t(243)][t(199)](t(307))[t(351)]}[Qo(278)](t){const e=Qo;return this[e(279)][e(243)][e(199)](e(307))[e(278)](t)}[Qo(335)](t){const e=Qo;return this[e(279)][e(243)][e(199)](e(196))[e(335)](t)}[Qo(272)](t){const e=Qo;return this[e(279)][e(243)][e(199)](e(196))[e(272)](t||{toJSON:!1})}[Qo(239)](){const e=Qo,i=this[e(279)],n=(0,K.sanitizeEditorConfig)(i,ea),s=i[e(243)][e(199)](e(307)),r=i[e(243)][e(199)](e(241))[e(277)];return n[e(297)]=[e(251),e(343),e(292)],delete n[e(188)],n[e(243)][e(344)](ia,ue,Te,class extends G.Plugin{static get[e(301)](){return[ue,e(241)]}[e(271)](){const n=e,o=this[n(279)][n(243)][n(199)](n(241));for(const t of r)t[n(194)]||o[n(315)](t.id)||o[n(268)](t);const a=s[n(280)][n(272)]();let c=null;const u=this[n(279)][n(243)][n(199)](n(191));u[n(351)]=s[n(351)],u[n(198)](n(273)).to(s),this[n(279)][n(229)][n(199)](n(343))[n(198)](n(273)).to(i,n(332),t=>!t);for(const e of a){const i=null===e[n(266)];if(i&&e[n(338)]===e[n(290)])continue;const r=e[n(205)]();u[n(278)](r,(r,o,a)=>{const u=n;if(i){if(c)c[u(312)](r,o);else if(!o){const e=a[u(205)]();e.id=(0,t.uid)(),s[u(224)](e,a[u(338)])[u(253)](t=>{c=t})}}else e[u(312)](r,o)})}}},jo),n}[Qo(313)](){const t=Qo,e=this[t(279)][t(284)][t(199)](t(187))[t(226)];this[t(279)][t(284)][t(349)](t(221),async()=>{const i=t;this[i(279)][i(247)](i(285));const n=this[i(279)][i(243)][i(199)](i(307));if(this[i(279)][i(243)][i(234)](i(213))){const t=this[i(279)][i(243)][i(199)](i(213));await t[i(339)]()}else await n[i(302)]();if(this[i(279)][i(243)][i(234)](i(347))&&this[i(279)][i(243)][i(199)](i(347))[i(197)](),this[i(279)][i(243)][i(234)](i(219))){const t=this[i(279)][i(243)][i(199)](i(219));t[i(237)]&&t[i(260)]()}if(this[i(279)][i(243)][i(234)](i(258))){const t=this[i(279)][i(243)][i(199)](i(258))[i(206)][i(238)];for(const e of t)e[i(269)]=e[i(269)]?e[i(269)]+i(216):i(246);if(this[i(279)][i(243)][i(234)](i(222))){const t=document[i(265)](i(218));t&&t[i(235)](i(283),"-1")}if(this[i(279)][i(243)][i(234)](i(295))){const t=document[i(265)](i(306));t&&t[i(235)](i(283),"-1")}}const s=this[i(239)]();return e(s)[i(253)](t=>{const e=i;return this[e(212)]=t,this[e(279)][e(243)][e(234)](e(310))&&this[e(279)][e(243)][e(199)](e(310))[e(309)](),this[e(279)][e(243)][e(234)](e(193))&&(this[e(279)][e(243)][e(199)](e(329))[e(206)][e(296)][e(300)][e(225)]=e(236)),t})[i(195)](t=>(console[i(298)](t),this[i(279)][i(211)](i(285)),null))})}[Qo(186)](){const t=Qo,e=this[t(279)][t(284)][t(199)](t(187))[t(223)];this[t(279)][t(284)][t(349)](t(210),()=>{const i=t;if(this[i(279)][i(243)][i(234)](i(347))&&this[i(279)][i(243)][i(199)](i(347))[i(197)](),this[i(279)][i(243)][i(234)](i(193))&&(this[i(279)][i(243)][i(199)](i(329))[i(206)][i(296)][i(300)][i(225)]=""),this[i(279)][i(243)][i(234)](i(258))){const t=this[i(279)][i(243)][i(199)](i(258))[i(206)][i(238)];for(const e of t)e[i(269)]=i(246)===e[i(269)]?"":e[i(269)][i(286)](i(216),"");if(this[i(279)][i(243)][i(234)](i(222))){const t=document[i(265)](i(218));t&&t[i(262)](i(283))}if(this[i(279)][i(243)][i(234)](i(295))){const t=document[i(265)](i(306));t&&t[i(262)](i(283))}}return this[i(212)][i(243)][i(199)](i(191))[i(209)](),e(this[i(212)])[i(253)](()=>{const t=i;if(this[t(279)][t(211)](t(285)),this[t(212)]=null,this[t(279)][t(243)][t(234)](t(310))){const e=this[t(279)][t(243)][t(199)](t(310));e[t(309)](),e[t(345)]()}})})}[Qo(220)](t){const e=Qo,i=this[e(279)][e(284)][e(199)](e(325)),n=this[e(279)][e(284)][e(199)](e(322)),s=this[e(279)][e(284)][e(199)](e(248));return Xo[e(207)](s,t)[e(253)](t=>(n[e(300)][e(225)]=e(250),i[e(300)][e(225)]=e(236),this[e(323)]=!0,t))}[Qo(264)](t){const e=Qo,i=this[e(279)][e(284)][e(199)](e(325));return this[e(279)][e(284)][e(199)](e(322))[e(300)][e(225)]=e(236),i[e(300)][e(225)]="",this[e(323)]=!1,t[e(293)]()}async[Qo(270)](t){const e=Qo,i=this[e(279)],n=this[e(212)][e(243)][e(199)](e(191)),s=i[e(243)][e(199)](e(307)),r=i[e(243)][e(199)](e(275)),o=n[e(280)][e(335)](t);let a,c,u;try{await r[e(324)](o,this[e(351)]),a=r[e(254)](o),c=r[e(245)](o)}catch(t){return void console[e(298)](t)}i[e(346)][e(227)](t=>{const n=e;for(const e of Array[n(185)](i[n(346)][n(256)][n(353)](n(263))))t[n(190)](e)}),n[e(287)]=!1,i[e(346)][e(333)](t=>{const n=e;t[n(244)](null),t[n(203)](i[n(346)][n(321)][n(201)][n(252)]());const s=Object[n(352)](a);for(const e of i[n(346)][n(321)][n(282)])n(257)!=e[n(337)]&&e[n(233)]()&&!s[n(267)](e[n(337)])&&t[n(291)](e);for(const e of s){let s=i[n(346)][n(321)][n(215)](e);s&&s[n(233)]()||(s=t[n(232)](e));const r=c[e],o=Object[n(352)](r),u=a[e];for(const e of s[n(252)]())o[n(267)](e)||t[n(262)](e,s);for(const i of o)t[n(235)](i,c[e][i],s);t[n(326)](t[n(354)](s)),t[n(320)](i[n(340)][n(350)](u,s),s,0)}});const l=at(i[e(288)],e(331));return u=o[e(230)]?-1==o[e(230)][e(342)](l)?l+": "+o[e(230)]:o[e(230)]:l+": "+o[e(255)][e(314)](i[e(288)][e(281)],{month:e(202),day:e(308)})+", "+o[e(255)][e(303)](i[e(288)][e(281)],{hour:e(308),minute:e(308)}),await s[e(224)]({name:u}),n[e(287)]=!0,i[e(284)][e(199)](e(187))[e(223)]()}}function ra(){var t=["1875247GdUkNc","70IAgYPd","12QeetAQ","159321xRpUni","8495XGmnoj","2740256zalAGs","556839bXPQDt","30Mioqvy","2499805KGpvAe","256DKVtGy","2crYZBe","5059629dwqbII"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=307]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(994553===-parseInt(e(310))/1+-parseInt(e(317))/2*(parseInt(e(318))/3)+parseInt(e(316))/4*(parseInt(e(311))/5)+-parseInt(e(314))/6*(-parseInt(e(315))/7)+parseInt(e(312))/8+parseInt(e(313))/9*(parseInt(e(308))/10)+-parseInt(e(307))/11*(-parseInt(e(309))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=n})();