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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 _0x162d59,Context as _0x19b76f,PendingActions as _0x695b82,icons as _0x29b1c2,Command as _0xfaab01,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x25f62f,uid as _0x47fc8d,Collection as _0x4ac82c,logWarning as _0xfce053,FocusTracker as _0x12da40,KeystrokeHandler as _0x9284fc,scrollViewportToShowTarget as _0x27ebee,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2f7a5b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x3da019,getMarkerDomElement as _0x5b151f,ConfirmMixin as _0x113742,sanitizeEditorConfig as _0x4f8d84}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x29a951,ViewText as _0x301850,ViewElement as _0x58bb25,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x205e76,ViewAttributeElement as _0x4aad0a,ViewEmptyElement as _0x53ca70,ViewRawElement as _0xd607d1,ViewUIElement as _0x29da65,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x2fc470,set as _0x1bbd84,unset as _0x2a5f22,isEqual as _0x2b6fd2}from'lodash-es';import{View as _0xead4de,injectCssTransitionDisabler as ts,submitHandler as _0x84e38b,LabeledFieldView as at,createLabeledInputText as _0x468462,createDropdown as _0x401773,ListView as te,ListItemView as _0x15d8bf,ButtonView as _0x2951af,MenuBarMenuView as _0x469852,MenuBarMenuListView as _0x1a5e4c,MenuBarMenuListItemView as _0x370ec0,MenuBarMenuListItemButtonView as _0xcb316f,ContextualBalloon as _0x3a6843,ToolbarSeparatorView as _0x49a2d8,IconView as _0x3ffe5b,addListToDropdown as _0x5b0669,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 _0x2a856a}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x25f62f(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3a0c84){super(),this['id']=_0x3a0c84['id']||_0x47fc8d(),this['creator']=_0x3a0c84['creator']||null,this['authors']=_0x3a0c84['authors']||[],this['diffData']=_0x3a0c84['diffData']||null,this['toVersion']=_0x3a0c84['toVersion']||0x0,this['fromVersion']=_0x3a0c84['fromVersion']||0x0,this['set']('name',_0x3a0c84['name']||''),this['set']('createdAt',_0x3a0c84['createdAt']||new Date()),this['set']('attributes',_0x3a0c84['attributes']||{});}['setName'](_0x464b23){this['_update']({'name':_0x464b23});}['setAttribute'](_0x391c83,_0x14dc4d){const _0x5867c2=_0x2fc470(this['attributes']);_0x1bbd84(_0x5867c2,_0x391c83,_0x14dc4d),this['_update']({'attributes':_0x5867c2});}['removeAttribute'](_0x3f0fd3){const _0x5a8717=_0x2fc470(this['attributes']);_0x2a5f22(_0x5a8717,_0x3f0fd3),this['_update']({'attributes':_0x5a8717});}['_update'](_0x58c94a,_0x24f70c=!0x1){let _0x1298b7=!0x1;const _0x341752={'id':this['id']},_0x32d940=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x1d6dd9 of _0x32d940){const _0x578de1=_0x58c94a[_0x1d6dd9];void 0x0!==_0x578de1&&_0x578de1!==this[_0x1d6dd9]&&(this[_0x1d6dd9]=_0x578de1,_0x341752[_0x1d6dd9]=_0x578de1,_0x1298b7=!0x0);}_0x1298b7&&(_0x341752['authors']&&(_0x341752['authorsIds']=_0x341752['authors']['map'](_0x11de75=>_0x11de75['id']),delete _0x341752['authors']),this['fire']('_update',_0x341752,_0x24f70c));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3e6fba=>_0x3e6fba['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x162d59{['_revisions'];static get['requires'](){return[_0x3da019];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x57190d){super(_0x57190d),this['_revisions']=new _0x4ac82c();}['afterInit'](){!function(_0x14cae8){function _0x279da8(_0x55a6a8,_0x432f08,_0x4e4a3e){const _0x5d8a4d={};_0x5d8a4d[_0x765f2b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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],_0x5d8a4d[_0x765f2b([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 _0x5f2fbd=new Uint8Array(0x10);for(let _0x400202=0xf;_0x400202>=0x0;--_0x400202)_0x5f2fbd[_0x400202]=_0x4e4a3e%0x100,_0x4e4a3e=parseInt(_0x4e4a3e/0x100);let _0x1258b8=null,_0x2f5a08=0x10;const _0x3c38a2=new Uint8Array(_0x432f08),_0x197ca0=[],_0x328733=[];_0x4059ed();for(let _0x2f7149=0x0;_0x2f7149<_0x55a6a8[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f7149++)0x10===_0x2f5a08&&(_0x1258b8=_0x40011c(_0x5f2fbd),_0x2f5a08=0x0,_0x5f63f4(_0x5f2fbd)),_0x55a6a8[_0x2f7149]^=_0x1258b8[_0x2f5a08++];return _0x55a6a8;function _0x5d9df7(_0x996c18){const _0x515b4a=[];for(let _0x149d87=0x0;_0x149d87<_0x996c18[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x149d87+=0x4)_0x515b4a[_0x765f2b([0x70,0x75,0x73,0x68])](_0x996c18[_0x149d87]<<0x18|_0x996c18[_0x149d87+0x1]<<0x10|_0x996c18[_0x149d87+0x2]<<0x8|_0x996c18[_0x149d87+0x3]);return _0x515b4a;}function _0x5f63f4(_0x50560f){for(let _0x1b8883=0xf;_0x1b8883>=0x0;_0x1b8883--){if(0xff!==_0x50560f[_0x1b8883]){_0x50560f[_0x1b8883]++;break;}_0x50560f[_0x1b8883]=0x0;}}function _0x40011c(_0x571563){const _0x31b6ef=_0x197ca0[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x5a609b=[0x0,0x0,0x0,0x0];let t=_0x5d9df7(_0x571563);for(let _0x4cddfe=0x0;_0x4cddfe<0x4;_0x4cddfe++)t[_0x4cddfe]^=_0x197ca0[0x0][_0x4cddfe];for(let _0x9acb12=0x1;_0x9acb12<_0x31b6ef;_0x9acb12++){for(let _0x4f1402=0x0;_0x4f1402<0x4;_0x4f1402++)_0x5a609b[_0x4f1402]=_0x5d8a4d[_0x765f2b([0x54,0x31])][t[_0x4f1402]>>0x18&0xff]^_0x5d8a4d[_0x765f2b([0x54,0x32])][t[(_0x4f1402+0x1)%0x4]>>0x10&0xff]^_0x5d8a4d[_0x765f2b([0x54,0x33])][t[(_0x4f1402+0x2)%0x4]>>0x8&0xff]^_0x5d8a4d[_0x765f2b([0x54,0x34])][0xff&t[(_0x4f1402+0x3)%0x4]]^_0x197ca0[_0x9acb12][_0x4f1402];t=_0x5a609b[_0x765f2b([0x73,0x6c,0x69,0x63,0x65])]();}const _0x2b9bff=new Uint8Array(0x10);let _0x4e134a;for(let _0xe11914=0x0;_0xe11914<0x4;_0xe11914++)_0x4e134a=_0x197ca0[_0x31b6ef][_0xe11914],_0x2b9bff[0x4*_0xe11914]=0xff&(_0x5d8a4d[_0x765f2b([0x53])][t[_0xe11914]>>0x18&0xff]^_0x4e134a>>0x18),_0x2b9bff[0x4*_0xe11914+0x1]=0xff&(_0x5d8a4d[_0x765f2b([0x53])][t[(_0xe11914+0x1)%0x4]>>0x10&0xff]^_0x4e134a>>0x10),_0x2b9bff[0x4*_0xe11914+0x2]=0xff&(_0x5d8a4d[_0x765f2b([0x53])][t[(_0xe11914+0x2)%0x4]>>0x8&0xff]^_0x4e134a>>0x8),_0x2b9bff[0x4*_0xe11914+0x3]=0xff&(_0x5d8a4d[_0x765f2b([0x53])][0xff&t[(_0xe11914+0x3)%0x4]]^_0x4e134a);return _0x2b9bff;}function _0x4059ed(){const _0x210e3c=_0x5d8a4d[_0x765f2b([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3c38a2[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x5bb571=0x0;_0x5bb571<=_0x210e3c;_0x5bb571++)_0x197ca0[_0x765f2b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x328733[_0x765f2b([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x3a1871=0x4*(_0x210e3c+0x1),_0x588e1a=_0x3c38a2[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x3de789=_0x5d9df7(_0x3c38a2);let _0x2adeb2;for(let _0x553647=0x0;_0x553647<_0x588e1a;_0x553647++)_0x2adeb2=_0x553647>>0x2,_0x197ca0[_0x2adeb2][_0x553647%0x4]=_0x3de789[_0x553647],_0x328733[_0x210e3c-_0x2adeb2][_0x553647%0x4]=_0x3de789[_0x553647];let _0x53ec97,_0x5187f8=0x0,t=_0x588e1a;for(;t<_0x3a1871;){_0x53ec97=_0x3de789[_0x588e1a-0x1],_0x3de789[0x0]^=_0x5d8a4d[_0x765f2b([0x53])][_0x53ec97>>0x10&0xff]<<0x18^_0x5d8a4d[_0x765f2b([0x53])][_0x53ec97>>0x8&0xff]<<0x10^_0x5d8a4d[_0x765f2b([0x53])][0xff&_0x53ec97]<<0x8^_0x5d8a4d[_0x765f2b([0x53])][_0x53ec97>>0x18&0xff]^_0x5d8a4d[_0x765f2b([0x72,0x63,0x6f,0x6e])][_0x5187f8]<<0x18,_0x5187f8+=0x1;for(let _0x125fa6=0x1;_0x125fa6<_0x588e1a/0x2;_0x125fa6++)_0x3de789[_0x125fa6]^=_0x3de789[_0x125fa6-0x1];_0x53ec97=_0x3de789[_0x588e1a/0x2-0x1],_0x3de789[_0x588e1a/0x2]^=_0x5d8a4d[_0x765f2b([0x53])][0xff&_0x53ec97]^_0x5d8a4d[_0x765f2b([0x53])][_0x53ec97>>0x8&0xff]<<0x8^_0x5d8a4d[_0x765f2b([0x53])][_0x53ec97>>0x10&0xff]<<0x10^_0x5d8a4d[_0x765f2b([0x53])][_0x53ec97>>0x18&0xff]<<0x18;for(let _0xf7db5d=_0x588e1a/0x2+0x1;_0xf7db5d<_0x588e1a;_0xf7db5d++)_0x3de789[_0xf7db5d]^=_0x3de789[_0xf7db5d-0x1];let _0x4c3ae6,_0x2001f8,_0x398c7a=0x0;for(;_0x398c7a<_0x588e1a&&t<_0x3a1871;)_0x4c3ae6=t>>0x2,_0x2001f8=t%0x4,_0x197ca0[_0x4c3ae6][_0x2001f8]=_0x3de789[_0x398c7a],_0x328733[_0x210e3c-_0x4c3ae6][_0x2001f8]=_0x3de789[_0x398c7a++],t++;}for(let _0xf2ad08=0x1;_0xf2ad08<_0x210e3c;_0xf2ad08++)for(let _0x2a4b1c=0x0;_0x2a4b1c<0x4;_0x2a4b1c++)_0x53ec97=_0x328733[_0xf2ad08][_0x2a4b1c],_0x328733[_0xf2ad08][_0x2a4b1c]=_0x5d8a4d[_0x765f2b([0x55,0x31])][_0x53ec97>>0x18&0xff]^_0x5d8a4d[_0x765f2b([0x55,0x32])][_0x53ec97>>0x10&0xff]^_0x5d8a4d[_0x765f2b([0x55,0x33])][_0x53ec97>>0x8&0xff]^_0x5d8a4d[_0x765f2b([0x55,0x34])][0xff&_0x53ec97];}}function _0x765f2b(_0x34d444){return _0x34d444['map'](_0x1f19e1=>String['fromCharCode'](_0x1f19e1))['join']('');}(_0x220018=>{function _0x4dd0a9(){const _0x1ef524=[{[_0x765f2b([0x69,0x64])]:0x1,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x765f2b([0x69,0x64])]:0x2,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([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]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x765f2b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x765f2b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x765f2b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x765f2b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x765f2b([0x69,0x64])]:0x3,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x765f2b([0x69,0x64])]:0x4,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([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]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x765f2b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x765f2b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x765f2b([0x69,0x64])]:0x5,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([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]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}},{[_0x765f2b([0x69,0x64])]:0x6,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}},{[_0x765f2b([0x69,0x64])]:0x7,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}},{[_0x765f2b([0x69,0x64])]:0x8,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([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]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}},{[_0x765f2b([0x69,0x64])]:0x9,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x765f2b([0x69,0x64])]:0xa,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([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]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([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]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([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]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}},{[_0x765f2b([0x69,0x64])]:0xb,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x765f2b([0x69,0x64])]:0xc,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x765f2b([0x69,0x64])]:0xd,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}},{[_0x765f2b([0x69,0x64])]:0xe,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x765f2b([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([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])},{[_0x765f2b([0x69,0x64])]:0xf,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x765f2b([0x69,0x64])]:0x10,[_0x765f2b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x765f2b([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x765f2b([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x765f2b([0x66,0x67,0x69])]:[0xc]}}];return _0x15f4bb(_0x1ef524),_0x1ef524;function _0x36d4da(_0x364954){return 0x1<<_0x364954-0x1;}function _0x15f4bb(_0x231fcb){_0x231fcb[_0x765f2b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x109c5d=>{_0x109c5d[_0x765f2b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x36d4da(_0x109c5d[_0x765f2b([0x69,0x64])]),_0x268601(_0x109c5d)&&_0x109c5d[_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x15f4bb(_0x109c5d[_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x268601(_0xb61f97){return _0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0xb61f97;}const _0x224449=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5478d2=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4a21eb(_0xcdb4ee){const _0x3057f5=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5bb1c4(_0xcdb4ee,new Uint8Array([..._0x224449,..._0x3057f5,..._0x5478d2]));}function _0x5bb1c4(_0x4a254c,_0x28c411){const _0x47cc8c=_0x3c6b70(_0x4a254c),_0x51ea4b=Array[_0x765f2b([0x66,0x72,0x6f,0x6d])](_0x203931(_0x47cc8c)),_0x1e3de5=_0x51ea4b[_0x765f2b([0x70,0x6f,0x70])](),_0x590dc0=_0x51ea4b[_0x765f2b([0x70,0x6f,0x70])]();return _0x2bc818(_0x279da8(_0x51ea4b,_0x28c411,_0x590dc0+0x100*_0x1e3de5));}function _0x3c6b70(_0x572d61){const _0x4f044a=atob(_0x572d61),[_0x8b011b,_0x2e212b]=_0x4f044a[_0x765f2b([0x73,0x70,0x6c,0x69,0x74])](_0x765f2b([0x2d]));try{if(atob(_0x2e212b))return atob(_0x8b011b);}catch(_0x504ffc){}return _0x4f044a;}function _0x1d50da(_0x45495f){try{const _0x954907=_0x4a21eb(_0x45495f),_0xe40e00=JSON[_0x765f2b([0x70,0x61,0x72,0x73,0x65])](_0x954907),_0x2173e7=parseInt(_0xe40e00[_0x765f2b([0x31])]),_0x2c820e=_0xe40e00[_0x765f2b([0x32])]||'',_0xe1abad=parseInt(_0xe40e00[_0x765f2b([0x33])]),_0x5b2050=parseInt(_0xe40e00[_0x765f2b([0x34])])||0x0,_0x51434e=parseInt(_0xe40e00[_0x765f2b([0x35])])||0x0;return{[_0x765f2b([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2c820e,[_0x765f2b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5b2050,[_0x765f2b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x2173e7,[_0x765f2b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xe1abad,[_0x765f2b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x51434e};}catch(_0xb234f1){return null;}}const _0x43367e=_0x4dd0a9(),_0x1fbd3b={[_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4e4dcd,[_0x765f2b([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])]:_0x328348,[_0x765f2b([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])]:_0xaa3a98},_0x182c0b=_0x220018[_0x765f2b([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x15f61c=_0x765f2b([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x220018?_0x220018['context']:_0x220018['editor'],_0x25cb9d=_0x765f2b([0x34,0x30,0x34,0x38,0x31,0x36,0x30,0x32]),_0x131be6=_0x765f2b([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]),_0x4260db=_0x15f61c['config']['get'](_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1a4044=_0x43367e[_0x765f2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x268601)[_0x765f2b([0x66,0x69,0x6e,0x64])](_0x289b3b=>_0x289b3b[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x182c0b);function _0x5be7dd(_0x32eebb,_0x1b88df){_0x1fbd3b[_0x1b88df[_0x765f2b([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x32eebb,_0x1b88df),_0x1b88df[_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1b88df[_0x765f2b([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x765f2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x257af3=>_0x4c4213(_0x15f61c,_0x257af3[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x765f2b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2ff0ce=>_0x5be7dd(_0x32eebb,_0x2ff0ce));}function _0x4e4dcd(_0x209d17,_0x43d848){_0xd38f56(_0x56ff58(_0x209d17,_0x43d848),_0x43d848);}function _0x328348(_0x52c90f,_0x4b7a78){function _0x5f4328(_0xbe0c4d,_0x526a59){try{if(_0x4c4213(_0x15f61c,_0x765f2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0xbe0c4d){const _0x16db0f=_0x3fd95a(_0x15f61c,_0x765f2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x765f2b([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x16db0f)/0x2>_0xbe0c4d[_0x765f2b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x283ef1(_0x526a59[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x56ff58(_0xbe0c4d,_0x526a59);}catch(_0x57acee){return _0x283ef1(_0x526a59[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0xd38f56(_0x5f4328(_0x52c90f,_0x4b7a78),_0x4b7a78);}function _0xaa3a98(_0x5524d3,_0x1c6d3a){const _0x4e0267=_0x5478d2[0x0]*_0x224449[0x1],_0x236491=_0x5478d2[0x0]*_0x224449[0x2],_0x35f372=_0x5478d2[0x2]*_0x224449[0x2];_0x4c4213(_0x15f61c,_0x765f2b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3fd95a(_0x15f61c,_0x765f2b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x765f2b([0x73,0x74,0x61,0x74,0x65])]==_0x765f2b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0xb36436()]=_0x35f372);function _0x17dfd4(_0x3257d3,_0x21bad6){try{return _0x8cb25c()?_0x283ef1(_0x21bad6[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x56,0x61,0x6c,0x69,0x64])):_0x56ff58(_0x3257d3,_0x21bad6);}catch(_0x9eb9cc){return _0x283ef1(_0x21bad6[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2fc4dc(_0x52ae53,_0x1de571){const _0x37d38f=0x7;if(_0x52ae53==_0x1de571[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x321cc2();else{if(_0x52ae53==_0x1de571[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c])){const _0x575d91=_0x39ded2();_0x575d91&&_0x3f4f79(_0x575d91,_0x1de571[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3f29ad=_0x1d12eb();window[_0x765f2b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3f4f79(_0x765f2b([0x74,0x69,0x6d,0x65]),_0x1de571[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3f29ad);const _0x334267=_0x3fd95a(_0x15f61c,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x765f2b([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x334267[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x37d38f?_0x3f4f79(_0x765f2b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1de571[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x334267['on'](_0x765f2b([0x61,0x64,0x64]),()=>{_0x334267[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x37d38f&&_0x3f4f79(_0x765f2b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1de571[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x39ded2(){if(!_0x4c4213(_0x15f61c,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x57846f in window)if(Number['isNaN'](Number(_0x57846f))){if(window[_0x57846f]===_0x4e0267)return _0x765f2b([0x74,0x69,0x6d,0x65]);if(window[_0x57846f]===_0x236491)return _0x765f2b([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x8cb25c(){if(!_0x4c4213(_0x15f61c,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x399221 in window)if(Number['isNaN'](Number(_0x399221))&&window[_0x399221]===_0x35f372)return!0x0;return!0x1;}function _0x3f4f79(_0x16795f,_0x242020){_0x321cc2(),_0x283ef1(_0x242020+_0x765f2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x16795f),window[_0xb36436()]=_0x16795f===_0x765f2b([0x74,0x69,0x6d,0x65])?_0x4e0267:_0x236491;}function _0x1d12eb(){let _0x577386=_0x5478d2[0x6]*_0x224449[0x8]*_0x224449[0x6];return _0x4c4213(_0x15f61c,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x577386/=0xa),_0x577386;}function _0x321cc2(){const _0x480e1d=_0x15f61c;function _0x4cd5e4(){_0x4c4213(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x765f2b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x765f2b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x765f2b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x765f2b([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x249525,_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x765f2b([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x249525,_0x480e1d[_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x765f2b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x249525,_0x480e1d[_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x765f2b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x249525,_0x480e1d[_0x765f2b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c]))),_0x4c4213(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x765f2b([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x765f2b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x765f2b([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x765f2b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x249525,_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x765f2b([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x249525);}_0x480e1d[_0x765f2b([0x73,0x74,0x61,0x74,0x65])]==_0x765f2b([0x72,0x65,0x61,0x64,0x79])?_0x4cd5e4():_0x480e1d[_0x765f2b([0x6f,0x6e,0x63,0x65])](_0x765f2b([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x4c4213(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x4cd5e4(),_0x4c4213(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1c1e79=_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x58d4cf=_0x1c1e79['getRevision'](0x0),_0x4aabad=_0x1c1e79['getEarlierVisibleRevision'](_0x58d4cf[_0x765f2b([0x69,0x64])]);_0x3fd95a(_0x480e1d,_0x765f2b([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x765f2b([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x58d4cf[_0x765f2b([0x69,0x64])],_0x4aabad?_0x4aabad[_0x765f2b([0x69,0x64])]:null,0x1)['then'](()=>_0x4cd5e4());}});}_0x2fc4dc(_0x17dfd4(_0x5524d3,_0x1c6d3a),_0x1c6d3a);}function _0x56ff58(_0x4a77a9,_0x358fa4){try{return _0x4043a9(_0x358fa4)?_0x283ef1(_0x358fa4[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x56,0x61,0x6c,0x69,0x64])):_0x4a77a9&&_0x38e7ce(_0x4a77a9[_0x765f2b([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x358fa4)?_0x4a77a9[_0x765f2b([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x765f2b([0x6f,0x70,0x65,0x6e])][_0x765f2b([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x25cb9d)/0x2>_0x4a77a9[_0x765f2b([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x283ef1(_0x358fa4[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4a77a9[_0x765f2b([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x283ef1(_0x358fa4[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c])):_0x283ef1(_0x358fa4[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x56,0x61,0x6c,0x69,0x64])):_0x283ef1(_0x358fa4[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x59cd12){return _0x283ef1(_0x358fa4[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0xd38f56(_0x71e2,_0x510711){if(_0x15f61c instanceof _0x19b76f){const _0x2f13b8=_0x15f61c;_0x71e2==_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xe79a9e(_0x2f13b8):_0x71e2==_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c])&&window[_0x765f2b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xe79a9e(_0x2f13b8),_0x283ef1(_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5478d2[0x6]*_0x224449[0x8]*_0x224449[0x6]),_0x2f13b8[_0x765f2b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x765f2b([0x6f,0x6e])](_0x765f2b([0x61,0x64,0x64]),(_0x41779e,_0x3bde9e)=>{_0x71e2!=_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x71e2!=_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x71e2!=_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x35f925(_0x3bde9e);});}else{const _0xf46820=_0x15f61c;_0x71e2==_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x35f925(_0xf46820):_0x71e2==_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c])&&_0xf46820[_0x765f2b([0x6f,0x6e])](_0x765f2b([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x466160=0x0;_0xf46820[_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x765f2b([0x6f,0x6e])](_0x765f2b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xd0be53,_0x4896f0)=>{_0x4896f0[0x0][_0x765f2b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x466160++,0x1f8===_0x466160&&(_0x35f925(_0xf46820),_0x283ef1(_0x510711[_0x765f2b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x765f2b([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xd0be53[_0x765f2b([0x6f,0x66,0x66])]());},{'priority':_0x765f2b([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x283ef1(_0x266169){const _0x20eeb9=_0xb36436();return _0x15f61c[_0x20eeb9]=_0x266169,_0x266169;}function _0xb36436(){const _0x2d50d3=String(window[_0x765f2b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x765f2b([0x6e,0x6f,0x77])]())[_0x765f2b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x765f2b([0x2e]),'');let _0xe39eb9='';for(let _0x26765c=0x0;_0x26765c<_0x2d50d3[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x26765c+=0x2){let _0x411f7d=parseInt(_0x2d50d3[_0x765f2b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26765c,_0x26765c+0x2));_0x411f7d>=_0x131be6[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x411f7d-=_0x131be6[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe39eb9+=_0x131be6[_0x411f7d];}return _0xe39eb9;}function _0xe79a9e(_0x33d457){for(const _0x4106eb of _0x33d457[_0x765f2b([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x35f925(_0x4106eb);_0x3fd95a(_0x33d457,_0x765f2b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x765f2b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x3fd95a(_0x33d457,_0x765f2b([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x765f2b([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x249525;}function _0x35f925(_0x58e66a){function _0x502908(){_0x58e66a[_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x765f2b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x249525,_0x58e66a[_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c])][_0x765f2b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x249525,_0x58e66a[_0x765f2b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x765f2b([0x6d,0x6f,0x64,0x65,0x6c]));}_0x58e66a[_0x765f2b([0x73,0x74,0x61,0x74,0x65])]==_0x765f2b([0x72,0x65,0x61,0x64,0x79])?_0x502908():_0x58e66a[_0x765f2b([0x6f,0x6e,0x63,0x65])](_0x765f2b([0x72,0x65,0x61,0x64,0x79]),()=>_0x502908());}function _0x249525(){return null;}function _0x38e7ce(_0x37f5b5,_0x30fb0a){const _0x45295f=!!(_0x37f5b5&_0x30fb0a[_0x765f2b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x584b10=_0x480f7b(_0x37f5b5,_0x30fb0a);return _0x45295f||_0x584b10;}function _0x480f7b(_0x55be37,_0x48170c){const _0x5b563b=(_0x48170c[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x765f2b([0x66,0x67,0x69])]||null;return!!_0x5b563b&&_0x43367e[_0x765f2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31098b=>_0x5b563b[_0x765f2b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x31098b[_0x765f2b([0x69,0x64])]))[_0x765f2b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5d7522=>!_0x3fb4c4(_0x5d7522))[_0x765f2b([0x73,0x6f,0x6d,0x65])](_0x2b31ff=>!!(_0x55be37&_0x2b31ff[_0x765f2b([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x3fb4c4(_0x142f65){const _0x47d12a={[_0x765f2b([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])]:_0x1e4c17};return!!_0x142f65['forbiddenHandler']&&_0x47d12a[_0x142f65['forbiddenHandler']]();}function _0x1e4c17(){return!window[_0x765f2b([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x4c4213(_0x15f61c,_0x765f2b([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4043a9(_0x5f1b3b){if(!_0x4c4213(_0x15f61c,_0x5f1b3b[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x917f8=_0x5f1b3b[_0x765f2b([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x53395=_0x917f8[_0x765f2b([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x50ad9d=_0x917f8[_0x765f2b([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4ab0bc=_0x917f8[_0x765f2b([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x4c4213(_0x15f61c,_0x765f2b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x3fd95a(_0x15f61c,_0x765f2b([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x765f2b([0x73,0x74,0x61,0x74,0x65])]==_0x765f2b([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x53395)return!0x0;if(_0x4c4213(_0x15f61c,_0x765f2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x3fd95a(_0x15f61c,_0x765f2b([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x765f2b([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x765f2b([0x65,0x6e,0x64])&&_0x50ad9d)return!0x0;return!(!_0x4c4213(_0x15f61c,_0x765f2b([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]))||_0x3fd95a(_0x15f61c,_0x765f2b([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]))[_0x765f2b([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x765f2b([0x65,0x6e,0x64])||!_0x4ab0bc);}function _0x4c4213(_0x5cd009,_0x2510c2){return _0x5cd009[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x765f2b([0x68,0x61,0x73])](_0x2510c2);}function _0x3fd95a(_0x409e37,_0x40c51e){return _0x409e37[_0x765f2b([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x765f2b([0x67,0x65,0x74])](_0x40c51e);}function _0x2bc818(_0x139739){let _0x4652a9='';for(const _0x45419d of _0x139739)_0x4652a9+=String[_0x765f2b([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x45419d);return _0x4652a9;}function _0x203931(_0x2a7140){const _0x45f3cf=new Uint8Array(_0x2a7140[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3ed963=0x0;_0x3ed963<_0x2a7140[_0x765f2b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ed963++)_0x45f3cf[_0x3ed963]=_0x2a7140[_0x765f2b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ed963);return _0x45f3cf;}_0x1a4044&&_0x5be7dd(_0x1d50da(_0x4260db),_0x1a4044);})(_0x14cae8);}(this);}['createRevision'](_0x4dbc40){const _0x293f38=this['editor']['plugins']['get']('Users');return new a({'id':_0x4dbc40['id'],'name':_0x4dbc40['name'],'creator':_0x4dbc40['creatorId']?_0x293f38['getUser'](_0x4dbc40['creatorId']):null,'diffData':_0x4dbc40['diffData']||_0x4dbc40['data'],'authors':_0x4dbc40['authorsIds']['map'](_0x814650=>_0x293f38['getUser'](_0x814650)),'createdAt':new Date(_0x4dbc40['createdAt']),'attributes':_0x4dbc40['attributes'],'fromVersion':_0x4dbc40['fromVersion'],'toVersion':_0x4dbc40['toVersion']});}['addRevision'](_0x1867f2,_0x271506=0x0){this['_revisions']['add'](_0x1867f2,_0x271506);}['getRevision'](_0xfdc498){return this['_revisions']['get'](_0xfdc498);}['getRevisions'](_0x18d53d={'toJSON':!0x1}){const _0x533997=Array['from'](this['_revisions']);return _0x533997['reverse'](),_0x18d53d['toJSON']?_0x533997['map'](_0x1f5898=>_0x1f5898['toJSON']()):_0x533997;}['getIndex'](_0x20bd2c){return this['_revisions']['getIndex'](_0x20bd2c);}['getEarlierVisibleRevision'](_0x1a2687){const [,_0x113dad]=this['getRevisionsIterator'](_0x1a2687,{'direction':'earlier'});return _0x113dad;}['getLaterVisibleRevision'](_0x141933){const [,_0x1079a8]=this['getRevisionsIterator'](_0x141933,{'direction':'later'});return _0x1079a8;}['getRevisionsInDiff'](_0x1fdbea){const _0x40ff4e=[];for(const _0x4019c2 of this['getRevisionsIterator'](_0x1fdbea['newRevisionId']))if(_0x40ff4e['push'](_0x4019c2),_0x4019c2['id']===_0x1fdbea['oldRevisionId'])break;return _0x40ff4e;}*['getRevisionsIterator'](_0x45fcbd,{direction:_0x3d88ff='earlier',filter:_0x1cfe81=_0x4f9596=>!0x0}={}){const _0x175e28='earlier'===_0x3d88ff?0x1:-0x1;let _0x297838=this['_revisions']['get'](_0x45fcbd),_0x2810b8=this['getIndex'](_0x297838);for(yield _0x297838;_0x297838;){if(_0x2810b8+=_0x175e28,_0x297838=this['getRevision'](_0x2810b8),!_0x297838)return;_0x1cfe81(_0x297838)&&(yield _0x297838);}}}function y(_0x31e1d9,_0x43e853,_0x3a5261){const t=_0x31e1d9['t'];switch(_0x43e853){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'},_0x3a5261);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3a5261);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':_0x205e76,'a':_0x4aad0a,'e':_0x53ca70,'r':_0xd607d1,'u':_0x29da65};class l extends _0x162d59{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x3da019,A,_0x695b82];}constructor(_0x59065b){super(_0x59065b),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 _0x4afbae=_0x47fc8d();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4afbae},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 _0x34fbf4=this['repository']['getRevision'](0x0),_0x10247b=_0x34fbf4&&null===_0x34fbf4['creator']?_0x34fbf4:null;if(this['_continueCurrentRevision']=!!_0x10247b&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x5a920e=this['_source']['getCurrentRevisionId'](),_0x5af2c3=this['repository']['getRevision'](_0x5a920e);if(_0x5af2c3)this['_startingVersion']=_0x5af2c3['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5ce67e=this['_source']['history']['_operations']['find'](_0x12e917=>!_0x12e917['_isInit']),_0xb9d517=_0x5ce67e?_0x5ce67e['baseVersion']:this['_source']['history']['version'];_0x34fbf4?(_0x34fbf4['toVersion']<_0xb9d517&&_0x34fbf4['_update']({'toVersion':_0xb9d517}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x10247b['id'],this['_startingVersion']=_0x10247b['fromVersion']):(this['_startingVersion']=_0x34fbf4['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xb9d517,this['_continueCurrentRevision']=!0x1);}}else _0x10247b&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x10247b['toVersion'],this['editor']['model']['document']['history']['version']),_0x10247b['fromVersion']===_0x10247b['toVersion']?(0x0!==_0x10247b['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x10247b['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x10247b['id'],this['_startingVersion']=_0x10247b['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',_0xe191c5=>!_0xe191c5);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2e243f=this['repository']['getRevision'](0x0),_0x4a15d2=await this['getRevisionDocumentData'](_0x2e243f),_0x472635=await this['getRevisionRootsAttributes'](_0x2e243f);this['_replaceEditorDataWithRevisionData'](_0x4a15d2,_0x472635);}}['setSource'](_0x4b4924){this['_source']=_0x4b4924;}async['update'](){const _0x306c87=await this['_source']['getLatestVersion']();if(_0x306c87>this['currentRevision']['toVersion']){await this['_loadState']();const _0x30b438=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x306c87});_0x30b438['authors']=_0x30b438['authorsIds']['map'](_0x5e6794=>this['editor']['plugins']['get']('Users')['getUser'](_0x5e6794)),this['currentRevision']['_update'](_0x30b438);}}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'](_0xeb2416={},_0x489ab6=null){const _0x4daa40=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x489ab6>this['currentRevision']['toVersion']&&(_0x489ab6=null),null===_0x489ab6&&(_0x489ab6=await this['_source']['getLatestVersion']());const _0x5c98a6=this['_getFromVersion'](_0x489ab6),_0x5e6e8a=this['buildRevisionData']({'from':_0x5c98a6,'to':_0x489ab6});if(this['currentRevision']['toVersion']<_0x489ab6){const _0x49fcb6=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x489ab6,'to':_0x489ab6});_0x49fcb6['authors']=[],_0x49fcb6['authorsIds']=[],_0x49fcb6['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x49fcb6,!0x0),delete _0x49fcb6['authors'],_0x4daa40['push'](_0x49fcb6);}_0xeb2416['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xeb2416['name']=_0xeb2416['name']||null,_0xeb2416['id']=_0xeb2416['id']||_0x47fc8d(),_0xeb2416={..._0xeb2416,..._0x5e6e8a};const _0x3ca0de=this['addRevisionData'](_0xeb2416);_0x4daa40['push'](_0xeb2416);const _0xc1c829=this['repository']['getIndex'](_0x3ca0de);if(0x0!==_0xc1c829){const _0x1f1680=this['repository']['getRevision'](_0xc1c829-0x1);if(_0x1f1680['fromVersion']!==_0x489ab6){const _0x18f40e=this['_revisionDataBuilder']['getData'](_0x489ab6,_0x1f1680['toVersion']),_0x4dd8a5={'id':_0x1f1680['id'],'diffData':_0x18f40e['diffData'],'authorsIds':_0x18f40e['authorsIds'],'authors':_0x18f40e['authorsIds']['map'](_0x596a66=>this['editor']['plugins']['get']('Users')['getUser'](_0x596a66)),'fromVersion':_0x489ab6};_0x1f1680===this['currentRevision']&&(_0x4dd8a5['createdAt']=new Date(_0xeb2416['createdAt']['getTime']()+0xa)),_0x1f1680['_update'](_0x4dd8a5,!0x0),delete _0x4dd8a5['authors'],_0x4daa40['push'](_0x4dd8a5);}}if(this['adapter']){for(const _0xda4369 of _0x4daa40)this['_bufferUpdate'](_0xda4369['id'],_0xda4369,!0x0);this['sendBufferedUpdates']();}return _0x3ca0de;}['addRevisionData'](_0x537353){const _0x4525d7=this['repository']['createRevision'](_0x537353);return this['adapter']&&_0x4525d7['on']('_update',(_0x2e027b,_0x1ae4da,_0x4e041b)=>{_0x4e041b||(this['_bufferUpdate'](_0x1ae4da['id'],_0x1ae4da,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4525d7,this['_findInsertionIndex'](_0x4525d7)),_0x4525d7;}async['getRevisionDocumentData'](_0x50bb91){await this['_loadRevisionData'](_0x50bb91);const _0x97d8eb={};for(const _0x488b84 in _0x50bb91['diffData']){if(_0x50bb91['diffData'][_0x488b84]['attachChange']&&!_0x50bb91['diffData'][_0x488b84]['attachChange']['isAttached'])continue;const _0x34ca26=this['_removeRevisionMarkers'](JSON['parse'](_0x50bb91['diffData'][_0x488b84]['insertions'])),_0x37c44b=this['editor']['editing']['view']['document'],_0x208f69=new _0x29a951(_0x37c44b,_0x34ca26['map'](_0x12941a=>B(_0x12941a,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x97d8eb[_0x488b84]=this['editor']['data']['processor']['toData'](_0x208f69),this['editor']['data']['processor']['useFillerType']('default');}return _0x97d8eb;}async['getRevisionRootsAttributes'](_0x1adb99){await this['_loadRevisionData'](_0x1adb99);const _0x928a47={};for(const _0x433a1e in _0x1adb99['diffData'])_0x1adb99['diffData'][_0x433a1e]['attachChange']&&!_0x1adb99['diffData'][_0x433a1e]['attachChange']['isAttached']||(_0x928a47[_0x433a1e]=_0x1adb99['diffData'][_0x433a1e]['attributesAfter']||{});return _0x928a47;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x44184f=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0xb918d=0x0;_0xb918d<_0x44184f['length'];_0xb918d++){const _0x15f714=_0x44184f[_0xb918d];let _0x3a8c37=!0x1;for(const _0x17e8ab of Object['keys'](_0x15f714))void 0x0===_0x15f714[_0x17e8ab]?delete _0x15f714[_0x17e8ab]:'id'!==_0x17e8ab&&(_0x3a8c37=!0x0);_0x3a8c37||(_0x44184f[_0xb918d]=null);}if(_0x44184f=_0x44184f['filter'](_0x4595d3=>null!==_0x4595d3),!_0x44184f['length'])return;for(let _0xe74d72=0x0;_0xe74d72<_0x44184f['length'];_0xe74d72++){const _0x2105c0=_0x44184f[_0xe74d72];void 0x0!==_0x2105c0['fromVersion']&&void 0x0===_0x2105c0['toVersion']&&(_0x2105c0['toVersion']=this['repository']['getRevision'](_0x2105c0['id'])['toVersion']),void 0x0!==_0x2105c0['toVersion']&&void 0x0===_0x2105c0['fromVersion']&&(_0x2105c0['fromVersion']=this['repository']['getRevision'](_0x2105c0['id'])['fromVersion']);}const _0x490f70=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x44184f,_0x490f70)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x1ffcac=>{if(_0x1ffcac){for(const _0x2cd0d7 of _0x1ffcac)this['setRevisionData']({'id':_0x2cd0d7['id'],'createdAt':_0x2cd0d7['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x275cf6,_0x545cb7){let _0x825db=this['editor']['config']['get']('initialData'),_0x4a35b6=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x825db){_0x825db={};for(const _0x5c8d05 of this['editor']['model']['document']['getRootNames']())_0x825db[_0x5c8d05]='';}if('string'==typeof _0x825db&&(_0x825db={'main':_0x825db}),void 0x0===_0x4a35b6){_0x4a35b6={};for(const _0x2423b9 of this['editor']['model']['document']['getRootNames']())_0x4a35b6[_0x2423b9]={};}let _0xb3b4ea=!0x1;const _0x12e993=Object['keys'](_0x825db),_0x1605a1=Object['keys'](_0x275cf6);for(const _0x577ea7 of _0x12e993){if(_0x825db[_0x577ea7]!==_0x275cf6[_0x577ea7]&&''!==_0x825db[_0x577ea7]['trim']()){_0xb3b4ea=!0x0;break;}if(!_0x2b6fd2(_0x4a35b6[_0x577ea7],_0x545cb7[_0x577ea7])&&Object['keys'](_0x4a35b6[_0x577ea7])['length']>0x0){_0xb3b4ea=!0x0;break;}}_0xb3b4ea||(_0xb3b4ea=_0x1605a1['some'](_0x251392=>!this['editor']['model']['document']['getRoot'](_0x251392))),_0xb3b4ea&&_0xfce053('editor-initial-data-replaced-with-revision-data',{'editorData':_0x825db,'editorRootsAttributes':_0x4a35b6,'revisionData':_0x275cf6,'revisionRootsAttributes':_0x545cb7}),this['editor']['config']['set']('initialData',_0x275cf6),this['editor']['config']['set']('rootsAttributes',_0x545cb7);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xc6977c=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xc6977c['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1fe7f9){const _0x53ae7b=this['repository']['getRevisions']();_0x53ae7b['reverse']();let _0x50fd58=0x0;for(;_0x50fd58<_0x53ae7b['length'];){const _0x18b971=_0x53ae7b[_0x50fd58];if(_0x18b971===this['currentRevision']){_0x50fd58++;continue;}if(_0x18b971['id']===this['_initialRevisionId'])break;const _0x5c1049=_0x1fe7f9['toVersion']-_0x18b971['toVersion']||_0x1fe7f9['fromVersion']-_0x18b971['fromVersion'];if(_0x5c1049>0x0)break;if(_0x5c1049<0x0)_0x50fd58++;else{if(!_0x1fe7f9['creator']&&_0x18b971['creator'])break;if(_0x18b971['creator']||!_0x1fe7f9['creator']){if(_0x1fe7f9['createdAt']>_0x18b971['createdAt'])break;_0x50fd58++;}else _0x50fd58++;}}return _0x50fd58;}['setRevisionData'](_0x1f9278){const _0x11d439=this['repository']['getRevision'](_0x1f9278['id']);if(_0x1f9278['createdAt']&&(_0x1f9278['createdAt']=new Date(_0x1f9278['createdAt'])),_0x1f9278['authorsIds']){const _0x5f2f50=this['editor']['plugins']['get']('Users');_0x1f9278['authors']=_0x1f9278['authorsIds']['map'](_0x5e3d6b=>_0x5f2f50['getUser'](_0x5e3d6b));}_0x11d439['_update'](_0x1f9278,!0x0);}['buildRevisionData']({revision:_0xc22a26=null,from:_0x1d1845=null,to:_0x5ddacf=null}){_0x1d1845=null!==_0x1d1845?_0x1d1845:_0xc22a26['fromVersion'],_0x5ddacf=null!==_0x5ddacf?_0x5ddacf:_0xc22a26['toVersion'];const _0x5ae71d=this['_revisionDataBuilder']['getData'](_0x1d1845,_0x5ddacf),_0x46f233={'diffData':_0x5ae71d['diffData'],'authorsIds':_0x5ae71d['authorsIds'],'fromVersion':_0x1d1845,'toVersion':_0x5ddacf};if(!_0xc22a26||_0x5ddacf!==_0xc22a26['toVersion']){const _0x1ff4a5=_0x5ddacf-0x1,_0x99063c=this['_source']['history']['getOperation'](_0x1ff4a5);_0x46f233['createdAt']=_0x99063c&&_0x99063c['createdAt']||new Date();}if(this['_loadedStateData']&&_0x1d1845===this['_loadedStateData']['fromVersion']){for(const _0x5abf1b of this['_loadedStateData']['authors'])_0x46f233['authorsIds']['includes'](_0x5abf1b['id'])||_0x46f233['authorsIds']['push'](_0x5abf1b['id']);}return _0x46f233;}['_loadRevisionData'](_0x45a449){if(!_0x45a449||_0x45a449['diffData'])return Promise['resolve']();{const _0x5a05f8=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5a05f8,'revisionId':_0x45a449['id']})['then'](_0x5912cf=>{_0x45a449['diffData']=_0x5912cf['diffData'];});}}['_bufferUpdate'](_0x8461d9,_0x1a1f65,_0x1b1cbd){if(this['_bufferedUpdates']['has'](_0x8461d9)){const _0x1ea99d=this['_bufferedUpdates']['get'](_0x8461d9);_0x1a1f65=_0x1b1cbd?{..._0x1ea99d,..._0x1a1f65}:{..._0x1a1f65,..._0x1ea99d};}this['_bufferedUpdates']['set'](_0x8461d9,_0x1a1f65);}['_getFromVersion'](_0x1b0509){const _0x321ca9=this['repository']['getRevisions']();_0x321ca9['reverse'](),_0x321ca9['shift']();const _0x3c8f15=_0x321ca9['find'](_0x79ab5e=>_0x79ab5e['toVersion']<=_0x1b0509)['toVersion'];return _0x3c8f15<this['_startingVersion']?this['_startingVersion']:_0x3c8f15;}['_createInitialRevision'](_0x163eca){const _0x35414d=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x35414d)this['_initialRevisionId']=_0x35414d['id'];else{const _0x19f764=!this['editor']['model']['document']['roots']['find'](_0x3b73df=>this['editor']['model']['hasContent'](_0x3b73df)),_0x57e311=this['editor']['plugins']['get']('Users')['me']['id'],_0x2401d3=y(this['editor']['locale'],_0x19f764?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x163eca,'to':_0x163eca,'id':this['_initialRevisionId'],'name':_0x2401d3,'creatorId':_0x57e311});}}['_createCurrentRevision'](_0x5cb62e){const _0x2dc5fe=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x2dc5fe),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5cb62e,'to':_0x5cb62e,'id':_0x2dc5fe,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1d1058,from:_0xdd6b40,to:_0x40cd66,creatorId:_0x37a986,id:_0xd96b5e}){const _0x4fc531=this['buildRevisionData']({'from':_0xdd6b40,'to':_0x40cd66});_0x4fc531['name']=_0x1d1058,_0x4fc531['creatorId']=_0x37a986,_0x4fc531['id']=_0xd96b5e;const _0x5aa5f6=this['addRevisionData'](_0x4fc531);return this['adapter']&&this['_bufferUpdate'](_0x4fc531['id'],_0x4fc531,!0x0),_0x5aa5f6;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x1c8d40){return(_0x1c8d40=_0x1c8d40['filter'](_0x304fd3=>!_0x304fd3['name']||'revision-start'!==_0x304fd3['name']&&'revision-end'!==_0x304fd3['name']))['forEach'](_0x17417d=>{'string'!=typeof _0x17417d&&(_0x17417d['children']=this['_removeRevisionMarkers'](_0x17417d['children']),_0x17417d['attributes']=_0x17417d['attributes']['filter'](_0x3e7603=>!_0x3e7603[0x0]['startsWith']('data-revision-')));}),_0x1c8d40;}}function B(_0x811c04,_0x326d87){const _0x37e696=_0x326d87['editing']['view']['document'];if('string'==typeof _0x811c04)return new _0x301850(_0x37e696,_0x811c04);{const _0x1e1262=_0x811c04['children']['map'](_0x416137=>B(_0x416137,_0x326d87));return new(T[_0x811c04['type']]||_0x58bb25)(_0x37e696,_0x811c04['name'],_0x811c04['attributes'],_0x1e1262);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x587bc2){this['editor']=_0x587bc2,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'](_0x131b2d){this['source']=_0x131b2d;const _0x49c1df=new Map(),_0x1636fa=new Map(),_0x504a33=this['editor']['model']['document']['roots']['map'](_0x5fcd65=>_0x5fcd65['rootName']);for(const _0xc209d2 of _0x504a33){const _0x387a2d=this['editor']['model']['document']['getRoot'](_0xc209d2),_0x184f0e=q(_0x387a2d);_0x49c1df['set'](_0xc209d2,_0x184f0e),_0x1636fa['set'](_0xc209d2,Object['fromEntries'](_0x387a2d['getAttributes']()));}const _0x1b3a91=Array['from'](this['editor']['model']['markers'])['map'](_0x3c8c10=>[_0x3c8c10['name'],_0x3c8c10['getRange']()]),_0xc42a26=this['source']['version'];this['_saveMetaData'](_0xc42a26,_0x49c1df,_0x1b3a91,_0x1636fa),this['_startingRevisionId']=this['_revisionId'];const _0x717143=new Map(),_0x48e8e4=new Map();for(const _0x771e03 of _0x504a33){const _0xf4b9da=G(_0x771e03);_0x717143['set'](_0x771e03,_0xf4b9da),_0x48e8e4['set'](_0x771e03,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x717143,[],_0x48e8e4);}['getData'](_0x293f53,_0x1f1230){if(this['_lastFrom']===_0x293f53&&this['_lastTo']<=_0x1f1230)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1f1230,!0x0);else{if(!this['_savedMetaData']['has'](_0x293f53)){const _0x5a5888=this['_getPreviousFrom'](_0x293f53);this['_calculateMetaData'](_0x5a5888,_0x293f53,!0x1);}this['_calculateMetaData'](_0x293f53,_0x1f1230,!0x0);}return this['_lastFrom']=_0x293f53,this['_lastTo']=_0x1f1230,this['_getState']();}['loadState'](_0x35e5ea){this['_reset'](),this['_lastFrom']=_0x35e5ea['fromVersion'],this['_lastTo']=_0x35e5ea['toVersion'];for(const _0x25b36e in _0x35e5ea['diffData']){const _0x487bda=_0x35e5ea['diffData'][_0x25b36e]['attachChange'],_0x4a01e4=_0x2fc470(_0x35e5ea['diffData'][_0x25b36e]['attributesBefore'])||{},_0x58e1d9=this['_makeModelFromViewString'](_0x35e5ea['diffData'][_0x25b36e]['deletions']);_0x58e1d9['rootName']=_0x25b36e,_0x58e1d9['_isAttached']=!_0x487bda||!_0x487bda['isAttached'],_0x58e1d9['isAttached']=()=>_0x58e1d9['_isAttached'],this['_baseRoots']['set'](_0x25b36e,_0x58e1d9),this['_baseRootsAttributes']['set'](_0x25b36e,_0x4a01e4),_0x487bda&&this['_touchedRoots']['set'](_0x25b36e,_0x487bda);const _0x3a8fe6=this['_makeIdsRoot'](_0x58e1d9);this['_baseIdsRoots']['set'](_0x25b36e,_0x3a8fe6);for(const [_0x32cde8,_0x28a40d]of _0x58e1d9['markers']){if(!_0x32cde8['startsWith']('revision:'))continue;const _0x390c8f=_0x32cde8['split'](':')[0x2];for(const _0x2dde14 of _0x28a40d['getWalker']({'singleCharacters':!0x0})){const _0x5a18c1=this['_getVidAttributeName'](_0x2dde14),_0x269768='elementEnd'==_0x2dde14['type']?_0x2dde14['previousPosition']['path']['slice'](0x0,-0x1):_0x2dde14['previousPosition']['path'],_0x17e1c0=_0x3a8fe6['getNodeByPath'](_0x269768)['getAttribute'](_0x5a18c1);this['_touched']['set'](_0x17e1c0,{'userId':_0x390c8f});}}}this['_startingRevisionId']=this['_revisionId'];const _0x529ade=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x33df37=>!this['_touched']['has'](_0x33df37));let _0x415c2f=0x0;const _0x2af8bf=new Map();for(const _0xdd8c88 in _0x35e5ea['diffData']){const _0x397aa8=_0x35e5ea['diffData'][_0xdd8c88]['attachChange'],_0x13357c=_0x2fc470(_0x35e5ea['diffData'][_0xdd8c88]['attributesAfter'])||{},_0x48cec8=this['_makeModelFromViewString'](_0x35e5ea['diffData'][_0xdd8c88]['insertions']);_0x48cec8['rootName']=_0xdd8c88,_0x48cec8['_isAttached']=!_0x397aa8||_0x397aa8['isAttached'],_0x48cec8['isAttached']=()=>_0x48cec8['_isAttached'],this['_diffRoots']['set'](_0xdd8c88,_0x48cec8),this['_diffRootsAttributes']['set'](_0xdd8c88,_0x13357c);const _0x561060=this['_makeIdsRoot'](_0x48cec8,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xdd8c88,_0x561060),_0x2af8bf['set'](_0xdd8c88,_0x48cec8['isAttached']()?_0x13357c:{});for(const [_0x191bdd,_0x3ddd7a]of _0x48cec8['markers']){if(!_0x191bdd['startsWith']('revision:'))continue;const _0x3ff17e=_0x191bdd['split'](':')[0x2];for(const _0x513303 of _0x3ddd7a['getWalker']({'singleCharacters':!0x0})){const _0x2c1e4c=this['_getVidAttributeName'](_0x513303),_0x168fdb=this['_revisionId']++,_0x3d2b1e='elementEnd'==_0x513303['type']?_0x513303['previousPosition']['path']['slice'](0x0,-0x1):_0x513303['previousPosition']['path'];_0x561060['getNodeByPath'](_0x3d2b1e)['_setAttribute'](_0x2c1e4c,_0x168fdb),this['_touched']['set'](_0x168fdb,{'userId':_0x3ff17e});}}for(const _0x6c5f56 of this['editor']['model']['createRangeIn'](_0x48cec8)['getWalker']({'singleCharacters':!0x0})){const _0x5df489=this['_getVidAttributeName'](_0x6c5f56),_0x4a5b1d='elementEnd'==_0x6c5f56['type']?_0x6c5f56['previousPosition']['path']['slice'](0x0,-0x1):_0x6c5f56['previousPosition']['path'],_0x11018b=_0x561060['getNodeByPath'](_0x4a5b1d);_0x11018b['getAttribute'](_0x5df489)>0x0||_0x11018b['_setAttribute'](_0x5df489,_0x529ade[_0x415c2f++]);}for(const [_0x2173fb,_0x60ef3e]of _0x48cec8['markers'])_0x2173fb['startsWith']('revision:')||this['_markers']['set'](_0x2173fb,_0x60ef3e);}const _0x3b4ef9=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x3b4ef9),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3b4ef9,0x1));const _0x1de076=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x1de076),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x1de076,0x1));const _0x539891=Array['from'](this['_diffRoots'])['map'](([_0x180a48,_0x2d9726])=>[_0x180a48,q(_0x2d9726)]);this['_saveMetaData'](this['_lastTo'],_0x539891,this['_markers'],_0x2af8bf);}['_makeModelFromViewString'](_0x5699d3){const _0x1204bf=JSON['parse'](_0x5699d3),_0x4fd3d0=this['editor']['editing']['view']['document'],_0x418aba=new _0x29a951(_0x4fd3d0,_0x1204bf['map'](_0x2de308=>B(_0x2de308,this['editor'])));return this['editor']['data']['toModel'](_0x418aba);}['_saveMetaData'](_0x34bdc7,_0x4274f6,_0x2f5034,_0xc162da){const _0x3de7ab=new Map(_0x4274f6),_0x15537d=new Map(_0x2fc470(_0xc162da)),_0x33ea60=new Map();for(const [_0x5164f9,_0x52d793]of _0x2f5034)_0x33ea60['set'](_0x5164f9,{'start':_0x52d793['start']['clone'](),'end':_0x52d793['end']['clone'](),'rootName':_0x52d793['root']['rootName']});this['_savedMetaData']['set'](_0x34bdc7,{'roots':_0x3de7ab,'markers':_0x33ea60,'rootsAttributes':_0x15537d});}['_removeMetaData'](_0x507159){this['_savedMetaData']['delete'](_0x507159);}['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'](_0x412092,_0x10897a=null){let _0x56eb55=null;_0x412092['is']('documentFragment')||(_0x56eb55=new ft(_0x412092['name'],{'vid_start':null===_0x10897a?this['_revisionId']++:_0x10897a++}));const _0x39a433=[];for(const _0x23d944 of _0x412092['getChildren']())if(_0x23d944['is']('element')){_0x39a433['push'](this['_makeIdsRoot'](_0x23d944,_0x10897a));const _0x330602=_0x39a433[_0x39a433['length']-0x1];null!==_0x10897a&&(_0x10897a=_0x330602['is']('element','$text')?_0x330602['getAttribute']('vid')+0x1:_0x330602['getAttribute']('vid_end')+0x1);}else{for(let _0x2bc15a=0x0;_0x2bc15a<_0x23d944['offsetSize'];_0x2bc15a++)_0x39a433['push'](new ft('$text',{'vid':null===_0x10897a?this['_revisionId']++:_0x10897a++}));}if(_0x412092['is']('documentFragment')){const _0x57bc3f=G(_0x412092['rootName']);return _0x57bc3f['_insertChild'](0x0,_0x39a433),_0x57bc3f;}return _0x56eb55['_setAttribute']('vid_end',null===_0x10897a?this['_revisionId']++:_0x10897a++),_0x56eb55['_insertChild'](0x0,_0x39a433),_0x56eb55;}['_calculateMetaData'](_0x5e9791,_0x3fb75e,_0x46b76d){this['_reset']();const {roots:_0x4087d6,markers:_0x48939e,rootsAttributes:_0x29e767}=this['_savedMetaData']['get'](_0x5e9791);this['_baseRoots']=new Map(_0x4087d6),this['_baseRootsAttributes']=new Map(_0x2fc470(_0x29e767));for(const [_0x487f31,_0x1afb68]of this['_baseRoots'])if('$graveyard'!==_0x487f31&&(this['_diffRoots']['set'](_0x487f31,q(_0x1afb68)),this['_diffRootsAttributes']=new Map(_0x2fc470(_0x29e767)),_0x46b76d)){const _0x43d33e=this['_revisionId'];this['_idsRoots']['set'](_0x487f31,this['_makeIdsRoot'](_0x1afb68)),this['_baseIdsRoots']['set'](_0x487f31,this['_makeIdsRoot'](_0x1afb68,_0x43d33e));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x46b76d&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xa2f332,_0x1624ac]of _0x48939e){const _0x354c2d=this['_baseRoots']['get'](_0x1624ac['rootName']),_0x4a1d2a=this['_diffRoots']['get'](_0x1624ac['rootName']),_0x415257=new vt(this['_fixPosition'](_0x1624ac['start'],_0x354c2d),this['_fixPosition'](_0x1624ac['end'],_0x354c2d)),_0x3d3fc6=this['_fixRange'](_0x415257,_0x4a1d2a);_0x354c2d['markers']['set'](_0xa2f332,_0x415257),this['_markers']['set'](_0xa2f332,_0x3d3fc6);}this['_applyOperations'](_0x5e9791,_0x3fb75e,_0x46b76d);}['_applyOperations'](_0x13194f,_0x3fd344,_0x127794){for(const _0xf6656a of this['source']['getOperations'](_0x13194f,_0x3fd344))this['_handleOperation'](_0xf6656a,_0x127794);for(const _0x162991 of this['_diffRoots']['values']())_0x162991['markers']['clear']();for(const [_0x10eedb,_0x378385]of this['_markers']){this['_diffRoots']['get'](_0x378385['root']['rootName'])['markers']['set'](_0x10eedb,_0x378385['clone']());}const _0x5a5fb6=new Map(),_0x1e6a8f=new Map();for(const [_0x25d957,_0x1a0a2b]of this['_diffRoots'])_0x5a5fb6['set'](_0x25d957,q(_0x1a0a2b)),_0x1e6a8f['set'](_0x25d957,this['_diffRootsAttributes']['get'](_0x25d957));this['_saveMetaData'](_0x3fd344,_0x5a5fb6,this['_markers'],_0x1e6a8f);}['_getPreviousFrom'](_0x4620ff){const _0x44334f=Array['from'](this['_savedMetaData']['keys']());_0x44334f['sort']((_0x1a3eb,_0x319402)=>_0x1a3eb-_0x319402),_0x44334f['reverse']();for(const _0x58800c of _0x44334f)if(_0x58800c<_0x4620ff)return _0x58800c;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2225c3,_0x18c9b9){const _0x548ffb=Array['from'](_0x18c9b9['markers'])['map'](([_0x376399,_0x3a2b3f])=>[_0x376399,this['_fixRange'](_0x3a2b3f,_0x2225c3)]);_0x2225c3['markers']=new Map(_0x548ffb);}['_transformMarkers'](_0x3b13c9){for(const _0x168daf of this['_markers']['values']()){const _0x19aa80=_0x168daf['getTransformedByOperation'](_0x3b13c9),_0x1102d6=vt['_createFromRanges'](_0x19aa80);_0x168daf['start']=_0x1102d6['start'],_0x168daf['end']=_0x1102d6['end'];}}['_handleOperation'](_0x1277ee,_0x1826bf){if('addRoot'==_0x1277ee['type']||'detachRoot'==_0x1277ee['type'])return void this['_handleRootOperation'](_0x1277ee,_0x1826bf);if('insert'==_0x1277ee['type']){const _0x2ff245=_0x1277ee['position']['root']['rootName'];this['_diffRoots']['has'](_0x2ff245)||(this['_diffRoots']['set'](_0x2ff245,G(_0x2ff245,!0x0)),this['_diffRootsAttributes']['set'](_0x2ff245,{}),_0x1826bf&&this['_idsRoots']['set'](_0x2ff245,G(_0x2ff245,!0x0)));}else{if('addRootAttribute'==_0x1277ee['type']||'removeRootAttribute'==_0x1277ee['type']||'changeRootAttribute'==_0x1277ee['type'])return void this['_handleRootAttributeOperation'](_0x1277ee);}const _0x2d2f89=this['_cloneOperation'](_0x1277ee,this['_diffRoots']);if('marker'!==_0x1277ee['type']&&(_0x2d2f89['_execute'](),this['_transformMarkers'](_0x2d2f89)),_0x1826bf)switch(_0x2d2f89['type']){case'insert':this['_handleInsertOperation'](_0x1277ee);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1277ee);break;case'merge':this['_handleMergeOperation'](_0x1277ee);break;case'split':this['_handleSplitOperation'](_0x1277ee);break;case'marker':this['_handleMarkerOperation'](_0x1277ee);}}['_cloneOperation'](_0x5ad40c,_0x3059ec){const _0x4c6658=_0x5ad40c['clone']();return _0x4c6658['_authorId']=_0x5ad40c['_authorId'],this['_fixOperation'](_0x4c6658,_0x3059ec),_0x4c6658;}['_getBaseVids'](_0x4a346e){return _0x4a346e['map'](_0x1b6453=>{const _0x2f76d9=this['_getVidAttributeName'](_0x1b6453);return Number(_0x1b6453['item']['getAttribute'](_0x2f76d9));});}['_generateTape'](_0x3bbf76,_0xf67ef){if(_0x3bbf76['is']('element','$text'))_0xf67ef['push']({'item':_0x3bbf76,'type':'text'});else{_0x3bbf76['is']('element')&&_0xf67ef['push']({'item':_0x3bbf76,'type':'elementStart'});for(const _0x2f7680 of _0x3bbf76['getChildren']())this['_generateTape'](_0x2f7680,_0xf67ef);_0x3bbf76['is']('element')&&_0xf67ef['push']({'item':_0x3bbf76,'type':'elementEnd'});}return _0xf67ef;}['_getState'](){const _0x41ac83=new Map(this['_touched']),_0x15d810=new Map(_0x41ac83),_0x17fb02=new Map(),_0x2009c9={'insertions':{},'deletions':{}},_0x30002e={'insertions':{},'deletions':{}},_0x4651c9=new Map(),_0x9ccd35=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x9ccd35['delete']('$graveyard');for(const _0xc0f6a6 of _0x9ccd35){const _0x344c05=this['_diffRoots']['get'](_0xc0f6a6)||G(_0xc0f6a6,!0x1),_0xeaaa1b=this['_baseRoots']['get'](_0xc0f6a6)||G(_0xc0f6a6,!0x1);_0x344c05['isAttached']()||_0xeaaa1b['isAttached']()?(_0x2009c9['insertions'][_0xc0f6a6]=q(_0x344c05),_0x2009c9['deletions'][_0xc0f6a6]=q(_0xeaaa1b),this['_copyMarkers'](_0x2009c9['deletions'][_0xc0f6a6],_0xeaaa1b),this['_copyMarkers'](_0x2009c9['insertions'][_0xc0f6a6],_0x344c05),_0x30002e['insertions'][_0xc0f6a6]=this['_generateTape'](this['_idsRoots']['get'](_0xc0f6a6),[]),_0x30002e['deletions'][_0xc0f6a6]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xc0f6a6)||G(_0xc0f6a6,!0x1),[])):_0x9ccd35['delete'](_0xc0f6a6);}for(const _0x4ac637 of _0x9ccd35){const _0x2f5798=_0x30002e['insertions'][_0x4ac637];for(const _0x54f1b2 of _0x2f5798){const _0x1a4e98=this['_getVidAttributeName'](_0x54f1b2),_0x409d03=_0x54f1b2['item']['getAttribute'](_0x1a4e98);_0x15d810['delete'](_0x409d03),_0x409d03>=this['_startingRevisionId']&&_0x17fb02['set'](_0x409d03,_0x41ac83['get'](_0x409d03));}}for(const _0x3d4101 of _0x9ccd35){const _0x99bea3=_0x30002e['insertions'][_0x3d4101],_0x3e2db8=this['_getBaseVids'](_0x30002e['deletions'][_0x3d4101]);let _0x1ba329=0x0;for(const _0x3e425b of _0x99bea3){const _0x11b939=this['_getVidAttributeName'](_0x3e425b),_0x1caf19=_0x3e425b['item']['getAttribute'](_0x11b939);if(!_0x17fb02['has'](_0x1caf19)&&!_0x4651c9['has'](_0x1caf19)){if(_0x15d810['has'](_0x1caf19))_0x1ba329++;else{if(_0x1caf19!=_0x3e2db8[_0x1ba329]){const _0x344c72=_0x41ac83['get'](_0x1caf19)||_0x41ac83['get'](_0x3e2db8[_0x1ba329]);for(;_0x1caf19!=_0x3e2db8[_0x1ba329];)_0x15d810['has'](_0x3e2db8[_0x1ba329])||(_0x4651c9['set'](_0x3e2db8[_0x1ba329],_0x344c72),_0x41ac83['set'](_0x3e2db8[_0x1ba329],_0x344c72)),_0x1ba329++;}_0x1ba329++;}}}}for(const _0x4cecf2 of _0x9ccd35){const _0x521fb3=_0x30002e['insertions'][_0x4cecf2];for(const _0xa05627 of _0x521fb3){const _0x4df0eb=this['_getVidAttributeName'](_0xa05627),_0x3fd1a4=_0xa05627['item']['getAttribute'](_0x4df0eb);if(_0x4651c9['has'](_0x3fd1a4)){const _0x253dad=_0x4651c9['get'](_0x3fd1a4);_0x15d810['has'](_0x3fd1a4)||_0x15d810['set'](_0x3fd1a4,{..._0x253dad}),_0x17fb02['set'](_0x3fd1a4,{..._0x253dad});}}}for(const _0x583f0b of _0x15d810['keys']())_0x583f0b>=this['_startingRevisionId']&&_0x15d810['delete'](_0x583f0b);const _0x2c5a9b=new Map();for(const _0x4f3c70 of _0x9ccd35){let _0x94c2f7=_0x30002e['insertions'][_0x4f3c70];for(const _0x322b61 of _0x94c2f7)if(_0x322b61['item']['is']('element','tableCell')){const _0x1ce82b=this['_getVidAttributeName'](_0x322b61),_0xfc791=_0x322b61['item']['getAttribute'](_0x1ce82b);if(_0x17fb02['has'](_0xfc791)){const _0x131908=_0x322b61['item']['parent']['parent']['getAttribute']('vid_start'),_0x417444=_0x2c5a9b['get'](_0x131908)||new Set();_0x417444['add'](_0x17fb02['get'](_0xfc791)['userId']),_0x2c5a9b['set'](_0x131908,_0x417444);}}_0x94c2f7=_0x30002e['deletions'][_0x4f3c70];for(const _0xfd4a17 of _0x94c2f7)if(_0xfd4a17['item']['is']('element','tableCell')){const _0x162873=this['_getVidAttributeName'](_0xfd4a17),_0x5a59ed=_0xfd4a17['item']['getAttribute'](_0x162873);if(_0x15d810['has'](_0x5a59ed)){const _0x2c2553=_0xfd4a17['item']['parent']['parent']['getAttribute']('vid_start'),_0x57adf7=_0x2c5a9b['get'](_0x2c2553)||new Set();_0x57adf7['add'](_0x15d810['get'](_0x5a59ed)['userId']),_0x2c5a9b['set'](_0x2c2553,_0x57adf7);}}for(const _0x1122e5 of _0x2c5a9b['keys']())(_0x17fb02['has'](_0x1122e5)||_0x15d810['has'](_0x1122e5))&&_0x2c5a9b['delete'](_0x1122e5);}for(const _0x15d5b8 of _0x9ccd35){const _0x4064ca=_0x30002e['insertions'][_0x15d5b8];let _0x37d681=null,_0x5ab819=null;for(const _0x44ce3a of _0x4064ca){const _0x872643=this['_getVidAttributeName'](_0x44ce3a),_0x4b521f=_0x44ce3a['item']['getAttribute'](_0x872643),_0x28be5b=_0x2c5a9b['get'](_0x4b521f);_0x28be5b&&'elementStart'==_0x44ce3a['type']&&(_0x37d681=Array['from'](_0x28be5b)[0x0],_0x5ab819=_0x44ce3a['item']['getAttribute']('vid_end')),_0x37d681&&(_0x15d810['set'](_0x4b521f,{'userId':_0x37d681}),_0x17fb02['set'](_0x4b521f,{'userId':_0x37d681})),_0x4b521f==_0x5ab819&&(_0x37d681=null,_0x5ab819=null);}}const _0x55beca={},_0x2278fa=new Set();for(const _0x48a344 of _0x9ccd35){const _0x2e7a38=_0x2009c9['deletions'][_0x48a344],_0x217f5a=_0x2009c9['insertions'][_0x48a344];for(const {userId:_0x54320a}of this['_touchedMarkers']['values']())null!==_0x54320a&&_0x2278fa['add'](_0x54320a);for(const {userId:_0x5509ec}of this['_touchedRoots']['values']())null!==_0x5509ec&&_0x2278fa['add'](_0x5509ec);this['_markChanges'](_0x217f5a,_0x30002e['insertions'][_0x48a344],_0x17fb02,'insertion',_0x2278fa),this['_markChanges'](_0x2e7a38,_0x30002e['deletions'][_0x48a344],_0x15d810,'deletion',_0x2278fa),_0x55beca[_0x48a344]={'insertions':this['_prepareViewToSave'](_0x217f5a),'deletions':this['_prepareViewToSave'](_0x2e7a38),'attachChange':this['_touchedRoots']['get'](_0x48a344)||null,'attributesBefore':_0x2fc470(this['_baseRootsAttributes']['get'](_0x48a344))||{},'attributesAfter':_0x2fc470(this['_diffRootsAttributes']['get'](_0x48a344))};}return{'diffData':_0x55beca,'authorsIds':Array['from'](_0x2278fa)};}['_processRootBeforeSave'](_0x1db0eb){for(const [,_0x5d3fc9]of _0x1db0eb['markers']){const _0x23f474=_0x5d3fc9['start']['getAncestors']()['filter'](_0x98d52f=>'tableCell'==_0x98d52f['name']);for(const _0x25e99d of _0x23f474)0x1==_0x25e99d['childCount']&&_0x25e99d['getChild'](0x0)['is']('element','paragraph')&&_0x25e99d['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3d9cf7){this['_processRootBeforeSave'](_0x3d9cf7);const _0x398910=this['editor']['data']['toView'](_0x3d9cf7,{}),_0xd2b375=Array['from'](_0x398910['getChildren']())['map'](_0x3bd529=>this['_getViewJson'](_0x3bd529));return JSON['stringify'](_0xd2b375);}['_getViewJson'](_0x55ab43){if(_0x55ab43['is']('$text'))return _0x55ab43['data'];{const _0x459ea3=_0x55ab43;return{'type':Object['keys'](T)['find'](_0x957bc0=>_0x55ab43 instanceof T[_0x957bc0]),'name':_0x459ea3['name'],'attributes':Array['from'](_0x459ea3['getAttributes']()),'children':Array['from'](_0x459ea3['getChildren']())['map'](_0x2352c7=>this['_getViewJson'](_0x2352c7))};}}['_markChanges'](_0x5a206d,_0x55a3aa,_0x357eac,_0x548db4,_0x266ad4){let _0x9db89d=null,_0x233018=null,_0x3a87b4=0x0;const _0x5c586e=this['editor']['model'];for(let _0x4606d1=0x0;_0x4606d1<_0x55a3aa['length'];_0x4606d1++){const _0x91d692=this['_getVidAttributeName'](_0x55a3aa[_0x4606d1]),_0x2f67ae=_0x55a3aa[_0x4606d1]['item']['getAttribute'](_0x91d692),_0xa37e9=_0x357eac['get'](_0x2f67ae),_0x961cfc=_0x4606d1==_0x55a3aa['length']-0x1;(!_0x9db89d&&_0xa37e9&&(_0x9db89d=_0xa37e9,_0x233018=_0x55a3aa[_0x4606d1]),_0x9db89d&&(!_0xa37e9||_0xa37e9['userId']!=_0x9db89d['userId']))&&(_0x49602a(_0xa37e9,L(_0x233018,_0x5a206d,_0x5c586e),L(_0x55a3aa[_0x4606d1],_0x5a206d,_0x5c586e)),_0x9db89d=_0xa37e9||null,_0x233018=_0xa37e9?_0x55a3aa[_0x4606d1]:null),_0x9db89d&&_0x961cfc&&_0x49602a(_0xa37e9,L(_0x233018,_0x5a206d,_0x5c586e),W(_0x55a3aa[_0x4606d1],_0x5a206d,_0x5c586e));}function _0x49602a(_0x1b2d21,_0x1a7a70,_0x14a6e1){const _0x18c305=_0x9db89d['userId'],_0x307fb5='revision:'+_0x548db4+':'+_0x18c305+':'+_0x3a87b4++,_0x4d947d=_0x5c586e['createRange'](_0x1a7a70,_0x14a6e1);_0x5a206d['markers']['set'](_0x307fb5,_0x4d947d),null!==_0x18c305&&_0x266ad4['add'](_0x18c305);}}['_getVidAttributeName'](_0x38a402){switch(_0x38a402['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x25ae2c,_0x51c838){_0x25ae2c['baseVersion']=null;for(const _0x48fe21 in _0x25ae2c){const _0x17e74a=_0x25ae2c[_0x48fe21];if(_0x17e74a instanceof gt){const _0x44846b=_0x51c838['get'](_0x17e74a['root']['rootName']);_0x25ae2c[_0x48fe21]=this['_fixPosition'](_0x17e74a,_0x44846b);}if(_0x17e74a instanceof vt){const _0x4e0f14=_0x51c838['get'](_0x17e74a['root']['rootName']);_0x25ae2c[_0x48fe21]=this['_fixRange'](_0x17e74a,_0x4e0f14);}'root'===_0x48fe21&&(_0x25ae2c['root']=_0x51c838['get'](_0x25ae2c['root']['rootName']));}}['_fixRange'](_0xc01be9,_0x5a204a){return this['editor']['model']['createRange'](this['_fixPosition'](_0xc01be9['start'],_0x5a204a),this['_fixPosition'](_0xc01be9['end'],_0x5a204a));}['_fixPosition'](_0x478446,_0x58a1d6){return this['editor']['model']['createPositionFromPath'](_0x58a1d6,_0x478446['path'],_0x478446['stickiness']);}['_handleInsertOperation'](_0x319794){const _0x391d33=this['_idsRoots']['get'](_0x319794['position']['root']['rootName']),_0x5c3cf4=this['_fixPosition'](_0x319794['position'],_0x391d33),_0x21f550=null===_0x319794['_authorId']?null:_0x319794['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x9c3664=_0x5c3cf4['parent'],_0xa92a9a=this['_revisionId'],_0x47201c=[];for(const _0x15f96c of _0x319794['nodes'])if(_0x15f96c['is']('element'))_0x47201c['push'](this['_makeIdsRoot'](_0x15f96c));else{for(let _0x41f93c=0x0;_0x41f93c<_0x15f96c['offsetSize'];_0x41f93c++)_0x47201c['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x3a4e5d=this['_revisionId'];for(let _0x390ffb=_0xa92a9a;_0x390ffb<_0x3a4e5d;_0x390ffb++)this['_touched']['set'](_0x390ffb,{'userId':_0x21f550});_0x9c3664['_insertChild'](_0x5c3cf4['offset'],_0x47201c);}['_handleMoveOperation'](_0x40f964){(_0x40f964=this['_cloneOperation'](_0x40f964,this['_idsRoots']))['_execute']();const _0x328232=null===_0x40f964['_authorId']?null:_0x40f964['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b5d99=_0x40f964['getMovedRangeStart'](),_0x4465a2=_0x4b5d99['parent'],_0x175df4=_0x4b5d99['offset'];!function _0x157e84(_0x3eb281,_0x345ec7,_0x5c48b9,_0x5cf830){for(let _0x57b47a=_0x5c48b9;_0x57b47a<_0x5cf830;_0x57b47a++){const _0x3f24da=_0x345ec7['getChild'](_0x57b47a);_0x3f24da['is']('element','$text')?_0x3eb281['set'](_0x3f24da['getAttribute']('vid'),{'userId':_0x328232}):(_0x3eb281['set'](_0x3f24da['getAttribute']('vid_start'),{'userId':_0x328232}),_0x157e84(_0x3eb281,_0x3f24da,0x0,_0x3f24da['childCount']),_0x3eb281['set'](_0x3f24da['getAttribute']('vid_end'),{'userId':_0x328232}));}}(this['_touched'],_0x4465a2,_0x175df4,_0x175df4+_0x40f964['howMany']);}['_handleMergeOperation'](_0x36086c){const _0x378d2d=null===(_0x36086c=this['_cloneOperation'](_0x36086c,this['_idsRoots']))['_authorId']?null:_0x36086c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x394620=_0x36086c['targetPosition']['parent'],_0xcf67a0=_0x36086c['sourcePosition']['parent'],_0x2344b0=_0x394620['getAttribute']('vid_end'),_0x4cc50f=_0xcf67a0['getAttribute']('vid_start');_0x394620['_setAttribute']('vid_end',_0xcf67a0['getAttribute']('vid_end')),_0xcf67a0['_setAttribute']('vid_end',_0x2344b0),this['_touched']['set'](_0x4cc50f,{'userId':_0x378d2d}),this['_touched']['set'](_0x2344b0,{'userId':_0x378d2d}),_0x36086c['_execute']();}['_handleSplitOperation'](_0x32a232){const _0xca2831=null===(_0x32a232=this['_cloneOperation'](_0x32a232,this['_idsRoots']))['_authorId']?null:_0x32a232['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x9e37f3=_0x32a232['graveyardPosition'],_0x14bc84=_0x32a232['splitPosition']['parent'];_0x32a232['_execute']();const _0x51490a=_0x14bc84['getAttribute']('vid_end'),_0x3aa9d3=_0x32a232['insertionPosition']['nodeAfter'];if(_0x9e37f3){const _0x293de4=_0x3aa9d3['getAttribute']('vid_end'),_0x27ef0c=_0x14bc84['getAttribute']('vid_end');_0x14bc84['_setAttribute']('vid_end',_0x293de4),_0x3aa9d3['_setAttribute']('vid_end',_0x27ef0c),this['_touched']['set'](_0x14bc84['getAttribute']('vid_end'),{'userId':_0xca2831}),this['_touched']['set'](_0x3aa9d3['getAttribute']('vid_start'),{'userId':_0xca2831});}else{const _0x394d06=this['_revisionId']++,_0x1fdb88=this['_revisionId']++;_0x14bc84['_setAttribute']('vid_end',_0x394d06),_0x3aa9d3['_setAttribute']('vid_start',_0x1fdb88),_0x3aa9d3['_setAttribute']('vid_end',_0x51490a),this['_touched']['set'](_0x394d06,{'userId':_0xca2831}),this['_touched']['set'](_0x1fdb88,{'userId':_0xca2831});}}['_handleMarkerOperation'](_0x215311){if(!_0x215311['affectsData'])return;const _0x5d6fab=(_0x215311=this['_cloneOperation'](_0x215311,this['_diffRoots']))['oldRange']?_0x215311['oldRange']['root']:null,_0x3781c6=_0x215311['newRange']?_0x215311['newRange']['root']:null;_0x5d6fab&&this['_markers']['delete'](_0x215311['name']),_0x3781c6&&this['_markers']['set'](_0x215311['name'],_0x215311['newRange']['clone']());const _0x52b030=null===_0x215311['_authorId']?null:_0x215311['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5bebf0=_0x215311['name'];if(!this['_touchedMarkers']['has'](_0x5bebf0))return void this['_touchedMarkers']['set'](_0x5bebf0,{'range':_0x215311['oldRange'],'userId':_0x52b030});const _0x4bc748=this['_touchedMarkers']['get'](_0x5bebf0),_0x16c74b=_0x4bc748['range'],_0x5848cb=_0x215311['newRange'];null==_0x16c74b&&null==_0x5848cb||_0x16c74b&&_0x5848cb&&_0x16c74b['isEqual'](_0x5848cb)?this['_touchedMarkers']['delete'](_0x215311['name']):_0x4bc748['userId']=_0x52b030;}['_handleRootOperation'](_0xef28fc,_0x1f3219){this['_diffRoots']['has'](_0xef28fc['rootName'])?this['_diffRoots']['get'](_0xef28fc['rootName'])['_isAttached']=_0xef28fc['isAdd']:(this['_diffRoots']['set'](_0xef28fc['rootName'],G(_0xef28fc['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0xef28fc['rootName'],{}),_0x1f3219&&this['_idsRoots']['set'](_0xef28fc['rootName'],G(_0xef28fc['rootName'],!0x0)));const _0x3f97ee=null===_0xef28fc['_authorId']?null:_0xef28fc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x57d3da=this['_touchedRoots']['get'](_0xef28fc['rootName']);_0x57d3da&&_0x57d3da['userId']===_0x3f97ee?this['_touchedRoots']['delete'](_0xef28fc['rootName']):this['_touchedRoots']['set'](_0xef28fc['rootName'],{'userId':_0x3f97ee,'isAttached':_0xef28fc['isAdd']});}['_handleRootAttributeOperation'](_0x127be5){const _0x5ababb=this['_diffRootsAttributes']['get'](_0x127be5['root']['rootName']);null===_0x127be5['newValue']?delete _0x5ababb[_0x127be5['key']]:_0x5ababb[_0x127be5['key']]=_0x127be5['newValue'];}}function q(_0x849003){const _0x2e7503=G(_0x849003['rootName'],_0x849003['isAttached']());for(const _0x285661 of _0x849003['getChildren']()){const _0x402d73=_0x285661['_clone'](!0x0);_0x2e7503['_appendChild'](_0x402d73);}return _0x2e7503;}function G(_0x121974,_0x221e41=!0x0){const _0x533c79=new wt();return _0x533c79['rootName']=_0x121974,_0x533c79['_isAttached']=_0x221e41,_0x533c79['isAttached']=()=>_0x533c79['_isAttached'],_0x533c79;}function L(_0x1ce01b,_0x152c4f,_0x3de54b){const _0x2106e2='elementEnd'==_0x1ce01b['type']?_0x3de54b['createPositionAt'](_0x1ce01b['item'],'end'):_0x3de54b['createPositionBefore'](_0x1ce01b['item']);return _0x3de54b['createPositionFromPath'](_0x152c4f,_0x2106e2['path'],_0x2106e2['stickiness']);}function W(_0x3e7ad2,_0x254d1e,_0x321ef6){const _0x559ae3='elementStart'==_0x3e7ad2['type']?_0x321ef6['createPositionAt'](_0x3e7ad2['item'],0x0):_0x321ef6['createPositionAfter'](_0x3e7ad2['item']);return _0x321ef6['createPositionFromPath'](_0x254d1e,_0x559ae3['path'],_0x559ae3['stickiness']);}class ns extends _0xead4de{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x58af88,_0x43794e){super(_0x58af88),this['focusTracker']=new _0x12da40(),this['keystrokes']=new _0x9284fc(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x43794e),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'](),_0x84e38b({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x1af473=_0x292917=>_0x292917['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1af473),this['keystrokes']['set']('arrowleft',_0x1af473),this['keystrokes']['set']('arrowup',_0x1af473),this['keystrokes']['set']('arrowdown',_0x1af473);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x47b583){this['revisionNameInputView']['fieldView']['element']['value']=_0x47b583['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1c83ca){const _0x2f6b6f=new at(this['locale'],_0x468462),_0x29e831=_0x2f6b6f['fieldView'];_0x29e831['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x16ea33=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1c83ca&&(_0x16ea33+='\x20('+y(this['locale'],'optional')+')'),(_0x2f6b6f['label']=_0x16ea33,_0x29e831['on']('input',()=>{this['revisionNameInputValue']=_0x29e831['element']['value']['trim']();}),_0x2f6b6f);}}class u extends _0x162d59{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x4acd41=this['editor'],_0x71b3cd=_0x4acd41['plugins']['get']('RevisionTracker');_0x4acd41['ui']['componentFactory']['add']('revisionHistory',_0xdf2858=>{const _0x24f5eb=_0x401773(_0xdf2858),_0x3d73b9=_0x24f5eb['panelView']['children'],_0x35b140=new te(_0xdf2858),_0x731c5a=new _0x15d8bf(_0xdf2858),_0x149f27=new _0x2951af(_0xdf2858),_0x1b922e=new _0x15d8bf(_0xdf2858),_0x4fb628=new _0x2951af(_0xdf2858);return _0x24f5eb['bind']('isEnabled')['to'](_0x71b3cd,'isReady',_0x71b3cd,'isEnabled',_0x4acd41,'isReadOnly',(_0x448f02,_0x5b4cc1,_0x11ed7d)=>_0x448f02&&_0x5b4cc1&&!_0x11ed7d),_0x24f5eb['buttonView']['set']({'icon':_0x29b1c2['history'],'label':y(_0xdf2858,'Revision\x20history'),'tooltip':!0x0}),_0x149f27['set']({'label':y(_0xdf2858,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x149f27['bind']('isEnabled')['to'](_0x71b3cd,'isReady',_0x71b3cd,'isEnabled',_0x4acd41,'isReadOnly',(_0x4e6a13,_0x590382,_0x23e034)=>_0x4e6a13&&_0x590382&&!_0x23e034),_0x149f27['on']('execute',()=>this['_showDialog']()),_0x4fb628['set']({'label':y(_0xdf2858,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4fb628['bind']('isEnabled')['to'](_0x71b3cd,'isReady',_0x4acd41,'isReadOnly',(_0x29aa8a,_0x3dd0f6)=>_0x29aa8a&&!_0x3dd0f6),_0x4fb628['on']('execute',()=>{_0x4acd41['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x24f5eb['isOpen']=!0x1,_0x4acd41['editing']['view']['focus']();}),_0x731c5a['children']['add'](_0x149f27),_0x1b922e['children']['add'](_0x4fb628),_0x35b140['role']='menu',_0x35b140['items']['addMany']([_0x731c5a,_0x1b922e]),_0x3d73b9['add'](_0x35b140),_0x24f5eb;}),_0x4acd41['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x29d109=this['editor'],_0x4efc57=_0x29d109['locale'],_0x2d8217=new _0x469852(_0x4efc57),_0x565e76=new _0x1a5e4c(_0x4efc57);_0x2d8217['buttonView']['set']({'icon':_0x29b1c2['history'],'label':y(_0x4efc57,'Revision\x20history')});const _0x3d1e03=new _0x370ec0(_0x4efc57,_0x2d8217),_0x3c9f78=new _0xcb316f(_0x4efc57);_0x3c9f78['set']({'label':y(_0x4efc57,'Save\x20current\x20revision')}),_0x3c9f78['delegate']('execute')['to'](_0x2d8217),_0x3c9f78['on']('execute',()=>{this['_showDialog']();}),_0x3d1e03['children']['add'](_0x3c9f78),_0x565e76['items']['add'](_0x3d1e03);const _0x4ae36c=new _0x370ec0(_0x4efc57,_0x2d8217),_0x56d707=new _0xcb316f(_0x4efc57);return _0x56d707['set']({'label':y(_0x4efc57,'Open\x20revision\x20history')}),_0x56d707['delegate']('execute')['to'](_0x2d8217),_0x56d707['on']('execute',()=>{_0x29d109['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x4ae36c['children']['add'](_0x56d707),_0x565e76['items']['add'](_0x4ae36c),_0x2d8217['panelView']['children']['add'](_0x565e76),_0x2d8217;}['_showDialog'](){const _0x2ab2fb=this['editor'],_0x2814c3=_0x2ab2fb['locale'],_0x861cbe=_0x2ab2fb['plugins']['get']('Dialog'),_0x58bcf2=_0x2ab2fb['plugins']['get']('RevisionTracker');function _0x5edaf6(_0x4a6db6){_0x2ab2fb['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4a6db6['revisionName']?_0x4a6db6['revisionNameInputView']['errorText']=y(_0x2814c3,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2ab2fb['plugins']['get'](l)['saveRevision']({'name':_0x4a6db6['revisionName']}),_0x861cbe['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5edaf6(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x861cbe['show']({'id':'revisionSave','title':y(_0x2814c3,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x2ab2fb['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x861cbe['hide']()},{'label':y(_0x2ab2fb['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x11c2c2){_0x11c2c2['bind']('isEnabled')['to'](_0x58bcf2,'isReady',_0x58bcf2,'isEnabled',_0x2ab2fb,'isReadOnly',(_0x208d04,_0xff36aa,_0x39f09f)=>_0x208d04&&_0xff36aa&&!_0x39f09f);},'onExecute':()=>_0x5edaf6(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x26cb11=this['editor'],_0x199470=_0x26cb11['locale'];this['_saveRevisionFormView']=new ns(_0x199470,_0x26cb11['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xead4de{['changeId'];['_model'];constructor(_0x44d477,_0x1f7458){super(_0x44d477),this['_model']=_0x1f7458,this['changeId']=_0x1f7458['id'];const _0x8649=this['bindTemplate'],_0x55e607=y(_0x44d477,_0x1f7458['data']['isSuggestion']?'Suggested\x20by':'add'==_0x1f7458['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x1f7458['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x8649['to']('type',_0x14b0f6=>'ck-revision-change__'+_0x14b0f6)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x55e607}]},{'text':'\x20'+_0x1f7458['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x25f62f(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x48bbd8){super(),this['id']=_0x48bbd8['id']||_0x47fc8d(),this['author']=_0x48bbd8['author'],this['type']=_0x48bbd8['type'],this['data']=_0x48bbd8['data']||{},this['rootName']=_0x48bbd8['rootName'],this['set']('createdAt',_0x48bbd8['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(_0x5c8661,_0x394ac3){this['newRevisionId']=_0x5c8661,this['oldRevisionId']=_0x394ac3,this['changes']=new _0x4ac82c();}['_setChanges'](_0x4142e6){for(const _0x1c3afd of _0x4142e6)this['changes']['add'](_0x1c3afd);}}const tt={'c':_0x205e76,'a':_0x4aad0a,'e':_0x53ca70,'r':_0xd607d1,'u':_0x29da65};class d extends _0x162d59{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x3da019,_0x3a6843,A];}constructor(_0x15f1ab){super(_0x15f1ab),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',(_0x46080c,_0x4ab02e,_0x275f0e)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4b32bc=>{for(const _0x1cf59b of this['editor']['editing']['view']['document']['roots'])_0x275f0e?_0x4b32bc['removeClass']('ck-editor__editable__overlay',_0x1cf59b):_0x4b32bc['addClass']('ck-editor__editable__overlay',_0x1cf59b);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5db393=>null!==_0x5db393),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3bec17,_0x13d1b8,_0x4b9d4c)=>_0x3bec17&&_0x4b9d4c?_0x13d1b8['changes']['getIndex'](_0x4b9d4c):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x5456b5,_0x3e92d5)=>_0x5456b5?_0x3e92d5['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3a6843);}['init'](){const _0x55d589=this['editor'],_0x328271=new yt(_0x55d589,{'direction':'backward'}),_0x2953e2=new yt(_0x55d589,{'direction':'forward'});(_0x55d589['commands']['add']('showPreviousChange',_0x328271),_0x55d589['commands']['add']('showNextChange',_0x2953e2),_0x55d589['commands']['add']('restoreRevision',new bt(_0x55d589)),this['on']('change:numberOfChanges',()=>{_0x328271['refresh'](),_0x2953e2['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x55d589['enableReadOnlyMode']('revision-viewer'),_0x55d589['plugins']['has']('WidgetToolbarRepository'))&&_0x55d589['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x365150){await this['loadRevisionData'](_0x365150);const _0x161ec0={};for(const _0x3531b2 in _0x365150['diffData']){if(_0x365150['diffData'][_0x3531b2]['attachChange']&&!_0x365150['diffData'][_0x3531b2]['attachChange']['isAttached'])continue;const _0x7a5ef4=this['_removeRevisionMarkers'](JSON['parse'](_0x365150['diffData'][_0x3531b2]['insertions'])),_0x15c6ee=this['editor']['editing']['view']['document'],_0x1659c2=new _0x29a951(_0x15c6ee,_0x7a5ef4['map'](_0x29a630=>this['_getViewObj'](_0x29a630)));this['editor']['data']['processor']['useFillerType']('marked'),_0x161ec0[_0x3531b2]=this['editor']['data']['processor']['toData'](_0x1659c2),this['editor']['data']['processor']['useFillerType']('default');}return _0x161ec0;}async['getRevisionRootsAttributes'](_0x284c92){await this['loadRevisionData'](_0x284c92);const _0x4cbdef={};for(const _0x202d77 in _0x284c92['diffData'])_0x284c92['diffData'][_0x202d77]['attachChange']&&!_0x284c92['diffData'][_0x202d77]['attachChange']['isAttached']||(_0x4cbdef[_0x202d77]=_0x284c92['diffData'][_0x202d77]['attributesAfter']||{});return _0x4cbdef;}['_removeRevisionMarkers'](_0x2c2cf8){return(_0x2c2cf8=_0x2c2cf8['filter'](_0x4654b4=>!_0x4654b4['name']||'revision-start'!==_0x4654b4['name']&&'revision-end'!==_0x4654b4['name']))['forEach'](_0x4efc98=>{'string'!=typeof _0x4efc98&&(_0x4efc98['children']=this['_removeRevisionMarkers'](_0x4efc98['children']),_0x4efc98['attributes']=_0x4efc98['attributes']['filter'](_0x270cab=>!_0x270cab[0x0]['startsWith']('data-revision-')));}),_0x2c2cf8;}async['compare'](_0x9bd56b,_0x5ce258,_0x3b05a4=!0x1){if(!this['isEnabled'])return;const _0x81c0e7=this['diff'],_0x1d1d94=this['repository'],_0x2b69e5='string'==typeof _0x9bd56b?_0x1d1d94['getRevision'](_0x9bd56b):_0x9bd56b,_0x3e3a55='string'==typeof _0x5ce258?_0x1d1d94['getRevision'](_0x5ce258):_0x5ce258,_0x523494=_0x2b69e5['id'],_0x3979e6=_0x3e3a55?_0x3e3a55['id']:null;if(!_0x3b05a4&&this['diff']&&this['diff']['newRevisionId']===_0x523494&&this['diff']['oldRevisionId']===_0x3979e6)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x523494,_0x3979e6);const _0x2814b2=this['_getRevisionsRange'](_0x2b69e5,_0x3e3a55,!0x0)['map'](_0x4cde85=>this['loadRevisionData'](_0x4cde85));return _0x2814b2['push'](new Promise(_0x56dc6a=>{setTimeout(_0x56dc6a,0x14);})),Promise['all'](_0x2814b2)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1aafd4=this['_getDiff'](_0x523494,_0x3979e6);for(const _0x377c73 of _0x1aafd4['changes'])this['_changeIdToChange']['set'](_0x377c73['id'],_0x377c73);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x53b20d=>{for(const _0x254986 of this['editor']['model']['document']['getRootNames']())_0x53b20d['detachRoot'](_0x254986);for(const _0x5aa18d of Object['keys'](_0x1aafd4['model'])){const _0xacfc4=_0x53b20d['addRoot'](_0x5aa18d);for(const _0x1ac282 of Object['keys'](_0x1aafd4['attributes'][_0x5aa18d]))_0x53b20d['setAttribute'](_0x1ac282,_0x1aafd4['attributes'][_0x5aa18d][_0x1ac282],_0xacfc4);_0x53b20d['insert'](_0x1aafd4['model'][_0x5aa18d],_0xacfc4,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1aafd4['changes'])),this['isReady']=!0x0;})['catch'](_0x563c41=>{console['error'](_0x563c41),this['_cleanUp'](),_0x81c0e7&&(this['diff']=_0x81c0e7),this['isReady']=!0x0;});}['addRevisionData'](_0x3730c5,_0x1b09dd){const _0xa2e3e5=this['repository']['createRevision'](_0x3730c5);return _0xa2e3e5['on']('_update',(_0x3ef0b3,_0x30653a,_0x1892f1)=>_0x1b09dd(_0x30653a,_0x1892f1,_0xa2e3e5)),this['repository']['addRevision'](_0xa2e3e5),_0xa2e3e5;}['loadRevisionData'](_0x43f5b9){if(!_0x43f5b9||_0x43f5b9['diffData'])return Promise['resolve']();{const _0x2284ec=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2284ec,'revisionId':_0x43f5b9['id']})['then'](_0x1a0228=>{_0x43f5b9['_update']({'diffData':_0x1a0228['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},_0x5db0b6=>{for(const _0x45410d of this['editor']['model']['document']['getRootNames']())_0x5db0b6['detachRoot'](_0x45410d);});}['_sortAndFilterDiffChanges'](_0x230ee2){const _0x191a08=[],_0x526995=new Map();for(const _0x4e1c54 of this['editor']['model']['document']['getRootNames']()){const _0x462c8c=this['editor']['editing']['view']['getDomRoot'](_0x4e1c54);if(!_0x462c8c)continue;const _0x45b26c=_0x462c8c['getClientRects']()['item'](0x0);_0x45b26c&&(_0x191a08['push'](_0x4e1c54),_0x526995['set'](_0x4e1c54,_0x45b26c));}return _0x191a08['sort']((_0x3e452b,_0x1611a2)=>{const _0x12ade9=_0x526995['get'](_0x3e452b),_0x4904a1=_0x526995['get'](_0x1611a2);return _0x12ade9['y']-_0x4904a1['y']||_0x12ade9['x']-_0x4904a1['x'];}),(_0x230ee2=_0x230ee2['filter'](_0x41de4e=>_0x191a08['includes'](_0x41de4e['rootName'])))['sort']((_0x30dd0a,_0x21fda6)=>_0x191a08['indexOf'](_0x30dd0a['rootName'])-_0x191a08['indexOf'](_0x21fda6['rootName'])),_0x230ee2;}['_makeTape'](_0x3bfd9a){const _0x26f38f=Array['from'](_0x3bfd9a['markers'])['filter'](([_0x4d2bcd,_0x516046])=>_0x4d2bcd['startsWith']('revision:')&&!_0x516046['isCollapsed']),_0x3c88a7=Array['from'](this['editor']['model']['createRangeIn'](_0x3bfd9a)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x26f38f['length'])for(const _0x167d74 of _0x3c88a7){const [_0x32bc03,_0x102b14]=_0x26f38f[0x0],[,_0x41922a,_0x5a073a]=_0x32bc03['split'](':');if(_0x102b14['end']['isEqual'](_0x167d74['nextPosition'])&&_0x26f38f['shift'](),(_0x167d74['previousPosition']['isEqual'](_0x102b14['start'])||_0x167d74['previousPosition']['isAfter'](_0x102b14['start']))&&('insertion'==_0x41922a?_0x167d74['isAdded']={'userId':_0x5a073a}:'deletion'==_0x41922a&&(_0x167d74['isRemoved']={'userId':_0x5a073a})),0x0==_0x26f38f['length'])break;}return _0x3c88a7;}['_refreshStartEndIndex'](_0x2702d5){const _0x2e7a59=new Map();for(let _0x89bfb3=0x0;_0x89bfb3<_0x2702d5['length'];_0x89bfb3++)'text'===_0x2702d5[_0x89bfb3]['type']?(_0x2702d5[_0x89bfb3]['item']['startIndex']=_0x89bfb3,_0x2702d5[_0x89bfb3]['item']['endIndex']=_0x89bfb3):('elementStart'===_0x2702d5[_0x89bfb3]['type']?_0x2702d5[_0x89bfb3]['item']['startIndex']=_0x89bfb3:'elementEnd'===_0x2702d5[_0x89bfb3]['type']&&(_0x2702d5[_0x89bfb3]['item']['endIndex']=_0x89bfb3),_0x2e7a59['set'](_0x2702d5[_0x89bfb3]['id'],_0x89bfb3));for(const _0x58bdc9 of _0x2e7a59['values']())'elementStart'===_0x2702d5[_0x58bdc9]['type']?_0x2702d5[_0x58bdc9]['item']['endIndex']=_0x2e7a59['get'](_0x2702d5[_0x58bdc9]['pairId']):'elementEnd'===_0x2702d5[_0x58bdc9]['type']&&(_0x2702d5[_0x58bdc9]['item']['startIndex']=_0x2e7a59['get'](_0x2702d5[_0x58bdc9]['pairId']));}['_processTape'](_0x2ee01b){for(let _0x7f1e2e=0x0;_0x7f1e2e<_0x2ee01b['length'];_0x7f1e2e++){if('elementStart'===_0x2ee01b[_0x7f1e2e]['type'])_0x2ee01b[_0x7f1e2e]['item']['startIndex']=_0x7f1e2e;else{if('elementEnd'===_0x2ee01b[_0x7f1e2e]['type']){_0x2ee01b[_0x7f1e2e]['item']['endIndex']=_0x7f1e2e;const _0x5857cf=_0x2ee01b[_0x7f1e2e]['item']['startIndex'];_0x2ee01b[_0x5857cf]['pairId']=_0x2ee01b[_0x7f1e2e]['id'],_0x2ee01b[_0x7f1e2e]['pairId']=_0x2ee01b[_0x5857cf]['id'];}else _0x2ee01b[_0x7f1e2e]['item']['startIndex']=_0x7f1e2e,_0x2ee01b[_0x7f1e2e]['item']['endIndex']=_0x7f1e2e,_0x2ee01b[_0x7f1e2e]['pairId']=null;}_0x2ee01b[_0x7f1e2e]['markersStart']||(_0x2ee01b[_0x7f1e2e]['markersStart']=[],_0x2ee01b[_0x7f1e2e]['markersEnd']=[]);}}['_markInsertions'](_0x519550,_0x55f90e){const _0x5c4090=_0x519550['filter'](_0x52f0b0=>!_0x52f0b0['isAdded']);for(let _0xe4b657=0x0;_0xe4b657<_0x55f90e['length'];_0xe4b657++)_0x55f90e[_0xe4b657]['isAdded']&&(_0x5c4090[_0xe4b657]['isAdded']=_0x55f90e[_0xe4b657]['isAdded']);}['_makeModelFromViewString'](_0x39eb77){const _0x3a7224=JSON['parse'](_0x39eb77),_0x2a7c39=this['editor']['editing']['view']['document'],_0x408ee7=new _0x29a951(_0x2a7c39,_0x3a7224['map'](_0x28ee36=>this['_getViewObj'](_0x28ee36)));return this['editor']['data']['toModel'](_0x408ee7);}['_getViewObj'](_0x594577){const _0xd8a1a2=this['editor']['editing']['view']['document'];if('string'==typeof _0x594577)return new _0x301850(_0xd8a1a2,_0x594577);{const _0x13984c=_0x594577['children']['map'](_0xdeb3d0=>this['_getViewObj'](_0xdeb3d0));return new(tt[_0x594577['type']]||_0x58bb25)(_0xd8a1a2,_0x594577['name'],_0x594577['attributes'],_0x13984c);}}['_getDiff'](_0x2add31,_0x1dc361=null){const _0x199d58=this['repository']['getRevision'](_0x2add31),_0x39b9bf=_0x1dc361?this['repository']['getRevision'](_0x1dc361):null,_0x5dce74=this['_getRevisionsRange'](_0x199d58,_0x39b9bf),_0x48be60=_0x5dce74[_0x5dce74['length']-0x1],_0x3abd4b=new Map(),_0x497fd4={'model':{},'attributes':{},'changes':[]},_0x2fd676=new Set(),_0x1bf93d=new Map();for(let _0x2d4669=_0x5dce74['length']-0x1;_0x2d4669>=0x0;_0x2d4669--){const _0x2c8f44=_0x5dce74[_0x2d4669];for(const _0x45b079 of Object['keys'](_0x2c8f44['diffData']))if(_0x2c8f44['diffData'][_0x45b079]['attachChange']){const _0x46919d=_0x2c8f44['diffData'][_0x45b079]['attachChange'];_0x46919d['isAttached']?(_0x2fd676['add'](_0x45b079),_0x1bf93d['has'](_0x45b079)&&_0x1bf93d['get'](_0x45b079)['userId']==_0x46919d['userId']?_0x1bf93d['delete'](_0x45b079):_0x1bf93d['set'](_0x45b079,_0x46919d)):_0x1bf93d['has'](_0x45b079)?(_0x2fd676['delete'](_0x45b079),_0x1bf93d['delete'](_0x45b079)):(_0x2fd676['add'](_0x45b079),_0x1bf93d['set'](_0x45b079,_0x46919d));}else _0x2fd676['add'](_0x45b079);}for(const _0x276a36 of _0x2fd676){const _0xe477bc=_0x1bf93d['has'](_0x276a36)&&!_0x1bf93d['get'](_0x276a36)['isAttached'];let _0x359f6b=_0xe477bc?_0x5dce74['length']-0x1:0x0;const _0x796632=_0xe477bc?-0x1:0x1;for(;_0x5dce74[_0x359f6b];){const _0x4a6992=_0x5dce74[_0x359f6b];if(_0x4a6992['diffData'][_0x276a36]){const _0x4a7a30=_0xe477bc?_0x4a6992['diffData'][_0x276a36]['attributesBefore']:_0x4a6992['diffData'][_0x276a36]['attributesAfter'];_0x497fd4['attributes'][_0x276a36]=_0x4a7a30?_0x2fc470(_0x4a7a30):{};break;}_0x359f6b+=_0x796632;}}for(const _0x1f2d43 of _0x5dce74){_0x1f2d43['model']={};for(const _0x5ba3ff of _0x1f2d43['authors'])_0x3abd4b['set'](_0x5ba3ff['id'],_0x5ba3ff);for(const _0x2e61ba of _0x2fd676){const _0x4f2c2c=_0x1f2d43['diffData'][_0x2e61ba]?_0x1f2d43['diffData'][_0x2e61ba]['insertions']:'[]',_0x4a7a9c=_0x1f2d43['diffData'][_0x2e61ba]?_0x1f2d43['diffData'][_0x2e61ba]['deletions']:'[]';_0x1f2d43['model'][_0x2e61ba]={'insertions':this['_makeModelFromViewString'](_0x4f2c2c),'deletions':this['_makeModelFromViewString'](_0x4a7a9c)};}}for(const _0xb4a94f of _0x2fd676){let _0x2cd591=null,_0x16dafa=0x0;const _0x41a104=new Map(Array['from'](_0x199d58['model'][_0xb4a94f]['insertions']['markers'])['filter'](([_0x4300ae])=>!_0x4300ae['startsWith']('revision:')));let _0x50e557=0x0;for(const _0x322291 of _0x5dce74){const _0x4057b1=this['_makeTape'](_0x322291['model'][_0xb4a94f]['insertions']);_0x322291==_0x199d58?(_0x2cd591=_0x4057b1,_0x16dafa=_0x2cd591['length'],_0x2cd591['forEach'](_0xb63cfc=>{_0xb63cfc['id']=_0x50e557++;}),this['_processTape'](_0x2cd591)):this['_markInsertions'](_0x2cd591,_0x4057b1);const _0x590aaf=_0x2cd591['filter'](_0x8426d1=>!_0x8426d1['isAdded'])['map'](_0x595e1e=>_0x595e1e['id']);let _0x2013d5=0x0;const _0x34120e=this['_makeTape'](_0x322291['model'][_0xb4a94f]['deletions']);_0x34120e['forEach'](_0x5c8860=>{_0x5c8860['isRemoved']?_0x5c8860['id']=_0x16dafa++:_0x5c8860['id']=_0x590aaf[_0x2013d5++];}),this['_processTape'](_0x34120e),this['_setDistance'](_0x2cd591,'isAdded'),this['_setDistance'](_0x34120e,'isRemoved'),_0x322291==_0x199d58&&this['_markMarkers'](_0x2cd591,_0x41a104),_0x2cd591=this['_joinTapes'](_0x2cd591,_0x34120e),this['_refreshStartEndIndex'](_0x2cd591),this['_setDistance'](_0x2cd591,'isRemoved');}_0x2cd591=_0x2cd591['filter'](_0x47352e=>!(_0x47352e['isAdded']&&_0x47352e['isRemoved']));const _0x4c0ddf=new Map(_0x48be60['model'][_0xb4a94f]['deletions']['markers']),_0x1b67a6=new Set(_0x41a104['keys']());for(const _0x51a1c9 of _0x4c0ddf['keys']())_0x1b67a6['delete'](_0x51a1c9);this['_markSuggestions'](_0x2cd591,_0x1b67a6),this['_fixObsoleteTags'](_0x2cd591),_0x2cd591=this['_removeMissingPairs'](_0x2cd591),_0x2cd591=this['_markMismatchedRemovedTags'](_0x2cd591),_0x2cd591=this['_removeUnsupportedChanges'](_0x2cd591);const {root:_0x3ca63f,changes:_0x2bb74c}=this['_makeModelFromTape'](_0x2cd591,_0x3abd4b,_0xb4a94f);_0x497fd4['model'][_0xb4a94f]=_0x3ca63f;const _0x1b3e84=_0x1bf93d['get'](_0xb4a94f);if(_0x1b3e84){const _0x166789=_0x3abd4b['get'](_0x1b3e84['userId']),_0x3d9e27=new r({'author':_0x166789,'type':_0x1b3e84['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xb4a94f});_0x2bb74c['unshift'](_0x3d9e27),_0x497fd4['attributes'][_0xb4a94f]['revisionHistoryAttachChange']=_0x3d9e27['id'];}_0x497fd4['changes']=_0x497fd4['changes']['concat'](_0x2bb74c);}return _0x497fd4;}['_markMarkers'](_0xcb18f3,_0x38e2a9){for(let _0x11a005=0x0;_0x11a005<_0xcb18f3['length'];_0x11a005++)for(const [_0x57268e,_0x118b53]of _0x38e2a9)_0x118b53['start']['isEqual'](_0xcb18f3[_0x11a005]['previousPosition'])&&_0xcb18f3[_0x11a005]['markersStart']['push'](_0x57268e),_0x118b53['end']['isEqual'](_0xcb18f3[_0x11a005]['nextPosition'])&&_0xcb18f3[_0x11a005]['markersEnd']['push'](_0x57268e);}['_joinTapes'](_0x414df6,_0x2f7a59){let _0x40303b=[],_0x335719=0x0,_0x1cee95=0x0;for(;_0x335719<_0x414df6['length']||_0x1cee95<_0x2f7a59['length'];){const _0x3ad48a=_0x414df6[_0x335719]||{},_0x21ebeb=_0x2f7a59[_0x1cee95]||{};if(_0x3ad48a['id']==_0x21ebeb['id'])_0x335719++,_0x1cee95++,_0x40303b['push'](_0x3ad48a);else{if(_0x21ebeb['isRemoved']&&_0x3ad48a['isAdded']){const {commonTape:_0x39d403,iEnd:_0x247ed0,jEnd:_0x4267d4}=this['_threeWayMerge'](_0x414df6,_0x335719,_0x2f7a59,_0x1cee95);_0x40303b=_0x40303b['concat'](_0x39d403),_0x335719=_0x247ed0,_0x1cee95=_0x4267d4;}else _0x21ebeb['isRemoved']?(_0x1cee95++,_0x40303b['push'](_0x21ebeb)):(_0x335719++,_0x40303b['push'](_0x3ad48a));}}return _0x40303b;}['_markSuggestions'](_0x29a525,_0x578ad8){const _0x514a4b=[];for(let _0xedd832=0x0;_0xedd832<_0x29a525['length'];_0xedd832++){for(let _0x2fc8b2=0x0;_0x2fc8b2<_0x29a525[_0xedd832]['markersStart']['length'];_0x2fc8b2++){const _0x126579=_0x29a525[_0xedd832]['markersStart'][_0x2fc8b2];if(!_0x578ad8['has'](_0x126579))continue;const {group:_0x5cf314,type:_0x5660ed,authorId:_0x1ac189}=_0x3dd24e(_0x126579);'revision-suggestion'!=_0x5cf314||'insertion'!=_0x5660ed&&'deletion'!=_0x5660ed||(_0x514a4b['unshift']({'type':_0x5660ed,'name':_0x126579,'userId':_0x1ac189}),_0x29a525[_0xedd832]['markersStart']['splice'](_0x2fc8b2,0x1),_0x2fc8b2--);}_0x109c54(_0x29a525[_0xedd832]);for(let _0xf2ed5f=0x0;_0xf2ed5f<_0x29a525[_0xedd832]['markersEnd']['length'];_0xf2ed5f++){const _0xfda7a6=_0x29a525[_0xedd832]['markersEnd'][_0xf2ed5f];if(!_0x578ad8['has'](_0xfda7a6))continue;const {group:_0xe4b8e7,type:_0xd74bf3}=_0x3dd24e(_0xfda7a6);if('revision-suggestion'!=_0xe4b8e7||'insertion'!=_0xd74bf3&&'deletion'!=_0xd74bf3)continue;_0x29a525[_0xedd832]['markersEnd']['splice'](_0xf2ed5f,0x1),_0xf2ed5f--;const _0x147fbb=_0x514a4b['findIndex'](_0x397d60=>_0x397d60['name']==_0xfda7a6);_0x147fbb>-0x1&&_0x514a4b['splice'](_0x147fbb,0x1);}}function _0x3dd24e(_0x2110f3){const _0x214d17=_0x2110f3['split'](':');return{'group':_0x214d17[0x0],'type':_0x214d17[0x1],'subType':_0x214d17['length']>=0x5?_0x214d17[0x2]:null,'id':_0x214d17['length']<0x5?_0x214d17[0x2]:_0x214d17[0x3],'authorId':_0x214d17['length']<0x5?_0x214d17[0x3]:_0x214d17[0x4],'markerCount':0x6==_0x214d17['length']?_0x214d17[0x5]:null};}function _0x109c54(_0x45c825){for(let _0x5943b5=0x0;_0x5943b5<_0x514a4b['length'];_0x5943b5++){if(_0x45c825['isAdded']&&'insertion'==_0x514a4b[_0x5943b5]['type'])return _0x45c825['isAddSuggestion']=_0x514a4b[_0x5943b5],void delete _0x45c825['isAdded'];if(!_0x45c825['isAdded']&&!_0x45c825['isRemoved']&&'deletion'==_0x514a4b[_0x5943b5]['type'])return void(_0x45c825['isRemoveSuggestion']=_0x514a4b[_0x5943b5]);}}}['_setDistance'](_0x3453af,_0x17c8d5){let _0x2a0067=0x0,_0x580349=!0x1;const _0x245b39=new Map();for(const _0x601083 of _0x3453af)_0x601083[_0x17c8d5]?_0x580349&&(_0x2a0067++,_0x580349=!0x1):(_0x2a0067++,_0x580349=!0x0),_0x245b39['set'](_0x601083['id'],_0x2a0067);for(let _0x28bd1d=0x0;_0x28bd1d<_0x3453af['length'];_0x28bd1d++){if('isRemoved'==_0x17c8d5&&_0x3453af[_0x28bd1d]['isAdded']||'isAdded'==_0x17c8d5&&_0x3453af[_0x28bd1d]['isRemoved'])continue;if('text'==_0x3453af[_0x28bd1d]['type']){_0x3453af[_0x28bd1d]['distance']=0x0;continue;}const _0x2b49f8=_0x245b39['get'](_0x3453af[_0x28bd1d]['pairId']),_0x43e5c9=_0x245b39['get'](_0x3453af[_0x28bd1d]['id']);_0x3453af[_0x28bd1d]['distance']=_0x2b49f8-_0x43e5c9;}}['_getRevisionsRange'](_0x2b8e68,_0x2cbaf7,_0xfd8867=!0x1){const _0x5b28e5=[];let _0x44a047=this['repository']['getIndex'](_0x2b8e68),_0x182d4c=this['repository']['getIndex'](_0x2cbaf7);for(-0x1==_0x182d4c&&(_0x182d4c=this['repository']['_revisions']['length'],_0xfd8867=!0x1);_0x44a047<_0x182d4c;)_0x5b28e5['push'](this['repository']['getRevision'](_0x44a047)),_0x44a047++;return _0xfd8867&&_0x5b28e5['push'](this['repository']['getRevision'](_0x44a047)),_0x5b28e5;}['_threeWayMerge'](_0x29cc4d,_0x510f2a,_0x3073fe,_0x8482be){const _0x5b5fec=this['editor']['model']['schema'];let _0x3f440c=_0x510f2a;for(;_0x29cc4d[_0x3f440c]&&_0x29cc4d[_0x3f440c]['isAdded'];)_0x3f440c++;let _0xa39802=_0x8482be;for(;_0x3073fe[_0xa39802]&&_0x3073fe[_0xa39802]['isRemoved'];)_0xa39802++;_0x1ad304(_0x29cc4d,_0x510f2a,_0x3f440c),_0x1ad304(_0x3073fe,_0x8482be,_0xa39802);const _0xae708=_0x3073fe['slice'](_0x8482be,_0xa39802)['concat'](_0x29cc4d['slice'](_0x510f2a,_0x3f440c));return _0xae708['sort']((_0x3c3155,_0x338d19)=>_0x3c3155['side']!=_0x338d19['side']?_0x3c3155['side']-_0x338d19['side']:_0x3c3155['level']!=_0x338d19['level']?_0x3c3155['level']-_0x338d19['level']:_0x3c3155['distance']!=_0x338d19['distance']?_0x338d19['distance']-_0x3c3155['distance']:!!_0x3c3155['isAdded']!=!!_0x338d19['isAdded']?-0x1==_0x3c3155['side']||0x0==_0x3c3155['side']?_0x3c3155['isAdded']?-0x1:0x1:_0x3c3155['isAdded']?0x1:-0x1:_0x3c3155['index']-_0x338d19['index']),{'commonTape':_0xae708,'iEnd':_0x3f440c,'jEnd':_0xa39802};function _0x1ad304(_0x3a2684,_0x467dcf,_0x46c644){let _0x5f2126=-0x1,_0x287603=Number['POSITIVE_INFINITY'],_0x284419=!0x0;for(let _0x2f8ddb=_0x467dcf;_0x2f8ddb<_0x46c644;_0x2f8ddb++)if(_0x5b5fec['isInline'](_0x3a2684[_0x2f8ddb]['item'])||(_0x284419=!0x1),_0x3a2684[_0x2f8ddb]['item']['startIndex']<_0x467dcf&&(_0x5f2126=_0x2f8ddb),_0x3a2684[_0x2f8ddb]['item']['endIndex']>=_0x46c644){_0x287603=_0x2f8ddb;break;}_0x284419&&(_0x5f2126=_0x46c644-0x1);for(let _0x5be378=_0x467dcf;_0x5be378<_0x46c644;_0x5be378++)_0x3a2684[_0x5be378]['side']=_0x5be378<=_0x5f2126?-0x1:_0x5be378<_0x287603?0x0:0x1,_0x3a2684[_0x5be378]['index']=_0x5be378;let _0xb6b3ff=0x0;for(let _0x325915=_0x467dcf;_0x325915<=_0x5f2126;_0x325915++)0x0==_0x3a2684[_0x325915]['distance']?_0x3a2684[_0x325915]['level']=_0xb6b3ff:(_0xb6b3ff++,_0x3a2684[_0x325915]['level']=_0xb6b3ff,_0xb6b3ff++);for(let _0x59de0a=_0x467dcf;_0x59de0a<_0x46c644;_0x59de0a++)0x0==_0x3a2684[_0x59de0a]['side']&&(_0x3a2684[_0x59de0a]['level']=_0xb6b3ff);_0xb6b3ff=0x0;for(let _0xcbb5d5=_0x46c644-0x1;_0xcbb5d5>=_0x287603;_0xcbb5d5--)0x0==_0x3a2684[_0xcbb5d5]['distance']?_0x3a2684[_0xcbb5d5]['level']=_0xb6b3ff:(_0xb6b3ff--,_0x3a2684[_0xcbb5d5]['level']=_0xb6b3ff,_0xb6b3ff--);}}['_fixObsoleteTags'](_0x55e9fe){const _0x152362=new Map(),_0x19ef89=this['editor']['model']['schema'];for(let _0x248ddc=0x1;_0x248ddc<_0x55e9fe['length'];_0x248ddc++){let _0xe6ebbf,_0x43171c,_0x1dacc5;const _0x1ca14e=_0x55e9fe[_0x248ddc],_0x4c9b7f=_0x55e9fe[_0x248ddc-0x1];if('text'==_0x1ca14e['type'])continue;if(_0x1ca14e['type']!=_0x4c9b7f['type'])continue;if(!_0x19ef89['isBlock'](_0x4c9b7f['item'])||_0x19ef89['isLimit'](_0x4c9b7f['item']))continue;if(!_0x19ef89['isBlock'](_0x1ca14e['item'])||_0x19ef89['isLimit'](_0x1ca14e['item']))continue;if((_0x55e9fe[_0x248ddc]['isAdded']||_0x55e9fe[_0x248ddc]['isAddSuggestion'])&&_0x55e9fe[_0x248ddc-0x1]['isRemoved'])_0xe6ebbf=_0x55e9fe[_0x248ddc],_0x43171c=_0x55e9fe[_0x248ddc-0x1],_0x1dacc5=_0x248ddc-0x1;else{if(!_0x55e9fe[_0x248ddc]['isRemoved']||!_0x55e9fe[_0x248ddc-0x1]['isAdded']&&!_0x55e9fe[_0x248ddc-0x1]['isAddSuggestion'])continue;_0xe6ebbf=_0x55e9fe[_0x248ddc-0x1],_0x43171c=_0x55e9fe[_0x248ddc],_0x1dacc5=_0x248ddc;}const _0x224775=_0xe6ebbf['level']==_0x43171c['level'],_0x4b18a7=Math['abs'](_0xe6ebbf['level'])<Math['abs'](_0x43171c['level'])&&0x0==_0x43171c['distance'];(_0x224775||_0x4b18a7)&&(_0x152362['set'](_0x43171c['id'],_0xe6ebbf['id']),_0x55e9fe['splice'](_0x1dacc5,0x1),_0x248ddc--,_0xe6ebbf['isAdded']=!0x1);}for(let _0x14a47b=0x0;_0x14a47b<_0x55e9fe['length'];_0x14a47b++)_0x152362['has'](_0x55e9fe[_0x14a47b]['pairId'])&&(_0x55e9fe[_0x14a47b]['pairId']=_0x152362['get'](_0x55e9fe[_0x14a47b]['pairId']));}['_removeMissingPairs'](_0x5c6010){const _0x330a18=new Set(_0x5c6010['map'](_0xe4c67b=>_0xe4c67b['id']));for(let _0xc6cfa3=0x0;_0xc6cfa3<_0x5c6010['length'];_0xc6cfa3++)_0x330a18['has'](_0x5c6010[_0xc6cfa3]['pairId'])||0x0==_0x5c6010[_0xc6cfa3]['distance']||(_0x5c6010[_0xc6cfa3]['isIncorrect']=!0x0);return _0x5c6010['filter'](_0x5c44e7=>!_0x5c44e7['isIncorrect']);}['_markMismatchedRemovedTags'](_0x4a7ff5){const _0x1fa2c5=new Set();for(let _0x1d9431=0x0;_0x1d9431<_0x4a7ff5['length'];_0x1d9431++){if(_0x1fa2c5['has'](_0x4a7ff5[_0x1d9431]['id'])&&_0x4a7ff5[_0x1d9431]['isRemoved']&&(_0x4a7ff5[_0x1d9431]['isIncorrect']=!0x0),_0x4a7ff5[_0x1d9431]['isIncorrect'])continue;if(0x0==_0x4a7ff5[_0x1d9431]['distance'])continue;if('elementStart'!=_0x4a7ff5[_0x1d9431]['type'])continue;if(null==_0x4a7ff5[_0x1d9431]['pairId'])continue;let _0xc1590f=_0x1d9431+0x1,_0x340f9b=0x0;for(;_0x4a7ff5[_0xc1590f]['id']!=_0x4a7ff5[_0x1d9431]['pairId'];)'elementStart'==_0x4a7ff5[_0xc1590f]['type']?_0x340f9b++:'elementEnd'==_0x4a7ff5[_0xc1590f]['type']&&_0x340f9b--,_0xc1590f++;if(0x0!=_0x340f9b){if(_0x4a7ff5[_0x1d9431]['isRemoved'])_0x4a7ff5[_0x1d9431]['isIncorrect']=!0x0;else{for(;_0xc1590f!=_0x1d9431;)_0x4a7ff5[_0xc1590f]['isRemoved']&&0x0!=_0x4a7ff5[_0xc1590f]['distance']&&(_0x4a7ff5[_0xc1590f]['isIncorrect']=!0x0,_0x1fa2c5['add'](_0x4a7ff5[_0xc1590f]['pairId'])),_0xc1590f--;}}}return _0x4a7ff5['filter'](_0x55afe1=>!_0x55afe1['isIncorrect']);}['_removeUnsupportedChanges'](_0x10028b){const _0x245b84=this['editor']['model']['schema'];for(let _0x2d9fc7=0x0;_0x2d9fc7<_0x10028b['length'];_0x2d9fc7++){if(!(_0x10028b[_0x2d9fc7]['isAdded']||_0x10028b[_0x2d9fc7]['isAddSuggestion']||_0x10028b[_0x2d9fc7]['isRemoved']||_0x10028b[_0x2d9fc7]['isRemoveSuggestion']))continue;if(0x0==_0x10028b[_0x2d9fc7]['distance'])continue;const _0x17c153=_0x10028b[_0x2d9fc7]['item'];_0x245b84['isBlock'](_0x17c153)||_0x245b84['isLimit'](_0x17c153)||(_0x10028b[_0x2d9fc7]['isAdded']&&delete _0x10028b[_0x2d9fc7]['isAdded'],_0x10028b[_0x2d9fc7]['isAddSuggestion']&&delete _0x10028b[_0x2d9fc7]['isAddSuggestion'],_0x10028b[_0x2d9fc7]['isRemoveSuggestion']&&delete _0x10028b[_0x2d9fc7]['isRemoveSuggestion'],_0x10028b[_0x2d9fc7]['isRemoved']&&(_0x10028b[_0x2d9fc7]['isIncorrect']=!0x0));}return _0x10028b['filter'](_0x5a213c=>!_0x5a213c['isIncorrect']);}['_makeModelFromTape'](_0x434056,_0x5bcef3,_0x3cb18b){const _0x231765=new wt(),_0x424d99=[],_0x2ea264=new Map(),_0x5d6015=this['editor']['model'],_0x347e01=_0x5d6015['schema'],_0x5ddc4f=[_0x231765],_0x3dc259={},_0x3fd225={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x562814=null;const _0x52f81a=[0x0];for(let _0x2b743c=0x0;_0x2b743c<_0x434056['length'];_0x2b743c++){let _0x3a1655,_0xc236a3;if('elementStart'===_0x434056[_0x2b743c]['type']){_0x3a1655=_0x5d6015['createPositionFromPath'](_0x231765,_0x52f81a);const _0x23d955=new ft(_0x434056[_0x2b743c]['item']['name'],_0x434056[_0x2b743c]['item']['getAttributes']());_0x5ddc4f[0x0]['_appendChild'](_0x23d955),_0x52f81a['push'](0x0),_0x5ddc4f['unshift'](_0x23d955),_0xc236a3=_0x5d6015['createPositionFromPath'](_0x231765,_0x52f81a),_0x562814=null;}else{if('elementEnd'===_0x434056[_0x2b743c]['type'])_0x5ddc4f['shift'](),_0x3a1655=_0x5d6015['createPositionFromPath'](_0x231765,_0x52f81a),_0x52f81a['pop'](),_0x52f81a[_0x52f81a['length']-0x1]++,_0xc236a3=_0x5d6015['createPositionFromPath'](_0x231765,_0x52f81a),_0x562814=null;else{if(_0x3a1655=_0x5d6015['createPositionFromPath'](_0x231765,_0x52f81a),_0x562814&&_0x512dc7(_0x562814,_0x434056[_0x2b743c]['item']))_0x562814['_data']+=_0x434056[_0x2b743c]['item']['data'];else{const _0x214560=new _t(_0x434056[_0x2b743c]['item']['data'],_0x434056[_0x2b743c]['item']['getAttributes']());_0x5ddc4f[0x0]['_appendChild'](_0x214560),_0x562814=_0x214560;}_0x52f81a[_0x52f81a['length']-0x1]+=_0x434056[_0x2b743c]['item']['offsetSize'],_0xc236a3=_0x5d6015['createPositionFromPath'](_0x231765,_0x52f81a);}}for(const _0x2cc0b8 of _0x434056[_0x2b743c]['markersStart'])_0x2ea264['set'](_0x2cc0b8,{'start':_0x3a1655,'end':null});_0xf2a172('isRemoveSuggestion',_0x2b743c,_0x3a1655,_0xc236a3),_0xf2a172('isAddSuggestion',_0x2b743c,_0x3a1655,_0xc236a3),_0xf2a172('isRemoved',_0x2b743c,_0x3a1655,_0xc236a3),_0xf2a172('isAdded',_0x2b743c,_0x3a1655,_0xc236a3);for(const _0x18a340 of _0x434056[_0x2b743c]['markersEnd']){_0x2ea264['get'](_0x18a340)['end']=_0xc236a3;}}for(const [_0x2125ed,_0x3bead9]of _0x2ea264){const _0x5bed51=this['editor']['model']['createRange'](_0x3bead9['start'],_0x3bead9['end']);_0x231765['markers']['set'](_0x2125ed,_0x5bed51);}return _0x424d99['sort']((_0x2155dd,_0x168b30)=>{const _0x4a332a=_0x231765['markers']['get']('revision:'+_0x2155dd['id']),_0x12d5b4=_0x231765['markers']['get']('revision:'+_0x168b30['id']);return _0x4a332a['start']['isBefore'](_0x12d5b4['start'])?-0x1:_0x4a332a['start']['isAfter'](_0x12d5b4['start'])?0x1:_0x4a332a['end']['isBefore'](_0x12d5b4['end'])?-0x1:_0x4a332a['end']['isAfter'](_0x12d5b4['end'])?0x1:'add'===_0x2155dd['type']?-0x1:0x1;}),{'root':_0x231765,'changes':_0x424d99};function _0xf2a172(_0x2b14ad,_0xa52570,_0x582f6f,_0x44c281){const _0x536d79=!!_0x434056[_0xa52570][_0x2b14ad],_0x1c0ea0=_0x536d79?_0x434056[_0xa52570][_0x2b14ad]['userId']:null,_0x1cae7d=_0xa52570===_0x434056['length']-0x1,_0x484b69=_0x3fd225[_0x2b14ad][0x0],_0x550f53=_0x347e01['isObject'](_0x434056[_0xa52570]['item']);!_0x3dc259[_0x2b14ad]&&_0x536d79?_0x3dc259[_0x2b14ad]={'start':_0x582f6f,'tapeItem':_0x434056[_0xa52570],'userId':_0x1c0ea0,'type':_0x2b14ad}:_0x3dc259[_0x2b14ad]&&!_0x536d79?(_0x3dc259[_0x2b14ad]['end']=_0x582f6f,_0x32ad3f(_0x3dc259[_0x2b14ad]),_0x3dc259[_0x2b14ad]=null):_0x3dc259[_0x2b14ad]&&_0x536d79&&_0x3dc259[_0x2b14ad]['userId']!==_0x1c0ea0&&(_0x3dc259[_0x2b14ad]['end']=_0x582f6f,_0x484b69&&_0x484b69['userId']===_0x3dc259[_0x2b14ad]['userId']||_0x32ad3f(_0x3dc259[_0x2b14ad]),_0x3dc259[_0x2b14ad]={'start':_0x582f6f,'tapeItem':_0x434056[_0xa52570],'userId':_0x1c0ea0,'type':_0x2b14ad}),_0x3dc259[_0x2b14ad]&&_0x550f53&&('elementStart'!==_0x434056[_0xa52570]['type']||_0x484b69&&_0x484b69['userId']===_0x1c0ea0||_0x3fd225[_0x2b14ad]['unshift']({'userId':_0x1c0ea0,'object':_0x434056[_0xa52570]['item'],'change':_0x3dc259[_0x2b14ad]}),'elementEnd'===_0x434056[_0xa52570]['type']&&_0x484b69&&_0x484b69['object']===_0x434056[_0xa52570]['item']&&(_0x3fd225[_0x2b14ad]['shift'](),_0x3dc259[_0x2b14ad]=_0x484b69['change'])),_0x3dc259[_0x2b14ad]&&_0x1cae7d&&(_0x3dc259[_0x2b14ad]['end']=_0x44c281,_0x32ad3f(_0x3dc259[_0x2b14ad]),_0x3dc259[_0x2b14ad]=null);}function _0x32ad3f({start:_0x2e2893,end:_0x306336,tapeItem:_0x527d02,userId:_0xca7b27,type:_0x4f5f92}){const _0x2dfb99=_0x527d02['item'],_0x2cf1a9=_0x5d6015['schema']['isBlock'](_0x2dfb99)&&!_0x5d6015['schema']['isLimit'](_0x2dfb99),_0x15b296=_0x2e2893['nodeAfter']==_0x306336['parent']&&_0x306336['isAtStart'];if(_0x2cf1a9&&_0x15b296)return;const _0x5a78b8=_0x5d6015['createRange'](_0x2e2893,_0x306336),_0x33ac6e=_0x5bcef3['get'](_0xca7b27),_0x14cdf6=new r({'author':_0x33ac6e,'type':'isAdded'==_0x4f5f92||'isAddSuggestion'==_0x4f5f92?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4f5f92||'isRemoveSuggestion'==_0x4f5f92},'createdAt':new Date(),'rootName':_0x3cb18b});_0x424d99['push'](_0x14cdf6),_0x231765['markers']['set']('revision:'+_0x14cdf6['id'],_0x5a78b8);}function _0x512dc7(_0x3a6fd1,_0x209dfd){const _0x3dd99a=_0x3a6fd1['getAttributes'](),_0xd99ce=_0x209dfd['getAttributes']();for(const _0xe038d1 of _0x3dd99a){if(_0xe038d1[0x1]!==_0x209dfd['getAttribute'](_0xe038d1[0x0]))return!0x1;_0xd99ce['next']();}return _0xd99ce['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x163906=>{const _0x5d3924=_0x163906['markerName']['split'](':')[0x1],_0x24a0d9=this['_getChangeFromId'](_0x5d3924);if(!_0x24a0d9)return null;const _0xe57de4='add'==_0x24a0d9['type']?'insertion':'deletion',_0x292ca2=['ck-suggestion-marker','ck-suggestion-marker-'+_0xe57de4];return _0x24a0d9['data']['isSuggestion']&&_0x292ca2['push']('ck-suggestion-marker-'+_0xe57de4+'-new'),this['activeChange']==_0x24a0d9&&_0x292ca2['push']('ck-suggestion-marker--active'),{'classes':_0x292ca2,'attributes':{'data-change-id':_0x5d3924}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x327cc7=>{_0x327cc7['on']('element:pre',(_0x39648f,_0x2ef9f4,_0x1e13ca)=>{const _0x1cd1a8=_0x2ef9f4['viewItem']['getChild'](0x0);if(!_0x1cd1a8||!_0x1cd1a8['is']('element','code'))return;if(!_0x1e13ca['consumable']['consume'](_0x1cd1a8,{'attributes':['vid_start','vid_end']}))return;const _0x157696=_0x2ef9f4['modelRange']['start']['nodeAfter'];_0x1e13ca['writer']['setAttribute']('vid_start',_0x1cd1a8['getAttribute']('vid_start'),_0x157696),_0x1e13ca['writer']['setAttribute']('vid_end',_0x1cd1a8['getAttribute']('vid_end'),_0x157696);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3fdc02=>{_0x3fdc02['on']('element',(_0x3ed904,_0x212969,_0x3ae940)=>{if(!_0x3ae940['consumable']['consume'](_0x212969['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x212969['modelRange']['isCollapsed'])return;const _0x5711a3=_0x212969['modelRange']['start']['nodeAfter'];_0x5711a3['hasAttribute']('vid_start')||_0x5711a3['hasAttribute']('vid')||(_0x3ae940['writer']['setAttribute']('vid_start',_0x212969['viewItem']['getAttribute']('vid_start'),_0x5711a3),_0x3ae940['writer']['setAttribute']('vid_end',_0x212969['viewItem']['getAttribute']('vid_end'),_0x5711a3));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x219637=>_0x219637['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x49fb69,[,_0x4b9cc])=>{['vid_start','vid_end','vid']['includes'](_0x4b9cc)&&(_0x49fb69['return']=!0x0,_0x49fb69['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x33b753=>{_0x33b753['on']('attribute:vid',(_0x5eed82,_0x3dbbd9,_0x3acd9a)=>{if('\x20'!=_0x3dbbd9['item']['data']||_0x3dbbd9['item']['parent']['maxOffset']>0x1)return;if(!_0x3acd9a['consumable']['consume'](_0x3dbbd9['item'],_0x5eed82['name']))return;const _0x1e973c=_0x3acd9a['writer'],_0xc4d557=_0x3acd9a['mapper']['toViewRange'](_0x3dbbd9['range']);_0x1e973c['wrap'](_0xc4d557,_0x1e973c['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x314ec7){const _0xf55776=_0x314ec7['plugins']['get']('RevisionViewer');return(_0xd5e5e5,_0x4f2cb7,_0x521662)=>{const _0x158e6e=_0x4f2cb7['markerName']['split'](':')[0x1],_0x3c7efc=_0xf55776['_getChangeFromId'](_0x158e6e);if(!_0x3c7efc)return null;const _0x459bdc='add'==_0x3c7efc['type']?'split':'merge';if(!_0x521662['consumable']['test'](_0x4f2cb7['markerRange'],_0xd5e5e5['name']))return;const _0x365c5f=_0x4f2cb7['markerRange']['getWalker'](),_0x2630b5=_0x4f2cb7['markerRange']['start'],_0x3c3a17=_0x314ec7['model']['schema'];let _0x44c3b3=null,_0x59b2d9=null,_0x5e5442=!0x1,_0x1af196=!0x1;for(const _0x4c29af of _0x365c5f){const _0x22ee0e=_0x4c29af['item'];_0x5e5442=_0x5e5442||_0x3c3a17['isContent'](_0x22ee0e);const _0x2bc912=_0x521662['mapper']['toViewElement'](_0x22ee0e);if(_0x2bc912&&_0x2bc912['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4c29af['type']&&(_0x3c3a17['isBlock'](_0x22ee0e)&&!_0x3c3a17['isLimit'](_0x22ee0e)&&(_0x22ee0e['nextSibling']||_0x2630b5['isAtEnd']?_0x44c3b3&&_0x44c3b3['parent']==_0x22ee0e||(_0x44c3b3=_0x22ee0e,_0x155f55(_0x4c29af['previousPosition']),_0x1af196=!0x0):_0x59b2d9=_0x59b2d9||_0x4c29af['previousPosition']));}function _0x155f55(_0xa985ad){const _0x547d5a=_0x521662['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x459bdc}),_0x5d6d8c=_0x521662['mapper']['toViewPosition'](_0xa985ad);_0x3c7efc['data']['isSuggestion']&&_0x521662['writer']['addClass']('ck-suggestion-marker-'+_0x459bdc+'-new',_0x547d5a),_0xf55776['activeChange']==_0x3c7efc&&_0x521662['writer']['addClass']('ck-suggestion-marker--active',_0x547d5a),_0x521662['writer']['insert'](_0x5d6d8c,_0x547d5a),_0x521662['mapper']['bindElementToMarker'](_0x547d5a,_0x4f2cb7['markerName']);}_0x5e5442||_0x1af196||!_0x59b2d9||_0x155f55(_0x59b2d9);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x11b801,_0x5de5ef,_0x327b16)=>{const _0x2b134f=_0x327b16['mapper']['markerNameToElements'](_0x5de5ef['markerName']);if(_0x2b134f){for(const _0xa74cef of _0x2b134f)(_0xa74cef['hasClass']('ck-suggestion-marker-split')||_0xa74cef['hasClass']('ck-suggestion-marker-merge'))&&(_0x327b16['mapper']['unbindElementFromMarkerName'](_0xa74cef,_0x5de5ef['markerName']),_0x327b16['writer']['remove'](_0xa74cef));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x56ce4d,_0xf6b3d3,_0x49f1ba)=>{const _0xec0049=_0xf6b3d3['markerName']['split'](':')[0x1],_0x47c359=this['_getChangeFromId'](_0xec0049);if(!_0x47c359)return null;const _0x1db4ee='add'==_0x47c359['type']?'split':'merge';if(_0x49f1ba['consumable']['test'](_0xf6b3d3['markerRange'],_0x56ce4d['name']))for(const _0x3a11e6 of _0xf6b3d3['markerRange']['getItems']()){if(!_0x3a11e6['is']('element','softBreak'))continue;const _0x177d8c=_0x49f1ba['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1db4ee}),_0x1db499=_0x49f1ba['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3a11e6));_0x47c359['data']['isSuggestion']&&_0x49f1ba['writer']['addClass']('ck-suggestion-marker-'+_0x1db4ee+'-new',_0x177d8c),this['activeChange']==_0x47c359&&_0x49f1ba['writer']['addClass']('ck-suggestion-marker--active',_0x177d8c),_0x49f1ba['writer']['insert'](_0x1db499,_0x177d8c),_0x49f1ba['mapper']['bindElementToMarker'](_0x177d8c,_0xf6b3d3['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x3b7158=>{for(const _0x4ab9ff of this['editor']['model']['document']['getRootNames']()){const _0x359928=this['editor']['model']['document']['getRoot'](_0x4ab9ff),_0x1b14ba=this['editor']['editing']['view']['document']['getRoot'](_0x4ab9ff);if(_0x1b14ba){const _0x491122=_0x359928['getAttribute']('revisionHistoryAttachChange');if(_0x3b7158['removeAttribute']('data-change-id',_0x1b14ba),_0x3b7158['removeClass']('ck-revision-history-root-add',_0x1b14ba),_0x3b7158['removeClass']('ck-revision-history-root-remove',_0x1b14ba),_0x3b7158['removeClass']('ck-revision-history-root--active',_0x1b14ba),_0x491122){const _0x512bf2=this['_getChangeFromId'](_0x491122);if(!_0x512bf2)return null;_0x3b7158['setAttribute']('data-change-id',_0x491122,_0x1b14ba),_0x3b7158['addClass']('ck-revision-history-root-'+_0x512bf2['type'],_0x1b14ba),this['activeChange']==_0x512bf2&&_0x3b7158['addClass']('ck-revision-history-root--active',_0x1b14ba);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x10fdc0=>'revision-comment:'+_0x10fdc0,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x12e999=>'revision-suggestion:'+_0x12e999,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x450e4d=>({'name':'suggestion:'+_0x450e4d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2818f7=>{const _0x1fe6eb=_0x2818f7['markerName']['split'](':')[0x1];return'insertion'!=_0x1fe6eb&&'deletion'!=_0x1fe6eb?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1fe6eb]};}}),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',(_0x5a8c9a,_0x2c9c64,_0x2ac831)=>{const _0x4f1426=_0x2ac831['mapper']['markerNameToElements'](_0x2c9c64['markerName']);if(_0x4f1426){for(const _0x2cf815 of _0x4f1426)_0x2cf815['is']('uiElement')&&(_0x2ac831['mapper']['unbindElementFromMarkerName'](_0x2cf815,_0x2c9c64['markerName']),_0x2ac831['writer']['remove'](_0x2cf815));}},{'priority':'high'});}['_getChangeFromId'](_0x3f72bb){return this['_changeIdToChange']['get'](_0x3f72bb);}['_getViewForChange'](_0x48c51b){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x48c51b),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x97d275,_0x2db55d,_0x2c5a67,_0x48cf84)=>{_0x48cf84&&this['_balloon']['remove'](_0x48cf84),_0x2c5a67&&(this['_balloon']['add']({'view':_0x2c5a67,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1db5fb=this['editor']['editing'],_0x2fb140=this['_getChangeFromId'](_0x2c5a67['changeId']);let _0x18e1fd;if(_0x2fb140['data']['isOnRoot']){const _0x47fec7=_0x1db5fb['view']['getDomRoot'](_0x2fb140['rootName']);_0x18e1fd=Array['from'](_0x47fec7['getClientRects']());}else{const _0x21e5ee=this['editor']['model']['markers']['get']('revision:'+_0x2c5a67['changeId']);_0x18e1fd=Array['from'](_0x1db5fb['mapper']['markerNameToElements'](_0x21e5ee['name']))['map'](_0x2017e6=>_0x1db5fb['view']['domConverter']['mapViewToDom'](_0x2017e6))['map'](_0x111002=>Array['from'](_0x111002['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x18e1fd[0x0];return _0x18e1fd['find'](_0x27cc80=>_0x27cc80['top']-0x3<=this['_activeViewTarget']['y']&&_0x27cc80['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x27cc80['left']-0x3<=this['_activeViewTarget']['x']&&_0x27cc80['right']+0x3>=this['_activeViewTarget']['x'])||_0x18e1fd[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3adb7c,_0x1ea878,_0x7ebdb0,_0x2f417c)=>{this['activeView']=_0x7ebdb0?this['_getViewForChange'](_0x7ebdb0):null,this['editor']['model']['change'](()=>{const _0x23b108=this['editor']['editing'];_0x2f417c&&(_0x2f417c['data']['isOnRoot']?_0x23b108['view']['change'](_0x1d5388=>{_0x1d5388['removeClass']('ck-revision-history-root--active',_0x23b108['view']['document']['getRoot'](_0x2f417c['rootName']));}):_0x23b108['reconvertMarker']('revision:'+_0x2f417c['id'])),_0x7ebdb0&&(_0x7ebdb0['data']['isOnRoot']?_0x23b108['view']['change'](_0x1d1a96=>{_0x1d1a96['addClass']('ck-revision-history-root--active',_0x23b108['view']['document']['getRoot'](_0x7ebdb0['rootName']));}):_0x23b108['reconvertMarker']('revision:'+_0x7ebdb0['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x535caf,_0x1af3f7)=>{if(this['activeChange'])return;const _0x21955e=this['_findChangeIdFromDomTarget'](_0x1af3f7['target']),_0x59fe75=this['_changeIdToChange']['get'](_0x21955e);_0x59fe75?(this['_activeViewTarget']={'x':_0x1af3f7['domEvent']['x'],'y':_0x1af3f7['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x59fe75)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5b2279,_0x11d923)=>{const _0x2c05b7=this['_findChangeIdFromDomTarget'](_0x11d923['target']),_0x34ac35=this['_changeIdToChange']['get'](_0x2c05b7);_0x34ac35?(this['_activeViewTarget']={'x':_0x11d923['domEvent']['x'],'y':_0x11d923['domEvent']['y']},_0x34ac35===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x34ac35):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5de38a){do{const _0x3a16ca=_0x5de38a['getAttribute']('data-change-id');if(_0x3a16ca)return _0x3a16ca;_0x5de38a=_0x5de38a['parent'];}while(_0x5de38a);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0xedfe0e=>{for(const _0x41f0ba of this['editor']['model']['markers'])_0xedfe0e['removeMarker'](_0x41f0ba);});}}function et(_0x37b1f3,_0x33c25c){return(_0x4b64b6,_0x34964f,_0x3e43bb)=>{if(!_0x3e43bb['consumable']['test'](_0x34964f['markerRange'],_0x4b64b6['name']))return;const _0x3aa667=_0x34964f['markerRange']['getWalker'](),_0x3d790d=_0x34964f['markerRange']['start'],_0x5329f0=_0x37b1f3['model']['schema'];let _0xfbb172=null,_0x1510a4=null,_0x101d47=!0x1,_0x529700=!0x1;for(const _0x1bb9b5 of _0x3aa667){const _0x55dc0d=_0x1bb9b5['item'];_0x101d47=_0x101d47||_0x5329f0['isContent'](_0x55dc0d);const _0x114db4=_0x3e43bb['mapper']['toViewElement'](_0x55dc0d);if(_0x114db4&&_0x114db4['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1bb9b5['type']&&(_0x5329f0['isBlock'](_0x55dc0d)&&!_0x5329f0['isLimit'](_0x55dc0d)&&(_0x55dc0d['nextSibling']||_0x3d790d['isAtEnd']?_0xfbb172&&_0xfbb172['parent']==_0x55dc0d||(_0xfbb172=_0x55dc0d,_0x10231e(_0x1bb9b5['previousPosition']),_0x529700=!0x0):_0x1510a4=_0x1510a4||_0x1bb9b5['previousPosition']));}function _0x10231e(_0x2d526c){const _0x111210=_0x3e43bb['mapper']['toViewPosition'](_0x2d526c),_0x33d3d7=_0x3e43bb['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x33c25c});_0x3e43bb['writer']['insert'](_0x111210,_0x33d3d7),_0x3e43bb['mapper']['bindElementToMarker'](_0x33d3d7,_0x34964f['markerName']);}_0x101d47||_0x529700||!_0x1510a4||_0x10231e(_0x1510a4);};}class bt extends _0xfaab01{constructor(_0x2a9072){super(_0x2a9072);const _0x311013=_0x2a9072['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x311013,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x311013,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x58dbff=this['editor'],_0x3ff7ba=_0x58dbff['plugins']['get'](d),_0x26ea17=_0x3ff7ba['isReady']?_0x3ff7ba['diff']['newRevisionId']:null;_0x58dbff['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x26ea17);}['refresh'](){const {isReady:_0x567913,isEnabled:_0x298227}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x567913&&_0x298227;}}class yt extends _0xfaab01{['_step'];constructor(_0x575c13,{direction:_0x380193}){super(_0x575c13);const _0x49f144=_0x575c13['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x380193?0x1:-0x1,this['listenTo'](_0x49f144,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x49f144,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x49f144,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x362652=this['editor'],_0x50f5b9=_0x362652['plugins']['get'](d),{isNavigationMode:_0x3150d7,currentChangeNumber:_0x5dd427}=_0x50f5b9;let _0x3645aa;if(_0x50f5b9['activeChange']=_0x3150d7?_0x50f5b9['diff']['changes']['get'](_0x5dd427+this['_step']):_0x50f5b9['diff']['changes']['first'],_0x50f5b9['activeChange']['data']['isOnRoot'])_0x3645aa=_0x362652['editing']['view']['getDomRoot'](_0x50f5b9['activeChange']['rootName']);else{const _0x13b1ac=_0x362652['model']['markers']['get']('revision:'+_0x50f5b9['activeChange']['id']);_0x3645aa=_0x5b151f(_0x362652['editing'],_0x13b1ac);}_0x27ebee({'target':_0x3645aa,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x271d1c,currentChangeNumber:_0x1cfb33,numberOfChanges:_0x45241b,isReady:_0x2de299,isEnabled:_0x4ffd7b}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4ffd7b&&_0x2de299&&_0x45241b)&&(!_0x271d1c||(0x1===this['_step']?_0x1cfb33<_0x45241b-0x1:_0x1cfb33>0x0));}}class _i extends _0xead4de{constructor(_0x43b348){super(_0x43b348);const _0x3e4292=this['bindTemplate'],_0x14ac3f=new _0x2951af(_0x43b348),_0x49f0df=new _0x2951af(_0x43b348);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',(_0x3b6778,_0x36bf98)=>_0x3b6778&&_0x36bf98>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3360b5,_0x10f2bc,_0x452fc0,_0xdb3225)=>{if(!_0x3360b5)return y(_0x43b348,'Loading...');if(!_0x452fc0)return y(_0x43b348,'No\x20changes');const _0x125173=y(_0x43b348,'NUMBER_OF_CHANGES',_0x452fc0);return _0xdb3225?y(_0x43b348,'X_OF_Y_CHANGES',[_0x10f2bc+0x1,_0x452fc0]):_0x125173;}),_0x14ac3f['set']({'label':y(_0x43b348,'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'}),_0x49f0df['set']({'label':y(_0x43b348,'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'}),_0x14ac3f['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x49f0df['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x14ac3f['on']('execute',()=>this['fire']('execute','backward')),_0x49f0df['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',_0x3e4292['if']('_isStatusLabelVisible','ck-hidden',_0x15ebda=>!_0x15ebda)]},'children':[{'text':_0x3e4292['to']('isNavigationMode',_0x430fca=>_0x430fca?y(_0x43b348,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x43b348,'Total')+':\x20')}]},{'text':_0x3e4292['to']('_statusText')}]},new _0x49a2d8(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x14ac3f,_0x49f0df]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x162d59{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x297249=this['editor']['editing']['view'];_0x297249['change'](_0x2da318=>{for(const _0x1d3078 of _0x297249['document']['roots'])_0x2da318['addClass'](ce,_0x1d3078);});}['hide'](){const _0xafd936=this['editor']['editing']['view'];_0xafd936['change'](_0x962227=>{for(const _0x4817e3 of _0xafd936['document']['roots'])_0x962227['removeClass'](ce,_0x4817e3);});}}class R extends _0x162d59{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2116ae=this['editor'],_0x3f452a=_0x2116ae['plugins']['get'](d),_0x753382=_0x2116ae['plugins']['get'](de);_0x2116ae['ui']['componentFactory']['add']('exitToEditing',_0x474f72=>{const _0x118281=new _0x2951af(_0x474f72);return _0x118281['set']({'label':y(_0x474f72,'Back\x20to\x20editing'),'icon':_0x29b1c2['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x118281,'execute',()=>{_0x2116ae['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x118281;}),_0x2116ae['ui']['componentFactory']['add']('restoreRevision',_0x227ff6=>{const _0x49b9ce=new _0x2951af(_0x227ff6);return _0x49b9ce['set']({'label':y(_0x227ff6,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x49b9ce['bind']('isEnabled')['to'](_0x2116ae['commands']['get']('restoreRevision')),this['listenTo'](_0x49b9ce,'execute',()=>_0x2116ae['execute']('restoreRevision')),_0x49b9ce;}),_0x2116ae['ui']['componentFactory']['add']('changesNavigation',_0x24f38d=>{const _0x5a8ad7=new _i(_0x24f38d),_0x13426e=_0x2116ae['commands']['get']('showPreviousChange'),_0x4a6bee=_0x2116ae['commands']['get']('showNextChange');return _0x5a8ad7['bind']('isBackwardNavigationEnabled')['to'](_0x13426e,'isEnabled'),_0x5a8ad7['bind']('isForwardNavigationEnabled')['to'](_0x4a6bee,'isEnabled'),_0x5a8ad7['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x3f452a),this['listenTo'](_0x5a8ad7,'execute',(_0x48a98b,_0x27c3e6)=>{_0x2116ae['execute']('forward'===_0x27c3e6?'showNextChange':'showPreviousChange');}),_0x5a8ad7;}),_0x753382['show'](),_0x3f452a['on']('change:isReady',(_0x37ed61,_0x3e8ebd,_0x56f949)=>{_0x56f949?_0x753382['hide']():_0x753382['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5f51ee,_0x1cd645){super(_0x5f51ee,_0x1cd645);const _0x570dea=this['bindTemplate'];this['set']({'label':y(_0x5f51ee,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5f51ee,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x570dea['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 _0x55f8a5=this['fieldView']['element'];this['_tooltipString']=_0x55f8a5['scrollWidth']>_0x55f8a5['clientWidth']&&_0x55f8a5['value']||'';}}class ti extends _0xead4de{constructor(_0x3eb879,_0x1170c9,_0x59e0ab){super(_0x3eb879);const _0x50cee3=new _0x3ffe5b();_0x50cee3['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 _0x5ecc1d=['ck','ck-revision-history-sidebar__revision-author'];_0x59e0ab&&_0x5ecc1d['push']('ck-revision-history-sidebar__revision-author_creator');const _0x185e2d=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3eb879,_0x59e0ab?'Revision\x20creator':'Revision\x20author')},'children':[_0x50cee3,_0x1170c9['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5ecc1d},'children':_0x185e2d});}}function ni(_0x3f0746,_0x56ad2c){const _0x14691c=_0x3f0746['bindTemplate'],_0x59807a=_0x3f0746['locale'],_0x2919df=_0x401773(_0x59807a);_0x2919df['panelPosition']='sw';const _0x19ff0d=function(_0x3705c1,_0x318040){const _0x2ef9ea=function(_0x1687ec,_0x45365a){const _0x4789a6=_0x1687ec['locale'],_0x1d2fe5={'Compare\x20against\x20selected':y(_0x4789a6,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x4789a6,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x4789a6,'Restore\x20this\x20revision')};return _0x45365a['map'](_0x43de87=>{const _0x51c903=_0x1d2fe5[_0x43de87['name']];return _0x51c903&&_0x51c903!==_0x43de87['name']&&(_0x43de87['name']=_0x51c903),_0x43de87;});}(_0x3705c1,_0x318040),_0x91a040=new _0x4ac82c();for(const _0x44ee22 of _0x2ef9ea){const _0x29b7e4={'type':'button','model':new to({'label':_0x44ee22['name'],'class':_0x44ee22['class'],'withText':!0x0,'role':'menuitem','_action':_0x44ee22['action']})};_0x29b7e4['model']['bind']('isEnabled')['to'](_0x3705c1,'isActionsDropdownOpen',_0x5760f7=>'function'!=typeof _0x44ee22['isEnabled']||(!_0x5760f7||_0x44ee22['isEnabled'](_0x3705c1))),_0x91a040['add'](_0x29b7e4);}return _0x91a040;}(_0x3f0746,_0x56ad2c);return _0x3f0746['bind']('isActionsDropdownOpen')['to'](_0x2919df,'isOpen'),_0x2919df['buttonView']['set']({'label':y(_0x59807a,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x29b1c2['threeVerticalDots']}),_0x2919df['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x14691c['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x14691c['to'](_0x5400e0=>_0x5400e0['stopPropagation']())}}),_0x2919df['on']('execute',_0x30bfe2=>{_0x3f0746['isReady']&&'function'==typeof _0x30bfe2['source']['_action']&&_0x30bfe2['source']['_action'](_0x3f0746);}),_0x5b0669(_0x2919df,_0x19ff0d,{'role':'menu'}),_0x2919df['listenTo'](_0x3f0746,'change:isActionsDropdownOpen',(_0x247ba2,_0x3c3e3a,_0x28fa5b)=>{if(_0x28fa5b)for(const _0x2d8f6d of _0x2919df['listView']['items']){const _0x130f13=_0x2d8f6d['children']['first'],_0x19998c=_0x56ad2c['find'](_0x4b18b5=>_0x4b18b5['action']===_0x130f13['_action'])['isVisible'];_0x2d8f6d['isVisible']=void 0x0===_0x19998c||_0x19998c(_0x3f0746);}}),_0x2919df;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x113742(_0xead4de){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x9781e1,_0x488364,_0xacc432,_0x410b65){super(_0x9781e1);const _0x52f529=this['bindTemplate'],_0x1b873f=function(_0x4a3683,_0x1c3a6e){const _0x5460e4=Array['from'](_0x1c3a6e['authors'])['filter'](_0x2de4a4=>_0x2de4a4!=_0x1c3a6e['creator']);return _0x1c3a6e['creator']&&_0x5460e4['unshift'](_0x1c3a6e['creator']),_0x5460e4['map'](_0x5c3da7=>new ti(_0x4a3683,_0x5c3da7,_0x5c3da7==_0x1c3a6e['creator']));}(_0x9781e1,_0x488364);this['id']=_0x488364['id'],this['_revision']=_0x488364,this['_requireRevisionName']=_0x410b65,this['bind']('name','createdAt')['to'](_0x488364),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1087ac=>{return _0x1eb9ed=_0x9781e1['uiLanguage'],(_0x169d7d=_0x1087ac)['toLocaleDateString'](_0x1eb9ed,{'month':'long','day':'numeric'})+',\x20'+_0x169d7d['toLocaleTimeString'](_0x1eb9ed,{'hour':'numeric','minute':'numeric'});var _0x1eb9ed,_0x169d7d;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x9781e1,_0x468462),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x43a833=>_0x43a833||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x331581,_0x29e276)=>_0x331581&&_0x29e276),this['revisionActionsView']=_0xacc432&&_0xacc432['length']?ni(this,_0xacc432):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x52f529['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x52f529['if']('isEnabled','ck-disabled',_0x471729=>!_0x471729),_0x52f529['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x52f529['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x52f529['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':_0x52f529['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':_0x1b873f}]},this['revisionActionsView']],'on':{'click':_0x52f529['to'](_0x11032f=>{_0x11032f['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0xd0730a=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0xd0730a,'change',()=>{this['_requireRevisionName']&&!_0xd0730a['value']||this['fire']('setName',{'id':this['id'],'name':_0xd0730a['value']}),_0xd0730a['value']||(_0xd0730a['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(_0x5dbb3e,_0x3ee28d){const _0x55ea23=_0x2a856a['fromJSDate'](_0x5dbb3e)['setLocale'](_0x3ee28d),_0x2dd037=_0x2a856a['local'](),_0xa64ce1=_0x2dd037['minus']({'days':0x1})['startOf']('day');let _0x70d4f,_0x2a1c23;return _0x55ea23['hasSame'](_0x2dd037,'day')?(_0x70d4f=_0x55ea23['startOf']('day')['toJSDate'](),_0x2a1c23=_0x55ea23['toRelativeCalendar']()):_0x55ea23['hasSame'](_0xa64ce1,'day')?(_0x70d4f=_0xa64ce1['toJSDate'](),_0x2a1c23=_0x55ea23['toRelativeCalendar']()):_0x55ea23['hasSame'](_0x2dd037,'week')?(_0x70d4f=_0x55ea23['startOf']('week')['toJSDate'](),_0x2a1c23=_0x55ea23['weekdayLong']||''):_0x55ea23['hasSame'](_0x2dd037,'year')?(_0x70d4f=_0x55ea23['startOf']('month')['toJSDate'](),_0x2a1c23=_0x55ea23['monthLong']||''):(_0x70d4f=_0x55ea23['startOf']('year')['toJSDate'](),_0x2a1c23=String(_0x55ea23['year'])),{'startDate':_0x70d4f,'localizedPeriodName':_0x2a1c23};}class mi extends _0xead4de{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x23912e,_0x589f12,_0x1bcd0f,_0x502778){super(_0x23912e);const _0x49adb6=di(_0x589f12,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x589f12,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x1bcd0f,this['_requireRevisionName']=_0x502778,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':_0x49adb6}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x5d1136){const _0x45199d=new ai(this['locale'],_0x5d1136,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x45199d);}['removeRevision'](_0x1db40e){const _0x28c074=this['revisionViews']['find'](_0x19dc9d=>_0x19dc9d['id']===_0x1db40e['id']);this['revisionViews']['remove'](_0x28c074);}}class as extends _0xead4de{constructor(_0x13ea2e){super(_0x13ea2e);const _0x444a60=new _0x3ffe5b();_0x444a60['content']=_0x29b1c2['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x444a60,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x13ea2e,'Revision\x20history')]}]});}}class ci extends _0xead4de{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x5e6afb,_0x2361c5,_0x10acb9,_0x5ec660){super(_0x5e6afb);const _0x475ba7=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2361c5,this['_revisionActions']=_0x10acb9,this['_requireRevisionName']=_0x5ec660,this['on']('select',(_0x5439c1,_0x17caef)=>{this['fire']('revisionSelected',_0x17caef);}),this['on']('setName',(_0x1e6cea,_0x5e54b2)=>{this['fire']('revisionSetName',_0x5e54b2);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x5e6afb),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x475ba7['if']('isEnabled','ck-disabled',_0xc1d3cd=>!_0xc1d3cd)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0xeeb4c of this['_revisions'])this['_addRevision'](_0xeeb4c);this['_revisions']['on']('add',(_0x129cad,_0x2c227d)=>{this['_addRevision'](_0x2c227d);}),this['_revisions']['on']('remove',(_0x51cc1d,_0x55468a)=>{this['_removeRevision'](_0x55468a);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x40d92a=>_0x40d92a['revisionViews']['map'](_0x343b05=>_0x343b05))['flat']();}['selectRevision'](_0x59c882){for(const _0x17e3f6 of this['revisionViews'])_0x59c882&&_0x59c882['id']===_0x17e3f6['id']?_0x17e3f6['select']():_0x17e3f6['deselect']();}['highlightRevisions'](_0x50e873){for(const _0x38d2a4 of this['revisionViews'])_0x50e873['some'](({id:_0x26bfbe})=>_0x26bfbe===_0x38d2a4['id'])?_0x38d2a4['highlight']():_0x38d2a4['unhighlight']();}['_addRevision'](_0xffe755){const _0x1efd1b=di(_0xffe755['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3baab2=this['timePeriodViews']['get'](0x0);_0x3baab2&&_0x3baab2['startDate']['getTime']()===_0x1efd1b['getTime']()||(_0x3baab2=new mi(this['locale'],_0x1efd1b,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3baab2)),_0x3baab2['addRevision'](_0xffe755);}['_removeRevision'](_0x5380fd){const _0x58eec0=di(_0x5380fd['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x58eec0)['removeRevision'](_0x5380fd);}['_getTimePeriodViewByStartDate'](_0x75c4af){return this['timePeriodViews']['find'](_0x77d57e=>_0x77d57e['startDate']['getTime']()===_0x75c4af['getTime']());}}class w extends _0x162d59{['_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(_0x246923){super(_0x246923),this['_revisionViewer']=_0x246923['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x9c49e9=this['_revisionsRepository']['_revisions'],_0x189e59=this['_createRevisionActions'](),_0x3af4d4=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x9c49e9,_0x189e59,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',(_0x4ba3bd,_0x377c54)=>{_0x377c54['revisionViews']['on']('add',(_0x18f1bc,_0x17b24f)=>{_0x17b24f['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)),_0x3af4d4['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x20491b=this['_revisionsRepository']['getRevision'](0x0);if(_0x20491b){const _0xf0d629=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x20491b['id']);this['_revisionViewer']['compare'](_0x20491b,_0xf0d629);}}['_handleRevisionSelected'](_0x2b8eef,_0x107fbd){const _0x2373a0=this['_revisionsRepository']['getRevision'](_0x107fbd['id']),_0x1eb710=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2373a0['id']);this['_revisionViewer']['compare'](_0x2373a0,_0x1eb710);}['_handleRevisionSetName'](_0x364bd9,_0x3d7f91){this['_revisionsRepository']['getRevision'](_0x3d7f91['id'])['setName'](_0x3d7f91['name']);}['_handleDiffChange'](_0x38fdfe,_0x4dfc73,_0x58f129){const _0x485d86=this['_revisionsRepository']['getRevisionsInDiff'](_0x58f129);_0x485d86['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x485d86),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x485d86[0x0]));}['_createRevisionActions'](){const _0x34df77=this['editor'],_0x59d0c5=w['availableRevisionActions'],_0x446188=_0x34df77['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x446188['length'])return _0x446188['map'](_0x304353=>{const _0x448bfe='string'==typeof _0x304353?Object['assign']({},_0x59d0c5[_0x304353]):_0x304353;return _0x448bfe['action']=_0x448bfe['action']['bind'](this,_0x34df77),_0x448bfe['isVisible']&&(_0x448bfe['isVisible']=_0x448bfe['isVisible']['bind'](this,_0x34df77)),_0x448bfe;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x91bde0},_0x27785e)=>{const _0x5e8fdb=_0x91bde0['get'](d),_0x38d618=_0x5e8fdb['repository'];let _0x176072=_0x5e8fdb['diff']['newRevisionId'],_0x3632e6=_0x27785e['id'];_0x38d618['getIndex'](_0x176072)>_0x38d618['getIndex'](_0x3632e6)&&([_0x176072,_0x3632e6]=[_0x3632e6,_0x176072]),_0x5e8fdb['compare'](_0x176072,_0x3632e6);},'isVisible':({plugins:_0x1792be},_0x1fde28)=>{const _0x1f7f65=_0x1792be['get'](d);return!(_0x1f7f65['repository']['getRevisionsInDiff'](_0x1f7f65['diff'])['length']>0x2)&&!_0x1fde28['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2769f2,{id:_0x376f42})=>{_0x2769f2['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x376f42);},'isVisible':({plugins:_0x10c9b0},_0x4f49e9)=>!!_0x10c9b0['get'](d)['repository']['getLaterVisibleRevision'](_0x4f49e9['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3072a2},{id:_0x3add2b,revisionNameView:_0xcec7d5})=>{const _0x42d3aa=_0x3072a2['get'](d),_0x332cf8=_0x42d3aa['repository']['getEarlierVisibleRevision'](_0x3add2b);_0x42d3aa['compare'](_0x3add2b,_0x332cf8),_0xcec7d5['focus'](),_0xcec7d5['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x490c6a,_0x3d971a){super(_0x490c6a),this['_view']=_0x3d971a,this['_toolbarConfig']=ct(_0x490c6a['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x3fac16){const _0x4555ba=this['editor'],_0x3af807=this['view'],_0x873d83=_0x4555ba['editing']['view'],_0x510dc9=_0x3af807['editable'],_0x5d4bad=_0x873d83['document']['getRoot']();_0x510dc9['name']=_0x5d4bad['rootName'],_0x3af807['render']();const _0xa54dfb=_0x510dc9['element'];this['setEditableElement'](_0x510dc9['name'],_0xa54dfb),_0x3af807['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x873d83['attachDomRoot'](_0xa54dfb),this['_elementReplacer']['replace'](_0x3fac16,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x44e64a=this['view'],_0xb7e70f=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0xb7e70f['detachDomRoot'](_0x44e64a['editable']['name']),_0x44e64a['destroy']();}['_initToolbar'](){const _0x577b42=this['view'];_0x577b42['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x577b42['stickyPanel']['limiterElement']=_0x577b42['element'],_0x577b42['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x458218})=>_0x458218),_0x577b42['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x577b42['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x5b2464,_0x15679b,_0x5f45b1={}){super(_0x5b2464),this['stickyPanel']=new lt(_0x5b2464),this['toolbar']=new pt(_0x5b2464,{'shouldGroupWhenFull':_0x5f45b1['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x5b2464,_0x15679b);}['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(_0x1cdfda,_0xf8324){super(_0xf8324),this['sourceElement']=_0x1cdfda,this['model']['document']['createRoot']();const _0x2f9f05=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x2f9f05);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x10dca6,_0x2dff50){const _0x49f65a=new this(_0x10dca6,_0x2dff50);return await _0x49f65a['initPlugins'](),await _0x49f65a['ui']['init'](_0x10dca6),await _0x49f65a['data']['init'](_0x49f65a['config']['get']('initialData')||''),_0x49f65a['fire']('ready'),_0x49f65a;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x162d59{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1bbc41){super(_0x1bbc41),this['result']='end';}}class H extends _0x162d59{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x532f40){if(super(_0x532f40),!this['editor']['config']['get']('revisionHistory'))throw new _0x2f7a5b('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x2ffb0a=>this['_showRevisionViewer']({..._0x2ffb0a,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x59e21f=>this['_closeRevisionViewer'](_0x59e21f)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5056f7=>this['_restoreRevision'](_0x5056f7)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x35c241){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x35c241;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3fb165){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3fb165);}['getRevision'](_0x1ac34a){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1ac34a);}['getRevisions'](_0xda6d1d){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xda6d1d||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5eacc0=this['editor'],_0x27a086=_0x4f8d84(_0x5eacc0,p),_0x5aadf1=_0x5eacc0['plugins']['get']('RevisionTracker'),_0x1fe639=_0x5eacc0['plugins']['get']('Users')['users'];return _0x27a086['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x27a086['lazyRoots'],(_0x27a086['plugins']['push'](k,d,R,class extends _0x162d59{static get['requires'](){return[d,'Users'];}['init'](){const _0x529986=this['editor']['plugins']['get']('Users');for(const _0xf5641f of _0x1fe639)_0xf5641f['isAnonymous']||_0x529986['getUser'](_0xf5641f['id'])||_0x529986['addUser'](_0xf5641f);const _0x19d503=_0x5aadf1['repository']['getRevisions']();let _0x4cfdd0=null;const _0x3bd86a=this['editor']['plugins']['get']('RevisionViewer');_0x3bd86a['adapter']=_0x5aadf1['adapter'],_0x3bd86a['bind']('isEnabled')['to'](_0x5aadf1),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5eacc0,'isReadOnly',_0x26aadf=>!_0x26aadf);for(const _0x48c6e6 of _0x19d503){const _0xc55b9f=null===_0x48c6e6['creator'];if(_0xc55b9f&&_0x48c6e6['toVersion']===_0x48c6e6['fromVersion'])continue;const _0x444cb7=_0x48c6e6['toJSON']();_0x3bd86a['addRevisionData'](_0x444cb7,(_0x3f7dcd,_0x47b5d6,_0x36b598)=>{if(_0xc55b9f){if(_0x4cfdd0)_0x4cfdd0['_update'](_0x3f7dcd,_0x47b5d6);else{if(!_0x47b5d6){const _0x3aa215=_0x36b598['toJSON']();_0x3aa215['id']=_0x47fc8d(),_0x5aadf1['saveRevision'](_0x3aa215,_0x36b598['toVersion'])['then'](_0x143959=>{_0x4cfdd0=_0x143959;});}}}else _0x48c6e6['_update'](_0x3f7dcd,_0x47b5d6);});}}},w),_0x27a086);}['_enhanceShowRevisionViewerCallback'](){const _0x389332=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1512b7=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x128c30=this['editor']['plugins']['get']('Autosave');await _0x128c30['save']();}else await _0x1512b7['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1f0a8b=this['editor']['plugins']['get']('Dialog');_0x1f0a8b['isOpen']&&_0x1f0a8b['hide']();}const _0x552072=this['_getRevisionViewerEditorConfig']();return _0x389332(_0x552072)['then'](_0x5accc4=>{return(this['_viewerEditor']=_0x5accc4,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5accc4;})['catch'](_0x1850b2=>(console['error'](_0x1850b2),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x13498d=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'](),_0x13498d(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4d2ef2=this['editor']['plugins']['get']('Annotations');_0x4d2ef2['refreshVisibility'](),_0x4d2ef2['refreshPositioning']();}})));}['_showRevisionViewer'](_0x5b897c){const _0x4c2a40=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x3a0090=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x41eaca=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x41eaca,_0x5b897c)['then'](_0x3d74d6=>(_0x3a0090['style']['display']='block',_0x4c2a40['style']['display']='none',_0x3d74d6));}['_closeRevisionViewer'](_0xba3d64){const _0x4d3a9f=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4d3a9f['style']['display']='',_0xba3d64['destroy']();}async['_restoreRevision'](_0x3c50c3){const _0x5808f0=this['editor'],_0x221586=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1a4614=_0x5808f0['plugins']['get']('RevisionTracker'),_0x33f1de=_0x221586['repository']['getRevision'](_0x3c50c3);let _0x523087,_0x3b8516,_0x285f66;try{_0x523087=await _0x221586['getRevisionData'](_0x33f1de),_0x3b8516=await _0x221586['getRevisionRootsAttributes'](_0x33f1de);}catch(_0x57b484){return void console['error'](_0x57b484);}_0x5808f0['model']['change'](_0x16fc44=>{for(const _0x9c9c4 of Array['from'](_0x5808f0['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x16fc44['removeMarker'](_0x9c9c4);}),_0x221586['isReady']=!0x1,_0x5808f0['model']['enqueueChange'](_0x5032f0=>{_0x5032f0['setSelection'](null),_0x5032f0['removeSelectionAttribute'](_0x5808f0['model']['document']['selection']['getAttributeKeys']());const _0x12198a=Object['keys'](_0x523087);for(const _0x38cea of _0x5808f0['model']['document']['roots'])'$graveyard'!=_0x38cea['rootName']&&_0x38cea['isAttached']()&&!_0x12198a['includes'](_0x38cea['rootName'])&&_0x5032f0['detachRoot'](_0x38cea);for(const _0x28c1c9 of _0x12198a){let _0x55ee67=_0x5808f0['model']['document']['getRoot'](_0x28c1c9);_0x55ee67&&_0x55ee67['isAttached']()||(_0x55ee67=_0x5032f0['addRoot'](_0x28c1c9));const _0xd6e277=_0x3b8516[_0x28c1c9],_0x5230e0=Object['keys'](_0xd6e277),_0x388e5e=_0x523087[_0x28c1c9];for(const _0x87ca85 of _0x55ee67['getAttributeKeys']())_0x5230e0['includes'](_0x87ca85)||_0x5032f0['removeAttribute'](_0x87ca85,_0x55ee67);for(const _0x5c22a4 of _0x5230e0)_0x5032f0['setAttribute'](_0x5c22a4,_0x3b8516[_0x28c1c9][_0x5c22a4],_0x55ee67);_0x5032f0['remove'](_0x5032f0['createRangeIn'](_0x55ee67)),_0x5032f0['insert'](_0x5808f0['data']['parse'](_0x388e5e,_0x55ee67),_0x55ee67,0x0);}});const _0x25d9c8=y(_0x5808f0['locale'],'Restored');if(_0x33f1de['name'])_0x285f66=-0x1==_0x33f1de['name']['indexOf'](_0x25d9c8)?_0x25d9c8+':\x20'+_0x33f1de['name']:_0x33f1de['name'];else _0x285f66=_0x25d9c8+':\x20'+(_0x33f1de['createdAt']['toLocaleDateString'](_0x5808f0['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x33f1de['createdAt']['toLocaleTimeString'](_0x5808f0['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1a4614['saveRevision']({'name':_0x285f66}),_0x221586['isReady']=!0x0,_0x5808f0['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};