@ckeditor/ckeditor5-revision-history 43.2.0-alpha.7 → 43.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/build/revision-history.js +1 -1
  2. package/build/translations/ast.js +1 -0
  3. package/build/translations/cs.js +1 -1
  4. package/build/translations/eo.js +1 -0
  5. package/build/translations/es-co.js +1 -1
  6. package/build/translations/es.js +1 -1
  7. package/build/translations/eu.js +1 -0
  8. package/build/translations/fa.js +1 -1
  9. package/build/translations/fr.js +1 -1
  10. package/build/translations/gu.js +1 -0
  11. package/build/translations/he.js +1 -1
  12. package/build/translations/hy.js +1 -0
  13. package/build/translations/it.js +1 -1
  14. package/build/translations/jv.js +1 -1
  15. package/build/translations/kk.js +1 -0
  16. package/build/translations/km.js +1 -0
  17. package/build/translations/kn.js +1 -0
  18. package/build/translations/lt.js +1 -1
  19. package/build/translations/nb.js +1 -0
  20. package/build/translations/oc.js +1 -0
  21. package/build/translations/pl.js +1 -1
  22. package/build/translations/pt-br.js +1 -1
  23. package/build/translations/pt.js +1 -1
  24. package/build/translations/ru.js +1 -1
  25. package/build/translations/si.js +1 -0
  26. package/build/translations/sk.js +1 -1
  27. package/build/translations/sl.js +1 -0
  28. package/build/translations/sq.js +1 -0
  29. package/build/translations/ug.js +1 -1
  30. package/build/translations/uk.js +1 -1
  31. package/build/translations/uz.js +1 -0
  32. package/dist/index.js +6 -6
  33. package/dist/revisionhistory.d.ts +8 -0
  34. package/dist/revisionsrepository.d.ts +8 -0
  35. package/dist/revisiontracker.d.ts +43 -0
  36. package/dist/revisionviewer.d.ts +8 -0
  37. package/dist/translations/af.js +1 -1
  38. package/dist/translations/af.umd.js +1 -1
  39. package/dist/translations/ar.js +1 -1
  40. package/dist/translations/ar.umd.js +1 -1
  41. package/dist/translations/ast.d.ts +8 -0
  42. package/dist/translations/ast.js +23 -0
  43. package/dist/translations/ast.umd.js +23 -0
  44. package/dist/translations/az.js +1 -1
  45. package/dist/translations/az.umd.js +1 -1
  46. package/dist/translations/bg.js +1 -1
  47. package/dist/translations/bg.umd.js +1 -1
  48. package/dist/translations/bn.js +1 -1
  49. package/dist/translations/bn.umd.js +1 -1
  50. package/dist/translations/bs.js +1 -1
  51. package/dist/translations/bs.umd.js +1 -1
  52. package/dist/translations/ca.js +1 -1
  53. package/dist/translations/ca.umd.js +1 -1
  54. package/dist/translations/cs.js +1 -1
  55. package/dist/translations/cs.umd.js +1 -1
  56. package/dist/translations/da.js +1 -1
  57. package/dist/translations/da.umd.js +1 -1
  58. package/dist/translations/de-ch.js +1 -1
  59. package/dist/translations/de-ch.umd.js +1 -1
  60. package/dist/translations/de.js +1 -1
  61. package/dist/translations/de.umd.js +1 -1
  62. package/dist/translations/el.js +1 -1
  63. package/dist/translations/el.umd.js +1 -1
  64. package/dist/translations/en-au.js +1 -1
  65. package/dist/translations/en-au.umd.js +1 -1
  66. package/dist/translations/en-gb.js +1 -1
  67. package/dist/translations/en-gb.umd.js +1 -1
  68. package/dist/translations/en.js +1 -1
  69. package/dist/translations/en.umd.js +1 -1
  70. package/dist/translations/eo.d.ts +8 -0
  71. package/dist/translations/eo.js +23 -0
  72. package/dist/translations/eo.umd.js +23 -0
  73. package/dist/translations/es-co.js +1 -1
  74. package/dist/translations/es-co.umd.js +1 -1
  75. package/dist/translations/es.js +1 -1
  76. package/dist/translations/es.umd.js +1 -1
  77. package/dist/translations/et.js +1 -1
  78. package/dist/translations/et.umd.js +1 -1
  79. package/dist/translations/eu.d.ts +8 -0
  80. package/dist/translations/eu.js +23 -0
  81. package/dist/translations/eu.umd.js +23 -0
  82. package/dist/translations/fa.js +1 -1
  83. package/dist/translations/fa.umd.js +1 -1
  84. package/dist/translations/fi.js +1 -1
  85. package/dist/translations/fi.umd.js +1 -1
  86. package/dist/translations/fr.js +1 -1
  87. package/dist/translations/fr.umd.js +1 -1
  88. package/dist/translations/gl.js +1 -1
  89. package/dist/translations/gl.umd.js +1 -1
  90. package/dist/translations/gu.d.ts +8 -0
  91. package/dist/translations/gu.js +23 -0
  92. package/dist/translations/gu.umd.js +23 -0
  93. package/dist/translations/he.js +1 -1
  94. package/dist/translations/he.umd.js +1 -1
  95. package/dist/translations/hi.js +1 -1
  96. package/dist/translations/hi.umd.js +1 -1
  97. package/dist/translations/hr.js +1 -1
  98. package/dist/translations/hr.umd.js +1 -1
  99. package/dist/translations/hu.js +1 -1
  100. package/dist/translations/hu.umd.js +1 -1
  101. package/dist/translations/hy.d.ts +8 -0
  102. package/dist/translations/hy.js +23 -0
  103. package/dist/translations/hy.umd.js +23 -0
  104. package/dist/translations/id.js +1 -1
  105. package/dist/translations/id.umd.js +1 -1
  106. package/dist/translations/it.js +1 -1
  107. package/dist/translations/it.umd.js +1 -1
  108. package/dist/translations/ja.js +1 -1
  109. package/dist/translations/ja.umd.js +1 -1
  110. package/dist/translations/jv.js +1 -1
  111. package/dist/translations/jv.umd.js +1 -1
  112. package/dist/translations/kk.d.ts +8 -0
  113. package/dist/translations/kk.js +23 -0
  114. package/dist/translations/kk.umd.js +23 -0
  115. package/dist/translations/km.d.ts +8 -0
  116. package/dist/translations/km.js +23 -0
  117. package/dist/translations/km.umd.js +23 -0
  118. package/dist/translations/kn.d.ts +8 -0
  119. package/dist/translations/kn.js +23 -0
  120. package/dist/translations/kn.umd.js +23 -0
  121. package/dist/translations/ko.js +1 -1
  122. package/dist/translations/ko.umd.js +1 -1
  123. package/dist/translations/ku.js +1 -1
  124. package/dist/translations/ku.umd.js +1 -1
  125. package/dist/translations/lt.js +1 -1
  126. package/dist/translations/lt.umd.js +1 -1
  127. package/dist/translations/lv.js +1 -1
  128. package/dist/translations/lv.umd.js +1 -1
  129. package/dist/translations/ms.js +1 -1
  130. package/dist/translations/ms.umd.js +1 -1
  131. package/dist/translations/nb.d.ts +8 -0
  132. package/dist/translations/nb.js +23 -0
  133. package/dist/translations/nb.umd.js +23 -0
  134. package/dist/translations/ne.js +1 -1
  135. package/dist/translations/ne.umd.js +1 -1
  136. package/dist/translations/nl.js +1 -1
  137. package/dist/translations/nl.umd.js +1 -1
  138. package/dist/translations/no.js +1 -1
  139. package/dist/translations/no.umd.js +1 -1
  140. package/dist/translations/oc.d.ts +8 -0
  141. package/dist/translations/oc.js +23 -0
  142. package/dist/translations/oc.umd.js +23 -0
  143. package/dist/translations/pl.js +1 -1
  144. package/dist/translations/pl.umd.js +1 -1
  145. package/dist/translations/pt-br.js +1 -1
  146. package/dist/translations/pt-br.umd.js +1 -1
  147. package/dist/translations/pt.js +1 -1
  148. package/dist/translations/pt.umd.js +1 -1
  149. package/dist/translations/ro.js +1 -1
  150. package/dist/translations/ro.umd.js +1 -1
  151. package/dist/translations/ru.js +1 -1
  152. package/dist/translations/ru.umd.js +1 -1
  153. package/dist/translations/si.d.ts +8 -0
  154. package/dist/translations/si.js +23 -0
  155. package/dist/translations/si.umd.js +23 -0
  156. package/dist/translations/sk.js +1 -1
  157. package/dist/translations/sk.umd.js +1 -1
  158. package/dist/translations/sl.d.ts +8 -0
  159. package/dist/translations/sl.js +23 -0
  160. package/dist/translations/sl.umd.js +23 -0
  161. package/dist/translations/sq.d.ts +8 -0
  162. package/dist/translations/sq.js +23 -0
  163. package/dist/translations/sq.umd.js +23 -0
  164. package/dist/translations/sr-latn.js +1 -1
  165. package/dist/translations/sr-latn.umd.js +1 -1
  166. package/dist/translations/sr.js +1 -1
  167. package/dist/translations/sr.umd.js +1 -1
  168. package/dist/translations/sv.js +1 -1
  169. package/dist/translations/sv.umd.js +1 -1
  170. package/dist/translations/th.js +1 -1
  171. package/dist/translations/th.umd.js +1 -1
  172. package/dist/translations/ti.js +1 -1
  173. package/dist/translations/ti.umd.js +1 -1
  174. package/dist/translations/tk.js +1 -1
  175. package/dist/translations/tk.umd.js +1 -1
  176. package/dist/translations/tr.js +1 -1
  177. package/dist/translations/tr.umd.js +1 -1
  178. package/dist/translations/tt.js +1 -1
  179. package/dist/translations/tt.umd.js +1 -1
  180. package/dist/translations/ug.js +1 -1
  181. package/dist/translations/ug.umd.js +1 -1
  182. package/dist/translations/uk.js +1 -1
  183. package/dist/translations/uk.umd.js +1 -1
  184. package/dist/translations/ur.js +1 -1
  185. package/dist/translations/ur.umd.js +1 -1
  186. package/dist/translations/uz.d.ts +8 -0
  187. package/dist/translations/uz.js +23 -0
  188. package/dist/translations/uz.umd.js +23 -0
  189. package/dist/translations/vi.js +1 -1
  190. package/dist/translations/vi.umd.js +1 -1
  191. package/dist/translations/zh-cn.js +1 -1
  192. package/dist/translations/zh-cn.umd.js +1 -1
  193. package/dist/translations/zh.js +1 -1
  194. package/dist/translations/zh.umd.js +1 -1
  195. package/dist/ui/revisionhistory/revisionhistoryui.d.ts +8 -0
  196. package/dist/ui/revisionssidebar/revisionssidebar.d.ts +8 -0
  197. package/dist/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +8 -0
  198. package/dist/ui/revisionviewer/revisionviewerui.d.ts +8 -0
  199. package/lang/translations/af.po +3 -9
  200. package/lang/translations/ar.po +4 -10
  201. package/lang/translations/ast.po +130 -0
  202. package/lang/translations/az.po +3 -9
  203. package/lang/translations/bg.po +3 -9
  204. package/lang/translations/bn.po +3 -9
  205. package/lang/translations/bs.po +4 -10
  206. package/lang/translations/ca.po +3 -9
  207. package/lang/translations/cs.po +4 -11
  208. package/lang/translations/da.po +3 -9
  209. package/lang/translations/de-ch.po +3 -9
  210. package/lang/translations/de.po +3 -9
  211. package/lang/translations/el.po +3 -9
  212. package/lang/translations/en-au.po +3 -9
  213. package/lang/translations/en-gb.po +3 -9
  214. package/lang/translations/en.po +5 -11
  215. package/lang/translations/eo.po +130 -0
  216. package/lang/translations/es-co.po +4 -11
  217. package/lang/translations/es.po +4 -11
  218. package/lang/translations/et.po +3 -9
  219. package/lang/translations/eu.po +130 -0
  220. package/lang/translations/fa.po +4 -11
  221. package/lang/translations/fi.po +3 -9
  222. package/lang/translations/fr.po +4 -11
  223. package/lang/translations/gl.po +3 -9
  224. package/lang/translations/gu.po +130 -0
  225. package/lang/translations/he.po +4 -11
  226. package/lang/translations/hi.po +3 -9
  227. package/lang/translations/hr.po +4 -10
  228. package/lang/translations/hu.po +3 -9
  229. package/lang/translations/hy.po +130 -0
  230. package/lang/translations/id.po +3 -9
  231. package/lang/translations/it.po +4 -11
  232. package/lang/translations/ja.po +3 -9
  233. package/lang/translations/jv.po +5 -10
  234. package/lang/translations/kk.po +130 -0
  235. package/lang/translations/km.po +129 -0
  236. package/lang/translations/kn.po +130 -0
  237. package/lang/translations/ko.po +3 -9
  238. package/lang/translations/ku.po +3 -9
  239. package/lang/translations/lt.po +4 -11
  240. package/lang/translations/lv.po +4 -10
  241. package/lang/translations/ms.po +3 -9
  242. package/lang/translations/nb.po +130 -0
  243. package/lang/translations/ne.po +3 -9
  244. package/lang/translations/nl.po +3 -9
  245. package/lang/translations/no.po +3 -9
  246. package/lang/translations/oc.po +130 -0
  247. package/lang/translations/pl.po +4 -11
  248. package/lang/translations/pt-br.po +4 -11
  249. package/lang/translations/pt.po +4 -11
  250. package/lang/translations/ro.po +4 -10
  251. package/lang/translations/ru.po +4 -11
  252. package/lang/translations/si.po +130 -0
  253. package/lang/translations/sk.po +4 -11
  254. package/lang/translations/sl.po +132 -0
  255. package/lang/translations/sq.po +130 -0
  256. package/lang/translations/sr-latn.po +4 -10
  257. package/lang/translations/sr.po +4 -10
  258. package/lang/translations/sv.po +3 -9
  259. package/lang/translations/th.po +3 -9
  260. package/lang/translations/ti.po +3 -9
  261. package/lang/translations/tk.po +3 -9
  262. package/lang/translations/tr.po +3 -9
  263. package/lang/translations/tt.po +3 -9
  264. package/lang/translations/ug.po +4 -11
  265. package/lang/translations/uk.po +4 -11
  266. package/lang/translations/ur.po +3 -9
  267. package/lang/translations/uz.po +130 -0
  268. package/lang/translations/vi.po +3 -9
  269. package/lang/translations/zh-cn.po +3 -9
  270. package/lang/translations/zh.po +3 -9
  271. package/package.json +8 -8
  272. package/src/changeitem.js +2 -2
  273. package/src/editor/revisionviewereditor.js +2 -2
  274. package/src/editor/revisionviewereditorui.js +1 -1
  275. package/src/editor/revisionviewereditoruiview.js +1 -1
  276. package/src/index.js +1 -1
  277. package/src/revision.js +2 -2
  278. package/src/revisiondiff.js +1 -1
  279. package/src/revisionhistory.d.ts +8 -0
  280. package/src/revisionhistory.js +1 -1
  281. package/src/revisionsrepository.d.ts +8 -0
  282. package/src/revisionsrepository.js +1 -1
  283. package/src/revisiontracker.d.ts +43 -0
  284. package/src/revisiontracker.js +1 -1
  285. package/src/revisionviewer.d.ts +8 -0
  286. package/src/revisionviewer.js +1 -1
  287. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  288. package/src/ui/revision/revisionauthorview.js +1 -1
  289. package/src/ui/revision/revisionnameview.js +1 -1
  290. package/src/ui/revision/revisionview.js +2 -2
  291. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  292. package/src/ui/revision/subrevisionview.js +1 -1
  293. package/src/ui/revision/utils.js +1 -1
  294. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  295. package/src/ui/revisionhistory/revisionhistoryui.d.ts +8 -0
  296. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  297. package/src/ui/revisionssidebar/revisionssidebar.d.ts +8 -0
  298. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  299. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  300. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  301. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  302. package/src/ui/revisionssidebar/utils.js +1 -1
  303. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  304. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  305. package/src/ui/revisionviewer/revisionviewerloadingoverlay.d.ts +8 -0
  306. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  307. package/src/ui/revisionviewer/revisionviewerui.d.ts +8 -0
  308. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  309. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ObservableMixin as _0x1195df,uid as _0x45c6d0,Collection as _0x1438a1,logWarning as _0x44a1dd,FocusTracker as _0x51992b,KeystrokeHandler as _0xae26de,scrollViewportToShowTarget as _0x3244f4,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2385a1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x165bb8,set as _0x3a507c,unset as _0x336824,isEqual as _0x3b87f1}from'lodash-es';import{Plugin as _0x1f283b,Context as _0x359579,PendingActions as _0x16efc4,icons as _0x598a32,Command as _0x5efcfe,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x3e0ee0,getMarkerDomElement as _0x1f8930,ConfirmMixin as _0x30a0f2,sanitizeEditorConfig as _0x5954d7}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3c197f,ViewText as _0x19a561,ViewElement as _0x2e5a64,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x1fb502,ViewAttributeElement as _0x280fde,ViewEmptyElement as _0x4b76d7,ViewRawElement as _0x28c7d3,ViewUIElement as _0x892f8,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as _0x2b7a2f,injectCssTransitionDisabler as ts,submitHandler as _0x2751ee,LabeledFieldView as at,createLabeledInputText as _0x5174e8,createDropdown as _0x30816c,ListView as te,ListItemView as _0x59e370,ButtonView as _0x40b8fe,MenuBarMenuView as _0x5c80ed,MenuBarMenuListView as _0x4b986b,MenuBarMenuListItemView as _0x4c1e0a,MenuBarMenuListItemButtonView as _0x2ae9e4,ContextualBalloon as _0x398c9a,ToolbarSeparatorView as _0x4bf8a6,IconView as _0x2e171c,addListToDropdown as _0x5003b6,ViewModel as to,EditorUI as ht,normalizeToolbarConfig as ct,BoxedEditorUIView as dt,StickyPanelView as lt,ToolbarView as pt,InlineEditableUIView as ut}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DateTime as _0x494781}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x1195df(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x5891f3){super(),this['id']=_0x5891f3['id']||_0x45c6d0(),this['creator']=_0x5891f3['creator']||null,this['authors']=_0x5891f3['authors']||[],this['diffData']=_0x5891f3['diffData']||null,this['toVersion']=_0x5891f3['toVersion']||0x0,this['fromVersion']=_0x5891f3['fromVersion']||0x0,this['set']('name',_0x5891f3['name']||''),this['set']('createdAt',_0x5891f3['createdAt']||new Date()),this['set']('attributes',_0x5891f3['attributes']||{});}['setName'](_0x3ada17){this['_update']({'name':_0x3ada17});}['setAttribute'](_0x1801e2,_0x3ed59b){const _0x94cf78=_0x165bb8(this['attributes']);_0x3a507c(_0x94cf78,_0x1801e2,_0x3ed59b),this['_update']({'attributes':_0x94cf78});}['removeAttribute'](_0x1c57d4){const _0x9d51ae=_0x165bb8(this['attributes']);_0x336824(_0x9d51ae,_0x1c57d4),this['_update']({'attributes':_0x9d51ae});}['_update'](_0x5ee37f,_0x1ea347=!0x1){let _0x4c7b6c=!0x1;const _0x1ceade={'id':this['id']},_0x4bf624=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3eb81c of _0x4bf624){const _0x14d77a=_0x5ee37f[_0x3eb81c];void 0x0!==_0x14d77a&&_0x14d77a!==this[_0x3eb81c]&&(this[_0x3eb81c]=_0x14d77a,_0x1ceade[_0x3eb81c]=_0x14d77a,_0x4c7b6c=!0x0);}_0x4c7b6c&&(_0x1ceade['authors']&&(_0x1ceade['authorsIds']=_0x1ceade['authors']['map'](_0x3716c9=>_0x3716c9['id']),delete _0x1ceade['authors']),this['fire']('_update',_0x1ceade,_0x1ea347));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1729ac=>_0x1729ac['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1f283b{['_revisions'];static get['requires'](){return[_0x3e0ee0];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x5dd74c){super(_0x5dd74c),this['_revisions']=new _0x1438a1();}['afterInit'](){!function(_0x1937c6){function _0xa6f587(_0xc3c3d7,_0xc2abf,_0xe33699){const _0xf21bc0={};_0xf21bc0[_0x5da65c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xf21bc0[_0x5da65c([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0xf21bc0[_0x5da65c([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0xf21bc0[_0x5da65c([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0xf21bc0[_0x5da65c([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0xf21bc0[_0x5da65c([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0xf21bc0[_0x5da65c([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0xf21bc0[_0x5da65c([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0xf21bc0[_0x5da65c([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0xf21bc0[_0x5da65c([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0xf21bc0[_0x5da65c([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x4b393b=new Uint8Array(0x10);for(let _0x4fb429=0xf;_0x4fb429>=0x0;--_0x4fb429)_0x4b393b[_0x4fb429]=_0xe33699%0x100,_0xe33699=parseInt(_0xe33699/0x100);let _0x56ad70=null,_0x1348e7=0x10;const _0xa63835=new Uint8Array(_0xc2abf),_0x3b025e=[],_0x53807c=[];_0x517e6f();for(let _0x8cf3fc=0x0;_0x8cf3fc<_0xc3c3d7[_0x5da65c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8cf3fc++)0x10===_0x1348e7&&(_0x56ad70=_0x1fb6aa(_0x4b393b),_0x1348e7=0x0,_0x271fa7(_0x4b393b)),_0xc3c3d7[_0x8cf3fc]^=_0x56ad70[_0x1348e7++];return _0xc3c3d7;function _0x4972e9(_0x18b321){const _0x3eca1f=[];for(let _0x147fdd=0x0;_0x147fdd<_0x18b321[_0x5da65c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x147fdd+=0x4)_0x3eca1f[_0x5da65c([0x70,0x75,0x73,0x68])](_0x18b321[_0x147fdd]<<0x18|_0x18b321[_0x147fdd+0x1]<<0x10|_0x18b321[_0x147fdd+0x2]<<0x8|_0x18b321[_0x147fdd+0x3]);return _0x3eca1f;}function _0x271fa7(_0x14f688){for(let _0x534bfc=0xf;_0x534bfc>=0x0;_0x534bfc--){if(0xff!==_0x14f688[_0x534bfc]){_0x14f688[_0x534bfc]++;break;}_0x14f688[_0x534bfc]=0x0;}}function _0x1fb6aa(_0x422958){const _0x377896=_0x3b025e[_0x5da65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1dab8c=[0x0,0x0,0x0,0x0];let t=_0x4972e9(_0x422958);for(let _0x34c548=0x0;_0x34c548<0x4;_0x34c548++)t[_0x34c548]^=_0x3b025e[0x0][_0x34c548];for(let _0x49c734=0x1;_0x49c734<_0x377896;_0x49c734++){for(let _0x2cc552=0x0;_0x2cc552<0x4;_0x2cc552++)_0x1dab8c[_0x2cc552]=_0xf21bc0[_0x5da65c([0x54,0x31])][t[_0x2cc552]>>0x18&0xff]^_0xf21bc0[_0x5da65c([0x54,0x32])][t[(_0x2cc552+0x1)%0x4]>>0x10&0xff]^_0xf21bc0[_0x5da65c([0x54,0x33])][t[(_0x2cc552+0x2)%0x4]>>0x8&0xff]^_0xf21bc0[_0x5da65c([0x54,0x34])][0xff&t[(_0x2cc552+0x3)%0x4]]^_0x3b025e[_0x49c734][_0x2cc552];t=_0x1dab8c[_0x5da65c([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3a6031=new Uint8Array(0x10);let _0x37d3a8;for(let _0x4a7fe7=0x0;_0x4a7fe7<0x4;_0x4a7fe7++)_0x37d3a8=_0x3b025e[_0x377896][_0x4a7fe7],_0x3a6031[0x4*_0x4a7fe7]=0xff&(_0xf21bc0[_0x5da65c([0x53])][t[_0x4a7fe7]>>0x18&0xff]^_0x37d3a8>>0x18),_0x3a6031[0x4*_0x4a7fe7+0x1]=0xff&(_0xf21bc0[_0x5da65c([0x53])][t[(_0x4a7fe7+0x1)%0x4]>>0x10&0xff]^_0x37d3a8>>0x10),_0x3a6031[0x4*_0x4a7fe7+0x2]=0xff&(_0xf21bc0[_0x5da65c([0x53])][t[(_0x4a7fe7+0x2)%0x4]>>0x8&0xff]^_0x37d3a8>>0x8),_0x3a6031[0x4*_0x4a7fe7+0x3]=0xff&(_0xf21bc0[_0x5da65c([0x53])][0xff&t[(_0x4a7fe7+0x3)%0x4]]^_0x37d3a8);return _0x3a6031;}function _0x517e6f(){const _0x5d0e89=_0xf21bc0[_0x5da65c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xa63835[_0x5da65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0xc66b52=0x0;_0xc66b52<=_0x5d0e89;_0xc66b52++)_0x3b025e[_0x5da65c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x53807c[_0x5da65c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x12c541=0x4*(_0x5d0e89+0x1),_0x33c4cf=_0xa63835[_0x5da65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x354856=_0x4972e9(_0xa63835);let _0x366d86;for(let _0x4e3b30=0x0;_0x4e3b30<_0x33c4cf;_0x4e3b30++)_0x366d86=_0x4e3b30>>0x2,_0x3b025e[_0x366d86][_0x4e3b30%0x4]=_0x354856[_0x4e3b30],_0x53807c[_0x5d0e89-_0x366d86][_0x4e3b30%0x4]=_0x354856[_0x4e3b30];let _0x30379c,_0x5b2f77=0x0,t=_0x33c4cf;for(;t<_0x12c541;){_0x30379c=_0x354856[_0x33c4cf-0x1],_0x354856[0x0]^=_0xf21bc0[_0x5da65c([0x53])][_0x30379c>>0x10&0xff]<<0x18^_0xf21bc0[_0x5da65c([0x53])][_0x30379c>>0x8&0xff]<<0x10^_0xf21bc0[_0x5da65c([0x53])][0xff&_0x30379c]<<0x8^_0xf21bc0[_0x5da65c([0x53])][_0x30379c>>0x18&0xff]^_0xf21bc0[_0x5da65c([0x72,0x63,0x6f,0x6e])][_0x5b2f77]<<0x18,_0x5b2f77+=0x1;for(let _0x237e8b=0x1;_0x237e8b<_0x33c4cf/0x2;_0x237e8b++)_0x354856[_0x237e8b]^=_0x354856[_0x237e8b-0x1];_0x30379c=_0x354856[_0x33c4cf/0x2-0x1],_0x354856[_0x33c4cf/0x2]^=_0xf21bc0[_0x5da65c([0x53])][0xff&_0x30379c]^_0xf21bc0[_0x5da65c([0x53])][_0x30379c>>0x8&0xff]<<0x8^_0xf21bc0[_0x5da65c([0x53])][_0x30379c>>0x10&0xff]<<0x10^_0xf21bc0[_0x5da65c([0x53])][_0x30379c>>0x18&0xff]<<0x18;for(let _0x2c2181=_0x33c4cf/0x2+0x1;_0x2c2181<_0x33c4cf;_0x2c2181++)_0x354856[_0x2c2181]^=_0x354856[_0x2c2181-0x1];let _0x59fb71,_0x2a87d5,_0x2a0267=0x0;for(;_0x2a0267<_0x33c4cf&&t<_0x12c541;)_0x59fb71=t>>0x2,_0x2a87d5=t%0x4,_0x3b025e[_0x59fb71][_0x2a87d5]=_0x354856[_0x2a0267],_0x53807c[_0x5d0e89-_0x59fb71][_0x2a87d5]=_0x354856[_0x2a0267++],t++;}for(let _0xe255b=0x1;_0xe255b<_0x5d0e89;_0xe255b++)for(let _0x308eef=0x0;_0x308eef<0x4;_0x308eef++)_0x30379c=_0x53807c[_0xe255b][_0x308eef],_0x53807c[_0xe255b][_0x308eef]=_0xf21bc0[_0x5da65c([0x55,0x31])][_0x30379c>>0x18&0xff]^_0xf21bc0[_0x5da65c([0x55,0x32])][_0x30379c>>0x10&0xff]^_0xf21bc0[_0x5da65c([0x55,0x33])][_0x30379c>>0x8&0xff]^_0xf21bc0[_0x5da65c([0x55,0x34])][0xff&_0x30379c];}}function _0x5da65c(_0x4f7d0a){return _0x4f7d0a['map'](_0x18ed7d=>String['fromCharCode'](_0x18ed7d))['join']('');}(_0x2782a0=>{function _0x412f58(){const _0x974b8a=[{[_0x5da65c([0x69,0x64])]:0x1,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5da65c([0x69,0x64])]:0x2,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5da65c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5da65c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5da65c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5da65c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5da65c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5da65c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5da65c([0x69,0x64])]:0x3,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5da65c([0x69,0x64])]:0x4,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5da65c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5da65c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5da65c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5da65c([0x69,0x64])]:0x5,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5da65c([0x66,0x67,0x69])]:[0xc]}},{[_0x5da65c([0x69,0x64])]:0x6,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5da65c([0x66,0x67,0x69])]:[0xc]}},{[_0x5da65c([0x69,0x64])]:0x7,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5da65c([0x66,0x67,0x69])]:[0xc]}},{[_0x5da65c([0x69,0x64])]:0x8,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5da65c([0x66,0x67,0x69])]:[0xc]}},{[_0x5da65c([0x69,0x64])]:0x9,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5da65c([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5da65c([0x69,0x64])]:0xa,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5da65c([0x66,0x67,0x69])]:[0xc]}},{[_0x5da65c([0x69,0x64])]:0xb,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5da65c([0x69,0x64])]:0xc,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5da65c([0x69,0x64])]:0xd,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5da65c([0x66,0x67,0x69])]:[0xc]}},{[_0x5da65c([0x69,0x64])]:0xe,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5da65c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x5da65c([0x69,0x64])]:0xf,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5da65c([0x69,0x64])]:0x10,[_0x5da65c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5da65c([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5da65c([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5da65c([0x66,0x67,0x69])]:[0xc]}}];return _0x291f72(_0x974b8a),_0x974b8a;function _0x17b337(_0x3f1399){return 0x1<<_0x3f1399-0x1;}function _0x291f72(_0x58b280){_0x58b280[_0x5da65c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x930cb7=>{_0x930cb7[_0x5da65c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x17b337(_0x930cb7[_0x5da65c([0x69,0x64])]),_0x4aa546(_0x930cb7)&&_0x930cb7[_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x291f72(_0x930cb7[_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4aa546(_0x48192a){return _0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x48192a;}const _0x12bbfd=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x305962=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x39e3e3(_0x1696ed){const _0x1bd37c=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x207502(_0x1696ed,new Uint8Array([..._0x12bbfd,..._0x1bd37c,..._0x305962]));}function _0x207502(_0x1d7c2d,_0x226282){const _0x4eec67=_0x1ebabd(_0x1d7c2d),_0x295116=Array[_0x5da65c([0x66,0x72,0x6f,0x6d])](_0x104909(_0x4eec67)),_0x191d25=_0x295116[_0x5da65c([0x70,0x6f,0x70])](),_0x327179=_0x295116[_0x5da65c([0x70,0x6f,0x70])]();return _0x3c0f28(_0xa6f587(_0x295116,_0x226282,_0x327179+0x100*_0x191d25));}function _0x1ebabd(_0x49cbb0){const _0xbb7842=atob(_0x49cbb0),[_0x3a3afd,_0x5a3be5]=_0xbb7842[_0x5da65c([0x73,0x70,0x6c,0x69,0x74])](_0x5da65c([0x2d]));try{if(atob(_0x5a3be5))return atob(_0x3a3afd);}catch(_0xa2ef9d){}return _0xbb7842;}function _0x1821bb(_0x58176d){try{const _0x2ecfd4=_0x39e3e3(_0x58176d),_0x2998df=JSON[_0x5da65c([0x70,0x61,0x72,0x73,0x65])](_0x2ecfd4),_0x193034=parseInt(_0x2998df[_0x5da65c([0x31])]),_0x17fa6f=_0x2998df[_0x5da65c([0x32])]||'',_0x1c2d58=parseInt(_0x2998df[_0x5da65c([0x33])]),_0x5a021f=parseInt(_0x2998df[_0x5da65c([0x34])])||0x0,_0x45ffd9=parseInt(_0x2998df[_0x5da65c([0x35])])||0x0;return{[_0x5da65c([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x17fa6f,[_0x5da65c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5a021f,[_0x5da65c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x193034,[_0x5da65c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x1c2d58,[_0x5da65c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x45ffd9};}catch(_0x1901bd){return null;}}const _0x3cac2b=_0x412f58(),_0x2f21fc={[_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x44ad6c,[_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x16f66d,[_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x5b4e68},_0x1399f6=_0x2782a0[_0x5da65c([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4af45a=_0x5da65c([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2782a0?_0x2782a0['context']:_0x2782a0['editor'],_0xb77fd8=_0x5da65c([0x34,0x30,0x34,0x38,0x32,0x30,0x30,0x34]),_0x4b0bb2=_0x5da65c([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x1a3121=_0x4af45a['config']['get'](_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x35201f=_0x3cac2b[_0x5da65c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4aa546)[_0x5da65c([0x66,0x69,0x6e,0x64])](_0x2dd677=>_0x2dd677[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x1399f6);function _0x43a10f(_0x498372,_0x527f74){_0x2f21fc[_0x527f74[_0x5da65c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x498372,_0x527f74),_0x527f74[_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x527f74[_0x5da65c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5da65c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x34b579=>_0x36fd8e(_0x4af45a,_0x34b579[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5da65c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1f14f8=>_0x43a10f(_0x498372,_0x1f14f8));}function _0x44ad6c(_0x3c2ebf,_0xcb58cd){_0x20fee8(_0x124a56(_0x3c2ebf,_0xcb58cd),_0xcb58cd);}function _0x16f66d(_0x3b6805,_0x4cae5b){function _0x135f1d(_0x2103a5,_0x1b6740){try{if(_0x36fd8e(_0x4af45a,_0x5da65c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2103a5){const _0x1bee91=_0x4f1800(_0x4af45a,_0x5da65c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5da65c([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1bee91)/0x2>_0x2103a5[_0x5da65c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3ad2a1(_0x1b6740[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x124a56(_0x2103a5,_0x1b6740);}catch(_0xcc2005){return _0x3ad2a1(_0x1b6740[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x20fee8(_0x135f1d(_0x3b6805,_0x4cae5b),_0x4cae5b);}function _0x5b4e68(_0x50084b,_0x375f4a){const _0x56ed2d=_0x305962[0x0]*_0x12bbfd[0x1],_0x436655=_0x305962[0x0]*_0x12bbfd[0x2],_0x26b8ed=_0x305962[0x2]*_0x12bbfd[0x2];_0x36fd8e(_0x4af45a,_0x5da65c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4f1800(_0x4af45a,_0x5da65c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5da65c([0x73,0x74,0x61,0x74,0x65])]==_0x5da65c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x1e57d9()]=_0x26b8ed);function _0x26573e(_0x14993d,_0x4e7b77){try{return _0x40d4e()?_0x3ad2a1(_0x4e7b77[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x56,0x61,0x6c,0x69,0x64])):_0x124a56(_0x14993d,_0x4e7b77);}catch(_0x1a89c8){return _0x3ad2a1(_0x4e7b77[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x368cc6(_0x346ee3,_0x7e3b0){const _0x524801=0x7;if(_0x346ee3==_0x7e3b0[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x40d355();else{if(_0x346ee3==_0x7e3b0[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x54,0x72,0x69,0x61,0x6c])){const _0x477cfa=_0x13ceaa();_0x477cfa&&_0x3b6809(_0x477cfa,_0x7e3b0[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x224376=_0x578b98();window[_0x5da65c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3b6809(_0x5da65c([0x74,0x69,0x6d,0x65]),_0x7e3b0[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x224376);const _0x3ad7e1=_0x4f1800(_0x4af45a,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5da65c([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3ad7e1[_0x5da65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x524801?_0x3b6809(_0x5da65c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x7e3b0[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3ad7e1['on'](_0x5da65c([0x61,0x64,0x64]),()=>{_0x3ad7e1[_0x5da65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x524801&&_0x3b6809(_0x5da65c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x7e3b0[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x13ceaa(){if(!_0x36fd8e(_0x4af45a,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xcb91c6 in window)if(Number['isNaN'](Number(_0xcb91c6))){if(window[_0xcb91c6]===_0x56ed2d)return _0x5da65c([0x74,0x69,0x6d,0x65]);if(window[_0xcb91c6]===_0x436655)return _0x5da65c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x40d4e(){if(!_0x36fd8e(_0x4af45a,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2a645f in window)if(Number['isNaN'](Number(_0x2a645f))&&window[_0x2a645f]===_0x26b8ed)return!0x0;return!0x1;}function _0x3b6809(_0xffab4b,_0x27d14b){_0x40d355(),_0x3ad2a1(_0x27d14b+_0x5da65c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0xffab4b),window[_0x1e57d9()]=_0xffab4b===_0x5da65c([0x74,0x69,0x6d,0x65])?_0x56ed2d:_0x436655;}function _0x578b98(){let _0xe8560e=_0x305962[0x6]*_0x12bbfd[0x8]*_0x12bbfd[0x6];return _0x36fd8e(_0x4af45a,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xe8560e/=0xa),_0xe8560e;}function _0x40d355(){const _0x13b807=_0x4af45a;function _0x1cdfe1(){_0x36fd8e(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4f1800(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5da65c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5da65c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4f1800(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5da65c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4f1800(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5da65c([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x575c4b,_0x4f1800(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5da65c([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x575c4b,_0x13b807[_0x5da65c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5da65c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x575c4b,_0x13b807[_0x5da65c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5da65c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x575c4b,_0x13b807[_0x5da65c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5da65c([0x6d,0x6f,0x64,0x65,0x6c]))),_0x36fd8e(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4f1800(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5da65c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5da65c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4f1800(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5da65c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4f1800(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5da65c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x575c4b,_0x4f1800(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5da65c([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x575c4b);}_0x13b807[_0x5da65c([0x73,0x74,0x61,0x74,0x65])]==_0x5da65c([0x72,0x65,0x61,0x64,0x79])?_0x1cdfe1():_0x13b807[_0x5da65c([0x6f,0x6e,0x63,0x65])](_0x5da65c([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x36fd8e(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x1cdfe1(),_0x36fd8e(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x25430c=_0x4f1800(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x5cdbc8=_0x25430c['getRevision'](0x0),_0x52ac7e=_0x25430c['getEarlierVisibleRevision'](_0x5cdbc8[_0x5da65c([0x69,0x64])]);_0x4f1800(_0x13b807,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5da65c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x5cdbc8[_0x5da65c([0x69,0x64])],_0x52ac7e?_0x52ac7e[_0x5da65c([0x69,0x64])]:null,0x1)['then'](()=>_0x1cdfe1());}});}_0x368cc6(_0x26573e(_0x50084b,_0x375f4a),_0x375f4a);}function _0x124a56(_0x408f5e,_0x5134aa){try{return _0x440c05(_0x5134aa)?_0x3ad2a1(_0x5134aa[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x56,0x61,0x6c,0x69,0x64])):_0x408f5e&&_0x43312f(_0x408f5e[_0x5da65c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5134aa)?_0x408f5e[_0x5da65c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5da65c([0x6f,0x70,0x65,0x6e])][_0x5da65c([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xb77fd8)/0x2>_0x408f5e[_0x5da65c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3ad2a1(_0x5134aa[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x408f5e[_0x5da65c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3ad2a1(_0x5134aa[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x54,0x72,0x69,0x61,0x6c])):_0x3ad2a1(_0x5134aa[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x56,0x61,0x6c,0x69,0x64])):_0x3ad2a1(_0x5134aa[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1e13ab){return _0x3ad2a1(_0x5134aa[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x20fee8(_0x1d63cf,_0x1ff215){if(_0x4af45a instanceof _0x359579){const _0x2eed25=_0x4af45a;_0x1d63cf==_0x1ff215[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xd3dd1d(_0x2eed25):_0x1d63cf==_0x1ff215[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5da65c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xd3dd1d(_0x2eed25),_0x3ad2a1(_0x1ff215[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x305962[0x6]*_0x12bbfd[0x8]*_0x12bbfd[0x6]),_0x2eed25[_0x5da65c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5da65c([0x6f,0x6e])](_0x5da65c([0x61,0x64,0x64]),(_0x4afe68,_0x3ffdfd)=>{_0x1d63cf!=_0x1ff215[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x1d63cf!=_0x1ff215[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x1d63cf!=_0x1ff215[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x38bc03(_0x3ffdfd);});}else{const _0x3b7687=_0x4af45a;_0x1d63cf==_0x1ff215[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x38bc03(_0x3b7687):_0x1d63cf==_0x1ff215[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x54,0x72,0x69,0x61,0x6c])&&_0x3b7687[_0x5da65c([0x6f,0x6e])](_0x5da65c([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x1aa933=0x0;_0x3b7687[_0x5da65c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5da65c([0x6f,0x6e])](_0x5da65c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x106d26,_0x482f20)=>{_0x482f20[0x0][_0x5da65c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1aa933++,0x1f8===_0x1aa933&&(_0x38bc03(_0x3b7687),_0x3ad2a1(_0x1ff215[_0x5da65c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5da65c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x106d26[_0x5da65c([0x6f,0x66,0x66])]());},{'priority':_0x5da65c([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3ad2a1(_0x3c5423){const _0x1f79d4=_0x1e57d9();return _0x4af45a[_0x1f79d4]=_0x3c5423,_0x3c5423;}function _0x1e57d9(){const _0x20963e=String(window[_0x5da65c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5da65c([0x6e,0x6f,0x77])]())[_0x5da65c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5da65c([0x2e]),'');let _0x50f8d0='';for(let _0x35ced3=0x0;_0x35ced3<_0x20963e[_0x5da65c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35ced3+=0x2){let _0xa5cc8e=parseInt(_0x20963e[_0x5da65c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35ced3,_0x35ced3+0x2));_0xa5cc8e>=_0x4b0bb2[_0x5da65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xa5cc8e-=_0x4b0bb2[_0x5da65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50f8d0+=_0x4b0bb2[_0xa5cc8e];}return _0x50f8d0;}function _0xd3dd1d(_0xa3fabd){for(const _0x5a0a53 of _0xa3fabd[_0x5da65c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x38bc03(_0x5a0a53);_0x4f1800(_0xa3fabd,_0x5da65c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5da65c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4f1800(_0xa3fabd,_0x5da65c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5da65c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x575c4b;}function _0x38bc03(_0x3cee44){function _0x1dd3c3(){_0x3cee44[_0x5da65c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5da65c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x575c4b,_0x3cee44[_0x5da65c([0x6d,0x6f,0x64,0x65,0x6c])][_0x5da65c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x575c4b,_0x3cee44[_0x5da65c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5da65c([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3cee44[_0x5da65c([0x73,0x74,0x61,0x74,0x65])]==_0x5da65c([0x72,0x65,0x61,0x64,0x79])?_0x1dd3c3():_0x3cee44[_0x5da65c([0x6f,0x6e,0x63,0x65])](_0x5da65c([0x72,0x65,0x61,0x64,0x79]),()=>_0x1dd3c3());}function _0x575c4b(){return null;}function _0x43312f(_0x19670e,_0x1d7585){const _0x1fc4e4=!!(_0x19670e&_0x1d7585[_0x5da65c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4b04d2=_0x3ea6dd(_0x19670e,_0x1d7585);return _0x1fc4e4||_0x4b04d2;}function _0x3ea6dd(_0x2b958a,_0x51a2b9){const _0x2a2aba=(_0x51a2b9[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5da65c([0x66,0x67,0x69])]||null;return!!_0x2a2aba&&_0x3cac2b[_0x5da65c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x585738=>_0x2a2aba[_0x5da65c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x585738[_0x5da65c([0x69,0x64])]))[_0x5da65c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bec19=>!_0x40c76c(_0x4bec19))[_0x5da65c([0x73,0x6f,0x6d,0x65])](_0xf47808=>!!(_0x2b958a&_0xf47808[_0x5da65c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x40c76c(_0x4eb64f){const _0x4ada4f={[_0x5da65c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x4408b2};return!!_0x4eb64f['forbiddenHandler']&&_0x4ada4f[_0x4eb64f['forbiddenHandler']]();}function _0x4408b2(){return!window[_0x5da65c([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x36fd8e(_0x4af45a,_0x5da65c([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x440c05(_0x207356){if(!_0x36fd8e(_0x4af45a,_0x207356[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1e13f0=_0x207356[_0x5da65c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x58ff99=_0x1e13f0[_0x5da65c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x5d7fa7=_0x1e13f0[_0x5da65c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x11611d=_0x1e13f0[_0x5da65c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x36fd8e(_0x4af45a,_0x5da65c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4f1800(_0x4af45a,_0x5da65c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5da65c([0x73,0x74,0x61,0x74,0x65])]==_0x5da65c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x58ff99)return!0x0;if(_0x36fd8e(_0x4af45a,_0x5da65c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4f1800(_0x4af45a,_0x5da65c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5da65c([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5da65c([0x65,0x6e,0x64])&&_0x5d7fa7)return!0x0;return!(!_0x36fd8e(_0x4af45a,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x4f1800(_0x4af45a,_0x5da65c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x5da65c([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5da65c([0x65,0x6e,0x64])||!_0x11611d);}function _0x36fd8e(_0x209f18,_0x5c3ec3){return _0x209f18[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5da65c([0x68,0x61,0x73])](_0x5c3ec3);}function _0x4f1800(_0x1e72b5,_0x11a00b){return _0x1e72b5[_0x5da65c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5da65c([0x67,0x65,0x74])](_0x11a00b);}function _0x3c0f28(_0x2168e7){let _0x2aec1b='';for(const _0x6eaff6 of _0x2168e7)_0x2aec1b+=String[_0x5da65c([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x6eaff6);return _0x2aec1b;}function _0x104909(_0xe8d6fc){const _0x3ed9e9=new Uint8Array(_0xe8d6fc[_0x5da65c([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x36c87d=0x0;_0x36c87d<_0xe8d6fc[_0x5da65c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36c87d++)_0x3ed9e9[_0x36c87d]=_0xe8d6fc[_0x5da65c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36c87d);return _0x3ed9e9;}_0x35201f&&_0x43a10f(_0x1821bb(_0x1a3121),_0x35201f);})(_0x1937c6);}(this);}['createRevision'](_0x382168){const _0x3ca24b=this['editor']['plugins']['get']('Users');return new a({'id':_0x382168['id'],'name':_0x382168['name'],'creator':_0x382168['creatorId']?_0x3ca24b['getUser'](_0x382168['creatorId']):null,'diffData':_0x382168['diffData']||_0x382168['data'],'authors':_0x382168['authorsIds']['map'](_0x5cadc4=>_0x3ca24b['getUser'](_0x5cadc4)),'createdAt':new Date(_0x382168['createdAt']),'attributes':_0x382168['attributes'],'fromVersion':_0x382168['fromVersion'],'toVersion':_0x382168['toVersion']});}['addRevision'](_0xd4ad1f,_0x1820ac=0x0){this['_revisions']['add'](_0xd4ad1f,_0x1820ac);}['getRevision'](_0xa70966){return this['_revisions']['get'](_0xa70966);}['getRevisions'](_0x54ae7b={'toJSON':!0x1}){const _0xe5c5d2=Array['from'](this['_revisions']);return _0xe5c5d2['reverse'](),_0x54ae7b['toJSON']?_0xe5c5d2['map'](_0x489926=>_0x489926['toJSON']()):_0xe5c5d2;}['getIndex'](_0x6b303e){return this['_revisions']['getIndex'](_0x6b303e);}['getEarlierVisibleRevision'](_0x2c19cb){const [,_0x175018]=this['getRevisionsIterator'](_0x2c19cb,{'direction':'earlier'});return _0x175018;}['getLaterVisibleRevision'](_0x1079e5){const [,_0x6ead5f]=this['getRevisionsIterator'](_0x1079e5,{'direction':'later'});return _0x6ead5f;}['getRevisionsInDiff'](_0x119266){const _0x2b9924=[];for(const _0x352faf of this['getRevisionsIterator'](_0x119266['newRevisionId']))if(_0x2b9924['push'](_0x352faf),_0x352faf['id']===_0x119266['oldRevisionId'])break;return _0x2b9924;}*['getRevisionsIterator'](_0x31b8b7,{direction:_0x58db01='earlier',filter:_0x2ad275=()=>!0x0}={}){const _0xd54b50='earlier'===_0x58db01?0x1:-0x1;let _0x1e3576=this['_revisions']['get'](_0x31b8b7),_0x311b01=this['getIndex'](_0x1e3576);for(yield _0x1e3576;_0x1e3576;){if(_0x311b01+=_0xd54b50,_0x1e3576=this['getRevision'](_0x311b01),!_0x1e3576)return;_0x2ad275(_0x1e3576)&&(yield _0x1e3576);}}}function y(_0x434f8f,_0xde3cf5,_0x27f84c){const t=_0x434f8f['t'];switch(_0xde3cf5){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x27f84c);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x27f84c);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x1fb502,'a':_0x280fde,'e':_0x4b76d7,'r':_0x28c7d3,'u':_0x892f8};class l extends _0x1f283b{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x3e0ee0,A,_0x16efc4];}constructor(_0x52832d){super(_0x52832d),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new J(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x1100fc=_0x45c6d0();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1100fc},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x55afc9=this['repository']['getRevision'](0x0),_0x287132=_0x55afc9&&null===_0x55afc9['creator']?_0x55afc9:null;if(this['_continueCurrentRevision']=!!_0x287132&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0xa58d46=this['_source']['getCurrentRevisionId'](),_0x1bfa43=this['repository']['getRevision'](_0xa58d46);if(_0x1bfa43)this['_startingVersion']=_0x1bfa43['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x364f9f=this['_source']['history']['_operations']['find'](_0x5be2ae=>!_0x5be2ae['_isInit']),_0x3db0c5=_0x364f9f?_0x364f9f['baseVersion']:this['_source']['history']['version'];_0x55afc9?(_0x55afc9['toVersion']<_0x3db0c5&&_0x55afc9['_update']({'toVersion':_0x3db0c5}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x287132['id'],this['_startingVersion']=_0x287132['fromVersion']):(this['_startingVersion']=_0x55afc9['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3db0c5,this['_continueCurrentRevision']=!0x1);}}else _0x287132&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x287132['toVersion'],this['editor']['model']['document']['history']['version']),_0x287132['fromVersion']===_0x287132['toVersion']?(0x0!==_0x287132['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x287132['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x287132['id'],this['_startingVersion']=_0x287132['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x1ba69f=>!_0x1ba69f);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x294735=this['repository']['getRevision'](0x0),_0x21f31c=await this['getRevisionDocumentData'](_0x294735),_0x479a1a=await this['getRevisionRootsAttributes'](_0x294735);this['_replaceEditorDataWithRevisionData'](_0x21f31c,_0x479a1a);}}['setSource'](_0x2a0daf){this['_source']=_0x2a0daf;}async['update'](){const _0x8d335a=await this['_source']['getLatestVersion']();if(_0x8d335a>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3f54f2=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x8d335a});_0x3f54f2['authors']=_0x3f54f2['authorsIds']['map'](_0x1e7bf4=>this['editor']['plugins']['get']('Users')['getUser'](_0x1e7bf4)),this['currentRevision']['_update'](_0x3f54f2);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x2321d5={},_0x24e842=null){const _0x3b3158=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x24e842>this['currentRevision']['toVersion']&&(_0x24e842=null),null===_0x24e842&&(_0x24e842=await this['_source']['getLatestVersion']());const _0x35e003=this['_getFromVersion'](_0x24e842),_0x350a08=this['buildRevisionData']({'from':_0x35e003,'to':_0x24e842});if(this['currentRevision']['toVersion']<_0x24e842){const _0xd3bc2d=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x24e842,'to':_0x24e842});_0xd3bc2d['authors']=[],_0xd3bc2d['authorsIds']=[],_0xd3bc2d['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0xd3bc2d,!0x0),delete _0xd3bc2d['authors'],_0x3b3158['push'](_0xd3bc2d);}_0x2321d5['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2321d5['name']=_0x2321d5['name']||null,_0x2321d5['id']=_0x2321d5['id']||_0x45c6d0(),_0x2321d5={..._0x2321d5,..._0x350a08};const _0x1155ec=this['addRevisionData'](_0x2321d5);_0x3b3158['push'](_0x2321d5);const _0x355fa4=this['repository']['getIndex'](_0x1155ec);if(0x0!==_0x355fa4){const _0x1024ef=this['repository']['getRevision'](_0x355fa4-0x1);if(_0x1024ef['fromVersion']!==_0x24e842){const _0xb05b91=this['_revisionDataBuilder']['getData'](_0x24e842,_0x1024ef['toVersion']),_0x5cb549={'id':_0x1024ef['id'],'diffData':_0xb05b91['diffData'],'authorsIds':_0xb05b91['authorsIds'],'authors':_0xb05b91['authorsIds']['map'](_0x12579b=>this['editor']['plugins']['get']('Users')['getUser'](_0x12579b)),'fromVersion':_0x24e842};_0x1024ef===this['currentRevision']&&(_0x5cb549['createdAt']=new Date(_0x2321d5['createdAt']['getTime']()+0xa)),_0x1024ef['_update'](_0x5cb549,!0x0),delete _0x5cb549['authors'],_0x3b3158['push'](_0x5cb549);}}if(this['adapter']){for(const _0x3402ed of _0x3b3158)this['_bufferUpdate'](_0x3402ed['id'],_0x3402ed,!0x0);this['sendBufferedUpdates']();}return _0x1155ec;}['addRevisionData'](_0x228648){const _0x4e6d1a=this['repository']['createRevision'](_0x228648);return this['adapter']&&_0x4e6d1a['on']('_update',(_0x5160fc,_0x2f8a05,_0x41e492)=>{_0x41e492||(this['_bufferUpdate'](_0x2f8a05['id'],_0x2f8a05,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4e6d1a,this['_findInsertionIndex'](_0x4e6d1a)),_0x4e6d1a;}async['getRevisionDocumentData'](_0x17fab2){await this['_loadRevisionData'](_0x17fab2);const _0x46f50b={};for(const _0x15feee in _0x17fab2['diffData']){if(_0x17fab2['diffData'][_0x15feee]['attachChange']&&!_0x17fab2['diffData'][_0x15feee]['attachChange']['isAttached'])continue;const _0x54655a=this['_removeRevisionMarkers'](JSON['parse'](_0x17fab2['diffData'][_0x15feee]['insertions'])),_0x39d3c4=this['editor']['editing']['view']['document'],_0x37d0a7=new _0x3c197f(_0x39d3c4,_0x54655a['map'](_0x1fa802=>B(_0x1fa802,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x46f50b[_0x15feee]=this['editor']['data']['processor']['toData'](_0x37d0a7),this['editor']['data']['processor']['useFillerType']('default');}return _0x46f50b;}async['getRevisionRootsAttributes'](_0x22ac47){await this['_loadRevisionData'](_0x22ac47);const _0x4364f1={};for(const _0x4fc915 in _0x22ac47['diffData'])_0x22ac47['diffData'][_0x4fc915]['attachChange']&&!_0x22ac47['diffData'][_0x4fc915]['attachChange']['isAttached']||(_0x4364f1[_0x4fc915]=_0x22ac47['diffData'][_0x4fc915]['attributesAfter']||{});return _0x4364f1;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3ff3c0=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x8c58dd=0x0;_0x8c58dd<_0x3ff3c0['length'];_0x8c58dd++){const _0x30d444=_0x3ff3c0[_0x8c58dd];let _0x148cfa=!0x1;for(const _0x411322 of Object['keys'](_0x30d444))void 0x0===_0x30d444[_0x411322]?delete _0x30d444[_0x411322]:'id'!==_0x411322&&(_0x148cfa=!0x0);_0x148cfa||(_0x3ff3c0[_0x8c58dd]=null);}if(_0x3ff3c0=_0x3ff3c0['filter'](_0x148759=>null!==_0x148759),!_0x3ff3c0['length'])return;for(let _0x183253=0x0;_0x183253<_0x3ff3c0['length'];_0x183253++){const _0x1fc534=_0x3ff3c0[_0x183253];void 0x0!==_0x1fc534['fromVersion']&&void 0x0===_0x1fc534['toVersion']&&(_0x1fc534['toVersion']=this['repository']['getRevision'](_0x1fc534['id'])['toVersion']),void 0x0!==_0x1fc534['toVersion']&&void 0x0===_0x1fc534['fromVersion']&&(_0x1fc534['fromVersion']=this['repository']['getRevision'](_0x1fc534['id'])['fromVersion']);}const _0x1268b2=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3ff3c0,_0x1268b2)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4bd0e1=>{if(_0x4bd0e1){for(const _0x22cacd of _0x4bd0e1)this['setRevisionData']({'id':_0x22cacd['id'],'createdAt':_0x22cacd['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0xd9ca5e,_0x1f7d24){let _0xe49803=this['editor']['config']['get']('initialData'),_0x54be3d=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xe49803){_0xe49803={};for(const _0x33bf54 of this['editor']['model']['document']['getRootNames']())_0xe49803[_0x33bf54]='';}if('string'==typeof _0xe49803&&(_0xe49803={'main':_0xe49803}),void 0x0===_0x54be3d){_0x54be3d={};for(const _0x4e02e7 of this['editor']['model']['document']['getRootNames']())_0x54be3d[_0x4e02e7]={};}let _0x43040f=!0x1;const _0x415cca=Object['keys'](_0xe49803),_0xdfff6d=Object['keys'](_0xd9ca5e);for(const _0x397787 of _0x415cca){if(_0xe49803[_0x397787]!==_0xd9ca5e[_0x397787]&&''!==_0xe49803[_0x397787]['trim']()){_0x43040f=!0x0;break;}if(!_0x3b87f1(_0x54be3d[_0x397787],_0x1f7d24[_0x397787])&&Object['keys'](_0x54be3d[_0x397787])['length']>0x0){_0x43040f=!0x0;break;}}_0x43040f||(_0x43040f=_0xdfff6d['some'](_0x32f224=>!this['editor']['model']['document']['getRoot'](_0x32f224))),_0x43040f&&_0x44a1dd('editor-initial-data-replaced-with-revision-data',{'editorData':_0xe49803,'editorRootsAttributes':_0x54be3d,'revisionData':_0xd9ca5e,'revisionRootsAttributes':_0x1f7d24}),this['editor']['config']['set']('initialData',_0xd9ca5e),this['editor']['config']['set']('rootsAttributes',_0x1f7d24);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xfbda35=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xfbda35['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4e0901){const _0x495a03=this['repository']['getRevisions']();_0x495a03['reverse']();let _0x27d547=0x0;for(;_0x27d547<_0x495a03['length'];){const _0x3aee27=_0x495a03[_0x27d547];if(_0x3aee27===this['currentRevision']){_0x27d547++;continue;}if(_0x3aee27['id']===this['_initialRevisionId'])break;const _0x43377e=_0x4e0901['toVersion']-_0x3aee27['toVersion']||_0x4e0901['fromVersion']-_0x3aee27['fromVersion'];if(_0x43377e>0x0)break;if(_0x43377e<0x0)_0x27d547++;else{if(!_0x4e0901['creator']&&_0x3aee27['creator'])break;if(_0x3aee27['creator']||!_0x4e0901['creator']){if(_0x4e0901['createdAt']>_0x3aee27['createdAt'])break;_0x27d547++;}else _0x27d547++;}}return _0x27d547;}['setRevisionData'](_0x2acdd3){const _0x5ade4a=this['repository']['getRevision'](_0x2acdd3['id']);if(_0x2acdd3['createdAt']&&(_0x2acdd3['createdAt']=new Date(_0x2acdd3['createdAt'])),_0x2acdd3['authorsIds']){const _0x37ab50=this['editor']['plugins']['get']('Users');_0x2acdd3['authors']=_0x2acdd3['authorsIds']['map'](_0x5a056a=>_0x37ab50['getUser'](_0x5a056a));}_0x5ade4a['_update'](_0x2acdd3,!0x0);}['buildRevisionData']({revision:_0x32921b=null,from:_0x1d8059=null,to:_0x1e99ad=null}){_0x1d8059=null!==_0x1d8059?_0x1d8059:_0x32921b['fromVersion'],_0x1e99ad=null!==_0x1e99ad?_0x1e99ad:_0x32921b['toVersion'];const _0x293cc7=this['_revisionDataBuilder']['getData'](_0x1d8059,_0x1e99ad),_0x306f3a={'diffData':_0x293cc7['diffData'],'authorsIds':_0x293cc7['authorsIds'],'fromVersion':_0x1d8059,'toVersion':_0x1e99ad};if(!_0x32921b||_0x1e99ad!==_0x32921b['toVersion']){const _0x79f31c=_0x1e99ad-0x1,_0x4cc5e8=this['_source']['history']['getOperation'](_0x79f31c);_0x306f3a['createdAt']=_0x4cc5e8&&_0x4cc5e8['createdAt']||new Date();}if(this['_loadedStateData']&&_0x1d8059===this['_loadedStateData']['fromVersion']){for(const _0x4d78cc of this['_loadedStateData']['authors'])_0x306f3a['authorsIds']['includes'](_0x4d78cc['id'])||_0x306f3a['authorsIds']['push'](_0x4d78cc['id']);}return _0x306f3a;}['_loadRevisionData'](_0x270b22){if(!_0x270b22||_0x270b22['diffData'])return Promise['resolve']();{const _0x3ca30e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3ca30e,'revisionId':_0x270b22['id']})['then'](_0x2e78f9=>{_0x270b22['diffData']=_0x2e78f9['diffData'];});}}['_bufferUpdate'](_0x637895,_0x38af57,_0x400c91){if(this['_bufferedUpdates']['has'](_0x637895)){const _0x2c8b6c=this['_bufferedUpdates']['get'](_0x637895);_0x38af57=_0x400c91?{..._0x2c8b6c,..._0x38af57}:{..._0x38af57,..._0x2c8b6c};}this['_bufferedUpdates']['set'](_0x637895,_0x38af57);}['_getFromVersion'](_0x2aed25){const _0x28bd22=this['repository']['getRevisions']();_0x28bd22['reverse'](),_0x28bd22['shift']();const _0x32fb2f=_0x28bd22['find'](_0x2e4514=>_0x2e4514['toVersion']<=_0x2aed25)['toVersion'];return _0x32fb2f<this['_startingVersion']?this['_startingVersion']:_0x32fb2f;}['_createInitialRevision'](_0xedfcd7){const _0x3441a8=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x3441a8)this['_initialRevisionId']=_0x3441a8['id'];else{const _0x1b25ed=!this['editor']['model']['document']['roots']['find'](_0x5c002e=>this['editor']['model']['hasContent'](_0x5c002e)),_0x2d5ff9=this['editor']['plugins']['get']('Users')['me']['id'],_0x474cb3=y(this['editor']['locale'],_0x1b25ed?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0xedfcd7,'to':_0xedfcd7,'id':this['_initialRevisionId'],'name':_0x474cb3,'creatorId':_0x2d5ff9});}}['_createCurrentRevision'](_0x77aec4){const _0x389d2b=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x389d2b),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x77aec4,'to':_0x77aec4,'id':_0x389d2b,'name':'','creatorId':null}));}['_makeRevision']({name:_0x8c1a96,from:_0xa071bb,to:_0x498e4b,creatorId:_0x5647fa,id:_0x562dba}){const _0x39bfef=this['buildRevisionData']({'from':_0xa071bb,'to':_0x498e4b});_0x39bfef['name']=_0x8c1a96,_0x39bfef['creatorId']=_0x5647fa,_0x39bfef['id']=_0x562dba;const _0x31b748=this['addRevisionData'](_0x39bfef);return this['adapter']&&this['_bufferUpdate'](_0x39bfef['id'],_0x39bfef,!0x0),_0x31b748;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x3da489){return(_0x3da489=_0x3da489['filter'](_0x8ae419=>!_0x8ae419['name']||'revision-start'!==_0x8ae419['name']&&'revision-end'!==_0x8ae419['name']))['forEach'](_0x30c2a4=>{'string'!=typeof _0x30c2a4&&(_0x30c2a4['children']=this['_removeRevisionMarkers'](_0x30c2a4['children']),_0x30c2a4['attributes']=_0x30c2a4['attributes']['filter'](_0x42ae20=>!_0x42ae20[0x0]['startsWith']('data-revision-')));}),_0x3da489;}}function B(_0x5b1397,_0x4fa5a2){const _0x42a2c8=_0x4fa5a2['editing']['view']['document'];if('string'==typeof _0x5b1397)return new _0x19a561(_0x42a2c8,_0x5b1397);{const _0x469ef1=_0x5b1397['children']['map'](_0x455e87=>B(_0x455e87,_0x4fa5a2));return new(T[_0x5b1397['type']]||_0x2e5a64)(_0x42a2c8,_0x5b1397['name'],_0x5b1397['attributes'],_0x469ef1);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xa79599){this['editor']=_0xa79599,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x209517){this['source']=_0x209517;const _0x3c227d=new Map(),_0x3189c4=new Map(),_0xd9956=this['editor']['model']['document']['roots']['map'](_0x2a65fd=>_0x2a65fd['rootName']);for(const _0x452f52 of _0xd9956){const _0x2ab1a0=this['editor']['model']['document']['getRoot'](_0x452f52),_0x1ced5a=q(_0x2ab1a0);_0x3c227d['set'](_0x452f52,_0x1ced5a),_0x3189c4['set'](_0x452f52,Object['fromEntries'](_0x2ab1a0['getAttributes']()));}const _0x5bbb31=Array['from'](this['editor']['model']['markers'])['map'](_0x3df3ed=>[_0x3df3ed['name'],_0x3df3ed['getRange']()]),_0x11eef7=this['source']['version'];this['_saveMetaData'](_0x11eef7,_0x3c227d,_0x5bbb31,_0x3189c4),this['_startingRevisionId']=this['_revisionId'];const _0x6c487b=new Map(),_0x5486b6=new Map();for(const _0x1e1739 of _0xd9956){const _0x3ccc32=G(_0x1e1739);_0x6c487b['set'](_0x1e1739,_0x3ccc32),_0x5486b6['set'](_0x1e1739,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x6c487b,[],_0x5486b6);}['getData'](_0x5487e4,_0x4404b1){if(this['_lastFrom']===_0x5487e4&&this['_lastTo']<=_0x4404b1)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x4404b1,!0x0);else{if(!this['_savedMetaData']['has'](_0x5487e4)){const _0xa9220=this['_getPreviousFrom'](_0x5487e4);this['_calculateMetaData'](_0xa9220,_0x5487e4,!0x1);}this['_calculateMetaData'](_0x5487e4,_0x4404b1,!0x0);}return this['_lastFrom']=_0x5487e4,this['_lastTo']=_0x4404b1,this['_getState']();}['loadState'](_0x183976){this['_reset'](),this['_lastFrom']=_0x183976['fromVersion'],this['_lastTo']=_0x183976['toVersion'];for(const _0x3a3765 in _0x183976['diffData']){const _0x3f0a3f=_0x183976['diffData'][_0x3a3765]['attachChange'],_0x16fe6c=_0x165bb8(_0x183976['diffData'][_0x3a3765]['attributesBefore'])||{},_0x294f7a=this['_makeModelFromViewString'](_0x183976['diffData'][_0x3a3765]['deletions']);_0x294f7a['rootName']=_0x3a3765,_0x294f7a['_isAttached']=!_0x3f0a3f||!_0x3f0a3f['isAttached'],_0x294f7a['isAttached']=()=>_0x294f7a['_isAttached'],this['_baseRoots']['set'](_0x3a3765,_0x294f7a),this['_baseRootsAttributes']['set'](_0x3a3765,_0x16fe6c),_0x3f0a3f&&this['_touchedRoots']['set'](_0x3a3765,_0x3f0a3f);const _0x2584eb=this['_makeIdsRoot'](_0x294f7a);this['_baseIdsRoots']['set'](_0x3a3765,_0x2584eb);for(const [_0x514c41,_0x343f0c]of _0x294f7a['markers']){if(!_0x514c41['startsWith']('revision:'))continue;const _0x20ee1a=_0x514c41['split'](':')[0x2];for(const _0x584d28 of _0x343f0c['getWalker']({'singleCharacters':!0x0})){const _0x3f500f=this['_getVidAttributeName'](_0x584d28),_0x356202='elementEnd'==_0x584d28['type']?_0x584d28['previousPosition']['path']['slice'](0x0,-0x1):_0x584d28['previousPosition']['path'],_0x48cd9d=_0x2584eb['getNodeByPath'](_0x356202)['getAttribute'](_0x3f500f);this['_touched']['set'](_0x48cd9d,{'userId':_0x20ee1a});}}}this['_startingRevisionId']=this['_revisionId'];const _0x32dda2=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x45757d=>!this['_touched']['has'](_0x45757d));let _0x1843df=0x0;const _0x54aae1=new Map();for(const _0x1347ec in _0x183976['diffData']){const _0x17fbb1=_0x183976['diffData'][_0x1347ec]['attachChange'],_0x52b981=_0x165bb8(_0x183976['diffData'][_0x1347ec]['attributesAfter'])||{},_0x4cc21b=this['_makeModelFromViewString'](_0x183976['diffData'][_0x1347ec]['insertions']);_0x4cc21b['rootName']=_0x1347ec,_0x4cc21b['_isAttached']=!_0x17fbb1||_0x17fbb1['isAttached'],_0x4cc21b['isAttached']=()=>_0x4cc21b['_isAttached'],this['_diffRoots']['set'](_0x1347ec,_0x4cc21b),this['_diffRootsAttributes']['set'](_0x1347ec,_0x52b981);const _0x48a24c=this['_makeIdsRoot'](_0x4cc21b,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x1347ec,_0x48a24c),_0x54aae1['set'](_0x1347ec,_0x4cc21b['isAttached']()?_0x52b981:{});for(const [_0xded2df,_0x5e0f80]of _0x4cc21b['markers']){if(!_0xded2df['startsWith']('revision:'))continue;const _0x3bf387=_0xded2df['split'](':')[0x2];for(const _0x363774 of _0x5e0f80['getWalker']({'singleCharacters':!0x0})){const _0x297bbb=this['_getVidAttributeName'](_0x363774),_0x512ee3=this['_revisionId']++,_0x35ab8f='elementEnd'==_0x363774['type']?_0x363774['previousPosition']['path']['slice'](0x0,-0x1):_0x363774['previousPosition']['path'];_0x48a24c['getNodeByPath'](_0x35ab8f)['_setAttribute'](_0x297bbb,_0x512ee3),this['_touched']['set'](_0x512ee3,{'userId':_0x3bf387});}}for(const _0xf1606d of this['editor']['model']['createRangeIn'](_0x4cc21b)['getWalker']({'singleCharacters':!0x0})){const _0x5ef990=this['_getVidAttributeName'](_0xf1606d),_0x196998='elementEnd'==_0xf1606d['type']?_0xf1606d['previousPosition']['path']['slice'](0x0,-0x1):_0xf1606d['previousPosition']['path'],_0x33867b=_0x48a24c['getNodeByPath'](_0x196998);_0x33867b['getAttribute'](_0x5ef990)>0x0||_0x33867b['_setAttribute'](_0x5ef990,_0x32dda2[_0x1843df++]);}for(const [_0x2d03ad,_0x51f632]of _0x4cc21b['markers'])_0x2d03ad['startsWith']('revision:')||this['_markers']['set'](_0x2d03ad,_0x51f632);}const _0x2e6493=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x2e6493),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2e6493,0x1));const _0x1d7953=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1d7953),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1d7953,0x1));const _0xaf2800=Array['from'](this['_diffRoots'])['map'](([_0x4074dd,_0x37e07b])=>[_0x4074dd,q(_0x37e07b)]);this['_saveMetaData'](this['_lastTo'],_0xaf2800,this['_markers'],_0x54aae1);}['_makeModelFromViewString'](_0x2e98fb){const _0x1a6e40=JSON['parse'](_0x2e98fb),_0x28c76f=this['editor']['editing']['view']['document'],_0x55b121=new _0x3c197f(_0x28c76f,_0x1a6e40['map'](_0x15d252=>B(_0x15d252,this['editor'])));return this['editor']['data']['toModel'](_0x55b121);}['_saveMetaData'](_0x3f8424,_0x48acf5,_0x3fd5f6,_0x5174eb){const _0x320d1a=new Map(_0x48acf5),_0x12b8ce=new Map(_0x165bb8(_0x5174eb)),_0x21c755=new Map();for(const [_0x5837ca,_0x382541]of _0x3fd5f6)_0x21c755['set'](_0x5837ca,{'start':_0x382541['start']['clone'](),'end':_0x382541['end']['clone'](),'rootName':_0x382541['root']['rootName']});this['_savedMetaData']['set'](_0x3f8424,{'roots':_0x320d1a,'markers':_0x21c755,'rootsAttributes':_0x12b8ce});}['_removeMetaData'](_0xbd2693){this['_savedMetaData']['delete'](_0xbd2693);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x428170,_0x49b0b7=null){let _0x5f0036=null;_0x428170['is']('documentFragment')||(_0x5f0036=new ft(_0x428170['name'],{'vid_start':null===_0x49b0b7?this['_revisionId']++:_0x49b0b7++}));const _0x5f1f9c=[];for(const _0x197d02 of _0x428170['getChildren']())if(_0x197d02['is']('element')){_0x5f1f9c['push'](this['_makeIdsRoot'](_0x197d02,_0x49b0b7));const _0x422aab=_0x5f1f9c[_0x5f1f9c['length']-0x1];null!==_0x49b0b7&&(_0x49b0b7=_0x422aab['is']('element','$text')?_0x422aab['getAttribute']('vid')+0x1:_0x422aab['getAttribute']('vid_end')+0x1);}else{for(let _0x5b62fd=0x0;_0x5b62fd<_0x197d02['offsetSize'];_0x5b62fd++)_0x5f1f9c['push'](new ft('$text',{'vid':null===_0x49b0b7?this['_revisionId']++:_0x49b0b7++}));}if(_0x428170['is']('documentFragment')){const _0x4b8a33=G(_0x428170['rootName']);return _0x4b8a33['_insertChild'](0x0,_0x5f1f9c),_0x4b8a33;}return _0x5f0036['_setAttribute']('vid_end',null===_0x49b0b7?this['_revisionId']++:_0x49b0b7++),_0x5f0036['_insertChild'](0x0,_0x5f1f9c),_0x5f0036;}['_calculateMetaData'](_0x432c7e,_0xc24b85,_0xd65074){this['_reset']();const {roots:_0x4520c6,markers:_0x2c2c68,rootsAttributes:_0x1743e4}=this['_savedMetaData']['get'](_0x432c7e);this['_baseRoots']=new Map(_0x4520c6),this['_baseRootsAttributes']=new Map(_0x165bb8(_0x1743e4));for(const [_0x3bb78a,_0x58527a]of this['_baseRoots'])if('$graveyard'!==_0x3bb78a&&(this['_diffRoots']['set'](_0x3bb78a,q(_0x58527a)),this['_diffRootsAttributes']=new Map(_0x165bb8(_0x1743e4)),_0xd65074)){const _0x3673e2=this['_revisionId'];this['_idsRoots']['set'](_0x3bb78a,this['_makeIdsRoot'](_0x58527a)),this['_baseIdsRoots']['set'](_0x3bb78a,this['_makeIdsRoot'](_0x58527a,_0x3673e2));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xd65074&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xf83b37,_0x417503]of _0x2c2c68){const _0x21b19d=this['_baseRoots']['get'](_0x417503['rootName']),_0x33797e=this['_diffRoots']['get'](_0x417503['rootName']),_0x96385c=new vt(this['_fixPosition'](_0x417503['start'],_0x21b19d),this['_fixPosition'](_0x417503['end'],_0x21b19d)),_0x561212=this['_fixRange'](_0x96385c,_0x33797e);_0x21b19d['markers']['set'](_0xf83b37,_0x96385c),this['_markers']['set'](_0xf83b37,_0x561212);}this['_applyOperations'](_0x432c7e,_0xc24b85,_0xd65074);}['_applyOperations'](_0x306b05,_0x42eb1d,_0x528031){for(const _0x4d1145 of this['source']['getOperations'](_0x306b05,_0x42eb1d))this['_handleOperation'](_0x4d1145,_0x528031);for(const _0x27ce84 of this['_diffRoots']['values']())_0x27ce84['markers']['clear']();for(const [_0x5a3a94,_0x326929]of this['_markers']){this['_diffRoots']['get'](_0x326929['root']['rootName'])['markers']['set'](_0x5a3a94,_0x326929['clone']());}const _0x12080f=new Map(),_0x44e385=new Map();for(const [_0x295ad0,_0x1aea6f]of this['_diffRoots'])_0x12080f['set'](_0x295ad0,q(_0x1aea6f)),_0x44e385['set'](_0x295ad0,this['_diffRootsAttributes']['get'](_0x295ad0));this['_saveMetaData'](_0x42eb1d,_0x12080f,this['_markers'],_0x44e385);}['_getPreviousFrom'](_0x444595){const _0x1ffe7e=Array['from'](this['_savedMetaData']['keys']());_0x1ffe7e['sort']((_0x17b99c,_0x48e4ec)=>_0x17b99c-_0x48e4ec),_0x1ffe7e['reverse']();for(const _0x1da02c of _0x1ffe7e)if(_0x1da02c<_0x444595)return _0x1da02c;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x4af069,_0x3d3a29){const _0x37182f=Array['from'](_0x3d3a29['markers'])['map'](([_0x4f88c5,_0x54a23e])=>[_0x4f88c5,this['_fixRange'](_0x54a23e,_0x4af069)]);_0x4af069['markers']=new Map(_0x37182f);}['_transformMarkers'](_0x279964){for(const _0x278a63 of this['_markers']['values']()){const _0x911a27=_0x278a63['getTransformedByOperation'](_0x279964),_0x2ffd49=vt['_createFromRanges'](_0x911a27);_0x278a63['start']=_0x2ffd49['start'],_0x278a63['end']=_0x2ffd49['end'];}}['_handleOperation'](_0x186af5,_0x354ef5){if('addRoot'==_0x186af5['type']||'detachRoot'==_0x186af5['type'])return void this['_handleRootOperation'](_0x186af5,_0x354ef5);if('insert'==_0x186af5['type']){const _0x22f1a0=_0x186af5['position']['root']['rootName'];this['_diffRoots']['has'](_0x22f1a0)||(this['_diffRoots']['set'](_0x22f1a0,G(_0x22f1a0,!0x0)),this['_diffRootsAttributes']['set'](_0x22f1a0,{}),_0x354ef5&&this['_idsRoots']['set'](_0x22f1a0,G(_0x22f1a0,!0x0)));}else{if('addRootAttribute'==_0x186af5['type']||'removeRootAttribute'==_0x186af5['type']||'changeRootAttribute'==_0x186af5['type'])return void this['_handleRootAttributeOperation'](_0x186af5);}const _0x27faf3=this['_cloneOperation'](_0x186af5,this['_diffRoots']);if('marker'!==_0x186af5['type']&&(_0x27faf3['_execute'](),this['_transformMarkers'](_0x27faf3)),_0x354ef5)switch(_0x27faf3['type']){case'insert':this['_handleInsertOperation'](_0x186af5);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x186af5);break;case'merge':this['_handleMergeOperation'](_0x186af5);break;case'split':this['_handleSplitOperation'](_0x186af5);break;case'marker':this['_handleMarkerOperation'](_0x186af5);}}['_cloneOperation'](_0x423342,_0x13f81b){const _0x3b3419=_0x423342['clone']();return _0x3b3419['_authorId']=_0x423342['_authorId'],this['_fixOperation'](_0x3b3419,_0x13f81b),_0x3b3419;}['_getBaseVids'](_0x3a89fa){return _0x3a89fa['map'](_0x3d0a3d=>{const _0x475d50=this['_getVidAttributeName'](_0x3d0a3d);return Number(_0x3d0a3d['item']['getAttribute'](_0x475d50));});}['_generateTape'](_0x3b08d9,_0x245913){if(_0x3b08d9['is']('element','$text'))_0x245913['push']({'item':_0x3b08d9,'type':'text'});else{_0x3b08d9['is']('element')&&_0x245913['push']({'item':_0x3b08d9,'type':'elementStart'});for(const _0x2646ab of _0x3b08d9['getChildren']())this['_generateTape'](_0x2646ab,_0x245913);_0x3b08d9['is']('element')&&_0x245913['push']({'item':_0x3b08d9,'type':'elementEnd'});}return _0x245913;}['_getState'](){const _0x1feeca=new Map(this['_touched']),_0x5edc03=new Map(_0x1feeca),_0x484d87=new Map(),_0x54366f={'insertions':{},'deletions':{}},_0x25c428={'insertions':{},'deletions':{}},_0x5074dc=new Map(),_0x11aaa4=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x11aaa4['delete']('$graveyard');for(const _0x314779 of _0x11aaa4){const _0xc3e3b8=this['_diffRoots']['get'](_0x314779)||G(_0x314779,!0x1),_0x1acb46=this['_baseRoots']['get'](_0x314779)||G(_0x314779,!0x1);_0xc3e3b8['isAttached']()||_0x1acb46['isAttached']()?(_0x54366f['insertions'][_0x314779]=q(_0xc3e3b8),_0x54366f['deletions'][_0x314779]=q(_0x1acb46),this['_copyMarkers'](_0x54366f['deletions'][_0x314779],_0x1acb46),this['_copyMarkers'](_0x54366f['insertions'][_0x314779],_0xc3e3b8),_0x25c428['insertions'][_0x314779]=this['_generateTape'](this['_idsRoots']['get'](_0x314779),[]),_0x25c428['deletions'][_0x314779]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x314779)||G(_0x314779,!0x1),[])):_0x11aaa4['delete'](_0x314779);}for(const _0x207600 of _0x11aaa4){const _0x40e394=_0x25c428['insertions'][_0x207600];for(const _0x5966bb of _0x40e394){const _0x318516=this['_getVidAttributeName'](_0x5966bb),_0x2fd678=_0x5966bb['item']['getAttribute'](_0x318516);_0x5edc03['delete'](_0x2fd678),_0x2fd678>=this['_startingRevisionId']&&_0x484d87['set'](_0x2fd678,_0x1feeca['get'](_0x2fd678));}}for(const _0xa043ac of _0x11aaa4){const _0x36d309=_0x25c428['insertions'][_0xa043ac],_0x75a0e8=this['_getBaseVids'](_0x25c428['deletions'][_0xa043ac]);let _0x295da9=0x0;for(const _0x597502 of _0x36d309){const _0x45d322=this['_getVidAttributeName'](_0x597502),_0x41f1b7=_0x597502['item']['getAttribute'](_0x45d322);if(!_0x484d87['has'](_0x41f1b7)&&!_0x5074dc['has'](_0x41f1b7)){if(_0x5edc03['has'](_0x41f1b7))_0x295da9++;else{if(_0x41f1b7!=_0x75a0e8[_0x295da9]){const _0x1e7c33=_0x1feeca['get'](_0x41f1b7)||_0x1feeca['get'](_0x75a0e8[_0x295da9]);for(;_0x41f1b7!=_0x75a0e8[_0x295da9];)_0x5edc03['has'](_0x75a0e8[_0x295da9])||(_0x5074dc['set'](_0x75a0e8[_0x295da9],_0x1e7c33),_0x1feeca['set'](_0x75a0e8[_0x295da9],_0x1e7c33)),_0x295da9++;}_0x295da9++;}}}}for(const _0xed64b2 of _0x11aaa4){const _0x358313=_0x25c428['insertions'][_0xed64b2];for(const _0x54f987 of _0x358313){const _0x18144e=this['_getVidAttributeName'](_0x54f987),_0x142c75=_0x54f987['item']['getAttribute'](_0x18144e);if(_0x5074dc['has'](_0x142c75)){const _0x5ae157=_0x5074dc['get'](_0x142c75);_0x5edc03['has'](_0x142c75)||_0x5edc03['set'](_0x142c75,{..._0x5ae157}),_0x484d87['set'](_0x142c75,{..._0x5ae157});}}}for(const _0x5742ce of _0x5edc03['keys']())_0x5742ce>=this['_startingRevisionId']&&_0x5edc03['delete'](_0x5742ce);const _0x31818f=new Map();for(const _0x1f58f8 of _0x11aaa4){let _0x15459b=_0x25c428['insertions'][_0x1f58f8];for(const _0x18779c of _0x15459b)if(_0x18779c['item']['is']('element','tableCell')){const _0x1629f1=this['_getVidAttributeName'](_0x18779c),_0x1cda3e=_0x18779c['item']['getAttribute'](_0x1629f1);if(_0x484d87['has'](_0x1cda3e)){const _0x5bbac1=_0x18779c['item']['parent']['parent']['getAttribute']('vid_start'),_0x532422=_0x31818f['get'](_0x5bbac1)||new Set();_0x532422['add'](_0x484d87['get'](_0x1cda3e)['userId']),_0x31818f['set'](_0x5bbac1,_0x532422);}}_0x15459b=_0x25c428['deletions'][_0x1f58f8];for(const _0x34847c of _0x15459b)if(_0x34847c['item']['is']('element','tableCell')){const _0x52dc95=this['_getVidAttributeName'](_0x34847c),_0x504851=_0x34847c['item']['getAttribute'](_0x52dc95);if(_0x5edc03['has'](_0x504851)){const _0x1d83e8=_0x34847c['item']['parent']['parent']['getAttribute']('vid_start'),_0x227e47=_0x31818f['get'](_0x1d83e8)||new Set();_0x227e47['add'](_0x5edc03['get'](_0x504851)['userId']),_0x31818f['set'](_0x1d83e8,_0x227e47);}}for(const _0xc213e6 of _0x31818f['keys']())(_0x484d87['has'](_0xc213e6)||_0x5edc03['has'](_0xc213e6))&&_0x31818f['delete'](_0xc213e6);}for(const _0x39d2b2 of _0x11aaa4){const _0xa27c35=_0x25c428['insertions'][_0x39d2b2];let _0x243f5f=null,_0x4d5bc0=null;for(const _0x4c7749 of _0xa27c35){const _0x27696f=this['_getVidAttributeName'](_0x4c7749),_0xda901a=_0x4c7749['item']['getAttribute'](_0x27696f),_0x5164d4=_0x31818f['get'](_0xda901a);_0x5164d4&&'elementStart'==_0x4c7749['type']&&(_0x243f5f=Array['from'](_0x5164d4)[0x0],_0x4d5bc0=_0x4c7749['item']['getAttribute']('vid_end')),_0x243f5f&&(_0x5edc03['set'](_0xda901a,{'userId':_0x243f5f}),_0x484d87['set'](_0xda901a,{'userId':_0x243f5f})),_0xda901a==_0x4d5bc0&&(_0x243f5f=null,_0x4d5bc0=null);}}const _0x342df3={},_0x48b4f0=new Set();for(const _0x3d1c41 of _0x11aaa4){const _0x2af0b0=_0x54366f['deletions'][_0x3d1c41],_0x11bb6b=_0x54366f['insertions'][_0x3d1c41];for(const {userId:_0x4428a0}of this['_touchedMarkers']['values']())null!==_0x4428a0&&_0x48b4f0['add'](_0x4428a0);for(const {userId:_0x12ae6d}of this['_touchedRoots']['values']())null!==_0x12ae6d&&_0x48b4f0['add'](_0x12ae6d);this['_markChanges'](_0x11bb6b,_0x25c428['insertions'][_0x3d1c41],_0x484d87,'insertion',_0x48b4f0),this['_markChanges'](_0x2af0b0,_0x25c428['deletions'][_0x3d1c41],_0x5edc03,'deletion',_0x48b4f0),_0x342df3[_0x3d1c41]={'insertions':this['_prepareViewToSave'](_0x11bb6b),'deletions':this['_prepareViewToSave'](_0x2af0b0),'attachChange':this['_touchedRoots']['get'](_0x3d1c41)||null,'attributesBefore':_0x165bb8(this['_baseRootsAttributes']['get'](_0x3d1c41))||{},'attributesAfter':_0x165bb8(this['_diffRootsAttributes']['get'](_0x3d1c41))};}return{'diffData':_0x342df3,'authorsIds':Array['from'](_0x48b4f0)};}['_processRootBeforeSave'](_0x156827){for(const [,_0x4938fd]of _0x156827['markers']){const _0x56f2a4=_0x4938fd['start']['getAncestors']()['filter'](_0x377f93=>'tableCell'==_0x377f93['name']);for(const _0x39978e of _0x56f2a4)0x1==_0x39978e['childCount']&&_0x39978e['getChild'](0x0)['is']('element','paragraph')&&_0x39978e['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x53e26d){this['_processRootBeforeSave'](_0x53e26d);const _0x4791ae=this['editor']['data']['toView'](_0x53e26d,{}),_0x24a1c1=Array['from'](_0x4791ae['getChildren']())['map'](_0x426f0d=>this['_getViewJson'](_0x426f0d));return JSON['stringify'](_0x24a1c1);}['_getViewJson'](_0x3eae48){if(_0x3eae48['is']('$text'))return _0x3eae48['data'];{const _0x2a5582=_0x3eae48;return{'type':Object['keys'](T)['find'](_0x442370=>_0x3eae48 instanceof T[_0x442370]),'name':_0x2a5582['name'],'attributes':Array['from'](_0x2a5582['getAttributes']()),'children':Array['from'](_0x2a5582['getChildren']())['map'](_0x2f8f94=>this['_getViewJson'](_0x2f8f94))};}}['_markChanges'](_0x3e9ff6,_0x2f07fd,_0x15e697,_0x1a2236,_0x532d8a){let _0x80319e=null,_0x3de805=null,_0x59fa80=0x0;const _0x4ddca3=this['editor']['model'];for(let _0x2ebfaa=0x0;_0x2ebfaa<_0x2f07fd['length'];_0x2ebfaa++){const _0x33728e=this['_getVidAttributeName'](_0x2f07fd[_0x2ebfaa]),_0x2b1dad=_0x2f07fd[_0x2ebfaa]['item']['getAttribute'](_0x33728e),_0x4711d5=_0x15e697['get'](_0x2b1dad),_0x9fd76b=_0x2ebfaa==_0x2f07fd['length']-0x1;(!_0x80319e&&_0x4711d5&&(_0x80319e=_0x4711d5,_0x3de805=_0x2f07fd[_0x2ebfaa]),_0x80319e&&(!_0x4711d5||_0x4711d5['userId']!=_0x80319e['userId']))&&(_0x552434(_0x4711d5,L(_0x3de805,_0x3e9ff6,_0x4ddca3),L(_0x2f07fd[_0x2ebfaa],_0x3e9ff6,_0x4ddca3)),_0x80319e=_0x4711d5||null,_0x3de805=_0x4711d5?_0x2f07fd[_0x2ebfaa]:null),_0x80319e&&_0x9fd76b&&_0x552434(_0x4711d5,L(_0x3de805,_0x3e9ff6,_0x4ddca3),W(_0x2f07fd[_0x2ebfaa],_0x3e9ff6,_0x4ddca3));}function _0x552434(_0x730659,_0x7940e4,_0x2d2ea0){const _0x38771f=_0x80319e['userId'],_0x57202c='revision:'+_0x1a2236+':'+_0x38771f+':'+_0x59fa80++,_0x15028d=_0x4ddca3['createRange'](_0x7940e4,_0x2d2ea0);_0x3e9ff6['markers']['set'](_0x57202c,_0x15028d),null!==_0x38771f&&_0x532d8a['add'](_0x38771f);}}['_getVidAttributeName'](_0x52e25d){switch(_0x52e25d['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x1428de,_0xd487e7){_0x1428de['baseVersion']=null;for(const _0x20eae2 in _0x1428de){const _0x1dbde6=_0x1428de[_0x20eae2];if(_0x1dbde6 instanceof gt){const _0x1860aa=_0xd487e7['get'](_0x1dbde6['root']['rootName']);_0x1428de[_0x20eae2]=this['_fixPosition'](_0x1dbde6,_0x1860aa);}if(_0x1dbde6 instanceof vt){const _0x56ef92=_0xd487e7['get'](_0x1dbde6['root']['rootName']);_0x1428de[_0x20eae2]=this['_fixRange'](_0x1dbde6,_0x56ef92);}'root'===_0x20eae2&&(_0x1428de['root']=_0xd487e7['get'](_0x1428de['root']['rootName']));}}['_fixRange'](_0xfe5176,_0x5e32b3){return this['editor']['model']['createRange'](this['_fixPosition'](_0xfe5176['start'],_0x5e32b3),this['_fixPosition'](_0xfe5176['end'],_0x5e32b3));}['_fixPosition'](_0x25e884,_0x2f1d50){return this['editor']['model']['createPositionFromPath'](_0x2f1d50,_0x25e884['path'],_0x25e884['stickiness']);}['_handleInsertOperation'](_0x25b5f8){const _0x3de260=this['_idsRoots']['get'](_0x25b5f8['position']['root']['rootName']),_0x17b551=this['_fixPosition'](_0x25b5f8['position'],_0x3de260),_0x193a32=null===_0x25b5f8['_authorId']?null:_0x25b5f8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x24ff6a=_0x17b551['parent'],_0x238db3=this['_revisionId'],_0x33c077=[];for(const _0x5e55f1 of _0x25b5f8['nodes'])if(_0x5e55f1['is']('element'))_0x33c077['push'](this['_makeIdsRoot'](_0x5e55f1));else{for(let _0x1af6b6=0x0;_0x1af6b6<_0x5e55f1['offsetSize'];_0x1af6b6++)_0x33c077['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x5d385c=this['_revisionId'];for(let _0x483487=_0x238db3;_0x483487<_0x5d385c;_0x483487++)this['_touched']['set'](_0x483487,{'userId':_0x193a32});_0x24ff6a['_insertChild'](_0x17b551['offset'],_0x33c077);}['_handleMoveOperation'](_0x4c7520){(_0x4c7520=this['_cloneOperation'](_0x4c7520,this['_idsRoots']))['_execute']();const _0x31ca9d=null===_0x4c7520['_authorId']?null:_0x4c7520['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x443c29=_0x4c7520['getMovedRangeStart'](),_0x3fbb96=_0x443c29['parent'],_0xfe3df3=_0x443c29['offset'];!function _0x18d814(_0xe4159,_0x13c3d3,_0xf13b94,_0x1c5bed){for(let _0x17a9ae=_0xf13b94;_0x17a9ae<_0x1c5bed;_0x17a9ae++){const _0x356476=_0x13c3d3['getChild'](_0x17a9ae);_0x356476['is']('element','$text')?_0xe4159['set'](_0x356476['getAttribute']('vid'),{'userId':_0x31ca9d}):(_0xe4159['set'](_0x356476['getAttribute']('vid_start'),{'userId':_0x31ca9d}),_0x18d814(_0xe4159,_0x356476,0x0,_0x356476['childCount']),_0xe4159['set'](_0x356476['getAttribute']('vid_end'),{'userId':_0x31ca9d}));}}(this['_touched'],_0x3fbb96,_0xfe3df3,_0xfe3df3+_0x4c7520['howMany']);}['_handleMergeOperation'](_0x226f9f){const _0x233864=null===(_0x226f9f=this['_cloneOperation'](_0x226f9f,this['_idsRoots']))['_authorId']?null:_0x226f9f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x251925=_0x226f9f['targetPosition']['parent'],_0x1d9aa5=_0x226f9f['sourcePosition']['parent'],_0xe84f16=_0x251925['getAttribute']('vid_end'),_0x3478de=_0x1d9aa5['getAttribute']('vid_start');_0x251925['_setAttribute']('vid_end',_0x1d9aa5['getAttribute']('vid_end')),_0x1d9aa5['_setAttribute']('vid_end',_0xe84f16),this['_touched']['set'](_0x3478de,{'userId':_0x233864}),this['_touched']['set'](_0xe84f16,{'userId':_0x233864}),_0x226f9f['_execute']();}['_handleSplitOperation'](_0x501695){const _0x3825d2=null===(_0x501695=this['_cloneOperation'](_0x501695,this['_idsRoots']))['_authorId']?null:_0x501695['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3a0775=_0x501695['graveyardPosition'],_0x4a34b2=_0x501695['splitPosition']['parent'];_0x501695['_execute']();const _0x487d24=_0x4a34b2['getAttribute']('vid_end'),_0x47de09=_0x501695['insertionPosition']['nodeAfter'];if(_0x3a0775){const _0x120725=_0x47de09['getAttribute']('vid_end'),_0x51763d=_0x4a34b2['getAttribute']('vid_end');_0x4a34b2['_setAttribute']('vid_end',_0x120725),_0x47de09['_setAttribute']('vid_end',_0x51763d),this['_touched']['set'](_0x4a34b2['getAttribute']('vid_end'),{'userId':_0x3825d2}),this['_touched']['set'](_0x47de09['getAttribute']('vid_start'),{'userId':_0x3825d2});}else{const _0x5a17b2=this['_revisionId']++,_0x55a765=this['_revisionId']++;_0x4a34b2['_setAttribute']('vid_end',_0x5a17b2),_0x47de09['_setAttribute']('vid_start',_0x55a765),_0x47de09['_setAttribute']('vid_end',_0x487d24),this['_touched']['set'](_0x5a17b2,{'userId':_0x3825d2}),this['_touched']['set'](_0x55a765,{'userId':_0x3825d2});}}['_handleMarkerOperation'](_0x3c172d){if(!_0x3c172d['affectsData'])return;const _0x4c4266=(_0x3c172d=this['_cloneOperation'](_0x3c172d,this['_diffRoots']))['oldRange']?_0x3c172d['oldRange']['root']:null,_0x5a5b50=_0x3c172d['newRange']?_0x3c172d['newRange']['root']:null;_0x4c4266&&this['_markers']['delete'](_0x3c172d['name']),_0x5a5b50&&this['_markers']['set'](_0x3c172d['name'],_0x3c172d['newRange']['clone']());const _0x563e0f=null===_0x3c172d['_authorId']?null:_0x3c172d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1a340e=_0x3c172d['name'];if(!this['_touchedMarkers']['has'](_0x1a340e))return void this['_touchedMarkers']['set'](_0x1a340e,{'range':_0x3c172d['oldRange'],'userId':_0x563e0f});const _0x4b67ad=this['_touchedMarkers']['get'](_0x1a340e),_0x3fb349=_0x4b67ad['range'],_0x1b2e3d=_0x3c172d['newRange'];null==_0x3fb349&&null==_0x1b2e3d||_0x3fb349&&_0x1b2e3d&&_0x3fb349['isEqual'](_0x1b2e3d)?this['_touchedMarkers']['delete'](_0x3c172d['name']):_0x4b67ad['userId']=_0x563e0f;}['_handleRootOperation'](_0x140bcc,_0x13d837){this['_diffRoots']['has'](_0x140bcc['rootName'])?this['_diffRoots']['get'](_0x140bcc['rootName'])['_isAttached']=_0x140bcc['isAdd']:(this['_diffRoots']['set'](_0x140bcc['rootName'],G(_0x140bcc['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x140bcc['rootName'],{}),_0x13d837&&this['_idsRoots']['set'](_0x140bcc['rootName'],G(_0x140bcc['rootName'],!0x0)));const _0x26ab42=null===_0x140bcc['_authorId']?null:_0x140bcc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2429e9=this['_touchedRoots']['get'](_0x140bcc['rootName']);_0x2429e9&&_0x2429e9['userId']===_0x26ab42?this['_touchedRoots']['delete'](_0x140bcc['rootName']):this['_touchedRoots']['set'](_0x140bcc['rootName'],{'userId':_0x26ab42,'isAttached':_0x140bcc['isAdd']});}['_handleRootAttributeOperation'](_0x4f5eb7){const _0x34c46f=this['_diffRootsAttributes']['get'](_0x4f5eb7['root']['rootName']);null===_0x4f5eb7['newValue']?delete _0x34c46f[_0x4f5eb7['key']]:_0x34c46f[_0x4f5eb7['key']]=_0x4f5eb7['newValue'];}}function q(_0x3d1ed2){const _0x4ff1a0=G(_0x3d1ed2['rootName'],_0x3d1ed2['isAttached']());for(const _0x32504c of _0x3d1ed2['getChildren']()){const _0x32224a=_0x32504c['_clone'](!0x0);_0x4ff1a0['_appendChild'](_0x32224a);}return _0x4ff1a0;}function G(_0x1029b9,_0x2dcdc8=!0x0){const _0x2e5d15=new wt();return _0x2e5d15['rootName']=_0x1029b9,_0x2e5d15['_isAttached']=_0x2dcdc8,_0x2e5d15['isAttached']=()=>_0x2e5d15['_isAttached'],_0x2e5d15;}function L(_0x703b23,_0xb0d93c,_0x5a006a){const _0x52fa36='elementEnd'==_0x703b23['type']?_0x5a006a['createPositionAt'](_0x703b23['item'],'end'):_0x5a006a['createPositionBefore'](_0x703b23['item']);return _0x5a006a['createPositionFromPath'](_0xb0d93c,_0x52fa36['path'],_0x52fa36['stickiness']);}function W(_0x103c12,_0x49b9ae,_0x55097d){const _0x5e44fe='elementStart'==_0x103c12['type']?_0x55097d['createPositionAt'](_0x103c12['item'],0x0):_0x55097d['createPositionAfter'](_0x103c12['item']);return _0x55097d['createPositionFromPath'](_0x49b9ae,_0x5e44fe['path'],_0x5e44fe['stickiness']);}class ns extends _0x2b7a2f{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x3de613,_0x54ef0d){super(_0x3de613),this['focusTracker']=new _0x51992b(),this['keystrokes']=new _0xae26de(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x54ef0d),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x2751ee({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x26ef49=_0x31ec27=>_0x31ec27['stopPropagation']();this['keystrokes']['set']('arrowright',_0x26ef49),this['keystrokes']['set']('arrowleft',_0x26ef49),this['keystrokes']['set']('arrowup',_0x26ef49),this['keystrokes']['set']('arrowdown',_0x26ef49);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x413e81){this['revisionNameInputView']['fieldView']['element']['value']=_0x413e81['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x259d1e){const _0x43338c=new at(this['locale'],_0x5174e8),_0x5da51d=_0x43338c['fieldView'];_0x5da51d['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5006c8=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x259d1e&&(_0x5006c8+='\x20('+y(this['locale'],'optional')+')'),(_0x43338c['label']=_0x5006c8,_0x5da51d['on']('input',()=>{this['revisionNameInputValue']=_0x5da51d['element']['value']['trim']();}),_0x43338c);}}class u extends _0x1f283b{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x551716=this['editor'],_0x3c1f2b=_0x551716['plugins']['get']('RevisionTracker');_0x551716['ui']['componentFactory']['add']('revisionHistory',_0x31e010=>{const _0x1f1619=_0x30816c(_0x31e010),_0x2aad8f=_0x1f1619['panelView']['children'],_0x2f8cce=new te(_0x31e010),_0x3224a0=new _0x59e370(_0x31e010),_0x2e290c=new _0x40b8fe(_0x31e010),_0x5e18a4=new _0x59e370(_0x31e010),_0x4faf9c=new _0x40b8fe(_0x31e010);return _0x1f1619['bind']('isEnabled')['to'](_0x3c1f2b,'isReady',_0x3c1f2b,'isEnabled',_0x551716,'isReadOnly',(_0x5d9e1e,_0x2bc9c4,_0xbdbed0)=>_0x5d9e1e&&_0x2bc9c4&&!_0xbdbed0),_0x1f1619['buttonView']['set']({'icon':_0x598a32['history'],'label':y(_0x31e010,'Revision\x20history'),'tooltip':!0x0}),_0x2e290c['set']({'label':y(_0x31e010,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2e290c['bind']('isEnabled')['to'](_0x3c1f2b,'isReady',_0x3c1f2b,'isEnabled',_0x551716,'isReadOnly',(_0x3edf8d,_0x16dc9b,_0x79aef7)=>_0x3edf8d&&_0x16dc9b&&!_0x79aef7),_0x2e290c['on']('execute',()=>this['_showDialog']()),_0x4faf9c['set']({'label':y(_0x31e010,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4faf9c['bind']('isEnabled')['to'](_0x3c1f2b,'isReady',_0x551716,'isReadOnly',(_0x5013be,_0x4c7b13)=>_0x5013be&&!_0x4c7b13),_0x4faf9c['on']('execute',()=>{_0x551716['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1f1619['isOpen']=!0x1,_0x551716['editing']['view']['focus']();}),_0x3224a0['children']['add'](_0x2e290c),_0x5e18a4['children']['add'](_0x4faf9c),_0x2f8cce['role']='menu',_0x2f8cce['items']['addMany']([_0x3224a0,_0x5e18a4]),_0x2aad8f['add'](_0x2f8cce),_0x1f1619;}),_0x551716['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x287e97=this['editor'],_0x5a1b1b=_0x287e97['locale'],_0x2754a4=new _0x5c80ed(_0x5a1b1b),_0x378158=new _0x4b986b(_0x5a1b1b);_0x2754a4['buttonView']['set']({'icon':_0x598a32['history'],'label':y(_0x5a1b1b,'Revision\x20history')});const _0x5d85ae=new _0x4c1e0a(_0x5a1b1b,_0x2754a4),_0x4bf4f2=new _0x2ae9e4(_0x5a1b1b);_0x4bf4f2['set']({'label':y(_0x5a1b1b,'Save\x20current\x20revision')}),_0x4bf4f2['delegate']('execute')['to'](_0x2754a4),_0x4bf4f2['on']('execute',()=>{this['_showDialog']();}),_0x5d85ae['children']['add'](_0x4bf4f2),_0x378158['items']['add'](_0x5d85ae);const _0x45ceb6=new _0x4c1e0a(_0x5a1b1b,_0x2754a4),_0x34a6d4=new _0x2ae9e4(_0x5a1b1b);return _0x34a6d4['set']({'label':y(_0x5a1b1b,'Open\x20revision\x20history')}),_0x34a6d4['delegate']('execute')['to'](_0x2754a4),_0x34a6d4['on']('execute',()=>{_0x287e97['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x45ceb6['children']['add'](_0x34a6d4),_0x378158['items']['add'](_0x45ceb6),_0x2754a4['panelView']['children']['add'](_0x378158),_0x2754a4;}['_showDialog'](){const _0x2240e0=this['editor'],_0x7c6540=_0x2240e0['locale'],_0x3446ec=_0x2240e0['plugins']['get']('Dialog'),_0x5716ff=_0x2240e0['plugins']['get']('RevisionTracker');function _0x1e73f6(_0x28b68e){_0x2240e0['config']['get']('revisionHistory.requireRevisionName')&&''===_0x28b68e['revisionName']?_0x28b68e['revisionNameInputView']['errorText']=y(_0x7c6540,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2240e0['plugins']['get'](l)['saveRevision']({'name':_0x28b68e['revisionName']}),_0x3446ec['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x1e73f6(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3446ec['show']({'id':'revisionSave','title':y(_0x7c6540,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x2240e0['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x3446ec['hide']()},{'label':y(_0x2240e0['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x221723){_0x221723['bind']('isEnabled')['to'](_0x5716ff,'isReady',_0x5716ff,'isEnabled',_0x2240e0,'isReadOnly',(_0x22184d,_0x313d6d,_0x21fb14)=>_0x22184d&&_0x313d6d&&!_0x21fb14);},'onExecute':()=>_0x1e73f6(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0xf2cf85=this['editor'],_0x26564b=_0xf2cf85['locale'];this['_saveRevisionFormView']=new ns(_0x26564b,_0xf2cf85['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x2b7a2f{['changeId'];['_model'];constructor(_0x51b45b,_0x4339de){super(_0x51b45b),this['_model']=_0x4339de,this['changeId']=_0x4339de['id'];const _0x2ed82f=this['bindTemplate'],_0x6af3f6=y(_0x51b45b,_0x4339de['data']['isSuggestion']?'Suggested\x20by':'add'==_0x4339de['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x4339de['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2ed82f['to']('type',_0x205b99=>'ck-revision-change__'+_0x205b99)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x6af3f6}]},{'text':'\x20'+_0x4339de['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x1195df(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1a954a){super(),this['id']=_0x1a954a['id']||_0x45c6d0(),this['author']=_0x1a954a['author'],this['type']=_0x1a954a['type'],this['data']=_0x1a954a['data']||{},this['rootName']=_0x1a954a['rootName'],this['set']('createdAt',_0x1a954a['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x254e3b,_0x46f726){this['newRevisionId']=_0x254e3b,this['oldRevisionId']=_0x46f726,this['changes']=new _0x1438a1();}['_setChanges'](_0x2bcff0){for(const _0x208b73 of _0x2bcff0)this['changes']['add'](_0x208b73);}}const tt={'c':_0x1fb502,'a':_0x280fde,'e':_0x4b76d7,'r':_0x28c7d3,'u':_0x892f8};class d extends _0x1f283b{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x3e0ee0,_0x398c9a,A];}constructor(_0x1eb5e0){super(_0x1eb5e0),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x3745fd,_0x41160f,_0x2a6f4c)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5800ea=>{for(const _0x478979 of this['editor']['editing']['view']['document']['roots'])_0x2a6f4c?_0x5800ea['removeClass']('ck-editor__editable__overlay',_0x478979):_0x5800ea['addClass']('ck-editor__editable__overlay',_0x478979);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x289cbe=>null!==_0x289cbe),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1305b6,_0x29a0a4,_0x548643)=>_0x1305b6&&_0x548643?_0x29a0a4['changes']['getIndex'](_0x548643):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x2d0bf0,_0x1f7e3f)=>_0x2d0bf0?_0x1f7e3f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x398c9a);}['init'](){const _0x4a898f=this['editor'],_0x30138d=new yt(_0x4a898f,{'direction':'backward'}),_0x36161d=new yt(_0x4a898f,{'direction':'forward'});(_0x4a898f['commands']['add']('showPreviousChange',_0x30138d),_0x4a898f['commands']['add']('showNextChange',_0x36161d),_0x4a898f['commands']['add']('restoreRevision',new bt(_0x4a898f)),this['on']('change:numberOfChanges',()=>{_0x30138d['refresh'](),_0x36161d['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4a898f['enableReadOnlyMode']('revision-viewer'),_0x4a898f['plugins']['has']('WidgetToolbarRepository'))&&_0x4a898f['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2be551){await this['loadRevisionData'](_0x2be551);const _0x8c829d={};for(const _0xdbb52b in _0x2be551['diffData']){if(_0x2be551['diffData'][_0xdbb52b]['attachChange']&&!_0x2be551['diffData'][_0xdbb52b]['attachChange']['isAttached'])continue;const _0x5cfe20=this['_removeRevisionMarkers'](JSON['parse'](_0x2be551['diffData'][_0xdbb52b]['insertions'])),_0x1b4bcb=this['editor']['editing']['view']['document'],_0x4bc071=new _0x3c197f(_0x1b4bcb,_0x5cfe20['map'](_0x46537c=>this['_getViewObj'](_0x46537c)));this['editor']['data']['processor']['useFillerType']('marked'),_0x8c829d[_0xdbb52b]=this['editor']['data']['processor']['toData'](_0x4bc071),this['editor']['data']['processor']['useFillerType']('default');}return _0x8c829d;}async['getRevisionRootsAttributes'](_0x3e9f49){await this['loadRevisionData'](_0x3e9f49);const _0x53b6cb={};for(const _0x1f683d in _0x3e9f49['diffData'])_0x3e9f49['diffData'][_0x1f683d]['attachChange']&&!_0x3e9f49['diffData'][_0x1f683d]['attachChange']['isAttached']||(_0x53b6cb[_0x1f683d]=_0x3e9f49['diffData'][_0x1f683d]['attributesAfter']||{});return _0x53b6cb;}['_removeRevisionMarkers'](_0x32836d){return(_0x32836d=_0x32836d['filter'](_0x413588=>!_0x413588['name']||'revision-start'!==_0x413588['name']&&'revision-end'!==_0x413588['name']))['forEach'](_0x156e45=>{'string'!=typeof _0x156e45&&(_0x156e45['children']=this['_removeRevisionMarkers'](_0x156e45['children']),_0x156e45['attributes']=_0x156e45['attributes']['filter'](_0x21834e=>!_0x21834e[0x0]['startsWith']('data-revision-')));}),_0x32836d;}async['compare'](_0x403514,_0x5c44b7,_0x561d57=!0x1){if(!this['isEnabled'])return;const _0x58e0b8=this['diff'],_0x35445e=this['repository'],_0x225b16='string'==typeof _0x403514?_0x35445e['getRevision'](_0x403514):_0x403514,_0x27c079='string'==typeof _0x5c44b7?_0x35445e['getRevision'](_0x5c44b7):_0x5c44b7,_0x38b577=_0x225b16['id'],_0x53dcd5=_0x27c079?_0x27c079['id']:null;if(!_0x561d57&&this['diff']&&this['diff']['newRevisionId']===_0x38b577&&this['diff']['oldRevisionId']===_0x53dcd5)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x38b577,_0x53dcd5);const _0x241820=this['_getRevisionsRange'](_0x225b16,_0x27c079,!0x0)['map'](_0x1db6c9=>this['loadRevisionData'](_0x1db6c9));return _0x241820['push'](new Promise(_0x326ec8=>{setTimeout(_0x326ec8,0x14);})),Promise['all'](_0x241820)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1944c2=this['_getDiff'](_0x38b577,_0x53dcd5);for(const _0x508c39 of _0x1944c2['changes'])this['_changeIdToChange']['set'](_0x508c39['id'],_0x508c39);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x3c4dd8=>{for(const _0x1ec921 of this['editor']['model']['document']['getRootNames']())_0x3c4dd8['detachRoot'](_0x1ec921);for(const _0x1795cd of Object['keys'](_0x1944c2['model'])){const _0x54341d=_0x3c4dd8['addRoot'](_0x1795cd);for(const _0x3800c6 of Object['keys'](_0x1944c2['attributes'][_0x1795cd]))_0x3c4dd8['setAttribute'](_0x3800c6,_0x1944c2['attributes'][_0x1795cd][_0x3800c6],_0x54341d);_0x3c4dd8['insert'](_0x1944c2['model'][_0x1795cd],_0x54341d,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1944c2['changes'])),this['isReady']=!0x0;})['catch'](_0x1e6193=>{console['error'](_0x1e6193),this['_cleanUp'](),_0x58e0b8&&(this['diff']=_0x58e0b8),this['isReady']=!0x0;});}['addRevisionData'](_0x49fbd5,_0xba0ae7){const _0x46cec2=this['repository']['createRevision'](_0x49fbd5);return _0x46cec2['on']('_update',(_0x458046,_0x1cceb7,_0x14caf4)=>_0xba0ae7(_0x1cceb7,_0x14caf4,_0x46cec2)),this['repository']['addRevision'](_0x46cec2),_0x46cec2;}['loadRevisionData'](_0x5007df){if(!_0x5007df||_0x5007df['diffData'])return Promise['resolve']();{const _0xc868f8=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xc868f8,'revisionId':_0x5007df['id']})['then'](_0x1b6d5f=>{_0x5007df['_update']({'diffData':_0x1b6d5f['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x60fe66=>{for(const _0x394d38 of this['editor']['model']['document']['getRootNames']())_0x60fe66['detachRoot'](_0x394d38);});}['_sortAndFilterDiffChanges'](_0x5c9e05){const _0x3b6e7b=[],_0x15bad4=new Map();for(const _0x55a27a of this['editor']['model']['document']['getRootNames']()){const _0x2e8ca0=this['editor']['editing']['view']['getDomRoot'](_0x55a27a);if(!_0x2e8ca0)continue;const _0x3c4503=_0x2e8ca0['getClientRects']()['item'](0x0);_0x3c4503&&(_0x3b6e7b['push'](_0x55a27a),_0x15bad4['set'](_0x55a27a,_0x3c4503));}return _0x3b6e7b['sort']((_0x274af1,_0x4bdb00)=>{const _0x1803c5=_0x15bad4['get'](_0x274af1),_0x41f0a0=_0x15bad4['get'](_0x4bdb00);return _0x1803c5['y']-_0x41f0a0['y']||_0x1803c5['x']-_0x41f0a0['x'];}),(_0x5c9e05=_0x5c9e05['filter'](_0x356b4c=>_0x3b6e7b['includes'](_0x356b4c['rootName'])))['sort']((_0x30b5e4,_0x2920b5)=>_0x3b6e7b['indexOf'](_0x30b5e4['rootName'])-_0x3b6e7b['indexOf'](_0x2920b5['rootName'])),_0x5c9e05;}['_makeTape'](_0xbd7189){const _0x28a39b=Array['from'](_0xbd7189['markers'])['filter'](([_0x522044,_0x2acd75])=>_0x522044['startsWith']('revision:')&&!_0x2acd75['isCollapsed']),_0x27e68d=Array['from'](this['editor']['model']['createRangeIn'](_0xbd7189)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x28a39b['length'])for(const _0xcccaca of _0x27e68d){const [_0x254ab4,_0x2e8b3e]=_0x28a39b[0x0],[,_0x4b03fa,_0x2bd186]=_0x254ab4['split'](':');if(_0x2e8b3e['end']['isEqual'](_0xcccaca['nextPosition'])&&_0x28a39b['shift'](),(_0xcccaca['previousPosition']['isEqual'](_0x2e8b3e['start'])||_0xcccaca['previousPosition']['isAfter'](_0x2e8b3e['start']))&&('insertion'==_0x4b03fa?_0xcccaca['isAdded']={'userId':_0x2bd186}:'deletion'==_0x4b03fa&&(_0xcccaca['isRemoved']={'userId':_0x2bd186})),0x0==_0x28a39b['length'])break;}return _0x27e68d;}['_refreshStartEndIndex'](_0x267699){const _0xc0bdd7=new Map();for(let _0x6a2f6c=0x0;_0x6a2f6c<_0x267699['length'];_0x6a2f6c++)'text'===_0x267699[_0x6a2f6c]['type']?(_0x267699[_0x6a2f6c]['item']['startIndex']=_0x6a2f6c,_0x267699[_0x6a2f6c]['item']['endIndex']=_0x6a2f6c):('elementStart'===_0x267699[_0x6a2f6c]['type']?_0x267699[_0x6a2f6c]['item']['startIndex']=_0x6a2f6c:'elementEnd'===_0x267699[_0x6a2f6c]['type']&&(_0x267699[_0x6a2f6c]['item']['endIndex']=_0x6a2f6c),_0xc0bdd7['set'](_0x267699[_0x6a2f6c]['id'],_0x6a2f6c));for(const _0x102d75 of _0xc0bdd7['values']())'elementStart'===_0x267699[_0x102d75]['type']?_0x267699[_0x102d75]['item']['endIndex']=_0xc0bdd7['get'](_0x267699[_0x102d75]['pairId']):'elementEnd'===_0x267699[_0x102d75]['type']&&(_0x267699[_0x102d75]['item']['startIndex']=_0xc0bdd7['get'](_0x267699[_0x102d75]['pairId']));}['_processTape'](_0x189d4b){for(let _0x38e90f=0x0;_0x38e90f<_0x189d4b['length'];_0x38e90f++){if('elementStart'===_0x189d4b[_0x38e90f]['type'])_0x189d4b[_0x38e90f]['item']['startIndex']=_0x38e90f;else{if('elementEnd'===_0x189d4b[_0x38e90f]['type']){_0x189d4b[_0x38e90f]['item']['endIndex']=_0x38e90f;const _0x5c0963=_0x189d4b[_0x38e90f]['item']['startIndex'];_0x189d4b[_0x5c0963]['pairId']=_0x189d4b[_0x38e90f]['id'],_0x189d4b[_0x38e90f]['pairId']=_0x189d4b[_0x5c0963]['id'];}else _0x189d4b[_0x38e90f]['item']['startIndex']=_0x38e90f,_0x189d4b[_0x38e90f]['item']['endIndex']=_0x38e90f,_0x189d4b[_0x38e90f]['pairId']=null;}_0x189d4b[_0x38e90f]['markersStart']||(_0x189d4b[_0x38e90f]['markersStart']=[],_0x189d4b[_0x38e90f]['markersEnd']=[]);}}['_markInsertions'](_0x5c7023,_0x5b2700){const _0x76ca7e=_0x5c7023['filter'](_0x5954c4=>!_0x5954c4['isAdded']);for(let _0x3c4195=0x0;_0x3c4195<_0x5b2700['length'];_0x3c4195++)_0x5b2700[_0x3c4195]['isAdded']&&(_0x76ca7e[_0x3c4195]['isAdded']=_0x5b2700[_0x3c4195]['isAdded']);}['_makeModelFromViewString'](_0x134b13){const _0x300cef=JSON['parse'](_0x134b13),_0x41f21f=this['editor']['editing']['view']['document'],_0x4e9479=new _0x3c197f(_0x41f21f,_0x300cef['map'](_0x52a569=>this['_getViewObj'](_0x52a569)));return this['editor']['data']['toModel'](_0x4e9479);}['_getViewObj'](_0x4cdccb){const _0x5d3a5a=this['editor']['editing']['view']['document'];if('string'==typeof _0x4cdccb)return new _0x19a561(_0x5d3a5a,_0x4cdccb);{const _0x58199f=_0x4cdccb['children']['map'](_0x299574=>this['_getViewObj'](_0x299574));return new(tt[_0x4cdccb['type']]||_0x2e5a64)(_0x5d3a5a,_0x4cdccb['name'],_0x4cdccb['attributes'],_0x58199f);}}['_getDiff'](_0x3400f1,_0x3dfbb8=null){const _0x43a2d9=this['repository']['getRevision'](_0x3400f1),_0x4478e3=_0x3dfbb8?this['repository']['getRevision'](_0x3dfbb8):null,_0x28be1=this['_getRevisionsRange'](_0x43a2d9,_0x4478e3),_0x1c15ce=_0x28be1[_0x28be1['length']-0x1],_0x25f03f=new Map(),_0x27f09f={'model':{},'attributes':{},'changes':[]},_0x5e8481=new Set(),_0x58bfb9=new Map();for(let _0x65db8d=_0x28be1['length']-0x1;_0x65db8d>=0x0;_0x65db8d--){const _0x580179=_0x28be1[_0x65db8d];for(const _0x552545 of Object['keys'](_0x580179['diffData']))if(_0x580179['diffData'][_0x552545]['attachChange']){const _0x445936=_0x580179['diffData'][_0x552545]['attachChange'];_0x445936['isAttached']?(_0x5e8481['add'](_0x552545),_0x58bfb9['has'](_0x552545)&&_0x58bfb9['get'](_0x552545)['userId']==_0x445936['userId']?_0x58bfb9['delete'](_0x552545):_0x58bfb9['set'](_0x552545,_0x445936)):_0x58bfb9['has'](_0x552545)?(_0x5e8481['delete'](_0x552545),_0x58bfb9['delete'](_0x552545)):(_0x5e8481['add'](_0x552545),_0x58bfb9['set'](_0x552545,_0x445936));}else _0x5e8481['add'](_0x552545);}for(const _0x5462a of _0x5e8481){const _0x558d06=_0x58bfb9['has'](_0x5462a)&&!_0x58bfb9['get'](_0x5462a)['isAttached'];let _0x1bc6a9=_0x558d06?_0x28be1['length']-0x1:0x0;const _0x1c23af=_0x558d06?-0x1:0x1;for(;_0x28be1[_0x1bc6a9];){const _0x14686d=_0x28be1[_0x1bc6a9];if(_0x14686d['diffData'][_0x5462a]){const _0x51eb4f=_0x558d06?_0x14686d['diffData'][_0x5462a]['attributesBefore']:_0x14686d['diffData'][_0x5462a]['attributesAfter'];_0x27f09f['attributes'][_0x5462a]=_0x51eb4f?_0x165bb8(_0x51eb4f):{};break;}_0x1bc6a9+=_0x1c23af;}}for(const _0xb020ea of _0x28be1){_0xb020ea['model']={};for(const _0x3de66b of _0xb020ea['authors'])_0x25f03f['set'](_0x3de66b['id'],_0x3de66b);for(const _0x32077c of _0x5e8481){const _0x2122c7=_0xb020ea['diffData'][_0x32077c]?_0xb020ea['diffData'][_0x32077c]['insertions']:'[]',_0x3c0cd5=_0xb020ea['diffData'][_0x32077c]?_0xb020ea['diffData'][_0x32077c]['deletions']:'[]';_0xb020ea['model'][_0x32077c]={'insertions':this['_makeModelFromViewString'](_0x2122c7),'deletions':this['_makeModelFromViewString'](_0x3c0cd5)};}}for(const _0x245ff8 of _0x5e8481){let _0x2ad8b1=null,_0x517632=0x0;const _0x916d3f=new Map(Array['from'](_0x43a2d9['model'][_0x245ff8]['insertions']['markers'])['filter'](([_0x539bfe])=>!_0x539bfe['startsWith']('revision:')));let _0x3e767c=0x0;for(const _0x24696e of _0x28be1){const _0x1e5629=this['_makeTape'](_0x24696e['model'][_0x245ff8]['insertions']);_0x24696e==_0x43a2d9?(_0x2ad8b1=_0x1e5629,_0x517632=_0x2ad8b1['length'],_0x2ad8b1['forEach'](_0x2adcae=>{_0x2adcae['id']=_0x3e767c++;}),this['_processTape'](_0x2ad8b1)):this['_markInsertions'](_0x2ad8b1,_0x1e5629);const _0x4cdde8=_0x2ad8b1['filter'](_0x14911d=>!_0x14911d['isAdded'])['map'](_0x20f945=>_0x20f945['id']);let _0x2c7a9c=0x0;const _0x4ab6c0=this['_makeTape'](_0x24696e['model'][_0x245ff8]['deletions']);_0x4ab6c0['forEach'](_0x4eb1ae=>{_0x4eb1ae['isRemoved']?_0x4eb1ae['id']=_0x517632++:_0x4eb1ae['id']=_0x4cdde8[_0x2c7a9c++];}),this['_processTape'](_0x4ab6c0),this['_setDistance'](_0x2ad8b1,'isAdded'),this['_setDistance'](_0x4ab6c0,'isRemoved'),_0x24696e==_0x43a2d9&&this['_markMarkers'](_0x2ad8b1,_0x916d3f),_0x2ad8b1=this['_joinTapes'](_0x2ad8b1,_0x4ab6c0),this['_refreshStartEndIndex'](_0x2ad8b1),this['_setDistance'](_0x2ad8b1,'isRemoved');}_0x2ad8b1=_0x2ad8b1['filter'](_0x54dcf0=>!(_0x54dcf0['isAdded']&&_0x54dcf0['isRemoved']));const _0x26cea0=new Map(_0x1c15ce['model'][_0x245ff8]['deletions']['markers']),_0x53eeee=new Set(_0x916d3f['keys']());for(const _0x4f9a7b of _0x26cea0['keys']())_0x53eeee['delete'](_0x4f9a7b);this['_markSuggestions'](_0x2ad8b1,_0x53eeee),this['_fixObsoleteTags'](_0x2ad8b1),_0x2ad8b1=this['_removeMissingPairs'](_0x2ad8b1),_0x2ad8b1=this['_markMismatchedRemovedTags'](_0x2ad8b1),_0x2ad8b1=this['_removeUnsupportedChanges'](_0x2ad8b1);const {root:_0x4f2ec3,changes:_0x6b7129}=this['_makeModelFromTape'](_0x2ad8b1,_0x25f03f,_0x245ff8);_0x27f09f['model'][_0x245ff8]=_0x4f2ec3;const _0x308684=_0x58bfb9['get'](_0x245ff8);if(_0x308684){const _0x262290=_0x25f03f['get'](_0x308684['userId']),_0x5e9eb6=new r({'author':_0x262290,'type':_0x308684['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x245ff8});_0x6b7129['unshift'](_0x5e9eb6),_0x27f09f['attributes'][_0x245ff8]['revisionHistoryAttachChange']=_0x5e9eb6['id'];}_0x27f09f['changes']=_0x27f09f['changes']['concat'](_0x6b7129);}return _0x27f09f;}['_markMarkers'](_0x101185,_0x2e4ec4){for(let _0x2eb513=0x0;_0x2eb513<_0x101185['length'];_0x2eb513++)for(const [_0x4356d1,_0x1f08ff]of _0x2e4ec4)_0x1f08ff['start']['isEqual'](_0x101185[_0x2eb513]['previousPosition'])&&_0x101185[_0x2eb513]['markersStart']['push'](_0x4356d1),_0x1f08ff['end']['isEqual'](_0x101185[_0x2eb513]['nextPosition'])&&_0x101185[_0x2eb513]['markersEnd']['push'](_0x4356d1);}['_joinTapes'](_0x217d8f,_0x2ad3ed){let _0x43f547=[],_0x236dc0=0x0,_0x315e78=0x0;for(;_0x236dc0<_0x217d8f['length']||_0x315e78<_0x2ad3ed['length'];){const _0x1fd944=_0x217d8f[_0x236dc0]||{},_0x381576=_0x2ad3ed[_0x315e78]||{};if(_0x1fd944['id']==_0x381576['id'])_0x236dc0++,_0x315e78++,_0x43f547['push'](_0x1fd944);else{if(_0x381576['isRemoved']&&_0x1fd944['isAdded']){const {commonTape:_0xa7b828,iEnd:_0x3e0315,jEnd:_0x5f4da2}=this['_threeWayMerge'](_0x217d8f,_0x236dc0,_0x2ad3ed,_0x315e78);_0x43f547=_0x43f547['concat'](_0xa7b828),_0x236dc0=_0x3e0315,_0x315e78=_0x5f4da2;}else _0x381576['isRemoved']?(_0x315e78++,_0x43f547['push'](_0x381576)):(_0x236dc0++,_0x43f547['push'](_0x1fd944));}}return _0x43f547;}['_markSuggestions'](_0x306436,_0x487866){const _0x334310=[];for(let _0x8c96b0=0x0;_0x8c96b0<_0x306436['length'];_0x8c96b0++){for(let _0x5bb6bc=0x0;_0x5bb6bc<_0x306436[_0x8c96b0]['markersStart']['length'];_0x5bb6bc++){const _0x26059e=_0x306436[_0x8c96b0]['markersStart'][_0x5bb6bc];if(!_0x487866['has'](_0x26059e))continue;const {group:_0x379507,type:_0x3576a1,authorId:_0x544d74}=_0xd91675(_0x26059e);'revision-suggestion'!=_0x379507||'insertion'!=_0x3576a1&&'deletion'!=_0x3576a1||(_0x334310['unshift']({'type':_0x3576a1,'name':_0x26059e,'userId':_0x544d74}),_0x306436[_0x8c96b0]['markersStart']['splice'](_0x5bb6bc,0x1),_0x5bb6bc--);}_0x1ec2d8(_0x306436[_0x8c96b0]);for(let _0x435f81=0x0;_0x435f81<_0x306436[_0x8c96b0]['markersEnd']['length'];_0x435f81++){const _0x2c0d1d=_0x306436[_0x8c96b0]['markersEnd'][_0x435f81];if(!_0x487866['has'](_0x2c0d1d))continue;const {group:_0x2687d1,type:_0x314637}=_0xd91675(_0x2c0d1d);if('revision-suggestion'!=_0x2687d1||'insertion'!=_0x314637&&'deletion'!=_0x314637)continue;_0x306436[_0x8c96b0]['markersEnd']['splice'](_0x435f81,0x1),_0x435f81--;const _0xc90050=_0x334310['findIndex'](_0x40ec85=>_0x40ec85['name']==_0x2c0d1d);_0xc90050>-0x1&&_0x334310['splice'](_0xc90050,0x1);}}function _0xd91675(_0x1cd42c){const _0x2eb7d4=_0x1cd42c['split'](':');return{'group':_0x2eb7d4[0x0],'type':_0x2eb7d4[0x1],'subType':_0x2eb7d4['length']>=0x5?_0x2eb7d4[0x2]:null,'id':_0x2eb7d4['length']<0x5?_0x2eb7d4[0x2]:_0x2eb7d4[0x3],'authorId':_0x2eb7d4['length']<0x5?_0x2eb7d4[0x3]:_0x2eb7d4[0x4],'markerCount':0x6==_0x2eb7d4['length']?_0x2eb7d4[0x5]:null};}function _0x1ec2d8(_0x5dc385){for(let _0x145a2=0x0;_0x145a2<_0x334310['length'];_0x145a2++){if(_0x5dc385['isAdded']&&'insertion'==_0x334310[_0x145a2]['type'])return _0x5dc385['isAddSuggestion']=_0x334310[_0x145a2],void delete _0x5dc385['isAdded'];if(!_0x5dc385['isAdded']&&!_0x5dc385['isRemoved']&&'deletion'==_0x334310[_0x145a2]['type'])return void(_0x5dc385['isRemoveSuggestion']=_0x334310[_0x145a2]);}}}['_setDistance'](_0x20bbb,_0x130980){let _0x1534eb=0x0,_0x3525f5=!0x1;const _0x2f5359=new Map();for(const _0x3c6401 of _0x20bbb)_0x3c6401[_0x130980]?_0x3525f5&&(_0x1534eb++,_0x3525f5=!0x1):(_0x1534eb++,_0x3525f5=!0x0),_0x2f5359['set'](_0x3c6401['id'],_0x1534eb);for(let _0x5b034a=0x0;_0x5b034a<_0x20bbb['length'];_0x5b034a++){if('isRemoved'==_0x130980&&_0x20bbb[_0x5b034a]['isAdded']||'isAdded'==_0x130980&&_0x20bbb[_0x5b034a]['isRemoved'])continue;if('text'==_0x20bbb[_0x5b034a]['type']){_0x20bbb[_0x5b034a]['distance']=0x0;continue;}const _0x43e1e2=_0x2f5359['get'](_0x20bbb[_0x5b034a]['pairId']),_0x211bc8=_0x2f5359['get'](_0x20bbb[_0x5b034a]['id']);_0x20bbb[_0x5b034a]['distance']=_0x43e1e2-_0x211bc8;}}['_getRevisionsRange'](_0x46d934,_0x45bfad,_0xf2352d=!0x1){const _0x5d8db2=[];let _0x2087e5=this['repository']['getIndex'](_0x46d934),_0x238cb0=this['repository']['getIndex'](_0x45bfad);for(-0x1==_0x238cb0&&(_0x238cb0=this['repository']['_revisions']['length'],_0xf2352d=!0x1);_0x2087e5<_0x238cb0;)_0x5d8db2['push'](this['repository']['getRevision'](_0x2087e5)),_0x2087e5++;return _0xf2352d&&_0x5d8db2['push'](this['repository']['getRevision'](_0x2087e5)),_0x5d8db2;}['_threeWayMerge'](_0x31f8c0,_0x4d0a52,_0x22d742,_0x4b0a1e){const _0x51d8ae=this['editor']['model']['schema'];let _0x11357d=_0x4d0a52;for(;_0x31f8c0[_0x11357d]&&_0x31f8c0[_0x11357d]['isAdded'];)_0x11357d++;let _0x4fc305=_0x4b0a1e;for(;_0x22d742[_0x4fc305]&&_0x22d742[_0x4fc305]['isRemoved'];)_0x4fc305++;_0x17a5ff(_0x31f8c0,_0x4d0a52,_0x11357d),_0x17a5ff(_0x22d742,_0x4b0a1e,_0x4fc305);const _0x23232f=_0x22d742['slice'](_0x4b0a1e,_0x4fc305)['concat'](_0x31f8c0['slice'](_0x4d0a52,_0x11357d));return _0x23232f['sort']((_0x76555b,_0x87b308)=>_0x76555b['side']!=_0x87b308['side']?_0x76555b['side']-_0x87b308['side']:_0x76555b['level']!=_0x87b308['level']?_0x76555b['level']-_0x87b308['level']:_0x76555b['distance']!=_0x87b308['distance']?_0x87b308['distance']-_0x76555b['distance']:!!_0x76555b['isAdded']!=!!_0x87b308['isAdded']?-0x1==_0x76555b['side']||0x0==_0x76555b['side']?_0x76555b['isAdded']?-0x1:0x1:_0x76555b['isAdded']?0x1:-0x1:_0x76555b['index']-_0x87b308['index']),{'commonTape':_0x23232f,'iEnd':_0x11357d,'jEnd':_0x4fc305};function _0x17a5ff(_0xb380cd,_0x678c04,_0x12d9f5){let _0x32fe71=-0x1,_0x533db7=Number['POSITIVE_INFINITY'],_0x110398=!0x0;for(let _0x2316e7=_0x678c04;_0x2316e7<_0x12d9f5;_0x2316e7++)if(_0x51d8ae['isInline'](_0xb380cd[_0x2316e7]['item'])||(_0x110398=!0x1),_0xb380cd[_0x2316e7]['item']['startIndex']<_0x678c04&&(_0x32fe71=_0x2316e7),_0xb380cd[_0x2316e7]['item']['endIndex']>=_0x12d9f5){_0x533db7=_0x2316e7;break;}_0x110398&&(_0x32fe71=_0x12d9f5-0x1);for(let _0x30d515=_0x678c04;_0x30d515<_0x12d9f5;_0x30d515++)_0xb380cd[_0x30d515]['side']=_0x30d515<=_0x32fe71?-0x1:_0x30d515<_0x533db7?0x0:0x1,_0xb380cd[_0x30d515]['index']=_0x30d515;let _0x5d46f0=0x0;for(let _0x34afa3=_0x678c04;_0x34afa3<=_0x32fe71;_0x34afa3++)0x0==_0xb380cd[_0x34afa3]['distance']?_0xb380cd[_0x34afa3]['level']=_0x5d46f0:(_0x5d46f0++,_0xb380cd[_0x34afa3]['level']=_0x5d46f0,_0x5d46f0++);for(let _0x3e90a5=_0x678c04;_0x3e90a5<_0x12d9f5;_0x3e90a5++)0x0==_0xb380cd[_0x3e90a5]['side']&&(_0xb380cd[_0x3e90a5]['level']=_0x5d46f0);_0x5d46f0=0x0;for(let _0x4c8ad1=_0x12d9f5-0x1;_0x4c8ad1>=_0x533db7;_0x4c8ad1--)0x0==_0xb380cd[_0x4c8ad1]['distance']?_0xb380cd[_0x4c8ad1]['level']=_0x5d46f0:(_0x5d46f0--,_0xb380cd[_0x4c8ad1]['level']=_0x5d46f0,_0x5d46f0--);}}['_fixObsoleteTags'](_0x31d4c5){const _0x423d12=new Map(),_0x1f39bf=this['editor']['model']['schema'];for(let _0x49e9ca=0x1;_0x49e9ca<_0x31d4c5['length'];_0x49e9ca++){let _0x3e3adc,_0xb5c226,_0xfd9fd9;const _0x37590a=_0x31d4c5[_0x49e9ca],_0x53e65b=_0x31d4c5[_0x49e9ca-0x1];if('text'==_0x37590a['type'])continue;if(_0x37590a['type']!=_0x53e65b['type'])continue;if(!_0x1f39bf['isBlock'](_0x53e65b['item'])||_0x1f39bf['isLimit'](_0x53e65b['item']))continue;if(!_0x1f39bf['isBlock'](_0x37590a['item'])||_0x1f39bf['isLimit'](_0x37590a['item']))continue;if((_0x31d4c5[_0x49e9ca]['isAdded']||_0x31d4c5[_0x49e9ca]['isAddSuggestion'])&&_0x31d4c5[_0x49e9ca-0x1]['isRemoved'])_0x3e3adc=_0x31d4c5[_0x49e9ca],_0xb5c226=_0x31d4c5[_0x49e9ca-0x1],_0xfd9fd9=_0x49e9ca-0x1;else{if(!_0x31d4c5[_0x49e9ca]['isRemoved']||!_0x31d4c5[_0x49e9ca-0x1]['isAdded']&&!_0x31d4c5[_0x49e9ca-0x1]['isAddSuggestion'])continue;_0x3e3adc=_0x31d4c5[_0x49e9ca-0x1],_0xb5c226=_0x31d4c5[_0x49e9ca],_0xfd9fd9=_0x49e9ca;}const _0x409521=_0x3e3adc['level']==_0xb5c226['level'],_0x175b82=Math['abs'](_0x3e3adc['level'])<Math['abs'](_0xb5c226['level'])&&0x0==_0xb5c226['distance'];(_0x409521||_0x175b82)&&(_0x423d12['set'](_0xb5c226['id'],_0x3e3adc['id']),_0x31d4c5['splice'](_0xfd9fd9,0x1),_0x49e9ca--,_0x3e3adc['isAdded']=!0x1);}for(let _0x39ad4f=0x0;_0x39ad4f<_0x31d4c5['length'];_0x39ad4f++)_0x423d12['has'](_0x31d4c5[_0x39ad4f]['pairId'])&&(_0x31d4c5[_0x39ad4f]['pairId']=_0x423d12['get'](_0x31d4c5[_0x39ad4f]['pairId']));}['_removeMissingPairs'](_0x28cfa1){const _0xb1aa25=new Set(_0x28cfa1['map'](_0x34ecbb=>_0x34ecbb['id']));for(let _0x23300a=0x0;_0x23300a<_0x28cfa1['length'];_0x23300a++)_0xb1aa25['has'](_0x28cfa1[_0x23300a]['pairId'])||0x0==_0x28cfa1[_0x23300a]['distance']||(_0x28cfa1[_0x23300a]['isIncorrect']=!0x0);return _0x28cfa1['filter'](_0x553f03=>!_0x553f03['isIncorrect']);}['_markMismatchedRemovedTags'](_0x543de5){const _0x376664=new Set();for(let _0x9bf1c1=0x0;_0x9bf1c1<_0x543de5['length'];_0x9bf1c1++){if(_0x376664['has'](_0x543de5[_0x9bf1c1]['id'])&&_0x543de5[_0x9bf1c1]['isRemoved']&&(_0x543de5[_0x9bf1c1]['isIncorrect']=!0x0),_0x543de5[_0x9bf1c1]['isIncorrect'])continue;if(0x0==_0x543de5[_0x9bf1c1]['distance'])continue;if('elementStart'!=_0x543de5[_0x9bf1c1]['type'])continue;if(null==_0x543de5[_0x9bf1c1]['pairId'])continue;let _0x97d563=_0x9bf1c1+0x1,_0x5d2f34=0x0;for(;_0x543de5[_0x97d563]['id']!=_0x543de5[_0x9bf1c1]['pairId'];)'elementStart'==_0x543de5[_0x97d563]['type']?_0x5d2f34++:'elementEnd'==_0x543de5[_0x97d563]['type']&&_0x5d2f34--,_0x97d563++;if(0x0!=_0x5d2f34){if(_0x543de5[_0x9bf1c1]['isRemoved'])_0x543de5[_0x9bf1c1]['isIncorrect']=!0x0;else{for(;_0x97d563!=_0x9bf1c1;)_0x543de5[_0x97d563]['isRemoved']&&0x0!=_0x543de5[_0x97d563]['distance']&&(_0x543de5[_0x97d563]['isIncorrect']=!0x0,_0x376664['add'](_0x543de5[_0x97d563]['pairId'])),_0x97d563--;}}}return _0x543de5['filter'](_0x2cde2a=>!_0x2cde2a['isIncorrect']);}['_removeUnsupportedChanges'](_0x2e9dfb){const _0x4f6e1e=this['editor']['model']['schema'];for(let _0x57941a=0x0;_0x57941a<_0x2e9dfb['length'];_0x57941a++){if(!(_0x2e9dfb[_0x57941a]['isAdded']||_0x2e9dfb[_0x57941a]['isAddSuggestion']||_0x2e9dfb[_0x57941a]['isRemoved']||_0x2e9dfb[_0x57941a]['isRemoveSuggestion']))continue;if(0x0==_0x2e9dfb[_0x57941a]['distance'])continue;const _0x43e34a=_0x2e9dfb[_0x57941a]['item'];_0x4f6e1e['isBlock'](_0x43e34a)||_0x4f6e1e['isLimit'](_0x43e34a)||(_0x2e9dfb[_0x57941a]['isAdded']&&delete _0x2e9dfb[_0x57941a]['isAdded'],_0x2e9dfb[_0x57941a]['isAddSuggestion']&&delete _0x2e9dfb[_0x57941a]['isAddSuggestion'],_0x2e9dfb[_0x57941a]['isRemoveSuggestion']&&delete _0x2e9dfb[_0x57941a]['isRemoveSuggestion'],_0x2e9dfb[_0x57941a]['isRemoved']&&(_0x2e9dfb[_0x57941a]['isIncorrect']=!0x0));}return _0x2e9dfb['filter'](_0x129455=>!_0x129455['isIncorrect']);}['_makeModelFromTape'](_0x28875b,_0x39dd98,_0x447520){const _0xc60fdc=new wt(),_0x4f0ef4=[],_0x2e488e=new Map(),_0x5eafb9=this['editor']['model'],_0xa9230d=_0x5eafb9['schema'],_0x5bc1e7=[_0xc60fdc],_0x12660a={},_0x44c674={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x466d48=null;const _0x86fc8e=[0x0];for(let _0x539302=0x0;_0x539302<_0x28875b['length'];_0x539302++){let _0x136d34,_0x39de09;if('elementStart'===_0x28875b[_0x539302]['type']){_0x136d34=_0x5eafb9['createPositionFromPath'](_0xc60fdc,_0x86fc8e);const _0x3e2bd9=new ft(_0x28875b[_0x539302]['item']['name'],_0x28875b[_0x539302]['item']['getAttributes']());_0x5bc1e7[0x0]['_appendChild'](_0x3e2bd9),_0x86fc8e['push'](0x0),_0x5bc1e7['unshift'](_0x3e2bd9),_0x39de09=_0x5eafb9['createPositionFromPath'](_0xc60fdc,_0x86fc8e),_0x466d48=null;}else{if('elementEnd'===_0x28875b[_0x539302]['type'])_0x5bc1e7['shift'](),_0x136d34=_0x5eafb9['createPositionFromPath'](_0xc60fdc,_0x86fc8e),_0x86fc8e['pop'](),_0x86fc8e[_0x86fc8e['length']-0x1]++,_0x39de09=_0x5eafb9['createPositionFromPath'](_0xc60fdc,_0x86fc8e),_0x466d48=null;else{if(_0x136d34=_0x5eafb9['createPositionFromPath'](_0xc60fdc,_0x86fc8e),_0x466d48&&_0x4a2b20(_0x466d48,_0x28875b[_0x539302]['item']))_0x466d48['_data']+=_0x28875b[_0x539302]['item']['data'];else{const _0x28f426=new _t(_0x28875b[_0x539302]['item']['data'],_0x28875b[_0x539302]['item']['getAttributes']());_0x5bc1e7[0x0]['_appendChild'](_0x28f426),_0x466d48=_0x28f426;}_0x86fc8e[_0x86fc8e['length']-0x1]+=_0x28875b[_0x539302]['item']['offsetSize'],_0x39de09=_0x5eafb9['createPositionFromPath'](_0xc60fdc,_0x86fc8e);}}for(const _0x303dcf of _0x28875b[_0x539302]['markersStart'])_0x2e488e['set'](_0x303dcf,{'start':_0x136d34,'end':null});_0x52e08d('isRemoveSuggestion',_0x539302,_0x136d34,_0x39de09),_0x52e08d('isAddSuggestion',_0x539302,_0x136d34,_0x39de09),_0x52e08d('isRemoved',_0x539302,_0x136d34,_0x39de09),_0x52e08d('isAdded',_0x539302,_0x136d34,_0x39de09);for(const _0x3473c9 of _0x28875b[_0x539302]['markersEnd']){_0x2e488e['get'](_0x3473c9)['end']=_0x39de09;}}for(const [_0x2e89a0,_0x12195e]of _0x2e488e){const _0x1ade79=this['editor']['model']['createRange'](_0x12195e['start'],_0x12195e['end']);_0xc60fdc['markers']['set'](_0x2e89a0,_0x1ade79);}return _0x4f0ef4['sort']((_0xa9a309,_0x23ae21)=>{const _0xccba82=_0xc60fdc['markers']['get']('revision:'+_0xa9a309['id']),_0xa7dd9=_0xc60fdc['markers']['get']('revision:'+_0x23ae21['id']);return _0xccba82['start']['isBefore'](_0xa7dd9['start'])?-0x1:_0xccba82['start']['isAfter'](_0xa7dd9['start'])?0x1:_0xccba82['end']['isBefore'](_0xa7dd9['end'])?-0x1:_0xccba82['end']['isAfter'](_0xa7dd9['end'])?0x1:'add'===_0xa9a309['type']?-0x1:0x1;}),{'root':_0xc60fdc,'changes':_0x4f0ef4};function _0x52e08d(_0x118a88,_0x6720bc,_0x2dc9f5,_0x4e27bf){const _0x206a37=!!_0x28875b[_0x6720bc][_0x118a88],_0x31b206=_0x206a37?_0x28875b[_0x6720bc][_0x118a88]['userId']:null,_0x56c0fd=_0x6720bc===_0x28875b['length']-0x1,_0x1d9be5=_0x44c674[_0x118a88][0x0],_0x5a55be=_0xa9230d['isObject'](_0x28875b[_0x6720bc]['item']);!_0x12660a[_0x118a88]&&_0x206a37?_0x12660a[_0x118a88]={'start':_0x2dc9f5,'tapeItem':_0x28875b[_0x6720bc],'userId':_0x31b206,'type':_0x118a88}:_0x12660a[_0x118a88]&&!_0x206a37?(_0x12660a[_0x118a88]['end']=_0x2dc9f5,_0x4a6c1f(_0x12660a[_0x118a88]),_0x12660a[_0x118a88]=null):_0x12660a[_0x118a88]&&_0x206a37&&_0x12660a[_0x118a88]['userId']!==_0x31b206&&(_0x12660a[_0x118a88]['end']=_0x2dc9f5,_0x1d9be5&&_0x1d9be5['userId']===_0x12660a[_0x118a88]['userId']||_0x4a6c1f(_0x12660a[_0x118a88]),_0x12660a[_0x118a88]={'start':_0x2dc9f5,'tapeItem':_0x28875b[_0x6720bc],'userId':_0x31b206,'type':_0x118a88}),_0x12660a[_0x118a88]&&_0x5a55be&&('elementStart'!==_0x28875b[_0x6720bc]['type']||_0x1d9be5&&_0x1d9be5['userId']===_0x31b206||_0x44c674[_0x118a88]['unshift']({'userId':_0x31b206,'object':_0x28875b[_0x6720bc]['item'],'change':_0x12660a[_0x118a88]}),'elementEnd'===_0x28875b[_0x6720bc]['type']&&_0x1d9be5&&_0x1d9be5['object']===_0x28875b[_0x6720bc]['item']&&(_0x44c674[_0x118a88]['shift'](),_0x12660a[_0x118a88]=_0x1d9be5['change'])),_0x12660a[_0x118a88]&&_0x56c0fd&&(_0x12660a[_0x118a88]['end']=_0x4e27bf,_0x4a6c1f(_0x12660a[_0x118a88]),_0x12660a[_0x118a88]=null);}function _0x4a6c1f({start:_0x88b449,end:_0x1802ef,tapeItem:_0x553f1b,userId:_0x1a0366,type:_0x2cf3f4}){const _0x3f8c67=_0x553f1b['item'],_0x59ead8=_0x5eafb9['schema']['isBlock'](_0x3f8c67)&&!_0x5eafb9['schema']['isLimit'](_0x3f8c67),_0x26befb=_0x88b449['nodeAfter']==_0x1802ef['parent']&&_0x1802ef['isAtStart'];if(_0x59ead8&&_0x26befb)return;const _0x51022f=_0x5eafb9['createRange'](_0x88b449,_0x1802ef),_0x2c10ca=_0x39dd98['get'](_0x1a0366),_0x41111d=new r({'author':_0x2c10ca,'type':'isAdded'==_0x2cf3f4||'isAddSuggestion'==_0x2cf3f4?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2cf3f4||'isRemoveSuggestion'==_0x2cf3f4},'createdAt':new Date(),'rootName':_0x447520});_0x4f0ef4['push'](_0x41111d),_0xc60fdc['markers']['set']('revision:'+_0x41111d['id'],_0x51022f);}function _0x4a2b20(_0x528a67,_0x5714d8){const _0x232160=_0x528a67['getAttributes'](),_0x3e9f41=_0x5714d8['getAttributes']();for(const _0x34d67c of _0x232160){if(_0x34d67c[0x1]!==_0x5714d8['getAttribute'](_0x34d67c[0x0]))return!0x1;_0x3e9f41['next']();}return _0x3e9f41['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x525066=>{const _0x1e9d62=_0x525066['markerName']['split'](':')[0x1],_0x4034c5=this['_getChangeFromId'](_0x1e9d62);if(!_0x4034c5)return null;const _0x571ac6='add'==_0x4034c5['type']?'insertion':'deletion',_0x205b1c=['ck-suggestion-marker','ck-suggestion-marker-'+_0x571ac6];return _0x4034c5['data']['isSuggestion']&&_0x205b1c['push']('ck-suggestion-marker-'+_0x571ac6+'-new'),this['activeChange']==_0x4034c5&&_0x205b1c['push']('ck-suggestion-marker--active'),{'classes':_0x205b1c,'attributes':{'data-change-id':_0x1e9d62}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2f6425=>{_0x2f6425['on']('element:pre',(_0x46a97c,_0x518e9f,_0x9a7b7f)=>{const _0x24af71=_0x518e9f['viewItem']['getChild'](0x0);if(!_0x24af71||!_0x24af71['is']('element','code'))return;if(!_0x9a7b7f['consumable']['consume'](_0x24af71,{'attributes':['vid_start','vid_end']}))return;const _0x55890c=_0x518e9f['modelRange']['start']['nodeAfter'];_0x9a7b7f['writer']['setAttribute']('vid_start',_0x24af71['getAttribute']('vid_start'),_0x55890c),_0x9a7b7f['writer']['setAttribute']('vid_end',_0x24af71['getAttribute']('vid_end'),_0x55890c);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4ab560=>{_0x4ab560['on']('element',(_0x1f503d,_0x5023c5,_0x1b61ed)=>{if(!_0x1b61ed['consumable']['consume'](_0x5023c5['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5023c5['modelRange']['isCollapsed'])return;const _0x542f65=_0x5023c5['modelRange']['start']['nodeAfter'];_0x542f65['hasAttribute']('vid_start')||_0x542f65['hasAttribute']('vid')||(_0x1b61ed['writer']['setAttribute']('vid_start',_0x5023c5['viewItem']['getAttribute']('vid_start'),_0x542f65),_0x1b61ed['writer']['setAttribute']('vid_end',_0x5023c5['viewItem']['getAttribute']('vid_end'),_0x542f65));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x16aa9f=>_0x16aa9f['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x2fe2d8,[,_0x8d6131])=>{['vid_start','vid_end','vid']['includes'](_0x8d6131)&&(_0x2fe2d8['return']=!0x0,_0x2fe2d8['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x17a59e=>{_0x17a59e['on']('attribute:vid',(_0x29d20e,_0x451ddd,_0xd9a6eb)=>{if('\x20'!=_0x451ddd['item']['data']||_0x451ddd['item']['parent']['maxOffset']>0x1)return;if(!_0xd9a6eb['consumable']['consume'](_0x451ddd['item'],_0x29d20e['name']))return;const _0x4e879b=_0xd9a6eb['writer'],_0x1c0f9b=_0xd9a6eb['mapper']['toViewRange'](_0x451ddd['range']);_0x4e879b['wrap'](_0x1c0f9b,_0x4e879b['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x130397){const _0x5330e9=_0x130397['plugins']['get']('RevisionViewer');return(_0x577f18,_0x3f5126,_0x44c7f8)=>{const _0x77025f=_0x3f5126['markerName']['split'](':')[0x1],_0x2edd73=_0x5330e9['_getChangeFromId'](_0x77025f);if(!_0x2edd73)return null;const _0x339ff2='add'==_0x2edd73['type']?'split':'merge';if(!_0x44c7f8['consumable']['test'](_0x3f5126['markerRange'],_0x577f18['name']))return;const _0x5e2ba1=_0x3f5126['markerRange']['getWalker'](),_0x5673a1=_0x3f5126['markerRange']['start'],_0x5aa99a=_0x130397['model']['schema'];let _0x16d003=null,_0x31e235=null,_0x25459d=!0x1,_0x140e62=!0x1;for(const _0x322cdb of _0x5e2ba1){const _0x4f513b=_0x322cdb['item'];_0x25459d=_0x25459d||_0x5aa99a['isContent'](_0x4f513b);const _0x188310=_0x44c7f8['mapper']['toViewElement'](_0x4f513b);if(_0x188310&&_0x188310['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x322cdb['type']&&(_0x5aa99a['isBlock'](_0x4f513b)&&!_0x5aa99a['isLimit'](_0x4f513b)&&(_0x4f513b['nextSibling']||_0x5673a1['isAtEnd']?_0x16d003&&_0x16d003['parent']==_0x4f513b||(_0x16d003=_0x4f513b,_0x4f35b3(_0x322cdb['previousPosition']),_0x140e62=!0x0):_0x31e235=_0x31e235||_0x322cdb['previousPosition']));}function _0x4f35b3(_0x286027){const _0x173d82=_0x44c7f8['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x339ff2}),_0x60cbfe=_0x44c7f8['mapper']['toViewPosition'](_0x286027);_0x2edd73['data']['isSuggestion']&&_0x44c7f8['writer']['addClass']('ck-suggestion-marker-'+_0x339ff2+'-new',_0x173d82),_0x5330e9['activeChange']==_0x2edd73&&_0x44c7f8['writer']['addClass']('ck-suggestion-marker--active',_0x173d82),_0x44c7f8['writer']['insert'](_0x60cbfe,_0x173d82),_0x44c7f8['mapper']['bindElementToMarker'](_0x173d82,_0x3f5126['markerName']);}_0x25459d||_0x140e62||!_0x31e235||_0x4f35b3(_0x31e235);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x226aa2,_0x4051de,_0x214148)=>{const _0x34a35d=_0x214148['mapper']['markerNameToElements'](_0x4051de['markerName']);if(_0x34a35d){for(const _0xf3e6dd of _0x34a35d)(_0xf3e6dd['hasClass']('ck-suggestion-marker-split')||_0xf3e6dd['hasClass']('ck-suggestion-marker-merge'))&&(_0x214148['mapper']['unbindElementFromMarkerName'](_0xf3e6dd,_0x4051de['markerName']),_0x214148['writer']['remove'](_0xf3e6dd));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3cd2ff,_0x1d67ba,_0x6344a1)=>{const _0xe79495=_0x1d67ba['markerName']['split'](':')[0x1],_0x4beaec=this['_getChangeFromId'](_0xe79495);if(!_0x4beaec)return null;const _0x2d1788='add'==_0x4beaec['type']?'split':'merge';if(_0x6344a1['consumable']['test'](_0x1d67ba['markerRange'],_0x3cd2ff['name']))for(const _0x5e3646 of _0x1d67ba['markerRange']['getItems']()){if(!_0x5e3646['is']('element','softBreak'))continue;const _0x167a29=_0x6344a1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2d1788}),_0x3810c9=_0x6344a1['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x5e3646));_0x4beaec['data']['isSuggestion']&&_0x6344a1['writer']['addClass']('ck-suggestion-marker-'+_0x2d1788+'-new',_0x167a29),this['activeChange']==_0x4beaec&&_0x6344a1['writer']['addClass']('ck-suggestion-marker--active',_0x167a29),_0x6344a1['writer']['insert'](_0x3810c9,_0x167a29),_0x6344a1['mapper']['bindElementToMarker'](_0x167a29,_0x1d67ba['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x3884e0=>{for(const _0x160823 of this['editor']['model']['document']['getRootNames']()){const _0x5b0b6a=this['editor']['model']['document']['getRoot'](_0x160823),_0x4d9d75=this['editor']['editing']['view']['document']['getRoot'](_0x160823);if(_0x4d9d75){const _0x19db31=_0x5b0b6a['getAttribute']('revisionHistoryAttachChange');if(_0x3884e0['removeAttribute']('data-change-id',_0x4d9d75),_0x3884e0['removeClass']('ck-revision-history-root-add',_0x4d9d75),_0x3884e0['removeClass']('ck-revision-history-root-remove',_0x4d9d75),_0x3884e0['removeClass']('ck-revision-history-root--active',_0x4d9d75),_0x19db31){const _0x2603df=this['_getChangeFromId'](_0x19db31);if(!_0x2603df)return null;_0x3884e0['setAttribute']('data-change-id',_0x19db31,_0x4d9d75),_0x3884e0['addClass']('ck-revision-history-root-'+_0x2603df['type'],_0x4d9d75),this['activeChange']==_0x2603df&&_0x3884e0['addClass']('ck-revision-history-root--active',_0x4d9d75);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x236598=>'revision-comment:'+_0x236598,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5ae701=>'revision-suggestion:'+_0x5ae701,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5b724b=>({'name':'suggestion:'+_0x5b724b,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4b0ffe=>{const _0x50216b=_0x4b0ffe['markerName']['split'](':')[0x1];return'insertion'!=_0x50216b&&'deletion'!=_0x50216b?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x50216b]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',et(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x4cbfa3,_0x393111,_0x5007aa)=>{const _0x5059fb=_0x5007aa['mapper']['markerNameToElements'](_0x393111['markerName']);if(_0x5059fb){for(const _0x5f0d1f of _0x5059fb)_0x5f0d1f['is']('uiElement')&&(_0x5007aa['mapper']['unbindElementFromMarkerName'](_0x5f0d1f,_0x393111['markerName']),_0x5007aa['writer']['remove'](_0x5f0d1f));}},{'priority':'high'});}['_getChangeFromId'](_0x3d119b){return this['_changeIdToChange']['get'](_0x3d119b);}['_getViewForChange'](_0x3c5c4a){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3c5c4a),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x29eaad,_0x9a1f2b,_0x4a7eb1,_0x1f1608)=>{_0x1f1608&&this['_balloon']['remove'](_0x1f1608),_0x4a7eb1&&(this['_balloon']['add']({'view':_0x4a7eb1,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2f6e6c=this['editor']['editing'],_0x1fb73b=this['_getChangeFromId'](_0x4a7eb1['changeId']);let _0x18b58e;if(_0x1fb73b['data']['isOnRoot']){const _0x3b2ec3=_0x2f6e6c['view']['getDomRoot'](_0x1fb73b['rootName']);_0x18b58e=Array['from'](_0x3b2ec3['getClientRects']());}else{const _0x5c1543=this['editor']['model']['markers']['get']('revision:'+_0x4a7eb1['changeId']);_0x18b58e=Array['from'](_0x2f6e6c['mapper']['markerNameToElements'](_0x5c1543['name']))['map'](_0x487a1f=>_0x2f6e6c['view']['domConverter']['mapViewToDom'](_0x487a1f))['map'](_0x337564=>Array['from'](_0x337564['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x18b58e[0x0];return _0x18b58e['find'](_0x230f7e=>_0x230f7e['top']-0x3<=this['_activeViewTarget']['y']&&_0x230f7e['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x230f7e['left']-0x3<=this['_activeViewTarget']['x']&&_0x230f7e['right']+0x3>=this['_activeViewTarget']['x'])||_0x18b58e[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1ff69e,_0xd64ef4,_0x1ad018,_0x33329d)=>{this['activeView']=_0x1ad018?this['_getViewForChange'](_0x1ad018):null,this['editor']['model']['change'](()=>{const _0x10d8e3=this['editor']['editing'];_0x33329d&&(_0x33329d['data']['isOnRoot']?_0x10d8e3['view']['change'](_0x374332=>{_0x374332['removeClass']('ck-revision-history-root--active',_0x10d8e3['view']['document']['getRoot'](_0x33329d['rootName']));}):_0x10d8e3['reconvertMarker']('revision:'+_0x33329d['id'])),_0x1ad018&&(_0x1ad018['data']['isOnRoot']?_0x10d8e3['view']['change'](_0x5833e1=>{_0x5833e1['addClass']('ck-revision-history-root--active',_0x10d8e3['view']['document']['getRoot'](_0x1ad018['rootName']));}):_0x10d8e3['reconvertMarker']('revision:'+_0x1ad018['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1473fd,_0x50c713)=>{if(this['activeChange'])return;const _0xf506c7=this['_findChangeIdFromDomTarget'](_0x50c713['target']),_0x459d58=this['_changeIdToChange']['get'](_0xf506c7);_0x459d58?(this['_activeViewTarget']={'x':_0x50c713['domEvent']['x'],'y':_0x50c713['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x459d58)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x107668,_0x449105)=>{const _0x5baccc=this['_findChangeIdFromDomTarget'](_0x449105['target']),_0x4f3861=this['_changeIdToChange']['get'](_0x5baccc);_0x4f3861?(this['_activeViewTarget']={'x':_0x449105['domEvent']['x'],'y':_0x449105['domEvent']['y']},_0x4f3861===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x4f3861):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1db6e8){do{const _0x5462af=_0x1db6e8['getAttribute']('data-change-id');if(_0x5462af)return _0x5462af;_0x1db6e8=_0x1db6e8['parent'];}while(_0x1db6e8);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x426f4e=>{for(const _0x4d7e2a of this['editor']['model']['markers'])_0x426f4e['removeMarker'](_0x4d7e2a);});}}function et(_0x145c31,_0x1f5204){return(_0x529993,_0x120dd0,_0x52c77f)=>{if(!_0x52c77f['consumable']['test'](_0x120dd0['markerRange'],_0x529993['name']))return;const _0x254e35=_0x120dd0['markerRange']['getWalker'](),_0x4ba278=_0x120dd0['markerRange']['start'],_0x4475e2=_0x145c31['model']['schema'];let _0x1adc5b=null,_0x154b6a=null,_0x4d20f0=!0x1,_0xb1fcaf=!0x1;for(const _0x11bd9b of _0x254e35){const _0x38b7cb=_0x11bd9b['item'];_0x4d20f0=_0x4d20f0||_0x4475e2['isContent'](_0x38b7cb);const _0x214133=_0x52c77f['mapper']['toViewElement'](_0x38b7cb);if(_0x214133&&_0x214133['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x11bd9b['type']&&(_0x4475e2['isBlock'](_0x38b7cb)&&!_0x4475e2['isLimit'](_0x38b7cb)&&(_0x38b7cb['nextSibling']||_0x4ba278['isAtEnd']?_0x1adc5b&&_0x1adc5b['parent']==_0x38b7cb||(_0x1adc5b=_0x38b7cb,_0x3bac4d(_0x11bd9b['previousPosition']),_0xb1fcaf=!0x0):_0x154b6a=_0x154b6a||_0x11bd9b['previousPosition']));}function _0x3bac4d(_0x49d6d6){const _0x20a754=_0x52c77f['mapper']['toViewPosition'](_0x49d6d6),_0x5ae989=_0x52c77f['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1f5204});_0x52c77f['writer']['insert'](_0x20a754,_0x5ae989),_0x52c77f['mapper']['bindElementToMarker'](_0x5ae989,_0x120dd0['markerName']);}_0x4d20f0||_0xb1fcaf||!_0x154b6a||_0x3bac4d(_0x154b6a);};}class bt extends _0x5efcfe{constructor(_0x3b91a9){super(_0x3b91a9);const _0x3b3aab=_0x3b91a9['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x3b3aab,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3b3aab,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x50ebff=this['editor'],_0x1821af=_0x50ebff['plugins']['get'](d),_0x158093=_0x1821af['isReady']?_0x1821af['diff']['newRevisionId']:null;_0x50ebff['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x158093);}['refresh'](){const {isReady:_0x52e487,isEnabled:_0x301f11}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x52e487&&_0x301f11;}}class yt extends _0x5efcfe{['_step'];constructor(_0x2a489b,{direction:_0x458983}){super(_0x2a489b);const _0x132e2a=_0x2a489b['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x458983?0x1:-0x1,this['listenTo'](_0x132e2a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x132e2a,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x132e2a,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x4cafb8=this['editor'],_0x5c640b=_0x4cafb8['plugins']['get'](d),{isNavigationMode:_0x7dc9b0,currentChangeNumber:_0x480092}=_0x5c640b;let _0x43e45f;if(_0x5c640b['activeChange']=_0x7dc9b0?_0x5c640b['diff']['changes']['get'](_0x480092+this['_step']):_0x5c640b['diff']['changes']['first'],_0x5c640b['activeChange']['data']['isOnRoot'])_0x43e45f=_0x4cafb8['editing']['view']['getDomRoot'](_0x5c640b['activeChange']['rootName']);else{const _0x4be6c5=_0x4cafb8['model']['markers']['get']('revision:'+_0x5c640b['activeChange']['id']);_0x43e45f=_0x1f8930(_0x4cafb8['editing'],_0x4be6c5);}_0x3244f4({'target':_0x43e45f,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5af055,currentChangeNumber:_0x99fc03,numberOfChanges:_0x1ae0c3,isReady:_0x2114b9,isEnabled:_0x1571b1}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1571b1&&_0x2114b9&&_0x1ae0c3)&&(!_0x5af055||(0x1===this['_step']?_0x99fc03<_0x1ae0c3-0x1:_0x99fc03>0x0));}}class _i extends _0x2b7a2f{constructor(_0x16894e){super(_0x16894e);const _0x2a41b0=this['bindTemplate'],_0x261eb9=new _0x40b8fe(_0x16894e),_0x520cb5=new _0x40b8fe(_0x16894e);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x4d7a83,_0xec1abd)=>_0x4d7a83&&_0xec1abd>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3268e1,_0x21949d,_0x458f27,_0x223fa6)=>{if(!_0x3268e1)return y(_0x16894e,'Loading...');if(!_0x458f27)return y(_0x16894e,'No\x20changes');const _0x20557b=y(_0x16894e,'NUMBER_OF_CHANGES',_0x458f27);return _0x223fa6?y(_0x16894e,'X_OF_Y_CHANGES',[_0x21949d+0x1,_0x458f27]):_0x20557b;}),_0x261eb9['set']({'label':y(_0x16894e,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a'}),_0x520cb5['set']({'label':y(_0x16894e,'Show\x20next\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a'}),_0x261eb9['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x520cb5['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x261eb9['on']('execute',()=>this['fire']('execute','backward')),_0x520cb5['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x2a41b0['if']('_isStatusLabelVisible','ck-hidden',_0x7b8920=>!_0x7b8920)]},'children':[{'text':_0x2a41b0['to']('isNavigationMode',_0x27a773=>_0x27a773?y(_0x16894e,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x16894e,'Total')+':\x20')}]},{'text':_0x2a41b0['to']('_statusText')}]},new _0x4bf8a6(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x261eb9,_0x520cb5]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1f283b{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x366c0f=this['editor']['editing']['view'];_0x366c0f['change'](_0x448267=>{for(const _0x42e652 of _0x366c0f['document']['roots'])_0x448267['addClass'](ce,_0x42e652);});}['hide'](){const _0x388296=this['editor']['editing']['view'];_0x388296['change'](_0x4a149e=>{for(const _0x10381f of _0x388296['document']['roots'])_0x4a149e['removeClass'](ce,_0x10381f);});}}class R extends _0x1f283b{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x3c38a6=this['editor'],_0x3b3041=_0x3c38a6['plugins']['get'](d),_0x14a8d6=_0x3c38a6['plugins']['get'](de);_0x3c38a6['ui']['componentFactory']['add']('exitToEditing',_0x13b6ea=>{const _0x5de9f2=new _0x40b8fe(_0x13b6ea);return _0x5de9f2['set']({'label':y(_0x13b6ea,'Back\x20to\x20editing'),'icon':_0x598a32['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5de9f2,'execute',()=>{_0x3c38a6['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5de9f2;}),_0x3c38a6['ui']['componentFactory']['add']('restoreRevision',_0x49158f=>{const _0x2d177e=new _0x40b8fe(_0x49158f);return _0x2d177e['set']({'label':y(_0x49158f,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2d177e['bind']('isEnabled')['to'](_0x3c38a6['commands']['get']('restoreRevision')),this['listenTo'](_0x2d177e,'execute',()=>_0x3c38a6['execute']('restoreRevision')),_0x2d177e;}),_0x3c38a6['ui']['componentFactory']['add']('changesNavigation',_0x1be1bb=>{const _0x5b3a79=new _i(_0x1be1bb),_0x52ec94=_0x3c38a6['commands']['get']('showPreviousChange'),_0x15aaa4=_0x3c38a6['commands']['get']('showNextChange');return _0x5b3a79['bind']('isBackwardNavigationEnabled')['to'](_0x52ec94,'isEnabled'),_0x5b3a79['bind']('isForwardNavigationEnabled')['to'](_0x15aaa4,'isEnabled'),_0x5b3a79['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3b3041),this['listenTo'](_0x5b3a79,'execute',(_0x267c0f,_0x35519a)=>{_0x3c38a6['execute']('forward'===_0x35519a?'showNextChange':'showPreviousChange');}),_0x5b3a79;}),_0x14a8d6['show'](),_0x3b3041['on']('change:isReady',(_0x1bdaab,_0x4f1b92,_0x1c4d8c)=>{_0x1c4d8c?_0x14a8d6['hide']():_0x14a8d6['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0xd6162e,_0x488ea1){super(_0xd6162e,_0x488ea1);const _0x373500=this['bindTemplate'];this['set']({'label':y(_0xd6162e,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0xd6162e,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x373500['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x56f080=this['fieldView']['element'];this['_tooltipString']=_0x56f080['scrollWidth']>_0x56f080['clientWidth']&&_0x56f080['value']||'';}}class ti extends _0x2b7a2f{constructor(_0x560e5d,_0x10d8eb,_0x4507e9){super(_0x560e5d);const _0x53fbd5=new _0x2e171c();_0x53fbd5['set']({'content':'<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a','viewBox':'0\x200\x2011\x2010'});const _0x36d69f=['ck','ck-revision-history-sidebar__revision-author'];_0x4507e9&&_0x36d69f['push']('ck-revision-history-sidebar__revision-author_creator');const _0x496821=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x560e5d,_0x4507e9?'Revision\x20creator':'Revision\x20author')},'children':[_0x53fbd5,_0x10d8eb['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x36d69f},'children':_0x496821});}}function ni(_0x53e428,_0x50b727){const _0x2b1d50=_0x53e428['bindTemplate'],_0x1ace8b=_0x53e428['locale'],_0xdd655b=_0x30816c(_0x1ace8b);_0xdd655b['panelPosition']='sw';const _0x5f0b1d=function(_0x596172,_0x40ebe1){const _0x3c0809=function(_0x2f1df7,_0x565d96){const _0x302f6b=_0x2f1df7['locale'],_0x17cbf5={'Compare\x20against\x20selected':y(_0x302f6b,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x302f6b,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x302f6b,'Restore\x20this\x20revision')};return _0x565d96['map'](_0x5f2174=>{const _0x245f30=_0x17cbf5[_0x5f2174['name']];return _0x245f30&&_0x245f30!==_0x5f2174['name']&&(_0x5f2174['name']=_0x245f30),_0x5f2174;});}(_0x596172,_0x40ebe1),_0x398b55=new _0x1438a1();for(const _0x38e099 of _0x3c0809){const _0x189fde={'type':'button','model':new to({'label':_0x38e099['name'],'class':_0x38e099['class'],'withText':!0x0,'role':'menuitem','_action':_0x38e099['action']})};_0x189fde['model']['bind']('isEnabled')['to'](_0x596172,'isActionsDropdownOpen',_0x14b253=>'function'!=typeof _0x38e099['isEnabled']||(!_0x14b253||_0x38e099['isEnabled'](_0x596172))),_0x398b55['add'](_0x189fde);}return _0x398b55;}(_0x53e428,_0x50b727);return _0x53e428['bind']('isActionsDropdownOpen')['to'](_0xdd655b,'isOpen'),_0xdd655b['buttonView']['set']({'label':y(_0x1ace8b,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x598a32['threeVerticalDots']}),_0xdd655b['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2b1d50['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2b1d50['to'](_0x1709d5=>_0x1709d5['stopPropagation']())}}),_0xdd655b['on']('execute',_0x39e54e=>{_0x53e428['isReady']&&'function'==typeof _0x39e54e['source']['_action']&&_0x39e54e['source']['_action'](_0x53e428);}),_0x5003b6(_0xdd655b,_0x5f0b1d,{'role':'menu'}),_0xdd655b['listenTo'](_0x53e428,'change:isActionsDropdownOpen',(_0x23bb65,_0x573587,_0x3d45ef)=>{if(_0x3d45ef)for(const _0x433f66 of _0xdd655b['listView']['items']){const _0x83037c=_0x433f66['children']['first'],_0x53e4b0=_0x50b727['find'](_0x2d46bf=>_0x2d46bf['action']===_0x83037c['_action'])['isVisible'];_0x433f66['isVisible']=void 0x0===_0x53e4b0||_0x53e4b0(_0x53e428);}}),_0xdd655b;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x30a0f2(_0x2b7a2f){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x56ef71,_0x1214c6,_0x549f5e,_0x4429b9){super(_0x56ef71);const _0x2ed897=this['bindTemplate'],_0x3b2859=function(_0x5d2f8a,_0x52c27a){const _0x33a550=Array['from'](_0x52c27a['authors'])['filter'](_0x5d81da=>_0x5d81da!=_0x52c27a['creator']);return _0x52c27a['creator']&&_0x33a550['unshift'](_0x52c27a['creator']),_0x33a550['map'](_0x45cb3e=>new ti(_0x5d2f8a,_0x45cb3e,_0x45cb3e==_0x52c27a['creator']));}(_0x56ef71,_0x1214c6);this['id']=_0x1214c6['id'],this['_revision']=_0x1214c6,this['_requireRevisionName']=_0x4429b9,this['bind']('name','createdAt')['to'](_0x1214c6),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x239a07=>{return _0x41fb93=_0x56ef71['uiLanguage'],(_0x4e6699=_0x239a07)['toLocaleDateString'](_0x41fb93,{'month':'long','day':'numeric'})+',\x20'+_0x4e6699['toLocaleTimeString'](_0x41fb93,{'hour':'numeric','minute':'numeric'});var _0x41fb93,_0x4e6699;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x56ef71,_0x5174e8),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x4483f1=>_0x4483f1||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x64b510,_0x834322)=>_0x64b510&&_0x834322),this['revisionActionsView']=_0x549f5e&&_0x549f5e['length']?ni(this,_0x549f5e):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2ed897['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2ed897['if']('isEnabled','ck-disabled',_0x2f3e65=>!_0x2f3e65),_0x2ed897['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2ed897['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2ed897['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x2ed897['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x3b2859}]},this['revisionActionsView']],'on':{'click':_0x2ed897['to'](_0x397257=>{_0x397257['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x15fb5d=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x15fb5d,'change',()=>{this['_requireRevisionName']&&!_0x15fb5d['value']||this['fire']('setName',{'id':this['id'],'name':_0x15fb5d['value']}),_0x15fb5d['value']||(_0x15fb5d['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x450b79,_0x52e33a){const _0x5201ae=_0x494781['fromJSDate'](_0x450b79)['setLocale'](_0x52e33a),_0x484453=_0x494781['local'](),_0xfeece1=_0x484453['minus']({'days':0x1})['startOf']('day');let _0x35ed20,_0x4d2226;return _0x5201ae['hasSame'](_0x484453,'day')?(_0x35ed20=_0x5201ae['startOf']('day')['toJSDate'](),_0x4d2226=_0x5201ae['toRelativeCalendar']()):_0x5201ae['hasSame'](_0xfeece1,'day')?(_0x35ed20=_0xfeece1['toJSDate'](),_0x4d2226=_0x5201ae['toRelativeCalendar']()):_0x5201ae['hasSame'](_0x484453,'week')?(_0x35ed20=_0x5201ae['startOf']('week')['toJSDate'](),_0x4d2226=_0x5201ae['weekdayLong']||''):_0x5201ae['hasSame'](_0x484453,'year')?(_0x35ed20=_0x5201ae['startOf']('month')['toJSDate'](),_0x4d2226=_0x5201ae['monthLong']||''):(_0x35ed20=_0x5201ae['startOf']('year')['toJSDate'](),_0x4d2226=String(_0x5201ae['year'])),{'startDate':_0x35ed20,'localizedPeriodName':_0x4d2226};}class mi extends _0x2b7a2f{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x18e8a5,_0x58b2f5,_0x5189ce,_0x4671ed){super(_0x18e8a5);const _0x4a0ecb=di(_0x58b2f5,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x58b2f5,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x5189ce,this['_requireRevisionName']=_0x4671ed,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x4a0ecb}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3a3878){const _0x47816a=new ai(this['locale'],_0x3a3878,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x47816a);}['removeRevision'](_0x5ad7c3){const _0x5f387a=this['revisionViews']['find'](_0x42288f=>_0x42288f['id']===_0x5ad7c3['id']);this['revisionViews']['remove'](_0x5f387a);}}class as extends _0x2b7a2f{constructor(_0x2c1344){super(_0x2c1344);const _0x3234b8=new _0x2e171c();_0x3234b8['content']=_0x598a32['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3234b8,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x2c1344,'Revision\x20history')]}]});}}class ci extends _0x2b7a2f{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2f7564,_0x10661f,_0x2eea07,_0x48aed0){super(_0x2f7564);const _0x977bb2=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x10661f,this['_revisionActions']=_0x2eea07,this['_requireRevisionName']=_0x48aed0,this['on']('select',(_0x12510f,_0x7dbef7)=>{this['fire']('revisionSelected',_0x7dbef7);}),this['on']('setName',(_0x1f1833,_0x4c393d)=>{this['fire']('revisionSetName',_0x4c393d);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2f7564),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x977bb2['if']('isEnabled','ck-disabled',_0x38bca6=>!_0x38bca6)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x3f3481 of this['_revisions'])this['_addRevision'](_0x3f3481);this['_revisions']['on']('add',(_0x512e15,_0x166f95)=>{this['_addRevision'](_0x166f95);}),this['_revisions']['on']('remove',(_0x511a52,_0x13dc4c)=>{this['_removeRevision'](_0x13dc4c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x24021f=>_0x24021f['revisionViews']['map'](_0x1bf567=>_0x1bf567))['flat']();}['selectRevision'](_0x4e930e){for(const _0x4d86e4 of this['revisionViews'])_0x4e930e&&_0x4e930e['id']===_0x4d86e4['id']?_0x4d86e4['select']():_0x4d86e4['deselect']();}['highlightRevisions'](_0x498b66){for(const _0x5a8dbc of this['revisionViews'])_0x498b66['some'](({id:_0x75d58e})=>_0x75d58e===_0x5a8dbc['id'])?_0x5a8dbc['highlight']():_0x5a8dbc['unhighlight']();}['_addRevision'](_0x31e445){const _0x237280=di(_0x31e445['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2d16b0=this['timePeriodViews']['get'](0x0);_0x2d16b0&&_0x2d16b0['startDate']['getTime']()===_0x237280['getTime']()||(_0x2d16b0=new mi(this['locale'],_0x237280,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2d16b0)),_0x2d16b0['addRevision'](_0x31e445);}['_removeRevision'](_0x430d75){const _0x1723c7=di(_0x430d75['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1723c7)['removeRevision'](_0x430d75);}['_getTimePeriodViewByStartDate'](_0x17dd7f){return this['timePeriodViews']['find'](_0xcb4a05=>_0xcb4a05['startDate']['getTime']()===_0x17dd7f['getTime']());}}class w extends _0x1f283b{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{ObservableMixin as _0x471e8e,uid as _0x41d3fd,Collection as _0x14b4f0,logWarning as _0x416fd9,FocusTracker as _0x5d22ad,KeystrokeHandler as _0x131398,scrollViewportToShowTarget as _0x3f418f,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x8805f1}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x2fc185,set as _0x352cc5,unset as _0x3c67b0,isEqual as _0x3ec669}from'lodash-es';import{Plugin as _0x11f4db,Context as _0x1bea7f,PendingActions as _0x39b8cf,icons as _0x1cf5a1,Command as _0x15b199,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x7f5a91,getMarkerDomElement as _0xf2cc0,ConfirmMixin as _0x540e56,sanitizeEditorConfig as _0x588fbf}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3da0c7,ViewText as _0x344367,ViewElement as _0x534990,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x5959,ViewAttributeElement as _0x377bf4,ViewEmptyElement as _0x3ba888,ViewRawElement as _0x32083a,ViewUIElement as _0x32b992,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as _0x2ae250,injectCssTransitionDisabler as ts,submitHandler as _0x557584,LabeledFieldView as at,createLabeledInputText as _0x1d63c5,createDropdown as _0x4965fc,ListView as te,ListItemView as _0x3a5f25,ButtonView as _0x49c2da,MenuBarMenuView as _0xb496ec,MenuBarMenuListView as _0x3e1863,MenuBarMenuListItemView as _0x5c49af,MenuBarMenuListItemButtonView as _0x25290f,ContextualBalloon as _0x276699,ToolbarSeparatorView as _0x4678a9,IconView as _0x51bbbd,addListToDropdown as _0x51b9f5,ViewModel as to,EditorUI as ht,normalizeToolbarConfig as ct,BoxedEditorUIView as dt,StickyPanelView as lt,ToolbarView as pt,InlineEditableUIView as ut}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DateTime as _0x3ce975}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x471e8e(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x39428d){super(),this['id']=_0x39428d['id']||_0x41d3fd(),this['creator']=_0x39428d['creator']||null,this['authors']=_0x39428d['authors']||[],this['diffData']=_0x39428d['diffData']||null,this['toVersion']=_0x39428d['toVersion']||0x0,this['fromVersion']=_0x39428d['fromVersion']||0x0,this['set']('name',_0x39428d['name']||''),this['set']('createdAt',_0x39428d['createdAt']||new Date()),this['set']('attributes',_0x39428d['attributes']||{});}['setName'](_0x389d33){this['_update']({'name':_0x389d33});}['setAttribute'](_0x4005ec,_0x4868b5){const _0x45808b=_0x2fc185(this['attributes']);_0x352cc5(_0x45808b,_0x4005ec,_0x4868b5),this['_update']({'attributes':_0x45808b});}['removeAttribute'](_0x2cf794){const _0x479a26=_0x2fc185(this['attributes']);_0x3c67b0(_0x479a26,_0x2cf794),this['_update']({'attributes':_0x479a26});}['_update'](_0x5e8b1e,_0xf9b204=!0x1){let _0x46228a=!0x1;const _0x3a3e6f={'id':this['id']},_0x5415fb=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x1635d3 of _0x5415fb){const _0x1f184e=_0x5e8b1e[_0x1635d3];void 0x0!==_0x1f184e&&_0x1f184e!==this[_0x1635d3]&&(this[_0x1635d3]=_0x1f184e,_0x3a3e6f[_0x1635d3]=_0x1f184e,_0x46228a=!0x0);}_0x46228a&&(_0x3a3e6f['authors']&&(_0x3a3e6f['authorsIds']=_0x3a3e6f['authors']['map'](_0x3b79b7=>_0x3b79b7['id']),delete _0x3a3e6f['authors']),this['fire']('_update',_0x3a3e6f,_0xf9b204));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3929ba=>_0x3929ba['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x11f4db{['_revisions'];static get['requires'](){return[_0x7f5a91];}static get['pluginName'](){return'RevisionsRepository';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}get['length'](){return this['_revisions']['length'];}constructor(_0x41758b){super(_0x41758b),this['_revisions']=new _0x14b4f0();}['afterInit'](){!function(_0x4012ad){function _0x4a320a(_0x84579f,_0x585cc1,_0x1bde9e){const _0xb60b05={};_0xb60b05[_0x904853([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xb60b05[_0x904853([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0xb60b05[_0x904853([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0xb60b05[_0x904853([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0xb60b05[_0x904853([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0xb60b05[_0x904853([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0xb60b05[_0x904853([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0xb60b05[_0x904853([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0xb60b05[_0x904853([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0xb60b05[_0x904853([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0xb60b05[_0x904853([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x5e7cf4=new Uint8Array(0x10);for(let _0x485046=0xf;_0x485046>=0x0;--_0x485046)_0x5e7cf4[_0x485046]=_0x1bde9e%0x100,_0x1bde9e=parseInt(_0x1bde9e/0x100);let _0x3bc19c=null,_0x19492c=0x10;const _0x451082=new Uint8Array(_0x585cc1),_0x2430c2=[],_0x308a6f=[];_0x29c6fd();for(let _0x1d653f=0x0;_0x1d653f<_0x84579f[_0x904853([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d653f++)0x10===_0x19492c&&(_0x3bc19c=_0x39debc(_0x5e7cf4),_0x19492c=0x0,_0x5bcc0a(_0x5e7cf4)),_0x84579f[_0x1d653f]^=_0x3bc19c[_0x19492c++];return _0x84579f;function _0x3cfb27(_0x57d96e){const _0x220e2c=[];for(let _0x41946f=0x0;_0x41946f<_0x57d96e[_0x904853([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41946f+=0x4)_0x220e2c[_0x904853([0x70,0x75,0x73,0x68])](_0x57d96e[_0x41946f]<<0x18|_0x57d96e[_0x41946f+0x1]<<0x10|_0x57d96e[_0x41946f+0x2]<<0x8|_0x57d96e[_0x41946f+0x3]);return _0x220e2c;}function _0x5bcc0a(_0x223ca8){for(let _0x24641a=0xf;_0x24641a>=0x0;_0x24641a--){if(0xff!==_0x223ca8[_0x24641a]){_0x223ca8[_0x24641a]++;break;}_0x223ca8[_0x24641a]=0x0;}}function _0x39debc(_0x58d311){const _0x60d90f=_0x2430c2[_0x904853([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1b62fe=[0x0,0x0,0x0,0x0];let t=_0x3cfb27(_0x58d311);for(let _0x315c9c=0x0;_0x315c9c<0x4;_0x315c9c++)t[_0x315c9c]^=_0x2430c2[0x0][_0x315c9c];for(let _0x19f985=0x1;_0x19f985<_0x60d90f;_0x19f985++){for(let _0x131bb6=0x0;_0x131bb6<0x4;_0x131bb6++)_0x1b62fe[_0x131bb6]=_0xb60b05[_0x904853([0x54,0x31])][t[_0x131bb6]>>0x18&0xff]^_0xb60b05[_0x904853([0x54,0x32])][t[(_0x131bb6+0x1)%0x4]>>0x10&0xff]^_0xb60b05[_0x904853([0x54,0x33])][t[(_0x131bb6+0x2)%0x4]>>0x8&0xff]^_0xb60b05[_0x904853([0x54,0x34])][0xff&t[(_0x131bb6+0x3)%0x4]]^_0x2430c2[_0x19f985][_0x131bb6];t=_0x1b62fe[_0x904853([0x73,0x6c,0x69,0x63,0x65])]();}const _0x60b71a=new Uint8Array(0x10);let _0x2cf7e4;for(let _0x60affe=0x0;_0x60affe<0x4;_0x60affe++)_0x2cf7e4=_0x2430c2[_0x60d90f][_0x60affe],_0x60b71a[0x4*_0x60affe]=0xff&(_0xb60b05[_0x904853([0x53])][t[_0x60affe]>>0x18&0xff]^_0x2cf7e4>>0x18),_0x60b71a[0x4*_0x60affe+0x1]=0xff&(_0xb60b05[_0x904853([0x53])][t[(_0x60affe+0x1)%0x4]>>0x10&0xff]^_0x2cf7e4>>0x10),_0x60b71a[0x4*_0x60affe+0x2]=0xff&(_0xb60b05[_0x904853([0x53])][t[(_0x60affe+0x2)%0x4]>>0x8&0xff]^_0x2cf7e4>>0x8),_0x60b71a[0x4*_0x60affe+0x3]=0xff&(_0xb60b05[_0x904853([0x53])][0xff&t[(_0x60affe+0x3)%0x4]]^_0x2cf7e4);return _0x60b71a;}function _0x29c6fd(){const _0x5e6a9c=_0xb60b05[_0x904853([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x451082[_0x904853([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x430fc6=0x0;_0x430fc6<=_0x5e6a9c;_0x430fc6++)_0x2430c2[_0x904853([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x308a6f[_0x904853([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x472661=0x4*(_0x5e6a9c+0x1),_0x328d4c=_0x451082[_0x904853([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x377799=_0x3cfb27(_0x451082);let _0x48c16b;for(let _0x2a0fba=0x0;_0x2a0fba<_0x328d4c;_0x2a0fba++)_0x48c16b=_0x2a0fba>>0x2,_0x2430c2[_0x48c16b][_0x2a0fba%0x4]=_0x377799[_0x2a0fba],_0x308a6f[_0x5e6a9c-_0x48c16b][_0x2a0fba%0x4]=_0x377799[_0x2a0fba];let _0x5a58df,_0x33c372=0x0,t=_0x328d4c;for(;t<_0x472661;){_0x5a58df=_0x377799[_0x328d4c-0x1],_0x377799[0x0]^=_0xb60b05[_0x904853([0x53])][_0x5a58df>>0x10&0xff]<<0x18^_0xb60b05[_0x904853([0x53])][_0x5a58df>>0x8&0xff]<<0x10^_0xb60b05[_0x904853([0x53])][0xff&_0x5a58df]<<0x8^_0xb60b05[_0x904853([0x53])][_0x5a58df>>0x18&0xff]^_0xb60b05[_0x904853([0x72,0x63,0x6f,0x6e])][_0x33c372]<<0x18,_0x33c372+=0x1;for(let _0x3569a7=0x1;_0x3569a7<_0x328d4c/0x2;_0x3569a7++)_0x377799[_0x3569a7]^=_0x377799[_0x3569a7-0x1];_0x5a58df=_0x377799[_0x328d4c/0x2-0x1],_0x377799[_0x328d4c/0x2]^=_0xb60b05[_0x904853([0x53])][0xff&_0x5a58df]^_0xb60b05[_0x904853([0x53])][_0x5a58df>>0x8&0xff]<<0x8^_0xb60b05[_0x904853([0x53])][_0x5a58df>>0x10&0xff]<<0x10^_0xb60b05[_0x904853([0x53])][_0x5a58df>>0x18&0xff]<<0x18;for(let _0x2845c3=_0x328d4c/0x2+0x1;_0x2845c3<_0x328d4c;_0x2845c3++)_0x377799[_0x2845c3]^=_0x377799[_0x2845c3-0x1];let _0x22188d,_0x4284a9,_0x303ffd=0x0;for(;_0x303ffd<_0x328d4c&&t<_0x472661;)_0x22188d=t>>0x2,_0x4284a9=t%0x4,_0x2430c2[_0x22188d][_0x4284a9]=_0x377799[_0x303ffd],_0x308a6f[_0x5e6a9c-_0x22188d][_0x4284a9]=_0x377799[_0x303ffd++],t++;}for(let _0x257a70=0x1;_0x257a70<_0x5e6a9c;_0x257a70++)for(let _0x3a6347=0x0;_0x3a6347<0x4;_0x3a6347++)_0x5a58df=_0x308a6f[_0x257a70][_0x3a6347],_0x308a6f[_0x257a70][_0x3a6347]=_0xb60b05[_0x904853([0x55,0x31])][_0x5a58df>>0x18&0xff]^_0xb60b05[_0x904853([0x55,0x32])][_0x5a58df>>0x10&0xff]^_0xb60b05[_0x904853([0x55,0x33])][_0x5a58df>>0x8&0xff]^_0xb60b05[_0x904853([0x55,0x34])][0xff&_0x5a58df];}}function _0x904853(_0x5169b5){return _0x5169b5['map'](_0x4705e3=>String['fromCharCode'](_0x4705e3))['join']('');}(_0x117346=>{function _0x426888(){const _0x510f2b=[{[_0x904853([0x69,0x64])]:0x1,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x904853([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x904853([0x69,0x64])]:0x2,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x904853([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x904853([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x904853([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x904853([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x904853([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x904853([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x904853([0x69,0x64])]:0x3,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x904853([0x69,0x64])]:0x4,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x904853([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x904853([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x904853([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x904853([0x69,0x64])]:0x5,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x904853([0x66,0x67,0x69])]:[0xc]}},{[_0x904853([0x69,0x64])]:0x6,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x904853([0x66,0x67,0x69])]:[0xc]}},{[_0x904853([0x69,0x64])]:0x7,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x904853([0x66,0x67,0x69])]:[0xc]}},{[_0x904853([0x69,0x64])]:0x8,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x904853([0x66,0x67,0x69])]:[0xc]}},{[_0x904853([0x69,0x64])]:0x9,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x904853([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x904853([0x69,0x64])]:0xa,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x904853([0x66,0x67,0x69])]:[0xc]}},{[_0x904853([0x69,0x64])]:0xb,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x904853([0x69,0x64])]:0xc,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x904853([0x69,0x64])]:0xd,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x904853([0x66,0x67,0x69])]:[0xc]}},{[_0x904853([0x69,0x64])]:0xe,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x904853([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x904853([0x69,0x64])]:0xf,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x904853([0x69,0x64])]:0x10,[_0x904853([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x904853([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x904853([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x904853([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x904853([0x66,0x67,0x69])]:[0xc]}}];return _0x5857c5(_0x510f2b),_0x510f2b;function _0x459865(_0x2c9f1d){return 0x1<<_0x2c9f1d-0x1;}function _0x5857c5(_0x35d3ce){_0x35d3ce[_0x904853([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc5e468=>{_0xc5e468[_0x904853([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x459865(_0xc5e468[_0x904853([0x69,0x64])]),_0x1a213f(_0xc5e468)&&_0xc5e468[_0x904853([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5857c5(_0xc5e468[_0x904853([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1a213f(_0x15c824){return _0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x15c824;}const _0x4c1831=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x190cdd=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x19cf60(_0x3d9773){const _0x17cba3=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4bc1d9(_0x3d9773,new Uint8Array([..._0x4c1831,..._0x17cba3,..._0x190cdd]));}function _0x4bc1d9(_0x3267c6,_0x2f9525){const _0x3d98f1=_0x32ef55(_0x3267c6),_0x81a6bd=Array[_0x904853([0x66,0x72,0x6f,0x6d])](_0x25fb81(_0x3d98f1)),_0x12d531=_0x81a6bd[_0x904853([0x70,0x6f,0x70])](),_0x31c9ee=_0x81a6bd[_0x904853([0x70,0x6f,0x70])]();return _0x3d6811(_0x4a320a(_0x81a6bd,_0x2f9525,_0x31c9ee+0x100*_0x12d531));}function _0x32ef55(_0x2a3018){const _0x3cde61=atob(_0x2a3018),[_0x5a63a9,_0x263948]=_0x3cde61[_0x904853([0x73,0x70,0x6c,0x69,0x74])](_0x904853([0x2d]));try{if(atob(_0x263948))return atob(_0x5a63a9);}catch(_0x276c21){}return _0x3cde61;}function _0x52b799(_0x4d4157){try{const _0x492c52=_0x19cf60(_0x4d4157),_0x5daf90=JSON[_0x904853([0x70,0x61,0x72,0x73,0x65])](_0x492c52),_0x2b4458=parseInt(_0x5daf90[_0x904853([0x31])]),_0x5ec048=_0x5daf90[_0x904853([0x32])]||'',_0x11d986=parseInt(_0x5daf90[_0x904853([0x33])]),_0x29178a=parseInt(_0x5daf90[_0x904853([0x34])])||0x0,_0x16061f=parseInt(_0x5daf90[_0x904853([0x35])])||0x0;return{[_0x904853([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x5ec048,[_0x904853([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x29178a,[_0x904853([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x2b4458,[_0x904853([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x11d986,[_0x904853([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x16061f};}catch(_0x28a188){return null;}}const _0x46ee4a=_0x426888(),_0xb4159e={[_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x508e39,[_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x41ed74,[_0x904853([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x334d1b},_0x58bb57=_0x117346[_0x904853([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2f83ef=_0x904853([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x117346?_0x117346['context']:_0x117346['editor'],_0x160b8e=_0x904853([0x34,0x30,0x34,0x38,0x32,0x30,0x34,0x38]),_0x1f74d1=_0x904853([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x1ed536=_0x2f83ef['config']['get'](_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1596c9=_0x46ee4a[_0x904853([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a213f)[_0x904853([0x66,0x69,0x6e,0x64])](_0x14dad2=>_0x14dad2[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x58bb57);function _0x495e3d(_0x2d8a56,_0x1bc59b){_0xb4159e[_0x1bc59b[_0x904853([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2d8a56,_0x1bc59b),_0x1bc59b[_0x904853([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1bc59b[_0x904853([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x904853([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5edfce=>_0x20d040(_0x2f83ef,_0x5edfce[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x904853([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x54c010=>_0x495e3d(_0x2d8a56,_0x54c010));}function _0x508e39(_0x2f9427,_0x412381){_0x1b69f0(_0x2b8f7e(_0x2f9427,_0x412381),_0x412381);}function _0x41ed74(_0x5f0aa4,_0x285893){function _0x328168(_0x37feb2,_0x57dbe3){try{if(_0x20d040(_0x2f83ef,_0x904853([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x37feb2){const _0x4fe65c=_0x54f0ff(_0x2f83ef,_0x904853([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x904853([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x4fe65c)/0x2>_0x37feb2[_0x904853([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x551a88(_0x57dbe3[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2b8f7e(_0x37feb2,_0x57dbe3);}catch(_0x35eda2){return _0x551a88(_0x57dbe3[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1b69f0(_0x328168(_0x5f0aa4,_0x285893),_0x285893);}function _0x334d1b(_0x1e0ad8,_0x591265){const _0x5d5935=_0x190cdd[0x0]*_0x4c1831[0x1],_0x21b17d=_0x190cdd[0x0]*_0x4c1831[0x2],_0x1edb54=_0x190cdd[0x2]*_0x4c1831[0x2];_0x20d040(_0x2f83ef,_0x904853([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x54f0ff(_0x2f83ef,_0x904853([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x904853([0x73,0x74,0x61,0x74,0x65])]==_0x904853([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x98c680()]=_0x1edb54);function _0x3203e8(_0x4b3f15,_0x1468a0){try{return _0x34a6fb()?_0x551a88(_0x1468a0[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x56,0x61,0x6c,0x69,0x64])):_0x2b8f7e(_0x4b3f15,_0x1468a0);}catch(_0x3335c6){return _0x551a88(_0x1468a0[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x400ca6(_0x2f9174,_0x184bf2){const _0x2193a9=0x7;if(_0x2f9174==_0x184bf2[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1e21fb();else{if(_0x2f9174==_0x184bf2[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x54,0x72,0x69,0x61,0x6c])){const _0x1a458d=_0x16bd05();_0x1a458d&&_0x2cd879(_0x1a458d,_0x184bf2[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x501453=_0x58b64e();window[_0x904853([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2cd879(_0x904853([0x74,0x69,0x6d,0x65]),_0x184bf2[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x501453);const _0x4b77a7=_0x54f0ff(_0x2f83ef,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x904853([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x4b77a7[_0x904853([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2193a9?_0x2cd879(_0x904853([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x184bf2[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x4b77a7['on'](_0x904853([0x61,0x64,0x64]),()=>{_0x4b77a7[_0x904853([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2193a9&&_0x2cd879(_0x904853([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x184bf2[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x16bd05(){if(!_0x20d040(_0x2f83ef,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x421ee3 in window)if(Number['isNaN'](Number(_0x421ee3))){if(window[_0x421ee3]===_0x5d5935)return _0x904853([0x74,0x69,0x6d,0x65]);if(window[_0x421ee3]===_0x21b17d)return _0x904853([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x34a6fb(){if(!_0x20d040(_0x2f83ef,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4ff904 in window)if(Number['isNaN'](Number(_0x4ff904))&&window[_0x4ff904]===_0x1edb54)return!0x0;return!0x1;}function _0x2cd879(_0x59afed,_0x2999f9){_0x1e21fb(),_0x551a88(_0x2999f9+_0x904853([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x59afed),window[_0x98c680()]=_0x59afed===_0x904853([0x74,0x69,0x6d,0x65])?_0x5d5935:_0x21b17d;}function _0x58b64e(){let _0x24c1a5=_0x190cdd[0x6]*_0x4c1831[0x8]*_0x4c1831[0x6];return _0x20d040(_0x2f83ef,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x24c1a5/=0xa),_0x24c1a5;}function _0x1e21fb(){const _0xdc8f4a=_0x2f83ef;function _0x14090a(){_0x20d040(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x54f0ff(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x904853([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x904853([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x54f0ff(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x904853([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x54f0ff(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x904853([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xb933a9,_0x54f0ff(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x904853([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xb933a9,_0xdc8f4a[_0x904853([0x6d,0x6f,0x64,0x65,0x6c])][_0x904853([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb933a9,_0xdc8f4a[_0x904853([0x6d,0x6f,0x64,0x65,0x6c])][_0x904853([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb933a9,_0xdc8f4a[_0x904853([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x904853([0x6d,0x6f,0x64,0x65,0x6c]))),_0x20d040(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x54f0ff(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x904853([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x904853([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x54f0ff(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x904853([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x54f0ff(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x904853([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xb933a9,_0x54f0ff(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x904853([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xb933a9);}_0xdc8f4a[_0x904853([0x73,0x74,0x61,0x74,0x65])]==_0x904853([0x72,0x65,0x61,0x64,0x79])?_0x14090a():_0xdc8f4a[_0x904853([0x6f,0x6e,0x63,0x65])](_0x904853([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x20d040(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x14090a(),_0x20d040(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x6359eb=_0x54f0ff(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x399c21=_0x6359eb['getRevision'](0x0),_0x589afa=_0x6359eb['getEarlierVisibleRevision'](_0x399c21[_0x904853([0x69,0x64])]);_0x54f0ff(_0xdc8f4a,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x904853([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x399c21[_0x904853([0x69,0x64])],_0x589afa?_0x589afa[_0x904853([0x69,0x64])]:null,0x1)['then'](()=>_0x14090a());}});}_0x400ca6(_0x3203e8(_0x1e0ad8,_0x591265),_0x591265);}function _0x2b8f7e(_0x2de9d1,_0x45f554){try{return _0x4e9b9d(_0x45f554)?_0x551a88(_0x45f554[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x56,0x61,0x6c,0x69,0x64])):_0x2de9d1&&_0x1aa073(_0x2de9d1[_0x904853([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x45f554)?_0x2de9d1[_0x904853([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x904853([0x6f,0x70,0x65,0x6e])][_0x904853([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x160b8e)/0x2>_0x2de9d1[_0x904853([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x551a88(_0x45f554[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2de9d1[_0x904853([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x551a88(_0x45f554[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x54,0x72,0x69,0x61,0x6c])):_0x551a88(_0x45f554[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x56,0x61,0x6c,0x69,0x64])):_0x551a88(_0x45f554[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x35b0e8){return _0x551a88(_0x45f554[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1b69f0(_0x254795,_0x20999f){if(_0x2f83ef instanceof _0x1bea7f){const _0x482d95=_0x2f83ef;_0x254795==_0x20999f[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5b66ee(_0x482d95):_0x254795==_0x20999f[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x54,0x72,0x69,0x61,0x6c])&&window[_0x904853([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5b66ee(_0x482d95),_0x551a88(_0x20999f[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x190cdd[0x6]*_0x4c1831[0x8]*_0x4c1831[0x6]),_0x482d95[_0x904853([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x904853([0x6f,0x6e])](_0x904853([0x61,0x64,0x64]),(_0x2c6990,_0x3cb7f8)=>{_0x254795!=_0x20999f[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x254795!=_0x20999f[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x254795!=_0x20999f[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x322ff4(_0x3cb7f8);});}else{const _0x4d2571=_0x2f83ef;_0x254795==_0x20999f[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x322ff4(_0x4d2571):_0x254795==_0x20999f[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x54,0x72,0x69,0x61,0x6c])&&_0x4d2571[_0x904853([0x6f,0x6e])](_0x904853([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x924e20=0x0;_0x4d2571[_0x904853([0x6d,0x6f,0x64,0x65,0x6c])][_0x904853([0x6f,0x6e])](_0x904853([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x574066,_0x18c773)=>{_0x18c773[0x0][_0x904853([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x924e20++,0x1f8===_0x924e20&&(_0x322ff4(_0x4d2571),_0x551a88(_0x20999f[_0x904853([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x904853([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x574066[_0x904853([0x6f,0x66,0x66])]());},{'priority':_0x904853([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x551a88(_0x1df0cd){const _0x77930a=_0x98c680();return _0x2f83ef[_0x77930a]=_0x1df0cd,_0x1df0cd;}function _0x98c680(){const _0x1bc39e=String(window[_0x904853([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x904853([0x6e,0x6f,0x77])]())[_0x904853([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x904853([0x2e]),'');let _0x56fd1c='';for(let _0x551e3a=0x0;_0x551e3a<_0x1bc39e[_0x904853([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x551e3a+=0x2){let _0x517c03=parseInt(_0x1bc39e[_0x904853([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x551e3a,_0x551e3a+0x2));_0x517c03>=_0x1f74d1[_0x904853([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x517c03-=_0x1f74d1[_0x904853([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x56fd1c+=_0x1f74d1[_0x517c03];}return _0x56fd1c;}function _0x5b66ee(_0x35dfe4){for(const _0x4b5641 of _0x35dfe4[_0x904853([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x322ff4(_0x4b5641);_0x54f0ff(_0x35dfe4,_0x904853([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x904853([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x54f0ff(_0x35dfe4,_0x904853([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x904853([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xb933a9;}function _0x322ff4(_0x1fa480){function _0x1541f7(){_0x1fa480[_0x904853([0x6d,0x6f,0x64,0x65,0x6c])][_0x904853([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb933a9,_0x1fa480[_0x904853([0x6d,0x6f,0x64,0x65,0x6c])][_0x904853([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb933a9,_0x1fa480[_0x904853([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x904853([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1fa480[_0x904853([0x73,0x74,0x61,0x74,0x65])]==_0x904853([0x72,0x65,0x61,0x64,0x79])?_0x1541f7():_0x1fa480[_0x904853([0x6f,0x6e,0x63,0x65])](_0x904853([0x72,0x65,0x61,0x64,0x79]),()=>_0x1541f7());}function _0xb933a9(){return null;}function _0x1aa073(_0x376e43,_0x35fb1a){const _0x119ee1=!!(_0x376e43&_0x35fb1a[_0x904853([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x61c95=_0x5a5e08(_0x376e43,_0x35fb1a);return _0x119ee1||_0x61c95;}function _0x5a5e08(_0x12af1a,_0x3950fe){const _0x3757ff=(_0x3950fe[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x904853([0x66,0x67,0x69])]||null;return!!_0x3757ff&&_0x46ee4a[_0x904853([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x367f20=>_0x3757ff[_0x904853([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x367f20[_0x904853([0x69,0x64])]))[_0x904853([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x49e9d4=>!_0x25efd4(_0x49e9d4))[_0x904853([0x73,0x6f,0x6d,0x65])](_0x3e7d55=>!!(_0x12af1a&_0x3e7d55[_0x904853([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x25efd4(_0x596a10){const _0x59812b={[_0x904853([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x466018};return!!_0x596a10['forbiddenHandler']&&_0x59812b[_0x596a10['forbiddenHandler']]();}function _0x466018(){return!window[_0x904853([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x20d040(_0x2f83ef,_0x904853([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4e9b9d(_0x11143a){if(!_0x20d040(_0x2f83ef,_0x11143a[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x15913e=_0x11143a[_0x904853([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x1b2fac=_0x15913e[_0x904853([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x209985=_0x15913e[_0x904853([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x10b66a=_0x15913e[_0x904853([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x20d040(_0x2f83ef,_0x904853([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x54f0ff(_0x2f83ef,_0x904853([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x904853([0x73,0x74,0x61,0x74,0x65])]==_0x904853([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x1b2fac)return!0x0;if(_0x20d040(_0x2f83ef,_0x904853([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x54f0ff(_0x2f83ef,_0x904853([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x904853([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x904853([0x65,0x6e,0x64])&&_0x209985)return!0x0;return!(!_0x20d040(_0x2f83ef,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0x54f0ff(_0x2f83ef,_0x904853([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x904853([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x904853([0x65,0x6e,0x64])||!_0x10b66a);}function _0x20d040(_0x3ec463,_0x381369){return _0x3ec463[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x904853([0x68,0x61,0x73])](_0x381369);}function _0x54f0ff(_0x397adf,_0xb0e47d){return _0x397adf[_0x904853([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x904853([0x67,0x65,0x74])](_0xb0e47d);}function _0x3d6811(_0x195ded){let _0x38f1c2='';for(const _0x49ec3e of _0x195ded)_0x38f1c2+=String[_0x904853([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x49ec3e);return _0x38f1c2;}function _0x25fb81(_0x4648a6){const _0x4b179a=new Uint8Array(_0x4648a6[_0x904853([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3e87d1=0x0;_0x3e87d1<_0x4648a6[_0x904853([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3e87d1++)_0x4b179a[_0x3e87d1]=_0x4648a6[_0x904853([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3e87d1);return _0x4b179a;}_0x1596c9&&_0x495e3d(_0x52b799(_0x1ed536),_0x1596c9);})(_0x4012ad);}(this);}['createRevision'](_0x1cb8a6){const _0x528d2d=this['editor']['plugins']['get']('Users');return new a({'id':_0x1cb8a6['id'],'name':_0x1cb8a6['name'],'creator':_0x1cb8a6['creatorId']?_0x528d2d['getUser'](_0x1cb8a6['creatorId']):null,'diffData':_0x1cb8a6['diffData']||_0x1cb8a6['data'],'authors':_0x1cb8a6['authorsIds']['map'](_0x32e57a=>_0x528d2d['getUser'](_0x32e57a)),'createdAt':new Date(_0x1cb8a6['createdAt']),'attributes':_0x1cb8a6['attributes'],'fromVersion':_0x1cb8a6['fromVersion'],'toVersion':_0x1cb8a6['toVersion']});}['addRevision'](_0x1156c6,_0x12855b=0x0){this['_revisions']['add'](_0x1156c6,_0x12855b);}['getRevision'](_0x2a39b9){return this['_revisions']['get'](_0x2a39b9);}['getRevisions'](_0x5c482d={'toJSON':!0x1}){const _0x1eb121=Array['from'](this['_revisions']);return _0x1eb121['reverse'](),_0x5c482d['toJSON']?_0x1eb121['map'](_0x2ffd9a=>_0x2ffd9a['toJSON']()):_0x1eb121;}['getIndex'](_0xf88274){return this['_revisions']['getIndex'](_0xf88274);}['getEarlierVisibleRevision'](_0x5e5b0c){const [,_0x143ed0]=this['getRevisionsIterator'](_0x5e5b0c,{'direction':'earlier'});return _0x143ed0;}['getLaterVisibleRevision'](_0x17e3e9){const [,_0x2511f0]=this['getRevisionsIterator'](_0x17e3e9,{'direction':'later'});return _0x2511f0;}['getRevisionsInDiff'](_0x1641d7){const _0x51ed3a=[];for(const _0x4e6a6f of this['getRevisionsIterator'](_0x1641d7['newRevisionId']))if(_0x51ed3a['push'](_0x4e6a6f),_0x4e6a6f['id']===_0x1641d7['oldRevisionId'])break;return _0x51ed3a;}*['getRevisionsIterator'](_0x35a16d,{direction:_0xd8f433='earlier',filter:_0x3641ab=()=>!0x0}={}){const _0x3f14f6='earlier'===_0xd8f433?0x1:-0x1;let _0x3f7a33=this['_revisions']['get'](_0x35a16d),_0x315e59=this['getIndex'](_0x3f7a33);for(yield _0x3f7a33;_0x3f7a33;){if(_0x315e59+=_0x3f14f6,_0x3f7a33=this['getRevision'](_0x315e59),!_0x3f7a33)return;_0x3641ab(_0x3f7a33)&&(yield _0x3f7a33);}}}function w(_0x2edb5d,_0x216006,_0x29a21b){const t=_0x2edb5d['t'];switch(_0x216006){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0x29a21b);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x29a21b);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x5959,'a':_0x377bf4,'e':_0x3ba888,'r':_0x32083a,'u':_0x32b992};class l extends _0x11f4db{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x7f5a91,A,_0x39b8cf];}constructor(_0x5991ed){super(_0x5991ed),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new J(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x53ccd5=_0x41d3fd();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x53ccd5},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x156298=this['repository']['getRevision'](0x0),_0x2bf42b=_0x156298&&null===_0x156298['creator']?_0x156298:null;if(this['_continueCurrentRevision']=!!_0x2bf42b&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x1d7b04=this['_source']['getCurrentRevisionId'](),_0x535736=this['repository']['getRevision'](_0x1d7b04);if(_0x535736)this['_startingVersion']=_0x535736['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x333b39=this['_source']['history']['_operations']['find'](_0x23623b=>!_0x23623b['_isInit']),_0x319b4b=_0x333b39?_0x333b39['baseVersion']:this['_source']['history']['version'];_0x156298?(_0x156298['toVersion']<_0x319b4b&&_0x156298['_update']({'toVersion':_0x319b4b}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2bf42b['id'],this['_startingVersion']=_0x2bf42b['fromVersion']):(this['_startingVersion']=_0x156298['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x319b4b,this['_continueCurrentRevision']=!0x1);}}else _0x2bf42b&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2bf42b['toVersion'],this['editor']['model']['document']['history']['version']),_0x2bf42b['fromVersion']===_0x2bf42b['toVersion']?(0x0!==_0x2bf42b['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2bf42b['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2bf42b['id'],this['_startingVersion']=_0x2bf42b['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x488e19=>!_0x488e19);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x55330b=this['repository']['getRevision'](0x0),_0x379597=await this['getRevisionDocumentData'](_0x55330b),_0x1efc31=await this['getRevisionRootsAttributes'](_0x55330b);this['_replaceEditorDataWithRevisionData'](_0x379597,_0x1efc31);}}['setSource'](_0x278241){this['_source']=_0x278241;}async['update'](){const _0x3e3397=await this['_source']['getLatestVersion']();if(_0x3e3397>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3edbfe=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3e3397});_0x3edbfe['authors']=_0x3edbfe['authorsIds']['map'](_0x3d4129=>this['editor']['plugins']['get']('Users')['getUser'](_0x3d4129)),this['currentRevision']['_update'](_0x3edbfe);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x348d3c={},_0x58c7fe=null){const _0x302f53=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x58c7fe>this['currentRevision']['toVersion']&&(_0x58c7fe=null),null===_0x58c7fe&&(_0x58c7fe=await this['_source']['getLatestVersion']());const _0x565616=this['_getFromVersion'](_0x58c7fe),_0x351d96=this['buildRevisionData']({'from':_0x565616,'to':_0x58c7fe});if(this['currentRevision']['toVersion']<_0x58c7fe){const _0x14df16=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x58c7fe,'to':_0x58c7fe});_0x14df16['authors']=[],_0x14df16['authorsIds']=[],_0x14df16['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x14df16,!0x0),delete _0x14df16['authors'],_0x302f53['push'](_0x14df16);}_0x348d3c['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x348d3c['name']=_0x348d3c['name']||null,_0x348d3c['id']=_0x348d3c['id']||_0x41d3fd(),_0x348d3c={..._0x348d3c,..._0x351d96};const _0x9a3cb8=this['addRevisionData'](_0x348d3c);_0x302f53['push'](_0x348d3c);const _0x3f21c2=this['repository']['getIndex'](_0x9a3cb8);if(0x0!==_0x3f21c2){const _0x3b684c=this['repository']['getRevision'](_0x3f21c2-0x1);if(_0x3b684c['fromVersion']!==_0x58c7fe){const _0x3cd248=this['_revisionDataBuilder']['getData'](_0x58c7fe,_0x3b684c['toVersion']),_0x24478a={'id':_0x3b684c['id'],'diffData':_0x3cd248['diffData'],'authorsIds':_0x3cd248['authorsIds'],'authors':_0x3cd248['authorsIds']['map'](_0x2d5154=>this['editor']['plugins']['get']('Users')['getUser'](_0x2d5154)),'fromVersion':_0x58c7fe};_0x3b684c===this['currentRevision']&&(_0x24478a['createdAt']=new Date(_0x348d3c['createdAt']['getTime']()+0xa)),_0x3b684c['_update'](_0x24478a,!0x0),delete _0x24478a['authors'],_0x302f53['push'](_0x24478a);}}if(this['adapter']){for(const _0x3fb6be of _0x302f53)this['_bufferUpdate'](_0x3fb6be['id'],_0x3fb6be,!0x0);this['sendBufferedUpdates']();}return _0x9a3cb8;}['addRevisionData'](_0x5d901a){const _0x5374fc=this['repository']['createRevision'](_0x5d901a);return this['adapter']&&_0x5374fc['on']('_update',(_0x23b316,_0x468148,_0x35717e)=>{_0x35717e||(this['_bufferUpdate'](_0x468148['id'],_0x468148,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x5374fc,this['_findInsertionIndex'](_0x5374fc)),_0x5374fc;}async['getRevisionDocumentData'](_0x177c45){await this['_loadRevisionData'](_0x177c45);const _0x931bef={};for(const _0x3453c2 in _0x177c45['diffData']){if(_0x177c45['diffData'][_0x3453c2]['attachChange']&&!_0x177c45['diffData'][_0x3453c2]['attachChange']['isAttached'])continue;const _0x2b7bbf=this['_removeRevisionMarkers'](JSON['parse'](_0x177c45['diffData'][_0x3453c2]['insertions'])),_0x2b1fdc=this['editor']['editing']['view']['document'],_0x51fd2d=new _0x3da0c7(_0x2b1fdc,_0x2b7bbf['map'](_0x5049c0=>B(_0x5049c0,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x931bef[_0x3453c2]=this['editor']['data']['processor']['toData'](_0x51fd2d),this['editor']['data']['processor']['useFillerType']('default');}return _0x931bef;}async['getRevisionRootsAttributes'](_0x3db778){await this['_loadRevisionData'](_0x3db778);const _0x3fd015={};for(const _0x4f339b in _0x3db778['diffData'])_0x3db778['diffData'][_0x4f339b]['attachChange']&&!_0x3db778['diffData'][_0x4f339b]['attachChange']['isAttached']||(_0x3fd015[_0x4f339b]=_0x3db778['diffData'][_0x4f339b]['attributesAfter']||{});return _0x3fd015;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x5b894a=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x1cbf25=0x0;_0x1cbf25<_0x5b894a['length'];_0x1cbf25++){const _0x3034dc=_0x5b894a[_0x1cbf25];let _0x4f8d0d=!0x1;for(const _0x56873b of Object['keys'](_0x3034dc))void 0x0===_0x3034dc[_0x56873b]?delete _0x3034dc[_0x56873b]:'id'!==_0x56873b&&(_0x4f8d0d=!0x0);_0x4f8d0d||(_0x5b894a[_0x1cbf25]=null);}if(_0x5b894a=_0x5b894a['filter'](_0x222d36=>null!==_0x222d36),!_0x5b894a['length'])return;for(let _0x1fefa7=0x0;_0x1fefa7<_0x5b894a['length'];_0x1fefa7++){const _0x49f246=_0x5b894a[_0x1fefa7];void 0x0!==_0x49f246['fromVersion']&&void 0x0===_0x49f246['toVersion']&&(_0x49f246['toVersion']=this['repository']['getRevision'](_0x49f246['id'])['toVersion']),void 0x0!==_0x49f246['toVersion']&&void 0x0===_0x49f246['fromVersion']&&(_0x49f246['fromVersion']=this['repository']['getRevision'](_0x49f246['id'])['fromVersion']);}const _0x5b3d8c=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x5b894a,_0x5b3d8c)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x23fd6a=>{if(_0x23fd6a){for(const _0x15d562 of _0x23fd6a)this['setRevisionData']({'id':_0x15d562['id'],'createdAt':_0x15d562['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x2c600e,_0x3e83a4){let _0x3f5894=this['editor']['config']['get']('initialData'),_0x3bca3c=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3f5894){_0x3f5894={};for(const _0x57f307 of this['editor']['model']['document']['getRootNames']())_0x3f5894[_0x57f307]='';}if('string'==typeof _0x3f5894&&(_0x3f5894={'main':_0x3f5894}),void 0x0===_0x3bca3c){_0x3bca3c={};for(const _0xae5ef6 of this['editor']['model']['document']['getRootNames']())_0x3bca3c[_0xae5ef6]={};}let _0x3aabb3=!0x1;const _0x30ee94=Object['keys'](_0x3f5894),_0x13ac08=Object['keys'](_0x2c600e);for(const _0x2996a9 of _0x30ee94){if(_0x3f5894[_0x2996a9]!==_0x2c600e[_0x2996a9]&&''!==_0x3f5894[_0x2996a9]['trim']()){_0x3aabb3=!0x0;break;}if(!_0x3ec669(_0x3bca3c[_0x2996a9],_0x3e83a4[_0x2996a9])&&Object['keys'](_0x3bca3c[_0x2996a9])['length']>0x0){_0x3aabb3=!0x0;break;}}_0x3aabb3||(_0x3aabb3=_0x13ac08['some'](_0x1e4d89=>!this['editor']['model']['document']['getRoot'](_0x1e4d89))),_0x3aabb3&&_0x416fd9('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3f5894,'editorRootsAttributes':_0x3bca3c,'revisionData':_0x2c600e,'revisionRootsAttributes':_0x3e83a4}),this['editor']['config']['set']('initialData',_0x2c600e),this['editor']['config']['set']('rootsAttributes',_0x3e83a4);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x50c082=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x50c082['add'](w(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1bf3fd){const _0x48a4b6=this['repository']['getRevisions']();_0x48a4b6['reverse']();let _0x1f4cd6=0x0;for(;_0x1f4cd6<_0x48a4b6['length'];){const _0x315092=_0x48a4b6[_0x1f4cd6];if(_0x315092===this['currentRevision']){_0x1f4cd6++;continue;}if(_0x315092['id']===this['_initialRevisionId'])break;const _0x581eb0=_0x1bf3fd['toVersion']-_0x315092['toVersion']||_0x1bf3fd['fromVersion']-_0x315092['fromVersion'];if(_0x581eb0>0x0)break;if(_0x581eb0<0x0)_0x1f4cd6++;else{if(!_0x1bf3fd['creator']&&_0x315092['creator'])break;if(_0x315092['creator']||!_0x1bf3fd['creator']){if(_0x1bf3fd['createdAt']>_0x315092['createdAt'])break;_0x1f4cd6++;}else _0x1f4cd6++;}}return _0x1f4cd6;}['setRevisionData'](_0x42de15){const _0x305f81=this['repository']['getRevision'](_0x42de15['id']);if(_0x42de15['createdAt']&&(_0x42de15['createdAt']=new Date(_0x42de15['createdAt'])),_0x42de15['authorsIds']){const _0x4bfeca=this['editor']['plugins']['get']('Users');_0x42de15['authors']=_0x42de15['authorsIds']['map'](_0x32670c=>_0x4bfeca['getUser'](_0x32670c));}_0x305f81['_update'](_0x42de15,!0x0);}['buildRevisionData']({revision:_0x1f36bd=null,from:_0xe45403=null,to:_0x262faa=null}){_0xe45403=null!==_0xe45403?_0xe45403:_0x1f36bd['fromVersion'],_0x262faa=null!==_0x262faa?_0x262faa:_0x1f36bd['toVersion'];const _0x41e987=this['_revisionDataBuilder']['getData'](_0xe45403,_0x262faa),_0xe23f9={'diffData':_0x41e987['diffData'],'authorsIds':_0x41e987['authorsIds'],'fromVersion':_0xe45403,'toVersion':_0x262faa};if(!_0x1f36bd||_0x262faa!==_0x1f36bd['toVersion']){const _0x1900b5=_0x262faa-0x1,_0x16fe24=this['_source']['history']['getOperation'](_0x1900b5);_0xe23f9['createdAt']=_0x16fe24&&_0x16fe24['createdAt']||new Date();}if(this['_loadedStateData']&&_0xe45403===this['_loadedStateData']['fromVersion']){for(const _0x4e360e of this['_loadedStateData']['authors'])_0xe23f9['authorsIds']['includes'](_0x4e360e['id'])||_0xe23f9['authorsIds']['push'](_0x4e360e['id']);}return _0xe23f9;}['_loadRevisionData'](_0x4ad22d){if(!_0x4ad22d||_0x4ad22d['diffData'])return Promise['resolve']();{const _0x3de4ab=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3de4ab,'revisionId':_0x4ad22d['id']})['then'](_0x52dd0c=>{_0x4ad22d['diffData']=_0x52dd0c['diffData'];});}}['_bufferUpdate'](_0x4b62d6,_0x431a9e,_0xd45f65){if(this['_bufferedUpdates']['has'](_0x4b62d6)){const _0x38a94f=this['_bufferedUpdates']['get'](_0x4b62d6);_0x431a9e=_0xd45f65?{..._0x38a94f,..._0x431a9e}:{..._0x431a9e,..._0x38a94f};}this['_bufferedUpdates']['set'](_0x4b62d6,_0x431a9e);}['_getFromVersion'](_0x45f8bb){const _0x3ee118=this['repository']['getRevisions']();_0x3ee118['reverse'](),_0x3ee118['shift']();const _0x4c9ae2=_0x3ee118['find'](_0x5f57da=>_0x5f57da['toVersion']<=_0x45f8bb)['toVersion'];return _0x4c9ae2<this['_startingVersion']?this['_startingVersion']:_0x4c9ae2;}['_createInitialRevision'](_0x3d40d5){const _0x3d3d44=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x3d3d44)this['_initialRevisionId']=_0x3d3d44['id'];else{const _0x93aa1e=!this['editor']['model']['document']['roots']['find'](_0x275083=>this['editor']['model']['hasContent'](_0x275083)),_0x20bac5=this['editor']['plugins']['get']('Users')['me']['id'],_0xb05511=w(this['editor']['locale'],_0x93aa1e?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3d40d5,'to':_0x3d40d5,'id':this['_initialRevisionId'],'name':_0xb05511,'creatorId':_0x20bac5});}}['_createCurrentRevision'](_0x245f42){const _0x5d7eaf=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x5d7eaf),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x245f42,'to':_0x245f42,'id':_0x5d7eaf,'name':'','creatorId':null}));}['_makeRevision']({name:_0x6b74b,from:_0x5335cb,to:_0x5bbc01,creatorId:_0x375948,id:_0x4de5ec}){const _0x353e92=this['buildRevisionData']({'from':_0x5335cb,'to':_0x5bbc01});_0x353e92['name']=_0x6b74b,_0x353e92['creatorId']=_0x375948,_0x353e92['id']=_0x4de5ec;const _0xc2791a=this['addRevisionData'](_0x353e92);return this['adapter']&&this['_bufferUpdate'](_0x353e92['id'],_0x353e92,!0x0),_0xc2791a;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x10c6b1){return(_0x10c6b1=_0x10c6b1['filter'](_0x402318=>!_0x402318['name']||'revision-start'!==_0x402318['name']&&'revision-end'!==_0x402318['name']))['forEach'](_0x506a95=>{'string'!=typeof _0x506a95&&(_0x506a95['children']=this['_removeRevisionMarkers'](_0x506a95['children']),_0x506a95['attributes']=_0x506a95['attributes']['filter'](_0x139d0d=>!_0x139d0d[0x0]['startsWith']('data-revision-')));}),_0x10c6b1;}}function B(_0x5144d3,_0x17376b){const _0x47a9a1=_0x17376b['editing']['view']['document'];if('string'==typeof _0x5144d3)return new _0x344367(_0x47a9a1,_0x5144d3);{const _0x520279=_0x5144d3['children']['map'](_0x2f997d=>B(_0x2f997d,_0x17376b));return new(T[_0x5144d3['type']]||_0x534990)(_0x47a9a1,_0x5144d3['name'],_0x5144d3['attributes'],_0x520279);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x3a7afa){this['editor']=_0x3a7afa,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x37b15a){this['source']=_0x37b15a;const _0x487f01=new Map(),_0x4e18d7=new Map(),_0x2add48=this['editor']['model']['document']['roots']['map'](_0xbfefa=>_0xbfefa['rootName']);for(const _0x381cf9 of _0x2add48){const _0x252a72=this['editor']['model']['document']['getRoot'](_0x381cf9),_0x210cd8=q(_0x252a72);_0x487f01['set'](_0x381cf9,_0x210cd8),_0x4e18d7['set'](_0x381cf9,Object['fromEntries'](_0x252a72['getAttributes']()));}const _0x1ddc83=Array['from'](this['editor']['model']['markers'])['map'](_0x1a4989=>[_0x1a4989['name'],_0x1a4989['getRange']()]),_0x32ce7f=this['source']['version'];this['_saveMetaData'](_0x32ce7f,_0x487f01,_0x1ddc83,_0x4e18d7),this['_startingRevisionId']=this['_revisionId'];const _0x2d4eb2=new Map(),_0x5d800f=new Map();for(const _0x5a6507 of _0x2add48){const _0x15b8b8=G(_0x5a6507);_0x2d4eb2['set'](_0x5a6507,_0x15b8b8),_0x5d800f['set'](_0x5a6507,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2d4eb2,[],_0x5d800f);}['getData'](_0x52509b,_0x51b997){if(this['_lastFrom']===_0x52509b&&this['_lastTo']<=_0x51b997)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x51b997,!0x0);else{if(!this['_savedMetaData']['has'](_0x52509b)){const _0x16d36d=this['_getPreviousFrom'](_0x52509b);this['_calculateMetaData'](_0x16d36d,_0x52509b,!0x1);}this['_calculateMetaData'](_0x52509b,_0x51b997,!0x0);}return this['_lastFrom']=_0x52509b,this['_lastTo']=_0x51b997,this['_getState']();}['loadState'](_0x5e067c){this['_reset'](),this['_lastFrom']=_0x5e067c['fromVersion'],this['_lastTo']=_0x5e067c['toVersion'];for(const _0x1cb2d1 in _0x5e067c['diffData']){const _0x4459ab=_0x5e067c['diffData'][_0x1cb2d1]['attachChange'],_0x4e315a=_0x2fc185(_0x5e067c['diffData'][_0x1cb2d1]['attributesBefore'])||{},_0x336c71=this['_makeModelFromViewString'](_0x5e067c['diffData'][_0x1cb2d1]['deletions']);_0x336c71['rootName']=_0x1cb2d1,_0x336c71['_isAttached']=!_0x4459ab||!_0x4459ab['isAttached'],_0x336c71['isAttached']=()=>_0x336c71['_isAttached'],this['_baseRoots']['set'](_0x1cb2d1,_0x336c71),this['_baseRootsAttributes']['set'](_0x1cb2d1,_0x4e315a),_0x4459ab&&this['_touchedRoots']['set'](_0x1cb2d1,_0x4459ab);const _0x3bd25b=this['_makeIdsRoot'](_0x336c71);this['_baseIdsRoots']['set'](_0x1cb2d1,_0x3bd25b);for(const [_0x141f61,_0x1805e0]of _0x336c71['markers']){if(!_0x141f61['startsWith']('revision:'))continue;const _0x1c84a7=_0x141f61['split'](':')[0x2];for(const _0x31a8b2 of _0x1805e0['getWalker']({'singleCharacters':!0x0})){const _0x1d2c90=this['_getVidAttributeName'](_0x31a8b2),_0x53303d='elementEnd'==_0x31a8b2['type']?_0x31a8b2['previousPosition']['path']['slice'](0x0,-0x1):_0x31a8b2['previousPosition']['path'],_0x2f9049=_0x3bd25b['getNodeByPath'](_0x53303d)['getAttribute'](_0x1d2c90);this['_touched']['set'](_0x2f9049,{'userId':_0x1c84a7});}}}this['_startingRevisionId']=this['_revisionId'];const _0x17ac39=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2384b1=>!this['_touched']['has'](_0x2384b1));let _0x27f3f0=0x0;const _0x15bb01=new Map();for(const _0x3cba53 in _0x5e067c['diffData']){const _0x46ac65=_0x5e067c['diffData'][_0x3cba53]['attachChange'],_0x54e113=_0x2fc185(_0x5e067c['diffData'][_0x3cba53]['attributesAfter'])||{},_0x2eb459=this['_makeModelFromViewString'](_0x5e067c['diffData'][_0x3cba53]['insertions']);_0x2eb459['rootName']=_0x3cba53,_0x2eb459['_isAttached']=!_0x46ac65||_0x46ac65['isAttached'],_0x2eb459['isAttached']=()=>_0x2eb459['_isAttached'],this['_diffRoots']['set'](_0x3cba53,_0x2eb459),this['_diffRootsAttributes']['set'](_0x3cba53,_0x54e113);const _0x579198=this['_makeIdsRoot'](_0x2eb459,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3cba53,_0x579198),_0x15bb01['set'](_0x3cba53,_0x2eb459['isAttached']()?_0x54e113:{});for(const [_0x1c3143,_0x228778]of _0x2eb459['markers']){if(!_0x1c3143['startsWith']('revision:'))continue;const _0x383cd8=_0x1c3143['split'](':')[0x2];for(const _0xaaef1f of _0x228778['getWalker']({'singleCharacters':!0x0})){const _0x48bc04=this['_getVidAttributeName'](_0xaaef1f),_0x5944d9=this['_revisionId']++,_0x3c70ea='elementEnd'==_0xaaef1f['type']?_0xaaef1f['previousPosition']['path']['slice'](0x0,-0x1):_0xaaef1f['previousPosition']['path'];_0x579198['getNodeByPath'](_0x3c70ea)['_setAttribute'](_0x48bc04,_0x5944d9),this['_touched']['set'](_0x5944d9,{'userId':_0x383cd8});}}for(const _0x4e9669 of this['editor']['model']['createRangeIn'](_0x2eb459)['getWalker']({'singleCharacters':!0x0})){const _0x22efd7=this['_getVidAttributeName'](_0x4e9669),_0x8fc44='elementEnd'==_0x4e9669['type']?_0x4e9669['previousPosition']['path']['slice'](0x0,-0x1):_0x4e9669['previousPosition']['path'],_0x389e9a=_0x579198['getNodeByPath'](_0x8fc44);_0x389e9a['getAttribute'](_0x22efd7)>0x0||_0x389e9a['_setAttribute'](_0x22efd7,_0x17ac39[_0x27f3f0++]);}for(const [_0x146d57,_0x24910d]of _0x2eb459['markers'])_0x146d57['startsWith']('revision:')||this['_markers']['set'](_0x146d57,_0x24910d);}const _0x2533ea=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x2533ea),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2533ea,0x1));const _0x3bb30f=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x3bb30f),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3bb30f,0x1));const _0x32f5ca=Array['from'](this['_diffRoots'])['map'](([_0x3790e1,_0x2cbed1])=>[_0x3790e1,q(_0x2cbed1)]);this['_saveMetaData'](this['_lastTo'],_0x32f5ca,this['_markers'],_0x15bb01);}['_makeModelFromViewString'](_0x406f99){const _0xf95914=JSON['parse'](_0x406f99),_0x2d9397=this['editor']['editing']['view']['document'],_0xfd48d7=new _0x3da0c7(_0x2d9397,_0xf95914['map'](_0x395d79=>B(_0x395d79,this['editor'])));return this['editor']['data']['toModel'](_0xfd48d7);}['_saveMetaData'](_0x117815,_0xc8d27f,_0x3e1d7e,_0x553df0){const _0x15ca39=new Map(_0xc8d27f),_0x7c941d=new Map(_0x2fc185(_0x553df0)),_0x187aca=new Map();for(const [_0x46fe47,_0x413782]of _0x3e1d7e)_0x187aca['set'](_0x46fe47,{'start':_0x413782['start']['clone'](),'end':_0x413782['end']['clone'](),'rootName':_0x413782['root']['rootName']});this['_savedMetaData']['set'](_0x117815,{'roots':_0x15ca39,'markers':_0x187aca,'rootsAttributes':_0x7c941d});}['_removeMetaData'](_0x27ba08){this['_savedMetaData']['delete'](_0x27ba08);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x5085f4,_0x3c8bd3=null){let _0x13396d=null;_0x5085f4['is']('documentFragment')||(_0x13396d=new ft(_0x5085f4['name'],{'vid_start':null===_0x3c8bd3?this['_revisionId']++:_0x3c8bd3++}));const _0x4f860f=[];for(const _0x421fef of _0x5085f4['getChildren']())if(_0x421fef['is']('element')){_0x4f860f['push'](this['_makeIdsRoot'](_0x421fef,_0x3c8bd3));const _0x57f60c=_0x4f860f[_0x4f860f['length']-0x1];null!==_0x3c8bd3&&(_0x3c8bd3=_0x57f60c['is']('element','$text')?_0x57f60c['getAttribute']('vid')+0x1:_0x57f60c['getAttribute']('vid_end')+0x1);}else{for(let _0x507623=0x0;_0x507623<_0x421fef['offsetSize'];_0x507623++)_0x4f860f['push'](new ft('$text',{'vid':null===_0x3c8bd3?this['_revisionId']++:_0x3c8bd3++}));}if(_0x5085f4['is']('documentFragment')){const _0x198c10=G(_0x5085f4['rootName']);return _0x198c10['_insertChild'](0x0,_0x4f860f),_0x198c10;}return _0x13396d['_setAttribute']('vid_end',null===_0x3c8bd3?this['_revisionId']++:_0x3c8bd3++),_0x13396d['_insertChild'](0x0,_0x4f860f),_0x13396d;}['_calculateMetaData'](_0x13b3e8,_0x147a71,_0x2bd452){this['_reset']();const {roots:_0x15589b,markers:_0x1b50bb,rootsAttributes:_0x1080ce}=this['_savedMetaData']['get'](_0x13b3e8);this['_baseRoots']=new Map(_0x15589b),this['_baseRootsAttributes']=new Map(_0x2fc185(_0x1080ce));for(const [_0x3c04f4,_0x7f50b6]of this['_baseRoots'])if('$graveyard'!==_0x3c04f4&&(this['_diffRoots']['set'](_0x3c04f4,q(_0x7f50b6)),this['_diffRootsAttributes']=new Map(_0x2fc185(_0x1080ce)),_0x2bd452)){const _0x3db4fb=this['_revisionId'];this['_idsRoots']['set'](_0x3c04f4,this['_makeIdsRoot'](_0x7f50b6)),this['_baseIdsRoots']['set'](_0x3c04f4,this['_makeIdsRoot'](_0x7f50b6,_0x3db4fb));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2bd452&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xac32ed,_0x37d610]of _0x1b50bb){const _0x5dbbf2=this['_baseRoots']['get'](_0x37d610['rootName']),_0x7df6df=this['_diffRoots']['get'](_0x37d610['rootName']),_0x20389d=new vt(this['_fixPosition'](_0x37d610['start'],_0x5dbbf2),this['_fixPosition'](_0x37d610['end'],_0x5dbbf2)),_0x48e359=this['_fixRange'](_0x20389d,_0x7df6df);_0x5dbbf2['markers']['set'](_0xac32ed,_0x20389d),this['_markers']['set'](_0xac32ed,_0x48e359);}this['_applyOperations'](_0x13b3e8,_0x147a71,_0x2bd452);}['_applyOperations'](_0x5d9825,_0x1f440c,_0x406e2f){for(const _0x3cca44 of this['source']['getOperations'](_0x5d9825,_0x1f440c))this['_handleOperation'](_0x3cca44,_0x406e2f);for(const _0x5af3e3 of this['_diffRoots']['values']())_0x5af3e3['markers']['clear']();for(const [_0xacbf12,_0x11d406]of this['_markers']){this['_diffRoots']['get'](_0x11d406['root']['rootName'])['markers']['set'](_0xacbf12,_0x11d406['clone']());}const _0x3f3a18=new Map(),_0x2e3011=new Map();for(const [_0x23a190,_0x47ab2a]of this['_diffRoots'])_0x3f3a18['set'](_0x23a190,q(_0x47ab2a)),_0x2e3011['set'](_0x23a190,this['_diffRootsAttributes']['get'](_0x23a190));this['_saveMetaData'](_0x1f440c,_0x3f3a18,this['_markers'],_0x2e3011);}['_getPreviousFrom'](_0x242bc7){const _0x40fc6d=Array['from'](this['_savedMetaData']['keys']());_0x40fc6d['sort']((_0x55ced8,_0x3d2d7f)=>_0x55ced8-_0x3d2d7f),_0x40fc6d['reverse']();for(const _0xa6832b of _0x40fc6d)if(_0xa6832b<_0x242bc7)return _0xa6832b;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1bd2c6,_0x5cef54){const _0x1cf810=Array['from'](_0x5cef54['markers'])['map'](([_0x53c275,_0x3202cc])=>[_0x53c275,this['_fixRange'](_0x3202cc,_0x1bd2c6)]);_0x1bd2c6['markers']=new Map(_0x1cf810);}['_transformMarkers'](_0x33b53b){for(const _0x5ce594 of this['_markers']['values']()){const _0x45ec34=_0x5ce594['getTransformedByOperation'](_0x33b53b),_0x43c438=vt['_createFromRanges'](_0x45ec34);_0x5ce594['start']=_0x43c438['start'],_0x5ce594['end']=_0x43c438['end'];}}['_handleOperation'](_0x5aa423,_0x532460){if('addRoot'!=_0x5aa423['type']&&'detachRoot'!=_0x5aa423['type']){if('insert'==_0x5aa423['type']){const _0x4f427e=_0x5aa423['position']['root']['rootName'];this['_diffRoots']['has'](_0x4f427e)||(this['_diffRoots']['set'](_0x4f427e,G(_0x4f427e,!0x0)),this['_diffRootsAttributes']['set'](_0x4f427e,{}),_0x532460&&this['_idsRoots']['set'](_0x4f427e,G(_0x4f427e,!0x0)));}else{if('addRootAttribute'==_0x5aa423['type']||'removeRootAttribute'==_0x5aa423['type']||'changeRootAttribute'==_0x5aa423['type'])return void this['_handleRootAttributeOperation'](_0x5aa423);'marker'==_0x5aa423['type']&&this['_handleMarkerOperation'](_0x5aa423);}if('marker'!==_0x5aa423['type']){const _0x1fe6da=this['_cloneOperation'](_0x5aa423,this['_diffRoots']);_0x1fe6da['_execute'](),this['_transformMarkers'](_0x1fe6da);}if(_0x532460)switch(_0x5aa423['type']){case'insert':this['_handleInsertOperation'](_0x5aa423);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5aa423);break;case'merge':this['_handleMergeOperation'](_0x5aa423);break;case'split':this['_handleSplitOperation'](_0x5aa423);}}else this['_handleRootOperation'](_0x5aa423,_0x532460);}['_cloneOperation'](_0x5d6611,_0x13f5c9){const _0x5e7b13=_0x5d6611['clone']();return _0x5e7b13['_authorId']=_0x5d6611['_authorId'],this['_fixOperation'](_0x5e7b13,_0x13f5c9),_0x5e7b13;}['_getBaseVids'](_0x258231){return _0x258231['map'](_0x1cc11c=>{const _0x16fe76=this['_getVidAttributeName'](_0x1cc11c);return Number(_0x1cc11c['item']['getAttribute'](_0x16fe76));});}['_generateTape'](_0x354998,_0x32a738){if(_0x354998['is']('element','$text'))_0x32a738['push']({'item':_0x354998,'type':'text'});else{_0x354998['is']('element')&&_0x32a738['push']({'item':_0x354998,'type':'elementStart'});for(const _0x1b6366 of _0x354998['getChildren']())this['_generateTape'](_0x1b6366,_0x32a738);_0x354998['is']('element')&&_0x32a738['push']({'item':_0x354998,'type':'elementEnd'});}return _0x32a738;}['_getState'](){const _0xa1dffd=new Map(this['_touched']),_0x3027a6=new Map(_0xa1dffd),_0x16643a=new Map(),_0xcb72db={'insertions':{},'deletions':{}},_0x2b605b={'insertions':{},'deletions':{}},_0x38219c=new Map(),_0x5c2ced=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5c2ced['delete']('$graveyard');for(const _0x2ef325 of _0x5c2ced){const _0x3e2412=this['_diffRoots']['get'](_0x2ef325)||G(_0x2ef325,!0x1),_0x5d64ab=this['_baseRoots']['get'](_0x2ef325)||G(_0x2ef325,!0x1);_0x3e2412['isAttached']()||_0x5d64ab['isAttached']()?(_0xcb72db['insertions'][_0x2ef325]=q(_0x3e2412),_0xcb72db['deletions'][_0x2ef325]=q(_0x5d64ab),this['_copyMarkers'](_0xcb72db['deletions'][_0x2ef325],_0x5d64ab),this['_copyMarkers'](_0xcb72db['insertions'][_0x2ef325],_0x3e2412),_0x2b605b['insertions'][_0x2ef325]=this['_generateTape'](this['_idsRoots']['get'](_0x2ef325),[]),_0x2b605b['deletions'][_0x2ef325]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2ef325)||G(_0x2ef325,!0x1),[])):_0x5c2ced['delete'](_0x2ef325);}for(const _0x3c14c8 of _0x5c2ced){const _0x490722=_0x2b605b['insertions'][_0x3c14c8];for(const _0x2e03bc of _0x490722){const _0x23dba7=this['_getVidAttributeName'](_0x2e03bc),_0x2eef68=_0x2e03bc['item']['getAttribute'](_0x23dba7);_0x3027a6['delete'](_0x2eef68),_0x2eef68>=this['_startingRevisionId']&&_0x16643a['set'](_0x2eef68,_0xa1dffd['get'](_0x2eef68));}}for(const _0x781552 of _0x5c2ced){const _0x50c0bf=_0x2b605b['insertions'][_0x781552],_0x1ebfa8=this['_getBaseVids'](_0x2b605b['deletions'][_0x781552]);let _0x1ce804=0x0;for(const _0x24a80c of _0x50c0bf){const _0x702d2e=this['_getVidAttributeName'](_0x24a80c),_0x17cefe=_0x24a80c['item']['getAttribute'](_0x702d2e);if(!_0x16643a['has'](_0x17cefe)&&!_0x38219c['has'](_0x17cefe)){if(_0x3027a6['has'](_0x17cefe))_0x1ce804++;else{if(_0x17cefe!=_0x1ebfa8[_0x1ce804]){const _0x2b7b28=_0xa1dffd['get'](_0x17cefe)||_0xa1dffd['get'](_0x1ebfa8[_0x1ce804]);for(;_0x17cefe!=_0x1ebfa8[_0x1ce804];)_0x3027a6['has'](_0x1ebfa8[_0x1ce804])||(_0x38219c['set'](_0x1ebfa8[_0x1ce804],_0x2b7b28),_0xa1dffd['set'](_0x1ebfa8[_0x1ce804],_0x2b7b28)),_0x1ce804++;}_0x1ce804++;}}}}for(const _0x5c1cce of _0x5c2ced){const _0x15d116=_0x2b605b['insertions'][_0x5c1cce];for(const _0x4a47aa of _0x15d116){const _0x11011c=this['_getVidAttributeName'](_0x4a47aa),_0x2f7489=_0x4a47aa['item']['getAttribute'](_0x11011c);if(_0x38219c['has'](_0x2f7489)){const _0x4a51f6=_0x38219c['get'](_0x2f7489);_0x3027a6['has'](_0x2f7489)||_0x3027a6['set'](_0x2f7489,{..._0x4a51f6}),_0x16643a['set'](_0x2f7489,{..._0x4a51f6});}}}for(const _0x42f5fd of _0x3027a6['keys']())_0x42f5fd>=this['_startingRevisionId']&&_0x3027a6['delete'](_0x42f5fd);const _0x402014=new Map();for(const _0x485ba2 of _0x5c2ced){let _0x224f83=_0x2b605b['insertions'][_0x485ba2];for(const _0x2db726 of _0x224f83)if(_0x2db726['item']['is']('element','tableCell')){const _0xd943f9=this['_getVidAttributeName'](_0x2db726),_0x92eabb=_0x2db726['item']['getAttribute'](_0xd943f9);if(_0x16643a['has'](_0x92eabb)){const _0x39b759=_0x2db726['item']['parent']['parent']['getAttribute']('vid_start'),_0x418c0e=_0x402014['get'](_0x39b759)||new Set();_0x418c0e['add'](_0x16643a['get'](_0x92eabb)['userId']),_0x402014['set'](_0x39b759,_0x418c0e);}}_0x224f83=_0x2b605b['deletions'][_0x485ba2];for(const _0xab183c of _0x224f83)if(_0xab183c['item']['is']('element','tableCell')){const _0x23fdb9=this['_getVidAttributeName'](_0xab183c),_0x6aee78=_0xab183c['item']['getAttribute'](_0x23fdb9);if(_0x3027a6['has'](_0x6aee78)){const _0x301d5b=_0xab183c['item']['parent']['parent']['getAttribute']('vid_start'),_0x4c29cc=_0x402014['get'](_0x301d5b)||new Set();_0x4c29cc['add'](_0x3027a6['get'](_0x6aee78)['userId']),_0x402014['set'](_0x301d5b,_0x4c29cc);}}for(const _0x49e0a4 of _0x402014['keys']())(_0x16643a['has'](_0x49e0a4)||_0x3027a6['has'](_0x49e0a4))&&_0x402014['delete'](_0x49e0a4);}for(const _0x4a77a6 of _0x5c2ced){const _0x36f2de=_0x2b605b['insertions'][_0x4a77a6];let _0x57796a=null,_0xb6a372=null;for(const _0x38b725 of _0x36f2de){const _0x11b888=this['_getVidAttributeName'](_0x38b725),_0x12dae3=_0x38b725['item']['getAttribute'](_0x11b888),_0x24cd74=_0x402014['get'](_0x12dae3);_0x24cd74&&'elementStart'==_0x38b725['type']&&(_0x57796a=Array['from'](_0x24cd74)[0x0],_0xb6a372=_0x38b725['item']['getAttribute']('vid_end')),_0x57796a&&(_0x3027a6['set'](_0x12dae3,{'userId':_0x57796a}),_0x16643a['set'](_0x12dae3,{'userId':_0x57796a})),_0x12dae3==_0xb6a372&&(_0x57796a=null,_0xb6a372=null);}}const _0x2089c2={},_0x5b293f=new Set();for(const _0x422333 of _0x5c2ced){const _0x51c402=_0xcb72db['deletions'][_0x422333],_0x6b3e64=_0xcb72db['insertions'][_0x422333];for(const {userId:_0x1cd2af}of this['_touchedMarkers']['values']())null!==_0x1cd2af&&_0x5b293f['add'](_0x1cd2af);for(const {userId:_0x2f1579}of this['_touchedRoots']['values']())null!==_0x2f1579&&_0x5b293f['add'](_0x2f1579);this['_markChanges'](_0x6b3e64,_0x2b605b['insertions'][_0x422333],_0x16643a,'insertion',_0x5b293f),this['_markChanges'](_0x51c402,_0x2b605b['deletions'][_0x422333],_0x3027a6,'deletion',_0x5b293f),_0x2089c2[_0x422333]={'insertions':this['_prepareViewToSave'](_0x6b3e64),'deletions':this['_prepareViewToSave'](_0x51c402),'attachChange':this['_touchedRoots']['get'](_0x422333)||null,'attributesBefore':_0x2fc185(this['_baseRootsAttributes']['get'](_0x422333))||{},'attributesAfter':_0x2fc185(this['_diffRootsAttributes']['get'](_0x422333))};}return{'diffData':_0x2089c2,'authorsIds':Array['from'](_0x5b293f)};}['_processRootBeforeSave'](_0x252a10){for(const [,_0x4a6ecc]of _0x252a10['markers']){const _0xa24ccc=_0x4a6ecc['start']['getAncestors']()['filter'](_0x3e439c=>'tableCell'==_0x3e439c['name']);for(const _0x3de112 of _0xa24ccc)0x1==_0x3de112['childCount']&&_0x3de112['getChild'](0x0)['is']('element','paragraph')&&_0x3de112['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3fd47c){this['_processRootBeforeSave'](_0x3fd47c);const _0x8679e1=this['editor']['data']['toView'](_0x3fd47c,{}),_0x32374a=Array['from'](_0x8679e1['getChildren']())['map'](_0x1eb54a=>this['_getViewJson'](_0x1eb54a));return JSON['stringify'](_0x32374a);}['_getViewJson'](_0x252b95){if(_0x252b95['is']('$text'))return _0x252b95['data'];{const _0x1e895c=_0x252b95;return{'type':Object['keys'](T)['find'](_0x105ac9=>_0x252b95 instanceof T[_0x105ac9]),'name':_0x1e895c['name'],'attributes':Array['from'](_0x1e895c['getAttributes']()),'children':Array['from'](_0x1e895c['getChildren']())['map'](_0x17b7cd=>this['_getViewJson'](_0x17b7cd))};}}['_markChanges'](_0x50d93a,_0x5239ab,_0x499b85,_0x58dec7,_0x1c5daa){let _0x545d46=null,_0x160919=null,_0x1f2347=0x0;const _0x26dd0f=this['editor']['model'];for(let _0x52fbca=0x0;_0x52fbca<_0x5239ab['length'];_0x52fbca++){const _0x8d56d1=this['_getVidAttributeName'](_0x5239ab[_0x52fbca]),_0x15def0=_0x5239ab[_0x52fbca]['item']['getAttribute'](_0x8d56d1),_0xa9c633=_0x499b85['get'](_0x15def0),_0x202aed=_0x52fbca==_0x5239ab['length']-0x1;(!_0x545d46&&_0xa9c633&&(_0x545d46=_0xa9c633,_0x160919=_0x5239ab[_0x52fbca]),_0x545d46&&(!_0xa9c633||_0xa9c633['userId']!=_0x545d46['userId']))&&(_0x55a2e3(_0xa9c633,L(_0x160919,_0x50d93a,_0x26dd0f),L(_0x5239ab[_0x52fbca],_0x50d93a,_0x26dd0f)),_0x545d46=_0xa9c633||null,_0x160919=_0xa9c633?_0x5239ab[_0x52fbca]:null),_0x545d46&&_0x202aed&&_0x55a2e3(_0xa9c633,L(_0x160919,_0x50d93a,_0x26dd0f),W(_0x5239ab[_0x52fbca],_0x50d93a,_0x26dd0f));}function _0x55a2e3(_0x356a27,_0x43450e,_0x206525){const _0x19b4b2=_0x545d46['userId'],_0x28bbb4='revision:'+_0x58dec7+':'+_0x19b4b2+':'+_0x1f2347++,_0x470af6=_0x26dd0f['createRange'](_0x43450e,_0x206525);_0x50d93a['markers']['set'](_0x28bbb4,_0x470af6),null!==_0x19b4b2&&_0x1c5daa['add'](_0x19b4b2);}}['_getVidAttributeName'](_0x3c200c){switch(_0x3c200c['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x3b2977,_0x400b13){_0x3b2977['baseVersion']=null;for(const _0x133b42 in _0x3b2977){const _0x5a3c30=_0x3b2977[_0x133b42];if(_0x5a3c30 instanceof gt){const _0x493eed=_0x400b13['get'](_0x5a3c30['root']['rootName']);_0x3b2977[_0x133b42]=this['_fixPosition'](_0x5a3c30,_0x493eed);}if(_0x5a3c30 instanceof vt){const _0x77ad23=_0x400b13['get'](_0x5a3c30['root']['rootName']);_0x3b2977[_0x133b42]=this['_fixRange'](_0x5a3c30,_0x77ad23);}'root'===_0x133b42&&(_0x3b2977['root']=_0x400b13['get'](_0x3b2977['root']['rootName']));}}['_fixRange'](_0x2f7e6c,_0x4aa938){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2f7e6c['start'],_0x4aa938),this['_fixPosition'](_0x2f7e6c['end'],_0x4aa938));}['_fixPosition'](_0x481a6e,_0x362c3a){return this['editor']['model']['createPositionFromPath'](_0x362c3a,_0x481a6e['path'],_0x481a6e['stickiness']);}['_handleInsertOperation'](_0x4ad07e){const _0x440f42=this['_idsRoots']['get'](_0x4ad07e['position']['root']['rootName']),_0x29868e=this['_fixPosition'](_0x4ad07e['position'],_0x440f42),_0x48accc=null===_0x4ad07e['_authorId']?null:_0x4ad07e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4844ff=_0x29868e['parent'],_0x35d3b4=this['_revisionId'],_0x3338f2=[];for(const _0x536a67 of _0x4ad07e['nodes'])if(_0x536a67['is']('element'))_0x3338f2['push'](this['_makeIdsRoot'](_0x536a67));else{for(let _0x46a53e=0x0;_0x46a53e<_0x536a67['offsetSize'];_0x46a53e++)_0x3338f2['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x17fe23=this['_revisionId'];for(let _0x532cb9=_0x35d3b4;_0x532cb9<_0x17fe23;_0x532cb9++)this['_touched']['set'](_0x532cb9,{'userId':_0x48accc});_0x4844ff['_insertChild'](_0x29868e['offset'],_0x3338f2);}['_handleMoveOperation'](_0x3ce14e){(_0x3ce14e=this['_cloneOperation'](_0x3ce14e,this['_idsRoots']))['_execute']();const _0x4c08ac=null===_0x3ce14e['_authorId']?null:_0x3ce14e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x18c025=_0x3ce14e['getMovedRangeStart'](),_0x200ce9=_0x18c025['parent'],_0x44c376=_0x18c025['offset'];!function _0x5711f1(_0x32814c,_0x1d2f5d,_0x1cb20b,_0x1907d9){for(let _0x186d85=_0x1cb20b;_0x186d85<_0x1907d9;_0x186d85++){const _0x414c2b=_0x1d2f5d['getChild'](_0x186d85);_0x414c2b['is']('element','$text')?_0x32814c['set'](_0x414c2b['getAttribute']('vid'),{'userId':_0x4c08ac}):(_0x32814c['set'](_0x414c2b['getAttribute']('vid_start'),{'userId':_0x4c08ac}),_0x5711f1(_0x32814c,_0x414c2b,0x0,_0x414c2b['childCount']),_0x32814c['set'](_0x414c2b['getAttribute']('vid_end'),{'userId':_0x4c08ac}));}}(this['_touched'],_0x200ce9,_0x44c376,_0x44c376+_0x3ce14e['howMany']);}['_handleMergeOperation'](_0x25240c){const _0x22cd87=null===(_0x25240c=this['_cloneOperation'](_0x25240c,this['_idsRoots']))['_authorId']?null:_0x25240c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1a31f6=_0x25240c['targetPosition']['parent'],_0x5e6157=_0x25240c['sourcePosition']['parent'],_0x4f7756=_0x1a31f6['getAttribute']('vid_end'),_0x317740=_0x5e6157['getAttribute']('vid_start');_0x1a31f6['_setAttribute']('vid_end',_0x5e6157['getAttribute']('vid_end')),_0x5e6157['_setAttribute']('vid_end',_0x4f7756),this['_touched']['set'](_0x317740,{'userId':_0x22cd87}),this['_touched']['set'](_0x4f7756,{'userId':_0x22cd87}),_0x25240c['_execute']();}['_handleSplitOperation'](_0x344b26){const _0x33e193=null===(_0x344b26=this['_cloneOperation'](_0x344b26,this['_idsRoots']))['_authorId']?null:_0x344b26['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3f2014=_0x344b26['graveyardPosition'],_0x426fa5=_0x344b26['splitPosition']['parent'];_0x344b26['_execute']();const _0x541e68=_0x426fa5['getAttribute']('vid_end'),_0x43af2a=_0x344b26['insertionPosition']['nodeAfter'];if(_0x3f2014){const _0x54e96d=_0x43af2a['getAttribute']('vid_end'),_0x24d8d1=_0x426fa5['getAttribute']('vid_end');_0x426fa5['_setAttribute']('vid_end',_0x54e96d),_0x43af2a['_setAttribute']('vid_end',_0x24d8d1),this['_touched']['set'](_0x426fa5['getAttribute']('vid_end'),{'userId':_0x33e193}),this['_touched']['set'](_0x43af2a['getAttribute']('vid_start'),{'userId':_0x33e193});}else{const _0x10ca4c=this['_revisionId']++,_0x48298c=this['_revisionId']++;_0x426fa5['_setAttribute']('vid_end',_0x10ca4c),_0x43af2a['_setAttribute']('vid_start',_0x48298c),_0x43af2a['_setAttribute']('vid_end',_0x541e68),this['_touched']['set'](_0x10ca4c,{'userId':_0x33e193}),this['_touched']['set'](_0x48298c,{'userId':_0x33e193});}}['_handleMarkerOperation'](_0x197583){if(!_0x197583['affectsData'])return;const _0x2f7a59=(_0x197583=this['_cloneOperation'](_0x197583,this['_diffRoots']))['oldRange']?_0x197583['oldRange']['root']:null,_0x165201=_0x197583['newRange']?_0x197583['newRange']['root']:null;_0x2f7a59&&this['_markers']['delete'](_0x197583['name']),_0x165201&&this['_markers']['set'](_0x197583['name'],_0x197583['newRange']['clone']());const _0x2a56d2=null===_0x197583['_authorId']?null:_0x197583['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x11c3c6=_0x197583['name'];if(!this['_touchedMarkers']['has'](_0x11c3c6))return void this['_touchedMarkers']['set'](_0x11c3c6,{'range':_0x197583['oldRange'],'userId':_0x2a56d2});const _0x1f1f48=this['_touchedMarkers']['get'](_0x11c3c6),_0x2ed53b=_0x1f1f48['range'],_0x71cbad=_0x197583['newRange'];null==_0x2ed53b&&null==_0x71cbad||_0x2ed53b&&_0x71cbad&&_0x2ed53b['isEqual'](_0x71cbad)?this['_touchedMarkers']['delete'](_0x197583['name']):_0x1f1f48['userId']=_0x2a56d2;}['_handleRootOperation'](_0x21a102,_0x18f15b){this['_diffRoots']['has'](_0x21a102['rootName'])?this['_diffRoots']['get'](_0x21a102['rootName'])['_isAttached']=_0x21a102['isAdd']:(this['_diffRoots']['set'](_0x21a102['rootName'],G(_0x21a102['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x21a102['rootName'],{}),_0x18f15b&&this['_idsRoots']['set'](_0x21a102['rootName'],G(_0x21a102['rootName'],!0x0)));const _0x53ca70=null===_0x21a102['_authorId']?null:_0x21a102['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x402325=this['_touchedRoots']['get'](_0x21a102['rootName']);_0x402325&&_0x402325['userId']===_0x53ca70?this['_touchedRoots']['delete'](_0x21a102['rootName']):this['_touchedRoots']['set'](_0x21a102['rootName'],{'userId':_0x53ca70,'isAttached':_0x21a102['isAdd']});}['_handleRootAttributeOperation'](_0x5912fa){const _0x12f55f=this['_diffRootsAttributes']['get'](_0x5912fa['root']['rootName']);null===_0x5912fa['newValue']?delete _0x12f55f[_0x5912fa['key']]:_0x12f55f[_0x5912fa['key']]=_0x5912fa['newValue'];}}function q(_0x2851e9){const _0x3b6633=G(_0x2851e9['rootName'],_0x2851e9['isAttached']());for(const _0x37deae of _0x2851e9['getChildren']()){const _0x3e585c=_0x37deae['_clone'](!0x0);_0x3b6633['_appendChild'](_0x3e585c);}return _0x3b6633;}function G(_0x4e1070,_0x4658df=!0x0){const _0x55d0a5=new wt();return _0x55d0a5['rootName']=_0x4e1070,_0x55d0a5['_isAttached']=_0x4658df,_0x55d0a5['isAttached']=()=>_0x55d0a5['_isAttached'],_0x55d0a5;}function L(_0x47ed6d,_0x2c020a,_0x93bc8f){const _0x13f5b5='elementEnd'==_0x47ed6d['type']?_0x93bc8f['createPositionAt'](_0x47ed6d['item'],'end'):_0x93bc8f['createPositionBefore'](_0x47ed6d['item']);return _0x93bc8f['createPositionFromPath'](_0x2c020a,_0x13f5b5['path'],_0x13f5b5['stickiness']);}function W(_0x487173,_0x5385fa,_0x4e81a2){const _0xefacae='elementStart'==_0x487173['type']?_0x4e81a2['createPositionAt'](_0x487173['item'],0x0):_0x4e81a2['createPositionAfter'](_0x487173['item']);return _0x4e81a2['createPositionFromPath'](_0x5385fa,_0xefacae['path'],_0xefacae['stickiness']);}class ns extends _0x2ae250{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x29c4b7,_0x378bef){super(_0x29c4b7),this['focusTracker']=new _0x5d22ad(),this['keystrokes']=new _0x131398(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x378bef),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x557584({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5776c4=_0xf65c4f=>_0xf65c4f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5776c4),this['keystrokes']['set']('arrowleft',_0x5776c4),this['keystrokes']['set']('arrowup',_0x5776c4),this['keystrokes']['set']('arrowdown',_0x5776c4);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x222968){this['revisionNameInputView']['fieldView']['element']['value']=_0x222968['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x56cd68){const _0x37efd5=new at(this['locale'],_0x1d63c5),_0x2d0a80=_0x37efd5['fieldView'];_0x2d0a80['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x11b0a7=w(this['locale'],'Name\x20of\x20the\x20revision');return!_0x56cd68&&(_0x11b0a7+='\x20('+w(this['locale'],'optional')+')'),(_0x37efd5['label']=_0x11b0a7,_0x2d0a80['on']('input',()=>{this['revisionNameInputValue']=_0x2d0a80['element']['value']['trim']();}),_0x37efd5);}}class u extends _0x11f4db{static get['pluginName'](){return'RevisionHistoryUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x189955=this['editor'],_0x4f004c=_0x189955['plugins']['get']('RevisionTracker');_0x189955['ui']['componentFactory']['add']('revisionHistory',_0x4a9c2a=>{const _0x578fd4=_0x4965fc(_0x4a9c2a),_0x2462ea=_0x578fd4['panelView']['children'],_0x52b7a9=new te(_0x4a9c2a),_0x500791=new _0x3a5f25(_0x4a9c2a),_0x17702f=new _0x49c2da(_0x4a9c2a),_0x355294=new _0x3a5f25(_0x4a9c2a),_0x150067=new _0x49c2da(_0x4a9c2a);return _0x578fd4['bind']('isEnabled')['to'](_0x4f004c,'isReady',_0x4f004c,'isEnabled',_0x189955,'isReadOnly',(_0x3831bd,_0x4281c9,_0x9ebc7d)=>_0x3831bd&&_0x4281c9&&!_0x9ebc7d),_0x578fd4['buttonView']['set']({'icon':_0x1cf5a1['history'],'label':w(_0x4a9c2a,'Revision\x20history'),'tooltip':!0x0}),_0x17702f['set']({'label':w(_0x4a9c2a,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x17702f['bind']('isEnabled')['to'](_0x4f004c,'isReady',_0x4f004c,'isEnabled',_0x189955,'isReadOnly',(_0x23bfe8,_0x3b989f,_0x4f977b)=>_0x23bfe8&&_0x3b989f&&!_0x4f977b),_0x17702f['on']('execute',()=>this['_showDialog']()),_0x150067['set']({'label':w(_0x4a9c2a,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x150067['bind']('isEnabled')['to'](_0x4f004c,'isReady',_0x189955,'isReadOnly',(_0x6b172a,_0x7e88c8)=>_0x6b172a&&!_0x7e88c8),_0x150067['on']('execute',()=>{_0x189955['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x578fd4['isOpen']=!0x1,_0x189955['editing']['view']['focus']();}),_0x500791['children']['add'](_0x17702f),_0x355294['children']['add'](_0x150067),_0x52b7a9['role']='menu',_0x52b7a9['items']['addMany']([_0x500791,_0x355294]),_0x2462ea['add'](_0x52b7a9),_0x578fd4;}),_0x189955['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x394e0d=this['editor'],_0x46ccec=_0x394e0d['locale'],_0x3e011e=new _0xb496ec(_0x46ccec),_0x1a9553=new _0x3e1863(_0x46ccec);_0x3e011e['buttonView']['set']({'icon':_0x1cf5a1['history'],'label':w(_0x46ccec,'Revision\x20history')});const _0x139e44=new _0x5c49af(_0x46ccec,_0x3e011e),_0x40ecde=new _0x25290f(_0x46ccec);_0x40ecde['set']({'label':w(_0x46ccec,'Save\x20current\x20revision')}),_0x40ecde['delegate']('execute')['to'](_0x3e011e),_0x40ecde['on']('execute',()=>{this['_showDialog']();}),_0x139e44['children']['add'](_0x40ecde),_0x1a9553['items']['add'](_0x139e44);const _0x544f42=new _0x5c49af(_0x46ccec,_0x3e011e),_0x44d519=new _0x25290f(_0x46ccec);return _0x44d519['set']({'label':w(_0x46ccec,'Open\x20revision\x20history')}),_0x44d519['delegate']('execute')['to'](_0x3e011e),_0x44d519['on']('execute',()=>{_0x394e0d['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x544f42['children']['add'](_0x44d519),_0x1a9553['items']['add'](_0x544f42),_0x3e011e['panelView']['children']['add'](_0x1a9553),_0x3e011e;}['_showDialog'](){const _0x1dd04b=this['editor'],_0x102945=_0x1dd04b['locale'],_0x20a9ac=_0x1dd04b['plugins']['get']('Dialog'),_0x518578=_0x1dd04b['plugins']['get']('RevisionTracker');function _0x5e9169(_0x194e80){_0x1dd04b['config']['get']('revisionHistory.requireRevisionName')&&''===_0x194e80['revisionName']?_0x194e80['revisionNameInputView']['errorText']=w(_0x102945,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x1dd04b['plugins']['get'](l)['saveRevision']({'name':_0x194e80['revisionName']}),_0x20a9ac['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5e9169(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x20a9ac['show']({'id':'revisionSave','title':w(_0x102945,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':w(_0x1dd04b['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x20a9ac['hide']()},{'label':w(_0x1dd04b['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x38a6f6){_0x38a6f6['bind']('isEnabled')['to'](_0x518578,'isReady',_0x518578,'isEnabled',_0x1dd04b,'isReadOnly',(_0x3f3556,_0x3fd7c3,_0x30359)=>_0x3f3556&&_0x3fd7c3&&!_0x30359);},'onExecute':()=>_0x5e9169(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x31cc6c=this['editor'],_0x369187=_0x31cc6c['locale'];this['_saveRevisionFormView']=new ns(_0x369187,_0x31cc6c['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x2ae250{['changeId'];['_model'];constructor(_0x506d61,_0x193692){super(_0x506d61),this['_model']=_0x193692,this['changeId']=_0x193692['id'];const _0x188817=this['bindTemplate'],_0x28b5c7=w(_0x506d61,_0x193692['data']['isSuggestion']?'Suggested\x20by':'add'==_0x193692['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x193692['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x188817['to']('type',_0x522103=>'ck-revision-change__'+_0x522103)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x28b5c7}]},{'text':'\x20'+_0x193692['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x471e8e(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x593b5d){super(),this['id']=_0x593b5d['id']||_0x41d3fd(),this['author']=_0x593b5d['author'],this['type']=_0x593b5d['type'],this['data']=_0x593b5d['data']||{},this['rootName']=_0x593b5d['rootName'],this['set']('createdAt',_0x593b5d['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x4e22da,_0x13b035){this['newRevisionId']=_0x4e22da,this['oldRevisionId']=_0x13b035,this['changes']=new _0x14b4f0();}['_setChanges'](_0x3b7a62){for(const _0x3aca57 of _0x3b7a62)this['changes']['add'](_0x3aca57);}}const tt={'c':_0x5959,'a':_0x377bf4,'e':_0x3ba888,'r':_0x32083a,'u':_0x32b992};class d extends _0x11f4db{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[_0x7f5a91,_0x276699,A];}constructor(_0x1efad9){super(_0x1efad9),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x121fb7,_0x5b8a5d,_0x2051ef)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3c8123=>{for(const _0x11697b of this['editor']['editing']['view']['document']['roots'])_0x2051ef?_0x3c8123['removeClass']('ck-editor__editable__overlay',_0x11697b):_0x3c8123['addClass']('ck-editor__editable__overlay',_0x11697b);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x366f60=>null!==_0x366f60),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x2b6e2d,_0x26ad3e,_0x42d4ad)=>_0x2b6e2d&&_0x42d4ad?_0x26ad3e['changes']['getIndex'](_0x42d4ad):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3eba10,_0x22d23a)=>_0x3eba10?_0x22d23a['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x276699);}['init'](){const _0xf0fa3b=this['editor'],_0x2f415b=new bt(_0xf0fa3b,{'direction':'backward'}),_0xcc005f=new bt(_0xf0fa3b,{'direction':'forward'});(_0xf0fa3b['commands']['add']('showPreviousChange',_0x2f415b),_0xf0fa3b['commands']['add']('showNextChange',_0xcc005f),_0xf0fa3b['commands']['add']('restoreRevision',new yt(_0xf0fa3b)),this['on']('change:numberOfChanges',()=>{_0x2f415b['refresh'](),_0xcc005f['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0xf0fa3b['enableReadOnlyMode']('revision-viewer'),_0xf0fa3b['plugins']['has']('WidgetToolbarRepository'))&&_0xf0fa3b['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x43919f){await this['loadRevisionData'](_0x43919f);const _0xffe00c={};for(const _0x1038ba in _0x43919f['diffData']){if(_0x43919f['diffData'][_0x1038ba]['attachChange']&&!_0x43919f['diffData'][_0x1038ba]['attachChange']['isAttached'])continue;const _0x3ee6dc=this['_removeRevisionMarkers'](JSON['parse'](_0x43919f['diffData'][_0x1038ba]['insertions'])),_0x5616a9=this['editor']['editing']['view']['document'],_0xd4953b=new _0x3da0c7(_0x5616a9,_0x3ee6dc['map'](_0x147273=>this['_getViewObj'](_0x147273)));this['editor']['data']['processor']['useFillerType']('marked'),_0xffe00c[_0x1038ba]=this['editor']['data']['processor']['toData'](_0xd4953b),this['editor']['data']['processor']['useFillerType']('default');}return _0xffe00c;}async['getRevisionRootsAttributes'](_0x5cfabc){await this['loadRevisionData'](_0x5cfabc);const _0x4cb290={};for(const _0x3c1378 in _0x5cfabc['diffData'])_0x5cfabc['diffData'][_0x3c1378]['attachChange']&&!_0x5cfabc['diffData'][_0x3c1378]['attachChange']['isAttached']||(_0x4cb290[_0x3c1378]=_0x5cfabc['diffData'][_0x3c1378]['attributesAfter']||{});return _0x4cb290;}['_removeRevisionMarkers'](_0x2cb2d5){return(_0x2cb2d5=_0x2cb2d5['filter'](_0x41b114=>!_0x41b114['name']||'revision-start'!==_0x41b114['name']&&'revision-end'!==_0x41b114['name']))['forEach'](_0x575129=>{'string'!=typeof _0x575129&&(_0x575129['children']=this['_removeRevisionMarkers'](_0x575129['children']),_0x575129['attributes']=_0x575129['attributes']['filter'](_0x125431=>!_0x125431[0x0]['startsWith']('data-revision-')));}),_0x2cb2d5;}async['compare'](_0xa127a,_0x84008d,_0x3878c4=!0x1){if(!this['isEnabled'])return;const _0xe2fe28=this['diff'],_0x46b910=this['repository'],_0x1c4874='string'==typeof _0xa127a?_0x46b910['getRevision'](_0xa127a):_0xa127a,_0x2359a4='string'==typeof _0x84008d?_0x46b910['getRevision'](_0x84008d):_0x84008d,_0x2c8757=_0x1c4874['id'],_0x46453d=_0x2359a4?_0x2359a4['id']:null;if(!_0x3878c4&&this['diff']&&this['diff']['newRevisionId']===_0x2c8757&&this['diff']['oldRevisionId']===_0x46453d)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x2c8757,_0x46453d);const _0x2521c8=this['_getRevisionsRange'](_0x1c4874,_0x2359a4,!0x0)['map'](_0x1e56fe=>this['loadRevisionData'](_0x1e56fe));return _0x2521c8['push'](new Promise(_0x55d083=>{setTimeout(_0x55d083,0x14);})),Promise['all'](_0x2521c8)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x291a69=this['_getDiff'](_0x2c8757,_0x46453d);for(const _0x4b6b52 of _0x291a69['changes'])this['_changeIdToChange']['set'](_0x4b6b52['id'],_0x4b6b52);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x826ce4=>{for(const _0x46b6ec of this['editor']['model']['document']['getRootNames']())_0x826ce4['detachRoot'](_0x46b6ec);for(const _0x42cf4d of Object['keys'](_0x291a69['model'])){const _0x554b54=_0x826ce4['addRoot'](_0x42cf4d);for(const _0x32a51e of Object['keys'](_0x291a69['attributes'][_0x42cf4d]))_0x826ce4['setAttribute'](_0x32a51e,_0x291a69['attributes'][_0x42cf4d][_0x32a51e],_0x554b54);_0x826ce4['insert'](_0x291a69['model'][_0x42cf4d],_0x554b54,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x291a69['changes'])),this['isReady']=!0x0;})['catch'](_0x424877=>{console['error'](_0x424877),this['_cleanUp'](),_0xe2fe28&&(this['diff']=_0xe2fe28),this['isReady']=!0x0;});}['addRevisionData'](_0x16452e,_0x1b6708){const _0x16b32f=this['repository']['createRevision'](_0x16452e);return _0x16b32f['on']('_update',(_0x4ec538,_0x47cc1f,_0x2f28c6)=>_0x1b6708(_0x47cc1f,_0x2f28c6,_0x16b32f)),this['repository']['addRevision'](_0x16b32f),_0x16b32f;}['loadRevisionData'](_0x56debf){if(!_0x56debf||_0x56debf['diffData'])return Promise['resolve']();{const _0xf325de=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xf325de,'revisionId':_0x56debf['id']})['then'](_0x1154db=>{_0x56debf['_update']({'diffData':_0x1154db['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x59553e=>{for(const _0xd9b646 of this['editor']['model']['document']['getRootNames']())_0x59553e['detachRoot'](_0xd9b646);});}['_sortAndFilterDiffChanges'](_0x4f7683){const _0x4a9c09=[],_0x3c1d97=new Map();for(const _0x2af361 of this['editor']['model']['document']['getRootNames']()){const _0x1037de=this['editor']['editing']['view']['getDomRoot'](_0x2af361);if(!_0x1037de)continue;const _0x2a5bc9=_0x1037de['getClientRects']()['item'](0x0);_0x2a5bc9&&(_0x4a9c09['push'](_0x2af361),_0x3c1d97['set'](_0x2af361,_0x2a5bc9));}return _0x4a9c09['sort']((_0x328b88,_0x7e5230)=>{const _0x37c000=_0x3c1d97['get'](_0x328b88),_0x2a5c2c=_0x3c1d97['get'](_0x7e5230);return _0x37c000['y']-_0x2a5c2c['y']||_0x37c000['x']-_0x2a5c2c['x'];}),(_0x4f7683=_0x4f7683['filter'](_0x80ddbb=>_0x4a9c09['includes'](_0x80ddbb['rootName'])))['sort']((_0x589627,_0x23f959)=>_0x4a9c09['indexOf'](_0x589627['rootName'])-_0x4a9c09['indexOf'](_0x23f959['rootName'])),_0x4f7683;}['_makeTape'](_0x1a67e7){const _0xb66b88=Array['from'](_0x1a67e7['markers'])['filter'](([_0x4b7d5e,_0x32e458])=>_0x4b7d5e['startsWith']('revision:')&&!_0x32e458['isCollapsed']),_0x17b63a=Array['from'](this['editor']['model']['createRangeIn'](_0x1a67e7)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0xb66b88['length'])for(const _0x3bbd55 of _0x17b63a){const [_0x370263,_0x12cfbe]=_0xb66b88[0x0],[,_0x1c8751,_0x799407]=_0x370263['split'](':');if(_0x12cfbe['end']['isEqual'](_0x3bbd55['nextPosition'])&&_0xb66b88['shift'](),(_0x3bbd55['previousPosition']['isEqual'](_0x12cfbe['start'])||_0x3bbd55['previousPosition']['isAfter'](_0x12cfbe['start']))&&('insertion'==_0x1c8751?_0x3bbd55['isAdded']={'userId':_0x799407}:'deletion'==_0x1c8751&&(_0x3bbd55['isRemoved']={'userId':_0x799407})),0x0==_0xb66b88['length'])break;}return _0x17b63a;}['_refreshStartEndIndex'](_0x35b806){const _0x2e8920=new Map();for(let _0x4f13f6=0x0;_0x4f13f6<_0x35b806['length'];_0x4f13f6++)'text'===_0x35b806[_0x4f13f6]['type']?(_0x35b806[_0x4f13f6]['item']['startIndex']=_0x4f13f6,_0x35b806[_0x4f13f6]['item']['endIndex']=_0x4f13f6):('elementStart'===_0x35b806[_0x4f13f6]['type']?_0x35b806[_0x4f13f6]['item']['startIndex']=_0x4f13f6:'elementEnd'===_0x35b806[_0x4f13f6]['type']&&(_0x35b806[_0x4f13f6]['item']['endIndex']=_0x4f13f6),_0x2e8920['set'](_0x35b806[_0x4f13f6]['id'],_0x4f13f6));for(const _0x2f89e5 of _0x2e8920['values']())'elementStart'===_0x35b806[_0x2f89e5]['type']?_0x35b806[_0x2f89e5]['item']['endIndex']=_0x2e8920['get'](_0x35b806[_0x2f89e5]['pairId']):'elementEnd'===_0x35b806[_0x2f89e5]['type']&&(_0x35b806[_0x2f89e5]['item']['startIndex']=_0x2e8920['get'](_0x35b806[_0x2f89e5]['pairId']));}['_processTape'](_0x52e570){for(let _0x1a6a9c=0x0;_0x1a6a9c<_0x52e570['length'];_0x1a6a9c++){if('elementStart'===_0x52e570[_0x1a6a9c]['type'])_0x52e570[_0x1a6a9c]['item']['startIndex']=_0x1a6a9c;else{if('elementEnd'===_0x52e570[_0x1a6a9c]['type']){_0x52e570[_0x1a6a9c]['item']['endIndex']=_0x1a6a9c;const _0x45c399=_0x52e570[_0x1a6a9c]['item']['startIndex'];_0x52e570[_0x45c399]['pairId']=_0x52e570[_0x1a6a9c]['id'],_0x52e570[_0x1a6a9c]['pairId']=_0x52e570[_0x45c399]['id'];}else _0x52e570[_0x1a6a9c]['item']['startIndex']=_0x1a6a9c,_0x52e570[_0x1a6a9c]['item']['endIndex']=_0x1a6a9c,_0x52e570[_0x1a6a9c]['pairId']=null;}_0x52e570[_0x1a6a9c]['markersStart']||(_0x52e570[_0x1a6a9c]['markersStart']=[],_0x52e570[_0x1a6a9c]['markersEnd']=[]);}}['_markInsertions'](_0x105b05,_0x39d002){const _0x2dff7c=_0x105b05['filter'](_0x2dc951=>!_0x2dc951['isAdded']);for(let _0x4b9ac1=0x0;_0x4b9ac1<_0x39d002['length'];_0x4b9ac1++)_0x39d002[_0x4b9ac1]['isAdded']&&(_0x2dff7c[_0x4b9ac1]['isAdded']=_0x39d002[_0x4b9ac1]['isAdded']);}['_makeModelFromViewString'](_0x391dc1){const _0x494e37=JSON['parse'](_0x391dc1),_0x343335=this['editor']['editing']['view']['document'],_0x359019=new _0x3da0c7(_0x343335,_0x494e37['map'](_0x3dbabe=>this['_getViewObj'](_0x3dbabe)));return this['editor']['data']['toModel'](_0x359019);}['_getViewObj'](_0x12b449){const _0x121517=this['editor']['editing']['view']['document'];if('string'==typeof _0x12b449)return new _0x344367(_0x121517,_0x12b449);{const _0x4b6eb3=_0x12b449['children']['map'](_0x131aa3=>this['_getViewObj'](_0x131aa3));return new(tt[_0x12b449['type']]||_0x534990)(_0x121517,_0x12b449['name'],_0x12b449['attributes'],_0x4b6eb3);}}['_getDiff'](_0x1d0d31,_0x3e734f=null){const _0x17d670=this['repository']['getRevision'](_0x1d0d31),_0xd445b7=_0x3e734f?this['repository']['getRevision'](_0x3e734f):null,_0x124211=this['_getRevisionsRange'](_0x17d670,_0xd445b7),_0x2adb42=_0x124211[_0x124211['length']-0x1],_0xe68f68=new Map(),_0x15185f={'model':{},'attributes':{},'changes':[]},_0x5b3405=new Set(),_0x1c2aa8=new Map();for(let _0x3641e1=_0x124211['length']-0x1;_0x3641e1>=0x0;_0x3641e1--){const _0x1c75bb=_0x124211[_0x3641e1];for(const _0x4fa6b5 of Object['keys'](_0x1c75bb['diffData']))if(_0x1c75bb['diffData'][_0x4fa6b5]['attachChange']){const _0x2ae345=_0x1c75bb['diffData'][_0x4fa6b5]['attachChange'];_0x2ae345['isAttached']?(_0x5b3405['add'](_0x4fa6b5),_0x1c2aa8['has'](_0x4fa6b5)&&_0x1c2aa8['get'](_0x4fa6b5)['userId']==_0x2ae345['userId']?_0x1c2aa8['delete'](_0x4fa6b5):_0x1c2aa8['set'](_0x4fa6b5,_0x2ae345)):_0x1c2aa8['has'](_0x4fa6b5)?(_0x5b3405['delete'](_0x4fa6b5),_0x1c2aa8['delete'](_0x4fa6b5)):(_0x5b3405['add'](_0x4fa6b5),_0x1c2aa8['set'](_0x4fa6b5,_0x2ae345));}else _0x5b3405['add'](_0x4fa6b5);}for(const _0x21f3a1 of _0x5b3405){const _0x3fee73=_0x1c2aa8['has'](_0x21f3a1)&&!_0x1c2aa8['get'](_0x21f3a1)['isAttached'];let _0x420fae=_0x3fee73?_0x124211['length']-0x1:0x0;const _0x4fdd5f=_0x3fee73?-0x1:0x1;for(;_0x124211[_0x420fae];){const _0xe8b21a=_0x124211[_0x420fae];if(_0xe8b21a['diffData'][_0x21f3a1]){const _0x21d199=_0x3fee73?_0xe8b21a['diffData'][_0x21f3a1]['attributesBefore']:_0xe8b21a['diffData'][_0x21f3a1]['attributesAfter'];_0x15185f['attributes'][_0x21f3a1]=_0x21d199?_0x2fc185(_0x21d199):{};break;}_0x420fae+=_0x4fdd5f;}}for(const _0x356d85 of _0x124211){_0x356d85['model']={};for(const _0x5d77ca of _0x356d85['authors'])_0xe68f68['set'](_0x5d77ca['id'],_0x5d77ca);for(const _0x250655 of _0x5b3405){const _0x4445f6=_0x356d85['diffData'][_0x250655]?_0x356d85['diffData'][_0x250655]['insertions']:'[]',_0x2b0cc4=_0x356d85['diffData'][_0x250655]?_0x356d85['diffData'][_0x250655]['deletions']:'[]';_0x356d85['model'][_0x250655]={'insertions':this['_makeModelFromViewString'](_0x4445f6),'deletions':this['_makeModelFromViewString'](_0x2b0cc4)};}}for(const _0x4c1fea of _0x5b3405){let _0xa096af=null,_0x431e09=0x0;const _0x4cae69=new Map(Array['from'](_0x17d670['model'][_0x4c1fea]['insertions']['markers'])['filter'](([_0x2c4472])=>!_0x2c4472['startsWith']('revision:')));let _0x43c693=0x0;for(const _0xa601ac of _0x124211){const _0x5e3004=this['_makeTape'](_0xa601ac['model'][_0x4c1fea]['insertions']);_0xa601ac==_0x17d670?(_0xa096af=_0x5e3004,_0x431e09=_0xa096af['length'],_0xa096af['forEach'](_0x11678a=>{_0x11678a['id']=_0x43c693++;}),this['_processTape'](_0xa096af)):this['_markInsertions'](_0xa096af,_0x5e3004);const _0x330ada=_0xa096af['filter'](_0x4a3264=>!_0x4a3264['isAdded'])['map'](_0x24329d=>_0x24329d['id']);let _0x13ae4f=0x0;const _0x2293fe=this['_makeTape'](_0xa601ac['model'][_0x4c1fea]['deletions']);_0x2293fe['forEach'](_0x18c6a5=>{_0x18c6a5['isRemoved']?_0x18c6a5['id']=_0x431e09++:_0x18c6a5['id']=_0x330ada[_0x13ae4f++];}),this['_processTape'](_0x2293fe),this['_setDistance'](_0xa096af,'isAdded'),this['_setDistance'](_0x2293fe,'isRemoved'),_0xa601ac==_0x17d670&&this['_markMarkers'](_0xa096af,_0x4cae69),_0xa096af=this['_joinTapes'](_0xa096af,_0x2293fe),this['_refreshStartEndIndex'](_0xa096af),this['_setDistance'](_0xa096af,'isRemoved');}_0xa096af=_0xa096af['filter'](_0x569a3c=>!(_0x569a3c['isAdded']&&_0x569a3c['isRemoved']));const _0x5188a=new Map(_0x2adb42['model'][_0x4c1fea]['deletions']['markers']),_0x346369=new Set(_0x4cae69['keys']());for(const _0x58de6a of _0x5188a['keys']())_0x346369['delete'](_0x58de6a);this['_markSuggestions'](_0xa096af,_0x346369),this['_fixObsoleteTags'](_0xa096af),_0xa096af=this['_removeMissingPairs'](_0xa096af),_0xa096af=this['_markMismatchedRemovedTags'](_0xa096af),_0xa096af=this['_removeUnsupportedChanges'](_0xa096af);const {root:_0x18b18f,changes:_0x41888c}=this['_makeModelFromTape'](_0xa096af,_0xe68f68,_0x4c1fea);_0x15185f['model'][_0x4c1fea]=_0x18b18f;const _0x412ca1=_0x1c2aa8['get'](_0x4c1fea);if(_0x412ca1){const _0x1c0ffe=_0xe68f68['get'](_0x412ca1['userId']),_0x845265=new r({'author':_0x1c0ffe,'type':_0x412ca1['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4c1fea});_0x41888c['unshift'](_0x845265),_0x15185f['attributes'][_0x4c1fea]['revisionHistoryAttachChange']=_0x845265['id'];}_0x15185f['changes']=_0x15185f['changes']['concat'](_0x41888c);}return _0x15185f;}['_markMarkers'](_0x4b727e,_0x19039d){for(let _0x314ccc=0x0;_0x314ccc<_0x4b727e['length'];_0x314ccc++)for(const [_0xdff744,_0x10dfdb]of _0x19039d)_0x10dfdb['start']['isEqual'](_0x4b727e[_0x314ccc]['previousPosition'])&&_0x4b727e[_0x314ccc]['markersStart']['push'](_0xdff744),_0x10dfdb['end']['isEqual'](_0x4b727e[_0x314ccc]['nextPosition'])&&_0x4b727e[_0x314ccc]['markersEnd']['push'](_0xdff744);}['_joinTapes'](_0x3e4ca7,_0x6a5df4){let _0x4ee9e9=[],_0x49d764=0x0,_0x359918=0x0;for(;_0x49d764<_0x3e4ca7['length']||_0x359918<_0x6a5df4['length'];){const _0x32c2a6=_0x3e4ca7[_0x49d764]||{},_0xf92b54=_0x6a5df4[_0x359918]||{};if(_0x32c2a6['id']==_0xf92b54['id'])_0x49d764++,_0x359918++,_0x4ee9e9['push'](_0x32c2a6);else{if(_0xf92b54['isRemoved']&&_0x32c2a6['isAdded']){const {commonTape:_0x1570a7,iEnd:_0x5cfa14,jEnd:_0x4ee0ae}=this['_threeWayMerge'](_0x3e4ca7,_0x49d764,_0x6a5df4,_0x359918);_0x4ee9e9=_0x4ee9e9['concat'](_0x1570a7),_0x49d764=_0x5cfa14,_0x359918=_0x4ee0ae;}else _0xf92b54['isRemoved']?(_0x359918++,_0x4ee9e9['push'](_0xf92b54)):(_0x49d764++,_0x4ee9e9['push'](_0x32c2a6));}}return _0x4ee9e9;}['_markSuggestions'](_0x5024a6,_0x59295c){const _0x56751d=[];for(let _0x22d08a=0x0;_0x22d08a<_0x5024a6['length'];_0x22d08a++){for(let _0x1dfab0=0x0;_0x1dfab0<_0x5024a6[_0x22d08a]['markersStart']['length'];_0x1dfab0++){const _0x5c8126=_0x5024a6[_0x22d08a]['markersStart'][_0x1dfab0];if(!_0x59295c['has'](_0x5c8126))continue;const {group:_0x154c96,type:_0x58c4ea,authorId:_0x131fc5}=_0x2554e3(_0x5c8126);'revision-suggestion'!=_0x154c96||'insertion'!=_0x58c4ea&&'deletion'!=_0x58c4ea||(_0x56751d['unshift']({'type':_0x58c4ea,'name':_0x5c8126,'userId':_0x131fc5}),_0x5024a6[_0x22d08a]['markersStart']['splice'](_0x1dfab0,0x1),_0x1dfab0--);}_0x28a5be(_0x5024a6[_0x22d08a]);for(let _0x3258fd=0x0;_0x3258fd<_0x5024a6[_0x22d08a]['markersEnd']['length'];_0x3258fd++){const _0x31c550=_0x5024a6[_0x22d08a]['markersEnd'][_0x3258fd];if(!_0x59295c['has'](_0x31c550))continue;const {group:_0x45a95b,type:_0x286a31}=_0x2554e3(_0x31c550);if('revision-suggestion'!=_0x45a95b||'insertion'!=_0x286a31&&'deletion'!=_0x286a31)continue;_0x5024a6[_0x22d08a]['markersEnd']['splice'](_0x3258fd,0x1),_0x3258fd--;const _0x1b3db7=_0x56751d['findIndex'](_0x5eae68=>_0x5eae68['name']==_0x31c550);_0x1b3db7>-0x1&&_0x56751d['splice'](_0x1b3db7,0x1);}}function _0x2554e3(_0x51c5d){const _0x4695cb=_0x51c5d['split'](':');return{'group':_0x4695cb[0x0],'type':_0x4695cb[0x1],'subType':_0x4695cb['length']>=0x5?_0x4695cb[0x2]:null,'id':_0x4695cb['length']<0x5?_0x4695cb[0x2]:_0x4695cb[0x3],'authorId':_0x4695cb['length']<0x5?_0x4695cb[0x3]:_0x4695cb[0x4],'markerCount':0x6==_0x4695cb['length']?_0x4695cb[0x5]:null};}function _0x28a5be(_0x50c30b){for(let _0x2ea83c=0x0;_0x2ea83c<_0x56751d['length'];_0x2ea83c++){if(_0x50c30b['isAdded']&&'insertion'==_0x56751d[_0x2ea83c]['type'])return _0x50c30b['isAddSuggestion']=_0x56751d[_0x2ea83c],void delete _0x50c30b['isAdded'];if(!_0x50c30b['isAdded']&&!_0x50c30b['isRemoved']&&'deletion'==_0x56751d[_0x2ea83c]['type'])return void(_0x50c30b['isRemoveSuggestion']=_0x56751d[_0x2ea83c]);}}}['_setDistance'](_0x3f9df0,_0x4a58b8){let _0x4bb161=0x0,_0x5e517c=!0x1;const _0x144b23=new Map();for(const _0x323278 of _0x3f9df0)_0x323278[_0x4a58b8]?_0x5e517c&&(_0x4bb161++,_0x5e517c=!0x1):(_0x4bb161++,_0x5e517c=!0x0),_0x144b23['set'](_0x323278['id'],_0x4bb161);for(let _0x406a79=0x0;_0x406a79<_0x3f9df0['length'];_0x406a79++){if('isRemoved'==_0x4a58b8&&_0x3f9df0[_0x406a79]['isAdded']||'isAdded'==_0x4a58b8&&_0x3f9df0[_0x406a79]['isRemoved'])continue;if('text'==_0x3f9df0[_0x406a79]['type']){_0x3f9df0[_0x406a79]['distance']=0x0;continue;}const _0x429f47=_0x144b23['get'](_0x3f9df0[_0x406a79]['pairId']),_0x2acd0f=_0x144b23['get'](_0x3f9df0[_0x406a79]['id']);_0x3f9df0[_0x406a79]['distance']=_0x429f47-_0x2acd0f;}}['_getRevisionsRange'](_0x52ee43,_0x246706,_0x153f5=!0x1){const _0x569212=[];let _0x387dc1=this['repository']['getIndex'](_0x52ee43),_0x15dac6=this['repository']['getIndex'](_0x246706);for(-0x1==_0x15dac6&&(_0x15dac6=this['repository']['_revisions']['length'],_0x153f5=!0x1);_0x387dc1<_0x15dac6;)_0x569212['push'](this['repository']['getRevision'](_0x387dc1)),_0x387dc1++;return _0x153f5&&_0x569212['push'](this['repository']['getRevision'](_0x387dc1)),_0x569212;}['_threeWayMerge'](_0x5a706e,_0x252b8e,_0x39d658,_0x4e7786){const _0x1efa9d=this['editor']['model']['schema'];let _0x1dafb2=_0x252b8e;for(;_0x5a706e[_0x1dafb2]&&_0x5a706e[_0x1dafb2]['isAdded'];)_0x1dafb2++;let _0x534eef=_0x4e7786;for(;_0x39d658[_0x534eef]&&_0x39d658[_0x534eef]['isRemoved'];)_0x534eef++;_0x4e4ca5(_0x5a706e,_0x252b8e,_0x1dafb2),_0x4e4ca5(_0x39d658,_0x4e7786,_0x534eef);const _0x545599=_0x39d658['slice'](_0x4e7786,_0x534eef)['concat'](_0x5a706e['slice'](_0x252b8e,_0x1dafb2));return _0x545599['sort']((_0x438bcf,_0x4a48e7)=>_0x438bcf['side']!=_0x4a48e7['side']?_0x438bcf['side']-_0x4a48e7['side']:_0x438bcf['level']!=_0x4a48e7['level']?_0x438bcf['level']-_0x4a48e7['level']:_0x438bcf['distance']!=_0x4a48e7['distance']?_0x4a48e7['distance']-_0x438bcf['distance']:!!_0x438bcf['isAdded']!=!!_0x4a48e7['isAdded']?-0x1==_0x438bcf['side']||0x0==_0x438bcf['side']?_0x438bcf['isAdded']?-0x1:0x1:_0x438bcf['isAdded']?0x1:-0x1:_0x438bcf['index']-_0x4a48e7['index']),{'commonTape':_0x545599,'iEnd':_0x1dafb2,'jEnd':_0x534eef};function _0x4e4ca5(_0x5ad2e7,_0x3e5208,_0xdc6f21){let _0x4348ab=-0x1,_0x1a4547=Number['POSITIVE_INFINITY'],_0x3d9cd6=!0x0;for(let _0x54fd19=_0x3e5208;_0x54fd19<_0xdc6f21;_0x54fd19++)if(_0x1efa9d['isInline'](_0x5ad2e7[_0x54fd19]['item'])||(_0x3d9cd6=!0x1),_0x5ad2e7[_0x54fd19]['item']['startIndex']<_0x3e5208&&(_0x4348ab=_0x54fd19),_0x5ad2e7[_0x54fd19]['item']['endIndex']>=_0xdc6f21){_0x1a4547=_0x54fd19;break;}_0x3d9cd6&&(_0x4348ab=_0xdc6f21-0x1);for(let _0x189bee=_0x3e5208;_0x189bee<_0xdc6f21;_0x189bee++)_0x5ad2e7[_0x189bee]['side']=_0x189bee<=_0x4348ab?-0x1:_0x189bee<_0x1a4547?0x0:0x1,_0x5ad2e7[_0x189bee]['index']=_0x189bee;let _0x3cadd3=0x0;for(let _0x12a636=_0x3e5208;_0x12a636<=_0x4348ab;_0x12a636++)0x0==_0x5ad2e7[_0x12a636]['distance']?_0x5ad2e7[_0x12a636]['level']=_0x3cadd3:(_0x3cadd3++,_0x5ad2e7[_0x12a636]['level']=_0x3cadd3,_0x3cadd3++);for(let _0x2f4725=_0x3e5208;_0x2f4725<_0xdc6f21;_0x2f4725++)0x0==_0x5ad2e7[_0x2f4725]['side']&&(_0x5ad2e7[_0x2f4725]['level']=_0x3cadd3);_0x3cadd3=0x0;for(let _0x59c6dd=_0xdc6f21-0x1;_0x59c6dd>=_0x1a4547;_0x59c6dd--)0x0==_0x5ad2e7[_0x59c6dd]['distance']?_0x5ad2e7[_0x59c6dd]['level']=_0x3cadd3:(_0x3cadd3--,_0x5ad2e7[_0x59c6dd]['level']=_0x3cadd3,_0x3cadd3--);}}['_fixObsoleteTags'](_0x5ce9e2){const _0x1a5619=new Map(),_0x36663=this['editor']['model']['schema'];for(let _0x152340=0x1;_0x152340<_0x5ce9e2['length'];_0x152340++){let _0x5c49ae,_0x3a0342,_0x40eb30;const _0x181fcf=_0x5ce9e2[_0x152340],_0xecf08c=_0x5ce9e2[_0x152340-0x1];if('text'==_0x181fcf['type'])continue;if(_0x181fcf['type']!=_0xecf08c['type'])continue;if(!_0x36663['isBlock'](_0xecf08c['item'])||_0x36663['isLimit'](_0xecf08c['item']))continue;if(!_0x36663['isBlock'](_0x181fcf['item'])||_0x36663['isLimit'](_0x181fcf['item']))continue;if((_0x5ce9e2[_0x152340]['isAdded']||_0x5ce9e2[_0x152340]['isAddSuggestion'])&&_0x5ce9e2[_0x152340-0x1]['isRemoved'])_0x5c49ae=_0x5ce9e2[_0x152340],_0x3a0342=_0x5ce9e2[_0x152340-0x1],_0x40eb30=_0x152340-0x1;else{if(!_0x5ce9e2[_0x152340]['isRemoved']||!_0x5ce9e2[_0x152340-0x1]['isAdded']&&!_0x5ce9e2[_0x152340-0x1]['isAddSuggestion'])continue;_0x5c49ae=_0x5ce9e2[_0x152340-0x1],_0x3a0342=_0x5ce9e2[_0x152340],_0x40eb30=_0x152340;}const _0x513d76=_0x5c49ae['level']==_0x3a0342['level'],_0x5103d1=Math['abs'](_0x5c49ae['level'])<Math['abs'](_0x3a0342['level'])&&0x0==_0x3a0342['distance'];(_0x513d76||_0x5103d1)&&(_0x1a5619['set'](_0x3a0342['id'],_0x5c49ae['id']),_0x5ce9e2['splice'](_0x40eb30,0x1),_0x152340--,_0x5c49ae['isAdded']=!0x1);}for(let _0x3f6623=0x0;_0x3f6623<_0x5ce9e2['length'];_0x3f6623++)_0x1a5619['has'](_0x5ce9e2[_0x3f6623]['pairId'])&&(_0x5ce9e2[_0x3f6623]['pairId']=_0x1a5619['get'](_0x5ce9e2[_0x3f6623]['pairId']));}['_removeMissingPairs'](_0x1c5add){const _0x56ccef=new Set(_0x1c5add['map'](_0x3bb043=>_0x3bb043['id']));for(let _0xb7d13f=0x0;_0xb7d13f<_0x1c5add['length'];_0xb7d13f++)_0x56ccef['has'](_0x1c5add[_0xb7d13f]['pairId'])||0x0==_0x1c5add[_0xb7d13f]['distance']||(_0x1c5add[_0xb7d13f]['isIncorrect']=!0x0);return _0x1c5add['filter'](_0x1195f5=>!_0x1195f5['isIncorrect']);}['_markMismatchedRemovedTags'](_0x5b61b7){const _0x2a757e=new Set();for(let _0x3fec28=0x0;_0x3fec28<_0x5b61b7['length'];_0x3fec28++){if(_0x2a757e['has'](_0x5b61b7[_0x3fec28]['id'])&&_0x5b61b7[_0x3fec28]['isRemoved']&&(_0x5b61b7[_0x3fec28]['isIncorrect']=!0x0),_0x5b61b7[_0x3fec28]['isIncorrect'])continue;if(0x0==_0x5b61b7[_0x3fec28]['distance'])continue;if('elementStart'!=_0x5b61b7[_0x3fec28]['type'])continue;if(null==_0x5b61b7[_0x3fec28]['pairId'])continue;let _0x15ba57=_0x3fec28+0x1,_0x3464f4=0x0;for(;_0x5b61b7[_0x15ba57]['id']!=_0x5b61b7[_0x3fec28]['pairId'];)'elementStart'==_0x5b61b7[_0x15ba57]['type']?_0x3464f4++:'elementEnd'==_0x5b61b7[_0x15ba57]['type']&&_0x3464f4--,_0x15ba57++;if(0x0!=_0x3464f4){if(_0x5b61b7[_0x3fec28]['isRemoved'])_0x5b61b7[_0x3fec28]['isIncorrect']=!0x0;else{for(;_0x15ba57!=_0x3fec28;)_0x5b61b7[_0x15ba57]['isRemoved']&&0x0!=_0x5b61b7[_0x15ba57]['distance']&&(_0x5b61b7[_0x15ba57]['isIncorrect']=!0x0,_0x2a757e['add'](_0x5b61b7[_0x15ba57]['pairId'])),_0x15ba57--;}}}return _0x5b61b7['filter'](_0x490b33=>!_0x490b33['isIncorrect']);}['_removeUnsupportedChanges'](_0x619abc){const _0x1812ed=this['editor']['model']['schema'];for(let _0x40a014=0x0;_0x40a014<_0x619abc['length'];_0x40a014++){if(!(_0x619abc[_0x40a014]['isAdded']||_0x619abc[_0x40a014]['isAddSuggestion']||_0x619abc[_0x40a014]['isRemoved']||_0x619abc[_0x40a014]['isRemoveSuggestion']))continue;if(0x0==_0x619abc[_0x40a014]['distance'])continue;const _0x44da20=_0x619abc[_0x40a014]['item'];_0x1812ed['isBlock'](_0x44da20)||_0x1812ed['isLimit'](_0x44da20)||(_0x619abc[_0x40a014]['isAdded']&&delete _0x619abc[_0x40a014]['isAdded'],_0x619abc[_0x40a014]['isAddSuggestion']&&delete _0x619abc[_0x40a014]['isAddSuggestion'],_0x619abc[_0x40a014]['isRemoveSuggestion']&&delete _0x619abc[_0x40a014]['isRemoveSuggestion'],_0x619abc[_0x40a014]['isRemoved']&&(_0x619abc[_0x40a014]['isIncorrect']=!0x0));}return _0x619abc['filter'](_0x300baf=>!_0x300baf['isIncorrect']);}['_makeModelFromTape'](_0xd64a0a,_0x29d490,_0x399e16){const _0x4c0eb6=new wt(),_0x46d7af=[],_0x5cc8ed=new Map(),_0x1c207f=this['editor']['model'],_0x5bda35=_0x1c207f['schema'],_0xb15615=[_0x4c0eb6],_0x13e669={},_0x32275f={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x39263e=null;const _0x2e06ad=[0x0];for(let _0x41b73b=0x0;_0x41b73b<_0xd64a0a['length'];_0x41b73b++){let _0x30be89,_0x10b206;if('elementStart'===_0xd64a0a[_0x41b73b]['type']){_0x30be89=_0x1c207f['createPositionFromPath'](_0x4c0eb6,_0x2e06ad);const _0x24bc4b=new ft(_0xd64a0a[_0x41b73b]['item']['name'],_0xd64a0a[_0x41b73b]['item']['getAttributes']());_0xb15615[0x0]['_appendChild'](_0x24bc4b),_0x2e06ad['push'](0x0),_0xb15615['unshift'](_0x24bc4b),_0x10b206=_0x1c207f['createPositionFromPath'](_0x4c0eb6,_0x2e06ad),_0x39263e=null;}else{if('elementEnd'===_0xd64a0a[_0x41b73b]['type'])_0xb15615['shift'](),_0x30be89=_0x1c207f['createPositionFromPath'](_0x4c0eb6,_0x2e06ad),_0x2e06ad['pop'](),_0x2e06ad[_0x2e06ad['length']-0x1]++,_0x10b206=_0x1c207f['createPositionFromPath'](_0x4c0eb6,_0x2e06ad),_0x39263e=null;else{if(_0x30be89=_0x1c207f['createPositionFromPath'](_0x4c0eb6,_0x2e06ad),_0x39263e&&_0x2103cf(_0x39263e,_0xd64a0a[_0x41b73b]['item']))_0x39263e['_data']+=_0xd64a0a[_0x41b73b]['item']['data'];else{const _0x49e550=new _t(_0xd64a0a[_0x41b73b]['item']['data'],_0xd64a0a[_0x41b73b]['item']['getAttributes']());_0xb15615[0x0]['_appendChild'](_0x49e550),_0x39263e=_0x49e550;}_0x2e06ad[_0x2e06ad['length']-0x1]+=_0xd64a0a[_0x41b73b]['item']['offsetSize'],_0x10b206=_0x1c207f['createPositionFromPath'](_0x4c0eb6,_0x2e06ad);}}for(const _0x59414e of _0xd64a0a[_0x41b73b]['markersStart'])_0x5cc8ed['set'](_0x59414e,{'start':_0x30be89,'end':null});_0x38c9b3('isRemoveSuggestion',_0x41b73b,_0x30be89,_0x10b206),_0x38c9b3('isAddSuggestion',_0x41b73b,_0x30be89,_0x10b206),_0x38c9b3('isRemoved',_0x41b73b,_0x30be89,_0x10b206),_0x38c9b3('isAdded',_0x41b73b,_0x30be89,_0x10b206);for(const _0x12011e of _0xd64a0a[_0x41b73b]['markersEnd']){_0x5cc8ed['get'](_0x12011e)['end']=_0x10b206;}}for(const [_0x2a82bc,_0x3e00f5]of _0x5cc8ed){const _0x46560a=this['editor']['model']['createRange'](_0x3e00f5['start'],_0x3e00f5['end']);_0x4c0eb6['markers']['set'](_0x2a82bc,_0x46560a);}return _0x46d7af['sort']((_0x55630f,_0x375ef3)=>{const _0x4fee02=_0x4c0eb6['markers']['get']('revision:'+_0x55630f['id']),_0x20f54a=_0x4c0eb6['markers']['get']('revision:'+_0x375ef3['id']);return _0x4fee02['start']['isBefore'](_0x20f54a['start'])?-0x1:_0x4fee02['start']['isAfter'](_0x20f54a['start'])?0x1:_0x4fee02['end']['isBefore'](_0x20f54a['end'])?-0x1:_0x4fee02['end']['isAfter'](_0x20f54a['end'])?0x1:'add'===_0x55630f['type']?-0x1:0x1;}),{'root':_0x4c0eb6,'changes':_0x46d7af};function _0x38c9b3(_0x59f6d3,_0x3d4ccd,_0x590e58,_0x4f74d2){const _0x5b63c7=!!_0xd64a0a[_0x3d4ccd][_0x59f6d3],_0x40cb4a=_0x5b63c7?_0xd64a0a[_0x3d4ccd][_0x59f6d3]['userId']:null,_0x4ad038=_0x3d4ccd===_0xd64a0a['length']-0x1,_0x488f13=_0x32275f[_0x59f6d3][0x0],_0x49bbea=_0x5bda35['isObject'](_0xd64a0a[_0x3d4ccd]['item']);!_0x13e669[_0x59f6d3]&&_0x5b63c7?_0x13e669[_0x59f6d3]={'start':_0x590e58,'tapeItem':_0xd64a0a[_0x3d4ccd],'userId':_0x40cb4a,'type':_0x59f6d3}:_0x13e669[_0x59f6d3]&&!_0x5b63c7?(_0x13e669[_0x59f6d3]['end']=_0x590e58,_0x3223f3(_0x13e669[_0x59f6d3]),_0x13e669[_0x59f6d3]=null):_0x13e669[_0x59f6d3]&&_0x5b63c7&&_0x13e669[_0x59f6d3]['userId']!==_0x40cb4a&&(_0x13e669[_0x59f6d3]['end']=_0x590e58,_0x488f13&&_0x488f13['userId']===_0x13e669[_0x59f6d3]['userId']||_0x3223f3(_0x13e669[_0x59f6d3]),_0x13e669[_0x59f6d3]={'start':_0x590e58,'tapeItem':_0xd64a0a[_0x3d4ccd],'userId':_0x40cb4a,'type':_0x59f6d3}),_0x13e669[_0x59f6d3]&&_0x49bbea&&('elementStart'!==_0xd64a0a[_0x3d4ccd]['type']||_0x488f13&&_0x488f13['userId']===_0x40cb4a||_0x32275f[_0x59f6d3]['unshift']({'userId':_0x40cb4a,'object':_0xd64a0a[_0x3d4ccd]['item'],'change':_0x13e669[_0x59f6d3]}),'elementEnd'===_0xd64a0a[_0x3d4ccd]['type']&&_0x488f13&&_0x488f13['object']===_0xd64a0a[_0x3d4ccd]['item']&&(_0x32275f[_0x59f6d3]['shift'](),_0x13e669[_0x59f6d3]=_0x488f13['change'])),_0x13e669[_0x59f6d3]&&_0x4ad038&&(_0x13e669[_0x59f6d3]['end']=_0x4f74d2,_0x3223f3(_0x13e669[_0x59f6d3]),_0x13e669[_0x59f6d3]=null);}function _0x3223f3({start:_0x2424f0,end:_0xc50145,tapeItem:_0x4d59d1,userId:_0x15d339,type:_0x5c39b7}){const _0x1b2bf8=_0x4d59d1['item'],_0x24a0bb=_0x1c207f['schema']['isBlock'](_0x1b2bf8)&&!_0x1c207f['schema']['isLimit'](_0x1b2bf8),_0x36d3c9=_0x2424f0['nodeAfter']==_0xc50145['parent']&&_0xc50145['isAtStart'];if(_0x24a0bb&&_0x36d3c9)return;const _0x5e599e=_0x1c207f['createRange'](_0x2424f0,_0xc50145),_0x1cebac=_0x29d490['get'](_0x15d339),_0x30f589=new r({'author':_0x1cebac,'type':'isAdded'==_0x5c39b7||'isAddSuggestion'==_0x5c39b7?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x5c39b7||'isRemoveSuggestion'==_0x5c39b7},'createdAt':new Date(),'rootName':_0x399e16});_0x46d7af['push'](_0x30f589),_0x4c0eb6['markers']['set']('revision:'+_0x30f589['id'],_0x5e599e);}function _0x2103cf(_0x13aa52,_0x5c054f){const _0x163fa4=_0x13aa52['getAttributes'](),_0x119e13=_0x5c054f['getAttributes']();for(const _0x3a12c5 of _0x163fa4){if(_0x3a12c5[0x1]!==_0x5c054f['getAttribute'](_0x3a12c5[0x0]))return!0x1;_0x119e13['next']();}return _0x119e13['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x357f2c=>{const _0x40ff66=_0x357f2c['markerName']['split'](':')[0x1],_0x8e52c3=this['_getChangeFromId'](_0x40ff66);if(!_0x8e52c3)return null;const _0x5689eb='add'==_0x8e52c3['type']?'insertion':'deletion',_0x363da8=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5689eb];return _0x8e52c3['data']['isSuggestion']&&_0x363da8['push']('ck-suggestion-marker-'+_0x5689eb+'-new'),this['activeChange']==_0x8e52c3&&_0x363da8['push']('ck-suggestion-marker--active'),{'classes':_0x363da8,'attributes':{'data-change-id':_0x40ff66}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x47571e=>{_0x47571e['on']('element:pre',(_0xaa38c2,_0x4e491e,_0x570d3b)=>{const _0xefb5f4=_0x4e491e['viewItem']['getChild'](0x0);if(!_0xefb5f4||!_0xefb5f4['is']('element','code'))return;if(!_0x570d3b['consumable']['consume'](_0xefb5f4,{'attributes':['vid_start','vid_end']}))return;const _0x24aed3=_0x4e491e['modelRange']['start']['nodeAfter'];_0x570d3b['writer']['setAttribute']('vid_start',_0xefb5f4['getAttribute']('vid_start'),_0x24aed3),_0x570d3b['writer']['setAttribute']('vid_end',_0xefb5f4['getAttribute']('vid_end'),_0x24aed3);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x406146=>{_0x406146['on']('element',(_0x4eed9d,_0x43b967,_0x2c2759)=>{if(!_0x2c2759['consumable']['consume'](_0x43b967['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x43b967['modelRange']['isCollapsed'])return;const _0x1b24e5=_0x43b967['modelRange']['start']['nodeAfter'];_0x1b24e5['hasAttribute']('vid_start')||_0x1b24e5['hasAttribute']('vid')||(_0x2c2759['writer']['setAttribute']('vid_start',_0x43b967['viewItem']['getAttribute']('vid_start'),_0x1b24e5),_0x2c2759['writer']['setAttribute']('vid_end',_0x43b967['viewItem']['getAttribute']('vid_end'),_0x1b24e5));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x40015f=>_0x40015f['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x3609d1,[,_0x364313])=>{['vid_start','vid_end','vid']['includes'](_0x364313)&&(_0x3609d1['return']=!0x0,_0x3609d1['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x5dad4a=>{_0x5dad4a['on']('attribute:vid',(_0x1302b1,_0x4bfbb0,_0x4acc4f)=>{if('\x20'!=_0x4bfbb0['item']['data']||_0x4bfbb0['item']['parent']['maxOffset']>0x1)return;if(!_0x4acc4f['consumable']['consume'](_0x4bfbb0['item'],_0x1302b1['name']))return;const _0x1ebf86=_0x4acc4f['writer'],_0x53a7f7=_0x4acc4f['mapper']['toViewRange'](_0x4bfbb0['range']);_0x1ebf86['wrap'](_0x53a7f7,_0x1ebf86['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x58c197){const _0x3281d4=_0x58c197['plugins']['get']('RevisionViewer');return(_0x5e52b1,_0x21eab3,_0x2d509f)=>{const _0xc06d52=_0x21eab3['markerName']['split'](':')[0x1],_0x3561a4=_0x3281d4['_getChangeFromId'](_0xc06d52);if(!_0x3561a4)return null;const _0x37f69c='add'==_0x3561a4['type']?'split':'merge';if(!_0x2d509f['consumable']['test'](_0x21eab3['markerRange'],_0x5e52b1['name']))return;const _0x5f4342=_0x21eab3['markerRange']['getWalker'](),_0xc47f35=_0x21eab3['markerRange']['start'],_0x297548=_0x58c197['model']['schema'];let _0x5f316c=null,_0x3c6f27=null,_0x3b2ada=!0x1,_0x1e7d89=!0x1;for(const _0x2542e9 of _0x5f4342){const _0x285ea8=_0x2542e9['item'];_0x3b2ada=_0x3b2ada||_0x297548['isContent'](_0x285ea8);const _0x29a84f=_0x2d509f['mapper']['toViewElement'](_0x285ea8);if(_0x29a84f&&_0x29a84f['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2542e9['type']&&(_0x297548['isBlock'](_0x285ea8)&&!_0x297548['isLimit'](_0x285ea8)&&(_0x285ea8['nextSibling']||_0xc47f35['isAtEnd']?_0x5f316c&&_0x5f316c['parent']==_0x285ea8||(_0x5f316c=_0x285ea8,_0x5af0c9(_0x2542e9['previousPosition']),_0x1e7d89=!0x0):_0x3c6f27=_0x3c6f27||_0x2542e9['previousPosition']));}function _0x5af0c9(_0x153e77){const _0x32c34a=_0x2d509f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x37f69c}),_0x10fb6c=_0x2d509f['mapper']['toViewPosition'](_0x153e77);_0x3561a4['data']['isSuggestion']&&_0x2d509f['writer']['addClass']('ck-suggestion-marker-'+_0x37f69c+'-new',_0x32c34a),_0x3281d4['activeChange']==_0x3561a4&&_0x2d509f['writer']['addClass']('ck-suggestion-marker--active',_0x32c34a),_0x2d509f['writer']['insert'](_0x10fb6c,_0x32c34a),_0x2d509f['mapper']['bindElementToMarker'](_0x32c34a,_0x21eab3['markerName']);}_0x3b2ada||_0x1e7d89||!_0x3c6f27||_0x5af0c9(_0x3c6f27);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x48f0e9,_0x420261,_0x5b9312)=>{const _0x207a08=_0x5b9312['mapper']['markerNameToElements'](_0x420261['markerName']);if(_0x207a08){for(const _0x49bd43 of _0x207a08)(_0x49bd43['hasClass']('ck-suggestion-marker-split')||_0x49bd43['hasClass']('ck-suggestion-marker-merge'))&&(_0x5b9312['mapper']['unbindElementFromMarkerName'](_0x49bd43,_0x420261['markerName']),_0x5b9312['writer']['remove'](_0x49bd43));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x67dcaa,_0x11a910,_0x180c1c)=>{const _0x33e57a=_0x11a910['markerName']['split'](':')[0x1],_0xc98cd4=this['_getChangeFromId'](_0x33e57a);if(!_0xc98cd4)return null;const _0x58f98a='add'==_0xc98cd4['type']?'split':'merge';if(_0x180c1c['consumable']['test'](_0x11a910['markerRange'],_0x67dcaa['name']))for(const _0x53c487 of _0x11a910['markerRange']['getItems']()){if(!_0x53c487['is']('element','softBreak'))continue;const _0x20c0a2=_0x180c1c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x58f98a}),_0x2c1859=_0x180c1c['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x53c487));_0xc98cd4['data']['isSuggestion']&&_0x180c1c['writer']['addClass']('ck-suggestion-marker-'+_0x58f98a+'-new',_0x20c0a2),this['activeChange']==_0xc98cd4&&_0x180c1c['writer']['addClass']('ck-suggestion-marker--active',_0x20c0a2),_0x180c1c['writer']['insert'](_0x2c1859,_0x20c0a2),_0x180c1c['mapper']['bindElementToMarker'](_0x20c0a2,_0x11a910['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x33f783=>{for(const _0x4e5f78 of this['editor']['model']['document']['getRootNames']()){const _0x377d5a=this['editor']['model']['document']['getRoot'](_0x4e5f78),_0x2a77e5=this['editor']['editing']['view']['document']['getRoot'](_0x4e5f78);if(_0x2a77e5){const _0x50aa51=_0x377d5a['getAttribute']('revisionHistoryAttachChange');if(_0x33f783['removeAttribute']('data-change-id',_0x2a77e5),_0x33f783['removeClass']('ck-revision-history-root-add',_0x2a77e5),_0x33f783['removeClass']('ck-revision-history-root-remove',_0x2a77e5),_0x33f783['removeClass']('ck-revision-history-root--active',_0x2a77e5),_0x50aa51){const _0x20c2da=this['_getChangeFromId'](_0x50aa51);if(!_0x20c2da)return null;_0x33f783['setAttribute']('data-change-id',_0x50aa51,_0x2a77e5),_0x33f783['addClass']('ck-revision-history-root-'+_0x20c2da['type'],_0x2a77e5),this['activeChange']==_0x20c2da&&_0x33f783['addClass']('ck-revision-history-root--active',_0x2a77e5);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3a1a51=>'revision-comment:'+_0x3a1a51,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2d555c=>'revision-suggestion:'+_0x2d555c,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x3bbe35=>({'name':'suggestion:'+_0x3bbe35,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x1588ed=>{const _0x48a098=_0x1588ed['markerName']['split'](':')[0x1];return'insertion'!=_0x48a098&&'deletion'!=_0x48a098?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x48a098]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',et(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0x9038de,_0x1f5264,_0x47e716)=>{const _0x23f3ec=_0x47e716['mapper']['markerNameToElements'](_0x1f5264['markerName']);if(_0x23f3ec){for(const _0x178c37 of _0x23f3ec)_0x178c37['is']('uiElement')&&(_0x47e716['mapper']['unbindElementFromMarkerName'](_0x178c37,_0x1f5264['markerName']),_0x47e716['writer']['remove'](_0x178c37));}},{'priority':'high'});}['_getChangeFromId'](_0x91bbb4){return this['_changeIdToChange']['get'](_0x91bbb4);}['_getViewForChange'](_0x649ea4){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x649ea4),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xa84982,_0x5cf79e,_0x34d31c,_0x337194)=>{_0x337194&&this['_balloon']['remove'](_0x337194),_0x34d31c&&(this['_balloon']['add']({'view':_0x34d31c,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x363d12=this['editor']['editing'],_0x31d032=this['_getChangeFromId'](_0x34d31c['changeId']);let _0x494ade;if(_0x31d032['data']['isOnRoot']){const _0x28d325=_0x363d12['view']['getDomRoot'](_0x31d032['rootName']);_0x494ade=Array['from'](_0x28d325['getClientRects']());}else{const _0x5b3910=this['editor']['model']['markers']['get']('revision:'+_0x34d31c['changeId']);_0x494ade=Array['from'](_0x363d12['mapper']['markerNameToElements'](_0x5b3910['name']))['map'](_0x5e4731=>_0x363d12['view']['domConverter']['mapViewToDom'](_0x5e4731))['map'](_0x20d63c=>Array['from'](_0x20d63c['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x494ade[0x0];return _0x494ade['find'](_0xc2d333=>_0xc2d333['top']-0x3<=this['_activeViewTarget']['y']&&_0xc2d333['bottom']+0x3>=this['_activeViewTarget']['y']&&_0xc2d333['left']-0x3<=this['_activeViewTarget']['x']&&_0xc2d333['right']+0x3>=this['_activeViewTarget']['x'])||_0x494ade[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3e25e7,_0x289d93,_0x1ce7a8,_0xa5ca28)=>{this['activeView']=_0x1ce7a8?this['_getViewForChange'](_0x1ce7a8):null,this['editor']['model']['change'](()=>{const _0x5c0025=this['editor']['editing'];_0xa5ca28&&(_0xa5ca28['data']['isOnRoot']?_0x5c0025['view']['change'](_0x25ec76=>{_0x25ec76['removeClass']('ck-revision-history-root--active',_0x5c0025['view']['document']['getRoot'](_0xa5ca28['rootName']));}):_0x5c0025['reconvertMarker']('revision:'+_0xa5ca28['id'])),_0x1ce7a8&&(_0x1ce7a8['data']['isOnRoot']?_0x5c0025['view']['change'](_0x48b5de=>{_0x48b5de['addClass']('ck-revision-history-root--active',_0x5c0025['view']['document']['getRoot'](_0x1ce7a8['rootName']));}):_0x5c0025['reconvertMarker']('revision:'+_0x1ce7a8['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1721a0,_0x1c1452)=>{if(this['activeChange'])return;const _0xdd2bbb=this['_findChangeIdFromDomTarget'](_0x1c1452['target']),_0x2ec065=this['_changeIdToChange']['get'](_0xdd2bbb);_0x2ec065?(this['_activeViewTarget']={'x':_0x1c1452['domEvent']['x'],'y':_0x1c1452['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2ec065)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5ae42c,_0xc11b5c)=>{const _0x2fa099=this['_findChangeIdFromDomTarget'](_0xc11b5c['target']),_0x41f12f=this['_changeIdToChange']['get'](_0x2fa099);_0x41f12f?(this['_activeViewTarget']={'x':_0xc11b5c['domEvent']['x'],'y':_0xc11b5c['domEvent']['y']},_0x41f12f===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x41f12f):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x51a0a8){do{const _0x1831c0=_0x51a0a8['getAttribute']('data-change-id');if(_0x1831c0)return _0x1831c0;_0x51a0a8=_0x51a0a8['parent'];}while(_0x51a0a8);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2bb6d7=>{for(const _0x3d7d88 of this['editor']['model']['markers'])_0x2bb6d7['removeMarker'](_0x3d7d88);});}}function et(_0x193795,_0x30560c){return(_0x1b0ee9,_0x332e9a,_0x1f4f47)=>{if(!_0x1f4f47['consumable']['test'](_0x332e9a['markerRange'],_0x1b0ee9['name']))return;const _0x160faa=_0x332e9a['markerRange']['getWalker'](),_0x2e63db=_0x332e9a['markerRange']['start'],_0x59a467=_0x193795['model']['schema'];let _0x55de95=null,_0x367cb7=null,_0x5676cf=!0x1,_0x2b0b3a=!0x1;for(const _0x16b8a0 of _0x160faa){const _0x5b4dab=_0x16b8a0['item'];_0x5676cf=_0x5676cf||_0x59a467['isContent'](_0x5b4dab);const _0x28cdf1=_0x1f4f47['mapper']['toViewElement'](_0x5b4dab);if(_0x28cdf1&&_0x28cdf1['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x16b8a0['type']&&(_0x59a467['isBlock'](_0x5b4dab)&&!_0x59a467['isLimit'](_0x5b4dab)&&(_0x5b4dab['nextSibling']||_0x2e63db['isAtEnd']?_0x55de95&&_0x55de95['parent']==_0x5b4dab||(_0x55de95=_0x5b4dab,_0x1e22f5(_0x16b8a0['previousPosition']),_0x2b0b3a=!0x0):_0x367cb7=_0x367cb7||_0x16b8a0['previousPosition']));}function _0x1e22f5(_0x4e92f5){const _0x3fb419=_0x1f4f47['mapper']['toViewPosition'](_0x4e92f5),_0x38d67f=_0x1f4f47['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x30560c});_0x1f4f47['writer']['insert'](_0x3fb419,_0x38d67f),_0x1f4f47['mapper']['bindElementToMarker'](_0x38d67f,_0x332e9a['markerName']);}_0x5676cf||_0x2b0b3a||!_0x367cb7||_0x1e22f5(_0x367cb7);};}class yt extends _0x15b199{constructor(_0x5a1c11){super(_0x5a1c11);const _0x127cbd=_0x5a1c11['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x127cbd,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x127cbd,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x596dd1=this['editor'],_0x4c376f=_0x596dd1['plugins']['get'](d),_0x316b45=_0x4c376f['isReady']?_0x4c376f['diff']['newRevisionId']:null;_0x596dd1['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x316b45);}['refresh'](){const {isReady:_0x4beefd,isEnabled:_0x34fd65}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x4beefd&&_0x34fd65;}}class bt extends _0x15b199{['_step'];constructor(_0x1148f9,{direction:_0x420081}){super(_0x1148f9);const _0x4b19b7=_0x1148f9['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x420081?0x1:-0x1,this['listenTo'](_0x4b19b7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4b19b7,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4b19b7,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x124509=this['editor'],_0x7a852a=_0x124509['plugins']['get'](d),{isNavigationMode:_0x3f5048,currentChangeNumber:_0x5e533a}=_0x7a852a;let _0x4b54f6;if(_0x7a852a['activeChange']=_0x3f5048?_0x7a852a['diff']['changes']['get'](_0x5e533a+this['_step']):_0x7a852a['diff']['changes']['first'],_0x7a852a['activeChange']['data']['isOnRoot'])_0x4b54f6=_0x124509['editing']['view']['getDomRoot'](_0x7a852a['activeChange']['rootName']);else{const _0xa7de4f=_0x124509['model']['markers']['get']('revision:'+_0x7a852a['activeChange']['id']);_0x4b54f6=_0xf2cc0(_0x124509['editing'],_0xa7de4f);}_0x3f418f({'target':_0x4b54f6,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x472fbb,currentChangeNumber:_0x4018cf,numberOfChanges:_0xc0fae,isReady:_0x2541a8,isEnabled:_0x3c96b3}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x3c96b3&&_0x2541a8&&_0xc0fae)&&(!_0x472fbb||(0x1===this['_step']?_0x4018cf<_0xc0fae-0x1:_0x4018cf>0x0));}}class di extends _0x2ae250{constructor(_0xbd963d){super(_0xbd963d);const _0x2320ae=this['bindTemplate'],_0x1f0be1=new _0x49c2da(_0xbd963d),_0x38edc6=new _0x49c2da(_0xbd963d);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x741ce,_0x448865)=>_0x741ce&&_0x448865>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3310b7,_0x6b6083,_0x10c459,_0xe76038)=>{if(!_0x3310b7)return w(_0xbd963d,'Loading...');if(!_0x10c459)return w(_0xbd963d,'No\x20changes');const _0x97e2be=w(_0xbd963d,'NUMBER_OF_CHANGES',_0x10c459);return _0xe76038?w(_0xbd963d,'X_OF_Y_CHANGES',[_0x6b6083+0x1,_0x10c459]):_0x97e2be;}),_0x1f0be1['set']({'label':w(_0xbd963d,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a'}),_0x38edc6['set']({'label':w(_0xbd963d,'Show\x20next\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a'}),_0x1f0be1['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x38edc6['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1f0be1['on']('execute',()=>this['fire']('execute','backward')),_0x38edc6['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0x2320ae['if']('_isStatusLabelVisible','ck-hidden',_0x250370=>!_0x250370)]},'children':[{'text':_0x2320ae['to']('isNavigationMode',_0x486249=>_0x486249?w(_0xbd963d,'EDIT_X_OF_Y_REVISIONS')+':\x20':w(_0xbd963d,'Total')+':\x20')}]},{'text':_0x2320ae['to']('_statusText')}]},new _0x4678a9(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1f0be1,_0x38edc6]}]});}}const ce='ck-editor__editable__loading-overlay';class ae extends _0x11f4db{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['show'](){const _0x5f535b=this['editor']['editing']['view'];_0x5f535b['change'](_0x580fa8=>{for(const _0x5cb1a6 of _0x5f535b['document']['roots'])_0x580fa8['addClass'](ce,_0x5cb1a6);});}['hide'](){const _0x1bea52=this['editor']['editing']['view'];_0x1bea52['change'](_0xaac557=>{for(const _0x1f9761 of _0x1bea52['document']['roots'])_0xaac557['removeClass'](ce,_0x1f9761);});}}class m extends _0x11f4db{static get['pluginName'](){return'RevisionViewerUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[d,ae];}['init'](){const _0x2a760a=this['editor'],_0x469895=_0x2a760a['plugins']['get'](d),_0x212aa8=_0x2a760a['plugins']['get'](ae);_0x2a760a['ui']['componentFactory']['add']('exitToEditing',_0x58f0ff=>{const _0x52c3af=new _0x49c2da(_0x58f0ff);return _0x52c3af['set']({'label':w(_0x58f0ff,'Back\x20to\x20editing'),'icon':_0x1cf5a1['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x52c3af,'execute',()=>{_0x2a760a['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x52c3af;}),_0x2a760a['ui']['componentFactory']['add']('restoreRevision',_0x328026=>{const _0xa4886a=new _0x49c2da(_0x328026);return _0xa4886a['set']({'label':w(_0x328026,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0xa4886a['bind']('isEnabled')['to'](_0x2a760a['commands']['get']('restoreRevision')),this['listenTo'](_0xa4886a,'execute',()=>_0x2a760a['execute']('restoreRevision')),_0xa4886a;}),_0x2a760a['ui']['componentFactory']['add']('changesNavigation',_0x35e777=>{const _0x7d54ec=new di(_0x35e777),_0x105ff9=_0x2a760a['commands']['get']('showPreviousChange'),_0x18b902=_0x2a760a['commands']['get']('showNextChange');return _0x7d54ec['bind']('isBackwardNavigationEnabled')['to'](_0x105ff9,'isEnabled'),_0x7d54ec['bind']('isForwardNavigationEnabled')['to'](_0x18b902,'isEnabled'),_0x7d54ec['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x469895),this['listenTo'](_0x7d54ec,'execute',(_0x2fea4f,_0x2d8b9c)=>{_0x2a760a['execute']('forward'===_0x2d8b9c?'showNextChange':'showPreviousChange');}),_0x7d54ec;}),_0x212aa8['show'](),_0x469895['on']('change:isReady',(_0x564de0,_0x3783b4,_0x368310)=>{_0x368310?_0x212aa8['hide']():_0x212aa8['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1553da,_0x3d0f49){super(_0x1553da,_0x3d0f49);const _0x82bb9=this['bindTemplate'];this['set']({'label':w(_0x1553da,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=w(_0x1553da,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x82bb9['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0xde7b9f=this['fieldView']['element'];this['_tooltipString']=_0xde7b9f['scrollWidth']>_0xde7b9f['clientWidth']&&_0xde7b9f['value']||'';}}class ti extends _0x2ae250{constructor(_0x2106e2,_0x10c060,_0x2e46b0){super(_0x2106e2);const _0x181d11=new _0x51bbbd();_0x181d11['set']({'content':'<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a','viewBox':'0\x200\x2011\x2010'});const _0x4e109c=['ck','ck-revision-history-sidebar__revision-author'];_0x2e46b0&&_0x4e109c['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5690d6=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':w(_0x2106e2,_0x2e46b0?'Revision\x20creator':'Revision\x20author')},'children':[_0x181d11,_0x10c060['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4e109c},'children':_0x5690d6});}}function ni(_0x5e8c74,_0x2290ef){const _0x55f865=_0x5e8c74['bindTemplate'],_0x2df4a3=_0x5e8c74['locale'],_0x5082af=_0x4965fc(_0x2df4a3);_0x5082af['panelPosition']='sw';const _0x435b5f=function(_0xb578b9,_0x323702){const _0x50e5bb=function(_0x502f21,_0x5d6f9f){const _0x4691f5=_0x502f21['locale'],_0x3d38bd={'Compare\x20against\x20selected':w(_0x4691f5,'Compare\x20against\x20selected'),'Name\x20this\x20revision':w(_0x4691f5,'Name\x20this\x20revision'),'Restore\x20this\x20revision':w(_0x4691f5,'Restore\x20this\x20revision')};return _0x5d6f9f['map'](_0x4e4972=>{const _0x22c291=_0x3d38bd[_0x4e4972['name']];return _0x22c291&&_0x22c291!==_0x4e4972['name']&&(_0x4e4972['name']=_0x22c291),_0x4e4972;});}(_0xb578b9,_0x323702),_0x36706c=new _0x14b4f0();for(const _0x3e0cfe of _0x50e5bb){const _0x22af57={'type':'button','model':new to({'label':_0x3e0cfe['name'],'class':_0x3e0cfe['class'],'withText':!0x0,'role':'menuitem','_action':_0x3e0cfe['action']})};_0x22af57['model']['bind']('isEnabled')['to'](_0xb578b9,'isActionsDropdownOpen',_0x25cdb2=>'function'!=typeof _0x3e0cfe['isEnabled']||(!_0x25cdb2||_0x3e0cfe['isEnabled'](_0xb578b9))),_0x36706c['add'](_0x22af57);}return _0x36706c;}(_0x5e8c74,_0x2290ef);return _0x5e8c74['bind']('isActionsDropdownOpen')['to'](_0x5082af,'isOpen'),_0x5082af['buttonView']['set']({'label':w(_0x2df4a3,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1cf5a1['threeVerticalDots']}),_0x5082af['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x55f865['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x55f865['to'](_0x44252a=>_0x44252a['stopPropagation']())}}),_0x5082af['on']('execute',_0x41f461=>{_0x5e8c74['isReady']&&'function'==typeof _0x41f461['source']['_action']&&_0x41f461['source']['_action'](_0x5e8c74);}),_0x51b9f5(_0x5082af,_0x435b5f,{'role':'menu'}),_0x5082af['listenTo'](_0x5e8c74,'change:isActionsDropdownOpen',(_0x4a997b,_0x570c66,_0xd4bb2d)=>{if(_0xd4bb2d)for(const _0x4ff930 of _0x5082af['listView']['items']){const _0x53a00f=_0x4ff930['children']['first'],_0x31d7bf=_0x2290ef['find'](_0x2c4103=>_0x2c4103['action']===_0x53a00f['_action'])['isVisible'];_0x4ff930['isVisible']=void 0x0===_0x31d7bf||_0x31d7bf(_0x5e8c74);}}),_0x5082af;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x540e56(_0x2ae250){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x33622c,_0x2de39f,_0x2988a3,_0x2d18f6){super(_0x33622c);const _0x359022=this['bindTemplate'],_0x4f7389=function(_0x4eb99d,_0x31d946){const _0x39954e=Array['from'](_0x31d946['authors'])['filter'](_0x25e962=>_0x25e962!=_0x31d946['creator']);return _0x31d946['creator']&&_0x39954e['unshift'](_0x31d946['creator']),_0x39954e['map'](_0x399526=>new ti(_0x4eb99d,_0x399526,_0x399526==_0x31d946['creator']));}(_0x33622c,_0x2de39f);this['id']=_0x2de39f['id'],this['_revision']=_0x2de39f,this['_requireRevisionName']=_0x2d18f6,this['bind']('name','createdAt')['to'](_0x2de39f),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x27631e=>{return _0x5b1559=_0x33622c['uiLanguage'],(_0x411db4=_0x27631e)['toLocaleDateString'](_0x5b1559,{'month':'long','day':'numeric'})+',\x20'+_0x411db4['toLocaleTimeString'](_0x5b1559,{'hour':'numeric','minute':'numeric'});var _0x5b1559,_0x411db4;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x33622c,_0x1d63c5),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x57d6c9=>_0x57d6c9||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x7f4951,_0x1e840f)=>_0x7f4951&&_0x1e840f),this['revisionActionsView']=_0x2988a3&&_0x2988a3['length']?ni(this,_0x2988a3):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x359022['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x359022['if']('isEnabled','ck-disabled',_0x2dd000=>!_0x2dd000),_0x359022['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x359022['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x359022['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x359022['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x4f7389}]},this['revisionActionsView']],'on':{'click':_0x359022['to'](_0x3a6d95=>{_0x3a6d95['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x483592=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x483592,'change',()=>{this['_requireRevisionName']&&!_0x483592['value']||this['fire']('setName',{'id':this['id'],'name':_0x483592['value']}),_0x483592['value']||(_0x483592['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function mi(_0x291fab,_0xb4b86d){const _0x3df536=_0x3ce975['fromJSDate'](_0x291fab)['setLocale'](_0xb4b86d),_0x4be78f=_0x3ce975['local'](),_0x149756=_0x4be78f['minus']({'days':0x1})['startOf']('day');let _0x35572d,_0xcb604;return _0x3df536['hasSame'](_0x4be78f,'day')?(_0x35572d=_0x3df536['startOf']('day')['toJSDate'](),_0xcb604=_0x3df536['toRelativeCalendar']()):_0x3df536['hasSame'](_0x149756,'day')?(_0x35572d=_0x149756['toJSDate'](),_0xcb604=_0x3df536['toRelativeCalendar']()):_0x3df536['hasSame'](_0x4be78f,'week')?(_0x35572d=_0x3df536['startOf']('week')['toJSDate'](),_0xcb604=_0x3df536['weekdayLong']||''):_0x3df536['hasSame'](_0x4be78f,'year')?(_0x35572d=_0x3df536['startOf']('month')['toJSDate'](),_0xcb604=_0x3df536['monthLong']||''):(_0x35572d=_0x3df536['startOf']('year')['toJSDate'](),_0xcb604=String(_0x3df536['year'])),{'startDate':_0x35572d,'localizedPeriodName':_0xcb604};}class vi extends _0x2ae250{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5b0d0d,_0x3e3294,_0x2e1df2,_0xe65610){super(_0x5b0d0d);const _0x5af35c=mi(_0x3e3294,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3e3294,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x2e1df2,this['_requireRevisionName']=_0xe65610,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x5af35c}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x32f2d4){const _0x91e47f=new ai(this['locale'],_0x32f2d4,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x91e47f);}['removeRevision'](_0x588dec){const _0x59d2bc=this['revisionViews']['find'](_0x5888d7=>_0x5888d7['id']===_0x588dec['id']);this['revisionViews']['remove'](_0x59d2bc);}}class as extends _0x2ae250{constructor(_0x181adc){super(_0x181adc);const _0x57c595=new _0x51bbbd();_0x57c595['content']=_0x1cf5a1['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x57c595,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[w(_0x181adc,'Revision\x20history')]}]});}}class li extends _0x2ae250{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xb033,_0x2d6670,_0x385851,_0x121ca7){super(_0xb033);const _0x3075e3=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2d6670,this['_revisionActions']=_0x385851,this['_requireRevisionName']=_0x121ca7,this['on']('select',(_0x4a1823,_0x17f7b2)=>{this['fire']('revisionSelected',_0x17f7b2);}),this['on']('setName',(_0x3bd413,_0x4ed4f4)=>{this['fire']('revisionSetName',_0x4ed4f4);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0xb033),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3075e3['if']('isEnabled','ck-disabled',_0x703368=>!_0x703368)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x3d1a5b of this['_revisions'])this['_addRevision'](_0x3d1a5b);this['_revisions']['on']('add',(_0x3a9510,_0x56b5d8)=>{this['_addRevision'](_0x56b5d8);}),this['_revisions']['on']('remove',(_0x15f427,_0x5cb5d0)=>{this['_removeRevision'](_0x5cb5d0);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x1c22fa=>_0x1c22fa['revisionViews']['map'](_0x43a121=>_0x43a121))['flat']();}['selectRevision'](_0x1b4955){for(const _0xa9eedb of this['revisionViews'])_0x1b4955&&_0x1b4955['id']===_0xa9eedb['id']?_0xa9eedb['select']():_0xa9eedb['deselect']();}['highlightRevisions'](_0x4c6bc5){for(const _0x465247 of this['revisionViews'])_0x4c6bc5['some'](({id:_0x53d8ca})=>_0x53d8ca===_0x465247['id'])?_0x465247['highlight']():_0x465247['unhighlight']();}['_addRevision'](_0x23328b){const _0x35a23c=mi(_0x23328b['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x27b3dd=this['timePeriodViews']['get'](0x0);_0x27b3dd&&_0x27b3dd['startDate']['getTime']()===_0x35a23c['getTime']()||(_0x27b3dd=new vi(this['locale'],_0x35a23c,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x27b3dd)),_0x27b3dd['addRevision'](_0x23328b);}['_removeRevision'](_0x17d237){const _0x2c7823=mi(_0x17d237['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x2c7823)['removeRevision'](_0x17d237);}['_getTimePeriodViewByStartDate'](_0x50fde0){return this['timePeriodViews']['find'](_0x6c85a0=>_0x6c85a0['startDate']['getTime']()===_0x50fde0['getTime']());}}class R extends _0x11f4db{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
27
27
  ((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
28
- Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x5c3208){super(_0x5c3208),this['_revisionViewer']=_0x5c3208['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x1dac49=this['_revisionsRepository']['_revisions'],_0x514ed2=this['_createRevisionActions'](),_0x1f7a29=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x1dac49,_0x514ed2,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0xde600a,_0x9a5e4)=>{_0x9a5e4['revisionViews']['on']('add',(_0x482853,_0x200b5c)=>{_0x200b5c['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0x1f7a29['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3288cc=this['_revisionsRepository']['getRevision'](0x0);if(_0x3288cc){const _0x473a0d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3288cc['id']);this['_revisionViewer']['compare'](_0x3288cc,_0x473a0d);}}['_handleRevisionSelected'](_0x5a602a,_0x858edc){const _0x277b85=this['_revisionsRepository']['getRevision'](_0x858edc['id']),_0x20ccf1=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x277b85['id']);this['_revisionViewer']['compare'](_0x277b85,_0x20ccf1);}['_handleRevisionSetName'](_0x3d8cd3,_0x252c24){this['_revisionsRepository']['getRevision'](_0x252c24['id'])['setName'](_0x252c24['name']);}['_handleDiffChange'](_0x53be31,_0x1f80f7,_0x508d99){const _0x2e1229=this['_revisionsRepository']['getRevisionsInDiff'](_0x508d99);_0x2e1229['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2e1229),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2e1229[0x0]));}['_createRevisionActions'](){const _0x4d7f4c=this['editor'],_0x5c201d=w['availableRevisionActions'],_0x13e4b2=_0x4d7f4c['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x13e4b2['length'])return _0x13e4b2['map'](_0x204865=>{const _0x31fce9='string'==typeof _0x204865?Object['assign']({},_0x5c201d[_0x204865]):_0x204865;return _0x31fce9['action']=_0x31fce9['action']['bind'](this,_0x4d7f4c),_0x31fce9['isVisible']&&(_0x31fce9['isVisible']=_0x31fce9['isVisible']['bind'](this,_0x4d7f4c)),_0x31fce9;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x20ab04},_0x4a4cd8)=>{const _0x554323=_0x20ab04['get'](d),_0x418d7d=_0x554323['repository'];let _0x3553ad=_0x554323['diff']['newRevisionId'],_0x12789d=_0x4a4cd8['id'];_0x418d7d['getIndex'](_0x3553ad)>_0x418d7d['getIndex'](_0x12789d)&&([_0x3553ad,_0x12789d]=[_0x12789d,_0x3553ad]),_0x554323['compare'](_0x3553ad,_0x12789d);},'isVisible':({plugins:_0x550d49},_0x25ca00)=>{const _0x555730=_0x550d49['get'](d);return!(_0x555730['repository']['getRevisionsInDiff'](_0x555730['diff'])['length']>0x2)&&!_0x25ca00['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x56f9e2,{id:_0x11b35a})=>{_0x56f9e2['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x11b35a);},'isVisible':({plugins:_0x438c2b},_0x2b9593)=>!!_0x438c2b['get'](d)['repository']['getLaterVisibleRevision'](_0x2b9593['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x518076},{id:_0xb37c99,revisionNameView:_0x543383})=>{const _0x604972=_0x518076['get'](d),_0x1ec858=_0x604972['repository']['getEarlierVisibleRevision'](_0xb37c99);_0x604972['compare'](_0xb37c99,_0x1ec858),_0x543383['focus'](),_0x543383['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x28021a,_0x527b3d){super(_0x28021a),this['_view']=_0x527b3d,this['_toolbarConfig']=ct(_0x28021a['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2f5ee0){const _0x4c0f79=this['editor'],_0x173cba=this['view'],_0x558d3e=_0x4c0f79['editing']['view'],_0x38a4f4=_0x173cba['editable'],_0x201575=_0x558d3e['document']['getRoot']();_0x38a4f4['name']=_0x201575['rootName'],_0x173cba['render']();const _0xa5b6fd=_0x38a4f4['element'];this['setEditableElement'](_0x38a4f4['name'],_0xa5b6fd),_0x173cba['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x558d3e['attachDomRoot'](_0xa5b6fd),this['_elementReplacer']['replace'](_0x2f5ee0,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x39b9e5=this['view'],_0x5489b3=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x5489b3['detachDomRoot'](_0x39b9e5['editable']['name']),_0x39b9e5['destroy']();}['_initToolbar'](){const _0x53eac8=this['view'];_0x53eac8['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x53eac8['stickyPanel']['limiterElement']=_0x53eac8['element'],_0x53eac8['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x2cebc6})=>_0x2cebc6),_0x53eac8['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x53eac8['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2137e5,_0x40aefd,_0x46c5af={}){super(_0x2137e5),this['stickyPanel']=new lt(_0x2137e5),this['toolbar']=new pt(_0x2137e5,{'shouldGroupWhenFull':_0x46c5af['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2137e5,_0x40aefd);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x1ce8cb,_0xb7548c){super(_0xb7548c),this['sourceElement']=_0x1ce8cb,this['model']['document']['createRoot']();const _0x910e93=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x910e93);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x286851,_0x35f87f){const _0x380e10=new this(_0x286851,_0x35f87f);return await _0x380e10['initPlugins'](),await _0x380e10['ui']['init'](_0x286851),await _0x380e10['data']['init'](_0x380e10['config']['get']('initialData')||''),_0x380e10['fire']('ready'),_0x380e10;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1f283b{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x4032ec){super(_0x4032ec),this['result']='end';}}class H extends _0x1f283b{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x26250a){if(super(_0x26250a),!this['editor']['config']['get']('revisionHistory'))throw new _0x2385a1('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1a2dd5=>this['_showRevisionViewer']({..._0x1a2dd5,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x15b244=>this['_closeRevisionViewer'](_0x15b244)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x15f4fd=>this['_restoreRevision'](_0x15f4fd)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x11644d){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x11644d;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x46b77a){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x46b77a);}['getRevision'](_0x3d1d7c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3d1d7c);}['getRevisions'](_0x312507){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x312507||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x4c603e=this['editor'],_0x3b1aa3=_0x5954d7(_0x4c603e,p),_0x1faf8c=_0x4c603e['plugins']['get']('RevisionTracker'),_0x339718=_0x4c603e['plugins']['get']('Users')['users'];return _0x3b1aa3['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3b1aa3['lazyRoots'],(_0x3b1aa3['plugins']['push'](k,d,R,class extends _0x1f283b{static get['requires'](){return[d,'Users'];}['init'](){const _0x346a83=this['editor']['plugins']['get']('Users');for(const _0x236104 of _0x339718)_0x236104['isAnonymous']||_0x346a83['getUser'](_0x236104['id'])||_0x346a83['addUser'](_0x236104);const _0x3c764d=_0x1faf8c['repository']['getRevisions']();let _0x463e7a=null;const _0x2e1249=this['editor']['plugins']['get']('RevisionViewer');_0x2e1249['adapter']=_0x1faf8c['adapter'],_0x2e1249['bind']('isEnabled')['to'](_0x1faf8c),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4c603e,'isReadOnly',_0x222ff5=>!_0x222ff5);for(const _0x54c708 of _0x3c764d){const _0x20e8e8=null===_0x54c708['creator'];if(_0x20e8e8&&_0x54c708['toVersion']===_0x54c708['fromVersion'])continue;const _0x94d79f=_0x54c708['toJSON']();_0x2e1249['addRevisionData'](_0x94d79f,(_0x100621,_0x84901a,_0x2d3e7a)=>{if(_0x20e8e8){if(_0x463e7a)_0x463e7a['_update'](_0x100621,_0x84901a);else{if(!_0x84901a){const _0xbbe9e8=_0x2d3e7a['toJSON']();_0xbbe9e8['id']=_0x45c6d0(),_0x1faf8c['saveRevision'](_0xbbe9e8,_0x2d3e7a['toVersion'])['then'](_0x3444c2=>{_0x463e7a=_0x3444c2;});}}}else _0x54c708['_update'](_0x100621,_0x84901a);});}}},w),_0x3b1aa3);}['_enhanceShowRevisionViewerCallback'](){const _0x13f27f=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x135ea3=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x290e87=this['editor']['plugins']['get']('Autosave');await _0x290e87['save']();}else await _0x135ea3['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1b8423=this['editor']['plugins']['get']('Dialog');_0x1b8423['isOpen']&&_0x1b8423['hide']();}const _0x26ec50=this['_getRevisionViewerEditorConfig']();return _0x13f27f(_0x26ec50)['then'](_0x2f3660=>{return(this['_viewerEditor']=_0x2f3660,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2f3660;})['catch'](_0x330974=>(console['error'](_0x330974),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x179a54=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x179a54(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x466418=this['editor']['plugins']['get']('Annotations');_0x466418['refreshVisibility'](),_0x466418['refreshPositioning']();}})));}['_showRevisionViewer'](_0x1159e9){const _0x57340d=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x56c540=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x48ad1c=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x48ad1c,_0x1159e9)['then'](_0x15cb3f=>(_0x56c540['style']['display']='block',_0x57340d['style']['display']='none',_0x15cb3f));}['_closeRevisionViewer'](_0x54be62){const _0x1922e3=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1922e3['style']['display']='',_0x54be62['destroy']();}async['_restoreRevision'](_0x4f8e46){const _0x367f9f=this['editor'],_0x57553e=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x195995=_0x367f9f['plugins']['get']('RevisionTracker'),_0x4a022c=_0x57553e['repository']['getRevision'](_0x4f8e46);let _0x1b9cbe,_0x3ad279,_0x951bfa;try{_0x1b9cbe=await _0x57553e['getRevisionData'](_0x4a022c),_0x3ad279=await _0x57553e['getRevisionRootsAttributes'](_0x4a022c);}catch(_0x4e88c0){return void console['error'](_0x4e88c0);}_0x367f9f['model']['change'](_0x44b853=>{for(const _0x3a8998 of Array['from'](_0x367f9f['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x44b853['removeMarker'](_0x3a8998);}),_0x57553e['isReady']=!0x1,_0x367f9f['model']['enqueueChange'](_0x5d2b6b=>{_0x5d2b6b['setSelection'](null),_0x5d2b6b['removeSelectionAttribute'](_0x367f9f['model']['document']['selection']['getAttributeKeys']());const _0x2151f5=Object['keys'](_0x1b9cbe);for(const _0x2deae6 of _0x367f9f['model']['document']['roots'])'$graveyard'!=_0x2deae6['rootName']&&_0x2deae6['isAttached']()&&!_0x2151f5['includes'](_0x2deae6['rootName'])&&_0x5d2b6b['detachRoot'](_0x2deae6);for(const _0x24e470 of _0x2151f5){let _0x16b7e1=_0x367f9f['model']['document']['getRoot'](_0x24e470);_0x16b7e1&&_0x16b7e1['isAttached']()||(_0x16b7e1=_0x5d2b6b['addRoot'](_0x24e470));const _0x4ac284=_0x3ad279[_0x24e470],_0x410079=Object['keys'](_0x4ac284),_0x7f8ba1=_0x1b9cbe[_0x24e470];for(const _0x5e5bb1 of _0x16b7e1['getAttributeKeys']())_0x410079['includes'](_0x5e5bb1)||_0x5d2b6b['removeAttribute'](_0x5e5bb1,_0x16b7e1);for(const _0x39454a of _0x410079)_0x5d2b6b['setAttribute'](_0x39454a,_0x3ad279[_0x24e470][_0x39454a],_0x16b7e1);_0x5d2b6b['remove'](_0x5d2b6b['createRangeIn'](_0x16b7e1)),_0x5d2b6b['insert'](_0x367f9f['data']['parse'](_0x7f8ba1,_0x16b7e1),_0x16b7e1,0x0);}});const _0x3f1659=y(_0x367f9f['locale'],'Restored');if(_0x4a022c['name'])_0x951bfa=-0x1==_0x4a022c['name']['indexOf'](_0x3f1659)?_0x3f1659+':\x20'+_0x4a022c['name']:_0x4a022c['name'];else _0x951bfa=_0x3f1659+':\x20'+(_0x4a022c['createdAt']['toLocaleDateString'](_0x367f9f['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4a022c['createdAt']['toLocaleTimeString'](_0x367f9f['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x195995['saveRevision']({'name':_0x951bfa}),_0x57553e['isReady']=!0x0,_0x367f9f['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[d];}constructor(_0x6028db){super(_0x6028db),this['_revisionViewer']=_0x6028db['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x356474=this['_revisionsRepository']['_revisions'],_0x8ec963=this['_createRevisionActions'](),_0xcfa314=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new li(this['editor']['locale'],_0x356474,_0x8ec963,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0x4a577f,_0x22ab28)=>{_0x22ab28['revisionViews']['on']('add',(_0x59a7e6,_0x372677)=>{_0x372677['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0xcfa314['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x279758=this['_revisionsRepository']['getRevision'](0x0);if(_0x279758){const _0x46303d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x279758['id']);this['_revisionViewer']['compare'](_0x279758,_0x46303d);}}['_handleRevisionSelected'](_0x44d8c0,_0x46dd83){const _0x4811ee=this['_revisionsRepository']['getRevision'](_0x46dd83['id']),_0x1ab306=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4811ee['id']);this['_revisionViewer']['compare'](_0x4811ee,_0x1ab306);}['_handleRevisionSetName'](_0x2dcd9f,_0x559f45){this['_revisionsRepository']['getRevision'](_0x559f45['id'])['setName'](_0x559f45['name']);}['_handleDiffChange'](_0x51f1b5,_0x4e3ce9,_0x15862d){const _0x30effd=this['_revisionsRepository']['getRevisionsInDiff'](_0x15862d);_0x30effd['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x30effd),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x30effd[0x0]));}['_createRevisionActions'](){const _0x21e6ee=this['editor'],_0xd57c89=R['availableRevisionActions'],_0xfaa052=_0x21e6ee['config']['get']('revisionHistory.revisionActions')||R['defaultRevisionActions'];if(_0xfaa052['length'])return _0xfaa052['map'](_0x47cb3e=>{const _0xad0f82='string'==typeof _0x47cb3e?Object['assign']({},_0xd57c89[_0x47cb3e]):_0x47cb3e;return _0xad0f82['action']=_0xad0f82['action']['bind'](this,_0x21e6ee),_0xad0f82['isVisible']&&(_0xad0f82['isVisible']=_0xad0f82['isVisible']['bind'](this,_0x21e6ee)),_0xad0f82;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3d136e},_0x144391)=>{const _0x76173e=_0x3d136e['get'](d),_0x24af9c=_0x76173e['repository'];let _0xd7baea=_0x76173e['diff']['newRevisionId'],_0x1c4d86=_0x144391['id'];_0x24af9c['getIndex'](_0xd7baea)>_0x24af9c['getIndex'](_0x1c4d86)&&([_0xd7baea,_0x1c4d86]=[_0x1c4d86,_0xd7baea]),_0x76173e['compare'](_0xd7baea,_0x1c4d86);},'isVisible':({plugins:_0x4e018c},_0x38897d)=>{const _0x3fd0be=_0x4e018c['get'](d);return!(_0x3fd0be['repository']['getRevisionsInDiff'](_0x3fd0be['diff'])['length']>0x2)&&!_0x38897d['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x5937d8,{id:_0x550777})=>{_0x5937d8['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x550777);},'isVisible':({plugins:_0x224077},_0x11e4fa)=>!!_0x224077['get'](d)['repository']['getLaterVisibleRevision'](_0x11e4fa['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5018e3},{id:_0x349801,revisionNameView:_0x2b73ce})=>{const _0xadf3e6=_0x5018e3['get'](d),_0x3bb3ce=_0xadf3e6['repository']['getEarlierVisibleRevision'](_0x349801);_0xadf3e6['compare'](_0x349801,_0x3bb3ce),_0x2b73ce['focus'](),_0x2b73ce['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x163b10,_0x216025){super(_0x163b10),this['_view']=_0x216025,this['_toolbarConfig']=ct(_0x163b10['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x26a8cc){const _0x567ef6=this['editor'],_0x197316=this['view'],_0x41b77d=_0x567ef6['editing']['view'],_0x54a1d4=_0x197316['editable'],_0x48bf77=_0x41b77d['document']['getRoot']();_0x54a1d4['name']=_0x48bf77['rootName'],_0x197316['render']();const _0x14b0a5=_0x54a1d4['element'];this['setEditableElement'](_0x54a1d4['name'],_0x14b0a5),_0x197316['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x41b77d['attachDomRoot'](_0x14b0a5),this['_elementReplacer']['replace'](_0x26a8cc,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x1122ec=this['view'],_0xb0c626=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0xb0c626['detachDomRoot'](_0x1122ec['editable']['name']),_0x1122ec['destroy']();}['_initToolbar'](){const _0x34808d=this['view'];_0x34808d['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x34808d['stickyPanel']['limiterElement']=_0x34808d['element'],_0x34808d['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x292969})=>_0x292969),_0x34808d['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x34808d['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x3235de,_0x35c568,_0xc8eaa4={}){super(_0x3235de),this['stickyPanel']=new lt(_0x3235de),this['toolbar']=new pt(_0x3235de,{'shouldGroupWhenFull':_0xc8eaa4['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x3235de,_0x35c568);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class g extends/* #__PURE__ -- @preserve */
29
+ rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x42978a,_0x1feb08){super(_0x1feb08),this['sourceElement']=_0x42978a,this['model']['document']['createRoot']();const _0x55db48=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x55db48);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x15ee2c,_0x1562a1){const _0x39f12c=new this(_0x15ee2c,_0x1562a1);return await _0x39f12c['initPlugins'](),await _0x39f12c['ui']['init'](_0x15ee2c),await _0x39f12c['data']['init'](_0x39f12c['config']['get']('initialData')||''),_0x39f12c['fire']('ready'),_0x39f12c;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x11f4db{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}constructor(_0x5cafa9){super(_0x5cafa9),this['result']='end';}}class H extends _0x11f4db{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}static get['requires'](){return[l,u];}constructor(_0x42d7d6){if(super(_0x42d7d6),!this['editor']['config']['get']('revisionHistory'))throw new _0x8805f1('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x841564=>this['_showRevisionViewer']({..._0x841564,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x291898=>this['_closeRevisionViewer'](_0x291898)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x185632=>this['_restoreRevision'](_0x185632)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x1d23b8){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x1d23b8;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x2be528){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x2be528);}['getRevision'](_0x3e6da7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3e6da7);}['getRevisions'](_0xaef788){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xaef788||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x90c4d0=this['editor'],_0x293703=_0x588fbf(_0x90c4d0,p),_0x504eee=_0x90c4d0['plugins']['get']('RevisionTracker'),_0x428174=_0x90c4d0['plugins']['get']('Users')['users'];return _0x293703['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x293703['lazyRoots'],(_0x293703['plugins']['push'](k,d,m,class extends _0x11f4db{static get['requires'](){return[d,'Users'];}['init'](){const _0x508529=this['editor']['plugins']['get']('Users');for(const _0x87ad61 of _0x428174)_0x87ad61['isAnonymous']||_0x508529['getUser'](_0x87ad61['id'])||_0x508529['addUser'](_0x87ad61);const _0x293515=_0x504eee['repository']['getRevisions']();let _0x3aa081=null;const _0x185b37=this['editor']['plugins']['get']('RevisionViewer');_0x185b37['adapter']=_0x504eee['adapter'],_0x185b37['bind']('isEnabled')['to'](_0x504eee),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x90c4d0,'isReadOnly',_0x542646=>!_0x542646);for(const _0x1f0bdd of _0x293515){const _0x120758=null===_0x1f0bdd['creator'];if(_0x120758&&_0x1f0bdd['toVersion']===_0x1f0bdd['fromVersion'])continue;const _0x5e7b60=_0x1f0bdd['toJSON']();_0x185b37['addRevisionData'](_0x5e7b60,(_0x1d37d7,_0x4d65a4,_0x50764b)=>{if(_0x120758){if(_0x3aa081)_0x3aa081['_update'](_0x1d37d7,_0x4d65a4);else{if(!_0x4d65a4){const _0x114f53=_0x50764b['toJSON']();_0x114f53['id']=_0x41d3fd(),_0x504eee['saveRevision'](_0x114f53,_0x50764b['toVersion'])['then'](_0x2dc943=>{_0x3aa081=_0x2dc943;});}}}else _0x1f0bdd['_update'](_0x1d37d7,_0x4d65a4);});}}},R),_0x293703);}['_enhanceShowRevisionViewerCallback'](){const _0x2cf145=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1f0a3d=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x190f11=this['editor']['plugins']['get']('Autosave');await _0x190f11['save']();}else await _0x1f0a3d['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x376dc6=this['editor']['plugins']['get']('Dialog');_0x376dc6['isOpen']&&_0x376dc6['hide']();}const _0x474577=this['_getRevisionViewerEditorConfig']();return _0x2cf145(_0x474577)['then'](_0x144bea=>{return(this['_viewerEditor']=_0x144bea,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x144bea;})['catch'](_0x5d6093=>(console['error'](_0x5d6093),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x130d9e=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x130d9e(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0xdec394=this['editor']['plugins']['get']('Annotations');_0xdec394['refreshVisibility'](),_0xdec394['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4e1d30){const _0x5b22eb=this['editor']['config']['get']('revisionHistory.editorContainer'),_0xe1a970=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x59651d=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return g['create'](_0x59651d,_0x4e1d30)['then'](_0x41760b=>(_0xe1a970['style']['display']='block',_0x5b22eb['style']['display']='none',_0x41760b));}['_closeRevisionViewer'](_0x2fd7b4){const _0x529680=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x529680['style']['display']='',_0x2fd7b4['destroy']();}async['_restoreRevision'](_0x415593){const _0x2a414c=this['editor'],_0x81ef2e=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x34c506=_0x2a414c['plugins']['get']('RevisionTracker'),_0x14f59b=_0x81ef2e['repository']['getRevision'](_0x415593);let _0x423da9,_0x1eefae,_0x245dc2;try{_0x423da9=await _0x81ef2e['getRevisionData'](_0x14f59b),_0x1eefae=await _0x81ef2e['getRevisionRootsAttributes'](_0x14f59b);}catch(_0x211ef8){return void console['error'](_0x211ef8);}_0x2a414c['model']['change'](_0x88a4a8=>{for(const _0x54aa3b of Array['from'](_0x2a414c['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x88a4a8['removeMarker'](_0x54aa3b);}),_0x81ef2e['isReady']=!0x1,_0x2a414c['model']['enqueueChange'](_0x4b1c3c=>{_0x4b1c3c['setSelection'](null),_0x4b1c3c['removeSelectionAttribute'](_0x2a414c['model']['document']['selection']['getAttributeKeys']());const _0x4333d5=Object['keys'](_0x423da9);for(const _0x14fad9 of _0x2a414c['model']['document']['roots'])'$graveyard'!=_0x14fad9['rootName']&&_0x14fad9['isAttached']()&&!_0x4333d5['includes'](_0x14fad9['rootName'])&&_0x4b1c3c['detachRoot'](_0x14fad9);for(const _0x28efd5 of _0x4333d5){let _0x364af8=_0x2a414c['model']['document']['getRoot'](_0x28efd5);_0x364af8&&_0x364af8['isAttached']()||(_0x364af8=_0x4b1c3c['addRoot'](_0x28efd5));const _0x4693f0=_0x1eefae[_0x28efd5],_0x40a99d=Object['keys'](_0x4693f0),_0x31c54f=_0x423da9[_0x28efd5];for(const _0x2cdeef of _0x364af8['getAttributeKeys']())_0x40a99d['includes'](_0x2cdeef)||_0x4b1c3c['removeAttribute'](_0x2cdeef,_0x364af8);for(const _0x126944 of _0x40a99d)_0x4b1c3c['setAttribute'](_0x126944,_0x1eefae[_0x28efd5][_0x126944],_0x364af8);_0x4b1c3c['remove'](_0x4b1c3c['createRangeIn'](_0x364af8)),_0x4b1c3c['insert'](_0x2a414c['data']['parse'](_0x31c54f,_0x364af8),_0x364af8,0x0);}});const _0x123010=w(_0x2a414c['locale'],'Restored');if(_0x14f59b['name'])_0x245dc2=-0x1==_0x14f59b['name']['indexOf'](_0x123010)?_0x123010+':\x20'+_0x14f59b['name']:_0x14f59b['name'];else _0x245dc2=_0x123010+':\x20'+(_0x14f59b['createdAt']['toLocaleDateString'](_0x2a414c['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x14f59b['createdAt']['toLocaleTimeString'](_0x2a414c['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x34c506['saveRevision']({'name':_0x245dc2}),_0x81ef2e['isReady']=!0x0,_0x2a414c['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,ae as RevisionViewerLoadingOverlay,m as RevisionViewerUI,A as RevisionsRepository,R as RevisionsSidebar};