@ckeditor/ckeditor5-revision-history 47.4.0 → 47.5.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (180) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +7 -7
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +13 -13
  150. package/src/changeitem.js +2 -2
  151. package/src/editor/revisionviewereditor.js +2 -2
  152. package/src/editor/revisionviewereditorui.js +1 -1
  153. package/src/editor/revisionviewereditoruiview.js +1 -1
  154. package/src/index.js +1 -1
  155. package/src/revision.js +2 -2
  156. package/src/revisiondiff.js +1 -1
  157. package/src/revisionhistory.js +1 -1
  158. package/src/revisionhistoryutils.js +1 -1
  159. package/src/revisionsrepository.js +1 -1
  160. package/src/revisiontracker.js +1 -1
  161. package/src/revisionviewer.js +1 -1
  162. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  163. package/src/ui/revision/revisionauthorview.js +1 -1
  164. package/src/ui/revision/revisionnameview.js +1 -1
  165. package/src/ui/revision/revisionview.js +2 -2
  166. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  167. package/src/ui/revision/subrevisionview.js +1 -1
  168. package/src/ui/revision/utils.js +1 -1
  169. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +2 -2
  170. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  171. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  172. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  173. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  174. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  175. package/src/ui/revisionssidebar/utils.js +1 -1
  176. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  177. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  178. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  179. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  180. package/src/utils/common-translations.js +1 -1
@@ -2,4 +2,4 @@
2
2
  /*!
3
3
  * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
4
4
  * For licensing, see LICENSE.md.
5
- */(()=>{var t={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{border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},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:()=>le,Revision:()=>B,RevisionHistory:()=>na,RevisionHistoryUI:()=>$t,RevisionHistoryUtils:()=>ot,RevisionTracker:()=>pt,RevisionViewer:()=>ce,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>ia,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ne,RevisionsRepository:()=>it,RevisionsSidebar:()=>Lo,ShowChangeCommand:()=>he});var t=i(584);function e(t){return Object.getOwnPropertySymbols(t).filter(e=>Object.prototype.propertyIsEnumerable.call(t,e))}function n(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const r="[object RegExp]",o="[object String]",a="[object Number]",c="[object Boolean]",u="[object Arguments]",l="[object Symbol]",h="[object Date]",d="[object Map]",f="[object Set]",m="[object Array]",p="[object ArrayBuffer]",v="[object Object]",g="[object DataView]",y="[object Uint8Array]",k="[object Uint8ClampedArray]",b="[object Uint16Array]",w="[object Uint32Array]",_="[object Int8Array]",I="[object Int16Array]",S="[object Int32Array]",O="[object Float32Array]",T="[object Float64Array]";function x(t,e,i,s=new Map,A=void 0){const R=A?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return Object.hasOwn(t,"index")&&(e.index=t.index),Object.hasOwn(t,"input")&&(e.input=t.input),e}if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){const e=new RegExp(t.source,t.flags);return e.lastIndex=t.lastIndex,e}if(t instanceof Map){const e=new Map;s.set(t,e);for(const[n,r]of t)e.set(n,x(r,n,i,s,A));return e}if(t instanceof Set){const e=new Set;s.set(t,e);for(const n of t)e.add(x(n,void 0,i,s,A));return e}if("undefined"!=typeof Buffer&&Buffer.isBuffer(t))return t.subarray();if(function(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}(t)){const e=new(Object.getPrototypeOf(t).constructor)(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,A);return e}if(t instanceof ArrayBuffer||"undefined"!=typeof SharedArrayBuffer&&t instanceof SharedArrayBuffer)return t.slice(0);if(t instanceof DataView){const e=new DataView(t.buffer.slice(0),t.byteOffset,t.byteLength);return s.set(t,e),N(e,t,i,s,A),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),N(e,t,i,s,A),e}if(t instanceof Error){const e=new t.constructor;return s.set(t,e),e.message=t.message,e.name=t.name,e.stack=t.stack,e.cause=t.cause,N(e,t,i,s,A),e}if("object"==typeof t&&function(t){switch(n(t)){case u:case m:case p:case g:case c:case h:case O:case T:case _:case I:case S:case d:case a:case v:case r:case f:case o:case l:case y:case k:case b:case w:return!0;default:return!1}}(t)){const e=Object.create(Object.getPrototypeOf(t));return s.set(t,e),N(e,t,i,s,A),e}return t}function N(t,i,s=t,n,r){const o=[...Object.keys(i),...e(i)];for(let e=0;e<o.length;e++){const a=o[e],c=Object.getOwnPropertyDescriptor(t,a);(null==c||c.writable)&&(t[a]=x(i[a],a,s,n,r))}}function A(t,e){return function(t,e){return x(t,void 0,t,new Map,e)}(t,(i,s,n,r)=>{const l=e?.(i,s,n,r);if(null!=l)return l;if("object"==typeof t)switch(Object.prototype.toString.call(t)){case a:case o:case c:{const e=new t.constructor(t?.valueOf());return N(e,t),e}case u:{const e={};return N(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return A(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function z(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function W(t){const e=[],i=t.length;if(0===i)return e;let 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=L(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])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function Z(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function H(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const 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 $(t,e){const i=H(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const q=J;!function(t){const e=J,i=t();for(;;)try{if(741683===parseInt(e(219))/1+parseInt(e(224))/2+parseInt(e(220))/3+-parseInt(e(223))/4+-parseInt(e(217))/5*(parseInt(e(236))/6)+parseInt(e(230))/7+-parseInt(e(233))/8*(parseInt(e(226))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Y);class B extends((0,t.ObservableMixin)()){id;[q(225)];[q(218)];[q(227)];[q(228)];[q(232)];[q(239)];constructor(e){const i=q;super(),this.id=e.id||(0,t.uid)(),this[i(225)]=e[i(225)]||null,this[i(218)]=e[i(218)]||[],this[i(227)]=e[i(227)]||null,this[i(228)]=e[i(228)]||0,this[i(232)]=e[i(232)]||0,this[i(229)](i(231),e[i(231)]||""),this[i(229)](i(216),e[i(216)]||new Date),this[i(229)](i(234),e[i(234)]||{})}[q(237)](t){this[q(213)]({name:t})}[q(235)](t,e){const i=q,s=R(this[i(234)]);U(s,t,e),this[i(213)]({attributes:s})}[q(214)](t){const e=q,i=R(this[e(234)]);(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=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 $(t,W(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(213)]({attributes:i})}[q(213)](t,e=!1){const i=q;let s=!1;const n={id:this.id},r=[i(231),i(216),i(227),i(218),i(234),i(228),i(232),i(238)];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(218)]&&(n[i(221)]=n[i(218)][i(215)](t=>t.id),delete n[i(218)]),this[i(240)](i(213),n,e))}[q(222)](){const t=q;return{id:this.id,name:this[t(231)],creatorId:this[t(225)]?this[t(225)].id:null,authorsIds:this[t(218)][t(215)](t=>t.id),diffData:this[t(227)],createdAt:this[t(216)],attributes:this[t(234)],fromVersion:this[t(232)],toVersion:this[t(228)]}}}function J(t,e){const i=Y();return(J=function(t,e){return i[t-=213]})(t,e)}function Y(){const t=["3060240FwtQuU","authorsIds","toJSON","3395480mblmnC","439642roVwqZ","creator","9CppsMa","diffData","toVersion","set","10060470ZgBUlV","name","fromVersion","9874448FUpyMu","attributes","setAttribute","24DIvjKD","setName","creatorId","model","fire","_update","removeAttribute","map","createdAt","1574065BtbVQe","authors","1407000lbcHyM"];return(Y=function(){return t})()}var G=i(782),Q=i(211),X=i(783);const K=et;function tt(){const t=["655160NGVFJe","createRevision","get","fromCharCode","isNaN","5986670wcabNp","_revisions","getRevision","fromVersion","add","editor","addRevision","toJSON","newRevisionId","12vwvYLo","37040uhKaFQ","pluginName","oldRevisionId","diffData","12smTePK","1939vhNXhq","earlier","join","910017nldBvm","getUser","attributes","authorsIds","getEarlierVisibleRevision","isOfficialPlugin","from","getRevisionsInDiff","839820SmDVAG","createdAt","push","getLaterVisibleRevision","data","creatorId","705915yIVlGb","getRevisions","afterInit","getIndex","reverse","requires","Users","name","href","toVersion","plugins","RevisionsRepository","12648UOBQLk","isPremiumPlugin","map","getRevisionsIterator","length","later"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=152]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(792283===parseInt(e(176))/1*(-parseInt(e(175))/2)+parseInt(e(184))/3+parseInt(e(192))/4+parseInt(e(161))/5*(parseInt(e(180))/6)+-parseInt(e(181))/7*(parseInt(e(155))/8)+parseInt(e(198))/9+parseInt(e(166))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[K(167)];static get[K(203)](){return[Q.Users]}static get[K(177)](){return K(154)}static get[K(189)](){return!0}static get[K(156)](){return!0}get[K(159)](){const t=K;return this[t(167)][t(159)]}constructor(e){const i=K;super(e),this[i(167)]=new t.Collection}[K(200)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[y([121])]:y([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=et;return t[e(157)](t=>String[e(164)](t))[e(183)]("")}!function(t){const i=u();r[i]=y([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||p(y([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1768348800;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=et,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(206)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=et;for(const e in window)if(window[y([78,117,109,98,101,114])][i(165)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[K(162)](t){const e=K,i=this[e(171)][e(153)][e(163)](e(204));return new B({id:t.id,name:t[e(205)],creator:t[e(197)]?i[e(185)](t[e(197)]):null,diffData:t[e(179)]||t[e(196)],authors:t[e(187)][e(157)](t=>i[e(185)](t)),createdAt:new Date(t[e(193)]),attributes:t[e(186)],fromVersion:t[e(169)],toVersion:t[e(152)]})}[K(172)](t,e=0){const i=K;this[i(167)][i(170)](t,e)}[K(168)](t){const e=K;return this[e(167)][e(163)](t)}[K(199)](t={toJSON:!1}){const e=K,i=Array[e(190)](this[e(167)]);return i[e(202)](),t[e(173)]?i[e(157)](t=>t[e(173)]()):i}[K(201)](t){const e=K;return this[e(167)][e(201)](t)}[K(188)](t){const e=K,[,i]=this[e(158)](t,{direction:e(182)});return i}[K(195)](t){const e=K,[,i]=this[e(158)](t,{direction:e(160)});return i}[K(191)](t){const e=K,i=[];for(const s of this[e(158)](t[e(174)]))if(i[e(194)](s),s.id===t[e(178)])break;return i}*[K(158)](t,{direction:e=K(182),filter:i=()=>!0}={}){const s=K,n=s(182)===e?1:-1;let r=this[s(167)][s(163)](t),o=this[s(201)](r);for(yield r;r;){if(o+=n,r=this[s(168)](o),!r)return;i(r)&&(yield r)}}}function st(t,e){const i=rt();return(st=function(t,e){return i[t-=435]})(t,e)}const nt=st;function rt(){const t=["fillerOffset","pluginName","createElement","_viewClassToTypeChar","default","attributes","view","insertions","string","map","constructor","diffData","revision-end","filter","get","_getViewFromDiffObj","_removeRevisionMarkers","startsWith","viewChildrenToDom","forEach","render","459819GLJMYm","_appendChild","18428030UJbDjb","customProperties","122376YGWiFX","getRevision","toData","children","div","editing","innerHTML","domDocument","loadRevisionData","domChildrenToView","_setCustomProperty","collaboration.channelId","RevisionHistoryUtils","htmlProcessor","editor","length","getRevisionDocumentData","_getTypeCharForViewElement","from","4TwDfWd","data","_typeCharToViewClass","revision-start","marked","config","60403CQbBdc","isAttached","data-revision-","isPremiumPlugin","5294350kSNwOr","getFillerOffset","childNodes","toModel","784JQpHWF","attachChange","_makeModelFromViewString","4303917WVxQYx","document","domConverter","6275StXlqL","isOfficialPlugin","processor","getRevisionRootsAttributes","parse","useFillerType","append","type","56LDQPwb","name","attributesAfter"];return(rt=function(){return t})()}!function(t){const e=st,i=t();for(;;)try{if(725081===parseInt(e(463))/1*(parseInt(e(471))/2)+-parseInt(e(495))/3*(-parseInt(e(443))/4)+-parseInt(e(453))/5+-parseInt(e(499))/6+parseInt(e(449))/7*(-parseInt(e(457))/8)+parseInt(e(460))/9+parseInt(e(497))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(rt);class ot extends G.Plugin{static get[nt(475)](){return nt(436)}static get[nt(464)](){return!0}static get[nt(452)](){return!0}[nt(477)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[nt(445)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[nt(507)](t,e){const i=nt;if(t[i(485)]||!e)return;const s=this[i(438)][i(448)][i(488)](i(435)),n=await e[i(500)]({channelId:s,revisionId:t.id});t[i(485)]=n[i(485)]}[nt(440)](t){const e=nt,i={};for(const s in t[e(485)]){if(t[e(485)][s][e(458)]&&!t[e(485)][s][e(458)][e(450)])continue;const n=this[e(490)](JSON[e(467)](t[e(485)][s][e(481)])),r=this[e(438)][e(504)][e(480)][e(461)],o=new X.ViewDocumentFragment(r,n[e(483)](t=>this[e(489)](t,!1)));this[e(438)][e(444)][e(465)][e(468)](e(447)),i[s]=this[e(438)][e(444)][e(465)][e(501)](o),this[e(438)][e(444)][e(465)][e(468)](e(478))}return i}[nt(466)](t){const e=nt,i={};for(const s in t[e(485)])t[e(485)][s][e(458)]&&!t[e(485)][s][e(458)][e(450)]||(i[s]=t[e(485)][s][e(473)]||{});return i}[nt(441)](t){const e=nt;return this[e(477)][e(488)](t[e(484)])}[nt(489)](t,e){const i=nt,s=this[i(438)][i(504)][i(480)][i(461)];if(i(482)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(470)]||"r"==t[i(470)]?[]:t[i(502)][i(483)](t=>this[i(489)](t,e));const o=this[i(445)][i(488)](t[i(470)])||X.ViewElement,a=this[i(438)][i(444)][i(437)][i(462)];if(n=new o(s,t[i(472)],t[i(479)],r),"u"==t[i(470)]&&t[i(502)][0]){const r=t[i(502)][0];if(n[i(494)]=function(t){const e=i,s=t[e(476)](e(503));return s[e(505)]=r,s[e(455)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(496)](n);const e=Array[i(442)](a[i(492)](t,{bind:!1})),r=a[i(506)][i(476)](i(503));r[i(469)](...e),n=Array[i(442)](a[i(508)](r))[0]}}else if("r"==t[i(470)]&&t[i(502)][0]){const r=t[i(502)][0];if(n[i(494)]=function(t){t[i(505)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(496)](n);const e=Array[i(442)](a[i(492)](t,{bind:!1})),r=a[i(506)][i(476)](i(503));r[i(469)](...e);const o=Array[i(442)](a[i(508)](r));o[i(439)]>1?n[i(496)](o):n=o[0]}}if(t[i(498)])for(const[e,s]of t[i(498)])n[i(509)](e,s);const c=void 0===t[i(474)]?null:t[i(474)];return null!==c&&(n[i(454)]=()=>c),n}}[nt(459)](t){const e=nt,i=JSON[e(467)](t),s=this[e(438)][e(504)][e(480)][e(461)],n=new X.ViewDocumentFragment(s,i[e(483)](t=>this[e(489)](t,!0)));return this[e(438)][e(444)][e(456)](n)}[nt(490)](t){const e=nt;return(t=t[e(487)](t=>!t[e(472)]||e(446)!==t[e(472)]&&e(486)!==t[e(472)]))[e(493)](t=>{const i=e;i(482)!=typeof t&&(t[i(502)]=this[i(490)](t[i(502)]),t[i(479)]=t[i(479)][i(487)](t=>!t[0][i(491)](i(451))))}),t}}function at(t,e,i){const s=t.t;switch(e){case"Revision history":return s("Revision history");case"Open revision history":return s("Open revision history");case"Restored":return s("Restored");case"Empty document":return s("Empty document");case"Initial revision":return s("Initial revision");case"Suggested by":return s("Suggested by");case"Added by":return s("Added by");case"Removed by":return s("Removed by");case"Show more items":return s("Show more items");case"Compare against selected":return s("Compare against selected");case"Name this revision":return s("Name this revision");case"Restore this revision":return s("Restore this revision");case"Back to editing":return s("Back to editing");case"Loading...":return s("Loading...");case"No changes":return s("No changes");case"NUMBER_OF_CHANGES":return s({string:"%0 change",plural:"%0 changes",id:"NUMBER_OF_CHANGES"},i);case"X_OF_Y_CHANGES":return s({string:"%0 of %1",id:"X_OF_Y_CHANGES"},i);case"Show previous change":return s("Show previous change");case"Show next change":return s("Show next change");case"EDIT_X_OF_Y_REVISIONS":return s({string:"Edit",id:"EDIT_X_OF_Y_REVISIONS"});case"Total":return s("Total");case"Revision creator":return s("Revision creator");case"Revision author":return s("Revision author");case"Revision name":return s("Revision name");case"Save current revision":return s("Save current revision");case"Accept":return s("Accept");case"Save":return s("Save");case"Cancel":return s("Cancel");case"Name of the revision":return s("Name of the revision");case"optional":return s("optional");case"PENDING_ACTION_REVISION_HISTORY":return s({string:"Unsaved change in revision history.",id:"PENDING_ACTION_REVISION_HISTORY"});case"The revision name cannot be empty.":return s("The revision name cannot be empty.");case"Enter the revision name":return s("Enter the revision name");default:return""}}function ct(t){if(!t||"object"!=typeof t)return!1;const e=Object.getPrototypeOf(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e))&&"[object Object]"===Object.prototype.toString.call(t)}function ut(t,e,i,s,n,r,o){const a=o(t,e,i,s,n,r);if(void 0!==a)return a;if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":case"function":return t===e;case"number":return t===e||Object.is(t,e);case"object":return lt(t,e,r,o)}return lt(t,e,r,o)}function lt(t,i,s,x){if(Object.is(t,i))return!0;let N=n(t),A=n(i);if(N===u&&(N=v),A===u&&(A=v),N!==A)return!1;switch(N){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(N){case d:if(t.size!==i.size)return!1;for(const[e,n]of t.entries())if(!i.has(e)||!ut(n,i.get(e),e,t,i,s,x))return!1;return!0;case f:{if(t.size!==i.size)return!1;const e=Array.from(t.values()),n=Array.from(i.values());for(let r=0;r<e.length;r++){const o=e[r],a=n.findIndex(e=>ut(o,e,void 0,t,i,s,x));if(-1===a)return!1;n.splice(a,1)}return!0}case m:case y:case k:case b:case w:case"[object BigUint64Array]":case _:case I:case S:case"[object BigInt64Array]":case O:case T:if("undefined"!=typeof Buffer&&Buffer.isBuffer(t)!==Buffer.isBuffer(i))return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(!ut(t[e],i[e],e,t,i,s,x))return!1;return!0;case p:return t.byteLength===i.byteLength&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case g:return t.byteLength===i.byteLength&&t.byteOffset===i.byteOffset&&lt(new Uint8Array(t),new Uint8Array(i),s,x);case"[object Error]":return t.name===i.name&&t.message===i.message;case v:{if(!(lt(t.constructor,i.constructor,s,x)||ct(t)&&ct(i)))return!1;const n=[...Object.keys(t),...e(t)],r=[...Object.keys(i),...e(i)];if(n.length!==r.length)return!1;for(let e=0;e<n.length;e++){const r=n[e],o=t[r];if(!Object.hasOwn(i,r))return!1;if(!ut(o,i[r],r,t,i,s,x))return!1}return!0}default:return!1}}finally{s.delete(t),s.delete(i)}}function ht(){}function dt(t,e){return function(t,e,i){return ut(t,e,void 0,void 0,void 0,void 0,i)}(t,e,ht)}const ft=kt;function mt(){const t=["getWalker","getTransformedByOperation","fillerOffset","destroy","sort","rootsAttributes","clone","element","getRevisionRootsAttributes","revisionHistoryLicenseKeyEvaluationLimit","baseVersion","source","move","_reset","find","$graveyard","isAdd","range","editor-initial-data-replaced-with-revision-data","add","vid_start","startsWith","affectsData","_setAttribute","_getPreviousFrom","_getViewJson","_makeRevision","_createInitialRevision","ready","end","_baseIdsRoots","includes","_markChanges","stickiness","dataDowncast","Empty document","init","_applyOperations","finally","creatorId","createRangeIn","_setConversion","attributesBefore","addRevision","name","_handleOperation","deletion","plugins","_createCurrentRevision","revisionHistoryLicenseKeyNotAllowed","394MOVrlh","PendingActions","_showLicenseError","810XkaYnw","isAttached","_startingVersion","hasContent","start","keepParagraph","get","getTime","define","addRoot","getIndex","detachRoot","revisionHistoryLicenseKeyValid","toView","_loadState","7780UXsDMH","sendBufferedUpdates","paragraph","upcast","addRootAttribute","conversion","resolve","stringify","delete","markers","_touchedMarkers","_source","_handleMoveOperation","documentFragment","RealTimeCollaborationClient","getAttribute","_prepareViewToSave","userId","isEnabled","revisionHistory.resumeUnsavedRevision","$text","getRootNames","_handleRootOperation","from","createPositionAt","merge","filter","update","shift","createPositionBefore","previousPosition","setSource","loadState","1074704IWCtQI","getRange","length","_continueCurrentRevision","text","_appendChild","_revisionId","getChild","isEqual","data","newRange","_fixRange","createdAt","NEGATIVE_INFINITY","getNodeByPath","_processRootBeforeSave","_copyMarkers","revision","_isAttached","slice","split","nodes","map","domConverter","position","3690701ldJGTA","getRevision","editor","_licenseKeyCheckInterval","_operations","root","_getFromVersion","getFillerOffset","getChildren","push","createRange","fromEntries","attributesAfter","afterInit","_isPendingUpdate","_utils","revisionHistoryLicenseKeyDomainLimit","insert","getCurrentRevisionId","_savedMetaData","_addPendingAction","max","setRevisionData","Users","expired","insertionPosition","79048drgNje","licenseKey","locale","offsetSize","vid","string","11FayPKP","has","getOperations","sourcePosition","PENDING_ACTION_REVISION_HISTORY","uiElement","elementStart","_handleMarkerOperation","createPositionFromPath","item","_createFromRanges","evaluationLimit","domainLimit","isReady","set","buildRevisionData","splitPosition","createRevision","deletions","reInit","remove","changeRootAttribute","_markers","values","getCustomProperties","getUser","_calculateMetaData","22226170bKXmPq","_makeIdsRoot","then","_replaceEditorDataWithRevisionData","vid_end","revision:","Initial revision","targetPosition","bind","usageLimit","_handleRootAttributeOperation","some","RevisionTracker","revisionHistoryLicenseKeyInvalid","getRoot","_getTypeCharForViewElement","graveyardPosition","reinsert","history","_baseRoots","adapter","getData","_fixPosition","roots","markerToData","_loadedStateData","dataToMarker","childCount","key","currentRevision","initialData","_removePendingAction","getMovedRangeStart","_clone","invalid","repository","addRevisionData","insertions","clear","version","diffData","innerHTML","marker","$comment","_diffRootsAttributes","render","fromVersion","_startingRevisionId","parent","getRevisionDocumentData","toVersion","document","_handleSplitOperation","_initialRevisionId","loadRevisionData","for","creator","outerHTML","children","createElement","oldRange","insertion","howMany","tableCell","_saveMetaData","collaboration.channelId","trim","_update","getAncestors","180ajOkAZ","_cloneOperation","_bufferedUpdates","_transformMarkers","updateRevisions","_bufferUpdate","RevisionsRepository","revisionHistoryLicenseKeyUsageLimit","_getVidAttributeName","newValue","rootName","isPremiumPlugin","model","customProperties","authors","_makeModelFromViewString","_lastFrom","initial","_touched","_getBaseVids","attachChange","keys","7584OKCOcF","_diffRoots","getLatestVersion","rawElement","getAttributes","offset","5051274sxjSbr","_handleInsertOperation","_execute","removeRootAttribute","authorsIds","featureNotAllowed","path","_findInsertionIndex","getRevisions","elementEnd","_touchedRoots","_getState","nodeAfter","type","_removeMetaData","isOfficialPlugin","config","_lastTo","_authorId","requires","saveRevision","_revisionDataBuilder","_idsRoots","_handleMergeOperation","RevisionHistory","pluginName","_baseRootsAttributes","domDocument","RevisionHistoryUtils","htmlProcessor","revisionHistoryLicenseKeyExpired","reverse","size","createPositionAfter","getOperation","_fixOperation","_insertChild","_isInit","_generateTape","_pendingAction"];return(mt=function(){return t})()}!function(t){const e=kt,i=t();for(;;)try{if(542463===parseInt(e(419))/1+parseInt(e(368))/2*(-parseInt(e(272))/3)+-parseInt(e(250))/4*(parseInt(e(386))/5)+parseInt(e(278))/6+parseInt(e(122))/7+parseInt(e(148))/8*(parseInt(e(371))/9)+parseInt(e(181))/10*(-parseInt(e(154))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(mt);class pt extends G.Plugin{[ft(149)];[ft(125)];[ft(210)]=null;[ft(216)];[ft(201)]=null;[ft(299)];[ft(397)];[ft(234)];[ft(252)];[ft(137)];[ft(317)];[ft(422)];[ft(373)];[ft(206)];static get[ft(303)](){return ft(193)}static get[ft(293)](){return!0}static get[ft(261)](){return!0}static get[ft(297)](){return[Q.Users,it,ot,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(216)]=this[i(124)][i(365)][i(377)](i(256)),this[i(137)]=this[i(124)][i(365)][i(377)](i(306)),this[i(299)]=new vt(this[i(124)]),this[i(234)]=this[i(124)][i(294)][i(377)](i(246))||i(267),this[i(252)]=new Map,this[i(206)]=null;const s=(0,t.uid)();this[i(397)]={history:this[i(124)][i(262)][i(232)][i(199)],getLatestVersion:()=>Promise[i(392)](this[i(124)][i(262)][i(232)][i(220)]),getCurrentRevisionId:()=>s},this[i(168)](i(167),!1),this[i(168)](i(404),!0),this[i(168)](i(136),!1),this[i(124)][i(294)][i(379)](i(405),!0),this[i(124)][i(391)][i(236)](i(389))[i(207)]({view:i(436)})}[ft(354)](){const t=ft;this[t(359)](),this[t(124)][t(428)].on(t(346),()=>{const e=t,i=this[e(216)][e(123)](0),s=i&&null===i[e(237)]?i:null;if(this[e(422)]=!!s&&this[e(124)][e(294)][e(377)](e(405)),this[e(124)][e(365)][e(155)](e(400))){const t=this[e(397)][e(140)](),n=this[e(216)][e(123)](t);if(n)this[e(373)]=n[e(227)],this[e(422)]=!1;else{const t=this[e(397)][e(199)][e(126)][e(332)](t=>!t[e(315)]),n=t?t[e(328)]:this[e(397)][e(199)][e(220)];i?(i[e(231)]<n&&i[e(248)]({toVersion:n}),this[e(422)]?(this[e(397)][e(140)]=()=>s.id,this[e(373)]=s[e(227)]):(this[e(373)]=i[e(231)],this[e(422)]=!1)):(this[e(373)]=n,this[e(422)]=!1)}}else s&&(this[e(124)][e(262)][e(232)][e(199)][e(220)]=Math[e(143)](s[e(231)],this[e(124)][e(262)][e(232)][e(199)][e(220)]),s[e(227)]===s[e(231)]?(0!==s[e(227)]&&(this[e(397)][e(140)]=()=>s.id),this[e(422)]=!1):this[e(422)]&&(this[e(397)][e(140)]=()=>s.id,this[e(373)]=s[e(227)])),this[e(422)]||(this[e(373)]=this[e(124)][e(262)][e(232)][e(220)]);this[e(299)][e(354)](this[e(397)][e(199)]),this[e(345)](this[e(373)]),this[e(366)](this[e(373)]),this[e(201)]&&this[e(387)]()}),this[t(189)](t(167)).to(this,t(136),t=>!t),this[t(149)]=this[t(124)][t(294)][t(377)](t(149));const e=this[t(124)];this[t(125)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(383)==r||i(194)==r||i(308)==r||i(138)==r||i(367)==r||i(327)==r||i(257)==r){delete e[n],s=r,clearInterval(this[i(125)]),this[i(125)]=void 0;break}}i(194)==s&&e[i(370)](i(215)),i(308)==s&&e[i(370)](i(146)),i(138)==s&&e[i(370)](i(166)),i(367)==s&&e[i(370)](i(283),i(302)),i(327)==s&&e[i(370)](i(165)),i(257)==s&&e[i(370)](i(190))},1e3)}async[ft(135)](){const t=ft;if(this[t(216)][t(421)]>0){const e=this[t(216)][t(123)](0),i=await this[t(230)](e),s=await this[t(326)](e);this[t(184)](i,s)}}[ft(321)](){const t=ft;super[t(321)](),this[t(125)]&&clearInterval(this[t(125)])}[ft(417)](t){this[ft(397)]=t}async[ft(413)](){const t=ft,e=await this[t(397)][t(274)]();if(e>this[t(210)][t(231)]){await this[t(385)]();const i=this[t(169)]({revision:this[t(210)],to:e});i[t(264)]=i[t(282)][t(119)](e=>this[t(124)][t(365)][t(377)](t(145))[t(179)](e)),this[t(210)][t(248)](i)}}async[ft(298)](e={},i=null){const s=ft,n=[];await this[s(385)](),this[s(422)]=!1,i>this[s(210)][s(231)]&&(i=null),null===i&&(i=await this[s(397)][s(274)]());const r=this[s(128)](i),o=this[s(169)]({from:r,to:i});if(this[s(210)][s(231)]<i){const t=this[s(169)]({revision:this[s(210)],from:i,to:i});t[s(264)]=[],t[s(282)]=[],t.id=this[s(210)].id,this[s(210)][s(248)](t,!0),delete t[s(264)],n[s(131)](t)}e[s(357)]=this[s(124)][s(365)][s(377)](s(145)).me.id,e[s(362)]=e[s(362)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(217)](e);n[s(131)](e);const c=this[s(216)][s(381)](a);if(0!==c){const t=this[s(216)][s(123)](c-1);if(t[s(227)]!==i){const r=this[s(299)][s(202)](i,t[s(231)]),o={id:t.id,diffData:r[s(221)],authorsIds:r[s(282)],authors:r[s(282)][s(119)](t=>this[s(124)][s(365)][s(377)](s(145))[s(179)](t)),fromVersion:i};t===this[s(210)]&&(o[s(431)]=new Date(e[s(431)][s(378)]()+10)),t[s(248)](o,!0),delete o[s(264)],n[s(131)](o)}}if(this[s(201)]){for(const t of n)this[s(255)](t.id,t,!0);this[s(387)]()}return a}[ft(217)](t){const e=ft,i=this[e(216)][e(171)](t);return this[e(201)]&&i.on(e(248),(t,i,s)=>{const n=e;s||(this[n(255)](i.id,i,!0),this[n(387)]())}),this[e(216)][e(361)](i,this[e(285)](i)),i}async[ft(230)](t){const e=ft;return await this[e(137)][e(235)](t,this[e(201)]),this[e(137)][e(230)](t)}async[ft(326)](t){const e=ft;return await this[e(137)][e(235)](t,this[e(201)]),this[e(137)][e(326)](t)}[ft(387)](){const t=ft;if(0===this[t(252)][t(310)])return;if(this[t(136)])return;let e=Array[t(409)](this[t(252)][t(177)]());this[t(252)][t(219)]();for(let i=0;i<e[t(421)];i++){const s=e[i];let n=!1;for(const e of Object[t(271)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(412)](t=>null!==t),!e[t(421)])return;for(let i=0;i<e[t(421)];i++){const s=e[i];void 0!==s[t(227)]&&void 0===s[t(231)]&&(s[t(231)]=this[t(216)][t(123)](s.id)[t(231)]),void 0!==s[t(231)]&&void 0===s[t(227)]&&(s[t(227)]=this[t(216)][t(123)](s.id)[t(227)])}const i=this[t(124)][t(294)][t(377)](t(246));this[t(136)]=!0,this[t(142)](),this[t(201)][t(254)](e,i)[t(356)](()=>{this[t(136)]=!1})[t(183)](e=>{const i=t;if(e)for(const t of e)this[i(144)]({id:t.id,createdAt:t[i(431)]});this[i(212)](),this[i(387)]()})}[ft(169)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(227)],i=null!==i?i:t[s(231)];const n=this[s(299)][s(202)](e,i),r={diffData:n[s(221)],authorsIds:n[s(282)],fromVersion:e,toVersion:i};if(!t||i!==t[s(231)]){const t=i-1,e=this[s(397)][s(199)][s(312)](t);r[s(431)]=e&&e[s(431)]||new Date}if(this[s(206)]&&e===this[s(206)][s(227)])for(const t of this[s(206)][s(264)])r[s(282)][s(349)](t.id)||r[s(282)][s(131)](t.id);return r}[ft(255)](t,e,i){const s=ft;if(this[s(252)][s(155)](t)){const n=this[s(252)][s(377)](t);e=i?{...n,...e}:{...e,...n}}this[s(252)][s(168)](t,e)}[ft(144)](t){const e=ft,i=this[e(216)][e(123)](t.id);if(t[e(431)]&&(t[e(431)]=new Date(t[e(431)])),t[e(282)]){const i=this[e(124)][e(365)][e(377)](e(145));t[e(264)]=t[e(282)][e(119)](t=>i[e(179)](t))}i[e(248)](t,!0)}[ft(345)](t){const e=ft,i=this[e(216)][e(123)](this[e(216)][e(421)]-1);if(i)this[e(234)]=i.id;else{const i=!this[e(124)][e(262)][e(232)][e(204)][e(332)](t=>this[e(124)][e(262)][e(374)](t)),s=this[e(124)][e(365)][e(377)](e(145)).me.id,n=at(this[e(124)][e(150)],e(i?353:187));this[e(344)]({from:t,to:t,id:this[e(234)],name:n,creatorId:s})}}[ft(366)](t){const e=ft,i=this[e(397)][e(140)]();this[e(210)]=this[e(216)][e(123)](i),this[e(210)]||(this[e(210)]=this[e(344)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(385)](){const t=ft;this[t(422)]&&!this[t(206)]&&(await this[t(137)][t(235)](this[t(210)],this[t(201)]),this[t(299)][t(418)](this[t(210)]),this[t(206)]={fromVersion:this[t(210)][t(227)],authors:this[t(210)][t(264)][t(116)]()})}[ft(184)](e,i){const s=ft;let n=this[s(124)][s(294)][s(377)](s(211)),r=this[s(124)][s(294)][s(377)](s(323));if(void 0===n){n={};for(const t of this[s(124)][s(262)][s(232)][s(407)]())n[t]=""}if(s(153)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(124)][s(262)][s(232)][s(407)]())r[t]={}}let o=!1;const a=Object[s(271)](n),c=Object[s(271)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(247)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(271)](r[t])[s(421)]>0){o=!0;break}}o||(o=c[s(192)](t=>!this[s(124)][s(262)][s(232)][s(195)](t))),o&&(0,t.logWarning)(s(336),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(124)][s(294)][s(168)](s(211),e),this[s(124)][s(294)][s(168)](s(323),i)}[ft(142)](){const t=ft;if(!this[t(317)]){const e=this[t(124)][t(365)][t(377)](t(369));this[t(317)]=e[t(337)](at(this[t(124)][t(150)],t(158)))}}[ft(212)](){const t=ft;this[t(317)]&&(this[t(124)][t(365)][t(377)](t(369))[t(174)](this[t(317)]),this[t(317)]=null)}[ft(285)](t){const e=ft,i=this[e(216)][e(286)]();i[e(309)]();let s=0;for(;s<i[e(421)];){const n=i[s];if(n===this[e(210)]){s++;continue}if(n.id===this[e(234)])break;const r=t[e(231)]-n[e(231)]||t[e(227)]-n[e(227)];if(r>0)break;if(r<0)s++;else{if(!t[e(237)]&&n[e(237)])break;if(n[e(237)]||!t[e(237)]){if(t[e(431)]>n[e(431)])break;s++}else s++}}return s}[ft(128)](t){const e=ft,i=this[e(216)][e(286)]();i[e(309)](),i[e(414)]();const s=i[e(332)](i=>i[e(231)]<=t)[e(231)];return s<this[e(373)]?this[e(373)]:s}[ft(344)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(169)]({from:e,to:i});o[r(362)]=t,o[r(357)]=s,o.id=n;const a=this[r(217)](o);return this[r(201)]&&this[r(255)](o.id,o,!0),a}[ft(359)](){const t=ft;this[t(124)][t(391)][t(236)](t(352))[t(205)]({model:t(436)})}}class vt{[ft(124)];[ft(329)];[ft(141)];[ft(266)];[ft(295)];[ft(176)];[ft(273)];[ft(225)];[ft(200)];[ft(304)];[ft(300)];[ft(348)];[ft(268)];[ft(396)];[ft(288)];[ft(425)];[ft(228)];constructor(t){const e=ft;this[e(124)]=t,this[e(141)]=new Map,this[e(266)]=-1,this[e(295)]=-1,this[e(176)]=new Map,this[e(273)]=new Map,this[e(225)]=new Map,this[e(200)]=new Map,this[e(304)]=new Map,this[e(300)]=new Map,this[e(348)]=new Map,this[e(268)]=new Map,this[e(396)]=new Map,this[e(288)]=new Map,this[e(425)]=1}[ft(354)](t){const e=ft;this[e(329)]=t;const i=new Map,s=new Map,n=this[e(124)][e(262)][e(232)][e(204)][e(119)](t=>t[e(260)]);for(const t of n){const n=this[e(124)][e(262)][e(232)][e(195)](t),r=gt(n);i[e(168)](t,r),s[e(168)](t,Object[e(133)](n[e(276)]()))}const r=Array[e(409)](this[e(124)][e(262)][e(395)])[e(119)](t=>[t[e(362)],t[e(420)]()]),o=this[e(329)][e(220)];this[e(245)](o,i,r,s),this[e(228)]=this[e(425)];const a=new Map,c=new Map;for(const t of n){const i=yt(t);a[e(168)](t,i),c[e(168)](t,{})}this[e(245)](Number[e(432)],a,[],c)}[ft(202)](t,e){const i=ft;if(this[i(266)]===t&&this[i(295)]<=e)this[i(141)][i(310)]>1&&this[i(292)](this[i(295)]),this[i(355)](this[i(295)],e,!0);else{if(!this[i(141)][i(155)](t)){const e=this[i(342)](t);this[i(180)](e,t,!1)}this[i(180)](t,e,!0)}return this[i(266)]=t,this[i(295)]=e,this[i(289)]()}[ft(418)](t){const e=ft;if(!this[e(141)][e(155)](t[e(227)])){const i=this[e(342)](t[e(227)]);this[e(180)](i,t[e(227)],!1)}this[e(180)](t[e(227)],t[e(231)],!1);const i=this[e(124)][e(365)][e(377)](e(306));this[e(331)](),this[e(266)]=t[e(227)],this[e(295)]=t[e(231)];for(const s in t[e(221)]){const n=t[e(221)][s][e(270)],r=R(t[e(221)][s][e(360)])||{},o=i[e(265)](t[e(221)][s][e(172)]);o[e(260)]=s,o[e(437)]=!n||!n[e(372)],o[e(372)]=()=>o[e(437)],this[e(200)][e(168)](s,o),this[e(304)][e(168)](s,r),n&&this[e(288)][e(168)](s,n);const a=this[e(182)](o);this[e(348)][e(168)](s,a);for(const[t,i]of o[e(395)]){if(!t[e(339)](e(186)))continue;const s=t[e(117)](":")[2];for(const t of i[e(318)]({singleCharacters:!0})){const i=this[e(258)](t),n=e(287)==t[e(291)]?t[e(416)][e(284)][e(116)](0,-1):t[e(416)][e(284)],r=a[e(433)](n)[e(401)](i);this[e(268)][e(168)](r,{userId:s})}o[e(395)][e(394)](t)}}this[e(228)]=this[e(425)];const s=[...Array(this[e(425)])[e(271)]()][e(116)](1)[e(412)](t=>!this[e(268)][e(155)](t));let n=0;const r=new Map;for(const o in t[e(221)]){const a=t[e(221)][o][e(270)],c=R(t[e(221)][o][e(134)])||{},u=i[e(265)](t[e(221)][o][e(218)]);u[e(260)]=o,u[e(437)]=!a||a[e(372)],u[e(372)]=()=>u[e(437)],this[e(273)][e(168)](o,u),this[e(225)][e(168)](o,c);const l=this[e(182)](u,Number[e(432)]);this[e(300)][e(168)](o,l),r[e(168)](o,u[e(372)]()?c:{});for(const[t,i]of u[e(395)]){if(!t[e(339)](e(186)))continue;const s=t[e(117)](":")[2];for(const t of i[e(318)]({singleCharacters:!0})){const i=this[e(258)](t),n=this[e(425)]++,r=e(287)==t[e(291)]?t[e(416)][e(284)][e(116)](0,-1):t[e(416)][e(284)];l[e(433)](r)[e(341)](i,n),this[e(268)][e(168)](n,{userId:s})}u[e(395)][e(394)](t)}for(const t of this[e(124)][e(262)][e(358)](u)[e(318)]({singleCharacters:!0})){const i=this[e(258)](t),r=e(287)==t[e(291)]?t[e(416)][e(284)][e(116)](0,-1):t[e(416)][e(284)],o=l[e(433)](r);o[e(401)](i)>0||o[e(341)](i,s[n++])}for(const[t,i]of u[e(395)])t[e(339)](e(186))||this[e(176)][e(168)](t,i)}const{roots:o}=this[e(141)][e(377)](t[e(227)]),{roots:a}=this[e(141)][e(377)](t[e(231)]),c=gt(o[e(377)](e(333)));this[e(200)][e(168)](e(333),c),this[e(348)][e(168)](e(333),this[e(182)](c,Number[e(432)]));const u=gt(a[e(377)](e(333)));this[e(273)][e(168)](e(333),u),this[e(300)][e(168)](e(333),this[e(182)](u));const l=Array[e(409)](this[e(273)])[e(119)](([t,e])=>[t,gt(e)]);this[e(245)](this[e(295)],l,this[e(176)],r)}[ft(173)](){const t=ft;this[t(331)](),this[t(266)]=-1,this[t(295)]=-1,this[t(141)][t(219)](),this[t(354)](this[t(329)])}[ft(245)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(168)](t,{start:e[n(375)][n(324)](),end:e[n(347)][n(324)](),rootName:e[n(127)][n(260)]});this[n(141)][n(168)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(292)](t){const e=ft;this[e(141)][e(394)](t)}[ft(331)](){const t=ft;this[t(268)][t(219)](),this[t(396)][t(219)](),this[t(288)][t(219)](),this[t(273)][t(219)](),this[t(225)][t(219)](),this[t(200)][t(219)](),this[t(304)][t(219)](),this[t(300)][t(219)](),this[t(348)][t(219)](),this[t(176)][t(219)](),this[t(425)]=1,this[t(228)]=this[t(425)]}[ft(182)](t,e=null){const i=ft;let s=null;t.is(i(399))||(s=new X.ModelElement(t[i(362)],{vid_start:null===e?this[i(425)]++:e++}));const n=[];for(const s of t[i(130)]())if(s.is(i(325))){n[i(131)](this[i(182)](s,e));const t=n[n[i(421)]-1];null!==e&&(e=t.is(i(325),i(406))?t[i(401)](i(152))+1:t[i(401)](i(185))+1)}else for(let t=0;t<s[i(151)];t++)n[i(131)](new X.ModelElement(i(406),{vid:null===e?this[i(425)]++:e++}));if(t.is(i(399))){const e=yt(t[i(260)]);return e[i(314)](0,n),e}return s[i(341)](i(185),null===e?this[i(425)]++:e++),s[i(314)](0,n),s}[ft(180)](t,e,i){const s=ft;this[s(331)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(141)][s(377)](t);this[s(200)]=new Map(n),this[s(304)]=new Map(R(o));for(const[t,e]of this[s(200)])if(s(333)!==t&&(this[s(273)][s(168)](t,gt(e)),this[s(225)]=new Map(R(o)),i)){const i=this[s(425)];this[s(300)][s(168)](t,this[s(182)](e)),this[s(348)][s(168)](t,this[s(182)](e,i))}this[s(228)]=this[s(425)],this[s(273)][s(168)](s(333),gt(this[s(200)][s(377)](s(333)))),i&&this[s(300)][s(168)](s(333),this[s(182)](this[s(200)][s(377)](s(333))));for(const[t,e]of r){const i=this[s(200)][s(377)](e[s(260)]),n=this[s(273)][s(377)](e[s(260)]),r=new X.ModelRange(this[s(203)](e[s(375)],i),this[s(203)](e[s(347)],i)),o=this[s(430)](r,n);i[s(395)][s(168)](t,r),this[s(176)][s(168)](t,o)}this[s(355)](t,e,i)}[ft(355)](t,e,i){const s=ft;for(const n of this[s(329)][s(156)](t,e))this[s(363)](n,i);for(const t of this[s(273)][s(177)]())t[s(395)][s(219)]();for(const[t,e]of this[s(176)])this[s(273)][s(377)](e[s(127)][s(260)])[s(395)][s(168)](t,e[s(324)]());const n=new Map,r=new Map;for(const[t,e]of this[s(273)])n[s(168)](t,gt(e)),r[s(168)](t,this[s(225)][s(377)](t));this[s(245)](e,n,this[s(176)],r)}[ft(342)](t){const e=ft,i=Array[e(409)](this[e(141)][e(271)]());i[e(322)]((t,e)=>t-e),i[e(309)]();for(const e of i)if(e<t)return e;return Number[e(432)]}[ft(435)](t,e){const i=ft,s=Array[i(409)](e[i(395)])[i(119)](([e,s])=>[e,this[i(430)](s,t)]);t[i(395)]=new Map(s)}[ft(253)](t){const e=ft;for(const i of this[e(176)][e(177)]()){const s=i[e(319)](t),n=X.ModelRange[e(164)](s);i[e(375)]=n[e(375)],i[e(347)]=n[e(347)]}}[ft(363)](t,e){const i=ft;if(i(380)!=t[i(291)]&&i(382)!=t[i(291)]){if(i(139)==t[i(291)]){const s=t[i(121)][i(127)][i(260)];this[i(273)][i(155)](s)||(this[i(273)][i(168)](s,yt(s,!0)),this[i(225)][i(168)](s,{}),e&&this[i(300)][i(168)](s,yt(s,!0)))}else{if(i(390)==t[i(291)]||i(281)==t[i(291)]||i(175)==t[i(291)])return void this[i(191)](t);i(223)==t[i(291)]&&this[i(161)](t)}if(i(223)!==t[i(291)]){const e=this[i(251)](t,this[i(273)]);e[i(280)](),this[i(253)](e)}if(e)switch(t[i(291)]){case i(139):this[i(279)](t);break;case i(330):case i(174):case i(198):this[i(398)](t);break;case i(411):this[i(301)](t);break;case i(117):this[i(233)](t)}}else this[i(408)](t,e)}[ft(251)](t,e){const i=ft,s=t[i(324)]();return s[i(296)]=t[i(296)],this[i(313)](s,e),s}[ft(269)](t){const e=ft;return t[e(119)](t=>{const i=e,s=this[i(258)](t);return Number(t[i(163)][i(401)](s))})}[ft(316)](t,e){const i=ft;if(t.is(i(325),i(406)))e[i(131)]({item:t,type:i(423)});else{t.is(i(325))&&e[i(131)]({item:t,type:i(160)});for(const s of t[i(130)]())this[i(316)](s,e);t.is(i(325))&&e[i(131)]({item:t,type:i(287)})}return e}[ft(289)](){const t=ft,e=new Map(this[t(268)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(200)][t(271)](),...this[t(273)][t(271)]()]);a[t(394)](t(333));for(const e of a){const i=this[t(273)][t(377)](e)||yt(e,!1),s=this[t(200)][t(377)](e)||yt(e,!1);i[t(372)]()||s[t(372)]()?(n[t(218)][e]=gt(i),n[t(172)][e]=gt(s),this[t(435)](n[t(172)][e],s),this[t(435)](n[t(218)][e],i),r[t(218)][e]=this[t(316)](this[t(300)][t(377)](e),[]),r[t(172)][e]=this[t(316)](this[t(348)][t(377)](e)||yt(e,!1),[])):a[t(394)](e)}for(const n of a){const o=r[t(218)][n];for(const n of o){const r=this[t(258)](n),o=n[t(163)][t(401)](r);i[t(394)](o),o>=this[t(228)]&&s[t(168)](o,e[t(377)](o))}}for(const n of a){const a=r[t(218)][n],c=this[t(269)](r[t(172)][n]);let u=0;for(const n of a){const r=this[t(258)](n),a=n[t(163)][t(401)](r);if(!s[t(155)](a)&&!o[t(155)](a))if(i[t(155)](a))u++;else{if(a!=c[u]){const s=e[t(377)](a)||e[t(377)](c[u]);for(;a!=c[u];)i[t(155)](c[u])||(o[t(168)](c[u],s),e[t(168)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(218)][e];for(const e of n){const n=this[t(258)](e),r=e[t(163)][t(401)](n);if(o[t(155)](r)){const e=o[t(377)](r);i[t(155)](r)||i[t(168)](r,{...e}),s[t(168)](r,{...e})}}}for(const e of i[t(271)]())e>=this[t(228)]&&i[t(394)](e);const c=new Map;for(const e of a){let n=r[t(218)][e];for(const e of n)if(e[t(163)].is(t(325),t(244))){const i=this[t(258)](e),n=e[t(163)][t(401)](i);if(s[t(155)](n)){const i=e[t(163)][t(229)][t(229)][t(401)](t(338)),r=c[t(377)](i)||new Set;r[t(337)](s[t(377)](n)[t(403)]),c[t(168)](i,r)}}n=r[t(172)][e];for(const e of n)if(e[t(163)].is(t(325),t(244))){const s=this[t(258)](e),n=e[t(163)][t(401)](s);if(i[t(155)](n)){const s=e[t(163)][t(229)][t(229)][t(401)](t(338)),r=c[t(377)](s)||new Set;r[t(337)](i[t(377)](n)[t(403)]),c[t(168)](s,r)}}for(const e of c[t(271)]())(s[t(155)](e)||i[t(155)](e))&&c[t(394)](e)}for(const e of a){const n=r[t(218)][e];let o=null,a=null;for(const e of n){const n=this[t(258)](e),r=e[t(163)][t(401)](n),u=c[t(377)](r);u&&t(160)==e[t(291)]&&(o=Array[t(409)](u)[0],a=e[t(163)][t(401)](t(185))),o&&(i[t(168)](r,{userId:o}),s[t(168)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(172)][e],a=n[t(218)][e];for(const{userId:e}of this[t(396)][t(177)]())null!==e&&l[t(337)](e);for(const{userId:e}of this[t(288)][t(177)]())null!==e&&l[t(337)](e);this[t(350)](a,r[t(218)][e],s,t(242),l),this[t(350)](o,r[t(172)][e],i,t(364),l),u[e]={insertions:this[t(402)](a),deletions:this[t(402)](o),attachChange:this[t(288)][t(377)](e)||null,attributesBefore:R(this[t(304)][t(377)](e))||{},attributesAfter:R(this[t(225)][t(377)](e))}}return{diffData:u,authorsIds:Array[t(409)](l)}}[ft(434)](t){const e=ft;for(const[,i]of t[e(395)]){const t=i[e(375)][e(249)]()[e(412)](t=>e(244)==t[e(362)]);for(const i of t)1==i[e(208)]&&i[e(426)](0).is(e(325),e(388))&&i[e(426)](0)[e(341)](e(376),!0)}}[ft(402)](t){const e=ft;this[e(434)](t);const i=this[e(124)][e(428)][e(384)](t,{}),s=Array[e(409)](i[e(130)]())[e(119)](t=>this[e(343)](t));return JSON[e(393)](s)}[ft(343)](t){const e=ft;if(t.is(e(406)))return t[e(428)];{const i=this[e(124)][e(365)][e(377)](e(306)),s=t,n=this[e(124)][e(428)][e(307)][e(120)],r={type:i[e(196)](s),name:s[e(362)],attributes:Array[e(409)](s[e(276)]()),children:Array[e(409)](s[e(130)]())[e(119)](t=>this[e(343)](t))};if(t.is(e(159))&&e(224)!=t[e(362)]){const i=t[e(226)](n[e(305)],n);r[e(239)][e(131)](i[e(238)])}else if(t.is(e(275))){const i=n[e(305)][e(240)](s[e(362)]);t[e(226)](i,n),r[e(239)][e(131)](i[e(222)])}const o=Array[e(409)](s[e(178)]());o[e(421)]>0&&(r[e(263)]=o);const a=s[e(129)]();return null!==a&&(r[e(320)]=a),r}}[ft(350)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(124)][r(262)];for(let s=0;s<e[r(421)];s++){const n=this[r(258)](e[s]),c=e[s][r(163)][r(401)](n),h=i[r(377)](c),d=s==e[r(421)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(403)]!=o[r(403)])&&(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(403)],d=l(186)+s+":"+h+":"+c++,f=u[l(132)](i,a);t[l(395)][l(168)](d,f),null!==h&&n[l(337)](h)}}[ft(258)](t){const e=ft;switch(t[e(291)]){case e(160):return e(338);case e(287):return e(185);default:return e(152)}}[ft(313)](t,e){const i=ft;t[i(328)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(377)](n[i(127)][i(260)]);t[s]=this[i(203)](n,r)}if(n instanceof X.ModelRange){const r=e[i(377)](n[i(127)][i(260)]);t[s]=this[i(430)](n,r)}i(127)===s&&(t[i(127)]=e[i(377)](t[i(127)][i(260)]))}}[ft(430)](t,e){const i=ft;return this[i(124)][i(262)][i(132)](this[i(203)](t[i(375)],e),this[i(203)](t[i(347)],e))}[ft(203)](t,e){const i=ft;return this[i(124)][i(262)][i(162)](e,t[i(284)],t[i(351)])}[ft(279)](t){const e=ft,i=this[e(300)][e(377)](t[e(121)][e(127)][e(260)]),s=this[e(203)](t[e(121)],i),n=null===t[e(296)]?null:t[e(296)]||this[e(124)][e(365)][e(377)](e(145)).me.id,r=s[e(229)],o=this[e(425)],a=[];for(const i of t[e(118)])if(i.is(e(325)))a[e(131)](this[e(182)](i));else for(let t=0;t<i[e(151)];t++)a[e(131)](new X.ModelElement(e(406),{vid:this[e(425)]++}));const c=this[e(425)];for(let t=o;t<c;t++)this[e(268)][e(168)](t,{userId:n});r[e(314)](s[e(277)],a)}[ft(398)](t){const e=ft;(t=this[e(251)](t,this[e(300)]))[e(280)]();const i=null===t[e(296)]?null:t[e(296)]||this[e(124)][e(365)][e(377)](e(145)).me.id,s=t[e(213)](),n=s[e(229)],r=s[e(277)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(426)](e);r.is(a(325),a(406))?s[a(168)](r[a(401)](a(152)),{userId:i}):(s[a(168)](r[a(401)](a(338)),{userId:i}),t(s,r,0,r[a(208)]),s[a(168)](r[a(401)](a(185)),{userId:i}))}}(this[e(268)],n,r,r+t[e(243)])}[ft(301)](t){const e=ft,i=null===(t=this[e(251)](t,this[e(300)]))[e(296)]?null:t[e(296)]||this[e(124)][e(365)][e(377)](e(145)).me.id,s=t[e(188)][e(229)],n=t[e(157)][e(229)],r=s[e(401)](e(185)),o=n[e(401)](e(338));s[e(341)](e(185),n[e(401)](e(185))),n[e(341)](e(185),r),this[e(268)][e(168)](o,{userId:i}),this[e(268)][e(168)](r,{userId:i}),t[e(280)]()}[ft(233)](t){const e=ft,i=null===(t=this[e(251)](t,this[e(300)]))[e(296)]?null:t[e(296)]||this[e(124)][e(365)][e(377)](e(145)).me.id,s=t[e(197)],n=t[e(170)][e(229)];t[e(280)]();const r=n[e(401)](e(185)),o=t[e(147)][e(290)];if(s){const t=o[e(401)](e(185)),s=n[e(401)](e(185));n[e(341)](e(185),t),o[e(341)](e(185),s),this[e(268)][e(168)](n[e(401)](e(185)),{userId:i}),this[e(268)][e(168)](o[e(401)](e(338)),{userId:i})}else{const t=this[e(425)]++,s=this[e(425)]++;n[e(341)](e(185),t),o[e(341)](e(338),s),o[e(341)](e(185),r),this[e(268)][e(168)](t,{userId:i}),this[e(268)][e(168)](s,{userId:i})}}[ft(161)](t){const e=ft;if(!t[e(340)])return;const i=(t=this[e(251)](t,this[e(273)]))[e(241)]?t[e(241)][e(127)]:null,s=t[e(429)]?t[e(429)][e(127)]:null;i&&this[e(176)][e(394)](t[e(362)]),s&&this[e(176)][e(168)](t[e(362)],t[e(429)][e(324)]());const n=null===t[e(296)]?null:t[e(296)]||this[e(124)][e(365)][e(377)](e(145)).me.id,r=t[e(362)];if(!this[e(396)][e(155)](r))return void this[e(396)][e(168)](r,{range:t[e(241)],userId:n});const o=this[e(396)][e(377)](r),a=o[e(335)],c=t[e(429)];null==a&&null==c||a&&c&&a[e(427)](c)?this[e(396)][e(394)](t[e(362)]):o[e(403)]=n}[ft(408)](t,e){const i=ft;this[i(273)][i(155)](t[i(260)])?this[i(273)][i(377)](t[i(260)])[i(437)]=t[i(334)]:(this[i(273)][i(168)](t[i(260)],yt(t[i(260)],!0)),this[i(225)][i(168)](t[i(260)],{}),e&&this[i(300)][i(168)](t[i(260)],yt(t[i(260)],!0)));const s=null===t[i(296)]?null:t[i(296)]||this[i(124)][i(365)][i(377)](i(145)).me.id,n=this[i(288)][i(377)](t[i(260)]);n&&n[i(403)]===s?this[i(288)][i(394)](t[i(260)]):this[i(288)][i(168)](t[i(260)],{userId:s,isAttached:t[i(334)]})}[ft(191)](t){const e=ft,i=this[e(225)][e(377)](t[e(127)][e(260)]);null===t[e(259)]?delete i[t[e(209)]]:i[t[e(209)]]=t[e(259)]}}function gt(t){const e=ft,i=yt(t[e(260)],t[e(372)]());for(const s of t[e(130)]()){const t=s[e(214)](!0);i[e(424)](t)}return i}function yt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(260)]=t,s[i(437)]=e,s[i(372)]=()=>s[i(437)],s}function kt(t,e){const i=mt();return(kt=function(t,e){return i[t-=116]})(t,e)}function bt(t,e,i){const s=ft,n=s(287)==t[s(291)]?i[s(410)](t[s(163)],s(347)):i[s(415)](t[s(163)]);return i[s(162)](e,n[s(284)],n[s(351)])}function wt(t,e,i){const s=ft,n=s(160)==t[s(291)]?i[s(410)](t[s(163)],0):i[s(311)](t[s(163)]);return i[s(162)](e,n[s(284)],n[s(351)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),Nt=i(102),At=i.n(Nt),Rt=i(123),Mt=i.n(Rt),Vt=i(741),Dt=i.n(Vt),Et=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=At().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(98),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=At().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Pt;function Pt(t,e){const i=Wt();return(Pt=function(t,e){return i[t-=383]})(t,e)}!function(t){const e=Pt,i=t();for(;;)try{if(559236===-parseInt(e(408))/1+-parseInt(e(387))/2*(parseInt(e(413))/3)+-parseInt(e(384))/4+-parseInt(e(396))/5+parseInt(e(422))/6+-parseInt(e(393))/7*(-parseInt(e(409))/8)+parseInt(e(395))/9*(parseInt(e(423))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Wt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(407)];[Lt(390)];[Lt(403)];constructor(e,i){const s=Lt;super(e),this[s(407)]=new t.FocusTracker,this[s(390)]=new t.KeystrokeHandler,this[s(416)](s(391),""),this[s(403)]=this[s(385)](i),this[s(414)]({tag:s(421),attributes:{class:["ck",s(386),s(425)],tabindex:"-1"},children:[this[s(403)]]}),this[s(388)]()}[Lt(400)](){const t=Lt;super[t(400)](),(0,It.submitHandler)({view:this}),this[t(407)][t(383)](this[t(403)][t(404)]),this[t(390)][t(418)](this[t(404)]);const e=e=>e[t(420)]();this[t(390)][t(416)](t(405),e),this[t(390)][t(416)](t(398),e),this[t(390)][t(416)](t(410),e),this[t(390)][t(416)](t(406),e)}[Lt(389)](){const t=Lt;this[t(403)][t(389)]()}get[Lt(399)](){const t=Lt;return this[t(403)][t(424)][t(404)][t(417)][t(397)]()}set[Lt(399)](t){const e=Lt;this[e(403)][e(424)][e(404)][e(417)]=t[e(397)]()}[Lt(411)](){const t=Lt;this[t(403)][t(424)][t(404)][t(417)]="",this[t(403)][t(401)]=null}[Lt(385)](t){const e=Lt,i=new It.LabeledFieldView(this[e(419)],It.createLabeledInputText),s=i[e(424)];s[e(392)]({attributes:{maxlength:e(402)}});let n=at(this[e(419)],e(394));return!t&&(n+=" ("+at(this[e(419)],e(412))+")"),i[e(415)]=n,s.on(e(426),()=>{const t=e;this[t(391)]=s[t(404)][t(417)][t(397)]()}),i}}function Wt(){const t=["595742BSooci","Name of the revision","18033336ojVJoJ","3772825xVUqwt","trim","arrowleft","revisionName","render","errorText","220","revisionNameInputView","element","arrowright","arrowdown","focusTracker","219809IBefmq","32pWmIAZ","arrowup","reset","optional","3ZXLSrv","setTemplate","label","set","value","listenTo","locale","stopPropagation","form","1231230adZjfw","10CQDOuZ","fieldView","ck-responsive-form","input","add","3271584fleKEJ","_createRevisionNameInput","ck-revision-history-save-revision-form","395654OQQjhx","initializeCssTransitionDisablerMixin","focus","keystrokes","revisionNameInputValue","extendTemplate"];return(Wt=function(){return t})()}const Ut=Zt;function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=447]})(t,e)}function Ht(){const t=["32UOAmkw","635165RjjwKf","showRevisionViewerCallback","revisionHistory.requireRevisionName","ck-button-action","RevisionHistoryUI","submit","Cancel","add","Open revision history","Save current revision","menuitem","focus","1516788KAVibf","plugins","get","pluginName","revisionHistory","errorText","Dialog","1408967GSJyjn","isPremiumPlugin","revisionName","Revision history","role","671759QLUKkY","view","bind","listenTo","addMany","hide","276234puwrPp","menu","The revision name cannot be empty.","2291532uElDOo","init","config","isReady","_createOpenRevisionButton","24lPFkwb","buttonView","render","isEnabled","3420000LGVtRF","menuBar:revisionHistory","Accept","componentFactory","310SIekeC","saveRevision","_createSaveRevisionButton","isOfficialPlugin","locale","editing","revisionSave","panelView","low","5zWUnbN","delegate","isReadOnly","requires","children","revisionNameInputView","_saveRevisionFormView","RevisionTracker","_registerMenuComponent","items","_createSaveRevisionFormView","_showDialog","isOpen","editor","set","reset","show","execute"];return(Ht=function(){return t})()}!function(t){const e=Zt,i=t();for(;;)try{if(575437===-parseInt(e(513))/1+parseInt(e(477))/2*(-parseInt(e(469))/3)+parseInt(e(451))/4*(parseInt(e(494))/5)+-parseInt(e(472))/6+parseInt(e(458))/7*(parseInt(e(512))/8)+-parseInt(e(481))/9+parseInt(e(485))/10*(parseInt(e(463))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class $t extends G.Plugin{static get[Ut(454)](){return Ut(517)}static get[Ut(488)](){return!0}static get[Ut(459)](){return!0}static get[Ut(497)](){return[pt]}[Ut(500)];[Ut(473)](){const t=Ut,e=this[t(507)],i=e[t(452)][t(453)](t(501));e.ui[t(484)][t(520)](t(455),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(492)][n(498)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(487)](It.ButtonView),l=new It.ListItemView(s),h=this[n(476)](It.ButtonView);return r[n(465)](n(480)).to(i,n(475),i,n(480),e,n(496),(t,e,i)=>t&&e&&!i),r[n(478)][n(508)]({icon:_t.IconHistory,label:at(s,n(461)),tooltip:!0}),u[n(508)]({withText:!0,role:n(449)}),h[n(508)]({withText:!0,role:n(449)}),this[n(466)](h,n(511),()=>{const t=n;r[t(506)]=!1,e[t(490)][t(464)][t(450)]()},{priority:n(493)}),c[n(498)][n(520)](u),l[n(498)][n(520)](h),a[n(462)]=n(470),a[n(503)][n(467)]([c,l]),o[n(520)](a),r}),e.ui[t(484)][t(520)](t(482),()=>this[t(502)]())}[Ut(502)](){const t=Ut,e=this[t(507)],i=e[t(489)],s=e[t(452)][t(453)](t(501)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(465)](t(480)).to(s,t(475),s,t(480),e,t(496),(t,e,i)=>t&&e&&!i),n[t(478)][t(508)]({icon:_t.IconHistory,label:at(i,t(461))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(487)](It.MenuBarMenuListItemButtonView);a[t(495)](t(511)).to(n),o[t(498)][t(520)](a),r[t(503)][t(520)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(476)](It.MenuBarMenuListItemButtonView);return u[t(495)](t(511)).to(n),c[t(498)][t(520)](u),r[t(503)][t(520)](c),n[t(492)][t(498)][t(520)](r),n}[Ut(487)](t){const e=Ut,i=this[e(507)],s=i[e(452)][e(453)](e(501)),n=new t(i[e(489)]);return n[e(508)]({label:at(i[e(489)],e(448))}),n[e(465)](e(480)).to(s,e(475),s,e(480),i,e(496),(t,e,i)=>t&&e&&!i),this[e(466)](n,e(511),()=>{this[e(505)]()}),n}[Ut(476)](t){const e=Ut,i=this[e(507)],s=i[e(452)][e(453)](e(501)),n=new t(i[e(489)]);return n[e(508)]({label:at(i[e(489)],e(447))}),n[e(465)](e(480)).to(s,e(475),i,e(496),(t,e)=>t&&!e),this[e(466)](n,e(511),()=>{const t=e;i[t(474)][t(453)](t(455))[t(514)]()}),n}[Ut(505)](){const t=Ut,e=this[t(507)],i=e[t(489)],s=e[t(452)][t(453)](t(457)),n=e[t(452)][t(453)](t(501));function r(n){const r=t;e[r(474)][r(453)](r(515))&&""===n[r(460)]?n[r(499)][r(456)]=at(i,r(471)):(e[r(452)][r(453)](pt)[r(486)]({name:n[r(460)]}),s[r(468)]())}this[t(500)]||(this[t(504)](),this[t(500)].on(t(518),()=>r(this[t(500)]))),this[t(500)][t(509)](),s[t(510)]({id:t(491),title:at(i,t(448)),isModal:!0,content:this[t(500)],actionButtons:[{label:at(e[t(489)],t(519)),withText:!0,onExecute:()=>s[t(468)]()},{label:at(e[t(489)],t(483)),class:t(516),withText:!0,onCreate(i){const s=t;i[s(465)](s(480)).to(n,s(475),n,s(480),e,s(496),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(500)])}]})}[Ut(504)](){const t=Ut,e=this[t(507)],i=e[t(489)];this[t(500)]=new zt(i,e[t(474)][t(453)](t(515))),this[t(500)][t(479)]()}}const qt=Jt;!function(t){const e=Jt,i=t();for(;;)try{if(385970===-parseInt(e(306))/1*(-parseInt(e(287))/2)+parseInt(e(302))/3*(-parseInt(e(293))/4)+-parseInt(e(283))/5*(parseInt(e(275))/6)+parseInt(e(303))/7+-parseInt(e(292))/8+-parseInt(e(281))/9+parseInt(e(291))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Bt extends It.View{[qt(304)];[qt(295)];constructor(t,e){const i=qt;super(t),this[i(295)]=e,this[i(304)]=e.id;const s=this[i(289)],n=at(t,e[i(305)][i(284)]?i(280):i(294)==e[i(288)]?i(290):i(301));this[i(285)](i(288),e[i(288)]),this[i(279)]({tag:i(282),attributes:{class:[i(276),i(278),s.to(i(288),t=>i(296)+t)],tabindex:-1},children:[{tag:i(297),children:[{tag:i(297),attributes:{class:[i(298)]},children:[{text:n}]},{text:" "+e[i(299)][i(286)]}]}]})}[qt(300)](){const t=qt;this[t(277)][t(300)]()}}function Jt(t,e){const i=Yt();return(Jt=function(t,e){return i[t-=275]})(t,e)}function Yt(){const t=["focus","Removed by","189qaqclr","316120YyHAnJ","changeId","data","86881fQBvHS","258438cThWyA","ck-annotation","element","ck-revision-change","setTemplate","Suggested by","5136147gGrhSz","div","50QYzbEl","isSuggestion","set","name","14nNzuBE","type","bindTemplate","Added by","19634150ylqWmx","3686576FUhElW","48796ytJees","add","_model","ck-revision-change__","span","ck-revision-change__label","author"];return(Yt=function(){return t})()}function Gt(){var t=["type","378162RsEeHS","data","createdAt","rootName","1356492IDGirh","toJSON","1068IkhQCk","3643423arNeZu","8146240oXlGFo","set","3415vBuxik","171882uYtyWf","11yebxcB","88EyJzck","529772IlgRzT","3DHcUQX","author"];return(Gt=function(){return t})()}function Qt(t,e){var i=Gt();return(Qt=function(t,e){return i[t-=244]})(t,e)}var Xt=Qt;!function(t){for(var e=Qt,i=t();;)try{if(263364===-parseInt(e(255))/1+parseInt(e(251))/2+parseInt(e(252))/3*(parseInt(e(259))/4)+-parseInt(e(247))/5*(-parseInt(e(261))/6)+parseInt(e(244))/7+-parseInt(e(250))/8*(-parseInt(e(248))/9)+-parseInt(e(245))/10*(parseInt(e(249))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Gt);class Kt extends((0,t.ObservableMixin)()){id;[Xt(253)];[Xt(254)];[Xt(256)];[Xt(258)];constructor(e){var i=Xt;super(),this.id=e.id||(0,t.uid)(),this[i(253)]=e[i(253)],this[i(254)]=e[i(254)],this[i(256)]=e[i(256)]||{},this[i(258)]=e[i(258)],this[i(246)](i(257),e[i(257)])}[Xt(260)](){var t=Xt;return{id:this.id,authorId:this[t(253)].id,type:this[t(254)],data:this[t(256)],createdAt:this[t(257)]}}}const te=ee;function ee(t,e){const i=ie();return(ee=function(t,e){return i[t-=454]})(t,e)}function ie(){const t=["oldRevisionId","78zCpNzq","3909598UtKXpV","522378BfAXWo","add","1107222VGweuo","16ykyszl","1416835mKFRqV","newRevisionId","61873XzIiOO","2429076LyHMpm","_setChanges","131210usTXTC","changes","5CQvHLv","10ThhuFJ","4cscYQg"];return(ie=function(){return t})()}!function(t){const e=ee,i=t();for(;;)try{if(191634===parseInt(e(465))/1*(parseInt(e(463))/2)+parseInt(e(456))/3+-parseInt(e(467))/4*(-parseInt(e(458))/5)+-parseInt(e(469))/6*(parseInt(e(460))/7)+parseInt(e(457))/8*(-parseInt(e(454))/9)+parseInt(e(466))/10*(-parseInt(e(470))/11)+-parseInt(e(461))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ie);class se{[te(459)];[te(468)];[te(464)];constructor(e,i){const s=te;this[s(459)]=e,this[s(468)]=i,this[s(464)]=new t.Collection}[te(462)](t){const e=te;for(const i of t)this[e(464)][e(455)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=At().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();Ot()(ne.A,re);ne.A&&ne.A.locals&&ne.A.locals;const oe=ae;function ae(t,e){const i=de();return(ae=function(t,e){return i[t-=384]})(t,e)}!function(t){const e=ae,i=t();for(;;)try{if(297172===parseInt(e(396))/1*(parseInt(e(553))/2)+parseInt(e(590))/3+parseInt(e(659))/4*(parseInt(e(679))/5)+-parseInt(e(420))/6*(-parseInt(e(709))/7)+-parseInt(e(449))/8+-parseInt(e(504))/9+parseInt(e(685))/10*(-parseInt(e(488))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(de);class ce extends G.Plugin{[oe(451)];[oe(468)]=null;[oe(557)];[oe(394)];[oe(434)];[oe(668)];[oe(695)];static get[oe(466)](){return oe(706)}static get[oe(441)](){return!0}static get[oe(690)](){return!0}static get[oe(672)](){return[Q.Users,It.ContextualBalloon,it,ot]}constructor(t){const e=oe;super(t),this[e(451)]=this[e(496)][e(392)][e(633)](e(612)),this[e(557)]=this[e(496)][e(392)][e(633)](e(421)),this[e(708)](e(648),null),this[e(708)](e(436),null),this[e(394)]=null,this[e(708)](e(541),null),this[e(708)](e(511),!1),this[e(708)](e(517),!0),this.on(e(505),(t,i,s)=>{const n=e;this[n(648)]=null,this[n(436)]=null,this[n(496)][n(445)][n(568)][n(675)](t=>{const e=n;for(const i of this[e(496)][e(445)][e(568)][e(667)][e(577)])s?t[e(526)](e(455),i):t[e(701)](e(455),i)})}),this[e(594)](e(418)).to(this,e(648),t=>null!==t),this[e(594)](e(572)).to(this,e(511),this,e(541),this,e(648),(t,i,s)=>t&&s?i[e(495)][e(600)](s):0),this[e(594)](e(533)).to(this,e(511),this,e(541),(t,i)=>t?i[e(495)][e(609)]:0),this[e(434)]=null,this[e(668)]=new Map,this[e(695)]=this[e(496)][e(392)][e(633)](It.ContextualBalloon)}[oe(384)](){const t=oe,e=this[t(496)],i=new he(e,{direction:t(689)}),s=new he(e,{direction:t(634)});e[t(528)][t(619)](t(622),i),e[t(528)][t(619)](t(424),s),e[t(528)][t(619)](t(440),new le(e)),this.on(t(678),()=>{const e=t;i[e(575)](),s[e(575)]()}),this[t(655)](),this[t(621)](),e[t(530)](t(442)),e[t(392)][t(642)](t(407))&&e[t(392)][t(633)](t(407))[t(565)](t(442))}async[oe(390)](t){const e=oe;return await this[e(557)][e(629)](t,this[e(468)]),this[e(557)][e(390)](t)}async[oe(479)](t){const e=oe;return await this[e(557)][e(629)](t,this[e(468)]),this[e(557)][e(479)](t)}async[oe(532)](t,e,i=!1){const s=oe;if(!this[s(517)])return;const n=this[s(541)],r=this[s(451)],o=s(482)==typeof t?r[s(573)](t):t,a=s(482)==typeof e?r[s(573)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(541)]&&this[s(541)][s(647)]===c&&this[s(541)][s(408)]===u)return Promise[s(660)]();this[s(511)]=!1,this[s(436)]=null,this[s(648)]=null,this[s(541)]=new se(c,u);const l=this[s(561)](o,a,!0)[s(523)](t=>this[s(557)][s(629)](t,this[s(468)]));return l[s(694)](new Promise(t=>{setTimeout(t,20)})),Promise[s(651)](l)[s(669)](()=>{const t=s;if(!this[t(517)])return;this[t(610)]();const e=this[t(676)](c,u);for(const i of e[t(495)])this[t(668)][t(708)](i.id,i);this[t(496)][t(444)][t(538)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(496)][s(444)][s(667)][s(524)]())i[s(447)](t);for(const t of Object[s(497)](e[s(444)])){const n=i[s(385)](t);for(const r of Object[s(497)](e[s(458)][t]))i[s(428)](r,e[s(458)][t][r],n);i[s(623)](e[s(444)][t],n,0)}}),this[t(541)][t(636)](this[t(578)](e[t(495)])),this[t(511)]=!0})[s(684)](t=>{const e=s;console[e(391)](t),this[e(610)](),n&&(this[e(541)]=n),this[e(511)]=!0})}[oe(411)](t,e){const i=oe,s=this[i(451)][i(598)](t);return s.on(i(386),(t,i,n)=>e(i,n,s)),this[i(451)][i(422)](s),s}[oe(610)](){const t=oe;this[t(648)]=null,this[t(652)](),this[t(434)]&&this[t(434)][t(433)](),this[t(434)]=null,this[t(668)][t(480)](),this[t(496)][t(444)][t(538)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(496)][i(444)][i(667)][i(524)]())e[i(447)](t)})}[oe(578)](t){const e=oe,i=[],s=new Map;for(const t of this[e(496)][e(444)][e(667)][e(524)]()){const n=this[e(496)][e(445)][e(568)][e(508)](t);if(!n)continue;const r=n[e(401)]()[e(704)](0);r&&(i[e(694)](t),s[e(708)](t,r))}return i[e(687)]((t,i)=>{const n=e,r=s[n(633)](t),o=s[n(633)](i);return r.y-o.y||r.x-o.x}),(t=t[e(521)](t=>i[e(414)](t[e(393)])))[e(687)]((t,s)=>i[e(397)](t[e(393)])-i[e(397)](s[e(393)])),t}[oe(475)](t){const e=oe,i=Array[e(551)](t[e(502)])[e(521)](([t,i])=>t[e(531)](e(703))&&!i[e(645)]),s=Array[e(551)](this[e(496)][e(444)][e(395)](t)[e(671)]({singleCharacters:!0}));if(0!=i[e(609)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(484)](":");if(n[e(649)][e(493)](t[e(481)])&&i[e(552)](),(t[e(583)][e(493)](n[e(562)])||t[e(583)][e(476)](n[e(562)]))&&(e(663)==r?t[e(640)]={userId:o}:e(400)==r&&(t[e(542)]={userId:o})),0==i[e(609)])break}return s}[oe(630)](t){const e=oe,i=new Map;for(let s=0;s<t[e(609)];s++)e(585)===t[s][e(461)]?(t[s][e(704)][e(705)]=s,t[s][e(704)][e(544)]=s):(e(631)===t[s][e(461)]?t[s][e(704)][e(705)]=s:e(464)===t[s][e(461)]&&(t[s][e(704)][e(544)]=s),i[e(708)](t[s].id,s));for(const s of i[e(448)]())e(631)===t[s][e(461)]?t[s][e(704)][e(544)]=i[e(633)](t[s][e(516)]):e(464)===t[s][e(461)]&&(t[s][e(704)][e(705)]=i[e(633)](t[s][e(516)]))}[oe(520)](t){const e=oe;for(let i=0;i<t[e(609)];i++){if(e(631)===t[i][e(461)])t[i][e(704)][e(705)]=i;else if(e(464)===t[i][e(461)]){t[i][e(704)][e(544)]=i;const s=t[i][e(704)][e(705)];t[s][e(516)]=t[i].id,t[i][e(516)]=t[s].id}else t[i][e(704)][e(705)]=i,t[i][e(704)][e(544)]=i,t[i][e(516)]=null;t[i][e(644)]||(t[i][e(644)]=[],t[i][e(499)]=[])}}[oe(606)](t,e){const i=oe,s=t[i(521)](t=>!t[i(640)]);for(let t=0;t<e[i(609)];t++)e[t][i(640)]&&(s[t][i(640)]=e[t][i(640)])}[oe(676)](t,e=null){const i=oe,s=this[i(451)][i(573)](t),n=e?this[i(451)][i(573)](e):null,r=this[i(561)](s,n),o=r[r[i(609)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(609)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(497)](e[i(545)]))if(e[i(545)][t][i(503)]){const s=e[i(545)][t][i(503)];s[i(512)]?(u[i(619)](t),l[i(642)](t)&&l[i(633)](t)[i(555)]==s[i(555)]?l[i(439)](t):l[i(708)](t,s)):l[i(642)](t)?(u[i(439)](t),l[i(439)](t)):(u[i(619)](t),l[i(708)](t,s))}else u[i(619)](t)}for(const t of u){const e=l[i(642)](t)&&!l[i(633)](t)[i(512)];let s=e?r[i(609)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(545)][t]){const s=e?o[i(545)][t][i(492)]:o[i(545)][t][i(403)];c[i(458)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(444)]={};for(const e of t[i(543)])a[i(708)](e.id,e);for(const e of u){const s=t[i(545)][e]?t[i(545)][e][i(462)]:"[]",n=t[i(545)][e]?t[i(545)][e][i(604)]:"[]";t[i(444)][e]={insertions:this[i(557)][i(657)](s),deletions:this[i(557)][i(657)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(551)](s[i(444)][t][i(462)][i(502)])[i(521)](([t])=>!t[i(531)](i(703))));let h=0;for(const o of r){const r=this[i(475)](o[i(444)][t][i(462)]);o==s?(e=r,n=e[i(609)],e[i(443)](t=>{t.id=h++}),this[i(520)](e)):this[i(606)](e,r);const a=e[i(521)](t=>!t[i(640)])[i(523)](t=>t.id);let c=0;const l=this[i(475)](o[i(444)][t][i(604)]);l[i(443)](t=>{t[i(542)]?t.id=n++:t.id=a[c++]}),this[i(520)](l),this[i(399)](e,i(640)),this[i(399)](l,i(542)),o==s&&this[i(432)](e,u),e=this[i(601)](e,l),this[i(630)](e),this[i(399)](e,i(542))}e=e[i(521)](t=>!(t[i(640)]&&t[i(542)]));const d=new Map(o[i(444)][t][i(604)][i(502)]),f=new Set(u[i(497)]());for(const t of d[i(497)]())f[i(439)](t);this[i(539)](e,f),this[i(527)](e),e=this[i(459)](e),e=this[i(580)](e),e=this[i(498)](e);const{root:m,changes:p}=this[i(549)](e,a,t);c[i(444)][t]=m;const v=l[i(633)](t);if(v){const e=a[i(633)](v[i(555)]),s=new Kt({author:e,type:v[i(512)]?i(619):i(501),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(510)](s),c[i(458)][t][i(463)]=s.id}c[i(495)]=c[i(495)][i(595)](p)}return c}[oe(432)](t,e){const i=oe;for(let s=0;s<t[i(609)];s++)for(const[n,r]of e)!r[i(645)]&&r[i(562)][i(493)](t[s][i(583)])&&t[s][i(644)][i(694)](n),r[i(649)][i(493)](t[s][i(481)])&&t[s][i(499)][i(694)](n)}[oe(601)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(609)]||r<e[i(609)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(694)](o);else if(a[i(542)]&&o[i(640)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(564)](t,n,e,r);s=s[i(595)](o),n=a,r=c}else a[i(542)]?(r++,s[i(694)](a)):(n++,s[i(694)](o))}return s}[oe(539)](t,e){const i=oe,s=[];for(let o=0;o<t[i(609)];o++){for(let r=0;r<t[o][i(644)][i(609)];r++){const a=t[o][i(644)][r];if(!e[i(642)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(537)!=c||i(663)!=u&&i(400)!=u||(s[i(510)]({type:u,name:a,userId:l}),t[o][i(644)][i(563)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(499)][i(609)];r++){const a=t[o][i(499)][r];if(!e[i(642)](a))continue;const{group:c,type:u}=n(a);if(i(537)!=c||i(663)!=u&&i(400)!=u)continue;t[o][i(499)][i(563)](r,1),r--;const l=s[i(603)](t=>t[i(404)]==a);l>-1&&s[i(563)](l,1)}}function n(t){const e=i,s=t[e(484)](":");return{group:s[0],type:s[1],subType:s[e(609)]>=5?s[2]:null,id:s[e(609)]<5?s[2]:s[3],authorId:s[e(609)]<5?s[3]:s[4],markerCount:6==s[e(609)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(609)];i++){if(t[e(640)]&&e(663)==s[i][e(461)]&&t[e(640)][e(555)]==s[i][e(555)])return t[e(513)]=s[i],void delete t[e(640)];if(!t[e(640)]&&!t[e(542)]&&e(400)==s[i][e(461)])return void(t[e(692)]=s[i])}}}[oe(399)](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(708)](o.id,s);for(let s=0;s<t[i(609)];s++){if(i(542)==e&&t[s][i(640)]||i(640)==e&&t[s][i(542)])continue;if(i(585)==t[s][i(461)]){t[s][i(494)]=0;continue}const n=r[i(633)](t[s][i(516)]),o=r[i(633)](t[s].id);t[s][i(494)]=n-o}}[oe(561)](t,e,i=!1){const s=oe,n=[];let r=this[s(451)][s(600)](t),o=this[s(451)][s(600)](e);for(-1==o&&(o=this[s(451)][s(487)][s(609)],i=!1);r<o;)n[s(694)](this[s(451)][s(573)](r)),r++;return i&&n[s(694)](this[s(451)][s(573)](r)),n}[oe(564)](t,e,i,s){const n=oe,r=this[n(496)][n(444)][n(410)];let o=e;for(;t[o]&&t[o][n(640)];)o++;let a=s;for(;i[a]&&i[a][n(542)];)a++;u(t,e,o),u(i,s,a);const c=i[n(470)](s,a)[n(595)](t[n(470)](e,o));return c[n(687)]((t,e)=>t[n(680)]!=e[n(680)]?t[n(680)]-e[n(680)]:t[n(673)]!=e[n(673)]?t[n(673)]-e[n(673)]:t[n(494)]!=e[n(494)]?e[n(494)]-t[n(494)]:!!t[n(640)]!=!!e[n(640)]?-1==t[n(680)]||0==t[n(680)]?t[n(640)]?-1:1:t[n(640)]?1:-1:t[n(664)]-e[n(664)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(587)],c=!0;for(let n=e;n<i;n++)if(r[s(429)](t[n][s(704)])||(c=!1),t[n][s(704)][s(705)]<e&&(o=n),t[n][s(704)][s(544)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(680)]=n<=o?-1:n<a?0:1,t[n][s(664)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(494)]?t[i][s(673)]=u:(u++,t[i][s(673)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(680)]&&(t[n][s(673)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(494)]?t[e][s(673)]=u:(u--,t[e][s(673)]=u,u--)}}[oe(527)](t){const e=oe,i=new Map,s=this[e(496)][e(444)][e(410)];for(let n=1;n<t[e(609)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(585)==c[e(461)])continue;if(c[e(461)]!=u[e(461)])continue;if(!s[e(697)](u[e(704)])||s[e(586)](u[e(704)]))continue;if(!s[e(697)](c[e(704)])||s[e(586)](c[e(704)]))continue;if((t[n][e(640)]||t[n][e(513)])&&t[n-1][e(542)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(542)]||!t[n-1][e(640)]&&!t[n-1][e(513)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(673)]==o[e(673)],h=Math[e(624)](r[e(673)])<Math[e(624)](o[e(673)])&&0==o[e(494)];(l||h)&&(i[e(708)](o.id,r.id),t[e(563)](a,1),n--,r[e(640)]=!1)}for(let s=0;s<t[e(609)];s++)i[e(642)](t[s][e(516)])&&(t[s][e(516)]=i[e(633)](t[s][e(516)]))}[oe(459)](t){const e=oe,i=new Set(t[e(523)](t=>t.id));for(let s=0;s<t[e(609)];s++)i[e(642)](t[s][e(516)])||0==t[s][e(494)]||(t[s][e(423)]=!0);return t[e(521)](t=>!t[e(423)])}[oe(580)](t){const e=oe,i=new Set;for(let s=0;s<t[e(609)];s++){if(i[e(642)](t[s].id)&&t[s][e(542)]&&(t[s][e(423)]=!0),t[s][e(423)])continue;if(0==t[s][e(494)])continue;if(e(631)!=t[s][e(461)])continue;if(null==t[s][e(516)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(516)];)e(631)==t[n][e(461)]?r++:e(464)==t[n][e(461)]&&r--,n++;if(0!=r)if(t[s][e(542)])t[s][e(423)]=!0;else for(;n!=s;)t[n][e(542)]&&0!=t[n][e(494)]&&(t[n][e(423)]=!0,i[e(619)](t[n][e(516)])),n--}return t[e(521)](t=>!t[e(423)])}[oe(498)](t){const e=oe,i=this[e(496)][e(444)][e(410)];for(let s=0;s<t[e(609)];s++){if(!(t[s][e(640)]||t[s][e(513)]||t[s][e(542)]||t[s][e(692)]))continue;if(0==t[s][e(494)])continue;const n=t[s][e(704)];i[e(697)](n)||i[e(586)](n)||(t[s][e(640)]&&delete t[s][e(640)],t[s][e(513)]&&delete t[s][e(513)],t[s][e(692)]&&delete t[s][e(692)],t[s][e(542)]&&(t[s][e(423)]=!0))}return t[e(521)](t=>!t[e(423)])}[oe(549)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(496)][s(444)],c=a[s(410)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(609)];e++)if(s(631)===t[e][s(461)]){t[e][s(583)]=a[s(450)](n,f);const i=new X.ModelElement(t[e][s(704)][s(404)],t[e][s(704)][s(566)]());u[0][s(547)](i),f[s(694)](0),u[s(510)](i),t[e][s(481)]=a[s(450)](n,f)}else s(464)===t[e][s(461)]?(u[s(552)](),t[e][s(583)]=a[s(450)](n,f),f[s(625)](),f[f[s(609)]-1]++,t[e][s(481)]=a[s(450)](n,f)):(t[e][s(583)]=a[s(450)](n,f),d?d[s(627)]+=t[e][s(704)][s(454)]:d=new X.ModelText(t[e][s(704)][s(454)],t[e][s(704)][s(566)]()),t[e+1]&&s(585)===t[e+1][s(461)]&&v(d,t[e+1][s(704)])||(u[0][s(547)](d),d=null),f[f[s(609)]-1]+=t[e][s(704)][s(616)],t[e][s(481)]=a[s(450)](n,f));for(let e=0;e<t[s(609)];e++){const i=t[e][s(583)],n=t[e][s(481)];for(const n of t[e][s(644)])o[s(708)](n,{start:i,end:null});m(s(692),e,i,n),m(s(513),e,i,n),m(s(542),e,i,n),m(s(640),e,i,n);for(const i of t[e][s(499)]){const t=o[s(633)](i);t?t[s(649)]=n:o[s(708)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(496)][s(444)][s(525)](e[s(562)],e[s(649)]);n[s(502)][s(708)](t,i)}return r[s(687)]((t,e)=>{const i=s,r=n[i(502)][i(633)](i(703)+t.id),o=n[i(502)][i(633)](i(703)+e.id);return r[i(562)][i(579)](o[i(562)])?-1:r[i(562)][i(476)](o[i(562)])?1:r[i(649)][i(579)](o[i(649)])?-1:r[i(649)][i(476)](o[i(649)])?1:i(619)===t[i(461)]?-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(555)]:null,d=i===t[o(609)]-1,f=h[e][0],m=c[o(626)](t[i][o(704)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(649)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(555)]!==u&&(l[e][o(649)]=n,f&&f[o(555)]===l[e][o(555)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(631)!==t[i][o(461)]||f&&f[o(555)]===u||h[e][o(510)]({userId:u,object:t[i][o(704)],change:l[e]}),o(464)===t[i][o(461)]&&f&&f[o(478)]===t[i][o(704)]&&(h[e][o(552)](),l[e]=f[o(675)])),l[e]&&d&&(l[e][o(649)]=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(704)],f=a[h(410)][h(697)](d)&&!a[h(410)][h(586)](d),m=t[h(710)]==o[h(582)]&&o[h(656)];if(f&&m)return;const p=a[h(525)](t,o),v=e[h(633)](u),g=new Kt({author:v,type:h(640)==l||h(513)==l?h(619):h(501),data:{isSuggestion:h(513)==l||h(692)==l},createdAt:new Date,rootName:i});r[h(694)](g),n[h(502)][h(708)](h(703)+g.id,p)}function v(t,e){const i=s,n=t[i(566)](),r=e[i(566)]();for(const t of n){if(t[1]!==e[i(485)](t[0]))return!1;r[i(452)]()}return r[i(452)]()[i(534)]}}[oe(655)](){const t=oe;this[t(496)][t(417)][t(613)](t(654))[t(558)]({view:t(661)}),this[t(496)][t(417)][t(613)](t(618))[t(567)]({model:t(661),view:e=>{const i=t,s=e[i(702)][i(484)](":")[1],n=this[i(471)](s);if(!n)return null;const r=i(619)==n[i(461)]?i(663):i(400),o=[i(509),i(576)+r];return n[i(454)][i(569)]&&o[i(694)](i(576)+r+i(588)),this[i(648)]==n&&o[i(694)](i(615)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(496)][t(417)][t(613)](t(654))[t(619)](e=>{const i=t;e.on(i(650),(t,e,s)=>{const n=i,r=e[n(683)][n(406)](0);if(!r||!r.is(n(643),n(691)))return;if(!s[n(617)][n(632)](r,{attributes:[n(674),n(614)]}))return;const o=e[n(540)][n(562)][n(710)];s[n(460)][n(428)](n(674),r[n(485)](n(674)),o),s[n(460)][n(428)](n(614),r[n(485)](n(614)),o)},{priority:i(518)})}),this[t(496)][t(417)][t(613)](t(654))[t(619)](e=>{const i=t;e.on(i(643),(t,e,s)=>{const n=i;if(!s[n(617)][n(632)](e[n(683)],{attributes:[n(674),n(614)]}))return;if(e[n(540)][n(645)])return;const r=e[n(540)][n(562)][n(710)];r[n(620)](n(674))||r[n(620)](n(472))||(s[n(460)][n(428)](n(674),e[n(683)][n(485)](n(674)),r),s[n(460)][n(428)](n(614),e[n(683)][n(485)](n(614)),r))},{priority:i(518)})}),this[t(496)][t(417)][t(613)](t(654))[t(639)]({view:{name:t(486),attributes:{vid:!0}},model:{key:t(472),value:e=>e[t(485)](t(472))}}),this[t(496)][t(444)][t(410)].on(t(465),(e,[,i])=>{const s=t;[s(674),s(614),s(472)][s(414)](i)&&(e[s(584)]=!0,e[s(699)]())},{priority:t(412)}),this[t(496)][t(417)][t(613)](t(500))[t(619)](e=>{const i=t;e.on(i(686),(t,e,s)=>{const n=i;if(" "!=e[n(704)][n(454)]||e[n(704)][n(582)][n(581)]>1)return;if(!s[n(617)][n(632)](e[n(704)],t[n(404)]))return;const r=s[n(460)],o=s[n(550)][n(453)](e[n(430)]);r[n(438)](o,r[n(491)](n(486)))})}),this[t(496)][t(417)][t(613)](t(500))[t(437)]({model:t(661)}),this[t(496)][t(445)][t(515)].on(t(607),function(e){const i=t,s=e[i(392)][i(633)](i(706));return(t,n,r)=>{const o=i,a=n[o(702)][o(484)](":")[1],c=s[o(471)](a);if(!c)return null;const u=o(619)==c[o(461)]?o(484):o(707);if(!r[o(617)][o(529)](n[o(666)],t[o(404)]))return;const l=n[o(666)][o(671)](),h=n[o(666)][o(562)],d=e[o(444)][o(410)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(704)];p=p||d[o(677)](e);const i=r[o(550)][o(662)](e);if(i&&i[o(596)](o(489)))return;o(464)==t[o(461)]&&d[o(697)](e)&&!d[o(586)](e)&&(e[o(446)]||h[o(560)]?f&&f[o(582)]==e||(f=e,g(t[o(583)]),v=!0):m=m||t[o(583)])}function g(t){const e=o,i=r[e(460)][e(570)](e(486),{class:e(576)+u}),a=r[e(550)][e(467)](t);c[e(454)][e(569)]&&r[e(460)][e(701)](e(576)+u+e(588),i),s[e(648)]==c&&r[e(460)][e(701)](e(615),i),r[e(460)][e(623)](a,i),r[e(550)][e(574)](i,n[e(702)])}p||v||!m||g(m)}}(this[t(496)]),{priority:t(593)}),this[t(496)][t(445)][t(515)].on(t(387),(e,i,s)=>{const n=t,r=s[n(550)][n(535)](i[n(702)]);if(r)for(const t of r)(t[n(519)](n(477))||t[n(519)](n(605)))&&(s[n(550)][n(522)](t,i[n(702)]),s[n(460)][n(501)](t))},{priority:t(593)}),this[t(496)][t(445)][t(515)].on(t(607),(e,i,s)=>{const n=t,r=i[n(702)][n(484)](":")[1],o=this[n(471)](r);if(!o)return null;const a=n(619)==o[n(461)]?n(484):n(707);if(s[n(617)][n(529)](i[n(666)],e[n(404)]))for(const t of i[n(666)][n(506)]()){if(!t.is(n(643),n(638)))continue;const e=s[n(460)][n(570)](n(486),{class:n(576)+a}),r=s[n(550)][n(467)](this[n(496)][n(444)][n(536)](t));o[n(454)][n(569)]&&s[n(460)][n(701)](n(576)+a+n(588),e),this[n(648)]==o&&s[n(460)][n(701)](n(615),e),s[n(460)][n(623)](r,e),s[n(550)][n(574)](e,i[n(702)])}},{priority:t(593)}),this[t(496)][t(444)][t(667)].on(t(675),()=>{const e=t;this[e(496)][e(445)][e(568)][e(675)](t=>{const i=e;for(const e of this[i(496)][i(444)][i(667)][i(524)]()){const s=this[i(496)][i(444)][i(667)][i(426)](e),n=this[i(496)][i(445)][i(568)][i(667)][i(426)](e);if(n){const e=s[i(485)](i(463));if(t[i(700)](i(599),n),t[i(526)](i(457),n),t[i(526)](i(474),n),t[i(526)](i(548),n),e){const s=this[i(471)](e);if(!s)return null;t[i(428)](i(599),e,n),t[i(701)](i(682)+s[i(461)],n),this[i(648)]==s&&t[i(701)](i(548),n)}}}})}),this[t(496)][t(417)][t(613)](t(654))[t(558)]({view:t(435),model:e=>t(554)+e,converterPriority:t(412)}),this[t(496)][t(417)][t(613)](t(654))[t(558)]({view:t(409),model:e=>t(425)+e,converterPriority:t(412)}),this[t(496)][t(417)][t(613)](t(500))[t(437)]({model:t(537),view:e=>({name:t(591)+e,group:t(537)}),converterPriority:t(412)}),this[t(496)][t(417)][t(613)](t(618))[t(567)]({model:t(537),view:e=>{const i=t,s=e[i(702)][i(484)](":")[1];return i(663)!=s&&i(400)!=s?null:{classes:[i(473),i(665)+s]}}}),this[t(496)][t(445)][t(515)].on(t(514),ue(this[t(496)],t(707)),{priority:t(593)}),this[t(496)][t(445)][t(515)].on(t(416),ue(this[t(496)],t(484)),{priority:t(593)}),this[t(496)][t(445)][t(515)].on(t(611),(e,i,s)=>{const n=t,r=s[n(550)][n(535)](i[n(702)]);if(r)for(const t of r)t.is(n(696))&&(s[n(550)][n(522)](t,i[n(702)]),s[n(460)][n(501)](t))},{priority:t(593)})}[oe(471)](t){const e=oe;return this[e(668)][e(633)](t)}[oe(415)](t){const e=oe;return this[e(434)]&&this[e(434)][e(433)](),this[e(434)]=new Bt(this[e(496)][e(483)],t),this[e(434)]}[oe(621)](){const t=oe;this[t(496)][t(444)][t(667)][t(469)][t(670)](t(661)),this.on(t(559),(e,i,s,n)=>{const r=t;n&&this[r(695)][r(501)](n),s&&(this[r(695)][r(619)]({view:s,stackId:r(592),position:{target:()=>{const t=r,e=this[t(496)][t(445)],i=this[t(471)](s[t(388)]);let n;if(i[t(454)][t(589)]){const s=e[t(568)][t(508)](i[t(393)]);n=Array[t(551)](s[t(401)]())}else{const i=this[t(496)][t(444)][t(502)][t(633)](t(703)+s[t(388)]);n=Array[t(551)](e[t(550)][t(535)](i[t(404)]))[t(523)](i=>e[t(568)][t(402)][t(597)](i))[t(523)](e=>Array[t(551)](e[t(401)]()))[t(628)]()}return this[t(394)]&&n[t(653)](e=>e[t(608)]-3<=this[t(394)].y&&e[t(507)]+3>=this[t(394)].y&&e[t(635)]-3<=this[t(394)].x&&e[t(698)]+3>=this[t(394)].x)||n[0]}}}),this[r(695)][r(490)](r(592)))}),this.on(t(427),(e,i,s,n)=>{const r=t;this[r(436)]=s?this[r(415)](s):null,this[r(496)][r(444)][r(675)](()=>{const t=r,e=this[t(496)][t(445)];n&&(n[t(454)][t(589)]?e[t(568)][t(675)](i=>{const s=t;i[s(526)](s(548),e[s(568)][s(667)][s(426)](n[s(393)]))}):e[t(405)](t(703)+n.id)),s&&(s[t(454)][t(589)]?e[t(568)][t(675)](i=>{const n=t;i[n(701)](n(548),e[n(568)][n(667)][n(426)](s[n(393)]))}):e[t(405)](t(703)+s.id))})}),this[t(602)](this[t(496)][t(445)][t(568)][t(667)],t(681),(e,i)=>{const s=t;if(this[s(648)])return;const n=this[s(413)](i[s(646)]),r=this[s(668)][s(633)](n);r?(this[s(394)]={x:i[s(419)].x,y:i[s(419)].y},this[s(436)]=this[s(415)](r)):(this[s(394)]=null,this[s(436)]=null)}),this[t(602)](this[t(496)][t(445)][t(568)][t(667)],t(658),(e,i)=>{const s=t,n=this[s(413)](i[s(646)]),r=this[s(668)][s(633)](n);r?(this[s(394)]={x:i[s(419)].x,y:i[s(419)].y},r===this[s(648)]?this[s(695)][s(693)]():this[s(648)]=r):(this[s(394)]=null,this[s(648)]=null)})}[oe(413)](t){const e=oe;do{const i=t[e(485)](e(599));if(i)return i;t=t[e(582)]}while(t);return null}[oe(652)](){const t=oe;this[t(496)][t(444)][t(675)](e=>{const i=t;for(const t of this[i(496)][i(444)][i(502)])e[i(556)](t)})}}function ue(t,e){return(i,s,n)=>{const r=ae;if(!n[r(617)][r(529)](s[r(666)],i[r(404)]))return;const o=s[r(666)][r(671)](),a=s[r(666)][r(562)],c=t[r(444)][r(410)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(704)];h=h||c[r(677)](e);const i=n[r(550)][r(662)](e);if(i&&i[r(596)](r(489)))return;r(464)==t[r(461)]&&c[r(697)](e)&&!c[r(586)](e)&&(e[r(446)]||a[r(560)]?u&&u[r(582)]==e||(u=e,f(t[r(583)]),d=!0):l=l||t[r(583)])}function f(t){const i=r,o=n[i(550)][i(467)](t),a=n[i(460)][i(570)](i(486),{class:i(665)+e});n[i(460)][i(623)](o,a),n[i(550)][i(574)](a,s[i(702)])}h||d||!l||f(l)}}class le extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(392)][e(633)](ce);this[e(571)]=!1,this[e(602)](i,e(641),()=>this[e(575)]()),this[e(602)](i,e(505),()=>this[e(575)]())}[oe(431)](){const t=oe,e=this[t(496)],i=e[t(392)][t(633)](ce),s=i[t(511)]?i[t(541)][t(647)]:null;e[t(637)][t(633)](t(456))[t(546)](s)}[oe(575)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(496)][t(392)][t(633)](ce),r=n&&s[t(688)](n[t(647)]);this[t(517)]=e&&i&&Boolean(r)}}class he extends G.Command{[oe(389)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(392)][i(633)](ce);this[i(571)]=!1,this[i(389)]=i(634)===e?1:-1,this[i(602)](s,i(641),()=>this[i(575)]()),this[i(602)](s,i(505),()=>this[i(575)]()),this[i(602)](s,i(427),()=>this[i(575)]())}[oe(431)](){const e=oe,i=this[e(496)],s=i[e(392)][e(633)](ce),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(648)]=n?s[e(541)][e(495)][e(633)](r+this[e(389)]):s[e(541)][e(495)][e(398)],s[e(648)][e(454)][e(589)])o=i[e(445)][e(568)][e(508)](s[e(648)][e(393)]);else{const t=i[e(444)][e(502)][e(633)](e(703)+s[e(648)].id);o=(0,Q.getMarkerDomElement)(i[e(445)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(575)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(496)][t(392)][t(633)](ce);this[t(517)]=!!(r&&n&&s)&&(!e||(1===this[t(389)]?i<s-1:i>0))}}function de(){const t=["for","vid_end","ck-suggestion-marker--active","offsetSize","consumable","editingDowncast","add","hasAttribute","_initInteractions","showPreviousChange","insert","abs","pop","isObject","_data","flat","loadRevisionData","_refreshStartEndIndex","elementStart","consume","get","forward","left","_setChanges","config","softBreak","elementToAttribute","isAdded","change:isReady","has","element","markersStart","isCollapsed","target","newRevisionId","activeChange","end","element:pre","all","_cleanMarkers","find","upcast","_setConversion","isAtStart","_makeModelFromViewString","mousedown","4BmGbOl","resolve","revision","toViewElement","insertion","index","ck-suggestion-preview-marker-","markerRange","document","_changeIdToChange","then","observeMarkers","getWalker","requires","level","vid_start","change","_getDiff","isContent","change:numberOfChanges","1039815SvXBog","side","mouseover","ck-revision-history-root-","viewItem","catch","2330Bfptxz","attribute:vid","sort","getLaterVisibleRevision","backward","isPremiumPlugin","code","isRemoveSuggestion","updatePosition","push","_balloon","uiElement","isBlock","right","stop","removeAttribute","addClass","markerName","revision:","item","startIndex","RevisionViewer","merge","set","21PTPNRr","nodeAfter","init","addRoot","_update","removeMarker:revision","changeId","_step","getRevisionDocumentData","error","plugins","rootName","_activeViewTarget","createRangeIn","442SZDfTz","indexOf","first","_setDistance","deletion","getClientRects","domConverter","attributesAfter","name","reconvertMarker","getChild","WidgetToolbarRepository","oldRevisionId","suggestion","schema","addRevisionData","highest","_findChangeIdFromDomTarget","includes","_getViewForChange","addMarker:revision-suggestion:insertion","conversion","isNavigationMode","domEvent","1040262lyPhbK","RevisionHistoryUtils","addRevision","isIncorrect","showNextChange","revision-suggestion:","getRoot","change:activeChange","setAttribute","isInline","range","execute","_markMarkers","destroy","_changeView","comment","activeView","markerToData","wrap","delete","restoreRevision","isOfficialPlugin","revision-viewer","forEach","model","editing","nextSibling","detachRoot","values","2238864RnNsGJ","createPositionFromPath","repository","next","toViewRange","data","ck-editor__editable__overlay","revisionHistory","ck-revision-history-root-add","attributes","_removeMissingPairs","writer","type","insertions","revisionHistoryAttachChange","elementEnd","checkAttribute","pluginName","toViewPosition","adapter","selection","slice","_getChangeFromId","vid","ck-suggestion-preview-marker","ck-revision-history-root-remove","_makeTape","isAfter","ck-suggestion-marker-split","object","getRevisionRootsAttributes","clear","nextPosition","string","locale","split","getAttribute","span","_revisions","29942ysAgvB","addHighlight","showStack","createAttributeElement","attributesBefore","isEqual","distance","changes","editor","keys","_removeUnsupportedChanges","markersEnd","dataDowncast","remove","markers","attachChange","520515xQIsjk","change:isEnabled","getItems","bottom","getDomRoot","ck-suggestion-marker","unshift","isReady","isAttached","isAddSuggestion","addMarker:revision-suggestion:deletion","downcastDispatcher","pairId","isEnabled","low","hasClass","_processTape","filter","unbindElementFromMarkerName","map","getRootNames","createRange","removeClass","_fixObsoleteTags","commands","test","enableReadOnlyMode","startsWith","compare","numberOfChanges","done","markerNameToElements","createPositionBefore","revision-suggestion","enqueueChange","_markSuggestions","modelRange","diff","isRemoved","authors","endIndex","diffData","restoreRevisionCallback","_appendChild","ck-revision-history-root--active","_makeModelFromTape","mapper","from","shift","1348TDhOqk","revision-comment:","userId","removeMarker","_utils","dataToMarker","change:activeView","isAtEnd","_getRevisionsRange","start","splice","_threeWayMerge","forceDisabled","getAttributes","markerToHighlight","view","isSuggestion","createUIElement","affectsData","currentChangeNumber","getRevision","bindElementToMarker","refresh","ck-suggestion-marker-","roots","_sortAndFilterDiffChanges","isBefore","_markMismatchedRemovedTags","maxOffset","parent","previousPosition","return","text","isLimit","POSITIVE_INFINITY","-new","isOnRoot","729267ZLkmmp","suggestion:","revisionHistoryLabel","high","bind","concat","getCustomProperty","mapViewToDom","createRevision","data-change-id","getIndex","_joinTapes","listenTo","findIndex","deletions","ck-suggestion-marker-merge","_markInsertions","addMarker:revision","top","length","_cleanUp","removeMarker:revision-suggestion","RevisionsRepository"];return(de=function(){return t})()}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=At().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(t,e){const i=ve();return(pe=function(t,e){return i[t-=366]})(t,e)}function ve(){const t=["isReady","80mbagUW","7398360DFcOeF","div","Loading...","forward","_statusText","fire","isBackwardNavigationEnabled","ck-revision-history-ui__changes-navigation","X_OF_Y_CHANGES","187bzMCIy","Total","execute","numberOfChanges","34470qDgOFn","ck-revision-history-ui__changes-navigation__wrapper","set","ck-revision-history-ui__changes-navigation__navigation","5914545tTjGHZ","_isStatusLabelVisible","ck-revision-history-ui","806739mHunij","currentChangeNumber","backward","isForwardNavigationEnabled","ck-revision-history-ui__changes-navigation__label","1587444cGJOpY","Show next change","1739092NvewnF","ck-hidden","NUMBER_OF_CHANGES","bindTemplate","No changes","isNavigationMode","isEnabled","2iutnBN","setTemplate","153948tMqSjw","EDIT_X_OF_Y_REVISIONS","783ngmpRP","3mivudt","span","bind","Show previous change"];return(ve=function(){return t})()}!function(t){const e=pe,i=t();for(;;)try{if(603234===parseInt(e(402))/1*(parseInt(e(371))/2)+parseInt(e(376))/3*(-parseInt(e(409))/4)+parseInt(e(381))/5*(parseInt(e(373))/6)+parseInt(e(399))/7+parseInt(e(382))/8+-parseInt(e(375))/9*(-parseInt(e(395))/10)+parseInt(e(391))/11*(-parseInt(e(407))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ve);class ge extends It.View{constructor(t){const e=pe;super(t);const i=this[e(367)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(397)](e(369),!1),this[e(397)](e(380),!1),this[e(397)](e(403),0),this[e(397)](e(394),0),this[e(397)](e(405),!1),this[e(397)](e(388),!1),this[e(378)](e(400)).to(this,e(380),this,e(394),(t,e)=>t&&e>0),this[e(378)](e(386)).to(this,e(380),this,e(403),this,e(394),this,e(369),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(384));if(!n)return at(t,o(368));const a=at(t,o(366),n);return r?at(t,o(390),[s+1,n]):a}),s[e(397)]({label:at(t,e(379)),tooltip:!0,icon:_t.IconChevronUp}),n[e(397)]({label:at(t,e(408)),tooltip:!0,icon:_t.IconChevronDown}),s[e(378)](e(370)).to(this,e(388)),n[e(378)](e(370)).to(this,e(405)),s.on(e(393),()=>this[e(387)](e(393),e(404))),n.on(e(393),()=>this[e(387)](e(393),e(385))),this[e(372)]({tag:e(383),attributes:{class:["ck",e(401),e(389)]},children:[{tag:e(377),attributes:{class:[e(396)]},children:[{tag:e(377),attributes:{class:[e(406),i.if(e(400),e(410),t=>!t)]},children:[{text:i.to(e(369),i=>i?at(t,e(374))+": ":at(t,e(392))+": ")}]},{text:i.to(e(386))}]},new It.ToolbarSeparatorView,{tag:e(383),attributes:{class:[e(398)]},children:[s,n]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=At().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();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-=161]})(t,e)}!function(t){const e=we,i=t();for(;;)try{if(389513===parseInt(e(166))/1+parseInt(e(176))/2*(parseInt(e(167))/3)+parseInt(e(183))/4*(parseInt(e(180))/5)+-parseInt(e(177))/6+parseInt(e(173))/7*(-parseInt(e(165))/8)+-parseInt(e(172))/9*(parseInt(e(169))/10)+parseInt(e(163))/11*(parseInt(e(170))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ie);const _e=be(184);function Ie(){const t=["show","36230ScrAda","view","removeClass","44ubJFPb","ck-editor__editable__loading-overlay","isOfficialPlugin","pluginName","hide","RevisionViewerLoadingOverlay","change","708323MkzuZV","addClass","664472OJzspW","50643WaXEMB","470607foobVG","document","480030ZtQtlJ","60MoqJdo","editing","63eBOIMr","7mQmumt","isPremiumPlugin","roots","6krxxjU","685968BDWOdi","editor"];return(Ie=function(){return t})()}class Se extends G.Plugin{static get[be(186)](){return be(161)}static get[be(185)](){return!0}static get[be(174)](){return!0}[be(179)](){const t=be,e=this[t(178)][t(171)][t(181)];e[t(162)](i=>{const s=t;for(const t of e[s(168)][s(175)])i[s(164)](_e,t)})}[be(187)](){const t=be,e=this[t(178)][t(171)][t(181)];e[t(162)](i=>{const s=t;for(const t of e[s(168)][s(175)])i[s(182)](_e,t)})}}function Oe(t,e){const i=xe();return(Oe=function(t,e){return i[t-=442]})(t,e)}const Te=Oe;function xe(){const t=["isNavigationMode","execute","get","13064680acfVmi","hide","listenTo","showNextChange","514145SVAWWv","isBackwardNavigationEnabled","6rbCajf","8480311cBGTRa","config","componentFactory","32483RusXuD","currentChangeNumber","8384JiTBkn","isForwardNavigationEnabled","editor","plugins","set","revisionHistory","isPremiumPlugin","change:isReady","ck-revision-history-ui__back-to-editing","showPreviousChange","exitToEditing","add","changesNavigation","bind","pluginName","forward","init","restoreRevision","isEnabled","numberOfChanges","RevisionViewerUI","requires","commands","isReady","isOfficialPlugin","Restore this revision","Back to editing","7893HWyWOD","56IhBEay","22sTZEuK","show","closeRevisionViewerCallback","7080931DJrNaL","3697296ZtCmcA"];return(xe=function(){return t})()}!function(t){const e=Oe,i=t();for(;;)try{if(744867===-parseInt(e(482))/1*(-parseInt(e(464))/2)+-parseInt(e(468))/3+parseInt(e(463))/4*(parseInt(e(476))/5)+-parseInt(e(478))/6*(-parseInt(e(479))/7)+-parseInt(e(484))/8*(-parseInt(e(462))/9)+-parseInt(e(472))/10+-parseInt(e(467))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xe);class Ne extends G.Plugin{static get[Te(449)](){return Te(455)}static get[Te(459)](){return!0}static get[Te(490)](){return!0}static get[Te(456)](){return[ce,Se]}[Te(451)](){const t=Te,e=this[t(486)],i=e[t(487)][t(471)](ce),s=e[t(487)][t(471)](Se);e.ui[t(481)][t(446)](t(445),i=>{const s=t,n=new It.ButtonView(i);return n[s(488)]({label:at(i,s(461)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(443)}),this[s(474)](n,s(470),()=>{const t=s;e[t(480)][t(471)](t(489))[t(466)]()}),n}),e.ui[t(481)][t(446)](t(452),i=>{const s=t,n=new It.ButtonView(i);return n[s(488)]({label:at(i,s(460)),withText:!0,tooltip:!0}),n[s(448)](s(453)).to(e[s(457)][s(471)](s(452))),this[s(474)](n,s(470),()=>e[s(470)](s(452))),n}),e.ui[t(481)][t(446)](t(447),s=>{const n=t,r=new ge(s),o=e[n(457)][n(471)](n(444)),a=e[n(457)][n(471)](n(475));return r[n(448)](n(477)).to(o,n(453)),r[n(448)](n(485)).to(a,n(453)),r[n(448)](n(458),n(483),n(454),n(469)).to(i),this[n(474)](r,n(470),(t,i)=>{const s=n;e[s(470)](s(450)===i?s(475):s(444))}),r}),s[t(465)](),i.on(t(442),(e,i,n)=>{const r=t;n?s[r(473)]():s[r(465)]()})}}var Ae=i(815),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=At().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();Ot()(Ae.A,Re);Ae.A&&Ae.A.locals&&Ae.A.locals;const Me=Ve;function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=216]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(899568===parseInt(e(228))/1+-parseInt(e(249))/2*(-parseInt(e(220))/3)+-parseInt(e(230))/4*(-parseInt(e(223))/5)+parseInt(e(232))/6*(-parseInt(e(235))/7)+-parseInt(e(241))/8*(parseInt(e(221))/9)+parseInt(e(224))/10*(-parseInt(e(239))/11)+parseInt(e(246))/12*(parseInt(e(218))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(248)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(245)];this[i(237)]({label:at(t,i(236)),_tooltipString:""}),this[i(243)][i(238)]=at(t,i(225)),this[i(227)]({tag:i(240),attributes:{class:[i(244)],"data-cke-tooltip-text":s.to(i(217)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(234)}})}[Me(226)](){const e=Me;super[e(226)](),this[e(248)]=new t.ResizeObserver(this[e(243)][e(247)],()=>this[e(233)]()),this[e(229)](this[e(243)],e(222),()=>this[e(233)]())}[Me(231)](){const t=Me;super[t(231)](),this[t(248)]&&this[t(248)][t(231)]()}[Me(233)](){const t=Me,e=this[t(243)][t(247)];this[t(217)]=e[t(216)]>e[t(242)]&&e[t(219)]||""}}function Ee(){const t=["21390KNFmMk","_updateTooltipText","ck-tooltip_multi-line","3003cAurco","Revision name","set","placeholder","392557AwvWTx","span","32jYmPiI","clientWidth","fieldView","ck-revision-history-sidebar__revision-name","bindTemplate","36OODxnG","element","_resizeObserver","1510354hYkTin","scrollWidth","_tooltipString","3086135BAgpee","value","3WQTpET","705582VbENsW","input","5oXRlDg","110VnCuLt","Enter the revision name","render","extendTemplate","885078QvXhVc","listenTo","3130648FYPjJC","destroy"];return(Ee=function(){return t})()}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=At().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["Revision creator","4pCADcV","870947TSuuVx","ck-revision-history-sidebar__revision-author","0 0 11 10","93333QTnnXO","span","1008fTEqvH","push","917115qclQdg","393965AUqfSz","Revision author","setTemplate","set","ck-revision-history-sidebar__revision-author_creator","ck-revision-history-sidebar__revision-author__name","870672WlVgcU","2736xywqWo","name","28306LpJQXF"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=266]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(165345===-parseInt(e(273))/1+parseInt(e(267))/2+parseInt(e(277))/3*(parseInt(e(269))/4)+-parseInt(e(278))/5+-parseInt(e(284))/6+parseInt(e(270))/7+parseInt(e(275))/8*(parseInt(e(285))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const s=Le;super(t);const n=new It.IconView;n[s(281)]({content:_t.IconUser,viewBox:s(272)});const r=["ck",s(271)];i&&r[s(276)](s(282));const o=[{tag:s(274),attributes:{class:["ck",s(283)],title:at(t,s(i?268:279))},children:[n,e[s(266)]]}];this[s(280)]({tag:"li",attributes:{class:r},children:o})}}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=211]})(t,e)}function We(){var t=["long","toLocaleDateString","317074nZwSIB","2406264jVbczi","156696YjpRlM","toLocaleTimeString","157843FWaqZx","786636pJPdRl","134552TSrgGM","8NsudVA","802265hNNfCV","numeric"];return(We=function(){return t})()}!function(t){for(var e=ze,i=t();;)try{if(168498===parseInt(e(214))/1+-parseInt(e(220))/2+parseInt(e(216))/3+parseInt(e(221))/4*(parseInt(e(222))/5)+-parseInt(e(219))/6+-parseInt(e(218))/7+-parseInt(e(215))/8)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=At().bind(null,"head"),Ze.domAPI=xt(),Ze.insertStyleElement=Dt();Ot()(Ue.A,Ze);Ue.A&&Ue.A.locals&&Ue.A.locals;function He(t,e){const i=$e();return(He=function(t,e){return i[t-=337]})(t,e)}function $e(){const t=["locale","_action","Show more items","396528kCXUFa","Name this revision","set","374112xhijwA","552210UJByGt","11nHldAc","isEnabled","button","2rmHgRS","menu","execute","add","menuitem","items","change:isActionsDropdownOpen","276ZhGaNG","map","2532yWpylD","ck-revision-history-sidebar__revision__actions","buttonView","45eJqOFc","children","Compare against selected","isVisible","6293dfhqIp","isActionsDropdownOpen","function","source","extendTemplate","1119970YwUciJ","find","isReady","bindTemplate","isOpen","action","stopPropagation","panelPosition","ck-on","first","11435DWCVvu","bind","listenTo","name","listView","Restore this revision","22529136mvRmqx","class","model"];return($e=function(){return t})()}!function(t){const e=He,i=t();for(;;)try{if(303506===-parseInt(e(383))/1+parseInt(e(387))/2*(-parseInt(e(382))/3)+parseInt(e(343))/4*(-parseInt(e(367))/5)+parseInt(e(345))/6*(-parseInt(e(352))/7)+parseInt(e(379))/8*(-parseInt(e(348))/9)+parseInt(e(357))/10*(-parseInt(e(384))/11)+parseInt(e(373))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($e);var qe=i(898),Be={attributes:{"data-cke":!0}};Be.setAttributes=Mt(),Be.insert=At().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()(qe.A,Be);qe.A&&qe.A.locals&&qe.A.locals;const Je=Ge;function Ye(){const t=["unshift","ck-revision-history-sidebar__revision__controls-wrapper","220","length","unhighlight","3808434WxoFWV","isSelected","ck-disabled","13380093ocUKhR","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","uiLanguage","set","extendTemplate","bind","div","creator","ck-revision-history-sidebar__revision","_revision","isEnabled","fieldView","isReady","listenTo","bindTemplate","highlight","filter","revisionActionsView","4202DKnZEP","ck-revision-history-sidebar__revision__date","value","2346396bBmmpy","deselect","setTemplate","_createdAtFormatted","fire","span","ck-revision-history-sidebar__revision_highlighted","isHighlighted","isActionsDropdownOpen","name","ck-revision-history-sidebar__revision-authors","ck-revision-history-sidebar__actions_dropdown_open","setName","ck-revision-history-sidebar__revision-wrapper","isConfirm","srcElement","map","ck-revision-history-sidebar__revision_selected","render","createdAt","revisionNameView","from","element","5AiIzvm","874615ETlfTU",".ck-confirm-view","authors","2534452XMTsag","ck-reset","closest","8166576JpXVsz","select","849jIZzDd","_requireRevisionName","change"];return(Ye=function(){return t})()}function Ge(t,e){const i=Ye();return(Ge=function(t,e){return i[t-=497]})(t,e)}!function(t){const e=Ge,i=t();for(;;)try{if(972432===-parseInt(e(539))/1+parseInt(e(512))/2*(parseInt(e(547))/3)+-parseInt(e(542))/4*(-parseInt(e(538))/5)+-parseInt(e(515))/6+parseInt(e(555))/7+-parseInt(e(545))/8+parseInt(e(558))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ye);class Qe extends((0,Q.ConfirmMixin)(It.View)){id;[Je(535)];[Je(511)];[Je(503)];[Je(548)];constructor(e,i,s,n){const r=Je;super(e);const o=this[r(508)],a=function(t,e){const i=r,s=Array[i(536)](e[i(541)])[i(510)](t=>t!=e[i(501)]);return e[i(501)]&&s[i(550)](e[i(501)]),s[i(531)](s=>new Pe(t,s,s==e[i(501)]))}(e,i);this.id=i.id,this[r(503)]=i,this[r(548)]=n,this[r(499)](r(524),r(534)).to(i),this[r(499)](r(518)).to(this,r(534),t=>{return i=e[r(560)],(s=t)[(n=ze)(213)](i,{month:n(212),day:n(211)})+", "+s[n(217)](i,{hour:n(211),minute:n(211)});var i,s,n}),this[r(497)](r(556),!1),this[r(497)](r(522),!1),this[r(497)](r(523),!1),this[r(497)](r(506),!1),this[r(497)](r(504),!1),this[r(535)]=new De(e,It.createLabeledInputText),this[r(535)][r(505)][r(498)]({attributes:{maxlength:r(552)}}),this[r(535)][r(505)][r(499)](r(514)).to(this,r(524),t=>t||this[r(518)]),this[r(535)][r(499)](r(504)).to(this,r(556),this,r(504),(t,e)=>t&&e),this[r(511)]=s&&s[r(553)]?function(e,i){const s=He,n=e[s(360)],r=e[s(376)],o=(0,It.createDropdown)(r);o[s(364)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=He,s=t[i(376)],n={"Compare against selected":at(s,i(350)),"Name this revision":at(s,i(380)),"Restore this revision":at(s,i(372))};return e[i(344)](t=>{const e=i,s=n[t[e(370)]];return s&&s!==t[e(370)]&&(t[e(370)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(386),model:new It.UIModel({label:t[n(370)],class:t[n(374)],withText:!0,role:n(340),_action:t[n(362)]})};i[n(375)][n(368)](n(385)).to(e,n(353),i=>n(354)!=typeof t[n(385)]||!i||t[n(385)](e)),o[n(339)](i)}return o}(e,i);return e[s(368)](s(353)).to(o,s(361)),o[s(347)][s(381)]({label:at(r,s(378)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(356)]({attributes:{class:[s(346),n.if(s(353),s(365))]},on:{click:n.to(t=>t[s(363)]())}}),o.on(s(338),t=>{const i=s;e[i(359)]&&i(354)==typeof t[i(355)][i(377)]&&t[i(355)][i(377)](e)}),(0,It.addListToDropdown)(o,a,{role:s(337)}),o[s(369)](e,s(342),(t,n,r)=>{const a=s;if(r)for(const t of o[a(371)][a(341)]){const s=t[a(349)][a(366)],n=i[a(358)](t=>t[a(362)]===s[a(377)])[a(351)];t[a(351)]=void 0===n||n(e)}}),o}(this,s):"",this[r(511)]&&this[r(511)][r(499)](r(504)).to(this),this[r(517)]({tag:r(500),attributes:{class:["ck",r(543),r(528),o.if(r(529),r(559))]},children:[{tag:r(500),attributes:{class:["ck",r(543),r(502),o.if(r(504),r(557),t=>!t),o.if(r(556),r(532)),o.if(r(522),r(521)),o.if(r(523),r(526))]},children:[this[r(535)],{tag:r(520),attributes:{class:["ck",r(513)]},children:[{text:o.to(r(518))}]},{tag:r(500),attributes:{class:["ck",r(551)]},children:[{tag:"ul",attributes:{class:["ck",r(525)]},children:a}]},this[r(511)]],on:{click:o.to(t=>{const e=r;t[e(530)][e(544)](e(540))||this[e(506)]&&this[e(504)]&&this[e(519)](e(546),{id:this.id})})}}]})}[Je(533)](){const t=Je;super[t(533)]();const e=this[t(535)][t(505)][t(537)];this[t(507)](e,t(549),()=>{const i=t;this[i(548)]&&!e[i(514)]||this[i(519)](i(527),{id:this.id,name:e[i(514)]}),e[i(514)]||(e[i(514)]=this[i(524)]?this[i(524)]:this[i(518)])})}[Je(546)](){this[Je(556)]=!0}[Je(516)](){this[Je(556)]=!1}[Je(509)](){this[Je(522)]=!0}[Je(554)](){this[Je(522)]=!1}}class Xe extends Error{}class Ke extends Xe{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class ti extends Xe{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class ei extends Xe{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Xe{}class si extends Xe{constructor(t){super(`Invalid unit ${t}`)}}class ni extends Xe{}class ri extends Xe{constructor(){super("Zone is an abstract class")}}const oi="numeric",ai="short",ci="long",ui={year:oi,month:oi,day:oi},li={year:oi,month:ai,day:oi},hi={year:oi,month:ai,day:oi,weekday:ai},di={year:oi,month:ci,day:oi},fi={year:oi,month:ci,day:oi,weekday:ci},mi={hour:oi,minute:oi},pi={hour:oi,minute:oi,second:oi},vi={hour:oi,minute:oi,second:oi,timeZoneName:ai},gi={hour:oi,minute:oi,second:oi,timeZoneName:ci},yi={hour:oi,minute:oi,hourCycle:"h23"},ki={hour:oi,minute:oi,second:oi,hourCycle:"h23"},bi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ai},wi={hour:oi,minute:oi,second:oi,hourCycle:"h23",timeZoneName:ci},_i={year:oi,month:oi,day:oi,hour:oi,minute:oi},Ii={year:oi,month:oi,day:oi,hour:oi,minute:oi,second:oi},Si={year:oi,month:ai,day:oi,hour:oi,minute:oi},Oi={year:oi,month:ai,day:oi,hour:oi,minute:oi,second:oi},Ti={year:oi,month:ai,day:oi,weekday:ai,hour:oi,minute:oi},xi={year:oi,month:ci,day:oi,hour:oi,minute:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ai={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ks(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 Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return Ks(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=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[s,n,r,o,a,c,u]=i.formatToParts?function(t,e){const i=t.formatToParts(e),s=[];for(let t=0;t<i.length;t++){const{type:e,value:n}=i[t],r=Ci[e];"era"===e?s[r]=n:Vs(r)||(s[r]=parseInt(n,10))}return s}(i,e):function(t,e){const i=t.format(e).replace(/\u200E/g,""),s=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(i),[,n,r,o,a,c,u,l]=s;return[o,n,r,a,c,u,l]}(i,e);"BC"===o&&(s=1-Math.abs(s));let l=+e;const h=l%1e3;return l-=h>=0?h:1e3+h,(Ys({year:s,month:n,day:r,hour:24===a?0:a,minute:c,second:u,millisecond:0})-l)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let Li={};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 $i(t){let e=Hi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Hi.set(t,e)),e}const qi=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Ji{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=Wi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),Wi.set(i,s)),s}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return Ws(this.floor?Math.floor(t):$s(t,3),this.padTo)}}class Yi{constructor(t,e,i){let s;if(this.opts=i,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,i=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&ji.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=zi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Qi={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(),qi.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"===$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,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 Ji(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new Yi(t,this.intl,e)}relFormatter(t={}){return new Gi(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const i=JSON.stringify([t,e]);let s=Li[i];return s||(s=new Intl.ListFormat(t,e),Li[i]=s),s}(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:Fs()?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={...Qi,...e}),qi.set(t,e)}return e}(this.locale):Qi}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 Ki=null;class ts extends Mi{static get utcInstance(){return null===Ki&&(Ki=new ts(0)),Ki}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?Di.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||ji.create(t)}return Ds(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,Di.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(),ji.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+(qs(t)?ks:ys)[e-1]}function Is(t,e){const i=qs(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=Qs(c,e,i)):u>Qs(s,e,i)?(c=s+1,u=1):c=s,{weekYear:c,weekNumber:u,weekday:a,...rn(t)}}function Ts(t,e=4,i=1){const{weekYear:s,weekNumber:n,weekday:r}=t,o=Ss(ws(s,1,e),i),a=Bs(s);let c,u=7*n+r-o-7+e;u<1?(c=s-1,u+=Bs(c)):u>a?(c=s+1,u-=Bs(s)):c=s;const{month:l,day:h}=Is(c,u);return{year:c,month:l,day:h,...rn(t)}}function xs(t){const{year:e,month:i,day:s}=t;return{year:e,ordinal:_s(e,i,s),...rn(t)}}function Ns(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function As(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Es(t.year),i=zs(t.month,1,12),s=zs(t.day,1,Js(t.year,t.month));return e?i?!s&&bs("day",t.day):bs("month",t.month):bs("year",t.year)}function Ms(t){const{hour:e,minute:i,second:s,millisecond:n}=t,r=zs(e,0,23)||24===e&&0===i&&0===s&&0===n,o=zs(i,0,59),a=zs(s,0,59),c=zs(n,0,999);return r?o?a?!c&&bs("millisecond",n):bs("second",s):bs("minute",i):bs("hour",e)}function Vs(t){return void 0===t}function Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function js(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ls(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 Es(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 $s(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function qs(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return qs(t)?366:365}function Js(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?qs(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Ys(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Qs(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 Ks(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(Ls(t,s)){const n=t[s];if(null==n)continue;i[e(s)]=en(n)}return i}function nn(t,e){const i=Math.trunc(Math.abs(t/60)),s=Math.trunc(Math.abs(t%60)),n=t>=0?"+":"-";switch(e){case"short":return`${n}${Ws(i,2)}:${Ws(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${Ws(i,2)}${Ws(s,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function rn(t){return function(t,e){return e.reduce((e,i)=>(e[i]=t[i],e),{})}(t,["hour","minute","second","millisecond"])}const on=["January","February","March","April","May","June","July","August","September","October","November","December"],an=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],cn=["J","F","M","A","M","J","J","A","S","O","N","D"];function un(t){switch(t){case"narrow":return[...cn];case"short":return[...an];case"long":return[...on];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const ln=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],hn=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],dn=["M","T","W","T","F","S","S"];function fn(t){switch(t){case"narrow":return[...dn];case"short":return[...hn];case"long":return[...ln];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const mn=["AM","PM"],pn=["Before Christ","Anno Domini"],vn=["BC","AD"],gn=["B","A"];function yn(t){switch(t){case"narrow":return[...gn];case"short":return[...vn];case"long":return[...pn];default:return null}}function kn(t,e){let i="";for(const s of t)s.literal?i+=s.val:i+=e(s.val);return i}const bn={D:ui,DD:li,DDD:di,DDDD:fi,t:mi,tt:pi,ttt:vi,tttt:gi,T:yi,TT:ki,TTT:bi,TTTT:wi,f:_i,ff:Si,fff:xi,ffff:Ai,F:Ii,FF:Oi,FFF:Ni,FFFF:Ri};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return Ws(t,e);const i={...this.opts};return e>0&&(i.padTo=e),this.loc.numberFormatter(i).format(t)}formatDateTimeFromString(t,e){const i="en"===this.loc.listingMode(),s=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(e,i)=>this.loc.extract(t,e,i),r=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",o=()=>i?function(t){return mn[t.hour<12?0:1]}(t):n({hour:"numeric",hourCycle:"h12"},"dayperiod"),a=(e,s)=>i?function(t,e){return un(e)[t.month-1]}(t,e):n(s?{month:e}:{month:e,day:"numeric"},"month"),c=(e,s)=>i?function(t,e){return fn(e)[t.weekday-1]}(t,e):n(s?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),u=e=>{const i=wn.macroTokenToFormatOpts(e);return i?this.formatWithSystemDefault(t,i):e},l=e=>i?function(t,e){return yn(e)[t.year<0?0:1]}(t,e):n({era:e},"era");return kn(wn.parseFormat(e),e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return r({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return r({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return r({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return o();case"d":return s?n({day:"numeric"},"day"):this.num(t.day);case"dd":return s?n({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?n({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?n({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return s?n({month:"numeric"},"month"):this.num(t.month);case"MM":return s?n({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return s?n({year:"numeric"},"year"):this.num(t.year);case"yy":return s?n({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?n({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?n({year:"numeric"},"year"):this.num(t.year,6);case"G":return l("short");case"GG":return l("long");case"GGGGG":return l("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return u(e)}})}formatDurationFromString(t,e){const i=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=wn.parseFormat(e),n=s.reduce((t,{literal:e,val:i})=>e?t:t.concat(i),[]);return kn(s,(t=>e=>{const s=i(e);return s?this.num(t.get(s),e.length):e})(t.shiftTo(...n.map(i).filter(t=>t))))}}const _n=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function In(...t){const e=t.reduce((t,e)=>t+e.source,"");return RegExp(`^${e}$`)}function Sn(...t){return e=>t.reduce(([t,i,s],n)=>{const[r,o,a]=n(e,s);return[{...t,...r},o||i,a]},[{},null,1]).slice(0,2)}function On(t,...e){if(null==t)return[null,null];for(const[i,s]of e){const e=i.exec(t);if(e)return s(e)}return[null,null]}function Tn(...t){return(e,i)=>{const s={};let n;for(n=0;n<t.length;n++)s[t[n]]=Us(e[i+n]);return[s,null,i+n]}}const xn=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,Nn=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,An=RegExp(`${Nn.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${An.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),Dn=RegExp(`${Nn.source} ?(?:${xn.source}|(${_n.source}))?`),En=RegExp(`(?: ${Dn.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 jn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Ln(t,e){return[{},t[e]?ji.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 $n(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 qn=/^(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$/,Jn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Yn(t){const[,e,i,s,n,r,o,a]=t;return[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 Qn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Kn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(An),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,jn,Ln),ir=Sn(Mn,Fn,jn,Ln),sr=Sn(Vn,Fn,jn,Ln),nr=Sn(Fn,jn,Ln);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,En),ar=In(Dn),cr=Sn(Fn,jn,Ln);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(Ds(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+=$s(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)(Ls(e.values,t)||Ls(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;Ds(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ds(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:e=null}={}){return(e||Xi.create(t)).getWeekendDays().slice()}static months(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null,outputCalendar:n="gregory"}={}){return(s||Xi.create(e,i,n)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:i=null,locObj:s=null}={}){return(s||Xi.create(e,i,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return Xi.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return Xi.create(e,null,"gregory").eras(t)}static features(){return{relative:Cs(),localeWeek:Fs()}}}function Sr(t,e){const i=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),s=i(e)-i(t);return Math.floor(br.fromMillis(s).as("days"))}function Or(t,e,i,s){let[n,r,o,a]=function(t,e,i){const s=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const i=Sr(t,e);return(i-i%7)/7}],["days",Sr]],n={},r=t;let o,a;for(const[c,u]of s)i.indexOf(c)>=0&&(o=c,n[c]=u(t,e),a=r.plus(n),a>e?(n[c]--,(t=r.plus(n))>e&&(a=t,n[c]--,t=r.plus(n))):t=a);return[t,n,a,o]}(t,e,i);const c=e-n,u=i.filter(t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0);0===u.length&&(o<e&&(o=n.plus({[a]:1})),o!==n&&(r[a]=(r[a]||0)+c/(o-n)));const l=br.fromObject(r,s);return u.length>0?br.fromMillis(c,s).shiftTo(...u).plus(l):l}function Tr(t,e=t=>t){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let i=0;i<t.length;i++){const s=t.charCodeAt(i);if(-1!==t[i].search(ss.hanidec))e+=rs.indexOf(t[i]);else for(const t in ns){const[i,n]=ns[t];s>=i&&s<=n&&(e+=s-i)}}return parseInt(e,10)}return e}(t))}}const xr=`[ ${String.fromCharCode(160)}]`,Nr=new RegExp(xr,"g");function Ar(t){return t.replace(/\./g,"\\.?").replace(Nr,xr)}function Rr(t){return t.replace(/\./g,"").replace(Nr," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Ar).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,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 Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ls(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=ji.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=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(Ls(i,"a")&&Ls(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 Lr(t,e,i){return new jr(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=Er[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 $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 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 Jr(t,e,i){return qr(Ys(t),e,i)}function Yr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Js(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Ys(r);let[c,u]=qr(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 Qr(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 Kr(t,e,i,s,n,r){let o=Ws(t.c.hour);return e?(o+=":",o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=Ws(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=Ws(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=Ws(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=Ws(Math.trunc(-t.o/60)),o+=":",o+=Ws(Math.trunc(-t.o%60))):(o+="+",o+=Ws(Math.trunc(t.o/60)),o+=":",o+=Ws(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Jr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=$s(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=Ds(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(Ds(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(Ds(t))return new fo({ts:1e3*t,zone:is(e.zone,vs.defaultZone),loc:Xi.fromObject(e)});throw new ni("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e),n=sn(t,oo),{minDaysInFirstWeek:r,startOfWeek:o}=As(n,s),a=vs.now(),c=Vs(e.specificOffset)?i.offset(a):e.specificOffset,u=!Vs(n.ordinal),l=!Vs(n.year),h=!Vs(n.month)||!Vs(n.day),d=l||h,f=n.weekYear||n.weekNumber;if((d||u)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new ii("Can't mix ordinal dates with month/day");const m=f||n.weekday&&!d;let p,v,g=Br(a,c);m?(p=no,v=eo,g=Os(g,r,o)):u?(p=ro,v=io,g=xs(g)):(p=so,v=to);let y=!1;for(const t of p){Vs(n[t])?n[t]=y?v[t]:g[t]:y=!0}const k=m?function(t,e=4,i=1){const s=Es(t.weekYear),n=zs(t.weekNumber,1,Qs(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=Es(t.year),i=zs(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?Ns(n):n,[_,I]=Jr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Qn,er],[Xn,ir],[Kn,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,$n])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[qn,Yn],[Bn,Yn],[Jn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=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}=Lr(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 Ke(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=Ys(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=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 qs(this.year)}get daysInMonth(){return Js(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Qs(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Qs(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Jr(i,e,t)}return $r(this,{ts:s,zone:t})}return fo.invalid(Ur(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=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=As(e,this.loc),n=!Vs(e.weekYear)||!Vs(e.weekNumber)||!Vs(e.weekday),r=!Vs(e.ordinal),o=!Vs(e.year),a=!Vs(e.month)||!Vs(e.day),c=o||a,u=e.weekYear||e.weekNumber;if((c||r)&&u)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&r)throw new ii("Can't mix ordinal dates with month/day");let l;n?l=Ts({...Os(this.c,i,s),...e},i,s):Vs(e.ordinal)?(l={...this.toObject(),...e},Vs(e.day)&&(l.day=Math.min(Js(l.year,l.month),l.day))):l=Ns({...xs(this.c),...e});const[h,d]=Jr(l,this.o,this.zone);return $r(this,{ts:h,o:d})}plus(t){if(!this.isValid)return this;return $r(this,Yr(this,br.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return $r(this,Yr(this,br.fromDurationLike(t).negate()))}startOf(t,{useLocaleWeeks:e=!1}={}){if(!this.isValid)return this;const i={},s=br.normalizeUnit(t);switch(s){case"years":i.month=1;case"quarters":case"months":i.day=1;case"weeks":case"days":i.hour=0;case"hours":i.minute=0;case"minutes":i.second=0;case"seconds":i.millisecond=0}if("weeks"===s)if(e){const t=this.loc.getStartOfWeek(),{weekday:e}=this;e<t&&(i.weekNumber=this.weekNumber-1),i.weekday=t}else i.weekday=1;if("quarters"===s){const t=Math.ceil(this.month/3);i.month=3*(t-1)+1}return this.set(i)}endOf(t,e){return this.isValid?this.plus({[t]:1}).startOf(t,e).minus(1):this}toFormat(t,e={}){return this.isValid?wn.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):zr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):zr}toLocaleParts(t={}){return this.isValid?wn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:i=!1,includeOffset:s=!0,extendedZone:n=!1}={}){if(!this.isValid)return null;const r="extended"===t;let o=Xr(this,r);return o+="T",o+=Kr(this,r,e,i,s,n),o}toISODate({format:t="extended"}={}){return this.isValid?Xr(this,"extended"===t):null}toISOWeekDate(){return Qr(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":"")+Kr(this,"extended"===r,e,t,i,n)}toRFC2822(){return Qr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Qr(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")),Qr(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(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 jr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0});if(!r.equals(e.locale))throw new ni(`fromFormatParser called with a locale of ${r}, but the format parser was created for ${e.locale}`);const{result:o,zone:a,specificOffset:c,invalidReason:u}=e.explainFromTokens(t);return u?fo.invalid(u):Gr(o,a,i,`format ${e.format}`,t,c)}static get DATE_SHORT(){return ui}static get DATE_MED(){return li}static get DATE_MED_WITH_WEEKDAY(){return hi}static get DATE_FULL(){return di}static get DATE_HUGE(){return fi}static get TIME_SIMPLE(){return mi}static get TIME_WITH_SECONDS(){return pi}static get TIME_WITH_SHORT_OFFSET(){return vi}static get TIME_WITH_LONG_OFFSET(){return gi}static get TIME_24_SIMPLE(){return yi}static get TIME_24_WITH_SECONDS(){return ki}static get TIME_24_WITH_SHORT_OFFSET(){return bi}static get TIME_24_WITH_LONG_OFFSET(){return wi}static get DATETIME_SHORT(){return _i}static get DATETIME_SHORT_WITH_SECONDS(){return Ii}static get DATETIME_MED(){return Si}static get DATETIME_MED_WITH_SECONDS(){return Oi}static get DATETIME_MED_WITH_WEEKDAY(){return Ti}static get DATETIME_FULL(){return xi}static get DATETIME_FULL_WITH_SECONDS(){return Ni}static get DATETIME_HUGE(){return Ai}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Ds(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-=407]})(t,e)}function vo(){const t=["25jMpABw","7660910zoltFo","local","hasSame","934626hCyhFr","301056GzNoyS","4wLGrVG","613052RVZSDm","953460cdcXqE","325924dvrRcK","fromJSDate","year","983928aMoIpF","month","9fnmXMU","week","setLocale","monthLong","startOf","toJSDate","day","weekdayLong","toRelativeCalendar","minus"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(425)](t)[i(407)](e),n=fo[i(417)](),r=n[i(414)]({days:1})[i(409)](i(411));let o,a;return s[i(418)](n,i(411))?(o=s[i(409)](i(411))[i(410)](),a=s[i(413)]()):s[i(418)](r,i(411))?(o=r[i(410)](),a=s[i(413)]()):s[i(418)](n,i(430))?(o=s[i(409)](i(430))[i(410)](),a=s[i(412)]||""):s[i(418)](n,i(426))?(o=s[i(409)](i(428))[i(410)](),a=s[i(408)]||""):(o=s[i(409)](i(426))[i(410)](),a=String(s[i(426)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(188520===-parseInt(e(424))/1+parseInt(e(422))/2+-parseInt(e(423))/3*(parseInt(e(421))/4)+parseInt(e(415))/5*(-parseInt(e(420))/6)+parseInt(e(419))/7+-parseInt(e(427))/8+parseInt(e(429))/9*(parseInt(e(416))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vo);var yo=i(52),ko={attributes:{"data-cke":!0}};ko.setAttributes=Mt(),ko.insert=At().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;function bo(){const t=["locale","div","delegate","removeRevision","1013246gVonOO","localizedPeriodName","_requireRevisionName","find","setTemplate","1129116rjbcjj","startDate","4151716AZKTZE","remove","591840Rzszxe","addRevision","ck-revision-history-sidebar__time-period__revisions","add","118764VjeBMn","uiLanguage","7mVXQkc","16zEzJbG","span","ck-revision-history-sidebar__time-period__label","_revisionActions","setName","ck-revision-history-sidebar__time-period","revisionViews","select","8789553NRPyLG","5372124hseQmd","createCollection"];return(bo=function(){return t})()}const wo=_o;function _o(t,e){const i=bo();return(_o=function(t,e){return i[t-=499]})(t,e)}!function(t){const e=_o,i=t();for(;;)try{if(760498===parseInt(e(514))/1+-parseInt(e(509))/2+parseInt(e(522))/3+parseInt(e(516))/4+parseInt(e(518))/5+-parseInt(e(503))/6*(-parseInt(e(524))/7)+parseInt(e(525))/8*(-parseInt(e(502))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(bo);class Io extends It.View{[wo(515)];[wo(500)];[wo(528)];[wo(511)];constructor(t,e,i,s){const n=wo;super(t);const r=go(e,this[n(505)][n(523)])[n(510)];this[n(515)]=e,this[n(500)]=this[n(504)](),this[n(528)]=i,this[n(511)]=s,this[n(500)][n(507)](n(501)).to(this),this[n(500)][n(507)](n(529)).to(this),this[n(513)]({tag:n(506),attributes:{class:["ck",n(499)]},children:[{tag:n(526),attributes:{class:["ck",n(527)]},children:[{text:r}]},{tag:n(506),attributes:{class:["ck",n(520)]},children:this[n(500)]}]})}[wo(519)](t){const e=wo,i=new Qe(this[e(505)],t,this[e(528)],this[e(511)]);this[e(500)][e(521)](i)}[wo(508)](t){const e=wo,i=this[e(500)][e(512)](e=>e.id===t.id);this[e(500)][e(517)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=At().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();Ot()(So.A,Oo);So.A&&So.A.locals&&So.A.locals;function To(t,e){const i=xo();return(To=function(t,e){return i[t-=420]})(t,e)}function xo(){const t=["Revision history","content","setTemplate","34135KYAveB","3180438juGORz","div","490302SyWpFO","2086721cRSfOK","span","ck-reset_all","ck-revision-history-sidebar__header","2810400qPrzhd","124DGJhvK","365140tjxBbk","ck-revision-history-sidebar__header__label","507416IuePfY","4JbcaGN"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(303183===parseInt(e(435))/1+-parseInt(e(421))/2*(parseInt(e(428))/3)+-parseInt(e(434))/4*(parseInt(e(425))/5)+parseInt(e(433))/6+parseInt(e(429))/7+parseInt(e(420))/8+-parseInt(e(426))/9)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(423)]=_t.IconHistory,this[e(424)]({tag:e(427),attributes:{class:["ck",e(431),e(432)]},children:[i,{tag:e(430),attributes:{class:["ck",e(436)]},children:[at(t,e(422))]}]})}}var Ao=i(692),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=At().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();Ot()(Ao.A,Ro);Ao.A&&Ao.A.locals&&Ao.A.locals;function Mo(){const t=["revisionSetName","render","locale","createCollection","unhighlight","setTemplate","385526jOyGqI","39TyaatE","map","_requireRevisionName","flat","select","_revisionActions","addRevision","ck-disabled","14KXEHcw","some","1725336avTYak","add","290552ptHlct","revisionSelected","removeRevision","find","set","revisionViews","5173880YShENG","fire","ck-revision-history-sidebar__timeline","uiLanguage","deselect","setName","ck-revision-history-sidebar","startDate","get","11asFBre","highlightRevisions","_revisions","234997SCfXvh","22287820OTPhLg","createdAt","getTime","_removeRevision","delegate","599895rAyaIH","isEnabled","40vFQWNi","remove","timePeriodViews","_getTimePeriodViewByStartDate","selectRevision","bindTemplate","ck-reset","highlight","ck-rounded-corners","div","_addRevision"];return(Mo=function(){return t})()}const Vo=Do;function Do(t,e){const i=Mo();return(Do=function(t,e){return i[t-=152]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(533783===parseInt(e(165))/1+-parseInt(e(190))/2+parseInt(e(191))/3*(-parseInt(e(203))/4)+-parseInt(e(153))/5+parseInt(e(201))/6*(parseInt(e(199))/7)+parseInt(e(173))/8*(-parseInt(e(171))/9)+parseInt(e(166))/10*(parseInt(e(162))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends It.View{[Vo(175)];[Vo(164)];[Vo(196)];[Vo(193)];constructor(t,e,i,s){const n=Vo;super(t);const r=this[n(178)];this[n(175)]=this[n(187)](),this[n(175)][n(170)](n(195)).to(this),this[n(175)][n(170)](n(158)).to(this),this[n(164)]=e,this[n(196)]=i,this[n(193)]=s,this.on(n(195),(t,e)=>{const i=n;this[i(154)](i(204),e)}),this.on(n(158),(t,e)=>{const i=n;this[i(154)](i(184),e)}),this[n(207)](n(172),!1),this[n(189)]({tag:n(182),attributes:{class:["ck",n(179),n(181),n(159)]},children:[new No(t),{tag:n(182),attributes:{class:["ck",n(155),r.if(n(172),n(198),t=>!t)]},children:this[n(175)]}]})}[Vo(185)](){const t=Vo;super[t(185)]();for(const e of this[t(164)])this[t(183)](e);this[t(164)].on(t(202),(e,i)=>{this[t(183)](i)}),this[t(164)].on(t(174),(e,i)=>{this[t(169)](i)})}get[Vo(152)](){const t=Vo;return this[t(175)][t(192)](e=>e[t(152)][t(192)](t=>t))[t(194)]()}[Vo(177)](t){const e=Vo;for(const i of this[e(152)])t&&t.id===i.id?i[e(195)]():i[e(157)]()}[Vo(163)](t){const e=Vo;for(const i of this[e(152)])t[e(200)](({id:t})=>t===i.id)?i[e(180)]():i[e(188)]()}[Vo(183)](t){const e=Vo,i=go(t[e(167)],this[e(186)][e(156)])[e(160)];let s=this[e(175)][e(161)](0);s&&s[e(160)][e(168)]()===i[e(168)]()||(s=new Io(this[e(186)],i,this[e(196)],this[e(193)]),this[e(175)][e(202)](s)),s[e(197)](t)}[Vo(169)](t){const e=Vo,i=go(t[e(167)],this[e(186)][e(156)])[e(160)];this[e(176)](i)[e(205)](t)}[Vo(176)](t){const e=Vo;return this[e(175)][e(206)](i=>i[e(160)][e(168)]()===t[e(168)]())}}function Co(){const t=["Name this revision","fieldView","config","revisionHistory","timePeriodViews","compareAgainstSelected","element","95958mTJDuc","requires","map","focus","_sidebarView","change:diff","restoreRevisionCallback","remove","11278107TjwQLv","setName","395795WlYdgA","Compare against selected","_handleRevisionSetName","_handleDiffChange","29880785XxgXzJ","getEarlierVisibleRevision","highlightRevisions","getLaterVisibleRevision","restoreRevision","name","11493072nVFaQu","editor","locale","revisionHistory.revisionActions","destroy","revisionViews","ready","revisionSetName","appendChild","bind","96NklIzQ","getIndex","repository","409416oMENXZ","diff","getRevision","revisionHistory.requireRevisionName","Restore this revision","_handleRevisionSelected","availableRevisionActions","32109lQJWhh","15yOkBza","defaultRevisionActions","revisionSelected","revisionHistory.viewerSidebarContainer","428qLhagM","get","listenTo","nameRevision","RevisionsSidebar","init","select","_revisionsRepository","_createRevisionActions","isPremiumPlugin","isSelected","_revisions","isReady","_handleEditorDataReady","length","10gjXRtM","add","newRevisionId","isOfficialPlugin","action","pluginName","assign","getRevisionsInDiff","isEnabled","plugins","selectRevision","_revisionViewer","isVisible","data","string","compare","render"];return(Co=function(){return t})()}const Fo=jo;function jo(t,e){const i=Co();return(jo=function(t,e){return i[t-=364]})(t,e)}!function(t){const e=jo,i=t();for(;;)try{if(899332===parseInt(e(397))/1*(parseInt(e(440))/2)+-parseInt(e(396))/3*(parseInt(e(401))/4)+-parseInt(e(366))/5*(parseInt(e(386))/6)+parseInt(e(389))/7+-parseInt(e(376))/8+-parseInt(e(364))/9*(-parseInt(e(416))/10)+parseInt(e(370))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Co);class Lo extends G.Plugin{[Fo(427)];[Fo(408)];[Fo(444)];static[Fo(398)]=[Fo(438),Fo(374),Fo(404)];static[Fo(395)]=function(){const t=Fo;return{compareAgainstSelected:{name:t(367),action:({plugins:e},i)=>{const s=t,n=e[s(402)](ce),r=n[s(388)];let o=n[s(390)][s(418)],a=i.id;r[s(387)](o)>r[s(387)](a)&&([o,a]=[a,o]),n[s(431)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(402)](ce);return!(n[s(388)][s(423)](n[s(390)])[s(415)]>2||i[s(411)])}},restoreRevision:{name:t(393),action:(e,{id:i})=>{const s=t;e[s(435)][s(402)](s(436))[s(446)](i)},isVisible:({plugins:e},i)=>!!e[t(402)](ce)[t(388)][t(373)](i.id)},nameRevision:{name:t(433),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(402)](ce),o=r[n(388)][n(371)](i);r[n(431)](i,o),s[n(443)](),s[n(434)][n(407)]()}}}}();static get[Fo(421)](){return Fo(405)}static get[Fo(419)](){return!0}static get[Fo(410)](){return!0}static get[Fo(441)](){return[ce]}constructor(t){const e=Fo;super(t),this[e(427)]=t[e(425)][e(402)](ce),this[e(408)]=this[e(427)][e(388)],this[e(444)]=null}[Fo(406)](){const t=Fo,e=this[t(408)][t(412)],i=this[t(409)](),s=this[t(377)][t(435)][t(402)](t(400));this[t(444)]=new Eo(this[t(377)][t(378)],e,i,this[t(377)][t(435)][t(402)](t(392))),this[t(444)].on(t(399),this[t(394)][t(385)](this)),this[t(444)].on(t(383),this[t(368)][t(385)](this)),this[t(444)][t(385)](t(424)).to(this[t(427)]),this[t(444)][t(437)].on(t(417),(e,i)=>{const s=t;i[s(381)].on(s(417),(t,e)=>{const i=s;e[i(385)](i(424),i(413)).to(this[i(427)])})}),this[t(444)][t(432)](),this[t(403)](this[t(377)][t(429)],t(382),this[t(414)][t(385)](this)),this[t(403)](this[t(427)],t(445),this[t(369)][t(385)](this)),s[t(384)](this[t(444)][t(439)])}[Fo(380)](){const t=Fo;this[t(444)][t(439)][t(447)](),this[t(444)][t(380)]()}[Fo(414)](){const t=Fo,e=this[t(408)][t(391)](0);if(e){const i=this[t(408)][t(371)](e.id);this[t(427)][t(431)](e,i)}}[Fo(394)](t,e){const i=Fo,s=this[i(408)][i(391)](e.id),n=this[i(408)][i(371)](s.id);this[i(427)][i(431)](s,n)}[Fo(368)](t,e){const i=Fo;this[i(408)][i(391)](e.id)[i(365)](e[i(375)])}[Fo(369)](t,e,i){const s=Fo,n=this[s(408)][s(423)](i);n[s(415)]>2?(this[s(444)][s(372)](n),this[s(444)][s(426)](null)):(this[s(444)][s(372)]([]),this[s(444)][s(426)](n[0]))}[Fo(409)](){const t=Fo,e=this[t(377)],i=Lo[t(395)],s=e[t(435)][t(402)](t(379))||Lo[t(398)];if(s[t(415)])return s[t(442)](s=>{const n=t,r=n(430)==typeof s?Object[n(422)]({},i[s]):s;return r[n(420)]=r[n(420)][n(385)](this,e),r[n(428)]&&(r[n(428)]=r[n(428)][n(385)](this,e)),r})}}const Po=Wo;function zo(){const t=["_toolbarConfig","fire","getRoot","componentFactory","destroy","stickyPanel","ready","_view","editable","attachDomRoot","get","focusTracker","name","limiterElement","fillFromConfig","init","1525016EtLUAv","isActive","230902GzQcbW","3244911SaodaV","addToolbar","element","render","_initToolbar","config","rootName","toolbar","viewportOffset","restore","detachDomRoot","_elementReplacer","editor","258STeKSr","906760ZJxsZj","isFocused","document","replace","editing","view","1709990zoRrUT","86upjUHR","bind","117jhlPCG","701GAnVUr","viewportTopOffset","24996320jrtCrj","setEditableElement"];return(zo=function(){return t})()}function Wo(t,e){const i=zo();return(Wo=function(t,e){return i[t-=220]})(t,e)}!function(t){const e=Wo,i=t();for(;;)try{if(758785===-parseInt(e(258))/1*(-parseInt(e(255))/2)+parseInt(e(234))/3+parseInt(e(231))/4+-parseInt(e(254))/5+-parseInt(e(247))/6*(parseInt(e(233))/7)+-parseInt(e(248))/8*(parseInt(e(257))/9)+parseInt(e(260))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(zo);class Uo extends It.EditorUI{[Po(222)];[Po(262)];[Po(245)];get[Po(253)](){return this[Po(222)]}constructor(e,i){const s=Po;super(e),this[s(222)]=i,this[s(262)]=(0,It.normalizeToolbarConfig)(e[s(239)][s(225)](s(241))),this[s(245)]=new t.ElementReplacer}get[Po(236)](){const t=Po;return this[t(253)][t(236)]}[Po(230)](t){const e=Po,i=this[e(246)],s=this[e(253)],n=i[e(252)][e(253)],r=s[e(223)],o=n[e(250)][e(264)]();r[e(227)]=o[e(240)],s[e(237)]();const a=r[e(236)];this[e(261)](r[e(227)],a),s[e(223)][e(256)](e(249)).to(this[e(226)]),n[e(224)](a),this[e(245)][e(251)](t,this[e(236)]),this[e(238)](),this[e(263)](e(221))}[Po(266)](){const t=Po;super[t(266)]();const e=this[t(253)],i=this[t(246)][t(252)][t(253)];this[t(245)][t(243)](),i[t(244)](e[t(223)][t(227)]),e[t(266)]()}[Po(238)](){const t=Po,e=this[t(253)];e[t(220)][t(256)](t(232)).to(this[t(226)],t(249)),e[t(220)][t(228)]=e[t(236)],e[t(220)][t(256)](t(259)).to(this,t(242),({top:t})=>t),e[t(241)][t(229)](this[t(262)],this[t(265)]),this[t(235)](e[t(241)])}}var Zo=i(324),Ho={attributes:{"data-cke":!0}};Ho.setAttributes=Mt(),Ho.insert=At().bind(null,"head"),Ho.domAPI=xt(),Ho.insertStyleElement=Dt();Ot()(Zo.A,Ho);Zo.A&&Zo.A.locals&&Zo.A.locals;function $o(){var t=["1718kVwmwX","stickyPanel","2674020fjPynT","editable","top","shouldToolbarGroupWhenFull","add","1086mrWfoo","95912YbEDgy","4744542ppSGLm","2044047tYunSg","35dQuAjp","toolbar","main","157728emRgjy","render","_editable","9227529bizdSq","content"];return($o=function(){return t})()}var qo=Bo;function Bo(t,e){var i=$o();return(Bo=function(t,e){return i[t-=397]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(745518===-parseInt(e(413))/1*(-parseInt(e(401))/2)+parseInt(e(404))/3+-parseInt(e(408))/4+-parseInt(e(415))/5+parseInt(e(403))/6+parseInt(e(405))/7*(-parseInt(e(402))/8)+-parseInt(e(411))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}($o);class Jo extends It.BoxedEditorUIView{[qo(410)];[qo(414)];[qo(406)];get[qo(397)](){return this[qo(410)]}constructor(t,e,i={}){var s=qo;super(t),this[s(414)]=new It.StickyPanelView(t),this[s(406)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(399)]}),this[s(410)]=new It.InlineEditableUIView(t,e)}[qo(409)](){var t=qo;super[t(409)](),this[t(414)][t(412)][t(400)](this[t(406)]),this[t(398)][t(400)](this[t(414)]),this[t(407)][t(400)](this[t(397)])}}const Yo=Go;function Go(t,e){const i=Qo();return(Go=function(t,e){return i[t-=277]})(t,e)}function Qo(){const t=["initPlugins","config","40vZRlje","1754PIsBbJ","3481907bDauPt","34678FIyyhN","locale","editing","document","createRoot","destroy","get","view","10344fEzHcf","init","29700WLQuuE","updateSourceElement","create","_ui","1507EzzTIg","200usOmtL","fire","48hbQFIj","1827hLzRPh","1930cQQECb","ready","66vokboK","147715ZyydjI","model","data","initialData","sourceElement"];return(Qo=function(){return t})()}!function(t){const e=Go,i=t();for(;;)try{if(183662===parseInt(e(289))/1*(-parseInt(e(304))/2)+-parseInt(e(291))/3*(-parseInt(e(282))/4)+parseInt(e(296))/5*(parseInt(e(295))/6)+-parseInt(e(306))/7*(-parseInt(e(303))/8)+parseInt(e(292))/9*(parseInt(e(293))/10)+parseInt(e(288))/11*(-parseInt(e(284))/12)+parseInt(e(305))/13)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qo);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Yo(287)];get ui(){return this[Yo(287)]}constructor(t,e){const i=Yo;super(e),this[i(300)]=t,this[i(297)][i(277)][i(278)]();const s=new Jo(this[i(307)],this[i(308)][i(281)],{shouldToolbarGroupWhenFull:!0});this[i(287)]=new Uo(this,s)}[Yo(279)](){const t=Yo;return this[t(285)](),this.ui[t(279)](),super[t(279)]()}static async[Yo(286)](t,e){const i=Yo,s=new this(t,e);return await s[i(301)](),await s.ui[i(283)](t),await s[i(298)][i(283)](s[i(302)][i(280)](i(299))||""),s[i(290)](i(294)),s}}const Ko=ta;function ta(t,e){const i=sa();return(ta=function(t,e){return i[t-=320]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(561373===parseInt(e(390))/1*(parseInt(e(382))/2)+-parseInt(e(333))/3+parseInt(e(405))/4+parseInt(e(451))/5*(-parseInt(e(380))/6)+-parseInt(e(464))/7+parseInt(e(424))/8+parseInt(e(417))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(sa);const ea=[Ko(404),Ko(465),Ko(477),Ko(372),Ko(399),Ko(364),Ko(450)];class ia extends G.Plugin{[Ko(476)];static get[Ko(401)](){return Ko(339)}static get[Ko(321)](){return!0}static get[Ko(455)](){return!0}constructor(t){const e=Ko;function i(t){const e=ta;return t[e(411)](t=>String[e(388)](t))[e(460)]("")}super(t),this[e(476)]=e(442),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 sa(){const t=["translations","destroy","isEnabled","create","_recalculatePageBreaks","RevisionViewerIntegration","toLocaleTimeString","init","disableReadOnlyMode","restrictedEditingException","parse","RevisionHistoryUtils","numeric","toVersion","bind"," ck-tab-panel_disabled","getAttributeKeys","from","DocumentOutlineUI","isAttached","showRevisionViewerCallback","config","revision-history-viewer-opened","long","model","then","getMarkersGroup","revisionHistory.editorContainer","element","RevisionHistory","AIQuickActions","document","_update","locale","addUser","insert","includes","revisionHistory.viewerEditorElement","AIReviewMode","roots","addRoot","tabindex","keys","isReadOnly","toolbar","set","6016674bUcSFZ","update","140426eVYecV","requires",".ck-ai-chat-history .ck-input","revisionHistory.viewerContainer","_getRevisionViewerEditorConfig","block","fromCharCode","RevisionTracker","7ndSXXg","RevisionsRepository","getRevisionRootsAttributes","_enhanceShowRevisionViewerCallback","users","ck-tab-panel_disabled","enqueueChange","isOpen","toLocaleDateString","AIBalloon",".ck-ai-chat__prompt-input .ck-textarea","pluginName","closeRevisionViewerCallback","AIChatHistory","RevisionHistoryUI","2230092TixbyN","DocumentOutline","RevisionViewer","Users","addRevisionData","revisionHistory.requireRevisionName","map","lazyRoots","_enhanceCloseRevisionViewerCallback","isReady","toJSON","uiLanguage","8258121BmhDuF","name","has","_cleanUp","_closeRevisionViewer","hide","panelViews","7582744FyMCJO","saveRevision","setSelection","loadRevisionData","define","exitToEditing","refreshPositioning","repository","revisionHistory.closeRevisionViewerCallback","removeMarker","indexOf","catch","adapter","error","data","markers","Autosave","Annotations","end","_restoreRevision","getRoot","view","setAttribute","fromVersion","revisionHistory.showRevisionViewerCallback","removeSelectionAttribute","AIActions","5PxKUvB","getRevisionDocumentData","isRevisionViewerOpen","PaginationLookup","isPremiumPlugin","none","restoreRevision","remove","getRevisions","join","$graveyard","display","detachRoot","7256382wNDnaz","RestrictedEditingMode","Restored","querySelector","save","createRangeIn","replace","revisionHistory.restoreRevisionCallback","changesNavigation","editor","plugins","selection","result","AIChat","getUser","removeAttribute","class","revision-history-missing-configuration","isAnonymous","rootName","push","refreshVisibility","style","enableReadOnlyMode","isOfficialPlugin","getRevision","revisionHistory","_viewerEditor","Dialog","creator","createdAt","commands","change","_showRevisionViewer","AITabs","get","940944cDTypP"];return(sa=function(){return t})()}class na extends G.Plugin{[Ko(324)];static get[Ko(401)](){return Ko(363)}static get[Ko(321)](){return!0}static get[Ko(455)](){return!0}static get[Ko(383)](){return[pt,$t]}constructor(e){const i=Ko;if(super(e),!this[i(473)][i(355)][i(332)](i(323)))throw new t.CKEditorError(i(481),this);this[i(324)]=null,this[i(379)](i(453),!1),this[i(473)][i(355)][i(428)](i(448),t=>this[i(330)]({...t,translations:this[i(473)][i(367)][i(334)]})),this[i(473)][i(355)][i(428)](i(432),t=>this[i(421)](t)),this[i(473)][i(355)][i(428)](i(471),t=>this[i(443)](t)),this[i(473)][i(355)][i(428)](i(410),!1),this[i(393)](),this[i(413)]()}set[Ko(436)](t){const e=Ko;this[e(473)][e(474)][e(332)](e(389))[e(436)]=t}get[Ko(436)](){const t=Ko;return this[t(473)][t(474)][t(332)](t(389))[t(436)]}[Ko(409)](t){const e=Ko;return this[e(473)][e(474)][e(332)](e(389))[e(409)](t)}[Ko(322)](t){const e=Ko;return this[e(473)][e(474)][e(332)](e(391))[e(322)](t)}[Ko(459)](t){const e=Ko;return this[e(473)][e(474)][e(332)](e(391))[e(459)](t||{toJSON:!1})}[Ko(386)](){const e=Ko,i=this[e(473)],s=(0,Q.sanitizeEditorConfig)(i,ea),n=i[e(474)][e(332)](e(389)),r=i[e(474)][e(332)](e(408))[e(394)];return s[e(378)]=[e(429),e(457),e(472)],delete s[e(412)],s[e(474)][e(484)](ia,ce,Ne,class extends G.Plugin{static get[e(383)](){return[ce,e(408)]}[e(341)](){const s=e,o=this[s(473)][s(474)][s(332)](s(408));for(const t of r)t[s(482)]||o[s(478)](t.id)||o[s(368)](t);const a=n[s(431)][s(459)]();let c=null;const u=this[s(473)][s(474)][s(332)](s(407));u[s(436)]=n[s(436)],u[s(348)](s(336)).to(n),this[s(473)][s(328)][s(332)](s(457))[s(348)](s(336)).to(i,s(377),t=>!t);for(const e of a){const i=null===e[s(326)];if(i&&e[s(347)]===e[s(447)])continue;const r=e[s(415)]();u[s(409)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(366)](r,o);else if(!o){const e=a[u(415)]();e.id=(0,t.uid)(),n[u(425)](e,a[u(347)])[u(359)](t=>{c=t})}}else e[u(366)](r,o)})}}},Lo),s}[Ko(393)](){const t=Ko,e=this[t(473)][t(355)][t(332)](t(323))[t(354)];this[t(473)][t(355)][t(379)](t(448),async()=>{const i=t;this[i(473)][i(320)](i(356));const s=this[i(473)][i(474)][i(332)](i(389));if(this[i(473)][i(474)][i(419)](i(440))){const t=this[i(473)][i(474)][i(332)](i(440));await t[i(468)]()}else await s[i(381)]();if(this[i(473)][i(474)][i(419)](i(454))&&this[i(473)][i(474)][i(332)](i(454))[i(338)](),this[i(473)][i(474)][i(419)](i(325))){const t=this[i(473)][i(474)][i(332)](i(325));t[i(397)]&&t[i(422)]()}if(this[i(473)][i(474)][i(419)](i(331))){const t=this[i(473)][i(474)][i(332)](i(331))[i(445)][i(423)];for(const e of t)e[i(480)]=e[i(480)]?e[i(480)]+i(349):i(395);if(this[i(473)][i(474)][i(419)](i(477))){const t=document[i(467)](i(400));t&&t[i(446)](i(375),"-1")}if(this[i(473)][i(474)][i(419)](i(403))){const t=document[i(467)](i(384));t&&t[i(446)](i(375),"-1")}}const n=this[i(386)]();return e(n)[i(359)](t=>{const e=i;return this[e(324)]=t,this[e(473)][e(474)][e(419)](e(441))&&this[e(473)][e(474)][e(332)](e(441))[e(485)](),this[e(473)][e(474)][e(419)](e(406))&&(this[e(473)][e(474)][e(332)](e(352))[e(445)][e(362)][e(486)][e(462)]=e(456)),t})[i(435)](t=>(console[i(437)](t),this[i(473)][i(342)](i(356)),null))})}[Ko(413)](){const t=Ko,e=this[t(473)][t(355)][t(332)](t(323))[t(402)];this[t(473)][t(355)][t(379)](t(432),()=>{const i=t;if(this[i(473)][i(474)][i(419)](i(454))&&this[i(473)][i(474)][i(332)](i(454))[i(338)](),this[i(473)][i(474)][i(419)](i(406))&&(this[i(473)][i(474)][i(332)](i(352))[i(445)][i(362)][i(486)][i(462)]=""),this[i(473)][i(474)][i(419)](i(331))){const t=this[i(473)][i(474)][i(332)](i(331))[i(445)][i(423)];for(const e of t)e[i(480)]=i(395)===e[i(480)]?"":e[i(480)][i(470)](i(349),"");if(this[i(473)][i(474)][i(419)](i(477))){const t=document[i(467)](i(400));t&&t[i(479)](i(375))}if(this[i(473)][i(474)][i(419)](i(403))){const t=document[i(467)](i(384));t&&t[i(479)](i(375))}}return this[i(324)][i(474)][i(332)](i(407))[i(420)](),e(this[i(324)])[i(359)](()=>{const t=i;if(this[t(473)][t(342)](t(356)),this[t(324)]=null,this[t(473)][t(474)][t(419)](t(441))){const e=this[t(473)][t(474)][t(332)](t(441));e[t(485)](),e[t(430)]()}})})}[Ko(330)](t){const e=Ko,i=this[e(473)][e(355)][e(332)](e(361)),s=this[e(473)][e(355)][e(332)](e(385)),n=this[e(473)][e(355)][e(332)](e(371));return Xo[e(337)](n,t)[e(359)](t=>(s[e(486)][e(462)]=e(387),i[e(486)][e(462)]=e(456),this[e(453)]=!0,t))}[Ko(421)](t){const e=Ko,i=this[e(473)][e(355)][e(332)](e(361));return this[e(473)][e(355)][e(332)](e(385))[e(486)][e(462)]=e(456),i[e(486)][e(462)]="",this[e(453)]=!1,t[e(335)]()}async[Ko(443)](t){const e=Ko,i=this[e(473)],s=this[e(324)][e(474)][e(332)](e(407)),n=i[e(474)][e(332)](e(389)),r=i[e(474)][e(332)](e(345)),o=s[e(431)][e(322)](t);let a,c,u;try{await r[e(427)](o,this[e(436)]),a=r[e(452)](o),c=r[e(392)](o)}catch(t){return void console[e(437)](t)}i[e(358)][e(329)](t=>{const s=e;for(const e of Array[s(351)](i[s(358)][s(439)][s(360)](s(343))))t[s(433)](e)}),s[e(414)]=!1,i[e(358)][e(396)](t=>{const s=e;t[s(426)](null),t[s(449)](i[s(358)][s(365)][s(475)][s(350)]());const n=Object[s(376)](a);for(const e of i[s(358)][s(365)][s(373)])s(461)!=e[s(483)]&&e[s(353)]()&&!n[s(370)](e[s(483)])&&t[s(463)](e);for(const e of n){let n=i[s(358)][s(365)][s(444)](e);n&&n[s(353)]()||(n=t[s(374)](e));const r=c[e],o=Object[s(376)](r),u=a[e];for(const e of n[s(350)]())o[s(370)](e)||t[s(479)](e,n);for(const i of o)t[s(446)](i,c[e][i],n);t[s(458)](t[s(469)](n)),t[s(369)](i[s(438)][s(344)](u,n),n,0)}});const l=at(i[e(367)],e(466));return u=o[e(418)]?-1==o[e(418)][e(434)](l)?l+": "+o[e(418)]:o[e(418)]:l+": "+o[e(327)][e(398)](i[e(367)][e(416)],{month:e(357),day:e(346)})+", "+o[e(327)][e(340)](i[e(367)][e(416)],{hour:e(346),minute:e(346)}),await n[e(425)]({name:u}),s[e(414)]=!0,i[e(355)][e(332)](e(323))[e(402)]()}}function ra(t,e){var i=oa();return(ra=function(t,e){return i[t-=233]})(t,e)}function oa(){var t=["1002464UtlpLq","77MrvzlM","7939881ArgLFo","6549170eRHeSm","4OlcPRy","70674pjHovn","22966MFsZFI","25620881pyuNxl","1075611IxDuho","28qkrOsZ","195ghhrmX"];return(oa=function(){return t})()}!function(t){for(var e=ra,i=t();;)try{if(492534===parseInt(e(241))/1*(parseInt(e(235))/2)+-parseInt(e(237))/3*(-parseInt(e(233))/4)+-parseInt(e(239))/5*(parseInt(e(234))/6)+parseInt(e(238))/7*(parseInt(e(240))/8)+parseInt(e(242))/9+parseInt(e(243))/10+-parseInt(e(236))/11)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 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{border-radius:50%;border-right:3px solid transparent;border-top:3px solid var(--ck-color-base-text);box-sizing:border-box;height:var(--ck-revision-history-loading-overlay-spinner-size);left:50%;top:50%;transform:translate(-50%,-50%);width:var(--ck-revision-history-loading-overlay-spinner-size);z-index:var(--ck-z-default)}.ck.ck-editor__editable.ck-editor__editable__loading-overlay,.ck.ck-editor__editable.ck-editor__editable__overlay{min-height:calc(var(--ck-revision-history-loading-overlay-spinner-size) + var(--ck-spacing-large)*2);position:relative}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after,.ck.ck-editor__editable.ck-editor__editable__loading-overlay:before,.ck.ck-editor__editable.ck-editor__editable__overlay:after,.ck.ck-editor__editable.ck-editor__editable__overlay:before{opacity:.8;transition-delay:var(--ck-revision-history-loading-overlay-transition-delay);visibility:visible;z-index:2}.ck.ck-editor__editable.ck-editor__editable__loading-overlay:after{animation:ck-revision-history-spinner-animation var(--ck-revision-history-loading-overlay-spinner-rotation-duration) linear infinite}.ck.ck-editor__editable.ck-editor__editable__overlay:after{visibility:hidden}@keyframes ck-revision-history-spinner-animation{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}',""]);const a=o},692:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-sidebar-period-background:#ff5724;--ck-revision-history-sidebar-timeline-padding:var(--ck-spacing-large)}.ck.ck-revision-history-sidebar{display:flex;flex-direction:column}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline{align-items:start;display:flex;flex-direction:column;font-size:var(--ck-font-size-base);height:100%;overflow-x:hidden;overflow-y:auto;padding:var(--ck-revision-history-sidebar-timeline-padding)}.ck.ck-revision-history-sidebar .ck-revision-history-sidebar__timeline.ck-disabled{filter:grayscale(1) opacity(var(--ck-disabled-opacity))}",""]);const a=o},741:t=>{"use strict";t.exports=function(t){var e=document.createElement("style");return t.setAttributes(e,t.attributes),t.insert(e,t.options),e}},779:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i="",s=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),s&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),s&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i}).join("")},e.i=function(t,i,s,n,r){"string"==typeof t&&(t=[[null,t,void 0]]);var o={};if(s)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(o[c]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);s&&o[l[0]]||(void 0!==r&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=r),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},782:(t,e,i)=>{t.exports=i(237)("./src/core.js")},783:(t,e,i)=>{t.exports=i(237)("./src/engine.js")},815:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck.ck-revision-history-sidebar__revision-name{display:block;font-size:1.2em;font-weight:700;left:calc(var(--ck-spacing-small)*-1);margin-right:30px;position:relative}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-label{display:none}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{background:transparent;border-radius:var(--ck-border-radius);color:inherit;font-family:inherit;font-size:var(--ck-font-size-normal);font-weight:700;min-height:auto;min-width:auto;padding:var(--ck-spacing-tiny) var(--ck-spacing-small);text-overflow:ellipsis;transition:var(--ck-revision-history-revision-transitions);width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input{transition:none}}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:focus,.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{background:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input:not(.ck-input_focused){border-color:transparent}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input::placeholder{color:inherit}.ck.ck-revision-history-sidebar__revision-name>.ck-labeled-field-view__input-wrapper>.ck-input[readonly]{pointer-events:none}",""]);const a=o},898:(t,e,i)=>{"use strict";i.d(e,{A:()=>a});var s=i(106),n=i.n(s),r=i(779),o=i.n(r)()(n());o.push([t.id,".ck{--ck-revision-history-revision-background-color:var(--ck-color-base-background);--ck-revision-history-revision-border-color:#47576b;--ck-revision-history-revision-box-shadow:0 1px 1px 1px #e6e6e6;--ck-revision-history-revision-author-icon-offset:20px;--ck-revision-history-revision-transitions:background 100ms ease-in,border 100ms ease-in;--ck-revision-history-revision-selected-text-color:var(--ck-color-base-background);--ck-revision-history-revision-selected-input-text-color-empty:var(--ck-color-base-background);--ck-revision-history-revision-selected-background-color:var(--ck-color-base-active);--ck-revision-history-revision-highlighted-background-color:#e0f1ff;--ck-revision-history-revision-highlighted-background-color-hover:#cce7ff;--ck-revision-history-revision-delete-confirmation-background:#fcc;--ck-revision-history-revision-delete-confirmation-active-button-background:#ffb3b3}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{background:var(--ck-revision-history-revision-background-color);border-left:3px solid var(--ck-revision-history-revision-border-color);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:block;padding:var(--ck-spacing-large) calc(var(--ck-spacing-standard)*2);position:relative;transition:transform .3s ease;width:100%}@media (prefers-reduced-motion:reduce){.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision{transition:none}}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision:last-child{margin-bottom:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__date{display:block;font-size:var(--ck-font-size-small);font-weight:700;opacity:.8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision__controls-wrapper{align-items:flex-start;display:flex;flex-direction:row;margin:var(--ck-spacing-standard) 0 0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision .ck-revision-history-sidebar__revision-authors{flex:0 1 auto;margin:0 0 0 var(--ck-revision-history-revision-author-icon-offset);min-width:0;padding:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted,.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{border-bottom-left-radius:0;border-left-color:transparent;border-top-left-radius:0;transform:translateX(calc(var(--ck-revision-history-sidebar-timeline-padding)*-1))}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected{background:var(--ck-revision-history-revision-selected-background-color);color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input{color:var(--ck-revision-history-revision-selected-text-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_selected .ck-revision-history-sidebar__revision-name .ck-input.ck-input-text_empty::placeholder{opacity:.7}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__revision_highlighted{background:var(--ck-revision-history-revision-highlighted-background-color)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__revision.ck-revision-history-sidebar__actions_dropdown_open{z-index:var(--ck-z-default)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision{box-shadow:none;position:relative;transform:translate3d(-100%,0,0)}.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision,.ck.ck-revision-history-sidebar__revision-wrapper.ck-revision-history-sidebar__revision-wrapper_confirmation_visible .ck-revision-history-sidebar__revision *{--ck-revision-history-revision-background-color:transparent;--ck-revision-history-revision-selected-background-color:transparent;--ck-revision-history-revision-highlighted-background-color:transparent}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view{align-items:center;background:var(--ck-revision-history-revision-delete-confirmation-background);border-radius:var(--ck-border-radius);box-shadow:var(--ck-revision-history-revision-box-shadow);display:flex;flex-direction:row;height:100%;justify-content:space-around;left:100%;position:absolute;top:0;user-select:none;width:100%}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner{margin-top:var(--ck-spacing-small);text-align:center}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner p{color:var(--ck-color-text);font-weight:700;margin:0}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions{display:flex;flex-direction:row;justify-content:space-evenly}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:active,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:focus,.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button:hover{background:var(--ck-revision-history-revision-delete-confirmation-active-button-background)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-submit{color:var(--ck-color-button-save)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-confirm-view .ck-confirm-view-inner .ck-confirm-view-actions .ck.ck-button.ck-confirm-view-cancel{color:var(--ck-color-button-cancel)}.ck.ck-revision-history-sidebar__revision-wrapper .ck-revision-history-sidebar__subrevisions{margin-left:var(--ck-spacing-large)}",""]);const a=o},929:t=>{"use strict";var e=[];function i(t){for(var i=-1,s=0;s<e.length;s++)if(e[s].identifier===t){i=s;break}return i}function s(t,s){for(var r={},o=[],a=0;a<t.length;a++){var c=t[a],u=s.base?c[0]+s.base:c[0],l=r[u]||0,h="".concat(u," ").concat(l);r[u]=l+1;var d=i(h),f={css:c[1],media:c[2],sourceMap:c[3],supports:c[4],layer:c[5]};if(-1!==d)e[d].references++,e[d].updater(f);else{var m=n(f,s);s.byIndex=a,e.splice(a,0,{identifier:h,updater:m,references:1})}o.push(h)}return o}function n(t,e){var i=e.domAPI(e);i.update(t);return function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap&&e.supports===t.supports&&e.layer===t.layer)return;i.update(t=e)}else i.remove()}}t.exports=function(t,n){var r=s(t=t||[],n=n||{});return function(t){t=t||[];for(var o=0;o<r.length;o++){var a=i(r[o]);e[a].references--}for(var c=s(t,n),u=0;u<r.length;u++){var l=i(r[u]);0===e[l].references&&(e[l].updater(),e.splice(l,1))}r=c}}}},e={};function i(s){var n=e[s];if(void 0!==n)return n.exports;var r=e[s]={id:s,exports:{}};return t[s](r,r.exports,i),r.exports}i.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return i.d(e,{a:e}),e},i.d=(t,e)=>{for(var s in e)i.o(e,s)&&!i.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:e[s]})},i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var s={};(()=>{"use strict";i.r(s),i.d(s,{RestoreRevisionCommand:()=>he,Revision:()=>Y,RevisionHistory:()=>na,RevisionHistoryUI:()=>qt,RevisionHistoryUtils:()=>rt,RevisionTracker:()=>pt,RevisionViewer:()=>ue,RevisionViewerEditor:()=>Xo,RevisionViewerIntegration:()=>sa,RevisionViewerLoadingOverlay:()=>Se,RevisionViewerUI:()=>Ae,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,N=void 0){const R=N?.(t,e,i,s);if(null!=R)return R;if(null==(M=t)||"object"!=typeof M&&"function"!=typeof M)return t;var M;if(s.has(t))return s.get(t);if(Array.isArray(t)){const e=new Array(t.length);s.set(t,e);for(let n=0;n<t.length;n++)e[n]=x(t[n],n,i,s,N);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,N));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,N));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,N);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),A(e,t,i,s,N),e}if("undefined"!=typeof File&&t instanceof File){const e=new File([t],t.name,{type:t.type});return s.set(t,e),A(e,t,i,s,N),e}if(t instanceof Blob){const e=new Blob([t],{type:t.type});return s.set(t,e),A(e,t,i,s,N),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,A(e,t,i,s,N),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),A(e,t,i,s,N),e}return t}function A(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 N(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 A(e,t),e}case u:{const e={};return A(e,t),e.length=t.length,e[Symbol.iterator]=t[Symbol.iterator],e}default:return}})}function R(t){return N(t)}function M(t){return"__proto__"===t}function V(t,e){return t===e||Number.isNaN(t)&&Number.isNaN(e)}const D=(t,e,i)=>{const s=t[e];Object.hasOwn(t,e)&&V(s,i)&&(void 0!==i||e in t)||(t[e]=i)},E=/^(?:0|[1-9]\d*)$/;function C(t,e=Number.MAX_SAFE_INTEGER){switch(typeof t){case"number":return Number.isInteger(t)&&t>=0&&t<e;case"symbol":return!1;case"string":return E.test(t)}}const F=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,j=/^\w*$/;function L(t,e){return!Array.isArray(t)&&(!("number"!=typeof t&&"boolean"!=typeof t&&null!=t&&!function(t){return"symbol"==typeof t||t instanceof Symbol}(t))||("string"==typeof t&&(j.test(t)||!F.test(t))||null!=e&&Object.hasOwn(e,t)))}function P(t){return"string"==typeof t||"symbol"==typeof t?t:Object.is(t?.valueOf?.(),-0)?"-0":String(t)}function W(t){return null!==t&&("object"==typeof t||"function"==typeof t)}function z(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&&!W(t))return t;const n=L(e,t)?[e]:Array.isArray(e)?e:"string"==typeof e?z(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:W(i)?i:C(n[e+1])?[]:{}}D(r,o,a),r=r[o]}return t}(t,e,()=>i,()=>{})}function H(t){switch(typeof t){case"number":case"symbol":return!1;case"string":return t.includes(".")||t.includes("[")||t.includes("]")}}function Z(t,e,i){if(null==t)return i;switch(typeof e){case"string":{if(M(e))return i;const s=t[e];return void 0===s?H(e)?Z(t,z(e),i):i:s}case"number":case"symbol":{"number"==typeof e&&(e=P(e));const s=t[e];return void 0===s?i:s}default:{if(Array.isArray(e))return function(t,e,i){if(0===e.length)return i;let s=t;for(let t=0;t<e.length;t++){if(null==s)return i;if(M(e[t]))return i;s=s[e[t]]}if(void 0===s)return i;return s}(t,e,i);if(M(e=Object.is(e?.valueOf(),-0)?"-0":String(e)))return i;const s=t[e];return void 0===s?i:s}}}function q(t,e){const i=Z(t,e.slice(0,-1),t),s=e[e.length-1];if(void 0===i?.[s])return!0;if(M(s))return!1;try{return delete i[s],!0}catch{return!1}}const $=B;function B(t,e){const i=J();return(B=function(t,e){return i[t-=341]})(t,e)}!function(t){const e=B,i=t();for(;;)try{if(917105===parseInt(e(357))/1+-parseInt(e(350))/2+-parseInt(e(348))/3+parseInt(e(365))/4+-parseInt(e(346))/5+parseInt(e(362))/6+-parseInt(e(356))/7*(-parseInt(e(354))/8))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(J);class Y extends((0,t.ObservableMixin)()){id;[$(341)];[$(353)];[$(352)];[$(364)];[$(360)];[$(367)];constructor(e){const i=$;super(),this.id=e.id||(0,t.uid)(),this[i(341)]=e[i(341)]||null,this[i(353)]=e[i(353)]||[],this[i(352)]=e[i(352)]||null,this[i(364)]=e[i(364)]||0,this[i(360)]=e[i(360)]||0,this[i(358)](i(355),e[i(355)]||""),this[i(358)](i(345),e[i(345)]||new Date),this[i(358)](i(359),e[i(359)]||{})}[$(363)](t){this[$(347)]({name:t})}[$(366)](t,e){const i=$,s=R(this[i(359)]);U(s,t,e),this[i(347)]({attributes:s})}[$(361)](t){const e=$,i=R(this[e(359)]);(function(t,e){if(null==t)return!0;switch(typeof e){case"symbol":case"number":case"object":if(Array.isArray(e))return q(t,e);if("number"==typeof e?e=P(e):"object"==typeof e&&(e=Object.is(e?.valueOf(),-0)?"-0":String(e)),M(e))return!1;if(void 0===t?.[e])return!0;try{return delete t[e],!0}catch{return!1}case"string":if(void 0===t?.[e]&&H(e))return q(t,z(e));if(M(e))return!1;try{return delete t[e],!0}catch{return!1}}})(i,t),this[e(347)]({attributes:i})}[$(347)](t,e=!1){const i=$;let s=!1;const n={id:this.id},r=[i(355),i(345),i(352),i(353),i(359),i(364),i(360),i(344)];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(353)]&&(n[i(342)]=n[i(353)][i(343)](t=>t.id),delete n[i(353)]),this[i(349)](i(347),n,e))}[$(351)](){const t=$;return{id:this.id,name:this[t(355)],creatorId:this[t(341)]?this[t(341)].id:null,authorsIds:this[t(353)][t(343)](t=>t.id),diffData:this[t(352)],createdAt:this[t(345)],attributes:this[t(359)],fromVersion:this[t(360)],toVersion:this[t(364)]}}}function J(){const t=["createdAt","1365555RWLHvC","_update","2233863SFNKAi","fire","2376314pIxMln","toJSON","diffData","authors","56lFAKGc","name","696556TDPCPa","111301QnLTfC","set","attributes","fromVersion","removeAttribute","7248534qggGWB","setName","toVersion","4428192HfaMwX","setAttribute","model","creator","authorsIds","map","creatorId"];return(J=function(){return t})()}var G=i(782),K=i(211),X=i(783);const Q=et;function tt(){const t=["487146KkluBu","name","toJSON","editor","newRevisionId","fromCharCode","toVersion","getLaterVisibleRevision","getIndex","addRevision","1139872TPrfht","add","diffData","getRevision","map","792QwrZOO","oldRevisionId","getRevisionsIterator","21fVYrCs","reverse","466405bdfwGX","isNaN","authorsIds","earlier","20943JzXFlL","getEarlierVisibleRevision","RevisionsRepository","href","from","length","getRevisions","requires","Users","data","afterInit","get","8cqVEZm","push","24TJRmgW","pluginName","isPremiumPlugin","creatorId","isOfficialPlugin","fromVersion","2875570jeFqgV","attributes","22AxyRJY","_revisions","join","6064AaoYHv","getRevisionsInDiff","plugins","getUser","later","createRevision","8390043ZhKwIs","createdAt","32460zyrVaN"];return(tt=function(){return t})()}function et(t,e){const i=tt();return(et=function(t,e){return i[t-=235]})(t,e)}!function(t){const e=et,i=t();for(;;)try{if(593981===-parseInt(e(251))/1+-parseInt(e(290))/2*(parseInt(e(256))/3)+-parseInt(e(279))/4*(parseInt(e(261))/5)+parseInt(e(241))/6*(parseInt(e(259))/7)+-parseInt(e(277))/8*(parseInt(e(238))/9)+-parseInt(e(285))/10*(parseInt(e(287))/11)+-parseInt(e(240))/12*(-parseInt(e(265))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(tt);class it extends G.Plugin{[Q(288)];static get[Q(272)](){return[K.Users]}static get[Q(280)](){return Q(267)}static get[Q(283)](){return!0}static get[Q(281)](){return!0}get[Q(270)](){const t=Q;return this[t(288)][t(270)]}constructor(e){const i=Q;super(e),this[i(288)]=new t.Collection}[Q(275)](){!async function(e){const i=y([118,115,109,76,52,84,80,112,117,82,53,51,77,108,113,83,106,50,86,88,119,72,57,111,69,65,78,56,70,120,74,116,71,85,79,100,98,68,67,90,48,49,105,104,121,102,107,66,81,89,54,97,99,103,122,55,114,73,101,87,75,110]),s=964649,n=window[y([68,97,116,101])][y([110,111,119])](),r=e[y([101,100,105,116,111,114])],o=new(window[y([80,114,111,109,105,115,101])])(t=>{r[y([111,110,99,101])](y([114,101,97,100,121]),t)}),a={[y([107,116,121])]:y([69,67]),[y([117,115,101])]:y([115,105,103]),[y([99,114,118])]:y([80,45,50,53,54]),[y([120])]:y([105,67,106,79,67,118,68,70,73,54,108,81,72,72,84,49,56,106,86,119,82,102,107,102,72,81,50,97,95,77,121,109,84,51,53,76,81,86,111,70,83,65,73]),[y([121])]:y([107,88,73,121,74,52,101,118,116,67,69,70,82,109,120,75,83,85,112,75,57,102,68,87,52,53,57,118,88,79,118,86,114,104,102,54,117,81,65,101,79,105,111]),[y([97,108,103])]:y([69,83,50,53,54])},c=r[y([99,111,110,102,105,103])][y([103,101,116])](y([108,105,99,101,110,115,101,75,101,121]));function u(){const t=window[y([83,116,114,105,110,103])](window[y([112,101,114,102,111,114,109,97,110,99,101])][y([110,111,119])]())[y([114,101,112,108,97,99,101])](y([46]),"");let e=y([118]);for(let s=0;s<t[y([108,101,110,103,116,104])];s+=2){let n=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](s,s+2));n>=i[y([108,101,110,103,116,104])]&&(n-=i[y([108,101,110,103,116,104])]),e+=i[n]}return e}function l(t){return t[y([115,116,97,114,116,115,87,105,116,104])](y([101,121]))?JSON[y([112,97,114,115,101])](h(t)):null}function h(t){return window[y([97,116,111,98])](t[y([114,101,112,108,97,99,101])](/-/g,y([43]))[y([114,101,112,108,97,99,101])](/_/g,y([47])))}function d(t){let e=5381;function i(t){for(let i=0;i<t[y([108,101,110,103,116,104])];i++){const s=t[y([99,104,97,114,67,111,100,101,65,116])](i);e=(e<<5)+e+s,e&=e}}return function t(e){Array[y([105,115,65,114,114,97,121])](e)?e[y([102,111,114,69,97,99,104])](t):e&&typeof e==y([111,98,106,101,99,116])?Object[y([101,110,116,114,105,101,115])](e)[y([115,111,114,116])]()[y([102,111,114,69,97,99,104])](([e,s])=>{i(e),t(s)}):i(window[y([83,116,114,105,110,103])](e))}(t),e>>>0}function f(t){return t[y([116,111,83,116,114,105,110,103])](16)[y([112,97,100,83,116,97,114,116])](8,y([48]))}function m(t){return t[y([115,112,108,105,116])]("")[y([114,101,118,101,114,115,101])]()[y([106,111,105,110])]("")}function p(t){return r[y([112,108,117,103,105,110,115])][y([104,97,115])](t)}function v(t){return r[y([112,108,117,103,105,110,115])][y([103,101,116])](t)}function g(){}function y(t){const e=et;return t[e(255)](t=>String[e(246)](t))[e(289)]("")}!function(t){const i=u();r[i]=y([114,101,118,105,115,105,111,110,72,105,115,116,111,114,121,76,105,99,101,110,115,101,75,101,121])+t,t[y([101,110,100,115,87,105,116,104])](y([76,105,109,105,116]))&&(window[u()]=s),t!=y([86,97,108,105,100])&&async function(){if(await o,p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))){const t=e[y([103,101,116,82,101,118,105,115,105,111,110])](0),i=e[y([103,101,116,69,97,114,108,105,101,114,86,105,115,105,98,108,101,82,101,118,105,115,105,111,110])](t[y([105,100])]),s=v(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]));return await s[y([99,111,109,112,97,114,101])](t.id,i?i.id:null,!0),s[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),s[y([105,115,69,110,97,98,108,101,100])]=!1,s[y([99,111,109,112,97,114,101])]=g,void(s[y([95,103,101,116,68,105,102,102])]=g)}if(p(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]))){const t=v(y([82,101,118,105,115,105,111,110,84,114,97,99,107,101,114]));t[y([117,110,98,105,110,100])](y([105,115,69,110,97,98,108,101,100])),t[y([105,115,69,110,97,98,108,101,100])]=!1,t[y([117,112,100,97,116,101])]=g,t[y([115,97,118,101,82,101,118,105,115,105,111,110])]=g}r[y([109,111,100,101,108])][y([99,104,97,110,103,101])]=g,r[y([109,111,100,101,108])][y([101,110,113,117,101,117,101,67,104,97,110,103,101])]=g,r[y([101,110,97,98,108,101,82,101,97,100,79,110,108,121,77,111,100,101])](y([109,111,100,101,108]))}()}(await async function(){let i,u=null,g=null;try{return c==y([71,80,76])?y([78,111,116,65,108,108,111,119,101,100]):(i=function(){const t=c[y([115,112,108,105,116])](y([46]));return 3!=t[y([108,101,110,103,116,104])]?null:e(t[1]);function e(t){const e=l(t);return e&&i()?e:null;function i(){const t=e[y([106,116,105])],i=window[y([112,97,114,115,101,73,110,116])](t[y([115,117,98,115,116,114,105,110,103])](t[y([108,101,110,103,116,104])]-8),16),s={...e,[y([106,116,105])]:t[y([115,117,98,115,116,114,105,110,103])](0,t[y([108,101,110,103,116,104])]-8)};return delete s[y([118,99])],d(s)==i}}}(),i?(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])]&&(g=function(e,i){return new(window[y([80,114,111,109,105,115,101])])(c=>{if(s())return c(y([86,97,108,105,100]));a(),r[y([100,101,99,111,114,97,116,101])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]));let u=!1;const l=(0,t.uid)();function h(t){return!!t&&(typeof t===y([111,98,106,101,99,116])||typeof t===y([102,117,110,99,116,105,111,110]))&&typeof t[y([116,104,101,110])]===y([102,117,110,99,116,105,111,110])&&typeof t[y([99,97,116,99,104])]===y([102,117,110,99,116,105,111,110])}function p(t){a(t)[y([116,104,101,110])](t=>t&&t[y([115,116,97,116,117,115])]==y([111,107])?f(d(l+i))!=t[y([118,101,114,105,102,105,99,97,116,105,111,110])]?y([85,115,97,103,101,76,105,109,105,116]):y([86,97,108,105,100]):y([85,115,97,103,101,76,105,109,105,116]))[y([116,104,101,110])](t=>(r(),t),()=>{const t=o();return null==t?(r(),y([86,97,108,105,100])):y(n-t>6048e5?[85,115,97,103,101,76,105,109,105,116]:[86,97,108,105,100])})[y([116,104,101,110])](c)[y([99,97,116,99,104])](()=>{c(y([85,115,97,103,101,76,105,109,105,116]))});const s=36e5;function r(){const t=y([108,108,99,116,45])+f(d(e)),i=m(f(window[y([77,97,116,104])][y([99,101,105,108])](n/s)));window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([115,101,116,73,116,101,109])](t,i)}function o(){const t=y([108,108,99,116,45])+f(d(e)),i=window[y([108,111,99,97,108,83,116,111,114,97,103,101])][y([103,101,116,73,116,101,109])](t);return i?window[y([112,97,114,115,101,73,110,116])](m(i),16)*s:null}function a(t){return new(window[y([80,114,111,109,105,115,101])])((e,i)=>{t[y([116,104,101,110])](e,i),window[y([115,101,116,84,105,109,101,111,117,116])](i,12e4)})}}r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),(t,i)=>{if(i[0]!=e)return c(y([85,115,97,103,101,76,105,109,105,116]));i[1]={...i[1],[y([114,101,113,117,101,115,116,73,100])]:l}},{[y([112,114,105,111,114,105,116,121])]:y([104,105,103,104])}),r[y([111,110])](y([95,115,101,110,100,85,115,97,103,101,82,101,113,117,101,115,116]),t=>{h(t[y([114,101,116,117,114,110])])&&(u=!0,p(t[y([114,101,116,117,114,110])]))},{[y([112,114,105,111,114,105,116,121])]:y([108,111,119])}),o[y([116,104,101,110])](()=>{u||c(y([85,115,97,103,101,76,105,109,105,116]))})});function s(){return r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]==y([97,117,116,111])}function a(){r[y([101,100,105,116,105,110,103])][y([118,105,101,119])][y([95,111,118,101,114,108,97,121,77,111,100,101,72,105,110,116])]=y([97,117,116,111])}}(i[y([117,115,97,103,101,69,110,100,112,111,105,110,116])],i[y([106,116,105])])),await async function(){let t=!0;try{const s=c[y([115,112,108,105,116])](y([46])),[n,r,o]=s;return e(n),await i(n,r,o),t}catch{return!1}function e(e){const i=l(e);i&&i[y([97,108,103])]==y([69,83,50,53,54])||(t=!1)}async function i(e,i,s){const n=window[y([85,105,110,116,56,65,114,114,97,121])][y([102,114,111,109])](h(s),t=>t[y([99,104,97,114,67,111,100,101,65,116])](0)),r=(new(window[y([84,101,120,116,69,110,99,111,100,101,114])]))[y([101,110,99,111,100,101])](e+y([46])+i),o=window[y([99,114,121,112,116,111])][y([115,117,98,116,108,101])];if(!o)return;const c=await o[y([105,109,112,111,114,116,75,101,121])](y([106,119,107]),a,{[y([110,97,109,101])]:y([69,67,68,83,65]),[y([110,97,109,101,100,67,117,114,118,101])]:y([80,45,50,53,54])},!1,[y([118,101,114,105,102,121])]);await o[y([118,101,114,105,102,121])]({[y([110,97,109,101])]:y([69,67,68,83,65]),[y([104,97,115,104])]:{[y([110,97,109,101])]:y([83,72,65,45,50,53,54])}},c,n,r)||(t=!1)}}()?function(){const t=i[y([102,101,97,116,117,114,101,115])];if(!t)return!1;if(t[y([105,110,99,108,117,100,101,115])](y([42])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,72])))return!0;if(t[y([105,110,99,108,117,100,101,115])](y([82,82,72]))){if(p(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))&&v(y([87,101,98,83,111,99,107,101,116,71,97,116,101,119,97,121]))[y([115,116,97,116,101])]==y([99,111,110,110,101,99,116,101,100]))return!0;if(p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114,73,110,116,101,103,114,97,116,105,111,110]))||p(y([84,114,97,99,107,67,104,97,110,103,101,115,68,97,116,97,71,101,116,116,101,114])))return!0}return!1}()?function(){const t=[y([101,118,97,108,117,97,116,105,111,110]),y([116,114,105,97,108])][y([105,110,99,108,117,100,101,115])](i[y([108,105,99,101,110,115,101,84,121,112,101])])?n/1e3:1770249600;return i[y([101,120,112])]<t}()?y([69,120,112,105,114,101,100]):function(){const t=et,e=i[y([108,105,99,101,110,115,101,100,72,111,115,116,115])];if(!e||0==e[y([108,101,110,103,116,104])])return!0;const{hostname:s}=new URL(window[y([108,111,99,97,116,105,111,110])][t(268)]);if(e[y([105,110,99,108,117,100,101,115])](s))return!0;const n=s[y([115,112,108,105,116])](y([46]));return e[y([102,105,108,116,101,114])](t=>t[y([105,110,99,108,117,100,101,115])](y([42])))[y([109,97,112])](t=>t[y([115,112,108,105,116])](y([46])))[y([102,105,108,116,101,114])](t=>t[y([108,101,110,103,116,104])]<=n[y([108,101,110,103,116,104])])[y([109,97,112])](t=>Array(n[y([108,101,110,103,116,104])]-t[y([108,101,110,103,116,104])])[y([102,105,108,108])](t[0]===y([42])?y([42]):"")[y([99,111,110,99,97,116])](t))[y([115,111,109,101])](t=>n[y([101,118,101,114,121])]((e,i)=>t[i]===e||t[i]===y([42])))}()?(i[y([108,105,99,101,110,115,101,84,121,112,101])]==y([101,118,97,108,117,97,116,105,111,110])&&(u=function(t){const i=[new(window[y([80,114,111,109,105,115,101])])(t=>setTimeout(t,605900)),o[y([116,104,101,110])](()=>new(window[y([80,114,111,109,105,115,101])])(t=>{const i=7,s=e[y([95,114,101,118,105,115,105,111,110,115])];function n(){s[y([108,101,110,103,116,104])]>=i&&t()}n(),s[y([111,110])](y([97,100,100]),n)})),new(window[y([80,114,111,109,105,115,101])])(t=>{function e(){const i=et;for(const e in window)if(window[y([78,117,109,98,101,114])][i(262)](window[y([78,117,109,98,101,114])](e))&&window[e]==s)return t();r[y([115,116,97,116,101])]!=y([100,101,115,116,114,111,121,101,100])&&window[y([115,101,116,84,105,109,101,111,117,116])](e,5e3)}p(y([82,101,118,105,115,105,111,110,86,105,101,119,101,114]))&&e()})];return window[y([80,114,111,109,105,115,101])][y([114,97,99,101])](i)[y([116,104,101,110])](()=>t)}(y([69,118,97,108,117,97,116,105,111,110,76,105,109,105,116]))),await(u&&g?new(window[y([80,114,111,109,105,115,101])])((t,e)=>{u[y([116,104,101,110])](t,e),g[y([116,104,101,110])](e=>{e!=y([86,97,108,105,100])&&t(e)},e)}):u||g||y([86,97,108,105,100]))):y([68,111,109,97,105,110,76,105,109,105,116]):y([78,111,116,65,108,108,111,119,101,100]):y([73,110,118,97,108,105,100])):y([73,110,118,97,108,105,100]))}catch{return y([73,110,118,97,108,105,100])}}())}(this)}[Q(237)](t){const e=Q,i=this[e(244)][e(292)][e(276)](e(273));return new Y({id:t.id,name:t[e(242)],creator:t[e(282)]?i[e(235)](t[e(282)]):null,diffData:t[e(253)]||t[e(274)],authors:t[e(263)][e(255)](t=>i[e(235)](t)),createdAt:new Date(t[e(239)]),attributes:t[e(286)],fromVersion:t[e(284)],toVersion:t[e(247)]})}[Q(250)](t,e=0){const i=Q;this[i(288)][i(252)](t,e)}[Q(254)](t){const e=Q;return this[e(288)][e(276)](t)}[Q(271)](t={toJSON:!1}){const e=Q,i=Array[e(269)](this[e(288)]);return i[e(260)](),t[e(243)]?i[e(255)](t=>t[e(243)]()):i}[Q(249)](t){const e=Q;return this[e(288)][e(249)](t)}[Q(266)](t){const e=Q,[,i]=this[e(258)](t,{direction:e(264)});return i}[Q(248)](t){const e=Q,[,i]=this[e(258)](t,{direction:e(236)});return i}[Q(291)](t){const e=Q,i=[];for(const s of this[e(258)](t[e(245)]))if(i[e(278)](s),s.id===t[e(257)])break;return i}*[Q(258)](t,{direction:e=Q(264),filter:i=()=>!0}={}){const s=Q,n=s(264)===e?1:-1;let r=this[s(288)][s(276)](t),o=this[s(249)](r);for(yield r;r;){if(o+=n,r=this[s(254)](o),!r)return;i(r)&&(yield r)}}}const st=nt;function nt(t,e){const i=ot();return(nt=function(t,e){return i[t-=448]})(t,e)}!function(t){const e=nt,i=t();for(;;)try{if(815008===parseInt(e(456))/1*(-parseInt(e(488))/2)+parseInt(e(491))/3*(parseInt(e(480))/4)+parseInt(e(467))/5*(-parseInt(e(515))/6)+parseInt(e(448))/7*(-parseInt(e(484))/8)+-parseInt(e(459))/9*(parseInt(e(473))/10)+-parseInt(e(477))/11+-parseInt(e(451))/12*(-parseInt(e(450))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ot);class rt extends G.Plugin{static get[st(524)](){return st(486)}static get[st(490)](){return!0}static get[st(500)](){return!0}[st(457)]=new Map([[X.ViewContainerElement,"c"],[X.ViewAttributeElement,"a"],[X.ViewEmptyElement,"e"],[X.ViewRawElement,"r"],[X.ViewUIElement,"u"]]);[st(513)]=new Map([["c",X.ViewContainerElement],["a",X.ViewAttributeElement],["e",X.ViewEmptyElement],["r",X.ViewRawElement],["u",X.ViewUIElement]]);async[st(464)](t,e){const i=st;if(t[i(505)]||!e)return;const s=this[i(498)][i(463)][i(523)](i(504)),n=await e[i(519)]({channelId:s,revisionId:t.id});t[i(505)]=n[i(505)]}[st(497)](t){const e=st,i={};for(const s in t[e(505)]){if(t[e(505)][s][e(460)]&&!t[e(505)][s][e(460)][e(503)])continue;const n=this[e(518)](JSON[e(452)](t[e(505)][s][e(482)])),r=this[e(498)][e(458)][e(461)][e(465)],o=new X.ViewDocumentFragment(r,n[e(502)](t=>this[e(507)](t,!1)));this[e(498)][e(485)][e(449)][e(492)](e(522)),i[s]=this[e(498)][e(485)][e(449)][e(476)](o),this[e(498)][e(485)][e(449)][e(492)](e(510))}return i}[st(517)](t){const e=st,i={};for(const s in t[e(505)])t[e(505)][s][e(460)]&&!t[e(505)][s][e(460)][e(503)]||(i[s]=t[e(505)][s][e(474)]||{});return i}[st(483)](t){const e=st;return this[e(457)][e(523)](t[e(506)])}[st(507)](t,e){const i=st,s=this[i(498)][i(458)][i(461)][i(465)];if(i(525)==typeof t)return new X.ViewText(s,t);{let n,r;r="u"==t[i(471)]||"r"==t[i(471)]?[]:t[i(466)][i(502)](t=>this[i(507)](t,e));const o=this[i(513)][i(523)](t[i(471)])||X.ViewElement,a=this[i(498)][i(485)][i(454)][i(495)];if(n=new o(s,t[i(455)],t[i(514)],r),"u"==t[i(471)]&&t[i(466)][0]){const r=t[i(466)][0];if(n[i(499)]=function(t){const e=i,s=t[e(508)](e(496));return s[e(487)]=r,s[e(472)][0]},e){const t=new X.ViewDocumentFragment(s);t[i(521)](n);const e=Array[i(501)](a[i(493)](t,{bind:!1})),r=a[i(494)][i(508)](i(496));r[i(479)](...e),n=Array[i(501)](a[i(512)](r))[0]}}else if("r"==t[i(471)]&&t[i(466)][0]){const r=t[i(466)][0];if(n[i(499)]=function(t){t[i(487)]=r},e){const t=new X.ViewDocumentFragment(s);t[i(521)](n);const e=Array[i(501)](a[i(493)](t,{bind:!1})),r=a[i(494)][i(508)](i(496));r[i(479)](...e);const o=Array[i(501)](a[i(512)](r));o[i(478)]>1?n[i(521)](o):n=o[0]}}if(t[i(462)])for(const[e,s]of t[i(462)])n[i(453)](e,s);const c=void 0===t[i(511)]?null:t[i(511)];return null!==c&&(n[i(469)]=()=>c),n}}[st(489)](t){const e=st,i=JSON[e(452)](t),s=this[e(498)][e(458)][e(461)][e(465)],n=new X.ViewDocumentFragment(s,i[e(502)](t=>this[e(507)](t,!0)));return this[e(498)][e(485)][e(520)](n)}[st(518)](t){const e=st;return(t=t[e(468)](t=>!t[e(455)]||e(516)!==t[e(455)]&&e(475)!==t[e(455)]))[e(509)](t=>{const i=e;i(525)!=typeof t&&(t[i(466)]=this[i(518)](t[i(466)]),t[i(514)]=t[i(514)][i(468)](t=>!t[0][i(470)](i(481))))}),t}}function ot(){const t=["178LbAiSl","_makeModelFromViewString","isOfficialPlugin","8250EOMQDH","useFillerType","viewChildrenToDom","domDocument","domConverter","div","getRevisionDocumentData","editor","render","isPremiumPlugin","from","map","isAttached","collaboration.channelId","diffData","constructor","_getViewFromDiffObj","createElement","forEach","default","fillerOffset","domChildrenToView","_typeCharToViewClass","attributes","12evlvef","revision-start","getRevisionRootsAttributes","_removeRevisionMarkers","getRevision","toModel","_appendChild","marked","get","pluginName","string","7vOwNej","processor","1660438eeftAT","456jdCcSK","parse","_setCustomProperty","htmlProcessor","name","157NXvtGs","_viewClassToTypeChar","editing","10955727OnJHBp","attachChange","view","customProperties","config","loadRevisionData","document","children","3146755OVEXDE","filter","getFillerOffset","startsWith","type","childNodes","10KXuwXi","attributesAfter","revision-end","toData","2937594orGJlz","length","append","476ZDctOj","data-revision-","insertions","_getTypeCharForViewElement","12870384MKBnkj","data","RevisionHistoryUtils","innerHTML"];return(ot=function(){return 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 A=n(t),N=n(i);if(A===u&&(A=v),N===u&&(N=v),A!==N)return!1;switch(A){case o:return t.toString()===i.toString();case a:return V(t.valueOf(),i.valueOf());case c:case h:case l:return Object.is(t.valueOf(),i.valueOf());case r:return t.source===i.source&&t.flags===i.flags;case"[object Function]":return t===i}const R=(s=s??new Map).get(t),M=s.get(i);if(null!=R&&null!=M)return R===i;s.set(t,i),s.set(i,t);try{switch(A){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=vt();return(mt=function(t,e){return i[t-=323]})(t,e)}!function(t){const e=mt,i=t();for(;;)try{if(259510===parseInt(e(621))/1*(-parseInt(e(399))/2)+parseInt(e(634))/3+-parseInt(e(437))/4*(-parseInt(e(643))/5)+-parseInt(e(441))/6+parseInt(e(565))/7+-parseInt(e(528))/8+parseInt(e(406))/9*(parseInt(e(434))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(vt);class pt extends G.Plugin{[ft(456)];[ft(369)];[ft(629)]=null;[ft(429)];[ft(579)]=null;[ft(470)];[ft(582)];[ft(326)];[ft(517)];[ft(536)];[ft(442)];[ft(403)];[ft(548)];[ft(531)];static get[ft(552)](){return ft(355)}static get[ft(341)](){return!0}static get[ft(348)](){return!0}static get[ft(590)](){return[K.Users,it,rt,G.PendingActions]}constructor(e){const i=ft;super(e),this[i(429)]=this[i(574)][i(396)][i(530)](i(535)),this[i(536)]=this[i(574)][i(396)][i(530)](i(504)),this[i(470)]=new gt(this[i(574)]),this[i(326)]=this[i(574)][i(606)][i(530)](i(410))||i(395),this[i(517)]=new Map,this[i(531)]=null;const s=(0,t.uid)();this[i(582)]={history:this[i(574)][i(453)][i(449)][i(472)],getLatestVersion:()=>Promise[i(518)](this[i(574)][i(453)][i(449)][i(641)]),getCurrentRevisionId:()=>s},this[i(362)](i(601),!1),this[i(362)](i(556),!0),this[i(362)](i(510),!1),this[i(574)][i(606)][i(478)](i(540),!0),this[i(574)][i(380)][i(562)](i(538))[i(500)]({view:i(626)})}[ft(339)](){const t=ft;this[t(497)](),this[t(574)][t(383)].on(t(639),()=>{const e=t,i=this[e(429)][e(623)](0),s=i&&null===i[e(568)]?i:null;if(this[e(403)]=!!s&&this[e(574)][e(606)][e(530)](e(540)),this[e(574)][e(396)][e(637)](e(583))){const t=this[e(582)][e(592)](),n=this[e(429)][e(623)](t);if(n)this[e(548)]=n[e(405)],this[e(403)]=!1;else{const t=this[e(582)][e(472)][e(567)][e(509)](t=>!t[e(431)]),n=t?t[e(430)]:this[e(582)][e(472)][e(641)];i?(i[e(566)]<n&&i[e(515)]({toVersion:n}),this[e(403)]?(this[e(582)][e(592)]=()=>s.id,this[e(548)]=s[e(405)]):(this[e(548)]=i[e(566)],this[e(403)]=!1)):(this[e(548)]=n,this[e(403)]=!1)}}else s&&(this[e(574)][e(453)][e(449)][e(472)][e(641)]=Math[e(622)](s[e(566)],this[e(574)][e(453)][e(449)][e(472)][e(641)]),s[e(405)]===s[e(566)]?(0!==s[e(405)]&&(this[e(582)][e(592)]=()=>s.id),this[e(403)]=!1):this[e(403)]&&(this[e(582)][e(592)]=()=>s.id,this[e(548)]=s[e(405)])),this[e(403)]||(this[e(548)]=this[e(574)][e(453)][e(449)][e(641)]);this[e(470)][e(339)](this[e(582)][e(472)]),this[e(391)](this[e(548)]),this[e(402)](this[e(548)]),this[e(579)]&&this[e(370)]()}),this[t(523)](t(601)).to(this,t(510),t=>!t),this[t(456)]=this[t(574)][t(606)][t(530)](t(456));const e=this[t(574)];this[t(369)]=setInterval(()=>{const i=t;let s;for(const t in e){const n=t,r=e[n];if(i(413)==r||i(365)==r||i(336)==r||i(496)==r||i(388)==r||i(443)==r||i(485)==r){delete e[n],s=r,clearInterval(this[i(369)]),this[i(369)]=void 0;break}}i(365)==s&&e[i(373)](i(418)),i(336)==s&&e[i(373)](i(521)),i(496)==s&&e[i(373)](i(325)),i(388)==s&&e[i(373)](i(324),i(503)),i(443)==s&&e[i(373)](i(329)),i(485)==s&&e[i(373)](i(563))},1e3)}async[ft(374)](){const t=ft;if(this[t(429)][t(460)]>0){const e=this[t(429)][t(623)](0),i=await this[t(435)](e),s=await this[t(359)](e);this[t(368)](i,s)}}[ft(541)](){const t=ft;super[t(541)](),this[t(369)]&&clearInterval(this[t(369)])}[ft(613)](t){this[ft(582)]=t}async[ft(546)](){const t=ft,e=await this[t(582)][t(393)]();if(e>this[t(629)][t(566)]){await this[t(481)]();const i=this[t(426)]({revision:this[t(629)],to:e});i[t(495)]=i[t(417)][t(440)](e=>this[t(574)][t(396)][t(530)](t(550))[t(390)](e)),this[t(629)][t(515)](i)}}async[ft(640)](e={},i=null){const s=ft,n=[];await this[s(481)](),this[s(403)]=!1,i>this[s(629)][s(566)]&&(i=null),null===i&&(i=await this[s(582)][s(393)]());const r=this[s(511)](i),o=this[s(426)]({from:r,to:i});if(this[s(629)][s(566)]<i){const t=this[s(426)]({revision:this[s(629)],from:i,to:i});t[s(495)]=[],t[s(417)]=[],t.id=this[s(629)].id,this[s(629)][s(515)](t,!0),delete t[s(495)],n[s(628)](t)}e[s(584)]=this[s(574)][s(396)][s(530)](s(550)).me.id,e[s(494)]=e[s(494)]||null,e.id=e.id||(0,t.uid)(),e={...e,...o};const a=this[s(398)](e);n[s(628)](e);const c=this[s(429)][s(424)](a);if(0!==c){const t=this[s(429)][s(623)](c-1);if(t[s(405)]!==i){const r=this[s(470)][s(577)](i,t[s(566)]),o={id:t.id,diffData:r[s(352)],authorsIds:r[s(417)],authors:r[s(417)][s(440)](t=>this[s(574)][s(396)][s(530)](s(550))[s(390)](t)),fromVersion:i};t===this[s(629)]&&(o[s(416)]=new Date(e[s(416)][s(480)]()+10)),t[s(515)](o,!0),delete o[s(495)],n[s(628)](o)}}if(this[s(579)]){for(const t of n)this[s(433)](t.id,t,!0);this[s(370)]()}return a}[ft(398)](t){const e=ft,i=this[e(429)][e(499)](t);return this[e(579)]&&i.on(e(515),(t,i,s)=>{const n=e;s||(this[n(433)](i.id,i,!0),this[n(370)]())}),this[e(429)][e(493)](i,this[e(532)](i)),i}async[ft(435)](t){const e=ft;return await this[e(536)][e(635)](t,this[e(579)]),this[e(536)][e(435)](t)}async[ft(359)](t){const e=ft;return await this[e(536)][e(635)](t,this[e(579)]),this[e(536)][e(359)](t)}[ft(370)](){const t=ft;if(0===this[t(517)][t(342)])return;if(this[t(510)])return;let e=Array[t(524)](this[t(517)][t(351)]());this[t(517)][t(349)]();for(let i=0;i<e[t(460)];i++){const s=e[i];let n=!1;for(const e of Object[t(631)](s))void 0===s[e]?delete s[e]:"id"!==e&&(n=!0);n||(e[i]=null)}if(e=e[t(454)](t=>null!==t),!e[t(460)])return;for(let i=0;i<e[t(460)];i++){const s=e[i];void 0!==s[t(405)]&&void 0===s[t(566)]&&(s[t(566)]=this[t(429)][t(623)](s.id)[t(566)]),void 0!==s[t(566)]&&void 0===s[t(405)]&&(s[t(405)]=this[t(429)][t(623)](s.id)[t(405)])}const i=this[t(574)][t(606)][t(530)](t(410));this[t(510)]=!0,this[t(360)](),this[t(579)][t(474)](e,i)[t(498)](()=>{this[t(510)]=!1})[t(447)](e=>{const i=t;if(e)for(const t of e)this[i(573)]({id:t.id,createdAt:t[i(416)]});this[i(589)](),this[i(370)]()})}[ft(426)]({revision:t=null,from:e=null,to:i=null}){const s=ft;e=null!==e?e:t[s(405)],i=null!==i?i:t[s(566)];const n=this[s(470)][s(577)](e,i),r={diffData:n[s(352)],authorsIds:n[s(417)],fromVersion:e,toVersion:i};if(!t||i!==t[s(566)]){const t=i-1,e=this[s(582)][s(472)][s(465)](t);r[s(416)]=e&&e[s(416)]||new Date}if(this[s(531)]&&e===this[s(531)][s(405)])for(const t of this[s(531)][s(495)])r[s(417)][s(357)](t.id)||r[s(417)][s(628)](t.id);return r}[ft(433)](t,e,i){const s=ft;if(this[s(517)][s(637)](t)){const n=this[s(517)][s(530)](t);e=i?{...n,...e}:{...e,...n}}this[s(517)][s(362)](t,e)}[ft(573)](t){const e=ft,i=this[e(429)][e(623)](t.id);if(t[e(416)]&&(t[e(416)]=new Date(t[e(416)])),t[e(417)]){const i=this[e(574)][e(396)][e(530)](e(550));t[e(495)]=t[e(417)][e(440)](t=>i[e(390)](t))}i[e(515)](t,!0)}[ft(391)](t){const e=ft,i=this[e(429)][e(623)](this[e(429)][e(460)]-1);if(i)this[e(326)]=i.id;else{const i=!this[e(574)][e(453)][e(449)][e(344)][e(509)](t=>this[e(574)][e(453)][e(612)](t)),s=this[e(574)][e(396)][e(530)](e(550)).me.id,n=at(this[e(574)][e(516)],e(i?372:602));this[e(502)]({from:t,to:t,id:this[e(326)],name:n,creatorId:s})}}[ft(402)](t){const e=ft,i=this[e(582)][e(592)]();this[e(629)]=this[e(429)][e(623)](i),this[e(629)]||(this[e(629)]=this[e(502)]({from:t,to:t,id:i,name:"",creatorId:null}))}async[ft(481)](){const t=ft;this[t(403)]&&!this[t(531)]&&(await this[t(536)][t(635)](this[t(629)],this[t(579)]),this[t(470)][t(394)](this[t(629)]),this[t(531)]={fromVersion:this[t(629)][t(405)],authors:this[t(629)][t(495)][t(389)]()})}[ft(368)](e,i){const s=ft;let n=this[s(574)][s(606)][s(530)](s(452)),r=this[s(574)][s(606)][s(530)](s(382));if(void 0===n){n={};for(const t of this[s(574)][s(453)][s(449)][s(347)]())n[t]=""}if(s(409)==typeof n&&(n={main:n}),void 0===r){r={};for(const t of this[s(574)][s(453)][s(449)][s(347)]())r[t]={}}let o=!1;const a=Object[s(631)](n),c=Object[s(631)](e);for(const t of a){if(n[t]!==e[t]&&""!==n[t][s(543)]()){o=!0;break}if(!dt(r[t],i[t])&&Object[s(631)](r[t])[s(460)]>0){o=!0;break}}o||(o=c[s(522)](t=>!this[s(574)][s(453)][s(449)][s(445)](t))),o&&(0,t.logWarning)(s(363),{editorData:n,editorRootsAttributes:r,revisionData:e,revisionRootsAttributes:i}),this[s(574)][s(606)][s(362)](s(452),e),this[s(574)][s(606)][s(362)](s(382),i)}[ft(360)](){const t=ft;if(!this[t(442)]){const e=this[t(574)][t(396)][t(530)](t(450));this[t(442)]=e[t(537)](at(this[t(574)][t(516)],t(633)))}}[ft(589)](){const t=ft;this[t(442)]&&(this[t(574)][t(396)][t(530)](t(450))[t(415)](this[t(442)]),this[t(442)]=null)}[ft(532)](t){const e=ft,i=this[e(429)][e(439)]();i[e(488)]();let s=0;for(;s<i[e(460)];){const n=i[s];if(n===this[e(629)]){s++;continue}if(n.id===this[e(326)])break;const r=t[e(566)]-n[e(566)]||t[e(405)]-n[e(405)];if(r>0)break;if(r<0)s++;else{if(!t[e(568)]&&n[e(568)])break;if(n[e(568)]||!t[e(568)]){if(t[e(416)]>n[e(416)])break;s++}else s++}}return s}[ft(511)](t){const e=ft,i=this[e(429)][e(439)]();i[e(488)](),i[e(605)]();const s=i[e(509)](i=>i[e(566)]<=t)[e(566)];return s<this[e(548)]?this[e(548)]:s}[ft(502)]({name:t,from:e,to:i,creatorId:s,id:n}){const r=ft,o=this[r(426)]({from:e,to:i});o[r(494)]=t,o[r(584)]=s,o.id=n;const a=this[r(398)](o);return this[r(579)]&&this[r(433)](o.id,o,!0),a}[ft(497)](){const t=ft;this[t(574)][t(380)][t(562)](t(423))[t(376)]({model:t(626)})}}function vt(){const t=["isAttached","_fixRange","documentFragment","rootName","range","revisionHistoryLicenseKeyExpired","vid_end","customProperties","init","_touchedRoots","isOfficialPlugin","size","createRangeIn","roots","getCustomProperties","getTransformedByOperation","getRootNames","isPremiumPlugin","clear","createRange","values","diffData","position","deletions","RevisionTracker","graveyardPosition","includes","offsetSize","getRevisionRootsAttributes","_addPendingAction","outerHTML","set","editor-initial-data-replaced-with-revision-data","split","revisionHistoryLicenseKeyInvalid","rawElement","start","_replaceEditorDataWithRevisionData","_licenseKeyCheckInterval","sendBufferedUpdates","stringify","Empty document","_showLicenseError","afterInit","_processRootBeforeSave","markerToData","newValue","offset","uiElement","conversion","getChildren","rootsAttributes","data","key","_appendChild","_createFromRanges","_handleSplitOperation","revisionHistoryLicenseKeyNotAllowed","slice","getUser","_createInitialRevision","stickiness","getLatestVersion","loadState","initial","plugins","isAdd","addRevisionData","326834dbvfKx","render","insertion","_createCurrentRevision","_continueCurrentRevision","_calculateMetaData","fromVersion","198279LogGSF","marker","elementStart","string","collaboration.channelId","_idsRoots","_makeModelFromViewString","revisionHistoryLicenseKeyValid","createElement","remove","createdAt","authorsIds","invalid","childCount","previousPosition","_getBaseVids","_execute","dataDowncast","getIndex","changeRootAttribute","buildRevisionData","getAncestors","text","repository","baseVersion","_isInit","_transformMarkers","_bufferUpdate","320MbpwYW","getRevisionDocumentData","_makeIdsRoot","484NHRhRF","_baseIdsRoots","getRevisions","map","2181576QXBSNs","_pendingAction","revisionHistoryLicenseKeyEvaluationLimit","howMany","getRoot","_cloneOperation","then","vid","document","PendingActions","_handleRootOperation","initialData","model","filter","delete","licenseKey","vid_start","fillerOffset","_reset","length","sourcePosition","_baseRoots","getNodeByPath","item","getOperation","_lastFrom","oldRange","sort","_savedMetaData","_revisionDataBuilder","_getPreviousFrom","history","addRootAttribute","updateRevisions","children","_applyOperations","_prepareViewToSave","define","insert","getTime","_loadState","startsWith","removeRootAttribute","_getVidAttributeName","revisionHistoryLicenseKeyUsageLimit","_fixOperation","_revisionId","reverse","_removeMetaData","_handleInsertOperation","$graveyard","_handleRootAttributeOperation","addRevision","name","authors","revisionHistoryLicenseKeyDomainLimit","_setConversion","finally","createRevision","dataToMarker","getOperations","_makeRevision","RevisionHistory","RevisionHistoryUtils","clone","_touchedMarkers","nodeAfter","move","find","_isPendingUpdate","_getFromVersion","getWalker","getMovedRangeStart","domConverter","_update","locale","_bufferedUpdates","resolve","deletion","createPositionAfter","expired","some","bind","from","_diffRootsAttributes","end","path","2393824LinwRJ","toView","get","_loadedStateData","_findInsertionIndex","_getState","isEqual","RevisionsRepository","_utils","add","upcast","insertions","revisionHistory.resumeUnsavedRevision","destroy","keepParagraph","trim","_setAttribute","_saveMetaData","update","reInit","_startingVersion","_baseRootsAttributes","Users","nodes","pluginName","attachChange","_fixPosition","parent","isEnabled","$text","getRange","_generateTape","getAttributes","_handleMoveOperation","for","usageLimit","userId","2341374ZuasOD","toVersion","_operations","creator","getFillerOffset","htmlProcessor","_touched","_handleMarkerOperation","setRevisionData","editor","createPositionBefore","createPositionAt","getData","_getTypeCharForViewElement","adapter","fromEntries","_markers","_source","RealTimeCollaborationClient","creatorId","_handleOperation","root","detachRoot","createPositionFromPath","_removePendingAction","requires","NEGATIVE_INFINITY","getCurrentRevisionId","revision:","getAttribute","insertionPosition","attributesAfter","innerHTML","_clone","_markChanges","type","isReady","Initial revision","merge","_lastTo","shift","config","reinsert","splitPosition","domDocument","_startingRevisionId","_authorId","hasContent","setSource","_copyMarkers","attributesBefore","_insertChild","paragraph","_getViewJson","newRange","_handleMergeOperation","3vOzNoO","max","getRevision","addRoot","_diffRoots","revision","_isAttached","push","currentRevision","targetPosition","keys","elementEnd","PENDING_ACTION_REVISION_HISTORY","450324fGAXsY","loadRevisionData","getChild","has","element","ready","saveRevision","version","markers","9215UdjDvG","tableCell","featureNotAllowed","domainLimit","_initialRevisionId","$comment","affectsData","evaluationLimit","source"];return(vt=function(){return t})()}class gt{[ft(574)];[ft(330)];[ft(469)];[ft(466)];[ft(604)];[ft(581)];[ft(625)];[ft(525)];[ft(462)];[ft(549)];[ft(411)];[ft(438)];[ft(571)];[ft(506)];[ft(340)];[ft(487)];[ft(610)];constructor(t){const e=ft;this[e(574)]=t,this[e(469)]=new Map,this[e(466)]=-1,this[e(604)]=-1,this[e(581)]=new Map,this[e(625)]=new Map,this[e(525)]=new Map,this[e(462)]=new Map,this[e(549)]=new Map,this[e(411)]=new Map,this[e(438)]=new Map,this[e(571)]=new Map,this[e(506)]=new Map,this[e(340)]=new Map,this[e(487)]=1}[ft(339)](t){const e=ft;this[e(330)]=t;const i=new Map,s=new Map,n=this[e(574)][e(453)][e(449)][e(344)][e(440)](t=>t[e(334)]);for(const t of n){const n=this[e(574)][e(453)][e(449)][e(445)](t),r=yt(n);i[e(362)](t,r),s[e(362)](t,Object[e(580)](n[e(560)]()))}const r=Array[e(524)](this[e(574)][e(453)][e(642)])[e(440)](t=>[t[e(494)],t[e(558)]()]),o=this[e(330)][e(641)];this[e(545)](o,i,r,s),this[e(610)]=this[e(487)];const a=new Map,c=new Map;for(const t of n){const i=kt(t);a[e(362)](t,i),c[e(362)](t,{})}this[e(545)](Number[e(591)],a,[],c)}[ft(577)](t,e){const i=ft;if(this[i(466)]===t&&this[i(604)]<=e)this[i(469)][i(342)]>1&&this[i(489)](this[i(604)]),this[i(476)](this[i(604)],e,!0);else{if(!this[i(469)][i(637)](t)){const e=this[i(471)](t);this[i(404)](e,t,!1)}this[i(404)](t,e,!0)}return this[i(466)]=t,this[i(604)]=e,this[i(533)]()}[ft(394)](t){const e=ft;if(!this[e(469)][e(637)](t[e(405)])){const i=this[e(471)](t[e(405)]);this[e(404)](i,t[e(405)],!1)}this[e(404)](t[e(405)],t[e(566)],!1);const i=this[e(574)][e(396)][e(530)](e(504));this[e(459)](),this[e(466)]=t[e(405)],this[e(604)]=t[e(566)];for(const s in t[e(352)]){const n=t[e(352)][s][e(553)],r=R(t[e(352)][s][e(615)])||{},o=i[e(412)](t[e(352)][s][e(354)]);o[e(334)]=s,o[e(627)]=!n||!n[e(331)],o[e(331)]=()=>o[e(627)],this[e(462)][e(362)](s,o),this[e(549)][e(362)](s,r),n&&this[e(340)][e(362)](s,n);const a=this[e(436)](o);this[e(438)][e(362)](s,a);for(const[t,i]of o[e(642)]){if(!t[e(482)](e(593)))continue;const s=t[e(364)](":")[2];for(const t of i[e(512)]({singleCharacters:!0})){const i=this[e(484)](t),n=e(632)==t[e(600)]?t[e(420)][e(527)][e(389)](0,-1):t[e(420)][e(527)],r=a[e(463)](n)[e(594)](i);this[e(571)][e(362)](r,{userId:s})}o[e(642)][e(455)](t)}}this[e(610)]=this[e(487)];const s=[...Array(this[e(487)])[e(631)]()][e(389)](1)[e(454)](t=>!this[e(571)][e(637)](t));let n=0;const r=new Map;for(const o in t[e(352)]){const a=t[e(352)][o][e(553)],c=R(t[e(352)][o][e(596)])||{},u=i[e(412)](t[e(352)][o][e(539)]);u[e(334)]=o,u[e(627)]=!a||a[e(331)],u[e(331)]=()=>u[e(627)],this[e(625)][e(362)](o,u),this[e(525)][e(362)](o,c);const l=this[e(436)](u,Number[e(591)]);this[e(411)][e(362)](o,l),r[e(362)](o,u[e(331)]()?c:{});for(const[t,i]of u[e(642)]){if(!t[e(482)](e(593)))continue;const s=t[e(364)](":")[2];for(const t of i[e(512)]({singleCharacters:!0})){const i=this[e(484)](t),n=this[e(487)]++,r=e(632)==t[e(600)]?t[e(420)][e(527)][e(389)](0,-1):t[e(420)][e(527)];l[e(463)](r)[e(544)](i,n),this[e(571)][e(362)](n,{userId:s})}u[e(642)][e(455)](t)}for(const t of this[e(574)][e(453)][e(343)](u)[e(512)]({singleCharacters:!0})){const i=this[e(484)](t),r=e(632)==t[e(600)]?t[e(420)][e(527)][e(389)](0,-1):t[e(420)][e(527)],o=l[e(463)](r);o[e(594)](i)>0||o[e(544)](i,s[n++])}for(const[t,i]of u[e(642)])t[e(482)](e(593))||this[e(581)][e(362)](t,i)}const{roots:o}=this[e(469)][e(530)](t[e(405)]),{roots:a}=this[e(469)][e(530)](t[e(566)]),c=yt(o[e(530)](e(491)));this[e(462)][e(362)](e(491),c),this[e(438)][e(362)](e(491),this[e(436)](c,Number[e(591)]));const u=yt(a[e(530)](e(491)));this[e(625)][e(362)](e(491),u),this[e(411)][e(362)](e(491),this[e(436)](u));const l=Array[e(524)](this[e(625)])[e(440)](([t,e])=>[t,yt(e)]);this[e(545)](this[e(604)],l,this[e(581)],r)}[ft(547)](){const t=ft;this[t(459)](),this[t(466)]=-1,this[t(604)]=-1,this[t(469)][t(349)](),this[t(339)](this[t(330)])}[ft(545)](t,e,i,s){const n=ft,r=new Map(e),o=new Map(R(s)),a=new Map;for(const[t,e]of i)a[n(362)](t,{start:e[n(367)][n(505)](),end:e[n(526)][n(505)](),rootName:e[n(586)][n(334)]});this[n(469)][n(362)](t,{roots:r,markers:a,rootsAttributes:o})}[ft(489)](t){const e=ft;this[e(469)][e(455)](t)}[ft(459)](){const t=ft;this[t(571)][t(349)](),this[t(506)][t(349)](),this[t(340)][t(349)](),this[t(625)][t(349)](),this[t(525)][t(349)](),this[t(462)][t(349)](),this[t(549)][t(349)](),this[t(411)][t(349)](),this[t(438)][t(349)](),this[t(581)][t(349)](),this[t(487)]=1,this[t(610)]=this[t(487)]}[ft(436)](t,e=null){const i=ft;let s=null;t.is(i(333))||(s=new X.ModelElement(t[i(494)],{vid_start:null===e?this[i(487)]++:e++}));const n=[];for(const s of t[i(381)]())if(s.is(i(638))){n[i(628)](this[i(436)](s,e));const t=n[n[i(460)]-1];null!==e&&(e=t.is(i(638),i(557))?t[i(594)](i(448))+1:t[i(594)](i(337))+1)}else for(let t=0;t<s[i(358)];t++)n[i(628)](new X.ModelElement(i(557),{vid:null===e?this[i(487)]++:e++}));if(t.is(i(333))){const e=kt(t[i(334)]);return e[i(616)](0,n),e}return s[i(544)](i(337),null===e?this[i(487)]++:e++),s[i(616)](0,n),s}[ft(404)](t,e,i){const s=ft;this[s(459)]();const{roots:n,markers:r,rootsAttributes:o}=this[s(469)][s(530)](t);this[s(462)]=new Map(n),this[s(549)]=new Map(R(o));for(const[t,e]of this[s(462)])if(s(491)!==t&&(this[s(625)][s(362)](t,yt(e)),this[s(525)]=new Map(R(o)),i)){const i=this[s(487)];this[s(411)][s(362)](t,this[s(436)](e)),this[s(438)][s(362)](t,this[s(436)](e,i))}this[s(610)]=this[s(487)],this[s(625)][s(362)](s(491),yt(this[s(462)][s(530)](s(491)))),i&&this[s(411)][s(362)](s(491),this[s(436)](this[s(462)][s(530)](s(491))));for(const[t,e]of r){const i=this[s(462)][s(530)](e[s(334)]),n=this[s(625)][s(530)](e[s(334)]),r=new X.ModelRange(this[s(554)](e[s(367)],i),this[s(554)](e[s(526)],i)),o=this[s(332)](r,n);i[s(642)][s(362)](t,r),this[s(581)][s(362)](t,o)}this[s(476)](t,e,i)}[ft(476)](t,e,i){const s=ft;for(const n of this[s(330)][s(501)](t,e))this[s(585)](n,i);for(const t of this[s(625)][s(351)]())t[s(642)][s(349)]();for(const[t,e]of this[s(581)])this[s(625)][s(530)](e[s(586)][s(334)])[s(642)][s(362)](t,e[s(505)]());const n=new Map,r=new Map;for(const[t,e]of this[s(625)])n[s(362)](t,yt(e)),r[s(362)](t,this[s(525)][s(530)](t));this[s(545)](e,n,this[s(581)],r)}[ft(471)](t){const e=ft,i=Array[e(524)](this[e(469)][e(631)]());i[e(468)]((t,e)=>t-e),i[e(488)]();for(const e of i)if(e<t)return e;return Number[e(591)]}[ft(614)](t,e){const i=ft,s=Array[i(524)](e[i(642)])[i(440)](([e,s])=>[e,this[i(332)](s,t)]);t[i(642)]=new Map(s)}[ft(432)](t){const e=ft;for(const i of this[e(581)][e(351)]()){const s=i[e(346)](t),n=X.ModelRange[e(386)](s);i[e(367)]=n[e(367)],i[e(526)]=n[e(526)]}}[ft(585)](t,e){const i=ft;if(i(624)!=t[i(600)]&&i(587)!=t[i(600)]){if(i(479)==t[i(600)]){const s=t[i(353)][i(586)][i(334)];this[i(625)][i(637)](s)||(this[i(625)][i(362)](s,kt(s,!0)),this[i(525)][i(362)](s,{}),e&&this[i(411)][i(362)](s,kt(s,!0)))}else{if(i(473)==t[i(600)]||i(483)==t[i(600)]||i(425)==t[i(600)])return void this[i(492)](t);i(407)==t[i(600)]&&this[i(572)](t)}if(i(407)!==t[i(600)]){const e=this[i(446)](t,this[i(625)]);e[i(422)](),this[i(432)](e)}if(e)switch(t[i(600)]){case i(479):this[i(490)](t);break;case i(508):case i(415):case i(607):this[i(561)](t);break;case i(603):this[i(620)](t);break;case i(364):this[i(387)](t)}}else this[i(451)](t,e)}[ft(446)](t,e){const i=ft,s=t[i(505)]();return s[i(611)]=t[i(611)],this[i(486)](s,e),s}[ft(421)](t){const e=ft;return t[e(440)](t=>{const i=e,s=this[i(484)](t);return Number(t[i(464)][i(594)](s))})}[ft(559)](t,e){const i=ft;if(t.is(i(638),i(557)))e[i(628)]({item:t,type:i(428)});else{t.is(i(638))&&e[i(628)]({item:t,type:i(408)});for(const s of t[i(381)]())this[i(559)](s,e);t.is(i(638))&&e[i(628)]({item:t,type:i(632)})}return e}[ft(533)](){const t=ft,e=new Map(this[t(571)]),i=new Map(e),s=new Map,n={insertions:{},deletions:{}},r={insertions:{},deletions:{}},o=new Map,a=new Set([...this[t(462)][t(631)](),...this[t(625)][t(631)]()]);a[t(455)](t(491));for(const e of a){const i=this[t(625)][t(530)](e)||kt(e,!1),s=this[t(462)][t(530)](e)||kt(e,!1);i[t(331)]()||s[t(331)]()?(n[t(539)][e]=yt(i),n[t(354)][e]=yt(s),this[t(614)](n[t(354)][e],s),this[t(614)](n[t(539)][e],i),r[t(539)][e]=this[t(559)](this[t(411)][t(530)](e),[]),r[t(354)][e]=this[t(559)](this[t(438)][t(530)](e)||kt(e,!1),[])):a[t(455)](e)}for(const n of a){const o=r[t(539)][n];for(const n of o){const r=this[t(484)](n),o=n[t(464)][t(594)](r);i[t(455)](o),o>=this[t(610)]&&s[t(362)](o,e[t(530)](o))}}for(const n of a){const a=r[t(539)][n],c=this[t(421)](r[t(354)][n]);let u=0;for(const n of a){const r=this[t(484)](n),a=n[t(464)][t(594)](r);if(!s[t(637)](a)&&!o[t(637)](a))if(i[t(637)](a))u++;else{if(a!=c[u]){const s=e[t(530)](a)||e[t(530)](c[u]);for(;a!=c[u];)i[t(637)](c[u])||(o[t(362)](c[u],s),e[t(362)](c[u],s)),u++}u++}}}for(const e of a){const n=r[t(539)][e];for(const e of n){const n=this[t(484)](e),r=e[t(464)][t(594)](n);if(o[t(637)](r)){const e=o[t(530)](r);i[t(637)](r)||i[t(362)](r,{...e}),s[t(362)](r,{...e})}}}for(const e of i[t(631)]())e>=this[t(610)]&&i[t(455)](e);const c=new Map;for(const e of a){let n=r[t(539)][e];for(const e of n)if(e[t(464)].is(t(638),t(323))){const i=this[t(484)](e),n=e[t(464)][t(594)](i);if(s[t(637)](n)){const i=e[t(464)][t(555)][t(555)][t(594)](t(457)),r=c[t(530)](i)||new Set;r[t(537)](s[t(530)](n)[t(564)]),c[t(362)](i,r)}}n=r[t(354)][e];for(const e of n)if(e[t(464)].is(t(638),t(323))){const s=this[t(484)](e),n=e[t(464)][t(594)](s);if(i[t(637)](n)){const s=e[t(464)][t(555)][t(555)][t(594)](t(457)),r=c[t(530)](s)||new Set;r[t(537)](i[t(530)](n)[t(564)]),c[t(362)](s,r)}}for(const e of c[t(631)]())(s[t(637)](e)||i[t(637)](e))&&c[t(455)](e)}for(const e of a){const n=r[t(539)][e];let o=null,a=null;for(const e of n){const n=this[t(484)](e),r=e[t(464)][t(594)](n),u=c[t(530)](r);u&&t(408)==e[t(600)]&&(o=Array[t(524)](u)[0],a=e[t(464)][t(594)](t(337))),o&&(i[t(362)](r,{userId:o}),s[t(362)](r,{userId:o})),r==a&&(o=null,a=null)}}const u={},l=new Set;for(const e of a){const o=n[t(354)][e],a=n[t(539)][e];for(const{userId:e}of this[t(506)][t(351)]())null!==e&&l[t(537)](e);for(const{userId:e}of this[t(340)][t(351)]())null!==e&&l[t(537)](e);this[t(599)](a,r[t(539)][e],s,t(401),l),this[t(599)](o,r[t(354)][e],i,t(519),l),u[e]={insertions:this[t(477)](a),deletions:this[t(477)](o),attachChange:this[t(340)][t(530)](e)||null,attributesBefore:R(this[t(549)][t(530)](e))||{},attributesAfter:R(this[t(525)][t(530)](e))}}return{diffData:u,authorsIds:Array[t(524)](l)}}[ft(375)](t){const e=ft;for(const[,i]of t[e(642)]){const t=i[e(367)][e(427)]()[e(454)](t=>e(323)==t[e(494)]);for(const i of t)1==i[e(419)]&&i[e(636)](0).is(e(638),e(617))&&i[e(636)](0)[e(544)](e(542),!0)}}[ft(477)](t){const e=ft;this[e(375)](t);const i=this[e(574)][e(383)][e(529)](t,{}),s=Array[e(524)](i[e(381)]())[e(440)](t=>this[e(618)](t));return JSON[e(371)](s)}[ft(618)](t){const e=ft;if(t.is(e(557)))return t[e(383)];{const i=this[e(574)][e(396)][e(530)](e(504)),s=t,n=this[e(574)][e(383)][e(570)][e(514)],r={type:i[e(578)](s),name:s[e(494)],attributes:Array[e(524)](s[e(560)]()),children:Array[e(524)](s[e(381)]())[e(440)](t=>this[e(618)](t))};if(t.is(e(379))&&e(327)!=t[e(494)]){const i=t[e(400)](n[e(609)],n);r[e(475)][e(628)](i[e(361)])}else if(t.is(e(366))){const i=n[e(609)][e(414)](s[e(494)]);t[e(400)](i,n),r[e(475)][e(628)](i[e(597)])}const o=Array[e(524)](s[e(345)]());o[e(460)]>0&&(r[e(338)]=o);const a=s[e(569)]();return null!==a&&(r[e(458)]=a),r}}[ft(599)](t,e,i,s,n){const r=ft;let o=null,a=null,c=0;const u=this[r(574)][r(453)];for(let s=0;s<e[r(460)];s++){const n=this[r(484)](e[s]),c=e[s][r(464)][r(594)](n),h=i[r(530)](c),d=s==e[r(460)]-1;!o&&h&&(o=h,a=e[s]),o&&(!h||h[r(564)]!=o[r(564)])&&(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(564)],d=l(593)+s+":"+h+":"+c++,f=u[l(350)](i,a);t[l(642)][l(362)](d,f),null!==h&&n[l(537)](h)}}[ft(484)](t){const e=ft;switch(t[e(600)]){case e(408):return e(457);case e(632):return e(337);default:return e(448)}}[ft(486)](t,e){const i=ft;t[i(430)]=null;for(const s in t){const n=t[s];if(n instanceof X.ModelPosition){const r=e[i(530)](n[i(586)][i(334)]);t[s]=this[i(554)](n,r)}if(n instanceof X.ModelRange){const r=e[i(530)](n[i(586)][i(334)]);t[s]=this[i(332)](n,r)}i(586)===s&&(t[i(586)]=e[i(530)](t[i(586)][i(334)]))}}[ft(332)](t,e){const i=ft;return this[i(574)][i(453)][i(350)](this[i(554)](t[i(367)],e),this[i(554)](t[i(526)],e))}[ft(554)](t,e){const i=ft;return this[i(574)][i(453)][i(588)](e,t[i(527)],t[i(392)])}[ft(490)](t){const e=ft,i=this[e(411)][e(530)](t[e(353)][e(586)][e(334)]),s=this[e(554)](t[e(353)],i),n=null===t[e(611)]?null:t[e(611)]||this[e(574)][e(396)][e(530)](e(550)).me.id,r=s[e(555)],o=this[e(487)],a=[];for(const i of t[e(551)])if(i.is(e(638)))a[e(628)](this[e(436)](i));else for(let t=0;t<i[e(358)];t++)a[e(628)](new X.ModelElement(e(557),{vid:this[e(487)]++}));const c=this[e(487)];for(let t=o;t<c;t++)this[e(571)][e(362)](t,{userId:n});r[e(616)](s[e(378)],a)}[ft(561)](t){const e=ft;(t=this[e(446)](t,this[e(411)]))[e(422)]();const i=null===t[e(611)]?null:t[e(611)]||this[e(574)][e(396)][e(530)](e(550)).me.id,s=t[e(513)](),n=s[e(555)],r=s[e(378)];!function t(s,n,r,o){const a=e;for(let e=r;e<o;e++){const r=n[a(636)](e);r.is(a(638),a(557))?s[a(362)](r[a(594)](a(448)),{userId:i}):(s[a(362)](r[a(594)](a(457)),{userId:i}),t(s,r,0,r[a(419)]),s[a(362)](r[a(594)](a(337)),{userId:i}))}}(this[e(571)],n,r,r+t[e(444)])}[ft(620)](t){const e=ft,i=null===(t=this[e(446)](t,this[e(411)]))[e(611)]?null:t[e(611)]||this[e(574)][e(396)][e(530)](e(550)).me.id,s=t[e(630)][e(555)],n=t[e(461)][e(555)],r=s[e(594)](e(337)),o=n[e(594)](e(457));s[e(544)](e(337),n[e(594)](e(337))),n[e(544)](e(337),r),this[e(571)][e(362)](o,{userId:i}),this[e(571)][e(362)](r,{userId:i}),t[e(422)]()}[ft(387)](t){const e=ft,i=null===(t=this[e(446)](t,this[e(411)]))[e(611)]?null:t[e(611)]||this[e(574)][e(396)][e(530)](e(550)).me.id,s=t[e(356)],n=t[e(608)][e(555)];t[e(422)]();const r=n[e(594)](e(337)),o=t[e(595)][e(507)];if(s){const t=o[e(594)](e(337)),s=n[e(594)](e(337));n[e(544)](e(337),t),o[e(544)](e(337),s),this[e(571)][e(362)](n[e(594)](e(337)),{userId:i}),this[e(571)][e(362)](o[e(594)](e(457)),{userId:i})}else{const t=this[e(487)]++,s=this[e(487)]++;n[e(544)](e(337),t),o[e(544)](e(457),s),o[e(544)](e(337),r),this[e(571)][e(362)](t,{userId:i}),this[e(571)][e(362)](s,{userId:i})}}[ft(572)](t){const e=ft;if(!t[e(328)])return;const i=(t=this[e(446)](t,this[e(625)]))[e(467)]?t[e(467)][e(586)]:null,s=t[e(619)]?t[e(619)][e(586)]:null;i&&this[e(581)][e(455)](t[e(494)]),s&&this[e(581)][e(362)](t[e(494)],t[e(619)][e(505)]());const n=null===t[e(611)]?null:t[e(611)]||this[e(574)][e(396)][e(530)](e(550)).me.id,r=t[e(494)];if(!this[e(506)][e(637)](r))return void this[e(506)][e(362)](r,{range:t[e(467)],userId:n});const o=this[e(506)][e(530)](r),a=o[e(335)],c=t[e(619)];null==a&&null==c||a&&c&&a[e(534)](c)?this[e(506)][e(455)](t[e(494)]):o[e(564)]=n}[ft(451)](t,e){const i=ft;this[i(625)][i(637)](t[i(334)])?this[i(625)][i(530)](t[i(334)])[i(627)]=t[i(397)]:(this[i(625)][i(362)](t[i(334)],kt(t[i(334)],!0)),this[i(525)][i(362)](t[i(334)],{}),e&&this[i(411)][i(362)](t[i(334)],kt(t[i(334)],!0)));const s=null===t[i(611)]?null:t[i(611)]||this[i(574)][i(396)][i(530)](i(550)).me.id,n=this[i(340)][i(530)](t[i(334)]);n&&n[i(564)]===s?this[i(340)][i(455)](t[i(334)]):this[i(340)][i(362)](t[i(334)],{userId:s,isAttached:t[i(397)]})}[ft(492)](t){const e=ft,i=this[e(525)][e(530)](t[e(586)][e(334)]);null===t[e(377)]?delete i[t[e(384)]]:i[t[e(384)]]=t[e(377)]}}function yt(t){const e=ft,i=kt(t[e(334)],t[e(331)]());for(const s of t[e(381)]()){const t=s[e(598)](!0);i[e(385)](t)}return i}function kt(t,e=!0){const i=ft,s=new X.ModelDocumentFragment;return s[i(334)]=t,s[i(627)]=e,s[i(331)]=()=>s[i(627)],s}function bt(t,e,i){const s=ft,n=s(632)==t[s(600)]?i[s(576)](t[s(464)],s(526)):i[s(575)](t[s(464)]);return i[s(588)](e,n[s(527)],n[s(392)])}function wt(t,e,i){const s=ft,n=s(408)==t[s(600)]?i[s(576)](t[s(464)],0):i[s(520)](t[s(464)]);return i[s(588)](e,n[s(527)],n[s(392)])}var _t=i(355),It=i(311),St=i(929),Ot=i.n(St),Tt=i(297),xt=i.n(Tt),At=i(102),Nt=i.n(At),Rt=i(123),Mt=i.n(Rt),Vt=i(741),Dt=i.n(Vt),Et=i(448),Ct={attributes:{"data-cke":!0}};Ct.setAttributes=Mt(),Ct.insert=Nt().bind(null,"head"),Ct.domAPI=xt(),Ct.insertStyleElement=Dt();Ot()(Et.A,Ct);Et.A&&Et.A.locals&&Et.A.locals;var Ft=i(98),jt={attributes:{"data-cke":!0}};jt.setAttributes=Mt(),jt.insert=Nt().bind(null,"head"),jt.domAPI=xt(),jt.insertStyleElement=Dt();Ot()(Ft.A,jt);Ft.A&&Ft.A.locals&&Ft.A.locals;const Lt=Wt;function Pt(){const t=["label","7446536AsuKMi","arrowup","56358BqeWgv","3838775BhIWWg","arrowleft","6ROoYDF","2200680Crgqng","render","ck-responsive-form","ck-revision-history-save-revision-form","trim","12266128XwPAAA","fieldView","808951Wxxnmq","add","focusTracker","locale","24HnwiIV","reset","2629269kGsADe","revisionNameInputValue","stopPropagation","arrowdown","initializeCssTransitionDisablerMixin","66alZPVL","8tgLuJY","948ThMFxC","keystrokes","input","errorText","element","revisionName","9gZaaJw","220","setTemplate","form","_createRevisionNameInput","focus","set","revisionNameInputView","value","listenTo","extendTemplate","optional","arrowright","Name of the revision"];return(Pt=function(){return t})()}function Wt(t,e){const i=Pt();return(Wt=function(t,e){return i[t-=460]})(t,e)}!function(t){const e=Wt,i=t();for(;;)try{if(929613===parseInt(e(461))/1*(parseInt(e(476))/2)+parseInt(e(478))/3+-parseInt(e(484))/4*(parseInt(e(462))/5)+-parseInt(e(464))/6*(parseInt(e(470))/7)+-parseInt(e(506))/8*(parseInt(e(491))/9)+parseInt(e(465))/10*(-parseInt(e(483))/11)+parseInt(e(485))/12*(parseInt(e(472))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Pt);class zt extends((0,It.CssTransitionDisablerMixin)(It.View)){[Lt(474)];[Lt(486)];[Lt(498)];constructor(e,i){const s=Lt;super(e),this[s(474)]=new t.FocusTracker,this[s(486)]=new t.KeystrokeHandler,this[s(497)](s(479),""),this[s(498)]=this[s(495)](i),this[s(493)]({tag:s(494),attributes:{class:["ck",s(468),s(467)],tabindex:"-1"},children:[this[s(498)]]}),this[s(482)]()}[Lt(466)](){const t=Lt;super[t(466)](),(0,It.submitHandler)({view:this}),this[t(474)][t(473)](this[t(498)][t(489)]),this[t(486)][t(500)](this[t(489)]);const e=e=>e[t(480)]();this[t(486)][t(497)](t(503),e),this[t(486)][t(497)](t(463),e),this[t(486)][t(497)](t(460),e),this[t(486)][t(497)](t(481),e)}[Lt(496)](){const t=Lt;this[t(498)][t(496)]()}get[Lt(490)](){const t=Lt;return this[t(498)][t(471)][t(489)][t(499)][t(469)]()}set[Lt(490)](t){const e=Lt;this[e(498)][e(471)][e(489)][e(499)]=t[e(469)]()}[Lt(477)](){const t=Lt;this[t(498)][t(471)][t(489)][t(499)]="",this[t(498)][t(488)]=null}[Lt(495)](t){const e=Lt,i=new It.LabeledFieldView(this[e(475)],It.createLabeledInputText),s=i[e(471)];s[e(501)]({attributes:{maxlength:e(492)}});let n=at(this[e(475)],e(504));return!t&&(n+=" ("+at(this[e(475)],e(502))+")"),i[e(505)]=n,s.on(e(487),()=>{const t=e;this[t(479)]=s[t(489)][t(499)][t(469)]()}),i}}const Ut=Zt;function Ht(){const t=["editor","Open revision history","revisionSave","execute","hide","pluginName","isReadOnly","revisionNameInputView","Accept","isPremiumPlugin","listenTo","3706895lkhlEY","buttonView","RevisionTracker","panelView","plugins","Revision history","_saveRevisionFormView","errorText","_registerMenuComponent","editing","The revision name cannot be empty.","revisionHistory.requireRevisionName","bind","Save current revision","addMany","revisionName","229397ExqftQ","_showDialog","menuBar:revisionHistory","componentFactory","isEnabled","329206kooYSV","children","view","items","Dialog","role","_createOpenRevisionButton","_createSaveRevisionButton","config","2159444coRxKa","show","isReady","_createSaveRevisionFormView","focus","1355427SuWaZN","ck-button-action","20127950PWJVeS","isOpen","low","add","set","menu","204pSpRaq","revisionHistory","RevisionHistoryUI","delegate","4LdAJWT","menuitem","saveRevision","requires","init","render","submit","locale","8UtNDUx","1273767WFcYBN","isOfficialPlugin","reset","showRevisionViewerCallback","Cancel","get"];return(Ht=function(){return t})()}function Zt(t,e){const i=Ht();return(Zt=function(t,e){return i[t-=201]})(t,e)}!function(t){const e=Zt,i=t();for(;;)try{if(676534===parseInt(e(268))/1+parseInt(e(204))/2+-parseInt(e(230))/3+-parseInt(e(221))/4*(-parseInt(e(247))/5)+parseInt(e(217))/6*(parseInt(e(263))/7)+parseInt(e(229))/8*(-parseInt(e(209))/9)+-parseInt(e(211))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ht);class qt extends G.Plugin{static get[Ut(241)](){return Ut(219)}static get[Ut(231)](){return!0}static get[Ut(245)](){return!0}static get[Ut(224)](){return[pt]}[Ut(253)];[Ut(225)](){const t=Ut,e=this[t(236)],i=e[t(251)][t(235)](t(249));e.ui[t(266)][t(214)](t(218),s=>{const n=t,r=(0,It.createDropdown)(s),o=r[n(250)][n(269)],a=new It.ListView(s),c=new It.ListItemView(s),u=this[n(202)](It.ButtonView),l=new It.ListItemView(s),h=this[n(201)](It.ButtonView);return r[n(259)](n(267)).to(i,n(206),i,n(267),e,n(242),(t,e,i)=>t&&e&&!i),r[n(248)][n(215)]({icon:_t.IconHistory,label:at(s,n(252)),tooltip:!0}),u[n(215)]({withText:!0,role:n(222)}),h[n(215)]({withText:!0,role:n(222)}),this[n(246)](h,n(239),()=>{const t=n;r[t(212)]=!1,e[t(256)][t(270)][t(208)]()},{priority:n(213)}),c[n(269)][n(214)](u),l[n(269)][n(214)](h),a[n(273)]=n(216),a[n(271)][n(261)]([c,l]),o[n(214)](a),r}),e.ui[t(266)][t(214)](t(265),()=>this[t(255)]())}[Ut(255)](){const t=Ut,e=this[t(236)],i=e[t(228)],s=e[t(251)][t(235)](t(249)),n=new It.MenuBarMenuView(i),r=new It.MenuBarMenuListView(i);n[t(259)](t(267)).to(s,t(206),s,t(267),e,t(242),(t,e,i)=>t&&e&&!i),n[t(248)][t(215)]({icon:_t.IconHistory,label:at(i,t(252))});const o=new It.MenuBarMenuListItemView(i,n),a=this[t(202)](It.MenuBarMenuListItemButtonView);a[t(220)](t(239)).to(n),o[t(269)][t(214)](a),r[t(271)][t(214)](o);const c=new It.MenuBarMenuListItemView(i,n),u=this[t(201)](It.MenuBarMenuListItemButtonView);return u[t(220)](t(239)).to(n),c[t(269)][t(214)](u),r[t(271)][t(214)](c),n[t(250)][t(269)][t(214)](r),n}[Ut(202)](t){const e=Ut,i=this[e(236)],s=i[e(251)][e(235)](e(249)),n=new t(i[e(228)]);return n[e(215)]({label:at(i[e(228)],e(260))}),n[e(259)](e(267)).to(s,e(206),s,e(267),i,e(242),(t,e,i)=>t&&e&&!i),this[e(246)](n,e(239),()=>{this[e(264)]()}),n}[Ut(201)](t){const e=Ut,i=this[e(236)],s=i[e(251)][e(235)](e(249)),n=new t(i[e(228)]);return n[e(215)]({label:at(i[e(228)],e(237))}),n[e(259)](e(267)).to(s,e(206),i,e(242),(t,e)=>t&&!e),this[e(246)](n,e(239),()=>{const t=e;i[t(203)][t(235)](t(218))[t(233)]()}),n}[Ut(264)](){const t=Ut,e=this[t(236)],i=e[t(228)],s=e[t(251)][t(235)](t(272)),n=e[t(251)][t(235)](t(249));function r(n){const r=t;e[r(203)][r(235)](r(258))&&""===n[r(262)]?n[r(243)][r(254)]=at(i,r(257)):(e[r(251)][r(235)](pt)[r(223)]({name:n[r(262)]}),s[r(240)]())}this[t(253)]||(this[t(207)](),this[t(253)].on(t(227),()=>r(this[t(253)]))),this[t(253)][t(232)](),s[t(205)]({id:t(238),title:at(i,t(260)),isModal:!0,content:this[t(253)],actionButtons:[{label:at(e[t(228)],t(234)),withText:!0,onExecute:()=>s[t(240)]()},{label:at(e[t(228)],t(244)),class:t(210),withText:!0,onCreate(i){const s=t;i[s(259)](s(267)).to(n,s(206),n,s(267),e,s(242),(t,e,i)=>t&&e&&!i)},onExecute:()=>r(this[t(253)])}]})}[Ut(207)](){const t=Ut,e=this[t(236)],i=e[t(228)];this[t(253)]=new zt(i,e[t(203)][t(235)](t(258))),this[t(253)][t(226)]()}}const $t=Bt;function Bt(t,e){const i=Yt();return(Bt=function(t,e){return i[t-=378]})(t,e)}function Yt(){const t=["focus","set","ck-revision-change__","676821civKea","setTemplate","bindTemplate","Added by","element","span","ck-revision-change","ck-annotation","ck-revision-change__label","isSuggestion","10NvKoMt","name","2097410tawYcI","author","changeId","271914DzPgbZ","_model","2161692ftieOe","53006LJFdKd","462388aviUbI","add","type","Removed by","Suggested by","div","data","9025928cbMBEW"];return(Yt=function(){return t})()}!function(t){const e=Bt,i=t();for(;;)try{if(287003===-parseInt(e(397))/1+-parseInt(e(398))/2+-parseInt(e(379))/3+-parseInt(e(396))/4+-parseInt(e(389))/5*(parseInt(e(394))/6)+parseInt(e(391))/7+parseInt(e(405))/8)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Yt);class Jt extends It.View{[$t(393)];[$t(395)];constructor(t,e){const i=$t;super(t),this[i(395)]=e,this[i(393)]=e.id;const s=this[i(381)],n=at(t,e[i(404)][i(388)]?i(402):i(399)==e[i(400)]?i(382):i(401));this[i(407)](i(400),e[i(400)]),this[i(380)]({tag:i(403),attributes:{class:[i(386),i(385),s.to(i(400),t=>i(378)+t)],tabindex:-1},children:[{tag:i(384),children:[{tag:i(384),attributes:{class:[i(387)]},children:[{text:n}]},{text:" "+e[i(392)][i(390)]}]}]})}[$t(406)](){const t=$t;this[t(383)][t(406)]()}}var Gt=Kt;function Kt(t,e){var i=Qt();return(Kt=function(t,e){return i[t-=224]})(t,e)}!function(t){for(var e=Kt,i=t();;)try{if(691408===parseInt(e(235))/1*(-parseInt(e(229))/2)+-parseInt(e(237))/3+-parseInt(e(234))/4+parseInt(e(233))/5+-parseInt(e(227))/6+parseInt(e(225))/7*(parseInt(e(231))/8)+parseInt(e(238))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Qt);class Xt extends((0,t.ObservableMixin)()){id;[Gt(236)];[Gt(239)];[Gt(230)];[Gt(224)];constructor(e){var i=Gt;super(),this.id=e.id||(0,t.uid)(),this[i(236)]=e[i(236)],this[i(239)]=e[i(239)],this[i(230)]=e[i(230)]||{},this[i(224)]=e[i(224)],this[i(226)](i(228),e[i(228)])}[Gt(232)](){var t=Gt;return{id:this.id,authorId:this[t(236)].id,type:this[t(239)],data:this[t(230)],createdAt:this[t(228)]}}}function Qt(){var t=["3179688bfFTvq","createdAt","2WgQOII","data","51624NTdzKg","toJSON","2879005RiFrmC","442140bFSKZU","233263ghHzGn","author","3873882CRGAXn","16170048PIhSBT","type","rootName","525xVWwFI","set"];return(Qt=function(){return t})()}function te(){const t=["8388ouzgpD","1188607QKrwho","add","186338lnjgzP","701850jCixRm","_setChanges","11xlkxoI","1814616xUWrxK","changes","oldRevisionId","1131641RNhURQ","12NlLKhD","15VhEmUR","7615955OxHyFx","11360FAnTsa","newRevisionId"];return(te=function(){return t})()}function ee(t,e){const i=te();return(ee=function(t,e){return i[t-=167]})(t,e)}const ie=ee;!function(t){const e=ee,i=t();for(;;)try{if(909414===parseInt(e(181))/1+-parseInt(e(174))/2*(parseInt(e(167))/3)+parseInt(e(178))/4+parseInt(e(168))/5+parseInt(e(182))/6*(-parseInt(e(172))/7)+-parseInt(e(169))/8*(parseInt(e(171))/9)+-parseInt(e(175))/10*(parseInt(e(177))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(te);class se{[ie(170)];[ie(180)];[ie(179)];constructor(e,i){const s=ie;this[s(170)]=e,this[s(180)]=i,this[s(179)]=new t.Collection}[ie(176)](t){const e=ie;for(const i of t)this[e(179)][e(173)](i)}}var ne=i(10),re={attributes:{"data-cke":!0}};re.setAttributes=Mt(),re.insert=Nt().bind(null,"head"),re.domAPI=xt(),re.insertStyleElement=Dt();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-=346]})(t,e)}function ce(){const t=["plugins","enqueueChange","isAttached","start","insertion","addMarker:revision-suggestion:deletion","activeView","isAtEnd","addMarker:revision-suggestion:insertion","_makeModelFromViewString","36RdESZG","toViewRange","POSITIVE_INFINITY","pairId","_refreshStartEndIndex","index","_activeViewTarget","attributesAfter","vid_end","keys","_makeTape","setAttribute","ck-suggestion-marker-merge","changes","first","_processTape","data-change-id","span","showNextChange","_update","WidgetToolbarRepository","isRemoved","removeAttribute","unbindElementFromMarkerName","getRevisionDocumentData","_getChangeFromId","markerNameToElements","adapter","hasClass","isAfter","isReady","toViewElement","_removeUnsupportedChanges","mapViewToDom","_utils","getClientRects","getRevision","requires","domEvent","get","locale","softBreak","target","dataToMarker","diff","10PPOymA","toViewPosition","_getViewForChange","_setDistance","config","range","findIndex","consumable","getCustomProperty","attachChange","ck-editor__editable__overlay","revision-suggestion","vid","name","elementEnd","editingDowncast","getAttributes","isOfficialPlugin","flat","abs","authors","startIndex","ck-suggestion-marker-","_setChanges","isOnRoot","string","_removeMissingPairs","isPremiumPlugin","insertions","isRemoveSuggestion","getIndex","numberOfChanges","listenTo","downcastDispatcher","showStack","attributes","getChild","suggestion","all","values","set","viewItem","showPreviousChange","_markMarkers","modelRange","object","_markInsertions","_changeIdToChange","concat","createRangeIn","add","indexOf","slice","createPositionBefore","change","comment","item","getRevisionRootsAttributes","consume","document","change:numberOfChanges","splice","RevisionViewer","markersStart","error","_initInteractions","markersEnd","vid_start","done","delete","insert","distance","model","element:pre","markerRange","isCollapsed","_cleanMarkers","createAttributeElement","for","_findChangeIdFromDomTarget","ck-revision-history-root--active","bottom","map","clear","ck-revision-history-root-add","type","deletions","userId","1TwbPAv","addHighlight","ck-suggestion-marker-split","catch","init","1215344stYWyM","getLaterVisibleRevision","pluginName","_threeWayMerge","unshift","editor","isBefore","mapper","forceDisabled","revisionHistoryAttachChange","sort","markerToHighlight","domConverter","isLimit","restoreRevision","elementToAttribute","isNavigationMode","maxOffset","_makeModelFromTape","change:activeView","ck-revision-history-root-","execute","next","destroy","from","revisionHistory","restoreRevisionCallback","view","createUIElement","conversion","isAdded","isEqual","10358183OQzIek","element","2800802EYIvVa","compare","addRoot","text","enableReadOnlyMode","bindElementToMarker","find","isSuggestion","change:isEnabled","change:activeChange","refresh","end","attribute:vid","removeMarker:revision","hasAttribute","data","getRoot","isContent","RevisionsRepository","stop","writer","forward","affectsData","20HFetkS","isIncorrect","upcast","parent","attributesBefore","endIndex","revision-suggestion:","revision-viewer","length","_sortAndFilterDiffChanges","return","revision","createRange","addRevision","reconvertMarker","-new","rootName","filter","has","code","split","top","_revisions","push","left","_balloon","addClass","oldRevisionId","nextPosition","diffData","changeId","then","_getDiff","highest","5151894zRWrPO","nextSibling","uiElement","currentChangeNumber","remove","previousPosition","shift","getWalker","side","2535102ePsMmp","_fixObsoleteTags","_appendChild","mousedown","isAddSuggestion","right","nodeAfter","addMarker:revision","updatePosition","isInline","isAtStart","revision-comment:","getRootNames","includes","selection","createPositionFromPath","256MRTanv","startsWith","isEnabled","commands","bind","test","244272YoSYED","getDomRoot","level","isObject","removeClass","wrap","resolve","mouseover","removeMarker","_data","ck-revision-history-root-remove","_markMismatchedRemovedTags","loadRevisionData","getAttribute","isBlock","low","detachRoot","revision:","_cleanUp","editing","ck-suggestion-preview-marker","repository","revisionHistoryLabel","3141747FVJpCa","suggestion:","elementStart","removeMarker:revision-suggestion","ck-suggestion-marker--active","markerName","offsetSize","forEach","getItems","activeChange","_markSuggestions","ck-suggestion-preview-marker-","observeMarkers","high","createRevision","backward","_setConversion","_step","_joinTapes","markers","RevisionHistoryUtils","schema","markerToData","pop","ck-suggestion-marker","checkAttribute","change:isReady","merge","addRevisionData","deletion","_getRevisionsRange","roots","dataDowncast","_changeView","newRevisionId"];return(ce=function(){return t})()}!function(t){const e=ae,i=t();for(;;)try{if(883274===parseInt(e(619))/1*(-parseInt(e(658))/2)+parseInt(e(387))/3+-parseInt(e(624))/4*(parseInt(e(353))/5)+parseInt(e(396))/6+parseInt(e(418))/7*(-parseInt(e(412))/8)+-parseInt(e(441))/9*(parseInt(e(531))/10)+parseInt(e(656))/11*(parseInt(e(486))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ce);class ue extends G.Plugin{[oe(439)];[oe(513)]=null;[oe(520)];[oe(492)];[oe(474)];[oe(578)];[oe(378)];static get[oe(626)](){return oe(593)}static get[oe(548)](){return!0}static get[oe(558)](){return!0}static get[oe(523)](){return[K.Users,It.ContextualBalloon,it,rt]}constructor(t){const e=oe;super(t),this[e(439)]=this[e(629)][e(476)][e(525)](e(348)),this[e(520)]=this[e(629)][e(476)][e(525)](e(461)),this[e(571)](e(450),null),this[e(571)](e(482),null),this[e(492)]=null,this[e(571)](e(530),null),this[e(571)](e(516),!1),this[e(571)](e(414),!0),this.on(e(666),(t,i,s)=>{const n=e;this[n(450)]=null,this[n(482)]=null,this[n(629)][n(437)][n(651)][n(585)](t=>{const e=n;for(const i of this[e(629)][e(437)][e(651)][e(590)][e(472)])s?t[e(422)](e(541),i):t[e(379)](e(541),i)})}),this[e(416)](e(640)).to(this,e(450),t=>null!==t),this[e(416)](e(390)).to(this,e(516),this,e(530),this,e(450),(t,i,s)=>t&&s?i[e(499)][e(561)](s):0),this[e(416)](e(562)).to(this,e(516),this,e(530),(t,i)=>t?i[e(499)][e(361)]:0),this[e(474)]=null,this[e(578)]=new Map,this[e(378)]=this[e(629)][e(476)][e(525)](It.ContextualBalloon)}[oe(623)](){const t=oe,e=this[t(629)],i=new de(e,{direction:t(456)}),s=new de(e,{direction:t(351)});e[t(415)][t(581)](t(573),i),e[t(415)][t(581)](t(504),s),e[t(415)][t(581)](t(638),new he(e)),this.on(t(591),()=>{const e=t;i[e(668)](),s[e(668)]()}),this[t(457)](),this[t(596)](),e[t(662)](t(360)),e[t(476)][t(371)](t(506))&&e[t(476)][t(525)](t(506))[t(632)](t(360))}async[oe(510)](t){const e=oe;return await this[e(520)][e(430)](t,this[e(513)]),this[e(520)][e(510)](t)}async[oe(588)](t){const e=oe;return await this[e(520)][e(430)](t,this[e(513)]),this[e(520)][e(588)](t)}async[oe(659)](t,e,i=!1){const s=oe;if(!this[s(414)])return;const n=this[s(530)],r=this[s(439)],o=s(556)==typeof t?r[s(522)](t):t,a=s(556)==typeof e?r[s(522)](e):e,c=o.id,u=a?a.id:null;if(!i&&this[s(530)]&&this[s(530)][s(475)]===c&&this[s(530)][s(380)]===u)return Promise[s(424)]();this[s(516)]=!1,this[s(482)]=null,this[s(450)]=null,this[s(530)]=new se(c,u);const l=this[s(471)](o,a,!0)[s(613)](t=>this[s(520)][s(430)](t,this[s(513)]));return l[s(376)](new Promise(t=>{setTimeout(t,20)})),Promise[s(569)](l)[s(384)](()=>{const t=s;if(!this[t(414)])return;this[t(436)]();const e=this[t(385)](c,u);for(const i of e[t(499)])this[t(578)][t(571)](i.id,i);this[t(629)][t(603)][t(477)]({isUndoable:!1},i=>{const s=t;for(const t of this[s(629)][s(603)][s(590)][s(408)]())i[s(434)](t);for(const t of Object[s(495)](e[s(603)])){const n=i[s(660)](t);for(const r of Object[s(495)](e[s(566)][t]))i[s(497)](r,e[s(566)][t][r],n);i[s(601)](e[s(603)][t],n,0)}}),this[t(530)][t(554)](this[t(362)](e[t(499)])),this[t(516)]=!0})[s(622)](t=>{const e=s;console[e(595)](t),this[e(436)](),n&&(this[e(530)]=n),this[e(516)]=!0})}[oe(469)](t,e){const i=oe,s=this[i(439)][i(455)](t);return s.on(i(505),(t,i,n)=>e(i,n,s)),this[i(439)][i(366)](s),s}[oe(436)](){const t=oe;this[t(450)]=null,this[t(607)](),this[t(474)]&&this[t(474)][t(647)](),this[t(474)]=null,this[t(578)][t(614)](),this[t(629)][t(603)][t(477)]({isUndoable:!1},e=>{const i=t;for(const t of this[i(629)][i(603)][i(590)][i(408)]())e[i(434)](t)})}[oe(362)](t){const e=oe,i=[],s=new Map;for(const t of this[e(629)][e(603)][e(590)][e(408)]()){const n=this[e(629)][e(437)][e(651)][e(419)](t);if(!n)continue;const r=n[e(521)]()[e(587)](0);r&&(i[e(376)](t),s[e(571)](t,r))}return i[e(634)]((t,i)=>{const n=e,r=s[n(525)](t),o=s[n(525)](i);return r.y-o.y||r.x-o.x}),(t=t[e(370)](t=>i[e(409)](t[e(369)])))[e(634)]((t,s)=>i[e(582)](t[e(369)])-i[e(582)](s[e(369)])),t}[oe(496)](t){const e=oe,i=Array[e(648)](t[e(460)])[e(370)](([t,i])=>t[e(413)](e(435))&&!i[e(606)]),s=Array[e(648)](this[e(629)][e(603)][e(580)](t)[e(394)]({singleCharacters:!0}));if(0!=i[e(361)])for(const t of s){const[s,n]=i[0],[,r,o]=s[e(373)](":");if(n[e(669)][e(655)](t[e(381)])&&i[e(393)](),(t[e(392)][e(655)](n[e(479)])||t[e(392)][e(515)](n[e(479)]))&&(e(480)==r?t[e(654)]={userId:o}:e(470)==r&&(t[e(507)]={userId:o})),0==i[e(361)])break}return s}[oe(490)](t){const e=oe,i=new Map;for(let s=0;s<t[e(361)];s++)e(661)===t[s][e(616)]?(t[s][e(587)][e(552)]=s,t[s][e(587)][e(358)]=s):(e(443)===t[s][e(616)]?t[s][e(587)][e(552)]=s:e(545)===t[s][e(616)]&&(t[s][e(587)][e(358)]=s),i[e(571)](t[s].id,s));for(const s of i[e(570)]())e(443)===t[s][e(616)]?t[s][e(587)][e(358)]=i[e(525)](t[s][e(489)]):e(545)===t[s][e(616)]&&(t[s][e(587)][e(552)]=i[e(525)](t[s][e(489)]))}[oe(501)](t){const e=oe;for(let i=0;i<t[e(361)];i++){if(e(443)===t[i][e(616)])t[i][e(587)][e(552)]=i;else if(e(545)===t[i][e(616)]){t[i][e(587)][e(358)]=i;const s=t[i][e(587)][e(552)];t[s][e(489)]=t[i].id,t[i][e(489)]=t[s].id}else t[i][e(587)][e(552)]=i,t[i][e(587)][e(358)]=i,t[i][e(489)]=null;t[i][e(594)]||(t[i][e(594)]=[],t[i][e(597)]=[])}}[oe(577)](t,e){const i=oe,s=t[i(370)](t=>!t[i(654)]);for(let t=0;t<e[i(361)];t++)e[t][i(654)]&&(s[t][i(654)]=e[t][i(654)])}[oe(385)](t,e=null){const i=oe,s=this[i(439)][i(522)](t),n=e?this[i(439)][i(522)](e):null,r=this[i(471)](s,n),o=r[r[i(361)]-1],a=new Map,c={model:{},attributes:{},changes:[]},u=new Set,l=new Map;for(let t=r[i(361)]-1;t>=0;t--){const e=r[t];for(const t of Object[i(495)](e[i(382)]))if(e[i(382)][t][i(540)]){const s=e[i(382)][t][i(540)];s[i(478)]?(u[i(581)](t),l[i(371)](t)&&l[i(525)](t)[i(618)]==s[i(618)]?l[i(600)](t):l[i(571)](t,s)):l[i(371)](t)?(u[i(600)](t),l[i(600)](t)):(u[i(581)](t),l[i(571)](t,s))}else u[i(581)](t)}for(const t of u){const e=l[i(371)](t)&&!l[i(525)](t)[i(478)];let s=e?r[i(361)]-1:0;const n=e?-1:1;for(;r[s];){const o=r[s];if(o[i(382)][t]){const s=e?o[i(382)][t][i(357)]:o[i(382)][t][i(493)];c[i(566)][t]=s?R(s):{};break}s+=n}}for(const t of r){t[i(603)]={};for(const e of t[i(551)])a[i(571)](e.id,e);for(const e of u){const s=t[i(382)][e]?t[i(382)][e][i(559)]:"[]",n=t[i(382)][e]?t[i(382)][e][i(617)]:"[]";t[i(603)][e]={insertions:this[i(520)][i(485)](s),deletions:this[i(520)][i(485)](n)}}}for(const t of u){let e=null,n=0;const u=new Map(Array[i(648)](s[i(603)][t][i(559)][i(460)])[i(370)](([t])=>!t[i(413)](i(435))));let h=0;for(const o of r){const r=this[i(496)](o[i(603)][t][i(559)]);o==s?(e=r,n=e[i(361)],e[i(448)](t=>{t.id=h++}),this[i(501)](e)):this[i(577)](e,r);const a=e[i(370)](t=>!t[i(654)])[i(613)](t=>t.id);let c=0;const l=this[i(496)](o[i(603)][t][i(617)]);l[i(448)](t=>{t[i(507)]?t.id=n++:t.id=a[c++]}),this[i(501)](l),this[i(534)](e,i(654)),this[i(534)](l,i(507)),o==s&&this[i(574)](e,u),e=this[i(459)](e,l),this[i(490)](e),this[i(534)](e,i(507))}e=e[i(370)](t=>!(t[i(654)]&&t[i(507)]));const d=new Map(o[i(603)][t][i(617)][i(460)]),f=new Set(u[i(495)]());for(const t of d[i(495)]())f[i(600)](t);this[i(451)](e,f),this[i(397)](e),e=this[i(557)](e),e=this[i(429)](e),e=this[i(518)](e);const{root:m,changes:p}=this[i(642)](e,a,t);c[i(603)][t]=m;const v=l[i(525)](t);if(v){const e=a[i(525)](v[i(618)]),s=new Xt({author:e,type:v[i(478)]?i(581):i(391),data:{isOnRoot:!0},createdAt:new Date,rootName:t});p[i(628)](s),c[i(566)][t][i(633)]=s.id}c[i(499)]=c[i(499)][i(579)](p)}return c}[oe(574)](t,e){const i=oe;for(let s=0;s<t[i(361)];s++)for(const[n,r]of e)!r[i(606)]&&r[i(479)][i(655)](t[s][i(392)])&&t[s][i(594)][i(376)](n),r[i(669)][i(655)](t[s][i(381)])&&t[s][i(597)][i(376)](n)}[oe(459)](t,e){const i=oe;let s=[],n=0,r=0;for(;n<t[i(361)]||r<e[i(361)];){const o=t[n]||{},a=e[r]||{};if(o.id==a.id)n++,r++,s[i(376)](o);else if(a[i(507)]&&o[i(654)]){const{commonTape:o,iEnd:a,jEnd:c}=this[i(627)](t,n,e,r);s=s[i(579)](o),n=a,r=c}else a[i(507)]?(r++,s[i(376)](a)):(n++,s[i(376)](o))}return s}[oe(451)](t,e){const i=oe,s=[];for(let o=0;o<t[i(361)];o++){for(let r=0;r<t[o][i(594)][i(361)];r++){const a=t[o][i(594)][r];if(!e[i(371)](a))continue;const{group:c,type:u,authorId:l}=n(a);i(542)!=c||i(480)!=u&&i(470)!=u||(s[i(628)]({type:u,name:a,userId:l}),t[o][i(594)][i(592)](r,1),r--)}r(t[o]);for(let r=0;r<t[o][i(597)][i(361)];r++){const a=t[o][i(597)][r];if(!e[i(371)](a))continue;const{group:c,type:u}=n(a);if(i(542)!=c||i(480)!=u&&i(470)!=u)continue;t[o][i(597)][i(592)](r,1),r--;const l=s[i(537)](t=>t[i(544)]==a);l>-1&&s[i(592)](l,1)}}function n(t){const e=i,s=t[e(373)](":");return{group:s[0],type:s[1],subType:s[e(361)]>=5?s[2]:null,id:s[e(361)]<5?s[2]:s[3],authorId:s[e(361)]<5?s[3]:s[4],markerCount:6==s[e(361)]?s[5]:null}}function r(t){const e=i;for(let i=0;i<s[e(361)];i++){if(t[e(654)]&&e(480)==s[i][e(616)]&&t[e(654)][e(618)]==s[i][e(618)])return t[e(400)]=s[i],void delete t[e(654)];if(!t[e(654)]&&!t[e(507)]&&e(470)==s[i][e(616)])return void(t[e(560)]=s[i])}}}[oe(534)](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(571)](o.id,s);for(let s=0;s<t[i(361)];s++){if(i(507)==e&&t[s][i(654)]||i(654)==e&&t[s][i(507)])continue;if(i(661)==t[s][i(616)]){t[s][i(602)]=0;continue}const n=r[i(525)](t[s][i(489)]),o=r[i(525)](t[s].id);t[s][i(602)]=n-o}}[oe(471)](t,e,i=!1){const s=oe,n=[];let r=this[s(439)][s(561)](t),o=this[s(439)][s(561)](e);for(-1==o&&(o=this[s(439)][s(375)][s(361)],i=!1);r<o;)n[s(376)](this[s(439)][s(522)](r)),r++;return i&&n[s(376)](this[s(439)][s(522)](r)),n}[oe(627)](t,e,i,s){const n=oe,r=this[n(629)][n(603)][n(462)];let o=e;for(;t[o]&&t[o][n(654)];)o++;let a=s;for(;i[a]&&i[a][n(507)];)a++;u(t,e,o),u(i,s,a);const c=i[n(583)](s,a)[n(579)](t[n(583)](e,o));return c[n(634)]((t,e)=>t[n(395)]!=e[n(395)]?t[n(395)]-e[n(395)]:t[n(420)]!=e[n(420)]?t[n(420)]-e[n(420)]:t[n(602)]!=e[n(602)]?e[n(602)]-t[n(602)]:!!t[n(654)]!=!!e[n(654)]?-1==t[n(395)]||0==t[n(395)]?t[n(654)]?-1:1:t[n(654)]?1:-1:t[n(491)]-e[n(491)]),{commonTape:c,iEnd:o,jEnd:a};function u(t,e,i){const s=n;let o=-1,a=Number[s(488)],c=!0;for(let n=e;n<i;n++)if(r[s(405)](t[n][s(587)])||(c=!1),t[n][s(587)][s(552)]<e&&(o=n),t[n][s(587)][s(358)]>=i){a=n;break}c&&(o=i-1);for(let n=e;n<i;n++)t[n][s(395)]=n<=o?-1:n<a?0:1,t[n][s(491)]=n;let u=0;for(let i=e;i<=o;i++)0==t[i][s(602)]?t[i][s(420)]=u:(u++,t[i][s(420)]=u,u++);for(let n=e;n<i;n++)0==t[n][s(395)]&&(t[n][s(420)]=u);u=0;for(let e=i-1;e>=a;e--)0==t[e][s(602)]?t[e][s(420)]=u:(u--,t[e][s(420)]=u,u--)}}[oe(397)](t){const e=oe,i=new Map,s=this[e(629)][e(603)][e(462)];for(let n=1;n<t[e(361)];n++){let r,o,a;const c=t[n],u=t[n-1];if(e(661)==c[e(616)])continue;if(c[e(616)]!=u[e(616)])continue;if(!s[e(432)](u[e(587)])||s[e(637)](u[e(587)]))continue;if(!s[e(432)](c[e(587)])||s[e(637)](c[e(587)]))continue;if((t[n][e(654)]||t[n][e(400)])&&t[n-1][e(507)])r=t[n],o=t[n-1],a=n-1;else{if(!t[n][e(507)]||!t[n-1][e(654)]&&!t[n-1][e(400)])continue;r=t[n-1],o=t[n],a=n}const l=r[e(420)]==o[e(420)],h=Math[e(550)](r[e(420)])<Math[e(550)](o[e(420)])&&0==o[e(602)];(l||h)&&(i[e(571)](o.id,r.id),t[e(592)](a,1),n--,r[e(654)]=!1)}for(let s=0;s<t[e(361)];s++)i[e(371)](t[s][e(489)])&&(t[s][e(489)]=i[e(525)](t[s][e(489)]))}[oe(557)](t){const e=oe,i=new Set(t[e(613)](t=>t.id));for(let s=0;s<t[e(361)];s++)i[e(371)](t[s][e(489)])||0==t[s][e(602)]||(t[s][e(354)]=!0);return t[e(370)](t=>!t[e(354)])}[oe(429)](t){const e=oe,i=new Set;for(let s=0;s<t[e(361)];s++){if(i[e(371)](t[s].id)&&t[s][e(507)]&&(t[s][e(354)]=!0),t[s][e(354)])continue;if(0==t[s][e(602)])continue;if(e(443)!=t[s][e(616)])continue;if(null==t[s][e(489)])continue;let n=s+1,r=0;for(;t[n].id!=t[s][e(489)];)e(443)==t[n][e(616)]?r++:e(545)==t[n][e(616)]&&r--,n++;if(0!=r)if(t[s][e(507)])t[s][e(354)]=!0;else for(;n!=s;)t[n][e(507)]&&0!=t[n][e(602)]&&(t[n][e(354)]=!0,i[e(581)](t[n][e(489)])),n--}return t[e(370)](t=>!t[e(354)])}[oe(518)](t){const e=oe,i=this[e(629)][e(603)][e(462)];for(let s=0;s<t[e(361)];s++){if(!(t[s][e(654)]||t[s][e(400)]||t[s][e(507)]||t[s][e(560)]))continue;if(0==t[s][e(602)])continue;const n=t[s][e(587)];i[e(432)](n)||i[e(637)](n)||(t[s][e(654)]&&delete t[s][e(654)],t[s][e(400)]&&delete t[s][e(400)],t[s][e(560)]&&delete t[s][e(560)],t[s][e(507)]&&(t[s][e(354)]=!0))}return t[e(370)](t=>!t[e(354)])}[oe(642)](t,e,i){const s=oe,n=new X.ModelDocumentFragment,r=[],o=new Map,a=this[s(629)][s(603)],c=a[s(462)],u=[n],l={},h={isAdded:[],isRemoved:[],isAddSuggestion:[],isRemoveSuggestion:[]};let d=null;const f=[0];for(let e=0;e<t[s(361)];e++)if(s(443)===t[e][s(616)]){t[e][s(392)]=a[s(411)](n,f);const i=new X.ModelElement(t[e][s(587)][s(544)],t[e][s(587)][s(547)]());u[0][s(398)](i),f[s(376)](0),u[s(628)](i),t[e][s(381)]=a[s(411)](n,f)}else s(545)===t[e][s(616)]?(u[s(393)](),t[e][s(392)]=a[s(411)](n,f),f[s(464)](),f[f[s(361)]-1]++,t[e][s(381)]=a[s(411)](n,f)):(t[e][s(392)]=a[s(411)](n,f),d?d[s(427)]+=t[e][s(587)][s(673)]:d=new X.ModelText(t[e][s(587)][s(673)],t[e][s(587)][s(547)]()),t[e+1]&&s(661)===t[e+1][s(616)]&&v(d,t[e+1][s(587)])||(u[0][s(398)](d),d=null),f[f[s(361)]-1]+=t[e][s(587)][s(447)],t[e][s(381)]=a[s(411)](n,f));for(let e=0;e<t[s(361)];e++){const i=t[e][s(392)],n=t[e][s(381)];for(const n of t[e][s(594)])o[s(571)](n,{start:i,end:null});m(s(560),e,i,n),m(s(400),e,i,n),m(s(507),e,i,n),m(s(654),e,i,n);for(const i of t[e][s(597)]){const t=o[s(525)](i);t?t[s(669)]=n:o[s(571)](i,{start:n,end:n})}}for(const[t,e]of o){const i=this[s(629)][s(603)][s(365)](e[s(479)],e[s(669)]);n[s(460)][s(571)](t,i)}return r[s(634)]((t,e)=>{const i=s,r=n[i(460)][i(525)](i(435)+t.id),o=n[i(460)][i(525)](i(435)+e.id);return r[i(479)][i(630)](o[i(479)])?-1:r[i(479)][i(515)](o[i(479)])?1:r[i(669)][i(630)](o[i(669)])?-1:r[i(669)][i(515)](o[i(669)])?1:i(581)===t[i(616)]?-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(618)]:null,d=i===t[o(361)]-1,f=h[e][0],m=c[o(421)](t[i][o(587)]);!l[e]&&a?l[e]={start:n,tapeItem:t[i],userId:u,type:e}:l[e]&&!a?(l[e][o(669)]=n,p(l[e]),l[e]=null):l[e]&&a&&l[e][o(618)]!==u&&(l[e][o(669)]=n,f&&f[o(618)]===l[e][o(618)]||p(l[e]),l[e]={start:n,tapeItem:t[i],userId:u,type:e}),l[e]&&m&&(o(443)!==t[i][o(616)]||f&&f[o(618)]===u||h[e][o(628)]({userId:u,object:t[i][o(587)],change:l[e]}),o(545)===t[i][o(616)]&&f&&f[o(576)]===t[i][o(587)]&&(h[e][o(393)](),l[e]=f[o(585)])),l[e]&&d&&(l[e][o(669)]=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(587)],f=a[h(462)][h(432)](d)&&!a[h(462)][h(637)](d),m=t[h(402)]==o[h(356)]&&o[h(406)];if(f&&m)return;const p=a[h(365)](t,o),v=e[h(525)](u),g=new Xt({author:v,type:h(654)==l||h(400)==l?h(581):h(391),data:{isSuggestion:h(400)==l||h(560)==l},createdAt:new Date,rootName:i});r[h(376)](g),n[h(460)][h(571)](h(435)+g.id,p)}function v(t,e){const i=s,n=t[i(547)](),r=e[i(547)]();for(const t of n){if(t[1]!==e[i(431)](t[0]))return!1;r[i(646)]()}return r[i(646)]()[i(599)]}}[oe(457)](){const t=oe;this[t(629)][t(653)][t(609)](t(355))[t(529)]({view:t(364)}),this[t(629)][t(653)][t(609)](t(546))[t(635)]({model:t(364),view:e=>{const i=t,s=e[i(446)][i(373)](":")[1],n=this[i(511)](s);if(!n)return null;const r=i(581)==n[i(616)]?i(480):i(470),o=[i(465),i(553)+r];return n[i(673)][i(665)]&&o[i(376)](i(553)+r+i(368)),this[i(450)]==n&&o[i(376)](i(445)),{classes:o,attributes:{"data-change-id":s}}}}),this[t(629)][t(653)][t(609)](t(355))[t(581)](e=>{const i=t;e.on(i(604),(t,e,s)=>{const n=i,r=e[n(572)][n(567)](0);if(!r||!r.is(n(657),n(372)))return;if(!s[n(538)][n(589)](r,{attributes:[n(598),n(494)]}))return;const o=e[n(575)][n(479)][n(402)];s[n(350)][n(497)](n(598),r[n(431)](n(598)),o),s[n(350)][n(497)](n(494),r[n(431)](n(494)),o)},{priority:i(433)})}),this[t(629)][t(653)][t(609)](t(355))[t(581)](e=>{const i=t;e.on(i(657),(t,e,s)=>{const n=i;if(!s[n(538)][n(589)](e[n(572)],{attributes:[n(598),n(494)]}))return;if(e[n(575)][n(606)])return;const r=e[n(575)][n(479)][n(402)];r[n(672)](n(598))||r[n(672)](n(543))||(s[n(350)][n(497)](n(598),e[n(572)][n(431)](n(598)),r),s[n(350)][n(497)](n(494),e[n(572)][n(431)](n(494)),r))},{priority:i(433)})}),this[t(629)][t(653)][t(609)](t(355))[t(639)]({view:{name:t(503),attributes:{vid:!0}},model:{key:t(543),value:e=>e[t(431)](t(543))}}),this[t(629)][t(603)][t(462)].on(t(466),(e,[,i])=>{const s=t;[s(598),s(494),s(543)][s(409)](i)&&(e[s(363)]=!0,e[s(349)]())},{priority:t(386)}),this[t(629)][t(653)][t(609)](t(473))[t(581)](e=>{const i=t;e.on(i(670),(t,e,s)=>{const n=i;if(" "!=e[n(587)][n(673)]||e[n(587)][n(356)][n(641)]>1)return;if(!s[n(538)][n(589)](e[n(587)],t[n(544)]))return;const r=s[n(350)],o=s[n(631)][n(487)](e[n(536)]);r[n(423)](o,r[n(608)](n(503)))})}),this[t(629)][t(653)][t(609)](t(473))[t(463)]({model:t(364)}),this[t(629)][t(437)][t(564)].on(t(403),function(e){const i=t,s=e[i(476)][i(525)](i(593));return(t,n,r)=>{const o=i,a=n[o(446)][o(373)](":")[1],c=s[o(511)](a);if(!c)return null;const u=o(581)==c[o(616)]?o(373):o(468);if(!r[o(538)][o(417)](n[o(605)],t[o(544)]))return;const l=n[o(605)][o(394)](),h=n[o(605)][o(479)],d=e[o(603)][o(462)];let f=null,m=null,p=!1,v=!1;for(const t of l){const e=t[o(587)];p=p||d[o(347)](e);const i=r[o(631)][o(517)](e);if(i&&i[o(539)](o(620)))return;o(545)==t[o(616)]&&d[o(432)](e)&&!d[o(637)](e)&&(e[o(388)]||h[o(483)]?f&&f[o(356)]==e||(f=e,g(t[o(392)]),v=!0):m=m||t[o(392)])}function g(t){const e=o,i=r[e(350)][e(652)](e(503),{class:e(553)+u}),a=r[e(631)][e(532)](t);c[e(673)][e(665)]&&r[e(350)][e(379)](e(553)+u+e(368),i),s[e(450)]==c&&r[e(350)][e(379)](e(445),i),r[e(350)][e(601)](a,i),r[e(631)][e(663)](i,n[e(446)])}p||v||!m||g(m)}}(this[t(629)]),{priority:t(454)}),this[t(629)][t(437)][t(564)].on(t(671),(e,i,s)=>{const n=t,r=s[n(631)][n(512)](i[n(446)]);if(r)for(const t of r)(t[n(514)](n(621))||t[n(514)](n(498)))&&(s[n(631)][n(509)](t,i[n(446)]),s[n(350)][n(391)](t))},{priority:t(454)}),this[t(629)][t(437)][t(564)].on(t(403),(e,i,s)=>{const n=t,r=i[n(446)][n(373)](":")[1],o=this[n(511)](r);if(!o)return null;const a=n(581)==o[n(616)]?n(373):n(468);if(s[n(538)][n(417)](i[n(605)],e[n(544)]))for(const t of i[n(605)][n(449)]()){if(!t.is(n(657),n(527)))continue;const e=s[n(350)][n(652)](n(503),{class:n(553)+a}),r=s[n(631)][n(532)](this[n(629)][n(603)][n(584)](t));o[n(673)][n(665)]&&s[n(350)][n(379)](n(553)+a+n(368),e),this[n(450)]==o&&s[n(350)][n(379)](n(445),e),s[n(350)][n(601)](r,e),s[n(631)][n(663)](e,i[n(446)])}},{priority:t(454)}),this[t(629)][t(603)][t(590)].on(t(585),()=>{const e=t;this[e(629)][e(437)][e(651)][e(585)](t=>{const i=e;for(const e of this[i(629)][i(603)][i(590)][i(408)]()){const s=this[i(629)][i(603)][i(590)][i(346)](e),n=this[i(629)][i(437)][i(651)][i(590)][i(346)](e);if(n){const e=s[i(431)](i(633));if(t[i(508)](i(502),n),t[i(422)](i(615),n),t[i(422)](i(428),n),t[i(422)](i(611),n),e){const s=this[i(511)](e);if(!s)return null;t[i(497)](i(502),e,n),t[i(379)](i(644)+s[i(616)],n),this[i(450)]==s&&t[i(379)](i(611),n)}}}})}),this[t(629)][t(653)][t(609)](t(355))[t(529)]({view:t(586),model:e=>t(407)+e,converterPriority:t(386)}),this[t(629)][t(653)][t(609)](t(355))[t(529)]({view:t(568),model:e=>t(359)+e,converterPriority:t(386)}),this[t(629)][t(653)][t(609)](t(473))[t(463)]({model:t(542),view:e=>({name:t(442)+e,group:t(542)}),converterPriority:t(386)}),this[t(629)][t(653)][t(609)](t(546))[t(635)]({model:t(542),view:e=>{const i=t,s=e[i(446)][i(373)](":")[1];return i(480)!=s&&i(470)!=s?null:{classes:[i(438),i(452)+s]}}}),this[t(629)][t(437)][t(564)].on(t(481),le(this[t(629)],t(468)),{priority:t(454)}),this[t(629)][t(437)][t(564)].on(t(484),le(this[t(629)],t(373)),{priority:t(454)}),this[t(629)][t(437)][t(564)].on(t(444),(e,i,s)=>{const n=t,r=s[n(631)][n(512)](i[n(446)]);if(r)for(const t of r)t.is(n(389))&&(s[n(631)][n(509)](t,i[n(446)]),s[n(350)][n(391)](t))},{priority:t(454)})}[oe(511)](t){const e=oe;return this[e(578)][e(525)](t)}[oe(533)](t){const e=oe;return this[e(474)]&&this[e(474)][e(647)](),this[e(474)]=new Jt(this[e(629)][e(526)],t),this[e(474)]}[oe(596)](){const t=oe;this[t(629)][t(603)][t(590)][t(410)][t(453)](t(364)),this.on(t(643),(e,i,s,n)=>{const r=t;n&&this[r(378)][r(391)](n),s&&(this[r(378)][r(581)]({view:s,stackId:r(440),position:{target:()=>{const t=r,e=this[t(629)][t(437)],i=this[t(511)](s[t(383)]);let n;if(i[t(673)][t(555)]){const s=e[t(651)][t(419)](i[t(369)]);n=Array[t(648)](s[t(521)]())}else{const i=this[t(629)][t(603)][t(460)][t(525)](t(435)+s[t(383)]);n=Array[t(648)](e[t(631)][t(512)](i[t(544)]))[t(613)](i=>e[t(651)][t(636)][t(519)](i))[t(613)](e=>Array[t(648)](e[t(521)]()))[t(549)]()}return this[t(492)]&&n[t(664)](e=>e[t(374)]-3<=this[t(492)].y&&e[t(612)]+3>=this[t(492)].y&&e[t(377)]-3<=this[t(492)].x&&e[t(401)]+3>=this[t(492)].x)||n[0]}}}),this[r(378)][r(565)](r(440)))}),this.on(t(667),(e,i,s,n)=>{const r=t;this[r(482)]=s?this[r(533)](s):null,this[r(629)][r(603)][r(585)](()=>{const t=r,e=this[t(629)][t(437)];n&&(n[t(673)][t(555)]?e[t(651)][t(585)](i=>{const s=t;i[s(422)](s(611),e[s(651)][s(590)][s(346)](n[s(369)]))}):e[t(367)](t(435)+n.id)),s&&(s[t(673)][t(555)]?e[t(651)][t(585)](i=>{const n=t;i[n(379)](n(611),e[n(651)][n(590)][n(346)](s[n(369)]))}):e[t(367)](t(435)+s.id))})}),this[t(563)](this[t(629)][t(437)][t(651)][t(590)],t(425),(e,i)=>{const s=t;if(this[s(450)])return;const n=this[s(610)](i[s(528)]),r=this[s(578)][s(525)](n);r?(this[s(492)]={x:i[s(524)].x,y:i[s(524)].y},this[s(482)]=this[s(533)](r)):(this[s(492)]=null,this[s(482)]=null)}),this[t(563)](this[t(629)][t(437)][t(651)][t(590)],t(399),(e,i)=>{const s=t,n=this[s(610)](i[s(528)]),r=this[s(578)][s(525)](n);r?(this[s(492)]={x:i[s(524)].x,y:i[s(524)].y},r===this[s(450)]?this[s(378)][s(404)]():this[s(450)]=r):(this[s(492)]=null,this[s(450)]=null)})}[oe(610)](t){const e=oe;do{const i=t[e(431)](e(502));if(i)return i;t=t[e(356)]}while(t);return null}[oe(607)](){const t=oe;this[t(629)][t(603)][t(585)](e=>{const i=t;for(const t of this[i(629)][i(603)][i(460)])e[i(426)](t)})}}function le(t,e){return(i,s,n)=>{const r=ae;if(!n[r(538)][r(417)](s[r(605)],i[r(544)]))return;const o=s[r(605)][r(394)](),a=s[r(605)][r(479)],c=t[r(603)][r(462)];let u=null,l=null,h=!1,d=!1;for(const t of o){const e=t[r(587)];h=h||c[r(347)](e);const i=n[r(631)][r(517)](e);if(i&&i[r(539)](r(620)))return;r(545)==t[r(616)]&&c[r(432)](e)&&!c[r(637)](e)&&(e[r(388)]||a[r(483)]?u&&u[r(356)]==e||(u=e,f(t[r(392)]),d=!0):l=l||t[r(392)])}function f(t){const i=r,o=n[i(631)][i(532)](t),a=n[i(350)][i(652)](i(503),{class:i(452)+e});n[i(350)][i(601)](o,a),n[i(631)][i(663)](a,s[i(446)])}h||d||!l||f(l)}}class he extends G.Command{constructor(t){const e=oe;super(t);const i=t[e(476)][e(525)](ue);this[e(352)]=!1,this[e(563)](i,e(467),()=>this[e(668)]()),this[e(563)](i,e(666),()=>this[e(668)]())}[oe(645)](){const t=oe,e=this[t(629)],i=e[t(476)][t(525)](ue),s=i[t(516)]?i[t(530)][t(475)]:null;e[t(535)][t(525)](t(649))[t(650)](s)}[oe(668)](){const t=oe,{isReady:e,isEnabled:i,repository:s,diff:n}=this[t(629)][t(476)][t(525)](ue),r=n&&s[t(625)](n[t(475)]);this[t(414)]=e&&i&&Boolean(r)}}class de extends G.Command{[oe(458)];constructor(t,{direction:e}){const i=oe;super(t);const s=t[i(476)][i(525)](ue);this[i(352)]=!1,this[i(458)]=i(351)===e?1:-1,this[i(563)](s,i(467),()=>this[i(668)]()),this[i(563)](s,i(666),()=>this[i(668)]()),this[i(563)](s,i(667),()=>this[i(668)]())}[oe(645)](){const e=oe,i=this[e(629)],s=i[e(476)][e(525)](ue),{isNavigationMode:n,currentChangeNumber:r}=s;let o;if(s[e(450)]=n?s[e(530)][e(499)][e(525)](r+this[e(458)]):s[e(530)][e(499)][e(500)],s[e(450)][e(673)][e(555)])o=i[e(437)][e(651)][e(419)](s[e(450)][e(369)]);else{const t=i[e(603)][e(460)][e(525)](e(435)+s[e(450)].id);o=(0,K.getMarkerDomElement)(i[e(437)],t)}(0,t.scrollViewportToShowTarget)({target:o,viewportOffset:40})}[oe(668)](){const t=oe,{isNavigationMode:e,currentChangeNumber:i,numberOfChanges:s,isReady:n,isEnabled:r}=this[t(629)][t(476)][t(525)](ue);this[t(414)]=!!(r&&n&&s)&&(!e||(1===this[t(458)]?i<s-1:i>0))}}var fe=i(282),me={attributes:{"data-cke":!0}};me.setAttributes=Mt(),me.insert=Nt().bind(null,"head"),me.domAPI=xt(),me.insertStyleElement=Dt();Ot()(fe.A,me);fe.A&&fe.A.locals&&fe.A.locals;function pe(){const t=["EDIT_X_OF_Y_REVISIONS","isForwardNavigationEnabled","numberOfChanges","bindTemplate","isEnabled","div","fire","ck-revision-history-ui__changes-navigation","X_OF_Y_CHANGES","_statusText","ck-hidden","forward","currentChangeNumber","Total","1163696DlCEFy","655405MJPuvN","setTemplate","351426cvotJq","4ejZxfA","isBackwardNavigationEnabled","7109352CPiYMw","isReady","1741520sCnyqu","3047028UpWvSk","backward","set","Show previous change","519599XZYuyt","No changes","ck-revision-history-ui__changes-navigation__label","ck-revision-history-ui__changes-navigation__navigation","Show next change","bind","NUMBER_OF_CHANGES","7JXtTSf","ck-revision-history-ui__changes-navigation__wrapper","Loading...","span","execute","ck-revision-history-ui","_isStatusLabelVisible","isNavigationMode"];return(pe=function(){return t})()}function ve(t,e){const i=pe();return(ve=function(t,e){return i[t-=404]})(t,e)}!function(t){const e=ve,i=t();for(;;)try{if(417774===-parseInt(e(420))/1+-parseInt(e(411))/2*(-parseInt(e(410))/3)+parseInt(e(415))/4+parseInt(e(408))/5+-parseInt(e(416))/6+-parseInt(e(427))/7*(parseInt(e(407))/8)+parseInt(e(413))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(pe);class ge extends It.View{constructor(t){const e=ve;super(t);const i=this[e(438)],s=new It.ButtonView(t),n=new It.ButtonView(t);this[e(418)](e(434),!1),this[e(418)](e(414),!1),this[e(418)](e(405),0),this[e(418)](e(437),0),this[e(418)](e(436),!1),this[e(418)](e(412),!1),this[e(425)](e(433)).to(this,e(414),this,e(437),(t,e)=>t&&e>0),this[e(425)](e(444)).to(this,e(414),this,e(405),this,e(437),this,e(434),(i,s,n,r)=>{const o=e;if(!i)return at(t,o(429));if(!n)return at(t,o(421));const a=at(t,o(426),n);return r?at(t,o(443),[s+1,n]):a}),s[e(418)]({label:at(t,e(419)),tooltip:!0,icon:_t.IconChevronUp}),n[e(418)]({label:at(t,e(424)),tooltip:!0,icon:_t.IconChevronDown}),s[e(425)](e(439)).to(this,e(412)),n[e(425)](e(439)).to(this,e(436)),s.on(e(431),()=>this[e(441)](e(431),e(417))),n.on(e(431),()=>this[e(441)](e(431),e(404))),this[e(409)]({tag:e(440),attributes:{class:["ck",e(432),e(442)]},children:[{tag:e(430),attributes:{class:[e(428)]},children:[{tag:e(430),attributes:{class:[e(422),i.if(e(433),e(445),t=>!t)]},children:[{text:i.to(e(434),i=>i?at(t,e(435))+": ":at(t,e(406))+": ")}]},{text:i.to(e(444))}]},new It.ToolbarSeparatorView,{tag:e(440),attributes:{class:[e(423)]},children:[s,n]}]})}}var ye=i(586),ke={attributes:{"data-cke":!0}};ke.setAttributes=Mt(),ke.insert=Nt().bind(null,"head"),ke.domAPI=xt(),ke.insertStyleElement=Dt();Ot()(ye.A,ke);ye.A&&ye.A.locals&&ye.A.locals;function be(){const t=["2490090WQAgQf","11HGVULl","RevisionViewerLoadingOverlay","removeClass","editor","728TnfGCn","change","show","pluginName","447296mWzzoN","roots","addClass","68244vRcIdR","isPremiumPlugin","editing","ck-editor__editable__loading-overlay","69762bZtBoU","view","hide","180GKTvJB","document","82634vMkQfr","296455XzpUID","1973692uKAaHI","8yzapDt","isOfficialPlugin"];return(be=function(){return t})()}function we(t,e){const i=be();return(we=function(t,e){return i[t-=378]})(t,e)}const _e=we;!function(t){const e=we,i=t();for(;;)try{if(608103===parseInt(e(395))/1+-parseInt(e(398))/2*(parseInt(e(390))/3)+parseInt(e(397))/4+-parseInt(e(396))/5+parseInt(e(386))/6*(-parseInt(e(379))/7)+-parseInt(e(383))/8*(-parseInt(e(393))/9)+parseInt(e(400))/10*(parseInt(e(401))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(be);const Ie=_e(389);class Se extends G.Plugin{static get[_e(382)](){return _e(402)}static get[_e(399)](){return!0}static get[_e(387)](){return!0}[_e(381)](){const t=_e,e=this[t(378)][t(388)][t(391)];e[t(380)](i=>{const s=t;for(const t of e[s(394)][s(384)])i[s(385)](Ie,t)})}[_e(392)](){const t=_e,e=this[t(378)][t(388)][t(391)];e[t(380)](i=>{const s=t;for(const t of e[s(394)][s(384)])i[s(403)](Ie,t)})}}function Oe(){const t=["closeRevisionViewerCallback","isForwardNavigationEnabled","listenTo","config","showPreviousChange","init","get","componentFactory","hide","commands","5676365FAXKyT","isEnabled","ck-revision-history-ui__back-to-editing","isPremiumPlugin","Back to editing","numberOfChanges","RevisionViewerUI","bind","5207985lRZVgL","execute","493432SvsZbU","25326210ieTApv","4WvdYvb","isReady","isOfficialPlugin","requires","change:isReady","add","currentChangeNumber","Restore this revision","showNextChange","exitToEditing","show","3093894xkTdir","4092OJTuPk","changesNavigation","revisionHistory","isNavigationMode","forward","97QBbyyl","91qsYkLx","restoreRevision","426126QIqUfM","plugins","editor","set","isBackwardNavigationEnabled","pluginName"];return(Oe=function(){return t})()}const Te=xe;function xe(t,e){const i=Oe();return(xe=function(t,e){return i[t-=372]})(t,e)}!function(t){const e=xe,i=t();for(;;)try{if(716653===parseInt(e(381))/1*(parseInt(e(376))/2)+-parseInt(e(375))/3+parseInt(e(412))/4*(-parseInt(e(400))/5)+-parseInt(e(384))/6+parseInt(e(382))/7*(parseInt(e(410))/8)+-parseInt(e(408))/9+parseInt(e(411))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Oe);class Ae extends G.Plugin{static get[Te(389)](){return Te(406)}static get[Te(414)](){return!0}static get[Te(403)](){return!0}static get[Te(415)](){return[ue,Se]}[Te(395)](){const t=Te,e=this[t(386)],i=e[t(385)][t(396)](ue),s=e[t(385)][t(396)](Se);e.ui[t(397)][t(417)](t(373),i=>{const s=t,n=new It.ButtonView(i);return n[s(387)]({label:at(i,s(404)),icon:_t.IconUndo,withText:!0,tooltip:!0,class:s(402)}),this[s(392)](n,s(409),()=>{const t=s;e[t(393)][t(396)](t(378))[t(390)]()}),n}),e.ui[t(397)][t(417)](t(383),i=>{const s=t,n=new It.ButtonView(i);return n[s(387)]({label:at(i,s(419)),withText:!0,tooltip:!0}),n[s(407)](s(401)).to(e[s(399)][s(396)](s(383))),this[s(392)](n,s(409),()=>e[s(409)](s(383))),n}),e.ui[t(397)][t(417)](t(377),s=>{const n=t,r=new ge(s),o=e[n(399)][n(396)](n(394)),a=e[n(399)][n(396)](n(372));return r[n(407)](n(388)).to(o,n(401)),r[n(407)](n(391)).to(a,n(401)),r[n(407)](n(413),n(418),n(405),n(379)).to(i),this[n(392)](r,n(409),(t,i)=>{const s=n;e[s(409)](s(380)===i?s(372):s(394))}),r}),s[t(374)](),i.on(t(416),(e,i,n)=>{const r=t;n?s[r(398)]():s[r(374)]()})}}var Ne=i(815),Re={attributes:{"data-cke":!0}};Re.setAttributes=Mt(),Re.insert=Nt().bind(null,"head"),Re.domAPI=xt(),Re.insertStyleElement=Dt();Ot()(Ne.A,Re);Ne.A&&Ne.A.locals&&Ne.A.locals;const Me=Ve;function Ve(t,e){const i=Ee();return(Ve=function(t,e){return i[t-=302]})(t,e)}!function(t){const e=Ve,i=t();for(;;)try{if(736284===-parseInt(e(330))/1+parseInt(e(304))/2*(parseInt(e(331))/3)+-parseInt(e(332))/4+-parseInt(e(326))/5+-parseInt(e(317))/6*(-parseInt(e(322))/7)+-parseInt(e(303))/8*(parseInt(e(315))/9)+-parseInt(e(308))/10*(-parseInt(e(307))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ee);class De extends It.LabeledFieldView{[Me(312)]=null;constructor(t,e){const i=Me;super(t,e);const s=this[i(328)];this[i(323)]({label:at(t,i(325)),_tooltipString:""}),this[i(313)][i(316)]=at(t,i(314)),this[i(324)]({tag:i(318),attributes:{class:[i(327)],"data-cke-tooltip-text":s.to(i(319)),"data-cke-tooltip-position":"s","data-cke-tooltip-class":i(321)}})}[Me(309)](){const e=Me;super[e(309)](),this[e(312)]=new t.ResizeObserver(this[e(313)][e(310)],()=>this[e(306)]()),this[e(320)](this[e(313)],e(305),()=>this[e(306)]())}[Me(311)](){const t=Me;super[t(311)](),this[t(312)]&&this[t(312)][t(311)]()}[Me(306)](){const t=Me,e=this[t(313)][t(310)];this[t(319)]=e[t(302)]>e[t(329)]&&e[t(333)]||""}}function Ee(){const t=["5262540nzozXb","value","scrollWidth","8EzXmlo","43566guRxRK","input","_updateTooltipText","2398UksowN","59390MNjqge","render","element","destroy","_resizeObserver","fieldView","Enter the revision name","2429937TQYpGd","placeholder","21342hvEFzr","span","_tooltipString","listenTo","ck-tooltip_multi-line","1190VJiFYq","set","extendTemplate","Revision name","1207530HxWiJk","ck-revision-history-sidebar__revision-name","bindTemplate","clientWidth","359775viTolI","141UvYIlC"];return(Ee=function(){return t})()}var Ce=i(251),Fe={attributes:{"data-cke":!0}};Fe.setAttributes=Mt(),Fe.insert=Nt().bind(null,"head"),Fe.domAPI=xt(),Fe.insertStyleElement=Dt();Ot()(Ce.A,Fe);Ce.A&&Ce.A.locals&&Ce.A.locals;function je(){const t=["Revision creator","name","522521NHOugi","622252bszLwd","Revision author","5dBfSQW","push","784320wvLABY","210548rGlXsz","396wvdvlv","ck-revision-history-sidebar__revision-author__name","ck-revision-history-sidebar__revision-author","0 0 11 10","set","187928PCgplJ","2015664nkTdGI","1313937khnxIs","span","setTemplate","ck-revision-history-sidebar__revision-author_creator"];return(je=function(){return t})()}function Le(t,e){const i=je();return(Le=function(t,e){return i[t-=311]})(t,e)}!function(t){const e=Le,i=t();for(;;)try{if(271901===-parseInt(e(321))/1+-parseInt(e(322))/2+parseInt(e(315))/3+-parseInt(e(327))/4*(-parseInt(e(324))/5)+-parseInt(e(326))/6+-parseInt(e(314))/7+-parseInt(e(313))/8*(-parseInt(e(328))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(je);class Pe extends It.View{constructor(t,e,i){const s=Le;super(t);const n=new It.IconView;n[s(312)]({content:_t.IconUser,viewBox:s(311)});const r=["ck",s(330)];i&&r[s(325)](s(318));const o=[{tag:s(316),attributes:{class:["ck",s(329)],title:at(t,s(i?319:323))},children:[n,e[s(320)]]}];this[s(317)]({tag:"li",attributes:{class:r},children:o})}}function We(){var t=["8690aduVFy","294sSLsmn","1365AZFRwZ","202680LLAqNt","1078skmgxQ","toLocaleDateString","61265OHXchx","2PjKReg","322JtUqhT","57EMXzhp","97624sTjyeo","914724RTuTjC","toLocaleTimeString","945356NZBMiT","155928IWOUwz","long","numeric"];return(We=function(){return t})()}function ze(t,e){var i=We();return(ze=function(t,e){return i[t-=493]})(t,e)}!function(t){for(var e=ze,i=t();;)try{if(634493===parseInt(e(507))/1*(-parseInt(e(496))/2)+-parseInt(e(509))/3*(parseInt(e(503))/4)+-parseInt(e(506))/5*(-parseInt(e(501))/6)+-parseInt(e(508))/7*(-parseInt(e(493))/8)+parseInt(e(494))/9+parseInt(e(500))/10*(-parseInt(e(504))/11)+parseInt(e(497))/12*(parseInt(e(502))/13))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(We);var Ue=i(505),He={attributes:{"data-cke":!0}};He.setAttributes=Mt(),He.insert=Nt().bind(null,"head"),He.domAPI=xt(),He.insertStyleElement=Dt();Ot()(Ue.A,He);Ue.A&&Ue.A.locals&&Ue.A.locals;function Ze(t,e){const i=qe();return(Ze=function(t,e){return i[t-=429]})(t,e)}function qe(){const t=["76402QNwaoY","1391870AotxDd","items","action","menu","ck-revision-history-sidebar__revision__actions","22eOVmHm","listenTo","isVisible","button","6850032Whdvuo","5335940SlFUwj","3524583fwVdvn","Compare against selected","execute","_action","isReady","first","function","4kvleoM","map","source","isEnabled","menuitem","model","set","children","3423681DQcWgj","isActionsDropdownOpen","8UAaTlF","Restore this revision","4RewHUz","stopPropagation","isOpen","find","Show more items","panelPosition","ck-on","listView","class","change:isActionsDropdownOpen","buttonView","bind","Name this revision","extendTemplate","2493300DhATeT","bindTemplate","name","locale","add"];return(qe=function(){return t})()}!function(t){const e=Ze,i=t();for(;;)try{if(710192===parseInt(e(441))/1*(parseInt(e(472))/2)+-parseInt(e(453))/3*(parseInt(e(460))/4)+-parseInt(e(442))/5+-parseInt(e(436))/6+parseInt(e(451))/7+parseInt(e(470))/8*(parseInt(e(468))/9)+-parseInt(e(452))/10*(-parseInt(e(447))/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=Nt().bind(null,"head"),Be.domAPI=xt(),Be.insertStyleElement=Dt();Ot()($e.A,Be);$e.A&&$e.A.locals&&$e.A.locals;const Ye=Je;function Je(t,e){const i=Ge();return(Je=function(t,e){return i[t-=282]})(t,e)}function Ge(){const t=["ck-revision-history-sidebar__revision_highlighted","span","220","createdAt","setTemplate","186556mrxTCn","deselect","length","change","ck-revision-history-sidebar__revision__date","_requireRevisionName","fire","authors","ck-revision-history-sidebar__revision-wrapper_confirmation_visible","bindTemplate","select","listenTo","revisionActionsView","ck-revision-history-sidebar__revision","isActionsDropdownOpen","uiLanguage","value","div","closest","render","map","revisionNameView","2642229dVWBqB","ck-revision-history-sidebar__revision-authors","ck-disabled","highlight","isConfirm",".ck-confirm-view","element","name","setName","set","from","ck-revision-history-sidebar__revision__controls-wrapper","_createdAtFormatted","srcElement","filter","creator","732104jEtkaa","isSelected","172953POwhcl","unhighlight","952jBPMJY","bind","2194805SSjPyg","isEnabled","unshift","4764796uRNTlk","extendTemplate","_revision","fieldView","isHighlighted","11089029mYCpwD","18MIlaTo","isReady","ck-revision-history-sidebar__actions_dropdown_open","ck-reset","ck-revision-history-sidebar__revision-wrapper","ck-revision-history-sidebar__revision_selected"];return(Ge=function(){return t})()}!function(t){const e=Je,i=t();for(;;)try{if(942577===parseInt(e(298))/1+-parseInt(e(324))/2+parseInt(e(282))/3+-parseInt(e(307))/4+parseInt(e(304))/5*(parseInt(e(313))/6)+parseInt(e(312))/7+parseInt(e(302))/8*(-parseInt(e(300))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Ge);class Ke extends((0,K.ConfirmMixin)(It.View)){id;[Ye(345)];[Ye(336)];[Ye(309)];[Ye(329)];constructor(e,i,s,n){const r=Ye;super(e);const o=this[r(333)],a=function(t,e){const i=r,s=Array[i(292)](e[i(331)])[i(296)](t=>t!=e[i(297)]);return e[i(297)]&&s[i(306)](e[i(297)]),s[i(344)](s=>new Pe(t,s,s==e[i(297)]))}(e,i);this.id=i.id,this[r(309)]=i,this[r(329)]=n,this[r(303)](r(289),r(322)).to(i),this[r(303)](r(294)).to(this,r(322),t=>{return i=e[r(339)],(s=t)[(n=ze)(505)](i,{month:n(498),day:n(499)})+", "+s[n(495)](i,{hour:n(499),minute:n(499)});var i,s,n}),this[r(291)](r(299),!1),this[r(291)](r(311),!1),this[r(291)](r(338),!1),this[r(291)](r(314),!1),this[r(291)](r(305),!1),this[r(345)]=new De(e,It.createLabeledInputText),this[r(345)][r(310)][r(308)]({attributes:{maxlength:r(321)}}),this[r(345)][r(310)][r(303)](r(340)).to(this,r(289),t=>t||this[r(294)]),this[r(345)][r(303)](r(305)).to(this,r(299),this,r(305),(t,e)=>t&&e),this[r(336)]=s&&s[r(326)]?function(e,i){const s=Ze,n=e[s(437)],r=e[s(439)],o=(0,It.createDropdown)(r);o[s(477)]="sw";const a=function(e,i){const n=s,r=function(t,e){const i=Ze,s=t[i(439)],n={"Compare against selected":at(s,i(454)),"Name this revision":at(s,i(434)),"Restore this revision":at(s,i(471))};return e[i(461)](t=>{const e=i,s=n[t[e(438)]];return s&&s!==t[e(438)]&&(t[e(438)]=s),t})}(e,i),o=new t.Collection;for(const t of r){const i={type:n(450),model:new It.UIModel({label:t[n(438)],class:t[n(430)],withText:!0,role:n(464),_action:t[n(444)]})};i[n(465)][n(433)](n(463)).to(e,n(469),i=>n(459)!=typeof t[n(463)]||!i||t[n(463)](e)),o[n(440)](i)}return o}(e,i);return e[s(433)](s(469)).to(o,s(474)),o[s(432)][s(466)]({label:at(r,s(476)),tooltip:!0,tooltipPosition:"sw",icon:_t.IconThreeVerticalDots}),o[s(435)]({attributes:{class:[s(446),n.if(s(469),s(478))]},on:{click:n.to(t=>t[s(473)]())}}),o.on(s(455),t=>{const i=s;e[i(457)]&&i(459)==typeof t[i(462)][i(456)]&&t[i(462)][i(456)](e)}),(0,It.addListToDropdown)(o,a,{role:s(445)}),o[s(448)](e,s(431),(t,n,r)=>{const a=s;if(r)for(const t of o[a(429)][a(443)]){const s=t[a(467)][a(458)],n=i[a(475)](t=>t[a(444)]===s[a(456)])[a(449)];t[a(449)]=void 0===n||n(e)}}),o}(this,s):"",this[r(336)]&&this[r(336)][r(303)](r(305)).to(this),this[r(323)]({tag:r(341),attributes:{class:["ck",r(316),r(317),o.if(r(286),r(332))]},children:[{tag:r(341),attributes:{class:["ck",r(316),r(337),o.if(r(305),r(284),t=>!t),o.if(r(299),r(318)),o.if(r(311),r(319)),o.if(r(338),r(315))]},children:[this[r(345)],{tag:r(320),attributes:{class:["ck",r(328)]},children:[{text:o.to(r(294))}]},{tag:r(341),attributes:{class:["ck",r(293)]},children:[{tag:"ul",attributes:{class:["ck",r(283)]},children:a}]},this[r(336)]],on:{click:o.to(t=>{const e=r;t[e(295)][e(342)](e(287))||this[e(314)]&&this[e(305)]&&this[e(330)](e(334),{id:this.id})})}}]})}[Ye(343)](){const t=Ye;super[t(343)]();const e=this[t(345)][t(310)][t(288)];this[t(335)](e,t(327),()=>{const i=t;this[i(329)]&&!e[i(340)]||this[i(330)](i(290),{id:this.id,name:e[i(340)]}),e[i(340)]||(e[i(340)]=this[i(289)]?this[i(289)]:this[i(294)])})}[Ye(334)](){this[Ye(299)]=!0}[Ye(325)](){this[Ye(299)]=!1}[Ye(285)](){this[Ye(311)]=!0}[Ye(301)](){this[Ye(311)]=!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},Ai={year:oi,month:ci,day:oi,hour:oi,minute:oi,second:oi,timeZoneName:ai},Ni={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,timeZoneName:ci},Ri={year:oi,month:ci,day:oi,weekday:ci,hour:oi,minute:oi,second:oi,timeZoneName:ci};class Mi{get type(){throw new ri}get name(){throw new ri}get ianaName(){return this.name}get isUniversal(){throw new ri}offsetName(t,e){throw new ri}formatOffset(t,e){throw new ri}offset(t){throw new ri}equals(t){throw new ri}get isValid(){throw new ri}}let Vi=null;class Di extends Mi{static get instance(){return null===Vi&&(Vi=new Di),Vi}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return 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 Ei=new Map;const Ci={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};const Fi=new Map;class ji extends Mi{static create(t){let e=Fi.get(t);return void 0===e&&Fi.set(t,e=new ji(t)),e}static resetCache(){Fi.clear(),Ei.clear()}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=ji.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:i}){return 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=Ei.get(t);return void 0===e&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ei.set(t,e)),e}(this.name);let[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 Li={};const Pi=new Map;function Wi(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 zi=new Map;const Ui=new Map;let Hi=null;const Zi=new Map;function qi(t){let e=Zi.get(t);return void 0===e&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),Zi.set(t,e)),e}const $i=new Map;function Bi(t,e,i,s){const n=t.listingMode();return"error"===n?null:"en"===n?i(e):s(e)}class Yi{constructor(t,e,i){this.padTo=i.padTo||0,this.floor=i.floor||!1;const{padTo:s,floor:n,...r}=i;if(!e||Object.keys(r).length>0){const e={useGrouping:!1,...i};i.padTo>0&&(e.minimumIntegerDigits=i.padTo),this.inf=function(t,e={}){const i=JSON.stringify([t,e]);let s=zi.get(i);return void 0===s&&(s=new Intl.NumberFormat(t,e),zi.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 zs(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&&ji.create(i).valid?(s=i,this.dt=t):(s="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const n={...this.opts};n.timeZone=n.timeZone||s,this.dtf=Wi(e,n)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Gi{constructor(t,e,i){this.opts={style:"long",...i},!e&&Cs()&&(this.rtf=function(t,e={}){const{base:i,...s}=e,n=JSON.stringify([t,s]);let r=Ui.get(n);return void 0===r&&(r=new Intl.RelativeTimeFormat(t,e),Ui.set(n,r)),r}(t,i))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,i="always",s=!1){const n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},r=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===i&&r){const i="days"===t;switch(e){case 1:return i?"tomorrow":`next ${n[t][0]}`;case-1:return i?"yesterday":`last ${n[t][0]}`;case 0:return i?"today":`this ${n[t][0]}`}}const o=Object.is(e,-0)||e<0,a=Math.abs(e),c=1===a,u=n[t],l=s?c?u[1]:u[2]||u[1]:c?n[t][0]:t;return o?`${a} ${l} ago`:`in ${a} ${l}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}const Ki={firstDay:1,minimalDays:4,weekend:[6,7]};class Xi{static fromOpts(t){return Xi.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,e,i,s,n=!1){const r=t||vs.defaultLocale,o=r||(n?"en-US":Hi||(Hi=(new Intl.DateTimeFormat).resolvedOptions().locale,Hi)),a=e||vs.defaultNumberingSystem,c=i||vs.defaultOutputCalendar,u=Ps(s)||vs.defaultWeekSettings;return new Xi(o,a,c,u,r)}static resetCache(){Hi=null,Pi.clear(),zi.clear(),Ui.clear(),Zi.clear(),$i.clear()}static fromObject({locale:t,numberingSystem:e,outputCalendar:i,weekSettings:s}={}){return Xi.create(t,e,i,s)}constructor(t,e,i,s,n){const[r,o,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const i=t.indexOf("-u-");if(-1===i)return[t];{let e,s;try{e=Wi(t).resolvedOptions(),s=t}catch(n){const r=t.substring(0,i);e=Wi(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=Li[i];return s||(s=new Intl.ListFormat(t,e),Li[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?Di.instance:"utc"===i||"gmt"===i?ts.utcInstance:ts.parseSpecifier(i)||ji.create(t)}return Ds(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,Di.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(),ji.resetCache(),fo.resetCache(),os.clear()}}class gs{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ys=[0,31,59,90,120,151,181,212,243,273,304,334],ks=[0,31,60,91,121,152,182,213,244,274,305,335];function bs(t,e){return new gs("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ws(t,e,i){const s=new Date(Date.UTC(t,e-1,i));t<100&&t>=0&&s.setUTCFullYear(s.getUTCFullYear()-1900);const n=s.getUTCDay();return 0===n?7:n}function _s(t,e,i){return i+($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 As(t){const{year:e,ordinal:i}=t,{month:s,day:n}=Is(e,i);return{year:e,month:s,day:n,...rn(t)}}function Ns(t,e){if(!Vs(t.localWeekday)||!Vs(t.localWeekNumber)||!Vs(t.localWeekYear)){if(!Vs(t.weekday)||!Vs(t.weekNumber)||!Vs(t.weekYear))throw new ii("Cannot mix locale-based week fields with ISO-based week fields");return Vs(t.localWeekday)||(t.weekday=t.localWeekday),Vs(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),Vs(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}return{minDaysInFirstWeek:4,startOfWeek:1}}function Rs(t){const e=Es(t.year),i=Ws(t.month,1,12),s=Ws(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=Ws(e,0,23)||24===e&&0===i&&0===s&&0===n,o=Ws(i,0,59),a=Ws(s,0,59),c=Ws(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 Ds(t){return"number"==typeof t}function Es(t){return"number"==typeof t&&t%1==0}function Cs(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function Fs(){try{return"undefined"!=typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(t){return!1}}function js(t,e,i){if(0!==t.length)return t.reduce((t,s)=>{const n=[e(s),s];return t&&i(t[0],n[0])===t[0]?t:n},null)[1]}function Ls(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(!Ws(t.firstDay,1,7)||!Ws(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(t=>!Ws(t,1,7)))throw new ni("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Ws(t,e,i){return Es(t)&&t>=e&&t<=i}function zs(t,e=2){let i;return i=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),i}function Us(t){return Vs(t)||null===t||""===t?void 0:parseInt(t,10)}function Hs(t){return Vs(t)||null===t||""===t?void 0:parseFloat(t)}function Zs(t){if(!Vs(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function qs(t,e,i=!1){const s=10**e;return(i?Math.trunc:Math.round)(t*s)/s}function $s(t){return t%4==0&&(t%100!=0||t%400==0)}function Bs(t){return $s(t)?366:365}function Ys(t,e){const i=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===i?$s(t+(e-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function Js(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Gs(t,e,i){return-Ss(ws(t,1,e),i)+e-1}function Ks(t,e=4,i=1){const s=Gs(t,e,i),n=Gs(t+1,e,i);return(Bs(t)-s+n)/7}function Xs(t){return t>99?t:t>vs.twoDigitCutoffYear?1900+t:2e3+t}function Qs(t,e,i,s=null){const n=new Date(t),r={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};s&&(r.timeZone=s);const o={timeZoneName:e,...r},a=new Intl.DateTimeFormat(i,o).formatToParts(n).find(t=>"timezonename"===t.type.toLowerCase());return a?a.value:null}function tn(t,e){let i=parseInt(t,10);Number.isNaN(i)&&(i=0);const s=parseInt(e,10)||0;return 60*i+(i<0||Object.is(i,-0)?-s:s)}function en(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new ni(`Invalid unit value ${t}`);return e}function sn(t,e){const i={};for(const s in t)if(Ls(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}${zs(i,2)}:${zs(s,2)}`;case"narrow":return`${n}${i}${s>0?`:${s}`:""}`;case"techie":return`${n}${zs(i,2)}${zs(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:Ni,F:Ii,FF:Oi,FFF:Ai,FFFF:Ri};class wn{static create(t,e={}){return new wn(t,e)}static parseFormat(t){let e=null,i="",s=!1;const n=[];for(let r=0;r<t.length;r++){const o=t.charAt(r);"'"===o?(i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),e=null,i="",s=!s):s||o===e?i+=o:(i.length>0&&n.push({literal:/^\s+$/.test(i),val:i}),i=o,e=o)}return i.length>0&&n.push({literal:s||/^\s+$/.test(i),val:i}),n}static macroTokenToFormatOpts(t){return bn[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}dtFormatter(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e})}formatDateTime(t,e){return this.dtFormatter(t,e).format()}formatDateTimeParts(t,e){return this.dtFormatter(t,e).formatToParts()}formatInterval(t,e){return this.dtFormatter(t.start,e).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e){return this.dtFormatter(t,e).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return zs(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))?)/,An=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Nn=RegExp(`${An.source}${`(?:${xn.source}?(?:\\[(${_n.source})\\])?)?`}`),Rn=RegExp(`(?:T${Nn.source})?`),Mn=Tn("weekYear","weekNumber","weekDay"),Vn=Tn("year","ordinal"),Dn=RegExp(`${An.source} ?(?:${xn.source}|(${_n.source}))?`),En=RegExp(`(?: ${Dn.source})?`);function Cn(t,e,i){const s=t[e];return Vs(s)?i:Us(s)}function Fn(t,e){return[{hours:Cn(t,e,0),minutes:Cn(t,e+1,0),seconds:Cn(t,e+2,0),milliseconds:Zs(t[e+3])},null,e+4]}function jn(t,e){const i=!t[e]&&!t[e+1],s=tn(t[e+1],t[e+2]);return[{},i?null:ts.instance(s),e+3]}function Ln(t,e){return[{},t[e]?ji.create(t[e]):null,e+1]}const Pn=RegExp(`^T?${An.source}$`),Wn=/^-?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 zn(t){const[e,i,s,n,r,o,a,c,u]=t,l="-"===e[0],h=c&&"-"===c[0],d=(t,e=!1)=>void 0!==t&&(e||t&&l)?-t:t;return[{years:d(Hs(i)),months:d(Hs(s)),weeks:d(Hs(n)),days:d(Hs(r)),hours:d(Hs(o)),minutes:d(Hs(a)),seconds:d(Hs(c),"-0"===c),milliseconds:d(Zs(u),h)}]}const Un={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Hn(t,e,i,s,n,r,o){const a={year:2===e.length?Xs(Us(e)):Us(e),month:an.indexOf(i)+1,day:Us(s),hour:Us(n),minute:Us(r)};return o&&(a.second=Us(o)),t&&(a.weekday=t.length>3?ln.indexOf(t)+1:hn.indexOf(t)+1),a}const Zn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function qn(t){const[,e,i,s,n,r,o,a,c,u,l,h]=t,d=Hn(e,n,s,i,r,o,a);let f;return f=c?Un[c]:u?0:tn(l,h),[d,new ts(f)]}const $n=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Bn=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Yn=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function Jn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,n,s,i,r,o,a),ts.utcInstance]}function Gn(t){const[,e,i,s,n,r,o,a]=t;return[Hn(e,a,i,s,n,r,o),ts.utcInstance]}const Kn=In(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,Rn),Xn=In(/(\d{4})-?W(\d\d)(?:-?(\d))?/,Rn),Qn=In(/(\d{4})-?(\d{3})/,Rn),tr=In(Nn),er=Sn(function(t,e){return[{year:Cn(t,e),month:Cn(t,e+1,1),day:Cn(t,e+2,1)},null,e+3]},Fn,jn,Ln),ir=Sn(Mn,Fn,jn,Ln),sr=Sn(Vn,Fn,jn,Ln),nr=Sn(Fn,jn,Ln);const rr=Sn(Fn);const or=In(/(\d{4})-(\d\d)-(\d\d)/,En),ar=In(Dn),cr=Sn(Fn,jn,Ln);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(Ds(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,[Wn,zn])}(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)(Ls(e.values,t)||Ls(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;Ds(s[r])&&(t+=s[r]);const o=Math.trunc(t);e[r]=o,i[r]=(1e3*t-1e3*o)/1e3}else Ds(s[r])&&(i[r]=s[r]);for(const t in i)0!==i[t]&&(e[n]+=t===n?i[t]:i[t]/this.matrix[n][t]);return kr(this.matrix,e),gr(this,{values:e},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return gr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;function e(t,e){return void 0===t||0===t?void 0===e||0===e:t===e}for(const i of pr)if(!e(this.values[i],t.values[i]))return!1;return!0}}const wr="Invalid Interval";class _r{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the Interval is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new ti(i);return new _r({invalid:i})}static fromDateTimes(t,e){const i=mo(t),s=mo(e),n=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?_r.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:_r.invalid("missing or invalid end"):_r.invalid("missing or invalid start")}(i,s);return null==n?new _r({start:i,end:s}):n}static after(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s,s.plus(i))}static before(t,e){const i=br.fromDurationLike(e),s=mo(t);return _r.fromDateTimes(s.minus(i),s)}static fromISO(t,e){const[i,s]=(t||"").split("/",2);if(i&&s){let t,n,r,o;try{t=fo.fromISO(i,e),n=t.isValid}catch(s){n=!1}try{r=fo.fromISO(s,e),o=r.isValid}catch(s){o=!1}if(n&&o)return _r.fromDateTimes(t,r);if(n){const i=br.fromISO(s,e);if(i.isValid)return _r.after(t,i)}else if(o){const t=br.fromISO(i,e);if(t.isValid)return _r.before(r,t)}}return _r.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",e){if(!this.isValid)return NaN;const i=this.start.startOf(t,e);let s;return s=e?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end,s=s.startOf(t,e),Math.floor(s.diff(i,t).get(t))+(s.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?_r.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(mo).filter(t=>this.contains(t)).sort((t,e)=>t.toMillis()-e.toMillis()),i=[];let{s}=this,n=0;for(;s<this.e;){const t=e[n]||this.e,r=+t>+this.e?this.e:t;i.push(_r.fromDateTimes(s,r)),s=r,n+=1}return i}splitBy(t){const e=br.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let i,{s}=this,n=1;const r=[];for(;s<this.e;){const t=this.start.plus(e.mapUnits(t=>t*n));i=+t>+this.e?this.e:t,r.push(_r.fromDateTimes(s,i)),s=i,n+=1}return r}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e===+t.s}abutsEnd(t){return!!this.isValid&&+t.e===+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,i=this.e<t.e?this.e:t.e;return e>=i?null:_r.fromDateTimes(e,i)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,i=this.e>t.e?this.e:t.e;return _r.fromDateTimes(e,i)}static merge(t){const[e,i]=t.sort((t,e)=>t.s-e.s).reduce(([t,e],i)=>e?e.overlaps(i)||e.abutsStart(i)?[t,e.union(i)]:[t.concat([e]),i]:[t,i],[[],null]);return i&&e.push(i),e}static xor(t){let e=null,i=0;const s=[],n=t.map(t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}]),r=Array.prototype.concat(...n).sort((t,e)=>t.time-e.time);for(const t of r)i+="s"===t.type?1:-1,1===i?e=t.time:(e&&+e!==+t.time&&s.push(_r.fromDateTimes(e,t.time)),e=null);return _r.merge(s)}difference(...t){return _r.xor([this].concat(t)).map(t=>this.intersection(t)).filter(t=>t&&!t.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.s.loc.clone(e),t).formatInterval(this):wr}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:wr}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:wr}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:wr}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:wr}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):br.invalid(this.invalidReason)}mapEndpoints(t){return _r.fromDateTimes(t(this.s),t(this.e))}}class Ir{static hasDST(t=vs.defaultZone){const e=fo.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return ji.isValidZone(t)}static normalizeZone(t){return is(t,vs.defaultZone)}static getStartOfWeek({locale:t=null,locObj:e=null}={}){return(e||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)}]`,Ar=new RegExp(xr,"g");function Nr(t){return t.replace(/\./g,"\\.?").replace(Ar,xr)}function Rr(t){return t.replace(/\./g,"").replace(Ar," ").toLowerCase()}function Mr(t,e){return null===t?null:{regex:RegExp(t.map(Nr).join("|")),deser:([i])=>t.findIndex(t=>Rr(i)===Rr(t))+e}}function Vr(t,e){return{regex:t,deser:([,t,e])=>tn(t,e),groups:e}}function Dr(t){return{regex:t,deser:([t])=>t}}const Er={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let Cr=null;function Fr(t,e){return Array.prototype.concat(...t.map(t=>function(t,e){if(t.literal)return t;const i=Pr(wn.macroTokenToFormatOpts(t.val),e);return null==i||i.includes(void 0)?t:i}(t,e)))}class jr{constructor(t,e){if(this.locale=t,this.format=e,this.tokens=Fr(wn.parseFormat(e),t),this.units=this.tokens.map(e=>function(t,e){const i=as(e),s=as(e,"{2}"),n=as(e,"{3}"),r=as(e,"{4}"),o=as(e,"{6}"),a=as(e,"{1,2}"),c=as(e,"{1,3}"),u=as(e,"{1,6}"),l=as(e,"{1,9}"),h=as(e,"{2,4}"),d=as(e,"{4,6}"),f=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},m=(m=>{if(t.literal)return f(m);switch(m.val){case"G":return Mr(e.eras("short"),0);case"GG":return Mr(e.eras("long"),0);case"y":return Tr(u);case"yy":case"kk":return Tr(h,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 Dr(l);case"uu":return Dr(a);case"uuu":case"E":case"c":return Tr(i);case"a":return Mr(e.meridiems(),0);case"EEE":return Mr(e.weekdays("short",!1),1);case"EEEE":return Mr(e.weekdays("long",!1),1);case"ccc":return Mr(e.weekdays("short",!0),1);case"cccc":return Mr(e.weekdays("long",!0),1);case"Z":case"ZZ":return Vr(new RegExp(`([+-]${a.source})(?::(${s.source}))?`),2);case"ZZZ":return Vr(new RegExp(`([+-]${a.source})(${s.source})?`),2);case"z":return Dr(/[a-z_+-/]{1,256}?/i);case" ":return Dr(/[^\S\n\r]/);default:return f(m)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return m.token=t,m}(e,t)),this.disqualifyingUnit=this.units.find(t=>t.invalidReason),!this.disqualifyingUnit){const[t,e]=[`^${(i=this.units).map(t=>t.regex).reduce((t,e)=>`${t}(${e.source})`,"")}$`,i];this.regex=RegExp(t,"i"),this.handlers=e}var i}explainFromTokens(t){if(this.isValid){const[e,i]=function(t,e,i){const s=t.match(e);if(s){const t={};let e=1;for(const n in i)if(Ls(i,n)){const r=i[n],o=r.groups?r.groups+1:1;!r.literal&&r.token&&(t[r.token.val[0]]=r.deser(s.slice(e,e+o))),e+=o}return[s,t]}return[s,{}]}(t,this.regex,this.handlers),[s,n,r]=i?function(t){let e,i=null;return Vs(t.z)||(i=ji.create(t.z)),Vs(t.Z)||(i||(i=new ts(t.Z)),e=t.Z),Vs(t.q)||(t.M=3*(t.q-1)+1),Vs(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),Vs(t.u)||(t.S=Zs(t.u)),[Object.keys(t).reduce((e,i)=>{const s=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(i);return s&&(e[s]=t[i]),e},{}),i,e]}(i):[null,null,void 0];if(Ls(i,"a")&&Ls(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 Lr(t,e,i){return new jr(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=Er[o];if("object"==typeof a&&(a=a[r]),a)return{literal:!1,val:a}}(e,t,n))}const Wr="Invalid DateTime",zr=864e13;function Ur(t){return new gs("unsupported zone",`the zone "${t.name}" is not supported`)}function Hr(t){return null===t.weekData&&(t.weekData=Os(t.c)),t.weekData}function Zr(t){return null===t.localWeekData&&(t.localWeekData=Os(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function qr(t,e){const i={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new fo({...i,...e,old:i})}function $r(t,e,i){let s=t-60*e*1e3;const n=i.offset(s);if(e===n)return[s,e];s-=60*(n-e)*1e3;const r=i.offset(s);return n===r?[s,n]:[t-60*Math.min(n,r)*1e3,Math.max(n,r)]}function Br(t,e){const i=new Date(t+=60*e*1e3);return{year:i.getUTCFullYear(),month:i.getUTCMonth()+1,day:i.getUTCDate(),hour:i.getUTCHours(),minute:i.getUTCMinutes(),second:i.getUTCSeconds(),millisecond:i.getUTCMilliseconds()}}function Yr(t,e,i){return $r(Js(t),e,i)}function Jr(t,e){const i=t.o,s=t.c.year+Math.trunc(e.years),n=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),r={...t.c,year:s,month:n,day:Math.min(t.c.day,Ys(s,n))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},o=br.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Js(r);let[c,u]=$r(a,i,t.zone);return 0!==o&&(c+=o,u=t.zone.offset(c)),{ts:c,o:u}}function Gr(t,e,i,s,n,r){const{setZone:o,zone:a}=i;if(t&&0!==Object.keys(t).length||e){const s=e||a,n=fo.fromObject(t,{...i,zone:s,specificOffset:r});return o?n:n.setZone(a)}return fo.invalid(new gs("unparsable",`the input "${n}" can't be parsed as ${s}`))}function Kr(t,e,i=!0){return t.isValid?wn.create(Xi.create("en-US"),{allowZ:i,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Xr(t,e){const i=t.c.year>9999||t.c.year<0;let s="";return i&&t.c.year>=0&&(s+="+"),s+=zs(t.c.year,i?6:4),e?(s+="-",s+=zs(t.c.month),s+="-",s+=zs(t.c.day)):(s+=zs(t.c.month),s+=zs(t.c.day)),s}function Qr(t,e,i,s,n,r){let o=zs(t.c.hour);return e?(o+=":",o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=":")):o+=zs(t.c.minute),0===t.c.millisecond&&0===t.c.second&&i||(o+=zs(t.c.second),0===t.c.millisecond&&s||(o+=".",o+=zs(t.c.millisecond,3))),n&&(t.isOffsetFixed&&0===t.offset&&!r?o+="Z":t.o<0?(o+="-",o+=zs(Math.trunc(-t.o/60)),o+=":",o+=zs(Math.trunc(-t.o%60))):(o+="+",o+=zs(Math.trunc(t.o/60)),o+=":",o+=zs(Math.trunc(t.o%60)))),r&&(o+="["+t.zone.ianaName+"]"),o}const to={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},eo={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},io={ordinal:1,hour:0,minute:0,second:0,millisecond:0},so=["year","month","day","hour","minute","second","millisecond"],no=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],ro=["year","ordinal","hour","minute","second","millisecond"];function oo(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return function(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new si(t);return e}(t)}}function ao(t,e){const i=is(e.zone,vs.defaultZone);if(!i.isValid)return fo.invalid(Ur(i));const s=Xi.fromObject(e);let n,r;if(Vs(t.year))n=vs.now();else{for(const e of so)Vs(t[e])&&(t[e]=to[e]);const e=Rs(t)||Ms(t);if(e)return fo.invalid(e);const s=function(t){if(void 0===lo&&(lo=vs.now()),"iana"!==t.type)return t.offset(lo);const e=t.name;let i=ho.get(e);return void 0===i&&(i=t.offset(lo),ho.set(e,i)),i}(i);[n,r]=Yr(t,s,i)}return new fo({ts:n,zone:i,loc:s,o:r})}function co(t,e,i){const s=!!Vs(i.round)||i.round,n=(t,n)=>{t=qs(t,s||i.calendary?0:2,!0);return e.loc.clone(i).relFormatter(i).format(t,n)},r=s=>i.calendary?e.hasSame(t,s)?0:e.startOf(s).diff(t.startOf(s),s).get(s):e.diff(t,s).get(s);if(i.unit)return n(r(i.unit),i.unit);for(const t of i.units){const e=r(t);if(Math.abs(e)>=1)return n(e,t)}return n(t>e?-0:0,i.units[i.units.length-1])}function uo(t){let e,i={};return t.length>0&&"object"==typeof t[t.length-1]?(i=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[i,e]}let lo;const ho=new Map;class fo{constructor(t){const e=t.zone||vs.defaultZone;let i=t.invalid||(Number.isNaN(t.ts)?new gs("invalid input"):null)||(e.isValid?null:Ur(e));this.ts=Vs(t.ts)?vs.now():t.ts;let s=null,n=null;if(!i){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[s,n]=[t.old.c,t.old.o];else{const r=Ds(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(Ds(t))return t<-zr||t>zr?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(Ds(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}=Ns(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=Es(t.weekYear),n=Ws(t.weekNumber,1,Ks(t.weekYear,e,i)),r=Ws(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=Es(t.year),i=Ws(t.ordinal,1,Bs(t.year));return e?!i&&bs("ordinal",t.ordinal):bs("year",t.year)}(n):Rs(n),b=k||Ms(n);if(b)return fo.invalid(b);const w=m?Ts(n,r,o):u?As(n):n,[_,I]=Yr(w,c,i),S=new fo({ts:_,zone:i,o:I,loc:s});return n.weekday&&d&&t.weekday!==S.weekday?fo.invalid("mismatched weekday",`you can't specify both a weekday of ${n.weekday} and a date of ${S.toISO()}`):S.isValid?S:fo.invalid(S.invalid)}static fromISO(t,e={}){const[i,s]=function(t){return On(t,[Kn,er],[Xn,ir],[Qn,sr],[tr,nr])}(t);return Gr(i,s,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[i,s]=function(t){return On(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Zn,qn])}(t);return Gr(i,s,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[i,s]=function(t){return On(t,[$n,Jn],[Bn,Jn],[Yn,Gn])}(t);return Gr(i,s,e,"HTTP",e)}static fromFormat(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:n=null}=i,r=Xi.fromOpts({locale:s,numberingSystem:n,defaultToEN:!0}),[o,a,c,u]=function(t,e,i){const{result:s,zone:n,specificOffset:r,invalidReason:o}=Lr(t,e,i);return[s,n,r,o]}(r,t,e);return u?fo.invalid(u):Gr(o,a,i,`format ${e}`,t,c)}static fromString(t,e,i={}){return fo.fromFormat(t,e,i)}static fromSQL(t,e={}){const[i,s]=function(t){return On(t,[or,er],[ar,cr])}(t);return Gr(i,s,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new ni("need to specify a reason the DateTime is invalid");const i=t instanceof gs?t:new gs(t,e);if(vs.throwOnInvalid)throw new Qe(i);return new fo({invalid:i})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const i=Pr(t,Xi.fromObject(e));return i?i.map(t=>t?t.val:null).join(""):null}static expandFormat(t,e={}){return Fr(wn.parseFormat(t),Xi.fromObject(e)).map(t=>t.val).join("")}static resetCache(){lo=void 0,ho.clear()}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Hr(this).weekYear:NaN}get weekNumber(){return this.isValid?Hr(this).weekNumber:NaN}get weekday(){return this.isValid?Hr(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Zr(this).weekday:NaN}get localWeekNumber(){return this.isValid?Zr(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Zr(this).weekYear:NaN}get ordinal(){return this.isValid?xs(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ir.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ir.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ir.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ir.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,e=6e4,i=Js(this.c),s=this.zone.offset(i-t),n=this.zone.offset(i+t),r=this.zone.offset(i-s*e),o=this.zone.offset(i-n*e);if(r===o)return[this];const a=i-r*e,c=i-o*e,u=Br(a,r),l=Br(c,o);return u.hour===l.hour&&u.minute===l.minute&&u.second===l.second&&u.millisecond===l.millisecond?[qr(this,{ts:a}),qr(this,{ts:c})]:[this]}get isInLeapYear(){return $s(this.year)}get daysInMonth(){return Ys(this.year,this.month)}get daysInYear(){return this.isValid?Bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ks(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ks(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:i,calendar:s}=wn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:i,outputCalendar:s}}toUTC(t=0,e={}){return this.setZone(ts.instance(t),e)}toLocal(){return this.setZone(vs.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:i=!1}={}){if((t=is(t,vs.defaultZone)).equals(this.zone))return this;if(t.isValid){let s=this.ts;if(e||i){const e=t.offset(this.ts),i=this.toObject();[s]=Yr(i,e,t)}return qr(this,{ts:s,zone:t})}return fo.invalid(Ur(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:i}={}){return qr(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:i})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=sn(t,oo),{minDaysInFirstWeek:i,startOfWeek:s}=Ns(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=As({...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):Wr}toLocaleString(t=ui,e={}){return this.isValid?wn.create(this.loc.clone(e),t).formatDateTime(this):Wr}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():Wr}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",i={}){if(!this.isValid||!t.isValid)return br.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...i},n=(a=e,Array.isArray(a)?a:[a]).map(br.normalizeUnit),r=t.valueOf()>this.valueOf(),o=Or(r?this:t,r?t:this,n,s);var a;return r?o.negate():o}diffNow(t="milliseconds",e={}){return this.diff(fo.now(),t,e)}until(t){return this.isValid?_r.fromDateTimes(this,t):this}hasSame(t,e,i){if(!this.isValid)return!1;const s=t.valueOf(),n=this.setZone(t.zone,{keepLocalTime:!0});return n.startOf(e,i)<=s&&s<=n.endOf(e,i)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||fo.fromObject({},{zone:this.zone}),i=t.padding?this<e?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],n=t.unit;return Array.isArray(t.unit)&&(s=t.unit,n=void 0),co(e,this.plus(i),{...t,numeric:"always",units:s,unit:n})}toRelativeCalendar(t={}){return this.isValid?co(t.base||fo.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(fo.isDateTime))throw new ni("min requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.min)}static max(...t){if(!t.every(fo.isDateTime))throw new ni("max requires all arguments be DateTimes");return js(t,t=>t.valueOf(),Math.max)}static fromFormatExplain(t,e,i={}){const{locale:s=null,numberingSystem:n=null}=i;return Lr(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 jr(n,t)}static fromFormatParser(t,e,i={}){if(Vs(t)||Vs(e))throw new ni("fromFormatParser requires an input string and a format parser");const{locale:s=null,numberingSystem:n=null}=i,r=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 Ai}static get DATETIME_HUGE(){return Ni}static get DATETIME_HUGE_WITH_SECONDS(){return Ri}}function mo(t){if(fo.isDateTime(t))return t;if(t&&t.valueOf&&Ds(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-=445]})(t,e)}function vo(){const t=["weekdayLong","local","36JuBBtL","77516qEooVW","9739212LDunTX","week","115mwIcXH","minus","day","month","8965896IlLjZa","hasSame","monthLong","fromJSDate","1841384fIQgeu","1902711jOXkwE","668734shVocy","startOf","setLocale","toJSDate","toRelativeCalendar","2437112SkkqVP","year"];return(vo=function(){return t})()}function go(t,e){const i=po,s=fo[i(452)](t)[i(457)](e),n=fo[i(463)](),r=n[i(446)]({days:1})[i(456)](i(447));let o,a;return s[i(450)](n,i(447))?(o=s[i(456)](i(447))[i(458)](),a=s[i(459)]()):s[i(450)](r,i(447))?(o=r[i(458)](),a=s[i(459)]()):s[i(450)](n,i(467))?(o=s[i(456)](i(467))[i(458)](),a=s[i(462)]||""):s[i(450)](n,i(461))?(o=s[i(456)](i(448))[i(458)](),a=s[i(451)]||""):(o=s[i(456)](i(461))[i(458)](),a=String(s[i(461)])),{startDate:o,localizedPeriodName:a}}!function(t){const e=po,i=t();for(;;)try{if(812084===-parseInt(e(455))/1+parseInt(e(460))/2+parseInt(e(454))/3+-parseInt(e(465))/4*(-parseInt(e(445))/5)+parseInt(e(449))/6+-parseInt(e(466))/7+parseInt(e(453))/8*(-parseInt(e(464))/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=Nt().bind(null,"head"),ko.domAPI=xt(),ko.insertStyleElement=Dt();Ot()(yo.A,ko);yo.A&&yo.A.locals&&yo.A.locals;const bo=wo;function wo(t,e){const i=_o();return(wo=function(t,e){return i[t-=139]})(t,e)}function _o(){const t=["21cOFDtX","select","619145tOhOOC","ck-revision-history-sidebar__time-period__label","_requireRevisionName","ck-revision-history-sidebar__time-period","addRevision","find","add","2613474Aoihrd","remove","3TkVEjx","revisionViews","ck-revision-history-sidebar__time-period__revisions","679036ugKFAh","div","localizedPeriodName","10rvCgVn","_revisionActions","startDate","setName","createCollection","span","uiLanguage","726750FuqLfp","6812190sFUrkl","2101294vVfYaB","4477392OQLnqC","delegate","removeRevision","locale","setTemplate"];return(_o=function(){return t})()}!function(t){const e=wo,i=t();for(;;)try{if(736764===-parseInt(e(164))/1+-parseInt(e(156))/2*(-parseInt(e(141))/3)+parseInt(e(144))/4+parseInt(e(154))/5+-parseInt(e(139))/6*(-parseInt(e(162))/7)+-parseInt(e(157))/8+parseInt(e(155))/9*(-parseInt(e(147))/10))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(_o);class Io extends It.View{[bo(149)];[bo(142)];[bo(148)];[bo(166)];constructor(t,e,i,s){const n=bo;super(t);const r=go(e,this[n(160)][n(153)])[n(146)];this[n(149)]=e,this[n(142)]=this[n(151)](),this[n(148)]=i,this[n(166)]=s,this[n(142)][n(158)](n(163)).to(this),this[n(142)][n(158)](n(150)).to(this),this[n(161)]({tag:n(145),attributes:{class:["ck",n(167)]},children:[{tag:n(152),attributes:{class:["ck",n(165)]},children:[{text:r}]},{tag:n(145),attributes:{class:["ck",n(143)]},children:this[n(142)]}]})}[bo(168)](t){const e=bo,i=new Ke(this[e(160)],t,this[e(148)],this[e(166)]);this[e(142)][e(170)](i)}[bo(159)](t){const e=bo,i=this[e(142)][e(169)](e=>e.id===t.id);this[e(142)][e(140)](i)}}var So=i(243),Oo={attributes:{"data-cke":!0}};Oo.setAttributes=Mt(),Oo.insert=Nt().bind(null,"head"),Oo.domAPI=xt(),Oo.insertStyleElement=Dt();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-=282]})(t,e)}function xo(){const t=["content","setTemplate","Revision history","88VMNFbl","div","7818uINQzu","14772kFMkAH","68865CFOTSp","ck-revision-history-sidebar__header__label","ck-revision-history-sidebar__header","ck-reset_all","704963VStZaK","460WRiFgf","span","190800BKkdFS","6726312QPvHwP","421788WwBzhm"];return(xo=function(){return t})()}!function(t){const e=To,i=t();for(;;)try{if(155029===-parseInt(e(292))/1+parseInt(e(288))/2*(-parseInt(e(290))/3)+-parseInt(e(284))/4+-parseInt(e(297))/5*(parseInt(e(291))/6)+-parseInt(e(296))/7+parseInt(e(282))/8+parseInt(e(283))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(xo);class Ao extends It.View{constructor(t){const e=To;super(t);const i=new It.IconView;i[e(285)]=_t.IconHistory,this[e(286)]({tag:e(289),attributes:{class:["ck",e(295),e(294)]},children:[i,{tag:e(298),attributes:{class:["ck",e(293)]},children:[at(t,e(287))]}]})}}var No=i(692),Ro={attributes:{"data-cke":!0}};Ro.setAttributes=Mt(),Ro.insert=Nt().bind(null,"head"),Ro.domAPI=xt(),Ro.insertStyleElement=Dt();Ot()(No.A,Ro);No.A&&No.A.locals&&No.A.locals;function Mo(){const t=["237KrWTXX","remove","_requireRevisionName","startDate","ck-disabled","getTime","map","setTemplate","createCollection","get","highlightRevisions","1158VcZFmA","locale","ck-rounded-corners","59EtcUMX","some","render","ck-revision-history-sidebar","select","1268GpFjrx","16660exagpq","ck-reset","ck-revision-history-sidebar__timeline","removeRevision","revisionSetName","highlight","_getTimePeriodViewByStartDate","34133lSiEjB","_removeRevision","fire","_addRevision","_revisions","find","add","7174hEqbtk","revisionSelected","delegate","deselect","flat","729909JqefGM","5707656VsbLGs","unhighlight","9751AaAmgn","isEnabled","24MmYSkp","revisionViews","timePeriodViews","div","190kQiWXA","_revisionActions","set","addRevision","uiLanguage","bindTemplate","setName","createdAt","selectRevision"];return(Mo=function(){return t})()}const Vo=Do;function Do(t,e){const i=Mo();return(Do=function(t,e){return i[t-=429]})(t,e)}!function(t){const e=Do,i=t();for(;;)try{if(144537===parseInt(e(457))/1*(parseInt(e(477))/2)+-parseInt(e(443))/3*(-parseInt(e(462))/4)+parseInt(e(463))/5+-parseInt(e(454))/6*(parseInt(e(485))/7)+parseInt(e(430))/8*(-parseInt(e(482))/9)+parseInt(e(434))/10*(-parseInt(e(470))/11)+parseInt(e(483))/12)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Mo);class Eo extends It.View{[Vo(432)];[Vo(474)];[Vo(435)];[Vo(445)];constructor(t,e,i,s){const n=Vo;super(t);const r=this[n(439)];this[n(432)]=this[n(451)](),this[n(432)][n(479)](n(461)).to(this),this[n(432)][n(479)](n(440)).to(this),this[n(474)]=e,this[n(435)]=i,this[n(445)]=s,this.on(n(461),(t,e)=>{const i=n;this[i(472)](i(478),e)}),this.on(n(440),(t,e)=>{const i=n;this[i(472)](i(467),e)}),this[n(436)](n(429),!1),this[n(450)]({tag:n(433),attributes:{class:["ck",n(464),n(456),n(460)]},children:[new Ao(t),{tag:n(433),attributes:{class:["ck",n(465),r.if(n(429),n(447),t=>!t)]},children:this[n(432)]}]})}[Vo(459)](){const t=Vo;super[t(459)]();for(const e of this[t(474)])this[t(473)](e);this[t(474)].on(t(476),(e,i)=>{this[t(473)](i)}),this[t(474)].on(t(444),(e,i)=>{this[t(471)](i)})}get[Vo(431)](){const t=Vo;return this[t(432)][t(449)](e=>e[t(431)][t(449)](t=>t))[t(481)]()}[Vo(442)](t){const e=Vo;for(const i of this[e(431)])t&&t.id===i.id?i[e(461)]():i[e(480)]()}[Vo(453)](t){const e=Vo;for(const i of this[e(431)])t[e(458)](({id:t})=>t===i.id)?i[e(468)]():i[e(484)]()}[Vo(473)](t){const e=Vo,i=go(t[e(441)],this[e(455)][e(438)])[e(446)];let s=this[e(432)][e(452)](0);s&&s[e(446)][e(448)]()===i[e(448)]()||(s=new Io(this[e(455)],i,this[e(435)],this[e(445)]),this[e(432)][e(476)](s)),s[e(437)](t)}[Vo(471)](t){const e=Vo,i=go(t[e(441)],this[e(455)][e(438)])[e(446)];this[e(469)](i)[e(466)](t)}[Vo(469)](t){const e=Vo;return this[e(432)][e(475)](i=>i[e(446)][e(448)]()===t[e(448)]())}}const Co=Fo;function Fo(t,e){const i=Lo();return(Fo=function(t,e){return i[t-=382]})(t,e)}!function(t){const e=Fo,i=t();for(;;)try{if(935473===-parseInt(e(444))/1+-parseInt(e(397))/2+-parseInt(e(383))/3+parseInt(e(430))/4+-parseInt(e(463))/5*(-parseInt(e(424))/6)+-parseInt(e(457))/7*(parseInt(e(433))/8)+parseInt(e(396))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Lo);class jo extends G.Plugin{[Co(448)];[Co(400)];[Co(394)];static[Co(399)]=[Co(427),Co(385),Co(462)];static[Co(449)]=function(){const t=Co;return{compareAgainstSelected:{name:t(417),action:({plugins:e},i)=>{const s=t,n=e[s(406)](ue),r=n[s(439)];let o=n[s(391)][s(386)],a=i.id;r[s(409)](o)>r[s(409)](a)&&([o,a]=[a,o]),n[s(445)](o,a)},isVisible:({plugins:e},i)=>{const s=t,n=e[s(406)](ue);return!(n[s(439)][s(402)](n[s(391)])[s(423)]>2||i[s(456)])}},restoreRevision:{name:t(434),action:(e,{id:i})=>{const s=t;e[s(436)][s(406)](s(419))[s(431)](i)},isVisible:({plugins:e},i)=>!!e[t(406)](ue)[t(439)][t(382)](i.id)},nameRevision:{name:t(421),action:({plugins:e},{id:i,revisionNameView:s})=>{const n=t,r=e[n(406)](ue),o=r[n(439)][n(438)](i);r[n(445)](i,o),s[n(408)](),s[n(392)][n(454)]()}}}}();static get[Co(403)](){return Co(450)}static get[Co(422)](){return!0}static get[Co(440)](){return!0}static get[Co(404)](){return[ue]}constructor(t){const e=Co;super(t),this[e(448)]=t[e(390)][e(406)](ue),this[e(400)]=this[e(448)][e(439)],this[e(394)]=null}[Co(398)](){const t=Co,e=this[t(400)][t(389)],i=this[t(415)](),s=this[t(426)][t(436)][t(406)](t(455));this[t(394)]=new Eo(this[t(426)][t(395)],e,i,this[t(426)][t(436)][t(406)](t(452))),this[t(394)].on(t(405),this[t(435)][t(425)](this)),this[t(394)].on(t(420),this[t(443)][t(425)](this)),this[t(394)][t(425)](t(414)).to(this[t(448)]),this[t(394)][t(458)].on(t(412),(e,i)=>{const s=t;i[s(407)].on(s(412),(t,e)=>{const i=s;e[i(425)](i(414),i(442)).to(this[i(448)])})}),this[t(394)][t(393)](),this[t(461)](this[t(426)][t(441)],t(459),this[t(437)][t(425)](this)),this[t(461)](this[t(448)],t(387),this[t(388)][t(425)](this)),s[t(453)](this[t(394)][t(401)])}[Co(410)](){const t=Co;this[t(394)][t(401)][t(418)](),this[t(394)][t(410)]()}[Co(437)](){const t=Co,e=this[t(400)][t(384)](0);if(e){const i=this[t(400)][t(438)](e.id);this[t(448)][t(445)](e,i)}}[Co(435)](t,e){const i=Co,s=this[i(400)][i(384)](e.id),n=this[i(400)][i(438)](s.id);this[i(448)][i(445)](s,n)}[Co(443)](t,e){const i=Co;this[i(400)][i(384)](e.id)[i(416)](e[i(432)])}[Co(388)](t,e,i){const s=Co,n=this[s(400)][s(402)](i);n[s(423)]>2?(this[s(394)][s(447)](n),this[s(394)][s(460)](null)):(this[s(394)][s(447)]([]),this[s(394)][s(460)](n[0]))}[Co(415)](){const t=Co,e=this[t(426)],i=jo[t(449)],s=e[t(436)][t(406)](t(411))||jo[t(399)];if(s[t(423)])return s[t(446)](s=>{const n=t,r=n(451)==typeof s?Object[n(429)]({},i[s]):s;return r[n(413)]=r[n(413)][n(425)](this,e),r[n(428)]&&(r[n(428)]=r[n(428)][n(425)](this,e)),r})}}function Lo(){const t=["revisionSetName","Name this revision","isOfficialPlugin","length","6jUcLtn","bind","editor","compareAgainstSelected","isVisible","assign","4884116cDLVcG","restoreRevisionCallback","name","8vkzWjY","Restore this revision","_handleRevisionSelected","config","_handleEditorDataReady","getEarlierVisibleRevision","repository","isPremiumPlugin","data","isReady","_handleRevisionSetName","1580684dXAdvw","compare","map","highlightRevisions","_revisionViewer","availableRevisionActions","RevisionsSidebar","string","revisionHistory.requireRevisionName","appendChild","select","revisionHistory.viewerSidebarContainer","isSelected","9397871rfoLUK","timePeriodViews","ready","selectRevision","listenTo","nameRevision","4398535MOkIAm","getLaterVisibleRevision","3322170hiOQno","getRevision","restoreRevision","newRevisionId","change:diff","_handleDiffChange","_revisions","plugins","diff","fieldView","render","_sidebarView","locale","36013032hDElAA","2272168tiIfRV","init","defaultRevisionActions","_revisionsRepository","element","getRevisionsInDiff","pluginName","requires","revisionSelected","get","revisionViews","focus","getIndex","destroy","revisionHistory.revisionActions","add","action","isEnabled","_createRevisionActions","setName","Compare against selected","remove","revisionHistory"];return(Lo=function(){return t})()}function Po(){const t=["357413tuIyWz","_toolbarConfig","_elementReplacer","bind","1752116tJCmQe","element","ready","stickyPanel","detachDomRoot","name","_view","113WbFatu","rootName","destroy","getRoot","5544DpwAaV","fillFromConfig","document","editable","4749415DghMev","isActive","limiterElement","attachDomRoot","addToolbar","isFocused","1989qFMABf","1001526bpjCAS","setEditableElement","44195MMiDoW","render","replace","focusTracker","32WUqoQg","editor","get","config","editing","14690HbvViI","viewportTopOffset","viewportOffset","init","componentFactory","276pYMzWv","view","fire","_initToolbar","restore","toolbar"];return(Po=function(){return t})()}const Wo=zo;function zo(t,e){const i=Po();return(zo=function(t,e){return i[t-=143]})(t,e)}!function(t){const e=zo,i=t();for(;;)try{if(518523===parseInt(e(146))/1*(parseInt(e(150))/2)+parseInt(e(161))/3+-parseInt(e(187))/4+-parseInt(e(163))/5*(-parseInt(e(177))/6)+-parseInt(e(183))/7*(parseInt(e(167))/8)+parseInt(e(160))/9*(-parseInt(e(172))/10)+parseInt(e(154))/11)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Po);class Uo extends It.EditorUI{[Wo(145)];[Wo(184)];[Wo(185)];get[Wo(178)](){return this[Wo(145)]}constructor(e,i){const s=Wo;super(e),this[s(145)]=i,this[s(184)]=(0,It.normalizeToolbarConfig)(e[s(170)][s(169)](s(182))),this[s(185)]=new t.ElementReplacer}get[Wo(188)](){const t=Wo;return this[t(178)][t(188)]}[Wo(175)](t){const e=Wo,i=this[e(168)],s=this[e(178)],n=i[e(171)][e(178)],r=s[e(153)],o=n[e(152)][e(149)]();r[e(144)]=o[e(147)],s[e(164)]();const a=r[e(188)];this[e(162)](r[e(144)],a),s[e(153)][e(186)](e(159)).to(this[e(166)]),n[e(157)](a),this[e(185)][e(165)](t,this[e(188)]),this[e(180)](),this[e(179)](e(189))}[Wo(148)](){const t=Wo;super[t(148)]();const e=this[t(178)],i=this[t(168)][t(171)][t(178)];this[t(185)][t(181)](),i[t(143)](e[t(153)][t(144)]),e[t(148)]()}[Wo(180)](){const t=Wo,e=this[t(178)];e[t(190)][t(186)](t(155)).to(this[t(166)],t(159)),e[t(190)][t(156)]=e[t(188)],e[t(190)][t(186)](t(173)).to(this,t(174),({top:t})=>t),e[t(182)][t(151)](this[t(184)],this[t(176)]),this[t(158)](e[t(182)])}}var Ho=i(324),Zo={attributes:{"data-cke":!0}};Zo.setAttributes=Mt(),Zo.insert=Nt().bind(null,"head"),Zo.domAPI=xt(),Zo.insertStyleElement=Dt();Ot()(Ho.A,Zo);Ho.A&&Ho.A.locals&&Ho.A.locals;function qo(){var t=["main","content","4291340MNodgE","editable","stickyPanel","_editable","853734qQLdBr","toolbar","render","add","2114Qxihru","shouldToolbarGroupWhenFull","17444853JoGDEu","36rQwisA","top","804NRqUDQ","767355VGwrgG","3366696MnNIsP","2968584llUCCQ"];return(qo=function(){return t})()}var $o=Bo;function Bo(t,e){var i=qo();return(Bo=function(t,e){return i[t-=216]})(t,e)}!function(t){for(var e=Bo,i=t();;)try{if(471719===-parseInt(e(224))/1*(-parseInt(e(229))/2)+-parseInt(e(230))/3+-parseInt(e(231))/4+-parseInt(e(216))/5+parseInt(e(227))/6*(-parseInt(e(220))/7)+parseInt(e(232))/8+parseInt(e(226))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(qo);class Yo extends It.BoxedEditorUIView{[$o(219)];[$o(218)];[$o(221)];get[$o(217)](){return this[$o(219)]}constructor(t,e,i={}){var s=$o;super(t),this[s(218)]=new It.StickyPanelView(t),this[s(221)]=new It.ToolbarView(t,{shouldGroupWhenFull:i[s(225)]}),this[s(219)]=new It.InlineEditableUIView(t,e)}[$o(222)](){var t=$o;super[t(222)](),this[t(218)][t(234)][t(223)](this[t(221)]),this[t(228)][t(223)](this[t(218)]),this[t(233)][t(223)](this[t(217)])}}const Jo=Ko;function Go(){const t=["sourceElement","initPlugins","updateSourceElement","6002pnIFqc","67698sNDWvi","create","locale","2954hGgyOI","view","init","config","ready","2825064sXrCWl","data","_ui","destroy","1016mcJonV","editing","2859095zxYVIa","document","fire","createRoot","get","initialData","model","741642QtmEUW","1376044AZRbqz","82Dmxwrl"];return(Go=function(){return t})()}function Ko(t,e){const i=Go();return(Ko=function(t,e){return i[t-=167]})(t,e)}!function(t){const e=Ko,i=t();for(;;)try{if(507234===parseInt(e(190))/1*(-parseInt(e(186))/2)+parseInt(e(184))/3+parseInt(e(185))/4+parseInt(e(177))/5+-parseInt(e(171))/6+parseInt(e(194))/7*(parseInt(e(175))/8)+parseInt(e(191))/9)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(Go);class Xo extends((0,G.ElementApiMixin)(G.Editor)){[Jo(173)];get ui(){return this[Jo(173)]}constructor(t,e){const i=Jo;super(e),this[i(187)]=t,this[i(183)][i(178)][i(180)]();const s=new Yo(this[i(193)],this[i(176)][i(167)],{shouldToolbarGroupWhenFull:!0});this[i(173)]=new Uo(this,s)}[Jo(174)](){const t=Jo;return this[t(189)](),this.ui[t(174)](),super[t(174)]()}static async[Jo(192)](t,e){const i=Jo,s=new this(t,e);return await s[i(188)](),await s.ui[i(168)](t),await s[i(172)][i(168)](s[i(169)][i(181)](i(182))||""),s[i(179)](i(170)),s}}const Qo=ta;function ta(t,e){const i=ia();return(ta=function(t,e){return i[t-=288]})(t,e)}!function(t){const e=ta,i=t();for(;;)try{if(776768===parseInt(e(385))/1*(-parseInt(e(391))/2)+-parseInt(e(425))/3*(parseInt(e(309))/4)+parseInt(e(421))/5*(parseInt(e(338))/6)+parseInt(e(302))/7+-parseInt(e(358))/8+-parseInt(e(372))/9+parseInt(e(365))/10*(parseInt(e(317))/11))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ia);const ea=[Qo(386),Qo(329),Qo(342),Qo(445),Qo(451),Qo(440),Qo(395)];function ia(){const t=["block","restrictedEditingException","save","data","10271192EEMegV","markers","locale","_enhanceCloseRevisionViewerCallback","removeSelectionAttribute","addRoot","fromCharCode","2834780DkGJAb","toolbar","includes","long","revisionHistory","RevisionHistoryUtils","from","10481499OgbGLz","loadRevisionData","getRevisionDocumentData","revisionHistory.editorContainer","numeric","isReadOnly","define","RevisionViewer","disableReadOnlyMode","tabindex","getRevisionRootsAttributes","changesNavigation","removeMarker","2331WGKPVU","RevisionHistoryUI","config","pluginName","revisionHistory.closeRevisionViewerCallback","_closeRevisionViewer","790DHMNEG","detachRoot","insert","style","AIActions","none","isOpen","keys","refreshPositioning","element","_viewerEditor","DocumentOutlineUI","hide","update","RevisionTracker","restoreRevision","querySelector","end","revisionHistory.showRevisionViewerCallback","set","RevisionViewerIntegration","join","isAttached","revision-history-viewer-opened","remove","init","get","createdAt","Annotations","adapter","427875TCgfjq","repository"," ck-tab-panel_disabled","getRevisions","24bheuCo","_enhanceShowRevisionViewerCallback","addRevisionData","AITabs","has","Autosave","setSelection","removeAttribute","translations","toJSON","push","create","Restored","requires","revisionHistory.requireRevisionName","AIQuickActions","toLocaleDateString","_showRevisionViewer","revision-history-missing-configuration","_restoreRevision","AIReviewMode","RevisionHistory","saveRevision",".ck-ai-chat__prompt-input .ck-textarea","isAnonymous","view","AIBalloon","uiLanguage","revisionHistory.viewerContainer","getRevision","_cleanUp","change","class","Dialog","display","enableReadOnlyMode","exitToEditing","_update","toVersion","_recalculatePageBreaks","catch","RevisionsRepository","isRevisionViewerOpen","then","ck-tab-panel_disabled","error","9360456jOudeS","PaginationLookup","selection","model","_getRevisionViewerEditorConfig","getUser","isReady","283084GuCjuv","getAttributeKeys","$graveyard","panelViews","getRoot","name","refreshVisibility","destroy","121DMkYcU","isOfficialPlugin","getMarkersGroup","fromVersion","isEnabled","revisionHistory.restoreRevisionCallback","parse","isPremiumPlugin","lazyRoots","createRangeIn","toLocaleTimeString","bind","RestrictedEditingMode","indexOf","closeRevisionViewerCallback","Users","editor","addUser","AIChatHistory","creator","DocumentOutline","18mRSgzV","rootName","document","showRevisionViewerCallback","AIChat","users","replace","map","result","enqueueChange","roots","commands","plugins",".ck-ai-chat-history .ck-input","setAttribute","revisionHistory.viewerEditorElement"];return(ia=function(){return t})()}class sa extends G.Plugin{[Qo(346)];static get[Qo(388)](){return Qo(411)}static get[Qo(318)](){return!0}static get[Qo(324)](){return!0}constructor(t){const e=Qo;function i(t){const e=ta;return t[e(345)](t=>String[e(364)](t))[e(412)]("")}super(t),this[e(346)]=e(408),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(401)];static get[Qo(388)](){return Qo(446)}static get[Qo(318)](){return!0}static get[Qo(324)](){return!0}static get[Qo(438)](){return[pt,qt]}constructor(e){const i=Qo;if(super(e),!this[i(333)][i(387)][i(417)](i(369)))throw new t.CKEditorError(i(443),this);this[i(401)]=null,this[i(410)](i(298),!1),this[i(333)][i(387)][i(378)](i(409),t=>this[i(442)]({...t,translations:this[i(333)][i(360)][i(433)]})),this[i(333)][i(387)][i(378)](i(389),t=>this[i(390)](t)),this[i(333)][i(387)][i(378)](i(322),t=>this[i(444)](t)),this[i(333)][i(387)][i(378)](i(439),!1),this[i(426)](),this[i(361)]()}set[Qo(420)](t){const e=Qo;this[e(333)][e(350)][e(417)](e(405))[e(420)]=t}get[Qo(420)](){const t=Qo;return this[t(333)][t(350)][t(417)](t(405))[t(420)]}[Qo(427)](t){const e=Qo;return this[e(333)][e(350)][e(417)](e(405))[e(427)](t)}[Qo(454)](t){const e=Qo;return this[e(333)][e(350)][e(417)](e(297))[e(454)](t)}[Qo(424)](t){const e=Qo;return this[e(333)][e(350)][e(417)](e(297))[e(424)](t||{toJSON:!1})}[Qo(306)](){const e=Qo,i=this[e(333)],s=(0,K.sanitizeEditorConfig)(i,ea),n=i[e(350)][e(417)](e(405)),r=i[e(350)][e(417)](e(332))[e(343)];return s[e(366)]=[e(292),e(406),e(383)],delete s[e(325)],s[e(350)][e(435)](sa,ue,Ae,class extends G.Plugin{static get[e(438)](){return[ue,e(332)]}[e(416)](){const s=e,o=this[s(333)][s(350)][s(417)](s(332));for(const t of r)t[s(449)]||o[s(307)](t.id)||o[s(334)](t);const a=n[s(422)][s(424)]();let c=null;const u=this[s(333)][s(350)][s(417)](s(379));u[s(420)]=n[s(420)],u[s(328)](s(321)).to(n),this[s(333)][s(349)][s(417)](s(406))[s(328)](s(321)).to(i,s(377),t=>!t);for(const e of a){const i=null===e[s(336)];if(i&&e[s(294)]===e[s(320)])continue;const r=e[s(434)]();u[s(427)](r,(r,o,a)=>{const u=s;if(i){if(c)c[u(293)](r,o);else if(!o){const e=a[u(434)]();e.id=(0,t.uid)(),n[u(447)](e,a[u(294)])[u(299)](t=>{c=t})}}else e[u(293)](r,o)})}}},jo),s}[Qo(426)](){const t=Qo,e=this[t(333)][t(387)][t(417)](t(369))[t(341)];this[t(333)][t(387)][t(410)](t(409),async()=>{const i=t;this[i(333)][i(291)](i(414));const s=this[i(333)][i(350)][i(417)](i(405));if(this[i(333)][i(350)][i(429)](i(430))){const t=this[i(333)][i(350)][i(417)](i(430));await t[i(356)]()}else await s[i(404)]();if(this[i(333)][i(350)][i(429)](i(303))&&this[i(333)][i(350)][i(417)](i(303))[i(295)](),this[i(333)][i(350)][i(429)](i(289))){const t=this[i(333)][i(350)][i(417)](i(289));t[i(397)]&&t[i(403)]()}if(this[i(333)][i(350)][i(429)](i(428))){const t=this[i(333)][i(350)][i(417)](i(428))[i(450)][i(312)];for(const e of t)e[i(288)]=e[i(288)]?e[i(288)]+i(423):i(300);if(this[i(333)][i(350)][i(429)](i(342))){const t=document[i(407)](i(448));t&&t[i(352)](i(381),"-1")}if(this[i(333)][i(350)][i(429)](i(335))){const t=document[i(407)](i(351));t&&t[i(352)](i(381),"-1")}}const n=this[i(306)]();return e(n)[i(299)](t=>{const e=i;return this[e(401)]=t,this[e(333)][e(350)][e(429)](e(419))&&this[e(333)][e(350)][e(417)](e(419))[e(315)](),this[e(333)][e(350)][e(429)](e(337))&&(this[e(333)][e(350)][e(417)](e(402))[e(450)][e(400)][e(394)][e(290)]=e(396)),t})[i(296)](t=>(console[i(301)](t),this[i(333)][i(380)](i(414)),null))})}[Qo(361)](){const t=Qo,e=this[t(333)][t(387)][t(417)](t(369))[t(331)];this[t(333)][t(387)][t(410)](t(389),()=>{const i=t;if(this[i(333)][i(350)][i(429)](i(303))&&this[i(333)][i(350)][i(417)](i(303))[i(295)](),this[i(333)][i(350)][i(429)](i(337))&&(this[i(333)][i(350)][i(417)](i(402))[i(450)][i(400)][i(394)][i(290)]=""),this[i(333)][i(350)][i(429)](i(428))){const t=this[i(333)][i(350)][i(417)](i(428))[i(450)][i(312)];for(const e of t)e[i(288)]=i(300)===e[i(288)]?"":e[i(288)][i(344)](i(423),"");if(this[i(333)][i(350)][i(429)](i(342))){const t=document[i(407)](i(448));t&&t[i(432)](i(381))}if(this[i(333)][i(350)][i(429)](i(335))){const t=document[i(407)](i(351));t&&t[i(432)](i(381))}}return this[i(401)][i(350)][i(417)](i(379))[i(455)](),e(this[i(401)])[i(299)](()=>{const t=i;if(this[t(333)][t(380)](t(414)),this[t(401)]=null,this[t(333)][t(350)][t(429)](t(419))){const e=this[t(333)][t(350)][t(417)](t(419));e[t(315)](),e[t(399)]()}})})}[Qo(442)](t){const e=Qo,i=this[e(333)][e(387)][e(417)](e(375)),s=this[e(333)][e(387)][e(417)](e(453)),n=this[e(333)][e(387)][e(417)](e(353));return Xo[e(436)](n,t)[e(299)](t=>(s[e(394)][e(290)]=e(354),i[e(394)][e(290)]=e(396),this[e(298)]=!0,t))}[Qo(390)](t){const e=Qo,i=this[e(333)][e(387)][e(417)](e(375));return this[e(333)][e(387)][e(417)](e(453))[e(394)][e(290)]=e(396),i[e(394)][e(290)]="",this[e(298)]=!1,t[e(316)]()}async[Qo(444)](t){const e=Qo,i=this[e(333)],s=this[e(401)][e(350)][e(417)](e(379)),n=i[e(350)][e(417)](e(405)),r=i[e(350)][e(417)](e(370)),o=s[e(422)][e(454)](t);let a,c,u;try{await r[e(373)](o,this[e(420)]),a=r[e(374)](o),c=r[e(382)](o)}catch(t){return void console[e(301)](t)}i[e(305)][e(456)](t=>{const s=e;for(const e of Array[s(371)](i[s(305)][s(359)][s(319)](s(355))))t[s(384)](e)}),s[e(308)]=!1,i[e(305)][e(347)](t=>{const s=e;t[s(431)](null),t[s(362)](i[s(305)][s(340)][s(304)][s(310)]());const n=Object[s(398)](a);for(const e of i[s(305)][s(340)][s(348)])s(311)!=e[s(339)]&&e[s(413)]()&&!n[s(367)](e[s(339)])&&t[s(392)](e);for(const e of n){let n=i[s(305)][s(340)][s(313)](e);n&&n[s(413)]()||(n=t[s(363)](e));const r=c[e],o=Object[s(398)](r),u=a[e];for(const e of n[s(310)]())o[s(367)](e)||t[s(432)](e,n);for(const i of o)t[s(352)](i,c[e][i],n);t[s(415)](t[s(326)](n)),t[s(393)](i[s(357)][s(323)](u,n),n,0)}});const l=at(i[e(360)],e(437));return u=o[e(314)]?-1==o[e(314)][e(330)](l)?l+": "+o[e(314)]:o[e(314)]:l+": "+o[e(418)][e(441)](i[e(360)][e(452)],{month:e(368),day:e(376)})+", "+o[e(418)][e(327)](i[e(360)][e(452)],{hour:e(376),minute:e(376)}),await n[e(447)]({name:u}),s[e(308)]=!0,i[e(387)][e(417)](e(369))[e(331)]()}}function ra(){var t=["1308945FyTIYy","3545248hOxasl","270586EEJWdS","8SUrodL","1862481eAphah","90hTzaTd","565168StSDtX","24213630NUfKeB","6NGwLeN","7144020zkuDEE"];return(ra=function(){return t})()}function oa(t,e){var i=ra();return(oa=function(t,e){return i[t-=289]})(t,e)}!function(t){for(var e=oa,i=t();;)try{if(739004===-parseInt(e(298))/1*(-parseInt(e(292))/2)+-parseInt(e(294))/3*(parseInt(e(293))/4)+-parseInt(e(290))/5+-parseInt(e(289))/6+-parseInt(e(291))/7+parseInt(e(296))/8*(parseInt(e(295))/9)+parseInt(e(297))/10)break;i.push(i.shift())}catch(t){i.push(i.shift())}}(ra)})(),(window.CKEditor5=window.CKEditor5||{}).revisionHistory=s})();