@ckeditor/ckeditor5-revision-history 41.4.2 → 42.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. package/README.md +6 -0
  2. package/build/revision-history.js +1 -1
  3. package/dist/index.js +7 -1
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/bg.js +1 -1
  11. package/dist/translations/bg.umd.js +1 -1
  12. package/dist/translations/bn.js +1 -1
  13. package/dist/translations/bn.umd.js +1 -1
  14. package/dist/translations/bs.js +1 -1
  15. package/dist/translations/bs.umd.js +1 -1
  16. package/dist/translations/ca.js +1 -1
  17. package/dist/translations/ca.umd.js +1 -1
  18. package/dist/translations/cs.js +1 -1
  19. package/dist/translations/cs.umd.js +1 -1
  20. package/dist/translations/da.js +1 -1
  21. package/dist/translations/da.umd.js +1 -1
  22. package/dist/translations/de-ch.js +1 -1
  23. package/dist/translations/de-ch.umd.js +1 -1
  24. package/dist/translations/de.js +1 -1
  25. package/dist/translations/de.umd.js +1 -1
  26. package/dist/translations/el.js +1 -1
  27. package/dist/translations/el.umd.js +1 -1
  28. package/dist/translations/en-au.js +1 -1
  29. package/dist/translations/en-au.umd.js +1 -1
  30. package/dist/translations/en-gb.js +1 -1
  31. package/dist/translations/en-gb.umd.js +1 -1
  32. package/dist/translations/en.umd.js +1 -1
  33. package/dist/translations/es-co.js +1 -1
  34. package/dist/translations/es-co.umd.js +1 -1
  35. package/dist/translations/es.js +1 -1
  36. package/dist/translations/es.umd.js +1 -1
  37. package/dist/translations/et.js +1 -1
  38. package/dist/translations/et.umd.js +1 -1
  39. package/dist/translations/fa.js +1 -1
  40. package/dist/translations/fa.umd.js +1 -1
  41. package/dist/translations/fi.js +1 -1
  42. package/dist/translations/fi.umd.js +1 -1
  43. package/dist/translations/fr.js +1 -1
  44. package/dist/translations/fr.umd.js +1 -1
  45. package/dist/translations/gl.js +1 -1
  46. package/dist/translations/gl.umd.js +1 -1
  47. package/dist/translations/he.js +1 -1
  48. package/dist/translations/he.umd.js +1 -1
  49. package/dist/translations/hi.js +1 -1
  50. package/dist/translations/hi.umd.js +1 -1
  51. package/dist/translations/hr.js +1 -1
  52. package/dist/translations/hr.umd.js +1 -1
  53. package/dist/translations/hu.js +1 -1
  54. package/dist/translations/hu.umd.js +1 -1
  55. package/dist/translations/id.js +1 -1
  56. package/dist/translations/id.umd.js +1 -1
  57. package/dist/translations/it.js +1 -1
  58. package/dist/translations/it.umd.js +1 -1
  59. package/dist/translations/ja.js +1 -1
  60. package/dist/translations/ja.umd.js +1 -1
  61. package/dist/translations/jv.js +1 -1
  62. package/dist/translations/jv.umd.js +1 -1
  63. package/dist/translations/ko.js +1 -1
  64. package/dist/translations/ko.umd.js +1 -1
  65. package/dist/translations/ku.js +1 -1
  66. package/dist/translations/ku.umd.js +1 -1
  67. package/dist/translations/lt.js +1 -1
  68. package/dist/translations/lt.umd.js +1 -1
  69. package/dist/translations/lv.js +1 -1
  70. package/dist/translations/lv.umd.js +1 -1
  71. package/dist/translations/ms.js +1 -1
  72. package/dist/translations/ms.umd.js +1 -1
  73. package/dist/translations/ne.js +1 -1
  74. package/dist/translations/ne.umd.js +1 -1
  75. package/dist/translations/nl.js +1 -1
  76. package/dist/translations/nl.umd.js +1 -1
  77. package/dist/translations/no.js +1 -1
  78. package/dist/translations/no.umd.js +1 -1
  79. package/dist/translations/pl.js +1 -1
  80. package/dist/translations/pl.umd.js +1 -1
  81. package/dist/translations/pt-br.js +1 -1
  82. package/dist/translations/pt-br.umd.js +1 -1
  83. package/dist/translations/pt.js +1 -1
  84. package/dist/translations/pt.umd.js +1 -1
  85. package/dist/translations/ro.js +1 -1
  86. package/dist/translations/ro.umd.js +1 -1
  87. package/dist/translations/ru.js +1 -1
  88. package/dist/translations/ru.umd.js +1 -1
  89. package/dist/translations/sk.js +1 -1
  90. package/dist/translations/sk.umd.js +1 -1
  91. package/dist/translations/sr-latn.js +1 -1
  92. package/dist/translations/sr-latn.umd.js +1 -1
  93. package/dist/translations/sr.js +1 -1
  94. package/dist/translations/sr.umd.js +1 -1
  95. package/dist/translations/sv.js +1 -1
  96. package/dist/translations/sv.umd.js +1 -1
  97. package/dist/translations/th.js +1 -1
  98. package/dist/translations/th.umd.js +1 -1
  99. package/dist/translations/ti.js +1 -1
  100. package/dist/translations/ti.umd.js +1 -1
  101. package/dist/translations/tk.js +1 -1
  102. package/dist/translations/tk.umd.js +1 -1
  103. package/dist/translations/tr.js +1 -1
  104. package/dist/translations/tr.umd.js +1 -1
  105. package/dist/translations/tt.js +1 -1
  106. package/dist/translations/tt.umd.js +1 -1
  107. package/dist/translations/ug.js +1 -1
  108. package/dist/translations/ug.umd.js +1 -1
  109. package/dist/translations/uk.js +1 -1
  110. package/dist/translations/uk.umd.js +1 -1
  111. package/dist/translations/ur.js +1 -1
  112. package/dist/translations/ur.umd.js +1 -1
  113. package/dist/translations/vi.js +1 -1
  114. package/dist/translations/vi.umd.js +1 -1
  115. package/dist/translations/zh-cn.js +1 -1
  116. package/dist/translations/zh-cn.umd.js +1 -1
  117. package/dist/translations/zh.js +1 -1
  118. package/dist/translations/zh.umd.js +1 -1
  119. package/dist/types/changeitem.d.ts +1 -1
  120. package/dist/types/editor/revisionviewereditor.d.ts +1 -1
  121. package/dist/types/revision.d.ts +1 -1
  122. package/dist/types/ui/revision/revisionview.d.ts +1 -1
  123. package/package.json +5 -5
  124. package/src/changeitem.d.ts +1 -1
  125. package/src/changeitem.js +2 -1
  126. package/src/editor/revisionviewereditor.d.ts +1 -1
  127. package/src/editor/revisionviewereditor.js +2 -1
  128. package/src/editor/revisionviewereditorui.js +1 -1
  129. package/src/editor/revisionviewereditoruiview.js +1 -1
  130. package/src/index.js +1 -1
  131. package/src/revision.d.ts +1 -1
  132. package/src/revision.js +2 -1
  133. package/src/revisiondiff.js +1 -1
  134. package/src/revisionhistory.js +1 -1
  135. package/src/revisionsrepository.js +1 -1
  136. package/src/revisiontracker.js +1 -1
  137. package/src/revisionviewer.js +1 -1
  138. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  139. package/src/ui/revision/revisionauthorview.js +1 -1
  140. package/src/ui/revision/revisionnameview.js +1 -1
  141. package/src/ui/revision/revisionview.d.ts +1 -1
  142. package/src/ui/revision/revisionview.js +2 -1
  143. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  144. package/src/ui/revision/subrevisionview.js +1 -1
  145. package/src/ui/revision/utils.js +1 -1
  146. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  147. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  148. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  149. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  150. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  151. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  152. package/src/ui/revisionssidebar/utils.js +1 -1
  153. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  154. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  155. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  156. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  157. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,4 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x51b9c7,Context as _0x2119e1,PendingActions as _0x48b1b4,icons as _0x3f8e84,Command as _0x80aed6,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x24ad1e,uid as _0x3ac1f9,Collection as _0x2e5c77,logWarning as _0x1d551d,FocusTracker as _0x6ce694,KeystrokeHandler as _0x7ef55c,scrollViewportToShowTarget as _0x369670,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x1cb978}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2726a5,getMarkerDomElement as _0x1a9b63,ConfirmMixin as _0x329533,sanitizeEditorConfig as _0x383233}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x577e08,ViewText as _0x21f25b,ViewElement as _0x17f75d,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x33cd17,ViewAttributeElement as _0x5de45e,ViewEmptyElement as _0x4ab119,ViewRawElement as _0x33ddf5,ViewUIElement as _0x1b7f2d,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x49c5d8,set as _0x26ecd1,unset as _0x29ece0,isEqual as _0x4f16a3}from'lodash-es';import{View as _0xf6ee6f,submitHandler as _0x580778,LabeledFieldView as mt,createLabeledInputText as _0x1ff45c,injectCssTransitionDisabler as ts,createDropdown as _0x494f39,ListView as te,ListItemView as _0x356764,ButtonView as _0x54e464,MenuBarMenuView as _0x3e0367,MenuBarMenuListView as _0x3a5844,MenuBarMenuListItemView as _0x532c63,MenuBarMenuListItemButtonView as _0x4d00ea,ContextualBalloon as _0x38c295,ToolbarSeparatorView as _0x4372b2,IconView as _0x361848,addListToDropdown as _0x372348,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 _0x3fbfc5}from'luxon';class a extends _0x24ad1e(){['setName'](_0x2ef637){this['_update']({'name':_0x2ef637});}['setAttribute'](_0xcfe65f,_0x4f399d){const _0x1b281f=_0x49c5d8(this['attributes']);_0x26ecd1(_0x1b281f,_0xcfe65f,_0x4f399d),this['_update']({'attributes':_0x1b281f});}['removeAttribute'](_0x593436){const _0x2e7f9d=_0x49c5d8(this['attributes']);_0x29ece0(_0x2e7f9d,_0x593436),this['_update']({'attributes':_0x2e7f9d});}['_update'](_0x2a7c72,_0x1b686d=!0x1){let _0x4cc816=!0x1;const _0x5d6e3={'id':this['id']},_0x2fafab=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x4c48aa of _0x2fafab){const _0x313e44=_0x2a7c72[_0x4c48aa];void 0x0!==_0x313e44&&_0x313e44!==this[_0x4c48aa]&&(this[_0x4c48aa]=_0x313e44,_0x5d6e3[_0x4c48aa]=_0x313e44,_0x4cc816=!0x0);}_0x4cc816&&(_0x5d6e3['authors']&&(_0x5d6e3['authorsIds']=_0x5d6e3['authors']['map'](_0x44d15c=>_0x44d15c['id']),delete _0x5d6e3['authors']),this['fire']('_update',_0x5d6e3,_0x1b686d));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x5b3788=>_0x5b3788['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x39f1a8){super(),this['id']=_0x39f1a8['id']||_0x3ac1f9(),this['creator']=_0x39f1a8['creator']||null,this['authors']=_0x39f1a8['authors']||[],this['diffData']=_0x39f1a8['diffData']||null,this['toVersion']=_0x39f1a8['toVersion']||0x0,this['fromVersion']=_0x39f1a8['fromVersion']||0x0,this['set']('name',_0x39f1a8['name']||''),this['set']('createdAt',_0x39f1a8['createdAt']||new Date()),this['set']('attributes',_0x39f1a8['attributes']||{});}}class A extends _0x51b9c7{static get['requires'](){return[_0x2726a5];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x3ea822){function _0x414d87(_0x256793,_0x3d1c6a,_0x211988){const _0x4920c3={};_0x4920c3[_0x29d55e([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4920c3[_0x29d55e([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],_0x4920c3[_0x29d55e([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],_0x4920c3[_0x29d55e([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],_0x4920c3[_0x29d55e([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],_0x4920c3[_0x29d55e([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],_0x4920c3[_0x29d55e([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],_0x4920c3[_0x29d55e([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],_0x4920c3[_0x29d55e([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],_0x4920c3[_0x29d55e([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],_0x4920c3[_0x29d55e([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 _0x1d4f12=new Uint8Array(0x10);for(let _0x442946=0xf;_0x442946>=0x0;--_0x442946)_0x1d4f12[_0x442946]=_0x211988%0x100,_0x211988=parseInt(_0x211988/0x100);let _0x2d04fc=null,_0x455643=0x10;const _0x537b07=new Uint8Array(_0x3d1c6a),_0x5dc593=[],_0x2bd81e=[];_0x4a56f7();for(let _0x3eda95=0x0;_0x3eda95<_0x256793[_0x29d55e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3eda95++)0x10===_0x455643&&(_0x2d04fc=_0x4a2f65(_0x1d4f12),_0x455643=0x0,_0x44e9c4(_0x1d4f12)),_0x256793[_0x3eda95]^=_0x2d04fc[_0x455643++];return _0x256793;function _0x4ac75f(_0x402d2c){const _0x13e8a8=[];for(let _0x4644db=0x0;_0x4644db<_0x402d2c[_0x29d55e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4644db+=0x4)_0x13e8a8[_0x29d55e([0x70,0x75,0x73,0x68])](_0x402d2c[_0x4644db]<<0x18|_0x402d2c[_0x4644db+0x1]<<0x10|_0x402d2c[_0x4644db+0x2]<<0x8|_0x402d2c[_0x4644db+0x3]);return _0x13e8a8;}function _0x44e9c4(_0x30a4c5){for(let _0x32587a=0xf;_0x32587a>=0x0;_0x32587a--){if(0xff!==_0x30a4c5[_0x32587a]){_0x30a4c5[_0x32587a]++;break;}_0x30a4c5[_0x32587a]=0x0;}}function _0x4a2f65(_0x40efde){const _0x54e69b=_0x5dc593[_0x29d55e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2972c9=[0x0,0x0,0x0,0x0];let t=_0x4ac75f(_0x40efde);for(let _0x172483=0x0;_0x172483<0x4;_0x172483++)t[_0x172483]^=_0x5dc593[0x0][_0x172483];for(let _0xe2a433=0x1;_0xe2a433<_0x54e69b;_0xe2a433++){for(let _0x21efab=0x0;_0x21efab<0x4;_0x21efab++)_0x2972c9[_0x21efab]=_0x4920c3[_0x29d55e([0x54,0x31])][t[_0x21efab]>>0x18&0xff]^_0x4920c3[_0x29d55e([0x54,0x32])][t[(_0x21efab+0x1)%0x4]>>0x10&0xff]^_0x4920c3[_0x29d55e([0x54,0x33])][t[(_0x21efab+0x2)%0x4]>>0x8&0xff]^_0x4920c3[_0x29d55e([0x54,0x34])][0xff&t[(_0x21efab+0x3)%0x4]]^_0x5dc593[_0xe2a433][_0x21efab];t=_0x2972c9[_0x29d55e([0x73,0x6c,0x69,0x63,0x65])]();}const _0x335fba=new Uint8Array(0x10);let _0x53e6d7;for(let _0x2397fe=0x0;_0x2397fe<0x4;_0x2397fe++)_0x53e6d7=_0x5dc593[_0x54e69b][_0x2397fe],_0x335fba[0x4*_0x2397fe]=0xff&(_0x4920c3[_0x29d55e([0x53])][t[_0x2397fe]>>0x18&0xff]^_0x53e6d7>>0x18),_0x335fba[0x4*_0x2397fe+0x1]=0xff&(_0x4920c3[_0x29d55e([0x53])][t[(_0x2397fe+0x1)%0x4]>>0x10&0xff]^_0x53e6d7>>0x10),_0x335fba[0x4*_0x2397fe+0x2]=0xff&(_0x4920c3[_0x29d55e([0x53])][t[(_0x2397fe+0x2)%0x4]>>0x8&0xff]^_0x53e6d7>>0x8),_0x335fba[0x4*_0x2397fe+0x3]=0xff&(_0x4920c3[_0x29d55e([0x53])][0xff&t[(_0x2397fe+0x3)%0x4]]^_0x53e6d7);return _0x335fba;}function _0x4a56f7(){const _0x25dbd4=_0x4920c3[_0x29d55e([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x537b07[_0x29d55e([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x3a2a86=0x0;_0x3a2a86<=_0x25dbd4;_0x3a2a86++)_0x5dc593[_0x29d55e([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2bd81e[_0x29d55e([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5c33ba=0x4*(_0x25dbd4+0x1),_0x53880d=_0x537b07[_0x29d55e([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4ed2a6=_0x4ac75f(_0x537b07);let _0x789439;for(let _0x57dfb3=0x0;_0x57dfb3<_0x53880d;_0x57dfb3++)_0x789439=_0x57dfb3>>0x2,_0x5dc593[_0x789439][_0x57dfb3%0x4]=_0x4ed2a6[_0x57dfb3],_0x2bd81e[_0x25dbd4-_0x789439][_0x57dfb3%0x4]=_0x4ed2a6[_0x57dfb3];let _0x186179,_0x4711dd=0x0,t=_0x53880d;for(;t<_0x5c33ba;){_0x186179=_0x4ed2a6[_0x53880d-0x1],_0x4ed2a6[0x0]^=_0x4920c3[_0x29d55e([0x53])][_0x186179>>0x10&0xff]<<0x18^_0x4920c3[_0x29d55e([0x53])][_0x186179>>0x8&0xff]<<0x10^_0x4920c3[_0x29d55e([0x53])][0xff&_0x186179]<<0x8^_0x4920c3[_0x29d55e([0x53])][_0x186179>>0x18&0xff]^_0x4920c3[_0x29d55e([0x72,0x63,0x6f,0x6e])][_0x4711dd]<<0x18,_0x4711dd+=0x1;for(let _0x268b63=0x1;_0x268b63<_0x53880d/0x2;_0x268b63++)_0x4ed2a6[_0x268b63]^=_0x4ed2a6[_0x268b63-0x1];_0x186179=_0x4ed2a6[_0x53880d/0x2-0x1],_0x4ed2a6[_0x53880d/0x2]^=_0x4920c3[_0x29d55e([0x53])][0xff&_0x186179]^_0x4920c3[_0x29d55e([0x53])][_0x186179>>0x8&0xff]<<0x8^_0x4920c3[_0x29d55e([0x53])][_0x186179>>0x10&0xff]<<0x10^_0x4920c3[_0x29d55e([0x53])][_0x186179>>0x18&0xff]<<0x18;for(let _0x3d7bed=_0x53880d/0x2+0x1;_0x3d7bed<_0x53880d;_0x3d7bed++)_0x4ed2a6[_0x3d7bed]^=_0x4ed2a6[_0x3d7bed-0x1];let _0x4b4811,_0x23786d,_0x5ef548=0x0;for(;_0x5ef548<_0x53880d&&t<_0x5c33ba;)_0x4b4811=t>>0x2,_0x23786d=t%0x4,_0x5dc593[_0x4b4811][_0x23786d]=_0x4ed2a6[_0x5ef548],_0x2bd81e[_0x25dbd4-_0x4b4811][_0x23786d]=_0x4ed2a6[_0x5ef548++],t++;}for(let _0x48c06=0x1;_0x48c06<_0x25dbd4;_0x48c06++)for(let _0x517be4=0x0;_0x517be4<0x4;_0x517be4++)_0x186179=_0x2bd81e[_0x48c06][_0x517be4],_0x2bd81e[_0x48c06][_0x517be4]=_0x4920c3[_0x29d55e([0x55,0x31])][_0x186179>>0x18&0xff]^_0x4920c3[_0x29d55e([0x55,0x32])][_0x186179>>0x10&0xff]^_0x4920c3[_0x29d55e([0x55,0x33])][_0x186179>>0x8&0xff]^_0x4920c3[_0x29d55e([0x55,0x34])][0xff&_0x186179];}}function _0x29d55e(_0x103fa6){return _0x103fa6['map'](_0x11d8c5=>String['fromCharCode'](_0x11d8c5))['join']('');}(_0x37b43c=>{function _0x6a937(){const _0x50780d=[{[_0x29d55e([0x69,0x64])]:0x1,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x29d55e([0x69,0x64])]:0x2,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([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]),[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x29d55e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x29d55e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x29d55e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x29d55e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x29d55e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x29d55e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x29d55e([0x69,0x64])]:0x3,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x29d55e([0x69,0x64])]:0x4,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([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]),[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x29d55e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x29d55e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x29d55e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x29d55e([0x69,0x64])]:0x5,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([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]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x29d55e([0x66,0x67,0x69])]:[0xc]}},{[_0x29d55e([0x69,0x64])]:0x6,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x29d55e([0x66,0x67,0x69])]:[0xc]}},{[_0x29d55e([0x69,0x64])]:0x7,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x29d55e([0x66,0x67,0x69])]:[0xc]}},{[_0x29d55e([0x69,0x64])]:0x8,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([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]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x29d55e([0x66,0x67,0x69])]:[0xc]}},{[_0x29d55e([0x69,0x64])]:0x9,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x29d55e([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x29d55e([0x69,0x64])]:0xa,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([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]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([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]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([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]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x29d55e([0x66,0x67,0x69])]:[0xc]}},{[_0x29d55e([0x69,0x64])]:0xb,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x29d55e([0x69,0x64])]:0xc,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x29d55e([0x69,0x64])]:0xd,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x29d55e([0x66,0x67,0x69])]:[0xc]}},{[_0x29d55e([0x69,0x64])]:0xe,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x29d55e([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([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])},{[_0x29d55e([0x69,0x64])]:0xf,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x29d55e([0x69,0x64])]:0x10,[_0x29d55e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x29d55e([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x29d55e([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x29d55e([0x66,0x67,0x69])]:[0xc]}}];return _0x791b23(_0x50780d),_0x50780d;function _0x595e92(_0x55b549){return 0x1<<_0x55b549-0x1;}function _0x791b23(_0x131d20){_0x131d20[_0x29d55e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e73c1=>{_0x1e73c1[_0x29d55e([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x595e92(_0x1e73c1[_0x29d55e([0x69,0x64])]),_0x31dfa5(_0x1e73c1)&&_0x1e73c1[_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x791b23(_0x1e73c1[_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x31dfa5(_0x4ce253){return _0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4ce253;}const _0x17b5fe=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5e0809=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x35cd3e(_0x577e19){const _0x412dbc=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4cb34c(_0x577e19,new Uint8Array([..._0x17b5fe,..._0x412dbc,..._0x5e0809]));}function _0x4cb34c(_0x4f234c,_0x527fb0){const _0x3b13de=_0x55d810(_0x4f234c),_0x511ffb=Array[_0x29d55e([0x66,0x72,0x6f,0x6d])](_0x30e9e9(_0x3b13de)),_0x5642ae=_0x511ffb[_0x29d55e([0x70,0x6f,0x70])](),_0x27cbe1=_0x511ffb[_0x29d55e([0x70,0x6f,0x70])]();return _0x534a1f(_0x414d87(_0x511ffb,_0x527fb0,_0x27cbe1+0x100*_0x5642ae));}function _0x55d810(_0x28a7e6){const _0x44fdb3=atob(_0x28a7e6),[_0x1c785c,_0x258b26]=_0x44fdb3[_0x29d55e([0x73,0x70,0x6c,0x69,0x74])](_0x29d55e([0x2d]));try{if(atob(_0x258b26))return atob(_0x1c785c);}catch(_0x1b5d2c){}return _0x44fdb3;}function _0x3f35fa(_0x358193){try{const _0x130485=_0x35cd3e(_0x358193),_0x35c033=JSON[_0x29d55e([0x70,0x61,0x72,0x73,0x65])](_0x130485),_0x50fc3b=parseInt(_0x35c033[_0x29d55e([0x31])]),_0x1811e2=_0x35c033[_0x29d55e([0x32])]||'',_0x887643=parseInt(_0x35c033[_0x29d55e([0x33])]),_0x4554dc=parseInt(_0x35c033[_0x29d55e([0x34])])||0x0,_0xe5f5e5=parseInt(_0x35c033[_0x29d55e([0x35])])||0x0;return{[_0x29d55e([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1811e2,[_0x29d55e([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4554dc,[_0x29d55e([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x50fc3b,[_0x29d55e([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x887643,[_0x29d55e([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xe5f5e5};}catch(_0x1f622f){return null;}}const _0xe96edd=_0x6a937(),_0x32f53f={[_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4c131d,[_0x29d55e([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])]:_0x45260c,[_0x29d55e([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])]:_0x3fd8a0},_0x71a3a9=_0x37b43c[_0x29d55e([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x237c27=_0x29d55e([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x37b43c?_0x37b43c['context']:_0x37b43c['editor'],_0x1bcc34=_0x29d55e([0x34,0x30,0x34,0x38,0x31,0x30,0x33,0x34]),_0x21ad26=_0x29d55e([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]),_0xb77977=_0x237c27['config']['get'](_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x3ad6f4=_0xe96edd[_0x29d55e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x31dfa5)[_0x29d55e([0x66,0x69,0x6e,0x64])](_0x597ed6=>_0x597ed6[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x71a3a9);function _0xca0cd6(_0x8b92f0,_0x5c66b2){_0x32f53f[_0x5c66b2[_0x29d55e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x8b92f0,_0x5c66b2),_0x5c66b2[_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5c66b2[_0x29d55e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x29d55e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d91ba=>_0x220a9b(_0x237c27,_0x3d91ba[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x29d55e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2d6682=>_0xca0cd6(_0x8b92f0,_0x2d6682));}function _0x4c131d(_0x568db5,_0x2ee7b8){_0x466943(_0x2ddeef(_0x568db5,_0x2ee7b8),_0x2ee7b8);}function _0x45260c(_0x780a7c,_0x3aecb3){function _0x34803a(_0x19dcf9,_0x42ae60){try{if(_0x220a9b(_0x237c27,_0x29d55e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x19dcf9){const _0x34f84e=_0x4364b8(_0x237c27,_0x29d55e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x29d55e([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x34f84e)/0x2>_0x19dcf9[_0x29d55e([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x5171d8(_0x42ae60[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2ddeef(_0x19dcf9,_0x42ae60);}catch(_0x424ec6){return _0x5171d8(_0x42ae60[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x466943(_0x34803a(_0x780a7c,_0x3aecb3),_0x3aecb3);}function _0x3fd8a0(_0x23d315,_0x2606f2){const _0x1b14aa=_0x5e0809[0x0]*_0x17b5fe[0x1],_0x332ae3=_0x5e0809[0x0]*_0x17b5fe[0x2],_0x60e529=_0x5e0809[0x2]*_0x17b5fe[0x2];_0x220a9b(_0x237c27,_0x29d55e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4364b8(_0x237c27,_0x29d55e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x29d55e([0x73,0x74,0x61,0x74,0x65])]==_0x29d55e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x464dd5()]=_0x60e529);function _0x38ae67(_0x32fc9b,_0x3f426f){try{return _0x5dedf9()?_0x5171d8(_0x3f426f[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x56,0x61,0x6c,0x69,0x64])):_0x2ddeef(_0x32fc9b,_0x3f426f);}catch(_0x1a49f0){return _0x5171d8(_0x3f426f[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x57e549(_0x2c19f1,_0x3fdfd0){const _0x357680=0x7;if(_0x2c19f1==_0x3fdfd0[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x2324ee();else{if(_0x2c19f1==_0x3fdfd0[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x54,0x72,0x69,0x61,0x6c])){const _0xa0ffb7=_0x45e3b4();_0xa0ffb7&&_0x16e40f(_0xa0ffb7,_0x3fdfd0[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x59bf7a=_0x401d64();window[_0x29d55e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x16e40f(_0x29d55e([0x74,0x69,0x6d,0x65]),_0x3fdfd0[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x59bf7a);const _0x1712b7=_0x4364b8(_0x237c27,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x29d55e([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1712b7[_0x29d55e([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x357680?_0x16e40f(_0x29d55e([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3fdfd0[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1712b7['on'](_0x29d55e([0x61,0x64,0x64]),()=>{_0x1712b7[_0x29d55e([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x357680&&_0x16e40f(_0x29d55e([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x3fdfd0[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x45e3b4(){if(!_0x220a9b(_0x237c27,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3bc2dc in window)if(Number['isNaN'](Number(_0x3bc2dc))){if(window[_0x3bc2dc]===_0x1b14aa)return _0x29d55e([0x74,0x69,0x6d,0x65]);if(window[_0x3bc2dc]===_0x332ae3)return _0x29d55e([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5dedf9(){if(!_0x220a9b(_0x237c27,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3fffb1 in window)if(Number['isNaN'](Number(_0x3fffb1))&&window[_0x3fffb1]===_0x60e529)return!0x0;return!0x1;}function _0x16e40f(_0x416c70,_0x49d7a3){_0x2324ee(),_0x5171d8(_0x49d7a3+_0x29d55e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x416c70),window[_0x464dd5()]=_0x416c70===_0x29d55e([0x74,0x69,0x6d,0x65])?_0x1b14aa:_0x332ae3;}function _0x401d64(){let _0x464b8f=_0x5e0809[0x6]*_0x17b5fe[0x8]*_0x17b5fe[0x6];return _0x220a9b(_0x237c27,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x464b8f/=0xa),_0x464b8f;}function _0x2324ee(){const _0xcf883e=_0x237c27;function _0x5979fb(){_0x220a9b(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x4364b8(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x29d55e([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x29d55e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4364b8(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x29d55e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4364b8(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x29d55e([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x11228e,_0x4364b8(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x29d55e([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x11228e,_0xcf883e[_0x29d55e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29d55e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x11228e,_0xcf883e[_0x29d55e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29d55e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x11228e,_0xcf883e[_0x29d55e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29d55e([0x6d,0x6f,0x64,0x65,0x6c]))),_0x220a9b(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4364b8(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x29d55e([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x29d55e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x4364b8(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x29d55e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x4364b8(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x29d55e([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x11228e,_0x4364b8(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x29d55e([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x11228e);}_0xcf883e[_0x29d55e([0x73,0x74,0x61,0x74,0x65])]==_0x29d55e([0x72,0x65,0x61,0x64,0x79])?_0x5979fb():_0xcf883e[_0x29d55e([0x6f,0x6e,0x63,0x65])](_0x29d55e([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x220a9b(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5979fb(),_0x220a9b(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x473406=_0x4364b8(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2ea5e6=_0x473406['getRevision'](0x0),_0xdd9def=_0x473406['getEarlierVisibleRevision'](_0x2ea5e6[_0x29d55e([0x69,0x64])]);_0x4364b8(_0xcf883e,_0x29d55e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x29d55e([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2ea5e6[_0x29d55e([0x69,0x64])],_0xdd9def?_0xdd9def[_0x29d55e([0x69,0x64])]:null,0x1)['then'](()=>_0x5979fb());}});}_0x57e549(_0x38ae67(_0x23d315,_0x2606f2),_0x2606f2);}function _0x2ddeef(_0x1b957d,_0x54ca99){try{return _0x5ec3d8(_0x54ca99)?_0x5171d8(_0x54ca99[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x56,0x61,0x6c,0x69,0x64])):_0x1b957d&&_0x3d5481(_0x1b957d[_0x29d55e([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x54ca99)?_0x1b957d[_0x29d55e([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x29d55e([0x6f,0x70,0x65,0x6e])][_0x29d55e([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1bcc34)/0x2>_0x1b957d[_0x29d55e([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x5171d8(_0x54ca99[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x1b957d[_0x29d55e([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x5171d8(_0x54ca99[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x54,0x72,0x69,0x61,0x6c])):_0x5171d8(_0x54ca99[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x56,0x61,0x6c,0x69,0x64])):_0x5171d8(_0x54ca99[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x3c0335){return _0x5171d8(_0x54ca99[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x466943(_0xdc3435,_0x595513){if(_0x237c27 instanceof _0x2119e1){const _0x3ceeed=_0x237c27;_0xdc3435==_0x595513[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x50cce6(_0x3ceeed):_0xdc3435==_0x595513[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x54,0x72,0x69,0x61,0x6c])&&window[_0x29d55e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x50cce6(_0x3ceeed),_0x5171d8(_0x595513[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5e0809[0x6]*_0x17b5fe[0x8]*_0x17b5fe[0x6]),_0x3ceeed[_0x29d55e([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x29d55e([0x6f,0x6e])](_0x29d55e([0x61,0x64,0x64]),(_0x1fe567,_0x416f2b)=>{_0xdc3435!=_0x595513[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0xdc3435!=_0x595513[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0xdc3435!=_0x595513[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x83a944(_0x416f2b);});}else{const _0x262574=_0x237c27;_0xdc3435==_0x595513[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x83a944(_0x262574):_0xdc3435==_0x595513[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x54,0x72,0x69,0x61,0x6c])&&_0x262574[_0x29d55e([0x6f,0x6e])](_0x29d55e([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x2d9c02=0x0;_0x262574[_0x29d55e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29d55e([0x6f,0x6e])](_0x29d55e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d8c29,_0x3dcff1)=>{_0x3dcff1[0x0][_0x29d55e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2d9c02++,0x1f8===_0x2d9c02&&(_0x83a944(_0x262574),_0x5171d8(_0x595513[_0x29d55e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x29d55e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x5d8c29[_0x29d55e([0x6f,0x66,0x66])]());},{'priority':_0x29d55e([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x5171d8(_0x81ca13){const _0xca4ef4=_0x464dd5();return _0x237c27[_0xca4ef4]=_0x81ca13,_0x81ca13;}function _0x464dd5(){const _0x543311=String(window[_0x29d55e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x29d55e([0x6e,0x6f,0x77])]())[_0x29d55e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x29d55e([0x2e]),'');let _0x1e69a0='';for(let _0x104fbc=0x0;_0x104fbc<_0x543311[_0x29d55e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x104fbc+=0x2){let _0x57ef73=parseInt(_0x543311[_0x29d55e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x104fbc,_0x104fbc+0x2));_0x57ef73>=_0x21ad26[_0x29d55e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x57ef73-=_0x21ad26[_0x29d55e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1e69a0+=_0x21ad26[_0x57ef73];}return _0x1e69a0;}function _0x50cce6(_0x3856b1){for(const _0x3352d5 of _0x3856b1[_0x29d55e([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x83a944(_0x3352d5);_0x4364b8(_0x3856b1,_0x29d55e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x29d55e([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x4364b8(_0x3856b1,_0x29d55e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x29d55e([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x11228e;}function _0x83a944(_0x213938){function _0x4a613a(){_0x213938[_0x29d55e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29d55e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x11228e,_0x213938[_0x29d55e([0x6d,0x6f,0x64,0x65,0x6c])][_0x29d55e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x11228e,_0x213938[_0x29d55e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x29d55e([0x6d,0x6f,0x64,0x65,0x6c]));}_0x213938[_0x29d55e([0x73,0x74,0x61,0x74,0x65])]==_0x29d55e([0x72,0x65,0x61,0x64,0x79])?_0x4a613a():_0x213938[_0x29d55e([0x6f,0x6e,0x63,0x65])](_0x29d55e([0x72,0x65,0x61,0x64,0x79]),()=>_0x4a613a());}function _0x11228e(){return null;}function _0x3d5481(_0x4e64f6,_0x31abbc){const _0x757f64=!!(_0x4e64f6&_0x31abbc[_0x29d55e([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0xbd7527=_0x2e8ee2(_0x4e64f6,_0x31abbc);return _0x757f64||_0xbd7527;}function _0x2e8ee2(_0x25e444,_0x5e3629){const _0x80b268=(_0x5e3629[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x29d55e([0x66,0x67,0x69])]||null;return!!_0x80b268&&_0xe96edd[_0x29d55e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1eb6e3=>_0x80b268[_0x29d55e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1eb6e3[_0x29d55e([0x69,0x64])]))[_0x29d55e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x80e126=>!_0x85d29f(_0x80e126))[_0x29d55e([0x73,0x6f,0x6d,0x65])](_0x107c4e=>!!(_0x25e444&_0x107c4e[_0x29d55e([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x85d29f(_0x186be8){const _0x575ffa={[_0x29d55e([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])]:_0x2058fb};return!!_0x186be8['forbiddenHandler']&&_0x575ffa[_0x186be8['forbiddenHandler']]();}function _0x2058fb(){return!window[_0x29d55e([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x220a9b(_0x237c27,_0x29d55e([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5ec3d8(_0x474e59){if(!_0x220a9b(_0x237c27,_0x474e59[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x1363fd=_0x474e59[_0x29d55e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x1ee849=_0x1363fd[_0x29d55e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4ead6c=_0x1363fd[_0x29d55e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0xd66621=_0x1363fd[_0x29d55e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x220a9b(_0x237c27,_0x29d55e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x4364b8(_0x237c27,_0x29d55e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x29d55e([0x73,0x74,0x61,0x74,0x65])]==_0x29d55e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x1ee849)return!0x0;if(_0x220a9b(_0x237c27,_0x29d55e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x4364b8(_0x237c27,_0x29d55e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x29d55e([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x29d55e([0x65,0x6e,0x64])&&_0x4ead6c)return!0x0;return!(!_0x220a9b(_0x237c27,_0x29d55e([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]))||_0x4364b8(_0x237c27,_0x29d55e([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]))[_0x29d55e([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x29d55e([0x65,0x6e,0x64])||!_0xd66621);}function _0x220a9b(_0x430801,_0x11a91f){return _0x430801[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x29d55e([0x68,0x61,0x73])](_0x11a91f);}function _0x4364b8(_0xe36232,_0x35f5d1){return _0xe36232[_0x29d55e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x29d55e([0x67,0x65,0x74])](_0x35f5d1);}function _0x534a1f(_0xc8b9f5){let _0x2eca11='';for(const _0x3072e9 of _0xc8b9f5)_0x2eca11+=String[_0x29d55e([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x3072e9);return _0x2eca11;}function _0x30e9e9(_0xa50cc7){const _0x571331=new Uint8Array(_0xa50cc7[_0x29d55e([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x28ff7a=0x0;_0x28ff7a<_0xa50cc7[_0x29d55e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x28ff7a++)_0x571331[_0x28ff7a]=_0xa50cc7[_0x29d55e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x28ff7a);return _0x571331;}_0x3ad6f4&&_0xca0cd6(_0x3f35fa(_0xb77977),_0x3ad6f4);})(_0x3ea822);}(this);}['createRevision'](_0x29428b){const _0x4dfdf9=this['editor']['plugins']['get']('Users');return new a({'id':_0x29428b['id'],'name':_0x29428b['name'],'creator':_0x29428b['creatorId']?_0x4dfdf9['getUser'](_0x29428b['creatorId']):null,'diffData':_0x29428b['diffData']||_0x29428b['data'],'authors':_0x29428b['authorsIds']['map'](_0x58be85=>_0x4dfdf9['getUser'](_0x58be85)),'createdAt':new Date(_0x29428b['createdAt']),'attributes':_0x29428b['attributes'],'fromVersion':_0x29428b['fromVersion'],'toVersion':_0x29428b['toVersion']});}['addRevision'](_0x1cef0a,_0x22da81=0x0){this['_revisions']['add'](_0x1cef0a,_0x22da81);}['getRevision'](_0xd7781a){return this['_revisions']['get'](_0xd7781a);}['getRevisions'](_0x3b65db={'toJSON':!0x1}){const _0x5e9c5c=Array['from'](this['_revisions']);return _0x5e9c5c['reverse'](),_0x3b65db['toJSON']?_0x5e9c5c['map'](_0x47df8d=>_0x47df8d['toJSON']()):_0x5e9c5c;}['getIndex'](_0x36b72c){return this['_revisions']['getIndex'](_0x36b72c);}['getEarlierVisibleRevision'](_0x1322c3){const [,_0x24a9eb]=this['getRevisionsIterator'](_0x1322c3,{'direction':'earlier'});return _0x24a9eb;}['getLaterVisibleRevision'](_0x4693e2){const [,_0x50446b]=this['getRevisionsIterator'](_0x4693e2,{'direction':'later'});return _0x50446b;}['getRevisionsInDiff'](_0xf4537c){const _0x5d9498=[];for(const _0xa9ec2 of this['getRevisionsIterator'](_0xf4537c['newRevisionId']))if(_0x5d9498['push'](_0xa9ec2),_0xa9ec2['id']===_0xf4537c['oldRevisionId'])break;return _0x5d9498;}*['getRevisionsIterator'](_0xca2a80,{direction:_0x3498ec='earlier',filter:_0x5d7905=_0x379a12=>!0x0}={}){const _0x5e8112='earlier'===_0x3498ec?0x1:-0x1;let _0x2e959b=this['_revisions']['get'](_0xca2a80),_0x3b23bc=this['getIndex'](_0x2e959b);for(yield _0x2e959b;_0x2e959b;){if(_0x3b23bc+=_0x5e8112,_0x2e959b=this['getRevision'](_0x3b23bc),!_0x2e959b)return;_0x5d7905(_0x2e959b)&&(yield _0x2e959b);}}constructor(_0x1347ec){super(_0x1347ec),this['_revisions']=new _0x2e5c77();}}function y(_0x25ce0f,_0x2d7bc3,_0x5e4b84){const t=_0x25ce0f['t'];switch(_0x2d7bc3){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'},_0x5e4b84);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5e4b84);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x33cd17,'a':_0x5de45e,'e':_0x4ab119,'r':_0x33ddf5,'u':_0x1b7f2d};class l extends _0x51b9c7{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2726a5,A,_0x48b1b4];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0x2a47ee=this['repository']['getRevision'](0x0),_0x28b783=_0x2a47ee&&null===_0x2a47ee['creator']?_0x2a47ee:null;if(this['_continueCurrentRevision']=!!_0x28b783&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x209812=this['_source']['getCurrentRevisionId'](),_0x215201=this['repository']['getRevision'](_0x209812);if(_0x215201)this['_startingVersion']=_0x215201['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x275db4=this['_source']['history']['_operations']['find'](_0x232324=>!_0x232324['_isInit']),_0x18662e=_0x275db4?_0x275db4['baseVersion']:this['_source']['history']['version'];_0x2a47ee?(_0x2a47ee['toVersion']<_0x18662e&&_0x2a47ee['_update']({'toVersion':_0x18662e}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x28b783['id'],this['_startingVersion']=_0x28b783['fromVersion']):(this['_startingVersion']=_0x2a47ee['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x18662e,this['_continueCurrentRevision']=!0x1);}}else _0x28b783&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x28b783['toVersion'],this['editor']['model']['document']['history']['version']),_0x28b783['fromVersion']===_0x28b783['toVersion']?(0x0!==_0x28b783['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x28b783['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x28b783['id'],this['_startingVersion']=_0x28b783['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',_0x30c99e=>!_0x30c99e);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x1c9083=this['repository']['getRevision'](0x0),_0x114e3c=await this['getRevisionDocumentData'](_0x1c9083),_0x1efcad=await this['getRevisionRootsAttributes'](_0x1c9083);this['_replaceEditorDataWithRevisionData'](_0x114e3c,_0x1efcad);}}['setSource'](_0x4f34ec){this['_source']=_0x4f34ec;}async['update'](){const _0x15d945=await this['_source']['getLatestVersion']();if(_0x15d945>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2f0bcd=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x15d945});_0x2f0bcd['authors']=_0x2f0bcd['authorsIds']['map'](_0x53b6ad=>this['editor']['plugins']['get']('Users')['getUser'](_0x53b6ad)),this['currentRevision']['_update'](_0x2f0bcd);}}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'](_0x28d6b4={},_0xe43f9a=null){const _0x1e9e20=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0xe43f9a>this['currentRevision']['toVersion']&&(_0xe43f9a=null),null===_0xe43f9a&&(_0xe43f9a=await this['_source']['getLatestVersion']());const _0x282f19=this['_getFromVersion'](_0xe43f9a),_0x1eedb7=this['buildRevisionData']({'from':_0x282f19,'to':_0xe43f9a});if(this['currentRevision']['toVersion']<_0xe43f9a){const _0x52557c=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0xe43f9a,'to':_0xe43f9a});_0x52557c['authors']=[],_0x52557c['authorsIds']=[],_0x52557c['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x52557c,!0x0),delete _0x52557c['authors'],_0x1e9e20['push'](_0x52557c);}_0x28d6b4['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x28d6b4['name']=_0x28d6b4['name']||null,_0x28d6b4['id']=_0x28d6b4['id']||_0x3ac1f9(),_0x28d6b4={..._0x28d6b4,..._0x1eedb7};const _0x3375cc=this['addRevisionData'](_0x28d6b4);_0x1e9e20['push'](_0x28d6b4);const _0x5c6509=this['repository']['getIndex'](_0x3375cc);if(0x0!==_0x5c6509){const _0x337220=this['repository']['getRevision'](_0x5c6509-0x1);if(_0x337220['fromVersion']!==_0xe43f9a){const _0x58b436=this['_revisionDataBuilder']['getData'](_0xe43f9a,_0x337220['toVersion']),_0x2579e5={'id':_0x337220['id'],'diffData':_0x58b436['diffData'],'authorsIds':_0x58b436['authorsIds'],'authors':_0x58b436['authorsIds']['map'](_0x5450ab=>this['editor']['plugins']['get']('Users')['getUser'](_0x5450ab)),'fromVersion':_0xe43f9a};_0x337220===this['currentRevision']&&(_0x2579e5['createdAt']=new Date(_0x28d6b4['createdAt']['getTime']()+0xa)),_0x337220['_update'](_0x2579e5,!0x0),delete _0x2579e5['authors'],_0x1e9e20['push'](_0x2579e5);}}if(this['adapter']){for(const _0xf61a85 of _0x1e9e20)this['_bufferUpdate'](_0xf61a85['id'],_0xf61a85,!0x0);this['sendBufferedUpdates']();}return _0x3375cc;}['addRevisionData'](_0xc8511d){const _0x44c1c7=this['repository']['createRevision'](_0xc8511d);return this['adapter']&&_0x44c1c7['on']('_update',(_0x7fed9b,_0x33472c,_0x42094f)=>{_0x42094f||(this['_bufferUpdate'](_0x33472c['id'],_0x33472c,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x44c1c7,this['_findInsertionIndex'](_0x44c1c7)),_0x44c1c7;}async['getRevisionDocumentData'](_0x1b614d){await this['_loadRevisionData'](_0x1b614d);const _0x595c3a={};for(const _0xcc75a in _0x1b614d['diffData']){if(_0x1b614d['diffData'][_0xcc75a]['attachChange']&&!_0x1b614d['diffData'][_0xcc75a]['attachChange']['isAttached'])continue;const _0x37fdce=this['_removeRevisionMarkers'](JSON['parse'](_0x1b614d['diffData'][_0xcc75a]['insertions'])),_0x1be651=this['editor']['editing']['view']['document'],_0x505dd5=new _0x577e08(_0x1be651,_0x37fdce['map'](_0x501eee=>B(_0x501eee,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x595c3a[_0xcc75a]=this['editor']['data']['processor']['toData'](_0x505dd5),this['editor']['data']['processor']['useFillerType']('default');}return _0x595c3a;}async['getRevisionRootsAttributes'](_0x5db43f){await this['_loadRevisionData'](_0x5db43f);const _0x387a12={};for(const _0x4bb57c in _0x5db43f['diffData'])_0x5db43f['diffData'][_0x4bb57c]['attachChange']&&!_0x5db43f['diffData'][_0x4bb57c]['attachChange']['isAttached']||(_0x387a12[_0x4bb57c]=_0x5db43f['diffData'][_0x4bb57c]['attributesAfter']||{});return _0x387a12;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4be291=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x25e90c=0x0;_0x25e90c<_0x4be291['length'];_0x25e90c++){const _0x2e6764=_0x4be291[_0x25e90c];let _0x314a55=!0x1;for(const _0x158a8a of Object['keys'](_0x2e6764))void 0x0===_0x2e6764[_0x158a8a]?delete _0x2e6764[_0x158a8a]:'id'!==_0x158a8a&&(_0x314a55=!0x0);_0x314a55||(_0x4be291[_0x25e90c]=null);}if(_0x4be291=_0x4be291['filter'](_0x4ed0da=>null!==_0x4ed0da),!_0x4be291['length'])return;for(let _0x2663d5=0x0;_0x2663d5<_0x4be291['length'];_0x2663d5++){const _0x561a18=_0x4be291[_0x2663d5];void 0x0!==_0x561a18['fromVersion']&&void 0x0===_0x561a18['toVersion']&&(_0x561a18['toVersion']=this['repository']['getRevision'](_0x561a18['id'])['toVersion']),void 0x0!==_0x561a18['toVersion']&&void 0x0===_0x561a18['fromVersion']&&(_0x561a18['fromVersion']=this['repository']['getRevision'](_0x561a18['id'])['fromVersion']);}const _0x189b5b=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4be291,_0x189b5b)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x2478f9=>{if(_0x2478f9){for(const _0x37a0b1 of _0x2478f9)this['setRevisionData']({'id':_0x37a0b1['id'],'createdAt':_0x37a0b1['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x21d39b,_0x3ce73c){let _0x78e02a=this['editor']['config']['get']('initialData'),_0x4df4f8=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x78e02a){_0x78e02a={};for(const _0xa58ffa of this['editor']['model']['document']['getRootNames']())_0x78e02a[_0xa58ffa]='';}if('string'==typeof _0x78e02a&&(_0x78e02a={'main':_0x78e02a}),void 0x0===_0x4df4f8){_0x4df4f8={};for(const _0x41c172 of this['editor']['model']['document']['getRootNames']())_0x4df4f8[_0x41c172]={};}let _0x1ac77a=!0x1;const _0x2e9b5b=Object['keys'](_0x78e02a),_0x53d029=Object['keys'](_0x21d39b);for(const _0x224bea of _0x2e9b5b){if(_0x78e02a[_0x224bea]!==_0x21d39b[_0x224bea]&&''!==_0x78e02a[_0x224bea]['trim']()){_0x1ac77a=!0x0;break;}if(!_0x4f16a3(_0x4df4f8[_0x224bea],_0x3ce73c[_0x224bea])&&Object['keys'](_0x4df4f8[_0x224bea])['length']>0x0){_0x1ac77a=!0x0;break;}}_0x1ac77a||(_0x1ac77a=_0x53d029['some'](_0xd7b0a2=>!this['editor']['model']['document']['getRoot'](_0xd7b0a2))),_0x1ac77a&&_0x1d551d('editor-initial-data-replaced-with-revision-data',{'editorData':_0x78e02a,'editorRootsAttributes':_0x4df4f8,'revisionData':_0x21d39b,'revisionRootsAttributes':_0x3ce73c}),this['editor']['config']['set']('initialData',_0x21d39b),this['editor']['config']['set']('rootsAttributes',_0x3ce73c);}['_addPendingAction'](){if(!this['_pendingAction']){const _0xb953f9=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0xb953f9['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x4e9b64){const _0x5304fe=this['repository']['getRevisions']();_0x5304fe['reverse']();let _0x3a8565=0x0;for(;_0x3a8565<_0x5304fe['length'];){const _0x599c90=_0x5304fe[_0x3a8565];if(_0x599c90===this['currentRevision']){_0x3a8565++;continue;}if(_0x599c90['id']===this['_initialRevisionId'])break;const _0x52e312=_0x4e9b64['toVersion']-_0x599c90['toVersion']||_0x4e9b64['fromVersion']-_0x599c90['fromVersion'];if(_0x52e312>0x0)break;if(_0x52e312<0x0)_0x3a8565++;else{if(!_0x4e9b64['creator']&&_0x599c90['creator'])break;if(_0x599c90['creator']||!_0x4e9b64['creator']){if(_0x4e9b64['createdAt']>_0x599c90['createdAt'])break;_0x3a8565++;}else _0x3a8565++;}}return _0x3a8565;}['setRevisionData'](_0x5d550f){const _0x35c4f1=this['repository']['getRevision'](_0x5d550f['id']);if(_0x5d550f['createdAt']&&(_0x5d550f['createdAt']=new Date(_0x5d550f['createdAt'])),_0x5d550f['authorsIds']){const _0x21995b=this['editor']['plugins']['get']('Users');_0x5d550f['authors']=_0x5d550f['authorsIds']['map'](_0x2562eb=>_0x21995b['getUser'](_0x2562eb));}_0x35c4f1['_update'](_0x5d550f,!0x0);}['buildRevisionData']({revision:_0x4401ba=null,from:_0x453f14=null,to:_0x5937a8=null}){_0x453f14=null!==_0x453f14?_0x453f14:_0x4401ba['fromVersion'],_0x5937a8=null!==_0x5937a8?_0x5937a8:_0x4401ba['toVersion'];const _0xd17b4a=this['_revisionDataBuilder']['getData'](_0x453f14,_0x5937a8),_0x243ab9={'diffData':_0xd17b4a['diffData'],'authorsIds':_0xd17b4a['authorsIds'],'fromVersion':_0x453f14,'toVersion':_0x5937a8};if(!_0x4401ba||_0x5937a8!==_0x4401ba['toVersion']){const _0x39f85d=_0x5937a8-0x1,_0x4966b8=this['_source']['history']['getOperation'](_0x39f85d);_0x243ab9['createdAt']=_0x4966b8&&_0x4966b8['createdAt']||new Date();}if(this['_loadedStateData']&&_0x453f14===this['_loadedStateData']['fromVersion']){for(const _0x4708f9 of this['_loadedStateData']['authors'])_0x243ab9['authorsIds']['includes'](_0x4708f9['id'])||_0x243ab9['authorsIds']['push'](_0x4708f9['id']);}return _0x243ab9;}['_loadRevisionData'](_0x3accb7){if(!_0x3accb7||_0x3accb7['diffData'])return Promise['resolve']();{const _0x94c76c=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x94c76c,'revisionId':_0x3accb7['id']})['then'](_0x14214b=>{_0x3accb7['diffData']=_0x14214b['diffData'];});}}['_bufferUpdate'](_0x469bbe,_0x2c3ffd,_0x1eb720){if(this['_bufferedUpdates']['has'](_0x469bbe)){const _0x3539c8=this['_bufferedUpdates']['get'](_0x469bbe);_0x2c3ffd=_0x1eb720?{..._0x3539c8,..._0x2c3ffd}:{..._0x2c3ffd,..._0x3539c8};}this['_bufferedUpdates']['set'](_0x469bbe,_0x2c3ffd);}['_getFromVersion'](_0x42de3e){const _0x265196=this['repository']['getRevisions']();_0x265196['reverse'](),_0x265196['shift']();const _0x11e952=_0x265196['find'](_0x5627c5=>_0x5627c5['toVersion']<=_0x42de3e)['toVersion'];return _0x11e952<this['_startingVersion']?this['_startingVersion']:_0x11e952;}['_createInitialRevision'](_0x32ab94){const _0x51c17d=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x51c17d)this['_initialRevisionId']=_0x51c17d['id'];else{const _0x56d212=!this['editor']['model']['document']['roots']['find'](_0x3d8261=>this['editor']['model']['hasContent'](_0x3d8261)),_0x4254cc=this['editor']['plugins']['get']('Users')['me']['id'],_0x3fda39=y(this['editor']['locale'],_0x56d212?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x32ab94,'to':_0x32ab94,'id':this['_initialRevisionId'],'name':_0x3fda39,'creatorId':_0x4254cc});}}['_createCurrentRevision'](_0x106f97){const _0x3f99b8=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3f99b8),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x106f97,'to':_0x106f97,'id':_0x3f99b8,'name':'','creatorId':null}));}['_makeRevision']({name:_0x161528,from:_0x7e2354,to:_0x11ab1e,creatorId:_0x90f8fc,id:_0x314ace}){const _0x44e7a1=this['buildRevisionData']({'from':_0x7e2354,'to':_0x11ab1e});_0x44e7a1['name']=_0x161528,_0x44e7a1['creatorId']=_0x90f8fc,_0x44e7a1['id']=_0x314ace;const _0x3106e4=this['addRevisionData'](_0x44e7a1);return this['adapter']&&this['_bufferUpdate'](_0x44e7a1['id'],_0x44e7a1,!0x0),_0x3106e4;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2d0bbf){return(_0x2d0bbf=_0x2d0bbf['filter'](_0xf53fb1=>!_0xf53fb1['name']||'revision-start'!==_0xf53fb1['name']&&'revision-end'!==_0xf53fb1['name']))['forEach'](_0x17834c=>{'string'!=typeof _0x17834c&&(_0x17834c['children']=this['_removeRevisionMarkers'](_0x17834c['children']),_0x17834c['attributes']=_0x17834c['attributes']['filter'](_0x354b5e=>!_0x354b5e[0x0]['startsWith']('data-revision-')));}),_0x2d0bbf;}constructor(_0x836651){super(_0x836651),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 _0x2cf394=_0x3ac1f9();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x2cf394},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'});}}function B(_0x467835,_0x7395ee){const _0x37b8e4=_0x7395ee['editing']['view']['document'];if('string'==typeof _0x467835)return new _0x21f25b(_0x37b8e4,_0x467835);{const _0x1be28b=_0x467835['children']['map'](_0x39a609=>B(_0x39a609,_0x7395ee));return new(T[_0x467835['type']]||_0x17f75d)(_0x37b8e4,_0x467835['name'],_0x467835['attributes'],_0x1be28b);}}class J{['init'](_0x4d2f82){this['source']=_0x4d2f82;const _0x45f2b0=new Map(),_0x2be804=new Map(),_0xbc0fdc=this['editor']['model']['document']['roots']['map'](_0x472fba=>_0x472fba['rootName']);for(const _0x40f90c of _0xbc0fdc){const _0x13d38f=this['editor']['model']['document']['getRoot'](_0x40f90c),_0x59b657=q(_0x13d38f);_0x45f2b0['set'](_0x40f90c,_0x59b657),_0x2be804['set'](_0x40f90c,Object['fromEntries'](_0x13d38f['getAttributes']()));}const _0x148806=Array['from'](this['editor']['model']['markers'])['map'](_0xaed480=>[_0xaed480['name'],_0xaed480['getRange']()]),_0x318d49=this['source']['version'];this['_saveMetaData'](_0x318d49,_0x45f2b0,_0x148806,_0x2be804),this['_startingRevisionId']=this['_revisionId'];const _0xd6131e=new Map(),_0x1ca022=new Map();for(const _0x460038 of _0xbc0fdc){const _0x18b434=G(_0x460038);_0xd6131e['set'](_0x460038,_0x18b434),_0x1ca022['set'](_0x460038,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xd6131e,[],_0x1ca022);}['getData'](_0x11338d,_0x1828ca){if(this['_lastFrom']===_0x11338d&&this['_lastTo']<=_0x1828ca)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1828ca,!0x0);else{if(!this['_savedMetaData']['has'](_0x11338d)){const _0x4293a1=this['_getPreviousFrom'](_0x11338d);this['_calculateMetaData'](_0x4293a1,_0x11338d,!0x1);}this['_calculateMetaData'](_0x11338d,_0x1828ca,!0x0);}return this['_lastFrom']=_0x11338d,this['_lastTo']=_0x1828ca,this['_getState']();}['loadState'](_0x9cbbce){this['_reset'](),this['_lastFrom']=_0x9cbbce['fromVersion'],this['_lastTo']=_0x9cbbce['toVersion'];for(const _0x399ec5 in _0x9cbbce['diffData']){const _0x4e5e79=_0x9cbbce['diffData'][_0x399ec5]['attachChange'],_0xb02228=_0x49c5d8(_0x9cbbce['diffData'][_0x399ec5]['attributesBefore'])||{},_0x532593=this['_makeModelFromViewString'](_0x9cbbce['diffData'][_0x399ec5]['deletions']);_0x532593['rootName']=_0x399ec5,_0x532593['_isAttached']=!_0x4e5e79||!_0x4e5e79['isAttached'],_0x532593['isAttached']=()=>_0x532593['_isAttached'],this['_baseRoots']['set'](_0x399ec5,_0x532593),this['_baseRootsAttributes']['set'](_0x399ec5,_0xb02228),_0x4e5e79&&this['_touchedRoots']['set'](_0x399ec5,_0x4e5e79);const _0xfd5f42=this['_makeIdsRoot'](_0x532593);this['_baseIdsRoots']['set'](_0x399ec5,_0xfd5f42);for(const [_0x1b3bcf,_0x4e1bb2]of _0x532593['markers']){if(!_0x1b3bcf['startsWith']('revision:'))continue;const _0x112723=_0x1b3bcf['split'](':')[0x2];for(const _0x484fd6 of _0x4e1bb2['getWalker']({'singleCharacters':!0x0})){const _0x425e49=this['_getVidAttributeName'](_0x484fd6),_0xcb7959='elementEnd'==_0x484fd6['type']?_0x484fd6['previousPosition']['path']['slice'](0x0,-0x1):_0x484fd6['previousPosition']['path'],_0x2d2357=_0xfd5f42['getNodeByPath'](_0xcb7959)['getAttribute'](_0x425e49);this['_touched']['set'](_0x2d2357,{'userId':_0x112723});}}}this['_startingRevisionId']=this['_revisionId'];const _0x474ab0=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x439511=>!this['_touched']['has'](_0x439511));let _0x24c13d=0x0;const _0x58e4e3=new Map();for(const _0x5cbeda in _0x9cbbce['diffData']){const _0xcece54=_0x9cbbce['diffData'][_0x5cbeda]['attachChange'],_0x3a3ed3=_0x49c5d8(_0x9cbbce['diffData'][_0x5cbeda]['attributesAfter'])||{},_0x233fc6=this['_makeModelFromViewString'](_0x9cbbce['diffData'][_0x5cbeda]['insertions']);_0x233fc6['rootName']=_0x5cbeda,_0x233fc6['_isAttached']=!_0xcece54||_0xcece54['isAttached'],_0x233fc6['isAttached']=()=>_0x233fc6['_isAttached'],this['_diffRoots']['set'](_0x5cbeda,_0x233fc6),this['_diffRootsAttributes']['set'](_0x5cbeda,_0x3a3ed3);const _0x2e205b=this['_makeIdsRoot'](_0x233fc6,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5cbeda,_0x2e205b),_0x58e4e3['set'](_0x5cbeda,_0x233fc6['isAttached']()?_0x3a3ed3:{});for(const [_0x59fba9,_0x366386]of _0x233fc6['markers']){if(!_0x59fba9['startsWith']('revision:'))continue;const _0x8dea1c=_0x59fba9['split'](':')[0x2];for(const _0x5d0720 of _0x366386['getWalker']({'singleCharacters':!0x0})){const _0x684b55=this['_getVidAttributeName'](_0x5d0720),_0x56327f=this['_revisionId']++,_0x228aac='elementEnd'==_0x5d0720['type']?_0x5d0720['previousPosition']['path']['slice'](0x0,-0x1):_0x5d0720['previousPosition']['path'];_0x2e205b['getNodeByPath'](_0x228aac)['_setAttribute'](_0x684b55,_0x56327f),this['_touched']['set'](_0x56327f,{'userId':_0x8dea1c});}}for(const _0x5ae28f of this['editor']['model']['createRangeIn'](_0x233fc6)['getWalker']({'singleCharacters':!0x0})){const _0x3de51d=this['_getVidAttributeName'](_0x5ae28f),_0xc42bd9='elementEnd'==_0x5ae28f['type']?_0x5ae28f['previousPosition']['path']['slice'](0x0,-0x1):_0x5ae28f['previousPosition']['path'],_0x145077=_0x2e205b['getNodeByPath'](_0xc42bd9);_0x145077['getAttribute'](_0x3de51d)>0x0||_0x145077['_setAttribute'](_0x3de51d,_0x474ab0[_0x24c13d++]);}for(const [_0x5615a7,_0x49cee2]of _0x233fc6['markers'])_0x5615a7['startsWith']('revision:')||this['_markers']['set'](_0x5615a7,_0x49cee2);}const _0x50ce20=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x50ce20),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x50ce20,0x1));const _0x2a0253=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2a0253),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2a0253,0x1));const _0x1722f4=Array['from'](this['_diffRoots'])['map'](([_0x55e69c,_0xc8fc65])=>[_0x55e69c,q(_0xc8fc65)]);this['_saveMetaData'](this['_lastTo'],_0x1722f4,this['_markers'],_0x58e4e3);}['_makeModelFromViewString'](_0x1c46f7){const _0x343406=JSON['parse'](_0x1c46f7),_0x4f9795=this['editor']['editing']['view']['document'],_0x4e64fe=new _0x577e08(_0x4f9795,_0x343406['map'](_0x3c22ca=>B(_0x3c22ca,this['editor'])));return this['editor']['data']['toModel'](_0x4e64fe);}['_saveMetaData'](_0x186811,_0x5ab391,_0x177e7e,_0x2b60e6){const _0x279cbe=new Map(_0x5ab391),_0x3d501a=new Map(_0x49c5d8(_0x2b60e6)),_0x5a3b8e=new Map();for(const [_0xd2af9c,_0x20fffe]of _0x177e7e)_0x5a3b8e['set'](_0xd2af9c,{'start':_0x20fffe['start']['clone'](),'end':_0x20fffe['end']['clone'](),'rootName':_0x20fffe['root']['rootName']});this['_savedMetaData']['set'](_0x186811,{'roots':_0x279cbe,'markers':_0x5a3b8e,'rootsAttributes':_0x3d501a});}['_removeMetaData'](_0x4989d4){this['_savedMetaData']['delete'](_0x4989d4);}['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'](_0x25f349,_0x210e60=null){let _0x50fd80=null;_0x25f349['is']('documentFragment')||(_0x50fd80=new ft(_0x25f349['name'],{'vid_start':null===_0x210e60?this['_revisionId']++:_0x210e60++}));const _0x379c94=[];for(const _0x3d75e8 of _0x25f349['getChildren']())if(_0x3d75e8['is']('element')){_0x379c94['push'](this['_makeIdsRoot'](_0x3d75e8,_0x210e60));const _0x511f2e=_0x379c94[_0x379c94['length']-0x1];null!==_0x210e60&&(_0x210e60=_0x511f2e['is']('element','$text')?_0x511f2e['getAttribute']('vid')+0x1:_0x511f2e['getAttribute']('vid_end')+0x1);}else{for(let _0x14d07b=0x0;_0x14d07b<_0x3d75e8['offsetSize'];_0x14d07b++)_0x379c94['push'](new ft('$text',{'vid':null===_0x210e60?this['_revisionId']++:_0x210e60++}));}if(_0x25f349['is']('documentFragment')){const _0x2ca124=G(_0x25f349['rootName']);return _0x2ca124['_insertChild'](0x0,_0x379c94),_0x2ca124;}return _0x50fd80['_setAttribute']('vid_end',null===_0x210e60?this['_revisionId']++:_0x210e60++),_0x50fd80['_insertChild'](0x0,_0x379c94),_0x50fd80;}['_calculateMetaData'](_0xd89055,_0x499341,_0x4393ae){this['_reset']();const {roots:_0x1d365f,markers:_0x4e57cb,rootsAttributes:_0xd6da62}=this['_savedMetaData']['get'](_0xd89055);this['_baseRoots']=new Map(_0x1d365f),this['_baseRootsAttributes']=new Map(_0x49c5d8(_0xd6da62));for(const [_0x5b5215,_0x55fa02]of this['_baseRoots'])if('$graveyard'!==_0x5b5215&&(this['_diffRoots']['set'](_0x5b5215,q(_0x55fa02)),this['_diffRootsAttributes']=new Map(_0x49c5d8(_0xd6da62)),_0x4393ae)){const _0x3aedc6=this['_revisionId'];this['_idsRoots']['set'](_0x5b5215,this['_makeIdsRoot'](_0x55fa02)),this['_baseIdsRoots']['set'](_0x5b5215,this['_makeIdsRoot'](_0x55fa02,_0x3aedc6));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x4393ae&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x202810,_0x4dabb2]of _0x4e57cb){const _0x7fd00=this['_baseRoots']['get'](_0x4dabb2['rootName']),_0x8905ab=this['_diffRoots']['get'](_0x4dabb2['rootName']),_0x271bf0=new gt(this['_fixPosition'](_0x4dabb2['start'],_0x7fd00),this['_fixPosition'](_0x4dabb2['end'],_0x7fd00)),_0x4db910=this['_fixRange'](_0x271bf0,_0x8905ab);_0x7fd00['markers']['set'](_0x202810,_0x271bf0),this['_markers']['set'](_0x202810,_0x4db910);}this['_applyOperations'](_0xd89055,_0x499341,_0x4393ae);}['_applyOperations'](_0x10dd4b,_0x6714ac,_0x19c6ca){for(const _0x19d24d of this['source']['getOperations'](_0x10dd4b,_0x6714ac))this['_handleOperation'](_0x19d24d,_0x19c6ca);for(const _0x4ae94f of this['_diffRoots']['values']())_0x4ae94f['markers']['clear']();for(const [_0x3ab3f0,_0x849629]of this['_markers']){this['_diffRoots']['get'](_0x849629['root']['rootName'])['markers']['set'](_0x3ab3f0,_0x849629['clone']());}const _0x588fd6=new Map(),_0x29da7a=new Map();for(const [_0x1c257b,_0x35eb1a]of this['_diffRoots'])_0x588fd6['set'](_0x1c257b,q(_0x35eb1a)),_0x29da7a['set'](_0x1c257b,this['_diffRootsAttributes']['get'](_0x1c257b));this['_saveMetaData'](_0x6714ac,_0x588fd6,this['_markers'],_0x29da7a);}['_getPreviousFrom'](_0x296434){const _0x4f9b4e=Array['from'](this['_savedMetaData']['keys']());_0x4f9b4e['sort']((_0x21bafc,_0xfc6fb7)=>_0x21bafc-_0xfc6fb7),_0x4f9b4e['reverse']();for(const _0x3a8f4c of _0x4f9b4e)if(_0x3a8f4c<_0x296434)return _0x3a8f4c;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x11ac32,_0x2109a7){const _0x4a8d41=Array['from'](_0x2109a7['markers'])['map'](([_0x4a8378,_0xf3529c])=>[_0x4a8378,this['_fixRange'](_0xf3529c,_0x11ac32)]);_0x11ac32['markers']=new Map(_0x4a8d41);}['_transformMarkers'](_0x5b7290){for(const _0x1550c4 of this['_markers']['values']()){const _0x27fbc4=_0x1550c4['getTransformedByOperation'](_0x5b7290),_0x317acb=gt['_createFromRanges'](_0x27fbc4);_0x1550c4['start']=_0x317acb['start'],_0x1550c4['end']=_0x317acb['end'];}}['_handleOperation'](_0x1d3a2a,_0x41f5f9){if('addRoot'==_0x1d3a2a['type']||'detachRoot'==_0x1d3a2a['type'])return void this['_handleRootOperation'](_0x1d3a2a,_0x41f5f9);if('insert'==_0x1d3a2a['type']){const _0x127f28=_0x1d3a2a['position']['root']['rootName'];this['_diffRoots']['has'](_0x127f28)||(this['_diffRoots']['set'](_0x127f28,G(_0x127f28,!0x0)),this['_diffRootsAttributes']['set'](_0x127f28,{}),_0x41f5f9&&this['_idsRoots']['set'](_0x127f28,G(_0x127f28,!0x0)));}else{if('addRootAttribute'==_0x1d3a2a['type']||'removeRootAttribute'==_0x1d3a2a['type']||'changeRootAttribute'==_0x1d3a2a['type'])return void this['_handleRootAttributeOperation'](_0x1d3a2a);}const _0x3cd759=this['_cloneOperation'](_0x1d3a2a,this['_diffRoots']);if('marker'!==_0x1d3a2a['type']&&(_0x3cd759['_execute'](),this['_transformMarkers'](_0x3cd759)),_0x41f5f9)switch(_0x3cd759['type']){case'insert':this['_handleInsertOperation'](_0x1d3a2a);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x1d3a2a);break;case'merge':this['_handleMergeOperation'](_0x1d3a2a);break;case'split':this['_handleSplitOperation'](_0x1d3a2a);break;case'marker':this['_handleMarkerOperation'](_0x1d3a2a);}}['_cloneOperation'](_0x48adb7,_0xf0c7ce){const _0x2ca5e8=_0x48adb7['clone']();return _0x2ca5e8['_authorId']=_0x48adb7['_authorId'],this['_fixOperation'](_0x2ca5e8,_0xf0c7ce),_0x2ca5e8;}['_getBaseVids'](_0xf0d10c){return _0xf0d10c['map'](_0x1e2eb3=>{const _0x2a1060=this['_getVidAttributeName'](_0x1e2eb3);return Number(_0x1e2eb3['item']['getAttribute'](_0x2a1060));});}['_generateTape'](_0x46ea21,_0x7aaa14){if(_0x46ea21['is']('element','$text'))_0x7aaa14['push']({'item':_0x46ea21,'type':'text'});else{_0x46ea21['is']('element')&&_0x7aaa14['push']({'item':_0x46ea21,'type':'elementStart'});for(const _0x5bcd0a of _0x46ea21['getChildren']())this['_generateTape'](_0x5bcd0a,_0x7aaa14);_0x46ea21['is']('element')&&_0x7aaa14['push']({'item':_0x46ea21,'type':'elementEnd'});}return _0x7aaa14;}['_getState'](){const _0x22671d=new Map(this['_touched']),_0x548981=new Map(_0x22671d),_0x58c8c4=new Map(),_0x2c9e49={'insertions':{},'deletions':{}},_0x478006={'insertions':{},'deletions':{}},_0x19f3e6=new Map(),_0x5f5354=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5f5354['delete']('$graveyard');for(const _0x3e9b42 of _0x5f5354){const _0x4298a0=this['_diffRoots']['get'](_0x3e9b42)||G(_0x3e9b42,!0x1),_0x3f44c7=this['_baseRoots']['get'](_0x3e9b42)||G(_0x3e9b42,!0x1);_0x4298a0['isAttached']()||_0x3f44c7['isAttached']()?(_0x2c9e49['insertions'][_0x3e9b42]=q(_0x4298a0),_0x2c9e49['deletions'][_0x3e9b42]=q(_0x3f44c7),this['_copyMarkers'](_0x2c9e49['deletions'][_0x3e9b42],_0x3f44c7),this['_copyMarkers'](_0x2c9e49['insertions'][_0x3e9b42],_0x4298a0),_0x478006['insertions'][_0x3e9b42]=this['_generateTape'](this['_idsRoots']['get'](_0x3e9b42),[]),_0x478006['deletions'][_0x3e9b42]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3e9b42)||G(_0x3e9b42,!0x1),[])):_0x5f5354['delete'](_0x3e9b42);}for(const _0x3e4158 of _0x5f5354){const _0x4d2127=_0x478006['insertions'][_0x3e4158];for(const _0x2618a7 of _0x4d2127){const _0x49c327=this['_getVidAttributeName'](_0x2618a7),_0x390204=_0x2618a7['item']['getAttribute'](_0x49c327);_0x548981['delete'](_0x390204),_0x390204>=this['_startingRevisionId']&&_0x58c8c4['set'](_0x390204,_0x22671d['get'](_0x390204));}}for(const _0x583e49 of _0x5f5354){const _0x758a5a=_0x478006['insertions'][_0x583e49],_0x3cbcf3=this['_getBaseVids'](_0x478006['deletions'][_0x583e49]);let _0x30c66b=0x0;for(const _0x43ed2e of _0x758a5a){const _0x3df76d=this['_getVidAttributeName'](_0x43ed2e),_0x38a7b7=_0x43ed2e['item']['getAttribute'](_0x3df76d);if(!_0x58c8c4['has'](_0x38a7b7)&&!_0x19f3e6['has'](_0x38a7b7)){if(_0x548981['has'](_0x38a7b7))_0x30c66b++;else{if(_0x38a7b7!=_0x3cbcf3[_0x30c66b]){const _0x271f7b=_0x22671d['get'](_0x38a7b7)||_0x22671d['get'](_0x3cbcf3[_0x30c66b]);for(;_0x38a7b7!=_0x3cbcf3[_0x30c66b];)_0x548981['has'](_0x3cbcf3[_0x30c66b])||(_0x19f3e6['set'](_0x3cbcf3[_0x30c66b],_0x271f7b),_0x22671d['set'](_0x3cbcf3[_0x30c66b],_0x271f7b)),_0x30c66b++;}_0x30c66b++;}}}}for(const _0x41255c of _0x5f5354){const _0x58c1fa=_0x478006['insertions'][_0x41255c];for(const _0x3ab93e of _0x58c1fa){const _0xe424b9=this['_getVidAttributeName'](_0x3ab93e),_0x361358=_0x3ab93e['item']['getAttribute'](_0xe424b9);if(_0x19f3e6['has'](_0x361358)){const _0x40f9aa=_0x19f3e6['get'](_0x361358);_0x548981['has'](_0x361358)||_0x548981['set'](_0x361358,{..._0x40f9aa}),_0x58c8c4['set'](_0x361358,{..._0x40f9aa});}}}for(const _0x498df4 of _0x548981['keys']())_0x498df4>=this['_startingRevisionId']&&_0x548981['delete'](_0x498df4);const _0x23922b=new Map();for(const _0x570e47 of _0x5f5354){let _0x2f5302=_0x478006['insertions'][_0x570e47];for(const _0x1b3dff of _0x2f5302)if(_0x1b3dff['item']['is']('element','tableCell')){const _0x433e7b=this['_getVidAttributeName'](_0x1b3dff),_0x355f24=_0x1b3dff['item']['getAttribute'](_0x433e7b);if(_0x58c8c4['has'](_0x355f24)){const _0x28a43b=_0x1b3dff['item']['parent']['parent']['getAttribute']('vid_start'),_0x263f75=_0x23922b['get'](_0x28a43b)||new Set();_0x263f75['add'](_0x58c8c4['get'](_0x355f24)['userId']),_0x23922b['set'](_0x28a43b,_0x263f75);}}_0x2f5302=_0x478006['deletions'][_0x570e47];for(const _0x2200e7 of _0x2f5302)if(_0x2200e7['item']['is']('element','tableCell')){const _0x2477c5=this['_getVidAttributeName'](_0x2200e7),_0x3908f0=_0x2200e7['item']['getAttribute'](_0x2477c5);if(_0x548981['has'](_0x3908f0)){const _0x146272=_0x2200e7['item']['parent']['parent']['getAttribute']('vid_start'),_0x3e2031=_0x23922b['get'](_0x146272)||new Set();_0x3e2031['add'](_0x548981['get'](_0x3908f0)['userId']),_0x23922b['set'](_0x146272,_0x3e2031);}}for(const _0x1a2542 of _0x23922b['keys']())(_0x58c8c4['has'](_0x1a2542)||_0x548981['has'](_0x1a2542))&&_0x23922b['delete'](_0x1a2542);}for(const _0x570fc6 of _0x5f5354){const _0x23db9e=_0x478006['insertions'][_0x570fc6];let _0x51f9b3=null,_0x3570fc=null;for(const _0xa6559e of _0x23db9e){const _0x5458b3=this['_getVidAttributeName'](_0xa6559e),_0x54bc34=_0xa6559e['item']['getAttribute'](_0x5458b3),_0x47b84d=_0x23922b['get'](_0x54bc34);_0x47b84d&&'elementStart'==_0xa6559e['type']&&(_0x51f9b3=Array['from'](_0x47b84d)[0x0],_0x3570fc=_0xa6559e['item']['getAttribute']('vid_end')),_0x51f9b3&&(_0x548981['set'](_0x54bc34,{'userId':_0x51f9b3}),_0x58c8c4['set'](_0x54bc34,{'userId':_0x51f9b3})),_0x54bc34==_0x3570fc&&(_0x51f9b3=null,_0x3570fc=null);}}const _0x230e64={},_0x51c110=new Set();for(const _0x4cc870 of _0x5f5354){const _0xced73d=_0x2c9e49['deletions'][_0x4cc870],_0x5f3c65=_0x2c9e49['insertions'][_0x4cc870];for(const {userId:_0x478226}of this['_touchedMarkers']['values']())null!==_0x478226&&_0x51c110['add'](_0x478226);for(const {userId:_0x11cd75}of this['_touchedRoots']['values']())null!==_0x11cd75&&_0x51c110['add'](_0x11cd75);this['_markChanges'](_0x5f3c65,_0x478006['insertions'][_0x4cc870],_0x58c8c4,'insertion',_0x51c110),this['_markChanges'](_0xced73d,_0x478006['deletions'][_0x4cc870],_0x548981,'deletion',_0x51c110),_0x230e64[_0x4cc870]={'insertions':this['_prepareViewToSave'](_0x5f3c65),'deletions':this['_prepareViewToSave'](_0xced73d),'attachChange':this['_touchedRoots']['get'](_0x4cc870)||null,'attributesBefore':_0x49c5d8(this['_baseRootsAttributes']['get'](_0x4cc870))||{},'attributesAfter':_0x49c5d8(this['_diffRootsAttributes']['get'](_0x4cc870))};}return{'diffData':_0x230e64,'authorsIds':Array['from'](_0x51c110)};}['_processRootBeforeSave'](_0xb3cd2e){for(const [,_0x5dfeb6]of _0xb3cd2e['markers']){const _0x2c8bce=_0x5dfeb6['start']['getAncestors']()['filter'](_0x5b49e4=>'tableCell'==_0x5b49e4['name']);for(const _0x445dfe of _0x2c8bce)0x1==_0x445dfe['childCount']&&_0x445dfe['getChild'](0x0)['is']('element','paragraph')&&_0x445dfe['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0xc7ec15){this['_processRootBeforeSave'](_0xc7ec15);const _0x26a5a7=this['editor']['data']['toView'](_0xc7ec15,{}),_0x3cdb05=Array['from'](_0x26a5a7['getChildren']())['map'](_0x12836b=>this['_getViewJson'](_0x12836b));return JSON['stringify'](_0x3cdb05);}['_getViewJson'](_0x303cdf){if(_0x303cdf['is']('$text'))return _0x303cdf['data'];{const _0x5aa639=_0x303cdf;return{'type':Object['keys'](T)['find'](_0xb71e66=>_0x303cdf instanceof T[_0xb71e66]),'name':_0x5aa639['name'],'attributes':Array['from'](_0x5aa639['getAttributes']()),'children':Array['from'](_0x5aa639['getChildren']())['map'](_0x28c5f3=>this['_getViewJson'](_0x28c5f3))};}}['_markChanges'](_0x17297b,_0x45d0bb,_0x2670ab,_0x22e583,_0x5090ff){let _0x59cfa2=null,_0x4a81af=null,_0x1ea8ff=0x0;const _0x14a21f=this['editor']['model'];for(let _0x34e717=0x0;_0x34e717<_0x45d0bb['length'];_0x34e717++){const _0x18e94d=this['_getVidAttributeName'](_0x45d0bb[_0x34e717]),_0x279525=_0x45d0bb[_0x34e717]['item']['getAttribute'](_0x18e94d),_0x90be9b=_0x2670ab['get'](_0x279525),_0x5abba4=_0x34e717==_0x45d0bb['length']-0x1;(!_0x59cfa2&&_0x90be9b&&(_0x59cfa2=_0x90be9b,_0x4a81af=_0x45d0bb[_0x34e717]),_0x59cfa2&&(!_0x90be9b||_0x90be9b['userId']!=_0x59cfa2['userId']))&&(_0x23ed29(_0x90be9b,L(_0x4a81af,_0x17297b,_0x14a21f),L(_0x45d0bb[_0x34e717],_0x17297b,_0x14a21f)),_0x59cfa2=_0x90be9b||null,_0x4a81af=_0x90be9b?_0x45d0bb[_0x34e717]:null),_0x59cfa2&&_0x5abba4&&_0x23ed29(_0x90be9b,L(_0x4a81af,_0x17297b,_0x14a21f),W(_0x45d0bb[_0x34e717],_0x17297b,_0x14a21f));}function _0x23ed29(_0x516a81,_0x5f7c21,_0x12155e){const _0x3a856f=_0x59cfa2['userId'],_0x4492d9='revision:'+_0x22e583+':'+_0x3a856f+':'+_0x1ea8ff++,_0x1f8d4f=_0x14a21f['createRange'](_0x5f7c21,_0x12155e);_0x17297b['markers']['set'](_0x4492d9,_0x1f8d4f),null!==_0x3a856f&&_0x5090ff['add'](_0x3a856f);}}['_getVidAttributeName'](_0x27449f){switch(_0x27449f['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x53cf00,_0x20044c){_0x53cf00['baseVersion']=null;for(const _0x3fc52a in _0x53cf00){const _0x478310=_0x53cf00[_0x3fc52a];if(_0x478310 instanceof wt){const _0x4e0ea3=_0x20044c['get'](_0x478310['root']['rootName']);_0x53cf00[_0x3fc52a]=this['_fixPosition'](_0x478310,_0x4e0ea3);}if(_0x478310 instanceof gt){const _0x2ff3b1=_0x20044c['get'](_0x478310['root']['rootName']);_0x53cf00[_0x3fc52a]=this['_fixRange'](_0x478310,_0x2ff3b1);}'root'===_0x3fc52a&&(_0x53cf00['root']=_0x20044c['get'](_0x53cf00['root']['rootName']));}}['_fixRange'](_0x2514b5,_0x46f0d5){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2514b5['start'],_0x46f0d5),this['_fixPosition'](_0x2514b5['end'],_0x46f0d5));}['_fixPosition'](_0x5f51d9,_0x29c8e7){return this['editor']['model']['createPositionFromPath'](_0x29c8e7,_0x5f51d9['path'],_0x5f51d9['stickiness']);}['_handleInsertOperation'](_0x3fc999){const _0x26bb16=this['_idsRoots']['get'](_0x3fc999['position']['root']['rootName']),_0x5cb9d6=this['_fixPosition'](_0x3fc999['position'],_0x26bb16),_0x438f02=null===_0x3fc999['_authorId']?null:_0x3fc999['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x15af27=_0x5cb9d6['parent'],_0x547b6e=this['_revisionId'],_0xe1328e=[];for(const _0x51c9cd of _0x3fc999['nodes'])if(_0x51c9cd['is']('element'))_0xe1328e['push'](this['_makeIdsRoot'](_0x51c9cd));else{for(let _0x494257=0x0;_0x494257<_0x51c9cd['offsetSize'];_0x494257++)_0xe1328e['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1e8cc1=this['_revisionId'];for(let _0xcde879=_0x547b6e;_0xcde879<_0x1e8cc1;_0xcde879++)this['_touched']['set'](_0xcde879,{'userId':_0x438f02});_0x15af27['_insertChild'](_0x5cb9d6['offset'],_0xe1328e);}['_handleMoveOperation'](_0x1e413c){(_0x1e413c=this['_cloneOperation'](_0x1e413c,this['_idsRoots']))['_execute']();const _0x1fba9d=null===_0x1e413c['_authorId']?null:_0x1e413c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x35ed98=_0x1e413c['getMovedRangeStart'](),_0x3e96a0=_0x35ed98['parent'],_0x59bfb6=_0x35ed98['offset'];!function _0x57c681(_0x88c1d5,_0x1fcdd3,_0xc16a65,_0x30fed6){for(let _0x5edc37=_0xc16a65;_0x5edc37<_0x30fed6;_0x5edc37++){const _0x3ce122=_0x1fcdd3['getChild'](_0x5edc37);_0x3ce122['is']('element','$text')?_0x88c1d5['set'](_0x3ce122['getAttribute']('vid'),{'userId':_0x1fba9d}):(_0x88c1d5['set'](_0x3ce122['getAttribute']('vid_start'),{'userId':_0x1fba9d}),_0x57c681(_0x88c1d5,_0x3ce122,0x0,_0x3ce122['childCount']),_0x88c1d5['set'](_0x3ce122['getAttribute']('vid_end'),{'userId':_0x1fba9d}));}}(this['_touched'],_0x3e96a0,_0x59bfb6,_0x59bfb6+_0x1e413c['howMany']);}['_handleMergeOperation'](_0x538a91){const _0x11d458=null===(_0x538a91=this['_cloneOperation'](_0x538a91,this['_idsRoots']))['_authorId']?null:_0x538a91['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2813c9=_0x538a91['targetPosition']['parent'],_0x11a28d=_0x538a91['sourcePosition']['parent'],_0xd6b100=_0x2813c9['getAttribute']('vid_end'),_0x4c2a5b=_0x11a28d['getAttribute']('vid_start');_0x2813c9['_setAttribute']('vid_end',_0x11a28d['getAttribute']('vid_end')),_0x11a28d['_setAttribute']('vid_end',_0xd6b100),this['_touched']['set'](_0x4c2a5b,{'userId':_0x11d458}),this['_touched']['set'](_0xd6b100,{'userId':_0x11d458}),_0x538a91['_execute']();}['_handleSplitOperation'](_0x1a447b){const _0x1dba09=null===(_0x1a447b=this['_cloneOperation'](_0x1a447b,this['_idsRoots']))['_authorId']?null:_0x1a447b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x51a707=_0x1a447b['graveyardPosition'],_0x291c42=_0x1a447b['splitPosition']['parent'];_0x1a447b['_execute']();const _0x36b026=_0x291c42['getAttribute']('vid_end'),_0x4b9f97=_0x1a447b['insertionPosition']['nodeAfter'];if(_0x51a707){const _0x5968ca=_0x4b9f97['getAttribute']('vid_end'),_0x272b25=_0x291c42['getAttribute']('vid_end');_0x291c42['_setAttribute']('vid_end',_0x5968ca),_0x4b9f97['_setAttribute']('vid_end',_0x272b25),this['_touched']['set'](_0x291c42['getAttribute']('vid_end'),{'userId':_0x1dba09}),this['_touched']['set'](_0x4b9f97['getAttribute']('vid_start'),{'userId':_0x1dba09});}else{const _0x38826c=this['_revisionId']++,_0x2e15c2=this['_revisionId']++;_0x291c42['_setAttribute']('vid_end',_0x38826c),_0x4b9f97['_setAttribute']('vid_start',_0x2e15c2),_0x4b9f97['_setAttribute']('vid_end',_0x36b026),this['_touched']['set'](_0x38826c,{'userId':_0x1dba09}),this['_touched']['set'](_0x2e15c2,{'userId':_0x1dba09});}}['_handleMarkerOperation'](_0x9086a8){if(!_0x9086a8['affectsData'])return;const _0x1f88b3=(_0x9086a8=this['_cloneOperation'](_0x9086a8,this['_diffRoots']))['oldRange']?_0x9086a8['oldRange']['root']:null,_0x5265d3=_0x9086a8['newRange']?_0x9086a8['newRange']['root']:null;_0x1f88b3&&this['_markers']['delete'](_0x9086a8['name']),_0x5265d3&&this['_markers']['set'](_0x9086a8['name'],_0x9086a8['newRange']['clone']());const _0x14086f=null===_0x9086a8['_authorId']?null:_0x9086a8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3ff6f5=_0x9086a8['name'];if(!this['_touchedMarkers']['has'](_0x3ff6f5))return void this['_touchedMarkers']['set'](_0x3ff6f5,{'range':_0x9086a8['oldRange'],'userId':_0x14086f});const _0x4df7d2=this['_touchedMarkers']['get'](_0x3ff6f5),_0x1fe535=_0x4df7d2['range'],_0x4f83e5=_0x9086a8['newRange'];null==_0x1fe535&&null==_0x4f83e5||_0x1fe535&&_0x4f83e5&&_0x1fe535['isEqual'](_0x4f83e5)?this['_touchedMarkers']['delete'](_0x9086a8['name']):_0x4df7d2['userId']=_0x14086f;}['_handleRootOperation'](_0x5c6657,_0x199ff4){this['_diffRoots']['has'](_0x5c6657['rootName'])?this['_diffRoots']['get'](_0x5c6657['rootName'])['_isAttached']=_0x5c6657['isAdd']:(this['_diffRoots']['set'](_0x5c6657['rootName'],G(_0x5c6657['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5c6657['rootName'],{}),_0x199ff4&&this['_idsRoots']['set'](_0x5c6657['rootName'],G(_0x5c6657['rootName'],!0x0)));const _0x7b2f2=null===_0x5c6657['_authorId']?null:_0x5c6657['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4f53df=this['_touchedRoots']['get'](_0x5c6657['rootName']);_0x4f53df&&_0x4f53df['userId']===_0x7b2f2?this['_touchedRoots']['delete'](_0x5c6657['rootName']):this['_touchedRoots']['set'](_0x5c6657['rootName'],{'userId':_0x7b2f2,'isAttached':_0x5c6657['isAdd']});}['_handleRootAttributeOperation'](_0x44a8d5){const _0x5c0378=this['_diffRootsAttributes']['get'](_0x44a8d5['root']['rootName']);null===_0x44a8d5['newValue']?delete _0x5c0378[_0x44a8d5['key']]:_0x5c0378[_0x44a8d5['key']]=_0x44a8d5['newValue'];}constructor(_0x319c85){this['editor']=_0x319c85,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;}}function q(_0x4d88a9){const _0x56bdc8=G(_0x4d88a9['rootName'],_0x4d88a9['isAttached']());for(const _0x5c2a23 of _0x4d88a9['getChildren']()){const _0x282ef3=_0x5c2a23['_clone'](!0x0);_0x56bdc8['_appendChild'](_0x282ef3);}return _0x56bdc8;}function G(_0x577bf3,_0x258a3a=!0x0){const _0x5d403c=new _t();return _0x5d403c['rootName']=_0x577bf3,_0x5d403c['_isAttached']=_0x258a3a,_0x5d403c['isAttached']=()=>_0x5d403c['_isAttached'],_0x5d403c;}function L(_0x21e2d0,_0x2fe70b,_0x5e94bd){const _0x2f9f05='elementEnd'==_0x21e2d0['type']?_0x5e94bd['createPositionAt'](_0x21e2d0['item'],'end'):_0x5e94bd['createPositionBefore'](_0x21e2d0['item']);return _0x5e94bd['createPositionFromPath'](_0x2fe70b,_0x2f9f05['path'],_0x2f9f05['stickiness']);}function W(_0xcaa13a,_0x52c89b,_0x191702){const _0x2d0355='elementStart'==_0xcaa13a['type']?_0x191702['createPositionAt'](_0xcaa13a['item'],0x0):_0x191702['createPositionAfter'](_0xcaa13a['item']);return _0x191702['createPositionFromPath'](_0x52c89b,_0x2d0355['path'],_0x2d0355['stickiness']);}class ns extends _0xf6ee6f{['render'](){super['render'](),_0x580778({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x329154=_0x1935b2=>_0x1935b2['stopPropagation']();this['keystrokes']['set']('arrowright',_0x329154),this['keystrokes']['set']('arrowleft',_0x329154),this['keystrokes']['set']('arrowup',_0x329154),this['keystrokes']['set']('arrowdown',_0x329154);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x2a18e9){this['revisionNameInputView']['fieldView']['element']['value']=_0x2a18e9['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xa9efb9){const _0x4e78aa=new mt(this['locale'],_0x1ff45c),_0x80eafa=_0x4e78aa['fieldView'];_0x80eafa['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4a5317=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xa9efb9&&(_0x4a5317+='\x20('+y(this['locale'],'optional')+')'),(_0x4e78aa['label']=_0x4a5317,_0x80eafa['on']('input',()=>{this['revisionNameInputValue']=_0x80eafa['element']['value']['trim']();}),_0x4e78aa);}constructor(_0x4fe352,_0x4c9c24){super(_0x4fe352),this['focusTracker']=new _0x6ce694(),this['keystrokes']=new _0x7ef55c(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x4c9c24),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x51b9c7{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x3f0b0f=this['editor'],_0x10485c=_0x3f0b0f['plugins']['get']('RevisionTracker');_0x3f0b0f['ui']['componentFactory']['add']('revisionHistory',_0x43ff45=>{const _0x57d890=_0x494f39(_0x43ff45),_0x17c953=_0x57d890['panelView']['children'],_0xd4a714=new te(_0x43ff45),_0x266ce1=new _0x356764(_0x43ff45),_0x289c7f=new _0x54e464(_0x43ff45),_0x5416ff=new _0x356764(_0x43ff45),_0x2d89ae=new _0x54e464(_0x43ff45);return _0x57d890['bind']('isEnabled')['to'](_0x10485c,'isReady',_0x10485c,'isEnabled',_0x3f0b0f,'isReadOnly',(_0x186581,_0x42bdc2,_0x3a4d3c)=>_0x186581&&_0x42bdc2&&!_0x3a4d3c),_0x57d890['buttonView']['set']({'icon':_0x3f8e84['history'],'label':y(_0x43ff45,'Revision\x20history'),'tooltip':!0x0}),_0x289c7f['set']({'label':y(_0x43ff45,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x289c7f['bind']('isEnabled')['to'](_0x10485c,'isReady',_0x10485c,'isEnabled',_0x3f0b0f,'isReadOnly',(_0x3dd3c9,_0x3a29bc,_0x318d01)=>_0x3dd3c9&&_0x3a29bc&&!_0x318d01),_0x289c7f['on']('execute',()=>this['_showDialog']()),_0x2d89ae['set']({'label':y(_0x43ff45,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x2d89ae['bind']('isEnabled')['to'](_0x10485c,'isReady',_0x3f0b0f,'isReadOnly',(_0x138c58,_0x4c6bee)=>_0x138c58&&!_0x4c6bee),_0x2d89ae['on']('execute',()=>{_0x3f0b0f['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x57d890['isOpen']=!0x1,_0x3f0b0f['editing']['view']['focus']();}),_0x266ce1['children']['add'](_0x289c7f),_0x5416ff['children']['add'](_0x2d89ae),_0xd4a714['role']='menu',_0xd4a714['items']['addMany']([_0x266ce1,_0x5416ff]),_0x17c953['add'](_0xd4a714),_0x57d890;}),_0x3f0b0f['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x2d4277=this['editor'],_0x3509a7=_0x2d4277['locale'],_0x1642c0=new _0x3e0367(_0x3509a7),_0x43118a=new _0x3a5844(_0x3509a7);_0x1642c0['buttonView']['set']({'icon':_0x3f8e84['history'],'label':y(_0x3509a7,'Revision\x20history')});const _0x47e80b=new _0x532c63(_0x3509a7,_0x1642c0),_0x378d75=new _0x4d00ea(_0x3509a7);_0x378d75['set']({'label':y(_0x3509a7,'Save\x20current\x20revision')}),_0x378d75['delegate']('execute')['to'](_0x1642c0),_0x378d75['on']('execute',()=>{this['_showDialog']();}),_0x47e80b['children']['add'](_0x378d75),_0x43118a['items']['add'](_0x47e80b);const _0x649612=new _0x532c63(_0x3509a7,_0x1642c0),_0x197458=new _0x4d00ea(_0x3509a7);return _0x197458['set']({'label':y(_0x3509a7,'Open\x20revision\x20history')}),_0x197458['delegate']('execute')['to'](_0x1642c0),_0x197458['on']('execute',()=>{_0x2d4277['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x649612['children']['add'](_0x197458),_0x43118a['items']['add'](_0x649612),_0x1642c0['panelView']['children']['add'](_0x43118a),_0x1642c0;}['_showDialog'](){const _0x30e303=this['editor'],_0x187890=_0x30e303['locale'],t=_0x187890['t'],_0x17f7d0=_0x30e303['plugins']['get']('Dialog'),_0x3c80d7=_0x30e303['plugins']['get']('RevisionTracker');function _0x5b5a41(_0x181dc3){_0x30e303['config']['get']('revisionHistory.requireRevisionName')&&''===_0x181dc3['revisionName']?_0x181dc3['revisionNameInputView']['errorText']=y(_0x187890,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x30e303['plugins']['get'](l)['saveRevision']({'name':_0x181dc3['revisionName']}),_0x17f7d0['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5b5a41(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x17f7d0['show']({'id':'findAndReplace','title':y(_0x187890,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x17f7d0['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x19d8a2){_0x19d8a2['bind']('isEnabled')['to'](_0x3c80d7,'isReady',_0x3c80d7,'isEnabled',_0x30e303,'isReadOnly',(_0x3be335,_0x1e46ec,_0x3e001b)=>_0x3be335&&_0x1e46ec&&!_0x3e001b);},'onExecute':()=>_0x5b5a41(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x28f46b=this['editor'],_0x44d8bf=_0x28f46b['locale'];this['_saveRevisionFormView']=new ns(_0x44d8bf,_0x28f46b['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xf6ee6f{['focus'](){this['element']['focus']();}constructor(_0x576c01,_0x5d836a){super(_0x576c01),this['_model']=_0x5d836a,this['changeId']=_0x5d836a['id'];const _0x57a6a4=this['bindTemplate'],_0x58f60f=y(_0x576c01,_0x5d836a['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5d836a['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5d836a['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x57a6a4['to']('type',_0x3dcae0=>'ck-revision-change__'+_0x3dcae0)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x58f60f}]},{'text':'\x20'+_0x5d836a['author']['name']}]}]});}}class r extends _0x24ad1e(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x369214){super(),this['id']=_0x369214['id']||_0x3ac1f9(),this['author']=_0x369214['author'],this['type']=_0x369214['type'],this['data']=_0x369214['data']||{},this['rootName']=_0x369214['rootName'],this['set']('createdAt',_0x369214['createdAt']);}}class f{['_setChanges'](_0x4f11a8){for(const _0x494712 of _0x4f11a8)this['changes']['add'](_0x494712);}constructor(_0x25f5d1,_0x14cabe){this['newRevisionId']=_0x25f5d1,this['oldRevisionId']=_0x14cabe,this['changes']=new _0x2e5c77();}}const tt={'c':_0x33cd17,'a':_0x5de45e,'e':_0x4ab119,'r':_0x33ddf5,'u':_0x1b7f2d};class d extends _0x51b9c7{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2726a5,_0x38c295,A];}['init'](){const _0x1ac2b6=this['editor'],_0x47cc69=new Rt(_0x1ac2b6,{'direction':'backward'}),_0xc00fe3=new Rt(_0x1ac2b6,{'direction':'forward'});(_0x1ac2b6['commands']['add']('showPreviousChange',_0x47cc69),_0x1ac2b6['commands']['add']('showNextChange',_0xc00fe3),_0x1ac2b6['commands']['add']('restoreRevision',new bt(_0x1ac2b6)),this['on']('change:numberOfChanges',()=>{_0x47cc69['refresh'](),_0xc00fe3['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1ac2b6['enableReadOnlyMode']('revision-viewer'),_0x1ac2b6['plugins']['has']('WidgetToolbarRepository'))&&_0x1ac2b6['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x7b445e){await this['loadRevisionData'](_0x7b445e);const _0x557f49={};for(const _0x3b4aff in _0x7b445e['diffData']){if(_0x7b445e['diffData'][_0x3b4aff]['attachChange']&&!_0x7b445e['diffData'][_0x3b4aff]['attachChange']['isAttached'])continue;const _0x35d6ad=this['_removeRevisionMarkers'](JSON['parse'](_0x7b445e['diffData'][_0x3b4aff]['insertions'])),_0xe5bd36=this['editor']['editing']['view']['document'],_0x534bc6=new _0x577e08(_0xe5bd36,_0x35d6ad['map'](_0x1f7955=>this['_getViewObj'](_0x1f7955)));this['editor']['data']['processor']['useFillerType']('marked'),_0x557f49[_0x3b4aff]=this['editor']['data']['processor']['toData'](_0x534bc6),this['editor']['data']['processor']['useFillerType']('default');}return _0x557f49;}async['getRevisionRootsAttributes'](_0x3d21e4){await this['loadRevisionData'](_0x3d21e4);const _0xbae988={};for(const _0x7d0fea in _0x3d21e4['diffData'])_0x3d21e4['diffData'][_0x7d0fea]['attachChange']&&!_0x3d21e4['diffData'][_0x7d0fea]['attachChange']['isAttached']||(_0xbae988[_0x7d0fea]=_0x3d21e4['diffData'][_0x7d0fea]['attributesAfter']||{});return _0xbae988;}['_removeRevisionMarkers'](_0x185fd4){return(_0x185fd4=_0x185fd4['filter'](_0x1bafc4=>!_0x1bafc4['name']||'revision-start'!==_0x1bafc4['name']&&'revision-end'!==_0x1bafc4['name']))['forEach'](_0x179b4a=>{'string'!=typeof _0x179b4a&&(_0x179b4a['children']=this['_removeRevisionMarkers'](_0x179b4a['children']),_0x179b4a['attributes']=_0x179b4a['attributes']['filter'](_0x21b76f=>!_0x21b76f[0x0]['startsWith']('data-revision-')));}),_0x185fd4;}async['compare'](_0x1630dc,_0x560783,_0x546a39=!0x1){if(!this['isEnabled'])return;const _0x5aaa9f=this['diff'],_0x365ffa=this['repository'],_0x280c92='string'==typeof _0x1630dc?_0x365ffa['getRevision'](_0x1630dc):_0x1630dc,_0x75eb78='string'==typeof _0x560783?_0x365ffa['getRevision'](_0x560783):_0x560783,_0x2f933e=_0x280c92['id'],_0x9013a9=_0x75eb78?_0x75eb78['id']:null;if(!_0x546a39&&this['diff']&&this['diff']['newRevisionId']===_0x2f933e&&this['diff']['oldRevisionId']===_0x9013a9)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x2f933e,_0x9013a9);const _0x2ca413=this['_getRevisionsRange'](_0x280c92,_0x75eb78,!0x0)['map'](_0x1cd187=>this['loadRevisionData'](_0x1cd187));return _0x2ca413['push'](new Promise(_0x2e2468=>{setTimeout(_0x2e2468,0x14);})),Promise['all'](_0x2ca413)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2fe978=this['_getDiff'](_0x2f933e,_0x9013a9);for(const _0x3d2600 of _0x2fe978['changes'])this['_changeIdToChange']['set'](_0x3d2600['id'],_0x3d2600);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1008de=>{for(const _0xdbbeb2 of this['editor']['model']['document']['getRootNames']())_0x1008de['detachRoot'](_0xdbbeb2);for(const _0x11a5cd of Object['keys'](_0x2fe978['model'])){const _0x59b606=_0x1008de['addRoot'](_0x11a5cd);for(const _0x59b3b1 of Object['keys'](_0x2fe978['attributes'][_0x11a5cd]))_0x1008de['setAttribute'](_0x59b3b1,_0x2fe978['attributes'][_0x11a5cd][_0x59b3b1],_0x59b606);_0x1008de['insert'](_0x2fe978['model'][_0x11a5cd],_0x59b606,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2fe978['changes'])),this['isReady']=!0x0;})['catch'](_0x4a59a7=>{console['error'](_0x4a59a7),this['_cleanUp'](),_0x5aaa9f&&(this['diff']=_0x5aaa9f),this['isReady']=!0x0;});}['addRevisionData'](_0x11ed03,_0x18f2bc){const _0x3a3203=this['repository']['createRevision'](_0x11ed03);return _0x3a3203['on']('_update',(_0x226d94,_0x48fb3f,_0x39f2da)=>_0x18f2bc(_0x48fb3f,_0x39f2da,_0x3a3203)),this['repository']['addRevision'](_0x3a3203),_0x3a3203;}['loadRevisionData'](_0x21a7cb){if(!_0x21a7cb||_0x21a7cb['diffData'])return Promise['resolve']();{const _0x5901f7=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5901f7,'revisionId':_0x21a7cb['id']})['then'](_0x5cdde6=>{_0x21a7cb['_update']({'diffData':_0x5cdde6['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},_0x5ec644=>{for(const _0x5b6d00 of this['editor']['model']['document']['getRootNames']())_0x5ec644['detachRoot'](_0x5b6d00);});}['_sortAndFilterDiffChanges'](_0x4411a7){const _0x3c29e7=[],_0x1a77bf=new Map();for(const _0x2cbee7 of this['editor']['model']['document']['getRootNames']()){const _0x3d3ff4=this['editor']['editing']['view']['getDomRoot'](_0x2cbee7);if(!_0x3d3ff4)continue;const _0x20c522=_0x3d3ff4['getClientRects']()['item'](0x0);_0x20c522&&(_0x3c29e7['push'](_0x2cbee7),_0x1a77bf['set'](_0x2cbee7,_0x20c522));}return _0x3c29e7['sort']((_0x3b1a8c,_0x468d0d)=>{const _0x2b4a19=_0x1a77bf['get'](_0x3b1a8c),_0x53fa6c=_0x1a77bf['get'](_0x468d0d);return _0x2b4a19['y']-_0x53fa6c['y']||_0x2b4a19['x']-_0x53fa6c['x'];}),(_0x4411a7=_0x4411a7['filter'](_0xfdb501=>_0x3c29e7['includes'](_0xfdb501['rootName'])))['sort']((_0x23ab71,_0x389091)=>_0x3c29e7['indexOf'](_0x23ab71['rootName'])-_0x3c29e7['indexOf'](_0x389091['rootName'])),_0x4411a7;}['_makeTape'](_0x596f43){const _0x14abe6=Array['from'](_0x596f43['markers'])['filter'](([_0xadb435,_0x260329])=>_0xadb435['startsWith']('revision:')&&!_0x260329['isCollapsed']),_0x104643=Array['from'](this['editor']['model']['createRangeIn'](_0x596f43)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x14abe6['length'])for(const _0x4a1d98 of _0x104643){const [_0x182348,_0x452153]=_0x14abe6[0x0],[,_0x215a57,_0x539487]=_0x182348['split'](':');if(_0x452153['end']['isEqual'](_0x4a1d98['nextPosition'])&&_0x14abe6['shift'](),(_0x4a1d98['previousPosition']['isEqual'](_0x452153['start'])||_0x4a1d98['previousPosition']['isAfter'](_0x452153['start']))&&('insertion'==_0x215a57?_0x4a1d98['isAdded']={'userId':_0x539487}:'deletion'==_0x215a57&&(_0x4a1d98['isRemoved']={'userId':_0x539487})),0x0==_0x14abe6['length'])break;}return _0x104643;}['_refreshStartEndIndex'](_0x188b30){const _0x1bc350=new Map();for(let _0x1f3d89=0x0;_0x1f3d89<_0x188b30['length'];_0x1f3d89++)'text'===_0x188b30[_0x1f3d89]['type']?(_0x188b30[_0x1f3d89]['item']['startIndex']=_0x1f3d89,_0x188b30[_0x1f3d89]['item']['endIndex']=_0x1f3d89):('elementStart'===_0x188b30[_0x1f3d89]['type']?_0x188b30[_0x1f3d89]['item']['startIndex']=_0x1f3d89:'elementEnd'===_0x188b30[_0x1f3d89]['type']&&(_0x188b30[_0x1f3d89]['item']['endIndex']=_0x1f3d89),_0x1bc350['set'](_0x188b30[_0x1f3d89]['id'],_0x1f3d89));for(const _0x264b2b of _0x1bc350['values']())'elementStart'===_0x188b30[_0x264b2b]['type']?_0x188b30[_0x264b2b]['item']['endIndex']=_0x1bc350['get'](_0x188b30[_0x264b2b]['pairId']):'elementEnd'===_0x188b30[_0x264b2b]['type']&&(_0x188b30[_0x264b2b]['item']['startIndex']=_0x1bc350['get'](_0x188b30[_0x264b2b]['pairId']));}['_processTape'](_0x5a5d0e){for(let _0x3baa07=0x0;_0x3baa07<_0x5a5d0e['length'];_0x3baa07++){if('elementStart'===_0x5a5d0e[_0x3baa07]['type'])_0x5a5d0e[_0x3baa07]['item']['startIndex']=_0x3baa07;else{if('elementEnd'===_0x5a5d0e[_0x3baa07]['type']){_0x5a5d0e[_0x3baa07]['item']['endIndex']=_0x3baa07;const _0x368788=_0x5a5d0e[_0x3baa07]['item']['startIndex'];_0x5a5d0e[_0x368788]['pairId']=_0x5a5d0e[_0x3baa07]['id'],_0x5a5d0e[_0x3baa07]['pairId']=_0x5a5d0e[_0x368788]['id'];}else _0x5a5d0e[_0x3baa07]['item']['startIndex']=_0x3baa07,_0x5a5d0e[_0x3baa07]['item']['endIndex']=_0x3baa07,_0x5a5d0e[_0x3baa07]['pairId']=null;}_0x5a5d0e[_0x3baa07]['markersStart']||(_0x5a5d0e[_0x3baa07]['markersStart']=[],_0x5a5d0e[_0x3baa07]['markersEnd']=[]);}}['_markInsertions'](_0x45849b,_0x1b16b1){const _0x2c820a=_0x45849b['filter'](_0x298982=>!_0x298982['isAdded']);for(let _0x2fd50d=0x0;_0x2fd50d<_0x1b16b1['length'];_0x2fd50d++)_0x1b16b1[_0x2fd50d]['isAdded']&&(_0x2c820a[_0x2fd50d]['isAdded']=_0x1b16b1[_0x2fd50d]['isAdded']);}['_makeModelFromViewString'](_0x32a3b5){const _0x2362cd=JSON['parse'](_0x32a3b5),_0x493cc0=this['editor']['editing']['view']['document'],_0x104b6e=new _0x577e08(_0x493cc0,_0x2362cd['map'](_0x17c874=>this['_getViewObj'](_0x17c874)));return this['editor']['data']['toModel'](_0x104b6e);}['_getViewObj'](_0x3019ba){const _0x547ca1=this['editor']['editing']['view']['document'];if('string'==typeof _0x3019ba)return new _0x21f25b(_0x547ca1,_0x3019ba);{const _0xc26a3c=_0x3019ba['children']['map'](_0x3011bd=>this['_getViewObj'](_0x3011bd));return new(tt[_0x3019ba['type']]||_0x17f75d)(_0x547ca1,_0x3019ba['name'],_0x3019ba['attributes'],_0xc26a3c);}}['_getDiff'](_0xb207a,_0x33ac58=null){const _0x3b1ad6=this['repository']['getRevision'](_0xb207a),_0x3288eb=_0x33ac58?this['repository']['getRevision'](_0x33ac58):null,_0x4c3f00=this['_getRevisionsRange'](_0x3b1ad6,_0x3288eb),_0x990929=_0x4c3f00[_0x4c3f00['length']-0x1],_0x23a563=new Map(),_0x215c1b={'model':{},'attributes':{},'changes':[]},_0x1a7ab7=new Set(),_0x5eaf69=new Map();for(let _0xf74a02=_0x4c3f00['length']-0x1;_0xf74a02>=0x0;_0xf74a02--){const _0x3f6224=_0x4c3f00[_0xf74a02];for(const _0x5b21c9 of Object['keys'](_0x3f6224['diffData']))if(_0x3f6224['diffData'][_0x5b21c9]['attachChange']){const _0x51ba3e=_0x3f6224['diffData'][_0x5b21c9]['attachChange'];_0x51ba3e['isAttached']?(_0x1a7ab7['add'](_0x5b21c9),_0x5eaf69['has'](_0x5b21c9)&&_0x5eaf69['get'](_0x5b21c9)['userId']==_0x51ba3e['userId']?_0x5eaf69['delete'](_0x5b21c9):_0x5eaf69['set'](_0x5b21c9,_0x51ba3e)):_0x5eaf69['has'](_0x5b21c9)?(_0x1a7ab7['delete'](_0x5b21c9),_0x5eaf69['delete'](_0x5b21c9)):(_0x1a7ab7['add'](_0x5b21c9),_0x5eaf69['set'](_0x5b21c9,_0x51ba3e));}else _0x1a7ab7['add'](_0x5b21c9);}for(const _0x21ad55 of _0x1a7ab7){const _0x48c0f7=_0x5eaf69['has'](_0x21ad55)&&!_0x5eaf69['get'](_0x21ad55)['isAttached'];let _0x4bed53=_0x48c0f7?_0x4c3f00['length']-0x1:0x0;const _0x199bb6=_0x48c0f7?-0x1:0x1;for(;_0x4c3f00[_0x4bed53];){const _0x230c9e=_0x4c3f00[_0x4bed53];if(_0x230c9e['diffData'][_0x21ad55]){const _0x349155=_0x48c0f7?_0x230c9e['diffData'][_0x21ad55]['attributesBefore']:_0x230c9e['diffData'][_0x21ad55]['attributesAfter'];_0x215c1b['attributes'][_0x21ad55]=_0x349155?_0x49c5d8(_0x349155):{};break;}_0x4bed53+=_0x199bb6;}}for(const _0x36bcd5 of _0x4c3f00){_0x36bcd5['model']={};for(const _0x124ebb of _0x36bcd5['authors'])_0x23a563['set'](_0x124ebb['id'],_0x124ebb);for(const _0x16fb62 of _0x1a7ab7){const _0x52f6ca=_0x36bcd5['diffData'][_0x16fb62]?_0x36bcd5['diffData'][_0x16fb62]['insertions']:'[]',_0x149eaf=_0x36bcd5['diffData'][_0x16fb62]?_0x36bcd5['diffData'][_0x16fb62]['deletions']:'[]';_0x36bcd5['model'][_0x16fb62]={'insertions':this['_makeModelFromViewString'](_0x52f6ca),'deletions':this['_makeModelFromViewString'](_0x149eaf)};}}for(const _0x174118 of _0x1a7ab7){let _0x4cbb31=null,_0x599369=0x0;const _0x488a0d=new Map(Array['from'](_0x3b1ad6['model'][_0x174118]['insertions']['markers'])['filter'](([_0x14f4e9])=>!_0x14f4e9['startsWith']('revision:')));let _0x360254=0x0;for(const _0x7f3bdb of _0x4c3f00){const _0x8c7bd5=this['_makeTape'](_0x7f3bdb['model'][_0x174118]['insertions']);_0x7f3bdb==_0x3b1ad6?(_0x4cbb31=_0x8c7bd5,_0x599369=_0x4cbb31['length'],_0x4cbb31['forEach'](_0x2da865=>{_0x2da865['id']=_0x360254++;}),this['_processTape'](_0x4cbb31)):this['_markInsertions'](_0x4cbb31,_0x8c7bd5);const _0x4e0f58=_0x4cbb31['filter'](_0x2d2063=>!_0x2d2063['isAdded'])['map'](_0xb6f06a=>_0xb6f06a['id']);let _0x2cd419=0x0;const _0x283abc=this['_makeTape'](_0x7f3bdb['model'][_0x174118]['deletions']);_0x283abc['forEach'](_0x33fe28=>{_0x33fe28['isRemoved']?_0x33fe28['id']=_0x599369++:_0x33fe28['id']=_0x4e0f58[_0x2cd419++];}),this['_processTape'](_0x283abc),this['_setDistance'](_0x4cbb31,'isAdded'),this['_setDistance'](_0x283abc,'isRemoved'),_0x7f3bdb==_0x3b1ad6&&this['_markMarkers'](_0x4cbb31,_0x488a0d),_0x4cbb31=this['_joinTapes'](_0x4cbb31,_0x283abc),this['_refreshStartEndIndex'](_0x4cbb31),this['_setDistance'](_0x4cbb31,'isRemoved');}_0x4cbb31=_0x4cbb31['filter'](_0x190b1f=>!(_0x190b1f['isAdded']&&_0x190b1f['isRemoved']));const _0x3605a1=new Map(_0x990929['model'][_0x174118]['deletions']['markers']),_0x2170d7=new Set(_0x488a0d['keys']());for(const _0x1cf1f4 of _0x3605a1['keys']())_0x2170d7['delete'](_0x1cf1f4);this['_markSuggestions'](_0x4cbb31,_0x2170d7),this['_fixObsoleteTags'](_0x4cbb31),_0x4cbb31=this['_removeMissingPairs'](_0x4cbb31),_0x4cbb31=this['_markMismatchedRemovedTags'](_0x4cbb31),_0x4cbb31=this['_removeUnsupportedChanges'](_0x4cbb31);const {root:_0x2de324,changes:_0x16aeec}=this['_makeModelFromTape'](_0x4cbb31,_0x23a563,_0x174118);_0x215c1b['model'][_0x174118]=_0x2de324;const _0x1c30ca=_0x5eaf69['get'](_0x174118);if(_0x1c30ca){const _0x51a133=_0x23a563['get'](_0x1c30ca['userId']),_0x653fb5=new r({'author':_0x51a133,'type':_0x1c30ca['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x174118});_0x16aeec['unshift'](_0x653fb5),_0x215c1b['attributes'][_0x174118]['revisionHistoryAttachChange']=_0x653fb5['id'];}_0x215c1b['changes']=_0x215c1b['changes']['concat'](_0x16aeec);}return _0x215c1b;}['_markMarkers'](_0x3607f5,_0x42f874){for(let _0x25b8b1=0x0;_0x25b8b1<_0x3607f5['length'];_0x25b8b1++)for(const [_0x22d0b7,_0x221331]of _0x42f874)_0x221331['start']['isEqual'](_0x3607f5[_0x25b8b1]['previousPosition'])&&_0x3607f5[_0x25b8b1]['markersStart']['push'](_0x22d0b7),_0x221331['end']['isEqual'](_0x3607f5[_0x25b8b1]['nextPosition'])&&_0x3607f5[_0x25b8b1]['markersEnd']['push'](_0x22d0b7);}['_joinTapes'](_0x560cda,_0x2e7a58){let _0x12609b=[],_0x395ae0=0x0,_0x4ce23f=0x0;for(;_0x395ae0<_0x560cda['length']||_0x4ce23f<_0x2e7a58['length'];){const _0x2a8c50=_0x560cda[_0x395ae0]||{},_0x5ee8f3=_0x2e7a58[_0x4ce23f]||{};if(_0x2a8c50['id']==_0x5ee8f3['id'])_0x395ae0++,_0x4ce23f++,_0x12609b['push'](_0x2a8c50);else{if(_0x5ee8f3['isRemoved']&&_0x2a8c50['isAdded']){const {commonTape:_0x5802c5,iEnd:_0x4861fe,jEnd:_0x5a1df7}=this['_threeWayMerge'](_0x560cda,_0x395ae0,_0x2e7a58,_0x4ce23f);_0x12609b=_0x12609b['concat'](_0x5802c5),_0x395ae0=_0x4861fe,_0x4ce23f=_0x5a1df7;}else _0x5ee8f3['isRemoved']?(_0x4ce23f++,_0x12609b['push'](_0x5ee8f3)):(_0x395ae0++,_0x12609b['push'](_0x2a8c50));}}return _0x12609b;}['_markSuggestions'](_0x761c44,_0xf8897d){const _0x4c8e19=[];for(let _0x4cd8a7=0x0;_0x4cd8a7<_0x761c44['length'];_0x4cd8a7++){for(let _0x57d483=0x0;_0x57d483<_0x761c44[_0x4cd8a7]['markersStart']['length'];_0x57d483++){const _0x2abbf9=_0x761c44[_0x4cd8a7]['markersStart'][_0x57d483];if(!_0xf8897d['has'](_0x2abbf9))continue;const {group:_0x4aa7e3,type:_0x51f268,authorId:_0x51d9e3}=_0x55175e(_0x2abbf9);'revision-suggestion'!=_0x4aa7e3||'insertion'!=_0x51f268&&'deletion'!=_0x51f268||(_0x4c8e19['unshift']({'type':_0x51f268,'name':_0x2abbf9,'userId':_0x51d9e3}),_0x761c44[_0x4cd8a7]['markersStart']['splice'](_0x57d483,0x1),_0x57d483--);}_0x482290(_0x761c44[_0x4cd8a7]);for(let _0x5d69e3=0x0;_0x5d69e3<_0x761c44[_0x4cd8a7]['markersEnd']['length'];_0x5d69e3++){const _0x485626=_0x761c44[_0x4cd8a7]['markersEnd'][_0x5d69e3];if(!_0xf8897d['has'](_0x485626))continue;const {group:_0x6a3670,type:_0x4f4da5}=_0x55175e(_0x485626);if('revision-suggestion'!=_0x6a3670||'insertion'!=_0x4f4da5&&'deletion'!=_0x4f4da5)continue;_0x761c44[_0x4cd8a7]['markersEnd']['splice'](_0x5d69e3,0x1),_0x5d69e3--;const _0x1f055f=_0x4c8e19['findIndex'](_0x3496ae=>_0x3496ae['name']==_0x485626);_0x1f055f>-0x1&&_0x4c8e19['splice'](_0x1f055f,0x1);}}function _0x55175e(_0x5a7fcf){const _0x3fcb94=_0x5a7fcf['split'](':');return{'group':_0x3fcb94[0x0],'type':_0x3fcb94[0x1],'subType':_0x3fcb94['length']>=0x5?_0x3fcb94[0x2]:null,'id':_0x3fcb94['length']<0x5?_0x3fcb94[0x2]:_0x3fcb94[0x3],'authorId':_0x3fcb94['length']<0x5?_0x3fcb94[0x3]:_0x3fcb94[0x4],'markerCount':0x6==_0x3fcb94['length']?_0x3fcb94[0x5]:null};}function _0x482290(_0x1d44bc){for(let _0x1623a5=0x0;_0x1623a5<_0x4c8e19['length'];_0x1623a5++){if(_0x1d44bc['isAdded']&&'insertion'==_0x4c8e19[_0x1623a5]['type'])return _0x1d44bc['isAddSuggestion']=_0x4c8e19[_0x1623a5],void delete _0x1d44bc['isAdded'];if(!_0x1d44bc['isAdded']&&!_0x1d44bc['isRemoved']&&'deletion'==_0x4c8e19[_0x1623a5]['type'])return void(_0x1d44bc['isRemoveSuggestion']=_0x4c8e19[_0x1623a5]);}}}['_setDistance'](_0x21c63a,_0x495e99){let _0x4e55d1=0x0,_0x144831=!0x1;const _0x42c43b=new Map();for(const _0x4fa6c3 of _0x21c63a)_0x4fa6c3[_0x495e99]?_0x144831&&(_0x4e55d1++,_0x144831=!0x1):(_0x4e55d1++,_0x144831=!0x0),_0x42c43b['set'](_0x4fa6c3['id'],_0x4e55d1);for(let _0x150d2b=0x0;_0x150d2b<_0x21c63a['length'];_0x150d2b++){if('isRemoved'==_0x495e99&&_0x21c63a[_0x150d2b]['isAdded']||'isAdded'==_0x495e99&&_0x21c63a[_0x150d2b]['isRemoved'])continue;if('text'==_0x21c63a[_0x150d2b]['type']){_0x21c63a[_0x150d2b]['distance']=0x0;continue;}const _0x2ab836=_0x42c43b['get'](_0x21c63a[_0x150d2b]['pairId']),_0x3c193c=_0x42c43b['get'](_0x21c63a[_0x150d2b]['id']);_0x21c63a[_0x150d2b]['distance']=_0x2ab836-_0x3c193c;}}['_getRevisionsRange'](_0x31fa02,_0x2b0a8f,_0x2b26cb=!0x1){const _0xf8764f=[];let _0x456202=this['repository']['getIndex'](_0x31fa02),_0x41c96=this['repository']['getIndex'](_0x2b0a8f);for(-0x1==_0x41c96&&(_0x41c96=this['repository']['_revisions']['length'],_0x2b26cb=!0x1);_0x456202<_0x41c96;)_0xf8764f['push'](this['repository']['getRevision'](_0x456202)),_0x456202++;return _0x2b26cb&&_0xf8764f['push'](this['repository']['getRevision'](_0x456202)),_0xf8764f;}['_threeWayMerge'](_0x555744,_0xa8eb7a,_0x4ef56b,_0x11bedf){const _0x4954f4=this['editor']['model']['schema'];let _0x3d0cd3=_0xa8eb7a;for(;_0x555744[_0x3d0cd3]&&_0x555744[_0x3d0cd3]['isAdded'];)_0x3d0cd3++;let _0x270aee=_0x11bedf;for(;_0x4ef56b[_0x270aee]&&_0x4ef56b[_0x270aee]['isRemoved'];)_0x270aee++;_0x4cdc7d(_0x555744,_0xa8eb7a,_0x3d0cd3),_0x4cdc7d(_0x4ef56b,_0x11bedf,_0x270aee);const _0x3ebcca=_0x4ef56b['slice'](_0x11bedf,_0x270aee)['concat'](_0x555744['slice'](_0xa8eb7a,_0x3d0cd3));return _0x3ebcca['sort']((_0x4db8d1,_0x1e4da7)=>_0x4db8d1['side']!=_0x1e4da7['side']?_0x4db8d1['side']-_0x1e4da7['side']:_0x4db8d1['level']!=_0x1e4da7['level']?_0x4db8d1['level']-_0x1e4da7['level']:_0x4db8d1['distance']!=_0x1e4da7['distance']?_0x1e4da7['distance']-_0x4db8d1['distance']:!!_0x4db8d1['isAdded']!=!!_0x1e4da7['isAdded']?-0x1==_0x4db8d1['side']||0x0==_0x4db8d1['side']?_0x4db8d1['isAdded']?-0x1:0x1:_0x4db8d1['isAdded']?0x1:-0x1:_0x4db8d1['index']-_0x1e4da7['index']),{'commonTape':_0x3ebcca,'iEnd':_0x3d0cd3,'jEnd':_0x270aee};function _0x4cdc7d(_0x1fd53e,_0x3ed5cb,_0x1de088){let _0x4eb82a=-0x1,_0x47258b=Number['POSITIVE_INFINITY'],_0x11f66b=!0x0;for(let _0x56aa41=_0x3ed5cb;_0x56aa41<_0x1de088;_0x56aa41++)if(_0x4954f4['isInline'](_0x1fd53e[_0x56aa41]['item'])||(_0x11f66b=!0x1),_0x1fd53e[_0x56aa41]['item']['startIndex']<_0x3ed5cb&&(_0x4eb82a=_0x56aa41),_0x1fd53e[_0x56aa41]['item']['endIndex']>=_0x1de088){_0x47258b=_0x56aa41;break;}_0x11f66b&&(_0x4eb82a=_0x1de088-0x1);for(let _0x10f8bb=_0x3ed5cb;_0x10f8bb<_0x1de088;_0x10f8bb++)_0x1fd53e[_0x10f8bb]['side']=_0x10f8bb<=_0x4eb82a?-0x1:_0x10f8bb<_0x47258b?0x0:0x1,_0x1fd53e[_0x10f8bb]['index']=_0x10f8bb;let _0x4697b5=0x0;for(let _0x4b214f=_0x3ed5cb;_0x4b214f<=_0x4eb82a;_0x4b214f++)0x0==_0x1fd53e[_0x4b214f]['distance']?_0x1fd53e[_0x4b214f]['level']=_0x4697b5:(_0x4697b5++,_0x1fd53e[_0x4b214f]['level']=_0x4697b5,_0x4697b5++);for(let _0x5357eb=_0x3ed5cb;_0x5357eb<_0x1de088;_0x5357eb++)0x0==_0x1fd53e[_0x5357eb]['side']&&(_0x1fd53e[_0x5357eb]['level']=_0x4697b5);_0x4697b5=0x0;for(let _0x5208b5=_0x1de088-0x1;_0x5208b5>=_0x47258b;_0x5208b5--)0x0==_0x1fd53e[_0x5208b5]['distance']?_0x1fd53e[_0x5208b5]['level']=_0x4697b5:(_0x4697b5--,_0x1fd53e[_0x5208b5]['level']=_0x4697b5,_0x4697b5--);}}['_fixObsoleteTags'](_0x96d9a5){const _0x4d29cb=new Map(),_0x1835a6=this['editor']['model']['schema'];for(let _0x586473=0x1;_0x586473<_0x96d9a5['length'];_0x586473++){let _0x55b72a,_0x5f2d72,_0xfb8aba;const _0x240ab8=_0x96d9a5[_0x586473],_0x35ce1e=_0x96d9a5[_0x586473-0x1];if('text'==_0x240ab8['type'])continue;if(_0x240ab8['type']!=_0x35ce1e['type'])continue;if(!_0x1835a6['isBlock'](_0x35ce1e['item'])||_0x1835a6['isLimit'](_0x35ce1e['item']))continue;if(!_0x1835a6['isBlock'](_0x240ab8['item'])||_0x1835a6['isLimit'](_0x240ab8['item']))continue;if((_0x96d9a5[_0x586473]['isAdded']||_0x96d9a5[_0x586473]['isAddSuggestion'])&&_0x96d9a5[_0x586473-0x1]['isRemoved'])_0x55b72a=_0x96d9a5[_0x586473],_0x5f2d72=_0x96d9a5[_0x586473-0x1],_0xfb8aba=_0x586473-0x1;else{if(!_0x96d9a5[_0x586473]['isRemoved']||!_0x96d9a5[_0x586473-0x1]['isAdded']&&!_0x96d9a5[_0x586473-0x1]['isAddSuggestion'])continue;_0x55b72a=_0x96d9a5[_0x586473-0x1],_0x5f2d72=_0x96d9a5[_0x586473],_0xfb8aba=_0x586473;}const _0x485a45=_0x55b72a['level']==_0x5f2d72['level'],_0x2bd2cd=Math['abs'](_0x55b72a['level'])<Math['abs'](_0x5f2d72['level'])&&0x0==_0x5f2d72['distance'];(_0x485a45||_0x2bd2cd)&&(_0x4d29cb['set'](_0x5f2d72['id'],_0x55b72a['id']),_0x96d9a5['splice'](_0xfb8aba,0x1),_0x586473--,_0x55b72a['isAdded']=!0x1);}for(let _0xfd164a=0x0;_0xfd164a<_0x96d9a5['length'];_0xfd164a++)_0x4d29cb['has'](_0x96d9a5[_0xfd164a]['pairId'])&&(_0x96d9a5[_0xfd164a]['pairId']=_0x4d29cb['get'](_0x96d9a5[_0xfd164a]['pairId']));}['_removeMissingPairs'](_0x3e9626){const _0xf978de=new Set(_0x3e9626['map'](_0x59ef47=>_0x59ef47['id']));for(let _0x1ceb9f=0x0;_0x1ceb9f<_0x3e9626['length'];_0x1ceb9f++)_0xf978de['has'](_0x3e9626[_0x1ceb9f]['pairId'])||0x0==_0x3e9626[_0x1ceb9f]['distance']||(_0x3e9626[_0x1ceb9f]['isIncorrect']=!0x0);return _0x3e9626['filter'](_0x23544a=>!_0x23544a['isIncorrect']);}['_markMismatchedRemovedTags'](_0x4a40c4){const _0x21177e=new Set();for(let _0x2c0a8f=0x0;_0x2c0a8f<_0x4a40c4['length'];_0x2c0a8f++){if(_0x21177e['has'](_0x4a40c4[_0x2c0a8f]['id'])&&_0x4a40c4[_0x2c0a8f]['isRemoved']&&(_0x4a40c4[_0x2c0a8f]['isIncorrect']=!0x0),_0x4a40c4[_0x2c0a8f]['isIncorrect'])continue;if(0x0==_0x4a40c4[_0x2c0a8f]['distance'])continue;if('elementStart'!=_0x4a40c4[_0x2c0a8f]['type'])continue;if(null==_0x4a40c4[_0x2c0a8f]['pairId'])continue;let _0x15953d=_0x2c0a8f+0x1,_0x5f4af3=0x0;for(;_0x4a40c4[_0x15953d]['id']!=_0x4a40c4[_0x2c0a8f]['pairId'];)'elementStart'==_0x4a40c4[_0x15953d]['type']?_0x5f4af3++:'elementEnd'==_0x4a40c4[_0x15953d]['type']&&_0x5f4af3--,_0x15953d++;if(0x0!=_0x5f4af3){if(_0x4a40c4[_0x2c0a8f]['isRemoved'])_0x4a40c4[_0x2c0a8f]['isIncorrect']=!0x0;else{for(;_0x15953d!=_0x2c0a8f;)_0x4a40c4[_0x15953d]['isRemoved']&&0x0!=_0x4a40c4[_0x15953d]['distance']&&(_0x4a40c4[_0x15953d]['isIncorrect']=!0x0,_0x21177e['add'](_0x4a40c4[_0x15953d]['pairId'])),_0x15953d--;}}}return _0x4a40c4['filter'](_0x3d228e=>!_0x3d228e['isIncorrect']);}['_removeUnsupportedChanges'](_0x15a6eb){const _0xa5edec=this['editor']['model']['schema'];for(let _0x5ad83c=0x0;_0x5ad83c<_0x15a6eb['length'];_0x5ad83c++){if(!(_0x15a6eb[_0x5ad83c]['isAdded']||_0x15a6eb[_0x5ad83c]['isAddSuggestion']||_0x15a6eb[_0x5ad83c]['isRemoved']||_0x15a6eb[_0x5ad83c]['isRemoveSuggestion']))continue;if(0x0==_0x15a6eb[_0x5ad83c]['distance'])continue;const _0x3b2113=_0x15a6eb[_0x5ad83c]['item'];_0xa5edec['isBlock'](_0x3b2113)||_0xa5edec['isLimit'](_0x3b2113)||(_0x15a6eb[_0x5ad83c]['isAdded']&&delete _0x15a6eb[_0x5ad83c]['isAdded'],_0x15a6eb[_0x5ad83c]['isAddSuggestion']&&delete _0x15a6eb[_0x5ad83c]['isAddSuggestion'],_0x15a6eb[_0x5ad83c]['isRemoveSuggestion']&&delete _0x15a6eb[_0x5ad83c]['isRemoveSuggestion'],_0x15a6eb[_0x5ad83c]['isRemoved']&&(_0x15a6eb[_0x5ad83c]['isIncorrect']=!0x0));}return _0x15a6eb['filter'](_0x2da787=>!_0x2da787['isIncorrect']);}['_makeModelFromTape'](_0x4545f0,_0x3a20df,_0xcde160){const _0x11f08c=new _t(),_0x1a1a8c=[],_0x39548e=new Map(),_0x4a77c8=this['editor']['model'],_0xe983b6=_0x4a77c8['schema'],_0x54e6b2=[_0x11f08c],_0x446951={},_0x4bb9c0={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x28a8b8=null;const _0x43d383=[0x0];for(let _0x1795f2=0x0;_0x1795f2<_0x4545f0['length'];_0x1795f2++){let _0x37a3b3,_0x3cf3f8;if('elementStart'===_0x4545f0[_0x1795f2]['type']){_0x37a3b3=_0x4a77c8['createPositionFromPath'](_0x11f08c,_0x43d383);const _0x5310e3=new ft(_0x4545f0[_0x1795f2]['item']['name'],_0x4545f0[_0x1795f2]['item']['getAttributes']());_0x54e6b2[0x0]['_appendChild'](_0x5310e3),_0x43d383['push'](0x0),_0x54e6b2['unshift'](_0x5310e3),_0x3cf3f8=_0x4a77c8['createPositionFromPath'](_0x11f08c,_0x43d383),_0x28a8b8=null;}else{if('elementEnd'===_0x4545f0[_0x1795f2]['type'])_0x54e6b2['shift'](),_0x37a3b3=_0x4a77c8['createPositionFromPath'](_0x11f08c,_0x43d383),_0x43d383['pop'](),_0x43d383[_0x43d383['length']-0x1]++,_0x3cf3f8=_0x4a77c8['createPositionFromPath'](_0x11f08c,_0x43d383),_0x28a8b8=null;else{if(_0x37a3b3=_0x4a77c8['createPositionFromPath'](_0x11f08c,_0x43d383),_0x28a8b8&&_0xf8e3e7(_0x28a8b8,_0x4545f0[_0x1795f2]['item']))_0x28a8b8['_data']+=_0x4545f0[_0x1795f2]['item']['data'];else{const _0x3e3508=new yt(_0x4545f0[_0x1795f2]['item']['data'],_0x4545f0[_0x1795f2]['item']['getAttributes']());_0x54e6b2[0x0]['_appendChild'](_0x3e3508),_0x28a8b8=_0x3e3508;}_0x43d383[_0x43d383['length']-0x1]+=_0x4545f0[_0x1795f2]['item']['offsetSize'],_0x3cf3f8=_0x4a77c8['createPositionFromPath'](_0x11f08c,_0x43d383);}}for(const _0x1a5e26 of _0x4545f0[_0x1795f2]['markersStart'])_0x39548e['set'](_0x1a5e26,{'start':_0x37a3b3,'end':null});_0x20c72e('isRemoveSuggestion',_0x1795f2,_0x37a3b3,_0x3cf3f8),_0x20c72e('isAddSuggestion',_0x1795f2,_0x37a3b3,_0x3cf3f8),_0x20c72e('isRemoved',_0x1795f2,_0x37a3b3,_0x3cf3f8),_0x20c72e('isAdded',_0x1795f2,_0x37a3b3,_0x3cf3f8);for(const _0x5e0484 of _0x4545f0[_0x1795f2]['markersEnd']){_0x39548e['get'](_0x5e0484)['end']=_0x3cf3f8;}}for(const [_0x207ffa,_0x36cb60]of _0x39548e){const _0xfb0b20=this['editor']['model']['createRange'](_0x36cb60['start'],_0x36cb60['end']);_0x11f08c['markers']['set'](_0x207ffa,_0xfb0b20);}return _0x1a1a8c['sort']((_0x28f13d,_0x290ff0)=>{const _0x11f755=_0x11f08c['markers']['get']('revision:'+_0x28f13d['id']),_0x3eaf56=_0x11f08c['markers']['get']('revision:'+_0x290ff0['id']);return _0x11f755['start']['isBefore'](_0x3eaf56['start'])?-0x1:_0x11f755['start']['isAfter'](_0x3eaf56['start'])?0x1:_0x11f755['end']['isBefore'](_0x3eaf56['end'])?-0x1:_0x11f755['end']['isAfter'](_0x3eaf56['end'])?0x1:'add'===_0x28f13d['type']?-0x1:0x1;}),{'root':_0x11f08c,'changes':_0x1a1a8c};function _0x20c72e(_0x2cfe56,_0x32e527,_0x29b79b,_0x2f632d){const _0x1587f2=!!_0x4545f0[_0x32e527][_0x2cfe56],_0x181620=_0x1587f2?_0x4545f0[_0x32e527][_0x2cfe56]['userId']:null,_0x2454f4=_0x32e527===_0x4545f0['length']-0x1,_0x54006e=_0x4bb9c0[_0x2cfe56][0x0],_0x21f36c=_0xe983b6['isObject'](_0x4545f0[_0x32e527]['item']);!_0x446951[_0x2cfe56]&&_0x1587f2?_0x446951[_0x2cfe56]={'start':_0x29b79b,'tapeItem':_0x4545f0[_0x32e527],'userId':_0x181620,'type':_0x2cfe56}:_0x446951[_0x2cfe56]&&!_0x1587f2?(_0x446951[_0x2cfe56]['end']=_0x29b79b,_0x558fba(_0x446951[_0x2cfe56]),_0x446951[_0x2cfe56]=null):_0x446951[_0x2cfe56]&&_0x1587f2&&_0x446951[_0x2cfe56]['userId']!==_0x181620&&(_0x446951[_0x2cfe56]['end']=_0x29b79b,_0x54006e&&_0x54006e['userId']===_0x446951[_0x2cfe56]['userId']||_0x558fba(_0x446951[_0x2cfe56]),_0x446951[_0x2cfe56]={'start':_0x29b79b,'tapeItem':_0x4545f0[_0x32e527],'userId':_0x181620,'type':_0x2cfe56}),_0x446951[_0x2cfe56]&&_0x21f36c&&('elementStart'!==_0x4545f0[_0x32e527]['type']||_0x54006e&&_0x54006e['userId']===_0x181620||_0x4bb9c0[_0x2cfe56]['unshift']({'userId':_0x181620,'object':_0x4545f0[_0x32e527]['item'],'change':_0x446951[_0x2cfe56]}),'elementEnd'===_0x4545f0[_0x32e527]['type']&&_0x54006e&&_0x54006e['object']===_0x4545f0[_0x32e527]['item']&&(_0x4bb9c0[_0x2cfe56]['shift'](),_0x446951[_0x2cfe56]=_0x54006e['change'])),_0x446951[_0x2cfe56]&&_0x2454f4&&(_0x446951[_0x2cfe56]['end']=_0x2f632d,_0x558fba(_0x446951[_0x2cfe56]),_0x446951[_0x2cfe56]=null);}function _0x558fba({start:_0x87783d,end:_0x2f50f8,tapeItem:_0x4823d7,userId:_0x4d7ced,type:_0x38407e}){const _0x5b4865=_0x4823d7['item'],_0x3122f0=_0x4a77c8['schema']['isBlock'](_0x5b4865)&&!_0x4a77c8['schema']['isLimit'](_0x5b4865),_0x5165cc=_0x87783d['nodeAfter']==_0x2f50f8['parent']&&_0x2f50f8['isAtStart'];if(_0x3122f0&&_0x5165cc)return;const _0x2a5ed4=_0x4a77c8['createRange'](_0x87783d,_0x2f50f8),_0x1a1897=_0x3a20df['get'](_0x4d7ced),_0x1410cb=new r({'author':_0x1a1897,'type':'isAdded'==_0x38407e||'isAddSuggestion'==_0x38407e?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x38407e||'isRemoveSuggestion'==_0x38407e},'createdAt':new Date(),'rootName':_0xcde160});_0x1a1a8c['push'](_0x1410cb),_0x11f08c['markers']['set']('revision:'+_0x1410cb['id'],_0x2a5ed4);}function _0xf8e3e7(_0x47afca,_0x500de9){const _0x1cd403=_0x47afca['getAttributes'](),_0x14fd5e=_0x500de9['getAttributes']();for(const _0x85f0af of _0x1cd403){if(_0x85f0af[0x1]!==_0x500de9['getAttribute'](_0x85f0af[0x0]))return!0x1;_0x14fd5e['next']();}return _0x14fd5e['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0xf7fbec=>{const _0x3ebf8f=_0xf7fbec['markerName']['split'](':')[0x1],_0x1860e7=this['_getChangeFromId'](_0x3ebf8f);if(!_0x1860e7)return null;const _0x2ee2f1='add'==_0x1860e7['type']?'insertion':'deletion',_0x179401=['ck-suggestion-marker','ck-suggestion-marker-'+_0x2ee2f1];return _0x1860e7['data']['isSuggestion']&&_0x179401['push']('ck-suggestion-marker-'+_0x2ee2f1+'-new'),this['activeChange']==_0x1860e7&&_0x179401['push']('ck-suggestion-marker--active'),{'classes':_0x179401,'attributes':{'data-change-id':_0x3ebf8f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2a85c1=>{_0x2a85c1['on']('element:pre',(_0x8619da,_0x365399,_0x2eca1e)=>{const _0x1a657c=_0x365399['viewItem']['getChild'](0x0);if(!_0x1a657c||!_0x1a657c['is']('element','code'))return;if(!_0x2eca1e['consumable']['consume'](_0x1a657c,{'attributes':['vid_start','vid_end']}))return;const _0x5ddb06=_0x365399['modelRange']['start']['nodeAfter'];_0x2eca1e['writer']['setAttribute']('vid_start',_0x1a657c['getAttribute']('vid_start'),_0x5ddb06),_0x2eca1e['writer']['setAttribute']('vid_end',_0x1a657c['getAttribute']('vid_end'),_0x5ddb06);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x1aa645=>{_0x1aa645['on']('element',(_0xbd153c,_0x1dc246,_0x170a5c)=>{if(!_0x170a5c['consumable']['consume'](_0x1dc246['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1dc246['modelRange']['isCollapsed'])return;const _0x412fcb=_0x1dc246['modelRange']['start']['nodeAfter'];_0x412fcb['hasAttribute']('vid_start')||_0x412fcb['hasAttribute']('vid')||(_0x170a5c['writer']['setAttribute']('vid_start',_0x1dc246['viewItem']['getAttribute']('vid_start'),_0x412fcb),_0x170a5c['writer']['setAttribute']('vid_end',_0x1dc246['viewItem']['getAttribute']('vid_end'),_0x412fcb));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x1ea602=>_0x1ea602['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x218799,[,_0x547c4e])=>{['vid_start','vid_end','vid']['includes'](_0x547c4e)&&(_0x218799['return']=!0x0,_0x218799['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xf3c642=>{_0xf3c642['on']('attribute:vid',(_0x83172a,_0x12ce59,_0x54bbf1)=>{if('\x20'!=_0x12ce59['item']['data']||_0x12ce59['item']['parent']['maxOffset']>0x1)return;if(!_0x54bbf1['consumable']['consume'](_0x12ce59['item'],_0x83172a['name']))return;const _0x1fb457=_0x54bbf1['writer'],_0x34ab06=_0x54bbf1['mapper']['toViewRange'](_0x12ce59['range']);_0x1fb457['wrap'](_0x34ab06,_0x1fb457['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x220cfa){const _0xb0c42a=_0x220cfa['plugins']['get']('RevisionViewer');return(_0x1a3192,_0x9832ee,_0x423269)=>{const _0x2e0b49=_0x9832ee['markerName']['split'](':')[0x1],_0x35d8a9=_0xb0c42a['_getChangeFromId'](_0x2e0b49);if(!_0x35d8a9)return null;const _0x20c9d3='add'==_0x35d8a9['type']?'split':'merge';if(!_0x423269['consumable']['test'](_0x9832ee['markerRange'],_0x1a3192['name']))return;const _0x2c6ed9=_0x9832ee['markerRange']['getWalker'](),_0x5c9127=_0x9832ee['markerRange']['start'],_0x5180eb=_0x220cfa['model']['schema'];let _0x571a2f=null,_0x553f0c=null,_0x25567a=!0x1,_0x47baa7=!0x1;for(const _0x43a314 of _0x2c6ed9){const _0x35f07c=_0x43a314['item'];_0x25567a=_0x25567a||_0x5180eb['isContent'](_0x35f07c);const _0x4b2d2e=_0x423269['mapper']['toViewElement'](_0x35f07c);if(_0x4b2d2e&&_0x4b2d2e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x43a314['type']&&(_0x5180eb['isBlock'](_0x35f07c)&&!_0x5180eb['isLimit'](_0x35f07c)&&(_0x35f07c['nextSibling']||_0x5c9127['isAtEnd']?_0x571a2f&&_0x571a2f['parent']==_0x35f07c||(_0x571a2f=_0x35f07c,_0x42060c(_0x43a314['previousPosition']),_0x47baa7=!0x0):_0x553f0c=_0x553f0c||_0x43a314['previousPosition']));}function _0x42060c(_0x261baa){const _0x5bf735=_0x423269['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x20c9d3}),_0x1eed41=_0x423269['mapper']['toViewPosition'](_0x261baa);_0x35d8a9['data']['isSuggestion']&&_0x423269['writer']['addClass']('ck-suggestion-marker-'+_0x20c9d3+'-new',_0x5bf735),_0xb0c42a['activeChange']==_0x35d8a9&&_0x423269['writer']['addClass']('ck-suggestion-marker--active',_0x5bf735),_0x423269['writer']['insert'](_0x1eed41,_0x5bf735),_0x423269['mapper']['bindElementToMarker'](_0x5bf735,_0x9832ee['markerName']);}_0x25567a||_0x47baa7||!_0x553f0c||_0x42060c(_0x553f0c);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x632777,_0x9d107e,_0x2f869a)=>{const _0xe73151=_0x2f869a['mapper']['markerNameToElements'](_0x9d107e['markerName']);if(_0xe73151){for(const _0x25c3f4 of _0xe73151)(_0x25c3f4['hasClass']('ck-suggestion-marker-split')||_0x25c3f4['hasClass']('ck-suggestion-marker-merge'))&&(_0x2f869a['mapper']['unbindElementFromMarkerName'](_0x25c3f4,_0x9d107e['markerName']),_0x2f869a['writer']['remove'](_0x25c3f4));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x568390,_0x473be2,_0x216371)=>{const _0x36dbfd=_0x473be2['markerName']['split'](':')[0x1],_0x3b2203=this['_getChangeFromId'](_0x36dbfd);if(!_0x3b2203)return null;const _0x494563='add'==_0x3b2203['type']?'split':'merge';if(_0x216371['consumable']['test'](_0x473be2['markerRange'],_0x568390['name']))for(const _0x2db058 of _0x473be2['markerRange']['getItems']()){if(!_0x2db058['is']('element','softBreak'))continue;const _0x43fb2f=_0x216371['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x494563}),_0x56ed68=_0x216371['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x2db058));_0x3b2203['data']['isSuggestion']&&_0x216371['writer']['addClass']('ck-suggestion-marker-'+_0x494563+'-new',_0x43fb2f),this['activeChange']==_0x3b2203&&_0x216371['writer']['addClass']('ck-suggestion-marker--active',_0x43fb2f),_0x216371['writer']['insert'](_0x56ed68,_0x43fb2f),_0x216371['mapper']['bindElementToMarker'](_0x43fb2f,_0x473be2['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2a1e36=>{for(const _0x33ed07 of this['editor']['model']['document']['getRootNames']()){const _0x266ef8=this['editor']['model']['document']['getRoot'](_0x33ed07),_0x3605f7=this['editor']['editing']['view']['document']['getRoot'](_0x33ed07);if(_0x3605f7){const _0x3cb622=_0x266ef8['getAttribute']('revisionHistoryAttachChange');if(_0x2a1e36['removeAttribute']('data-change-id',_0x3605f7),_0x2a1e36['removeClass']('ck-revision-history-root-add',_0x3605f7),_0x2a1e36['removeClass']('ck-revision-history-root-remove',_0x3605f7),_0x2a1e36['removeClass']('ck-revision-history-root--active',_0x3605f7),_0x3cb622){const _0x55beaf=this['_getChangeFromId'](_0x3cb622);if(!_0x55beaf)return null;_0x2a1e36['setAttribute']('data-change-id',_0x3cb622,_0x3605f7),_0x2a1e36['addClass']('ck-revision-history-root-'+_0x55beaf['type'],_0x3605f7),this['activeChange']==_0x55beaf&&_0x2a1e36['addClass']('ck-revision-history-root--active',_0x3605f7);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3f8d72=>'revision-comment:'+_0x3f8d72,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x412fae=>'revision-suggestion:'+_0x412fae,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x54887c=>({'name':'suggestion:'+_0x54887c,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x217cae=>{const _0x16087b=_0x217cae['markerName']['split'](':')[0x1];return'insertion'!=_0x16087b&&'deletion'!=_0x16087b?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x16087b]};}}),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',(_0x49a307,_0x569de4,_0x24db81)=>{const _0x1ca0fa=_0x24db81['mapper']['markerNameToElements'](_0x569de4['markerName']);if(_0x1ca0fa){for(const _0x6bd8cd of _0x1ca0fa)_0x6bd8cd['is']('uiElement')&&(_0x24db81['mapper']['unbindElementFromMarkerName'](_0x6bd8cd,_0x569de4['markerName']),_0x24db81['writer']['remove'](_0x6bd8cd));}},{'priority':'high'});}['_getChangeFromId'](_0x56d32c){return this['_changeIdToChange']['get'](_0x56d32c);}['_getViewForChange'](_0x38bea3){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x38bea3),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x43f625,_0x262557,_0x396667,_0x276146)=>{_0x276146&&this['_balloon']['remove'](_0x276146),_0x396667&&(this['_balloon']['add']({'view':_0x396667,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x5d5ad8=this['editor']['editing'],_0x30fbaf=this['_getChangeFromId'](_0x396667['changeId']);let _0x200d25;if(_0x30fbaf['data']['isOnRoot']){const _0x3733ba=_0x5d5ad8['view']['getDomRoot'](_0x30fbaf['rootName']);_0x200d25=Array['from'](_0x3733ba['getClientRects']());}else{const _0xde2241=this['editor']['model']['markers']['get']('revision:'+_0x396667['changeId']);_0x200d25=Array['from'](_0x5d5ad8['mapper']['markerNameToElements'](_0xde2241['name']))['map'](_0x46e9ed=>_0x5d5ad8['view']['domConverter']['mapViewToDom'](_0x46e9ed))['map'](_0x2acb82=>Array['from'](_0x2acb82['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x200d25[0x0];return _0x200d25['find'](_0x328d5d=>_0x328d5d['top']-0x3<=this['_activeViewTarget']['y']&&_0x328d5d['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x328d5d['left']-0x3<=this['_activeViewTarget']['x']&&_0x328d5d['right']+0x3>=this['_activeViewTarget']['x'])||_0x200d25[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x58afd6,_0x5becfa,_0x2c4be3,_0x473d86)=>{this['activeView']=_0x2c4be3?this['_getViewForChange'](_0x2c4be3):null,this['editor']['model']['change'](()=>{const _0xcfdd07=this['editor']['editing'];_0x473d86&&(_0x473d86['data']['isOnRoot']?_0xcfdd07['view']['change'](_0x128eac=>{_0x128eac['removeClass']('ck-revision-history-root--active',_0xcfdd07['view']['document']['getRoot'](_0x473d86['rootName']));}):_0xcfdd07['reconvertMarker']('revision:'+_0x473d86['id'])),_0x2c4be3&&(_0x2c4be3['data']['isOnRoot']?_0xcfdd07['view']['change'](_0x543801=>{_0x543801['addClass']('ck-revision-history-root--active',_0xcfdd07['view']['document']['getRoot'](_0x2c4be3['rootName']));}):_0xcfdd07['reconvertMarker']('revision:'+_0x2c4be3['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2f85b4,_0x49db80)=>{if(this['activeChange'])return;const _0x37f119=this['_findChangeIdFromDomTarget'](_0x49db80['target']),_0x2ff0a8=this['_changeIdToChange']['get'](_0x37f119);_0x2ff0a8?(this['_activeViewTarget']={'x':_0x49db80['domEvent']['x'],'y':_0x49db80['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2ff0a8)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x1ef051,_0x3b7f96)=>{const _0x353add=this['_findChangeIdFromDomTarget'](_0x3b7f96['target']),_0x1a3164=this['_changeIdToChange']['get'](_0x353add);_0x1a3164?(this['_activeViewTarget']={'x':_0x3b7f96['domEvent']['x'],'y':_0x3b7f96['domEvent']['y']},_0x1a3164===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1a3164):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x4a14ae){do{const _0xc54f73=_0x4a14ae['getAttribute']('data-change-id');if(_0xc54f73)return _0xc54f73;_0x4a14ae=_0x4a14ae['parent'];}while(_0x4a14ae);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3387e9=>{for(const _0x1859ca of this['editor']['model']['markers'])_0x3387e9['removeMarker'](_0x1859ca);});}constructor(_0x3eff6a){super(_0x3eff6a),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',(_0x222c46,_0x5871a6,_0x4c33bb)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3e627f=>{for(const _0x3020ad of this['editor']['editing']['view']['document']['roots'])_0x4c33bb?_0x3e627f['removeClass']('ck-editor__editable__overlay',_0x3020ad):_0x3e627f['addClass']('ck-editor__editable__overlay',_0x3020ad);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0xa6c329=>null!==_0xa6c329),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xe733fa,_0xc79a69,_0x3db7ac)=>_0xe733fa&&_0x3db7ac?_0xc79a69['changes']['getIndex'](_0x3db7ac):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x130eee,_0x5d2dc3)=>_0x130eee?_0x5d2dc3['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x38c295);}}function et(_0x365c3a,_0xd2cfa8){return(_0x5e09c4,_0x1fb82a,_0x131cd1)=>{if(!_0x131cd1['consumable']['test'](_0x1fb82a['markerRange'],_0x5e09c4['name']))return;const _0x2a2fe1=_0x1fb82a['markerRange']['getWalker'](),_0x45412d=_0x1fb82a['markerRange']['start'],_0x4bc9ee=_0x365c3a['model']['schema'];let _0x3bacae=null,_0x532f68=null,_0x3f6437=!0x1,_0x1e195d=!0x1;for(const _0x4e8fb9 of _0x2a2fe1){const _0x1561d3=_0x4e8fb9['item'];_0x3f6437=_0x3f6437||_0x4bc9ee['isContent'](_0x1561d3);const _0x358f47=_0x131cd1['mapper']['toViewElement'](_0x1561d3);if(_0x358f47&&_0x358f47['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4e8fb9['type']&&(_0x4bc9ee['isBlock'](_0x1561d3)&&!_0x4bc9ee['isLimit'](_0x1561d3)&&(_0x1561d3['nextSibling']||_0x45412d['isAtEnd']?_0x3bacae&&_0x3bacae['parent']==_0x1561d3||(_0x3bacae=_0x1561d3,_0x58910f(_0x4e8fb9['previousPosition']),_0x1e195d=!0x0):_0x532f68=_0x532f68||_0x4e8fb9['previousPosition']));}function _0x58910f(_0x1cb88e){const _0x1fa292=_0x131cd1['mapper']['toViewPosition'](_0x1cb88e),_0x32b909=_0x131cd1['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xd2cfa8});_0x131cd1['writer']['insert'](_0x1fa292,_0x32b909),_0x131cd1['mapper']['bindElementToMarker'](_0x32b909,_0x1fb82a['markerName']);}_0x3f6437||_0x1e195d||!_0x532f68||_0x58910f(_0x532f68);};}class bt extends _0x80aed6{['execute'](){const _0x5712a4=this['editor'],_0x2cd2f2=_0x5712a4['plugins']['get'](d),_0x48a0f7=_0x2cd2f2['isReady']?_0x2cd2f2['diff']['newRevisionId']:null;_0x5712a4['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x48a0f7);}['refresh'](){const {isReady:_0x165bbf,isEnabled:_0x59cea8}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x165bbf&&_0x59cea8;}constructor(_0x318f9a){super(_0x318f9a);const _0x23141d=_0x318f9a['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x23141d,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x23141d,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x80aed6{['execute'](){const _0x5b8608=this['editor'],_0x24a297=_0x5b8608['plugins']['get'](d),{isNavigationMode:_0x27b054,currentChangeNumber:_0x21aa19}=_0x24a297;let _0x5900e0;if(_0x24a297['activeChange']=_0x27b054?_0x24a297['diff']['changes']['get'](_0x21aa19+this['_step']):_0x24a297['diff']['changes']['first'],_0x24a297['activeChange']['data']['isOnRoot'])_0x5900e0=_0x5b8608['editing']['view']['getDomRoot'](_0x24a297['activeChange']['rootName']);else{const _0x3e1ad8=_0x5b8608['model']['markers']['get']('revision:'+_0x24a297['activeChange']['id']);_0x5900e0=_0x1a9b63(_0x5b8608['editing'],_0x3e1ad8);}_0x369670({'target':_0x5900e0,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5ebb18,currentChangeNumber:_0x414f59,numberOfChanges:_0x3b1c18,isReady:_0x229b62,isEnabled:_0x43489c}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x43489c&&_0x229b62&&_0x3b1c18)&&(!_0x5ebb18||(0x1===this['_step']?_0x414f59<_0x3b1c18-0x1:_0x414f59>0x0));}constructor(_0x420f10,{direction:_0x2969d4}){super(_0x420f10);const _0x4f437e=_0x420f10['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2969d4?0x1:-0x1,this['listenTo'](_0x4f437e,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4f437e,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4f437e,'change:activeChange',()=>this['refresh']());}}class _i extends _0xf6ee6f{constructor(_0x181d95){super(_0x181d95);const _0xdad195=this['bindTemplate'],_0x2ea2ba=new _0x54e464(_0x181d95),_0x274397=new _0x54e464(_0x181d95);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',(_0x21130b,_0x52154d)=>_0x21130b&&_0x52154d>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x49d3bd,_0x1c2d4d,_0x5dd6a4,_0x5a13b6)=>{if(!_0x49d3bd)return y(_0x181d95,'Loading...');if(!_0x5dd6a4)return y(_0x181d95,'No\x20changes');const _0x433ce9=y(_0x181d95,'NUMBER_OF_CHANGES',_0x5dd6a4);return _0x5a13b6?y(_0x181d95,'X_OF_Y_CHANGES',[_0x1c2d4d+0x1,_0x5dd6a4]):_0x433ce9;}),_0x2ea2ba['set']({'label':y(_0x181d95,'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'}),_0x274397['set']({'label':y(_0x181d95,'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'}),_0x2ea2ba['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x274397['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x2ea2ba['on']('execute',()=>this['fire']('execute','backward')),_0x274397['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',_0xdad195['if']('_isStatusLabelVisible','ck-hidden',_0x2a3b88=>!_0x2a3b88)]},'children':[{'text':_0xdad195['to']('isNavigationMode',_0x4d81aa=>_0x4d81aa?y(_0x181d95,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x181d95,'Total')+':\x20')}]},{'text':_0xdad195['to']('_statusText')}]},new _0x4372b2(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x2ea2ba,_0x274397]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x51b9c7{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x13e900=this['editor']['editing']['view'];_0x13e900['change'](_0x35e5c8=>{for(const _0x285f0b of _0x13e900['document']['roots'])_0x35e5c8['addClass'](ce,_0x285f0b);});}['hide'](){const _0x1dd4a0=this['editor']['editing']['view'];_0x1dd4a0['change'](_0x4760a6=>{for(const _0x23c012 of _0x1dd4a0['document']['roots'])_0x4760a6['removeClass'](ce,_0x23c012);});}}class R extends _0x51b9c7{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x181ce4=this['editor'],_0x2e0ec7=_0x181ce4['plugins']['get'](d),_0x1c09b9=_0x181ce4['plugins']['get'](de);_0x181ce4['ui']['componentFactory']['add']('exitToEditing',_0x558067=>{const _0x4a848f=new _0x54e464(_0x558067);return _0x4a848f['set']({'label':y(_0x558067,'Back\x20to\x20editing'),'icon':_0x3f8e84['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4a848f,'execute',()=>{_0x181ce4['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4a848f;}),_0x181ce4['ui']['componentFactory']['add']('restoreRevision',_0x21f7ed=>{const _0x3970bb=new _0x54e464(_0x21f7ed);return _0x3970bb['set']({'label':y(_0x21f7ed,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3970bb['bind']('isEnabled')['to'](_0x181ce4['commands']['get']('restoreRevision')),this['listenTo'](_0x3970bb,'execute',()=>_0x181ce4['execute']('restoreRevision')),_0x3970bb;}),_0x181ce4['ui']['componentFactory']['add']('changesNavigation',_0x4919ec=>{const _0x284391=new _i(_0x4919ec),_0x1b6475=_0x181ce4['commands']['get']('showPreviousChange'),_0x4df3ed=_0x181ce4['commands']['get']('showNextChange');return _0x284391['bind']('isBackwardNavigationEnabled')['to'](_0x1b6475,'isEnabled'),_0x284391['bind']('isForwardNavigationEnabled')['to'](_0x4df3ed,'isEnabled'),_0x284391['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x2e0ec7),this['listenTo'](_0x284391,'execute',(_0x36d5ec,_0x3b6398)=>{_0x181ce4['execute']('forward'===_0x3b6398?'showNextChange':'showPreviousChange');}),_0x284391;}),_0x1c09b9['show'](),_0x2e0ec7['on']('change:isReady',(_0x14c78e,_0x45d2ff,_0x250f28)=>{_0x250f28?_0x1c09b9['hide']():_0x1c09b9['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x414585=this['fieldView']['element'];this['_tooltipString']=_0x414585['scrollWidth']>_0x414585['clientWidth']&&_0x414585['value']||'';}constructor(_0x325fd1,_0x1c6f09){super(_0x325fd1,_0x1c6f09),this['_resizeObserver']=null;const _0x13a8dc=this['bindTemplate'];this['set']({'label':y(_0x325fd1,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x325fd1,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x13a8dc['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0xf6ee6f{constructor(_0x1532d0,_0x4c76e3,_0x5793c0){super(_0x1532d0);const _0x10238a=new _0x361848();_0x10238a['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 _0x374797=['ck','ck-revision-history-sidebar__revision-author'];_0x5793c0&&_0x374797['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5f1ec7=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x1532d0,_0x5793c0?'Revision\x20creator':'Revision\x20author')},'children':[_0x10238a,_0x4c76e3['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x374797},'children':_0x5f1ec7});}}function ni(_0x1c7f27,_0x2caf7c){const _0x3c2af0=_0x1c7f27['bindTemplate'],_0x522043=_0x1c7f27['locale'],_0xe70a89=_0x494f39(_0x522043);_0xe70a89['panelPosition']='sw';const _0x22b2ca=function(_0x20457b,_0x8ebc39){const _0x206e29=function(_0x2f9a21,_0x44fcb2){const _0x55736b=_0x2f9a21['locale'],_0x2b9ca0={'Compare\x20against\x20selected':y(_0x55736b,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x55736b,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x55736b,'Restore\x20this\x20revision')};return _0x44fcb2['map'](_0x38fc74=>{const _0x58026f=_0x2b9ca0[_0x38fc74['name']];return _0x58026f&&_0x58026f!==_0x38fc74['name']&&(_0x38fc74['name']=_0x58026f),_0x38fc74;});}(_0x20457b,_0x8ebc39),_0x44c9d7=new _0x2e5c77();for(const _0x225586 of _0x206e29){const _0xeafd91={'type':'button','model':new to({'label':_0x225586['name'],'class':_0x225586['class'],'withText':!0x0,'role':'menuitem','_action':_0x225586['action']})};_0xeafd91['model']['bind']('isEnabled')['to'](_0x20457b,'isActionsDropdownOpen',_0x1f7616=>'function'!=typeof _0x225586['isEnabled']||(!_0x1f7616||_0x225586['isEnabled'](_0x20457b))),_0x44c9d7['add'](_0xeafd91);}return _0x44c9d7;}(_0x1c7f27,_0x2caf7c);return _0x1c7f27['bind']('isActionsDropdownOpen')['to'](_0xe70a89,'isOpen'),_0xe70a89['buttonView']['set']({'label':y(_0x522043,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3f8e84['threeVerticalDots']}),_0xe70a89['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x3c2af0['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x3c2af0['to'](_0x4a17ba=>_0x4a17ba['stopPropagation']())}}),_0xe70a89['on']('execute',_0x3871a5=>{_0x1c7f27['isReady']&&'function'==typeof _0x3871a5['source']['_action']&&_0x3871a5['source']['_action'](_0x1c7f27);}),_0x372348(_0xe70a89,_0x22b2ca,{'role':'menu'}),_0xe70a89['listenTo'](_0x1c7f27,'change:isActionsDropdownOpen',(_0x362b8e,_0x21028d,_0xdd8074)=>{if(_0xdd8074)for(const _0x2a534f of _0xe70a89['listView']['items']){const _0x45c01d=_0x2a534f['children']['first'],_0x51ac3f=_0x2caf7c['find'](_0x5f1a48=>_0x5f1a48['action']===_0x45c01d['_action'])['isVisible'];_0x2a534f['isVisible']=void 0x0===_0x51ac3f||_0x51ac3f(_0x1c7f27);}}),_0xe70a89;}class ai extends _0x329533(_0xf6ee6f){['render'](){super['render']();const _0x2bfc56=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2bfc56,'change',()=>{this['_requireRevisionName']&&!_0x2bfc56['value']||this['fire']('setName',{'id':this['id'],'name':_0x2bfc56['value']}),_0x2bfc56['value']||(_0x2bfc56['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0x8e6551,_0x159b48,_0x459ad6,_0x12ce4c){super(_0x8e6551);const _0x2419fa=this['bindTemplate'],_0x47c0e9=function(_0x212d77,_0x27eee1){const _0x1f1f7f=Array['from'](_0x27eee1['authors'])['filter'](_0x582ae0=>_0x582ae0!=_0x27eee1['creator']);return _0x27eee1['creator']&&_0x1f1f7f['unshift'](_0x27eee1['creator']),_0x1f1f7f['map'](_0x5e31bf=>new ti(_0x212d77,_0x5e31bf,_0x5e31bf==_0x27eee1['creator']));}(_0x8e6551,_0x159b48);this['id']=_0x159b48['id'],this['_revision']=_0x159b48,this['_requireRevisionName']=_0x12ce4c,this['bind']('name','createdAt')['to'](_0x159b48),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x4f1142=>{return _0x9b4b40=_0x8e6551['uiLanguage'],(_0x2f4102=_0x4f1142)['toLocaleDateString'](_0x9b4b40,{'month':'long','day':'numeric'})+',\x20'+_0x2f4102['toLocaleTimeString'](_0x9b4b40,{'hour':'numeric','minute':'numeric'});var _0x9b4b40,_0x2f4102;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0x8e6551,_0x1ff45c),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2b2e66=>_0x2b2e66||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x4369ad,_0x2e5a6a)=>_0x4369ad&&_0x2e5a6a),this['revisionActionsView']=_0x459ad6&&_0x459ad6['length']?ni(this,_0x459ad6):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x2419fa['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x2419fa['if']('isEnabled','ck-disabled',_0x57fe1c=>!_0x57fe1c),_0x2419fa['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x2419fa['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x2419fa['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':_0x2419fa['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':_0x47c0e9}]},this['revisionActionsView']],'on':{'click':_0x2419fa['to'](_0x32d1b7=>{_0x32d1b7['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x1a002f,_0x4f69f5){const _0x14b596=_0x3fbfc5['fromJSDate'](_0x1a002f)['setLocale'](_0x4f69f5),_0x39bf72=_0x3fbfc5['local'](),_0x25e920=_0x39bf72['minus']({'days':0x1})['startOf']('day');let _0x2f6878,_0x35553c;return _0x14b596['hasSame'](_0x39bf72,'day')?(_0x2f6878=_0x14b596['startOf']('day')['toJSDate'](),_0x35553c=_0x14b596['toRelativeCalendar']()):_0x14b596['hasSame'](_0x25e920,'day')?(_0x2f6878=_0x25e920['toJSDate'](),_0x35553c=_0x14b596['toRelativeCalendar']()):_0x14b596['hasSame'](_0x39bf72,'week')?(_0x2f6878=_0x14b596['startOf']('week')['toJSDate'](),_0x35553c=_0x14b596['weekdayLong']||''):_0x14b596['hasSame'](_0x39bf72,'year')?(_0x2f6878=_0x14b596['startOf']('month')['toJSDate'](),_0x35553c=_0x14b596['monthLong']||''):(_0x2f6878=_0x14b596['startOf']('year')['toJSDate'](),_0x35553c=String(_0x14b596['year'])),{'startDate':_0x2f6878,'localizedPeriodName':_0x35553c};}class mi extends _0xf6ee6f{['addRevision'](_0x41df5a){const _0x35f550=new ai(this['locale'],_0x41df5a,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x35f550);}['removeRevision'](_0x327387){const _0x24005c=this['revisionViews']['find'](_0xecb98c=>_0xecb98c['id']===_0x327387['id']);this['revisionViews']['remove'](_0x24005c);}constructor(_0x497fc8,_0x38697c,_0x530f2c,_0x61358c){super(_0x497fc8);const _0x427f03=di(_0x38697c,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x38697c,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x530f2c,this['_requireRevisionName']=_0x61358c,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':_0x427f03}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0xf6ee6f{constructor(_0x467300){super(_0x467300);const _0x4ce439=new _0x361848();_0x4ce439['content']=_0x3f8e84['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x4ce439,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x467300,'Revision\x20history')]}]});}}class ci extends _0xf6ee6f{['render'](){super['render']();for(const _0x3d006e of this['_revisions'])this['_addRevision'](_0x3d006e);this['_revisions']['on']('add',(_0x5889da,_0x462db8)=>{this['_addRevision'](_0x462db8);}),this['_revisions']['on']('remove',(_0x189673,_0x2d6e30)=>{this['_removeRevision'](_0x2d6e30);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x234b07=>_0x234b07['revisionViews']['map'](_0x43cde3=>_0x43cde3))['flat']();}['selectRevision'](_0x2ddc97){for(const _0x1985f9 of this['revisionViews'])_0x2ddc97&&_0x2ddc97['id']===_0x1985f9['id']?_0x1985f9['select']():_0x1985f9['deselect']();}['highlightRevisions'](_0x44c7f1){for(const _0xc68bd0 of this['revisionViews'])_0x44c7f1['some'](({id:_0x32a56b})=>_0x32a56b===_0xc68bd0['id'])?_0xc68bd0['highlight']():_0xc68bd0['unhighlight']();}['_addRevision'](_0x2127d5){const _0x31ce07=di(_0x2127d5['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1dc045=this['timePeriodViews']['get'](0x0);_0x1dc045&&_0x1dc045['startDate']['getTime']()===_0x31ce07['getTime']()||(_0x1dc045=new mi(this['locale'],_0x31ce07,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1dc045)),_0x1dc045['addRevision'](_0x2127d5);}['_removeRevision'](_0x232b90){const _0x1c05b7=di(_0x232b90['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1c05b7)['removeRevision'](_0x232b90);}['_getTimePeriodViewByStartDate'](_0x86b085){return this['timePeriodViews']['find'](_0x1dd664=>_0x1dd664['startDate']['getTime']()===_0x86b085['getTime']());}constructor(_0x4a000e,_0x47bcf1,_0x324689,_0x43ab49){super(_0x4a000e);const _0x224a46=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x47bcf1,this['_revisionActions']=_0x324689,this['_requireRevisionName']=_0x43ab49,this['on']('select',(_0x70511f,_0x3682ea)=>{this['fire']('revisionSelected',_0x3682ea);}),this['on']('setName',(_0x41407e,_0x526795)=>{this['fire']('revisionSetName',_0x526795);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x4a000e),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x224a46['if']('isEnabled','ck-disabled',_0x993b11=>!_0x993b11)]},'children':this['timePeriodViews']}]});}}class w extends _0x51b9c7{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x476356=this['_revisionsRepository']['_revisions'],_0x49ef28=this['_createRevisionActions'](),_0x12fcac=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x476356,_0x49ef28,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',(_0x5abdb9,_0x2ba9f2)=>{_0x2ba9f2['revisionViews']['on']('add',(_0x3b5da5,_0x6ca7c5)=>{_0x6ca7c5['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)),_0x12fcac['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x58a38c=this['_revisionsRepository']['getRevision'](0x0);if(_0x58a38c){const _0x5dc635=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x58a38c['id']);this['_revisionViewer']['compare'](_0x58a38c,_0x5dc635);}}['_handleRevisionSelected'](_0x9a3c8b,_0x2373a6){const _0x1159c6=this['_revisionsRepository']['getRevision'](_0x2373a6['id']),_0x5493da=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1159c6['id']);this['_revisionViewer']['compare'](_0x1159c6,_0x5493da);}['_handleRevisionSetName'](_0x19fd29,_0x304049){this['_revisionsRepository']['getRevision'](_0x304049['id'])['setName'](_0x304049['name']);}['_handleDiffChange'](_0x29d8cc,_0x3d77ef,_0x2575b6){const _0x5bd05a=this['_revisionsRepository']['getRevisionsInDiff'](_0x2575b6);_0x5bd05a['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x5bd05a),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x5bd05a[0x0]));}['_createRevisionActions'](){const _0x426b1f=this['editor'],_0x546a0c=w['availableRevisionActions'],_0x4efb66=_0x426b1f['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x4efb66['length'])return _0x4efb66['map'](_0x11bfb6=>{const _0x150d76='string'==typeof _0x11bfb6?Object['assign']({},_0x546a0c[_0x11bfb6]):_0x11bfb6;return _0x150d76['action']=_0x150d76['action']['bind'](this,_0x426b1f),_0x150d76['isVisible']&&(_0x150d76['isVisible']=_0x150d76['isVisible']['bind'](this,_0x426b1f)),_0x150d76;});}constructor(_0x4ddc1a){super(_0x4ddc1a),this['_revisionViewer']=_0x4ddc1a['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x4edbaf},_0x3830f3)=>{const _0x3ef43b=_0x4edbaf['get'](d),_0x5207d6=_0x3ef43b['repository'];let _0x5b10c4=_0x3ef43b['diff']['newRevisionId'],_0x47f512=_0x3830f3['id'];_0x5207d6['getIndex'](_0x5b10c4)>_0x5207d6['getIndex'](_0x47f512)&&([_0x5b10c4,_0x47f512]=[_0x47f512,_0x5b10c4]),_0x3ef43b['compare'](_0x5b10c4,_0x47f512);},'isVisible':({plugins:_0x8b4485},_0x3d0472)=>{const _0x4ec49b=_0x8b4485['get'](d);return!(_0x4ec49b['repository']['getRevisionsInDiff'](_0x4ec49b['diff'])['length']>0x2)&&!_0x3d0472['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x360be5,{id:_0x18b4f5})=>{_0x360be5['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x18b4f5);},'isVisible':({plugins:_0x25e72b},_0x1fbecd)=>!!_0x25e72b['get'](d)['repository']['getLaterVisibleRevision'](_0x1fbecd['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x4084f6},{id:_0x4e6a4a,revisionNameView:_0x1e5517})=>{const _0x503476=_0x4084f6['get'](d),_0x7d7345=_0x503476['repository']['getEarlierVisibleRevision'](_0x4e6a4a);_0x503476['compare'](_0x4e6a4a,_0x7d7345),_0x1e5517['focus'](),_0x1e5517['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x4a5bca){const _0x56fce3=this['editor'],_0x48a82a=this['view'],_0x9c969f=_0x56fce3['editing']['view'],_0x651e9f=_0x48a82a['editable'],_0x48d703=_0x9c969f['document']['getRoot']();_0x651e9f['name']=_0x48d703['rootName'],_0x48a82a['render']();const _0x4b511e=_0x651e9f['element'];this['setEditableElement'](_0x651e9f['name'],_0x4b511e),_0x48a82a['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x9c969f['attachDomRoot'](_0x4b511e),this['_elementReplacer']['replace'](_0x4a5bca,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x6a5e46=this['view'],_0x1ba277=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1ba277['detachDomRoot'](_0x6a5e46['editable']['name']),_0x6a5e46['destroy']();}['_initToolbar'](){const _0x26df49=this['view'];_0x26df49['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x26df49['stickyPanel']['limiterElement']=_0x26df49['element'],_0x26df49['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x330479})=>_0x330479),_0x26df49['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x26df49['toolbar']);}constructor(_0x2fa9f3,_0x12564a){super(_0x2fa9f3),this['_view']=_0x12564a,this['_toolbarConfig']=ct(_0x2fa9f3['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x4247db,_0x58de1e,_0x593ff7={}){super(_0x4247db),this['stickyPanel']=new lt(_0x4247db),this['toolbar']=new pt(_0x4247db,{'shouldGroupWhenFull':_0x593ff7['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4247db,_0x58de1e);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x36ee74,_0xbd85c2){const _0x18d014=new this(_0x36ee74,_0xbd85c2);return await _0x18d014['initPlugins'](),await _0x18d014['ui']['init'](_0x36ee74),await _0x18d014['data']['init'](_0x18d014['config']['get']('initialData')||''),_0x18d014['fire']('ready'),_0x18d014;}constructor(_0x242379,_0x3288ce){super(_0x3288ce),this['sourceElement']=_0x242379,this['model']['document']['createRoot']();const _0x2cdef1=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x2cdef1);}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x51b9c7{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x3ca034){super(_0x3ca034),this['result']='end';}}class H extends _0x51b9c7{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0x37bc71){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x37bc71;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5da0f0){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5da0f0);}['getRevision'](_0x4371ac){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x4371ac);}['getRevisions'](_0x5d9406={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x5d9406);}['_getRevisionViewerEditorConfig'](){const _0x13b476=this['editor'],_0x2db4ec=_0x383233(_0x13b476,p),_0x107c35=_0x13b476['plugins']['get']('RevisionTracker'),_0x4eb0c7=_0x13b476['plugins']['get']('Users')['users'];return _0x2db4ec['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2db4ec['lazyRoots'],(_0x2db4ec['plugins']['push'](k,d,R,class extends _0x51b9c7{static get['requires'](){return[d,'Users'];}['init'](){const _0x4a8a85=this['editor']['plugins']['get']('Users');for(const _0xe003ae of _0x4eb0c7)_0xe003ae['isAnonymous']||_0x4a8a85['getUser'](_0xe003ae['id'])||_0x4a8a85['addUser'](_0xe003ae);const _0x35e348=_0x107c35['repository']['getRevisions']();let _0x288dcf=null;const _0x1872ff=this['editor']['plugins']['get']('RevisionViewer');_0x1872ff['adapter']=_0x107c35['adapter'],_0x1872ff['bind']('isEnabled')['to'](_0x107c35),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x13b476,'isReadOnly',_0x4c258e=>!_0x4c258e);for(const _0x23d445 of _0x35e348){const _0x2c96b6=null===_0x23d445['creator'];if(_0x2c96b6&&_0x23d445['toVersion']===_0x23d445['fromVersion'])continue;const _0x5f24c5=_0x23d445['toJSON']();_0x1872ff['addRevisionData'](_0x5f24c5,(_0x152b54,_0x1c7e35,_0x1d376f)=>{if(_0x2c96b6){if(_0x288dcf)_0x288dcf['_update'](_0x152b54,_0x1c7e35);else{if(!_0x1c7e35){const _0x405fae=_0x1d376f['toJSON']();_0x405fae['id']=_0x3ac1f9(),_0x107c35['saveRevision'](_0x405fae,_0x1d376f['toVersion'])['then'](_0xf5fd0d=>{_0x288dcf=_0xf5fd0d;});}}}else _0x23d445['_update'](_0x152b54,_0x1c7e35);});}}},w),_0x2db4ec);}['_enhanceShowRevisionViewerCallback'](){const _0x23582e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x56fb4e=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x50c48a=this['editor']['plugins']['get']('Autosave');await _0x50c48a['save']();}else await _0x56fb4e['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1c0328=this['editor']['plugins']['get']('Dialog');_0x1c0328['isOpen']&&_0x1c0328['hide']();}const _0x90269a=this['_getRevisionViewerEditorConfig']();return _0x23582e(_0x90269a)['then'](_0x51f367=>{return(this['_viewerEditor']=_0x51f367,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x51f367;})['catch'](_0x1c0037=>(console['error'](_0x1c0037),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x18d994=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'](),_0x18d994(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x366965=this['editor']['plugins']['get']('Annotations');_0x366965['refreshVisibility'](),_0x366965['refreshPositioning']();}})));}['_showRevisionViewer'](_0xe68f09){const _0x822c7a=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x4004fb=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x46f009=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x46f009,_0xe68f09)['then'](_0x21bab9=>(_0x4004fb['style']['display']='block',_0x822c7a['style']['display']='none',_0x21bab9));}['_closeRevisionViewer'](_0x2daa39){const _0x38c17c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x38c17c['style']['display']='',_0x2daa39['destroy']();}async['_restoreRevision'](_0x3374a8){const _0x2674b8=this['editor'],_0x4288d3=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5e0822=_0x2674b8['plugins']['get']('RevisionTracker'),_0x5e81a2=_0x4288d3['repository']['getRevision'](_0x3374a8);let _0x53441d,_0x1f7ab6,_0x2b0296;try{_0x53441d=await _0x4288d3['getRevisionData'](_0x5e81a2),_0x1f7ab6=await _0x4288d3['getRevisionRootsAttributes'](_0x5e81a2);}catch(_0x6da1b2){return void console['error'](_0x6da1b2);}_0x2674b8['model']['change'](_0x2b2adb=>{for(const _0x2d3bdc of Array['from'](_0x2674b8['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2b2adb['removeMarker'](_0x2d3bdc);}),_0x4288d3['isReady']=!0x1,_0x2674b8['model']['enqueueChange'](_0x34b0af=>{_0x34b0af['setSelection'](null),_0x34b0af['removeSelectionAttribute'](_0x2674b8['model']['document']['selection']['getAttributeKeys']());const _0x25b708=Object['keys'](_0x53441d);for(const _0x5bed6a of _0x2674b8['model']['document']['roots'])'$graveyard'!=_0x5bed6a['rootName']&&_0x5bed6a['isAttached']()&&!_0x25b708['includes'](_0x5bed6a['rootName'])&&_0x34b0af['detachRoot'](_0x5bed6a);for(const _0x29e3fb of _0x25b708){let _0x3dddf6=_0x2674b8['model']['document']['getRoot'](_0x29e3fb);_0x3dddf6&&_0x3dddf6['isAttached']()||(_0x3dddf6=_0x34b0af['addRoot'](_0x29e3fb));const _0x355a90=_0x1f7ab6[_0x29e3fb],_0x503e27=Object['keys'](_0x355a90),_0x3b4c8d=_0x53441d[_0x29e3fb];for(const _0x10c0d6 of _0x3dddf6['getAttributeKeys']())_0x503e27['includes'](_0x10c0d6)||_0x34b0af['removeAttribute'](_0x10c0d6,_0x3dddf6);for(const _0x4bbb75 of _0x503e27)_0x34b0af['setAttribute'](_0x4bbb75,_0x1f7ab6[_0x29e3fb][_0x4bbb75],_0x3dddf6);_0x34b0af['remove'](_0x34b0af['createRangeIn'](_0x3dddf6)),_0x34b0af['insert'](_0x2674b8['data']['parse'](_0x3b4c8d,_0x3dddf6),_0x3dddf6,0x0);}});const _0x1ed47a=y(_0x2674b8['locale'],'Restored');if(_0x5e81a2['name'])_0x2b0296=-0x1==_0x5e81a2['name']['indexOf'](_0x1ed47a)?_0x1ed47a+':\x20'+_0x5e81a2['name']:_0x5e81a2['name'];else _0x2b0296=_0x1ed47a+':\x20'+(_0x5e81a2['createdAt']['toLocaleDateString'](_0x2674b8['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x5e81a2['createdAt']['toLocaleTimeString'](_0x2674b8['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5e0822['saveRevision']({'name':_0x2b0296}),_0x4288d3['isReady']=!0x0,_0x2674b8['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x44ccfc){if(super(_0x44ccfc),!this['editor']['config']['get']('revisionHistory'))throw new _0x1cb978('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x55042c=>this['_showRevisionViewer']({..._0x55042c,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x221d5b=>this['_closeRevisionViewer'](_0x221d5b)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x453bd2=>this['_restoreRevision'](_0x453bd2)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}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};
23
+ import{Plugin as _0x201084,Context as _0x5f0bc3,PendingActions as _0x5a27cf,icons as _0x13a4f6,Command as _0x239839,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x4e1e23,uid as _0x4847d5,Collection as _0x5909d2,logWarning as _0xfb08dd,FocusTracker as _0x293c41,KeystrokeHandler as _0x4d24f0,scrollViewportToShowTarget as _0x5afe8a,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x3cd6b0}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5b1d7a,getMarkerDomElement as _0xe9211d,ConfirmMixin as _0x216125,sanitizeEditorConfig as _0x4756b8}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0xc0256f,ViewText as _0x322c24,ViewElement as _0x183126,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x3384fd,ViewAttributeElement as _0x4a25d5,ViewEmptyElement as _0x87460b,ViewRawElement as _0x4b4c84,ViewUIElement as _0x197f1d,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x363356,set as _0x456735,unset as _0x2871fe,isEqual as _0x2d46f6}from'lodash-es';import{View as _0x4430a9,injectCssTransitionDisabler as ts,submitHandler as _0x4ac12e,LabeledFieldView as at,createLabeledInputText as _0x30d323,createDropdown as _0xa714a4,ListView as te,ListItemView as _0x13cdd,ButtonView as _0x9a604c,MenuBarMenuView as _0x494e8a,MenuBarMenuListView as _0x52bea3,MenuBarMenuListItemView as _0x20c081,MenuBarMenuListItemButtonView as _0x11a89a,ContextualBalloon as _0x5dc87b,ToolbarSeparatorView as _0x368505,IconView as _0x504c5d,addListToDropdown as _0x3c1d92,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 _0x50a473}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x4e1e23(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0xc51abc){super(),this['id']=_0xc51abc['id']||_0x4847d5(),this['creator']=_0xc51abc['creator']||null,this['authors']=_0xc51abc['authors']||[],this['diffData']=_0xc51abc['diffData']||null,this['toVersion']=_0xc51abc['toVersion']||0x0,this['fromVersion']=_0xc51abc['fromVersion']||0x0,this['set']('name',_0xc51abc['name']||''),this['set']('createdAt',_0xc51abc['createdAt']||new Date()),this['set']('attributes',_0xc51abc['attributes']||{});}['setName'](_0x467399){this['_update']({'name':_0x467399});}['setAttribute'](_0x5190e8,_0x3612df){const _0x5bf108=_0x363356(this['attributes']);_0x456735(_0x5bf108,_0x5190e8,_0x3612df),this['_update']({'attributes':_0x5bf108});}['removeAttribute'](_0x5eb9f7){const _0x2a636f=_0x363356(this['attributes']);_0x2871fe(_0x2a636f,_0x5eb9f7),this['_update']({'attributes':_0x2a636f});}['_update'](_0x579480,_0x38789f=!0x1){let _0x444305=!0x1;const _0x13ed63={'id':this['id']},_0x45dce3=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x2afacf of _0x45dce3){const _0x1043c2=_0x579480[_0x2afacf];void 0x0!==_0x1043c2&&_0x1043c2!==this[_0x2afacf]&&(this[_0x2afacf]=_0x1043c2,_0x13ed63[_0x2afacf]=_0x1043c2,_0x444305=!0x0);}_0x444305&&(_0x13ed63['authors']&&(_0x13ed63['authorsIds']=_0x13ed63['authors']['map'](_0x324f6e=>_0x324f6e['id']),delete _0x13ed63['authors']),this['fire']('_update',_0x13ed63,_0x38789f));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x1ed04d=>_0x1ed04d['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x201084{['_revisions'];static get['requires'](){return[_0x5b1d7a];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x3e9fc3){super(_0x3e9fc3),this['_revisions']=new _0x5909d2();}['afterInit'](){!function(_0x51a1b0){function _0x31a8c0(_0x163559,_0x2ce776,_0x153cca){const _0x11ae0a={};_0x11ae0a[_0x57251d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x11ae0a[_0x57251d([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],_0x11ae0a[_0x57251d([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],_0x11ae0a[_0x57251d([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],_0x11ae0a[_0x57251d([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],_0x11ae0a[_0x57251d([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],_0x11ae0a[_0x57251d([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],_0x11ae0a[_0x57251d([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],_0x11ae0a[_0x57251d([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],_0x11ae0a[_0x57251d([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],_0x11ae0a[_0x57251d([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 _0x19d874=new Uint8Array(0x10);for(let _0x577baf=0xf;_0x577baf>=0x0;--_0x577baf)_0x19d874[_0x577baf]=_0x153cca%0x100,_0x153cca=parseInt(_0x153cca/0x100);let _0x136557=null,_0x154f57=0x10;const _0x59f9f8=new Uint8Array(_0x2ce776),_0x27b12a=[],_0x267e0d=[];_0x3f084e();for(let _0x48c5c4=0x0;_0x48c5c4<_0x163559[_0x57251d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48c5c4++)0x10===_0x154f57&&(_0x136557=_0x390a93(_0x19d874),_0x154f57=0x0,_0x5400fc(_0x19d874)),_0x163559[_0x48c5c4]^=_0x136557[_0x154f57++];return _0x163559;function _0x521c10(_0x110a45){const _0x5f5b21=[];for(let _0x425c8d=0x0;_0x425c8d<_0x110a45[_0x57251d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x425c8d+=0x4)_0x5f5b21[_0x57251d([0x70,0x75,0x73,0x68])](_0x110a45[_0x425c8d]<<0x18|_0x110a45[_0x425c8d+0x1]<<0x10|_0x110a45[_0x425c8d+0x2]<<0x8|_0x110a45[_0x425c8d+0x3]);return _0x5f5b21;}function _0x5400fc(_0xecd7dd){for(let _0x46f45d=0xf;_0x46f45d>=0x0;_0x46f45d--){if(0xff!==_0xecd7dd[_0x46f45d]){_0xecd7dd[_0x46f45d]++;break;}_0xecd7dd[_0x46f45d]=0x0;}}function _0x390a93(_0x283eb2){const _0x18d271=_0x27b12a[_0x57251d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x13d6cb=[0x0,0x0,0x0,0x0];let t=_0x521c10(_0x283eb2);for(let _0x4bcc70=0x0;_0x4bcc70<0x4;_0x4bcc70++)t[_0x4bcc70]^=_0x27b12a[0x0][_0x4bcc70];for(let _0xc31dc6=0x1;_0xc31dc6<_0x18d271;_0xc31dc6++){for(let _0x12238a=0x0;_0x12238a<0x4;_0x12238a++)_0x13d6cb[_0x12238a]=_0x11ae0a[_0x57251d([0x54,0x31])][t[_0x12238a]>>0x18&0xff]^_0x11ae0a[_0x57251d([0x54,0x32])][t[(_0x12238a+0x1)%0x4]>>0x10&0xff]^_0x11ae0a[_0x57251d([0x54,0x33])][t[(_0x12238a+0x2)%0x4]>>0x8&0xff]^_0x11ae0a[_0x57251d([0x54,0x34])][0xff&t[(_0x12238a+0x3)%0x4]]^_0x27b12a[_0xc31dc6][_0x12238a];t=_0x13d6cb[_0x57251d([0x73,0x6c,0x69,0x63,0x65])]();}const _0x173839=new Uint8Array(0x10);let _0x5e8360;for(let _0x3559e2=0x0;_0x3559e2<0x4;_0x3559e2++)_0x5e8360=_0x27b12a[_0x18d271][_0x3559e2],_0x173839[0x4*_0x3559e2]=0xff&(_0x11ae0a[_0x57251d([0x53])][t[_0x3559e2]>>0x18&0xff]^_0x5e8360>>0x18),_0x173839[0x4*_0x3559e2+0x1]=0xff&(_0x11ae0a[_0x57251d([0x53])][t[(_0x3559e2+0x1)%0x4]>>0x10&0xff]^_0x5e8360>>0x10),_0x173839[0x4*_0x3559e2+0x2]=0xff&(_0x11ae0a[_0x57251d([0x53])][t[(_0x3559e2+0x2)%0x4]>>0x8&0xff]^_0x5e8360>>0x8),_0x173839[0x4*_0x3559e2+0x3]=0xff&(_0x11ae0a[_0x57251d([0x53])][0xff&t[(_0x3559e2+0x3)%0x4]]^_0x5e8360);return _0x173839;}function _0x3f084e(){const _0x4a8c16=_0x11ae0a[_0x57251d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x59f9f8[_0x57251d([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x198d57=0x0;_0x198d57<=_0x4a8c16;_0x198d57++)_0x27b12a[_0x57251d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x267e0d[_0x57251d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x284a67=0x4*(_0x4a8c16+0x1),_0x147951=_0x59f9f8[_0x57251d([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x419820=_0x521c10(_0x59f9f8);let _0x323e6d;for(let _0x3b8699=0x0;_0x3b8699<_0x147951;_0x3b8699++)_0x323e6d=_0x3b8699>>0x2,_0x27b12a[_0x323e6d][_0x3b8699%0x4]=_0x419820[_0x3b8699],_0x267e0d[_0x4a8c16-_0x323e6d][_0x3b8699%0x4]=_0x419820[_0x3b8699];let _0x13e642,_0x8a907f=0x0,t=_0x147951;for(;t<_0x284a67;){_0x13e642=_0x419820[_0x147951-0x1],_0x419820[0x0]^=_0x11ae0a[_0x57251d([0x53])][_0x13e642>>0x10&0xff]<<0x18^_0x11ae0a[_0x57251d([0x53])][_0x13e642>>0x8&0xff]<<0x10^_0x11ae0a[_0x57251d([0x53])][0xff&_0x13e642]<<0x8^_0x11ae0a[_0x57251d([0x53])][_0x13e642>>0x18&0xff]^_0x11ae0a[_0x57251d([0x72,0x63,0x6f,0x6e])][_0x8a907f]<<0x18,_0x8a907f+=0x1;for(let _0x411531=0x1;_0x411531<_0x147951/0x2;_0x411531++)_0x419820[_0x411531]^=_0x419820[_0x411531-0x1];_0x13e642=_0x419820[_0x147951/0x2-0x1],_0x419820[_0x147951/0x2]^=_0x11ae0a[_0x57251d([0x53])][0xff&_0x13e642]^_0x11ae0a[_0x57251d([0x53])][_0x13e642>>0x8&0xff]<<0x8^_0x11ae0a[_0x57251d([0x53])][_0x13e642>>0x10&0xff]<<0x10^_0x11ae0a[_0x57251d([0x53])][_0x13e642>>0x18&0xff]<<0x18;for(let _0x55452c=_0x147951/0x2+0x1;_0x55452c<_0x147951;_0x55452c++)_0x419820[_0x55452c]^=_0x419820[_0x55452c-0x1];let _0x3ad8e2,_0x892f9f,_0x2d6ee8=0x0;for(;_0x2d6ee8<_0x147951&&t<_0x284a67;)_0x3ad8e2=t>>0x2,_0x892f9f=t%0x4,_0x27b12a[_0x3ad8e2][_0x892f9f]=_0x419820[_0x2d6ee8],_0x267e0d[_0x4a8c16-_0x3ad8e2][_0x892f9f]=_0x419820[_0x2d6ee8++],t++;}for(let _0x3e172c=0x1;_0x3e172c<_0x4a8c16;_0x3e172c++)for(let _0x547e0b=0x0;_0x547e0b<0x4;_0x547e0b++)_0x13e642=_0x267e0d[_0x3e172c][_0x547e0b],_0x267e0d[_0x3e172c][_0x547e0b]=_0x11ae0a[_0x57251d([0x55,0x31])][_0x13e642>>0x18&0xff]^_0x11ae0a[_0x57251d([0x55,0x32])][_0x13e642>>0x10&0xff]^_0x11ae0a[_0x57251d([0x55,0x33])][_0x13e642>>0x8&0xff]^_0x11ae0a[_0x57251d([0x55,0x34])][0xff&_0x13e642];}}function _0x57251d(_0x3739eb){return _0x3739eb['map'](_0x207d21=>String['fromCharCode'](_0x207d21))['join']('');}(_0x27fbb7=>{function _0x52a753(){const _0x4b6875=[{[_0x57251d([0x69,0x64])]:0x1,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x57251d([0x69,0x64])]:0x2,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([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]),[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x57251d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x57251d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x57251d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x57251d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x57251d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x57251d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x57251d([0x69,0x64])]:0x3,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x57251d([0x69,0x64])]:0x4,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([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]),[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x57251d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x57251d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x57251d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x57251d([0x69,0x64])]:0x5,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([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]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x57251d([0x66,0x67,0x69])]:[0xc]}},{[_0x57251d([0x69,0x64])]:0x6,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x57251d([0x66,0x67,0x69])]:[0xc]}},{[_0x57251d([0x69,0x64])]:0x7,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x57251d([0x66,0x67,0x69])]:[0xc]}},{[_0x57251d([0x69,0x64])]:0x8,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([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]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x57251d([0x66,0x67,0x69])]:[0xc]}},{[_0x57251d([0x69,0x64])]:0x9,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x57251d([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x57251d([0x69,0x64])]:0xa,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([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]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([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]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([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]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x57251d([0x66,0x67,0x69])]:[0xc]}},{[_0x57251d([0x69,0x64])]:0xb,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x57251d([0x69,0x64])]:0xc,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x57251d([0x69,0x64])]:0xd,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x57251d([0x66,0x67,0x69])]:[0xc]}},{[_0x57251d([0x69,0x64])]:0xe,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x57251d([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([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])},{[_0x57251d([0x69,0x64])]:0xf,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x57251d([0x69,0x64])]:0x10,[_0x57251d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x57251d([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x57251d([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x57251d([0x66,0x67,0x69])]:[0xc]}}];return _0x10c0d5(_0x4b6875),_0x4b6875;function _0x4e91c6(_0x10f1dd){return 0x1<<_0x10f1dd-0x1;}function _0x10c0d5(_0x3e7f25){_0x3e7f25[_0x57251d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xab0713=>{_0xab0713[_0x57251d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4e91c6(_0xab0713[_0x57251d([0x69,0x64])]),_0xfba1d5(_0xab0713)&&_0xab0713[_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x10c0d5(_0xab0713[_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xfba1d5(_0x58e707){return _0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x58e707;}const _0x1eb54c=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x134231=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x7127c5(_0x2a752c){const _0x545b47=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5d9fd1(_0x2a752c,new Uint8Array([..._0x1eb54c,..._0x545b47,..._0x134231]));}function _0x5d9fd1(_0x26eeea,_0x4dbddf){const _0x3bb479=_0xf99775(_0x26eeea),_0x4391e0=Array[_0x57251d([0x66,0x72,0x6f,0x6d])](_0x135c79(_0x3bb479)),_0x555726=_0x4391e0[_0x57251d([0x70,0x6f,0x70])](),_0x301af9=_0x4391e0[_0x57251d([0x70,0x6f,0x70])]();return _0x246a5b(_0x31a8c0(_0x4391e0,_0x4dbddf,_0x301af9+0x100*_0x555726));}function _0xf99775(_0x3f2aa9){const _0x4142dc=atob(_0x3f2aa9),[_0x32797a,_0x436780]=_0x4142dc[_0x57251d([0x73,0x70,0x6c,0x69,0x74])](_0x57251d([0x2d]));try{if(atob(_0x436780))return atob(_0x32797a);}catch(_0x5c665d){}return _0x4142dc;}function _0x365abd(_0x4ca831){try{const _0x5cfbb0=_0x7127c5(_0x4ca831),_0x18e572=JSON[_0x57251d([0x70,0x61,0x72,0x73,0x65])](_0x5cfbb0),_0x54fc0e=parseInt(_0x18e572[_0x57251d([0x31])]),_0x5b14bc=_0x18e572[_0x57251d([0x32])]||'',_0x449bb7=parseInt(_0x18e572[_0x57251d([0x33])]),_0x4f9b87=parseInt(_0x18e572[_0x57251d([0x34])])||0x0,_0xfd6c3=parseInt(_0x18e572[_0x57251d([0x35])])||0x0;return{[_0x57251d([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x5b14bc,[_0x57251d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4f9b87,[_0x57251d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x54fc0e,[_0x57251d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x449bb7,[_0x57251d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xfd6c3};}catch(_0x2ef383){return null;}}const _0x1fe3c2=_0x52a753(),_0x302467={[_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x590923,[_0x57251d([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])]:_0x32affe,[_0x57251d([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])]:_0x190ef9},_0x32cb40=_0x27fbb7[_0x57251d([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1a594d=_0x57251d([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x27fbb7?_0x27fbb7['context']:_0x27fbb7['editor'],_0x731474=_0x57251d([0x34,0x30,0x34,0x38,0x31,0x32,0x31,0x32]),_0x58e5ba=_0x57251d([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]),_0x4a0024=_0x1a594d['config']['get'](_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x52c20a=_0x1fe3c2[_0x57251d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xfba1d5)[_0x57251d([0x66,0x69,0x6e,0x64])](_0x2f0cd9=>_0x2f0cd9[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x32cb40);function _0x4e9130(_0x360d9d,_0x2ee82f){_0x302467[_0x2ee82f[_0x57251d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x360d9d,_0x2ee82f),_0x2ee82f[_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2ee82f[_0x57251d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x57251d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1191ab=>_0x5e97f8(_0x1a594d,_0x1191ab[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x57251d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1654d0=>_0x4e9130(_0x360d9d,_0x1654d0));}function _0x590923(_0x4ce43f,_0x43ad9e){_0x1678ab(_0x30871f(_0x4ce43f,_0x43ad9e),_0x43ad9e);}function _0x32affe(_0x146f23,_0x21d152){function _0x4b649d(_0x224969,_0x3da375){try{if(_0x5e97f8(_0x1a594d,_0x57251d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x224969){const _0x5562da=_0x350119(_0x1a594d,_0x57251d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x57251d([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x5562da)/0x2>_0x224969[_0x57251d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x40deed(_0x3da375[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x30871f(_0x224969,_0x3da375);}catch(_0x283934){return _0x40deed(_0x3da375[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1678ab(_0x4b649d(_0x146f23,_0x21d152),_0x21d152);}function _0x190ef9(_0x13807c,_0x13b183){const _0x1e55d4=_0x134231[0x0]*_0x1eb54c[0x1],_0x4f00ec=_0x134231[0x0]*_0x1eb54c[0x2],_0x44f8ef=_0x134231[0x2]*_0x1eb54c[0x2];_0x5e97f8(_0x1a594d,_0x57251d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x350119(_0x1a594d,_0x57251d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x57251d([0x73,0x74,0x61,0x74,0x65])]==_0x57251d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x51af56()]=_0x44f8ef);function _0x567383(_0x41e075,_0x1b07d3){try{return _0x1296c0()?_0x40deed(_0x1b07d3[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x56,0x61,0x6c,0x69,0x64])):_0x30871f(_0x41e075,_0x1b07d3);}catch(_0x525f28){return _0x40deed(_0x1b07d3[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x3009ce(_0x4f5f4c,_0x26c7e9){const _0x1bffd4=0x7;if(_0x4f5f4c==_0x26c7e9[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1f9e11();else{if(_0x4f5f4c==_0x26c7e9[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x54,0x72,0x69,0x61,0x6c])){const _0x379278=_0x38c043();_0x379278&&_0x3895f2(_0x379278,_0x26c7e9[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x305693=_0xada1a9();window[_0x57251d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3895f2(_0x57251d([0x74,0x69,0x6d,0x65]),_0x26c7e9[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x305693);const _0x1e8406=_0x350119(_0x1a594d,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x57251d([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1e8406[_0x57251d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1bffd4?_0x3895f2(_0x57251d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x26c7e9[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1e8406['on'](_0x57251d([0x61,0x64,0x64]),()=>{_0x1e8406[_0x57251d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1bffd4&&_0x3895f2(_0x57251d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x26c7e9[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x38c043(){if(!_0x5e97f8(_0x1a594d,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2c76bc in window)if(Number['isNaN'](Number(_0x2c76bc))){if(window[_0x2c76bc]===_0x1e55d4)return _0x57251d([0x74,0x69,0x6d,0x65]);if(window[_0x2c76bc]===_0x4f00ec)return _0x57251d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x1296c0(){if(!_0x5e97f8(_0x1a594d,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x31407f in window)if(Number['isNaN'](Number(_0x31407f))&&window[_0x31407f]===_0x44f8ef)return!0x0;return!0x1;}function _0x3895f2(_0x5f1002,_0x2bbc2c){_0x1f9e11(),_0x40deed(_0x2bbc2c+_0x57251d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x5f1002),window[_0x51af56()]=_0x5f1002===_0x57251d([0x74,0x69,0x6d,0x65])?_0x1e55d4:_0x4f00ec;}function _0xada1a9(){let _0x5102d8=_0x134231[0x6]*_0x1eb54c[0x8]*_0x1eb54c[0x6];return _0x5e97f8(_0x1a594d,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5102d8/=0xa),_0x5102d8;}function _0x1f9e11(){const _0x581424=_0x1a594d;function _0xb6d019(){_0x5e97f8(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x350119(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x57251d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x57251d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x350119(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x57251d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x350119(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x57251d([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x262a91,_0x350119(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x57251d([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x262a91,_0x581424[_0x57251d([0x6d,0x6f,0x64,0x65,0x6c])][_0x57251d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x262a91,_0x581424[_0x57251d([0x6d,0x6f,0x64,0x65,0x6c])][_0x57251d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x262a91,_0x581424[_0x57251d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x57251d([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5e97f8(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x350119(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x57251d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x57251d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x350119(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x57251d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x350119(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x57251d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x262a91,_0x350119(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x57251d([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x262a91);}_0x581424[_0x57251d([0x73,0x74,0x61,0x74,0x65])]==_0x57251d([0x72,0x65,0x61,0x64,0x79])?_0xb6d019():_0x581424[_0x57251d([0x6f,0x6e,0x63,0x65])](_0x57251d([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5e97f8(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xb6d019(),_0x5e97f8(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4ba04c=_0x350119(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4cda26=_0x4ba04c['getRevision'](0x0),_0x2d1c79=_0x4ba04c['getEarlierVisibleRevision'](_0x4cda26[_0x57251d([0x69,0x64])]);_0x350119(_0x581424,_0x57251d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x57251d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4cda26[_0x57251d([0x69,0x64])],_0x2d1c79?_0x2d1c79[_0x57251d([0x69,0x64])]:null,0x1)['then'](()=>_0xb6d019());}});}_0x3009ce(_0x567383(_0x13807c,_0x13b183),_0x13b183);}function _0x30871f(_0x35f737,_0x1cdcfc){try{return _0x46b688(_0x1cdcfc)?_0x40deed(_0x1cdcfc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x56,0x61,0x6c,0x69,0x64])):_0x35f737&&_0x377141(_0x35f737[_0x57251d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x1cdcfc)?_0x35f737[_0x57251d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x57251d([0x6f,0x70,0x65,0x6e])][_0x57251d([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x731474)/0x2>_0x35f737[_0x57251d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x40deed(_0x1cdcfc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x35f737[_0x57251d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x40deed(_0x1cdcfc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x54,0x72,0x69,0x61,0x6c])):_0x40deed(_0x1cdcfc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x56,0x61,0x6c,0x69,0x64])):_0x40deed(_0x1cdcfc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x4aa81e){return _0x40deed(_0x1cdcfc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1678ab(_0x16c30f,_0x4723dc){if(_0x1a594d instanceof _0x5f0bc3){const _0x1dfc3c=_0x1a594d;_0x16c30f==_0x4723dc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1fdfd5(_0x1dfc3c):_0x16c30f==_0x4723dc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x54,0x72,0x69,0x61,0x6c])&&window[_0x57251d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1fdfd5(_0x1dfc3c),_0x40deed(_0x4723dc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x134231[0x6]*_0x1eb54c[0x8]*_0x1eb54c[0x6]),_0x1dfc3c[_0x57251d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x57251d([0x6f,0x6e])](_0x57251d([0x61,0x64,0x64]),(_0x15d4cd,_0x13d045)=>{_0x16c30f!=_0x4723dc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x16c30f!=_0x4723dc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x16c30f!=_0x4723dc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x58b04d(_0x13d045);});}else{const _0x4108e6=_0x1a594d;_0x16c30f==_0x4723dc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x58b04d(_0x4108e6):_0x16c30f==_0x4723dc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x54,0x72,0x69,0x61,0x6c])&&_0x4108e6[_0x57251d([0x6f,0x6e])](_0x57251d([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x14205e=0x0;_0x4108e6[_0x57251d([0x6d,0x6f,0x64,0x65,0x6c])][_0x57251d([0x6f,0x6e])](_0x57251d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xc59f9f,_0x2a3cd3)=>{_0x2a3cd3[0x0][_0x57251d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14205e++,0x1f8===_0x14205e&&(_0x58b04d(_0x4108e6),_0x40deed(_0x4723dc[_0x57251d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x57251d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xc59f9f[_0x57251d([0x6f,0x66,0x66])]());},{'priority':_0x57251d([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x40deed(_0x22de2f){const _0x31dca9=_0x51af56();return _0x1a594d[_0x31dca9]=_0x22de2f,_0x22de2f;}function _0x51af56(){const _0x5983f2=String(window[_0x57251d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x57251d([0x6e,0x6f,0x77])]())[_0x57251d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x57251d([0x2e]),'');let _0x33fa2b='';for(let _0x3ae8db=0x0;_0x3ae8db<_0x5983f2[_0x57251d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ae8db+=0x2){let _0x13b374=parseInt(_0x5983f2[_0x57251d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ae8db,_0x3ae8db+0x2));_0x13b374>=_0x58e5ba[_0x57251d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x13b374-=_0x58e5ba[_0x57251d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x33fa2b+=_0x58e5ba[_0x13b374];}return _0x33fa2b;}function _0x1fdfd5(_0x292788){for(const _0x518335 of _0x292788[_0x57251d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x58b04d(_0x518335);_0x350119(_0x292788,_0x57251d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x57251d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x350119(_0x292788,_0x57251d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x57251d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x262a91;}function _0x58b04d(_0x4d706a){function _0x2b3b6a(){_0x4d706a[_0x57251d([0x6d,0x6f,0x64,0x65,0x6c])][_0x57251d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x262a91,_0x4d706a[_0x57251d([0x6d,0x6f,0x64,0x65,0x6c])][_0x57251d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x262a91,_0x4d706a[_0x57251d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x57251d([0x6d,0x6f,0x64,0x65,0x6c]));}_0x4d706a[_0x57251d([0x73,0x74,0x61,0x74,0x65])]==_0x57251d([0x72,0x65,0x61,0x64,0x79])?_0x2b3b6a():_0x4d706a[_0x57251d([0x6f,0x6e,0x63,0x65])](_0x57251d([0x72,0x65,0x61,0x64,0x79]),()=>_0x2b3b6a());}function _0x262a91(){return null;}function _0x377141(_0x3cbf01,_0x2c0435){const _0x18183f=!!(_0x3cbf01&_0x2c0435[_0x57251d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x161813=_0x51d897(_0x3cbf01,_0x2c0435);return _0x18183f||_0x161813;}function _0x51d897(_0x3e4d11,_0xc91fdb){const _0x61eed0=(_0xc91fdb[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x57251d([0x66,0x67,0x69])]||null;return!!_0x61eed0&&_0x1fe3c2[_0x57251d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47ddaa=>_0x61eed0[_0x57251d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47ddaa[_0x57251d([0x69,0x64])]))[_0x57251d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a9cc9=>!_0xb04c94(_0x3a9cc9))[_0x57251d([0x73,0x6f,0x6d,0x65])](_0x12fa9f=>!!(_0x3e4d11&_0x12fa9f[_0x57251d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xb04c94(_0x1313e4){const _0x1b9974={[_0x57251d([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])]:_0x559c67};return!!_0x1313e4['forbiddenHandler']&&_0x1b9974[_0x1313e4['forbiddenHandler']]();}function _0x559c67(){return!window[_0x57251d([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5e97f8(_0x1a594d,_0x57251d([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x46b688(_0x5640fd){if(!_0x5e97f8(_0x1a594d,_0x5640fd[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x31ac54=_0x5640fd[_0x57251d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x25997a=_0x31ac54[_0x57251d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0xec0c52=_0x31ac54[_0x57251d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4fe198=_0x31ac54[_0x57251d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5e97f8(_0x1a594d,_0x57251d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x350119(_0x1a594d,_0x57251d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x57251d([0x73,0x74,0x61,0x74,0x65])]==_0x57251d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x25997a)return!0x0;if(_0x5e97f8(_0x1a594d,_0x57251d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x350119(_0x1a594d,_0x57251d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x57251d([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x57251d([0x65,0x6e,0x64])&&_0xec0c52)return!0x0;return!(!_0x5e97f8(_0x1a594d,_0x57251d([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]))||_0x350119(_0x1a594d,_0x57251d([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]))[_0x57251d([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x57251d([0x65,0x6e,0x64])||!_0x4fe198);}function _0x5e97f8(_0x2994fa,_0x2d0041){return _0x2994fa[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x57251d([0x68,0x61,0x73])](_0x2d0041);}function _0x350119(_0xf3e1a7,_0x119fc9){return _0xf3e1a7[_0x57251d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x57251d([0x67,0x65,0x74])](_0x119fc9);}function _0x246a5b(_0x4adb75){let _0x4f927b='';for(const _0x2972a2 of _0x4adb75)_0x4f927b+=String[_0x57251d([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2972a2);return _0x4f927b;}function _0x135c79(_0x3bc14e){const _0x3e8550=new Uint8Array(_0x3bc14e[_0x57251d([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x5768ee=0x0;_0x5768ee<_0x3bc14e[_0x57251d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5768ee++)_0x3e8550[_0x5768ee]=_0x3bc14e[_0x57251d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5768ee);return _0x3e8550;}_0x52c20a&&_0x4e9130(_0x365abd(_0x4a0024),_0x52c20a);})(_0x51a1b0);}(this);}['createRevision'](_0x58c95c){const _0x36f396=this['editor']['plugins']['get']('Users');return new a({'id':_0x58c95c['id'],'name':_0x58c95c['name'],'creator':_0x58c95c['creatorId']?_0x36f396['getUser'](_0x58c95c['creatorId']):null,'diffData':_0x58c95c['diffData']||_0x58c95c['data'],'authors':_0x58c95c['authorsIds']['map'](_0x48425e=>_0x36f396['getUser'](_0x48425e)),'createdAt':new Date(_0x58c95c['createdAt']),'attributes':_0x58c95c['attributes'],'fromVersion':_0x58c95c['fromVersion'],'toVersion':_0x58c95c['toVersion']});}['addRevision'](_0x5067f9,_0x38146e=0x0){this['_revisions']['add'](_0x5067f9,_0x38146e);}['getRevision'](_0x20bc60){return this['_revisions']['get'](_0x20bc60);}['getRevisions'](_0x52cdca={'toJSON':!0x1}){const _0x18ae8d=Array['from'](this['_revisions']);return _0x18ae8d['reverse'](),_0x52cdca['toJSON']?_0x18ae8d['map'](_0x18a05e=>_0x18a05e['toJSON']()):_0x18ae8d;}['getIndex'](_0x6df88a){return this['_revisions']['getIndex'](_0x6df88a);}['getEarlierVisibleRevision'](_0x366bf3){const [,_0x10f576]=this['getRevisionsIterator'](_0x366bf3,{'direction':'earlier'});return _0x10f576;}['getLaterVisibleRevision'](_0x7b74fe){const [,_0x1e931c]=this['getRevisionsIterator'](_0x7b74fe,{'direction':'later'});return _0x1e931c;}['getRevisionsInDiff'](_0x2baddf){const _0x130116=[];for(const _0x1a89a4 of this['getRevisionsIterator'](_0x2baddf['newRevisionId']))if(_0x130116['push'](_0x1a89a4),_0x1a89a4['id']===_0x2baddf['oldRevisionId'])break;return _0x130116;}*['getRevisionsIterator'](_0x2557b3,{direction:_0xd24077='earlier',filter:_0x13cce3=_0x572cf0=>!0x0}={}){const _0xdc319b='earlier'===_0xd24077?0x1:-0x1;let _0x489170=this['_revisions']['get'](_0x2557b3),_0x500ef9=this['getIndex'](_0x489170);for(yield _0x489170;_0x489170;){if(_0x500ef9+=_0xdc319b,_0x489170=this['getRevision'](_0x500ef9),!_0x489170)return;_0x13cce3(_0x489170)&&(yield _0x489170);}}}function y(_0x3a0adb,_0x1591b1,_0x68a2fd){const t=_0x3a0adb['t'];switch(_0x1591b1){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'},_0x68a2fd);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x68a2fd);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x3384fd,'a':_0x4a25d5,'e':_0x87460b,'r':_0x4b4c84,'u':_0x197f1d};class l extends _0x201084{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5b1d7a,A,_0x5a27cf];}constructor(_0x207e73){super(_0x207e73),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 _0x247098=_0x4847d5();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x247098},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 _0x5975c3=this['repository']['getRevision'](0x0),_0x51f07d=_0x5975c3&&null===_0x5975c3['creator']?_0x5975c3:null;if(this['_continueCurrentRevision']=!!_0x51f07d&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2dc082=this['_source']['getCurrentRevisionId'](),_0x114127=this['repository']['getRevision'](_0x2dc082);if(_0x114127)this['_startingVersion']=_0x114127['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x4a46a5=this['_source']['history']['_operations']['find'](_0x474bb1=>!_0x474bb1['_isInit']),_0x42fef7=_0x4a46a5?_0x4a46a5['baseVersion']:this['_source']['history']['version'];_0x5975c3?(_0x5975c3['toVersion']<_0x42fef7&&_0x5975c3['_update']({'toVersion':_0x42fef7}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x51f07d['id'],this['_startingVersion']=_0x51f07d['fromVersion']):(this['_startingVersion']=_0x5975c3['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x42fef7,this['_continueCurrentRevision']=!0x1);}}else _0x51f07d&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x51f07d['toVersion'],this['editor']['model']['document']['history']['version']),_0x51f07d['fromVersion']===_0x51f07d['toVersion']?(0x0!==_0x51f07d['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x51f07d['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x51f07d['id'],this['_startingVersion']=_0x51f07d['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',_0x40ddb9=>!_0x40ddb9);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x387464=this['repository']['getRevision'](0x0),_0x53ff20=await this['getRevisionDocumentData'](_0x387464),_0x7821f3=await this['getRevisionRootsAttributes'](_0x387464);this['_replaceEditorDataWithRevisionData'](_0x53ff20,_0x7821f3);}}['setSource'](_0x3be58a){this['_source']=_0x3be58a;}async['update'](){const _0x53a8ca=await this['_source']['getLatestVersion']();if(_0x53a8ca>this['currentRevision']['toVersion']){await this['_loadState']();const _0x18b07c=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x53a8ca});_0x18b07c['authors']=_0x18b07c['authorsIds']['map'](_0x97e00=>this['editor']['plugins']['get']('Users')['getUser'](_0x97e00)),this['currentRevision']['_update'](_0x18b07c);}}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'](_0x3cc392={},_0x4391cd=null){const _0x39305b=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4391cd>this['currentRevision']['toVersion']&&(_0x4391cd=null),null===_0x4391cd&&(_0x4391cd=await this['_source']['getLatestVersion']());const _0x29136e=this['_getFromVersion'](_0x4391cd),_0x26460a=this['buildRevisionData']({'from':_0x29136e,'to':_0x4391cd});if(this['currentRevision']['toVersion']<_0x4391cd){const _0x29ec97=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4391cd,'to':_0x4391cd});_0x29ec97['authors']=[],_0x29ec97['authorsIds']=[],_0x29ec97['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x29ec97,!0x0),delete _0x29ec97['authors'],_0x39305b['push'](_0x29ec97);}_0x3cc392['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x3cc392['name']=_0x3cc392['name']||null,_0x3cc392['id']=_0x3cc392['id']||_0x4847d5(),_0x3cc392={..._0x3cc392,..._0x26460a};const _0x1ae351=this['addRevisionData'](_0x3cc392);_0x39305b['push'](_0x3cc392);const _0x5b3561=this['repository']['getIndex'](_0x1ae351);if(0x0!==_0x5b3561){const _0x22b4b5=this['repository']['getRevision'](_0x5b3561-0x1);if(_0x22b4b5['fromVersion']!==_0x4391cd){const _0x351ee8=this['_revisionDataBuilder']['getData'](_0x4391cd,_0x22b4b5['toVersion']),_0x4059d5={'id':_0x22b4b5['id'],'diffData':_0x351ee8['diffData'],'authorsIds':_0x351ee8['authorsIds'],'authors':_0x351ee8['authorsIds']['map'](_0x4bb80a=>this['editor']['plugins']['get']('Users')['getUser'](_0x4bb80a)),'fromVersion':_0x4391cd};_0x22b4b5===this['currentRevision']&&(_0x4059d5['createdAt']=new Date(_0x3cc392['createdAt']['getTime']()+0xa)),_0x22b4b5['_update'](_0x4059d5,!0x0),delete _0x4059d5['authors'],_0x39305b['push'](_0x4059d5);}}if(this['adapter']){for(const _0x230485 of _0x39305b)this['_bufferUpdate'](_0x230485['id'],_0x230485,!0x0);this['sendBufferedUpdates']();}return _0x1ae351;}['addRevisionData'](_0x280dab){const _0x58079c=this['repository']['createRevision'](_0x280dab);return this['adapter']&&_0x58079c['on']('_update',(_0x4708f3,_0x237a10,_0x4c3414)=>{_0x4c3414||(this['_bufferUpdate'](_0x237a10['id'],_0x237a10,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x58079c,this['_findInsertionIndex'](_0x58079c)),_0x58079c;}async['getRevisionDocumentData'](_0x542e32){await this['_loadRevisionData'](_0x542e32);const _0x397193={};for(const _0x5e5769 in _0x542e32['diffData']){if(_0x542e32['diffData'][_0x5e5769]['attachChange']&&!_0x542e32['diffData'][_0x5e5769]['attachChange']['isAttached'])continue;const _0x2b565e=this['_removeRevisionMarkers'](JSON['parse'](_0x542e32['diffData'][_0x5e5769]['insertions'])),_0x18ebc=this['editor']['editing']['view']['document'],_0x310f77=new _0xc0256f(_0x18ebc,_0x2b565e['map'](_0x18aa67=>B(_0x18aa67,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x397193[_0x5e5769]=this['editor']['data']['processor']['toData'](_0x310f77),this['editor']['data']['processor']['useFillerType']('default');}return _0x397193;}async['getRevisionRootsAttributes'](_0x285ae6){await this['_loadRevisionData'](_0x285ae6);const _0x4751ff={};for(const _0x41f5e5 in _0x285ae6['diffData'])_0x285ae6['diffData'][_0x41f5e5]['attachChange']&&!_0x285ae6['diffData'][_0x41f5e5]['attachChange']['isAttached']||(_0x4751ff[_0x41f5e5]=_0x285ae6['diffData'][_0x41f5e5]['attributesAfter']||{});return _0x4751ff;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x9d6885=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x20d84d=0x0;_0x20d84d<_0x9d6885['length'];_0x20d84d++){const _0x31ec55=_0x9d6885[_0x20d84d];let _0x3f71af=!0x1;for(const _0x1f23fe of Object['keys'](_0x31ec55))void 0x0===_0x31ec55[_0x1f23fe]?delete _0x31ec55[_0x1f23fe]:'id'!==_0x1f23fe&&(_0x3f71af=!0x0);_0x3f71af||(_0x9d6885[_0x20d84d]=null);}if(_0x9d6885=_0x9d6885['filter'](_0x35c986=>null!==_0x35c986),!_0x9d6885['length'])return;for(let _0x440937=0x0;_0x440937<_0x9d6885['length'];_0x440937++){const _0x36fc6d=_0x9d6885[_0x440937];void 0x0!==_0x36fc6d['fromVersion']&&void 0x0===_0x36fc6d['toVersion']&&(_0x36fc6d['toVersion']=this['repository']['getRevision'](_0x36fc6d['id'])['toVersion']),void 0x0!==_0x36fc6d['toVersion']&&void 0x0===_0x36fc6d['fromVersion']&&(_0x36fc6d['fromVersion']=this['repository']['getRevision'](_0x36fc6d['id'])['fromVersion']);}const _0x4727d7=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x9d6885,_0x4727d7)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x294219=>{if(_0x294219){for(const _0x23ba3f of _0x294219)this['setRevisionData']({'id':_0x23ba3f['id'],'createdAt':_0x23ba3f['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3f466c,_0x38939d){let _0x5b596a=this['editor']['config']['get']('initialData'),_0x5dfae3=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x5b596a){_0x5b596a={};for(const _0x2d4df2 of this['editor']['model']['document']['getRootNames']())_0x5b596a[_0x2d4df2]='';}if('string'==typeof _0x5b596a&&(_0x5b596a={'main':_0x5b596a}),void 0x0===_0x5dfae3){_0x5dfae3={};for(const _0x58deeb of this['editor']['model']['document']['getRootNames']())_0x5dfae3[_0x58deeb]={};}let _0x427d93=!0x1;const _0x385973=Object['keys'](_0x5b596a),_0x2c988f=Object['keys'](_0x3f466c);for(const _0x159b1f of _0x385973){if(_0x5b596a[_0x159b1f]!==_0x3f466c[_0x159b1f]&&''!==_0x5b596a[_0x159b1f]['trim']()){_0x427d93=!0x0;break;}if(!_0x2d46f6(_0x5dfae3[_0x159b1f],_0x38939d[_0x159b1f])&&Object['keys'](_0x5dfae3[_0x159b1f])['length']>0x0){_0x427d93=!0x0;break;}}_0x427d93||(_0x427d93=_0x2c988f['some'](_0xb194d2=>!this['editor']['model']['document']['getRoot'](_0xb194d2))),_0x427d93&&_0xfb08dd('editor-initial-data-replaced-with-revision-data',{'editorData':_0x5b596a,'editorRootsAttributes':_0x5dfae3,'revisionData':_0x3f466c,'revisionRootsAttributes':_0x38939d}),this['editor']['config']['set']('initialData',_0x3f466c),this['editor']['config']['set']('rootsAttributes',_0x38939d);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2dbfbf=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2dbfbf['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x48a327){const _0x57f51c=this['repository']['getRevisions']();_0x57f51c['reverse']();let _0x3a7588=0x0;for(;_0x3a7588<_0x57f51c['length'];){const _0x3a4f7e=_0x57f51c[_0x3a7588];if(_0x3a4f7e===this['currentRevision']){_0x3a7588++;continue;}if(_0x3a4f7e['id']===this['_initialRevisionId'])break;const _0x34f6ed=_0x48a327['toVersion']-_0x3a4f7e['toVersion']||_0x48a327['fromVersion']-_0x3a4f7e['fromVersion'];if(_0x34f6ed>0x0)break;if(_0x34f6ed<0x0)_0x3a7588++;else{if(!_0x48a327['creator']&&_0x3a4f7e['creator'])break;if(_0x3a4f7e['creator']||!_0x48a327['creator']){if(_0x48a327['createdAt']>_0x3a4f7e['createdAt'])break;_0x3a7588++;}else _0x3a7588++;}}return _0x3a7588;}['setRevisionData'](_0x411323){const _0x2fb724=this['repository']['getRevision'](_0x411323['id']);if(_0x411323['createdAt']&&(_0x411323['createdAt']=new Date(_0x411323['createdAt'])),_0x411323['authorsIds']){const _0x3ea86e=this['editor']['plugins']['get']('Users');_0x411323['authors']=_0x411323['authorsIds']['map'](_0x8d401a=>_0x3ea86e['getUser'](_0x8d401a));}_0x2fb724['_update'](_0x411323,!0x0);}['buildRevisionData']({revision:_0x105219=null,from:_0x4eb56c=null,to:_0x11382c=null}){_0x4eb56c=null!==_0x4eb56c?_0x4eb56c:_0x105219['fromVersion'],_0x11382c=null!==_0x11382c?_0x11382c:_0x105219['toVersion'];const _0x1b208b=this['_revisionDataBuilder']['getData'](_0x4eb56c,_0x11382c),_0x2a1d29={'diffData':_0x1b208b['diffData'],'authorsIds':_0x1b208b['authorsIds'],'fromVersion':_0x4eb56c,'toVersion':_0x11382c};if(!_0x105219||_0x11382c!==_0x105219['toVersion']){const _0x4d4415=_0x11382c-0x1,_0x503d6c=this['_source']['history']['getOperation'](_0x4d4415);_0x2a1d29['createdAt']=_0x503d6c&&_0x503d6c['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4eb56c===this['_loadedStateData']['fromVersion']){for(const _0x3251c9 of this['_loadedStateData']['authors'])_0x2a1d29['authorsIds']['includes'](_0x3251c9['id'])||_0x2a1d29['authorsIds']['push'](_0x3251c9['id']);}return _0x2a1d29;}['_loadRevisionData'](_0x5ad966){if(!_0x5ad966||_0x5ad966['diffData'])return Promise['resolve']();{const _0x477b9b=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x477b9b,'revisionId':_0x5ad966['id']})['then'](_0x1c3d83=>{_0x5ad966['diffData']=_0x1c3d83['diffData'];});}}['_bufferUpdate'](_0x452ab6,_0x3268ef,_0x53ebc8){if(this['_bufferedUpdates']['has'](_0x452ab6)){const _0x2b8a22=this['_bufferedUpdates']['get'](_0x452ab6);_0x3268ef=_0x53ebc8?{..._0x2b8a22,..._0x3268ef}:{..._0x3268ef,..._0x2b8a22};}this['_bufferedUpdates']['set'](_0x452ab6,_0x3268ef);}['_getFromVersion'](_0x2ca9e3){const _0x12de91=this['repository']['getRevisions']();_0x12de91['reverse'](),_0x12de91['shift']();const _0x349ba7=_0x12de91['find'](_0x2af3d2=>_0x2af3d2['toVersion']<=_0x2ca9e3)['toVersion'];return _0x349ba7<this['_startingVersion']?this['_startingVersion']:_0x349ba7;}['_createInitialRevision'](_0x1c9643){const _0x5f3e1b=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5f3e1b)this['_initialRevisionId']=_0x5f3e1b['id'];else{const _0x3f9e5b=!this['editor']['model']['document']['roots']['find'](_0x400377=>this['editor']['model']['hasContent'](_0x400377)),_0x37d057=this['editor']['plugins']['get']('Users')['me']['id'],_0x5a1c20=y(this['editor']['locale'],_0x3f9e5b?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1c9643,'to':_0x1c9643,'id':this['_initialRevisionId'],'name':_0x5a1c20,'creatorId':_0x37d057});}}['_createCurrentRevision'](_0x5537fc){const _0x5c45b3=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x5c45b3),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5537fc,'to':_0x5537fc,'id':_0x5c45b3,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5a7375,from:_0xd89dad,to:_0x292638,creatorId:_0x1d7743,id:_0x486ef8}){const _0x2d7772=this['buildRevisionData']({'from':_0xd89dad,'to':_0x292638});_0x2d7772['name']=_0x5a7375,_0x2d7772['creatorId']=_0x1d7743,_0x2d7772['id']=_0x486ef8;const _0x17ff8e=this['addRevisionData'](_0x2d7772);return this['adapter']&&this['_bufferUpdate'](_0x2d7772['id'],_0x2d7772,!0x0),_0x17ff8e;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x3e9682){return(_0x3e9682=_0x3e9682['filter'](_0x322732=>!_0x322732['name']||'revision-start'!==_0x322732['name']&&'revision-end'!==_0x322732['name']))['forEach'](_0x1f6e2a=>{'string'!=typeof _0x1f6e2a&&(_0x1f6e2a['children']=this['_removeRevisionMarkers'](_0x1f6e2a['children']),_0x1f6e2a['attributes']=_0x1f6e2a['attributes']['filter'](_0x289239=>!_0x289239[0x0]['startsWith']('data-revision-')));}),_0x3e9682;}}function B(_0x2fc551,_0x4e851e){const _0x3c9c24=_0x4e851e['editing']['view']['document'];if('string'==typeof _0x2fc551)return new _0x322c24(_0x3c9c24,_0x2fc551);{const _0x335595=_0x2fc551['children']['map'](_0x25e58b=>B(_0x25e58b,_0x4e851e));return new(T[_0x2fc551['type']]||_0x183126)(_0x3c9c24,_0x2fc551['name'],_0x2fc551['attributes'],_0x335595);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x41c6f5){this['editor']=_0x41c6f5,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'](_0x2054cf){this['source']=_0x2054cf;const _0x2e277e=new Map(),_0x205a8b=new Map(),_0x766320=this['editor']['model']['document']['roots']['map'](_0x490c71=>_0x490c71['rootName']);for(const _0xeede5 of _0x766320){const _0x5f168b=this['editor']['model']['document']['getRoot'](_0xeede5),_0x4d6669=q(_0x5f168b);_0x2e277e['set'](_0xeede5,_0x4d6669),_0x205a8b['set'](_0xeede5,Object['fromEntries'](_0x5f168b['getAttributes']()));}const _0x4c0bbc=Array['from'](this['editor']['model']['markers'])['map'](_0x86034d=>[_0x86034d['name'],_0x86034d['getRange']()]),_0x1e7cea=this['source']['version'];this['_saveMetaData'](_0x1e7cea,_0x2e277e,_0x4c0bbc,_0x205a8b),this['_startingRevisionId']=this['_revisionId'];const _0x1d3136=new Map(),_0x49b596=new Map();for(const _0x6ab377 of _0x766320){const _0x262879=G(_0x6ab377);_0x1d3136['set'](_0x6ab377,_0x262879),_0x49b596['set'](_0x6ab377,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1d3136,[],_0x49b596);}['getData'](_0x34f75e,_0x1ea1fd){if(this['_lastFrom']===_0x34f75e&&this['_lastTo']<=_0x1ea1fd)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x1ea1fd,!0x0);else{if(!this['_savedMetaData']['has'](_0x34f75e)){const _0x1a2259=this['_getPreviousFrom'](_0x34f75e);this['_calculateMetaData'](_0x1a2259,_0x34f75e,!0x1);}this['_calculateMetaData'](_0x34f75e,_0x1ea1fd,!0x0);}return this['_lastFrom']=_0x34f75e,this['_lastTo']=_0x1ea1fd,this['_getState']();}['loadState'](_0x191197){this['_reset'](),this['_lastFrom']=_0x191197['fromVersion'],this['_lastTo']=_0x191197['toVersion'];for(const _0xdb0ce1 in _0x191197['diffData']){const _0x2d81cd=_0x191197['diffData'][_0xdb0ce1]['attachChange'],_0x206dbc=_0x363356(_0x191197['diffData'][_0xdb0ce1]['attributesBefore'])||{},_0x3e86c5=this['_makeModelFromViewString'](_0x191197['diffData'][_0xdb0ce1]['deletions']);_0x3e86c5['rootName']=_0xdb0ce1,_0x3e86c5['_isAttached']=!_0x2d81cd||!_0x2d81cd['isAttached'],_0x3e86c5['isAttached']=()=>_0x3e86c5['_isAttached'],this['_baseRoots']['set'](_0xdb0ce1,_0x3e86c5),this['_baseRootsAttributes']['set'](_0xdb0ce1,_0x206dbc),_0x2d81cd&&this['_touchedRoots']['set'](_0xdb0ce1,_0x2d81cd);const _0x51b252=this['_makeIdsRoot'](_0x3e86c5);this['_baseIdsRoots']['set'](_0xdb0ce1,_0x51b252);for(const [_0x48ae66,_0x5199a0]of _0x3e86c5['markers']){if(!_0x48ae66['startsWith']('revision:'))continue;const _0x4f4db9=_0x48ae66['split'](':')[0x2];for(const _0x581cfe of _0x5199a0['getWalker']({'singleCharacters':!0x0})){const _0x27fe82=this['_getVidAttributeName'](_0x581cfe),_0x163233='elementEnd'==_0x581cfe['type']?_0x581cfe['previousPosition']['path']['slice'](0x0,-0x1):_0x581cfe['previousPosition']['path'],_0x2ef770=_0x51b252['getNodeByPath'](_0x163233)['getAttribute'](_0x27fe82);this['_touched']['set'](_0x2ef770,{'userId':_0x4f4db9});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5ac045=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x4bd015=>!this['_touched']['has'](_0x4bd015));let _0x178487=0x0;const _0x43ca90=new Map();for(const _0x55098b in _0x191197['diffData']){const _0x21433e=_0x191197['diffData'][_0x55098b]['attachChange'],_0x374c39=_0x363356(_0x191197['diffData'][_0x55098b]['attributesAfter'])||{},_0x5c121b=this['_makeModelFromViewString'](_0x191197['diffData'][_0x55098b]['insertions']);_0x5c121b['rootName']=_0x55098b,_0x5c121b['_isAttached']=!_0x21433e||_0x21433e['isAttached'],_0x5c121b['isAttached']=()=>_0x5c121b['_isAttached'],this['_diffRoots']['set'](_0x55098b,_0x5c121b),this['_diffRootsAttributes']['set'](_0x55098b,_0x374c39);const _0x1a8c8d=this['_makeIdsRoot'](_0x5c121b,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x55098b,_0x1a8c8d),_0x43ca90['set'](_0x55098b,_0x5c121b['isAttached']()?_0x374c39:{});for(const [_0x3760a1,_0x3c235f]of _0x5c121b['markers']){if(!_0x3760a1['startsWith']('revision:'))continue;const _0x2fea60=_0x3760a1['split'](':')[0x2];for(const _0x4ede24 of _0x3c235f['getWalker']({'singleCharacters':!0x0})){const _0x2d5f18=this['_getVidAttributeName'](_0x4ede24),_0x80afa=this['_revisionId']++,_0xf1a508='elementEnd'==_0x4ede24['type']?_0x4ede24['previousPosition']['path']['slice'](0x0,-0x1):_0x4ede24['previousPosition']['path'];_0x1a8c8d['getNodeByPath'](_0xf1a508)['_setAttribute'](_0x2d5f18,_0x80afa),this['_touched']['set'](_0x80afa,{'userId':_0x2fea60});}}for(const _0x1a4cb5 of this['editor']['model']['createRangeIn'](_0x5c121b)['getWalker']({'singleCharacters':!0x0})){const _0x4a5b78=this['_getVidAttributeName'](_0x1a4cb5),_0x22d93a='elementEnd'==_0x1a4cb5['type']?_0x1a4cb5['previousPosition']['path']['slice'](0x0,-0x1):_0x1a4cb5['previousPosition']['path'],_0x5e71d1=_0x1a8c8d['getNodeByPath'](_0x22d93a);_0x5e71d1['getAttribute'](_0x4a5b78)>0x0||_0x5e71d1['_setAttribute'](_0x4a5b78,_0x5ac045[_0x178487++]);}for(const [_0x29e6a8,_0x2f561e]of _0x5c121b['markers'])_0x29e6a8['startsWith']('revision:')||this['_markers']['set'](_0x29e6a8,_0x2f561e);}const _0x527cb6=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x527cb6),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x527cb6,0x1));const _0x861cc2=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x861cc2),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x861cc2,0x1));const _0x497c0b=Array['from'](this['_diffRoots'])['map'](([_0x158544,_0x5a40e5])=>[_0x158544,q(_0x5a40e5)]);this['_saveMetaData'](this['_lastTo'],_0x497c0b,this['_markers'],_0x43ca90);}['_makeModelFromViewString'](_0x1ec69f){const _0x376c01=JSON['parse'](_0x1ec69f),_0x29d357=this['editor']['editing']['view']['document'],_0x30f3f8=new _0xc0256f(_0x29d357,_0x376c01['map'](_0x1e6d32=>B(_0x1e6d32,this['editor'])));return this['editor']['data']['toModel'](_0x30f3f8);}['_saveMetaData'](_0x4c832a,_0x15532e,_0x477186,_0xfaff7c){const _0x3b92ec=new Map(_0x15532e),_0x360f23=new Map(_0x363356(_0xfaff7c)),_0x58ed43=new Map();for(const [_0x3042d1,_0x462d21]of _0x477186)_0x58ed43['set'](_0x3042d1,{'start':_0x462d21['start']['clone'](),'end':_0x462d21['end']['clone'](),'rootName':_0x462d21['root']['rootName']});this['_savedMetaData']['set'](_0x4c832a,{'roots':_0x3b92ec,'markers':_0x58ed43,'rootsAttributes':_0x360f23});}['_removeMetaData'](_0x110dbf){this['_savedMetaData']['delete'](_0x110dbf);}['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'](_0xea8c6e,_0x9fc62a=null){let _0x10d656=null;_0xea8c6e['is']('documentFragment')||(_0x10d656=new ft(_0xea8c6e['name'],{'vid_start':null===_0x9fc62a?this['_revisionId']++:_0x9fc62a++}));const _0x20c0d8=[];for(const _0x1bc3d0 of _0xea8c6e['getChildren']())if(_0x1bc3d0['is']('element')){_0x20c0d8['push'](this['_makeIdsRoot'](_0x1bc3d0,_0x9fc62a));const _0x467edb=_0x20c0d8[_0x20c0d8['length']-0x1];null!==_0x9fc62a&&(_0x9fc62a=_0x467edb['is']('element','$text')?_0x467edb['getAttribute']('vid')+0x1:_0x467edb['getAttribute']('vid_end')+0x1);}else{for(let _0x439f16=0x0;_0x439f16<_0x1bc3d0['offsetSize'];_0x439f16++)_0x20c0d8['push'](new ft('$text',{'vid':null===_0x9fc62a?this['_revisionId']++:_0x9fc62a++}));}if(_0xea8c6e['is']('documentFragment')){const _0x18b094=G(_0xea8c6e['rootName']);return _0x18b094['_insertChild'](0x0,_0x20c0d8),_0x18b094;}return _0x10d656['_setAttribute']('vid_end',null===_0x9fc62a?this['_revisionId']++:_0x9fc62a++),_0x10d656['_insertChild'](0x0,_0x20c0d8),_0x10d656;}['_calculateMetaData'](_0x17dc06,_0x289e1f,_0x2cced4){this['_reset']();const {roots:_0x4865f1,markers:_0x90afee,rootsAttributes:_0x555d6a}=this['_savedMetaData']['get'](_0x17dc06);this['_baseRoots']=new Map(_0x4865f1),this['_baseRootsAttributes']=new Map(_0x363356(_0x555d6a));for(const [_0x1ea59b,_0x2bbc74]of this['_baseRoots'])if('$graveyard'!==_0x1ea59b&&(this['_diffRoots']['set'](_0x1ea59b,q(_0x2bbc74)),this['_diffRootsAttributes']=new Map(_0x363356(_0x555d6a)),_0x2cced4)){const _0x11b59b=this['_revisionId'];this['_idsRoots']['set'](_0x1ea59b,this['_makeIdsRoot'](_0x2bbc74)),this['_baseIdsRoots']['set'](_0x1ea59b,this['_makeIdsRoot'](_0x2bbc74,_0x11b59b));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2cced4&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x4555e9,_0x397853]of _0x90afee){const _0x39e1a4=this['_baseRoots']['get'](_0x397853['rootName']),_0x105cd0=this['_diffRoots']['get'](_0x397853['rootName']),_0x42aaed=new vt(this['_fixPosition'](_0x397853['start'],_0x39e1a4),this['_fixPosition'](_0x397853['end'],_0x39e1a4)),_0x175bab=this['_fixRange'](_0x42aaed,_0x105cd0);_0x39e1a4['markers']['set'](_0x4555e9,_0x42aaed),this['_markers']['set'](_0x4555e9,_0x175bab);}this['_applyOperations'](_0x17dc06,_0x289e1f,_0x2cced4);}['_applyOperations'](_0x12f4bf,_0x38f3f9,_0x2c1b66){for(const _0x4dca76 of this['source']['getOperations'](_0x12f4bf,_0x38f3f9))this['_handleOperation'](_0x4dca76,_0x2c1b66);for(const _0x23f5ac of this['_diffRoots']['values']())_0x23f5ac['markers']['clear']();for(const [_0x550ffa,_0x51e7d7]of this['_markers']){this['_diffRoots']['get'](_0x51e7d7['root']['rootName'])['markers']['set'](_0x550ffa,_0x51e7d7['clone']());}const _0x251fc3=new Map(),_0x2603b5=new Map();for(const [_0x1f2b6a,_0x374bd9]of this['_diffRoots'])_0x251fc3['set'](_0x1f2b6a,q(_0x374bd9)),_0x2603b5['set'](_0x1f2b6a,this['_diffRootsAttributes']['get'](_0x1f2b6a));this['_saveMetaData'](_0x38f3f9,_0x251fc3,this['_markers'],_0x2603b5);}['_getPreviousFrom'](_0x3bbd59){const _0x18b4a8=Array['from'](this['_savedMetaData']['keys']());_0x18b4a8['sort']((_0x5e31c9,_0x3e7a6d)=>_0x5e31c9-_0x3e7a6d),_0x18b4a8['reverse']();for(const _0x1a97af of _0x18b4a8)if(_0x1a97af<_0x3bbd59)return _0x1a97af;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1389ac,_0x222c29){const _0x224013=Array['from'](_0x222c29['markers'])['map'](([_0x1066fe,_0xb4d5fa])=>[_0x1066fe,this['_fixRange'](_0xb4d5fa,_0x1389ac)]);_0x1389ac['markers']=new Map(_0x224013);}['_transformMarkers'](_0x5e219a){for(const _0xf17090 of this['_markers']['values']()){const _0x1607c7=_0xf17090['getTransformedByOperation'](_0x5e219a),_0x14022e=vt['_createFromRanges'](_0x1607c7);_0xf17090['start']=_0x14022e['start'],_0xf17090['end']=_0x14022e['end'];}}['_handleOperation'](_0x492f56,_0x1c8743){if('addRoot'==_0x492f56['type']||'detachRoot'==_0x492f56['type'])return void this['_handleRootOperation'](_0x492f56,_0x1c8743);if('insert'==_0x492f56['type']){const _0x136239=_0x492f56['position']['root']['rootName'];this['_diffRoots']['has'](_0x136239)||(this['_diffRoots']['set'](_0x136239,G(_0x136239,!0x0)),this['_diffRootsAttributes']['set'](_0x136239,{}),_0x1c8743&&this['_idsRoots']['set'](_0x136239,G(_0x136239,!0x0)));}else{if('addRootAttribute'==_0x492f56['type']||'removeRootAttribute'==_0x492f56['type']||'changeRootAttribute'==_0x492f56['type'])return void this['_handleRootAttributeOperation'](_0x492f56);}const _0x5ecb28=this['_cloneOperation'](_0x492f56,this['_diffRoots']);if('marker'!==_0x492f56['type']&&(_0x5ecb28['_execute'](),this['_transformMarkers'](_0x5ecb28)),_0x1c8743)switch(_0x5ecb28['type']){case'insert':this['_handleInsertOperation'](_0x492f56);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x492f56);break;case'merge':this['_handleMergeOperation'](_0x492f56);break;case'split':this['_handleSplitOperation'](_0x492f56);break;case'marker':this['_handleMarkerOperation'](_0x492f56);}}['_cloneOperation'](_0x18e421,_0x5f2399){const _0x594439=_0x18e421['clone']();return _0x594439['_authorId']=_0x18e421['_authorId'],this['_fixOperation'](_0x594439,_0x5f2399),_0x594439;}['_getBaseVids'](_0x44f9b2){return _0x44f9b2['map'](_0x39ab75=>{const _0x15e50a=this['_getVidAttributeName'](_0x39ab75);return Number(_0x39ab75['item']['getAttribute'](_0x15e50a));});}['_generateTape'](_0xd8483c,_0x224978){if(_0xd8483c['is']('element','$text'))_0x224978['push']({'item':_0xd8483c,'type':'text'});else{_0xd8483c['is']('element')&&_0x224978['push']({'item':_0xd8483c,'type':'elementStart'});for(const _0x91216e of _0xd8483c['getChildren']())this['_generateTape'](_0x91216e,_0x224978);_0xd8483c['is']('element')&&_0x224978['push']({'item':_0xd8483c,'type':'elementEnd'});}return _0x224978;}['_getState'](){const _0xe0a426=new Map(this['_touched']),_0x5635ea=new Map(_0xe0a426),_0x40fc72=new Map(),_0x4ad259={'insertions':{},'deletions':{}},_0x329db6={'insertions':{},'deletions':{}},_0x177759=new Map(),_0x172c5d=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x172c5d['delete']('$graveyard');for(const _0x5a229b of _0x172c5d){const _0x450ae9=this['_diffRoots']['get'](_0x5a229b)||G(_0x5a229b,!0x1),_0x28f38a=this['_baseRoots']['get'](_0x5a229b)||G(_0x5a229b,!0x1);_0x450ae9['isAttached']()||_0x28f38a['isAttached']()?(_0x4ad259['insertions'][_0x5a229b]=q(_0x450ae9),_0x4ad259['deletions'][_0x5a229b]=q(_0x28f38a),this['_copyMarkers'](_0x4ad259['deletions'][_0x5a229b],_0x28f38a),this['_copyMarkers'](_0x4ad259['insertions'][_0x5a229b],_0x450ae9),_0x329db6['insertions'][_0x5a229b]=this['_generateTape'](this['_idsRoots']['get'](_0x5a229b),[]),_0x329db6['deletions'][_0x5a229b]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x5a229b)||G(_0x5a229b,!0x1),[])):_0x172c5d['delete'](_0x5a229b);}for(const _0x22a928 of _0x172c5d){const _0x88670d=_0x329db6['insertions'][_0x22a928];for(const _0x3be975 of _0x88670d){const _0x1a753e=this['_getVidAttributeName'](_0x3be975),_0x108678=_0x3be975['item']['getAttribute'](_0x1a753e);_0x5635ea['delete'](_0x108678),_0x108678>=this['_startingRevisionId']&&_0x40fc72['set'](_0x108678,_0xe0a426['get'](_0x108678));}}for(const _0x521409 of _0x172c5d){const _0x5f640b=_0x329db6['insertions'][_0x521409],_0x254c71=this['_getBaseVids'](_0x329db6['deletions'][_0x521409]);let _0x406b42=0x0;for(const _0x4fe7bf of _0x5f640b){const _0x18c2f6=this['_getVidAttributeName'](_0x4fe7bf),_0x5a5839=_0x4fe7bf['item']['getAttribute'](_0x18c2f6);if(!_0x40fc72['has'](_0x5a5839)&&!_0x177759['has'](_0x5a5839)){if(_0x5635ea['has'](_0x5a5839))_0x406b42++;else{if(_0x5a5839!=_0x254c71[_0x406b42]){const _0x331360=_0xe0a426['get'](_0x5a5839)||_0xe0a426['get'](_0x254c71[_0x406b42]);for(;_0x5a5839!=_0x254c71[_0x406b42];)_0x5635ea['has'](_0x254c71[_0x406b42])||(_0x177759['set'](_0x254c71[_0x406b42],_0x331360),_0xe0a426['set'](_0x254c71[_0x406b42],_0x331360)),_0x406b42++;}_0x406b42++;}}}}for(const _0x1005c6 of _0x172c5d){const _0x19e789=_0x329db6['insertions'][_0x1005c6];for(const _0x2a0b9e of _0x19e789){const _0x21479a=this['_getVidAttributeName'](_0x2a0b9e),_0x37618e=_0x2a0b9e['item']['getAttribute'](_0x21479a);if(_0x177759['has'](_0x37618e)){const _0x3f8a51=_0x177759['get'](_0x37618e);_0x5635ea['has'](_0x37618e)||_0x5635ea['set'](_0x37618e,{..._0x3f8a51}),_0x40fc72['set'](_0x37618e,{..._0x3f8a51});}}}for(const _0x59e408 of _0x5635ea['keys']())_0x59e408>=this['_startingRevisionId']&&_0x5635ea['delete'](_0x59e408);const _0x18b686=new Map();for(const _0x409952 of _0x172c5d){let _0x36b998=_0x329db6['insertions'][_0x409952];for(const _0x49f597 of _0x36b998)if(_0x49f597['item']['is']('element','tableCell')){const _0x51402b=this['_getVidAttributeName'](_0x49f597),_0x214a58=_0x49f597['item']['getAttribute'](_0x51402b);if(_0x40fc72['has'](_0x214a58)){const _0x150636=_0x49f597['item']['parent']['parent']['getAttribute']('vid_start'),_0x563189=_0x18b686['get'](_0x150636)||new Set();_0x563189['add'](_0x40fc72['get'](_0x214a58)['userId']),_0x18b686['set'](_0x150636,_0x563189);}}_0x36b998=_0x329db6['deletions'][_0x409952];for(const _0x50df6d of _0x36b998)if(_0x50df6d['item']['is']('element','tableCell')){const _0x419db2=this['_getVidAttributeName'](_0x50df6d),_0xc3ff7a=_0x50df6d['item']['getAttribute'](_0x419db2);if(_0x5635ea['has'](_0xc3ff7a)){const _0x104566=_0x50df6d['item']['parent']['parent']['getAttribute']('vid_start'),_0x3df7b0=_0x18b686['get'](_0x104566)||new Set();_0x3df7b0['add'](_0x5635ea['get'](_0xc3ff7a)['userId']),_0x18b686['set'](_0x104566,_0x3df7b0);}}for(const _0x458752 of _0x18b686['keys']())(_0x40fc72['has'](_0x458752)||_0x5635ea['has'](_0x458752))&&_0x18b686['delete'](_0x458752);}for(const _0x38cf37 of _0x172c5d){const _0x1a2297=_0x329db6['insertions'][_0x38cf37];let _0x11aaa8=null,_0x180557=null;for(const _0x1a711f of _0x1a2297){const _0x5dffbc=this['_getVidAttributeName'](_0x1a711f),_0x203c20=_0x1a711f['item']['getAttribute'](_0x5dffbc),_0x40b4cf=_0x18b686['get'](_0x203c20);_0x40b4cf&&'elementStart'==_0x1a711f['type']&&(_0x11aaa8=Array['from'](_0x40b4cf)[0x0],_0x180557=_0x1a711f['item']['getAttribute']('vid_end')),_0x11aaa8&&(_0x5635ea['set'](_0x203c20,{'userId':_0x11aaa8}),_0x40fc72['set'](_0x203c20,{'userId':_0x11aaa8})),_0x203c20==_0x180557&&(_0x11aaa8=null,_0x180557=null);}}const _0x1edcdf={},_0x29fbed=new Set();for(const _0x788bf6 of _0x172c5d){const _0x151779=_0x4ad259['deletions'][_0x788bf6],_0x4d936c=_0x4ad259['insertions'][_0x788bf6];for(const {userId:_0xacc735}of this['_touchedMarkers']['values']())null!==_0xacc735&&_0x29fbed['add'](_0xacc735);for(const {userId:_0x5af30f}of this['_touchedRoots']['values']())null!==_0x5af30f&&_0x29fbed['add'](_0x5af30f);this['_markChanges'](_0x4d936c,_0x329db6['insertions'][_0x788bf6],_0x40fc72,'insertion',_0x29fbed),this['_markChanges'](_0x151779,_0x329db6['deletions'][_0x788bf6],_0x5635ea,'deletion',_0x29fbed),_0x1edcdf[_0x788bf6]={'insertions':this['_prepareViewToSave'](_0x4d936c),'deletions':this['_prepareViewToSave'](_0x151779),'attachChange':this['_touchedRoots']['get'](_0x788bf6)||null,'attributesBefore':_0x363356(this['_baseRootsAttributes']['get'](_0x788bf6))||{},'attributesAfter':_0x363356(this['_diffRootsAttributes']['get'](_0x788bf6))};}return{'diffData':_0x1edcdf,'authorsIds':Array['from'](_0x29fbed)};}['_processRootBeforeSave'](_0x4ea9b5){for(const [,_0x112b3c]of _0x4ea9b5['markers']){const _0x490274=_0x112b3c['start']['getAncestors']()['filter'](_0x30784b=>'tableCell'==_0x30784b['name']);for(const _0x325338 of _0x490274)0x1==_0x325338['childCount']&&_0x325338['getChild'](0x0)['is']('element','paragraph')&&_0x325338['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x242e8d){this['_processRootBeforeSave'](_0x242e8d);const _0x6ff94f=this['editor']['data']['toView'](_0x242e8d,{}),_0x4eca9a=Array['from'](_0x6ff94f['getChildren']())['map'](_0x2a81d2=>this['_getViewJson'](_0x2a81d2));return JSON['stringify'](_0x4eca9a);}['_getViewJson'](_0x4cc2c1){if(_0x4cc2c1['is']('$text'))return _0x4cc2c1['data'];{const _0x272938=_0x4cc2c1;return{'type':Object['keys'](T)['find'](_0x250198=>_0x4cc2c1 instanceof T[_0x250198]),'name':_0x272938['name'],'attributes':Array['from'](_0x272938['getAttributes']()),'children':Array['from'](_0x272938['getChildren']())['map'](_0x8843e1=>this['_getViewJson'](_0x8843e1))};}}['_markChanges'](_0x1fe141,_0x11b475,_0x398eaa,_0x19ae6b,_0x101ffd){let _0x905e77=null,_0x1e226f=null,_0x4b593b=0x0;const _0x473690=this['editor']['model'];for(let _0x4c104b=0x0;_0x4c104b<_0x11b475['length'];_0x4c104b++){const _0x44ffbb=this['_getVidAttributeName'](_0x11b475[_0x4c104b]),_0x5f24c0=_0x11b475[_0x4c104b]['item']['getAttribute'](_0x44ffbb),_0x4a11ba=_0x398eaa['get'](_0x5f24c0),_0x7e8839=_0x4c104b==_0x11b475['length']-0x1;(!_0x905e77&&_0x4a11ba&&(_0x905e77=_0x4a11ba,_0x1e226f=_0x11b475[_0x4c104b]),_0x905e77&&(!_0x4a11ba||_0x4a11ba['userId']!=_0x905e77['userId']))&&(_0x4c2267(_0x4a11ba,L(_0x1e226f,_0x1fe141,_0x473690),L(_0x11b475[_0x4c104b],_0x1fe141,_0x473690)),_0x905e77=_0x4a11ba||null,_0x1e226f=_0x4a11ba?_0x11b475[_0x4c104b]:null),_0x905e77&&_0x7e8839&&_0x4c2267(_0x4a11ba,L(_0x1e226f,_0x1fe141,_0x473690),W(_0x11b475[_0x4c104b],_0x1fe141,_0x473690));}function _0x4c2267(_0x2b4a92,_0x4d38ad,_0x100705){const _0x284b32=_0x905e77['userId'],_0x5e5cdc='revision:'+_0x19ae6b+':'+_0x284b32+':'+_0x4b593b++,_0x1a6ed9=_0x473690['createRange'](_0x4d38ad,_0x100705);_0x1fe141['markers']['set'](_0x5e5cdc,_0x1a6ed9),null!==_0x284b32&&_0x101ffd['add'](_0x284b32);}}['_getVidAttributeName'](_0x1f29ca){switch(_0x1f29ca['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x40218f,_0x395eb0){_0x40218f['baseVersion']=null;for(const _0x2d612c in _0x40218f){const _0x5b9a52=_0x40218f[_0x2d612c];if(_0x5b9a52 instanceof gt){const _0x4e6d16=_0x395eb0['get'](_0x5b9a52['root']['rootName']);_0x40218f[_0x2d612c]=this['_fixPosition'](_0x5b9a52,_0x4e6d16);}if(_0x5b9a52 instanceof vt){const _0x2b501f=_0x395eb0['get'](_0x5b9a52['root']['rootName']);_0x40218f[_0x2d612c]=this['_fixRange'](_0x5b9a52,_0x2b501f);}'root'===_0x2d612c&&(_0x40218f['root']=_0x395eb0['get'](_0x40218f['root']['rootName']));}}['_fixRange'](_0x18944a,_0x3139d2){return this['editor']['model']['createRange'](this['_fixPosition'](_0x18944a['start'],_0x3139d2),this['_fixPosition'](_0x18944a['end'],_0x3139d2));}['_fixPosition'](_0x3d8d62,_0x889461){return this['editor']['model']['createPositionFromPath'](_0x889461,_0x3d8d62['path'],_0x3d8d62['stickiness']);}['_handleInsertOperation'](_0x39c4c8){const _0x49cb1e=this['_idsRoots']['get'](_0x39c4c8['position']['root']['rootName']),_0x5e8dc8=this['_fixPosition'](_0x39c4c8['position'],_0x49cb1e),_0x458164=null===_0x39c4c8['_authorId']?null:_0x39c4c8['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4777e6=_0x5e8dc8['parent'],_0x3ae0a0=this['_revisionId'],_0x2e0730=[];for(const _0x29b5b7 of _0x39c4c8['nodes'])if(_0x29b5b7['is']('element'))_0x2e0730['push'](this['_makeIdsRoot'](_0x29b5b7));else{for(let _0x35cb8a=0x0;_0x35cb8a<_0x29b5b7['offsetSize'];_0x35cb8a++)_0x2e0730['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0xd1b991=this['_revisionId'];for(let _0x567701=_0x3ae0a0;_0x567701<_0xd1b991;_0x567701++)this['_touched']['set'](_0x567701,{'userId':_0x458164});_0x4777e6['_insertChild'](_0x5e8dc8['offset'],_0x2e0730);}['_handleMoveOperation'](_0x5aeb05){(_0x5aeb05=this['_cloneOperation'](_0x5aeb05,this['_idsRoots']))['_execute']();const _0x1e91ce=null===_0x5aeb05['_authorId']?null:_0x5aeb05['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x473854=_0x5aeb05['getMovedRangeStart'](),_0x404404=_0x473854['parent'],_0x31a1e3=_0x473854['offset'];!function _0x54b2d5(_0x62f5e9,_0x2b15a8,_0x291cad,_0x3c10dd){for(let _0xbe6fd2=_0x291cad;_0xbe6fd2<_0x3c10dd;_0xbe6fd2++){const _0x2f31e1=_0x2b15a8['getChild'](_0xbe6fd2);_0x2f31e1['is']('element','$text')?_0x62f5e9['set'](_0x2f31e1['getAttribute']('vid'),{'userId':_0x1e91ce}):(_0x62f5e9['set'](_0x2f31e1['getAttribute']('vid_start'),{'userId':_0x1e91ce}),_0x54b2d5(_0x62f5e9,_0x2f31e1,0x0,_0x2f31e1['childCount']),_0x62f5e9['set'](_0x2f31e1['getAttribute']('vid_end'),{'userId':_0x1e91ce}));}}(this['_touched'],_0x404404,_0x31a1e3,_0x31a1e3+_0x5aeb05['howMany']);}['_handleMergeOperation'](_0x24b187){const _0x17a7e0=null===(_0x24b187=this['_cloneOperation'](_0x24b187,this['_idsRoots']))['_authorId']?null:_0x24b187['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x28081b=_0x24b187['targetPosition']['parent'],_0xa66961=_0x24b187['sourcePosition']['parent'],_0x111125=_0x28081b['getAttribute']('vid_end'),_0x3803ff=_0xa66961['getAttribute']('vid_start');_0x28081b['_setAttribute']('vid_end',_0xa66961['getAttribute']('vid_end')),_0xa66961['_setAttribute']('vid_end',_0x111125),this['_touched']['set'](_0x3803ff,{'userId':_0x17a7e0}),this['_touched']['set'](_0x111125,{'userId':_0x17a7e0}),_0x24b187['_execute']();}['_handleSplitOperation'](_0x7eeaa1){const _0x1886ad=null===(_0x7eeaa1=this['_cloneOperation'](_0x7eeaa1,this['_idsRoots']))['_authorId']?null:_0x7eeaa1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x42a1a3=_0x7eeaa1['graveyardPosition'],_0x543f2a=_0x7eeaa1['splitPosition']['parent'];_0x7eeaa1['_execute']();const _0x58a606=_0x543f2a['getAttribute']('vid_end'),_0x50e5fe=_0x7eeaa1['insertionPosition']['nodeAfter'];if(_0x42a1a3){const _0x76958d=_0x50e5fe['getAttribute']('vid_end'),_0x103cbe=_0x543f2a['getAttribute']('vid_end');_0x543f2a['_setAttribute']('vid_end',_0x76958d),_0x50e5fe['_setAttribute']('vid_end',_0x103cbe),this['_touched']['set'](_0x543f2a['getAttribute']('vid_end'),{'userId':_0x1886ad}),this['_touched']['set'](_0x50e5fe['getAttribute']('vid_start'),{'userId':_0x1886ad});}else{const _0x2f8c51=this['_revisionId']++,_0x4d20a2=this['_revisionId']++;_0x543f2a['_setAttribute']('vid_end',_0x2f8c51),_0x50e5fe['_setAttribute']('vid_start',_0x4d20a2),_0x50e5fe['_setAttribute']('vid_end',_0x58a606),this['_touched']['set'](_0x2f8c51,{'userId':_0x1886ad}),this['_touched']['set'](_0x4d20a2,{'userId':_0x1886ad});}}['_handleMarkerOperation'](_0x1c507c){if(!_0x1c507c['affectsData'])return;const _0x5b5b7f=(_0x1c507c=this['_cloneOperation'](_0x1c507c,this['_diffRoots']))['oldRange']?_0x1c507c['oldRange']['root']:null,_0x57ec35=_0x1c507c['newRange']?_0x1c507c['newRange']['root']:null;_0x5b5b7f&&this['_markers']['delete'](_0x1c507c['name']),_0x57ec35&&this['_markers']['set'](_0x1c507c['name'],_0x1c507c['newRange']['clone']());const _0x14245a=null===_0x1c507c['_authorId']?null:_0x1c507c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xe788b=_0x1c507c['name'];if(!this['_touchedMarkers']['has'](_0xe788b))return void this['_touchedMarkers']['set'](_0xe788b,{'range':_0x1c507c['oldRange'],'userId':_0x14245a});const _0x3430f6=this['_touchedMarkers']['get'](_0xe788b),_0x3c41ed=_0x3430f6['range'],_0x396636=_0x1c507c['newRange'];null==_0x3c41ed&&null==_0x396636||_0x3c41ed&&_0x396636&&_0x3c41ed['isEqual'](_0x396636)?this['_touchedMarkers']['delete'](_0x1c507c['name']):_0x3430f6['userId']=_0x14245a;}['_handleRootOperation'](_0x42ca3a,_0xf5eec){this['_diffRoots']['has'](_0x42ca3a['rootName'])?this['_diffRoots']['get'](_0x42ca3a['rootName'])['_isAttached']=_0x42ca3a['isAdd']:(this['_diffRoots']['set'](_0x42ca3a['rootName'],G(_0x42ca3a['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x42ca3a['rootName'],{}),_0xf5eec&&this['_idsRoots']['set'](_0x42ca3a['rootName'],G(_0x42ca3a['rootName'],!0x0)));const _0x177f40=null===_0x42ca3a['_authorId']?null:_0x42ca3a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3ad8d6=this['_touchedRoots']['get'](_0x42ca3a['rootName']);_0x3ad8d6&&_0x3ad8d6['userId']===_0x177f40?this['_touchedRoots']['delete'](_0x42ca3a['rootName']):this['_touchedRoots']['set'](_0x42ca3a['rootName'],{'userId':_0x177f40,'isAttached':_0x42ca3a['isAdd']});}['_handleRootAttributeOperation'](_0x6a89d2){const _0x1a9e7d=this['_diffRootsAttributes']['get'](_0x6a89d2['root']['rootName']);null===_0x6a89d2['newValue']?delete _0x1a9e7d[_0x6a89d2['key']]:_0x1a9e7d[_0x6a89d2['key']]=_0x6a89d2['newValue'];}}function q(_0x1bc7b1){const _0x418a26=G(_0x1bc7b1['rootName'],_0x1bc7b1['isAttached']());for(const _0x3d84f4 of _0x1bc7b1['getChildren']()){const _0x4c5a47=_0x3d84f4['_clone'](!0x0);_0x418a26['_appendChild'](_0x4c5a47);}return _0x418a26;}function G(_0x34dfa6,_0x461177=!0x0){const _0x21480e=new wt();return _0x21480e['rootName']=_0x34dfa6,_0x21480e['_isAttached']=_0x461177,_0x21480e['isAttached']=()=>_0x21480e['_isAttached'],_0x21480e;}function L(_0x28f2c1,_0x25524b,_0x4ca895){const _0x237c6f='elementEnd'==_0x28f2c1['type']?_0x4ca895['createPositionAt'](_0x28f2c1['item'],'end'):_0x4ca895['createPositionBefore'](_0x28f2c1['item']);return _0x4ca895['createPositionFromPath'](_0x25524b,_0x237c6f['path'],_0x237c6f['stickiness']);}function W(_0x26c36d,_0xe3b5a2,_0x20e6c8){const _0x1b9bb2='elementStart'==_0x26c36d['type']?_0x20e6c8['createPositionAt'](_0x26c36d['item'],0x0):_0x20e6c8['createPositionAfter'](_0x26c36d['item']);return _0x20e6c8['createPositionFromPath'](_0xe3b5a2,_0x1b9bb2['path'],_0x1b9bb2['stickiness']);}class ns extends _0x4430a9{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x196383,_0x42c76a){super(_0x196383),this['focusTracker']=new _0x293c41(),this['keystrokes']=new _0x4d24f0(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x42c76a),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'](),_0x4ac12e({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x543f88=_0x2a219e=>_0x2a219e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x543f88),this['keystrokes']['set']('arrowleft',_0x543f88),this['keystrokes']['set']('arrowup',_0x543f88),this['keystrokes']['set']('arrowdown',_0x543f88);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x51f7cd){this['revisionNameInputView']['fieldView']['element']['value']=_0x51f7cd['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x32bf95){const _0x7c3ecd=new at(this['locale'],_0x30d323),_0x5df619=_0x7c3ecd['fieldView'];_0x5df619['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5ae71e=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x32bf95&&(_0x5ae71e+='\x20('+y(this['locale'],'optional')+')'),(_0x7c3ecd['label']=_0x5ae71e,_0x5df619['on']('input',()=>{this['revisionNameInputValue']=_0x5df619['element']['value']['trim']();}),_0x7c3ecd);}}class u extends _0x201084{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x160184=this['editor'],_0x3da33b=_0x160184['plugins']['get']('RevisionTracker');_0x160184['ui']['componentFactory']['add']('revisionHistory',_0x18cca5=>{const _0x3a0730=_0xa714a4(_0x18cca5),_0x7f3e9c=_0x3a0730['panelView']['children'],_0x53b3cf=new te(_0x18cca5),_0x2eba10=new _0x13cdd(_0x18cca5),_0x51ef84=new _0x9a604c(_0x18cca5),_0x5efa69=new _0x13cdd(_0x18cca5),_0x307bb8=new _0x9a604c(_0x18cca5);return _0x3a0730['bind']('isEnabled')['to'](_0x3da33b,'isReady',_0x3da33b,'isEnabled',_0x160184,'isReadOnly',(_0x41a06d,_0x25fa90,_0x5bf91b)=>_0x41a06d&&_0x25fa90&&!_0x5bf91b),_0x3a0730['buttonView']['set']({'icon':_0x13a4f6['history'],'label':y(_0x18cca5,'Revision\x20history'),'tooltip':!0x0}),_0x51ef84['set']({'label':y(_0x18cca5,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x51ef84['bind']('isEnabled')['to'](_0x3da33b,'isReady',_0x3da33b,'isEnabled',_0x160184,'isReadOnly',(_0x223380,_0x230685,_0x683aeb)=>_0x223380&&_0x230685&&!_0x683aeb),_0x51ef84['on']('execute',()=>this['_showDialog']()),_0x307bb8['set']({'label':y(_0x18cca5,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x307bb8['bind']('isEnabled')['to'](_0x3da33b,'isReady',_0x160184,'isReadOnly',(_0x475953,_0x1c4180)=>_0x475953&&!_0x1c4180),_0x307bb8['on']('execute',()=>{_0x160184['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3a0730['isOpen']=!0x1,_0x160184['editing']['view']['focus']();}),_0x2eba10['children']['add'](_0x51ef84),_0x5efa69['children']['add'](_0x307bb8),_0x53b3cf['role']='menu',_0x53b3cf['items']['addMany']([_0x2eba10,_0x5efa69]),_0x7f3e9c['add'](_0x53b3cf),_0x3a0730;}),_0x160184['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x346189=this['editor'],_0xf8736f=_0x346189['locale'],_0x283da4=new _0x494e8a(_0xf8736f),_0x564ab2=new _0x52bea3(_0xf8736f);_0x283da4['buttonView']['set']({'icon':_0x13a4f6['history'],'label':y(_0xf8736f,'Revision\x20history')});const _0x2e7923=new _0x20c081(_0xf8736f,_0x283da4),_0x400647=new _0x11a89a(_0xf8736f);_0x400647['set']({'label':y(_0xf8736f,'Save\x20current\x20revision')}),_0x400647['delegate']('execute')['to'](_0x283da4),_0x400647['on']('execute',()=>{this['_showDialog']();}),_0x2e7923['children']['add'](_0x400647),_0x564ab2['items']['add'](_0x2e7923);const _0x102534=new _0x20c081(_0xf8736f,_0x283da4),_0x554c16=new _0x11a89a(_0xf8736f);return _0x554c16['set']({'label':y(_0xf8736f,'Open\x20revision\x20history')}),_0x554c16['delegate']('execute')['to'](_0x283da4),_0x554c16['on']('execute',()=>{_0x346189['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x102534['children']['add'](_0x554c16),_0x564ab2['items']['add'](_0x102534),_0x283da4['panelView']['children']['add'](_0x564ab2),_0x283da4;}['_showDialog'](){const _0x73a7bf=this['editor'],_0x3955d6=_0x73a7bf['locale'],t=_0x3955d6['t'],_0x204462=_0x73a7bf['plugins']['get']('Dialog'),_0x46f0b9=_0x73a7bf['plugins']['get']('RevisionTracker');function _0x568498(_0x4c4807){_0x73a7bf['config']['get']('revisionHistory.requireRevisionName')&&''===_0x4c4807['revisionName']?_0x4c4807['revisionNameInputView']['errorText']=y(_0x3955d6,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x73a7bf['plugins']['get'](l)['saveRevision']({'name':_0x4c4807['revisionName']}),_0x204462['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x568498(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x204462['show']({'id':'revisionSave','title':y(_0x3955d6,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x204462['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x569066){_0x569066['bind']('isEnabled')['to'](_0x46f0b9,'isReady',_0x46f0b9,'isEnabled',_0x73a7bf,'isReadOnly',(_0x4f538f,_0x1e66c9,_0x4668fc)=>_0x4f538f&&_0x1e66c9&&!_0x4668fc);},'onExecute':()=>_0x568498(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4a3995=this['editor'],_0x32310d=_0x4a3995['locale'];this['_saveRevisionFormView']=new ns(_0x32310d,_0x4a3995['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x4430a9{['changeId'];['_model'];constructor(_0x1e012e,_0x36d2df){super(_0x1e012e),this['_model']=_0x36d2df,this['changeId']=_0x36d2df['id'];const _0x2639c0=this['bindTemplate'],_0x40ec0f=y(_0x1e012e,_0x36d2df['data']['isSuggestion']?'Suggested\x20by':'add'==_0x36d2df['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x36d2df['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2639c0['to']('type',_0x50f20b=>'ck-revision-change__'+_0x50f20b)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x40ec0f}]},{'text':'\x20'+_0x36d2df['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x4e1e23(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0xff4355){super(),this['id']=_0xff4355['id']||_0x4847d5(),this['author']=_0xff4355['author'],this['type']=_0xff4355['type'],this['data']=_0xff4355['data']||{},this['rootName']=_0xff4355['rootName'],this['set']('createdAt',_0xff4355['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(_0x2e157c,_0x5cbb02){this['newRevisionId']=_0x2e157c,this['oldRevisionId']=_0x5cbb02,this['changes']=new _0x5909d2();}['_setChanges'](_0xa9c096){for(const _0x403fa6 of _0xa9c096)this['changes']['add'](_0x403fa6);}}const tt={'c':_0x3384fd,'a':_0x4a25d5,'e':_0x87460b,'r':_0x4b4c84,'u':_0x197f1d};class d extends _0x201084{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5b1d7a,_0x5dc87b,A];}constructor(_0x18f617){super(_0x18f617),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',(_0x417999,_0xf79a6a,_0x4107be)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x309beb=>{for(const _0xb5e681 of this['editor']['editing']['view']['document']['roots'])_0x4107be?_0x309beb['removeClass']('ck-editor__editable__overlay',_0xb5e681):_0x309beb['addClass']('ck-editor__editable__overlay',_0xb5e681);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x2cd209=>null!==_0x2cd209),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1ff78a,_0x567d70,_0x1934a9)=>_0x1ff78a&&_0x1934a9?_0x567d70['changes']['getIndex'](_0x1934a9):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x4bb1c4,_0x54b81e)=>_0x4bb1c4?_0x54b81e['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5dc87b);}['init'](){const _0xdc4255=this['editor'],_0x50df6a=new yt(_0xdc4255,{'direction':'backward'}),_0x32aeae=new yt(_0xdc4255,{'direction':'forward'});(_0xdc4255['commands']['add']('showPreviousChange',_0x50df6a),_0xdc4255['commands']['add']('showNextChange',_0x32aeae),_0xdc4255['commands']['add']('restoreRevision',new bt(_0xdc4255)),this['on']('change:numberOfChanges',()=>{_0x50df6a['refresh'](),_0x32aeae['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0xdc4255['enableReadOnlyMode']('revision-viewer'),_0xdc4255['plugins']['has']('WidgetToolbarRepository'))&&_0xdc4255['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x49f3ab){await this['loadRevisionData'](_0x49f3ab);const _0x1e494c={};for(const _0x5d6b0c in _0x49f3ab['diffData']){if(_0x49f3ab['diffData'][_0x5d6b0c]['attachChange']&&!_0x49f3ab['diffData'][_0x5d6b0c]['attachChange']['isAttached'])continue;const _0x277088=this['_removeRevisionMarkers'](JSON['parse'](_0x49f3ab['diffData'][_0x5d6b0c]['insertions'])),_0x28f830=this['editor']['editing']['view']['document'],_0x4f9cb4=new _0xc0256f(_0x28f830,_0x277088['map'](_0x3d7410=>this['_getViewObj'](_0x3d7410)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1e494c[_0x5d6b0c]=this['editor']['data']['processor']['toData'](_0x4f9cb4),this['editor']['data']['processor']['useFillerType']('default');}return _0x1e494c;}async['getRevisionRootsAttributes'](_0x256271){await this['loadRevisionData'](_0x256271);const _0x47bacc={};for(const _0x3abc13 in _0x256271['diffData'])_0x256271['diffData'][_0x3abc13]['attachChange']&&!_0x256271['diffData'][_0x3abc13]['attachChange']['isAttached']||(_0x47bacc[_0x3abc13]=_0x256271['diffData'][_0x3abc13]['attributesAfter']||{});return _0x47bacc;}['_removeRevisionMarkers'](_0x5ee886){return(_0x5ee886=_0x5ee886['filter'](_0x167e59=>!_0x167e59['name']||'revision-start'!==_0x167e59['name']&&'revision-end'!==_0x167e59['name']))['forEach'](_0x3c75ca=>{'string'!=typeof _0x3c75ca&&(_0x3c75ca['children']=this['_removeRevisionMarkers'](_0x3c75ca['children']),_0x3c75ca['attributes']=_0x3c75ca['attributes']['filter'](_0xb9627=>!_0xb9627[0x0]['startsWith']('data-revision-')));}),_0x5ee886;}async['compare'](_0x22039f,_0x449afc,_0x3204de=!0x1){if(!this['isEnabled'])return;const _0x1c42ba=this['diff'],_0x3525df=this['repository'],_0x29b30a='string'==typeof _0x22039f?_0x3525df['getRevision'](_0x22039f):_0x22039f,_0x3b88eb='string'==typeof _0x449afc?_0x3525df['getRevision'](_0x449afc):_0x449afc,_0x51ab6e=_0x29b30a['id'],_0x2a1ed8=_0x3b88eb?_0x3b88eb['id']:null;if(!_0x3204de&&this['diff']&&this['diff']['newRevisionId']===_0x51ab6e&&this['diff']['oldRevisionId']===_0x2a1ed8)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x51ab6e,_0x2a1ed8);const _0x1e6701=this['_getRevisionsRange'](_0x29b30a,_0x3b88eb,!0x0)['map'](_0x5885a7=>this['loadRevisionData'](_0x5885a7));return _0x1e6701['push'](new Promise(_0x11d1f5=>{setTimeout(_0x11d1f5,0x14);})),Promise['all'](_0x1e6701)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x50ac56=this['_getDiff'](_0x51ab6e,_0x2a1ed8);for(const _0x40e293 of _0x50ac56['changes'])this['_changeIdToChange']['set'](_0x40e293['id'],_0x40e293);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x5af776=>{for(const _0x43e812 of this['editor']['model']['document']['getRootNames']())_0x5af776['detachRoot'](_0x43e812);for(const _0x2c3682 of Object['keys'](_0x50ac56['model'])){const _0x18e18a=_0x5af776['addRoot'](_0x2c3682);for(const _0x2c115c of Object['keys'](_0x50ac56['attributes'][_0x2c3682]))_0x5af776['setAttribute'](_0x2c115c,_0x50ac56['attributes'][_0x2c3682][_0x2c115c],_0x18e18a);_0x5af776['insert'](_0x50ac56['model'][_0x2c3682],_0x18e18a,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x50ac56['changes'])),this['isReady']=!0x0;})['catch'](_0x6e8dd1=>{console['error'](_0x6e8dd1),this['_cleanUp'](),_0x1c42ba&&(this['diff']=_0x1c42ba),this['isReady']=!0x0;});}['addRevisionData'](_0x3b579e,_0x764f07){const _0x224199=this['repository']['createRevision'](_0x3b579e);return _0x224199['on']('_update',(_0x76d3e,_0x30c610,_0x43569c)=>_0x764f07(_0x30c610,_0x43569c,_0x224199)),this['repository']['addRevision'](_0x224199),_0x224199;}['loadRevisionData'](_0x436657){if(!_0x436657||_0x436657['diffData'])return Promise['resolve']();{const _0x1319c8=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1319c8,'revisionId':_0x436657['id']})['then'](_0x5b0b98=>{_0x436657['_update']({'diffData':_0x5b0b98['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},_0x4b2d90=>{for(const _0x50fcca of this['editor']['model']['document']['getRootNames']())_0x4b2d90['detachRoot'](_0x50fcca);});}['_sortAndFilterDiffChanges'](_0x5da6d1){const _0x259293=[],_0x31738a=new Map();for(const _0xd386ec of this['editor']['model']['document']['getRootNames']()){const _0x2266bd=this['editor']['editing']['view']['getDomRoot'](_0xd386ec);if(!_0x2266bd)continue;const _0x5aed8d=_0x2266bd['getClientRects']()['item'](0x0);_0x5aed8d&&(_0x259293['push'](_0xd386ec),_0x31738a['set'](_0xd386ec,_0x5aed8d));}return _0x259293['sort']((_0x156485,_0x2128be)=>{const _0x17401d=_0x31738a['get'](_0x156485),_0x4844fd=_0x31738a['get'](_0x2128be);return _0x17401d['y']-_0x4844fd['y']||_0x17401d['x']-_0x4844fd['x'];}),(_0x5da6d1=_0x5da6d1['filter'](_0x3852e2=>_0x259293['includes'](_0x3852e2['rootName'])))['sort']((_0x4ede9f,_0xd8ea72)=>_0x259293['indexOf'](_0x4ede9f['rootName'])-_0x259293['indexOf'](_0xd8ea72['rootName'])),_0x5da6d1;}['_makeTape'](_0x4af393){const _0x5bd567=Array['from'](_0x4af393['markers'])['filter'](([_0x4bc391,_0x15b471])=>_0x4bc391['startsWith']('revision:')&&!_0x15b471['isCollapsed']),_0x5dbd32=Array['from'](this['editor']['model']['createRangeIn'](_0x4af393)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5bd567['length'])for(const _0x153762 of _0x5dbd32){const [_0x53c038,_0x3a4d6c]=_0x5bd567[0x0],[,_0x197698,_0x3c6b1c]=_0x53c038['split'](':');if(_0x3a4d6c['end']['isEqual'](_0x153762['nextPosition'])&&_0x5bd567['shift'](),(_0x153762['previousPosition']['isEqual'](_0x3a4d6c['start'])||_0x153762['previousPosition']['isAfter'](_0x3a4d6c['start']))&&('insertion'==_0x197698?_0x153762['isAdded']={'userId':_0x3c6b1c}:'deletion'==_0x197698&&(_0x153762['isRemoved']={'userId':_0x3c6b1c})),0x0==_0x5bd567['length'])break;}return _0x5dbd32;}['_refreshStartEndIndex'](_0x223af8){const _0x17a2a8=new Map();for(let _0x13430a=0x0;_0x13430a<_0x223af8['length'];_0x13430a++)'text'===_0x223af8[_0x13430a]['type']?(_0x223af8[_0x13430a]['item']['startIndex']=_0x13430a,_0x223af8[_0x13430a]['item']['endIndex']=_0x13430a):('elementStart'===_0x223af8[_0x13430a]['type']?_0x223af8[_0x13430a]['item']['startIndex']=_0x13430a:'elementEnd'===_0x223af8[_0x13430a]['type']&&(_0x223af8[_0x13430a]['item']['endIndex']=_0x13430a),_0x17a2a8['set'](_0x223af8[_0x13430a]['id'],_0x13430a));for(const _0x54831e of _0x17a2a8['values']())'elementStart'===_0x223af8[_0x54831e]['type']?_0x223af8[_0x54831e]['item']['endIndex']=_0x17a2a8['get'](_0x223af8[_0x54831e]['pairId']):'elementEnd'===_0x223af8[_0x54831e]['type']&&(_0x223af8[_0x54831e]['item']['startIndex']=_0x17a2a8['get'](_0x223af8[_0x54831e]['pairId']));}['_processTape'](_0x2ac8a5){for(let _0x12e68c=0x0;_0x12e68c<_0x2ac8a5['length'];_0x12e68c++){if('elementStart'===_0x2ac8a5[_0x12e68c]['type'])_0x2ac8a5[_0x12e68c]['item']['startIndex']=_0x12e68c;else{if('elementEnd'===_0x2ac8a5[_0x12e68c]['type']){_0x2ac8a5[_0x12e68c]['item']['endIndex']=_0x12e68c;const _0x14fe23=_0x2ac8a5[_0x12e68c]['item']['startIndex'];_0x2ac8a5[_0x14fe23]['pairId']=_0x2ac8a5[_0x12e68c]['id'],_0x2ac8a5[_0x12e68c]['pairId']=_0x2ac8a5[_0x14fe23]['id'];}else _0x2ac8a5[_0x12e68c]['item']['startIndex']=_0x12e68c,_0x2ac8a5[_0x12e68c]['item']['endIndex']=_0x12e68c,_0x2ac8a5[_0x12e68c]['pairId']=null;}_0x2ac8a5[_0x12e68c]['markersStart']||(_0x2ac8a5[_0x12e68c]['markersStart']=[],_0x2ac8a5[_0x12e68c]['markersEnd']=[]);}}['_markInsertions'](_0x536cbd,_0x4dffc1){const _0x2d6fe4=_0x536cbd['filter'](_0x1a0e36=>!_0x1a0e36['isAdded']);for(let _0x42b64a=0x0;_0x42b64a<_0x4dffc1['length'];_0x42b64a++)_0x4dffc1[_0x42b64a]['isAdded']&&(_0x2d6fe4[_0x42b64a]['isAdded']=_0x4dffc1[_0x42b64a]['isAdded']);}['_makeModelFromViewString'](_0x25c72e){const _0x132f15=JSON['parse'](_0x25c72e),_0xb7f758=this['editor']['editing']['view']['document'],_0x596dca=new _0xc0256f(_0xb7f758,_0x132f15['map'](_0x33338c=>this['_getViewObj'](_0x33338c)));return this['editor']['data']['toModel'](_0x596dca);}['_getViewObj'](_0x42023b){const _0x5c494e=this['editor']['editing']['view']['document'];if('string'==typeof _0x42023b)return new _0x322c24(_0x5c494e,_0x42023b);{const _0x3f3cf5=_0x42023b['children']['map'](_0x305df7=>this['_getViewObj'](_0x305df7));return new(tt[_0x42023b['type']]||_0x183126)(_0x5c494e,_0x42023b['name'],_0x42023b['attributes'],_0x3f3cf5);}}['_getDiff'](_0x11b2ca,_0x20ee96=null){const _0xd253c4=this['repository']['getRevision'](_0x11b2ca),_0x21806b=_0x20ee96?this['repository']['getRevision'](_0x20ee96):null,_0x5c4a8e=this['_getRevisionsRange'](_0xd253c4,_0x21806b),_0x19ebd3=_0x5c4a8e[_0x5c4a8e['length']-0x1],_0x27c667=new Map(),_0x1eb4c6={'model':{},'attributes':{},'changes':[]},_0x53896f=new Set(),_0x2dc62c=new Map();for(let _0x26f801=_0x5c4a8e['length']-0x1;_0x26f801>=0x0;_0x26f801--){const _0xe811f7=_0x5c4a8e[_0x26f801];for(const _0x1e59b8 of Object['keys'](_0xe811f7['diffData']))if(_0xe811f7['diffData'][_0x1e59b8]['attachChange']){const _0x5bdcf4=_0xe811f7['diffData'][_0x1e59b8]['attachChange'];_0x5bdcf4['isAttached']?(_0x53896f['add'](_0x1e59b8),_0x2dc62c['has'](_0x1e59b8)&&_0x2dc62c['get'](_0x1e59b8)['userId']==_0x5bdcf4['userId']?_0x2dc62c['delete'](_0x1e59b8):_0x2dc62c['set'](_0x1e59b8,_0x5bdcf4)):_0x2dc62c['has'](_0x1e59b8)?(_0x53896f['delete'](_0x1e59b8),_0x2dc62c['delete'](_0x1e59b8)):(_0x53896f['add'](_0x1e59b8),_0x2dc62c['set'](_0x1e59b8,_0x5bdcf4));}else _0x53896f['add'](_0x1e59b8);}for(const _0x827dd8 of _0x53896f){const _0x101dc9=_0x2dc62c['has'](_0x827dd8)&&!_0x2dc62c['get'](_0x827dd8)['isAttached'];let _0x753d75=_0x101dc9?_0x5c4a8e['length']-0x1:0x0;const _0x47772b=_0x101dc9?-0x1:0x1;for(;_0x5c4a8e[_0x753d75];){const _0x1889d8=_0x5c4a8e[_0x753d75];if(_0x1889d8['diffData'][_0x827dd8]){const _0x564295=_0x101dc9?_0x1889d8['diffData'][_0x827dd8]['attributesBefore']:_0x1889d8['diffData'][_0x827dd8]['attributesAfter'];_0x1eb4c6['attributes'][_0x827dd8]=_0x564295?_0x363356(_0x564295):{};break;}_0x753d75+=_0x47772b;}}for(const _0x4d0242 of _0x5c4a8e){_0x4d0242['model']={};for(const _0x292a84 of _0x4d0242['authors'])_0x27c667['set'](_0x292a84['id'],_0x292a84);for(const _0x29483f of _0x53896f){const _0x604330=_0x4d0242['diffData'][_0x29483f]?_0x4d0242['diffData'][_0x29483f]['insertions']:'[]',_0xe76fa7=_0x4d0242['diffData'][_0x29483f]?_0x4d0242['diffData'][_0x29483f]['deletions']:'[]';_0x4d0242['model'][_0x29483f]={'insertions':this['_makeModelFromViewString'](_0x604330),'deletions':this['_makeModelFromViewString'](_0xe76fa7)};}}for(const _0x4c6baa of _0x53896f){let _0x54a910=null,_0x36f3f6=0x0;const _0x52418a=new Map(Array['from'](_0xd253c4['model'][_0x4c6baa]['insertions']['markers'])['filter'](([_0x3121fb])=>!_0x3121fb['startsWith']('revision:')));let _0x5ef81a=0x0;for(const _0x190336 of _0x5c4a8e){const _0x2b5343=this['_makeTape'](_0x190336['model'][_0x4c6baa]['insertions']);_0x190336==_0xd253c4?(_0x54a910=_0x2b5343,_0x36f3f6=_0x54a910['length'],_0x54a910['forEach'](_0x1f0bf3=>{_0x1f0bf3['id']=_0x5ef81a++;}),this['_processTape'](_0x54a910)):this['_markInsertions'](_0x54a910,_0x2b5343);const _0x5761ef=_0x54a910['filter'](_0x526e14=>!_0x526e14['isAdded'])['map'](_0x30b6c7=>_0x30b6c7['id']);let _0x4375db=0x0;const _0x58fb67=this['_makeTape'](_0x190336['model'][_0x4c6baa]['deletions']);_0x58fb67['forEach'](_0x3aa10c=>{_0x3aa10c['isRemoved']?_0x3aa10c['id']=_0x36f3f6++:_0x3aa10c['id']=_0x5761ef[_0x4375db++];}),this['_processTape'](_0x58fb67),this['_setDistance'](_0x54a910,'isAdded'),this['_setDistance'](_0x58fb67,'isRemoved'),_0x190336==_0xd253c4&&this['_markMarkers'](_0x54a910,_0x52418a),_0x54a910=this['_joinTapes'](_0x54a910,_0x58fb67),this['_refreshStartEndIndex'](_0x54a910),this['_setDistance'](_0x54a910,'isRemoved');}_0x54a910=_0x54a910['filter'](_0x3cad06=>!(_0x3cad06['isAdded']&&_0x3cad06['isRemoved']));const _0x5eab1a=new Map(_0x19ebd3['model'][_0x4c6baa]['deletions']['markers']),_0x117e2b=new Set(_0x52418a['keys']());for(const _0x3cb0bf of _0x5eab1a['keys']())_0x117e2b['delete'](_0x3cb0bf);this['_markSuggestions'](_0x54a910,_0x117e2b),this['_fixObsoleteTags'](_0x54a910),_0x54a910=this['_removeMissingPairs'](_0x54a910),_0x54a910=this['_markMismatchedRemovedTags'](_0x54a910),_0x54a910=this['_removeUnsupportedChanges'](_0x54a910);const {root:_0x5723e7,changes:_0x167360}=this['_makeModelFromTape'](_0x54a910,_0x27c667,_0x4c6baa);_0x1eb4c6['model'][_0x4c6baa]=_0x5723e7;const _0xd50293=_0x2dc62c['get'](_0x4c6baa);if(_0xd50293){const _0x3e8ed8=_0x27c667['get'](_0xd50293['userId']),_0x1b20bb=new r({'author':_0x3e8ed8,'type':_0xd50293['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4c6baa});_0x167360['unshift'](_0x1b20bb),_0x1eb4c6['attributes'][_0x4c6baa]['revisionHistoryAttachChange']=_0x1b20bb['id'];}_0x1eb4c6['changes']=_0x1eb4c6['changes']['concat'](_0x167360);}return _0x1eb4c6;}['_markMarkers'](_0x346ded,_0x420848){for(let _0x30f1c6=0x0;_0x30f1c6<_0x346ded['length'];_0x30f1c6++)for(const [_0x881d91,_0x391d40]of _0x420848)_0x391d40['start']['isEqual'](_0x346ded[_0x30f1c6]['previousPosition'])&&_0x346ded[_0x30f1c6]['markersStart']['push'](_0x881d91),_0x391d40['end']['isEqual'](_0x346ded[_0x30f1c6]['nextPosition'])&&_0x346ded[_0x30f1c6]['markersEnd']['push'](_0x881d91);}['_joinTapes'](_0x37f719,_0x40a57e){let _0x12c505=[],_0x5450ea=0x0,_0x17f9bc=0x0;for(;_0x5450ea<_0x37f719['length']||_0x17f9bc<_0x40a57e['length'];){const _0x405906=_0x37f719[_0x5450ea]||{},_0x159e3d=_0x40a57e[_0x17f9bc]||{};if(_0x405906['id']==_0x159e3d['id'])_0x5450ea++,_0x17f9bc++,_0x12c505['push'](_0x405906);else{if(_0x159e3d['isRemoved']&&_0x405906['isAdded']){const {commonTape:_0x3e5dc2,iEnd:_0xd3caae,jEnd:_0x53e941}=this['_threeWayMerge'](_0x37f719,_0x5450ea,_0x40a57e,_0x17f9bc);_0x12c505=_0x12c505['concat'](_0x3e5dc2),_0x5450ea=_0xd3caae,_0x17f9bc=_0x53e941;}else _0x159e3d['isRemoved']?(_0x17f9bc++,_0x12c505['push'](_0x159e3d)):(_0x5450ea++,_0x12c505['push'](_0x405906));}}return _0x12c505;}['_markSuggestions'](_0x511acd,_0x34be8f){const _0x5b79ba=[];for(let _0x36543f=0x0;_0x36543f<_0x511acd['length'];_0x36543f++){for(let _0x49b117=0x0;_0x49b117<_0x511acd[_0x36543f]['markersStart']['length'];_0x49b117++){const _0x1572cc=_0x511acd[_0x36543f]['markersStart'][_0x49b117];if(!_0x34be8f['has'](_0x1572cc))continue;const {group:_0x1401a1,type:_0x5247d1,authorId:_0x42fee0}=_0x3c9dd9(_0x1572cc);'revision-suggestion'!=_0x1401a1||'insertion'!=_0x5247d1&&'deletion'!=_0x5247d1||(_0x5b79ba['unshift']({'type':_0x5247d1,'name':_0x1572cc,'userId':_0x42fee0}),_0x511acd[_0x36543f]['markersStart']['splice'](_0x49b117,0x1),_0x49b117--);}_0x591e9b(_0x511acd[_0x36543f]);for(let _0x52ce73=0x0;_0x52ce73<_0x511acd[_0x36543f]['markersEnd']['length'];_0x52ce73++){const _0x147a98=_0x511acd[_0x36543f]['markersEnd'][_0x52ce73];if(!_0x34be8f['has'](_0x147a98))continue;const {group:_0x1916da,type:_0x22ca5b}=_0x3c9dd9(_0x147a98);if('revision-suggestion'!=_0x1916da||'insertion'!=_0x22ca5b&&'deletion'!=_0x22ca5b)continue;_0x511acd[_0x36543f]['markersEnd']['splice'](_0x52ce73,0x1),_0x52ce73--;const _0x4f65c5=_0x5b79ba['findIndex'](_0x2ad5f0=>_0x2ad5f0['name']==_0x147a98);_0x4f65c5>-0x1&&_0x5b79ba['splice'](_0x4f65c5,0x1);}}function _0x3c9dd9(_0x434133){const _0x4ff6a2=_0x434133['split'](':');return{'group':_0x4ff6a2[0x0],'type':_0x4ff6a2[0x1],'subType':_0x4ff6a2['length']>=0x5?_0x4ff6a2[0x2]:null,'id':_0x4ff6a2['length']<0x5?_0x4ff6a2[0x2]:_0x4ff6a2[0x3],'authorId':_0x4ff6a2['length']<0x5?_0x4ff6a2[0x3]:_0x4ff6a2[0x4],'markerCount':0x6==_0x4ff6a2['length']?_0x4ff6a2[0x5]:null};}function _0x591e9b(_0xbc71e5){for(let _0x3441df=0x0;_0x3441df<_0x5b79ba['length'];_0x3441df++){if(_0xbc71e5['isAdded']&&'insertion'==_0x5b79ba[_0x3441df]['type'])return _0xbc71e5['isAddSuggestion']=_0x5b79ba[_0x3441df],void delete _0xbc71e5['isAdded'];if(!_0xbc71e5['isAdded']&&!_0xbc71e5['isRemoved']&&'deletion'==_0x5b79ba[_0x3441df]['type'])return void(_0xbc71e5['isRemoveSuggestion']=_0x5b79ba[_0x3441df]);}}}['_setDistance'](_0x37ba63,_0x164ec9){let _0x2f88c8=0x0,_0x4ed7b1=!0x1;const _0x56f11c=new Map();for(const _0x14bc35 of _0x37ba63)_0x14bc35[_0x164ec9]?_0x4ed7b1&&(_0x2f88c8++,_0x4ed7b1=!0x1):(_0x2f88c8++,_0x4ed7b1=!0x0),_0x56f11c['set'](_0x14bc35['id'],_0x2f88c8);for(let _0x1a356e=0x0;_0x1a356e<_0x37ba63['length'];_0x1a356e++){if('isRemoved'==_0x164ec9&&_0x37ba63[_0x1a356e]['isAdded']||'isAdded'==_0x164ec9&&_0x37ba63[_0x1a356e]['isRemoved'])continue;if('text'==_0x37ba63[_0x1a356e]['type']){_0x37ba63[_0x1a356e]['distance']=0x0;continue;}const _0x373ffe=_0x56f11c['get'](_0x37ba63[_0x1a356e]['pairId']),_0x4e97cc=_0x56f11c['get'](_0x37ba63[_0x1a356e]['id']);_0x37ba63[_0x1a356e]['distance']=_0x373ffe-_0x4e97cc;}}['_getRevisionsRange'](_0x26110a,_0x4911f9,_0x41dfb6=!0x1){const _0x236641=[];let _0x4d20ae=this['repository']['getIndex'](_0x26110a),_0x5d4d93=this['repository']['getIndex'](_0x4911f9);for(-0x1==_0x5d4d93&&(_0x5d4d93=this['repository']['_revisions']['length'],_0x41dfb6=!0x1);_0x4d20ae<_0x5d4d93;)_0x236641['push'](this['repository']['getRevision'](_0x4d20ae)),_0x4d20ae++;return _0x41dfb6&&_0x236641['push'](this['repository']['getRevision'](_0x4d20ae)),_0x236641;}['_threeWayMerge'](_0x4cb380,_0x8589dc,_0x122287,_0x2b7409){const _0x56a317=this['editor']['model']['schema'];let _0x270aa4=_0x8589dc;for(;_0x4cb380[_0x270aa4]&&_0x4cb380[_0x270aa4]['isAdded'];)_0x270aa4++;let _0x191f66=_0x2b7409;for(;_0x122287[_0x191f66]&&_0x122287[_0x191f66]['isRemoved'];)_0x191f66++;_0x3df5b6(_0x4cb380,_0x8589dc,_0x270aa4),_0x3df5b6(_0x122287,_0x2b7409,_0x191f66);const _0x204f3c=_0x122287['slice'](_0x2b7409,_0x191f66)['concat'](_0x4cb380['slice'](_0x8589dc,_0x270aa4));return _0x204f3c['sort']((_0x2c21e6,_0xdf4235)=>_0x2c21e6['side']!=_0xdf4235['side']?_0x2c21e6['side']-_0xdf4235['side']:_0x2c21e6['level']!=_0xdf4235['level']?_0x2c21e6['level']-_0xdf4235['level']:_0x2c21e6['distance']!=_0xdf4235['distance']?_0xdf4235['distance']-_0x2c21e6['distance']:!!_0x2c21e6['isAdded']!=!!_0xdf4235['isAdded']?-0x1==_0x2c21e6['side']||0x0==_0x2c21e6['side']?_0x2c21e6['isAdded']?-0x1:0x1:_0x2c21e6['isAdded']?0x1:-0x1:_0x2c21e6['index']-_0xdf4235['index']),{'commonTape':_0x204f3c,'iEnd':_0x270aa4,'jEnd':_0x191f66};function _0x3df5b6(_0x175a98,_0x10599b,_0x5263bc){let _0xa90599=-0x1,_0x3665a0=Number['POSITIVE_INFINITY'],_0x227703=!0x0;for(let _0x2f6223=_0x10599b;_0x2f6223<_0x5263bc;_0x2f6223++)if(_0x56a317['isInline'](_0x175a98[_0x2f6223]['item'])||(_0x227703=!0x1),_0x175a98[_0x2f6223]['item']['startIndex']<_0x10599b&&(_0xa90599=_0x2f6223),_0x175a98[_0x2f6223]['item']['endIndex']>=_0x5263bc){_0x3665a0=_0x2f6223;break;}_0x227703&&(_0xa90599=_0x5263bc-0x1);for(let _0x1a0d16=_0x10599b;_0x1a0d16<_0x5263bc;_0x1a0d16++)_0x175a98[_0x1a0d16]['side']=_0x1a0d16<=_0xa90599?-0x1:_0x1a0d16<_0x3665a0?0x0:0x1,_0x175a98[_0x1a0d16]['index']=_0x1a0d16;let _0x352355=0x0;for(let _0x509dda=_0x10599b;_0x509dda<=_0xa90599;_0x509dda++)0x0==_0x175a98[_0x509dda]['distance']?_0x175a98[_0x509dda]['level']=_0x352355:(_0x352355++,_0x175a98[_0x509dda]['level']=_0x352355,_0x352355++);for(let _0x5865fe=_0x10599b;_0x5865fe<_0x5263bc;_0x5865fe++)0x0==_0x175a98[_0x5865fe]['side']&&(_0x175a98[_0x5865fe]['level']=_0x352355);_0x352355=0x0;for(let _0x3f4fef=_0x5263bc-0x1;_0x3f4fef>=_0x3665a0;_0x3f4fef--)0x0==_0x175a98[_0x3f4fef]['distance']?_0x175a98[_0x3f4fef]['level']=_0x352355:(_0x352355--,_0x175a98[_0x3f4fef]['level']=_0x352355,_0x352355--);}}['_fixObsoleteTags'](_0x3f22e3){const _0x1e7a34=new Map(),_0x535b1b=this['editor']['model']['schema'];for(let _0x42f439=0x1;_0x42f439<_0x3f22e3['length'];_0x42f439++){let _0x4ddc8a,_0x282056,_0x48e90d;const _0x308a72=_0x3f22e3[_0x42f439],_0x200eda=_0x3f22e3[_0x42f439-0x1];if('text'==_0x308a72['type'])continue;if(_0x308a72['type']!=_0x200eda['type'])continue;if(!_0x535b1b['isBlock'](_0x200eda['item'])||_0x535b1b['isLimit'](_0x200eda['item']))continue;if(!_0x535b1b['isBlock'](_0x308a72['item'])||_0x535b1b['isLimit'](_0x308a72['item']))continue;if((_0x3f22e3[_0x42f439]['isAdded']||_0x3f22e3[_0x42f439]['isAddSuggestion'])&&_0x3f22e3[_0x42f439-0x1]['isRemoved'])_0x4ddc8a=_0x3f22e3[_0x42f439],_0x282056=_0x3f22e3[_0x42f439-0x1],_0x48e90d=_0x42f439-0x1;else{if(!_0x3f22e3[_0x42f439]['isRemoved']||!_0x3f22e3[_0x42f439-0x1]['isAdded']&&!_0x3f22e3[_0x42f439-0x1]['isAddSuggestion'])continue;_0x4ddc8a=_0x3f22e3[_0x42f439-0x1],_0x282056=_0x3f22e3[_0x42f439],_0x48e90d=_0x42f439;}const _0x274fee=_0x4ddc8a['level']==_0x282056['level'],_0x19d594=Math['abs'](_0x4ddc8a['level'])<Math['abs'](_0x282056['level'])&&0x0==_0x282056['distance'];(_0x274fee||_0x19d594)&&(_0x1e7a34['set'](_0x282056['id'],_0x4ddc8a['id']),_0x3f22e3['splice'](_0x48e90d,0x1),_0x42f439--,_0x4ddc8a['isAdded']=!0x1);}for(let _0x33f7bf=0x0;_0x33f7bf<_0x3f22e3['length'];_0x33f7bf++)_0x1e7a34['has'](_0x3f22e3[_0x33f7bf]['pairId'])&&(_0x3f22e3[_0x33f7bf]['pairId']=_0x1e7a34['get'](_0x3f22e3[_0x33f7bf]['pairId']));}['_removeMissingPairs'](_0x3e1457){const _0x31068a=new Set(_0x3e1457['map'](_0x19c7cf=>_0x19c7cf['id']));for(let _0x555d0f=0x0;_0x555d0f<_0x3e1457['length'];_0x555d0f++)_0x31068a['has'](_0x3e1457[_0x555d0f]['pairId'])||0x0==_0x3e1457[_0x555d0f]['distance']||(_0x3e1457[_0x555d0f]['isIncorrect']=!0x0);return _0x3e1457['filter'](_0x50c380=>!_0x50c380['isIncorrect']);}['_markMismatchedRemovedTags'](_0x4b5795){const _0x24db27=new Set();for(let _0x578d6d=0x0;_0x578d6d<_0x4b5795['length'];_0x578d6d++){if(_0x24db27['has'](_0x4b5795[_0x578d6d]['id'])&&_0x4b5795[_0x578d6d]['isRemoved']&&(_0x4b5795[_0x578d6d]['isIncorrect']=!0x0),_0x4b5795[_0x578d6d]['isIncorrect'])continue;if(0x0==_0x4b5795[_0x578d6d]['distance'])continue;if('elementStart'!=_0x4b5795[_0x578d6d]['type'])continue;if(null==_0x4b5795[_0x578d6d]['pairId'])continue;let _0x4b718c=_0x578d6d+0x1,_0x586ef5=0x0;for(;_0x4b5795[_0x4b718c]['id']!=_0x4b5795[_0x578d6d]['pairId'];)'elementStart'==_0x4b5795[_0x4b718c]['type']?_0x586ef5++:'elementEnd'==_0x4b5795[_0x4b718c]['type']&&_0x586ef5--,_0x4b718c++;if(0x0!=_0x586ef5){if(_0x4b5795[_0x578d6d]['isRemoved'])_0x4b5795[_0x578d6d]['isIncorrect']=!0x0;else{for(;_0x4b718c!=_0x578d6d;)_0x4b5795[_0x4b718c]['isRemoved']&&0x0!=_0x4b5795[_0x4b718c]['distance']&&(_0x4b5795[_0x4b718c]['isIncorrect']=!0x0,_0x24db27['add'](_0x4b5795[_0x4b718c]['pairId'])),_0x4b718c--;}}}return _0x4b5795['filter'](_0x4b01f8=>!_0x4b01f8['isIncorrect']);}['_removeUnsupportedChanges'](_0x85f226){const _0x22e510=this['editor']['model']['schema'];for(let _0x28bfe3=0x0;_0x28bfe3<_0x85f226['length'];_0x28bfe3++){if(!(_0x85f226[_0x28bfe3]['isAdded']||_0x85f226[_0x28bfe3]['isAddSuggestion']||_0x85f226[_0x28bfe3]['isRemoved']||_0x85f226[_0x28bfe3]['isRemoveSuggestion']))continue;if(0x0==_0x85f226[_0x28bfe3]['distance'])continue;const _0x52f8ff=_0x85f226[_0x28bfe3]['item'];_0x22e510['isBlock'](_0x52f8ff)||_0x22e510['isLimit'](_0x52f8ff)||(_0x85f226[_0x28bfe3]['isAdded']&&delete _0x85f226[_0x28bfe3]['isAdded'],_0x85f226[_0x28bfe3]['isAddSuggestion']&&delete _0x85f226[_0x28bfe3]['isAddSuggestion'],_0x85f226[_0x28bfe3]['isRemoveSuggestion']&&delete _0x85f226[_0x28bfe3]['isRemoveSuggestion'],_0x85f226[_0x28bfe3]['isRemoved']&&(_0x85f226[_0x28bfe3]['isIncorrect']=!0x0));}return _0x85f226['filter'](_0x16188f=>!_0x16188f['isIncorrect']);}['_makeModelFromTape'](_0x1dbe42,_0xbec3f9,_0x1b3b7f){const _0x4f7ff6=new wt(),_0x23c8a5=[],_0xfcd945=new Map(),_0x24b060=this['editor']['model'],_0x13b5d0=_0x24b060['schema'],_0x14face=[_0x4f7ff6],_0xe31eb6={},_0x350fa0={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x2bb2b3=null;const _0x19e37b=[0x0];for(let _0x28ddad=0x0;_0x28ddad<_0x1dbe42['length'];_0x28ddad++){let _0x63a10d,_0x557e81;if('elementStart'===_0x1dbe42[_0x28ddad]['type']){_0x63a10d=_0x24b060['createPositionFromPath'](_0x4f7ff6,_0x19e37b);const _0x553a21=new ft(_0x1dbe42[_0x28ddad]['item']['name'],_0x1dbe42[_0x28ddad]['item']['getAttributes']());_0x14face[0x0]['_appendChild'](_0x553a21),_0x19e37b['push'](0x0),_0x14face['unshift'](_0x553a21),_0x557e81=_0x24b060['createPositionFromPath'](_0x4f7ff6,_0x19e37b),_0x2bb2b3=null;}else{if('elementEnd'===_0x1dbe42[_0x28ddad]['type'])_0x14face['shift'](),_0x63a10d=_0x24b060['createPositionFromPath'](_0x4f7ff6,_0x19e37b),_0x19e37b['pop'](),_0x19e37b[_0x19e37b['length']-0x1]++,_0x557e81=_0x24b060['createPositionFromPath'](_0x4f7ff6,_0x19e37b),_0x2bb2b3=null;else{if(_0x63a10d=_0x24b060['createPositionFromPath'](_0x4f7ff6,_0x19e37b),_0x2bb2b3&&_0x42dfd9(_0x2bb2b3,_0x1dbe42[_0x28ddad]['item']))_0x2bb2b3['_data']+=_0x1dbe42[_0x28ddad]['item']['data'];else{const _0x5cc63f=new _t(_0x1dbe42[_0x28ddad]['item']['data'],_0x1dbe42[_0x28ddad]['item']['getAttributes']());_0x14face[0x0]['_appendChild'](_0x5cc63f),_0x2bb2b3=_0x5cc63f;}_0x19e37b[_0x19e37b['length']-0x1]+=_0x1dbe42[_0x28ddad]['item']['offsetSize'],_0x557e81=_0x24b060['createPositionFromPath'](_0x4f7ff6,_0x19e37b);}}for(const _0x25f515 of _0x1dbe42[_0x28ddad]['markersStart'])_0xfcd945['set'](_0x25f515,{'start':_0x63a10d,'end':null});_0x12b02d('isRemoveSuggestion',_0x28ddad,_0x63a10d,_0x557e81),_0x12b02d('isAddSuggestion',_0x28ddad,_0x63a10d,_0x557e81),_0x12b02d('isRemoved',_0x28ddad,_0x63a10d,_0x557e81),_0x12b02d('isAdded',_0x28ddad,_0x63a10d,_0x557e81);for(const _0x1f3804 of _0x1dbe42[_0x28ddad]['markersEnd']){_0xfcd945['get'](_0x1f3804)['end']=_0x557e81;}}for(const [_0x27fbf7,_0x234807]of _0xfcd945){const _0x51d8f8=this['editor']['model']['createRange'](_0x234807['start'],_0x234807['end']);_0x4f7ff6['markers']['set'](_0x27fbf7,_0x51d8f8);}return _0x23c8a5['sort']((_0xe10fa6,_0x1b1eba)=>{const _0x1e69a1=_0x4f7ff6['markers']['get']('revision:'+_0xe10fa6['id']),_0x195f20=_0x4f7ff6['markers']['get']('revision:'+_0x1b1eba['id']);return _0x1e69a1['start']['isBefore'](_0x195f20['start'])?-0x1:_0x1e69a1['start']['isAfter'](_0x195f20['start'])?0x1:_0x1e69a1['end']['isBefore'](_0x195f20['end'])?-0x1:_0x1e69a1['end']['isAfter'](_0x195f20['end'])?0x1:'add'===_0xe10fa6['type']?-0x1:0x1;}),{'root':_0x4f7ff6,'changes':_0x23c8a5};function _0x12b02d(_0xe8a59b,_0x2817d4,_0x392599,_0x2ea76c){const _0x114065=!!_0x1dbe42[_0x2817d4][_0xe8a59b],_0x2c3744=_0x114065?_0x1dbe42[_0x2817d4][_0xe8a59b]['userId']:null,_0x49650b=_0x2817d4===_0x1dbe42['length']-0x1,_0x319105=_0x350fa0[_0xe8a59b][0x0],_0x1b6742=_0x13b5d0['isObject'](_0x1dbe42[_0x2817d4]['item']);!_0xe31eb6[_0xe8a59b]&&_0x114065?_0xe31eb6[_0xe8a59b]={'start':_0x392599,'tapeItem':_0x1dbe42[_0x2817d4],'userId':_0x2c3744,'type':_0xe8a59b}:_0xe31eb6[_0xe8a59b]&&!_0x114065?(_0xe31eb6[_0xe8a59b]['end']=_0x392599,_0x280203(_0xe31eb6[_0xe8a59b]),_0xe31eb6[_0xe8a59b]=null):_0xe31eb6[_0xe8a59b]&&_0x114065&&_0xe31eb6[_0xe8a59b]['userId']!==_0x2c3744&&(_0xe31eb6[_0xe8a59b]['end']=_0x392599,_0x319105&&_0x319105['userId']===_0xe31eb6[_0xe8a59b]['userId']||_0x280203(_0xe31eb6[_0xe8a59b]),_0xe31eb6[_0xe8a59b]={'start':_0x392599,'tapeItem':_0x1dbe42[_0x2817d4],'userId':_0x2c3744,'type':_0xe8a59b}),_0xe31eb6[_0xe8a59b]&&_0x1b6742&&('elementStart'!==_0x1dbe42[_0x2817d4]['type']||_0x319105&&_0x319105['userId']===_0x2c3744||_0x350fa0[_0xe8a59b]['unshift']({'userId':_0x2c3744,'object':_0x1dbe42[_0x2817d4]['item'],'change':_0xe31eb6[_0xe8a59b]}),'elementEnd'===_0x1dbe42[_0x2817d4]['type']&&_0x319105&&_0x319105['object']===_0x1dbe42[_0x2817d4]['item']&&(_0x350fa0[_0xe8a59b]['shift'](),_0xe31eb6[_0xe8a59b]=_0x319105['change'])),_0xe31eb6[_0xe8a59b]&&_0x49650b&&(_0xe31eb6[_0xe8a59b]['end']=_0x2ea76c,_0x280203(_0xe31eb6[_0xe8a59b]),_0xe31eb6[_0xe8a59b]=null);}function _0x280203({start:_0x47019b,end:_0x45fd53,tapeItem:_0x6c9b8d,userId:_0x36ca18,type:_0x1ba192}){const _0x129624=_0x6c9b8d['item'],_0x5a15dd=_0x24b060['schema']['isBlock'](_0x129624)&&!_0x24b060['schema']['isLimit'](_0x129624),_0x2dfb39=_0x47019b['nodeAfter']==_0x45fd53['parent']&&_0x45fd53['isAtStart'];if(_0x5a15dd&&_0x2dfb39)return;const _0x4c5a07=_0x24b060['createRange'](_0x47019b,_0x45fd53),_0x2060c8=_0xbec3f9['get'](_0x36ca18),_0x3df188=new r({'author':_0x2060c8,'type':'isAdded'==_0x1ba192||'isAddSuggestion'==_0x1ba192?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x1ba192||'isRemoveSuggestion'==_0x1ba192},'createdAt':new Date(),'rootName':_0x1b3b7f});_0x23c8a5['push'](_0x3df188),_0x4f7ff6['markers']['set']('revision:'+_0x3df188['id'],_0x4c5a07);}function _0x42dfd9(_0x4f7c68,_0x1298df){const _0x4712d8=_0x4f7c68['getAttributes'](),_0x1ebe18=_0x1298df['getAttributes']();for(const _0x40efde of _0x4712d8){if(_0x40efde[0x1]!==_0x1298df['getAttribute'](_0x40efde[0x0]))return!0x1;_0x1ebe18['next']();}return _0x1ebe18['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x211bd9=>{const _0x29e0b8=_0x211bd9['markerName']['split'](':')[0x1],_0x5af5ed=this['_getChangeFromId'](_0x29e0b8);if(!_0x5af5ed)return null;const _0x14dbbb='add'==_0x5af5ed['type']?'insertion':'deletion',_0x4a4c0a=['ck-suggestion-marker','ck-suggestion-marker-'+_0x14dbbb];return _0x5af5ed['data']['isSuggestion']&&_0x4a4c0a['push']('ck-suggestion-marker-'+_0x14dbbb+'-new'),this['activeChange']==_0x5af5ed&&_0x4a4c0a['push']('ck-suggestion-marker--active'),{'classes':_0x4a4c0a,'attributes':{'data-change-id':_0x29e0b8}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5990f2=>{_0x5990f2['on']('element:pre',(_0x2ac50e,_0x530a9b,_0x1ee04a)=>{const _0x47e33d=_0x530a9b['viewItem']['getChild'](0x0);if(!_0x47e33d||!_0x47e33d['is']('element','code'))return;if(!_0x1ee04a['consumable']['consume'](_0x47e33d,{'attributes':['vid_start','vid_end']}))return;const _0x1928f1=_0x530a9b['modelRange']['start']['nodeAfter'];_0x1ee04a['writer']['setAttribute']('vid_start',_0x47e33d['getAttribute']('vid_start'),_0x1928f1),_0x1ee04a['writer']['setAttribute']('vid_end',_0x47e33d['getAttribute']('vid_end'),_0x1928f1);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x987ef6=>{_0x987ef6['on']('element',(_0xec2bd5,_0x4bd883,_0x1712ce)=>{if(!_0x1712ce['consumable']['consume'](_0x4bd883['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4bd883['modelRange']['isCollapsed'])return;const _0x1e30ed=_0x4bd883['modelRange']['start']['nodeAfter'];_0x1e30ed['hasAttribute']('vid_start')||_0x1e30ed['hasAttribute']('vid')||(_0x1712ce['writer']['setAttribute']('vid_start',_0x4bd883['viewItem']['getAttribute']('vid_start'),_0x1e30ed),_0x1712ce['writer']['setAttribute']('vid_end',_0x4bd883['viewItem']['getAttribute']('vid_end'),_0x1e30ed));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x3fdf65=>_0x3fdf65['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x3a47a4,[,_0x3cb217])=>{['vid_start','vid_end','vid']['includes'](_0x3cb217)&&(_0x3a47a4['return']=!0x0,_0x3a47a4['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x50ff41=>{_0x50ff41['on']('attribute:vid',(_0x57c4fe,_0xe511f0,_0x31f656)=>{if('\x20'!=_0xe511f0['item']['data']||_0xe511f0['item']['parent']['maxOffset']>0x1)return;if(!_0x31f656['consumable']['consume'](_0xe511f0['item'],_0x57c4fe['name']))return;const _0x45bea1=_0x31f656['writer'],_0x5c87ca=_0x31f656['mapper']['toViewRange'](_0xe511f0['range']);_0x45bea1['wrap'](_0x5c87ca,_0x45bea1['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x48adf9){const _0x61e2b2=_0x48adf9['plugins']['get']('RevisionViewer');return(_0x1bb6ae,_0x2282ba,_0x53d312)=>{const _0x5a5319=_0x2282ba['markerName']['split'](':')[0x1],_0x4aec26=_0x61e2b2['_getChangeFromId'](_0x5a5319);if(!_0x4aec26)return null;const _0x4cedc4='add'==_0x4aec26['type']?'split':'merge';if(!_0x53d312['consumable']['test'](_0x2282ba['markerRange'],_0x1bb6ae['name']))return;const _0x1ade13=_0x2282ba['markerRange']['getWalker'](),_0x1c799a=_0x2282ba['markerRange']['start'],_0xacf499=_0x48adf9['model']['schema'];let _0x16d180=null,_0x5e06d3=null,_0x5ed355=!0x1,_0x50eb25=!0x1;for(const _0x5d4650 of _0x1ade13){const _0x11819f=_0x5d4650['item'];_0x5ed355=_0x5ed355||_0xacf499['isContent'](_0x11819f);const _0x3cb105=_0x53d312['mapper']['toViewElement'](_0x11819f);if(_0x3cb105&&_0x3cb105['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5d4650['type']&&(_0xacf499['isBlock'](_0x11819f)&&!_0xacf499['isLimit'](_0x11819f)&&(_0x11819f['nextSibling']||_0x1c799a['isAtEnd']?_0x16d180&&_0x16d180['parent']==_0x11819f||(_0x16d180=_0x11819f,_0x17337e(_0x5d4650['previousPosition']),_0x50eb25=!0x0):_0x5e06d3=_0x5e06d3||_0x5d4650['previousPosition']));}function _0x17337e(_0x2f11a0){const _0x213ce0=_0x53d312['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4cedc4}),_0x2cf92b=_0x53d312['mapper']['toViewPosition'](_0x2f11a0);_0x4aec26['data']['isSuggestion']&&_0x53d312['writer']['addClass']('ck-suggestion-marker-'+_0x4cedc4+'-new',_0x213ce0),_0x61e2b2['activeChange']==_0x4aec26&&_0x53d312['writer']['addClass']('ck-suggestion-marker--active',_0x213ce0),_0x53d312['writer']['insert'](_0x2cf92b,_0x213ce0),_0x53d312['mapper']['bindElementToMarker'](_0x213ce0,_0x2282ba['markerName']);}_0x5ed355||_0x50eb25||!_0x5e06d3||_0x17337e(_0x5e06d3);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x1cf8ba,_0xd09d9,_0x3927d2)=>{const _0x1e6973=_0x3927d2['mapper']['markerNameToElements'](_0xd09d9['markerName']);if(_0x1e6973){for(const _0x32b55e of _0x1e6973)(_0x32b55e['hasClass']('ck-suggestion-marker-split')||_0x32b55e['hasClass']('ck-suggestion-marker-merge'))&&(_0x3927d2['mapper']['unbindElementFromMarkerName'](_0x32b55e,_0xd09d9['markerName']),_0x3927d2['writer']['remove'](_0x32b55e));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x56c84c,_0x59056a,_0x31fe09)=>{const _0xf09a74=_0x59056a['markerName']['split'](':')[0x1],_0x156df3=this['_getChangeFromId'](_0xf09a74);if(!_0x156df3)return null;const _0xbe2295='add'==_0x156df3['type']?'split':'merge';if(_0x31fe09['consumable']['test'](_0x59056a['markerRange'],_0x56c84c['name']))for(const _0x4d2bc0 of _0x59056a['markerRange']['getItems']()){if(!_0x4d2bc0['is']('element','softBreak'))continue;const _0x1edbe2=_0x31fe09['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xbe2295}),_0x552c2b=_0x31fe09['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x4d2bc0));_0x156df3['data']['isSuggestion']&&_0x31fe09['writer']['addClass']('ck-suggestion-marker-'+_0xbe2295+'-new',_0x1edbe2),this['activeChange']==_0x156df3&&_0x31fe09['writer']['addClass']('ck-suggestion-marker--active',_0x1edbe2),_0x31fe09['writer']['insert'](_0x552c2b,_0x1edbe2),_0x31fe09['mapper']['bindElementToMarker'](_0x1edbe2,_0x59056a['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xe3a739=>{for(const _0x13fb9d of this['editor']['model']['document']['getRootNames']()){const _0x3d4c45=this['editor']['model']['document']['getRoot'](_0x13fb9d),_0x5eff6f=this['editor']['editing']['view']['document']['getRoot'](_0x13fb9d);if(_0x5eff6f){const _0x103ee1=_0x3d4c45['getAttribute']('revisionHistoryAttachChange');if(_0xe3a739['removeAttribute']('data-change-id',_0x5eff6f),_0xe3a739['removeClass']('ck-revision-history-root-add',_0x5eff6f),_0xe3a739['removeClass']('ck-revision-history-root-remove',_0x5eff6f),_0xe3a739['removeClass']('ck-revision-history-root--active',_0x5eff6f),_0x103ee1){const _0x1c85d4=this['_getChangeFromId'](_0x103ee1);if(!_0x1c85d4)return null;_0xe3a739['setAttribute']('data-change-id',_0x103ee1,_0x5eff6f),_0xe3a739['addClass']('ck-revision-history-root-'+_0x1c85d4['type'],_0x5eff6f),this['activeChange']==_0x1c85d4&&_0xe3a739['addClass']('ck-revision-history-root--active',_0x5eff6f);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x402e09=>'revision-comment:'+_0x402e09,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1afed3=>'revision-suggestion:'+_0x1afed3,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2c0e63=>({'name':'suggestion:'+_0x2c0e63,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x5cf74f=>{const _0x337a91=_0x5cf74f['markerName']['split'](':')[0x1];return'insertion'!=_0x337a91&&'deletion'!=_0x337a91?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x337a91]};}}),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',(_0x4d2d9c,_0x585fd5,_0x355ab6)=>{const _0x44a322=_0x355ab6['mapper']['markerNameToElements'](_0x585fd5['markerName']);if(_0x44a322){for(const _0x5d8dde of _0x44a322)_0x5d8dde['is']('uiElement')&&(_0x355ab6['mapper']['unbindElementFromMarkerName'](_0x5d8dde,_0x585fd5['markerName']),_0x355ab6['writer']['remove'](_0x5d8dde));}},{'priority':'high'});}['_getChangeFromId'](_0x5619a0){return this['_changeIdToChange']['get'](_0x5619a0);}['_getViewForChange'](_0x2c5ee0){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2c5ee0),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x527596,_0x169f6a,_0x4f6d64,_0x401936)=>{_0x401936&&this['_balloon']['remove'](_0x401936),_0x4f6d64&&(this['_balloon']['add']({'view':_0x4f6d64,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x5b21a0=this['editor']['editing'],_0x46e627=this['_getChangeFromId'](_0x4f6d64['changeId']);let _0x1ced31;if(_0x46e627['data']['isOnRoot']){const _0x2b7329=_0x5b21a0['view']['getDomRoot'](_0x46e627['rootName']);_0x1ced31=Array['from'](_0x2b7329['getClientRects']());}else{const _0x494653=this['editor']['model']['markers']['get']('revision:'+_0x4f6d64['changeId']);_0x1ced31=Array['from'](_0x5b21a0['mapper']['markerNameToElements'](_0x494653['name']))['map'](_0x3902fd=>_0x5b21a0['view']['domConverter']['mapViewToDom'](_0x3902fd))['map'](_0x5970e8=>Array['from'](_0x5970e8['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x1ced31[0x0];return _0x1ced31['find'](_0x5bbf6d=>_0x5bbf6d['top']-0x3<=this['_activeViewTarget']['y']&&_0x5bbf6d['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5bbf6d['left']-0x3<=this['_activeViewTarget']['x']&&_0x5bbf6d['right']+0x3>=this['_activeViewTarget']['x'])||_0x1ced31[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3a9db3,_0x4372a7,_0x289dce,_0x414d34)=>{this['activeView']=_0x289dce?this['_getViewForChange'](_0x289dce):null,this['editor']['model']['change'](()=>{const _0x458e5e=this['editor']['editing'];_0x414d34&&(_0x414d34['data']['isOnRoot']?_0x458e5e['view']['change'](_0x29c25f=>{_0x29c25f['removeClass']('ck-revision-history-root--active',_0x458e5e['view']['document']['getRoot'](_0x414d34['rootName']));}):_0x458e5e['reconvertMarker']('revision:'+_0x414d34['id'])),_0x289dce&&(_0x289dce['data']['isOnRoot']?_0x458e5e['view']['change'](_0x31e6af=>{_0x31e6af['addClass']('ck-revision-history-root--active',_0x458e5e['view']['document']['getRoot'](_0x289dce['rootName']));}):_0x458e5e['reconvertMarker']('revision:'+_0x289dce['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2a1e64,_0x4080a8)=>{if(this['activeChange'])return;const _0x3d2e25=this['_findChangeIdFromDomTarget'](_0x4080a8['target']),_0x5bc992=this['_changeIdToChange']['get'](_0x3d2e25);_0x5bc992?(this['_activeViewTarget']={'x':_0x4080a8['domEvent']['x'],'y':_0x4080a8['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5bc992)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x176fcb,_0x10fa99)=>{const _0x50cfde=this['_findChangeIdFromDomTarget'](_0x10fa99['target']),_0x48cebd=this['_changeIdToChange']['get'](_0x50cfde);_0x48cebd?(this['_activeViewTarget']={'x':_0x10fa99['domEvent']['x'],'y':_0x10fa99['domEvent']['y']},_0x48cebd===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x48cebd):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1be570){do{const _0x5de46d=_0x1be570['getAttribute']('data-change-id');if(_0x5de46d)return _0x5de46d;_0x1be570=_0x1be570['parent'];}while(_0x1be570);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x145fa0=>{for(const _0x234b51 of this['editor']['model']['markers'])_0x145fa0['removeMarker'](_0x234b51);});}}function et(_0x1705cb,_0x1cc3d6){return(_0x575258,_0x1ac51b,_0x19d442)=>{if(!_0x19d442['consumable']['test'](_0x1ac51b['markerRange'],_0x575258['name']))return;const _0x5af89f=_0x1ac51b['markerRange']['getWalker'](),_0x126dc7=_0x1ac51b['markerRange']['start'],_0x52424c=_0x1705cb['model']['schema'];let _0x4fc8cd=null,_0x4e91e4=null,_0x5afda7=!0x1,_0x10209a=!0x1;for(const _0x49a7ec of _0x5af89f){const _0x1ccf74=_0x49a7ec['item'];_0x5afda7=_0x5afda7||_0x52424c['isContent'](_0x1ccf74);const _0x43a0b4=_0x19d442['mapper']['toViewElement'](_0x1ccf74);if(_0x43a0b4&&_0x43a0b4['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x49a7ec['type']&&(_0x52424c['isBlock'](_0x1ccf74)&&!_0x52424c['isLimit'](_0x1ccf74)&&(_0x1ccf74['nextSibling']||_0x126dc7['isAtEnd']?_0x4fc8cd&&_0x4fc8cd['parent']==_0x1ccf74||(_0x4fc8cd=_0x1ccf74,_0x245b13(_0x49a7ec['previousPosition']),_0x10209a=!0x0):_0x4e91e4=_0x4e91e4||_0x49a7ec['previousPosition']));}function _0x245b13(_0x27925c){const _0x3854a0=_0x19d442['mapper']['toViewPosition'](_0x27925c),_0x4a6b58=_0x19d442['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x1cc3d6});_0x19d442['writer']['insert'](_0x3854a0,_0x4a6b58),_0x19d442['mapper']['bindElementToMarker'](_0x4a6b58,_0x1ac51b['markerName']);}_0x5afda7||_0x10209a||!_0x4e91e4||_0x245b13(_0x4e91e4);};}class bt extends _0x239839{constructor(_0x4c2965){super(_0x4c2965);const _0xec2f53=_0x4c2965['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0xec2f53,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xec2f53,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x443b86=this['editor'],_0x3f735b=_0x443b86['plugins']['get'](d),_0x3464c6=_0x3f735b['isReady']?_0x3f735b['diff']['newRevisionId']:null;_0x443b86['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3464c6);}['refresh'](){const {isReady:_0x43b9aa,isEnabled:_0x3cfca3}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x43b9aa&&_0x3cfca3;}}class yt extends _0x239839{['_step'];constructor(_0xfd7929,{direction:_0xabdc8d}){super(_0xfd7929);const _0x4392=_0xfd7929['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0xabdc8d?0x1:-0x1,this['listenTo'](_0x4392,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4392,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x4392,'change:activeChange',()=>this['refresh']());}['execute'](){const _0xa07df0=this['editor'],_0x59e1cd=_0xa07df0['plugins']['get'](d),{isNavigationMode:_0x5d6695,currentChangeNumber:_0x738ee1}=_0x59e1cd;let _0x208de8;if(_0x59e1cd['activeChange']=_0x5d6695?_0x59e1cd['diff']['changes']['get'](_0x738ee1+this['_step']):_0x59e1cd['diff']['changes']['first'],_0x59e1cd['activeChange']['data']['isOnRoot'])_0x208de8=_0xa07df0['editing']['view']['getDomRoot'](_0x59e1cd['activeChange']['rootName']);else{const _0x53ea20=_0xa07df0['model']['markers']['get']('revision:'+_0x59e1cd['activeChange']['id']);_0x208de8=_0xe9211d(_0xa07df0['editing'],_0x53ea20);}_0x5afe8a({'target':_0x208de8,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x4f9d7a,currentChangeNumber:_0x37f635,numberOfChanges:_0xf41b1c,isReady:_0x201988,isEnabled:_0x1c1d89}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1c1d89&&_0x201988&&_0xf41b1c)&&(!_0x4f9d7a||(0x1===this['_step']?_0x37f635<_0xf41b1c-0x1:_0x37f635>0x0));}}class _i extends _0x4430a9{constructor(_0x5bb972){super(_0x5bb972);const _0xaf3c72=this['bindTemplate'],_0x1c5b96=new _0x9a604c(_0x5bb972),_0x420c5e=new _0x9a604c(_0x5bb972);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',(_0x11e08f,_0x5e1b16)=>_0x11e08f&&_0x5e1b16>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1ed00d,_0x6a615c,_0xa50e5b,_0x12f88f)=>{if(!_0x1ed00d)return y(_0x5bb972,'Loading...');if(!_0xa50e5b)return y(_0x5bb972,'No\x20changes');const _0x29081c=y(_0x5bb972,'NUMBER_OF_CHANGES',_0xa50e5b);return _0x12f88f?y(_0x5bb972,'X_OF_Y_CHANGES',[_0x6a615c+0x1,_0xa50e5b]):_0x29081c;}),_0x1c5b96['set']({'label':y(_0x5bb972,'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'}),_0x420c5e['set']({'label':y(_0x5bb972,'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'}),_0x1c5b96['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x420c5e['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1c5b96['on']('execute',()=>this['fire']('execute','backward')),_0x420c5e['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',_0xaf3c72['if']('_isStatusLabelVisible','ck-hidden',_0x11985d=>!_0x11985d)]},'children':[{'text':_0xaf3c72['to']('isNavigationMode',_0x3d6724=>_0x3d6724?y(_0x5bb972,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5bb972,'Total')+':\x20')}]},{'text':_0xaf3c72['to']('_statusText')}]},new _0x368505(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1c5b96,_0x420c5e]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x201084{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x59eea7=this['editor']['editing']['view'];_0x59eea7['change'](_0x1a5ab2=>{for(const _0x7cd0c9 of _0x59eea7['document']['roots'])_0x1a5ab2['addClass'](ce,_0x7cd0c9);});}['hide'](){const _0x3a9547=this['editor']['editing']['view'];_0x3a9547['change'](_0xe2787d=>{for(const _0x5c1ade of _0x3a9547['document']['roots'])_0xe2787d['removeClass'](ce,_0x5c1ade);});}}class R extends _0x201084{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x577298=this['editor'],_0xa0724b=_0x577298['plugins']['get'](d),_0x5bb348=_0x577298['plugins']['get'](de);_0x577298['ui']['componentFactory']['add']('exitToEditing',_0x3effd8=>{const _0x5caedc=new _0x9a604c(_0x3effd8);return _0x5caedc['set']({'label':y(_0x3effd8,'Back\x20to\x20editing'),'icon':_0x13a4f6['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5caedc,'execute',()=>{_0x577298['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5caedc;}),_0x577298['ui']['componentFactory']['add']('restoreRevision',_0x2cbb8f=>{const _0x2635ea=new _0x9a604c(_0x2cbb8f);return _0x2635ea['set']({'label':y(_0x2cbb8f,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2635ea['bind']('isEnabled')['to'](_0x577298['commands']['get']('restoreRevision')),this['listenTo'](_0x2635ea,'execute',()=>_0x577298['execute']('restoreRevision')),_0x2635ea;}),_0x577298['ui']['componentFactory']['add']('changesNavigation',_0x2dcfa8=>{const _0x5519f2=new _i(_0x2dcfa8),_0x1b200a=_0x577298['commands']['get']('showPreviousChange'),_0x5802da=_0x577298['commands']['get']('showNextChange');return _0x5519f2['bind']('isBackwardNavigationEnabled')['to'](_0x1b200a,'isEnabled'),_0x5519f2['bind']('isForwardNavigationEnabled')['to'](_0x5802da,'isEnabled'),_0x5519f2['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0xa0724b),this['listenTo'](_0x5519f2,'execute',(_0x49b2c6,_0x18aa47)=>{_0x577298['execute']('forward'===_0x18aa47?'showNextChange':'showPreviousChange');}),_0x5519f2;}),_0x5bb348['show'](),_0xa0724b['on']('change:isReady',(_0x1880f3,_0x26c999,_0x2a4c5a)=>{_0x2a4c5a?_0x5bb348['hide']():_0x5bb348['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1a63f2,_0x40a8cd){super(_0x1a63f2,_0x40a8cd);const _0x32a332=this['bindTemplate'];this['set']({'label':y(_0x1a63f2,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1a63f2,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x32a332['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 _0x456ad5=this['fieldView']['element'];this['_tooltipString']=_0x456ad5['scrollWidth']>_0x456ad5['clientWidth']&&_0x456ad5['value']||'';}}class ti extends _0x4430a9{constructor(_0x2cd74e,_0x349d57,_0x5853d1){super(_0x2cd74e);const _0x3df9e2=new _0x504c5d();_0x3df9e2['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 _0x1a1dc4=['ck','ck-revision-history-sidebar__revision-author'];_0x5853d1&&_0x1a1dc4['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4d2c6e=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2cd74e,_0x5853d1?'Revision\x20creator':'Revision\x20author')},'children':[_0x3df9e2,_0x349d57['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1a1dc4},'children':_0x4d2c6e});}}function ni(_0x45f768,_0x4c0289){const _0x4f9ea2=_0x45f768['bindTemplate'],_0x38ae8c=_0x45f768['locale'],_0x12471e=_0xa714a4(_0x38ae8c);_0x12471e['panelPosition']='sw';const _0x4d541e=function(_0x383b8d,_0x2f14e5){const _0x165a6e=function(_0x31ea1a,_0x4a307b){const _0x354f1b=_0x31ea1a['locale'],_0x5f4c47={'Compare\x20against\x20selected':y(_0x354f1b,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x354f1b,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x354f1b,'Restore\x20this\x20revision')};return _0x4a307b['map'](_0x1c1118=>{const _0x28b402=_0x5f4c47[_0x1c1118['name']];return _0x28b402&&_0x28b402!==_0x1c1118['name']&&(_0x1c1118['name']=_0x28b402),_0x1c1118;});}(_0x383b8d,_0x2f14e5),_0x28008f=new _0x5909d2();for(const _0x22b1c3 of _0x165a6e){const _0xaae09e={'type':'button','model':new to({'label':_0x22b1c3['name'],'class':_0x22b1c3['class'],'withText':!0x0,'role':'menuitem','_action':_0x22b1c3['action']})};_0xaae09e['model']['bind']('isEnabled')['to'](_0x383b8d,'isActionsDropdownOpen',_0x136bcd=>'function'!=typeof _0x22b1c3['isEnabled']||(!_0x136bcd||_0x22b1c3['isEnabled'](_0x383b8d))),_0x28008f['add'](_0xaae09e);}return _0x28008f;}(_0x45f768,_0x4c0289);return _0x45f768['bind']('isActionsDropdownOpen')['to'](_0x12471e,'isOpen'),_0x12471e['buttonView']['set']({'label':y(_0x38ae8c,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x13a4f6['threeVerticalDots']}),_0x12471e['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4f9ea2['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4f9ea2['to'](_0x998b06=>_0x998b06['stopPropagation']())}}),_0x12471e['on']('execute',_0x48a0a0=>{_0x45f768['isReady']&&'function'==typeof _0x48a0a0['source']['_action']&&_0x48a0a0['source']['_action'](_0x45f768);}),_0x3c1d92(_0x12471e,_0x4d541e,{'role':'menu'}),_0x12471e['listenTo'](_0x45f768,'change:isActionsDropdownOpen',(_0x4dd4c1,_0x4c5dc9,_0x5f005e)=>{if(_0x5f005e)for(const _0x1ff7c7 of _0x12471e['listView']['items']){const _0x4d1a72=_0x1ff7c7['children']['first'],_0x465a32=_0x4c0289['find'](_0x9bbbee=>_0x9bbbee['action']===_0x4d1a72['_action'])['isVisible'];_0x1ff7c7['isVisible']=void 0x0===_0x465a32||_0x465a32(_0x45f768);}}),_0x12471e;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x216125(_0x4430a9){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x49b13a,_0x5d1a8c,_0x2339e9,_0x10c97a){super(_0x49b13a);const _0x4ac754=this['bindTemplate'],_0x2d2bfd=function(_0x4d49ee,_0x13b8d5){const _0x21f931=Array['from'](_0x13b8d5['authors'])['filter'](_0x3b2884=>_0x3b2884!=_0x13b8d5['creator']);return _0x13b8d5['creator']&&_0x21f931['unshift'](_0x13b8d5['creator']),_0x21f931['map'](_0x892809=>new ti(_0x4d49ee,_0x892809,_0x892809==_0x13b8d5['creator']));}(_0x49b13a,_0x5d1a8c);this['id']=_0x5d1a8c['id'],this['_revision']=_0x5d1a8c,this['_requireRevisionName']=_0x10c97a,this['bind']('name','createdAt')['to'](_0x5d1a8c),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x507862=>{return _0x19c432=_0x49b13a['uiLanguage'],(_0x45c71f=_0x507862)['toLocaleDateString'](_0x19c432,{'month':'long','day':'numeric'})+',\x20'+_0x45c71f['toLocaleTimeString'](_0x19c432,{'hour':'numeric','minute':'numeric'});var _0x19c432,_0x45c71f;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x49b13a,_0x30d323),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0xe85244=>_0xe85244||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1ee43e,_0x55bf92)=>_0x1ee43e&&_0x55bf92),this['revisionActionsView']=_0x2339e9&&_0x2339e9['length']?ni(this,_0x2339e9):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4ac754['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4ac754['if']('isEnabled','ck-disabled',_0x13fdbb=>!_0x13fdbb),_0x4ac754['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4ac754['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4ac754['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':_0x4ac754['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':_0x2d2bfd}]},this['revisionActionsView']],'on':{'click':_0x4ac754['to'](_0x4f4c52=>{_0x4f4c52['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x10c61a=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x10c61a,'change',()=>{this['_requireRevisionName']&&!_0x10c61a['value']||this['fire']('setName',{'id':this['id'],'name':_0x10c61a['value']}),_0x10c61a['value']||(_0x10c61a['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(_0x1c326d,_0xb222d){const _0x3bc2da=_0x50a473['fromJSDate'](_0x1c326d)['setLocale'](_0xb222d),_0x56a3fe=_0x50a473['local'](),_0x467544=_0x56a3fe['minus']({'days':0x1})['startOf']('day');let _0x36023d,_0x374c4a;return _0x3bc2da['hasSame'](_0x56a3fe,'day')?(_0x36023d=_0x3bc2da['startOf']('day')['toJSDate'](),_0x374c4a=_0x3bc2da['toRelativeCalendar']()):_0x3bc2da['hasSame'](_0x467544,'day')?(_0x36023d=_0x467544['toJSDate'](),_0x374c4a=_0x3bc2da['toRelativeCalendar']()):_0x3bc2da['hasSame'](_0x56a3fe,'week')?(_0x36023d=_0x3bc2da['startOf']('week')['toJSDate'](),_0x374c4a=_0x3bc2da['weekdayLong']||''):_0x3bc2da['hasSame'](_0x56a3fe,'year')?(_0x36023d=_0x3bc2da['startOf']('month')['toJSDate'](),_0x374c4a=_0x3bc2da['monthLong']||''):(_0x36023d=_0x3bc2da['startOf']('year')['toJSDate'](),_0x374c4a=String(_0x3bc2da['year'])),{'startDate':_0x36023d,'localizedPeriodName':_0x374c4a};}class mi extends _0x4430a9{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2a6a97,_0x58acaa,_0x111fcf,_0x1ce415){super(_0x2a6a97);const _0x11112a=di(_0x58acaa,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x58acaa,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x111fcf,this['_requireRevisionName']=_0x1ce415,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':_0x11112a}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x2a2ba2){const _0x4e2361=new ai(this['locale'],_0x2a2ba2,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4e2361);}['removeRevision'](_0x3049c7){const _0x14327e=this['revisionViews']['find'](_0x2a392f=>_0x2a392f['id']===_0x3049c7['id']);this['revisionViews']['remove'](_0x14327e);}}class as extends _0x4430a9{constructor(_0x180b7e){super(_0x180b7e);const _0x17f6fe=new _0x504c5d();_0x17f6fe['content']=_0x13a4f6['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x17f6fe,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x180b7e,'Revision\x20history')]}]});}}class ci extends _0x4430a9{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x519341,_0x1b19d5,_0x220b61,_0x58b9a5){super(_0x519341);const _0x13d473=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x1b19d5,this['_revisionActions']=_0x220b61,this['_requireRevisionName']=_0x58b9a5,this['on']('select',(_0x4979a7,_0x37b5e9)=>{this['fire']('revisionSelected',_0x37b5e9);}),this['on']('setName',(_0x1a5842,_0x17e52e)=>{this['fire']('revisionSetName',_0x17e52e);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x519341),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x13d473['if']('isEnabled','ck-disabled',_0x3eeb48=>!_0x3eeb48)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x5aeedf of this['_revisions'])this['_addRevision'](_0x5aeedf);this['_revisions']['on']('add',(_0x2b8afd,_0x30137f)=>{this['_addRevision'](_0x30137f);}),this['_revisions']['on']('remove',(_0x1b5fbc,_0x502351)=>{this['_removeRevision'](_0x502351);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0xc4ad2c=>_0xc4ad2c['revisionViews']['map'](_0x34db0d=>_0x34db0d))['flat']();}['selectRevision'](_0x5b6eae){for(const _0x40e22e of this['revisionViews'])_0x5b6eae&&_0x5b6eae['id']===_0x40e22e['id']?_0x40e22e['select']():_0x40e22e['deselect']();}['highlightRevisions'](_0x2c5b31){for(const _0x54b287 of this['revisionViews'])_0x2c5b31['some'](({id:_0x30480c})=>_0x30480c===_0x54b287['id'])?_0x54b287['highlight']():_0x54b287['unhighlight']();}['_addRevision'](_0x548f79){const _0x153b3c=di(_0x548f79['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3b2cf2=this['timePeriodViews']['get'](0x0);_0x3b2cf2&&_0x3b2cf2['startDate']['getTime']()===_0x153b3c['getTime']()||(_0x3b2cf2=new mi(this['locale'],_0x153b3c,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3b2cf2)),_0x3b2cf2['addRevision'](_0x548f79);}['_removeRevision'](_0x476b62){const _0x32482d=di(_0x476b62['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x32482d)['removeRevision'](_0x476b62);}['_getTimePeriodViewByStartDate'](_0x278f8e){return this['timePeriodViews']['find'](_0x45c7b3=>_0x45c7b3['startDate']['getTime']()===_0x278f8e['getTime']());}}class w extends _0x201084{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
27
+ ((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0xa710c9){super(_0xa710c9),this['_revisionViewer']=_0xa710c9['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x27bdbb=this['_revisionsRepository']['_revisions'],_0xe275f4=this['_createRevisionActions'](),_0x1f6c60=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x27bdbb,_0xe275f4,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',(_0x1e2ef9,_0x4af845)=>{_0x4af845['revisionViews']['on']('add',(_0x275bd7,_0x5b269c)=>{_0x5b269c['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)),_0x1f6c60['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x515fc9=this['_revisionsRepository']['getRevision'](0x0);if(_0x515fc9){const _0x34437f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x515fc9['id']);this['_revisionViewer']['compare'](_0x515fc9,_0x34437f);}}['_handleRevisionSelected'](_0x38e57b,_0x575e10){const _0x4596ee=this['_revisionsRepository']['getRevision'](_0x575e10['id']),_0x73b36c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4596ee['id']);this['_revisionViewer']['compare'](_0x4596ee,_0x73b36c);}['_handleRevisionSetName'](_0x29d844,_0x6e01e2){this['_revisionsRepository']['getRevision'](_0x6e01e2['id'])['setName'](_0x6e01e2['name']);}['_handleDiffChange'](_0x4c3677,_0x1c7356,_0x553327){const _0x3933f2=this['_revisionsRepository']['getRevisionsInDiff'](_0x553327);_0x3933f2['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x3933f2),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x3933f2[0x0]));}['_createRevisionActions'](){const _0x1f1099=this['editor'],_0x191fd7=w['availableRevisionActions'],_0x2a0183=_0x1f1099['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2a0183['length'])return _0x2a0183['map'](_0x428a75=>{const _0x2808dc='string'==typeof _0x428a75?Object['assign']({},_0x191fd7[_0x428a75]):_0x428a75;return _0x2808dc['action']=_0x2808dc['action']['bind'](this,_0x1f1099),_0x2808dc['isVisible']&&(_0x2808dc['isVisible']=_0x2808dc['isVisible']['bind'](this,_0x1f1099)),_0x2808dc;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x42df44},_0x3b83eb)=>{const _0x203a1f=_0x42df44['get'](d),_0x15653c=_0x203a1f['repository'];let _0x1c54b1=_0x203a1f['diff']['newRevisionId'],_0x168395=_0x3b83eb['id'];_0x15653c['getIndex'](_0x1c54b1)>_0x15653c['getIndex'](_0x168395)&&([_0x1c54b1,_0x168395]=[_0x168395,_0x1c54b1]),_0x203a1f['compare'](_0x1c54b1,_0x168395);},'isVisible':({plugins:_0x391d2f},_0x483342)=>{const _0x4050a8=_0x391d2f['get'](d);return!(_0x4050a8['repository']['getRevisionsInDiff'](_0x4050a8['diff'])['length']>0x2)&&!_0x483342['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x6fe8dc,{id:_0x148703})=>{_0x6fe8dc['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x148703);},'isVisible':({plugins:_0x537a51},_0x3eae6e)=>!!_0x537a51['get'](d)['repository']['getLaterVisibleRevision'](_0x3eae6e['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0xaaa48d},{id:_0x23fd15,revisionNameView:_0x213cbc})=>{const _0x360eb5=_0xaaa48d['get'](d),_0x5ce5ef=_0x360eb5['repository']['getEarlierVisibleRevision'](_0x23fd15);_0x360eb5['compare'](_0x23fd15,_0x5ce5ef),_0x213cbc['focus'](),_0x213cbc['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x37920e,_0x44b06d){super(_0x37920e),this['_view']=_0x44b06d,this['_toolbarConfig']=ct(_0x37920e['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x1dc119){const _0x33a3d1=this['editor'],_0x8f5ff2=this['view'],_0x6006ff=_0x33a3d1['editing']['view'],_0x38c228=_0x8f5ff2['editable'],_0x60a35a=_0x6006ff['document']['getRoot']();_0x38c228['name']=_0x60a35a['rootName'],_0x8f5ff2['render']();const _0x1b2998=_0x38c228['element'];this['setEditableElement'](_0x38c228['name'],_0x1b2998),_0x8f5ff2['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x6006ff['attachDomRoot'](_0x1b2998),this['_elementReplacer']['replace'](_0x1dc119,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x31562b=this['view'],_0x1548ba=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1548ba['detachDomRoot'](_0x31562b['editable']['name']),_0x31562b['destroy']();}['_initToolbar'](){const _0x393952=this['view'];_0x393952['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x393952['stickyPanel']['limiterElement']=_0x393952['element'],_0x393952['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x951d9a})=>_0x951d9a),_0x393952['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x393952['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x375d4d,_0x311261,_0x337675={}){super(_0x375d4d),this['stickyPanel']=new lt(_0x375d4d),this['toolbar']=new pt(_0x375d4d,{'shouldGroupWhenFull':_0x337675['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x375d4d,_0x311261);}['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(_0x49fc4f,_0x146a7c){super(_0x146a7c),this['sourceElement']=_0x49fc4f,this['model']['document']['createRoot']();const _0x434ee2=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x434ee2);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x5ab04b,_0x261e55){const _0x2ec335=new this(_0x5ab04b,_0x261e55);return await _0x2ec335['initPlugins'](),await _0x2ec335['ui']['init'](_0x5ab04b),await _0x2ec335['data']['init'](_0x2ec335['config']['get']('initialData')||''),_0x2ec335['fire']('ready'),_0x2ec335;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x201084{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x29cefe){super(_0x29cefe),this['result']='end';}}class H extends _0x201084{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x4f3b76){if(super(_0x4f3b76),!this['editor']['config']['get']('revisionHistory'))throw new _0x3cd6b0('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x46ea73=>this['_showRevisionViewer']({..._0x46ea73,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x47b689=>this['_closeRevisionViewer'](_0x47b689)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5adf5a=>this['_restoreRevision'](_0x5adf5a)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3f4841){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3f4841;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0xd9b7c9){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0xd9b7c9);}['getRevision'](_0x5a70a8){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5a70a8);}['getRevisions'](_0x30c2db){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x30c2db||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x40194a=this['editor'],_0x5192c0=_0x4756b8(_0x40194a,p),_0x3c868a=_0x40194a['plugins']['get']('RevisionTracker'),_0x4a3210=_0x40194a['plugins']['get']('Users')['users'];return _0x5192c0['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x5192c0['lazyRoots'],(_0x5192c0['plugins']['push'](k,d,R,class extends _0x201084{static get['requires'](){return[d,'Users'];}['init'](){const _0x79ad5a=this['editor']['plugins']['get']('Users');for(const _0x1c6e7f of _0x4a3210)_0x1c6e7f['isAnonymous']||_0x79ad5a['getUser'](_0x1c6e7f['id'])||_0x79ad5a['addUser'](_0x1c6e7f);const _0x34c1f8=_0x3c868a['repository']['getRevisions']();let _0x1d6766=null;const _0x2bc706=this['editor']['plugins']['get']('RevisionViewer');_0x2bc706['adapter']=_0x3c868a['adapter'],_0x2bc706['bind']('isEnabled')['to'](_0x3c868a),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x40194a,'isReadOnly',_0x5f1951=>!_0x5f1951);for(const _0x529e2f of _0x34c1f8){const _0x53df55=null===_0x529e2f['creator'];if(_0x53df55&&_0x529e2f['toVersion']===_0x529e2f['fromVersion'])continue;const _0x5a7a36=_0x529e2f['toJSON']();_0x2bc706['addRevisionData'](_0x5a7a36,(_0x12231a,_0x1c0036,_0x3abae0)=>{if(_0x53df55){if(_0x1d6766)_0x1d6766['_update'](_0x12231a,_0x1c0036);else{if(!_0x1c0036){const _0x1d8b0d=_0x3abae0['toJSON']();_0x1d8b0d['id']=_0x4847d5(),_0x3c868a['saveRevision'](_0x1d8b0d,_0x3abae0['toVersion'])['then'](_0x449d4f=>{_0x1d6766=_0x449d4f;});}}}else _0x529e2f['_update'](_0x12231a,_0x1c0036);});}}},w),_0x5192c0);}['_enhanceShowRevisionViewerCallback'](){const _0x41113d=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1554f2=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1abc2f=this['editor']['plugins']['get']('Autosave');await _0x1abc2f['save']();}else await _0x1554f2['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3a4860=this['editor']['plugins']['get']('Dialog');_0x3a4860['isOpen']&&_0x3a4860['hide']();}const _0x441459=this['_getRevisionViewerEditorConfig']();return _0x41113d(_0x441459)['then'](_0x4444f2=>{return(this['_viewerEditor']=_0x4444f2,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x4444f2;})['catch'](_0x4af895=>(console['error'](_0x4af895),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x10560c=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'](),_0x10560c(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x1c5659=this['editor']['plugins']['get']('Annotations');_0x1c5659['refreshVisibility'](),_0x1c5659['refreshPositioning']();}})));}['_showRevisionViewer'](_0x175bc3){const _0x74dd35=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x311920=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x52f1e1=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x52f1e1,_0x175bc3)['then'](_0x218fab=>(_0x311920['style']['display']='block',_0x74dd35['style']['display']='none',_0x218fab));}['_closeRevisionViewer'](_0x2264c2){const _0x325058=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x325058['style']['display']='',_0x2264c2['destroy']();}async['_restoreRevision'](_0x5e9df1){const _0x157fba=this['editor'],_0x53a161=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x50ff3d=_0x157fba['plugins']['get']('RevisionTracker'),_0x582867=_0x53a161['repository']['getRevision'](_0x5e9df1);let _0x287af4,_0x2fa644,_0x5543fd;try{_0x287af4=await _0x53a161['getRevisionData'](_0x582867),_0x2fa644=await _0x53a161['getRevisionRootsAttributes'](_0x582867);}catch(_0x5afdaa){return void console['error'](_0x5afdaa);}_0x157fba['model']['change'](_0x1a4f6e=>{for(const _0x2f19c1 of Array['from'](_0x157fba['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x1a4f6e['removeMarker'](_0x2f19c1);}),_0x53a161['isReady']=!0x1,_0x157fba['model']['enqueueChange'](_0x19a955=>{_0x19a955['setSelection'](null),_0x19a955['removeSelectionAttribute'](_0x157fba['model']['document']['selection']['getAttributeKeys']());const _0xb9ea47=Object['keys'](_0x287af4);for(const _0x98c3b8 of _0x157fba['model']['document']['roots'])'$graveyard'!=_0x98c3b8['rootName']&&_0x98c3b8['isAttached']()&&!_0xb9ea47['includes'](_0x98c3b8['rootName'])&&_0x19a955['detachRoot'](_0x98c3b8);for(const _0x18177a of _0xb9ea47){let _0x453311=_0x157fba['model']['document']['getRoot'](_0x18177a);_0x453311&&_0x453311['isAttached']()||(_0x453311=_0x19a955['addRoot'](_0x18177a));const _0x55ee58=_0x2fa644[_0x18177a],_0xe9e08=Object['keys'](_0x55ee58),_0x58c72e=_0x287af4[_0x18177a];for(const _0x224929 of _0x453311['getAttributeKeys']())_0xe9e08['includes'](_0x224929)||_0x19a955['removeAttribute'](_0x224929,_0x453311);for(const _0x3ccab7 of _0xe9e08)_0x19a955['setAttribute'](_0x3ccab7,_0x2fa644[_0x18177a][_0x3ccab7],_0x453311);_0x19a955['remove'](_0x19a955['createRangeIn'](_0x453311)),_0x19a955['insert'](_0x157fba['data']['parse'](_0x58c72e,_0x453311),_0x453311,0x0);}});const _0x3f5d40=y(_0x157fba['locale'],'Restored');if(_0x582867['name'])_0x5543fd=-0x1==_0x582867['name']['indexOf'](_0x3f5d40)?_0x3f5d40+':\x20'+_0x582867['name']:_0x582867['name'];else _0x5543fd=_0x3f5d40+':\x20'+(_0x582867['createdAt']['toLocaleDateString'](_0x157fba['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x582867['createdAt']['toLocaleTimeString'](_0x157fba['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x50ff3d['saveRevision']({'name':_0x5543fd}),_0x53a161['isReady']=!0x0,_0x157fba['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};