@ckeditor/ckeditor5-revision-history 42.0.0-alpha.7 → 42.0.0-alpha.9

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 +5 -5
  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 _0x1a2be0,Context as _0x34b4ce,PendingActions as _0x565f37,icons as _0x8785f0,Command as _0x8e5b0,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x13b2ce,uid as _0x4693f2,Collection as _0x4fae73,logWarning as _0x5ea378,FocusTracker as _0xa25151,KeystrokeHandler as _0xfe6e2d,scrollViewportToShowTarget as _0x41fd94,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x1e00de}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x1945a4,getMarkerDomElement as _0x3271cb,ConfirmMixin as _0x2f8a30,sanitizeEditorConfig as _0x1e7983}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3abca1,ViewText as _0x297982,ViewElement as _0x7eba0d,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x5626b6,ViewAttributeElement as _0x4b1cea,ViewEmptyElement as _0x578701,ViewRawElement as _0x427790,ViewUIElement as _0x364ff0,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x463027,set as _0x3466aa,unset as _0xf021f5,isEqual as _0x546f00}from'lodash-es';import{View as _0x3165d1,injectCssTransitionDisabler as ts,submitHandler as _0x2360be,LabeledFieldView as at,createLabeledInputText as _0xfbddd4,createDropdown as _0x10fd7b,ListView as te,ListItemView as _0x2497df,ButtonView as _0x53da7b,MenuBarMenuView as _0x151158,MenuBarMenuListView as _0x3dbca6,MenuBarMenuListItemView as _0xe2483b,MenuBarMenuListItemButtonView as _0x5cfe9f,ContextualBalloon as _0x305120,ToolbarSeparatorView as _0x9fbac0,IconView as _0x8be0d8,addListToDropdown as _0x4a5947,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 _0x6f6604}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x13b2ce(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x37425a){super(),this['id']=_0x37425a['id']||_0x4693f2(),this['creator']=_0x37425a['creator']||null,this['authors']=_0x37425a['authors']||[],this['diffData']=_0x37425a['diffData']||null,this['toVersion']=_0x37425a['toVersion']||0x0,this['fromVersion']=_0x37425a['fromVersion']||0x0,this['set']('name',_0x37425a['name']||''),this['set']('createdAt',_0x37425a['createdAt']||new Date()),this['set']('attributes',_0x37425a['attributes']||{});}['setName'](_0xa2bfd2){this['_update']({'name':_0xa2bfd2});}['setAttribute'](_0x1486a3,_0x26fec7){const _0x26b514=_0x463027(this['attributes']);_0x3466aa(_0x26b514,_0x1486a3,_0x26fec7),this['_update']({'attributes':_0x26b514});}['removeAttribute'](_0x465c98){const _0x7054d3=_0x463027(this['attributes']);_0xf021f5(_0x7054d3,_0x465c98),this['_update']({'attributes':_0x7054d3});}['_update'](_0x10f04f,_0x372e3e=!0x1){let _0x5ca899=!0x1;const _0x52b8c5={'id':this['id']},_0x388503=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4d20e7 of _0x388503){const _0x52091f=_0x10f04f[_0x4d20e7];void 0x0!==_0x52091f&&_0x52091f!==this[_0x4d20e7]&&(this[_0x4d20e7]=_0x52091f,_0x52b8c5[_0x4d20e7]=_0x52091f,_0x5ca899=!0x0);}_0x5ca899&&(_0x52b8c5['authors']&&(_0x52b8c5['authorsIds']=_0x52b8c5['authors']['map'](_0x486cb6=>_0x486cb6['id']),delete _0x52b8c5['authors']),this['fire']('_update',_0x52b8c5,_0x372e3e));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xabf7be=>_0xabf7be['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1a2be0{['_revisions'];static get['requires'](){return[_0x1945a4];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x19e6d1){super(_0x19e6d1),this['_revisions']=new _0x4fae73();}['afterInit'](){!function(_0x5a0e27){function _0x4ae5e3(_0x49d5ab,_0x478f33,_0x589efc){const _0x5c2b68={};_0x5c2b68[_0x4946bc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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],_0x5c2b68[_0x4946bc([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 _0x323c08=new Uint8Array(0x10);for(let _0x35babe=0xf;_0x35babe>=0x0;--_0x35babe)_0x323c08[_0x35babe]=_0x589efc%0x100,_0x589efc=parseInt(_0x589efc/0x100);let _0xbdce20=null,_0x4dcbcf=0x10;const _0xca98ef=new Uint8Array(_0x478f33),_0x196036=[],_0x18fa1d=[];_0x2c9ef5();for(let _0x729e5d=0x0;_0x729e5d<_0x49d5ab[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x729e5d++)0x10===_0x4dcbcf&&(_0xbdce20=_0x24769c(_0x323c08),_0x4dcbcf=0x0,_0x49a4f8(_0x323c08)),_0x49d5ab[_0x729e5d]^=_0xbdce20[_0x4dcbcf++];return _0x49d5ab;function _0x138183(_0xa3882a){const _0x19402e=[];for(let _0x1f3139=0x0;_0x1f3139<_0xa3882a[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f3139+=0x4)_0x19402e[_0x4946bc([0x70,0x75,0x73,0x68])](_0xa3882a[_0x1f3139]<<0x18|_0xa3882a[_0x1f3139+0x1]<<0x10|_0xa3882a[_0x1f3139+0x2]<<0x8|_0xa3882a[_0x1f3139+0x3]);return _0x19402e;}function _0x49a4f8(_0x40f7be){for(let _0x1f226d=0xf;_0x1f226d>=0x0;_0x1f226d--){if(0xff!==_0x40f7be[_0x1f226d]){_0x40f7be[_0x1f226d]++;break;}_0x40f7be[_0x1f226d]=0x0;}}function _0x24769c(_0x2f921e){const _0x401dca=_0x196036[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x74dd70=[0x0,0x0,0x0,0x0];let t=_0x138183(_0x2f921e);for(let _0x5658e9=0x0;_0x5658e9<0x4;_0x5658e9++)t[_0x5658e9]^=_0x196036[0x0][_0x5658e9];for(let _0x3394ba=0x1;_0x3394ba<_0x401dca;_0x3394ba++){for(let _0x3718de=0x0;_0x3718de<0x4;_0x3718de++)_0x74dd70[_0x3718de]=_0x5c2b68[_0x4946bc([0x54,0x31])][t[_0x3718de]>>0x18&0xff]^_0x5c2b68[_0x4946bc([0x54,0x32])][t[(_0x3718de+0x1)%0x4]>>0x10&0xff]^_0x5c2b68[_0x4946bc([0x54,0x33])][t[(_0x3718de+0x2)%0x4]>>0x8&0xff]^_0x5c2b68[_0x4946bc([0x54,0x34])][0xff&t[(_0x3718de+0x3)%0x4]]^_0x196036[_0x3394ba][_0x3718de];t=_0x74dd70[_0x4946bc([0x73,0x6c,0x69,0x63,0x65])]();}const _0x549c8e=new Uint8Array(0x10);let _0x349930;for(let _0x460868=0x0;_0x460868<0x4;_0x460868++)_0x349930=_0x196036[_0x401dca][_0x460868],_0x549c8e[0x4*_0x460868]=0xff&(_0x5c2b68[_0x4946bc([0x53])][t[_0x460868]>>0x18&0xff]^_0x349930>>0x18),_0x549c8e[0x4*_0x460868+0x1]=0xff&(_0x5c2b68[_0x4946bc([0x53])][t[(_0x460868+0x1)%0x4]>>0x10&0xff]^_0x349930>>0x10),_0x549c8e[0x4*_0x460868+0x2]=0xff&(_0x5c2b68[_0x4946bc([0x53])][t[(_0x460868+0x2)%0x4]>>0x8&0xff]^_0x349930>>0x8),_0x549c8e[0x4*_0x460868+0x3]=0xff&(_0x5c2b68[_0x4946bc([0x53])][0xff&t[(_0x460868+0x3)%0x4]]^_0x349930);return _0x549c8e;}function _0x2c9ef5(){const _0xdb9a97=_0x5c2b68[_0x4946bc([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xca98ef[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x1cc5b0=0x0;_0x1cc5b0<=_0xdb9a97;_0x1cc5b0++)_0x196036[_0x4946bc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x18fa1d[_0x4946bc([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5448f2=0x4*(_0xdb9a97+0x1),_0x297915=_0xca98ef[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x57daeb=_0x138183(_0xca98ef);let _0x3155ca;for(let _0x475122=0x0;_0x475122<_0x297915;_0x475122++)_0x3155ca=_0x475122>>0x2,_0x196036[_0x3155ca][_0x475122%0x4]=_0x57daeb[_0x475122],_0x18fa1d[_0xdb9a97-_0x3155ca][_0x475122%0x4]=_0x57daeb[_0x475122];let _0xb69ed2,_0x5c9d89=0x0,t=_0x297915;for(;t<_0x5448f2;){_0xb69ed2=_0x57daeb[_0x297915-0x1],_0x57daeb[0x0]^=_0x5c2b68[_0x4946bc([0x53])][_0xb69ed2>>0x10&0xff]<<0x18^_0x5c2b68[_0x4946bc([0x53])][_0xb69ed2>>0x8&0xff]<<0x10^_0x5c2b68[_0x4946bc([0x53])][0xff&_0xb69ed2]<<0x8^_0x5c2b68[_0x4946bc([0x53])][_0xb69ed2>>0x18&0xff]^_0x5c2b68[_0x4946bc([0x72,0x63,0x6f,0x6e])][_0x5c9d89]<<0x18,_0x5c9d89+=0x1;for(let _0x410a4f=0x1;_0x410a4f<_0x297915/0x2;_0x410a4f++)_0x57daeb[_0x410a4f]^=_0x57daeb[_0x410a4f-0x1];_0xb69ed2=_0x57daeb[_0x297915/0x2-0x1],_0x57daeb[_0x297915/0x2]^=_0x5c2b68[_0x4946bc([0x53])][0xff&_0xb69ed2]^_0x5c2b68[_0x4946bc([0x53])][_0xb69ed2>>0x8&0xff]<<0x8^_0x5c2b68[_0x4946bc([0x53])][_0xb69ed2>>0x10&0xff]<<0x10^_0x5c2b68[_0x4946bc([0x53])][_0xb69ed2>>0x18&0xff]<<0x18;for(let _0x41e391=_0x297915/0x2+0x1;_0x41e391<_0x297915;_0x41e391++)_0x57daeb[_0x41e391]^=_0x57daeb[_0x41e391-0x1];let _0x144649,_0x281394,_0x17f925=0x0;for(;_0x17f925<_0x297915&&t<_0x5448f2;)_0x144649=t>>0x2,_0x281394=t%0x4,_0x196036[_0x144649][_0x281394]=_0x57daeb[_0x17f925],_0x18fa1d[_0xdb9a97-_0x144649][_0x281394]=_0x57daeb[_0x17f925++],t++;}for(let _0x5a2990=0x1;_0x5a2990<_0xdb9a97;_0x5a2990++)for(let _0x39a6d4=0x0;_0x39a6d4<0x4;_0x39a6d4++)_0xb69ed2=_0x18fa1d[_0x5a2990][_0x39a6d4],_0x18fa1d[_0x5a2990][_0x39a6d4]=_0x5c2b68[_0x4946bc([0x55,0x31])][_0xb69ed2>>0x18&0xff]^_0x5c2b68[_0x4946bc([0x55,0x32])][_0xb69ed2>>0x10&0xff]^_0x5c2b68[_0x4946bc([0x55,0x33])][_0xb69ed2>>0x8&0xff]^_0x5c2b68[_0x4946bc([0x55,0x34])][0xff&_0xb69ed2];}}function _0x4946bc(_0x4a053e){return _0x4a053e['map'](_0x2fe58d=>String['fromCharCode'](_0x2fe58d))['join']('');}(_0x3800cc=>{function _0x325f01(){const _0x303b76=[{[_0x4946bc([0x69,0x64])]:0x1,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4946bc([0x69,0x64])]:0x2,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([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]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4946bc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4946bc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4946bc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4946bc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4946bc([0x69,0x64])]:0x3,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4946bc([0x69,0x64])]:0x4,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([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]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4946bc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4946bc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4946bc([0x69,0x64])]:0x5,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([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]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}},{[_0x4946bc([0x69,0x64])]:0x6,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}},{[_0x4946bc([0x69,0x64])]:0x7,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}},{[_0x4946bc([0x69,0x64])]:0x8,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([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]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}},{[_0x4946bc([0x69,0x64])]:0x9,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4946bc([0x69,0x64])]:0xa,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([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]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([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]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([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]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}},{[_0x4946bc([0x69,0x64])]:0xb,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4946bc([0x69,0x64])]:0xc,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4946bc([0x69,0x64])]:0xd,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}},{[_0x4946bc([0x69,0x64])]:0xe,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4946bc([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([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])},{[_0x4946bc([0x69,0x64])]:0xf,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4946bc([0x69,0x64])]:0x10,[_0x4946bc([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4946bc([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4946bc([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4946bc([0x66,0x67,0x69])]:[0xc]}}];return _0x4c0b5c(_0x303b76),_0x303b76;function _0x168289(_0x6eaeb){return 0x1<<_0x6eaeb-0x1;}function _0x4c0b5c(_0x1120e2){_0x1120e2[_0x4946bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x519f20=>{_0x519f20[_0x4946bc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x168289(_0x519f20[_0x4946bc([0x69,0x64])]),_0x320999(_0x519f20)&&_0x519f20[_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4c0b5c(_0x519f20[_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x320999(_0x46b32d){return _0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x46b32d;}const _0x1d3c51=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x3b60d9=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5e998d(_0x2b5578){const _0x531f61=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x32db78(_0x2b5578,new Uint8Array([..._0x1d3c51,..._0x531f61,..._0x3b60d9]));}function _0x32db78(_0x3cc18e,_0x4bda40){const _0x3c1361=_0x2c36b4(_0x3cc18e),_0x554f9c=Array[_0x4946bc([0x66,0x72,0x6f,0x6d])](_0x1ddbdb(_0x3c1361)),_0x21a943=_0x554f9c[_0x4946bc([0x70,0x6f,0x70])](),_0x35fbfb=_0x554f9c[_0x4946bc([0x70,0x6f,0x70])]();return _0x38bdee(_0x4ae5e3(_0x554f9c,_0x4bda40,_0x35fbfb+0x100*_0x21a943));}function _0x2c36b4(_0x36c220){const _0x53fdce=atob(_0x36c220),[_0x3cb650,_0x165e42]=_0x53fdce[_0x4946bc([0x73,0x70,0x6c,0x69,0x74])](_0x4946bc([0x2d]));try{if(atob(_0x165e42))return atob(_0x3cb650);}catch(_0x55e26a){}return _0x53fdce;}function _0x1647a9(_0x3fa960){try{const _0x1f87a3=_0x5e998d(_0x3fa960),_0x4e6565=JSON[_0x4946bc([0x70,0x61,0x72,0x73,0x65])](_0x1f87a3),_0x18cb95=parseInt(_0x4e6565[_0x4946bc([0x31])]),_0x2e90bc=_0x4e6565[_0x4946bc([0x32])]||'',_0x4bb593=parseInt(_0x4e6565[_0x4946bc([0x33])]),_0x47110f=parseInt(_0x4e6565[_0x4946bc([0x34])])||0x0,_0x50b052=parseInt(_0x4e6565[_0x4946bc([0x35])])||0x0;return{[_0x4946bc([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2e90bc,[_0x4946bc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x47110f,[_0x4946bc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x18cb95,[_0x4946bc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4bb593,[_0x4946bc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x50b052};}catch(_0x4cfd29){return null;}}const _0x5cf105=_0x325f01(),_0x112757={[_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5ce9d8,[_0x4946bc([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])]:_0x30a238,[_0x4946bc([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])]:_0x5d8f18},_0x59fff5=_0x3800cc[_0x4946bc([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2ed0d1=_0x4946bc([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3800cc?_0x3800cc['context']:_0x3800cc['editor'],_0x5ec0a6=_0x4946bc([0x34,0x30,0x34,0x38,0x31,0x32,0x32,0x34]),_0x135b09=_0x4946bc([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]),_0x38634f=_0x2ed0d1['config']['get'](_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3b3ae2=_0x5cf105[_0x4946bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x320999)[_0x4946bc([0x66,0x69,0x6e,0x64])](_0x3f35af=>_0x3f35af[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x59fff5);function _0x53f460(_0x271bd6,_0xd0f735){_0x112757[_0xd0f735[_0x4946bc([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x271bd6,_0xd0f735),_0xd0f735[_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xd0f735[_0x4946bc([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4946bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x7b99ee=>_0x342cdf(_0x2ed0d1,_0x7b99ee[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4946bc([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5aa30b=>_0x53f460(_0x271bd6,_0x5aa30b));}function _0x5ce9d8(_0x548b13,_0x197a7e){_0x27536a(_0x40ded6(_0x548b13,_0x197a7e),_0x197a7e);}function _0x30a238(_0x375157,_0x3bb5b5){function _0x520d5d(_0x2f5e01,_0x12ab77){try{if(_0x342cdf(_0x2ed0d1,_0x4946bc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2f5e01){const _0x1f8793=_0x55fba9(_0x2ed0d1,_0x4946bc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4946bc([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1f8793)/0x2>_0x2f5e01[_0x4946bc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1f4b5b(_0x12ab77[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x40ded6(_0x2f5e01,_0x12ab77);}catch(_0x44e6c4){return _0x1f4b5b(_0x12ab77[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x27536a(_0x520d5d(_0x375157,_0x3bb5b5),_0x3bb5b5);}function _0x5d8f18(_0x44eb7d,_0xb85fd6){const _0x922105=_0x3b60d9[0x0]*_0x1d3c51[0x1],_0x143a76=_0x3b60d9[0x0]*_0x1d3c51[0x2],_0x1f93c7=_0x3b60d9[0x2]*_0x1d3c51[0x2];_0x342cdf(_0x2ed0d1,_0x4946bc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x55fba9(_0x2ed0d1,_0x4946bc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4946bc([0x73,0x74,0x61,0x74,0x65])]==_0x4946bc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x5d4eed()]=_0x1f93c7);function _0x5b86e3(_0x244204,_0x471c8f){try{return _0x356484()?_0x1f4b5b(_0x471c8f[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x56,0x61,0x6c,0x69,0x64])):_0x40ded6(_0x244204,_0x471c8f);}catch(_0x6de39e){return _0x1f4b5b(_0x471c8f[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4e081b(_0xc4aa05,_0x512c74){const _0x2a3a2d=0x7;if(_0xc4aa05==_0x512c74[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0xcf836c();else{if(_0xc4aa05==_0x512c74[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c])){const _0x405097=_0x13bbdb();_0x405097&&_0x3e8a3a(_0x405097,_0x512c74[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5a7909=_0x2e0603();window[_0x4946bc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3e8a3a(_0x4946bc([0x74,0x69,0x6d,0x65]),_0x512c74[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5a7909);const _0x4ef315=_0x55fba9(_0x2ed0d1,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4946bc([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x4ef315[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2a3a2d?_0x3e8a3a(_0x4946bc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x512c74[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x4ef315['on'](_0x4946bc([0x61,0x64,0x64]),()=>{_0x4ef315[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2a3a2d&&_0x3e8a3a(_0x4946bc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x512c74[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x13bbdb(){if(!_0x342cdf(_0x2ed0d1,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x214871 in window)if(Number['isNaN'](Number(_0x214871))){if(window[_0x214871]===_0x922105)return _0x4946bc([0x74,0x69,0x6d,0x65]);if(window[_0x214871]===_0x143a76)return _0x4946bc([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x356484(){if(!_0x342cdf(_0x2ed0d1,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4ad397 in window)if(Number['isNaN'](Number(_0x4ad397))&&window[_0x4ad397]===_0x1f93c7)return!0x0;return!0x1;}function _0x3e8a3a(_0x4edd45,_0x4720f5){_0xcf836c(),_0x1f4b5b(_0x4720f5+_0x4946bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x4edd45),window[_0x5d4eed()]=_0x4edd45===_0x4946bc([0x74,0x69,0x6d,0x65])?_0x922105:_0x143a76;}function _0x2e0603(){let _0x43159e=_0x3b60d9[0x6]*_0x1d3c51[0x8]*_0x1d3c51[0x6];return _0x342cdf(_0x2ed0d1,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x43159e/=0xa),_0x43159e;}function _0xcf836c(){const _0x1462b8=_0x2ed0d1;function _0x5dae2b(){_0x342cdf(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4946bc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4946bc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4946bc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4946bc([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xa386b2,_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4946bc([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xa386b2,_0x1462b8[_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4946bc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa386b2,_0x1462b8[_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4946bc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa386b2,_0x1462b8[_0x4946bc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c]))),_0x342cdf(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4946bc([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4946bc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4946bc([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4946bc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xa386b2,_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4946bc([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xa386b2);}_0x1462b8[_0x4946bc([0x73,0x74,0x61,0x74,0x65])]==_0x4946bc([0x72,0x65,0x61,0x64,0x79])?_0x5dae2b():_0x1462b8[_0x4946bc([0x6f,0x6e,0x63,0x65])](_0x4946bc([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x342cdf(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5dae2b(),_0x342cdf(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x57f964=_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x20fb57=_0x57f964['getRevision'](0x0),_0x1f6f33=_0x57f964['getEarlierVisibleRevision'](_0x20fb57[_0x4946bc([0x69,0x64])]);_0x55fba9(_0x1462b8,_0x4946bc([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4946bc([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x20fb57[_0x4946bc([0x69,0x64])],_0x1f6f33?_0x1f6f33[_0x4946bc([0x69,0x64])]:null,0x1)['then'](()=>_0x5dae2b());}});}_0x4e081b(_0x5b86e3(_0x44eb7d,_0xb85fd6),_0xb85fd6);}function _0x40ded6(_0x35dc15,_0x35c180){try{return _0x39c640(_0x35c180)?_0x1f4b5b(_0x35c180[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x56,0x61,0x6c,0x69,0x64])):_0x35dc15&&_0x3d5e8a(_0x35dc15[_0x4946bc([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x35c180)?_0x35dc15[_0x4946bc([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4946bc([0x6f,0x70,0x65,0x6e])][_0x4946bc([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x5ec0a6)/0x2>_0x35dc15[_0x4946bc([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1f4b5b(_0x35c180[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x35dc15[_0x4946bc([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1f4b5b(_0x35c180[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c])):_0x1f4b5b(_0x35c180[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x56,0x61,0x6c,0x69,0x64])):_0x1f4b5b(_0x35c180[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x337992){return _0x1f4b5b(_0x35c180[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x27536a(_0x2571ed,_0x100ffc){if(_0x2ed0d1 instanceof _0x34b4ce){const _0x28fac0=_0x2ed0d1;_0x2571ed==_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x32be65(_0x28fac0):_0x2571ed==_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4946bc([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x32be65(_0x28fac0),_0x1f4b5b(_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x3b60d9[0x6]*_0x1d3c51[0x8]*_0x1d3c51[0x6]),_0x28fac0[_0x4946bc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4946bc([0x6f,0x6e])](_0x4946bc([0x61,0x64,0x64]),(_0x1ce269,_0x33be31)=>{_0x2571ed!=_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2571ed!=_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2571ed!=_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3d7b86(_0x33be31);});}else{const _0x1d6684=_0x2ed0d1;_0x2571ed==_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3d7b86(_0x1d6684):_0x2571ed==_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c])&&_0x1d6684[_0x4946bc([0x6f,0x6e])](_0x4946bc([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x39582b=0x0;_0x1d6684[_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4946bc([0x6f,0x6e])](_0x4946bc([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27dd33,_0x231908)=>{_0x231908[0x0][_0x4946bc([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x39582b++,0x1f8===_0x39582b&&(_0x3d7b86(_0x1d6684),_0x1f4b5b(_0x100ffc[_0x4946bc([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4946bc([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x27dd33[_0x4946bc([0x6f,0x66,0x66])]());},{'priority':_0x4946bc([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1f4b5b(_0x34a4c6){const _0x409af4=_0x5d4eed();return _0x2ed0d1[_0x409af4]=_0x34a4c6,_0x34a4c6;}function _0x5d4eed(){const _0x394804=String(window[_0x4946bc([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4946bc([0x6e,0x6f,0x77])]())[_0x4946bc([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4946bc([0x2e]),'');let _0x40c144='';for(let _0x9ed971=0x0;_0x9ed971<_0x394804[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9ed971+=0x2){let _0x29ad87=parseInt(_0x394804[_0x4946bc([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9ed971,_0x9ed971+0x2));_0x29ad87>=_0x135b09[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x29ad87-=_0x135b09[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40c144+=_0x135b09[_0x29ad87];}return _0x40c144;}function _0x32be65(_0x137bc7){for(const _0x52a92a of _0x137bc7[_0x4946bc([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3d7b86(_0x52a92a);_0x55fba9(_0x137bc7,_0x4946bc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4946bc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x55fba9(_0x137bc7,_0x4946bc([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4946bc([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xa386b2;}function _0x3d7b86(_0x2d25cf){function _0x5aeaf0(){_0x2d25cf[_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4946bc([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xa386b2,_0x2d25cf[_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c])][_0x4946bc([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xa386b2,_0x2d25cf[_0x4946bc([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4946bc([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2d25cf[_0x4946bc([0x73,0x74,0x61,0x74,0x65])]==_0x4946bc([0x72,0x65,0x61,0x64,0x79])?_0x5aeaf0():_0x2d25cf[_0x4946bc([0x6f,0x6e,0x63,0x65])](_0x4946bc([0x72,0x65,0x61,0x64,0x79]),()=>_0x5aeaf0());}function _0xa386b2(){return null;}function _0x3d5e8a(_0x197a21,_0x46615d){const _0x1114b6=!!(_0x197a21&_0x46615d[_0x4946bc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x3dce73=_0x48ed04(_0x197a21,_0x46615d);return _0x1114b6||_0x3dce73;}function _0x48ed04(_0x3df432,_0x32eb46){const _0x36b41=(_0x32eb46[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4946bc([0x66,0x67,0x69])]||null;return!!_0x36b41&&_0x5cf105[_0x4946bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a7536=>_0x36b41[_0x4946bc([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7536[_0x4946bc([0x69,0x64])]))[_0x4946bc([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x497860=>!_0x4f903a(_0x497860))[_0x4946bc([0x73,0x6f,0x6d,0x65])](_0x21ed94=>!!(_0x3df432&_0x21ed94[_0x4946bc([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x4f903a(_0x4ac0cd){const _0x41a973={[_0x4946bc([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])]:_0x2af80a};return!!_0x4ac0cd['forbiddenHandler']&&_0x41a973[_0x4ac0cd['forbiddenHandler']]();}function _0x2af80a(){return!window[_0x4946bc([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x342cdf(_0x2ed0d1,_0x4946bc([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x39c640(_0x327e42){if(!_0x342cdf(_0x2ed0d1,_0x327e42[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x19420b=_0x327e42[_0x4946bc([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x375c8b=_0x19420b[_0x4946bc([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x40d83c=_0x19420b[_0x4946bc([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x1d003d=_0x19420b[_0x4946bc([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x342cdf(_0x2ed0d1,_0x4946bc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x55fba9(_0x2ed0d1,_0x4946bc([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4946bc([0x73,0x74,0x61,0x74,0x65])]==_0x4946bc([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x375c8b)return!0x0;if(_0x342cdf(_0x2ed0d1,_0x4946bc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x55fba9(_0x2ed0d1,_0x4946bc([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4946bc([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4946bc([0x65,0x6e,0x64])&&_0x40d83c)return!0x0;return!(!_0x342cdf(_0x2ed0d1,_0x4946bc([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]))||_0x55fba9(_0x2ed0d1,_0x4946bc([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]))[_0x4946bc([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4946bc([0x65,0x6e,0x64])||!_0x1d003d);}function _0x342cdf(_0x352160,_0xcf0725){return _0x352160[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4946bc([0x68,0x61,0x73])](_0xcf0725);}function _0x55fba9(_0x23bcab,_0x2ce773){return _0x23bcab[_0x4946bc([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4946bc([0x67,0x65,0x74])](_0x2ce773);}function _0x38bdee(_0xcc01e5){let _0x36b93b='';for(const _0xb93b69 of _0xcc01e5)_0x36b93b+=String[_0x4946bc([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0xb93b69);return _0x36b93b;}function _0x1ddbdb(_0x264403){const _0x75577b=new Uint8Array(_0x264403[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3ff332=0x0;_0x3ff332<_0x264403[_0x4946bc([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ff332++)_0x75577b[_0x3ff332]=_0x264403[_0x4946bc([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ff332);return _0x75577b;}_0x3b3ae2&&_0x53f460(_0x1647a9(_0x38634f),_0x3b3ae2);})(_0x5a0e27);}(this);}['createRevision'](_0x424801){const _0x28cd1e=this['editor']['plugins']['get']('Users');return new a({'id':_0x424801['id'],'name':_0x424801['name'],'creator':_0x424801['creatorId']?_0x28cd1e['getUser'](_0x424801['creatorId']):null,'diffData':_0x424801['diffData']||_0x424801['data'],'authors':_0x424801['authorsIds']['map'](_0x359066=>_0x28cd1e['getUser'](_0x359066)),'createdAt':new Date(_0x424801['createdAt']),'attributes':_0x424801['attributes'],'fromVersion':_0x424801['fromVersion'],'toVersion':_0x424801['toVersion']});}['addRevision'](_0xa6bc76,_0x5756e2=0x0){this['_revisions']['add'](_0xa6bc76,_0x5756e2);}['getRevision'](_0x5c7dec){return this['_revisions']['get'](_0x5c7dec);}['getRevisions'](_0x2e54df={'toJSON':!0x1}){const _0x5da1cd=Array['from'](this['_revisions']);return _0x5da1cd['reverse'](),_0x2e54df['toJSON']?_0x5da1cd['map'](_0x28f087=>_0x28f087['toJSON']()):_0x5da1cd;}['getIndex'](_0x36f92b){return this['_revisions']['getIndex'](_0x36f92b);}['getEarlierVisibleRevision'](_0x111d15){const [,_0x1e7fc3]=this['getRevisionsIterator'](_0x111d15,{'direction':'earlier'});return _0x1e7fc3;}['getLaterVisibleRevision'](_0x5efb63){const [,_0x552f5c]=this['getRevisionsIterator'](_0x5efb63,{'direction':'later'});return _0x552f5c;}['getRevisionsInDiff'](_0x5c42ac){const _0x2a999c=[];for(const _0x308212 of this['getRevisionsIterator'](_0x5c42ac['newRevisionId']))if(_0x2a999c['push'](_0x308212),_0x308212['id']===_0x5c42ac['oldRevisionId'])break;return _0x2a999c;}*['getRevisionsIterator'](_0x46edf8,{direction:_0x2eb087='earlier',filter:_0x133dc6=_0x10e5c2=>!0x0}={}){const _0x3a2ef5='earlier'===_0x2eb087?0x1:-0x1;let _0x1acc3b=this['_revisions']['get'](_0x46edf8),_0x5c15dd=this['getIndex'](_0x1acc3b);for(yield _0x1acc3b;_0x1acc3b;){if(_0x5c15dd+=_0x3a2ef5,_0x1acc3b=this['getRevision'](_0x5c15dd),!_0x1acc3b)return;_0x133dc6(_0x1acc3b)&&(yield _0x1acc3b);}}}function y(_0x4d8ca4,_0x5046ae,_0x4142e1){const t=_0x4d8ca4['t'];switch(_0x5046ae){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'},_0x4142e1);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4142e1);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':_0x5626b6,'a':_0x4b1cea,'e':_0x578701,'r':_0x427790,'u':_0x364ff0};class l extends _0x1a2be0{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x1945a4,A,_0x565f37];}constructor(_0x1c4e08){super(_0x1c4e08),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 _0x10ac7b=_0x4693f2();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x10ac7b},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 _0x3b99ba=this['repository']['getRevision'](0x0),_0x3f1ed5=_0x3b99ba&&null===_0x3b99ba['creator']?_0x3b99ba:null;if(this['_continueCurrentRevision']=!!_0x3f1ed5&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x7046c9=this['_source']['getCurrentRevisionId'](),_0xcfc434=this['repository']['getRevision'](_0x7046c9);if(_0xcfc434)this['_startingVersion']=_0xcfc434['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x19b47e=this['_source']['history']['_operations']['find'](_0x32c2be=>!_0x32c2be['_isInit']),_0x1c142a=_0x19b47e?_0x19b47e['baseVersion']:this['_source']['history']['version'];_0x3b99ba?(_0x3b99ba['toVersion']<_0x1c142a&&_0x3b99ba['_update']({'toVersion':_0x1c142a}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3f1ed5['id'],this['_startingVersion']=_0x3f1ed5['fromVersion']):(this['_startingVersion']=_0x3b99ba['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x1c142a,this['_continueCurrentRevision']=!0x1);}}else _0x3f1ed5&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3f1ed5['toVersion'],this['editor']['model']['document']['history']['version']),_0x3f1ed5['fromVersion']===_0x3f1ed5['toVersion']?(0x0!==_0x3f1ed5['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f1ed5['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f1ed5['id'],this['_startingVersion']=_0x3f1ed5['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',_0x1849cf=>!_0x1849cf);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x20c40c=this['repository']['getRevision'](0x0),_0x1a0ad2=await this['getRevisionDocumentData'](_0x20c40c),_0x5c1591=await this['getRevisionRootsAttributes'](_0x20c40c);this['_replaceEditorDataWithRevisionData'](_0x1a0ad2,_0x5c1591);}}['setSource'](_0x143a34){this['_source']=_0x143a34;}async['update'](){const _0x5581aa=await this['_source']['getLatestVersion']();if(_0x5581aa>this['currentRevision']['toVersion']){await this['_loadState']();const _0x59f92f=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x5581aa});_0x59f92f['authors']=_0x59f92f['authorsIds']['map'](_0xcce31f=>this['editor']['plugins']['get']('Users')['getUser'](_0xcce31f)),this['currentRevision']['_update'](_0x59f92f);}}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'](_0xe12672={},_0x146812=null){const _0x15db91=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x146812>this['currentRevision']['toVersion']&&(_0x146812=null),null===_0x146812&&(_0x146812=await this['_source']['getLatestVersion']());const _0x107929=this['_getFromVersion'](_0x146812),_0x21dd98=this['buildRevisionData']({'from':_0x107929,'to':_0x146812});if(this['currentRevision']['toVersion']<_0x146812){const _0x600e5f=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x146812,'to':_0x146812});_0x600e5f['authors']=[],_0x600e5f['authorsIds']=[],_0x600e5f['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x600e5f,!0x0),delete _0x600e5f['authors'],_0x15db91['push'](_0x600e5f);}_0xe12672['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xe12672['name']=_0xe12672['name']||null,_0xe12672['id']=_0xe12672['id']||_0x4693f2(),_0xe12672={..._0xe12672,..._0x21dd98};const _0x1e6756=this['addRevisionData'](_0xe12672);_0x15db91['push'](_0xe12672);const _0x196e9c=this['repository']['getIndex'](_0x1e6756);if(0x0!==_0x196e9c){const _0x32afa9=this['repository']['getRevision'](_0x196e9c-0x1);if(_0x32afa9['fromVersion']!==_0x146812){const _0x3b938b=this['_revisionDataBuilder']['getData'](_0x146812,_0x32afa9['toVersion']),_0x143818={'id':_0x32afa9['id'],'diffData':_0x3b938b['diffData'],'authorsIds':_0x3b938b['authorsIds'],'authors':_0x3b938b['authorsIds']['map'](_0x1d0058=>this['editor']['plugins']['get']('Users')['getUser'](_0x1d0058)),'fromVersion':_0x146812};_0x32afa9===this['currentRevision']&&(_0x143818['createdAt']=new Date(_0xe12672['createdAt']['getTime']()+0xa)),_0x32afa9['_update'](_0x143818,!0x0),delete _0x143818['authors'],_0x15db91['push'](_0x143818);}}if(this['adapter']){for(const _0x182642 of _0x15db91)this['_bufferUpdate'](_0x182642['id'],_0x182642,!0x0);this['sendBufferedUpdates']();}return _0x1e6756;}['addRevisionData'](_0x4411d1){const _0xee9cf2=this['repository']['createRevision'](_0x4411d1);return this['adapter']&&_0xee9cf2['on']('_update',(_0x1a8652,_0x4c6072,_0x2805f9)=>{_0x2805f9||(this['_bufferUpdate'](_0x4c6072['id'],_0x4c6072,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0xee9cf2,this['_findInsertionIndex'](_0xee9cf2)),_0xee9cf2;}async['getRevisionDocumentData'](_0xe3dce7){await this['_loadRevisionData'](_0xe3dce7);const _0x1480ec={};for(const _0xc53f9e in _0xe3dce7['diffData']){if(_0xe3dce7['diffData'][_0xc53f9e]['attachChange']&&!_0xe3dce7['diffData'][_0xc53f9e]['attachChange']['isAttached'])continue;const _0x3736c3=this['_removeRevisionMarkers'](JSON['parse'](_0xe3dce7['diffData'][_0xc53f9e]['insertions'])),_0x550a2c=this['editor']['editing']['view']['document'],_0x5d6aff=new _0x3abca1(_0x550a2c,_0x3736c3['map'](_0x15cbdf=>B(_0x15cbdf,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x1480ec[_0xc53f9e]=this['editor']['data']['processor']['toData'](_0x5d6aff),this['editor']['data']['processor']['useFillerType']('default');}return _0x1480ec;}async['getRevisionRootsAttributes'](_0x1a2ec0){await this['_loadRevisionData'](_0x1a2ec0);const _0xb3566e={};for(const _0x530690 in _0x1a2ec0['diffData'])_0x1a2ec0['diffData'][_0x530690]['attachChange']&&!_0x1a2ec0['diffData'][_0x530690]['attachChange']['isAttached']||(_0xb3566e[_0x530690]=_0x1a2ec0['diffData'][_0x530690]['attributesAfter']||{});return _0xb3566e;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x5c53e2=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x4e9027=0x0;_0x4e9027<_0x5c53e2['length'];_0x4e9027++){const _0x38ef8e=_0x5c53e2[_0x4e9027];let _0x261ab8=!0x1;for(const _0x3223f7 of Object['keys'](_0x38ef8e))void 0x0===_0x38ef8e[_0x3223f7]?delete _0x38ef8e[_0x3223f7]:'id'!==_0x3223f7&&(_0x261ab8=!0x0);_0x261ab8||(_0x5c53e2[_0x4e9027]=null);}if(_0x5c53e2=_0x5c53e2['filter'](_0xf64cc7=>null!==_0xf64cc7),!_0x5c53e2['length'])return;for(let _0xcdee21=0x0;_0xcdee21<_0x5c53e2['length'];_0xcdee21++){const _0x4e5a41=_0x5c53e2[_0xcdee21];void 0x0!==_0x4e5a41['fromVersion']&&void 0x0===_0x4e5a41['toVersion']&&(_0x4e5a41['toVersion']=this['repository']['getRevision'](_0x4e5a41['id'])['toVersion']),void 0x0!==_0x4e5a41['toVersion']&&void 0x0===_0x4e5a41['fromVersion']&&(_0x4e5a41['fromVersion']=this['repository']['getRevision'](_0x4e5a41['id'])['fromVersion']);}const _0xd8eefc=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x5c53e2,_0xd8eefc)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x16638d=>{if(_0x16638d){for(const _0x5e6dd6 of _0x16638d)this['setRevisionData']({'id':_0x5e6dd6['id'],'createdAt':_0x5e6dd6['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x209a2a,_0x11fc08){let _0x269f8d=this['editor']['config']['get']('initialData'),_0x32952e=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x269f8d){_0x269f8d={};for(const _0x31866b of this['editor']['model']['document']['getRootNames']())_0x269f8d[_0x31866b]='';}if('string'==typeof _0x269f8d&&(_0x269f8d={'main':_0x269f8d}),void 0x0===_0x32952e){_0x32952e={};for(const _0x457ab0 of this['editor']['model']['document']['getRootNames']())_0x32952e[_0x457ab0]={};}let _0x72e4d9=!0x1;const _0x4c3a75=Object['keys'](_0x269f8d),_0x40a488=Object['keys'](_0x209a2a);for(const _0x2d04cb of _0x4c3a75){if(_0x269f8d[_0x2d04cb]!==_0x209a2a[_0x2d04cb]&&''!==_0x269f8d[_0x2d04cb]['trim']()){_0x72e4d9=!0x0;break;}if(!_0x546f00(_0x32952e[_0x2d04cb],_0x11fc08[_0x2d04cb])&&Object['keys'](_0x32952e[_0x2d04cb])['length']>0x0){_0x72e4d9=!0x0;break;}}_0x72e4d9||(_0x72e4d9=_0x40a488['some'](_0x45bec6=>!this['editor']['model']['document']['getRoot'](_0x45bec6))),_0x72e4d9&&_0x5ea378('editor-initial-data-replaced-with-revision-data',{'editorData':_0x269f8d,'editorRootsAttributes':_0x32952e,'revisionData':_0x209a2a,'revisionRootsAttributes':_0x11fc08}),this['editor']['config']['set']('initialData',_0x209a2a),this['editor']['config']['set']('rootsAttributes',_0x11fc08);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x474156=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x474156['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xde5411){const _0xf88622=this['repository']['getRevisions']();_0xf88622['reverse']();let _0x5c6cf6=0x0;for(;_0x5c6cf6<_0xf88622['length'];){const _0x500d43=_0xf88622[_0x5c6cf6];if(_0x500d43===this['currentRevision']){_0x5c6cf6++;continue;}if(_0x500d43['id']===this['_initialRevisionId'])break;const _0x30fcf0=_0xde5411['toVersion']-_0x500d43['toVersion']||_0xde5411['fromVersion']-_0x500d43['fromVersion'];if(_0x30fcf0>0x0)break;if(_0x30fcf0<0x0)_0x5c6cf6++;else{if(!_0xde5411['creator']&&_0x500d43['creator'])break;if(_0x500d43['creator']||!_0xde5411['creator']){if(_0xde5411['createdAt']>_0x500d43['createdAt'])break;_0x5c6cf6++;}else _0x5c6cf6++;}}return _0x5c6cf6;}['setRevisionData'](_0x251883){const _0x14a498=this['repository']['getRevision'](_0x251883['id']);if(_0x251883['createdAt']&&(_0x251883['createdAt']=new Date(_0x251883['createdAt'])),_0x251883['authorsIds']){const _0xf7cdd1=this['editor']['plugins']['get']('Users');_0x251883['authors']=_0x251883['authorsIds']['map'](_0x1c6c4f=>_0xf7cdd1['getUser'](_0x1c6c4f));}_0x14a498['_update'](_0x251883,!0x0);}['buildRevisionData']({revision:_0x31fdc6=null,from:_0x22afe0=null,to:_0x5e4a56=null}){_0x22afe0=null!==_0x22afe0?_0x22afe0:_0x31fdc6['fromVersion'],_0x5e4a56=null!==_0x5e4a56?_0x5e4a56:_0x31fdc6['toVersion'];const _0x1a3358=this['_revisionDataBuilder']['getData'](_0x22afe0,_0x5e4a56),_0x1d0e5c={'diffData':_0x1a3358['diffData'],'authorsIds':_0x1a3358['authorsIds'],'fromVersion':_0x22afe0,'toVersion':_0x5e4a56};if(!_0x31fdc6||_0x5e4a56!==_0x31fdc6['toVersion']){const _0x26ddbe=_0x5e4a56-0x1,_0x446f16=this['_source']['history']['getOperation'](_0x26ddbe);_0x1d0e5c['createdAt']=_0x446f16&&_0x446f16['createdAt']||new Date();}if(this['_loadedStateData']&&_0x22afe0===this['_loadedStateData']['fromVersion']){for(const _0x154f4b of this['_loadedStateData']['authors'])_0x1d0e5c['authorsIds']['includes'](_0x154f4b['id'])||_0x1d0e5c['authorsIds']['push'](_0x154f4b['id']);}return _0x1d0e5c;}['_loadRevisionData'](_0x5a609d){if(!_0x5a609d||_0x5a609d['diffData'])return Promise['resolve']();{const _0x2ab50f=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2ab50f,'revisionId':_0x5a609d['id']})['then'](_0x2b6b5a=>{_0x5a609d['diffData']=_0x2b6b5a['diffData'];});}}['_bufferUpdate'](_0x11553b,_0x423b8d,_0xfe2468){if(this['_bufferedUpdates']['has'](_0x11553b)){const _0x22144f=this['_bufferedUpdates']['get'](_0x11553b);_0x423b8d=_0xfe2468?{..._0x22144f,..._0x423b8d}:{..._0x423b8d,..._0x22144f};}this['_bufferedUpdates']['set'](_0x11553b,_0x423b8d);}['_getFromVersion'](_0x225d99){const _0x4ff071=this['repository']['getRevisions']();_0x4ff071['reverse'](),_0x4ff071['shift']();const _0xeb708f=_0x4ff071['find'](_0x208e4e=>_0x208e4e['toVersion']<=_0x225d99)['toVersion'];return _0xeb708f<this['_startingVersion']?this['_startingVersion']:_0xeb708f;}['_createInitialRevision'](_0x272d67){const _0x4d2a5b=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4d2a5b)this['_initialRevisionId']=_0x4d2a5b['id'];else{const _0x55c094=!this['editor']['model']['document']['roots']['find'](_0x2249dd=>this['editor']['model']['hasContent'](_0x2249dd)),_0x3cacca=this['editor']['plugins']['get']('Users')['me']['id'],_0x51ead8=y(this['editor']['locale'],_0x55c094?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x272d67,'to':_0x272d67,'id':this['_initialRevisionId'],'name':_0x51ead8,'creatorId':_0x3cacca});}}['_createCurrentRevision'](_0x2e8a22){const _0x2c67a5=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x2c67a5),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2e8a22,'to':_0x2e8a22,'id':_0x2c67a5,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5734a9,from:_0x16a86d,to:_0x59235b,creatorId:_0x4c51d3,id:_0x21d127}){const _0x1f23bf=this['buildRevisionData']({'from':_0x16a86d,'to':_0x59235b});_0x1f23bf['name']=_0x5734a9,_0x1f23bf['creatorId']=_0x4c51d3,_0x1f23bf['id']=_0x21d127;const _0x20f209=this['addRevisionData'](_0x1f23bf);return this['adapter']&&this['_bufferUpdate'](_0x1f23bf['id'],_0x1f23bf,!0x0),_0x20f209;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x3efba5){return(_0x3efba5=_0x3efba5['filter'](_0x4fef3a=>!_0x4fef3a['name']||'revision-start'!==_0x4fef3a['name']&&'revision-end'!==_0x4fef3a['name']))['forEach'](_0x33eb26=>{'string'!=typeof _0x33eb26&&(_0x33eb26['children']=this['_removeRevisionMarkers'](_0x33eb26['children']),_0x33eb26['attributes']=_0x33eb26['attributes']['filter'](_0xb8d30e=>!_0xb8d30e[0x0]['startsWith']('data-revision-')));}),_0x3efba5;}}function B(_0x3eccaa,_0x4ba317){const _0x5bf462=_0x4ba317['editing']['view']['document'];if('string'==typeof _0x3eccaa)return new _0x297982(_0x5bf462,_0x3eccaa);{const _0x37c961=_0x3eccaa['children']['map'](_0x30c7ce=>B(_0x30c7ce,_0x4ba317));return new(T[_0x3eccaa['type']]||_0x7eba0d)(_0x5bf462,_0x3eccaa['name'],_0x3eccaa['attributes'],_0x37c961);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5d5440){this['editor']=_0x5d5440,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'](_0x5c96f0){this['source']=_0x5c96f0;const _0x279dd1=new Map(),_0xfa7f0a=new Map(),_0x2efce1=this['editor']['model']['document']['roots']['map'](_0x58d002=>_0x58d002['rootName']);for(const _0x198537 of _0x2efce1){const _0x333d39=this['editor']['model']['document']['getRoot'](_0x198537),_0x357c99=q(_0x333d39);_0x279dd1['set'](_0x198537,_0x357c99),_0xfa7f0a['set'](_0x198537,Object['fromEntries'](_0x333d39['getAttributes']()));}const _0x526ac7=Array['from'](this['editor']['model']['markers'])['map'](_0x41058d=>[_0x41058d['name'],_0x41058d['getRange']()]),_0x4765f4=this['source']['version'];this['_saveMetaData'](_0x4765f4,_0x279dd1,_0x526ac7,_0xfa7f0a),this['_startingRevisionId']=this['_revisionId'];const _0x14fa3d=new Map(),_0x14f4d9=new Map();for(const _0x14962b of _0x2efce1){const _0x5a205d=G(_0x14962b);_0x14fa3d['set'](_0x14962b,_0x5a205d),_0x14f4d9['set'](_0x14962b,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x14fa3d,[],_0x14f4d9);}['getData'](_0x23feb3,_0x3504d4){if(this['_lastFrom']===_0x23feb3&&this['_lastTo']<=_0x3504d4)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3504d4,!0x0);else{if(!this['_savedMetaData']['has'](_0x23feb3)){const _0x13ef1b=this['_getPreviousFrom'](_0x23feb3);this['_calculateMetaData'](_0x13ef1b,_0x23feb3,!0x1);}this['_calculateMetaData'](_0x23feb3,_0x3504d4,!0x0);}return this['_lastFrom']=_0x23feb3,this['_lastTo']=_0x3504d4,this['_getState']();}['loadState'](_0x5b3837){this['_reset'](),this['_lastFrom']=_0x5b3837['fromVersion'],this['_lastTo']=_0x5b3837['toVersion'];for(const _0x197bb3 in _0x5b3837['diffData']){const _0x358b46=_0x5b3837['diffData'][_0x197bb3]['attachChange'],_0x3d63eb=_0x463027(_0x5b3837['diffData'][_0x197bb3]['attributesBefore'])||{},_0x55e329=this['_makeModelFromViewString'](_0x5b3837['diffData'][_0x197bb3]['deletions']);_0x55e329['rootName']=_0x197bb3,_0x55e329['_isAttached']=!_0x358b46||!_0x358b46['isAttached'],_0x55e329['isAttached']=()=>_0x55e329['_isAttached'],this['_baseRoots']['set'](_0x197bb3,_0x55e329),this['_baseRootsAttributes']['set'](_0x197bb3,_0x3d63eb),_0x358b46&&this['_touchedRoots']['set'](_0x197bb3,_0x358b46);const _0x421c61=this['_makeIdsRoot'](_0x55e329);this['_baseIdsRoots']['set'](_0x197bb3,_0x421c61);for(const [_0x2de130,_0x16c9fc]of _0x55e329['markers']){if(!_0x2de130['startsWith']('revision:'))continue;const _0x330c16=_0x2de130['split'](':')[0x2];for(const _0x34f975 of _0x16c9fc['getWalker']({'singleCharacters':!0x0})){const _0x5eec08=this['_getVidAttributeName'](_0x34f975),_0x2e368d='elementEnd'==_0x34f975['type']?_0x34f975['previousPosition']['path']['slice'](0x0,-0x1):_0x34f975['previousPosition']['path'],_0x4a6498=_0x421c61['getNodeByPath'](_0x2e368d)['getAttribute'](_0x5eec08);this['_touched']['set'](_0x4a6498,{'userId':_0x330c16});}}}this['_startingRevisionId']=this['_revisionId'];const _0x136ac2=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3a16cf=>!this['_touched']['has'](_0x3a16cf));let _0xe372b6=0x0;const _0x31c634=new Map();for(const _0x18441f in _0x5b3837['diffData']){const _0xecd224=_0x5b3837['diffData'][_0x18441f]['attachChange'],_0x3952d5=_0x463027(_0x5b3837['diffData'][_0x18441f]['attributesAfter'])||{},_0x4203aa=this['_makeModelFromViewString'](_0x5b3837['diffData'][_0x18441f]['insertions']);_0x4203aa['rootName']=_0x18441f,_0x4203aa['_isAttached']=!_0xecd224||_0xecd224['isAttached'],_0x4203aa['isAttached']=()=>_0x4203aa['_isAttached'],this['_diffRoots']['set'](_0x18441f,_0x4203aa),this['_diffRootsAttributes']['set'](_0x18441f,_0x3952d5);const _0x4ad791=this['_makeIdsRoot'](_0x4203aa,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x18441f,_0x4ad791),_0x31c634['set'](_0x18441f,_0x4203aa['isAttached']()?_0x3952d5:{});for(const [_0x19454e,_0x5ef89d]of _0x4203aa['markers']){if(!_0x19454e['startsWith']('revision:'))continue;const _0x60b21d=_0x19454e['split'](':')[0x2];for(const _0x5b2aa3 of _0x5ef89d['getWalker']({'singleCharacters':!0x0})){const _0x452104=this['_getVidAttributeName'](_0x5b2aa3),_0x45cd68=this['_revisionId']++,_0x186c1c='elementEnd'==_0x5b2aa3['type']?_0x5b2aa3['previousPosition']['path']['slice'](0x0,-0x1):_0x5b2aa3['previousPosition']['path'];_0x4ad791['getNodeByPath'](_0x186c1c)['_setAttribute'](_0x452104,_0x45cd68),this['_touched']['set'](_0x45cd68,{'userId':_0x60b21d});}}for(const _0x32fc19 of this['editor']['model']['createRangeIn'](_0x4203aa)['getWalker']({'singleCharacters':!0x0})){const _0x5d0bf2=this['_getVidAttributeName'](_0x32fc19),_0x4b5a05='elementEnd'==_0x32fc19['type']?_0x32fc19['previousPosition']['path']['slice'](0x0,-0x1):_0x32fc19['previousPosition']['path'],_0x484d99=_0x4ad791['getNodeByPath'](_0x4b5a05);_0x484d99['getAttribute'](_0x5d0bf2)>0x0||_0x484d99['_setAttribute'](_0x5d0bf2,_0x136ac2[_0xe372b6++]);}for(const [_0x305889,_0x2a7789]of _0x4203aa['markers'])_0x305889['startsWith']('revision:')||this['_markers']['set'](_0x305889,_0x2a7789);}const _0x1cbfec=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x1cbfec),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1cbfec,0x1));const _0x1fc843=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1fc843),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1fc843,0x1));const _0x464ec2=Array['from'](this['_diffRoots'])['map'](([_0xe791bf,_0x35d3eb])=>[_0xe791bf,q(_0x35d3eb)]);this['_saveMetaData'](this['_lastTo'],_0x464ec2,this['_markers'],_0x31c634);}['_makeModelFromViewString'](_0x233376){const _0x5db5f4=JSON['parse'](_0x233376),_0x1b1c27=this['editor']['editing']['view']['document'],_0x3b2490=new _0x3abca1(_0x1b1c27,_0x5db5f4['map'](_0xf82266=>B(_0xf82266,this['editor'])));return this['editor']['data']['toModel'](_0x3b2490);}['_saveMetaData'](_0x1a3809,_0x3304df,_0x655a61,_0xa90848){const _0x25f1ac=new Map(_0x3304df),_0x2a94d4=new Map(_0x463027(_0xa90848)),_0x9fe8dc=new Map();for(const [_0x43c817,_0x271852]of _0x655a61)_0x9fe8dc['set'](_0x43c817,{'start':_0x271852['start']['clone'](),'end':_0x271852['end']['clone'](),'rootName':_0x271852['root']['rootName']});this['_savedMetaData']['set'](_0x1a3809,{'roots':_0x25f1ac,'markers':_0x9fe8dc,'rootsAttributes':_0x2a94d4});}['_removeMetaData'](_0x3f102f){this['_savedMetaData']['delete'](_0x3f102f);}['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'](_0xaaf3a2,_0x13901c=null){let _0x301b8d=null;_0xaaf3a2['is']('documentFragment')||(_0x301b8d=new ft(_0xaaf3a2['name'],{'vid_start':null===_0x13901c?this['_revisionId']++:_0x13901c++}));const _0x5b9699=[];for(const _0x1e98c0 of _0xaaf3a2['getChildren']())if(_0x1e98c0['is']('element')){_0x5b9699['push'](this['_makeIdsRoot'](_0x1e98c0,_0x13901c));const _0x5f09b2=_0x5b9699[_0x5b9699['length']-0x1];null!==_0x13901c&&(_0x13901c=_0x5f09b2['is']('element','$text')?_0x5f09b2['getAttribute']('vid')+0x1:_0x5f09b2['getAttribute']('vid_end')+0x1);}else{for(let _0x250b93=0x0;_0x250b93<_0x1e98c0['offsetSize'];_0x250b93++)_0x5b9699['push'](new ft('$text',{'vid':null===_0x13901c?this['_revisionId']++:_0x13901c++}));}if(_0xaaf3a2['is']('documentFragment')){const _0x35033e=G(_0xaaf3a2['rootName']);return _0x35033e['_insertChild'](0x0,_0x5b9699),_0x35033e;}return _0x301b8d['_setAttribute']('vid_end',null===_0x13901c?this['_revisionId']++:_0x13901c++),_0x301b8d['_insertChild'](0x0,_0x5b9699),_0x301b8d;}['_calculateMetaData'](_0x26f1fc,_0x3aaf2b,_0x145c2c){this['_reset']();const {roots:_0x17f9db,markers:_0x43961c,rootsAttributes:_0x2a118b}=this['_savedMetaData']['get'](_0x26f1fc);this['_baseRoots']=new Map(_0x17f9db),this['_baseRootsAttributes']=new Map(_0x463027(_0x2a118b));for(const [_0x58b3b0,_0x287c86]of this['_baseRoots'])if('$graveyard'!==_0x58b3b0&&(this['_diffRoots']['set'](_0x58b3b0,q(_0x287c86)),this['_diffRootsAttributes']=new Map(_0x463027(_0x2a118b)),_0x145c2c)){const _0x453785=this['_revisionId'];this['_idsRoots']['set'](_0x58b3b0,this['_makeIdsRoot'](_0x287c86)),this['_baseIdsRoots']['set'](_0x58b3b0,this['_makeIdsRoot'](_0x287c86,_0x453785));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x145c2c&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x139f9b,_0x3a7920]of _0x43961c){const _0xa65a2b=this['_baseRoots']['get'](_0x3a7920['rootName']),_0x5723d2=this['_diffRoots']['get'](_0x3a7920['rootName']),_0x2e13dc=new vt(this['_fixPosition'](_0x3a7920['start'],_0xa65a2b),this['_fixPosition'](_0x3a7920['end'],_0xa65a2b)),_0x417baf=this['_fixRange'](_0x2e13dc,_0x5723d2);_0xa65a2b['markers']['set'](_0x139f9b,_0x2e13dc),this['_markers']['set'](_0x139f9b,_0x417baf);}this['_applyOperations'](_0x26f1fc,_0x3aaf2b,_0x145c2c);}['_applyOperations'](_0x76ec9,_0x275e0b,_0x23ecc6){for(const _0x1cc860 of this['source']['getOperations'](_0x76ec9,_0x275e0b))this['_handleOperation'](_0x1cc860,_0x23ecc6);for(const _0x31c80c of this['_diffRoots']['values']())_0x31c80c['markers']['clear']();for(const [_0x44c107,_0x13ba8f]of this['_markers']){this['_diffRoots']['get'](_0x13ba8f['root']['rootName'])['markers']['set'](_0x44c107,_0x13ba8f['clone']());}const _0xb8f45d=new Map(),_0x5e43e9=new Map();for(const [_0x110352,_0x54c0fb]of this['_diffRoots'])_0xb8f45d['set'](_0x110352,q(_0x54c0fb)),_0x5e43e9['set'](_0x110352,this['_diffRootsAttributes']['get'](_0x110352));this['_saveMetaData'](_0x275e0b,_0xb8f45d,this['_markers'],_0x5e43e9);}['_getPreviousFrom'](_0x295deb){const _0x28651a=Array['from'](this['_savedMetaData']['keys']());_0x28651a['sort']((_0x54af55,_0x53e473)=>_0x54af55-_0x53e473),_0x28651a['reverse']();for(const _0x10d6b8 of _0x28651a)if(_0x10d6b8<_0x295deb)return _0x10d6b8;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2da217,_0x5c6932){const _0x3864ce=Array['from'](_0x5c6932['markers'])['map'](([_0xfc42fd,_0x4cfaee])=>[_0xfc42fd,this['_fixRange'](_0x4cfaee,_0x2da217)]);_0x2da217['markers']=new Map(_0x3864ce);}['_transformMarkers'](_0x56da47){for(const _0x60ed76 of this['_markers']['values']()){const _0x5ca2b2=_0x60ed76['getTransformedByOperation'](_0x56da47),_0x153f3d=vt['_createFromRanges'](_0x5ca2b2);_0x60ed76['start']=_0x153f3d['start'],_0x60ed76['end']=_0x153f3d['end'];}}['_handleOperation'](_0x5d0de0,_0x4de9c4){if('addRoot'==_0x5d0de0['type']||'detachRoot'==_0x5d0de0['type'])return void this['_handleRootOperation'](_0x5d0de0,_0x4de9c4);if('insert'==_0x5d0de0['type']){const _0x3b78d1=_0x5d0de0['position']['root']['rootName'];this['_diffRoots']['has'](_0x3b78d1)||(this['_diffRoots']['set'](_0x3b78d1,G(_0x3b78d1,!0x0)),this['_diffRootsAttributes']['set'](_0x3b78d1,{}),_0x4de9c4&&this['_idsRoots']['set'](_0x3b78d1,G(_0x3b78d1,!0x0)));}else{if('addRootAttribute'==_0x5d0de0['type']||'removeRootAttribute'==_0x5d0de0['type']||'changeRootAttribute'==_0x5d0de0['type'])return void this['_handleRootAttributeOperation'](_0x5d0de0);}const _0x13e6af=this['_cloneOperation'](_0x5d0de0,this['_diffRoots']);if('marker'!==_0x5d0de0['type']&&(_0x13e6af['_execute'](),this['_transformMarkers'](_0x13e6af)),_0x4de9c4)switch(_0x13e6af['type']){case'insert':this['_handleInsertOperation'](_0x5d0de0);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x5d0de0);break;case'merge':this['_handleMergeOperation'](_0x5d0de0);break;case'split':this['_handleSplitOperation'](_0x5d0de0);break;case'marker':this['_handleMarkerOperation'](_0x5d0de0);}}['_cloneOperation'](_0xc099bc,_0x254fc0){const _0x3fd42=_0xc099bc['clone']();return _0x3fd42['_authorId']=_0xc099bc['_authorId'],this['_fixOperation'](_0x3fd42,_0x254fc0),_0x3fd42;}['_getBaseVids'](_0x4b579a){return _0x4b579a['map'](_0x34b199=>{const _0x2c032e=this['_getVidAttributeName'](_0x34b199);return Number(_0x34b199['item']['getAttribute'](_0x2c032e));});}['_generateTape'](_0x44a8fa,_0x490457){if(_0x44a8fa['is']('element','$text'))_0x490457['push']({'item':_0x44a8fa,'type':'text'});else{_0x44a8fa['is']('element')&&_0x490457['push']({'item':_0x44a8fa,'type':'elementStart'});for(const _0x5c0c54 of _0x44a8fa['getChildren']())this['_generateTape'](_0x5c0c54,_0x490457);_0x44a8fa['is']('element')&&_0x490457['push']({'item':_0x44a8fa,'type':'elementEnd'});}return _0x490457;}['_getState'](){const _0x370e08=new Map(this['_touched']),_0x59867b=new Map(_0x370e08),_0x12f40e=new Map(),_0xf9c479={'insertions':{},'deletions':{}},_0x541153={'insertions':{},'deletions':{}},_0x12ec03=new Map(),_0x5cb601=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5cb601['delete']('$graveyard');for(const _0x2e19f6 of _0x5cb601){const _0x1ee334=this['_diffRoots']['get'](_0x2e19f6)||G(_0x2e19f6,!0x1),_0x5a2f0e=this['_baseRoots']['get'](_0x2e19f6)||G(_0x2e19f6,!0x1);_0x1ee334['isAttached']()||_0x5a2f0e['isAttached']()?(_0xf9c479['insertions'][_0x2e19f6]=q(_0x1ee334),_0xf9c479['deletions'][_0x2e19f6]=q(_0x5a2f0e),this['_copyMarkers'](_0xf9c479['deletions'][_0x2e19f6],_0x5a2f0e),this['_copyMarkers'](_0xf9c479['insertions'][_0x2e19f6],_0x1ee334),_0x541153['insertions'][_0x2e19f6]=this['_generateTape'](this['_idsRoots']['get'](_0x2e19f6),[]),_0x541153['deletions'][_0x2e19f6]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2e19f6)||G(_0x2e19f6,!0x1),[])):_0x5cb601['delete'](_0x2e19f6);}for(const _0x2f3083 of _0x5cb601){const _0x465251=_0x541153['insertions'][_0x2f3083];for(const _0x399fa0 of _0x465251){const _0x2d0801=this['_getVidAttributeName'](_0x399fa0),_0x4af17c=_0x399fa0['item']['getAttribute'](_0x2d0801);_0x59867b['delete'](_0x4af17c),_0x4af17c>=this['_startingRevisionId']&&_0x12f40e['set'](_0x4af17c,_0x370e08['get'](_0x4af17c));}}for(const _0x8cd224 of _0x5cb601){const _0x5f4232=_0x541153['insertions'][_0x8cd224],_0x4fea29=this['_getBaseVids'](_0x541153['deletions'][_0x8cd224]);let _0x4f0ea7=0x0;for(const _0x2531eb of _0x5f4232){const _0x115060=this['_getVidAttributeName'](_0x2531eb),_0x285731=_0x2531eb['item']['getAttribute'](_0x115060);if(!_0x12f40e['has'](_0x285731)&&!_0x12ec03['has'](_0x285731)){if(_0x59867b['has'](_0x285731))_0x4f0ea7++;else{if(_0x285731!=_0x4fea29[_0x4f0ea7]){const _0x433570=_0x370e08['get'](_0x285731)||_0x370e08['get'](_0x4fea29[_0x4f0ea7]);for(;_0x285731!=_0x4fea29[_0x4f0ea7];)_0x59867b['has'](_0x4fea29[_0x4f0ea7])||(_0x12ec03['set'](_0x4fea29[_0x4f0ea7],_0x433570),_0x370e08['set'](_0x4fea29[_0x4f0ea7],_0x433570)),_0x4f0ea7++;}_0x4f0ea7++;}}}}for(const _0x42293f of _0x5cb601){const _0x9bc04a=_0x541153['insertions'][_0x42293f];for(const _0x385544 of _0x9bc04a){const _0x500eba=this['_getVidAttributeName'](_0x385544),_0x12773a=_0x385544['item']['getAttribute'](_0x500eba);if(_0x12ec03['has'](_0x12773a)){const _0x455a6e=_0x12ec03['get'](_0x12773a);_0x59867b['has'](_0x12773a)||_0x59867b['set'](_0x12773a,{..._0x455a6e}),_0x12f40e['set'](_0x12773a,{..._0x455a6e});}}}for(const _0x5ba461 of _0x59867b['keys']())_0x5ba461>=this['_startingRevisionId']&&_0x59867b['delete'](_0x5ba461);const _0x5ad2f0=new Map();for(const _0x99073 of _0x5cb601){let _0x441e22=_0x541153['insertions'][_0x99073];for(const _0x422d40 of _0x441e22)if(_0x422d40['item']['is']('element','tableCell')){const _0x98a9db=this['_getVidAttributeName'](_0x422d40),_0x163c6c=_0x422d40['item']['getAttribute'](_0x98a9db);if(_0x12f40e['has'](_0x163c6c)){const _0x2ce601=_0x422d40['item']['parent']['parent']['getAttribute']('vid_start'),_0x4afa0e=_0x5ad2f0['get'](_0x2ce601)||new Set();_0x4afa0e['add'](_0x12f40e['get'](_0x163c6c)['userId']),_0x5ad2f0['set'](_0x2ce601,_0x4afa0e);}}_0x441e22=_0x541153['deletions'][_0x99073];for(const _0xee29ce of _0x441e22)if(_0xee29ce['item']['is']('element','tableCell')){const _0x584ae6=this['_getVidAttributeName'](_0xee29ce),_0x4c34cd=_0xee29ce['item']['getAttribute'](_0x584ae6);if(_0x59867b['has'](_0x4c34cd)){const _0x21c597=_0xee29ce['item']['parent']['parent']['getAttribute']('vid_start'),_0x20d381=_0x5ad2f0['get'](_0x21c597)||new Set();_0x20d381['add'](_0x59867b['get'](_0x4c34cd)['userId']),_0x5ad2f0['set'](_0x21c597,_0x20d381);}}for(const _0x3293bc of _0x5ad2f0['keys']())(_0x12f40e['has'](_0x3293bc)||_0x59867b['has'](_0x3293bc))&&_0x5ad2f0['delete'](_0x3293bc);}for(const _0x3791f5 of _0x5cb601){const _0xb3552a=_0x541153['insertions'][_0x3791f5];let _0x7846f5=null,_0x366995=null;for(const _0x3a6535 of _0xb3552a){const _0x5784d2=this['_getVidAttributeName'](_0x3a6535),_0x3bd3fa=_0x3a6535['item']['getAttribute'](_0x5784d2),_0x283483=_0x5ad2f0['get'](_0x3bd3fa);_0x283483&&'elementStart'==_0x3a6535['type']&&(_0x7846f5=Array['from'](_0x283483)[0x0],_0x366995=_0x3a6535['item']['getAttribute']('vid_end')),_0x7846f5&&(_0x59867b['set'](_0x3bd3fa,{'userId':_0x7846f5}),_0x12f40e['set'](_0x3bd3fa,{'userId':_0x7846f5})),_0x3bd3fa==_0x366995&&(_0x7846f5=null,_0x366995=null);}}const _0x1c1910={},_0xcc05c5=new Set();for(const _0x1bebe2 of _0x5cb601){const _0x5bdcb0=_0xf9c479['deletions'][_0x1bebe2],_0x5f81f5=_0xf9c479['insertions'][_0x1bebe2];for(const {userId:_0x44d05c}of this['_touchedMarkers']['values']())null!==_0x44d05c&&_0xcc05c5['add'](_0x44d05c);for(const {userId:_0xde8ae5}of this['_touchedRoots']['values']())null!==_0xde8ae5&&_0xcc05c5['add'](_0xde8ae5);this['_markChanges'](_0x5f81f5,_0x541153['insertions'][_0x1bebe2],_0x12f40e,'insertion',_0xcc05c5),this['_markChanges'](_0x5bdcb0,_0x541153['deletions'][_0x1bebe2],_0x59867b,'deletion',_0xcc05c5),_0x1c1910[_0x1bebe2]={'insertions':this['_prepareViewToSave'](_0x5f81f5),'deletions':this['_prepareViewToSave'](_0x5bdcb0),'attachChange':this['_touchedRoots']['get'](_0x1bebe2)||null,'attributesBefore':_0x463027(this['_baseRootsAttributes']['get'](_0x1bebe2))||{},'attributesAfter':_0x463027(this['_diffRootsAttributes']['get'](_0x1bebe2))};}return{'diffData':_0x1c1910,'authorsIds':Array['from'](_0xcc05c5)};}['_processRootBeforeSave'](_0x166ee8){for(const [,_0x4e10cb]of _0x166ee8['markers']){const _0x3e0136=_0x4e10cb['start']['getAncestors']()['filter'](_0x586405=>'tableCell'==_0x586405['name']);for(const _0x3264a9 of _0x3e0136)0x1==_0x3264a9['childCount']&&_0x3264a9['getChild'](0x0)['is']('element','paragraph')&&_0x3264a9['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3f4a12){this['_processRootBeforeSave'](_0x3f4a12);const _0x567005=this['editor']['data']['toView'](_0x3f4a12,{}),_0x22d447=Array['from'](_0x567005['getChildren']())['map'](_0x5a1032=>this['_getViewJson'](_0x5a1032));return JSON['stringify'](_0x22d447);}['_getViewJson'](_0x2d8320){if(_0x2d8320['is']('$text'))return _0x2d8320['data'];{const _0x3a1db8=_0x2d8320;return{'type':Object['keys'](T)['find'](_0x461080=>_0x2d8320 instanceof T[_0x461080]),'name':_0x3a1db8['name'],'attributes':Array['from'](_0x3a1db8['getAttributes']()),'children':Array['from'](_0x3a1db8['getChildren']())['map'](_0x1fde47=>this['_getViewJson'](_0x1fde47))};}}['_markChanges'](_0x493f4f,_0x1a7286,_0x13d0cb,_0x3fc743,_0x33b2c6){let _0x57361c=null,_0x348efa=null,_0x11e833=0x0;const _0x4dcdea=this['editor']['model'];for(let _0x23dca2=0x0;_0x23dca2<_0x1a7286['length'];_0x23dca2++){const _0x1ead3f=this['_getVidAttributeName'](_0x1a7286[_0x23dca2]),_0x2132df=_0x1a7286[_0x23dca2]['item']['getAttribute'](_0x1ead3f),_0x4cb8d3=_0x13d0cb['get'](_0x2132df),_0x48c05d=_0x23dca2==_0x1a7286['length']-0x1;(!_0x57361c&&_0x4cb8d3&&(_0x57361c=_0x4cb8d3,_0x348efa=_0x1a7286[_0x23dca2]),_0x57361c&&(!_0x4cb8d3||_0x4cb8d3['userId']!=_0x57361c['userId']))&&(_0x171415(_0x4cb8d3,L(_0x348efa,_0x493f4f,_0x4dcdea),L(_0x1a7286[_0x23dca2],_0x493f4f,_0x4dcdea)),_0x57361c=_0x4cb8d3||null,_0x348efa=_0x4cb8d3?_0x1a7286[_0x23dca2]:null),_0x57361c&&_0x48c05d&&_0x171415(_0x4cb8d3,L(_0x348efa,_0x493f4f,_0x4dcdea),W(_0x1a7286[_0x23dca2],_0x493f4f,_0x4dcdea));}function _0x171415(_0x1f7321,_0xcc2cef,_0xc8274f){const _0x405de7=_0x57361c['userId'],_0x22456a='revision:'+_0x3fc743+':'+_0x405de7+':'+_0x11e833++,_0x272ec8=_0x4dcdea['createRange'](_0xcc2cef,_0xc8274f);_0x493f4f['markers']['set'](_0x22456a,_0x272ec8),null!==_0x405de7&&_0x33b2c6['add'](_0x405de7);}}['_getVidAttributeName'](_0x22561e){switch(_0x22561e['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x51c40d,_0x2f32ca){_0x51c40d['baseVersion']=null;for(const _0x402dda in _0x51c40d){const _0x5abf5b=_0x51c40d[_0x402dda];if(_0x5abf5b instanceof gt){const _0x4d6725=_0x2f32ca['get'](_0x5abf5b['root']['rootName']);_0x51c40d[_0x402dda]=this['_fixPosition'](_0x5abf5b,_0x4d6725);}if(_0x5abf5b instanceof vt){const _0x153d38=_0x2f32ca['get'](_0x5abf5b['root']['rootName']);_0x51c40d[_0x402dda]=this['_fixRange'](_0x5abf5b,_0x153d38);}'root'===_0x402dda&&(_0x51c40d['root']=_0x2f32ca['get'](_0x51c40d['root']['rootName']));}}['_fixRange'](_0x38dd1b,_0x1d0879){return this['editor']['model']['createRange'](this['_fixPosition'](_0x38dd1b['start'],_0x1d0879),this['_fixPosition'](_0x38dd1b['end'],_0x1d0879));}['_fixPosition'](_0x311793,_0x147160){return this['editor']['model']['createPositionFromPath'](_0x147160,_0x311793['path'],_0x311793['stickiness']);}['_handleInsertOperation'](_0x817136){const _0x3b84bf=this['_idsRoots']['get'](_0x817136['position']['root']['rootName']),_0x2eccd8=this['_fixPosition'](_0x817136['position'],_0x3b84bf),_0x8a8c67=null===_0x817136['_authorId']?null:_0x817136['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x40fd39=_0x2eccd8['parent'],_0x3a83ee=this['_revisionId'],_0x16d6ec=[];for(const _0x33db6b of _0x817136['nodes'])if(_0x33db6b['is']('element'))_0x16d6ec['push'](this['_makeIdsRoot'](_0x33db6b));else{for(let _0x371478=0x0;_0x371478<_0x33db6b['offsetSize'];_0x371478++)_0x16d6ec['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x21ef46=this['_revisionId'];for(let _0xc4963b=_0x3a83ee;_0xc4963b<_0x21ef46;_0xc4963b++)this['_touched']['set'](_0xc4963b,{'userId':_0x8a8c67});_0x40fd39['_insertChild'](_0x2eccd8['offset'],_0x16d6ec);}['_handleMoveOperation'](_0x470852){(_0x470852=this['_cloneOperation'](_0x470852,this['_idsRoots']))['_execute']();const _0x436bbc=null===_0x470852['_authorId']?null:_0x470852['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x288fb3=_0x470852['getMovedRangeStart'](),_0x227714=_0x288fb3['parent'],_0x9fe5f=_0x288fb3['offset'];!function _0x25907(_0x347276,_0x3339fb,_0x2323d4,_0x2d87f9){for(let _0x563625=_0x2323d4;_0x563625<_0x2d87f9;_0x563625++){const _0x5b3729=_0x3339fb['getChild'](_0x563625);_0x5b3729['is']('element','$text')?_0x347276['set'](_0x5b3729['getAttribute']('vid'),{'userId':_0x436bbc}):(_0x347276['set'](_0x5b3729['getAttribute']('vid_start'),{'userId':_0x436bbc}),_0x25907(_0x347276,_0x5b3729,0x0,_0x5b3729['childCount']),_0x347276['set'](_0x5b3729['getAttribute']('vid_end'),{'userId':_0x436bbc}));}}(this['_touched'],_0x227714,_0x9fe5f,_0x9fe5f+_0x470852['howMany']);}['_handleMergeOperation'](_0xc038d1){const _0x8fd9d9=null===(_0xc038d1=this['_cloneOperation'](_0xc038d1,this['_idsRoots']))['_authorId']?null:_0xc038d1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5802ba=_0xc038d1['targetPosition']['parent'],_0x5e79fd=_0xc038d1['sourcePosition']['parent'],_0x413fdc=_0x5802ba['getAttribute']('vid_end'),_0x15b61f=_0x5e79fd['getAttribute']('vid_start');_0x5802ba['_setAttribute']('vid_end',_0x5e79fd['getAttribute']('vid_end')),_0x5e79fd['_setAttribute']('vid_end',_0x413fdc),this['_touched']['set'](_0x15b61f,{'userId':_0x8fd9d9}),this['_touched']['set'](_0x413fdc,{'userId':_0x8fd9d9}),_0xc038d1['_execute']();}['_handleSplitOperation'](_0x44ede2){const _0x3846cd=null===(_0x44ede2=this['_cloneOperation'](_0x44ede2,this['_idsRoots']))['_authorId']?null:_0x44ede2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x183d7b=_0x44ede2['graveyardPosition'],_0x45e7c7=_0x44ede2['splitPosition']['parent'];_0x44ede2['_execute']();const _0x161c89=_0x45e7c7['getAttribute']('vid_end'),_0x19f0b9=_0x44ede2['insertionPosition']['nodeAfter'];if(_0x183d7b){const _0xd8c34e=_0x19f0b9['getAttribute']('vid_end'),_0x339483=_0x45e7c7['getAttribute']('vid_end');_0x45e7c7['_setAttribute']('vid_end',_0xd8c34e),_0x19f0b9['_setAttribute']('vid_end',_0x339483),this['_touched']['set'](_0x45e7c7['getAttribute']('vid_end'),{'userId':_0x3846cd}),this['_touched']['set'](_0x19f0b9['getAttribute']('vid_start'),{'userId':_0x3846cd});}else{const _0x2c65fb=this['_revisionId']++,_0x3085db=this['_revisionId']++;_0x45e7c7['_setAttribute']('vid_end',_0x2c65fb),_0x19f0b9['_setAttribute']('vid_start',_0x3085db),_0x19f0b9['_setAttribute']('vid_end',_0x161c89),this['_touched']['set'](_0x2c65fb,{'userId':_0x3846cd}),this['_touched']['set'](_0x3085db,{'userId':_0x3846cd});}}['_handleMarkerOperation'](_0x32fcd1){if(!_0x32fcd1['affectsData'])return;const _0x1f2f9e=(_0x32fcd1=this['_cloneOperation'](_0x32fcd1,this['_diffRoots']))['oldRange']?_0x32fcd1['oldRange']['root']:null,_0xddc288=_0x32fcd1['newRange']?_0x32fcd1['newRange']['root']:null;_0x1f2f9e&&this['_markers']['delete'](_0x32fcd1['name']),_0xddc288&&this['_markers']['set'](_0x32fcd1['name'],_0x32fcd1['newRange']['clone']());const _0x289508=null===_0x32fcd1['_authorId']?null:_0x32fcd1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x226d03=_0x32fcd1['name'];if(!this['_touchedMarkers']['has'](_0x226d03))return void this['_touchedMarkers']['set'](_0x226d03,{'range':_0x32fcd1['oldRange'],'userId':_0x289508});const _0x406ebd=this['_touchedMarkers']['get'](_0x226d03),_0x2b6428=_0x406ebd['range'],_0x485911=_0x32fcd1['newRange'];null==_0x2b6428&&null==_0x485911||_0x2b6428&&_0x485911&&_0x2b6428['isEqual'](_0x485911)?this['_touchedMarkers']['delete'](_0x32fcd1['name']):_0x406ebd['userId']=_0x289508;}['_handleRootOperation'](_0x43f9b8,_0x37d9a0){this['_diffRoots']['has'](_0x43f9b8['rootName'])?this['_diffRoots']['get'](_0x43f9b8['rootName'])['_isAttached']=_0x43f9b8['isAdd']:(this['_diffRoots']['set'](_0x43f9b8['rootName'],G(_0x43f9b8['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x43f9b8['rootName'],{}),_0x37d9a0&&this['_idsRoots']['set'](_0x43f9b8['rootName'],G(_0x43f9b8['rootName'],!0x0)));const _0x5f2208=null===_0x43f9b8['_authorId']?null:_0x43f9b8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2c3af0=this['_touchedRoots']['get'](_0x43f9b8['rootName']);_0x2c3af0&&_0x2c3af0['userId']===_0x5f2208?this['_touchedRoots']['delete'](_0x43f9b8['rootName']):this['_touchedRoots']['set'](_0x43f9b8['rootName'],{'userId':_0x5f2208,'isAttached':_0x43f9b8['isAdd']});}['_handleRootAttributeOperation'](_0xae18fb){const _0xb6296b=this['_diffRootsAttributes']['get'](_0xae18fb['root']['rootName']);null===_0xae18fb['newValue']?delete _0xb6296b[_0xae18fb['key']]:_0xb6296b[_0xae18fb['key']]=_0xae18fb['newValue'];}}function q(_0x37c659){const _0x4cdcd6=G(_0x37c659['rootName'],_0x37c659['isAttached']());for(const _0x5885ab of _0x37c659['getChildren']()){const _0x18392a=_0x5885ab['_clone'](!0x0);_0x4cdcd6['_appendChild'](_0x18392a);}return _0x4cdcd6;}function G(_0x5c3887,_0x2048ea=!0x0){const _0x1d6b12=new wt();return _0x1d6b12['rootName']=_0x5c3887,_0x1d6b12['_isAttached']=_0x2048ea,_0x1d6b12['isAttached']=()=>_0x1d6b12['_isAttached'],_0x1d6b12;}function L(_0x2eca05,_0x143cb2,_0x3dfdc1){const _0x582a1f='elementEnd'==_0x2eca05['type']?_0x3dfdc1['createPositionAt'](_0x2eca05['item'],'end'):_0x3dfdc1['createPositionBefore'](_0x2eca05['item']);return _0x3dfdc1['createPositionFromPath'](_0x143cb2,_0x582a1f['path'],_0x582a1f['stickiness']);}function W(_0x232def,_0x3d5af7,_0x554c0d){const _0x44c0f6='elementStart'==_0x232def['type']?_0x554c0d['createPositionAt'](_0x232def['item'],0x0):_0x554c0d['createPositionAfter'](_0x232def['item']);return _0x554c0d['createPositionFromPath'](_0x3d5af7,_0x44c0f6['path'],_0x44c0f6['stickiness']);}class ns extends _0x3165d1{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4116e0,_0x274660){super(_0x4116e0),this['focusTracker']=new _0xa25151(),this['keystrokes']=new _0xfe6e2d(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x274660),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'](),_0x2360be({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5cb4b3=_0x495a0f=>_0x495a0f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5cb4b3),this['keystrokes']['set']('arrowleft',_0x5cb4b3),this['keystrokes']['set']('arrowup',_0x5cb4b3),this['keystrokes']['set']('arrowdown',_0x5cb4b3);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5633b1){this['revisionNameInputView']['fieldView']['element']['value']=_0x5633b1['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xa7906f){const _0x4f43ae=new at(this['locale'],_0xfbddd4),_0xd81a1a=_0x4f43ae['fieldView'];_0xd81a1a['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4b7b23=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xa7906f&&(_0x4b7b23+='\x20('+y(this['locale'],'optional')+')'),(_0x4f43ae['label']=_0x4b7b23,_0xd81a1a['on']('input',()=>{this['revisionNameInputValue']=_0xd81a1a['element']['value']['trim']();}),_0x4f43ae);}}class u extends _0x1a2be0{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5c7a0e=this['editor'],_0x540519=_0x5c7a0e['plugins']['get']('RevisionTracker');_0x5c7a0e['ui']['componentFactory']['add']('revisionHistory',_0x8d4dc2=>{const _0x1c9ac9=_0x10fd7b(_0x8d4dc2),_0x595eef=_0x1c9ac9['panelView']['children'],_0x36c68f=new te(_0x8d4dc2),_0x372a17=new _0x2497df(_0x8d4dc2),_0x147b48=new _0x53da7b(_0x8d4dc2),_0x5d4dc0=new _0x2497df(_0x8d4dc2),_0x12453c=new _0x53da7b(_0x8d4dc2);return _0x1c9ac9['bind']('isEnabled')['to'](_0x540519,'isReady',_0x540519,'isEnabled',_0x5c7a0e,'isReadOnly',(_0x1911da,_0x255fcc,_0x5971cb)=>_0x1911da&&_0x255fcc&&!_0x5971cb),_0x1c9ac9['buttonView']['set']({'icon':_0x8785f0['history'],'label':y(_0x8d4dc2,'Revision\x20history'),'tooltip':!0x0}),_0x147b48['set']({'label':y(_0x8d4dc2,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x147b48['bind']('isEnabled')['to'](_0x540519,'isReady',_0x540519,'isEnabled',_0x5c7a0e,'isReadOnly',(_0xe98d74,_0x1277ce,_0x233a81)=>_0xe98d74&&_0x1277ce&&!_0x233a81),_0x147b48['on']('execute',()=>this['_showDialog']()),_0x12453c['set']({'label':y(_0x8d4dc2,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x12453c['bind']('isEnabled')['to'](_0x540519,'isReady',_0x5c7a0e,'isReadOnly',(_0x20475e,_0x2c5ca2)=>_0x20475e&&!_0x2c5ca2),_0x12453c['on']('execute',()=>{_0x5c7a0e['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1c9ac9['isOpen']=!0x1,_0x5c7a0e['editing']['view']['focus']();}),_0x372a17['children']['add'](_0x147b48),_0x5d4dc0['children']['add'](_0x12453c),_0x36c68f['role']='menu',_0x36c68f['items']['addMany']([_0x372a17,_0x5d4dc0]),_0x595eef['add'](_0x36c68f),_0x1c9ac9;}),_0x5c7a0e['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xdea735=this['editor'],_0x385d56=_0xdea735['locale'],_0x5b6890=new _0x151158(_0x385d56),_0x172bd4=new _0x3dbca6(_0x385d56);_0x5b6890['buttonView']['set']({'icon':_0x8785f0['history'],'label':y(_0x385d56,'Revision\x20history')});const _0x1f5639=new _0xe2483b(_0x385d56,_0x5b6890),_0x49691e=new _0x5cfe9f(_0x385d56);_0x49691e['set']({'label':y(_0x385d56,'Save\x20current\x20revision')}),_0x49691e['delegate']('execute')['to'](_0x5b6890),_0x49691e['on']('execute',()=>{this['_showDialog']();}),_0x1f5639['children']['add'](_0x49691e),_0x172bd4['items']['add'](_0x1f5639);const _0x69a128=new _0xe2483b(_0x385d56,_0x5b6890),_0x578a6c=new _0x5cfe9f(_0x385d56);return _0x578a6c['set']({'label':y(_0x385d56,'Open\x20revision\x20history')}),_0x578a6c['delegate']('execute')['to'](_0x5b6890),_0x578a6c['on']('execute',()=>{_0xdea735['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x69a128['children']['add'](_0x578a6c),_0x172bd4['items']['add'](_0x69a128),_0x5b6890['panelView']['children']['add'](_0x172bd4),_0x5b6890;}['_showDialog'](){const _0x477cf8=this['editor'],_0x5bcfca=_0x477cf8['locale'],t=_0x5bcfca['t'],_0x268f00=_0x477cf8['plugins']['get']('Dialog'),_0x4df940=_0x477cf8['plugins']['get']('RevisionTracker');function _0x4fae50(_0x447863){_0x477cf8['config']['get']('revisionHistory.requireRevisionName')&&''===_0x447863['revisionName']?_0x447863['revisionNameInputView']['errorText']=y(_0x5bcfca,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x477cf8['plugins']['get'](l)['saveRevision']({'name':_0x447863['revisionName']}),_0x268f00['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4fae50(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x268f00['show']({'id':'revisionSave','title':y(_0x5bcfca,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x268f00['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x533967){_0x533967['bind']('isEnabled')['to'](_0x4df940,'isReady',_0x4df940,'isEnabled',_0x477cf8,'isReadOnly',(_0x4790a8,_0x2c3d2c,_0xc71905)=>_0x4790a8&&_0x2c3d2c&&!_0xc71905);},'onExecute':()=>_0x4fae50(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x501004=this['editor'],_0x7516fe=_0x501004['locale'];this['_saveRevisionFormView']=new ns(_0x7516fe,_0x501004['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x3165d1{['changeId'];['_model'];constructor(_0x535ab5,_0x2e27e6){super(_0x535ab5),this['_model']=_0x2e27e6,this['changeId']=_0x2e27e6['id'];const _0x15707b=this['bindTemplate'],_0x4c8d4d=y(_0x535ab5,_0x2e27e6['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2e27e6['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2e27e6['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x15707b['to']('type',_0x1d1f70=>'ck-revision-change__'+_0x1d1f70)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x4c8d4d}]},{'text':'\x20'+_0x2e27e6['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x13b2ce(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4a27eb){super(),this['id']=_0x4a27eb['id']||_0x4693f2(),this['author']=_0x4a27eb['author'],this['type']=_0x4a27eb['type'],this['data']=_0x4a27eb['data']||{},this['rootName']=_0x4a27eb['rootName'],this['set']('createdAt',_0x4a27eb['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(_0x429b85,_0x1c2c97){this['newRevisionId']=_0x429b85,this['oldRevisionId']=_0x1c2c97,this['changes']=new _0x4fae73();}['_setChanges'](_0x55eac9){for(const _0x3a6d32 of _0x55eac9)this['changes']['add'](_0x3a6d32);}}const tt={'c':_0x5626b6,'a':_0x4b1cea,'e':_0x578701,'r':_0x427790,'u':_0x364ff0};class d extends _0x1a2be0{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x1945a4,_0x305120,A];}constructor(_0x267528){super(_0x267528),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',(_0x124a58,_0x5e4e5c,_0x41c5ad)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x50daf6=>{for(const _0x5bf1b8 of this['editor']['editing']['view']['document']['roots'])_0x41c5ad?_0x50daf6['removeClass']('ck-editor__editable__overlay',_0x5bf1b8):_0x50daf6['addClass']('ck-editor__editable__overlay',_0x5bf1b8);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3fc004=>null!==_0x3fc004),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x47b33c,_0x277e57,_0x59f8c7)=>_0x47b33c&&_0x59f8c7?_0x277e57['changes']['getIndex'](_0x59f8c7):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x487f5c,_0x76b396)=>_0x487f5c?_0x76b396['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x305120);}['init'](){const _0x231a8f=this['editor'],_0x24714a=new yt(_0x231a8f,{'direction':'backward'}),_0x10e442=new yt(_0x231a8f,{'direction':'forward'});(_0x231a8f['commands']['add']('showPreviousChange',_0x24714a),_0x231a8f['commands']['add']('showNextChange',_0x10e442),_0x231a8f['commands']['add']('restoreRevision',new bt(_0x231a8f)),this['on']('change:numberOfChanges',()=>{_0x24714a['refresh'](),_0x10e442['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x231a8f['enableReadOnlyMode']('revision-viewer'),_0x231a8f['plugins']['has']('WidgetToolbarRepository'))&&_0x231a8f['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3f0bcd){await this['loadRevisionData'](_0x3f0bcd);const _0x515196={};for(const _0x5ddf14 in _0x3f0bcd['diffData']){if(_0x3f0bcd['diffData'][_0x5ddf14]['attachChange']&&!_0x3f0bcd['diffData'][_0x5ddf14]['attachChange']['isAttached'])continue;const _0x524f7f=this['_removeRevisionMarkers'](JSON['parse'](_0x3f0bcd['diffData'][_0x5ddf14]['insertions'])),_0x852742=this['editor']['editing']['view']['document'],_0x1c0ac9=new _0x3abca1(_0x852742,_0x524f7f['map'](_0x10dcca=>this['_getViewObj'](_0x10dcca)));this['editor']['data']['processor']['useFillerType']('marked'),_0x515196[_0x5ddf14]=this['editor']['data']['processor']['toData'](_0x1c0ac9),this['editor']['data']['processor']['useFillerType']('default');}return _0x515196;}async['getRevisionRootsAttributes'](_0x248b30){await this['loadRevisionData'](_0x248b30);const _0x335750={};for(const _0x3aa05f in _0x248b30['diffData'])_0x248b30['diffData'][_0x3aa05f]['attachChange']&&!_0x248b30['diffData'][_0x3aa05f]['attachChange']['isAttached']||(_0x335750[_0x3aa05f]=_0x248b30['diffData'][_0x3aa05f]['attributesAfter']||{});return _0x335750;}['_removeRevisionMarkers'](_0x303abe){return(_0x303abe=_0x303abe['filter'](_0x4d0ecb=>!_0x4d0ecb['name']||'revision-start'!==_0x4d0ecb['name']&&'revision-end'!==_0x4d0ecb['name']))['forEach'](_0x2326c4=>{'string'!=typeof _0x2326c4&&(_0x2326c4['children']=this['_removeRevisionMarkers'](_0x2326c4['children']),_0x2326c4['attributes']=_0x2326c4['attributes']['filter'](_0x4646a2=>!_0x4646a2[0x0]['startsWith']('data-revision-')));}),_0x303abe;}async['compare'](_0x4dbe22,_0x23d85b,_0x7e095b=!0x1){if(!this['isEnabled'])return;const _0x9ab283=this['diff'],_0x101995=this['repository'],_0x10c628='string'==typeof _0x4dbe22?_0x101995['getRevision'](_0x4dbe22):_0x4dbe22,_0x5b7ffe='string'==typeof _0x23d85b?_0x101995['getRevision'](_0x23d85b):_0x23d85b,_0x4fbff0=_0x10c628['id'],_0x209905=_0x5b7ffe?_0x5b7ffe['id']:null;if(!_0x7e095b&&this['diff']&&this['diff']['newRevisionId']===_0x4fbff0&&this['diff']['oldRevisionId']===_0x209905)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4fbff0,_0x209905);const _0x5971b3=this['_getRevisionsRange'](_0x10c628,_0x5b7ffe,!0x0)['map'](_0x11c247=>this['loadRevisionData'](_0x11c247));return _0x5971b3['push'](new Promise(_0x4b7221=>{setTimeout(_0x4b7221,0x14);})),Promise['all'](_0x5971b3)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4b9486=this['_getDiff'](_0x4fbff0,_0x209905);for(const _0x3c7eb2 of _0x4b9486['changes'])this['_changeIdToChange']['set'](_0x3c7eb2['id'],_0x3c7eb2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1d5fa1=>{for(const _0x374f5e of this['editor']['model']['document']['getRootNames']())_0x1d5fa1['detachRoot'](_0x374f5e);for(const _0x1b3ef3 of Object['keys'](_0x4b9486['model'])){const _0x4b6ae0=_0x1d5fa1['addRoot'](_0x1b3ef3);for(const _0x3d4679 of Object['keys'](_0x4b9486['attributes'][_0x1b3ef3]))_0x1d5fa1['setAttribute'](_0x3d4679,_0x4b9486['attributes'][_0x1b3ef3][_0x3d4679],_0x4b6ae0);_0x1d5fa1['insert'](_0x4b9486['model'][_0x1b3ef3],_0x4b6ae0,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4b9486['changes'])),this['isReady']=!0x0;})['catch'](_0x566760=>{console['error'](_0x566760),this['_cleanUp'](),_0x9ab283&&(this['diff']=_0x9ab283),this['isReady']=!0x0;});}['addRevisionData'](_0x5eac2c,_0x25a6f5){const _0x3e23a3=this['repository']['createRevision'](_0x5eac2c);return _0x3e23a3['on']('_update',(_0x4759cc,_0x1b4b47,_0x2aea40)=>_0x25a6f5(_0x1b4b47,_0x2aea40,_0x3e23a3)),this['repository']['addRevision'](_0x3e23a3),_0x3e23a3;}['loadRevisionData'](_0x39f319){if(!_0x39f319||_0x39f319['diffData'])return Promise['resolve']();{const _0x1baaca=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1baaca,'revisionId':_0x39f319['id']})['then'](_0x26dce4=>{_0x39f319['_update']({'diffData':_0x26dce4['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},_0x2d7248=>{for(const _0x5f0e31 of this['editor']['model']['document']['getRootNames']())_0x2d7248['detachRoot'](_0x5f0e31);});}['_sortAndFilterDiffChanges'](_0x90664f){const _0x41f2d7=[],_0x14102b=new Map();for(const _0x4bb326 of this['editor']['model']['document']['getRootNames']()){const _0x86d633=this['editor']['editing']['view']['getDomRoot'](_0x4bb326);if(!_0x86d633)continue;const _0x2d0724=_0x86d633['getClientRects']()['item'](0x0);_0x2d0724&&(_0x41f2d7['push'](_0x4bb326),_0x14102b['set'](_0x4bb326,_0x2d0724));}return _0x41f2d7['sort']((_0x325ffd,_0x857b9d)=>{const _0x5c4a30=_0x14102b['get'](_0x325ffd),_0x5e8db3=_0x14102b['get'](_0x857b9d);return _0x5c4a30['y']-_0x5e8db3['y']||_0x5c4a30['x']-_0x5e8db3['x'];}),(_0x90664f=_0x90664f['filter'](_0x2385bf=>_0x41f2d7['includes'](_0x2385bf['rootName'])))['sort']((_0x4e48b3,_0x1d9de8)=>_0x41f2d7['indexOf'](_0x4e48b3['rootName'])-_0x41f2d7['indexOf'](_0x1d9de8['rootName'])),_0x90664f;}['_makeTape'](_0x496a5d){const _0x257e5e=Array['from'](_0x496a5d['markers'])['filter'](([_0x29f570,_0x4b3921])=>_0x29f570['startsWith']('revision:')&&!_0x4b3921['isCollapsed']),_0x5bce1a=Array['from'](this['editor']['model']['createRangeIn'](_0x496a5d)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x257e5e['length'])for(const _0x5410fd of _0x5bce1a){const [_0x6f76d2,_0x17a25e]=_0x257e5e[0x0],[,_0x25b37f,_0x3b50d6]=_0x6f76d2['split'](':');if(_0x17a25e['end']['isEqual'](_0x5410fd['nextPosition'])&&_0x257e5e['shift'](),(_0x5410fd['previousPosition']['isEqual'](_0x17a25e['start'])||_0x5410fd['previousPosition']['isAfter'](_0x17a25e['start']))&&('insertion'==_0x25b37f?_0x5410fd['isAdded']={'userId':_0x3b50d6}:'deletion'==_0x25b37f&&(_0x5410fd['isRemoved']={'userId':_0x3b50d6})),0x0==_0x257e5e['length'])break;}return _0x5bce1a;}['_refreshStartEndIndex'](_0x23a396){const _0x4665b5=new Map();for(let _0x11c93f=0x0;_0x11c93f<_0x23a396['length'];_0x11c93f++)'text'===_0x23a396[_0x11c93f]['type']?(_0x23a396[_0x11c93f]['item']['startIndex']=_0x11c93f,_0x23a396[_0x11c93f]['item']['endIndex']=_0x11c93f):('elementStart'===_0x23a396[_0x11c93f]['type']?_0x23a396[_0x11c93f]['item']['startIndex']=_0x11c93f:'elementEnd'===_0x23a396[_0x11c93f]['type']&&(_0x23a396[_0x11c93f]['item']['endIndex']=_0x11c93f),_0x4665b5['set'](_0x23a396[_0x11c93f]['id'],_0x11c93f));for(const _0x20fea0 of _0x4665b5['values']())'elementStart'===_0x23a396[_0x20fea0]['type']?_0x23a396[_0x20fea0]['item']['endIndex']=_0x4665b5['get'](_0x23a396[_0x20fea0]['pairId']):'elementEnd'===_0x23a396[_0x20fea0]['type']&&(_0x23a396[_0x20fea0]['item']['startIndex']=_0x4665b5['get'](_0x23a396[_0x20fea0]['pairId']));}['_processTape'](_0x3cd666){for(let _0x59beb2=0x0;_0x59beb2<_0x3cd666['length'];_0x59beb2++){if('elementStart'===_0x3cd666[_0x59beb2]['type'])_0x3cd666[_0x59beb2]['item']['startIndex']=_0x59beb2;else{if('elementEnd'===_0x3cd666[_0x59beb2]['type']){_0x3cd666[_0x59beb2]['item']['endIndex']=_0x59beb2;const _0x1eccee=_0x3cd666[_0x59beb2]['item']['startIndex'];_0x3cd666[_0x1eccee]['pairId']=_0x3cd666[_0x59beb2]['id'],_0x3cd666[_0x59beb2]['pairId']=_0x3cd666[_0x1eccee]['id'];}else _0x3cd666[_0x59beb2]['item']['startIndex']=_0x59beb2,_0x3cd666[_0x59beb2]['item']['endIndex']=_0x59beb2,_0x3cd666[_0x59beb2]['pairId']=null;}_0x3cd666[_0x59beb2]['markersStart']||(_0x3cd666[_0x59beb2]['markersStart']=[],_0x3cd666[_0x59beb2]['markersEnd']=[]);}}['_markInsertions'](_0x4ab39b,_0x47f360){const _0x2c610a=_0x4ab39b['filter'](_0x3dd3f7=>!_0x3dd3f7['isAdded']);for(let _0x197de9=0x0;_0x197de9<_0x47f360['length'];_0x197de9++)_0x47f360[_0x197de9]['isAdded']&&(_0x2c610a[_0x197de9]['isAdded']=_0x47f360[_0x197de9]['isAdded']);}['_makeModelFromViewString'](_0x5d02fb){const _0x36fee0=JSON['parse'](_0x5d02fb),_0x42c982=this['editor']['editing']['view']['document'],_0x5deb4f=new _0x3abca1(_0x42c982,_0x36fee0['map'](_0x53de85=>this['_getViewObj'](_0x53de85)));return this['editor']['data']['toModel'](_0x5deb4f);}['_getViewObj'](_0x4be3d5){const _0x28efd1=this['editor']['editing']['view']['document'];if('string'==typeof _0x4be3d5)return new _0x297982(_0x28efd1,_0x4be3d5);{const _0x518507=_0x4be3d5['children']['map'](_0x3ba5f2=>this['_getViewObj'](_0x3ba5f2));return new(tt[_0x4be3d5['type']]||_0x7eba0d)(_0x28efd1,_0x4be3d5['name'],_0x4be3d5['attributes'],_0x518507);}}['_getDiff'](_0x4b7a09,_0x5c7807=null){const _0x412a7f=this['repository']['getRevision'](_0x4b7a09),_0x647b85=_0x5c7807?this['repository']['getRevision'](_0x5c7807):null,_0x1cd581=this['_getRevisionsRange'](_0x412a7f,_0x647b85),_0x129ec9=_0x1cd581[_0x1cd581['length']-0x1],_0x4b2e2d=new Map(),_0x31fcf4={'model':{},'attributes':{},'changes':[]},_0x557d36=new Set(),_0x5539f1=new Map();for(let _0x4ed4b5=_0x1cd581['length']-0x1;_0x4ed4b5>=0x0;_0x4ed4b5--){const _0x4e81d2=_0x1cd581[_0x4ed4b5];for(const _0x1664fa of Object['keys'](_0x4e81d2['diffData']))if(_0x4e81d2['diffData'][_0x1664fa]['attachChange']){const _0x288bff=_0x4e81d2['diffData'][_0x1664fa]['attachChange'];_0x288bff['isAttached']?(_0x557d36['add'](_0x1664fa),_0x5539f1['has'](_0x1664fa)&&_0x5539f1['get'](_0x1664fa)['userId']==_0x288bff['userId']?_0x5539f1['delete'](_0x1664fa):_0x5539f1['set'](_0x1664fa,_0x288bff)):_0x5539f1['has'](_0x1664fa)?(_0x557d36['delete'](_0x1664fa),_0x5539f1['delete'](_0x1664fa)):(_0x557d36['add'](_0x1664fa),_0x5539f1['set'](_0x1664fa,_0x288bff));}else _0x557d36['add'](_0x1664fa);}for(const _0x58d856 of _0x557d36){const _0x203cd3=_0x5539f1['has'](_0x58d856)&&!_0x5539f1['get'](_0x58d856)['isAttached'];let _0x5280ad=_0x203cd3?_0x1cd581['length']-0x1:0x0;const _0x246f2b=_0x203cd3?-0x1:0x1;for(;_0x1cd581[_0x5280ad];){const _0x3c3fcd=_0x1cd581[_0x5280ad];if(_0x3c3fcd['diffData'][_0x58d856]){const _0x334e7d=_0x203cd3?_0x3c3fcd['diffData'][_0x58d856]['attributesBefore']:_0x3c3fcd['diffData'][_0x58d856]['attributesAfter'];_0x31fcf4['attributes'][_0x58d856]=_0x334e7d?_0x463027(_0x334e7d):{};break;}_0x5280ad+=_0x246f2b;}}for(const _0xee6334 of _0x1cd581){_0xee6334['model']={};for(const _0x9fcc8b of _0xee6334['authors'])_0x4b2e2d['set'](_0x9fcc8b['id'],_0x9fcc8b);for(const _0x3139a9 of _0x557d36){const _0x242903=_0xee6334['diffData'][_0x3139a9]?_0xee6334['diffData'][_0x3139a9]['insertions']:'[]',_0x284bb8=_0xee6334['diffData'][_0x3139a9]?_0xee6334['diffData'][_0x3139a9]['deletions']:'[]';_0xee6334['model'][_0x3139a9]={'insertions':this['_makeModelFromViewString'](_0x242903),'deletions':this['_makeModelFromViewString'](_0x284bb8)};}}for(const _0x514496 of _0x557d36){let _0x57a7da=null,_0x101e70=0x0;const _0x24ceca=new Map(Array['from'](_0x412a7f['model'][_0x514496]['insertions']['markers'])['filter'](([_0x3fa84e])=>!_0x3fa84e['startsWith']('revision:')));let _0x5091ed=0x0;for(const _0x685f9a of _0x1cd581){const _0x4612a8=this['_makeTape'](_0x685f9a['model'][_0x514496]['insertions']);_0x685f9a==_0x412a7f?(_0x57a7da=_0x4612a8,_0x101e70=_0x57a7da['length'],_0x57a7da['forEach'](_0x1ab786=>{_0x1ab786['id']=_0x5091ed++;}),this['_processTape'](_0x57a7da)):this['_markInsertions'](_0x57a7da,_0x4612a8);const _0x323998=_0x57a7da['filter'](_0x356a4c=>!_0x356a4c['isAdded'])['map'](_0xadf491=>_0xadf491['id']);let _0x36fa33=0x0;const _0x27d527=this['_makeTape'](_0x685f9a['model'][_0x514496]['deletions']);_0x27d527['forEach'](_0x2348fd=>{_0x2348fd['isRemoved']?_0x2348fd['id']=_0x101e70++:_0x2348fd['id']=_0x323998[_0x36fa33++];}),this['_processTape'](_0x27d527),this['_setDistance'](_0x57a7da,'isAdded'),this['_setDistance'](_0x27d527,'isRemoved'),_0x685f9a==_0x412a7f&&this['_markMarkers'](_0x57a7da,_0x24ceca),_0x57a7da=this['_joinTapes'](_0x57a7da,_0x27d527),this['_refreshStartEndIndex'](_0x57a7da),this['_setDistance'](_0x57a7da,'isRemoved');}_0x57a7da=_0x57a7da['filter'](_0x515db9=>!(_0x515db9['isAdded']&&_0x515db9['isRemoved']));const _0x270da8=new Map(_0x129ec9['model'][_0x514496]['deletions']['markers']),_0x2d2f4b=new Set(_0x24ceca['keys']());for(const _0x5c7b22 of _0x270da8['keys']())_0x2d2f4b['delete'](_0x5c7b22);this['_markSuggestions'](_0x57a7da,_0x2d2f4b),this['_fixObsoleteTags'](_0x57a7da),_0x57a7da=this['_removeMissingPairs'](_0x57a7da),_0x57a7da=this['_markMismatchedRemovedTags'](_0x57a7da),_0x57a7da=this['_removeUnsupportedChanges'](_0x57a7da);const {root:_0x4069ba,changes:_0x14378a}=this['_makeModelFromTape'](_0x57a7da,_0x4b2e2d,_0x514496);_0x31fcf4['model'][_0x514496]=_0x4069ba;const _0x4a5231=_0x5539f1['get'](_0x514496);if(_0x4a5231){const _0x3c6f56=_0x4b2e2d['get'](_0x4a5231['userId']),_0x3a59eb=new r({'author':_0x3c6f56,'type':_0x4a5231['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x514496});_0x14378a['unshift'](_0x3a59eb),_0x31fcf4['attributes'][_0x514496]['revisionHistoryAttachChange']=_0x3a59eb['id'];}_0x31fcf4['changes']=_0x31fcf4['changes']['concat'](_0x14378a);}return _0x31fcf4;}['_markMarkers'](_0x41a3c9,_0x344dee){for(let _0x23f8b0=0x0;_0x23f8b0<_0x41a3c9['length'];_0x23f8b0++)for(const [_0x241179,_0x1c4064]of _0x344dee)_0x1c4064['start']['isEqual'](_0x41a3c9[_0x23f8b0]['previousPosition'])&&_0x41a3c9[_0x23f8b0]['markersStart']['push'](_0x241179),_0x1c4064['end']['isEqual'](_0x41a3c9[_0x23f8b0]['nextPosition'])&&_0x41a3c9[_0x23f8b0]['markersEnd']['push'](_0x241179);}['_joinTapes'](_0x2eb95a,_0x45b41f){let _0x280de9=[],_0x4ca930=0x0,_0x28d756=0x0;for(;_0x4ca930<_0x2eb95a['length']||_0x28d756<_0x45b41f['length'];){const _0x24b6ac=_0x2eb95a[_0x4ca930]||{},_0x5bd195=_0x45b41f[_0x28d756]||{};if(_0x24b6ac['id']==_0x5bd195['id'])_0x4ca930++,_0x28d756++,_0x280de9['push'](_0x24b6ac);else{if(_0x5bd195['isRemoved']&&_0x24b6ac['isAdded']){const {commonTape:_0x289594,iEnd:_0x3f9ea0,jEnd:_0x3b9ffa}=this['_threeWayMerge'](_0x2eb95a,_0x4ca930,_0x45b41f,_0x28d756);_0x280de9=_0x280de9['concat'](_0x289594),_0x4ca930=_0x3f9ea0,_0x28d756=_0x3b9ffa;}else _0x5bd195['isRemoved']?(_0x28d756++,_0x280de9['push'](_0x5bd195)):(_0x4ca930++,_0x280de9['push'](_0x24b6ac));}}return _0x280de9;}['_markSuggestions'](_0x13d137,_0x2be77b){const _0x202480=[];for(let _0x2e4a69=0x0;_0x2e4a69<_0x13d137['length'];_0x2e4a69++){for(let _0x48f586=0x0;_0x48f586<_0x13d137[_0x2e4a69]['markersStart']['length'];_0x48f586++){const _0x3cea14=_0x13d137[_0x2e4a69]['markersStart'][_0x48f586];if(!_0x2be77b['has'](_0x3cea14))continue;const {group:_0x4456df,type:_0xd5bcb7,authorId:_0xbae011}=_0x418827(_0x3cea14);'revision-suggestion'!=_0x4456df||'insertion'!=_0xd5bcb7&&'deletion'!=_0xd5bcb7||(_0x202480['unshift']({'type':_0xd5bcb7,'name':_0x3cea14,'userId':_0xbae011}),_0x13d137[_0x2e4a69]['markersStart']['splice'](_0x48f586,0x1),_0x48f586--);}_0x8a5905(_0x13d137[_0x2e4a69]);for(let _0x5e5f6f=0x0;_0x5e5f6f<_0x13d137[_0x2e4a69]['markersEnd']['length'];_0x5e5f6f++){const _0x2c68a6=_0x13d137[_0x2e4a69]['markersEnd'][_0x5e5f6f];if(!_0x2be77b['has'](_0x2c68a6))continue;const {group:_0x35ef09,type:_0xe46494}=_0x418827(_0x2c68a6);if('revision-suggestion'!=_0x35ef09||'insertion'!=_0xe46494&&'deletion'!=_0xe46494)continue;_0x13d137[_0x2e4a69]['markersEnd']['splice'](_0x5e5f6f,0x1),_0x5e5f6f--;const _0x3ed84d=_0x202480['findIndex'](_0x58ea37=>_0x58ea37['name']==_0x2c68a6);_0x3ed84d>-0x1&&_0x202480['splice'](_0x3ed84d,0x1);}}function _0x418827(_0x2bd163){const _0x44591f=_0x2bd163['split'](':');return{'group':_0x44591f[0x0],'type':_0x44591f[0x1],'subType':_0x44591f['length']>=0x5?_0x44591f[0x2]:null,'id':_0x44591f['length']<0x5?_0x44591f[0x2]:_0x44591f[0x3],'authorId':_0x44591f['length']<0x5?_0x44591f[0x3]:_0x44591f[0x4],'markerCount':0x6==_0x44591f['length']?_0x44591f[0x5]:null};}function _0x8a5905(_0x5e11e5){for(let _0x1998b4=0x0;_0x1998b4<_0x202480['length'];_0x1998b4++){if(_0x5e11e5['isAdded']&&'insertion'==_0x202480[_0x1998b4]['type'])return _0x5e11e5['isAddSuggestion']=_0x202480[_0x1998b4],void delete _0x5e11e5['isAdded'];if(!_0x5e11e5['isAdded']&&!_0x5e11e5['isRemoved']&&'deletion'==_0x202480[_0x1998b4]['type'])return void(_0x5e11e5['isRemoveSuggestion']=_0x202480[_0x1998b4]);}}}['_setDistance'](_0x136d79,_0x14430c){let _0xf7396f=0x0,_0x31eb8f=!0x1;const _0x35740f=new Map();for(const _0x5cc089 of _0x136d79)_0x5cc089[_0x14430c]?_0x31eb8f&&(_0xf7396f++,_0x31eb8f=!0x1):(_0xf7396f++,_0x31eb8f=!0x0),_0x35740f['set'](_0x5cc089['id'],_0xf7396f);for(let _0x46aa92=0x0;_0x46aa92<_0x136d79['length'];_0x46aa92++){if('isRemoved'==_0x14430c&&_0x136d79[_0x46aa92]['isAdded']||'isAdded'==_0x14430c&&_0x136d79[_0x46aa92]['isRemoved'])continue;if('text'==_0x136d79[_0x46aa92]['type']){_0x136d79[_0x46aa92]['distance']=0x0;continue;}const _0xa9fcdc=_0x35740f['get'](_0x136d79[_0x46aa92]['pairId']),_0x3cb197=_0x35740f['get'](_0x136d79[_0x46aa92]['id']);_0x136d79[_0x46aa92]['distance']=_0xa9fcdc-_0x3cb197;}}['_getRevisionsRange'](_0x553f8c,_0xd0c486,_0x5c7fd6=!0x1){const _0x5c0178=[];let _0x88da72=this['repository']['getIndex'](_0x553f8c),_0x2983f8=this['repository']['getIndex'](_0xd0c486);for(-0x1==_0x2983f8&&(_0x2983f8=this['repository']['_revisions']['length'],_0x5c7fd6=!0x1);_0x88da72<_0x2983f8;)_0x5c0178['push'](this['repository']['getRevision'](_0x88da72)),_0x88da72++;return _0x5c7fd6&&_0x5c0178['push'](this['repository']['getRevision'](_0x88da72)),_0x5c0178;}['_threeWayMerge'](_0x376edb,_0x6349d7,_0x198bb3,_0x5891c5){const _0x44cf34=this['editor']['model']['schema'];let _0x44807f=_0x6349d7;for(;_0x376edb[_0x44807f]&&_0x376edb[_0x44807f]['isAdded'];)_0x44807f++;let _0x4763ff=_0x5891c5;for(;_0x198bb3[_0x4763ff]&&_0x198bb3[_0x4763ff]['isRemoved'];)_0x4763ff++;_0x4e8902(_0x376edb,_0x6349d7,_0x44807f),_0x4e8902(_0x198bb3,_0x5891c5,_0x4763ff);const _0x3fa9b5=_0x198bb3['slice'](_0x5891c5,_0x4763ff)['concat'](_0x376edb['slice'](_0x6349d7,_0x44807f));return _0x3fa9b5['sort']((_0x16eeec,_0x293105)=>_0x16eeec['side']!=_0x293105['side']?_0x16eeec['side']-_0x293105['side']:_0x16eeec['level']!=_0x293105['level']?_0x16eeec['level']-_0x293105['level']:_0x16eeec['distance']!=_0x293105['distance']?_0x293105['distance']-_0x16eeec['distance']:!!_0x16eeec['isAdded']!=!!_0x293105['isAdded']?-0x1==_0x16eeec['side']||0x0==_0x16eeec['side']?_0x16eeec['isAdded']?-0x1:0x1:_0x16eeec['isAdded']?0x1:-0x1:_0x16eeec['index']-_0x293105['index']),{'commonTape':_0x3fa9b5,'iEnd':_0x44807f,'jEnd':_0x4763ff};function _0x4e8902(_0x19f282,_0x5cee68,_0x56edd6){let _0xa2505c=-0x1,_0x4d19ec=Number['POSITIVE_INFINITY'],_0x58cd18=!0x0;for(let _0x3788a3=_0x5cee68;_0x3788a3<_0x56edd6;_0x3788a3++)if(_0x44cf34['isInline'](_0x19f282[_0x3788a3]['item'])||(_0x58cd18=!0x1),_0x19f282[_0x3788a3]['item']['startIndex']<_0x5cee68&&(_0xa2505c=_0x3788a3),_0x19f282[_0x3788a3]['item']['endIndex']>=_0x56edd6){_0x4d19ec=_0x3788a3;break;}_0x58cd18&&(_0xa2505c=_0x56edd6-0x1);for(let _0x4c5e78=_0x5cee68;_0x4c5e78<_0x56edd6;_0x4c5e78++)_0x19f282[_0x4c5e78]['side']=_0x4c5e78<=_0xa2505c?-0x1:_0x4c5e78<_0x4d19ec?0x0:0x1,_0x19f282[_0x4c5e78]['index']=_0x4c5e78;let _0x660f60=0x0;for(let _0x34e4d4=_0x5cee68;_0x34e4d4<=_0xa2505c;_0x34e4d4++)0x0==_0x19f282[_0x34e4d4]['distance']?_0x19f282[_0x34e4d4]['level']=_0x660f60:(_0x660f60++,_0x19f282[_0x34e4d4]['level']=_0x660f60,_0x660f60++);for(let _0x21c9fd=_0x5cee68;_0x21c9fd<_0x56edd6;_0x21c9fd++)0x0==_0x19f282[_0x21c9fd]['side']&&(_0x19f282[_0x21c9fd]['level']=_0x660f60);_0x660f60=0x0;for(let _0x236023=_0x56edd6-0x1;_0x236023>=_0x4d19ec;_0x236023--)0x0==_0x19f282[_0x236023]['distance']?_0x19f282[_0x236023]['level']=_0x660f60:(_0x660f60--,_0x19f282[_0x236023]['level']=_0x660f60,_0x660f60--);}}['_fixObsoleteTags'](_0x4a0830){const _0x456d6f=new Map(),_0x196f98=this['editor']['model']['schema'];for(let _0xfb9115=0x1;_0xfb9115<_0x4a0830['length'];_0xfb9115++){let _0x1ea0a7,_0xdcb09e,_0x4eeffb;const _0x68083d=_0x4a0830[_0xfb9115],_0x462195=_0x4a0830[_0xfb9115-0x1];if('text'==_0x68083d['type'])continue;if(_0x68083d['type']!=_0x462195['type'])continue;if(!_0x196f98['isBlock'](_0x462195['item'])||_0x196f98['isLimit'](_0x462195['item']))continue;if(!_0x196f98['isBlock'](_0x68083d['item'])||_0x196f98['isLimit'](_0x68083d['item']))continue;if((_0x4a0830[_0xfb9115]['isAdded']||_0x4a0830[_0xfb9115]['isAddSuggestion'])&&_0x4a0830[_0xfb9115-0x1]['isRemoved'])_0x1ea0a7=_0x4a0830[_0xfb9115],_0xdcb09e=_0x4a0830[_0xfb9115-0x1],_0x4eeffb=_0xfb9115-0x1;else{if(!_0x4a0830[_0xfb9115]['isRemoved']||!_0x4a0830[_0xfb9115-0x1]['isAdded']&&!_0x4a0830[_0xfb9115-0x1]['isAddSuggestion'])continue;_0x1ea0a7=_0x4a0830[_0xfb9115-0x1],_0xdcb09e=_0x4a0830[_0xfb9115],_0x4eeffb=_0xfb9115;}const _0x65dc6c=_0x1ea0a7['level']==_0xdcb09e['level'],_0x433680=Math['abs'](_0x1ea0a7['level'])<Math['abs'](_0xdcb09e['level'])&&0x0==_0xdcb09e['distance'];(_0x65dc6c||_0x433680)&&(_0x456d6f['set'](_0xdcb09e['id'],_0x1ea0a7['id']),_0x4a0830['splice'](_0x4eeffb,0x1),_0xfb9115--,_0x1ea0a7['isAdded']=!0x1);}for(let _0x31aa86=0x0;_0x31aa86<_0x4a0830['length'];_0x31aa86++)_0x456d6f['has'](_0x4a0830[_0x31aa86]['pairId'])&&(_0x4a0830[_0x31aa86]['pairId']=_0x456d6f['get'](_0x4a0830[_0x31aa86]['pairId']));}['_removeMissingPairs'](_0x1bfda1){const _0x5eab1e=new Set(_0x1bfda1['map'](_0x59cf42=>_0x59cf42['id']));for(let _0xb03ef7=0x0;_0xb03ef7<_0x1bfda1['length'];_0xb03ef7++)_0x5eab1e['has'](_0x1bfda1[_0xb03ef7]['pairId'])||0x0==_0x1bfda1[_0xb03ef7]['distance']||(_0x1bfda1[_0xb03ef7]['isIncorrect']=!0x0);return _0x1bfda1['filter'](_0x3462ad=>!_0x3462ad['isIncorrect']);}['_markMismatchedRemovedTags'](_0x283d50){const _0x520f4c=new Set();for(let _0x1fc30e=0x0;_0x1fc30e<_0x283d50['length'];_0x1fc30e++){if(_0x520f4c['has'](_0x283d50[_0x1fc30e]['id'])&&_0x283d50[_0x1fc30e]['isRemoved']&&(_0x283d50[_0x1fc30e]['isIncorrect']=!0x0),_0x283d50[_0x1fc30e]['isIncorrect'])continue;if(0x0==_0x283d50[_0x1fc30e]['distance'])continue;if('elementStart'!=_0x283d50[_0x1fc30e]['type'])continue;if(null==_0x283d50[_0x1fc30e]['pairId'])continue;let _0x14d03e=_0x1fc30e+0x1,_0x2aa097=0x0;for(;_0x283d50[_0x14d03e]['id']!=_0x283d50[_0x1fc30e]['pairId'];)'elementStart'==_0x283d50[_0x14d03e]['type']?_0x2aa097++:'elementEnd'==_0x283d50[_0x14d03e]['type']&&_0x2aa097--,_0x14d03e++;if(0x0!=_0x2aa097){if(_0x283d50[_0x1fc30e]['isRemoved'])_0x283d50[_0x1fc30e]['isIncorrect']=!0x0;else{for(;_0x14d03e!=_0x1fc30e;)_0x283d50[_0x14d03e]['isRemoved']&&0x0!=_0x283d50[_0x14d03e]['distance']&&(_0x283d50[_0x14d03e]['isIncorrect']=!0x0,_0x520f4c['add'](_0x283d50[_0x14d03e]['pairId'])),_0x14d03e--;}}}return _0x283d50['filter'](_0x5669ac=>!_0x5669ac['isIncorrect']);}['_removeUnsupportedChanges'](_0x82e94){const _0x45a556=this['editor']['model']['schema'];for(let _0x2c1b10=0x0;_0x2c1b10<_0x82e94['length'];_0x2c1b10++){if(!(_0x82e94[_0x2c1b10]['isAdded']||_0x82e94[_0x2c1b10]['isAddSuggestion']||_0x82e94[_0x2c1b10]['isRemoved']||_0x82e94[_0x2c1b10]['isRemoveSuggestion']))continue;if(0x0==_0x82e94[_0x2c1b10]['distance'])continue;const _0x66eb35=_0x82e94[_0x2c1b10]['item'];_0x45a556['isBlock'](_0x66eb35)||_0x45a556['isLimit'](_0x66eb35)||(_0x82e94[_0x2c1b10]['isAdded']&&delete _0x82e94[_0x2c1b10]['isAdded'],_0x82e94[_0x2c1b10]['isAddSuggestion']&&delete _0x82e94[_0x2c1b10]['isAddSuggestion'],_0x82e94[_0x2c1b10]['isRemoveSuggestion']&&delete _0x82e94[_0x2c1b10]['isRemoveSuggestion'],_0x82e94[_0x2c1b10]['isRemoved']&&(_0x82e94[_0x2c1b10]['isIncorrect']=!0x0));}return _0x82e94['filter'](_0x511082=>!_0x511082['isIncorrect']);}['_makeModelFromTape'](_0x122cf8,_0x52a8c8,_0x4c4ef6){const _0x41b51a=new wt(),_0x14e39b=[],_0x12186b=new Map(),_0x459a8b=this['editor']['model'],_0x3c0f02=_0x459a8b['schema'],_0x318699=[_0x41b51a],_0xac0080={},_0x33ee89={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x588eb9=null;const _0x418fdb=[0x0];for(let _0x26a0dc=0x0;_0x26a0dc<_0x122cf8['length'];_0x26a0dc++){let _0x59440e,_0x586c70;if('elementStart'===_0x122cf8[_0x26a0dc]['type']){_0x59440e=_0x459a8b['createPositionFromPath'](_0x41b51a,_0x418fdb);const _0xc5dc5e=new ft(_0x122cf8[_0x26a0dc]['item']['name'],_0x122cf8[_0x26a0dc]['item']['getAttributes']());_0x318699[0x0]['_appendChild'](_0xc5dc5e),_0x418fdb['push'](0x0),_0x318699['unshift'](_0xc5dc5e),_0x586c70=_0x459a8b['createPositionFromPath'](_0x41b51a,_0x418fdb),_0x588eb9=null;}else{if('elementEnd'===_0x122cf8[_0x26a0dc]['type'])_0x318699['shift'](),_0x59440e=_0x459a8b['createPositionFromPath'](_0x41b51a,_0x418fdb),_0x418fdb['pop'](),_0x418fdb[_0x418fdb['length']-0x1]++,_0x586c70=_0x459a8b['createPositionFromPath'](_0x41b51a,_0x418fdb),_0x588eb9=null;else{if(_0x59440e=_0x459a8b['createPositionFromPath'](_0x41b51a,_0x418fdb),_0x588eb9&&_0x53c37a(_0x588eb9,_0x122cf8[_0x26a0dc]['item']))_0x588eb9['_data']+=_0x122cf8[_0x26a0dc]['item']['data'];else{const _0xd7a1e9=new _t(_0x122cf8[_0x26a0dc]['item']['data'],_0x122cf8[_0x26a0dc]['item']['getAttributes']());_0x318699[0x0]['_appendChild'](_0xd7a1e9),_0x588eb9=_0xd7a1e9;}_0x418fdb[_0x418fdb['length']-0x1]+=_0x122cf8[_0x26a0dc]['item']['offsetSize'],_0x586c70=_0x459a8b['createPositionFromPath'](_0x41b51a,_0x418fdb);}}for(const _0x5ee190 of _0x122cf8[_0x26a0dc]['markersStart'])_0x12186b['set'](_0x5ee190,{'start':_0x59440e,'end':null});_0x4db7e7('isRemoveSuggestion',_0x26a0dc,_0x59440e,_0x586c70),_0x4db7e7('isAddSuggestion',_0x26a0dc,_0x59440e,_0x586c70),_0x4db7e7('isRemoved',_0x26a0dc,_0x59440e,_0x586c70),_0x4db7e7('isAdded',_0x26a0dc,_0x59440e,_0x586c70);for(const _0x5cf8da of _0x122cf8[_0x26a0dc]['markersEnd']){_0x12186b['get'](_0x5cf8da)['end']=_0x586c70;}}for(const [_0x3dcf0c,_0x43c6f8]of _0x12186b){const _0x2c15cb=this['editor']['model']['createRange'](_0x43c6f8['start'],_0x43c6f8['end']);_0x41b51a['markers']['set'](_0x3dcf0c,_0x2c15cb);}return _0x14e39b['sort']((_0x14d9d8,_0x1b1286)=>{const _0x289a54=_0x41b51a['markers']['get']('revision:'+_0x14d9d8['id']),_0x3443fb=_0x41b51a['markers']['get']('revision:'+_0x1b1286['id']);return _0x289a54['start']['isBefore'](_0x3443fb['start'])?-0x1:_0x289a54['start']['isAfter'](_0x3443fb['start'])?0x1:_0x289a54['end']['isBefore'](_0x3443fb['end'])?-0x1:_0x289a54['end']['isAfter'](_0x3443fb['end'])?0x1:'add'===_0x14d9d8['type']?-0x1:0x1;}),{'root':_0x41b51a,'changes':_0x14e39b};function _0x4db7e7(_0x4c3e66,_0x14fb1a,_0x113bd8,_0x97bb5d){const _0x1662e6=!!_0x122cf8[_0x14fb1a][_0x4c3e66],_0x1d54b7=_0x1662e6?_0x122cf8[_0x14fb1a][_0x4c3e66]['userId']:null,_0x45db72=_0x14fb1a===_0x122cf8['length']-0x1,_0x4b2f70=_0x33ee89[_0x4c3e66][0x0],_0x5724e5=_0x3c0f02['isObject'](_0x122cf8[_0x14fb1a]['item']);!_0xac0080[_0x4c3e66]&&_0x1662e6?_0xac0080[_0x4c3e66]={'start':_0x113bd8,'tapeItem':_0x122cf8[_0x14fb1a],'userId':_0x1d54b7,'type':_0x4c3e66}:_0xac0080[_0x4c3e66]&&!_0x1662e6?(_0xac0080[_0x4c3e66]['end']=_0x113bd8,_0x3ccbe7(_0xac0080[_0x4c3e66]),_0xac0080[_0x4c3e66]=null):_0xac0080[_0x4c3e66]&&_0x1662e6&&_0xac0080[_0x4c3e66]['userId']!==_0x1d54b7&&(_0xac0080[_0x4c3e66]['end']=_0x113bd8,_0x4b2f70&&_0x4b2f70['userId']===_0xac0080[_0x4c3e66]['userId']||_0x3ccbe7(_0xac0080[_0x4c3e66]),_0xac0080[_0x4c3e66]={'start':_0x113bd8,'tapeItem':_0x122cf8[_0x14fb1a],'userId':_0x1d54b7,'type':_0x4c3e66}),_0xac0080[_0x4c3e66]&&_0x5724e5&&('elementStart'!==_0x122cf8[_0x14fb1a]['type']||_0x4b2f70&&_0x4b2f70['userId']===_0x1d54b7||_0x33ee89[_0x4c3e66]['unshift']({'userId':_0x1d54b7,'object':_0x122cf8[_0x14fb1a]['item'],'change':_0xac0080[_0x4c3e66]}),'elementEnd'===_0x122cf8[_0x14fb1a]['type']&&_0x4b2f70&&_0x4b2f70['object']===_0x122cf8[_0x14fb1a]['item']&&(_0x33ee89[_0x4c3e66]['shift'](),_0xac0080[_0x4c3e66]=_0x4b2f70['change'])),_0xac0080[_0x4c3e66]&&_0x45db72&&(_0xac0080[_0x4c3e66]['end']=_0x97bb5d,_0x3ccbe7(_0xac0080[_0x4c3e66]),_0xac0080[_0x4c3e66]=null);}function _0x3ccbe7({start:_0x4dbd0d,end:_0xa07aea,tapeItem:_0x9b08b2,userId:_0x49f6ea,type:_0x5d3ddf}){const _0x18e4c4=_0x9b08b2['item'],_0x3e73b2=_0x459a8b['schema']['isBlock'](_0x18e4c4)&&!_0x459a8b['schema']['isLimit'](_0x18e4c4),_0x58d43d=_0x4dbd0d['nodeAfter']==_0xa07aea['parent']&&_0xa07aea['isAtStart'];if(_0x3e73b2&&_0x58d43d)return;const _0x14fcd2=_0x459a8b['createRange'](_0x4dbd0d,_0xa07aea),_0x1e32e2=_0x52a8c8['get'](_0x49f6ea),_0x4f9da4=new r({'author':_0x1e32e2,'type':'isAdded'==_0x5d3ddf||'isAddSuggestion'==_0x5d3ddf?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x5d3ddf||'isRemoveSuggestion'==_0x5d3ddf},'createdAt':new Date(),'rootName':_0x4c4ef6});_0x14e39b['push'](_0x4f9da4),_0x41b51a['markers']['set']('revision:'+_0x4f9da4['id'],_0x14fcd2);}function _0x53c37a(_0x1c2aa7,_0x1401b0){const _0x555ecc=_0x1c2aa7['getAttributes'](),_0xa77f14=_0x1401b0['getAttributes']();for(const _0x4eab0d of _0x555ecc){if(_0x4eab0d[0x1]!==_0x1401b0['getAttribute'](_0x4eab0d[0x0]))return!0x1;_0xa77f14['next']();}return _0xa77f14['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x290d0e=>{const _0x57ea15=_0x290d0e['markerName']['split'](':')[0x1],_0x42a524=this['_getChangeFromId'](_0x57ea15);if(!_0x42a524)return null;const _0x279e36='add'==_0x42a524['type']?'insertion':'deletion',_0x3dd2e0=['ck-suggestion-marker','ck-suggestion-marker-'+_0x279e36];return _0x42a524['data']['isSuggestion']&&_0x3dd2e0['push']('ck-suggestion-marker-'+_0x279e36+'-new'),this['activeChange']==_0x42a524&&_0x3dd2e0['push']('ck-suggestion-marker--active'),{'classes':_0x3dd2e0,'attributes':{'data-change-id':_0x57ea15}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2e99c7=>{_0x2e99c7['on']('element:pre',(_0x16625e,_0x50767c,_0x58f015)=>{const _0x210f7f=_0x50767c['viewItem']['getChild'](0x0);if(!_0x210f7f||!_0x210f7f['is']('element','code'))return;if(!_0x58f015['consumable']['consume'](_0x210f7f,{'attributes':['vid_start','vid_end']}))return;const _0x31b9cf=_0x50767c['modelRange']['start']['nodeAfter'];_0x58f015['writer']['setAttribute']('vid_start',_0x210f7f['getAttribute']('vid_start'),_0x31b9cf),_0x58f015['writer']['setAttribute']('vid_end',_0x210f7f['getAttribute']('vid_end'),_0x31b9cf);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xdd2689=>{_0xdd2689['on']('element',(_0x2277a4,_0x49a2cd,_0x4bc0a7)=>{if(!_0x4bc0a7['consumable']['consume'](_0x49a2cd['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x49a2cd['modelRange']['isCollapsed'])return;const _0x41a712=_0x49a2cd['modelRange']['start']['nodeAfter'];_0x41a712['hasAttribute']('vid_start')||_0x41a712['hasAttribute']('vid')||(_0x4bc0a7['writer']['setAttribute']('vid_start',_0x49a2cd['viewItem']['getAttribute']('vid_start'),_0x41a712),_0x4bc0a7['writer']['setAttribute']('vid_end',_0x49a2cd['viewItem']['getAttribute']('vid_end'),_0x41a712));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x16e4d5=>_0x16e4d5['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x3dcfc0,[,_0x4d5cee])=>{['vid_start','vid_end','vid']['includes'](_0x4d5cee)&&(_0x3dcfc0['return']=!0x0,_0x3dcfc0['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x28efbd=>{_0x28efbd['on']('attribute:vid',(_0x79b380,_0x56bbea,_0x1a7a89)=>{if('\x20'!=_0x56bbea['item']['data']||_0x56bbea['item']['parent']['maxOffset']>0x1)return;if(!_0x1a7a89['consumable']['consume'](_0x56bbea['item'],_0x79b380['name']))return;const _0x2063e2=_0x1a7a89['writer'],_0x43c828=_0x1a7a89['mapper']['toViewRange'](_0x56bbea['range']);_0x2063e2['wrap'](_0x43c828,_0x2063e2['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x23f2c2){const _0x144b5a=_0x23f2c2['plugins']['get']('RevisionViewer');return(_0x39725f,_0x382b5a,_0x2f65b7)=>{const _0x11560b=_0x382b5a['markerName']['split'](':')[0x1],_0x4b0f4c=_0x144b5a['_getChangeFromId'](_0x11560b);if(!_0x4b0f4c)return null;const _0x46beef='add'==_0x4b0f4c['type']?'split':'merge';if(!_0x2f65b7['consumable']['test'](_0x382b5a['markerRange'],_0x39725f['name']))return;const _0x12453b=_0x382b5a['markerRange']['getWalker'](),_0x6a3e64=_0x382b5a['markerRange']['start'],_0x23a943=_0x23f2c2['model']['schema'];let _0x51a3e8=null,_0x16fe2b=null,_0x4b33a7=!0x1,_0x34e54e=!0x1;for(const _0x39b2ad of _0x12453b){const _0x361efe=_0x39b2ad['item'];_0x4b33a7=_0x4b33a7||_0x23a943['isContent'](_0x361efe);const _0x3c2751=_0x2f65b7['mapper']['toViewElement'](_0x361efe);if(_0x3c2751&&_0x3c2751['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x39b2ad['type']&&(_0x23a943['isBlock'](_0x361efe)&&!_0x23a943['isLimit'](_0x361efe)&&(_0x361efe['nextSibling']||_0x6a3e64['isAtEnd']?_0x51a3e8&&_0x51a3e8['parent']==_0x361efe||(_0x51a3e8=_0x361efe,_0x251981(_0x39b2ad['previousPosition']),_0x34e54e=!0x0):_0x16fe2b=_0x16fe2b||_0x39b2ad['previousPosition']));}function _0x251981(_0x92ed31){const _0x20d4b6=_0x2f65b7['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x46beef}),_0x58db5b=_0x2f65b7['mapper']['toViewPosition'](_0x92ed31);_0x4b0f4c['data']['isSuggestion']&&_0x2f65b7['writer']['addClass']('ck-suggestion-marker-'+_0x46beef+'-new',_0x20d4b6),_0x144b5a['activeChange']==_0x4b0f4c&&_0x2f65b7['writer']['addClass']('ck-suggestion-marker--active',_0x20d4b6),_0x2f65b7['writer']['insert'](_0x58db5b,_0x20d4b6),_0x2f65b7['mapper']['bindElementToMarker'](_0x20d4b6,_0x382b5a['markerName']);}_0x4b33a7||_0x34e54e||!_0x16fe2b||_0x251981(_0x16fe2b);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x838589,_0x29bada,_0x1db878)=>{const _0x395929=_0x1db878['mapper']['markerNameToElements'](_0x29bada['markerName']);if(_0x395929){for(const _0x264787 of _0x395929)(_0x264787['hasClass']('ck-suggestion-marker-split')||_0x264787['hasClass']('ck-suggestion-marker-merge'))&&(_0x1db878['mapper']['unbindElementFromMarkerName'](_0x264787,_0x29bada['markerName']),_0x1db878['writer']['remove'](_0x264787));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x56a50b,_0x385701,_0x5e6db6)=>{const _0x43a746=_0x385701['markerName']['split'](':')[0x1],_0xddfcfa=this['_getChangeFromId'](_0x43a746);if(!_0xddfcfa)return null;const _0x697c79='add'==_0xddfcfa['type']?'split':'merge';if(_0x5e6db6['consumable']['test'](_0x385701['markerRange'],_0x56a50b['name']))for(const _0x320255 of _0x385701['markerRange']['getItems']()){if(!_0x320255['is']('element','softBreak'))continue;const _0xef01e5=_0x5e6db6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x697c79}),_0x2e661e=_0x5e6db6['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x320255));_0xddfcfa['data']['isSuggestion']&&_0x5e6db6['writer']['addClass']('ck-suggestion-marker-'+_0x697c79+'-new',_0xef01e5),this['activeChange']==_0xddfcfa&&_0x5e6db6['writer']['addClass']('ck-suggestion-marker--active',_0xef01e5),_0x5e6db6['writer']['insert'](_0x2e661e,_0xef01e5),_0x5e6db6['mapper']['bindElementToMarker'](_0xef01e5,_0x385701['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x5fae34=>{for(const _0x134935 of this['editor']['model']['document']['getRootNames']()){const _0x4adf30=this['editor']['model']['document']['getRoot'](_0x134935),_0x145fd1=this['editor']['editing']['view']['document']['getRoot'](_0x134935);if(_0x145fd1){const _0x36d5bc=_0x4adf30['getAttribute']('revisionHistoryAttachChange');if(_0x5fae34['removeAttribute']('data-change-id',_0x145fd1),_0x5fae34['removeClass']('ck-revision-history-root-add',_0x145fd1),_0x5fae34['removeClass']('ck-revision-history-root-remove',_0x145fd1),_0x5fae34['removeClass']('ck-revision-history-root--active',_0x145fd1),_0x36d5bc){const _0x585558=this['_getChangeFromId'](_0x36d5bc);if(!_0x585558)return null;_0x5fae34['setAttribute']('data-change-id',_0x36d5bc,_0x145fd1),_0x5fae34['addClass']('ck-revision-history-root-'+_0x585558['type'],_0x145fd1),this['activeChange']==_0x585558&&_0x5fae34['addClass']('ck-revision-history-root--active',_0x145fd1);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x596e4c=>'revision-comment:'+_0x596e4c,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2b68dc=>'revision-suggestion:'+_0x2b68dc,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4073c4=>({'name':'suggestion:'+_0x4073c4,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2d72d6=>{const _0x1e110d=_0x2d72d6['markerName']['split'](':')[0x1];return'insertion'!=_0x1e110d&&'deletion'!=_0x1e110d?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1e110d]};}}),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',(_0x5e2ac5,_0x1a906b,_0x353e0e)=>{const _0xd64354=_0x353e0e['mapper']['markerNameToElements'](_0x1a906b['markerName']);if(_0xd64354){for(const _0x2c6ed7 of _0xd64354)_0x2c6ed7['is']('uiElement')&&(_0x353e0e['mapper']['unbindElementFromMarkerName'](_0x2c6ed7,_0x1a906b['markerName']),_0x353e0e['writer']['remove'](_0x2c6ed7));}},{'priority':'high'});}['_getChangeFromId'](_0x5e4bff){return this['_changeIdToChange']['get'](_0x5e4bff);}['_getViewForChange'](_0x50712b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x50712b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x58026e,_0x31e29b,_0x27c8f9,_0x2c9a71)=>{_0x2c9a71&&this['_balloon']['remove'](_0x2c9a71),_0x27c8f9&&(this['_balloon']['add']({'view':_0x27c8f9,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x132ab9=this['editor']['editing'],_0xac5a99=this['_getChangeFromId'](_0x27c8f9['changeId']);let _0x412471;if(_0xac5a99['data']['isOnRoot']){const _0x1695d4=_0x132ab9['view']['getDomRoot'](_0xac5a99['rootName']);_0x412471=Array['from'](_0x1695d4['getClientRects']());}else{const _0x2a6b47=this['editor']['model']['markers']['get']('revision:'+_0x27c8f9['changeId']);_0x412471=Array['from'](_0x132ab9['mapper']['markerNameToElements'](_0x2a6b47['name']))['map'](_0x2befef=>_0x132ab9['view']['domConverter']['mapViewToDom'](_0x2befef))['map'](_0x26ba58=>Array['from'](_0x26ba58['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x412471[0x0];return _0x412471['find'](_0x1801ac=>_0x1801ac['top']-0x3<=this['_activeViewTarget']['y']&&_0x1801ac['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1801ac['left']-0x3<=this['_activeViewTarget']['x']&&_0x1801ac['right']+0x3>=this['_activeViewTarget']['x'])||_0x412471[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3e3096,_0x220ccd,_0x356bc4,_0x5cd485)=>{this['activeView']=_0x356bc4?this['_getViewForChange'](_0x356bc4):null,this['editor']['model']['change'](()=>{const _0x3af5d0=this['editor']['editing'];_0x5cd485&&(_0x5cd485['data']['isOnRoot']?_0x3af5d0['view']['change'](_0x4add17=>{_0x4add17['removeClass']('ck-revision-history-root--active',_0x3af5d0['view']['document']['getRoot'](_0x5cd485['rootName']));}):_0x3af5d0['reconvertMarker']('revision:'+_0x5cd485['id'])),_0x356bc4&&(_0x356bc4['data']['isOnRoot']?_0x3af5d0['view']['change'](_0x5360b5=>{_0x5360b5['addClass']('ck-revision-history-root--active',_0x3af5d0['view']['document']['getRoot'](_0x356bc4['rootName']));}):_0x3af5d0['reconvertMarker']('revision:'+_0x356bc4['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x23b70b,_0x6d2179)=>{if(this['activeChange'])return;const _0x522c39=this['_findChangeIdFromDomTarget'](_0x6d2179['target']),_0x21873b=this['_changeIdToChange']['get'](_0x522c39);_0x21873b?(this['_activeViewTarget']={'x':_0x6d2179['domEvent']['x'],'y':_0x6d2179['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x21873b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x13b0a3,_0x297f2d)=>{const _0x5ad251=this['_findChangeIdFromDomTarget'](_0x297f2d['target']),_0x375d36=this['_changeIdToChange']['get'](_0x5ad251);_0x375d36?(this['_activeViewTarget']={'x':_0x297f2d['domEvent']['x'],'y':_0x297f2d['domEvent']['y']},_0x375d36===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x375d36):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x2c0892){do{const _0x4319d5=_0x2c0892['getAttribute']('data-change-id');if(_0x4319d5)return _0x4319d5;_0x2c0892=_0x2c0892['parent'];}while(_0x2c0892);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x118070=>{for(const _0x4a9c4f of this['editor']['model']['markers'])_0x118070['removeMarker'](_0x4a9c4f);});}}function et(_0x2c502b,_0x475551){return(_0x2b6b72,_0x349cf3,_0x43bd05)=>{if(!_0x43bd05['consumable']['test'](_0x349cf3['markerRange'],_0x2b6b72['name']))return;const _0x3b9b28=_0x349cf3['markerRange']['getWalker'](),_0x2259a9=_0x349cf3['markerRange']['start'],_0x6c2b34=_0x2c502b['model']['schema'];let _0x249163=null,_0x3ec30f=null,_0x4caff4=!0x1,_0x2a3858=!0x1;for(const _0x3a63e8 of _0x3b9b28){const _0x1da533=_0x3a63e8['item'];_0x4caff4=_0x4caff4||_0x6c2b34['isContent'](_0x1da533);const _0x688ed0=_0x43bd05['mapper']['toViewElement'](_0x1da533);if(_0x688ed0&&_0x688ed0['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3a63e8['type']&&(_0x6c2b34['isBlock'](_0x1da533)&&!_0x6c2b34['isLimit'](_0x1da533)&&(_0x1da533['nextSibling']||_0x2259a9['isAtEnd']?_0x249163&&_0x249163['parent']==_0x1da533||(_0x249163=_0x1da533,_0x3058ad(_0x3a63e8['previousPosition']),_0x2a3858=!0x0):_0x3ec30f=_0x3ec30f||_0x3a63e8['previousPosition']));}function _0x3058ad(_0x6ab636){const _0x34a24e=_0x43bd05['mapper']['toViewPosition'](_0x6ab636),_0x454007=_0x43bd05['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x475551});_0x43bd05['writer']['insert'](_0x34a24e,_0x454007),_0x43bd05['mapper']['bindElementToMarker'](_0x454007,_0x349cf3['markerName']);}_0x4caff4||_0x2a3858||!_0x3ec30f||_0x3058ad(_0x3ec30f);};}class bt extends _0x8e5b0{constructor(_0x376747){super(_0x376747);const _0x170f59=_0x376747['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x170f59,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x170f59,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x37cfd5=this['editor'],_0x3dc8f9=_0x37cfd5['plugins']['get'](d),_0x53bdc7=_0x3dc8f9['isReady']?_0x3dc8f9['diff']['newRevisionId']:null;_0x37cfd5['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x53bdc7);}['refresh'](){const {isReady:_0x28d3c1,isEnabled:_0x81d24c}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x28d3c1&&_0x81d24c;}}class yt extends _0x8e5b0{['_step'];constructor(_0x110e9e,{direction:_0x76a2ef}){super(_0x110e9e);const _0x38311=_0x110e9e['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x76a2ef?0x1:-0x1,this['listenTo'](_0x38311,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x38311,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x38311,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x31dd01=this['editor'],_0x10d36b=_0x31dd01['plugins']['get'](d),{isNavigationMode:_0x549e9a,currentChangeNumber:_0x5369e5}=_0x10d36b;let _0x28bffa;if(_0x10d36b['activeChange']=_0x549e9a?_0x10d36b['diff']['changes']['get'](_0x5369e5+this['_step']):_0x10d36b['diff']['changes']['first'],_0x10d36b['activeChange']['data']['isOnRoot'])_0x28bffa=_0x31dd01['editing']['view']['getDomRoot'](_0x10d36b['activeChange']['rootName']);else{const _0x1c157b=_0x31dd01['model']['markers']['get']('revision:'+_0x10d36b['activeChange']['id']);_0x28bffa=_0x3271cb(_0x31dd01['editing'],_0x1c157b);}_0x41fd94({'target':_0x28bffa,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1203bf,currentChangeNumber:_0xb41b69,numberOfChanges:_0x44a85c,isReady:_0x35d778,isEnabled:_0x1c1775}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1c1775&&_0x35d778&&_0x44a85c)&&(!_0x1203bf||(0x1===this['_step']?_0xb41b69<_0x44a85c-0x1:_0xb41b69>0x0));}}class _i extends _0x3165d1{constructor(_0x466ad2){super(_0x466ad2);const _0x2378ee=this['bindTemplate'],_0x547215=new _0x53da7b(_0x466ad2),_0x3a823f=new _0x53da7b(_0x466ad2);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',(_0x101828,_0x44451a)=>_0x101828&&_0x44451a>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x5f0b98,_0x74f792,_0x3c48ce,_0x583447)=>{if(!_0x5f0b98)return y(_0x466ad2,'Loading...');if(!_0x3c48ce)return y(_0x466ad2,'No\x20changes');const _0x3f9193=y(_0x466ad2,'NUMBER_OF_CHANGES',_0x3c48ce);return _0x583447?y(_0x466ad2,'X_OF_Y_CHANGES',[_0x74f792+0x1,_0x3c48ce]):_0x3f9193;}),_0x547215['set']({'label':y(_0x466ad2,'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'}),_0x3a823f['set']({'label':y(_0x466ad2,'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'}),_0x547215['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3a823f['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x547215['on']('execute',()=>this['fire']('execute','backward')),_0x3a823f['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',_0x2378ee['if']('_isStatusLabelVisible','ck-hidden',_0x558e14=>!_0x558e14)]},'children':[{'text':_0x2378ee['to']('isNavigationMode',_0xad7b26=>_0xad7b26?y(_0x466ad2,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x466ad2,'Total')+':\x20')}]},{'text':_0x2378ee['to']('_statusText')}]},new _0x9fbac0(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x547215,_0x3a823f]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1a2be0{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x5275a7=this['editor']['editing']['view'];_0x5275a7['change'](_0x18d7f3=>{for(const _0x1cc930 of _0x5275a7['document']['roots'])_0x18d7f3['addClass'](ce,_0x1cc930);});}['hide'](){const _0x2d8059=this['editor']['editing']['view'];_0x2d8059['change'](_0x2f2bbb=>{for(const _0xec39fa of _0x2d8059['document']['roots'])_0x2f2bbb['removeClass'](ce,_0xec39fa);});}}class R extends _0x1a2be0{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x7d927e=this['editor'],_0x788a51=_0x7d927e['plugins']['get'](d),_0x575f4e=_0x7d927e['plugins']['get'](de);_0x7d927e['ui']['componentFactory']['add']('exitToEditing',_0x155854=>{const _0x4bde1f=new _0x53da7b(_0x155854);return _0x4bde1f['set']({'label':y(_0x155854,'Back\x20to\x20editing'),'icon':_0x8785f0['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4bde1f,'execute',()=>{_0x7d927e['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4bde1f;}),_0x7d927e['ui']['componentFactory']['add']('restoreRevision',_0x47ab28=>{const _0x437340=new _0x53da7b(_0x47ab28);return _0x437340['set']({'label':y(_0x47ab28,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x437340['bind']('isEnabled')['to'](_0x7d927e['commands']['get']('restoreRevision')),this['listenTo'](_0x437340,'execute',()=>_0x7d927e['execute']('restoreRevision')),_0x437340;}),_0x7d927e['ui']['componentFactory']['add']('changesNavigation',_0xe99575=>{const _0x3f61cf=new _i(_0xe99575),_0x149414=_0x7d927e['commands']['get']('showPreviousChange'),_0x5648df=_0x7d927e['commands']['get']('showNextChange');return _0x3f61cf['bind']('isBackwardNavigationEnabled')['to'](_0x149414,'isEnabled'),_0x3f61cf['bind']('isForwardNavigationEnabled')['to'](_0x5648df,'isEnabled'),_0x3f61cf['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x788a51),this['listenTo'](_0x3f61cf,'execute',(_0x443c2f,_0x234dca)=>{_0x7d927e['execute']('forward'===_0x234dca?'showNextChange':'showPreviousChange');}),_0x3f61cf;}),_0x575f4e['show'](),_0x788a51['on']('change:isReady',(_0x4075ce,_0x30c582,_0x5a4df3)=>{_0x5a4df3?_0x575f4e['hide']():_0x575f4e['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x590915,_0xf3176a){super(_0x590915,_0xf3176a);const _0xdfd1bb=this['bindTemplate'];this['set']({'label':y(_0x590915,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x590915,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xdfd1bb['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 _0x1cfa2d=this['fieldView']['element'];this['_tooltipString']=_0x1cfa2d['scrollWidth']>_0x1cfa2d['clientWidth']&&_0x1cfa2d['value']||'';}}class ti extends _0x3165d1{constructor(_0x2ea18c,_0x59d3ad,_0x1474e0){super(_0x2ea18c);const _0x361e77=new _0x8be0d8();_0x361e77['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 _0x3cf738=['ck','ck-revision-history-sidebar__revision-author'];_0x1474e0&&_0x3cf738['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1b182a=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2ea18c,_0x1474e0?'Revision\x20creator':'Revision\x20author')},'children':[_0x361e77,_0x59d3ad['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x3cf738},'children':_0x1b182a});}}function ni(_0x18ce14,_0x8cfa45){const _0x4eb692=_0x18ce14['bindTemplate'],_0x514997=_0x18ce14['locale'],_0x189c42=_0x10fd7b(_0x514997);_0x189c42['panelPosition']='sw';const _0xd7c319=function(_0x348b9b,_0x47c29d){const _0x368528=function(_0x4aa1a0,_0x31ce3d){const _0x37d05e=_0x4aa1a0['locale'],_0x5aab7d={'Compare\x20against\x20selected':y(_0x37d05e,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x37d05e,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x37d05e,'Restore\x20this\x20revision')};return _0x31ce3d['map'](_0xd2e344=>{const _0x352679=_0x5aab7d[_0xd2e344['name']];return _0x352679&&_0x352679!==_0xd2e344['name']&&(_0xd2e344['name']=_0x352679),_0xd2e344;});}(_0x348b9b,_0x47c29d),_0x5642dc=new _0x4fae73();for(const _0x4c9ae4 of _0x368528){const _0x5ad61b={'type':'button','model':new to({'label':_0x4c9ae4['name'],'class':_0x4c9ae4['class'],'withText':!0x0,'role':'menuitem','_action':_0x4c9ae4['action']})};_0x5ad61b['model']['bind']('isEnabled')['to'](_0x348b9b,'isActionsDropdownOpen',_0x58338f=>'function'!=typeof _0x4c9ae4['isEnabled']||(!_0x58338f||_0x4c9ae4['isEnabled'](_0x348b9b))),_0x5642dc['add'](_0x5ad61b);}return _0x5642dc;}(_0x18ce14,_0x8cfa45);return _0x18ce14['bind']('isActionsDropdownOpen')['to'](_0x189c42,'isOpen'),_0x189c42['buttonView']['set']({'label':y(_0x514997,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x8785f0['threeVerticalDots']}),_0x189c42['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4eb692['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4eb692['to'](_0xe9b076=>_0xe9b076['stopPropagation']())}}),_0x189c42['on']('execute',_0x5e4b7b=>{_0x18ce14['isReady']&&'function'==typeof _0x5e4b7b['source']['_action']&&_0x5e4b7b['source']['_action'](_0x18ce14);}),_0x4a5947(_0x189c42,_0xd7c319,{'role':'menu'}),_0x189c42['listenTo'](_0x18ce14,'change:isActionsDropdownOpen',(_0x253189,_0x5ba080,_0x215d7f)=>{if(_0x215d7f)for(const _0x59a17f of _0x189c42['listView']['items']){const _0x52558b=_0x59a17f['children']['first'],_0x483407=_0x8cfa45['find'](_0x310000=>_0x310000['action']===_0x52558b['_action'])['isVisible'];_0x59a17f['isVisible']=void 0x0===_0x483407||_0x483407(_0x18ce14);}}),_0x189c42;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x2f8a30(_0x3165d1){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x320027,_0x7a49ef,_0x55f1fa,_0xb35016){super(_0x320027);const _0x4cbf0b=this['bindTemplate'],_0x41edb0=function(_0x23ae14,_0x59df6a){const _0x510538=Array['from'](_0x59df6a['authors'])['filter'](_0x2eca8f=>_0x2eca8f!=_0x59df6a['creator']);return _0x59df6a['creator']&&_0x510538['unshift'](_0x59df6a['creator']),_0x510538['map'](_0x3a40fc=>new ti(_0x23ae14,_0x3a40fc,_0x3a40fc==_0x59df6a['creator']));}(_0x320027,_0x7a49ef);this['id']=_0x7a49ef['id'],this['_revision']=_0x7a49ef,this['_requireRevisionName']=_0xb35016,this['bind']('name','createdAt')['to'](_0x7a49ef),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x27603c=>{return _0x46a80a=_0x320027['uiLanguage'],(_0x1a1c3e=_0x27603c)['toLocaleDateString'](_0x46a80a,{'month':'long','day':'numeric'})+',\x20'+_0x1a1c3e['toLocaleTimeString'](_0x46a80a,{'hour':'numeric','minute':'numeric'});var _0x46a80a,_0x1a1c3e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x320027,_0xfbddd4),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x664577=>_0x664577||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x417e6c,_0x58d10f)=>_0x417e6c&&_0x58d10f),this['revisionActionsView']=_0x55f1fa&&_0x55f1fa['length']?ni(this,_0x55f1fa):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4cbf0b['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4cbf0b['if']('isEnabled','ck-disabled',_0x476172=>!_0x476172),_0x4cbf0b['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4cbf0b['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4cbf0b['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':_0x4cbf0b['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':_0x41edb0}]},this['revisionActionsView']],'on':{'click':_0x4cbf0b['to'](_0xf516c1=>{_0xf516c1['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x287999=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x287999,'change',()=>{this['_requireRevisionName']&&!_0x287999['value']||this['fire']('setName',{'id':this['id'],'name':_0x287999['value']}),_0x287999['value']||(_0x287999['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(_0x58d7c5,_0x440dbb){const _0x36c151=_0x6f6604['fromJSDate'](_0x58d7c5)['setLocale'](_0x440dbb),_0x5d9e09=_0x6f6604['local'](),_0x138ce2=_0x5d9e09['minus']({'days':0x1})['startOf']('day');let _0x1cc2c2,_0x50cd1e;return _0x36c151['hasSame'](_0x5d9e09,'day')?(_0x1cc2c2=_0x36c151['startOf']('day')['toJSDate'](),_0x50cd1e=_0x36c151['toRelativeCalendar']()):_0x36c151['hasSame'](_0x138ce2,'day')?(_0x1cc2c2=_0x138ce2['toJSDate'](),_0x50cd1e=_0x36c151['toRelativeCalendar']()):_0x36c151['hasSame'](_0x5d9e09,'week')?(_0x1cc2c2=_0x36c151['startOf']('week')['toJSDate'](),_0x50cd1e=_0x36c151['weekdayLong']||''):_0x36c151['hasSame'](_0x5d9e09,'year')?(_0x1cc2c2=_0x36c151['startOf']('month')['toJSDate'](),_0x50cd1e=_0x36c151['monthLong']||''):(_0x1cc2c2=_0x36c151['startOf']('year')['toJSDate'](),_0x50cd1e=String(_0x36c151['year'])),{'startDate':_0x1cc2c2,'localizedPeriodName':_0x50cd1e};}class mi extends _0x3165d1{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x10f76d,_0x49e1e4,_0x197d4b,_0x2338f1){super(_0x10f76d);const _0x101110=di(_0x49e1e4,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x49e1e4,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x197d4b,this['_requireRevisionName']=_0x2338f1,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':_0x101110}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3fd1ef){const _0x16b106=new ai(this['locale'],_0x3fd1ef,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x16b106);}['removeRevision'](_0x42a832){const _0xe4711a=this['revisionViews']['find'](_0x23f7c7=>_0x23f7c7['id']===_0x42a832['id']);this['revisionViews']['remove'](_0xe4711a);}}class as extends _0x3165d1{constructor(_0x168004){super(_0x168004);const _0x18178f=new _0x8be0d8();_0x18178f['content']=_0x8785f0['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x18178f,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x168004,'Revision\x20history')]}]});}}class ci extends _0x3165d1{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x149731,_0x2c1f85,_0xbd0889,_0x2d8852){super(_0x149731);const _0x1f5b48=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2c1f85,this['_revisionActions']=_0xbd0889,this['_requireRevisionName']=_0x2d8852,this['on']('select',(_0x4214ad,_0x4a34c7)=>{this['fire']('revisionSelected',_0x4a34c7);}),this['on']('setName',(_0x398cd1,_0x5b4552)=>{this['fire']('revisionSetName',_0x5b4552);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x149731),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1f5b48['if']('isEnabled','ck-disabled',_0x46a9ef=>!_0x46a9ef)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4b79ae of this['_revisions'])this['_addRevision'](_0x4b79ae);this['_revisions']['on']('add',(_0x48776f,_0x12825f)=>{this['_addRevision'](_0x12825f);}),this['_revisions']['on']('remove',(_0xa0691a,_0x3ede70)=>{this['_removeRevision'](_0x3ede70);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x473caf=>_0x473caf['revisionViews']['map'](_0x4902e1=>_0x4902e1))['flat']();}['selectRevision'](_0x28f1cf){for(const _0x15598f of this['revisionViews'])_0x28f1cf&&_0x28f1cf['id']===_0x15598f['id']?_0x15598f['select']():_0x15598f['deselect']();}['highlightRevisions'](_0x412281){for(const _0x308547 of this['revisionViews'])_0x412281['some'](({id:_0x3ead3c})=>_0x3ead3c===_0x308547['id'])?_0x308547['highlight']():_0x308547['unhighlight']();}['_addRevision'](_0xce8ecd){const _0x448e89=di(_0xce8ecd['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x186d39=this['timePeriodViews']['get'](0x0);_0x186d39&&_0x186d39['startDate']['getTime']()===_0x448e89['getTime']()||(_0x186d39=new mi(this['locale'],_0x448e89,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x186d39)),_0x186d39['addRevision'](_0xce8ecd);}['_removeRevision'](_0x4322dd){const _0x2f66fd=di(_0x4322dd['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x2f66fd)['removeRevision'](_0x4322dd);}['_getTimePeriodViewByStartDate'](_0x4a8336){return this['timePeriodViews']['find'](_0x47686e=>_0x47686e['startDate']['getTime']()===_0x4a8336['getTime']());}}class w extends _0x1a2be0{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x57f998,Context as _0x1ca375,PendingActions as _0x33871c,icons as _0x1f4cfb,Command as _0x52c898,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x42a55c,uid as _0x2b75d5,Collection as _0x1f6837,logWarning as _0x51fa1e,FocusTracker as _0x2a9d19,KeystrokeHandler as _0x15f532,scrollViewportToShowTarget as _0xbf812d,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x4807e4}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x7b6dd2,getMarkerDomElement as _0x3079d4,ConfirmMixin as _0x107083,sanitizeEditorConfig as _0x402ae8}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x5bf439,ViewText as _0x37320c,ViewElement as _0x20bbdf,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0xedf7c0,ViewAttributeElement as _0x180493,ViewEmptyElement as _0x2a4bdb,ViewRawElement as _0x1ae19e,ViewUIElement as _0x5ee997,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x129cb2,set as _0x50e4e8,unset as _0x299735,isEqual as _0x31fa27}from'lodash-es';import{View as _0x1518ca,injectCssTransitionDisabler as ts,submitHandler as _0xfd8115,LabeledFieldView as at,createLabeledInputText as _0x4fa73f,createDropdown as _0x1e95cb,ListView as te,ListItemView as _0x5e7f2e,ButtonView as _0x256ed3,MenuBarMenuView as _0x14844d,MenuBarMenuListView as _0x39f7b2,MenuBarMenuListItemView as _0x1f3f23,MenuBarMenuListItemButtonView as _0xfcbd9,ContextualBalloon as _0x21ddb0,ToolbarSeparatorView as _0x34adea,IconView as _0x3de5c6,addListToDropdown as _0x2cfe1c,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 _0x538fe4}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x42a55c(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x5ad25e){super(),this['id']=_0x5ad25e['id']||_0x2b75d5(),this['creator']=_0x5ad25e['creator']||null,this['authors']=_0x5ad25e['authors']||[],this['diffData']=_0x5ad25e['diffData']||null,this['toVersion']=_0x5ad25e['toVersion']||0x0,this['fromVersion']=_0x5ad25e['fromVersion']||0x0,this['set']('name',_0x5ad25e['name']||''),this['set']('createdAt',_0x5ad25e['createdAt']||new Date()),this['set']('attributes',_0x5ad25e['attributes']||{});}['setName'](_0x3b3f7e){this['_update']({'name':_0x3b3f7e});}['setAttribute'](_0x4c1230,_0x266b3a){const _0x3fbced=_0x129cb2(this['attributes']);_0x50e4e8(_0x3fbced,_0x4c1230,_0x266b3a),this['_update']({'attributes':_0x3fbced});}['removeAttribute'](_0x491b65){const _0xb29eeb=_0x129cb2(this['attributes']);_0x299735(_0xb29eeb,_0x491b65),this['_update']({'attributes':_0xb29eeb});}['_update'](_0x356164,_0x4f4da3=!0x1){let _0xf1414b=!0x1;const _0x44dea7={'id':this['id']},_0x5754d6=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5cb5ee of _0x5754d6){const _0x114ca9=_0x356164[_0x5cb5ee];void 0x0!==_0x114ca9&&_0x114ca9!==this[_0x5cb5ee]&&(this[_0x5cb5ee]=_0x114ca9,_0x44dea7[_0x5cb5ee]=_0x114ca9,_0xf1414b=!0x0);}_0xf1414b&&(_0x44dea7['authors']&&(_0x44dea7['authorsIds']=_0x44dea7['authors']['map'](_0x2ce5a3=>_0x2ce5a3['id']),delete _0x44dea7['authors']),this['fire']('_update',_0x44dea7,_0x4f4da3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x45de33=>_0x45de33['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x57f998{['_revisions'];static get['requires'](){return[_0x7b6dd2];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x337c74){super(_0x337c74),this['_revisions']=new _0x1f6837();}['afterInit'](){!function(_0x3cd947){function _0x7ebe82(_0x32abbc,_0x5d5883,_0x2d08c8){const _0x5d85f0={};_0x5d85f0[_0x4185ed([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5d85f0[_0x4185ed([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],_0x5d85f0[_0x4185ed([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],_0x5d85f0[_0x4185ed([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],_0x5d85f0[_0x4185ed([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],_0x5d85f0[_0x4185ed([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],_0x5d85f0[_0x4185ed([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],_0x5d85f0[_0x4185ed([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],_0x5d85f0[_0x4185ed([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],_0x5d85f0[_0x4185ed([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],_0x5d85f0[_0x4185ed([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 _0x335123=new Uint8Array(0x10);for(let _0x2de041=0xf;_0x2de041>=0x0;--_0x2de041)_0x335123[_0x2de041]=_0x2d08c8%0x100,_0x2d08c8=parseInt(_0x2d08c8/0x100);let _0x176927=null,_0xdf4439=0x10;const _0x51a38c=new Uint8Array(_0x5d5883),_0x2fe22e=[],_0x30722a=[];_0x9a8a81();for(let _0x319ab0=0x0;_0x319ab0<_0x32abbc[_0x4185ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x319ab0++)0x10===_0xdf4439&&(_0x176927=_0x5209a9(_0x335123),_0xdf4439=0x0,_0x192cdd(_0x335123)),_0x32abbc[_0x319ab0]^=_0x176927[_0xdf4439++];return _0x32abbc;function _0x70e9ba(_0x2193a2){const _0x5bb022=[];for(let _0x14ca7d=0x0;_0x14ca7d<_0x2193a2[_0x4185ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x14ca7d+=0x4)_0x5bb022[_0x4185ed([0x70,0x75,0x73,0x68])](_0x2193a2[_0x14ca7d]<<0x18|_0x2193a2[_0x14ca7d+0x1]<<0x10|_0x2193a2[_0x14ca7d+0x2]<<0x8|_0x2193a2[_0x14ca7d+0x3]);return _0x5bb022;}function _0x192cdd(_0x2856ef){for(let _0x5f193b=0xf;_0x5f193b>=0x0;_0x5f193b--){if(0xff!==_0x2856ef[_0x5f193b]){_0x2856ef[_0x5f193b]++;break;}_0x2856ef[_0x5f193b]=0x0;}}function _0x5209a9(_0x555dd5){const _0x599cbf=_0x2fe22e[_0x4185ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4e6307=[0x0,0x0,0x0,0x0];let t=_0x70e9ba(_0x555dd5);for(let _0x54998d=0x0;_0x54998d<0x4;_0x54998d++)t[_0x54998d]^=_0x2fe22e[0x0][_0x54998d];for(let _0x53da83=0x1;_0x53da83<_0x599cbf;_0x53da83++){for(let _0x2ef164=0x0;_0x2ef164<0x4;_0x2ef164++)_0x4e6307[_0x2ef164]=_0x5d85f0[_0x4185ed([0x54,0x31])][t[_0x2ef164]>>0x18&0xff]^_0x5d85f0[_0x4185ed([0x54,0x32])][t[(_0x2ef164+0x1)%0x4]>>0x10&0xff]^_0x5d85f0[_0x4185ed([0x54,0x33])][t[(_0x2ef164+0x2)%0x4]>>0x8&0xff]^_0x5d85f0[_0x4185ed([0x54,0x34])][0xff&t[(_0x2ef164+0x3)%0x4]]^_0x2fe22e[_0x53da83][_0x2ef164];t=_0x4e6307[_0x4185ed([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1fdd2e=new Uint8Array(0x10);let _0x24a109;for(let _0x1c3001=0x0;_0x1c3001<0x4;_0x1c3001++)_0x24a109=_0x2fe22e[_0x599cbf][_0x1c3001],_0x1fdd2e[0x4*_0x1c3001]=0xff&(_0x5d85f0[_0x4185ed([0x53])][t[_0x1c3001]>>0x18&0xff]^_0x24a109>>0x18),_0x1fdd2e[0x4*_0x1c3001+0x1]=0xff&(_0x5d85f0[_0x4185ed([0x53])][t[(_0x1c3001+0x1)%0x4]>>0x10&0xff]^_0x24a109>>0x10),_0x1fdd2e[0x4*_0x1c3001+0x2]=0xff&(_0x5d85f0[_0x4185ed([0x53])][t[(_0x1c3001+0x2)%0x4]>>0x8&0xff]^_0x24a109>>0x8),_0x1fdd2e[0x4*_0x1c3001+0x3]=0xff&(_0x5d85f0[_0x4185ed([0x53])][0xff&t[(_0x1c3001+0x3)%0x4]]^_0x24a109);return _0x1fdd2e;}function _0x9a8a81(){const _0x3ce463=_0x5d85f0[_0x4185ed([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x51a38c[_0x4185ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x15bb6c=0x0;_0x15bb6c<=_0x3ce463;_0x15bb6c++)_0x2fe22e[_0x4185ed([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x30722a[_0x4185ed([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x42af08=0x4*(_0x3ce463+0x1),_0x31df85=_0x51a38c[_0x4185ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x1187fb=_0x70e9ba(_0x51a38c);let _0x2e0268;for(let _0xb971d=0x0;_0xb971d<_0x31df85;_0xb971d++)_0x2e0268=_0xb971d>>0x2,_0x2fe22e[_0x2e0268][_0xb971d%0x4]=_0x1187fb[_0xb971d],_0x30722a[_0x3ce463-_0x2e0268][_0xb971d%0x4]=_0x1187fb[_0xb971d];let _0x169f96,_0x552b1f=0x0,t=_0x31df85;for(;t<_0x42af08;){_0x169f96=_0x1187fb[_0x31df85-0x1],_0x1187fb[0x0]^=_0x5d85f0[_0x4185ed([0x53])][_0x169f96>>0x10&0xff]<<0x18^_0x5d85f0[_0x4185ed([0x53])][_0x169f96>>0x8&0xff]<<0x10^_0x5d85f0[_0x4185ed([0x53])][0xff&_0x169f96]<<0x8^_0x5d85f0[_0x4185ed([0x53])][_0x169f96>>0x18&0xff]^_0x5d85f0[_0x4185ed([0x72,0x63,0x6f,0x6e])][_0x552b1f]<<0x18,_0x552b1f+=0x1;for(let _0x9a0096=0x1;_0x9a0096<_0x31df85/0x2;_0x9a0096++)_0x1187fb[_0x9a0096]^=_0x1187fb[_0x9a0096-0x1];_0x169f96=_0x1187fb[_0x31df85/0x2-0x1],_0x1187fb[_0x31df85/0x2]^=_0x5d85f0[_0x4185ed([0x53])][0xff&_0x169f96]^_0x5d85f0[_0x4185ed([0x53])][_0x169f96>>0x8&0xff]<<0x8^_0x5d85f0[_0x4185ed([0x53])][_0x169f96>>0x10&0xff]<<0x10^_0x5d85f0[_0x4185ed([0x53])][_0x169f96>>0x18&0xff]<<0x18;for(let _0x219c08=_0x31df85/0x2+0x1;_0x219c08<_0x31df85;_0x219c08++)_0x1187fb[_0x219c08]^=_0x1187fb[_0x219c08-0x1];let _0x83cf9b,_0x2e4002,_0x33b62b=0x0;for(;_0x33b62b<_0x31df85&&t<_0x42af08;)_0x83cf9b=t>>0x2,_0x2e4002=t%0x4,_0x2fe22e[_0x83cf9b][_0x2e4002]=_0x1187fb[_0x33b62b],_0x30722a[_0x3ce463-_0x83cf9b][_0x2e4002]=_0x1187fb[_0x33b62b++],t++;}for(let _0x5a1f90=0x1;_0x5a1f90<_0x3ce463;_0x5a1f90++)for(let _0x20580b=0x0;_0x20580b<0x4;_0x20580b++)_0x169f96=_0x30722a[_0x5a1f90][_0x20580b],_0x30722a[_0x5a1f90][_0x20580b]=_0x5d85f0[_0x4185ed([0x55,0x31])][_0x169f96>>0x18&0xff]^_0x5d85f0[_0x4185ed([0x55,0x32])][_0x169f96>>0x10&0xff]^_0x5d85f0[_0x4185ed([0x55,0x33])][_0x169f96>>0x8&0xff]^_0x5d85f0[_0x4185ed([0x55,0x34])][0xff&_0x169f96];}}function _0x4185ed(_0x11d1b2){return _0x11d1b2['map'](_0x51d895=>String['fromCharCode'](_0x51d895))['join']('');}(_0x318431=>{function _0x550d05(){const _0x446690=[{[_0x4185ed([0x69,0x64])]:0x1,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4185ed([0x69,0x64])]:0x2,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([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]),[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4185ed([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4185ed([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4185ed([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4185ed([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4185ed([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4185ed([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4185ed([0x69,0x64])]:0x3,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4185ed([0x69,0x64])]:0x4,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([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]),[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4185ed([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4185ed([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4185ed([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4185ed([0x69,0x64])]:0x5,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([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]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4185ed([0x66,0x67,0x69])]:[0xc]}},{[_0x4185ed([0x69,0x64])]:0x6,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4185ed([0x66,0x67,0x69])]:[0xc]}},{[_0x4185ed([0x69,0x64])]:0x7,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4185ed([0x66,0x67,0x69])]:[0xc]}},{[_0x4185ed([0x69,0x64])]:0x8,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([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]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4185ed([0x66,0x67,0x69])]:[0xc]}},{[_0x4185ed([0x69,0x64])]:0x9,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4185ed([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4185ed([0x69,0x64])]:0xa,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([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]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([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]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([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]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4185ed([0x66,0x67,0x69])]:[0xc]}},{[_0x4185ed([0x69,0x64])]:0xb,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4185ed([0x69,0x64])]:0xc,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4185ed([0x69,0x64])]:0xd,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4185ed([0x66,0x67,0x69])]:[0xc]}},{[_0x4185ed([0x69,0x64])]:0xe,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4185ed([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([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])},{[_0x4185ed([0x69,0x64])]:0xf,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4185ed([0x69,0x64])]:0x10,[_0x4185ed([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4185ed([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4185ed([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4185ed([0x66,0x67,0x69])]:[0xc]}}];return _0x4a351a(_0x446690),_0x446690;function _0x5cc2b7(_0x4a04a9){return 0x1<<_0x4a04a9-0x1;}function _0x4a351a(_0x31a99d){_0x31a99d[_0x4185ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5eef5c=>{_0x5eef5c[_0x4185ed([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x5cc2b7(_0x5eef5c[_0x4185ed([0x69,0x64])]),_0x33f513(_0x5eef5c)&&_0x5eef5c[_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4a351a(_0x5eef5c[_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x33f513(_0x4000da){return _0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4000da;}const _0x16626a=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x208ba6=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x54a0b8(_0x33282b){const _0x5c3f5c=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x948949(_0x33282b,new Uint8Array([..._0x16626a,..._0x5c3f5c,..._0x208ba6]));}function _0x948949(_0x2ddb45,_0x33e8cb){const _0x254647=_0x292086(_0x2ddb45),_0x49ab25=Array[_0x4185ed([0x66,0x72,0x6f,0x6d])](_0x564f0a(_0x254647)),_0x6b4d6f=_0x49ab25[_0x4185ed([0x70,0x6f,0x70])](),_0x4500a6=_0x49ab25[_0x4185ed([0x70,0x6f,0x70])]();return _0x16b5d3(_0x7ebe82(_0x49ab25,_0x33e8cb,_0x4500a6+0x100*_0x6b4d6f));}function _0x292086(_0x50b323){const _0x29ec37=atob(_0x50b323),[_0x3ee829,_0x479c5f]=_0x29ec37[_0x4185ed([0x73,0x70,0x6c,0x69,0x74])](_0x4185ed([0x2d]));try{if(atob(_0x479c5f))return atob(_0x3ee829);}catch(_0x2f1cad){}return _0x29ec37;}function _0x16977d(_0x3536fe){try{const _0x4b83db=_0x54a0b8(_0x3536fe),_0x245aa3=JSON[_0x4185ed([0x70,0x61,0x72,0x73,0x65])](_0x4b83db),_0x4d7233=parseInt(_0x245aa3[_0x4185ed([0x31])]),_0x21f5d0=_0x245aa3[_0x4185ed([0x32])]||'',_0x2f5443=parseInt(_0x245aa3[_0x4185ed([0x33])]),_0x507b2b=parseInt(_0x245aa3[_0x4185ed([0x34])])||0x0,_0x373f08=parseInt(_0x245aa3[_0x4185ed([0x35])])||0x0;return{[_0x4185ed([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x21f5d0,[_0x4185ed([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x507b2b,[_0x4185ed([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4d7233,[_0x4185ed([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2f5443,[_0x4185ed([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x373f08};}catch(_0x4e5fe0){return null;}}const _0x781e66=_0x550d05(),_0x4e928a={[_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x400563,[_0x4185ed([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])]:_0x50725d,[_0x4185ed([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])]:_0x163b92},_0x2729f6=_0x318431[_0x4185ed([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x8696b0=_0x4185ed([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x318431?_0x318431['context']:_0x318431['editor'],_0x2e501a=_0x4185ed([0x34,0x30,0x34,0x38,0x31,0x32,0x32,0x38]),_0x40784e=_0x4185ed([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]),_0x3018cd=_0x8696b0['config']['get'](_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x293e21=_0x781e66[_0x4185ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33f513)[_0x4185ed([0x66,0x69,0x6e,0x64])](_0x57ff43=>_0x57ff43[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2729f6);function _0x3359a3(_0x5c3196,_0x19e221){_0x4e928a[_0x19e221[_0x4185ed([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5c3196,_0x19e221),_0x19e221[_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x19e221[_0x4185ed([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4185ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35e0ef=>_0x7e31e1(_0x8696b0,_0x35e0ef[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4185ed([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x17edf2=>_0x3359a3(_0x5c3196,_0x17edf2));}function _0x400563(_0x515294,_0x133fcb){_0x4c2ad9(_0x2c7009(_0x515294,_0x133fcb),_0x133fcb);}function _0x50725d(_0x502434,_0xa4a687){function _0x34fd00(_0x3325db,_0x2ad976){try{if(_0x7e31e1(_0x8696b0,_0x4185ed([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3325db){const _0x54aa01=_0x3ceac0(_0x8696b0,_0x4185ed([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4185ed([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x54aa01)/0x2>_0x3325db[_0x4185ed([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x45025f(_0x2ad976[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2c7009(_0x3325db,_0x2ad976);}catch(_0x20a3dc){return _0x45025f(_0x2ad976[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x4c2ad9(_0x34fd00(_0x502434,_0xa4a687),_0xa4a687);}function _0x163b92(_0x5566a4,_0x2182d4){const _0x233724=_0x208ba6[0x0]*_0x16626a[0x1],_0x6311da=_0x208ba6[0x0]*_0x16626a[0x2],_0x2ee4a1=_0x208ba6[0x2]*_0x16626a[0x2];_0x7e31e1(_0x8696b0,_0x4185ed([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3ceac0(_0x8696b0,_0x4185ed([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4185ed([0x73,0x74,0x61,0x74,0x65])]==_0x4185ed([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x5e48cb()]=_0x2ee4a1);function _0x5a3bd7(_0x59c2d7,_0x36af69){try{return _0x272fa1()?_0x45025f(_0x36af69[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x56,0x61,0x6c,0x69,0x64])):_0x2c7009(_0x59c2d7,_0x36af69);}catch(_0x59bea3){return _0x45025f(_0x36af69[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x16d30c(_0x175522,_0x362979){const _0x76f0bb=0x7;if(_0x175522==_0x362979[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x487e7e();else{if(_0x175522==_0x362979[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x54,0x72,0x69,0x61,0x6c])){const _0x2c20f0=_0x41bf19();_0x2c20f0&&_0x2278a3(_0x2c20f0,_0x362979[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x37ae78=_0x2d7406();window[_0x4185ed([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2278a3(_0x4185ed([0x74,0x69,0x6d,0x65]),_0x362979[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x37ae78);const _0x1d30dd=_0x3ceac0(_0x8696b0,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4185ed([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1d30dd[_0x4185ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x76f0bb?_0x2278a3(_0x4185ed([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x362979[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1d30dd['on'](_0x4185ed([0x61,0x64,0x64]),()=>{_0x1d30dd[_0x4185ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x76f0bb&&_0x2278a3(_0x4185ed([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x362979[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x41bf19(){if(!_0x7e31e1(_0x8696b0,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x553cc2 in window)if(Number['isNaN'](Number(_0x553cc2))){if(window[_0x553cc2]===_0x233724)return _0x4185ed([0x74,0x69,0x6d,0x65]);if(window[_0x553cc2]===_0x6311da)return _0x4185ed([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x272fa1(){if(!_0x7e31e1(_0x8696b0,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x332528 in window)if(Number['isNaN'](Number(_0x332528))&&window[_0x332528]===_0x2ee4a1)return!0x0;return!0x1;}function _0x2278a3(_0x12d3e1,_0x4f309f){_0x487e7e(),_0x45025f(_0x4f309f+_0x4185ed([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x12d3e1),window[_0x5e48cb()]=_0x12d3e1===_0x4185ed([0x74,0x69,0x6d,0x65])?_0x233724:_0x6311da;}function _0x2d7406(){let _0x4a7e1f=_0x208ba6[0x6]*_0x16626a[0x8]*_0x16626a[0x6];return _0x7e31e1(_0x8696b0,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4a7e1f/=0xa),_0x4a7e1f;}function _0x487e7e(){const _0x133db1=_0x8696b0;function _0x23202d(){_0x7e31e1(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x3ceac0(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4185ed([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4185ed([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3ceac0(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4185ed([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3ceac0(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4185ed([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x148e4c,_0x3ceac0(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4185ed([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x148e4c,_0x133db1[_0x4185ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x4185ed([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x148e4c,_0x133db1[_0x4185ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x4185ed([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x148e4c,_0x133db1[_0x4185ed([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4185ed([0x6d,0x6f,0x64,0x65,0x6c]))),_0x7e31e1(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3ceac0(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4185ed([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4185ed([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3ceac0(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4185ed([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3ceac0(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4185ed([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x148e4c,_0x3ceac0(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4185ed([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x148e4c);}_0x133db1[_0x4185ed([0x73,0x74,0x61,0x74,0x65])]==_0x4185ed([0x72,0x65,0x61,0x64,0x79])?_0x23202d():_0x133db1[_0x4185ed([0x6f,0x6e,0x63,0x65])](_0x4185ed([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x7e31e1(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x23202d(),_0x7e31e1(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1da74c=_0x3ceac0(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4706f2=_0x1da74c['getRevision'](0x0),_0x1728f9=_0x1da74c['getEarlierVisibleRevision'](_0x4706f2[_0x4185ed([0x69,0x64])]);_0x3ceac0(_0x133db1,_0x4185ed([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4185ed([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4706f2[_0x4185ed([0x69,0x64])],_0x1728f9?_0x1728f9[_0x4185ed([0x69,0x64])]:null,0x1)['then'](()=>_0x23202d());}});}_0x16d30c(_0x5a3bd7(_0x5566a4,_0x2182d4),_0x2182d4);}function _0x2c7009(_0x119b9b,_0x5838a3){try{return _0x436fac(_0x5838a3)?_0x45025f(_0x5838a3[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x56,0x61,0x6c,0x69,0x64])):_0x119b9b&&_0xa4b56b(_0x119b9b[_0x4185ed([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5838a3)?_0x119b9b[_0x4185ed([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4185ed([0x6f,0x70,0x65,0x6e])][_0x4185ed([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x2e501a)/0x2>_0x119b9b[_0x4185ed([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x45025f(_0x5838a3[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x119b9b[_0x4185ed([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x45025f(_0x5838a3[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x54,0x72,0x69,0x61,0x6c])):_0x45025f(_0x5838a3[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x56,0x61,0x6c,0x69,0x64])):_0x45025f(_0x5838a3[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1242c1){return _0x45025f(_0x5838a3[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4c2ad9(_0x58b3b6,_0x53329a){if(_0x8696b0 instanceof _0x1ca375){const _0xdc4e87=_0x8696b0;_0x58b3b6==_0x53329a[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xc43791(_0xdc4e87):_0x58b3b6==_0x53329a[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4185ed([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xc43791(_0xdc4e87),_0x45025f(_0x53329a[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x208ba6[0x6]*_0x16626a[0x8]*_0x16626a[0x6]),_0xdc4e87[_0x4185ed([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4185ed([0x6f,0x6e])](_0x4185ed([0x61,0x64,0x64]),(_0x212396,_0x23aa97)=>{_0x58b3b6!=_0x53329a[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x58b3b6!=_0x53329a[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x58b3b6!=_0x53329a[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xd4cc7a(_0x23aa97);});}else{const _0x2e6127=_0x8696b0;_0x58b3b6==_0x53329a[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xd4cc7a(_0x2e6127):_0x58b3b6==_0x53329a[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x54,0x72,0x69,0x61,0x6c])&&_0x2e6127[_0x4185ed([0x6f,0x6e])](_0x4185ed([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x22e7fc=0x0;_0x2e6127[_0x4185ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x4185ed([0x6f,0x6e])](_0x4185ed([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x269a94,_0x4d3b02)=>{_0x4d3b02[0x0][_0x4185ed([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22e7fc++,0x1f8===_0x22e7fc&&(_0xd4cc7a(_0x2e6127),_0x45025f(_0x53329a[_0x4185ed([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4185ed([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x269a94[_0x4185ed([0x6f,0x66,0x66])]());},{'priority':_0x4185ed([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x45025f(_0x13375b){const _0x4c8390=_0x5e48cb();return _0x8696b0[_0x4c8390]=_0x13375b,_0x13375b;}function _0x5e48cb(){const _0x22cd66=String(window[_0x4185ed([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4185ed([0x6e,0x6f,0x77])]())[_0x4185ed([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4185ed([0x2e]),'');let _0x138b57='';for(let _0x225cac=0x0;_0x225cac<_0x22cd66[_0x4185ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x225cac+=0x2){let _0x5f5b7b=parseInt(_0x22cd66[_0x4185ed([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x225cac,_0x225cac+0x2));_0x5f5b7b>=_0x40784e[_0x4185ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5f5b7b-=_0x40784e[_0x4185ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x138b57+=_0x40784e[_0x5f5b7b];}return _0x138b57;}function _0xc43791(_0x50ac2a){for(const _0x9872a1 of _0x50ac2a[_0x4185ed([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xd4cc7a(_0x9872a1);_0x3ceac0(_0x50ac2a,_0x4185ed([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4185ed([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x3ceac0(_0x50ac2a,_0x4185ed([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4185ed([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x148e4c;}function _0xd4cc7a(_0x3130b6){function _0x493418(){_0x3130b6[_0x4185ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x4185ed([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x148e4c,_0x3130b6[_0x4185ed([0x6d,0x6f,0x64,0x65,0x6c])][_0x4185ed([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x148e4c,_0x3130b6[_0x4185ed([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4185ed([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3130b6[_0x4185ed([0x73,0x74,0x61,0x74,0x65])]==_0x4185ed([0x72,0x65,0x61,0x64,0x79])?_0x493418():_0x3130b6[_0x4185ed([0x6f,0x6e,0x63,0x65])](_0x4185ed([0x72,0x65,0x61,0x64,0x79]),()=>_0x493418());}function _0x148e4c(){return null;}function _0xa4b56b(_0x1eaccc,_0x2c7947){const _0x50e55c=!!(_0x1eaccc&_0x2c7947[_0x4185ed([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x45136d=_0x12d7aa(_0x1eaccc,_0x2c7947);return _0x50e55c||_0x45136d;}function _0x12d7aa(_0x397bcb,_0x734308){const _0x5c297b=(_0x734308[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4185ed([0x66,0x67,0x69])]||null;return!!_0x5c297b&&_0x781e66[_0x4185ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2a0d83=>_0x5c297b[_0x4185ed([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2a0d83[_0x4185ed([0x69,0x64])]))[_0x4185ed([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26d78b=>!_0x57348e(_0x26d78b))[_0x4185ed([0x73,0x6f,0x6d,0x65])](_0xb796f1=>!!(_0x397bcb&_0xb796f1[_0x4185ed([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x57348e(_0x43bbc1){const _0x156836={[_0x4185ed([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])]:_0x2b9104};return!!_0x43bbc1['forbiddenHandler']&&_0x156836[_0x43bbc1['forbiddenHandler']]();}function _0x2b9104(){return!window[_0x4185ed([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x7e31e1(_0x8696b0,_0x4185ed([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x436fac(_0x245fa2){if(!_0x7e31e1(_0x8696b0,_0x245fa2[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0xd01797=_0x245fa2[_0x4185ed([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x242e64=_0xd01797[_0x4185ed([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xdd8c80=_0xd01797[_0x4185ed([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0xc8e438=_0xd01797[_0x4185ed([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x7e31e1(_0x8696b0,_0x4185ed([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3ceac0(_0x8696b0,_0x4185ed([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4185ed([0x73,0x74,0x61,0x74,0x65])]==_0x4185ed([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x242e64)return!0x0;if(_0x7e31e1(_0x8696b0,_0x4185ed([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x3ceac0(_0x8696b0,_0x4185ed([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4185ed([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4185ed([0x65,0x6e,0x64])&&_0xdd8c80)return!0x0;return!(!_0x7e31e1(_0x8696b0,_0x4185ed([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]))||_0x3ceac0(_0x8696b0,_0x4185ed([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]))[_0x4185ed([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4185ed([0x65,0x6e,0x64])||!_0xc8e438);}function _0x7e31e1(_0x4f1121,_0x5ee7af){return _0x4f1121[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4185ed([0x68,0x61,0x73])](_0x5ee7af);}function _0x3ceac0(_0x1bec42,_0x1a0e1a){return _0x1bec42[_0x4185ed([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4185ed([0x67,0x65,0x74])](_0x1a0e1a);}function _0x16b5d3(_0x38503e){let _0x3ba93a='';for(const _0x40b53a of _0x38503e)_0x3ba93a+=String[_0x4185ed([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x40b53a);return _0x3ba93a;}function _0x564f0a(_0x995d7b){const _0x362183=new Uint8Array(_0x995d7b[_0x4185ed([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x23a8d5=0x0;_0x23a8d5<_0x995d7b[_0x4185ed([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23a8d5++)_0x362183[_0x23a8d5]=_0x995d7b[_0x4185ed([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23a8d5);return _0x362183;}_0x293e21&&_0x3359a3(_0x16977d(_0x3018cd),_0x293e21);})(_0x3cd947);}(this);}['createRevision'](_0x41921c){const _0x1d8202=this['editor']['plugins']['get']('Users');return new a({'id':_0x41921c['id'],'name':_0x41921c['name'],'creator':_0x41921c['creatorId']?_0x1d8202['getUser'](_0x41921c['creatorId']):null,'diffData':_0x41921c['diffData']||_0x41921c['data'],'authors':_0x41921c['authorsIds']['map'](_0x13912b=>_0x1d8202['getUser'](_0x13912b)),'createdAt':new Date(_0x41921c['createdAt']),'attributes':_0x41921c['attributes'],'fromVersion':_0x41921c['fromVersion'],'toVersion':_0x41921c['toVersion']});}['addRevision'](_0x382509,_0x1e10b3=0x0){this['_revisions']['add'](_0x382509,_0x1e10b3);}['getRevision'](_0x514c4a){return this['_revisions']['get'](_0x514c4a);}['getRevisions'](_0x589825={'toJSON':!0x1}){const _0x2d1b8c=Array['from'](this['_revisions']);return _0x2d1b8c['reverse'](),_0x589825['toJSON']?_0x2d1b8c['map'](_0x8eeedd=>_0x8eeedd['toJSON']()):_0x2d1b8c;}['getIndex'](_0x3f26cd){return this['_revisions']['getIndex'](_0x3f26cd);}['getEarlierVisibleRevision'](_0x2f0887){const [,_0x314a4d]=this['getRevisionsIterator'](_0x2f0887,{'direction':'earlier'});return _0x314a4d;}['getLaterVisibleRevision'](_0x92ab3f){const [,_0x1ba3e5]=this['getRevisionsIterator'](_0x92ab3f,{'direction':'later'});return _0x1ba3e5;}['getRevisionsInDiff'](_0x313322){const _0x26a56b=[];for(const _0x5e178d of this['getRevisionsIterator'](_0x313322['newRevisionId']))if(_0x26a56b['push'](_0x5e178d),_0x5e178d['id']===_0x313322['oldRevisionId'])break;return _0x26a56b;}*['getRevisionsIterator'](_0x3f9189,{direction:_0x400b94='earlier',filter:_0x3f6842=_0x259943=>!0x0}={}){const _0x1515ea='earlier'===_0x400b94?0x1:-0x1;let _0x5ee480=this['_revisions']['get'](_0x3f9189),_0x38a7c1=this['getIndex'](_0x5ee480);for(yield _0x5ee480;_0x5ee480;){if(_0x38a7c1+=_0x1515ea,_0x5ee480=this['getRevision'](_0x38a7c1),!_0x5ee480)return;_0x3f6842(_0x5ee480)&&(yield _0x5ee480);}}}function y(_0x2d81f9,_0xd26d6,_0x45287e){const t=_0x2d81f9['t'];switch(_0xd26d6){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'},_0x45287e);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x45287e);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':_0xedf7c0,'a':_0x180493,'e':_0x2a4bdb,'r':_0x1ae19e,'u':_0x5ee997};class l extends _0x57f998{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x7b6dd2,A,_0x33871c];}constructor(_0xb6ebe){super(_0xb6ebe),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 _0xe5a726=_0x2b75d5();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0xe5a726},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 _0x429e8d=this['repository']['getRevision'](0x0),_0x4f3a01=_0x429e8d&&null===_0x429e8d['creator']?_0x429e8d:null;if(this['_continueCurrentRevision']=!!_0x4f3a01&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2320f6=this['_source']['getCurrentRevisionId'](),_0x596006=this['repository']['getRevision'](_0x2320f6);if(_0x596006)this['_startingVersion']=_0x596006['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x44dd6d=this['_source']['history']['_operations']['find'](_0x48d827=>!_0x48d827['_isInit']),_0x394534=_0x44dd6d?_0x44dd6d['baseVersion']:this['_source']['history']['version'];_0x429e8d?(_0x429e8d['toVersion']<_0x394534&&_0x429e8d['_update']({'toVersion':_0x394534}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4f3a01['id'],this['_startingVersion']=_0x4f3a01['fromVersion']):(this['_startingVersion']=_0x429e8d['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x394534,this['_continueCurrentRevision']=!0x1);}}else _0x4f3a01&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4f3a01['toVersion'],this['editor']['model']['document']['history']['version']),_0x4f3a01['fromVersion']===_0x4f3a01['toVersion']?(0x0!==_0x4f3a01['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4f3a01['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4f3a01['id'],this['_startingVersion']=_0x4f3a01['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',_0x3318e7=>!_0x3318e7);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x172dd6=this['repository']['getRevision'](0x0),_0x3b87ab=await this['getRevisionDocumentData'](_0x172dd6),_0x13aaea=await this['getRevisionRootsAttributes'](_0x172dd6);this['_replaceEditorDataWithRevisionData'](_0x3b87ab,_0x13aaea);}}['setSource'](_0x785744){this['_source']=_0x785744;}async['update'](){const _0x418873=await this['_source']['getLatestVersion']();if(_0x418873>this['currentRevision']['toVersion']){await this['_loadState']();const _0xc6e6a4=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x418873});_0xc6e6a4['authors']=_0xc6e6a4['authorsIds']['map'](_0x331a04=>this['editor']['plugins']['get']('Users')['getUser'](_0x331a04)),this['currentRevision']['_update'](_0xc6e6a4);}}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'](_0x26c31e={},_0x1b8397=null){const _0x8aadfe=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1b8397>this['currentRevision']['toVersion']&&(_0x1b8397=null),null===_0x1b8397&&(_0x1b8397=await this['_source']['getLatestVersion']());const _0x291fec=this['_getFromVersion'](_0x1b8397),_0x9f50eb=this['buildRevisionData']({'from':_0x291fec,'to':_0x1b8397});if(this['currentRevision']['toVersion']<_0x1b8397){const _0x3f2468=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1b8397,'to':_0x1b8397});_0x3f2468['authors']=[],_0x3f2468['authorsIds']=[],_0x3f2468['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x3f2468,!0x0),delete _0x3f2468['authors'],_0x8aadfe['push'](_0x3f2468);}_0x26c31e['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x26c31e['name']=_0x26c31e['name']||null,_0x26c31e['id']=_0x26c31e['id']||_0x2b75d5(),_0x26c31e={..._0x26c31e,..._0x9f50eb};const _0x1e62ae=this['addRevisionData'](_0x26c31e);_0x8aadfe['push'](_0x26c31e);const _0x112434=this['repository']['getIndex'](_0x1e62ae);if(0x0!==_0x112434){const _0x9b89e6=this['repository']['getRevision'](_0x112434-0x1);if(_0x9b89e6['fromVersion']!==_0x1b8397){const _0x36386c=this['_revisionDataBuilder']['getData'](_0x1b8397,_0x9b89e6['toVersion']),_0x1dcdd9={'id':_0x9b89e6['id'],'diffData':_0x36386c['diffData'],'authorsIds':_0x36386c['authorsIds'],'authors':_0x36386c['authorsIds']['map'](_0x45a68c=>this['editor']['plugins']['get']('Users')['getUser'](_0x45a68c)),'fromVersion':_0x1b8397};_0x9b89e6===this['currentRevision']&&(_0x1dcdd9['createdAt']=new Date(_0x26c31e['createdAt']['getTime']()+0xa)),_0x9b89e6['_update'](_0x1dcdd9,!0x0),delete _0x1dcdd9['authors'],_0x8aadfe['push'](_0x1dcdd9);}}if(this['adapter']){for(const _0x5c4431 of _0x8aadfe)this['_bufferUpdate'](_0x5c4431['id'],_0x5c4431,!0x0);this['sendBufferedUpdates']();}return _0x1e62ae;}['addRevisionData'](_0x58a41f){const _0x162cb2=this['repository']['createRevision'](_0x58a41f);return this['adapter']&&_0x162cb2['on']('_update',(_0x3a0f30,_0x271562,_0x56079e)=>{_0x56079e||(this['_bufferUpdate'](_0x271562['id'],_0x271562,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x162cb2,this['_findInsertionIndex'](_0x162cb2)),_0x162cb2;}async['getRevisionDocumentData'](_0x25059a){await this['_loadRevisionData'](_0x25059a);const _0xc482f0={};for(const _0x3cefba in _0x25059a['diffData']){if(_0x25059a['diffData'][_0x3cefba]['attachChange']&&!_0x25059a['diffData'][_0x3cefba]['attachChange']['isAttached'])continue;const _0x40b873=this['_removeRevisionMarkers'](JSON['parse'](_0x25059a['diffData'][_0x3cefba]['insertions'])),_0x284e53=this['editor']['editing']['view']['document'],_0x2e56f4=new _0x5bf439(_0x284e53,_0x40b873['map'](_0x2da6fb=>B(_0x2da6fb,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0xc482f0[_0x3cefba]=this['editor']['data']['processor']['toData'](_0x2e56f4),this['editor']['data']['processor']['useFillerType']('default');}return _0xc482f0;}async['getRevisionRootsAttributes'](_0x103d35){await this['_loadRevisionData'](_0x103d35);const _0x34b4b6={};for(const _0x4da6eb in _0x103d35['diffData'])_0x103d35['diffData'][_0x4da6eb]['attachChange']&&!_0x103d35['diffData'][_0x4da6eb]['attachChange']['isAttached']||(_0x34b4b6[_0x4da6eb]=_0x103d35['diffData'][_0x4da6eb]['attributesAfter']||{});return _0x34b4b6;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x10bafd=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x45d731=0x0;_0x45d731<_0x10bafd['length'];_0x45d731++){const _0x350294=_0x10bafd[_0x45d731];let _0x4442a3=!0x1;for(const _0x424204 of Object['keys'](_0x350294))void 0x0===_0x350294[_0x424204]?delete _0x350294[_0x424204]:'id'!==_0x424204&&(_0x4442a3=!0x0);_0x4442a3||(_0x10bafd[_0x45d731]=null);}if(_0x10bafd=_0x10bafd['filter'](_0x3b49c8=>null!==_0x3b49c8),!_0x10bafd['length'])return;for(let _0x3eb557=0x0;_0x3eb557<_0x10bafd['length'];_0x3eb557++){const _0x20341d=_0x10bafd[_0x3eb557];void 0x0!==_0x20341d['fromVersion']&&void 0x0===_0x20341d['toVersion']&&(_0x20341d['toVersion']=this['repository']['getRevision'](_0x20341d['id'])['toVersion']),void 0x0!==_0x20341d['toVersion']&&void 0x0===_0x20341d['fromVersion']&&(_0x20341d['fromVersion']=this['repository']['getRevision'](_0x20341d['id'])['fromVersion']);}const _0x43f27d=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x10bafd,_0x43f27d)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x21814a=>{if(_0x21814a){for(const _0x39486d of _0x21814a)this['setRevisionData']({'id':_0x39486d['id'],'createdAt':_0x39486d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3e07d8,_0x509acb){let _0x4bfada=this['editor']['config']['get']('initialData'),_0x3fb51c=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x4bfada){_0x4bfada={};for(const _0x1db4da of this['editor']['model']['document']['getRootNames']())_0x4bfada[_0x1db4da]='';}if('string'==typeof _0x4bfada&&(_0x4bfada={'main':_0x4bfada}),void 0x0===_0x3fb51c){_0x3fb51c={};for(const _0x133af5 of this['editor']['model']['document']['getRootNames']())_0x3fb51c[_0x133af5]={};}let _0xafdf34=!0x1;const _0x4b5f99=Object['keys'](_0x4bfada),_0x56aec9=Object['keys'](_0x3e07d8);for(const _0x4d6c67 of _0x4b5f99){if(_0x4bfada[_0x4d6c67]!==_0x3e07d8[_0x4d6c67]&&''!==_0x4bfada[_0x4d6c67]['trim']()){_0xafdf34=!0x0;break;}if(!_0x31fa27(_0x3fb51c[_0x4d6c67],_0x509acb[_0x4d6c67])&&Object['keys'](_0x3fb51c[_0x4d6c67])['length']>0x0){_0xafdf34=!0x0;break;}}_0xafdf34||(_0xafdf34=_0x56aec9['some'](_0x391e02=>!this['editor']['model']['document']['getRoot'](_0x391e02))),_0xafdf34&&_0x51fa1e('editor-initial-data-replaced-with-revision-data',{'editorData':_0x4bfada,'editorRootsAttributes':_0x3fb51c,'revisionData':_0x3e07d8,'revisionRootsAttributes':_0x509acb}),this['editor']['config']['set']('initialData',_0x3e07d8),this['editor']['config']['set']('rootsAttributes',_0x509acb);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3578a2=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3578a2['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3209d1){const _0x5a76b0=this['repository']['getRevisions']();_0x5a76b0['reverse']();let _0x563ae1=0x0;for(;_0x563ae1<_0x5a76b0['length'];){const _0x28802f=_0x5a76b0[_0x563ae1];if(_0x28802f===this['currentRevision']){_0x563ae1++;continue;}if(_0x28802f['id']===this['_initialRevisionId'])break;const _0x113837=_0x3209d1['toVersion']-_0x28802f['toVersion']||_0x3209d1['fromVersion']-_0x28802f['fromVersion'];if(_0x113837>0x0)break;if(_0x113837<0x0)_0x563ae1++;else{if(!_0x3209d1['creator']&&_0x28802f['creator'])break;if(_0x28802f['creator']||!_0x3209d1['creator']){if(_0x3209d1['createdAt']>_0x28802f['createdAt'])break;_0x563ae1++;}else _0x563ae1++;}}return _0x563ae1;}['setRevisionData'](_0x122c8c){const _0x21af21=this['repository']['getRevision'](_0x122c8c['id']);if(_0x122c8c['createdAt']&&(_0x122c8c['createdAt']=new Date(_0x122c8c['createdAt'])),_0x122c8c['authorsIds']){const _0x224d11=this['editor']['plugins']['get']('Users');_0x122c8c['authors']=_0x122c8c['authorsIds']['map'](_0x376f3e=>_0x224d11['getUser'](_0x376f3e));}_0x21af21['_update'](_0x122c8c,!0x0);}['buildRevisionData']({revision:_0x202fc6=null,from:_0x44db07=null,to:_0x1fdde2=null}){_0x44db07=null!==_0x44db07?_0x44db07:_0x202fc6['fromVersion'],_0x1fdde2=null!==_0x1fdde2?_0x1fdde2:_0x202fc6['toVersion'];const _0x422f2c=this['_revisionDataBuilder']['getData'](_0x44db07,_0x1fdde2),_0x1deab1={'diffData':_0x422f2c['diffData'],'authorsIds':_0x422f2c['authorsIds'],'fromVersion':_0x44db07,'toVersion':_0x1fdde2};if(!_0x202fc6||_0x1fdde2!==_0x202fc6['toVersion']){const _0x137449=_0x1fdde2-0x1,_0x145a55=this['_source']['history']['getOperation'](_0x137449);_0x1deab1['createdAt']=_0x145a55&&_0x145a55['createdAt']||new Date();}if(this['_loadedStateData']&&_0x44db07===this['_loadedStateData']['fromVersion']){for(const _0x33caa3 of this['_loadedStateData']['authors'])_0x1deab1['authorsIds']['includes'](_0x33caa3['id'])||_0x1deab1['authorsIds']['push'](_0x33caa3['id']);}return _0x1deab1;}['_loadRevisionData'](_0xd8e242){if(!_0xd8e242||_0xd8e242['diffData'])return Promise['resolve']();{const _0x4a8bf2=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4a8bf2,'revisionId':_0xd8e242['id']})['then'](_0x48e3bb=>{_0xd8e242['diffData']=_0x48e3bb['diffData'];});}}['_bufferUpdate'](_0x124023,_0x1b31d8,_0x3af372){if(this['_bufferedUpdates']['has'](_0x124023)){const _0x379f65=this['_bufferedUpdates']['get'](_0x124023);_0x1b31d8=_0x3af372?{..._0x379f65,..._0x1b31d8}:{..._0x1b31d8,..._0x379f65};}this['_bufferedUpdates']['set'](_0x124023,_0x1b31d8);}['_getFromVersion'](_0x42aa30){const _0x224043=this['repository']['getRevisions']();_0x224043['reverse'](),_0x224043['shift']();const _0xd80d7e=_0x224043['find'](_0x68082f=>_0x68082f['toVersion']<=_0x42aa30)['toVersion'];return _0xd80d7e<this['_startingVersion']?this['_startingVersion']:_0xd80d7e;}['_createInitialRevision'](_0x1d9d6e){const _0x546a1f=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x546a1f)this['_initialRevisionId']=_0x546a1f['id'];else{const _0x48e6ec=!this['editor']['model']['document']['roots']['find'](_0x4e064b=>this['editor']['model']['hasContent'](_0x4e064b)),_0x3fd555=this['editor']['plugins']['get']('Users')['me']['id'],_0x4cd6f9=y(this['editor']['locale'],_0x48e6ec?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1d9d6e,'to':_0x1d9d6e,'id':this['_initialRevisionId'],'name':_0x4cd6f9,'creatorId':_0x3fd555});}}['_createCurrentRevision'](_0x27294e){const _0x8dba3c=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x8dba3c),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x27294e,'to':_0x27294e,'id':_0x8dba3c,'name':'','creatorId':null}));}['_makeRevision']({name:_0x29c8aa,from:_0x8de4bf,to:_0x9420df,creatorId:_0x5a2715,id:_0x4f67bf}){const _0x20bd89=this['buildRevisionData']({'from':_0x8de4bf,'to':_0x9420df});_0x20bd89['name']=_0x29c8aa,_0x20bd89['creatorId']=_0x5a2715,_0x20bd89['id']=_0x4f67bf;const _0x34ee74=this['addRevisionData'](_0x20bd89);return this['adapter']&&this['_bufferUpdate'](_0x20bd89['id'],_0x20bd89,!0x0),_0x34ee74;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x173b3c){return(_0x173b3c=_0x173b3c['filter'](_0x3da1d5=>!_0x3da1d5['name']||'revision-start'!==_0x3da1d5['name']&&'revision-end'!==_0x3da1d5['name']))['forEach'](_0x44e7ee=>{'string'!=typeof _0x44e7ee&&(_0x44e7ee['children']=this['_removeRevisionMarkers'](_0x44e7ee['children']),_0x44e7ee['attributes']=_0x44e7ee['attributes']['filter'](_0x50b1e5=>!_0x50b1e5[0x0]['startsWith']('data-revision-')));}),_0x173b3c;}}function B(_0x40ec0e,_0x38b07d){const _0x131098=_0x38b07d['editing']['view']['document'];if('string'==typeof _0x40ec0e)return new _0x37320c(_0x131098,_0x40ec0e);{const _0x29ef3d=_0x40ec0e['children']['map'](_0x5bcb14=>B(_0x5bcb14,_0x38b07d));return new(T[_0x40ec0e['type']]||_0x20bbdf)(_0x131098,_0x40ec0e['name'],_0x40ec0e['attributes'],_0x29ef3d);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xc2a95c){this['editor']=_0xc2a95c,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'](_0x5304cf){this['source']=_0x5304cf;const _0x41ac43=new Map(),_0x412633=new Map(),_0x143fac=this['editor']['model']['document']['roots']['map'](_0x2ae397=>_0x2ae397['rootName']);for(const _0x2dc25e of _0x143fac){const _0x46ea45=this['editor']['model']['document']['getRoot'](_0x2dc25e),_0x5b0272=q(_0x46ea45);_0x41ac43['set'](_0x2dc25e,_0x5b0272),_0x412633['set'](_0x2dc25e,Object['fromEntries'](_0x46ea45['getAttributes']()));}const _0x2f31de=Array['from'](this['editor']['model']['markers'])['map'](_0x3364af=>[_0x3364af['name'],_0x3364af['getRange']()]),_0x5029a9=this['source']['version'];this['_saveMetaData'](_0x5029a9,_0x41ac43,_0x2f31de,_0x412633),this['_startingRevisionId']=this['_revisionId'];const _0x2031ab=new Map(),_0x3e9dd6=new Map();for(const _0x346489 of _0x143fac){const _0x4c2ec9=G(_0x346489);_0x2031ab['set'](_0x346489,_0x4c2ec9),_0x3e9dd6['set'](_0x346489,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2031ab,[],_0x3e9dd6);}['getData'](_0x5cabd7,_0x2ce0c8){if(this['_lastFrom']===_0x5cabd7&&this['_lastTo']<=_0x2ce0c8)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2ce0c8,!0x0);else{if(!this['_savedMetaData']['has'](_0x5cabd7)){const _0x6a8bb8=this['_getPreviousFrom'](_0x5cabd7);this['_calculateMetaData'](_0x6a8bb8,_0x5cabd7,!0x1);}this['_calculateMetaData'](_0x5cabd7,_0x2ce0c8,!0x0);}return this['_lastFrom']=_0x5cabd7,this['_lastTo']=_0x2ce0c8,this['_getState']();}['loadState'](_0x3e4f0b){this['_reset'](),this['_lastFrom']=_0x3e4f0b['fromVersion'],this['_lastTo']=_0x3e4f0b['toVersion'];for(const _0x24cc70 in _0x3e4f0b['diffData']){const _0x2354af=_0x3e4f0b['diffData'][_0x24cc70]['attachChange'],_0x4e8386=_0x129cb2(_0x3e4f0b['diffData'][_0x24cc70]['attributesBefore'])||{},_0x48712f=this['_makeModelFromViewString'](_0x3e4f0b['diffData'][_0x24cc70]['deletions']);_0x48712f['rootName']=_0x24cc70,_0x48712f['_isAttached']=!_0x2354af||!_0x2354af['isAttached'],_0x48712f['isAttached']=()=>_0x48712f['_isAttached'],this['_baseRoots']['set'](_0x24cc70,_0x48712f),this['_baseRootsAttributes']['set'](_0x24cc70,_0x4e8386),_0x2354af&&this['_touchedRoots']['set'](_0x24cc70,_0x2354af);const _0x4bd2a4=this['_makeIdsRoot'](_0x48712f);this['_baseIdsRoots']['set'](_0x24cc70,_0x4bd2a4);for(const [_0x4f7651,_0x9624da]of _0x48712f['markers']){if(!_0x4f7651['startsWith']('revision:'))continue;const _0x3cc40e=_0x4f7651['split'](':')[0x2];for(const _0x53e710 of _0x9624da['getWalker']({'singleCharacters':!0x0})){const _0x2eb828=this['_getVidAttributeName'](_0x53e710),_0x378633='elementEnd'==_0x53e710['type']?_0x53e710['previousPosition']['path']['slice'](0x0,-0x1):_0x53e710['previousPosition']['path'],_0x2078dc=_0x4bd2a4['getNodeByPath'](_0x378633)['getAttribute'](_0x2eb828);this['_touched']['set'](_0x2078dc,{'userId':_0x3cc40e});}}}this['_startingRevisionId']=this['_revisionId'];const _0x38e124=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x6bd79=>!this['_touched']['has'](_0x6bd79));let _0x27fc8d=0x0;const _0x500008=new Map();for(const _0x8b297b in _0x3e4f0b['diffData']){const _0xb1fc0b=_0x3e4f0b['diffData'][_0x8b297b]['attachChange'],_0x3144c8=_0x129cb2(_0x3e4f0b['diffData'][_0x8b297b]['attributesAfter'])||{},_0x57267b=this['_makeModelFromViewString'](_0x3e4f0b['diffData'][_0x8b297b]['insertions']);_0x57267b['rootName']=_0x8b297b,_0x57267b['_isAttached']=!_0xb1fc0b||_0xb1fc0b['isAttached'],_0x57267b['isAttached']=()=>_0x57267b['_isAttached'],this['_diffRoots']['set'](_0x8b297b,_0x57267b),this['_diffRootsAttributes']['set'](_0x8b297b,_0x3144c8);const _0x318f47=this['_makeIdsRoot'](_0x57267b,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x8b297b,_0x318f47),_0x500008['set'](_0x8b297b,_0x57267b['isAttached']()?_0x3144c8:{});for(const [_0x21aec9,_0x179076]of _0x57267b['markers']){if(!_0x21aec9['startsWith']('revision:'))continue;const _0x4d618b=_0x21aec9['split'](':')[0x2];for(const _0x245bf4 of _0x179076['getWalker']({'singleCharacters':!0x0})){const _0x51cdd7=this['_getVidAttributeName'](_0x245bf4),_0x185177=this['_revisionId']++,_0x33e067='elementEnd'==_0x245bf4['type']?_0x245bf4['previousPosition']['path']['slice'](0x0,-0x1):_0x245bf4['previousPosition']['path'];_0x318f47['getNodeByPath'](_0x33e067)['_setAttribute'](_0x51cdd7,_0x185177),this['_touched']['set'](_0x185177,{'userId':_0x4d618b});}}for(const _0x585d7a of this['editor']['model']['createRangeIn'](_0x57267b)['getWalker']({'singleCharacters':!0x0})){const _0x1a477f=this['_getVidAttributeName'](_0x585d7a),_0x435bdc='elementEnd'==_0x585d7a['type']?_0x585d7a['previousPosition']['path']['slice'](0x0,-0x1):_0x585d7a['previousPosition']['path'],_0x12393d=_0x318f47['getNodeByPath'](_0x435bdc);_0x12393d['getAttribute'](_0x1a477f)>0x0||_0x12393d['_setAttribute'](_0x1a477f,_0x38e124[_0x27fc8d++]);}for(const [_0x2dc250,_0x8e3d77]of _0x57267b['markers'])_0x2dc250['startsWith']('revision:')||this['_markers']['set'](_0x2dc250,_0x8e3d77);}const _0x2746b8=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x2746b8),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2746b8,0x1));const _0x4748a9=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x4748a9),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4748a9,0x1));const _0x25d85d=Array['from'](this['_diffRoots'])['map'](([_0x536f42,_0x455983])=>[_0x536f42,q(_0x455983)]);this['_saveMetaData'](this['_lastTo'],_0x25d85d,this['_markers'],_0x500008);}['_makeModelFromViewString'](_0x49f357){const _0x55dc88=JSON['parse'](_0x49f357),_0x4c4c26=this['editor']['editing']['view']['document'],_0x19cf87=new _0x5bf439(_0x4c4c26,_0x55dc88['map'](_0x41ae0c=>B(_0x41ae0c,this['editor'])));return this['editor']['data']['toModel'](_0x19cf87);}['_saveMetaData'](_0x1da43b,_0x2d4be1,_0x4d06f6,_0x30cd83){const _0x239941=new Map(_0x2d4be1),_0x610bd=new Map(_0x129cb2(_0x30cd83)),_0xc9905e=new Map();for(const [_0x494954,_0x90ab9c]of _0x4d06f6)_0xc9905e['set'](_0x494954,{'start':_0x90ab9c['start']['clone'](),'end':_0x90ab9c['end']['clone'](),'rootName':_0x90ab9c['root']['rootName']});this['_savedMetaData']['set'](_0x1da43b,{'roots':_0x239941,'markers':_0xc9905e,'rootsAttributes':_0x610bd});}['_removeMetaData'](_0x54a4c5){this['_savedMetaData']['delete'](_0x54a4c5);}['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'](_0xb58abd,_0x15d09f=null){let _0x1f8e6d=null;_0xb58abd['is']('documentFragment')||(_0x1f8e6d=new ft(_0xb58abd['name'],{'vid_start':null===_0x15d09f?this['_revisionId']++:_0x15d09f++}));const _0x58a76a=[];for(const _0x54cc50 of _0xb58abd['getChildren']())if(_0x54cc50['is']('element')){_0x58a76a['push'](this['_makeIdsRoot'](_0x54cc50,_0x15d09f));const _0x583f59=_0x58a76a[_0x58a76a['length']-0x1];null!==_0x15d09f&&(_0x15d09f=_0x583f59['is']('element','$text')?_0x583f59['getAttribute']('vid')+0x1:_0x583f59['getAttribute']('vid_end')+0x1);}else{for(let _0x4ac8b1=0x0;_0x4ac8b1<_0x54cc50['offsetSize'];_0x4ac8b1++)_0x58a76a['push'](new ft('$text',{'vid':null===_0x15d09f?this['_revisionId']++:_0x15d09f++}));}if(_0xb58abd['is']('documentFragment')){const _0x3a87c9=G(_0xb58abd['rootName']);return _0x3a87c9['_insertChild'](0x0,_0x58a76a),_0x3a87c9;}return _0x1f8e6d['_setAttribute']('vid_end',null===_0x15d09f?this['_revisionId']++:_0x15d09f++),_0x1f8e6d['_insertChild'](0x0,_0x58a76a),_0x1f8e6d;}['_calculateMetaData'](_0x422417,_0x188387,_0x1f814e){this['_reset']();const {roots:_0x142648,markers:_0x3483c1,rootsAttributes:_0x588ff6}=this['_savedMetaData']['get'](_0x422417);this['_baseRoots']=new Map(_0x142648),this['_baseRootsAttributes']=new Map(_0x129cb2(_0x588ff6));for(const [_0x15d1d8,_0x462e33]of this['_baseRoots'])if('$graveyard'!==_0x15d1d8&&(this['_diffRoots']['set'](_0x15d1d8,q(_0x462e33)),this['_diffRootsAttributes']=new Map(_0x129cb2(_0x588ff6)),_0x1f814e)){const _0x44364f=this['_revisionId'];this['_idsRoots']['set'](_0x15d1d8,this['_makeIdsRoot'](_0x462e33)),this['_baseIdsRoots']['set'](_0x15d1d8,this['_makeIdsRoot'](_0x462e33,_0x44364f));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x1f814e&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xbe9ea5,_0x3b9275]of _0x3483c1){const _0x560281=this['_baseRoots']['get'](_0x3b9275['rootName']),_0xe7944a=this['_diffRoots']['get'](_0x3b9275['rootName']),_0x309eab=new vt(this['_fixPosition'](_0x3b9275['start'],_0x560281),this['_fixPosition'](_0x3b9275['end'],_0x560281)),_0x52a388=this['_fixRange'](_0x309eab,_0xe7944a);_0x560281['markers']['set'](_0xbe9ea5,_0x309eab),this['_markers']['set'](_0xbe9ea5,_0x52a388);}this['_applyOperations'](_0x422417,_0x188387,_0x1f814e);}['_applyOperations'](_0x24de58,_0x55032c,_0x208728){for(const _0x1e1d9b of this['source']['getOperations'](_0x24de58,_0x55032c))this['_handleOperation'](_0x1e1d9b,_0x208728);for(const _0x2792ee of this['_diffRoots']['values']())_0x2792ee['markers']['clear']();for(const [_0x1aa18c,_0x515f6e]of this['_markers']){this['_diffRoots']['get'](_0x515f6e['root']['rootName'])['markers']['set'](_0x1aa18c,_0x515f6e['clone']());}const _0x15f8b5=new Map(),_0x3ebbc9=new Map();for(const [_0xd154d6,_0x5c13b4]of this['_diffRoots'])_0x15f8b5['set'](_0xd154d6,q(_0x5c13b4)),_0x3ebbc9['set'](_0xd154d6,this['_diffRootsAttributes']['get'](_0xd154d6));this['_saveMetaData'](_0x55032c,_0x15f8b5,this['_markers'],_0x3ebbc9);}['_getPreviousFrom'](_0x215294){const _0x42082a=Array['from'](this['_savedMetaData']['keys']());_0x42082a['sort']((_0xd53e48,_0x55fab2)=>_0xd53e48-_0x55fab2),_0x42082a['reverse']();for(const _0x3dc34d of _0x42082a)if(_0x3dc34d<_0x215294)return _0x3dc34d;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x4be873,_0x30ad3b){const _0x268b9b=Array['from'](_0x30ad3b['markers'])['map'](([_0x54fc46,_0x158ca8])=>[_0x54fc46,this['_fixRange'](_0x158ca8,_0x4be873)]);_0x4be873['markers']=new Map(_0x268b9b);}['_transformMarkers'](_0x445cec){for(const _0x7b36eb of this['_markers']['values']()){const _0x84f33f=_0x7b36eb['getTransformedByOperation'](_0x445cec),_0x2063d5=vt['_createFromRanges'](_0x84f33f);_0x7b36eb['start']=_0x2063d5['start'],_0x7b36eb['end']=_0x2063d5['end'];}}['_handleOperation'](_0x58156d,_0x346de9){if('addRoot'==_0x58156d['type']||'detachRoot'==_0x58156d['type'])return void this['_handleRootOperation'](_0x58156d,_0x346de9);if('insert'==_0x58156d['type']){const _0x140bf9=_0x58156d['position']['root']['rootName'];this['_diffRoots']['has'](_0x140bf9)||(this['_diffRoots']['set'](_0x140bf9,G(_0x140bf9,!0x0)),this['_diffRootsAttributes']['set'](_0x140bf9,{}),_0x346de9&&this['_idsRoots']['set'](_0x140bf9,G(_0x140bf9,!0x0)));}else{if('addRootAttribute'==_0x58156d['type']||'removeRootAttribute'==_0x58156d['type']||'changeRootAttribute'==_0x58156d['type'])return void this['_handleRootAttributeOperation'](_0x58156d);}const _0x3d939c=this['_cloneOperation'](_0x58156d,this['_diffRoots']);if('marker'!==_0x58156d['type']&&(_0x3d939c['_execute'](),this['_transformMarkers'](_0x3d939c)),_0x346de9)switch(_0x3d939c['type']){case'insert':this['_handleInsertOperation'](_0x58156d);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x58156d);break;case'merge':this['_handleMergeOperation'](_0x58156d);break;case'split':this['_handleSplitOperation'](_0x58156d);break;case'marker':this['_handleMarkerOperation'](_0x58156d);}}['_cloneOperation'](_0x139fc3,_0x55060f){const _0x53ce49=_0x139fc3['clone']();return _0x53ce49['_authorId']=_0x139fc3['_authorId'],this['_fixOperation'](_0x53ce49,_0x55060f),_0x53ce49;}['_getBaseVids'](_0x488239){return _0x488239['map'](_0x5da6bb=>{const _0x1b5a09=this['_getVidAttributeName'](_0x5da6bb);return Number(_0x5da6bb['item']['getAttribute'](_0x1b5a09));});}['_generateTape'](_0x46c4b2,_0x551e5a){if(_0x46c4b2['is']('element','$text'))_0x551e5a['push']({'item':_0x46c4b2,'type':'text'});else{_0x46c4b2['is']('element')&&_0x551e5a['push']({'item':_0x46c4b2,'type':'elementStart'});for(const _0x470b20 of _0x46c4b2['getChildren']())this['_generateTape'](_0x470b20,_0x551e5a);_0x46c4b2['is']('element')&&_0x551e5a['push']({'item':_0x46c4b2,'type':'elementEnd'});}return _0x551e5a;}['_getState'](){const _0x965c7b=new Map(this['_touched']),_0x5a1a7a=new Map(_0x965c7b),_0x129bd7=new Map(),_0x3c2677={'insertions':{},'deletions':{}},_0x4a7ca4={'insertions':{},'deletions':{}},_0x2fa2fa=new Map(),_0xb5d78e=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0xb5d78e['delete']('$graveyard');for(const _0xb372bb of _0xb5d78e){const _0x563a9d=this['_diffRoots']['get'](_0xb372bb)||G(_0xb372bb,!0x1),_0x40b456=this['_baseRoots']['get'](_0xb372bb)||G(_0xb372bb,!0x1);_0x563a9d['isAttached']()||_0x40b456['isAttached']()?(_0x3c2677['insertions'][_0xb372bb]=q(_0x563a9d),_0x3c2677['deletions'][_0xb372bb]=q(_0x40b456),this['_copyMarkers'](_0x3c2677['deletions'][_0xb372bb],_0x40b456),this['_copyMarkers'](_0x3c2677['insertions'][_0xb372bb],_0x563a9d),_0x4a7ca4['insertions'][_0xb372bb]=this['_generateTape'](this['_idsRoots']['get'](_0xb372bb),[]),_0x4a7ca4['deletions'][_0xb372bb]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xb372bb)||G(_0xb372bb,!0x1),[])):_0xb5d78e['delete'](_0xb372bb);}for(const _0x484217 of _0xb5d78e){const _0x4ab134=_0x4a7ca4['insertions'][_0x484217];for(const _0x4a30d5 of _0x4ab134){const _0x328e6c=this['_getVidAttributeName'](_0x4a30d5),_0x526080=_0x4a30d5['item']['getAttribute'](_0x328e6c);_0x5a1a7a['delete'](_0x526080),_0x526080>=this['_startingRevisionId']&&_0x129bd7['set'](_0x526080,_0x965c7b['get'](_0x526080));}}for(const _0x29decc of _0xb5d78e){const _0x35f362=_0x4a7ca4['insertions'][_0x29decc],_0x1211b2=this['_getBaseVids'](_0x4a7ca4['deletions'][_0x29decc]);let _0x5cdd50=0x0;for(const _0x169ab7 of _0x35f362){const _0xf02e63=this['_getVidAttributeName'](_0x169ab7),_0x13bada=_0x169ab7['item']['getAttribute'](_0xf02e63);if(!_0x129bd7['has'](_0x13bada)&&!_0x2fa2fa['has'](_0x13bada)){if(_0x5a1a7a['has'](_0x13bada))_0x5cdd50++;else{if(_0x13bada!=_0x1211b2[_0x5cdd50]){const _0x1452e0=_0x965c7b['get'](_0x13bada)||_0x965c7b['get'](_0x1211b2[_0x5cdd50]);for(;_0x13bada!=_0x1211b2[_0x5cdd50];)_0x5a1a7a['has'](_0x1211b2[_0x5cdd50])||(_0x2fa2fa['set'](_0x1211b2[_0x5cdd50],_0x1452e0),_0x965c7b['set'](_0x1211b2[_0x5cdd50],_0x1452e0)),_0x5cdd50++;}_0x5cdd50++;}}}}for(const _0x56b5df of _0xb5d78e){const _0x3a694b=_0x4a7ca4['insertions'][_0x56b5df];for(const _0x4b65c7 of _0x3a694b){const _0x46463b=this['_getVidAttributeName'](_0x4b65c7),_0x1dd636=_0x4b65c7['item']['getAttribute'](_0x46463b);if(_0x2fa2fa['has'](_0x1dd636)){const _0x137cf2=_0x2fa2fa['get'](_0x1dd636);_0x5a1a7a['has'](_0x1dd636)||_0x5a1a7a['set'](_0x1dd636,{..._0x137cf2}),_0x129bd7['set'](_0x1dd636,{..._0x137cf2});}}}for(const _0x5d3fb8 of _0x5a1a7a['keys']())_0x5d3fb8>=this['_startingRevisionId']&&_0x5a1a7a['delete'](_0x5d3fb8);const _0x37b31d=new Map();for(const _0x5bde92 of _0xb5d78e){let _0x5c0756=_0x4a7ca4['insertions'][_0x5bde92];for(const _0x56298a of _0x5c0756)if(_0x56298a['item']['is']('element','tableCell')){const _0x42daef=this['_getVidAttributeName'](_0x56298a),_0x1afd3b=_0x56298a['item']['getAttribute'](_0x42daef);if(_0x129bd7['has'](_0x1afd3b)){const _0x2d3c12=_0x56298a['item']['parent']['parent']['getAttribute']('vid_start'),_0x5ce86d=_0x37b31d['get'](_0x2d3c12)||new Set();_0x5ce86d['add'](_0x129bd7['get'](_0x1afd3b)['userId']),_0x37b31d['set'](_0x2d3c12,_0x5ce86d);}}_0x5c0756=_0x4a7ca4['deletions'][_0x5bde92];for(const _0x3954d9 of _0x5c0756)if(_0x3954d9['item']['is']('element','tableCell')){const _0x7c4f83=this['_getVidAttributeName'](_0x3954d9),_0xceb630=_0x3954d9['item']['getAttribute'](_0x7c4f83);if(_0x5a1a7a['has'](_0xceb630)){const _0x5a481d=_0x3954d9['item']['parent']['parent']['getAttribute']('vid_start'),_0x12ec2b=_0x37b31d['get'](_0x5a481d)||new Set();_0x12ec2b['add'](_0x5a1a7a['get'](_0xceb630)['userId']),_0x37b31d['set'](_0x5a481d,_0x12ec2b);}}for(const _0xecf35c of _0x37b31d['keys']())(_0x129bd7['has'](_0xecf35c)||_0x5a1a7a['has'](_0xecf35c))&&_0x37b31d['delete'](_0xecf35c);}for(const _0x7add99 of _0xb5d78e){const _0x268b97=_0x4a7ca4['insertions'][_0x7add99];let _0x15febd=null,_0x3ab757=null;for(const _0x471bcf of _0x268b97){const _0x346b2c=this['_getVidAttributeName'](_0x471bcf),_0x36b382=_0x471bcf['item']['getAttribute'](_0x346b2c),_0x3af66f=_0x37b31d['get'](_0x36b382);_0x3af66f&&'elementStart'==_0x471bcf['type']&&(_0x15febd=Array['from'](_0x3af66f)[0x0],_0x3ab757=_0x471bcf['item']['getAttribute']('vid_end')),_0x15febd&&(_0x5a1a7a['set'](_0x36b382,{'userId':_0x15febd}),_0x129bd7['set'](_0x36b382,{'userId':_0x15febd})),_0x36b382==_0x3ab757&&(_0x15febd=null,_0x3ab757=null);}}const _0x22ba99={},_0x15cb07=new Set();for(const _0x20dc27 of _0xb5d78e){const _0x54607c=_0x3c2677['deletions'][_0x20dc27],_0x3248b6=_0x3c2677['insertions'][_0x20dc27];for(const {userId:_0x3a73f3}of this['_touchedMarkers']['values']())null!==_0x3a73f3&&_0x15cb07['add'](_0x3a73f3);for(const {userId:_0x2d1ec7}of this['_touchedRoots']['values']())null!==_0x2d1ec7&&_0x15cb07['add'](_0x2d1ec7);this['_markChanges'](_0x3248b6,_0x4a7ca4['insertions'][_0x20dc27],_0x129bd7,'insertion',_0x15cb07),this['_markChanges'](_0x54607c,_0x4a7ca4['deletions'][_0x20dc27],_0x5a1a7a,'deletion',_0x15cb07),_0x22ba99[_0x20dc27]={'insertions':this['_prepareViewToSave'](_0x3248b6),'deletions':this['_prepareViewToSave'](_0x54607c),'attachChange':this['_touchedRoots']['get'](_0x20dc27)||null,'attributesBefore':_0x129cb2(this['_baseRootsAttributes']['get'](_0x20dc27))||{},'attributesAfter':_0x129cb2(this['_diffRootsAttributes']['get'](_0x20dc27))};}return{'diffData':_0x22ba99,'authorsIds':Array['from'](_0x15cb07)};}['_processRootBeforeSave'](_0x37f9d4){for(const [,_0x3ebd1f]of _0x37f9d4['markers']){const _0x233112=_0x3ebd1f['start']['getAncestors']()['filter'](_0x5ea76a=>'tableCell'==_0x5ea76a['name']);for(const _0x5b3d4a of _0x233112)0x1==_0x5b3d4a['childCount']&&_0x5b3d4a['getChild'](0x0)['is']('element','paragraph')&&_0x5b3d4a['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x214ebc){this['_processRootBeforeSave'](_0x214ebc);const _0x58d9dc=this['editor']['data']['toView'](_0x214ebc,{}),_0x2a9c39=Array['from'](_0x58d9dc['getChildren']())['map'](_0x103418=>this['_getViewJson'](_0x103418));return JSON['stringify'](_0x2a9c39);}['_getViewJson'](_0x47e520){if(_0x47e520['is']('$text'))return _0x47e520['data'];{const _0x126bc7=_0x47e520;return{'type':Object['keys'](T)['find'](_0x125392=>_0x47e520 instanceof T[_0x125392]),'name':_0x126bc7['name'],'attributes':Array['from'](_0x126bc7['getAttributes']()),'children':Array['from'](_0x126bc7['getChildren']())['map'](_0x1085de=>this['_getViewJson'](_0x1085de))};}}['_markChanges'](_0x136b1e,_0x2cc184,_0x4028cb,_0x45e340,_0x4806d0){let _0x13dfcd=null,_0x423f10=null,_0xb893e=0x0;const _0x64ce47=this['editor']['model'];for(let _0xfdbe3a=0x0;_0xfdbe3a<_0x2cc184['length'];_0xfdbe3a++){const _0x30e955=this['_getVidAttributeName'](_0x2cc184[_0xfdbe3a]),_0x316bb1=_0x2cc184[_0xfdbe3a]['item']['getAttribute'](_0x30e955),_0x6d81bd=_0x4028cb['get'](_0x316bb1),_0x59a375=_0xfdbe3a==_0x2cc184['length']-0x1;(!_0x13dfcd&&_0x6d81bd&&(_0x13dfcd=_0x6d81bd,_0x423f10=_0x2cc184[_0xfdbe3a]),_0x13dfcd&&(!_0x6d81bd||_0x6d81bd['userId']!=_0x13dfcd['userId']))&&(_0x596cde(_0x6d81bd,L(_0x423f10,_0x136b1e,_0x64ce47),L(_0x2cc184[_0xfdbe3a],_0x136b1e,_0x64ce47)),_0x13dfcd=_0x6d81bd||null,_0x423f10=_0x6d81bd?_0x2cc184[_0xfdbe3a]:null),_0x13dfcd&&_0x59a375&&_0x596cde(_0x6d81bd,L(_0x423f10,_0x136b1e,_0x64ce47),W(_0x2cc184[_0xfdbe3a],_0x136b1e,_0x64ce47));}function _0x596cde(_0x4cb8b5,_0x962f3a,_0x37c2fc){const _0xa9afac=_0x13dfcd['userId'],_0x5d26b5='revision:'+_0x45e340+':'+_0xa9afac+':'+_0xb893e++,_0x369c7b=_0x64ce47['createRange'](_0x962f3a,_0x37c2fc);_0x136b1e['markers']['set'](_0x5d26b5,_0x369c7b),null!==_0xa9afac&&_0x4806d0['add'](_0xa9afac);}}['_getVidAttributeName'](_0x3274a8){switch(_0x3274a8['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x43907b,_0x2a33e0){_0x43907b['baseVersion']=null;for(const _0x41f08f in _0x43907b){const _0x24069f=_0x43907b[_0x41f08f];if(_0x24069f instanceof gt){const _0x5dca47=_0x2a33e0['get'](_0x24069f['root']['rootName']);_0x43907b[_0x41f08f]=this['_fixPosition'](_0x24069f,_0x5dca47);}if(_0x24069f instanceof vt){const _0xc228fd=_0x2a33e0['get'](_0x24069f['root']['rootName']);_0x43907b[_0x41f08f]=this['_fixRange'](_0x24069f,_0xc228fd);}'root'===_0x41f08f&&(_0x43907b['root']=_0x2a33e0['get'](_0x43907b['root']['rootName']));}}['_fixRange'](_0x413b2f,_0xfe4c60){return this['editor']['model']['createRange'](this['_fixPosition'](_0x413b2f['start'],_0xfe4c60),this['_fixPosition'](_0x413b2f['end'],_0xfe4c60));}['_fixPosition'](_0x147b6b,_0x39935e){return this['editor']['model']['createPositionFromPath'](_0x39935e,_0x147b6b['path'],_0x147b6b['stickiness']);}['_handleInsertOperation'](_0x319d5f){const _0x3bba06=this['_idsRoots']['get'](_0x319d5f['position']['root']['rootName']),_0xf7a9f9=this['_fixPosition'](_0x319d5f['position'],_0x3bba06),_0x11c486=null===_0x319d5f['_authorId']?null:_0x319d5f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3b1b21=_0xf7a9f9['parent'],_0x4fdc4f=this['_revisionId'],_0x264272=[];for(const _0x247590 of _0x319d5f['nodes'])if(_0x247590['is']('element'))_0x264272['push'](this['_makeIdsRoot'](_0x247590));else{for(let _0x5f59d5=0x0;_0x5f59d5<_0x247590['offsetSize'];_0x5f59d5++)_0x264272['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3e46b7=this['_revisionId'];for(let _0x3ca391=_0x4fdc4f;_0x3ca391<_0x3e46b7;_0x3ca391++)this['_touched']['set'](_0x3ca391,{'userId':_0x11c486});_0x3b1b21['_insertChild'](_0xf7a9f9['offset'],_0x264272);}['_handleMoveOperation'](_0x291205){(_0x291205=this['_cloneOperation'](_0x291205,this['_idsRoots']))['_execute']();const _0x2158ab=null===_0x291205['_authorId']?null:_0x291205['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4d110e=_0x291205['getMovedRangeStart'](),_0x328076=_0x4d110e['parent'],_0x1033c3=_0x4d110e['offset'];!function _0x67bc34(_0x3dfd79,_0x198ff5,_0x2d626a,_0x270829){for(let _0x264038=_0x2d626a;_0x264038<_0x270829;_0x264038++){const _0x20f46f=_0x198ff5['getChild'](_0x264038);_0x20f46f['is']('element','$text')?_0x3dfd79['set'](_0x20f46f['getAttribute']('vid'),{'userId':_0x2158ab}):(_0x3dfd79['set'](_0x20f46f['getAttribute']('vid_start'),{'userId':_0x2158ab}),_0x67bc34(_0x3dfd79,_0x20f46f,0x0,_0x20f46f['childCount']),_0x3dfd79['set'](_0x20f46f['getAttribute']('vid_end'),{'userId':_0x2158ab}));}}(this['_touched'],_0x328076,_0x1033c3,_0x1033c3+_0x291205['howMany']);}['_handleMergeOperation'](_0x35c537){const _0x526588=null===(_0x35c537=this['_cloneOperation'](_0x35c537,this['_idsRoots']))['_authorId']?null:_0x35c537['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x433ac5=_0x35c537['targetPosition']['parent'],_0x260dcc=_0x35c537['sourcePosition']['parent'],_0x48b8be=_0x433ac5['getAttribute']('vid_end'),_0x42867c=_0x260dcc['getAttribute']('vid_start');_0x433ac5['_setAttribute']('vid_end',_0x260dcc['getAttribute']('vid_end')),_0x260dcc['_setAttribute']('vid_end',_0x48b8be),this['_touched']['set'](_0x42867c,{'userId':_0x526588}),this['_touched']['set'](_0x48b8be,{'userId':_0x526588}),_0x35c537['_execute']();}['_handleSplitOperation'](_0x494e22){const _0x49d39d=null===(_0x494e22=this['_cloneOperation'](_0x494e22,this['_idsRoots']))['_authorId']?null:_0x494e22['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5928c2=_0x494e22['graveyardPosition'],_0x7bce0d=_0x494e22['splitPosition']['parent'];_0x494e22['_execute']();const _0x388d10=_0x7bce0d['getAttribute']('vid_end'),_0x5106b6=_0x494e22['insertionPosition']['nodeAfter'];if(_0x5928c2){const _0xa697bb=_0x5106b6['getAttribute']('vid_end'),_0x1f670e=_0x7bce0d['getAttribute']('vid_end');_0x7bce0d['_setAttribute']('vid_end',_0xa697bb),_0x5106b6['_setAttribute']('vid_end',_0x1f670e),this['_touched']['set'](_0x7bce0d['getAttribute']('vid_end'),{'userId':_0x49d39d}),this['_touched']['set'](_0x5106b6['getAttribute']('vid_start'),{'userId':_0x49d39d});}else{const _0x4c9191=this['_revisionId']++,_0x416217=this['_revisionId']++;_0x7bce0d['_setAttribute']('vid_end',_0x4c9191),_0x5106b6['_setAttribute']('vid_start',_0x416217),_0x5106b6['_setAttribute']('vid_end',_0x388d10),this['_touched']['set'](_0x4c9191,{'userId':_0x49d39d}),this['_touched']['set'](_0x416217,{'userId':_0x49d39d});}}['_handleMarkerOperation'](_0x3945f1){if(!_0x3945f1['affectsData'])return;const _0x362aba=(_0x3945f1=this['_cloneOperation'](_0x3945f1,this['_diffRoots']))['oldRange']?_0x3945f1['oldRange']['root']:null,_0xf5b534=_0x3945f1['newRange']?_0x3945f1['newRange']['root']:null;_0x362aba&&this['_markers']['delete'](_0x3945f1['name']),_0xf5b534&&this['_markers']['set'](_0x3945f1['name'],_0x3945f1['newRange']['clone']());const _0x2c8d30=null===_0x3945f1['_authorId']?null:_0x3945f1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x18dbcb=_0x3945f1['name'];if(!this['_touchedMarkers']['has'](_0x18dbcb))return void this['_touchedMarkers']['set'](_0x18dbcb,{'range':_0x3945f1['oldRange'],'userId':_0x2c8d30});const _0x355e91=this['_touchedMarkers']['get'](_0x18dbcb),_0x508b4a=_0x355e91['range'],_0x1f8bee=_0x3945f1['newRange'];null==_0x508b4a&&null==_0x1f8bee||_0x508b4a&&_0x1f8bee&&_0x508b4a['isEqual'](_0x1f8bee)?this['_touchedMarkers']['delete'](_0x3945f1['name']):_0x355e91['userId']=_0x2c8d30;}['_handleRootOperation'](_0x2feb6c,_0x589a94){this['_diffRoots']['has'](_0x2feb6c['rootName'])?this['_diffRoots']['get'](_0x2feb6c['rootName'])['_isAttached']=_0x2feb6c['isAdd']:(this['_diffRoots']['set'](_0x2feb6c['rootName'],G(_0x2feb6c['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x2feb6c['rootName'],{}),_0x589a94&&this['_idsRoots']['set'](_0x2feb6c['rootName'],G(_0x2feb6c['rootName'],!0x0)));const _0x4823a9=null===_0x2feb6c['_authorId']?null:_0x2feb6c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x46c6e8=this['_touchedRoots']['get'](_0x2feb6c['rootName']);_0x46c6e8&&_0x46c6e8['userId']===_0x4823a9?this['_touchedRoots']['delete'](_0x2feb6c['rootName']):this['_touchedRoots']['set'](_0x2feb6c['rootName'],{'userId':_0x4823a9,'isAttached':_0x2feb6c['isAdd']});}['_handleRootAttributeOperation'](_0x29ab68){const _0x5fcf6f=this['_diffRootsAttributes']['get'](_0x29ab68['root']['rootName']);null===_0x29ab68['newValue']?delete _0x5fcf6f[_0x29ab68['key']]:_0x5fcf6f[_0x29ab68['key']]=_0x29ab68['newValue'];}}function q(_0xf3dfa7){const _0x13f982=G(_0xf3dfa7['rootName'],_0xf3dfa7['isAttached']());for(const _0x1db81d of _0xf3dfa7['getChildren']()){const _0x21e8a8=_0x1db81d['_clone'](!0x0);_0x13f982['_appendChild'](_0x21e8a8);}return _0x13f982;}function G(_0x28452a,_0x42590a=!0x0){const _0x265e5c=new wt();return _0x265e5c['rootName']=_0x28452a,_0x265e5c['_isAttached']=_0x42590a,_0x265e5c['isAttached']=()=>_0x265e5c['_isAttached'],_0x265e5c;}function L(_0x4a1173,_0x39dc36,_0x62ec84){const _0x3c5db6='elementEnd'==_0x4a1173['type']?_0x62ec84['createPositionAt'](_0x4a1173['item'],'end'):_0x62ec84['createPositionBefore'](_0x4a1173['item']);return _0x62ec84['createPositionFromPath'](_0x39dc36,_0x3c5db6['path'],_0x3c5db6['stickiness']);}function W(_0x1b7ee3,_0x20722d,_0x466d99){const _0x5aa0ba='elementStart'==_0x1b7ee3['type']?_0x466d99['createPositionAt'](_0x1b7ee3['item'],0x0):_0x466d99['createPositionAfter'](_0x1b7ee3['item']);return _0x466d99['createPositionFromPath'](_0x20722d,_0x5aa0ba['path'],_0x5aa0ba['stickiness']);}class ns extends _0x1518ca{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2ecf2e,_0x5769e5){super(_0x2ecf2e),this['focusTracker']=new _0x2a9d19(),this['keystrokes']=new _0x15f532(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x5769e5),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'](),_0xfd8115({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x355e79=_0xdfcaef=>_0xdfcaef['stopPropagation']();this['keystrokes']['set']('arrowright',_0x355e79),this['keystrokes']['set']('arrowleft',_0x355e79),this['keystrokes']['set']('arrowup',_0x355e79),this['keystrokes']['set']('arrowdown',_0x355e79);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4cd85e){this['revisionNameInputView']['fieldView']['element']['value']=_0x4cd85e['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x126f98){const _0xb18be=new at(this['locale'],_0x4fa73f),_0x3e8150=_0xb18be['fieldView'];_0x3e8150['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x29533e=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x126f98&&(_0x29533e+='\x20('+y(this['locale'],'optional')+')'),(_0xb18be['label']=_0x29533e,_0x3e8150['on']('input',()=>{this['revisionNameInputValue']=_0x3e8150['element']['value']['trim']();}),_0xb18be);}}class u extends _0x57f998{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x51f117=this['editor'],_0x59df0c=_0x51f117['plugins']['get']('RevisionTracker');_0x51f117['ui']['componentFactory']['add']('revisionHistory',_0x4fe920=>{const _0x1800e7=_0x1e95cb(_0x4fe920),_0x5681f3=_0x1800e7['panelView']['children'],_0x74a7a0=new te(_0x4fe920),_0x4b4af8=new _0x5e7f2e(_0x4fe920),_0x42b3ba=new _0x256ed3(_0x4fe920),_0x5d1fdf=new _0x5e7f2e(_0x4fe920),_0x1bdef3=new _0x256ed3(_0x4fe920);return _0x1800e7['bind']('isEnabled')['to'](_0x59df0c,'isReady',_0x59df0c,'isEnabled',_0x51f117,'isReadOnly',(_0x57a90c,_0x4e8828,_0x95d506)=>_0x57a90c&&_0x4e8828&&!_0x95d506),_0x1800e7['buttonView']['set']({'icon':_0x1f4cfb['history'],'label':y(_0x4fe920,'Revision\x20history'),'tooltip':!0x0}),_0x42b3ba['set']({'label':y(_0x4fe920,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x42b3ba['bind']('isEnabled')['to'](_0x59df0c,'isReady',_0x59df0c,'isEnabled',_0x51f117,'isReadOnly',(_0xc37afa,_0x4f814a,_0x13c14e)=>_0xc37afa&&_0x4f814a&&!_0x13c14e),_0x42b3ba['on']('execute',()=>this['_showDialog']()),_0x1bdef3['set']({'label':y(_0x4fe920,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1bdef3['bind']('isEnabled')['to'](_0x59df0c,'isReady',_0x51f117,'isReadOnly',(_0x2c68cb,_0xbb9a2f)=>_0x2c68cb&&!_0xbb9a2f),_0x1bdef3['on']('execute',()=>{_0x51f117['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1800e7['isOpen']=!0x1,_0x51f117['editing']['view']['focus']();}),_0x4b4af8['children']['add'](_0x42b3ba),_0x5d1fdf['children']['add'](_0x1bdef3),_0x74a7a0['role']='menu',_0x74a7a0['items']['addMany']([_0x4b4af8,_0x5d1fdf]),_0x5681f3['add'](_0x74a7a0),_0x1800e7;}),_0x51f117['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x44ffe3=this['editor'],_0x52a524=_0x44ffe3['locale'],_0x17e0c8=new _0x14844d(_0x52a524),_0x20aedf=new _0x39f7b2(_0x52a524);_0x17e0c8['buttonView']['set']({'icon':_0x1f4cfb['history'],'label':y(_0x52a524,'Revision\x20history')});const _0x1b982f=new _0x1f3f23(_0x52a524,_0x17e0c8),_0x1dab00=new _0xfcbd9(_0x52a524);_0x1dab00['set']({'label':y(_0x52a524,'Save\x20current\x20revision')}),_0x1dab00['delegate']('execute')['to'](_0x17e0c8),_0x1dab00['on']('execute',()=>{this['_showDialog']();}),_0x1b982f['children']['add'](_0x1dab00),_0x20aedf['items']['add'](_0x1b982f);const _0x13c84f=new _0x1f3f23(_0x52a524,_0x17e0c8),_0x73b3ab=new _0xfcbd9(_0x52a524);return _0x73b3ab['set']({'label':y(_0x52a524,'Open\x20revision\x20history')}),_0x73b3ab['delegate']('execute')['to'](_0x17e0c8),_0x73b3ab['on']('execute',()=>{_0x44ffe3['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x13c84f['children']['add'](_0x73b3ab),_0x20aedf['items']['add'](_0x13c84f),_0x17e0c8['panelView']['children']['add'](_0x20aedf),_0x17e0c8;}['_showDialog'](){const _0x1b5f49=this['editor'],_0x223759=_0x1b5f49['locale'],t=_0x223759['t'],_0x32411f=_0x1b5f49['plugins']['get']('Dialog'),_0x37cc08=_0x1b5f49['plugins']['get']('RevisionTracker');function _0x1764dd(_0x432b36){_0x1b5f49['config']['get']('revisionHistory.requireRevisionName')&&''===_0x432b36['revisionName']?_0x432b36['revisionNameInputView']['errorText']=y(_0x223759,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x1b5f49['plugins']['get'](l)['saveRevision']({'name':_0x432b36['revisionName']}),_0x32411f['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x1764dd(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x32411f['show']({'id':'revisionSave','title':y(_0x223759,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x32411f['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4b4afc){_0x4b4afc['bind']('isEnabled')['to'](_0x37cc08,'isReady',_0x37cc08,'isEnabled',_0x1b5f49,'isReadOnly',(_0x339aed,_0x1d67c1,_0x2b63b2)=>_0x339aed&&_0x1d67c1&&!_0x2b63b2);},'onExecute':()=>_0x1764dd(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x117b93=this['editor'],_0x1db642=_0x117b93['locale'];this['_saveRevisionFormView']=new ns(_0x1db642,_0x117b93['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1518ca{['changeId'];['_model'];constructor(_0x43334f,_0x504091){super(_0x43334f),this['_model']=_0x504091,this['changeId']=_0x504091['id'];const _0x150746=this['bindTemplate'],_0x29e5e1=y(_0x43334f,_0x504091['data']['isSuggestion']?'Suggested\x20by':'add'==_0x504091['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x504091['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x150746['to']('type',_0x3eeca1=>'ck-revision-change__'+_0x3eeca1)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x29e5e1}]},{'text':'\x20'+_0x504091['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x42a55c(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x27bd56){super(),this['id']=_0x27bd56['id']||_0x2b75d5(),this['author']=_0x27bd56['author'],this['type']=_0x27bd56['type'],this['data']=_0x27bd56['data']||{},this['rootName']=_0x27bd56['rootName'],this['set']('createdAt',_0x27bd56['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(_0x4b9e03,_0x2f25e0){this['newRevisionId']=_0x4b9e03,this['oldRevisionId']=_0x2f25e0,this['changes']=new _0x1f6837();}['_setChanges'](_0x2296b9){for(const _0xe4eb33 of _0x2296b9)this['changes']['add'](_0xe4eb33);}}const tt={'c':_0xedf7c0,'a':_0x180493,'e':_0x2a4bdb,'r':_0x1ae19e,'u':_0x5ee997};class d extends _0x57f998{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x7b6dd2,_0x21ddb0,A];}constructor(_0x5481db){super(_0x5481db),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',(_0x4798b1,_0x2f9600,_0x11bc75)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2dfc2a=>{for(const _0x324d22 of this['editor']['editing']['view']['document']['roots'])_0x11bc75?_0x2dfc2a['removeClass']('ck-editor__editable__overlay',_0x324d22):_0x2dfc2a['addClass']('ck-editor__editable__overlay',_0x324d22);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4abfcb=>null!==_0x4abfcb),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x514996,_0xf96e68,_0x26465a)=>_0x514996&&_0x26465a?_0xf96e68['changes']['getIndex'](_0x26465a):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x258849,_0x289b88)=>_0x258849?_0x289b88['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x21ddb0);}['init'](){const _0x1d12b3=this['editor'],_0x431e25=new yt(_0x1d12b3,{'direction':'backward'}),_0x3c41c2=new yt(_0x1d12b3,{'direction':'forward'});(_0x1d12b3['commands']['add']('showPreviousChange',_0x431e25),_0x1d12b3['commands']['add']('showNextChange',_0x3c41c2),_0x1d12b3['commands']['add']('restoreRevision',new bt(_0x1d12b3)),this['on']('change:numberOfChanges',()=>{_0x431e25['refresh'](),_0x3c41c2['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1d12b3['enableReadOnlyMode']('revision-viewer'),_0x1d12b3['plugins']['has']('WidgetToolbarRepository'))&&_0x1d12b3['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3d6dbf){await this['loadRevisionData'](_0x3d6dbf);const _0x1f06b1={};for(const _0x2b5967 in _0x3d6dbf['diffData']){if(_0x3d6dbf['diffData'][_0x2b5967]['attachChange']&&!_0x3d6dbf['diffData'][_0x2b5967]['attachChange']['isAttached'])continue;const _0x43300f=this['_removeRevisionMarkers'](JSON['parse'](_0x3d6dbf['diffData'][_0x2b5967]['insertions'])),_0x1b55b5=this['editor']['editing']['view']['document'],_0x2c54d8=new _0x5bf439(_0x1b55b5,_0x43300f['map'](_0x19d1a5=>this['_getViewObj'](_0x19d1a5)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1f06b1[_0x2b5967]=this['editor']['data']['processor']['toData'](_0x2c54d8),this['editor']['data']['processor']['useFillerType']('default');}return _0x1f06b1;}async['getRevisionRootsAttributes'](_0x177bc3){await this['loadRevisionData'](_0x177bc3);const _0x8e2b05={};for(const _0x200e91 in _0x177bc3['diffData'])_0x177bc3['diffData'][_0x200e91]['attachChange']&&!_0x177bc3['diffData'][_0x200e91]['attachChange']['isAttached']||(_0x8e2b05[_0x200e91]=_0x177bc3['diffData'][_0x200e91]['attributesAfter']||{});return _0x8e2b05;}['_removeRevisionMarkers'](_0x3eccca){return(_0x3eccca=_0x3eccca['filter'](_0x3d3714=>!_0x3d3714['name']||'revision-start'!==_0x3d3714['name']&&'revision-end'!==_0x3d3714['name']))['forEach'](_0x1e8a57=>{'string'!=typeof _0x1e8a57&&(_0x1e8a57['children']=this['_removeRevisionMarkers'](_0x1e8a57['children']),_0x1e8a57['attributes']=_0x1e8a57['attributes']['filter'](_0x16b228=>!_0x16b228[0x0]['startsWith']('data-revision-')));}),_0x3eccca;}async['compare'](_0x3fe9f6,_0x369d16,_0x2b9ee0=!0x1){if(!this['isEnabled'])return;const _0x272dc7=this['diff'],_0x28d924=this['repository'],_0x54d2a6='string'==typeof _0x3fe9f6?_0x28d924['getRevision'](_0x3fe9f6):_0x3fe9f6,_0x3864ac='string'==typeof _0x369d16?_0x28d924['getRevision'](_0x369d16):_0x369d16,_0x518c8f=_0x54d2a6['id'],_0x24dcee=_0x3864ac?_0x3864ac['id']:null;if(!_0x2b9ee0&&this['diff']&&this['diff']['newRevisionId']===_0x518c8f&&this['diff']['oldRevisionId']===_0x24dcee)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x518c8f,_0x24dcee);const _0x237aac=this['_getRevisionsRange'](_0x54d2a6,_0x3864ac,!0x0)['map'](_0x3a4ccb=>this['loadRevisionData'](_0x3a4ccb));return _0x237aac['push'](new Promise(_0x19a107=>{setTimeout(_0x19a107,0x14);})),Promise['all'](_0x237aac)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x53ddbb=this['_getDiff'](_0x518c8f,_0x24dcee);for(const _0x592021 of _0x53ddbb['changes'])this['_changeIdToChange']['set'](_0x592021['id'],_0x592021);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x23a074=>{for(const _0x521e99 of this['editor']['model']['document']['getRootNames']())_0x23a074['detachRoot'](_0x521e99);for(const _0x2bc9f2 of Object['keys'](_0x53ddbb['model'])){const _0x37652c=_0x23a074['addRoot'](_0x2bc9f2);for(const _0x51efbf of Object['keys'](_0x53ddbb['attributes'][_0x2bc9f2]))_0x23a074['setAttribute'](_0x51efbf,_0x53ddbb['attributes'][_0x2bc9f2][_0x51efbf],_0x37652c);_0x23a074['insert'](_0x53ddbb['model'][_0x2bc9f2],_0x37652c,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x53ddbb['changes'])),this['isReady']=!0x0;})['catch'](_0x8319d0=>{console['error'](_0x8319d0),this['_cleanUp'](),_0x272dc7&&(this['diff']=_0x272dc7),this['isReady']=!0x0;});}['addRevisionData'](_0x37fcbf,_0x518231){const _0x5a4844=this['repository']['createRevision'](_0x37fcbf);return _0x5a4844['on']('_update',(_0x1e4203,_0x3a667b,_0x95658e)=>_0x518231(_0x3a667b,_0x95658e,_0x5a4844)),this['repository']['addRevision'](_0x5a4844),_0x5a4844;}['loadRevisionData'](_0x3ed93a){if(!_0x3ed93a||_0x3ed93a['diffData'])return Promise['resolve']();{const _0x357d9e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x357d9e,'revisionId':_0x3ed93a['id']})['then'](_0x5169eb=>{_0x3ed93a['_update']({'diffData':_0x5169eb['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},_0x39d832=>{for(const _0x25d821 of this['editor']['model']['document']['getRootNames']())_0x39d832['detachRoot'](_0x25d821);});}['_sortAndFilterDiffChanges'](_0x242a77){const _0x400776=[],_0x54c0ec=new Map();for(const _0x2706f5 of this['editor']['model']['document']['getRootNames']()){const _0x5d03e0=this['editor']['editing']['view']['getDomRoot'](_0x2706f5);if(!_0x5d03e0)continue;const _0x2fb3e2=_0x5d03e0['getClientRects']()['item'](0x0);_0x2fb3e2&&(_0x400776['push'](_0x2706f5),_0x54c0ec['set'](_0x2706f5,_0x2fb3e2));}return _0x400776['sort']((_0x4c52ea,_0x512ad2)=>{const _0xe6fbe8=_0x54c0ec['get'](_0x4c52ea),_0x3dacd8=_0x54c0ec['get'](_0x512ad2);return _0xe6fbe8['y']-_0x3dacd8['y']||_0xe6fbe8['x']-_0x3dacd8['x'];}),(_0x242a77=_0x242a77['filter'](_0x18cd3d=>_0x400776['includes'](_0x18cd3d['rootName'])))['sort']((_0x279b0b,_0x47cfc4)=>_0x400776['indexOf'](_0x279b0b['rootName'])-_0x400776['indexOf'](_0x47cfc4['rootName'])),_0x242a77;}['_makeTape'](_0x3e03c3){const _0x424f0f=Array['from'](_0x3e03c3['markers'])['filter'](([_0x5b6149,_0x139c57])=>_0x5b6149['startsWith']('revision:')&&!_0x139c57['isCollapsed']),_0x4fe0b8=Array['from'](this['editor']['model']['createRangeIn'](_0x3e03c3)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x424f0f['length'])for(const _0x3b1e71 of _0x4fe0b8){const [_0x516eb0,_0x42f34a]=_0x424f0f[0x0],[,_0x2f1ddf,_0x4f8753]=_0x516eb0['split'](':');if(_0x42f34a['end']['isEqual'](_0x3b1e71['nextPosition'])&&_0x424f0f['shift'](),(_0x3b1e71['previousPosition']['isEqual'](_0x42f34a['start'])||_0x3b1e71['previousPosition']['isAfter'](_0x42f34a['start']))&&('insertion'==_0x2f1ddf?_0x3b1e71['isAdded']={'userId':_0x4f8753}:'deletion'==_0x2f1ddf&&(_0x3b1e71['isRemoved']={'userId':_0x4f8753})),0x0==_0x424f0f['length'])break;}return _0x4fe0b8;}['_refreshStartEndIndex'](_0x124c79){const _0x431e92=new Map();for(let _0x5ddc4e=0x0;_0x5ddc4e<_0x124c79['length'];_0x5ddc4e++)'text'===_0x124c79[_0x5ddc4e]['type']?(_0x124c79[_0x5ddc4e]['item']['startIndex']=_0x5ddc4e,_0x124c79[_0x5ddc4e]['item']['endIndex']=_0x5ddc4e):('elementStart'===_0x124c79[_0x5ddc4e]['type']?_0x124c79[_0x5ddc4e]['item']['startIndex']=_0x5ddc4e:'elementEnd'===_0x124c79[_0x5ddc4e]['type']&&(_0x124c79[_0x5ddc4e]['item']['endIndex']=_0x5ddc4e),_0x431e92['set'](_0x124c79[_0x5ddc4e]['id'],_0x5ddc4e));for(const _0x1acc51 of _0x431e92['values']())'elementStart'===_0x124c79[_0x1acc51]['type']?_0x124c79[_0x1acc51]['item']['endIndex']=_0x431e92['get'](_0x124c79[_0x1acc51]['pairId']):'elementEnd'===_0x124c79[_0x1acc51]['type']&&(_0x124c79[_0x1acc51]['item']['startIndex']=_0x431e92['get'](_0x124c79[_0x1acc51]['pairId']));}['_processTape'](_0xb4437a){for(let _0x16fa73=0x0;_0x16fa73<_0xb4437a['length'];_0x16fa73++){if('elementStart'===_0xb4437a[_0x16fa73]['type'])_0xb4437a[_0x16fa73]['item']['startIndex']=_0x16fa73;else{if('elementEnd'===_0xb4437a[_0x16fa73]['type']){_0xb4437a[_0x16fa73]['item']['endIndex']=_0x16fa73;const _0x4a1f7a=_0xb4437a[_0x16fa73]['item']['startIndex'];_0xb4437a[_0x4a1f7a]['pairId']=_0xb4437a[_0x16fa73]['id'],_0xb4437a[_0x16fa73]['pairId']=_0xb4437a[_0x4a1f7a]['id'];}else _0xb4437a[_0x16fa73]['item']['startIndex']=_0x16fa73,_0xb4437a[_0x16fa73]['item']['endIndex']=_0x16fa73,_0xb4437a[_0x16fa73]['pairId']=null;}_0xb4437a[_0x16fa73]['markersStart']||(_0xb4437a[_0x16fa73]['markersStart']=[],_0xb4437a[_0x16fa73]['markersEnd']=[]);}}['_markInsertions'](_0x44665f,_0x4a09bd){const _0xcfdb8f=_0x44665f['filter'](_0x5dd469=>!_0x5dd469['isAdded']);for(let _0x5382ea=0x0;_0x5382ea<_0x4a09bd['length'];_0x5382ea++)_0x4a09bd[_0x5382ea]['isAdded']&&(_0xcfdb8f[_0x5382ea]['isAdded']=_0x4a09bd[_0x5382ea]['isAdded']);}['_makeModelFromViewString'](_0x4e0bd7){const _0xb3313c=JSON['parse'](_0x4e0bd7),_0x5dfbf9=this['editor']['editing']['view']['document'],_0x521f0b=new _0x5bf439(_0x5dfbf9,_0xb3313c['map'](_0xea9b8e=>this['_getViewObj'](_0xea9b8e)));return this['editor']['data']['toModel'](_0x521f0b);}['_getViewObj'](_0x2fe712){const _0x32a5a0=this['editor']['editing']['view']['document'];if('string'==typeof _0x2fe712)return new _0x37320c(_0x32a5a0,_0x2fe712);{const _0x3d9f03=_0x2fe712['children']['map'](_0x4518ed=>this['_getViewObj'](_0x4518ed));return new(tt[_0x2fe712['type']]||_0x20bbdf)(_0x32a5a0,_0x2fe712['name'],_0x2fe712['attributes'],_0x3d9f03);}}['_getDiff'](_0x28a3eb,_0xf15bf8=null){const _0x38d67f=this['repository']['getRevision'](_0x28a3eb),_0x4ffbc9=_0xf15bf8?this['repository']['getRevision'](_0xf15bf8):null,_0x34ef70=this['_getRevisionsRange'](_0x38d67f,_0x4ffbc9),_0x2a54bc=_0x34ef70[_0x34ef70['length']-0x1],_0x2a0471=new Map(),_0xd4d3e9={'model':{},'attributes':{},'changes':[]},_0x2313f6=new Set(),_0x118355=new Map();for(let _0x298ad3=_0x34ef70['length']-0x1;_0x298ad3>=0x0;_0x298ad3--){const _0x59a728=_0x34ef70[_0x298ad3];for(const _0x5e3d28 of Object['keys'](_0x59a728['diffData']))if(_0x59a728['diffData'][_0x5e3d28]['attachChange']){const _0x4fb48b=_0x59a728['diffData'][_0x5e3d28]['attachChange'];_0x4fb48b['isAttached']?(_0x2313f6['add'](_0x5e3d28),_0x118355['has'](_0x5e3d28)&&_0x118355['get'](_0x5e3d28)['userId']==_0x4fb48b['userId']?_0x118355['delete'](_0x5e3d28):_0x118355['set'](_0x5e3d28,_0x4fb48b)):_0x118355['has'](_0x5e3d28)?(_0x2313f6['delete'](_0x5e3d28),_0x118355['delete'](_0x5e3d28)):(_0x2313f6['add'](_0x5e3d28),_0x118355['set'](_0x5e3d28,_0x4fb48b));}else _0x2313f6['add'](_0x5e3d28);}for(const _0xb9c04a of _0x2313f6){const _0x52f198=_0x118355['has'](_0xb9c04a)&&!_0x118355['get'](_0xb9c04a)['isAttached'];let _0x3d22a4=_0x52f198?_0x34ef70['length']-0x1:0x0;const _0x5899ab=_0x52f198?-0x1:0x1;for(;_0x34ef70[_0x3d22a4];){const _0x50d61f=_0x34ef70[_0x3d22a4];if(_0x50d61f['diffData'][_0xb9c04a]){const _0x2ac397=_0x52f198?_0x50d61f['diffData'][_0xb9c04a]['attributesBefore']:_0x50d61f['diffData'][_0xb9c04a]['attributesAfter'];_0xd4d3e9['attributes'][_0xb9c04a]=_0x2ac397?_0x129cb2(_0x2ac397):{};break;}_0x3d22a4+=_0x5899ab;}}for(const _0x22ff65 of _0x34ef70){_0x22ff65['model']={};for(const _0xdec3d4 of _0x22ff65['authors'])_0x2a0471['set'](_0xdec3d4['id'],_0xdec3d4);for(const _0x67e689 of _0x2313f6){const _0x535240=_0x22ff65['diffData'][_0x67e689]?_0x22ff65['diffData'][_0x67e689]['insertions']:'[]',_0x1ad594=_0x22ff65['diffData'][_0x67e689]?_0x22ff65['diffData'][_0x67e689]['deletions']:'[]';_0x22ff65['model'][_0x67e689]={'insertions':this['_makeModelFromViewString'](_0x535240),'deletions':this['_makeModelFromViewString'](_0x1ad594)};}}for(const _0x1702f4 of _0x2313f6){let _0x25cdb5=null,_0x28cbde=0x0;const _0x1e4037=new Map(Array['from'](_0x38d67f['model'][_0x1702f4]['insertions']['markers'])['filter'](([_0x5ea6e5])=>!_0x5ea6e5['startsWith']('revision:')));let _0x22d1c0=0x0;for(const _0x496619 of _0x34ef70){const _0x38572a=this['_makeTape'](_0x496619['model'][_0x1702f4]['insertions']);_0x496619==_0x38d67f?(_0x25cdb5=_0x38572a,_0x28cbde=_0x25cdb5['length'],_0x25cdb5['forEach'](_0x33deff=>{_0x33deff['id']=_0x22d1c0++;}),this['_processTape'](_0x25cdb5)):this['_markInsertions'](_0x25cdb5,_0x38572a);const _0xd1e7b1=_0x25cdb5['filter'](_0x85d70a=>!_0x85d70a['isAdded'])['map'](_0x4dac1d=>_0x4dac1d['id']);let _0x1f6dda=0x0;const _0x2969e5=this['_makeTape'](_0x496619['model'][_0x1702f4]['deletions']);_0x2969e5['forEach'](_0x5545ce=>{_0x5545ce['isRemoved']?_0x5545ce['id']=_0x28cbde++:_0x5545ce['id']=_0xd1e7b1[_0x1f6dda++];}),this['_processTape'](_0x2969e5),this['_setDistance'](_0x25cdb5,'isAdded'),this['_setDistance'](_0x2969e5,'isRemoved'),_0x496619==_0x38d67f&&this['_markMarkers'](_0x25cdb5,_0x1e4037),_0x25cdb5=this['_joinTapes'](_0x25cdb5,_0x2969e5),this['_refreshStartEndIndex'](_0x25cdb5),this['_setDistance'](_0x25cdb5,'isRemoved');}_0x25cdb5=_0x25cdb5['filter'](_0x29b35b=>!(_0x29b35b['isAdded']&&_0x29b35b['isRemoved']));const _0x3332bd=new Map(_0x2a54bc['model'][_0x1702f4]['deletions']['markers']),_0x44b8d5=new Set(_0x1e4037['keys']());for(const _0x2f90c7 of _0x3332bd['keys']())_0x44b8d5['delete'](_0x2f90c7);this['_markSuggestions'](_0x25cdb5,_0x44b8d5),this['_fixObsoleteTags'](_0x25cdb5),_0x25cdb5=this['_removeMissingPairs'](_0x25cdb5),_0x25cdb5=this['_markMismatchedRemovedTags'](_0x25cdb5),_0x25cdb5=this['_removeUnsupportedChanges'](_0x25cdb5);const {root:_0x5b9a06,changes:_0x198ddd}=this['_makeModelFromTape'](_0x25cdb5,_0x2a0471,_0x1702f4);_0xd4d3e9['model'][_0x1702f4]=_0x5b9a06;const _0x3402b0=_0x118355['get'](_0x1702f4);if(_0x3402b0){const _0x28896a=_0x2a0471['get'](_0x3402b0['userId']),_0x5d18fe=new r({'author':_0x28896a,'type':_0x3402b0['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1702f4});_0x198ddd['unshift'](_0x5d18fe),_0xd4d3e9['attributes'][_0x1702f4]['revisionHistoryAttachChange']=_0x5d18fe['id'];}_0xd4d3e9['changes']=_0xd4d3e9['changes']['concat'](_0x198ddd);}return _0xd4d3e9;}['_markMarkers'](_0x453d1e,_0x53180f){for(let _0x2bc05b=0x0;_0x2bc05b<_0x453d1e['length'];_0x2bc05b++)for(const [_0x152cee,_0x5bf80d]of _0x53180f)_0x5bf80d['start']['isEqual'](_0x453d1e[_0x2bc05b]['previousPosition'])&&_0x453d1e[_0x2bc05b]['markersStart']['push'](_0x152cee),_0x5bf80d['end']['isEqual'](_0x453d1e[_0x2bc05b]['nextPosition'])&&_0x453d1e[_0x2bc05b]['markersEnd']['push'](_0x152cee);}['_joinTapes'](_0x5a6099,_0x228af3){let _0x524207=[],_0x4d73b9=0x0,_0x1e226c=0x0;for(;_0x4d73b9<_0x5a6099['length']||_0x1e226c<_0x228af3['length'];){const _0x29dc79=_0x5a6099[_0x4d73b9]||{},_0x435bb5=_0x228af3[_0x1e226c]||{};if(_0x29dc79['id']==_0x435bb5['id'])_0x4d73b9++,_0x1e226c++,_0x524207['push'](_0x29dc79);else{if(_0x435bb5['isRemoved']&&_0x29dc79['isAdded']){const {commonTape:_0x4b28e5,iEnd:_0x4313e1,jEnd:_0x510bf1}=this['_threeWayMerge'](_0x5a6099,_0x4d73b9,_0x228af3,_0x1e226c);_0x524207=_0x524207['concat'](_0x4b28e5),_0x4d73b9=_0x4313e1,_0x1e226c=_0x510bf1;}else _0x435bb5['isRemoved']?(_0x1e226c++,_0x524207['push'](_0x435bb5)):(_0x4d73b9++,_0x524207['push'](_0x29dc79));}}return _0x524207;}['_markSuggestions'](_0x455666,_0x4793b0){const _0x129a20=[];for(let _0x41509f=0x0;_0x41509f<_0x455666['length'];_0x41509f++){for(let _0x6d6ee=0x0;_0x6d6ee<_0x455666[_0x41509f]['markersStart']['length'];_0x6d6ee++){const _0x12e8b3=_0x455666[_0x41509f]['markersStart'][_0x6d6ee];if(!_0x4793b0['has'](_0x12e8b3))continue;const {group:_0x89050e,type:_0x22f170,authorId:_0x2817fb}=_0x37ed31(_0x12e8b3);'revision-suggestion'!=_0x89050e||'insertion'!=_0x22f170&&'deletion'!=_0x22f170||(_0x129a20['unshift']({'type':_0x22f170,'name':_0x12e8b3,'userId':_0x2817fb}),_0x455666[_0x41509f]['markersStart']['splice'](_0x6d6ee,0x1),_0x6d6ee--);}_0x164ef1(_0x455666[_0x41509f]);for(let _0xdfb5c7=0x0;_0xdfb5c7<_0x455666[_0x41509f]['markersEnd']['length'];_0xdfb5c7++){const _0x628b80=_0x455666[_0x41509f]['markersEnd'][_0xdfb5c7];if(!_0x4793b0['has'](_0x628b80))continue;const {group:_0x3ca195,type:_0xe4ee38}=_0x37ed31(_0x628b80);if('revision-suggestion'!=_0x3ca195||'insertion'!=_0xe4ee38&&'deletion'!=_0xe4ee38)continue;_0x455666[_0x41509f]['markersEnd']['splice'](_0xdfb5c7,0x1),_0xdfb5c7--;const _0xcbed41=_0x129a20['findIndex'](_0x5c1531=>_0x5c1531['name']==_0x628b80);_0xcbed41>-0x1&&_0x129a20['splice'](_0xcbed41,0x1);}}function _0x37ed31(_0x31c8fb){const _0x5d46b4=_0x31c8fb['split'](':');return{'group':_0x5d46b4[0x0],'type':_0x5d46b4[0x1],'subType':_0x5d46b4['length']>=0x5?_0x5d46b4[0x2]:null,'id':_0x5d46b4['length']<0x5?_0x5d46b4[0x2]:_0x5d46b4[0x3],'authorId':_0x5d46b4['length']<0x5?_0x5d46b4[0x3]:_0x5d46b4[0x4],'markerCount':0x6==_0x5d46b4['length']?_0x5d46b4[0x5]:null};}function _0x164ef1(_0x51d0c4){for(let _0x3e4b3f=0x0;_0x3e4b3f<_0x129a20['length'];_0x3e4b3f++){if(_0x51d0c4['isAdded']&&'insertion'==_0x129a20[_0x3e4b3f]['type'])return _0x51d0c4['isAddSuggestion']=_0x129a20[_0x3e4b3f],void delete _0x51d0c4['isAdded'];if(!_0x51d0c4['isAdded']&&!_0x51d0c4['isRemoved']&&'deletion'==_0x129a20[_0x3e4b3f]['type'])return void(_0x51d0c4['isRemoveSuggestion']=_0x129a20[_0x3e4b3f]);}}}['_setDistance'](_0x20aaa1,_0x6c24f9){let _0x28fe54=0x0,_0xb245bc=!0x1;const _0x55da4b=new Map();for(const _0x5f2465 of _0x20aaa1)_0x5f2465[_0x6c24f9]?_0xb245bc&&(_0x28fe54++,_0xb245bc=!0x1):(_0x28fe54++,_0xb245bc=!0x0),_0x55da4b['set'](_0x5f2465['id'],_0x28fe54);for(let _0x5d1635=0x0;_0x5d1635<_0x20aaa1['length'];_0x5d1635++){if('isRemoved'==_0x6c24f9&&_0x20aaa1[_0x5d1635]['isAdded']||'isAdded'==_0x6c24f9&&_0x20aaa1[_0x5d1635]['isRemoved'])continue;if('text'==_0x20aaa1[_0x5d1635]['type']){_0x20aaa1[_0x5d1635]['distance']=0x0;continue;}const _0xf5ff6=_0x55da4b['get'](_0x20aaa1[_0x5d1635]['pairId']),_0x5e997f=_0x55da4b['get'](_0x20aaa1[_0x5d1635]['id']);_0x20aaa1[_0x5d1635]['distance']=_0xf5ff6-_0x5e997f;}}['_getRevisionsRange'](_0x12ac35,_0x105f65,_0x50ab7d=!0x1){const _0x5e60d4=[];let _0x195242=this['repository']['getIndex'](_0x12ac35),_0x8058e=this['repository']['getIndex'](_0x105f65);for(-0x1==_0x8058e&&(_0x8058e=this['repository']['_revisions']['length'],_0x50ab7d=!0x1);_0x195242<_0x8058e;)_0x5e60d4['push'](this['repository']['getRevision'](_0x195242)),_0x195242++;return _0x50ab7d&&_0x5e60d4['push'](this['repository']['getRevision'](_0x195242)),_0x5e60d4;}['_threeWayMerge'](_0x1df3e5,_0x1742b4,_0x526fd8,_0x4ea38b){const _0x1e6ca7=this['editor']['model']['schema'];let _0x5e8c40=_0x1742b4;for(;_0x1df3e5[_0x5e8c40]&&_0x1df3e5[_0x5e8c40]['isAdded'];)_0x5e8c40++;let _0x118b1d=_0x4ea38b;for(;_0x526fd8[_0x118b1d]&&_0x526fd8[_0x118b1d]['isRemoved'];)_0x118b1d++;_0x1dd33d(_0x1df3e5,_0x1742b4,_0x5e8c40),_0x1dd33d(_0x526fd8,_0x4ea38b,_0x118b1d);const _0x5e651e=_0x526fd8['slice'](_0x4ea38b,_0x118b1d)['concat'](_0x1df3e5['slice'](_0x1742b4,_0x5e8c40));return _0x5e651e['sort']((_0x213971,_0x13ecbe)=>_0x213971['side']!=_0x13ecbe['side']?_0x213971['side']-_0x13ecbe['side']:_0x213971['level']!=_0x13ecbe['level']?_0x213971['level']-_0x13ecbe['level']:_0x213971['distance']!=_0x13ecbe['distance']?_0x13ecbe['distance']-_0x213971['distance']:!!_0x213971['isAdded']!=!!_0x13ecbe['isAdded']?-0x1==_0x213971['side']||0x0==_0x213971['side']?_0x213971['isAdded']?-0x1:0x1:_0x213971['isAdded']?0x1:-0x1:_0x213971['index']-_0x13ecbe['index']),{'commonTape':_0x5e651e,'iEnd':_0x5e8c40,'jEnd':_0x118b1d};function _0x1dd33d(_0x1951d5,_0x22b1d3,_0x1238b2){let _0x29484a=-0x1,_0x31aa94=Number['POSITIVE_INFINITY'],_0x587252=!0x0;for(let _0x38dd87=_0x22b1d3;_0x38dd87<_0x1238b2;_0x38dd87++)if(_0x1e6ca7['isInline'](_0x1951d5[_0x38dd87]['item'])||(_0x587252=!0x1),_0x1951d5[_0x38dd87]['item']['startIndex']<_0x22b1d3&&(_0x29484a=_0x38dd87),_0x1951d5[_0x38dd87]['item']['endIndex']>=_0x1238b2){_0x31aa94=_0x38dd87;break;}_0x587252&&(_0x29484a=_0x1238b2-0x1);for(let _0x2a65de=_0x22b1d3;_0x2a65de<_0x1238b2;_0x2a65de++)_0x1951d5[_0x2a65de]['side']=_0x2a65de<=_0x29484a?-0x1:_0x2a65de<_0x31aa94?0x0:0x1,_0x1951d5[_0x2a65de]['index']=_0x2a65de;let _0x3a2b28=0x0;for(let _0x58a527=_0x22b1d3;_0x58a527<=_0x29484a;_0x58a527++)0x0==_0x1951d5[_0x58a527]['distance']?_0x1951d5[_0x58a527]['level']=_0x3a2b28:(_0x3a2b28++,_0x1951d5[_0x58a527]['level']=_0x3a2b28,_0x3a2b28++);for(let _0x1590e4=_0x22b1d3;_0x1590e4<_0x1238b2;_0x1590e4++)0x0==_0x1951d5[_0x1590e4]['side']&&(_0x1951d5[_0x1590e4]['level']=_0x3a2b28);_0x3a2b28=0x0;for(let _0x5f1d8a=_0x1238b2-0x1;_0x5f1d8a>=_0x31aa94;_0x5f1d8a--)0x0==_0x1951d5[_0x5f1d8a]['distance']?_0x1951d5[_0x5f1d8a]['level']=_0x3a2b28:(_0x3a2b28--,_0x1951d5[_0x5f1d8a]['level']=_0x3a2b28,_0x3a2b28--);}}['_fixObsoleteTags'](_0xc245d2){const _0x22b13f=new Map(),_0x3852c0=this['editor']['model']['schema'];for(let _0x2595ac=0x1;_0x2595ac<_0xc245d2['length'];_0x2595ac++){let _0xd04306,_0x2c0f06,_0xb35b3a;const _0x42830f=_0xc245d2[_0x2595ac],_0x35cdf5=_0xc245d2[_0x2595ac-0x1];if('text'==_0x42830f['type'])continue;if(_0x42830f['type']!=_0x35cdf5['type'])continue;if(!_0x3852c0['isBlock'](_0x35cdf5['item'])||_0x3852c0['isLimit'](_0x35cdf5['item']))continue;if(!_0x3852c0['isBlock'](_0x42830f['item'])||_0x3852c0['isLimit'](_0x42830f['item']))continue;if((_0xc245d2[_0x2595ac]['isAdded']||_0xc245d2[_0x2595ac]['isAddSuggestion'])&&_0xc245d2[_0x2595ac-0x1]['isRemoved'])_0xd04306=_0xc245d2[_0x2595ac],_0x2c0f06=_0xc245d2[_0x2595ac-0x1],_0xb35b3a=_0x2595ac-0x1;else{if(!_0xc245d2[_0x2595ac]['isRemoved']||!_0xc245d2[_0x2595ac-0x1]['isAdded']&&!_0xc245d2[_0x2595ac-0x1]['isAddSuggestion'])continue;_0xd04306=_0xc245d2[_0x2595ac-0x1],_0x2c0f06=_0xc245d2[_0x2595ac],_0xb35b3a=_0x2595ac;}const _0x22daa7=_0xd04306['level']==_0x2c0f06['level'],_0x58e5e0=Math['abs'](_0xd04306['level'])<Math['abs'](_0x2c0f06['level'])&&0x0==_0x2c0f06['distance'];(_0x22daa7||_0x58e5e0)&&(_0x22b13f['set'](_0x2c0f06['id'],_0xd04306['id']),_0xc245d2['splice'](_0xb35b3a,0x1),_0x2595ac--,_0xd04306['isAdded']=!0x1);}for(let _0x3ffdc6=0x0;_0x3ffdc6<_0xc245d2['length'];_0x3ffdc6++)_0x22b13f['has'](_0xc245d2[_0x3ffdc6]['pairId'])&&(_0xc245d2[_0x3ffdc6]['pairId']=_0x22b13f['get'](_0xc245d2[_0x3ffdc6]['pairId']));}['_removeMissingPairs'](_0x808167){const _0x37fd90=new Set(_0x808167['map'](_0x40707f=>_0x40707f['id']));for(let _0x4bcc5a=0x0;_0x4bcc5a<_0x808167['length'];_0x4bcc5a++)_0x37fd90['has'](_0x808167[_0x4bcc5a]['pairId'])||0x0==_0x808167[_0x4bcc5a]['distance']||(_0x808167[_0x4bcc5a]['isIncorrect']=!0x0);return _0x808167['filter'](_0x490af8=>!_0x490af8['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1607e5){const _0x524ac5=new Set();for(let _0x4082de=0x0;_0x4082de<_0x1607e5['length'];_0x4082de++){if(_0x524ac5['has'](_0x1607e5[_0x4082de]['id'])&&_0x1607e5[_0x4082de]['isRemoved']&&(_0x1607e5[_0x4082de]['isIncorrect']=!0x0),_0x1607e5[_0x4082de]['isIncorrect'])continue;if(0x0==_0x1607e5[_0x4082de]['distance'])continue;if('elementStart'!=_0x1607e5[_0x4082de]['type'])continue;if(null==_0x1607e5[_0x4082de]['pairId'])continue;let _0x182e25=_0x4082de+0x1,_0x52010c=0x0;for(;_0x1607e5[_0x182e25]['id']!=_0x1607e5[_0x4082de]['pairId'];)'elementStart'==_0x1607e5[_0x182e25]['type']?_0x52010c++:'elementEnd'==_0x1607e5[_0x182e25]['type']&&_0x52010c--,_0x182e25++;if(0x0!=_0x52010c){if(_0x1607e5[_0x4082de]['isRemoved'])_0x1607e5[_0x4082de]['isIncorrect']=!0x0;else{for(;_0x182e25!=_0x4082de;)_0x1607e5[_0x182e25]['isRemoved']&&0x0!=_0x1607e5[_0x182e25]['distance']&&(_0x1607e5[_0x182e25]['isIncorrect']=!0x0,_0x524ac5['add'](_0x1607e5[_0x182e25]['pairId'])),_0x182e25--;}}}return _0x1607e5['filter'](_0x7d8336=>!_0x7d8336['isIncorrect']);}['_removeUnsupportedChanges'](_0x77dc70){const _0x29cd86=this['editor']['model']['schema'];for(let _0x51304d=0x0;_0x51304d<_0x77dc70['length'];_0x51304d++){if(!(_0x77dc70[_0x51304d]['isAdded']||_0x77dc70[_0x51304d]['isAddSuggestion']||_0x77dc70[_0x51304d]['isRemoved']||_0x77dc70[_0x51304d]['isRemoveSuggestion']))continue;if(0x0==_0x77dc70[_0x51304d]['distance'])continue;const _0xc8d2a4=_0x77dc70[_0x51304d]['item'];_0x29cd86['isBlock'](_0xc8d2a4)||_0x29cd86['isLimit'](_0xc8d2a4)||(_0x77dc70[_0x51304d]['isAdded']&&delete _0x77dc70[_0x51304d]['isAdded'],_0x77dc70[_0x51304d]['isAddSuggestion']&&delete _0x77dc70[_0x51304d]['isAddSuggestion'],_0x77dc70[_0x51304d]['isRemoveSuggestion']&&delete _0x77dc70[_0x51304d]['isRemoveSuggestion'],_0x77dc70[_0x51304d]['isRemoved']&&(_0x77dc70[_0x51304d]['isIncorrect']=!0x0));}return _0x77dc70['filter'](_0x1dca18=>!_0x1dca18['isIncorrect']);}['_makeModelFromTape'](_0x1f60ed,_0x10722e,_0x3dcd46){const _0x5cf93b=new wt(),_0x2fa9e6=[],_0x11c461=new Map(),_0x149b55=this['editor']['model'],_0x8a6db2=_0x149b55['schema'],_0x50b30e=[_0x5cf93b],_0x1278ef={},_0x5f401e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3a9d91=null;const _0x47e1c3=[0x0];for(let _0x2fa6ea=0x0;_0x2fa6ea<_0x1f60ed['length'];_0x2fa6ea++){let _0x2ca3db,_0x3b7f1b;if('elementStart'===_0x1f60ed[_0x2fa6ea]['type']){_0x2ca3db=_0x149b55['createPositionFromPath'](_0x5cf93b,_0x47e1c3);const _0x149513=new ft(_0x1f60ed[_0x2fa6ea]['item']['name'],_0x1f60ed[_0x2fa6ea]['item']['getAttributes']());_0x50b30e[0x0]['_appendChild'](_0x149513),_0x47e1c3['push'](0x0),_0x50b30e['unshift'](_0x149513),_0x3b7f1b=_0x149b55['createPositionFromPath'](_0x5cf93b,_0x47e1c3),_0x3a9d91=null;}else{if('elementEnd'===_0x1f60ed[_0x2fa6ea]['type'])_0x50b30e['shift'](),_0x2ca3db=_0x149b55['createPositionFromPath'](_0x5cf93b,_0x47e1c3),_0x47e1c3['pop'](),_0x47e1c3[_0x47e1c3['length']-0x1]++,_0x3b7f1b=_0x149b55['createPositionFromPath'](_0x5cf93b,_0x47e1c3),_0x3a9d91=null;else{if(_0x2ca3db=_0x149b55['createPositionFromPath'](_0x5cf93b,_0x47e1c3),_0x3a9d91&&_0x111b8c(_0x3a9d91,_0x1f60ed[_0x2fa6ea]['item']))_0x3a9d91['_data']+=_0x1f60ed[_0x2fa6ea]['item']['data'];else{const _0x4749bb=new _t(_0x1f60ed[_0x2fa6ea]['item']['data'],_0x1f60ed[_0x2fa6ea]['item']['getAttributes']());_0x50b30e[0x0]['_appendChild'](_0x4749bb),_0x3a9d91=_0x4749bb;}_0x47e1c3[_0x47e1c3['length']-0x1]+=_0x1f60ed[_0x2fa6ea]['item']['offsetSize'],_0x3b7f1b=_0x149b55['createPositionFromPath'](_0x5cf93b,_0x47e1c3);}}for(const _0x16ca9d of _0x1f60ed[_0x2fa6ea]['markersStart'])_0x11c461['set'](_0x16ca9d,{'start':_0x2ca3db,'end':null});_0x2324a5('isRemoveSuggestion',_0x2fa6ea,_0x2ca3db,_0x3b7f1b),_0x2324a5('isAddSuggestion',_0x2fa6ea,_0x2ca3db,_0x3b7f1b),_0x2324a5('isRemoved',_0x2fa6ea,_0x2ca3db,_0x3b7f1b),_0x2324a5('isAdded',_0x2fa6ea,_0x2ca3db,_0x3b7f1b);for(const _0x23564b of _0x1f60ed[_0x2fa6ea]['markersEnd']){_0x11c461['get'](_0x23564b)['end']=_0x3b7f1b;}}for(const [_0x584654,_0x16506e]of _0x11c461){const _0x139a3a=this['editor']['model']['createRange'](_0x16506e['start'],_0x16506e['end']);_0x5cf93b['markers']['set'](_0x584654,_0x139a3a);}return _0x2fa9e6['sort']((_0x2649e8,_0x127471)=>{const _0x313c6b=_0x5cf93b['markers']['get']('revision:'+_0x2649e8['id']),_0x170fa2=_0x5cf93b['markers']['get']('revision:'+_0x127471['id']);return _0x313c6b['start']['isBefore'](_0x170fa2['start'])?-0x1:_0x313c6b['start']['isAfter'](_0x170fa2['start'])?0x1:_0x313c6b['end']['isBefore'](_0x170fa2['end'])?-0x1:_0x313c6b['end']['isAfter'](_0x170fa2['end'])?0x1:'add'===_0x2649e8['type']?-0x1:0x1;}),{'root':_0x5cf93b,'changes':_0x2fa9e6};function _0x2324a5(_0x495ead,_0x16a503,_0x5b9631,_0x232e3c){const _0x25b9a1=!!_0x1f60ed[_0x16a503][_0x495ead],_0x21f169=_0x25b9a1?_0x1f60ed[_0x16a503][_0x495ead]['userId']:null,_0x3d336b=_0x16a503===_0x1f60ed['length']-0x1,_0x40092e=_0x5f401e[_0x495ead][0x0],_0x4b727f=_0x8a6db2['isObject'](_0x1f60ed[_0x16a503]['item']);!_0x1278ef[_0x495ead]&&_0x25b9a1?_0x1278ef[_0x495ead]={'start':_0x5b9631,'tapeItem':_0x1f60ed[_0x16a503],'userId':_0x21f169,'type':_0x495ead}:_0x1278ef[_0x495ead]&&!_0x25b9a1?(_0x1278ef[_0x495ead]['end']=_0x5b9631,_0x569e08(_0x1278ef[_0x495ead]),_0x1278ef[_0x495ead]=null):_0x1278ef[_0x495ead]&&_0x25b9a1&&_0x1278ef[_0x495ead]['userId']!==_0x21f169&&(_0x1278ef[_0x495ead]['end']=_0x5b9631,_0x40092e&&_0x40092e['userId']===_0x1278ef[_0x495ead]['userId']||_0x569e08(_0x1278ef[_0x495ead]),_0x1278ef[_0x495ead]={'start':_0x5b9631,'tapeItem':_0x1f60ed[_0x16a503],'userId':_0x21f169,'type':_0x495ead}),_0x1278ef[_0x495ead]&&_0x4b727f&&('elementStart'!==_0x1f60ed[_0x16a503]['type']||_0x40092e&&_0x40092e['userId']===_0x21f169||_0x5f401e[_0x495ead]['unshift']({'userId':_0x21f169,'object':_0x1f60ed[_0x16a503]['item'],'change':_0x1278ef[_0x495ead]}),'elementEnd'===_0x1f60ed[_0x16a503]['type']&&_0x40092e&&_0x40092e['object']===_0x1f60ed[_0x16a503]['item']&&(_0x5f401e[_0x495ead]['shift'](),_0x1278ef[_0x495ead]=_0x40092e['change'])),_0x1278ef[_0x495ead]&&_0x3d336b&&(_0x1278ef[_0x495ead]['end']=_0x232e3c,_0x569e08(_0x1278ef[_0x495ead]),_0x1278ef[_0x495ead]=null);}function _0x569e08({start:_0x5234bc,end:_0x12973d,tapeItem:_0x5d6de2,userId:_0x5935d7,type:_0x29cf86}){const _0x25e6dd=_0x5d6de2['item'],_0x2a3fad=_0x149b55['schema']['isBlock'](_0x25e6dd)&&!_0x149b55['schema']['isLimit'](_0x25e6dd),_0x22c6d9=_0x5234bc['nodeAfter']==_0x12973d['parent']&&_0x12973d['isAtStart'];if(_0x2a3fad&&_0x22c6d9)return;const _0x5c3fec=_0x149b55['createRange'](_0x5234bc,_0x12973d),_0x4d3510=_0x10722e['get'](_0x5935d7),_0x36823e=new r({'author':_0x4d3510,'type':'isAdded'==_0x29cf86||'isAddSuggestion'==_0x29cf86?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x29cf86||'isRemoveSuggestion'==_0x29cf86},'createdAt':new Date(),'rootName':_0x3dcd46});_0x2fa9e6['push'](_0x36823e),_0x5cf93b['markers']['set']('revision:'+_0x36823e['id'],_0x5c3fec);}function _0x111b8c(_0x148e7e,_0x47e64a){const _0x35ce5d=_0x148e7e['getAttributes'](),_0x147adb=_0x47e64a['getAttributes']();for(const _0x1859f9 of _0x35ce5d){if(_0x1859f9[0x1]!==_0x47e64a['getAttribute'](_0x1859f9[0x0]))return!0x1;_0x147adb['next']();}return _0x147adb['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0xc1a2a1=>{const _0x45a843=_0xc1a2a1['markerName']['split'](':')[0x1],_0x3c18f4=this['_getChangeFromId'](_0x45a843);if(!_0x3c18f4)return null;const _0x5a821f='add'==_0x3c18f4['type']?'insertion':'deletion',_0x58112a=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5a821f];return _0x3c18f4['data']['isSuggestion']&&_0x58112a['push']('ck-suggestion-marker-'+_0x5a821f+'-new'),this['activeChange']==_0x3c18f4&&_0x58112a['push']('ck-suggestion-marker--active'),{'classes':_0x58112a,'attributes':{'data-change-id':_0x45a843}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5ba6e8=>{_0x5ba6e8['on']('element:pre',(_0x51c538,_0x12d437,_0xefe461)=>{const _0x46acae=_0x12d437['viewItem']['getChild'](0x0);if(!_0x46acae||!_0x46acae['is']('element','code'))return;if(!_0xefe461['consumable']['consume'](_0x46acae,{'attributes':['vid_start','vid_end']}))return;const _0x2b6a1b=_0x12d437['modelRange']['start']['nodeAfter'];_0xefe461['writer']['setAttribute']('vid_start',_0x46acae['getAttribute']('vid_start'),_0x2b6a1b),_0xefe461['writer']['setAttribute']('vid_end',_0x46acae['getAttribute']('vid_end'),_0x2b6a1b);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5ecffd=>{_0x5ecffd['on']('element',(_0x497438,_0x2292c2,_0x4d0da2)=>{if(!_0x4d0da2['consumable']['consume'](_0x2292c2['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2292c2['modelRange']['isCollapsed'])return;const _0xca223b=_0x2292c2['modelRange']['start']['nodeAfter'];_0xca223b['hasAttribute']('vid_start')||_0xca223b['hasAttribute']('vid')||(_0x4d0da2['writer']['setAttribute']('vid_start',_0x2292c2['viewItem']['getAttribute']('vid_start'),_0xca223b),_0x4d0da2['writer']['setAttribute']('vid_end',_0x2292c2['viewItem']['getAttribute']('vid_end'),_0xca223b));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x58c5fa=>_0x58c5fa['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x70c2be,[,_0x5d95dd])=>{['vid_start','vid_end','vid']['includes'](_0x5d95dd)&&(_0x70c2be['return']=!0x0,_0x70c2be['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x11aa91=>{_0x11aa91['on']('attribute:vid',(_0x51f0d7,_0x2aaf3a,_0x5cbf53)=>{if('\x20'!=_0x2aaf3a['item']['data']||_0x2aaf3a['item']['parent']['maxOffset']>0x1)return;if(!_0x5cbf53['consumable']['consume'](_0x2aaf3a['item'],_0x51f0d7['name']))return;const _0x310d58=_0x5cbf53['writer'],_0x5756d1=_0x5cbf53['mapper']['toViewRange'](_0x2aaf3a['range']);_0x310d58['wrap'](_0x5756d1,_0x310d58['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x202e6){const _0x5231c8=_0x202e6['plugins']['get']('RevisionViewer');return(_0x381632,_0x3d2fe5,_0x2fd748)=>{const _0x216d1e=_0x3d2fe5['markerName']['split'](':')[0x1],_0x8b24=_0x5231c8['_getChangeFromId'](_0x216d1e);if(!_0x8b24)return null;const _0x342615='add'==_0x8b24['type']?'split':'merge';if(!_0x2fd748['consumable']['test'](_0x3d2fe5['markerRange'],_0x381632['name']))return;const _0x5e6920=_0x3d2fe5['markerRange']['getWalker'](),_0x5cba64=_0x3d2fe5['markerRange']['start'],_0xe2ee2d=_0x202e6['model']['schema'];let _0x3d98bb=null,_0x2d072d=null,_0x5b17a3=!0x1,_0x48d122=!0x1;for(const _0x36035e of _0x5e6920){const _0x2e15fb=_0x36035e['item'];_0x5b17a3=_0x5b17a3||_0xe2ee2d['isContent'](_0x2e15fb);const _0x26a1cd=_0x2fd748['mapper']['toViewElement'](_0x2e15fb);if(_0x26a1cd&&_0x26a1cd['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x36035e['type']&&(_0xe2ee2d['isBlock'](_0x2e15fb)&&!_0xe2ee2d['isLimit'](_0x2e15fb)&&(_0x2e15fb['nextSibling']||_0x5cba64['isAtEnd']?_0x3d98bb&&_0x3d98bb['parent']==_0x2e15fb||(_0x3d98bb=_0x2e15fb,_0x59d9a0(_0x36035e['previousPosition']),_0x48d122=!0x0):_0x2d072d=_0x2d072d||_0x36035e['previousPosition']));}function _0x59d9a0(_0x384b09){const _0x2a2400=_0x2fd748['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x342615}),_0x51e2d3=_0x2fd748['mapper']['toViewPosition'](_0x384b09);_0x8b24['data']['isSuggestion']&&_0x2fd748['writer']['addClass']('ck-suggestion-marker-'+_0x342615+'-new',_0x2a2400),_0x5231c8['activeChange']==_0x8b24&&_0x2fd748['writer']['addClass']('ck-suggestion-marker--active',_0x2a2400),_0x2fd748['writer']['insert'](_0x51e2d3,_0x2a2400),_0x2fd748['mapper']['bindElementToMarker'](_0x2a2400,_0x3d2fe5['markerName']);}_0x5b17a3||_0x48d122||!_0x2d072d||_0x59d9a0(_0x2d072d);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x37f41a,_0x470ddf,_0x1c91b2)=>{const _0x24276a=_0x1c91b2['mapper']['markerNameToElements'](_0x470ddf['markerName']);if(_0x24276a){for(const _0x35cf3a of _0x24276a)(_0x35cf3a['hasClass']('ck-suggestion-marker-split')||_0x35cf3a['hasClass']('ck-suggestion-marker-merge'))&&(_0x1c91b2['mapper']['unbindElementFromMarkerName'](_0x35cf3a,_0x470ddf['markerName']),_0x1c91b2['writer']['remove'](_0x35cf3a));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x15abab,_0x36bac6,_0x4295dc)=>{const _0x1e28f8=_0x36bac6['markerName']['split'](':')[0x1],_0x4ddb55=this['_getChangeFromId'](_0x1e28f8);if(!_0x4ddb55)return null;const _0x30ed88='add'==_0x4ddb55['type']?'split':'merge';if(_0x4295dc['consumable']['test'](_0x36bac6['markerRange'],_0x15abab['name']))for(const _0x185f2a of _0x36bac6['markerRange']['getItems']()){if(!_0x185f2a['is']('element','softBreak'))continue;const _0x402a95=_0x4295dc['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x30ed88}),_0x4e802f=_0x4295dc['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x185f2a));_0x4ddb55['data']['isSuggestion']&&_0x4295dc['writer']['addClass']('ck-suggestion-marker-'+_0x30ed88+'-new',_0x402a95),this['activeChange']==_0x4ddb55&&_0x4295dc['writer']['addClass']('ck-suggestion-marker--active',_0x402a95),_0x4295dc['writer']['insert'](_0x4e802f,_0x402a95),_0x4295dc['mapper']['bindElementToMarker'](_0x402a95,_0x36bac6['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2e2f58=>{for(const _0x3f5c8d of this['editor']['model']['document']['getRootNames']()){const _0x552942=this['editor']['model']['document']['getRoot'](_0x3f5c8d),_0x3612dd=this['editor']['editing']['view']['document']['getRoot'](_0x3f5c8d);if(_0x3612dd){const _0x350e32=_0x552942['getAttribute']('revisionHistoryAttachChange');if(_0x2e2f58['removeAttribute']('data-change-id',_0x3612dd),_0x2e2f58['removeClass']('ck-revision-history-root-add',_0x3612dd),_0x2e2f58['removeClass']('ck-revision-history-root-remove',_0x3612dd),_0x2e2f58['removeClass']('ck-revision-history-root--active',_0x3612dd),_0x350e32){const _0x2d9b1e=this['_getChangeFromId'](_0x350e32);if(!_0x2d9b1e)return null;_0x2e2f58['setAttribute']('data-change-id',_0x350e32,_0x3612dd),_0x2e2f58['addClass']('ck-revision-history-root-'+_0x2d9b1e['type'],_0x3612dd),this['activeChange']==_0x2d9b1e&&_0x2e2f58['addClass']('ck-revision-history-root--active',_0x3612dd);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xc59797=>'revision-comment:'+_0xc59797,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x6d5bb1=>'revision-suggestion:'+_0x6d5bb1,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x49e7c4=>({'name':'suggestion:'+_0x49e7c4,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3e2a5=>{const _0x3ee9fd=_0x3e2a5['markerName']['split'](':')[0x1];return'insertion'!=_0x3ee9fd&&'deletion'!=_0x3ee9fd?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3ee9fd]};}}),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',(_0x25e920,_0x1ffd53,_0x20d8b2)=>{const _0x4b2441=_0x20d8b2['mapper']['markerNameToElements'](_0x1ffd53['markerName']);if(_0x4b2441){for(const _0x452d03 of _0x4b2441)_0x452d03['is']('uiElement')&&(_0x20d8b2['mapper']['unbindElementFromMarkerName'](_0x452d03,_0x1ffd53['markerName']),_0x20d8b2['writer']['remove'](_0x452d03));}},{'priority':'high'});}['_getChangeFromId'](_0x3d1023){return this['_changeIdToChange']['get'](_0x3d1023);}['_getViewForChange'](_0x54e054){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x54e054),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xaac9dc,_0x1ec131,_0x2e0743,_0x28891a)=>{_0x28891a&&this['_balloon']['remove'](_0x28891a),_0x2e0743&&(this['_balloon']['add']({'view':_0x2e0743,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x7ca635=this['editor']['editing'],_0x46a5d6=this['_getChangeFromId'](_0x2e0743['changeId']);let _0xd0e22b;if(_0x46a5d6['data']['isOnRoot']){const _0x751f3d=_0x7ca635['view']['getDomRoot'](_0x46a5d6['rootName']);_0xd0e22b=Array['from'](_0x751f3d['getClientRects']());}else{const _0x40dc3b=this['editor']['model']['markers']['get']('revision:'+_0x2e0743['changeId']);_0xd0e22b=Array['from'](_0x7ca635['mapper']['markerNameToElements'](_0x40dc3b['name']))['map'](_0x2ad1b8=>_0x7ca635['view']['domConverter']['mapViewToDom'](_0x2ad1b8))['map'](_0x372bfb=>Array['from'](_0x372bfb['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xd0e22b[0x0];return _0xd0e22b['find'](_0x251aa1=>_0x251aa1['top']-0x3<=this['_activeViewTarget']['y']&&_0x251aa1['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x251aa1['left']-0x3<=this['_activeViewTarget']['x']&&_0x251aa1['right']+0x3>=this['_activeViewTarget']['x'])||_0xd0e22b[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x53fe62,_0x7eed59,_0x10197e,_0x394586)=>{this['activeView']=_0x10197e?this['_getViewForChange'](_0x10197e):null,this['editor']['model']['change'](()=>{const _0x163e5d=this['editor']['editing'];_0x394586&&(_0x394586['data']['isOnRoot']?_0x163e5d['view']['change'](_0x19096d=>{_0x19096d['removeClass']('ck-revision-history-root--active',_0x163e5d['view']['document']['getRoot'](_0x394586['rootName']));}):_0x163e5d['reconvertMarker']('revision:'+_0x394586['id'])),_0x10197e&&(_0x10197e['data']['isOnRoot']?_0x163e5d['view']['change'](_0x8aae69=>{_0x8aae69['addClass']('ck-revision-history-root--active',_0x163e5d['view']['document']['getRoot'](_0x10197e['rootName']));}):_0x163e5d['reconvertMarker']('revision:'+_0x10197e['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x3421d4,_0x3ebcd1)=>{if(this['activeChange'])return;const _0x4586ae=this['_findChangeIdFromDomTarget'](_0x3ebcd1['target']),_0x1a9133=this['_changeIdToChange']['get'](_0x4586ae);_0x1a9133?(this['_activeViewTarget']={'x':_0x3ebcd1['domEvent']['x'],'y':_0x3ebcd1['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1a9133)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x20d615,_0x3d68ee)=>{const _0x2688e0=this['_findChangeIdFromDomTarget'](_0x3d68ee['target']),_0x265575=this['_changeIdToChange']['get'](_0x2688e0);_0x265575?(this['_activeViewTarget']={'x':_0x3d68ee['domEvent']['x'],'y':_0x3d68ee['domEvent']['y']},_0x265575===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x265575):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x29328c){do{const _0x143d57=_0x29328c['getAttribute']('data-change-id');if(_0x143d57)return _0x143d57;_0x29328c=_0x29328c['parent'];}while(_0x29328c);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2d12e1=>{for(const _0x445a9a of this['editor']['model']['markers'])_0x2d12e1['removeMarker'](_0x445a9a);});}}function et(_0x4b3e80,_0x1d58c7){return(_0x5ac3e4,_0x3cdbe9,_0x124fdd)=>{if(!_0x124fdd['consumable']['test'](_0x3cdbe9['markerRange'],_0x5ac3e4['name']))return;const _0xd3ddcc=_0x3cdbe9['markerRange']['getWalker'](),_0x214620=_0x3cdbe9['markerRange']['start'],_0x42d355=_0x4b3e80['model']['schema'];let _0x375b8c=null,_0x423824=null,_0x1c7f64=!0x1,_0x4c6ee5=!0x1;for(const _0x188d92 of _0xd3ddcc){const _0x373342=_0x188d92['item'];_0x1c7f64=_0x1c7f64||_0x42d355['isContent'](_0x373342);const _0x3e8970=_0x124fdd['mapper']['toViewElement'](_0x373342);if(_0x3e8970&&_0x3e8970['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x188d92['type']&&(_0x42d355['isBlock'](_0x373342)&&!_0x42d355['isLimit'](_0x373342)&&(_0x373342['nextSibling']||_0x214620['isAtEnd']?_0x375b8c&&_0x375b8c['parent']==_0x373342||(_0x375b8c=_0x373342,_0x3cab53(_0x188d92['previousPosition']),_0x4c6ee5=!0x0):_0x423824=_0x423824||_0x188d92['previousPosition']));}function _0x3cab53(_0x5bdc50){const _0x4721ca=_0x124fdd['mapper']['toViewPosition'](_0x5bdc50),_0x3b6757=_0x124fdd['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1d58c7});_0x124fdd['writer']['insert'](_0x4721ca,_0x3b6757),_0x124fdd['mapper']['bindElementToMarker'](_0x3b6757,_0x3cdbe9['markerName']);}_0x1c7f64||_0x4c6ee5||!_0x423824||_0x3cab53(_0x423824);};}class bt extends _0x52c898{constructor(_0x81512c){super(_0x81512c);const _0x4dbc2f=_0x81512c['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4dbc2f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4dbc2f,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xb1cf3b=this['editor'],_0x99b5bc=_0xb1cf3b['plugins']['get'](d),_0x55e77d=_0x99b5bc['isReady']?_0x99b5bc['diff']['newRevisionId']:null;_0xb1cf3b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x55e77d);}['refresh'](){const {isReady:_0x4bcc0a,isEnabled:_0x3d5e45}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x4bcc0a&&_0x3d5e45;}}class yt extends _0x52c898{['_step'];constructor(_0x13ef22,{direction:_0x6420ad}){super(_0x13ef22);const _0x547005=_0x13ef22['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x6420ad?0x1:-0x1,this['listenTo'](_0x547005,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x547005,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x547005,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x15e579=this['editor'],_0x5682b4=_0x15e579['plugins']['get'](d),{isNavigationMode:_0x467035,currentChangeNumber:_0x3e2553}=_0x5682b4;let _0x2ef3fe;if(_0x5682b4['activeChange']=_0x467035?_0x5682b4['diff']['changes']['get'](_0x3e2553+this['_step']):_0x5682b4['diff']['changes']['first'],_0x5682b4['activeChange']['data']['isOnRoot'])_0x2ef3fe=_0x15e579['editing']['view']['getDomRoot'](_0x5682b4['activeChange']['rootName']);else{const _0x2e7a77=_0x15e579['model']['markers']['get']('revision:'+_0x5682b4['activeChange']['id']);_0x2ef3fe=_0x3079d4(_0x15e579['editing'],_0x2e7a77);}_0xbf812d({'target':_0x2ef3fe,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1bff67,currentChangeNumber:_0x1d4eaa,numberOfChanges:_0x2043d3,isReady:_0x59d820,isEnabled:_0x569c46}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x569c46&&_0x59d820&&_0x2043d3)&&(!_0x1bff67||(0x1===this['_step']?_0x1d4eaa<_0x2043d3-0x1:_0x1d4eaa>0x0));}}class _i extends _0x1518ca{constructor(_0x19b24d){super(_0x19b24d);const _0x27b4bb=this['bindTemplate'],_0x4af349=new _0x256ed3(_0x19b24d),_0x518ff3=new _0x256ed3(_0x19b24d);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',(_0x2b5c43,_0x46964a)=>_0x2b5c43&&_0x46964a>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xbeae0,_0x519c6c,_0x12d5be,_0x2d47b2)=>{if(!_0xbeae0)return y(_0x19b24d,'Loading...');if(!_0x12d5be)return y(_0x19b24d,'No\x20changes');const _0x4802df=y(_0x19b24d,'NUMBER_OF_CHANGES',_0x12d5be);return _0x2d47b2?y(_0x19b24d,'X_OF_Y_CHANGES',[_0x519c6c+0x1,_0x12d5be]):_0x4802df;}),_0x4af349['set']({'label':y(_0x19b24d,'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'}),_0x518ff3['set']({'label':y(_0x19b24d,'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'}),_0x4af349['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x518ff3['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x4af349['on']('execute',()=>this['fire']('execute','backward')),_0x518ff3['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',_0x27b4bb['if']('_isStatusLabelVisible','ck-hidden',_0x589f00=>!_0x589f00)]},'children':[{'text':_0x27b4bb['to']('isNavigationMode',_0x763553=>_0x763553?y(_0x19b24d,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x19b24d,'Total')+':\x20')}]},{'text':_0x27b4bb['to']('_statusText')}]},new _0x34adea(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x4af349,_0x518ff3]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x57f998{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0xd8a682=this['editor']['editing']['view'];_0xd8a682['change'](_0x152e22=>{for(const _0x48d9f3 of _0xd8a682['document']['roots'])_0x152e22['addClass'](ce,_0x48d9f3);});}['hide'](){const _0x551a61=this['editor']['editing']['view'];_0x551a61['change'](_0x366ac7=>{for(const _0x401727 of _0x551a61['document']['roots'])_0x366ac7['removeClass'](ce,_0x401727);});}}class R extends _0x57f998{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2bb81f=this['editor'],_0x31b47e=_0x2bb81f['plugins']['get'](d),_0x135026=_0x2bb81f['plugins']['get'](de);_0x2bb81f['ui']['componentFactory']['add']('exitToEditing',_0x1e412b=>{const _0x4305a4=new _0x256ed3(_0x1e412b);return _0x4305a4['set']({'label':y(_0x1e412b,'Back\x20to\x20editing'),'icon':_0x1f4cfb['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4305a4,'execute',()=>{_0x2bb81f['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4305a4;}),_0x2bb81f['ui']['componentFactory']['add']('restoreRevision',_0xae8b98=>{const _0x245898=new _0x256ed3(_0xae8b98);return _0x245898['set']({'label':y(_0xae8b98,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x245898['bind']('isEnabled')['to'](_0x2bb81f['commands']['get']('restoreRevision')),this['listenTo'](_0x245898,'execute',()=>_0x2bb81f['execute']('restoreRevision')),_0x245898;}),_0x2bb81f['ui']['componentFactory']['add']('changesNavigation',_0x12ff1b=>{const _0x3c2d77=new _i(_0x12ff1b),_0x43a311=_0x2bb81f['commands']['get']('showPreviousChange'),_0x1a38a1=_0x2bb81f['commands']['get']('showNextChange');return _0x3c2d77['bind']('isBackwardNavigationEnabled')['to'](_0x43a311,'isEnabled'),_0x3c2d77['bind']('isForwardNavigationEnabled')['to'](_0x1a38a1,'isEnabled'),_0x3c2d77['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x31b47e),this['listenTo'](_0x3c2d77,'execute',(_0x36f8eb,_0x13b2fe)=>{_0x2bb81f['execute']('forward'===_0x13b2fe?'showNextChange':'showPreviousChange');}),_0x3c2d77;}),_0x135026['show'](),_0x31b47e['on']('change:isReady',(_0x28f586,_0x2fdb85,_0x214718)=>{_0x214718?_0x135026['hide']():_0x135026['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x20c627,_0x1bdfe8){super(_0x20c627,_0x1bdfe8);const _0x5e3765=this['bindTemplate'];this['set']({'label':y(_0x20c627,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x20c627,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5e3765['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 _0x31b58f=this['fieldView']['element'];this['_tooltipString']=_0x31b58f['scrollWidth']>_0x31b58f['clientWidth']&&_0x31b58f['value']||'';}}class ti extends _0x1518ca{constructor(_0x3c5db8,_0x2b5696,_0xb39c5d){super(_0x3c5db8);const _0x6e31a0=new _0x3de5c6();_0x6e31a0['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 _0x21d87a=['ck','ck-revision-history-sidebar__revision-author'];_0xb39c5d&&_0x21d87a['push']('ck-revision-history-sidebar__revision-author_creator');const _0x35d8c4=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3c5db8,_0xb39c5d?'Revision\x20creator':'Revision\x20author')},'children':[_0x6e31a0,_0x2b5696['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x21d87a},'children':_0x35d8c4});}}function ni(_0x5d2083,_0x3d45b1){const _0x3ba844=_0x5d2083['bindTemplate'],_0x4ff0f9=_0x5d2083['locale'],_0x1d3bda=_0x1e95cb(_0x4ff0f9);_0x1d3bda['panelPosition']='sw';const _0x12e41d=function(_0x39069e,_0x3d7ed6){const _0x29fcc3=function(_0x2f5918,_0x11570d){const _0x59a1d4=_0x2f5918['locale'],_0x257705={'Compare\x20against\x20selected':y(_0x59a1d4,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x59a1d4,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x59a1d4,'Restore\x20this\x20revision')};return _0x11570d['map'](_0x103949=>{const _0x19af8f=_0x257705[_0x103949['name']];return _0x19af8f&&_0x19af8f!==_0x103949['name']&&(_0x103949['name']=_0x19af8f),_0x103949;});}(_0x39069e,_0x3d7ed6),_0x18f223=new _0x1f6837();for(const _0x26694b of _0x29fcc3){const _0xfd1d49={'type':'button','model':new to({'label':_0x26694b['name'],'class':_0x26694b['class'],'withText':!0x0,'role':'menuitem','_action':_0x26694b['action']})};_0xfd1d49['model']['bind']('isEnabled')['to'](_0x39069e,'isActionsDropdownOpen',_0x72ebda=>'function'!=typeof _0x26694b['isEnabled']||(!_0x72ebda||_0x26694b['isEnabled'](_0x39069e))),_0x18f223['add'](_0xfd1d49);}return _0x18f223;}(_0x5d2083,_0x3d45b1);return _0x5d2083['bind']('isActionsDropdownOpen')['to'](_0x1d3bda,'isOpen'),_0x1d3bda['buttonView']['set']({'label':y(_0x4ff0f9,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1f4cfb['threeVerticalDots']}),_0x1d3bda['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x3ba844['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x3ba844['to'](_0x585272=>_0x585272['stopPropagation']())}}),_0x1d3bda['on']('execute',_0x387000=>{_0x5d2083['isReady']&&'function'==typeof _0x387000['source']['_action']&&_0x387000['source']['_action'](_0x5d2083);}),_0x2cfe1c(_0x1d3bda,_0x12e41d,{'role':'menu'}),_0x1d3bda['listenTo'](_0x5d2083,'change:isActionsDropdownOpen',(_0x315943,_0x2d1619,_0x179ef9)=>{if(_0x179ef9)for(const _0x287fdc of _0x1d3bda['listView']['items']){const _0xac53d4=_0x287fdc['children']['first'],_0x5d75b3=_0x3d45b1['find'](_0x1fc2f7=>_0x1fc2f7['action']===_0xac53d4['_action'])['isVisible'];_0x287fdc['isVisible']=void 0x0===_0x5d75b3||_0x5d75b3(_0x5d2083);}}),_0x1d3bda;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x107083(_0x1518ca){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x3068ba,_0x14b997,_0x1be2a4,_0x4d235d){super(_0x3068ba);const _0x4e7e88=this['bindTemplate'],_0x26abd8=function(_0x27e52a,_0x3033de){const _0x382710=Array['from'](_0x3033de['authors'])['filter'](_0x55626a=>_0x55626a!=_0x3033de['creator']);return _0x3033de['creator']&&_0x382710['unshift'](_0x3033de['creator']),_0x382710['map'](_0x272d90=>new ti(_0x27e52a,_0x272d90,_0x272d90==_0x3033de['creator']));}(_0x3068ba,_0x14b997);this['id']=_0x14b997['id'],this['_revision']=_0x14b997,this['_requireRevisionName']=_0x4d235d,this['bind']('name','createdAt')['to'](_0x14b997),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x43d9c4=>{return _0x1d7877=_0x3068ba['uiLanguage'],(_0x1dd275=_0x43d9c4)['toLocaleDateString'](_0x1d7877,{'month':'long','day':'numeric'})+',\x20'+_0x1dd275['toLocaleTimeString'](_0x1d7877,{'hour':'numeric','minute':'numeric'});var _0x1d7877,_0x1dd275;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x3068ba,_0x4fa73f),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x323ab4=>_0x323ab4||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0xaac1b0,_0x17e740)=>_0xaac1b0&&_0x17e740),this['revisionActionsView']=_0x1be2a4&&_0x1be2a4['length']?ni(this,_0x1be2a4):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4e7e88['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4e7e88['if']('isEnabled','ck-disabled',_0x1f27a2=>!_0x1f27a2),_0x4e7e88['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4e7e88['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4e7e88['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':_0x4e7e88['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':_0x26abd8}]},this['revisionActionsView']],'on':{'click':_0x4e7e88['to'](_0x1d716c=>{_0x1d716c['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3628cf=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3628cf,'change',()=>{this['_requireRevisionName']&&!_0x3628cf['value']||this['fire']('setName',{'id':this['id'],'name':_0x3628cf['value']}),_0x3628cf['value']||(_0x3628cf['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(_0x462b63,_0x22a178){const _0x4d5fe4=_0x538fe4['fromJSDate'](_0x462b63)['setLocale'](_0x22a178),_0x4a6b72=_0x538fe4['local'](),_0x3903a6=_0x4a6b72['minus']({'days':0x1})['startOf']('day');let _0x3a8cb7,_0x49d53b;return _0x4d5fe4['hasSame'](_0x4a6b72,'day')?(_0x3a8cb7=_0x4d5fe4['startOf']('day')['toJSDate'](),_0x49d53b=_0x4d5fe4['toRelativeCalendar']()):_0x4d5fe4['hasSame'](_0x3903a6,'day')?(_0x3a8cb7=_0x3903a6['toJSDate'](),_0x49d53b=_0x4d5fe4['toRelativeCalendar']()):_0x4d5fe4['hasSame'](_0x4a6b72,'week')?(_0x3a8cb7=_0x4d5fe4['startOf']('week')['toJSDate'](),_0x49d53b=_0x4d5fe4['weekdayLong']||''):_0x4d5fe4['hasSame'](_0x4a6b72,'year')?(_0x3a8cb7=_0x4d5fe4['startOf']('month')['toJSDate'](),_0x49d53b=_0x4d5fe4['monthLong']||''):(_0x3a8cb7=_0x4d5fe4['startOf']('year')['toJSDate'](),_0x49d53b=String(_0x4d5fe4['year'])),{'startDate':_0x3a8cb7,'localizedPeriodName':_0x49d53b};}class mi extends _0x1518ca{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3d0075,_0x2fd4af,_0xe94ecf,_0x4cd55d){super(_0x3d0075);const _0x484006=di(_0x2fd4af,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2fd4af,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0xe94ecf,this['_requireRevisionName']=_0x4cd55d,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':_0x484006}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x2989c9){const _0x26460f=new ai(this['locale'],_0x2989c9,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x26460f);}['removeRevision'](_0x1b1f4f){const _0x3b2123=this['revisionViews']['find'](_0x22424a=>_0x22424a['id']===_0x1b1f4f['id']);this['revisionViews']['remove'](_0x3b2123);}}class as extends _0x1518ca{constructor(_0x6ea0aa){super(_0x6ea0aa);const _0x16f2c3=new _0x3de5c6();_0x16f2c3['content']=_0x1f4cfb['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x16f2c3,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x6ea0aa,'Revision\x20history')]}]});}}class ci extends _0x1518ca{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x385494,_0x1fec05,_0x325f11,_0x16cbc6){super(_0x385494);const _0x184cbc=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x1fec05,this['_revisionActions']=_0x325f11,this['_requireRevisionName']=_0x16cbc6,this['on']('select',(_0x2c6788,_0xbc6253)=>{this['fire']('revisionSelected',_0xbc6253);}),this['on']('setName',(_0x162e7,_0x1e9699)=>{this['fire']('revisionSetName',_0x1e9699);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x385494),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x184cbc['if']('isEnabled','ck-disabled',_0x31b889=>!_0x31b889)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x1d5eb0 of this['_revisions'])this['_addRevision'](_0x1d5eb0);this['_revisions']['on']('add',(_0x4ca0fc,_0x2c6b12)=>{this['_addRevision'](_0x2c6b12);}),this['_revisions']['on']('remove',(_0x4c4516,_0x29dc52)=>{this['_removeRevision'](_0x29dc52);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0xa9efda=>_0xa9efda['revisionViews']['map'](_0x2da091=>_0x2da091))['flat']();}['selectRevision'](_0x4c85de){for(const _0x194201 of this['revisionViews'])_0x4c85de&&_0x4c85de['id']===_0x194201['id']?_0x194201['select']():_0x194201['deselect']();}['highlightRevisions'](_0x3212fd){for(const _0x57ac1f of this['revisionViews'])_0x3212fd['some'](({id:_0x350ed5})=>_0x350ed5===_0x57ac1f['id'])?_0x57ac1f['highlight']():_0x57ac1f['unhighlight']();}['_addRevision'](_0x5e6bc1){const _0x4694bb=di(_0x5e6bc1['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3d94f7=this['timePeriodViews']['get'](0x0);_0x3d94f7&&_0x3d94f7['startDate']['getTime']()===_0x4694bb['getTime']()||(_0x3d94f7=new mi(this['locale'],_0x4694bb,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3d94f7)),_0x3d94f7['addRevision'](_0x5e6bc1);}['_removeRevision'](_0x369dfe){const _0x27e5a7=di(_0x369dfe['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x27e5a7)['removeRevision'](_0x369dfe);}['_getTimePeriodViewByStartDate'](_0x53472c){return this['timePeriodViews']['find'](_0x566ccb=>_0x566ccb['startDate']['getTime']()===_0x53472c['getTime']());}}class w extends _0x57f998{['_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(_0x218aac){super(_0x218aac),this['_revisionViewer']=_0x218aac['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x140248=this['_revisionsRepository']['_revisions'],_0x4955cb=this['_createRevisionActions'](),_0x21a5f0=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x140248,_0x4955cb,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',(_0xfc6fad,_0xb113fc)=>{_0xb113fc['revisionViews']['on']('add',(_0x3bf70d,_0x25722c)=>{_0x25722c['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)),_0x21a5f0['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x583d4a=this['_revisionsRepository']['getRevision'](0x0);if(_0x583d4a){const _0x29f99c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x583d4a['id']);this['_revisionViewer']['compare'](_0x583d4a,_0x29f99c);}}['_handleRevisionSelected'](_0xd6dc3e,_0x47951d){const _0x308021=this['_revisionsRepository']['getRevision'](_0x47951d['id']),_0x3b926b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x308021['id']);this['_revisionViewer']['compare'](_0x308021,_0x3b926b);}['_handleRevisionSetName'](_0xa00a90,_0x2b68be){this['_revisionsRepository']['getRevision'](_0x2b68be['id'])['setName'](_0x2b68be['name']);}['_handleDiffChange'](_0x1e6467,_0x446104,_0x52951c){const _0x415e57=this['_revisionsRepository']['getRevisionsInDiff'](_0x52951c);_0x415e57['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x415e57),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x415e57[0x0]));}['_createRevisionActions'](){const _0x31cb3c=this['editor'],_0x285413=w['availableRevisionActions'],_0x145dd2=_0x31cb3c['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x145dd2['length'])return _0x145dd2['map'](_0x57abe4=>{const _0x5e35da='string'==typeof _0x57abe4?Object['assign']({},_0x285413[_0x57abe4]):_0x57abe4;return _0x5e35da['action']=_0x5e35da['action']['bind'](this,_0x31cb3c),_0x5e35da['isVisible']&&(_0x5e35da['isVisible']=_0x5e35da['isVisible']['bind'](this,_0x31cb3c)),_0x5e35da;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x4441b6},_0x4a83e7)=>{const _0x87ed71=_0x4441b6['get'](d),_0x233dc9=_0x87ed71['repository'];let _0x3e8c7b=_0x87ed71['diff']['newRevisionId'],_0x5cbe17=_0x4a83e7['id'];_0x233dc9['getIndex'](_0x3e8c7b)>_0x233dc9['getIndex'](_0x5cbe17)&&([_0x3e8c7b,_0x5cbe17]=[_0x5cbe17,_0x3e8c7b]),_0x87ed71['compare'](_0x3e8c7b,_0x5cbe17);},'isVisible':({plugins:_0x391fa2},_0x1d47c6)=>{const _0x3c3294=_0x391fa2['get'](d);return!(_0x3c3294['repository']['getRevisionsInDiff'](_0x3c3294['diff'])['length']>0x2)&&!_0x1d47c6['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x12058f,{id:_0x456e84})=>{_0x12058f['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x456e84);},'isVisible':({plugins:_0x29afb0},_0x274485)=>!!_0x29afb0['get'](d)['repository']['getLaterVisibleRevision'](_0x274485['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x18abc7},{id:_0x492b54,revisionNameView:_0x50eead})=>{const _0x5ca835=_0x18abc7['get'](d),_0x5b7a35=_0x5ca835['repository']['getEarlierVisibleRevision'](_0x492b54);_0x5ca835['compare'](_0x492b54,_0x5b7a35),_0x50eead['focus'](),_0x50eead['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x36fa8f,_0x2d3fdb){super(_0x36fa8f),this['_view']=_0x2d3fdb,this['_toolbarConfig']=ct(_0x36fa8f['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x1d88e0){const _0x34c1ee=this['editor'],_0x1e352d=this['view'],_0x3b2626=_0x34c1ee['editing']['view'],_0x554ebd=_0x1e352d['editable'],_0x3ccfeb=_0x3b2626['document']['getRoot']();_0x554ebd['name']=_0x3ccfeb['rootName'],_0x1e352d['render']();const _0x2b3e6e=_0x554ebd['element'];this['setEditableElement'](_0x554ebd['name'],_0x2b3e6e),_0x1e352d['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3b2626['attachDomRoot'](_0x2b3e6e),this['_elementReplacer']['replace'](_0x1d88e0,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x566c1d=this['view'],_0x594ce2=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x594ce2['detachDomRoot'](_0x566c1d['editable']['name']),_0x566c1d['destroy']();}['_initToolbar'](){const _0x13be01=this['view'];_0x13be01['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x13be01['stickyPanel']['limiterElement']=_0x13be01['element'],_0x13be01['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x242c89})=>_0x242c89),_0x13be01['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x13be01['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x511225,_0x142349,_0x4bafa7={}){super(_0x511225),this['stickyPanel']=new lt(_0x511225),this['toolbar']=new pt(_0x511225,{'shouldGroupWhenFull':_0x4bafa7['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x511225,_0x142349);}['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(_0x370ef5,_0x52a9ac){super(_0x52a9ac),this['sourceElement']=_0x370ef5,this['model']['document']['createRoot']();const _0x1cc587=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x1cc587);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x37a4e6,_0xe1f13f){const _0x33fb1=new this(_0x37a4e6,_0xe1f13f);return await _0x33fb1['initPlugins'](),await _0x33fb1['ui']['init'](_0x37a4e6),await _0x33fb1['data']['init'](_0x33fb1['config']['get']('initialData')||''),_0x33fb1['fire']('ready'),_0x33fb1;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1a2be0{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x5c1757){super(_0x5c1757),this['result']='end';}}class H extends _0x1a2be0{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0xdce0b4){if(super(_0xdce0b4),!this['editor']['config']['get']('revisionHistory'))throw new _0x1e00de('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4b8a47=>this['_showRevisionViewer']({..._0x4b8a47,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x39b8d0=>this['_closeRevisionViewer'](_0x39b8d0)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5357ad=>this['_restoreRevision'](_0x5357ad)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3b6e3e){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3b6e3e;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x18b645){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x18b645);}['getRevision'](_0x1f22f1){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1f22f1);}['getRevisions'](_0x665a44){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x665a44||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5f0c1d=this['editor'],_0x44dc76=_0x1e7983(_0x5f0c1d,p),_0xe89a15=_0x5f0c1d['plugins']['get']('RevisionTracker'),_0x30629a=_0x5f0c1d['plugins']['get']('Users')['users'];return _0x44dc76['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x44dc76['lazyRoots'],(_0x44dc76['plugins']['push'](k,d,R,class extends _0x1a2be0{static get['requires'](){return[d,'Users'];}['init'](){const _0x12b41e=this['editor']['plugins']['get']('Users');for(const _0x319d4e of _0x30629a)_0x319d4e['isAnonymous']||_0x12b41e['getUser'](_0x319d4e['id'])||_0x12b41e['addUser'](_0x319d4e);const _0x41b20b=_0xe89a15['repository']['getRevisions']();let _0x5e03a6=null;const _0x9fe610=this['editor']['plugins']['get']('RevisionViewer');_0x9fe610['adapter']=_0xe89a15['adapter'],_0x9fe610['bind']('isEnabled')['to'](_0xe89a15),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5f0c1d,'isReadOnly',_0x3b6555=>!_0x3b6555);for(const _0x1a953a of _0x41b20b){const _0x17ff71=null===_0x1a953a['creator'];if(_0x17ff71&&_0x1a953a['toVersion']===_0x1a953a['fromVersion'])continue;const _0x1839ba=_0x1a953a['toJSON']();_0x9fe610['addRevisionData'](_0x1839ba,(_0x212ed5,_0x245d1a,_0x1a8c65)=>{if(_0x17ff71){if(_0x5e03a6)_0x5e03a6['_update'](_0x212ed5,_0x245d1a);else{if(!_0x245d1a){const _0x314959=_0x1a8c65['toJSON']();_0x314959['id']=_0x4693f2(),_0xe89a15['saveRevision'](_0x314959,_0x1a8c65['toVersion'])['then'](_0x42bf24=>{_0x5e03a6=_0x42bf24;});}}}else _0x1a953a['_update'](_0x212ed5,_0x245d1a);});}}},w),_0x44dc76);}['_enhanceShowRevisionViewerCallback'](){const _0xe370be=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0xf1ff59=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x9b6fe9=this['editor']['plugins']['get']('Autosave');await _0x9b6fe9['save']();}else await _0xf1ff59['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3aef3d=this['editor']['plugins']['get']('Dialog');_0x3aef3d['isOpen']&&_0x3aef3d['hide']();}const _0x18d43b=this['_getRevisionViewerEditorConfig']();return _0xe370be(_0x18d43b)['then'](_0x5560e4=>{return(this['_viewerEditor']=_0x5560e4,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5560e4;})['catch'](_0x2c3a89=>(console['error'](_0x2c3a89),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x33c92f=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'](),_0x33c92f(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x38b155=this['editor']['plugins']['get']('Annotations');_0x38b155['refreshVisibility'](),_0x38b155['refreshPositioning']();}})));}['_showRevisionViewer'](_0x5d60af){const _0x52df16=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x5b3863=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x48b2e9=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x48b2e9,_0x5d60af)['then'](_0x2e27e0=>(_0x5b3863['style']['display']='block',_0x52df16['style']['display']='none',_0x2e27e0));}['_closeRevisionViewer'](_0x49be9e){const _0x3a7ea7=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3a7ea7['style']['display']='',_0x49be9e['destroy']();}async['_restoreRevision'](_0x5a160f){const _0x5bd3af=this['editor'],_0x43cd5b=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x18ff63=_0x5bd3af['plugins']['get']('RevisionTracker'),_0x5b8871=_0x43cd5b['repository']['getRevision'](_0x5a160f);let _0x37ab83,_0x216c33,_0x434bf6;try{_0x37ab83=await _0x43cd5b['getRevisionData'](_0x5b8871),_0x216c33=await _0x43cd5b['getRevisionRootsAttributes'](_0x5b8871);}catch(_0x2a8fe1){return void console['error'](_0x2a8fe1);}_0x5bd3af['model']['change'](_0x231e26=>{for(const _0x45f8ba of Array['from'](_0x5bd3af['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x231e26['removeMarker'](_0x45f8ba);}),_0x43cd5b['isReady']=!0x1,_0x5bd3af['model']['enqueueChange'](_0x41dc98=>{_0x41dc98['setSelection'](null),_0x41dc98['removeSelectionAttribute'](_0x5bd3af['model']['document']['selection']['getAttributeKeys']());const _0x31b0d2=Object['keys'](_0x37ab83);for(const _0x59babf of _0x5bd3af['model']['document']['roots'])'$graveyard'!=_0x59babf['rootName']&&_0x59babf['isAttached']()&&!_0x31b0d2['includes'](_0x59babf['rootName'])&&_0x41dc98['detachRoot'](_0x59babf);for(const _0xf62558 of _0x31b0d2){let _0x584a6d=_0x5bd3af['model']['document']['getRoot'](_0xf62558);_0x584a6d&&_0x584a6d['isAttached']()||(_0x584a6d=_0x41dc98['addRoot'](_0xf62558));const _0x3a7b3f=_0x216c33[_0xf62558],_0x184257=Object['keys'](_0x3a7b3f),_0x5d3a1e=_0x37ab83[_0xf62558];for(const _0x2fe39f of _0x584a6d['getAttributeKeys']())_0x184257['includes'](_0x2fe39f)||_0x41dc98['removeAttribute'](_0x2fe39f,_0x584a6d);for(const _0x27efd2 of _0x184257)_0x41dc98['setAttribute'](_0x27efd2,_0x216c33[_0xf62558][_0x27efd2],_0x584a6d);_0x41dc98['remove'](_0x41dc98['createRangeIn'](_0x584a6d)),_0x41dc98['insert'](_0x5bd3af['data']['parse'](_0x5d3a1e,_0x584a6d),_0x584a6d,0x0);}});const _0x178e24=y(_0x5bd3af['locale'],'Restored');if(_0x5b8871['name'])_0x434bf6=-0x1==_0x5b8871['name']['indexOf'](_0x178e24)?_0x178e24+':\x20'+_0x5b8871['name']:_0x5b8871['name'];else _0x434bf6=_0x178e24+':\x20'+(_0x5b8871['createdAt']['toLocaleDateString'](_0x5bd3af['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x5b8871['createdAt']['toLocaleTimeString'](_0x5bd3af['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x18ff63['saveRevision']({'name':_0x434bf6}),_0x43cd5b['isReady']=!0x0,_0x5bd3af['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(_0x2fef7a){super(_0x2fef7a),this['_revisionViewer']=_0x2fef7a['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x504ea9=this['_revisionsRepository']['_revisions'],_0x5a3ec3=this['_createRevisionActions'](),_0x3cea11=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x504ea9,_0x5a3ec3,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',(_0x31c34c,_0x2f1f36)=>{_0x2f1f36['revisionViews']['on']('add',(_0x11c22a,_0x4fcfeb)=>{_0x4fcfeb['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)),_0x3cea11['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x36a976=this['_revisionsRepository']['getRevision'](0x0);if(_0x36a976){const _0x28407b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x36a976['id']);this['_revisionViewer']['compare'](_0x36a976,_0x28407b);}}['_handleRevisionSelected'](_0x558f7e,_0x402bae){const _0x3dfa29=this['_revisionsRepository']['getRevision'](_0x402bae['id']),_0x355a05=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3dfa29['id']);this['_revisionViewer']['compare'](_0x3dfa29,_0x355a05);}['_handleRevisionSetName'](_0x40e416,_0x20ce4d){this['_revisionsRepository']['getRevision'](_0x20ce4d['id'])['setName'](_0x20ce4d['name']);}['_handleDiffChange'](_0x3c8a48,_0x549d7f,_0x4b1449){const _0x497637=this['_revisionsRepository']['getRevisionsInDiff'](_0x4b1449);_0x497637['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x497637),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x497637[0x0]));}['_createRevisionActions'](){const _0xc5e26d=this['editor'],_0x5eaf31=w['availableRevisionActions'],_0x272138=_0xc5e26d['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x272138['length'])return _0x272138['map'](_0x8ec69c=>{const _0x37521e='string'==typeof _0x8ec69c?Object['assign']({},_0x5eaf31[_0x8ec69c]):_0x8ec69c;return _0x37521e['action']=_0x37521e['action']['bind'](this,_0xc5e26d),_0x37521e['isVisible']&&(_0x37521e['isVisible']=_0x37521e['isVisible']['bind'](this,_0xc5e26d)),_0x37521e;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x5e11a2},_0xb68c7d)=>{const _0x588d6a=_0x5e11a2['get'](d),_0x27f1bf=_0x588d6a['repository'];let _0x192601=_0x588d6a['diff']['newRevisionId'],_0x513247=_0xb68c7d['id'];_0x27f1bf['getIndex'](_0x192601)>_0x27f1bf['getIndex'](_0x513247)&&([_0x192601,_0x513247]=[_0x513247,_0x192601]),_0x588d6a['compare'](_0x192601,_0x513247);},'isVisible':({plugins:_0x542a64},_0x4baae5)=>{const _0x3d145f=_0x542a64['get'](d);return!(_0x3d145f['repository']['getRevisionsInDiff'](_0x3d145f['diff'])['length']>0x2)&&!_0x4baae5['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x51225d,{id:_0x243f67})=>{_0x51225d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x243f67);},'isVisible':({plugins:_0x206ef3},_0x1ec4c5)=>!!_0x206ef3['get'](d)['repository']['getLaterVisibleRevision'](_0x1ec4c5['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x344ae4},{id:_0x556f19,revisionNameView:_0x43e472})=>{const _0x23eb15=_0x344ae4['get'](d),_0x43941f=_0x23eb15['repository']['getEarlierVisibleRevision'](_0x556f19);_0x23eb15['compare'](_0x556f19,_0x43941f),_0x43e472['focus'](),_0x43e472['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x5395bf,_0x247209){super(_0x5395bf),this['_view']=_0x247209,this['_toolbarConfig']=ct(_0x5395bf['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2dd4a0){const _0x225b45=this['editor'],_0x7e0316=this['view'],_0x462278=_0x225b45['editing']['view'],_0x19075c=_0x7e0316['editable'],_0x24347c=_0x462278['document']['getRoot']();_0x19075c['name']=_0x24347c['rootName'],_0x7e0316['render']();const _0x29a037=_0x19075c['element'];this['setEditableElement'](_0x19075c['name'],_0x29a037),_0x7e0316['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x462278['attachDomRoot'](_0x29a037),this['_elementReplacer']['replace'](_0x2dd4a0,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3afb41=this['view'],_0x5aca53=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x5aca53['detachDomRoot'](_0x3afb41['editable']['name']),_0x3afb41['destroy']();}['_initToolbar'](){const _0x120cf6=this['view'];_0x120cf6['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x120cf6['stickyPanel']['limiterElement']=_0x120cf6['element'],_0x120cf6['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x48457d})=>_0x48457d),_0x120cf6['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x120cf6['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1bfed9,_0x10e43f,_0x5890cf={}){super(_0x1bfed9),this['stickyPanel']=new lt(_0x1bfed9),this['toolbar']=new pt(_0x1bfed9,{'shouldGroupWhenFull':_0x5890cf['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1bfed9,_0x10e43f);}['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(_0x5969ff,_0xf75635){super(_0xf75635),this['sourceElement']=_0x5969ff,this['model']['document']['createRoot']();const _0x4a565c=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x4a565c);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x512663,_0x10c2d3){const _0x23f8e9=new this(_0x512663,_0x10c2d3);return await _0x23f8e9['initPlugins'](),await _0x23f8e9['ui']['init'](_0x512663),await _0x23f8e9['data']['init'](_0x23f8e9['config']['get']('initialData')||''),_0x23f8e9['fire']('ready'),_0x23f8e9;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x57f998{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1d55b0){super(_0x1d55b0),this['result']='end';}}class H extends _0x57f998{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x20792b){if(super(_0x20792b),!this['editor']['config']['get']('revisionHistory'))throw new _0x4807e4('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x257a11=>this['_showRevisionViewer']({..._0x257a11,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x5dfc4a=>this['_closeRevisionViewer'](_0x5dfc4a)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2c79a0=>this['_restoreRevision'](_0x2c79a0)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3e5e6b){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3e5e6b;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x1682ad){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x1682ad);}['getRevision'](_0x279ac1){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x279ac1);}['getRevisions'](_0x2a7642){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2a7642||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x143586=this['editor'],_0x57e9b7=_0x402ae8(_0x143586,p),_0x330583=_0x143586['plugins']['get']('RevisionTracker'),_0x5153bd=_0x143586['plugins']['get']('Users')['users'];return _0x57e9b7['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x57e9b7['lazyRoots'],(_0x57e9b7['plugins']['push'](k,d,R,class extends _0x57f998{static get['requires'](){return[d,'Users'];}['init'](){const _0x5a5c5d=this['editor']['plugins']['get']('Users');for(const _0x2b0ca1 of _0x5153bd)_0x2b0ca1['isAnonymous']||_0x5a5c5d['getUser'](_0x2b0ca1['id'])||_0x5a5c5d['addUser'](_0x2b0ca1);const _0x3122c3=_0x330583['repository']['getRevisions']();let _0x57e8db=null;const _0x38c164=this['editor']['plugins']['get']('RevisionViewer');_0x38c164['adapter']=_0x330583['adapter'],_0x38c164['bind']('isEnabled')['to'](_0x330583),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x143586,'isReadOnly',_0x33d1ed=>!_0x33d1ed);for(const _0x5badd7 of _0x3122c3){const _0x1d6f04=null===_0x5badd7['creator'];if(_0x1d6f04&&_0x5badd7['toVersion']===_0x5badd7['fromVersion'])continue;const _0x3253e5=_0x5badd7['toJSON']();_0x38c164['addRevisionData'](_0x3253e5,(_0x163b8c,_0x389bee,_0x4c8eaf)=>{if(_0x1d6f04){if(_0x57e8db)_0x57e8db['_update'](_0x163b8c,_0x389bee);else{if(!_0x389bee){const _0x232977=_0x4c8eaf['toJSON']();_0x232977['id']=_0x2b75d5(),_0x330583['saveRevision'](_0x232977,_0x4c8eaf['toVersion'])['then'](_0x89b6ca=>{_0x57e8db=_0x89b6ca;});}}}else _0x5badd7['_update'](_0x163b8c,_0x389bee);});}}},w),_0x57e9b7);}['_enhanceShowRevisionViewerCallback'](){const _0x4fbeba=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1b87c8=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x212084=this['editor']['plugins']['get']('Autosave');await _0x212084['save']();}else await _0x1b87c8['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x267e7f=this['editor']['plugins']['get']('Dialog');_0x267e7f['isOpen']&&_0x267e7f['hide']();}const _0x3f212b=this['_getRevisionViewerEditorConfig']();return _0x4fbeba(_0x3f212b)['then'](_0x10834d=>{return(this['_viewerEditor']=_0x10834d,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x10834d;})['catch'](_0x4ee959=>(console['error'](_0x4ee959),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1e6930=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'](),_0x1e6930(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x205d13=this['editor']['plugins']['get']('Annotations');_0x205d13['refreshVisibility'](),_0x205d13['refreshPositioning']();}})));}['_showRevisionViewer'](_0x16aa4d){const _0x5b87f0=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x35700a=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x1076bb=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x1076bb,_0x16aa4d)['then'](_0x273c1c=>(_0x35700a['style']['display']='block',_0x5b87f0['style']['display']='none',_0x273c1c));}['_closeRevisionViewer'](_0x1ae700){const _0x4049bf=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4049bf['style']['display']='',_0x1ae700['destroy']();}async['_restoreRevision'](_0x586b73){const _0x85245=this['editor'],_0x205e4a=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x2f14f2=_0x85245['plugins']['get']('RevisionTracker'),_0x16a912=_0x205e4a['repository']['getRevision'](_0x586b73);let _0x3485f6,_0x5b03d7,_0x10fb56;try{_0x3485f6=await _0x205e4a['getRevisionData'](_0x16a912),_0x5b03d7=await _0x205e4a['getRevisionRootsAttributes'](_0x16a912);}catch(_0x5f371a){return void console['error'](_0x5f371a);}_0x85245['model']['change'](_0x178e1a=>{for(const _0x5b87cf of Array['from'](_0x85245['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x178e1a['removeMarker'](_0x5b87cf);}),_0x205e4a['isReady']=!0x1,_0x85245['model']['enqueueChange'](_0x5a6fe3=>{_0x5a6fe3['setSelection'](null),_0x5a6fe3['removeSelectionAttribute'](_0x85245['model']['document']['selection']['getAttributeKeys']());const _0x348bb6=Object['keys'](_0x3485f6);for(const _0x3f5ce7 of _0x85245['model']['document']['roots'])'$graveyard'!=_0x3f5ce7['rootName']&&_0x3f5ce7['isAttached']()&&!_0x348bb6['includes'](_0x3f5ce7['rootName'])&&_0x5a6fe3['detachRoot'](_0x3f5ce7);for(const _0x46d00e of _0x348bb6){let _0x144337=_0x85245['model']['document']['getRoot'](_0x46d00e);_0x144337&&_0x144337['isAttached']()||(_0x144337=_0x5a6fe3['addRoot'](_0x46d00e));const _0x1de865=_0x5b03d7[_0x46d00e],_0x1d5fc2=Object['keys'](_0x1de865),_0x226cae=_0x3485f6[_0x46d00e];for(const _0x5b51c9 of _0x144337['getAttributeKeys']())_0x1d5fc2['includes'](_0x5b51c9)||_0x5a6fe3['removeAttribute'](_0x5b51c9,_0x144337);for(const _0x1afe2f of _0x1d5fc2)_0x5a6fe3['setAttribute'](_0x1afe2f,_0x5b03d7[_0x46d00e][_0x1afe2f],_0x144337);_0x5a6fe3['remove'](_0x5a6fe3['createRangeIn'](_0x144337)),_0x5a6fe3['insert'](_0x85245['data']['parse'](_0x226cae,_0x144337),_0x144337,0x0);}});const _0x6bf7b=y(_0x85245['locale'],'Restored');if(_0x16a912['name'])_0x10fb56=-0x1==_0x16a912['name']['indexOf'](_0x6bf7b)?_0x6bf7b+':\x20'+_0x16a912['name']:_0x16a912['name'];else _0x10fb56=_0x6bf7b+':\x20'+(_0x16a912['createdAt']['toLocaleDateString'](_0x85245['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x16a912['createdAt']['toLocaleTimeString'](_0x85245['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x2f14f2['saveRevision']({'name':_0x10fb56}),_0x205e4a['isReady']=!0x0,_0x85245['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};