@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240820.0 → 0.0.0-nightly-20240822.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 (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +8 -8
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x25b853,Context as _0x49f6d9,PendingActions as _0x326cda,icons as _0x152ab3,Command as _0x269760,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x57e8b5,uid as _0xf0a907,Collection as _0x17d2c9,logWarning as _0x5230f2,FocusTracker as _0x3a6ef4,KeystrokeHandler as _0x2b4ea5,scrollViewportToShowTarget as _0x20aa76,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0xb5aa03}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x4034d6,getMarkerDomElement as _0x38896f,ConfirmMixin as _0x61304f,sanitizeEditorConfig as _0x1c6921}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x288804,ViewText as _0x464038,ViewElement as _0x2aade1,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x4bb0d0,ViewAttributeElement as _0x1c226f,ViewEmptyElement as _0x102b40,ViewRawElement as _0xbad04d,ViewUIElement as _0x4947d7,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x3aed55,set as _0xff96fe,unset as _0x4b676e,isEqual as _0x298fe0}from'lodash-es';import{View as _0x4ee463,injectCssTransitionDisabler as ts,submitHandler as _0x1948b3,LabeledFieldView as at,createLabeledInputText as _0x27a5db,createDropdown as _0xaa4d18,ListView as te,ListItemView as _0x39934b,ButtonView as _0x302693,MenuBarMenuView as _0x564dbb,MenuBarMenuListView as _0x37cb0e,MenuBarMenuListItemView as _0x37401f,MenuBarMenuListItemButtonView as _0x83d227,ContextualBalloon as _0x5bb53b,ToolbarSeparatorView as _0x51a1d2,IconView as _0x44637d,addListToDropdown as _0x1ab634,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 _0x5a8648}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x57e8b5(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0xe9be5e){super(),this['id']=_0xe9be5e['id']||_0xf0a907(),this['creator']=_0xe9be5e['creator']||null,this['authors']=_0xe9be5e['authors']||[],this['diffData']=_0xe9be5e['diffData']||null,this['toVersion']=_0xe9be5e['toVersion']||0x0,this['fromVersion']=_0xe9be5e['fromVersion']||0x0,this['set']('name',_0xe9be5e['name']||''),this['set']('createdAt',_0xe9be5e['createdAt']||new Date()),this['set']('attributes',_0xe9be5e['attributes']||{});}['setName'](_0x2ac90a){this['_update']({'name':_0x2ac90a});}['setAttribute'](_0x137b30,_0x520a4c){const _0x1902d8=_0x3aed55(this['attributes']);_0xff96fe(_0x1902d8,_0x137b30,_0x520a4c),this['_update']({'attributes':_0x1902d8});}['removeAttribute'](_0x67f4f8){const _0x114572=_0x3aed55(this['attributes']);_0x4b676e(_0x114572,_0x67f4f8),this['_update']({'attributes':_0x114572});}['_update'](_0x317b11,_0xa4028b=!0x1){let _0x146558=!0x1;const _0x56aa6d={'id':this['id']},_0x479a9e=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4d94fe of _0x479a9e){const _0x47487d=_0x317b11[_0x4d94fe];void 0x0!==_0x47487d&&_0x47487d!==this[_0x4d94fe]&&(this[_0x4d94fe]=_0x47487d,_0x56aa6d[_0x4d94fe]=_0x47487d,_0x146558=!0x0);}_0x146558&&(_0x56aa6d['authors']&&(_0x56aa6d['authorsIds']=_0x56aa6d['authors']['map'](_0x136e0b=>_0x136e0b['id']),delete _0x56aa6d['authors']),this['fire']('_update',_0x56aa6d,_0xa4028b));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0xef4a3=>_0xef4a3['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x25b853{['_revisions'];static get['requires'](){return[_0x4034d6];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x56a0ef){super(_0x56a0ef),this['_revisions']=new _0x17d2c9();}['afterInit'](){!function(_0x3b83df){function _0x4e2d79(_0x39173c,_0x464418,_0x36dfec){const _0x2e233a={};_0x2e233a[_0x3cc2c9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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],_0x2e233a[_0x3cc2c9([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 _0x40f01a=new Uint8Array(0x10);for(let _0x33fe4c=0xf;_0x33fe4c>=0x0;--_0x33fe4c)_0x40f01a[_0x33fe4c]=_0x36dfec%0x100,_0x36dfec=parseInt(_0x36dfec/0x100);let _0x1e81cd=null,_0x140a99=0x10;const _0x3860e0=new Uint8Array(_0x464418),_0x48af23=[],_0x2ecd3d=[];_0x9a3f59();for(let _0x232cc4=0x0;_0x232cc4<_0x39173c[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x232cc4++)0x10===_0x140a99&&(_0x1e81cd=_0x16364a(_0x40f01a),_0x140a99=0x0,_0x1ec6f6(_0x40f01a)),_0x39173c[_0x232cc4]^=_0x1e81cd[_0x140a99++];return _0x39173c;function _0x6f248e(_0x4e0a70){const _0xaa5704=[];for(let _0x190640=0x0;_0x190640<_0x4e0a70[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x190640+=0x4)_0xaa5704[_0x3cc2c9([0x70,0x75,0x73,0x68])](_0x4e0a70[_0x190640]<<0x18|_0x4e0a70[_0x190640+0x1]<<0x10|_0x4e0a70[_0x190640+0x2]<<0x8|_0x4e0a70[_0x190640+0x3]);return _0xaa5704;}function _0x1ec6f6(_0x4e384d){for(let _0x11be14=0xf;_0x11be14>=0x0;_0x11be14--){if(0xff!==_0x4e384d[_0x11be14]){_0x4e384d[_0x11be14]++;break;}_0x4e384d[_0x11be14]=0x0;}}function _0x16364a(_0x4d83f9){const _0xabaa19=_0x48af23[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x57440e=[0x0,0x0,0x0,0x0];let t=_0x6f248e(_0x4d83f9);for(let _0x396142=0x0;_0x396142<0x4;_0x396142++)t[_0x396142]^=_0x48af23[0x0][_0x396142];for(let _0xc20e5a=0x1;_0xc20e5a<_0xabaa19;_0xc20e5a++){for(let _0x5a6f89=0x0;_0x5a6f89<0x4;_0x5a6f89++)_0x57440e[_0x5a6f89]=_0x2e233a[_0x3cc2c9([0x54,0x31])][t[_0x5a6f89]>>0x18&0xff]^_0x2e233a[_0x3cc2c9([0x54,0x32])][t[(_0x5a6f89+0x1)%0x4]>>0x10&0xff]^_0x2e233a[_0x3cc2c9([0x54,0x33])][t[(_0x5a6f89+0x2)%0x4]>>0x8&0xff]^_0x2e233a[_0x3cc2c9([0x54,0x34])][0xff&t[(_0x5a6f89+0x3)%0x4]]^_0x48af23[_0xc20e5a][_0x5a6f89];t=_0x57440e[_0x3cc2c9([0x73,0x6c,0x69,0x63,0x65])]();}const _0x515c62=new Uint8Array(0x10);let _0x328fdd;for(let _0x4887fa=0x0;_0x4887fa<0x4;_0x4887fa++)_0x328fdd=_0x48af23[_0xabaa19][_0x4887fa],_0x515c62[0x4*_0x4887fa]=0xff&(_0x2e233a[_0x3cc2c9([0x53])][t[_0x4887fa]>>0x18&0xff]^_0x328fdd>>0x18),_0x515c62[0x4*_0x4887fa+0x1]=0xff&(_0x2e233a[_0x3cc2c9([0x53])][t[(_0x4887fa+0x1)%0x4]>>0x10&0xff]^_0x328fdd>>0x10),_0x515c62[0x4*_0x4887fa+0x2]=0xff&(_0x2e233a[_0x3cc2c9([0x53])][t[(_0x4887fa+0x2)%0x4]>>0x8&0xff]^_0x328fdd>>0x8),_0x515c62[0x4*_0x4887fa+0x3]=0xff&(_0x2e233a[_0x3cc2c9([0x53])][0xff&t[(_0x4887fa+0x3)%0x4]]^_0x328fdd);return _0x515c62;}function _0x9a3f59(){const _0x23bca7=_0x2e233a[_0x3cc2c9([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3860e0[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2f4739=0x0;_0x2f4739<=_0x23bca7;_0x2f4739++)_0x48af23[_0x3cc2c9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2ecd3d[_0x3cc2c9([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1dee0b=0x4*(_0x23bca7+0x1),_0x4efe49=_0x3860e0[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x341bbc=_0x6f248e(_0x3860e0);let _0x9ddb30;for(let _0x3bab06=0x0;_0x3bab06<_0x4efe49;_0x3bab06++)_0x9ddb30=_0x3bab06>>0x2,_0x48af23[_0x9ddb30][_0x3bab06%0x4]=_0x341bbc[_0x3bab06],_0x2ecd3d[_0x23bca7-_0x9ddb30][_0x3bab06%0x4]=_0x341bbc[_0x3bab06];let _0x359022,_0x49866b=0x0,t=_0x4efe49;for(;t<_0x1dee0b;){_0x359022=_0x341bbc[_0x4efe49-0x1],_0x341bbc[0x0]^=_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x10&0xff]<<0x18^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x8&0xff]<<0x10^_0x2e233a[_0x3cc2c9([0x53])][0xff&_0x359022]<<0x8^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x18&0xff]^_0x2e233a[_0x3cc2c9([0x72,0x63,0x6f,0x6e])][_0x49866b]<<0x18,_0x49866b+=0x1;for(let _0x826368=0x1;_0x826368<_0x4efe49/0x2;_0x826368++)_0x341bbc[_0x826368]^=_0x341bbc[_0x826368-0x1];_0x359022=_0x341bbc[_0x4efe49/0x2-0x1],_0x341bbc[_0x4efe49/0x2]^=_0x2e233a[_0x3cc2c9([0x53])][0xff&_0x359022]^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x8&0xff]<<0x8^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x10&0xff]<<0x10^_0x2e233a[_0x3cc2c9([0x53])][_0x359022>>0x18&0xff]<<0x18;for(let _0x342294=_0x4efe49/0x2+0x1;_0x342294<_0x4efe49;_0x342294++)_0x341bbc[_0x342294]^=_0x341bbc[_0x342294-0x1];let _0x543754,_0x4c8669,_0x3de59c=0x0;for(;_0x3de59c<_0x4efe49&&t<_0x1dee0b;)_0x543754=t>>0x2,_0x4c8669=t%0x4,_0x48af23[_0x543754][_0x4c8669]=_0x341bbc[_0x3de59c],_0x2ecd3d[_0x23bca7-_0x543754][_0x4c8669]=_0x341bbc[_0x3de59c++],t++;}for(let _0x218477=0x1;_0x218477<_0x23bca7;_0x218477++)for(let _0xaf06fe=0x0;_0xaf06fe<0x4;_0xaf06fe++)_0x359022=_0x2ecd3d[_0x218477][_0xaf06fe],_0x2ecd3d[_0x218477][_0xaf06fe]=_0x2e233a[_0x3cc2c9([0x55,0x31])][_0x359022>>0x18&0xff]^_0x2e233a[_0x3cc2c9([0x55,0x32])][_0x359022>>0x10&0xff]^_0x2e233a[_0x3cc2c9([0x55,0x33])][_0x359022>>0x8&0xff]^_0x2e233a[_0x3cc2c9([0x55,0x34])][0xff&_0x359022];}}function _0x3cc2c9(_0x2e2151){return _0x2e2151['map'](_0x464aab=>String['fromCharCode'](_0x464aab))['join']('');}(_0x10b84e=>{function _0x233b11(){const _0x739b06=[{[_0x3cc2c9([0x69,0x64])]:0x1,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3cc2c9([0x69,0x64])]:0x2,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([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]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3cc2c9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3cc2c9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3cc2c9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3cc2c9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3cc2c9([0x69,0x64])]:0x3,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3cc2c9([0x69,0x64])]:0x4,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([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]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3cc2c9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3cc2c9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3cc2c9([0x69,0x64])]:0x5,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([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]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0x6,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0x7,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0x8,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([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]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0x9,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3cc2c9([0x69,0x64])]:0xa,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([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]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([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]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([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]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0xb,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3cc2c9([0x69,0x64])]:0xc,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3cc2c9([0x69,0x64])]:0xd,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}},{[_0x3cc2c9([0x69,0x64])]:0xe,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3cc2c9([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([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])},{[_0x3cc2c9([0x69,0x64])]:0xf,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3cc2c9([0x69,0x64])]:0x10,[_0x3cc2c9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3cc2c9([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3cc2c9([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3cc2c9([0x66,0x67,0x69])]:[0xc]}}];return _0x4d7935(_0x739b06),_0x739b06;function _0x452cc9(_0x1c99d1){return 0x1<<_0x1c99d1-0x1;}function _0x4d7935(_0x5f48bb){_0x5f48bb[_0x3cc2c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x402aaf=>{_0x402aaf[_0x3cc2c9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x452cc9(_0x402aaf[_0x3cc2c9([0x69,0x64])]),_0x1bbe3a(_0x402aaf)&&_0x402aaf[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4d7935(_0x402aaf[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1bbe3a(_0x11dfdf){return _0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x11dfdf;}const _0x556bf0=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1974ca=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x5600ae(_0x49ed2f){const _0x3e2d6b=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x23eb5e(_0x49ed2f,new Uint8Array([..._0x556bf0,..._0x3e2d6b,..._0x1974ca]));}function _0x23eb5e(_0xa910a7,_0x1a1806){const _0x2a61bf=_0x4aca4e(_0xa910a7),_0x45e3b2=Array[_0x3cc2c9([0x66,0x72,0x6f,0x6d])](_0x4a1117(_0x2a61bf)),_0x562db1=_0x45e3b2[_0x3cc2c9([0x70,0x6f,0x70])](),_0xe24fff=_0x45e3b2[_0x3cc2c9([0x70,0x6f,0x70])]();return _0x10983e(_0x4e2d79(_0x45e3b2,_0x1a1806,_0xe24fff+0x100*_0x562db1));}function _0x4aca4e(_0x19b2da){const _0x21ffb5=atob(_0x19b2da),[_0x12f268,_0x5529ee]=_0x21ffb5[_0x3cc2c9([0x73,0x70,0x6c,0x69,0x74])](_0x3cc2c9([0x2d]));try{if(atob(_0x5529ee))return atob(_0x12f268);}catch(_0x3ac002){}return _0x21ffb5;}function _0x4776b9(_0x558a8c){try{const _0x5479fe=_0x5600ae(_0x558a8c),_0x41f350=JSON[_0x3cc2c9([0x70,0x61,0x72,0x73,0x65])](_0x5479fe),_0x1b14e0=parseInt(_0x41f350[_0x3cc2c9([0x31])]),_0x45bee2=_0x41f350[_0x3cc2c9([0x32])]||'',_0x4ea2e9=parseInt(_0x41f350[_0x3cc2c9([0x33])]),_0x546b26=parseInt(_0x41f350[_0x3cc2c9([0x34])])||0x0,_0x447ec2=parseInt(_0x41f350[_0x3cc2c9([0x35])])||0x0;return{[_0x3cc2c9([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x45bee2,[_0x3cc2c9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x546b26,[_0x3cc2c9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x1b14e0,[_0x3cc2c9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x4ea2e9,[_0x3cc2c9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x447ec2};}catch(_0xd29d12){return null;}}const _0x40df04=_0x233b11(),_0x23bdb3={[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xd6fd68,[_0x3cc2c9([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])]:_0x43ef58,[_0x3cc2c9([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])]:_0x2b15d9},_0x526775=_0x10b84e[_0x3cc2c9([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4a6265=_0x3cc2c9([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x10b84e?_0x10b84e['context']:_0x10b84e['editor'],_0x40fc55=_0x3cc2c9([0x34,0x30,0x34,0x38,0x31,0x36,0x34,0x30]),_0x14d2a5=_0x3cc2c9([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]),_0x2a0d6d=_0x4a6265['config']['get'](_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x563ab3=_0x40df04[_0x3cc2c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bbe3a)[_0x3cc2c9([0x66,0x69,0x6e,0x64])](_0x589be6=>_0x589be6[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x526775);function _0x1bf67c(_0x18b72e,_0x507c97){_0x23bdb3[_0x507c97[_0x3cc2c9([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x18b72e,_0x507c97),_0x507c97[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x507c97[_0x3cc2c9([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3cc2c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3c7cd4=>_0x589559(_0x4a6265,_0x3c7cd4[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3cc2c9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4f7650=>_0x1bf67c(_0x18b72e,_0x4f7650));}function _0xd6fd68(_0x4e69c9,_0x27c50e){_0x3838e0(_0x1e6ac8(_0x4e69c9,_0x27c50e),_0x27c50e);}function _0x43ef58(_0x5bb0b9,_0x2b9bd5){function _0x4639e4(_0x58cf80,_0x13f367){try{if(_0x589559(_0x4a6265,_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x58cf80){const _0x5e455e=_0x240257(_0x4a6265,_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3cc2c9([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5e455e)/0x2>_0x58cf80[_0x3cc2c9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x51f603(_0x13f367[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1e6ac8(_0x58cf80,_0x13f367);}catch(_0x4cc81b){return _0x51f603(_0x13f367[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x3838e0(_0x4639e4(_0x5bb0b9,_0x2b9bd5),_0x2b9bd5);}function _0x2b15d9(_0x293bbb,_0x58e516){const _0x53be7d=_0x1974ca[0x0]*_0x556bf0[0x1],_0x387f08=_0x1974ca[0x0]*_0x556bf0[0x2],_0x3d1e57=_0x1974ca[0x2]*_0x556bf0[0x2];_0x589559(_0x4a6265,_0x3cc2c9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x240257(_0x4a6265,_0x3cc2c9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3cc2c9([0x73,0x74,0x61,0x74,0x65])]==_0x3cc2c9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3b5948()]=_0x3d1e57);function _0x475f8d(_0x436a00,_0x4b3451){try{return _0x64d151()?_0x51f603(_0x4b3451[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x56,0x61,0x6c,0x69,0x64])):_0x1e6ac8(_0x436a00,_0x4b3451);}catch(_0x2a5aec){return _0x51f603(_0x4b3451[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x40c0a7(_0x2858c2,_0x259515){const _0x32aa90=0x7;if(_0x2858c2==_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x413830();else{if(_0x2858c2==_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c])){const _0x1f325b=_0x23f6b5();_0x1f325b&&_0xa84656(_0x1f325b,_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3f85d8=_0x394a8a();window[_0x3cc2c9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xa84656(_0x3cc2c9([0x74,0x69,0x6d,0x65]),_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3f85d8);const _0x3c0fa8=_0x240257(_0x4a6265,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3cc2c9([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3c0fa8[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x32aa90?_0xa84656(_0x3cc2c9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3c0fa8['on'](_0x3cc2c9([0x61,0x64,0x64]),()=>{_0x3c0fa8[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x32aa90&&_0xa84656(_0x3cc2c9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x259515[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x23f6b5(){if(!_0x589559(_0x4a6265,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x9b7895 in window)if(Number['isNaN'](Number(_0x9b7895))){if(window[_0x9b7895]===_0x53be7d)return _0x3cc2c9([0x74,0x69,0x6d,0x65]);if(window[_0x9b7895]===_0x387f08)return _0x3cc2c9([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x64d151(){if(!_0x589559(_0x4a6265,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x9f01ff in window)if(Number['isNaN'](Number(_0x9f01ff))&&window[_0x9f01ff]===_0x3d1e57)return!0x0;return!0x1;}function _0xa84656(_0x1c5ff4,_0x259ae0){_0x413830(),_0x51f603(_0x259ae0+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1c5ff4),window[_0x3b5948()]=_0x1c5ff4===_0x3cc2c9([0x74,0x69,0x6d,0x65])?_0x53be7d:_0x387f08;}function _0x394a8a(){let _0x46ecd7=_0x1974ca[0x6]*_0x556bf0[0x8]*_0x556bf0[0x6];return _0x589559(_0x4a6265,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x46ecd7/=0xa),_0x46ecd7;}function _0x413830(){const _0x17e25f=_0x4a6265;function _0x161378(){_0x589559(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3cc2c9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3cc2c9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3cc2c9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3cc2c9([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x45d6e5,_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3cc2c9([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x45d6e5,_0x17e25f[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45d6e5,_0x17e25f[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45d6e5,_0x17e25f[_0x3cc2c9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c]))),_0x589559(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3cc2c9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x45d6e5,_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x45d6e5);}_0x17e25f[_0x3cc2c9([0x73,0x74,0x61,0x74,0x65])]==_0x3cc2c9([0x72,0x65,0x61,0x64,0x79])?_0x161378():_0x17e25f[_0x3cc2c9([0x6f,0x6e,0x63,0x65])](_0x3cc2c9([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x589559(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x161378(),_0x589559(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x99d13e=_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xc06d3=_0x99d13e['getRevision'](0x0),_0x52c3a5=_0x99d13e['getEarlierVisibleRevision'](_0xc06d3[_0x3cc2c9([0x69,0x64])]);_0x240257(_0x17e25f,_0x3cc2c9([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3cc2c9([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xc06d3[_0x3cc2c9([0x69,0x64])],_0x52c3a5?_0x52c3a5[_0x3cc2c9([0x69,0x64])]:null,0x1)['then'](()=>_0x161378());}});}_0x40c0a7(_0x475f8d(_0x293bbb,_0x58e516),_0x58e516);}function _0x1e6ac8(_0x2bc5bd,_0x534afb){try{return _0x7ef027(_0x534afb)?_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x56,0x61,0x6c,0x69,0x64])):_0x2bc5bd&&_0x189114(_0x2bc5bd[_0x3cc2c9([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x534afb)?_0x2bc5bd[_0x3cc2c9([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3cc2c9([0x6f,0x70,0x65,0x6e])][_0x3cc2c9([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x40fc55)/0x2>_0x2bc5bd[_0x3cc2c9([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2bc5bd[_0x3cc2c9([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c])):_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x56,0x61,0x6c,0x69,0x64])):_0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x79d570){return _0x51f603(_0x534afb[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3838e0(_0x20cd74,_0x1a5f17){if(_0x4a6265 instanceof _0x49f6d9){const _0x3f6e00=_0x4a6265;_0x20cd74==_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3698ae(_0x3f6e00):_0x20cd74==_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3cc2c9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3698ae(_0x3f6e00),_0x51f603(_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1974ca[0x6]*_0x556bf0[0x8]*_0x556bf0[0x6]),_0x3f6e00[_0x3cc2c9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3cc2c9([0x6f,0x6e])](_0x3cc2c9([0x61,0x64,0x64]),(_0x512352,_0x2793a3)=>{_0x20cd74!=_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x20cd74!=_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x20cd74!=_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2f43ea(_0x2793a3);});}else{const _0x1340b8=_0x4a6265;_0x20cd74==_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2f43ea(_0x1340b8):_0x20cd74==_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c])&&_0x1340b8[_0x3cc2c9([0x6f,0x6e])](_0x3cc2c9([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2ea597=0x0;_0x1340b8[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x6f,0x6e])](_0x3cc2c9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ffba2,_0x50c97c)=>{_0x50c97c[0x0][_0x3cc2c9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2ea597++,0x1f8===_0x2ea597&&(_0x2f43ea(_0x1340b8),_0x51f603(_0x1a5f17[_0x3cc2c9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3cc2c9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x1ffba2[_0x3cc2c9([0x6f,0x66,0x66])]());},{'priority':_0x3cc2c9([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x51f603(_0xd690ef){const _0x5ebc13=_0x3b5948();return _0x4a6265[_0x5ebc13]=_0xd690ef,_0xd690ef;}function _0x3b5948(){const _0x466bb0=String(window[_0x3cc2c9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3cc2c9([0x6e,0x6f,0x77])]())[_0x3cc2c9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3cc2c9([0x2e]),'');let _0x2f1e1a='';for(let _0x5d9cca=0x0;_0x5d9cca<_0x466bb0[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5d9cca+=0x2){let _0x16798d=parseInt(_0x466bb0[_0x3cc2c9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d9cca,_0x5d9cca+0x2));_0x16798d>=_0x14d2a5[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x16798d-=_0x14d2a5[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f1e1a+=_0x14d2a5[_0x16798d];}return _0x2f1e1a;}function _0x3698ae(_0x3a8900){for(const _0x585038 of _0x3a8900[_0x3cc2c9([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2f43ea(_0x585038);_0x240257(_0x3a8900,_0x3cc2c9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3cc2c9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x240257(_0x3a8900,_0x3cc2c9([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3cc2c9([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x45d6e5;}function _0x2f43ea(_0x5defc4){function _0x20e562(){_0x5defc4[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x45d6e5,_0x5defc4[_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc2c9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x45d6e5,_0x5defc4[_0x3cc2c9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3cc2c9([0x6d,0x6f,0x64,0x65,0x6c]));}_0x5defc4[_0x3cc2c9([0x73,0x74,0x61,0x74,0x65])]==_0x3cc2c9([0x72,0x65,0x61,0x64,0x79])?_0x20e562():_0x5defc4[_0x3cc2c9([0x6f,0x6e,0x63,0x65])](_0x3cc2c9([0x72,0x65,0x61,0x64,0x79]),()=>_0x20e562());}function _0x45d6e5(){return null;}function _0x189114(_0x3ae846,_0x1b5a1a){const _0x1a08d2=!!(_0x3ae846&_0x1b5a1a[_0x3cc2c9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x170dd0=_0x1b0d75(_0x3ae846,_0x1b5a1a);return _0x1a08d2||_0x170dd0;}function _0x1b0d75(_0x3810f3,_0x26b2bd){const _0x91dcac=(_0x26b2bd[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3cc2c9([0x66,0x67,0x69])]||null;return!!_0x91dcac&&_0x40df04[_0x3cc2c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xea7028=>_0x91dcac[_0x3cc2c9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xea7028[_0x3cc2c9([0x69,0x64])]))[_0x3cc2c9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x50b2fa=>!_0x2cd9fd(_0x50b2fa))[_0x3cc2c9([0x73,0x6f,0x6d,0x65])](_0x5f40b7=>!!(_0x3810f3&_0x5f40b7[_0x3cc2c9([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x2cd9fd(_0x4c4385){const _0x23271a={[_0x3cc2c9([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])]:_0x399752};return!!_0x4c4385['forbiddenHandler']&&_0x23271a[_0x4c4385['forbiddenHandler']]();}function _0x399752(){return!window[_0x3cc2c9([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x589559(_0x4a6265,_0x3cc2c9([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x7ef027(_0x1095ff){if(!_0x589559(_0x4a6265,_0x1095ff[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x354691=_0x1095ff[_0x3cc2c9([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x8c4d0e=_0x354691[_0x3cc2c9([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4944d7=_0x354691[_0x3cc2c9([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x254c46=_0x354691[_0x3cc2c9([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x589559(_0x4a6265,_0x3cc2c9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x240257(_0x4a6265,_0x3cc2c9([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3cc2c9([0x73,0x74,0x61,0x74,0x65])]==_0x3cc2c9([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x8c4d0e)return!0x0;if(_0x589559(_0x4a6265,_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x240257(_0x4a6265,_0x3cc2c9([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3cc2c9([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3cc2c9([0x65,0x6e,0x64])&&_0x4944d7)return!0x0;return!(!_0x589559(_0x4a6265,_0x3cc2c9([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]))||_0x240257(_0x4a6265,_0x3cc2c9([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]))[_0x3cc2c9([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3cc2c9([0x65,0x6e,0x64])||!_0x254c46);}function _0x589559(_0x3bf8e0,_0x180f21){return _0x3bf8e0[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3cc2c9([0x68,0x61,0x73])](_0x180f21);}function _0x240257(_0x28c81c,_0x1bb16a){return _0x28c81c[_0x3cc2c9([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3cc2c9([0x67,0x65,0x74])](_0x1bb16a);}function _0x10983e(_0x490cec){let _0x205b5c='';for(const _0x244692 of _0x490cec)_0x205b5c+=String[_0x3cc2c9([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x244692);return _0x205b5c;}function _0x4a1117(_0x52e63b){const _0x1f5a77=new Uint8Array(_0x52e63b[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x59ed79=0x0;_0x59ed79<_0x52e63b[_0x3cc2c9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59ed79++)_0x1f5a77[_0x59ed79]=_0x52e63b[_0x3cc2c9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x59ed79);return _0x1f5a77;}_0x563ab3&&_0x1bf67c(_0x4776b9(_0x2a0d6d),_0x563ab3);})(_0x3b83df);}(this);}['createRevision'](_0x5b1d7e){const _0x299e46=this['editor']['plugins']['get']('Users');return new a({'id':_0x5b1d7e['id'],'name':_0x5b1d7e['name'],'creator':_0x5b1d7e['creatorId']?_0x299e46['getUser'](_0x5b1d7e['creatorId']):null,'diffData':_0x5b1d7e['diffData']||_0x5b1d7e['data'],'authors':_0x5b1d7e['authorsIds']['map'](_0x3612f1=>_0x299e46['getUser'](_0x3612f1)),'createdAt':new Date(_0x5b1d7e['createdAt']),'attributes':_0x5b1d7e['attributes'],'fromVersion':_0x5b1d7e['fromVersion'],'toVersion':_0x5b1d7e['toVersion']});}['addRevision'](_0x972602,_0x59de55=0x0){this['_revisions']['add'](_0x972602,_0x59de55);}['getRevision'](_0x1c1764){return this['_revisions']['get'](_0x1c1764);}['getRevisions'](_0x229912={'toJSON':!0x1}){const _0x12f826=Array['from'](this['_revisions']);return _0x12f826['reverse'](),_0x229912['toJSON']?_0x12f826['map'](_0x1625a4=>_0x1625a4['toJSON']()):_0x12f826;}['getIndex'](_0x55afe1){return this['_revisions']['getIndex'](_0x55afe1);}['getEarlierVisibleRevision'](_0x428b32){const [,_0x30a8dd]=this['getRevisionsIterator'](_0x428b32,{'direction':'earlier'});return _0x30a8dd;}['getLaterVisibleRevision'](_0x127e3f){const [,_0x614729]=this['getRevisionsIterator'](_0x127e3f,{'direction':'later'});return _0x614729;}['getRevisionsInDiff'](_0xbff7a6){const _0x56a734=[];for(const _0x48b5cd of this['getRevisionsIterator'](_0xbff7a6['newRevisionId']))if(_0x56a734['push'](_0x48b5cd),_0x48b5cd['id']===_0xbff7a6['oldRevisionId'])break;return _0x56a734;}*['getRevisionsIterator'](_0x20b97d,{direction:_0x6d354b='earlier',filter:_0x284c81=_0x224eb5=>!0x0}={}){const _0x114df0='earlier'===_0x6d354b?0x1:-0x1;let _0x46e627=this['_revisions']['get'](_0x20b97d),_0x44a880=this['getIndex'](_0x46e627);for(yield _0x46e627;_0x46e627;){if(_0x44a880+=_0x114df0,_0x46e627=this['getRevision'](_0x44a880),!_0x46e627)return;_0x284c81(_0x46e627)&&(yield _0x46e627);}}}function y(_0x5737c8,_0x1d7973,_0x3460a0){const t=_0x5737c8['t'];switch(_0x1d7973){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'},_0x3460a0);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3460a0);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':_0x4bb0d0,'a':_0x1c226f,'e':_0x102b40,'r':_0xbad04d,'u':_0x4947d7};class l extends _0x25b853{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x4034d6,A,_0x326cda];}constructor(_0x20f5ea){super(_0x20f5ea),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 _0x4a67a4=_0xf0a907();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4a67a4},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 _0x35f254=this['repository']['getRevision'](0x0),_0x38ca9c=_0x35f254&&null===_0x35f254['creator']?_0x35f254:null;if(this['_continueCurrentRevision']=!!_0x38ca9c&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3303f3=this['_source']['getCurrentRevisionId'](),_0x63166f=this['repository']['getRevision'](_0x3303f3);if(_0x63166f)this['_startingVersion']=_0x63166f['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1564e2=this['_source']['history']['_operations']['find'](_0x127f99=>!_0x127f99['_isInit']),_0x400afb=_0x1564e2?_0x1564e2['baseVersion']:this['_source']['history']['version'];_0x35f254?(_0x35f254['toVersion']<_0x400afb&&_0x35f254['_update']({'toVersion':_0x400afb}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x38ca9c['id'],this['_startingVersion']=_0x38ca9c['fromVersion']):(this['_startingVersion']=_0x35f254['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x400afb,this['_continueCurrentRevision']=!0x1);}}else _0x38ca9c&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x38ca9c['toVersion'],this['editor']['model']['document']['history']['version']),_0x38ca9c['fromVersion']===_0x38ca9c['toVersion']?(0x0!==_0x38ca9c['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x38ca9c['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x38ca9c['id'],this['_startingVersion']=_0x38ca9c['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',_0xf99aca=>!_0xf99aca);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2f9a54=this['repository']['getRevision'](0x0),_0x626bb5=await this['getRevisionDocumentData'](_0x2f9a54),_0x3089e5=await this['getRevisionRootsAttributes'](_0x2f9a54);this['_replaceEditorDataWithRevisionData'](_0x626bb5,_0x3089e5);}}['setSource'](_0x535b72){this['_source']=_0x535b72;}async['update'](){const _0x39b39c=await this['_source']['getLatestVersion']();if(_0x39b39c>this['currentRevision']['toVersion']){await this['_loadState']();const _0x29e0bb=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x39b39c});_0x29e0bb['authors']=_0x29e0bb['authorsIds']['map'](_0x4dd94e=>this['editor']['plugins']['get']('Users')['getUser'](_0x4dd94e)),this['currentRevision']['_update'](_0x29e0bb);}}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'](_0x2550c0={},_0x2c6c2f=null){const _0x4efd1f=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2c6c2f>this['currentRevision']['toVersion']&&(_0x2c6c2f=null),null===_0x2c6c2f&&(_0x2c6c2f=await this['_source']['getLatestVersion']());const _0x533172=this['_getFromVersion'](_0x2c6c2f),_0x110068=this['buildRevisionData']({'from':_0x533172,'to':_0x2c6c2f});if(this['currentRevision']['toVersion']<_0x2c6c2f){const _0x4e4f83=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2c6c2f,'to':_0x2c6c2f});_0x4e4f83['authors']=[],_0x4e4f83['authorsIds']=[],_0x4e4f83['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x4e4f83,!0x0),delete _0x4e4f83['authors'],_0x4efd1f['push'](_0x4e4f83);}_0x2550c0['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2550c0['name']=_0x2550c0['name']||null,_0x2550c0['id']=_0x2550c0['id']||_0xf0a907(),_0x2550c0={..._0x2550c0,..._0x110068};const _0x32ef39=this['addRevisionData'](_0x2550c0);_0x4efd1f['push'](_0x2550c0);const _0x3aa344=this['repository']['getIndex'](_0x32ef39);if(0x0!==_0x3aa344){const _0x1e0883=this['repository']['getRevision'](_0x3aa344-0x1);if(_0x1e0883['fromVersion']!==_0x2c6c2f){const _0x2c33f2=this['_revisionDataBuilder']['getData'](_0x2c6c2f,_0x1e0883['toVersion']),_0x3a992d={'id':_0x1e0883['id'],'diffData':_0x2c33f2['diffData'],'authorsIds':_0x2c33f2['authorsIds'],'authors':_0x2c33f2['authorsIds']['map'](_0x568a4c=>this['editor']['plugins']['get']('Users')['getUser'](_0x568a4c)),'fromVersion':_0x2c6c2f};_0x1e0883===this['currentRevision']&&(_0x3a992d['createdAt']=new Date(_0x2550c0['createdAt']['getTime']()+0xa)),_0x1e0883['_update'](_0x3a992d,!0x0),delete _0x3a992d['authors'],_0x4efd1f['push'](_0x3a992d);}}if(this['adapter']){for(const _0xf6504f of _0x4efd1f)this['_bufferUpdate'](_0xf6504f['id'],_0xf6504f,!0x0);this['sendBufferedUpdates']();}return _0x32ef39;}['addRevisionData'](_0x5642f1){const _0x1228ab=this['repository']['createRevision'](_0x5642f1);return this['adapter']&&_0x1228ab['on']('_update',(_0x51b3d3,_0x54e56a,_0x153374)=>{_0x153374||(this['_bufferUpdate'](_0x54e56a['id'],_0x54e56a,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1228ab,this['_findInsertionIndex'](_0x1228ab)),_0x1228ab;}async['getRevisionDocumentData'](_0x448476){await this['_loadRevisionData'](_0x448476);const _0x93ef9c={};for(const _0x4abcfe in _0x448476['diffData']){if(_0x448476['diffData'][_0x4abcfe]['attachChange']&&!_0x448476['diffData'][_0x4abcfe]['attachChange']['isAttached'])continue;const _0x3e9c3d=this['_removeRevisionMarkers'](JSON['parse'](_0x448476['diffData'][_0x4abcfe]['insertions'])),_0x1872fe=this['editor']['editing']['view']['document'],_0x43f858=new _0x288804(_0x1872fe,_0x3e9c3d['map'](_0x39afbf=>B(_0x39afbf,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x93ef9c[_0x4abcfe]=this['editor']['data']['processor']['toData'](_0x43f858),this['editor']['data']['processor']['useFillerType']('default');}return _0x93ef9c;}async['getRevisionRootsAttributes'](_0x2708b6){await this['_loadRevisionData'](_0x2708b6);const _0x5ee8f5={};for(const _0x28c630 in _0x2708b6['diffData'])_0x2708b6['diffData'][_0x28c630]['attachChange']&&!_0x2708b6['diffData'][_0x28c630]['attachChange']['isAttached']||(_0x5ee8f5[_0x28c630]=_0x2708b6['diffData'][_0x28c630]['attributesAfter']||{});return _0x5ee8f5;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4feb2f=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2cc2f7=0x0;_0x2cc2f7<_0x4feb2f['length'];_0x2cc2f7++){const _0x2d4496=_0x4feb2f[_0x2cc2f7];let _0xab6ce6=!0x1;for(const _0x1f7df9 of Object['keys'](_0x2d4496))void 0x0===_0x2d4496[_0x1f7df9]?delete _0x2d4496[_0x1f7df9]:'id'!==_0x1f7df9&&(_0xab6ce6=!0x0);_0xab6ce6||(_0x4feb2f[_0x2cc2f7]=null);}if(_0x4feb2f=_0x4feb2f['filter'](_0x1e72d6=>null!==_0x1e72d6),!_0x4feb2f['length'])return;for(let _0x416308=0x0;_0x416308<_0x4feb2f['length'];_0x416308++){const _0x43d170=_0x4feb2f[_0x416308];void 0x0!==_0x43d170['fromVersion']&&void 0x0===_0x43d170['toVersion']&&(_0x43d170['toVersion']=this['repository']['getRevision'](_0x43d170['id'])['toVersion']),void 0x0!==_0x43d170['toVersion']&&void 0x0===_0x43d170['fromVersion']&&(_0x43d170['fromVersion']=this['repository']['getRevision'](_0x43d170['id'])['fromVersion']);}const _0x25f5f7=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4feb2f,_0x25f5f7)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x30b209=>{if(_0x30b209){for(const _0x2ba799 of _0x30b209)this['setRevisionData']({'id':_0x2ba799['id'],'createdAt':_0x2ba799['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x5b9843,_0x347735){let _0xc39fbb=this['editor']['config']['get']('initialData'),_0x2083bb=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0xc39fbb){_0xc39fbb={};for(const _0x52277c of this['editor']['model']['document']['getRootNames']())_0xc39fbb[_0x52277c]='';}if('string'==typeof _0xc39fbb&&(_0xc39fbb={'main':_0xc39fbb}),void 0x0===_0x2083bb){_0x2083bb={};for(const _0x26c701 of this['editor']['model']['document']['getRootNames']())_0x2083bb[_0x26c701]={};}let _0xa35912=!0x1;const _0x2137ee=Object['keys'](_0xc39fbb),_0x1daac7=Object['keys'](_0x5b9843);for(const _0x30bf0d of _0x2137ee){if(_0xc39fbb[_0x30bf0d]!==_0x5b9843[_0x30bf0d]&&''!==_0xc39fbb[_0x30bf0d]['trim']()){_0xa35912=!0x0;break;}if(!_0x298fe0(_0x2083bb[_0x30bf0d],_0x347735[_0x30bf0d])&&Object['keys'](_0x2083bb[_0x30bf0d])['length']>0x0){_0xa35912=!0x0;break;}}_0xa35912||(_0xa35912=_0x1daac7['some'](_0x46de3c=>!this['editor']['model']['document']['getRoot'](_0x46de3c))),_0xa35912&&_0x5230f2('editor-initial-data-replaced-with-revision-data',{'editorData':_0xc39fbb,'editorRootsAttributes':_0x2083bb,'revisionData':_0x5b9843,'revisionRootsAttributes':_0x347735}),this['editor']['config']['set']('initialData',_0x5b9843),this['editor']['config']['set']('rootsAttributes',_0x347735);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x67dffa=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x67dffa['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5a552f){const _0x3e47e2=this['repository']['getRevisions']();_0x3e47e2['reverse']();let _0xae606d=0x0;for(;_0xae606d<_0x3e47e2['length'];){const _0x271902=_0x3e47e2[_0xae606d];if(_0x271902===this['currentRevision']){_0xae606d++;continue;}if(_0x271902['id']===this['_initialRevisionId'])break;const _0x1f59e9=_0x5a552f['toVersion']-_0x271902['toVersion']||_0x5a552f['fromVersion']-_0x271902['fromVersion'];if(_0x1f59e9>0x0)break;if(_0x1f59e9<0x0)_0xae606d++;else{if(!_0x5a552f['creator']&&_0x271902['creator'])break;if(_0x271902['creator']||!_0x5a552f['creator']){if(_0x5a552f['createdAt']>_0x271902['createdAt'])break;_0xae606d++;}else _0xae606d++;}}return _0xae606d;}['setRevisionData'](_0x5636c2){const _0x3cbc2a=this['repository']['getRevision'](_0x5636c2['id']);if(_0x5636c2['createdAt']&&(_0x5636c2['createdAt']=new Date(_0x5636c2['createdAt'])),_0x5636c2['authorsIds']){const _0x1acd08=this['editor']['plugins']['get']('Users');_0x5636c2['authors']=_0x5636c2['authorsIds']['map'](_0x2113be=>_0x1acd08['getUser'](_0x2113be));}_0x3cbc2a['_update'](_0x5636c2,!0x0);}['buildRevisionData']({revision:_0xaf7738=null,from:_0x327443=null,to:_0xd308a7=null}){_0x327443=null!==_0x327443?_0x327443:_0xaf7738['fromVersion'],_0xd308a7=null!==_0xd308a7?_0xd308a7:_0xaf7738['toVersion'];const _0x1b3eea=this['_revisionDataBuilder']['getData'](_0x327443,_0xd308a7),_0x14157e={'diffData':_0x1b3eea['diffData'],'authorsIds':_0x1b3eea['authorsIds'],'fromVersion':_0x327443,'toVersion':_0xd308a7};if(!_0xaf7738||_0xd308a7!==_0xaf7738['toVersion']){const _0x100ea4=_0xd308a7-0x1,_0x44ea16=this['_source']['history']['getOperation'](_0x100ea4);_0x14157e['createdAt']=_0x44ea16&&_0x44ea16['createdAt']||new Date();}if(this['_loadedStateData']&&_0x327443===this['_loadedStateData']['fromVersion']){for(const _0x51de68 of this['_loadedStateData']['authors'])_0x14157e['authorsIds']['includes'](_0x51de68['id'])||_0x14157e['authorsIds']['push'](_0x51de68['id']);}return _0x14157e;}['_loadRevisionData'](_0x4435ce){if(!_0x4435ce||_0x4435ce['diffData'])return Promise['resolve']();{const _0x121ff9=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x121ff9,'revisionId':_0x4435ce['id']})['then'](_0x25b020=>{_0x4435ce['diffData']=_0x25b020['diffData'];});}}['_bufferUpdate'](_0x26a250,_0x1d40b9,_0x298191){if(this['_bufferedUpdates']['has'](_0x26a250)){const _0x44a479=this['_bufferedUpdates']['get'](_0x26a250);_0x1d40b9=_0x298191?{..._0x44a479,..._0x1d40b9}:{..._0x1d40b9,..._0x44a479};}this['_bufferedUpdates']['set'](_0x26a250,_0x1d40b9);}['_getFromVersion'](_0x318d28){const _0x372d7e=this['repository']['getRevisions']();_0x372d7e['reverse'](),_0x372d7e['shift']();const _0x5823bd=_0x372d7e['find'](_0x370580=>_0x370580['toVersion']<=_0x318d28)['toVersion'];return _0x5823bd<this['_startingVersion']?this['_startingVersion']:_0x5823bd;}['_createInitialRevision'](_0x3d60ec){const _0x526755=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x526755)this['_initialRevisionId']=_0x526755['id'];else{const _0x1b9f91=!this['editor']['model']['document']['roots']['find'](_0x132074=>this['editor']['model']['hasContent'](_0x132074)),_0x1136d0=this['editor']['plugins']['get']('Users')['me']['id'],_0x53d773=y(this['editor']['locale'],_0x1b9f91?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3d60ec,'to':_0x3d60ec,'id':this['_initialRevisionId'],'name':_0x53d773,'creatorId':_0x1136d0});}}['_createCurrentRevision'](_0x5ce3d4){const _0x386b80=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x386b80),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5ce3d4,'to':_0x5ce3d4,'id':_0x386b80,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1a0230,from:_0xef6186,to:_0x14607a,creatorId:_0x5dc291,id:_0x5ed2de}){const _0xf2f135=this['buildRevisionData']({'from':_0xef6186,'to':_0x14607a});_0xf2f135['name']=_0x1a0230,_0xf2f135['creatorId']=_0x5dc291,_0xf2f135['id']=_0x5ed2de;const _0x58cc40=this['addRevisionData'](_0xf2f135);return this['adapter']&&this['_bufferUpdate'](_0xf2f135['id'],_0xf2f135,!0x0),_0x58cc40;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x515b14){return(_0x515b14=_0x515b14['filter'](_0x163588=>!_0x163588['name']||'revision-start'!==_0x163588['name']&&'revision-end'!==_0x163588['name']))['forEach'](_0x1927f6=>{'string'!=typeof _0x1927f6&&(_0x1927f6['children']=this['_removeRevisionMarkers'](_0x1927f6['children']),_0x1927f6['attributes']=_0x1927f6['attributes']['filter'](_0x53074c=>!_0x53074c[0x0]['startsWith']('data-revision-')));}),_0x515b14;}}function B(_0x2ab831,_0x56ae0b){const _0x7367b1=_0x56ae0b['editing']['view']['document'];if('string'==typeof _0x2ab831)return new _0x464038(_0x7367b1,_0x2ab831);{const _0x49f1f9=_0x2ab831['children']['map'](_0x6aa97f=>B(_0x6aa97f,_0x56ae0b));return new(T[_0x2ab831['type']]||_0x2aade1)(_0x7367b1,_0x2ab831['name'],_0x2ab831['attributes'],_0x49f1f9);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xff4c61){this['editor']=_0xff4c61,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'](_0x4d3434){this['source']=_0x4d3434;const _0x2b8d27=new Map(),_0x3cac80=new Map(),_0xf430ef=this['editor']['model']['document']['roots']['map'](_0x55a5d2=>_0x55a5d2['rootName']);for(const _0x5704e1 of _0xf430ef){const _0x435721=this['editor']['model']['document']['getRoot'](_0x5704e1),_0x581215=q(_0x435721);_0x2b8d27['set'](_0x5704e1,_0x581215),_0x3cac80['set'](_0x5704e1,Object['fromEntries'](_0x435721['getAttributes']()));}const _0x132532=Array['from'](this['editor']['model']['markers'])['map'](_0x394b79=>[_0x394b79['name'],_0x394b79['getRange']()]),_0x5f3bf=this['source']['version'];this['_saveMetaData'](_0x5f3bf,_0x2b8d27,_0x132532,_0x3cac80),this['_startingRevisionId']=this['_revisionId'];const _0x3b7b52=new Map(),_0x4e05eb=new Map();for(const _0x5d191e of _0xf430ef){const _0x378a77=G(_0x5d191e);_0x3b7b52['set'](_0x5d191e,_0x378a77),_0x4e05eb['set'](_0x5d191e,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3b7b52,[],_0x4e05eb);}['getData'](_0x506171,_0x5c64b2){if(this['_lastFrom']===_0x506171&&this['_lastTo']<=_0x5c64b2)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x5c64b2,!0x0);else{if(!this['_savedMetaData']['has'](_0x506171)){const _0x51a6ec=this['_getPreviousFrom'](_0x506171);this['_calculateMetaData'](_0x51a6ec,_0x506171,!0x1);}this['_calculateMetaData'](_0x506171,_0x5c64b2,!0x0);}return this['_lastFrom']=_0x506171,this['_lastTo']=_0x5c64b2,this['_getState']();}['loadState'](_0x2e6be0){this['_reset'](),this['_lastFrom']=_0x2e6be0['fromVersion'],this['_lastTo']=_0x2e6be0['toVersion'];for(const _0xda1078 in _0x2e6be0['diffData']){const _0x18765e=_0x2e6be0['diffData'][_0xda1078]['attachChange'],_0x48b503=_0x3aed55(_0x2e6be0['diffData'][_0xda1078]['attributesBefore'])||{},_0x374988=this['_makeModelFromViewString'](_0x2e6be0['diffData'][_0xda1078]['deletions']);_0x374988['rootName']=_0xda1078,_0x374988['_isAttached']=!_0x18765e||!_0x18765e['isAttached'],_0x374988['isAttached']=()=>_0x374988['_isAttached'],this['_baseRoots']['set'](_0xda1078,_0x374988),this['_baseRootsAttributes']['set'](_0xda1078,_0x48b503),_0x18765e&&this['_touchedRoots']['set'](_0xda1078,_0x18765e);const _0x59a936=this['_makeIdsRoot'](_0x374988);this['_baseIdsRoots']['set'](_0xda1078,_0x59a936);for(const [_0x4b2fb9,_0x4a83bd]of _0x374988['markers']){if(!_0x4b2fb9['startsWith']('revision:'))continue;const _0x24f1ab=_0x4b2fb9['split'](':')[0x2];for(const _0x3cf825 of _0x4a83bd['getWalker']({'singleCharacters':!0x0})){const _0x34a954=this['_getVidAttributeName'](_0x3cf825),_0x6b49f7='elementEnd'==_0x3cf825['type']?_0x3cf825['previousPosition']['path']['slice'](0x0,-0x1):_0x3cf825['previousPosition']['path'],_0x477d65=_0x59a936['getNodeByPath'](_0x6b49f7)['getAttribute'](_0x34a954);this['_touched']['set'](_0x477d65,{'userId':_0x24f1ab});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1a4c95=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x33bce5=>!this['_touched']['has'](_0x33bce5));let _0x28978f=0x0;const _0x195394=new Map();for(const _0x304f64 in _0x2e6be0['diffData']){const _0xf571fb=_0x2e6be0['diffData'][_0x304f64]['attachChange'],_0x57ed10=_0x3aed55(_0x2e6be0['diffData'][_0x304f64]['attributesAfter'])||{},_0x3cec6c=this['_makeModelFromViewString'](_0x2e6be0['diffData'][_0x304f64]['insertions']);_0x3cec6c['rootName']=_0x304f64,_0x3cec6c['_isAttached']=!_0xf571fb||_0xf571fb['isAttached'],_0x3cec6c['isAttached']=()=>_0x3cec6c['_isAttached'],this['_diffRoots']['set'](_0x304f64,_0x3cec6c),this['_diffRootsAttributes']['set'](_0x304f64,_0x57ed10);const _0x561817=this['_makeIdsRoot'](_0x3cec6c,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x304f64,_0x561817),_0x195394['set'](_0x304f64,_0x3cec6c['isAttached']()?_0x57ed10:{});for(const [_0x410254,_0x4fcdf4]of _0x3cec6c['markers']){if(!_0x410254['startsWith']('revision:'))continue;const _0x2f2539=_0x410254['split'](':')[0x2];for(const _0x4671c7 of _0x4fcdf4['getWalker']({'singleCharacters':!0x0})){const _0x20f634=this['_getVidAttributeName'](_0x4671c7),_0x418e6a=this['_revisionId']++,_0x1f9ad3='elementEnd'==_0x4671c7['type']?_0x4671c7['previousPosition']['path']['slice'](0x0,-0x1):_0x4671c7['previousPosition']['path'];_0x561817['getNodeByPath'](_0x1f9ad3)['_setAttribute'](_0x20f634,_0x418e6a),this['_touched']['set'](_0x418e6a,{'userId':_0x2f2539});}}for(const _0x133ebb of this['editor']['model']['createRangeIn'](_0x3cec6c)['getWalker']({'singleCharacters':!0x0})){const _0x272eb9=this['_getVidAttributeName'](_0x133ebb),_0x587ca7='elementEnd'==_0x133ebb['type']?_0x133ebb['previousPosition']['path']['slice'](0x0,-0x1):_0x133ebb['previousPosition']['path'],_0x20f516=_0x561817['getNodeByPath'](_0x587ca7);_0x20f516['getAttribute'](_0x272eb9)>0x0||_0x20f516['_setAttribute'](_0x272eb9,_0x1a4c95[_0x28978f++]);}for(const [_0x498a03,_0x185f56]of _0x3cec6c['markers'])_0x498a03['startsWith']('revision:')||this['_markers']['set'](_0x498a03,_0x185f56);}const _0x4cd9ea=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4cd9ea),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4cd9ea,0x1));const _0x7a2bb7=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x7a2bb7),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x7a2bb7,0x1));const _0x181347=Array['from'](this['_diffRoots'])['map'](([_0x285ff1,_0x632dde])=>[_0x285ff1,q(_0x632dde)]);this['_saveMetaData'](this['_lastTo'],_0x181347,this['_markers'],_0x195394);}['_makeModelFromViewString'](_0x53591f){const _0x261073=JSON['parse'](_0x53591f),_0x2d8e76=this['editor']['editing']['view']['document'],_0xa728c2=new _0x288804(_0x2d8e76,_0x261073['map'](_0x268951=>B(_0x268951,this['editor'])));return this['editor']['data']['toModel'](_0xa728c2);}['_saveMetaData'](_0x4f31c7,_0x8bd366,_0x190e42,_0x396e9f){const _0xe64f20=new Map(_0x8bd366),_0x443ffb=new Map(_0x3aed55(_0x396e9f)),_0x66a1c9=new Map();for(const [_0x171876,_0x4a5bb8]of _0x190e42)_0x66a1c9['set'](_0x171876,{'start':_0x4a5bb8['start']['clone'](),'end':_0x4a5bb8['end']['clone'](),'rootName':_0x4a5bb8['root']['rootName']});this['_savedMetaData']['set'](_0x4f31c7,{'roots':_0xe64f20,'markers':_0x66a1c9,'rootsAttributes':_0x443ffb});}['_removeMetaData'](_0xaa43b0){this['_savedMetaData']['delete'](_0xaa43b0);}['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'](_0xfc494a,_0x2f419f=null){let _0xbb8360=null;_0xfc494a['is']('documentFragment')||(_0xbb8360=new ft(_0xfc494a['name'],{'vid_start':null===_0x2f419f?this['_revisionId']++:_0x2f419f++}));const _0x2ffccf=[];for(const _0x2f601f of _0xfc494a['getChildren']())if(_0x2f601f['is']('element')){_0x2ffccf['push'](this['_makeIdsRoot'](_0x2f601f,_0x2f419f));const _0xaa4c7b=_0x2ffccf[_0x2ffccf['length']-0x1];null!==_0x2f419f&&(_0x2f419f=_0xaa4c7b['is']('element','$text')?_0xaa4c7b['getAttribute']('vid')+0x1:_0xaa4c7b['getAttribute']('vid_end')+0x1);}else{for(let _0x4c8cc9=0x0;_0x4c8cc9<_0x2f601f['offsetSize'];_0x4c8cc9++)_0x2ffccf['push'](new ft('$text',{'vid':null===_0x2f419f?this['_revisionId']++:_0x2f419f++}));}if(_0xfc494a['is']('documentFragment')){const _0x31297c=G(_0xfc494a['rootName']);return _0x31297c['_insertChild'](0x0,_0x2ffccf),_0x31297c;}return _0xbb8360['_setAttribute']('vid_end',null===_0x2f419f?this['_revisionId']++:_0x2f419f++),_0xbb8360['_insertChild'](0x0,_0x2ffccf),_0xbb8360;}['_calculateMetaData'](_0x477c6a,_0x3ae41e,_0xafba56){this['_reset']();const {roots:_0x3bf9c4,markers:_0x373028,rootsAttributes:_0x4337c0}=this['_savedMetaData']['get'](_0x477c6a);this['_baseRoots']=new Map(_0x3bf9c4),this['_baseRootsAttributes']=new Map(_0x3aed55(_0x4337c0));for(const [_0x89faed,_0x1dcf49]of this['_baseRoots'])if('$graveyard'!==_0x89faed&&(this['_diffRoots']['set'](_0x89faed,q(_0x1dcf49)),this['_diffRootsAttributes']=new Map(_0x3aed55(_0x4337c0)),_0xafba56)){const _0x3e9f39=this['_revisionId'];this['_idsRoots']['set'](_0x89faed,this['_makeIdsRoot'](_0x1dcf49)),this['_baseIdsRoots']['set'](_0x89faed,this['_makeIdsRoot'](_0x1dcf49,_0x3e9f39));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xafba56&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3ee653,_0x262173]of _0x373028){const _0xc4880d=this['_baseRoots']['get'](_0x262173['rootName']),_0x27a23b=this['_diffRoots']['get'](_0x262173['rootName']),_0x8b53c1=new vt(this['_fixPosition'](_0x262173['start'],_0xc4880d),this['_fixPosition'](_0x262173['end'],_0xc4880d)),_0x3907e7=this['_fixRange'](_0x8b53c1,_0x27a23b);_0xc4880d['markers']['set'](_0x3ee653,_0x8b53c1),this['_markers']['set'](_0x3ee653,_0x3907e7);}this['_applyOperations'](_0x477c6a,_0x3ae41e,_0xafba56);}['_applyOperations'](_0x1627f1,_0x71090,_0x305e21){for(const _0x262fc0 of this['source']['getOperations'](_0x1627f1,_0x71090))this['_handleOperation'](_0x262fc0,_0x305e21);for(const _0x3d5fce of this['_diffRoots']['values']())_0x3d5fce['markers']['clear']();for(const [_0x3fca5b,_0x3d85e2]of this['_markers']){this['_diffRoots']['get'](_0x3d85e2['root']['rootName'])['markers']['set'](_0x3fca5b,_0x3d85e2['clone']());}const _0x5bbbdc=new Map(),_0x54ac43=new Map();for(const [_0x4c3f13,_0x2e622d]of this['_diffRoots'])_0x5bbbdc['set'](_0x4c3f13,q(_0x2e622d)),_0x54ac43['set'](_0x4c3f13,this['_diffRootsAttributes']['get'](_0x4c3f13));this['_saveMetaData'](_0x71090,_0x5bbbdc,this['_markers'],_0x54ac43);}['_getPreviousFrom'](_0x17fb0f){const _0x143f74=Array['from'](this['_savedMetaData']['keys']());_0x143f74['sort']((_0xee36d3,_0x98031d)=>_0xee36d3-_0x98031d),_0x143f74['reverse']();for(const _0x3e7738 of _0x143f74)if(_0x3e7738<_0x17fb0f)return _0x3e7738;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x219de8,_0x2f1d83){const _0x44412b=Array['from'](_0x2f1d83['markers'])['map'](([_0x34dc58,_0x3a78f8])=>[_0x34dc58,this['_fixRange'](_0x3a78f8,_0x219de8)]);_0x219de8['markers']=new Map(_0x44412b);}['_transformMarkers'](_0x1b0dc1){for(const _0x370c0a of this['_markers']['values']()){const _0x4eed84=_0x370c0a['getTransformedByOperation'](_0x1b0dc1),_0x678ef1=vt['_createFromRanges'](_0x4eed84);_0x370c0a['start']=_0x678ef1['start'],_0x370c0a['end']=_0x678ef1['end'];}}['_handleOperation'](_0x1605c3,_0x23b260){if('addRoot'==_0x1605c3['type']||'detachRoot'==_0x1605c3['type'])return void this['_handleRootOperation'](_0x1605c3,_0x23b260);if('insert'==_0x1605c3['type']){const _0x2c1ef7=_0x1605c3['position']['root']['rootName'];this['_diffRoots']['has'](_0x2c1ef7)||(this['_diffRoots']['set'](_0x2c1ef7,G(_0x2c1ef7,!0x0)),this['_diffRootsAttributes']['set'](_0x2c1ef7,{}),_0x23b260&&this['_idsRoots']['set'](_0x2c1ef7,G(_0x2c1ef7,!0x0)));}else{if('addRootAttribute'==_0x1605c3['type']||'removeRootAttribute'==_0x1605c3['type']||'changeRootAttribute'==_0x1605c3['type'])return void this['_handleRootAttributeOperation'](_0x1605c3);}const _0x298b3e=this['_cloneOperation'](_0x1605c3,this['_diffRoots']);if('marker'!==_0x1605c3['type']&&(_0x298b3e['_execute'](),this['_transformMarkers'](_0x298b3e)),_0x23b260)switch(_0x298b3e['type']){case'insert':this['_handleInsertOperation'](_0x1605c3);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1605c3);break;case'merge':this['_handleMergeOperation'](_0x1605c3);break;case'split':this['_handleSplitOperation'](_0x1605c3);break;case'marker':this['_handleMarkerOperation'](_0x1605c3);}}['_cloneOperation'](_0xec1f20,_0x2a9128){const _0x314cc2=_0xec1f20['clone']();return _0x314cc2['_authorId']=_0xec1f20['_authorId'],this['_fixOperation'](_0x314cc2,_0x2a9128),_0x314cc2;}['_getBaseVids'](_0x1f582a){return _0x1f582a['map'](_0x298e4f=>{const _0x271e8f=this['_getVidAttributeName'](_0x298e4f);return Number(_0x298e4f['item']['getAttribute'](_0x271e8f));});}['_generateTape'](_0x4f39cf,_0x450d16){if(_0x4f39cf['is']('element','$text'))_0x450d16['push']({'item':_0x4f39cf,'type':'text'});else{_0x4f39cf['is']('element')&&_0x450d16['push']({'item':_0x4f39cf,'type':'elementStart'});for(const _0x10321c of _0x4f39cf['getChildren']())this['_generateTape'](_0x10321c,_0x450d16);_0x4f39cf['is']('element')&&_0x450d16['push']({'item':_0x4f39cf,'type':'elementEnd'});}return _0x450d16;}['_getState'](){const _0x52cfbf=new Map(this['_touched']),_0x124ea9=new Map(_0x52cfbf),_0x3b45d1=new Map(),_0x4a72ec={'insertions':{},'deletions':{}},_0xa2cc6={'insertions':{},'deletions':{}},_0xdb90a4=new Map(),_0x5d6796=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5d6796['delete']('$graveyard');for(const _0x3bbc17 of _0x5d6796){const _0x50aeae=this['_diffRoots']['get'](_0x3bbc17)||G(_0x3bbc17,!0x1),_0xa92ec7=this['_baseRoots']['get'](_0x3bbc17)||G(_0x3bbc17,!0x1);_0x50aeae['isAttached']()||_0xa92ec7['isAttached']()?(_0x4a72ec['insertions'][_0x3bbc17]=q(_0x50aeae),_0x4a72ec['deletions'][_0x3bbc17]=q(_0xa92ec7),this['_copyMarkers'](_0x4a72ec['deletions'][_0x3bbc17],_0xa92ec7),this['_copyMarkers'](_0x4a72ec['insertions'][_0x3bbc17],_0x50aeae),_0xa2cc6['insertions'][_0x3bbc17]=this['_generateTape'](this['_idsRoots']['get'](_0x3bbc17),[]),_0xa2cc6['deletions'][_0x3bbc17]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3bbc17)||G(_0x3bbc17,!0x1),[])):_0x5d6796['delete'](_0x3bbc17);}for(const _0x529ec0 of _0x5d6796){const _0x5ac447=_0xa2cc6['insertions'][_0x529ec0];for(const _0xcfe053 of _0x5ac447){const _0x4ddad3=this['_getVidAttributeName'](_0xcfe053),_0x1f31bc=_0xcfe053['item']['getAttribute'](_0x4ddad3);_0x124ea9['delete'](_0x1f31bc),_0x1f31bc>=this['_startingRevisionId']&&_0x3b45d1['set'](_0x1f31bc,_0x52cfbf['get'](_0x1f31bc));}}for(const _0x53e937 of _0x5d6796){const _0x4c560f=_0xa2cc6['insertions'][_0x53e937],_0x8b738f=this['_getBaseVids'](_0xa2cc6['deletions'][_0x53e937]);let _0x4f0e64=0x0;for(const _0x1bc0a9 of _0x4c560f){const _0xd23976=this['_getVidAttributeName'](_0x1bc0a9),_0x4cba6f=_0x1bc0a9['item']['getAttribute'](_0xd23976);if(!_0x3b45d1['has'](_0x4cba6f)&&!_0xdb90a4['has'](_0x4cba6f)){if(_0x124ea9['has'](_0x4cba6f))_0x4f0e64++;else{if(_0x4cba6f!=_0x8b738f[_0x4f0e64]){const _0x4269a7=_0x52cfbf['get'](_0x4cba6f)||_0x52cfbf['get'](_0x8b738f[_0x4f0e64]);for(;_0x4cba6f!=_0x8b738f[_0x4f0e64];)_0x124ea9['has'](_0x8b738f[_0x4f0e64])||(_0xdb90a4['set'](_0x8b738f[_0x4f0e64],_0x4269a7),_0x52cfbf['set'](_0x8b738f[_0x4f0e64],_0x4269a7)),_0x4f0e64++;}_0x4f0e64++;}}}}for(const _0x432679 of _0x5d6796){const _0x2f688f=_0xa2cc6['insertions'][_0x432679];for(const _0x12e056 of _0x2f688f){const _0x53411a=this['_getVidAttributeName'](_0x12e056),_0x924e32=_0x12e056['item']['getAttribute'](_0x53411a);if(_0xdb90a4['has'](_0x924e32)){const _0x459323=_0xdb90a4['get'](_0x924e32);_0x124ea9['has'](_0x924e32)||_0x124ea9['set'](_0x924e32,{..._0x459323}),_0x3b45d1['set'](_0x924e32,{..._0x459323});}}}for(const _0x14f91a of _0x124ea9['keys']())_0x14f91a>=this['_startingRevisionId']&&_0x124ea9['delete'](_0x14f91a);const _0x235fe5=new Map();for(const _0x55d927 of _0x5d6796){let _0x377d74=_0xa2cc6['insertions'][_0x55d927];for(const _0x753f5 of _0x377d74)if(_0x753f5['item']['is']('element','tableCell')){const _0x3bd2d7=this['_getVidAttributeName'](_0x753f5),_0x22d7d0=_0x753f5['item']['getAttribute'](_0x3bd2d7);if(_0x3b45d1['has'](_0x22d7d0)){const _0x37a7ab=_0x753f5['item']['parent']['parent']['getAttribute']('vid_start'),_0x573eb2=_0x235fe5['get'](_0x37a7ab)||new Set();_0x573eb2['add'](_0x3b45d1['get'](_0x22d7d0)['userId']),_0x235fe5['set'](_0x37a7ab,_0x573eb2);}}_0x377d74=_0xa2cc6['deletions'][_0x55d927];for(const _0x21a6b2 of _0x377d74)if(_0x21a6b2['item']['is']('element','tableCell')){const _0x327213=this['_getVidAttributeName'](_0x21a6b2),_0x5d0fef=_0x21a6b2['item']['getAttribute'](_0x327213);if(_0x124ea9['has'](_0x5d0fef)){const _0x560d82=_0x21a6b2['item']['parent']['parent']['getAttribute']('vid_start'),_0x2a0599=_0x235fe5['get'](_0x560d82)||new Set();_0x2a0599['add'](_0x124ea9['get'](_0x5d0fef)['userId']),_0x235fe5['set'](_0x560d82,_0x2a0599);}}for(const _0x28fc8a of _0x235fe5['keys']())(_0x3b45d1['has'](_0x28fc8a)||_0x124ea9['has'](_0x28fc8a))&&_0x235fe5['delete'](_0x28fc8a);}for(const _0x3d9b92 of _0x5d6796){const _0x226bf3=_0xa2cc6['insertions'][_0x3d9b92];let _0x1f46e7=null,_0x506f30=null;for(const _0x2e467a of _0x226bf3){const _0x515b39=this['_getVidAttributeName'](_0x2e467a),_0x1623ad=_0x2e467a['item']['getAttribute'](_0x515b39),_0x386308=_0x235fe5['get'](_0x1623ad);_0x386308&&'elementStart'==_0x2e467a['type']&&(_0x1f46e7=Array['from'](_0x386308)[0x0],_0x506f30=_0x2e467a['item']['getAttribute']('vid_end')),_0x1f46e7&&(_0x124ea9['set'](_0x1623ad,{'userId':_0x1f46e7}),_0x3b45d1['set'](_0x1623ad,{'userId':_0x1f46e7})),_0x1623ad==_0x506f30&&(_0x1f46e7=null,_0x506f30=null);}}const _0x34fbfd={},_0x4a24bc=new Set();for(const _0x5e57d3 of _0x5d6796){const _0x462d62=_0x4a72ec['deletions'][_0x5e57d3],_0x42af05=_0x4a72ec['insertions'][_0x5e57d3];for(const {userId:_0x2fdd21}of this['_touchedMarkers']['values']())null!==_0x2fdd21&&_0x4a24bc['add'](_0x2fdd21);for(const {userId:_0x4fabb4}of this['_touchedRoots']['values']())null!==_0x4fabb4&&_0x4a24bc['add'](_0x4fabb4);this['_markChanges'](_0x42af05,_0xa2cc6['insertions'][_0x5e57d3],_0x3b45d1,'insertion',_0x4a24bc),this['_markChanges'](_0x462d62,_0xa2cc6['deletions'][_0x5e57d3],_0x124ea9,'deletion',_0x4a24bc),_0x34fbfd[_0x5e57d3]={'insertions':this['_prepareViewToSave'](_0x42af05),'deletions':this['_prepareViewToSave'](_0x462d62),'attachChange':this['_touchedRoots']['get'](_0x5e57d3)||null,'attributesBefore':_0x3aed55(this['_baseRootsAttributes']['get'](_0x5e57d3))||{},'attributesAfter':_0x3aed55(this['_diffRootsAttributes']['get'](_0x5e57d3))};}return{'diffData':_0x34fbfd,'authorsIds':Array['from'](_0x4a24bc)};}['_processRootBeforeSave'](_0x7e742d){for(const [,_0xbf759b]of _0x7e742d['markers']){const _0x2f21c7=_0xbf759b['start']['getAncestors']()['filter'](_0x10729b=>'tableCell'==_0x10729b['name']);for(const _0x506df1 of _0x2f21c7)0x1==_0x506df1['childCount']&&_0x506df1['getChild'](0x0)['is']('element','paragraph')&&_0x506df1['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x309c29){this['_processRootBeforeSave'](_0x309c29);const _0x179529=this['editor']['data']['toView'](_0x309c29,{}),_0x37384d=Array['from'](_0x179529['getChildren']())['map'](_0x59b5ea=>this['_getViewJson'](_0x59b5ea));return JSON['stringify'](_0x37384d);}['_getViewJson'](_0x43662a){if(_0x43662a['is']('$text'))return _0x43662a['data'];{const _0x30e6f0=_0x43662a;return{'type':Object['keys'](T)['find'](_0x188962=>_0x43662a instanceof T[_0x188962]),'name':_0x30e6f0['name'],'attributes':Array['from'](_0x30e6f0['getAttributes']()),'children':Array['from'](_0x30e6f0['getChildren']())['map'](_0x5961b9=>this['_getViewJson'](_0x5961b9))};}}['_markChanges'](_0x3c4087,_0x423891,_0x1e6ce5,_0x5aaa4a,_0x2553bc){let _0x362e98=null,_0x2dc12a=null,_0x17c4f6=0x0;const _0x22473d=this['editor']['model'];for(let _0x123cc6=0x0;_0x123cc6<_0x423891['length'];_0x123cc6++){const _0x3447ee=this['_getVidAttributeName'](_0x423891[_0x123cc6]),_0x52631a=_0x423891[_0x123cc6]['item']['getAttribute'](_0x3447ee),_0x544eb4=_0x1e6ce5['get'](_0x52631a),_0x10f0bf=_0x123cc6==_0x423891['length']-0x1;(!_0x362e98&&_0x544eb4&&(_0x362e98=_0x544eb4,_0x2dc12a=_0x423891[_0x123cc6]),_0x362e98&&(!_0x544eb4||_0x544eb4['userId']!=_0x362e98['userId']))&&(_0x339416(_0x544eb4,L(_0x2dc12a,_0x3c4087,_0x22473d),L(_0x423891[_0x123cc6],_0x3c4087,_0x22473d)),_0x362e98=_0x544eb4||null,_0x2dc12a=_0x544eb4?_0x423891[_0x123cc6]:null),_0x362e98&&_0x10f0bf&&_0x339416(_0x544eb4,L(_0x2dc12a,_0x3c4087,_0x22473d),W(_0x423891[_0x123cc6],_0x3c4087,_0x22473d));}function _0x339416(_0x43fc26,_0x299704,_0x528385){const _0x22e408=_0x362e98['userId'],_0x4f0c83='revision:'+_0x5aaa4a+':'+_0x22e408+':'+_0x17c4f6++,_0x1ff524=_0x22473d['createRange'](_0x299704,_0x528385);_0x3c4087['markers']['set'](_0x4f0c83,_0x1ff524),null!==_0x22e408&&_0x2553bc['add'](_0x22e408);}}['_getVidAttributeName'](_0x4dcea4){switch(_0x4dcea4['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x1654aa,_0x119c70){_0x1654aa['baseVersion']=null;for(const _0x583359 in _0x1654aa){const _0x486468=_0x1654aa[_0x583359];if(_0x486468 instanceof gt){const _0x4ddd4e=_0x119c70['get'](_0x486468['root']['rootName']);_0x1654aa[_0x583359]=this['_fixPosition'](_0x486468,_0x4ddd4e);}if(_0x486468 instanceof vt){const _0xdf85cb=_0x119c70['get'](_0x486468['root']['rootName']);_0x1654aa[_0x583359]=this['_fixRange'](_0x486468,_0xdf85cb);}'root'===_0x583359&&(_0x1654aa['root']=_0x119c70['get'](_0x1654aa['root']['rootName']));}}['_fixRange'](_0x395a16,_0x198e53){return this['editor']['model']['createRange'](this['_fixPosition'](_0x395a16['start'],_0x198e53),this['_fixPosition'](_0x395a16['end'],_0x198e53));}['_fixPosition'](_0x52a139,_0x4db915){return this['editor']['model']['createPositionFromPath'](_0x4db915,_0x52a139['path'],_0x52a139['stickiness']);}['_handleInsertOperation'](_0x3cb9cb){const _0xea90bb=this['_idsRoots']['get'](_0x3cb9cb['position']['root']['rootName']),_0x17b26=this['_fixPosition'](_0x3cb9cb['position'],_0xea90bb),_0x1ce550=null===_0x3cb9cb['_authorId']?null:_0x3cb9cb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x43526f=_0x17b26['parent'],_0x40c92e=this['_revisionId'],_0x40d459=[];for(const _0x385382 of _0x3cb9cb['nodes'])if(_0x385382['is']('element'))_0x40d459['push'](this['_makeIdsRoot'](_0x385382));else{for(let _0x289d0f=0x0;_0x289d0f<_0x385382['offsetSize'];_0x289d0f++)_0x40d459['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x2dd185=this['_revisionId'];for(let _0x50d937=_0x40c92e;_0x50d937<_0x2dd185;_0x50d937++)this['_touched']['set'](_0x50d937,{'userId':_0x1ce550});_0x43526f['_insertChild'](_0x17b26['offset'],_0x40d459);}['_handleMoveOperation'](_0x1691a0){(_0x1691a0=this['_cloneOperation'](_0x1691a0,this['_idsRoots']))['_execute']();const _0xc944fb=null===_0x1691a0['_authorId']?null:_0x1691a0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5deaa3=_0x1691a0['getMovedRangeStart'](),_0x196be0=_0x5deaa3['parent'],_0x507b8e=_0x5deaa3['offset'];!function _0x54031b(_0xa33eb9,_0x4b0a5e,_0x4a0901,_0x58f440){for(let _0x3a8d30=_0x4a0901;_0x3a8d30<_0x58f440;_0x3a8d30++){const _0x43ed4d=_0x4b0a5e['getChild'](_0x3a8d30);_0x43ed4d['is']('element','$text')?_0xa33eb9['set'](_0x43ed4d['getAttribute']('vid'),{'userId':_0xc944fb}):(_0xa33eb9['set'](_0x43ed4d['getAttribute']('vid_start'),{'userId':_0xc944fb}),_0x54031b(_0xa33eb9,_0x43ed4d,0x0,_0x43ed4d['childCount']),_0xa33eb9['set'](_0x43ed4d['getAttribute']('vid_end'),{'userId':_0xc944fb}));}}(this['_touched'],_0x196be0,_0x507b8e,_0x507b8e+_0x1691a0['howMany']);}['_handleMergeOperation'](_0x3cf95e){const _0x1edd07=null===(_0x3cf95e=this['_cloneOperation'](_0x3cf95e,this['_idsRoots']))['_authorId']?null:_0x3cf95e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x27a96d=_0x3cf95e['targetPosition']['parent'],_0x58ffa8=_0x3cf95e['sourcePosition']['parent'],_0x11f145=_0x27a96d['getAttribute']('vid_end'),_0x4d812c=_0x58ffa8['getAttribute']('vid_start');_0x27a96d['_setAttribute']('vid_end',_0x58ffa8['getAttribute']('vid_end')),_0x58ffa8['_setAttribute']('vid_end',_0x11f145),this['_touched']['set'](_0x4d812c,{'userId':_0x1edd07}),this['_touched']['set'](_0x11f145,{'userId':_0x1edd07}),_0x3cf95e['_execute']();}['_handleSplitOperation'](_0x5477cc){const _0xdf4691=null===(_0x5477cc=this['_cloneOperation'](_0x5477cc,this['_idsRoots']))['_authorId']?null:_0x5477cc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b4c34=_0x5477cc['graveyardPosition'],_0x1f19d2=_0x5477cc['splitPosition']['parent'];_0x5477cc['_execute']();const _0x30152d=_0x1f19d2['getAttribute']('vid_end'),_0x498133=_0x5477cc['insertionPosition']['nodeAfter'];if(_0x4b4c34){const _0x1623f6=_0x498133['getAttribute']('vid_end'),_0xd0402e=_0x1f19d2['getAttribute']('vid_end');_0x1f19d2['_setAttribute']('vid_end',_0x1623f6),_0x498133['_setAttribute']('vid_end',_0xd0402e),this['_touched']['set'](_0x1f19d2['getAttribute']('vid_end'),{'userId':_0xdf4691}),this['_touched']['set'](_0x498133['getAttribute']('vid_start'),{'userId':_0xdf4691});}else{const _0x3e8205=this['_revisionId']++,_0x387924=this['_revisionId']++;_0x1f19d2['_setAttribute']('vid_end',_0x3e8205),_0x498133['_setAttribute']('vid_start',_0x387924),_0x498133['_setAttribute']('vid_end',_0x30152d),this['_touched']['set'](_0x3e8205,{'userId':_0xdf4691}),this['_touched']['set'](_0x387924,{'userId':_0xdf4691});}}['_handleMarkerOperation'](_0x2d7850){if(!_0x2d7850['affectsData'])return;const _0x457e8f=(_0x2d7850=this['_cloneOperation'](_0x2d7850,this['_diffRoots']))['oldRange']?_0x2d7850['oldRange']['root']:null,_0xbe1b50=_0x2d7850['newRange']?_0x2d7850['newRange']['root']:null;_0x457e8f&&this['_markers']['delete'](_0x2d7850['name']),_0xbe1b50&&this['_markers']['set'](_0x2d7850['name'],_0x2d7850['newRange']['clone']());const _0x51458c=null===_0x2d7850['_authorId']?null:_0x2d7850['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x519e7e=_0x2d7850['name'];if(!this['_touchedMarkers']['has'](_0x519e7e))return void this['_touchedMarkers']['set'](_0x519e7e,{'range':_0x2d7850['oldRange'],'userId':_0x51458c});const _0x191160=this['_touchedMarkers']['get'](_0x519e7e),_0x182832=_0x191160['range'],_0x543f6d=_0x2d7850['newRange'];null==_0x182832&&null==_0x543f6d||_0x182832&&_0x543f6d&&_0x182832['isEqual'](_0x543f6d)?this['_touchedMarkers']['delete'](_0x2d7850['name']):_0x191160['userId']=_0x51458c;}['_handleRootOperation'](_0x113cb4,_0x3fff7b){this['_diffRoots']['has'](_0x113cb4['rootName'])?this['_diffRoots']['get'](_0x113cb4['rootName'])['_isAttached']=_0x113cb4['isAdd']:(this['_diffRoots']['set'](_0x113cb4['rootName'],G(_0x113cb4['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x113cb4['rootName'],{}),_0x3fff7b&&this['_idsRoots']['set'](_0x113cb4['rootName'],G(_0x113cb4['rootName'],!0x0)));const _0x5e29eb=null===_0x113cb4['_authorId']?null:_0x113cb4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3690a2=this['_touchedRoots']['get'](_0x113cb4['rootName']);_0x3690a2&&_0x3690a2['userId']===_0x5e29eb?this['_touchedRoots']['delete'](_0x113cb4['rootName']):this['_touchedRoots']['set'](_0x113cb4['rootName'],{'userId':_0x5e29eb,'isAttached':_0x113cb4['isAdd']});}['_handleRootAttributeOperation'](_0x1fb96b){const _0x48bb99=this['_diffRootsAttributes']['get'](_0x1fb96b['root']['rootName']);null===_0x1fb96b['newValue']?delete _0x48bb99[_0x1fb96b['key']]:_0x48bb99[_0x1fb96b['key']]=_0x1fb96b['newValue'];}}function q(_0x2fb45f){const _0x440f7a=G(_0x2fb45f['rootName'],_0x2fb45f['isAttached']());for(const _0x1facff of _0x2fb45f['getChildren']()){const _0xdc953=_0x1facff['_clone'](!0x0);_0x440f7a['_appendChild'](_0xdc953);}return _0x440f7a;}function G(_0x2ccd73,_0xfd62b4=!0x0){const _0x187396=new wt();return _0x187396['rootName']=_0x2ccd73,_0x187396['_isAttached']=_0xfd62b4,_0x187396['isAttached']=()=>_0x187396['_isAttached'],_0x187396;}function L(_0x5411c1,_0x5051dc,_0x136ef7){const _0x427d09='elementEnd'==_0x5411c1['type']?_0x136ef7['createPositionAt'](_0x5411c1['item'],'end'):_0x136ef7['createPositionBefore'](_0x5411c1['item']);return _0x136ef7['createPositionFromPath'](_0x5051dc,_0x427d09['path'],_0x427d09['stickiness']);}function W(_0x20238d,_0x3f9dba,_0x1e17a0){const _0x32df42='elementStart'==_0x20238d['type']?_0x1e17a0['createPositionAt'](_0x20238d['item'],0x0):_0x1e17a0['createPositionAfter'](_0x20238d['item']);return _0x1e17a0['createPositionFromPath'](_0x3f9dba,_0x32df42['path'],_0x32df42['stickiness']);}class ns extends _0x4ee463{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4b267f,_0x1f88c1){super(_0x4b267f),this['focusTracker']=new _0x3a6ef4(),this['keystrokes']=new _0x2b4ea5(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1f88c1),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'](),_0x1948b3({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x555a1d=_0x3a7552=>_0x3a7552['stopPropagation']();this['keystrokes']['set']('arrowright',_0x555a1d),this['keystrokes']['set']('arrowleft',_0x555a1d),this['keystrokes']['set']('arrowup',_0x555a1d),this['keystrokes']['set']('arrowdown',_0x555a1d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x163805){this['revisionNameInputView']['fieldView']['element']['value']=_0x163805['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2084fb){const _0x50778c=new at(this['locale'],_0x27a5db),_0x359fbe=_0x50778c['fieldView'];_0x359fbe['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5633aa=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2084fb&&(_0x5633aa+='\x20('+y(this['locale'],'optional')+')'),(_0x50778c['label']=_0x5633aa,_0x359fbe['on']('input',()=>{this['revisionNameInputValue']=_0x359fbe['element']['value']['trim']();}),_0x50778c);}}class u extends _0x25b853{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1488c9=this['editor'],_0x5afdf4=_0x1488c9['plugins']['get']('RevisionTracker');_0x1488c9['ui']['componentFactory']['add']('revisionHistory',_0x4574a7=>{const _0x8d0d52=_0xaa4d18(_0x4574a7),_0x7547f0=_0x8d0d52['panelView']['children'],_0x2c9668=new te(_0x4574a7),_0x33c6ca=new _0x39934b(_0x4574a7),_0xf08196=new _0x302693(_0x4574a7),_0x2d6987=new _0x39934b(_0x4574a7),_0x265623=new _0x302693(_0x4574a7);return _0x8d0d52['bind']('isEnabled')['to'](_0x5afdf4,'isReady',_0x5afdf4,'isEnabled',_0x1488c9,'isReadOnly',(_0x2f606d,_0x406a73,_0x11645e)=>_0x2f606d&&_0x406a73&&!_0x11645e),_0x8d0d52['buttonView']['set']({'icon':_0x152ab3['history'],'label':y(_0x4574a7,'Revision\x20history'),'tooltip':!0x0}),_0xf08196['set']({'label':y(_0x4574a7,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0xf08196['bind']('isEnabled')['to'](_0x5afdf4,'isReady',_0x5afdf4,'isEnabled',_0x1488c9,'isReadOnly',(_0x284cbb,_0x265e1a,_0x5b2ef5)=>_0x284cbb&&_0x265e1a&&!_0x5b2ef5),_0xf08196['on']('execute',()=>this['_showDialog']()),_0x265623['set']({'label':y(_0x4574a7,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x265623['bind']('isEnabled')['to'](_0x5afdf4,'isReady',_0x1488c9,'isReadOnly',(_0x4c9629,_0x50331c)=>_0x4c9629&&!_0x50331c),_0x265623['on']('execute',()=>{_0x1488c9['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x8d0d52['isOpen']=!0x1,_0x1488c9['editing']['view']['focus']();}),_0x33c6ca['children']['add'](_0xf08196),_0x2d6987['children']['add'](_0x265623),_0x2c9668['role']='menu',_0x2c9668['items']['addMany']([_0x33c6ca,_0x2d6987]),_0x7547f0['add'](_0x2c9668),_0x8d0d52;}),_0x1488c9['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0xf15886=this['editor'],_0x12deec=_0xf15886['locale'],_0x19561f=new _0x564dbb(_0x12deec),_0xadfdf3=new _0x37cb0e(_0x12deec);_0x19561f['buttonView']['set']({'icon':_0x152ab3['history'],'label':y(_0x12deec,'Revision\x20history')});const _0xae013c=new _0x37401f(_0x12deec,_0x19561f),_0x30252d=new _0x83d227(_0x12deec);_0x30252d['set']({'label':y(_0x12deec,'Save\x20current\x20revision')}),_0x30252d['delegate']('execute')['to'](_0x19561f),_0x30252d['on']('execute',()=>{this['_showDialog']();}),_0xae013c['children']['add'](_0x30252d),_0xadfdf3['items']['add'](_0xae013c);const _0x1f5f4b=new _0x37401f(_0x12deec,_0x19561f),_0x53d076=new _0x83d227(_0x12deec);return _0x53d076['set']({'label':y(_0x12deec,'Open\x20revision\x20history')}),_0x53d076['delegate']('execute')['to'](_0x19561f),_0x53d076['on']('execute',()=>{_0xf15886['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x1f5f4b['children']['add'](_0x53d076),_0xadfdf3['items']['add'](_0x1f5f4b),_0x19561f['panelView']['children']['add'](_0xadfdf3),_0x19561f;}['_showDialog'](){const _0x2d6c57=this['editor'],_0x59b453=_0x2d6c57['locale'],_0x1aa6d9=_0x2d6c57['plugins']['get']('Dialog'),_0x12d08d=_0x2d6c57['plugins']['get']('RevisionTracker');function _0x5490ac(_0x1cc396){_0x2d6c57['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1cc396['revisionName']?_0x1cc396['revisionNameInputView']['errorText']=y(_0x59b453,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2d6c57['plugins']['get'](l)['saveRevision']({'name':_0x1cc396['revisionName']}),_0x1aa6d9['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5490ac(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x1aa6d9['show']({'id':'revisionSave','title':y(_0x59b453,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x2d6c57['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x1aa6d9['hide']()},{'label':y(_0x2d6c57['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x25feca){_0x25feca['bind']('isEnabled')['to'](_0x12d08d,'isReady',_0x12d08d,'isEnabled',_0x2d6c57,'isReadOnly',(_0x225ce6,_0x424c1b,_0x6a4fd7)=>_0x225ce6&&_0x424c1b&&!_0x6a4fd7);},'onExecute':()=>_0x5490ac(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x2425b5=this['editor'],_0x81c23b=_0x2425b5['locale'];this['_saveRevisionFormView']=new ns(_0x81c23b,_0x2425b5['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4ee463{['changeId'];['_model'];constructor(_0x1df394,_0x390c78){super(_0x1df394),this['_model']=_0x390c78,this['changeId']=_0x390c78['id'];const _0xf81a01=this['bindTemplate'],_0x25dc95=y(_0x1df394,_0x390c78['data']['isSuggestion']?'Suggested\x20by':'add'==_0x390c78['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x390c78['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0xf81a01['to']('type',_0x13dba7=>'ck-revision-change__'+_0x13dba7)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x25dc95}]},{'text':'\x20'+_0x390c78['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x57e8b5(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x41d208){super(),this['id']=_0x41d208['id']||_0xf0a907(),this['author']=_0x41d208['author'],this['type']=_0x41d208['type'],this['data']=_0x41d208['data']||{},this['rootName']=_0x41d208['rootName'],this['set']('createdAt',_0x41d208['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(_0x5c92c3,_0x555d7d){this['newRevisionId']=_0x5c92c3,this['oldRevisionId']=_0x555d7d,this['changes']=new _0x17d2c9();}['_setChanges'](_0x1523af){for(const _0x3aa78c of _0x1523af)this['changes']['add'](_0x3aa78c);}}const tt={'c':_0x4bb0d0,'a':_0x1c226f,'e':_0x102b40,'r':_0xbad04d,'u':_0x4947d7};class d extends _0x25b853{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x4034d6,_0x5bb53b,A];}constructor(_0x3d07ae){super(_0x3d07ae),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',(_0x331ab0,_0x5b1bf7,_0x5c01dc)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x52c0ac=>{for(const _0x3b5269 of this['editor']['editing']['view']['document']['roots'])_0x5c01dc?_0x52c0ac['removeClass']('ck-editor__editable__overlay',_0x3b5269):_0x52c0ac['addClass']('ck-editor__editable__overlay',_0x3b5269);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x2c4ffa=>null!==_0x2c4ffa),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x292980,_0x41ffa9,_0x3e6748)=>_0x292980&&_0x3e6748?_0x41ffa9['changes']['getIndex'](_0x3e6748):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x28cf06,_0x2d7753)=>_0x28cf06?_0x2d7753['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5bb53b);}['init'](){const _0x2e20c2=this['editor'],_0x45755a=new yt(_0x2e20c2,{'direction':'backward'}),_0x26ee73=new yt(_0x2e20c2,{'direction':'forward'});(_0x2e20c2['commands']['add']('showPreviousChange',_0x45755a),_0x2e20c2['commands']['add']('showNextChange',_0x26ee73),_0x2e20c2['commands']['add']('restoreRevision',new bt(_0x2e20c2)),this['on']('change:numberOfChanges',()=>{_0x45755a['refresh'](),_0x26ee73['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x2e20c2['enableReadOnlyMode']('revision-viewer'),_0x2e20c2['plugins']['has']('WidgetToolbarRepository'))&&_0x2e20c2['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x1d854c){await this['loadRevisionData'](_0x1d854c);const _0x3af221={};for(const _0x271632 in _0x1d854c['diffData']){if(_0x1d854c['diffData'][_0x271632]['attachChange']&&!_0x1d854c['diffData'][_0x271632]['attachChange']['isAttached'])continue;const _0x183036=this['_removeRevisionMarkers'](JSON['parse'](_0x1d854c['diffData'][_0x271632]['insertions'])),_0x1fbe75=this['editor']['editing']['view']['document'],_0x574ea9=new _0x288804(_0x1fbe75,_0x183036['map'](_0x224339=>this['_getViewObj'](_0x224339)));this['editor']['data']['processor']['useFillerType']('marked'),_0x3af221[_0x271632]=this['editor']['data']['processor']['toData'](_0x574ea9),this['editor']['data']['processor']['useFillerType']('default');}return _0x3af221;}async['getRevisionRootsAttributes'](_0x36ce71){await this['loadRevisionData'](_0x36ce71);const _0x3ef679={};for(const _0xfa948a in _0x36ce71['diffData'])_0x36ce71['diffData'][_0xfa948a]['attachChange']&&!_0x36ce71['diffData'][_0xfa948a]['attachChange']['isAttached']||(_0x3ef679[_0xfa948a]=_0x36ce71['diffData'][_0xfa948a]['attributesAfter']||{});return _0x3ef679;}['_removeRevisionMarkers'](_0x2012a1){return(_0x2012a1=_0x2012a1['filter'](_0x42babd=>!_0x42babd['name']||'revision-start'!==_0x42babd['name']&&'revision-end'!==_0x42babd['name']))['forEach'](_0x1fe422=>{'string'!=typeof _0x1fe422&&(_0x1fe422['children']=this['_removeRevisionMarkers'](_0x1fe422['children']),_0x1fe422['attributes']=_0x1fe422['attributes']['filter'](_0x301b70=>!_0x301b70[0x0]['startsWith']('data-revision-')));}),_0x2012a1;}async['compare'](_0x15e661,_0x4d6a40,_0x5de11a=!0x1){if(!this['isEnabled'])return;const _0x146862=this['diff'],_0x599bb6=this['repository'],_0x4df10b='string'==typeof _0x15e661?_0x599bb6['getRevision'](_0x15e661):_0x15e661,_0x58f165='string'==typeof _0x4d6a40?_0x599bb6['getRevision'](_0x4d6a40):_0x4d6a40,_0x569acd=_0x4df10b['id'],_0xccb1f6=_0x58f165?_0x58f165['id']:null;if(!_0x5de11a&&this['diff']&&this['diff']['newRevisionId']===_0x569acd&&this['diff']['oldRevisionId']===_0xccb1f6)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x569acd,_0xccb1f6);const _0x1cec22=this['_getRevisionsRange'](_0x4df10b,_0x58f165,!0x0)['map'](_0x29064c=>this['loadRevisionData'](_0x29064c));return _0x1cec22['push'](new Promise(_0x4dd9db=>{setTimeout(_0x4dd9db,0x14);})),Promise['all'](_0x1cec22)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x313c51=this['_getDiff'](_0x569acd,_0xccb1f6);for(const _0x1d0240 of _0x313c51['changes'])this['_changeIdToChange']['set'](_0x1d0240['id'],_0x1d0240);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xc1d011=>{for(const _0x21dd8a of this['editor']['model']['document']['getRootNames']())_0xc1d011['detachRoot'](_0x21dd8a);for(const _0x329566 of Object['keys'](_0x313c51['model'])){const _0x5bbc62=_0xc1d011['addRoot'](_0x329566);for(const _0x9a3c of Object['keys'](_0x313c51['attributes'][_0x329566]))_0xc1d011['setAttribute'](_0x9a3c,_0x313c51['attributes'][_0x329566][_0x9a3c],_0x5bbc62);_0xc1d011['insert'](_0x313c51['model'][_0x329566],_0x5bbc62,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x313c51['changes'])),this['isReady']=!0x0;})['catch'](_0x61b545=>{console['error'](_0x61b545),this['_cleanUp'](),_0x146862&&(this['diff']=_0x146862),this['isReady']=!0x0;});}['addRevisionData'](_0xb6d7ad,_0x48f5ac){const _0x550896=this['repository']['createRevision'](_0xb6d7ad);return _0x550896['on']('_update',(_0x477362,_0x198a3e,_0x2f5b61)=>_0x48f5ac(_0x198a3e,_0x2f5b61,_0x550896)),this['repository']['addRevision'](_0x550896),_0x550896;}['loadRevisionData'](_0x1131e5){if(!_0x1131e5||_0x1131e5['diffData'])return Promise['resolve']();{const _0xff7376=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xff7376,'revisionId':_0x1131e5['id']})['then'](_0x41a80d=>{_0x1131e5['_update']({'diffData':_0x41a80d['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},_0x5944c6=>{for(const _0xc21fca of this['editor']['model']['document']['getRootNames']())_0x5944c6['detachRoot'](_0xc21fca);});}['_sortAndFilterDiffChanges'](_0x26b24f){const _0x48d6d0=[],_0x5b84f4=new Map();for(const _0x1457a0 of this['editor']['model']['document']['getRootNames']()){const _0x16728f=this['editor']['editing']['view']['getDomRoot'](_0x1457a0);if(!_0x16728f)continue;const _0x2a5500=_0x16728f['getClientRects']()['item'](0x0);_0x2a5500&&(_0x48d6d0['push'](_0x1457a0),_0x5b84f4['set'](_0x1457a0,_0x2a5500));}return _0x48d6d0['sort']((_0x4463ec,_0x16c4e1)=>{const _0x4fd006=_0x5b84f4['get'](_0x4463ec),_0x41fd92=_0x5b84f4['get'](_0x16c4e1);return _0x4fd006['y']-_0x41fd92['y']||_0x4fd006['x']-_0x41fd92['x'];}),(_0x26b24f=_0x26b24f['filter'](_0x57ff76=>_0x48d6d0['includes'](_0x57ff76['rootName'])))['sort']((_0x1681fe,_0x99c2dc)=>_0x48d6d0['indexOf'](_0x1681fe['rootName'])-_0x48d6d0['indexOf'](_0x99c2dc['rootName'])),_0x26b24f;}['_makeTape'](_0x1e639c){const _0x13fd32=Array['from'](_0x1e639c['markers'])['filter'](([_0x32e07e,_0x440fe2])=>_0x32e07e['startsWith']('revision:')&&!_0x440fe2['isCollapsed']),_0x35bb76=Array['from'](this['editor']['model']['createRangeIn'](_0x1e639c)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x13fd32['length'])for(const _0xd47e0f of _0x35bb76){const [_0x17327e,_0x478b9b]=_0x13fd32[0x0],[,_0xfbd9d5,_0x304783]=_0x17327e['split'](':');if(_0x478b9b['end']['isEqual'](_0xd47e0f['nextPosition'])&&_0x13fd32['shift'](),(_0xd47e0f['previousPosition']['isEqual'](_0x478b9b['start'])||_0xd47e0f['previousPosition']['isAfter'](_0x478b9b['start']))&&('insertion'==_0xfbd9d5?_0xd47e0f['isAdded']={'userId':_0x304783}:'deletion'==_0xfbd9d5&&(_0xd47e0f['isRemoved']={'userId':_0x304783})),0x0==_0x13fd32['length'])break;}return _0x35bb76;}['_refreshStartEndIndex'](_0xcafe7e){const _0xde3c2=new Map();for(let _0x253e32=0x0;_0x253e32<_0xcafe7e['length'];_0x253e32++)'text'===_0xcafe7e[_0x253e32]['type']?(_0xcafe7e[_0x253e32]['item']['startIndex']=_0x253e32,_0xcafe7e[_0x253e32]['item']['endIndex']=_0x253e32):('elementStart'===_0xcafe7e[_0x253e32]['type']?_0xcafe7e[_0x253e32]['item']['startIndex']=_0x253e32:'elementEnd'===_0xcafe7e[_0x253e32]['type']&&(_0xcafe7e[_0x253e32]['item']['endIndex']=_0x253e32),_0xde3c2['set'](_0xcafe7e[_0x253e32]['id'],_0x253e32));for(const _0x3f44a5 of _0xde3c2['values']())'elementStart'===_0xcafe7e[_0x3f44a5]['type']?_0xcafe7e[_0x3f44a5]['item']['endIndex']=_0xde3c2['get'](_0xcafe7e[_0x3f44a5]['pairId']):'elementEnd'===_0xcafe7e[_0x3f44a5]['type']&&(_0xcafe7e[_0x3f44a5]['item']['startIndex']=_0xde3c2['get'](_0xcafe7e[_0x3f44a5]['pairId']));}['_processTape'](_0x3a3aaa){for(let _0x4a9edb=0x0;_0x4a9edb<_0x3a3aaa['length'];_0x4a9edb++){if('elementStart'===_0x3a3aaa[_0x4a9edb]['type'])_0x3a3aaa[_0x4a9edb]['item']['startIndex']=_0x4a9edb;else{if('elementEnd'===_0x3a3aaa[_0x4a9edb]['type']){_0x3a3aaa[_0x4a9edb]['item']['endIndex']=_0x4a9edb;const _0x57b80e=_0x3a3aaa[_0x4a9edb]['item']['startIndex'];_0x3a3aaa[_0x57b80e]['pairId']=_0x3a3aaa[_0x4a9edb]['id'],_0x3a3aaa[_0x4a9edb]['pairId']=_0x3a3aaa[_0x57b80e]['id'];}else _0x3a3aaa[_0x4a9edb]['item']['startIndex']=_0x4a9edb,_0x3a3aaa[_0x4a9edb]['item']['endIndex']=_0x4a9edb,_0x3a3aaa[_0x4a9edb]['pairId']=null;}_0x3a3aaa[_0x4a9edb]['markersStart']||(_0x3a3aaa[_0x4a9edb]['markersStart']=[],_0x3a3aaa[_0x4a9edb]['markersEnd']=[]);}}['_markInsertions'](_0x547af7,_0x6c167f){const _0x10e98b=_0x547af7['filter'](_0x2fa9fa=>!_0x2fa9fa['isAdded']);for(let _0x2b9a8f=0x0;_0x2b9a8f<_0x6c167f['length'];_0x2b9a8f++)_0x6c167f[_0x2b9a8f]['isAdded']&&(_0x10e98b[_0x2b9a8f]['isAdded']=_0x6c167f[_0x2b9a8f]['isAdded']);}['_makeModelFromViewString'](_0x516112){const _0x39f804=JSON['parse'](_0x516112),_0x371af4=this['editor']['editing']['view']['document'],_0x4bff4a=new _0x288804(_0x371af4,_0x39f804['map'](_0x595c4d=>this['_getViewObj'](_0x595c4d)));return this['editor']['data']['toModel'](_0x4bff4a);}['_getViewObj'](_0x4fd917){const _0x417e3d=this['editor']['editing']['view']['document'];if('string'==typeof _0x4fd917)return new _0x464038(_0x417e3d,_0x4fd917);{const _0x1ec636=_0x4fd917['children']['map'](_0x56259e=>this['_getViewObj'](_0x56259e));return new(tt[_0x4fd917['type']]||_0x2aade1)(_0x417e3d,_0x4fd917['name'],_0x4fd917['attributes'],_0x1ec636);}}['_getDiff'](_0x11978e,_0x278a0f=null){const _0x47974a=this['repository']['getRevision'](_0x11978e),_0x15be41=_0x278a0f?this['repository']['getRevision'](_0x278a0f):null,_0x4aafd3=this['_getRevisionsRange'](_0x47974a,_0x15be41),_0x2f644f=_0x4aafd3[_0x4aafd3['length']-0x1],_0x4ce292=new Map(),_0x42645c={'model':{},'attributes':{},'changes':[]},_0x5d0172=new Set(),_0x424128=new Map();for(let _0x170695=_0x4aafd3['length']-0x1;_0x170695>=0x0;_0x170695--){const _0x363768=_0x4aafd3[_0x170695];for(const _0x2e8699 of Object['keys'](_0x363768['diffData']))if(_0x363768['diffData'][_0x2e8699]['attachChange']){const _0x47ecb9=_0x363768['diffData'][_0x2e8699]['attachChange'];_0x47ecb9['isAttached']?(_0x5d0172['add'](_0x2e8699),_0x424128['has'](_0x2e8699)&&_0x424128['get'](_0x2e8699)['userId']==_0x47ecb9['userId']?_0x424128['delete'](_0x2e8699):_0x424128['set'](_0x2e8699,_0x47ecb9)):_0x424128['has'](_0x2e8699)?(_0x5d0172['delete'](_0x2e8699),_0x424128['delete'](_0x2e8699)):(_0x5d0172['add'](_0x2e8699),_0x424128['set'](_0x2e8699,_0x47ecb9));}else _0x5d0172['add'](_0x2e8699);}for(const _0x1ae94c of _0x5d0172){const _0x36b556=_0x424128['has'](_0x1ae94c)&&!_0x424128['get'](_0x1ae94c)['isAttached'];let _0x1f07f3=_0x36b556?_0x4aafd3['length']-0x1:0x0;const _0x4fecf6=_0x36b556?-0x1:0x1;for(;_0x4aafd3[_0x1f07f3];){const _0x3f8cba=_0x4aafd3[_0x1f07f3];if(_0x3f8cba['diffData'][_0x1ae94c]){const _0x447719=_0x36b556?_0x3f8cba['diffData'][_0x1ae94c]['attributesBefore']:_0x3f8cba['diffData'][_0x1ae94c]['attributesAfter'];_0x42645c['attributes'][_0x1ae94c]=_0x447719?_0x3aed55(_0x447719):{};break;}_0x1f07f3+=_0x4fecf6;}}for(const _0x5788f7 of _0x4aafd3){_0x5788f7['model']={};for(const _0x2815e7 of _0x5788f7['authors'])_0x4ce292['set'](_0x2815e7['id'],_0x2815e7);for(const _0x4df2a9 of _0x5d0172){const _0x567e4f=_0x5788f7['diffData'][_0x4df2a9]?_0x5788f7['diffData'][_0x4df2a9]['insertions']:'[]',_0x3ef160=_0x5788f7['diffData'][_0x4df2a9]?_0x5788f7['diffData'][_0x4df2a9]['deletions']:'[]';_0x5788f7['model'][_0x4df2a9]={'insertions':this['_makeModelFromViewString'](_0x567e4f),'deletions':this['_makeModelFromViewString'](_0x3ef160)};}}for(const _0x5ecbbe of _0x5d0172){let _0x270339=null,_0x2447ab=0x0;const _0x32fdf2=new Map(Array['from'](_0x47974a['model'][_0x5ecbbe]['insertions']['markers'])['filter'](([_0x5cb457])=>!_0x5cb457['startsWith']('revision:')));let _0x5c1365=0x0;for(const _0xd9f40d of _0x4aafd3){const _0x1b8cec=this['_makeTape'](_0xd9f40d['model'][_0x5ecbbe]['insertions']);_0xd9f40d==_0x47974a?(_0x270339=_0x1b8cec,_0x2447ab=_0x270339['length'],_0x270339['forEach'](_0x54a396=>{_0x54a396['id']=_0x5c1365++;}),this['_processTape'](_0x270339)):this['_markInsertions'](_0x270339,_0x1b8cec);const _0x301c12=_0x270339['filter'](_0x6b43a8=>!_0x6b43a8['isAdded'])['map'](_0x357bd4=>_0x357bd4['id']);let _0x121af8=0x0;const _0x4c4813=this['_makeTape'](_0xd9f40d['model'][_0x5ecbbe]['deletions']);_0x4c4813['forEach'](_0x1f82ad=>{_0x1f82ad['isRemoved']?_0x1f82ad['id']=_0x2447ab++:_0x1f82ad['id']=_0x301c12[_0x121af8++];}),this['_processTape'](_0x4c4813),this['_setDistance'](_0x270339,'isAdded'),this['_setDistance'](_0x4c4813,'isRemoved'),_0xd9f40d==_0x47974a&&this['_markMarkers'](_0x270339,_0x32fdf2),_0x270339=this['_joinTapes'](_0x270339,_0x4c4813),this['_refreshStartEndIndex'](_0x270339),this['_setDistance'](_0x270339,'isRemoved');}_0x270339=_0x270339['filter'](_0x56f8a5=>!(_0x56f8a5['isAdded']&&_0x56f8a5['isRemoved']));const _0x2930ce=new Map(_0x2f644f['model'][_0x5ecbbe]['deletions']['markers']),_0x15ae3d=new Set(_0x32fdf2['keys']());for(const _0x5bbd0f of _0x2930ce['keys']())_0x15ae3d['delete'](_0x5bbd0f);this['_markSuggestions'](_0x270339,_0x15ae3d),this['_fixObsoleteTags'](_0x270339),_0x270339=this['_removeMissingPairs'](_0x270339),_0x270339=this['_markMismatchedRemovedTags'](_0x270339),_0x270339=this['_removeUnsupportedChanges'](_0x270339);const {root:_0x3541f0,changes:_0xd28826}=this['_makeModelFromTape'](_0x270339,_0x4ce292,_0x5ecbbe);_0x42645c['model'][_0x5ecbbe]=_0x3541f0;const _0x238b93=_0x424128['get'](_0x5ecbbe);if(_0x238b93){const _0x32e51b=_0x4ce292['get'](_0x238b93['userId']),_0x351ef0=new r({'author':_0x32e51b,'type':_0x238b93['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x5ecbbe});_0xd28826['unshift'](_0x351ef0),_0x42645c['attributes'][_0x5ecbbe]['revisionHistoryAttachChange']=_0x351ef0['id'];}_0x42645c['changes']=_0x42645c['changes']['concat'](_0xd28826);}return _0x42645c;}['_markMarkers'](_0x37eae5,_0x392558){for(let _0x53924d=0x0;_0x53924d<_0x37eae5['length'];_0x53924d++)for(const [_0x391f54,_0x1f0973]of _0x392558)_0x1f0973['start']['isEqual'](_0x37eae5[_0x53924d]['previousPosition'])&&_0x37eae5[_0x53924d]['markersStart']['push'](_0x391f54),_0x1f0973['end']['isEqual'](_0x37eae5[_0x53924d]['nextPosition'])&&_0x37eae5[_0x53924d]['markersEnd']['push'](_0x391f54);}['_joinTapes'](_0x235514,_0x406cd5){let _0x509be6=[],_0x39cd9e=0x0,_0x46c252=0x0;for(;_0x39cd9e<_0x235514['length']||_0x46c252<_0x406cd5['length'];){const _0x1b0039=_0x235514[_0x39cd9e]||{},_0x2a7f18=_0x406cd5[_0x46c252]||{};if(_0x1b0039['id']==_0x2a7f18['id'])_0x39cd9e++,_0x46c252++,_0x509be6['push'](_0x1b0039);else{if(_0x2a7f18['isRemoved']&&_0x1b0039['isAdded']){const {commonTape:_0xf45478,iEnd:_0x5659f7,jEnd:_0x21a9e5}=this['_threeWayMerge'](_0x235514,_0x39cd9e,_0x406cd5,_0x46c252);_0x509be6=_0x509be6['concat'](_0xf45478),_0x39cd9e=_0x5659f7,_0x46c252=_0x21a9e5;}else _0x2a7f18['isRemoved']?(_0x46c252++,_0x509be6['push'](_0x2a7f18)):(_0x39cd9e++,_0x509be6['push'](_0x1b0039));}}return _0x509be6;}['_markSuggestions'](_0x30e21b,_0x2af195){const _0x33c3a6=[];for(let _0x10c5a8=0x0;_0x10c5a8<_0x30e21b['length'];_0x10c5a8++){for(let _0x811ea0=0x0;_0x811ea0<_0x30e21b[_0x10c5a8]['markersStart']['length'];_0x811ea0++){const _0x1e1949=_0x30e21b[_0x10c5a8]['markersStart'][_0x811ea0];if(!_0x2af195['has'](_0x1e1949))continue;const {group:_0x23079e,type:_0x5bf026,authorId:_0x51f790}=_0x2143aa(_0x1e1949);'revision-suggestion'!=_0x23079e||'insertion'!=_0x5bf026&&'deletion'!=_0x5bf026||(_0x33c3a6['unshift']({'type':_0x5bf026,'name':_0x1e1949,'userId':_0x51f790}),_0x30e21b[_0x10c5a8]['markersStart']['splice'](_0x811ea0,0x1),_0x811ea0--);}_0x271412(_0x30e21b[_0x10c5a8]);for(let _0x3b409a=0x0;_0x3b409a<_0x30e21b[_0x10c5a8]['markersEnd']['length'];_0x3b409a++){const _0x47a562=_0x30e21b[_0x10c5a8]['markersEnd'][_0x3b409a];if(!_0x2af195['has'](_0x47a562))continue;const {group:_0x4524be,type:_0x50bec2}=_0x2143aa(_0x47a562);if('revision-suggestion'!=_0x4524be||'insertion'!=_0x50bec2&&'deletion'!=_0x50bec2)continue;_0x30e21b[_0x10c5a8]['markersEnd']['splice'](_0x3b409a,0x1),_0x3b409a--;const _0x3ca4fd=_0x33c3a6['findIndex'](_0x3d2925=>_0x3d2925['name']==_0x47a562);_0x3ca4fd>-0x1&&_0x33c3a6['splice'](_0x3ca4fd,0x1);}}function _0x2143aa(_0x2894fb){const _0x2ae98b=_0x2894fb['split'](':');return{'group':_0x2ae98b[0x0],'type':_0x2ae98b[0x1],'subType':_0x2ae98b['length']>=0x5?_0x2ae98b[0x2]:null,'id':_0x2ae98b['length']<0x5?_0x2ae98b[0x2]:_0x2ae98b[0x3],'authorId':_0x2ae98b['length']<0x5?_0x2ae98b[0x3]:_0x2ae98b[0x4],'markerCount':0x6==_0x2ae98b['length']?_0x2ae98b[0x5]:null};}function _0x271412(_0x34a1e1){for(let _0x12b6f4=0x0;_0x12b6f4<_0x33c3a6['length'];_0x12b6f4++){if(_0x34a1e1['isAdded']&&'insertion'==_0x33c3a6[_0x12b6f4]['type'])return _0x34a1e1['isAddSuggestion']=_0x33c3a6[_0x12b6f4],void delete _0x34a1e1['isAdded'];if(!_0x34a1e1['isAdded']&&!_0x34a1e1['isRemoved']&&'deletion'==_0x33c3a6[_0x12b6f4]['type'])return void(_0x34a1e1['isRemoveSuggestion']=_0x33c3a6[_0x12b6f4]);}}}['_setDistance'](_0xd706ac,_0x3d4fbc){let _0x25a8ef=0x0,_0x125a3a=!0x1;const _0x3d81de=new Map();for(const _0x1a2faa of _0xd706ac)_0x1a2faa[_0x3d4fbc]?_0x125a3a&&(_0x25a8ef++,_0x125a3a=!0x1):(_0x25a8ef++,_0x125a3a=!0x0),_0x3d81de['set'](_0x1a2faa['id'],_0x25a8ef);for(let _0x5cf892=0x0;_0x5cf892<_0xd706ac['length'];_0x5cf892++){if('isRemoved'==_0x3d4fbc&&_0xd706ac[_0x5cf892]['isAdded']||'isAdded'==_0x3d4fbc&&_0xd706ac[_0x5cf892]['isRemoved'])continue;if('text'==_0xd706ac[_0x5cf892]['type']){_0xd706ac[_0x5cf892]['distance']=0x0;continue;}const _0x2aea78=_0x3d81de['get'](_0xd706ac[_0x5cf892]['pairId']),_0x58f217=_0x3d81de['get'](_0xd706ac[_0x5cf892]['id']);_0xd706ac[_0x5cf892]['distance']=_0x2aea78-_0x58f217;}}['_getRevisionsRange'](_0x208f61,_0x357b4c,_0x310479=!0x1){const _0x4ddfcc=[];let _0x8bb7d4=this['repository']['getIndex'](_0x208f61),_0x1415e5=this['repository']['getIndex'](_0x357b4c);for(-0x1==_0x1415e5&&(_0x1415e5=this['repository']['_revisions']['length'],_0x310479=!0x1);_0x8bb7d4<_0x1415e5;)_0x4ddfcc['push'](this['repository']['getRevision'](_0x8bb7d4)),_0x8bb7d4++;return _0x310479&&_0x4ddfcc['push'](this['repository']['getRevision'](_0x8bb7d4)),_0x4ddfcc;}['_threeWayMerge'](_0x5cc55d,_0x5b55ac,_0x57fc69,_0x432e16){const _0xdbf44d=this['editor']['model']['schema'];let _0x1aeb9b=_0x5b55ac;for(;_0x5cc55d[_0x1aeb9b]&&_0x5cc55d[_0x1aeb9b]['isAdded'];)_0x1aeb9b++;let _0x149a24=_0x432e16;for(;_0x57fc69[_0x149a24]&&_0x57fc69[_0x149a24]['isRemoved'];)_0x149a24++;_0x4a6502(_0x5cc55d,_0x5b55ac,_0x1aeb9b),_0x4a6502(_0x57fc69,_0x432e16,_0x149a24);const _0x4082d4=_0x57fc69['slice'](_0x432e16,_0x149a24)['concat'](_0x5cc55d['slice'](_0x5b55ac,_0x1aeb9b));return _0x4082d4['sort']((_0x593ae7,_0x441ca2)=>_0x593ae7['side']!=_0x441ca2['side']?_0x593ae7['side']-_0x441ca2['side']:_0x593ae7['level']!=_0x441ca2['level']?_0x593ae7['level']-_0x441ca2['level']:_0x593ae7['distance']!=_0x441ca2['distance']?_0x441ca2['distance']-_0x593ae7['distance']:!!_0x593ae7['isAdded']!=!!_0x441ca2['isAdded']?-0x1==_0x593ae7['side']||0x0==_0x593ae7['side']?_0x593ae7['isAdded']?-0x1:0x1:_0x593ae7['isAdded']?0x1:-0x1:_0x593ae7['index']-_0x441ca2['index']),{'commonTape':_0x4082d4,'iEnd':_0x1aeb9b,'jEnd':_0x149a24};function _0x4a6502(_0x3b7f17,_0x227036,_0x776e29){let _0xb83dd6=-0x1,_0xb8207e=Number['POSITIVE_INFINITY'],_0x35f2f3=!0x0;for(let _0x3b45fd=_0x227036;_0x3b45fd<_0x776e29;_0x3b45fd++)if(_0xdbf44d['isInline'](_0x3b7f17[_0x3b45fd]['item'])||(_0x35f2f3=!0x1),_0x3b7f17[_0x3b45fd]['item']['startIndex']<_0x227036&&(_0xb83dd6=_0x3b45fd),_0x3b7f17[_0x3b45fd]['item']['endIndex']>=_0x776e29){_0xb8207e=_0x3b45fd;break;}_0x35f2f3&&(_0xb83dd6=_0x776e29-0x1);for(let _0x5c5337=_0x227036;_0x5c5337<_0x776e29;_0x5c5337++)_0x3b7f17[_0x5c5337]['side']=_0x5c5337<=_0xb83dd6?-0x1:_0x5c5337<_0xb8207e?0x0:0x1,_0x3b7f17[_0x5c5337]['index']=_0x5c5337;let _0x37a599=0x0;for(let _0x187f70=_0x227036;_0x187f70<=_0xb83dd6;_0x187f70++)0x0==_0x3b7f17[_0x187f70]['distance']?_0x3b7f17[_0x187f70]['level']=_0x37a599:(_0x37a599++,_0x3b7f17[_0x187f70]['level']=_0x37a599,_0x37a599++);for(let _0x197d46=_0x227036;_0x197d46<_0x776e29;_0x197d46++)0x0==_0x3b7f17[_0x197d46]['side']&&(_0x3b7f17[_0x197d46]['level']=_0x37a599);_0x37a599=0x0;for(let _0x483569=_0x776e29-0x1;_0x483569>=_0xb8207e;_0x483569--)0x0==_0x3b7f17[_0x483569]['distance']?_0x3b7f17[_0x483569]['level']=_0x37a599:(_0x37a599--,_0x3b7f17[_0x483569]['level']=_0x37a599,_0x37a599--);}}['_fixObsoleteTags'](_0x2fc7e8){const _0x532c9c=new Map(),_0x229ae1=this['editor']['model']['schema'];for(let _0x55b6af=0x1;_0x55b6af<_0x2fc7e8['length'];_0x55b6af++){let _0x455e97,_0x69d67b,_0x1760e1;const _0x4deca3=_0x2fc7e8[_0x55b6af],_0xb77feb=_0x2fc7e8[_0x55b6af-0x1];if('text'==_0x4deca3['type'])continue;if(_0x4deca3['type']!=_0xb77feb['type'])continue;if(!_0x229ae1['isBlock'](_0xb77feb['item'])||_0x229ae1['isLimit'](_0xb77feb['item']))continue;if(!_0x229ae1['isBlock'](_0x4deca3['item'])||_0x229ae1['isLimit'](_0x4deca3['item']))continue;if((_0x2fc7e8[_0x55b6af]['isAdded']||_0x2fc7e8[_0x55b6af]['isAddSuggestion'])&&_0x2fc7e8[_0x55b6af-0x1]['isRemoved'])_0x455e97=_0x2fc7e8[_0x55b6af],_0x69d67b=_0x2fc7e8[_0x55b6af-0x1],_0x1760e1=_0x55b6af-0x1;else{if(!_0x2fc7e8[_0x55b6af]['isRemoved']||!_0x2fc7e8[_0x55b6af-0x1]['isAdded']&&!_0x2fc7e8[_0x55b6af-0x1]['isAddSuggestion'])continue;_0x455e97=_0x2fc7e8[_0x55b6af-0x1],_0x69d67b=_0x2fc7e8[_0x55b6af],_0x1760e1=_0x55b6af;}const _0x2055bf=_0x455e97['level']==_0x69d67b['level'],_0x393dfd=Math['abs'](_0x455e97['level'])<Math['abs'](_0x69d67b['level'])&&0x0==_0x69d67b['distance'];(_0x2055bf||_0x393dfd)&&(_0x532c9c['set'](_0x69d67b['id'],_0x455e97['id']),_0x2fc7e8['splice'](_0x1760e1,0x1),_0x55b6af--,_0x455e97['isAdded']=!0x1);}for(let _0x1e9dbd=0x0;_0x1e9dbd<_0x2fc7e8['length'];_0x1e9dbd++)_0x532c9c['has'](_0x2fc7e8[_0x1e9dbd]['pairId'])&&(_0x2fc7e8[_0x1e9dbd]['pairId']=_0x532c9c['get'](_0x2fc7e8[_0x1e9dbd]['pairId']));}['_removeMissingPairs'](_0x42428d){const _0x22be63=new Set(_0x42428d['map'](_0x522a73=>_0x522a73['id']));for(let _0x8e68fe=0x0;_0x8e68fe<_0x42428d['length'];_0x8e68fe++)_0x22be63['has'](_0x42428d[_0x8e68fe]['pairId'])||0x0==_0x42428d[_0x8e68fe]['distance']||(_0x42428d[_0x8e68fe]['isIncorrect']=!0x0);return _0x42428d['filter'](_0x39c60d=>!_0x39c60d['isIncorrect']);}['_markMismatchedRemovedTags'](_0x39c7b1){const _0x4ed499=new Set();for(let _0x1f8740=0x0;_0x1f8740<_0x39c7b1['length'];_0x1f8740++){if(_0x4ed499['has'](_0x39c7b1[_0x1f8740]['id'])&&_0x39c7b1[_0x1f8740]['isRemoved']&&(_0x39c7b1[_0x1f8740]['isIncorrect']=!0x0),_0x39c7b1[_0x1f8740]['isIncorrect'])continue;if(0x0==_0x39c7b1[_0x1f8740]['distance'])continue;if('elementStart'!=_0x39c7b1[_0x1f8740]['type'])continue;if(null==_0x39c7b1[_0x1f8740]['pairId'])continue;let _0x2dc432=_0x1f8740+0x1,_0x5ed3ca=0x0;for(;_0x39c7b1[_0x2dc432]['id']!=_0x39c7b1[_0x1f8740]['pairId'];)'elementStart'==_0x39c7b1[_0x2dc432]['type']?_0x5ed3ca++:'elementEnd'==_0x39c7b1[_0x2dc432]['type']&&_0x5ed3ca--,_0x2dc432++;if(0x0!=_0x5ed3ca){if(_0x39c7b1[_0x1f8740]['isRemoved'])_0x39c7b1[_0x1f8740]['isIncorrect']=!0x0;else{for(;_0x2dc432!=_0x1f8740;)_0x39c7b1[_0x2dc432]['isRemoved']&&0x0!=_0x39c7b1[_0x2dc432]['distance']&&(_0x39c7b1[_0x2dc432]['isIncorrect']=!0x0,_0x4ed499['add'](_0x39c7b1[_0x2dc432]['pairId'])),_0x2dc432--;}}}return _0x39c7b1['filter'](_0x35b9b1=>!_0x35b9b1['isIncorrect']);}['_removeUnsupportedChanges'](_0xaa46c9){const _0xcb18ae=this['editor']['model']['schema'];for(let _0x762504=0x0;_0x762504<_0xaa46c9['length'];_0x762504++){if(!(_0xaa46c9[_0x762504]['isAdded']||_0xaa46c9[_0x762504]['isAddSuggestion']||_0xaa46c9[_0x762504]['isRemoved']||_0xaa46c9[_0x762504]['isRemoveSuggestion']))continue;if(0x0==_0xaa46c9[_0x762504]['distance'])continue;const _0x53372e=_0xaa46c9[_0x762504]['item'];_0xcb18ae['isBlock'](_0x53372e)||_0xcb18ae['isLimit'](_0x53372e)||(_0xaa46c9[_0x762504]['isAdded']&&delete _0xaa46c9[_0x762504]['isAdded'],_0xaa46c9[_0x762504]['isAddSuggestion']&&delete _0xaa46c9[_0x762504]['isAddSuggestion'],_0xaa46c9[_0x762504]['isRemoveSuggestion']&&delete _0xaa46c9[_0x762504]['isRemoveSuggestion'],_0xaa46c9[_0x762504]['isRemoved']&&(_0xaa46c9[_0x762504]['isIncorrect']=!0x0));}return _0xaa46c9['filter'](_0x5c83a8=>!_0x5c83a8['isIncorrect']);}['_makeModelFromTape'](_0xb7f291,_0x55d7f8,_0x175e3f){const _0x3bd2f6=new wt(),_0x56347e=[],_0x59842e=new Map(),_0x3dc15f=this['editor']['model'],_0xa2c72f=_0x3dc15f['schema'],_0x237425=[_0x3bd2f6],_0x4f065e={},_0x197f01={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5bf880=null;const _0xf1026d=[0x0];for(let _0x3ed7eb=0x0;_0x3ed7eb<_0xb7f291['length'];_0x3ed7eb++){let _0x2d6e7c,_0x5b7905;if('elementStart'===_0xb7f291[_0x3ed7eb]['type']){_0x2d6e7c=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d);const _0x23b23e=new ft(_0xb7f291[_0x3ed7eb]['item']['name'],_0xb7f291[_0x3ed7eb]['item']['getAttributes']());_0x237425[0x0]['_appendChild'](_0x23b23e),_0xf1026d['push'](0x0),_0x237425['unshift'](_0x23b23e),_0x5b7905=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d),_0x5bf880=null;}else{if('elementEnd'===_0xb7f291[_0x3ed7eb]['type'])_0x237425['shift'](),_0x2d6e7c=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d),_0xf1026d['pop'](),_0xf1026d[_0xf1026d['length']-0x1]++,_0x5b7905=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d),_0x5bf880=null;else{if(_0x2d6e7c=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d),_0x5bf880&&_0x435201(_0x5bf880,_0xb7f291[_0x3ed7eb]['item']))_0x5bf880['_data']+=_0xb7f291[_0x3ed7eb]['item']['data'];else{const _0x22906a=new _t(_0xb7f291[_0x3ed7eb]['item']['data'],_0xb7f291[_0x3ed7eb]['item']['getAttributes']());_0x237425[0x0]['_appendChild'](_0x22906a),_0x5bf880=_0x22906a;}_0xf1026d[_0xf1026d['length']-0x1]+=_0xb7f291[_0x3ed7eb]['item']['offsetSize'],_0x5b7905=_0x3dc15f['createPositionFromPath'](_0x3bd2f6,_0xf1026d);}}for(const _0x3069c2 of _0xb7f291[_0x3ed7eb]['markersStart'])_0x59842e['set'](_0x3069c2,{'start':_0x2d6e7c,'end':null});_0x1b6abe('isRemoveSuggestion',_0x3ed7eb,_0x2d6e7c,_0x5b7905),_0x1b6abe('isAddSuggestion',_0x3ed7eb,_0x2d6e7c,_0x5b7905),_0x1b6abe('isRemoved',_0x3ed7eb,_0x2d6e7c,_0x5b7905),_0x1b6abe('isAdded',_0x3ed7eb,_0x2d6e7c,_0x5b7905);for(const _0x7dee5d of _0xb7f291[_0x3ed7eb]['markersEnd']){_0x59842e['get'](_0x7dee5d)['end']=_0x5b7905;}}for(const [_0xf7bca4,_0x14be01]of _0x59842e){const _0x2b2827=this['editor']['model']['createRange'](_0x14be01['start'],_0x14be01['end']);_0x3bd2f6['markers']['set'](_0xf7bca4,_0x2b2827);}return _0x56347e['sort']((_0x11e6ee,_0x2a9c4d)=>{const _0x635f17=_0x3bd2f6['markers']['get']('revision:'+_0x11e6ee['id']),_0x45f97f=_0x3bd2f6['markers']['get']('revision:'+_0x2a9c4d['id']);return _0x635f17['start']['isBefore'](_0x45f97f['start'])?-0x1:_0x635f17['start']['isAfter'](_0x45f97f['start'])?0x1:_0x635f17['end']['isBefore'](_0x45f97f['end'])?-0x1:_0x635f17['end']['isAfter'](_0x45f97f['end'])?0x1:'add'===_0x11e6ee['type']?-0x1:0x1;}),{'root':_0x3bd2f6,'changes':_0x56347e};function _0x1b6abe(_0x179714,_0x3de4a3,_0x1c939d,_0x36ceab){const _0xa17389=!!_0xb7f291[_0x3de4a3][_0x179714],_0xec1383=_0xa17389?_0xb7f291[_0x3de4a3][_0x179714]['userId']:null,_0x127fd0=_0x3de4a3===_0xb7f291['length']-0x1,_0x3264b0=_0x197f01[_0x179714][0x0],_0x3bdb0f=_0xa2c72f['isObject'](_0xb7f291[_0x3de4a3]['item']);!_0x4f065e[_0x179714]&&_0xa17389?_0x4f065e[_0x179714]={'start':_0x1c939d,'tapeItem':_0xb7f291[_0x3de4a3],'userId':_0xec1383,'type':_0x179714}:_0x4f065e[_0x179714]&&!_0xa17389?(_0x4f065e[_0x179714]['end']=_0x1c939d,_0xfcc3c0(_0x4f065e[_0x179714]),_0x4f065e[_0x179714]=null):_0x4f065e[_0x179714]&&_0xa17389&&_0x4f065e[_0x179714]['userId']!==_0xec1383&&(_0x4f065e[_0x179714]['end']=_0x1c939d,_0x3264b0&&_0x3264b0['userId']===_0x4f065e[_0x179714]['userId']||_0xfcc3c0(_0x4f065e[_0x179714]),_0x4f065e[_0x179714]={'start':_0x1c939d,'tapeItem':_0xb7f291[_0x3de4a3],'userId':_0xec1383,'type':_0x179714}),_0x4f065e[_0x179714]&&_0x3bdb0f&&('elementStart'!==_0xb7f291[_0x3de4a3]['type']||_0x3264b0&&_0x3264b0['userId']===_0xec1383||_0x197f01[_0x179714]['unshift']({'userId':_0xec1383,'object':_0xb7f291[_0x3de4a3]['item'],'change':_0x4f065e[_0x179714]}),'elementEnd'===_0xb7f291[_0x3de4a3]['type']&&_0x3264b0&&_0x3264b0['object']===_0xb7f291[_0x3de4a3]['item']&&(_0x197f01[_0x179714]['shift'](),_0x4f065e[_0x179714]=_0x3264b0['change'])),_0x4f065e[_0x179714]&&_0x127fd0&&(_0x4f065e[_0x179714]['end']=_0x36ceab,_0xfcc3c0(_0x4f065e[_0x179714]),_0x4f065e[_0x179714]=null);}function _0xfcc3c0({start:_0x2a1988,end:_0x403e53,tapeItem:_0x326ee9,userId:_0x9bf5aa,type:_0x2972ba}){const _0x5aa277=_0x326ee9['item'],_0x47860e=_0x3dc15f['schema']['isBlock'](_0x5aa277)&&!_0x3dc15f['schema']['isLimit'](_0x5aa277),_0x11ca93=_0x2a1988['nodeAfter']==_0x403e53['parent']&&_0x403e53['isAtStart'];if(_0x47860e&&_0x11ca93)return;const _0x57bf19=_0x3dc15f['createRange'](_0x2a1988,_0x403e53),_0x31d7f3=_0x55d7f8['get'](_0x9bf5aa),_0x75832c=new r({'author':_0x31d7f3,'type':'isAdded'==_0x2972ba||'isAddSuggestion'==_0x2972ba?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2972ba||'isRemoveSuggestion'==_0x2972ba},'createdAt':new Date(),'rootName':_0x175e3f});_0x56347e['push'](_0x75832c),_0x3bd2f6['markers']['set']('revision:'+_0x75832c['id'],_0x57bf19);}function _0x435201(_0x33c1c6,_0x1bbb70){const _0x26eeac=_0x33c1c6['getAttributes'](),_0x3ac96d=_0x1bbb70['getAttributes']();for(const _0x22c8c5 of _0x26eeac){if(_0x22c8c5[0x1]!==_0x1bbb70['getAttribute'](_0x22c8c5[0x0]))return!0x1;_0x3ac96d['next']();}return _0x3ac96d['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x307afb=>{const _0x5c4776=_0x307afb['markerName']['split'](':')[0x1],_0xfa16f3=this['_getChangeFromId'](_0x5c4776);if(!_0xfa16f3)return null;const _0x3d1883='add'==_0xfa16f3['type']?'insertion':'deletion',_0x530adf=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3d1883];return _0xfa16f3['data']['isSuggestion']&&_0x530adf['push']('ck-suggestion-marker-'+_0x3d1883+'-new'),this['activeChange']==_0xfa16f3&&_0x530adf['push']('ck-suggestion-marker--active'),{'classes':_0x530adf,'attributes':{'data-change-id':_0x5c4776}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x16c5ea=>{_0x16c5ea['on']('element:pre',(_0x4765c8,_0x5790b2,_0x49c682)=>{const _0x2323f3=_0x5790b2['viewItem']['getChild'](0x0);if(!_0x2323f3||!_0x2323f3['is']('element','code'))return;if(!_0x49c682['consumable']['consume'](_0x2323f3,{'attributes':['vid_start','vid_end']}))return;const _0x26b101=_0x5790b2['modelRange']['start']['nodeAfter'];_0x49c682['writer']['setAttribute']('vid_start',_0x2323f3['getAttribute']('vid_start'),_0x26b101),_0x49c682['writer']['setAttribute']('vid_end',_0x2323f3['getAttribute']('vid_end'),_0x26b101);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x17b113=>{_0x17b113['on']('element',(_0x1a9f07,_0x5df018,_0x50e310)=>{if(!_0x50e310['consumable']['consume'](_0x5df018['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5df018['modelRange']['isCollapsed'])return;const _0xbb8bd8=_0x5df018['modelRange']['start']['nodeAfter'];_0xbb8bd8['hasAttribute']('vid_start')||_0xbb8bd8['hasAttribute']('vid')||(_0x50e310['writer']['setAttribute']('vid_start',_0x5df018['viewItem']['getAttribute']('vid_start'),_0xbb8bd8),_0x50e310['writer']['setAttribute']('vid_end',_0x5df018['viewItem']['getAttribute']('vid_end'),_0xbb8bd8));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x5bf34f=>_0x5bf34f['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4f12c1,[,_0x283d97])=>{['vid_start','vid_end','vid']['includes'](_0x283d97)&&(_0x4f12c1['return']=!0x0,_0x4f12c1['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x2fe8e9=>{_0x2fe8e9['on']('attribute:vid',(_0xd6d6d2,_0x17df39,_0x328e73)=>{if('\x20'!=_0x17df39['item']['data']||_0x17df39['item']['parent']['maxOffset']>0x1)return;if(!_0x328e73['consumable']['consume'](_0x17df39['item'],_0xd6d6d2['name']))return;const _0x357908=_0x328e73['writer'],_0x11eb77=_0x328e73['mapper']['toViewRange'](_0x17df39['range']);_0x357908['wrap'](_0x11eb77,_0x357908['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x5d5e8a){const _0xeff63d=_0x5d5e8a['plugins']['get']('RevisionViewer');return(_0x269702,_0x1a39a3,_0x353ef4)=>{const _0x2f789d=_0x1a39a3['markerName']['split'](':')[0x1],_0x2ff93b=_0xeff63d['_getChangeFromId'](_0x2f789d);if(!_0x2ff93b)return null;const _0x50f4e4='add'==_0x2ff93b['type']?'split':'merge';if(!_0x353ef4['consumable']['test'](_0x1a39a3['markerRange'],_0x269702['name']))return;const _0x161528=_0x1a39a3['markerRange']['getWalker'](),_0x285820=_0x1a39a3['markerRange']['start'],_0x3505bb=_0x5d5e8a['model']['schema'];let _0x38904b=null,_0x570c0b=null,_0x2fd4ac=!0x1,_0x4ddb66=!0x1;for(const _0x534fa0 of _0x161528){const _0x1cf679=_0x534fa0['item'];_0x2fd4ac=_0x2fd4ac||_0x3505bb['isContent'](_0x1cf679);const _0x58cd02=_0x353ef4['mapper']['toViewElement'](_0x1cf679);if(_0x58cd02&&_0x58cd02['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x534fa0['type']&&(_0x3505bb['isBlock'](_0x1cf679)&&!_0x3505bb['isLimit'](_0x1cf679)&&(_0x1cf679['nextSibling']||_0x285820['isAtEnd']?_0x38904b&&_0x38904b['parent']==_0x1cf679||(_0x38904b=_0x1cf679,_0x58d30b(_0x534fa0['previousPosition']),_0x4ddb66=!0x0):_0x570c0b=_0x570c0b||_0x534fa0['previousPosition']));}function _0x58d30b(_0x29d4a5){const _0x28f468=_0x353ef4['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x50f4e4}),_0x185cfd=_0x353ef4['mapper']['toViewPosition'](_0x29d4a5);_0x2ff93b['data']['isSuggestion']&&_0x353ef4['writer']['addClass']('ck-suggestion-marker-'+_0x50f4e4+'-new',_0x28f468),_0xeff63d['activeChange']==_0x2ff93b&&_0x353ef4['writer']['addClass']('ck-suggestion-marker--active',_0x28f468),_0x353ef4['writer']['insert'](_0x185cfd,_0x28f468),_0x353ef4['mapper']['bindElementToMarker'](_0x28f468,_0x1a39a3['markerName']);}_0x2fd4ac||_0x4ddb66||!_0x570c0b||_0x58d30b(_0x570c0b);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3e6fa8,_0x5bf05b,_0x3751cb)=>{const _0x2ecb8b=_0x3751cb['mapper']['markerNameToElements'](_0x5bf05b['markerName']);if(_0x2ecb8b){for(const _0x42a55f of _0x2ecb8b)(_0x42a55f['hasClass']('ck-suggestion-marker-split')||_0x42a55f['hasClass']('ck-suggestion-marker-merge'))&&(_0x3751cb['mapper']['unbindElementFromMarkerName'](_0x42a55f,_0x5bf05b['markerName']),_0x3751cb['writer']['remove'](_0x42a55f));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x302e2b,_0x789a88,_0x48de6b)=>{const _0x21351f=_0x789a88['markerName']['split'](':')[0x1],_0x26dc65=this['_getChangeFromId'](_0x21351f);if(!_0x26dc65)return null;const _0x3a1889='add'==_0x26dc65['type']?'split':'merge';if(_0x48de6b['consumable']['test'](_0x789a88['markerRange'],_0x302e2b['name']))for(const _0x3a70c6 of _0x789a88['markerRange']['getItems']()){if(!_0x3a70c6['is']('element','softBreak'))continue;const _0xbbbaa3=_0x48de6b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x3a1889}),_0x594e8e=_0x48de6b['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3a70c6));_0x26dc65['data']['isSuggestion']&&_0x48de6b['writer']['addClass']('ck-suggestion-marker-'+_0x3a1889+'-new',_0xbbbaa3),this['activeChange']==_0x26dc65&&_0x48de6b['writer']['addClass']('ck-suggestion-marker--active',_0xbbbaa3),_0x48de6b['writer']['insert'](_0x594e8e,_0xbbbaa3),_0x48de6b['mapper']['bindElementToMarker'](_0xbbbaa3,_0x789a88['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x44c1a9=>{for(const _0x2b17e5 of this['editor']['model']['document']['getRootNames']()){const _0x39c10b=this['editor']['model']['document']['getRoot'](_0x2b17e5),_0x3345a0=this['editor']['editing']['view']['document']['getRoot'](_0x2b17e5);if(_0x3345a0){const _0x222cec=_0x39c10b['getAttribute']('revisionHistoryAttachChange');if(_0x44c1a9['removeAttribute']('data-change-id',_0x3345a0),_0x44c1a9['removeClass']('ck-revision-history-root-add',_0x3345a0),_0x44c1a9['removeClass']('ck-revision-history-root-remove',_0x3345a0),_0x44c1a9['removeClass']('ck-revision-history-root--active',_0x3345a0),_0x222cec){const _0x4e2203=this['_getChangeFromId'](_0x222cec);if(!_0x4e2203)return null;_0x44c1a9['setAttribute']('data-change-id',_0x222cec,_0x3345a0),_0x44c1a9['addClass']('ck-revision-history-root-'+_0x4e2203['type'],_0x3345a0),this['activeChange']==_0x4e2203&&_0x44c1a9['addClass']('ck-revision-history-root--active',_0x3345a0);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4424ff=>'revision-comment:'+_0x4424ff,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5e660a=>'revision-suggestion:'+_0x5e660a,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x415842=>({'name':'suggestion:'+_0x415842,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x19e884=>{const _0x54bfaa=_0x19e884['markerName']['split'](':')[0x1];return'insertion'!=_0x54bfaa&&'deletion'!=_0x54bfaa?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x54bfaa]};}}),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',(_0x53711a,_0x2cf5d8,_0x189167)=>{const _0x22a9d6=_0x189167['mapper']['markerNameToElements'](_0x2cf5d8['markerName']);if(_0x22a9d6){for(const _0x509280 of _0x22a9d6)_0x509280['is']('uiElement')&&(_0x189167['mapper']['unbindElementFromMarkerName'](_0x509280,_0x2cf5d8['markerName']),_0x189167['writer']['remove'](_0x509280));}},{'priority':'high'});}['_getChangeFromId'](_0x2f7ca2){return this['_changeIdToChange']['get'](_0x2f7ca2);}['_getViewForChange'](_0x3e17e6){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3e17e6),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x6cb042,_0x2c9c37,_0x3f2b27,_0x354c34)=>{_0x354c34&&this['_balloon']['remove'](_0x354c34),_0x3f2b27&&(this['_balloon']['add']({'view':_0x3f2b27,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2b8cd4=this['editor']['editing'],_0x4d3e3e=this['_getChangeFromId'](_0x3f2b27['changeId']);let _0x7d762a;if(_0x4d3e3e['data']['isOnRoot']){const _0x3c2fda=_0x2b8cd4['view']['getDomRoot'](_0x4d3e3e['rootName']);_0x7d762a=Array['from'](_0x3c2fda['getClientRects']());}else{const _0x3cdfda=this['editor']['model']['markers']['get']('revision:'+_0x3f2b27['changeId']);_0x7d762a=Array['from'](_0x2b8cd4['mapper']['markerNameToElements'](_0x3cdfda['name']))['map'](_0x3e577f=>_0x2b8cd4['view']['domConverter']['mapViewToDom'](_0x3e577f))['map'](_0x4c9b0f=>Array['from'](_0x4c9b0f['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x7d762a[0x0];return _0x7d762a['find'](_0x4ca52f=>_0x4ca52f['top']-0x3<=this['_activeViewTarget']['y']&&_0x4ca52f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4ca52f['left']-0x3<=this['_activeViewTarget']['x']&&_0x4ca52f['right']+0x3>=this['_activeViewTarget']['x'])||_0x7d762a[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3fa4a1,_0x3cdac3,_0x35e400,_0x19b358)=>{this['activeView']=_0x35e400?this['_getViewForChange'](_0x35e400):null,this['editor']['model']['change'](()=>{const _0x5a4493=this['editor']['editing'];_0x19b358&&(_0x19b358['data']['isOnRoot']?_0x5a4493['view']['change'](_0x25e90d=>{_0x25e90d['removeClass']('ck-revision-history-root--active',_0x5a4493['view']['document']['getRoot'](_0x19b358['rootName']));}):_0x5a4493['reconvertMarker']('revision:'+_0x19b358['id'])),_0x35e400&&(_0x35e400['data']['isOnRoot']?_0x5a4493['view']['change'](_0x18a14e=>{_0x18a14e['addClass']('ck-revision-history-root--active',_0x5a4493['view']['document']['getRoot'](_0x35e400['rootName']));}):_0x5a4493['reconvertMarker']('revision:'+_0x35e400['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x38784d,_0x24305c)=>{if(this['activeChange'])return;const _0x331964=this['_findChangeIdFromDomTarget'](_0x24305c['target']),_0x158e23=this['_changeIdToChange']['get'](_0x331964);_0x158e23?(this['_activeViewTarget']={'x':_0x24305c['domEvent']['x'],'y':_0x24305c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x158e23)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x305008,_0x347404)=>{const _0x5ae25f=this['_findChangeIdFromDomTarget'](_0x347404['target']),_0x31af82=this['_changeIdToChange']['get'](_0x5ae25f);_0x31af82?(this['_activeViewTarget']={'x':_0x347404['domEvent']['x'],'y':_0x347404['domEvent']['y']},_0x31af82===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x31af82):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5b2440){do{const _0x59e6ce=_0x5b2440['getAttribute']('data-change-id');if(_0x59e6ce)return _0x59e6ce;_0x5b2440=_0x5b2440['parent'];}while(_0x5b2440);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x218d85=>{for(const _0x11a532 of this['editor']['model']['markers'])_0x218d85['removeMarker'](_0x11a532);});}}function et(_0x4ed8c2,_0x2a89fc){return(_0x18d742,_0x4db810,_0x191fdb)=>{if(!_0x191fdb['consumable']['test'](_0x4db810['markerRange'],_0x18d742['name']))return;const _0x195b48=_0x4db810['markerRange']['getWalker'](),_0x98d5df=_0x4db810['markerRange']['start'],_0x242c0c=_0x4ed8c2['model']['schema'];let _0x273d9f=null,_0x2008fb=null,_0xa9f87f=!0x1,_0x1bc40c=!0x1;for(const _0x57d6ca of _0x195b48){const _0x207e39=_0x57d6ca['item'];_0xa9f87f=_0xa9f87f||_0x242c0c['isContent'](_0x207e39);const _0x3d3785=_0x191fdb['mapper']['toViewElement'](_0x207e39);if(_0x3d3785&&_0x3d3785['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x57d6ca['type']&&(_0x242c0c['isBlock'](_0x207e39)&&!_0x242c0c['isLimit'](_0x207e39)&&(_0x207e39['nextSibling']||_0x98d5df['isAtEnd']?_0x273d9f&&_0x273d9f['parent']==_0x207e39||(_0x273d9f=_0x207e39,_0x2ec2b5(_0x57d6ca['previousPosition']),_0x1bc40c=!0x0):_0x2008fb=_0x2008fb||_0x57d6ca['previousPosition']));}function _0x2ec2b5(_0x35fae1){const _0x375646=_0x191fdb['mapper']['toViewPosition'](_0x35fae1),_0x13282b=_0x191fdb['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2a89fc});_0x191fdb['writer']['insert'](_0x375646,_0x13282b),_0x191fdb['mapper']['bindElementToMarker'](_0x13282b,_0x4db810['markerName']);}_0xa9f87f||_0x1bc40c||!_0x2008fb||_0x2ec2b5(_0x2008fb);};}class bt extends _0x269760{constructor(_0x4f1bee){super(_0x4f1bee);const _0x28837f=_0x4f1bee['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x28837f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x28837f,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x20b071=this['editor'],_0x1c32fe=_0x20b071['plugins']['get'](d),_0x56fcf7=_0x1c32fe['isReady']?_0x1c32fe['diff']['newRevisionId']:null;_0x20b071['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x56fcf7);}['refresh'](){const {isReady:_0x39eef9,isEnabled:_0x5ea318}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x39eef9&&_0x5ea318;}}class yt extends _0x269760{['_step'];constructor(_0x4ea72f,{direction:_0x37c57c}){super(_0x4ea72f);const _0xabe2d7=_0x4ea72f['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x37c57c?0x1:-0x1,this['listenTo'](_0xabe2d7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xabe2d7,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0xabe2d7,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x35c9f8=this['editor'],_0x29d45e=_0x35c9f8['plugins']['get'](d),{isNavigationMode:_0xfad39,currentChangeNumber:_0x13ccad}=_0x29d45e;let _0x50877d;if(_0x29d45e['activeChange']=_0xfad39?_0x29d45e['diff']['changes']['get'](_0x13ccad+this['_step']):_0x29d45e['diff']['changes']['first'],_0x29d45e['activeChange']['data']['isOnRoot'])_0x50877d=_0x35c9f8['editing']['view']['getDomRoot'](_0x29d45e['activeChange']['rootName']);else{const _0x891a00=_0x35c9f8['model']['markers']['get']('revision:'+_0x29d45e['activeChange']['id']);_0x50877d=_0x38896f(_0x35c9f8['editing'],_0x891a00);}_0x20aa76({'target':_0x50877d,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x310271,currentChangeNumber:_0x3d6aa6,numberOfChanges:_0x5d69bb,isReady:_0x26f4c1,isEnabled:_0x575fa5}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x575fa5&&_0x26f4c1&&_0x5d69bb)&&(!_0x310271||(0x1===this['_step']?_0x3d6aa6<_0x5d69bb-0x1:_0x3d6aa6>0x0));}}class _i extends _0x4ee463{constructor(_0x5c5c5e){super(_0x5c5c5e);const _0x305ffa=this['bindTemplate'],_0x102a9b=new _0x302693(_0x5c5c5e),_0x2a6907=new _0x302693(_0x5c5c5e);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',(_0x15a121,_0x16490d)=>_0x15a121&&_0x16490d>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0xa3e584,_0x42bab3,_0x53950b,_0xc29271)=>{if(!_0xa3e584)return y(_0x5c5c5e,'Loading...');if(!_0x53950b)return y(_0x5c5c5e,'No\x20changes');const _0x383e88=y(_0x5c5c5e,'NUMBER_OF_CHANGES',_0x53950b);return _0xc29271?y(_0x5c5c5e,'X_OF_Y_CHANGES',[_0x42bab3+0x1,_0x53950b]):_0x383e88;}),_0x102a9b['set']({'label':y(_0x5c5c5e,'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'}),_0x2a6907['set']({'label':y(_0x5c5c5e,'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'}),_0x102a9b['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2a6907['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x102a9b['on']('execute',()=>this['fire']('execute','backward')),_0x2a6907['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',_0x305ffa['if']('_isStatusLabelVisible','ck-hidden',_0x375c1b=>!_0x375c1b)]},'children':[{'text':_0x305ffa['to']('isNavigationMode',_0xbf2304=>_0xbf2304?y(_0x5c5c5e,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5c5c5e,'Total')+':\x20')}]},{'text':_0x305ffa['to']('_statusText')}]},new _0x51a1d2(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x102a9b,_0x2a6907]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x25b853{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1d4bcd=this['editor']['editing']['view'];_0x1d4bcd['change'](_0x3daaad=>{for(const _0x525ed6 of _0x1d4bcd['document']['roots'])_0x3daaad['addClass'](ce,_0x525ed6);});}['hide'](){const _0x2e657b=this['editor']['editing']['view'];_0x2e657b['change'](_0x8f7712=>{for(const _0x44b067 of _0x2e657b['document']['roots'])_0x8f7712['removeClass'](ce,_0x44b067);});}}class R extends _0x25b853{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x526318=this['editor'],_0x2193aa=_0x526318['plugins']['get'](d),_0x2c65e5=_0x526318['plugins']['get'](de);_0x526318['ui']['componentFactory']['add']('exitToEditing',_0x149ba9=>{const _0x991bc5=new _0x302693(_0x149ba9);return _0x991bc5['set']({'label':y(_0x149ba9,'Back\x20to\x20editing'),'icon':_0x152ab3['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x991bc5,'execute',()=>{_0x526318['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x991bc5;}),_0x526318['ui']['componentFactory']['add']('restoreRevision',_0x3e926d=>{const _0x3e46d0=new _0x302693(_0x3e926d);return _0x3e46d0['set']({'label':y(_0x3e926d,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3e46d0['bind']('isEnabled')['to'](_0x526318['commands']['get']('restoreRevision')),this['listenTo'](_0x3e46d0,'execute',()=>_0x526318['execute']('restoreRevision')),_0x3e46d0;}),_0x526318['ui']['componentFactory']['add']('changesNavigation',_0x4387cc=>{const _0x462cf8=new _i(_0x4387cc),_0x5827c9=_0x526318['commands']['get']('showPreviousChange'),_0x38fc86=_0x526318['commands']['get']('showNextChange');return _0x462cf8['bind']('isBackwardNavigationEnabled')['to'](_0x5827c9,'isEnabled'),_0x462cf8['bind']('isForwardNavigationEnabled')['to'](_0x38fc86,'isEnabled'),_0x462cf8['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x2193aa),this['listenTo'](_0x462cf8,'execute',(_0x1e264a,_0x2ea7f9)=>{_0x526318['execute']('forward'===_0x2ea7f9?'showNextChange':'showPreviousChange');}),_0x462cf8;}),_0x2c65e5['show'](),_0x2193aa['on']('change:isReady',(_0x2bd529,_0x158378,_0x1bf83c)=>{_0x1bf83c?_0x2c65e5['hide']():_0x2c65e5['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x448398,_0x3c5fe4){super(_0x448398,_0x3c5fe4);const _0x3110e8=this['bindTemplate'];this['set']({'label':y(_0x448398,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x448398,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3110e8['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 _0x1447b8=this['fieldView']['element'];this['_tooltipString']=_0x1447b8['scrollWidth']>_0x1447b8['clientWidth']&&_0x1447b8['value']||'';}}class ti extends _0x4ee463{constructor(_0x147f55,_0x34336c,_0x3c4266){super(_0x147f55);const _0xc1892=new _0x44637d();_0xc1892['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 _0x35f917=['ck','ck-revision-history-sidebar__revision-author'];_0x3c4266&&_0x35f917['push']('ck-revision-history-sidebar__revision-author_creator');const _0x339fef=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x147f55,_0x3c4266?'Revision\x20creator':'Revision\x20author')},'children':[_0xc1892,_0x34336c['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x35f917},'children':_0x339fef});}}function ni(_0x22a0e2,_0x9b6dde){const _0x25d79b=_0x22a0e2['bindTemplate'],_0x151014=_0x22a0e2['locale'],_0x4ed02a=_0xaa4d18(_0x151014);_0x4ed02a['panelPosition']='sw';const _0x4d7c07=function(_0x237644,_0x3d3ab7){const _0x31879a=function(_0x476d8d,_0x3aba35){const _0x5a95c0=_0x476d8d['locale'],_0xa7ae95={'Compare\x20against\x20selected':y(_0x5a95c0,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5a95c0,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5a95c0,'Restore\x20this\x20revision')};return _0x3aba35['map'](_0x448ca0=>{const _0x3b383c=_0xa7ae95[_0x448ca0['name']];return _0x3b383c&&_0x3b383c!==_0x448ca0['name']&&(_0x448ca0['name']=_0x3b383c),_0x448ca0;});}(_0x237644,_0x3d3ab7),_0x272f28=new _0x17d2c9();for(const _0x124088 of _0x31879a){const _0x13b0d4={'type':'button','model':new to({'label':_0x124088['name'],'class':_0x124088['class'],'withText':!0x0,'role':'menuitem','_action':_0x124088['action']})};_0x13b0d4['model']['bind']('isEnabled')['to'](_0x237644,'isActionsDropdownOpen',_0x5918ff=>'function'!=typeof _0x124088['isEnabled']||(!_0x5918ff||_0x124088['isEnabled'](_0x237644))),_0x272f28['add'](_0x13b0d4);}return _0x272f28;}(_0x22a0e2,_0x9b6dde);return _0x22a0e2['bind']('isActionsDropdownOpen')['to'](_0x4ed02a,'isOpen'),_0x4ed02a['buttonView']['set']({'label':y(_0x151014,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x152ab3['threeVerticalDots']}),_0x4ed02a['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x25d79b['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x25d79b['to'](_0x1a5ee3=>_0x1a5ee3['stopPropagation']())}}),_0x4ed02a['on']('execute',_0x4ea63d=>{_0x22a0e2['isReady']&&'function'==typeof _0x4ea63d['source']['_action']&&_0x4ea63d['source']['_action'](_0x22a0e2);}),_0x1ab634(_0x4ed02a,_0x4d7c07,{'role':'menu'}),_0x4ed02a['listenTo'](_0x22a0e2,'change:isActionsDropdownOpen',(_0x315183,_0x1c7221,_0x56866b)=>{if(_0x56866b)for(const _0x523d42 of _0x4ed02a['listView']['items']){const _0xc17652=_0x523d42['children']['first'],_0x48b17a=_0x9b6dde['find'](_0x14d791=>_0x14d791['action']===_0xc17652['_action'])['isVisible'];_0x523d42['isVisible']=void 0x0===_0x48b17a||_0x48b17a(_0x22a0e2);}}),_0x4ed02a;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x61304f(_0x4ee463){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x27b71d,_0x5a4edf,_0x2e6c7c,_0x9b7cd9){super(_0x27b71d);const _0x1576be=this['bindTemplate'],_0x3b988d=function(_0x26d6ab,_0x17ff2e){const _0x406c4d=Array['from'](_0x17ff2e['authors'])['filter'](_0x676669=>_0x676669!=_0x17ff2e['creator']);return _0x17ff2e['creator']&&_0x406c4d['unshift'](_0x17ff2e['creator']),_0x406c4d['map'](_0x24f092=>new ti(_0x26d6ab,_0x24f092,_0x24f092==_0x17ff2e['creator']));}(_0x27b71d,_0x5a4edf);this['id']=_0x5a4edf['id'],this['_revision']=_0x5a4edf,this['_requireRevisionName']=_0x9b7cd9,this['bind']('name','createdAt')['to'](_0x5a4edf),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x43e659=>{return _0x5b7159=_0x27b71d['uiLanguage'],(_0xed88bb=_0x43e659)['toLocaleDateString'](_0x5b7159,{'month':'long','day':'numeric'})+',\x20'+_0xed88bb['toLocaleTimeString'](_0x5b7159,{'hour':'numeric','minute':'numeric'});var _0x5b7159,_0xed88bb;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x27b71d,_0x27a5db),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x148c3a=>_0x148c3a||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1fdd36,_0x3ae586)=>_0x1fdd36&&_0x3ae586),this['revisionActionsView']=_0x2e6c7c&&_0x2e6c7c['length']?ni(this,_0x2e6c7c):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1576be['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1576be['if']('isEnabled','ck-disabled',_0x272bd4=>!_0x272bd4),_0x1576be['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1576be['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1576be['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':_0x1576be['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':_0x3b988d}]},this['revisionActionsView']],'on':{'click':_0x1576be['to'](_0x198022=>{_0x198022['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x2e2e47=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2e2e47,'change',()=>{this['_requireRevisionName']&&!_0x2e2e47['value']||this['fire']('setName',{'id':this['id'],'name':_0x2e2e47['value']}),_0x2e2e47['value']||(_0x2e2e47['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(_0x3e39c3,_0x4c070c){const _0x28a40d=_0x5a8648['fromJSDate'](_0x3e39c3)['setLocale'](_0x4c070c),_0x4bd23b=_0x5a8648['local'](),_0x22198d=_0x4bd23b['minus']({'days':0x1})['startOf']('day');let _0x5d8a03,_0x122541;return _0x28a40d['hasSame'](_0x4bd23b,'day')?(_0x5d8a03=_0x28a40d['startOf']('day')['toJSDate'](),_0x122541=_0x28a40d['toRelativeCalendar']()):_0x28a40d['hasSame'](_0x22198d,'day')?(_0x5d8a03=_0x22198d['toJSDate'](),_0x122541=_0x28a40d['toRelativeCalendar']()):_0x28a40d['hasSame'](_0x4bd23b,'week')?(_0x5d8a03=_0x28a40d['startOf']('week')['toJSDate'](),_0x122541=_0x28a40d['weekdayLong']||''):_0x28a40d['hasSame'](_0x4bd23b,'year')?(_0x5d8a03=_0x28a40d['startOf']('month')['toJSDate'](),_0x122541=_0x28a40d['monthLong']||''):(_0x5d8a03=_0x28a40d['startOf']('year')['toJSDate'](),_0x122541=String(_0x28a40d['year'])),{'startDate':_0x5d8a03,'localizedPeriodName':_0x122541};}class mi extends _0x4ee463{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2a578b,_0x3c2312,_0x3cf7da,_0x15b473){super(_0x2a578b);const _0x5ad04e=di(_0x3c2312,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3c2312,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3cf7da,this['_requireRevisionName']=_0x15b473,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':_0x5ad04e}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3d35d9){const _0x4a25f0=new ai(this['locale'],_0x3d35d9,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4a25f0);}['removeRevision'](_0x1ca74a){const _0x5b479e=this['revisionViews']['find'](_0x3067c5=>_0x3067c5['id']===_0x1ca74a['id']);this['revisionViews']['remove'](_0x5b479e);}}class as extends _0x4ee463{constructor(_0x19ec30){super(_0x19ec30);const _0x1dc34e=new _0x44637d();_0x1dc34e['content']=_0x152ab3['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x1dc34e,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x19ec30,'Revision\x20history')]}]});}}class ci extends _0x4ee463{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1b1f47,_0xd6d784,_0x568885,_0x51d0e){super(_0x1b1f47);const _0x273f3b=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0xd6d784,this['_revisionActions']=_0x568885,this['_requireRevisionName']=_0x51d0e,this['on']('select',(_0x10491d,_0x48a1c5)=>{this['fire']('revisionSelected',_0x48a1c5);}),this['on']('setName',(_0x47e7d3,_0x4e7097)=>{this['fire']('revisionSetName',_0x4e7097);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x1b1f47),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x273f3b['if']('isEnabled','ck-disabled',_0x5905b9=>!_0x5905b9)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x53ba29 of this['_revisions'])this['_addRevision'](_0x53ba29);this['_revisions']['on']('add',(_0x11b93c,_0x44cc33)=>{this['_addRevision'](_0x44cc33);}),this['_revisions']['on']('remove',(_0xf70c7d,_0x32345b)=>{this['_removeRevision'](_0x32345b);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4801d0=>_0x4801d0['revisionViews']['map'](_0x2376d2=>_0x2376d2))['flat']();}['selectRevision'](_0x2aaade){for(const _0x554c89 of this['revisionViews'])_0x2aaade&&_0x2aaade['id']===_0x554c89['id']?_0x554c89['select']():_0x554c89['deselect']();}['highlightRevisions'](_0x2d6a95){for(const _0x543065 of this['revisionViews'])_0x2d6a95['some'](({id:_0x5b4db7})=>_0x5b4db7===_0x543065['id'])?_0x543065['highlight']():_0x543065['unhighlight']();}['_addRevision'](_0x3f9628){const _0x257df6=di(_0x3f9628['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x43bb1a=this['timePeriodViews']['get'](0x0);_0x43bb1a&&_0x43bb1a['startDate']['getTime']()===_0x257df6['getTime']()||(_0x43bb1a=new mi(this['locale'],_0x257df6,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x43bb1a)),_0x43bb1a['addRevision'](_0x3f9628);}['_removeRevision'](_0x947ba8){const _0x51aec6=di(_0x947ba8['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x51aec6)['removeRevision'](_0x947ba8);}['_getTimePeriodViewByStartDate'](_0x50c30a){return this['timePeriodViews']['find'](_0xb0c9b6=>_0xb0c9b6['startDate']['getTime']()===_0x50c30a['getTime']());}}class w extends _0x25b853{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x432e29,Context as _0xeb7b38,PendingActions as _0x57267d,icons as _0x259594,Command as _0x1124ed,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x526ac8,uid as _0x20896a,Collection as _0x12acb5,logWarning as _0x21e27f,FocusTracker as _0x4474a8,KeystrokeHandler as _0x1fcc90,scrollViewportToShowTarget as _0x5d5bae,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2f9caf}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x7e3f5d,getMarkerDomElement as _0x1a4569,ConfirmMixin as _0x56e264,sanitizeEditorConfig as _0x534d9f}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x32ae63,ViewText as _0x5cdfad,ViewElement as _0xc3245e,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x3b1b30,ViewAttributeElement as _0x7e2928,ViewEmptyElement as _0x41b2ba,ViewRawElement as _0x4b6332,ViewUIElement as _0x36bb3,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x166896,set as _0x54e829,unset as _0x959d9a,isEqual as _0x50794c}from'lodash-es';import{View as _0xfbdf25,injectCssTransitionDisabler as ts,submitHandler as _0x3754ed,LabeledFieldView as at,createLabeledInputText as _0x870591,createDropdown as _0x157fb4,ListView as te,ListItemView as _0x30cbbe,ButtonView as _0x27cfa6,MenuBarMenuView as _0x4b79e1,MenuBarMenuListView as _0x4a7b5a,MenuBarMenuListItemView as _0x3e05b7,MenuBarMenuListItemButtonView as _0x4252c3,ContextualBalloon as _0x4c396d,ToolbarSeparatorView as _0x34cf4e,IconView as _0x2f3a7c,addListToDropdown as _0x13eac9,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 _0x3db3bf}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x526ac8(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x14aeae){super(),this['id']=_0x14aeae['id']||_0x20896a(),this['creator']=_0x14aeae['creator']||null,this['authors']=_0x14aeae['authors']||[],this['diffData']=_0x14aeae['diffData']||null,this['toVersion']=_0x14aeae['toVersion']||0x0,this['fromVersion']=_0x14aeae['fromVersion']||0x0,this['set']('name',_0x14aeae['name']||''),this['set']('createdAt',_0x14aeae['createdAt']||new Date()),this['set']('attributes',_0x14aeae['attributes']||{});}['setName'](_0x3a1d97){this['_update']({'name':_0x3a1d97});}['setAttribute'](_0x35500f,_0xdbb14f){const _0x279b90=_0x166896(this['attributes']);_0x54e829(_0x279b90,_0x35500f,_0xdbb14f),this['_update']({'attributes':_0x279b90});}['removeAttribute'](_0x1bfc98){const _0x3dcc8c=_0x166896(this['attributes']);_0x959d9a(_0x3dcc8c,_0x1bfc98),this['_update']({'attributes':_0x3dcc8c});}['_update'](_0x212833,_0x349368=!0x1){let _0x191d13=!0x1;const _0x47e393={'id':this['id']},_0x4d69b9=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x5e4bfc of _0x4d69b9){const _0x3ab778=_0x212833[_0x5e4bfc];void 0x0!==_0x3ab778&&_0x3ab778!==this[_0x5e4bfc]&&(this[_0x5e4bfc]=_0x3ab778,_0x47e393[_0x5e4bfc]=_0x3ab778,_0x191d13=!0x0);}_0x191d13&&(_0x47e393['authors']&&(_0x47e393['authorsIds']=_0x47e393['authors']['map'](_0x4fb59e=>_0x4fb59e['id']),delete _0x47e393['authors']),this['fire']('_update',_0x47e393,_0x349368));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x7855db=>_0x7855db['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x432e29{['_revisions'];static get['requires'](){return[_0x7e3f5d];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x1dbe8f){super(_0x1dbe8f),this['_revisions']=new _0x12acb5();}['afterInit'](){!function(_0x5a091b){function _0x3c7610(_0x18638f,_0x307fa6,_0x2e7f72){const _0x540daf={};_0x540daf[_0x253b44([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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],_0x540daf[_0x253b44([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 _0x5b3b80=new Uint8Array(0x10);for(let _0x2b9ce4=0xf;_0x2b9ce4>=0x0;--_0x2b9ce4)_0x5b3b80[_0x2b9ce4]=_0x2e7f72%0x100,_0x2e7f72=parseInt(_0x2e7f72/0x100);let _0xaa7cf2=null,_0x531de6=0x10;const _0x1fa85e=new Uint8Array(_0x307fa6),_0x10f492=[],_0x3ee977=[];_0x55755e();for(let _0x2877e1=0x0;_0x2877e1<_0x18638f[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2877e1++)0x10===_0x531de6&&(_0xaa7cf2=_0x2387cf(_0x5b3b80),_0x531de6=0x0,_0x1d0814(_0x5b3b80)),_0x18638f[_0x2877e1]^=_0xaa7cf2[_0x531de6++];return _0x18638f;function _0x9e7ec2(_0x473ccf){const _0x7ac4f8=[];for(let _0x58931a=0x0;_0x58931a<_0x473ccf[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58931a+=0x4)_0x7ac4f8[_0x253b44([0x70,0x75,0x73,0x68])](_0x473ccf[_0x58931a]<<0x18|_0x473ccf[_0x58931a+0x1]<<0x10|_0x473ccf[_0x58931a+0x2]<<0x8|_0x473ccf[_0x58931a+0x3]);return _0x7ac4f8;}function _0x1d0814(_0x515fb7){for(let _0x1c1243=0xf;_0x1c1243>=0x0;_0x1c1243--){if(0xff!==_0x515fb7[_0x1c1243]){_0x515fb7[_0x1c1243]++;break;}_0x515fb7[_0x1c1243]=0x0;}}function _0x2387cf(_0x46572e){const _0x210497=_0x10f492[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x525d4e=[0x0,0x0,0x0,0x0];let t=_0x9e7ec2(_0x46572e);for(let _0x5c8d93=0x0;_0x5c8d93<0x4;_0x5c8d93++)t[_0x5c8d93]^=_0x10f492[0x0][_0x5c8d93];for(let _0x4bea5f=0x1;_0x4bea5f<_0x210497;_0x4bea5f++){for(let _0x5c1361=0x0;_0x5c1361<0x4;_0x5c1361++)_0x525d4e[_0x5c1361]=_0x540daf[_0x253b44([0x54,0x31])][t[_0x5c1361]>>0x18&0xff]^_0x540daf[_0x253b44([0x54,0x32])][t[(_0x5c1361+0x1)%0x4]>>0x10&0xff]^_0x540daf[_0x253b44([0x54,0x33])][t[(_0x5c1361+0x2)%0x4]>>0x8&0xff]^_0x540daf[_0x253b44([0x54,0x34])][0xff&t[(_0x5c1361+0x3)%0x4]]^_0x10f492[_0x4bea5f][_0x5c1361];t=_0x525d4e[_0x253b44([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5c7953=new Uint8Array(0x10);let _0x15660e;for(let _0x31305b=0x0;_0x31305b<0x4;_0x31305b++)_0x15660e=_0x10f492[_0x210497][_0x31305b],_0x5c7953[0x4*_0x31305b]=0xff&(_0x540daf[_0x253b44([0x53])][t[_0x31305b]>>0x18&0xff]^_0x15660e>>0x18),_0x5c7953[0x4*_0x31305b+0x1]=0xff&(_0x540daf[_0x253b44([0x53])][t[(_0x31305b+0x1)%0x4]>>0x10&0xff]^_0x15660e>>0x10),_0x5c7953[0x4*_0x31305b+0x2]=0xff&(_0x540daf[_0x253b44([0x53])][t[(_0x31305b+0x2)%0x4]>>0x8&0xff]^_0x15660e>>0x8),_0x5c7953[0x4*_0x31305b+0x3]=0xff&(_0x540daf[_0x253b44([0x53])][0xff&t[(_0x31305b+0x3)%0x4]]^_0x15660e);return _0x5c7953;}function _0x55755e(){const _0x1c9792=_0x540daf[_0x253b44([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x1fa85e[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2cd495=0x0;_0x2cd495<=_0x1c9792;_0x2cd495++)_0x10f492[_0x253b44([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x3ee977[_0x253b44([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x47ec74=0x4*(_0x1c9792+0x1),_0x161bb1=_0x1fa85e[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x45fefe=_0x9e7ec2(_0x1fa85e);let _0x49ee45;for(let _0x28ebe5=0x0;_0x28ebe5<_0x161bb1;_0x28ebe5++)_0x49ee45=_0x28ebe5>>0x2,_0x10f492[_0x49ee45][_0x28ebe5%0x4]=_0x45fefe[_0x28ebe5],_0x3ee977[_0x1c9792-_0x49ee45][_0x28ebe5%0x4]=_0x45fefe[_0x28ebe5];let _0x12ba60,_0xeee2ae=0x0,t=_0x161bb1;for(;t<_0x47ec74;){_0x12ba60=_0x45fefe[_0x161bb1-0x1],_0x45fefe[0x0]^=_0x540daf[_0x253b44([0x53])][_0x12ba60>>0x10&0xff]<<0x18^_0x540daf[_0x253b44([0x53])][_0x12ba60>>0x8&0xff]<<0x10^_0x540daf[_0x253b44([0x53])][0xff&_0x12ba60]<<0x8^_0x540daf[_0x253b44([0x53])][_0x12ba60>>0x18&0xff]^_0x540daf[_0x253b44([0x72,0x63,0x6f,0x6e])][_0xeee2ae]<<0x18,_0xeee2ae+=0x1;for(let _0x1385b1=0x1;_0x1385b1<_0x161bb1/0x2;_0x1385b1++)_0x45fefe[_0x1385b1]^=_0x45fefe[_0x1385b1-0x1];_0x12ba60=_0x45fefe[_0x161bb1/0x2-0x1],_0x45fefe[_0x161bb1/0x2]^=_0x540daf[_0x253b44([0x53])][0xff&_0x12ba60]^_0x540daf[_0x253b44([0x53])][_0x12ba60>>0x8&0xff]<<0x8^_0x540daf[_0x253b44([0x53])][_0x12ba60>>0x10&0xff]<<0x10^_0x540daf[_0x253b44([0x53])][_0x12ba60>>0x18&0xff]<<0x18;for(let _0x289f27=_0x161bb1/0x2+0x1;_0x289f27<_0x161bb1;_0x289f27++)_0x45fefe[_0x289f27]^=_0x45fefe[_0x289f27-0x1];let _0x4f3ce4,_0x21fcb7,_0x32efb9=0x0;for(;_0x32efb9<_0x161bb1&&t<_0x47ec74;)_0x4f3ce4=t>>0x2,_0x21fcb7=t%0x4,_0x10f492[_0x4f3ce4][_0x21fcb7]=_0x45fefe[_0x32efb9],_0x3ee977[_0x1c9792-_0x4f3ce4][_0x21fcb7]=_0x45fefe[_0x32efb9++],t++;}for(let _0x2cb10e=0x1;_0x2cb10e<_0x1c9792;_0x2cb10e++)for(let _0x5612ad=0x0;_0x5612ad<0x4;_0x5612ad++)_0x12ba60=_0x3ee977[_0x2cb10e][_0x5612ad],_0x3ee977[_0x2cb10e][_0x5612ad]=_0x540daf[_0x253b44([0x55,0x31])][_0x12ba60>>0x18&0xff]^_0x540daf[_0x253b44([0x55,0x32])][_0x12ba60>>0x10&0xff]^_0x540daf[_0x253b44([0x55,0x33])][_0x12ba60>>0x8&0xff]^_0x540daf[_0x253b44([0x55,0x34])][0xff&_0x12ba60];}}function _0x253b44(_0x4da9aa){return _0x4da9aa['map'](_0x2d6387=>String['fromCharCode'](_0x2d6387))['join']('');}(_0x21f8b9=>{function _0x5bed01(){const _0x425c84=[{[_0x253b44([0x69,0x64])]:0x1,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x253b44([0x69,0x64])]:0x2,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([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]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x253b44([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x253b44([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x253b44([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x253b44([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x253b44([0x69,0x64])]:0x3,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x253b44([0x69,0x64])]:0x4,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([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]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x253b44([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x253b44([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x253b44([0x69,0x64])]:0x5,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([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]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}},{[_0x253b44([0x69,0x64])]:0x6,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}},{[_0x253b44([0x69,0x64])]:0x7,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}},{[_0x253b44([0x69,0x64])]:0x8,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([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]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}},{[_0x253b44([0x69,0x64])]:0x9,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x253b44([0x69,0x64])]:0xa,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([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]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([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]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([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]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}},{[_0x253b44([0x69,0x64])]:0xb,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x253b44([0x69,0x64])]:0xc,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x253b44([0x69,0x64])]:0xd,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}},{[_0x253b44([0x69,0x64])]:0xe,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x253b44([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([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])},{[_0x253b44([0x69,0x64])]:0xf,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x253b44([0x69,0x64])]:0x10,[_0x253b44([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x253b44([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x253b44([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x253b44([0x66,0x67,0x69])]:[0xc]}}];return _0x5e26d1(_0x425c84),_0x425c84;function _0x1fbcf1(_0x2fc659){return 0x1<<_0x2fc659-0x1;}function _0x5e26d1(_0x149dba){_0x149dba[_0x253b44([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x308df2=>{_0x308df2[_0x253b44([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1fbcf1(_0x308df2[_0x253b44([0x69,0x64])]),_0x2d199d(_0x308df2)&&_0x308df2[_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5e26d1(_0x308df2[_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x2d199d(_0x5cbeb4){return _0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x5cbeb4;}const _0x48a0e9=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x59b85b=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x527863(_0x23d5a4){const _0x59e61a=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x44c01a(_0x23d5a4,new Uint8Array([..._0x48a0e9,..._0x59e61a,..._0x59b85b]));}function _0x44c01a(_0x314fe8,_0x5a18f7){const _0x4e41c4=_0xd2a947(_0x314fe8),_0x36444f=Array[_0x253b44([0x66,0x72,0x6f,0x6d])](_0x274801(_0x4e41c4)),_0x57715c=_0x36444f[_0x253b44([0x70,0x6f,0x70])](),_0x5f4c62=_0x36444f[_0x253b44([0x70,0x6f,0x70])]();return _0x260e3b(_0x3c7610(_0x36444f,_0x5a18f7,_0x5f4c62+0x100*_0x57715c));}function _0xd2a947(_0x176c0a){const _0x5c56e0=atob(_0x176c0a),[_0xdc6f36,_0x24d89b]=_0x5c56e0[_0x253b44([0x73,0x70,0x6c,0x69,0x74])](_0x253b44([0x2d]));try{if(atob(_0x24d89b))return atob(_0xdc6f36);}catch(_0x4be20a){}return _0x5c56e0;}function _0x584aa1(_0x5d0e8b){try{const _0x35de5a=_0x527863(_0x5d0e8b),_0x2aa4f9=JSON[_0x253b44([0x70,0x61,0x72,0x73,0x65])](_0x35de5a),_0x5cdc83=parseInt(_0x2aa4f9[_0x253b44([0x31])]),_0x560296=_0x2aa4f9[_0x253b44([0x32])]||'',_0x31b5ff=parseInt(_0x2aa4f9[_0x253b44([0x33])]),_0x329eec=parseInt(_0x2aa4f9[_0x253b44([0x34])])||0x0,_0x3f3168=parseInt(_0x2aa4f9[_0x253b44([0x35])])||0x0;return{[_0x253b44([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x560296,[_0x253b44([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x329eec,[_0x253b44([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x5cdc83,[_0x253b44([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x31b5ff,[_0x253b44([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x3f3168};}catch(_0x5bb417){return null;}}const _0x582ca9=_0x5bed01(),_0x2c9dc1={[_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4d624a,[_0x253b44([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])]:_0x329ba7,[_0x253b44([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])]:_0x33856e},_0x551af2=_0x21f8b9[_0x253b44([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x6e49b3=_0x253b44([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x21f8b9?_0x21f8b9['context']:_0x21f8b9['editor'],_0x4d0d85=_0x253b44([0x34,0x30,0x34,0x38,0x31,0x36,0x34,0x34]),_0x458e11=_0x253b44([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]),_0x4a4e7e=_0x6e49b3['config']['get'](_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x21f353=_0x582ca9[_0x253b44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d199d)[_0x253b44([0x66,0x69,0x6e,0x64])](_0x1742de=>_0x1742de[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x551af2);function _0xde3a37(_0x243381,_0x53d02b){_0x2c9dc1[_0x53d02b[_0x253b44([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x243381,_0x53d02b),_0x53d02b[_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x53d02b[_0x253b44([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x253b44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x353900=>_0x3e0055(_0x6e49b3,_0x353900[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x253b44([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5ccbfe=>_0xde3a37(_0x243381,_0x5ccbfe));}function _0x4d624a(_0xcaf4c9,_0xc3145f){_0x1cd8bb(_0x4fc41a(_0xcaf4c9,_0xc3145f),_0xc3145f);}function _0x329ba7(_0x2083f5,_0x13d1d0){function _0x4efff2(_0x302096,_0x3806db){try{if(_0x3e0055(_0x6e49b3,_0x253b44([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x302096){const _0x28183f=_0xb20da3(_0x6e49b3,_0x253b44([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x253b44([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x28183f)/0x2>_0x302096[_0x253b44([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x50d115(_0x3806db[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4fc41a(_0x302096,_0x3806db);}catch(_0x259907){return _0x50d115(_0x3806db[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1cd8bb(_0x4efff2(_0x2083f5,_0x13d1d0),_0x13d1d0);}function _0x33856e(_0x299037,_0x4c399d){const _0x2e7d06=_0x59b85b[0x0]*_0x48a0e9[0x1],_0x44e938=_0x59b85b[0x0]*_0x48a0e9[0x2],_0x32358c=_0x59b85b[0x2]*_0x48a0e9[0x2];_0x3e0055(_0x6e49b3,_0x253b44([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xb20da3(_0x6e49b3,_0x253b44([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x253b44([0x73,0x74,0x61,0x74,0x65])]==_0x253b44([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x20c886()]=_0x32358c);function _0x352275(_0x3c39cd,_0x34e013){try{return _0x5ec5d7()?_0x50d115(_0x34e013[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x56,0x61,0x6c,0x69,0x64])):_0x4fc41a(_0x3c39cd,_0x34e013);}catch(_0x49695f){return _0x50d115(_0x34e013[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x528844(_0x2fd5a7,_0x556b5d){const _0x1e88a9=0x7;if(_0x2fd5a7==_0x556b5d[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x11a2b1();else{if(_0x2fd5a7==_0x556b5d[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c])){const _0x3e5b19=_0xf6a925();_0x3e5b19&&_0x10cc70(_0x3e5b19,_0x556b5d[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x2404fb=_0x4616af();window[_0x253b44([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x10cc70(_0x253b44([0x74,0x69,0x6d,0x65]),_0x556b5d[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x2404fb);const _0x3c7a5a=_0xb20da3(_0x6e49b3,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x253b44([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3c7a5a[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1e88a9?_0x10cc70(_0x253b44([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x556b5d[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3c7a5a['on'](_0x253b44([0x61,0x64,0x64]),()=>{_0x3c7a5a[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1e88a9&&_0x10cc70(_0x253b44([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x556b5d[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0xf6a925(){if(!_0x3e0055(_0x6e49b3,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1e7fa2 in window)if(Number['isNaN'](Number(_0x1e7fa2))){if(window[_0x1e7fa2]===_0x2e7d06)return _0x253b44([0x74,0x69,0x6d,0x65]);if(window[_0x1e7fa2]===_0x44e938)return _0x253b44([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5ec5d7(){if(!_0x3e0055(_0x6e49b3,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x50a1d6 in window)if(Number['isNaN'](Number(_0x50a1d6))&&window[_0x50a1d6]===_0x32358c)return!0x0;return!0x1;}function _0x10cc70(_0x204dd4,_0xe16136){_0x11a2b1(),_0x50d115(_0xe16136+_0x253b44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x204dd4),window[_0x20c886()]=_0x204dd4===_0x253b44([0x74,0x69,0x6d,0x65])?_0x2e7d06:_0x44e938;}function _0x4616af(){let _0x285430=_0x59b85b[0x6]*_0x48a0e9[0x8]*_0x48a0e9[0x6];return _0x3e0055(_0x6e49b3,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x285430/=0xa),_0x285430;}function _0x11a2b1(){const _0x41c2fd=_0x6e49b3;function _0xd7fd51(){_0x3e0055(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x253b44([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x253b44([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x253b44([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x253b44([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2837e1,_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x253b44([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2837e1,_0x41c2fd[_0x253b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x253b44([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2837e1,_0x41c2fd[_0x253b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x253b44([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2837e1,_0x41c2fd[_0x253b44([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x253b44([0x6d,0x6f,0x64,0x65,0x6c]))),_0x3e0055(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x253b44([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x253b44([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x253b44([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x253b44([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2837e1,_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x253b44([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2837e1);}_0x41c2fd[_0x253b44([0x73,0x74,0x61,0x74,0x65])]==_0x253b44([0x72,0x65,0x61,0x64,0x79])?_0xd7fd51():_0x41c2fd[_0x253b44([0x6f,0x6e,0x63,0x65])](_0x253b44([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x3e0055(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xd7fd51(),_0x3e0055(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x352756=_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2bd591=_0x352756['getRevision'](0x0),_0x4202d6=_0x352756['getEarlierVisibleRevision'](_0x2bd591[_0x253b44([0x69,0x64])]);_0xb20da3(_0x41c2fd,_0x253b44([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x253b44([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2bd591[_0x253b44([0x69,0x64])],_0x4202d6?_0x4202d6[_0x253b44([0x69,0x64])]:null,0x1)['then'](()=>_0xd7fd51());}});}_0x528844(_0x352275(_0x299037,_0x4c399d),_0x4c399d);}function _0x4fc41a(_0x12dc84,_0x32172c){try{return _0x386d2f(_0x32172c)?_0x50d115(_0x32172c[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x56,0x61,0x6c,0x69,0x64])):_0x12dc84&&_0x25dfb3(_0x12dc84[_0x253b44([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x32172c)?_0x12dc84[_0x253b44([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x253b44([0x6f,0x70,0x65,0x6e])][_0x253b44([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4d0d85)/0x2>_0x12dc84[_0x253b44([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x50d115(_0x32172c[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x12dc84[_0x253b44([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x50d115(_0x32172c[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c])):_0x50d115(_0x32172c[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x56,0x61,0x6c,0x69,0x64])):_0x50d115(_0x32172c[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x3c0a7d){return _0x50d115(_0x32172c[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1cd8bb(_0x48817a,_0x3bd247){if(_0x6e49b3 instanceof _0xeb7b38){const _0x41bbaf=_0x6e49b3;_0x48817a==_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x44c4fc(_0x41bbaf):_0x48817a==_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c])&&window[_0x253b44([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x44c4fc(_0x41bbaf),_0x50d115(_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x59b85b[0x6]*_0x48a0e9[0x8]*_0x48a0e9[0x6]),_0x41bbaf[_0x253b44([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x253b44([0x6f,0x6e])](_0x253b44([0x61,0x64,0x64]),(_0x4973a5,_0x16410e)=>{_0x48817a!=_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x48817a!=_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x48817a!=_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x2f8daa(_0x16410e);});}else{const _0x40b07e=_0x6e49b3;_0x48817a==_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2f8daa(_0x40b07e):_0x48817a==_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c])&&_0x40b07e[_0x253b44([0x6f,0x6e])](_0x253b44([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x56fc61=0x0;_0x40b07e[_0x253b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x253b44([0x6f,0x6e])](_0x253b44([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x47ef2f,_0xe826d7)=>{_0xe826d7[0x0][_0x253b44([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x56fc61++,0x1f8===_0x56fc61&&(_0x2f8daa(_0x40b07e),_0x50d115(_0x3bd247[_0x253b44([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x253b44([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x47ef2f[_0x253b44([0x6f,0x66,0x66])]());},{'priority':_0x253b44([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x50d115(_0x14a3be){const _0x3850b2=_0x20c886();return _0x6e49b3[_0x3850b2]=_0x14a3be,_0x14a3be;}function _0x20c886(){const _0x408003=String(window[_0x253b44([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x253b44([0x6e,0x6f,0x77])]())[_0x253b44([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x253b44([0x2e]),'');let _0x7a966a='';for(let _0x1cb84e=0x0;_0x1cb84e<_0x408003[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cb84e+=0x2){let _0x500a77=parseInt(_0x408003[_0x253b44([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cb84e,_0x1cb84e+0x2));_0x500a77>=_0x458e11[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x500a77-=_0x458e11[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x7a966a+=_0x458e11[_0x500a77];}return _0x7a966a;}function _0x44c4fc(_0x363482){for(const _0x405036 of _0x363482[_0x253b44([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x2f8daa(_0x405036);_0xb20da3(_0x363482,_0x253b44([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x253b44([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0xb20da3(_0x363482,_0x253b44([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x253b44([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2837e1;}function _0x2f8daa(_0x29b67c){function _0x2f5a92(){_0x29b67c[_0x253b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x253b44([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2837e1,_0x29b67c[_0x253b44([0x6d,0x6f,0x64,0x65,0x6c])][_0x253b44([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2837e1,_0x29b67c[_0x253b44([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x253b44([0x6d,0x6f,0x64,0x65,0x6c]));}_0x29b67c[_0x253b44([0x73,0x74,0x61,0x74,0x65])]==_0x253b44([0x72,0x65,0x61,0x64,0x79])?_0x2f5a92():_0x29b67c[_0x253b44([0x6f,0x6e,0x63,0x65])](_0x253b44([0x72,0x65,0x61,0x64,0x79]),()=>_0x2f5a92());}function _0x2837e1(){return null;}function _0x25dfb3(_0x33c693,_0x31ba17){const _0x2df5a6=!!(_0x33c693&_0x31ba17[_0x253b44([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2cc8b0=_0x5a34fc(_0x33c693,_0x31ba17);return _0x2df5a6||_0x2cc8b0;}function _0x5a34fc(_0x5ed6ec,_0x54255c){const _0x4f73bc=(_0x54255c[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x253b44([0x66,0x67,0x69])]||null;return!!_0x4f73bc&&_0x582ca9[_0x253b44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xa42605=>_0x4f73bc[_0x253b44([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa42605[_0x253b44([0x69,0x64])]))[_0x253b44([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e5a75=>!_0x488ebf(_0x4e5a75))[_0x253b44([0x73,0x6f,0x6d,0x65])](_0x1ae1a8=>!!(_0x5ed6ec&_0x1ae1a8[_0x253b44([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x488ebf(_0x12b274){const _0x1e1ba2={[_0x253b44([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])]:_0x21e65b};return!!_0x12b274['forbiddenHandler']&&_0x1e1ba2[_0x12b274['forbiddenHandler']]();}function _0x21e65b(){return!window[_0x253b44([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x3e0055(_0x6e49b3,_0x253b44([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x386d2f(_0x17f8ef){if(!_0x3e0055(_0x6e49b3,_0x17f8ef[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2f3b9=_0x17f8ef[_0x253b44([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4f66b=_0x2f3b9[_0x253b44([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x2eca56=_0x2f3b9[_0x253b44([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x218f98=_0x2f3b9[_0x253b44([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x3e0055(_0x6e49b3,_0x253b44([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xb20da3(_0x6e49b3,_0x253b44([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x253b44([0x73,0x74,0x61,0x74,0x65])]==_0x253b44([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4f66b)return!0x0;if(_0x3e0055(_0x6e49b3,_0x253b44([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0xb20da3(_0x6e49b3,_0x253b44([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x253b44([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x253b44([0x65,0x6e,0x64])&&_0x2eca56)return!0x0;return!(!_0x3e0055(_0x6e49b3,_0x253b44([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]))||_0xb20da3(_0x6e49b3,_0x253b44([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]))[_0x253b44([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x253b44([0x65,0x6e,0x64])||!_0x218f98);}function _0x3e0055(_0x18ffa5,_0x2b117a){return _0x18ffa5[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x253b44([0x68,0x61,0x73])](_0x2b117a);}function _0xb20da3(_0x2ed383,_0x340ae0){return _0x2ed383[_0x253b44([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x253b44([0x67,0x65,0x74])](_0x340ae0);}function _0x260e3b(_0x430f33){let _0x50d0c3='';for(const _0x1e720d of _0x430f33)_0x50d0c3+=String[_0x253b44([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1e720d);return _0x50d0c3;}function _0x274801(_0x391a2b){const _0x487812=new Uint8Array(_0x391a2b[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x511ec1=0x0;_0x511ec1<_0x391a2b[_0x253b44([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x511ec1++)_0x487812[_0x511ec1]=_0x391a2b[_0x253b44([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x511ec1);return _0x487812;}_0x21f353&&_0xde3a37(_0x584aa1(_0x4a4e7e),_0x21f353);})(_0x5a091b);}(this);}['createRevision'](_0x105f5e){const _0x19dab9=this['editor']['plugins']['get']('Users');return new a({'id':_0x105f5e['id'],'name':_0x105f5e['name'],'creator':_0x105f5e['creatorId']?_0x19dab9['getUser'](_0x105f5e['creatorId']):null,'diffData':_0x105f5e['diffData']||_0x105f5e['data'],'authors':_0x105f5e['authorsIds']['map'](_0x1cbdff=>_0x19dab9['getUser'](_0x1cbdff)),'createdAt':new Date(_0x105f5e['createdAt']),'attributes':_0x105f5e['attributes'],'fromVersion':_0x105f5e['fromVersion'],'toVersion':_0x105f5e['toVersion']});}['addRevision'](_0x4852cf,_0x5b1750=0x0){this['_revisions']['add'](_0x4852cf,_0x5b1750);}['getRevision'](_0x2a6b2e){return this['_revisions']['get'](_0x2a6b2e);}['getRevisions'](_0x4cf847={'toJSON':!0x1}){const _0x1ab814=Array['from'](this['_revisions']);return _0x1ab814['reverse'](),_0x4cf847['toJSON']?_0x1ab814['map'](_0x2aac75=>_0x2aac75['toJSON']()):_0x1ab814;}['getIndex'](_0x28564d){return this['_revisions']['getIndex'](_0x28564d);}['getEarlierVisibleRevision'](_0x544bfd){const [,_0x19e42c]=this['getRevisionsIterator'](_0x544bfd,{'direction':'earlier'});return _0x19e42c;}['getLaterVisibleRevision'](_0x1cf2cf){const [,_0x133c1b]=this['getRevisionsIterator'](_0x1cf2cf,{'direction':'later'});return _0x133c1b;}['getRevisionsInDiff'](_0x20cbe4){const _0x2e2592=[];for(const _0x142a53 of this['getRevisionsIterator'](_0x20cbe4['newRevisionId']))if(_0x2e2592['push'](_0x142a53),_0x142a53['id']===_0x20cbe4['oldRevisionId'])break;return _0x2e2592;}*['getRevisionsIterator'](_0x2fb540,{direction:_0x1c079c='earlier',filter:_0x2d6f7e=_0x5ab1c=>!0x0}={}){const _0x258403='earlier'===_0x1c079c?0x1:-0x1;let _0x39a732=this['_revisions']['get'](_0x2fb540),_0x26f4af=this['getIndex'](_0x39a732);for(yield _0x39a732;_0x39a732;){if(_0x26f4af+=_0x258403,_0x39a732=this['getRevision'](_0x26f4af),!_0x39a732)return;_0x2d6f7e(_0x39a732)&&(yield _0x39a732);}}}function y(_0x3597b9,_0x2a5dd1,_0x146c73){const t=_0x3597b9['t'];switch(_0x2a5dd1){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'},_0x146c73);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x146c73);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':_0x3b1b30,'a':_0x7e2928,'e':_0x41b2ba,'r':_0x4b6332,'u':_0x36bb3};class l extends _0x432e29{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x7e3f5d,A,_0x57267d];}constructor(_0xe75cad){super(_0xe75cad),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 _0x1795f9=_0x20896a();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1795f9},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 _0x76a754=this['repository']['getRevision'](0x0),_0x11be21=_0x76a754&&null===_0x76a754['creator']?_0x76a754:null;if(this['_continueCurrentRevision']=!!_0x11be21&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x44a893=this['_source']['getCurrentRevisionId'](),_0xb9763e=this['repository']['getRevision'](_0x44a893);if(_0xb9763e)this['_startingVersion']=_0xb9763e['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x6dac2=this['_source']['history']['_operations']['find'](_0x4cff5b=>!_0x4cff5b['_isInit']),_0x5282d8=_0x6dac2?_0x6dac2['baseVersion']:this['_source']['history']['version'];_0x76a754?(_0x76a754['toVersion']<_0x5282d8&&_0x76a754['_update']({'toVersion':_0x5282d8}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x11be21['id'],this['_startingVersion']=_0x11be21['fromVersion']):(this['_startingVersion']=_0x76a754['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5282d8,this['_continueCurrentRevision']=!0x1);}}else _0x11be21&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x11be21['toVersion'],this['editor']['model']['document']['history']['version']),_0x11be21['fromVersion']===_0x11be21['toVersion']?(0x0!==_0x11be21['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x11be21['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x11be21['id'],this['_startingVersion']=_0x11be21['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',_0x26b9ef=>!_0x26b9ef);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x14ca68=this['repository']['getRevision'](0x0),_0x3a86f2=await this['getRevisionDocumentData'](_0x14ca68),_0x1a3f13=await this['getRevisionRootsAttributes'](_0x14ca68);this['_replaceEditorDataWithRevisionData'](_0x3a86f2,_0x1a3f13);}}['setSource'](_0x4a3a0d){this['_source']=_0x4a3a0d;}async['update'](){const _0x2dbe38=await this['_source']['getLatestVersion']();if(_0x2dbe38>this['currentRevision']['toVersion']){await this['_loadState']();const _0x330e73=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x2dbe38});_0x330e73['authors']=_0x330e73['authorsIds']['map'](_0x1a05df=>this['editor']['plugins']['get']('Users')['getUser'](_0x1a05df)),this['currentRevision']['_update'](_0x330e73);}}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'](_0x46855c={},_0x204733=null){const _0x5bd274=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x204733>this['currentRevision']['toVersion']&&(_0x204733=null),null===_0x204733&&(_0x204733=await this['_source']['getLatestVersion']());const _0x18c8fb=this['_getFromVersion'](_0x204733),_0x4be54b=this['buildRevisionData']({'from':_0x18c8fb,'to':_0x204733});if(this['currentRevision']['toVersion']<_0x204733){const _0x30a206=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x204733,'to':_0x204733});_0x30a206['authors']=[],_0x30a206['authorsIds']=[],_0x30a206['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x30a206,!0x0),delete _0x30a206['authors'],_0x5bd274['push'](_0x30a206);}_0x46855c['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x46855c['name']=_0x46855c['name']||null,_0x46855c['id']=_0x46855c['id']||_0x20896a(),_0x46855c={..._0x46855c,..._0x4be54b};const _0x46eaee=this['addRevisionData'](_0x46855c);_0x5bd274['push'](_0x46855c);const _0x10eb30=this['repository']['getIndex'](_0x46eaee);if(0x0!==_0x10eb30){const _0x3f2cdd=this['repository']['getRevision'](_0x10eb30-0x1);if(_0x3f2cdd['fromVersion']!==_0x204733){const _0x1b0485=this['_revisionDataBuilder']['getData'](_0x204733,_0x3f2cdd['toVersion']),_0x5753e8={'id':_0x3f2cdd['id'],'diffData':_0x1b0485['diffData'],'authorsIds':_0x1b0485['authorsIds'],'authors':_0x1b0485['authorsIds']['map'](_0x52c099=>this['editor']['plugins']['get']('Users')['getUser'](_0x52c099)),'fromVersion':_0x204733};_0x3f2cdd===this['currentRevision']&&(_0x5753e8['createdAt']=new Date(_0x46855c['createdAt']['getTime']()+0xa)),_0x3f2cdd['_update'](_0x5753e8,!0x0),delete _0x5753e8['authors'],_0x5bd274['push'](_0x5753e8);}}if(this['adapter']){for(const _0x27c727 of _0x5bd274)this['_bufferUpdate'](_0x27c727['id'],_0x27c727,!0x0);this['sendBufferedUpdates']();}return _0x46eaee;}['addRevisionData'](_0x55d5c2){const _0x43c018=this['repository']['createRevision'](_0x55d5c2);return this['adapter']&&_0x43c018['on']('_update',(_0x43420c,_0x36e103,_0x1fc938)=>{_0x1fc938||(this['_bufferUpdate'](_0x36e103['id'],_0x36e103,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x43c018,this['_findInsertionIndex'](_0x43c018)),_0x43c018;}async['getRevisionDocumentData'](_0x2e885b){await this['_loadRevisionData'](_0x2e885b);const _0x333b0c={};for(const _0x44dac2 in _0x2e885b['diffData']){if(_0x2e885b['diffData'][_0x44dac2]['attachChange']&&!_0x2e885b['diffData'][_0x44dac2]['attachChange']['isAttached'])continue;const _0x30154b=this['_removeRevisionMarkers'](JSON['parse'](_0x2e885b['diffData'][_0x44dac2]['insertions'])),_0x38c937=this['editor']['editing']['view']['document'],_0x38ad84=new _0x32ae63(_0x38c937,_0x30154b['map'](_0x5e7939=>B(_0x5e7939,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x333b0c[_0x44dac2]=this['editor']['data']['processor']['toData'](_0x38ad84),this['editor']['data']['processor']['useFillerType']('default');}return _0x333b0c;}async['getRevisionRootsAttributes'](_0x5556da){await this['_loadRevisionData'](_0x5556da);const _0x171ed7={};for(const _0x49f6a5 in _0x5556da['diffData'])_0x5556da['diffData'][_0x49f6a5]['attachChange']&&!_0x5556da['diffData'][_0x49f6a5]['attachChange']['isAttached']||(_0x171ed7[_0x49f6a5]=_0x5556da['diffData'][_0x49f6a5]['attributesAfter']||{});return _0x171ed7;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1c1503=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x37278a=0x0;_0x37278a<_0x1c1503['length'];_0x37278a++){const _0xe7ae5c=_0x1c1503[_0x37278a];let _0x5bb256=!0x1;for(const _0x20f6ac of Object['keys'](_0xe7ae5c))void 0x0===_0xe7ae5c[_0x20f6ac]?delete _0xe7ae5c[_0x20f6ac]:'id'!==_0x20f6ac&&(_0x5bb256=!0x0);_0x5bb256||(_0x1c1503[_0x37278a]=null);}if(_0x1c1503=_0x1c1503['filter'](_0x1358d7=>null!==_0x1358d7),!_0x1c1503['length'])return;for(let _0x414b85=0x0;_0x414b85<_0x1c1503['length'];_0x414b85++){const _0x4a5827=_0x1c1503[_0x414b85];void 0x0!==_0x4a5827['fromVersion']&&void 0x0===_0x4a5827['toVersion']&&(_0x4a5827['toVersion']=this['repository']['getRevision'](_0x4a5827['id'])['toVersion']),void 0x0!==_0x4a5827['toVersion']&&void 0x0===_0x4a5827['fromVersion']&&(_0x4a5827['fromVersion']=this['repository']['getRevision'](_0x4a5827['id'])['fromVersion']);}const _0x422fe9=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1c1503,_0x422fe9)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4868e3=>{if(_0x4868e3){for(const _0x4df2db of _0x4868e3)this['setRevisionData']({'id':_0x4df2db['id'],'createdAt':_0x4df2db['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x256e00,_0xf56c54){let _0x519b4a=this['editor']['config']['get']('initialData'),_0x30971e=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x519b4a){_0x519b4a={};for(const _0x54c36a of this['editor']['model']['document']['getRootNames']())_0x519b4a[_0x54c36a]='';}if('string'==typeof _0x519b4a&&(_0x519b4a={'main':_0x519b4a}),void 0x0===_0x30971e){_0x30971e={};for(const _0x5b918d of this['editor']['model']['document']['getRootNames']())_0x30971e[_0x5b918d]={};}let _0x22e9aa=!0x1;const _0x1f2563=Object['keys'](_0x519b4a),_0x125c1f=Object['keys'](_0x256e00);for(const _0x441527 of _0x1f2563){if(_0x519b4a[_0x441527]!==_0x256e00[_0x441527]&&''!==_0x519b4a[_0x441527]['trim']()){_0x22e9aa=!0x0;break;}if(!_0x50794c(_0x30971e[_0x441527],_0xf56c54[_0x441527])&&Object['keys'](_0x30971e[_0x441527])['length']>0x0){_0x22e9aa=!0x0;break;}}_0x22e9aa||(_0x22e9aa=_0x125c1f['some'](_0x16a719=>!this['editor']['model']['document']['getRoot'](_0x16a719))),_0x22e9aa&&_0x21e27f('editor-initial-data-replaced-with-revision-data',{'editorData':_0x519b4a,'editorRootsAttributes':_0x30971e,'revisionData':_0x256e00,'revisionRootsAttributes':_0xf56c54}),this['editor']['config']['set']('initialData',_0x256e00),this['editor']['config']['set']('rootsAttributes',_0xf56c54);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3daf65=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3daf65['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0xc76127){const _0x5b1ef0=this['repository']['getRevisions']();_0x5b1ef0['reverse']();let _0x20729f=0x0;for(;_0x20729f<_0x5b1ef0['length'];){const _0x2b3f5c=_0x5b1ef0[_0x20729f];if(_0x2b3f5c===this['currentRevision']){_0x20729f++;continue;}if(_0x2b3f5c['id']===this['_initialRevisionId'])break;const _0x1fc7ac=_0xc76127['toVersion']-_0x2b3f5c['toVersion']||_0xc76127['fromVersion']-_0x2b3f5c['fromVersion'];if(_0x1fc7ac>0x0)break;if(_0x1fc7ac<0x0)_0x20729f++;else{if(!_0xc76127['creator']&&_0x2b3f5c['creator'])break;if(_0x2b3f5c['creator']||!_0xc76127['creator']){if(_0xc76127['createdAt']>_0x2b3f5c['createdAt'])break;_0x20729f++;}else _0x20729f++;}}return _0x20729f;}['setRevisionData'](_0xeacc5c){const _0x63c548=this['repository']['getRevision'](_0xeacc5c['id']);if(_0xeacc5c['createdAt']&&(_0xeacc5c['createdAt']=new Date(_0xeacc5c['createdAt'])),_0xeacc5c['authorsIds']){const _0x2a8c26=this['editor']['plugins']['get']('Users');_0xeacc5c['authors']=_0xeacc5c['authorsIds']['map'](_0x38549d=>_0x2a8c26['getUser'](_0x38549d));}_0x63c548['_update'](_0xeacc5c,!0x0);}['buildRevisionData']({revision:_0x155e82=null,from:_0x1e4462=null,to:_0x40d083=null}){_0x1e4462=null!==_0x1e4462?_0x1e4462:_0x155e82['fromVersion'],_0x40d083=null!==_0x40d083?_0x40d083:_0x155e82['toVersion'];const _0x518856=this['_revisionDataBuilder']['getData'](_0x1e4462,_0x40d083),_0x14d05b={'diffData':_0x518856['diffData'],'authorsIds':_0x518856['authorsIds'],'fromVersion':_0x1e4462,'toVersion':_0x40d083};if(!_0x155e82||_0x40d083!==_0x155e82['toVersion']){const _0xefc8d4=_0x40d083-0x1,_0x44c4f2=this['_source']['history']['getOperation'](_0xefc8d4);_0x14d05b['createdAt']=_0x44c4f2&&_0x44c4f2['createdAt']||new Date();}if(this['_loadedStateData']&&_0x1e4462===this['_loadedStateData']['fromVersion']){for(const _0x4b721f of this['_loadedStateData']['authors'])_0x14d05b['authorsIds']['includes'](_0x4b721f['id'])||_0x14d05b['authorsIds']['push'](_0x4b721f['id']);}return _0x14d05b;}['_loadRevisionData'](_0x40bccf){if(!_0x40bccf||_0x40bccf['diffData'])return Promise['resolve']();{const _0x316cf5=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x316cf5,'revisionId':_0x40bccf['id']})['then'](_0x3380ba=>{_0x40bccf['diffData']=_0x3380ba['diffData'];});}}['_bufferUpdate'](_0x4f2cd0,_0x37c2b4,_0x4d8853){if(this['_bufferedUpdates']['has'](_0x4f2cd0)){const _0x369450=this['_bufferedUpdates']['get'](_0x4f2cd0);_0x37c2b4=_0x4d8853?{..._0x369450,..._0x37c2b4}:{..._0x37c2b4,..._0x369450};}this['_bufferedUpdates']['set'](_0x4f2cd0,_0x37c2b4);}['_getFromVersion'](_0x56a3bc){const _0x315a28=this['repository']['getRevisions']();_0x315a28['reverse'](),_0x315a28['shift']();const _0x37ea45=_0x315a28['find'](_0x147c10=>_0x147c10['toVersion']<=_0x56a3bc)['toVersion'];return _0x37ea45<this['_startingVersion']?this['_startingVersion']:_0x37ea45;}['_createInitialRevision'](_0x5dbaa6){const _0x50d8c0=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x50d8c0)this['_initialRevisionId']=_0x50d8c0['id'];else{const _0x1f143e=!this['editor']['model']['document']['roots']['find'](_0x20a903=>this['editor']['model']['hasContent'](_0x20a903)),_0x40c22d=this['editor']['plugins']['get']('Users')['me']['id'],_0x49113a=y(this['editor']['locale'],_0x1f143e?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5dbaa6,'to':_0x5dbaa6,'id':this['_initialRevisionId'],'name':_0x49113a,'creatorId':_0x40c22d});}}['_createCurrentRevision'](_0x3be047){const _0x4fa6b4=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x4fa6b4),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3be047,'to':_0x3be047,'id':_0x4fa6b4,'name':'','creatorId':null}));}['_makeRevision']({name:_0x532e98,from:_0x63e2ea,to:_0x793ffc,creatorId:_0x1b2f2f,id:_0x5d83f7}){const _0x25f2b2=this['buildRevisionData']({'from':_0x63e2ea,'to':_0x793ffc});_0x25f2b2['name']=_0x532e98,_0x25f2b2['creatorId']=_0x1b2f2f,_0x25f2b2['id']=_0x5d83f7;const _0x258fd9=this['addRevisionData'](_0x25f2b2);return this['adapter']&&this['_bufferUpdate'](_0x25f2b2['id'],_0x25f2b2,!0x0),_0x258fd9;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x361560){return(_0x361560=_0x361560['filter'](_0xee55a1=>!_0xee55a1['name']||'revision-start'!==_0xee55a1['name']&&'revision-end'!==_0xee55a1['name']))['forEach'](_0xfd39c2=>{'string'!=typeof _0xfd39c2&&(_0xfd39c2['children']=this['_removeRevisionMarkers'](_0xfd39c2['children']),_0xfd39c2['attributes']=_0xfd39c2['attributes']['filter'](_0x3df2ab=>!_0x3df2ab[0x0]['startsWith']('data-revision-')));}),_0x361560;}}function B(_0x2233e9,_0x59a3aa){const _0x22f1f8=_0x59a3aa['editing']['view']['document'];if('string'==typeof _0x2233e9)return new _0x5cdfad(_0x22f1f8,_0x2233e9);{const _0x213fe0=_0x2233e9['children']['map'](_0xa18fc4=>B(_0xa18fc4,_0x59a3aa));return new(T[_0x2233e9['type']]||_0xc3245e)(_0x22f1f8,_0x2233e9['name'],_0x2233e9['attributes'],_0x213fe0);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x584e13){this['editor']=_0x584e13,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'](_0x24ef9d){this['source']=_0x24ef9d;const _0x4b0ee4=new Map(),_0x262d35=new Map(),_0x3f9deb=this['editor']['model']['document']['roots']['map'](_0x1d1a1a=>_0x1d1a1a['rootName']);for(const _0x40be7d of _0x3f9deb){const _0xd1f471=this['editor']['model']['document']['getRoot'](_0x40be7d),_0x33eddf=q(_0xd1f471);_0x4b0ee4['set'](_0x40be7d,_0x33eddf),_0x262d35['set'](_0x40be7d,Object['fromEntries'](_0xd1f471['getAttributes']()));}const _0x37e17c=Array['from'](this['editor']['model']['markers'])['map'](_0x1edf58=>[_0x1edf58['name'],_0x1edf58['getRange']()]),_0x19ac23=this['source']['version'];this['_saveMetaData'](_0x19ac23,_0x4b0ee4,_0x37e17c,_0x262d35),this['_startingRevisionId']=this['_revisionId'];const _0xed61a0=new Map(),_0x1c1f21=new Map();for(const _0x3cf8d2 of _0x3f9deb){const _0x2e4ade=G(_0x3cf8d2);_0xed61a0['set'](_0x3cf8d2,_0x2e4ade),_0x1c1f21['set'](_0x3cf8d2,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xed61a0,[],_0x1c1f21);}['getData'](_0x184696,_0x303a33){if(this['_lastFrom']===_0x184696&&this['_lastTo']<=_0x303a33)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x303a33,!0x0);else{if(!this['_savedMetaData']['has'](_0x184696)){const _0x56b85b=this['_getPreviousFrom'](_0x184696);this['_calculateMetaData'](_0x56b85b,_0x184696,!0x1);}this['_calculateMetaData'](_0x184696,_0x303a33,!0x0);}return this['_lastFrom']=_0x184696,this['_lastTo']=_0x303a33,this['_getState']();}['loadState'](_0x204f20){this['_reset'](),this['_lastFrom']=_0x204f20['fromVersion'],this['_lastTo']=_0x204f20['toVersion'];for(const _0x52cff3 in _0x204f20['diffData']){const _0x56cea4=_0x204f20['diffData'][_0x52cff3]['attachChange'],_0x48e53f=_0x166896(_0x204f20['diffData'][_0x52cff3]['attributesBefore'])||{},_0x37fdb7=this['_makeModelFromViewString'](_0x204f20['diffData'][_0x52cff3]['deletions']);_0x37fdb7['rootName']=_0x52cff3,_0x37fdb7['_isAttached']=!_0x56cea4||!_0x56cea4['isAttached'],_0x37fdb7['isAttached']=()=>_0x37fdb7['_isAttached'],this['_baseRoots']['set'](_0x52cff3,_0x37fdb7),this['_baseRootsAttributes']['set'](_0x52cff3,_0x48e53f),_0x56cea4&&this['_touchedRoots']['set'](_0x52cff3,_0x56cea4);const _0x3bb049=this['_makeIdsRoot'](_0x37fdb7);this['_baseIdsRoots']['set'](_0x52cff3,_0x3bb049);for(const [_0x3bb402,_0x189029]of _0x37fdb7['markers']){if(!_0x3bb402['startsWith']('revision:'))continue;const _0x161d43=_0x3bb402['split'](':')[0x2];for(const _0xff8142 of _0x189029['getWalker']({'singleCharacters':!0x0})){const _0x5b65b2=this['_getVidAttributeName'](_0xff8142),_0x4f317f='elementEnd'==_0xff8142['type']?_0xff8142['previousPosition']['path']['slice'](0x0,-0x1):_0xff8142['previousPosition']['path'],_0x3263f5=_0x3bb049['getNodeByPath'](_0x4f317f)['getAttribute'](_0x5b65b2);this['_touched']['set'](_0x3263f5,{'userId':_0x161d43});}}}this['_startingRevisionId']=this['_revisionId'];const _0x539b78=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2ffcb3=>!this['_touched']['has'](_0x2ffcb3));let _0x5cc2ec=0x0;const _0x42d24e=new Map();for(const _0x44b79e in _0x204f20['diffData']){const _0x2afc56=_0x204f20['diffData'][_0x44b79e]['attachChange'],_0x1954f8=_0x166896(_0x204f20['diffData'][_0x44b79e]['attributesAfter'])||{},_0x1c99d2=this['_makeModelFromViewString'](_0x204f20['diffData'][_0x44b79e]['insertions']);_0x1c99d2['rootName']=_0x44b79e,_0x1c99d2['_isAttached']=!_0x2afc56||_0x2afc56['isAttached'],_0x1c99d2['isAttached']=()=>_0x1c99d2['_isAttached'],this['_diffRoots']['set'](_0x44b79e,_0x1c99d2),this['_diffRootsAttributes']['set'](_0x44b79e,_0x1954f8);const _0x2ed36e=this['_makeIdsRoot'](_0x1c99d2,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x44b79e,_0x2ed36e),_0x42d24e['set'](_0x44b79e,_0x1c99d2['isAttached']()?_0x1954f8:{});for(const [_0xda149b,_0x2403b9]of _0x1c99d2['markers']){if(!_0xda149b['startsWith']('revision:'))continue;const _0x3eca7c=_0xda149b['split'](':')[0x2];for(const _0x3c6506 of _0x2403b9['getWalker']({'singleCharacters':!0x0})){const _0x43232c=this['_getVidAttributeName'](_0x3c6506),_0x38207f=this['_revisionId']++,_0x14d584='elementEnd'==_0x3c6506['type']?_0x3c6506['previousPosition']['path']['slice'](0x0,-0x1):_0x3c6506['previousPosition']['path'];_0x2ed36e['getNodeByPath'](_0x14d584)['_setAttribute'](_0x43232c,_0x38207f),this['_touched']['set'](_0x38207f,{'userId':_0x3eca7c});}}for(const _0x20891a of this['editor']['model']['createRangeIn'](_0x1c99d2)['getWalker']({'singleCharacters':!0x0})){const _0x70b2e4=this['_getVidAttributeName'](_0x20891a),_0x23ddc0='elementEnd'==_0x20891a['type']?_0x20891a['previousPosition']['path']['slice'](0x0,-0x1):_0x20891a['previousPosition']['path'],_0x3055bd=_0x2ed36e['getNodeByPath'](_0x23ddc0);_0x3055bd['getAttribute'](_0x70b2e4)>0x0||_0x3055bd['_setAttribute'](_0x70b2e4,_0x539b78[_0x5cc2ec++]);}for(const [_0x3bc870,_0x2dc345]of _0x1c99d2['markers'])_0x3bc870['startsWith']('revision:')||this['_markers']['set'](_0x3bc870,_0x2dc345);}const _0x6bac31=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x6bac31),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x6bac31,0x1));const _0x430c1a=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x430c1a),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x430c1a,0x1));const _0x5aefcb=Array['from'](this['_diffRoots'])['map'](([_0x387404,_0x2e9763])=>[_0x387404,q(_0x2e9763)]);this['_saveMetaData'](this['_lastTo'],_0x5aefcb,this['_markers'],_0x42d24e);}['_makeModelFromViewString'](_0x48a25a){const _0xa3af4c=JSON['parse'](_0x48a25a),_0x411070=this['editor']['editing']['view']['document'],_0x30e1d2=new _0x32ae63(_0x411070,_0xa3af4c['map'](_0x82a0d7=>B(_0x82a0d7,this['editor'])));return this['editor']['data']['toModel'](_0x30e1d2);}['_saveMetaData'](_0x4466ae,_0x429cd8,_0x4e9459,_0x57b181){const _0x6e875c=new Map(_0x429cd8),_0x420174=new Map(_0x166896(_0x57b181)),_0x321f14=new Map();for(const [_0x410edc,_0x8ac15e]of _0x4e9459)_0x321f14['set'](_0x410edc,{'start':_0x8ac15e['start']['clone'](),'end':_0x8ac15e['end']['clone'](),'rootName':_0x8ac15e['root']['rootName']});this['_savedMetaData']['set'](_0x4466ae,{'roots':_0x6e875c,'markers':_0x321f14,'rootsAttributes':_0x420174});}['_removeMetaData'](_0x4cec7e){this['_savedMetaData']['delete'](_0x4cec7e);}['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'](_0x53d167,_0x9d6a53=null){let _0x56c695=null;_0x53d167['is']('documentFragment')||(_0x56c695=new ft(_0x53d167['name'],{'vid_start':null===_0x9d6a53?this['_revisionId']++:_0x9d6a53++}));const _0x3e1b6e=[];for(const _0x433fd8 of _0x53d167['getChildren']())if(_0x433fd8['is']('element')){_0x3e1b6e['push'](this['_makeIdsRoot'](_0x433fd8,_0x9d6a53));const _0x4e4c22=_0x3e1b6e[_0x3e1b6e['length']-0x1];null!==_0x9d6a53&&(_0x9d6a53=_0x4e4c22['is']('element','$text')?_0x4e4c22['getAttribute']('vid')+0x1:_0x4e4c22['getAttribute']('vid_end')+0x1);}else{for(let _0x17b94a=0x0;_0x17b94a<_0x433fd8['offsetSize'];_0x17b94a++)_0x3e1b6e['push'](new ft('$text',{'vid':null===_0x9d6a53?this['_revisionId']++:_0x9d6a53++}));}if(_0x53d167['is']('documentFragment')){const _0x372d8b=G(_0x53d167['rootName']);return _0x372d8b['_insertChild'](0x0,_0x3e1b6e),_0x372d8b;}return _0x56c695['_setAttribute']('vid_end',null===_0x9d6a53?this['_revisionId']++:_0x9d6a53++),_0x56c695['_insertChild'](0x0,_0x3e1b6e),_0x56c695;}['_calculateMetaData'](_0x4f9f48,_0x5d930b,_0x3cd16c){this['_reset']();const {roots:_0xd9ada3,markers:_0x4f29f2,rootsAttributes:_0x4930ef}=this['_savedMetaData']['get'](_0x4f9f48);this['_baseRoots']=new Map(_0xd9ada3),this['_baseRootsAttributes']=new Map(_0x166896(_0x4930ef));for(const [_0x303ab8,_0x455496]of this['_baseRoots'])if('$graveyard'!==_0x303ab8&&(this['_diffRoots']['set'](_0x303ab8,q(_0x455496)),this['_diffRootsAttributes']=new Map(_0x166896(_0x4930ef)),_0x3cd16c)){const _0x1c2a9d=this['_revisionId'];this['_idsRoots']['set'](_0x303ab8,this['_makeIdsRoot'](_0x455496)),this['_baseIdsRoots']['set'](_0x303ab8,this['_makeIdsRoot'](_0x455496,_0x1c2a9d));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3cd16c&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1fd87e,_0x4210c6]of _0x4f29f2){const _0xb53d9f=this['_baseRoots']['get'](_0x4210c6['rootName']),_0xd1d0d3=this['_diffRoots']['get'](_0x4210c6['rootName']),_0x590e52=new vt(this['_fixPosition'](_0x4210c6['start'],_0xb53d9f),this['_fixPosition'](_0x4210c6['end'],_0xb53d9f)),_0x51d044=this['_fixRange'](_0x590e52,_0xd1d0d3);_0xb53d9f['markers']['set'](_0x1fd87e,_0x590e52),this['_markers']['set'](_0x1fd87e,_0x51d044);}this['_applyOperations'](_0x4f9f48,_0x5d930b,_0x3cd16c);}['_applyOperations'](_0x4fc748,_0x59a750,_0x41bc7c){for(const _0x2182a4 of this['source']['getOperations'](_0x4fc748,_0x59a750))this['_handleOperation'](_0x2182a4,_0x41bc7c);for(const _0x3474bb of this['_diffRoots']['values']())_0x3474bb['markers']['clear']();for(const [_0x3b5521,_0x3ce191]of this['_markers']){this['_diffRoots']['get'](_0x3ce191['root']['rootName'])['markers']['set'](_0x3b5521,_0x3ce191['clone']());}const _0x43751b=new Map(),_0x51aa27=new Map();for(const [_0x8c0a93,_0x410f9b]of this['_diffRoots'])_0x43751b['set'](_0x8c0a93,q(_0x410f9b)),_0x51aa27['set'](_0x8c0a93,this['_diffRootsAttributes']['get'](_0x8c0a93));this['_saveMetaData'](_0x59a750,_0x43751b,this['_markers'],_0x51aa27);}['_getPreviousFrom'](_0x18e58b){const _0x570cd6=Array['from'](this['_savedMetaData']['keys']());_0x570cd6['sort']((_0x4aa638,_0x29e118)=>_0x4aa638-_0x29e118),_0x570cd6['reverse']();for(const _0x208786 of _0x570cd6)if(_0x208786<_0x18e58b)return _0x208786;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5c6a55,_0x5a9e95){const _0x3c76cd=Array['from'](_0x5a9e95['markers'])['map'](([_0x4b0cff,_0x4a9eee])=>[_0x4b0cff,this['_fixRange'](_0x4a9eee,_0x5c6a55)]);_0x5c6a55['markers']=new Map(_0x3c76cd);}['_transformMarkers'](_0x5d85e6){for(const _0x321c85 of this['_markers']['values']()){const _0x34d123=_0x321c85['getTransformedByOperation'](_0x5d85e6),_0x2e1281=vt['_createFromRanges'](_0x34d123);_0x321c85['start']=_0x2e1281['start'],_0x321c85['end']=_0x2e1281['end'];}}['_handleOperation'](_0x4adb5c,_0x3e3f81){if('addRoot'==_0x4adb5c['type']||'detachRoot'==_0x4adb5c['type'])return void this['_handleRootOperation'](_0x4adb5c,_0x3e3f81);if('insert'==_0x4adb5c['type']){const _0x326d6c=_0x4adb5c['position']['root']['rootName'];this['_diffRoots']['has'](_0x326d6c)||(this['_diffRoots']['set'](_0x326d6c,G(_0x326d6c,!0x0)),this['_diffRootsAttributes']['set'](_0x326d6c,{}),_0x3e3f81&&this['_idsRoots']['set'](_0x326d6c,G(_0x326d6c,!0x0)));}else{if('addRootAttribute'==_0x4adb5c['type']||'removeRootAttribute'==_0x4adb5c['type']||'changeRootAttribute'==_0x4adb5c['type'])return void this['_handleRootAttributeOperation'](_0x4adb5c);}const _0x3ec8bb=this['_cloneOperation'](_0x4adb5c,this['_diffRoots']);if('marker'!==_0x4adb5c['type']&&(_0x3ec8bb['_execute'](),this['_transformMarkers'](_0x3ec8bb)),_0x3e3f81)switch(_0x3ec8bb['type']){case'insert':this['_handleInsertOperation'](_0x4adb5c);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4adb5c);break;case'merge':this['_handleMergeOperation'](_0x4adb5c);break;case'split':this['_handleSplitOperation'](_0x4adb5c);break;case'marker':this['_handleMarkerOperation'](_0x4adb5c);}}['_cloneOperation'](_0x664c1,_0x3f8bcd){const _0x595bc9=_0x664c1['clone']();return _0x595bc9['_authorId']=_0x664c1['_authorId'],this['_fixOperation'](_0x595bc9,_0x3f8bcd),_0x595bc9;}['_getBaseVids'](_0x3c0572){return _0x3c0572['map'](_0x4d0ecd=>{const _0x32ed4c=this['_getVidAttributeName'](_0x4d0ecd);return Number(_0x4d0ecd['item']['getAttribute'](_0x32ed4c));});}['_generateTape'](_0x1ce5c7,_0x57df87){if(_0x1ce5c7['is']('element','$text'))_0x57df87['push']({'item':_0x1ce5c7,'type':'text'});else{_0x1ce5c7['is']('element')&&_0x57df87['push']({'item':_0x1ce5c7,'type':'elementStart'});for(const _0x21ea4a of _0x1ce5c7['getChildren']())this['_generateTape'](_0x21ea4a,_0x57df87);_0x1ce5c7['is']('element')&&_0x57df87['push']({'item':_0x1ce5c7,'type':'elementEnd'});}return _0x57df87;}['_getState'](){const _0x4c1277=new Map(this['_touched']),_0x75794c=new Map(_0x4c1277),_0x4e5032=new Map(),_0x2ba64c={'insertions':{},'deletions':{}},_0x47cb83={'insertions':{},'deletions':{}},_0x53bc89=new Map(),_0x1b2806=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1b2806['delete']('$graveyard');for(const _0x3bbb9a of _0x1b2806){const _0x3d6370=this['_diffRoots']['get'](_0x3bbb9a)||G(_0x3bbb9a,!0x1),_0x5b1c9d=this['_baseRoots']['get'](_0x3bbb9a)||G(_0x3bbb9a,!0x1);_0x3d6370['isAttached']()||_0x5b1c9d['isAttached']()?(_0x2ba64c['insertions'][_0x3bbb9a]=q(_0x3d6370),_0x2ba64c['deletions'][_0x3bbb9a]=q(_0x5b1c9d),this['_copyMarkers'](_0x2ba64c['deletions'][_0x3bbb9a],_0x5b1c9d),this['_copyMarkers'](_0x2ba64c['insertions'][_0x3bbb9a],_0x3d6370),_0x47cb83['insertions'][_0x3bbb9a]=this['_generateTape'](this['_idsRoots']['get'](_0x3bbb9a),[]),_0x47cb83['deletions'][_0x3bbb9a]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3bbb9a)||G(_0x3bbb9a,!0x1),[])):_0x1b2806['delete'](_0x3bbb9a);}for(const _0x54b37b of _0x1b2806){const _0x4bb84f=_0x47cb83['insertions'][_0x54b37b];for(const _0x461438 of _0x4bb84f){const _0x4737a6=this['_getVidAttributeName'](_0x461438),_0x4e3a6a=_0x461438['item']['getAttribute'](_0x4737a6);_0x75794c['delete'](_0x4e3a6a),_0x4e3a6a>=this['_startingRevisionId']&&_0x4e5032['set'](_0x4e3a6a,_0x4c1277['get'](_0x4e3a6a));}}for(const _0x4834a5 of _0x1b2806){const _0x375b0c=_0x47cb83['insertions'][_0x4834a5],_0x3d2bf6=this['_getBaseVids'](_0x47cb83['deletions'][_0x4834a5]);let _0x45dda7=0x0;for(const _0x1b1bf5 of _0x375b0c){const _0x3d23e2=this['_getVidAttributeName'](_0x1b1bf5),_0x345bc0=_0x1b1bf5['item']['getAttribute'](_0x3d23e2);if(!_0x4e5032['has'](_0x345bc0)&&!_0x53bc89['has'](_0x345bc0)){if(_0x75794c['has'](_0x345bc0))_0x45dda7++;else{if(_0x345bc0!=_0x3d2bf6[_0x45dda7]){const _0x1db057=_0x4c1277['get'](_0x345bc0)||_0x4c1277['get'](_0x3d2bf6[_0x45dda7]);for(;_0x345bc0!=_0x3d2bf6[_0x45dda7];)_0x75794c['has'](_0x3d2bf6[_0x45dda7])||(_0x53bc89['set'](_0x3d2bf6[_0x45dda7],_0x1db057),_0x4c1277['set'](_0x3d2bf6[_0x45dda7],_0x1db057)),_0x45dda7++;}_0x45dda7++;}}}}for(const _0x533ec1 of _0x1b2806){const _0x46d150=_0x47cb83['insertions'][_0x533ec1];for(const _0x57cd83 of _0x46d150){const _0xe42c95=this['_getVidAttributeName'](_0x57cd83),_0x44c72b=_0x57cd83['item']['getAttribute'](_0xe42c95);if(_0x53bc89['has'](_0x44c72b)){const _0x1d8604=_0x53bc89['get'](_0x44c72b);_0x75794c['has'](_0x44c72b)||_0x75794c['set'](_0x44c72b,{..._0x1d8604}),_0x4e5032['set'](_0x44c72b,{..._0x1d8604});}}}for(const _0x33cfd1 of _0x75794c['keys']())_0x33cfd1>=this['_startingRevisionId']&&_0x75794c['delete'](_0x33cfd1);const _0x15e8c3=new Map();for(const _0x387133 of _0x1b2806){let _0x13053c=_0x47cb83['insertions'][_0x387133];for(const _0x227a8e of _0x13053c)if(_0x227a8e['item']['is']('element','tableCell')){const _0x4b7deb=this['_getVidAttributeName'](_0x227a8e),_0x51c552=_0x227a8e['item']['getAttribute'](_0x4b7deb);if(_0x4e5032['has'](_0x51c552)){const _0x3c7e58=_0x227a8e['item']['parent']['parent']['getAttribute']('vid_start'),_0x1328fa=_0x15e8c3['get'](_0x3c7e58)||new Set();_0x1328fa['add'](_0x4e5032['get'](_0x51c552)['userId']),_0x15e8c3['set'](_0x3c7e58,_0x1328fa);}}_0x13053c=_0x47cb83['deletions'][_0x387133];for(const _0x3704aa of _0x13053c)if(_0x3704aa['item']['is']('element','tableCell')){const _0x174d7b=this['_getVidAttributeName'](_0x3704aa),_0x134161=_0x3704aa['item']['getAttribute'](_0x174d7b);if(_0x75794c['has'](_0x134161)){const _0x4f08de=_0x3704aa['item']['parent']['parent']['getAttribute']('vid_start'),_0x4e48d4=_0x15e8c3['get'](_0x4f08de)||new Set();_0x4e48d4['add'](_0x75794c['get'](_0x134161)['userId']),_0x15e8c3['set'](_0x4f08de,_0x4e48d4);}}for(const _0x519d88 of _0x15e8c3['keys']())(_0x4e5032['has'](_0x519d88)||_0x75794c['has'](_0x519d88))&&_0x15e8c3['delete'](_0x519d88);}for(const _0x3bdbb8 of _0x1b2806){const _0x2b8c80=_0x47cb83['insertions'][_0x3bdbb8];let _0x3ec577=null,_0x376418=null;for(const _0x46180a of _0x2b8c80){const _0x333082=this['_getVidAttributeName'](_0x46180a),_0x567d1d=_0x46180a['item']['getAttribute'](_0x333082),_0x13eb8d=_0x15e8c3['get'](_0x567d1d);_0x13eb8d&&'elementStart'==_0x46180a['type']&&(_0x3ec577=Array['from'](_0x13eb8d)[0x0],_0x376418=_0x46180a['item']['getAttribute']('vid_end')),_0x3ec577&&(_0x75794c['set'](_0x567d1d,{'userId':_0x3ec577}),_0x4e5032['set'](_0x567d1d,{'userId':_0x3ec577})),_0x567d1d==_0x376418&&(_0x3ec577=null,_0x376418=null);}}const _0x3c8446={},_0x2a56e6=new Set();for(const _0x8190b5 of _0x1b2806){const _0x3912ca=_0x2ba64c['deletions'][_0x8190b5],_0x57fdc0=_0x2ba64c['insertions'][_0x8190b5];for(const {userId:_0x4b59c0}of this['_touchedMarkers']['values']())null!==_0x4b59c0&&_0x2a56e6['add'](_0x4b59c0);for(const {userId:_0x4f0dfe}of this['_touchedRoots']['values']())null!==_0x4f0dfe&&_0x2a56e6['add'](_0x4f0dfe);this['_markChanges'](_0x57fdc0,_0x47cb83['insertions'][_0x8190b5],_0x4e5032,'insertion',_0x2a56e6),this['_markChanges'](_0x3912ca,_0x47cb83['deletions'][_0x8190b5],_0x75794c,'deletion',_0x2a56e6),_0x3c8446[_0x8190b5]={'insertions':this['_prepareViewToSave'](_0x57fdc0),'deletions':this['_prepareViewToSave'](_0x3912ca),'attachChange':this['_touchedRoots']['get'](_0x8190b5)||null,'attributesBefore':_0x166896(this['_baseRootsAttributes']['get'](_0x8190b5))||{},'attributesAfter':_0x166896(this['_diffRootsAttributes']['get'](_0x8190b5))};}return{'diffData':_0x3c8446,'authorsIds':Array['from'](_0x2a56e6)};}['_processRootBeforeSave'](_0x2868fc){for(const [,_0x2f8619]of _0x2868fc['markers']){const _0x28c454=_0x2f8619['start']['getAncestors']()['filter'](_0x199828=>'tableCell'==_0x199828['name']);for(const _0x5b7a52 of _0x28c454)0x1==_0x5b7a52['childCount']&&_0x5b7a52['getChild'](0x0)['is']('element','paragraph')&&_0x5b7a52['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x592b71){this['_processRootBeforeSave'](_0x592b71);const _0x487537=this['editor']['data']['toView'](_0x592b71,{}),_0x3f298e=Array['from'](_0x487537['getChildren']())['map'](_0x5e3ab6=>this['_getViewJson'](_0x5e3ab6));return JSON['stringify'](_0x3f298e);}['_getViewJson'](_0x50f4b5){if(_0x50f4b5['is']('$text'))return _0x50f4b5['data'];{const _0x158836=_0x50f4b5;return{'type':Object['keys'](T)['find'](_0x4c4fd5=>_0x50f4b5 instanceof T[_0x4c4fd5]),'name':_0x158836['name'],'attributes':Array['from'](_0x158836['getAttributes']()),'children':Array['from'](_0x158836['getChildren']())['map'](_0x4fa3fa=>this['_getViewJson'](_0x4fa3fa))};}}['_markChanges'](_0x3fe3d3,_0xa1b17,_0x14a60f,_0x354ef4,_0x2fffd2){let _0x4fb73f=null,_0x2960c6=null,_0x4714c9=0x0;const _0x9af657=this['editor']['model'];for(let _0x4cb213=0x0;_0x4cb213<_0xa1b17['length'];_0x4cb213++){const _0x5adf06=this['_getVidAttributeName'](_0xa1b17[_0x4cb213]),_0x44b50a=_0xa1b17[_0x4cb213]['item']['getAttribute'](_0x5adf06),_0xd819d5=_0x14a60f['get'](_0x44b50a),_0x170513=_0x4cb213==_0xa1b17['length']-0x1;(!_0x4fb73f&&_0xd819d5&&(_0x4fb73f=_0xd819d5,_0x2960c6=_0xa1b17[_0x4cb213]),_0x4fb73f&&(!_0xd819d5||_0xd819d5['userId']!=_0x4fb73f['userId']))&&(_0x1aac6b(_0xd819d5,L(_0x2960c6,_0x3fe3d3,_0x9af657),L(_0xa1b17[_0x4cb213],_0x3fe3d3,_0x9af657)),_0x4fb73f=_0xd819d5||null,_0x2960c6=_0xd819d5?_0xa1b17[_0x4cb213]:null),_0x4fb73f&&_0x170513&&_0x1aac6b(_0xd819d5,L(_0x2960c6,_0x3fe3d3,_0x9af657),W(_0xa1b17[_0x4cb213],_0x3fe3d3,_0x9af657));}function _0x1aac6b(_0x5a0e05,_0x1fed91,_0x5a3246){const _0x5dbda4=_0x4fb73f['userId'],_0x3f7efd='revision:'+_0x354ef4+':'+_0x5dbda4+':'+_0x4714c9++,_0x49fd61=_0x9af657['createRange'](_0x1fed91,_0x5a3246);_0x3fe3d3['markers']['set'](_0x3f7efd,_0x49fd61),null!==_0x5dbda4&&_0x2fffd2['add'](_0x5dbda4);}}['_getVidAttributeName'](_0x239f27){switch(_0x239f27['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x591586,_0x33bd4b){_0x591586['baseVersion']=null;for(const _0x37ba32 in _0x591586){const _0x50ef86=_0x591586[_0x37ba32];if(_0x50ef86 instanceof gt){const _0x1412e7=_0x33bd4b['get'](_0x50ef86['root']['rootName']);_0x591586[_0x37ba32]=this['_fixPosition'](_0x50ef86,_0x1412e7);}if(_0x50ef86 instanceof vt){const _0x5640f9=_0x33bd4b['get'](_0x50ef86['root']['rootName']);_0x591586[_0x37ba32]=this['_fixRange'](_0x50ef86,_0x5640f9);}'root'===_0x37ba32&&(_0x591586['root']=_0x33bd4b['get'](_0x591586['root']['rootName']));}}['_fixRange'](_0x33a46a,_0x40ee85){return this['editor']['model']['createRange'](this['_fixPosition'](_0x33a46a['start'],_0x40ee85),this['_fixPosition'](_0x33a46a['end'],_0x40ee85));}['_fixPosition'](_0x1c784a,_0x3d06bd){return this['editor']['model']['createPositionFromPath'](_0x3d06bd,_0x1c784a['path'],_0x1c784a['stickiness']);}['_handleInsertOperation'](_0x2277d9){const _0x2067c3=this['_idsRoots']['get'](_0x2277d9['position']['root']['rootName']),_0x54fa07=this['_fixPosition'](_0x2277d9['position'],_0x2067c3),_0x19a7c1=null===_0x2277d9['_authorId']?null:_0x2277d9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x443058=_0x54fa07['parent'],_0x25e4c9=this['_revisionId'],_0x1c3da5=[];for(const _0x3de815 of _0x2277d9['nodes'])if(_0x3de815['is']('element'))_0x1c3da5['push'](this['_makeIdsRoot'](_0x3de815));else{for(let _0x455042=0x0;_0x455042<_0x3de815['offsetSize'];_0x455042++)_0x1c3da5['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1ee972=this['_revisionId'];for(let _0x4ccd88=_0x25e4c9;_0x4ccd88<_0x1ee972;_0x4ccd88++)this['_touched']['set'](_0x4ccd88,{'userId':_0x19a7c1});_0x443058['_insertChild'](_0x54fa07['offset'],_0x1c3da5);}['_handleMoveOperation'](_0x4efa3f){(_0x4efa3f=this['_cloneOperation'](_0x4efa3f,this['_idsRoots']))['_execute']();const _0x557487=null===_0x4efa3f['_authorId']?null:_0x4efa3f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x50ea3a=_0x4efa3f['getMovedRangeStart'](),_0x522d8c=_0x50ea3a['parent'],_0x252dbf=_0x50ea3a['offset'];!function _0x51e43b(_0x2fc6c9,_0x16f59a,_0x3f75d7,_0x4c208a){for(let _0x161ff7=_0x3f75d7;_0x161ff7<_0x4c208a;_0x161ff7++){const _0x7f9874=_0x16f59a['getChild'](_0x161ff7);_0x7f9874['is']('element','$text')?_0x2fc6c9['set'](_0x7f9874['getAttribute']('vid'),{'userId':_0x557487}):(_0x2fc6c9['set'](_0x7f9874['getAttribute']('vid_start'),{'userId':_0x557487}),_0x51e43b(_0x2fc6c9,_0x7f9874,0x0,_0x7f9874['childCount']),_0x2fc6c9['set'](_0x7f9874['getAttribute']('vid_end'),{'userId':_0x557487}));}}(this['_touched'],_0x522d8c,_0x252dbf,_0x252dbf+_0x4efa3f['howMany']);}['_handleMergeOperation'](_0x18e211){const _0x38700c=null===(_0x18e211=this['_cloneOperation'](_0x18e211,this['_idsRoots']))['_authorId']?null:_0x18e211['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x50f2d8=_0x18e211['targetPosition']['parent'],_0x5400a5=_0x18e211['sourcePosition']['parent'],_0x29e668=_0x50f2d8['getAttribute']('vid_end'),_0x381664=_0x5400a5['getAttribute']('vid_start');_0x50f2d8['_setAttribute']('vid_end',_0x5400a5['getAttribute']('vid_end')),_0x5400a5['_setAttribute']('vid_end',_0x29e668),this['_touched']['set'](_0x381664,{'userId':_0x38700c}),this['_touched']['set'](_0x29e668,{'userId':_0x38700c}),_0x18e211['_execute']();}['_handleSplitOperation'](_0x1a78ab){const _0x159571=null===(_0x1a78ab=this['_cloneOperation'](_0x1a78ab,this['_idsRoots']))['_authorId']?null:_0x1a78ab['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2a6eaf=_0x1a78ab['graveyardPosition'],_0x544d7f=_0x1a78ab['splitPosition']['parent'];_0x1a78ab['_execute']();const _0x2290e5=_0x544d7f['getAttribute']('vid_end'),_0x42e416=_0x1a78ab['insertionPosition']['nodeAfter'];if(_0x2a6eaf){const _0x55375e=_0x42e416['getAttribute']('vid_end'),_0x3a89b6=_0x544d7f['getAttribute']('vid_end');_0x544d7f['_setAttribute']('vid_end',_0x55375e),_0x42e416['_setAttribute']('vid_end',_0x3a89b6),this['_touched']['set'](_0x544d7f['getAttribute']('vid_end'),{'userId':_0x159571}),this['_touched']['set'](_0x42e416['getAttribute']('vid_start'),{'userId':_0x159571});}else{const _0x5410d1=this['_revisionId']++,_0x1a53c0=this['_revisionId']++;_0x544d7f['_setAttribute']('vid_end',_0x5410d1),_0x42e416['_setAttribute']('vid_start',_0x1a53c0),_0x42e416['_setAttribute']('vid_end',_0x2290e5),this['_touched']['set'](_0x5410d1,{'userId':_0x159571}),this['_touched']['set'](_0x1a53c0,{'userId':_0x159571});}}['_handleMarkerOperation'](_0x425f20){if(!_0x425f20['affectsData'])return;const _0x22e15b=(_0x425f20=this['_cloneOperation'](_0x425f20,this['_diffRoots']))['oldRange']?_0x425f20['oldRange']['root']:null,_0x494376=_0x425f20['newRange']?_0x425f20['newRange']['root']:null;_0x22e15b&&this['_markers']['delete'](_0x425f20['name']),_0x494376&&this['_markers']['set'](_0x425f20['name'],_0x425f20['newRange']['clone']());const _0x3aadda=null===_0x425f20['_authorId']?null:_0x425f20['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x700386=_0x425f20['name'];if(!this['_touchedMarkers']['has'](_0x700386))return void this['_touchedMarkers']['set'](_0x700386,{'range':_0x425f20['oldRange'],'userId':_0x3aadda});const _0x3456ad=this['_touchedMarkers']['get'](_0x700386),_0x2550b6=_0x3456ad['range'],_0x7ec358=_0x425f20['newRange'];null==_0x2550b6&&null==_0x7ec358||_0x2550b6&&_0x7ec358&&_0x2550b6['isEqual'](_0x7ec358)?this['_touchedMarkers']['delete'](_0x425f20['name']):_0x3456ad['userId']=_0x3aadda;}['_handleRootOperation'](_0x1102d2,_0x99a609){this['_diffRoots']['has'](_0x1102d2['rootName'])?this['_diffRoots']['get'](_0x1102d2['rootName'])['_isAttached']=_0x1102d2['isAdd']:(this['_diffRoots']['set'](_0x1102d2['rootName'],G(_0x1102d2['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x1102d2['rootName'],{}),_0x99a609&&this['_idsRoots']['set'](_0x1102d2['rootName'],G(_0x1102d2['rootName'],!0x0)));const _0x5501f4=null===_0x1102d2['_authorId']?null:_0x1102d2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x26d0f5=this['_touchedRoots']['get'](_0x1102d2['rootName']);_0x26d0f5&&_0x26d0f5['userId']===_0x5501f4?this['_touchedRoots']['delete'](_0x1102d2['rootName']):this['_touchedRoots']['set'](_0x1102d2['rootName'],{'userId':_0x5501f4,'isAttached':_0x1102d2['isAdd']});}['_handleRootAttributeOperation'](_0x2acc3f){const _0x4af069=this['_diffRootsAttributes']['get'](_0x2acc3f['root']['rootName']);null===_0x2acc3f['newValue']?delete _0x4af069[_0x2acc3f['key']]:_0x4af069[_0x2acc3f['key']]=_0x2acc3f['newValue'];}}function q(_0x54c15a){const _0x4014e0=G(_0x54c15a['rootName'],_0x54c15a['isAttached']());for(const _0x57a5bd of _0x54c15a['getChildren']()){const _0x50f7af=_0x57a5bd['_clone'](!0x0);_0x4014e0['_appendChild'](_0x50f7af);}return _0x4014e0;}function G(_0x104f2c,_0xf8c183=!0x0){const _0x368b44=new wt();return _0x368b44['rootName']=_0x104f2c,_0x368b44['_isAttached']=_0xf8c183,_0x368b44['isAttached']=()=>_0x368b44['_isAttached'],_0x368b44;}function L(_0x3159a7,_0x53fe9b,_0x48ee7d){const _0x22d9bf='elementEnd'==_0x3159a7['type']?_0x48ee7d['createPositionAt'](_0x3159a7['item'],'end'):_0x48ee7d['createPositionBefore'](_0x3159a7['item']);return _0x48ee7d['createPositionFromPath'](_0x53fe9b,_0x22d9bf['path'],_0x22d9bf['stickiness']);}function W(_0x35a12a,_0x56910c,_0x505d94){const _0x4fc027='elementStart'==_0x35a12a['type']?_0x505d94['createPositionAt'](_0x35a12a['item'],0x0):_0x505d94['createPositionAfter'](_0x35a12a['item']);return _0x505d94['createPositionFromPath'](_0x56910c,_0x4fc027['path'],_0x4fc027['stickiness']);}class ns extends _0xfbdf25{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x40215c,_0x423aa3){super(_0x40215c),this['focusTracker']=new _0x4474a8(),this['keystrokes']=new _0x1fcc90(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x423aa3),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'](),_0x3754ed({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x4dbb0e=_0x46726e=>_0x46726e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4dbb0e),this['keystrokes']['set']('arrowleft',_0x4dbb0e),this['keystrokes']['set']('arrowup',_0x4dbb0e),this['keystrokes']['set']('arrowdown',_0x4dbb0e);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4e4481){this['revisionNameInputView']['fieldView']['element']['value']=_0x4e4481['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x3f0f00){const _0x51ffa9=new at(this['locale'],_0x870591),_0x280666=_0x51ffa9['fieldView'];_0x280666['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x41d808=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x3f0f00&&(_0x41d808+='\x20('+y(this['locale'],'optional')+')'),(_0x51ffa9['label']=_0x41d808,_0x280666['on']('input',()=>{this['revisionNameInputValue']=_0x280666['element']['value']['trim']();}),_0x51ffa9);}}class u extends _0x432e29{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x1f39c9=this['editor'],_0x3d0a68=_0x1f39c9['plugins']['get']('RevisionTracker');_0x1f39c9['ui']['componentFactory']['add']('revisionHistory',_0x4b7244=>{const _0x361a91=_0x157fb4(_0x4b7244),_0x3f997f=_0x361a91['panelView']['children'],_0x3edaa1=new te(_0x4b7244),_0x47e3cd=new _0x30cbbe(_0x4b7244),_0x235bb7=new _0x27cfa6(_0x4b7244),_0x6a75b4=new _0x30cbbe(_0x4b7244),_0x16fb25=new _0x27cfa6(_0x4b7244);return _0x361a91['bind']('isEnabled')['to'](_0x3d0a68,'isReady',_0x3d0a68,'isEnabled',_0x1f39c9,'isReadOnly',(_0xac84f2,_0x81a9ca,_0x50259a)=>_0xac84f2&&_0x81a9ca&&!_0x50259a),_0x361a91['buttonView']['set']({'icon':_0x259594['history'],'label':y(_0x4b7244,'Revision\x20history'),'tooltip':!0x0}),_0x235bb7['set']({'label':y(_0x4b7244,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x235bb7['bind']('isEnabled')['to'](_0x3d0a68,'isReady',_0x3d0a68,'isEnabled',_0x1f39c9,'isReadOnly',(_0x5659e3,_0x3eb2a2,_0x1bbfd6)=>_0x5659e3&&_0x3eb2a2&&!_0x1bbfd6),_0x235bb7['on']('execute',()=>this['_showDialog']()),_0x16fb25['set']({'label':y(_0x4b7244,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x16fb25['bind']('isEnabled')['to'](_0x3d0a68,'isReady',_0x1f39c9,'isReadOnly',(_0x4349b9,_0x5c2678)=>_0x4349b9&&!_0x5c2678),_0x16fb25['on']('execute',()=>{_0x1f39c9['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x361a91['isOpen']=!0x1,_0x1f39c9['editing']['view']['focus']();}),_0x47e3cd['children']['add'](_0x235bb7),_0x6a75b4['children']['add'](_0x16fb25),_0x3edaa1['role']='menu',_0x3edaa1['items']['addMany']([_0x47e3cd,_0x6a75b4]),_0x3f997f['add'](_0x3edaa1),_0x361a91;}),_0x1f39c9['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x54e537=this['editor'],_0x4574b4=_0x54e537['locale'],_0x1f0719=new _0x4b79e1(_0x4574b4),_0x223abc=new _0x4a7b5a(_0x4574b4);_0x1f0719['buttonView']['set']({'icon':_0x259594['history'],'label':y(_0x4574b4,'Revision\x20history')});const _0x317d89=new _0x3e05b7(_0x4574b4,_0x1f0719),_0x150bda=new _0x4252c3(_0x4574b4);_0x150bda['set']({'label':y(_0x4574b4,'Save\x20current\x20revision')}),_0x150bda['delegate']('execute')['to'](_0x1f0719),_0x150bda['on']('execute',()=>{this['_showDialog']();}),_0x317d89['children']['add'](_0x150bda),_0x223abc['items']['add'](_0x317d89);const _0xd2e2ca=new _0x3e05b7(_0x4574b4,_0x1f0719),_0x4577a7=new _0x4252c3(_0x4574b4);return _0x4577a7['set']({'label':y(_0x4574b4,'Open\x20revision\x20history')}),_0x4577a7['delegate']('execute')['to'](_0x1f0719),_0x4577a7['on']('execute',()=>{_0x54e537['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xd2e2ca['children']['add'](_0x4577a7),_0x223abc['items']['add'](_0xd2e2ca),_0x1f0719['panelView']['children']['add'](_0x223abc),_0x1f0719;}['_showDialog'](){const _0x3e0c88=this['editor'],_0x1f89d9=_0x3e0c88['locale'],_0x14aec9=_0x3e0c88['plugins']['get']('Dialog'),_0x5c934e=_0x3e0c88['plugins']['get']('RevisionTracker');function _0x30e4dd(_0x3b32d9){_0x3e0c88['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3b32d9['revisionName']?_0x3b32d9['revisionNameInputView']['errorText']=y(_0x1f89d9,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x3e0c88['plugins']['get'](l)['saveRevision']({'name':_0x3b32d9['revisionName']}),_0x14aec9['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x30e4dd(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x14aec9['show']({'id':'revisionSave','title':y(_0x1f89d9,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x3e0c88['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x14aec9['hide']()},{'label':y(_0x3e0c88['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x43508a){_0x43508a['bind']('isEnabled')['to'](_0x5c934e,'isReady',_0x5c934e,'isEnabled',_0x3e0c88,'isReadOnly',(_0x785552,_0x512544,_0x2c2f88)=>_0x785552&&_0x512544&&!_0x2c2f88);},'onExecute':()=>_0x30e4dd(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5c7dcc=this['editor'],_0x2a34b1=_0x5c7dcc['locale'];this['_saveRevisionFormView']=new ns(_0x2a34b1,_0x5c7dcc['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xfbdf25{['changeId'];['_model'];constructor(_0x1fc44,_0x2b933c){super(_0x1fc44),this['_model']=_0x2b933c,this['changeId']=_0x2b933c['id'];const _0x5ed636=this['bindTemplate'],_0x3c9903=y(_0x1fc44,_0x2b933c['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2b933c['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2b933c['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x5ed636['to']('type',_0x4838a8=>'ck-revision-change__'+_0x4838a8)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x3c9903}]},{'text':'\x20'+_0x2b933c['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x526ac8(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x444ecf){super(),this['id']=_0x444ecf['id']||_0x20896a(),this['author']=_0x444ecf['author'],this['type']=_0x444ecf['type'],this['data']=_0x444ecf['data']||{},this['rootName']=_0x444ecf['rootName'],this['set']('createdAt',_0x444ecf['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(_0x49753b,_0x2a41d8){this['newRevisionId']=_0x49753b,this['oldRevisionId']=_0x2a41d8,this['changes']=new _0x12acb5();}['_setChanges'](_0x202c2b){for(const _0x3faaaf of _0x202c2b)this['changes']['add'](_0x3faaaf);}}const tt={'c':_0x3b1b30,'a':_0x7e2928,'e':_0x41b2ba,'r':_0x4b6332,'u':_0x36bb3};class d extends _0x432e29{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x7e3f5d,_0x4c396d,A];}constructor(_0x2c6fc1){super(_0x2c6fc1),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',(_0xc9b5ee,_0x4fe88a,_0x98a150)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x404dfa=>{for(const _0x238291 of this['editor']['editing']['view']['document']['roots'])_0x98a150?_0x404dfa['removeClass']('ck-editor__editable__overlay',_0x238291):_0x404dfa['addClass']('ck-editor__editable__overlay',_0x238291);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x254917=>null!==_0x254917),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x5bfc35,_0x38002d,_0x2bee5d)=>_0x5bfc35&&_0x2bee5d?_0x38002d['changes']['getIndex'](_0x2bee5d):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x289608,_0x2f0406)=>_0x289608?_0x2f0406['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x4c396d);}['init'](){const _0x3ed0a1=this['editor'],_0x20a455=new yt(_0x3ed0a1,{'direction':'backward'}),_0x337e2d=new yt(_0x3ed0a1,{'direction':'forward'});(_0x3ed0a1['commands']['add']('showPreviousChange',_0x20a455),_0x3ed0a1['commands']['add']('showNextChange',_0x337e2d),_0x3ed0a1['commands']['add']('restoreRevision',new bt(_0x3ed0a1)),this['on']('change:numberOfChanges',()=>{_0x20a455['refresh'](),_0x337e2d['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x3ed0a1['enableReadOnlyMode']('revision-viewer'),_0x3ed0a1['plugins']['has']('WidgetToolbarRepository'))&&_0x3ed0a1['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3328a0){await this['loadRevisionData'](_0x3328a0);const _0x4f5ff4={};for(const _0x2b54ae in _0x3328a0['diffData']){if(_0x3328a0['diffData'][_0x2b54ae]['attachChange']&&!_0x3328a0['diffData'][_0x2b54ae]['attachChange']['isAttached'])continue;const _0x2ffcd0=this['_removeRevisionMarkers'](JSON['parse'](_0x3328a0['diffData'][_0x2b54ae]['insertions'])),_0x474e43=this['editor']['editing']['view']['document'],_0x4d4166=new _0x32ae63(_0x474e43,_0x2ffcd0['map'](_0x4202e2=>this['_getViewObj'](_0x4202e2)));this['editor']['data']['processor']['useFillerType']('marked'),_0x4f5ff4[_0x2b54ae]=this['editor']['data']['processor']['toData'](_0x4d4166),this['editor']['data']['processor']['useFillerType']('default');}return _0x4f5ff4;}async['getRevisionRootsAttributes'](_0x47c79b){await this['loadRevisionData'](_0x47c79b);const _0x134941={};for(const _0x438657 in _0x47c79b['diffData'])_0x47c79b['diffData'][_0x438657]['attachChange']&&!_0x47c79b['diffData'][_0x438657]['attachChange']['isAttached']||(_0x134941[_0x438657]=_0x47c79b['diffData'][_0x438657]['attributesAfter']||{});return _0x134941;}['_removeRevisionMarkers'](_0x5dca8d){return(_0x5dca8d=_0x5dca8d['filter'](_0x3df185=>!_0x3df185['name']||'revision-start'!==_0x3df185['name']&&'revision-end'!==_0x3df185['name']))['forEach'](_0x406451=>{'string'!=typeof _0x406451&&(_0x406451['children']=this['_removeRevisionMarkers'](_0x406451['children']),_0x406451['attributes']=_0x406451['attributes']['filter'](_0x2f3aa8=>!_0x2f3aa8[0x0]['startsWith']('data-revision-')));}),_0x5dca8d;}async['compare'](_0x28cdec,_0xd86206,_0x425000=!0x1){if(!this['isEnabled'])return;const _0x4c8232=this['diff'],_0x13aaf3=this['repository'],_0xc8e933='string'==typeof _0x28cdec?_0x13aaf3['getRevision'](_0x28cdec):_0x28cdec,_0x15cd89='string'==typeof _0xd86206?_0x13aaf3['getRevision'](_0xd86206):_0xd86206,_0x174da3=_0xc8e933['id'],_0xbe39dd=_0x15cd89?_0x15cd89['id']:null;if(!_0x425000&&this['diff']&&this['diff']['newRevisionId']===_0x174da3&&this['diff']['oldRevisionId']===_0xbe39dd)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x174da3,_0xbe39dd);const _0x2f13a4=this['_getRevisionsRange'](_0xc8e933,_0x15cd89,!0x0)['map'](_0x4fafbd=>this['loadRevisionData'](_0x4fafbd));return _0x2f13a4['push'](new Promise(_0x3ca051=>{setTimeout(_0x3ca051,0x14);})),Promise['all'](_0x2f13a4)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xf68efb=this['_getDiff'](_0x174da3,_0xbe39dd);for(const _0x5da4e6 of _0xf68efb['changes'])this['_changeIdToChange']['set'](_0x5da4e6['id'],_0x5da4e6);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4a20f1=>{for(const _0x373c40 of this['editor']['model']['document']['getRootNames']())_0x4a20f1['detachRoot'](_0x373c40);for(const _0x5bfbab of Object['keys'](_0xf68efb['model'])){const _0x125a64=_0x4a20f1['addRoot'](_0x5bfbab);for(const _0x3c7681 of Object['keys'](_0xf68efb['attributes'][_0x5bfbab]))_0x4a20f1['setAttribute'](_0x3c7681,_0xf68efb['attributes'][_0x5bfbab][_0x3c7681],_0x125a64);_0x4a20f1['insert'](_0xf68efb['model'][_0x5bfbab],_0x125a64,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xf68efb['changes'])),this['isReady']=!0x0;})['catch'](_0x45041b=>{console['error'](_0x45041b),this['_cleanUp'](),_0x4c8232&&(this['diff']=_0x4c8232),this['isReady']=!0x0;});}['addRevisionData'](_0x481d3b,_0x342f45){const _0x160264=this['repository']['createRevision'](_0x481d3b);return _0x160264['on']('_update',(_0x1097e7,_0x5e1134,_0x22ec85)=>_0x342f45(_0x5e1134,_0x22ec85,_0x160264)),this['repository']['addRevision'](_0x160264),_0x160264;}['loadRevisionData'](_0x29fd23){if(!_0x29fd23||_0x29fd23['diffData'])return Promise['resolve']();{const _0x4661e6=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4661e6,'revisionId':_0x29fd23['id']})['then'](_0x5b9980=>{_0x29fd23['_update']({'diffData':_0x5b9980['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},_0x4d079c=>{for(const _0x677b5d of this['editor']['model']['document']['getRootNames']())_0x4d079c['detachRoot'](_0x677b5d);});}['_sortAndFilterDiffChanges'](_0x46b862){const _0x481779=[],_0x40becc=new Map();for(const _0x1bf60a of this['editor']['model']['document']['getRootNames']()){const _0x1cf46d=this['editor']['editing']['view']['getDomRoot'](_0x1bf60a);if(!_0x1cf46d)continue;const _0x5d5409=_0x1cf46d['getClientRects']()['item'](0x0);_0x5d5409&&(_0x481779['push'](_0x1bf60a),_0x40becc['set'](_0x1bf60a,_0x5d5409));}return _0x481779['sort']((_0x192361,_0x33f79f)=>{const _0x2c3492=_0x40becc['get'](_0x192361),_0x1897b9=_0x40becc['get'](_0x33f79f);return _0x2c3492['y']-_0x1897b9['y']||_0x2c3492['x']-_0x1897b9['x'];}),(_0x46b862=_0x46b862['filter'](_0xadf7f4=>_0x481779['includes'](_0xadf7f4['rootName'])))['sort']((_0x526167,_0x288d34)=>_0x481779['indexOf'](_0x526167['rootName'])-_0x481779['indexOf'](_0x288d34['rootName'])),_0x46b862;}['_makeTape'](_0x375e2f){const _0x34f668=Array['from'](_0x375e2f['markers'])['filter'](([_0x5c8688,_0xa5d0a1])=>_0x5c8688['startsWith']('revision:')&&!_0xa5d0a1['isCollapsed']),_0x1dd427=Array['from'](this['editor']['model']['createRangeIn'](_0x375e2f)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x34f668['length'])for(const _0xdc747d of _0x1dd427){const [_0x576ac2,_0x1905c8]=_0x34f668[0x0],[,_0x548796,_0x509c93]=_0x576ac2['split'](':');if(_0x1905c8['end']['isEqual'](_0xdc747d['nextPosition'])&&_0x34f668['shift'](),(_0xdc747d['previousPosition']['isEqual'](_0x1905c8['start'])||_0xdc747d['previousPosition']['isAfter'](_0x1905c8['start']))&&('insertion'==_0x548796?_0xdc747d['isAdded']={'userId':_0x509c93}:'deletion'==_0x548796&&(_0xdc747d['isRemoved']={'userId':_0x509c93})),0x0==_0x34f668['length'])break;}return _0x1dd427;}['_refreshStartEndIndex'](_0x1037a1){const _0x4ec920=new Map();for(let _0x335c05=0x0;_0x335c05<_0x1037a1['length'];_0x335c05++)'text'===_0x1037a1[_0x335c05]['type']?(_0x1037a1[_0x335c05]['item']['startIndex']=_0x335c05,_0x1037a1[_0x335c05]['item']['endIndex']=_0x335c05):('elementStart'===_0x1037a1[_0x335c05]['type']?_0x1037a1[_0x335c05]['item']['startIndex']=_0x335c05:'elementEnd'===_0x1037a1[_0x335c05]['type']&&(_0x1037a1[_0x335c05]['item']['endIndex']=_0x335c05),_0x4ec920['set'](_0x1037a1[_0x335c05]['id'],_0x335c05));for(const _0x2d81ae of _0x4ec920['values']())'elementStart'===_0x1037a1[_0x2d81ae]['type']?_0x1037a1[_0x2d81ae]['item']['endIndex']=_0x4ec920['get'](_0x1037a1[_0x2d81ae]['pairId']):'elementEnd'===_0x1037a1[_0x2d81ae]['type']&&(_0x1037a1[_0x2d81ae]['item']['startIndex']=_0x4ec920['get'](_0x1037a1[_0x2d81ae]['pairId']));}['_processTape'](_0x5f43f5){for(let _0x196903=0x0;_0x196903<_0x5f43f5['length'];_0x196903++){if('elementStart'===_0x5f43f5[_0x196903]['type'])_0x5f43f5[_0x196903]['item']['startIndex']=_0x196903;else{if('elementEnd'===_0x5f43f5[_0x196903]['type']){_0x5f43f5[_0x196903]['item']['endIndex']=_0x196903;const _0x49e1f5=_0x5f43f5[_0x196903]['item']['startIndex'];_0x5f43f5[_0x49e1f5]['pairId']=_0x5f43f5[_0x196903]['id'],_0x5f43f5[_0x196903]['pairId']=_0x5f43f5[_0x49e1f5]['id'];}else _0x5f43f5[_0x196903]['item']['startIndex']=_0x196903,_0x5f43f5[_0x196903]['item']['endIndex']=_0x196903,_0x5f43f5[_0x196903]['pairId']=null;}_0x5f43f5[_0x196903]['markersStart']||(_0x5f43f5[_0x196903]['markersStart']=[],_0x5f43f5[_0x196903]['markersEnd']=[]);}}['_markInsertions'](_0x521b29,_0x126073){const _0x14d40=_0x521b29['filter'](_0x59fdb4=>!_0x59fdb4['isAdded']);for(let _0x302a2e=0x0;_0x302a2e<_0x126073['length'];_0x302a2e++)_0x126073[_0x302a2e]['isAdded']&&(_0x14d40[_0x302a2e]['isAdded']=_0x126073[_0x302a2e]['isAdded']);}['_makeModelFromViewString'](_0x4169d2){const _0x2347e4=JSON['parse'](_0x4169d2),_0x296de2=this['editor']['editing']['view']['document'],_0x30df13=new _0x32ae63(_0x296de2,_0x2347e4['map'](_0x1b1124=>this['_getViewObj'](_0x1b1124)));return this['editor']['data']['toModel'](_0x30df13);}['_getViewObj'](_0x27bf10){const _0x27aee3=this['editor']['editing']['view']['document'];if('string'==typeof _0x27bf10)return new _0x5cdfad(_0x27aee3,_0x27bf10);{const _0x67dd0a=_0x27bf10['children']['map'](_0xd83f11=>this['_getViewObj'](_0xd83f11));return new(tt[_0x27bf10['type']]||_0xc3245e)(_0x27aee3,_0x27bf10['name'],_0x27bf10['attributes'],_0x67dd0a);}}['_getDiff'](_0xdd453,_0x506e04=null){const _0x2c8c67=this['repository']['getRevision'](_0xdd453),_0x5017da=_0x506e04?this['repository']['getRevision'](_0x506e04):null,_0x23f661=this['_getRevisionsRange'](_0x2c8c67,_0x5017da),_0x49b600=_0x23f661[_0x23f661['length']-0x1],_0x456483=new Map(),_0x3c7057={'model':{},'attributes':{},'changes':[]},_0x556df6=new Set(),_0x32b83e=new Map();for(let _0x3c2f4b=_0x23f661['length']-0x1;_0x3c2f4b>=0x0;_0x3c2f4b--){const _0x586818=_0x23f661[_0x3c2f4b];for(const _0x263506 of Object['keys'](_0x586818['diffData']))if(_0x586818['diffData'][_0x263506]['attachChange']){const _0x3a2f82=_0x586818['diffData'][_0x263506]['attachChange'];_0x3a2f82['isAttached']?(_0x556df6['add'](_0x263506),_0x32b83e['has'](_0x263506)&&_0x32b83e['get'](_0x263506)['userId']==_0x3a2f82['userId']?_0x32b83e['delete'](_0x263506):_0x32b83e['set'](_0x263506,_0x3a2f82)):_0x32b83e['has'](_0x263506)?(_0x556df6['delete'](_0x263506),_0x32b83e['delete'](_0x263506)):(_0x556df6['add'](_0x263506),_0x32b83e['set'](_0x263506,_0x3a2f82));}else _0x556df6['add'](_0x263506);}for(const _0x110a5a of _0x556df6){const _0x4362d7=_0x32b83e['has'](_0x110a5a)&&!_0x32b83e['get'](_0x110a5a)['isAttached'];let _0x57f001=_0x4362d7?_0x23f661['length']-0x1:0x0;const _0x56f242=_0x4362d7?-0x1:0x1;for(;_0x23f661[_0x57f001];){const _0xacedb9=_0x23f661[_0x57f001];if(_0xacedb9['diffData'][_0x110a5a]){const _0x2e033e=_0x4362d7?_0xacedb9['diffData'][_0x110a5a]['attributesBefore']:_0xacedb9['diffData'][_0x110a5a]['attributesAfter'];_0x3c7057['attributes'][_0x110a5a]=_0x2e033e?_0x166896(_0x2e033e):{};break;}_0x57f001+=_0x56f242;}}for(const _0x483e81 of _0x23f661){_0x483e81['model']={};for(const _0x17e660 of _0x483e81['authors'])_0x456483['set'](_0x17e660['id'],_0x17e660);for(const _0x4d66a9 of _0x556df6){const _0x138763=_0x483e81['diffData'][_0x4d66a9]?_0x483e81['diffData'][_0x4d66a9]['insertions']:'[]',_0x704219=_0x483e81['diffData'][_0x4d66a9]?_0x483e81['diffData'][_0x4d66a9]['deletions']:'[]';_0x483e81['model'][_0x4d66a9]={'insertions':this['_makeModelFromViewString'](_0x138763),'deletions':this['_makeModelFromViewString'](_0x704219)};}}for(const _0x4f7bff of _0x556df6){let _0x533a9a=null,_0x5d3881=0x0;const _0x89b487=new Map(Array['from'](_0x2c8c67['model'][_0x4f7bff]['insertions']['markers'])['filter'](([_0x3e67d6])=>!_0x3e67d6['startsWith']('revision:')));let _0x4f691c=0x0;for(const _0x361022 of _0x23f661){const _0x5027c7=this['_makeTape'](_0x361022['model'][_0x4f7bff]['insertions']);_0x361022==_0x2c8c67?(_0x533a9a=_0x5027c7,_0x5d3881=_0x533a9a['length'],_0x533a9a['forEach'](_0x496228=>{_0x496228['id']=_0x4f691c++;}),this['_processTape'](_0x533a9a)):this['_markInsertions'](_0x533a9a,_0x5027c7);const _0x564cf4=_0x533a9a['filter'](_0x56b9c8=>!_0x56b9c8['isAdded'])['map'](_0x1b329f=>_0x1b329f['id']);let _0x542682=0x0;const _0x394ea0=this['_makeTape'](_0x361022['model'][_0x4f7bff]['deletions']);_0x394ea0['forEach'](_0x3a8742=>{_0x3a8742['isRemoved']?_0x3a8742['id']=_0x5d3881++:_0x3a8742['id']=_0x564cf4[_0x542682++];}),this['_processTape'](_0x394ea0),this['_setDistance'](_0x533a9a,'isAdded'),this['_setDistance'](_0x394ea0,'isRemoved'),_0x361022==_0x2c8c67&&this['_markMarkers'](_0x533a9a,_0x89b487),_0x533a9a=this['_joinTapes'](_0x533a9a,_0x394ea0),this['_refreshStartEndIndex'](_0x533a9a),this['_setDistance'](_0x533a9a,'isRemoved');}_0x533a9a=_0x533a9a['filter'](_0xd5b2d6=>!(_0xd5b2d6['isAdded']&&_0xd5b2d6['isRemoved']));const _0x169dcf=new Map(_0x49b600['model'][_0x4f7bff]['deletions']['markers']),_0x2bdef3=new Set(_0x89b487['keys']());for(const _0x76f0c7 of _0x169dcf['keys']())_0x2bdef3['delete'](_0x76f0c7);this['_markSuggestions'](_0x533a9a,_0x2bdef3),this['_fixObsoleteTags'](_0x533a9a),_0x533a9a=this['_removeMissingPairs'](_0x533a9a),_0x533a9a=this['_markMismatchedRemovedTags'](_0x533a9a),_0x533a9a=this['_removeUnsupportedChanges'](_0x533a9a);const {root:_0x2a0c35,changes:_0x56d007}=this['_makeModelFromTape'](_0x533a9a,_0x456483,_0x4f7bff);_0x3c7057['model'][_0x4f7bff]=_0x2a0c35;const _0x4158ce=_0x32b83e['get'](_0x4f7bff);if(_0x4158ce){const _0x5131f4=_0x456483['get'](_0x4158ce['userId']),_0x141a7a=new r({'author':_0x5131f4,'type':_0x4158ce['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4f7bff});_0x56d007['unshift'](_0x141a7a),_0x3c7057['attributes'][_0x4f7bff]['revisionHistoryAttachChange']=_0x141a7a['id'];}_0x3c7057['changes']=_0x3c7057['changes']['concat'](_0x56d007);}return _0x3c7057;}['_markMarkers'](_0x10cbcb,_0x506968){for(let _0x333ffc=0x0;_0x333ffc<_0x10cbcb['length'];_0x333ffc++)for(const [_0x3556ed,_0xc0acb8]of _0x506968)_0xc0acb8['start']['isEqual'](_0x10cbcb[_0x333ffc]['previousPosition'])&&_0x10cbcb[_0x333ffc]['markersStart']['push'](_0x3556ed),_0xc0acb8['end']['isEqual'](_0x10cbcb[_0x333ffc]['nextPosition'])&&_0x10cbcb[_0x333ffc]['markersEnd']['push'](_0x3556ed);}['_joinTapes'](_0x1efd9c,_0x1657a0){let _0x59d0a1=[],_0x3222a6=0x0,_0x29dc98=0x0;for(;_0x3222a6<_0x1efd9c['length']||_0x29dc98<_0x1657a0['length'];){const _0x4c17bf=_0x1efd9c[_0x3222a6]||{},_0x33527a=_0x1657a0[_0x29dc98]||{};if(_0x4c17bf['id']==_0x33527a['id'])_0x3222a6++,_0x29dc98++,_0x59d0a1['push'](_0x4c17bf);else{if(_0x33527a['isRemoved']&&_0x4c17bf['isAdded']){const {commonTape:_0x2fa8b8,iEnd:_0x4e5d21,jEnd:_0x22f358}=this['_threeWayMerge'](_0x1efd9c,_0x3222a6,_0x1657a0,_0x29dc98);_0x59d0a1=_0x59d0a1['concat'](_0x2fa8b8),_0x3222a6=_0x4e5d21,_0x29dc98=_0x22f358;}else _0x33527a['isRemoved']?(_0x29dc98++,_0x59d0a1['push'](_0x33527a)):(_0x3222a6++,_0x59d0a1['push'](_0x4c17bf));}}return _0x59d0a1;}['_markSuggestions'](_0x5d79c1,_0x255c55){const _0x2c2d59=[];for(let _0x3470c6=0x0;_0x3470c6<_0x5d79c1['length'];_0x3470c6++){for(let _0x235ef1=0x0;_0x235ef1<_0x5d79c1[_0x3470c6]['markersStart']['length'];_0x235ef1++){const _0x21b614=_0x5d79c1[_0x3470c6]['markersStart'][_0x235ef1];if(!_0x255c55['has'](_0x21b614))continue;const {group:_0x332dd9,type:_0x4b1f85,authorId:_0x30030e}=_0x40838d(_0x21b614);'revision-suggestion'!=_0x332dd9||'insertion'!=_0x4b1f85&&'deletion'!=_0x4b1f85||(_0x2c2d59['unshift']({'type':_0x4b1f85,'name':_0x21b614,'userId':_0x30030e}),_0x5d79c1[_0x3470c6]['markersStart']['splice'](_0x235ef1,0x1),_0x235ef1--);}_0x358113(_0x5d79c1[_0x3470c6]);for(let _0x595f8e=0x0;_0x595f8e<_0x5d79c1[_0x3470c6]['markersEnd']['length'];_0x595f8e++){const _0x143565=_0x5d79c1[_0x3470c6]['markersEnd'][_0x595f8e];if(!_0x255c55['has'](_0x143565))continue;const {group:_0x22025e,type:_0x3cba39}=_0x40838d(_0x143565);if('revision-suggestion'!=_0x22025e||'insertion'!=_0x3cba39&&'deletion'!=_0x3cba39)continue;_0x5d79c1[_0x3470c6]['markersEnd']['splice'](_0x595f8e,0x1),_0x595f8e--;const _0xd220ef=_0x2c2d59['findIndex'](_0x4445af=>_0x4445af['name']==_0x143565);_0xd220ef>-0x1&&_0x2c2d59['splice'](_0xd220ef,0x1);}}function _0x40838d(_0x5ab2ca){const _0x4d5387=_0x5ab2ca['split'](':');return{'group':_0x4d5387[0x0],'type':_0x4d5387[0x1],'subType':_0x4d5387['length']>=0x5?_0x4d5387[0x2]:null,'id':_0x4d5387['length']<0x5?_0x4d5387[0x2]:_0x4d5387[0x3],'authorId':_0x4d5387['length']<0x5?_0x4d5387[0x3]:_0x4d5387[0x4],'markerCount':0x6==_0x4d5387['length']?_0x4d5387[0x5]:null};}function _0x358113(_0x46fa97){for(let _0x29d264=0x0;_0x29d264<_0x2c2d59['length'];_0x29d264++){if(_0x46fa97['isAdded']&&'insertion'==_0x2c2d59[_0x29d264]['type'])return _0x46fa97['isAddSuggestion']=_0x2c2d59[_0x29d264],void delete _0x46fa97['isAdded'];if(!_0x46fa97['isAdded']&&!_0x46fa97['isRemoved']&&'deletion'==_0x2c2d59[_0x29d264]['type'])return void(_0x46fa97['isRemoveSuggestion']=_0x2c2d59[_0x29d264]);}}}['_setDistance'](_0x58e346,_0x44349f){let _0x3aaa62=0x0,_0x5ec10e=!0x1;const _0x1073c6=new Map();for(const _0xf0280d of _0x58e346)_0xf0280d[_0x44349f]?_0x5ec10e&&(_0x3aaa62++,_0x5ec10e=!0x1):(_0x3aaa62++,_0x5ec10e=!0x0),_0x1073c6['set'](_0xf0280d['id'],_0x3aaa62);for(let _0x11ef4e=0x0;_0x11ef4e<_0x58e346['length'];_0x11ef4e++){if('isRemoved'==_0x44349f&&_0x58e346[_0x11ef4e]['isAdded']||'isAdded'==_0x44349f&&_0x58e346[_0x11ef4e]['isRemoved'])continue;if('text'==_0x58e346[_0x11ef4e]['type']){_0x58e346[_0x11ef4e]['distance']=0x0;continue;}const _0x39676d=_0x1073c6['get'](_0x58e346[_0x11ef4e]['pairId']),_0x4159cc=_0x1073c6['get'](_0x58e346[_0x11ef4e]['id']);_0x58e346[_0x11ef4e]['distance']=_0x39676d-_0x4159cc;}}['_getRevisionsRange'](_0x140f4c,_0x4da6d2,_0x456a18=!0x1){const _0x3ac68d=[];let _0x4905b1=this['repository']['getIndex'](_0x140f4c),_0x2ee8c5=this['repository']['getIndex'](_0x4da6d2);for(-0x1==_0x2ee8c5&&(_0x2ee8c5=this['repository']['_revisions']['length'],_0x456a18=!0x1);_0x4905b1<_0x2ee8c5;)_0x3ac68d['push'](this['repository']['getRevision'](_0x4905b1)),_0x4905b1++;return _0x456a18&&_0x3ac68d['push'](this['repository']['getRevision'](_0x4905b1)),_0x3ac68d;}['_threeWayMerge'](_0x5dcf28,_0x581381,_0x14615a,_0x2c907c){const _0x3b3376=this['editor']['model']['schema'];let _0x580f23=_0x581381;for(;_0x5dcf28[_0x580f23]&&_0x5dcf28[_0x580f23]['isAdded'];)_0x580f23++;let _0x21fa16=_0x2c907c;for(;_0x14615a[_0x21fa16]&&_0x14615a[_0x21fa16]['isRemoved'];)_0x21fa16++;_0x16bba2(_0x5dcf28,_0x581381,_0x580f23),_0x16bba2(_0x14615a,_0x2c907c,_0x21fa16);const _0x5800f7=_0x14615a['slice'](_0x2c907c,_0x21fa16)['concat'](_0x5dcf28['slice'](_0x581381,_0x580f23));return _0x5800f7['sort']((_0xd0cf3f,_0x22b930)=>_0xd0cf3f['side']!=_0x22b930['side']?_0xd0cf3f['side']-_0x22b930['side']:_0xd0cf3f['level']!=_0x22b930['level']?_0xd0cf3f['level']-_0x22b930['level']:_0xd0cf3f['distance']!=_0x22b930['distance']?_0x22b930['distance']-_0xd0cf3f['distance']:!!_0xd0cf3f['isAdded']!=!!_0x22b930['isAdded']?-0x1==_0xd0cf3f['side']||0x0==_0xd0cf3f['side']?_0xd0cf3f['isAdded']?-0x1:0x1:_0xd0cf3f['isAdded']?0x1:-0x1:_0xd0cf3f['index']-_0x22b930['index']),{'commonTape':_0x5800f7,'iEnd':_0x580f23,'jEnd':_0x21fa16};function _0x16bba2(_0x2e4bd9,_0x278149,_0x21154c){let _0x515012=-0x1,_0x5352b7=Number['POSITIVE_INFINITY'],_0xb7fa38=!0x0;for(let _0x5160db=_0x278149;_0x5160db<_0x21154c;_0x5160db++)if(_0x3b3376['isInline'](_0x2e4bd9[_0x5160db]['item'])||(_0xb7fa38=!0x1),_0x2e4bd9[_0x5160db]['item']['startIndex']<_0x278149&&(_0x515012=_0x5160db),_0x2e4bd9[_0x5160db]['item']['endIndex']>=_0x21154c){_0x5352b7=_0x5160db;break;}_0xb7fa38&&(_0x515012=_0x21154c-0x1);for(let _0x3381ac=_0x278149;_0x3381ac<_0x21154c;_0x3381ac++)_0x2e4bd9[_0x3381ac]['side']=_0x3381ac<=_0x515012?-0x1:_0x3381ac<_0x5352b7?0x0:0x1,_0x2e4bd9[_0x3381ac]['index']=_0x3381ac;let _0x44b1d5=0x0;for(let _0x5edc98=_0x278149;_0x5edc98<=_0x515012;_0x5edc98++)0x0==_0x2e4bd9[_0x5edc98]['distance']?_0x2e4bd9[_0x5edc98]['level']=_0x44b1d5:(_0x44b1d5++,_0x2e4bd9[_0x5edc98]['level']=_0x44b1d5,_0x44b1d5++);for(let _0x119bd4=_0x278149;_0x119bd4<_0x21154c;_0x119bd4++)0x0==_0x2e4bd9[_0x119bd4]['side']&&(_0x2e4bd9[_0x119bd4]['level']=_0x44b1d5);_0x44b1d5=0x0;for(let _0x1c7712=_0x21154c-0x1;_0x1c7712>=_0x5352b7;_0x1c7712--)0x0==_0x2e4bd9[_0x1c7712]['distance']?_0x2e4bd9[_0x1c7712]['level']=_0x44b1d5:(_0x44b1d5--,_0x2e4bd9[_0x1c7712]['level']=_0x44b1d5,_0x44b1d5--);}}['_fixObsoleteTags'](_0x201cf4){const _0x38b142=new Map(),_0x5717e5=this['editor']['model']['schema'];for(let _0x3a3f58=0x1;_0x3a3f58<_0x201cf4['length'];_0x3a3f58++){let _0x25d96f,_0x5eb526,_0x14e22a;const _0x2daf6c=_0x201cf4[_0x3a3f58],_0x3fda2d=_0x201cf4[_0x3a3f58-0x1];if('text'==_0x2daf6c['type'])continue;if(_0x2daf6c['type']!=_0x3fda2d['type'])continue;if(!_0x5717e5['isBlock'](_0x3fda2d['item'])||_0x5717e5['isLimit'](_0x3fda2d['item']))continue;if(!_0x5717e5['isBlock'](_0x2daf6c['item'])||_0x5717e5['isLimit'](_0x2daf6c['item']))continue;if((_0x201cf4[_0x3a3f58]['isAdded']||_0x201cf4[_0x3a3f58]['isAddSuggestion'])&&_0x201cf4[_0x3a3f58-0x1]['isRemoved'])_0x25d96f=_0x201cf4[_0x3a3f58],_0x5eb526=_0x201cf4[_0x3a3f58-0x1],_0x14e22a=_0x3a3f58-0x1;else{if(!_0x201cf4[_0x3a3f58]['isRemoved']||!_0x201cf4[_0x3a3f58-0x1]['isAdded']&&!_0x201cf4[_0x3a3f58-0x1]['isAddSuggestion'])continue;_0x25d96f=_0x201cf4[_0x3a3f58-0x1],_0x5eb526=_0x201cf4[_0x3a3f58],_0x14e22a=_0x3a3f58;}const _0x501f57=_0x25d96f['level']==_0x5eb526['level'],_0x32c484=Math['abs'](_0x25d96f['level'])<Math['abs'](_0x5eb526['level'])&&0x0==_0x5eb526['distance'];(_0x501f57||_0x32c484)&&(_0x38b142['set'](_0x5eb526['id'],_0x25d96f['id']),_0x201cf4['splice'](_0x14e22a,0x1),_0x3a3f58--,_0x25d96f['isAdded']=!0x1);}for(let _0x301c7d=0x0;_0x301c7d<_0x201cf4['length'];_0x301c7d++)_0x38b142['has'](_0x201cf4[_0x301c7d]['pairId'])&&(_0x201cf4[_0x301c7d]['pairId']=_0x38b142['get'](_0x201cf4[_0x301c7d]['pairId']));}['_removeMissingPairs'](_0x4bf061){const _0x34eb3b=new Set(_0x4bf061['map'](_0x490957=>_0x490957['id']));for(let _0x4b7438=0x0;_0x4b7438<_0x4bf061['length'];_0x4b7438++)_0x34eb3b['has'](_0x4bf061[_0x4b7438]['pairId'])||0x0==_0x4bf061[_0x4b7438]['distance']||(_0x4bf061[_0x4b7438]['isIncorrect']=!0x0);return _0x4bf061['filter'](_0x1104d2=>!_0x1104d2['isIncorrect']);}['_markMismatchedRemovedTags'](_0x570c8d){const _0x116a05=new Set();for(let _0x221aad=0x0;_0x221aad<_0x570c8d['length'];_0x221aad++){if(_0x116a05['has'](_0x570c8d[_0x221aad]['id'])&&_0x570c8d[_0x221aad]['isRemoved']&&(_0x570c8d[_0x221aad]['isIncorrect']=!0x0),_0x570c8d[_0x221aad]['isIncorrect'])continue;if(0x0==_0x570c8d[_0x221aad]['distance'])continue;if('elementStart'!=_0x570c8d[_0x221aad]['type'])continue;if(null==_0x570c8d[_0x221aad]['pairId'])continue;let _0x347e6d=_0x221aad+0x1,_0x3c6c73=0x0;for(;_0x570c8d[_0x347e6d]['id']!=_0x570c8d[_0x221aad]['pairId'];)'elementStart'==_0x570c8d[_0x347e6d]['type']?_0x3c6c73++:'elementEnd'==_0x570c8d[_0x347e6d]['type']&&_0x3c6c73--,_0x347e6d++;if(0x0!=_0x3c6c73){if(_0x570c8d[_0x221aad]['isRemoved'])_0x570c8d[_0x221aad]['isIncorrect']=!0x0;else{for(;_0x347e6d!=_0x221aad;)_0x570c8d[_0x347e6d]['isRemoved']&&0x0!=_0x570c8d[_0x347e6d]['distance']&&(_0x570c8d[_0x347e6d]['isIncorrect']=!0x0,_0x116a05['add'](_0x570c8d[_0x347e6d]['pairId'])),_0x347e6d--;}}}return _0x570c8d['filter'](_0x3d9a07=>!_0x3d9a07['isIncorrect']);}['_removeUnsupportedChanges'](_0x3e9de0){const _0x35716c=this['editor']['model']['schema'];for(let _0x521c35=0x0;_0x521c35<_0x3e9de0['length'];_0x521c35++){if(!(_0x3e9de0[_0x521c35]['isAdded']||_0x3e9de0[_0x521c35]['isAddSuggestion']||_0x3e9de0[_0x521c35]['isRemoved']||_0x3e9de0[_0x521c35]['isRemoveSuggestion']))continue;if(0x0==_0x3e9de0[_0x521c35]['distance'])continue;const _0x222c45=_0x3e9de0[_0x521c35]['item'];_0x35716c['isBlock'](_0x222c45)||_0x35716c['isLimit'](_0x222c45)||(_0x3e9de0[_0x521c35]['isAdded']&&delete _0x3e9de0[_0x521c35]['isAdded'],_0x3e9de0[_0x521c35]['isAddSuggestion']&&delete _0x3e9de0[_0x521c35]['isAddSuggestion'],_0x3e9de0[_0x521c35]['isRemoveSuggestion']&&delete _0x3e9de0[_0x521c35]['isRemoveSuggestion'],_0x3e9de0[_0x521c35]['isRemoved']&&(_0x3e9de0[_0x521c35]['isIncorrect']=!0x0));}return _0x3e9de0['filter'](_0x2a7d32=>!_0x2a7d32['isIncorrect']);}['_makeModelFromTape'](_0x416966,_0xb7b527,_0x3fba4d){const _0x37420e=new wt(),_0x2eadfe=[],_0x1f0199=new Map(),_0x13d18f=this['editor']['model'],_0x3465df=_0x13d18f['schema'],_0x44d3e7=[_0x37420e],_0x839e93={},_0x25b118={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x9ef45=null;const _0x3dac00=[0x0];for(let _0xdcfaf4=0x0;_0xdcfaf4<_0x416966['length'];_0xdcfaf4++){let _0x94dfb,_0x38ceac;if('elementStart'===_0x416966[_0xdcfaf4]['type']){_0x94dfb=_0x13d18f['createPositionFromPath'](_0x37420e,_0x3dac00);const _0x235c35=new ft(_0x416966[_0xdcfaf4]['item']['name'],_0x416966[_0xdcfaf4]['item']['getAttributes']());_0x44d3e7[0x0]['_appendChild'](_0x235c35),_0x3dac00['push'](0x0),_0x44d3e7['unshift'](_0x235c35),_0x38ceac=_0x13d18f['createPositionFromPath'](_0x37420e,_0x3dac00),_0x9ef45=null;}else{if('elementEnd'===_0x416966[_0xdcfaf4]['type'])_0x44d3e7['shift'](),_0x94dfb=_0x13d18f['createPositionFromPath'](_0x37420e,_0x3dac00),_0x3dac00['pop'](),_0x3dac00[_0x3dac00['length']-0x1]++,_0x38ceac=_0x13d18f['createPositionFromPath'](_0x37420e,_0x3dac00),_0x9ef45=null;else{if(_0x94dfb=_0x13d18f['createPositionFromPath'](_0x37420e,_0x3dac00),_0x9ef45&&_0x497c58(_0x9ef45,_0x416966[_0xdcfaf4]['item']))_0x9ef45['_data']+=_0x416966[_0xdcfaf4]['item']['data'];else{const _0x4b829c=new _t(_0x416966[_0xdcfaf4]['item']['data'],_0x416966[_0xdcfaf4]['item']['getAttributes']());_0x44d3e7[0x0]['_appendChild'](_0x4b829c),_0x9ef45=_0x4b829c;}_0x3dac00[_0x3dac00['length']-0x1]+=_0x416966[_0xdcfaf4]['item']['offsetSize'],_0x38ceac=_0x13d18f['createPositionFromPath'](_0x37420e,_0x3dac00);}}for(const _0x1e344c of _0x416966[_0xdcfaf4]['markersStart'])_0x1f0199['set'](_0x1e344c,{'start':_0x94dfb,'end':null});_0x4a4979('isRemoveSuggestion',_0xdcfaf4,_0x94dfb,_0x38ceac),_0x4a4979('isAddSuggestion',_0xdcfaf4,_0x94dfb,_0x38ceac),_0x4a4979('isRemoved',_0xdcfaf4,_0x94dfb,_0x38ceac),_0x4a4979('isAdded',_0xdcfaf4,_0x94dfb,_0x38ceac);for(const _0x2b55e0 of _0x416966[_0xdcfaf4]['markersEnd']){_0x1f0199['get'](_0x2b55e0)['end']=_0x38ceac;}}for(const [_0x2d5706,_0x1f01b1]of _0x1f0199){const _0x195328=this['editor']['model']['createRange'](_0x1f01b1['start'],_0x1f01b1['end']);_0x37420e['markers']['set'](_0x2d5706,_0x195328);}return _0x2eadfe['sort']((_0x1925ce,_0x1ca776)=>{const _0x1d0319=_0x37420e['markers']['get']('revision:'+_0x1925ce['id']),_0x1f4fc5=_0x37420e['markers']['get']('revision:'+_0x1ca776['id']);return _0x1d0319['start']['isBefore'](_0x1f4fc5['start'])?-0x1:_0x1d0319['start']['isAfter'](_0x1f4fc5['start'])?0x1:_0x1d0319['end']['isBefore'](_0x1f4fc5['end'])?-0x1:_0x1d0319['end']['isAfter'](_0x1f4fc5['end'])?0x1:'add'===_0x1925ce['type']?-0x1:0x1;}),{'root':_0x37420e,'changes':_0x2eadfe};function _0x4a4979(_0x5dd4c6,_0xde4bcb,_0x4c5c88,_0x4a7de5){const _0xc1c11c=!!_0x416966[_0xde4bcb][_0x5dd4c6],_0x5e92c9=_0xc1c11c?_0x416966[_0xde4bcb][_0x5dd4c6]['userId']:null,_0xef7326=_0xde4bcb===_0x416966['length']-0x1,_0x98eed2=_0x25b118[_0x5dd4c6][0x0],_0xaae9d2=_0x3465df['isObject'](_0x416966[_0xde4bcb]['item']);!_0x839e93[_0x5dd4c6]&&_0xc1c11c?_0x839e93[_0x5dd4c6]={'start':_0x4c5c88,'tapeItem':_0x416966[_0xde4bcb],'userId':_0x5e92c9,'type':_0x5dd4c6}:_0x839e93[_0x5dd4c6]&&!_0xc1c11c?(_0x839e93[_0x5dd4c6]['end']=_0x4c5c88,_0x45eb25(_0x839e93[_0x5dd4c6]),_0x839e93[_0x5dd4c6]=null):_0x839e93[_0x5dd4c6]&&_0xc1c11c&&_0x839e93[_0x5dd4c6]['userId']!==_0x5e92c9&&(_0x839e93[_0x5dd4c6]['end']=_0x4c5c88,_0x98eed2&&_0x98eed2['userId']===_0x839e93[_0x5dd4c6]['userId']||_0x45eb25(_0x839e93[_0x5dd4c6]),_0x839e93[_0x5dd4c6]={'start':_0x4c5c88,'tapeItem':_0x416966[_0xde4bcb],'userId':_0x5e92c9,'type':_0x5dd4c6}),_0x839e93[_0x5dd4c6]&&_0xaae9d2&&('elementStart'!==_0x416966[_0xde4bcb]['type']||_0x98eed2&&_0x98eed2['userId']===_0x5e92c9||_0x25b118[_0x5dd4c6]['unshift']({'userId':_0x5e92c9,'object':_0x416966[_0xde4bcb]['item'],'change':_0x839e93[_0x5dd4c6]}),'elementEnd'===_0x416966[_0xde4bcb]['type']&&_0x98eed2&&_0x98eed2['object']===_0x416966[_0xde4bcb]['item']&&(_0x25b118[_0x5dd4c6]['shift'](),_0x839e93[_0x5dd4c6]=_0x98eed2['change'])),_0x839e93[_0x5dd4c6]&&_0xef7326&&(_0x839e93[_0x5dd4c6]['end']=_0x4a7de5,_0x45eb25(_0x839e93[_0x5dd4c6]),_0x839e93[_0x5dd4c6]=null);}function _0x45eb25({start:_0x1c3b5a,end:_0x165efa,tapeItem:_0x23958f,userId:_0x17f8b9,type:_0x1b9ae1}){const _0x498314=_0x23958f['item'],_0x3fe5b9=_0x13d18f['schema']['isBlock'](_0x498314)&&!_0x13d18f['schema']['isLimit'](_0x498314),_0xc31815=_0x1c3b5a['nodeAfter']==_0x165efa['parent']&&_0x165efa['isAtStart'];if(_0x3fe5b9&&_0xc31815)return;const _0x283439=_0x13d18f['createRange'](_0x1c3b5a,_0x165efa),_0x28a862=_0xb7b527['get'](_0x17f8b9),_0xdbb684=new r({'author':_0x28a862,'type':'isAdded'==_0x1b9ae1||'isAddSuggestion'==_0x1b9ae1?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x1b9ae1||'isRemoveSuggestion'==_0x1b9ae1},'createdAt':new Date(),'rootName':_0x3fba4d});_0x2eadfe['push'](_0xdbb684),_0x37420e['markers']['set']('revision:'+_0xdbb684['id'],_0x283439);}function _0x497c58(_0x2dabf8,_0x4b76fa){const _0x1e666c=_0x2dabf8['getAttributes'](),_0x152aac=_0x4b76fa['getAttributes']();for(const _0x2ec6c2 of _0x1e666c){if(_0x2ec6c2[0x1]!==_0x4b76fa['getAttribute'](_0x2ec6c2[0x0]))return!0x1;_0x152aac['next']();}return _0x152aac['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x482cd4=>{const _0x366f19=_0x482cd4['markerName']['split'](':')[0x1],_0x14c7e5=this['_getChangeFromId'](_0x366f19);if(!_0x14c7e5)return null;const _0x5c5ce5='add'==_0x14c7e5['type']?'insertion':'deletion',_0x1e95f2=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5c5ce5];return _0x14c7e5['data']['isSuggestion']&&_0x1e95f2['push']('ck-suggestion-marker-'+_0x5c5ce5+'-new'),this['activeChange']==_0x14c7e5&&_0x1e95f2['push']('ck-suggestion-marker--active'),{'classes':_0x1e95f2,'attributes':{'data-change-id':_0x366f19}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x698046=>{_0x698046['on']('element:pre',(_0x31cfd5,_0x2989dc,_0x1bc046)=>{const _0x3be03f=_0x2989dc['viewItem']['getChild'](0x0);if(!_0x3be03f||!_0x3be03f['is']('element','code'))return;if(!_0x1bc046['consumable']['consume'](_0x3be03f,{'attributes':['vid_start','vid_end']}))return;const _0x5e87e2=_0x2989dc['modelRange']['start']['nodeAfter'];_0x1bc046['writer']['setAttribute']('vid_start',_0x3be03f['getAttribute']('vid_start'),_0x5e87e2),_0x1bc046['writer']['setAttribute']('vid_end',_0x3be03f['getAttribute']('vid_end'),_0x5e87e2);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x541c80=>{_0x541c80['on']('element',(_0x37cf94,_0x502550,_0x1dbffe)=>{if(!_0x1dbffe['consumable']['consume'](_0x502550['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x502550['modelRange']['isCollapsed'])return;const _0x119a7e=_0x502550['modelRange']['start']['nodeAfter'];_0x119a7e['hasAttribute']('vid_start')||_0x119a7e['hasAttribute']('vid')||(_0x1dbffe['writer']['setAttribute']('vid_start',_0x502550['viewItem']['getAttribute']('vid_start'),_0x119a7e),_0x1dbffe['writer']['setAttribute']('vid_end',_0x502550['viewItem']['getAttribute']('vid_end'),_0x119a7e));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4aa260=>_0x4aa260['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x12b5d9,[,_0x159092])=>{['vid_start','vid_end','vid']['includes'](_0x159092)&&(_0x12b5d9['return']=!0x0,_0x12b5d9['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x143657=>{_0x143657['on']('attribute:vid',(_0x50c0f2,_0x21f633,_0x41f4b5)=>{if('\x20'!=_0x21f633['item']['data']||_0x21f633['item']['parent']['maxOffset']>0x1)return;if(!_0x41f4b5['consumable']['consume'](_0x21f633['item'],_0x50c0f2['name']))return;const _0x312622=_0x41f4b5['writer'],_0x59813c=_0x41f4b5['mapper']['toViewRange'](_0x21f633['range']);_0x312622['wrap'](_0x59813c,_0x312622['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0xd3385){const _0x393bb6=_0xd3385['plugins']['get']('RevisionViewer');return(_0x117f82,_0x3ac9d5,_0x31a841)=>{const _0x1afd7b=_0x3ac9d5['markerName']['split'](':')[0x1],_0x53f067=_0x393bb6['_getChangeFromId'](_0x1afd7b);if(!_0x53f067)return null;const _0x192ba4='add'==_0x53f067['type']?'split':'merge';if(!_0x31a841['consumable']['test'](_0x3ac9d5['markerRange'],_0x117f82['name']))return;const _0x4085c5=_0x3ac9d5['markerRange']['getWalker'](),_0x21a692=_0x3ac9d5['markerRange']['start'],_0x138fd3=_0xd3385['model']['schema'];let _0x54e1cc=null,_0xab69e0=null,_0x5c65ef=!0x1,_0x1182b1=!0x1;for(const _0x4b6aa1 of _0x4085c5){const _0x41928a=_0x4b6aa1['item'];_0x5c65ef=_0x5c65ef||_0x138fd3['isContent'](_0x41928a);const _0x2cec34=_0x31a841['mapper']['toViewElement'](_0x41928a);if(_0x2cec34&&_0x2cec34['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4b6aa1['type']&&(_0x138fd3['isBlock'](_0x41928a)&&!_0x138fd3['isLimit'](_0x41928a)&&(_0x41928a['nextSibling']||_0x21a692['isAtEnd']?_0x54e1cc&&_0x54e1cc['parent']==_0x41928a||(_0x54e1cc=_0x41928a,_0x56618f(_0x4b6aa1['previousPosition']),_0x1182b1=!0x0):_0xab69e0=_0xab69e0||_0x4b6aa1['previousPosition']));}function _0x56618f(_0x47fd64){const _0x1e75c2=_0x31a841['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x192ba4}),_0x25c805=_0x31a841['mapper']['toViewPosition'](_0x47fd64);_0x53f067['data']['isSuggestion']&&_0x31a841['writer']['addClass']('ck-suggestion-marker-'+_0x192ba4+'-new',_0x1e75c2),_0x393bb6['activeChange']==_0x53f067&&_0x31a841['writer']['addClass']('ck-suggestion-marker--active',_0x1e75c2),_0x31a841['writer']['insert'](_0x25c805,_0x1e75c2),_0x31a841['mapper']['bindElementToMarker'](_0x1e75c2,_0x3ac9d5['markerName']);}_0x5c65ef||_0x1182b1||!_0xab69e0||_0x56618f(_0xab69e0);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5ee052,_0x5139fd,_0x2e8fd7)=>{const _0x1ef896=_0x2e8fd7['mapper']['markerNameToElements'](_0x5139fd['markerName']);if(_0x1ef896){for(const _0xe97cd0 of _0x1ef896)(_0xe97cd0['hasClass']('ck-suggestion-marker-split')||_0xe97cd0['hasClass']('ck-suggestion-marker-merge'))&&(_0x2e8fd7['mapper']['unbindElementFromMarkerName'](_0xe97cd0,_0x5139fd['markerName']),_0x2e8fd7['writer']['remove'](_0xe97cd0));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0xed39bb,_0x5f1982,_0x5c1a31)=>{const _0x4f6b5c=_0x5f1982['markerName']['split'](':')[0x1],_0x2d8dcd=this['_getChangeFromId'](_0x4f6b5c);if(!_0x2d8dcd)return null;const _0xa5621f='add'==_0x2d8dcd['type']?'split':'merge';if(_0x5c1a31['consumable']['test'](_0x5f1982['markerRange'],_0xed39bb['name']))for(const _0x827ab7 of _0x5f1982['markerRange']['getItems']()){if(!_0x827ab7['is']('element','softBreak'))continue;const _0x6b6f55=_0x5c1a31['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xa5621f}),_0x3932b6=_0x5c1a31['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x827ab7));_0x2d8dcd['data']['isSuggestion']&&_0x5c1a31['writer']['addClass']('ck-suggestion-marker-'+_0xa5621f+'-new',_0x6b6f55),this['activeChange']==_0x2d8dcd&&_0x5c1a31['writer']['addClass']('ck-suggestion-marker--active',_0x6b6f55),_0x5c1a31['writer']['insert'](_0x3932b6,_0x6b6f55),_0x5c1a31['mapper']['bindElementToMarker'](_0x6b6f55,_0x5f1982['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x26d942=>{for(const _0x83cb7b of this['editor']['model']['document']['getRootNames']()){const _0x3559f2=this['editor']['model']['document']['getRoot'](_0x83cb7b),_0x532087=this['editor']['editing']['view']['document']['getRoot'](_0x83cb7b);if(_0x532087){const _0xf6a38c=_0x3559f2['getAttribute']('revisionHistoryAttachChange');if(_0x26d942['removeAttribute']('data-change-id',_0x532087),_0x26d942['removeClass']('ck-revision-history-root-add',_0x532087),_0x26d942['removeClass']('ck-revision-history-root-remove',_0x532087),_0x26d942['removeClass']('ck-revision-history-root--active',_0x532087),_0xf6a38c){const _0x27fc32=this['_getChangeFromId'](_0xf6a38c);if(!_0x27fc32)return null;_0x26d942['setAttribute']('data-change-id',_0xf6a38c,_0x532087),_0x26d942['addClass']('ck-revision-history-root-'+_0x27fc32['type'],_0x532087),this['activeChange']==_0x27fc32&&_0x26d942['addClass']('ck-revision-history-root--active',_0x532087);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x296c7e=>'revision-comment:'+_0x296c7e,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x40ab45=>'revision-suggestion:'+_0x40ab45,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x142004=>({'name':'suggestion:'+_0x142004,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x5a8358=>{const _0x37dc0d=_0x5a8358['markerName']['split'](':')[0x1];return'insertion'!=_0x37dc0d&&'deletion'!=_0x37dc0d?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x37dc0d]};}}),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',(_0x196fc1,_0x430419,_0x145c41)=>{const _0x21b952=_0x145c41['mapper']['markerNameToElements'](_0x430419['markerName']);if(_0x21b952){for(const _0xf80115 of _0x21b952)_0xf80115['is']('uiElement')&&(_0x145c41['mapper']['unbindElementFromMarkerName'](_0xf80115,_0x430419['markerName']),_0x145c41['writer']['remove'](_0xf80115));}},{'priority':'high'});}['_getChangeFromId'](_0x53e51f){return this['_changeIdToChange']['get'](_0x53e51f);}['_getViewForChange'](_0x29e327){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x29e327),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x19b294,_0xabbe52,_0x50e5e4,_0x4c91d7)=>{_0x4c91d7&&this['_balloon']['remove'](_0x4c91d7),_0x50e5e4&&(this['_balloon']['add']({'view':_0x50e5e4,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x534b1c=this['editor']['editing'],_0x22531a=this['_getChangeFromId'](_0x50e5e4['changeId']);let _0x17c09d;if(_0x22531a['data']['isOnRoot']){const _0x45fa39=_0x534b1c['view']['getDomRoot'](_0x22531a['rootName']);_0x17c09d=Array['from'](_0x45fa39['getClientRects']());}else{const _0x1ff5da=this['editor']['model']['markers']['get']('revision:'+_0x50e5e4['changeId']);_0x17c09d=Array['from'](_0x534b1c['mapper']['markerNameToElements'](_0x1ff5da['name']))['map'](_0x3713de=>_0x534b1c['view']['domConverter']['mapViewToDom'](_0x3713de))['map'](_0x65206a=>Array['from'](_0x65206a['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x17c09d[0x0];return _0x17c09d['find'](_0x52dbe3=>_0x52dbe3['top']-0x3<=this['_activeViewTarget']['y']&&_0x52dbe3['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x52dbe3['left']-0x3<=this['_activeViewTarget']['x']&&_0x52dbe3['right']+0x3>=this['_activeViewTarget']['x'])||_0x17c09d[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x12a730,_0x19261e,_0x1acee4,_0x55bdaa)=>{this['activeView']=_0x1acee4?this['_getViewForChange'](_0x1acee4):null,this['editor']['model']['change'](()=>{const _0x2b937f=this['editor']['editing'];_0x55bdaa&&(_0x55bdaa['data']['isOnRoot']?_0x2b937f['view']['change'](_0x54561a=>{_0x54561a['removeClass']('ck-revision-history-root--active',_0x2b937f['view']['document']['getRoot'](_0x55bdaa['rootName']));}):_0x2b937f['reconvertMarker']('revision:'+_0x55bdaa['id'])),_0x1acee4&&(_0x1acee4['data']['isOnRoot']?_0x2b937f['view']['change'](_0x4dddcc=>{_0x4dddcc['addClass']('ck-revision-history-root--active',_0x2b937f['view']['document']['getRoot'](_0x1acee4['rootName']));}):_0x2b937f['reconvertMarker']('revision:'+_0x1acee4['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x386894,_0x3f3b85)=>{if(this['activeChange'])return;const _0x493917=this['_findChangeIdFromDomTarget'](_0x3f3b85['target']),_0x2f4844=this['_changeIdToChange']['get'](_0x493917);_0x2f4844?(this['_activeViewTarget']={'x':_0x3f3b85['domEvent']['x'],'y':_0x3f3b85['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2f4844)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0xc60138,_0x475cca)=>{const _0x1e6d47=this['_findChangeIdFromDomTarget'](_0x475cca['target']),_0xf8457f=this['_changeIdToChange']['get'](_0x1e6d47);_0xf8457f?(this['_activeViewTarget']={'x':_0x475cca['domEvent']['x'],'y':_0x475cca['domEvent']['y']},_0xf8457f===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xf8457f):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0xbf3886){do{const _0x4985a2=_0xbf3886['getAttribute']('data-change-id');if(_0x4985a2)return _0x4985a2;_0xbf3886=_0xbf3886['parent'];}while(_0xbf3886);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x2d8436=>{for(const _0x46f3a7 of this['editor']['model']['markers'])_0x2d8436['removeMarker'](_0x46f3a7);});}}function et(_0x304178,_0x3b6490){return(_0x403226,_0x22ed85,_0x312156)=>{if(!_0x312156['consumable']['test'](_0x22ed85['markerRange'],_0x403226['name']))return;const _0x173d4f=_0x22ed85['markerRange']['getWalker'](),_0x3f066c=_0x22ed85['markerRange']['start'],_0x33cbf0=_0x304178['model']['schema'];let _0x426aec=null,_0x4b896c=null,_0x987dfa=!0x1,_0x296550=!0x1;for(const _0x4a0d2f of _0x173d4f){const _0x28351a=_0x4a0d2f['item'];_0x987dfa=_0x987dfa||_0x33cbf0['isContent'](_0x28351a);const _0x2724ce=_0x312156['mapper']['toViewElement'](_0x28351a);if(_0x2724ce&&_0x2724ce['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4a0d2f['type']&&(_0x33cbf0['isBlock'](_0x28351a)&&!_0x33cbf0['isLimit'](_0x28351a)&&(_0x28351a['nextSibling']||_0x3f066c['isAtEnd']?_0x426aec&&_0x426aec['parent']==_0x28351a||(_0x426aec=_0x28351a,_0xd2714b(_0x4a0d2f['previousPosition']),_0x296550=!0x0):_0x4b896c=_0x4b896c||_0x4a0d2f['previousPosition']));}function _0xd2714b(_0x5b7bb6){const _0x29e434=_0x312156['mapper']['toViewPosition'](_0x5b7bb6),_0x530d73=_0x312156['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x3b6490});_0x312156['writer']['insert'](_0x29e434,_0x530d73),_0x312156['mapper']['bindElementToMarker'](_0x530d73,_0x22ed85['markerName']);}_0x987dfa||_0x296550||!_0x4b896c||_0xd2714b(_0x4b896c);};}class bt extends _0x1124ed{constructor(_0x1da0fb){super(_0x1da0fb);const _0x221c7a=_0x1da0fb['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x221c7a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x221c7a,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x1eb034=this['editor'],_0x5d919e=_0x1eb034['plugins']['get'](d),_0x241181=_0x5d919e['isReady']?_0x5d919e['diff']['newRevisionId']:null;_0x1eb034['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x241181);}['refresh'](){const {isReady:_0x53636b,isEnabled:_0x411e65}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x53636b&&_0x411e65;}}class yt extends _0x1124ed{['_step'];constructor(_0xc677bc,{direction:_0x3d34e6}){super(_0xc677bc);const _0x5237f6=_0xc677bc['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3d34e6?0x1:-0x1,this['listenTo'](_0x5237f6,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5237f6,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5237f6,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x18bfa9=this['editor'],_0x5adb2a=_0x18bfa9['plugins']['get'](d),{isNavigationMode:_0x588840,currentChangeNumber:_0x1289ec}=_0x5adb2a;let _0x42bceb;if(_0x5adb2a['activeChange']=_0x588840?_0x5adb2a['diff']['changes']['get'](_0x1289ec+this['_step']):_0x5adb2a['diff']['changes']['first'],_0x5adb2a['activeChange']['data']['isOnRoot'])_0x42bceb=_0x18bfa9['editing']['view']['getDomRoot'](_0x5adb2a['activeChange']['rootName']);else{const _0x3fe7ed=_0x18bfa9['model']['markers']['get']('revision:'+_0x5adb2a['activeChange']['id']);_0x42bceb=_0x1a4569(_0x18bfa9['editing'],_0x3fe7ed);}_0x5d5bae({'target':_0x42bceb,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x3c3e07,currentChangeNumber:_0x2e6324,numberOfChanges:_0xf44411,isReady:_0x42e507,isEnabled:_0x4360f7}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4360f7&&_0x42e507&&_0xf44411)&&(!_0x3c3e07||(0x1===this['_step']?_0x2e6324<_0xf44411-0x1:_0x2e6324>0x0));}}class _i extends _0xfbdf25{constructor(_0x2e0520){super(_0x2e0520);const _0x397c44=this['bindTemplate'],_0x53abcf=new _0x27cfa6(_0x2e0520),_0x13e7d5=new _0x27cfa6(_0x2e0520);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',(_0xc9edcf,_0x3590d9)=>_0xc9edcf&&_0x3590d9>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1a7709,_0x4aa4b4,_0x485510,_0xec8f09)=>{if(!_0x1a7709)return y(_0x2e0520,'Loading...');if(!_0x485510)return y(_0x2e0520,'No\x20changes');const _0x25978e=y(_0x2e0520,'NUMBER_OF_CHANGES',_0x485510);return _0xec8f09?y(_0x2e0520,'X_OF_Y_CHANGES',[_0x4aa4b4+0x1,_0x485510]):_0x25978e;}),_0x53abcf['set']({'label':y(_0x2e0520,'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'}),_0x13e7d5['set']({'label':y(_0x2e0520,'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'}),_0x53abcf['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x13e7d5['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x53abcf['on']('execute',()=>this['fire']('execute','backward')),_0x13e7d5['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',_0x397c44['if']('_isStatusLabelVisible','ck-hidden',_0x5ea39c=>!_0x5ea39c)]},'children':[{'text':_0x397c44['to']('isNavigationMode',_0x5de65d=>_0x5de65d?y(_0x2e0520,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2e0520,'Total')+':\x20')}]},{'text':_0x397c44['to']('_statusText')}]},new _0x34cf4e(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x53abcf,_0x13e7d5]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x432e29{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x362969=this['editor']['editing']['view'];_0x362969['change'](_0x457565=>{for(const _0x2ddafd of _0x362969['document']['roots'])_0x457565['addClass'](ce,_0x2ddafd);});}['hide'](){const _0x2214df=this['editor']['editing']['view'];_0x2214df['change'](_0x3bbc2e=>{for(const _0x5090ef of _0x2214df['document']['roots'])_0x3bbc2e['removeClass'](ce,_0x5090ef);});}}class R extends _0x432e29{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4ea014=this['editor'],_0x53c58a=_0x4ea014['plugins']['get'](d),_0x2870db=_0x4ea014['plugins']['get'](de);_0x4ea014['ui']['componentFactory']['add']('exitToEditing',_0x1b646b=>{const _0x2a1350=new _0x27cfa6(_0x1b646b);return _0x2a1350['set']({'label':y(_0x1b646b,'Back\x20to\x20editing'),'icon':_0x259594['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2a1350,'execute',()=>{_0x4ea014['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2a1350;}),_0x4ea014['ui']['componentFactory']['add']('restoreRevision',_0x18ec80=>{const _0x4cc85e=new _0x27cfa6(_0x18ec80);return _0x4cc85e['set']({'label':y(_0x18ec80,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4cc85e['bind']('isEnabled')['to'](_0x4ea014['commands']['get']('restoreRevision')),this['listenTo'](_0x4cc85e,'execute',()=>_0x4ea014['execute']('restoreRevision')),_0x4cc85e;}),_0x4ea014['ui']['componentFactory']['add']('changesNavigation',_0x36e0ae=>{const _0x552551=new _i(_0x36e0ae),_0x47de57=_0x4ea014['commands']['get']('showPreviousChange'),_0x47642d=_0x4ea014['commands']['get']('showNextChange');return _0x552551['bind']('isBackwardNavigationEnabled')['to'](_0x47de57,'isEnabled'),_0x552551['bind']('isForwardNavigationEnabled')['to'](_0x47642d,'isEnabled'),_0x552551['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x53c58a),this['listenTo'](_0x552551,'execute',(_0x31374d,_0x4f87ea)=>{_0x4ea014['execute']('forward'===_0x4f87ea?'showNextChange':'showPreviousChange');}),_0x552551;}),_0x2870db['show'](),_0x53c58a['on']('change:isReady',(_0x1a75b5,_0x436b34,_0x2723e9)=>{_0x2723e9?_0x2870db['hide']():_0x2870db['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x4f934d,_0x3ea8de){super(_0x4f934d,_0x3ea8de);const _0x2508e5=this['bindTemplate'];this['set']({'label':y(_0x4f934d,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4f934d,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x2508e5['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 _0x3f241d=this['fieldView']['element'];this['_tooltipString']=_0x3f241d['scrollWidth']>_0x3f241d['clientWidth']&&_0x3f241d['value']||'';}}class ti extends _0xfbdf25{constructor(_0x385e9d,_0x1b8fc2,_0xb3c765){super(_0x385e9d);const _0x344ce2=new _0x2f3a7c();_0x344ce2['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 _0x414e5b=['ck','ck-revision-history-sidebar__revision-author'];_0xb3c765&&_0x414e5b['push']('ck-revision-history-sidebar__revision-author_creator');const _0x2ce24d=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x385e9d,_0xb3c765?'Revision\x20creator':'Revision\x20author')},'children':[_0x344ce2,_0x1b8fc2['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x414e5b},'children':_0x2ce24d});}}function ni(_0x152a52,_0x5b6b10){const _0x11de00=_0x152a52['bindTemplate'],_0x40fabf=_0x152a52['locale'],_0x597747=_0x157fb4(_0x40fabf);_0x597747['panelPosition']='sw';const _0x43e233=function(_0x3e132e,_0x13dac8){const _0x1b83b6=function(_0xa29988,_0x30d72a){const _0x57e62a=_0xa29988['locale'],_0x49bc73={'Compare\x20against\x20selected':y(_0x57e62a,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x57e62a,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x57e62a,'Restore\x20this\x20revision')};return _0x30d72a['map'](_0x540cd0=>{const _0xdb75dc=_0x49bc73[_0x540cd0['name']];return _0xdb75dc&&_0xdb75dc!==_0x540cd0['name']&&(_0x540cd0['name']=_0xdb75dc),_0x540cd0;});}(_0x3e132e,_0x13dac8),_0x7932ee=new _0x12acb5();for(const _0x55f3c of _0x1b83b6){const _0x6f024f={'type':'button','model':new to({'label':_0x55f3c['name'],'class':_0x55f3c['class'],'withText':!0x0,'role':'menuitem','_action':_0x55f3c['action']})};_0x6f024f['model']['bind']('isEnabled')['to'](_0x3e132e,'isActionsDropdownOpen',_0x3777b2=>'function'!=typeof _0x55f3c['isEnabled']||(!_0x3777b2||_0x55f3c['isEnabled'](_0x3e132e))),_0x7932ee['add'](_0x6f024f);}return _0x7932ee;}(_0x152a52,_0x5b6b10);return _0x152a52['bind']('isActionsDropdownOpen')['to'](_0x597747,'isOpen'),_0x597747['buttonView']['set']({'label':y(_0x40fabf,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x259594['threeVerticalDots']}),_0x597747['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x11de00['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x11de00['to'](_0x47b029=>_0x47b029['stopPropagation']())}}),_0x597747['on']('execute',_0x1fcb48=>{_0x152a52['isReady']&&'function'==typeof _0x1fcb48['source']['_action']&&_0x1fcb48['source']['_action'](_0x152a52);}),_0x13eac9(_0x597747,_0x43e233,{'role':'menu'}),_0x597747['listenTo'](_0x152a52,'change:isActionsDropdownOpen',(_0x58d950,_0x14dc51,_0x4eb146)=>{if(_0x4eb146)for(const _0x21a1fa of _0x597747['listView']['items']){const _0x36141f=_0x21a1fa['children']['first'],_0x12c345=_0x5b6b10['find'](_0x493ae6=>_0x493ae6['action']===_0x36141f['_action'])['isVisible'];_0x21a1fa['isVisible']=void 0x0===_0x12c345||_0x12c345(_0x152a52);}}),_0x597747;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x56e264(_0xfbdf25){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x1cbbc9,_0x44ce88,_0x2cbf95,_0x19228a){super(_0x1cbbc9);const _0x5ee726=this['bindTemplate'],_0x59c9cb=function(_0x582f98,_0x402459){const _0x14a867=Array['from'](_0x402459['authors'])['filter'](_0x328f84=>_0x328f84!=_0x402459['creator']);return _0x402459['creator']&&_0x14a867['unshift'](_0x402459['creator']),_0x14a867['map'](_0x17b661=>new ti(_0x582f98,_0x17b661,_0x17b661==_0x402459['creator']));}(_0x1cbbc9,_0x44ce88);this['id']=_0x44ce88['id'],this['_revision']=_0x44ce88,this['_requireRevisionName']=_0x19228a,this['bind']('name','createdAt')['to'](_0x44ce88),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x48dbba=>{return _0x208dee=_0x1cbbc9['uiLanguage'],(_0x2012ee=_0x48dbba)['toLocaleDateString'](_0x208dee,{'month':'long','day':'numeric'})+',\x20'+_0x2012ee['toLocaleTimeString'](_0x208dee,{'hour':'numeric','minute':'numeric'});var _0x208dee,_0x2012ee;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x1cbbc9,_0x870591),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1e0e4d=>_0x1e0e4d||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x461316,_0x4139f1)=>_0x461316&&_0x4139f1),this['revisionActionsView']=_0x2cbf95&&_0x2cbf95['length']?ni(this,_0x2cbf95):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5ee726['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5ee726['if']('isEnabled','ck-disabled',_0x335e53=>!_0x335e53),_0x5ee726['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5ee726['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5ee726['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':_0x5ee726['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':_0x59c9cb}]},this['revisionActionsView']],'on':{'click':_0x5ee726['to'](_0x22d050=>{_0x22d050['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x415c3e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x415c3e,'change',()=>{this['_requireRevisionName']&&!_0x415c3e['value']||this['fire']('setName',{'id':this['id'],'name':_0x415c3e['value']}),_0x415c3e['value']||(_0x415c3e['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(_0x144111,_0x28ebb7){const _0x4517e0=_0x3db3bf['fromJSDate'](_0x144111)['setLocale'](_0x28ebb7),_0xd26c15=_0x3db3bf['local'](),_0x347bb4=_0xd26c15['minus']({'days':0x1})['startOf']('day');let _0x371e99,_0x2a732f;return _0x4517e0['hasSame'](_0xd26c15,'day')?(_0x371e99=_0x4517e0['startOf']('day')['toJSDate'](),_0x2a732f=_0x4517e0['toRelativeCalendar']()):_0x4517e0['hasSame'](_0x347bb4,'day')?(_0x371e99=_0x347bb4['toJSDate'](),_0x2a732f=_0x4517e0['toRelativeCalendar']()):_0x4517e0['hasSame'](_0xd26c15,'week')?(_0x371e99=_0x4517e0['startOf']('week')['toJSDate'](),_0x2a732f=_0x4517e0['weekdayLong']||''):_0x4517e0['hasSame'](_0xd26c15,'year')?(_0x371e99=_0x4517e0['startOf']('month')['toJSDate'](),_0x2a732f=_0x4517e0['monthLong']||''):(_0x371e99=_0x4517e0['startOf']('year')['toJSDate'](),_0x2a732f=String(_0x4517e0['year'])),{'startDate':_0x371e99,'localizedPeriodName':_0x2a732f};}class mi extends _0xfbdf25{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x45281d,_0x45e7c6,_0x52e35f,_0x38fde6){super(_0x45281d);const _0x5c6bb5=di(_0x45e7c6,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x45e7c6,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x52e35f,this['_requireRevisionName']=_0x38fde6,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':_0x5c6bb5}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x4dcab8){const _0x4f9340=new ai(this['locale'],_0x4dcab8,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4f9340);}['removeRevision'](_0x3ffba9){const _0x3e5a74=this['revisionViews']['find'](_0x595db2=>_0x595db2['id']===_0x3ffba9['id']);this['revisionViews']['remove'](_0x3e5a74);}}class as extends _0xfbdf25{constructor(_0x197d06){super(_0x197d06);const _0x54c880=new _0x2f3a7c();_0x54c880['content']=_0x259594['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x54c880,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x197d06,'Revision\x20history')]}]});}}class ci extends _0xfbdf25{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1569b5,_0x1fc8dd,_0x1623e0,_0x291ab6){super(_0x1569b5);const _0x57c219=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x1fc8dd,this['_revisionActions']=_0x1623e0,this['_requireRevisionName']=_0x291ab6,this['on']('select',(_0xfddcc4,_0x736671)=>{this['fire']('revisionSelected',_0x736671);}),this['on']('setName',(_0x4fe811,_0x380098)=>{this['fire']('revisionSetName',_0x380098);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x1569b5),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x57c219['if']('isEnabled','ck-disabled',_0x33b5f3=>!_0x33b5f3)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x4d04b0 of this['_revisions'])this['_addRevision'](_0x4d04b0);this['_revisions']['on']('add',(_0x58421b,_0x365766)=>{this['_addRevision'](_0x365766);}),this['_revisions']['on']('remove',(_0x5d689a,_0x483c38)=>{this['_removeRevision'](_0x483c38);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3f6c68=>_0x3f6c68['revisionViews']['map'](_0x47f87d=>_0x47f87d))['flat']();}['selectRevision'](_0x17f183){for(const _0x43ca83 of this['revisionViews'])_0x17f183&&_0x17f183['id']===_0x43ca83['id']?_0x43ca83['select']():_0x43ca83['deselect']();}['highlightRevisions'](_0x452689){for(const _0x31c0c5 of this['revisionViews'])_0x452689['some'](({id:_0x1e3512})=>_0x1e3512===_0x31c0c5['id'])?_0x31c0c5['highlight']():_0x31c0c5['unhighlight']();}['_addRevision'](_0x510a11){const _0x5965a=di(_0x510a11['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x409f99=this['timePeriodViews']['get'](0x0);_0x409f99&&_0x409f99['startDate']['getTime']()===_0x5965a['getTime']()||(_0x409f99=new mi(this['locale'],_0x5965a,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x409f99)),_0x409f99['addRevision'](_0x510a11);}['_removeRevision'](_0x2f6ee9){const _0xd848e=di(_0x2f6ee9['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0xd848e)['removeRevision'](_0x2f6ee9);}['_getTimePeriodViewByStartDate'](_0x24b9bd){return this['timePeriodViews']['find'](_0x22bebb=>_0x22bebb['startDate']['getTime']()===_0x24b9bd['getTime']());}}class w extends _0x432e29{['_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(_0x38cfa1){super(_0x38cfa1),this['_revisionViewer']=_0x38cfa1['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x394e33=this['_revisionsRepository']['_revisions'],_0xad728=this['_createRevisionActions'](),_0x1af706=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x394e33,_0xad728,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',(_0x1ec833,_0x19b676)=>{_0x19b676['revisionViews']['on']('add',(_0x36fe9d,_0x2caaa9)=>{_0x2caaa9['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)),_0x1af706['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3ae313=this['_revisionsRepository']['getRevision'](0x0);if(_0x3ae313){const _0x214313=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3ae313['id']);this['_revisionViewer']['compare'](_0x3ae313,_0x214313);}}['_handleRevisionSelected'](_0x35f075,_0x25d3e7){const _0x443a72=this['_revisionsRepository']['getRevision'](_0x25d3e7['id']),_0x195d59=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x443a72['id']);this['_revisionViewer']['compare'](_0x443a72,_0x195d59);}['_handleRevisionSetName'](_0x332491,_0xbb9224){this['_revisionsRepository']['getRevision'](_0xbb9224['id'])['setName'](_0xbb9224['name']);}['_handleDiffChange'](_0x302637,_0x40257c,_0x38c24b){const _0x69dc9e=this['_revisionsRepository']['getRevisionsInDiff'](_0x38c24b);_0x69dc9e['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x69dc9e),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x69dc9e[0x0]));}['_createRevisionActions'](){const _0x553089=this['editor'],_0x10e953=w['availableRevisionActions'],_0x5d02d9=_0x553089['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5d02d9['length'])return _0x5d02d9['map'](_0x2cc20c=>{const _0x3e50ef='string'==typeof _0x2cc20c?Object['assign']({},_0x10e953[_0x2cc20c]):_0x2cc20c;return _0x3e50ef['action']=_0x3e50ef['action']['bind'](this,_0x553089),_0x3e50ef['isVisible']&&(_0x3e50ef['isVisible']=_0x3e50ef['isVisible']['bind'](this,_0x553089)),_0x3e50ef;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xa18082},_0x4c780a)=>{const _0x525128=_0xa18082['get'](d),_0x29168e=_0x525128['repository'];let _0x5ace6b=_0x525128['diff']['newRevisionId'],_0x29880e=_0x4c780a['id'];_0x29168e['getIndex'](_0x5ace6b)>_0x29168e['getIndex'](_0x29880e)&&([_0x5ace6b,_0x29880e]=[_0x29880e,_0x5ace6b]),_0x525128['compare'](_0x5ace6b,_0x29880e);},'isVisible':({plugins:_0x27a962},_0x2e4917)=>{const _0x12699d=_0x27a962['get'](d);return!(_0x12699d['repository']['getRevisionsInDiff'](_0x12699d['diff'])['length']>0x2)&&!_0x2e4917['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x10c27b,{id:_0x2ff8ad})=>{_0x10c27b['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2ff8ad);},'isVisible':({plugins:_0xa763d7},_0xc9f673)=>!!_0xa763d7['get'](d)['repository']['getLaterVisibleRevision'](_0xc9f673['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x45b734},{id:_0xd5d6cd,revisionNameView:_0x1aeb3c})=>{const _0x5e80ed=_0x45b734['get'](d),_0x199fac=_0x5e80ed['repository']['getEarlierVisibleRevision'](_0xd5d6cd);_0x5e80ed['compare'](_0xd5d6cd,_0x199fac),_0x1aeb3c['focus'](),_0x1aeb3c['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x4090df,_0x1cc630){super(_0x4090df),this['_view']=_0x1cc630,this['_toolbarConfig']=ct(_0x4090df['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x5368d3){const _0x4d81be=this['editor'],_0x4061a3=this['view'],_0x214f6f=_0x4d81be['editing']['view'],_0x1e444d=_0x4061a3['editable'],_0x3f4403=_0x214f6f['document']['getRoot']();_0x1e444d['name']=_0x3f4403['rootName'],_0x4061a3['render']();const _0x18b945=_0x1e444d['element'];this['setEditableElement'](_0x1e444d['name'],_0x18b945),_0x4061a3['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x214f6f['attachDomRoot'](_0x18b945),this['_elementReplacer']['replace'](_0x5368d3,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x19fe27=this['view'],_0x26a6d6=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x26a6d6['detachDomRoot'](_0x19fe27['editable']['name']),_0x19fe27['destroy']();}['_initToolbar'](){const _0x5f49c0=this['view'];_0x5f49c0['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x5f49c0['stickyPanel']['limiterElement']=_0x5f49c0['element'],_0x5f49c0['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x33a593})=>_0x33a593),_0x5f49c0['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x5f49c0['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x582807,_0x1075e2,_0x4203e4={}){super(_0x582807),this['stickyPanel']=new lt(_0x582807),this['toolbar']=new pt(_0x582807,{'shouldGroupWhenFull':_0x4203e4['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x582807,_0x1075e2);}['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(_0x4e036f,_0x4a2707){super(_0x4a2707),this['sourceElement']=_0x4e036f,this['model']['document']['createRoot']();const _0xef402=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xef402);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x4ae9e2,_0x112fe2){const _0x4c8fda=new this(_0x4ae9e2,_0x112fe2);return await _0x4c8fda['initPlugins'](),await _0x4c8fda['ui']['init'](_0x4ae9e2),await _0x4c8fda['data']['init'](_0x4c8fda['config']['get']('initialData')||''),_0x4c8fda['fire']('ready'),_0x4c8fda;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x25b853{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x384e56){super(_0x384e56),this['result']='end';}}class H extends _0x25b853{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x3fe9ec){if(super(_0x3fe9ec),!this['editor']['config']['get']('revisionHistory'))throw new _0xb5aa03('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x90cea8=>this['_showRevisionViewer']({..._0x90cea8,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x202a50=>this['_closeRevisionViewer'](_0x202a50)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x9d15e1=>this['_restoreRevision'](_0x9d15e1)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x545192){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x545192;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3b5989){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3b5989);}['getRevision'](_0x369930){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x369930);}['getRevisions'](_0x487779){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x487779||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x246f46=this['editor'],_0x1c4136=_0x1c6921(_0x246f46,p),_0x739980=_0x246f46['plugins']['get']('RevisionTracker'),_0x92fcba=_0x246f46['plugins']['get']('Users')['users'];return _0x1c4136['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x1c4136['lazyRoots'],(_0x1c4136['plugins']['push'](k,d,R,class extends _0x25b853{static get['requires'](){return[d,'Users'];}['init'](){const _0x2ac416=this['editor']['plugins']['get']('Users');for(const _0x3bec40 of _0x92fcba)_0x3bec40['isAnonymous']||_0x2ac416['getUser'](_0x3bec40['id'])||_0x2ac416['addUser'](_0x3bec40);const _0x5cfdc3=_0x739980['repository']['getRevisions']();let _0x2f9d6a=null;const _0x4793d2=this['editor']['plugins']['get']('RevisionViewer');_0x4793d2['adapter']=_0x739980['adapter'],_0x4793d2['bind']('isEnabled')['to'](_0x739980),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x246f46,'isReadOnly',_0x2db2d4=>!_0x2db2d4);for(const _0x428e7b of _0x5cfdc3){const _0x18981d=null===_0x428e7b['creator'];if(_0x18981d&&_0x428e7b['toVersion']===_0x428e7b['fromVersion'])continue;const _0x197082=_0x428e7b['toJSON']();_0x4793d2['addRevisionData'](_0x197082,(_0x27adcf,_0x299098,_0x4e0fbd)=>{if(_0x18981d){if(_0x2f9d6a)_0x2f9d6a['_update'](_0x27adcf,_0x299098);else{if(!_0x299098){const _0x57abd=_0x4e0fbd['toJSON']();_0x57abd['id']=_0xf0a907(),_0x739980['saveRevision'](_0x57abd,_0x4e0fbd['toVersion'])['then'](_0x20f865=>{_0x2f9d6a=_0x20f865;});}}}else _0x428e7b['_update'](_0x27adcf,_0x299098);});}}},w),_0x1c4136);}['_enhanceShowRevisionViewerCallback'](){const _0x56d3a6=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2cb271=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x10d5cb=this['editor']['plugins']['get']('Autosave');await _0x10d5cb['save']();}else await _0x2cb271['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x478bad=this['editor']['plugins']['get']('Dialog');_0x478bad['isOpen']&&_0x478bad['hide']();}const _0x11e03d=this['_getRevisionViewerEditorConfig']();return _0x56d3a6(_0x11e03d)['then'](_0x5f42b2=>{return(this['_viewerEditor']=_0x5f42b2,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5f42b2;})['catch'](_0x8b7c27=>(console['error'](_0x8b7c27),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3402a1=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'](),_0x3402a1(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4f3f9e=this['editor']['plugins']['get']('Annotations');_0x4f3f9e['refreshVisibility'](),_0x4f3f9e['refreshPositioning']();}})));}['_showRevisionViewer'](_0x558b23){const _0x2de952=this['editor']['config']['get']('revisionHistory.editorContainer'),_0xd5203c=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x1ad824=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x1ad824,_0x558b23)['then'](_0x53a01a=>(_0xd5203c['style']['display']='block',_0x2de952['style']['display']='none',_0x53a01a));}['_closeRevisionViewer'](_0x3ab01f){const _0x4e03fe=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4e03fe['style']['display']='',_0x3ab01f['destroy']();}async['_restoreRevision'](_0x58cc66){const _0x4d8010=this['editor'],_0x3fdc66=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x362761=_0x4d8010['plugins']['get']('RevisionTracker'),_0x170fb7=_0x3fdc66['repository']['getRevision'](_0x58cc66);let _0x384770,_0x49d558,_0xecd11e;try{_0x384770=await _0x3fdc66['getRevisionData'](_0x170fb7),_0x49d558=await _0x3fdc66['getRevisionRootsAttributes'](_0x170fb7);}catch(_0x3dd1e2){return void console['error'](_0x3dd1e2);}_0x4d8010['model']['change'](_0x37e3f4=>{for(const _0x8d9945 of Array['from'](_0x4d8010['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x37e3f4['removeMarker'](_0x8d9945);}),_0x3fdc66['isReady']=!0x1,_0x4d8010['model']['enqueueChange'](_0x157cd6=>{_0x157cd6['setSelection'](null),_0x157cd6['removeSelectionAttribute'](_0x4d8010['model']['document']['selection']['getAttributeKeys']());const _0x7cc217=Object['keys'](_0x384770);for(const _0x7babf1 of _0x4d8010['model']['document']['roots'])'$graveyard'!=_0x7babf1['rootName']&&_0x7babf1['isAttached']()&&!_0x7cc217['includes'](_0x7babf1['rootName'])&&_0x157cd6['detachRoot'](_0x7babf1);for(const _0x416099 of _0x7cc217){let _0x3243ec=_0x4d8010['model']['document']['getRoot'](_0x416099);_0x3243ec&&_0x3243ec['isAttached']()||(_0x3243ec=_0x157cd6['addRoot'](_0x416099));const _0x3841df=_0x49d558[_0x416099],_0x107b52=Object['keys'](_0x3841df),_0x20ce0c=_0x384770[_0x416099];for(const _0x4cd867 of _0x3243ec['getAttributeKeys']())_0x107b52['includes'](_0x4cd867)||_0x157cd6['removeAttribute'](_0x4cd867,_0x3243ec);for(const _0x3a08c8 of _0x107b52)_0x157cd6['setAttribute'](_0x3a08c8,_0x49d558[_0x416099][_0x3a08c8],_0x3243ec);_0x157cd6['remove'](_0x157cd6['createRangeIn'](_0x3243ec)),_0x157cd6['insert'](_0x4d8010['data']['parse'](_0x20ce0c,_0x3243ec),_0x3243ec,0x0);}});const _0x16ad7a=y(_0x4d8010['locale'],'Restored');if(_0x170fb7['name'])_0xecd11e=-0x1==_0x170fb7['name']['indexOf'](_0x16ad7a)?_0x16ad7a+':\x20'+_0x170fb7['name']:_0x170fb7['name'];else _0xecd11e=_0x16ad7a+':\x20'+(_0x170fb7['createdAt']['toLocaleDateString'](_0x4d8010['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x170fb7['createdAt']['toLocaleTimeString'](_0x4d8010['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x362761['saveRevision']({'name':_0xecd11e}),_0x3fdc66['isReady']=!0x0,_0x4d8010['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(_0x46a830){super(_0x46a830),this['_revisionViewer']=_0x46a830['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0xb75c51=this['_revisionsRepository']['_revisions'],_0x15407f=this['_createRevisionActions'](),_0x14e73b=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0xb75c51,_0x15407f,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',(_0x3beeb4,_0x9f3cb1)=>{_0x9f3cb1['revisionViews']['on']('add',(_0x48563d,_0x29393c)=>{_0x29393c['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)),_0x14e73b['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3ff92b=this['_revisionsRepository']['getRevision'](0x0);if(_0x3ff92b){const _0x3b29d0=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3ff92b['id']);this['_revisionViewer']['compare'](_0x3ff92b,_0x3b29d0);}}['_handleRevisionSelected'](_0x5ee595,_0x1453f0){const _0x5dd279=this['_revisionsRepository']['getRevision'](_0x1453f0['id']),_0x3cf6b1=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5dd279['id']);this['_revisionViewer']['compare'](_0x5dd279,_0x3cf6b1);}['_handleRevisionSetName'](_0x57b5b1,_0x3ff430){this['_revisionsRepository']['getRevision'](_0x3ff430['id'])['setName'](_0x3ff430['name']);}['_handleDiffChange'](_0x130221,_0x5f40aa,_0x39802f){const _0x5c4a97=this['_revisionsRepository']['getRevisionsInDiff'](_0x39802f);_0x5c4a97['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5c4a97),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5c4a97[0x0]));}['_createRevisionActions'](){const _0x1ae8bf=this['editor'],_0x3e04bb=w['availableRevisionActions'],_0x194262=_0x1ae8bf['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x194262['length'])return _0x194262['map'](_0x15557b=>{const _0xeef10e='string'==typeof _0x15557b?Object['assign']({},_0x3e04bb[_0x15557b]):_0x15557b;return _0xeef10e['action']=_0xeef10e['action']['bind'](this,_0x1ae8bf),_0xeef10e['isVisible']&&(_0xeef10e['isVisible']=_0xeef10e['isVisible']['bind'](this,_0x1ae8bf)),_0xeef10e;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x39305a},_0x485433)=>{const _0x2e25f0=_0x39305a['get'](d),_0x44b18c=_0x2e25f0['repository'];let _0x22654b=_0x2e25f0['diff']['newRevisionId'],_0x5f649f=_0x485433['id'];_0x44b18c['getIndex'](_0x22654b)>_0x44b18c['getIndex'](_0x5f649f)&&([_0x22654b,_0x5f649f]=[_0x5f649f,_0x22654b]),_0x2e25f0['compare'](_0x22654b,_0x5f649f);},'isVisible':({plugins:_0x1e70e6},_0x12f71a)=>{const _0x61507f=_0x1e70e6['get'](d);return!(_0x61507f['repository']['getRevisionsInDiff'](_0x61507f['diff'])['length']>0x2)&&!_0x12f71a['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2d4daa,{id:_0xc0777d})=>{_0x2d4daa['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xc0777d);},'isVisible':({plugins:_0x26e553},_0x229369)=>!!_0x26e553['get'](d)['repository']['getLaterVisibleRevision'](_0x229369['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3cd220},{id:_0x3d49c5,revisionNameView:_0x553b11})=>{const _0x4902cf=_0x3cd220['get'](d),_0x30fe75=_0x4902cf['repository']['getEarlierVisibleRevision'](_0x3d49c5);_0x4902cf['compare'](_0x3d49c5,_0x30fe75),_0x553b11['focus'](),_0x553b11['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x54ac3c,_0x4888b6){super(_0x54ac3c),this['_view']=_0x4888b6,this['_toolbarConfig']=ct(_0x54ac3c['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x51e2fa){const _0x36fa2d=this['editor'],_0x474a1b=this['view'],_0x7f4349=_0x36fa2d['editing']['view'],_0x2a368e=_0x474a1b['editable'],_0x3fe9ec=_0x7f4349['document']['getRoot']();_0x2a368e['name']=_0x3fe9ec['rootName'],_0x474a1b['render']();const _0x1eefcc=_0x2a368e['element'];this['setEditableElement'](_0x2a368e['name'],_0x1eefcc),_0x474a1b['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x7f4349['attachDomRoot'](_0x1eefcc),this['_elementReplacer']['replace'](_0x51e2fa,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x5b8240=this['view'],_0x1d3164=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1d3164['detachDomRoot'](_0x5b8240['editable']['name']),_0x5b8240['destroy']();}['_initToolbar'](){const _0x1a5c81=this['view'];_0x1a5c81['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x1a5c81['stickyPanel']['limiterElement']=_0x1a5c81['element'],_0x1a5c81['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x47420b})=>_0x47420b),_0x1a5c81['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x1a5c81['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x5aa28d,_0x18cc7a,_0x5d6222={}){super(_0x5aa28d),this['stickyPanel']=new lt(_0x5aa28d),this['toolbar']=new pt(_0x5aa28d,{'shouldGroupWhenFull':_0x5d6222['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x5aa28d,_0x18cc7a);}['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(_0x516e15,_0x1c349f){super(_0x1c349f),this['sourceElement']=_0x516e15,this['model']['document']['createRoot']();const _0xc5f0d4=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xc5f0d4);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x23e20c,_0x1b751c){const _0x1d454f=new this(_0x23e20c,_0x1b751c);return await _0x1d454f['initPlugins'](),await _0x1d454f['ui']['init'](_0x23e20c),await _0x1d454f['data']['init'](_0x1d454f['config']['get']('initialData')||''),_0x1d454f['fire']('ready'),_0x1d454f;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x432e29{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x51ffa2){super(_0x51ffa2),this['result']='end';}}class H extends _0x432e29{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x392e47){if(super(_0x392e47),!this['editor']['config']['get']('revisionHistory'))throw new _0x2f9caf('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x45e3ac=>this['_showRevisionViewer']({..._0x45e3ac,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x200850=>this['_closeRevisionViewer'](_0x200850)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x27e82c=>this['_restoreRevision'](_0x27e82c)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x10c5be){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x10c5be;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x51f00c){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x51f00c);}['getRevision'](_0x3ff2e7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3ff2e7);}['getRevisions'](_0x3f596b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3f596b||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x1a92b6=this['editor'],_0x24c119=_0x534d9f(_0x1a92b6,p),_0x444af1=_0x1a92b6['plugins']['get']('RevisionTracker'),_0xa476d5=_0x1a92b6['plugins']['get']('Users')['users'];return _0x24c119['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x24c119['lazyRoots'],(_0x24c119['plugins']['push'](k,d,R,class extends _0x432e29{static get['requires'](){return[d,'Users'];}['init'](){const _0x3fdcdc=this['editor']['plugins']['get']('Users');for(const _0x3c43d3 of _0xa476d5)_0x3c43d3['isAnonymous']||_0x3fdcdc['getUser'](_0x3c43d3['id'])||_0x3fdcdc['addUser'](_0x3c43d3);const _0x537649=_0x444af1['repository']['getRevisions']();let _0x4b9723=null;const _0x4c5661=this['editor']['plugins']['get']('RevisionViewer');_0x4c5661['adapter']=_0x444af1['adapter'],_0x4c5661['bind']('isEnabled')['to'](_0x444af1),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x1a92b6,'isReadOnly',_0x1339ed=>!_0x1339ed);for(const _0x4452ae of _0x537649){const _0x5bbf33=null===_0x4452ae['creator'];if(_0x5bbf33&&_0x4452ae['toVersion']===_0x4452ae['fromVersion'])continue;const _0x3645f6=_0x4452ae['toJSON']();_0x4c5661['addRevisionData'](_0x3645f6,(_0x18e2ed,_0x4f9793,_0x5f5085)=>{if(_0x5bbf33){if(_0x4b9723)_0x4b9723['_update'](_0x18e2ed,_0x4f9793);else{if(!_0x4f9793){const _0x1814a=_0x5f5085['toJSON']();_0x1814a['id']=_0x20896a(),_0x444af1['saveRevision'](_0x1814a,_0x5f5085['toVersion'])['then'](_0x35c778=>{_0x4b9723=_0x35c778;});}}}else _0x4452ae['_update'](_0x18e2ed,_0x4f9793);});}}},w),_0x24c119);}['_enhanceShowRevisionViewerCallback'](){const _0x4ce5f9=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1a164b=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x105558=this['editor']['plugins']['get']('Autosave');await _0x105558['save']();}else await _0x1a164b['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x30f70c=this['editor']['plugins']['get']('Dialog');_0x30f70c['isOpen']&&_0x30f70c['hide']();}const _0x486a08=this['_getRevisionViewerEditorConfig']();return _0x4ce5f9(_0x486a08)['then'](_0x163ba1=>{return(this['_viewerEditor']=_0x163ba1,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x163ba1;})['catch'](_0x1a2ab3=>(console['error'](_0x1a2ab3),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x433a9e=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'](),_0x433a9e(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x36d625=this['editor']['plugins']['get']('Annotations');_0x36d625['refreshVisibility'](),_0x36d625['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4c2244){const _0x396251=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x1ad990=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x254d24=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x254d24,_0x4c2244)['then'](_0x2830a0=>(_0x1ad990['style']['display']='block',_0x396251['style']['display']='none',_0x2830a0));}['_closeRevisionViewer'](_0x43ad7c){const _0x218423=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x218423['style']['display']='',_0x43ad7c['destroy']();}async['_restoreRevision'](_0x487a09){const _0xc16686=this['editor'],_0x1d90ca=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1166d7=_0xc16686['plugins']['get']('RevisionTracker'),_0x5b712b=_0x1d90ca['repository']['getRevision'](_0x487a09);let _0x25fb9c,_0x2f88ba,_0x23db8c;try{_0x25fb9c=await _0x1d90ca['getRevisionData'](_0x5b712b),_0x2f88ba=await _0x1d90ca['getRevisionRootsAttributes'](_0x5b712b);}catch(_0xa926f8){return void console['error'](_0xa926f8);}_0xc16686['model']['change'](_0x390bcd=>{for(const _0x9dbd5f of Array['from'](_0xc16686['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x390bcd['removeMarker'](_0x9dbd5f);}),_0x1d90ca['isReady']=!0x1,_0xc16686['model']['enqueueChange'](_0x4cdd3e=>{_0x4cdd3e['setSelection'](null),_0x4cdd3e['removeSelectionAttribute'](_0xc16686['model']['document']['selection']['getAttributeKeys']());const _0x1f80b2=Object['keys'](_0x25fb9c);for(const _0x36c009 of _0xc16686['model']['document']['roots'])'$graveyard'!=_0x36c009['rootName']&&_0x36c009['isAttached']()&&!_0x1f80b2['includes'](_0x36c009['rootName'])&&_0x4cdd3e['detachRoot'](_0x36c009);for(const _0xf922 of _0x1f80b2){let _0x315823=_0xc16686['model']['document']['getRoot'](_0xf922);_0x315823&&_0x315823['isAttached']()||(_0x315823=_0x4cdd3e['addRoot'](_0xf922));const _0x7dbb00=_0x2f88ba[_0xf922],_0x439de8=Object['keys'](_0x7dbb00),_0x1577b2=_0x25fb9c[_0xf922];for(const _0xc7df7c of _0x315823['getAttributeKeys']())_0x439de8['includes'](_0xc7df7c)||_0x4cdd3e['removeAttribute'](_0xc7df7c,_0x315823);for(const _0x1b3a55 of _0x439de8)_0x4cdd3e['setAttribute'](_0x1b3a55,_0x2f88ba[_0xf922][_0x1b3a55],_0x315823);_0x4cdd3e['remove'](_0x4cdd3e['createRangeIn'](_0x315823)),_0x4cdd3e['insert'](_0xc16686['data']['parse'](_0x1577b2,_0x315823),_0x315823,0x0);}});const _0x2c3c7d=y(_0xc16686['locale'],'Restored');if(_0x5b712b['name'])_0x23db8c=-0x1==_0x5b712b['name']['indexOf'](_0x2c3c7d)?_0x2c3c7d+':\x20'+_0x5b712b['name']:_0x5b712b['name'];else _0x23db8c=_0x2c3c7d+':\x20'+(_0x5b712b['createdAt']['toLocaleDateString'](_0xc16686['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x5b712b['createdAt']['toLocaleTimeString'](_0xc16686['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1166d7['saveRevision']({'name':_0x23db8c}),_0x1d90ca['isReady']=!0x0,_0xc16686['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};