@ckeditor/ckeditor5-revision-history 42.0.2-alpha.1 → 42.0.2

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 (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +8 -8
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. 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{Plugin as _0x4af4d9,Context as _0x2d3302,PendingActions as _0x2267a2,icons as _0x4bb43c,Command as _0x54c1d2,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x47c9ca,uid as _0x5d94f2,Collection as _0x31f8d0,logWarning as _0x653ebd,FocusTracker as _0x5578c3,KeystrokeHandler as _0x2eb83d,scrollViewportToShowTarget as _0x598b43,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x580401}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x207d34,getMarkerDomElement as _0x2c2b59,ConfirmMixin as _0x44eaf7,sanitizeEditorConfig as _0xf72993}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x39c1a8,ViewText as _0x20a804,ViewElement as _0x396ff4,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x478035,ViewAttributeElement as _0x3db0b0,ViewEmptyElement as _0x16cb9c,ViewRawElement as _0x2e2ffc,ViewUIElement as _0x5a4480,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x8c2e07,set as _0x1b232c,unset as _0x2d7eb9,isEqual as _0xe197a}from'lodash-es';import{View as _0x27f285,injectCssTransitionDisabler as ts,submitHandler as _0x492e50,LabeledFieldView as at,createLabeledInputText as _0x6040d5,createDropdown as _0x3ca785,ListView as te,ListItemView as _0x1f67f6,ButtonView as _0x3763ae,MenuBarMenuView as _0x2e9e1d,MenuBarMenuListView as _0x391afc,MenuBarMenuListItemView as _0x1d9a6f,MenuBarMenuListItemButtonView as _0x1e5685,ContextualBalloon as _0x580916,ToolbarSeparatorView as _0x4a8786,IconView as _0x1153e0,addListToDropdown as _0x327f33,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 _0x499192}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x47c9ca(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x42eef1){super(),this['id']=_0x42eef1['id']||_0x5d94f2(),this['creator']=_0x42eef1['creator']||null,this['authors']=_0x42eef1['authors']||[],this['diffData']=_0x42eef1['diffData']||null,this['toVersion']=_0x42eef1['toVersion']||0x0,this['fromVersion']=_0x42eef1['fromVersion']||0x0,this['set']('name',_0x42eef1['name']||''),this['set']('createdAt',_0x42eef1['createdAt']||new Date()),this['set']('attributes',_0x42eef1['attributes']||{});}['setName'](_0x108181){this['_update']({'name':_0x108181});}['setAttribute'](_0x11ba17,_0xf99f53){const _0x10e6e5=_0x8c2e07(this['attributes']);_0x1b232c(_0x10e6e5,_0x11ba17,_0xf99f53),this['_update']({'attributes':_0x10e6e5});}['removeAttribute'](_0x1b0ce9){const _0x169dc5=_0x8c2e07(this['attributes']);_0x2d7eb9(_0x169dc5,_0x1b0ce9),this['_update']({'attributes':_0x169dc5});}['_update'](_0x247918,_0x372c54=!0x1){let _0x32629f=!0x1;const _0xf59d17={'id':this['id']},_0x3170d8=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x55ff48 of _0x3170d8){const _0x2d9b4c=_0x247918[_0x55ff48];void 0x0!==_0x2d9b4c&&_0x2d9b4c!==this[_0x55ff48]&&(this[_0x55ff48]=_0x2d9b4c,_0xf59d17[_0x55ff48]=_0x2d9b4c,_0x32629f=!0x0);}_0x32629f&&(_0xf59d17['authors']&&(_0xf59d17['authorsIds']=_0xf59d17['authors']['map'](_0x46fb20=>_0x46fb20['id']),delete _0xf59d17['authors']),this['fire']('_update',_0xf59d17,_0x372c54));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x14e9a7=>_0x14e9a7['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x4af4d9{['_revisions'];static get['requires'](){return[_0x207d34];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4a3e33){super(_0x4a3e33),this['_revisions']=new _0x31f8d0();}['afterInit'](){!function(_0x49d2c3){function _0x5def87(_0x45908c,_0x4aed98,_0x2eae97){const _0x218c03={};_0x218c03[_0x15a891([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x218c03[_0x15a891([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],_0x218c03[_0x15a891([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],_0x218c03[_0x15a891([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],_0x218c03[_0x15a891([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],_0x218c03[_0x15a891([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],_0x218c03[_0x15a891([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],_0x218c03[_0x15a891([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],_0x218c03[_0x15a891([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],_0x218c03[_0x15a891([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],_0x218c03[_0x15a891([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 _0x51c9c7=new Uint8Array(0x10);for(let _0x2b45d7=0xf;_0x2b45d7>=0x0;--_0x2b45d7)_0x51c9c7[_0x2b45d7]=_0x2eae97%0x100,_0x2eae97=parseInt(_0x2eae97/0x100);let _0x3f5e44=null,_0x366ff5=0x10;const _0x2c1f3e=new Uint8Array(_0x4aed98),_0x241c21=[],_0x272ee0=[];_0x2b7743();for(let _0x38c51c=0x0;_0x38c51c<_0x45908c[_0x15a891([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38c51c++)0x10===_0x366ff5&&(_0x3f5e44=_0x504084(_0x51c9c7),_0x366ff5=0x0,_0x43a62a(_0x51c9c7)),_0x45908c[_0x38c51c]^=_0x3f5e44[_0x366ff5++];return _0x45908c;function _0xf5cbc3(_0x2791e){const _0x6ff538=[];for(let _0x4778c4=0x0;_0x4778c4<_0x2791e[_0x15a891([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4778c4+=0x4)_0x6ff538[_0x15a891([0x70,0x75,0x73,0x68])](_0x2791e[_0x4778c4]<<0x18|_0x2791e[_0x4778c4+0x1]<<0x10|_0x2791e[_0x4778c4+0x2]<<0x8|_0x2791e[_0x4778c4+0x3]);return _0x6ff538;}function _0x43a62a(_0x55db8f){for(let _0x11a778=0xf;_0x11a778>=0x0;_0x11a778--){if(0xff!==_0x55db8f[_0x11a778]){_0x55db8f[_0x11a778]++;break;}_0x55db8f[_0x11a778]=0x0;}}function _0x504084(_0x3ec527){const _0x464d53=_0x241c21[_0x15a891([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x16bd2d=[0x0,0x0,0x0,0x0];let t=_0xf5cbc3(_0x3ec527);for(let _0x9ff7fb=0x0;_0x9ff7fb<0x4;_0x9ff7fb++)t[_0x9ff7fb]^=_0x241c21[0x0][_0x9ff7fb];for(let _0x2f2b4c=0x1;_0x2f2b4c<_0x464d53;_0x2f2b4c++){for(let _0x44b804=0x0;_0x44b804<0x4;_0x44b804++)_0x16bd2d[_0x44b804]=_0x218c03[_0x15a891([0x54,0x31])][t[_0x44b804]>>0x18&0xff]^_0x218c03[_0x15a891([0x54,0x32])][t[(_0x44b804+0x1)%0x4]>>0x10&0xff]^_0x218c03[_0x15a891([0x54,0x33])][t[(_0x44b804+0x2)%0x4]>>0x8&0xff]^_0x218c03[_0x15a891([0x54,0x34])][0xff&t[(_0x44b804+0x3)%0x4]]^_0x241c21[_0x2f2b4c][_0x44b804];t=_0x16bd2d[_0x15a891([0x73,0x6c,0x69,0x63,0x65])]();}const _0x256b08=new Uint8Array(0x10);let _0x2fc313;for(let _0x1d872f=0x0;_0x1d872f<0x4;_0x1d872f++)_0x2fc313=_0x241c21[_0x464d53][_0x1d872f],_0x256b08[0x4*_0x1d872f]=0xff&(_0x218c03[_0x15a891([0x53])][t[_0x1d872f]>>0x18&0xff]^_0x2fc313>>0x18),_0x256b08[0x4*_0x1d872f+0x1]=0xff&(_0x218c03[_0x15a891([0x53])][t[(_0x1d872f+0x1)%0x4]>>0x10&0xff]^_0x2fc313>>0x10),_0x256b08[0x4*_0x1d872f+0x2]=0xff&(_0x218c03[_0x15a891([0x53])][t[(_0x1d872f+0x2)%0x4]>>0x8&0xff]^_0x2fc313>>0x8),_0x256b08[0x4*_0x1d872f+0x3]=0xff&(_0x218c03[_0x15a891([0x53])][0xff&t[(_0x1d872f+0x3)%0x4]]^_0x2fc313);return _0x256b08;}function _0x2b7743(){const _0x5d8f80=_0x218c03[_0x15a891([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x2c1f3e[_0x15a891([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x374b97=0x0;_0x374b97<=_0x5d8f80;_0x374b97++)_0x241c21[_0x15a891([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x272ee0[_0x15a891([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x468a25=0x4*(_0x5d8f80+0x1),_0x39af0f=_0x2c1f3e[_0x15a891([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x35f235=_0xf5cbc3(_0x2c1f3e);let _0x3475f4;for(let _0x5a4b26=0x0;_0x5a4b26<_0x39af0f;_0x5a4b26++)_0x3475f4=_0x5a4b26>>0x2,_0x241c21[_0x3475f4][_0x5a4b26%0x4]=_0x35f235[_0x5a4b26],_0x272ee0[_0x5d8f80-_0x3475f4][_0x5a4b26%0x4]=_0x35f235[_0x5a4b26];let _0x1382c6,_0x496034=0x0,t=_0x39af0f;for(;t<_0x468a25;){_0x1382c6=_0x35f235[_0x39af0f-0x1],_0x35f235[0x0]^=_0x218c03[_0x15a891([0x53])][_0x1382c6>>0x10&0xff]<<0x18^_0x218c03[_0x15a891([0x53])][_0x1382c6>>0x8&0xff]<<0x10^_0x218c03[_0x15a891([0x53])][0xff&_0x1382c6]<<0x8^_0x218c03[_0x15a891([0x53])][_0x1382c6>>0x18&0xff]^_0x218c03[_0x15a891([0x72,0x63,0x6f,0x6e])][_0x496034]<<0x18,_0x496034+=0x1;for(let _0x302b60=0x1;_0x302b60<_0x39af0f/0x2;_0x302b60++)_0x35f235[_0x302b60]^=_0x35f235[_0x302b60-0x1];_0x1382c6=_0x35f235[_0x39af0f/0x2-0x1],_0x35f235[_0x39af0f/0x2]^=_0x218c03[_0x15a891([0x53])][0xff&_0x1382c6]^_0x218c03[_0x15a891([0x53])][_0x1382c6>>0x8&0xff]<<0x8^_0x218c03[_0x15a891([0x53])][_0x1382c6>>0x10&0xff]<<0x10^_0x218c03[_0x15a891([0x53])][_0x1382c6>>0x18&0xff]<<0x18;for(let _0x301ecb=_0x39af0f/0x2+0x1;_0x301ecb<_0x39af0f;_0x301ecb++)_0x35f235[_0x301ecb]^=_0x35f235[_0x301ecb-0x1];let _0x244348,_0x5c123c,_0x4f7e08=0x0;for(;_0x4f7e08<_0x39af0f&&t<_0x468a25;)_0x244348=t>>0x2,_0x5c123c=t%0x4,_0x241c21[_0x244348][_0x5c123c]=_0x35f235[_0x4f7e08],_0x272ee0[_0x5d8f80-_0x244348][_0x5c123c]=_0x35f235[_0x4f7e08++],t++;}for(let _0x38a47a=0x1;_0x38a47a<_0x5d8f80;_0x38a47a++)for(let _0x4e2246=0x0;_0x4e2246<0x4;_0x4e2246++)_0x1382c6=_0x272ee0[_0x38a47a][_0x4e2246],_0x272ee0[_0x38a47a][_0x4e2246]=_0x218c03[_0x15a891([0x55,0x31])][_0x1382c6>>0x18&0xff]^_0x218c03[_0x15a891([0x55,0x32])][_0x1382c6>>0x10&0xff]^_0x218c03[_0x15a891([0x55,0x33])][_0x1382c6>>0x8&0xff]^_0x218c03[_0x15a891([0x55,0x34])][0xff&_0x1382c6];}}function _0x15a891(_0x5f6fa7){return _0x5f6fa7['map'](_0x53b49c=>String['fromCharCode'](_0x53b49c))['join']('');}(_0x49e719=>{function _0x3fcc5e(){const _0x12f114=[{[_0x15a891([0x69,0x64])]:0x1,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x15a891([0x69,0x64])]:0x2,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([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]),[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x15a891([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x15a891([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x15a891([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x15a891([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x15a891([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x15a891([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x15a891([0x69,0x64])]:0x3,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x15a891([0x69,0x64])]:0x4,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([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]),[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x15a891([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x15a891([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x15a891([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x15a891([0x69,0x64])]:0x5,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([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]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x15a891([0x66,0x67,0x69])]:[0xc]}},{[_0x15a891([0x69,0x64])]:0x6,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x15a891([0x66,0x67,0x69])]:[0xc]}},{[_0x15a891([0x69,0x64])]:0x7,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x15a891([0x66,0x67,0x69])]:[0xc]}},{[_0x15a891([0x69,0x64])]:0x8,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([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]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x15a891([0x66,0x67,0x69])]:[0xc]}},{[_0x15a891([0x69,0x64])]:0x9,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x15a891([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x15a891([0x69,0x64])]:0xa,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([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]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([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]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([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]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x15a891([0x66,0x67,0x69])]:[0xc]}},{[_0x15a891([0x69,0x64])]:0xb,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x15a891([0x69,0x64])]:0xc,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x15a891([0x69,0x64])]:0xd,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x15a891([0x66,0x67,0x69])]:[0xc]}},{[_0x15a891([0x69,0x64])]:0xe,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x15a891([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([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])},{[_0x15a891([0x69,0x64])]:0xf,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x15a891([0x69,0x64])]:0x10,[_0x15a891([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x15a891([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x15a891([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x15a891([0x66,0x67,0x69])]:[0xc]}}];return _0x15c984(_0x12f114),_0x12f114;function _0x166f52(_0x3b6a2b){return 0x1<<_0x3b6a2b-0x1;}function _0x15c984(_0x3c7cfb){_0x3c7cfb[_0x15a891([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5733e5=>{_0x5733e5[_0x15a891([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x166f52(_0x5733e5[_0x15a891([0x69,0x64])]),_0x1c7449(_0x5733e5)&&_0x5733e5[_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x15c984(_0x5733e5[_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1c7449(_0x54f93c){return _0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x54f93c;}const _0x6148a8=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x496920=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x14e871(_0x56eb7d){const _0x491796=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x53aabf(_0x56eb7d,new Uint8Array([..._0x6148a8,..._0x491796,..._0x496920]));}function _0x53aabf(_0x3629ff,_0x7fcf85){const _0x44a2dc=_0xd52a12(_0x3629ff),_0x15161f=Array[_0x15a891([0x66,0x72,0x6f,0x6d])](_0x2ff115(_0x44a2dc)),_0x24ddb2=_0x15161f[_0x15a891([0x70,0x6f,0x70])](),_0x9fbe13=_0x15161f[_0x15a891([0x70,0x6f,0x70])]();return _0x7e607e(_0x5def87(_0x15161f,_0x7fcf85,_0x9fbe13+0x100*_0x24ddb2));}function _0xd52a12(_0x4b7934){const _0x26bbc3=atob(_0x4b7934),[_0x21efd3,_0x56774d]=_0x26bbc3[_0x15a891([0x73,0x70,0x6c,0x69,0x74])](_0x15a891([0x2d]));try{if(atob(_0x56774d))return atob(_0x21efd3);}catch(_0x24f9fd){}return _0x26bbc3;}function _0x111312(_0x3c5310){try{const _0xc8361f=_0x14e871(_0x3c5310),_0x3c49a6=JSON[_0x15a891([0x70,0x61,0x72,0x73,0x65])](_0xc8361f),_0x3b7222=parseInt(_0x3c49a6[_0x15a891([0x31])]),_0x568f94=_0x3c49a6[_0x15a891([0x32])]||'',_0x22153d=parseInt(_0x3c49a6[_0x15a891([0x33])]),_0xc4cb31=parseInt(_0x3c49a6[_0x15a891([0x34])])||0x0,_0x1998f1=parseInt(_0x3c49a6[_0x15a891([0x35])])||0x0;return{[_0x15a891([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x568f94,[_0x15a891([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0xc4cb31,[_0x15a891([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3b7222,[_0x15a891([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x22153d,[_0x15a891([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1998f1};}catch(_0x266c7f){return null;}}const _0x494710=_0x3fcc5e(),_0x5aa90f={[_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x16bdc4,[_0x15a891([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])]:_0x1859e9,[_0x15a891([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])]:_0x1f4646},_0x22862b=_0x49e719[_0x15a891([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3ef4b4=_0x15a891([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x49e719?_0x49e719['context']:_0x49e719['editor'],_0x21e426=_0x15a891([0x34,0x30,0x34,0x38,0x31,0x34,0x34,0x38]),_0x1a6e55=_0x15a891([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]),_0xf92bb3=_0x3ef4b4['config']['get'](_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x54c13a=_0x494710[_0x15a891([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c7449)[_0x15a891([0x66,0x69,0x6e,0x64])](_0x5f48e1=>_0x5f48e1[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x22862b);function _0x118565(_0x3d132e,_0x31e629){_0x5aa90f[_0x31e629[_0x15a891([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x3d132e,_0x31e629),_0x31e629[_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x31e629[_0x15a891([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x15a891([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x310850=>_0x145dc6(_0x3ef4b4,_0x310850[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x15a891([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x443f00=>_0x118565(_0x3d132e,_0x443f00));}function _0x16bdc4(_0x8cd1c6,_0x320c90){_0x1b42f8(_0x2ec540(_0x8cd1c6,_0x320c90),_0x320c90);}function _0x1859e9(_0x3dfc05,_0x53eab7){function _0x23b7bc(_0x15e590,_0x4a1751){try{if(_0x145dc6(_0x3ef4b4,_0x15a891([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x15e590){const _0x529d92=_0x1da99c(_0x3ef4b4,_0x15a891([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x15a891([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x529d92)/0x2>_0x15e590[_0x15a891([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x408e95(_0x4a1751[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2ec540(_0x15e590,_0x4a1751);}catch(_0x336cee){return _0x408e95(_0x4a1751[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1b42f8(_0x23b7bc(_0x3dfc05,_0x53eab7),_0x53eab7);}function _0x1f4646(_0x4eee19,_0x3e4720){const _0x442faa=_0x496920[0x0]*_0x6148a8[0x1],_0x3cb440=_0x496920[0x0]*_0x6148a8[0x2],_0x19ad37=_0x496920[0x2]*_0x6148a8[0x2];_0x145dc6(_0x3ef4b4,_0x15a891([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1da99c(_0x3ef4b4,_0x15a891([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x15a891([0x73,0x74,0x61,0x74,0x65])]==_0x15a891([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x4c2e07()]=_0x19ad37);function _0x259b96(_0x10fc43,_0x71984d){try{return _0x26e545()?_0x408e95(_0x71984d[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x56,0x61,0x6c,0x69,0x64])):_0x2ec540(_0x10fc43,_0x71984d);}catch(_0x52c79e){return _0x408e95(_0x71984d[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x33b024(_0x13564d,_0x8dc750){const _0x58bf76=0x7;if(_0x13564d==_0x8dc750[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3cea75();else{if(_0x13564d==_0x8dc750[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x54,0x72,0x69,0x61,0x6c])){const _0x1f4712=_0x2a3510();_0x1f4712&&_0x313ad1(_0x1f4712,_0x8dc750[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x42fe93=_0x1a4f66();window[_0x15a891([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x313ad1(_0x15a891([0x74,0x69,0x6d,0x65]),_0x8dc750[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x42fe93);const _0x3f3ef0=_0x1da99c(_0x3ef4b4,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x15a891([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3f3ef0[_0x15a891([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x58bf76?_0x313ad1(_0x15a891([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x8dc750[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3f3ef0['on'](_0x15a891([0x61,0x64,0x64]),()=>{_0x3f3ef0[_0x15a891([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x58bf76&&_0x313ad1(_0x15a891([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x8dc750[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2a3510(){if(!_0x145dc6(_0x3ef4b4,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3ab04d in window)if(Number['isNaN'](Number(_0x3ab04d))){if(window[_0x3ab04d]===_0x442faa)return _0x15a891([0x74,0x69,0x6d,0x65]);if(window[_0x3ab04d]===_0x3cb440)return _0x15a891([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x26e545(){if(!_0x145dc6(_0x3ef4b4,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4fb0fd in window)if(Number['isNaN'](Number(_0x4fb0fd))&&window[_0x4fb0fd]===_0x19ad37)return!0x0;return!0x1;}function _0x313ad1(_0x321dfd,_0x59dc1f){_0x3cea75(),_0x408e95(_0x59dc1f+_0x15a891([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x321dfd),window[_0x4c2e07()]=_0x321dfd===_0x15a891([0x74,0x69,0x6d,0x65])?_0x442faa:_0x3cb440;}function _0x1a4f66(){let _0x216504=_0x496920[0x6]*_0x6148a8[0x8]*_0x6148a8[0x6];return _0x145dc6(_0x3ef4b4,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x216504/=0xa),_0x216504;}function _0x3cea75(){const _0x27fe11=_0x3ef4b4;function _0x348da1(){_0x145dc6(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1da99c(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x15a891([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x15a891([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1da99c(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x15a891([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1da99c(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x15a891([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xa1717a,_0x1da99c(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x15a891([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xa1717a,_0x27fe11[_0x15a891([0x6d,0x6f,0x64,0x65,0x6c])][_0x15a891([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa1717a,_0x27fe11[_0x15a891([0x6d,0x6f,0x64,0x65,0x6c])][_0x15a891([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa1717a,_0x27fe11[_0x15a891([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15a891([0x6d,0x6f,0x64,0x65,0x6c]))),_0x145dc6(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1da99c(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x15a891([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x15a891([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1da99c(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x15a891([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1da99c(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x15a891([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xa1717a,_0x1da99c(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x15a891([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xa1717a);}_0x27fe11[_0x15a891([0x73,0x74,0x61,0x74,0x65])]==_0x15a891([0x72,0x65,0x61,0x64,0x79])?_0x348da1():_0x27fe11[_0x15a891([0x6f,0x6e,0x63,0x65])](_0x15a891([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x145dc6(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x348da1(),_0x145dc6(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x38e50c=_0x1da99c(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4d7835=_0x38e50c['getRevision'](0x0),_0x5d8b83=_0x38e50c['getEarlierVisibleRevision'](_0x4d7835[_0x15a891([0x69,0x64])]);_0x1da99c(_0x27fe11,_0x15a891([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x15a891([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4d7835[_0x15a891([0x69,0x64])],_0x5d8b83?_0x5d8b83[_0x15a891([0x69,0x64])]:null,0x1)['then'](()=>_0x348da1());}});}_0x33b024(_0x259b96(_0x4eee19,_0x3e4720),_0x3e4720);}function _0x2ec540(_0x9544ee,_0x4a8cf4){try{return _0x24b5c1(_0x4a8cf4)?_0x408e95(_0x4a8cf4[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x56,0x61,0x6c,0x69,0x64])):_0x9544ee&&_0x420b8e(_0x9544ee[_0x15a891([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4a8cf4)?_0x9544ee[_0x15a891([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x15a891([0x6f,0x70,0x65,0x6e])][_0x15a891([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x21e426)/0x2>_0x9544ee[_0x15a891([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x408e95(_0x4a8cf4[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x9544ee[_0x15a891([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x408e95(_0x4a8cf4[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x54,0x72,0x69,0x61,0x6c])):_0x408e95(_0x4a8cf4[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x56,0x61,0x6c,0x69,0x64])):_0x408e95(_0x4a8cf4[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5342f3){return _0x408e95(_0x4a8cf4[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1b42f8(_0x56355e,_0x4818f2){if(_0x3ef4b4 instanceof _0x2d3302){const _0x3075e6=_0x3ef4b4;_0x56355e==_0x4818f2[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x178db2(_0x3075e6):_0x56355e==_0x4818f2[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x54,0x72,0x69,0x61,0x6c])&&window[_0x15a891([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x178db2(_0x3075e6),_0x408e95(_0x4818f2[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x496920[0x6]*_0x6148a8[0x8]*_0x6148a8[0x6]),_0x3075e6[_0x15a891([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x15a891([0x6f,0x6e])](_0x15a891([0x61,0x64,0x64]),(_0x37ccea,_0x3b83f9)=>{_0x56355e!=_0x4818f2[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x56355e!=_0x4818f2[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x56355e!=_0x4818f2[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2156c9(_0x3b83f9);});}else{const _0x1df4cb=_0x3ef4b4;_0x56355e==_0x4818f2[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2156c9(_0x1df4cb):_0x56355e==_0x4818f2[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x54,0x72,0x69,0x61,0x6c])&&_0x1df4cb[_0x15a891([0x6f,0x6e])](_0x15a891([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2896e6=0x0;_0x1df4cb[_0x15a891([0x6d,0x6f,0x64,0x65,0x6c])][_0x15a891([0x6f,0x6e])](_0x15a891([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x13d5ca,_0x2a3a39)=>{_0x2a3a39[0x0][_0x15a891([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2896e6++,0x1f8===_0x2896e6&&(_0x2156c9(_0x1df4cb),_0x408e95(_0x4818f2[_0x15a891([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x15a891([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x13d5ca[_0x15a891([0x6f,0x66,0x66])]());},{'priority':_0x15a891([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x408e95(_0x576e2d){const _0x212e85=_0x4c2e07();return _0x3ef4b4[_0x212e85]=_0x576e2d,_0x576e2d;}function _0x4c2e07(){const _0x482ca8=String(window[_0x15a891([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x15a891([0x6e,0x6f,0x77])]())[_0x15a891([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x15a891([0x2e]),'');let _0x4b645c='';for(let _0x2f0ecf=0x0;_0x2f0ecf<_0x482ca8[_0x15a891([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f0ecf+=0x2){let _0x4d6caf=parseInt(_0x482ca8[_0x15a891([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2f0ecf,_0x2f0ecf+0x2));_0x4d6caf>=_0x1a6e55[_0x15a891([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d6caf-=_0x1a6e55[_0x15a891([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4b645c+=_0x1a6e55[_0x4d6caf];}return _0x4b645c;}function _0x178db2(_0x987b7a){for(const _0x467b6a of _0x987b7a[_0x15a891([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2156c9(_0x467b6a);_0x1da99c(_0x987b7a,_0x15a891([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x15a891([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1da99c(_0x987b7a,_0x15a891([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x15a891([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xa1717a;}function _0x2156c9(_0x5635b6){function _0x13cb60(){_0x5635b6[_0x15a891([0x6d,0x6f,0x64,0x65,0x6c])][_0x15a891([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa1717a,_0x5635b6[_0x15a891([0x6d,0x6f,0x64,0x65,0x6c])][_0x15a891([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa1717a,_0x5635b6[_0x15a891([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x15a891([0x6d,0x6f,0x64,0x65,0x6c]));}_0x5635b6[_0x15a891([0x73,0x74,0x61,0x74,0x65])]==_0x15a891([0x72,0x65,0x61,0x64,0x79])?_0x13cb60():_0x5635b6[_0x15a891([0x6f,0x6e,0x63,0x65])](_0x15a891([0x72,0x65,0x61,0x64,0x79]),()=>_0x13cb60());}function _0xa1717a(){return null;}function _0x420b8e(_0xc75280,_0x14de11){const _0xcc541d=!!(_0xc75280&_0x14de11[_0x15a891([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xb72ba3=_0x93081f(_0xc75280,_0x14de11);return _0xcc541d||_0xb72ba3;}function _0x93081f(_0x4f1251,_0x141128){const _0x451246=(_0x141128[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x15a891([0x66,0x67,0x69])]||null;return!!_0x451246&&_0x494710[_0x15a891([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4fa097=>_0x451246[_0x15a891([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4fa097[_0x15a891([0x69,0x64])]))[_0x15a891([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44f52e=>!_0x5645e2(_0x44f52e))[_0x15a891([0x73,0x6f,0x6d,0x65])](_0x5116e5=>!!(_0x4f1251&_0x5116e5[_0x15a891([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x5645e2(_0x59fbf2){const _0x5a66e2={[_0x15a891([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])]:_0x28747a};return!!_0x59fbf2['forbiddenHandler']&&_0x5a66e2[_0x59fbf2['forbiddenHandler']]();}function _0x28747a(){return!window[_0x15a891([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x145dc6(_0x3ef4b4,_0x15a891([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x24b5c1(_0x272747){if(!_0x145dc6(_0x3ef4b4,_0x272747[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1648b=_0x272747[_0x15a891([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x2b5c92=_0x1648b[_0x15a891([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3e4b52=_0x1648b[_0x15a891([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5cfa13=_0x1648b[_0x15a891([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x145dc6(_0x3ef4b4,_0x15a891([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1da99c(_0x3ef4b4,_0x15a891([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x15a891([0x73,0x74,0x61,0x74,0x65])]==_0x15a891([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x2b5c92)return!0x0;if(_0x145dc6(_0x3ef4b4,_0x15a891([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1da99c(_0x3ef4b4,_0x15a891([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x15a891([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x15a891([0x65,0x6e,0x64])&&_0x3e4b52)return!0x0;return!(!_0x145dc6(_0x3ef4b4,_0x15a891([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]))||_0x1da99c(_0x3ef4b4,_0x15a891([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]))[_0x15a891([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x15a891([0x65,0x6e,0x64])||!_0x5cfa13);}function _0x145dc6(_0x48ae95,_0x3bba16){return _0x48ae95[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x15a891([0x68,0x61,0x73])](_0x3bba16);}function _0x1da99c(_0x19acbf,_0x325bed){return _0x19acbf[_0x15a891([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x15a891([0x67,0x65,0x74])](_0x325bed);}function _0x7e607e(_0x5d8c29){let _0xd72436='';for(const _0x2c6fb9 of _0x5d8c29)_0xd72436+=String[_0x15a891([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2c6fb9);return _0xd72436;}function _0x2ff115(_0x220796){const _0x3b55cf=new Uint8Array(_0x220796[_0x15a891([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x2c37f7=0x0;_0x2c37f7<_0x220796[_0x15a891([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c37f7++)_0x3b55cf[_0x2c37f7]=_0x220796[_0x15a891([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c37f7);return _0x3b55cf;}_0x54c13a&&_0x118565(_0x111312(_0xf92bb3),_0x54c13a);})(_0x49d2c3);}(this);}['createRevision'](_0x45e2c6){const _0x358263=this['editor']['plugins']['get']('Users');return new a({'id':_0x45e2c6['id'],'name':_0x45e2c6['name'],'creator':_0x45e2c6['creatorId']?_0x358263['getUser'](_0x45e2c6['creatorId']):null,'diffData':_0x45e2c6['diffData']||_0x45e2c6['data'],'authors':_0x45e2c6['authorsIds']['map'](_0x175bf6=>_0x358263['getUser'](_0x175bf6)),'createdAt':new Date(_0x45e2c6['createdAt']),'attributes':_0x45e2c6['attributes'],'fromVersion':_0x45e2c6['fromVersion'],'toVersion':_0x45e2c6['toVersion']});}['addRevision'](_0x2af602,_0x1d700f=0x0){this['_revisions']['add'](_0x2af602,_0x1d700f);}['getRevision'](_0x5e7829){return this['_revisions']['get'](_0x5e7829);}['getRevisions'](_0x331a4a={'toJSON':!0x1}){const _0x2f702a=Array['from'](this['_revisions']);return _0x2f702a['reverse'](),_0x331a4a['toJSON']?_0x2f702a['map'](_0x260675=>_0x260675['toJSON']()):_0x2f702a;}['getIndex'](_0x105c34){return this['_revisions']['getIndex'](_0x105c34);}['getEarlierVisibleRevision'](_0x32a9d4){const [,_0x53b6b0]=this['getRevisionsIterator'](_0x32a9d4,{'direction':'earlier'});return _0x53b6b0;}['getLaterVisibleRevision'](_0x259efb){const [,_0x59e55d]=this['getRevisionsIterator'](_0x259efb,{'direction':'later'});return _0x59e55d;}['getRevisionsInDiff'](_0x2f7e80){const _0x54dfd4=[];for(const _0x342f95 of this['getRevisionsIterator'](_0x2f7e80['newRevisionId']))if(_0x54dfd4['push'](_0x342f95),_0x342f95['id']===_0x2f7e80['oldRevisionId'])break;return _0x54dfd4;}*['getRevisionsIterator'](_0x31707e,{direction:_0x3d7c7f='earlier',filter:_0x3e3948=_0x17e2f1=>!0x0}={}){const _0x1278b1='earlier'===_0x3d7c7f?0x1:-0x1;let _0x4771cb=this['_revisions']['get'](_0x31707e),_0x1339ae=this['getIndex'](_0x4771cb);for(yield _0x4771cb;_0x4771cb;){if(_0x1339ae+=_0x1278b1,_0x4771cb=this['getRevision'](_0x1339ae),!_0x4771cb)return;_0x3e3948(_0x4771cb)&&(yield _0x4771cb);}}}function y(_0x227d70,_0x32b52c,_0x512e90){const t=_0x227d70['t'];switch(_0x32b52c){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'},_0x512e90);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x512e90);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'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':_0x478035,'a':_0x3db0b0,'e':_0x16cb9c,'r':_0x2e2ffc,'u':_0x5a4480};class l extends _0x4af4d9{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x207d34,A,_0x2267a2];}constructor(_0x52daef){super(_0x52daef),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 _0xef7d4e=_0x5d94f2();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0xef7d4e},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 _0x505a0c=this['repository']['getRevision'](0x0),_0x51dd24=_0x505a0c&&null===_0x505a0c['creator']?_0x505a0c:null;if(this['_continueCurrentRevision']=!!_0x51dd24&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4054be=this['_source']['getCurrentRevisionId'](),_0x3f958d=this['repository']['getRevision'](_0x4054be);if(_0x3f958d)this['_startingVersion']=_0x3f958d['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0xefd757=this['_source']['history']['_operations']['find'](_0x415f8a=>!_0x415f8a['_isInit']),_0x695a27=_0xefd757?_0xefd757['baseVersion']:this['_source']['history']['version'];_0x505a0c?(_0x505a0c['toVersion']<_0x695a27&&_0x505a0c['_update']({'toVersion':_0x695a27}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x51dd24['id'],this['_startingVersion']=_0x51dd24['fromVersion']):(this['_startingVersion']=_0x505a0c['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x695a27,this['_continueCurrentRevision']=!0x1);}}else _0x51dd24&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x51dd24['toVersion'],this['editor']['model']['document']['history']['version']),_0x51dd24['fromVersion']===_0x51dd24['toVersion']?(0x0!==_0x51dd24['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x51dd24['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x51dd24['id'],this['_startingVersion']=_0x51dd24['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',_0x265b1=>!_0x265b1);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x52d22b=this['repository']['getRevision'](0x0),_0x16cad2=await this['getRevisionDocumentData'](_0x52d22b),_0x5e12a7=await this['getRevisionRootsAttributes'](_0x52d22b);this['_replaceEditorDataWithRevisionData'](_0x16cad2,_0x5e12a7);}}['setSource'](_0x3e7501){this['_source']=_0x3e7501;}async['update'](){const _0x480cc7=await this['_source']['getLatestVersion']();if(_0x480cc7>this['currentRevision']['toVersion']){await this['_loadState']();const _0x81e60b=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x480cc7});_0x81e60b['authors']=_0x81e60b['authorsIds']['map'](_0x4475b5=>this['editor']['plugins']['get']('Users')['getUser'](_0x4475b5)),this['currentRevision']['_update'](_0x81e60b);}}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'](_0x5d4543={},_0x2dc926=null){const _0x5200d9=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2dc926>this['currentRevision']['toVersion']&&(_0x2dc926=null),null===_0x2dc926&&(_0x2dc926=await this['_source']['getLatestVersion']());const _0x18dfe5=this['_getFromVersion'](_0x2dc926),_0x180855=this['buildRevisionData']({'from':_0x18dfe5,'to':_0x2dc926});if(this['currentRevision']['toVersion']<_0x2dc926){const _0x37b7fb=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2dc926,'to':_0x2dc926});_0x37b7fb['authors']=[],_0x37b7fb['authorsIds']=[],_0x37b7fb['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x37b7fb,!0x0),delete _0x37b7fb['authors'],_0x5200d9['push'](_0x37b7fb);}_0x5d4543['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x5d4543['name']=_0x5d4543['name']||null,_0x5d4543['id']=_0x5d4543['id']||_0x5d94f2(),_0x5d4543={..._0x5d4543,..._0x180855};const _0x4882c4=this['addRevisionData'](_0x5d4543);_0x5200d9['push'](_0x5d4543);const _0x20d151=this['repository']['getIndex'](_0x4882c4);if(0x0!==_0x20d151){const _0x43290f=this['repository']['getRevision'](_0x20d151-0x1);if(_0x43290f['fromVersion']!==_0x2dc926){const _0x337d39=this['_revisionDataBuilder']['getData'](_0x2dc926,_0x43290f['toVersion']),_0x50634a={'id':_0x43290f['id'],'diffData':_0x337d39['diffData'],'authorsIds':_0x337d39['authorsIds'],'authors':_0x337d39['authorsIds']['map'](_0x43f4ae=>this['editor']['plugins']['get']('Users')['getUser'](_0x43f4ae)),'fromVersion':_0x2dc926};_0x43290f===this['currentRevision']&&(_0x50634a['createdAt']=new Date(_0x5d4543['createdAt']['getTime']()+0xa)),_0x43290f['_update'](_0x50634a,!0x0),delete _0x50634a['authors'],_0x5200d9['push'](_0x50634a);}}if(this['adapter']){for(const _0x4d2edf of _0x5200d9)this['_bufferUpdate'](_0x4d2edf['id'],_0x4d2edf,!0x0);this['sendBufferedUpdates']();}return _0x4882c4;}['addRevisionData'](_0x32464c){const _0x33d5b5=this['repository']['createRevision'](_0x32464c);return this['adapter']&&_0x33d5b5['on']('_update',(_0x5d6401,_0x33de4e,_0x2df89b)=>{_0x2df89b||(this['_bufferUpdate'](_0x33de4e['id'],_0x33de4e,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x33d5b5,this['_findInsertionIndex'](_0x33d5b5)),_0x33d5b5;}async['getRevisionDocumentData'](_0x584b80){await this['_loadRevisionData'](_0x584b80);const _0x568238={};for(const _0x193219 in _0x584b80['diffData']){if(_0x584b80['diffData'][_0x193219]['attachChange']&&!_0x584b80['diffData'][_0x193219]['attachChange']['isAttached'])continue;const _0x2a14c5=this['_removeRevisionMarkers'](JSON['parse'](_0x584b80['diffData'][_0x193219]['insertions'])),_0x1a8c07=this['editor']['editing']['view']['document'],_0x21045b=new _0x39c1a8(_0x1a8c07,_0x2a14c5['map'](_0x93b027=>B(_0x93b027,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x568238[_0x193219]=this['editor']['data']['processor']['toData'](_0x21045b),this['editor']['data']['processor']['useFillerType']('default');}return _0x568238;}async['getRevisionRootsAttributes'](_0x21c5a3){await this['_loadRevisionData'](_0x21c5a3);const _0x42c23f={};for(const _0x539d71 in _0x21c5a3['diffData'])_0x21c5a3['diffData'][_0x539d71]['attachChange']&&!_0x21c5a3['diffData'][_0x539d71]['attachChange']['isAttached']||(_0x42c23f[_0x539d71]=_0x21c5a3['diffData'][_0x539d71]['attributesAfter']||{});return _0x42c23f;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x54a3b9=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x1d5390=0x0;_0x1d5390<_0x54a3b9['length'];_0x1d5390++){const _0x357c0f=_0x54a3b9[_0x1d5390];let _0x27c200=!0x1;for(const _0x50828c of Object['keys'](_0x357c0f))void 0x0===_0x357c0f[_0x50828c]?delete _0x357c0f[_0x50828c]:'id'!==_0x50828c&&(_0x27c200=!0x0);_0x27c200||(_0x54a3b9[_0x1d5390]=null);}if(_0x54a3b9=_0x54a3b9['filter'](_0x2cd641=>null!==_0x2cd641),!_0x54a3b9['length'])return;for(let _0xdf5e59=0x0;_0xdf5e59<_0x54a3b9['length'];_0xdf5e59++){const _0x2e8580=_0x54a3b9[_0xdf5e59];void 0x0!==_0x2e8580['fromVersion']&&void 0x0===_0x2e8580['toVersion']&&(_0x2e8580['toVersion']=this['repository']['getRevision'](_0x2e8580['id'])['toVersion']),void 0x0!==_0x2e8580['toVersion']&&void 0x0===_0x2e8580['fromVersion']&&(_0x2e8580['fromVersion']=this['repository']['getRevision'](_0x2e8580['id'])['fromVersion']);}const _0x275d88=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x54a3b9,_0x275d88)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x2d9dd7=>{if(_0x2d9dd7){for(const _0x519b0d of _0x2d9dd7)this['setRevisionData']({'id':_0x519b0d['id'],'createdAt':_0x519b0d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4f37bd,_0x2db558){let _0x56040b=this['editor']['config']['get']('initialData'),_0x2acd71=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x56040b){_0x56040b={};for(const _0x3f78ae of this['editor']['model']['document']['getRootNames']())_0x56040b[_0x3f78ae]='';}if('string'==typeof _0x56040b&&(_0x56040b={'main':_0x56040b}),void 0x0===_0x2acd71){_0x2acd71={};for(const _0x204782 of this['editor']['model']['document']['getRootNames']())_0x2acd71[_0x204782]={};}let _0x5f361d=!0x1;const _0x31c6e4=Object['keys'](_0x56040b),_0x3120c5=Object['keys'](_0x4f37bd);for(const _0x59f59e of _0x31c6e4){if(_0x56040b[_0x59f59e]!==_0x4f37bd[_0x59f59e]&&''!==_0x56040b[_0x59f59e]['trim']()){_0x5f361d=!0x0;break;}if(!_0xe197a(_0x2acd71[_0x59f59e],_0x2db558[_0x59f59e])&&Object['keys'](_0x2acd71[_0x59f59e])['length']>0x0){_0x5f361d=!0x0;break;}}_0x5f361d||(_0x5f361d=_0x3120c5['some'](_0x5f4066=>!this['editor']['model']['document']['getRoot'](_0x5f4066))),_0x5f361d&&_0x653ebd('editor-initial-data-replaced-with-revision-data',{'editorData':_0x56040b,'editorRootsAttributes':_0x2acd71,'revisionData':_0x4f37bd,'revisionRootsAttributes':_0x2db558}),this['editor']['config']['set']('initialData',_0x4f37bd),this['editor']['config']['set']('rootsAttributes',_0x2db558);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3499a9=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3499a9['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x42d310){const _0x27738c=this['repository']['getRevisions']();_0x27738c['reverse']();let _0x58cb65=0x0;for(;_0x58cb65<_0x27738c['length'];){const _0x4fdc45=_0x27738c[_0x58cb65];if(_0x4fdc45===this['currentRevision']){_0x58cb65++;continue;}if(_0x4fdc45['id']===this['_initialRevisionId'])break;const _0x19499a=_0x42d310['toVersion']-_0x4fdc45['toVersion']||_0x42d310['fromVersion']-_0x4fdc45['fromVersion'];if(_0x19499a>0x0)break;if(_0x19499a<0x0)_0x58cb65++;else{if(!_0x42d310['creator']&&_0x4fdc45['creator'])break;if(_0x4fdc45['creator']||!_0x42d310['creator']){if(_0x42d310['createdAt']>_0x4fdc45['createdAt'])break;_0x58cb65++;}else _0x58cb65++;}}return _0x58cb65;}['setRevisionData'](_0x23a151){const _0x4a4859=this['repository']['getRevision'](_0x23a151['id']);if(_0x23a151['createdAt']&&(_0x23a151['createdAt']=new Date(_0x23a151['createdAt'])),_0x23a151['authorsIds']){const _0x5d4353=this['editor']['plugins']['get']('Users');_0x23a151['authors']=_0x23a151['authorsIds']['map'](_0x2587a9=>_0x5d4353['getUser'](_0x2587a9));}_0x4a4859['_update'](_0x23a151,!0x0);}['buildRevisionData']({revision:_0x41b451=null,from:_0x329f8f=null,to:_0x365291=null}){_0x329f8f=null!==_0x329f8f?_0x329f8f:_0x41b451['fromVersion'],_0x365291=null!==_0x365291?_0x365291:_0x41b451['toVersion'];const _0x1b2d48=this['_revisionDataBuilder']['getData'](_0x329f8f,_0x365291),_0x2dbe9b={'diffData':_0x1b2d48['diffData'],'authorsIds':_0x1b2d48['authorsIds'],'fromVersion':_0x329f8f,'toVersion':_0x365291};if(!_0x41b451||_0x365291!==_0x41b451['toVersion']){const _0x3d8523=_0x365291-0x1,_0x1fe850=this['_source']['history']['getOperation'](_0x3d8523);_0x2dbe9b['createdAt']=_0x1fe850&&_0x1fe850['createdAt']||new Date();}if(this['_loadedStateData']&&_0x329f8f===this['_loadedStateData']['fromVersion']){for(const _0x1814ea of this['_loadedStateData']['authors'])_0x2dbe9b['authorsIds']['includes'](_0x1814ea['id'])||_0x2dbe9b['authorsIds']['push'](_0x1814ea['id']);}return _0x2dbe9b;}['_loadRevisionData'](_0x347351){if(!_0x347351||_0x347351['diffData'])return Promise['resolve']();{const _0x3d83c6=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3d83c6,'revisionId':_0x347351['id']})['then'](_0x29d40f=>{_0x347351['diffData']=_0x29d40f['diffData'];});}}['_bufferUpdate'](_0x269dca,_0x884c93,_0x58c94a){if(this['_bufferedUpdates']['has'](_0x269dca)){const _0x26da67=this['_bufferedUpdates']['get'](_0x269dca);_0x884c93=_0x58c94a?{..._0x26da67,..._0x884c93}:{..._0x884c93,..._0x26da67};}this['_bufferedUpdates']['set'](_0x269dca,_0x884c93);}['_getFromVersion'](_0x561766){const _0x1a9a69=this['repository']['getRevisions']();_0x1a9a69['reverse'](),_0x1a9a69['shift']();const _0x535688=_0x1a9a69['find'](_0x5c2107=>_0x5c2107['toVersion']<=_0x561766)['toVersion'];return _0x535688<this['_startingVersion']?this['_startingVersion']:_0x535688;}['_createInitialRevision'](_0x4870b5){const _0x408e29=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x408e29)this['_initialRevisionId']=_0x408e29['id'];else{const _0x2815a6=!this['editor']['model']['document']['roots']['find'](_0x8362ab=>this['editor']['model']['hasContent'](_0x8362ab)),_0x2f7a9d=this['editor']['plugins']['get']('Users')['me']['id'],_0x633138=y(this['editor']['locale'],_0x2815a6?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x4870b5,'to':_0x4870b5,'id':this['_initialRevisionId'],'name':_0x633138,'creatorId':_0x2f7a9d});}}['_createCurrentRevision'](_0x4f1176){const _0x2ed42d=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x2ed42d),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x4f1176,'to':_0x4f1176,'id':_0x2ed42d,'name':'','creatorId':null}));}['_makeRevision']({name:_0x7ce0b3,from:_0x3fb92c,to:_0x1aa50e,creatorId:_0x32253a,id:_0x124157}){const _0x217555=this['buildRevisionData']({'from':_0x3fb92c,'to':_0x1aa50e});_0x217555['name']=_0x7ce0b3,_0x217555['creatorId']=_0x32253a,_0x217555['id']=_0x124157;const _0x1b1f8c=this['addRevisionData'](_0x217555);return this['adapter']&&this['_bufferUpdate'](_0x217555['id'],_0x217555,!0x0),_0x1b1f8c;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x352b8a){return(_0x352b8a=_0x352b8a['filter'](_0x54ec9e=>!_0x54ec9e['name']||'revision-start'!==_0x54ec9e['name']&&'revision-end'!==_0x54ec9e['name']))['forEach'](_0xc93d97=>{'string'!=typeof _0xc93d97&&(_0xc93d97['children']=this['_removeRevisionMarkers'](_0xc93d97['children']),_0xc93d97['attributes']=_0xc93d97['attributes']['filter'](_0x2ed5fd=>!_0x2ed5fd[0x0]['startsWith']('data-revision-')));}),_0x352b8a;}}function B(_0x1cb6c8,_0x2eb174){const _0x549f0a=_0x2eb174['editing']['view']['document'];if('string'==typeof _0x1cb6c8)return new _0x20a804(_0x549f0a,_0x1cb6c8);{const _0x4acc5b=_0x1cb6c8['children']['map'](_0x2b4ae2=>B(_0x2b4ae2,_0x2eb174));return new(T[_0x1cb6c8['type']]||_0x396ff4)(_0x549f0a,_0x1cb6c8['name'],_0x1cb6c8['attributes'],_0x4acc5b);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x3009e6){this['editor']=_0x3009e6,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'](_0x46a8b4){this['source']=_0x46a8b4;const _0x579ab8=new Map(),_0x16e5f2=new Map(),_0x75c825=this['editor']['model']['document']['roots']['map'](_0x41ce8b=>_0x41ce8b['rootName']);for(const _0x4be38b of _0x75c825){const _0x4b2580=this['editor']['model']['document']['getRoot'](_0x4be38b),_0x39cd66=q(_0x4b2580);_0x579ab8['set'](_0x4be38b,_0x39cd66),_0x16e5f2['set'](_0x4be38b,Object['fromEntries'](_0x4b2580['getAttributes']()));}const _0x45e390=Array['from'](this['editor']['model']['markers'])['map'](_0x52a2e9=>[_0x52a2e9['name'],_0x52a2e9['getRange']()]),_0x582c42=this['source']['version'];this['_saveMetaData'](_0x582c42,_0x579ab8,_0x45e390,_0x16e5f2),this['_startingRevisionId']=this['_revisionId'];const _0x1cce6e=new Map(),_0x51e900=new Map();for(const _0x1bee27 of _0x75c825){const _0x197a77=G(_0x1bee27);_0x1cce6e['set'](_0x1bee27,_0x197a77),_0x51e900['set'](_0x1bee27,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1cce6e,[],_0x51e900);}['getData'](_0x9d0e88,_0x2a6362){if(this['_lastFrom']===_0x9d0e88&&this['_lastTo']<=_0x2a6362)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2a6362,!0x0);else{if(!this['_savedMetaData']['has'](_0x9d0e88)){const _0x2b2bd2=this['_getPreviousFrom'](_0x9d0e88);this['_calculateMetaData'](_0x2b2bd2,_0x9d0e88,!0x1);}this['_calculateMetaData'](_0x9d0e88,_0x2a6362,!0x0);}return this['_lastFrom']=_0x9d0e88,this['_lastTo']=_0x2a6362,this['_getState']();}['loadState'](_0x944127){this['_reset'](),this['_lastFrom']=_0x944127['fromVersion'],this['_lastTo']=_0x944127['toVersion'];for(const _0x465aed in _0x944127['diffData']){const _0x2b03d1=_0x944127['diffData'][_0x465aed]['attachChange'],_0x1461de=_0x8c2e07(_0x944127['diffData'][_0x465aed]['attributesBefore'])||{},_0xf5eb9d=this['_makeModelFromViewString'](_0x944127['diffData'][_0x465aed]['deletions']);_0xf5eb9d['rootName']=_0x465aed,_0xf5eb9d['_isAttached']=!_0x2b03d1||!_0x2b03d1['isAttached'],_0xf5eb9d['isAttached']=()=>_0xf5eb9d['_isAttached'],this['_baseRoots']['set'](_0x465aed,_0xf5eb9d),this['_baseRootsAttributes']['set'](_0x465aed,_0x1461de),_0x2b03d1&&this['_touchedRoots']['set'](_0x465aed,_0x2b03d1);const _0x3b6fe5=this['_makeIdsRoot'](_0xf5eb9d);this['_baseIdsRoots']['set'](_0x465aed,_0x3b6fe5);for(const [_0x1e2836,_0x588d6b]of _0xf5eb9d['markers']){if(!_0x1e2836['startsWith']('revision:'))continue;const _0x4d5798=_0x1e2836['split'](':')[0x2];for(const _0x2acc1b of _0x588d6b['getWalker']({'singleCharacters':!0x0})){const _0x57d861=this['_getVidAttributeName'](_0x2acc1b),_0x9b8856='elementEnd'==_0x2acc1b['type']?_0x2acc1b['previousPosition']['path']['slice'](0x0,-0x1):_0x2acc1b['previousPosition']['path'],_0x7bae05=_0x3b6fe5['getNodeByPath'](_0x9b8856)['getAttribute'](_0x57d861);this['_touched']['set'](_0x7bae05,{'userId':_0x4d5798});}}}this['_startingRevisionId']=this['_revisionId'];const _0x4af2a6=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x38be8b=>!this['_touched']['has'](_0x38be8b));let _0xbd97da=0x0;const _0x2990bf=new Map();for(const _0x34f5cb in _0x944127['diffData']){const _0x447b59=_0x944127['diffData'][_0x34f5cb]['attachChange'],_0x25c701=_0x8c2e07(_0x944127['diffData'][_0x34f5cb]['attributesAfter'])||{},_0xeeab51=this['_makeModelFromViewString'](_0x944127['diffData'][_0x34f5cb]['insertions']);_0xeeab51['rootName']=_0x34f5cb,_0xeeab51['_isAttached']=!_0x447b59||_0x447b59['isAttached'],_0xeeab51['isAttached']=()=>_0xeeab51['_isAttached'],this['_diffRoots']['set'](_0x34f5cb,_0xeeab51),this['_diffRootsAttributes']['set'](_0x34f5cb,_0x25c701);const _0x5157da=this['_makeIdsRoot'](_0xeeab51,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x34f5cb,_0x5157da),_0x2990bf['set'](_0x34f5cb,_0xeeab51['isAttached']()?_0x25c701:{});for(const [_0x4bf73e,_0xf2e9e4]of _0xeeab51['markers']){if(!_0x4bf73e['startsWith']('revision:'))continue;const _0x58e8ec=_0x4bf73e['split'](':')[0x2];for(const _0x1df3aa of _0xf2e9e4['getWalker']({'singleCharacters':!0x0})){const _0x4daf34=this['_getVidAttributeName'](_0x1df3aa),_0x1dab52=this['_revisionId']++,_0x305744='elementEnd'==_0x1df3aa['type']?_0x1df3aa['previousPosition']['path']['slice'](0x0,-0x1):_0x1df3aa['previousPosition']['path'];_0x5157da['getNodeByPath'](_0x305744)['_setAttribute'](_0x4daf34,_0x1dab52),this['_touched']['set'](_0x1dab52,{'userId':_0x58e8ec});}}for(const _0x636bdd of this['editor']['model']['createRangeIn'](_0xeeab51)['getWalker']({'singleCharacters':!0x0})){const _0x636b81=this['_getVidAttributeName'](_0x636bdd),_0x36da2b='elementEnd'==_0x636bdd['type']?_0x636bdd['previousPosition']['path']['slice'](0x0,-0x1):_0x636bdd['previousPosition']['path'],_0x3eb1f1=_0x5157da['getNodeByPath'](_0x36da2b);_0x3eb1f1['getAttribute'](_0x636b81)>0x0||_0x3eb1f1['_setAttribute'](_0x636b81,_0x4af2a6[_0xbd97da++]);}for(const [_0x520f56,_0xa0ca9b]of _0xeeab51['markers'])_0x520f56['startsWith']('revision:')||this['_markers']['set'](_0x520f56,_0xa0ca9b);}const _0x3030d0=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x3030d0),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3030d0,0x1));const _0x2a9bc3=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2a9bc3),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2a9bc3,0x1));const _0x4a0726=Array['from'](this['_diffRoots'])['map'](([_0x3d384d,_0x17338c])=>[_0x3d384d,q(_0x17338c)]);this['_saveMetaData'](this['_lastTo'],_0x4a0726,this['_markers'],_0x2990bf);}['_makeModelFromViewString'](_0x121770){const _0x34babb=JSON['parse'](_0x121770),_0x29a72e=this['editor']['editing']['view']['document'],_0xb97497=new _0x39c1a8(_0x29a72e,_0x34babb['map'](_0xf9bed4=>B(_0xf9bed4,this['editor'])));return this['editor']['data']['toModel'](_0xb97497);}['_saveMetaData'](_0x3e09c6,_0x41f296,_0x59b7a9,_0x1ac0b6){const _0x3170b5=new Map(_0x41f296),_0x5039ce=new Map(_0x8c2e07(_0x1ac0b6)),_0x2735f1=new Map();for(const [_0x58c5f9,_0x550e7a]of _0x59b7a9)_0x2735f1['set'](_0x58c5f9,{'start':_0x550e7a['start']['clone'](),'end':_0x550e7a['end']['clone'](),'rootName':_0x550e7a['root']['rootName']});this['_savedMetaData']['set'](_0x3e09c6,{'roots':_0x3170b5,'markers':_0x2735f1,'rootsAttributes':_0x5039ce});}['_removeMetaData'](_0x4c6b0d){this['_savedMetaData']['delete'](_0x4c6b0d);}['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'](_0x262b6c,_0x2c4d66=null){let _0x371e39=null;_0x262b6c['is']('documentFragment')||(_0x371e39=new ft(_0x262b6c['name'],{'vid_start':null===_0x2c4d66?this['_revisionId']++:_0x2c4d66++}));const _0x255e97=[];for(const _0x1e50c7 of _0x262b6c['getChildren']())if(_0x1e50c7['is']('element')){_0x255e97['push'](this['_makeIdsRoot'](_0x1e50c7,_0x2c4d66));const _0x3611a5=_0x255e97[_0x255e97['length']-0x1];null!==_0x2c4d66&&(_0x2c4d66=_0x3611a5['is']('element','$text')?_0x3611a5['getAttribute']('vid')+0x1:_0x3611a5['getAttribute']('vid_end')+0x1);}else{for(let _0x30ec21=0x0;_0x30ec21<_0x1e50c7['offsetSize'];_0x30ec21++)_0x255e97['push'](new ft('$text',{'vid':null===_0x2c4d66?this['_revisionId']++:_0x2c4d66++}));}if(_0x262b6c['is']('documentFragment')){const _0x169636=G(_0x262b6c['rootName']);return _0x169636['_insertChild'](0x0,_0x255e97),_0x169636;}return _0x371e39['_setAttribute']('vid_end',null===_0x2c4d66?this['_revisionId']++:_0x2c4d66++),_0x371e39['_insertChild'](0x0,_0x255e97),_0x371e39;}['_calculateMetaData'](_0x3c42d6,_0x5255d0,_0x53cacf){this['_reset']();const {roots:_0x109fe1,markers:_0x4878bf,rootsAttributes:_0x711db2}=this['_savedMetaData']['get'](_0x3c42d6);this['_baseRoots']=new Map(_0x109fe1),this['_baseRootsAttributes']=new Map(_0x8c2e07(_0x711db2));for(const [_0x457a09,_0x22a590]of this['_baseRoots'])if('$graveyard'!==_0x457a09&&(this['_diffRoots']['set'](_0x457a09,q(_0x22a590)),this['_diffRootsAttributes']=new Map(_0x8c2e07(_0x711db2)),_0x53cacf)){const _0x2dd4f1=this['_revisionId'];this['_idsRoots']['set'](_0x457a09,this['_makeIdsRoot'](_0x22a590)),this['_baseIdsRoots']['set'](_0x457a09,this['_makeIdsRoot'](_0x22a590,_0x2dd4f1));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x53cacf&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x43b650,_0x4309b0]of _0x4878bf){const _0x5b998f=this['_baseRoots']['get'](_0x4309b0['rootName']),_0x2135c5=this['_diffRoots']['get'](_0x4309b0['rootName']),_0xc21e10=new vt(this['_fixPosition'](_0x4309b0['start'],_0x5b998f),this['_fixPosition'](_0x4309b0['end'],_0x5b998f)),_0x5f4fef=this['_fixRange'](_0xc21e10,_0x2135c5);_0x5b998f['markers']['set'](_0x43b650,_0xc21e10),this['_markers']['set'](_0x43b650,_0x5f4fef);}this['_applyOperations'](_0x3c42d6,_0x5255d0,_0x53cacf);}['_applyOperations'](_0x4936da,_0x4ecc0d,_0x5e6342){for(const _0x25c8c6 of this['source']['getOperations'](_0x4936da,_0x4ecc0d))this['_handleOperation'](_0x25c8c6,_0x5e6342);for(const _0x1352d8 of this['_diffRoots']['values']())_0x1352d8['markers']['clear']();for(const [_0x321386,_0x1abd28]of this['_markers']){this['_diffRoots']['get'](_0x1abd28['root']['rootName'])['markers']['set'](_0x321386,_0x1abd28['clone']());}const _0x11c2ac=new Map(),_0x6585df=new Map();for(const [_0x573a7d,_0x171266]of this['_diffRoots'])_0x11c2ac['set'](_0x573a7d,q(_0x171266)),_0x6585df['set'](_0x573a7d,this['_diffRootsAttributes']['get'](_0x573a7d));this['_saveMetaData'](_0x4ecc0d,_0x11c2ac,this['_markers'],_0x6585df);}['_getPreviousFrom'](_0x42029b){const _0x34e16a=Array['from'](this['_savedMetaData']['keys']());_0x34e16a['sort']((_0x3487f2,_0x3bd4bd)=>_0x3487f2-_0x3bd4bd),_0x34e16a['reverse']();for(const _0x387f4c of _0x34e16a)if(_0x387f4c<_0x42029b)return _0x387f4c;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5aa817,_0x263fe6){const _0x19ec5f=Array['from'](_0x263fe6['markers'])['map'](([_0x19a83d,_0x8ef1f8])=>[_0x19a83d,this['_fixRange'](_0x8ef1f8,_0x5aa817)]);_0x5aa817['markers']=new Map(_0x19ec5f);}['_transformMarkers'](_0xa89bbe){for(const _0x499690 of this['_markers']['values']()){const _0x4a8dc0=_0x499690['getTransformedByOperation'](_0xa89bbe),_0x4af1bc=vt['_createFromRanges'](_0x4a8dc0);_0x499690['start']=_0x4af1bc['start'],_0x499690['end']=_0x4af1bc['end'];}}['_handleOperation'](_0x4aacd2,_0x1ca44c){if('addRoot'==_0x4aacd2['type']||'detachRoot'==_0x4aacd2['type'])return void this['_handleRootOperation'](_0x4aacd2,_0x1ca44c);if('insert'==_0x4aacd2['type']){const _0x3b4acb=_0x4aacd2['position']['root']['rootName'];this['_diffRoots']['has'](_0x3b4acb)||(this['_diffRoots']['set'](_0x3b4acb,G(_0x3b4acb,!0x0)),this['_diffRootsAttributes']['set'](_0x3b4acb,{}),_0x1ca44c&&this['_idsRoots']['set'](_0x3b4acb,G(_0x3b4acb,!0x0)));}else{if('addRootAttribute'==_0x4aacd2['type']||'removeRootAttribute'==_0x4aacd2['type']||'changeRootAttribute'==_0x4aacd2['type'])return void this['_handleRootAttributeOperation'](_0x4aacd2);}const _0xeaf36c=this['_cloneOperation'](_0x4aacd2,this['_diffRoots']);if('marker'!==_0x4aacd2['type']&&(_0xeaf36c['_execute'](),this['_transformMarkers'](_0xeaf36c)),_0x1ca44c)switch(_0xeaf36c['type']){case'insert':this['_handleInsertOperation'](_0x4aacd2);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4aacd2);break;case'merge':this['_handleMergeOperation'](_0x4aacd2);break;case'split':this['_handleSplitOperation'](_0x4aacd2);break;case'marker':this['_handleMarkerOperation'](_0x4aacd2);}}['_cloneOperation'](_0x31da11,_0x5e49e0){const _0x13bbb6=_0x31da11['clone']();return _0x13bbb6['_authorId']=_0x31da11['_authorId'],this['_fixOperation'](_0x13bbb6,_0x5e49e0),_0x13bbb6;}['_getBaseVids'](_0x760cf7){return _0x760cf7['map'](_0x168ac1=>{const _0x334331=this['_getVidAttributeName'](_0x168ac1);return Number(_0x168ac1['item']['getAttribute'](_0x334331));});}['_generateTape'](_0x3a0294,_0x96789){if(_0x3a0294['is']('element','$text'))_0x96789['push']({'item':_0x3a0294,'type':'text'});else{_0x3a0294['is']('element')&&_0x96789['push']({'item':_0x3a0294,'type':'elementStart'});for(const _0x831b82 of _0x3a0294['getChildren']())this['_generateTape'](_0x831b82,_0x96789);_0x3a0294['is']('element')&&_0x96789['push']({'item':_0x3a0294,'type':'elementEnd'});}return _0x96789;}['_getState'](){const _0x251c4d=new Map(this['_touched']),_0x3c587b=new Map(_0x251c4d),_0xb925e=new Map(),_0x29425f={'insertions':{},'deletions':{}},_0x59109c={'insertions':{},'deletions':{}},_0x4cfc0b=new Map(),_0x222d9c=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x222d9c['delete']('$graveyard');for(const _0x5332a2 of _0x222d9c){const _0x699f96=this['_diffRoots']['get'](_0x5332a2)||G(_0x5332a2,!0x1),_0x2c4ab1=this['_baseRoots']['get'](_0x5332a2)||G(_0x5332a2,!0x1);_0x699f96['isAttached']()||_0x2c4ab1['isAttached']()?(_0x29425f['insertions'][_0x5332a2]=q(_0x699f96),_0x29425f['deletions'][_0x5332a2]=q(_0x2c4ab1),this['_copyMarkers'](_0x29425f['deletions'][_0x5332a2],_0x2c4ab1),this['_copyMarkers'](_0x29425f['insertions'][_0x5332a2],_0x699f96),_0x59109c['insertions'][_0x5332a2]=this['_generateTape'](this['_idsRoots']['get'](_0x5332a2),[]),_0x59109c['deletions'][_0x5332a2]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x5332a2)||G(_0x5332a2,!0x1),[])):_0x222d9c['delete'](_0x5332a2);}for(const _0x193e16 of _0x222d9c){const _0x4a0755=_0x59109c['insertions'][_0x193e16];for(const _0x573ee9 of _0x4a0755){const _0x4a09b9=this['_getVidAttributeName'](_0x573ee9),_0x10e5b7=_0x573ee9['item']['getAttribute'](_0x4a09b9);_0x3c587b['delete'](_0x10e5b7),_0x10e5b7>=this['_startingRevisionId']&&_0xb925e['set'](_0x10e5b7,_0x251c4d['get'](_0x10e5b7));}}for(const _0x203304 of _0x222d9c){const _0x472ae0=_0x59109c['insertions'][_0x203304],_0xd78938=this['_getBaseVids'](_0x59109c['deletions'][_0x203304]);let _0xb9bd6c=0x0;for(const _0x562be8 of _0x472ae0){const _0x3f4653=this['_getVidAttributeName'](_0x562be8),_0x255212=_0x562be8['item']['getAttribute'](_0x3f4653);if(!_0xb925e['has'](_0x255212)&&!_0x4cfc0b['has'](_0x255212)){if(_0x3c587b['has'](_0x255212))_0xb9bd6c++;else{if(_0x255212!=_0xd78938[_0xb9bd6c]){const _0x4adf63=_0x251c4d['get'](_0x255212)||_0x251c4d['get'](_0xd78938[_0xb9bd6c]);for(;_0x255212!=_0xd78938[_0xb9bd6c];)_0x3c587b['has'](_0xd78938[_0xb9bd6c])||(_0x4cfc0b['set'](_0xd78938[_0xb9bd6c],_0x4adf63),_0x251c4d['set'](_0xd78938[_0xb9bd6c],_0x4adf63)),_0xb9bd6c++;}_0xb9bd6c++;}}}}for(const _0x3cf372 of _0x222d9c){const _0x4820c3=_0x59109c['insertions'][_0x3cf372];for(const _0x2e0d85 of _0x4820c3){const _0x557a73=this['_getVidAttributeName'](_0x2e0d85),_0x293633=_0x2e0d85['item']['getAttribute'](_0x557a73);if(_0x4cfc0b['has'](_0x293633)){const _0x4fbaec=_0x4cfc0b['get'](_0x293633);_0x3c587b['has'](_0x293633)||_0x3c587b['set'](_0x293633,{..._0x4fbaec}),_0xb925e['set'](_0x293633,{..._0x4fbaec});}}}for(const _0xfa1445 of _0x3c587b['keys']())_0xfa1445>=this['_startingRevisionId']&&_0x3c587b['delete'](_0xfa1445);const _0x4d3aa1=new Map();for(const _0x203828 of _0x222d9c){let _0x8ecfb2=_0x59109c['insertions'][_0x203828];for(const _0xf61a2 of _0x8ecfb2)if(_0xf61a2['item']['is']('element','tableCell')){const _0x2d7d25=this['_getVidAttributeName'](_0xf61a2),_0x2e1378=_0xf61a2['item']['getAttribute'](_0x2d7d25);if(_0xb925e['has'](_0x2e1378)){const _0x7d7925=_0xf61a2['item']['parent']['parent']['getAttribute']('vid_start'),_0x3590e1=_0x4d3aa1['get'](_0x7d7925)||new Set();_0x3590e1['add'](_0xb925e['get'](_0x2e1378)['userId']),_0x4d3aa1['set'](_0x7d7925,_0x3590e1);}}_0x8ecfb2=_0x59109c['deletions'][_0x203828];for(const _0x2164eb of _0x8ecfb2)if(_0x2164eb['item']['is']('element','tableCell')){const _0x5a6b3c=this['_getVidAttributeName'](_0x2164eb),_0x28874a=_0x2164eb['item']['getAttribute'](_0x5a6b3c);if(_0x3c587b['has'](_0x28874a)){const _0x24b50f=_0x2164eb['item']['parent']['parent']['getAttribute']('vid_start'),_0x385a86=_0x4d3aa1['get'](_0x24b50f)||new Set();_0x385a86['add'](_0x3c587b['get'](_0x28874a)['userId']),_0x4d3aa1['set'](_0x24b50f,_0x385a86);}}for(const _0x1a5555 of _0x4d3aa1['keys']())(_0xb925e['has'](_0x1a5555)||_0x3c587b['has'](_0x1a5555))&&_0x4d3aa1['delete'](_0x1a5555);}for(const _0x892811 of _0x222d9c){const _0x79fbf1=_0x59109c['insertions'][_0x892811];let _0x387c15=null,_0x3970bd=null;for(const _0x1b7d99 of _0x79fbf1){const _0x557ab5=this['_getVidAttributeName'](_0x1b7d99),_0x1a9c84=_0x1b7d99['item']['getAttribute'](_0x557ab5),_0x2380ba=_0x4d3aa1['get'](_0x1a9c84);_0x2380ba&&'elementStart'==_0x1b7d99['type']&&(_0x387c15=Array['from'](_0x2380ba)[0x0],_0x3970bd=_0x1b7d99['item']['getAttribute']('vid_end')),_0x387c15&&(_0x3c587b['set'](_0x1a9c84,{'userId':_0x387c15}),_0xb925e['set'](_0x1a9c84,{'userId':_0x387c15})),_0x1a9c84==_0x3970bd&&(_0x387c15=null,_0x3970bd=null);}}const _0x413bf1={},_0x24b0cc=new Set();for(const _0x58ba62 of _0x222d9c){const _0x3da56f=_0x29425f['deletions'][_0x58ba62],_0x18bc96=_0x29425f['insertions'][_0x58ba62];for(const {userId:_0x179f3e}of this['_touchedMarkers']['values']())null!==_0x179f3e&&_0x24b0cc['add'](_0x179f3e);for(const {userId:_0x14c446}of this['_touchedRoots']['values']())null!==_0x14c446&&_0x24b0cc['add'](_0x14c446);this['_markChanges'](_0x18bc96,_0x59109c['insertions'][_0x58ba62],_0xb925e,'insertion',_0x24b0cc),this['_markChanges'](_0x3da56f,_0x59109c['deletions'][_0x58ba62],_0x3c587b,'deletion',_0x24b0cc),_0x413bf1[_0x58ba62]={'insertions':this['_prepareViewToSave'](_0x18bc96),'deletions':this['_prepareViewToSave'](_0x3da56f),'attachChange':this['_touchedRoots']['get'](_0x58ba62)||null,'attributesBefore':_0x8c2e07(this['_baseRootsAttributes']['get'](_0x58ba62))||{},'attributesAfter':_0x8c2e07(this['_diffRootsAttributes']['get'](_0x58ba62))};}return{'diffData':_0x413bf1,'authorsIds':Array['from'](_0x24b0cc)};}['_processRootBeforeSave'](_0x32304c){for(const [,_0x52a689]of _0x32304c['markers']){const _0xcf2e7b=_0x52a689['start']['getAncestors']()['filter'](_0x47c2be=>'tableCell'==_0x47c2be['name']);for(const _0x4f5a74 of _0xcf2e7b)0x1==_0x4f5a74['childCount']&&_0x4f5a74['getChild'](0x0)['is']('element','paragraph')&&_0x4f5a74['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0xee16d4){this['_processRootBeforeSave'](_0xee16d4);const _0x998df7=this['editor']['data']['toView'](_0xee16d4,{}),_0x3633e1=Array['from'](_0x998df7['getChildren']())['map'](_0x426a24=>this['_getViewJson'](_0x426a24));return JSON['stringify'](_0x3633e1);}['_getViewJson'](_0x45b345){if(_0x45b345['is']('$text'))return _0x45b345['data'];{const _0x15d07f=_0x45b345;return{'type':Object['keys'](T)['find'](_0x3eeb98=>_0x45b345 instanceof T[_0x3eeb98]),'name':_0x15d07f['name'],'attributes':Array['from'](_0x15d07f['getAttributes']()),'children':Array['from'](_0x15d07f['getChildren']())['map'](_0x5a12ef=>this['_getViewJson'](_0x5a12ef))};}}['_markChanges'](_0xa97241,_0x465c9e,_0x34c2c3,_0x3a7146,_0x36139f){let _0x15d818=null,_0x35ca26=null,_0x547603=0x0;const _0x3386dd=this['editor']['model'];for(let _0x59884a=0x0;_0x59884a<_0x465c9e['length'];_0x59884a++){const _0x57a915=this['_getVidAttributeName'](_0x465c9e[_0x59884a]),_0x3ea1b6=_0x465c9e[_0x59884a]['item']['getAttribute'](_0x57a915),_0x4d7022=_0x34c2c3['get'](_0x3ea1b6),_0x3f3b73=_0x59884a==_0x465c9e['length']-0x1;(!_0x15d818&&_0x4d7022&&(_0x15d818=_0x4d7022,_0x35ca26=_0x465c9e[_0x59884a]),_0x15d818&&(!_0x4d7022||_0x4d7022['userId']!=_0x15d818['userId']))&&(_0x1fa793(_0x4d7022,L(_0x35ca26,_0xa97241,_0x3386dd),L(_0x465c9e[_0x59884a],_0xa97241,_0x3386dd)),_0x15d818=_0x4d7022||null,_0x35ca26=_0x4d7022?_0x465c9e[_0x59884a]:null),_0x15d818&&_0x3f3b73&&_0x1fa793(_0x4d7022,L(_0x35ca26,_0xa97241,_0x3386dd),W(_0x465c9e[_0x59884a],_0xa97241,_0x3386dd));}function _0x1fa793(_0x45acc1,_0x5d99c7,_0x5c4c90){const _0x4d7a45=_0x15d818['userId'],_0x580084='revision:'+_0x3a7146+':'+_0x4d7a45+':'+_0x547603++,_0x3a28a0=_0x3386dd['createRange'](_0x5d99c7,_0x5c4c90);_0xa97241['markers']['set'](_0x580084,_0x3a28a0),null!==_0x4d7a45&&_0x36139f['add'](_0x4d7a45);}}['_getVidAttributeName'](_0x36c618){switch(_0x36c618['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x4addab,_0x119479){_0x4addab['baseVersion']=null;for(const _0x1f4245 in _0x4addab){const _0x2bd387=_0x4addab[_0x1f4245];if(_0x2bd387 instanceof gt){const _0x57d4e0=_0x119479['get'](_0x2bd387['root']['rootName']);_0x4addab[_0x1f4245]=this['_fixPosition'](_0x2bd387,_0x57d4e0);}if(_0x2bd387 instanceof vt){const _0x1ab53b=_0x119479['get'](_0x2bd387['root']['rootName']);_0x4addab[_0x1f4245]=this['_fixRange'](_0x2bd387,_0x1ab53b);}'root'===_0x1f4245&&(_0x4addab['root']=_0x119479['get'](_0x4addab['root']['rootName']));}}['_fixRange'](_0x5d99db,_0x206236){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5d99db['start'],_0x206236),this['_fixPosition'](_0x5d99db['end'],_0x206236));}['_fixPosition'](_0x57150e,_0x33f5f4){return this['editor']['model']['createPositionFromPath'](_0x33f5f4,_0x57150e['path'],_0x57150e['stickiness']);}['_handleInsertOperation'](_0x195e4e){const _0x322953=this['_idsRoots']['get'](_0x195e4e['position']['root']['rootName']),_0x5e3565=this['_fixPosition'](_0x195e4e['position'],_0x322953),_0x5ba224=null===_0x195e4e['_authorId']?null:_0x195e4e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x37aa6e=_0x5e3565['parent'],_0x3e7089=this['_revisionId'],_0x8d8914=[];for(const _0x5e1636 of _0x195e4e['nodes'])if(_0x5e1636['is']('element'))_0x8d8914['push'](this['_makeIdsRoot'](_0x5e1636));else{for(let _0x2221f4=0x0;_0x2221f4<_0x5e1636['offsetSize'];_0x2221f4++)_0x8d8914['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x41ded6=this['_revisionId'];for(let _0x163e43=_0x3e7089;_0x163e43<_0x41ded6;_0x163e43++)this['_touched']['set'](_0x163e43,{'userId':_0x5ba224});_0x37aa6e['_insertChild'](_0x5e3565['offset'],_0x8d8914);}['_handleMoveOperation'](_0x33d576){(_0x33d576=this['_cloneOperation'](_0x33d576,this['_idsRoots']))['_execute']();const _0x180737=null===_0x33d576['_authorId']?null:_0x33d576['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x321dc0=_0x33d576['getMovedRangeStart'](),_0x2736e0=_0x321dc0['parent'],_0x30f86f=_0x321dc0['offset'];!function _0x28ec0f(_0xa9652c,_0x8c8b18,_0x21e192,_0x26e475){for(let _0x22b2a7=_0x21e192;_0x22b2a7<_0x26e475;_0x22b2a7++){const _0x899cf7=_0x8c8b18['getChild'](_0x22b2a7);_0x899cf7['is']('element','$text')?_0xa9652c['set'](_0x899cf7['getAttribute']('vid'),{'userId':_0x180737}):(_0xa9652c['set'](_0x899cf7['getAttribute']('vid_start'),{'userId':_0x180737}),_0x28ec0f(_0xa9652c,_0x899cf7,0x0,_0x899cf7['childCount']),_0xa9652c['set'](_0x899cf7['getAttribute']('vid_end'),{'userId':_0x180737}));}}(this['_touched'],_0x2736e0,_0x30f86f,_0x30f86f+_0x33d576['howMany']);}['_handleMergeOperation'](_0x43b5e1){const _0x127376=null===(_0x43b5e1=this['_cloneOperation'](_0x43b5e1,this['_idsRoots']))['_authorId']?null:_0x43b5e1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1b5120=_0x43b5e1['targetPosition']['parent'],_0x2c6aed=_0x43b5e1['sourcePosition']['parent'],_0x1131c1=_0x1b5120['getAttribute']('vid_end'),_0x35f332=_0x2c6aed['getAttribute']('vid_start');_0x1b5120['_setAttribute']('vid_end',_0x2c6aed['getAttribute']('vid_end')),_0x2c6aed['_setAttribute']('vid_end',_0x1131c1),this['_touched']['set'](_0x35f332,{'userId':_0x127376}),this['_touched']['set'](_0x1131c1,{'userId':_0x127376}),_0x43b5e1['_execute']();}['_handleSplitOperation'](_0x2b577d){const _0x312db8=null===(_0x2b577d=this['_cloneOperation'](_0x2b577d,this['_idsRoots']))['_authorId']?null:_0x2b577d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x150fe4=_0x2b577d['graveyardPosition'],_0x4f9089=_0x2b577d['splitPosition']['parent'];_0x2b577d['_execute']();const _0x3a7b18=_0x4f9089['getAttribute']('vid_end'),_0x526f07=_0x2b577d['insertionPosition']['nodeAfter'];if(_0x150fe4){const _0x136c37=_0x526f07['getAttribute']('vid_end'),_0x1fa94f=_0x4f9089['getAttribute']('vid_end');_0x4f9089['_setAttribute']('vid_end',_0x136c37),_0x526f07['_setAttribute']('vid_end',_0x1fa94f),this['_touched']['set'](_0x4f9089['getAttribute']('vid_end'),{'userId':_0x312db8}),this['_touched']['set'](_0x526f07['getAttribute']('vid_start'),{'userId':_0x312db8});}else{const _0x59e348=this['_revisionId']++,_0x399c0a=this['_revisionId']++;_0x4f9089['_setAttribute']('vid_end',_0x59e348),_0x526f07['_setAttribute']('vid_start',_0x399c0a),_0x526f07['_setAttribute']('vid_end',_0x3a7b18),this['_touched']['set'](_0x59e348,{'userId':_0x312db8}),this['_touched']['set'](_0x399c0a,{'userId':_0x312db8});}}['_handleMarkerOperation'](_0x362134){if(!_0x362134['affectsData'])return;const _0x5f33bb=(_0x362134=this['_cloneOperation'](_0x362134,this['_diffRoots']))['oldRange']?_0x362134['oldRange']['root']:null,_0x3fdd7d=_0x362134['newRange']?_0x362134['newRange']['root']:null;_0x5f33bb&&this['_markers']['delete'](_0x362134['name']),_0x3fdd7d&&this['_markers']['set'](_0x362134['name'],_0x362134['newRange']['clone']());const _0x523a20=null===_0x362134['_authorId']?null:_0x362134['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x391f1b=_0x362134['name'];if(!this['_touchedMarkers']['has'](_0x391f1b))return void this['_touchedMarkers']['set'](_0x391f1b,{'range':_0x362134['oldRange'],'userId':_0x523a20});const _0x862892=this['_touchedMarkers']['get'](_0x391f1b),_0x510b52=_0x862892['range'],_0x311f68=_0x362134['newRange'];null==_0x510b52&&null==_0x311f68||_0x510b52&&_0x311f68&&_0x510b52['isEqual'](_0x311f68)?this['_touchedMarkers']['delete'](_0x362134['name']):_0x862892['userId']=_0x523a20;}['_handleRootOperation'](_0x37bed8,_0x57bd8f){this['_diffRoots']['has'](_0x37bed8['rootName'])?this['_diffRoots']['get'](_0x37bed8['rootName'])['_isAttached']=_0x37bed8['isAdd']:(this['_diffRoots']['set'](_0x37bed8['rootName'],G(_0x37bed8['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x37bed8['rootName'],{}),_0x57bd8f&&this['_idsRoots']['set'](_0x37bed8['rootName'],G(_0x37bed8['rootName'],!0x0)));const _0x462476=null===_0x37bed8['_authorId']?null:_0x37bed8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xd01e96=this['_touchedRoots']['get'](_0x37bed8['rootName']);_0xd01e96&&_0xd01e96['userId']===_0x462476?this['_touchedRoots']['delete'](_0x37bed8['rootName']):this['_touchedRoots']['set'](_0x37bed8['rootName'],{'userId':_0x462476,'isAttached':_0x37bed8['isAdd']});}['_handleRootAttributeOperation'](_0x4e29a9){const _0x4e3ee1=this['_diffRootsAttributes']['get'](_0x4e29a9['root']['rootName']);null===_0x4e29a9['newValue']?delete _0x4e3ee1[_0x4e29a9['key']]:_0x4e3ee1[_0x4e29a9['key']]=_0x4e29a9['newValue'];}}function q(_0x55e330){const _0x5357df=G(_0x55e330['rootName'],_0x55e330['isAttached']());for(const _0x41bad4 of _0x55e330['getChildren']()){const _0xca33a9=_0x41bad4['_clone'](!0x0);_0x5357df['_appendChild'](_0xca33a9);}return _0x5357df;}function G(_0x274ac7,_0x5318e3=!0x0){const _0x1b5933=new wt();return _0x1b5933['rootName']=_0x274ac7,_0x1b5933['_isAttached']=_0x5318e3,_0x1b5933['isAttached']=()=>_0x1b5933['_isAttached'],_0x1b5933;}function L(_0x44be7e,_0x14ca33,_0x2c4716){const _0x1f8395='elementEnd'==_0x44be7e['type']?_0x2c4716['createPositionAt'](_0x44be7e['item'],'end'):_0x2c4716['createPositionBefore'](_0x44be7e['item']);return _0x2c4716['createPositionFromPath'](_0x14ca33,_0x1f8395['path'],_0x1f8395['stickiness']);}function W(_0x2b813b,_0x213dc2,_0x282041){const _0x8d631d='elementStart'==_0x2b813b['type']?_0x282041['createPositionAt'](_0x2b813b['item'],0x0):_0x282041['createPositionAfter'](_0x2b813b['item']);return _0x282041['createPositionFromPath'](_0x213dc2,_0x8d631d['path'],_0x8d631d['stickiness']);}class ns extends _0x27f285{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x38675c,_0x18a23e){super(_0x38675c),this['focusTracker']=new _0x5578c3(),this['keystrokes']=new _0x2eb83d(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x18a23e),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'](),_0x492e50({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x21aaab=_0x3bdbaf=>_0x3bdbaf['stopPropagation']();this['keystrokes']['set']('arrowright',_0x21aaab),this['keystrokes']['set']('arrowleft',_0x21aaab),this['keystrokes']['set']('arrowup',_0x21aaab),this['keystrokes']['set']('arrowdown',_0x21aaab);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x17d310){this['revisionNameInputView']['fieldView']['element']['value']=_0x17d310['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x12525e){const _0x3f5c30=new at(this['locale'],_0x6040d5),_0x1a7470=_0x3f5c30['fieldView'];_0x1a7470['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x317890=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x12525e&&(_0x317890+='\x20('+y(this['locale'],'optional')+')'),(_0x3f5c30['label']=_0x317890,_0x1a7470['on']('input',()=>{this['revisionNameInputValue']=_0x1a7470['element']['value']['trim']();}),_0x3f5c30);}}class u extends _0x4af4d9{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0xbce80f=this['editor'],_0xf59436=_0xbce80f['plugins']['get']('RevisionTracker');_0xbce80f['ui']['componentFactory']['add']('revisionHistory',_0x35bce5=>{const _0x23d9df=_0x3ca785(_0x35bce5),_0x1a0d43=_0x23d9df['panelView']['children'],_0x13fe08=new te(_0x35bce5),_0xb0595b=new _0x1f67f6(_0x35bce5),_0x3d0c3a=new _0x3763ae(_0x35bce5),_0x449106=new _0x1f67f6(_0x35bce5),_0x1762af=new _0x3763ae(_0x35bce5);return _0x23d9df['bind']('isEnabled')['to'](_0xf59436,'isReady',_0xf59436,'isEnabled',_0xbce80f,'isReadOnly',(_0x101d8c,_0x419714,_0x2870ca)=>_0x101d8c&&_0x419714&&!_0x2870ca),_0x23d9df['buttonView']['set']({'icon':_0x4bb43c['history'],'label':y(_0x35bce5,'Revision\x20history'),'tooltip':!0x0}),_0x3d0c3a['set']({'label':y(_0x35bce5,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3d0c3a['bind']('isEnabled')['to'](_0xf59436,'isReady',_0xf59436,'isEnabled',_0xbce80f,'isReadOnly',(_0x40d82c,_0x4b3cb9,_0x155017)=>_0x40d82c&&_0x4b3cb9&&!_0x155017),_0x3d0c3a['on']('execute',()=>this['_showDialog']()),_0x1762af['set']({'label':y(_0x35bce5,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1762af['bind']('isEnabled')['to'](_0xf59436,'isReady',_0xbce80f,'isReadOnly',(_0x4b8cdf,_0x2be378)=>_0x4b8cdf&&!_0x2be378),_0x1762af['on']('execute',()=>{_0xbce80f['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x23d9df['isOpen']=!0x1,_0xbce80f['editing']['view']['focus']();}),_0xb0595b['children']['add'](_0x3d0c3a),_0x449106['children']['add'](_0x1762af),_0x13fe08['role']='menu',_0x13fe08['items']['addMany']([_0xb0595b,_0x449106]),_0x1a0d43['add'](_0x13fe08),_0x23d9df;}),_0xbce80f['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3d4872=this['editor'],_0x5ee33a=_0x3d4872['locale'],_0x49d12d=new _0x2e9e1d(_0x5ee33a),_0xb628e7=new _0x391afc(_0x5ee33a);_0x49d12d['buttonView']['set']({'icon':_0x4bb43c['history'],'label':y(_0x5ee33a,'Revision\x20history')});const _0x3f857b=new _0x1d9a6f(_0x5ee33a,_0x49d12d),_0x20c501=new _0x1e5685(_0x5ee33a);_0x20c501['set']({'label':y(_0x5ee33a,'Save\x20current\x20revision')}),_0x20c501['delegate']('execute')['to'](_0x49d12d),_0x20c501['on']('execute',()=>{this['_showDialog']();}),_0x3f857b['children']['add'](_0x20c501),_0xb628e7['items']['add'](_0x3f857b);const _0x3728fc=new _0x1d9a6f(_0x5ee33a,_0x49d12d),_0xe7e25b=new _0x1e5685(_0x5ee33a);return _0xe7e25b['set']({'label':y(_0x5ee33a,'Open\x20revision\x20history')}),_0xe7e25b['delegate']('execute')['to'](_0x49d12d),_0xe7e25b['on']('execute',()=>{_0x3d4872['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3728fc['children']['add'](_0xe7e25b),_0xb628e7['items']['add'](_0x3728fc),_0x49d12d['panelView']['children']['add'](_0xb628e7),_0x49d12d;}['_showDialog'](){const _0x410909=this['editor'],_0x1d6e42=_0x410909['locale'],t=_0x1d6e42['t'],_0x1b8fb5=_0x410909['plugins']['get']('Dialog'),_0x42b2a9=_0x410909['plugins']['get']('RevisionTracker');function _0x289662(_0x1d751b){_0x410909['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1d751b['revisionName']?_0x1d751b['revisionNameInputView']['errorText']=y(_0x1d6e42,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x410909['plugins']['get'](l)['saveRevision']({'name':_0x1d751b['revisionName']}),_0x1b8fb5['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x289662(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x1b8fb5['show']({'id':'revisionSave','title':y(_0x1d6e42,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x1b8fb5['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x280ebd){_0x280ebd['bind']('isEnabled')['to'](_0x42b2a9,'isReady',_0x42b2a9,'isEnabled',_0x410909,'isReadOnly',(_0x540cc0,_0x60c1cd,_0x10df88)=>_0x540cc0&&_0x60c1cd&&!_0x10df88);},'onExecute':()=>_0x289662(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0xb83a65=this['editor'],_0x3b51bd=_0xb83a65['locale'];this['_saveRevisionFormView']=new ns(_0x3b51bd,_0xb83a65['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x27f285{['changeId'];['_model'];constructor(_0x52fe33,_0x580eb0){super(_0x52fe33),this['_model']=_0x580eb0,this['changeId']=_0x580eb0['id'];const _0x515f70=this['bindTemplate'],_0x39a48c=y(_0x52fe33,_0x580eb0['data']['isSuggestion']?'Suggested\x20by':'add'==_0x580eb0['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x580eb0['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x515f70['to']('type',_0x4ca6dd=>'ck-revision-change__'+_0x4ca6dd)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x39a48c}]},{'text':'\x20'+_0x580eb0['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x47c9ca(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1f8e9f){super(),this['id']=_0x1f8e9f['id']||_0x5d94f2(),this['author']=_0x1f8e9f['author'],this['type']=_0x1f8e9f['type'],this['data']=_0x1f8e9f['data']||{},this['rootName']=_0x1f8e9f['rootName'],this['set']('createdAt',_0x1f8e9f['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(_0xff0a7b,_0x3ae943){this['newRevisionId']=_0xff0a7b,this['oldRevisionId']=_0x3ae943,this['changes']=new _0x31f8d0();}['_setChanges'](_0x247208){for(const _0xdb8ee0 of _0x247208)this['changes']['add'](_0xdb8ee0);}}const tt={'c':_0x478035,'a':_0x3db0b0,'e':_0x16cb9c,'r':_0x2e2ffc,'u':_0x5a4480};class d extends _0x4af4d9{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x207d34,_0x580916,A];}constructor(_0xf00f43){super(_0xf00f43),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',(_0x25a518,_0x1f1c5c,_0xda1d98)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2ccfe8=>{for(const _0x14c393 of this['editor']['editing']['view']['document']['roots'])_0xda1d98?_0x2ccfe8['removeClass']('ck-editor__editable__overlay',_0x14c393):_0x2ccfe8['addClass']('ck-editor__editable__overlay',_0x14c393);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x9f7693=>null!==_0x9f7693),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x56c971,_0x6499cf,_0x5dd24a)=>_0x56c971&&_0x5dd24a?_0x6499cf['changes']['getIndex'](_0x5dd24a):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1ab423,_0x3106bb)=>_0x1ab423?_0x3106bb['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x580916);}['init'](){const _0x2cc6de=this['editor'],_0x4aa21f=new yt(_0x2cc6de,{'direction':'backward'}),_0x37f98f=new yt(_0x2cc6de,{'direction':'forward'});(_0x2cc6de['commands']['add']('showPreviousChange',_0x4aa21f),_0x2cc6de['commands']['add']('showNextChange',_0x37f98f),_0x2cc6de['commands']['add']('restoreRevision',new bt(_0x2cc6de)),this['on']('change:numberOfChanges',()=>{_0x4aa21f['refresh'](),_0x37f98f['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2cc6de['enableReadOnlyMode']('revision-viewer'),_0x2cc6de['plugins']['has']('WidgetToolbarRepository'))&&_0x2cc6de['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x52b42e){await this['loadRevisionData'](_0x52b42e);const _0x5081f3={};for(const _0x3fd6e0 in _0x52b42e['diffData']){if(_0x52b42e['diffData'][_0x3fd6e0]['attachChange']&&!_0x52b42e['diffData'][_0x3fd6e0]['attachChange']['isAttached'])continue;const _0x47a44b=this['_removeRevisionMarkers'](JSON['parse'](_0x52b42e['diffData'][_0x3fd6e0]['insertions'])),_0x112d38=this['editor']['editing']['view']['document'],_0x1c7e5a=new _0x39c1a8(_0x112d38,_0x47a44b['map'](_0x50011b=>this['_getViewObj'](_0x50011b)));this['editor']['data']['processor']['useFillerType']('marked'),_0x5081f3[_0x3fd6e0]=this['editor']['data']['processor']['toData'](_0x1c7e5a),this['editor']['data']['processor']['useFillerType']('default');}return _0x5081f3;}async['getRevisionRootsAttributes'](_0x18510b){await this['loadRevisionData'](_0x18510b);const _0x574d18={};for(const _0x351a4d in _0x18510b['diffData'])_0x18510b['diffData'][_0x351a4d]['attachChange']&&!_0x18510b['diffData'][_0x351a4d]['attachChange']['isAttached']||(_0x574d18[_0x351a4d]=_0x18510b['diffData'][_0x351a4d]['attributesAfter']||{});return _0x574d18;}['_removeRevisionMarkers'](_0x13ab50){return(_0x13ab50=_0x13ab50['filter'](_0x7f9f66=>!_0x7f9f66['name']||'revision-start'!==_0x7f9f66['name']&&'revision-end'!==_0x7f9f66['name']))['forEach'](_0x5bcb39=>{'string'!=typeof _0x5bcb39&&(_0x5bcb39['children']=this['_removeRevisionMarkers'](_0x5bcb39['children']),_0x5bcb39['attributes']=_0x5bcb39['attributes']['filter'](_0x15131c=>!_0x15131c[0x0]['startsWith']('data-revision-')));}),_0x13ab50;}async['compare'](_0x16293c,_0x2cd523,_0x7d887e=!0x1){if(!this['isEnabled'])return;const _0x1944f7=this['diff'],_0x69d57d=this['repository'],_0x4dbf92='string'==typeof _0x16293c?_0x69d57d['getRevision'](_0x16293c):_0x16293c,_0x4a707b='string'==typeof _0x2cd523?_0x69d57d['getRevision'](_0x2cd523):_0x2cd523,_0x5a3afd=_0x4dbf92['id'],_0x5e8010=_0x4a707b?_0x4a707b['id']:null;if(!_0x7d887e&&this['diff']&&this['diff']['newRevisionId']===_0x5a3afd&&this['diff']['oldRevisionId']===_0x5e8010)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5a3afd,_0x5e8010);const _0x4baf5b=this['_getRevisionsRange'](_0x4dbf92,_0x4a707b,!0x0)['map'](_0x3ac10a=>this['loadRevisionData'](_0x3ac10a));return _0x4baf5b['push'](new Promise(_0x5bb3f2=>{setTimeout(_0x5bb3f2,0x14);})),Promise['all'](_0x4baf5b)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x3a1340=this['_getDiff'](_0x5a3afd,_0x5e8010);for(const _0x378ac1 of _0x3a1340['changes'])this['_changeIdToChange']['set'](_0x378ac1['id'],_0x378ac1);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x28f778=>{for(const _0x33e700 of this['editor']['model']['document']['getRootNames']())_0x28f778['detachRoot'](_0x33e700);for(const _0x551bdd of Object['keys'](_0x3a1340['model'])){const _0x261313=_0x28f778['addRoot'](_0x551bdd);for(const _0x38b129 of Object['keys'](_0x3a1340['attributes'][_0x551bdd]))_0x28f778['setAttribute'](_0x38b129,_0x3a1340['attributes'][_0x551bdd][_0x38b129],_0x261313);_0x28f778['insert'](_0x3a1340['model'][_0x551bdd],_0x261313,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x3a1340['changes'])),this['isReady']=!0x0;})['catch'](_0x346965=>{console['error'](_0x346965),this['_cleanUp'](),_0x1944f7&&(this['diff']=_0x1944f7),this['isReady']=!0x0;});}['addRevisionData'](_0x3506c1,_0x84e765){const _0x5595d1=this['repository']['createRevision'](_0x3506c1);return _0x5595d1['on']('_update',(_0x25d4b0,_0x5e7a5b,_0x50fc75)=>_0x84e765(_0x5e7a5b,_0x50fc75,_0x5595d1)),this['repository']['addRevision'](_0x5595d1),_0x5595d1;}['loadRevisionData'](_0x1e403d){if(!_0x1e403d||_0x1e403d['diffData'])return Promise['resolve']();{const _0x2ce8b0=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2ce8b0,'revisionId':_0x1e403d['id']})['then'](_0x4aa51f=>{_0x1e403d['_update']({'diffData':_0x4aa51f['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},_0x18e9aa=>{for(const _0x5e2a80 of this['editor']['model']['document']['getRootNames']())_0x18e9aa['detachRoot'](_0x5e2a80);});}['_sortAndFilterDiffChanges'](_0x5ed89a){const _0x3c64ac=[],_0x5f348c=new Map();for(const _0x520836 of this['editor']['model']['document']['getRootNames']()){const _0x4b7a51=this['editor']['editing']['view']['getDomRoot'](_0x520836);if(!_0x4b7a51)continue;const _0x33cf40=_0x4b7a51['getClientRects']()['item'](0x0);_0x33cf40&&(_0x3c64ac['push'](_0x520836),_0x5f348c['set'](_0x520836,_0x33cf40));}return _0x3c64ac['sort']((_0x41525a,_0x2b7f38)=>{const _0x34b758=_0x5f348c['get'](_0x41525a),_0x44d642=_0x5f348c['get'](_0x2b7f38);return _0x34b758['y']-_0x44d642['y']||_0x34b758['x']-_0x44d642['x'];}),(_0x5ed89a=_0x5ed89a['filter'](_0x157715=>_0x3c64ac['includes'](_0x157715['rootName'])))['sort']((_0xef914f,_0x24e134)=>_0x3c64ac['indexOf'](_0xef914f['rootName'])-_0x3c64ac['indexOf'](_0x24e134['rootName'])),_0x5ed89a;}['_makeTape'](_0x5db7da){const _0x3e0f8d=Array['from'](_0x5db7da['markers'])['filter'](([_0x495f0d,_0x33a852])=>_0x495f0d['startsWith']('revision:')&&!_0x33a852['isCollapsed']),_0x3fc0af=Array['from'](this['editor']['model']['createRangeIn'](_0x5db7da)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3e0f8d['length'])for(const _0x22715f of _0x3fc0af){const [_0x1bda63,_0x42c777]=_0x3e0f8d[0x0],[,_0x15c850,_0x43ddbf]=_0x1bda63['split'](':');if(_0x42c777['end']['isEqual'](_0x22715f['nextPosition'])&&_0x3e0f8d['shift'](),(_0x22715f['previousPosition']['isEqual'](_0x42c777['start'])||_0x22715f['previousPosition']['isAfter'](_0x42c777['start']))&&('insertion'==_0x15c850?_0x22715f['isAdded']={'userId':_0x43ddbf}:'deletion'==_0x15c850&&(_0x22715f['isRemoved']={'userId':_0x43ddbf})),0x0==_0x3e0f8d['length'])break;}return _0x3fc0af;}['_refreshStartEndIndex'](_0x1cd880){const _0x404d37=new Map();for(let _0x3b8a97=0x0;_0x3b8a97<_0x1cd880['length'];_0x3b8a97++)'text'===_0x1cd880[_0x3b8a97]['type']?(_0x1cd880[_0x3b8a97]['item']['startIndex']=_0x3b8a97,_0x1cd880[_0x3b8a97]['item']['endIndex']=_0x3b8a97):('elementStart'===_0x1cd880[_0x3b8a97]['type']?_0x1cd880[_0x3b8a97]['item']['startIndex']=_0x3b8a97:'elementEnd'===_0x1cd880[_0x3b8a97]['type']&&(_0x1cd880[_0x3b8a97]['item']['endIndex']=_0x3b8a97),_0x404d37['set'](_0x1cd880[_0x3b8a97]['id'],_0x3b8a97));for(const _0x1acaab of _0x404d37['values']())'elementStart'===_0x1cd880[_0x1acaab]['type']?_0x1cd880[_0x1acaab]['item']['endIndex']=_0x404d37['get'](_0x1cd880[_0x1acaab]['pairId']):'elementEnd'===_0x1cd880[_0x1acaab]['type']&&(_0x1cd880[_0x1acaab]['item']['startIndex']=_0x404d37['get'](_0x1cd880[_0x1acaab]['pairId']));}['_processTape'](_0x302fbd){for(let _0x533099=0x0;_0x533099<_0x302fbd['length'];_0x533099++){if('elementStart'===_0x302fbd[_0x533099]['type'])_0x302fbd[_0x533099]['item']['startIndex']=_0x533099;else{if('elementEnd'===_0x302fbd[_0x533099]['type']){_0x302fbd[_0x533099]['item']['endIndex']=_0x533099;const _0x7ec24a=_0x302fbd[_0x533099]['item']['startIndex'];_0x302fbd[_0x7ec24a]['pairId']=_0x302fbd[_0x533099]['id'],_0x302fbd[_0x533099]['pairId']=_0x302fbd[_0x7ec24a]['id'];}else _0x302fbd[_0x533099]['item']['startIndex']=_0x533099,_0x302fbd[_0x533099]['item']['endIndex']=_0x533099,_0x302fbd[_0x533099]['pairId']=null;}_0x302fbd[_0x533099]['markersStart']||(_0x302fbd[_0x533099]['markersStart']=[],_0x302fbd[_0x533099]['markersEnd']=[]);}}['_markInsertions'](_0x56c073,_0x2cb7f6){const _0xc1bf80=_0x56c073['filter'](_0x18a209=>!_0x18a209['isAdded']);for(let _0x55afc2=0x0;_0x55afc2<_0x2cb7f6['length'];_0x55afc2++)_0x2cb7f6[_0x55afc2]['isAdded']&&(_0xc1bf80[_0x55afc2]['isAdded']=_0x2cb7f6[_0x55afc2]['isAdded']);}['_makeModelFromViewString'](_0x843d4b){const _0x2d8006=JSON['parse'](_0x843d4b),_0xbfcf24=this['editor']['editing']['view']['document'],_0x5a6eea=new _0x39c1a8(_0xbfcf24,_0x2d8006['map'](_0x5a5ef4=>this['_getViewObj'](_0x5a5ef4)));return this['editor']['data']['toModel'](_0x5a6eea);}['_getViewObj'](_0x3ebe77){const _0xe9e50b=this['editor']['editing']['view']['document'];if('string'==typeof _0x3ebe77)return new _0x20a804(_0xe9e50b,_0x3ebe77);{const _0x3f9fad=_0x3ebe77['children']['map'](_0x39120a=>this['_getViewObj'](_0x39120a));return new(tt[_0x3ebe77['type']]||_0x396ff4)(_0xe9e50b,_0x3ebe77['name'],_0x3ebe77['attributes'],_0x3f9fad);}}['_getDiff'](_0xde84fb,_0x2fefbc=null){const _0xb56bd3=this['repository']['getRevision'](_0xde84fb),_0x27e5bf=_0x2fefbc?this['repository']['getRevision'](_0x2fefbc):null,_0x1c09b5=this['_getRevisionsRange'](_0xb56bd3,_0x27e5bf),_0x1b7c3e=_0x1c09b5[_0x1c09b5['length']-0x1],_0x340e25=new Map(),_0xb8cf49={'model':{},'attributes':{},'changes':[]},_0x502108=new Set(),_0x5bbf03=new Map();for(let _0x56e82c=_0x1c09b5['length']-0x1;_0x56e82c>=0x0;_0x56e82c--){const _0x745788=_0x1c09b5[_0x56e82c];for(const _0x1a9a77 of Object['keys'](_0x745788['diffData']))if(_0x745788['diffData'][_0x1a9a77]['attachChange']){const _0x4016c3=_0x745788['diffData'][_0x1a9a77]['attachChange'];_0x4016c3['isAttached']?(_0x502108['add'](_0x1a9a77),_0x5bbf03['has'](_0x1a9a77)&&_0x5bbf03['get'](_0x1a9a77)['userId']==_0x4016c3['userId']?_0x5bbf03['delete'](_0x1a9a77):_0x5bbf03['set'](_0x1a9a77,_0x4016c3)):_0x5bbf03['has'](_0x1a9a77)?(_0x502108['delete'](_0x1a9a77),_0x5bbf03['delete'](_0x1a9a77)):(_0x502108['add'](_0x1a9a77),_0x5bbf03['set'](_0x1a9a77,_0x4016c3));}else _0x502108['add'](_0x1a9a77);}for(const _0x4096be of _0x502108){const _0x2d581f=_0x5bbf03['has'](_0x4096be)&&!_0x5bbf03['get'](_0x4096be)['isAttached'];let _0xebc6bc=_0x2d581f?_0x1c09b5['length']-0x1:0x0;const _0x2fac79=_0x2d581f?-0x1:0x1;for(;_0x1c09b5[_0xebc6bc];){const _0x1664ef=_0x1c09b5[_0xebc6bc];if(_0x1664ef['diffData'][_0x4096be]){const _0x5dedd3=_0x2d581f?_0x1664ef['diffData'][_0x4096be]['attributesBefore']:_0x1664ef['diffData'][_0x4096be]['attributesAfter'];_0xb8cf49['attributes'][_0x4096be]=_0x5dedd3?_0x8c2e07(_0x5dedd3):{};break;}_0xebc6bc+=_0x2fac79;}}for(const _0x59d915 of _0x1c09b5){_0x59d915['model']={};for(const _0x42793e of _0x59d915['authors'])_0x340e25['set'](_0x42793e['id'],_0x42793e);for(const _0x1bda2a of _0x502108){const _0x3a9849=_0x59d915['diffData'][_0x1bda2a]?_0x59d915['diffData'][_0x1bda2a]['insertions']:'[]',_0x32385e=_0x59d915['diffData'][_0x1bda2a]?_0x59d915['diffData'][_0x1bda2a]['deletions']:'[]';_0x59d915['model'][_0x1bda2a]={'insertions':this['_makeModelFromViewString'](_0x3a9849),'deletions':this['_makeModelFromViewString'](_0x32385e)};}}for(const _0x4e96b3 of _0x502108){let _0x44e039=null,_0x48c100=0x0;const _0x14165a=new Map(Array['from'](_0xb56bd3['model'][_0x4e96b3]['insertions']['markers'])['filter'](([_0x29a82c])=>!_0x29a82c['startsWith']('revision:')));let _0x16248d=0x0;for(const _0x592ffc of _0x1c09b5){const _0x3fe5cf=this['_makeTape'](_0x592ffc['model'][_0x4e96b3]['insertions']);_0x592ffc==_0xb56bd3?(_0x44e039=_0x3fe5cf,_0x48c100=_0x44e039['length'],_0x44e039['forEach'](_0x2469fa=>{_0x2469fa['id']=_0x16248d++;}),this['_processTape'](_0x44e039)):this['_markInsertions'](_0x44e039,_0x3fe5cf);const _0x405d1f=_0x44e039['filter'](_0x1cff81=>!_0x1cff81['isAdded'])['map'](_0x374344=>_0x374344['id']);let _0x25a7a6=0x0;const _0x338201=this['_makeTape'](_0x592ffc['model'][_0x4e96b3]['deletions']);_0x338201['forEach'](_0x4e2c8c=>{_0x4e2c8c['isRemoved']?_0x4e2c8c['id']=_0x48c100++:_0x4e2c8c['id']=_0x405d1f[_0x25a7a6++];}),this['_processTape'](_0x338201),this['_setDistance'](_0x44e039,'isAdded'),this['_setDistance'](_0x338201,'isRemoved'),_0x592ffc==_0xb56bd3&&this['_markMarkers'](_0x44e039,_0x14165a),_0x44e039=this['_joinTapes'](_0x44e039,_0x338201),this['_refreshStartEndIndex'](_0x44e039),this['_setDistance'](_0x44e039,'isRemoved');}_0x44e039=_0x44e039['filter'](_0x9872a3=>!(_0x9872a3['isAdded']&&_0x9872a3['isRemoved']));const _0x2b5d6e=new Map(_0x1b7c3e['model'][_0x4e96b3]['deletions']['markers']),_0x514f1d=new Set(_0x14165a['keys']());for(const _0x20a22e of _0x2b5d6e['keys']())_0x514f1d['delete'](_0x20a22e);this['_markSuggestions'](_0x44e039,_0x514f1d),this['_fixObsoleteTags'](_0x44e039),_0x44e039=this['_removeMissingPairs'](_0x44e039),_0x44e039=this['_markMismatchedRemovedTags'](_0x44e039),_0x44e039=this['_removeUnsupportedChanges'](_0x44e039);const {root:_0x3f8d30,changes:_0x3f3796}=this['_makeModelFromTape'](_0x44e039,_0x340e25,_0x4e96b3);_0xb8cf49['model'][_0x4e96b3]=_0x3f8d30;const _0x281913=_0x5bbf03['get'](_0x4e96b3);if(_0x281913){const _0x5474a2=_0x340e25['get'](_0x281913['userId']),_0x882fab=new r({'author':_0x5474a2,'type':_0x281913['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4e96b3});_0x3f3796['unshift'](_0x882fab),_0xb8cf49['attributes'][_0x4e96b3]['revisionHistoryAttachChange']=_0x882fab['id'];}_0xb8cf49['changes']=_0xb8cf49['changes']['concat'](_0x3f3796);}return _0xb8cf49;}['_markMarkers'](_0x568324,_0x136de7){for(let _0x38dea5=0x0;_0x38dea5<_0x568324['length'];_0x38dea5++)for(const [_0x2da7ba,_0x317d8a]of _0x136de7)_0x317d8a['start']['isEqual'](_0x568324[_0x38dea5]['previousPosition'])&&_0x568324[_0x38dea5]['markersStart']['push'](_0x2da7ba),_0x317d8a['end']['isEqual'](_0x568324[_0x38dea5]['nextPosition'])&&_0x568324[_0x38dea5]['markersEnd']['push'](_0x2da7ba);}['_joinTapes'](_0xf2b460,_0x3c2b6b){let _0x54cc51=[],_0x188a37=0x0,_0x6b1288=0x0;for(;_0x188a37<_0xf2b460['length']||_0x6b1288<_0x3c2b6b['length'];){const _0x3a4744=_0xf2b460[_0x188a37]||{},_0x1713b9=_0x3c2b6b[_0x6b1288]||{};if(_0x3a4744['id']==_0x1713b9['id'])_0x188a37++,_0x6b1288++,_0x54cc51['push'](_0x3a4744);else{if(_0x1713b9['isRemoved']&&_0x3a4744['isAdded']){const {commonTape:_0x5f4851,iEnd:_0x26515e,jEnd:_0x2410e8}=this['_threeWayMerge'](_0xf2b460,_0x188a37,_0x3c2b6b,_0x6b1288);_0x54cc51=_0x54cc51['concat'](_0x5f4851),_0x188a37=_0x26515e,_0x6b1288=_0x2410e8;}else _0x1713b9['isRemoved']?(_0x6b1288++,_0x54cc51['push'](_0x1713b9)):(_0x188a37++,_0x54cc51['push'](_0x3a4744));}}return _0x54cc51;}['_markSuggestions'](_0xb92c82,_0x46329c){const _0x370e49=[];for(let _0x23907c=0x0;_0x23907c<_0xb92c82['length'];_0x23907c++){for(let _0x2f0f19=0x0;_0x2f0f19<_0xb92c82[_0x23907c]['markersStart']['length'];_0x2f0f19++){const _0x12012d=_0xb92c82[_0x23907c]['markersStart'][_0x2f0f19];if(!_0x46329c['has'](_0x12012d))continue;const {group:_0x2b4719,type:_0x372b7b,authorId:_0x58f2ad}=_0x10d10f(_0x12012d);'revision-suggestion'!=_0x2b4719||'insertion'!=_0x372b7b&&'deletion'!=_0x372b7b||(_0x370e49['unshift']({'type':_0x372b7b,'name':_0x12012d,'userId':_0x58f2ad}),_0xb92c82[_0x23907c]['markersStart']['splice'](_0x2f0f19,0x1),_0x2f0f19--);}_0x549ebf(_0xb92c82[_0x23907c]);for(let _0x163ec7=0x0;_0x163ec7<_0xb92c82[_0x23907c]['markersEnd']['length'];_0x163ec7++){const _0x341373=_0xb92c82[_0x23907c]['markersEnd'][_0x163ec7];if(!_0x46329c['has'](_0x341373))continue;const {group:_0x5dbb30,type:_0x11fc6a}=_0x10d10f(_0x341373);if('revision-suggestion'!=_0x5dbb30||'insertion'!=_0x11fc6a&&'deletion'!=_0x11fc6a)continue;_0xb92c82[_0x23907c]['markersEnd']['splice'](_0x163ec7,0x1),_0x163ec7--;const _0x1f1734=_0x370e49['findIndex'](_0x3772aa=>_0x3772aa['name']==_0x341373);_0x1f1734>-0x1&&_0x370e49['splice'](_0x1f1734,0x1);}}function _0x10d10f(_0x2ef3d7){const _0x4c9de3=_0x2ef3d7['split'](':');return{'group':_0x4c9de3[0x0],'type':_0x4c9de3[0x1],'subType':_0x4c9de3['length']>=0x5?_0x4c9de3[0x2]:null,'id':_0x4c9de3['length']<0x5?_0x4c9de3[0x2]:_0x4c9de3[0x3],'authorId':_0x4c9de3['length']<0x5?_0x4c9de3[0x3]:_0x4c9de3[0x4],'markerCount':0x6==_0x4c9de3['length']?_0x4c9de3[0x5]:null};}function _0x549ebf(_0xc1409){for(let _0x210394=0x0;_0x210394<_0x370e49['length'];_0x210394++){if(_0xc1409['isAdded']&&'insertion'==_0x370e49[_0x210394]['type'])return _0xc1409['isAddSuggestion']=_0x370e49[_0x210394],void delete _0xc1409['isAdded'];if(!_0xc1409['isAdded']&&!_0xc1409['isRemoved']&&'deletion'==_0x370e49[_0x210394]['type'])return void(_0xc1409['isRemoveSuggestion']=_0x370e49[_0x210394]);}}}['_setDistance'](_0x23486d,_0xe4bbf3){let _0xc86056=0x0,_0x4b13f4=!0x1;const _0x444d39=new Map();for(const _0x44d494 of _0x23486d)_0x44d494[_0xe4bbf3]?_0x4b13f4&&(_0xc86056++,_0x4b13f4=!0x1):(_0xc86056++,_0x4b13f4=!0x0),_0x444d39['set'](_0x44d494['id'],_0xc86056);for(let _0x4da0d2=0x0;_0x4da0d2<_0x23486d['length'];_0x4da0d2++){if('isRemoved'==_0xe4bbf3&&_0x23486d[_0x4da0d2]['isAdded']||'isAdded'==_0xe4bbf3&&_0x23486d[_0x4da0d2]['isRemoved'])continue;if('text'==_0x23486d[_0x4da0d2]['type']){_0x23486d[_0x4da0d2]['distance']=0x0;continue;}const _0x46175e=_0x444d39['get'](_0x23486d[_0x4da0d2]['pairId']),_0x5e2ead=_0x444d39['get'](_0x23486d[_0x4da0d2]['id']);_0x23486d[_0x4da0d2]['distance']=_0x46175e-_0x5e2ead;}}['_getRevisionsRange'](_0x302718,_0x494f83,_0x37c118=!0x1){const _0x224b4f=[];let _0xff1cb2=this['repository']['getIndex'](_0x302718),_0xeb7f75=this['repository']['getIndex'](_0x494f83);for(-0x1==_0xeb7f75&&(_0xeb7f75=this['repository']['_revisions']['length'],_0x37c118=!0x1);_0xff1cb2<_0xeb7f75;)_0x224b4f['push'](this['repository']['getRevision'](_0xff1cb2)),_0xff1cb2++;return _0x37c118&&_0x224b4f['push'](this['repository']['getRevision'](_0xff1cb2)),_0x224b4f;}['_threeWayMerge'](_0x4117b1,_0x54ead8,_0x110de1,_0xc05c02){const _0x367771=this['editor']['model']['schema'];let _0x458e10=_0x54ead8;for(;_0x4117b1[_0x458e10]&&_0x4117b1[_0x458e10]['isAdded'];)_0x458e10++;let _0x42d80d=_0xc05c02;for(;_0x110de1[_0x42d80d]&&_0x110de1[_0x42d80d]['isRemoved'];)_0x42d80d++;_0x52979a(_0x4117b1,_0x54ead8,_0x458e10),_0x52979a(_0x110de1,_0xc05c02,_0x42d80d);const _0x1ee80e=_0x110de1['slice'](_0xc05c02,_0x42d80d)['concat'](_0x4117b1['slice'](_0x54ead8,_0x458e10));return _0x1ee80e['sort']((_0x163891,_0x4bf830)=>_0x163891['side']!=_0x4bf830['side']?_0x163891['side']-_0x4bf830['side']:_0x163891['level']!=_0x4bf830['level']?_0x163891['level']-_0x4bf830['level']:_0x163891['distance']!=_0x4bf830['distance']?_0x4bf830['distance']-_0x163891['distance']:!!_0x163891['isAdded']!=!!_0x4bf830['isAdded']?-0x1==_0x163891['side']||0x0==_0x163891['side']?_0x163891['isAdded']?-0x1:0x1:_0x163891['isAdded']?0x1:-0x1:_0x163891['index']-_0x4bf830['index']),{'commonTape':_0x1ee80e,'iEnd':_0x458e10,'jEnd':_0x42d80d};function _0x52979a(_0x480909,_0x59f0fb,_0x2b77f4){let _0x58280d=-0x1,_0x108ff1=Number['POSITIVE_INFINITY'],_0xee394d=!0x0;for(let _0x3ddcb4=_0x59f0fb;_0x3ddcb4<_0x2b77f4;_0x3ddcb4++)if(_0x367771['isInline'](_0x480909[_0x3ddcb4]['item'])||(_0xee394d=!0x1),_0x480909[_0x3ddcb4]['item']['startIndex']<_0x59f0fb&&(_0x58280d=_0x3ddcb4),_0x480909[_0x3ddcb4]['item']['endIndex']>=_0x2b77f4){_0x108ff1=_0x3ddcb4;break;}_0xee394d&&(_0x58280d=_0x2b77f4-0x1);for(let _0x72740b=_0x59f0fb;_0x72740b<_0x2b77f4;_0x72740b++)_0x480909[_0x72740b]['side']=_0x72740b<=_0x58280d?-0x1:_0x72740b<_0x108ff1?0x0:0x1,_0x480909[_0x72740b]['index']=_0x72740b;let _0x4af7a1=0x0;for(let _0x4879d6=_0x59f0fb;_0x4879d6<=_0x58280d;_0x4879d6++)0x0==_0x480909[_0x4879d6]['distance']?_0x480909[_0x4879d6]['level']=_0x4af7a1:(_0x4af7a1++,_0x480909[_0x4879d6]['level']=_0x4af7a1,_0x4af7a1++);for(let _0x4e88d3=_0x59f0fb;_0x4e88d3<_0x2b77f4;_0x4e88d3++)0x0==_0x480909[_0x4e88d3]['side']&&(_0x480909[_0x4e88d3]['level']=_0x4af7a1);_0x4af7a1=0x0;for(let _0x315685=_0x2b77f4-0x1;_0x315685>=_0x108ff1;_0x315685--)0x0==_0x480909[_0x315685]['distance']?_0x480909[_0x315685]['level']=_0x4af7a1:(_0x4af7a1--,_0x480909[_0x315685]['level']=_0x4af7a1,_0x4af7a1--);}}['_fixObsoleteTags'](_0x4c5307){const _0x3d0d8e=new Map(),_0x22a580=this['editor']['model']['schema'];for(let _0x3a7bdb=0x1;_0x3a7bdb<_0x4c5307['length'];_0x3a7bdb++){let _0x28b371,_0x1b4bf8,_0x710248;const _0x1566e8=_0x4c5307[_0x3a7bdb],_0x226856=_0x4c5307[_0x3a7bdb-0x1];if('text'==_0x1566e8['type'])continue;if(_0x1566e8['type']!=_0x226856['type'])continue;if(!_0x22a580['isBlock'](_0x226856['item'])||_0x22a580['isLimit'](_0x226856['item']))continue;if(!_0x22a580['isBlock'](_0x1566e8['item'])||_0x22a580['isLimit'](_0x1566e8['item']))continue;if((_0x4c5307[_0x3a7bdb]['isAdded']||_0x4c5307[_0x3a7bdb]['isAddSuggestion'])&&_0x4c5307[_0x3a7bdb-0x1]['isRemoved'])_0x28b371=_0x4c5307[_0x3a7bdb],_0x1b4bf8=_0x4c5307[_0x3a7bdb-0x1],_0x710248=_0x3a7bdb-0x1;else{if(!_0x4c5307[_0x3a7bdb]['isRemoved']||!_0x4c5307[_0x3a7bdb-0x1]['isAdded']&&!_0x4c5307[_0x3a7bdb-0x1]['isAddSuggestion'])continue;_0x28b371=_0x4c5307[_0x3a7bdb-0x1],_0x1b4bf8=_0x4c5307[_0x3a7bdb],_0x710248=_0x3a7bdb;}const _0x37be6e=_0x28b371['level']==_0x1b4bf8['level'],_0x14196e=Math['abs'](_0x28b371['level'])<Math['abs'](_0x1b4bf8['level'])&&0x0==_0x1b4bf8['distance'];(_0x37be6e||_0x14196e)&&(_0x3d0d8e['set'](_0x1b4bf8['id'],_0x28b371['id']),_0x4c5307['splice'](_0x710248,0x1),_0x3a7bdb--,_0x28b371['isAdded']=!0x1);}for(let _0x424464=0x0;_0x424464<_0x4c5307['length'];_0x424464++)_0x3d0d8e['has'](_0x4c5307[_0x424464]['pairId'])&&(_0x4c5307[_0x424464]['pairId']=_0x3d0d8e['get'](_0x4c5307[_0x424464]['pairId']));}['_removeMissingPairs'](_0x2df0a2){const _0x19b0e5=new Set(_0x2df0a2['map'](_0x351a2c=>_0x351a2c['id']));for(let _0x150226=0x0;_0x150226<_0x2df0a2['length'];_0x150226++)_0x19b0e5['has'](_0x2df0a2[_0x150226]['pairId'])||0x0==_0x2df0a2[_0x150226]['distance']||(_0x2df0a2[_0x150226]['isIncorrect']=!0x0);return _0x2df0a2['filter'](_0x209d06=>!_0x209d06['isIncorrect']);}['_markMismatchedRemovedTags'](_0x4e0b2f){const _0x232f36=new Set();for(let _0x1a8af5=0x0;_0x1a8af5<_0x4e0b2f['length'];_0x1a8af5++){if(_0x232f36['has'](_0x4e0b2f[_0x1a8af5]['id'])&&_0x4e0b2f[_0x1a8af5]['isRemoved']&&(_0x4e0b2f[_0x1a8af5]['isIncorrect']=!0x0),_0x4e0b2f[_0x1a8af5]['isIncorrect'])continue;if(0x0==_0x4e0b2f[_0x1a8af5]['distance'])continue;if('elementStart'!=_0x4e0b2f[_0x1a8af5]['type'])continue;if(null==_0x4e0b2f[_0x1a8af5]['pairId'])continue;let _0x11cae6=_0x1a8af5+0x1,_0x9d530a=0x0;for(;_0x4e0b2f[_0x11cae6]['id']!=_0x4e0b2f[_0x1a8af5]['pairId'];)'elementStart'==_0x4e0b2f[_0x11cae6]['type']?_0x9d530a++:'elementEnd'==_0x4e0b2f[_0x11cae6]['type']&&_0x9d530a--,_0x11cae6++;if(0x0!=_0x9d530a){if(_0x4e0b2f[_0x1a8af5]['isRemoved'])_0x4e0b2f[_0x1a8af5]['isIncorrect']=!0x0;else{for(;_0x11cae6!=_0x1a8af5;)_0x4e0b2f[_0x11cae6]['isRemoved']&&0x0!=_0x4e0b2f[_0x11cae6]['distance']&&(_0x4e0b2f[_0x11cae6]['isIncorrect']=!0x0,_0x232f36['add'](_0x4e0b2f[_0x11cae6]['pairId'])),_0x11cae6--;}}}return _0x4e0b2f['filter'](_0x44c09b=>!_0x44c09b['isIncorrect']);}['_removeUnsupportedChanges'](_0x17aed6){const _0x2c040e=this['editor']['model']['schema'];for(let _0x339378=0x0;_0x339378<_0x17aed6['length'];_0x339378++){if(!(_0x17aed6[_0x339378]['isAdded']||_0x17aed6[_0x339378]['isAddSuggestion']||_0x17aed6[_0x339378]['isRemoved']||_0x17aed6[_0x339378]['isRemoveSuggestion']))continue;if(0x0==_0x17aed6[_0x339378]['distance'])continue;const _0x5f0828=_0x17aed6[_0x339378]['item'];_0x2c040e['isBlock'](_0x5f0828)||_0x2c040e['isLimit'](_0x5f0828)||(_0x17aed6[_0x339378]['isAdded']&&delete _0x17aed6[_0x339378]['isAdded'],_0x17aed6[_0x339378]['isAddSuggestion']&&delete _0x17aed6[_0x339378]['isAddSuggestion'],_0x17aed6[_0x339378]['isRemoveSuggestion']&&delete _0x17aed6[_0x339378]['isRemoveSuggestion'],_0x17aed6[_0x339378]['isRemoved']&&(_0x17aed6[_0x339378]['isIncorrect']=!0x0));}return _0x17aed6['filter'](_0x17ead1=>!_0x17ead1['isIncorrect']);}['_makeModelFromTape'](_0x1117b2,_0x443986,_0x57bc3e){const _0xebcc35=new wt(),_0x168e40=[],_0x3ef0de=new Map(),_0xb9ed9=this['editor']['model'],_0x5c0aba=_0xb9ed9['schema'],_0x5e68da=[_0xebcc35],_0x41e9ad={},_0x1f1c54={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x49356d=null;const _0x22eca0=[0x0];for(let _0x35d096=0x0;_0x35d096<_0x1117b2['length'];_0x35d096++){let _0xabcdaf,_0x1a8765;if('elementStart'===_0x1117b2[_0x35d096]['type']){_0xabcdaf=_0xb9ed9['createPositionFromPath'](_0xebcc35,_0x22eca0);const _0x32b097=new ft(_0x1117b2[_0x35d096]['item']['name'],_0x1117b2[_0x35d096]['item']['getAttributes']());_0x5e68da[0x0]['_appendChild'](_0x32b097),_0x22eca0['push'](0x0),_0x5e68da['unshift'](_0x32b097),_0x1a8765=_0xb9ed9['createPositionFromPath'](_0xebcc35,_0x22eca0),_0x49356d=null;}else{if('elementEnd'===_0x1117b2[_0x35d096]['type'])_0x5e68da['shift'](),_0xabcdaf=_0xb9ed9['createPositionFromPath'](_0xebcc35,_0x22eca0),_0x22eca0['pop'](),_0x22eca0[_0x22eca0['length']-0x1]++,_0x1a8765=_0xb9ed9['createPositionFromPath'](_0xebcc35,_0x22eca0),_0x49356d=null;else{if(_0xabcdaf=_0xb9ed9['createPositionFromPath'](_0xebcc35,_0x22eca0),_0x49356d&&_0x1292e0(_0x49356d,_0x1117b2[_0x35d096]['item']))_0x49356d['_data']+=_0x1117b2[_0x35d096]['item']['data'];else{const _0x2b8098=new _t(_0x1117b2[_0x35d096]['item']['data'],_0x1117b2[_0x35d096]['item']['getAttributes']());_0x5e68da[0x0]['_appendChild'](_0x2b8098),_0x49356d=_0x2b8098;}_0x22eca0[_0x22eca0['length']-0x1]+=_0x1117b2[_0x35d096]['item']['offsetSize'],_0x1a8765=_0xb9ed9['createPositionFromPath'](_0xebcc35,_0x22eca0);}}for(const _0x1fff6d of _0x1117b2[_0x35d096]['markersStart'])_0x3ef0de['set'](_0x1fff6d,{'start':_0xabcdaf,'end':null});_0x29de83('isRemoveSuggestion',_0x35d096,_0xabcdaf,_0x1a8765),_0x29de83('isAddSuggestion',_0x35d096,_0xabcdaf,_0x1a8765),_0x29de83('isRemoved',_0x35d096,_0xabcdaf,_0x1a8765),_0x29de83('isAdded',_0x35d096,_0xabcdaf,_0x1a8765);for(const _0x18a625 of _0x1117b2[_0x35d096]['markersEnd']){_0x3ef0de['get'](_0x18a625)['end']=_0x1a8765;}}for(const [_0x84ed4c,_0xc8ef4a]of _0x3ef0de){const _0x3a1b9b=this['editor']['model']['createRange'](_0xc8ef4a['start'],_0xc8ef4a['end']);_0xebcc35['markers']['set'](_0x84ed4c,_0x3a1b9b);}return _0x168e40['sort']((_0x35a7c4,_0x34db15)=>{const _0x3f3d56=_0xebcc35['markers']['get']('revision:'+_0x35a7c4['id']),_0x16b3d5=_0xebcc35['markers']['get']('revision:'+_0x34db15['id']);return _0x3f3d56['start']['isBefore'](_0x16b3d5['start'])?-0x1:_0x3f3d56['start']['isAfter'](_0x16b3d5['start'])?0x1:_0x3f3d56['end']['isBefore'](_0x16b3d5['end'])?-0x1:_0x3f3d56['end']['isAfter'](_0x16b3d5['end'])?0x1:'add'===_0x35a7c4['type']?-0x1:0x1;}),{'root':_0xebcc35,'changes':_0x168e40};function _0x29de83(_0x401200,_0x4c169c,_0x179e64,_0x317e04){const _0x4ac328=!!_0x1117b2[_0x4c169c][_0x401200],_0xa25328=_0x4ac328?_0x1117b2[_0x4c169c][_0x401200]['userId']:null,_0x49c37=_0x4c169c===_0x1117b2['length']-0x1,_0x484637=_0x1f1c54[_0x401200][0x0],_0x4d0edf=_0x5c0aba['isObject'](_0x1117b2[_0x4c169c]['item']);!_0x41e9ad[_0x401200]&&_0x4ac328?_0x41e9ad[_0x401200]={'start':_0x179e64,'tapeItem':_0x1117b2[_0x4c169c],'userId':_0xa25328,'type':_0x401200}:_0x41e9ad[_0x401200]&&!_0x4ac328?(_0x41e9ad[_0x401200]['end']=_0x179e64,_0xdbfd13(_0x41e9ad[_0x401200]),_0x41e9ad[_0x401200]=null):_0x41e9ad[_0x401200]&&_0x4ac328&&_0x41e9ad[_0x401200]['userId']!==_0xa25328&&(_0x41e9ad[_0x401200]['end']=_0x179e64,_0x484637&&_0x484637['userId']===_0x41e9ad[_0x401200]['userId']||_0xdbfd13(_0x41e9ad[_0x401200]),_0x41e9ad[_0x401200]={'start':_0x179e64,'tapeItem':_0x1117b2[_0x4c169c],'userId':_0xa25328,'type':_0x401200}),_0x41e9ad[_0x401200]&&_0x4d0edf&&('elementStart'!==_0x1117b2[_0x4c169c]['type']||_0x484637&&_0x484637['userId']===_0xa25328||_0x1f1c54[_0x401200]['unshift']({'userId':_0xa25328,'object':_0x1117b2[_0x4c169c]['item'],'change':_0x41e9ad[_0x401200]}),'elementEnd'===_0x1117b2[_0x4c169c]['type']&&_0x484637&&_0x484637['object']===_0x1117b2[_0x4c169c]['item']&&(_0x1f1c54[_0x401200]['shift'](),_0x41e9ad[_0x401200]=_0x484637['change'])),_0x41e9ad[_0x401200]&&_0x49c37&&(_0x41e9ad[_0x401200]['end']=_0x317e04,_0xdbfd13(_0x41e9ad[_0x401200]),_0x41e9ad[_0x401200]=null);}function _0xdbfd13({start:_0xd8fa93,end:_0x22b41d,tapeItem:_0x176b3f,userId:_0x127e7c,type:_0xd725e8}){const _0x336458=_0x176b3f['item'],_0x1006e8=_0xb9ed9['schema']['isBlock'](_0x336458)&&!_0xb9ed9['schema']['isLimit'](_0x336458),_0x364ccb=_0xd8fa93['nodeAfter']==_0x22b41d['parent']&&_0x22b41d['isAtStart'];if(_0x1006e8&&_0x364ccb)return;const _0x52ed4d=_0xb9ed9['createRange'](_0xd8fa93,_0x22b41d),_0x13573f=_0x443986['get'](_0x127e7c),_0x456ca2=new r({'author':_0x13573f,'type':'isAdded'==_0xd725e8||'isAddSuggestion'==_0xd725e8?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xd725e8||'isRemoveSuggestion'==_0xd725e8},'createdAt':new Date(),'rootName':_0x57bc3e});_0x168e40['push'](_0x456ca2),_0xebcc35['markers']['set']('revision:'+_0x456ca2['id'],_0x52ed4d);}function _0x1292e0(_0x29bea8,_0x2141b6){const _0x39e74f=_0x29bea8['getAttributes'](),_0x4aa763=_0x2141b6['getAttributes']();for(const _0x36f922 of _0x39e74f){if(_0x36f922[0x1]!==_0x2141b6['getAttribute'](_0x36f922[0x0]))return!0x1;_0x4aa763['next']();}return _0x4aa763['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x426271=>{const _0x57cb97=_0x426271['markerName']['split'](':')[0x1],_0x4028fe=this['_getChangeFromId'](_0x57cb97);if(!_0x4028fe)return null;const _0x1aec8a='add'==_0x4028fe['type']?'insertion':'deletion',_0x34bea9=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1aec8a];return _0x4028fe['data']['isSuggestion']&&_0x34bea9['push']('ck-suggestion-marker-'+_0x1aec8a+'-new'),this['activeChange']==_0x4028fe&&_0x34bea9['push']('ck-suggestion-marker--active'),{'classes':_0x34bea9,'attributes':{'data-change-id':_0x57cb97}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x1ca2b4=>{_0x1ca2b4['on']('element:pre',(_0x541c57,_0x580f4c,_0x4f5ec1)=>{const _0x47294f=_0x580f4c['viewItem']['getChild'](0x0);if(!_0x47294f||!_0x47294f['is']('element','code'))return;if(!_0x4f5ec1['consumable']['consume'](_0x47294f,{'attributes':['vid_start','vid_end']}))return;const _0x348668=_0x580f4c['modelRange']['start']['nodeAfter'];_0x4f5ec1['writer']['setAttribute']('vid_start',_0x47294f['getAttribute']('vid_start'),_0x348668),_0x4f5ec1['writer']['setAttribute']('vid_end',_0x47294f['getAttribute']('vid_end'),_0x348668);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x2cae2d=>{_0x2cae2d['on']('element',(_0x29da2d,_0x543a27,_0x24ab91)=>{if(!_0x24ab91['consumable']['consume'](_0x543a27['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x543a27['modelRange']['isCollapsed'])return;const _0x268e42=_0x543a27['modelRange']['start']['nodeAfter'];_0x268e42['hasAttribute']('vid_start')||_0x268e42['hasAttribute']('vid')||(_0x24ab91['writer']['setAttribute']('vid_start',_0x543a27['viewItem']['getAttribute']('vid_start'),_0x268e42),_0x24ab91['writer']['setAttribute']('vid_end',_0x543a27['viewItem']['getAttribute']('vid_end'),_0x268e42));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x5ba395=>_0x5ba395['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x1bb4d2,[,_0x2283a9])=>{['vid_start','vid_end','vid']['includes'](_0x2283a9)&&(_0x1bb4d2['return']=!0x0,_0x1bb4d2['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4f290b=>{_0x4f290b['on']('attribute:vid',(_0x21e5d0,_0x2700b7,_0x4cf6b3)=>{if('\x20'!=_0x2700b7['item']['data']||_0x2700b7['item']['parent']['maxOffset']>0x1)return;if(!_0x4cf6b3['consumable']['consume'](_0x2700b7['item'],_0x21e5d0['name']))return;const _0x1fb883=_0x4cf6b3['writer'],_0xce3c6a=_0x4cf6b3['mapper']['toViewRange'](_0x2700b7['range']);_0x1fb883['wrap'](_0xce3c6a,_0x1fb883['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x351e7d){const _0x2de126=_0x351e7d['plugins']['get']('RevisionViewer');return(_0xfb5a67,_0x5bf475,_0x1a3204)=>{const _0x274e81=_0x5bf475['markerName']['split'](':')[0x1],_0x21cab9=_0x2de126['_getChangeFromId'](_0x274e81);if(!_0x21cab9)return null;const _0x49fbbe='add'==_0x21cab9['type']?'split':'merge';if(!_0x1a3204['consumable']['test'](_0x5bf475['markerRange'],_0xfb5a67['name']))return;const _0x2e416b=_0x5bf475['markerRange']['getWalker'](),_0x11bfde=_0x5bf475['markerRange']['start'],_0x29abd6=_0x351e7d['model']['schema'];let _0x192065=null,_0x222884=null,_0x365e9a=!0x1,_0x598cb5=!0x1;for(const _0x139e29 of _0x2e416b){const _0xc2a358=_0x139e29['item'];_0x365e9a=_0x365e9a||_0x29abd6['isContent'](_0xc2a358);const _0x336a24=_0x1a3204['mapper']['toViewElement'](_0xc2a358);if(_0x336a24&&_0x336a24['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x139e29['type']&&(_0x29abd6['isBlock'](_0xc2a358)&&!_0x29abd6['isLimit'](_0xc2a358)&&(_0xc2a358['nextSibling']||_0x11bfde['isAtEnd']?_0x192065&&_0x192065['parent']==_0xc2a358||(_0x192065=_0xc2a358,_0x38eab8(_0x139e29['previousPosition']),_0x598cb5=!0x0):_0x222884=_0x222884||_0x139e29['previousPosition']));}function _0x38eab8(_0x2538fc){const _0x50a8ab=_0x1a3204['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x49fbbe}),_0x2c64dd=_0x1a3204['mapper']['toViewPosition'](_0x2538fc);_0x21cab9['data']['isSuggestion']&&_0x1a3204['writer']['addClass']('ck-suggestion-marker-'+_0x49fbbe+'-new',_0x50a8ab),_0x2de126['activeChange']==_0x21cab9&&_0x1a3204['writer']['addClass']('ck-suggestion-marker--active',_0x50a8ab),_0x1a3204['writer']['insert'](_0x2c64dd,_0x50a8ab),_0x1a3204['mapper']['bindElementToMarker'](_0x50a8ab,_0x5bf475['markerName']);}_0x365e9a||_0x598cb5||!_0x222884||_0x38eab8(_0x222884);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x45069e,_0x1160a3,_0x2bdc03)=>{const _0x7cf3a6=_0x2bdc03['mapper']['markerNameToElements'](_0x1160a3['markerName']);if(_0x7cf3a6){for(const _0x3d7ee3 of _0x7cf3a6)(_0x3d7ee3['hasClass']('ck-suggestion-marker-split')||_0x3d7ee3['hasClass']('ck-suggestion-marker-merge'))&&(_0x2bdc03['mapper']['unbindElementFromMarkerName'](_0x3d7ee3,_0x1160a3['markerName']),_0x2bdc03['writer']['remove'](_0x3d7ee3));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5e9947,_0x278f88,_0x2f41b4)=>{const _0x199615=_0x278f88['markerName']['split'](':')[0x1],_0x53f7c4=this['_getChangeFromId'](_0x199615);if(!_0x53f7c4)return null;const _0x42ff80='add'==_0x53f7c4['type']?'split':'merge';if(_0x2f41b4['consumable']['test'](_0x278f88['markerRange'],_0x5e9947['name']))for(const _0x5cddad of _0x278f88['markerRange']['getItems']()){if(!_0x5cddad['is']('element','softBreak'))continue;const _0x1687aa=_0x2f41b4['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x42ff80}),_0x30a9dc=_0x2f41b4['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x5cddad));_0x53f7c4['data']['isSuggestion']&&_0x2f41b4['writer']['addClass']('ck-suggestion-marker-'+_0x42ff80+'-new',_0x1687aa),this['activeChange']==_0x53f7c4&&_0x2f41b4['writer']['addClass']('ck-suggestion-marker--active',_0x1687aa),_0x2f41b4['writer']['insert'](_0x30a9dc,_0x1687aa),_0x2f41b4['mapper']['bindElementToMarker'](_0x1687aa,_0x278f88['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x23a532=>{for(const _0x33b116 of this['editor']['model']['document']['getRootNames']()){const _0x4c1fba=this['editor']['model']['document']['getRoot'](_0x33b116),_0x1aa9c7=this['editor']['editing']['view']['document']['getRoot'](_0x33b116);if(_0x1aa9c7){const _0x17c4aa=_0x4c1fba['getAttribute']('revisionHistoryAttachChange');if(_0x23a532['removeAttribute']('data-change-id',_0x1aa9c7),_0x23a532['removeClass']('ck-revision-history-root-add',_0x1aa9c7),_0x23a532['removeClass']('ck-revision-history-root-remove',_0x1aa9c7),_0x23a532['removeClass']('ck-revision-history-root--active',_0x1aa9c7),_0x17c4aa){const _0x4d72be=this['_getChangeFromId'](_0x17c4aa);if(!_0x4d72be)return null;_0x23a532['setAttribute']('data-change-id',_0x17c4aa,_0x1aa9c7),_0x23a532['addClass']('ck-revision-history-root-'+_0x4d72be['type'],_0x1aa9c7),this['activeChange']==_0x4d72be&&_0x23a532['addClass']('ck-revision-history-root--active',_0x1aa9c7);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5c6914=>'revision-comment:'+_0x5c6914,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x4debdc=>'revision-suggestion:'+_0x4debdc,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x36914d=>({'name':'suggestion:'+_0x36914d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2af34e=>{const _0x52ef73=_0x2af34e['markerName']['split'](':')[0x1];return'insertion'!=_0x52ef73&&'deletion'!=_0x52ef73?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x52ef73]};}}),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',(_0x198954,_0x29a903,_0x4387dc)=>{const _0x7c1151=_0x4387dc['mapper']['markerNameToElements'](_0x29a903['markerName']);if(_0x7c1151){for(const _0x274877 of _0x7c1151)_0x274877['is']('uiElement')&&(_0x4387dc['mapper']['unbindElementFromMarkerName'](_0x274877,_0x29a903['markerName']),_0x4387dc['writer']['remove'](_0x274877));}},{'priority':'high'});}['_getChangeFromId'](_0x5ae840){return this['_changeIdToChange']['get'](_0x5ae840);}['_getViewForChange'](_0x2580d4){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2580d4),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x57052a,_0x52c7d9,_0x1482b1,_0x31aead)=>{_0x31aead&&this['_balloon']['remove'](_0x31aead),_0x1482b1&&(this['_balloon']['add']({'view':_0x1482b1,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x40dc91=this['editor']['editing'],_0x1448fc=this['_getChangeFromId'](_0x1482b1['changeId']);let _0x4f9169;if(_0x1448fc['data']['isOnRoot']){const _0x4d43c8=_0x40dc91['view']['getDomRoot'](_0x1448fc['rootName']);_0x4f9169=Array['from'](_0x4d43c8['getClientRects']());}else{const _0x37cae5=this['editor']['model']['markers']['get']('revision:'+_0x1482b1['changeId']);_0x4f9169=Array['from'](_0x40dc91['mapper']['markerNameToElements'](_0x37cae5['name']))['map'](_0x36c54d=>_0x40dc91['view']['domConverter']['mapViewToDom'](_0x36c54d))['map'](_0x48606b=>Array['from'](_0x48606b['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4f9169[0x0];return _0x4f9169['find'](_0x533bbb=>_0x533bbb['top']-0x3<=this['_activeViewTarget']['y']&&_0x533bbb['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x533bbb['left']-0x3<=this['_activeViewTarget']['x']&&_0x533bbb['right']+0x3>=this['_activeViewTarget']['x'])||_0x4f9169[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3bea8e,_0x2d2076,_0x23a03d,_0x3f2480)=>{this['activeView']=_0x23a03d?this['_getViewForChange'](_0x23a03d):null,this['editor']['model']['change'](()=>{const _0x132966=this['editor']['editing'];_0x3f2480&&(_0x3f2480['data']['isOnRoot']?_0x132966['view']['change'](_0x2d95ee=>{_0x2d95ee['removeClass']('ck-revision-history-root--active',_0x132966['view']['document']['getRoot'](_0x3f2480['rootName']));}):_0x132966['reconvertMarker']('revision:'+_0x3f2480['id'])),_0x23a03d&&(_0x23a03d['data']['isOnRoot']?_0x132966['view']['change'](_0x404ad6=>{_0x404ad6['addClass']('ck-revision-history-root--active',_0x132966['view']['document']['getRoot'](_0x23a03d['rootName']));}):_0x132966['reconvertMarker']('revision:'+_0x23a03d['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x24fb2e,_0x47a732)=>{if(this['activeChange'])return;const _0x5ef2b9=this['_findChangeIdFromDomTarget'](_0x47a732['target']),_0x246b31=this['_changeIdToChange']['get'](_0x5ef2b9);_0x246b31?(this['_activeViewTarget']={'x':_0x47a732['domEvent']['x'],'y':_0x47a732['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x246b31)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x166563,_0x31d7de)=>{const _0xd590a6=this['_findChangeIdFromDomTarget'](_0x31d7de['target']),_0x440b6d=this['_changeIdToChange']['get'](_0xd590a6);_0x440b6d?(this['_activeViewTarget']={'x':_0x31d7de['domEvent']['x'],'y':_0x31d7de['domEvent']['y']},_0x440b6d===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x440b6d):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x532a63){do{const _0x65a70f=_0x532a63['getAttribute']('data-change-id');if(_0x65a70f)return _0x65a70f;_0x532a63=_0x532a63['parent'];}while(_0x532a63);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4db738=>{for(const _0x563ce7 of this['editor']['model']['markers'])_0x4db738['removeMarker'](_0x563ce7);});}}function et(_0x36d987,_0x4361dd){return(_0x1d2b1a,_0x3fd814,_0x1b6b6a)=>{if(!_0x1b6b6a['consumable']['test'](_0x3fd814['markerRange'],_0x1d2b1a['name']))return;const _0x397f24=_0x3fd814['markerRange']['getWalker'](),_0x15a2e6=_0x3fd814['markerRange']['start'],_0x2f9e04=_0x36d987['model']['schema'];let _0x4dd7b8=null,_0x3f32a6=null,_0x2e6bf=!0x1,_0x460e3d=!0x1;for(const _0x6e82d8 of _0x397f24){const _0x42f5b5=_0x6e82d8['item'];_0x2e6bf=_0x2e6bf||_0x2f9e04['isContent'](_0x42f5b5);const _0x4bbd96=_0x1b6b6a['mapper']['toViewElement'](_0x42f5b5);if(_0x4bbd96&&_0x4bbd96['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x6e82d8['type']&&(_0x2f9e04['isBlock'](_0x42f5b5)&&!_0x2f9e04['isLimit'](_0x42f5b5)&&(_0x42f5b5['nextSibling']||_0x15a2e6['isAtEnd']?_0x4dd7b8&&_0x4dd7b8['parent']==_0x42f5b5||(_0x4dd7b8=_0x42f5b5,_0x53f394(_0x6e82d8['previousPosition']),_0x460e3d=!0x0):_0x3f32a6=_0x3f32a6||_0x6e82d8['previousPosition']));}function _0x53f394(_0x230d55){const _0x3cf53a=_0x1b6b6a['mapper']['toViewPosition'](_0x230d55),_0x4bb4b3=_0x1b6b6a['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4361dd});_0x1b6b6a['writer']['insert'](_0x3cf53a,_0x4bb4b3),_0x1b6b6a['mapper']['bindElementToMarker'](_0x4bb4b3,_0x3fd814['markerName']);}_0x2e6bf||_0x460e3d||!_0x3f32a6||_0x53f394(_0x3f32a6);};}class bt extends _0x54c1d2{constructor(_0xd3a5a2){super(_0xd3a5a2);const _0x3b1d70=_0xd3a5a2['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x3b1d70,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3b1d70,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x144ff3=this['editor'],_0x570947=_0x144ff3['plugins']['get'](d),_0xfd5630=_0x570947['isReady']?_0x570947['diff']['newRevisionId']:null;_0x144ff3['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xfd5630);}['refresh'](){const {isReady:_0x35fb34,isEnabled:_0x125f6d}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x35fb34&&_0x125f6d;}}class yt extends _0x54c1d2{['_step'];constructor(_0x1fdd60,{direction:_0x4c5c36}){super(_0x1fdd60);const _0x401ab9=_0x1fdd60['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x4c5c36?0x1:-0x1,this['listenTo'](_0x401ab9,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x401ab9,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x401ab9,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x50e049=this['editor'],_0x9722d7=_0x50e049['plugins']['get'](d),{isNavigationMode:_0x5022d6,currentChangeNumber:_0x5317ff}=_0x9722d7;let _0xe378e5;if(_0x9722d7['activeChange']=_0x5022d6?_0x9722d7['diff']['changes']['get'](_0x5317ff+this['_step']):_0x9722d7['diff']['changes']['first'],_0x9722d7['activeChange']['data']['isOnRoot'])_0xe378e5=_0x50e049['editing']['view']['getDomRoot'](_0x9722d7['activeChange']['rootName']);else{const _0x32e5d5=_0x50e049['model']['markers']['get']('revision:'+_0x9722d7['activeChange']['id']);_0xe378e5=_0x2c2b59(_0x50e049['editing'],_0x32e5d5);}_0x598b43({'target':_0xe378e5,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x2de4f9,currentChangeNumber:_0x1233a7,numberOfChanges:_0x41f349,isReady:_0x474aa,isEnabled:_0x3a3bf1}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x3a3bf1&&_0x474aa&&_0x41f349)&&(!_0x2de4f9||(0x1===this['_step']?_0x1233a7<_0x41f349-0x1:_0x1233a7>0x0));}}class _i extends _0x27f285{constructor(_0x2942fe){super(_0x2942fe);const _0xb4a3b4=this['bindTemplate'],_0x1c39c9=new _0x3763ae(_0x2942fe),_0x9f75e1=new _0x3763ae(_0x2942fe);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',(_0x1206d1,_0xd10aca)=>_0x1206d1&&_0xd10aca>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xd72177,_0x4ad782,_0x34f7ab,_0x4a6efb)=>{if(!_0xd72177)return y(_0x2942fe,'Loading...');if(!_0x34f7ab)return y(_0x2942fe,'No\x20changes');const _0x274d6a=y(_0x2942fe,'NUMBER_OF_CHANGES',_0x34f7ab);return _0x4a6efb?y(_0x2942fe,'X_OF_Y_CHANGES',[_0x4ad782+0x1,_0x34f7ab]):_0x274d6a;}),_0x1c39c9['set']({'label':y(_0x2942fe,'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'}),_0x9f75e1['set']({'label':y(_0x2942fe,'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'}),_0x1c39c9['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x9f75e1['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1c39c9['on']('execute',()=>this['fire']('execute','backward')),_0x9f75e1['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',_0xb4a3b4['if']('_isStatusLabelVisible','ck-hidden',_0x2d43f9=>!_0x2d43f9)]},'children':[{'text':_0xb4a3b4['to']('isNavigationMode',_0x4f30da=>_0x4f30da?y(_0x2942fe,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2942fe,'Total')+':\x20')}]},{'text':_0xb4a3b4['to']('_statusText')}]},new _0x4a8786(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1c39c9,_0x9f75e1]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x4af4d9{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x4f7611=this['editor']['editing']['view'];_0x4f7611['change'](_0x42a059=>{for(const _0xc70a82 of _0x4f7611['document']['roots'])_0x42a059['addClass'](ce,_0xc70a82);});}['hide'](){const _0x48ee1c=this['editor']['editing']['view'];_0x48ee1c['change'](_0x471293=>{for(const _0xbebfc9 of _0x48ee1c['document']['roots'])_0x471293['removeClass'](ce,_0xbebfc9);});}}class R extends _0x4af4d9{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2d8576=this['editor'],_0x1b0a83=_0x2d8576['plugins']['get'](d),_0xbae252=_0x2d8576['plugins']['get'](de);_0x2d8576['ui']['componentFactory']['add']('exitToEditing',_0x9c810=>{const _0x442cca=new _0x3763ae(_0x9c810);return _0x442cca['set']({'label':y(_0x9c810,'Back\x20to\x20editing'),'icon':_0x4bb43c['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x442cca,'execute',()=>{_0x2d8576['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x442cca;}),_0x2d8576['ui']['componentFactory']['add']('restoreRevision',_0x1b2a64=>{const _0x22fa50=new _0x3763ae(_0x1b2a64);return _0x22fa50['set']({'label':y(_0x1b2a64,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x22fa50['bind']('isEnabled')['to'](_0x2d8576['commands']['get']('restoreRevision')),this['listenTo'](_0x22fa50,'execute',()=>_0x2d8576['execute']('restoreRevision')),_0x22fa50;}),_0x2d8576['ui']['componentFactory']['add']('changesNavigation',_0x368015=>{const _0x17e39d=new _i(_0x368015),_0x4dfac1=_0x2d8576['commands']['get']('showPreviousChange'),_0x3c119b=_0x2d8576['commands']['get']('showNextChange');return _0x17e39d['bind']('isBackwardNavigationEnabled')['to'](_0x4dfac1,'isEnabled'),_0x17e39d['bind']('isForwardNavigationEnabled')['to'](_0x3c119b,'isEnabled'),_0x17e39d['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x1b0a83),this['listenTo'](_0x17e39d,'execute',(_0x52c172,_0x44f0d1)=>{_0x2d8576['execute']('forward'===_0x44f0d1?'showNextChange':'showPreviousChange');}),_0x17e39d;}),_0xbae252['show'](),_0x1b0a83['on']('change:isReady',(_0x3f3b1f,_0x544caf,_0x44ce92)=>{_0x44ce92?_0xbae252['hide']():_0xbae252['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x2e154b,_0x29cfe5){super(_0x2e154b,_0x29cfe5);const _0x4f1701=this['bindTemplate'];this['set']({'label':y(_0x2e154b,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x2e154b,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4f1701['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 _0x322f43=this['fieldView']['element'];this['_tooltipString']=_0x322f43['scrollWidth']>_0x322f43['clientWidth']&&_0x322f43['value']||'';}}class ti extends _0x27f285{constructor(_0x205c99,_0x4f11c8,_0x4a5379){super(_0x205c99);const _0x2b2c1b=new _0x1153e0();_0x2b2c1b['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 _0x2fd6de=['ck','ck-revision-history-sidebar__revision-author'];_0x4a5379&&_0x2fd6de['push']('ck-revision-history-sidebar__revision-author_creator');const _0x45dc3b=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x205c99,_0x4a5379?'Revision\x20creator':'Revision\x20author')},'children':[_0x2b2c1b,_0x4f11c8['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2fd6de},'children':_0x45dc3b});}}function ni(_0xb87cc5,_0x4e0bec){const _0x5ad390=_0xb87cc5['bindTemplate'],_0x2f2ca8=_0xb87cc5['locale'],_0x4ff353=_0x3ca785(_0x2f2ca8);_0x4ff353['panelPosition']='sw';const _0x3b1ed0=function(_0x172c05,_0x3aad5b){const _0x1839e5=function(_0x1a93af,_0x330593){const _0x254cb5=_0x1a93af['locale'],_0x6c594e={'Compare\x20against\x20selected':y(_0x254cb5,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x254cb5,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x254cb5,'Restore\x20this\x20revision')};return _0x330593['map'](_0x1f109e=>{const _0x2450c6=_0x6c594e[_0x1f109e['name']];return _0x2450c6&&_0x2450c6!==_0x1f109e['name']&&(_0x1f109e['name']=_0x2450c6),_0x1f109e;});}(_0x172c05,_0x3aad5b),_0x532e06=new _0x31f8d0();for(const _0x142ea3 of _0x1839e5){const _0x3a76bc={'type':'button','model':new to({'label':_0x142ea3['name'],'class':_0x142ea3['class'],'withText':!0x0,'role':'menuitem','_action':_0x142ea3['action']})};_0x3a76bc['model']['bind']('isEnabled')['to'](_0x172c05,'isActionsDropdownOpen',_0x28cf52=>'function'!=typeof _0x142ea3['isEnabled']||(!_0x28cf52||_0x142ea3['isEnabled'](_0x172c05))),_0x532e06['add'](_0x3a76bc);}return _0x532e06;}(_0xb87cc5,_0x4e0bec);return _0xb87cc5['bind']('isActionsDropdownOpen')['to'](_0x4ff353,'isOpen'),_0x4ff353['buttonView']['set']({'label':y(_0x2f2ca8,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x4bb43c['threeVerticalDots']}),_0x4ff353['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x5ad390['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x5ad390['to'](_0x182ec9=>_0x182ec9['stopPropagation']())}}),_0x4ff353['on']('execute',_0x2f0f7e=>{_0xb87cc5['isReady']&&'function'==typeof _0x2f0f7e['source']['_action']&&_0x2f0f7e['source']['_action'](_0xb87cc5);}),_0x327f33(_0x4ff353,_0x3b1ed0,{'role':'menu'}),_0x4ff353['listenTo'](_0xb87cc5,'change:isActionsDropdownOpen',(_0x25f755,_0xc5756d,_0x33e3b5)=>{if(_0x33e3b5)for(const _0x41a203 of _0x4ff353['listView']['items']){const _0x45e720=_0x41a203['children']['first'],_0x389e3c=_0x4e0bec['find'](_0x20e31a=>_0x20e31a['action']===_0x45e720['_action'])['isVisible'];_0x41a203['isVisible']=void 0x0===_0x389e3c||_0x389e3c(_0xb87cc5);}}),_0x4ff353;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x44eaf7(_0x27f285){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x1769ce,_0x295080,_0x3b8779,_0x58e6d8){super(_0x1769ce);const _0x3a6e40=this['bindTemplate'],_0x43df80=function(_0x1c98b6,_0x595feb){const _0x444737=Array['from'](_0x595feb['authors'])['filter'](_0x5870d1=>_0x5870d1!=_0x595feb['creator']);return _0x595feb['creator']&&_0x444737['unshift'](_0x595feb['creator']),_0x444737['map'](_0x18f479=>new ti(_0x1c98b6,_0x18f479,_0x18f479==_0x595feb['creator']));}(_0x1769ce,_0x295080);this['id']=_0x295080['id'],this['_revision']=_0x295080,this['_requireRevisionName']=_0x58e6d8,this['bind']('name','createdAt')['to'](_0x295080),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x5ba820=>{return _0x1afe89=_0x1769ce['uiLanguage'],(_0x2066aa=_0x5ba820)['toLocaleDateString'](_0x1afe89,{'month':'long','day':'numeric'})+',\x20'+_0x2066aa['toLocaleTimeString'](_0x1afe89,{'hour':'numeric','minute':'numeric'});var _0x1afe89,_0x2066aa;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x1769ce,_0x6040d5),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x195c0f=>_0x195c0f||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x325452,_0x301d34)=>_0x325452&&_0x301d34),this['revisionActionsView']=_0x3b8779&&_0x3b8779['length']?ni(this,_0x3b8779):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3a6e40['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3a6e40['if']('isEnabled','ck-disabled',_0x9dd9fd=>!_0x9dd9fd),_0x3a6e40['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3a6e40['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3a6e40['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':_0x3a6e40['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':_0x43df80}]},this['revisionActionsView']],'on':{'click':_0x3a6e40['to'](_0x5eae23=>{_0x5eae23['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3b215e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3b215e,'change',()=>{this['_requireRevisionName']&&!_0x3b215e['value']||this['fire']('setName',{'id':this['id'],'name':_0x3b215e['value']}),_0x3b215e['value']||(_0x3b215e['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x1b68c7,_0x1d845a){const _0xf2dff1=_0x499192['fromJSDate'](_0x1b68c7)['setLocale'](_0x1d845a),_0x6ccb84=_0x499192['local'](),_0x124fde=_0x6ccb84['minus']({'days':0x1})['startOf']('day');let _0x3d7d6c,_0x308afb;return _0xf2dff1['hasSame'](_0x6ccb84,'day')?(_0x3d7d6c=_0xf2dff1['startOf']('day')['toJSDate'](),_0x308afb=_0xf2dff1['toRelativeCalendar']()):_0xf2dff1['hasSame'](_0x124fde,'day')?(_0x3d7d6c=_0x124fde['toJSDate'](),_0x308afb=_0xf2dff1['toRelativeCalendar']()):_0xf2dff1['hasSame'](_0x6ccb84,'week')?(_0x3d7d6c=_0xf2dff1['startOf']('week')['toJSDate'](),_0x308afb=_0xf2dff1['weekdayLong']||''):_0xf2dff1['hasSame'](_0x6ccb84,'year')?(_0x3d7d6c=_0xf2dff1['startOf']('month')['toJSDate'](),_0x308afb=_0xf2dff1['monthLong']||''):(_0x3d7d6c=_0xf2dff1['startOf']('year')['toJSDate'](),_0x308afb=String(_0xf2dff1['year'])),{'startDate':_0x3d7d6c,'localizedPeriodName':_0x308afb};}class mi extends _0x27f285{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x48fec6,_0x277b73,_0x35ad06,_0x470ffc){super(_0x48fec6);const _0x2b7480=di(_0x277b73,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x277b73,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x35ad06,this['_requireRevisionName']=_0x470ffc,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':_0x2b7480}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x5d2269){const _0x26cb7c=new ai(this['locale'],_0x5d2269,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x26cb7c);}['removeRevision'](_0x5dfb7a){const _0x2570c4=this['revisionViews']['find'](_0x507cb9=>_0x507cb9['id']===_0x5dfb7a['id']);this['revisionViews']['remove'](_0x2570c4);}}class as extends _0x27f285{constructor(_0x35fba4){super(_0x35fba4);const _0x13c7b0=new _0x1153e0();_0x13c7b0['content']=_0x4bb43c['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x13c7b0,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x35fba4,'Revision\x20history')]}]});}}class ci extends _0x27f285{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1bda27,_0x4778c9,_0x41b4ea,_0x64596){super(_0x1bda27);const _0x4917ef=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x4778c9,this['_revisionActions']=_0x41b4ea,this['_requireRevisionName']=_0x64596,this['on']('select',(_0x5c9c86,_0xd78f03)=>{this['fire']('revisionSelected',_0xd78f03);}),this['on']('setName',(_0x598297,_0x115734)=>{this['fire']('revisionSetName',_0x115734);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x1bda27),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x4917ef['if']('isEnabled','ck-disabled',_0x23788a=>!_0x23788a)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x197b40 of this['_revisions'])this['_addRevision'](_0x197b40);this['_revisions']['on']('add',(_0xa288ab,_0x341654)=>{this['_addRevision'](_0x341654);}),this['_revisions']['on']('remove',(_0x572ece,_0x15993a)=>{this['_removeRevision'](_0x15993a);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0xc167a1=>_0xc167a1['revisionViews']['map'](_0xcf83e=>_0xcf83e))['flat']();}['selectRevision'](_0x3dd58f){for(const _0x4bd564 of this['revisionViews'])_0x3dd58f&&_0x3dd58f['id']===_0x4bd564['id']?_0x4bd564['select']():_0x4bd564['deselect']();}['highlightRevisions'](_0x4dd943){for(const _0x3e06c4 of this['revisionViews'])_0x4dd943['some'](({id:_0x392853})=>_0x392853===_0x3e06c4['id'])?_0x3e06c4['highlight']():_0x3e06c4['unhighlight']();}['_addRevision'](_0x28932b){const _0x59196b=di(_0x28932b['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2959b3=this['timePeriodViews']['get'](0x0);_0x2959b3&&_0x2959b3['startDate']['getTime']()===_0x59196b['getTime']()||(_0x2959b3=new mi(this['locale'],_0x59196b,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2959b3)),_0x2959b3['addRevision'](_0x28932b);}['_removeRevision'](_0x2c18ad){const _0x4d4a7d=di(_0x2c18ad['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x4d4a7d)['removeRevision'](_0x2c18ad);}['_getTimePeriodViewByStartDate'](_0x35afaa){return this['timePeriodViews']['find'](_0x1c84a1=>_0x1c84a1['startDate']['getTime']()===_0x35afaa['getTime']());}}class w extends _0x4af4d9{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x1b7a4e,Context as _0x5bef50,PendingActions as _0x25023b,icons as _0x3dd9b1,Command as _0x5779c7,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5330e2,uid as _0x53c5f2,Collection as _0x2828e8,logWarning as _0x235a91,FocusTracker as _0x2e00ab,KeystrokeHandler as _0x249f2e,scrollViewportToShowTarget as _0x118915,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x253004}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5465dc,getMarkerDomElement as _0x30781b,ConfirmMixin as _0x138e0e,sanitizeEditorConfig as _0x3a0f85}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2eb8a6,ViewText as _0x34914d,ViewElement as _0x533cf7,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x233f02,ViewAttributeElement as _0x3c7d2e,ViewEmptyElement as _0x109678,ViewRawElement as _0x660f43,ViewUIElement as _0x55efa8,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x485582,set as _0xbed7ac,unset as _0xd87b11,isEqual as _0x436daf}from'lodash-es';import{View as _0x5ab15a,injectCssTransitionDisabler as ts,submitHandler as _0x4ca2cd,LabeledFieldView as at,createLabeledInputText as _0x44a15d,createDropdown as _0x2d15dd,ListView as te,ListItemView as _0x509449,ButtonView as _0x33eaaa,MenuBarMenuView as _0x3b0631,MenuBarMenuListView as _0x179823,MenuBarMenuListItemView as _0x837eab,MenuBarMenuListItemButtonView as _0x21866b,ContextualBalloon as _0x2bb583,ToolbarSeparatorView as _0x492735,IconView as _0x1506e2,addListToDropdown as _0x1a986a,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 _0x164735}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x5330e2(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x6790a7){super(),this['id']=_0x6790a7['id']||_0x53c5f2(),this['creator']=_0x6790a7['creator']||null,this['authors']=_0x6790a7['authors']||[],this['diffData']=_0x6790a7['diffData']||null,this['toVersion']=_0x6790a7['toVersion']||0x0,this['fromVersion']=_0x6790a7['fromVersion']||0x0,this['set']('name',_0x6790a7['name']||''),this['set']('createdAt',_0x6790a7['createdAt']||new Date()),this['set']('attributes',_0x6790a7['attributes']||{});}['setName'](_0x16a4ea){this['_update']({'name':_0x16a4ea});}['setAttribute'](_0x47b47f,_0xfbc70d){const _0x1710be=_0x485582(this['attributes']);_0xbed7ac(_0x1710be,_0x47b47f,_0xfbc70d),this['_update']({'attributes':_0x1710be});}['removeAttribute'](_0xc66ba){const _0x153938=_0x485582(this['attributes']);_0xd87b11(_0x153938,_0xc66ba),this['_update']({'attributes':_0x153938});}['_update'](_0x4a7a71,_0x5d942e=!0x1){let _0xc706ad=!0x1;const _0x32bcc2={'id':this['id']},_0x400b11=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x347d1d of _0x400b11){const _0x26dc75=_0x4a7a71[_0x347d1d];void 0x0!==_0x26dc75&&_0x26dc75!==this[_0x347d1d]&&(this[_0x347d1d]=_0x26dc75,_0x32bcc2[_0x347d1d]=_0x26dc75,_0xc706ad=!0x0);}_0xc706ad&&(_0x32bcc2['authors']&&(_0x32bcc2['authorsIds']=_0x32bcc2['authors']['map'](_0x2cc1e0=>_0x2cc1e0['id']),delete _0x32bcc2['authors']),this['fire']('_update',_0x32bcc2,_0x5d942e));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x29b630=>_0x29b630['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1b7a4e{['_revisions'];static get['requires'](){return[_0x5465dc];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x8e896){super(_0x8e896),this['_revisions']=new _0x2828e8();}['afterInit'](){!function(_0x401f37){function _0x521f4b(_0x4837f0,_0x3e8625,_0x3f108e){const _0x5c6339={};_0x5c6339[_0x5afb3b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5c6339[_0x5afb3b([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],_0x5c6339[_0x5afb3b([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],_0x5c6339[_0x5afb3b([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],_0x5c6339[_0x5afb3b([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],_0x5c6339[_0x5afb3b([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],_0x5c6339[_0x5afb3b([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],_0x5c6339[_0x5afb3b([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],_0x5c6339[_0x5afb3b([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],_0x5c6339[_0x5afb3b([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],_0x5c6339[_0x5afb3b([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 _0x944b84=new Uint8Array(0x10);for(let _0xc21d44=0xf;_0xc21d44>=0x0;--_0xc21d44)_0x944b84[_0xc21d44]=_0x3f108e%0x100,_0x3f108e=parseInt(_0x3f108e/0x100);let _0x2d0c0b=null,_0x4f7bb6=0x10;const _0x71f8cb=new Uint8Array(_0x3e8625),_0xd8cbb7=[],_0x2ade70=[];_0x49651b();for(let _0x3fee47=0x0;_0x3fee47<_0x4837f0[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fee47++)0x10===_0x4f7bb6&&(_0x2d0c0b=_0x470b49(_0x944b84),_0x4f7bb6=0x0,_0x443adf(_0x944b84)),_0x4837f0[_0x3fee47]^=_0x2d0c0b[_0x4f7bb6++];return _0x4837f0;function _0x201232(_0x360df4){const _0x406d3f=[];for(let _0x487928=0x0;_0x487928<_0x360df4[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x487928+=0x4)_0x406d3f[_0x5afb3b([0x70,0x75,0x73,0x68])](_0x360df4[_0x487928]<<0x18|_0x360df4[_0x487928+0x1]<<0x10|_0x360df4[_0x487928+0x2]<<0x8|_0x360df4[_0x487928+0x3]);return _0x406d3f;}function _0x443adf(_0xad70a6){for(let _0x37101a=0xf;_0x37101a>=0x0;_0x37101a--){if(0xff!==_0xad70a6[_0x37101a]){_0xad70a6[_0x37101a]++;break;}_0xad70a6[_0x37101a]=0x0;}}function _0x470b49(_0x1635f4){const _0x3f2f2e=_0xd8cbb7[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x5bd8a4=[0x0,0x0,0x0,0x0];let t=_0x201232(_0x1635f4);for(let _0x24b83d=0x0;_0x24b83d<0x4;_0x24b83d++)t[_0x24b83d]^=_0xd8cbb7[0x0][_0x24b83d];for(let _0x4c5d6c=0x1;_0x4c5d6c<_0x3f2f2e;_0x4c5d6c++){for(let _0x103449=0x0;_0x103449<0x4;_0x103449++)_0x5bd8a4[_0x103449]=_0x5c6339[_0x5afb3b([0x54,0x31])][t[_0x103449]>>0x18&0xff]^_0x5c6339[_0x5afb3b([0x54,0x32])][t[(_0x103449+0x1)%0x4]>>0x10&0xff]^_0x5c6339[_0x5afb3b([0x54,0x33])][t[(_0x103449+0x2)%0x4]>>0x8&0xff]^_0x5c6339[_0x5afb3b([0x54,0x34])][0xff&t[(_0x103449+0x3)%0x4]]^_0xd8cbb7[_0x4c5d6c][_0x103449];t=_0x5bd8a4[_0x5afb3b([0x73,0x6c,0x69,0x63,0x65])]();}const _0xed59a2=new Uint8Array(0x10);let _0x134479;for(let _0x415b9c=0x0;_0x415b9c<0x4;_0x415b9c++)_0x134479=_0xd8cbb7[_0x3f2f2e][_0x415b9c],_0xed59a2[0x4*_0x415b9c]=0xff&(_0x5c6339[_0x5afb3b([0x53])][t[_0x415b9c]>>0x18&0xff]^_0x134479>>0x18),_0xed59a2[0x4*_0x415b9c+0x1]=0xff&(_0x5c6339[_0x5afb3b([0x53])][t[(_0x415b9c+0x1)%0x4]>>0x10&0xff]^_0x134479>>0x10),_0xed59a2[0x4*_0x415b9c+0x2]=0xff&(_0x5c6339[_0x5afb3b([0x53])][t[(_0x415b9c+0x2)%0x4]>>0x8&0xff]^_0x134479>>0x8),_0xed59a2[0x4*_0x415b9c+0x3]=0xff&(_0x5c6339[_0x5afb3b([0x53])][0xff&t[(_0x415b9c+0x3)%0x4]]^_0x134479);return _0xed59a2;}function _0x49651b(){const _0x250f54=_0x5c6339[_0x5afb3b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x71f8cb[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x3e54d4=0x0;_0x3e54d4<=_0x250f54;_0x3e54d4++)_0xd8cbb7[_0x5afb3b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2ade70[_0x5afb3b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x514302=0x4*(_0x250f54+0x1),_0x42d15c=_0x71f8cb[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x3ea574=_0x201232(_0x71f8cb);let _0x5267e0;for(let _0x218998=0x0;_0x218998<_0x42d15c;_0x218998++)_0x5267e0=_0x218998>>0x2,_0xd8cbb7[_0x5267e0][_0x218998%0x4]=_0x3ea574[_0x218998],_0x2ade70[_0x250f54-_0x5267e0][_0x218998%0x4]=_0x3ea574[_0x218998];let _0x4e2b4b,_0x4ae888=0x0,t=_0x42d15c;for(;t<_0x514302;){_0x4e2b4b=_0x3ea574[_0x42d15c-0x1],_0x3ea574[0x0]^=_0x5c6339[_0x5afb3b([0x53])][_0x4e2b4b>>0x10&0xff]<<0x18^_0x5c6339[_0x5afb3b([0x53])][_0x4e2b4b>>0x8&0xff]<<0x10^_0x5c6339[_0x5afb3b([0x53])][0xff&_0x4e2b4b]<<0x8^_0x5c6339[_0x5afb3b([0x53])][_0x4e2b4b>>0x18&0xff]^_0x5c6339[_0x5afb3b([0x72,0x63,0x6f,0x6e])][_0x4ae888]<<0x18,_0x4ae888+=0x1;for(let _0x3f71b3=0x1;_0x3f71b3<_0x42d15c/0x2;_0x3f71b3++)_0x3ea574[_0x3f71b3]^=_0x3ea574[_0x3f71b3-0x1];_0x4e2b4b=_0x3ea574[_0x42d15c/0x2-0x1],_0x3ea574[_0x42d15c/0x2]^=_0x5c6339[_0x5afb3b([0x53])][0xff&_0x4e2b4b]^_0x5c6339[_0x5afb3b([0x53])][_0x4e2b4b>>0x8&0xff]<<0x8^_0x5c6339[_0x5afb3b([0x53])][_0x4e2b4b>>0x10&0xff]<<0x10^_0x5c6339[_0x5afb3b([0x53])][_0x4e2b4b>>0x18&0xff]<<0x18;for(let _0x5203d0=_0x42d15c/0x2+0x1;_0x5203d0<_0x42d15c;_0x5203d0++)_0x3ea574[_0x5203d0]^=_0x3ea574[_0x5203d0-0x1];let _0x32bb7d,_0x18ee42,_0x4778d8=0x0;for(;_0x4778d8<_0x42d15c&&t<_0x514302;)_0x32bb7d=t>>0x2,_0x18ee42=t%0x4,_0xd8cbb7[_0x32bb7d][_0x18ee42]=_0x3ea574[_0x4778d8],_0x2ade70[_0x250f54-_0x32bb7d][_0x18ee42]=_0x3ea574[_0x4778d8++],t++;}for(let _0x74cfa=0x1;_0x74cfa<_0x250f54;_0x74cfa++)for(let _0x5e65b2=0x0;_0x5e65b2<0x4;_0x5e65b2++)_0x4e2b4b=_0x2ade70[_0x74cfa][_0x5e65b2],_0x2ade70[_0x74cfa][_0x5e65b2]=_0x5c6339[_0x5afb3b([0x55,0x31])][_0x4e2b4b>>0x18&0xff]^_0x5c6339[_0x5afb3b([0x55,0x32])][_0x4e2b4b>>0x10&0xff]^_0x5c6339[_0x5afb3b([0x55,0x33])][_0x4e2b4b>>0x8&0xff]^_0x5c6339[_0x5afb3b([0x55,0x34])][0xff&_0x4e2b4b];}}function _0x5afb3b(_0x5bcac2){return _0x5bcac2['map'](_0x1aab82=>String['fromCharCode'](_0x1aab82))['join']('');}(_0x2f48de=>{function _0x377c94(){const _0x1f3958=[{[_0x5afb3b([0x69,0x64])]:0x1,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5afb3b([0x69,0x64])]:0x2,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([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]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5afb3b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5afb3b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5afb3b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5afb3b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5afb3b([0x69,0x64])]:0x3,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5afb3b([0x69,0x64])]:0x4,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([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]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5afb3b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5afb3b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5afb3b([0x69,0x64])]:0x5,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([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]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}},{[_0x5afb3b([0x69,0x64])]:0x6,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}},{[_0x5afb3b([0x69,0x64])]:0x7,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}},{[_0x5afb3b([0x69,0x64])]:0x8,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([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]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}},{[_0x5afb3b([0x69,0x64])]:0x9,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5afb3b([0x69,0x64])]:0xa,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([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]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([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]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([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]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}},{[_0x5afb3b([0x69,0x64])]:0xb,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5afb3b([0x69,0x64])]:0xc,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5afb3b([0x69,0x64])]:0xd,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}},{[_0x5afb3b([0x69,0x64])]:0xe,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5afb3b([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([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])},{[_0x5afb3b([0x69,0x64])]:0xf,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5afb3b([0x69,0x64])]:0x10,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}}];return _0x356e48(_0x1f3958),_0x1f3958;function _0xd345e2(_0xcde4e9){return 0x1<<_0xcde4e9-0x1;}function _0x356e48(_0x40bb00){_0x40bb00[_0x5afb3b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18d26e=>{_0x18d26e[_0x5afb3b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xd345e2(_0x18d26e[_0x5afb3b([0x69,0x64])]),_0x44053b(_0x18d26e)&&_0x18d26e[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x356e48(_0x18d26e[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x44053b(_0x3e566f){return _0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x3e566f;}const _0xebe769=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x10b0ba=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x440428(_0x5b9a3a){const _0x2da875=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x54a1a5(_0x5b9a3a,new Uint8Array([..._0xebe769,..._0x2da875,..._0x10b0ba]));}function _0x54a1a5(_0x485971,_0x3b678c){const _0x2fbce4=_0x4bc68f(_0x485971),_0x28f169=Array[_0x5afb3b([0x66,0x72,0x6f,0x6d])](_0x283c6f(_0x2fbce4)),_0x557503=_0x28f169[_0x5afb3b([0x70,0x6f,0x70])](),_0x35886b=_0x28f169[_0x5afb3b([0x70,0x6f,0x70])]();return _0x4f0335(_0x521f4b(_0x28f169,_0x3b678c,_0x35886b+0x100*_0x557503));}function _0x4bc68f(_0x580b16){const _0x5cb4d5=atob(_0x580b16),[_0xf6b93c,_0x2f24db]=_0x5cb4d5[_0x5afb3b([0x73,0x70,0x6c,0x69,0x74])](_0x5afb3b([0x2d]));try{if(atob(_0x2f24db))return atob(_0xf6b93c);}catch(_0x26a5c2){}return _0x5cb4d5;}function _0x9b5a78(_0x43ca2d){try{const _0x22f6e3=_0x440428(_0x43ca2d),_0x412cef=JSON[_0x5afb3b([0x70,0x61,0x72,0x73,0x65])](_0x22f6e3),_0x4a2e29=parseInt(_0x412cef[_0x5afb3b([0x31])]),_0x16ebe5=_0x412cef[_0x5afb3b([0x32])]||'',_0x472813=parseInt(_0x412cef[_0x5afb3b([0x33])]),_0x3e7f14=parseInt(_0x412cef[_0x5afb3b([0x34])])||0x0,_0x7048e=parseInt(_0x412cef[_0x5afb3b([0x35])])||0x0;return{[_0x5afb3b([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x16ebe5,[_0x5afb3b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3e7f14,[_0x5afb3b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4a2e29,[_0x5afb3b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x472813,[_0x5afb3b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x7048e};}catch(_0x26eb67){return null;}}const _0x5a8c72=_0x377c94(),_0x56fb0f={[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4f8918,[_0x5afb3b([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])]:_0x385dca,[_0x5afb3b([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])]:_0x2442b5},_0x37fe9f=_0x2f48de[_0x5afb3b([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0xc68f7c=_0x5afb3b([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2f48de?_0x2f48de['context']:_0x2f48de['editor'],_0xa1567c=_0x5afb3b([0x34,0x30,0x34,0x38,0x31,0x34,0x35,0x30]),_0x124767=_0x5afb3b([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]),_0x4525da=_0xc68f7c['config']['get'](_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2672b7=_0x5a8c72[_0x5afb3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44053b)[_0x5afb3b([0x66,0x69,0x6e,0x64])](_0x51eb4e=>_0x51eb4e[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x37fe9f);function _0x13cca8(_0x2d374d,_0x54082a){_0x56fb0f[_0x54082a[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2d374d,_0x54082a),_0x54082a[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x54082a[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5afb3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d7f74=>_0x1a8dfd(_0xc68f7c,_0x2d7f74[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5afb3b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ca59c=>_0x13cca8(_0x2d374d,_0x4ca59c));}function _0x4f8918(_0x138cf5,_0x35d3c0){_0x3756d0(_0x15dac7(_0x138cf5,_0x35d3c0),_0x35d3c0);}function _0x385dca(_0x1462d4,_0x305dc0){function _0x51a709(_0x4cefea,_0x4024f4){try{if(_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4cefea){const _0x30ebf2=_0xa2eb73(_0xc68f7c,_0x5afb3b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5afb3b([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x30ebf2)/0x2>_0x4cefea[_0x5afb3b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x5bd498(_0x4024f4[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x15dac7(_0x4cefea,_0x4024f4);}catch(_0x3f1948){return _0x5bd498(_0x4024f4[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3756d0(_0x51a709(_0x1462d4,_0x305dc0),_0x305dc0);}function _0x2442b5(_0x3d7c89,_0x398b02){const _0x282fd8=_0x10b0ba[0x0]*_0xebe769[0x1],_0x331cf4=_0x10b0ba[0x0]*_0xebe769[0x2],_0x1bf5b0=_0x10b0ba[0x2]*_0xebe769[0x2];_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xa2eb73(_0xc68f7c,_0x5afb3b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5afb3b([0x73,0x74,0x61,0x74,0x65])]==_0x5afb3b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3d0579()]=_0x1bf5b0);function _0x3381d3(_0x201c3f,_0x531243){try{return _0x29d09e()?_0x5bd498(_0x531243[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x56,0x61,0x6c,0x69,0x64])):_0x15dac7(_0x201c3f,_0x531243);}catch(_0x16d5a8){return _0x5bd498(_0x531243[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4ab4c2(_0x223dce,_0x4b0440){const _0x453f2c=0x7;if(_0x223dce==_0x4b0440[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x145dd0();else{if(_0x223dce==_0x4b0440[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c])){const _0x44c920=_0x3fa519();_0x44c920&&_0x152587(_0x44c920,_0x4b0440[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x37aa76=_0x1a4e4b();window[_0x5afb3b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x152587(_0x5afb3b([0x74,0x69,0x6d,0x65]),_0x4b0440[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x37aa76);const _0x568ba8=_0xa2eb73(_0xc68f7c,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5afb3b([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x568ba8[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x453f2c?_0x152587(_0x5afb3b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4b0440[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x568ba8['on'](_0x5afb3b([0x61,0x64,0x64]),()=>{_0x568ba8[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x453f2c&&_0x152587(_0x5afb3b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4b0440[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x3fa519(){if(!_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x489224 in window)if(Number['isNaN'](Number(_0x489224))){if(window[_0x489224]===_0x282fd8)return _0x5afb3b([0x74,0x69,0x6d,0x65]);if(window[_0x489224]===_0x331cf4)return _0x5afb3b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x29d09e(){if(!_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x41d5cf in window)if(Number['isNaN'](Number(_0x41d5cf))&&window[_0x41d5cf]===_0x1bf5b0)return!0x0;return!0x1;}function _0x152587(_0x478852,_0x27be0d){_0x145dd0(),_0x5bd498(_0x27be0d+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x478852),window[_0x3d0579()]=_0x478852===_0x5afb3b([0x74,0x69,0x6d,0x65])?_0x282fd8:_0x331cf4;}function _0x1a4e4b(){let _0x691993=_0x10b0ba[0x6]*_0xebe769[0x8]*_0xebe769[0x6];return _0x1a8dfd(_0xc68f7c,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x691993/=0xa),_0x691993;}function _0x145dd0(){const _0x1456fa=_0xc68f7c;function _0x17b338(){_0x1a8dfd(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5afb3b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5afb3b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5afb3b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5afb3b([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x59893f,_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5afb3b([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x59893f,_0x1456fa[_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb3b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59893f,_0x1456fa[_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb3b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59893f,_0x1456fa[_0x5afb3b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c]))),_0x1a8dfd(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5afb3b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5afb3b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5afb3b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5afb3b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x59893f,_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5afb3b([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x59893f);}_0x1456fa[_0x5afb3b([0x73,0x74,0x61,0x74,0x65])]==_0x5afb3b([0x72,0x65,0x61,0x64,0x79])?_0x17b338():_0x1456fa[_0x5afb3b([0x6f,0x6e,0x63,0x65])](_0x5afb3b([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x1a8dfd(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x17b338(),_0x1a8dfd(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x299c48=_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x23acbd=_0x299c48['getRevision'](0x0),_0x544aa5=_0x299c48['getEarlierVisibleRevision'](_0x23acbd[_0x5afb3b([0x69,0x64])]);_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5afb3b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x23acbd[_0x5afb3b([0x69,0x64])],_0x544aa5?_0x544aa5[_0x5afb3b([0x69,0x64])]:null,0x1)['then'](()=>_0x17b338());}});}_0x4ab4c2(_0x3381d3(_0x3d7c89,_0x398b02),_0x398b02);}function _0x15dac7(_0x18e633,_0x13c11b){try{return _0x5091e7(_0x13c11b)?_0x5bd498(_0x13c11b[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x56,0x61,0x6c,0x69,0x64])):_0x18e633&&_0x65fa1e(_0x18e633[_0x5afb3b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x13c11b)?_0x18e633[_0x5afb3b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5afb3b([0x6f,0x70,0x65,0x6e])][_0x5afb3b([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xa1567c)/0x2>_0x18e633[_0x5afb3b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x5bd498(_0x13c11b[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x18e633[_0x5afb3b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x5bd498(_0x13c11b[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c])):_0x5bd498(_0x13c11b[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x56,0x61,0x6c,0x69,0x64])):_0x5bd498(_0x13c11b[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x4b4b70){return _0x5bd498(_0x13c11b[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3756d0(_0x3aaf62,_0x19c1b0){if(_0xc68f7c instanceof _0x5bef50){const _0x562bfe=_0xc68f7c;_0x3aaf62==_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4e710e(_0x562bfe):_0x3aaf62==_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5afb3b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4e710e(_0x562bfe),_0x5bd498(_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x10b0ba[0x6]*_0xebe769[0x8]*_0xebe769[0x6]),_0x562bfe[_0x5afb3b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5afb3b([0x6f,0x6e])](_0x5afb3b([0x61,0x64,0x64]),(_0xe77bd9,_0x501347)=>{_0x3aaf62!=_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3aaf62!=_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3aaf62!=_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5cea93(_0x501347);});}else{const _0x59f5ce=_0xc68f7c;_0x3aaf62==_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5cea93(_0x59f5ce):_0x3aaf62==_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c])&&_0x59f5ce[_0x5afb3b([0x6f,0x6e])](_0x5afb3b([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x27ce1=0x0;_0x59f5ce[_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb3b([0x6f,0x6e])](_0x5afb3b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x383a06,_0x5c8da3)=>{_0x5c8da3[0x0][_0x5afb3b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27ce1++,0x1f8===_0x27ce1&&(_0x5cea93(_0x59f5ce),_0x5bd498(_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x383a06[_0x5afb3b([0x6f,0x66,0x66])]());},{'priority':_0x5afb3b([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x5bd498(_0x4333e3){const _0x58458e=_0x3d0579();return _0xc68f7c[_0x58458e]=_0x4333e3,_0x4333e3;}function _0x3d0579(){const _0x46001c=String(window[_0x5afb3b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5afb3b([0x6e,0x6f,0x77])]())[_0x5afb3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5afb3b([0x2e]),'');let _0x5486d2='';for(let _0xcabb9a=0x0;_0xcabb9a<_0x46001c[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcabb9a+=0x2){let _0x4d7957=parseInt(_0x46001c[_0x5afb3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcabb9a,_0xcabb9a+0x2));_0x4d7957>=_0x124767[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d7957-=_0x124767[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5486d2+=_0x124767[_0x4d7957];}return _0x5486d2;}function _0x4e710e(_0x358b41){for(const _0x4d9426 of _0x358b41[_0x5afb3b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5cea93(_0x4d9426);_0xa2eb73(_0x358b41,_0x5afb3b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5afb3b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0xa2eb73(_0x358b41,_0x5afb3b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5afb3b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x59893f;}function _0x5cea93(_0x11ae9e){function _0x3ee6db(){_0x11ae9e[_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb3b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59893f,_0x11ae9e[_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb3b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59893f,_0x11ae9e[_0x5afb3b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c]));}_0x11ae9e[_0x5afb3b([0x73,0x74,0x61,0x74,0x65])]==_0x5afb3b([0x72,0x65,0x61,0x64,0x79])?_0x3ee6db():_0x11ae9e[_0x5afb3b([0x6f,0x6e,0x63,0x65])](_0x5afb3b([0x72,0x65,0x61,0x64,0x79]),()=>_0x3ee6db());}function _0x59893f(){return null;}function _0x65fa1e(_0x1eca02,_0x873558){const _0xfd11b3=!!(_0x1eca02&_0x873558[_0x5afb3b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x456fc5=_0xd67801(_0x1eca02,_0x873558);return _0xfd11b3||_0x456fc5;}function _0xd67801(_0x179c37,_0x50bd11){const _0x1113d7=(_0x50bd11[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5afb3b([0x66,0x67,0x69])]||null;return!!_0x1113d7&&_0x5a8c72[_0x5afb3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fab55=>_0x1113d7[_0x5afb3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fab55[_0x5afb3b([0x69,0x64])]))[_0x5afb3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x304477=>!_0x2ee851(_0x304477))[_0x5afb3b([0x73,0x6f,0x6d,0x65])](_0x58cf39=>!!(_0x179c37&_0x58cf39[_0x5afb3b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2ee851(_0x217895){const _0x57d2cb={[_0x5afb3b([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])]:_0x2e8466};return!!_0x217895['forbiddenHandler']&&_0x57d2cb[_0x217895['forbiddenHandler']]();}function _0x2e8466(){return!window[_0x5afb3b([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5091e7(_0x214cf8){if(!_0x1a8dfd(_0xc68f7c,_0x214cf8[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x521a4f=_0x214cf8[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x57b94e=_0x521a4f[_0x5afb3b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x274d4a=_0x521a4f[_0x5afb3b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x11e149=_0x521a4f[_0x5afb3b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xa2eb73(_0xc68f7c,_0x5afb3b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5afb3b([0x73,0x74,0x61,0x74,0x65])]==_0x5afb3b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x57b94e)return!0x0;if(_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0xa2eb73(_0xc68f7c,_0x5afb3b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5afb3b([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5afb3b([0x65,0x6e,0x64])&&_0x274d4a)return!0x0;return!(!_0x1a8dfd(_0xc68f7c,_0x5afb3b([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]))||_0xa2eb73(_0xc68f7c,_0x5afb3b([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]))[_0x5afb3b([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5afb3b([0x65,0x6e,0x64])||!_0x11e149);}function _0x1a8dfd(_0xfc643a,_0x4e358e){return _0xfc643a[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5afb3b([0x68,0x61,0x73])](_0x4e358e);}function _0xa2eb73(_0x4efbf5,_0x4379ff){return _0x4efbf5[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5afb3b([0x67,0x65,0x74])](_0x4379ff);}function _0x4f0335(_0x5a3073){let _0xc0d555='';for(const _0x5c39fd of _0x5a3073)_0xc0d555+=String[_0x5afb3b([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5c39fd);return _0xc0d555;}function _0x283c6f(_0x45c9e1){const _0x196345=new Uint8Array(_0x45c9e1[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x35f270=0x0;_0x35f270<_0x45c9e1[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35f270++)_0x196345[_0x35f270]=_0x45c9e1[_0x5afb3b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35f270);return _0x196345;}_0x2672b7&&_0x13cca8(_0x9b5a78(_0x4525da),_0x2672b7);})(_0x401f37);}(this);}['createRevision'](_0x527256){const _0x162e79=this['editor']['plugins']['get']('Users');return new a({'id':_0x527256['id'],'name':_0x527256['name'],'creator':_0x527256['creatorId']?_0x162e79['getUser'](_0x527256['creatorId']):null,'diffData':_0x527256['diffData']||_0x527256['data'],'authors':_0x527256['authorsIds']['map'](_0x2c9312=>_0x162e79['getUser'](_0x2c9312)),'createdAt':new Date(_0x527256['createdAt']),'attributes':_0x527256['attributes'],'fromVersion':_0x527256['fromVersion'],'toVersion':_0x527256['toVersion']});}['addRevision'](_0x5ee514,_0x327ba2=0x0){this['_revisions']['add'](_0x5ee514,_0x327ba2);}['getRevision'](_0x1c3e99){return this['_revisions']['get'](_0x1c3e99);}['getRevisions'](_0x56d70f={'toJSON':!0x1}){const _0x3f6e99=Array['from'](this['_revisions']);return _0x3f6e99['reverse'](),_0x56d70f['toJSON']?_0x3f6e99['map'](_0x2e2e60=>_0x2e2e60['toJSON']()):_0x3f6e99;}['getIndex'](_0x5a7687){return this['_revisions']['getIndex'](_0x5a7687);}['getEarlierVisibleRevision'](_0x2fc642){const [,_0x59f82e]=this['getRevisionsIterator'](_0x2fc642,{'direction':'earlier'});return _0x59f82e;}['getLaterVisibleRevision'](_0x3a4134){const [,_0x47838d]=this['getRevisionsIterator'](_0x3a4134,{'direction':'later'});return _0x47838d;}['getRevisionsInDiff'](_0xad4ab){const _0x4619ab=[];for(const _0x2cd7d5 of this['getRevisionsIterator'](_0xad4ab['newRevisionId']))if(_0x4619ab['push'](_0x2cd7d5),_0x2cd7d5['id']===_0xad4ab['oldRevisionId'])break;return _0x4619ab;}*['getRevisionsIterator'](_0x249489,{direction:_0x443da0='earlier',filter:_0x3d46ad=_0x398669=>!0x0}={}){const _0x19d6ee='earlier'===_0x443da0?0x1:-0x1;let _0x1ca8a5=this['_revisions']['get'](_0x249489),_0x5bfeb3=this['getIndex'](_0x1ca8a5);for(yield _0x1ca8a5;_0x1ca8a5;){if(_0x5bfeb3+=_0x19d6ee,_0x1ca8a5=this['getRevision'](_0x5bfeb3),!_0x1ca8a5)return;_0x3d46ad(_0x1ca8a5)&&(yield _0x1ca8a5);}}}function y(_0x3c6394,_0x5a179b,_0xffe094){const t=_0x3c6394['t'];switch(_0x5a179b){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'},_0xffe094);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xffe094);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'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':_0x233f02,'a':_0x3c7d2e,'e':_0x109678,'r':_0x660f43,'u':_0x55efa8};class l extends _0x1b7a4e{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5465dc,A,_0x25023b];}constructor(_0x2d9793){super(_0x2d9793),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 _0x6a73e0=_0x53c5f2();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x6a73e0},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 _0x3a304e=this['repository']['getRevision'](0x0),_0x56a7c4=_0x3a304e&&null===_0x3a304e['creator']?_0x3a304e:null;if(this['_continueCurrentRevision']=!!_0x56a7c4&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x6302fb=this['_source']['getCurrentRevisionId'](),_0x38d1e3=this['repository']['getRevision'](_0x6302fb);if(_0x38d1e3)this['_startingVersion']=_0x38d1e3['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x4d5a45=this['_source']['history']['_operations']['find'](_0x208536=>!_0x208536['_isInit']),_0x5ec102=_0x4d5a45?_0x4d5a45['baseVersion']:this['_source']['history']['version'];_0x3a304e?(_0x3a304e['toVersion']<_0x5ec102&&_0x3a304e['_update']({'toVersion':_0x5ec102}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x56a7c4['id'],this['_startingVersion']=_0x56a7c4['fromVersion']):(this['_startingVersion']=_0x3a304e['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5ec102,this['_continueCurrentRevision']=!0x1);}}else _0x56a7c4&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x56a7c4['toVersion'],this['editor']['model']['document']['history']['version']),_0x56a7c4['fromVersion']===_0x56a7c4['toVersion']?(0x0!==_0x56a7c4['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x56a7c4['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x56a7c4['id'],this['_startingVersion']=_0x56a7c4['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',_0x157d92=>!_0x157d92);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x11be19=this['repository']['getRevision'](0x0),_0x439fa1=await this['getRevisionDocumentData'](_0x11be19),_0x58c64e=await this['getRevisionRootsAttributes'](_0x11be19);this['_replaceEditorDataWithRevisionData'](_0x439fa1,_0x58c64e);}}['setSource'](_0x2b16bc){this['_source']=_0x2b16bc;}async['update'](){const _0x48cedc=await this['_source']['getLatestVersion']();if(_0x48cedc>this['currentRevision']['toVersion']){await this['_loadState']();const _0x546ff2=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x48cedc});_0x546ff2['authors']=_0x546ff2['authorsIds']['map'](_0x46fe2c=>this['editor']['plugins']['get']('Users')['getUser'](_0x46fe2c)),this['currentRevision']['_update'](_0x546ff2);}}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'](_0x566e89={},_0x46d3cb=null){const _0x5a02ae=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x46d3cb>this['currentRevision']['toVersion']&&(_0x46d3cb=null),null===_0x46d3cb&&(_0x46d3cb=await this['_source']['getLatestVersion']());const _0x232a2d=this['_getFromVersion'](_0x46d3cb),_0x458f5c=this['buildRevisionData']({'from':_0x232a2d,'to':_0x46d3cb});if(this['currentRevision']['toVersion']<_0x46d3cb){const _0x5f2758=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x46d3cb,'to':_0x46d3cb});_0x5f2758['authors']=[],_0x5f2758['authorsIds']=[],_0x5f2758['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5f2758,!0x0),delete _0x5f2758['authors'],_0x5a02ae['push'](_0x5f2758);}_0x566e89['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x566e89['name']=_0x566e89['name']||null,_0x566e89['id']=_0x566e89['id']||_0x53c5f2(),_0x566e89={..._0x566e89,..._0x458f5c};const _0x4909c6=this['addRevisionData'](_0x566e89);_0x5a02ae['push'](_0x566e89);const _0x41f968=this['repository']['getIndex'](_0x4909c6);if(0x0!==_0x41f968){const _0x1268d8=this['repository']['getRevision'](_0x41f968-0x1);if(_0x1268d8['fromVersion']!==_0x46d3cb){const _0x1d9702=this['_revisionDataBuilder']['getData'](_0x46d3cb,_0x1268d8['toVersion']),_0x5cf48f={'id':_0x1268d8['id'],'diffData':_0x1d9702['diffData'],'authorsIds':_0x1d9702['authorsIds'],'authors':_0x1d9702['authorsIds']['map'](_0x150d84=>this['editor']['plugins']['get']('Users')['getUser'](_0x150d84)),'fromVersion':_0x46d3cb};_0x1268d8===this['currentRevision']&&(_0x5cf48f['createdAt']=new Date(_0x566e89['createdAt']['getTime']()+0xa)),_0x1268d8['_update'](_0x5cf48f,!0x0),delete _0x5cf48f['authors'],_0x5a02ae['push'](_0x5cf48f);}}if(this['adapter']){for(const _0x44d576 of _0x5a02ae)this['_bufferUpdate'](_0x44d576['id'],_0x44d576,!0x0);this['sendBufferedUpdates']();}return _0x4909c6;}['addRevisionData'](_0x1a9594){const _0x3bd86a=this['repository']['createRevision'](_0x1a9594);return this['adapter']&&_0x3bd86a['on']('_update',(_0x53781e,_0x19f71c,_0x57155)=>{_0x57155||(this['_bufferUpdate'](_0x19f71c['id'],_0x19f71c,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3bd86a,this['_findInsertionIndex'](_0x3bd86a)),_0x3bd86a;}async['getRevisionDocumentData'](_0x470ef7){await this['_loadRevisionData'](_0x470ef7);const _0x206cb8={};for(const _0x18cdab in _0x470ef7['diffData']){if(_0x470ef7['diffData'][_0x18cdab]['attachChange']&&!_0x470ef7['diffData'][_0x18cdab]['attachChange']['isAttached'])continue;const _0x608747=this['_removeRevisionMarkers'](JSON['parse'](_0x470ef7['diffData'][_0x18cdab]['insertions'])),_0x447cbf=this['editor']['editing']['view']['document'],_0x2c5da2=new _0x2eb8a6(_0x447cbf,_0x608747['map'](_0x2ba789=>B(_0x2ba789,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x206cb8[_0x18cdab]=this['editor']['data']['processor']['toData'](_0x2c5da2),this['editor']['data']['processor']['useFillerType']('default');}return _0x206cb8;}async['getRevisionRootsAttributes'](_0x26a4eb){await this['_loadRevisionData'](_0x26a4eb);const _0x4d7ccb={};for(const _0x19a16b in _0x26a4eb['diffData'])_0x26a4eb['diffData'][_0x19a16b]['attachChange']&&!_0x26a4eb['diffData'][_0x19a16b]['attachChange']['isAttached']||(_0x4d7ccb[_0x19a16b]=_0x26a4eb['diffData'][_0x19a16b]['attributesAfter']||{});return _0x4d7ccb;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3ab6e6=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2aeb76=0x0;_0x2aeb76<_0x3ab6e6['length'];_0x2aeb76++){const _0x6f611f=_0x3ab6e6[_0x2aeb76];let _0x1e28cf=!0x1;for(const _0x774d70 of Object['keys'](_0x6f611f))void 0x0===_0x6f611f[_0x774d70]?delete _0x6f611f[_0x774d70]:'id'!==_0x774d70&&(_0x1e28cf=!0x0);_0x1e28cf||(_0x3ab6e6[_0x2aeb76]=null);}if(_0x3ab6e6=_0x3ab6e6['filter'](_0xdff340=>null!==_0xdff340),!_0x3ab6e6['length'])return;for(let _0x340093=0x0;_0x340093<_0x3ab6e6['length'];_0x340093++){const _0x48fba9=_0x3ab6e6[_0x340093];void 0x0!==_0x48fba9['fromVersion']&&void 0x0===_0x48fba9['toVersion']&&(_0x48fba9['toVersion']=this['repository']['getRevision'](_0x48fba9['id'])['toVersion']),void 0x0!==_0x48fba9['toVersion']&&void 0x0===_0x48fba9['fromVersion']&&(_0x48fba9['fromVersion']=this['repository']['getRevision'](_0x48fba9['id'])['fromVersion']);}const _0x217b2a=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3ab6e6,_0x217b2a)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4097d0=>{if(_0x4097d0){for(const _0x295e91 of _0x4097d0)this['setRevisionData']({'id':_0x295e91['id'],'createdAt':_0x295e91['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4bb25d,_0x451755){let _0x576a0a=this['editor']['config']['get']('initialData'),_0x365d74=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x576a0a){_0x576a0a={};for(const _0x16a6e6 of this['editor']['model']['document']['getRootNames']())_0x576a0a[_0x16a6e6]='';}if('string'==typeof _0x576a0a&&(_0x576a0a={'main':_0x576a0a}),void 0x0===_0x365d74){_0x365d74={};for(const _0x8e15c6 of this['editor']['model']['document']['getRootNames']())_0x365d74[_0x8e15c6]={};}let _0x507ee2=!0x1;const _0x200784=Object['keys'](_0x576a0a),_0x4504e6=Object['keys'](_0x4bb25d);for(const _0x32e3cd of _0x200784){if(_0x576a0a[_0x32e3cd]!==_0x4bb25d[_0x32e3cd]&&''!==_0x576a0a[_0x32e3cd]['trim']()){_0x507ee2=!0x0;break;}if(!_0x436daf(_0x365d74[_0x32e3cd],_0x451755[_0x32e3cd])&&Object['keys'](_0x365d74[_0x32e3cd])['length']>0x0){_0x507ee2=!0x0;break;}}_0x507ee2||(_0x507ee2=_0x4504e6['some'](_0x8b798d=>!this['editor']['model']['document']['getRoot'](_0x8b798d))),_0x507ee2&&_0x235a91('editor-initial-data-replaced-with-revision-data',{'editorData':_0x576a0a,'editorRootsAttributes':_0x365d74,'revisionData':_0x4bb25d,'revisionRootsAttributes':_0x451755}),this['editor']['config']['set']('initialData',_0x4bb25d),this['editor']['config']['set']('rootsAttributes',_0x451755);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x105a8d=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x105a8d['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x348a0f){const _0x402829=this['repository']['getRevisions']();_0x402829['reverse']();let _0x5ee42c=0x0;for(;_0x5ee42c<_0x402829['length'];){const _0x206b91=_0x402829[_0x5ee42c];if(_0x206b91===this['currentRevision']){_0x5ee42c++;continue;}if(_0x206b91['id']===this['_initialRevisionId'])break;const _0x42f0eb=_0x348a0f['toVersion']-_0x206b91['toVersion']||_0x348a0f['fromVersion']-_0x206b91['fromVersion'];if(_0x42f0eb>0x0)break;if(_0x42f0eb<0x0)_0x5ee42c++;else{if(!_0x348a0f['creator']&&_0x206b91['creator'])break;if(_0x206b91['creator']||!_0x348a0f['creator']){if(_0x348a0f['createdAt']>_0x206b91['createdAt'])break;_0x5ee42c++;}else _0x5ee42c++;}}return _0x5ee42c;}['setRevisionData'](_0x19df2c){const _0x28f6c2=this['repository']['getRevision'](_0x19df2c['id']);if(_0x19df2c['createdAt']&&(_0x19df2c['createdAt']=new Date(_0x19df2c['createdAt'])),_0x19df2c['authorsIds']){const _0x5191e5=this['editor']['plugins']['get']('Users');_0x19df2c['authors']=_0x19df2c['authorsIds']['map'](_0x579991=>_0x5191e5['getUser'](_0x579991));}_0x28f6c2['_update'](_0x19df2c,!0x0);}['buildRevisionData']({revision:_0x570db1=null,from:_0x426323=null,to:_0x5a9d28=null}){_0x426323=null!==_0x426323?_0x426323:_0x570db1['fromVersion'],_0x5a9d28=null!==_0x5a9d28?_0x5a9d28:_0x570db1['toVersion'];const _0x5983bd=this['_revisionDataBuilder']['getData'](_0x426323,_0x5a9d28),_0x33cdcb={'diffData':_0x5983bd['diffData'],'authorsIds':_0x5983bd['authorsIds'],'fromVersion':_0x426323,'toVersion':_0x5a9d28};if(!_0x570db1||_0x5a9d28!==_0x570db1['toVersion']){const _0x5d46a5=_0x5a9d28-0x1,_0x50f179=this['_source']['history']['getOperation'](_0x5d46a5);_0x33cdcb['createdAt']=_0x50f179&&_0x50f179['createdAt']||new Date();}if(this['_loadedStateData']&&_0x426323===this['_loadedStateData']['fromVersion']){for(const _0x145689 of this['_loadedStateData']['authors'])_0x33cdcb['authorsIds']['includes'](_0x145689['id'])||_0x33cdcb['authorsIds']['push'](_0x145689['id']);}return _0x33cdcb;}['_loadRevisionData'](_0x2a75ae){if(!_0x2a75ae||_0x2a75ae['diffData'])return Promise['resolve']();{const _0x4fc881=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4fc881,'revisionId':_0x2a75ae['id']})['then'](_0x2ff0c2=>{_0x2a75ae['diffData']=_0x2ff0c2['diffData'];});}}['_bufferUpdate'](_0x190d38,_0x182205,_0x202c2e){if(this['_bufferedUpdates']['has'](_0x190d38)){const _0x52d0a5=this['_bufferedUpdates']['get'](_0x190d38);_0x182205=_0x202c2e?{..._0x52d0a5,..._0x182205}:{..._0x182205,..._0x52d0a5};}this['_bufferedUpdates']['set'](_0x190d38,_0x182205);}['_getFromVersion'](_0x272ceb){const _0xbfce33=this['repository']['getRevisions']();_0xbfce33['reverse'](),_0xbfce33['shift']();const _0x3bc778=_0xbfce33['find'](_0x5a0865=>_0x5a0865['toVersion']<=_0x272ceb)['toVersion'];return _0x3bc778<this['_startingVersion']?this['_startingVersion']:_0x3bc778;}['_createInitialRevision'](_0x46393c){const _0x25ae99=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x25ae99)this['_initialRevisionId']=_0x25ae99['id'];else{const _0xf63461=!this['editor']['model']['document']['roots']['find'](_0x3a2444=>this['editor']['model']['hasContent'](_0x3a2444)),_0x305acb=this['editor']['plugins']['get']('Users')['me']['id'],_0x2682e5=y(this['editor']['locale'],_0xf63461?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x46393c,'to':_0x46393c,'id':this['_initialRevisionId'],'name':_0x2682e5,'creatorId':_0x305acb});}}['_createCurrentRevision'](_0x2105f6){const _0x3064ee=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3064ee),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2105f6,'to':_0x2105f6,'id':_0x3064ee,'name':'','creatorId':null}));}['_makeRevision']({name:_0x45e61b,from:_0x1bf97c,to:_0x260650,creatorId:_0x2723d0,id:_0x3b173f}){const _0xacf3b9=this['buildRevisionData']({'from':_0x1bf97c,'to':_0x260650});_0xacf3b9['name']=_0x45e61b,_0xacf3b9['creatorId']=_0x2723d0,_0xacf3b9['id']=_0x3b173f;const _0x229f11=this['addRevisionData'](_0xacf3b9);return this['adapter']&&this['_bufferUpdate'](_0xacf3b9['id'],_0xacf3b9,!0x0),_0x229f11;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x5cbf1b){return(_0x5cbf1b=_0x5cbf1b['filter'](_0x3b420e=>!_0x3b420e['name']||'revision-start'!==_0x3b420e['name']&&'revision-end'!==_0x3b420e['name']))['forEach'](_0x3f5a27=>{'string'!=typeof _0x3f5a27&&(_0x3f5a27['children']=this['_removeRevisionMarkers'](_0x3f5a27['children']),_0x3f5a27['attributes']=_0x3f5a27['attributes']['filter'](_0x1f3c45=>!_0x1f3c45[0x0]['startsWith']('data-revision-')));}),_0x5cbf1b;}}function B(_0x578fd7,_0x33a9a9){const _0x1fab19=_0x33a9a9['editing']['view']['document'];if('string'==typeof _0x578fd7)return new _0x34914d(_0x1fab19,_0x578fd7);{const _0x4a9e41=_0x578fd7['children']['map'](_0x280aa4=>B(_0x280aa4,_0x33a9a9));return new(T[_0x578fd7['type']]||_0x533cf7)(_0x1fab19,_0x578fd7['name'],_0x578fd7['attributes'],_0x4a9e41);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5e1b7c){this['editor']=_0x5e1b7c,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'](_0x118574){this['source']=_0x118574;const _0x19530e=new Map(),_0x37532e=new Map(),_0x3a81b8=this['editor']['model']['document']['roots']['map'](_0x23b510=>_0x23b510['rootName']);for(const _0x4d7672 of _0x3a81b8){const _0x7af80f=this['editor']['model']['document']['getRoot'](_0x4d7672),_0x55ed66=q(_0x7af80f);_0x19530e['set'](_0x4d7672,_0x55ed66),_0x37532e['set'](_0x4d7672,Object['fromEntries'](_0x7af80f['getAttributes']()));}const _0x14b560=Array['from'](this['editor']['model']['markers'])['map'](_0x4c50ce=>[_0x4c50ce['name'],_0x4c50ce['getRange']()]),_0x5dde51=this['source']['version'];this['_saveMetaData'](_0x5dde51,_0x19530e,_0x14b560,_0x37532e),this['_startingRevisionId']=this['_revisionId'];const _0x5f3854=new Map(),_0x5bd135=new Map();for(const _0xf2f3e0 of _0x3a81b8){const _0x3712a1=G(_0xf2f3e0);_0x5f3854['set'](_0xf2f3e0,_0x3712a1),_0x5bd135['set'](_0xf2f3e0,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5f3854,[],_0x5bd135);}['getData'](_0x1e4430,_0x105bfe){if(this['_lastFrom']===_0x1e4430&&this['_lastTo']<=_0x105bfe)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x105bfe,!0x0);else{if(!this['_savedMetaData']['has'](_0x1e4430)){const _0x152631=this['_getPreviousFrom'](_0x1e4430);this['_calculateMetaData'](_0x152631,_0x1e4430,!0x1);}this['_calculateMetaData'](_0x1e4430,_0x105bfe,!0x0);}return this['_lastFrom']=_0x1e4430,this['_lastTo']=_0x105bfe,this['_getState']();}['loadState'](_0x2ed184){this['_reset'](),this['_lastFrom']=_0x2ed184['fromVersion'],this['_lastTo']=_0x2ed184['toVersion'];for(const _0x269403 in _0x2ed184['diffData']){const _0x4efc9b=_0x2ed184['diffData'][_0x269403]['attachChange'],_0x58645b=_0x485582(_0x2ed184['diffData'][_0x269403]['attributesBefore'])||{},_0x591e21=this['_makeModelFromViewString'](_0x2ed184['diffData'][_0x269403]['deletions']);_0x591e21['rootName']=_0x269403,_0x591e21['_isAttached']=!_0x4efc9b||!_0x4efc9b['isAttached'],_0x591e21['isAttached']=()=>_0x591e21['_isAttached'],this['_baseRoots']['set'](_0x269403,_0x591e21),this['_baseRootsAttributes']['set'](_0x269403,_0x58645b),_0x4efc9b&&this['_touchedRoots']['set'](_0x269403,_0x4efc9b);const _0x4a49ed=this['_makeIdsRoot'](_0x591e21);this['_baseIdsRoots']['set'](_0x269403,_0x4a49ed);for(const [_0x40eca3,_0x30843d]of _0x591e21['markers']){if(!_0x40eca3['startsWith']('revision:'))continue;const _0x327ecd=_0x40eca3['split'](':')[0x2];for(const _0x2ff471 of _0x30843d['getWalker']({'singleCharacters':!0x0})){const _0x3cf747=this['_getVidAttributeName'](_0x2ff471),_0x531b65='elementEnd'==_0x2ff471['type']?_0x2ff471['previousPosition']['path']['slice'](0x0,-0x1):_0x2ff471['previousPosition']['path'],_0x3be069=_0x4a49ed['getNodeByPath'](_0x531b65)['getAttribute'](_0x3cf747);this['_touched']['set'](_0x3be069,{'userId':_0x327ecd});}}}this['_startingRevisionId']=this['_revisionId'];const _0x91966e=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3bf3ed=>!this['_touched']['has'](_0x3bf3ed));let _0xe6a6fe=0x0;const _0x3cd484=new Map();for(const _0xeaa652 in _0x2ed184['diffData']){const _0x379c72=_0x2ed184['diffData'][_0xeaa652]['attachChange'],_0x581c90=_0x485582(_0x2ed184['diffData'][_0xeaa652]['attributesAfter'])||{},_0x354459=this['_makeModelFromViewString'](_0x2ed184['diffData'][_0xeaa652]['insertions']);_0x354459['rootName']=_0xeaa652,_0x354459['_isAttached']=!_0x379c72||_0x379c72['isAttached'],_0x354459['isAttached']=()=>_0x354459['_isAttached'],this['_diffRoots']['set'](_0xeaa652,_0x354459),this['_diffRootsAttributes']['set'](_0xeaa652,_0x581c90);const _0x13efbb=this['_makeIdsRoot'](_0x354459,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xeaa652,_0x13efbb),_0x3cd484['set'](_0xeaa652,_0x354459['isAttached']()?_0x581c90:{});for(const [_0x2bce05,_0xcad735]of _0x354459['markers']){if(!_0x2bce05['startsWith']('revision:'))continue;const _0xbd3595=_0x2bce05['split'](':')[0x2];for(const _0x54f75e of _0xcad735['getWalker']({'singleCharacters':!0x0})){const _0x5c7487=this['_getVidAttributeName'](_0x54f75e),_0x546f88=this['_revisionId']++,_0x277813='elementEnd'==_0x54f75e['type']?_0x54f75e['previousPosition']['path']['slice'](0x0,-0x1):_0x54f75e['previousPosition']['path'];_0x13efbb['getNodeByPath'](_0x277813)['_setAttribute'](_0x5c7487,_0x546f88),this['_touched']['set'](_0x546f88,{'userId':_0xbd3595});}}for(const _0x3f1e5a of this['editor']['model']['createRangeIn'](_0x354459)['getWalker']({'singleCharacters':!0x0})){const _0x519fde=this['_getVidAttributeName'](_0x3f1e5a),_0x250de2='elementEnd'==_0x3f1e5a['type']?_0x3f1e5a['previousPosition']['path']['slice'](0x0,-0x1):_0x3f1e5a['previousPosition']['path'],_0x242ea0=_0x13efbb['getNodeByPath'](_0x250de2);_0x242ea0['getAttribute'](_0x519fde)>0x0||_0x242ea0['_setAttribute'](_0x519fde,_0x91966e[_0xe6a6fe++]);}for(const [_0x447ff2,_0x139d70]of _0x354459['markers'])_0x447ff2['startsWith']('revision:')||this['_markers']['set'](_0x447ff2,_0x139d70);}const _0x4d4565=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4d4565),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4d4565,0x1));const _0x50abd7=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x50abd7),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x50abd7,0x1));const _0x2b7b1d=Array['from'](this['_diffRoots'])['map'](([_0x5d1000,_0x91bb1e])=>[_0x5d1000,q(_0x91bb1e)]);this['_saveMetaData'](this['_lastTo'],_0x2b7b1d,this['_markers'],_0x3cd484);}['_makeModelFromViewString'](_0x100446){const _0x3713d7=JSON['parse'](_0x100446),_0x161d55=this['editor']['editing']['view']['document'],_0x13133f=new _0x2eb8a6(_0x161d55,_0x3713d7['map'](_0x58bdc2=>B(_0x58bdc2,this['editor'])));return this['editor']['data']['toModel'](_0x13133f);}['_saveMetaData'](_0x15d0fd,_0x25d352,_0x353412,_0x21bdda){const _0x2e8966=new Map(_0x25d352),_0x8c24ab=new Map(_0x485582(_0x21bdda)),_0x16da14=new Map();for(const [_0x32878a,_0x45743a]of _0x353412)_0x16da14['set'](_0x32878a,{'start':_0x45743a['start']['clone'](),'end':_0x45743a['end']['clone'](),'rootName':_0x45743a['root']['rootName']});this['_savedMetaData']['set'](_0x15d0fd,{'roots':_0x2e8966,'markers':_0x16da14,'rootsAttributes':_0x8c24ab});}['_removeMetaData'](_0x10d77b){this['_savedMetaData']['delete'](_0x10d77b);}['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'](_0x5bd8bb,_0x180701=null){let _0x443e0c=null;_0x5bd8bb['is']('documentFragment')||(_0x443e0c=new ft(_0x5bd8bb['name'],{'vid_start':null===_0x180701?this['_revisionId']++:_0x180701++}));const _0x8a229e=[];for(const _0x3b3b92 of _0x5bd8bb['getChildren']())if(_0x3b3b92['is']('element')){_0x8a229e['push'](this['_makeIdsRoot'](_0x3b3b92,_0x180701));const _0x400ec4=_0x8a229e[_0x8a229e['length']-0x1];null!==_0x180701&&(_0x180701=_0x400ec4['is']('element','$text')?_0x400ec4['getAttribute']('vid')+0x1:_0x400ec4['getAttribute']('vid_end')+0x1);}else{for(let _0x2b85cf=0x0;_0x2b85cf<_0x3b3b92['offsetSize'];_0x2b85cf++)_0x8a229e['push'](new ft('$text',{'vid':null===_0x180701?this['_revisionId']++:_0x180701++}));}if(_0x5bd8bb['is']('documentFragment')){const _0x25d4b0=G(_0x5bd8bb['rootName']);return _0x25d4b0['_insertChild'](0x0,_0x8a229e),_0x25d4b0;}return _0x443e0c['_setAttribute']('vid_end',null===_0x180701?this['_revisionId']++:_0x180701++),_0x443e0c['_insertChild'](0x0,_0x8a229e),_0x443e0c;}['_calculateMetaData'](_0x3cab09,_0x241c30,_0x193e86){this['_reset']();const {roots:_0x1a0fe2,markers:_0x553bc0,rootsAttributes:_0x51c2d4}=this['_savedMetaData']['get'](_0x3cab09);this['_baseRoots']=new Map(_0x1a0fe2),this['_baseRootsAttributes']=new Map(_0x485582(_0x51c2d4));for(const [_0x295f38,_0x1e9360]of this['_baseRoots'])if('$graveyard'!==_0x295f38&&(this['_diffRoots']['set'](_0x295f38,q(_0x1e9360)),this['_diffRootsAttributes']=new Map(_0x485582(_0x51c2d4)),_0x193e86)){const _0x12e7f0=this['_revisionId'];this['_idsRoots']['set'](_0x295f38,this['_makeIdsRoot'](_0x1e9360)),this['_baseIdsRoots']['set'](_0x295f38,this['_makeIdsRoot'](_0x1e9360,_0x12e7f0));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x193e86&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x567db6,_0x53bb85]of _0x553bc0){const _0x15ba51=this['_baseRoots']['get'](_0x53bb85['rootName']),_0xab0f7=this['_diffRoots']['get'](_0x53bb85['rootName']),_0x3d677d=new vt(this['_fixPosition'](_0x53bb85['start'],_0x15ba51),this['_fixPosition'](_0x53bb85['end'],_0x15ba51)),_0x2e6eab=this['_fixRange'](_0x3d677d,_0xab0f7);_0x15ba51['markers']['set'](_0x567db6,_0x3d677d),this['_markers']['set'](_0x567db6,_0x2e6eab);}this['_applyOperations'](_0x3cab09,_0x241c30,_0x193e86);}['_applyOperations'](_0x2aa4ee,_0x231ead,_0x2b6368){for(const _0x555c2c of this['source']['getOperations'](_0x2aa4ee,_0x231ead))this['_handleOperation'](_0x555c2c,_0x2b6368);for(const _0x46492e of this['_diffRoots']['values']())_0x46492e['markers']['clear']();for(const [_0xa7afb2,_0x43ac80]of this['_markers']){this['_diffRoots']['get'](_0x43ac80['root']['rootName'])['markers']['set'](_0xa7afb2,_0x43ac80['clone']());}const _0x5db6a0=new Map(),_0xa25d09=new Map();for(const [_0x13d712,_0x31b9db]of this['_diffRoots'])_0x5db6a0['set'](_0x13d712,q(_0x31b9db)),_0xa25d09['set'](_0x13d712,this['_diffRootsAttributes']['get'](_0x13d712));this['_saveMetaData'](_0x231ead,_0x5db6a0,this['_markers'],_0xa25d09);}['_getPreviousFrom'](_0x1d0c4f){const _0x2afdad=Array['from'](this['_savedMetaData']['keys']());_0x2afdad['sort']((_0x1165bc,_0x3f93df)=>_0x1165bc-_0x3f93df),_0x2afdad['reverse']();for(const _0x4f1ba0 of _0x2afdad)if(_0x4f1ba0<_0x1d0c4f)return _0x4f1ba0;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5d25f0,_0x1f74b6){const _0x1f2045=Array['from'](_0x1f74b6['markers'])['map'](([_0x4b5510,_0xb96344])=>[_0x4b5510,this['_fixRange'](_0xb96344,_0x5d25f0)]);_0x5d25f0['markers']=new Map(_0x1f2045);}['_transformMarkers'](_0x25ab4d){for(const _0x567905 of this['_markers']['values']()){const _0x43d9f6=_0x567905['getTransformedByOperation'](_0x25ab4d),_0x11b7d8=vt['_createFromRanges'](_0x43d9f6);_0x567905['start']=_0x11b7d8['start'],_0x567905['end']=_0x11b7d8['end'];}}['_handleOperation'](_0x17de02,_0x5aa080){if('addRoot'==_0x17de02['type']||'detachRoot'==_0x17de02['type'])return void this['_handleRootOperation'](_0x17de02,_0x5aa080);if('insert'==_0x17de02['type']){const _0x2b038f=_0x17de02['position']['root']['rootName'];this['_diffRoots']['has'](_0x2b038f)||(this['_diffRoots']['set'](_0x2b038f,G(_0x2b038f,!0x0)),this['_diffRootsAttributes']['set'](_0x2b038f,{}),_0x5aa080&&this['_idsRoots']['set'](_0x2b038f,G(_0x2b038f,!0x0)));}else{if('addRootAttribute'==_0x17de02['type']||'removeRootAttribute'==_0x17de02['type']||'changeRootAttribute'==_0x17de02['type'])return void this['_handleRootAttributeOperation'](_0x17de02);}const _0x4ffc8d=this['_cloneOperation'](_0x17de02,this['_diffRoots']);if('marker'!==_0x17de02['type']&&(_0x4ffc8d['_execute'](),this['_transformMarkers'](_0x4ffc8d)),_0x5aa080)switch(_0x4ffc8d['type']){case'insert':this['_handleInsertOperation'](_0x17de02);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x17de02);break;case'merge':this['_handleMergeOperation'](_0x17de02);break;case'split':this['_handleSplitOperation'](_0x17de02);break;case'marker':this['_handleMarkerOperation'](_0x17de02);}}['_cloneOperation'](_0x26cea1,_0x34bc25){const _0x568712=_0x26cea1['clone']();return _0x568712['_authorId']=_0x26cea1['_authorId'],this['_fixOperation'](_0x568712,_0x34bc25),_0x568712;}['_getBaseVids'](_0x7782){return _0x7782['map'](_0x7db937=>{const _0x4e2eb7=this['_getVidAttributeName'](_0x7db937);return Number(_0x7db937['item']['getAttribute'](_0x4e2eb7));});}['_generateTape'](_0x42ea69,_0x4cf335){if(_0x42ea69['is']('element','$text'))_0x4cf335['push']({'item':_0x42ea69,'type':'text'});else{_0x42ea69['is']('element')&&_0x4cf335['push']({'item':_0x42ea69,'type':'elementStart'});for(const _0x36726f of _0x42ea69['getChildren']())this['_generateTape'](_0x36726f,_0x4cf335);_0x42ea69['is']('element')&&_0x4cf335['push']({'item':_0x42ea69,'type':'elementEnd'});}return _0x4cf335;}['_getState'](){const _0x2bb2f4=new Map(this['_touched']),_0x3634ae=new Map(_0x2bb2f4),_0x2b46d5=new Map(),_0x9a47bf={'insertions':{},'deletions':{}},_0x23e2aa={'insertions':{},'deletions':{}},_0x3e3bc0=new Map(),_0x15c0c7=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x15c0c7['delete']('$graveyard');for(const _0x1d7b22 of _0x15c0c7){const _0x25eea1=this['_diffRoots']['get'](_0x1d7b22)||G(_0x1d7b22,!0x1),_0x5b413c=this['_baseRoots']['get'](_0x1d7b22)||G(_0x1d7b22,!0x1);_0x25eea1['isAttached']()||_0x5b413c['isAttached']()?(_0x9a47bf['insertions'][_0x1d7b22]=q(_0x25eea1),_0x9a47bf['deletions'][_0x1d7b22]=q(_0x5b413c),this['_copyMarkers'](_0x9a47bf['deletions'][_0x1d7b22],_0x5b413c),this['_copyMarkers'](_0x9a47bf['insertions'][_0x1d7b22],_0x25eea1),_0x23e2aa['insertions'][_0x1d7b22]=this['_generateTape'](this['_idsRoots']['get'](_0x1d7b22),[]),_0x23e2aa['deletions'][_0x1d7b22]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x1d7b22)||G(_0x1d7b22,!0x1),[])):_0x15c0c7['delete'](_0x1d7b22);}for(const _0x3b39e9 of _0x15c0c7){const _0xde698=_0x23e2aa['insertions'][_0x3b39e9];for(const _0x18e5a5 of _0xde698){const _0x3e7657=this['_getVidAttributeName'](_0x18e5a5),_0x504621=_0x18e5a5['item']['getAttribute'](_0x3e7657);_0x3634ae['delete'](_0x504621),_0x504621>=this['_startingRevisionId']&&_0x2b46d5['set'](_0x504621,_0x2bb2f4['get'](_0x504621));}}for(const _0x257df6 of _0x15c0c7){const _0x3822b7=_0x23e2aa['insertions'][_0x257df6],_0x21ff29=this['_getBaseVids'](_0x23e2aa['deletions'][_0x257df6]);let _0x35b247=0x0;for(const _0x4f912c of _0x3822b7){const _0x222226=this['_getVidAttributeName'](_0x4f912c),_0x444970=_0x4f912c['item']['getAttribute'](_0x222226);if(!_0x2b46d5['has'](_0x444970)&&!_0x3e3bc0['has'](_0x444970)){if(_0x3634ae['has'](_0x444970))_0x35b247++;else{if(_0x444970!=_0x21ff29[_0x35b247]){const _0x1688ba=_0x2bb2f4['get'](_0x444970)||_0x2bb2f4['get'](_0x21ff29[_0x35b247]);for(;_0x444970!=_0x21ff29[_0x35b247];)_0x3634ae['has'](_0x21ff29[_0x35b247])||(_0x3e3bc0['set'](_0x21ff29[_0x35b247],_0x1688ba),_0x2bb2f4['set'](_0x21ff29[_0x35b247],_0x1688ba)),_0x35b247++;}_0x35b247++;}}}}for(const _0x39a5d8 of _0x15c0c7){const _0x3faad4=_0x23e2aa['insertions'][_0x39a5d8];for(const _0x5438da of _0x3faad4){const _0x599e72=this['_getVidAttributeName'](_0x5438da),_0x38d55d=_0x5438da['item']['getAttribute'](_0x599e72);if(_0x3e3bc0['has'](_0x38d55d)){const _0x39a297=_0x3e3bc0['get'](_0x38d55d);_0x3634ae['has'](_0x38d55d)||_0x3634ae['set'](_0x38d55d,{..._0x39a297}),_0x2b46d5['set'](_0x38d55d,{..._0x39a297});}}}for(const _0x4e6f80 of _0x3634ae['keys']())_0x4e6f80>=this['_startingRevisionId']&&_0x3634ae['delete'](_0x4e6f80);const _0x3dd7f1=new Map();for(const _0x37340b of _0x15c0c7){let _0x1cb138=_0x23e2aa['insertions'][_0x37340b];for(const _0x21f4b3 of _0x1cb138)if(_0x21f4b3['item']['is']('element','tableCell')){const _0x146d36=this['_getVidAttributeName'](_0x21f4b3),_0x1ae52e=_0x21f4b3['item']['getAttribute'](_0x146d36);if(_0x2b46d5['has'](_0x1ae52e)){const _0x476552=_0x21f4b3['item']['parent']['parent']['getAttribute']('vid_start'),_0x45c75e=_0x3dd7f1['get'](_0x476552)||new Set();_0x45c75e['add'](_0x2b46d5['get'](_0x1ae52e)['userId']),_0x3dd7f1['set'](_0x476552,_0x45c75e);}}_0x1cb138=_0x23e2aa['deletions'][_0x37340b];for(const _0x599a71 of _0x1cb138)if(_0x599a71['item']['is']('element','tableCell')){const _0x461dd7=this['_getVidAttributeName'](_0x599a71),_0xde5c82=_0x599a71['item']['getAttribute'](_0x461dd7);if(_0x3634ae['has'](_0xde5c82)){const _0x2fb7e0=_0x599a71['item']['parent']['parent']['getAttribute']('vid_start'),_0x3d8dee=_0x3dd7f1['get'](_0x2fb7e0)||new Set();_0x3d8dee['add'](_0x3634ae['get'](_0xde5c82)['userId']),_0x3dd7f1['set'](_0x2fb7e0,_0x3d8dee);}}for(const _0x21278d of _0x3dd7f1['keys']())(_0x2b46d5['has'](_0x21278d)||_0x3634ae['has'](_0x21278d))&&_0x3dd7f1['delete'](_0x21278d);}for(const _0x16a5ee of _0x15c0c7){const _0x2f1ee2=_0x23e2aa['insertions'][_0x16a5ee];let _0x1aa44b=null,_0x1a5a3c=null;for(const _0x71e6f5 of _0x2f1ee2){const _0xde919=this['_getVidAttributeName'](_0x71e6f5),_0x1cf688=_0x71e6f5['item']['getAttribute'](_0xde919),_0x2e04cb=_0x3dd7f1['get'](_0x1cf688);_0x2e04cb&&'elementStart'==_0x71e6f5['type']&&(_0x1aa44b=Array['from'](_0x2e04cb)[0x0],_0x1a5a3c=_0x71e6f5['item']['getAttribute']('vid_end')),_0x1aa44b&&(_0x3634ae['set'](_0x1cf688,{'userId':_0x1aa44b}),_0x2b46d5['set'](_0x1cf688,{'userId':_0x1aa44b})),_0x1cf688==_0x1a5a3c&&(_0x1aa44b=null,_0x1a5a3c=null);}}const _0x44fdd8={},_0x3ba118=new Set();for(const _0x3e8128 of _0x15c0c7){const _0x2eff8a=_0x9a47bf['deletions'][_0x3e8128],_0x8a8676=_0x9a47bf['insertions'][_0x3e8128];for(const {userId:_0x866dc4}of this['_touchedMarkers']['values']())null!==_0x866dc4&&_0x3ba118['add'](_0x866dc4);for(const {userId:_0x29112c}of this['_touchedRoots']['values']())null!==_0x29112c&&_0x3ba118['add'](_0x29112c);this['_markChanges'](_0x8a8676,_0x23e2aa['insertions'][_0x3e8128],_0x2b46d5,'insertion',_0x3ba118),this['_markChanges'](_0x2eff8a,_0x23e2aa['deletions'][_0x3e8128],_0x3634ae,'deletion',_0x3ba118),_0x44fdd8[_0x3e8128]={'insertions':this['_prepareViewToSave'](_0x8a8676),'deletions':this['_prepareViewToSave'](_0x2eff8a),'attachChange':this['_touchedRoots']['get'](_0x3e8128)||null,'attributesBefore':_0x485582(this['_baseRootsAttributes']['get'](_0x3e8128))||{},'attributesAfter':_0x485582(this['_diffRootsAttributes']['get'](_0x3e8128))};}return{'diffData':_0x44fdd8,'authorsIds':Array['from'](_0x3ba118)};}['_processRootBeforeSave'](_0x3a1a44){for(const [,_0xb0db84]of _0x3a1a44['markers']){const _0x46585b=_0xb0db84['start']['getAncestors']()['filter'](_0x29d4fd=>'tableCell'==_0x29d4fd['name']);for(const _0x4b9875 of _0x46585b)0x1==_0x4b9875['childCount']&&_0x4b9875['getChild'](0x0)['is']('element','paragraph')&&_0x4b9875['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x28cbf1){this['_processRootBeforeSave'](_0x28cbf1);const _0x17b559=this['editor']['data']['toView'](_0x28cbf1,{}),_0x508516=Array['from'](_0x17b559['getChildren']())['map'](_0x57774a=>this['_getViewJson'](_0x57774a));return JSON['stringify'](_0x508516);}['_getViewJson'](_0x20be1a){if(_0x20be1a['is']('$text'))return _0x20be1a['data'];{const _0x4e4b73=_0x20be1a;return{'type':Object['keys'](T)['find'](_0x5b6881=>_0x20be1a instanceof T[_0x5b6881]),'name':_0x4e4b73['name'],'attributes':Array['from'](_0x4e4b73['getAttributes']()),'children':Array['from'](_0x4e4b73['getChildren']())['map'](_0x888e57=>this['_getViewJson'](_0x888e57))};}}['_markChanges'](_0x21f021,_0x714ae2,_0x2d3c5b,_0x410bd4,_0x40a6df){let _0x31035d=null,_0x57a1f6=null,_0x5319c0=0x0;const _0x23578c=this['editor']['model'];for(let _0x4fc91e=0x0;_0x4fc91e<_0x714ae2['length'];_0x4fc91e++){const _0xec8597=this['_getVidAttributeName'](_0x714ae2[_0x4fc91e]),_0x58cfc9=_0x714ae2[_0x4fc91e]['item']['getAttribute'](_0xec8597),_0x574806=_0x2d3c5b['get'](_0x58cfc9),_0x1ff93e=_0x4fc91e==_0x714ae2['length']-0x1;(!_0x31035d&&_0x574806&&(_0x31035d=_0x574806,_0x57a1f6=_0x714ae2[_0x4fc91e]),_0x31035d&&(!_0x574806||_0x574806['userId']!=_0x31035d['userId']))&&(_0x4a9aa1(_0x574806,L(_0x57a1f6,_0x21f021,_0x23578c),L(_0x714ae2[_0x4fc91e],_0x21f021,_0x23578c)),_0x31035d=_0x574806||null,_0x57a1f6=_0x574806?_0x714ae2[_0x4fc91e]:null),_0x31035d&&_0x1ff93e&&_0x4a9aa1(_0x574806,L(_0x57a1f6,_0x21f021,_0x23578c),W(_0x714ae2[_0x4fc91e],_0x21f021,_0x23578c));}function _0x4a9aa1(_0x2d7eb0,_0x387242,_0x41403e){const _0x239d4a=_0x31035d['userId'],_0x5d9f37='revision:'+_0x410bd4+':'+_0x239d4a+':'+_0x5319c0++,_0x553268=_0x23578c['createRange'](_0x387242,_0x41403e);_0x21f021['markers']['set'](_0x5d9f37,_0x553268),null!==_0x239d4a&&_0x40a6df['add'](_0x239d4a);}}['_getVidAttributeName'](_0x471788){switch(_0x471788['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x9fb52f,_0x3737cb){_0x9fb52f['baseVersion']=null;for(const _0x595fc7 in _0x9fb52f){const _0x32f6ca=_0x9fb52f[_0x595fc7];if(_0x32f6ca instanceof gt){const _0x151d1d=_0x3737cb['get'](_0x32f6ca['root']['rootName']);_0x9fb52f[_0x595fc7]=this['_fixPosition'](_0x32f6ca,_0x151d1d);}if(_0x32f6ca instanceof vt){const _0x5ef9b6=_0x3737cb['get'](_0x32f6ca['root']['rootName']);_0x9fb52f[_0x595fc7]=this['_fixRange'](_0x32f6ca,_0x5ef9b6);}'root'===_0x595fc7&&(_0x9fb52f['root']=_0x3737cb['get'](_0x9fb52f['root']['rootName']));}}['_fixRange'](_0x5597db,_0x1c7899){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5597db['start'],_0x1c7899),this['_fixPosition'](_0x5597db['end'],_0x1c7899));}['_fixPosition'](_0x5d3e55,_0x5b4871){return this['editor']['model']['createPositionFromPath'](_0x5b4871,_0x5d3e55['path'],_0x5d3e55['stickiness']);}['_handleInsertOperation'](_0x39537f){const _0x420a3d=this['_idsRoots']['get'](_0x39537f['position']['root']['rootName']),_0x5a66b4=this['_fixPosition'](_0x39537f['position'],_0x420a3d),_0x391586=null===_0x39537f['_authorId']?null:_0x39537f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x52e42a=_0x5a66b4['parent'],_0x2e64fe=this['_revisionId'],_0x598d48=[];for(const _0x3c2d22 of _0x39537f['nodes'])if(_0x3c2d22['is']('element'))_0x598d48['push'](this['_makeIdsRoot'](_0x3c2d22));else{for(let _0x571f00=0x0;_0x571f00<_0x3c2d22['offsetSize'];_0x571f00++)_0x598d48['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x319489=this['_revisionId'];for(let _0x584f60=_0x2e64fe;_0x584f60<_0x319489;_0x584f60++)this['_touched']['set'](_0x584f60,{'userId':_0x391586});_0x52e42a['_insertChild'](_0x5a66b4['offset'],_0x598d48);}['_handleMoveOperation'](_0x30c98b){(_0x30c98b=this['_cloneOperation'](_0x30c98b,this['_idsRoots']))['_execute']();const _0x42742=null===_0x30c98b['_authorId']?null:_0x30c98b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x29e1c8=_0x30c98b['getMovedRangeStart'](),_0x3a2d6e=_0x29e1c8['parent'],_0x4a9ed8=_0x29e1c8['offset'];!function _0x56ce84(_0x4185ac,_0x20b200,_0x2aa58f,_0x351c8a){for(let _0x1d6b42=_0x2aa58f;_0x1d6b42<_0x351c8a;_0x1d6b42++){const _0x27ffab=_0x20b200['getChild'](_0x1d6b42);_0x27ffab['is']('element','$text')?_0x4185ac['set'](_0x27ffab['getAttribute']('vid'),{'userId':_0x42742}):(_0x4185ac['set'](_0x27ffab['getAttribute']('vid_start'),{'userId':_0x42742}),_0x56ce84(_0x4185ac,_0x27ffab,0x0,_0x27ffab['childCount']),_0x4185ac['set'](_0x27ffab['getAttribute']('vid_end'),{'userId':_0x42742}));}}(this['_touched'],_0x3a2d6e,_0x4a9ed8,_0x4a9ed8+_0x30c98b['howMany']);}['_handleMergeOperation'](_0x13d0d9){const _0x39e17c=null===(_0x13d0d9=this['_cloneOperation'](_0x13d0d9,this['_idsRoots']))['_authorId']?null:_0x13d0d9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2b5102=_0x13d0d9['targetPosition']['parent'],_0x3ed2b1=_0x13d0d9['sourcePosition']['parent'],_0x340ebc=_0x2b5102['getAttribute']('vid_end'),_0x1639dd=_0x3ed2b1['getAttribute']('vid_start');_0x2b5102['_setAttribute']('vid_end',_0x3ed2b1['getAttribute']('vid_end')),_0x3ed2b1['_setAttribute']('vid_end',_0x340ebc),this['_touched']['set'](_0x1639dd,{'userId':_0x39e17c}),this['_touched']['set'](_0x340ebc,{'userId':_0x39e17c}),_0x13d0d9['_execute']();}['_handleSplitOperation'](_0x492353){const _0x7b78de=null===(_0x492353=this['_cloneOperation'](_0x492353,this['_idsRoots']))['_authorId']?null:_0x492353['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x20463f=_0x492353['graveyardPosition'],_0x404415=_0x492353['splitPosition']['parent'];_0x492353['_execute']();const _0x205bed=_0x404415['getAttribute']('vid_end'),_0x4103ca=_0x492353['insertionPosition']['nodeAfter'];if(_0x20463f){const _0x4cf6fb=_0x4103ca['getAttribute']('vid_end'),_0x1e2440=_0x404415['getAttribute']('vid_end');_0x404415['_setAttribute']('vid_end',_0x4cf6fb),_0x4103ca['_setAttribute']('vid_end',_0x1e2440),this['_touched']['set'](_0x404415['getAttribute']('vid_end'),{'userId':_0x7b78de}),this['_touched']['set'](_0x4103ca['getAttribute']('vid_start'),{'userId':_0x7b78de});}else{const _0x594d23=this['_revisionId']++,_0x4fa36c=this['_revisionId']++;_0x404415['_setAttribute']('vid_end',_0x594d23),_0x4103ca['_setAttribute']('vid_start',_0x4fa36c),_0x4103ca['_setAttribute']('vid_end',_0x205bed),this['_touched']['set'](_0x594d23,{'userId':_0x7b78de}),this['_touched']['set'](_0x4fa36c,{'userId':_0x7b78de});}}['_handleMarkerOperation'](_0x26f81b){if(!_0x26f81b['affectsData'])return;const _0x24434a=(_0x26f81b=this['_cloneOperation'](_0x26f81b,this['_diffRoots']))['oldRange']?_0x26f81b['oldRange']['root']:null,_0x275cd5=_0x26f81b['newRange']?_0x26f81b['newRange']['root']:null;_0x24434a&&this['_markers']['delete'](_0x26f81b['name']),_0x275cd5&&this['_markers']['set'](_0x26f81b['name'],_0x26f81b['newRange']['clone']());const _0x1daeae=null===_0x26f81b['_authorId']?null:_0x26f81b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x55df19=_0x26f81b['name'];if(!this['_touchedMarkers']['has'](_0x55df19))return void this['_touchedMarkers']['set'](_0x55df19,{'range':_0x26f81b['oldRange'],'userId':_0x1daeae});const _0x165ca0=this['_touchedMarkers']['get'](_0x55df19),_0x29d851=_0x165ca0['range'],_0x30da5e=_0x26f81b['newRange'];null==_0x29d851&&null==_0x30da5e||_0x29d851&&_0x30da5e&&_0x29d851['isEqual'](_0x30da5e)?this['_touchedMarkers']['delete'](_0x26f81b['name']):_0x165ca0['userId']=_0x1daeae;}['_handleRootOperation'](_0x3a2159,_0x589629){this['_diffRoots']['has'](_0x3a2159['rootName'])?this['_diffRoots']['get'](_0x3a2159['rootName'])['_isAttached']=_0x3a2159['isAdd']:(this['_diffRoots']['set'](_0x3a2159['rootName'],G(_0x3a2159['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x3a2159['rootName'],{}),_0x589629&&this['_idsRoots']['set'](_0x3a2159['rootName'],G(_0x3a2159['rootName'],!0x0)));const _0x348deb=null===_0x3a2159['_authorId']?null:_0x3a2159['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x255248=this['_touchedRoots']['get'](_0x3a2159['rootName']);_0x255248&&_0x255248['userId']===_0x348deb?this['_touchedRoots']['delete'](_0x3a2159['rootName']):this['_touchedRoots']['set'](_0x3a2159['rootName'],{'userId':_0x348deb,'isAttached':_0x3a2159['isAdd']});}['_handleRootAttributeOperation'](_0x3ed75a){const _0x4973cd=this['_diffRootsAttributes']['get'](_0x3ed75a['root']['rootName']);null===_0x3ed75a['newValue']?delete _0x4973cd[_0x3ed75a['key']]:_0x4973cd[_0x3ed75a['key']]=_0x3ed75a['newValue'];}}function q(_0x4219c3){const _0x1522c=G(_0x4219c3['rootName'],_0x4219c3['isAttached']());for(const _0x52da33 of _0x4219c3['getChildren']()){const _0x31d3e9=_0x52da33['_clone'](!0x0);_0x1522c['_appendChild'](_0x31d3e9);}return _0x1522c;}function G(_0x2550ec,_0x541b53=!0x0){const _0x33e8da=new wt();return _0x33e8da['rootName']=_0x2550ec,_0x33e8da['_isAttached']=_0x541b53,_0x33e8da['isAttached']=()=>_0x33e8da['_isAttached'],_0x33e8da;}function L(_0x425503,_0x471341,_0x38f111){const _0x43a726='elementEnd'==_0x425503['type']?_0x38f111['createPositionAt'](_0x425503['item'],'end'):_0x38f111['createPositionBefore'](_0x425503['item']);return _0x38f111['createPositionFromPath'](_0x471341,_0x43a726['path'],_0x43a726['stickiness']);}function W(_0x22b859,_0x1788b3,_0x235fe3){const _0x504881='elementStart'==_0x22b859['type']?_0x235fe3['createPositionAt'](_0x22b859['item'],0x0):_0x235fe3['createPositionAfter'](_0x22b859['item']);return _0x235fe3['createPositionFromPath'](_0x1788b3,_0x504881['path'],_0x504881['stickiness']);}class ns extends _0x5ab15a{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x192f50,_0x5833ab){super(_0x192f50),this['focusTracker']=new _0x2e00ab(),this['keystrokes']=new _0x249f2e(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x5833ab),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'](),_0x4ca2cd({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3b635c=_0x3eebc2=>_0x3eebc2['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3b635c),this['keystrokes']['set']('arrowleft',_0x3b635c),this['keystrokes']['set']('arrowup',_0x3b635c),this['keystrokes']['set']('arrowdown',_0x3b635c);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x33e38f){this['revisionNameInputView']['fieldView']['element']['value']=_0x33e38f['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1c4f85){const _0x70b396=new at(this['locale'],_0x44a15d),_0x1d0f89=_0x70b396['fieldView'];_0x1d0f89['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4e21ef=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1c4f85&&(_0x4e21ef+='\x20('+y(this['locale'],'optional')+')'),(_0x70b396['label']=_0x4e21ef,_0x1d0f89['on']('input',()=>{this['revisionNameInputValue']=_0x1d0f89['element']['value']['trim']();}),_0x70b396);}}class u extends _0x1b7a4e{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5d9708=this['editor'],_0x4987c9=_0x5d9708['plugins']['get']('RevisionTracker');_0x5d9708['ui']['componentFactory']['add']('revisionHistory',_0x104077=>{const _0x4c3098=_0x2d15dd(_0x104077),_0x37595e=_0x4c3098['panelView']['children'],_0x34906d=new te(_0x104077),_0xb77749=new _0x509449(_0x104077),_0x308d04=new _0x33eaaa(_0x104077),_0x46967a=new _0x509449(_0x104077),_0x4b1a22=new _0x33eaaa(_0x104077);return _0x4c3098['bind']('isEnabled')['to'](_0x4987c9,'isReady',_0x4987c9,'isEnabled',_0x5d9708,'isReadOnly',(_0x4ed60c,_0x27ac1e,_0x2a0d07)=>_0x4ed60c&&_0x27ac1e&&!_0x2a0d07),_0x4c3098['buttonView']['set']({'icon':_0x3dd9b1['history'],'label':y(_0x104077,'Revision\x20history'),'tooltip':!0x0}),_0x308d04['set']({'label':y(_0x104077,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x308d04['bind']('isEnabled')['to'](_0x4987c9,'isReady',_0x4987c9,'isEnabled',_0x5d9708,'isReadOnly',(_0x3310ca,_0x457171,_0x23d9f4)=>_0x3310ca&&_0x457171&&!_0x23d9f4),_0x308d04['on']('execute',()=>this['_showDialog']()),_0x4b1a22['set']({'label':y(_0x104077,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4b1a22['bind']('isEnabled')['to'](_0x4987c9,'isReady',_0x5d9708,'isReadOnly',(_0x6746e,_0x2c7eb4)=>_0x6746e&&!_0x2c7eb4),_0x4b1a22['on']('execute',()=>{_0x5d9708['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4c3098['isOpen']=!0x1,_0x5d9708['editing']['view']['focus']();}),_0xb77749['children']['add'](_0x308d04),_0x46967a['children']['add'](_0x4b1a22),_0x34906d['role']='menu',_0x34906d['items']['addMany']([_0xb77749,_0x46967a]),_0x37595e['add'](_0x34906d),_0x4c3098;}),_0x5d9708['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x54e7a8=this['editor'],_0x42bbd3=_0x54e7a8['locale'],_0x53bb57=new _0x3b0631(_0x42bbd3),_0x3de74d=new _0x179823(_0x42bbd3);_0x53bb57['buttonView']['set']({'icon':_0x3dd9b1['history'],'label':y(_0x42bbd3,'Revision\x20history')});const _0x501029=new _0x837eab(_0x42bbd3,_0x53bb57),_0x496c0a=new _0x21866b(_0x42bbd3);_0x496c0a['set']({'label':y(_0x42bbd3,'Save\x20current\x20revision')}),_0x496c0a['delegate']('execute')['to'](_0x53bb57),_0x496c0a['on']('execute',()=>{this['_showDialog']();}),_0x501029['children']['add'](_0x496c0a),_0x3de74d['items']['add'](_0x501029);const _0x2fcb15=new _0x837eab(_0x42bbd3,_0x53bb57),_0x52070c=new _0x21866b(_0x42bbd3);return _0x52070c['set']({'label':y(_0x42bbd3,'Open\x20revision\x20history')}),_0x52070c['delegate']('execute')['to'](_0x53bb57),_0x52070c['on']('execute',()=>{_0x54e7a8['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2fcb15['children']['add'](_0x52070c),_0x3de74d['items']['add'](_0x2fcb15),_0x53bb57['panelView']['children']['add'](_0x3de74d),_0x53bb57;}['_showDialog'](){const _0x49bf19=this['editor'],_0x3d6421=_0x49bf19['locale'],t=_0x3d6421['t'],_0x22704b=_0x49bf19['plugins']['get']('Dialog'),_0x603b7c=_0x49bf19['plugins']['get']('RevisionTracker');function _0x3a0f61(_0x57adb5){_0x49bf19['config']['get']('revisionHistory.requireRevisionName')&&''===_0x57adb5['revisionName']?_0x57adb5['revisionNameInputView']['errorText']=y(_0x3d6421,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x49bf19['plugins']['get'](l)['saveRevision']({'name':_0x57adb5['revisionName']}),_0x22704b['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3a0f61(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x22704b['show']({'id':'revisionSave','title':y(_0x3d6421,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x22704b['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x358588){_0x358588['bind']('isEnabled')['to'](_0x603b7c,'isReady',_0x603b7c,'isEnabled',_0x49bf19,'isReadOnly',(_0x993f6,_0x223eaa,_0x2f9b0d)=>_0x993f6&&_0x223eaa&&!_0x2f9b0d);},'onExecute':()=>_0x3a0f61(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x31fec3=this['editor'],_0x2a3c63=_0x31fec3['locale'];this['_saveRevisionFormView']=new ns(_0x2a3c63,_0x31fec3['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5ab15a{['changeId'];['_model'];constructor(_0xb68ba,_0x1200f1){super(_0xb68ba),this['_model']=_0x1200f1,this['changeId']=_0x1200f1['id'];const _0x5f1376=this['bindTemplate'],_0x39344a=y(_0xb68ba,_0x1200f1['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1200f1['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1200f1['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x5f1376['to']('type',_0x40a1bb=>'ck-revision-change__'+_0x40a1bb)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x39344a}]},{'text':'\x20'+_0x1200f1['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x5330e2(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x25d618){super(),this['id']=_0x25d618['id']||_0x53c5f2(),this['author']=_0x25d618['author'],this['type']=_0x25d618['type'],this['data']=_0x25d618['data']||{},this['rootName']=_0x25d618['rootName'],this['set']('createdAt',_0x25d618['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(_0x298fcf,_0x44765c){this['newRevisionId']=_0x298fcf,this['oldRevisionId']=_0x44765c,this['changes']=new _0x2828e8();}['_setChanges'](_0x52e3db){for(const _0xd32185 of _0x52e3db)this['changes']['add'](_0xd32185);}}const tt={'c':_0x233f02,'a':_0x3c7d2e,'e':_0x109678,'r':_0x660f43,'u':_0x55efa8};class d extends _0x1b7a4e{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5465dc,_0x2bb583,A];}constructor(_0x5c3c52){super(_0x5c3c52),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',(_0x5d6f03,_0x3aa514,_0x2235e5)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4e280d=>{for(const _0xf6b444 of this['editor']['editing']['view']['document']['roots'])_0x2235e5?_0x4e280d['removeClass']('ck-editor__editable__overlay',_0xf6b444):_0x4e280d['addClass']('ck-editor__editable__overlay',_0xf6b444);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x498f2f=>null!==_0x498f2f),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1bb6e4,_0x1c3036,_0x3a93b9)=>_0x1bb6e4&&_0x3a93b9?_0x1c3036['changes']['getIndex'](_0x3a93b9):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x34743d,_0x88c8f7)=>_0x34743d?_0x88c8f7['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x2bb583);}['init'](){const _0x41dd35=this['editor'],_0x995d5e=new yt(_0x41dd35,{'direction':'backward'}),_0xd7435c=new yt(_0x41dd35,{'direction':'forward'});(_0x41dd35['commands']['add']('showPreviousChange',_0x995d5e),_0x41dd35['commands']['add']('showNextChange',_0xd7435c),_0x41dd35['commands']['add']('restoreRevision',new bt(_0x41dd35)),this['on']('change:numberOfChanges',()=>{_0x995d5e['refresh'](),_0xd7435c['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x41dd35['enableReadOnlyMode']('revision-viewer'),_0x41dd35['plugins']['has']('WidgetToolbarRepository'))&&_0x41dd35['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1c53f2){await this['loadRevisionData'](_0x1c53f2);const _0x227aea={};for(const _0x2db892 in _0x1c53f2['diffData']){if(_0x1c53f2['diffData'][_0x2db892]['attachChange']&&!_0x1c53f2['diffData'][_0x2db892]['attachChange']['isAttached'])continue;const _0x36f364=this['_removeRevisionMarkers'](JSON['parse'](_0x1c53f2['diffData'][_0x2db892]['insertions'])),_0x13f62f=this['editor']['editing']['view']['document'],_0x32d0cf=new _0x2eb8a6(_0x13f62f,_0x36f364['map'](_0x1b6509=>this['_getViewObj'](_0x1b6509)));this['editor']['data']['processor']['useFillerType']('marked'),_0x227aea[_0x2db892]=this['editor']['data']['processor']['toData'](_0x32d0cf),this['editor']['data']['processor']['useFillerType']('default');}return _0x227aea;}async['getRevisionRootsAttributes'](_0x44f722){await this['loadRevisionData'](_0x44f722);const _0x3ca3cf={};for(const _0x51cb35 in _0x44f722['diffData'])_0x44f722['diffData'][_0x51cb35]['attachChange']&&!_0x44f722['diffData'][_0x51cb35]['attachChange']['isAttached']||(_0x3ca3cf[_0x51cb35]=_0x44f722['diffData'][_0x51cb35]['attributesAfter']||{});return _0x3ca3cf;}['_removeRevisionMarkers'](_0x6d4d7e){return(_0x6d4d7e=_0x6d4d7e['filter'](_0x41d28b=>!_0x41d28b['name']||'revision-start'!==_0x41d28b['name']&&'revision-end'!==_0x41d28b['name']))['forEach'](_0x4c1a9e=>{'string'!=typeof _0x4c1a9e&&(_0x4c1a9e['children']=this['_removeRevisionMarkers'](_0x4c1a9e['children']),_0x4c1a9e['attributes']=_0x4c1a9e['attributes']['filter'](_0xefd039=>!_0xefd039[0x0]['startsWith']('data-revision-')));}),_0x6d4d7e;}async['compare'](_0x44abef,_0x19451d,_0x4e5963=!0x1){if(!this['isEnabled'])return;const _0x1300fe=this['diff'],_0x1cc1e7=this['repository'],_0x4dbae6='string'==typeof _0x44abef?_0x1cc1e7['getRevision'](_0x44abef):_0x44abef,_0x464c13='string'==typeof _0x19451d?_0x1cc1e7['getRevision'](_0x19451d):_0x19451d,_0x505eb5=_0x4dbae6['id'],_0x8beb7c=_0x464c13?_0x464c13['id']:null;if(!_0x4e5963&&this['diff']&&this['diff']['newRevisionId']===_0x505eb5&&this['diff']['oldRevisionId']===_0x8beb7c)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x505eb5,_0x8beb7c);const _0xe7e93e=this['_getRevisionsRange'](_0x4dbae6,_0x464c13,!0x0)['map'](_0x5dbdaf=>this['loadRevisionData'](_0x5dbdaf));return _0xe7e93e['push'](new Promise(_0x1477c9=>{setTimeout(_0x1477c9,0x14);})),Promise['all'](_0xe7e93e)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x549ec5=this['_getDiff'](_0x505eb5,_0x8beb7c);for(const _0x132c7e of _0x549ec5['changes'])this['_changeIdToChange']['set'](_0x132c7e['id'],_0x132c7e);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x187034=>{for(const _0x30f923 of this['editor']['model']['document']['getRootNames']())_0x187034['detachRoot'](_0x30f923);for(const _0x55794c of Object['keys'](_0x549ec5['model'])){const _0x5bcc10=_0x187034['addRoot'](_0x55794c);for(const _0x597c5e of Object['keys'](_0x549ec5['attributes'][_0x55794c]))_0x187034['setAttribute'](_0x597c5e,_0x549ec5['attributes'][_0x55794c][_0x597c5e],_0x5bcc10);_0x187034['insert'](_0x549ec5['model'][_0x55794c],_0x5bcc10,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x549ec5['changes'])),this['isReady']=!0x0;})['catch'](_0x303827=>{console['error'](_0x303827),this['_cleanUp'](),_0x1300fe&&(this['diff']=_0x1300fe),this['isReady']=!0x0;});}['addRevisionData'](_0x1164cf,_0x1a4187){const _0x3bc06a=this['repository']['createRevision'](_0x1164cf);return _0x3bc06a['on']('_update',(_0x5391c5,_0x515489,_0x4a5e09)=>_0x1a4187(_0x515489,_0x4a5e09,_0x3bc06a)),this['repository']['addRevision'](_0x3bc06a),_0x3bc06a;}['loadRevisionData'](_0x505750){if(!_0x505750||_0x505750['diffData'])return Promise['resolve']();{const _0xe4e29f=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xe4e29f,'revisionId':_0x505750['id']})['then'](_0x20038=>{_0x505750['_update']({'diffData':_0x20038['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},_0x1fbd36=>{for(const _0x438ae6 of this['editor']['model']['document']['getRootNames']())_0x1fbd36['detachRoot'](_0x438ae6);});}['_sortAndFilterDiffChanges'](_0x5da691){const _0x3ca90a=[],_0x36cbf4=new Map();for(const _0x34925f of this['editor']['model']['document']['getRootNames']()){const _0x4b241e=this['editor']['editing']['view']['getDomRoot'](_0x34925f);if(!_0x4b241e)continue;const _0x5cee8e=_0x4b241e['getClientRects']()['item'](0x0);_0x5cee8e&&(_0x3ca90a['push'](_0x34925f),_0x36cbf4['set'](_0x34925f,_0x5cee8e));}return _0x3ca90a['sort']((_0x581299,_0x328cef)=>{const _0x2bd977=_0x36cbf4['get'](_0x581299),_0x393eec=_0x36cbf4['get'](_0x328cef);return _0x2bd977['y']-_0x393eec['y']||_0x2bd977['x']-_0x393eec['x'];}),(_0x5da691=_0x5da691['filter'](_0x5a1bd8=>_0x3ca90a['includes'](_0x5a1bd8['rootName'])))['sort']((_0x50c387,_0x58570d)=>_0x3ca90a['indexOf'](_0x50c387['rootName'])-_0x3ca90a['indexOf'](_0x58570d['rootName'])),_0x5da691;}['_makeTape'](_0x4441af){const _0x36d778=Array['from'](_0x4441af['markers'])['filter'](([_0x3f6fda,_0x58ae83])=>_0x3f6fda['startsWith']('revision:')&&!_0x58ae83['isCollapsed']),_0x239b5f=Array['from'](this['editor']['model']['createRangeIn'](_0x4441af)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x36d778['length'])for(const _0x106972 of _0x239b5f){const [_0x2a7f95,_0x371836]=_0x36d778[0x0],[,_0x1a5246,_0x3e0c00]=_0x2a7f95['split'](':');if(_0x371836['end']['isEqual'](_0x106972['nextPosition'])&&_0x36d778['shift'](),(_0x106972['previousPosition']['isEqual'](_0x371836['start'])||_0x106972['previousPosition']['isAfter'](_0x371836['start']))&&('insertion'==_0x1a5246?_0x106972['isAdded']={'userId':_0x3e0c00}:'deletion'==_0x1a5246&&(_0x106972['isRemoved']={'userId':_0x3e0c00})),0x0==_0x36d778['length'])break;}return _0x239b5f;}['_refreshStartEndIndex'](_0x4f04fd){const _0x4d87de=new Map();for(let _0x7654a7=0x0;_0x7654a7<_0x4f04fd['length'];_0x7654a7++)'text'===_0x4f04fd[_0x7654a7]['type']?(_0x4f04fd[_0x7654a7]['item']['startIndex']=_0x7654a7,_0x4f04fd[_0x7654a7]['item']['endIndex']=_0x7654a7):('elementStart'===_0x4f04fd[_0x7654a7]['type']?_0x4f04fd[_0x7654a7]['item']['startIndex']=_0x7654a7:'elementEnd'===_0x4f04fd[_0x7654a7]['type']&&(_0x4f04fd[_0x7654a7]['item']['endIndex']=_0x7654a7),_0x4d87de['set'](_0x4f04fd[_0x7654a7]['id'],_0x7654a7));for(const _0x43b91b of _0x4d87de['values']())'elementStart'===_0x4f04fd[_0x43b91b]['type']?_0x4f04fd[_0x43b91b]['item']['endIndex']=_0x4d87de['get'](_0x4f04fd[_0x43b91b]['pairId']):'elementEnd'===_0x4f04fd[_0x43b91b]['type']&&(_0x4f04fd[_0x43b91b]['item']['startIndex']=_0x4d87de['get'](_0x4f04fd[_0x43b91b]['pairId']));}['_processTape'](_0x345c31){for(let _0x44cc83=0x0;_0x44cc83<_0x345c31['length'];_0x44cc83++){if('elementStart'===_0x345c31[_0x44cc83]['type'])_0x345c31[_0x44cc83]['item']['startIndex']=_0x44cc83;else{if('elementEnd'===_0x345c31[_0x44cc83]['type']){_0x345c31[_0x44cc83]['item']['endIndex']=_0x44cc83;const _0x469ab1=_0x345c31[_0x44cc83]['item']['startIndex'];_0x345c31[_0x469ab1]['pairId']=_0x345c31[_0x44cc83]['id'],_0x345c31[_0x44cc83]['pairId']=_0x345c31[_0x469ab1]['id'];}else _0x345c31[_0x44cc83]['item']['startIndex']=_0x44cc83,_0x345c31[_0x44cc83]['item']['endIndex']=_0x44cc83,_0x345c31[_0x44cc83]['pairId']=null;}_0x345c31[_0x44cc83]['markersStart']||(_0x345c31[_0x44cc83]['markersStart']=[],_0x345c31[_0x44cc83]['markersEnd']=[]);}}['_markInsertions'](_0x4ffd74,_0x4390d1){const _0x41762a=_0x4ffd74['filter'](_0x191c38=>!_0x191c38['isAdded']);for(let _0x1b47ed=0x0;_0x1b47ed<_0x4390d1['length'];_0x1b47ed++)_0x4390d1[_0x1b47ed]['isAdded']&&(_0x41762a[_0x1b47ed]['isAdded']=_0x4390d1[_0x1b47ed]['isAdded']);}['_makeModelFromViewString'](_0x33c55c){const _0x1d3dd6=JSON['parse'](_0x33c55c),_0x38e583=this['editor']['editing']['view']['document'],_0x15b28f=new _0x2eb8a6(_0x38e583,_0x1d3dd6['map'](_0x2b89b1=>this['_getViewObj'](_0x2b89b1)));return this['editor']['data']['toModel'](_0x15b28f);}['_getViewObj'](_0x34727a){const _0x3cade5=this['editor']['editing']['view']['document'];if('string'==typeof _0x34727a)return new _0x34914d(_0x3cade5,_0x34727a);{const _0x345b55=_0x34727a['children']['map'](_0x48388d=>this['_getViewObj'](_0x48388d));return new(tt[_0x34727a['type']]||_0x533cf7)(_0x3cade5,_0x34727a['name'],_0x34727a['attributes'],_0x345b55);}}['_getDiff'](_0x22ad26,_0x568fa6=null){const _0xed451d=this['repository']['getRevision'](_0x22ad26),_0x47e61c=_0x568fa6?this['repository']['getRevision'](_0x568fa6):null,_0x42d072=this['_getRevisionsRange'](_0xed451d,_0x47e61c),_0x5eba6f=_0x42d072[_0x42d072['length']-0x1],_0x39eed2=new Map(),_0x38caed={'model':{},'attributes':{},'changes':[]},_0x1a2a02=new Set(),_0x4e540e=new Map();for(let _0x5d1722=_0x42d072['length']-0x1;_0x5d1722>=0x0;_0x5d1722--){const _0x5aba72=_0x42d072[_0x5d1722];for(const _0x3067d8 of Object['keys'](_0x5aba72['diffData']))if(_0x5aba72['diffData'][_0x3067d8]['attachChange']){const _0x1239ae=_0x5aba72['diffData'][_0x3067d8]['attachChange'];_0x1239ae['isAttached']?(_0x1a2a02['add'](_0x3067d8),_0x4e540e['has'](_0x3067d8)&&_0x4e540e['get'](_0x3067d8)['userId']==_0x1239ae['userId']?_0x4e540e['delete'](_0x3067d8):_0x4e540e['set'](_0x3067d8,_0x1239ae)):_0x4e540e['has'](_0x3067d8)?(_0x1a2a02['delete'](_0x3067d8),_0x4e540e['delete'](_0x3067d8)):(_0x1a2a02['add'](_0x3067d8),_0x4e540e['set'](_0x3067d8,_0x1239ae));}else _0x1a2a02['add'](_0x3067d8);}for(const _0x515b5c of _0x1a2a02){const _0x1a80bf=_0x4e540e['has'](_0x515b5c)&&!_0x4e540e['get'](_0x515b5c)['isAttached'];let _0x5640e6=_0x1a80bf?_0x42d072['length']-0x1:0x0;const _0x578696=_0x1a80bf?-0x1:0x1;for(;_0x42d072[_0x5640e6];){const _0x4982b0=_0x42d072[_0x5640e6];if(_0x4982b0['diffData'][_0x515b5c]){const _0xce5456=_0x1a80bf?_0x4982b0['diffData'][_0x515b5c]['attributesBefore']:_0x4982b0['diffData'][_0x515b5c]['attributesAfter'];_0x38caed['attributes'][_0x515b5c]=_0xce5456?_0x485582(_0xce5456):{};break;}_0x5640e6+=_0x578696;}}for(const _0x240921 of _0x42d072){_0x240921['model']={};for(const _0x5f2762 of _0x240921['authors'])_0x39eed2['set'](_0x5f2762['id'],_0x5f2762);for(const _0x5b3968 of _0x1a2a02){const _0x44f550=_0x240921['diffData'][_0x5b3968]?_0x240921['diffData'][_0x5b3968]['insertions']:'[]',_0x21b98e=_0x240921['diffData'][_0x5b3968]?_0x240921['diffData'][_0x5b3968]['deletions']:'[]';_0x240921['model'][_0x5b3968]={'insertions':this['_makeModelFromViewString'](_0x44f550),'deletions':this['_makeModelFromViewString'](_0x21b98e)};}}for(const _0x351357 of _0x1a2a02){let _0x5640ef=null,_0x150086=0x0;const _0x17f801=new Map(Array['from'](_0xed451d['model'][_0x351357]['insertions']['markers'])['filter'](([_0x1d8c8a])=>!_0x1d8c8a['startsWith']('revision:')));let _0x21f297=0x0;for(const _0x125544 of _0x42d072){const _0x43b959=this['_makeTape'](_0x125544['model'][_0x351357]['insertions']);_0x125544==_0xed451d?(_0x5640ef=_0x43b959,_0x150086=_0x5640ef['length'],_0x5640ef['forEach'](_0x2f747f=>{_0x2f747f['id']=_0x21f297++;}),this['_processTape'](_0x5640ef)):this['_markInsertions'](_0x5640ef,_0x43b959);const _0x1669af=_0x5640ef['filter'](_0x43a8ed=>!_0x43a8ed['isAdded'])['map'](_0x239df2=>_0x239df2['id']);let _0x4bc3b8=0x0;const _0x502b4e=this['_makeTape'](_0x125544['model'][_0x351357]['deletions']);_0x502b4e['forEach'](_0x5bf32b=>{_0x5bf32b['isRemoved']?_0x5bf32b['id']=_0x150086++:_0x5bf32b['id']=_0x1669af[_0x4bc3b8++];}),this['_processTape'](_0x502b4e),this['_setDistance'](_0x5640ef,'isAdded'),this['_setDistance'](_0x502b4e,'isRemoved'),_0x125544==_0xed451d&&this['_markMarkers'](_0x5640ef,_0x17f801),_0x5640ef=this['_joinTapes'](_0x5640ef,_0x502b4e),this['_refreshStartEndIndex'](_0x5640ef),this['_setDistance'](_0x5640ef,'isRemoved');}_0x5640ef=_0x5640ef['filter'](_0x53077f=>!(_0x53077f['isAdded']&&_0x53077f['isRemoved']));const _0x798da1=new Map(_0x5eba6f['model'][_0x351357]['deletions']['markers']),_0x42b70f=new Set(_0x17f801['keys']());for(const _0x530657 of _0x798da1['keys']())_0x42b70f['delete'](_0x530657);this['_markSuggestions'](_0x5640ef,_0x42b70f),this['_fixObsoleteTags'](_0x5640ef),_0x5640ef=this['_removeMissingPairs'](_0x5640ef),_0x5640ef=this['_markMismatchedRemovedTags'](_0x5640ef),_0x5640ef=this['_removeUnsupportedChanges'](_0x5640ef);const {root:_0x1112e2,changes:_0xdb6e19}=this['_makeModelFromTape'](_0x5640ef,_0x39eed2,_0x351357);_0x38caed['model'][_0x351357]=_0x1112e2;const _0xc8159a=_0x4e540e['get'](_0x351357);if(_0xc8159a){const _0x3ce898=_0x39eed2['get'](_0xc8159a['userId']),_0x19acc0=new r({'author':_0x3ce898,'type':_0xc8159a['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x351357});_0xdb6e19['unshift'](_0x19acc0),_0x38caed['attributes'][_0x351357]['revisionHistoryAttachChange']=_0x19acc0['id'];}_0x38caed['changes']=_0x38caed['changes']['concat'](_0xdb6e19);}return _0x38caed;}['_markMarkers'](_0x10e888,_0x3566f5){for(let _0xa40e04=0x0;_0xa40e04<_0x10e888['length'];_0xa40e04++)for(const [_0x43c5f0,_0x47d67b]of _0x3566f5)_0x47d67b['start']['isEqual'](_0x10e888[_0xa40e04]['previousPosition'])&&_0x10e888[_0xa40e04]['markersStart']['push'](_0x43c5f0),_0x47d67b['end']['isEqual'](_0x10e888[_0xa40e04]['nextPosition'])&&_0x10e888[_0xa40e04]['markersEnd']['push'](_0x43c5f0);}['_joinTapes'](_0x27d6c8,_0x364b77){let _0xcc8580=[],_0x26c5fa=0x0,_0x334e61=0x0;for(;_0x26c5fa<_0x27d6c8['length']||_0x334e61<_0x364b77['length'];){const _0x5aadf3=_0x27d6c8[_0x26c5fa]||{},_0x7957ed=_0x364b77[_0x334e61]||{};if(_0x5aadf3['id']==_0x7957ed['id'])_0x26c5fa++,_0x334e61++,_0xcc8580['push'](_0x5aadf3);else{if(_0x7957ed['isRemoved']&&_0x5aadf3['isAdded']){const {commonTape:_0x2ec182,iEnd:_0x403ae7,jEnd:_0x2eeb54}=this['_threeWayMerge'](_0x27d6c8,_0x26c5fa,_0x364b77,_0x334e61);_0xcc8580=_0xcc8580['concat'](_0x2ec182),_0x26c5fa=_0x403ae7,_0x334e61=_0x2eeb54;}else _0x7957ed['isRemoved']?(_0x334e61++,_0xcc8580['push'](_0x7957ed)):(_0x26c5fa++,_0xcc8580['push'](_0x5aadf3));}}return _0xcc8580;}['_markSuggestions'](_0x1643d6,_0xee32b1){const _0x32d72b=[];for(let _0xa7c25d=0x0;_0xa7c25d<_0x1643d6['length'];_0xa7c25d++){for(let _0x2d66e3=0x0;_0x2d66e3<_0x1643d6[_0xa7c25d]['markersStart']['length'];_0x2d66e3++){const _0x222479=_0x1643d6[_0xa7c25d]['markersStart'][_0x2d66e3];if(!_0xee32b1['has'](_0x222479))continue;const {group:_0x269c4c,type:_0x1a738d,authorId:_0x5e40ae}=_0x4bf064(_0x222479);'revision-suggestion'!=_0x269c4c||'insertion'!=_0x1a738d&&'deletion'!=_0x1a738d||(_0x32d72b['unshift']({'type':_0x1a738d,'name':_0x222479,'userId':_0x5e40ae}),_0x1643d6[_0xa7c25d]['markersStart']['splice'](_0x2d66e3,0x1),_0x2d66e3--);}_0x22a98d(_0x1643d6[_0xa7c25d]);for(let _0x2813c4=0x0;_0x2813c4<_0x1643d6[_0xa7c25d]['markersEnd']['length'];_0x2813c4++){const _0x1c1c95=_0x1643d6[_0xa7c25d]['markersEnd'][_0x2813c4];if(!_0xee32b1['has'](_0x1c1c95))continue;const {group:_0x4aadda,type:_0xab5209}=_0x4bf064(_0x1c1c95);if('revision-suggestion'!=_0x4aadda||'insertion'!=_0xab5209&&'deletion'!=_0xab5209)continue;_0x1643d6[_0xa7c25d]['markersEnd']['splice'](_0x2813c4,0x1),_0x2813c4--;const _0x5efd8a=_0x32d72b['findIndex'](_0x1704d3=>_0x1704d3['name']==_0x1c1c95);_0x5efd8a>-0x1&&_0x32d72b['splice'](_0x5efd8a,0x1);}}function _0x4bf064(_0x4ff1df){const _0xc13dce=_0x4ff1df['split'](':');return{'group':_0xc13dce[0x0],'type':_0xc13dce[0x1],'subType':_0xc13dce['length']>=0x5?_0xc13dce[0x2]:null,'id':_0xc13dce['length']<0x5?_0xc13dce[0x2]:_0xc13dce[0x3],'authorId':_0xc13dce['length']<0x5?_0xc13dce[0x3]:_0xc13dce[0x4],'markerCount':0x6==_0xc13dce['length']?_0xc13dce[0x5]:null};}function _0x22a98d(_0x4e5861){for(let _0x4d9e5c=0x0;_0x4d9e5c<_0x32d72b['length'];_0x4d9e5c++){if(_0x4e5861['isAdded']&&'insertion'==_0x32d72b[_0x4d9e5c]['type'])return _0x4e5861['isAddSuggestion']=_0x32d72b[_0x4d9e5c],void delete _0x4e5861['isAdded'];if(!_0x4e5861['isAdded']&&!_0x4e5861['isRemoved']&&'deletion'==_0x32d72b[_0x4d9e5c]['type'])return void(_0x4e5861['isRemoveSuggestion']=_0x32d72b[_0x4d9e5c]);}}}['_setDistance'](_0x14d50d,_0x4e7785){let _0x1858e7=0x0,_0x2b4ff9=!0x1;const _0x15d73a=new Map();for(const _0x12bc40 of _0x14d50d)_0x12bc40[_0x4e7785]?_0x2b4ff9&&(_0x1858e7++,_0x2b4ff9=!0x1):(_0x1858e7++,_0x2b4ff9=!0x0),_0x15d73a['set'](_0x12bc40['id'],_0x1858e7);for(let _0x5a875a=0x0;_0x5a875a<_0x14d50d['length'];_0x5a875a++){if('isRemoved'==_0x4e7785&&_0x14d50d[_0x5a875a]['isAdded']||'isAdded'==_0x4e7785&&_0x14d50d[_0x5a875a]['isRemoved'])continue;if('text'==_0x14d50d[_0x5a875a]['type']){_0x14d50d[_0x5a875a]['distance']=0x0;continue;}const _0x23830d=_0x15d73a['get'](_0x14d50d[_0x5a875a]['pairId']),_0x25385b=_0x15d73a['get'](_0x14d50d[_0x5a875a]['id']);_0x14d50d[_0x5a875a]['distance']=_0x23830d-_0x25385b;}}['_getRevisionsRange'](_0x11dbeb,_0x118dce,_0x4a78f5=!0x1){const _0x177ad1=[];let _0x586a1a=this['repository']['getIndex'](_0x11dbeb),_0x3af2e4=this['repository']['getIndex'](_0x118dce);for(-0x1==_0x3af2e4&&(_0x3af2e4=this['repository']['_revisions']['length'],_0x4a78f5=!0x1);_0x586a1a<_0x3af2e4;)_0x177ad1['push'](this['repository']['getRevision'](_0x586a1a)),_0x586a1a++;return _0x4a78f5&&_0x177ad1['push'](this['repository']['getRevision'](_0x586a1a)),_0x177ad1;}['_threeWayMerge'](_0x2d8b18,_0x66588b,_0x1481c4,_0x4448d2){const _0x19e36d=this['editor']['model']['schema'];let _0x54c615=_0x66588b;for(;_0x2d8b18[_0x54c615]&&_0x2d8b18[_0x54c615]['isAdded'];)_0x54c615++;let _0x172647=_0x4448d2;for(;_0x1481c4[_0x172647]&&_0x1481c4[_0x172647]['isRemoved'];)_0x172647++;_0x511770(_0x2d8b18,_0x66588b,_0x54c615),_0x511770(_0x1481c4,_0x4448d2,_0x172647);const _0x4faccf=_0x1481c4['slice'](_0x4448d2,_0x172647)['concat'](_0x2d8b18['slice'](_0x66588b,_0x54c615));return _0x4faccf['sort']((_0x27da1d,_0x1600d0)=>_0x27da1d['side']!=_0x1600d0['side']?_0x27da1d['side']-_0x1600d0['side']:_0x27da1d['level']!=_0x1600d0['level']?_0x27da1d['level']-_0x1600d0['level']:_0x27da1d['distance']!=_0x1600d0['distance']?_0x1600d0['distance']-_0x27da1d['distance']:!!_0x27da1d['isAdded']!=!!_0x1600d0['isAdded']?-0x1==_0x27da1d['side']||0x0==_0x27da1d['side']?_0x27da1d['isAdded']?-0x1:0x1:_0x27da1d['isAdded']?0x1:-0x1:_0x27da1d['index']-_0x1600d0['index']),{'commonTape':_0x4faccf,'iEnd':_0x54c615,'jEnd':_0x172647};function _0x511770(_0x4e8aeb,_0x3a0d88,_0x310a79){let _0x7d9ada=-0x1,_0x143680=Number['POSITIVE_INFINITY'],_0x3089b5=!0x0;for(let _0x329df7=_0x3a0d88;_0x329df7<_0x310a79;_0x329df7++)if(_0x19e36d['isInline'](_0x4e8aeb[_0x329df7]['item'])||(_0x3089b5=!0x1),_0x4e8aeb[_0x329df7]['item']['startIndex']<_0x3a0d88&&(_0x7d9ada=_0x329df7),_0x4e8aeb[_0x329df7]['item']['endIndex']>=_0x310a79){_0x143680=_0x329df7;break;}_0x3089b5&&(_0x7d9ada=_0x310a79-0x1);for(let _0xa4b6c8=_0x3a0d88;_0xa4b6c8<_0x310a79;_0xa4b6c8++)_0x4e8aeb[_0xa4b6c8]['side']=_0xa4b6c8<=_0x7d9ada?-0x1:_0xa4b6c8<_0x143680?0x0:0x1,_0x4e8aeb[_0xa4b6c8]['index']=_0xa4b6c8;let _0x1978d8=0x0;for(let _0x21fb0f=_0x3a0d88;_0x21fb0f<=_0x7d9ada;_0x21fb0f++)0x0==_0x4e8aeb[_0x21fb0f]['distance']?_0x4e8aeb[_0x21fb0f]['level']=_0x1978d8:(_0x1978d8++,_0x4e8aeb[_0x21fb0f]['level']=_0x1978d8,_0x1978d8++);for(let _0x186abb=_0x3a0d88;_0x186abb<_0x310a79;_0x186abb++)0x0==_0x4e8aeb[_0x186abb]['side']&&(_0x4e8aeb[_0x186abb]['level']=_0x1978d8);_0x1978d8=0x0;for(let _0x5c6443=_0x310a79-0x1;_0x5c6443>=_0x143680;_0x5c6443--)0x0==_0x4e8aeb[_0x5c6443]['distance']?_0x4e8aeb[_0x5c6443]['level']=_0x1978d8:(_0x1978d8--,_0x4e8aeb[_0x5c6443]['level']=_0x1978d8,_0x1978d8--);}}['_fixObsoleteTags'](_0x2d6aa5){const _0x7b42cb=new Map(),_0x47c15a=this['editor']['model']['schema'];for(let _0x556a49=0x1;_0x556a49<_0x2d6aa5['length'];_0x556a49++){let _0x493281,_0x99de8a,_0x3f291e;const _0x2c875b=_0x2d6aa5[_0x556a49],_0x436337=_0x2d6aa5[_0x556a49-0x1];if('text'==_0x2c875b['type'])continue;if(_0x2c875b['type']!=_0x436337['type'])continue;if(!_0x47c15a['isBlock'](_0x436337['item'])||_0x47c15a['isLimit'](_0x436337['item']))continue;if(!_0x47c15a['isBlock'](_0x2c875b['item'])||_0x47c15a['isLimit'](_0x2c875b['item']))continue;if((_0x2d6aa5[_0x556a49]['isAdded']||_0x2d6aa5[_0x556a49]['isAddSuggestion'])&&_0x2d6aa5[_0x556a49-0x1]['isRemoved'])_0x493281=_0x2d6aa5[_0x556a49],_0x99de8a=_0x2d6aa5[_0x556a49-0x1],_0x3f291e=_0x556a49-0x1;else{if(!_0x2d6aa5[_0x556a49]['isRemoved']||!_0x2d6aa5[_0x556a49-0x1]['isAdded']&&!_0x2d6aa5[_0x556a49-0x1]['isAddSuggestion'])continue;_0x493281=_0x2d6aa5[_0x556a49-0x1],_0x99de8a=_0x2d6aa5[_0x556a49],_0x3f291e=_0x556a49;}const _0x1a2a15=_0x493281['level']==_0x99de8a['level'],_0x5ce008=Math['abs'](_0x493281['level'])<Math['abs'](_0x99de8a['level'])&&0x0==_0x99de8a['distance'];(_0x1a2a15||_0x5ce008)&&(_0x7b42cb['set'](_0x99de8a['id'],_0x493281['id']),_0x2d6aa5['splice'](_0x3f291e,0x1),_0x556a49--,_0x493281['isAdded']=!0x1);}for(let _0x52deca=0x0;_0x52deca<_0x2d6aa5['length'];_0x52deca++)_0x7b42cb['has'](_0x2d6aa5[_0x52deca]['pairId'])&&(_0x2d6aa5[_0x52deca]['pairId']=_0x7b42cb['get'](_0x2d6aa5[_0x52deca]['pairId']));}['_removeMissingPairs'](_0x2d98c5){const _0x5540a8=new Set(_0x2d98c5['map'](_0x48aa9f=>_0x48aa9f['id']));for(let _0x4e5af2=0x0;_0x4e5af2<_0x2d98c5['length'];_0x4e5af2++)_0x5540a8['has'](_0x2d98c5[_0x4e5af2]['pairId'])||0x0==_0x2d98c5[_0x4e5af2]['distance']||(_0x2d98c5[_0x4e5af2]['isIncorrect']=!0x0);return _0x2d98c5['filter'](_0xa33837=>!_0xa33837['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1505d1){const _0x325bb5=new Set();for(let _0x162316=0x0;_0x162316<_0x1505d1['length'];_0x162316++){if(_0x325bb5['has'](_0x1505d1[_0x162316]['id'])&&_0x1505d1[_0x162316]['isRemoved']&&(_0x1505d1[_0x162316]['isIncorrect']=!0x0),_0x1505d1[_0x162316]['isIncorrect'])continue;if(0x0==_0x1505d1[_0x162316]['distance'])continue;if('elementStart'!=_0x1505d1[_0x162316]['type'])continue;if(null==_0x1505d1[_0x162316]['pairId'])continue;let _0x17cbb0=_0x162316+0x1,_0x274604=0x0;for(;_0x1505d1[_0x17cbb0]['id']!=_0x1505d1[_0x162316]['pairId'];)'elementStart'==_0x1505d1[_0x17cbb0]['type']?_0x274604++:'elementEnd'==_0x1505d1[_0x17cbb0]['type']&&_0x274604--,_0x17cbb0++;if(0x0!=_0x274604){if(_0x1505d1[_0x162316]['isRemoved'])_0x1505d1[_0x162316]['isIncorrect']=!0x0;else{for(;_0x17cbb0!=_0x162316;)_0x1505d1[_0x17cbb0]['isRemoved']&&0x0!=_0x1505d1[_0x17cbb0]['distance']&&(_0x1505d1[_0x17cbb0]['isIncorrect']=!0x0,_0x325bb5['add'](_0x1505d1[_0x17cbb0]['pairId'])),_0x17cbb0--;}}}return _0x1505d1['filter'](_0x38384e=>!_0x38384e['isIncorrect']);}['_removeUnsupportedChanges'](_0x38ec03){const _0xa4c01b=this['editor']['model']['schema'];for(let _0x3263f0=0x0;_0x3263f0<_0x38ec03['length'];_0x3263f0++){if(!(_0x38ec03[_0x3263f0]['isAdded']||_0x38ec03[_0x3263f0]['isAddSuggestion']||_0x38ec03[_0x3263f0]['isRemoved']||_0x38ec03[_0x3263f0]['isRemoveSuggestion']))continue;if(0x0==_0x38ec03[_0x3263f0]['distance'])continue;const _0x309ea5=_0x38ec03[_0x3263f0]['item'];_0xa4c01b['isBlock'](_0x309ea5)||_0xa4c01b['isLimit'](_0x309ea5)||(_0x38ec03[_0x3263f0]['isAdded']&&delete _0x38ec03[_0x3263f0]['isAdded'],_0x38ec03[_0x3263f0]['isAddSuggestion']&&delete _0x38ec03[_0x3263f0]['isAddSuggestion'],_0x38ec03[_0x3263f0]['isRemoveSuggestion']&&delete _0x38ec03[_0x3263f0]['isRemoveSuggestion'],_0x38ec03[_0x3263f0]['isRemoved']&&(_0x38ec03[_0x3263f0]['isIncorrect']=!0x0));}return _0x38ec03['filter'](_0x1d0f12=>!_0x1d0f12['isIncorrect']);}['_makeModelFromTape'](_0xd1d3b8,_0x7cdc52,_0x3757cc){const _0x32a514=new wt(),_0x1ce5b6=[],_0x252602=new Map(),_0x1bc2ab=this['editor']['model'],_0x361354=_0x1bc2ab['schema'],_0x3b215d=[_0x32a514],_0x58f306={},_0x5bd3ec={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4c2f15=null;const _0x4e35fd=[0x0];for(let _0x28db95=0x0;_0x28db95<_0xd1d3b8['length'];_0x28db95++){let _0xf7bf6a,_0x4dfbbb;if('elementStart'===_0xd1d3b8[_0x28db95]['type']){_0xf7bf6a=_0x1bc2ab['createPositionFromPath'](_0x32a514,_0x4e35fd);const _0x4b0153=new ft(_0xd1d3b8[_0x28db95]['item']['name'],_0xd1d3b8[_0x28db95]['item']['getAttributes']());_0x3b215d[0x0]['_appendChild'](_0x4b0153),_0x4e35fd['push'](0x0),_0x3b215d['unshift'](_0x4b0153),_0x4dfbbb=_0x1bc2ab['createPositionFromPath'](_0x32a514,_0x4e35fd),_0x4c2f15=null;}else{if('elementEnd'===_0xd1d3b8[_0x28db95]['type'])_0x3b215d['shift'](),_0xf7bf6a=_0x1bc2ab['createPositionFromPath'](_0x32a514,_0x4e35fd),_0x4e35fd['pop'](),_0x4e35fd[_0x4e35fd['length']-0x1]++,_0x4dfbbb=_0x1bc2ab['createPositionFromPath'](_0x32a514,_0x4e35fd),_0x4c2f15=null;else{if(_0xf7bf6a=_0x1bc2ab['createPositionFromPath'](_0x32a514,_0x4e35fd),_0x4c2f15&&_0x30c840(_0x4c2f15,_0xd1d3b8[_0x28db95]['item']))_0x4c2f15['_data']+=_0xd1d3b8[_0x28db95]['item']['data'];else{const _0x1278b7=new _t(_0xd1d3b8[_0x28db95]['item']['data'],_0xd1d3b8[_0x28db95]['item']['getAttributes']());_0x3b215d[0x0]['_appendChild'](_0x1278b7),_0x4c2f15=_0x1278b7;}_0x4e35fd[_0x4e35fd['length']-0x1]+=_0xd1d3b8[_0x28db95]['item']['offsetSize'],_0x4dfbbb=_0x1bc2ab['createPositionFromPath'](_0x32a514,_0x4e35fd);}}for(const _0x3f6d1c of _0xd1d3b8[_0x28db95]['markersStart'])_0x252602['set'](_0x3f6d1c,{'start':_0xf7bf6a,'end':null});_0x5f4775('isRemoveSuggestion',_0x28db95,_0xf7bf6a,_0x4dfbbb),_0x5f4775('isAddSuggestion',_0x28db95,_0xf7bf6a,_0x4dfbbb),_0x5f4775('isRemoved',_0x28db95,_0xf7bf6a,_0x4dfbbb),_0x5f4775('isAdded',_0x28db95,_0xf7bf6a,_0x4dfbbb);for(const _0x45fe74 of _0xd1d3b8[_0x28db95]['markersEnd']){_0x252602['get'](_0x45fe74)['end']=_0x4dfbbb;}}for(const [_0xa02360,_0x3ac628]of _0x252602){const _0x47dbd2=this['editor']['model']['createRange'](_0x3ac628['start'],_0x3ac628['end']);_0x32a514['markers']['set'](_0xa02360,_0x47dbd2);}return _0x1ce5b6['sort']((_0x649373,_0x3e4e3e)=>{const _0x24221e=_0x32a514['markers']['get']('revision:'+_0x649373['id']),_0x39705e=_0x32a514['markers']['get']('revision:'+_0x3e4e3e['id']);return _0x24221e['start']['isBefore'](_0x39705e['start'])?-0x1:_0x24221e['start']['isAfter'](_0x39705e['start'])?0x1:_0x24221e['end']['isBefore'](_0x39705e['end'])?-0x1:_0x24221e['end']['isAfter'](_0x39705e['end'])?0x1:'add'===_0x649373['type']?-0x1:0x1;}),{'root':_0x32a514,'changes':_0x1ce5b6};function _0x5f4775(_0x1190de,_0x11603e,_0xfd8b14,_0x15a745){const _0x334123=!!_0xd1d3b8[_0x11603e][_0x1190de],_0x4fe933=_0x334123?_0xd1d3b8[_0x11603e][_0x1190de]['userId']:null,_0x55ad95=_0x11603e===_0xd1d3b8['length']-0x1,_0x27ed76=_0x5bd3ec[_0x1190de][0x0],_0x4aa564=_0x361354['isObject'](_0xd1d3b8[_0x11603e]['item']);!_0x58f306[_0x1190de]&&_0x334123?_0x58f306[_0x1190de]={'start':_0xfd8b14,'tapeItem':_0xd1d3b8[_0x11603e],'userId':_0x4fe933,'type':_0x1190de}:_0x58f306[_0x1190de]&&!_0x334123?(_0x58f306[_0x1190de]['end']=_0xfd8b14,_0x2a194e(_0x58f306[_0x1190de]),_0x58f306[_0x1190de]=null):_0x58f306[_0x1190de]&&_0x334123&&_0x58f306[_0x1190de]['userId']!==_0x4fe933&&(_0x58f306[_0x1190de]['end']=_0xfd8b14,_0x27ed76&&_0x27ed76['userId']===_0x58f306[_0x1190de]['userId']||_0x2a194e(_0x58f306[_0x1190de]),_0x58f306[_0x1190de]={'start':_0xfd8b14,'tapeItem':_0xd1d3b8[_0x11603e],'userId':_0x4fe933,'type':_0x1190de}),_0x58f306[_0x1190de]&&_0x4aa564&&('elementStart'!==_0xd1d3b8[_0x11603e]['type']||_0x27ed76&&_0x27ed76['userId']===_0x4fe933||_0x5bd3ec[_0x1190de]['unshift']({'userId':_0x4fe933,'object':_0xd1d3b8[_0x11603e]['item'],'change':_0x58f306[_0x1190de]}),'elementEnd'===_0xd1d3b8[_0x11603e]['type']&&_0x27ed76&&_0x27ed76['object']===_0xd1d3b8[_0x11603e]['item']&&(_0x5bd3ec[_0x1190de]['shift'](),_0x58f306[_0x1190de]=_0x27ed76['change'])),_0x58f306[_0x1190de]&&_0x55ad95&&(_0x58f306[_0x1190de]['end']=_0x15a745,_0x2a194e(_0x58f306[_0x1190de]),_0x58f306[_0x1190de]=null);}function _0x2a194e({start:_0x3ef2c6,end:_0x82b59,tapeItem:_0x3e90f7,userId:_0x33ebee,type:_0x2cb581}){const _0x32ac97=_0x3e90f7['item'],_0x330695=_0x1bc2ab['schema']['isBlock'](_0x32ac97)&&!_0x1bc2ab['schema']['isLimit'](_0x32ac97),_0x588997=_0x3ef2c6['nodeAfter']==_0x82b59['parent']&&_0x82b59['isAtStart'];if(_0x330695&&_0x588997)return;const _0x257a8a=_0x1bc2ab['createRange'](_0x3ef2c6,_0x82b59),_0x51f445=_0x7cdc52['get'](_0x33ebee),_0x19ea0a=new r({'author':_0x51f445,'type':'isAdded'==_0x2cb581||'isAddSuggestion'==_0x2cb581?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2cb581||'isRemoveSuggestion'==_0x2cb581},'createdAt':new Date(),'rootName':_0x3757cc});_0x1ce5b6['push'](_0x19ea0a),_0x32a514['markers']['set']('revision:'+_0x19ea0a['id'],_0x257a8a);}function _0x30c840(_0x2de2be,_0x3232cc){const _0x4b99eb=_0x2de2be['getAttributes'](),_0x24c3a5=_0x3232cc['getAttributes']();for(const _0x131768 of _0x4b99eb){if(_0x131768[0x1]!==_0x3232cc['getAttribute'](_0x131768[0x0]))return!0x1;_0x24c3a5['next']();}return _0x24c3a5['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3b7254=>{const _0x56e45e=_0x3b7254['markerName']['split'](':')[0x1],_0x447928=this['_getChangeFromId'](_0x56e45e);if(!_0x447928)return null;const _0x58a164='add'==_0x447928['type']?'insertion':'deletion',_0x510721=['ck-suggestion-marker','ck-suggestion-marker-'+_0x58a164];return _0x447928['data']['isSuggestion']&&_0x510721['push']('ck-suggestion-marker-'+_0x58a164+'-new'),this['activeChange']==_0x447928&&_0x510721['push']('ck-suggestion-marker--active'),{'classes':_0x510721,'attributes':{'data-change-id':_0x56e45e}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x119b1e=>{_0x119b1e['on']('element:pre',(_0x1b80f5,_0x22e7f2,_0xd6f877)=>{const _0x449918=_0x22e7f2['viewItem']['getChild'](0x0);if(!_0x449918||!_0x449918['is']('element','code'))return;if(!_0xd6f877['consumable']['consume'](_0x449918,{'attributes':['vid_start','vid_end']}))return;const _0x19ae93=_0x22e7f2['modelRange']['start']['nodeAfter'];_0xd6f877['writer']['setAttribute']('vid_start',_0x449918['getAttribute']('vid_start'),_0x19ae93),_0xd6f877['writer']['setAttribute']('vid_end',_0x449918['getAttribute']('vid_end'),_0x19ae93);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4360b2=>{_0x4360b2['on']('element',(_0x30cdba,_0x3ac38b,_0x56e665)=>{if(!_0x56e665['consumable']['consume'](_0x3ac38b['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3ac38b['modelRange']['isCollapsed'])return;const _0x54a0ee=_0x3ac38b['modelRange']['start']['nodeAfter'];_0x54a0ee['hasAttribute']('vid_start')||_0x54a0ee['hasAttribute']('vid')||(_0x56e665['writer']['setAttribute']('vid_start',_0x3ac38b['viewItem']['getAttribute']('vid_start'),_0x54a0ee),_0x56e665['writer']['setAttribute']('vid_end',_0x3ac38b['viewItem']['getAttribute']('vid_end'),_0x54a0ee));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x32ba18=>_0x32ba18['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x217077,[,_0x512c84])=>{['vid_start','vid_end','vid']['includes'](_0x512c84)&&(_0x217077['return']=!0x0,_0x217077['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4ca77b=>{_0x4ca77b['on']('attribute:vid',(_0x446bcf,_0x3c02b7,_0x363470)=>{if('\x20'!=_0x3c02b7['item']['data']||_0x3c02b7['item']['parent']['maxOffset']>0x1)return;if(!_0x363470['consumable']['consume'](_0x3c02b7['item'],_0x446bcf['name']))return;const _0x76b415=_0x363470['writer'],_0x4d9b41=_0x363470['mapper']['toViewRange'](_0x3c02b7['range']);_0x76b415['wrap'](_0x4d9b41,_0x76b415['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2c4b9f){const _0x34f600=_0x2c4b9f['plugins']['get']('RevisionViewer');return(_0xf8833c,_0x5a541c,_0x16f1b6)=>{const _0x399e48=_0x5a541c['markerName']['split'](':')[0x1],_0x1da347=_0x34f600['_getChangeFromId'](_0x399e48);if(!_0x1da347)return null;const _0x11567d='add'==_0x1da347['type']?'split':'merge';if(!_0x16f1b6['consumable']['test'](_0x5a541c['markerRange'],_0xf8833c['name']))return;const _0x489f39=_0x5a541c['markerRange']['getWalker'](),_0x2c855f=_0x5a541c['markerRange']['start'],_0x525bba=_0x2c4b9f['model']['schema'];let _0x3a6c3f=null,_0x32abc2=null,_0x34d5df=!0x1,_0x2b4ce8=!0x1;for(const _0x4fb07d of _0x489f39){const _0x42e8e2=_0x4fb07d['item'];_0x34d5df=_0x34d5df||_0x525bba['isContent'](_0x42e8e2);const _0x411d00=_0x16f1b6['mapper']['toViewElement'](_0x42e8e2);if(_0x411d00&&_0x411d00['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4fb07d['type']&&(_0x525bba['isBlock'](_0x42e8e2)&&!_0x525bba['isLimit'](_0x42e8e2)&&(_0x42e8e2['nextSibling']||_0x2c855f['isAtEnd']?_0x3a6c3f&&_0x3a6c3f['parent']==_0x42e8e2||(_0x3a6c3f=_0x42e8e2,_0x3c75e1(_0x4fb07d['previousPosition']),_0x2b4ce8=!0x0):_0x32abc2=_0x32abc2||_0x4fb07d['previousPosition']));}function _0x3c75e1(_0x3229d4){const _0x3505b8=_0x16f1b6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x11567d}),_0x40f843=_0x16f1b6['mapper']['toViewPosition'](_0x3229d4);_0x1da347['data']['isSuggestion']&&_0x16f1b6['writer']['addClass']('ck-suggestion-marker-'+_0x11567d+'-new',_0x3505b8),_0x34f600['activeChange']==_0x1da347&&_0x16f1b6['writer']['addClass']('ck-suggestion-marker--active',_0x3505b8),_0x16f1b6['writer']['insert'](_0x40f843,_0x3505b8),_0x16f1b6['mapper']['bindElementToMarker'](_0x3505b8,_0x5a541c['markerName']);}_0x34d5df||_0x2b4ce8||!_0x32abc2||_0x3c75e1(_0x32abc2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x371774,_0x58de1b,_0x15a7ef)=>{const _0x5452ce=_0x15a7ef['mapper']['markerNameToElements'](_0x58de1b['markerName']);if(_0x5452ce){for(const _0x588461 of _0x5452ce)(_0x588461['hasClass']('ck-suggestion-marker-split')||_0x588461['hasClass']('ck-suggestion-marker-merge'))&&(_0x15a7ef['mapper']['unbindElementFromMarkerName'](_0x588461,_0x58de1b['markerName']),_0x15a7ef['writer']['remove'](_0x588461));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2be7df,_0x71cb77,_0x2401b0)=>{const _0x21aad4=_0x71cb77['markerName']['split'](':')[0x1],_0x516db3=this['_getChangeFromId'](_0x21aad4);if(!_0x516db3)return null;const _0x5384a2='add'==_0x516db3['type']?'split':'merge';if(_0x2401b0['consumable']['test'](_0x71cb77['markerRange'],_0x2be7df['name']))for(const _0x4d3b4b of _0x71cb77['markerRange']['getItems']()){if(!_0x4d3b4b['is']('element','softBreak'))continue;const _0x548f21=_0x2401b0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5384a2}),_0x5d44db=_0x2401b0['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4d3b4b));_0x516db3['data']['isSuggestion']&&_0x2401b0['writer']['addClass']('ck-suggestion-marker-'+_0x5384a2+'-new',_0x548f21),this['activeChange']==_0x516db3&&_0x2401b0['writer']['addClass']('ck-suggestion-marker--active',_0x548f21),_0x2401b0['writer']['insert'](_0x5d44db,_0x548f21),_0x2401b0['mapper']['bindElementToMarker'](_0x548f21,_0x71cb77['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x16b3cd=>{for(const _0x417de9 of this['editor']['model']['document']['getRootNames']()){const _0x2144a1=this['editor']['model']['document']['getRoot'](_0x417de9),_0x2aa120=this['editor']['editing']['view']['document']['getRoot'](_0x417de9);if(_0x2aa120){const _0x2d3a61=_0x2144a1['getAttribute']('revisionHistoryAttachChange');if(_0x16b3cd['removeAttribute']('data-change-id',_0x2aa120),_0x16b3cd['removeClass']('ck-revision-history-root-add',_0x2aa120),_0x16b3cd['removeClass']('ck-revision-history-root-remove',_0x2aa120),_0x16b3cd['removeClass']('ck-revision-history-root--active',_0x2aa120),_0x2d3a61){const _0x20284e=this['_getChangeFromId'](_0x2d3a61);if(!_0x20284e)return null;_0x16b3cd['setAttribute']('data-change-id',_0x2d3a61,_0x2aa120),_0x16b3cd['addClass']('ck-revision-history-root-'+_0x20284e['type'],_0x2aa120),this['activeChange']==_0x20284e&&_0x16b3cd['addClass']('ck-revision-history-root--active',_0x2aa120);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x29fb73=>'revision-comment:'+_0x29fb73,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x12f5f3=>'revision-suggestion:'+_0x12f5f3,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x38290d=>({'name':'suggestion:'+_0x38290d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2dfc04=>{const _0x143dcf=_0x2dfc04['markerName']['split'](':')[0x1];return'insertion'!=_0x143dcf&&'deletion'!=_0x143dcf?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x143dcf]};}}),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',(_0xf80b1,_0x341fea,_0x20acee)=>{const _0x67969b=_0x20acee['mapper']['markerNameToElements'](_0x341fea['markerName']);if(_0x67969b){for(const _0x214ea7 of _0x67969b)_0x214ea7['is']('uiElement')&&(_0x20acee['mapper']['unbindElementFromMarkerName'](_0x214ea7,_0x341fea['markerName']),_0x20acee['writer']['remove'](_0x214ea7));}},{'priority':'high'});}['_getChangeFromId'](_0x5848b9){return this['_changeIdToChange']['get'](_0x5848b9);}['_getViewForChange'](_0x2ef17c){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2ef17c),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x243301,_0x4036cf,_0xaf3c9d,_0x4c77ac)=>{_0x4c77ac&&this['_balloon']['remove'](_0x4c77ac),_0xaf3c9d&&(this['_balloon']['add']({'view':_0xaf3c9d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x3cab54=this['editor']['editing'],_0xca231e=this['_getChangeFromId'](_0xaf3c9d['changeId']);let _0x13a0b0;if(_0xca231e['data']['isOnRoot']){const _0x9072fc=_0x3cab54['view']['getDomRoot'](_0xca231e['rootName']);_0x13a0b0=Array['from'](_0x9072fc['getClientRects']());}else{const _0x219002=this['editor']['model']['markers']['get']('revision:'+_0xaf3c9d['changeId']);_0x13a0b0=Array['from'](_0x3cab54['mapper']['markerNameToElements'](_0x219002['name']))['map'](_0x1184b1=>_0x3cab54['view']['domConverter']['mapViewToDom'](_0x1184b1))['map'](_0x13de57=>Array['from'](_0x13de57['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x13a0b0[0x0];return _0x13a0b0['find'](_0x5d70dd=>_0x5d70dd['top']-0x3<=this['_activeViewTarget']['y']&&_0x5d70dd['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5d70dd['left']-0x3<=this['_activeViewTarget']['x']&&_0x5d70dd['right']+0x3>=this['_activeViewTarget']['x'])||_0x13a0b0[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x97297f,_0x531315,_0x1eb158,_0x2a32f0)=>{this['activeView']=_0x1eb158?this['_getViewForChange'](_0x1eb158):null,this['editor']['model']['change'](()=>{const _0x1cba89=this['editor']['editing'];_0x2a32f0&&(_0x2a32f0['data']['isOnRoot']?_0x1cba89['view']['change'](_0x366c50=>{_0x366c50['removeClass']('ck-revision-history-root--active',_0x1cba89['view']['document']['getRoot'](_0x2a32f0['rootName']));}):_0x1cba89['reconvertMarker']('revision:'+_0x2a32f0['id'])),_0x1eb158&&(_0x1eb158['data']['isOnRoot']?_0x1cba89['view']['change'](_0x688301=>{_0x688301['addClass']('ck-revision-history-root--active',_0x1cba89['view']['document']['getRoot'](_0x1eb158['rootName']));}):_0x1cba89['reconvertMarker']('revision:'+_0x1eb158['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5a6d5a,_0x27d494)=>{if(this['activeChange'])return;const _0x17055c=this['_findChangeIdFromDomTarget'](_0x27d494['target']),_0x3e9066=this['_changeIdToChange']['get'](_0x17055c);_0x3e9066?(this['_activeViewTarget']={'x':_0x27d494['domEvent']['x'],'y':_0x27d494['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x3e9066)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x28bf86,_0x5d0dbe)=>{const _0x4c8dc4=this['_findChangeIdFromDomTarget'](_0x5d0dbe['target']),_0x6d0647=this['_changeIdToChange']['get'](_0x4c8dc4);_0x6d0647?(this['_activeViewTarget']={'x':_0x5d0dbe['domEvent']['x'],'y':_0x5d0dbe['domEvent']['y']},_0x6d0647===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x6d0647):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x289cff){do{const _0x48c2d8=_0x289cff['getAttribute']('data-change-id');if(_0x48c2d8)return _0x48c2d8;_0x289cff=_0x289cff['parent'];}while(_0x289cff);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x570654=>{for(const _0x4bb3e1 of this['editor']['model']['markers'])_0x570654['removeMarker'](_0x4bb3e1);});}}function et(_0x559baa,_0xe659e7){return(_0x265c5b,_0x23ba02,_0x336eb9)=>{if(!_0x336eb9['consumable']['test'](_0x23ba02['markerRange'],_0x265c5b['name']))return;const _0x43eb3a=_0x23ba02['markerRange']['getWalker'](),_0x2d018e=_0x23ba02['markerRange']['start'],_0x291178=_0x559baa['model']['schema'];let _0x478620=null,_0x5b19c2=null,_0x27d84f=!0x1,_0x1717cb=!0x1;for(const _0x1d330f of _0x43eb3a){const _0x152060=_0x1d330f['item'];_0x27d84f=_0x27d84f||_0x291178['isContent'](_0x152060);const _0x2c218c=_0x336eb9['mapper']['toViewElement'](_0x152060);if(_0x2c218c&&_0x2c218c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1d330f['type']&&(_0x291178['isBlock'](_0x152060)&&!_0x291178['isLimit'](_0x152060)&&(_0x152060['nextSibling']||_0x2d018e['isAtEnd']?_0x478620&&_0x478620['parent']==_0x152060||(_0x478620=_0x152060,_0x5fbf5e(_0x1d330f['previousPosition']),_0x1717cb=!0x0):_0x5b19c2=_0x5b19c2||_0x1d330f['previousPosition']));}function _0x5fbf5e(_0x2715a7){const _0x101711=_0x336eb9['mapper']['toViewPosition'](_0x2715a7),_0x3b5ab0=_0x336eb9['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xe659e7});_0x336eb9['writer']['insert'](_0x101711,_0x3b5ab0),_0x336eb9['mapper']['bindElementToMarker'](_0x3b5ab0,_0x23ba02['markerName']);}_0x27d84f||_0x1717cb||!_0x5b19c2||_0x5fbf5e(_0x5b19c2);};}class bt extends _0x5779c7{constructor(_0x134382){super(_0x134382);const _0x30a307=_0x134382['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x30a307,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x30a307,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x31057a=this['editor'],_0x3f0c2f=_0x31057a['plugins']['get'](d),_0x1e860a=_0x3f0c2f['isReady']?_0x3f0c2f['diff']['newRevisionId']:null;_0x31057a['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1e860a);}['refresh'](){const {isReady:_0x3d725b,isEnabled:_0x3dc92f}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x3d725b&&_0x3dc92f;}}class yt extends _0x5779c7{['_step'];constructor(_0x59bd2e,{direction:_0x231d9b}){super(_0x59bd2e);const _0x57eeef=_0x59bd2e['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x231d9b?0x1:-0x1,this['listenTo'](_0x57eeef,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x57eeef,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x57eeef,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x567b1c=this['editor'],_0x346440=_0x567b1c['plugins']['get'](d),{isNavigationMode:_0x4f5e32,currentChangeNumber:_0x225745}=_0x346440;let _0x1a83e2;if(_0x346440['activeChange']=_0x4f5e32?_0x346440['diff']['changes']['get'](_0x225745+this['_step']):_0x346440['diff']['changes']['first'],_0x346440['activeChange']['data']['isOnRoot'])_0x1a83e2=_0x567b1c['editing']['view']['getDomRoot'](_0x346440['activeChange']['rootName']);else{const _0x14f8f0=_0x567b1c['model']['markers']['get']('revision:'+_0x346440['activeChange']['id']);_0x1a83e2=_0x30781b(_0x567b1c['editing'],_0x14f8f0);}_0x118915({'target':_0x1a83e2,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5d60f0,currentChangeNumber:_0x1d8867,numberOfChanges:_0x206147,isReady:_0x3ed9c2,isEnabled:_0x55eb40}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x55eb40&&_0x3ed9c2&&_0x206147)&&(!_0x5d60f0||(0x1===this['_step']?_0x1d8867<_0x206147-0x1:_0x1d8867>0x0));}}class _i extends _0x5ab15a{constructor(_0x1b2f53){super(_0x1b2f53);const _0xea8b45=this['bindTemplate'],_0x292676=new _0x33eaaa(_0x1b2f53),_0x75f3a1=new _0x33eaaa(_0x1b2f53);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',(_0x2febb0,_0x59c149)=>_0x2febb0&&_0x59c149>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xd66e07,_0x396e75,_0x2e3eab,_0x145e5b)=>{if(!_0xd66e07)return y(_0x1b2f53,'Loading...');if(!_0x2e3eab)return y(_0x1b2f53,'No\x20changes');const _0x3513e6=y(_0x1b2f53,'NUMBER_OF_CHANGES',_0x2e3eab);return _0x145e5b?y(_0x1b2f53,'X_OF_Y_CHANGES',[_0x396e75+0x1,_0x2e3eab]):_0x3513e6;}),_0x292676['set']({'label':y(_0x1b2f53,'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'}),_0x75f3a1['set']({'label':y(_0x1b2f53,'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'}),_0x292676['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x75f3a1['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x292676['on']('execute',()=>this['fire']('execute','backward')),_0x75f3a1['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',_0xea8b45['if']('_isStatusLabelVisible','ck-hidden',_0x2cf7ac=>!_0x2cf7ac)]},'children':[{'text':_0xea8b45['to']('isNavigationMode',_0x158f42=>_0x158f42?y(_0x1b2f53,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x1b2f53,'Total')+':\x20')}]},{'text':_0xea8b45['to']('_statusText')}]},new _0x492735(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x292676,_0x75f3a1]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1b7a4e{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x140b96=this['editor']['editing']['view'];_0x140b96['change'](_0x1123b6=>{for(const _0x57641b of _0x140b96['document']['roots'])_0x1123b6['addClass'](ce,_0x57641b);});}['hide'](){const _0x25b1c9=this['editor']['editing']['view'];_0x25b1c9['change'](_0x4c12a1=>{for(const _0x130075 of _0x25b1c9['document']['roots'])_0x4c12a1['removeClass'](ce,_0x130075);});}}class R extends _0x1b7a4e{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x559489=this['editor'],_0x33ccb2=_0x559489['plugins']['get'](d),_0x2f37c1=_0x559489['plugins']['get'](de);_0x559489['ui']['componentFactory']['add']('exitToEditing',_0x33add0=>{const _0x2688a5=new _0x33eaaa(_0x33add0);return _0x2688a5['set']({'label':y(_0x33add0,'Back\x20to\x20editing'),'icon':_0x3dd9b1['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2688a5,'execute',()=>{_0x559489['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2688a5;}),_0x559489['ui']['componentFactory']['add']('restoreRevision',_0x194733=>{const _0x5a303f=new _0x33eaaa(_0x194733);return _0x5a303f['set']({'label':y(_0x194733,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5a303f['bind']('isEnabled')['to'](_0x559489['commands']['get']('restoreRevision')),this['listenTo'](_0x5a303f,'execute',()=>_0x559489['execute']('restoreRevision')),_0x5a303f;}),_0x559489['ui']['componentFactory']['add']('changesNavigation',_0x1df8c0=>{const _0x2392b0=new _i(_0x1df8c0),_0x1263f7=_0x559489['commands']['get']('showPreviousChange'),_0x42cc30=_0x559489['commands']['get']('showNextChange');return _0x2392b0['bind']('isBackwardNavigationEnabled')['to'](_0x1263f7,'isEnabled'),_0x2392b0['bind']('isForwardNavigationEnabled')['to'](_0x42cc30,'isEnabled'),_0x2392b0['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x33ccb2),this['listenTo'](_0x2392b0,'execute',(_0x59ecc2,_0x2c5306)=>{_0x559489['execute']('forward'===_0x2c5306?'showNextChange':'showPreviousChange');}),_0x2392b0;}),_0x2f37c1['show'](),_0x33ccb2['on']('change:isReady',(_0x5feb7,_0x46e04a,_0x57386d)=>{_0x57386d?_0x2f37c1['hide']():_0x2f37c1['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x256fe1,_0x5abf36){super(_0x256fe1,_0x5abf36);const _0x351bb6=this['bindTemplate'];this['set']({'label':y(_0x256fe1,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x256fe1,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x351bb6['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 _0x23a04a=this['fieldView']['element'];this['_tooltipString']=_0x23a04a['scrollWidth']>_0x23a04a['clientWidth']&&_0x23a04a['value']||'';}}class ti extends _0x5ab15a{constructor(_0x59cadb,_0x48bc40,_0x3033d2){super(_0x59cadb);const _0x5c93ef=new _0x1506e2();_0x5c93ef['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 _0x5c4a28=['ck','ck-revision-history-sidebar__revision-author'];_0x3033d2&&_0x5c4a28['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1c2ca7=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x59cadb,_0x3033d2?'Revision\x20creator':'Revision\x20author')},'children':[_0x5c93ef,_0x48bc40['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5c4a28},'children':_0x1c2ca7});}}function ni(_0x339073,_0x2d5750){const _0x1d46a2=_0x339073['bindTemplate'],_0x1a553f=_0x339073['locale'],_0x1921dd=_0x2d15dd(_0x1a553f);_0x1921dd['panelPosition']='sw';const _0x4fe0d5=function(_0x1add77,_0x4728db){const _0x3e5694=function(_0x4b31fe,_0x152f21){const _0xb2d19=_0x4b31fe['locale'],_0x1b4b1d={'Compare\x20against\x20selected':y(_0xb2d19,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0xb2d19,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0xb2d19,'Restore\x20this\x20revision')};return _0x152f21['map'](_0x5b0054=>{const _0xe277ff=_0x1b4b1d[_0x5b0054['name']];return _0xe277ff&&_0xe277ff!==_0x5b0054['name']&&(_0x5b0054['name']=_0xe277ff),_0x5b0054;});}(_0x1add77,_0x4728db),_0x263dac=new _0x2828e8();for(const _0x5efa0c of _0x3e5694){const _0x4b8f7d={'type':'button','model':new to({'label':_0x5efa0c['name'],'class':_0x5efa0c['class'],'withText':!0x0,'role':'menuitem','_action':_0x5efa0c['action']})};_0x4b8f7d['model']['bind']('isEnabled')['to'](_0x1add77,'isActionsDropdownOpen',_0x5a3b0a=>'function'!=typeof _0x5efa0c['isEnabled']||(!_0x5a3b0a||_0x5efa0c['isEnabled'](_0x1add77))),_0x263dac['add'](_0x4b8f7d);}return _0x263dac;}(_0x339073,_0x2d5750);return _0x339073['bind']('isActionsDropdownOpen')['to'](_0x1921dd,'isOpen'),_0x1921dd['buttonView']['set']({'label':y(_0x1a553f,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3dd9b1['threeVerticalDots']}),_0x1921dd['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1d46a2['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1d46a2['to'](_0x13eea2=>_0x13eea2['stopPropagation']())}}),_0x1921dd['on']('execute',_0x1b696c=>{_0x339073['isReady']&&'function'==typeof _0x1b696c['source']['_action']&&_0x1b696c['source']['_action'](_0x339073);}),_0x1a986a(_0x1921dd,_0x4fe0d5,{'role':'menu'}),_0x1921dd['listenTo'](_0x339073,'change:isActionsDropdownOpen',(_0xb034ae,_0x41af6d,_0x192f24)=>{if(_0x192f24)for(const _0x13644c of _0x1921dd['listView']['items']){const _0x4bdf39=_0x13644c['children']['first'],_0x5c281a=_0x2d5750['find'](_0x376551=>_0x376551['action']===_0x4bdf39['_action'])['isVisible'];_0x13644c['isVisible']=void 0x0===_0x5c281a||_0x5c281a(_0x339073);}}),_0x1921dd;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x138e0e(_0x5ab15a){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x2250ad,_0x58f258,_0x415ad5,_0xc3ad6d){super(_0x2250ad);const _0x16c1d0=this['bindTemplate'],_0x27fd7c=function(_0x2c5f29,_0x3d6177){const _0xdcaf0e=Array['from'](_0x3d6177['authors'])['filter'](_0x5754dd=>_0x5754dd!=_0x3d6177['creator']);return _0x3d6177['creator']&&_0xdcaf0e['unshift'](_0x3d6177['creator']),_0xdcaf0e['map'](_0x19db0f=>new ti(_0x2c5f29,_0x19db0f,_0x19db0f==_0x3d6177['creator']));}(_0x2250ad,_0x58f258);this['id']=_0x58f258['id'],this['_revision']=_0x58f258,this['_requireRevisionName']=_0xc3ad6d,this['bind']('name','createdAt')['to'](_0x58f258),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x600711=>{return _0x3a05ba=_0x2250ad['uiLanguage'],(_0x8e71da=_0x600711)['toLocaleDateString'](_0x3a05ba,{'month':'long','day':'numeric'})+',\x20'+_0x8e71da['toLocaleTimeString'](_0x3a05ba,{'hour':'numeric','minute':'numeric'});var _0x3a05ba,_0x8e71da;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x2250ad,_0x44a15d),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x5e05b0=>_0x5e05b0||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x43c966,_0x3b1286)=>_0x43c966&&_0x3b1286),this['revisionActionsView']=_0x415ad5&&_0x415ad5['length']?ni(this,_0x415ad5):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x16c1d0['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x16c1d0['if']('isEnabled','ck-disabled',_0x1f9c9a=>!_0x1f9c9a),_0x16c1d0['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x16c1d0['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x16c1d0['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':_0x16c1d0['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':_0x27fd7c}]},this['revisionActionsView']],'on':{'click':_0x16c1d0['to'](_0x19510a=>{_0x19510a['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x33650e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x33650e,'change',()=>{this['_requireRevisionName']&&!_0x33650e['value']||this['fire']('setName',{'id':this['id'],'name':_0x33650e['value']}),_0x33650e['value']||(_0x33650e['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x36f044,_0x496ef7){const _0x445d9c=_0x164735['fromJSDate'](_0x36f044)['setLocale'](_0x496ef7),_0x32ce92=_0x164735['local'](),_0x29aa5a=_0x32ce92['minus']({'days':0x1})['startOf']('day');let _0x4a5b82,_0x298e4e;return _0x445d9c['hasSame'](_0x32ce92,'day')?(_0x4a5b82=_0x445d9c['startOf']('day')['toJSDate'](),_0x298e4e=_0x445d9c['toRelativeCalendar']()):_0x445d9c['hasSame'](_0x29aa5a,'day')?(_0x4a5b82=_0x29aa5a['toJSDate'](),_0x298e4e=_0x445d9c['toRelativeCalendar']()):_0x445d9c['hasSame'](_0x32ce92,'week')?(_0x4a5b82=_0x445d9c['startOf']('week')['toJSDate'](),_0x298e4e=_0x445d9c['weekdayLong']||''):_0x445d9c['hasSame'](_0x32ce92,'year')?(_0x4a5b82=_0x445d9c['startOf']('month')['toJSDate'](),_0x298e4e=_0x445d9c['monthLong']||''):(_0x4a5b82=_0x445d9c['startOf']('year')['toJSDate'](),_0x298e4e=String(_0x445d9c['year'])),{'startDate':_0x4a5b82,'localizedPeriodName':_0x298e4e};}class mi extends _0x5ab15a{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x329f1a,_0x5920f8,_0x575020,_0x412f16){super(_0x329f1a);const _0x4dd18a=di(_0x5920f8,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x5920f8,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x575020,this['_requireRevisionName']=_0x412f16,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':_0x4dd18a}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x509c1a){const _0x427443=new ai(this['locale'],_0x509c1a,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x427443);}['removeRevision'](_0x28186b){const _0x5645cb=this['revisionViews']['find'](_0x4523e4=>_0x4523e4['id']===_0x28186b['id']);this['revisionViews']['remove'](_0x5645cb);}}class as extends _0x5ab15a{constructor(_0x4c390c){super(_0x4c390c);const _0x468c4e=new _0x1506e2();_0x468c4e['content']=_0x3dd9b1['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x468c4e,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x4c390c,'Revision\x20history')]}]});}}class ci extends _0x5ab15a{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2b019e,_0x3bda8b,_0x5e1de0,_0x2453d5){super(_0x2b019e);const _0x25bd10=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x3bda8b,this['_revisionActions']=_0x5e1de0,this['_requireRevisionName']=_0x2453d5,this['on']('select',(_0x2c1ee5,_0x15ccce)=>{this['fire']('revisionSelected',_0x15ccce);}),this['on']('setName',(_0x42d326,_0x47ad7e)=>{this['fire']('revisionSetName',_0x47ad7e);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2b019e),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x25bd10['if']('isEnabled','ck-disabled',_0x35ffd6=>!_0x35ffd6)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x2d13b1 of this['_revisions'])this['_addRevision'](_0x2d13b1);this['_revisions']['on']('add',(_0x1f18f2,_0x3487e8)=>{this['_addRevision'](_0x3487e8);}),this['_revisions']['on']('remove',(_0x2f5346,_0x554a0a)=>{this['_removeRevision'](_0x554a0a);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0xf483e8=>_0xf483e8['revisionViews']['map'](_0x34cb06=>_0x34cb06))['flat']();}['selectRevision'](_0x528cb1){for(const _0x1b5b56 of this['revisionViews'])_0x528cb1&&_0x528cb1['id']===_0x1b5b56['id']?_0x1b5b56['select']():_0x1b5b56['deselect']();}['highlightRevisions'](_0xb3147f){for(const _0x56f55a of this['revisionViews'])_0xb3147f['some'](({id:_0x442c79})=>_0x442c79===_0x56f55a['id'])?_0x56f55a['highlight']():_0x56f55a['unhighlight']();}['_addRevision'](_0x48b87c){const _0x58df8b=di(_0x48b87c['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x11d447=this['timePeriodViews']['get'](0x0);_0x11d447&&_0x11d447['startDate']['getTime']()===_0x58df8b['getTime']()||(_0x11d447=new mi(this['locale'],_0x58df8b,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x11d447)),_0x11d447['addRevision'](_0x48b87c);}['_removeRevision'](_0x1c282a){const _0x3ea6a8=di(_0x1c282a['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3ea6a8)['removeRevision'](_0x1c282a);}['_getTimePeriodViewByStartDate'](_0x2aee38){return this['timePeriodViews']['find'](_0x52862e=>_0x52862e['startDate']['getTime']()===_0x2aee38['getTime']());}}class w extends _0x1b7a4e{['_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(_0x963b15){super(_0x963b15),this['_revisionViewer']=_0x963b15['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x32aec5=this['_revisionsRepository']['_revisions'],_0x13553e=this['_createRevisionActions'](),_0x3f1358=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x32aec5,_0x13553e,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',(_0x274b98,_0x27599d)=>{_0x27599d['revisionViews']['on']('add',(_0x1c9e4a,_0x140c3a)=>{_0x140c3a['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)),_0x3f1358['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3b653e=this['_revisionsRepository']['getRevision'](0x0);if(_0x3b653e){const _0x39b8dd=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3b653e['id']);this['_revisionViewer']['compare'](_0x3b653e,_0x39b8dd);}}['_handleRevisionSelected'](_0x5b10ad,_0x3dd47e){const _0x773b85=this['_revisionsRepository']['getRevision'](_0x3dd47e['id']),_0x20965b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x773b85['id']);this['_revisionViewer']['compare'](_0x773b85,_0x20965b);}['_handleRevisionSetName'](_0x5c9f84,_0x54dc33){this['_revisionsRepository']['getRevision'](_0x54dc33['id'])['setName'](_0x54dc33['name']);}['_handleDiffChange'](_0x3e9de1,_0x114734,_0x3cd26d){const _0x6d23e=this['_revisionsRepository']['getRevisionsInDiff'](_0x3cd26d);_0x6d23e['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x6d23e),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x6d23e[0x0]));}['_createRevisionActions'](){const _0x25af21=this['editor'],_0x111ee8=w['availableRevisionActions'],_0x22365d=_0x25af21['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x22365d['length'])return _0x22365d['map'](_0x5a483f=>{const _0x3d8f39='string'==typeof _0x5a483f?Object['assign']({},_0x111ee8[_0x5a483f]):_0x5a483f;return _0x3d8f39['action']=_0x3d8f39['action']['bind'](this,_0x25af21),_0x3d8f39['isVisible']&&(_0x3d8f39['isVisible']=_0x3d8f39['isVisible']['bind'](this,_0x25af21)),_0x3d8f39;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2633ab},_0x6082eb)=>{const _0x1f74fd=_0x2633ab['get'](d),_0x4dca36=_0x1f74fd['repository'];let _0x4868cf=_0x1f74fd['diff']['newRevisionId'],_0x59c0cb=_0x6082eb['id'];_0x4dca36['getIndex'](_0x4868cf)>_0x4dca36['getIndex'](_0x59c0cb)&&([_0x4868cf,_0x59c0cb]=[_0x59c0cb,_0x4868cf]),_0x1f74fd['compare'](_0x4868cf,_0x59c0cb);},'isVisible':({plugins:_0xa96f2},_0x49855d)=>{const _0x5e2719=_0xa96f2['get'](d);return!(_0x5e2719['repository']['getRevisionsInDiff'](_0x5e2719['diff'])['length']>0x2)&&!_0x49855d['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x196f35,{id:_0x1ee995})=>{_0x196f35['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1ee995);},'isVisible':({plugins:_0x3222b4},_0x382f3b)=>!!_0x3222b4['get'](d)['repository']['getLaterVisibleRevision'](_0x382f3b['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5e64d3},{id:_0x2c2678,revisionNameView:_0x2f25b5})=>{const _0x35495c=_0x5e64d3['get'](d),_0x209d27=_0x35495c['repository']['getEarlierVisibleRevision'](_0x2c2678);_0x35495c['compare'](_0x2c2678,_0x209d27),_0x2f25b5['focus'](),_0x2f25b5['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x488d47,_0x90512e){super(_0x488d47),this['_view']=_0x90512e,this['_toolbarConfig']=ct(_0x488d47['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x276b27){const _0x4325bd=this['editor'],_0xc88c54=this['view'],_0x78bac1=_0x4325bd['editing']['view'],_0x2345a7=_0xc88c54['editable'],_0xef7e8b=_0x78bac1['document']['getRoot']();_0x2345a7['name']=_0xef7e8b['rootName'],_0xc88c54['render']();const _0x1de5d3=_0x2345a7['element'];this['setEditableElement'](_0x2345a7['name'],_0x1de5d3),_0xc88c54['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x78bac1['attachDomRoot'](_0x1de5d3),this['_elementReplacer']['replace'](_0x276b27,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x239eea=this['view'],_0x516246=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x516246['detachDomRoot'](_0x239eea['editable']['name']),_0x239eea['destroy']();}['_initToolbar'](){const _0x3ca03a=this['view'];_0x3ca03a['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3ca03a['stickyPanel']['limiterElement']=_0x3ca03a['element'],_0x3ca03a['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x111644})=>_0x111644),_0x3ca03a['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3ca03a['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x44b9d1,_0x10e815,_0x19220c={}){super(_0x44b9d1),this['stickyPanel']=new lt(_0x44b9d1),this['toolbar']=new pt(_0x44b9d1,{'shouldGroupWhenFull':_0x19220c['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x44b9d1,_0x10e815);}['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(_0x35da00,_0x32a146){super(_0x32a146),this['sourceElement']=_0x35da00,this['model']['document']['createRoot']();const _0x2d5a71=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x2d5a71);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x59cef1,_0xa285da){const _0x1dbadf=new this(_0x59cef1,_0xa285da);return await _0x1dbadf['initPlugins'](),await _0x1dbadf['ui']['init'](_0x59cef1),await _0x1dbadf['data']['init'](_0x1dbadf['config']['get']('initialData')||''),_0x1dbadf['fire']('ready'),_0x1dbadf;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x4af4d9{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1b153a){super(_0x1b153a),this['result']='end';}}class H extends _0x4af4d9{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x2b8789){if(super(_0x2b8789),!this['editor']['config']['get']('revisionHistory'))throw new _0x580401('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1337a4=>this['_showRevisionViewer']({..._0x1337a4,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x144b46=>this['_closeRevisionViewer'](_0x144b46)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4aed9a=>this['_restoreRevision'](_0x4aed9a)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x28c9d3){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x28c9d3;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x4f09b8){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x4f09b8);}['getRevision'](_0x54c263){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x54c263);}['getRevisions'](_0x2403c6){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2403c6||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5eea35=this['editor'],_0x2539a1=_0xf72993(_0x5eea35,p),_0x3dfd67=_0x5eea35['plugins']['get']('RevisionTracker'),_0x1cfb21=_0x5eea35['plugins']['get']('Users')['users'];return _0x2539a1['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2539a1['lazyRoots'],(_0x2539a1['plugins']['push'](k,d,R,class extends _0x4af4d9{static get['requires'](){return[d,'Users'];}['init'](){const _0x26cbad=this['editor']['plugins']['get']('Users');for(const _0x42f89f of _0x1cfb21)_0x42f89f['isAnonymous']||_0x26cbad['getUser'](_0x42f89f['id'])||_0x26cbad['addUser'](_0x42f89f);const _0x552bbb=_0x3dfd67['repository']['getRevisions']();let _0x190fc5=null;const _0x1a8262=this['editor']['plugins']['get']('RevisionViewer');_0x1a8262['adapter']=_0x3dfd67['adapter'],_0x1a8262['bind']('isEnabled')['to'](_0x3dfd67),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5eea35,'isReadOnly',_0x156d70=>!_0x156d70);for(const _0x14dcaf of _0x552bbb){const _0x51a201=null===_0x14dcaf['creator'];if(_0x51a201&&_0x14dcaf['toVersion']===_0x14dcaf['fromVersion'])continue;const _0x27d9ea=_0x14dcaf['toJSON']();_0x1a8262['addRevisionData'](_0x27d9ea,(_0x2a3a13,_0x471521,_0x87f64b)=>{if(_0x51a201){if(_0x190fc5)_0x190fc5['_update'](_0x2a3a13,_0x471521);else{if(!_0x471521){const _0xa8822a=_0x87f64b['toJSON']();_0xa8822a['id']=_0x5d94f2(),_0x3dfd67['saveRevision'](_0xa8822a,_0x87f64b['toVersion'])['then'](_0x705b4=>{_0x190fc5=_0x705b4;});}}}else _0x14dcaf['_update'](_0x2a3a13,_0x471521);});}}},w),_0x2539a1);}['_enhanceShowRevisionViewerCallback'](){const _0x2a22ee=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x5625cf=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x110f24=this['editor']['plugins']['get']('Autosave');await _0x110f24['save']();}else await _0x5625cf['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x36cf47=this['editor']['plugins']['get']('Dialog');_0x36cf47['isOpen']&&_0x36cf47['hide']();}const _0xfca382=this['_getRevisionViewerEditorConfig']();return _0x2a22ee(_0xfca382)['then'](_0x432ae5=>{return(this['_viewerEditor']=_0x432ae5,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x432ae5;})['catch'](_0x132110=>(console['error'](_0x132110),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x33ccb7=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'](),_0x33ccb7(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x1fcfd6=this['editor']['plugins']['get']('Annotations');_0x1fcfd6['refreshVisibility'](),_0x1fcfd6['refreshPositioning']();}})));}['_showRevisionViewer'](_0x38dded){const _0xbf60b8=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3b8504=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xa52596=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xa52596,_0x38dded)['then'](_0xa643b9=>(_0x3b8504['style']['display']='block',_0xbf60b8['style']['display']='none',_0xa643b9));}['_closeRevisionViewer'](_0x14c245){const _0x5016ff=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x5016ff['style']['display']='',_0x14c245['destroy']();}async['_restoreRevision'](_0x2b210f){const _0x4dcf7f=this['editor'],_0x4a2d76=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x206baa=_0x4dcf7f['plugins']['get']('RevisionTracker'),_0x281587=_0x4a2d76['repository']['getRevision'](_0x2b210f);let _0x4d16aa,_0x5beec2,_0xff81d4;try{_0x4d16aa=await _0x4a2d76['getRevisionData'](_0x281587),_0x5beec2=await _0x4a2d76['getRevisionRootsAttributes'](_0x281587);}catch(_0x44b608){return void console['error'](_0x44b608);}_0x4dcf7f['model']['change'](_0x3a9d6a=>{for(const _0x4afb17 of Array['from'](_0x4dcf7f['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3a9d6a['removeMarker'](_0x4afb17);}),_0x4a2d76['isReady']=!0x1,_0x4dcf7f['model']['enqueueChange'](_0x27ffc7=>{_0x27ffc7['setSelection'](null),_0x27ffc7['removeSelectionAttribute'](_0x4dcf7f['model']['document']['selection']['getAttributeKeys']());const _0x34f4f1=Object['keys'](_0x4d16aa);for(const _0x319428 of _0x4dcf7f['model']['document']['roots'])'$graveyard'!=_0x319428['rootName']&&_0x319428['isAttached']()&&!_0x34f4f1['includes'](_0x319428['rootName'])&&_0x27ffc7['detachRoot'](_0x319428);for(const _0x206c50 of _0x34f4f1){let _0x3120fc=_0x4dcf7f['model']['document']['getRoot'](_0x206c50);_0x3120fc&&_0x3120fc['isAttached']()||(_0x3120fc=_0x27ffc7['addRoot'](_0x206c50));const _0x39ee39=_0x5beec2[_0x206c50],_0x2ea01c=Object['keys'](_0x39ee39),_0x2770d6=_0x4d16aa[_0x206c50];for(const _0x4ae30a of _0x3120fc['getAttributeKeys']())_0x2ea01c['includes'](_0x4ae30a)||_0x27ffc7['removeAttribute'](_0x4ae30a,_0x3120fc);for(const _0x3d16ff of _0x2ea01c)_0x27ffc7['setAttribute'](_0x3d16ff,_0x5beec2[_0x206c50][_0x3d16ff],_0x3120fc);_0x27ffc7['remove'](_0x27ffc7['createRangeIn'](_0x3120fc)),_0x27ffc7['insert'](_0x4dcf7f['data']['parse'](_0x2770d6,_0x3120fc),_0x3120fc,0x0);}});const _0x3cd0bb=y(_0x4dcf7f['locale'],'Restored');if(_0x281587['name'])_0xff81d4=-0x1==_0x281587['name']['indexOf'](_0x3cd0bb)?_0x3cd0bb+':\x20'+_0x281587['name']:_0x281587['name'];else _0xff81d4=_0x3cd0bb+':\x20'+(_0x281587['createdAt']['toLocaleDateString'](_0x4dcf7f['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x281587['createdAt']['toLocaleTimeString'](_0x4dcf7f['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x206baa['saveRevision']({'name':_0xff81d4}),_0x4a2d76['isReady']=!0x0,_0x4dcf7f['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x19fcad){super(_0x19fcad),this['_revisionViewer']=_0x19fcad['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x14f765=this['_revisionsRepository']['_revisions'],_0x5e688e=this['_createRevisionActions'](),_0x156c88=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x14f765,_0x5e688e,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',(_0x409bef,_0xd5838c)=>{_0xd5838c['revisionViews']['on']('add',(_0x52ee91,_0x1fcd8b)=>{_0x1fcd8b['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)),_0x156c88['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x491161=this['_revisionsRepository']['getRevision'](0x0);if(_0x491161){const _0x5c1106=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x491161['id']);this['_revisionViewer']['compare'](_0x491161,_0x5c1106);}}['_handleRevisionSelected'](_0xc3549b,_0xc5c802){const _0x9bbcc3=this['_revisionsRepository']['getRevision'](_0xc5c802['id']),_0x57f7de=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x9bbcc3['id']);this['_revisionViewer']['compare'](_0x9bbcc3,_0x57f7de);}['_handleRevisionSetName'](_0x56b7d3,_0x136504){this['_revisionsRepository']['getRevision'](_0x136504['id'])['setName'](_0x136504['name']);}['_handleDiffChange'](_0x564d06,_0x213555,_0x213026){const _0x3e939e=this['_revisionsRepository']['getRevisionsInDiff'](_0x213026);_0x3e939e['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x3e939e),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x3e939e[0x0]));}['_createRevisionActions'](){const _0x357f7e=this['editor'],_0x46b120=w['availableRevisionActions'],_0x5c0c09=_0x357f7e['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5c0c09['length'])return _0x5c0c09['map'](_0x345cba=>{const _0x183ed4='string'==typeof _0x345cba?Object['assign']({},_0x46b120[_0x345cba]):_0x345cba;return _0x183ed4['action']=_0x183ed4['action']['bind'](this,_0x357f7e),_0x183ed4['isVisible']&&(_0x183ed4['isVisible']=_0x183ed4['isVisible']['bind'](this,_0x357f7e)),_0x183ed4;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x513a11},_0x5ba402)=>{const _0x2ec0ed=_0x513a11['get'](d),_0x508543=_0x2ec0ed['repository'];let _0x2402d6=_0x2ec0ed['diff']['newRevisionId'],_0x4e9d43=_0x5ba402['id'];_0x508543['getIndex'](_0x2402d6)>_0x508543['getIndex'](_0x4e9d43)&&([_0x2402d6,_0x4e9d43]=[_0x4e9d43,_0x2402d6]),_0x2ec0ed['compare'](_0x2402d6,_0x4e9d43);},'isVisible':({plugins:_0x32695e},_0xd178c9)=>{const _0x28462f=_0x32695e['get'](d);return!(_0x28462f['repository']['getRevisionsInDiff'](_0x28462f['diff'])['length']>0x2)&&!_0xd178c9['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x4e4699,{id:_0xc6e0ff})=>{_0x4e4699['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xc6e0ff);},'isVisible':({plugins:_0x1847b4},_0x271754)=>!!_0x1847b4['get'](d)['repository']['getLaterVisibleRevision'](_0x271754['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0xabd196},{id:_0x3ec101,revisionNameView:_0x21785e})=>{const _0x23e4f2=_0xabd196['get'](d),_0x357a39=_0x23e4f2['repository']['getEarlierVisibleRevision'](_0x3ec101);_0x23e4f2['compare'](_0x3ec101,_0x357a39),_0x21785e['focus'](),_0x21785e['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x127ae8,_0x199c14){super(_0x127ae8),this['_view']=_0x199c14,this['_toolbarConfig']=ct(_0x127ae8['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x3951c9){const _0x2f2184=this['editor'],_0x297e8e=this['view'],_0x265019=_0x2f2184['editing']['view'],_0x1760c4=_0x297e8e['editable'],_0x1bd7e6=_0x265019['document']['getRoot']();_0x1760c4['name']=_0x1bd7e6['rootName'],_0x297e8e['render']();const _0x270251=_0x1760c4['element'];this['setEditableElement'](_0x1760c4['name'],_0x270251),_0x297e8e['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x265019['attachDomRoot'](_0x270251),this['_elementReplacer']['replace'](_0x3951c9,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3b0139=this['view'],_0x2e8cd0=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2e8cd0['detachDomRoot'](_0x3b0139['editable']['name']),_0x3b0139['destroy']();}['_initToolbar'](){const _0x1f7d31=this['view'];_0x1f7d31['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1f7d31['stickyPanel']['limiterElement']=_0x1f7d31['element'],_0x1f7d31['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4ba4b3})=>_0x4ba4b3),_0x1f7d31['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1f7d31['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x587958,_0x557885,_0x56b451={}){super(_0x587958),this['stickyPanel']=new lt(_0x587958),this['toolbar']=new pt(_0x587958,{'shouldGroupWhenFull':_0x56b451['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x587958,_0x557885);}['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(_0x4fb39d,_0x50c9a9){super(_0x50c9a9),this['sourceElement']=_0x4fb39d,this['model']['document']['createRoot']();const _0xa43b88=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xa43b88);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x20ba29,_0x561528){const _0x4f2b6b=new this(_0x20ba29,_0x561528);return await _0x4f2b6b['initPlugins'](),await _0x4f2b6b['ui']['init'](_0x20ba29),await _0x4f2b6b['data']['init'](_0x4f2b6b['config']['get']('initialData')||''),_0x4f2b6b['fire']('ready'),_0x4f2b6b;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1b7a4e{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3dc4c9){super(_0x3dc4c9),this['result']='end';}}class H extends _0x1b7a4e{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x1e5b4e){if(super(_0x1e5b4e),!this['editor']['config']['get']('revisionHistory'))throw new _0x253004('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x57874f=>this['_showRevisionViewer']({..._0x57874f,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2d074d=>this['_closeRevisionViewer'](_0x2d074d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x461c05=>this['_restoreRevision'](_0x461c05)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x26f3c4){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x26f3c4;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x36b967){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x36b967);}['getRevision'](_0x1266cc){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1266cc);}['getRevisions'](_0xfe9f30){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xfe9f30||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x16181c=this['editor'],_0x5b7f85=_0x3a0f85(_0x16181c,p),_0x5e3da1=_0x16181c['plugins']['get']('RevisionTracker'),_0x2ac7b3=_0x16181c['plugins']['get']('Users')['users'];return _0x5b7f85['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x5b7f85['lazyRoots'],(_0x5b7f85['plugins']['push'](k,d,R,class extends _0x1b7a4e{static get['requires'](){return[d,'Users'];}['init'](){const _0x40f01e=this['editor']['plugins']['get']('Users');for(const _0x42df6f of _0x2ac7b3)_0x42df6f['isAnonymous']||_0x40f01e['getUser'](_0x42df6f['id'])||_0x40f01e['addUser'](_0x42df6f);const _0x5690f1=_0x5e3da1['repository']['getRevisions']();let _0x364a53=null;const _0x2b3abc=this['editor']['plugins']['get']('RevisionViewer');_0x2b3abc['adapter']=_0x5e3da1['adapter'],_0x2b3abc['bind']('isEnabled')['to'](_0x5e3da1),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x16181c,'isReadOnly',_0x2e83bf=>!_0x2e83bf);for(const _0x1b6611 of _0x5690f1){const _0x3e2d5d=null===_0x1b6611['creator'];if(_0x3e2d5d&&_0x1b6611['toVersion']===_0x1b6611['fromVersion'])continue;const _0x274a3c=_0x1b6611['toJSON']();_0x2b3abc['addRevisionData'](_0x274a3c,(_0x7d9c31,_0x33ef74,_0x2faa7a)=>{if(_0x3e2d5d){if(_0x364a53)_0x364a53['_update'](_0x7d9c31,_0x33ef74);else{if(!_0x33ef74){const _0x251a2b=_0x2faa7a['toJSON']();_0x251a2b['id']=_0x53c5f2(),_0x5e3da1['saveRevision'](_0x251a2b,_0x2faa7a['toVersion'])['then'](_0x598a5a=>{_0x364a53=_0x598a5a;});}}}else _0x1b6611['_update'](_0x7d9c31,_0x33ef74);});}}},w),_0x5b7f85);}['_enhanceShowRevisionViewerCallback'](){const _0x5349ac=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x3ab578=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x3e33e7=this['editor']['plugins']['get']('Autosave');await _0x3e33e7['save']();}else await _0x3ab578['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x66a473=this['editor']['plugins']['get']('Dialog');_0x66a473['isOpen']&&_0x66a473['hide']();}const _0x2c791f=this['_getRevisionViewerEditorConfig']();return _0x5349ac(_0x2c791f)['then'](_0x21174c=>{return(this['_viewerEditor']=_0x21174c,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x21174c;})['catch'](_0x29f76a=>(console['error'](_0x29f76a),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1614d1=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'](),_0x1614d1(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4329eb=this['editor']['plugins']['get']('Annotations');_0x4329eb['refreshVisibility'](),_0x4329eb['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4ed6d5){const _0x3ee1d0=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x4d8c9f=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2dc09b=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2dc09b,_0x4ed6d5)['then'](_0x46639b=>(_0x4d8c9f['style']['display']='block',_0x3ee1d0['style']['display']='none',_0x46639b));}['_closeRevisionViewer'](_0x460489){const _0xed539c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xed539c['style']['display']='',_0x460489['destroy']();}async['_restoreRevision'](_0x53cdf0){const _0x27a366=this['editor'],_0x30bd9f=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x512fed=_0x27a366['plugins']['get']('RevisionTracker'),_0x3de5c8=_0x30bd9f['repository']['getRevision'](_0x53cdf0);let _0x2d0f83,_0x42d64c,_0x29cdbf;try{_0x2d0f83=await _0x30bd9f['getRevisionData'](_0x3de5c8),_0x42d64c=await _0x30bd9f['getRevisionRootsAttributes'](_0x3de5c8);}catch(_0x3a0c2e){return void console['error'](_0x3a0c2e);}_0x27a366['model']['change'](_0x31bd61=>{for(const _0x31b122 of Array['from'](_0x27a366['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x31bd61['removeMarker'](_0x31b122);}),_0x30bd9f['isReady']=!0x1,_0x27a366['model']['enqueueChange'](_0x1a2ec5=>{_0x1a2ec5['setSelection'](null),_0x1a2ec5['removeSelectionAttribute'](_0x27a366['model']['document']['selection']['getAttributeKeys']());const _0x50585e=Object['keys'](_0x2d0f83);for(const _0x29fc41 of _0x27a366['model']['document']['roots'])'$graveyard'!=_0x29fc41['rootName']&&_0x29fc41['isAttached']()&&!_0x50585e['includes'](_0x29fc41['rootName'])&&_0x1a2ec5['detachRoot'](_0x29fc41);for(const _0x35b7c5 of _0x50585e){let _0x19a800=_0x27a366['model']['document']['getRoot'](_0x35b7c5);_0x19a800&&_0x19a800['isAttached']()||(_0x19a800=_0x1a2ec5['addRoot'](_0x35b7c5));const _0x2fa50d=_0x42d64c[_0x35b7c5],_0x215c75=Object['keys'](_0x2fa50d),_0x29f786=_0x2d0f83[_0x35b7c5];for(const _0xa74c4b of _0x19a800['getAttributeKeys']())_0x215c75['includes'](_0xa74c4b)||_0x1a2ec5['removeAttribute'](_0xa74c4b,_0x19a800);for(const _0xe434c1 of _0x215c75)_0x1a2ec5['setAttribute'](_0xe434c1,_0x42d64c[_0x35b7c5][_0xe434c1],_0x19a800);_0x1a2ec5['remove'](_0x1a2ec5['createRangeIn'](_0x19a800)),_0x1a2ec5['insert'](_0x27a366['data']['parse'](_0x29f786,_0x19a800),_0x19a800,0x0);}});const _0xe02824=y(_0x27a366['locale'],'Restored');if(_0x3de5c8['name'])_0x29cdbf=-0x1==_0x3de5c8['name']['indexOf'](_0xe02824)?_0xe02824+':\x20'+_0x3de5c8['name']:_0x3de5c8['name'];else _0x29cdbf=_0xe02824+':\x20'+(_0x3de5c8['createdAt']['toLocaleDateString'](_0x27a366['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3de5c8['createdAt']['toLocaleTimeString'](_0x27a366['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x512fed['saveRevision']({'name':_0x29cdbf}),_0x30bd9f['isReady']=!0x0,_0x27a366['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};