@ckeditor/ckeditor5-revision-history 43.2.0 → 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 _0x3d11cb,uid as _0x2a5db2,Collection as _0x1fb395,logWarning as _0x3f16ce,FocusTracker as _0x5a2962,KeystrokeHandler as _0x442a74,scrollViewportToShowTarget as _0x12b3d1,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x4d009a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{cloneDeep as _0x1bdd3a,set as _0x2967d9,unset as _0x4575fc,isEqual as _0x3d5475}from'lodash-es';import{Plugin as _0x19e2a4,Context as _0x1c2fe6,PendingActions as _0x33d93a,icons as _0x5c6115,Command as _0x3f1ce8,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{Users as _0x590248,getMarkerDomElement as _0x38468e,ConfirmMixin as _0x3c4636,sanitizeEditorConfig as _0x18b2c1}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1f7f4d,ViewText as _0x4c1e2b,ViewElement as _0x110187,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x301860,ViewAttributeElement as _0x5abd44,ViewEmptyElement as _0x411ca4,ViewRawElement as _0x187dc1,ViewUIElement as _0x2bad88,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{View as _0x46510e,injectCssTransitionDisabler as ts,submitHandler as _0x3e57ba,LabeledFieldView as at,createLabeledInputText as _0x1063c2,createDropdown as _0x35e7f6,ListView as te,ListItemView as _0x5f6d89,ButtonView as _0xc147ec,MenuBarMenuView as _0x550147,MenuBarMenuListView as _0x289f67,MenuBarMenuListItemView as _0x2ac6f7,MenuBarMenuListItemButtonView as _0x4fe277,ContextualBalloon as _0x4906a8,ToolbarSeparatorView as _0x5cd386,IconView as _0x5585ee,addListToDropdown as _0x5f5b36,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 _0x30cc6b}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x3d11cb(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x2ac4e5){super(),this['id']=_0x2ac4e5['id']||_0x2a5db2(),this['creator']=_0x2ac4e5['creator']||null,this['authors']=_0x2ac4e5['authors']||[],this['diffData']=_0x2ac4e5['diffData']||null,this['toVersion']=_0x2ac4e5['toVersion']||0x0,this['fromVersion']=_0x2ac4e5['fromVersion']||0x0,this['set']('name',_0x2ac4e5['name']||''),this['set']('createdAt',_0x2ac4e5['createdAt']||new Date()),this['set']('attributes',_0x2ac4e5['attributes']||{});}['setName'](_0x485741){this['_update']({'name':_0x485741});}['setAttribute'](_0x315925,_0x314a6c){const _0x2b1bcf=_0x1bdd3a(this['attributes']);_0x2967d9(_0x2b1bcf,_0x315925,_0x314a6c),this['_update']({'attributes':_0x2b1bcf});}['removeAttribute'](_0x15581d){const _0x4f13da=_0x1bdd3a(this['attributes']);_0x4575fc(_0x4f13da,_0x15581d),this['_update']({'attributes':_0x4f13da});}['_update'](_0x1f3bd9,_0x1c85b5=!0x1){let _0x2ea984=!0x1;const _0x53ef99={'id':this['id']},_0x542711=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5e9d67 of _0x542711){const _0x32f38b=_0x1f3bd9[_0x5e9d67];void 0x0!==_0x32f38b&&_0x32f38b!==this[_0x5e9d67]&&(this[_0x5e9d67]=_0x32f38b,_0x53ef99[_0x5e9d67]=_0x32f38b,_0x2ea984=!0x0);}_0x2ea984&&(_0x53ef99['authors']&&(_0x53ef99['authorsIds']=_0x53ef99['authors']['map'](_0x3659b0=>_0x3659b0['id']),delete _0x53ef99['authors']),this['fire']('_update',_0x53ef99,_0x1c85b5));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x493e70=>_0x493e70['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x19e2a4{['_revisions'];static get['requires'](){return[_0x590248];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x3f762a){super(_0x3f762a),this['_revisions']=new _0x1fb395();}['afterInit'](){!function(_0x323adb){function _0x2be030(_0x197409,_0x3b2d88,_0x2211af){const _0x74f8a4={};_0x74f8a4[_0x2d6682([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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],_0x74f8a4[_0x2d6682([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 _0x37bcca=new Uint8Array(0x10);for(let _0x4b296a=0xf;_0x4b296a>=0x0;--_0x4b296a)_0x37bcca[_0x4b296a]=_0x2211af%0x100,_0x2211af=parseInt(_0x2211af/0x100);let _0x368fa5=null,_0x302254=0x10;const _0x64e822=new Uint8Array(_0x3b2d88),_0x5e0a86=[],_0x173ab5=[];_0x23c718();for(let _0x891e8b=0x0;_0x891e8b<_0x197409[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x891e8b++)0x10===_0x302254&&(_0x368fa5=_0x1d2099(_0x37bcca),_0x302254=0x0,_0xa0f589(_0x37bcca)),_0x197409[_0x891e8b]^=_0x368fa5[_0x302254++];return _0x197409;function _0x2dc1a1(_0x74ec1f){const _0x482fc6=[];for(let _0x14f59c=0x0;_0x14f59c<_0x74ec1f[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14f59c+=0x4)_0x482fc6[_0x2d6682([0x70,0x75,0x73,0x68])](_0x74ec1f[_0x14f59c]<<0x18|_0x74ec1f[_0x14f59c+0x1]<<0x10|_0x74ec1f[_0x14f59c+0x2]<<0x8|_0x74ec1f[_0x14f59c+0x3]);return _0x482fc6;}function _0xa0f589(_0x5b59fc){for(let _0x1c1f65=0xf;_0x1c1f65>=0x0;_0x1c1f65--){if(0xff!==_0x5b59fc[_0x1c1f65]){_0x5b59fc[_0x1c1f65]++;break;}_0x5b59fc[_0x1c1f65]=0x0;}}function _0x1d2099(_0x28895d){const _0x158dff=_0x5e0a86[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x44fc18=[0x0,0x0,0x0,0x0];let t=_0x2dc1a1(_0x28895d);for(let _0xab7280=0x0;_0xab7280<0x4;_0xab7280++)t[_0xab7280]^=_0x5e0a86[0x0][_0xab7280];for(let _0xbcd4ec=0x1;_0xbcd4ec<_0x158dff;_0xbcd4ec++){for(let _0x28ea37=0x0;_0x28ea37<0x4;_0x28ea37++)_0x44fc18[_0x28ea37]=_0x74f8a4[_0x2d6682([0x54,0x31])][t[_0x28ea37]>>0x18&0xff]^_0x74f8a4[_0x2d6682([0x54,0x32])][t[(_0x28ea37+0x1)%0x4]>>0x10&0xff]^_0x74f8a4[_0x2d6682([0x54,0x33])][t[(_0x28ea37+0x2)%0x4]>>0x8&0xff]^_0x74f8a4[_0x2d6682([0x54,0x34])][0xff&t[(_0x28ea37+0x3)%0x4]]^_0x5e0a86[_0xbcd4ec][_0x28ea37];t=_0x44fc18[_0x2d6682([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5ecf2b=new Uint8Array(0x10);let _0x525f16;for(let _0x340ab7=0x0;_0x340ab7<0x4;_0x340ab7++)_0x525f16=_0x5e0a86[_0x158dff][_0x340ab7],_0x5ecf2b[0x4*_0x340ab7]=0xff&(_0x74f8a4[_0x2d6682([0x53])][t[_0x340ab7]>>0x18&0xff]^_0x525f16>>0x18),_0x5ecf2b[0x4*_0x340ab7+0x1]=0xff&(_0x74f8a4[_0x2d6682([0x53])][t[(_0x340ab7+0x1)%0x4]>>0x10&0xff]^_0x525f16>>0x10),_0x5ecf2b[0x4*_0x340ab7+0x2]=0xff&(_0x74f8a4[_0x2d6682([0x53])][t[(_0x340ab7+0x2)%0x4]>>0x8&0xff]^_0x525f16>>0x8),_0x5ecf2b[0x4*_0x340ab7+0x3]=0xff&(_0x74f8a4[_0x2d6682([0x53])][0xff&t[(_0x340ab7+0x3)%0x4]]^_0x525f16);return _0x5ecf2b;}function _0x23c718(){const _0x254ffe=_0x74f8a4[_0x2d6682([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x64e822[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x9ce1e8=0x0;_0x9ce1e8<=_0x254ffe;_0x9ce1e8++)_0x5e0a86[_0x2d6682([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x173ab5[_0x2d6682([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x32212d=0x4*(_0x254ffe+0x1),_0x548f60=_0x64e822[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x407161=_0x2dc1a1(_0x64e822);let _0x98368b;for(let _0x23e8f8=0x0;_0x23e8f8<_0x548f60;_0x23e8f8++)_0x98368b=_0x23e8f8>>0x2,_0x5e0a86[_0x98368b][_0x23e8f8%0x4]=_0x407161[_0x23e8f8],_0x173ab5[_0x254ffe-_0x98368b][_0x23e8f8%0x4]=_0x407161[_0x23e8f8];let _0x3e6cc2,_0x2eb595=0x0,t=_0x548f60;for(;t<_0x32212d;){_0x3e6cc2=_0x407161[_0x548f60-0x1],_0x407161[0x0]^=_0x74f8a4[_0x2d6682([0x53])][_0x3e6cc2>>0x10&0xff]<<0x18^_0x74f8a4[_0x2d6682([0x53])][_0x3e6cc2>>0x8&0xff]<<0x10^_0x74f8a4[_0x2d6682([0x53])][0xff&_0x3e6cc2]<<0x8^_0x74f8a4[_0x2d6682([0x53])][_0x3e6cc2>>0x18&0xff]^_0x74f8a4[_0x2d6682([0x72,0x63,0x6f,0x6e])][_0x2eb595]<<0x18,_0x2eb595+=0x1;for(let _0x59ab1b=0x1;_0x59ab1b<_0x548f60/0x2;_0x59ab1b++)_0x407161[_0x59ab1b]^=_0x407161[_0x59ab1b-0x1];_0x3e6cc2=_0x407161[_0x548f60/0x2-0x1],_0x407161[_0x548f60/0x2]^=_0x74f8a4[_0x2d6682([0x53])][0xff&_0x3e6cc2]^_0x74f8a4[_0x2d6682([0x53])][_0x3e6cc2>>0x8&0xff]<<0x8^_0x74f8a4[_0x2d6682([0x53])][_0x3e6cc2>>0x10&0xff]<<0x10^_0x74f8a4[_0x2d6682([0x53])][_0x3e6cc2>>0x18&0xff]<<0x18;for(let _0x2bd17b=_0x548f60/0x2+0x1;_0x2bd17b<_0x548f60;_0x2bd17b++)_0x407161[_0x2bd17b]^=_0x407161[_0x2bd17b-0x1];let _0x4bfa9f,_0x5e2638,_0x15a9b8=0x0;for(;_0x15a9b8<_0x548f60&&t<_0x32212d;)_0x4bfa9f=t>>0x2,_0x5e2638=t%0x4,_0x5e0a86[_0x4bfa9f][_0x5e2638]=_0x407161[_0x15a9b8],_0x173ab5[_0x254ffe-_0x4bfa9f][_0x5e2638]=_0x407161[_0x15a9b8++],t++;}for(let _0xc4330b=0x1;_0xc4330b<_0x254ffe;_0xc4330b++)for(let _0x1aedb2=0x0;_0x1aedb2<0x4;_0x1aedb2++)_0x3e6cc2=_0x173ab5[_0xc4330b][_0x1aedb2],_0x173ab5[_0xc4330b][_0x1aedb2]=_0x74f8a4[_0x2d6682([0x55,0x31])][_0x3e6cc2>>0x18&0xff]^_0x74f8a4[_0x2d6682([0x55,0x32])][_0x3e6cc2>>0x10&0xff]^_0x74f8a4[_0x2d6682([0x55,0x33])][_0x3e6cc2>>0x8&0xff]^_0x74f8a4[_0x2d6682([0x55,0x34])][0xff&_0x3e6cc2];}}function _0x2d6682(_0x20791a){return _0x20791a['map'](_0x2b2142=>String['fromCharCode'](_0x2b2142))['join']('');}(_0x5ad847=>{function _0x4115aa(){const _0x5f11ba=[{[_0x2d6682([0x69,0x64])]:0x1,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2d6682([0x69,0x64])]:0x2,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([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]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2d6682([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2d6682([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2d6682([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2d6682([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2d6682([0x69,0x64])]:0x3,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2d6682([0x69,0x64])]:0x4,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([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]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2d6682([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2d6682([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2d6682([0x69,0x64])]:0x5,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([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]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}},{[_0x2d6682([0x69,0x64])]:0x6,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}},{[_0x2d6682([0x69,0x64])]:0x7,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}},{[_0x2d6682([0x69,0x64])]:0x8,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([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]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}},{[_0x2d6682([0x69,0x64])]:0x9,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2d6682([0x69,0x64])]:0xa,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([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]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([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]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([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]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}},{[_0x2d6682([0x69,0x64])]:0xb,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2d6682([0x69,0x64])]:0xc,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2d6682([0x69,0x64])]:0xd,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}},{[_0x2d6682([0x69,0x64])]:0xe,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2d6682([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([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])},{[_0x2d6682([0x69,0x64])]:0xf,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2d6682([0x69,0x64])]:0x10,[_0x2d6682([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2d6682([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2d6682([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2d6682([0x66,0x67,0x69])]:[0xc]}}];return _0x326235(_0x5f11ba),_0x5f11ba;function _0x978aa1(_0x329e04){return 0x1<<_0x329e04-0x1;}function _0x326235(_0x27e854){_0x27e854[_0x2d6682([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x7c4957=>{_0x7c4957[_0x2d6682([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x978aa1(_0x7c4957[_0x2d6682([0x69,0x64])]),_0x37d99d(_0x7c4957)&&_0x7c4957[_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x326235(_0x7c4957[_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x37d99d(_0x36f9f5){return _0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x36f9f5;}const _0x57e7fc=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x173931=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x39f6e8(_0x42109c){const _0x4caa0f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x192a5d(_0x42109c,new Uint8Array([..._0x57e7fc,..._0x4caa0f,..._0x173931]));}function _0x192a5d(_0x3ceda9,_0x2347d0){const _0x37e636=_0x1bea26(_0x3ceda9),_0x8b9337=Array[_0x2d6682([0x66,0x72,0x6f,0x6d])](_0x48ade0(_0x37e636)),_0x558b88=_0x8b9337[_0x2d6682([0x70,0x6f,0x70])](),_0x284b0d=_0x8b9337[_0x2d6682([0x70,0x6f,0x70])]();return _0x17ded3(_0x2be030(_0x8b9337,_0x2347d0,_0x284b0d+0x100*_0x558b88));}function _0x1bea26(_0x1367c1){const _0x33ddf3=atob(_0x1367c1),[_0x1ec598,_0x3819b9]=_0x33ddf3[_0x2d6682([0x73,0x70,0x6c,0x69,0x74])](_0x2d6682([0x2d]));try{if(atob(_0x3819b9))return atob(_0x1ec598);}catch(_0x2331e8){}return _0x33ddf3;}function _0x6a3150(_0x397005){try{const _0x211b8b=_0x39f6e8(_0x397005),_0x3d26dc=JSON[_0x2d6682([0x70,0x61,0x72,0x73,0x65])](_0x211b8b),_0x29d0b4=parseInt(_0x3d26dc[_0x2d6682([0x31])]),_0x49432b=_0x3d26dc[_0x2d6682([0x32])]||'',_0x38fbb0=parseInt(_0x3d26dc[_0x2d6682([0x33])]),_0x3745e6=parseInt(_0x3d26dc[_0x2d6682([0x34])])||0x0,_0x1fbc74=parseInt(_0x3d26dc[_0x2d6682([0x35])])||0x0;return{[_0x2d6682([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x49432b,[_0x2d6682([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3745e6,[_0x2d6682([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x29d0b4,[_0x2d6682([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x38fbb0,[_0x2d6682([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1fbc74};}catch(_0x476256){return null;}}const _0x46beae=_0x4115aa(),_0x8d2881={[_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x38804f,[_0x2d6682([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])]:_0x1ebb33,[_0x2d6682([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])]:_0x446848},_0x2bf097=_0x5ad847[_0x2d6682([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2299c8=_0x2d6682([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x5ad847?_0x5ad847['context']:_0x5ad847['editor'],_0x1d2023=_0x2d6682([0x34,0x30,0x34,0x38,0x32,0x30,0x30,0x34]),_0x4bc440=_0x2d6682([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]),_0x49603d=_0x2299c8['config']['get'](_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x41c22e=_0x46beae[_0x2d6682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37d99d)[_0x2d6682([0x66,0x69,0x6e,0x64])](_0x2d828e=>_0x2d828e[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2bf097);function _0x5d3e86(_0x37af23,_0x5b01d1){_0x8d2881[_0x5b01d1[_0x2d6682([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x37af23,_0x5b01d1),_0x5b01d1[_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5b01d1[_0x2d6682([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2d6682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x885ca0=>_0x20f3bd(_0x2299c8,_0x885ca0[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2d6682([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x21589a=>_0x5d3e86(_0x37af23,_0x21589a));}function _0x38804f(_0x4bf147,_0x3428be){_0x3d0fb9(_0x527352(_0x4bf147,_0x3428be),_0x3428be);}function _0x1ebb33(_0x579062,_0x32ce6f){function _0xf92857(_0x1faab9,_0x23d12a){try{if(_0x20f3bd(_0x2299c8,_0x2d6682([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1faab9){const _0x44dce0=_0x6ffd5c(_0x2299c8,_0x2d6682([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2d6682([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x44dce0)/0x2>_0x1faab9[_0x2d6682([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1b7aed(_0x23d12a[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x527352(_0x1faab9,_0x23d12a);}catch(_0x4dfa66){return _0x1b7aed(_0x23d12a[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3d0fb9(_0xf92857(_0x579062,_0x32ce6f),_0x32ce6f);}function _0x446848(_0x5de38c,_0x52e404){const _0x560093=_0x173931[0x0]*_0x57e7fc[0x1],_0x27e394=_0x173931[0x0]*_0x57e7fc[0x2],_0x6a8778=_0x173931[0x2]*_0x57e7fc[0x2];_0x20f3bd(_0x2299c8,_0x2d6682([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x6ffd5c(_0x2299c8,_0x2d6682([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2d6682([0x73,0x74,0x61,0x74,0x65])]==_0x2d6682([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x58e051()]=_0x6a8778);function _0xbf661f(_0x5b82f0,_0x3ffdf8){try{return _0x48d777()?_0x1b7aed(_0x3ffdf8[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x56,0x61,0x6c,0x69,0x64])):_0x527352(_0x5b82f0,_0x3ffdf8);}catch(_0x18c53d){return _0x1b7aed(_0x3ffdf8[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1c0987(_0x311a37,_0x209ed6){const _0x1950ea=0x7;if(_0x311a37==_0x209ed6[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x588581();else{if(_0x311a37==_0x209ed6[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c])){const _0x4aa6c6=_0x429d27();_0x4aa6c6&&_0x4408be(_0x4aa6c6,_0x209ed6[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x51951a=_0x5f3be8();window[_0x2d6682([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4408be(_0x2d6682([0x74,0x69,0x6d,0x65]),_0x209ed6[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x51951a);const _0x1ded2b=_0x6ffd5c(_0x2299c8,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2d6682([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1ded2b[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1950ea?_0x4408be(_0x2d6682([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x209ed6[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1ded2b['on'](_0x2d6682([0x61,0x64,0x64]),()=>{_0x1ded2b[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1950ea&&_0x4408be(_0x2d6682([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x209ed6[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x429d27(){if(!_0x20f3bd(_0x2299c8,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2cba91 in window)if(Number['isNaN'](Number(_0x2cba91))){if(window[_0x2cba91]===_0x560093)return _0x2d6682([0x74,0x69,0x6d,0x65]);if(window[_0x2cba91]===_0x27e394)return _0x2d6682([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x48d777(){if(!_0x20f3bd(_0x2299c8,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5d4aab in window)if(Number['isNaN'](Number(_0x5d4aab))&&window[_0x5d4aab]===_0x6a8778)return!0x0;return!0x1;}function _0x4408be(_0x50ac33,_0xd6d2ce){_0x588581(),_0x1b7aed(_0xd6d2ce+_0x2d6682([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x50ac33),window[_0x58e051()]=_0x50ac33===_0x2d6682([0x74,0x69,0x6d,0x65])?_0x560093:_0x27e394;}function _0x5f3be8(){let _0x1b78bb=_0x173931[0x6]*_0x57e7fc[0x8]*_0x57e7fc[0x6];return _0x20f3bd(_0x2299c8,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1b78bb/=0xa),_0x1b78bb;}function _0x588581(){const _0x2f024a=_0x2299c8;function _0x421573(){_0x20f3bd(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2d6682([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2d6682([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2d6682([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2d6682([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x20fffd,_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2d6682([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x20fffd,_0x2f024a[_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6682([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20fffd,_0x2f024a[_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6682([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20fffd,_0x2f024a[_0x2d6682([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c]))),_0x20f3bd(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2d6682([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2d6682([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2d6682([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2d6682([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x20fffd,_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2d6682([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x20fffd);}_0x2f024a[_0x2d6682([0x73,0x74,0x61,0x74,0x65])]==_0x2d6682([0x72,0x65,0x61,0x64,0x79])?_0x421573():_0x2f024a[_0x2d6682([0x6f,0x6e,0x63,0x65])](_0x2d6682([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x20f3bd(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x421573(),_0x20f3bd(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4b8c15=_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3fab66=_0x4b8c15['getRevision'](0x0),_0x325cfd=_0x4b8c15['getEarlierVisibleRevision'](_0x3fab66[_0x2d6682([0x69,0x64])]);_0x6ffd5c(_0x2f024a,_0x2d6682([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2d6682([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3fab66[_0x2d6682([0x69,0x64])],_0x325cfd?_0x325cfd[_0x2d6682([0x69,0x64])]:null,0x1)['then'](()=>_0x421573());}});}_0x1c0987(_0xbf661f(_0x5de38c,_0x52e404),_0x52e404);}function _0x527352(_0x2b2c15,_0x47949d){try{return _0x46bbb6(_0x47949d)?_0x1b7aed(_0x47949d[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x56,0x61,0x6c,0x69,0x64])):_0x2b2c15&&_0x34da00(_0x2b2c15[_0x2d6682([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x47949d)?_0x2b2c15[_0x2d6682([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2d6682([0x6f,0x70,0x65,0x6e])][_0x2d6682([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1d2023)/0x2>_0x2b2c15[_0x2d6682([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1b7aed(_0x47949d[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2b2c15[_0x2d6682([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1b7aed(_0x47949d[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c])):_0x1b7aed(_0x47949d[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x56,0x61,0x6c,0x69,0x64])):_0x1b7aed(_0x47949d[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x24f912){return _0x1b7aed(_0x47949d[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3d0fb9(_0x2d22c9,_0x2c2266){if(_0x2299c8 instanceof _0x1c2fe6){const _0x41f826=_0x2299c8;_0x2d22c9==_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x175800(_0x41f826):_0x2d22c9==_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2d6682([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x175800(_0x41f826),_0x1b7aed(_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x173931[0x6]*_0x57e7fc[0x8]*_0x57e7fc[0x6]),_0x41f826[_0x2d6682([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2d6682([0x6f,0x6e])](_0x2d6682([0x61,0x64,0x64]),(_0x216ec0,_0x349ab8)=>{_0x2d22c9!=_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2d22c9!=_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2d22c9!=_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x24a8a7(_0x349ab8);});}else{const _0x3dea37=_0x2299c8;_0x2d22c9==_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x24a8a7(_0x3dea37):_0x2d22c9==_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c])&&_0x3dea37[_0x2d6682([0x6f,0x6e])](_0x2d6682([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x52f064=0x0;_0x3dea37[_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6682([0x6f,0x6e])](_0x2d6682([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x310f62,_0x4b986a)=>{_0x4b986a[0x0][_0x2d6682([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x52f064++,0x1f8===_0x52f064&&(_0x24a8a7(_0x3dea37),_0x1b7aed(_0x2c2266[_0x2d6682([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2d6682([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x310f62[_0x2d6682([0x6f,0x66,0x66])]());},{'priority':_0x2d6682([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1b7aed(_0x194a95){const _0x5561b4=_0x58e051();return _0x2299c8[_0x5561b4]=_0x194a95,_0x194a95;}function _0x58e051(){const _0x239e3e=String(window[_0x2d6682([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2d6682([0x6e,0x6f,0x77])]())[_0x2d6682([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2d6682([0x2e]),'');let _0x4e4728='';for(let _0x1e29ec=0x0;_0x1e29ec<_0x239e3e[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e29ec+=0x2){let _0x4f672d=parseInt(_0x239e3e[_0x2d6682([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e29ec,_0x1e29ec+0x2));_0x4f672d>=_0x4bc440[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4f672d-=_0x4bc440[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4e4728+=_0x4bc440[_0x4f672d];}return _0x4e4728;}function _0x175800(_0x4d2238){for(const _0x378bfc of _0x4d2238[_0x2d6682([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x24a8a7(_0x378bfc);_0x6ffd5c(_0x4d2238,_0x2d6682([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2d6682([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x6ffd5c(_0x4d2238,_0x2d6682([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2d6682([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x20fffd;}function _0x24a8a7(_0x1c6f13){function _0x441ca6(){_0x1c6f13[_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6682([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x20fffd,_0x1c6f13[_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c])][_0x2d6682([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x20fffd,_0x1c6f13[_0x2d6682([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2d6682([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1c6f13[_0x2d6682([0x73,0x74,0x61,0x74,0x65])]==_0x2d6682([0x72,0x65,0x61,0x64,0x79])?_0x441ca6():_0x1c6f13[_0x2d6682([0x6f,0x6e,0x63,0x65])](_0x2d6682([0x72,0x65,0x61,0x64,0x79]),()=>_0x441ca6());}function _0x20fffd(){return null;}function _0x34da00(_0x449fe0,_0x39a40a){const _0x449259=!!(_0x449fe0&_0x39a40a[_0x2d6682([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4734de=_0x1d6476(_0x449fe0,_0x39a40a);return _0x449259||_0x4734de;}function _0x1d6476(_0x23dd7d,_0x8479b8){const _0x3fc3f6=(_0x8479b8[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2d6682([0x66,0x67,0x69])]||null;return!!_0x3fc3f6&&_0x46beae[_0x2d6682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cabd2=>_0x3fc3f6[_0x2d6682([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cabd2[_0x2d6682([0x69,0x64])]))[_0x2d6682([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e0ead=>!_0x318d3d(_0x4e0ead))[_0x2d6682([0x73,0x6f,0x6d,0x65])](_0x498bf0=>!!(_0x23dd7d&_0x498bf0[_0x2d6682([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x318d3d(_0x39fadf){const _0x20b476={[_0x2d6682([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])]:_0x257491};return!!_0x39fadf['forbiddenHandler']&&_0x20b476[_0x39fadf['forbiddenHandler']]();}function _0x257491(){return!window[_0x2d6682([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x20f3bd(_0x2299c8,_0x2d6682([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x46bbb6(_0x28667d){if(!_0x20f3bd(_0x2299c8,_0x28667d[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x213586=_0x28667d[_0x2d6682([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x53d998=_0x213586[_0x2d6682([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x51e862=_0x213586[_0x2d6682([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x2c6e0b=_0x213586[_0x2d6682([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x20f3bd(_0x2299c8,_0x2d6682([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x6ffd5c(_0x2299c8,_0x2d6682([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2d6682([0x73,0x74,0x61,0x74,0x65])]==_0x2d6682([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x53d998)return!0x0;if(_0x20f3bd(_0x2299c8,_0x2d6682([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x6ffd5c(_0x2299c8,_0x2d6682([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2d6682([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2d6682([0x65,0x6e,0x64])&&_0x51e862)return!0x0;return!(!_0x20f3bd(_0x2299c8,_0x2d6682([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]))||_0x6ffd5c(_0x2299c8,_0x2d6682([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]))[_0x2d6682([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2d6682([0x65,0x6e,0x64])||!_0x2c6e0b);}function _0x20f3bd(_0x2118ed,_0x5b3970){return _0x2118ed[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2d6682([0x68,0x61,0x73])](_0x5b3970);}function _0x6ffd5c(_0x792d37,_0xb1ec43){return _0x792d37[_0x2d6682([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2d6682([0x67,0x65,0x74])](_0xb1ec43);}function _0x17ded3(_0x4edad8){let _0x3a1b3e='';for(const _0x7b9643 of _0x4edad8)_0x3a1b3e+=String[_0x2d6682([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x7b9643);return _0x3a1b3e;}function _0x48ade0(_0x135812){const _0x36a894=new Uint8Array(_0x135812[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x300f53=0x0;_0x300f53<_0x135812[_0x2d6682([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x300f53++)_0x36a894[_0x300f53]=_0x135812[_0x2d6682([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x300f53);return _0x36a894;}_0x41c22e&&_0x5d3e86(_0x6a3150(_0x49603d),_0x41c22e);})(_0x323adb);}(this);}['createRevision'](_0x2fb7ed){const _0x659c83=this['editor']['plugins']['get']('Users');return new a({'id':_0x2fb7ed['id'],'name':_0x2fb7ed['name'],'creator':_0x2fb7ed['creatorId']?_0x659c83['getUser'](_0x2fb7ed['creatorId']):null,'diffData':_0x2fb7ed['diffData']||_0x2fb7ed['data'],'authors':_0x2fb7ed['authorsIds']['map'](_0x43f7bd=>_0x659c83['getUser'](_0x43f7bd)),'createdAt':new Date(_0x2fb7ed['createdAt']),'attributes':_0x2fb7ed['attributes'],'fromVersion':_0x2fb7ed['fromVersion'],'toVersion':_0x2fb7ed['toVersion']});}['addRevision'](_0x5d1bbc,_0x274ca6=0x0){this['_revisions']['add'](_0x5d1bbc,_0x274ca6);}['getRevision'](_0x256c41){return this['_revisions']['get'](_0x256c41);}['getRevisions'](_0x5f5c9f={'toJSON':!0x1}){const _0x267325=Array['from'](this['_revisions']);return _0x267325['reverse'](),_0x5f5c9f['toJSON']?_0x267325['map'](_0x56d11b=>_0x56d11b['toJSON']()):_0x267325;}['getIndex'](_0x2334c4){return this['_revisions']['getIndex'](_0x2334c4);}['getEarlierVisibleRevision'](_0x5bf0ff){const [,_0x200341]=this['getRevisionsIterator'](_0x5bf0ff,{'direction':'earlier'});return _0x200341;}['getLaterVisibleRevision'](_0x22dfa3){const [,_0x19fae0]=this['getRevisionsIterator'](_0x22dfa3,{'direction':'later'});return _0x19fae0;}['getRevisionsInDiff'](_0x16e7c1){const _0x2aa380=[];for(const _0x1f209f of this['getRevisionsIterator'](_0x16e7c1['newRevisionId']))if(_0x2aa380['push'](_0x1f209f),_0x1f209f['id']===_0x16e7c1['oldRevisionId'])break;return _0x2aa380;}*['getRevisionsIterator'](_0x341c49,{direction:_0x42ee7b='earlier',filter:_0x4f9341=()=>!0x0}={}){const _0x18bd53='earlier'===_0x42ee7b?0x1:-0x1;let _0x174a31=this['_revisions']['get'](_0x341c49),_0x3c0c13=this['getIndex'](_0x174a31);for(yield _0x174a31;_0x174a31;){if(_0x3c0c13+=_0x18bd53,_0x174a31=this['getRevision'](_0x3c0c13),!_0x174a31)return;_0x4f9341(_0x174a31)&&(yield _0x174a31);}}}function y(_0x29e642,_0x2f2597,_0x422208){const t=_0x29e642['t'];switch(_0x2f2597){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'},_0x422208);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x422208);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':_0x301860,'a':_0x5abd44,'e':_0x411ca4,'r':_0x187dc1,'u':_0x2bad88};class l extends _0x19e2a4{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x590248,A,_0x33d93a];}constructor(_0x100315){super(_0x100315),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 _0x1785df=_0x2a5db2();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1785df},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 _0xbba42c=this['repository']['getRevision'](0x0),_0x132956=_0xbba42c&&null===_0xbba42c['creator']?_0xbba42c:null;if(this['_continueCurrentRevision']=!!_0x132956&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x138c9b=this['_source']['getCurrentRevisionId'](),_0x5d29fc=this['repository']['getRevision'](_0x138c9b);if(_0x5d29fc)this['_startingVersion']=_0x5d29fc['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x3c5b08=this['_source']['history']['_operations']['find'](_0x26bff2=>!_0x26bff2['_isInit']),_0x4fdd3f=_0x3c5b08?_0x3c5b08['baseVersion']:this['_source']['history']['version'];_0xbba42c?(_0xbba42c['toVersion']<_0x4fdd3f&&_0xbba42c['_update']({'toVersion':_0x4fdd3f}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x132956['id'],this['_startingVersion']=_0x132956['fromVersion']):(this['_startingVersion']=_0xbba42c['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4fdd3f,this['_continueCurrentRevision']=!0x1);}}else _0x132956&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x132956['toVersion'],this['editor']['model']['document']['history']['version']),_0x132956['fromVersion']===_0x132956['toVersion']?(0x0!==_0x132956['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x132956['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x132956['id'],this['_startingVersion']=_0x132956['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',_0x244613=>!_0x244613);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x189a46=this['repository']['getRevision'](0x0),_0x54fb52=await this['getRevisionDocumentData'](_0x189a46),_0xd668e5=await this['getRevisionRootsAttributes'](_0x189a46);this['_replaceEditorDataWithRevisionData'](_0x54fb52,_0xd668e5);}}['setSource'](_0x56d1a7){this['_source']=_0x56d1a7;}async['update'](){const _0xe30aa0=await this['_source']['getLatestVersion']();if(_0xe30aa0>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3f0a67=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0xe30aa0});_0x3f0a67['authors']=_0x3f0a67['authorsIds']['map'](_0x28b0a9=>this['editor']['plugins']['get']('Users')['getUser'](_0x28b0a9)),this['currentRevision']['_update'](_0x3f0a67);}}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'](_0x207a92={},_0x1d566d=null){const _0x1c7062=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1d566d>this['currentRevision']['toVersion']&&(_0x1d566d=null),null===_0x1d566d&&(_0x1d566d=await this['_source']['getLatestVersion']());const _0x266069=this['_getFromVersion'](_0x1d566d),_0x192e57=this['buildRevisionData']({'from':_0x266069,'to':_0x1d566d});if(this['currentRevision']['toVersion']<_0x1d566d){const _0x523482=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1d566d,'to':_0x1d566d});_0x523482['authors']=[],_0x523482['authorsIds']=[],_0x523482['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x523482,!0x0),delete _0x523482['authors'],_0x1c7062['push'](_0x523482);}_0x207a92['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x207a92['name']=_0x207a92['name']||null,_0x207a92['id']=_0x207a92['id']||_0x2a5db2(),_0x207a92={..._0x207a92,..._0x192e57};const _0x46f4e5=this['addRevisionData'](_0x207a92);_0x1c7062['push'](_0x207a92);const _0x169ae9=this['repository']['getIndex'](_0x46f4e5);if(0x0!==_0x169ae9){const _0x421b48=this['repository']['getRevision'](_0x169ae9-0x1);if(_0x421b48['fromVersion']!==_0x1d566d){const _0x1380c7=this['_revisionDataBuilder']['getData'](_0x1d566d,_0x421b48['toVersion']),_0x54f05c={'id':_0x421b48['id'],'diffData':_0x1380c7['diffData'],'authorsIds':_0x1380c7['authorsIds'],'authors':_0x1380c7['authorsIds']['map'](_0x473bb5=>this['editor']['plugins']['get']('Users')['getUser'](_0x473bb5)),'fromVersion':_0x1d566d};_0x421b48===this['currentRevision']&&(_0x54f05c['createdAt']=new Date(_0x207a92['createdAt']['getTime']()+0xa)),_0x421b48['_update'](_0x54f05c,!0x0),delete _0x54f05c['authors'],_0x1c7062['push'](_0x54f05c);}}if(this['adapter']){for(const _0x1229f3 of _0x1c7062)this['_bufferUpdate'](_0x1229f3['id'],_0x1229f3,!0x0);this['sendBufferedUpdates']();}return _0x46f4e5;}['addRevisionData'](_0x767849){const _0x3d4a39=this['repository']['createRevision'](_0x767849);return this['adapter']&&_0x3d4a39['on']('_update',(_0x3050c2,_0x288d8e,_0xf1cbd1)=>{_0xf1cbd1||(this['_bufferUpdate'](_0x288d8e['id'],_0x288d8e,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3d4a39,this['_findInsertionIndex'](_0x3d4a39)),_0x3d4a39;}async['getRevisionDocumentData'](_0x5cce26){await this['_loadRevisionData'](_0x5cce26);const _0x3bafb9={};for(const _0x465791 in _0x5cce26['diffData']){if(_0x5cce26['diffData'][_0x465791]['attachChange']&&!_0x5cce26['diffData'][_0x465791]['attachChange']['isAttached'])continue;const _0x4a52f3=this['_removeRevisionMarkers'](JSON['parse'](_0x5cce26['diffData'][_0x465791]['insertions'])),_0x6fa0b3=this['editor']['editing']['view']['document'],_0x7fe365=new _0x1f7f4d(_0x6fa0b3,_0x4a52f3['map'](_0x49cb11=>B(_0x49cb11,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3bafb9[_0x465791]=this['editor']['data']['processor']['toData'](_0x7fe365),this['editor']['data']['processor']['useFillerType']('default');}return _0x3bafb9;}async['getRevisionRootsAttributes'](_0x56257b){await this['_loadRevisionData'](_0x56257b);const _0x447008={};for(const _0x5a9d9 in _0x56257b['diffData'])_0x56257b['diffData'][_0x5a9d9]['attachChange']&&!_0x56257b['diffData'][_0x5a9d9]['attachChange']['isAttached']||(_0x447008[_0x5a9d9]=_0x56257b['diffData'][_0x5a9d9]['attributesAfter']||{});return _0x447008;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1502c5=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2991d0=0x0;_0x2991d0<_0x1502c5['length'];_0x2991d0++){const _0x4b1bfd=_0x1502c5[_0x2991d0];let _0x5e2dae=!0x1;for(const _0xd1868 of Object['keys'](_0x4b1bfd))void 0x0===_0x4b1bfd[_0xd1868]?delete _0x4b1bfd[_0xd1868]:'id'!==_0xd1868&&(_0x5e2dae=!0x0);_0x5e2dae||(_0x1502c5[_0x2991d0]=null);}if(_0x1502c5=_0x1502c5['filter'](_0x21347a=>null!==_0x21347a),!_0x1502c5['length'])return;for(let _0x1508d4=0x0;_0x1508d4<_0x1502c5['length'];_0x1508d4++){const _0x2ffe42=_0x1502c5[_0x1508d4];void 0x0!==_0x2ffe42['fromVersion']&&void 0x0===_0x2ffe42['toVersion']&&(_0x2ffe42['toVersion']=this['repository']['getRevision'](_0x2ffe42['id'])['toVersion']),void 0x0!==_0x2ffe42['toVersion']&&void 0x0===_0x2ffe42['fromVersion']&&(_0x2ffe42['fromVersion']=this['repository']['getRevision'](_0x2ffe42['id'])['fromVersion']);}const _0x3b407a=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1502c5,_0x3b407a)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x58769a=>{if(_0x58769a){for(const _0x2537cc of _0x58769a)this['setRevisionData']({'id':_0x2537cc['id'],'createdAt':_0x2537cc['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x12743a,_0x2c0455){let _0x1f701e=this['editor']['config']['get']('initialData'),_0x2cb186=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1f701e){_0x1f701e={};for(const _0x42314b of this['editor']['model']['document']['getRootNames']())_0x1f701e[_0x42314b]='';}if('string'==typeof _0x1f701e&&(_0x1f701e={'main':_0x1f701e}),void 0x0===_0x2cb186){_0x2cb186={};for(const _0xa06f10 of this['editor']['model']['document']['getRootNames']())_0x2cb186[_0xa06f10]={};}let _0x4941fc=!0x1;const _0x1a7ba6=Object['keys'](_0x1f701e),_0x2212fd=Object['keys'](_0x12743a);for(const _0x35c7d4 of _0x1a7ba6){if(_0x1f701e[_0x35c7d4]!==_0x12743a[_0x35c7d4]&&''!==_0x1f701e[_0x35c7d4]['trim']()){_0x4941fc=!0x0;break;}if(!_0x3d5475(_0x2cb186[_0x35c7d4],_0x2c0455[_0x35c7d4])&&Object['keys'](_0x2cb186[_0x35c7d4])['length']>0x0){_0x4941fc=!0x0;break;}}_0x4941fc||(_0x4941fc=_0x2212fd['some'](_0x47817d=>!this['editor']['model']['document']['getRoot'](_0x47817d))),_0x4941fc&&_0x3f16ce('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1f701e,'editorRootsAttributes':_0x2cb186,'revisionData':_0x12743a,'revisionRootsAttributes':_0x2c0455}),this['editor']['config']['set']('initialData',_0x12743a),this['editor']['config']['set']('rootsAttributes',_0x2c0455);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2c9b9=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2c9b9['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1d8039){const _0x10fe62=this['repository']['getRevisions']();_0x10fe62['reverse']();let _0x47a538=0x0;for(;_0x47a538<_0x10fe62['length'];){const _0x262120=_0x10fe62[_0x47a538];if(_0x262120===this['currentRevision']){_0x47a538++;continue;}if(_0x262120['id']===this['_initialRevisionId'])break;const _0x46cd18=_0x1d8039['toVersion']-_0x262120['toVersion']||_0x1d8039['fromVersion']-_0x262120['fromVersion'];if(_0x46cd18>0x0)break;if(_0x46cd18<0x0)_0x47a538++;else{if(!_0x1d8039['creator']&&_0x262120['creator'])break;if(_0x262120['creator']||!_0x1d8039['creator']){if(_0x1d8039['createdAt']>_0x262120['createdAt'])break;_0x47a538++;}else _0x47a538++;}}return _0x47a538;}['setRevisionData'](_0x35e6ad){const _0x203b28=this['repository']['getRevision'](_0x35e6ad['id']);if(_0x35e6ad['createdAt']&&(_0x35e6ad['createdAt']=new Date(_0x35e6ad['createdAt'])),_0x35e6ad['authorsIds']){const _0x125f87=this['editor']['plugins']['get']('Users');_0x35e6ad['authors']=_0x35e6ad['authorsIds']['map'](_0x224238=>_0x125f87['getUser'](_0x224238));}_0x203b28['_update'](_0x35e6ad,!0x0);}['buildRevisionData']({revision:_0x270314=null,from:_0xbdca9c=null,to:_0xfc5842=null}){_0xbdca9c=null!==_0xbdca9c?_0xbdca9c:_0x270314['fromVersion'],_0xfc5842=null!==_0xfc5842?_0xfc5842:_0x270314['toVersion'];const _0x2c5e77=this['_revisionDataBuilder']['getData'](_0xbdca9c,_0xfc5842),_0x3625a2={'diffData':_0x2c5e77['diffData'],'authorsIds':_0x2c5e77['authorsIds'],'fromVersion':_0xbdca9c,'toVersion':_0xfc5842};if(!_0x270314||_0xfc5842!==_0x270314['toVersion']){const _0x36488f=_0xfc5842-0x1,_0x30eb9a=this['_source']['history']['getOperation'](_0x36488f);_0x3625a2['createdAt']=_0x30eb9a&&_0x30eb9a['createdAt']||new Date();}if(this['_loadedStateData']&&_0xbdca9c===this['_loadedStateData']['fromVersion']){for(const _0xaf3905 of this['_loadedStateData']['authors'])_0x3625a2['authorsIds']['includes'](_0xaf3905['id'])||_0x3625a2['authorsIds']['push'](_0xaf3905['id']);}return _0x3625a2;}['_loadRevisionData'](_0x1d789c){if(!_0x1d789c||_0x1d789c['diffData'])return Promise['resolve']();{const _0x2ccd55=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2ccd55,'revisionId':_0x1d789c['id']})['then'](_0x4b9b31=>{_0x1d789c['diffData']=_0x4b9b31['diffData'];});}}['_bufferUpdate'](_0x504d8e,_0x4c96e4,_0xfe0f02){if(this['_bufferedUpdates']['has'](_0x504d8e)){const _0xfeec96=this['_bufferedUpdates']['get'](_0x504d8e);_0x4c96e4=_0xfe0f02?{..._0xfeec96,..._0x4c96e4}:{..._0x4c96e4,..._0xfeec96};}this['_bufferedUpdates']['set'](_0x504d8e,_0x4c96e4);}['_getFromVersion'](_0x1323c2){const _0x380701=this['repository']['getRevisions']();_0x380701['reverse'](),_0x380701['shift']();const _0xa07786=_0x380701['find'](_0x2dd5e8=>_0x2dd5e8['toVersion']<=_0x1323c2)['toVersion'];return _0xa07786<this['_startingVersion']?this['_startingVersion']:_0xa07786;}['_createInitialRevision'](_0x56528d){const _0x211742=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x211742)this['_initialRevisionId']=_0x211742['id'];else{const _0xdfcb2=!this['editor']['model']['document']['roots']['find'](_0x5176aa=>this['editor']['model']['hasContent'](_0x5176aa)),_0x5f4fed=this['editor']['plugins']['get']('Users')['me']['id'],_0x58dfa6=y(this['editor']['locale'],_0xdfcb2?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x56528d,'to':_0x56528d,'id':this['_initialRevisionId'],'name':_0x58dfa6,'creatorId':_0x5f4fed});}}['_createCurrentRevision'](_0x1b4b87){const _0x1686b7=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1686b7),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x1b4b87,'to':_0x1b4b87,'id':_0x1686b7,'name':'','creatorId':null}));}['_makeRevision']({name:_0x586f45,from:_0x30c036,to:_0xaa7f20,creatorId:_0x50e658,id:_0xbc587f}){const _0x5d92d8=this['buildRevisionData']({'from':_0x30c036,'to':_0xaa7f20});_0x5d92d8['name']=_0x586f45,_0x5d92d8['creatorId']=_0x50e658,_0x5d92d8['id']=_0xbc587f;const _0x4f1de9=this['addRevisionData'](_0x5d92d8);return this['adapter']&&this['_bufferUpdate'](_0x5d92d8['id'],_0x5d92d8,!0x0),_0x4f1de9;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0xec074a){return(_0xec074a=_0xec074a['filter'](_0x4ed3f9=>!_0x4ed3f9['name']||'revision-start'!==_0x4ed3f9['name']&&'revision-end'!==_0x4ed3f9['name']))['forEach'](_0x414ddd=>{'string'!=typeof _0x414ddd&&(_0x414ddd['children']=this['_removeRevisionMarkers'](_0x414ddd['children']),_0x414ddd['attributes']=_0x414ddd['attributes']['filter'](_0x27f233=>!_0x27f233[0x0]['startsWith']('data-revision-')));}),_0xec074a;}}function B(_0x40f5ee,_0x31ad4e){const _0x21ea18=_0x31ad4e['editing']['view']['document'];if('string'==typeof _0x40f5ee)return new _0x4c1e2b(_0x21ea18,_0x40f5ee);{const _0x527335=_0x40f5ee['children']['map'](_0x1f0b72=>B(_0x1f0b72,_0x31ad4e));return new(T[_0x40f5ee['type']]||_0x110187)(_0x21ea18,_0x40f5ee['name'],_0x40f5ee['attributes'],_0x527335);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2deedf){this['editor']=_0x2deedf,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'](_0x4a2793){this['source']=_0x4a2793;const _0x51fde9=new Map(),_0x5551a3=new Map(),_0x5ac80d=this['editor']['model']['document']['roots']['map'](_0x34d5fe=>_0x34d5fe['rootName']);for(const _0x4d75ea of _0x5ac80d){const _0x159c4d=this['editor']['model']['document']['getRoot'](_0x4d75ea),_0x1d4902=q(_0x159c4d);_0x51fde9['set'](_0x4d75ea,_0x1d4902),_0x5551a3['set'](_0x4d75ea,Object['fromEntries'](_0x159c4d['getAttributes']()));}const _0x12f13e=Array['from'](this['editor']['model']['markers'])['map'](_0x4c5686=>[_0x4c5686['name'],_0x4c5686['getRange']()]),_0x199815=this['source']['version'];this['_saveMetaData'](_0x199815,_0x51fde9,_0x12f13e,_0x5551a3),this['_startingRevisionId']=this['_revisionId'];const _0x56210a=new Map(),_0x1c1d86=new Map();for(const _0x36b87c of _0x5ac80d){const _0x3ce143=G(_0x36b87c);_0x56210a['set'](_0x36b87c,_0x3ce143),_0x1c1d86['set'](_0x36b87c,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x56210a,[],_0x1c1d86);}['getData'](_0x43e6c4,_0xc91439){if(this['_lastFrom']===_0x43e6c4&&this['_lastTo']<=_0xc91439)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0xc91439,!0x0);else{if(!this['_savedMetaData']['has'](_0x43e6c4)){const _0x34fe1a=this['_getPreviousFrom'](_0x43e6c4);this['_calculateMetaData'](_0x34fe1a,_0x43e6c4,!0x1);}this['_calculateMetaData'](_0x43e6c4,_0xc91439,!0x0);}return this['_lastFrom']=_0x43e6c4,this['_lastTo']=_0xc91439,this['_getState']();}['loadState'](_0x120378){this['_reset'](),this['_lastFrom']=_0x120378['fromVersion'],this['_lastTo']=_0x120378['toVersion'];for(const _0x20ddb5 in _0x120378['diffData']){const _0x5eba02=_0x120378['diffData'][_0x20ddb5]['attachChange'],_0x3c5429=_0x1bdd3a(_0x120378['diffData'][_0x20ddb5]['attributesBefore'])||{},_0x578eb1=this['_makeModelFromViewString'](_0x120378['diffData'][_0x20ddb5]['deletions']);_0x578eb1['rootName']=_0x20ddb5,_0x578eb1['_isAttached']=!_0x5eba02||!_0x5eba02['isAttached'],_0x578eb1['isAttached']=()=>_0x578eb1['_isAttached'],this['_baseRoots']['set'](_0x20ddb5,_0x578eb1),this['_baseRootsAttributes']['set'](_0x20ddb5,_0x3c5429),_0x5eba02&&this['_touchedRoots']['set'](_0x20ddb5,_0x5eba02);const _0x4886e5=this['_makeIdsRoot'](_0x578eb1);this['_baseIdsRoots']['set'](_0x20ddb5,_0x4886e5);for(const [_0x24654b,_0x873644]of _0x578eb1['markers']){if(!_0x24654b['startsWith']('revision:'))continue;const _0x2967b8=_0x24654b['split'](':')[0x2];for(const _0xd53138 of _0x873644['getWalker']({'singleCharacters':!0x0})){const _0x316a6e=this['_getVidAttributeName'](_0xd53138),_0xc2f90c='elementEnd'==_0xd53138['type']?_0xd53138['previousPosition']['path']['slice'](0x0,-0x1):_0xd53138['previousPosition']['path'],_0x16577e=_0x4886e5['getNodeByPath'](_0xc2f90c)['getAttribute'](_0x316a6e);this['_touched']['set'](_0x16577e,{'userId':_0x2967b8});}}}this['_startingRevisionId']=this['_revisionId'];const _0x535110=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1ef30f=>!this['_touched']['has'](_0x1ef30f));let _0xf2e033=0x0;const _0x58175f=new Map();for(const _0xce60c8 in _0x120378['diffData']){const _0x3b5581=_0x120378['diffData'][_0xce60c8]['attachChange'],_0x25a41a=_0x1bdd3a(_0x120378['diffData'][_0xce60c8]['attributesAfter'])||{},_0x371b8c=this['_makeModelFromViewString'](_0x120378['diffData'][_0xce60c8]['insertions']);_0x371b8c['rootName']=_0xce60c8,_0x371b8c['_isAttached']=!_0x3b5581||_0x3b5581['isAttached'],_0x371b8c['isAttached']=()=>_0x371b8c['_isAttached'],this['_diffRoots']['set'](_0xce60c8,_0x371b8c),this['_diffRootsAttributes']['set'](_0xce60c8,_0x25a41a);const _0x371eca=this['_makeIdsRoot'](_0x371b8c,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xce60c8,_0x371eca),_0x58175f['set'](_0xce60c8,_0x371b8c['isAttached']()?_0x25a41a:{});for(const [_0xaf4120,_0x3d3eb3]of _0x371b8c['markers']){if(!_0xaf4120['startsWith']('revision:'))continue;const _0x270fc5=_0xaf4120['split'](':')[0x2];for(const _0x4dc1ea of _0x3d3eb3['getWalker']({'singleCharacters':!0x0})){const _0x486044=this['_getVidAttributeName'](_0x4dc1ea),_0x48f055=this['_revisionId']++,_0x172ea0='elementEnd'==_0x4dc1ea['type']?_0x4dc1ea['previousPosition']['path']['slice'](0x0,-0x1):_0x4dc1ea['previousPosition']['path'];_0x371eca['getNodeByPath'](_0x172ea0)['_setAttribute'](_0x486044,_0x48f055),this['_touched']['set'](_0x48f055,{'userId':_0x270fc5});}}for(const _0xe0fecd of this['editor']['model']['createRangeIn'](_0x371b8c)['getWalker']({'singleCharacters':!0x0})){const _0x1ecae7=this['_getVidAttributeName'](_0xe0fecd),_0x3f55bd='elementEnd'==_0xe0fecd['type']?_0xe0fecd['previousPosition']['path']['slice'](0x0,-0x1):_0xe0fecd['previousPosition']['path'],_0x1dfbb3=_0x371eca['getNodeByPath'](_0x3f55bd);_0x1dfbb3['getAttribute'](_0x1ecae7)>0x0||_0x1dfbb3['_setAttribute'](_0x1ecae7,_0x535110[_0xf2e033++]);}for(const [_0x3f683b,_0x5a4e0f]of _0x371b8c['markers'])_0x3f683b['startsWith']('revision:')||this['_markers']['set'](_0x3f683b,_0x5a4e0f);}const _0xa4ccb5=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xa4ccb5),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xa4ccb5,0x1));const _0x261acb=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x261acb),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x261acb,0x1));const _0x50ffc0=Array['from'](this['_diffRoots'])['map'](([_0x23d765,_0x357fe3])=>[_0x23d765,q(_0x357fe3)]);this['_saveMetaData'](this['_lastTo'],_0x50ffc0,this['_markers'],_0x58175f);}['_makeModelFromViewString'](_0x58368a){const _0x97674f=JSON['parse'](_0x58368a),_0x19809c=this['editor']['editing']['view']['document'],_0x4ca268=new _0x1f7f4d(_0x19809c,_0x97674f['map'](_0x31cc13=>B(_0x31cc13,this['editor'])));return this['editor']['data']['toModel'](_0x4ca268);}['_saveMetaData'](_0x2e2c0c,_0x55c728,_0x18650e,_0x546b22){const _0x3ca31a=new Map(_0x55c728),_0x45c757=new Map(_0x1bdd3a(_0x546b22)),_0x34f910=new Map();for(const [_0x200dbb,_0x3ef4de]of _0x18650e)_0x34f910['set'](_0x200dbb,{'start':_0x3ef4de['start']['clone'](),'end':_0x3ef4de['end']['clone'](),'rootName':_0x3ef4de['root']['rootName']});this['_savedMetaData']['set'](_0x2e2c0c,{'roots':_0x3ca31a,'markers':_0x34f910,'rootsAttributes':_0x45c757});}['_removeMetaData'](_0x2ab9a2){this['_savedMetaData']['delete'](_0x2ab9a2);}['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'](_0x3bf634,_0x1eb2fd=null){let _0x388496=null;_0x3bf634['is']('documentFragment')||(_0x388496=new ft(_0x3bf634['name'],{'vid_start':null===_0x1eb2fd?this['_revisionId']++:_0x1eb2fd++}));const _0x156302=[];for(const _0x2bb570 of _0x3bf634['getChildren']())if(_0x2bb570['is']('element')){_0x156302['push'](this['_makeIdsRoot'](_0x2bb570,_0x1eb2fd));const _0x642c1e=_0x156302[_0x156302['length']-0x1];null!==_0x1eb2fd&&(_0x1eb2fd=_0x642c1e['is']('element','$text')?_0x642c1e['getAttribute']('vid')+0x1:_0x642c1e['getAttribute']('vid_end')+0x1);}else{for(let _0x256333=0x0;_0x256333<_0x2bb570['offsetSize'];_0x256333++)_0x156302['push'](new ft('$text',{'vid':null===_0x1eb2fd?this['_revisionId']++:_0x1eb2fd++}));}if(_0x3bf634['is']('documentFragment')){const _0x3f191c=G(_0x3bf634['rootName']);return _0x3f191c['_insertChild'](0x0,_0x156302),_0x3f191c;}return _0x388496['_setAttribute']('vid_end',null===_0x1eb2fd?this['_revisionId']++:_0x1eb2fd++),_0x388496['_insertChild'](0x0,_0x156302),_0x388496;}['_calculateMetaData'](_0x2ae65e,_0x157b11,_0x569529){this['_reset']();const {roots:_0xd789b3,markers:_0x121b13,rootsAttributes:_0x366728}=this['_savedMetaData']['get'](_0x2ae65e);this['_baseRoots']=new Map(_0xd789b3),this['_baseRootsAttributes']=new Map(_0x1bdd3a(_0x366728));for(const [_0x397da2,_0x579952]of this['_baseRoots'])if('$graveyard'!==_0x397da2&&(this['_diffRoots']['set'](_0x397da2,q(_0x579952)),this['_diffRootsAttributes']=new Map(_0x1bdd3a(_0x366728)),_0x569529)){const _0x402f7f=this['_revisionId'];this['_idsRoots']['set'](_0x397da2,this['_makeIdsRoot'](_0x579952)),this['_baseIdsRoots']['set'](_0x397da2,this['_makeIdsRoot'](_0x579952,_0x402f7f));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x569529&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x116b37,_0xba2953]of _0x121b13){const _0x30fa3d=this['_baseRoots']['get'](_0xba2953['rootName']),_0x173694=this['_diffRoots']['get'](_0xba2953['rootName']),_0x220f6f=new vt(this['_fixPosition'](_0xba2953['start'],_0x30fa3d),this['_fixPosition'](_0xba2953['end'],_0x30fa3d)),_0x43c48f=this['_fixRange'](_0x220f6f,_0x173694);_0x30fa3d['markers']['set'](_0x116b37,_0x220f6f),this['_markers']['set'](_0x116b37,_0x43c48f);}this['_applyOperations'](_0x2ae65e,_0x157b11,_0x569529);}['_applyOperations'](_0x323c2a,_0x235ee5,_0x4a9da2){for(const _0x2eda9e of this['source']['getOperations'](_0x323c2a,_0x235ee5))this['_handleOperation'](_0x2eda9e,_0x4a9da2);for(const _0x22ba0d of this['_diffRoots']['values']())_0x22ba0d['markers']['clear']();for(const [_0x3e9db6,_0x1759cc]of this['_markers']){this['_diffRoots']['get'](_0x1759cc['root']['rootName'])['markers']['set'](_0x3e9db6,_0x1759cc['clone']());}const _0x596187=new Map(),_0x1dc064=new Map();for(const [_0x150383,_0x5c012d]of this['_diffRoots'])_0x596187['set'](_0x150383,q(_0x5c012d)),_0x1dc064['set'](_0x150383,this['_diffRootsAttributes']['get'](_0x150383));this['_saveMetaData'](_0x235ee5,_0x596187,this['_markers'],_0x1dc064);}['_getPreviousFrom'](_0x29bcda){const _0x5880a2=Array['from'](this['_savedMetaData']['keys']());_0x5880a2['sort']((_0x1a76be,_0x4cefb7)=>_0x1a76be-_0x4cefb7),_0x5880a2['reverse']();for(const _0x51129e of _0x5880a2)if(_0x51129e<_0x29bcda)return _0x51129e;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x23a15d,_0x5503b8){const _0x41fa6a=Array['from'](_0x5503b8['markers'])['map'](([_0xaffd12,_0xae20bf])=>[_0xaffd12,this['_fixRange'](_0xae20bf,_0x23a15d)]);_0x23a15d['markers']=new Map(_0x41fa6a);}['_transformMarkers'](_0x35b9d7){for(const _0x19edae of this['_markers']['values']()){const _0x3a3be5=_0x19edae['getTransformedByOperation'](_0x35b9d7),_0x3cf29e=vt['_createFromRanges'](_0x3a3be5);_0x19edae['start']=_0x3cf29e['start'],_0x19edae['end']=_0x3cf29e['end'];}}['_handleOperation'](_0xd38a77,_0x5273cd){if('addRoot'==_0xd38a77['type']||'detachRoot'==_0xd38a77['type'])return void this['_handleRootOperation'](_0xd38a77,_0x5273cd);if('insert'==_0xd38a77['type']){const _0x198231=_0xd38a77['position']['root']['rootName'];this['_diffRoots']['has'](_0x198231)||(this['_diffRoots']['set'](_0x198231,G(_0x198231,!0x0)),this['_diffRootsAttributes']['set'](_0x198231,{}),_0x5273cd&&this['_idsRoots']['set'](_0x198231,G(_0x198231,!0x0)));}else{if('addRootAttribute'==_0xd38a77['type']||'removeRootAttribute'==_0xd38a77['type']||'changeRootAttribute'==_0xd38a77['type'])return void this['_handleRootAttributeOperation'](_0xd38a77);}const _0x2ad86c=this['_cloneOperation'](_0xd38a77,this['_diffRoots']);if('marker'!==_0xd38a77['type']&&(_0x2ad86c['_execute'](),this['_transformMarkers'](_0x2ad86c)),_0x5273cd)switch(_0x2ad86c['type']){case'insert':this['_handleInsertOperation'](_0xd38a77);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0xd38a77);break;case'merge':this['_handleMergeOperation'](_0xd38a77);break;case'split':this['_handleSplitOperation'](_0xd38a77);break;case'marker':this['_handleMarkerOperation'](_0xd38a77);}}['_cloneOperation'](_0x2327bd,_0x393613){const _0x526194=_0x2327bd['clone']();return _0x526194['_authorId']=_0x2327bd['_authorId'],this['_fixOperation'](_0x526194,_0x393613),_0x526194;}['_getBaseVids'](_0x5369b0){return _0x5369b0['map'](_0x4a2985=>{const _0x46f818=this['_getVidAttributeName'](_0x4a2985);return Number(_0x4a2985['item']['getAttribute'](_0x46f818));});}['_generateTape'](_0x5607fe,_0x2c7aa9){if(_0x5607fe['is']('element','$text'))_0x2c7aa9['push']({'item':_0x5607fe,'type':'text'});else{_0x5607fe['is']('element')&&_0x2c7aa9['push']({'item':_0x5607fe,'type':'elementStart'});for(const _0xfd876b of _0x5607fe['getChildren']())this['_generateTape'](_0xfd876b,_0x2c7aa9);_0x5607fe['is']('element')&&_0x2c7aa9['push']({'item':_0x5607fe,'type':'elementEnd'});}return _0x2c7aa9;}['_getState'](){const _0x34b4a8=new Map(this['_touched']),_0xc9ed85=new Map(_0x34b4a8),_0x5d4b20=new Map(),_0x4bff3b={'insertions':{},'deletions':{}},_0x2d7e2e={'insertions':{},'deletions':{}},_0x499afc=new Map(),_0x59b55b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x59b55b['delete']('$graveyard');for(const _0x28bdb7 of _0x59b55b){const _0x1926d1=this['_diffRoots']['get'](_0x28bdb7)||G(_0x28bdb7,!0x1),_0x4bfe22=this['_baseRoots']['get'](_0x28bdb7)||G(_0x28bdb7,!0x1);_0x1926d1['isAttached']()||_0x4bfe22['isAttached']()?(_0x4bff3b['insertions'][_0x28bdb7]=q(_0x1926d1),_0x4bff3b['deletions'][_0x28bdb7]=q(_0x4bfe22),this['_copyMarkers'](_0x4bff3b['deletions'][_0x28bdb7],_0x4bfe22),this['_copyMarkers'](_0x4bff3b['insertions'][_0x28bdb7],_0x1926d1),_0x2d7e2e['insertions'][_0x28bdb7]=this['_generateTape'](this['_idsRoots']['get'](_0x28bdb7),[]),_0x2d7e2e['deletions'][_0x28bdb7]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x28bdb7)||G(_0x28bdb7,!0x1),[])):_0x59b55b['delete'](_0x28bdb7);}for(const _0xb6b5ae of _0x59b55b){const _0x3f64f5=_0x2d7e2e['insertions'][_0xb6b5ae];for(const _0x8c3d58 of _0x3f64f5){const _0x32046f=this['_getVidAttributeName'](_0x8c3d58),_0x53ac30=_0x8c3d58['item']['getAttribute'](_0x32046f);_0xc9ed85['delete'](_0x53ac30),_0x53ac30>=this['_startingRevisionId']&&_0x5d4b20['set'](_0x53ac30,_0x34b4a8['get'](_0x53ac30));}}for(const _0x203df0 of _0x59b55b){const _0x36fbfd=_0x2d7e2e['insertions'][_0x203df0],_0xd0ac08=this['_getBaseVids'](_0x2d7e2e['deletions'][_0x203df0]);let _0x54fd25=0x0;for(const _0x3c4470 of _0x36fbfd){const _0x5a2d5c=this['_getVidAttributeName'](_0x3c4470),_0x26edbf=_0x3c4470['item']['getAttribute'](_0x5a2d5c);if(!_0x5d4b20['has'](_0x26edbf)&&!_0x499afc['has'](_0x26edbf)){if(_0xc9ed85['has'](_0x26edbf))_0x54fd25++;else{if(_0x26edbf!=_0xd0ac08[_0x54fd25]){const _0x34ab95=_0x34b4a8['get'](_0x26edbf)||_0x34b4a8['get'](_0xd0ac08[_0x54fd25]);for(;_0x26edbf!=_0xd0ac08[_0x54fd25];)_0xc9ed85['has'](_0xd0ac08[_0x54fd25])||(_0x499afc['set'](_0xd0ac08[_0x54fd25],_0x34ab95),_0x34b4a8['set'](_0xd0ac08[_0x54fd25],_0x34ab95)),_0x54fd25++;}_0x54fd25++;}}}}for(const _0x37fc3f of _0x59b55b){const _0x413fa9=_0x2d7e2e['insertions'][_0x37fc3f];for(const _0x5a6b79 of _0x413fa9){const _0x30b85d=this['_getVidAttributeName'](_0x5a6b79),_0x25f372=_0x5a6b79['item']['getAttribute'](_0x30b85d);if(_0x499afc['has'](_0x25f372)){const _0x3bbf16=_0x499afc['get'](_0x25f372);_0xc9ed85['has'](_0x25f372)||_0xc9ed85['set'](_0x25f372,{..._0x3bbf16}),_0x5d4b20['set'](_0x25f372,{..._0x3bbf16});}}}for(const _0x38b889 of _0xc9ed85['keys']())_0x38b889>=this['_startingRevisionId']&&_0xc9ed85['delete'](_0x38b889);const _0x3702b0=new Map();for(const _0x4f2abd of _0x59b55b){let _0x294523=_0x2d7e2e['insertions'][_0x4f2abd];for(const _0x7cc36e of _0x294523)if(_0x7cc36e['item']['is']('element','tableCell')){const _0x592b36=this['_getVidAttributeName'](_0x7cc36e),_0x56e727=_0x7cc36e['item']['getAttribute'](_0x592b36);if(_0x5d4b20['has'](_0x56e727)){const _0x18c8f7=_0x7cc36e['item']['parent']['parent']['getAttribute']('vid_start'),_0x784c2=_0x3702b0['get'](_0x18c8f7)||new Set();_0x784c2['add'](_0x5d4b20['get'](_0x56e727)['userId']),_0x3702b0['set'](_0x18c8f7,_0x784c2);}}_0x294523=_0x2d7e2e['deletions'][_0x4f2abd];for(const _0xdc0003 of _0x294523)if(_0xdc0003['item']['is']('element','tableCell')){const _0x1c055d=this['_getVidAttributeName'](_0xdc0003),_0x5c3970=_0xdc0003['item']['getAttribute'](_0x1c055d);if(_0xc9ed85['has'](_0x5c3970)){const _0x1cec57=_0xdc0003['item']['parent']['parent']['getAttribute']('vid_start'),_0x5b6028=_0x3702b0['get'](_0x1cec57)||new Set();_0x5b6028['add'](_0xc9ed85['get'](_0x5c3970)['userId']),_0x3702b0['set'](_0x1cec57,_0x5b6028);}}for(const _0x2aa2ba of _0x3702b0['keys']())(_0x5d4b20['has'](_0x2aa2ba)||_0xc9ed85['has'](_0x2aa2ba))&&_0x3702b0['delete'](_0x2aa2ba);}for(const _0x2b4a0c of _0x59b55b){const _0x3ae4ee=_0x2d7e2e['insertions'][_0x2b4a0c];let _0x36dc83=null,_0x22c0b2=null;for(const _0x6da8c2 of _0x3ae4ee){const _0x5f06d2=this['_getVidAttributeName'](_0x6da8c2),_0x2d7b90=_0x6da8c2['item']['getAttribute'](_0x5f06d2),_0x4ce769=_0x3702b0['get'](_0x2d7b90);_0x4ce769&&'elementStart'==_0x6da8c2['type']&&(_0x36dc83=Array['from'](_0x4ce769)[0x0],_0x22c0b2=_0x6da8c2['item']['getAttribute']('vid_end')),_0x36dc83&&(_0xc9ed85['set'](_0x2d7b90,{'userId':_0x36dc83}),_0x5d4b20['set'](_0x2d7b90,{'userId':_0x36dc83})),_0x2d7b90==_0x22c0b2&&(_0x36dc83=null,_0x22c0b2=null);}}const _0x9c627d={},_0x4e3ade=new Set();for(const _0x576377 of _0x59b55b){const _0x4d5838=_0x4bff3b['deletions'][_0x576377],_0x1f1f5e=_0x4bff3b['insertions'][_0x576377];for(const {userId:_0x26bf1c}of this['_touchedMarkers']['values']())null!==_0x26bf1c&&_0x4e3ade['add'](_0x26bf1c);for(const {userId:_0x5c0eb9}of this['_touchedRoots']['values']())null!==_0x5c0eb9&&_0x4e3ade['add'](_0x5c0eb9);this['_markChanges'](_0x1f1f5e,_0x2d7e2e['insertions'][_0x576377],_0x5d4b20,'insertion',_0x4e3ade),this['_markChanges'](_0x4d5838,_0x2d7e2e['deletions'][_0x576377],_0xc9ed85,'deletion',_0x4e3ade),_0x9c627d[_0x576377]={'insertions':this['_prepareViewToSave'](_0x1f1f5e),'deletions':this['_prepareViewToSave'](_0x4d5838),'attachChange':this['_touchedRoots']['get'](_0x576377)||null,'attributesBefore':_0x1bdd3a(this['_baseRootsAttributes']['get'](_0x576377))||{},'attributesAfter':_0x1bdd3a(this['_diffRootsAttributes']['get'](_0x576377))};}return{'diffData':_0x9c627d,'authorsIds':Array['from'](_0x4e3ade)};}['_processRootBeforeSave'](_0x5c301e){for(const [,_0x4c16ec]of _0x5c301e['markers']){const _0x1b6fa1=_0x4c16ec['start']['getAncestors']()['filter'](_0x3cea08=>'tableCell'==_0x3cea08['name']);for(const _0x4baf55 of _0x1b6fa1)0x1==_0x4baf55['childCount']&&_0x4baf55['getChild'](0x0)['is']('element','paragraph')&&_0x4baf55['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x11cf73){this['_processRootBeforeSave'](_0x11cf73);const _0x100119=this['editor']['data']['toView'](_0x11cf73,{}),_0x4abaa9=Array['from'](_0x100119['getChildren']())['map'](_0x3920ce=>this['_getViewJson'](_0x3920ce));return JSON['stringify'](_0x4abaa9);}['_getViewJson'](_0x1595a2){if(_0x1595a2['is']('$text'))return _0x1595a2['data'];{const _0x384a98=_0x1595a2;return{'type':Object['keys'](T)['find'](_0x22e445=>_0x1595a2 instanceof T[_0x22e445]),'name':_0x384a98['name'],'attributes':Array['from'](_0x384a98['getAttributes']()),'children':Array['from'](_0x384a98['getChildren']())['map'](_0x524d1c=>this['_getViewJson'](_0x524d1c))};}}['_markChanges'](_0x448dd5,_0x66a47b,_0x1b2ce5,_0x4fcc2d,_0x384401){let _0x365d3d=null,_0x45b7f3=null,_0xec3488=0x0;const _0x317c1d=this['editor']['model'];for(let _0x57f4b3=0x0;_0x57f4b3<_0x66a47b['length'];_0x57f4b3++){const _0x3101a3=this['_getVidAttributeName'](_0x66a47b[_0x57f4b3]),_0x2a8fc3=_0x66a47b[_0x57f4b3]['item']['getAttribute'](_0x3101a3),_0x4ae1a3=_0x1b2ce5['get'](_0x2a8fc3),_0x2fcd78=_0x57f4b3==_0x66a47b['length']-0x1;(!_0x365d3d&&_0x4ae1a3&&(_0x365d3d=_0x4ae1a3,_0x45b7f3=_0x66a47b[_0x57f4b3]),_0x365d3d&&(!_0x4ae1a3||_0x4ae1a3['userId']!=_0x365d3d['userId']))&&(_0x34ac2c(_0x4ae1a3,L(_0x45b7f3,_0x448dd5,_0x317c1d),L(_0x66a47b[_0x57f4b3],_0x448dd5,_0x317c1d)),_0x365d3d=_0x4ae1a3||null,_0x45b7f3=_0x4ae1a3?_0x66a47b[_0x57f4b3]:null),_0x365d3d&&_0x2fcd78&&_0x34ac2c(_0x4ae1a3,L(_0x45b7f3,_0x448dd5,_0x317c1d),W(_0x66a47b[_0x57f4b3],_0x448dd5,_0x317c1d));}function _0x34ac2c(_0x9d5e17,_0x572e3f,_0x40c611){const _0x3ca3ed=_0x365d3d['userId'],_0x1df2e6='revision:'+_0x4fcc2d+':'+_0x3ca3ed+':'+_0xec3488++,_0x1e9015=_0x317c1d['createRange'](_0x572e3f,_0x40c611);_0x448dd5['markers']['set'](_0x1df2e6,_0x1e9015),null!==_0x3ca3ed&&_0x384401['add'](_0x3ca3ed);}}['_getVidAttributeName'](_0x21d7d4){switch(_0x21d7d4['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x22f2be,_0x15cf3e){_0x22f2be['baseVersion']=null;for(const _0x3ddae5 in _0x22f2be){const _0x310fd2=_0x22f2be[_0x3ddae5];if(_0x310fd2 instanceof gt){const _0x30057f=_0x15cf3e['get'](_0x310fd2['root']['rootName']);_0x22f2be[_0x3ddae5]=this['_fixPosition'](_0x310fd2,_0x30057f);}if(_0x310fd2 instanceof vt){const _0x3c60f2=_0x15cf3e['get'](_0x310fd2['root']['rootName']);_0x22f2be[_0x3ddae5]=this['_fixRange'](_0x310fd2,_0x3c60f2);}'root'===_0x3ddae5&&(_0x22f2be['root']=_0x15cf3e['get'](_0x22f2be['root']['rootName']));}}['_fixRange'](_0xfe09da,_0x1a76b6){return this['editor']['model']['createRange'](this['_fixPosition'](_0xfe09da['start'],_0x1a76b6),this['_fixPosition'](_0xfe09da['end'],_0x1a76b6));}['_fixPosition'](_0x3422e6,_0x4e961){return this['editor']['model']['createPositionFromPath'](_0x4e961,_0x3422e6['path'],_0x3422e6['stickiness']);}['_handleInsertOperation'](_0x926931){const _0x19c307=this['_idsRoots']['get'](_0x926931['position']['root']['rootName']),_0x34a7e8=this['_fixPosition'](_0x926931['position'],_0x19c307),_0x4bcf33=null===_0x926931['_authorId']?null:_0x926931['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3c3f08=_0x34a7e8['parent'],_0x3b78ca=this['_revisionId'],_0x173e66=[];for(const _0x25402d of _0x926931['nodes'])if(_0x25402d['is']('element'))_0x173e66['push'](this['_makeIdsRoot'](_0x25402d));else{for(let _0x44455e=0x0;_0x44455e<_0x25402d['offsetSize'];_0x44455e++)_0x173e66['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3f6a1f=this['_revisionId'];for(let _0x28c040=_0x3b78ca;_0x28c040<_0x3f6a1f;_0x28c040++)this['_touched']['set'](_0x28c040,{'userId':_0x4bcf33});_0x3c3f08['_insertChild'](_0x34a7e8['offset'],_0x173e66);}['_handleMoveOperation'](_0xe52c0e){(_0xe52c0e=this['_cloneOperation'](_0xe52c0e,this['_idsRoots']))['_execute']();const _0x2e76d4=null===_0xe52c0e['_authorId']?null:_0xe52c0e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x33e612=_0xe52c0e['getMovedRangeStart'](),_0xf738bd=_0x33e612['parent'],_0x9edc94=_0x33e612['offset'];!function _0x35c658(_0x3a00a6,_0x38f29d,_0x2d050a,_0x55c587){for(let _0x5c939c=_0x2d050a;_0x5c939c<_0x55c587;_0x5c939c++){const _0x4306f9=_0x38f29d['getChild'](_0x5c939c);_0x4306f9['is']('element','$text')?_0x3a00a6['set'](_0x4306f9['getAttribute']('vid'),{'userId':_0x2e76d4}):(_0x3a00a6['set'](_0x4306f9['getAttribute']('vid_start'),{'userId':_0x2e76d4}),_0x35c658(_0x3a00a6,_0x4306f9,0x0,_0x4306f9['childCount']),_0x3a00a6['set'](_0x4306f9['getAttribute']('vid_end'),{'userId':_0x2e76d4}));}}(this['_touched'],_0xf738bd,_0x9edc94,_0x9edc94+_0xe52c0e['howMany']);}['_handleMergeOperation'](_0xde7e7c){const _0x5e1cc7=null===(_0xde7e7c=this['_cloneOperation'](_0xde7e7c,this['_idsRoots']))['_authorId']?null:_0xde7e7c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2bf133=_0xde7e7c['targetPosition']['parent'],_0x4e7e11=_0xde7e7c['sourcePosition']['parent'],_0x5ca216=_0x2bf133['getAttribute']('vid_end'),_0x584e7d=_0x4e7e11['getAttribute']('vid_start');_0x2bf133['_setAttribute']('vid_end',_0x4e7e11['getAttribute']('vid_end')),_0x4e7e11['_setAttribute']('vid_end',_0x5ca216),this['_touched']['set'](_0x584e7d,{'userId':_0x5e1cc7}),this['_touched']['set'](_0x5ca216,{'userId':_0x5e1cc7}),_0xde7e7c['_execute']();}['_handleSplitOperation'](_0x47e024){const _0x3aa495=null===(_0x47e024=this['_cloneOperation'](_0x47e024,this['_idsRoots']))['_authorId']?null:_0x47e024['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xefffb5=_0x47e024['graveyardPosition'],_0xcb87a=_0x47e024['splitPosition']['parent'];_0x47e024['_execute']();const _0x336883=_0xcb87a['getAttribute']('vid_end'),_0x34c229=_0x47e024['insertionPosition']['nodeAfter'];if(_0xefffb5){const _0x177084=_0x34c229['getAttribute']('vid_end'),_0x280dda=_0xcb87a['getAttribute']('vid_end');_0xcb87a['_setAttribute']('vid_end',_0x177084),_0x34c229['_setAttribute']('vid_end',_0x280dda),this['_touched']['set'](_0xcb87a['getAttribute']('vid_end'),{'userId':_0x3aa495}),this['_touched']['set'](_0x34c229['getAttribute']('vid_start'),{'userId':_0x3aa495});}else{const _0x1e52a9=this['_revisionId']++,_0x5ab762=this['_revisionId']++;_0xcb87a['_setAttribute']('vid_end',_0x1e52a9),_0x34c229['_setAttribute']('vid_start',_0x5ab762),_0x34c229['_setAttribute']('vid_end',_0x336883),this['_touched']['set'](_0x1e52a9,{'userId':_0x3aa495}),this['_touched']['set'](_0x5ab762,{'userId':_0x3aa495});}}['_handleMarkerOperation'](_0x5b0df8){if(!_0x5b0df8['affectsData'])return;const _0x396b6d=(_0x5b0df8=this['_cloneOperation'](_0x5b0df8,this['_diffRoots']))['oldRange']?_0x5b0df8['oldRange']['root']:null,_0x38d84e=_0x5b0df8['newRange']?_0x5b0df8['newRange']['root']:null;_0x396b6d&&this['_markers']['delete'](_0x5b0df8['name']),_0x38d84e&&this['_markers']['set'](_0x5b0df8['name'],_0x5b0df8['newRange']['clone']());const _0x399a26=null===_0x5b0df8['_authorId']?null:_0x5b0df8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x42b93f=_0x5b0df8['name'];if(!this['_touchedMarkers']['has'](_0x42b93f))return void this['_touchedMarkers']['set'](_0x42b93f,{'range':_0x5b0df8['oldRange'],'userId':_0x399a26});const _0x3fb614=this['_touchedMarkers']['get'](_0x42b93f),_0x1051e1=_0x3fb614['range'],_0x39cc4c=_0x5b0df8['newRange'];null==_0x1051e1&&null==_0x39cc4c||_0x1051e1&&_0x39cc4c&&_0x1051e1['isEqual'](_0x39cc4c)?this['_touchedMarkers']['delete'](_0x5b0df8['name']):_0x3fb614['userId']=_0x399a26;}['_handleRootOperation'](_0x319e4a,_0x39e56b){this['_diffRoots']['has'](_0x319e4a['rootName'])?this['_diffRoots']['get'](_0x319e4a['rootName'])['_isAttached']=_0x319e4a['isAdd']:(this['_diffRoots']['set'](_0x319e4a['rootName'],G(_0x319e4a['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x319e4a['rootName'],{}),_0x39e56b&&this['_idsRoots']['set'](_0x319e4a['rootName'],G(_0x319e4a['rootName'],!0x0)));const _0x48eb42=null===_0x319e4a['_authorId']?null:_0x319e4a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x102e9a=this['_touchedRoots']['get'](_0x319e4a['rootName']);_0x102e9a&&_0x102e9a['userId']===_0x48eb42?this['_touchedRoots']['delete'](_0x319e4a['rootName']):this['_touchedRoots']['set'](_0x319e4a['rootName'],{'userId':_0x48eb42,'isAttached':_0x319e4a['isAdd']});}['_handleRootAttributeOperation'](_0x15f6bf){const _0x5b15fc=this['_diffRootsAttributes']['get'](_0x15f6bf['root']['rootName']);null===_0x15f6bf['newValue']?delete _0x5b15fc[_0x15f6bf['key']]:_0x5b15fc[_0x15f6bf['key']]=_0x15f6bf['newValue'];}}function q(_0xf684ba){const _0x383f92=G(_0xf684ba['rootName'],_0xf684ba['isAttached']());for(const _0x2f90e7 of _0xf684ba['getChildren']()){const _0x41d891=_0x2f90e7['_clone'](!0x0);_0x383f92['_appendChild'](_0x41d891);}return _0x383f92;}function G(_0x536fe9,_0xbaeb61=!0x0){const _0x3b813c=new wt();return _0x3b813c['rootName']=_0x536fe9,_0x3b813c['_isAttached']=_0xbaeb61,_0x3b813c['isAttached']=()=>_0x3b813c['_isAttached'],_0x3b813c;}function L(_0x344eb3,_0x4d266f,_0x52a0e0){const _0x88fc61='elementEnd'==_0x344eb3['type']?_0x52a0e0['createPositionAt'](_0x344eb3['item'],'end'):_0x52a0e0['createPositionBefore'](_0x344eb3['item']);return _0x52a0e0['createPositionFromPath'](_0x4d266f,_0x88fc61['path'],_0x88fc61['stickiness']);}function W(_0x595f41,_0xb6e15d,_0x34eb16){const _0x2376c7='elementStart'==_0x595f41['type']?_0x34eb16['createPositionAt'](_0x595f41['item'],0x0):_0x34eb16['createPositionAfter'](_0x595f41['item']);return _0x34eb16['createPositionFromPath'](_0xb6e15d,_0x2376c7['path'],_0x2376c7['stickiness']);}class ns extends _0x46510e{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x1ae62b,_0x51bbc6){super(_0x1ae62b),this['focusTracker']=new _0x5a2962(),this['keystrokes']=new _0x442a74(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x51bbc6),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'](),_0x3e57ba({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x15913e=_0x1e8b79=>_0x1e8b79['stopPropagation']();this['keystrokes']['set']('arrowright',_0x15913e),this['keystrokes']['set']('arrowleft',_0x15913e),this['keystrokes']['set']('arrowup',_0x15913e),this['keystrokes']['set']('arrowdown',_0x15913e);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x46dd45){this['revisionNameInputView']['fieldView']['element']['value']=_0x46dd45['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xed2c65){const _0x5b46b0=new at(this['locale'],_0x1063c2),_0x50450e=_0x5b46b0['fieldView'];_0x50450e['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x397801=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xed2c65&&(_0x397801+='\x20('+y(this['locale'],'optional')+')'),(_0x5b46b0['label']=_0x397801,_0x50450e['on']('input',()=>{this['revisionNameInputValue']=_0x50450e['element']['value']['trim']();}),_0x5b46b0);}}class u extends _0x19e2a4{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x59d8e6=this['editor'],_0x298216=_0x59d8e6['plugins']['get']('RevisionTracker');_0x59d8e6['ui']['componentFactory']['add']('revisionHistory',_0x4106b0=>{const _0x29715f=_0x35e7f6(_0x4106b0),_0xec2b91=_0x29715f['panelView']['children'],_0x287784=new te(_0x4106b0),_0x321047=new _0x5f6d89(_0x4106b0),_0x4ed221=new _0xc147ec(_0x4106b0),_0xc2bf5=new _0x5f6d89(_0x4106b0),_0x145dc4=new _0xc147ec(_0x4106b0);return _0x29715f['bind']('isEnabled')['to'](_0x298216,'isReady',_0x298216,'isEnabled',_0x59d8e6,'isReadOnly',(_0x4f1181,_0x5e36d3,_0x1d256b)=>_0x4f1181&&_0x5e36d3&&!_0x1d256b),_0x29715f['buttonView']['set']({'icon':_0x5c6115['history'],'label':y(_0x4106b0,'Revision\x20history'),'tooltip':!0x0}),_0x4ed221['set']({'label':y(_0x4106b0,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x4ed221['bind']('isEnabled')['to'](_0x298216,'isReady',_0x298216,'isEnabled',_0x59d8e6,'isReadOnly',(_0x183fef,_0x4c9f10,_0x872c05)=>_0x183fef&&_0x4c9f10&&!_0x872c05),_0x4ed221['on']('execute',()=>this['_showDialog']()),_0x145dc4['set']({'label':y(_0x4106b0,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x145dc4['bind']('isEnabled')['to'](_0x298216,'isReady',_0x59d8e6,'isReadOnly',(_0x44ffc3,_0x1e654d)=>_0x44ffc3&&!_0x1e654d),_0x145dc4['on']('execute',()=>{_0x59d8e6['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x29715f['isOpen']=!0x1,_0x59d8e6['editing']['view']['focus']();}),_0x321047['children']['add'](_0x4ed221),_0xc2bf5['children']['add'](_0x145dc4),_0x287784['role']='menu',_0x287784['items']['addMany']([_0x321047,_0xc2bf5]),_0xec2b91['add'](_0x287784),_0x29715f;}),_0x59d8e6['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x15c708=this['editor'],_0x203ff7=_0x15c708['locale'],_0x1cdf65=new _0x550147(_0x203ff7),_0x3d706b=new _0x289f67(_0x203ff7);_0x1cdf65['buttonView']['set']({'icon':_0x5c6115['history'],'label':y(_0x203ff7,'Revision\x20history')});const _0x46f393=new _0x2ac6f7(_0x203ff7,_0x1cdf65),_0x2ebe4b=new _0x4fe277(_0x203ff7);_0x2ebe4b['set']({'label':y(_0x203ff7,'Save\x20current\x20revision')}),_0x2ebe4b['delegate']('execute')['to'](_0x1cdf65),_0x2ebe4b['on']('execute',()=>{this['_showDialog']();}),_0x46f393['children']['add'](_0x2ebe4b),_0x3d706b['items']['add'](_0x46f393);const _0x2cc906=new _0x2ac6f7(_0x203ff7,_0x1cdf65),_0x1d083b=new _0x4fe277(_0x203ff7);return _0x1d083b['set']({'label':y(_0x203ff7,'Open\x20revision\x20history')}),_0x1d083b['delegate']('execute')['to'](_0x1cdf65),_0x1d083b['on']('execute',()=>{_0x15c708['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2cc906['children']['add'](_0x1d083b),_0x3d706b['items']['add'](_0x2cc906),_0x1cdf65['panelView']['children']['add'](_0x3d706b),_0x1cdf65;}['_showDialog'](){const _0x530126=this['editor'],_0x27497c=_0x530126['locale'],_0x33c4c4=_0x530126['plugins']['get']('Dialog'),_0x38ef29=_0x530126['plugins']['get']('RevisionTracker');function _0x222f09(_0x545f2a){_0x530126['config']['get']('revisionHistory.requireRevisionName')&&''===_0x545f2a['revisionName']?_0x545f2a['revisionNameInputView']['errorText']=y(_0x27497c,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x530126['plugins']['get'](l)['saveRevision']({'name':_0x545f2a['revisionName']}),_0x33c4c4['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x222f09(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x33c4c4['show']({'id':'revisionSave','title':y(_0x27497c,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x530126['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x33c4c4['hide']()},{'label':y(_0x530126['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x35c0de){_0x35c0de['bind']('isEnabled')['to'](_0x38ef29,'isReady',_0x38ef29,'isEnabled',_0x530126,'isReadOnly',(_0x5a1f51,_0x20c0b2,_0x4a99dd)=>_0x5a1f51&&_0x20c0b2&&!_0x4a99dd);},'onExecute':()=>_0x222f09(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5d200b=this['editor'],_0x456c7c=_0x5d200b['locale'];this['_saveRevisionFormView']=new ns(_0x456c7c,_0x5d200b['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x46510e{['changeId'];['_model'];constructor(_0x4120f9,_0x1316ff){super(_0x4120f9),this['_model']=_0x1316ff,this['changeId']=_0x1316ff['id'];const _0x147567=this['bindTemplate'],_0x2808f1=y(_0x4120f9,_0x1316ff['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1316ff['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1316ff['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x147567['to']('type',_0x2bec7a=>'ck-revision-change__'+_0x2bec7a)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2808f1}]},{'text':'\x20'+_0x1316ff['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x3d11cb(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x2e0780){super(),this['id']=_0x2e0780['id']||_0x2a5db2(),this['author']=_0x2e0780['author'],this['type']=_0x2e0780['type'],this['data']=_0x2e0780['data']||{},this['rootName']=_0x2e0780['rootName'],this['set']('createdAt',_0x2e0780['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(_0x1061c7,_0x37cfcd){this['newRevisionId']=_0x1061c7,this['oldRevisionId']=_0x37cfcd,this['changes']=new _0x1fb395();}['_setChanges'](_0x35be53){for(const _0x36c495 of _0x35be53)this['changes']['add'](_0x36c495);}}const tt={'c':_0x301860,'a':_0x5abd44,'e':_0x411ca4,'r':_0x187dc1,'u':_0x2bad88};class d extends _0x19e2a4{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x590248,_0x4906a8,A];}constructor(_0x434dfe){super(_0x434dfe),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',(_0x38e3b4,_0x3da893,_0x7a63f8)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5cf3d1=>{for(const _0x1e4307 of this['editor']['editing']['view']['document']['roots'])_0x7a63f8?_0x5cf3d1['removeClass']('ck-editor__editable__overlay',_0x1e4307):_0x5cf3d1['addClass']('ck-editor__editable__overlay',_0x1e4307);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x33a310=>null!==_0x33a310),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x18a6aa,_0x30f7e5,_0x2aafc6)=>_0x18a6aa&&_0x2aafc6?_0x30f7e5['changes']['getIndex'](_0x2aafc6):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x4ea8ad,_0x98c6df)=>_0x4ea8ad?_0x98c6df['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4906a8);}['init'](){const _0x308b56=this['editor'],_0x3b4307=new yt(_0x308b56,{'direction':'backward'}),_0x2fb7fb=new yt(_0x308b56,{'direction':'forward'});(_0x308b56['commands']['add']('showPreviousChange',_0x3b4307),_0x308b56['commands']['add']('showNextChange',_0x2fb7fb),_0x308b56['commands']['add']('restoreRevision',new bt(_0x308b56)),this['on']('change:numberOfChanges',()=>{_0x3b4307['refresh'](),_0x2fb7fb['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x308b56['enableReadOnlyMode']('revision-viewer'),_0x308b56['plugins']['has']('WidgetToolbarRepository'))&&_0x308b56['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x497ced){await this['loadRevisionData'](_0x497ced);const _0x210cf7={};for(const _0x4b57ab in _0x497ced['diffData']){if(_0x497ced['diffData'][_0x4b57ab]['attachChange']&&!_0x497ced['diffData'][_0x4b57ab]['attachChange']['isAttached'])continue;const _0x1d05e5=this['_removeRevisionMarkers'](JSON['parse'](_0x497ced['diffData'][_0x4b57ab]['insertions'])),_0x25c9ac=this['editor']['editing']['view']['document'],_0x50735a=new _0x1f7f4d(_0x25c9ac,_0x1d05e5['map'](_0x5995f8=>this['_getViewObj'](_0x5995f8)));this['editor']['data']['processor']['useFillerType']('marked'),_0x210cf7[_0x4b57ab]=this['editor']['data']['processor']['toData'](_0x50735a),this['editor']['data']['processor']['useFillerType']('default');}return _0x210cf7;}async['getRevisionRootsAttributes'](_0x1dbf49){await this['loadRevisionData'](_0x1dbf49);const _0x427b81={};for(const _0x10602b in _0x1dbf49['diffData'])_0x1dbf49['diffData'][_0x10602b]['attachChange']&&!_0x1dbf49['diffData'][_0x10602b]['attachChange']['isAttached']||(_0x427b81[_0x10602b]=_0x1dbf49['diffData'][_0x10602b]['attributesAfter']||{});return _0x427b81;}['_removeRevisionMarkers'](_0x3a0c57){return(_0x3a0c57=_0x3a0c57['filter'](_0xa2dbeb=>!_0xa2dbeb['name']||'revision-start'!==_0xa2dbeb['name']&&'revision-end'!==_0xa2dbeb['name']))['forEach'](_0x25e1e3=>{'string'!=typeof _0x25e1e3&&(_0x25e1e3['children']=this['_removeRevisionMarkers'](_0x25e1e3['children']),_0x25e1e3['attributes']=_0x25e1e3['attributes']['filter'](_0x25e2d5=>!_0x25e2d5[0x0]['startsWith']('data-revision-')));}),_0x3a0c57;}async['compare'](_0x2b48a7,_0xd950f1,_0x29cde2=!0x1){if(!this['isEnabled'])return;const _0x5e32ba=this['diff'],_0x2fbf9d=this['repository'],_0x308e0f='string'==typeof _0x2b48a7?_0x2fbf9d['getRevision'](_0x2b48a7):_0x2b48a7,_0x2fbeb3='string'==typeof _0xd950f1?_0x2fbf9d['getRevision'](_0xd950f1):_0xd950f1,_0x2d176e=_0x308e0f['id'],_0x3176af=_0x2fbeb3?_0x2fbeb3['id']:null;if(!_0x29cde2&&this['diff']&&this['diff']['newRevisionId']===_0x2d176e&&this['diff']['oldRevisionId']===_0x3176af)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x2d176e,_0x3176af);const _0x514b72=this['_getRevisionsRange'](_0x308e0f,_0x2fbeb3,!0x0)['map'](_0x553406=>this['loadRevisionData'](_0x553406));return _0x514b72['push'](new Promise(_0x3965d4=>{setTimeout(_0x3965d4,0x14);})),Promise['all'](_0x514b72)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1ed20f=this['_getDiff'](_0x2d176e,_0x3176af);for(const _0x2943af of _0x1ed20f['changes'])this['_changeIdToChange']['set'](_0x2943af['id'],_0x2943af);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x31d985=>{for(const _0x16dcef of this['editor']['model']['document']['getRootNames']())_0x31d985['detachRoot'](_0x16dcef);for(const _0x452770 of Object['keys'](_0x1ed20f['model'])){const _0x5dc134=_0x31d985['addRoot'](_0x452770);for(const _0xaa0798 of Object['keys'](_0x1ed20f['attributes'][_0x452770]))_0x31d985['setAttribute'](_0xaa0798,_0x1ed20f['attributes'][_0x452770][_0xaa0798],_0x5dc134);_0x31d985['insert'](_0x1ed20f['model'][_0x452770],_0x5dc134,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1ed20f['changes'])),this['isReady']=!0x0;})['catch'](_0x3c3f1f=>{console['error'](_0x3c3f1f),this['_cleanUp'](),_0x5e32ba&&(this['diff']=_0x5e32ba),this['isReady']=!0x0;});}['addRevisionData'](_0x4b0c05,_0x422c87){const _0xfba40a=this['repository']['createRevision'](_0x4b0c05);return _0xfba40a['on']('_update',(_0x30762b,_0x27a723,_0x3fa73f)=>_0x422c87(_0x27a723,_0x3fa73f,_0xfba40a)),this['repository']['addRevision'](_0xfba40a),_0xfba40a;}['loadRevisionData'](_0x32eba0){if(!_0x32eba0||_0x32eba0['diffData'])return Promise['resolve']();{const _0x46a964=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x46a964,'revisionId':_0x32eba0['id']})['then'](_0x46e796=>{_0x32eba0['_update']({'diffData':_0x46e796['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},_0x5da168=>{for(const _0x14d547 of this['editor']['model']['document']['getRootNames']())_0x5da168['detachRoot'](_0x14d547);});}['_sortAndFilterDiffChanges'](_0x135fd2){const _0x5d454f=[],_0xe02e5b=new Map();for(const _0x52f9d9 of this['editor']['model']['document']['getRootNames']()){const _0x518d38=this['editor']['editing']['view']['getDomRoot'](_0x52f9d9);if(!_0x518d38)continue;const _0x41c700=_0x518d38['getClientRects']()['item'](0x0);_0x41c700&&(_0x5d454f['push'](_0x52f9d9),_0xe02e5b['set'](_0x52f9d9,_0x41c700));}return _0x5d454f['sort']((_0x4cf504,_0x489ff4)=>{const _0x5e411b=_0xe02e5b['get'](_0x4cf504),_0x578e97=_0xe02e5b['get'](_0x489ff4);return _0x5e411b['y']-_0x578e97['y']||_0x5e411b['x']-_0x578e97['x'];}),(_0x135fd2=_0x135fd2['filter'](_0x1ec345=>_0x5d454f['includes'](_0x1ec345['rootName'])))['sort']((_0x43c6cf,_0xd60810)=>_0x5d454f['indexOf'](_0x43c6cf['rootName'])-_0x5d454f['indexOf'](_0xd60810['rootName'])),_0x135fd2;}['_makeTape'](_0x16062c){const _0x2aa82b=Array['from'](_0x16062c['markers'])['filter'](([_0x3ea3dd,_0x11bdb5])=>_0x3ea3dd['startsWith']('revision:')&&!_0x11bdb5['isCollapsed']),_0x51b470=Array['from'](this['editor']['model']['createRangeIn'](_0x16062c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2aa82b['length'])for(const _0x29c3b6 of _0x51b470){const [_0x457361,_0x5e21c0]=_0x2aa82b[0x0],[,_0x256bdd,_0x281cc9]=_0x457361['split'](':');if(_0x5e21c0['end']['isEqual'](_0x29c3b6['nextPosition'])&&_0x2aa82b['shift'](),(_0x29c3b6['previousPosition']['isEqual'](_0x5e21c0['start'])||_0x29c3b6['previousPosition']['isAfter'](_0x5e21c0['start']))&&('insertion'==_0x256bdd?_0x29c3b6['isAdded']={'userId':_0x281cc9}:'deletion'==_0x256bdd&&(_0x29c3b6['isRemoved']={'userId':_0x281cc9})),0x0==_0x2aa82b['length'])break;}return _0x51b470;}['_refreshStartEndIndex'](_0x34e6d3){const _0x39a1b1=new Map();for(let _0x39ea85=0x0;_0x39ea85<_0x34e6d3['length'];_0x39ea85++)'text'===_0x34e6d3[_0x39ea85]['type']?(_0x34e6d3[_0x39ea85]['item']['startIndex']=_0x39ea85,_0x34e6d3[_0x39ea85]['item']['endIndex']=_0x39ea85):('elementStart'===_0x34e6d3[_0x39ea85]['type']?_0x34e6d3[_0x39ea85]['item']['startIndex']=_0x39ea85:'elementEnd'===_0x34e6d3[_0x39ea85]['type']&&(_0x34e6d3[_0x39ea85]['item']['endIndex']=_0x39ea85),_0x39a1b1['set'](_0x34e6d3[_0x39ea85]['id'],_0x39ea85));for(const _0x58f8ec of _0x39a1b1['values']())'elementStart'===_0x34e6d3[_0x58f8ec]['type']?_0x34e6d3[_0x58f8ec]['item']['endIndex']=_0x39a1b1['get'](_0x34e6d3[_0x58f8ec]['pairId']):'elementEnd'===_0x34e6d3[_0x58f8ec]['type']&&(_0x34e6d3[_0x58f8ec]['item']['startIndex']=_0x39a1b1['get'](_0x34e6d3[_0x58f8ec]['pairId']));}['_processTape'](_0x3e8f42){for(let _0xda0bee=0x0;_0xda0bee<_0x3e8f42['length'];_0xda0bee++){if('elementStart'===_0x3e8f42[_0xda0bee]['type'])_0x3e8f42[_0xda0bee]['item']['startIndex']=_0xda0bee;else{if('elementEnd'===_0x3e8f42[_0xda0bee]['type']){_0x3e8f42[_0xda0bee]['item']['endIndex']=_0xda0bee;const _0x3fe8eb=_0x3e8f42[_0xda0bee]['item']['startIndex'];_0x3e8f42[_0x3fe8eb]['pairId']=_0x3e8f42[_0xda0bee]['id'],_0x3e8f42[_0xda0bee]['pairId']=_0x3e8f42[_0x3fe8eb]['id'];}else _0x3e8f42[_0xda0bee]['item']['startIndex']=_0xda0bee,_0x3e8f42[_0xda0bee]['item']['endIndex']=_0xda0bee,_0x3e8f42[_0xda0bee]['pairId']=null;}_0x3e8f42[_0xda0bee]['markersStart']||(_0x3e8f42[_0xda0bee]['markersStart']=[],_0x3e8f42[_0xda0bee]['markersEnd']=[]);}}['_markInsertions'](_0x3db53c,_0x3f3f7f){const _0x131094=_0x3db53c['filter'](_0x3326a3=>!_0x3326a3['isAdded']);for(let _0x1a85fd=0x0;_0x1a85fd<_0x3f3f7f['length'];_0x1a85fd++)_0x3f3f7f[_0x1a85fd]['isAdded']&&(_0x131094[_0x1a85fd]['isAdded']=_0x3f3f7f[_0x1a85fd]['isAdded']);}['_makeModelFromViewString'](_0x6160ec){const _0x544f74=JSON['parse'](_0x6160ec),_0x20ce9d=this['editor']['editing']['view']['document'],_0xc21b5a=new _0x1f7f4d(_0x20ce9d,_0x544f74['map'](_0x30ff7f=>this['_getViewObj'](_0x30ff7f)));return this['editor']['data']['toModel'](_0xc21b5a);}['_getViewObj'](_0x46a527){const _0x44af85=this['editor']['editing']['view']['document'];if('string'==typeof _0x46a527)return new _0x4c1e2b(_0x44af85,_0x46a527);{const _0x394291=_0x46a527['children']['map'](_0xbe925b=>this['_getViewObj'](_0xbe925b));return new(tt[_0x46a527['type']]||_0x110187)(_0x44af85,_0x46a527['name'],_0x46a527['attributes'],_0x394291);}}['_getDiff'](_0x68ab7f,_0x39c5ec=null){const _0x114446=this['repository']['getRevision'](_0x68ab7f),_0x3253bd=_0x39c5ec?this['repository']['getRevision'](_0x39c5ec):null,_0x4558be=this['_getRevisionsRange'](_0x114446,_0x3253bd),_0x1675fd=_0x4558be[_0x4558be['length']-0x1],_0x20af09=new Map(),_0x18edab={'model':{},'attributes':{},'changes':[]},_0x111f83=new Set(),_0x3ab5df=new Map();for(let _0xb91a6d=_0x4558be['length']-0x1;_0xb91a6d>=0x0;_0xb91a6d--){const _0x410228=_0x4558be[_0xb91a6d];for(const _0x36bb53 of Object['keys'](_0x410228['diffData']))if(_0x410228['diffData'][_0x36bb53]['attachChange']){const _0x5ae3a2=_0x410228['diffData'][_0x36bb53]['attachChange'];_0x5ae3a2['isAttached']?(_0x111f83['add'](_0x36bb53),_0x3ab5df['has'](_0x36bb53)&&_0x3ab5df['get'](_0x36bb53)['userId']==_0x5ae3a2['userId']?_0x3ab5df['delete'](_0x36bb53):_0x3ab5df['set'](_0x36bb53,_0x5ae3a2)):_0x3ab5df['has'](_0x36bb53)?(_0x111f83['delete'](_0x36bb53),_0x3ab5df['delete'](_0x36bb53)):(_0x111f83['add'](_0x36bb53),_0x3ab5df['set'](_0x36bb53,_0x5ae3a2));}else _0x111f83['add'](_0x36bb53);}for(const _0x31d277 of _0x111f83){const _0x580ed6=_0x3ab5df['has'](_0x31d277)&&!_0x3ab5df['get'](_0x31d277)['isAttached'];let _0x278d04=_0x580ed6?_0x4558be['length']-0x1:0x0;const _0x29eaa4=_0x580ed6?-0x1:0x1;for(;_0x4558be[_0x278d04];){const _0x575820=_0x4558be[_0x278d04];if(_0x575820['diffData'][_0x31d277]){const _0x2659a1=_0x580ed6?_0x575820['diffData'][_0x31d277]['attributesBefore']:_0x575820['diffData'][_0x31d277]['attributesAfter'];_0x18edab['attributes'][_0x31d277]=_0x2659a1?_0x1bdd3a(_0x2659a1):{};break;}_0x278d04+=_0x29eaa4;}}for(const _0x191958 of _0x4558be){_0x191958['model']={};for(const _0x290926 of _0x191958['authors'])_0x20af09['set'](_0x290926['id'],_0x290926);for(const _0xebc610 of _0x111f83){const _0x2adaa1=_0x191958['diffData'][_0xebc610]?_0x191958['diffData'][_0xebc610]['insertions']:'[]',_0x30a4d1=_0x191958['diffData'][_0xebc610]?_0x191958['diffData'][_0xebc610]['deletions']:'[]';_0x191958['model'][_0xebc610]={'insertions':this['_makeModelFromViewString'](_0x2adaa1),'deletions':this['_makeModelFromViewString'](_0x30a4d1)};}}for(const _0x1e6ac4 of _0x111f83){let _0x421b3e=null,_0x2ea005=0x0;const _0x4b1d6=new Map(Array['from'](_0x114446['model'][_0x1e6ac4]['insertions']['markers'])['filter'](([_0x38a167])=>!_0x38a167['startsWith']('revision:')));let _0x3cdaa0=0x0;for(const _0x5cc9b9 of _0x4558be){const _0x2e6218=this['_makeTape'](_0x5cc9b9['model'][_0x1e6ac4]['insertions']);_0x5cc9b9==_0x114446?(_0x421b3e=_0x2e6218,_0x2ea005=_0x421b3e['length'],_0x421b3e['forEach'](_0x22c0a9=>{_0x22c0a9['id']=_0x3cdaa0++;}),this['_processTape'](_0x421b3e)):this['_markInsertions'](_0x421b3e,_0x2e6218);const _0x4ab4db=_0x421b3e['filter'](_0xbf8665=>!_0xbf8665['isAdded'])['map'](_0xecaba4=>_0xecaba4['id']);let _0x1a4af9=0x0;const _0x22dfb4=this['_makeTape'](_0x5cc9b9['model'][_0x1e6ac4]['deletions']);_0x22dfb4['forEach'](_0x2f07a7=>{_0x2f07a7['isRemoved']?_0x2f07a7['id']=_0x2ea005++:_0x2f07a7['id']=_0x4ab4db[_0x1a4af9++];}),this['_processTape'](_0x22dfb4),this['_setDistance'](_0x421b3e,'isAdded'),this['_setDistance'](_0x22dfb4,'isRemoved'),_0x5cc9b9==_0x114446&&this['_markMarkers'](_0x421b3e,_0x4b1d6),_0x421b3e=this['_joinTapes'](_0x421b3e,_0x22dfb4),this['_refreshStartEndIndex'](_0x421b3e),this['_setDistance'](_0x421b3e,'isRemoved');}_0x421b3e=_0x421b3e['filter'](_0xbd27eb=>!(_0xbd27eb['isAdded']&&_0xbd27eb['isRemoved']));const _0x26f388=new Map(_0x1675fd['model'][_0x1e6ac4]['deletions']['markers']),_0x218b18=new Set(_0x4b1d6['keys']());for(const _0x109d78 of _0x26f388['keys']())_0x218b18['delete'](_0x109d78);this['_markSuggestions'](_0x421b3e,_0x218b18),this['_fixObsoleteTags'](_0x421b3e),_0x421b3e=this['_removeMissingPairs'](_0x421b3e),_0x421b3e=this['_markMismatchedRemovedTags'](_0x421b3e),_0x421b3e=this['_removeUnsupportedChanges'](_0x421b3e);const {root:_0x2743b9,changes:_0x25238f}=this['_makeModelFromTape'](_0x421b3e,_0x20af09,_0x1e6ac4);_0x18edab['model'][_0x1e6ac4]=_0x2743b9;const _0x565f85=_0x3ab5df['get'](_0x1e6ac4);if(_0x565f85){const _0x21f4b2=_0x20af09['get'](_0x565f85['userId']),_0x532ff7=new r({'author':_0x21f4b2,'type':_0x565f85['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1e6ac4});_0x25238f['unshift'](_0x532ff7),_0x18edab['attributes'][_0x1e6ac4]['revisionHistoryAttachChange']=_0x532ff7['id'];}_0x18edab['changes']=_0x18edab['changes']['concat'](_0x25238f);}return _0x18edab;}['_markMarkers'](_0x2f4301,_0x3d8507){for(let _0x4bbda6=0x0;_0x4bbda6<_0x2f4301['length'];_0x4bbda6++)for(const [_0x3ec7e5,_0x1f4505]of _0x3d8507)_0x1f4505['start']['isEqual'](_0x2f4301[_0x4bbda6]['previousPosition'])&&_0x2f4301[_0x4bbda6]['markersStart']['push'](_0x3ec7e5),_0x1f4505['end']['isEqual'](_0x2f4301[_0x4bbda6]['nextPosition'])&&_0x2f4301[_0x4bbda6]['markersEnd']['push'](_0x3ec7e5);}['_joinTapes'](_0x41eeaf,_0x53155b){let _0x2b454b=[],_0x4ba80a=0x0,_0x4a4e56=0x0;for(;_0x4ba80a<_0x41eeaf['length']||_0x4a4e56<_0x53155b['length'];){const _0x51d2d0=_0x41eeaf[_0x4ba80a]||{},_0x48d38d=_0x53155b[_0x4a4e56]||{};if(_0x51d2d0['id']==_0x48d38d['id'])_0x4ba80a++,_0x4a4e56++,_0x2b454b['push'](_0x51d2d0);else{if(_0x48d38d['isRemoved']&&_0x51d2d0['isAdded']){const {commonTape:_0x141ece,iEnd:_0x2cb23a,jEnd:_0x2fd17f}=this['_threeWayMerge'](_0x41eeaf,_0x4ba80a,_0x53155b,_0x4a4e56);_0x2b454b=_0x2b454b['concat'](_0x141ece),_0x4ba80a=_0x2cb23a,_0x4a4e56=_0x2fd17f;}else _0x48d38d['isRemoved']?(_0x4a4e56++,_0x2b454b['push'](_0x48d38d)):(_0x4ba80a++,_0x2b454b['push'](_0x51d2d0));}}return _0x2b454b;}['_markSuggestions'](_0x66fc1f,_0xd66f9b){const _0x1e6a52=[];for(let _0xe8608c=0x0;_0xe8608c<_0x66fc1f['length'];_0xe8608c++){for(let _0x54bdd4=0x0;_0x54bdd4<_0x66fc1f[_0xe8608c]['markersStart']['length'];_0x54bdd4++){const _0x1f0e99=_0x66fc1f[_0xe8608c]['markersStart'][_0x54bdd4];if(!_0xd66f9b['has'](_0x1f0e99))continue;const {group:_0x517f51,type:_0x74d22a,authorId:_0x5ad938}=_0x3ab1dd(_0x1f0e99);'revision-suggestion'!=_0x517f51||'insertion'!=_0x74d22a&&'deletion'!=_0x74d22a||(_0x1e6a52['unshift']({'type':_0x74d22a,'name':_0x1f0e99,'userId':_0x5ad938}),_0x66fc1f[_0xe8608c]['markersStart']['splice'](_0x54bdd4,0x1),_0x54bdd4--);}_0x4c4eba(_0x66fc1f[_0xe8608c]);for(let _0x4c045d=0x0;_0x4c045d<_0x66fc1f[_0xe8608c]['markersEnd']['length'];_0x4c045d++){const _0xa1639=_0x66fc1f[_0xe8608c]['markersEnd'][_0x4c045d];if(!_0xd66f9b['has'](_0xa1639))continue;const {group:_0x44cf8b,type:_0x56a70a}=_0x3ab1dd(_0xa1639);if('revision-suggestion'!=_0x44cf8b||'insertion'!=_0x56a70a&&'deletion'!=_0x56a70a)continue;_0x66fc1f[_0xe8608c]['markersEnd']['splice'](_0x4c045d,0x1),_0x4c045d--;const _0x97c476=_0x1e6a52['findIndex'](_0x31555f=>_0x31555f['name']==_0xa1639);_0x97c476>-0x1&&_0x1e6a52['splice'](_0x97c476,0x1);}}function _0x3ab1dd(_0x55c621){const _0x239ab6=_0x55c621['split'](':');return{'group':_0x239ab6[0x0],'type':_0x239ab6[0x1],'subType':_0x239ab6['length']>=0x5?_0x239ab6[0x2]:null,'id':_0x239ab6['length']<0x5?_0x239ab6[0x2]:_0x239ab6[0x3],'authorId':_0x239ab6['length']<0x5?_0x239ab6[0x3]:_0x239ab6[0x4],'markerCount':0x6==_0x239ab6['length']?_0x239ab6[0x5]:null};}function _0x4c4eba(_0x497e6f){for(let _0x220343=0x0;_0x220343<_0x1e6a52['length'];_0x220343++){if(_0x497e6f['isAdded']&&'insertion'==_0x1e6a52[_0x220343]['type'])return _0x497e6f['isAddSuggestion']=_0x1e6a52[_0x220343],void delete _0x497e6f['isAdded'];if(!_0x497e6f['isAdded']&&!_0x497e6f['isRemoved']&&'deletion'==_0x1e6a52[_0x220343]['type'])return void(_0x497e6f['isRemoveSuggestion']=_0x1e6a52[_0x220343]);}}}['_setDistance'](_0x5a865f,_0x899429){let _0x589921=0x0,_0x1237e0=!0x1;const _0x4aea2a=new Map();for(const _0x3efdab of _0x5a865f)_0x3efdab[_0x899429]?_0x1237e0&&(_0x589921++,_0x1237e0=!0x1):(_0x589921++,_0x1237e0=!0x0),_0x4aea2a['set'](_0x3efdab['id'],_0x589921);for(let _0x57a4cb=0x0;_0x57a4cb<_0x5a865f['length'];_0x57a4cb++){if('isRemoved'==_0x899429&&_0x5a865f[_0x57a4cb]['isAdded']||'isAdded'==_0x899429&&_0x5a865f[_0x57a4cb]['isRemoved'])continue;if('text'==_0x5a865f[_0x57a4cb]['type']){_0x5a865f[_0x57a4cb]['distance']=0x0;continue;}const _0x1ebd90=_0x4aea2a['get'](_0x5a865f[_0x57a4cb]['pairId']),_0x169654=_0x4aea2a['get'](_0x5a865f[_0x57a4cb]['id']);_0x5a865f[_0x57a4cb]['distance']=_0x1ebd90-_0x169654;}}['_getRevisionsRange'](_0x238f0a,_0x53ace7,_0x557cac=!0x1){const _0x1e0df9=[];let _0x2de044=this['repository']['getIndex'](_0x238f0a),_0x11d544=this['repository']['getIndex'](_0x53ace7);for(-0x1==_0x11d544&&(_0x11d544=this['repository']['_revisions']['length'],_0x557cac=!0x1);_0x2de044<_0x11d544;)_0x1e0df9['push'](this['repository']['getRevision'](_0x2de044)),_0x2de044++;return _0x557cac&&_0x1e0df9['push'](this['repository']['getRevision'](_0x2de044)),_0x1e0df9;}['_threeWayMerge'](_0x53f975,_0x3fd6b2,_0x3e2a3b,_0xe4d22e){const _0xe74260=this['editor']['model']['schema'];let _0x2b8267=_0x3fd6b2;for(;_0x53f975[_0x2b8267]&&_0x53f975[_0x2b8267]['isAdded'];)_0x2b8267++;let _0x5a5af9=_0xe4d22e;for(;_0x3e2a3b[_0x5a5af9]&&_0x3e2a3b[_0x5a5af9]['isRemoved'];)_0x5a5af9++;_0x7674c8(_0x53f975,_0x3fd6b2,_0x2b8267),_0x7674c8(_0x3e2a3b,_0xe4d22e,_0x5a5af9);const _0x95da37=_0x3e2a3b['slice'](_0xe4d22e,_0x5a5af9)['concat'](_0x53f975['slice'](_0x3fd6b2,_0x2b8267));return _0x95da37['sort']((_0x1ae0f,_0xc37598)=>_0x1ae0f['side']!=_0xc37598['side']?_0x1ae0f['side']-_0xc37598['side']:_0x1ae0f['level']!=_0xc37598['level']?_0x1ae0f['level']-_0xc37598['level']:_0x1ae0f['distance']!=_0xc37598['distance']?_0xc37598['distance']-_0x1ae0f['distance']:!!_0x1ae0f['isAdded']!=!!_0xc37598['isAdded']?-0x1==_0x1ae0f['side']||0x0==_0x1ae0f['side']?_0x1ae0f['isAdded']?-0x1:0x1:_0x1ae0f['isAdded']?0x1:-0x1:_0x1ae0f['index']-_0xc37598['index']),{'commonTape':_0x95da37,'iEnd':_0x2b8267,'jEnd':_0x5a5af9};function _0x7674c8(_0x5657c6,_0x1bf9a3,_0x31c6db){let _0x51656c=-0x1,_0x16c39b=Number['POSITIVE_INFINITY'],_0xcb1a41=!0x0;for(let _0x3a232d=_0x1bf9a3;_0x3a232d<_0x31c6db;_0x3a232d++)if(_0xe74260['isInline'](_0x5657c6[_0x3a232d]['item'])||(_0xcb1a41=!0x1),_0x5657c6[_0x3a232d]['item']['startIndex']<_0x1bf9a3&&(_0x51656c=_0x3a232d),_0x5657c6[_0x3a232d]['item']['endIndex']>=_0x31c6db){_0x16c39b=_0x3a232d;break;}_0xcb1a41&&(_0x51656c=_0x31c6db-0x1);for(let _0x52de0a=_0x1bf9a3;_0x52de0a<_0x31c6db;_0x52de0a++)_0x5657c6[_0x52de0a]['side']=_0x52de0a<=_0x51656c?-0x1:_0x52de0a<_0x16c39b?0x0:0x1,_0x5657c6[_0x52de0a]['index']=_0x52de0a;let _0xd37cc8=0x0;for(let _0xee7452=_0x1bf9a3;_0xee7452<=_0x51656c;_0xee7452++)0x0==_0x5657c6[_0xee7452]['distance']?_0x5657c6[_0xee7452]['level']=_0xd37cc8:(_0xd37cc8++,_0x5657c6[_0xee7452]['level']=_0xd37cc8,_0xd37cc8++);for(let _0xce70c8=_0x1bf9a3;_0xce70c8<_0x31c6db;_0xce70c8++)0x0==_0x5657c6[_0xce70c8]['side']&&(_0x5657c6[_0xce70c8]['level']=_0xd37cc8);_0xd37cc8=0x0;for(let _0x4a2b8b=_0x31c6db-0x1;_0x4a2b8b>=_0x16c39b;_0x4a2b8b--)0x0==_0x5657c6[_0x4a2b8b]['distance']?_0x5657c6[_0x4a2b8b]['level']=_0xd37cc8:(_0xd37cc8--,_0x5657c6[_0x4a2b8b]['level']=_0xd37cc8,_0xd37cc8--);}}['_fixObsoleteTags'](_0x7c798f){const _0x476e88=new Map(),_0x2cfd1e=this['editor']['model']['schema'];for(let _0x52b123=0x1;_0x52b123<_0x7c798f['length'];_0x52b123++){let _0x4c05f2,_0x453127,_0x3b080a;const _0x25cc8a=_0x7c798f[_0x52b123],_0x55c3b8=_0x7c798f[_0x52b123-0x1];if('text'==_0x25cc8a['type'])continue;if(_0x25cc8a['type']!=_0x55c3b8['type'])continue;if(!_0x2cfd1e['isBlock'](_0x55c3b8['item'])||_0x2cfd1e['isLimit'](_0x55c3b8['item']))continue;if(!_0x2cfd1e['isBlock'](_0x25cc8a['item'])||_0x2cfd1e['isLimit'](_0x25cc8a['item']))continue;if((_0x7c798f[_0x52b123]['isAdded']||_0x7c798f[_0x52b123]['isAddSuggestion'])&&_0x7c798f[_0x52b123-0x1]['isRemoved'])_0x4c05f2=_0x7c798f[_0x52b123],_0x453127=_0x7c798f[_0x52b123-0x1],_0x3b080a=_0x52b123-0x1;else{if(!_0x7c798f[_0x52b123]['isRemoved']||!_0x7c798f[_0x52b123-0x1]['isAdded']&&!_0x7c798f[_0x52b123-0x1]['isAddSuggestion'])continue;_0x4c05f2=_0x7c798f[_0x52b123-0x1],_0x453127=_0x7c798f[_0x52b123],_0x3b080a=_0x52b123;}const _0x1ddb34=_0x4c05f2['level']==_0x453127['level'],_0x1d93f4=Math['abs'](_0x4c05f2['level'])<Math['abs'](_0x453127['level'])&&0x0==_0x453127['distance'];(_0x1ddb34||_0x1d93f4)&&(_0x476e88['set'](_0x453127['id'],_0x4c05f2['id']),_0x7c798f['splice'](_0x3b080a,0x1),_0x52b123--,_0x4c05f2['isAdded']=!0x1);}for(let _0x2454e9=0x0;_0x2454e9<_0x7c798f['length'];_0x2454e9++)_0x476e88['has'](_0x7c798f[_0x2454e9]['pairId'])&&(_0x7c798f[_0x2454e9]['pairId']=_0x476e88['get'](_0x7c798f[_0x2454e9]['pairId']));}['_removeMissingPairs'](_0x3237c0){const _0x3bf997=new Set(_0x3237c0['map'](_0x2d24e0=>_0x2d24e0['id']));for(let _0x1e20cf=0x0;_0x1e20cf<_0x3237c0['length'];_0x1e20cf++)_0x3bf997['has'](_0x3237c0[_0x1e20cf]['pairId'])||0x0==_0x3237c0[_0x1e20cf]['distance']||(_0x3237c0[_0x1e20cf]['isIncorrect']=!0x0);return _0x3237c0['filter'](_0x182506=>!_0x182506['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3c5a5a){const _0x58b252=new Set();for(let _0xd67142=0x0;_0xd67142<_0x3c5a5a['length'];_0xd67142++){if(_0x58b252['has'](_0x3c5a5a[_0xd67142]['id'])&&_0x3c5a5a[_0xd67142]['isRemoved']&&(_0x3c5a5a[_0xd67142]['isIncorrect']=!0x0),_0x3c5a5a[_0xd67142]['isIncorrect'])continue;if(0x0==_0x3c5a5a[_0xd67142]['distance'])continue;if('elementStart'!=_0x3c5a5a[_0xd67142]['type'])continue;if(null==_0x3c5a5a[_0xd67142]['pairId'])continue;let _0x40cd5e=_0xd67142+0x1,_0x3af6bc=0x0;for(;_0x3c5a5a[_0x40cd5e]['id']!=_0x3c5a5a[_0xd67142]['pairId'];)'elementStart'==_0x3c5a5a[_0x40cd5e]['type']?_0x3af6bc++:'elementEnd'==_0x3c5a5a[_0x40cd5e]['type']&&_0x3af6bc--,_0x40cd5e++;if(0x0!=_0x3af6bc){if(_0x3c5a5a[_0xd67142]['isRemoved'])_0x3c5a5a[_0xd67142]['isIncorrect']=!0x0;else{for(;_0x40cd5e!=_0xd67142;)_0x3c5a5a[_0x40cd5e]['isRemoved']&&0x0!=_0x3c5a5a[_0x40cd5e]['distance']&&(_0x3c5a5a[_0x40cd5e]['isIncorrect']=!0x0,_0x58b252['add'](_0x3c5a5a[_0x40cd5e]['pairId'])),_0x40cd5e--;}}}return _0x3c5a5a['filter'](_0x5af87c=>!_0x5af87c['isIncorrect']);}['_removeUnsupportedChanges'](_0x5a7b53){const _0x1cbe28=this['editor']['model']['schema'];for(let _0x4695eb=0x0;_0x4695eb<_0x5a7b53['length'];_0x4695eb++){if(!(_0x5a7b53[_0x4695eb]['isAdded']||_0x5a7b53[_0x4695eb]['isAddSuggestion']||_0x5a7b53[_0x4695eb]['isRemoved']||_0x5a7b53[_0x4695eb]['isRemoveSuggestion']))continue;if(0x0==_0x5a7b53[_0x4695eb]['distance'])continue;const _0x100ee6=_0x5a7b53[_0x4695eb]['item'];_0x1cbe28['isBlock'](_0x100ee6)||_0x1cbe28['isLimit'](_0x100ee6)||(_0x5a7b53[_0x4695eb]['isAdded']&&delete _0x5a7b53[_0x4695eb]['isAdded'],_0x5a7b53[_0x4695eb]['isAddSuggestion']&&delete _0x5a7b53[_0x4695eb]['isAddSuggestion'],_0x5a7b53[_0x4695eb]['isRemoveSuggestion']&&delete _0x5a7b53[_0x4695eb]['isRemoveSuggestion'],_0x5a7b53[_0x4695eb]['isRemoved']&&(_0x5a7b53[_0x4695eb]['isIncorrect']=!0x0));}return _0x5a7b53['filter'](_0x2b7d00=>!_0x2b7d00['isIncorrect']);}['_makeModelFromTape'](_0x21e9b5,_0x5a5239,_0x33f2da){const _0x335f8f=new wt(),_0x38fd98=[],_0x2a27b7=new Map(),_0x5ed3c6=this['editor']['model'],_0x6cd0d9=_0x5ed3c6['schema'],_0x2ed67d=[_0x335f8f],_0x23a84e={},_0x4644e9={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2e8f0e=null;const _0x2c6ceb=[0x0];for(let _0x37c26f=0x0;_0x37c26f<_0x21e9b5['length'];_0x37c26f++){let _0xc0418b,_0x5e877d;if('elementStart'===_0x21e9b5[_0x37c26f]['type']){_0xc0418b=_0x5ed3c6['createPositionFromPath'](_0x335f8f,_0x2c6ceb);const _0x5c0b5a=new ft(_0x21e9b5[_0x37c26f]['item']['name'],_0x21e9b5[_0x37c26f]['item']['getAttributes']());_0x2ed67d[0x0]['_appendChild'](_0x5c0b5a),_0x2c6ceb['push'](0x0),_0x2ed67d['unshift'](_0x5c0b5a),_0x5e877d=_0x5ed3c6['createPositionFromPath'](_0x335f8f,_0x2c6ceb),_0x2e8f0e=null;}else{if('elementEnd'===_0x21e9b5[_0x37c26f]['type'])_0x2ed67d['shift'](),_0xc0418b=_0x5ed3c6['createPositionFromPath'](_0x335f8f,_0x2c6ceb),_0x2c6ceb['pop'](),_0x2c6ceb[_0x2c6ceb['length']-0x1]++,_0x5e877d=_0x5ed3c6['createPositionFromPath'](_0x335f8f,_0x2c6ceb),_0x2e8f0e=null;else{if(_0xc0418b=_0x5ed3c6['createPositionFromPath'](_0x335f8f,_0x2c6ceb),_0x2e8f0e&&_0x19ba75(_0x2e8f0e,_0x21e9b5[_0x37c26f]['item']))_0x2e8f0e['_data']+=_0x21e9b5[_0x37c26f]['item']['data'];else{const _0x247618=new _t(_0x21e9b5[_0x37c26f]['item']['data'],_0x21e9b5[_0x37c26f]['item']['getAttributes']());_0x2ed67d[0x0]['_appendChild'](_0x247618),_0x2e8f0e=_0x247618;}_0x2c6ceb[_0x2c6ceb['length']-0x1]+=_0x21e9b5[_0x37c26f]['item']['offsetSize'],_0x5e877d=_0x5ed3c6['createPositionFromPath'](_0x335f8f,_0x2c6ceb);}}for(const _0x103cc4 of _0x21e9b5[_0x37c26f]['markersStart'])_0x2a27b7['set'](_0x103cc4,{'start':_0xc0418b,'end':null});_0x1b08c6('isRemoveSuggestion',_0x37c26f,_0xc0418b,_0x5e877d),_0x1b08c6('isAddSuggestion',_0x37c26f,_0xc0418b,_0x5e877d),_0x1b08c6('isRemoved',_0x37c26f,_0xc0418b,_0x5e877d),_0x1b08c6('isAdded',_0x37c26f,_0xc0418b,_0x5e877d);for(const _0x232e51 of _0x21e9b5[_0x37c26f]['markersEnd']){_0x2a27b7['get'](_0x232e51)['end']=_0x5e877d;}}for(const [_0xdb92f6,_0x88f7e7]of _0x2a27b7){const _0x410633=this['editor']['model']['createRange'](_0x88f7e7['start'],_0x88f7e7['end']);_0x335f8f['markers']['set'](_0xdb92f6,_0x410633);}return _0x38fd98['sort']((_0xf3010c,_0x46a682)=>{const _0x819f4e=_0x335f8f['markers']['get']('revision:'+_0xf3010c['id']),_0x2ca2e8=_0x335f8f['markers']['get']('revision:'+_0x46a682['id']);return _0x819f4e['start']['isBefore'](_0x2ca2e8['start'])?-0x1:_0x819f4e['start']['isAfter'](_0x2ca2e8['start'])?0x1:_0x819f4e['end']['isBefore'](_0x2ca2e8['end'])?-0x1:_0x819f4e['end']['isAfter'](_0x2ca2e8['end'])?0x1:'add'===_0xf3010c['type']?-0x1:0x1;}),{'root':_0x335f8f,'changes':_0x38fd98};function _0x1b08c6(_0x258f5a,_0x2ea10d,_0x5af30b,_0x5abdaa){const _0x41cdec=!!_0x21e9b5[_0x2ea10d][_0x258f5a],_0x320f81=_0x41cdec?_0x21e9b5[_0x2ea10d][_0x258f5a]['userId']:null,_0x196fa7=_0x2ea10d===_0x21e9b5['length']-0x1,_0x583675=_0x4644e9[_0x258f5a][0x0],_0x4f2ca0=_0x6cd0d9['isObject'](_0x21e9b5[_0x2ea10d]['item']);!_0x23a84e[_0x258f5a]&&_0x41cdec?_0x23a84e[_0x258f5a]={'start':_0x5af30b,'tapeItem':_0x21e9b5[_0x2ea10d],'userId':_0x320f81,'type':_0x258f5a}:_0x23a84e[_0x258f5a]&&!_0x41cdec?(_0x23a84e[_0x258f5a]['end']=_0x5af30b,_0x1194a7(_0x23a84e[_0x258f5a]),_0x23a84e[_0x258f5a]=null):_0x23a84e[_0x258f5a]&&_0x41cdec&&_0x23a84e[_0x258f5a]['userId']!==_0x320f81&&(_0x23a84e[_0x258f5a]['end']=_0x5af30b,_0x583675&&_0x583675['userId']===_0x23a84e[_0x258f5a]['userId']||_0x1194a7(_0x23a84e[_0x258f5a]),_0x23a84e[_0x258f5a]={'start':_0x5af30b,'tapeItem':_0x21e9b5[_0x2ea10d],'userId':_0x320f81,'type':_0x258f5a}),_0x23a84e[_0x258f5a]&&_0x4f2ca0&&('elementStart'!==_0x21e9b5[_0x2ea10d]['type']||_0x583675&&_0x583675['userId']===_0x320f81||_0x4644e9[_0x258f5a]['unshift']({'userId':_0x320f81,'object':_0x21e9b5[_0x2ea10d]['item'],'change':_0x23a84e[_0x258f5a]}),'elementEnd'===_0x21e9b5[_0x2ea10d]['type']&&_0x583675&&_0x583675['object']===_0x21e9b5[_0x2ea10d]['item']&&(_0x4644e9[_0x258f5a]['shift'](),_0x23a84e[_0x258f5a]=_0x583675['change'])),_0x23a84e[_0x258f5a]&&_0x196fa7&&(_0x23a84e[_0x258f5a]['end']=_0x5abdaa,_0x1194a7(_0x23a84e[_0x258f5a]),_0x23a84e[_0x258f5a]=null);}function _0x1194a7({start:_0x49355f,end:_0x5b396a,tapeItem:_0x3b0c37,userId:_0x27373b,type:_0x15df46}){const _0x5af5e5=_0x3b0c37['item'],_0x1b5e3d=_0x5ed3c6['schema']['isBlock'](_0x5af5e5)&&!_0x5ed3c6['schema']['isLimit'](_0x5af5e5),_0x666c79=_0x49355f['nodeAfter']==_0x5b396a['parent']&&_0x5b396a['isAtStart'];if(_0x1b5e3d&&_0x666c79)return;const _0x1703fc=_0x5ed3c6['createRange'](_0x49355f,_0x5b396a),_0x3dcb44=_0x5a5239['get'](_0x27373b),_0xca54f8=new r({'author':_0x3dcb44,'type':'isAdded'==_0x15df46||'isAddSuggestion'==_0x15df46?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x15df46||'isRemoveSuggestion'==_0x15df46},'createdAt':new Date(),'rootName':_0x33f2da});_0x38fd98['push'](_0xca54f8),_0x335f8f['markers']['set']('revision:'+_0xca54f8['id'],_0x1703fc);}function _0x19ba75(_0x27cf4b,_0x4d9f91){const _0x1ddd4d=_0x27cf4b['getAttributes'](),_0x4b28f7=_0x4d9f91['getAttributes']();for(const _0x37f601 of _0x1ddd4d){if(_0x37f601[0x1]!==_0x4d9f91['getAttribute'](_0x37f601[0x0]))return!0x1;_0x4b28f7['next']();}return _0x4b28f7['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x463ef8=>{const _0xc200c2=_0x463ef8['markerName']['split'](':')[0x1],_0x30c1b7=this['_getChangeFromId'](_0xc200c2);if(!_0x30c1b7)return null;const _0x4e9091='add'==_0x30c1b7['type']?'insertion':'deletion',_0x194c4a=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4e9091];return _0x30c1b7['data']['isSuggestion']&&_0x194c4a['push']('ck-suggestion-marker-'+_0x4e9091+'-new'),this['activeChange']==_0x30c1b7&&_0x194c4a['push']('ck-suggestion-marker--active'),{'classes':_0x194c4a,'attributes':{'data-change-id':_0xc200c2}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5172e2=>{_0x5172e2['on']('element:pre',(_0x148d70,_0x32b4a9,_0x115095)=>{const _0x45a85a=_0x32b4a9['viewItem']['getChild'](0x0);if(!_0x45a85a||!_0x45a85a['is']('element','code'))return;if(!_0x115095['consumable']['consume'](_0x45a85a,{'attributes':['vid_start','vid_end']}))return;const _0xf1c9eb=_0x32b4a9['modelRange']['start']['nodeAfter'];_0x115095['writer']['setAttribute']('vid_start',_0x45a85a['getAttribute']('vid_start'),_0xf1c9eb),_0x115095['writer']['setAttribute']('vid_end',_0x45a85a['getAttribute']('vid_end'),_0xf1c9eb);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xd36a81=>{_0xd36a81['on']('element',(_0x271e95,_0x3a4900,_0x2735ed)=>{if(!_0x2735ed['consumable']['consume'](_0x3a4900['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3a4900['modelRange']['isCollapsed'])return;const _0x5058a6=_0x3a4900['modelRange']['start']['nodeAfter'];_0x5058a6['hasAttribute']('vid_start')||_0x5058a6['hasAttribute']('vid')||(_0x2735ed['writer']['setAttribute']('vid_start',_0x3a4900['viewItem']['getAttribute']('vid_start'),_0x5058a6),_0x2735ed['writer']['setAttribute']('vid_end',_0x3a4900['viewItem']['getAttribute']('vid_end'),_0x5058a6));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x583a3f=>_0x583a3f['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x30ff94,[,_0x3c86aa])=>{['vid_start','vid_end','vid']['includes'](_0x3c86aa)&&(_0x30ff94['return']=!0x0,_0x30ff94['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x13346e=>{_0x13346e['on']('attribute:vid',(_0x910434,_0x391ca2,_0x5328d7)=>{if('\x20'!=_0x391ca2['item']['data']||_0x391ca2['item']['parent']['maxOffset']>0x1)return;if(!_0x5328d7['consumable']['consume'](_0x391ca2['item'],_0x910434['name']))return;const _0x1065f4=_0x5328d7['writer'],_0x456bd9=_0x5328d7['mapper']['toViewRange'](_0x391ca2['range']);_0x1065f4['wrap'](_0x456bd9,_0x1065f4['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2f38aa){const _0x5abf27=_0x2f38aa['plugins']['get']('RevisionViewer');return(_0x53fe2f,_0x2bbb82,_0x1b54e5)=>{const _0x81d8ce=_0x2bbb82['markerName']['split'](':')[0x1],_0x437526=_0x5abf27['_getChangeFromId'](_0x81d8ce);if(!_0x437526)return null;const _0x1c355c='add'==_0x437526['type']?'split':'merge';if(!_0x1b54e5['consumable']['test'](_0x2bbb82['markerRange'],_0x53fe2f['name']))return;const _0x299c25=_0x2bbb82['markerRange']['getWalker'](),_0x254b5d=_0x2bbb82['markerRange']['start'],_0x41099e=_0x2f38aa['model']['schema'];let _0x81b204=null,_0x2dbf9a=null,_0x47db3f=!0x1,_0x5a44e4=!0x1;for(const _0x1b81c6 of _0x299c25){const _0x1f9ef3=_0x1b81c6['item'];_0x47db3f=_0x47db3f||_0x41099e['isContent'](_0x1f9ef3);const _0x959ebe=_0x1b54e5['mapper']['toViewElement'](_0x1f9ef3);if(_0x959ebe&&_0x959ebe['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1b81c6['type']&&(_0x41099e['isBlock'](_0x1f9ef3)&&!_0x41099e['isLimit'](_0x1f9ef3)&&(_0x1f9ef3['nextSibling']||_0x254b5d['isAtEnd']?_0x81b204&&_0x81b204['parent']==_0x1f9ef3||(_0x81b204=_0x1f9ef3,_0x576734(_0x1b81c6['previousPosition']),_0x5a44e4=!0x0):_0x2dbf9a=_0x2dbf9a||_0x1b81c6['previousPosition']));}function _0x576734(_0x3bf748){const _0x344417=_0x1b54e5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1c355c}),_0x50ee8b=_0x1b54e5['mapper']['toViewPosition'](_0x3bf748);_0x437526['data']['isSuggestion']&&_0x1b54e5['writer']['addClass']('ck-suggestion-marker-'+_0x1c355c+'-new',_0x344417),_0x5abf27['activeChange']==_0x437526&&_0x1b54e5['writer']['addClass']('ck-suggestion-marker--active',_0x344417),_0x1b54e5['writer']['insert'](_0x50ee8b,_0x344417),_0x1b54e5['mapper']['bindElementToMarker'](_0x344417,_0x2bbb82['markerName']);}_0x47db3f||_0x5a44e4||!_0x2dbf9a||_0x576734(_0x2dbf9a);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2ebd04,_0x12a155,_0x1511fe)=>{const _0x204e12=_0x1511fe['mapper']['markerNameToElements'](_0x12a155['markerName']);if(_0x204e12){for(const _0x87769d of _0x204e12)(_0x87769d['hasClass']('ck-suggestion-marker-split')||_0x87769d['hasClass']('ck-suggestion-marker-merge'))&&(_0x1511fe['mapper']['unbindElementFromMarkerName'](_0x87769d,_0x12a155['markerName']),_0x1511fe['writer']['remove'](_0x87769d));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x464725,_0x165c90,_0x1cb5b5)=>{const _0x3e39d2=_0x165c90['markerName']['split'](':')[0x1],_0x50ae91=this['_getChangeFromId'](_0x3e39d2);if(!_0x50ae91)return null;const _0xd979d3='add'==_0x50ae91['type']?'split':'merge';if(_0x1cb5b5['consumable']['test'](_0x165c90['markerRange'],_0x464725['name']))for(const _0x492d5b of _0x165c90['markerRange']['getItems']()){if(!_0x492d5b['is']('element','softBreak'))continue;const _0xe7f86b=_0x1cb5b5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xd979d3}),_0x2745a2=_0x1cb5b5['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x492d5b));_0x50ae91['data']['isSuggestion']&&_0x1cb5b5['writer']['addClass']('ck-suggestion-marker-'+_0xd979d3+'-new',_0xe7f86b),this['activeChange']==_0x50ae91&&_0x1cb5b5['writer']['addClass']('ck-suggestion-marker--active',_0xe7f86b),_0x1cb5b5['writer']['insert'](_0x2745a2,_0xe7f86b),_0x1cb5b5['mapper']['bindElementToMarker'](_0xe7f86b,_0x165c90['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x749c02=>{for(const _0x9c81a8 of this['editor']['model']['document']['getRootNames']()){const _0x10b1ff=this['editor']['model']['document']['getRoot'](_0x9c81a8),_0xa1dba5=this['editor']['editing']['view']['document']['getRoot'](_0x9c81a8);if(_0xa1dba5){const _0x4949a1=_0x10b1ff['getAttribute']('revisionHistoryAttachChange');if(_0x749c02['removeAttribute']('data-change-id',_0xa1dba5),_0x749c02['removeClass']('ck-revision-history-root-add',_0xa1dba5),_0x749c02['removeClass']('ck-revision-history-root-remove',_0xa1dba5),_0x749c02['removeClass']('ck-revision-history-root--active',_0xa1dba5),_0x4949a1){const _0x1ff5d0=this['_getChangeFromId'](_0x4949a1);if(!_0x1ff5d0)return null;_0x749c02['setAttribute']('data-change-id',_0x4949a1,_0xa1dba5),_0x749c02['addClass']('ck-revision-history-root-'+_0x1ff5d0['type'],_0xa1dba5),this['activeChange']==_0x1ff5d0&&_0x749c02['addClass']('ck-revision-history-root--active',_0xa1dba5);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xd8c9ff=>'revision-comment:'+_0xd8c9ff,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x95d509=>'revision-suggestion:'+_0x95d509,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x29456d=>({'name':'suggestion:'+_0x29456d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3d8cee=>{const _0x1d879b=_0x3d8cee['markerName']['split'](':')[0x1];return'insertion'!=_0x1d879b&&'deletion'!=_0x1d879b?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1d879b]};}}),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',(_0x3fd06c,_0x901d34,_0x3035f3)=>{const _0x1e0da2=_0x3035f3['mapper']['markerNameToElements'](_0x901d34['markerName']);if(_0x1e0da2){for(const _0x9c1eba of _0x1e0da2)_0x9c1eba['is']('uiElement')&&(_0x3035f3['mapper']['unbindElementFromMarkerName'](_0x9c1eba,_0x901d34['markerName']),_0x3035f3['writer']['remove'](_0x9c1eba));}},{'priority':'high'});}['_getChangeFromId'](_0x47a93b){return this['_changeIdToChange']['get'](_0x47a93b);}['_getViewForChange'](_0x311992){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x311992),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x18a036,_0x478525,_0x2ec691,_0x25d003)=>{_0x25d003&&this['_balloon']['remove'](_0x25d003),_0x2ec691&&(this['_balloon']['add']({'view':_0x2ec691,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1e12a0=this['editor']['editing'],_0xfdeffb=this['_getChangeFromId'](_0x2ec691['changeId']);let _0x534083;if(_0xfdeffb['data']['isOnRoot']){const _0x1f4196=_0x1e12a0['view']['getDomRoot'](_0xfdeffb['rootName']);_0x534083=Array['from'](_0x1f4196['getClientRects']());}else{const _0x3e1514=this['editor']['model']['markers']['get']('revision:'+_0x2ec691['changeId']);_0x534083=Array['from'](_0x1e12a0['mapper']['markerNameToElements'](_0x3e1514['name']))['map'](_0x55c117=>_0x1e12a0['view']['domConverter']['mapViewToDom'](_0x55c117))['map'](_0x32720e=>Array['from'](_0x32720e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x534083[0x0];return _0x534083['find'](_0x4c00d1=>_0x4c00d1['top']-0x3<=this['_activeViewTarget']['y']&&_0x4c00d1['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4c00d1['left']-0x3<=this['_activeViewTarget']['x']&&_0x4c00d1['right']+0x3>=this['_activeViewTarget']['x'])||_0x534083[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4d5dc4,_0x4e6e87,_0xf2bb10,_0x277125)=>{this['activeView']=_0xf2bb10?this['_getViewForChange'](_0xf2bb10):null,this['editor']['model']['change'](()=>{const _0x14a329=this['editor']['editing'];_0x277125&&(_0x277125['data']['isOnRoot']?_0x14a329['view']['change'](_0x3fdada=>{_0x3fdada['removeClass']('ck-revision-history-root--active',_0x14a329['view']['document']['getRoot'](_0x277125['rootName']));}):_0x14a329['reconvertMarker']('revision:'+_0x277125['id'])),_0xf2bb10&&(_0xf2bb10['data']['isOnRoot']?_0x14a329['view']['change'](_0x2510e4=>{_0x2510e4['addClass']('ck-revision-history-root--active',_0x14a329['view']['document']['getRoot'](_0xf2bb10['rootName']));}):_0x14a329['reconvertMarker']('revision:'+_0xf2bb10['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5388f9,_0x113ae1)=>{if(this['activeChange'])return;const _0x91f0fe=this['_findChangeIdFromDomTarget'](_0x113ae1['target']),_0x543d89=this['_changeIdToChange']['get'](_0x91f0fe);_0x543d89?(this['_activeViewTarget']={'x':_0x113ae1['domEvent']['x'],'y':_0x113ae1['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x543d89)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3f4a0e,_0x348ceb)=>{const _0x713966=this['_findChangeIdFromDomTarget'](_0x348ceb['target']),_0x5c21e2=this['_changeIdToChange']['get'](_0x713966);_0x5c21e2?(this['_activeViewTarget']={'x':_0x348ceb['domEvent']['x'],'y':_0x348ceb['domEvent']['y']},_0x5c21e2===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x5c21e2):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5611b0){do{const _0x194c51=_0x5611b0['getAttribute']('data-change-id');if(_0x194c51)return _0x194c51;_0x5611b0=_0x5611b0['parent'];}while(_0x5611b0);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x6c1645=>{for(const _0x4ec4c5 of this['editor']['model']['markers'])_0x6c1645['removeMarker'](_0x4ec4c5);});}}function et(_0x28d0a8,_0x1d8769){return(_0x3b8433,_0x2d8c3e,_0x295ee7)=>{if(!_0x295ee7['consumable']['test'](_0x2d8c3e['markerRange'],_0x3b8433['name']))return;const _0x21cfed=_0x2d8c3e['markerRange']['getWalker'](),_0x3569ba=_0x2d8c3e['markerRange']['start'],_0x43b71c=_0x28d0a8['model']['schema'];let _0x346a16=null,_0x9ddbda=null,_0x5babfb=!0x1,_0x11805b=!0x1;for(const _0x1ff0af of _0x21cfed){const _0x59bbd4=_0x1ff0af['item'];_0x5babfb=_0x5babfb||_0x43b71c['isContent'](_0x59bbd4);const _0xd3e029=_0x295ee7['mapper']['toViewElement'](_0x59bbd4);if(_0xd3e029&&_0xd3e029['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1ff0af['type']&&(_0x43b71c['isBlock'](_0x59bbd4)&&!_0x43b71c['isLimit'](_0x59bbd4)&&(_0x59bbd4['nextSibling']||_0x3569ba['isAtEnd']?_0x346a16&&_0x346a16['parent']==_0x59bbd4||(_0x346a16=_0x59bbd4,_0x4b322e(_0x1ff0af['previousPosition']),_0x11805b=!0x0):_0x9ddbda=_0x9ddbda||_0x1ff0af['previousPosition']));}function _0x4b322e(_0x1f0ec3){const _0x43fb61=_0x295ee7['mapper']['toViewPosition'](_0x1f0ec3),_0x465dc3=_0x295ee7['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1d8769});_0x295ee7['writer']['insert'](_0x43fb61,_0x465dc3),_0x295ee7['mapper']['bindElementToMarker'](_0x465dc3,_0x2d8c3e['markerName']);}_0x5babfb||_0x11805b||!_0x9ddbda||_0x4b322e(_0x9ddbda);};}class bt extends _0x3f1ce8{constructor(_0x1f743e){super(_0x1f743e);const _0x597d38=_0x1f743e['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x597d38,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x597d38,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x454c45=this['editor'],_0x2036a7=_0x454c45['plugins']['get'](d),_0x577b2b=_0x2036a7['isReady']?_0x2036a7['diff']['newRevisionId']:null;_0x454c45['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x577b2b);}['refresh'](){const {isReady:_0x5c72f1,isEnabled:_0x5282}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5c72f1&&_0x5282;}}class yt extends _0x3f1ce8{['_step'];constructor(_0x4f4884,{direction:_0x536d76}){super(_0x4f4884);const _0x5d3cdd=_0x4f4884['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x536d76?0x1:-0x1,this['listenTo'](_0x5d3cdd,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5d3cdd,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5d3cdd,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x56ab4d=this['editor'],_0x3f581d=_0x56ab4d['plugins']['get'](d),{isNavigationMode:_0x44f5ba,currentChangeNumber:_0x1221dd}=_0x3f581d;let _0x3dc4e7;if(_0x3f581d['activeChange']=_0x44f5ba?_0x3f581d['diff']['changes']['get'](_0x1221dd+this['_step']):_0x3f581d['diff']['changes']['first'],_0x3f581d['activeChange']['data']['isOnRoot'])_0x3dc4e7=_0x56ab4d['editing']['view']['getDomRoot'](_0x3f581d['activeChange']['rootName']);else{const _0x54b238=_0x56ab4d['model']['markers']['get']('revision:'+_0x3f581d['activeChange']['id']);_0x3dc4e7=_0x38468e(_0x56ab4d['editing'],_0x54b238);}_0x12b3d1({'target':_0x3dc4e7,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x754b89,currentChangeNumber:_0x382d11,numberOfChanges:_0x446762,isReady:_0x95bca8,isEnabled:_0x187a64}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x187a64&&_0x95bca8&&_0x446762)&&(!_0x754b89||(0x1===this['_step']?_0x382d11<_0x446762-0x1:_0x382d11>0x0));}}class di extends _0x46510e{constructor(_0x5b381d){super(_0x5b381d);const _0x2b524b=this['bindTemplate'],_0x3f9b99=new _0xc147ec(_0x5b381d),_0x510a5b=new _0xc147ec(_0x5b381d);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',(_0x471da5,_0x2ce25d)=>_0x471da5&&_0x2ce25d>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x13220d,_0x2a0e0c,_0x464799,_0x300139)=>{if(!_0x13220d)return y(_0x5b381d,'Loading...');if(!_0x464799)return y(_0x5b381d,'No\x20changes');const _0x46971f=y(_0x5b381d,'NUMBER_OF_CHANGES',_0x464799);return _0x300139?y(_0x5b381d,'X_OF_Y_CHANGES',[_0x2a0e0c+0x1,_0x464799]):_0x46971f;}),_0x3f9b99['set']({'label':y(_0x5b381d,'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'}),_0x510a5b['set']({'label':y(_0x5b381d,'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'}),_0x3f9b99['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x510a5b['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3f9b99['on']('execute',()=>this['fire']('execute','backward')),_0x510a5b['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',_0x2b524b['if']('_isStatusLabelVisible','ck-hidden',_0x5d19d3=>!_0x5d19d3)]},'children':[{'text':_0x2b524b['to']('isNavigationMode',_0x3e33ee=>_0x3e33ee?y(_0x5b381d,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5b381d,'Total')+':\x20')}]},{'text':_0x2b524b['to']('_statusText')}]},new _0x5cd386(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3f9b99,_0x510a5b]}]});}}const ce='ck-editor__editable__loading-overlay';class ae extends _0x19e2a4{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x29628c=this['editor']['editing']['view'];_0x29628c['change'](_0x5b5e93=>{for(const _0x4f7fb6 of _0x29628c['document']['roots'])_0x5b5e93['addClass'](ce,_0x4f7fb6);});}['hide'](){const _0x1c5e7e=this['editor']['editing']['view'];_0x1c5e7e['change'](_0xc7acd1=>{for(const _0x104d69 of _0x1c5e7e['document']['roots'])_0xc7acd1['removeClass'](ce,_0x104d69);});}}class R extends _0x19e2a4{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,ae];}['init'](){const _0x231879=this['editor'],_0x5bc7a8=_0x231879['plugins']['get'](d),_0x216bcf=_0x231879['plugins']['get'](ae);_0x231879['ui']['componentFactory']['add']('exitToEditing',_0xa11b72=>{const _0x264eb2=new _0xc147ec(_0xa11b72);return _0x264eb2['set']({'label':y(_0xa11b72,'Back\x20to\x20editing'),'icon':_0x5c6115['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x264eb2,'execute',()=>{_0x231879['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x264eb2;}),_0x231879['ui']['componentFactory']['add']('restoreRevision',_0x12cfbd=>{const _0x484ae3=new _0xc147ec(_0x12cfbd);return _0x484ae3['set']({'label':y(_0x12cfbd,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x484ae3['bind']('isEnabled')['to'](_0x231879['commands']['get']('restoreRevision')),this['listenTo'](_0x484ae3,'execute',()=>_0x231879['execute']('restoreRevision')),_0x484ae3;}),_0x231879['ui']['componentFactory']['add']('changesNavigation',_0xbce2d2=>{const _0x42a992=new di(_0xbce2d2),_0x294887=_0x231879['commands']['get']('showPreviousChange'),_0x53a7ce=_0x231879['commands']['get']('showNextChange');return _0x42a992['bind']('isBackwardNavigationEnabled')['to'](_0x294887,'isEnabled'),_0x42a992['bind']('isForwardNavigationEnabled')['to'](_0x53a7ce,'isEnabled'),_0x42a992['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5bc7a8),this['listenTo'](_0x42a992,'execute',(_0x1724eb,_0x6cc412)=>{_0x231879['execute']('forward'===_0x6cc412?'showNextChange':'showPreviousChange');}),_0x42a992;}),_0x216bcf['show'](),_0x5bc7a8['on']('change:isReady',(_0x18c19d,_0x38d623,_0x4f2102)=>{_0x4f2102?_0x216bcf['hide']():_0x216bcf['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1aaf35,_0x5ce2e2){super(_0x1aaf35,_0x5ce2e2);const _0x14e51e=this['bindTemplate'];this['set']({'label':y(_0x1aaf35,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1aaf35,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x14e51e['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 _0x1d8ddf=this['fieldView']['element'];this['_tooltipString']=_0x1d8ddf['scrollWidth']>_0x1d8ddf['clientWidth']&&_0x1d8ddf['value']||'';}}class ti extends _0x46510e{constructor(_0x3792ec,_0x437f86,_0x71550c){super(_0x3792ec);const _0x45fa08=new _0x5585ee();_0x45fa08['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 _0x251dae=['ck','ck-revision-history-sidebar__revision-author'];_0x71550c&&_0x251dae['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2eeafc=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3792ec,_0x71550c?'Revision\x20creator':'Revision\x20author')},'children':[_0x45fa08,_0x437f86['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x251dae},'children':_0x2eeafc});}}function ni(_0x1eeec3,_0x1112c4){const _0x1a5abe=_0x1eeec3['bindTemplate'],_0xd98c43=_0x1eeec3['locale'],_0x300a96=_0x35e7f6(_0xd98c43);_0x300a96['panelPosition']='sw';const _0x1eb5fa=function(_0x5f270e,_0x4d3a20){const _0x464908=function(_0x1d0815,_0xa74d99){const _0x4196c3=_0x1d0815['locale'],_0x25635e={'Compare\x20against\x20selected':y(_0x4196c3,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x4196c3,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x4196c3,'Restore\x20this\x20revision')};return _0xa74d99['map'](_0x59556a=>{const _0x20ad9b=_0x25635e[_0x59556a['name']];return _0x20ad9b&&_0x20ad9b!==_0x59556a['name']&&(_0x59556a['name']=_0x20ad9b),_0x59556a;});}(_0x5f270e,_0x4d3a20),_0xbf0af4=new _0x1fb395();for(const _0x331c2e of _0x464908){const _0x108d9e={'type':'button','model':new to({'label':_0x331c2e['name'],'class':_0x331c2e['class'],'withText':!0x0,'role':'menuitem','_action':_0x331c2e['action']})};_0x108d9e['model']['bind']('isEnabled')['to'](_0x5f270e,'isActionsDropdownOpen',_0x4651e2=>'function'!=typeof _0x331c2e['isEnabled']||(!_0x4651e2||_0x331c2e['isEnabled'](_0x5f270e))),_0xbf0af4['add'](_0x108d9e);}return _0xbf0af4;}(_0x1eeec3,_0x1112c4);return _0x1eeec3['bind']('isActionsDropdownOpen')['to'](_0x300a96,'isOpen'),_0x300a96['buttonView']['set']({'label':y(_0xd98c43,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5c6115['threeVerticalDots']}),_0x300a96['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1a5abe['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1a5abe['to'](_0x18b1f9=>_0x18b1f9['stopPropagation']())}}),_0x300a96['on']('execute',_0x2a4786=>{_0x1eeec3['isReady']&&'function'==typeof _0x2a4786['source']['_action']&&_0x2a4786['source']['_action'](_0x1eeec3);}),_0x5f5b36(_0x300a96,_0x1eb5fa,{'role':'menu'}),_0x300a96['listenTo'](_0x1eeec3,'change:isActionsDropdownOpen',(_0x3442a6,_0x10becb,_0x4d7d0f)=>{if(_0x4d7d0f)for(const _0xbc03f of _0x300a96['listView']['items']){const _0x295a58=_0xbc03f['children']['first'],_0x51b267=_0x1112c4['find'](_0x471d73=>_0x471d73['action']===_0x295a58['_action'])['isVisible'];_0xbc03f['isVisible']=void 0x0===_0x51b267||_0x51b267(_0x1eeec3);}}),_0x300a96;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x3c4636(_0x46510e){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x55576a,_0x5193b2,_0x637a0,_0x495faa){super(_0x55576a);const _0x37b5b0=this['bindTemplate'],_0x25d1b4=function(_0xa97f76,_0x28e848){const _0x400887=Array['from'](_0x28e848['authors'])['filter'](_0x11b9e6=>_0x11b9e6!=_0x28e848['creator']);return _0x28e848['creator']&&_0x400887['unshift'](_0x28e848['creator']),_0x400887['map'](_0x8b8a88=>new ti(_0xa97f76,_0x8b8a88,_0x8b8a88==_0x28e848['creator']));}(_0x55576a,_0x5193b2);this['id']=_0x5193b2['id'],this['_revision']=_0x5193b2,this['_requireRevisionName']=_0x495faa,this['bind']('name','createdAt')['to'](_0x5193b2),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x16843e=>{return _0x595f71=_0x55576a['uiLanguage'],(_0x380a5f=_0x16843e)['toLocaleDateString'](_0x595f71,{'month':'long','day':'numeric'})+',\x20'+_0x380a5f['toLocaleTimeString'](_0x595f71,{'hour':'numeric','minute':'numeric'});var _0x595f71,_0x380a5f;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x55576a,_0x1063c2),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1d32e7=>_0x1d32e7||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3a3279,_0x10cd02)=>_0x3a3279&&_0x10cd02),this['revisionActionsView']=_0x637a0&&_0x637a0['length']?ni(this,_0x637a0):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x37b5b0['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x37b5b0['if']('isEnabled','ck-disabled',_0x3c7084=>!_0x3c7084),_0x37b5b0['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x37b5b0['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x37b5b0['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':_0x37b5b0['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':_0x25d1b4}]},this['revisionActionsView']],'on':{'click':_0x37b5b0['to'](_0xfc1c38=>{_0xfc1c38['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x23930e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x23930e,'change',()=>{this['_requireRevisionName']&&!_0x23930e['value']||this['fire']('setName',{'id':this['id'],'name':_0x23930e['value']}),_0x23930e['value']||(_0x23930e['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(_0x465dcd,_0x115f91){const _0x3b19d5=_0x30cc6b['fromJSDate'](_0x465dcd)['setLocale'](_0x115f91),_0x443b06=_0x30cc6b['local'](),_0x99fce3=_0x443b06['minus']({'days':0x1})['startOf']('day');let _0x22123b,_0x442869;return _0x3b19d5['hasSame'](_0x443b06,'day')?(_0x22123b=_0x3b19d5['startOf']('day')['toJSDate'](),_0x442869=_0x3b19d5['toRelativeCalendar']()):_0x3b19d5['hasSame'](_0x99fce3,'day')?(_0x22123b=_0x99fce3['toJSDate'](),_0x442869=_0x3b19d5['toRelativeCalendar']()):_0x3b19d5['hasSame'](_0x443b06,'week')?(_0x22123b=_0x3b19d5['startOf']('week')['toJSDate'](),_0x442869=_0x3b19d5['weekdayLong']||''):_0x3b19d5['hasSame'](_0x443b06,'year')?(_0x22123b=_0x3b19d5['startOf']('month')['toJSDate'](),_0x442869=_0x3b19d5['monthLong']||''):(_0x22123b=_0x3b19d5['startOf']('year')['toJSDate'](),_0x442869=String(_0x3b19d5['year'])),{'startDate':_0x22123b,'localizedPeriodName':_0x442869};}class vi extends _0x46510e{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0xe69e19,_0x2577fb,_0x20f522,_0x2a351a){super(_0xe69e19);const _0x262d27=mi(_0x2577fb,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2577fb,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x20f522,this['_requireRevisionName']=_0x2a351a,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':_0x262d27}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3e55f0){const _0x416d2c=new ai(this['locale'],_0x3e55f0,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x416d2c);}['removeRevision'](_0x5c4d2c){const _0x14c2a6=this['revisionViews']['find'](_0x5cf35e=>_0x5cf35e['id']===_0x5c4d2c['id']);this['revisionViews']['remove'](_0x14c2a6);}}class as extends _0x46510e{constructor(_0x15c892){super(_0x15c892);const _0x41f309=new _0x5585ee();_0x41f309['content']=_0x5c6115['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x41f309,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x15c892,'Revision\x20history')]}]});}}class li extends _0x46510e{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x49fe1d,_0x71f6d0,_0x4c23f4,_0x25a308){super(_0x49fe1d);const _0x3ae938=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x71f6d0,this['_revisionActions']=_0x4c23f4,this['_requireRevisionName']=_0x25a308,this['on']('select',(_0x1c61fa,_0x3f75af)=>{this['fire']('revisionSelected',_0x3f75af);}),this['on']('setName',(_0x328ae7,_0x563e15)=>{this['fire']('revisionSetName',_0x563e15);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x49fe1d),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3ae938['if']('isEnabled','ck-disabled',_0x54a374=>!_0x54a374)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x307ca8 of this['_revisions'])this['_addRevision'](_0x307ca8);this['_revisions']['on']('add',(_0x4875c1,_0x4548a7)=>{this['_addRevision'](_0x4548a7);}),this['_revisions']['on']('remove',(_0x50bba3,_0x31f331)=>{this['_removeRevision'](_0x31f331);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x445895=>_0x445895['revisionViews']['map'](_0x3ce617=>_0x3ce617))['flat']();}['selectRevision'](_0x2f0ef2){for(const _0x1fb81f of this['revisionViews'])_0x2f0ef2&&_0x2f0ef2['id']===_0x1fb81f['id']?_0x1fb81f['select']():_0x1fb81f['deselect']();}['highlightRevisions'](_0x23890d){for(const _0x49a1d6 of this['revisionViews'])_0x23890d['some'](({id:_0x44d9cd})=>_0x44d9cd===_0x49a1d6['id'])?_0x49a1d6['highlight']():_0x49a1d6['unhighlight']();}['_addRevision'](_0x4b4a78){const _0x3c07e4=mi(_0x4b4a78['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x56bdad=this['timePeriodViews']['get'](0x0);_0x56bdad&&_0x56bdad['startDate']['getTime']()===_0x3c07e4['getTime']()||(_0x56bdad=new vi(this['locale'],_0x3c07e4,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x56bdad)),_0x56bdad['addRevision'](_0x4b4a78);}['_removeRevision'](_0x1e6710){const _0x42295d=mi(_0x1e6710['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x42295d)['removeRevision'](_0x1e6710);}['_getTimePeriodViewByStartDate'](_0x2616b2){return this['timePeriodViews']['find'](_0x532145=>_0x532145['startDate']['getTime']()===_0x2616b2['getTime']());}}class w extends _0x19e2a4{['_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(_0x42486b){super(_0x42486b),this['_revisionViewer']=_0x42486b['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3cd28c=this['_revisionsRepository']['_revisions'],_0x594e06=this['_createRevisionActions'](),_0x1a37eb=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new li(this['editor']['locale'],_0x3cd28c,_0x594e06,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',(_0x579a99,_0x1b7b27)=>{_0x1b7b27['revisionViews']['on']('add',(_0x2dc85f,_0x10bb14)=>{_0x10bb14['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)),_0x1a37eb['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1ad167=this['_revisionsRepository']['getRevision'](0x0);if(_0x1ad167){const _0x8a7e9=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1ad167['id']);this['_revisionViewer']['compare'](_0x1ad167,_0x8a7e9);}}['_handleRevisionSelected'](_0x24a5c2,_0x4b48e0){const _0x51879a=this['_revisionsRepository']['getRevision'](_0x4b48e0['id']),_0x4e4c77=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x51879a['id']);this['_revisionViewer']['compare'](_0x51879a,_0x4e4c77);}['_handleRevisionSetName'](_0x4600f1,_0x4e7043){this['_revisionsRepository']['getRevision'](_0x4e7043['id'])['setName'](_0x4e7043['name']);}['_handleDiffChange'](_0x30ef6d,_0x257c2c,_0x15089d){const _0x4594f3=this['_revisionsRepository']['getRevisionsInDiff'](_0x15089d);_0x4594f3['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x4594f3),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x4594f3[0x0]));}['_createRevisionActions'](){const _0x4e4f37=this['editor'],_0x511565=w['availableRevisionActions'],_0x44a33b=_0x4e4f37['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x44a33b['length'])return _0x44a33b['map'](_0xb8713a=>{const _0x186340='string'==typeof _0xb8713a?Object['assign']({},_0x511565[_0xb8713a]):_0xb8713a;return _0x186340['action']=_0x186340['action']['bind'](this,_0x4e4f37),_0x186340['isVisible']&&(_0x186340['isVisible']=_0x186340['isVisible']['bind'](this,_0x4e4f37)),_0x186340;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x73aeb3},_0x5f08db)=>{const _0x32d2e7=_0x73aeb3['get'](d),_0x175c20=_0x32d2e7['repository'];let _0x5e5137=_0x32d2e7['diff']['newRevisionId'],_0x2ecea3=_0x5f08db['id'];_0x175c20['getIndex'](_0x5e5137)>_0x175c20['getIndex'](_0x2ecea3)&&([_0x5e5137,_0x2ecea3]=[_0x2ecea3,_0x5e5137]),_0x32d2e7['compare'](_0x5e5137,_0x2ecea3);},'isVisible':({plugins:_0xc5e156},_0x26f5a9)=>{const _0x29c16d=_0xc5e156['get'](d);return!(_0x29c16d['repository']['getRevisionsInDiff'](_0x29c16d['diff'])['length']>0x2)&&!_0x26f5a9['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x3015fe,{id:_0x2ad288})=>{_0x3015fe['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2ad288);},'isVisible':({plugins:_0x21024a},_0x289de6)=>!!_0x21024a['get'](d)['repository']['getLaterVisibleRevision'](_0x289de6['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1ee865},{id:_0x2270ab,revisionNameView:_0x395cbf})=>{const _0x2aef15=_0x1ee865['get'](d),_0x32874e=_0x2aef15['repository']['getEarlierVisibleRevision'](_0x2270ab);_0x2aef15['compare'](_0x2270ab,_0x32874e),_0x395cbf['focus'](),_0x395cbf['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x459e43,_0x731dd6){super(_0x459e43),this['_view']=_0x731dd6,this['_toolbarConfig']=ct(_0x459e43['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x525a56){const _0x3bbfb6=this['editor'],_0x459bbd=this['view'],_0x5130fd=_0x3bbfb6['editing']['view'],_0x2b2655=_0x459bbd['editable'],_0xd37f74=_0x5130fd['document']['getRoot']();_0x2b2655['name']=_0xd37f74['rootName'],_0x459bbd['render']();const _0x469486=_0x2b2655['element'];this['setEditableElement'](_0x2b2655['name'],_0x469486),_0x459bbd['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x5130fd['attachDomRoot'](_0x469486),this['_elementReplacer']['replace'](_0x525a56,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x577229=this['view'],_0x39ae58=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x39ae58['detachDomRoot'](_0x577229['editable']['name']),_0x577229['destroy']();}['_initToolbar'](){const _0x12f9eb=this['view'];_0x12f9eb['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x12f9eb['stickyPanel']['limiterElement']=_0x12f9eb['element'],_0x12f9eb['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x50053f})=>_0x50053f),_0x12f9eb['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x12f9eb['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1c491a,_0x511433,_0x3a678d={}){super(_0x1c491a),this['stickyPanel']=new lt(_0x1c491a),this['toolbar']=new pt(_0x1c491a,{'shouldGroupWhenFull':_0x3a678d['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1c491a,_0x511433);}['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(_0x15b34c,_0x249ec3){super(_0x249ec3),this['sourceElement']=_0x15b34c,this['model']['document']['createRoot']();const _0x1990af=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x1990af);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4fd441,_0x45eb54){const _0x41cf25=new this(_0x4fd441,_0x45eb54);return await _0x41cf25['initPlugins'](),await _0x41cf25['ui']['init'](_0x4fd441),await _0x41cf25['data']['init'](_0x41cf25['config']['get']('initialData')||''),_0x41cf25['fire']('ready'),_0x41cf25;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x19e2a4{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x576856){super(_0x576856),this['result']='end';}}class H extends _0x19e2a4{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x30c21f){if(super(_0x30c21f),!this['editor']['config']['get']('revisionHistory'))throw new _0x4d009a('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2d1691=>this['_showRevisionViewer']({..._0x2d1691,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x4a3fa2=>this['_closeRevisionViewer'](_0x4a3fa2)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2f2e64=>this['_restoreRevision'](_0x2f2e64)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x54daa6){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x54daa6;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3a3ef9){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3a3ef9);}['getRevision'](_0x390677){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x390677);}['getRevisions'](_0x212c25){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x212c25||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x4f05c5=this['editor'],_0x26b3b3=_0x18b2c1(_0x4f05c5,p),_0x21021b=_0x4f05c5['plugins']['get']('RevisionTracker'),_0x5a1970=_0x4f05c5['plugins']['get']('Users')['users'];return _0x26b3b3['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x26b3b3['lazyRoots'],(_0x26b3b3['plugins']['push'](k,d,R,class extends _0x19e2a4{static get['requires'](){return[d,'Users'];}['init'](){const _0x2fa174=this['editor']['plugins']['get']('Users');for(const _0x310c44 of _0x5a1970)_0x310c44['isAnonymous']||_0x2fa174['getUser'](_0x310c44['id'])||_0x2fa174['addUser'](_0x310c44);const _0x4dfb07=_0x21021b['repository']['getRevisions']();let _0x5086ee=null;const _0x46b99d=this['editor']['plugins']['get']('RevisionViewer');_0x46b99d['adapter']=_0x21021b['adapter'],_0x46b99d['bind']('isEnabled')['to'](_0x21021b),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4f05c5,'isReadOnly',_0x3a9720=>!_0x3a9720);for(const _0x2c8b44 of _0x4dfb07){const _0x240ba4=null===_0x2c8b44['creator'];if(_0x240ba4&&_0x2c8b44['toVersion']===_0x2c8b44['fromVersion'])continue;const _0x45252=_0x2c8b44['toJSON']();_0x46b99d['addRevisionData'](_0x45252,(_0x5898a3,_0xfe8104,_0x1d042e)=>{if(_0x240ba4){if(_0x5086ee)_0x5086ee['_update'](_0x5898a3,_0xfe8104);else{if(!_0xfe8104){const _0x3af815=_0x1d042e['toJSON']();_0x3af815['id']=_0x2a5db2(),_0x21021b['saveRevision'](_0x3af815,_0x1d042e['toVersion'])['then'](_0x4cbd87=>{_0x5086ee=_0x4cbd87;});}}}else _0x2c8b44['_update'](_0x5898a3,_0xfe8104);});}}},w),_0x26b3b3);}['_enhanceShowRevisionViewerCallback'](){const _0x6fdd19=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0xd4bc30=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4fa71f=this['editor']['plugins']['get']('Autosave');await _0x4fa71f['save']();}else await _0xd4bc30['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x21b86a=this['editor']['plugins']['get']('Dialog');_0x21b86a['isOpen']&&_0x21b86a['hide']();}const _0xa71165=this['_getRevisionViewerEditorConfig']();return _0x6fdd19(_0xa71165)['then'](_0x546f34=>{return(this['_viewerEditor']=_0x546f34,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x546f34;})['catch'](_0x21290d=>(console['error'](_0x21290d),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x272901=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'](),_0x272901(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5e1ec5=this['editor']['plugins']['get']('Annotations');_0x5e1ec5['refreshVisibility'](),_0x5e1ec5['refreshPositioning']();}})));}['_showRevisionViewer'](_0x567843){const _0x1bd89a=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x1c5408=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4f0b6f=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x4f0b6f,_0x567843)['then'](_0xb4f7a8=>(_0x1c5408['style']['display']='block',_0x1bd89a['style']['display']='none',_0xb4f7a8));}['_closeRevisionViewer'](_0x1d1a6f){const _0x252229=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x252229['style']['display']='',_0x1d1a6f['destroy']();}async['_restoreRevision'](_0x20f005){const _0x4a7844=this['editor'],_0x1fece6=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x10d3f8=_0x4a7844['plugins']['get']('RevisionTracker'),_0x1df6f5=_0x1fece6['repository']['getRevision'](_0x20f005);let _0x14b21f,_0x5e754b,_0x5d74ce;try{_0x14b21f=await _0x1fece6['getRevisionData'](_0x1df6f5),_0x5e754b=await _0x1fece6['getRevisionRootsAttributes'](_0x1df6f5);}catch(_0x1482f6){return void console['error'](_0x1482f6);}_0x4a7844['model']['change'](_0x3c75f5=>{for(const _0x385036 of Array['from'](_0x4a7844['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3c75f5['removeMarker'](_0x385036);}),_0x1fece6['isReady']=!0x1,_0x4a7844['model']['enqueueChange'](_0x34384c=>{_0x34384c['setSelection'](null),_0x34384c['removeSelectionAttribute'](_0x4a7844['model']['document']['selection']['getAttributeKeys']());const _0x25e07b=Object['keys'](_0x14b21f);for(const _0x254e9a of _0x4a7844['model']['document']['roots'])'$graveyard'!=_0x254e9a['rootName']&&_0x254e9a['isAttached']()&&!_0x25e07b['includes'](_0x254e9a['rootName'])&&_0x34384c['detachRoot'](_0x254e9a);for(const _0x1dbf96 of _0x25e07b){let _0x5ef422=_0x4a7844['model']['document']['getRoot'](_0x1dbf96);_0x5ef422&&_0x5ef422['isAttached']()||(_0x5ef422=_0x34384c['addRoot'](_0x1dbf96));const _0x1105e4=_0x5e754b[_0x1dbf96],_0x5b1ea8=Object['keys'](_0x1105e4),_0x1b92ed=_0x14b21f[_0x1dbf96];for(const _0x178c0c of _0x5ef422['getAttributeKeys']())_0x5b1ea8['includes'](_0x178c0c)||_0x34384c['removeAttribute'](_0x178c0c,_0x5ef422);for(const _0x42c63b of _0x5b1ea8)_0x34384c['setAttribute'](_0x42c63b,_0x5e754b[_0x1dbf96][_0x42c63b],_0x5ef422);_0x34384c['remove'](_0x34384c['createRangeIn'](_0x5ef422)),_0x34384c['insert'](_0x4a7844['data']['parse'](_0x1b92ed,_0x5ef422),_0x5ef422,0x0);}});const _0xbeab3a=y(_0x4a7844['locale'],'Restored');if(_0x1df6f5['name'])_0x5d74ce=-0x1==_0x1df6f5['name']['indexOf'](_0xbeab3a)?_0xbeab3a+':\x20'+_0x1df6f5['name']:_0x1df6f5['name'];else _0x5d74ce=_0xbeab3a+':\x20'+(_0x1df6f5['createdAt']['toLocaleDateString'](_0x4a7844['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1df6f5['createdAt']['toLocaleTimeString'](_0x4a7844['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x10d3f8['saveRevision']({'name':_0x5d74ce}),_0x1fece6['isReady']=!0x0,_0x4a7844['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{a as Revision,H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,ae 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};