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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/CHANGELOG.md +1 -1
  2. package/build/revision-history.js +1 -1
  3. package/dist/index.js +6 -6
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/bg.js +1 -1
  11. package/dist/translations/bg.umd.js +1 -1
  12. package/dist/translations/bn.js +1 -1
  13. package/dist/translations/bn.umd.js +1 -1
  14. package/dist/translations/bs.js +1 -1
  15. package/dist/translations/bs.umd.js +1 -1
  16. package/dist/translations/ca.js +1 -1
  17. package/dist/translations/ca.umd.js +1 -1
  18. package/dist/translations/cs.js +1 -1
  19. package/dist/translations/cs.umd.js +1 -1
  20. package/dist/translations/da.js +1 -1
  21. package/dist/translations/da.umd.js +1 -1
  22. package/dist/translations/de-ch.js +1 -1
  23. package/dist/translations/de-ch.umd.js +1 -1
  24. package/dist/translations/de.js +1 -1
  25. package/dist/translations/de.umd.js +1 -1
  26. package/dist/translations/el.js +1 -1
  27. package/dist/translations/el.umd.js +1 -1
  28. package/dist/translations/en-au.js +1 -1
  29. package/dist/translations/en-au.umd.js +1 -1
  30. package/dist/translations/en-gb.js +1 -1
  31. package/dist/translations/en-gb.umd.js +1 -1
  32. package/dist/translations/en.umd.js +1 -1
  33. package/dist/translations/es-co.js +1 -1
  34. package/dist/translations/es-co.umd.js +1 -1
  35. package/dist/translations/es.js +1 -1
  36. package/dist/translations/es.umd.js +1 -1
  37. package/dist/translations/et.js +1 -1
  38. package/dist/translations/et.umd.js +1 -1
  39. package/dist/translations/fa.js +1 -1
  40. package/dist/translations/fa.umd.js +1 -1
  41. package/dist/translations/fi.js +1 -1
  42. package/dist/translations/fi.umd.js +1 -1
  43. package/dist/translations/fr.js +1 -1
  44. package/dist/translations/fr.umd.js +1 -1
  45. package/dist/translations/gl.js +1 -1
  46. package/dist/translations/gl.umd.js +1 -1
  47. package/dist/translations/he.js +1 -1
  48. package/dist/translations/he.umd.js +1 -1
  49. package/dist/translations/hi.js +1 -1
  50. package/dist/translations/hi.umd.js +1 -1
  51. package/dist/translations/hr.js +1 -1
  52. package/dist/translations/hr.umd.js +1 -1
  53. package/dist/translations/hu.js +1 -1
  54. package/dist/translations/hu.umd.js +1 -1
  55. package/dist/translations/id.js +1 -1
  56. package/dist/translations/id.umd.js +1 -1
  57. package/dist/translations/it.js +1 -1
  58. package/dist/translations/it.umd.js +1 -1
  59. package/dist/translations/ja.js +1 -1
  60. package/dist/translations/ja.umd.js +1 -1
  61. package/dist/translations/jv.js +1 -1
  62. package/dist/translations/jv.umd.js +1 -1
  63. package/dist/translations/ko.js +1 -1
  64. package/dist/translations/ko.umd.js +1 -1
  65. package/dist/translations/ku.js +1 -1
  66. package/dist/translations/ku.umd.js +1 -1
  67. package/dist/translations/lt.js +1 -1
  68. package/dist/translations/lt.umd.js +1 -1
  69. package/dist/translations/lv.js +1 -1
  70. package/dist/translations/lv.umd.js +1 -1
  71. package/dist/translations/ms.js +1 -1
  72. package/dist/translations/ms.umd.js +1 -1
  73. package/dist/translations/ne.js +1 -1
  74. package/dist/translations/ne.umd.js +1 -1
  75. package/dist/translations/nl.js +1 -1
  76. package/dist/translations/nl.umd.js +1 -1
  77. package/dist/translations/no.js +1 -1
  78. package/dist/translations/no.umd.js +1 -1
  79. package/dist/translations/pl.js +1 -1
  80. package/dist/translations/pl.umd.js +1 -1
  81. package/dist/translations/pt-br.js +1 -1
  82. package/dist/translations/pt-br.umd.js +1 -1
  83. package/dist/translations/pt.js +1 -1
  84. package/dist/translations/pt.umd.js +1 -1
  85. package/dist/translations/ro.js +1 -1
  86. package/dist/translations/ro.umd.js +1 -1
  87. package/dist/translations/ru.js +1 -1
  88. package/dist/translations/ru.umd.js +1 -1
  89. package/dist/translations/sk.js +1 -1
  90. package/dist/translations/sk.umd.js +1 -1
  91. package/dist/translations/sr-latn.js +1 -1
  92. package/dist/translations/sr-latn.umd.js +1 -1
  93. package/dist/translations/sr.js +1 -1
  94. package/dist/translations/sr.umd.js +1 -1
  95. package/dist/translations/sv.js +1 -1
  96. package/dist/translations/sv.umd.js +1 -1
  97. package/dist/translations/th.js +1 -1
  98. package/dist/translations/th.umd.js +1 -1
  99. package/dist/translations/ti.js +1 -1
  100. package/dist/translations/ti.umd.js +1 -1
  101. package/dist/translations/tk.js +1 -1
  102. package/dist/translations/tk.umd.js +1 -1
  103. package/dist/translations/tr.js +1 -1
  104. package/dist/translations/tr.umd.js +1 -1
  105. package/dist/translations/tt.js +1 -1
  106. package/dist/translations/tt.umd.js +1 -1
  107. package/dist/translations/ug.js +1 -1
  108. package/dist/translations/ug.umd.js +1 -1
  109. package/dist/translations/uk.js +1 -1
  110. package/dist/translations/uk.umd.js +1 -1
  111. package/dist/translations/ur.js +1 -1
  112. package/dist/translations/ur.umd.js +1 -1
  113. package/dist/translations/vi.js +1 -1
  114. package/dist/translations/vi.umd.js +1 -1
  115. package/dist/translations/zh-cn.js +1 -1
  116. package/dist/translations/zh-cn.umd.js +1 -1
  117. package/dist/translations/zh.js +1 -1
  118. package/dist/translations/zh.umd.js +1 -1
  119. package/package.json +8 -8
  120. package/src/changeitem.js +2 -2
  121. package/src/editor/revisionviewereditor.js +2 -2
  122. package/src/editor/revisionviewereditorui.js +1 -1
  123. package/src/editor/revisionviewereditoruiview.js +1 -1
  124. package/src/index.js +1 -1
  125. package/src/revision.js +2 -2
  126. package/src/revisiondiff.js +1 -1
  127. package/src/revisionhistory.js +1 -1
  128. package/src/revisionsrepository.js +1 -1
  129. package/src/revisiontracker.js +1 -1
  130. package/src/revisionviewer.js +1 -1
  131. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  132. package/src/ui/revision/revisionauthorview.js +1 -1
  133. package/src/ui/revision/revisionnameview.js +1 -1
  134. package/src/ui/revision/revisionview.js +2 -2
  135. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  136. package/src/ui/revision/subrevisionview.js +1 -1
  137. package/src/ui/revision/utils.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  139. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  143. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  144. package/src/ui/revisionssidebar/utils.js +1 -1
  145. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  146. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  148. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  149. 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 _0x1b7a4e,Context as _0x5bef50,PendingActions as _0x25023b,icons as _0x3dd9b1,Command as _0x5779c7,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5330e2,uid as _0x53c5f2,Collection as _0x2828e8,logWarning as _0x235a91,FocusTracker as _0x2e00ab,KeystrokeHandler as _0x249f2e,scrollViewportToShowTarget as _0x118915,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x253004}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5465dc,getMarkerDomElement as _0x30781b,ConfirmMixin as _0x138e0e,sanitizeEditorConfig as _0x3a0f85}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2eb8a6,ViewText as _0x34914d,ViewElement as _0x533cf7,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x233f02,ViewAttributeElement as _0x3c7d2e,ViewEmptyElement as _0x109678,ViewRawElement as _0x660f43,ViewUIElement as _0x55efa8,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x485582,set as _0xbed7ac,unset as _0xd87b11,isEqual as _0x436daf}from'lodash-es';import{View as _0x5ab15a,injectCssTransitionDisabler as ts,submitHandler as _0x4ca2cd,LabeledFieldView as at,createLabeledInputText as _0x44a15d,createDropdown as _0x2d15dd,ListView as te,ListItemView as _0x509449,ButtonView as _0x33eaaa,MenuBarMenuView as _0x3b0631,MenuBarMenuListView as _0x179823,MenuBarMenuListItemView as _0x837eab,MenuBarMenuListItemButtonView as _0x21866b,ContextualBalloon as _0x2bb583,ToolbarSeparatorView as _0x492735,IconView as _0x1506e2,addListToDropdown as _0x1a986a,ViewModel as to,EditorUI as ht,normalizeToolbarConfig as ct,BoxedEditorUIView as dt,StickyPanelView as lt,ToolbarView as pt,InlineEditableUIView as ut}from'@ckeditor/ckeditor5-ui/dist/index.js';import{DateTime as _0x164735}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x5330e2(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x6790a7){super(),this['id']=_0x6790a7['id']||_0x53c5f2(),this['creator']=_0x6790a7['creator']||null,this['authors']=_0x6790a7['authors']||[],this['diffData']=_0x6790a7['diffData']||null,this['toVersion']=_0x6790a7['toVersion']||0x0,this['fromVersion']=_0x6790a7['fromVersion']||0x0,this['set']('name',_0x6790a7['name']||''),this['set']('createdAt',_0x6790a7['createdAt']||new Date()),this['set']('attributes',_0x6790a7['attributes']||{});}['setName'](_0x16a4ea){this['_update']({'name':_0x16a4ea});}['setAttribute'](_0x47b47f,_0xfbc70d){const _0x1710be=_0x485582(this['attributes']);_0xbed7ac(_0x1710be,_0x47b47f,_0xfbc70d),this['_update']({'attributes':_0x1710be});}['removeAttribute'](_0xc66ba){const _0x153938=_0x485582(this['attributes']);_0xd87b11(_0x153938,_0xc66ba),this['_update']({'attributes':_0x153938});}['_update'](_0x4a7a71,_0x5d942e=!0x1){let _0xc706ad=!0x1;const _0x32bcc2={'id':this['id']},_0x400b11=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x347d1d of _0x400b11){const _0x26dc75=_0x4a7a71[_0x347d1d];void 0x0!==_0x26dc75&&_0x26dc75!==this[_0x347d1d]&&(this[_0x347d1d]=_0x26dc75,_0x32bcc2[_0x347d1d]=_0x26dc75,_0xc706ad=!0x0);}_0xc706ad&&(_0x32bcc2['authors']&&(_0x32bcc2['authorsIds']=_0x32bcc2['authors']['map'](_0x2cc1e0=>_0x2cc1e0['id']),delete _0x32bcc2['authors']),this['fire']('_update',_0x32bcc2,_0x5d942e));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x29b630=>_0x29b630['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1b7a4e{['_revisions'];static get['requires'](){return[_0x5465dc];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x8e896){super(_0x8e896),this['_revisions']=new _0x2828e8();}['afterInit'](){!function(_0x401f37){function _0x521f4b(_0x4837f0,_0x3e8625,_0x3f108e){const _0x5c6339={};_0x5c6339[_0x5afb3b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5c6339[_0x5afb3b([0x72,0x63,0x6f,0x6e])]=[0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36,0x6c,0xd8,0xab,0x4d,0x9a,0x2f,0x5e,0xbc,0x63,0xc6,0x97,0x35,0x6a,0xd4,0xb3,0x7d,0xfa,0xef,0xc5,0x91],_0x5c6339[_0x5afb3b([0x53])]=[0x63,0x7c,0x77,0x7b,0xf2,0x6b,0x6f,0xc5,0x30,0x1,0x67,0x2b,0xfe,0xd7,0xab,0x76,0xca,0x82,0xc9,0x7d,0xfa,0x59,0x47,0xf0,0xad,0xd4,0xa2,0xaf,0x9c,0xa4,0x72,0xc0,0xb7,0xfd,0x93,0x26,0x36,0x3f,0xf7,0xcc,0x34,0xa5,0xe5,0xf1,0x71,0xd8,0x31,0x15,0x4,0xc7,0x23,0xc3,0x18,0x96,0x5,0x9a,0x7,0x12,0x80,0xe2,0xeb,0x27,0xb2,0x75,0x9,0x83,0x2c,0x1a,0x1b,0x6e,0x5a,0xa0,0x52,0x3b,0xd6,0xb3,0x29,0xe3,0x2f,0x84,0x53,0xd1,0x0,0xed,0x20,0xfc,0xb1,0x5b,0x6a,0xcb,0xbe,0x39,0x4a,0x4c,0x58,0xcf,0xd0,0xef,0xaa,0xfb,0x43,0x4d,0x33,0x85,0x45,0xf9,0x2,0x7f,0x50,0x3c,0x9f,0xa8,0x51,0xa3,0x40,0x8f,0x92,0x9d,0x38,0xf5,0xbc,0xb6,0xda,0x21,0x10,0xff,0xf3,0xd2,0xcd,0xc,0x13,0xec,0x5f,0x97,0x44,0x17,0xc4,0xa7,0x7e,0x3d,0x64,0x5d,0x19,0x73,0x60,0x81,0x4f,0xdc,0x22,0x2a,0x90,0x88,0x46,0xee,0xb8,0x14,0xde,0x5e,0xb,0xdb,0xe0,0x32,0x3a,0xa,0x49,0x6,0x24,0x5c,0xc2,0xd3,0xac,0x62,0x91,0x95,0xe4,0x79,0xe7,0xc8,0x37,0x6d,0x8d,0xd5,0x4e,0xa9,0x6c,0x56,0xf4,0xea,0x65,0x7a,0xae,0x8,0xba,0x78,0x25,0x2e,0x1c,0xa6,0xb4,0xc6,0xe8,0xdd,0x74,0x1f,0x4b,0xbd,0x8b,0x8a,0x70,0x3e,0xb5,0x66,0x48,0x3,0xf6,0xe,0x61,0x35,0x57,0xb9,0x86,0xc1,0x1d,0x9e,0xe1,0xf8,0x98,0x11,0x69,0xd9,0x8e,0x94,0x9b,0x1e,0x87,0xe9,0xce,0x55,0x28,0xdf,0x8c,0xa1,0x89,0xd,0xbf,0xe6,0x42,0x68,0x41,0x99,0x2d,0xf,0xb0,0x54,0xbb,0x16],_0x5c6339[_0x5afb3b([0x54,0x31])]=[0xc66363a5,0xf87c7c84,0xee777799,0xf67b7b8d,0xfff2f20d,0xd66b6bbd,0xde6f6fb1,0x91c5c554,0x60303050,0x2010103,0xce6767a9,0x562b2b7d,0xe7fefe19,0xb5d7d762,0x4dababe6,0xec76769a,0x8fcaca45,0x1f82829d,0x89c9c940,0xfa7d7d87,0xeffafa15,0xb25959eb,0x8e4747c9,0xfbf0f00b,0x41adadec,0xb3d4d467,0x5fa2a2fd,0x45afafea,0x239c9cbf,0x53a4a4f7,0xe4727296,0x9bc0c05b,0x75b7b7c2,0xe1fdfd1c,0x3d9393ae,0x4c26266a,0x6c36365a,0x7e3f3f41,0xf5f7f702,0x83cccc4f,0x6834345c,0x51a5a5f4,0xd1e5e534,0xf9f1f108,0xe2717193,0xabd8d873,0x62313153,0x2a15153f,0x804040c,0x95c7c752,0x46232365,0x9dc3c35e,0x30181828,0x379696a1,0xa05050f,0x2f9a9ab5,0xe070709,0x24121236,0x1b80809b,0xdfe2e23d,0xcdebeb26,0x4e272769,0x7fb2b2cd,0xea75759f,0x1209091b,0x1d83839e,0x582c2c74,0x341a1a2e,0x361b1b2d,0xdc6e6eb2,0xb45a5aee,0x5ba0a0fb,0xa45252f6,0x763b3b4d,0xb7d6d661,0x7db3b3ce,0x5229297b,0xdde3e33e,0x5e2f2f71,0x13848497,0xa65353f5,0xb9d1d168,0x0,0xc1eded2c,0x40202060,0xe3fcfc1f,0x79b1b1c8,0xb65b5bed,0xd46a6abe,0x8dcbcb46,0x67bebed9,0x7239394b,0x944a4ade,0x984c4cd4,0xb05858e8,0x85cfcf4a,0xbbd0d06b,0xc5efef2a,0x4faaaae5,0xedfbfb16,0x864343c5,0x9a4d4dd7,0x66333355,0x11858594,0x8a4545cf,0xe9f9f910,0x4020206,0xfe7f7f81,0xa05050f0,0x783c3c44,0x259f9fba,0x4ba8a8e3,0xa25151f3,0x5da3a3fe,0x804040c0,0x58f8f8a,0x3f9292ad,0x219d9dbc,0x70383848,0xf1f5f504,0x63bcbcdf,0x77b6b6c1,0xafdada75,0x42212163,0x20101030,0xe5ffff1a,0xfdf3f30e,0xbfd2d26d,0x81cdcd4c,0x180c0c14,0x26131335,0xc3ecec2f,0xbe5f5fe1,0x359797a2,0x884444cc,0x2e171739,0x93c4c457,0x55a7a7f2,0xfc7e7e82,0x7a3d3d47,0xc86464ac,0xba5d5de7,0x3219192b,0xe6737395,0xc06060a0,0x19818198,0x9e4f4fd1,0xa3dcdc7f,0x44222266,0x542a2a7e,0x3b9090ab,0xb888883,0x8c4646ca,0xc7eeee29,0x6bb8b8d3,0x2814143c,0xa7dede79,0xbc5e5ee2,0x160b0b1d,0xaddbdb76,0xdbe0e03b,0x64323256,0x743a3a4e,0x140a0a1e,0x924949db,0xc06060a,0x4824246c,0xb85c5ce4,0x9fc2c25d,0xbdd3d36e,0x43acacef,0xc46262a6,0x399191a8,0x319595a4,0xd3e4e437,0xf279798b,0xd5e7e732,0x8bc8c843,0x6e373759,0xda6d6db7,0x18d8d8c,0xb1d5d564,0x9c4e4ed2,0x49a9a9e0,0xd86c6cb4,0xac5656fa,0xf3f4f407,0xcfeaea25,0xca6565af,0xf47a7a8e,0x47aeaee9,0x10080818,0x6fbabad5,0xf0787888,0x4a25256f,0x5c2e2e72,0x381c1c24,0x57a6a6f1,0x73b4b4c7,0x97c6c651,0xcbe8e823,0xa1dddd7c,0xe874749c,0x3e1f1f21,0x964b4bdd,0x61bdbddc,0xd8b8b86,0xf8a8a85,0xe0707090,0x7c3e3e42,0x71b5b5c4,0xcc6666aa,0x904848d8,0x6030305,0xf7f6f601,0x1c0e0e12,0xc26161a3,0x6a35355f,0xae5757f9,0x69b9b9d0,0x17868691,0x99c1c158,0x3a1d1d27,0x279e9eb9,0xd9e1e138,0xebf8f813,0x2b9898b3,0x22111133,0xd26969bb,0xa9d9d970,0x78e8e89,0x339494a7,0x2d9b9bb6,0x3c1e1e22,0x15878792,0xc9e9e920,0x87cece49,0xaa5555ff,0x50282878,0xa5dfdf7a,0x38c8c8f,0x59a1a1f8,0x9898980,0x1a0d0d17,0x65bfbfda,0xd7e6e631,0x844242c6,0xd06868b8,0x824141c3,0x299999b0,0x5a2d2d77,0x1e0f0f11,0x7bb0b0cb,0xa85454fc,0x6dbbbbd6,0x2c16163a],_0x5c6339[_0x5afb3b([0x54,0x32])]=[0xa5c66363,0x84f87c7c,0x99ee7777,0x8df67b7b,0xdfff2f2,0xbdd66b6b,0xb1de6f6f,0x5491c5c5,0x50603030,0x3020101,0xa9ce6767,0x7d562b2b,0x19e7fefe,0x62b5d7d7,0xe64dabab,0x9aec7676,0x458fcaca,0x9d1f8282,0x4089c9c9,0x87fa7d7d,0x15effafa,0xebb25959,0xc98e4747,0xbfbf0f0,0xec41adad,0x67b3d4d4,0xfd5fa2a2,0xea45afaf,0xbf239c9c,0xf753a4a4,0x96e47272,0x5b9bc0c0,0xc275b7b7,0x1ce1fdfd,0xae3d9393,0x6a4c2626,0x5a6c3636,0x417e3f3f,0x2f5f7f7,0x4f83cccc,0x5c683434,0xf451a5a5,0x34d1e5e5,0x8f9f1f1,0x93e27171,0x73abd8d8,0x53623131,0x3f2a1515,0xc080404,0x5295c7c7,0x65462323,0x5e9dc3c3,0x28301818,0xa1379696,0xf0a0505,0xb52f9a9a,0x90e0707,0x36241212,0x9b1b8080,0x3ddfe2e2,0x26cdebeb,0x694e2727,0xcd7fb2b2,0x9fea7575,0x1b120909,0x9e1d8383,0x74582c2c,0x2e341a1a,0x2d361b1b,0xb2dc6e6e,0xeeb45a5a,0xfb5ba0a0,0xf6a45252,0x4d763b3b,0x61b7d6d6,0xce7db3b3,0x7b522929,0x3edde3e3,0x715e2f2f,0x97138484,0xf5a65353,0x68b9d1d1,0x0,0x2cc1eded,0x60402020,0x1fe3fcfc,0xc879b1b1,0xedb65b5b,0xbed46a6a,0x468dcbcb,0xd967bebe,0x4b723939,0xde944a4a,0xd4984c4c,0xe8b05858,0x4a85cfcf,0x6bbbd0d0,0x2ac5efef,0xe54faaaa,0x16edfbfb,0xc5864343,0xd79a4d4d,0x55663333,0x94118585,0xcf8a4545,0x10e9f9f9,0x6040202,0x81fe7f7f,0xf0a05050,0x44783c3c,0xba259f9f,0xe34ba8a8,0xf3a25151,0xfe5da3a3,0xc0804040,0x8a058f8f,0xad3f9292,0xbc219d9d,0x48703838,0x4f1f5f5,0xdf63bcbc,0xc177b6b6,0x75afdada,0x63422121,0x30201010,0x1ae5ffff,0xefdf3f3,0x6dbfd2d2,0x4c81cdcd,0x14180c0c,0x35261313,0x2fc3ecec,0xe1be5f5f,0xa2359797,0xcc884444,0x392e1717,0x5793c4c4,0xf255a7a7,0x82fc7e7e,0x477a3d3d,0xacc86464,0xe7ba5d5d,0x2b321919,0x95e67373,0xa0c06060,0x98198181,0xd19e4f4f,0x7fa3dcdc,0x66442222,0x7e542a2a,0xab3b9090,0x830b8888,0xca8c4646,0x29c7eeee,0xd36bb8b8,0x3c281414,0x79a7dede,0xe2bc5e5e,0x1d160b0b,0x76addbdb,0x3bdbe0e0,0x56643232,0x4e743a3a,0x1e140a0a,0xdb924949,0xa0c0606,0x6c482424,0xe4b85c5c,0x5d9fc2c2,0x6ebdd3d3,0xef43acac,0xa6c46262,0xa8399191,0xa4319595,0x37d3e4e4,0x8bf27979,0x32d5e7e7,0x438bc8c8,0x596e3737,0xb7da6d6d,0x8c018d8d,0x64b1d5d5,0xd29c4e4e,0xe049a9a9,0xb4d86c6c,0xfaac5656,0x7f3f4f4,0x25cfeaea,0xafca6565,0x8ef47a7a,0xe947aeae,0x18100808,0xd56fbaba,0x88f07878,0x6f4a2525,0x725c2e2e,0x24381c1c,0xf157a6a6,0xc773b4b4,0x5197c6c6,0x23cbe8e8,0x7ca1dddd,0x9ce87474,0x213e1f1f,0xdd964b4b,0xdc61bdbd,0x860d8b8b,0x850f8a8a,0x90e07070,0x427c3e3e,0xc471b5b5,0xaacc6666,0xd8904848,0x5060303,0x1f7f6f6,0x121c0e0e,0xa3c26161,0x5f6a3535,0xf9ae5757,0xd069b9b9,0x91178686,0x5899c1c1,0x273a1d1d,0xb9279e9e,0x38d9e1e1,0x13ebf8f8,0xb32b9898,0x33221111,0xbbd26969,0x70a9d9d9,0x89078e8e,0xa7339494,0xb62d9b9b,0x223c1e1e,0x92158787,0x20c9e9e9,0x4987cece,0xffaa5555,0x78502828,0x7aa5dfdf,0x8f038c8c,0xf859a1a1,0x80098989,0x171a0d0d,0xda65bfbf,0x31d7e6e6,0xc6844242,0xb8d06868,0xc3824141,0xb0299999,0x775a2d2d,0x111e0f0f,0xcb7bb0b0,0xfca85454,0xd66dbbbb,0x3a2c1616],_0x5c6339[_0x5afb3b([0x54,0x33])]=[0x63a5c663,0x7c84f87c,0x7799ee77,0x7b8df67b,0xf20dfff2,0x6bbdd66b,0x6fb1de6f,0xc55491c5,0x30506030,0x1030201,0x67a9ce67,0x2b7d562b,0xfe19e7fe,0xd762b5d7,0xabe64dab,0x769aec76,0xca458fca,0x829d1f82,0xc94089c9,0x7d87fa7d,0xfa15effa,0x59ebb259,0x47c98e47,0xf00bfbf0,0xadec41ad,0xd467b3d4,0xa2fd5fa2,0xafea45af,0x9cbf239c,0xa4f753a4,0x7296e472,0xc05b9bc0,0xb7c275b7,0xfd1ce1fd,0x93ae3d93,0x266a4c26,0x365a6c36,0x3f417e3f,0xf702f5f7,0xcc4f83cc,0x345c6834,0xa5f451a5,0xe534d1e5,0xf108f9f1,0x7193e271,0xd873abd8,0x31536231,0x153f2a15,0x40c0804,0xc75295c7,0x23654623,0xc35e9dc3,0x18283018,0x96a13796,0x50f0a05,0x9ab52f9a,0x7090e07,0x12362412,0x809b1b80,0xe23ddfe2,0xeb26cdeb,0x27694e27,0xb2cd7fb2,0x759fea75,0x91b1209,0x839e1d83,0x2c74582c,0x1a2e341a,0x1b2d361b,0x6eb2dc6e,0x5aeeb45a,0xa0fb5ba0,0x52f6a452,0x3b4d763b,0xd661b7d6,0xb3ce7db3,0x297b5229,0xe33edde3,0x2f715e2f,0x84971384,0x53f5a653,0xd168b9d1,0x0,0xed2cc1ed,0x20604020,0xfc1fe3fc,0xb1c879b1,0x5bedb65b,0x6abed46a,0xcb468dcb,0xbed967be,0x394b7239,0x4ade944a,0x4cd4984c,0x58e8b058,0xcf4a85cf,0xd06bbbd0,0xef2ac5ef,0xaae54faa,0xfb16edfb,0x43c58643,0x4dd79a4d,0x33556633,0x85941185,0x45cf8a45,0xf910e9f9,0x2060402,0x7f81fe7f,0x50f0a050,0x3c44783c,0x9fba259f,0xa8e34ba8,0x51f3a251,0xa3fe5da3,0x40c08040,0x8f8a058f,0x92ad3f92,0x9dbc219d,0x38487038,0xf504f1f5,0xbcdf63bc,0xb6c177b6,0xda75afda,0x21634221,0x10302010,0xff1ae5ff,0xf30efdf3,0xd26dbfd2,0xcd4c81cd,0xc14180c,0x13352613,0xec2fc3ec,0x5fe1be5f,0x97a23597,0x44cc8844,0x17392e17,0xc45793c4,0xa7f255a7,0x7e82fc7e,0x3d477a3d,0x64acc864,0x5de7ba5d,0x192b3219,0x7395e673,0x60a0c060,0x81981981,0x4fd19e4f,0xdc7fa3dc,0x22664422,0x2a7e542a,0x90ab3b90,0x88830b88,0x46ca8c46,0xee29c7ee,0xb8d36bb8,0x143c2814,0xde79a7de,0x5ee2bc5e,0xb1d160b,0xdb76addb,0xe03bdbe0,0x32566432,0x3a4e743a,0xa1e140a,0x49db9249,0x60a0c06,0x246c4824,0x5ce4b85c,0xc25d9fc2,0xd36ebdd3,0xacef43ac,0x62a6c462,0x91a83991,0x95a43195,0xe437d3e4,0x798bf279,0xe732d5e7,0xc8438bc8,0x37596e37,0x6db7da6d,0x8d8c018d,0xd564b1d5,0x4ed29c4e,0xa9e049a9,0x6cb4d86c,0x56faac56,0xf407f3f4,0xea25cfea,0x65afca65,0x7a8ef47a,0xaee947ae,0x8181008,0xbad56fba,0x7888f078,0x256f4a25,0x2e725c2e,0x1c24381c,0xa6f157a6,0xb4c773b4,0xc65197c6,0xe823cbe8,0xdd7ca1dd,0x749ce874,0x1f213e1f,0x4bdd964b,0xbddc61bd,0x8b860d8b,0x8a850f8a,0x7090e070,0x3e427c3e,0xb5c471b5,0x66aacc66,0x48d89048,0x3050603,0xf601f7f6,0xe121c0e,0x61a3c261,0x355f6a35,0x57f9ae57,0xb9d069b9,0x86911786,0xc15899c1,0x1d273a1d,0x9eb9279e,0xe138d9e1,0xf813ebf8,0x98b32b98,0x11332211,0x69bbd269,0xd970a9d9,0x8e89078e,0x94a73394,0x9bb62d9b,0x1e223c1e,0x87921587,0xe920c9e9,0xce4987ce,0x55ffaa55,0x28785028,0xdf7aa5df,0x8c8f038c,0xa1f859a1,0x89800989,0xd171a0d,0xbfda65bf,0xe631d7e6,0x42c68442,0x68b8d068,0x41c38241,0x99b02999,0x2d775a2d,0xf111e0f,0xb0cb7bb0,0x54fca854,0xbbd66dbb,0x163a2c16],_0x5c6339[_0x5afb3b([0x54,0x34])]=[0x6363a5c6,0x7c7c84f8,0x777799ee,0x7b7b8df6,0xf2f20dff,0x6b6bbdd6,0x6f6fb1de,0xc5c55491,0x30305060,0x1010302,0x6767a9ce,0x2b2b7d56,0xfefe19e7,0xd7d762b5,0xababe64d,0x76769aec,0xcaca458f,0x82829d1f,0xc9c94089,0x7d7d87fa,0xfafa15ef,0x5959ebb2,0x4747c98e,0xf0f00bfb,0xadadec41,0xd4d467b3,0xa2a2fd5f,0xafafea45,0x9c9cbf23,0xa4a4f753,0x727296e4,0xc0c05b9b,0xb7b7c275,0xfdfd1ce1,0x9393ae3d,0x26266a4c,0x36365a6c,0x3f3f417e,0xf7f702f5,0xcccc4f83,0x34345c68,0xa5a5f451,0xe5e534d1,0xf1f108f9,0x717193e2,0xd8d873ab,0x31315362,0x15153f2a,0x4040c08,0xc7c75295,0x23236546,0xc3c35e9d,0x18182830,0x9696a137,0x5050f0a,0x9a9ab52f,0x707090e,0x12123624,0x80809b1b,0xe2e23ddf,0xebeb26cd,0x2727694e,0xb2b2cd7f,0x75759fea,0x9091b12,0x83839e1d,0x2c2c7458,0x1a1a2e34,0x1b1b2d36,0x6e6eb2dc,0x5a5aeeb4,0xa0a0fb5b,0x5252f6a4,0x3b3b4d76,0xd6d661b7,0xb3b3ce7d,0x29297b52,0xe3e33edd,0x2f2f715e,0x84849713,0x5353f5a6,0xd1d168b9,0x0,0xeded2cc1,0x20206040,0xfcfc1fe3,0xb1b1c879,0x5b5bedb6,0x6a6abed4,0xcbcb468d,0xbebed967,0x39394b72,0x4a4ade94,0x4c4cd498,0x5858e8b0,0xcfcf4a85,0xd0d06bbb,0xefef2ac5,0xaaaae54f,0xfbfb16ed,0x4343c586,0x4d4dd79a,0x33335566,0x85859411,0x4545cf8a,0xf9f910e9,0x2020604,0x7f7f81fe,0x5050f0a0,0x3c3c4478,0x9f9fba25,0xa8a8e34b,0x5151f3a2,0xa3a3fe5d,0x4040c080,0x8f8f8a05,0x9292ad3f,0x9d9dbc21,0x38384870,0xf5f504f1,0xbcbcdf63,0xb6b6c177,0xdada75af,0x21216342,0x10103020,0xffff1ae5,0xf3f30efd,0xd2d26dbf,0xcdcd4c81,0xc0c1418,0x13133526,0xecec2fc3,0x5f5fe1be,0x9797a235,0x4444cc88,0x1717392e,0xc4c45793,0xa7a7f255,0x7e7e82fc,0x3d3d477a,0x6464acc8,0x5d5de7ba,0x19192b32,0x737395e6,0x6060a0c0,0x81819819,0x4f4fd19e,0xdcdc7fa3,0x22226644,0x2a2a7e54,0x9090ab3b,0x8888830b,0x4646ca8c,0xeeee29c7,0xb8b8d36b,0x14143c28,0xdede79a7,0x5e5ee2bc,0xb0b1d16,0xdbdb76ad,0xe0e03bdb,0x32325664,0x3a3a4e74,0xa0a1e14,0x4949db92,0x6060a0c,0x24246c48,0x5c5ce4b8,0xc2c25d9f,0xd3d36ebd,0xacacef43,0x6262a6c4,0x9191a839,0x9595a431,0xe4e437d3,0x79798bf2,0xe7e732d5,0xc8c8438b,0x3737596e,0x6d6db7da,0x8d8d8c01,0xd5d564b1,0x4e4ed29c,0xa9a9e049,0x6c6cb4d8,0x5656faac,0xf4f407f3,0xeaea25cf,0x6565afca,0x7a7a8ef4,0xaeaee947,0x8081810,0xbabad56f,0x787888f0,0x25256f4a,0x2e2e725c,0x1c1c2438,0xa6a6f157,0xb4b4c773,0xc6c65197,0xe8e823cb,0xdddd7ca1,0x74749ce8,0x1f1f213e,0x4b4bdd96,0xbdbddc61,0x8b8b860d,0x8a8a850f,0x707090e0,0x3e3e427c,0xb5b5c471,0x6666aacc,0x4848d890,0x3030506,0xf6f601f7,0xe0e121c,0x6161a3c2,0x35355f6a,0x5757f9ae,0xb9b9d069,0x86869117,0xc1c15899,0x1d1d273a,0x9e9eb927,0xe1e138d9,0xf8f813eb,0x9898b32b,0x11113322,0x6969bbd2,0xd9d970a9,0x8e8e8907,0x9494a733,0x9b9bb62d,0x1e1e223c,0x87879215,0xe9e920c9,0xcece4987,0x5555ffaa,0x28287850,0xdfdf7aa5,0x8c8c8f03,0xa1a1f859,0x89898009,0xd0d171a,0xbfbfda65,0xe6e631d7,0x4242c684,0x6868b8d0,0x4141c382,0x9999b029,0x2d2d775a,0xf0f111e,0xb0b0cb7b,0x5454fca8,0xbbbbd66d,0x16163a2c],_0x5c6339[_0x5afb3b([0x55,0x31])]=[0x0,0xe090d0b,0x1c121a16,0x121b171d,0x3824342c,0x362d3927,0x24362e3a,0x2a3f2331,0x70486858,0x7e416553,0x6c5a724e,0x62537f45,0x486c5c74,0x4665517f,0x547e4662,0x5a774b69,0xe090d0b0,0xee99ddbb,0xfc82caa6,0xf28bc7ad,0xd8b4e49c,0xd6bde997,0xc4a6fe8a,0xcaaff381,0x90d8b8e8,0x9ed1b5e3,0x8ccaa2fe,0x82c3aff5,0xa8fc8cc4,0xa6f581cf,0xb4ee96d2,0xbae79bd9,0xdb3bbb7b,0xd532b670,0xc729a16d,0xc920ac66,0xe31f8f57,0xed16825c,0xff0d9541,0xf104984a,0xab73d323,0xa57ade28,0xb761c935,0xb968c43e,0x9357e70f,0x9d5eea04,0x8f45fd19,0x814cf012,0x3bab6bcb,0x35a266c0,0x27b971dd,0x29b07cd6,0x38f5fe7,0xd8652ec,0x1f9d45f1,0x119448fa,0x4be30393,0x45ea0e98,0x57f11985,0x59f8148e,0x73c737bf,0x7dce3ab4,0x6fd52da9,0x61dc20a2,0xad766df6,0xa37f60fd,0xb16477e0,0xbf6d7aeb,0x955259da,0x9b5b54d1,0x894043cc,0x87494ec7,0xdd3e05ae,0xd33708a5,0xc12c1fb8,0xcf2512b3,0xe51a3182,0xeb133c89,0xf9082b94,0xf701269f,0x4de6bd46,0x43efb04d,0x51f4a750,0x5ffdaa5b,0x75c2896a,0x7bcb8461,0x69d0937c,0x67d99e77,0x3daed51e,0x33a7d815,0x21bccf08,0x2fb5c203,0x58ae132,0xb83ec39,0x1998fb24,0x1791f62f,0x764dd68d,0x7844db86,0x6a5fcc9b,0x6456c190,0x4e69e2a1,0x4060efaa,0x527bf8b7,0x5c72f5bc,0x605bed5,0x80cb3de,0x1a17a4c3,0x141ea9c8,0x3e218af9,0x302887f2,0x223390ef,0x2c3a9de4,0x96dd063d,0x98d40b36,0x8acf1c2b,0x84c61120,0xaef93211,0xa0f03f1a,0xb2eb2807,0xbce2250c,0xe6956e65,0xe89c636e,0xfa877473,0xf48e7978,0xdeb15a49,0xd0b85742,0xc2a3405f,0xccaa4d54,0x41ecdaf7,0x4fe5d7fc,0x5dfec0e1,0x53f7cdea,0x79c8eedb,0x77c1e3d0,0x65daf4cd,0x6bd3f9c6,0x31a4b2af,0x3fadbfa4,0x2db6a8b9,0x23bfa5b2,0x9808683,0x7898b88,0x15929c95,0x1b9b919e,0xa17c0a47,0xaf75074c,0xbd6e1051,0xb3671d5a,0x99583e6b,0x97513360,0x854a247d,0x8b432976,0xd134621f,0xdf3d6f14,0xcd267809,0xc32f7502,0xe9105633,0xe7195b38,0xf5024c25,0xfb0b412e,0x9ad7618c,0x94de6c87,0x86c57b9a,0x88cc7691,0xa2f355a0,0xacfa58ab,0xbee14fb6,0xb0e842bd,0xea9f09d4,0xe49604df,0xf68d13c2,0xf8841ec9,0xd2bb3df8,0xdcb230f3,0xcea927ee,0xc0a02ae5,0x7a47b13c,0x744ebc37,0x6655ab2a,0x685ca621,0x42638510,0x4c6a881b,0x5e719f06,0x5078920d,0xa0fd964,0x406d46f,0x161dc372,0x1814ce79,0x322bed48,0x3c22e043,0x2e39f75e,0x2030fa55,0xec9ab701,0xe293ba0a,0xf088ad17,0xfe81a01c,0xd4be832d,0xdab78e26,0xc8ac993b,0xc6a59430,0x9cd2df59,0x92dbd252,0x80c0c54f,0x8ec9c844,0xa4f6eb75,0xaaffe67e,0xb8e4f163,0xb6edfc68,0xc0a67b1,0x2036aba,0x10187da7,0x1e1170ac,0x342e539d,0x3a275e96,0x283c498b,0x26354480,0x7c420fe9,0x724b02e2,0x605015ff,0x6e5918f4,0x44663bc5,0x4a6f36ce,0x587421d3,0x567d2cd8,0x37a10c7a,0x39a80171,0x2bb3166c,0x25ba1b67,0xf853856,0x18c355d,0x13972240,0x1d9e2f4b,0x47e96422,0x49e06929,0x5bfb7e34,0x55f2733f,0x7fcd500e,0x71c45d05,0x63df4a18,0x6dd64713,0xd731dcca,0xd938d1c1,0xcb23c6dc,0xc52acbd7,0xef15e8e6,0xe11ce5ed,0xf307f2f0,0xfd0efffb,0xa779b492,0xa970b999,0xbb6bae84,0xb562a38f,0x9f5d80be,0x91548db5,0x834f9aa8,0x8d4697a3],_0x5c6339[_0x5afb3b([0x55,0x32])]=[0x0,0xb0e090d,0x161c121a,0x1d121b17,0x2c382434,0x27362d39,0x3a24362e,0x312a3f23,0x58704868,0x537e4165,0x4e6c5a72,0x4562537f,0x74486c5c,0x7f466551,0x62547e46,0x695a774b,0xb0e090d0,0xbbee99dd,0xa6fc82ca,0xadf28bc7,0x9cd8b4e4,0x97d6bde9,0x8ac4a6fe,0x81caaff3,0xe890d8b8,0xe39ed1b5,0xfe8ccaa2,0xf582c3af,0xc4a8fc8c,0xcfa6f581,0xd2b4ee96,0xd9bae79b,0x7bdb3bbb,0x70d532b6,0x6dc729a1,0x66c920ac,0x57e31f8f,0x5ced1682,0x41ff0d95,0x4af10498,0x23ab73d3,0x28a57ade,0x35b761c9,0x3eb968c4,0xf9357e7,0x49d5eea,0x198f45fd,0x12814cf0,0xcb3bab6b,0xc035a266,0xdd27b971,0xd629b07c,0xe7038f5f,0xec0d8652,0xf11f9d45,0xfa119448,0x934be303,0x9845ea0e,0x8557f119,0x8e59f814,0xbf73c737,0xb47dce3a,0xa96fd52d,0xa261dc20,0xf6ad766d,0xfda37f60,0xe0b16477,0xebbf6d7a,0xda955259,0xd19b5b54,0xcc894043,0xc787494e,0xaedd3e05,0xa5d33708,0xb8c12c1f,0xb3cf2512,0x82e51a31,0x89eb133c,0x94f9082b,0x9ff70126,0x464de6bd,0x4d43efb0,0x5051f4a7,0x5b5ffdaa,0x6a75c289,0x617bcb84,0x7c69d093,0x7767d99e,0x1e3daed5,0x1533a7d8,0x821bccf,0x32fb5c2,0x32058ae1,0x390b83ec,0x241998fb,0x2f1791f6,0x8d764dd6,0x867844db,0x9b6a5fcc,0x906456c1,0xa14e69e2,0xaa4060ef,0xb7527bf8,0xbc5c72f5,0xd50605be,0xde080cb3,0xc31a17a4,0xc8141ea9,0xf93e218a,0xf2302887,0xef223390,0xe42c3a9d,0x3d96dd06,0x3698d40b,0x2b8acf1c,0x2084c611,0x11aef932,0x1aa0f03f,0x7b2eb28,0xcbce225,0x65e6956e,0x6ee89c63,0x73fa8774,0x78f48e79,0x49deb15a,0x42d0b857,0x5fc2a340,0x54ccaa4d,0xf741ecda,0xfc4fe5d7,0xe15dfec0,0xea53f7cd,0xdb79c8ee,0xd077c1e3,0xcd65daf4,0xc66bd3f9,0xaf31a4b2,0xa43fadbf,0xb92db6a8,0xb223bfa5,0x83098086,0x8807898b,0x9515929c,0x9e1b9b91,0x47a17c0a,0x4caf7507,0x51bd6e10,0x5ab3671d,0x6b99583e,0x60975133,0x7d854a24,0x768b4329,0x1fd13462,0x14df3d6f,0x9cd2678,0x2c32f75,0x33e91056,0x38e7195b,0x25f5024c,0x2efb0b41,0x8c9ad761,0x8794de6c,0x9a86c57b,0x9188cc76,0xa0a2f355,0xabacfa58,0xb6bee14f,0xbdb0e842,0xd4ea9f09,0xdfe49604,0xc2f68d13,0xc9f8841e,0xf8d2bb3d,0xf3dcb230,0xeecea927,0xe5c0a02a,0x3c7a47b1,0x37744ebc,0x2a6655ab,0x21685ca6,0x10426385,0x1b4c6a88,0x65e719f,0xd507892,0x640a0fd9,0x6f0406d4,0x72161dc3,0x791814ce,0x48322bed,0x433c22e0,0x5e2e39f7,0x552030fa,0x1ec9ab7,0xae293ba,0x17f088ad,0x1cfe81a0,0x2dd4be83,0x26dab78e,0x3bc8ac99,0x30c6a594,0x599cd2df,0x5292dbd2,0x4f80c0c5,0x448ec9c8,0x75a4f6eb,0x7eaaffe6,0x63b8e4f1,0x68b6edfc,0xb10c0a67,0xba02036a,0xa710187d,0xac1e1170,0x9d342e53,0x963a275e,0x8b283c49,0x80263544,0xe97c420f,0xe2724b02,0xff605015,0xf46e5918,0xc544663b,0xce4a6f36,0xd3587421,0xd8567d2c,0x7a37a10c,0x7139a801,0x6c2bb316,0x6725ba1b,0x560f8538,0x5d018c35,0x40139722,0x4b1d9e2f,0x2247e964,0x2949e069,0x345bfb7e,0x3f55f273,0xe7fcd50,0x571c45d,0x1863df4a,0x136dd647,0xcad731dc,0xc1d938d1,0xdccb23c6,0xd7c52acb,0xe6ef15e8,0xede11ce5,0xf0f307f2,0xfbfd0eff,0x92a779b4,0x99a970b9,0x84bb6bae,0x8fb562a3,0xbe9f5d80,0xb591548d,0xa8834f9a,0xa38d4697],_0x5c6339[_0x5afb3b([0x55,0x33])]=[0x0,0xd0b0e09,0x1a161c12,0x171d121b,0x342c3824,0x3927362d,0x2e3a2436,0x23312a3f,0x68587048,0x65537e41,0x724e6c5a,0x7f456253,0x5c74486c,0x517f4665,0x4662547e,0x4b695a77,0xd0b0e090,0xddbbee99,0xcaa6fc82,0xc7adf28b,0xe49cd8b4,0xe997d6bd,0xfe8ac4a6,0xf381caaf,0xb8e890d8,0xb5e39ed1,0xa2fe8cca,0xaff582c3,0x8cc4a8fc,0x81cfa6f5,0x96d2b4ee,0x9bd9bae7,0xbb7bdb3b,0xb670d532,0xa16dc729,0xac66c920,0x8f57e31f,0x825ced16,0x9541ff0d,0x984af104,0xd323ab73,0xde28a57a,0xc935b761,0xc43eb968,0xe70f9357,0xea049d5e,0xfd198f45,0xf012814c,0x6bcb3bab,0x66c035a2,0x71dd27b9,0x7cd629b0,0x5fe7038f,0x52ec0d86,0x45f11f9d,0x48fa1194,0x3934be3,0xe9845ea,0x198557f1,0x148e59f8,0x37bf73c7,0x3ab47dce,0x2da96fd5,0x20a261dc,0x6df6ad76,0x60fda37f,0x77e0b164,0x7aebbf6d,0x59da9552,0x54d19b5b,0x43cc8940,0x4ec78749,0x5aedd3e,0x8a5d337,0x1fb8c12c,0x12b3cf25,0x3182e51a,0x3c89eb13,0x2b94f908,0x269ff701,0xbd464de6,0xb04d43ef,0xa75051f4,0xaa5b5ffd,0x896a75c2,0x84617bcb,0x937c69d0,0x9e7767d9,0xd51e3dae,0xd81533a7,0xcf0821bc,0xc2032fb5,0xe132058a,0xec390b83,0xfb241998,0xf62f1791,0xd68d764d,0xdb867844,0xcc9b6a5f,0xc1906456,0xe2a14e69,0xefaa4060,0xf8b7527b,0xf5bc5c72,0xbed50605,0xb3de080c,0xa4c31a17,0xa9c8141e,0x8af93e21,0x87f23028,0x90ef2233,0x9de42c3a,0x63d96dd,0xb3698d4,0x1c2b8acf,0x112084c6,0x3211aef9,0x3f1aa0f0,0x2807b2eb,0x250cbce2,0x6e65e695,0x636ee89c,0x7473fa87,0x7978f48e,0x5a49deb1,0x5742d0b8,0x405fc2a3,0x4d54ccaa,0xdaf741ec,0xd7fc4fe5,0xc0e15dfe,0xcdea53f7,0xeedb79c8,0xe3d077c1,0xf4cd65da,0xf9c66bd3,0xb2af31a4,0xbfa43fad,0xa8b92db6,0xa5b223bf,0x86830980,0x8b880789,0x9c951592,0x919e1b9b,0xa47a17c,0x74caf75,0x1051bd6e,0x1d5ab367,0x3e6b9958,0x33609751,0x247d854a,0x29768b43,0x621fd134,0x6f14df3d,0x7809cd26,0x7502c32f,0x5633e910,0x5b38e719,0x4c25f502,0x412efb0b,0x618c9ad7,0x6c8794de,0x7b9a86c5,0x769188cc,0x55a0a2f3,0x58abacfa,0x4fb6bee1,0x42bdb0e8,0x9d4ea9f,0x4dfe496,0x13c2f68d,0x1ec9f884,0x3df8d2bb,0x30f3dcb2,0x27eecea9,0x2ae5c0a0,0xb13c7a47,0xbc37744e,0xab2a6655,0xa621685c,0x85104263,0x881b4c6a,0x9f065e71,0x920d5078,0xd9640a0f,0xd46f0406,0xc372161d,0xce791814,0xed48322b,0xe0433c22,0xf75e2e39,0xfa552030,0xb701ec9a,0xba0ae293,0xad17f088,0xa01cfe81,0x832dd4be,0x8e26dab7,0x993bc8ac,0x9430c6a5,0xdf599cd2,0xd25292db,0xc54f80c0,0xc8448ec9,0xeb75a4f6,0xe67eaaff,0xf163b8e4,0xfc68b6ed,0x67b10c0a,0x6aba0203,0x7da71018,0x70ac1e11,0x539d342e,0x5e963a27,0x498b283c,0x44802635,0xfe97c42,0x2e2724b,0x15ff6050,0x18f46e59,0x3bc54466,0x36ce4a6f,0x21d35874,0x2cd8567d,0xc7a37a1,0x17139a8,0x166c2bb3,0x1b6725ba,0x38560f85,0x355d018c,0x22401397,0x2f4b1d9e,0x642247e9,0x692949e0,0x7e345bfb,0x733f55f2,0x500e7fcd,0x5d0571c4,0x4a1863df,0x47136dd6,0xdccad731,0xd1c1d938,0xc6dccb23,0xcbd7c52a,0xe8e6ef15,0xe5ede11c,0xf2f0f307,0xfffbfd0e,0xb492a779,0xb999a970,0xae84bb6b,0xa38fb562,0x80be9f5d,0x8db59154,0x9aa8834f,0x97a38d46],_0x5c6339[_0x5afb3b([0x55,0x34])]=[0x0,0x90d0b0e,0x121a161c,0x1b171d12,0x24342c38,0x2d392736,0x362e3a24,0x3f23312a,0x48685870,0x4165537e,0x5a724e6c,0x537f4562,0x6c5c7448,0x65517f46,0x7e466254,0x774b695a,0x90d0b0e0,0x99ddbbee,0x82caa6fc,0x8bc7adf2,0xb4e49cd8,0xbde997d6,0xa6fe8ac4,0xaff381ca,0xd8b8e890,0xd1b5e39e,0xcaa2fe8c,0xc3aff582,0xfc8cc4a8,0xf581cfa6,0xee96d2b4,0xe79bd9ba,0x3bbb7bdb,0x32b670d5,0x29a16dc7,0x20ac66c9,0x1f8f57e3,0x16825ced,0xd9541ff,0x4984af1,0x73d323ab,0x7ade28a5,0x61c935b7,0x68c43eb9,0x57e70f93,0x5eea049d,0x45fd198f,0x4cf01281,0xab6bcb3b,0xa266c035,0xb971dd27,0xb07cd629,0x8f5fe703,0x8652ec0d,0x9d45f11f,0x9448fa11,0xe303934b,0xea0e9845,0xf1198557,0xf8148e59,0xc737bf73,0xce3ab47d,0xd52da96f,0xdc20a261,0x766df6ad,0x7f60fda3,0x6477e0b1,0x6d7aebbf,0x5259da95,0x5b54d19b,0x4043cc89,0x494ec787,0x3e05aedd,0x3708a5d3,0x2c1fb8c1,0x2512b3cf,0x1a3182e5,0x133c89eb,0x82b94f9,0x1269ff7,0xe6bd464d,0xefb04d43,0xf4a75051,0xfdaa5b5f,0xc2896a75,0xcb84617b,0xd0937c69,0xd99e7767,0xaed51e3d,0xa7d81533,0xbccf0821,0xb5c2032f,0x8ae13205,0x83ec390b,0x98fb2419,0x91f62f17,0x4dd68d76,0x44db8678,0x5fcc9b6a,0x56c19064,0x69e2a14e,0x60efaa40,0x7bf8b752,0x72f5bc5c,0x5bed506,0xcb3de08,0x17a4c31a,0x1ea9c814,0x218af93e,0x2887f230,0x3390ef22,0x3a9de42c,0xdd063d96,0xd40b3698,0xcf1c2b8a,0xc6112084,0xf93211ae,0xf03f1aa0,0xeb2807b2,0xe2250cbc,0x956e65e6,0x9c636ee8,0x877473fa,0x8e7978f4,0xb15a49de,0xb85742d0,0xa3405fc2,0xaa4d54cc,0xecdaf741,0xe5d7fc4f,0xfec0e15d,0xf7cdea53,0xc8eedb79,0xc1e3d077,0xdaf4cd65,0xd3f9c66b,0xa4b2af31,0xadbfa43f,0xb6a8b92d,0xbfa5b223,0x80868309,0x898b8807,0x929c9515,0x9b919e1b,0x7c0a47a1,0x75074caf,0x6e1051bd,0x671d5ab3,0x583e6b99,0x51336097,0x4a247d85,0x4329768b,0x34621fd1,0x3d6f14df,0x267809cd,0x2f7502c3,0x105633e9,0x195b38e7,0x24c25f5,0xb412efb,0xd7618c9a,0xde6c8794,0xc57b9a86,0xcc769188,0xf355a0a2,0xfa58abac,0xe14fb6be,0xe842bdb0,0x9f09d4ea,0x9604dfe4,0x8d13c2f6,0x841ec9f8,0xbb3df8d2,0xb230f3dc,0xa927eece,0xa02ae5c0,0x47b13c7a,0x4ebc3774,0x55ab2a66,0x5ca62168,0x63851042,0x6a881b4c,0x719f065e,0x78920d50,0xfd9640a,0x6d46f04,0x1dc37216,0x14ce7918,0x2bed4832,0x22e0433c,0x39f75e2e,0x30fa5520,0x9ab701ec,0x93ba0ae2,0x88ad17f0,0x81a01cfe,0xbe832dd4,0xb78e26da,0xac993bc8,0xa59430c6,0xd2df599c,0xdbd25292,0xc0c54f80,0xc9c8448e,0xf6eb75a4,0xffe67eaa,0xe4f163b8,0xedfc68b6,0xa67b10c,0x36aba02,0x187da710,0x1170ac1e,0x2e539d34,0x275e963a,0x3c498b28,0x35448026,0x420fe97c,0x4b02e272,0x5015ff60,0x5918f46e,0x663bc544,0x6f36ce4a,0x7421d358,0x7d2cd856,0xa10c7a37,0xa8017139,0xb3166c2b,0xba1b6725,0x8538560f,0x8c355d01,0x97224013,0x9e2f4b1d,0xe9642247,0xe0692949,0xfb7e345b,0xf2733f55,0xcd500e7f,0xc45d0571,0xdf4a1863,0xd647136d,0x31dccad7,0x38d1c1d9,0x23c6dccb,0x2acbd7c5,0x15e8e6ef,0x1ce5ede1,0x7f2f0f3,0xefffbfd,0x79b492a7,0x70b999a9,0x6bae84bb,0x62a38fb5,0x5d80be9f,0x548db591,0x4f9aa883,0x4697a38d];const _0x944b84=new Uint8Array(0x10);for(let _0xc21d44=0xf;_0xc21d44>=0x0;--_0xc21d44)_0x944b84[_0xc21d44]=_0x3f108e%0x100,_0x3f108e=parseInt(_0x3f108e/0x100);let _0x2d0c0b=null,_0x4f7bb6=0x10;const _0x71f8cb=new Uint8Array(_0x3e8625),_0xd8cbb7=[],_0x2ade70=[];_0x49651b();for(let _0x3fee47=0x0;_0x3fee47<_0x4837f0[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3fee47++)0x10===_0x4f7bb6&&(_0x2d0c0b=_0x470b49(_0x944b84),_0x4f7bb6=0x0,_0x443adf(_0x944b84)),_0x4837f0[_0x3fee47]^=_0x2d0c0b[_0x4f7bb6++];return _0x4837f0;function _0x201232(_0x360df4){const _0x406d3f=[];for(let _0x487928=0x0;_0x487928<_0x360df4[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x487928+=0x4)_0x406d3f[_0x5afb3b([0x70,0x75,0x73,0x68])](_0x360df4[_0x487928]<<0x18|_0x360df4[_0x487928+0x1]<<0x10|_0x360df4[_0x487928+0x2]<<0x8|_0x360df4[_0x487928+0x3]);return _0x406d3f;}function _0x443adf(_0xad70a6){for(let _0x37101a=0xf;_0x37101a>=0x0;_0x37101a--){if(0xff!==_0xad70a6[_0x37101a]){_0xad70a6[_0x37101a]++;break;}_0xad70a6[_0x37101a]=0x0;}}function _0x470b49(_0x1635f4){const _0x3f2f2e=_0xd8cbb7[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x5bd8a4=[0x0,0x0,0x0,0x0];let t=_0x201232(_0x1635f4);for(let _0x24b83d=0x0;_0x24b83d<0x4;_0x24b83d++)t[_0x24b83d]^=_0xd8cbb7[0x0][_0x24b83d];for(let _0x4c5d6c=0x1;_0x4c5d6c<_0x3f2f2e;_0x4c5d6c++){for(let _0x103449=0x0;_0x103449<0x4;_0x103449++)_0x5bd8a4[_0x103449]=_0x5c6339[_0x5afb3b([0x54,0x31])][t[_0x103449]>>0x18&0xff]^_0x5c6339[_0x5afb3b([0x54,0x32])][t[(_0x103449+0x1)%0x4]>>0x10&0xff]^_0x5c6339[_0x5afb3b([0x54,0x33])][t[(_0x103449+0x2)%0x4]>>0x8&0xff]^_0x5c6339[_0x5afb3b([0x54,0x34])][0xff&t[(_0x103449+0x3)%0x4]]^_0xd8cbb7[_0x4c5d6c][_0x103449];t=_0x5bd8a4[_0x5afb3b([0x73,0x6c,0x69,0x63,0x65])]();}const _0xed59a2=new Uint8Array(0x10);let _0x134479;for(let _0x415b9c=0x0;_0x415b9c<0x4;_0x415b9c++)_0x134479=_0xd8cbb7[_0x3f2f2e][_0x415b9c],_0xed59a2[0x4*_0x415b9c]=0xff&(_0x5c6339[_0x5afb3b([0x53])][t[_0x415b9c]>>0x18&0xff]^_0x134479>>0x18),_0xed59a2[0x4*_0x415b9c+0x1]=0xff&(_0x5c6339[_0x5afb3b([0x53])][t[(_0x415b9c+0x1)%0x4]>>0x10&0xff]^_0x134479>>0x10),_0xed59a2[0x4*_0x415b9c+0x2]=0xff&(_0x5c6339[_0x5afb3b([0x53])][t[(_0x415b9c+0x2)%0x4]>>0x8&0xff]^_0x134479>>0x8),_0xed59a2[0x4*_0x415b9c+0x3]=0xff&(_0x5c6339[_0x5afb3b([0x53])][0xff&t[(_0x415b9c+0x3)%0x4]]^_0x134479);return _0xed59a2;}function _0x49651b(){const _0x250f54=_0x5c6339[_0x5afb3b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x71f8cb[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x3e54d4=0x0;_0x3e54d4<=_0x250f54;_0x3e54d4++)_0xd8cbb7[_0x5afb3b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2ade70[_0x5afb3b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x514302=0x4*(_0x250f54+0x1),_0x42d15c=_0x71f8cb[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x3ea574=_0x201232(_0x71f8cb);let _0x5267e0;for(let _0x218998=0x0;_0x218998<_0x42d15c;_0x218998++)_0x5267e0=_0x218998>>0x2,_0xd8cbb7[_0x5267e0][_0x218998%0x4]=_0x3ea574[_0x218998],_0x2ade70[_0x250f54-_0x5267e0][_0x218998%0x4]=_0x3ea574[_0x218998];let _0x4e2b4b,_0x4ae888=0x0,t=_0x42d15c;for(;t<_0x514302;){_0x4e2b4b=_0x3ea574[_0x42d15c-0x1],_0x3ea574[0x0]^=_0x5c6339[_0x5afb3b([0x53])][_0x4e2b4b>>0x10&0xff]<<0x18^_0x5c6339[_0x5afb3b([0x53])][_0x4e2b4b>>0x8&0xff]<<0x10^_0x5c6339[_0x5afb3b([0x53])][0xff&_0x4e2b4b]<<0x8^_0x5c6339[_0x5afb3b([0x53])][_0x4e2b4b>>0x18&0xff]^_0x5c6339[_0x5afb3b([0x72,0x63,0x6f,0x6e])][_0x4ae888]<<0x18,_0x4ae888+=0x1;for(let _0x3f71b3=0x1;_0x3f71b3<_0x42d15c/0x2;_0x3f71b3++)_0x3ea574[_0x3f71b3]^=_0x3ea574[_0x3f71b3-0x1];_0x4e2b4b=_0x3ea574[_0x42d15c/0x2-0x1],_0x3ea574[_0x42d15c/0x2]^=_0x5c6339[_0x5afb3b([0x53])][0xff&_0x4e2b4b]^_0x5c6339[_0x5afb3b([0x53])][_0x4e2b4b>>0x8&0xff]<<0x8^_0x5c6339[_0x5afb3b([0x53])][_0x4e2b4b>>0x10&0xff]<<0x10^_0x5c6339[_0x5afb3b([0x53])][_0x4e2b4b>>0x18&0xff]<<0x18;for(let _0x5203d0=_0x42d15c/0x2+0x1;_0x5203d0<_0x42d15c;_0x5203d0++)_0x3ea574[_0x5203d0]^=_0x3ea574[_0x5203d0-0x1];let _0x32bb7d,_0x18ee42,_0x4778d8=0x0;for(;_0x4778d8<_0x42d15c&&t<_0x514302;)_0x32bb7d=t>>0x2,_0x18ee42=t%0x4,_0xd8cbb7[_0x32bb7d][_0x18ee42]=_0x3ea574[_0x4778d8],_0x2ade70[_0x250f54-_0x32bb7d][_0x18ee42]=_0x3ea574[_0x4778d8++],t++;}for(let _0x74cfa=0x1;_0x74cfa<_0x250f54;_0x74cfa++)for(let _0x5e65b2=0x0;_0x5e65b2<0x4;_0x5e65b2++)_0x4e2b4b=_0x2ade70[_0x74cfa][_0x5e65b2],_0x2ade70[_0x74cfa][_0x5e65b2]=_0x5c6339[_0x5afb3b([0x55,0x31])][_0x4e2b4b>>0x18&0xff]^_0x5c6339[_0x5afb3b([0x55,0x32])][_0x4e2b4b>>0x10&0xff]^_0x5c6339[_0x5afb3b([0x55,0x33])][_0x4e2b4b>>0x8&0xff]^_0x5c6339[_0x5afb3b([0x55,0x34])][0xff&_0x4e2b4b];}}function _0x5afb3b(_0x5bcac2){return _0x5bcac2['map'](_0x1aab82=>String['fromCharCode'](_0x1aab82))['join']('');}(_0x2f48de=>{function _0x377c94(){const _0x1f3958=[{[_0x5afb3b([0x69,0x64])]:0x1,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5afb3b([0x69,0x64])]:0x2,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5afb3b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5afb3b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5afb3b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5afb3b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5afb3b([0x69,0x64])]:0x3,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5afb3b([0x69,0x64])]:0x4,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5afb3b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5afb3b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5afb3b([0x69,0x64])]:0x5,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x64,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}},{[_0x5afb3b([0x69,0x64])]:0x6,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}},{[_0x5afb3b([0x69,0x64])]:0x7,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}},{[_0x5afb3b([0x69,0x64])]:0x8,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x74,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}},{[_0x5afb3b([0x69,0x64])]:0x9,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5afb3b([0x69,0x64])]:0xa,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x50,0x61,0x73,0x74,0x65,0x20,0x66,0x72,0x6f,0x6d,0x20,0x4f,0x66,0x66,0x69,0x63,0x65,0x20,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x50,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x49,0x6e,0x6c,0x69,0x6e,0x65,0x72]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x70,0x61,0x73,0x74,0x65,0x46,0x72,0x6f,0x6d,0x4f,0x66,0x66,0x69,0x63,0x65,0x45,0x6e,0x68,0x61,0x6e,0x63,0x65,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}},{[_0x5afb3b([0x69,0x64])]:0xb,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5afb3b([0x69,0x64])]:0xc,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5afb3b([0x69,0x64])]:0xd,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}},{[_0x5afb3b([0x69,0x64])]:0xe,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5afb3b([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])},{[_0x5afb3b([0x69,0x64])]:0xf,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5afb3b([0x69,0x64])]:0x10,[_0x5afb3b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5afb3b([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5afb3b([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5afb3b([0x66,0x67,0x69])]:[0xc]}}];return _0x356e48(_0x1f3958),_0x1f3958;function _0xd345e2(_0xcde4e9){return 0x1<<_0xcde4e9-0x1;}function _0x356e48(_0x40bb00){_0x40bb00[_0x5afb3b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x18d26e=>{_0x18d26e[_0x5afb3b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xd345e2(_0x18d26e[_0x5afb3b([0x69,0x64])]),_0x44053b(_0x18d26e)&&_0x18d26e[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x356e48(_0x18d26e[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x44053b(_0x3e566f){return _0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x3e566f;}const _0xebe769=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x10b0ba=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x440428(_0x5b9a3a){const _0x2da875=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x54a1a5(_0x5b9a3a,new Uint8Array([..._0xebe769,..._0x2da875,..._0x10b0ba]));}function _0x54a1a5(_0x485971,_0x3b678c){const _0x2fbce4=_0x4bc68f(_0x485971),_0x28f169=Array[_0x5afb3b([0x66,0x72,0x6f,0x6d])](_0x283c6f(_0x2fbce4)),_0x557503=_0x28f169[_0x5afb3b([0x70,0x6f,0x70])](),_0x35886b=_0x28f169[_0x5afb3b([0x70,0x6f,0x70])]();return _0x4f0335(_0x521f4b(_0x28f169,_0x3b678c,_0x35886b+0x100*_0x557503));}function _0x4bc68f(_0x580b16){const _0x5cb4d5=atob(_0x580b16),[_0xf6b93c,_0x2f24db]=_0x5cb4d5[_0x5afb3b([0x73,0x70,0x6c,0x69,0x74])](_0x5afb3b([0x2d]));try{if(atob(_0x2f24db))return atob(_0xf6b93c);}catch(_0x26a5c2){}return _0x5cb4d5;}function _0x9b5a78(_0x43ca2d){try{const _0x22f6e3=_0x440428(_0x43ca2d),_0x412cef=JSON[_0x5afb3b([0x70,0x61,0x72,0x73,0x65])](_0x22f6e3),_0x4a2e29=parseInt(_0x412cef[_0x5afb3b([0x31])]),_0x16ebe5=_0x412cef[_0x5afb3b([0x32])]||'',_0x472813=parseInt(_0x412cef[_0x5afb3b([0x33])]),_0x3e7f14=parseInt(_0x412cef[_0x5afb3b([0x34])])||0x0,_0x7048e=parseInt(_0x412cef[_0x5afb3b([0x35])])||0x0;return{[_0x5afb3b([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x16ebe5,[_0x5afb3b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x3e7f14,[_0x5afb3b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4a2e29,[_0x5afb3b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x472813,[_0x5afb3b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x7048e};}catch(_0x26eb67){return null;}}const _0x5a8c72=_0x377c94(),_0x56fb0f={[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4f8918,[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73])]:_0x385dca,[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x46,0x6f,0x72,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x48,0x69,0x73,0x74,0x6f,0x72,0x79])]:_0x2442b5},_0x37fe9f=_0x2f48de[_0x5afb3b([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0xc68f7c=_0x5afb3b([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2f48de?_0x2f48de['context']:_0x2f48de['editor'],_0xa1567c=_0x5afb3b([0x34,0x30,0x34,0x38,0x31,0x34,0x35,0x30]),_0x124767=_0x5afb3b([0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77,0x78,0x79,0x7a,0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39]),_0x4525da=_0xc68f7c['config']['get'](_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2672b7=_0x5a8c72[_0x5afb3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x44053b)[_0x5afb3b([0x66,0x69,0x6e,0x64])](_0x51eb4e=>_0x51eb4e[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x37fe9f);function _0x13cca8(_0x2d374d,_0x54082a){_0x56fb0f[_0x54082a[_0x5afb3b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2d374d,_0x54082a),_0x54082a[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x54082a[_0x5afb3b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5afb3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d7f74=>_0x1a8dfd(_0xc68f7c,_0x2d7f74[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5afb3b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ca59c=>_0x13cca8(_0x2d374d,_0x4ca59c));}function _0x4f8918(_0x138cf5,_0x35d3c0){_0x3756d0(_0x15dac7(_0x138cf5,_0x35d3c0),_0x35d3c0);}function _0x385dca(_0x1462d4,_0x305dc0){function _0x51a709(_0x4cefea,_0x4024f4){try{if(_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x4cefea){const _0x30ebf2=_0xa2eb73(_0xc68f7c,_0x5afb3b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5afb3b([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x30ebf2)/0x2>_0x4cefea[_0x5afb3b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x5bd498(_0x4024f4[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x15dac7(_0x4cefea,_0x4024f4);}catch(_0x3f1948){return _0x5bd498(_0x4024f4[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3756d0(_0x51a709(_0x1462d4,_0x305dc0),_0x305dc0);}function _0x2442b5(_0x3d7c89,_0x398b02){const _0x282fd8=_0x10b0ba[0x0]*_0xebe769[0x1],_0x331cf4=_0x10b0ba[0x0]*_0xebe769[0x2],_0x1bf5b0=_0x10b0ba[0x2]*_0xebe769[0x2];_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xa2eb73(_0xc68f7c,_0x5afb3b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5afb3b([0x73,0x74,0x61,0x74,0x65])]==_0x5afb3b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3d0579()]=_0x1bf5b0);function _0x3381d3(_0x201c3f,_0x531243){try{return _0x29d09e()?_0x5bd498(_0x531243[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x56,0x61,0x6c,0x69,0x64])):_0x15dac7(_0x201c3f,_0x531243);}catch(_0x16d5a8){return _0x5bd498(_0x531243[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4ab4c2(_0x223dce,_0x4b0440){const _0x453f2c=0x7;if(_0x223dce==_0x4b0440[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x145dd0();else{if(_0x223dce==_0x4b0440[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c])){const _0x44c920=_0x3fa519();_0x44c920&&_0x152587(_0x44c920,_0x4b0440[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x37aa76=_0x1a4e4b();window[_0x5afb3b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x152587(_0x5afb3b([0x74,0x69,0x6d,0x65]),_0x4b0440[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x37aa76);const _0x568ba8=_0xa2eb73(_0xc68f7c,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5afb3b([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x568ba8[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x453f2c?_0x152587(_0x5afb3b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4b0440[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x568ba8['on'](_0x5afb3b([0x61,0x64,0x64]),()=>{_0x568ba8[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x453f2c&&_0x152587(_0x5afb3b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4b0440[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x3fa519(){if(!_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x489224 in window)if(Number['isNaN'](Number(_0x489224))){if(window[_0x489224]===_0x282fd8)return _0x5afb3b([0x74,0x69,0x6d,0x65]);if(window[_0x489224]===_0x331cf4)return _0x5afb3b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x29d09e(){if(!_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x41d5cf in window)if(Number['isNaN'](Number(_0x41d5cf))&&window[_0x41d5cf]===_0x1bf5b0)return!0x0;return!0x1;}function _0x152587(_0x478852,_0x27be0d){_0x145dd0(),_0x5bd498(_0x27be0d+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x478852),window[_0x3d0579()]=_0x478852===_0x5afb3b([0x74,0x69,0x6d,0x65])?_0x282fd8:_0x331cf4;}function _0x1a4e4b(){let _0x691993=_0x10b0ba[0x6]*_0xebe769[0x8]*_0xebe769[0x6];return _0x1a8dfd(_0xc68f7c,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x691993/=0xa),_0x691993;}function _0x145dd0(){const _0x1456fa=_0xc68f7c;function _0x17b338(){_0x1a8dfd(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5afb3b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5afb3b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5afb3b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5afb3b([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x59893f,_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5afb3b([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x59893f,_0x1456fa[_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb3b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59893f,_0x1456fa[_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb3b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59893f,_0x1456fa[_0x5afb3b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c]))),_0x1a8dfd(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5afb3b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5afb3b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5afb3b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5afb3b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x59893f,_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5afb3b([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x59893f);}_0x1456fa[_0x5afb3b([0x73,0x74,0x61,0x74,0x65])]==_0x5afb3b([0x72,0x65,0x61,0x64,0x79])?_0x17b338():_0x1456fa[_0x5afb3b([0x6f,0x6e,0x63,0x65])](_0x5afb3b([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x1a8dfd(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x17b338(),_0x1a8dfd(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x299c48=_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x23acbd=_0x299c48['getRevision'](0x0),_0x544aa5=_0x299c48['getEarlierVisibleRevision'](_0x23acbd[_0x5afb3b([0x69,0x64])]);_0xa2eb73(_0x1456fa,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5afb3b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x23acbd[_0x5afb3b([0x69,0x64])],_0x544aa5?_0x544aa5[_0x5afb3b([0x69,0x64])]:null,0x1)['then'](()=>_0x17b338());}});}_0x4ab4c2(_0x3381d3(_0x3d7c89,_0x398b02),_0x398b02);}function _0x15dac7(_0x18e633,_0x13c11b){try{return _0x5091e7(_0x13c11b)?_0x5bd498(_0x13c11b[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x56,0x61,0x6c,0x69,0x64])):_0x18e633&&_0x65fa1e(_0x18e633[_0x5afb3b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x13c11b)?_0x18e633[_0x5afb3b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5afb3b([0x6f,0x70,0x65,0x6e])][_0x5afb3b([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xa1567c)/0x2>_0x18e633[_0x5afb3b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x5bd498(_0x13c11b[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x18e633[_0x5afb3b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x5bd498(_0x13c11b[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c])):_0x5bd498(_0x13c11b[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x56,0x61,0x6c,0x69,0x64])):_0x5bd498(_0x13c11b[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x4b4b70){return _0x5bd498(_0x13c11b[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3756d0(_0x3aaf62,_0x19c1b0){if(_0xc68f7c instanceof _0x5bef50){const _0x562bfe=_0xc68f7c;_0x3aaf62==_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4e710e(_0x562bfe):_0x3aaf62==_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5afb3b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4e710e(_0x562bfe),_0x5bd498(_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x10b0ba[0x6]*_0xebe769[0x8]*_0xebe769[0x6]),_0x562bfe[_0x5afb3b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5afb3b([0x6f,0x6e])](_0x5afb3b([0x61,0x64,0x64]),(_0xe77bd9,_0x501347)=>{_0x3aaf62!=_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3aaf62!=_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3aaf62!=_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5cea93(_0x501347);});}else{const _0x59f5ce=_0xc68f7c;_0x3aaf62==_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5cea93(_0x59f5ce):_0x3aaf62==_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c])&&_0x59f5ce[_0x5afb3b([0x6f,0x6e])](_0x5afb3b([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x27ce1=0x0;_0x59f5ce[_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb3b([0x6f,0x6e])](_0x5afb3b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x383a06,_0x5c8da3)=>{_0x5c8da3[0x0][_0x5afb3b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27ce1++,0x1f8===_0x27ce1&&(_0x5cea93(_0x59f5ce),_0x5bd498(_0x19c1b0[_0x5afb3b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5afb3b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x383a06[_0x5afb3b([0x6f,0x66,0x66])]());},{'priority':_0x5afb3b([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x5bd498(_0x4333e3){const _0x58458e=_0x3d0579();return _0xc68f7c[_0x58458e]=_0x4333e3,_0x4333e3;}function _0x3d0579(){const _0x46001c=String(window[_0x5afb3b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5afb3b([0x6e,0x6f,0x77])]())[_0x5afb3b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5afb3b([0x2e]),'');let _0x5486d2='';for(let _0xcabb9a=0x0;_0xcabb9a<_0x46001c[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcabb9a+=0x2){let _0x4d7957=parseInt(_0x46001c[_0x5afb3b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcabb9a,_0xcabb9a+0x2));_0x4d7957>=_0x124767[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4d7957-=_0x124767[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5486d2+=_0x124767[_0x4d7957];}return _0x5486d2;}function _0x4e710e(_0x358b41){for(const _0x4d9426 of _0x358b41[_0x5afb3b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5cea93(_0x4d9426);_0xa2eb73(_0x358b41,_0x5afb3b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5afb3b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0xa2eb73(_0x358b41,_0x5afb3b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5afb3b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x59893f;}function _0x5cea93(_0x11ae9e){function _0x3ee6db(){_0x11ae9e[_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb3b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x59893f,_0x11ae9e[_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c])][_0x5afb3b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x59893f,_0x11ae9e[_0x5afb3b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5afb3b([0x6d,0x6f,0x64,0x65,0x6c]));}_0x11ae9e[_0x5afb3b([0x73,0x74,0x61,0x74,0x65])]==_0x5afb3b([0x72,0x65,0x61,0x64,0x79])?_0x3ee6db():_0x11ae9e[_0x5afb3b([0x6f,0x6e,0x63,0x65])](_0x5afb3b([0x72,0x65,0x61,0x64,0x79]),()=>_0x3ee6db());}function _0x59893f(){return null;}function _0x65fa1e(_0x1eca02,_0x873558){const _0xfd11b3=!!(_0x1eca02&_0x873558[_0x5afb3b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x456fc5=_0xd67801(_0x1eca02,_0x873558);return _0xfd11b3||_0x456fc5;}function _0xd67801(_0x179c37,_0x50bd11){const _0x1113d7=(_0x50bd11[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5afb3b([0x66,0x67,0x69])]||null;return!!_0x1113d7&&_0x5a8c72[_0x5afb3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3fab55=>_0x1113d7[_0x5afb3b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3fab55[_0x5afb3b([0x69,0x64])]))[_0x5afb3b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x304477=>!_0x2ee851(_0x304477))[_0x5afb3b([0x73,0x6f,0x6d,0x65])](_0x58cf39=>!!(_0x179c37&_0x58cf39[_0x5afb3b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2ee851(_0x217895){const _0x57d2cb={[_0x5afb3b([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72,0x46,0x6f,0x72,0x44,0x72,0x75,0x70,0x61,0x6c])]:_0x2e8466};return!!_0x217895['forbiddenHandler']&&_0x57d2cb[_0x217895['forbiddenHandler']]();}function _0x2e8466(){return!window[_0x5afb3b([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5091e7(_0x214cf8){if(!_0x1a8dfd(_0xc68f7c,_0x214cf8[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x521a4f=_0x214cf8[_0x5afb3b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x57b94e=_0x521a4f[_0x5afb3b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x274d4a=_0x521a4f[_0x5afb3b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x11e149=_0x521a4f[_0x5afb3b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xa2eb73(_0xc68f7c,_0x5afb3b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5afb3b([0x73,0x74,0x61,0x74,0x65])]==_0x5afb3b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x57b94e)return!0x0;if(_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0xa2eb73(_0xc68f7c,_0x5afb3b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5afb3b([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5afb3b([0x65,0x6e,0x64])&&_0x274d4a)return!0x0;return!(!_0x1a8dfd(_0xc68f7c,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))||_0xa2eb73(_0xc68f7c,_0x5afb3b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72,0x49,0x6e,0x74,0x65,0x67,0x72,0x61,0x74,0x69,0x6f,0x6e]))[_0x5afb3b([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5afb3b([0x65,0x6e,0x64])||!_0x11e149);}function _0x1a8dfd(_0xfc643a,_0x4e358e){return _0xfc643a[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5afb3b([0x68,0x61,0x73])](_0x4e358e);}function _0xa2eb73(_0x4efbf5,_0x4379ff){return _0x4efbf5[_0x5afb3b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5afb3b([0x67,0x65,0x74])](_0x4379ff);}function _0x4f0335(_0x5a3073){let _0xc0d555='';for(const _0x5c39fd of _0x5a3073)_0xc0d555+=String[_0x5afb3b([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5c39fd);return _0xc0d555;}function _0x283c6f(_0x45c9e1){const _0x196345=new Uint8Array(_0x45c9e1[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x35f270=0x0;_0x35f270<_0x45c9e1[_0x5afb3b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35f270++)_0x196345[_0x35f270]=_0x45c9e1[_0x5afb3b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35f270);return _0x196345;}_0x2672b7&&_0x13cca8(_0x9b5a78(_0x4525da),_0x2672b7);})(_0x401f37);}(this);}['createRevision'](_0x527256){const _0x162e79=this['editor']['plugins']['get']('Users');return new a({'id':_0x527256['id'],'name':_0x527256['name'],'creator':_0x527256['creatorId']?_0x162e79['getUser'](_0x527256['creatorId']):null,'diffData':_0x527256['diffData']||_0x527256['data'],'authors':_0x527256['authorsIds']['map'](_0x2c9312=>_0x162e79['getUser'](_0x2c9312)),'createdAt':new Date(_0x527256['createdAt']),'attributes':_0x527256['attributes'],'fromVersion':_0x527256['fromVersion'],'toVersion':_0x527256['toVersion']});}['addRevision'](_0x5ee514,_0x327ba2=0x0){this['_revisions']['add'](_0x5ee514,_0x327ba2);}['getRevision'](_0x1c3e99){return this['_revisions']['get'](_0x1c3e99);}['getRevisions'](_0x56d70f={'toJSON':!0x1}){const _0x3f6e99=Array['from'](this['_revisions']);return _0x3f6e99['reverse'](),_0x56d70f['toJSON']?_0x3f6e99['map'](_0x2e2e60=>_0x2e2e60['toJSON']()):_0x3f6e99;}['getIndex'](_0x5a7687){return this['_revisions']['getIndex'](_0x5a7687);}['getEarlierVisibleRevision'](_0x2fc642){const [,_0x59f82e]=this['getRevisionsIterator'](_0x2fc642,{'direction':'earlier'});return _0x59f82e;}['getLaterVisibleRevision'](_0x3a4134){const [,_0x47838d]=this['getRevisionsIterator'](_0x3a4134,{'direction':'later'});return _0x47838d;}['getRevisionsInDiff'](_0xad4ab){const _0x4619ab=[];for(const _0x2cd7d5 of this['getRevisionsIterator'](_0xad4ab['newRevisionId']))if(_0x4619ab['push'](_0x2cd7d5),_0x2cd7d5['id']===_0xad4ab['oldRevisionId'])break;return _0x4619ab;}*['getRevisionsIterator'](_0x249489,{direction:_0x443da0='earlier',filter:_0x3d46ad=_0x398669=>!0x0}={}){const _0x19d6ee='earlier'===_0x443da0?0x1:-0x1;let _0x1ca8a5=this['_revisions']['get'](_0x249489),_0x5bfeb3=this['getIndex'](_0x1ca8a5);for(yield _0x1ca8a5;_0x1ca8a5;){if(_0x5bfeb3+=_0x19d6ee,_0x1ca8a5=this['getRevision'](_0x5bfeb3),!_0x1ca8a5)return;_0x3d46ad(_0x1ca8a5)&&(yield _0x1ca8a5);}}}function y(_0x3c6394,_0x5a179b,_0xffe094){const t=_0x3c6394['t'];switch(_0x5a179b){case'Revision\x20history':return t('Revision\x20history');case'Open\x20revision\x20history':return t('Open\x20revision\x20history');case'Restored':return t('Restored');case'Empty\x20document':return t('Empty\x20document');case'Initial\x20revision':return t('Initial\x20revision');case'Suggested\x20by':return t('Suggested\x20by');case'Added\x20by':return t('Added\x20by');case'Removed\x20by':return t('Removed\x20by');case'Show\x20more\x20items':return t('Show\x20more\x20items');case'Compare\x20against\x20selected':return t('Compare\x20against\x20selected');case'Name\x20this\x20revision':return t('Name\x20this\x20revision');case'Restore\x20this\x20revision':return t('Restore\x20this\x20revision');case'Back\x20to\x20editing':return t('Back\x20to\x20editing');case'Loading...':return t('Loading...');case'No\x20changes':return t('No\x20changes');case'NUMBER_OF_CHANGES':return t({'string':'%0\x20change','plural':'%0\x20changes','id':'NUMBER_OF_CHANGES'},_0xffe094);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xffe094);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x233f02,'a':_0x3c7d2e,'e':_0x109678,'r':_0x660f43,'u':_0x55efa8};class l extends _0x1b7a4e{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5465dc,A,_0x25023b];}constructor(_0x2d9793){super(_0x2d9793),this['adapter']=null,this['currentRevision']=null,this['_revisionDataBuilder']=new J(this['editor']),this['_initialRevisionId']=this['editor']['config']['get']('collaboration.channelId')||'initial',this['_bufferedUpdates']=new Map(),this['_loadedStateData']=null;const _0x6a73e0=_0x53c5f2();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x6a73e0},this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['set']('_isPendingUpdate',!0x1),this['editor']['config']['define']('revisionHistory.resumeUnsavedRevision',!0x0),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'});}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x3a304e=this['repository']['getRevision'](0x0),_0x56a7c4=_0x3a304e&&null===_0x3a304e['creator']?_0x3a304e:null;if(this['_continueCurrentRevision']=!!_0x56a7c4&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x6302fb=this['_source']['getCurrentRevisionId'](),_0x38d1e3=this['repository']['getRevision'](_0x6302fb);if(_0x38d1e3)this['_startingVersion']=_0x38d1e3['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x4d5a45=this['_source']['history']['_operations']['find'](_0x208536=>!_0x208536['_isInit']),_0x5ec102=_0x4d5a45?_0x4d5a45['baseVersion']:this['_source']['history']['version'];_0x3a304e?(_0x3a304e['toVersion']<_0x5ec102&&_0x3a304e['_update']({'toVersion':_0x5ec102}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x56a7c4['id'],this['_startingVersion']=_0x56a7c4['fromVersion']):(this['_startingVersion']=_0x3a304e['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5ec102,this['_continueCurrentRevision']=!0x1);}}else _0x56a7c4&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x56a7c4['toVersion'],this['editor']['model']['document']['history']['version']),_0x56a7c4['fromVersion']===_0x56a7c4['toVersion']?(0x0!==_0x56a7c4['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x56a7c4['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x56a7c4['id'],this['_startingVersion']=_0x56a7c4['fromVersion'])),this['_continueCurrentRevision']||(this['_startingVersion']=this['editor']['model']['document']['version']);this['_revisionDataBuilder']['init'](this['_source']['history']),this['_createInitialRevision'](this['_startingVersion']),this['_createCurrentRevision'](this['_startingVersion']),this['adapter']&&this['sendBufferedUpdates']();}),this['bind']('isReady')['to'](this,'_isPendingUpdate',_0x157d92=>!_0x157d92);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x11be19=this['repository']['getRevision'](0x0),_0x439fa1=await this['getRevisionDocumentData'](_0x11be19),_0x58c64e=await this['getRevisionRootsAttributes'](_0x11be19);this['_replaceEditorDataWithRevisionData'](_0x439fa1,_0x58c64e);}}['setSource'](_0x2b16bc){this['_source']=_0x2b16bc;}async['update'](){const _0x48cedc=await this['_source']['getLatestVersion']();if(_0x48cedc>this['currentRevision']['toVersion']){await this['_loadState']();const _0x546ff2=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x48cedc});_0x546ff2['authors']=_0x546ff2['authorsIds']['map'](_0x46fe2c=>this['editor']['plugins']['get']('Users')['getUser'](_0x46fe2c)),this['currentRevision']['_update'](_0x546ff2);}}async['_loadState'](){this['_continueCurrentRevision']&&!this['_loadedStateData']&&(await this['_loadRevisionData'](this['currentRevision']),this['_revisionDataBuilder']['loadState'](this['currentRevision']),this['_loadedStateData']={'fromVersion':this['currentRevision']['fromVersion'],'authors':this['currentRevision']['authors']['slice']()});}async['saveRevision'](_0x566e89={},_0x46d3cb=null){const _0x5a02ae=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x46d3cb>this['currentRevision']['toVersion']&&(_0x46d3cb=null),null===_0x46d3cb&&(_0x46d3cb=await this['_source']['getLatestVersion']());const _0x232a2d=this['_getFromVersion'](_0x46d3cb),_0x458f5c=this['buildRevisionData']({'from':_0x232a2d,'to':_0x46d3cb});if(this['currentRevision']['toVersion']<_0x46d3cb){const _0x5f2758=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x46d3cb,'to':_0x46d3cb});_0x5f2758['authors']=[],_0x5f2758['authorsIds']=[],_0x5f2758['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5f2758,!0x0),delete _0x5f2758['authors'],_0x5a02ae['push'](_0x5f2758);}_0x566e89['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x566e89['name']=_0x566e89['name']||null,_0x566e89['id']=_0x566e89['id']||_0x53c5f2(),_0x566e89={..._0x566e89,..._0x458f5c};const _0x4909c6=this['addRevisionData'](_0x566e89);_0x5a02ae['push'](_0x566e89);const _0x41f968=this['repository']['getIndex'](_0x4909c6);if(0x0!==_0x41f968){const _0x1268d8=this['repository']['getRevision'](_0x41f968-0x1);if(_0x1268d8['fromVersion']!==_0x46d3cb){const _0x1d9702=this['_revisionDataBuilder']['getData'](_0x46d3cb,_0x1268d8['toVersion']),_0x5cf48f={'id':_0x1268d8['id'],'diffData':_0x1d9702['diffData'],'authorsIds':_0x1d9702['authorsIds'],'authors':_0x1d9702['authorsIds']['map'](_0x150d84=>this['editor']['plugins']['get']('Users')['getUser'](_0x150d84)),'fromVersion':_0x46d3cb};_0x1268d8===this['currentRevision']&&(_0x5cf48f['createdAt']=new Date(_0x566e89['createdAt']['getTime']()+0xa)),_0x1268d8['_update'](_0x5cf48f,!0x0),delete _0x5cf48f['authors'],_0x5a02ae['push'](_0x5cf48f);}}if(this['adapter']){for(const _0x44d576 of _0x5a02ae)this['_bufferUpdate'](_0x44d576['id'],_0x44d576,!0x0);this['sendBufferedUpdates']();}return _0x4909c6;}['addRevisionData'](_0x1a9594){const _0x3bd86a=this['repository']['createRevision'](_0x1a9594);return this['adapter']&&_0x3bd86a['on']('_update',(_0x53781e,_0x19f71c,_0x57155)=>{_0x57155||(this['_bufferUpdate'](_0x19f71c['id'],_0x19f71c,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3bd86a,this['_findInsertionIndex'](_0x3bd86a)),_0x3bd86a;}async['getRevisionDocumentData'](_0x470ef7){await this['_loadRevisionData'](_0x470ef7);const _0x206cb8={};for(const _0x18cdab in _0x470ef7['diffData']){if(_0x470ef7['diffData'][_0x18cdab]['attachChange']&&!_0x470ef7['diffData'][_0x18cdab]['attachChange']['isAttached'])continue;const _0x608747=this['_removeRevisionMarkers'](JSON['parse'](_0x470ef7['diffData'][_0x18cdab]['insertions'])),_0x447cbf=this['editor']['editing']['view']['document'],_0x2c5da2=new _0x2eb8a6(_0x447cbf,_0x608747['map'](_0x2ba789=>B(_0x2ba789,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x206cb8[_0x18cdab]=this['editor']['data']['processor']['toData'](_0x2c5da2),this['editor']['data']['processor']['useFillerType']('default');}return _0x206cb8;}async['getRevisionRootsAttributes'](_0x26a4eb){await this['_loadRevisionData'](_0x26a4eb);const _0x4d7ccb={};for(const _0x19a16b in _0x26a4eb['diffData'])_0x26a4eb['diffData'][_0x19a16b]['attachChange']&&!_0x26a4eb['diffData'][_0x19a16b]['attachChange']['isAttached']||(_0x4d7ccb[_0x19a16b]=_0x26a4eb['diffData'][_0x19a16b]['attributesAfter']||{});return _0x4d7ccb;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3ab6e6=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2aeb76=0x0;_0x2aeb76<_0x3ab6e6['length'];_0x2aeb76++){const _0x6f611f=_0x3ab6e6[_0x2aeb76];let _0x1e28cf=!0x1;for(const _0x774d70 of Object['keys'](_0x6f611f))void 0x0===_0x6f611f[_0x774d70]?delete _0x6f611f[_0x774d70]:'id'!==_0x774d70&&(_0x1e28cf=!0x0);_0x1e28cf||(_0x3ab6e6[_0x2aeb76]=null);}if(_0x3ab6e6=_0x3ab6e6['filter'](_0xdff340=>null!==_0xdff340),!_0x3ab6e6['length'])return;for(let _0x340093=0x0;_0x340093<_0x3ab6e6['length'];_0x340093++){const _0x48fba9=_0x3ab6e6[_0x340093];void 0x0!==_0x48fba9['fromVersion']&&void 0x0===_0x48fba9['toVersion']&&(_0x48fba9['toVersion']=this['repository']['getRevision'](_0x48fba9['id'])['toVersion']),void 0x0!==_0x48fba9['toVersion']&&void 0x0===_0x48fba9['fromVersion']&&(_0x48fba9['fromVersion']=this['repository']['getRevision'](_0x48fba9['id'])['fromVersion']);}const _0x217b2a=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3ab6e6,_0x217b2a)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4097d0=>{if(_0x4097d0){for(const _0x295e91 of _0x4097d0)this['setRevisionData']({'id':_0x295e91['id'],'createdAt':_0x295e91['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4bb25d,_0x451755){let _0x576a0a=this['editor']['config']['get']('initialData'),_0x365d74=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x576a0a){_0x576a0a={};for(const _0x16a6e6 of this['editor']['model']['document']['getRootNames']())_0x576a0a[_0x16a6e6]='';}if('string'==typeof _0x576a0a&&(_0x576a0a={'main':_0x576a0a}),void 0x0===_0x365d74){_0x365d74={};for(const _0x8e15c6 of this['editor']['model']['document']['getRootNames']())_0x365d74[_0x8e15c6]={};}let _0x507ee2=!0x1;const _0x200784=Object['keys'](_0x576a0a),_0x4504e6=Object['keys'](_0x4bb25d);for(const _0x32e3cd of _0x200784){if(_0x576a0a[_0x32e3cd]!==_0x4bb25d[_0x32e3cd]&&''!==_0x576a0a[_0x32e3cd]['trim']()){_0x507ee2=!0x0;break;}if(!_0x436daf(_0x365d74[_0x32e3cd],_0x451755[_0x32e3cd])&&Object['keys'](_0x365d74[_0x32e3cd])['length']>0x0){_0x507ee2=!0x0;break;}}_0x507ee2||(_0x507ee2=_0x4504e6['some'](_0x8b798d=>!this['editor']['model']['document']['getRoot'](_0x8b798d))),_0x507ee2&&_0x235a91('editor-initial-data-replaced-with-revision-data',{'editorData':_0x576a0a,'editorRootsAttributes':_0x365d74,'revisionData':_0x4bb25d,'revisionRootsAttributes':_0x451755}),this['editor']['config']['set']('initialData',_0x4bb25d),this['editor']['config']['set']('rootsAttributes',_0x451755);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x105a8d=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x105a8d['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x348a0f){const _0x402829=this['repository']['getRevisions']();_0x402829['reverse']();let _0x5ee42c=0x0;for(;_0x5ee42c<_0x402829['length'];){const _0x206b91=_0x402829[_0x5ee42c];if(_0x206b91===this['currentRevision']){_0x5ee42c++;continue;}if(_0x206b91['id']===this['_initialRevisionId'])break;const _0x42f0eb=_0x348a0f['toVersion']-_0x206b91['toVersion']||_0x348a0f['fromVersion']-_0x206b91['fromVersion'];if(_0x42f0eb>0x0)break;if(_0x42f0eb<0x0)_0x5ee42c++;else{if(!_0x348a0f['creator']&&_0x206b91['creator'])break;if(_0x206b91['creator']||!_0x348a0f['creator']){if(_0x348a0f['createdAt']>_0x206b91['createdAt'])break;_0x5ee42c++;}else _0x5ee42c++;}}return _0x5ee42c;}['setRevisionData'](_0x19df2c){const _0x28f6c2=this['repository']['getRevision'](_0x19df2c['id']);if(_0x19df2c['createdAt']&&(_0x19df2c['createdAt']=new Date(_0x19df2c['createdAt'])),_0x19df2c['authorsIds']){const _0x5191e5=this['editor']['plugins']['get']('Users');_0x19df2c['authors']=_0x19df2c['authorsIds']['map'](_0x579991=>_0x5191e5['getUser'](_0x579991));}_0x28f6c2['_update'](_0x19df2c,!0x0);}['buildRevisionData']({revision:_0x570db1=null,from:_0x426323=null,to:_0x5a9d28=null}){_0x426323=null!==_0x426323?_0x426323:_0x570db1['fromVersion'],_0x5a9d28=null!==_0x5a9d28?_0x5a9d28:_0x570db1['toVersion'];const _0x5983bd=this['_revisionDataBuilder']['getData'](_0x426323,_0x5a9d28),_0x33cdcb={'diffData':_0x5983bd['diffData'],'authorsIds':_0x5983bd['authorsIds'],'fromVersion':_0x426323,'toVersion':_0x5a9d28};if(!_0x570db1||_0x5a9d28!==_0x570db1['toVersion']){const _0x5d46a5=_0x5a9d28-0x1,_0x50f179=this['_source']['history']['getOperation'](_0x5d46a5);_0x33cdcb['createdAt']=_0x50f179&&_0x50f179['createdAt']||new Date();}if(this['_loadedStateData']&&_0x426323===this['_loadedStateData']['fromVersion']){for(const _0x145689 of this['_loadedStateData']['authors'])_0x33cdcb['authorsIds']['includes'](_0x145689['id'])||_0x33cdcb['authorsIds']['push'](_0x145689['id']);}return _0x33cdcb;}['_loadRevisionData'](_0x2a75ae){if(!_0x2a75ae||_0x2a75ae['diffData'])return Promise['resolve']();{const _0x4fc881=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4fc881,'revisionId':_0x2a75ae['id']})['then'](_0x2ff0c2=>{_0x2a75ae['diffData']=_0x2ff0c2['diffData'];});}}['_bufferUpdate'](_0x190d38,_0x182205,_0x202c2e){if(this['_bufferedUpdates']['has'](_0x190d38)){const _0x52d0a5=this['_bufferedUpdates']['get'](_0x190d38);_0x182205=_0x202c2e?{..._0x52d0a5,..._0x182205}:{..._0x182205,..._0x52d0a5};}this['_bufferedUpdates']['set'](_0x190d38,_0x182205);}['_getFromVersion'](_0x272ceb){const _0xbfce33=this['repository']['getRevisions']();_0xbfce33['reverse'](),_0xbfce33['shift']();const _0x3bc778=_0xbfce33['find'](_0x5a0865=>_0x5a0865['toVersion']<=_0x272ceb)['toVersion'];return _0x3bc778<this['_startingVersion']?this['_startingVersion']:_0x3bc778;}['_createInitialRevision'](_0x46393c){const _0x25ae99=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x25ae99)this['_initialRevisionId']=_0x25ae99['id'];else{const _0xf63461=!this['editor']['model']['document']['roots']['find'](_0x3a2444=>this['editor']['model']['hasContent'](_0x3a2444)),_0x305acb=this['editor']['plugins']['get']('Users')['me']['id'],_0x2682e5=y(this['editor']['locale'],_0xf63461?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x46393c,'to':_0x46393c,'id':this['_initialRevisionId'],'name':_0x2682e5,'creatorId':_0x305acb});}}['_createCurrentRevision'](_0x2105f6){const _0x3064ee=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3064ee),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2105f6,'to':_0x2105f6,'id':_0x3064ee,'name':'','creatorId':null}));}['_makeRevision']({name:_0x45e61b,from:_0x1bf97c,to:_0x260650,creatorId:_0x2723d0,id:_0x3b173f}){const _0xacf3b9=this['buildRevisionData']({'from':_0x1bf97c,'to':_0x260650});_0xacf3b9['name']=_0x45e61b,_0xacf3b9['creatorId']=_0x2723d0,_0xacf3b9['id']=_0x3b173f;const _0x229f11=this['addRevisionData'](_0xacf3b9);return this['adapter']&&this['_bufferUpdate'](_0xacf3b9['id'],_0xacf3b9,!0x0),_0x229f11;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x5cbf1b){return(_0x5cbf1b=_0x5cbf1b['filter'](_0x3b420e=>!_0x3b420e['name']||'revision-start'!==_0x3b420e['name']&&'revision-end'!==_0x3b420e['name']))['forEach'](_0x3f5a27=>{'string'!=typeof _0x3f5a27&&(_0x3f5a27['children']=this['_removeRevisionMarkers'](_0x3f5a27['children']),_0x3f5a27['attributes']=_0x3f5a27['attributes']['filter'](_0x1f3c45=>!_0x1f3c45[0x0]['startsWith']('data-revision-')));}),_0x5cbf1b;}}function B(_0x578fd7,_0x33a9a9){const _0x1fab19=_0x33a9a9['editing']['view']['document'];if('string'==typeof _0x578fd7)return new _0x34914d(_0x1fab19,_0x578fd7);{const _0x4a9e41=_0x578fd7['children']['map'](_0x280aa4=>B(_0x280aa4,_0x33a9a9));return new(T[_0x578fd7['type']]||_0x533cf7)(_0x1fab19,_0x578fd7['name'],_0x578fd7['attributes'],_0x4a9e41);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x5e1b7c){this['editor']=_0x5e1b7c,this['_savedMetaData']=new Map(),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_markers']=new Map(),this['_diffRoots']=new Map(),this['_diffRootsAttributes']=new Map(),this['_baseRoots']=new Map(),this['_baseRootsAttributes']=new Map(),this['_idsRoots']=new Map(),this['_baseIdsRoots']=new Map(),this['_touched']=new Map(),this['_touchedMarkers']=new Map(),this['_touchedRoots']=new Map(),this['_revisionId']=0x1;}['init'](_0x118574){this['source']=_0x118574;const _0x19530e=new Map(),_0x37532e=new Map(),_0x3a81b8=this['editor']['model']['document']['roots']['map'](_0x23b510=>_0x23b510['rootName']);for(const _0x4d7672 of _0x3a81b8){const _0x7af80f=this['editor']['model']['document']['getRoot'](_0x4d7672),_0x55ed66=q(_0x7af80f);_0x19530e['set'](_0x4d7672,_0x55ed66),_0x37532e['set'](_0x4d7672,Object['fromEntries'](_0x7af80f['getAttributes']()));}const _0x14b560=Array['from'](this['editor']['model']['markers'])['map'](_0x4c50ce=>[_0x4c50ce['name'],_0x4c50ce['getRange']()]),_0x5dde51=this['source']['version'];this['_saveMetaData'](_0x5dde51,_0x19530e,_0x14b560,_0x37532e),this['_startingRevisionId']=this['_revisionId'];const _0x5f3854=new Map(),_0x5bd135=new Map();for(const _0xf2f3e0 of _0x3a81b8){const _0x3712a1=G(_0xf2f3e0);_0x5f3854['set'](_0xf2f3e0,_0x3712a1),_0x5bd135['set'](_0xf2f3e0,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x5f3854,[],_0x5bd135);}['getData'](_0x1e4430,_0x105bfe){if(this['_lastFrom']===_0x1e4430&&this['_lastTo']<=_0x105bfe)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x105bfe,!0x0);else{if(!this['_savedMetaData']['has'](_0x1e4430)){const _0x152631=this['_getPreviousFrom'](_0x1e4430);this['_calculateMetaData'](_0x152631,_0x1e4430,!0x1);}this['_calculateMetaData'](_0x1e4430,_0x105bfe,!0x0);}return this['_lastFrom']=_0x1e4430,this['_lastTo']=_0x105bfe,this['_getState']();}['loadState'](_0x2ed184){this['_reset'](),this['_lastFrom']=_0x2ed184['fromVersion'],this['_lastTo']=_0x2ed184['toVersion'];for(const _0x269403 in _0x2ed184['diffData']){const _0x4efc9b=_0x2ed184['diffData'][_0x269403]['attachChange'],_0x58645b=_0x485582(_0x2ed184['diffData'][_0x269403]['attributesBefore'])||{},_0x591e21=this['_makeModelFromViewString'](_0x2ed184['diffData'][_0x269403]['deletions']);_0x591e21['rootName']=_0x269403,_0x591e21['_isAttached']=!_0x4efc9b||!_0x4efc9b['isAttached'],_0x591e21['isAttached']=()=>_0x591e21['_isAttached'],this['_baseRoots']['set'](_0x269403,_0x591e21),this['_baseRootsAttributes']['set'](_0x269403,_0x58645b),_0x4efc9b&&this['_touchedRoots']['set'](_0x269403,_0x4efc9b);const _0x4a49ed=this['_makeIdsRoot'](_0x591e21);this['_baseIdsRoots']['set'](_0x269403,_0x4a49ed);for(const [_0x40eca3,_0x30843d]of _0x591e21['markers']){if(!_0x40eca3['startsWith']('revision:'))continue;const _0x327ecd=_0x40eca3['split'](':')[0x2];for(const _0x2ff471 of _0x30843d['getWalker']({'singleCharacters':!0x0})){const _0x3cf747=this['_getVidAttributeName'](_0x2ff471),_0x531b65='elementEnd'==_0x2ff471['type']?_0x2ff471['previousPosition']['path']['slice'](0x0,-0x1):_0x2ff471['previousPosition']['path'],_0x3be069=_0x4a49ed['getNodeByPath'](_0x531b65)['getAttribute'](_0x3cf747);this['_touched']['set'](_0x3be069,{'userId':_0x327ecd});}}}this['_startingRevisionId']=this['_revisionId'];const _0x91966e=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3bf3ed=>!this['_touched']['has'](_0x3bf3ed));let _0xe6a6fe=0x0;const _0x3cd484=new Map();for(const _0xeaa652 in _0x2ed184['diffData']){const _0x379c72=_0x2ed184['diffData'][_0xeaa652]['attachChange'],_0x581c90=_0x485582(_0x2ed184['diffData'][_0xeaa652]['attributesAfter'])||{},_0x354459=this['_makeModelFromViewString'](_0x2ed184['diffData'][_0xeaa652]['insertions']);_0x354459['rootName']=_0xeaa652,_0x354459['_isAttached']=!_0x379c72||_0x379c72['isAttached'],_0x354459['isAttached']=()=>_0x354459['_isAttached'],this['_diffRoots']['set'](_0xeaa652,_0x354459),this['_diffRootsAttributes']['set'](_0xeaa652,_0x581c90);const _0x13efbb=this['_makeIdsRoot'](_0x354459,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xeaa652,_0x13efbb),_0x3cd484['set'](_0xeaa652,_0x354459['isAttached']()?_0x581c90:{});for(const [_0x2bce05,_0xcad735]of _0x354459['markers']){if(!_0x2bce05['startsWith']('revision:'))continue;const _0xbd3595=_0x2bce05['split'](':')[0x2];for(const _0x54f75e of _0xcad735['getWalker']({'singleCharacters':!0x0})){const _0x5c7487=this['_getVidAttributeName'](_0x54f75e),_0x546f88=this['_revisionId']++,_0x277813='elementEnd'==_0x54f75e['type']?_0x54f75e['previousPosition']['path']['slice'](0x0,-0x1):_0x54f75e['previousPosition']['path'];_0x13efbb['getNodeByPath'](_0x277813)['_setAttribute'](_0x5c7487,_0x546f88),this['_touched']['set'](_0x546f88,{'userId':_0xbd3595});}}for(const _0x3f1e5a of this['editor']['model']['createRangeIn'](_0x354459)['getWalker']({'singleCharacters':!0x0})){const _0x519fde=this['_getVidAttributeName'](_0x3f1e5a),_0x250de2='elementEnd'==_0x3f1e5a['type']?_0x3f1e5a['previousPosition']['path']['slice'](0x0,-0x1):_0x3f1e5a['previousPosition']['path'],_0x242ea0=_0x13efbb['getNodeByPath'](_0x250de2);_0x242ea0['getAttribute'](_0x519fde)>0x0||_0x242ea0['_setAttribute'](_0x519fde,_0x91966e[_0xe6a6fe++]);}for(const [_0x447ff2,_0x139d70]of _0x354459['markers'])_0x447ff2['startsWith']('revision:')||this['_markers']['set'](_0x447ff2,_0x139d70);}const _0x4d4565=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4d4565),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4d4565,0x1));const _0x50abd7=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x50abd7),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x50abd7,0x1));const _0x2b7b1d=Array['from'](this['_diffRoots'])['map'](([_0x5d1000,_0x91bb1e])=>[_0x5d1000,q(_0x91bb1e)]);this['_saveMetaData'](this['_lastTo'],_0x2b7b1d,this['_markers'],_0x3cd484);}['_makeModelFromViewString'](_0x100446){const _0x3713d7=JSON['parse'](_0x100446),_0x161d55=this['editor']['editing']['view']['document'],_0x13133f=new _0x2eb8a6(_0x161d55,_0x3713d7['map'](_0x58bdc2=>B(_0x58bdc2,this['editor'])));return this['editor']['data']['toModel'](_0x13133f);}['_saveMetaData'](_0x15d0fd,_0x25d352,_0x353412,_0x21bdda){const _0x2e8966=new Map(_0x25d352),_0x8c24ab=new Map(_0x485582(_0x21bdda)),_0x16da14=new Map();for(const [_0x32878a,_0x45743a]of _0x353412)_0x16da14['set'](_0x32878a,{'start':_0x45743a['start']['clone'](),'end':_0x45743a['end']['clone'](),'rootName':_0x45743a['root']['rootName']});this['_savedMetaData']['set'](_0x15d0fd,{'roots':_0x2e8966,'markers':_0x16da14,'rootsAttributes':_0x8c24ab});}['_removeMetaData'](_0x10d77b){this['_savedMetaData']['delete'](_0x10d77b);}['reInit'](){this['_reset'](),this['_lastFrom']=-0x1,this['_lastTo']=-0x1,this['_savedMetaData']['clear'](),this['init'](this['source']);}['_reset'](){this['_touched']['clear'](),this['_touchedMarkers']['clear'](),this['_touchedRoots']['clear'](),this['_diffRoots']['clear'](),this['_diffRootsAttributes']['clear'](),this['_baseRoots']['clear'](),this['_baseRootsAttributes']['clear'](),this['_idsRoots']['clear'](),this['_baseIdsRoots']['clear'](),this['_markers']['clear'](),this['_revisionId']=0x1,this['_startingRevisionId']=this['_revisionId'];}['_makeIdsRoot'](_0x5bd8bb,_0x180701=null){let _0x443e0c=null;_0x5bd8bb['is']('documentFragment')||(_0x443e0c=new ft(_0x5bd8bb['name'],{'vid_start':null===_0x180701?this['_revisionId']++:_0x180701++}));const _0x8a229e=[];for(const _0x3b3b92 of _0x5bd8bb['getChildren']())if(_0x3b3b92['is']('element')){_0x8a229e['push'](this['_makeIdsRoot'](_0x3b3b92,_0x180701));const _0x400ec4=_0x8a229e[_0x8a229e['length']-0x1];null!==_0x180701&&(_0x180701=_0x400ec4['is']('element','$text')?_0x400ec4['getAttribute']('vid')+0x1:_0x400ec4['getAttribute']('vid_end')+0x1);}else{for(let _0x2b85cf=0x0;_0x2b85cf<_0x3b3b92['offsetSize'];_0x2b85cf++)_0x8a229e['push'](new ft('$text',{'vid':null===_0x180701?this['_revisionId']++:_0x180701++}));}if(_0x5bd8bb['is']('documentFragment')){const _0x25d4b0=G(_0x5bd8bb['rootName']);return _0x25d4b0['_insertChild'](0x0,_0x8a229e),_0x25d4b0;}return _0x443e0c['_setAttribute']('vid_end',null===_0x180701?this['_revisionId']++:_0x180701++),_0x443e0c['_insertChild'](0x0,_0x8a229e),_0x443e0c;}['_calculateMetaData'](_0x3cab09,_0x241c30,_0x193e86){this['_reset']();const {roots:_0x1a0fe2,markers:_0x553bc0,rootsAttributes:_0x51c2d4}=this['_savedMetaData']['get'](_0x3cab09);this['_baseRoots']=new Map(_0x1a0fe2),this['_baseRootsAttributes']=new Map(_0x485582(_0x51c2d4));for(const [_0x295f38,_0x1e9360]of this['_baseRoots'])if('$graveyard'!==_0x295f38&&(this['_diffRoots']['set'](_0x295f38,q(_0x1e9360)),this['_diffRootsAttributes']=new Map(_0x485582(_0x51c2d4)),_0x193e86)){const _0x12e7f0=this['_revisionId'];this['_idsRoots']['set'](_0x295f38,this['_makeIdsRoot'](_0x1e9360)),this['_baseIdsRoots']['set'](_0x295f38,this['_makeIdsRoot'](_0x1e9360,_0x12e7f0));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x193e86&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x567db6,_0x53bb85]of _0x553bc0){const _0x15ba51=this['_baseRoots']['get'](_0x53bb85['rootName']),_0xab0f7=this['_diffRoots']['get'](_0x53bb85['rootName']),_0x3d677d=new vt(this['_fixPosition'](_0x53bb85['start'],_0x15ba51),this['_fixPosition'](_0x53bb85['end'],_0x15ba51)),_0x2e6eab=this['_fixRange'](_0x3d677d,_0xab0f7);_0x15ba51['markers']['set'](_0x567db6,_0x3d677d),this['_markers']['set'](_0x567db6,_0x2e6eab);}this['_applyOperations'](_0x3cab09,_0x241c30,_0x193e86);}['_applyOperations'](_0x2aa4ee,_0x231ead,_0x2b6368){for(const _0x555c2c of this['source']['getOperations'](_0x2aa4ee,_0x231ead))this['_handleOperation'](_0x555c2c,_0x2b6368);for(const _0x46492e of this['_diffRoots']['values']())_0x46492e['markers']['clear']();for(const [_0xa7afb2,_0x43ac80]of this['_markers']){this['_diffRoots']['get'](_0x43ac80['root']['rootName'])['markers']['set'](_0xa7afb2,_0x43ac80['clone']());}const _0x5db6a0=new Map(),_0xa25d09=new Map();for(const [_0x13d712,_0x31b9db]of this['_diffRoots'])_0x5db6a0['set'](_0x13d712,q(_0x31b9db)),_0xa25d09['set'](_0x13d712,this['_diffRootsAttributes']['get'](_0x13d712));this['_saveMetaData'](_0x231ead,_0x5db6a0,this['_markers'],_0xa25d09);}['_getPreviousFrom'](_0x1d0c4f){const _0x2afdad=Array['from'](this['_savedMetaData']['keys']());_0x2afdad['sort']((_0x1165bc,_0x3f93df)=>_0x1165bc-_0x3f93df),_0x2afdad['reverse']();for(const _0x4f1ba0 of _0x2afdad)if(_0x4f1ba0<_0x1d0c4f)return _0x4f1ba0;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5d25f0,_0x1f74b6){const _0x1f2045=Array['from'](_0x1f74b6['markers'])['map'](([_0x4b5510,_0xb96344])=>[_0x4b5510,this['_fixRange'](_0xb96344,_0x5d25f0)]);_0x5d25f0['markers']=new Map(_0x1f2045);}['_transformMarkers'](_0x25ab4d){for(const _0x567905 of this['_markers']['values']()){const _0x43d9f6=_0x567905['getTransformedByOperation'](_0x25ab4d),_0x11b7d8=vt['_createFromRanges'](_0x43d9f6);_0x567905['start']=_0x11b7d8['start'],_0x567905['end']=_0x11b7d8['end'];}}['_handleOperation'](_0x17de02,_0x5aa080){if('addRoot'==_0x17de02['type']||'detachRoot'==_0x17de02['type'])return void this['_handleRootOperation'](_0x17de02,_0x5aa080);if('insert'==_0x17de02['type']){const _0x2b038f=_0x17de02['position']['root']['rootName'];this['_diffRoots']['has'](_0x2b038f)||(this['_diffRoots']['set'](_0x2b038f,G(_0x2b038f,!0x0)),this['_diffRootsAttributes']['set'](_0x2b038f,{}),_0x5aa080&&this['_idsRoots']['set'](_0x2b038f,G(_0x2b038f,!0x0)));}else{if('addRootAttribute'==_0x17de02['type']||'removeRootAttribute'==_0x17de02['type']||'changeRootAttribute'==_0x17de02['type'])return void this['_handleRootAttributeOperation'](_0x17de02);}const _0x4ffc8d=this['_cloneOperation'](_0x17de02,this['_diffRoots']);if('marker'!==_0x17de02['type']&&(_0x4ffc8d['_execute'](),this['_transformMarkers'](_0x4ffc8d)),_0x5aa080)switch(_0x4ffc8d['type']){case'insert':this['_handleInsertOperation'](_0x17de02);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x17de02);break;case'merge':this['_handleMergeOperation'](_0x17de02);break;case'split':this['_handleSplitOperation'](_0x17de02);break;case'marker':this['_handleMarkerOperation'](_0x17de02);}}['_cloneOperation'](_0x26cea1,_0x34bc25){const _0x568712=_0x26cea1['clone']();return _0x568712['_authorId']=_0x26cea1['_authorId'],this['_fixOperation'](_0x568712,_0x34bc25),_0x568712;}['_getBaseVids'](_0x7782){return _0x7782['map'](_0x7db937=>{const _0x4e2eb7=this['_getVidAttributeName'](_0x7db937);return Number(_0x7db937['item']['getAttribute'](_0x4e2eb7));});}['_generateTape'](_0x42ea69,_0x4cf335){if(_0x42ea69['is']('element','$text'))_0x4cf335['push']({'item':_0x42ea69,'type':'text'});else{_0x42ea69['is']('element')&&_0x4cf335['push']({'item':_0x42ea69,'type':'elementStart'});for(const _0x36726f of _0x42ea69['getChildren']())this['_generateTape'](_0x36726f,_0x4cf335);_0x42ea69['is']('element')&&_0x4cf335['push']({'item':_0x42ea69,'type':'elementEnd'});}return _0x4cf335;}['_getState'](){const _0x2bb2f4=new Map(this['_touched']),_0x3634ae=new Map(_0x2bb2f4),_0x2b46d5=new Map(),_0x9a47bf={'insertions':{},'deletions':{}},_0x23e2aa={'insertions':{},'deletions':{}},_0x3e3bc0=new Map(),_0x15c0c7=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x15c0c7['delete']('$graveyard');for(const _0x1d7b22 of _0x15c0c7){const _0x25eea1=this['_diffRoots']['get'](_0x1d7b22)||G(_0x1d7b22,!0x1),_0x5b413c=this['_baseRoots']['get'](_0x1d7b22)||G(_0x1d7b22,!0x1);_0x25eea1['isAttached']()||_0x5b413c['isAttached']()?(_0x9a47bf['insertions'][_0x1d7b22]=q(_0x25eea1),_0x9a47bf['deletions'][_0x1d7b22]=q(_0x5b413c),this['_copyMarkers'](_0x9a47bf['deletions'][_0x1d7b22],_0x5b413c),this['_copyMarkers'](_0x9a47bf['insertions'][_0x1d7b22],_0x25eea1),_0x23e2aa['insertions'][_0x1d7b22]=this['_generateTape'](this['_idsRoots']['get'](_0x1d7b22),[]),_0x23e2aa['deletions'][_0x1d7b22]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x1d7b22)||G(_0x1d7b22,!0x1),[])):_0x15c0c7['delete'](_0x1d7b22);}for(const _0x3b39e9 of _0x15c0c7){const _0xde698=_0x23e2aa['insertions'][_0x3b39e9];for(const _0x18e5a5 of _0xde698){const _0x3e7657=this['_getVidAttributeName'](_0x18e5a5),_0x504621=_0x18e5a5['item']['getAttribute'](_0x3e7657);_0x3634ae['delete'](_0x504621),_0x504621>=this['_startingRevisionId']&&_0x2b46d5['set'](_0x504621,_0x2bb2f4['get'](_0x504621));}}for(const _0x257df6 of _0x15c0c7){const _0x3822b7=_0x23e2aa['insertions'][_0x257df6],_0x21ff29=this['_getBaseVids'](_0x23e2aa['deletions'][_0x257df6]);let _0x35b247=0x0;for(const _0x4f912c of _0x3822b7){const _0x222226=this['_getVidAttributeName'](_0x4f912c),_0x444970=_0x4f912c['item']['getAttribute'](_0x222226);if(!_0x2b46d5['has'](_0x444970)&&!_0x3e3bc0['has'](_0x444970)){if(_0x3634ae['has'](_0x444970))_0x35b247++;else{if(_0x444970!=_0x21ff29[_0x35b247]){const _0x1688ba=_0x2bb2f4['get'](_0x444970)||_0x2bb2f4['get'](_0x21ff29[_0x35b247]);for(;_0x444970!=_0x21ff29[_0x35b247];)_0x3634ae['has'](_0x21ff29[_0x35b247])||(_0x3e3bc0['set'](_0x21ff29[_0x35b247],_0x1688ba),_0x2bb2f4['set'](_0x21ff29[_0x35b247],_0x1688ba)),_0x35b247++;}_0x35b247++;}}}}for(const _0x39a5d8 of _0x15c0c7){const _0x3faad4=_0x23e2aa['insertions'][_0x39a5d8];for(const _0x5438da of _0x3faad4){const _0x599e72=this['_getVidAttributeName'](_0x5438da),_0x38d55d=_0x5438da['item']['getAttribute'](_0x599e72);if(_0x3e3bc0['has'](_0x38d55d)){const _0x39a297=_0x3e3bc0['get'](_0x38d55d);_0x3634ae['has'](_0x38d55d)||_0x3634ae['set'](_0x38d55d,{..._0x39a297}),_0x2b46d5['set'](_0x38d55d,{..._0x39a297});}}}for(const _0x4e6f80 of _0x3634ae['keys']())_0x4e6f80>=this['_startingRevisionId']&&_0x3634ae['delete'](_0x4e6f80);const _0x3dd7f1=new Map();for(const _0x37340b of _0x15c0c7){let _0x1cb138=_0x23e2aa['insertions'][_0x37340b];for(const _0x21f4b3 of _0x1cb138)if(_0x21f4b3['item']['is']('element','tableCell')){const _0x146d36=this['_getVidAttributeName'](_0x21f4b3),_0x1ae52e=_0x21f4b3['item']['getAttribute'](_0x146d36);if(_0x2b46d5['has'](_0x1ae52e)){const _0x476552=_0x21f4b3['item']['parent']['parent']['getAttribute']('vid_start'),_0x45c75e=_0x3dd7f1['get'](_0x476552)||new Set();_0x45c75e['add'](_0x2b46d5['get'](_0x1ae52e)['userId']),_0x3dd7f1['set'](_0x476552,_0x45c75e);}}_0x1cb138=_0x23e2aa['deletions'][_0x37340b];for(const _0x599a71 of _0x1cb138)if(_0x599a71['item']['is']('element','tableCell')){const _0x461dd7=this['_getVidAttributeName'](_0x599a71),_0xde5c82=_0x599a71['item']['getAttribute'](_0x461dd7);if(_0x3634ae['has'](_0xde5c82)){const _0x2fb7e0=_0x599a71['item']['parent']['parent']['getAttribute']('vid_start'),_0x3d8dee=_0x3dd7f1['get'](_0x2fb7e0)||new Set();_0x3d8dee['add'](_0x3634ae['get'](_0xde5c82)['userId']),_0x3dd7f1['set'](_0x2fb7e0,_0x3d8dee);}}for(const _0x21278d of _0x3dd7f1['keys']())(_0x2b46d5['has'](_0x21278d)||_0x3634ae['has'](_0x21278d))&&_0x3dd7f1['delete'](_0x21278d);}for(const _0x16a5ee of _0x15c0c7){const _0x2f1ee2=_0x23e2aa['insertions'][_0x16a5ee];let _0x1aa44b=null,_0x1a5a3c=null;for(const _0x71e6f5 of _0x2f1ee2){const _0xde919=this['_getVidAttributeName'](_0x71e6f5),_0x1cf688=_0x71e6f5['item']['getAttribute'](_0xde919),_0x2e04cb=_0x3dd7f1['get'](_0x1cf688);_0x2e04cb&&'elementStart'==_0x71e6f5['type']&&(_0x1aa44b=Array['from'](_0x2e04cb)[0x0],_0x1a5a3c=_0x71e6f5['item']['getAttribute']('vid_end')),_0x1aa44b&&(_0x3634ae['set'](_0x1cf688,{'userId':_0x1aa44b}),_0x2b46d5['set'](_0x1cf688,{'userId':_0x1aa44b})),_0x1cf688==_0x1a5a3c&&(_0x1aa44b=null,_0x1a5a3c=null);}}const _0x44fdd8={},_0x3ba118=new Set();for(const _0x3e8128 of _0x15c0c7){const _0x2eff8a=_0x9a47bf['deletions'][_0x3e8128],_0x8a8676=_0x9a47bf['insertions'][_0x3e8128];for(const {userId:_0x866dc4}of this['_touchedMarkers']['values']())null!==_0x866dc4&&_0x3ba118['add'](_0x866dc4);for(const {userId:_0x29112c}of this['_touchedRoots']['values']())null!==_0x29112c&&_0x3ba118['add'](_0x29112c);this['_markChanges'](_0x8a8676,_0x23e2aa['insertions'][_0x3e8128],_0x2b46d5,'insertion',_0x3ba118),this['_markChanges'](_0x2eff8a,_0x23e2aa['deletions'][_0x3e8128],_0x3634ae,'deletion',_0x3ba118),_0x44fdd8[_0x3e8128]={'insertions':this['_prepareViewToSave'](_0x8a8676),'deletions':this['_prepareViewToSave'](_0x2eff8a),'attachChange':this['_touchedRoots']['get'](_0x3e8128)||null,'attributesBefore':_0x485582(this['_baseRootsAttributes']['get'](_0x3e8128))||{},'attributesAfter':_0x485582(this['_diffRootsAttributes']['get'](_0x3e8128))};}return{'diffData':_0x44fdd8,'authorsIds':Array['from'](_0x3ba118)};}['_processRootBeforeSave'](_0x3a1a44){for(const [,_0xb0db84]of _0x3a1a44['markers']){const _0x46585b=_0xb0db84['start']['getAncestors']()['filter'](_0x29d4fd=>'tableCell'==_0x29d4fd['name']);for(const _0x4b9875 of _0x46585b)0x1==_0x4b9875['childCount']&&_0x4b9875['getChild'](0x0)['is']('element','paragraph')&&_0x4b9875['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x28cbf1){this['_processRootBeforeSave'](_0x28cbf1);const _0x17b559=this['editor']['data']['toView'](_0x28cbf1,{}),_0x508516=Array['from'](_0x17b559['getChildren']())['map'](_0x57774a=>this['_getViewJson'](_0x57774a));return JSON['stringify'](_0x508516);}['_getViewJson'](_0x20be1a){if(_0x20be1a['is']('$text'))return _0x20be1a['data'];{const _0x4e4b73=_0x20be1a;return{'type':Object['keys'](T)['find'](_0x5b6881=>_0x20be1a instanceof T[_0x5b6881]),'name':_0x4e4b73['name'],'attributes':Array['from'](_0x4e4b73['getAttributes']()),'children':Array['from'](_0x4e4b73['getChildren']())['map'](_0x888e57=>this['_getViewJson'](_0x888e57))};}}['_markChanges'](_0x21f021,_0x714ae2,_0x2d3c5b,_0x410bd4,_0x40a6df){let _0x31035d=null,_0x57a1f6=null,_0x5319c0=0x0;const _0x23578c=this['editor']['model'];for(let _0x4fc91e=0x0;_0x4fc91e<_0x714ae2['length'];_0x4fc91e++){const _0xec8597=this['_getVidAttributeName'](_0x714ae2[_0x4fc91e]),_0x58cfc9=_0x714ae2[_0x4fc91e]['item']['getAttribute'](_0xec8597),_0x574806=_0x2d3c5b['get'](_0x58cfc9),_0x1ff93e=_0x4fc91e==_0x714ae2['length']-0x1;(!_0x31035d&&_0x574806&&(_0x31035d=_0x574806,_0x57a1f6=_0x714ae2[_0x4fc91e]),_0x31035d&&(!_0x574806||_0x574806['userId']!=_0x31035d['userId']))&&(_0x4a9aa1(_0x574806,L(_0x57a1f6,_0x21f021,_0x23578c),L(_0x714ae2[_0x4fc91e],_0x21f021,_0x23578c)),_0x31035d=_0x574806||null,_0x57a1f6=_0x574806?_0x714ae2[_0x4fc91e]:null),_0x31035d&&_0x1ff93e&&_0x4a9aa1(_0x574806,L(_0x57a1f6,_0x21f021,_0x23578c),W(_0x714ae2[_0x4fc91e],_0x21f021,_0x23578c));}function _0x4a9aa1(_0x2d7eb0,_0x387242,_0x41403e){const _0x239d4a=_0x31035d['userId'],_0x5d9f37='revision:'+_0x410bd4+':'+_0x239d4a+':'+_0x5319c0++,_0x553268=_0x23578c['createRange'](_0x387242,_0x41403e);_0x21f021['markers']['set'](_0x5d9f37,_0x553268),null!==_0x239d4a&&_0x40a6df['add'](_0x239d4a);}}['_getVidAttributeName'](_0x471788){switch(_0x471788['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x9fb52f,_0x3737cb){_0x9fb52f['baseVersion']=null;for(const _0x595fc7 in _0x9fb52f){const _0x32f6ca=_0x9fb52f[_0x595fc7];if(_0x32f6ca instanceof gt){const _0x151d1d=_0x3737cb['get'](_0x32f6ca['root']['rootName']);_0x9fb52f[_0x595fc7]=this['_fixPosition'](_0x32f6ca,_0x151d1d);}if(_0x32f6ca instanceof vt){const _0x5ef9b6=_0x3737cb['get'](_0x32f6ca['root']['rootName']);_0x9fb52f[_0x595fc7]=this['_fixRange'](_0x32f6ca,_0x5ef9b6);}'root'===_0x595fc7&&(_0x9fb52f['root']=_0x3737cb['get'](_0x9fb52f['root']['rootName']));}}['_fixRange'](_0x5597db,_0x1c7899){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5597db['start'],_0x1c7899),this['_fixPosition'](_0x5597db['end'],_0x1c7899));}['_fixPosition'](_0x5d3e55,_0x5b4871){return this['editor']['model']['createPositionFromPath'](_0x5b4871,_0x5d3e55['path'],_0x5d3e55['stickiness']);}['_handleInsertOperation'](_0x39537f){const _0x420a3d=this['_idsRoots']['get'](_0x39537f['position']['root']['rootName']),_0x5a66b4=this['_fixPosition'](_0x39537f['position'],_0x420a3d),_0x391586=null===_0x39537f['_authorId']?null:_0x39537f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x52e42a=_0x5a66b4['parent'],_0x2e64fe=this['_revisionId'],_0x598d48=[];for(const _0x3c2d22 of _0x39537f['nodes'])if(_0x3c2d22['is']('element'))_0x598d48['push'](this['_makeIdsRoot'](_0x3c2d22));else{for(let _0x571f00=0x0;_0x571f00<_0x3c2d22['offsetSize'];_0x571f00++)_0x598d48['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x319489=this['_revisionId'];for(let _0x584f60=_0x2e64fe;_0x584f60<_0x319489;_0x584f60++)this['_touched']['set'](_0x584f60,{'userId':_0x391586});_0x52e42a['_insertChild'](_0x5a66b4['offset'],_0x598d48);}['_handleMoveOperation'](_0x30c98b){(_0x30c98b=this['_cloneOperation'](_0x30c98b,this['_idsRoots']))['_execute']();const _0x42742=null===_0x30c98b['_authorId']?null:_0x30c98b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x29e1c8=_0x30c98b['getMovedRangeStart'](),_0x3a2d6e=_0x29e1c8['parent'],_0x4a9ed8=_0x29e1c8['offset'];!function _0x56ce84(_0x4185ac,_0x20b200,_0x2aa58f,_0x351c8a){for(let _0x1d6b42=_0x2aa58f;_0x1d6b42<_0x351c8a;_0x1d6b42++){const _0x27ffab=_0x20b200['getChild'](_0x1d6b42);_0x27ffab['is']('element','$text')?_0x4185ac['set'](_0x27ffab['getAttribute']('vid'),{'userId':_0x42742}):(_0x4185ac['set'](_0x27ffab['getAttribute']('vid_start'),{'userId':_0x42742}),_0x56ce84(_0x4185ac,_0x27ffab,0x0,_0x27ffab['childCount']),_0x4185ac['set'](_0x27ffab['getAttribute']('vid_end'),{'userId':_0x42742}));}}(this['_touched'],_0x3a2d6e,_0x4a9ed8,_0x4a9ed8+_0x30c98b['howMany']);}['_handleMergeOperation'](_0x13d0d9){const _0x39e17c=null===(_0x13d0d9=this['_cloneOperation'](_0x13d0d9,this['_idsRoots']))['_authorId']?null:_0x13d0d9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2b5102=_0x13d0d9['targetPosition']['parent'],_0x3ed2b1=_0x13d0d9['sourcePosition']['parent'],_0x340ebc=_0x2b5102['getAttribute']('vid_end'),_0x1639dd=_0x3ed2b1['getAttribute']('vid_start');_0x2b5102['_setAttribute']('vid_end',_0x3ed2b1['getAttribute']('vid_end')),_0x3ed2b1['_setAttribute']('vid_end',_0x340ebc),this['_touched']['set'](_0x1639dd,{'userId':_0x39e17c}),this['_touched']['set'](_0x340ebc,{'userId':_0x39e17c}),_0x13d0d9['_execute']();}['_handleSplitOperation'](_0x492353){const _0x7b78de=null===(_0x492353=this['_cloneOperation'](_0x492353,this['_idsRoots']))['_authorId']?null:_0x492353['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x20463f=_0x492353['graveyardPosition'],_0x404415=_0x492353['splitPosition']['parent'];_0x492353['_execute']();const _0x205bed=_0x404415['getAttribute']('vid_end'),_0x4103ca=_0x492353['insertionPosition']['nodeAfter'];if(_0x20463f){const _0x4cf6fb=_0x4103ca['getAttribute']('vid_end'),_0x1e2440=_0x404415['getAttribute']('vid_end');_0x404415['_setAttribute']('vid_end',_0x4cf6fb),_0x4103ca['_setAttribute']('vid_end',_0x1e2440),this['_touched']['set'](_0x404415['getAttribute']('vid_end'),{'userId':_0x7b78de}),this['_touched']['set'](_0x4103ca['getAttribute']('vid_start'),{'userId':_0x7b78de});}else{const _0x594d23=this['_revisionId']++,_0x4fa36c=this['_revisionId']++;_0x404415['_setAttribute']('vid_end',_0x594d23),_0x4103ca['_setAttribute']('vid_start',_0x4fa36c),_0x4103ca['_setAttribute']('vid_end',_0x205bed),this['_touched']['set'](_0x594d23,{'userId':_0x7b78de}),this['_touched']['set'](_0x4fa36c,{'userId':_0x7b78de});}}['_handleMarkerOperation'](_0x26f81b){if(!_0x26f81b['affectsData'])return;const _0x24434a=(_0x26f81b=this['_cloneOperation'](_0x26f81b,this['_diffRoots']))['oldRange']?_0x26f81b['oldRange']['root']:null,_0x275cd5=_0x26f81b['newRange']?_0x26f81b['newRange']['root']:null;_0x24434a&&this['_markers']['delete'](_0x26f81b['name']),_0x275cd5&&this['_markers']['set'](_0x26f81b['name'],_0x26f81b['newRange']['clone']());const _0x1daeae=null===_0x26f81b['_authorId']?null:_0x26f81b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x55df19=_0x26f81b['name'];if(!this['_touchedMarkers']['has'](_0x55df19))return void this['_touchedMarkers']['set'](_0x55df19,{'range':_0x26f81b['oldRange'],'userId':_0x1daeae});const _0x165ca0=this['_touchedMarkers']['get'](_0x55df19),_0x29d851=_0x165ca0['range'],_0x30da5e=_0x26f81b['newRange'];null==_0x29d851&&null==_0x30da5e||_0x29d851&&_0x30da5e&&_0x29d851['isEqual'](_0x30da5e)?this['_touchedMarkers']['delete'](_0x26f81b['name']):_0x165ca0['userId']=_0x1daeae;}['_handleRootOperation'](_0x3a2159,_0x589629){this['_diffRoots']['has'](_0x3a2159['rootName'])?this['_diffRoots']['get'](_0x3a2159['rootName'])['_isAttached']=_0x3a2159['isAdd']:(this['_diffRoots']['set'](_0x3a2159['rootName'],G(_0x3a2159['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x3a2159['rootName'],{}),_0x589629&&this['_idsRoots']['set'](_0x3a2159['rootName'],G(_0x3a2159['rootName'],!0x0)));const _0x348deb=null===_0x3a2159['_authorId']?null:_0x3a2159['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x255248=this['_touchedRoots']['get'](_0x3a2159['rootName']);_0x255248&&_0x255248['userId']===_0x348deb?this['_touchedRoots']['delete'](_0x3a2159['rootName']):this['_touchedRoots']['set'](_0x3a2159['rootName'],{'userId':_0x348deb,'isAttached':_0x3a2159['isAdd']});}['_handleRootAttributeOperation'](_0x3ed75a){const _0x4973cd=this['_diffRootsAttributes']['get'](_0x3ed75a['root']['rootName']);null===_0x3ed75a['newValue']?delete _0x4973cd[_0x3ed75a['key']]:_0x4973cd[_0x3ed75a['key']]=_0x3ed75a['newValue'];}}function q(_0x4219c3){const _0x1522c=G(_0x4219c3['rootName'],_0x4219c3['isAttached']());for(const _0x52da33 of _0x4219c3['getChildren']()){const _0x31d3e9=_0x52da33['_clone'](!0x0);_0x1522c['_appendChild'](_0x31d3e9);}return _0x1522c;}function G(_0x2550ec,_0x541b53=!0x0){const _0x33e8da=new wt();return _0x33e8da['rootName']=_0x2550ec,_0x33e8da['_isAttached']=_0x541b53,_0x33e8da['isAttached']=()=>_0x33e8da['_isAttached'],_0x33e8da;}function L(_0x425503,_0x471341,_0x38f111){const _0x43a726='elementEnd'==_0x425503['type']?_0x38f111['createPositionAt'](_0x425503['item'],'end'):_0x38f111['createPositionBefore'](_0x425503['item']);return _0x38f111['createPositionFromPath'](_0x471341,_0x43a726['path'],_0x43a726['stickiness']);}function W(_0x22b859,_0x1788b3,_0x235fe3){const _0x504881='elementStart'==_0x22b859['type']?_0x235fe3['createPositionAt'](_0x22b859['item'],0x0):_0x235fe3['createPositionAfter'](_0x22b859['item']);return _0x235fe3['createPositionFromPath'](_0x1788b3,_0x504881['path'],_0x504881['stickiness']);}class ns extends _0x5ab15a{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x192f50,_0x5833ab){super(_0x192f50),this['focusTracker']=new _0x2e00ab(),this['keystrokes']=new _0x249f2e(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x5833ab),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}['render'](){super['render'](),_0x4ca2cd({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3b635c=_0x3eebc2=>_0x3eebc2['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3b635c),this['keystrokes']['set']('arrowleft',_0x3b635c),this['keystrokes']['set']('arrowup',_0x3b635c),this['keystrokes']['set']('arrowdown',_0x3b635c);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x33e38f){this['revisionNameInputView']['fieldView']['element']['value']=_0x33e38f['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1c4f85){const _0x70b396=new at(this['locale'],_0x44a15d),_0x1d0f89=_0x70b396['fieldView'];_0x1d0f89['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4e21ef=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1c4f85&&(_0x4e21ef+='\x20('+y(this['locale'],'optional')+')'),(_0x70b396['label']=_0x4e21ef,_0x1d0f89['on']('input',()=>{this['revisionNameInputValue']=_0x1d0f89['element']['value']['trim']();}),_0x70b396);}}class u extends _0x1b7a4e{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5d9708=this['editor'],_0x4987c9=_0x5d9708['plugins']['get']('RevisionTracker');_0x5d9708['ui']['componentFactory']['add']('revisionHistory',_0x104077=>{const _0x4c3098=_0x2d15dd(_0x104077),_0x37595e=_0x4c3098['panelView']['children'],_0x34906d=new te(_0x104077),_0xb77749=new _0x509449(_0x104077),_0x308d04=new _0x33eaaa(_0x104077),_0x46967a=new _0x509449(_0x104077),_0x4b1a22=new _0x33eaaa(_0x104077);return _0x4c3098['bind']('isEnabled')['to'](_0x4987c9,'isReady',_0x4987c9,'isEnabled',_0x5d9708,'isReadOnly',(_0x4ed60c,_0x27ac1e,_0x2a0d07)=>_0x4ed60c&&_0x27ac1e&&!_0x2a0d07),_0x4c3098['buttonView']['set']({'icon':_0x3dd9b1['history'],'label':y(_0x104077,'Revision\x20history'),'tooltip':!0x0}),_0x308d04['set']({'label':y(_0x104077,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x308d04['bind']('isEnabled')['to'](_0x4987c9,'isReady',_0x4987c9,'isEnabled',_0x5d9708,'isReadOnly',(_0x3310ca,_0x457171,_0x23d9f4)=>_0x3310ca&&_0x457171&&!_0x23d9f4),_0x308d04['on']('execute',()=>this['_showDialog']()),_0x4b1a22['set']({'label':y(_0x104077,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4b1a22['bind']('isEnabled')['to'](_0x4987c9,'isReady',_0x5d9708,'isReadOnly',(_0x6746e,_0x2c7eb4)=>_0x6746e&&!_0x2c7eb4),_0x4b1a22['on']('execute',()=>{_0x5d9708['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4c3098['isOpen']=!0x1,_0x5d9708['editing']['view']['focus']();}),_0xb77749['children']['add'](_0x308d04),_0x46967a['children']['add'](_0x4b1a22),_0x34906d['role']='menu',_0x34906d['items']['addMany']([_0xb77749,_0x46967a]),_0x37595e['add'](_0x34906d),_0x4c3098;}),_0x5d9708['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x54e7a8=this['editor'],_0x42bbd3=_0x54e7a8['locale'],_0x53bb57=new _0x3b0631(_0x42bbd3),_0x3de74d=new _0x179823(_0x42bbd3);_0x53bb57['buttonView']['set']({'icon':_0x3dd9b1['history'],'label':y(_0x42bbd3,'Revision\x20history')});const _0x501029=new _0x837eab(_0x42bbd3,_0x53bb57),_0x496c0a=new _0x21866b(_0x42bbd3);_0x496c0a['set']({'label':y(_0x42bbd3,'Save\x20current\x20revision')}),_0x496c0a['delegate']('execute')['to'](_0x53bb57),_0x496c0a['on']('execute',()=>{this['_showDialog']();}),_0x501029['children']['add'](_0x496c0a),_0x3de74d['items']['add'](_0x501029);const _0x2fcb15=new _0x837eab(_0x42bbd3,_0x53bb57),_0x52070c=new _0x21866b(_0x42bbd3);return _0x52070c['set']({'label':y(_0x42bbd3,'Open\x20revision\x20history')}),_0x52070c['delegate']('execute')['to'](_0x53bb57),_0x52070c['on']('execute',()=>{_0x54e7a8['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2fcb15['children']['add'](_0x52070c),_0x3de74d['items']['add'](_0x2fcb15),_0x53bb57['panelView']['children']['add'](_0x3de74d),_0x53bb57;}['_showDialog'](){const _0x49bf19=this['editor'],_0x3d6421=_0x49bf19['locale'],t=_0x3d6421['t'],_0x22704b=_0x49bf19['plugins']['get']('Dialog'),_0x603b7c=_0x49bf19['plugins']['get']('RevisionTracker');function _0x3a0f61(_0x57adb5){_0x49bf19['config']['get']('revisionHistory.requireRevisionName')&&''===_0x57adb5['revisionName']?_0x57adb5['revisionNameInputView']['errorText']=y(_0x3d6421,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x49bf19['plugins']['get'](l)['saveRevision']({'name':_0x57adb5['revisionName']}),_0x22704b['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x3a0f61(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x22704b['show']({'id':'revisionSave','title':y(_0x3d6421,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x22704b['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x358588){_0x358588['bind']('isEnabled')['to'](_0x603b7c,'isReady',_0x603b7c,'isEnabled',_0x49bf19,'isReadOnly',(_0x993f6,_0x223eaa,_0x2f9b0d)=>_0x993f6&&_0x223eaa&&!_0x2f9b0d);},'onExecute':()=>_0x3a0f61(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x31fec3=this['editor'],_0x2a3c63=_0x31fec3['locale'];this['_saveRevisionFormView']=new ns(_0x2a3c63,_0x31fec3['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x5ab15a{['changeId'];['_model'];constructor(_0xb68ba,_0x1200f1){super(_0xb68ba),this['_model']=_0x1200f1,this['changeId']=_0x1200f1['id'];const _0x5f1376=this['bindTemplate'],_0x39344a=y(_0xb68ba,_0x1200f1['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1200f1['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1200f1['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x5f1376['to']('type',_0x40a1bb=>'ck-revision-change__'+_0x40a1bb)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x39344a}]},{'text':'\x20'+_0x1200f1['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x5330e2(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x25d618){super(),this['id']=_0x25d618['id']||_0x53c5f2(),this['author']=_0x25d618['author'],this['type']=_0x25d618['type'],this['data']=_0x25d618['data']||{},this['rootName']=_0x25d618['rootName'],this['set']('createdAt',_0x25d618['createdAt']);}['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}}class f{['newRevisionId'];['oldRevisionId'];['changes'];constructor(_0x298fcf,_0x44765c){this['newRevisionId']=_0x298fcf,this['oldRevisionId']=_0x44765c,this['changes']=new _0x2828e8();}['_setChanges'](_0x52e3db){for(const _0xd32185 of _0x52e3db)this['changes']['add'](_0xd32185);}}const tt={'c':_0x233f02,'a':_0x3c7d2e,'e':_0x109678,'r':_0x660f43,'u':_0x55efa8};class d extends _0x1b7a4e{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5465dc,_0x2bb583,A];}constructor(_0x5c3c52){super(_0x5c3c52),this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['set']('activeChange',null),this['set']('activeView',null),this['_activeViewTarget']=null,this['set']('diff',null),this['set']('isReady',!0x1),this['set']('isEnabled',!0x0),this['on']('change:isEnabled',(_0x5d6f03,_0x3aa514,_0x2235e5)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4e280d=>{for(const _0xf6b444 of this['editor']['editing']['view']['document']['roots'])_0x2235e5?_0x4e280d['removeClass']('ck-editor__editable__overlay',_0xf6b444):_0x4e280d['addClass']('ck-editor__editable__overlay',_0xf6b444);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x498f2f=>null!==_0x498f2f),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1bb6e4,_0x1c3036,_0x3a93b9)=>_0x1bb6e4&&_0x3a93b9?_0x1c3036['changes']['getIndex'](_0x3a93b9):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x34743d,_0x88c8f7)=>_0x34743d?_0x88c8f7['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x2bb583);}['init'](){const _0x41dd35=this['editor'],_0x995d5e=new yt(_0x41dd35,{'direction':'backward'}),_0xd7435c=new yt(_0x41dd35,{'direction':'forward'});(_0x41dd35['commands']['add']('showPreviousChange',_0x995d5e),_0x41dd35['commands']['add']('showNextChange',_0xd7435c),_0x41dd35['commands']['add']('restoreRevision',new bt(_0x41dd35)),this['on']('change:numberOfChanges',()=>{_0x995d5e['refresh'](),_0xd7435c['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x41dd35['enableReadOnlyMode']('revision-viewer'),_0x41dd35['plugins']['has']('WidgetToolbarRepository'))&&_0x41dd35['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1c53f2){await this['loadRevisionData'](_0x1c53f2);const _0x227aea={};for(const _0x2db892 in _0x1c53f2['diffData']){if(_0x1c53f2['diffData'][_0x2db892]['attachChange']&&!_0x1c53f2['diffData'][_0x2db892]['attachChange']['isAttached'])continue;const _0x36f364=this['_removeRevisionMarkers'](JSON['parse'](_0x1c53f2['diffData'][_0x2db892]['insertions'])),_0x13f62f=this['editor']['editing']['view']['document'],_0x32d0cf=new _0x2eb8a6(_0x13f62f,_0x36f364['map'](_0x1b6509=>this['_getViewObj'](_0x1b6509)));this['editor']['data']['processor']['useFillerType']('marked'),_0x227aea[_0x2db892]=this['editor']['data']['processor']['toData'](_0x32d0cf),this['editor']['data']['processor']['useFillerType']('default');}return _0x227aea;}async['getRevisionRootsAttributes'](_0x44f722){await this['loadRevisionData'](_0x44f722);const _0x3ca3cf={};for(const _0x51cb35 in _0x44f722['diffData'])_0x44f722['diffData'][_0x51cb35]['attachChange']&&!_0x44f722['diffData'][_0x51cb35]['attachChange']['isAttached']||(_0x3ca3cf[_0x51cb35]=_0x44f722['diffData'][_0x51cb35]['attributesAfter']||{});return _0x3ca3cf;}['_removeRevisionMarkers'](_0x6d4d7e){return(_0x6d4d7e=_0x6d4d7e['filter'](_0x41d28b=>!_0x41d28b['name']||'revision-start'!==_0x41d28b['name']&&'revision-end'!==_0x41d28b['name']))['forEach'](_0x4c1a9e=>{'string'!=typeof _0x4c1a9e&&(_0x4c1a9e['children']=this['_removeRevisionMarkers'](_0x4c1a9e['children']),_0x4c1a9e['attributes']=_0x4c1a9e['attributes']['filter'](_0xefd039=>!_0xefd039[0x0]['startsWith']('data-revision-')));}),_0x6d4d7e;}async['compare'](_0x44abef,_0x19451d,_0x4e5963=!0x1){if(!this['isEnabled'])return;const _0x1300fe=this['diff'],_0x1cc1e7=this['repository'],_0x4dbae6='string'==typeof _0x44abef?_0x1cc1e7['getRevision'](_0x44abef):_0x44abef,_0x464c13='string'==typeof _0x19451d?_0x1cc1e7['getRevision'](_0x19451d):_0x19451d,_0x505eb5=_0x4dbae6['id'],_0x8beb7c=_0x464c13?_0x464c13['id']:null;if(!_0x4e5963&&this['diff']&&this['diff']['newRevisionId']===_0x505eb5&&this['diff']['oldRevisionId']===_0x8beb7c)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x505eb5,_0x8beb7c);const _0xe7e93e=this['_getRevisionsRange'](_0x4dbae6,_0x464c13,!0x0)['map'](_0x5dbdaf=>this['loadRevisionData'](_0x5dbdaf));return _0xe7e93e['push'](new Promise(_0x1477c9=>{setTimeout(_0x1477c9,0x14);})),Promise['all'](_0xe7e93e)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x549ec5=this['_getDiff'](_0x505eb5,_0x8beb7c);for(const _0x132c7e of _0x549ec5['changes'])this['_changeIdToChange']['set'](_0x132c7e['id'],_0x132c7e);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x187034=>{for(const _0x30f923 of this['editor']['model']['document']['getRootNames']())_0x187034['detachRoot'](_0x30f923);for(const _0x55794c of Object['keys'](_0x549ec5['model'])){const _0x5bcc10=_0x187034['addRoot'](_0x55794c);for(const _0x597c5e of Object['keys'](_0x549ec5['attributes'][_0x55794c]))_0x187034['setAttribute'](_0x597c5e,_0x549ec5['attributes'][_0x55794c][_0x597c5e],_0x5bcc10);_0x187034['insert'](_0x549ec5['model'][_0x55794c],_0x5bcc10,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x549ec5['changes'])),this['isReady']=!0x0;})['catch'](_0x303827=>{console['error'](_0x303827),this['_cleanUp'](),_0x1300fe&&(this['diff']=_0x1300fe),this['isReady']=!0x0;});}['addRevisionData'](_0x1164cf,_0x1a4187){const _0x3bc06a=this['repository']['createRevision'](_0x1164cf);return _0x3bc06a['on']('_update',(_0x5391c5,_0x515489,_0x4a5e09)=>_0x1a4187(_0x515489,_0x4a5e09,_0x3bc06a)),this['repository']['addRevision'](_0x3bc06a),_0x3bc06a;}['loadRevisionData'](_0x505750){if(!_0x505750||_0x505750['diffData'])return Promise['resolve']();{const _0xe4e29f=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xe4e29f,'revisionId':_0x505750['id']})['then'](_0x20038=>{_0x505750['_update']({'diffData':_0x20038['diffData']},!0x0);});}}['_cleanUp'](){this['activeChange']=null,this['_cleanMarkers'](),this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=null,this['_changeIdToChange']['clear'](),this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1fbd36=>{for(const _0x438ae6 of this['editor']['model']['document']['getRootNames']())_0x1fbd36['detachRoot'](_0x438ae6);});}['_sortAndFilterDiffChanges'](_0x5da691){const _0x3ca90a=[],_0x36cbf4=new Map();for(const _0x34925f of this['editor']['model']['document']['getRootNames']()){const _0x4b241e=this['editor']['editing']['view']['getDomRoot'](_0x34925f);if(!_0x4b241e)continue;const _0x5cee8e=_0x4b241e['getClientRects']()['item'](0x0);_0x5cee8e&&(_0x3ca90a['push'](_0x34925f),_0x36cbf4['set'](_0x34925f,_0x5cee8e));}return _0x3ca90a['sort']((_0x581299,_0x328cef)=>{const _0x2bd977=_0x36cbf4['get'](_0x581299),_0x393eec=_0x36cbf4['get'](_0x328cef);return _0x2bd977['y']-_0x393eec['y']||_0x2bd977['x']-_0x393eec['x'];}),(_0x5da691=_0x5da691['filter'](_0x5a1bd8=>_0x3ca90a['includes'](_0x5a1bd8['rootName'])))['sort']((_0x50c387,_0x58570d)=>_0x3ca90a['indexOf'](_0x50c387['rootName'])-_0x3ca90a['indexOf'](_0x58570d['rootName'])),_0x5da691;}['_makeTape'](_0x4441af){const _0x36d778=Array['from'](_0x4441af['markers'])['filter'](([_0x3f6fda,_0x58ae83])=>_0x3f6fda['startsWith']('revision:')&&!_0x58ae83['isCollapsed']),_0x239b5f=Array['from'](this['editor']['model']['createRangeIn'](_0x4441af)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x36d778['length'])for(const _0x106972 of _0x239b5f){const [_0x2a7f95,_0x371836]=_0x36d778[0x0],[,_0x1a5246,_0x3e0c00]=_0x2a7f95['split'](':');if(_0x371836['end']['isEqual'](_0x106972['nextPosition'])&&_0x36d778['shift'](),(_0x106972['previousPosition']['isEqual'](_0x371836['start'])||_0x106972['previousPosition']['isAfter'](_0x371836['start']))&&('insertion'==_0x1a5246?_0x106972['isAdded']={'userId':_0x3e0c00}:'deletion'==_0x1a5246&&(_0x106972['isRemoved']={'userId':_0x3e0c00})),0x0==_0x36d778['length'])break;}return _0x239b5f;}['_refreshStartEndIndex'](_0x4f04fd){const _0x4d87de=new Map();for(let _0x7654a7=0x0;_0x7654a7<_0x4f04fd['length'];_0x7654a7++)'text'===_0x4f04fd[_0x7654a7]['type']?(_0x4f04fd[_0x7654a7]['item']['startIndex']=_0x7654a7,_0x4f04fd[_0x7654a7]['item']['endIndex']=_0x7654a7):('elementStart'===_0x4f04fd[_0x7654a7]['type']?_0x4f04fd[_0x7654a7]['item']['startIndex']=_0x7654a7:'elementEnd'===_0x4f04fd[_0x7654a7]['type']&&(_0x4f04fd[_0x7654a7]['item']['endIndex']=_0x7654a7),_0x4d87de['set'](_0x4f04fd[_0x7654a7]['id'],_0x7654a7));for(const _0x43b91b of _0x4d87de['values']())'elementStart'===_0x4f04fd[_0x43b91b]['type']?_0x4f04fd[_0x43b91b]['item']['endIndex']=_0x4d87de['get'](_0x4f04fd[_0x43b91b]['pairId']):'elementEnd'===_0x4f04fd[_0x43b91b]['type']&&(_0x4f04fd[_0x43b91b]['item']['startIndex']=_0x4d87de['get'](_0x4f04fd[_0x43b91b]['pairId']));}['_processTape'](_0x345c31){for(let _0x44cc83=0x0;_0x44cc83<_0x345c31['length'];_0x44cc83++){if('elementStart'===_0x345c31[_0x44cc83]['type'])_0x345c31[_0x44cc83]['item']['startIndex']=_0x44cc83;else{if('elementEnd'===_0x345c31[_0x44cc83]['type']){_0x345c31[_0x44cc83]['item']['endIndex']=_0x44cc83;const _0x469ab1=_0x345c31[_0x44cc83]['item']['startIndex'];_0x345c31[_0x469ab1]['pairId']=_0x345c31[_0x44cc83]['id'],_0x345c31[_0x44cc83]['pairId']=_0x345c31[_0x469ab1]['id'];}else _0x345c31[_0x44cc83]['item']['startIndex']=_0x44cc83,_0x345c31[_0x44cc83]['item']['endIndex']=_0x44cc83,_0x345c31[_0x44cc83]['pairId']=null;}_0x345c31[_0x44cc83]['markersStart']||(_0x345c31[_0x44cc83]['markersStart']=[],_0x345c31[_0x44cc83]['markersEnd']=[]);}}['_markInsertions'](_0x4ffd74,_0x4390d1){const _0x41762a=_0x4ffd74['filter'](_0x191c38=>!_0x191c38['isAdded']);for(let _0x1b47ed=0x0;_0x1b47ed<_0x4390d1['length'];_0x1b47ed++)_0x4390d1[_0x1b47ed]['isAdded']&&(_0x41762a[_0x1b47ed]['isAdded']=_0x4390d1[_0x1b47ed]['isAdded']);}['_makeModelFromViewString'](_0x33c55c){const _0x1d3dd6=JSON['parse'](_0x33c55c),_0x38e583=this['editor']['editing']['view']['document'],_0x15b28f=new _0x2eb8a6(_0x38e583,_0x1d3dd6['map'](_0x2b89b1=>this['_getViewObj'](_0x2b89b1)));return this['editor']['data']['toModel'](_0x15b28f);}['_getViewObj'](_0x34727a){const _0x3cade5=this['editor']['editing']['view']['document'];if('string'==typeof _0x34727a)return new _0x34914d(_0x3cade5,_0x34727a);{const _0x345b55=_0x34727a['children']['map'](_0x48388d=>this['_getViewObj'](_0x48388d));return new(tt[_0x34727a['type']]||_0x533cf7)(_0x3cade5,_0x34727a['name'],_0x34727a['attributes'],_0x345b55);}}['_getDiff'](_0x22ad26,_0x568fa6=null){const _0xed451d=this['repository']['getRevision'](_0x22ad26),_0x47e61c=_0x568fa6?this['repository']['getRevision'](_0x568fa6):null,_0x42d072=this['_getRevisionsRange'](_0xed451d,_0x47e61c),_0x5eba6f=_0x42d072[_0x42d072['length']-0x1],_0x39eed2=new Map(),_0x38caed={'model':{},'attributes':{},'changes':[]},_0x1a2a02=new Set(),_0x4e540e=new Map();for(let _0x5d1722=_0x42d072['length']-0x1;_0x5d1722>=0x0;_0x5d1722--){const _0x5aba72=_0x42d072[_0x5d1722];for(const _0x3067d8 of Object['keys'](_0x5aba72['diffData']))if(_0x5aba72['diffData'][_0x3067d8]['attachChange']){const _0x1239ae=_0x5aba72['diffData'][_0x3067d8]['attachChange'];_0x1239ae['isAttached']?(_0x1a2a02['add'](_0x3067d8),_0x4e540e['has'](_0x3067d8)&&_0x4e540e['get'](_0x3067d8)['userId']==_0x1239ae['userId']?_0x4e540e['delete'](_0x3067d8):_0x4e540e['set'](_0x3067d8,_0x1239ae)):_0x4e540e['has'](_0x3067d8)?(_0x1a2a02['delete'](_0x3067d8),_0x4e540e['delete'](_0x3067d8)):(_0x1a2a02['add'](_0x3067d8),_0x4e540e['set'](_0x3067d8,_0x1239ae));}else _0x1a2a02['add'](_0x3067d8);}for(const _0x515b5c of _0x1a2a02){const _0x1a80bf=_0x4e540e['has'](_0x515b5c)&&!_0x4e540e['get'](_0x515b5c)['isAttached'];let _0x5640e6=_0x1a80bf?_0x42d072['length']-0x1:0x0;const _0x578696=_0x1a80bf?-0x1:0x1;for(;_0x42d072[_0x5640e6];){const _0x4982b0=_0x42d072[_0x5640e6];if(_0x4982b0['diffData'][_0x515b5c]){const _0xce5456=_0x1a80bf?_0x4982b0['diffData'][_0x515b5c]['attributesBefore']:_0x4982b0['diffData'][_0x515b5c]['attributesAfter'];_0x38caed['attributes'][_0x515b5c]=_0xce5456?_0x485582(_0xce5456):{};break;}_0x5640e6+=_0x578696;}}for(const _0x240921 of _0x42d072){_0x240921['model']={};for(const _0x5f2762 of _0x240921['authors'])_0x39eed2['set'](_0x5f2762['id'],_0x5f2762);for(const _0x5b3968 of _0x1a2a02){const _0x44f550=_0x240921['diffData'][_0x5b3968]?_0x240921['diffData'][_0x5b3968]['insertions']:'[]',_0x21b98e=_0x240921['diffData'][_0x5b3968]?_0x240921['diffData'][_0x5b3968]['deletions']:'[]';_0x240921['model'][_0x5b3968]={'insertions':this['_makeModelFromViewString'](_0x44f550),'deletions':this['_makeModelFromViewString'](_0x21b98e)};}}for(const _0x351357 of _0x1a2a02){let _0x5640ef=null,_0x150086=0x0;const _0x17f801=new Map(Array['from'](_0xed451d['model'][_0x351357]['insertions']['markers'])['filter'](([_0x1d8c8a])=>!_0x1d8c8a['startsWith']('revision:')));let _0x21f297=0x0;for(const _0x125544 of _0x42d072){const _0x43b959=this['_makeTape'](_0x125544['model'][_0x351357]['insertions']);_0x125544==_0xed451d?(_0x5640ef=_0x43b959,_0x150086=_0x5640ef['length'],_0x5640ef['forEach'](_0x2f747f=>{_0x2f747f['id']=_0x21f297++;}),this['_processTape'](_0x5640ef)):this['_markInsertions'](_0x5640ef,_0x43b959);const _0x1669af=_0x5640ef['filter'](_0x43a8ed=>!_0x43a8ed['isAdded'])['map'](_0x239df2=>_0x239df2['id']);let _0x4bc3b8=0x0;const _0x502b4e=this['_makeTape'](_0x125544['model'][_0x351357]['deletions']);_0x502b4e['forEach'](_0x5bf32b=>{_0x5bf32b['isRemoved']?_0x5bf32b['id']=_0x150086++:_0x5bf32b['id']=_0x1669af[_0x4bc3b8++];}),this['_processTape'](_0x502b4e),this['_setDistance'](_0x5640ef,'isAdded'),this['_setDistance'](_0x502b4e,'isRemoved'),_0x125544==_0xed451d&&this['_markMarkers'](_0x5640ef,_0x17f801),_0x5640ef=this['_joinTapes'](_0x5640ef,_0x502b4e),this['_refreshStartEndIndex'](_0x5640ef),this['_setDistance'](_0x5640ef,'isRemoved');}_0x5640ef=_0x5640ef['filter'](_0x53077f=>!(_0x53077f['isAdded']&&_0x53077f['isRemoved']));const _0x798da1=new Map(_0x5eba6f['model'][_0x351357]['deletions']['markers']),_0x42b70f=new Set(_0x17f801['keys']());for(const _0x530657 of _0x798da1['keys']())_0x42b70f['delete'](_0x530657);this['_markSuggestions'](_0x5640ef,_0x42b70f),this['_fixObsoleteTags'](_0x5640ef),_0x5640ef=this['_removeMissingPairs'](_0x5640ef),_0x5640ef=this['_markMismatchedRemovedTags'](_0x5640ef),_0x5640ef=this['_removeUnsupportedChanges'](_0x5640ef);const {root:_0x1112e2,changes:_0xdb6e19}=this['_makeModelFromTape'](_0x5640ef,_0x39eed2,_0x351357);_0x38caed['model'][_0x351357]=_0x1112e2;const _0xc8159a=_0x4e540e['get'](_0x351357);if(_0xc8159a){const _0x3ce898=_0x39eed2['get'](_0xc8159a['userId']),_0x19acc0=new r({'author':_0x3ce898,'type':_0xc8159a['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x351357});_0xdb6e19['unshift'](_0x19acc0),_0x38caed['attributes'][_0x351357]['revisionHistoryAttachChange']=_0x19acc0['id'];}_0x38caed['changes']=_0x38caed['changes']['concat'](_0xdb6e19);}return _0x38caed;}['_markMarkers'](_0x10e888,_0x3566f5){for(let _0xa40e04=0x0;_0xa40e04<_0x10e888['length'];_0xa40e04++)for(const [_0x43c5f0,_0x47d67b]of _0x3566f5)_0x47d67b['start']['isEqual'](_0x10e888[_0xa40e04]['previousPosition'])&&_0x10e888[_0xa40e04]['markersStart']['push'](_0x43c5f0),_0x47d67b['end']['isEqual'](_0x10e888[_0xa40e04]['nextPosition'])&&_0x10e888[_0xa40e04]['markersEnd']['push'](_0x43c5f0);}['_joinTapes'](_0x27d6c8,_0x364b77){let _0xcc8580=[],_0x26c5fa=0x0,_0x334e61=0x0;for(;_0x26c5fa<_0x27d6c8['length']||_0x334e61<_0x364b77['length'];){const _0x5aadf3=_0x27d6c8[_0x26c5fa]||{},_0x7957ed=_0x364b77[_0x334e61]||{};if(_0x5aadf3['id']==_0x7957ed['id'])_0x26c5fa++,_0x334e61++,_0xcc8580['push'](_0x5aadf3);else{if(_0x7957ed['isRemoved']&&_0x5aadf3['isAdded']){const {commonTape:_0x2ec182,iEnd:_0x403ae7,jEnd:_0x2eeb54}=this['_threeWayMerge'](_0x27d6c8,_0x26c5fa,_0x364b77,_0x334e61);_0xcc8580=_0xcc8580['concat'](_0x2ec182),_0x26c5fa=_0x403ae7,_0x334e61=_0x2eeb54;}else _0x7957ed['isRemoved']?(_0x334e61++,_0xcc8580['push'](_0x7957ed)):(_0x26c5fa++,_0xcc8580['push'](_0x5aadf3));}}return _0xcc8580;}['_markSuggestions'](_0x1643d6,_0xee32b1){const _0x32d72b=[];for(let _0xa7c25d=0x0;_0xa7c25d<_0x1643d6['length'];_0xa7c25d++){for(let _0x2d66e3=0x0;_0x2d66e3<_0x1643d6[_0xa7c25d]['markersStart']['length'];_0x2d66e3++){const _0x222479=_0x1643d6[_0xa7c25d]['markersStart'][_0x2d66e3];if(!_0xee32b1['has'](_0x222479))continue;const {group:_0x269c4c,type:_0x1a738d,authorId:_0x5e40ae}=_0x4bf064(_0x222479);'revision-suggestion'!=_0x269c4c||'insertion'!=_0x1a738d&&'deletion'!=_0x1a738d||(_0x32d72b['unshift']({'type':_0x1a738d,'name':_0x222479,'userId':_0x5e40ae}),_0x1643d6[_0xa7c25d]['markersStart']['splice'](_0x2d66e3,0x1),_0x2d66e3--);}_0x22a98d(_0x1643d6[_0xa7c25d]);for(let _0x2813c4=0x0;_0x2813c4<_0x1643d6[_0xa7c25d]['markersEnd']['length'];_0x2813c4++){const _0x1c1c95=_0x1643d6[_0xa7c25d]['markersEnd'][_0x2813c4];if(!_0xee32b1['has'](_0x1c1c95))continue;const {group:_0x4aadda,type:_0xab5209}=_0x4bf064(_0x1c1c95);if('revision-suggestion'!=_0x4aadda||'insertion'!=_0xab5209&&'deletion'!=_0xab5209)continue;_0x1643d6[_0xa7c25d]['markersEnd']['splice'](_0x2813c4,0x1),_0x2813c4--;const _0x5efd8a=_0x32d72b['findIndex'](_0x1704d3=>_0x1704d3['name']==_0x1c1c95);_0x5efd8a>-0x1&&_0x32d72b['splice'](_0x5efd8a,0x1);}}function _0x4bf064(_0x4ff1df){const _0xc13dce=_0x4ff1df['split'](':');return{'group':_0xc13dce[0x0],'type':_0xc13dce[0x1],'subType':_0xc13dce['length']>=0x5?_0xc13dce[0x2]:null,'id':_0xc13dce['length']<0x5?_0xc13dce[0x2]:_0xc13dce[0x3],'authorId':_0xc13dce['length']<0x5?_0xc13dce[0x3]:_0xc13dce[0x4],'markerCount':0x6==_0xc13dce['length']?_0xc13dce[0x5]:null};}function _0x22a98d(_0x4e5861){for(let _0x4d9e5c=0x0;_0x4d9e5c<_0x32d72b['length'];_0x4d9e5c++){if(_0x4e5861['isAdded']&&'insertion'==_0x32d72b[_0x4d9e5c]['type'])return _0x4e5861['isAddSuggestion']=_0x32d72b[_0x4d9e5c],void delete _0x4e5861['isAdded'];if(!_0x4e5861['isAdded']&&!_0x4e5861['isRemoved']&&'deletion'==_0x32d72b[_0x4d9e5c]['type'])return void(_0x4e5861['isRemoveSuggestion']=_0x32d72b[_0x4d9e5c]);}}}['_setDistance'](_0x14d50d,_0x4e7785){let _0x1858e7=0x0,_0x2b4ff9=!0x1;const _0x15d73a=new Map();for(const _0x12bc40 of _0x14d50d)_0x12bc40[_0x4e7785]?_0x2b4ff9&&(_0x1858e7++,_0x2b4ff9=!0x1):(_0x1858e7++,_0x2b4ff9=!0x0),_0x15d73a['set'](_0x12bc40['id'],_0x1858e7);for(let _0x5a875a=0x0;_0x5a875a<_0x14d50d['length'];_0x5a875a++){if('isRemoved'==_0x4e7785&&_0x14d50d[_0x5a875a]['isAdded']||'isAdded'==_0x4e7785&&_0x14d50d[_0x5a875a]['isRemoved'])continue;if('text'==_0x14d50d[_0x5a875a]['type']){_0x14d50d[_0x5a875a]['distance']=0x0;continue;}const _0x23830d=_0x15d73a['get'](_0x14d50d[_0x5a875a]['pairId']),_0x25385b=_0x15d73a['get'](_0x14d50d[_0x5a875a]['id']);_0x14d50d[_0x5a875a]['distance']=_0x23830d-_0x25385b;}}['_getRevisionsRange'](_0x11dbeb,_0x118dce,_0x4a78f5=!0x1){const _0x177ad1=[];let _0x586a1a=this['repository']['getIndex'](_0x11dbeb),_0x3af2e4=this['repository']['getIndex'](_0x118dce);for(-0x1==_0x3af2e4&&(_0x3af2e4=this['repository']['_revisions']['length'],_0x4a78f5=!0x1);_0x586a1a<_0x3af2e4;)_0x177ad1['push'](this['repository']['getRevision'](_0x586a1a)),_0x586a1a++;return _0x4a78f5&&_0x177ad1['push'](this['repository']['getRevision'](_0x586a1a)),_0x177ad1;}['_threeWayMerge'](_0x2d8b18,_0x66588b,_0x1481c4,_0x4448d2){const _0x19e36d=this['editor']['model']['schema'];let _0x54c615=_0x66588b;for(;_0x2d8b18[_0x54c615]&&_0x2d8b18[_0x54c615]['isAdded'];)_0x54c615++;let _0x172647=_0x4448d2;for(;_0x1481c4[_0x172647]&&_0x1481c4[_0x172647]['isRemoved'];)_0x172647++;_0x511770(_0x2d8b18,_0x66588b,_0x54c615),_0x511770(_0x1481c4,_0x4448d2,_0x172647);const _0x4faccf=_0x1481c4['slice'](_0x4448d2,_0x172647)['concat'](_0x2d8b18['slice'](_0x66588b,_0x54c615));return _0x4faccf['sort']((_0x27da1d,_0x1600d0)=>_0x27da1d['side']!=_0x1600d0['side']?_0x27da1d['side']-_0x1600d0['side']:_0x27da1d['level']!=_0x1600d0['level']?_0x27da1d['level']-_0x1600d0['level']:_0x27da1d['distance']!=_0x1600d0['distance']?_0x1600d0['distance']-_0x27da1d['distance']:!!_0x27da1d['isAdded']!=!!_0x1600d0['isAdded']?-0x1==_0x27da1d['side']||0x0==_0x27da1d['side']?_0x27da1d['isAdded']?-0x1:0x1:_0x27da1d['isAdded']?0x1:-0x1:_0x27da1d['index']-_0x1600d0['index']),{'commonTape':_0x4faccf,'iEnd':_0x54c615,'jEnd':_0x172647};function _0x511770(_0x4e8aeb,_0x3a0d88,_0x310a79){let _0x7d9ada=-0x1,_0x143680=Number['POSITIVE_INFINITY'],_0x3089b5=!0x0;for(let _0x329df7=_0x3a0d88;_0x329df7<_0x310a79;_0x329df7++)if(_0x19e36d['isInline'](_0x4e8aeb[_0x329df7]['item'])||(_0x3089b5=!0x1),_0x4e8aeb[_0x329df7]['item']['startIndex']<_0x3a0d88&&(_0x7d9ada=_0x329df7),_0x4e8aeb[_0x329df7]['item']['endIndex']>=_0x310a79){_0x143680=_0x329df7;break;}_0x3089b5&&(_0x7d9ada=_0x310a79-0x1);for(let _0xa4b6c8=_0x3a0d88;_0xa4b6c8<_0x310a79;_0xa4b6c8++)_0x4e8aeb[_0xa4b6c8]['side']=_0xa4b6c8<=_0x7d9ada?-0x1:_0xa4b6c8<_0x143680?0x0:0x1,_0x4e8aeb[_0xa4b6c8]['index']=_0xa4b6c8;let _0x1978d8=0x0;for(let _0x21fb0f=_0x3a0d88;_0x21fb0f<=_0x7d9ada;_0x21fb0f++)0x0==_0x4e8aeb[_0x21fb0f]['distance']?_0x4e8aeb[_0x21fb0f]['level']=_0x1978d8:(_0x1978d8++,_0x4e8aeb[_0x21fb0f]['level']=_0x1978d8,_0x1978d8++);for(let _0x186abb=_0x3a0d88;_0x186abb<_0x310a79;_0x186abb++)0x0==_0x4e8aeb[_0x186abb]['side']&&(_0x4e8aeb[_0x186abb]['level']=_0x1978d8);_0x1978d8=0x0;for(let _0x5c6443=_0x310a79-0x1;_0x5c6443>=_0x143680;_0x5c6443--)0x0==_0x4e8aeb[_0x5c6443]['distance']?_0x4e8aeb[_0x5c6443]['level']=_0x1978d8:(_0x1978d8--,_0x4e8aeb[_0x5c6443]['level']=_0x1978d8,_0x1978d8--);}}['_fixObsoleteTags'](_0x2d6aa5){const _0x7b42cb=new Map(),_0x47c15a=this['editor']['model']['schema'];for(let _0x556a49=0x1;_0x556a49<_0x2d6aa5['length'];_0x556a49++){let _0x493281,_0x99de8a,_0x3f291e;const _0x2c875b=_0x2d6aa5[_0x556a49],_0x436337=_0x2d6aa5[_0x556a49-0x1];if('text'==_0x2c875b['type'])continue;if(_0x2c875b['type']!=_0x436337['type'])continue;if(!_0x47c15a['isBlock'](_0x436337['item'])||_0x47c15a['isLimit'](_0x436337['item']))continue;if(!_0x47c15a['isBlock'](_0x2c875b['item'])||_0x47c15a['isLimit'](_0x2c875b['item']))continue;if((_0x2d6aa5[_0x556a49]['isAdded']||_0x2d6aa5[_0x556a49]['isAddSuggestion'])&&_0x2d6aa5[_0x556a49-0x1]['isRemoved'])_0x493281=_0x2d6aa5[_0x556a49],_0x99de8a=_0x2d6aa5[_0x556a49-0x1],_0x3f291e=_0x556a49-0x1;else{if(!_0x2d6aa5[_0x556a49]['isRemoved']||!_0x2d6aa5[_0x556a49-0x1]['isAdded']&&!_0x2d6aa5[_0x556a49-0x1]['isAddSuggestion'])continue;_0x493281=_0x2d6aa5[_0x556a49-0x1],_0x99de8a=_0x2d6aa5[_0x556a49],_0x3f291e=_0x556a49;}const _0x1a2a15=_0x493281['level']==_0x99de8a['level'],_0x5ce008=Math['abs'](_0x493281['level'])<Math['abs'](_0x99de8a['level'])&&0x0==_0x99de8a['distance'];(_0x1a2a15||_0x5ce008)&&(_0x7b42cb['set'](_0x99de8a['id'],_0x493281['id']),_0x2d6aa5['splice'](_0x3f291e,0x1),_0x556a49--,_0x493281['isAdded']=!0x1);}for(let _0x52deca=0x0;_0x52deca<_0x2d6aa5['length'];_0x52deca++)_0x7b42cb['has'](_0x2d6aa5[_0x52deca]['pairId'])&&(_0x2d6aa5[_0x52deca]['pairId']=_0x7b42cb['get'](_0x2d6aa5[_0x52deca]['pairId']));}['_removeMissingPairs'](_0x2d98c5){const _0x5540a8=new Set(_0x2d98c5['map'](_0x48aa9f=>_0x48aa9f['id']));for(let _0x4e5af2=0x0;_0x4e5af2<_0x2d98c5['length'];_0x4e5af2++)_0x5540a8['has'](_0x2d98c5[_0x4e5af2]['pairId'])||0x0==_0x2d98c5[_0x4e5af2]['distance']||(_0x2d98c5[_0x4e5af2]['isIncorrect']=!0x0);return _0x2d98c5['filter'](_0xa33837=>!_0xa33837['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1505d1){const _0x325bb5=new Set();for(let _0x162316=0x0;_0x162316<_0x1505d1['length'];_0x162316++){if(_0x325bb5['has'](_0x1505d1[_0x162316]['id'])&&_0x1505d1[_0x162316]['isRemoved']&&(_0x1505d1[_0x162316]['isIncorrect']=!0x0),_0x1505d1[_0x162316]['isIncorrect'])continue;if(0x0==_0x1505d1[_0x162316]['distance'])continue;if('elementStart'!=_0x1505d1[_0x162316]['type'])continue;if(null==_0x1505d1[_0x162316]['pairId'])continue;let _0x17cbb0=_0x162316+0x1,_0x274604=0x0;for(;_0x1505d1[_0x17cbb0]['id']!=_0x1505d1[_0x162316]['pairId'];)'elementStart'==_0x1505d1[_0x17cbb0]['type']?_0x274604++:'elementEnd'==_0x1505d1[_0x17cbb0]['type']&&_0x274604--,_0x17cbb0++;if(0x0!=_0x274604){if(_0x1505d1[_0x162316]['isRemoved'])_0x1505d1[_0x162316]['isIncorrect']=!0x0;else{for(;_0x17cbb0!=_0x162316;)_0x1505d1[_0x17cbb0]['isRemoved']&&0x0!=_0x1505d1[_0x17cbb0]['distance']&&(_0x1505d1[_0x17cbb0]['isIncorrect']=!0x0,_0x325bb5['add'](_0x1505d1[_0x17cbb0]['pairId'])),_0x17cbb0--;}}}return _0x1505d1['filter'](_0x38384e=>!_0x38384e['isIncorrect']);}['_removeUnsupportedChanges'](_0x38ec03){const _0xa4c01b=this['editor']['model']['schema'];for(let _0x3263f0=0x0;_0x3263f0<_0x38ec03['length'];_0x3263f0++){if(!(_0x38ec03[_0x3263f0]['isAdded']||_0x38ec03[_0x3263f0]['isAddSuggestion']||_0x38ec03[_0x3263f0]['isRemoved']||_0x38ec03[_0x3263f0]['isRemoveSuggestion']))continue;if(0x0==_0x38ec03[_0x3263f0]['distance'])continue;const _0x309ea5=_0x38ec03[_0x3263f0]['item'];_0xa4c01b['isBlock'](_0x309ea5)||_0xa4c01b['isLimit'](_0x309ea5)||(_0x38ec03[_0x3263f0]['isAdded']&&delete _0x38ec03[_0x3263f0]['isAdded'],_0x38ec03[_0x3263f0]['isAddSuggestion']&&delete _0x38ec03[_0x3263f0]['isAddSuggestion'],_0x38ec03[_0x3263f0]['isRemoveSuggestion']&&delete _0x38ec03[_0x3263f0]['isRemoveSuggestion'],_0x38ec03[_0x3263f0]['isRemoved']&&(_0x38ec03[_0x3263f0]['isIncorrect']=!0x0));}return _0x38ec03['filter'](_0x1d0f12=>!_0x1d0f12['isIncorrect']);}['_makeModelFromTape'](_0xd1d3b8,_0x7cdc52,_0x3757cc){const _0x32a514=new wt(),_0x1ce5b6=[],_0x252602=new Map(),_0x1bc2ab=this['editor']['model'],_0x361354=_0x1bc2ab['schema'],_0x3b215d=[_0x32a514],_0x58f306={},_0x5bd3ec={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4c2f15=null;const _0x4e35fd=[0x0];for(let _0x28db95=0x0;_0x28db95<_0xd1d3b8['length'];_0x28db95++){let _0xf7bf6a,_0x4dfbbb;if('elementStart'===_0xd1d3b8[_0x28db95]['type']){_0xf7bf6a=_0x1bc2ab['createPositionFromPath'](_0x32a514,_0x4e35fd);const _0x4b0153=new ft(_0xd1d3b8[_0x28db95]['item']['name'],_0xd1d3b8[_0x28db95]['item']['getAttributes']());_0x3b215d[0x0]['_appendChild'](_0x4b0153),_0x4e35fd['push'](0x0),_0x3b215d['unshift'](_0x4b0153),_0x4dfbbb=_0x1bc2ab['createPositionFromPath'](_0x32a514,_0x4e35fd),_0x4c2f15=null;}else{if('elementEnd'===_0xd1d3b8[_0x28db95]['type'])_0x3b215d['shift'](),_0xf7bf6a=_0x1bc2ab['createPositionFromPath'](_0x32a514,_0x4e35fd),_0x4e35fd['pop'](),_0x4e35fd[_0x4e35fd['length']-0x1]++,_0x4dfbbb=_0x1bc2ab['createPositionFromPath'](_0x32a514,_0x4e35fd),_0x4c2f15=null;else{if(_0xf7bf6a=_0x1bc2ab['createPositionFromPath'](_0x32a514,_0x4e35fd),_0x4c2f15&&_0x30c840(_0x4c2f15,_0xd1d3b8[_0x28db95]['item']))_0x4c2f15['_data']+=_0xd1d3b8[_0x28db95]['item']['data'];else{const _0x1278b7=new _t(_0xd1d3b8[_0x28db95]['item']['data'],_0xd1d3b8[_0x28db95]['item']['getAttributes']());_0x3b215d[0x0]['_appendChild'](_0x1278b7),_0x4c2f15=_0x1278b7;}_0x4e35fd[_0x4e35fd['length']-0x1]+=_0xd1d3b8[_0x28db95]['item']['offsetSize'],_0x4dfbbb=_0x1bc2ab['createPositionFromPath'](_0x32a514,_0x4e35fd);}}for(const _0x3f6d1c of _0xd1d3b8[_0x28db95]['markersStart'])_0x252602['set'](_0x3f6d1c,{'start':_0xf7bf6a,'end':null});_0x5f4775('isRemoveSuggestion',_0x28db95,_0xf7bf6a,_0x4dfbbb),_0x5f4775('isAddSuggestion',_0x28db95,_0xf7bf6a,_0x4dfbbb),_0x5f4775('isRemoved',_0x28db95,_0xf7bf6a,_0x4dfbbb),_0x5f4775('isAdded',_0x28db95,_0xf7bf6a,_0x4dfbbb);for(const _0x45fe74 of _0xd1d3b8[_0x28db95]['markersEnd']){_0x252602['get'](_0x45fe74)['end']=_0x4dfbbb;}}for(const [_0xa02360,_0x3ac628]of _0x252602){const _0x47dbd2=this['editor']['model']['createRange'](_0x3ac628['start'],_0x3ac628['end']);_0x32a514['markers']['set'](_0xa02360,_0x47dbd2);}return _0x1ce5b6['sort']((_0x649373,_0x3e4e3e)=>{const _0x24221e=_0x32a514['markers']['get']('revision:'+_0x649373['id']),_0x39705e=_0x32a514['markers']['get']('revision:'+_0x3e4e3e['id']);return _0x24221e['start']['isBefore'](_0x39705e['start'])?-0x1:_0x24221e['start']['isAfter'](_0x39705e['start'])?0x1:_0x24221e['end']['isBefore'](_0x39705e['end'])?-0x1:_0x24221e['end']['isAfter'](_0x39705e['end'])?0x1:'add'===_0x649373['type']?-0x1:0x1;}),{'root':_0x32a514,'changes':_0x1ce5b6};function _0x5f4775(_0x1190de,_0x11603e,_0xfd8b14,_0x15a745){const _0x334123=!!_0xd1d3b8[_0x11603e][_0x1190de],_0x4fe933=_0x334123?_0xd1d3b8[_0x11603e][_0x1190de]['userId']:null,_0x55ad95=_0x11603e===_0xd1d3b8['length']-0x1,_0x27ed76=_0x5bd3ec[_0x1190de][0x0],_0x4aa564=_0x361354['isObject'](_0xd1d3b8[_0x11603e]['item']);!_0x58f306[_0x1190de]&&_0x334123?_0x58f306[_0x1190de]={'start':_0xfd8b14,'tapeItem':_0xd1d3b8[_0x11603e],'userId':_0x4fe933,'type':_0x1190de}:_0x58f306[_0x1190de]&&!_0x334123?(_0x58f306[_0x1190de]['end']=_0xfd8b14,_0x2a194e(_0x58f306[_0x1190de]),_0x58f306[_0x1190de]=null):_0x58f306[_0x1190de]&&_0x334123&&_0x58f306[_0x1190de]['userId']!==_0x4fe933&&(_0x58f306[_0x1190de]['end']=_0xfd8b14,_0x27ed76&&_0x27ed76['userId']===_0x58f306[_0x1190de]['userId']||_0x2a194e(_0x58f306[_0x1190de]),_0x58f306[_0x1190de]={'start':_0xfd8b14,'tapeItem':_0xd1d3b8[_0x11603e],'userId':_0x4fe933,'type':_0x1190de}),_0x58f306[_0x1190de]&&_0x4aa564&&('elementStart'!==_0xd1d3b8[_0x11603e]['type']||_0x27ed76&&_0x27ed76['userId']===_0x4fe933||_0x5bd3ec[_0x1190de]['unshift']({'userId':_0x4fe933,'object':_0xd1d3b8[_0x11603e]['item'],'change':_0x58f306[_0x1190de]}),'elementEnd'===_0xd1d3b8[_0x11603e]['type']&&_0x27ed76&&_0x27ed76['object']===_0xd1d3b8[_0x11603e]['item']&&(_0x5bd3ec[_0x1190de]['shift'](),_0x58f306[_0x1190de]=_0x27ed76['change'])),_0x58f306[_0x1190de]&&_0x55ad95&&(_0x58f306[_0x1190de]['end']=_0x15a745,_0x2a194e(_0x58f306[_0x1190de]),_0x58f306[_0x1190de]=null);}function _0x2a194e({start:_0x3ef2c6,end:_0x82b59,tapeItem:_0x3e90f7,userId:_0x33ebee,type:_0x2cb581}){const _0x32ac97=_0x3e90f7['item'],_0x330695=_0x1bc2ab['schema']['isBlock'](_0x32ac97)&&!_0x1bc2ab['schema']['isLimit'](_0x32ac97),_0x588997=_0x3ef2c6['nodeAfter']==_0x82b59['parent']&&_0x82b59['isAtStart'];if(_0x330695&&_0x588997)return;const _0x257a8a=_0x1bc2ab['createRange'](_0x3ef2c6,_0x82b59),_0x51f445=_0x7cdc52['get'](_0x33ebee),_0x19ea0a=new r({'author':_0x51f445,'type':'isAdded'==_0x2cb581||'isAddSuggestion'==_0x2cb581?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2cb581||'isRemoveSuggestion'==_0x2cb581},'createdAt':new Date(),'rootName':_0x3757cc});_0x1ce5b6['push'](_0x19ea0a),_0x32a514['markers']['set']('revision:'+_0x19ea0a['id'],_0x257a8a);}function _0x30c840(_0x2de2be,_0x3232cc){const _0x4b99eb=_0x2de2be['getAttributes'](),_0x24c3a5=_0x3232cc['getAttributes']();for(const _0x131768 of _0x4b99eb){if(_0x131768[0x1]!==_0x3232cc['getAttribute'](_0x131768[0x0]))return!0x1;_0x24c3a5['next']();}return _0x24c3a5['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3b7254=>{const _0x56e45e=_0x3b7254['markerName']['split'](':')[0x1],_0x447928=this['_getChangeFromId'](_0x56e45e);if(!_0x447928)return null;const _0x58a164='add'==_0x447928['type']?'insertion':'deletion',_0x510721=['ck-suggestion-marker','ck-suggestion-marker-'+_0x58a164];return _0x447928['data']['isSuggestion']&&_0x510721['push']('ck-suggestion-marker-'+_0x58a164+'-new'),this['activeChange']==_0x447928&&_0x510721['push']('ck-suggestion-marker--active'),{'classes':_0x510721,'attributes':{'data-change-id':_0x56e45e}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x119b1e=>{_0x119b1e['on']('element:pre',(_0x1b80f5,_0x22e7f2,_0xd6f877)=>{const _0x449918=_0x22e7f2['viewItem']['getChild'](0x0);if(!_0x449918||!_0x449918['is']('element','code'))return;if(!_0xd6f877['consumable']['consume'](_0x449918,{'attributes':['vid_start','vid_end']}))return;const _0x19ae93=_0x22e7f2['modelRange']['start']['nodeAfter'];_0xd6f877['writer']['setAttribute']('vid_start',_0x449918['getAttribute']('vid_start'),_0x19ae93),_0xd6f877['writer']['setAttribute']('vid_end',_0x449918['getAttribute']('vid_end'),_0x19ae93);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4360b2=>{_0x4360b2['on']('element',(_0x30cdba,_0x3ac38b,_0x56e665)=>{if(!_0x56e665['consumable']['consume'](_0x3ac38b['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3ac38b['modelRange']['isCollapsed'])return;const _0x54a0ee=_0x3ac38b['modelRange']['start']['nodeAfter'];_0x54a0ee['hasAttribute']('vid_start')||_0x54a0ee['hasAttribute']('vid')||(_0x56e665['writer']['setAttribute']('vid_start',_0x3ac38b['viewItem']['getAttribute']('vid_start'),_0x54a0ee),_0x56e665['writer']['setAttribute']('vid_end',_0x3ac38b['viewItem']['getAttribute']('vid_end'),_0x54a0ee));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x32ba18=>_0x32ba18['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x217077,[,_0x512c84])=>{['vid_start','vid_end','vid']['includes'](_0x512c84)&&(_0x217077['return']=!0x0,_0x217077['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4ca77b=>{_0x4ca77b['on']('attribute:vid',(_0x446bcf,_0x3c02b7,_0x363470)=>{if('\x20'!=_0x3c02b7['item']['data']||_0x3c02b7['item']['parent']['maxOffset']>0x1)return;if(!_0x363470['consumable']['consume'](_0x3c02b7['item'],_0x446bcf['name']))return;const _0x76b415=_0x363470['writer'],_0x4d9b41=_0x363470['mapper']['toViewRange'](_0x3c02b7['range']);_0x76b415['wrap'](_0x4d9b41,_0x76b415['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2c4b9f){const _0x34f600=_0x2c4b9f['plugins']['get']('RevisionViewer');return(_0xf8833c,_0x5a541c,_0x16f1b6)=>{const _0x399e48=_0x5a541c['markerName']['split'](':')[0x1],_0x1da347=_0x34f600['_getChangeFromId'](_0x399e48);if(!_0x1da347)return null;const _0x11567d='add'==_0x1da347['type']?'split':'merge';if(!_0x16f1b6['consumable']['test'](_0x5a541c['markerRange'],_0xf8833c['name']))return;const _0x489f39=_0x5a541c['markerRange']['getWalker'](),_0x2c855f=_0x5a541c['markerRange']['start'],_0x525bba=_0x2c4b9f['model']['schema'];let _0x3a6c3f=null,_0x32abc2=null,_0x34d5df=!0x1,_0x2b4ce8=!0x1;for(const _0x4fb07d of _0x489f39){const _0x42e8e2=_0x4fb07d['item'];_0x34d5df=_0x34d5df||_0x525bba['isContent'](_0x42e8e2);const _0x411d00=_0x16f1b6['mapper']['toViewElement'](_0x42e8e2);if(_0x411d00&&_0x411d00['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4fb07d['type']&&(_0x525bba['isBlock'](_0x42e8e2)&&!_0x525bba['isLimit'](_0x42e8e2)&&(_0x42e8e2['nextSibling']||_0x2c855f['isAtEnd']?_0x3a6c3f&&_0x3a6c3f['parent']==_0x42e8e2||(_0x3a6c3f=_0x42e8e2,_0x3c75e1(_0x4fb07d['previousPosition']),_0x2b4ce8=!0x0):_0x32abc2=_0x32abc2||_0x4fb07d['previousPosition']));}function _0x3c75e1(_0x3229d4){const _0x3505b8=_0x16f1b6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x11567d}),_0x40f843=_0x16f1b6['mapper']['toViewPosition'](_0x3229d4);_0x1da347['data']['isSuggestion']&&_0x16f1b6['writer']['addClass']('ck-suggestion-marker-'+_0x11567d+'-new',_0x3505b8),_0x34f600['activeChange']==_0x1da347&&_0x16f1b6['writer']['addClass']('ck-suggestion-marker--active',_0x3505b8),_0x16f1b6['writer']['insert'](_0x40f843,_0x3505b8),_0x16f1b6['mapper']['bindElementToMarker'](_0x3505b8,_0x5a541c['markerName']);}_0x34d5df||_0x2b4ce8||!_0x32abc2||_0x3c75e1(_0x32abc2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x371774,_0x58de1b,_0x15a7ef)=>{const _0x5452ce=_0x15a7ef['mapper']['markerNameToElements'](_0x58de1b['markerName']);if(_0x5452ce){for(const _0x588461 of _0x5452ce)(_0x588461['hasClass']('ck-suggestion-marker-split')||_0x588461['hasClass']('ck-suggestion-marker-merge'))&&(_0x15a7ef['mapper']['unbindElementFromMarkerName'](_0x588461,_0x58de1b['markerName']),_0x15a7ef['writer']['remove'](_0x588461));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2be7df,_0x71cb77,_0x2401b0)=>{const _0x21aad4=_0x71cb77['markerName']['split'](':')[0x1],_0x516db3=this['_getChangeFromId'](_0x21aad4);if(!_0x516db3)return null;const _0x5384a2='add'==_0x516db3['type']?'split':'merge';if(_0x2401b0['consumable']['test'](_0x71cb77['markerRange'],_0x2be7df['name']))for(const _0x4d3b4b of _0x71cb77['markerRange']['getItems']()){if(!_0x4d3b4b['is']('element','softBreak'))continue;const _0x548f21=_0x2401b0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x5384a2}),_0x5d44db=_0x2401b0['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4d3b4b));_0x516db3['data']['isSuggestion']&&_0x2401b0['writer']['addClass']('ck-suggestion-marker-'+_0x5384a2+'-new',_0x548f21),this['activeChange']==_0x516db3&&_0x2401b0['writer']['addClass']('ck-suggestion-marker--active',_0x548f21),_0x2401b0['writer']['insert'](_0x5d44db,_0x548f21),_0x2401b0['mapper']['bindElementToMarker'](_0x548f21,_0x71cb77['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x16b3cd=>{for(const _0x417de9 of this['editor']['model']['document']['getRootNames']()){const _0x2144a1=this['editor']['model']['document']['getRoot'](_0x417de9),_0x2aa120=this['editor']['editing']['view']['document']['getRoot'](_0x417de9);if(_0x2aa120){const _0x2d3a61=_0x2144a1['getAttribute']('revisionHistoryAttachChange');if(_0x16b3cd['removeAttribute']('data-change-id',_0x2aa120),_0x16b3cd['removeClass']('ck-revision-history-root-add',_0x2aa120),_0x16b3cd['removeClass']('ck-revision-history-root-remove',_0x2aa120),_0x16b3cd['removeClass']('ck-revision-history-root--active',_0x2aa120),_0x2d3a61){const _0x20284e=this['_getChangeFromId'](_0x2d3a61);if(!_0x20284e)return null;_0x16b3cd['setAttribute']('data-change-id',_0x2d3a61,_0x2aa120),_0x16b3cd['addClass']('ck-revision-history-root-'+_0x20284e['type'],_0x2aa120),this['activeChange']==_0x20284e&&_0x16b3cd['addClass']('ck-revision-history-root--active',_0x2aa120);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x29fb73=>'revision-comment:'+_0x29fb73,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x12f5f3=>'revision-suggestion:'+_0x12f5f3,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x38290d=>({'name':'suggestion:'+_0x38290d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2dfc04=>{const _0x143dcf=_0x2dfc04['markerName']['split'](':')[0x1];return'insertion'!=_0x143dcf&&'deletion'!=_0x143dcf?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x143dcf]};}}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:deletion',et(this['editor'],'merge'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision-suggestion:insertion',et(this['editor'],'split'),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision-suggestion',(_0xf80b1,_0x341fea,_0x20acee)=>{const _0x67969b=_0x20acee['mapper']['markerNameToElements'](_0x341fea['markerName']);if(_0x67969b){for(const _0x214ea7 of _0x67969b)_0x214ea7['is']('uiElement')&&(_0x20acee['mapper']['unbindElementFromMarkerName'](_0x214ea7,_0x341fea['markerName']),_0x20acee['writer']['remove'](_0x214ea7));}},{'priority':'high'});}['_getChangeFromId'](_0x5848b9){return this['_changeIdToChange']['get'](_0x5848b9);}['_getViewForChange'](_0x2ef17c){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2ef17c),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x243301,_0x4036cf,_0xaf3c9d,_0x4c77ac)=>{_0x4c77ac&&this['_balloon']['remove'](_0x4c77ac),_0xaf3c9d&&(this['_balloon']['add']({'view':_0xaf3c9d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x3cab54=this['editor']['editing'],_0xca231e=this['_getChangeFromId'](_0xaf3c9d['changeId']);let _0x13a0b0;if(_0xca231e['data']['isOnRoot']){const _0x9072fc=_0x3cab54['view']['getDomRoot'](_0xca231e['rootName']);_0x13a0b0=Array['from'](_0x9072fc['getClientRects']());}else{const _0x219002=this['editor']['model']['markers']['get']('revision:'+_0xaf3c9d['changeId']);_0x13a0b0=Array['from'](_0x3cab54['mapper']['markerNameToElements'](_0x219002['name']))['map'](_0x1184b1=>_0x3cab54['view']['domConverter']['mapViewToDom'](_0x1184b1))['map'](_0x13de57=>Array['from'](_0x13de57['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x13a0b0[0x0];return _0x13a0b0['find'](_0x5d70dd=>_0x5d70dd['top']-0x3<=this['_activeViewTarget']['y']&&_0x5d70dd['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5d70dd['left']-0x3<=this['_activeViewTarget']['x']&&_0x5d70dd['right']+0x3>=this['_activeViewTarget']['x'])||_0x13a0b0[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x97297f,_0x531315,_0x1eb158,_0x2a32f0)=>{this['activeView']=_0x1eb158?this['_getViewForChange'](_0x1eb158):null,this['editor']['model']['change'](()=>{const _0x1cba89=this['editor']['editing'];_0x2a32f0&&(_0x2a32f0['data']['isOnRoot']?_0x1cba89['view']['change'](_0x366c50=>{_0x366c50['removeClass']('ck-revision-history-root--active',_0x1cba89['view']['document']['getRoot'](_0x2a32f0['rootName']));}):_0x1cba89['reconvertMarker']('revision:'+_0x2a32f0['id'])),_0x1eb158&&(_0x1eb158['data']['isOnRoot']?_0x1cba89['view']['change'](_0x688301=>{_0x688301['addClass']('ck-revision-history-root--active',_0x1cba89['view']['document']['getRoot'](_0x1eb158['rootName']));}):_0x1cba89['reconvertMarker']('revision:'+_0x1eb158['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5a6d5a,_0x27d494)=>{if(this['activeChange'])return;const _0x17055c=this['_findChangeIdFromDomTarget'](_0x27d494['target']),_0x3e9066=this['_changeIdToChange']['get'](_0x17055c);_0x3e9066?(this['_activeViewTarget']={'x':_0x27d494['domEvent']['x'],'y':_0x27d494['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x3e9066)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x28bf86,_0x5d0dbe)=>{const _0x4c8dc4=this['_findChangeIdFromDomTarget'](_0x5d0dbe['target']),_0x6d0647=this['_changeIdToChange']['get'](_0x4c8dc4);_0x6d0647?(this['_activeViewTarget']={'x':_0x5d0dbe['domEvent']['x'],'y':_0x5d0dbe['domEvent']['y']},_0x6d0647===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x6d0647):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x289cff){do{const _0x48c2d8=_0x289cff['getAttribute']('data-change-id');if(_0x48c2d8)return _0x48c2d8;_0x289cff=_0x289cff['parent'];}while(_0x289cff);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x570654=>{for(const _0x4bb3e1 of this['editor']['model']['markers'])_0x570654['removeMarker'](_0x4bb3e1);});}}function et(_0x559baa,_0xe659e7){return(_0x265c5b,_0x23ba02,_0x336eb9)=>{if(!_0x336eb9['consumable']['test'](_0x23ba02['markerRange'],_0x265c5b['name']))return;const _0x43eb3a=_0x23ba02['markerRange']['getWalker'](),_0x2d018e=_0x23ba02['markerRange']['start'],_0x291178=_0x559baa['model']['schema'];let _0x478620=null,_0x5b19c2=null,_0x27d84f=!0x1,_0x1717cb=!0x1;for(const _0x1d330f of _0x43eb3a){const _0x152060=_0x1d330f['item'];_0x27d84f=_0x27d84f||_0x291178['isContent'](_0x152060);const _0x2c218c=_0x336eb9['mapper']['toViewElement'](_0x152060);if(_0x2c218c&&_0x2c218c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1d330f['type']&&(_0x291178['isBlock'](_0x152060)&&!_0x291178['isLimit'](_0x152060)&&(_0x152060['nextSibling']||_0x2d018e['isAtEnd']?_0x478620&&_0x478620['parent']==_0x152060||(_0x478620=_0x152060,_0x5fbf5e(_0x1d330f['previousPosition']),_0x1717cb=!0x0):_0x5b19c2=_0x5b19c2||_0x1d330f['previousPosition']));}function _0x5fbf5e(_0x2715a7){const _0x101711=_0x336eb9['mapper']['toViewPosition'](_0x2715a7),_0x3b5ab0=_0x336eb9['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xe659e7});_0x336eb9['writer']['insert'](_0x101711,_0x3b5ab0),_0x336eb9['mapper']['bindElementToMarker'](_0x3b5ab0,_0x23ba02['markerName']);}_0x27d84f||_0x1717cb||!_0x5b19c2||_0x5fbf5e(_0x5b19c2);};}class bt extends _0x5779c7{constructor(_0x134382){super(_0x134382);const _0x30a307=_0x134382['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x30a307,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x30a307,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x31057a=this['editor'],_0x3f0c2f=_0x31057a['plugins']['get'](d),_0x1e860a=_0x3f0c2f['isReady']?_0x3f0c2f['diff']['newRevisionId']:null;_0x31057a['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1e860a);}['refresh'](){const {isReady:_0x3d725b,isEnabled:_0x3dc92f}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x3d725b&&_0x3dc92f;}}class yt extends _0x5779c7{['_step'];constructor(_0x59bd2e,{direction:_0x231d9b}){super(_0x59bd2e);const _0x57eeef=_0x59bd2e['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x231d9b?0x1:-0x1,this['listenTo'](_0x57eeef,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x57eeef,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x57eeef,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x567b1c=this['editor'],_0x346440=_0x567b1c['plugins']['get'](d),{isNavigationMode:_0x4f5e32,currentChangeNumber:_0x225745}=_0x346440;let _0x1a83e2;if(_0x346440['activeChange']=_0x4f5e32?_0x346440['diff']['changes']['get'](_0x225745+this['_step']):_0x346440['diff']['changes']['first'],_0x346440['activeChange']['data']['isOnRoot'])_0x1a83e2=_0x567b1c['editing']['view']['getDomRoot'](_0x346440['activeChange']['rootName']);else{const _0x14f8f0=_0x567b1c['model']['markers']['get']('revision:'+_0x346440['activeChange']['id']);_0x1a83e2=_0x30781b(_0x567b1c['editing'],_0x14f8f0);}_0x118915({'target':_0x1a83e2,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5d60f0,currentChangeNumber:_0x1d8867,numberOfChanges:_0x206147,isReady:_0x3ed9c2,isEnabled:_0x55eb40}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x55eb40&&_0x3ed9c2&&_0x206147)&&(!_0x5d60f0||(0x1===this['_step']?_0x1d8867<_0x206147-0x1:_0x1d8867>0x0));}}class _i extends _0x5ab15a{constructor(_0x1b2f53){super(_0x1b2f53);const _0xea8b45=this['bindTemplate'],_0x292676=new _0x33eaaa(_0x1b2f53),_0x75f3a1=new _0x33eaaa(_0x1b2f53);this['set']('isNavigationMode',!0x1),this['set']('isReady',!0x1),this['set']('currentChangeNumber',0x0),this['set']('numberOfChanges',0x0),this['set']('isForwardNavigationEnabled',!0x1),this['set']('isBackwardNavigationEnabled',!0x1),this['bind']('_isStatusLabelVisible')['to'](this,'isReady',this,'numberOfChanges',(_0x2febb0,_0x59c149)=>_0x2febb0&&_0x59c149>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xd66e07,_0x396e75,_0x2e3eab,_0x145e5b)=>{if(!_0xd66e07)return y(_0x1b2f53,'Loading...');if(!_0x2e3eab)return y(_0x1b2f53,'No\x20changes');const _0x3513e6=y(_0x1b2f53,'NUMBER_OF_CHANGES',_0x2e3eab);return _0x145e5b?y(_0x1b2f53,'X_OF_Y_CHANGES',[_0x396e75+0x1,_0x2e3eab]):_0x3513e6;}),_0x292676['set']({'label':y(_0x1b2f53,'Show\x20previous\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x2014.494a.75.75\x200\x200\x200\x201.197-.899l-.067-.089-6.992-8a.75.75\x200\x200\x200-1.05-.078l-.079.078-7.008\x208a.75.75\x200\x200\x200\x201.049\x201.066l.08-.078\x206.442-7.354\x206.428\x207.354z\x22/></svg>\x0a'}),_0x75f3a1['set']({'label':y(_0x1b2f53,'Show\x20next\x20change'),'tooltip':!0x0,'icon':'<svg\x20viewBox=\x220\x200\x2020\x2020\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22><path\x20d=\x22M16.435\x205.506a.75.75\x200\x200\x201\x201.197.899l-.067.089-6.992\x208a.75.75\x200\x200\x201-1.05.078l-.079-.078-7.008-8a.75.75\x200\x200\x201\x201.049-1.066l.08.078\x206.442\x207.354\x206.428-7.354z\x22/></svg>\x0a'}),_0x292676['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x75f3a1['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x292676['on']('execute',()=>this['fire']('execute','backward')),_0x75f3a1['on']('execute',()=>this['fire']('execute','forward')),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-ui','ck-revision-history-ui__changes-navigation']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__wrapper']},'children':[{'tag':'span','attributes':{'class':['ck-revision-history-ui__changes-navigation__label',_0xea8b45['if']('_isStatusLabelVisible','ck-hidden',_0x2cf7ac=>!_0x2cf7ac)]},'children':[{'text':_0xea8b45['to']('isNavigationMode',_0x158f42=>_0x158f42?y(_0x1b2f53,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x1b2f53,'Total')+':\x20')}]},{'text':_0xea8b45['to']('_statusText')}]},new _0x492735(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x292676,_0x75f3a1]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1b7a4e{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x140b96=this['editor']['editing']['view'];_0x140b96['change'](_0x1123b6=>{for(const _0x57641b of _0x140b96['document']['roots'])_0x1123b6['addClass'](ce,_0x57641b);});}['hide'](){const _0x25b1c9=this['editor']['editing']['view'];_0x25b1c9['change'](_0x4c12a1=>{for(const _0x130075 of _0x25b1c9['document']['roots'])_0x4c12a1['removeClass'](ce,_0x130075);});}}class R extends _0x1b7a4e{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x559489=this['editor'],_0x33ccb2=_0x559489['plugins']['get'](d),_0x2f37c1=_0x559489['plugins']['get'](de);_0x559489['ui']['componentFactory']['add']('exitToEditing',_0x33add0=>{const _0x2688a5=new _0x33eaaa(_0x33add0);return _0x2688a5['set']({'label':y(_0x33add0,'Back\x20to\x20editing'),'icon':_0x3dd9b1['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2688a5,'execute',()=>{_0x559489['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2688a5;}),_0x559489['ui']['componentFactory']['add']('restoreRevision',_0x194733=>{const _0x5a303f=new _0x33eaaa(_0x194733);return _0x5a303f['set']({'label':y(_0x194733,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x5a303f['bind']('isEnabled')['to'](_0x559489['commands']['get']('restoreRevision')),this['listenTo'](_0x5a303f,'execute',()=>_0x559489['execute']('restoreRevision')),_0x5a303f;}),_0x559489['ui']['componentFactory']['add']('changesNavigation',_0x1df8c0=>{const _0x2392b0=new _i(_0x1df8c0),_0x1263f7=_0x559489['commands']['get']('showPreviousChange'),_0x42cc30=_0x559489['commands']['get']('showNextChange');return _0x2392b0['bind']('isBackwardNavigationEnabled')['to'](_0x1263f7,'isEnabled'),_0x2392b0['bind']('isForwardNavigationEnabled')['to'](_0x42cc30,'isEnabled'),_0x2392b0['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x33ccb2),this['listenTo'](_0x2392b0,'execute',(_0x59ecc2,_0x2c5306)=>{_0x559489['execute']('forward'===_0x2c5306?'showNextChange':'showPreviousChange');}),_0x2392b0;}),_0x2f37c1['show'](),_0x33ccb2['on']('change:isReady',(_0x5feb7,_0x46e04a,_0x57386d)=>{_0x57386d?_0x2f37c1['hide']():_0x2f37c1['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x256fe1,_0x5abf36){super(_0x256fe1,_0x5abf36);const _0x351bb6=this['bindTemplate'];this['set']({'label':y(_0x256fe1,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x256fe1,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x351bb6['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}['render'](){super['render'](),this['_resizeObserver']=new mt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x23a04a=this['fieldView']['element'];this['_tooltipString']=_0x23a04a['scrollWidth']>_0x23a04a['clientWidth']&&_0x23a04a['value']||'';}}class ti extends _0x5ab15a{constructor(_0x59cadb,_0x48bc40,_0x3033d2){super(_0x59cadb);const _0x5c93ef=new _0x1506e2();_0x5c93ef['set']({'content':'<svg\x20viewBox=\x220\x200\x2011\x2010\x22\x20xmlns=\x22http://www.w3.org/2000/svg\x22\x20xmlns:xlink=\x22http://www.w3.org/1999/xlink\x22><path\x20d=\x22M5.5\x205C8.538\x205\x2011\x207.015\x2011\x209.5c0\x20.17-.011.336-.034.5H.034A3.732\x203.732\x200\x200\x201\x200\x209.5C0\x207.015\x202.462\x205\x205.5\x205zm0-5a2.5\x202.5\x200\x201\x201\x200\x205\x202.5\x202.5\x200\x200\x201\x200-5z\x22\x20/></svg>\x0a','viewBox':'0\x200\x2011\x2010'});const _0x5c4a28=['ck','ck-revision-history-sidebar__revision-author'];_0x3033d2&&_0x5c4a28['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1c2ca7=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x59cadb,_0x3033d2?'Revision\x20creator':'Revision\x20author')},'children':[_0x5c93ef,_0x48bc40['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5c4a28},'children':_0x1c2ca7});}}function ni(_0x339073,_0x2d5750){const _0x1d46a2=_0x339073['bindTemplate'],_0x1a553f=_0x339073['locale'],_0x1921dd=_0x2d15dd(_0x1a553f);_0x1921dd['panelPosition']='sw';const _0x4fe0d5=function(_0x1add77,_0x4728db){const _0x3e5694=function(_0x4b31fe,_0x152f21){const _0xb2d19=_0x4b31fe['locale'],_0x1b4b1d={'Compare\x20against\x20selected':y(_0xb2d19,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0xb2d19,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0xb2d19,'Restore\x20this\x20revision')};return _0x152f21['map'](_0x5b0054=>{const _0xe277ff=_0x1b4b1d[_0x5b0054['name']];return _0xe277ff&&_0xe277ff!==_0x5b0054['name']&&(_0x5b0054['name']=_0xe277ff),_0x5b0054;});}(_0x1add77,_0x4728db),_0x263dac=new _0x2828e8();for(const _0x5efa0c of _0x3e5694){const _0x4b8f7d={'type':'button','model':new to({'label':_0x5efa0c['name'],'class':_0x5efa0c['class'],'withText':!0x0,'role':'menuitem','_action':_0x5efa0c['action']})};_0x4b8f7d['model']['bind']('isEnabled')['to'](_0x1add77,'isActionsDropdownOpen',_0x5a3b0a=>'function'!=typeof _0x5efa0c['isEnabled']||(!_0x5a3b0a||_0x5efa0c['isEnabled'](_0x1add77))),_0x263dac['add'](_0x4b8f7d);}return _0x263dac;}(_0x339073,_0x2d5750);return _0x339073['bind']('isActionsDropdownOpen')['to'](_0x1921dd,'isOpen'),_0x1921dd['buttonView']['set']({'label':y(_0x1a553f,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3dd9b1['threeVerticalDots']}),_0x1921dd['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1d46a2['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1d46a2['to'](_0x13eea2=>_0x13eea2['stopPropagation']())}}),_0x1921dd['on']('execute',_0x1b696c=>{_0x339073['isReady']&&'function'==typeof _0x1b696c['source']['_action']&&_0x1b696c['source']['_action'](_0x339073);}),_0x1a986a(_0x1921dd,_0x4fe0d5,{'role':'menu'}),_0x1921dd['listenTo'](_0x339073,'change:isActionsDropdownOpen',(_0xb034ae,_0x41af6d,_0x192f24)=>{if(_0x192f24)for(const _0x13644c of _0x1921dd['listView']['items']){const _0x4bdf39=_0x13644c['children']['first'],_0x5c281a=_0x2d5750['find'](_0x376551=>_0x376551['action']===_0x4bdf39['_action'])['isVisible'];_0x13644c['isVisible']=void 0x0===_0x5c281a||_0x5c281a(_0x339073);}}),_0x1921dd;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x138e0e(_0x5ab15a){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x2250ad,_0x58f258,_0x415ad5,_0xc3ad6d){super(_0x2250ad);const _0x16c1d0=this['bindTemplate'],_0x27fd7c=function(_0x2c5f29,_0x3d6177){const _0xdcaf0e=Array['from'](_0x3d6177['authors'])['filter'](_0x5754dd=>_0x5754dd!=_0x3d6177['creator']);return _0x3d6177['creator']&&_0xdcaf0e['unshift'](_0x3d6177['creator']),_0xdcaf0e['map'](_0x19db0f=>new ti(_0x2c5f29,_0x19db0f,_0x19db0f==_0x3d6177['creator']));}(_0x2250ad,_0x58f258);this['id']=_0x58f258['id'],this['_revision']=_0x58f258,this['_requireRevisionName']=_0xc3ad6d,this['bind']('name','createdAt')['to'](_0x58f258),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x600711=>{return _0x3a05ba=_0x2250ad['uiLanguage'],(_0x8e71da=_0x600711)['toLocaleDateString'](_0x3a05ba,{'month':'long','day':'numeric'})+',\x20'+_0x8e71da['toLocaleTimeString'](_0x3a05ba,{'hour':'numeric','minute':'numeric'});var _0x3a05ba,_0x8e71da;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x2250ad,_0x44a15d),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x5e05b0=>_0x5e05b0||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x43c966,_0x3b1286)=>_0x43c966&&_0x3b1286),this['revisionActionsView']=_0x415ad5&&_0x415ad5['length']?ni(this,_0x415ad5):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x16c1d0['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x16c1d0['if']('isEnabled','ck-disabled',_0x1f9c9a=>!_0x1f9c9a),_0x16c1d0['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x16c1d0['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x16c1d0['if']('isActionsDropdownOpen','ck-revision-history-sidebar__actions_dropdown_open')]},'children':[this['revisionNameView'],{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision__date']},'children':[{'text':_0x16c1d0['to']('_createdAtFormatted')}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__revision__controls-wrapper']},'children':[{'tag':'ul','attributes':{'class':['ck','ck-revision-history-sidebar__revision-authors']},'children':_0x27fd7c}]},this['revisionActionsView']],'on':{'click':_0x16c1d0['to'](_0x19510a=>{_0x19510a['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x33650e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x33650e,'change',()=>{this['_requireRevisionName']&&!_0x33650e['value']||this['fire']('setName',{'id':this['id'],'name':_0x33650e['value']}),_0x33650e['value']||(_0x33650e['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}}function di(_0x36f044,_0x496ef7){const _0x445d9c=_0x164735['fromJSDate'](_0x36f044)['setLocale'](_0x496ef7),_0x32ce92=_0x164735['local'](),_0x29aa5a=_0x32ce92['minus']({'days':0x1})['startOf']('day');let _0x4a5b82,_0x298e4e;return _0x445d9c['hasSame'](_0x32ce92,'day')?(_0x4a5b82=_0x445d9c['startOf']('day')['toJSDate'](),_0x298e4e=_0x445d9c['toRelativeCalendar']()):_0x445d9c['hasSame'](_0x29aa5a,'day')?(_0x4a5b82=_0x29aa5a['toJSDate'](),_0x298e4e=_0x445d9c['toRelativeCalendar']()):_0x445d9c['hasSame'](_0x32ce92,'week')?(_0x4a5b82=_0x445d9c['startOf']('week')['toJSDate'](),_0x298e4e=_0x445d9c['weekdayLong']||''):_0x445d9c['hasSame'](_0x32ce92,'year')?(_0x4a5b82=_0x445d9c['startOf']('month')['toJSDate'](),_0x298e4e=_0x445d9c['monthLong']||''):(_0x4a5b82=_0x445d9c['startOf']('year')['toJSDate'](),_0x298e4e=String(_0x445d9c['year'])),{'startDate':_0x4a5b82,'localizedPeriodName':_0x298e4e};}class mi extends _0x5ab15a{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x329f1a,_0x5920f8,_0x575020,_0x412f16){super(_0x329f1a);const _0x4dd18a=di(_0x5920f8,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x5920f8,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x575020,this['_requireRevisionName']=_0x412f16,this['revisionViews']['delegate']('select')['to'](this),this['revisionViews']['delegate']('setName')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period']},'children':[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__label']},'children':[{'text':_0x4dd18a}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x509c1a){const _0x427443=new ai(this['locale'],_0x509c1a,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x427443);}['removeRevision'](_0x28186b){const _0x5645cb=this['revisionViews']['find'](_0x4523e4=>_0x4523e4['id']===_0x28186b['id']);this['revisionViews']['remove'](_0x5645cb);}}class as extends _0x5ab15a{constructor(_0x4c390c){super(_0x4c390c);const _0x468c4e=new _0x1506e2();_0x468c4e['content']=_0x3dd9b1['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x468c4e,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x4c390c,'Revision\x20history')]}]});}}class ci extends _0x5ab15a{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2b019e,_0x3bda8b,_0x5e1de0,_0x2453d5){super(_0x2b019e);const _0x25bd10=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x3bda8b,this['_revisionActions']=_0x5e1de0,this['_requireRevisionName']=_0x2453d5,this['on']('select',(_0x2c1ee5,_0x15ccce)=>{this['fire']('revisionSelected',_0x15ccce);}),this['on']('setName',(_0x42d326,_0x47ad7e)=>{this['fire']('revisionSetName',_0x47ad7e);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2b019e),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x25bd10['if']('isEnabled','ck-disabled',_0x35ffd6=>!_0x35ffd6)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x2d13b1 of this['_revisions'])this['_addRevision'](_0x2d13b1);this['_revisions']['on']('add',(_0x1f18f2,_0x3487e8)=>{this['_addRevision'](_0x3487e8);}),this['_revisions']['on']('remove',(_0x2f5346,_0x554a0a)=>{this['_removeRevision'](_0x554a0a);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0xf483e8=>_0xf483e8['revisionViews']['map'](_0x34cb06=>_0x34cb06))['flat']();}['selectRevision'](_0x528cb1){for(const _0x1b5b56 of this['revisionViews'])_0x528cb1&&_0x528cb1['id']===_0x1b5b56['id']?_0x1b5b56['select']():_0x1b5b56['deselect']();}['highlightRevisions'](_0xb3147f){for(const _0x56f55a of this['revisionViews'])_0xb3147f['some'](({id:_0x442c79})=>_0x442c79===_0x56f55a['id'])?_0x56f55a['highlight']():_0x56f55a['unhighlight']();}['_addRevision'](_0x48b87c){const _0x58df8b=di(_0x48b87c['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x11d447=this['timePeriodViews']['get'](0x0);_0x11d447&&_0x11d447['startDate']['getTime']()===_0x58df8b['getTime']()||(_0x11d447=new mi(this['locale'],_0x58df8b,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x11d447)),_0x11d447['addRevision'](_0x48b87c);}['_removeRevision'](_0x1c282a){const _0x3ea6a8=di(_0x1c282a['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3ea6a8)['removeRevision'](_0x1c282a);}['_getTimePeriodViewByStartDate'](_0x2aee38){return this['timePeriodViews']['find'](_0x52862e=>_0x52862e['startDate']['getTime']()===_0x2aee38['getTime']());}}class w extends _0x1b7a4e{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0xee79cb,Context as _0x2027e3,PendingActions as _0x509a9a,icons as _0x3b7ecd,Command as _0x245988,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x46cb4a,uid as _0x568989,Collection as _0x434d0f,logWarning as _0x770da,FocusTracker as _0x465f97,KeystrokeHandler as _0x519b9e,scrollViewportToShowTarget as _0x177ae4,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2c92b8}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2d5e99,getMarkerDomElement as _0xc859b5,ConfirmMixin as _0x18ffcb,sanitizeEditorConfig as _0x266ef1}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x34decc,ViewText as _0x39beba,ViewElement as _0x37dc27,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x24f7e9,ViewAttributeElement as _0x1df8b6,ViewEmptyElement as _0x216218,ViewRawElement as _0x34adc1,ViewUIElement as _0x4a8255,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x46fb8d,set as _0x242e7f,unset as _0x5645e3,isEqual as _0x93c961}from'lodash-es';import{View as _0x4c66c7,injectCssTransitionDisabler as ts,submitHandler as _0x4061f4,LabeledFieldView as at,createLabeledInputText as _0x1bf9e4,createDropdown as _0x33b498,ListView as te,ListItemView as _0x36c027,ButtonView as _0x511aaa,MenuBarMenuView as _0xda99a7,MenuBarMenuListView as _0x503e21,MenuBarMenuListItemView as _0x292e66,MenuBarMenuListItemButtonView as _0x599b74,ContextualBalloon as _0xb8503e,ToolbarSeparatorView as _0x40a6df,IconView as _0x4ec22e,addListToDropdown as _0x232492,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 _0x156d97}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x46cb4a(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x35e5e1){super(),this['id']=_0x35e5e1['id']||_0x568989(),this['creator']=_0x35e5e1['creator']||null,this['authors']=_0x35e5e1['authors']||[],this['diffData']=_0x35e5e1['diffData']||null,this['toVersion']=_0x35e5e1['toVersion']||0x0,this['fromVersion']=_0x35e5e1['fromVersion']||0x0,this['set']('name',_0x35e5e1['name']||''),this['set']('createdAt',_0x35e5e1['createdAt']||new Date()),this['set']('attributes',_0x35e5e1['attributes']||{});}['setName'](_0x1d1618){this['_update']({'name':_0x1d1618});}['setAttribute'](_0x5e3f56,_0x248e38){const _0x38eec7=_0x46fb8d(this['attributes']);_0x242e7f(_0x38eec7,_0x5e3f56,_0x248e38),this['_update']({'attributes':_0x38eec7});}['removeAttribute'](_0x36791e){const _0x9c5b62=_0x46fb8d(this['attributes']);_0x5645e3(_0x9c5b62,_0x36791e),this['_update']({'attributes':_0x9c5b62});}['_update'](_0x49f22b,_0x1a591f=!0x1){let _0x3724a6=!0x1;const _0x15b94c={'id':this['id']},_0x4b9c3a=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0xeec4c5 of _0x4b9c3a){const _0x223323=_0x49f22b[_0xeec4c5];void 0x0!==_0x223323&&_0x223323!==this[_0xeec4c5]&&(this[_0xeec4c5]=_0x223323,_0x15b94c[_0xeec4c5]=_0x223323,_0x3724a6=!0x0);}_0x3724a6&&(_0x15b94c['authors']&&(_0x15b94c['authorsIds']=_0x15b94c['authors']['map'](_0x514dc4=>_0x514dc4['id']),delete _0x15b94c['authors']),this['fire']('_update',_0x15b94c,_0x1a591f));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x527c45=>_0x527c45['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0xee79cb{['_revisions'];static get['requires'](){return[_0x2d5e99];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x292de0){super(_0x292de0),this['_revisions']=new _0x434d0f();}['afterInit'](){!function(_0x25bd8a){function _0x204db3(_0x3e3bc5,_0xd793cf,_0x4af623){const _0x224698={};_0x224698[_0x5c8915([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x224698[_0x5c8915([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],_0x224698[_0x5c8915([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],_0x224698[_0x5c8915([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],_0x224698[_0x5c8915([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],_0x224698[_0x5c8915([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],_0x224698[_0x5c8915([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],_0x224698[_0x5c8915([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],_0x224698[_0x5c8915([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],_0x224698[_0x5c8915([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],_0x224698[_0x5c8915([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 _0x1b4a7=new Uint8Array(0x10);for(let _0x46adb7=0xf;_0x46adb7>=0x0;--_0x46adb7)_0x1b4a7[_0x46adb7]=_0x4af623%0x100,_0x4af623=parseInt(_0x4af623/0x100);let _0x36b209=null,_0x8c4cd2=0x10;const _0x1f3a11=new Uint8Array(_0xd793cf),_0x10a575=[],_0x1292ab=[];_0x41d31f();for(let _0x53236c=0x0;_0x53236c<_0x3e3bc5[_0x5c8915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53236c++)0x10===_0x8c4cd2&&(_0x36b209=_0x11b8b5(_0x1b4a7),_0x8c4cd2=0x0,_0x4cbd26(_0x1b4a7)),_0x3e3bc5[_0x53236c]^=_0x36b209[_0x8c4cd2++];return _0x3e3bc5;function _0x1cddd4(_0x2017bb){const _0x26c4b2=[];for(let _0x4da556=0x0;_0x4da556<_0x2017bb[_0x5c8915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4da556+=0x4)_0x26c4b2[_0x5c8915([0x70,0x75,0x73,0x68])](_0x2017bb[_0x4da556]<<0x18|_0x2017bb[_0x4da556+0x1]<<0x10|_0x2017bb[_0x4da556+0x2]<<0x8|_0x2017bb[_0x4da556+0x3]);return _0x26c4b2;}function _0x4cbd26(_0x422f1a){for(let _0x4305c5=0xf;_0x4305c5>=0x0;_0x4305c5--){if(0xff!==_0x422f1a[_0x4305c5]){_0x422f1a[_0x4305c5]++;break;}_0x422f1a[_0x4305c5]=0x0;}}function _0x11b8b5(_0x29f66d){const _0x27062f=_0x10a575[_0x5c8915([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x479044=[0x0,0x0,0x0,0x0];let t=_0x1cddd4(_0x29f66d);for(let _0x4e8ded=0x0;_0x4e8ded<0x4;_0x4e8ded++)t[_0x4e8ded]^=_0x10a575[0x0][_0x4e8ded];for(let _0x40f927=0x1;_0x40f927<_0x27062f;_0x40f927++){for(let _0xb81bc4=0x0;_0xb81bc4<0x4;_0xb81bc4++)_0x479044[_0xb81bc4]=_0x224698[_0x5c8915([0x54,0x31])][t[_0xb81bc4]>>0x18&0xff]^_0x224698[_0x5c8915([0x54,0x32])][t[(_0xb81bc4+0x1)%0x4]>>0x10&0xff]^_0x224698[_0x5c8915([0x54,0x33])][t[(_0xb81bc4+0x2)%0x4]>>0x8&0xff]^_0x224698[_0x5c8915([0x54,0x34])][0xff&t[(_0xb81bc4+0x3)%0x4]]^_0x10a575[_0x40f927][_0xb81bc4];t=_0x479044[_0x5c8915([0x73,0x6c,0x69,0x63,0x65])]();}const _0x315425=new Uint8Array(0x10);let _0xbefeed;for(let _0x5b255d=0x0;_0x5b255d<0x4;_0x5b255d++)_0xbefeed=_0x10a575[_0x27062f][_0x5b255d],_0x315425[0x4*_0x5b255d]=0xff&(_0x224698[_0x5c8915([0x53])][t[_0x5b255d]>>0x18&0xff]^_0xbefeed>>0x18),_0x315425[0x4*_0x5b255d+0x1]=0xff&(_0x224698[_0x5c8915([0x53])][t[(_0x5b255d+0x1)%0x4]>>0x10&0xff]^_0xbefeed>>0x10),_0x315425[0x4*_0x5b255d+0x2]=0xff&(_0x224698[_0x5c8915([0x53])][t[(_0x5b255d+0x2)%0x4]>>0x8&0xff]^_0xbefeed>>0x8),_0x315425[0x4*_0x5b255d+0x3]=0xff&(_0x224698[_0x5c8915([0x53])][0xff&t[(_0x5b255d+0x3)%0x4]]^_0xbefeed);return _0x315425;}function _0x41d31f(){const _0xa236fd=_0x224698[_0x5c8915([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x1f3a11[_0x5c8915([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x3c6f32=0x0;_0x3c6f32<=_0xa236fd;_0x3c6f32++)_0x10a575[_0x5c8915([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1292ab[_0x5c8915([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x21151d=0x4*(_0xa236fd+0x1),_0xabd843=_0x1f3a11[_0x5c8915([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x40eec4=_0x1cddd4(_0x1f3a11);let _0x33b8ec;for(let _0x20d514=0x0;_0x20d514<_0xabd843;_0x20d514++)_0x33b8ec=_0x20d514>>0x2,_0x10a575[_0x33b8ec][_0x20d514%0x4]=_0x40eec4[_0x20d514],_0x1292ab[_0xa236fd-_0x33b8ec][_0x20d514%0x4]=_0x40eec4[_0x20d514];let _0x2e4d40,_0x2d8b79=0x0,t=_0xabd843;for(;t<_0x21151d;){_0x2e4d40=_0x40eec4[_0xabd843-0x1],_0x40eec4[0x0]^=_0x224698[_0x5c8915([0x53])][_0x2e4d40>>0x10&0xff]<<0x18^_0x224698[_0x5c8915([0x53])][_0x2e4d40>>0x8&0xff]<<0x10^_0x224698[_0x5c8915([0x53])][0xff&_0x2e4d40]<<0x8^_0x224698[_0x5c8915([0x53])][_0x2e4d40>>0x18&0xff]^_0x224698[_0x5c8915([0x72,0x63,0x6f,0x6e])][_0x2d8b79]<<0x18,_0x2d8b79+=0x1;for(let _0x918525=0x1;_0x918525<_0xabd843/0x2;_0x918525++)_0x40eec4[_0x918525]^=_0x40eec4[_0x918525-0x1];_0x2e4d40=_0x40eec4[_0xabd843/0x2-0x1],_0x40eec4[_0xabd843/0x2]^=_0x224698[_0x5c8915([0x53])][0xff&_0x2e4d40]^_0x224698[_0x5c8915([0x53])][_0x2e4d40>>0x8&0xff]<<0x8^_0x224698[_0x5c8915([0x53])][_0x2e4d40>>0x10&0xff]<<0x10^_0x224698[_0x5c8915([0x53])][_0x2e4d40>>0x18&0xff]<<0x18;for(let _0x5d907d=_0xabd843/0x2+0x1;_0x5d907d<_0xabd843;_0x5d907d++)_0x40eec4[_0x5d907d]^=_0x40eec4[_0x5d907d-0x1];let _0x1e2bfa,_0x5dd2b4,_0x1f43f5=0x0;for(;_0x1f43f5<_0xabd843&&t<_0x21151d;)_0x1e2bfa=t>>0x2,_0x5dd2b4=t%0x4,_0x10a575[_0x1e2bfa][_0x5dd2b4]=_0x40eec4[_0x1f43f5],_0x1292ab[_0xa236fd-_0x1e2bfa][_0x5dd2b4]=_0x40eec4[_0x1f43f5++],t++;}for(let _0x5361bf=0x1;_0x5361bf<_0xa236fd;_0x5361bf++)for(let _0x4b25a1=0x0;_0x4b25a1<0x4;_0x4b25a1++)_0x2e4d40=_0x1292ab[_0x5361bf][_0x4b25a1],_0x1292ab[_0x5361bf][_0x4b25a1]=_0x224698[_0x5c8915([0x55,0x31])][_0x2e4d40>>0x18&0xff]^_0x224698[_0x5c8915([0x55,0x32])][_0x2e4d40>>0x10&0xff]^_0x224698[_0x5c8915([0x55,0x33])][_0x2e4d40>>0x8&0xff]^_0x224698[_0x5c8915([0x55,0x34])][0xff&_0x2e4d40];}}function _0x5c8915(_0x5ae2c2){return _0x5ae2c2['map'](_0x72f7fa=>String['fromCharCode'](_0x72f7fa))['join']('');}(_0x2aa3e5=>{function _0x281c20(){const _0x362c25=[{[_0x5c8915([0x69,0x64])]:0x1,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x5c8915([0x69,0x64])]:0x2,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([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]),[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c8915([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5c8915([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5c8915([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c8915([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5c8915([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5c8915([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5c8915([0x69,0x64])]:0x3,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5c8915([0x69,0x64])]:0x4,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([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]),[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c8915([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x5c8915([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x5c8915([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x5c8915([0x69,0x64])]:0x5,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([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]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c8915([0x66,0x67,0x69])]:[0xc]}},{[_0x5c8915([0x69,0x64])]:0x6,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c8915([0x66,0x67,0x69])]:[0xc]}},{[_0x5c8915([0x69,0x64])]:0x7,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c8915([0x66,0x67,0x69])]:[0xc]}},{[_0x5c8915([0x69,0x64])]:0x8,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([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]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c8915([0x66,0x67,0x69])]:[0xc]}},{[_0x5c8915([0x69,0x64])]:0x9,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c8915([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x5c8915([0x69,0x64])]:0xa,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([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]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([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]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([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]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c8915([0x66,0x67,0x69])]:[0xc]}},{[_0x5c8915([0x69,0x64])]:0xb,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5c8915([0x69,0x64])]:0xc,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x5c8915([0x69,0x64])]:0xd,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c8915([0x66,0x67,0x69])]:[0xc]}},{[_0x5c8915([0x69,0x64])]:0xe,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x5c8915([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([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])},{[_0x5c8915([0x69,0x64])]:0xf,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x5c8915([0x69,0x64])]:0x10,[_0x5c8915([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x5c8915([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x5c8915([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x5c8915([0x66,0x67,0x69])]:[0xc]}}];return _0x248f28(_0x362c25),_0x362c25;function _0xd93473(_0x554fc4){return 0x1<<_0x554fc4-0x1;}function _0x248f28(_0x1df7d6){_0x1df7d6[_0x5c8915([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4251bb=>{_0x4251bb[_0x5c8915([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0xd93473(_0x4251bb[_0x5c8915([0x69,0x64])]),_0x155698(_0x4251bb)&&_0x4251bb[_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x248f28(_0x4251bb[_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x155698(_0x376c38){return _0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x376c38;}const _0x352d0f=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0xaad356=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3d06bf(_0x55ff58){const _0x22026b=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xfd765c(_0x55ff58,new Uint8Array([..._0x352d0f,..._0x22026b,..._0xaad356]));}function _0xfd765c(_0x9e55a8,_0x1fe9db){const _0x412605=_0x2af8f3(_0x9e55a8),_0xda1bfc=Array[_0x5c8915([0x66,0x72,0x6f,0x6d])](_0x539fa5(_0x412605)),_0x4c2cbd=_0xda1bfc[_0x5c8915([0x70,0x6f,0x70])](),_0x4f90d6=_0xda1bfc[_0x5c8915([0x70,0x6f,0x70])]();return _0x37ebfe(_0x204db3(_0xda1bfc,_0x1fe9db,_0x4f90d6+0x100*_0x4c2cbd));}function _0x2af8f3(_0x32b73d){const _0x26aa50=atob(_0x32b73d),[_0x1bf08f,_0x14f087]=_0x26aa50[_0x5c8915([0x73,0x70,0x6c,0x69,0x74])](_0x5c8915([0x2d]));try{if(atob(_0x14f087))return atob(_0x1bf08f);}catch(_0x11588f){}return _0x26aa50;}function _0x44671a(_0x42995d){try{const _0x16b82b=_0x3d06bf(_0x42995d),_0xd9ff3f=JSON[_0x5c8915([0x70,0x61,0x72,0x73,0x65])](_0x16b82b),_0x1e51ea=parseInt(_0xd9ff3f[_0x5c8915([0x31])]),_0x2eda79=_0xd9ff3f[_0x5c8915([0x32])]||'',_0x13f624=parseInt(_0xd9ff3f[_0x5c8915([0x33])]),_0x268ce5=parseInt(_0xd9ff3f[_0x5c8915([0x34])])||0x0,_0x565d0e=parseInt(_0xd9ff3f[_0x5c8915([0x35])])||0x0;return{[_0x5c8915([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2eda79,[_0x5c8915([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x268ce5,[_0x5c8915([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x1e51ea,[_0x5c8915([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x13f624,[_0x5c8915([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x565d0e};}catch(_0x2cf86b){return null;}}const _0x3e8b7a=_0x281c20(),_0x5e6133={[_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1757f5,[_0x5c8915([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])]:_0x2ec50c,[_0x5c8915([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])]:_0x253501},_0xcdb29d=_0x2aa3e5[_0x5c8915([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x34d85f=_0x5c8915([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2aa3e5?_0x2aa3e5['context']:_0x2aa3e5['editor'],_0x221c88=_0x5c8915([0x34,0x30,0x34,0x38,0x31,0x36,0x30,0x34]),_0x805702=_0x5c8915([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]),_0x494acc=_0x34d85f['config']['get'](_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x351356=_0x3e8b7a[_0x5c8915([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x155698)[_0x5c8915([0x66,0x69,0x6e,0x64])](_0x1f1a86=>_0x1f1a86[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xcdb29d);function _0x16246d(_0x84519c,_0x561c62){_0x5e6133[_0x561c62[_0x5c8915([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x84519c,_0x561c62),_0x561c62[_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x561c62[_0x5c8915([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x5c8915([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ce91c=>_0x3243d8(_0x34d85f,_0x3ce91c[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x5c8915([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f1ca7=>_0x16246d(_0x84519c,_0x4f1ca7));}function _0x1757f5(_0x329ef8,_0xf1b45b){_0x367d5d(_0x31c2d9(_0x329ef8,_0xf1b45b),_0xf1b45b);}function _0x2ec50c(_0x502101,_0x3970b3){function _0x3203e7(_0x500760,_0x14bd8f){try{if(_0x3243d8(_0x34d85f,_0x5c8915([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x500760){const _0x592379=_0x541309(_0x34d85f,_0x5c8915([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x5c8915([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x592379)/0x2>_0x500760[_0x5c8915([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1ac3a8(_0x14bd8f[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x31c2d9(_0x500760,_0x14bd8f);}catch(_0x4d205a){return _0x1ac3a8(_0x14bd8f[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x367d5d(_0x3203e7(_0x502101,_0x3970b3),_0x3970b3);}function _0x253501(_0x50279a,_0x214bdb){const _0x594ee4=_0xaad356[0x0]*_0x352d0f[0x1],_0x2a55ea=_0xaad356[0x0]*_0x352d0f[0x2],_0x134673=_0xaad356[0x2]*_0x352d0f[0x2];_0x3243d8(_0x34d85f,_0x5c8915([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x541309(_0x34d85f,_0x5c8915([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5c8915([0x73,0x74,0x61,0x74,0x65])]==_0x5c8915([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x4e7c42()]=_0x134673);function _0x86a565(_0x48031f,_0x34bd93){try{return _0x5904d5()?_0x1ac3a8(_0x34bd93[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x56,0x61,0x6c,0x69,0x64])):_0x31c2d9(_0x48031f,_0x34bd93);}catch(_0x5c7f28){return _0x1ac3a8(_0x34bd93[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3c23b7(_0x1b99f8,_0x3b6cf3){const _0x2b3507=0x7;if(_0x1b99f8==_0x3b6cf3[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x47ec79();else{if(_0x1b99f8==_0x3b6cf3[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x54,0x72,0x69,0x61,0x6c])){const _0x6cd314=_0x270066();_0x6cd314&&_0x4571b8(_0x6cd314,_0x3b6cf3[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3ce4d8=_0x5f1a67();window[_0x5c8915([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4571b8(_0x5c8915([0x74,0x69,0x6d,0x65]),_0x3b6cf3[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3ce4d8);const _0x490754=_0x541309(_0x34d85f,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5c8915([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x490754[_0x5c8915([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2b3507?_0x4571b8(_0x5c8915([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3b6cf3[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x490754['on'](_0x5c8915([0x61,0x64,0x64]),()=>{_0x490754[_0x5c8915([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x2b3507&&_0x4571b8(_0x5c8915([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3b6cf3[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x270066(){if(!_0x3243d8(_0x34d85f,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3db3c6 in window)if(Number['isNaN'](Number(_0x3db3c6))){if(window[_0x3db3c6]===_0x594ee4)return _0x5c8915([0x74,0x69,0x6d,0x65]);if(window[_0x3db3c6]===_0x2a55ea)return _0x5c8915([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5904d5(){if(!_0x3243d8(_0x34d85f,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4b0582 in window)if(Number['isNaN'](Number(_0x4b0582))&&window[_0x4b0582]===_0x134673)return!0x0;return!0x1;}function _0x4571b8(_0x252286,_0x4392f9){_0x47ec79(),_0x1ac3a8(_0x4392f9+_0x5c8915([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x252286),window[_0x4e7c42()]=_0x252286===_0x5c8915([0x74,0x69,0x6d,0x65])?_0x594ee4:_0x2a55ea;}function _0x5f1a67(){let _0x42ff79=_0xaad356[0x6]*_0x352d0f[0x8]*_0x352d0f[0x6];return _0x3243d8(_0x34d85f,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x42ff79/=0xa),_0x42ff79;}function _0x47ec79(){const _0x30e786=_0x34d85f;function _0x3b717f(){_0x3243d8(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x541309(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5c8915([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5c8915([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x541309(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5c8915([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x541309(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5c8915([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x1ffa67,_0x541309(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x5c8915([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x1ffa67,_0x30e786[_0x5c8915([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c8915([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ffa67,_0x30e786[_0x5c8915([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c8915([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ffa67,_0x30e786[_0x5c8915([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c8915([0x6d,0x6f,0x64,0x65,0x6c]))),_0x3243d8(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x541309(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5c8915([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x5c8915([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x541309(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5c8915([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x541309(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5c8915([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x1ffa67,_0x541309(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5c8915([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x1ffa67);}_0x30e786[_0x5c8915([0x73,0x74,0x61,0x74,0x65])]==_0x5c8915([0x72,0x65,0x61,0x64,0x79])?_0x3b717f():_0x30e786[_0x5c8915([0x6f,0x6e,0x63,0x65])](_0x5c8915([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x3243d8(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x3b717f(),_0x3243d8(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1c8751=_0x541309(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4726cc=_0x1c8751['getRevision'](0x0),_0xddae15=_0x1c8751['getEarlierVisibleRevision'](_0x4726cc[_0x5c8915([0x69,0x64])]);_0x541309(_0x30e786,_0x5c8915([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x5c8915([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4726cc[_0x5c8915([0x69,0x64])],_0xddae15?_0xddae15[_0x5c8915([0x69,0x64])]:null,0x1)['then'](()=>_0x3b717f());}});}_0x3c23b7(_0x86a565(_0x50279a,_0x214bdb),_0x214bdb);}function _0x31c2d9(_0xca48de,_0xaa230c){try{return _0x16b324(_0xaa230c)?_0x1ac3a8(_0xaa230c[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x56,0x61,0x6c,0x69,0x64])):_0xca48de&&_0x407384(_0xca48de[_0x5c8915([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0xaa230c)?_0xca48de[_0x5c8915([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x5c8915([0x6f,0x70,0x65,0x6e])][_0x5c8915([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x221c88)/0x2>_0xca48de[_0x5c8915([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1ac3a8(_0xaa230c[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xca48de[_0x5c8915([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1ac3a8(_0xaa230c[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x54,0x72,0x69,0x61,0x6c])):_0x1ac3a8(_0xaa230c[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x56,0x61,0x6c,0x69,0x64])):_0x1ac3a8(_0xaa230c[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1ad9ab){return _0x1ac3a8(_0xaa230c[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x367d5d(_0x540f49,_0x7d91ba){if(_0x34d85f instanceof _0x2027e3){const _0xc8582a=_0x34d85f;_0x540f49==_0x7d91ba[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x8a6229(_0xc8582a):_0x540f49==_0x7d91ba[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x54,0x72,0x69,0x61,0x6c])&&window[_0x5c8915([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x8a6229(_0xc8582a),_0x1ac3a8(_0x7d91ba[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0xaad356[0x6]*_0x352d0f[0x8]*_0x352d0f[0x6]),_0xc8582a[_0x5c8915([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x5c8915([0x6f,0x6e])](_0x5c8915([0x61,0x64,0x64]),(_0x47fe63,_0x2014d5)=>{_0x540f49!=_0x7d91ba[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x540f49!=_0x7d91ba[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x540f49!=_0x7d91ba[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5d75e3(_0x2014d5);});}else{const _0x378a1c=_0x34d85f;_0x540f49==_0x7d91ba[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5d75e3(_0x378a1c):_0x540f49==_0x7d91ba[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x54,0x72,0x69,0x61,0x6c])&&_0x378a1c[_0x5c8915([0x6f,0x6e])](_0x5c8915([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x3c8215=0x0;_0x378a1c[_0x5c8915([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c8915([0x6f,0x6e])](_0x5c8915([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3aae92,_0x1fdc50)=>{_0x1fdc50[0x0][_0x5c8915([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3c8215++,0x1f8===_0x3c8215&&(_0x5d75e3(_0x378a1c),_0x1ac3a8(_0x7d91ba[_0x5c8915([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x5c8915([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x3aae92[_0x5c8915([0x6f,0x66,0x66])]());},{'priority':_0x5c8915([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1ac3a8(_0xcedaad){const _0x37ff7e=_0x4e7c42();return _0x34d85f[_0x37ff7e]=_0xcedaad,_0xcedaad;}function _0x4e7c42(){const _0x223648=String(window[_0x5c8915([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5c8915([0x6e,0x6f,0x77])]())[_0x5c8915([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5c8915([0x2e]),'');let _0x4dd634='';for(let _0x271a84=0x0;_0x271a84<_0x223648[_0x5c8915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x271a84+=0x2){let _0xf02e31=parseInt(_0x223648[_0x5c8915([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x271a84,_0x271a84+0x2));_0xf02e31>=_0x805702[_0x5c8915([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf02e31-=_0x805702[_0x5c8915([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4dd634+=_0x805702[_0xf02e31];}return _0x4dd634;}function _0x8a6229(_0x684b57){for(const _0x410d83 of _0x684b57[_0x5c8915([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5d75e3(_0x410d83);_0x541309(_0x684b57,_0x5c8915([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5c8915([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x541309(_0x684b57,_0x5c8915([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x5c8915([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x1ffa67;}function _0x5d75e3(_0x2f470e){function _0x5402ce(){_0x2f470e[_0x5c8915([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c8915([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1ffa67,_0x2f470e[_0x5c8915([0x6d,0x6f,0x64,0x65,0x6c])][_0x5c8915([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1ffa67,_0x2f470e[_0x5c8915([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5c8915([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2f470e[_0x5c8915([0x73,0x74,0x61,0x74,0x65])]==_0x5c8915([0x72,0x65,0x61,0x64,0x79])?_0x5402ce():_0x2f470e[_0x5c8915([0x6f,0x6e,0x63,0x65])](_0x5c8915([0x72,0x65,0x61,0x64,0x79]),()=>_0x5402ce());}function _0x1ffa67(){return null;}function _0x407384(_0x3170e2,_0x21f299){const _0x3f91bc=!!(_0x3170e2&_0x21f299[_0x5c8915([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x15b414=_0x49c3f9(_0x3170e2,_0x21f299);return _0x3f91bc||_0x15b414;}function _0x49c3f9(_0x2b858a,_0x5b4b05){const _0x8ea3d9=(_0x5b4b05[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x5c8915([0x66,0x67,0x69])]||null;return!!_0x8ea3d9&&_0x3e8b7a[_0x5c8915([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b5a06=>_0x8ea3d9[_0x5c8915([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b5a06[_0x5c8915([0x69,0x64])]))[_0x5c8915([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x55c84c=>!_0x5addbb(_0x55c84c))[_0x5c8915([0x73,0x6f,0x6d,0x65])](_0x4b4611=>!!(_0x2b858a&_0x4b4611[_0x5c8915([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x5addbb(_0xceabc3){const _0x1d3730={[_0x5c8915([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])]:_0x3c6c87};return!!_0xceabc3['forbiddenHandler']&&_0x1d3730[_0xceabc3['forbiddenHandler']]();}function _0x3c6c87(){return!window[_0x5c8915([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x3243d8(_0x34d85f,_0x5c8915([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x16b324(_0x3235da){if(!_0x3243d8(_0x34d85f,_0x3235da[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x596ee3=_0x3235da[_0x5c8915([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x16634b=_0x596ee3[_0x5c8915([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x22ea0b=_0x596ee3[_0x5c8915([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x43e9c1=_0x596ee3[_0x5c8915([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x3243d8(_0x34d85f,_0x5c8915([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x541309(_0x34d85f,_0x5c8915([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x5c8915([0x73,0x74,0x61,0x74,0x65])]==_0x5c8915([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x16634b)return!0x0;if(_0x3243d8(_0x34d85f,_0x5c8915([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x541309(_0x34d85f,_0x5c8915([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x5c8915([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x5c8915([0x65,0x6e,0x64])&&_0x22ea0b)return!0x0;return!(!_0x3243d8(_0x34d85f,_0x5c8915([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]))||_0x541309(_0x34d85f,_0x5c8915([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]))[_0x5c8915([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x5c8915([0x65,0x6e,0x64])||!_0x43e9c1);}function _0x3243d8(_0x54d7d7,_0x3caa39){return _0x54d7d7[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5c8915([0x68,0x61,0x73])](_0x3caa39);}function _0x541309(_0x25dee7,_0x180a2a){return _0x25dee7[_0x5c8915([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x5c8915([0x67,0x65,0x74])](_0x180a2a);}function _0x37ebfe(_0x5cec5c){let _0x4a51d3='';for(const _0x3db89b of _0x5cec5c)_0x4a51d3+=String[_0x5c8915([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x3db89b);return _0x4a51d3;}function _0x539fa5(_0x117822){const _0x1a4ff6=new Uint8Array(_0x117822[_0x5c8915([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x29c725=0x0;_0x29c725<_0x117822[_0x5c8915([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29c725++)_0x1a4ff6[_0x29c725]=_0x117822[_0x5c8915([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x29c725);return _0x1a4ff6;}_0x351356&&_0x16246d(_0x44671a(_0x494acc),_0x351356);})(_0x25bd8a);}(this);}['createRevision'](_0x33ed64){const _0xcc119a=this['editor']['plugins']['get']('Users');return new a({'id':_0x33ed64['id'],'name':_0x33ed64['name'],'creator':_0x33ed64['creatorId']?_0xcc119a['getUser'](_0x33ed64['creatorId']):null,'diffData':_0x33ed64['diffData']||_0x33ed64['data'],'authors':_0x33ed64['authorsIds']['map'](_0x5dcb90=>_0xcc119a['getUser'](_0x5dcb90)),'createdAt':new Date(_0x33ed64['createdAt']),'attributes':_0x33ed64['attributes'],'fromVersion':_0x33ed64['fromVersion'],'toVersion':_0x33ed64['toVersion']});}['addRevision'](_0x1fc396,_0x3eb276=0x0){this['_revisions']['add'](_0x1fc396,_0x3eb276);}['getRevision'](_0x5e9d1f){return this['_revisions']['get'](_0x5e9d1f);}['getRevisions'](_0x4ba173={'toJSON':!0x1}){const _0x564112=Array['from'](this['_revisions']);return _0x564112['reverse'](),_0x4ba173['toJSON']?_0x564112['map'](_0x1c9583=>_0x1c9583['toJSON']()):_0x564112;}['getIndex'](_0x1f8931){return this['_revisions']['getIndex'](_0x1f8931);}['getEarlierVisibleRevision'](_0x2edd56){const [,_0x4ab635]=this['getRevisionsIterator'](_0x2edd56,{'direction':'earlier'});return _0x4ab635;}['getLaterVisibleRevision'](_0x439fd2){const [,_0x569865]=this['getRevisionsIterator'](_0x439fd2,{'direction':'later'});return _0x569865;}['getRevisionsInDiff'](_0x43563f){const _0x9556f1=[];for(const _0x5ec7fb of this['getRevisionsIterator'](_0x43563f['newRevisionId']))if(_0x9556f1['push'](_0x5ec7fb),_0x5ec7fb['id']===_0x43563f['oldRevisionId'])break;return _0x9556f1;}*['getRevisionsIterator'](_0x2d2857,{direction:_0x1663be='earlier',filter:_0x4f0872=_0x1e44ed=>!0x0}={}){const _0x6af55a='earlier'===_0x1663be?0x1:-0x1;let _0x14e442=this['_revisions']['get'](_0x2d2857),_0x1b368b=this['getIndex'](_0x14e442);for(yield _0x14e442;_0x14e442;){if(_0x1b368b+=_0x6af55a,_0x14e442=this['getRevision'](_0x1b368b),!_0x14e442)return;_0x4f0872(_0x14e442)&&(yield _0x14e442);}}}function y(_0x32d7ea,_0x139de3,_0x27b685){const t=_0x32d7ea['t'];switch(_0x139de3){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'},_0x27b685);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x27b685);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x24f7e9,'a':_0x1df8b6,'e':_0x216218,'r':_0x34adc1,'u':_0x4a8255};class l extends _0xee79cb{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2d5e99,A,_0x509a9a];}constructor(_0x48ad9c){super(_0x48ad9c),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 _0x5480e5=_0x568989();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5480e5},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 _0x270f07=this['repository']['getRevision'](0x0),_0xf7d6d5=_0x270f07&&null===_0x270f07['creator']?_0x270f07:null;if(this['_continueCurrentRevision']=!!_0xf7d6d5&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0xb129ec=this['_source']['getCurrentRevisionId'](),_0x16cb9f=this['repository']['getRevision'](_0xb129ec);if(_0x16cb9f)this['_startingVersion']=_0x16cb9f['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0xa1ce6d=this['_source']['history']['_operations']['find'](_0x36c2a4=>!_0x36c2a4['_isInit']),_0x18463c=_0xa1ce6d?_0xa1ce6d['baseVersion']:this['_source']['history']['version'];_0x270f07?(_0x270f07['toVersion']<_0x18463c&&_0x270f07['_update']({'toVersion':_0x18463c}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0xf7d6d5['id'],this['_startingVersion']=_0xf7d6d5['fromVersion']):(this['_startingVersion']=_0x270f07['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x18463c,this['_continueCurrentRevision']=!0x1);}}else _0xf7d6d5&&(this['editor']['model']['document']['history']['version']=Math['max'](_0xf7d6d5['toVersion'],this['editor']['model']['document']['history']['version']),_0xf7d6d5['fromVersion']===_0xf7d6d5['toVersion']?(0x0!==_0xf7d6d5['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0xf7d6d5['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0xf7d6d5['id'],this['_startingVersion']=_0xf7d6d5['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',_0x2c3ce1=>!_0x2c3ce1);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x3d690a=this['repository']['getRevision'](0x0),_0x8a07c6=await this['getRevisionDocumentData'](_0x3d690a),_0x54448b=await this['getRevisionRootsAttributes'](_0x3d690a);this['_replaceEditorDataWithRevisionData'](_0x8a07c6,_0x54448b);}}['setSource'](_0x44692e){this['_source']=_0x44692e;}async['update'](){const _0x24a0de=await this['_source']['getLatestVersion']();if(_0x24a0de>this['currentRevision']['toVersion']){await this['_loadState']();const _0x451fa5=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x24a0de});_0x451fa5['authors']=_0x451fa5['authorsIds']['map'](_0x318bdc=>this['editor']['plugins']['get']('Users')['getUser'](_0x318bdc)),this['currentRevision']['_update'](_0x451fa5);}}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'](_0x154357={},_0x19b867=null){const _0x3137b5=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x19b867>this['currentRevision']['toVersion']&&(_0x19b867=null),null===_0x19b867&&(_0x19b867=await this['_source']['getLatestVersion']());const _0x4bd9c7=this['_getFromVersion'](_0x19b867),_0x113dd8=this['buildRevisionData']({'from':_0x4bd9c7,'to':_0x19b867});if(this['currentRevision']['toVersion']<_0x19b867){const _0x4c8a52=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x19b867,'to':_0x19b867});_0x4c8a52['authors']=[],_0x4c8a52['authorsIds']=[],_0x4c8a52['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4c8a52,!0x0),delete _0x4c8a52['authors'],_0x3137b5['push'](_0x4c8a52);}_0x154357['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x154357['name']=_0x154357['name']||null,_0x154357['id']=_0x154357['id']||_0x568989(),_0x154357={..._0x154357,..._0x113dd8};const _0x1ee70b=this['addRevisionData'](_0x154357);_0x3137b5['push'](_0x154357);const _0x12f41e=this['repository']['getIndex'](_0x1ee70b);if(0x0!==_0x12f41e){const _0x2748d1=this['repository']['getRevision'](_0x12f41e-0x1);if(_0x2748d1['fromVersion']!==_0x19b867){const _0x328964=this['_revisionDataBuilder']['getData'](_0x19b867,_0x2748d1['toVersion']),_0x198950={'id':_0x2748d1['id'],'diffData':_0x328964['diffData'],'authorsIds':_0x328964['authorsIds'],'authors':_0x328964['authorsIds']['map'](_0x523d20=>this['editor']['plugins']['get']('Users')['getUser'](_0x523d20)),'fromVersion':_0x19b867};_0x2748d1===this['currentRevision']&&(_0x198950['createdAt']=new Date(_0x154357['createdAt']['getTime']()+0xa)),_0x2748d1['_update'](_0x198950,!0x0),delete _0x198950['authors'],_0x3137b5['push'](_0x198950);}}if(this['adapter']){for(const _0x562035 of _0x3137b5)this['_bufferUpdate'](_0x562035['id'],_0x562035,!0x0);this['sendBufferedUpdates']();}return _0x1ee70b;}['addRevisionData'](_0x52a4ea){const _0x3dfe00=this['repository']['createRevision'](_0x52a4ea);return this['adapter']&&_0x3dfe00['on']('_update',(_0x2b9a36,_0xabb742,_0x3ab66b)=>{_0x3ab66b||(this['_bufferUpdate'](_0xabb742['id'],_0xabb742,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3dfe00,this['_findInsertionIndex'](_0x3dfe00)),_0x3dfe00;}async['getRevisionDocumentData'](_0x2e8ed8){await this['_loadRevisionData'](_0x2e8ed8);const _0x5d144a={};for(const _0x2c9a61 in _0x2e8ed8['diffData']){if(_0x2e8ed8['diffData'][_0x2c9a61]['attachChange']&&!_0x2e8ed8['diffData'][_0x2c9a61]['attachChange']['isAttached'])continue;const _0x5e194c=this['_removeRevisionMarkers'](JSON['parse'](_0x2e8ed8['diffData'][_0x2c9a61]['insertions'])),_0xf4b54d=this['editor']['editing']['view']['document'],_0x528555=new _0x34decc(_0xf4b54d,_0x5e194c['map'](_0x3b5610=>B(_0x3b5610,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x5d144a[_0x2c9a61]=this['editor']['data']['processor']['toData'](_0x528555),this['editor']['data']['processor']['useFillerType']('default');}return _0x5d144a;}async['getRevisionRootsAttributes'](_0x5dcf57){await this['_loadRevisionData'](_0x5dcf57);const _0x204f28={};for(const _0x23de85 in _0x5dcf57['diffData'])_0x5dcf57['diffData'][_0x23de85]['attachChange']&&!_0x5dcf57['diffData'][_0x23de85]['attachChange']['isAttached']||(_0x204f28[_0x23de85]=_0x5dcf57['diffData'][_0x23de85]['attributesAfter']||{});return _0x204f28;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1af3f0=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x1fdc93=0x0;_0x1fdc93<_0x1af3f0['length'];_0x1fdc93++){const _0x471749=_0x1af3f0[_0x1fdc93];let _0x59dd95=!0x1;for(const _0x4be90c of Object['keys'](_0x471749))void 0x0===_0x471749[_0x4be90c]?delete _0x471749[_0x4be90c]:'id'!==_0x4be90c&&(_0x59dd95=!0x0);_0x59dd95||(_0x1af3f0[_0x1fdc93]=null);}if(_0x1af3f0=_0x1af3f0['filter'](_0x5433dd=>null!==_0x5433dd),!_0x1af3f0['length'])return;for(let _0x481135=0x0;_0x481135<_0x1af3f0['length'];_0x481135++){const _0x16f35d=_0x1af3f0[_0x481135];void 0x0!==_0x16f35d['fromVersion']&&void 0x0===_0x16f35d['toVersion']&&(_0x16f35d['toVersion']=this['repository']['getRevision'](_0x16f35d['id'])['toVersion']),void 0x0!==_0x16f35d['toVersion']&&void 0x0===_0x16f35d['fromVersion']&&(_0x16f35d['fromVersion']=this['repository']['getRevision'](_0x16f35d['id'])['fromVersion']);}const _0x136ad5=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1af3f0,_0x136ad5)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x220165=>{if(_0x220165){for(const _0x29bdb4 of _0x220165)this['setRevisionData']({'id':_0x29bdb4['id'],'createdAt':_0x29bdb4['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4fc93c,_0x458be9){let _0x486861=this['editor']['config']['get']('initialData'),_0x2b9493=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x486861){_0x486861={};for(const _0x22d983 of this['editor']['model']['document']['getRootNames']())_0x486861[_0x22d983]='';}if('string'==typeof _0x486861&&(_0x486861={'main':_0x486861}),void 0x0===_0x2b9493){_0x2b9493={};for(const _0x22a2c6 of this['editor']['model']['document']['getRootNames']())_0x2b9493[_0x22a2c6]={};}let _0x33e650=!0x1;const _0x4d4a86=Object['keys'](_0x486861),_0x12dba3=Object['keys'](_0x4fc93c);for(const _0x326c87 of _0x4d4a86){if(_0x486861[_0x326c87]!==_0x4fc93c[_0x326c87]&&''!==_0x486861[_0x326c87]['trim']()){_0x33e650=!0x0;break;}if(!_0x93c961(_0x2b9493[_0x326c87],_0x458be9[_0x326c87])&&Object['keys'](_0x2b9493[_0x326c87])['length']>0x0){_0x33e650=!0x0;break;}}_0x33e650||(_0x33e650=_0x12dba3['some'](_0x15be09=>!this['editor']['model']['document']['getRoot'](_0x15be09))),_0x33e650&&_0x770da('editor-initial-data-replaced-with-revision-data',{'editorData':_0x486861,'editorRootsAttributes':_0x2b9493,'revisionData':_0x4fc93c,'revisionRootsAttributes':_0x458be9}),this['editor']['config']['set']('initialData',_0x4fc93c),this['editor']['config']['set']('rootsAttributes',_0x458be9);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xb8070=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xb8070['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2490d9){const _0x1a630f=this['repository']['getRevisions']();_0x1a630f['reverse']();let _0xf51ab9=0x0;for(;_0xf51ab9<_0x1a630f['length'];){const _0x57052d=_0x1a630f[_0xf51ab9];if(_0x57052d===this['currentRevision']){_0xf51ab9++;continue;}if(_0x57052d['id']===this['_initialRevisionId'])break;const _0x55cf39=_0x2490d9['toVersion']-_0x57052d['toVersion']||_0x2490d9['fromVersion']-_0x57052d['fromVersion'];if(_0x55cf39>0x0)break;if(_0x55cf39<0x0)_0xf51ab9++;else{if(!_0x2490d9['creator']&&_0x57052d['creator'])break;if(_0x57052d['creator']||!_0x2490d9['creator']){if(_0x2490d9['createdAt']>_0x57052d['createdAt'])break;_0xf51ab9++;}else _0xf51ab9++;}}return _0xf51ab9;}['setRevisionData'](_0x4d3851){const _0x524bb6=this['repository']['getRevision'](_0x4d3851['id']);if(_0x4d3851['createdAt']&&(_0x4d3851['createdAt']=new Date(_0x4d3851['createdAt'])),_0x4d3851['authorsIds']){const _0x295993=this['editor']['plugins']['get']('Users');_0x4d3851['authors']=_0x4d3851['authorsIds']['map'](_0xde3637=>_0x295993['getUser'](_0xde3637));}_0x524bb6['_update'](_0x4d3851,!0x0);}['buildRevisionData']({revision:_0x32555a=null,from:_0x296c39=null,to:_0xde9419=null}){_0x296c39=null!==_0x296c39?_0x296c39:_0x32555a['fromVersion'],_0xde9419=null!==_0xde9419?_0xde9419:_0x32555a['toVersion'];const _0x339c2e=this['_revisionDataBuilder']['getData'](_0x296c39,_0xde9419),_0x68159d={'diffData':_0x339c2e['diffData'],'authorsIds':_0x339c2e['authorsIds'],'fromVersion':_0x296c39,'toVersion':_0xde9419};if(!_0x32555a||_0xde9419!==_0x32555a['toVersion']){const _0x107d7f=_0xde9419-0x1,_0x41ec0a=this['_source']['history']['getOperation'](_0x107d7f);_0x68159d['createdAt']=_0x41ec0a&&_0x41ec0a['createdAt']||new Date();}if(this['_loadedStateData']&&_0x296c39===this['_loadedStateData']['fromVersion']){for(const _0x1f30ca of this['_loadedStateData']['authors'])_0x68159d['authorsIds']['includes'](_0x1f30ca['id'])||_0x68159d['authorsIds']['push'](_0x1f30ca['id']);}return _0x68159d;}['_loadRevisionData'](_0x537ec3){if(!_0x537ec3||_0x537ec3['diffData'])return Promise['resolve']();{const _0x4ac286=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4ac286,'revisionId':_0x537ec3['id']})['then'](_0x240064=>{_0x537ec3['diffData']=_0x240064['diffData'];});}}['_bufferUpdate'](_0x1effac,_0x25b544,_0x110251){if(this['_bufferedUpdates']['has'](_0x1effac)){const _0x2154cc=this['_bufferedUpdates']['get'](_0x1effac);_0x25b544=_0x110251?{..._0x2154cc,..._0x25b544}:{..._0x25b544,..._0x2154cc};}this['_bufferedUpdates']['set'](_0x1effac,_0x25b544);}['_getFromVersion'](_0x83a2a1){const _0x1ebd0b=this['repository']['getRevisions']();_0x1ebd0b['reverse'](),_0x1ebd0b['shift']();const _0x3b8510=_0x1ebd0b['find'](_0x348a1f=>_0x348a1f['toVersion']<=_0x83a2a1)['toVersion'];return _0x3b8510<this['_startingVersion']?this['_startingVersion']:_0x3b8510;}['_createInitialRevision'](_0x120272){const _0x2ee624=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2ee624)this['_initialRevisionId']=_0x2ee624['id'];else{const _0x846527=!this['editor']['model']['document']['roots']['find'](_0x38f151=>this['editor']['model']['hasContent'](_0x38f151)),_0x205503=this['editor']['plugins']['get']('Users')['me']['id'],_0x5b7d83=y(this['editor']['locale'],_0x846527?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x120272,'to':_0x120272,'id':this['_initialRevisionId'],'name':_0x5b7d83,'creatorId':_0x205503});}}['_createCurrentRevision'](_0x3f8ab8){const _0x270212=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x270212),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3f8ab8,'to':_0x3f8ab8,'id':_0x270212,'name':'','creatorId':null}));}['_makeRevision']({name:_0x32cedb,from:_0x3289a9,to:_0x422466,creatorId:_0x3cb33d,id:_0x475154}){const _0x42636f=this['buildRevisionData']({'from':_0x3289a9,'to':_0x422466});_0x42636f['name']=_0x32cedb,_0x42636f['creatorId']=_0x3cb33d,_0x42636f['id']=_0x475154;const _0x768012=this['addRevisionData'](_0x42636f);return this['adapter']&&this['_bufferUpdate'](_0x42636f['id'],_0x42636f,!0x0),_0x768012;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x44afe1){return(_0x44afe1=_0x44afe1['filter'](_0x4710bf=>!_0x4710bf['name']||'revision-start'!==_0x4710bf['name']&&'revision-end'!==_0x4710bf['name']))['forEach'](_0x2a90c4=>{'string'!=typeof _0x2a90c4&&(_0x2a90c4['children']=this['_removeRevisionMarkers'](_0x2a90c4['children']),_0x2a90c4['attributes']=_0x2a90c4['attributes']['filter'](_0x4147e1=>!_0x4147e1[0x0]['startsWith']('data-revision-')));}),_0x44afe1;}}function B(_0x23f887,_0x4a5a79){const _0xc783c3=_0x4a5a79['editing']['view']['document'];if('string'==typeof _0x23f887)return new _0x39beba(_0xc783c3,_0x23f887);{const _0x1cbc1f=_0x23f887['children']['map'](_0x56d736=>B(_0x56d736,_0x4a5a79));return new(T[_0x23f887['type']]||_0x37dc27)(_0xc783c3,_0x23f887['name'],_0x23f887['attributes'],_0x1cbc1f);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x7898b3){this['editor']=_0x7898b3,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'](_0x4aa7bb){this['source']=_0x4aa7bb;const _0x779fdd=new Map(),_0x43fe61=new Map(),_0x31baaf=this['editor']['model']['document']['roots']['map'](_0x484d71=>_0x484d71['rootName']);for(const _0x2ce42e of _0x31baaf){const _0x2b29ca=this['editor']['model']['document']['getRoot'](_0x2ce42e),_0x2ac201=q(_0x2b29ca);_0x779fdd['set'](_0x2ce42e,_0x2ac201),_0x43fe61['set'](_0x2ce42e,Object['fromEntries'](_0x2b29ca['getAttributes']()));}const _0x57c7cd=Array['from'](this['editor']['model']['markers'])['map'](_0x583071=>[_0x583071['name'],_0x583071['getRange']()]),_0x520754=this['source']['version'];this['_saveMetaData'](_0x520754,_0x779fdd,_0x57c7cd,_0x43fe61),this['_startingRevisionId']=this['_revisionId'];const _0x27f32f=new Map(),_0x2dc231=new Map();for(const _0x89dc43 of _0x31baaf){const _0x4d5a11=G(_0x89dc43);_0x27f32f['set'](_0x89dc43,_0x4d5a11),_0x2dc231['set'](_0x89dc43,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x27f32f,[],_0x2dc231);}['getData'](_0x986c25,_0x390398){if(this['_lastFrom']===_0x986c25&&this['_lastTo']<=_0x390398)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x390398,!0x0);else{if(!this['_savedMetaData']['has'](_0x986c25)){const _0xc454ee=this['_getPreviousFrom'](_0x986c25);this['_calculateMetaData'](_0xc454ee,_0x986c25,!0x1);}this['_calculateMetaData'](_0x986c25,_0x390398,!0x0);}return this['_lastFrom']=_0x986c25,this['_lastTo']=_0x390398,this['_getState']();}['loadState'](_0x454015){this['_reset'](),this['_lastFrom']=_0x454015['fromVersion'],this['_lastTo']=_0x454015['toVersion'];for(const _0x4bb10d in _0x454015['diffData']){const _0x2400d8=_0x454015['diffData'][_0x4bb10d]['attachChange'],_0x2f5a47=_0x46fb8d(_0x454015['diffData'][_0x4bb10d]['attributesBefore'])||{},_0x35b1f7=this['_makeModelFromViewString'](_0x454015['diffData'][_0x4bb10d]['deletions']);_0x35b1f7['rootName']=_0x4bb10d,_0x35b1f7['_isAttached']=!_0x2400d8||!_0x2400d8['isAttached'],_0x35b1f7['isAttached']=()=>_0x35b1f7['_isAttached'],this['_baseRoots']['set'](_0x4bb10d,_0x35b1f7),this['_baseRootsAttributes']['set'](_0x4bb10d,_0x2f5a47),_0x2400d8&&this['_touchedRoots']['set'](_0x4bb10d,_0x2400d8);const _0x3d20db=this['_makeIdsRoot'](_0x35b1f7);this['_baseIdsRoots']['set'](_0x4bb10d,_0x3d20db);for(const [_0x4b211d,_0xeb79dd]of _0x35b1f7['markers']){if(!_0x4b211d['startsWith']('revision:'))continue;const _0x21eec6=_0x4b211d['split'](':')[0x2];for(const _0x32a711 of _0xeb79dd['getWalker']({'singleCharacters':!0x0})){const _0x53a295=this['_getVidAttributeName'](_0x32a711),_0x6fb994='elementEnd'==_0x32a711['type']?_0x32a711['previousPosition']['path']['slice'](0x0,-0x1):_0x32a711['previousPosition']['path'],_0x45bdbd=_0x3d20db['getNodeByPath'](_0x6fb994)['getAttribute'](_0x53a295);this['_touched']['set'](_0x45bdbd,{'userId':_0x21eec6});}}}this['_startingRevisionId']=this['_revisionId'];const _0xa6659f=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x13204f=>!this['_touched']['has'](_0x13204f));let _0x5608c7=0x0;const _0x1ef3e0=new Map();for(const _0x4f51da in _0x454015['diffData']){const _0x4769de=_0x454015['diffData'][_0x4f51da]['attachChange'],_0x573ffd=_0x46fb8d(_0x454015['diffData'][_0x4f51da]['attributesAfter'])||{},_0x1bb316=this['_makeModelFromViewString'](_0x454015['diffData'][_0x4f51da]['insertions']);_0x1bb316['rootName']=_0x4f51da,_0x1bb316['_isAttached']=!_0x4769de||_0x4769de['isAttached'],_0x1bb316['isAttached']=()=>_0x1bb316['_isAttached'],this['_diffRoots']['set'](_0x4f51da,_0x1bb316),this['_diffRootsAttributes']['set'](_0x4f51da,_0x573ffd);const _0x1ca5ea=this['_makeIdsRoot'](_0x1bb316,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x4f51da,_0x1ca5ea),_0x1ef3e0['set'](_0x4f51da,_0x1bb316['isAttached']()?_0x573ffd:{});for(const [_0x143c6b,_0x1a7d82]of _0x1bb316['markers']){if(!_0x143c6b['startsWith']('revision:'))continue;const _0x3fb5a1=_0x143c6b['split'](':')[0x2];for(const _0x479df1 of _0x1a7d82['getWalker']({'singleCharacters':!0x0})){const _0x282f87=this['_getVidAttributeName'](_0x479df1),_0x79010d=this['_revisionId']++,_0x16348d='elementEnd'==_0x479df1['type']?_0x479df1['previousPosition']['path']['slice'](0x0,-0x1):_0x479df1['previousPosition']['path'];_0x1ca5ea['getNodeByPath'](_0x16348d)['_setAttribute'](_0x282f87,_0x79010d),this['_touched']['set'](_0x79010d,{'userId':_0x3fb5a1});}}for(const _0x151187 of this['editor']['model']['createRangeIn'](_0x1bb316)['getWalker']({'singleCharacters':!0x0})){const _0x3cc786=this['_getVidAttributeName'](_0x151187),_0x41ae3c='elementEnd'==_0x151187['type']?_0x151187['previousPosition']['path']['slice'](0x0,-0x1):_0x151187['previousPosition']['path'],_0x531762=_0x1ca5ea['getNodeByPath'](_0x41ae3c);_0x531762['getAttribute'](_0x3cc786)>0x0||_0x531762['_setAttribute'](_0x3cc786,_0xa6659f[_0x5608c7++]);}for(const [_0x58839d,_0x2d11fe]of _0x1bb316['markers'])_0x58839d['startsWith']('revision:')||this['_markers']['set'](_0x58839d,_0x2d11fe);}const _0xdca736=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xdca736),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xdca736,0x1));const _0x3afdb6=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x3afdb6),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3afdb6,0x1));const _0x29eb20=Array['from'](this['_diffRoots'])['map'](([_0x52a69e,_0x12a0ed])=>[_0x52a69e,q(_0x12a0ed)]);this['_saveMetaData'](this['_lastTo'],_0x29eb20,this['_markers'],_0x1ef3e0);}['_makeModelFromViewString'](_0x215318){const _0x46b09f=JSON['parse'](_0x215318),_0x3474b0=this['editor']['editing']['view']['document'],_0x53271e=new _0x34decc(_0x3474b0,_0x46b09f['map'](_0x2e836c=>B(_0x2e836c,this['editor'])));return this['editor']['data']['toModel'](_0x53271e);}['_saveMetaData'](_0x4a2ffa,_0x4de8d1,_0x123c9f,_0x254d46){const _0x1c1a2c=new Map(_0x4de8d1),_0x5baaf0=new Map(_0x46fb8d(_0x254d46)),_0x4c87fe=new Map();for(const [_0x4c6dd2,_0x2bd5ca]of _0x123c9f)_0x4c87fe['set'](_0x4c6dd2,{'start':_0x2bd5ca['start']['clone'](),'end':_0x2bd5ca['end']['clone'](),'rootName':_0x2bd5ca['root']['rootName']});this['_savedMetaData']['set'](_0x4a2ffa,{'roots':_0x1c1a2c,'markers':_0x4c87fe,'rootsAttributes':_0x5baaf0});}['_removeMetaData'](_0x34a134){this['_savedMetaData']['delete'](_0x34a134);}['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'](_0x2da50f,_0x4b98e1=null){let _0xac0f55=null;_0x2da50f['is']('documentFragment')||(_0xac0f55=new ft(_0x2da50f['name'],{'vid_start':null===_0x4b98e1?this['_revisionId']++:_0x4b98e1++}));const _0x57dec7=[];for(const _0x48d53c of _0x2da50f['getChildren']())if(_0x48d53c['is']('element')){_0x57dec7['push'](this['_makeIdsRoot'](_0x48d53c,_0x4b98e1));const _0x3cac62=_0x57dec7[_0x57dec7['length']-0x1];null!==_0x4b98e1&&(_0x4b98e1=_0x3cac62['is']('element','$text')?_0x3cac62['getAttribute']('vid')+0x1:_0x3cac62['getAttribute']('vid_end')+0x1);}else{for(let _0x57868b=0x0;_0x57868b<_0x48d53c['offsetSize'];_0x57868b++)_0x57dec7['push'](new ft('$text',{'vid':null===_0x4b98e1?this['_revisionId']++:_0x4b98e1++}));}if(_0x2da50f['is']('documentFragment')){const _0x28359b=G(_0x2da50f['rootName']);return _0x28359b['_insertChild'](0x0,_0x57dec7),_0x28359b;}return _0xac0f55['_setAttribute']('vid_end',null===_0x4b98e1?this['_revisionId']++:_0x4b98e1++),_0xac0f55['_insertChild'](0x0,_0x57dec7),_0xac0f55;}['_calculateMetaData'](_0x29c105,_0x26bc1c,_0x2433e1){this['_reset']();const {roots:_0x256e35,markers:_0x429f24,rootsAttributes:_0x39539f}=this['_savedMetaData']['get'](_0x29c105);this['_baseRoots']=new Map(_0x256e35),this['_baseRootsAttributes']=new Map(_0x46fb8d(_0x39539f));for(const [_0x4a62ae,_0x22fdb2]of this['_baseRoots'])if('$graveyard'!==_0x4a62ae&&(this['_diffRoots']['set'](_0x4a62ae,q(_0x22fdb2)),this['_diffRootsAttributes']=new Map(_0x46fb8d(_0x39539f)),_0x2433e1)){const _0x4a6a54=this['_revisionId'];this['_idsRoots']['set'](_0x4a62ae,this['_makeIdsRoot'](_0x22fdb2)),this['_baseIdsRoots']['set'](_0x4a62ae,this['_makeIdsRoot'](_0x22fdb2,_0x4a6a54));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2433e1&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x168626,_0x16890b]of _0x429f24){const _0x170ac7=this['_baseRoots']['get'](_0x16890b['rootName']),_0x5a9b92=this['_diffRoots']['get'](_0x16890b['rootName']),_0x2a755e=new vt(this['_fixPosition'](_0x16890b['start'],_0x170ac7),this['_fixPosition'](_0x16890b['end'],_0x170ac7)),_0x410f08=this['_fixRange'](_0x2a755e,_0x5a9b92);_0x170ac7['markers']['set'](_0x168626,_0x2a755e),this['_markers']['set'](_0x168626,_0x410f08);}this['_applyOperations'](_0x29c105,_0x26bc1c,_0x2433e1);}['_applyOperations'](_0x4d34e7,_0x5b3e9b,_0x3c2731){for(const _0x22d04a of this['source']['getOperations'](_0x4d34e7,_0x5b3e9b))this['_handleOperation'](_0x22d04a,_0x3c2731);for(const _0xce624a of this['_diffRoots']['values']())_0xce624a['markers']['clear']();for(const [_0x118b9a,_0x15776f]of this['_markers']){this['_diffRoots']['get'](_0x15776f['root']['rootName'])['markers']['set'](_0x118b9a,_0x15776f['clone']());}const _0x1c561f=new Map(),_0x4860a3=new Map();for(const [_0x4b493d,_0x521709]of this['_diffRoots'])_0x1c561f['set'](_0x4b493d,q(_0x521709)),_0x4860a3['set'](_0x4b493d,this['_diffRootsAttributes']['get'](_0x4b493d));this['_saveMetaData'](_0x5b3e9b,_0x1c561f,this['_markers'],_0x4860a3);}['_getPreviousFrom'](_0x5a6741){const _0x381d90=Array['from'](this['_savedMetaData']['keys']());_0x381d90['sort']((_0x47548b,_0x1ecd46)=>_0x47548b-_0x1ecd46),_0x381d90['reverse']();for(const _0x1d5ffd of _0x381d90)if(_0x1d5ffd<_0x5a6741)return _0x1d5ffd;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x3aa1cb,_0x29cc23){const _0x25ea24=Array['from'](_0x29cc23['markers'])['map'](([_0x29eec1,_0x538cac])=>[_0x29eec1,this['_fixRange'](_0x538cac,_0x3aa1cb)]);_0x3aa1cb['markers']=new Map(_0x25ea24);}['_transformMarkers'](_0xd30b8){for(const _0x3f11a5 of this['_markers']['values']()){const _0x27d3bb=_0x3f11a5['getTransformedByOperation'](_0xd30b8),_0x293770=vt['_createFromRanges'](_0x27d3bb);_0x3f11a5['start']=_0x293770['start'],_0x3f11a5['end']=_0x293770['end'];}}['_handleOperation'](_0x149705,_0x285cd4){if('addRoot'==_0x149705['type']||'detachRoot'==_0x149705['type'])return void this['_handleRootOperation'](_0x149705,_0x285cd4);if('insert'==_0x149705['type']){const _0x578ab6=_0x149705['position']['root']['rootName'];this['_diffRoots']['has'](_0x578ab6)||(this['_diffRoots']['set'](_0x578ab6,G(_0x578ab6,!0x0)),this['_diffRootsAttributes']['set'](_0x578ab6,{}),_0x285cd4&&this['_idsRoots']['set'](_0x578ab6,G(_0x578ab6,!0x0)));}else{if('addRootAttribute'==_0x149705['type']||'removeRootAttribute'==_0x149705['type']||'changeRootAttribute'==_0x149705['type'])return void this['_handleRootAttributeOperation'](_0x149705);}const _0x516ca4=this['_cloneOperation'](_0x149705,this['_diffRoots']);if('marker'!==_0x149705['type']&&(_0x516ca4['_execute'](),this['_transformMarkers'](_0x516ca4)),_0x285cd4)switch(_0x516ca4['type']){case'insert':this['_handleInsertOperation'](_0x149705);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x149705);break;case'merge':this['_handleMergeOperation'](_0x149705);break;case'split':this['_handleSplitOperation'](_0x149705);break;case'marker':this['_handleMarkerOperation'](_0x149705);}}['_cloneOperation'](_0x4db227,_0x4303d5){const _0x44deda=_0x4db227['clone']();return _0x44deda['_authorId']=_0x4db227['_authorId'],this['_fixOperation'](_0x44deda,_0x4303d5),_0x44deda;}['_getBaseVids'](_0x3709e3){return _0x3709e3['map'](_0x5160d8=>{const _0x874f5=this['_getVidAttributeName'](_0x5160d8);return Number(_0x5160d8['item']['getAttribute'](_0x874f5));});}['_generateTape'](_0x18c02f,_0x45a552){if(_0x18c02f['is']('element','$text'))_0x45a552['push']({'item':_0x18c02f,'type':'text'});else{_0x18c02f['is']('element')&&_0x45a552['push']({'item':_0x18c02f,'type':'elementStart'});for(const _0x341ef4 of _0x18c02f['getChildren']())this['_generateTape'](_0x341ef4,_0x45a552);_0x18c02f['is']('element')&&_0x45a552['push']({'item':_0x18c02f,'type':'elementEnd'});}return _0x45a552;}['_getState'](){const _0x358919=new Map(this['_touched']),_0x2a51f8=new Map(_0x358919),_0x316974=new Map(),_0x51a1cc={'insertions':{},'deletions':{}},_0xf0ebdf={'insertions':{},'deletions':{}},_0x57fc97=new Map(),_0x1c9787=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1c9787['delete']('$graveyard');for(const _0x42519e of _0x1c9787){const _0x198d1e=this['_diffRoots']['get'](_0x42519e)||G(_0x42519e,!0x1),_0x1db45e=this['_baseRoots']['get'](_0x42519e)||G(_0x42519e,!0x1);_0x198d1e['isAttached']()||_0x1db45e['isAttached']()?(_0x51a1cc['insertions'][_0x42519e]=q(_0x198d1e),_0x51a1cc['deletions'][_0x42519e]=q(_0x1db45e),this['_copyMarkers'](_0x51a1cc['deletions'][_0x42519e],_0x1db45e),this['_copyMarkers'](_0x51a1cc['insertions'][_0x42519e],_0x198d1e),_0xf0ebdf['insertions'][_0x42519e]=this['_generateTape'](this['_idsRoots']['get'](_0x42519e),[]),_0xf0ebdf['deletions'][_0x42519e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x42519e)||G(_0x42519e,!0x1),[])):_0x1c9787['delete'](_0x42519e);}for(const _0x91e3d6 of _0x1c9787){const _0x4eb7c9=_0xf0ebdf['insertions'][_0x91e3d6];for(const _0x440e93 of _0x4eb7c9){const _0x21d1db=this['_getVidAttributeName'](_0x440e93),_0x2f3860=_0x440e93['item']['getAttribute'](_0x21d1db);_0x2a51f8['delete'](_0x2f3860),_0x2f3860>=this['_startingRevisionId']&&_0x316974['set'](_0x2f3860,_0x358919['get'](_0x2f3860));}}for(const _0x3598da of _0x1c9787){const _0x3c25ca=_0xf0ebdf['insertions'][_0x3598da],_0x11a44a=this['_getBaseVids'](_0xf0ebdf['deletions'][_0x3598da]);let _0xbd9ce9=0x0;for(const _0xeaf3e5 of _0x3c25ca){const _0x17ff8b=this['_getVidAttributeName'](_0xeaf3e5),_0x152451=_0xeaf3e5['item']['getAttribute'](_0x17ff8b);if(!_0x316974['has'](_0x152451)&&!_0x57fc97['has'](_0x152451)){if(_0x2a51f8['has'](_0x152451))_0xbd9ce9++;else{if(_0x152451!=_0x11a44a[_0xbd9ce9]){const _0xb8b658=_0x358919['get'](_0x152451)||_0x358919['get'](_0x11a44a[_0xbd9ce9]);for(;_0x152451!=_0x11a44a[_0xbd9ce9];)_0x2a51f8['has'](_0x11a44a[_0xbd9ce9])||(_0x57fc97['set'](_0x11a44a[_0xbd9ce9],_0xb8b658),_0x358919['set'](_0x11a44a[_0xbd9ce9],_0xb8b658)),_0xbd9ce9++;}_0xbd9ce9++;}}}}for(const _0x57ac of _0x1c9787){const _0x183fe5=_0xf0ebdf['insertions'][_0x57ac];for(const _0x50c7e2 of _0x183fe5){const _0x55ddd9=this['_getVidAttributeName'](_0x50c7e2),_0x2611dd=_0x50c7e2['item']['getAttribute'](_0x55ddd9);if(_0x57fc97['has'](_0x2611dd)){const _0x923f67=_0x57fc97['get'](_0x2611dd);_0x2a51f8['has'](_0x2611dd)||_0x2a51f8['set'](_0x2611dd,{..._0x923f67}),_0x316974['set'](_0x2611dd,{..._0x923f67});}}}for(const _0x2ad400 of _0x2a51f8['keys']())_0x2ad400>=this['_startingRevisionId']&&_0x2a51f8['delete'](_0x2ad400);const _0x36e015=new Map();for(const _0x343abe of _0x1c9787){let _0x50a5e7=_0xf0ebdf['insertions'][_0x343abe];for(const _0x306ea1 of _0x50a5e7)if(_0x306ea1['item']['is']('element','tableCell')){const _0x53354d=this['_getVidAttributeName'](_0x306ea1),_0x36dfa6=_0x306ea1['item']['getAttribute'](_0x53354d);if(_0x316974['has'](_0x36dfa6)){const _0x3da8a=_0x306ea1['item']['parent']['parent']['getAttribute']('vid_start'),_0x13efe5=_0x36e015['get'](_0x3da8a)||new Set();_0x13efe5['add'](_0x316974['get'](_0x36dfa6)['userId']),_0x36e015['set'](_0x3da8a,_0x13efe5);}}_0x50a5e7=_0xf0ebdf['deletions'][_0x343abe];for(const _0x47b1be of _0x50a5e7)if(_0x47b1be['item']['is']('element','tableCell')){const _0x14aa31=this['_getVidAttributeName'](_0x47b1be),_0x34feab=_0x47b1be['item']['getAttribute'](_0x14aa31);if(_0x2a51f8['has'](_0x34feab)){const _0x1f2b3d=_0x47b1be['item']['parent']['parent']['getAttribute']('vid_start'),_0x5e6468=_0x36e015['get'](_0x1f2b3d)||new Set();_0x5e6468['add'](_0x2a51f8['get'](_0x34feab)['userId']),_0x36e015['set'](_0x1f2b3d,_0x5e6468);}}for(const _0x2b42dd of _0x36e015['keys']())(_0x316974['has'](_0x2b42dd)||_0x2a51f8['has'](_0x2b42dd))&&_0x36e015['delete'](_0x2b42dd);}for(const _0x409e76 of _0x1c9787){const _0x459a88=_0xf0ebdf['insertions'][_0x409e76];let _0x57261b=null,_0x292abf=null;for(const _0x204c00 of _0x459a88){const _0x1ec285=this['_getVidAttributeName'](_0x204c00),_0xabba3b=_0x204c00['item']['getAttribute'](_0x1ec285),_0x2fc883=_0x36e015['get'](_0xabba3b);_0x2fc883&&'elementStart'==_0x204c00['type']&&(_0x57261b=Array['from'](_0x2fc883)[0x0],_0x292abf=_0x204c00['item']['getAttribute']('vid_end')),_0x57261b&&(_0x2a51f8['set'](_0xabba3b,{'userId':_0x57261b}),_0x316974['set'](_0xabba3b,{'userId':_0x57261b})),_0xabba3b==_0x292abf&&(_0x57261b=null,_0x292abf=null);}}const _0x2c025e={},_0x170f48=new Set();for(const _0x58681e of _0x1c9787){const _0x5c7740=_0x51a1cc['deletions'][_0x58681e],_0x5edc1d=_0x51a1cc['insertions'][_0x58681e];for(const {userId:_0x31fe62}of this['_touchedMarkers']['values']())null!==_0x31fe62&&_0x170f48['add'](_0x31fe62);for(const {userId:_0x2c9ef7}of this['_touchedRoots']['values']())null!==_0x2c9ef7&&_0x170f48['add'](_0x2c9ef7);this['_markChanges'](_0x5edc1d,_0xf0ebdf['insertions'][_0x58681e],_0x316974,'insertion',_0x170f48),this['_markChanges'](_0x5c7740,_0xf0ebdf['deletions'][_0x58681e],_0x2a51f8,'deletion',_0x170f48),_0x2c025e[_0x58681e]={'insertions':this['_prepareViewToSave'](_0x5edc1d),'deletions':this['_prepareViewToSave'](_0x5c7740),'attachChange':this['_touchedRoots']['get'](_0x58681e)||null,'attributesBefore':_0x46fb8d(this['_baseRootsAttributes']['get'](_0x58681e))||{},'attributesAfter':_0x46fb8d(this['_diffRootsAttributes']['get'](_0x58681e))};}return{'diffData':_0x2c025e,'authorsIds':Array['from'](_0x170f48)};}['_processRootBeforeSave'](_0xa67d0){for(const [,_0x55aa4f]of _0xa67d0['markers']){const _0x28c38=_0x55aa4f['start']['getAncestors']()['filter'](_0x4408b1=>'tableCell'==_0x4408b1['name']);for(const _0x4f11e3 of _0x28c38)0x1==_0x4f11e3['childCount']&&_0x4f11e3['getChild'](0x0)['is']('element','paragraph')&&_0x4f11e3['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x5ec375){this['_processRootBeforeSave'](_0x5ec375);const _0x4a1ccd=this['editor']['data']['toView'](_0x5ec375,{}),_0x15d13a=Array['from'](_0x4a1ccd['getChildren']())['map'](_0x23ba2a=>this['_getViewJson'](_0x23ba2a));return JSON['stringify'](_0x15d13a);}['_getViewJson'](_0x283fb7){if(_0x283fb7['is']('$text'))return _0x283fb7['data'];{const _0x46d3a4=_0x283fb7;return{'type':Object['keys'](T)['find'](_0x18da5d=>_0x283fb7 instanceof T[_0x18da5d]),'name':_0x46d3a4['name'],'attributes':Array['from'](_0x46d3a4['getAttributes']()),'children':Array['from'](_0x46d3a4['getChildren']())['map'](_0x351347=>this['_getViewJson'](_0x351347))};}}['_markChanges'](_0x57f9b9,_0x1d51dc,_0x1ebd6d,_0x547f36,_0x2045ef){let _0x41567d=null,_0x61bd20=null,_0x1a8673=0x0;const _0x1d56fb=this['editor']['model'];for(let _0x11dd88=0x0;_0x11dd88<_0x1d51dc['length'];_0x11dd88++){const _0x243196=this['_getVidAttributeName'](_0x1d51dc[_0x11dd88]),_0x1050c0=_0x1d51dc[_0x11dd88]['item']['getAttribute'](_0x243196),_0x53b9de=_0x1ebd6d['get'](_0x1050c0),_0x1e6f67=_0x11dd88==_0x1d51dc['length']-0x1;(!_0x41567d&&_0x53b9de&&(_0x41567d=_0x53b9de,_0x61bd20=_0x1d51dc[_0x11dd88]),_0x41567d&&(!_0x53b9de||_0x53b9de['userId']!=_0x41567d['userId']))&&(_0xf2066d(_0x53b9de,L(_0x61bd20,_0x57f9b9,_0x1d56fb),L(_0x1d51dc[_0x11dd88],_0x57f9b9,_0x1d56fb)),_0x41567d=_0x53b9de||null,_0x61bd20=_0x53b9de?_0x1d51dc[_0x11dd88]:null),_0x41567d&&_0x1e6f67&&_0xf2066d(_0x53b9de,L(_0x61bd20,_0x57f9b9,_0x1d56fb),W(_0x1d51dc[_0x11dd88],_0x57f9b9,_0x1d56fb));}function _0xf2066d(_0x584953,_0x1771f3,_0x27da05){const _0xd4134=_0x41567d['userId'],_0x29f4e5='revision:'+_0x547f36+':'+_0xd4134+':'+_0x1a8673++,_0x4e28c6=_0x1d56fb['createRange'](_0x1771f3,_0x27da05);_0x57f9b9['markers']['set'](_0x29f4e5,_0x4e28c6),null!==_0xd4134&&_0x2045ef['add'](_0xd4134);}}['_getVidAttributeName'](_0x272ff7){switch(_0x272ff7['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x3d160e,_0x4988fc){_0x3d160e['baseVersion']=null;for(const _0x49a883 in _0x3d160e){const _0x4020a2=_0x3d160e[_0x49a883];if(_0x4020a2 instanceof gt){const _0x1a7585=_0x4988fc['get'](_0x4020a2['root']['rootName']);_0x3d160e[_0x49a883]=this['_fixPosition'](_0x4020a2,_0x1a7585);}if(_0x4020a2 instanceof vt){const _0x3e88a4=_0x4988fc['get'](_0x4020a2['root']['rootName']);_0x3d160e[_0x49a883]=this['_fixRange'](_0x4020a2,_0x3e88a4);}'root'===_0x49a883&&(_0x3d160e['root']=_0x4988fc['get'](_0x3d160e['root']['rootName']));}}['_fixRange'](_0x583056,_0x4c156f){return this['editor']['model']['createRange'](this['_fixPosition'](_0x583056['start'],_0x4c156f),this['_fixPosition'](_0x583056['end'],_0x4c156f));}['_fixPosition'](_0x25089e,_0x1cf46b){return this['editor']['model']['createPositionFromPath'](_0x1cf46b,_0x25089e['path'],_0x25089e['stickiness']);}['_handleInsertOperation'](_0x209da3){const _0x5b5815=this['_idsRoots']['get'](_0x209da3['position']['root']['rootName']),_0x5d25d6=this['_fixPosition'](_0x209da3['position'],_0x5b5815),_0xd1c94a=null===_0x209da3['_authorId']?null:_0x209da3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x18f181=_0x5d25d6['parent'],_0x2a763f=this['_revisionId'],_0x17503e=[];for(const _0x660741 of _0x209da3['nodes'])if(_0x660741['is']('element'))_0x17503e['push'](this['_makeIdsRoot'](_0x660741));else{for(let _0x2d2906=0x0;_0x2d2906<_0x660741['offsetSize'];_0x2d2906++)_0x17503e['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x44e73a=this['_revisionId'];for(let _0x13025e=_0x2a763f;_0x13025e<_0x44e73a;_0x13025e++)this['_touched']['set'](_0x13025e,{'userId':_0xd1c94a});_0x18f181['_insertChild'](_0x5d25d6['offset'],_0x17503e);}['_handleMoveOperation'](_0x909d97){(_0x909d97=this['_cloneOperation'](_0x909d97,this['_idsRoots']))['_execute']();const _0x6526b9=null===_0x909d97['_authorId']?null:_0x909d97['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2fe6d4=_0x909d97['getMovedRangeStart'](),_0x5db4f1=_0x2fe6d4['parent'],_0x3ad151=_0x2fe6d4['offset'];!function _0x412569(_0x1361c3,_0x4734b8,_0x2dbee4,_0xea2f22){for(let _0x18841e=_0x2dbee4;_0x18841e<_0xea2f22;_0x18841e++){const _0x33f627=_0x4734b8['getChild'](_0x18841e);_0x33f627['is']('element','$text')?_0x1361c3['set'](_0x33f627['getAttribute']('vid'),{'userId':_0x6526b9}):(_0x1361c3['set'](_0x33f627['getAttribute']('vid_start'),{'userId':_0x6526b9}),_0x412569(_0x1361c3,_0x33f627,0x0,_0x33f627['childCount']),_0x1361c3['set'](_0x33f627['getAttribute']('vid_end'),{'userId':_0x6526b9}));}}(this['_touched'],_0x5db4f1,_0x3ad151,_0x3ad151+_0x909d97['howMany']);}['_handleMergeOperation'](_0xf8c8e1){const _0x5841b=null===(_0xf8c8e1=this['_cloneOperation'](_0xf8c8e1,this['_idsRoots']))['_authorId']?null:_0xf8c8e1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x338e29=_0xf8c8e1['targetPosition']['parent'],_0x3db790=_0xf8c8e1['sourcePosition']['parent'],_0x36269a=_0x338e29['getAttribute']('vid_end'),_0x292074=_0x3db790['getAttribute']('vid_start');_0x338e29['_setAttribute']('vid_end',_0x3db790['getAttribute']('vid_end')),_0x3db790['_setAttribute']('vid_end',_0x36269a),this['_touched']['set'](_0x292074,{'userId':_0x5841b}),this['_touched']['set'](_0x36269a,{'userId':_0x5841b}),_0xf8c8e1['_execute']();}['_handleSplitOperation'](_0x568db3){const _0x398b6d=null===(_0x568db3=this['_cloneOperation'](_0x568db3,this['_idsRoots']))['_authorId']?null:_0x568db3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1298f7=_0x568db3['graveyardPosition'],_0x5eca25=_0x568db3['splitPosition']['parent'];_0x568db3['_execute']();const _0x227c5b=_0x5eca25['getAttribute']('vid_end'),_0x150e1c=_0x568db3['insertionPosition']['nodeAfter'];if(_0x1298f7){const _0x811c92=_0x150e1c['getAttribute']('vid_end'),_0x46f9d6=_0x5eca25['getAttribute']('vid_end');_0x5eca25['_setAttribute']('vid_end',_0x811c92),_0x150e1c['_setAttribute']('vid_end',_0x46f9d6),this['_touched']['set'](_0x5eca25['getAttribute']('vid_end'),{'userId':_0x398b6d}),this['_touched']['set'](_0x150e1c['getAttribute']('vid_start'),{'userId':_0x398b6d});}else{const _0x5c718e=this['_revisionId']++,_0x57f057=this['_revisionId']++;_0x5eca25['_setAttribute']('vid_end',_0x5c718e),_0x150e1c['_setAttribute']('vid_start',_0x57f057),_0x150e1c['_setAttribute']('vid_end',_0x227c5b),this['_touched']['set'](_0x5c718e,{'userId':_0x398b6d}),this['_touched']['set'](_0x57f057,{'userId':_0x398b6d});}}['_handleMarkerOperation'](_0x238ee0){if(!_0x238ee0['affectsData'])return;const _0x3ce530=(_0x238ee0=this['_cloneOperation'](_0x238ee0,this['_diffRoots']))['oldRange']?_0x238ee0['oldRange']['root']:null,_0x147a52=_0x238ee0['newRange']?_0x238ee0['newRange']['root']:null;_0x3ce530&&this['_markers']['delete'](_0x238ee0['name']),_0x147a52&&this['_markers']['set'](_0x238ee0['name'],_0x238ee0['newRange']['clone']());const _0x4f957b=null===_0x238ee0['_authorId']?null:_0x238ee0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1b34e3=_0x238ee0['name'];if(!this['_touchedMarkers']['has'](_0x1b34e3))return void this['_touchedMarkers']['set'](_0x1b34e3,{'range':_0x238ee0['oldRange'],'userId':_0x4f957b});const _0x4d551c=this['_touchedMarkers']['get'](_0x1b34e3),_0x5d52ce=_0x4d551c['range'],_0x1abd06=_0x238ee0['newRange'];null==_0x5d52ce&&null==_0x1abd06||_0x5d52ce&&_0x1abd06&&_0x5d52ce['isEqual'](_0x1abd06)?this['_touchedMarkers']['delete'](_0x238ee0['name']):_0x4d551c['userId']=_0x4f957b;}['_handleRootOperation'](_0x56435b,_0x279ac1){this['_diffRoots']['has'](_0x56435b['rootName'])?this['_diffRoots']['get'](_0x56435b['rootName'])['_isAttached']=_0x56435b['isAdd']:(this['_diffRoots']['set'](_0x56435b['rootName'],G(_0x56435b['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x56435b['rootName'],{}),_0x279ac1&&this['_idsRoots']['set'](_0x56435b['rootName'],G(_0x56435b['rootName'],!0x0)));const _0x3cf01e=null===_0x56435b['_authorId']?null:_0x56435b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x517563=this['_touchedRoots']['get'](_0x56435b['rootName']);_0x517563&&_0x517563['userId']===_0x3cf01e?this['_touchedRoots']['delete'](_0x56435b['rootName']):this['_touchedRoots']['set'](_0x56435b['rootName'],{'userId':_0x3cf01e,'isAttached':_0x56435b['isAdd']});}['_handleRootAttributeOperation'](_0x5e6967){const _0x13eff3=this['_diffRootsAttributes']['get'](_0x5e6967['root']['rootName']);null===_0x5e6967['newValue']?delete _0x13eff3[_0x5e6967['key']]:_0x13eff3[_0x5e6967['key']]=_0x5e6967['newValue'];}}function q(_0x55f5e8){const _0x26d5a2=G(_0x55f5e8['rootName'],_0x55f5e8['isAttached']());for(const _0x30719f of _0x55f5e8['getChildren']()){const _0x37ecf3=_0x30719f['_clone'](!0x0);_0x26d5a2['_appendChild'](_0x37ecf3);}return _0x26d5a2;}function G(_0x174bda,_0xbdd5ed=!0x0){const _0x1d8fe1=new wt();return _0x1d8fe1['rootName']=_0x174bda,_0x1d8fe1['_isAttached']=_0xbdd5ed,_0x1d8fe1['isAttached']=()=>_0x1d8fe1['_isAttached'],_0x1d8fe1;}function L(_0x2c956b,_0x100d9a,_0x5c808b){const _0x42a4a8='elementEnd'==_0x2c956b['type']?_0x5c808b['createPositionAt'](_0x2c956b['item'],'end'):_0x5c808b['createPositionBefore'](_0x2c956b['item']);return _0x5c808b['createPositionFromPath'](_0x100d9a,_0x42a4a8['path'],_0x42a4a8['stickiness']);}function W(_0x3cd21c,_0x3b26f7,_0x57d0df){const _0x220829='elementStart'==_0x3cd21c['type']?_0x57d0df['createPositionAt'](_0x3cd21c['item'],0x0):_0x57d0df['createPositionAfter'](_0x3cd21c['item']);return _0x57d0df['createPositionFromPath'](_0x3b26f7,_0x220829['path'],_0x220829['stickiness']);}class ns extends _0x4c66c7{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x28c150,_0x168744){super(_0x28c150),this['focusTracker']=new _0x465f97(),this['keystrokes']=new _0x519b9e(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x168744),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'](),_0x4061f4({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x85830e=_0x4f7f8a=>_0x4f7f8a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x85830e),this['keystrokes']['set']('arrowleft',_0x85830e),this['keystrokes']['set']('arrowup',_0x85830e),this['keystrokes']['set']('arrowdown',_0x85830e);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0xed32ee){this['revisionNameInputView']['fieldView']['element']['value']=_0xed32ee['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2f2ca5){const _0x29d045=new at(this['locale'],_0x1bf9e4),_0x57b047=_0x29d045['fieldView'];_0x57b047['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x3e5a8b=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2f2ca5&&(_0x3e5a8b+='\x20('+y(this['locale'],'optional')+')'),(_0x29d045['label']=_0x3e5a8b,_0x57b047['on']('input',()=>{this['revisionNameInputValue']=_0x57b047['element']['value']['trim']();}),_0x29d045);}}class u extends _0xee79cb{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x21c36e=this['editor'],_0x322184=_0x21c36e['plugins']['get']('RevisionTracker');_0x21c36e['ui']['componentFactory']['add']('revisionHistory',_0x51e202=>{const _0x1cf2df=_0x33b498(_0x51e202),_0x17ff35=_0x1cf2df['panelView']['children'],_0x5f606d=new te(_0x51e202),_0x253522=new _0x36c027(_0x51e202),_0x76f193=new _0x511aaa(_0x51e202),_0x159d42=new _0x36c027(_0x51e202),_0x1876d3=new _0x511aaa(_0x51e202);return _0x1cf2df['bind']('isEnabled')['to'](_0x322184,'isReady',_0x322184,'isEnabled',_0x21c36e,'isReadOnly',(_0x46aa7b,_0x5820bd,_0x149ed8)=>_0x46aa7b&&_0x5820bd&&!_0x149ed8),_0x1cf2df['buttonView']['set']({'icon':_0x3b7ecd['history'],'label':y(_0x51e202,'Revision\x20history'),'tooltip':!0x0}),_0x76f193['set']({'label':y(_0x51e202,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x76f193['bind']('isEnabled')['to'](_0x322184,'isReady',_0x322184,'isEnabled',_0x21c36e,'isReadOnly',(_0x105339,_0x4f781c,_0x422d6a)=>_0x105339&&_0x4f781c&&!_0x422d6a),_0x76f193['on']('execute',()=>this['_showDialog']()),_0x1876d3['set']({'label':y(_0x51e202,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x1876d3['bind']('isEnabled')['to'](_0x322184,'isReady',_0x21c36e,'isReadOnly',(_0x43ff7f,_0x27cdf7)=>_0x43ff7f&&!_0x27cdf7),_0x1876d3['on']('execute',()=>{_0x21c36e['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1cf2df['isOpen']=!0x1,_0x21c36e['editing']['view']['focus']();}),_0x253522['children']['add'](_0x76f193),_0x159d42['children']['add'](_0x1876d3),_0x5f606d['role']='menu',_0x5f606d['items']['addMany']([_0x253522,_0x159d42]),_0x17ff35['add'](_0x5f606d),_0x1cf2df;}),_0x21c36e['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4fd9a5=this['editor'],_0xf8a019=_0x4fd9a5['locale'],_0x4bde4b=new _0xda99a7(_0xf8a019),_0x4f1f87=new _0x503e21(_0xf8a019);_0x4bde4b['buttonView']['set']({'icon':_0x3b7ecd['history'],'label':y(_0xf8a019,'Revision\x20history')});const _0x435abe=new _0x292e66(_0xf8a019,_0x4bde4b),_0x30c758=new _0x599b74(_0xf8a019);_0x30c758['set']({'label':y(_0xf8a019,'Save\x20current\x20revision')}),_0x30c758['delegate']('execute')['to'](_0x4bde4b),_0x30c758['on']('execute',()=>{this['_showDialog']();}),_0x435abe['children']['add'](_0x30c758),_0x4f1f87['items']['add'](_0x435abe);const _0x3f2d32=new _0x292e66(_0xf8a019,_0x4bde4b),_0x13ec0a=new _0x599b74(_0xf8a019);return _0x13ec0a['set']({'label':y(_0xf8a019,'Open\x20revision\x20history')}),_0x13ec0a['delegate']('execute')['to'](_0x4bde4b),_0x13ec0a['on']('execute',()=>{_0x4fd9a5['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3f2d32['children']['add'](_0x13ec0a),_0x4f1f87['items']['add'](_0x3f2d32),_0x4bde4b['panelView']['children']['add'](_0x4f1f87),_0x4bde4b;}['_showDialog'](){const _0x662aab=this['editor'],_0x54d487=_0x662aab['locale'],_0x3fe241=_0x662aab['plugins']['get']('Dialog'),_0xc012f2=_0x662aab['plugins']['get']('RevisionTracker');function _0x189a76(_0x2ced0b){_0x662aab['config']['get']('revisionHistory.requireRevisionName')&&''===_0x2ced0b['revisionName']?_0x2ced0b['revisionNameInputView']['errorText']=y(_0x54d487,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x662aab['plugins']['get'](l)['saveRevision']({'name':_0x2ced0b['revisionName']}),_0x3fe241['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x189a76(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3fe241['show']({'id':'revisionSave','title':y(_0x54d487,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x662aab['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x3fe241['hide']()},{'label':y(_0x662aab['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x299b3e){_0x299b3e['bind']('isEnabled')['to'](_0xc012f2,'isReady',_0xc012f2,'isEnabled',_0x662aab,'isReadOnly',(_0x2c24cf,_0x1cb8f4,_0x1fd9ce)=>_0x2c24cf&&_0x1cb8f4&&!_0x1fd9ce);},'onExecute':()=>_0x189a76(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x10169a=this['editor'],_0x5ef314=_0x10169a['locale'];this['_saveRevisionFormView']=new ns(_0x5ef314,_0x10169a['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4c66c7{['changeId'];['_model'];constructor(_0x5e7711,_0x1d0455){super(_0x5e7711),this['_model']=_0x1d0455,this['changeId']=_0x1d0455['id'];const _0x35a9d5=this['bindTemplate'],_0x180c90=y(_0x5e7711,_0x1d0455['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1d0455['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1d0455['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x35a9d5['to']('type',_0x14fd4f=>'ck-revision-change__'+_0x14fd4f)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x180c90}]},{'text':'\x20'+_0x1d0455['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x46cb4a(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4eba83){super(),this['id']=_0x4eba83['id']||_0x568989(),this['author']=_0x4eba83['author'],this['type']=_0x4eba83['type'],this['data']=_0x4eba83['data']||{},this['rootName']=_0x4eba83['rootName'],this['set']('createdAt',_0x4eba83['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(_0x4a168c,_0x55c0f1){this['newRevisionId']=_0x4a168c,this['oldRevisionId']=_0x55c0f1,this['changes']=new _0x434d0f();}['_setChanges'](_0x3e50ac){for(const _0x3c20d0 of _0x3e50ac)this['changes']['add'](_0x3c20d0);}}const tt={'c':_0x24f7e9,'a':_0x1df8b6,'e':_0x216218,'r':_0x34adc1,'u':_0x4a8255};class d extends _0xee79cb{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2d5e99,_0xb8503e,A];}constructor(_0x4c47c2){super(_0x4c47c2),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',(_0x16c8ae,_0x14a47b,_0x4bbe3b)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x44900e=>{for(const _0x4c5150 of this['editor']['editing']['view']['document']['roots'])_0x4bbe3b?_0x44900e['removeClass']('ck-editor__editable__overlay',_0x4c5150):_0x44900e['addClass']('ck-editor__editable__overlay',_0x4c5150);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x423b60=>null!==_0x423b60),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x54cc2f,_0xf29c55,_0x44932d)=>_0x54cc2f&&_0x44932d?_0xf29c55['changes']['getIndex'](_0x44932d):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x117751,_0x2176bf)=>_0x117751?_0x2176bf['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0xb8503e);}['init'](){const _0x53b2ce=this['editor'],_0x4941d9=new yt(_0x53b2ce,{'direction':'backward'}),_0x13aaa3=new yt(_0x53b2ce,{'direction':'forward'});(_0x53b2ce['commands']['add']('showPreviousChange',_0x4941d9),_0x53b2ce['commands']['add']('showNextChange',_0x13aaa3),_0x53b2ce['commands']['add']('restoreRevision',new bt(_0x53b2ce)),this['on']('change:numberOfChanges',()=>{_0x4941d9['refresh'](),_0x13aaa3['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x53b2ce['enableReadOnlyMode']('revision-viewer'),_0x53b2ce['plugins']['has']('WidgetToolbarRepository'))&&_0x53b2ce['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2bb22a){await this['loadRevisionData'](_0x2bb22a);const _0x3e5a7c={};for(const _0x567ab3 in _0x2bb22a['diffData']){if(_0x2bb22a['diffData'][_0x567ab3]['attachChange']&&!_0x2bb22a['diffData'][_0x567ab3]['attachChange']['isAttached'])continue;const _0xb7adfe=this['_removeRevisionMarkers'](JSON['parse'](_0x2bb22a['diffData'][_0x567ab3]['insertions'])),_0x53cfb3=this['editor']['editing']['view']['document'],_0x177b71=new _0x34decc(_0x53cfb3,_0xb7adfe['map'](_0x3ef1bc=>this['_getViewObj'](_0x3ef1bc)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3e5a7c[_0x567ab3]=this['editor']['data']['processor']['toData'](_0x177b71),this['editor']['data']['processor']['useFillerType']('default');}return _0x3e5a7c;}async['getRevisionRootsAttributes'](_0x425479){await this['loadRevisionData'](_0x425479);const _0x4842fc={};for(const _0x2ecf22 in _0x425479['diffData'])_0x425479['diffData'][_0x2ecf22]['attachChange']&&!_0x425479['diffData'][_0x2ecf22]['attachChange']['isAttached']||(_0x4842fc[_0x2ecf22]=_0x425479['diffData'][_0x2ecf22]['attributesAfter']||{});return _0x4842fc;}['_removeRevisionMarkers'](_0x5940f7){return(_0x5940f7=_0x5940f7['filter'](_0x501b6d=>!_0x501b6d['name']||'revision-start'!==_0x501b6d['name']&&'revision-end'!==_0x501b6d['name']))['forEach'](_0x22d07a=>{'string'!=typeof _0x22d07a&&(_0x22d07a['children']=this['_removeRevisionMarkers'](_0x22d07a['children']),_0x22d07a['attributes']=_0x22d07a['attributes']['filter'](_0x197e96=>!_0x197e96[0x0]['startsWith']('data-revision-')));}),_0x5940f7;}async['compare'](_0x389410,_0x1b9d93,_0x59641e=!0x1){if(!this['isEnabled'])return;const _0x4f369d=this['diff'],_0x50b801=this['repository'],_0x318b3e='string'==typeof _0x389410?_0x50b801['getRevision'](_0x389410):_0x389410,_0x2b169b='string'==typeof _0x1b9d93?_0x50b801['getRevision'](_0x1b9d93):_0x1b9d93,_0x47e2d4=_0x318b3e['id'],_0xa601b8=_0x2b169b?_0x2b169b['id']:null;if(!_0x59641e&&this['diff']&&this['diff']['newRevisionId']===_0x47e2d4&&this['diff']['oldRevisionId']===_0xa601b8)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x47e2d4,_0xa601b8);const _0xb70597=this['_getRevisionsRange'](_0x318b3e,_0x2b169b,!0x0)['map'](_0x119695=>this['loadRevisionData'](_0x119695));return _0xb70597['push'](new Promise(_0x5b543e=>{setTimeout(_0x5b543e,0x14);})),Promise['all'](_0xb70597)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x562181=this['_getDiff'](_0x47e2d4,_0xa601b8);for(const _0x3d7a32 of _0x562181['changes'])this['_changeIdToChange']['set'](_0x3d7a32['id'],_0x3d7a32);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x22807f=>{for(const _0x424a88 of this['editor']['model']['document']['getRootNames']())_0x22807f['detachRoot'](_0x424a88);for(const _0x3f3119 of Object['keys'](_0x562181['model'])){const _0x20b83f=_0x22807f['addRoot'](_0x3f3119);for(const _0x1a1185 of Object['keys'](_0x562181['attributes'][_0x3f3119]))_0x22807f['setAttribute'](_0x1a1185,_0x562181['attributes'][_0x3f3119][_0x1a1185],_0x20b83f);_0x22807f['insert'](_0x562181['model'][_0x3f3119],_0x20b83f,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x562181['changes'])),this['isReady']=!0x0;})['catch'](_0x4b42be=>{console['error'](_0x4b42be),this['_cleanUp'](),_0x4f369d&&(this['diff']=_0x4f369d),this['isReady']=!0x0;});}['addRevisionData'](_0x48c59a,_0x3a80fe){const _0x665468=this['repository']['createRevision'](_0x48c59a);return _0x665468['on']('_update',(_0x54d714,_0xe5fa99,_0x140984)=>_0x3a80fe(_0xe5fa99,_0x140984,_0x665468)),this['repository']['addRevision'](_0x665468),_0x665468;}['loadRevisionData'](_0xdce782){if(!_0xdce782||_0xdce782['diffData'])return Promise['resolve']();{const _0x1c67e3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1c67e3,'revisionId':_0xdce782['id']})['then'](_0x509d39=>{_0xdce782['_update']({'diffData':_0x509d39['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},_0x26277e=>{for(const _0x4ad9a0 of this['editor']['model']['document']['getRootNames']())_0x26277e['detachRoot'](_0x4ad9a0);});}['_sortAndFilterDiffChanges'](_0x56c2b4){const _0x3e2c1a=[],_0x1ca7e7=new Map();for(const _0x539e18 of this['editor']['model']['document']['getRootNames']()){const _0x3bc268=this['editor']['editing']['view']['getDomRoot'](_0x539e18);if(!_0x3bc268)continue;const _0x27c040=_0x3bc268['getClientRects']()['item'](0x0);_0x27c040&&(_0x3e2c1a['push'](_0x539e18),_0x1ca7e7['set'](_0x539e18,_0x27c040));}return _0x3e2c1a['sort']((_0x20b835,_0x2dba8d)=>{const _0x6fcb21=_0x1ca7e7['get'](_0x20b835),_0x1d13a5=_0x1ca7e7['get'](_0x2dba8d);return _0x6fcb21['y']-_0x1d13a5['y']||_0x6fcb21['x']-_0x1d13a5['x'];}),(_0x56c2b4=_0x56c2b4['filter'](_0x52f4f8=>_0x3e2c1a['includes'](_0x52f4f8['rootName'])))['sort']((_0x5096e7,_0x23b9ff)=>_0x3e2c1a['indexOf'](_0x5096e7['rootName'])-_0x3e2c1a['indexOf'](_0x23b9ff['rootName'])),_0x56c2b4;}['_makeTape'](_0x42be11){const _0x5a9c7a=Array['from'](_0x42be11['markers'])['filter'](([_0x49670d,_0x58f935])=>_0x49670d['startsWith']('revision:')&&!_0x58f935['isCollapsed']),_0x40169c=Array['from'](this['editor']['model']['createRangeIn'](_0x42be11)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5a9c7a['length'])for(const _0x3d464f of _0x40169c){const [_0x34f4dc,_0x99cfe3]=_0x5a9c7a[0x0],[,_0x41ce57,_0x4580ea]=_0x34f4dc['split'](':');if(_0x99cfe3['end']['isEqual'](_0x3d464f['nextPosition'])&&_0x5a9c7a['shift'](),(_0x3d464f['previousPosition']['isEqual'](_0x99cfe3['start'])||_0x3d464f['previousPosition']['isAfter'](_0x99cfe3['start']))&&('insertion'==_0x41ce57?_0x3d464f['isAdded']={'userId':_0x4580ea}:'deletion'==_0x41ce57&&(_0x3d464f['isRemoved']={'userId':_0x4580ea})),0x0==_0x5a9c7a['length'])break;}return _0x40169c;}['_refreshStartEndIndex'](_0x52e485){const _0x44d7d4=new Map();for(let _0x174308=0x0;_0x174308<_0x52e485['length'];_0x174308++)'text'===_0x52e485[_0x174308]['type']?(_0x52e485[_0x174308]['item']['startIndex']=_0x174308,_0x52e485[_0x174308]['item']['endIndex']=_0x174308):('elementStart'===_0x52e485[_0x174308]['type']?_0x52e485[_0x174308]['item']['startIndex']=_0x174308:'elementEnd'===_0x52e485[_0x174308]['type']&&(_0x52e485[_0x174308]['item']['endIndex']=_0x174308),_0x44d7d4['set'](_0x52e485[_0x174308]['id'],_0x174308));for(const _0x22869d of _0x44d7d4['values']())'elementStart'===_0x52e485[_0x22869d]['type']?_0x52e485[_0x22869d]['item']['endIndex']=_0x44d7d4['get'](_0x52e485[_0x22869d]['pairId']):'elementEnd'===_0x52e485[_0x22869d]['type']&&(_0x52e485[_0x22869d]['item']['startIndex']=_0x44d7d4['get'](_0x52e485[_0x22869d]['pairId']));}['_processTape'](_0x478474){for(let _0x110136=0x0;_0x110136<_0x478474['length'];_0x110136++){if('elementStart'===_0x478474[_0x110136]['type'])_0x478474[_0x110136]['item']['startIndex']=_0x110136;else{if('elementEnd'===_0x478474[_0x110136]['type']){_0x478474[_0x110136]['item']['endIndex']=_0x110136;const _0x449d29=_0x478474[_0x110136]['item']['startIndex'];_0x478474[_0x449d29]['pairId']=_0x478474[_0x110136]['id'],_0x478474[_0x110136]['pairId']=_0x478474[_0x449d29]['id'];}else _0x478474[_0x110136]['item']['startIndex']=_0x110136,_0x478474[_0x110136]['item']['endIndex']=_0x110136,_0x478474[_0x110136]['pairId']=null;}_0x478474[_0x110136]['markersStart']||(_0x478474[_0x110136]['markersStart']=[],_0x478474[_0x110136]['markersEnd']=[]);}}['_markInsertions'](_0x494df0,_0x250ed0){const _0x383c52=_0x494df0['filter'](_0x4f3935=>!_0x4f3935['isAdded']);for(let _0x5a73a4=0x0;_0x5a73a4<_0x250ed0['length'];_0x5a73a4++)_0x250ed0[_0x5a73a4]['isAdded']&&(_0x383c52[_0x5a73a4]['isAdded']=_0x250ed0[_0x5a73a4]['isAdded']);}['_makeModelFromViewString'](_0x40a872){const _0x5348ea=JSON['parse'](_0x40a872),_0x5e3486=this['editor']['editing']['view']['document'],_0x4d1d6b=new _0x34decc(_0x5e3486,_0x5348ea['map'](_0x2e8fd6=>this['_getViewObj'](_0x2e8fd6)));return this['editor']['data']['toModel'](_0x4d1d6b);}['_getViewObj'](_0x1b03f8){const _0x51d91e=this['editor']['editing']['view']['document'];if('string'==typeof _0x1b03f8)return new _0x39beba(_0x51d91e,_0x1b03f8);{const _0x1d3bb9=_0x1b03f8['children']['map'](_0x27c438=>this['_getViewObj'](_0x27c438));return new(tt[_0x1b03f8['type']]||_0x37dc27)(_0x51d91e,_0x1b03f8['name'],_0x1b03f8['attributes'],_0x1d3bb9);}}['_getDiff'](_0x2ce7d7,_0x50ec3a=null){const _0x149461=this['repository']['getRevision'](_0x2ce7d7),_0x491c84=_0x50ec3a?this['repository']['getRevision'](_0x50ec3a):null,_0x340d6b=this['_getRevisionsRange'](_0x149461,_0x491c84),_0xfc2835=_0x340d6b[_0x340d6b['length']-0x1],_0x59ad4f=new Map(),_0x424525={'model':{},'attributes':{},'changes':[]},_0x3a2e86=new Set(),_0xb1da3e=new Map();for(let _0x569642=_0x340d6b['length']-0x1;_0x569642>=0x0;_0x569642--){const _0x4004d8=_0x340d6b[_0x569642];for(const _0x59111f of Object['keys'](_0x4004d8['diffData']))if(_0x4004d8['diffData'][_0x59111f]['attachChange']){const _0x3b9e5e=_0x4004d8['diffData'][_0x59111f]['attachChange'];_0x3b9e5e['isAttached']?(_0x3a2e86['add'](_0x59111f),_0xb1da3e['has'](_0x59111f)&&_0xb1da3e['get'](_0x59111f)['userId']==_0x3b9e5e['userId']?_0xb1da3e['delete'](_0x59111f):_0xb1da3e['set'](_0x59111f,_0x3b9e5e)):_0xb1da3e['has'](_0x59111f)?(_0x3a2e86['delete'](_0x59111f),_0xb1da3e['delete'](_0x59111f)):(_0x3a2e86['add'](_0x59111f),_0xb1da3e['set'](_0x59111f,_0x3b9e5e));}else _0x3a2e86['add'](_0x59111f);}for(const _0x50a4ff of _0x3a2e86){const _0x58fbe7=_0xb1da3e['has'](_0x50a4ff)&&!_0xb1da3e['get'](_0x50a4ff)['isAttached'];let _0x4628c3=_0x58fbe7?_0x340d6b['length']-0x1:0x0;const _0x79934f=_0x58fbe7?-0x1:0x1;for(;_0x340d6b[_0x4628c3];){const _0x1e9f59=_0x340d6b[_0x4628c3];if(_0x1e9f59['diffData'][_0x50a4ff]){const _0x2df492=_0x58fbe7?_0x1e9f59['diffData'][_0x50a4ff]['attributesBefore']:_0x1e9f59['diffData'][_0x50a4ff]['attributesAfter'];_0x424525['attributes'][_0x50a4ff]=_0x2df492?_0x46fb8d(_0x2df492):{};break;}_0x4628c3+=_0x79934f;}}for(const _0x18ce78 of _0x340d6b){_0x18ce78['model']={};for(const _0x598d10 of _0x18ce78['authors'])_0x59ad4f['set'](_0x598d10['id'],_0x598d10);for(const _0x43e9dd of _0x3a2e86){const _0x229a42=_0x18ce78['diffData'][_0x43e9dd]?_0x18ce78['diffData'][_0x43e9dd]['insertions']:'[]',_0x1a3970=_0x18ce78['diffData'][_0x43e9dd]?_0x18ce78['diffData'][_0x43e9dd]['deletions']:'[]';_0x18ce78['model'][_0x43e9dd]={'insertions':this['_makeModelFromViewString'](_0x229a42),'deletions':this['_makeModelFromViewString'](_0x1a3970)};}}for(const _0x35ca7b of _0x3a2e86){let _0x377268=null,_0x343202=0x0;const _0x49b034=new Map(Array['from'](_0x149461['model'][_0x35ca7b]['insertions']['markers'])['filter'](([_0xc214c8])=>!_0xc214c8['startsWith']('revision:')));let _0x445bdf=0x0;for(const _0x31ea7c of _0x340d6b){const _0x28ab41=this['_makeTape'](_0x31ea7c['model'][_0x35ca7b]['insertions']);_0x31ea7c==_0x149461?(_0x377268=_0x28ab41,_0x343202=_0x377268['length'],_0x377268['forEach'](_0x2187d6=>{_0x2187d6['id']=_0x445bdf++;}),this['_processTape'](_0x377268)):this['_markInsertions'](_0x377268,_0x28ab41);const _0x8aae8c=_0x377268['filter'](_0x5702bc=>!_0x5702bc['isAdded'])['map'](_0x46f33e=>_0x46f33e['id']);let _0x3a3051=0x0;const _0x4151f7=this['_makeTape'](_0x31ea7c['model'][_0x35ca7b]['deletions']);_0x4151f7['forEach'](_0xe95cae=>{_0xe95cae['isRemoved']?_0xe95cae['id']=_0x343202++:_0xe95cae['id']=_0x8aae8c[_0x3a3051++];}),this['_processTape'](_0x4151f7),this['_setDistance'](_0x377268,'isAdded'),this['_setDistance'](_0x4151f7,'isRemoved'),_0x31ea7c==_0x149461&&this['_markMarkers'](_0x377268,_0x49b034),_0x377268=this['_joinTapes'](_0x377268,_0x4151f7),this['_refreshStartEndIndex'](_0x377268),this['_setDistance'](_0x377268,'isRemoved');}_0x377268=_0x377268['filter'](_0x1aee94=>!(_0x1aee94['isAdded']&&_0x1aee94['isRemoved']));const _0x2c85fd=new Map(_0xfc2835['model'][_0x35ca7b]['deletions']['markers']),_0x5f32d8=new Set(_0x49b034['keys']());for(const _0x18e288 of _0x2c85fd['keys']())_0x5f32d8['delete'](_0x18e288);this['_markSuggestions'](_0x377268,_0x5f32d8),this['_fixObsoleteTags'](_0x377268),_0x377268=this['_removeMissingPairs'](_0x377268),_0x377268=this['_markMismatchedRemovedTags'](_0x377268),_0x377268=this['_removeUnsupportedChanges'](_0x377268);const {root:_0x51f68b,changes:_0x1c14db}=this['_makeModelFromTape'](_0x377268,_0x59ad4f,_0x35ca7b);_0x424525['model'][_0x35ca7b]=_0x51f68b;const _0x485634=_0xb1da3e['get'](_0x35ca7b);if(_0x485634){const _0x2a6757=_0x59ad4f['get'](_0x485634['userId']),_0x40ddab=new r({'author':_0x2a6757,'type':_0x485634['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x35ca7b});_0x1c14db['unshift'](_0x40ddab),_0x424525['attributes'][_0x35ca7b]['revisionHistoryAttachChange']=_0x40ddab['id'];}_0x424525['changes']=_0x424525['changes']['concat'](_0x1c14db);}return _0x424525;}['_markMarkers'](_0x194df5,_0x21860c){for(let _0x3a4f75=0x0;_0x3a4f75<_0x194df5['length'];_0x3a4f75++)for(const [_0x453c32,_0x307397]of _0x21860c)_0x307397['start']['isEqual'](_0x194df5[_0x3a4f75]['previousPosition'])&&_0x194df5[_0x3a4f75]['markersStart']['push'](_0x453c32),_0x307397['end']['isEqual'](_0x194df5[_0x3a4f75]['nextPosition'])&&_0x194df5[_0x3a4f75]['markersEnd']['push'](_0x453c32);}['_joinTapes'](_0x55a842,_0x53ebea){let _0x1f941f=[],_0x1817dc=0x0,_0x340ac5=0x0;for(;_0x1817dc<_0x55a842['length']||_0x340ac5<_0x53ebea['length'];){const _0x56cc89=_0x55a842[_0x1817dc]||{},_0x19a69=_0x53ebea[_0x340ac5]||{};if(_0x56cc89['id']==_0x19a69['id'])_0x1817dc++,_0x340ac5++,_0x1f941f['push'](_0x56cc89);else{if(_0x19a69['isRemoved']&&_0x56cc89['isAdded']){const {commonTape:_0x4a47f2,iEnd:_0x32cb86,jEnd:_0x387c80}=this['_threeWayMerge'](_0x55a842,_0x1817dc,_0x53ebea,_0x340ac5);_0x1f941f=_0x1f941f['concat'](_0x4a47f2),_0x1817dc=_0x32cb86,_0x340ac5=_0x387c80;}else _0x19a69['isRemoved']?(_0x340ac5++,_0x1f941f['push'](_0x19a69)):(_0x1817dc++,_0x1f941f['push'](_0x56cc89));}}return _0x1f941f;}['_markSuggestions'](_0x5d2c6e,_0x524bc0){const _0xc46859=[];for(let _0x4f8aee=0x0;_0x4f8aee<_0x5d2c6e['length'];_0x4f8aee++){for(let _0x222ad3=0x0;_0x222ad3<_0x5d2c6e[_0x4f8aee]['markersStart']['length'];_0x222ad3++){const _0x41c057=_0x5d2c6e[_0x4f8aee]['markersStart'][_0x222ad3];if(!_0x524bc0['has'](_0x41c057))continue;const {group:_0xafbb9d,type:_0x534e7d,authorId:_0x5401e4}=_0x5036c5(_0x41c057);'revision-suggestion'!=_0xafbb9d||'insertion'!=_0x534e7d&&'deletion'!=_0x534e7d||(_0xc46859['unshift']({'type':_0x534e7d,'name':_0x41c057,'userId':_0x5401e4}),_0x5d2c6e[_0x4f8aee]['markersStart']['splice'](_0x222ad3,0x1),_0x222ad3--);}_0x2744d5(_0x5d2c6e[_0x4f8aee]);for(let _0x48a42a=0x0;_0x48a42a<_0x5d2c6e[_0x4f8aee]['markersEnd']['length'];_0x48a42a++){const _0x189944=_0x5d2c6e[_0x4f8aee]['markersEnd'][_0x48a42a];if(!_0x524bc0['has'](_0x189944))continue;const {group:_0x180c35,type:_0x549810}=_0x5036c5(_0x189944);if('revision-suggestion'!=_0x180c35||'insertion'!=_0x549810&&'deletion'!=_0x549810)continue;_0x5d2c6e[_0x4f8aee]['markersEnd']['splice'](_0x48a42a,0x1),_0x48a42a--;const _0x138d0a=_0xc46859['findIndex'](_0x3e41c1=>_0x3e41c1['name']==_0x189944);_0x138d0a>-0x1&&_0xc46859['splice'](_0x138d0a,0x1);}}function _0x5036c5(_0x491003){const _0x49f636=_0x491003['split'](':');return{'group':_0x49f636[0x0],'type':_0x49f636[0x1],'subType':_0x49f636['length']>=0x5?_0x49f636[0x2]:null,'id':_0x49f636['length']<0x5?_0x49f636[0x2]:_0x49f636[0x3],'authorId':_0x49f636['length']<0x5?_0x49f636[0x3]:_0x49f636[0x4],'markerCount':0x6==_0x49f636['length']?_0x49f636[0x5]:null};}function _0x2744d5(_0xaa7d1a){for(let _0x3d2bc3=0x0;_0x3d2bc3<_0xc46859['length'];_0x3d2bc3++){if(_0xaa7d1a['isAdded']&&'insertion'==_0xc46859[_0x3d2bc3]['type'])return _0xaa7d1a['isAddSuggestion']=_0xc46859[_0x3d2bc3],void delete _0xaa7d1a['isAdded'];if(!_0xaa7d1a['isAdded']&&!_0xaa7d1a['isRemoved']&&'deletion'==_0xc46859[_0x3d2bc3]['type'])return void(_0xaa7d1a['isRemoveSuggestion']=_0xc46859[_0x3d2bc3]);}}}['_setDistance'](_0x32c286,_0xb39f97){let _0x3cf77d=0x0,_0x15a789=!0x1;const _0x4184f0=new Map();for(const _0x2eb110 of _0x32c286)_0x2eb110[_0xb39f97]?_0x15a789&&(_0x3cf77d++,_0x15a789=!0x1):(_0x3cf77d++,_0x15a789=!0x0),_0x4184f0['set'](_0x2eb110['id'],_0x3cf77d);for(let _0xd16498=0x0;_0xd16498<_0x32c286['length'];_0xd16498++){if('isRemoved'==_0xb39f97&&_0x32c286[_0xd16498]['isAdded']||'isAdded'==_0xb39f97&&_0x32c286[_0xd16498]['isRemoved'])continue;if('text'==_0x32c286[_0xd16498]['type']){_0x32c286[_0xd16498]['distance']=0x0;continue;}const _0x4a545a=_0x4184f0['get'](_0x32c286[_0xd16498]['pairId']),_0x1e0403=_0x4184f0['get'](_0x32c286[_0xd16498]['id']);_0x32c286[_0xd16498]['distance']=_0x4a545a-_0x1e0403;}}['_getRevisionsRange'](_0x19ae35,_0x29a174,_0x1ba42d=!0x1){const _0x18e17c=[];let _0x2aab11=this['repository']['getIndex'](_0x19ae35),_0x4c5eec=this['repository']['getIndex'](_0x29a174);for(-0x1==_0x4c5eec&&(_0x4c5eec=this['repository']['_revisions']['length'],_0x1ba42d=!0x1);_0x2aab11<_0x4c5eec;)_0x18e17c['push'](this['repository']['getRevision'](_0x2aab11)),_0x2aab11++;return _0x1ba42d&&_0x18e17c['push'](this['repository']['getRevision'](_0x2aab11)),_0x18e17c;}['_threeWayMerge'](_0x47c85f,_0x3952ac,_0x4b7ac8,_0x1463e8){const _0x4d0c7d=this['editor']['model']['schema'];let _0x1b1dd8=_0x3952ac;for(;_0x47c85f[_0x1b1dd8]&&_0x47c85f[_0x1b1dd8]['isAdded'];)_0x1b1dd8++;let _0x4e140e=_0x1463e8;for(;_0x4b7ac8[_0x4e140e]&&_0x4b7ac8[_0x4e140e]['isRemoved'];)_0x4e140e++;_0x25f5b7(_0x47c85f,_0x3952ac,_0x1b1dd8),_0x25f5b7(_0x4b7ac8,_0x1463e8,_0x4e140e);const _0x514dbe=_0x4b7ac8['slice'](_0x1463e8,_0x4e140e)['concat'](_0x47c85f['slice'](_0x3952ac,_0x1b1dd8));return _0x514dbe['sort']((_0x5dc144,_0x3e62d7)=>_0x5dc144['side']!=_0x3e62d7['side']?_0x5dc144['side']-_0x3e62d7['side']:_0x5dc144['level']!=_0x3e62d7['level']?_0x5dc144['level']-_0x3e62d7['level']:_0x5dc144['distance']!=_0x3e62d7['distance']?_0x3e62d7['distance']-_0x5dc144['distance']:!!_0x5dc144['isAdded']!=!!_0x3e62d7['isAdded']?-0x1==_0x5dc144['side']||0x0==_0x5dc144['side']?_0x5dc144['isAdded']?-0x1:0x1:_0x5dc144['isAdded']?0x1:-0x1:_0x5dc144['index']-_0x3e62d7['index']),{'commonTape':_0x514dbe,'iEnd':_0x1b1dd8,'jEnd':_0x4e140e};function _0x25f5b7(_0x2b926b,_0x508ba5,_0x55b4e0){let _0x2b4b0e=-0x1,_0x5943fd=Number['POSITIVE_INFINITY'],_0x551839=!0x0;for(let _0x537ac6=_0x508ba5;_0x537ac6<_0x55b4e0;_0x537ac6++)if(_0x4d0c7d['isInline'](_0x2b926b[_0x537ac6]['item'])||(_0x551839=!0x1),_0x2b926b[_0x537ac6]['item']['startIndex']<_0x508ba5&&(_0x2b4b0e=_0x537ac6),_0x2b926b[_0x537ac6]['item']['endIndex']>=_0x55b4e0){_0x5943fd=_0x537ac6;break;}_0x551839&&(_0x2b4b0e=_0x55b4e0-0x1);for(let _0x4610ff=_0x508ba5;_0x4610ff<_0x55b4e0;_0x4610ff++)_0x2b926b[_0x4610ff]['side']=_0x4610ff<=_0x2b4b0e?-0x1:_0x4610ff<_0x5943fd?0x0:0x1,_0x2b926b[_0x4610ff]['index']=_0x4610ff;let _0x39d152=0x0;for(let _0xcfd967=_0x508ba5;_0xcfd967<=_0x2b4b0e;_0xcfd967++)0x0==_0x2b926b[_0xcfd967]['distance']?_0x2b926b[_0xcfd967]['level']=_0x39d152:(_0x39d152++,_0x2b926b[_0xcfd967]['level']=_0x39d152,_0x39d152++);for(let _0x2405ab=_0x508ba5;_0x2405ab<_0x55b4e0;_0x2405ab++)0x0==_0x2b926b[_0x2405ab]['side']&&(_0x2b926b[_0x2405ab]['level']=_0x39d152);_0x39d152=0x0;for(let _0x321aa1=_0x55b4e0-0x1;_0x321aa1>=_0x5943fd;_0x321aa1--)0x0==_0x2b926b[_0x321aa1]['distance']?_0x2b926b[_0x321aa1]['level']=_0x39d152:(_0x39d152--,_0x2b926b[_0x321aa1]['level']=_0x39d152,_0x39d152--);}}['_fixObsoleteTags'](_0x218d53){const _0x52224f=new Map(),_0x25529b=this['editor']['model']['schema'];for(let _0x438d38=0x1;_0x438d38<_0x218d53['length'];_0x438d38++){let _0x44ccc7,_0xa28db5,_0x4cbbda;const _0x1253e5=_0x218d53[_0x438d38],_0xd2a7a2=_0x218d53[_0x438d38-0x1];if('text'==_0x1253e5['type'])continue;if(_0x1253e5['type']!=_0xd2a7a2['type'])continue;if(!_0x25529b['isBlock'](_0xd2a7a2['item'])||_0x25529b['isLimit'](_0xd2a7a2['item']))continue;if(!_0x25529b['isBlock'](_0x1253e5['item'])||_0x25529b['isLimit'](_0x1253e5['item']))continue;if((_0x218d53[_0x438d38]['isAdded']||_0x218d53[_0x438d38]['isAddSuggestion'])&&_0x218d53[_0x438d38-0x1]['isRemoved'])_0x44ccc7=_0x218d53[_0x438d38],_0xa28db5=_0x218d53[_0x438d38-0x1],_0x4cbbda=_0x438d38-0x1;else{if(!_0x218d53[_0x438d38]['isRemoved']||!_0x218d53[_0x438d38-0x1]['isAdded']&&!_0x218d53[_0x438d38-0x1]['isAddSuggestion'])continue;_0x44ccc7=_0x218d53[_0x438d38-0x1],_0xa28db5=_0x218d53[_0x438d38],_0x4cbbda=_0x438d38;}const _0x522951=_0x44ccc7['level']==_0xa28db5['level'],_0x4ae8b1=Math['abs'](_0x44ccc7['level'])<Math['abs'](_0xa28db5['level'])&&0x0==_0xa28db5['distance'];(_0x522951||_0x4ae8b1)&&(_0x52224f['set'](_0xa28db5['id'],_0x44ccc7['id']),_0x218d53['splice'](_0x4cbbda,0x1),_0x438d38--,_0x44ccc7['isAdded']=!0x1);}for(let _0x349ac5=0x0;_0x349ac5<_0x218d53['length'];_0x349ac5++)_0x52224f['has'](_0x218d53[_0x349ac5]['pairId'])&&(_0x218d53[_0x349ac5]['pairId']=_0x52224f['get'](_0x218d53[_0x349ac5]['pairId']));}['_removeMissingPairs'](_0x926081){const _0x58ae4e=new Set(_0x926081['map'](_0x171db5=>_0x171db5['id']));for(let _0x3d77e7=0x0;_0x3d77e7<_0x926081['length'];_0x3d77e7++)_0x58ae4e['has'](_0x926081[_0x3d77e7]['pairId'])||0x0==_0x926081[_0x3d77e7]['distance']||(_0x926081[_0x3d77e7]['isIncorrect']=!0x0);return _0x926081['filter'](_0x11973a=>!_0x11973a['isIncorrect']);}['_markMismatchedRemovedTags'](_0x49f1ce){const _0x3983a5=new Set();for(let _0x25f04b=0x0;_0x25f04b<_0x49f1ce['length'];_0x25f04b++){if(_0x3983a5['has'](_0x49f1ce[_0x25f04b]['id'])&&_0x49f1ce[_0x25f04b]['isRemoved']&&(_0x49f1ce[_0x25f04b]['isIncorrect']=!0x0),_0x49f1ce[_0x25f04b]['isIncorrect'])continue;if(0x0==_0x49f1ce[_0x25f04b]['distance'])continue;if('elementStart'!=_0x49f1ce[_0x25f04b]['type'])continue;if(null==_0x49f1ce[_0x25f04b]['pairId'])continue;let _0x37c8aa=_0x25f04b+0x1,_0x29a28f=0x0;for(;_0x49f1ce[_0x37c8aa]['id']!=_0x49f1ce[_0x25f04b]['pairId'];)'elementStart'==_0x49f1ce[_0x37c8aa]['type']?_0x29a28f++:'elementEnd'==_0x49f1ce[_0x37c8aa]['type']&&_0x29a28f--,_0x37c8aa++;if(0x0!=_0x29a28f){if(_0x49f1ce[_0x25f04b]['isRemoved'])_0x49f1ce[_0x25f04b]['isIncorrect']=!0x0;else{for(;_0x37c8aa!=_0x25f04b;)_0x49f1ce[_0x37c8aa]['isRemoved']&&0x0!=_0x49f1ce[_0x37c8aa]['distance']&&(_0x49f1ce[_0x37c8aa]['isIncorrect']=!0x0,_0x3983a5['add'](_0x49f1ce[_0x37c8aa]['pairId'])),_0x37c8aa--;}}}return _0x49f1ce['filter'](_0x5809f8=>!_0x5809f8['isIncorrect']);}['_removeUnsupportedChanges'](_0x25d5c1){const _0x220b54=this['editor']['model']['schema'];for(let _0x51a20f=0x0;_0x51a20f<_0x25d5c1['length'];_0x51a20f++){if(!(_0x25d5c1[_0x51a20f]['isAdded']||_0x25d5c1[_0x51a20f]['isAddSuggestion']||_0x25d5c1[_0x51a20f]['isRemoved']||_0x25d5c1[_0x51a20f]['isRemoveSuggestion']))continue;if(0x0==_0x25d5c1[_0x51a20f]['distance'])continue;const _0x382995=_0x25d5c1[_0x51a20f]['item'];_0x220b54['isBlock'](_0x382995)||_0x220b54['isLimit'](_0x382995)||(_0x25d5c1[_0x51a20f]['isAdded']&&delete _0x25d5c1[_0x51a20f]['isAdded'],_0x25d5c1[_0x51a20f]['isAddSuggestion']&&delete _0x25d5c1[_0x51a20f]['isAddSuggestion'],_0x25d5c1[_0x51a20f]['isRemoveSuggestion']&&delete _0x25d5c1[_0x51a20f]['isRemoveSuggestion'],_0x25d5c1[_0x51a20f]['isRemoved']&&(_0x25d5c1[_0x51a20f]['isIncorrect']=!0x0));}return _0x25d5c1['filter'](_0x1ec8a9=>!_0x1ec8a9['isIncorrect']);}['_makeModelFromTape'](_0x35f6e7,_0xd71faa,_0x5ac99a){const _0x2e2875=new wt(),_0x3bfc23=[],_0x39a617=new Map(),_0x27347b=this['editor']['model'],_0x337766=_0x27347b['schema'],_0x4a312e=[_0x2e2875],_0x320835={},_0x57df41={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x6ef741=null;const _0x5182d2=[0x0];for(let _0x46d57a=0x0;_0x46d57a<_0x35f6e7['length'];_0x46d57a++){let _0x3f4b65,_0x66780;if('elementStart'===_0x35f6e7[_0x46d57a]['type']){_0x3f4b65=_0x27347b['createPositionFromPath'](_0x2e2875,_0x5182d2);const _0x1a2aac=new ft(_0x35f6e7[_0x46d57a]['item']['name'],_0x35f6e7[_0x46d57a]['item']['getAttributes']());_0x4a312e[0x0]['_appendChild'](_0x1a2aac),_0x5182d2['push'](0x0),_0x4a312e['unshift'](_0x1a2aac),_0x66780=_0x27347b['createPositionFromPath'](_0x2e2875,_0x5182d2),_0x6ef741=null;}else{if('elementEnd'===_0x35f6e7[_0x46d57a]['type'])_0x4a312e['shift'](),_0x3f4b65=_0x27347b['createPositionFromPath'](_0x2e2875,_0x5182d2),_0x5182d2['pop'](),_0x5182d2[_0x5182d2['length']-0x1]++,_0x66780=_0x27347b['createPositionFromPath'](_0x2e2875,_0x5182d2),_0x6ef741=null;else{if(_0x3f4b65=_0x27347b['createPositionFromPath'](_0x2e2875,_0x5182d2),_0x6ef741&&_0x47a4e4(_0x6ef741,_0x35f6e7[_0x46d57a]['item']))_0x6ef741['_data']+=_0x35f6e7[_0x46d57a]['item']['data'];else{const _0x5c792a=new _t(_0x35f6e7[_0x46d57a]['item']['data'],_0x35f6e7[_0x46d57a]['item']['getAttributes']());_0x4a312e[0x0]['_appendChild'](_0x5c792a),_0x6ef741=_0x5c792a;}_0x5182d2[_0x5182d2['length']-0x1]+=_0x35f6e7[_0x46d57a]['item']['offsetSize'],_0x66780=_0x27347b['createPositionFromPath'](_0x2e2875,_0x5182d2);}}for(const _0x1965a1 of _0x35f6e7[_0x46d57a]['markersStart'])_0x39a617['set'](_0x1965a1,{'start':_0x3f4b65,'end':null});_0x590d3d('isRemoveSuggestion',_0x46d57a,_0x3f4b65,_0x66780),_0x590d3d('isAddSuggestion',_0x46d57a,_0x3f4b65,_0x66780),_0x590d3d('isRemoved',_0x46d57a,_0x3f4b65,_0x66780),_0x590d3d('isAdded',_0x46d57a,_0x3f4b65,_0x66780);for(const _0x49582d of _0x35f6e7[_0x46d57a]['markersEnd']){_0x39a617['get'](_0x49582d)['end']=_0x66780;}}for(const [_0x5204b7,_0x40c4a0]of _0x39a617){const _0x3ea2ca=this['editor']['model']['createRange'](_0x40c4a0['start'],_0x40c4a0['end']);_0x2e2875['markers']['set'](_0x5204b7,_0x3ea2ca);}return _0x3bfc23['sort']((_0x1c71dd,_0x22e35e)=>{const _0x548a0f=_0x2e2875['markers']['get']('revision:'+_0x1c71dd['id']),_0x5200d7=_0x2e2875['markers']['get']('revision:'+_0x22e35e['id']);return _0x548a0f['start']['isBefore'](_0x5200d7['start'])?-0x1:_0x548a0f['start']['isAfter'](_0x5200d7['start'])?0x1:_0x548a0f['end']['isBefore'](_0x5200d7['end'])?-0x1:_0x548a0f['end']['isAfter'](_0x5200d7['end'])?0x1:'add'===_0x1c71dd['type']?-0x1:0x1;}),{'root':_0x2e2875,'changes':_0x3bfc23};function _0x590d3d(_0x5d046a,_0x21a15d,_0x19fb69,_0x242fe4){const _0x2d5fd8=!!_0x35f6e7[_0x21a15d][_0x5d046a],_0x4f80ff=_0x2d5fd8?_0x35f6e7[_0x21a15d][_0x5d046a]['userId']:null,_0x147f09=_0x21a15d===_0x35f6e7['length']-0x1,_0xe2a0bc=_0x57df41[_0x5d046a][0x0],_0x4f3318=_0x337766['isObject'](_0x35f6e7[_0x21a15d]['item']);!_0x320835[_0x5d046a]&&_0x2d5fd8?_0x320835[_0x5d046a]={'start':_0x19fb69,'tapeItem':_0x35f6e7[_0x21a15d],'userId':_0x4f80ff,'type':_0x5d046a}:_0x320835[_0x5d046a]&&!_0x2d5fd8?(_0x320835[_0x5d046a]['end']=_0x19fb69,_0x2e2011(_0x320835[_0x5d046a]),_0x320835[_0x5d046a]=null):_0x320835[_0x5d046a]&&_0x2d5fd8&&_0x320835[_0x5d046a]['userId']!==_0x4f80ff&&(_0x320835[_0x5d046a]['end']=_0x19fb69,_0xe2a0bc&&_0xe2a0bc['userId']===_0x320835[_0x5d046a]['userId']||_0x2e2011(_0x320835[_0x5d046a]),_0x320835[_0x5d046a]={'start':_0x19fb69,'tapeItem':_0x35f6e7[_0x21a15d],'userId':_0x4f80ff,'type':_0x5d046a}),_0x320835[_0x5d046a]&&_0x4f3318&&('elementStart'!==_0x35f6e7[_0x21a15d]['type']||_0xe2a0bc&&_0xe2a0bc['userId']===_0x4f80ff||_0x57df41[_0x5d046a]['unshift']({'userId':_0x4f80ff,'object':_0x35f6e7[_0x21a15d]['item'],'change':_0x320835[_0x5d046a]}),'elementEnd'===_0x35f6e7[_0x21a15d]['type']&&_0xe2a0bc&&_0xe2a0bc['object']===_0x35f6e7[_0x21a15d]['item']&&(_0x57df41[_0x5d046a]['shift'](),_0x320835[_0x5d046a]=_0xe2a0bc['change'])),_0x320835[_0x5d046a]&&_0x147f09&&(_0x320835[_0x5d046a]['end']=_0x242fe4,_0x2e2011(_0x320835[_0x5d046a]),_0x320835[_0x5d046a]=null);}function _0x2e2011({start:_0xd9eb73,end:_0x308964,tapeItem:_0x30125d,userId:_0x445fed,type:_0xa85fd3}){const _0x285a81=_0x30125d['item'],_0x4ed9ec=_0x27347b['schema']['isBlock'](_0x285a81)&&!_0x27347b['schema']['isLimit'](_0x285a81),_0x568724=_0xd9eb73['nodeAfter']==_0x308964['parent']&&_0x308964['isAtStart'];if(_0x4ed9ec&&_0x568724)return;const _0x472ed9=_0x27347b['createRange'](_0xd9eb73,_0x308964),_0x1ea84c=_0xd71faa['get'](_0x445fed),_0x2c5a14=new r({'author':_0x1ea84c,'type':'isAdded'==_0xa85fd3||'isAddSuggestion'==_0xa85fd3?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xa85fd3||'isRemoveSuggestion'==_0xa85fd3},'createdAt':new Date(),'rootName':_0x5ac99a});_0x3bfc23['push'](_0x2c5a14),_0x2e2875['markers']['set']('revision:'+_0x2c5a14['id'],_0x472ed9);}function _0x47a4e4(_0x448bc9,_0x2fa9d2){const _0x1162ed=_0x448bc9['getAttributes'](),_0x53009c=_0x2fa9d2['getAttributes']();for(const _0x44c22d of _0x1162ed){if(_0x44c22d[0x1]!==_0x2fa9d2['getAttribute'](_0x44c22d[0x0]))return!0x1;_0x53009c['next']();}return _0x53009c['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x426a36=>{const _0x422685=_0x426a36['markerName']['split'](':')[0x1],_0x2094df=this['_getChangeFromId'](_0x422685);if(!_0x2094df)return null;const _0x2617f6='add'==_0x2094df['type']?'insertion':'deletion',_0x952edd=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2617f6];return _0x2094df['data']['isSuggestion']&&_0x952edd['push']('ck-suggestion-marker-'+_0x2617f6+'-new'),this['activeChange']==_0x2094df&&_0x952edd['push']('ck-suggestion-marker--active'),{'classes':_0x952edd,'attributes':{'data-change-id':_0x422685}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x547fc2=>{_0x547fc2['on']('element:pre',(_0x3bd4bb,_0x26e764,_0x340aab)=>{const _0x34ac6a=_0x26e764['viewItem']['getChild'](0x0);if(!_0x34ac6a||!_0x34ac6a['is']('element','code'))return;if(!_0x340aab['consumable']['consume'](_0x34ac6a,{'attributes':['vid_start','vid_end']}))return;const _0x2680cb=_0x26e764['modelRange']['start']['nodeAfter'];_0x340aab['writer']['setAttribute']('vid_start',_0x34ac6a['getAttribute']('vid_start'),_0x2680cb),_0x340aab['writer']['setAttribute']('vid_end',_0x34ac6a['getAttribute']('vid_end'),_0x2680cb);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x25f73b=>{_0x25f73b['on']('element',(_0x1b6968,_0x134928,_0x3240be)=>{if(!_0x3240be['consumable']['consume'](_0x134928['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x134928['modelRange']['isCollapsed'])return;const _0x597fa4=_0x134928['modelRange']['start']['nodeAfter'];_0x597fa4['hasAttribute']('vid_start')||_0x597fa4['hasAttribute']('vid')||(_0x3240be['writer']['setAttribute']('vid_start',_0x134928['viewItem']['getAttribute']('vid_start'),_0x597fa4),_0x3240be['writer']['setAttribute']('vid_end',_0x134928['viewItem']['getAttribute']('vid_end'),_0x597fa4));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x5353db=>_0x5353db['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x2d0c08,[,_0x2310df])=>{['vid_start','vid_end','vid']['includes'](_0x2310df)&&(_0x2d0c08['return']=!0x0,_0x2d0c08['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4bdfc2=>{_0x4bdfc2['on']('attribute:vid',(_0x2f9ae0,_0x7e9125,_0x2f4e99)=>{if('\x20'!=_0x7e9125['item']['data']||_0x7e9125['item']['parent']['maxOffset']>0x1)return;if(!_0x2f4e99['consumable']['consume'](_0x7e9125['item'],_0x2f9ae0['name']))return;const _0x3f7ec7=_0x2f4e99['writer'],_0x12d3a1=_0x2f4e99['mapper']['toViewRange'](_0x7e9125['range']);_0x3f7ec7['wrap'](_0x12d3a1,_0x3f7ec7['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x13d3c0){const _0x4a8c77=_0x13d3c0['plugins']['get']('RevisionViewer');return(_0x2edf80,_0x3693e7,_0x47b19f)=>{const _0x38a0a7=_0x3693e7['markerName']['split'](':')[0x1],_0x5799ef=_0x4a8c77['_getChangeFromId'](_0x38a0a7);if(!_0x5799ef)return null;const _0x51b1b9='add'==_0x5799ef['type']?'split':'merge';if(!_0x47b19f['consumable']['test'](_0x3693e7['markerRange'],_0x2edf80['name']))return;const _0x372d73=_0x3693e7['markerRange']['getWalker'](),_0x2ab438=_0x3693e7['markerRange']['start'],_0x3f2016=_0x13d3c0['model']['schema'];let _0x2a814e=null,_0x4c0bf0=null,_0x47265a=!0x1,_0x375e20=!0x1;for(const _0x4f271a of _0x372d73){const _0x3395b6=_0x4f271a['item'];_0x47265a=_0x47265a||_0x3f2016['isContent'](_0x3395b6);const _0x2dcbf9=_0x47b19f['mapper']['toViewElement'](_0x3395b6);if(_0x2dcbf9&&_0x2dcbf9['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4f271a['type']&&(_0x3f2016['isBlock'](_0x3395b6)&&!_0x3f2016['isLimit'](_0x3395b6)&&(_0x3395b6['nextSibling']||_0x2ab438['isAtEnd']?_0x2a814e&&_0x2a814e['parent']==_0x3395b6||(_0x2a814e=_0x3395b6,_0x5e9e2b(_0x4f271a['previousPosition']),_0x375e20=!0x0):_0x4c0bf0=_0x4c0bf0||_0x4f271a['previousPosition']));}function _0x5e9e2b(_0x48b89b){const _0x46b1d7=_0x47b19f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x51b1b9}),_0x20336b=_0x47b19f['mapper']['toViewPosition'](_0x48b89b);_0x5799ef['data']['isSuggestion']&&_0x47b19f['writer']['addClass']('ck-suggestion-marker-'+_0x51b1b9+'-new',_0x46b1d7),_0x4a8c77['activeChange']==_0x5799ef&&_0x47b19f['writer']['addClass']('ck-suggestion-marker--active',_0x46b1d7),_0x47b19f['writer']['insert'](_0x20336b,_0x46b1d7),_0x47b19f['mapper']['bindElementToMarker'](_0x46b1d7,_0x3693e7['markerName']);}_0x47265a||_0x375e20||!_0x4c0bf0||_0x5e9e2b(_0x4c0bf0);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x43f39a,_0x520560,_0x65928d)=>{const _0x48b325=_0x65928d['mapper']['markerNameToElements'](_0x520560['markerName']);if(_0x48b325){for(const _0x34f6cb of _0x48b325)(_0x34f6cb['hasClass']('ck-suggestion-marker-split')||_0x34f6cb['hasClass']('ck-suggestion-marker-merge'))&&(_0x65928d['mapper']['unbindElementFromMarkerName'](_0x34f6cb,_0x520560['markerName']),_0x65928d['writer']['remove'](_0x34f6cb));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5c20db,_0x55e745,_0x37d15f)=>{const _0x36f07a=_0x55e745['markerName']['split'](':')[0x1],_0x19bb75=this['_getChangeFromId'](_0x36f07a);if(!_0x19bb75)return null;const _0x17e96d='add'==_0x19bb75['type']?'split':'merge';if(_0x37d15f['consumable']['test'](_0x55e745['markerRange'],_0x5c20db['name']))for(const _0xeb18b8 of _0x55e745['markerRange']['getItems']()){if(!_0xeb18b8['is']('element','softBreak'))continue;const _0x30ab0f=_0x37d15f['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x17e96d}),_0x4eadd5=_0x37d15f['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0xeb18b8));_0x19bb75['data']['isSuggestion']&&_0x37d15f['writer']['addClass']('ck-suggestion-marker-'+_0x17e96d+'-new',_0x30ab0f),this['activeChange']==_0x19bb75&&_0x37d15f['writer']['addClass']('ck-suggestion-marker--active',_0x30ab0f),_0x37d15f['writer']['insert'](_0x4eadd5,_0x30ab0f),_0x37d15f['mapper']['bindElementToMarker'](_0x30ab0f,_0x55e745['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x330d8c=>{for(const _0x2fbbcc of this['editor']['model']['document']['getRootNames']()){const _0x1e7c23=this['editor']['model']['document']['getRoot'](_0x2fbbcc),_0x387ea8=this['editor']['editing']['view']['document']['getRoot'](_0x2fbbcc);if(_0x387ea8){const _0x413b05=_0x1e7c23['getAttribute']('revisionHistoryAttachChange');if(_0x330d8c['removeAttribute']('data-change-id',_0x387ea8),_0x330d8c['removeClass']('ck-revision-history-root-add',_0x387ea8),_0x330d8c['removeClass']('ck-revision-history-root-remove',_0x387ea8),_0x330d8c['removeClass']('ck-revision-history-root--active',_0x387ea8),_0x413b05){const _0xae7c8d=this['_getChangeFromId'](_0x413b05);if(!_0xae7c8d)return null;_0x330d8c['setAttribute']('data-change-id',_0x413b05,_0x387ea8),_0x330d8c['addClass']('ck-revision-history-root-'+_0xae7c8d['type'],_0x387ea8),this['activeChange']==_0xae7c8d&&_0x330d8c['addClass']('ck-revision-history-root--active',_0x387ea8);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xb94f81=>'revision-comment:'+_0xb94f81,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x40ccb0=>'revision-suggestion:'+_0x40ccb0,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2753ff=>({'name':'suggestion:'+_0x2753ff,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4a6c1d=>{const _0x154625=_0x4a6c1d['markerName']['split'](':')[0x1];return'insertion'!=_0x154625&&'deletion'!=_0x154625?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x154625]};}}),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',(_0x57553c,_0x302135,_0x35a821)=>{const _0x135fda=_0x35a821['mapper']['markerNameToElements'](_0x302135['markerName']);if(_0x135fda){for(const _0x539d13 of _0x135fda)_0x539d13['is']('uiElement')&&(_0x35a821['mapper']['unbindElementFromMarkerName'](_0x539d13,_0x302135['markerName']),_0x35a821['writer']['remove'](_0x539d13));}},{'priority':'high'});}['_getChangeFromId'](_0xb633a6){return this['_changeIdToChange']['get'](_0xb633a6);}['_getViewForChange'](_0x503bb3){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x503bb3),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x33e87e,_0x1752cb,_0x1ff407,_0x1fd453)=>{_0x1fd453&&this['_balloon']['remove'](_0x1fd453),_0x1ff407&&(this['_balloon']['add']({'view':_0x1ff407,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x42ba1=this['editor']['editing'],_0x41cd79=this['_getChangeFromId'](_0x1ff407['changeId']);let _0x1a80f4;if(_0x41cd79['data']['isOnRoot']){const _0x41c721=_0x42ba1['view']['getDomRoot'](_0x41cd79['rootName']);_0x1a80f4=Array['from'](_0x41c721['getClientRects']());}else{const _0x3827f4=this['editor']['model']['markers']['get']('revision:'+_0x1ff407['changeId']);_0x1a80f4=Array['from'](_0x42ba1['mapper']['markerNameToElements'](_0x3827f4['name']))['map'](_0x310d9c=>_0x42ba1['view']['domConverter']['mapViewToDom'](_0x310d9c))['map'](_0x5b13ce=>Array['from'](_0x5b13ce['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x1a80f4[0x0];return _0x1a80f4['find'](_0x346707=>_0x346707['top']-0x3<=this['_activeViewTarget']['y']&&_0x346707['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x346707['left']-0x3<=this['_activeViewTarget']['x']&&_0x346707['right']+0x3>=this['_activeViewTarget']['x'])||_0x1a80f4[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x31af6b,_0x1dd976,_0x4cec3f,_0x4e53e6)=>{this['activeView']=_0x4cec3f?this['_getViewForChange'](_0x4cec3f):null,this['editor']['model']['change'](()=>{const _0x4351f2=this['editor']['editing'];_0x4e53e6&&(_0x4e53e6['data']['isOnRoot']?_0x4351f2['view']['change'](_0x170601=>{_0x170601['removeClass']('ck-revision-history-root--active',_0x4351f2['view']['document']['getRoot'](_0x4e53e6['rootName']));}):_0x4351f2['reconvertMarker']('revision:'+_0x4e53e6['id'])),_0x4cec3f&&(_0x4cec3f['data']['isOnRoot']?_0x4351f2['view']['change'](_0x5e20f6=>{_0x5e20f6['addClass']('ck-revision-history-root--active',_0x4351f2['view']['document']['getRoot'](_0x4cec3f['rootName']));}):_0x4351f2['reconvertMarker']('revision:'+_0x4cec3f['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x52f2c3,_0x3f08a6)=>{if(this['activeChange'])return;const _0x1ab304=this['_findChangeIdFromDomTarget'](_0x3f08a6['target']),_0x31a88f=this['_changeIdToChange']['get'](_0x1ab304);_0x31a88f?(this['_activeViewTarget']={'x':_0x3f08a6['domEvent']['x'],'y':_0x3f08a6['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x31a88f)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x58bca9,_0x20c7fe)=>{const _0x307a4c=this['_findChangeIdFromDomTarget'](_0x20c7fe['target']),_0xa13d0e=this['_changeIdToChange']['get'](_0x307a4c);_0xa13d0e?(this['_activeViewTarget']={'x':_0x20c7fe['domEvent']['x'],'y':_0x20c7fe['domEvent']['y']},_0xa13d0e===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xa13d0e):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x57e6f3){do{const _0x16bd8d=_0x57e6f3['getAttribute']('data-change-id');if(_0x16bd8d)return _0x16bd8d;_0x57e6f3=_0x57e6f3['parent'];}while(_0x57e6f3);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3c8f97=>{for(const _0x54a394 of this['editor']['model']['markers'])_0x3c8f97['removeMarker'](_0x54a394);});}}function et(_0x25e9aa,_0x32edc7){return(_0x438a13,_0x444433,_0x1189e9)=>{if(!_0x1189e9['consumable']['test'](_0x444433['markerRange'],_0x438a13['name']))return;const _0x483e4a=_0x444433['markerRange']['getWalker'](),_0x1327f1=_0x444433['markerRange']['start'],_0x1da7dd=_0x25e9aa['model']['schema'];let _0x3a2b84=null,_0xc69e2d=null,_0x5ac992=!0x1,_0x2547bc=!0x1;for(const _0x405ee8 of _0x483e4a){const _0x2ed125=_0x405ee8['item'];_0x5ac992=_0x5ac992||_0x1da7dd['isContent'](_0x2ed125);const _0x15be1e=_0x1189e9['mapper']['toViewElement'](_0x2ed125);if(_0x15be1e&&_0x15be1e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x405ee8['type']&&(_0x1da7dd['isBlock'](_0x2ed125)&&!_0x1da7dd['isLimit'](_0x2ed125)&&(_0x2ed125['nextSibling']||_0x1327f1['isAtEnd']?_0x3a2b84&&_0x3a2b84['parent']==_0x2ed125||(_0x3a2b84=_0x2ed125,_0x5d21d9(_0x405ee8['previousPosition']),_0x2547bc=!0x0):_0xc69e2d=_0xc69e2d||_0x405ee8['previousPosition']));}function _0x5d21d9(_0x5c4ce2){const _0x190370=_0x1189e9['mapper']['toViewPosition'](_0x5c4ce2),_0x1dfa28=_0x1189e9['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x32edc7});_0x1189e9['writer']['insert'](_0x190370,_0x1dfa28),_0x1189e9['mapper']['bindElementToMarker'](_0x1dfa28,_0x444433['markerName']);}_0x5ac992||_0x2547bc||!_0xc69e2d||_0x5d21d9(_0xc69e2d);};}class bt extends _0x245988{constructor(_0x394ee6){super(_0x394ee6);const _0x571ec8=_0x394ee6['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x571ec8,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x571ec8,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3f6a7c=this['editor'],_0x29d9c3=_0x3f6a7c['plugins']['get'](d),_0x160b6f=_0x29d9c3['isReady']?_0x29d9c3['diff']['newRevisionId']:null;_0x3f6a7c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x160b6f);}['refresh'](){const {isReady:_0x21f481,isEnabled:_0x493dfe}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x21f481&&_0x493dfe;}}class yt extends _0x245988{['_step'];constructor(_0x3edae6,{direction:_0x5ce617}){super(_0x3edae6);const _0x3c192b=_0x3edae6['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x5ce617?0x1:-0x1,this['listenTo'](_0x3c192b,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3c192b,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x3c192b,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3033cd=this['editor'],_0x1eea34=_0x3033cd['plugins']['get'](d),{isNavigationMode:_0x59fb98,currentChangeNumber:_0x1d5dce}=_0x1eea34;let _0x3140e9;if(_0x1eea34['activeChange']=_0x59fb98?_0x1eea34['diff']['changes']['get'](_0x1d5dce+this['_step']):_0x1eea34['diff']['changes']['first'],_0x1eea34['activeChange']['data']['isOnRoot'])_0x3140e9=_0x3033cd['editing']['view']['getDomRoot'](_0x1eea34['activeChange']['rootName']);else{const _0x493c73=_0x3033cd['model']['markers']['get']('revision:'+_0x1eea34['activeChange']['id']);_0x3140e9=_0xc859b5(_0x3033cd['editing'],_0x493c73);}_0x177ae4({'target':_0x3140e9,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5197fb,currentChangeNumber:_0x3e931c,numberOfChanges:_0x214607,isReady:_0xfe5a04,isEnabled:_0x39d456}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x39d456&&_0xfe5a04&&_0x214607)&&(!_0x5197fb||(0x1===this['_step']?_0x3e931c<_0x214607-0x1:_0x3e931c>0x0));}}class _i extends _0x4c66c7{constructor(_0x38bea7){super(_0x38bea7);const _0x34196b=this['bindTemplate'],_0x44ff48=new _0x511aaa(_0x38bea7),_0x2c6be4=new _0x511aaa(_0x38bea7);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',(_0x4a0338,_0x48641c)=>_0x4a0338&&_0x48641c>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x20b6e6,_0x1dd90b,_0x5a7720,_0x2e35cd)=>{if(!_0x20b6e6)return y(_0x38bea7,'Loading...');if(!_0x5a7720)return y(_0x38bea7,'No\x20changes');const _0x38cf72=y(_0x38bea7,'NUMBER_OF_CHANGES',_0x5a7720);return _0x2e35cd?y(_0x38bea7,'X_OF_Y_CHANGES',[_0x1dd90b+0x1,_0x5a7720]):_0x38cf72;}),_0x44ff48['set']({'label':y(_0x38bea7,'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'}),_0x2c6be4['set']({'label':y(_0x38bea7,'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'}),_0x44ff48['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2c6be4['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x44ff48['on']('execute',()=>this['fire']('execute','backward')),_0x2c6be4['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',_0x34196b['if']('_isStatusLabelVisible','ck-hidden',_0x4919ad=>!_0x4919ad)]},'children':[{'text':_0x34196b['to']('isNavigationMode',_0x57f131=>_0x57f131?y(_0x38bea7,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x38bea7,'Total')+':\x20')}]},{'text':_0x34196b['to']('_statusText')}]},new _0x40a6df(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x44ff48,_0x2c6be4]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0xee79cb{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1a0988=this['editor']['editing']['view'];_0x1a0988['change'](_0x118293=>{for(const _0x4f0e0c of _0x1a0988['document']['roots'])_0x118293['addClass'](ce,_0x4f0e0c);});}['hide'](){const _0x5ede74=this['editor']['editing']['view'];_0x5ede74['change'](_0x5877df=>{for(const _0x2d8ed3 of _0x5ede74['document']['roots'])_0x5877df['removeClass'](ce,_0x2d8ed3);});}}class R extends _0xee79cb{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x272e4a=this['editor'],_0x138962=_0x272e4a['plugins']['get'](d),_0x201028=_0x272e4a['plugins']['get'](de);_0x272e4a['ui']['componentFactory']['add']('exitToEditing',_0x4f74fa=>{const _0x329f8f=new _0x511aaa(_0x4f74fa);return _0x329f8f['set']({'label':y(_0x4f74fa,'Back\x20to\x20editing'),'icon':_0x3b7ecd['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x329f8f,'execute',()=>{_0x272e4a['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x329f8f;}),_0x272e4a['ui']['componentFactory']['add']('restoreRevision',_0x59b06b=>{const _0x51f2bf=new _0x511aaa(_0x59b06b);return _0x51f2bf['set']({'label':y(_0x59b06b,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x51f2bf['bind']('isEnabled')['to'](_0x272e4a['commands']['get']('restoreRevision')),this['listenTo'](_0x51f2bf,'execute',()=>_0x272e4a['execute']('restoreRevision')),_0x51f2bf;}),_0x272e4a['ui']['componentFactory']['add']('changesNavigation',_0x48c294=>{const _0x47a832=new _i(_0x48c294),_0x3f441f=_0x272e4a['commands']['get']('showPreviousChange'),_0x5cb602=_0x272e4a['commands']['get']('showNextChange');return _0x47a832['bind']('isBackwardNavigationEnabled')['to'](_0x3f441f,'isEnabled'),_0x47a832['bind']('isForwardNavigationEnabled')['to'](_0x5cb602,'isEnabled'),_0x47a832['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x138962),this['listenTo'](_0x47a832,'execute',(_0x511234,_0x1abd0c)=>{_0x272e4a['execute']('forward'===_0x1abd0c?'showNextChange':'showPreviousChange');}),_0x47a832;}),_0x201028['show'](),_0x138962['on']('change:isReady',(_0x22e48d,_0x35401c,_0x716e3e)=>{_0x716e3e?_0x201028['hide']():_0x201028['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x24776b,_0x1e31cf){super(_0x24776b,_0x1e31cf);const _0x2f58bb=this['bindTemplate'];this['set']({'label':y(_0x24776b,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x24776b,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x2f58bb['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 _0x43e5f3=this['fieldView']['element'];this['_tooltipString']=_0x43e5f3['scrollWidth']>_0x43e5f3['clientWidth']&&_0x43e5f3['value']||'';}}class ti extends _0x4c66c7{constructor(_0x37c21c,_0x139f51,_0xede3c0){super(_0x37c21c);const _0xdacedf=new _0x4ec22e();_0xdacedf['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 _0x1216e0=['ck','ck-revision-history-sidebar__revision-author'];_0xede3c0&&_0x1216e0['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3c06e8=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x37c21c,_0xede3c0?'Revision\x20creator':'Revision\x20author')},'children':[_0xdacedf,_0x139f51['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1216e0},'children':_0x3c06e8});}}function ni(_0x388080,_0x41f627){const _0x11fcc7=_0x388080['bindTemplate'],_0x51a976=_0x388080['locale'],_0x4c9eff=_0x33b498(_0x51a976);_0x4c9eff['panelPosition']='sw';const _0x2e7fc3=function(_0x145adf,_0x24565b){const _0xd80281=function(_0x296f71,_0x3381c0){const _0x35166e=_0x296f71['locale'],_0xb7eb13={'Compare\x20against\x20selected':y(_0x35166e,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x35166e,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x35166e,'Restore\x20this\x20revision')};return _0x3381c0['map'](_0x1b649b=>{const _0xea9395=_0xb7eb13[_0x1b649b['name']];return _0xea9395&&_0xea9395!==_0x1b649b['name']&&(_0x1b649b['name']=_0xea9395),_0x1b649b;});}(_0x145adf,_0x24565b),_0x329192=new _0x434d0f();for(const _0x470f98 of _0xd80281){const _0x5ad41f={'type':'button','model':new to({'label':_0x470f98['name'],'class':_0x470f98['class'],'withText':!0x0,'role':'menuitem','_action':_0x470f98['action']})};_0x5ad41f['model']['bind']('isEnabled')['to'](_0x145adf,'isActionsDropdownOpen',_0x58d6aa=>'function'!=typeof _0x470f98['isEnabled']||(!_0x58d6aa||_0x470f98['isEnabled'](_0x145adf))),_0x329192['add'](_0x5ad41f);}return _0x329192;}(_0x388080,_0x41f627);return _0x388080['bind']('isActionsDropdownOpen')['to'](_0x4c9eff,'isOpen'),_0x4c9eff['buttonView']['set']({'label':y(_0x51a976,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3b7ecd['threeVerticalDots']}),_0x4c9eff['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x11fcc7['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x11fcc7['to'](_0x2792f7=>_0x2792f7['stopPropagation']())}}),_0x4c9eff['on']('execute',_0xea34a4=>{_0x388080['isReady']&&'function'==typeof _0xea34a4['source']['_action']&&_0xea34a4['source']['_action'](_0x388080);}),_0x232492(_0x4c9eff,_0x2e7fc3,{'role':'menu'}),_0x4c9eff['listenTo'](_0x388080,'change:isActionsDropdownOpen',(_0x45311e,_0x5e4f06,_0x32069c)=>{if(_0x32069c)for(const _0x51bec3 of _0x4c9eff['listView']['items']){const _0x5792cb=_0x51bec3['children']['first'],_0x2874db=_0x41f627['find'](_0x113448=>_0x113448['action']===_0x5792cb['_action'])['isVisible'];_0x51bec3['isVisible']=void 0x0===_0x2874db||_0x2874db(_0x388080);}}),_0x4c9eff;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x18ffcb(_0x4c66c7){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x4e69c6,_0x4d3680,_0x3746c4,_0x4a10e1){super(_0x4e69c6);const _0x1ac84a=this['bindTemplate'],_0x18ac3b=function(_0x354d95,_0x53badb){const _0x4eb0ee=Array['from'](_0x53badb['authors'])['filter'](_0x17c4da=>_0x17c4da!=_0x53badb['creator']);return _0x53badb['creator']&&_0x4eb0ee['unshift'](_0x53badb['creator']),_0x4eb0ee['map'](_0x59a181=>new ti(_0x354d95,_0x59a181,_0x59a181==_0x53badb['creator']));}(_0x4e69c6,_0x4d3680);this['id']=_0x4d3680['id'],this['_revision']=_0x4d3680,this['_requireRevisionName']=_0x4a10e1,this['bind']('name','createdAt')['to'](_0x4d3680),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x411094=>{return _0x10ee26=_0x4e69c6['uiLanguage'],(_0x5d94ba=_0x411094)['toLocaleDateString'](_0x10ee26,{'month':'long','day':'numeric'})+',\x20'+_0x5d94ba['toLocaleTimeString'](_0x10ee26,{'hour':'numeric','minute':'numeric'});var _0x10ee26,_0x5d94ba;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x4e69c6,_0x1bf9e4),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x242df8=>_0x242df8||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3253a4,_0x3b9eea)=>_0x3253a4&&_0x3b9eea),this['revisionActionsView']=_0x3746c4&&_0x3746c4['length']?ni(this,_0x3746c4):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1ac84a['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1ac84a['if']('isEnabled','ck-disabled',_0x501c0e=>!_0x501c0e),_0x1ac84a['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1ac84a['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1ac84a['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':_0x1ac84a['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':_0x18ac3b}]},this['revisionActionsView']],'on':{'click':_0x1ac84a['to'](_0x27162e=>{_0x27162e['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x5ad961=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x5ad961,'change',()=>{this['_requireRevisionName']&&!_0x5ad961['value']||this['fire']('setName',{'id':this['id'],'name':_0x5ad961['value']}),_0x5ad961['value']||(_0x5ad961['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(_0x1a0a17,_0xd7a774){const _0x4a1c17=_0x156d97['fromJSDate'](_0x1a0a17)['setLocale'](_0xd7a774),_0x5621d2=_0x156d97['local'](),_0x34d7d0=_0x5621d2['minus']({'days':0x1})['startOf']('day');let _0x108f29,_0x44a203;return _0x4a1c17['hasSame'](_0x5621d2,'day')?(_0x108f29=_0x4a1c17['startOf']('day')['toJSDate'](),_0x44a203=_0x4a1c17['toRelativeCalendar']()):_0x4a1c17['hasSame'](_0x34d7d0,'day')?(_0x108f29=_0x34d7d0['toJSDate'](),_0x44a203=_0x4a1c17['toRelativeCalendar']()):_0x4a1c17['hasSame'](_0x5621d2,'week')?(_0x108f29=_0x4a1c17['startOf']('week')['toJSDate'](),_0x44a203=_0x4a1c17['weekdayLong']||''):_0x4a1c17['hasSame'](_0x5621d2,'year')?(_0x108f29=_0x4a1c17['startOf']('month')['toJSDate'](),_0x44a203=_0x4a1c17['monthLong']||''):(_0x108f29=_0x4a1c17['startOf']('year')['toJSDate'](),_0x44a203=String(_0x4a1c17['year'])),{'startDate':_0x108f29,'localizedPeriodName':_0x44a203};}class mi extends _0x4c66c7{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2cd674,_0x48300a,_0x26e483,_0x2e0b08){super(_0x2cd674);const _0x1f3180=di(_0x48300a,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x48300a,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x26e483,this['_requireRevisionName']=_0x2e0b08,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':_0x1f3180}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x32f979){const _0x4ee25b=new ai(this['locale'],_0x32f979,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4ee25b);}['removeRevision'](_0x42cd8b){const _0x1e5e08=this['revisionViews']['find'](_0xf5bbd6=>_0xf5bbd6['id']===_0x42cd8b['id']);this['revisionViews']['remove'](_0x1e5e08);}}class as extends _0x4c66c7{constructor(_0x421b83){super(_0x421b83);const _0x379bc0=new _0x4ec22e();_0x379bc0['content']=_0x3b7ecd['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x379bc0,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x421b83,'Revision\x20history')]}]});}}class ci extends _0x4c66c7{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x43a34a,_0x49b6bc,_0x1f37c4,_0x23c22e){super(_0x43a34a);const _0xc45722=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x49b6bc,this['_revisionActions']=_0x1f37c4,this['_requireRevisionName']=_0x23c22e,this['on']('select',(_0x1a4454,_0x1534a7)=>{this['fire']('revisionSelected',_0x1534a7);}),this['on']('setName',(_0x23b6a1,_0x387b68)=>{this['fire']('revisionSetName',_0x387b68);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x43a34a),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0xc45722['if']('isEnabled','ck-disabled',_0x3ea386=>!_0x3ea386)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x3039b2 of this['_revisions'])this['_addRevision'](_0x3039b2);this['_revisions']['on']('add',(_0x2d50bb,_0xebb47f)=>{this['_addRevision'](_0xebb47f);}),this['_revisions']['on']('remove',(_0x46fb45,_0x5ae004)=>{this['_removeRevision'](_0x5ae004);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x26723c=>_0x26723c['revisionViews']['map'](_0x24cfa1=>_0x24cfa1))['flat']();}['selectRevision'](_0x115a4e){for(const _0x5f2650 of this['revisionViews'])_0x115a4e&&_0x115a4e['id']===_0x5f2650['id']?_0x5f2650['select']():_0x5f2650['deselect']();}['highlightRevisions'](_0x19d331){for(const _0x1b7367 of this['revisionViews'])_0x19d331['some'](({id:_0x50a012})=>_0x50a012===_0x1b7367['id'])?_0x1b7367['highlight']():_0x1b7367['unhighlight']();}['_addRevision'](_0x3674ab){const _0x617477=di(_0x3674ab['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x2f2d8e=this['timePeriodViews']['get'](0x0);_0x2f2d8e&&_0x2f2d8e['startDate']['getTime']()===_0x617477['getTime']()||(_0x2f2d8e=new mi(this['locale'],_0x617477,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x2f2d8e)),_0x2f2d8e['addRevision'](_0x3674ab);}['_removeRevision'](_0x27d0b5){const _0x26d703=di(_0x27d0b5['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x26d703)['removeRevision'](_0x27d0b5);}['_getTimePeriodViewByStartDate'](_0x9947bb){return this['timePeriodViews']['find'](_0x11775b=>_0x11775b['startDate']['getTime']()===_0x9947bb['getTime']());}}class w extends _0xee79cb{['_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(_0x19fcad){super(_0x19fcad),this['_revisionViewer']=_0x19fcad['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x14f765=this['_revisionsRepository']['_revisions'],_0x5e688e=this['_createRevisionActions'](),_0x156c88=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x14f765,_0x5e688e,this['editor']['config']['get']('revisionHistory.requireRevisionName')),this['_sidebarView']['on']('revisionSelected',this['_handleRevisionSelected']['bind'](this)),this['_sidebarView']['on']('revisionSetName',this['_handleRevisionSetName']['bind'](this)),this['_sidebarView']['bind']('isEnabled')['to'](this['_revisionViewer']),this['_sidebarView']['timePeriodViews']['on']('add',(_0x409bef,_0xd5838c)=>{_0xd5838c['revisionViews']['on']('add',(_0x52ee91,_0x1fcd8b)=>{_0x1fcd8b['bind']('isEnabled','isReady')['to'](this['_revisionViewer']);});}),this['_sidebarView']['render'](),this['listenTo'](this['editor']['data'],'ready',this['_handleEditorDataReady']['bind'](this)),this['listenTo'](this['_revisionViewer'],'change:diff',this['_handleDiffChange']['bind'](this)),_0x156c88['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x491161=this['_revisionsRepository']['getRevision'](0x0);if(_0x491161){const _0x5c1106=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x491161['id']);this['_revisionViewer']['compare'](_0x491161,_0x5c1106);}}['_handleRevisionSelected'](_0xc3549b,_0xc5c802){const _0x9bbcc3=this['_revisionsRepository']['getRevision'](_0xc5c802['id']),_0x57f7de=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x9bbcc3['id']);this['_revisionViewer']['compare'](_0x9bbcc3,_0x57f7de);}['_handleRevisionSetName'](_0x56b7d3,_0x136504){this['_revisionsRepository']['getRevision'](_0x136504['id'])['setName'](_0x136504['name']);}['_handleDiffChange'](_0x564d06,_0x213555,_0x213026){const _0x3e939e=this['_revisionsRepository']['getRevisionsInDiff'](_0x213026);_0x3e939e['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x3e939e),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x3e939e[0x0]));}['_createRevisionActions'](){const _0x357f7e=this['editor'],_0x46b120=w['availableRevisionActions'],_0x5c0c09=_0x357f7e['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5c0c09['length'])return _0x5c0c09['map'](_0x345cba=>{const _0x183ed4='string'==typeof _0x345cba?Object['assign']({},_0x46b120[_0x345cba]):_0x345cba;return _0x183ed4['action']=_0x183ed4['action']['bind'](this,_0x357f7e),_0x183ed4['isVisible']&&(_0x183ed4['isVisible']=_0x183ed4['isVisible']['bind'](this,_0x357f7e)),_0x183ed4;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x513a11},_0x5ba402)=>{const _0x2ec0ed=_0x513a11['get'](d),_0x508543=_0x2ec0ed['repository'];let _0x2402d6=_0x2ec0ed['diff']['newRevisionId'],_0x4e9d43=_0x5ba402['id'];_0x508543['getIndex'](_0x2402d6)>_0x508543['getIndex'](_0x4e9d43)&&([_0x2402d6,_0x4e9d43]=[_0x4e9d43,_0x2402d6]),_0x2ec0ed['compare'](_0x2402d6,_0x4e9d43);},'isVisible':({plugins:_0x32695e},_0xd178c9)=>{const _0x28462f=_0x32695e['get'](d);return!(_0x28462f['repository']['getRevisionsInDiff'](_0x28462f['diff'])['length']>0x2)&&!_0xd178c9['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x4e4699,{id:_0xc6e0ff})=>{_0x4e4699['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xc6e0ff);},'isVisible':({plugins:_0x1847b4},_0x271754)=>!!_0x1847b4['get'](d)['repository']['getLaterVisibleRevision'](_0x271754['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0xabd196},{id:_0x3ec101,revisionNameView:_0x21785e})=>{const _0x23e4f2=_0xabd196['get'](d),_0x357a39=_0x23e4f2['repository']['getEarlierVisibleRevision'](_0x3ec101);_0x23e4f2['compare'](_0x3ec101,_0x357a39),_0x21785e['focus'](),_0x21785e['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x127ae8,_0x199c14){super(_0x127ae8),this['_view']=_0x199c14,this['_toolbarConfig']=ct(_0x127ae8['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x3951c9){const _0x2f2184=this['editor'],_0x297e8e=this['view'],_0x265019=_0x2f2184['editing']['view'],_0x1760c4=_0x297e8e['editable'],_0x1bd7e6=_0x265019['document']['getRoot']();_0x1760c4['name']=_0x1bd7e6['rootName'],_0x297e8e['render']();const _0x270251=_0x1760c4['element'];this['setEditableElement'](_0x1760c4['name'],_0x270251),_0x297e8e['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x265019['attachDomRoot'](_0x270251),this['_elementReplacer']['replace'](_0x3951c9,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3b0139=this['view'],_0x2e8cd0=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2e8cd0['detachDomRoot'](_0x3b0139['editable']['name']),_0x3b0139['destroy']();}['_initToolbar'](){const _0x1f7d31=this['view'];_0x1f7d31['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1f7d31['stickyPanel']['limiterElement']=_0x1f7d31['element'],_0x1f7d31['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4ba4b3})=>_0x4ba4b3),_0x1f7d31['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1f7d31['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x587958,_0x557885,_0x56b451={}){super(_0x587958),this['stickyPanel']=new lt(_0x587958),this['toolbar']=new pt(_0x587958,{'shouldGroupWhenFull':_0x56b451['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x587958,_0x557885);}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}}class m extends/* #__PURE__ -- @preserve */
29
- rt(it){['_ui'];get['ui'](){return this['_ui'];}constructor(_0x4fb39d,_0x50c9a9){super(_0x50c9a9),this['sourceElement']=_0x4fb39d,this['model']['document']['createRoot']();const _0xa43b88=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xa43b88);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x20ba29,_0x561528){const _0x4f2b6b=new this(_0x20ba29,_0x561528);return await _0x4f2b6b['initPlugins'](),await _0x4f2b6b['ui']['init'](_0x20ba29),await _0x4f2b6b['data']['init'](_0x4f2b6b['config']['get']('initialData')||''),_0x4f2b6b['fire']('ready'),_0x4f2b6b;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1b7a4e{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3dc4c9){super(_0x3dc4c9),this['result']='end';}}class H extends _0x1b7a4e{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x1e5b4e){if(super(_0x1e5b4e),!this['editor']['config']['get']('revisionHistory'))throw new _0x253004('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x57874f=>this['_showRevisionViewer']({..._0x57874f,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2d074d=>this['_closeRevisionViewer'](_0x2d074d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x461c05=>this['_restoreRevision'](_0x461c05)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x26f3c4){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x26f3c4;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x36b967){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x36b967);}['getRevision'](_0x1266cc){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1266cc);}['getRevisions'](_0xfe9f30){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xfe9f30||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x16181c=this['editor'],_0x5b7f85=_0x3a0f85(_0x16181c,p),_0x5e3da1=_0x16181c['plugins']['get']('RevisionTracker'),_0x2ac7b3=_0x16181c['plugins']['get']('Users')['users'];return _0x5b7f85['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x5b7f85['lazyRoots'],(_0x5b7f85['plugins']['push'](k,d,R,class extends _0x1b7a4e{static get['requires'](){return[d,'Users'];}['init'](){const _0x40f01e=this['editor']['plugins']['get']('Users');for(const _0x42df6f of _0x2ac7b3)_0x42df6f['isAnonymous']||_0x40f01e['getUser'](_0x42df6f['id'])||_0x40f01e['addUser'](_0x42df6f);const _0x5690f1=_0x5e3da1['repository']['getRevisions']();let _0x364a53=null;const _0x2b3abc=this['editor']['plugins']['get']('RevisionViewer');_0x2b3abc['adapter']=_0x5e3da1['adapter'],_0x2b3abc['bind']('isEnabled')['to'](_0x5e3da1),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x16181c,'isReadOnly',_0x2e83bf=>!_0x2e83bf);for(const _0x1b6611 of _0x5690f1){const _0x3e2d5d=null===_0x1b6611['creator'];if(_0x3e2d5d&&_0x1b6611['toVersion']===_0x1b6611['fromVersion'])continue;const _0x274a3c=_0x1b6611['toJSON']();_0x2b3abc['addRevisionData'](_0x274a3c,(_0x7d9c31,_0x33ef74,_0x2faa7a)=>{if(_0x3e2d5d){if(_0x364a53)_0x364a53['_update'](_0x7d9c31,_0x33ef74);else{if(!_0x33ef74){const _0x251a2b=_0x2faa7a['toJSON']();_0x251a2b['id']=_0x53c5f2(),_0x5e3da1['saveRevision'](_0x251a2b,_0x2faa7a['toVersion'])['then'](_0x598a5a=>{_0x364a53=_0x598a5a;});}}}else _0x1b6611['_update'](_0x7d9c31,_0x33ef74);});}}},w),_0x5b7f85);}['_enhanceShowRevisionViewerCallback'](){const _0x5349ac=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x3ab578=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x3e33e7=this['editor']['plugins']['get']('Autosave');await _0x3e33e7['save']();}else await _0x3ab578['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x66a473=this['editor']['plugins']['get']('Dialog');_0x66a473['isOpen']&&_0x66a473['hide']();}const _0x2c791f=this['_getRevisionViewerEditorConfig']();return _0x5349ac(_0x2c791f)['then'](_0x21174c=>{return(this['_viewerEditor']=_0x21174c,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x21174c;})['catch'](_0x29f76a=>(console['error'](_0x29f76a),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1614d1=this['editor']['config']['get']('revisionHistory')['closeRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.closeRevisionViewerCallback',()=>(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['_viewerEditor']['plugins']['get']('RevisionViewer')['_cleanUp'](),_0x1614d1(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4329eb=this['editor']['plugins']['get']('Annotations');_0x4329eb['refreshVisibility'](),_0x4329eb['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4ed6d5){const _0x3ee1d0=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x4d8c9f=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2dc09b=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2dc09b,_0x4ed6d5)['then'](_0x46639b=>(_0x4d8c9f['style']['display']='block',_0x3ee1d0['style']['display']='none',_0x46639b));}['_closeRevisionViewer'](_0x460489){const _0xed539c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xed539c['style']['display']='',_0x460489['destroy']();}async['_restoreRevision'](_0x53cdf0){const _0x27a366=this['editor'],_0x30bd9f=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x512fed=_0x27a366['plugins']['get']('RevisionTracker'),_0x3de5c8=_0x30bd9f['repository']['getRevision'](_0x53cdf0);let _0x2d0f83,_0x42d64c,_0x29cdbf;try{_0x2d0f83=await _0x30bd9f['getRevisionData'](_0x3de5c8),_0x42d64c=await _0x30bd9f['getRevisionRootsAttributes'](_0x3de5c8);}catch(_0x3a0c2e){return void console['error'](_0x3a0c2e);}_0x27a366['model']['change'](_0x31bd61=>{for(const _0x31b122 of Array['from'](_0x27a366['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x31bd61['removeMarker'](_0x31b122);}),_0x30bd9f['isReady']=!0x1,_0x27a366['model']['enqueueChange'](_0x1a2ec5=>{_0x1a2ec5['setSelection'](null),_0x1a2ec5['removeSelectionAttribute'](_0x27a366['model']['document']['selection']['getAttributeKeys']());const _0x50585e=Object['keys'](_0x2d0f83);for(const _0x29fc41 of _0x27a366['model']['document']['roots'])'$graveyard'!=_0x29fc41['rootName']&&_0x29fc41['isAttached']()&&!_0x50585e['includes'](_0x29fc41['rootName'])&&_0x1a2ec5['detachRoot'](_0x29fc41);for(const _0x35b7c5 of _0x50585e){let _0x19a800=_0x27a366['model']['document']['getRoot'](_0x35b7c5);_0x19a800&&_0x19a800['isAttached']()||(_0x19a800=_0x1a2ec5['addRoot'](_0x35b7c5));const _0x2fa50d=_0x42d64c[_0x35b7c5],_0x215c75=Object['keys'](_0x2fa50d),_0x29f786=_0x2d0f83[_0x35b7c5];for(const _0xa74c4b of _0x19a800['getAttributeKeys']())_0x215c75['includes'](_0xa74c4b)||_0x1a2ec5['removeAttribute'](_0xa74c4b,_0x19a800);for(const _0xe434c1 of _0x215c75)_0x1a2ec5['setAttribute'](_0xe434c1,_0x42d64c[_0x35b7c5][_0xe434c1],_0x19a800);_0x1a2ec5['remove'](_0x1a2ec5['createRangeIn'](_0x19a800)),_0x1a2ec5['insert'](_0x27a366['data']['parse'](_0x29f786,_0x19a800),_0x19a800,0x0);}});const _0xe02824=y(_0x27a366['locale'],'Restored');if(_0x3de5c8['name'])_0x29cdbf=-0x1==_0x3de5c8['name']['indexOf'](_0xe02824)?_0xe02824+':\x20'+_0x3de5c8['name']:_0x3de5c8['name'];else _0x29cdbf=_0xe02824+':\x20'+(_0x3de5c8['createdAt']['toLocaleDateString'](_0x27a366['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3de5c8['createdAt']['toLocaleTimeString'](_0x27a366['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x512fed['saveRevision']({'name':_0x29cdbf}),_0x30bd9f['isReady']=!0x0,_0x27a366['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x35b416){super(_0x35b416),this['_revisionViewer']=_0x35b416['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0xa0f7e3=this['_revisionsRepository']['_revisions'],_0x494cd4=this['_createRevisionActions'](),_0x4bb5c4=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0xa0f7e3,_0x494cd4,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',(_0xcefcdf,_0x35ae2e)=>{_0x35ae2e['revisionViews']['on']('add',(_0x151c8b,_0x4431e2)=>{_0x4431e2['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)),_0x4bb5c4['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3895f1=this['_revisionsRepository']['getRevision'](0x0);if(_0x3895f1){const _0x4b0517=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3895f1['id']);this['_revisionViewer']['compare'](_0x3895f1,_0x4b0517);}}['_handleRevisionSelected'](_0x176f46,_0xe81b30){const _0x33cbc8=this['_revisionsRepository']['getRevision'](_0xe81b30['id']),_0x350b47=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x33cbc8['id']);this['_revisionViewer']['compare'](_0x33cbc8,_0x350b47);}['_handleRevisionSetName'](_0x3cf2fa,_0x580193){this['_revisionsRepository']['getRevision'](_0x580193['id'])['setName'](_0x580193['name']);}['_handleDiffChange'](_0x7a7ff6,_0x346968,_0x19612a){const _0x95d421=this['_revisionsRepository']['getRevisionsInDiff'](_0x19612a);_0x95d421['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x95d421),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x95d421[0x0]));}['_createRevisionActions'](){const _0xa429b5=this['editor'],_0x28a26e=w['availableRevisionActions'],_0x3bc1cf=_0xa429b5['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x3bc1cf['length'])return _0x3bc1cf['map'](_0x482ae9=>{const _0x360e46='string'==typeof _0x482ae9?Object['assign']({},_0x28a26e[_0x482ae9]):_0x482ae9;return _0x360e46['action']=_0x360e46['action']['bind'](this,_0xa429b5),_0x360e46['isVisible']&&(_0x360e46['isVisible']=_0x360e46['isVisible']['bind'](this,_0xa429b5)),_0x360e46;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x36e3c6},_0x1ebf62)=>{const _0x36000b=_0x36e3c6['get'](d),_0x10d662=_0x36000b['repository'];let _0x268552=_0x36000b['diff']['newRevisionId'],_0x1d3783=_0x1ebf62['id'];_0x10d662['getIndex'](_0x268552)>_0x10d662['getIndex'](_0x1d3783)&&([_0x268552,_0x1d3783]=[_0x1d3783,_0x268552]),_0x36000b['compare'](_0x268552,_0x1d3783);},'isVisible':({plugins:_0x535c2c},_0x2907a0)=>{const _0xec3f12=_0x535c2c['get'](d);return!(_0xec3f12['repository']['getRevisionsInDiff'](_0xec3f12['diff'])['length']>0x2)&&!_0x2907a0['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x27f077,{id:_0x330a64})=>{_0x27f077['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x330a64);},'isVisible':({plugins:_0x2d4c76},_0x20b487)=>!!_0x2d4c76['get'](d)['repository']['getLaterVisibleRevision'](_0x20b487['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2eb146},{id:_0x2aa5fe,revisionNameView:_0x11fb81})=>{const _0x29b840=_0x2eb146['get'](d),_0x3470ba=_0x29b840['repository']['getEarlierVisibleRevision'](_0x2aa5fe);_0x29b840['compare'](_0x2aa5fe,_0x3470ba),_0x11fb81['focus'](),_0x11fb81['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x4d37fe,_0x324feb){super(_0x4d37fe),this['_view']=_0x324feb,this['_toolbarConfig']=ct(_0x4d37fe['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x2b0a14){const _0x33d817=this['editor'],_0x24b611=this['view'],_0x22339c=_0x33d817['editing']['view'],_0x23f77f=_0x24b611['editable'],_0x1a3a55=_0x22339c['document']['getRoot']();_0x23f77f['name']=_0x1a3a55['rootName'],_0x24b611['render']();const _0xdb24c5=_0x23f77f['element'];this['setEditableElement'](_0x23f77f['name'],_0xdb24c5),_0x24b611['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x22339c['attachDomRoot'](_0xdb24c5),this['_elementReplacer']['replace'](_0x2b0a14,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4ed442=this['view'],_0x35f49a=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x35f49a['detachDomRoot'](_0x4ed442['editable']['name']),_0x4ed442['destroy']();}['_initToolbar'](){const _0x240122=this['view'];_0x240122['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x240122['stickyPanel']['limiterElement']=_0x240122['element'],_0x240122['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x17bc19})=>_0x17bc19),_0x240122['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x240122['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x44bdff,_0x2234a3,_0xa806fb={}){super(_0x44bdff),this['stickyPanel']=new lt(_0x44bdff),this['toolbar']=new pt(_0x44bdff,{'shouldGroupWhenFull':_0xa806fb['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x44bdff,_0x2234a3);}['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(_0x418ba8,_0x3d33b7){super(_0x3d33b7),this['sourceElement']=_0x418ba8,this['model']['document']['createRoot']();const _0x1cda00=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x1cda00);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x30981b,_0x3f2fd2){const _0x957626=new this(_0x30981b,_0x3f2fd2);return await _0x957626['initPlugins'](),await _0x957626['ui']['init'](_0x30981b),await _0x957626['data']['init'](_0x957626['config']['get']('initialData')||''),_0x957626['fire']('ready'),_0x957626;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0xee79cb{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x48ee2c){super(_0x48ee2c),this['result']='end';}}class H extends _0xee79cb{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x51ed41){if(super(_0x51ed41),!this['editor']['config']['get']('revisionHistory'))throw new _0x2c92b8('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x465222=>this['_showRevisionViewer']({..._0x465222,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2a7cb5=>this['_closeRevisionViewer'](_0x2a7cb5)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x1182dc=>this['_restoreRevision'](_0x1182dc)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x389b97){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x389b97;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x27f107){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x27f107);}['getRevision'](_0x1c4453){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1c4453);}['getRevisions'](_0xa59db2){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xa59db2||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5710fd=this['editor'],_0x488dc1=_0x266ef1(_0x5710fd,p),_0x324daa=_0x5710fd['plugins']['get']('RevisionTracker'),_0x1ee52a=_0x5710fd['plugins']['get']('Users')['users'];return _0x488dc1['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x488dc1['lazyRoots'],(_0x488dc1['plugins']['push'](k,d,R,class extends _0xee79cb{static get['requires'](){return[d,'Users'];}['init'](){const _0xe75e4a=this['editor']['plugins']['get']('Users');for(const _0x15823e of _0x1ee52a)_0x15823e['isAnonymous']||_0xe75e4a['getUser'](_0x15823e['id'])||_0xe75e4a['addUser'](_0x15823e);const _0x422577=_0x324daa['repository']['getRevisions']();let _0x32e86b=null;const _0x4a3bd5=this['editor']['plugins']['get']('RevisionViewer');_0x4a3bd5['adapter']=_0x324daa['adapter'],_0x4a3bd5['bind']('isEnabled')['to'](_0x324daa),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5710fd,'isReadOnly',_0x36a4d0=>!_0x36a4d0);for(const _0xcae9db of _0x422577){const _0x2c8424=null===_0xcae9db['creator'];if(_0x2c8424&&_0xcae9db['toVersion']===_0xcae9db['fromVersion'])continue;const _0x2e3012=_0xcae9db['toJSON']();_0x4a3bd5['addRevisionData'](_0x2e3012,(_0x1e7a88,_0x5b6b7b,_0xb6c19f)=>{if(_0x2c8424){if(_0x32e86b)_0x32e86b['_update'](_0x1e7a88,_0x5b6b7b);else{if(!_0x5b6b7b){const _0x3894cf=_0xb6c19f['toJSON']();_0x3894cf['id']=_0x568989(),_0x324daa['saveRevision'](_0x3894cf,_0xb6c19f['toVersion'])['then'](_0x57cb9b=>{_0x32e86b=_0x57cb9b;});}}}else _0xcae9db['_update'](_0x1e7a88,_0x5b6b7b);});}}},w),_0x488dc1);}['_enhanceShowRevisionViewerCallback'](){const _0x30c881=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x344d07=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x5afbfa=this['editor']['plugins']['get']('Autosave');await _0x5afbfa['save']();}else await _0x344d07['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x5c1edb=this['editor']['plugins']['get']('Dialog');_0x5c1edb['isOpen']&&_0x5c1edb['hide']();}const _0x580cf9=this['_getRevisionViewerEditorConfig']();return _0x30c881(_0x580cf9)['then'](_0x53bd49=>{return(this['_viewerEditor']=_0x53bd49,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x53bd49;})['catch'](_0x1b727a=>(console['error'](_0x1b727a),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x2cb669=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'](),_0x2cb669(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x8a9578=this['editor']['plugins']['get']('Annotations');_0x8a9578['refreshVisibility'](),_0x8a9578['refreshPositioning']();}})));}['_showRevisionViewer'](_0x28c13d){const _0x1fc076=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x391776=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x300356=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x300356,_0x28c13d)['then'](_0x2246d2=>(_0x391776['style']['display']='block',_0x1fc076['style']['display']='none',_0x2246d2));}['_closeRevisionViewer'](_0x36ebdb){const _0x5bc31c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x5bc31c['style']['display']='',_0x36ebdb['destroy']();}async['_restoreRevision'](_0x13df93){const _0x364399=this['editor'],_0x38bfd3=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x21116b=_0x364399['plugins']['get']('RevisionTracker'),_0x80e1ec=_0x38bfd3['repository']['getRevision'](_0x13df93);let _0x346a23,_0x2ccc15,_0x69f1c6;try{_0x346a23=await _0x38bfd3['getRevisionData'](_0x80e1ec),_0x2ccc15=await _0x38bfd3['getRevisionRootsAttributes'](_0x80e1ec);}catch(_0x5b8bd5){return void console['error'](_0x5b8bd5);}_0x364399['model']['change'](_0x3ab29a=>{for(const _0x3593e8 of Array['from'](_0x364399['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3ab29a['removeMarker'](_0x3593e8);}),_0x38bfd3['isReady']=!0x1,_0x364399['model']['enqueueChange'](_0x1a845e=>{_0x1a845e['setSelection'](null),_0x1a845e['removeSelectionAttribute'](_0x364399['model']['document']['selection']['getAttributeKeys']());const _0x3728ec=Object['keys'](_0x346a23);for(const _0x43f45a of _0x364399['model']['document']['roots'])'$graveyard'!=_0x43f45a['rootName']&&_0x43f45a['isAttached']()&&!_0x3728ec['includes'](_0x43f45a['rootName'])&&_0x1a845e['detachRoot'](_0x43f45a);for(const _0x198661 of _0x3728ec){let _0x484662=_0x364399['model']['document']['getRoot'](_0x198661);_0x484662&&_0x484662['isAttached']()||(_0x484662=_0x1a845e['addRoot'](_0x198661));const _0x41b926=_0x2ccc15[_0x198661],_0x473520=Object['keys'](_0x41b926),_0x131680=_0x346a23[_0x198661];for(const _0x3aec3e of _0x484662['getAttributeKeys']())_0x473520['includes'](_0x3aec3e)||_0x1a845e['removeAttribute'](_0x3aec3e,_0x484662);for(const _0x13123f of _0x473520)_0x1a845e['setAttribute'](_0x13123f,_0x2ccc15[_0x198661][_0x13123f],_0x484662);_0x1a845e['remove'](_0x1a845e['createRangeIn'](_0x484662)),_0x1a845e['insert'](_0x364399['data']['parse'](_0x131680,_0x484662),_0x484662,0x0);}});const _0x73df39=y(_0x364399['locale'],'Restored');if(_0x80e1ec['name'])_0x69f1c6=-0x1==_0x80e1ec['name']['indexOf'](_0x73df39)?_0x73df39+':\x20'+_0x80e1ec['name']:_0x80e1ec['name'];else _0x69f1c6=_0x73df39+':\x20'+(_0x80e1ec['createdAt']['toLocaleDateString'](_0x364399['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x80e1ec['createdAt']['toLocaleTimeString'](_0x364399['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x21116b['saveRevision']({'name':_0x69f1c6}),_0x38bfd3['isReady']=!0x0,_0x364399['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};