@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240521.0 → 0.0.0-nightly-20240523.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/README.md +6 -0
  2. package/build/revision-history.js +1 -1
  3. package/dist/index.js +6 -6
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/bg.js +1 -1
  11. package/dist/translations/bg.umd.js +1 -1
  12. package/dist/translations/bn.js +1 -1
  13. package/dist/translations/bn.umd.js +1 -1
  14. package/dist/translations/bs.js +1 -1
  15. package/dist/translations/bs.umd.js +1 -1
  16. package/dist/translations/ca.js +1 -1
  17. package/dist/translations/ca.umd.js +1 -1
  18. package/dist/translations/cs.js +1 -1
  19. package/dist/translations/cs.umd.js +1 -1
  20. package/dist/translations/da.js +1 -1
  21. package/dist/translations/da.umd.js +1 -1
  22. package/dist/translations/de-ch.js +1 -1
  23. package/dist/translations/de-ch.umd.js +1 -1
  24. package/dist/translations/de.js +1 -1
  25. package/dist/translations/de.umd.js +1 -1
  26. package/dist/translations/el.js +1 -1
  27. package/dist/translations/el.umd.js +1 -1
  28. package/dist/translations/en-au.js +1 -1
  29. package/dist/translations/en-au.umd.js +1 -1
  30. package/dist/translations/en-gb.js +1 -1
  31. package/dist/translations/en-gb.umd.js +1 -1
  32. package/dist/translations/en.umd.js +1 -1
  33. package/dist/translations/es-co.js +1 -1
  34. package/dist/translations/es-co.umd.js +1 -1
  35. package/dist/translations/es.js +1 -1
  36. package/dist/translations/es.umd.js +1 -1
  37. package/dist/translations/et.js +1 -1
  38. package/dist/translations/et.umd.js +1 -1
  39. package/dist/translations/fa.js +1 -1
  40. package/dist/translations/fa.umd.js +1 -1
  41. package/dist/translations/fi.js +1 -1
  42. package/dist/translations/fi.umd.js +1 -1
  43. package/dist/translations/fr.js +1 -1
  44. package/dist/translations/fr.umd.js +1 -1
  45. package/dist/translations/gl.js +1 -1
  46. package/dist/translations/gl.umd.js +1 -1
  47. package/dist/translations/he.js +1 -1
  48. package/dist/translations/he.umd.js +1 -1
  49. package/dist/translations/hi.js +1 -1
  50. package/dist/translations/hi.umd.js +1 -1
  51. package/dist/translations/hr.js +1 -1
  52. package/dist/translations/hr.umd.js +1 -1
  53. package/dist/translations/hu.js +1 -1
  54. package/dist/translations/hu.umd.js +1 -1
  55. package/dist/translations/id.js +1 -1
  56. package/dist/translations/id.umd.js +1 -1
  57. package/dist/translations/it.js +1 -1
  58. package/dist/translations/it.umd.js +1 -1
  59. package/dist/translations/ja.js +1 -1
  60. package/dist/translations/ja.umd.js +1 -1
  61. package/dist/translations/jv.js +1 -1
  62. package/dist/translations/jv.umd.js +1 -1
  63. package/dist/translations/ko.js +1 -1
  64. package/dist/translations/ko.umd.js +1 -1
  65. package/dist/translations/ku.js +1 -1
  66. package/dist/translations/ku.umd.js +1 -1
  67. package/dist/translations/lt.js +1 -1
  68. package/dist/translations/lt.umd.js +1 -1
  69. package/dist/translations/lv.js +1 -1
  70. package/dist/translations/lv.umd.js +1 -1
  71. package/dist/translations/ms.js +1 -1
  72. package/dist/translations/ms.umd.js +1 -1
  73. package/dist/translations/ne.js +1 -1
  74. package/dist/translations/ne.umd.js +1 -1
  75. package/dist/translations/nl.js +1 -1
  76. package/dist/translations/nl.umd.js +1 -1
  77. package/dist/translations/no.js +1 -1
  78. package/dist/translations/no.umd.js +1 -1
  79. package/dist/translations/pl.js +1 -1
  80. package/dist/translations/pl.umd.js +1 -1
  81. package/dist/translations/pt-br.js +1 -1
  82. package/dist/translations/pt-br.umd.js +1 -1
  83. package/dist/translations/pt.js +1 -1
  84. package/dist/translations/pt.umd.js +1 -1
  85. package/dist/translations/ro.js +1 -1
  86. package/dist/translations/ro.umd.js +1 -1
  87. package/dist/translations/ru.js +1 -1
  88. package/dist/translations/ru.umd.js +1 -1
  89. package/dist/translations/sk.js +1 -1
  90. package/dist/translations/sk.umd.js +1 -1
  91. package/dist/translations/sr-latn.js +1 -1
  92. package/dist/translations/sr-latn.umd.js +1 -1
  93. package/dist/translations/sr.js +1 -1
  94. package/dist/translations/sr.umd.js +1 -1
  95. package/dist/translations/sv.js +1 -1
  96. package/dist/translations/sv.umd.js +1 -1
  97. package/dist/translations/th.js +1 -1
  98. package/dist/translations/th.umd.js +1 -1
  99. package/dist/translations/ti.js +1 -1
  100. package/dist/translations/ti.umd.js +1 -1
  101. package/dist/translations/tk.js +1 -1
  102. package/dist/translations/tk.umd.js +1 -1
  103. package/dist/translations/tr.js +1 -1
  104. package/dist/translations/tr.umd.js +1 -1
  105. package/dist/translations/tt.js +1 -1
  106. package/dist/translations/tt.umd.js +1 -1
  107. package/dist/translations/ug.js +1 -1
  108. package/dist/translations/ug.umd.js +1 -1
  109. package/dist/translations/uk.js +1 -1
  110. package/dist/translations/uk.umd.js +1 -1
  111. package/dist/translations/ur.js +1 -1
  112. package/dist/translations/ur.umd.js +1 -1
  113. package/dist/translations/vi.js +1 -1
  114. package/dist/translations/vi.umd.js +1 -1
  115. package/dist/translations/zh-cn.js +1 -1
  116. package/dist/translations/zh-cn.umd.js +1 -1
  117. package/dist/translations/zh.js +1 -1
  118. package/dist/translations/zh.umd.js +1 -1
  119. package/package.json +5 -5
  120. package/src/changeitem.js +2 -2
  121. package/src/editor/revisionviewereditor.js +2 -2
  122. package/src/editor/revisionviewereditorui.js +1 -1
  123. package/src/editor/revisionviewereditoruiview.js +1 -1
  124. package/src/index.js +1 -1
  125. package/src/revision.js +2 -2
  126. package/src/revisiondiff.js +1 -1
  127. package/src/revisionhistory.js +1 -1
  128. package/src/revisionsrepository.js +1 -1
  129. package/src/revisiontracker.js +1 -1
  130. package/src/revisionviewer.js +1 -1
  131. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  132. package/src/ui/revision/revisionauthorview.js +1 -1
  133. package/src/ui/revision/revisionnameview.js +1 -1
  134. package/src/ui/revision/revisionview.js +2 -2
  135. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  136. package/src/ui/revision/subrevisionview.js +1 -1
  137. package/src/ui/revision/utils.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  139. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  143. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  144. package/src/ui/revisionssidebar/utils.js +1 -1
  145. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  146. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  148. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  149. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x32b29e,Context as _0x3ee2bc,PendingActions as _0x359641,icons as _0x54ca32,Command as _0x2363a4,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x4ea951,uid as _0x519d4a,Collection as _0x23ac2c,logWarning as _0x439f9a,FocusTracker as _0x5385bb,KeystrokeHandler as _0x459752,scrollViewportToShowTarget as _0x2ae298,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x25e032}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5d0056,getMarkerDomElement as _0x1768d6,ConfirmMixin as _0x26c9f8,sanitizeEditorConfig as _0x2aa7aa}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x8571a6,ViewText as _0x47182f,ViewElement as _0x1d75e6,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x37e641,ViewAttributeElement as _0x109dbb,ViewEmptyElement as _0x14e55d,ViewRawElement as _0x472027,ViewUIElement as _0x19e632,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x329630,set as _0x9b23ea,unset as _0x1a8265,isEqual as _0x5970c5}from'lodash-es';import{View as _0x3aee38,injectCssTransitionDisabler as ts,submitHandler as _0x5da09e,LabeledFieldView as at,createLabeledInputText as _0x4d804a,createDropdown as _0x5c727e,ListView as te,ListItemView as _0x23201e,ButtonView as _0x5f0089,MenuBarMenuView as _0x55547f,MenuBarMenuListView as _0x23bc10,MenuBarMenuListItemView as _0x521eb4,MenuBarMenuListItemButtonView as _0x595d4f,ContextualBalloon as _0xe019b8,ToolbarSeparatorView as _0x5d1f23,IconView as _0x2c4922,addListToDropdown as _0x551b4f,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 _0x23d98f}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x4ea951(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x305b6e){super(),this['id']=_0x305b6e['id']||_0x519d4a(),this['creator']=_0x305b6e['creator']||null,this['authors']=_0x305b6e['authors']||[],this['diffData']=_0x305b6e['diffData']||null,this['toVersion']=_0x305b6e['toVersion']||0x0,this['fromVersion']=_0x305b6e['fromVersion']||0x0,this['set']('name',_0x305b6e['name']||''),this['set']('createdAt',_0x305b6e['createdAt']||new Date()),this['set']('attributes',_0x305b6e['attributes']||{});}['setName'](_0x38d5e8){this['_update']({'name':_0x38d5e8});}['setAttribute'](_0x4936f1,_0x466d4c){const _0x9ac85c=_0x329630(this['attributes']);_0x9b23ea(_0x9ac85c,_0x4936f1,_0x466d4c),this['_update']({'attributes':_0x9ac85c});}['removeAttribute'](_0x4d307){const _0x563aba=_0x329630(this['attributes']);_0x1a8265(_0x563aba,_0x4d307),this['_update']({'attributes':_0x563aba});}['_update'](_0x527189,_0x15f54c=!0x1){let _0x3e3b8c=!0x1;const _0x358ee2={'id':this['id']},_0x3011fb=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x26fdf9 of _0x3011fb){const _0x10ee73=_0x527189[_0x26fdf9];void 0x0!==_0x10ee73&&_0x10ee73!==this[_0x26fdf9]&&(this[_0x26fdf9]=_0x10ee73,_0x358ee2[_0x26fdf9]=_0x10ee73,_0x3e3b8c=!0x0);}_0x3e3b8c&&(_0x358ee2['authors']&&(_0x358ee2['authorsIds']=_0x358ee2['authors']['map'](_0x164676=>_0x164676['id']),delete _0x358ee2['authors']),this['fire']('_update',_0x358ee2,_0x15f54c));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x4ca9cf=>_0x4ca9cf['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x32b29e{['_revisions'];static get['requires'](){return[_0x5d0056];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x576f31){super(_0x576f31),this['_revisions']=new _0x23ac2c();}['afterInit'](){!function(_0x200b85){function _0x5c85b3(_0x155a7b,_0x47c35f,_0x7b8ce2){const _0x1f57db={};_0x1f57db[_0x45eac5([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x1f57db[_0x45eac5([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],_0x1f57db[_0x45eac5([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],_0x1f57db[_0x45eac5([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],_0x1f57db[_0x45eac5([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],_0x1f57db[_0x45eac5([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],_0x1f57db[_0x45eac5([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],_0x1f57db[_0x45eac5([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],_0x1f57db[_0x45eac5([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],_0x1f57db[_0x45eac5([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],_0x1f57db[_0x45eac5([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 _0x3390bc=new Uint8Array(0x10);for(let _0x55fcf0=0xf;_0x55fcf0>=0x0;--_0x55fcf0)_0x3390bc[_0x55fcf0]=_0x7b8ce2%0x100,_0x7b8ce2=parseInt(_0x7b8ce2/0x100);let _0x25da8a=null,_0xd3ff6b=0x10;const _0x17e3ee=new Uint8Array(_0x47c35f),_0x547771=[],_0x285380=[];_0x3d4070();for(let _0x1c17d5=0x0;_0x1c17d5<_0x155a7b[_0x45eac5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c17d5++)0x10===_0xd3ff6b&&(_0x25da8a=_0x25252d(_0x3390bc),_0xd3ff6b=0x0,_0x112778(_0x3390bc)),_0x155a7b[_0x1c17d5]^=_0x25da8a[_0xd3ff6b++];return _0x155a7b;function _0x69260c(_0x489adc){const _0x140173=[];for(let _0x1fd639=0x0;_0x1fd639<_0x489adc[_0x45eac5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1fd639+=0x4)_0x140173[_0x45eac5([0x70,0x75,0x73,0x68])](_0x489adc[_0x1fd639]<<0x18|_0x489adc[_0x1fd639+0x1]<<0x10|_0x489adc[_0x1fd639+0x2]<<0x8|_0x489adc[_0x1fd639+0x3]);return _0x140173;}function _0x112778(_0x3f04cb){for(let _0x5e504a=0xf;_0x5e504a>=0x0;_0x5e504a--){if(0xff!==_0x3f04cb[_0x5e504a]){_0x3f04cb[_0x5e504a]++;break;}_0x3f04cb[_0x5e504a]=0x0;}}function _0x25252d(_0x131028){const _0xbce86e=_0x547771[_0x45eac5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x4a7154=[0x0,0x0,0x0,0x0];let t=_0x69260c(_0x131028);for(let _0x5ca2b1=0x0;_0x5ca2b1<0x4;_0x5ca2b1++)t[_0x5ca2b1]^=_0x547771[0x0][_0x5ca2b1];for(let _0x54e555=0x1;_0x54e555<_0xbce86e;_0x54e555++){for(let _0x2356bd=0x0;_0x2356bd<0x4;_0x2356bd++)_0x4a7154[_0x2356bd]=_0x1f57db[_0x45eac5([0x54,0x31])][t[_0x2356bd]>>0x18&0xff]^_0x1f57db[_0x45eac5([0x54,0x32])][t[(_0x2356bd+0x1)%0x4]>>0x10&0xff]^_0x1f57db[_0x45eac5([0x54,0x33])][t[(_0x2356bd+0x2)%0x4]>>0x8&0xff]^_0x1f57db[_0x45eac5([0x54,0x34])][0xff&t[(_0x2356bd+0x3)%0x4]]^_0x547771[_0x54e555][_0x2356bd];t=_0x4a7154[_0x45eac5([0x73,0x6c,0x69,0x63,0x65])]();}const _0x4b1227=new Uint8Array(0x10);let _0x3d2363;for(let _0x4a923f=0x0;_0x4a923f<0x4;_0x4a923f++)_0x3d2363=_0x547771[_0xbce86e][_0x4a923f],_0x4b1227[0x4*_0x4a923f]=0xff&(_0x1f57db[_0x45eac5([0x53])][t[_0x4a923f]>>0x18&0xff]^_0x3d2363>>0x18),_0x4b1227[0x4*_0x4a923f+0x1]=0xff&(_0x1f57db[_0x45eac5([0x53])][t[(_0x4a923f+0x1)%0x4]>>0x10&0xff]^_0x3d2363>>0x10),_0x4b1227[0x4*_0x4a923f+0x2]=0xff&(_0x1f57db[_0x45eac5([0x53])][t[(_0x4a923f+0x2)%0x4]>>0x8&0xff]^_0x3d2363>>0x8),_0x4b1227[0x4*_0x4a923f+0x3]=0xff&(_0x1f57db[_0x45eac5([0x53])][0xff&t[(_0x4a923f+0x3)%0x4]]^_0x3d2363);return _0x4b1227;}function _0x3d4070(){const _0x384e0d=_0x1f57db[_0x45eac5([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x17e3ee[_0x45eac5([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x29fa8e=0x0;_0x29fa8e<=_0x384e0d;_0x29fa8e++)_0x547771[_0x45eac5([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x285380[_0x45eac5([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2fcaf5=0x4*(_0x384e0d+0x1),_0x3ac129=_0x17e3ee[_0x45eac5([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x19ea0b=_0x69260c(_0x17e3ee);let _0x59eb90;for(let _0x1cca91=0x0;_0x1cca91<_0x3ac129;_0x1cca91++)_0x59eb90=_0x1cca91>>0x2,_0x547771[_0x59eb90][_0x1cca91%0x4]=_0x19ea0b[_0x1cca91],_0x285380[_0x384e0d-_0x59eb90][_0x1cca91%0x4]=_0x19ea0b[_0x1cca91];let _0x361a25,_0x364662=0x0,t=_0x3ac129;for(;t<_0x2fcaf5;){_0x361a25=_0x19ea0b[_0x3ac129-0x1],_0x19ea0b[0x0]^=_0x1f57db[_0x45eac5([0x53])][_0x361a25>>0x10&0xff]<<0x18^_0x1f57db[_0x45eac5([0x53])][_0x361a25>>0x8&0xff]<<0x10^_0x1f57db[_0x45eac5([0x53])][0xff&_0x361a25]<<0x8^_0x1f57db[_0x45eac5([0x53])][_0x361a25>>0x18&0xff]^_0x1f57db[_0x45eac5([0x72,0x63,0x6f,0x6e])][_0x364662]<<0x18,_0x364662+=0x1;for(let _0x1dc776=0x1;_0x1dc776<_0x3ac129/0x2;_0x1dc776++)_0x19ea0b[_0x1dc776]^=_0x19ea0b[_0x1dc776-0x1];_0x361a25=_0x19ea0b[_0x3ac129/0x2-0x1],_0x19ea0b[_0x3ac129/0x2]^=_0x1f57db[_0x45eac5([0x53])][0xff&_0x361a25]^_0x1f57db[_0x45eac5([0x53])][_0x361a25>>0x8&0xff]<<0x8^_0x1f57db[_0x45eac5([0x53])][_0x361a25>>0x10&0xff]<<0x10^_0x1f57db[_0x45eac5([0x53])][_0x361a25>>0x18&0xff]<<0x18;for(let _0x4be429=_0x3ac129/0x2+0x1;_0x4be429<_0x3ac129;_0x4be429++)_0x19ea0b[_0x4be429]^=_0x19ea0b[_0x4be429-0x1];let _0x4b73d8,_0x565fc8,_0x4b30c9=0x0;for(;_0x4b30c9<_0x3ac129&&t<_0x2fcaf5;)_0x4b73d8=t>>0x2,_0x565fc8=t%0x4,_0x547771[_0x4b73d8][_0x565fc8]=_0x19ea0b[_0x4b30c9],_0x285380[_0x384e0d-_0x4b73d8][_0x565fc8]=_0x19ea0b[_0x4b30c9++],t++;}for(let _0x31e143=0x1;_0x31e143<_0x384e0d;_0x31e143++)for(let _0x245b5e=0x0;_0x245b5e<0x4;_0x245b5e++)_0x361a25=_0x285380[_0x31e143][_0x245b5e],_0x285380[_0x31e143][_0x245b5e]=_0x1f57db[_0x45eac5([0x55,0x31])][_0x361a25>>0x18&0xff]^_0x1f57db[_0x45eac5([0x55,0x32])][_0x361a25>>0x10&0xff]^_0x1f57db[_0x45eac5([0x55,0x33])][_0x361a25>>0x8&0xff]^_0x1f57db[_0x45eac5([0x55,0x34])][0xff&_0x361a25];}}function _0x45eac5(_0x14d0e6){return _0x14d0e6['map'](_0x1ad642=>String['fromCharCode'](_0x1ad642))['join']('');}(_0x3c97df=>{function _0x218fd4(){const _0xb61eba=[{[_0x45eac5([0x69,0x64])]:0x1,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x45eac5([0x69,0x64])]:0x2,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([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]),[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x45eac5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x45eac5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x45eac5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x45eac5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x45eac5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x45eac5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x45eac5([0x69,0x64])]:0x3,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x45eac5([0x69,0x64])]:0x4,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([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]),[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x45eac5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x45eac5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x45eac5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x45eac5([0x69,0x64])]:0x5,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([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]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x45eac5([0x66,0x67,0x69])]:[0xc]}},{[_0x45eac5([0x69,0x64])]:0x6,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x45eac5([0x66,0x67,0x69])]:[0xc]}},{[_0x45eac5([0x69,0x64])]:0x7,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x45eac5([0x66,0x67,0x69])]:[0xc]}},{[_0x45eac5([0x69,0x64])]:0x8,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([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]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x45eac5([0x66,0x67,0x69])]:[0xc]}},{[_0x45eac5([0x69,0x64])]:0x9,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x45eac5([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x45eac5([0x69,0x64])]:0xa,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([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]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([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]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([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]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x45eac5([0x66,0x67,0x69])]:[0xc]}},{[_0x45eac5([0x69,0x64])]:0xb,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x45eac5([0x69,0x64])]:0xc,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x45eac5([0x69,0x64])]:0xd,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x45eac5([0x66,0x67,0x69])]:[0xc]}},{[_0x45eac5([0x69,0x64])]:0xe,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x45eac5([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([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])},{[_0x45eac5([0x69,0x64])]:0xf,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x45eac5([0x69,0x64])]:0x10,[_0x45eac5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x45eac5([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x45eac5([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x45eac5([0x66,0x67,0x69])]:[0xc]}}];return _0x484f7b(_0xb61eba),_0xb61eba;function _0x4ac82d(_0x36f61f){return 0x1<<_0x36f61f-0x1;}function _0x484f7b(_0x50b086){_0x50b086[_0x45eac5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36c8d1=>{_0x36c8d1[_0x45eac5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4ac82d(_0x36c8d1[_0x45eac5([0x69,0x64])]),_0x56d9f4(_0x36c8d1)&&_0x36c8d1[_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x484f7b(_0x36c8d1[_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x56d9f4(_0x53d848){return _0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x53d848;}const _0x2deafe=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x173496=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4f684(_0x2e242a){const _0x13048f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0xfaca76(_0x2e242a,new Uint8Array([..._0x2deafe,..._0x13048f,..._0x173496]));}function _0xfaca76(_0xab0af8,_0x1ac2ec){const _0x2838b6=_0x3d0a38(_0xab0af8),_0x16b71b=Array[_0x45eac5([0x66,0x72,0x6f,0x6d])](_0x3ea700(_0x2838b6)),_0x428b94=_0x16b71b[_0x45eac5([0x70,0x6f,0x70])](),_0x16a3af=_0x16b71b[_0x45eac5([0x70,0x6f,0x70])]();return _0x211c68(_0x5c85b3(_0x16b71b,_0x1ac2ec,_0x16a3af+0x100*_0x428b94));}function _0x3d0a38(_0x5f5355){const _0x4c0fd8=atob(_0x5f5355),[_0x472dac,_0x247d20]=_0x4c0fd8[_0x45eac5([0x73,0x70,0x6c,0x69,0x74])](_0x45eac5([0x2d]));try{if(atob(_0x247d20))return atob(_0x472dac);}catch(_0x262445){}return _0x4c0fd8;}function _0x335a83(_0x1271bc){try{const _0x3450c8=_0x4f684(_0x1271bc),_0xf64149=JSON[_0x45eac5([0x70,0x61,0x72,0x73,0x65])](_0x3450c8),_0x3699b8=parseInt(_0xf64149[_0x45eac5([0x31])]),_0x98b192=_0xf64149[_0x45eac5([0x32])]||'',_0xab26a4=parseInt(_0xf64149[_0x45eac5([0x33])]),_0x50d7a7=parseInt(_0xf64149[_0x45eac5([0x34])])||0x0,_0x340752=parseInt(_0xf64149[_0x45eac5([0x35])])||0x0;return{[_0x45eac5([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x98b192,[_0x45eac5([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x50d7a7,[_0x45eac5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3699b8,[_0x45eac5([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xab26a4,[_0x45eac5([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x340752};}catch(_0x205848){return null;}}const _0xa65e19=_0x218fd4(),_0x5385ca={[_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x392fa5,[_0x45eac5([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])]:_0x19a6d5,[_0x45eac5([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])]:_0x3ae0ac},_0x3e4511=_0x3c97df[_0x45eac5([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x54e64d=_0x45eac5([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3c97df?_0x3c97df['context']:_0x3c97df['editor'],_0x137f77=_0x45eac5([0x34,0x30,0x34,0x38,0x31,0x30,0x34,0x32]),_0x3bc7d2=_0x45eac5([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]),_0x310fdc=_0x54e64d['config']['get'](_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4b6eea=_0xa65e19[_0x45eac5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56d9f4)[_0x45eac5([0x66,0x69,0x6e,0x64])](_0xbba3f6=>_0xbba3f6[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3e4511);function _0x3131bc(_0x18573c,_0x20a3fd){_0x5385ca[_0x20a3fd[_0x45eac5([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x18573c,_0x20a3fd),_0x20a3fd[_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x20a3fd[_0x45eac5([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x45eac5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x211597=>_0x882156(_0x54e64d,_0x211597[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x45eac5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57562d=>_0x3131bc(_0x18573c,_0x57562d));}function _0x392fa5(_0x1ae9ad,_0x1654ea){_0x126789(_0x5b2fea(_0x1ae9ad,_0x1654ea),_0x1654ea);}function _0x19a6d5(_0xbd082f,_0x2dc85d){function _0x14da7e(_0x3c6db8,_0x203f06){try{if(_0x882156(_0x54e64d,_0x45eac5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3c6db8){const _0x430aaa=_0x9b43ef(_0x54e64d,_0x45eac5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x45eac5([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x430aaa)/0x2>_0x3c6db8[_0x45eac5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1936dd(_0x203f06[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x5b2fea(_0x3c6db8,_0x203f06);}catch(_0x45f2c3){return _0x1936dd(_0x203f06[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x126789(_0x14da7e(_0xbd082f,_0x2dc85d),_0x2dc85d);}function _0x3ae0ac(_0x2806bf,_0x370379){const _0x49b4ab=_0x173496[0x0]*_0x2deafe[0x1],_0x5df145=_0x173496[0x0]*_0x2deafe[0x2],_0x5a7e8e=_0x173496[0x2]*_0x2deafe[0x2];_0x882156(_0x54e64d,_0x45eac5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x9b43ef(_0x54e64d,_0x45eac5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x45eac5([0x73,0x74,0x61,0x74,0x65])]==_0x45eac5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x291139()]=_0x5a7e8e);function _0x5c10df(_0x12b4fa,_0x21f512){try{return _0x1c999e()?_0x1936dd(_0x21f512[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x56,0x61,0x6c,0x69,0x64])):_0x5b2fea(_0x12b4fa,_0x21f512);}catch(_0x49dcf2){return _0x1936dd(_0x21f512[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x44fa6d(_0x54466e,_0x320da3){const _0x33bfaa=0x7;if(_0x54466e==_0x320da3[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1d3300();else{if(_0x54466e==_0x320da3[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x54,0x72,0x69,0x61,0x6c])){const _0x4a7f36=_0x3b59ce();_0x4a7f36&&_0x2d8ec7(_0x4a7f36,_0x320da3[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x12418f=_0x28b0d0();window[_0x45eac5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2d8ec7(_0x45eac5([0x74,0x69,0x6d,0x65]),_0x320da3[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x12418f);const _0x5b48bb=_0x9b43ef(_0x54e64d,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x45eac5([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x5b48bb[_0x45eac5([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x33bfaa?_0x2d8ec7(_0x45eac5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x320da3[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x5b48bb['on'](_0x45eac5([0x61,0x64,0x64]),()=>{_0x5b48bb[_0x45eac5([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x33bfaa&&_0x2d8ec7(_0x45eac5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x320da3[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x3b59ce(){if(!_0x882156(_0x54e64d,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x52532e in window)if(Number['isNaN'](Number(_0x52532e))){if(window[_0x52532e]===_0x49b4ab)return _0x45eac5([0x74,0x69,0x6d,0x65]);if(window[_0x52532e]===_0x5df145)return _0x45eac5([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x1c999e(){if(!_0x882156(_0x54e64d,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3d7532 in window)if(Number['isNaN'](Number(_0x3d7532))&&window[_0x3d7532]===_0x5a7e8e)return!0x0;return!0x1;}function _0x2d8ec7(_0x4a8c86,_0x231ed2){_0x1d3300(),_0x1936dd(_0x231ed2+_0x45eac5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x4a8c86),window[_0x291139()]=_0x4a8c86===_0x45eac5([0x74,0x69,0x6d,0x65])?_0x49b4ab:_0x5df145;}function _0x28b0d0(){let _0x3c68ea=_0x173496[0x6]*_0x2deafe[0x8]*_0x2deafe[0x6];return _0x882156(_0x54e64d,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3c68ea/=0xa),_0x3c68ea;}function _0x1d3300(){const _0x46c4b8=_0x54e64d;function _0x2db421(){_0x882156(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x9b43ef(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x45eac5([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x45eac5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x9b43ef(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x45eac5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x9b43ef(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x45eac5([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x43cb42,_0x9b43ef(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x45eac5([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x43cb42,_0x46c4b8[_0x45eac5([0x6d,0x6f,0x64,0x65,0x6c])][_0x45eac5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43cb42,_0x46c4b8[_0x45eac5([0x6d,0x6f,0x64,0x65,0x6c])][_0x45eac5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43cb42,_0x46c4b8[_0x45eac5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45eac5([0x6d,0x6f,0x64,0x65,0x6c]))),_0x882156(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x9b43ef(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x45eac5([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x45eac5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x9b43ef(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x45eac5([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x9b43ef(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x45eac5([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x43cb42,_0x9b43ef(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x45eac5([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x43cb42);}_0x46c4b8[_0x45eac5([0x73,0x74,0x61,0x74,0x65])]==_0x45eac5([0x72,0x65,0x61,0x64,0x79])?_0x2db421():_0x46c4b8[_0x45eac5([0x6f,0x6e,0x63,0x65])](_0x45eac5([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x882156(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x2db421(),_0x882156(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x36f507=_0x9b43ef(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x991770=_0x36f507['getRevision'](0x0),_0x3aff04=_0x36f507['getEarlierVisibleRevision'](_0x991770[_0x45eac5([0x69,0x64])]);_0x9b43ef(_0x46c4b8,_0x45eac5([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x45eac5([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x991770[_0x45eac5([0x69,0x64])],_0x3aff04?_0x3aff04[_0x45eac5([0x69,0x64])]:null,0x1)['then'](()=>_0x2db421());}});}_0x44fa6d(_0x5c10df(_0x2806bf,_0x370379),_0x370379);}function _0x5b2fea(_0x486132,_0x51d52a){try{return _0xba05f5(_0x51d52a)?_0x1936dd(_0x51d52a[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x56,0x61,0x6c,0x69,0x64])):_0x486132&&_0x334def(_0x486132[_0x45eac5([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x51d52a)?_0x486132[_0x45eac5([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x45eac5([0x6f,0x70,0x65,0x6e])][_0x45eac5([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x137f77)/0x2>_0x486132[_0x45eac5([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1936dd(_0x51d52a[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x486132[_0x45eac5([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1936dd(_0x51d52a[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x54,0x72,0x69,0x61,0x6c])):_0x1936dd(_0x51d52a[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x56,0x61,0x6c,0x69,0x64])):_0x1936dd(_0x51d52a[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x286ade){return _0x1936dd(_0x51d52a[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x126789(_0x3bef19,_0x160caa){if(_0x54e64d instanceof _0x3ee2bc){const _0x56d5ef=_0x54e64d;_0x3bef19==_0x160caa[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x501cba(_0x56d5ef):_0x3bef19==_0x160caa[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x54,0x72,0x69,0x61,0x6c])&&window[_0x45eac5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x501cba(_0x56d5ef),_0x1936dd(_0x160caa[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x173496[0x6]*_0x2deafe[0x8]*_0x2deafe[0x6]),_0x56d5ef[_0x45eac5([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x45eac5([0x6f,0x6e])](_0x45eac5([0x61,0x64,0x64]),(_0x5dc608,_0x14a3f3)=>{_0x3bef19!=_0x160caa[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3bef19!=_0x160caa[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3bef19!=_0x160caa[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x32bfcd(_0x14a3f3);});}else{const _0x595d0e=_0x54e64d;_0x3bef19==_0x160caa[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x32bfcd(_0x595d0e):_0x3bef19==_0x160caa[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x54,0x72,0x69,0x61,0x6c])&&_0x595d0e[_0x45eac5([0x6f,0x6e])](_0x45eac5([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x5df5d9=0x0;_0x595d0e[_0x45eac5([0x6d,0x6f,0x64,0x65,0x6c])][_0x45eac5([0x6f,0x6e])](_0x45eac5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x22e129,_0x31d175)=>{_0x31d175[0x0][_0x45eac5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5df5d9++,0x1f8===_0x5df5d9&&(_0x32bfcd(_0x595d0e),_0x1936dd(_0x160caa[_0x45eac5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x45eac5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x22e129[_0x45eac5([0x6f,0x66,0x66])]());},{'priority':_0x45eac5([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1936dd(_0x371224){const _0x4f6835=_0x291139();return _0x54e64d[_0x4f6835]=_0x371224,_0x371224;}function _0x291139(){const _0x57de7c=String(window[_0x45eac5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45eac5([0x6e,0x6f,0x77])]())[_0x45eac5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45eac5([0x2e]),'');let _0xe4ded2='';for(let _0x43efce=0x0;_0x43efce<_0x57de7c[_0x45eac5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43efce+=0x2){let _0x4214ac=parseInt(_0x57de7c[_0x45eac5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43efce,_0x43efce+0x2));_0x4214ac>=_0x3bc7d2[_0x45eac5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4214ac-=_0x3bc7d2[_0x45eac5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe4ded2+=_0x3bc7d2[_0x4214ac];}return _0xe4ded2;}function _0x501cba(_0x407aae){for(const _0x1ee861 of _0x407aae[_0x45eac5([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x32bfcd(_0x1ee861);_0x9b43ef(_0x407aae,_0x45eac5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x45eac5([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x9b43ef(_0x407aae,_0x45eac5([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x45eac5([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x43cb42;}function _0x32bfcd(_0x427660){function _0x337ee8(){_0x427660[_0x45eac5([0x6d,0x6f,0x64,0x65,0x6c])][_0x45eac5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43cb42,_0x427660[_0x45eac5([0x6d,0x6f,0x64,0x65,0x6c])][_0x45eac5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43cb42,_0x427660[_0x45eac5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45eac5([0x6d,0x6f,0x64,0x65,0x6c]));}_0x427660[_0x45eac5([0x73,0x74,0x61,0x74,0x65])]==_0x45eac5([0x72,0x65,0x61,0x64,0x79])?_0x337ee8():_0x427660[_0x45eac5([0x6f,0x6e,0x63,0x65])](_0x45eac5([0x72,0x65,0x61,0x64,0x79]),()=>_0x337ee8());}function _0x43cb42(){return null;}function _0x334def(_0x4f2d2e,_0x43d4a0){const _0x593d92=!!(_0x4f2d2e&_0x43d4a0[_0x45eac5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2df675=_0x2c3e0b(_0x4f2d2e,_0x43d4a0);return _0x593d92||_0x2df675;}function _0x2c3e0b(_0x4184f8,_0x8a1c03){const _0x39c737=(_0x8a1c03[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x45eac5([0x66,0x67,0x69])]||null;return!!_0x39c737&&_0xa65e19[_0x45eac5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12e69d=>_0x39c737[_0x45eac5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x12e69d[_0x45eac5([0x69,0x64])]))[_0x45eac5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2cef4e=>!_0x55f3fa(_0x2cef4e))[_0x45eac5([0x73,0x6f,0x6d,0x65])](_0xfe061c=>!!(_0x4184f8&_0xfe061c[_0x45eac5([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x55f3fa(_0x157547){const _0x345820={[_0x45eac5([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])]:_0x1e24ee};return!!_0x157547['forbiddenHandler']&&_0x345820[_0x157547['forbiddenHandler']]();}function _0x1e24ee(){return!window[_0x45eac5([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x882156(_0x54e64d,_0x45eac5([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0xba05f5(_0x3b7d58){if(!_0x882156(_0x54e64d,_0x3b7d58[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0xcb4f09=_0x3b7d58[_0x45eac5([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xef90da=_0xcb4f09[_0x45eac5([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x296c48=_0xcb4f09[_0x45eac5([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x504a69=_0xcb4f09[_0x45eac5([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x882156(_0x54e64d,_0x45eac5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x9b43ef(_0x54e64d,_0x45eac5([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x45eac5([0x73,0x74,0x61,0x74,0x65])]==_0x45eac5([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xef90da)return!0x0;if(_0x882156(_0x54e64d,_0x45eac5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x9b43ef(_0x54e64d,_0x45eac5([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x45eac5([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x45eac5([0x65,0x6e,0x64])&&_0x296c48)return!0x0;return!(!_0x882156(_0x54e64d,_0x45eac5([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]))||_0x9b43ef(_0x54e64d,_0x45eac5([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]))[_0x45eac5([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x45eac5([0x65,0x6e,0x64])||!_0x504a69);}function _0x882156(_0x4b1f41,_0x1e29bf){return _0x4b1f41[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x45eac5([0x68,0x61,0x73])](_0x1e29bf);}function _0x9b43ef(_0xbb4d9,_0x157f4b){return _0xbb4d9[_0x45eac5([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x45eac5([0x67,0x65,0x74])](_0x157f4b);}function _0x211c68(_0x100f4e){let _0x4f604a='';for(const _0x1e0fff of _0x100f4e)_0x4f604a+=String[_0x45eac5([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1e0fff);return _0x4f604a;}function _0x3ea700(_0x2605f5){const _0x3c51bb=new Uint8Array(_0x2605f5[_0x45eac5([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x4408e7=0x0;_0x4408e7<_0x2605f5[_0x45eac5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4408e7++)_0x3c51bb[_0x4408e7]=_0x2605f5[_0x45eac5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4408e7);return _0x3c51bb;}_0x4b6eea&&_0x3131bc(_0x335a83(_0x310fdc),_0x4b6eea);})(_0x200b85);}(this);}['createRevision'](_0x212cc9){const _0xc2de91=this['editor']['plugins']['get']('Users');return new a({'id':_0x212cc9['id'],'name':_0x212cc9['name'],'creator':_0x212cc9['creatorId']?_0xc2de91['getUser'](_0x212cc9['creatorId']):null,'diffData':_0x212cc9['diffData']||_0x212cc9['data'],'authors':_0x212cc9['authorsIds']['map'](_0x38eebd=>_0xc2de91['getUser'](_0x38eebd)),'createdAt':new Date(_0x212cc9['createdAt']),'attributes':_0x212cc9['attributes'],'fromVersion':_0x212cc9['fromVersion'],'toVersion':_0x212cc9['toVersion']});}['addRevision'](_0x4fba9c,_0x2b826c=0x0){this['_revisions']['add'](_0x4fba9c,_0x2b826c);}['getRevision'](_0x4f2778){return this['_revisions']['get'](_0x4f2778);}['getRevisions'](_0x1e69cc={'toJSON':!0x1}){const _0x31ee7d=Array['from'](this['_revisions']);return _0x31ee7d['reverse'](),_0x1e69cc['toJSON']?_0x31ee7d['map'](_0x1fbb36=>_0x1fbb36['toJSON']()):_0x31ee7d;}['getIndex'](_0x150e06){return this['_revisions']['getIndex'](_0x150e06);}['getEarlierVisibleRevision'](_0x3a02d8){const [,_0x11216f]=this['getRevisionsIterator'](_0x3a02d8,{'direction':'earlier'});return _0x11216f;}['getLaterVisibleRevision'](_0x36bf12){const [,_0x28b534]=this['getRevisionsIterator'](_0x36bf12,{'direction':'later'});return _0x28b534;}['getRevisionsInDiff'](_0x5e3da3){const _0x5dd5a8=[];for(const _0x8be86 of this['getRevisionsIterator'](_0x5e3da3['newRevisionId']))if(_0x5dd5a8['push'](_0x8be86),_0x8be86['id']===_0x5e3da3['oldRevisionId'])break;return _0x5dd5a8;}*['getRevisionsIterator'](_0x3d07d6,{direction:_0x1d2269='earlier',filter:_0x4ca10c=_0x2534d6=>!0x0}={}){const _0x24af4e='earlier'===_0x1d2269?0x1:-0x1;let _0x19dd7a=this['_revisions']['get'](_0x3d07d6),_0x582566=this['getIndex'](_0x19dd7a);for(yield _0x19dd7a;_0x19dd7a;){if(_0x582566+=_0x24af4e,_0x19dd7a=this['getRevision'](_0x582566),!_0x19dd7a)return;_0x4ca10c(_0x19dd7a)&&(yield _0x19dd7a);}}}function y(_0x57a60d,_0x5de754,_0x351226){const t=_0x57a60d['t'];switch(_0x5de754){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'},_0x351226);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x351226);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':_0x37e641,'a':_0x109dbb,'e':_0x14e55d,'r':_0x472027,'u':_0x19e632};class l extends _0x32b29e{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5d0056,A,_0x359641];}constructor(_0x23e104){super(_0x23e104),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 _0x298cfc=_0x519d4a();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x298cfc},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 _0x1d6f7b=this['repository']['getRevision'](0x0),_0x10bbe6=_0x1d6f7b&&null===_0x1d6f7b['creator']?_0x1d6f7b:null;if(this['_continueCurrentRevision']=!!_0x10bbe6&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2bcfe2=this['_source']['getCurrentRevisionId'](),_0x19a6a4=this['repository']['getRevision'](_0x2bcfe2);if(_0x19a6a4)this['_startingVersion']=_0x19a6a4['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x42e9eb=this['_source']['history']['_operations']['find'](_0x406804=>!_0x406804['_isInit']),_0x37d194=_0x42e9eb?_0x42e9eb['baseVersion']:this['_source']['history']['version'];_0x1d6f7b?(_0x1d6f7b['toVersion']<_0x37d194&&_0x1d6f7b['_update']({'toVersion':_0x37d194}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x10bbe6['id'],this['_startingVersion']=_0x10bbe6['fromVersion']):(this['_startingVersion']=_0x1d6f7b['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x37d194,this['_continueCurrentRevision']=!0x1);}}else _0x10bbe6&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x10bbe6['toVersion'],this['editor']['model']['document']['history']['version']),_0x10bbe6['fromVersion']===_0x10bbe6['toVersion']?(0x0!==_0x10bbe6['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x10bbe6['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x10bbe6['id'],this['_startingVersion']=_0x10bbe6['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',_0x41fff8=>!_0x41fff8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x271acc=this['repository']['getRevision'](0x0),_0x5b77d2=await this['getRevisionDocumentData'](_0x271acc),_0x25a5da=await this['getRevisionRootsAttributes'](_0x271acc);this['_replaceEditorDataWithRevisionData'](_0x5b77d2,_0x25a5da);}}['setSource'](_0x1f0201){this['_source']=_0x1f0201;}async['update'](){const _0x139bed=await this['_source']['getLatestVersion']();if(_0x139bed>this['currentRevision']['toVersion']){await this['_loadState']();const _0x473954=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x139bed});_0x473954['authors']=_0x473954['authorsIds']['map'](_0x4a9ab8=>this['editor']['plugins']['get']('Users')['getUser'](_0x4a9ab8)),this['currentRevision']['_update'](_0x473954);}}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'](_0x7e4747={},_0x79cf15=null){const _0x15b6b8=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x79cf15>this['currentRevision']['toVersion']&&(_0x79cf15=null),null===_0x79cf15&&(_0x79cf15=await this['_source']['getLatestVersion']());const _0x1347e0=this['_getFromVersion'](_0x79cf15),_0x92473d=this['buildRevisionData']({'from':_0x1347e0,'to':_0x79cf15});if(this['currentRevision']['toVersion']<_0x79cf15){const _0x24246d=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x79cf15,'to':_0x79cf15});_0x24246d['authors']=[],_0x24246d['authorsIds']=[],_0x24246d['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x24246d,!0x0),delete _0x24246d['authors'],_0x15b6b8['push'](_0x24246d);}_0x7e4747['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x7e4747['name']=_0x7e4747['name']||null,_0x7e4747['id']=_0x7e4747['id']||_0x519d4a(),_0x7e4747={..._0x7e4747,..._0x92473d};const _0x4fc81a=this['addRevisionData'](_0x7e4747);_0x15b6b8['push'](_0x7e4747);const _0x406971=this['repository']['getIndex'](_0x4fc81a);if(0x0!==_0x406971){const _0x238b6a=this['repository']['getRevision'](_0x406971-0x1);if(_0x238b6a['fromVersion']!==_0x79cf15){const _0x11356e=this['_revisionDataBuilder']['getData'](_0x79cf15,_0x238b6a['toVersion']),_0x58ce5e={'id':_0x238b6a['id'],'diffData':_0x11356e['diffData'],'authorsIds':_0x11356e['authorsIds'],'authors':_0x11356e['authorsIds']['map'](_0x1cafa0=>this['editor']['plugins']['get']('Users')['getUser'](_0x1cafa0)),'fromVersion':_0x79cf15};_0x238b6a===this['currentRevision']&&(_0x58ce5e['createdAt']=new Date(_0x7e4747['createdAt']['getTime']()+0xa)),_0x238b6a['_update'](_0x58ce5e,!0x0),delete _0x58ce5e['authors'],_0x15b6b8['push'](_0x58ce5e);}}if(this['adapter']){for(const _0x223b46 of _0x15b6b8)this['_bufferUpdate'](_0x223b46['id'],_0x223b46,!0x0);this['sendBufferedUpdates']();}return _0x4fc81a;}['addRevisionData'](_0x4454a8){const _0x16b80f=this['repository']['createRevision'](_0x4454a8);return this['adapter']&&_0x16b80f['on']('_update',(_0x164450,_0x253be3,_0x51fb14)=>{_0x51fb14||(this['_bufferUpdate'](_0x253be3['id'],_0x253be3,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x16b80f,this['_findInsertionIndex'](_0x16b80f)),_0x16b80f;}async['getRevisionDocumentData'](_0x1a2502){await this['_loadRevisionData'](_0x1a2502);const _0x2dbd93={};for(const _0x10cee2 in _0x1a2502['diffData']){if(_0x1a2502['diffData'][_0x10cee2]['attachChange']&&!_0x1a2502['diffData'][_0x10cee2]['attachChange']['isAttached'])continue;const _0x1fdc30=this['_removeRevisionMarkers'](JSON['parse'](_0x1a2502['diffData'][_0x10cee2]['insertions'])),_0x2c4642=this['editor']['editing']['view']['document'],_0x15ecd2=new _0x8571a6(_0x2c4642,_0x1fdc30['map'](_0xe4a688=>B(_0xe4a688,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2dbd93[_0x10cee2]=this['editor']['data']['processor']['toData'](_0x15ecd2),this['editor']['data']['processor']['useFillerType']('default');}return _0x2dbd93;}async['getRevisionRootsAttributes'](_0x5244c2){await this['_loadRevisionData'](_0x5244c2);const _0x47dabe={};for(const _0x36f4f2 in _0x5244c2['diffData'])_0x5244c2['diffData'][_0x36f4f2]['attachChange']&&!_0x5244c2['diffData'][_0x36f4f2]['attachChange']['isAttached']||(_0x47dabe[_0x36f4f2]=_0x5244c2['diffData'][_0x36f4f2]['attributesAfter']||{});return _0x47dabe;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x2feb2c=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x81d13a=0x0;_0x81d13a<_0x2feb2c['length'];_0x81d13a++){const _0x1dd7c8=_0x2feb2c[_0x81d13a];let _0x3a3716=!0x1;for(const _0x24c55e of Object['keys'](_0x1dd7c8))void 0x0===_0x1dd7c8[_0x24c55e]?delete _0x1dd7c8[_0x24c55e]:'id'!==_0x24c55e&&(_0x3a3716=!0x0);_0x3a3716||(_0x2feb2c[_0x81d13a]=null);}if(_0x2feb2c=_0x2feb2c['filter'](_0x3dfa2e=>null!==_0x3dfa2e),!_0x2feb2c['length'])return;for(let _0x7f9912=0x0;_0x7f9912<_0x2feb2c['length'];_0x7f9912++){const _0xd314d6=_0x2feb2c[_0x7f9912];void 0x0!==_0xd314d6['fromVersion']&&void 0x0===_0xd314d6['toVersion']&&(_0xd314d6['toVersion']=this['repository']['getRevision'](_0xd314d6['id'])['toVersion']),void 0x0!==_0xd314d6['toVersion']&&void 0x0===_0xd314d6['fromVersion']&&(_0xd314d6['fromVersion']=this['repository']['getRevision'](_0xd314d6['id'])['fromVersion']);}const _0x27467f=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x2feb2c,_0x27467f)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x84ea43=>{if(_0x84ea43){for(const _0x16b610 of _0x84ea43)this['setRevisionData']({'id':_0x16b610['id'],'createdAt':_0x16b610['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x336d13,_0x1ce288){let _0x5d5279=this['editor']['config']['get']('initialData'),_0x3a4bf0=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x5d5279){_0x5d5279={};for(const _0x26c499 of this['editor']['model']['document']['getRootNames']())_0x5d5279[_0x26c499]='';}if('string'==typeof _0x5d5279&&(_0x5d5279={'main':_0x5d5279}),void 0x0===_0x3a4bf0){_0x3a4bf0={};for(const _0x4079bc of this['editor']['model']['document']['getRootNames']())_0x3a4bf0[_0x4079bc]={};}let _0x4fd3ee=!0x1;const _0x4a9d0f=Object['keys'](_0x5d5279),_0xde56bf=Object['keys'](_0x336d13);for(const _0x3ffeff of _0x4a9d0f){if(_0x5d5279[_0x3ffeff]!==_0x336d13[_0x3ffeff]&&''!==_0x5d5279[_0x3ffeff]['trim']()){_0x4fd3ee=!0x0;break;}if(!_0x5970c5(_0x3a4bf0[_0x3ffeff],_0x1ce288[_0x3ffeff])&&Object['keys'](_0x3a4bf0[_0x3ffeff])['length']>0x0){_0x4fd3ee=!0x0;break;}}_0x4fd3ee||(_0x4fd3ee=_0xde56bf['some'](_0xb6bd7d=>!this['editor']['model']['document']['getRoot'](_0xb6bd7d))),_0x4fd3ee&&_0x439f9a('editor-initial-data-replaced-with-revision-data',{'editorData':_0x5d5279,'editorRootsAttributes':_0x3a4bf0,'revisionData':_0x336d13,'revisionRootsAttributes':_0x1ce288}),this['editor']['config']['set']('initialData',_0x336d13),this['editor']['config']['set']('rootsAttributes',_0x1ce288);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x46ba95=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x46ba95['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x16b8be){const _0x5538fb=this['repository']['getRevisions']();_0x5538fb['reverse']();let _0x28eae9=0x0;for(;_0x28eae9<_0x5538fb['length'];){const _0x2917e4=_0x5538fb[_0x28eae9];if(_0x2917e4===this['currentRevision']){_0x28eae9++;continue;}if(_0x2917e4['id']===this['_initialRevisionId'])break;const _0x4fc00f=_0x16b8be['toVersion']-_0x2917e4['toVersion']||_0x16b8be['fromVersion']-_0x2917e4['fromVersion'];if(_0x4fc00f>0x0)break;if(_0x4fc00f<0x0)_0x28eae9++;else{if(!_0x16b8be['creator']&&_0x2917e4['creator'])break;if(_0x2917e4['creator']||!_0x16b8be['creator']){if(_0x16b8be['createdAt']>_0x2917e4['createdAt'])break;_0x28eae9++;}else _0x28eae9++;}}return _0x28eae9;}['setRevisionData'](_0x1bb895){const _0x34d9a5=this['repository']['getRevision'](_0x1bb895['id']);if(_0x1bb895['createdAt']&&(_0x1bb895['createdAt']=new Date(_0x1bb895['createdAt'])),_0x1bb895['authorsIds']){const _0x30fbac=this['editor']['plugins']['get']('Users');_0x1bb895['authors']=_0x1bb895['authorsIds']['map'](_0x3499dc=>_0x30fbac['getUser'](_0x3499dc));}_0x34d9a5['_update'](_0x1bb895,!0x0);}['buildRevisionData']({revision:_0x1ebd44=null,from:_0x450111=null,to:_0x1527d0=null}){_0x450111=null!==_0x450111?_0x450111:_0x1ebd44['fromVersion'],_0x1527d0=null!==_0x1527d0?_0x1527d0:_0x1ebd44['toVersion'];const _0x526a45=this['_revisionDataBuilder']['getData'](_0x450111,_0x1527d0),_0x30f6a3={'diffData':_0x526a45['diffData'],'authorsIds':_0x526a45['authorsIds'],'fromVersion':_0x450111,'toVersion':_0x1527d0};if(!_0x1ebd44||_0x1527d0!==_0x1ebd44['toVersion']){const _0x4fe240=_0x1527d0-0x1,_0x30eed8=this['_source']['history']['getOperation'](_0x4fe240);_0x30f6a3['createdAt']=_0x30eed8&&_0x30eed8['createdAt']||new Date();}if(this['_loadedStateData']&&_0x450111===this['_loadedStateData']['fromVersion']){for(const _0x2a2f9c of this['_loadedStateData']['authors'])_0x30f6a3['authorsIds']['includes'](_0x2a2f9c['id'])||_0x30f6a3['authorsIds']['push'](_0x2a2f9c['id']);}return _0x30f6a3;}['_loadRevisionData'](_0x2ead27){if(!_0x2ead27||_0x2ead27['diffData'])return Promise['resolve']();{const _0x66be69=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x66be69,'revisionId':_0x2ead27['id']})['then'](_0x3dfe76=>{_0x2ead27['diffData']=_0x3dfe76['diffData'];});}}['_bufferUpdate'](_0x21023d,_0xc14b71,_0x9666ac){if(this['_bufferedUpdates']['has'](_0x21023d)){const _0x259e9d=this['_bufferedUpdates']['get'](_0x21023d);_0xc14b71=_0x9666ac?{..._0x259e9d,..._0xc14b71}:{..._0xc14b71,..._0x259e9d};}this['_bufferedUpdates']['set'](_0x21023d,_0xc14b71);}['_getFromVersion'](_0x13f785){const _0x1962e4=this['repository']['getRevisions']();_0x1962e4['reverse'](),_0x1962e4['shift']();const _0x432aca=_0x1962e4['find'](_0x17aca6=>_0x17aca6['toVersion']<=_0x13f785)['toVersion'];return _0x432aca<this['_startingVersion']?this['_startingVersion']:_0x432aca;}['_createInitialRevision'](_0xf512b9){const _0x59b812=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x59b812)this['_initialRevisionId']=_0x59b812['id'];else{const _0x22bb64=!this['editor']['model']['document']['roots']['find'](_0x873efb=>this['editor']['model']['hasContent'](_0x873efb)),_0xe751d2=this['editor']['plugins']['get']('Users')['me']['id'],_0x457b72=y(this['editor']['locale'],_0x22bb64?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0xf512b9,'to':_0xf512b9,'id':this['_initialRevisionId'],'name':_0x457b72,'creatorId':_0xe751d2});}}['_createCurrentRevision'](_0x139107){const _0x323ea6=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x323ea6),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x139107,'to':_0x139107,'id':_0x323ea6,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5ad570,from:_0x4d9a1c,to:_0x174560,creatorId:_0x19fc30,id:_0x2d2238}){const _0x1f7f81=this['buildRevisionData']({'from':_0x4d9a1c,'to':_0x174560});_0x1f7f81['name']=_0x5ad570,_0x1f7f81['creatorId']=_0x19fc30,_0x1f7f81['id']=_0x2d2238;const _0x502a1e=this['addRevisionData'](_0x1f7f81);return this['adapter']&&this['_bufferUpdate'](_0x1f7f81['id'],_0x1f7f81,!0x0),_0x502a1e;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x375898){return(_0x375898=_0x375898['filter'](_0x2a57e9=>!_0x2a57e9['name']||'revision-start'!==_0x2a57e9['name']&&'revision-end'!==_0x2a57e9['name']))['forEach'](_0x20510f=>{'string'!=typeof _0x20510f&&(_0x20510f['children']=this['_removeRevisionMarkers'](_0x20510f['children']),_0x20510f['attributes']=_0x20510f['attributes']['filter'](_0x5b764b=>!_0x5b764b[0x0]['startsWith']('data-revision-')));}),_0x375898;}}function B(_0xd05ddf,_0x100db7){const _0x375988=_0x100db7['editing']['view']['document'];if('string'==typeof _0xd05ddf)return new _0x47182f(_0x375988,_0xd05ddf);{const _0x3831f1=_0xd05ddf['children']['map'](_0x2d8ec4=>B(_0x2d8ec4,_0x100db7));return new(T[_0xd05ddf['type']]||_0x1d75e6)(_0x375988,_0xd05ddf['name'],_0xd05ddf['attributes'],_0x3831f1);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xa903ca){this['editor']=_0xa903ca,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'](_0x4b259e){this['source']=_0x4b259e;const _0x4bbfd2=new Map(),_0x453b1b=new Map(),_0x2e4cc2=this['editor']['model']['document']['roots']['map'](_0x5af7c6=>_0x5af7c6['rootName']);for(const _0x3bba32 of _0x2e4cc2){const _0xb487df=this['editor']['model']['document']['getRoot'](_0x3bba32),_0x5742b1=q(_0xb487df);_0x4bbfd2['set'](_0x3bba32,_0x5742b1),_0x453b1b['set'](_0x3bba32,Object['fromEntries'](_0xb487df['getAttributes']()));}const _0xeb999=Array['from'](this['editor']['model']['markers'])['map'](_0x535c59=>[_0x535c59['name'],_0x535c59['getRange']()]),_0x4c3d34=this['source']['version'];this['_saveMetaData'](_0x4c3d34,_0x4bbfd2,_0xeb999,_0x453b1b),this['_startingRevisionId']=this['_revisionId'];const _0xacce95=new Map(),_0x46e870=new Map();for(const _0x1dcb54 of _0x2e4cc2){const _0x487603=G(_0x1dcb54);_0xacce95['set'](_0x1dcb54,_0x487603),_0x46e870['set'](_0x1dcb54,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0xacce95,[],_0x46e870);}['getData'](_0x3e94e1,_0x355466){if(this['_lastFrom']===_0x3e94e1&&this['_lastTo']<=_0x355466)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x355466,!0x0);else{if(!this['_savedMetaData']['has'](_0x3e94e1)){const _0x5ae6be=this['_getPreviousFrom'](_0x3e94e1);this['_calculateMetaData'](_0x5ae6be,_0x3e94e1,!0x1);}this['_calculateMetaData'](_0x3e94e1,_0x355466,!0x0);}return this['_lastFrom']=_0x3e94e1,this['_lastTo']=_0x355466,this['_getState']();}['loadState'](_0x1b0a88){this['_reset'](),this['_lastFrom']=_0x1b0a88['fromVersion'],this['_lastTo']=_0x1b0a88['toVersion'];for(const _0x30c67f in _0x1b0a88['diffData']){const _0x4dcc7a=_0x1b0a88['diffData'][_0x30c67f]['attachChange'],_0x3dedb4=_0x329630(_0x1b0a88['diffData'][_0x30c67f]['attributesBefore'])||{},_0x24e5e7=this['_makeModelFromViewString'](_0x1b0a88['diffData'][_0x30c67f]['deletions']);_0x24e5e7['rootName']=_0x30c67f,_0x24e5e7['_isAttached']=!_0x4dcc7a||!_0x4dcc7a['isAttached'],_0x24e5e7['isAttached']=()=>_0x24e5e7['_isAttached'],this['_baseRoots']['set'](_0x30c67f,_0x24e5e7),this['_baseRootsAttributes']['set'](_0x30c67f,_0x3dedb4),_0x4dcc7a&&this['_touchedRoots']['set'](_0x30c67f,_0x4dcc7a);const _0x280ef9=this['_makeIdsRoot'](_0x24e5e7);this['_baseIdsRoots']['set'](_0x30c67f,_0x280ef9);for(const [_0x360dc6,_0x39ee51]of _0x24e5e7['markers']){if(!_0x360dc6['startsWith']('revision:'))continue;const _0x50c3a3=_0x360dc6['split'](':')[0x2];for(const _0x2f0854 of _0x39ee51['getWalker']({'singleCharacters':!0x0})){const _0xfda217=this['_getVidAttributeName'](_0x2f0854),_0x2996a9='elementEnd'==_0x2f0854['type']?_0x2f0854['previousPosition']['path']['slice'](0x0,-0x1):_0x2f0854['previousPosition']['path'],_0x284087=_0x280ef9['getNodeByPath'](_0x2996a9)['getAttribute'](_0xfda217);this['_touched']['set'](_0x284087,{'userId':_0x50c3a3});}}}this['_startingRevisionId']=this['_revisionId'];const _0x2b3919=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x10636d=>!this['_touched']['has'](_0x10636d));let _0x34cbba=0x0;const _0x22660a=new Map();for(const _0xbcaeea in _0x1b0a88['diffData']){const _0x29c66d=_0x1b0a88['diffData'][_0xbcaeea]['attachChange'],_0x202f72=_0x329630(_0x1b0a88['diffData'][_0xbcaeea]['attributesAfter'])||{},_0x1d9f51=this['_makeModelFromViewString'](_0x1b0a88['diffData'][_0xbcaeea]['insertions']);_0x1d9f51['rootName']=_0xbcaeea,_0x1d9f51['_isAttached']=!_0x29c66d||_0x29c66d['isAttached'],_0x1d9f51['isAttached']=()=>_0x1d9f51['_isAttached'],this['_diffRoots']['set'](_0xbcaeea,_0x1d9f51),this['_diffRootsAttributes']['set'](_0xbcaeea,_0x202f72);const _0x14f73a=this['_makeIdsRoot'](_0x1d9f51,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xbcaeea,_0x14f73a),_0x22660a['set'](_0xbcaeea,_0x1d9f51['isAttached']()?_0x202f72:{});for(const [_0x5011e5,_0x148c89]of _0x1d9f51['markers']){if(!_0x5011e5['startsWith']('revision:'))continue;const _0x1c6713=_0x5011e5['split'](':')[0x2];for(const _0x2718aa of _0x148c89['getWalker']({'singleCharacters':!0x0})){const _0x2dbdfd=this['_getVidAttributeName'](_0x2718aa),_0x28681a=this['_revisionId']++,_0x188386='elementEnd'==_0x2718aa['type']?_0x2718aa['previousPosition']['path']['slice'](0x0,-0x1):_0x2718aa['previousPosition']['path'];_0x14f73a['getNodeByPath'](_0x188386)['_setAttribute'](_0x2dbdfd,_0x28681a),this['_touched']['set'](_0x28681a,{'userId':_0x1c6713});}}for(const _0x550472 of this['editor']['model']['createRangeIn'](_0x1d9f51)['getWalker']({'singleCharacters':!0x0})){const _0x349b15=this['_getVidAttributeName'](_0x550472),_0x3ef214='elementEnd'==_0x550472['type']?_0x550472['previousPosition']['path']['slice'](0x0,-0x1):_0x550472['previousPosition']['path'],_0x4d73c5=_0x14f73a['getNodeByPath'](_0x3ef214);_0x4d73c5['getAttribute'](_0x349b15)>0x0||_0x4d73c5['_setAttribute'](_0x349b15,_0x2b3919[_0x34cbba++]);}for(const [_0x141a21,_0x22c83e]of _0x1d9f51['markers'])_0x141a21['startsWith']('revision:')||this['_markers']['set'](_0x141a21,_0x22c83e);}const _0x474580=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x474580),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x474580,0x1));const _0x54b596=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x54b596),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x54b596,0x1));const _0x4db335=Array['from'](this['_diffRoots'])['map'](([_0x2a6037,_0x37196d])=>[_0x2a6037,q(_0x37196d)]);this['_saveMetaData'](this['_lastTo'],_0x4db335,this['_markers'],_0x22660a);}['_makeModelFromViewString'](_0x188051){const _0x2d6fd5=JSON['parse'](_0x188051),_0x1658ed=this['editor']['editing']['view']['document'],_0x2f1a93=new _0x8571a6(_0x1658ed,_0x2d6fd5['map'](_0x15e476=>B(_0x15e476,this['editor'])));return this['editor']['data']['toModel'](_0x2f1a93);}['_saveMetaData'](_0x23c54c,_0x4f1c37,_0x49dfec,_0x5e3364){const _0x138bfe=new Map(_0x4f1c37),_0x589f90=new Map(_0x329630(_0x5e3364)),_0x374e61=new Map();for(const [_0x47ed3e,_0x3f4e32]of _0x49dfec)_0x374e61['set'](_0x47ed3e,{'start':_0x3f4e32['start']['clone'](),'end':_0x3f4e32['end']['clone'](),'rootName':_0x3f4e32['root']['rootName']});this['_savedMetaData']['set'](_0x23c54c,{'roots':_0x138bfe,'markers':_0x374e61,'rootsAttributes':_0x589f90});}['_removeMetaData'](_0x22ac3d){this['_savedMetaData']['delete'](_0x22ac3d);}['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'](_0x2c7fa1,_0x27205b=null){let _0x10493a=null;_0x2c7fa1['is']('documentFragment')||(_0x10493a=new ft(_0x2c7fa1['name'],{'vid_start':null===_0x27205b?this['_revisionId']++:_0x27205b++}));const _0x4e8ce4=[];for(const _0x545b31 of _0x2c7fa1['getChildren']())if(_0x545b31['is']('element')){_0x4e8ce4['push'](this['_makeIdsRoot'](_0x545b31,_0x27205b));const _0x317a3b=_0x4e8ce4[_0x4e8ce4['length']-0x1];null!==_0x27205b&&(_0x27205b=_0x317a3b['is']('element','$text')?_0x317a3b['getAttribute']('vid')+0x1:_0x317a3b['getAttribute']('vid_end')+0x1);}else{for(let _0x1a52b5=0x0;_0x1a52b5<_0x545b31['offsetSize'];_0x1a52b5++)_0x4e8ce4['push'](new ft('$text',{'vid':null===_0x27205b?this['_revisionId']++:_0x27205b++}));}if(_0x2c7fa1['is']('documentFragment')){const _0x2415ee=G(_0x2c7fa1['rootName']);return _0x2415ee['_insertChild'](0x0,_0x4e8ce4),_0x2415ee;}return _0x10493a['_setAttribute']('vid_end',null===_0x27205b?this['_revisionId']++:_0x27205b++),_0x10493a['_insertChild'](0x0,_0x4e8ce4),_0x10493a;}['_calculateMetaData'](_0x4dc9ed,_0x5967b1,_0x56a8f5){this['_reset']();const {roots:_0x2c90cf,markers:_0x4d167d,rootsAttributes:_0x478517}=this['_savedMetaData']['get'](_0x4dc9ed);this['_baseRoots']=new Map(_0x2c90cf),this['_baseRootsAttributes']=new Map(_0x329630(_0x478517));for(const [_0x417863,_0x5d4422]of this['_baseRoots'])if('$graveyard'!==_0x417863&&(this['_diffRoots']['set'](_0x417863,q(_0x5d4422)),this['_diffRootsAttributes']=new Map(_0x329630(_0x478517)),_0x56a8f5)){const _0x4f09a5=this['_revisionId'];this['_idsRoots']['set'](_0x417863,this['_makeIdsRoot'](_0x5d4422)),this['_baseIdsRoots']['set'](_0x417863,this['_makeIdsRoot'](_0x5d4422,_0x4f09a5));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x56a8f5&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x308b72,_0x320d6a]of _0x4d167d){const _0x5cfc34=this['_baseRoots']['get'](_0x320d6a['rootName']),_0x2f1611=this['_diffRoots']['get'](_0x320d6a['rootName']),_0x3ac061=new vt(this['_fixPosition'](_0x320d6a['start'],_0x5cfc34),this['_fixPosition'](_0x320d6a['end'],_0x5cfc34)),_0x1db8dc=this['_fixRange'](_0x3ac061,_0x2f1611);_0x5cfc34['markers']['set'](_0x308b72,_0x3ac061),this['_markers']['set'](_0x308b72,_0x1db8dc);}this['_applyOperations'](_0x4dc9ed,_0x5967b1,_0x56a8f5);}['_applyOperations'](_0xc8e968,_0x16e405,_0xa0e952){for(const _0xf52dc of this['source']['getOperations'](_0xc8e968,_0x16e405))this['_handleOperation'](_0xf52dc,_0xa0e952);for(const _0x165917 of this['_diffRoots']['values']())_0x165917['markers']['clear']();for(const [_0x69b51d,_0x24a363]of this['_markers']){this['_diffRoots']['get'](_0x24a363['root']['rootName'])['markers']['set'](_0x69b51d,_0x24a363['clone']());}const _0x5b6122=new Map(),_0x19c0d1=new Map();for(const [_0x25ce4d,_0x24ca17]of this['_diffRoots'])_0x5b6122['set'](_0x25ce4d,q(_0x24ca17)),_0x19c0d1['set'](_0x25ce4d,this['_diffRootsAttributes']['get'](_0x25ce4d));this['_saveMetaData'](_0x16e405,_0x5b6122,this['_markers'],_0x19c0d1);}['_getPreviousFrom'](_0x2bd30b){const _0x2e7e56=Array['from'](this['_savedMetaData']['keys']());_0x2e7e56['sort']((_0x4a171a,_0x234b1c)=>_0x4a171a-_0x234b1c),_0x2e7e56['reverse']();for(const _0x3e696 of _0x2e7e56)if(_0x3e696<_0x2bd30b)return _0x3e696;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5e95a7,_0x34638b){const _0x18a652=Array['from'](_0x34638b['markers'])['map'](([_0x2e58a5,_0x42393b])=>[_0x2e58a5,this['_fixRange'](_0x42393b,_0x5e95a7)]);_0x5e95a7['markers']=new Map(_0x18a652);}['_transformMarkers'](_0x48c3b6){for(const _0x4eabba of this['_markers']['values']()){const _0x464a36=_0x4eabba['getTransformedByOperation'](_0x48c3b6),_0x5a80c5=vt['_createFromRanges'](_0x464a36);_0x4eabba['start']=_0x5a80c5['start'],_0x4eabba['end']=_0x5a80c5['end'];}}['_handleOperation'](_0x281964,_0x173846){if('addRoot'==_0x281964['type']||'detachRoot'==_0x281964['type'])return void this['_handleRootOperation'](_0x281964,_0x173846);if('insert'==_0x281964['type']){const _0x25399a=_0x281964['position']['root']['rootName'];this['_diffRoots']['has'](_0x25399a)||(this['_diffRoots']['set'](_0x25399a,G(_0x25399a,!0x0)),this['_diffRootsAttributes']['set'](_0x25399a,{}),_0x173846&&this['_idsRoots']['set'](_0x25399a,G(_0x25399a,!0x0)));}else{if('addRootAttribute'==_0x281964['type']||'removeRootAttribute'==_0x281964['type']||'changeRootAttribute'==_0x281964['type'])return void this['_handleRootAttributeOperation'](_0x281964);}const _0x4683be=this['_cloneOperation'](_0x281964,this['_diffRoots']);if('marker'!==_0x281964['type']&&(_0x4683be['_execute'](),this['_transformMarkers'](_0x4683be)),_0x173846)switch(_0x4683be['type']){case'insert':this['_handleInsertOperation'](_0x281964);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x281964);break;case'merge':this['_handleMergeOperation'](_0x281964);break;case'split':this['_handleSplitOperation'](_0x281964);break;case'marker':this['_handleMarkerOperation'](_0x281964);}}['_cloneOperation'](_0x177beb,_0x2ce254){const _0x44abda=_0x177beb['clone']();return _0x44abda['_authorId']=_0x177beb['_authorId'],this['_fixOperation'](_0x44abda,_0x2ce254),_0x44abda;}['_getBaseVids'](_0x5e6e4a){return _0x5e6e4a['map'](_0x4b1cb1=>{const _0x458cae=this['_getVidAttributeName'](_0x4b1cb1);return Number(_0x4b1cb1['item']['getAttribute'](_0x458cae));});}['_generateTape'](_0x4c9e28,_0xdbcae2){if(_0x4c9e28['is']('element','$text'))_0xdbcae2['push']({'item':_0x4c9e28,'type':'text'});else{_0x4c9e28['is']('element')&&_0xdbcae2['push']({'item':_0x4c9e28,'type':'elementStart'});for(const _0x88d1df of _0x4c9e28['getChildren']())this['_generateTape'](_0x88d1df,_0xdbcae2);_0x4c9e28['is']('element')&&_0xdbcae2['push']({'item':_0x4c9e28,'type':'elementEnd'});}return _0xdbcae2;}['_getState'](){const _0x452297=new Map(this['_touched']),_0x11169f=new Map(_0x452297),_0x2baf01=new Map(),_0x1be37c={'insertions':{},'deletions':{}},_0x2d5e7d={'insertions':{},'deletions':{}},_0x23d2fd=new Map(),_0x102a2a=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x102a2a['delete']('$graveyard');for(const _0x3b4ad6 of _0x102a2a){const _0xc4ae32=this['_diffRoots']['get'](_0x3b4ad6)||G(_0x3b4ad6,!0x1),_0x55e880=this['_baseRoots']['get'](_0x3b4ad6)||G(_0x3b4ad6,!0x1);_0xc4ae32['isAttached']()||_0x55e880['isAttached']()?(_0x1be37c['insertions'][_0x3b4ad6]=q(_0xc4ae32),_0x1be37c['deletions'][_0x3b4ad6]=q(_0x55e880),this['_copyMarkers'](_0x1be37c['deletions'][_0x3b4ad6],_0x55e880),this['_copyMarkers'](_0x1be37c['insertions'][_0x3b4ad6],_0xc4ae32),_0x2d5e7d['insertions'][_0x3b4ad6]=this['_generateTape'](this['_idsRoots']['get'](_0x3b4ad6),[]),_0x2d5e7d['deletions'][_0x3b4ad6]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x3b4ad6)||G(_0x3b4ad6,!0x1),[])):_0x102a2a['delete'](_0x3b4ad6);}for(const _0x53a666 of _0x102a2a){const _0x5290df=_0x2d5e7d['insertions'][_0x53a666];for(const _0x14e45d of _0x5290df){const _0x2792e1=this['_getVidAttributeName'](_0x14e45d),_0x330c89=_0x14e45d['item']['getAttribute'](_0x2792e1);_0x11169f['delete'](_0x330c89),_0x330c89>=this['_startingRevisionId']&&_0x2baf01['set'](_0x330c89,_0x452297['get'](_0x330c89));}}for(const _0x352269 of _0x102a2a){const _0x2365b9=_0x2d5e7d['insertions'][_0x352269],_0x2cd1e4=this['_getBaseVids'](_0x2d5e7d['deletions'][_0x352269]);let _0x3f7e1f=0x0;for(const _0x204d90 of _0x2365b9){const _0x18cbcb=this['_getVidAttributeName'](_0x204d90),_0x54e7e4=_0x204d90['item']['getAttribute'](_0x18cbcb);if(!_0x2baf01['has'](_0x54e7e4)&&!_0x23d2fd['has'](_0x54e7e4)){if(_0x11169f['has'](_0x54e7e4))_0x3f7e1f++;else{if(_0x54e7e4!=_0x2cd1e4[_0x3f7e1f]){const _0x24e456=_0x452297['get'](_0x54e7e4)||_0x452297['get'](_0x2cd1e4[_0x3f7e1f]);for(;_0x54e7e4!=_0x2cd1e4[_0x3f7e1f];)_0x11169f['has'](_0x2cd1e4[_0x3f7e1f])||(_0x23d2fd['set'](_0x2cd1e4[_0x3f7e1f],_0x24e456),_0x452297['set'](_0x2cd1e4[_0x3f7e1f],_0x24e456)),_0x3f7e1f++;}_0x3f7e1f++;}}}}for(const _0x2bedba of _0x102a2a){const _0x37bc19=_0x2d5e7d['insertions'][_0x2bedba];for(const _0x50bd14 of _0x37bc19){const _0x130361=this['_getVidAttributeName'](_0x50bd14),_0x2dd3fa=_0x50bd14['item']['getAttribute'](_0x130361);if(_0x23d2fd['has'](_0x2dd3fa)){const _0x40a1c8=_0x23d2fd['get'](_0x2dd3fa);_0x11169f['has'](_0x2dd3fa)||_0x11169f['set'](_0x2dd3fa,{..._0x40a1c8}),_0x2baf01['set'](_0x2dd3fa,{..._0x40a1c8});}}}for(const _0x59042a of _0x11169f['keys']())_0x59042a>=this['_startingRevisionId']&&_0x11169f['delete'](_0x59042a);const _0x331a36=new Map();for(const _0x49053d of _0x102a2a){let _0x1bf8ce=_0x2d5e7d['insertions'][_0x49053d];for(const _0x5aa583 of _0x1bf8ce)if(_0x5aa583['item']['is']('element','tableCell')){const _0x49dfa0=this['_getVidAttributeName'](_0x5aa583),_0x1f532e=_0x5aa583['item']['getAttribute'](_0x49dfa0);if(_0x2baf01['has'](_0x1f532e)){const _0x3a4df1=_0x5aa583['item']['parent']['parent']['getAttribute']('vid_start'),_0x5c00d4=_0x331a36['get'](_0x3a4df1)||new Set();_0x5c00d4['add'](_0x2baf01['get'](_0x1f532e)['userId']),_0x331a36['set'](_0x3a4df1,_0x5c00d4);}}_0x1bf8ce=_0x2d5e7d['deletions'][_0x49053d];for(const _0x49510c of _0x1bf8ce)if(_0x49510c['item']['is']('element','tableCell')){const _0x4b3de6=this['_getVidAttributeName'](_0x49510c),_0x50d19d=_0x49510c['item']['getAttribute'](_0x4b3de6);if(_0x11169f['has'](_0x50d19d)){const _0x45deb0=_0x49510c['item']['parent']['parent']['getAttribute']('vid_start'),_0x37120c=_0x331a36['get'](_0x45deb0)||new Set();_0x37120c['add'](_0x11169f['get'](_0x50d19d)['userId']),_0x331a36['set'](_0x45deb0,_0x37120c);}}for(const _0x421b03 of _0x331a36['keys']())(_0x2baf01['has'](_0x421b03)||_0x11169f['has'](_0x421b03))&&_0x331a36['delete'](_0x421b03);}for(const _0x4197c5 of _0x102a2a){const _0x4c213f=_0x2d5e7d['insertions'][_0x4197c5];let _0x56dc11=null,_0x5438f8=null;for(const _0x535924 of _0x4c213f){const _0xf5d651=this['_getVidAttributeName'](_0x535924),_0x1843e9=_0x535924['item']['getAttribute'](_0xf5d651),_0x878999=_0x331a36['get'](_0x1843e9);_0x878999&&'elementStart'==_0x535924['type']&&(_0x56dc11=Array['from'](_0x878999)[0x0],_0x5438f8=_0x535924['item']['getAttribute']('vid_end')),_0x56dc11&&(_0x11169f['set'](_0x1843e9,{'userId':_0x56dc11}),_0x2baf01['set'](_0x1843e9,{'userId':_0x56dc11})),_0x1843e9==_0x5438f8&&(_0x56dc11=null,_0x5438f8=null);}}const _0x2ca927={},_0x17d9e9=new Set();for(const _0x491aa0 of _0x102a2a){const _0x427277=_0x1be37c['deletions'][_0x491aa0],_0xc4731b=_0x1be37c['insertions'][_0x491aa0];for(const {userId:_0x52459b}of this['_touchedMarkers']['values']())null!==_0x52459b&&_0x17d9e9['add'](_0x52459b);for(const {userId:_0x3ecb82}of this['_touchedRoots']['values']())null!==_0x3ecb82&&_0x17d9e9['add'](_0x3ecb82);this['_markChanges'](_0xc4731b,_0x2d5e7d['insertions'][_0x491aa0],_0x2baf01,'insertion',_0x17d9e9),this['_markChanges'](_0x427277,_0x2d5e7d['deletions'][_0x491aa0],_0x11169f,'deletion',_0x17d9e9),_0x2ca927[_0x491aa0]={'insertions':this['_prepareViewToSave'](_0xc4731b),'deletions':this['_prepareViewToSave'](_0x427277),'attachChange':this['_touchedRoots']['get'](_0x491aa0)||null,'attributesBefore':_0x329630(this['_baseRootsAttributes']['get'](_0x491aa0))||{},'attributesAfter':_0x329630(this['_diffRootsAttributes']['get'](_0x491aa0))};}return{'diffData':_0x2ca927,'authorsIds':Array['from'](_0x17d9e9)};}['_processRootBeforeSave'](_0xfde479){for(const [,_0xa97862]of _0xfde479['markers']){const _0xadb78e=_0xa97862['start']['getAncestors']()['filter'](_0x78082c=>'tableCell'==_0x78082c['name']);for(const _0x2e0a3f of _0xadb78e)0x1==_0x2e0a3f['childCount']&&_0x2e0a3f['getChild'](0x0)['is']('element','paragraph')&&_0x2e0a3f['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x41bd2d){this['_processRootBeforeSave'](_0x41bd2d);const _0x784ad9=this['editor']['data']['toView'](_0x41bd2d,{}),_0x5e75e6=Array['from'](_0x784ad9['getChildren']())['map'](_0x28acfa=>this['_getViewJson'](_0x28acfa));return JSON['stringify'](_0x5e75e6);}['_getViewJson'](_0x3c7911){if(_0x3c7911['is']('$text'))return _0x3c7911['data'];{const _0x54f8db=_0x3c7911;return{'type':Object['keys'](T)['find'](_0x1f028a=>_0x3c7911 instanceof T[_0x1f028a]),'name':_0x54f8db['name'],'attributes':Array['from'](_0x54f8db['getAttributes']()),'children':Array['from'](_0x54f8db['getChildren']())['map'](_0x439442=>this['_getViewJson'](_0x439442))};}}['_markChanges'](_0x140877,_0x12714c,_0x35ff1f,_0x3765e3,_0x22a25a){let _0xa24a9d=null,_0x12a832=null,_0x3533bb=0x0;const _0x21c4ef=this['editor']['model'];for(let _0x4a85f7=0x0;_0x4a85f7<_0x12714c['length'];_0x4a85f7++){const _0xbd0191=this['_getVidAttributeName'](_0x12714c[_0x4a85f7]),_0x4d761d=_0x12714c[_0x4a85f7]['item']['getAttribute'](_0xbd0191),_0x145c8f=_0x35ff1f['get'](_0x4d761d),_0x70fe1e=_0x4a85f7==_0x12714c['length']-0x1;(!_0xa24a9d&&_0x145c8f&&(_0xa24a9d=_0x145c8f,_0x12a832=_0x12714c[_0x4a85f7]),_0xa24a9d&&(!_0x145c8f||_0x145c8f['userId']!=_0xa24a9d['userId']))&&(_0x29776a(_0x145c8f,L(_0x12a832,_0x140877,_0x21c4ef),L(_0x12714c[_0x4a85f7],_0x140877,_0x21c4ef)),_0xa24a9d=_0x145c8f||null,_0x12a832=_0x145c8f?_0x12714c[_0x4a85f7]:null),_0xa24a9d&&_0x70fe1e&&_0x29776a(_0x145c8f,L(_0x12a832,_0x140877,_0x21c4ef),W(_0x12714c[_0x4a85f7],_0x140877,_0x21c4ef));}function _0x29776a(_0x1062da,_0xd29be4,_0x23c192){const _0x163f43=_0xa24a9d['userId'],_0x2211d3='revision:'+_0x3765e3+':'+_0x163f43+':'+_0x3533bb++,_0x394b11=_0x21c4ef['createRange'](_0xd29be4,_0x23c192);_0x140877['markers']['set'](_0x2211d3,_0x394b11),null!==_0x163f43&&_0x22a25a['add'](_0x163f43);}}['_getVidAttributeName'](_0x415e45){switch(_0x415e45['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x4b3ca4,_0x1966e2){_0x4b3ca4['baseVersion']=null;for(const _0x425a5d in _0x4b3ca4){const _0x5570e7=_0x4b3ca4[_0x425a5d];if(_0x5570e7 instanceof gt){const _0x5b1752=_0x1966e2['get'](_0x5570e7['root']['rootName']);_0x4b3ca4[_0x425a5d]=this['_fixPosition'](_0x5570e7,_0x5b1752);}if(_0x5570e7 instanceof vt){const _0x9bcb06=_0x1966e2['get'](_0x5570e7['root']['rootName']);_0x4b3ca4[_0x425a5d]=this['_fixRange'](_0x5570e7,_0x9bcb06);}'root'===_0x425a5d&&(_0x4b3ca4['root']=_0x1966e2['get'](_0x4b3ca4['root']['rootName']));}}['_fixRange'](_0xbffc74,_0x180fa8){return this['editor']['model']['createRange'](this['_fixPosition'](_0xbffc74['start'],_0x180fa8),this['_fixPosition'](_0xbffc74['end'],_0x180fa8));}['_fixPosition'](_0x7c3a64,_0x172163){return this['editor']['model']['createPositionFromPath'](_0x172163,_0x7c3a64['path'],_0x7c3a64['stickiness']);}['_handleInsertOperation'](_0x438212){const _0x2c809d=this['_idsRoots']['get'](_0x438212['position']['root']['rootName']),_0x418dbf=this['_fixPosition'](_0x438212['position'],_0x2c809d),_0x4c6b70=null===_0x438212['_authorId']?null:_0x438212['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xc49164=_0x418dbf['parent'],_0xd399b2=this['_revisionId'],_0x37df5f=[];for(const _0x3d2334 of _0x438212['nodes'])if(_0x3d2334['is']('element'))_0x37df5f['push'](this['_makeIdsRoot'](_0x3d2334));else{for(let _0x3f81b0=0x0;_0x3f81b0<_0x3d2334['offsetSize'];_0x3f81b0++)_0x37df5f['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x320a46=this['_revisionId'];for(let _0x486e19=_0xd399b2;_0x486e19<_0x320a46;_0x486e19++)this['_touched']['set'](_0x486e19,{'userId':_0x4c6b70});_0xc49164['_insertChild'](_0x418dbf['offset'],_0x37df5f);}['_handleMoveOperation'](_0x366339){(_0x366339=this['_cloneOperation'](_0x366339,this['_idsRoots']))['_execute']();const _0x18e24c=null===_0x366339['_authorId']?null:_0x366339['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x360117=_0x366339['getMovedRangeStart'](),_0x33797e=_0x360117['parent'],_0x56854f=_0x360117['offset'];!function _0x56103a(_0x6236f8,_0x8ef81f,_0x35bd92,_0x5ccc47){for(let _0x170c0=_0x35bd92;_0x170c0<_0x5ccc47;_0x170c0++){const _0x2b914=_0x8ef81f['getChild'](_0x170c0);_0x2b914['is']('element','$text')?_0x6236f8['set'](_0x2b914['getAttribute']('vid'),{'userId':_0x18e24c}):(_0x6236f8['set'](_0x2b914['getAttribute']('vid_start'),{'userId':_0x18e24c}),_0x56103a(_0x6236f8,_0x2b914,0x0,_0x2b914['childCount']),_0x6236f8['set'](_0x2b914['getAttribute']('vid_end'),{'userId':_0x18e24c}));}}(this['_touched'],_0x33797e,_0x56854f,_0x56854f+_0x366339['howMany']);}['_handleMergeOperation'](_0x258bf2){const _0x454fa2=null===(_0x258bf2=this['_cloneOperation'](_0x258bf2,this['_idsRoots']))['_authorId']?null:_0x258bf2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1fac10=_0x258bf2['targetPosition']['parent'],_0x3cfdd6=_0x258bf2['sourcePosition']['parent'],_0x282afe=_0x1fac10['getAttribute']('vid_end'),_0x52580f=_0x3cfdd6['getAttribute']('vid_start');_0x1fac10['_setAttribute']('vid_end',_0x3cfdd6['getAttribute']('vid_end')),_0x3cfdd6['_setAttribute']('vid_end',_0x282afe),this['_touched']['set'](_0x52580f,{'userId':_0x454fa2}),this['_touched']['set'](_0x282afe,{'userId':_0x454fa2}),_0x258bf2['_execute']();}['_handleSplitOperation'](_0x3f9a55){const _0x3a5680=null===(_0x3f9a55=this['_cloneOperation'](_0x3f9a55,this['_idsRoots']))['_authorId']?null:_0x3f9a55['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x344bf5=_0x3f9a55['graveyardPosition'],_0x269000=_0x3f9a55['splitPosition']['parent'];_0x3f9a55['_execute']();const _0x49fe79=_0x269000['getAttribute']('vid_end'),_0x357da5=_0x3f9a55['insertionPosition']['nodeAfter'];if(_0x344bf5){const _0x2d2c1b=_0x357da5['getAttribute']('vid_end'),_0x31fd78=_0x269000['getAttribute']('vid_end');_0x269000['_setAttribute']('vid_end',_0x2d2c1b),_0x357da5['_setAttribute']('vid_end',_0x31fd78),this['_touched']['set'](_0x269000['getAttribute']('vid_end'),{'userId':_0x3a5680}),this['_touched']['set'](_0x357da5['getAttribute']('vid_start'),{'userId':_0x3a5680});}else{const _0x59ffa1=this['_revisionId']++,_0x168a45=this['_revisionId']++;_0x269000['_setAttribute']('vid_end',_0x59ffa1),_0x357da5['_setAttribute']('vid_start',_0x168a45),_0x357da5['_setAttribute']('vid_end',_0x49fe79),this['_touched']['set'](_0x59ffa1,{'userId':_0x3a5680}),this['_touched']['set'](_0x168a45,{'userId':_0x3a5680});}}['_handleMarkerOperation'](_0x9a2a67){if(!_0x9a2a67['affectsData'])return;const _0xa56cd7=(_0x9a2a67=this['_cloneOperation'](_0x9a2a67,this['_diffRoots']))['oldRange']?_0x9a2a67['oldRange']['root']:null,_0xe694df=_0x9a2a67['newRange']?_0x9a2a67['newRange']['root']:null;_0xa56cd7&&this['_markers']['delete'](_0x9a2a67['name']),_0xe694df&&this['_markers']['set'](_0x9a2a67['name'],_0x9a2a67['newRange']['clone']());const _0x5eefcf=null===_0x9a2a67['_authorId']?null:_0x9a2a67['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x56e6e5=_0x9a2a67['name'];if(!this['_touchedMarkers']['has'](_0x56e6e5))return void this['_touchedMarkers']['set'](_0x56e6e5,{'range':_0x9a2a67['oldRange'],'userId':_0x5eefcf});const _0x4c54b4=this['_touchedMarkers']['get'](_0x56e6e5),_0x2cd2de=_0x4c54b4['range'],_0x3862eb=_0x9a2a67['newRange'];null==_0x2cd2de&&null==_0x3862eb||_0x2cd2de&&_0x3862eb&&_0x2cd2de['isEqual'](_0x3862eb)?this['_touchedMarkers']['delete'](_0x9a2a67['name']):_0x4c54b4['userId']=_0x5eefcf;}['_handleRootOperation'](_0x32eaa4,_0x2f3fe7){this['_diffRoots']['has'](_0x32eaa4['rootName'])?this['_diffRoots']['get'](_0x32eaa4['rootName'])['_isAttached']=_0x32eaa4['isAdd']:(this['_diffRoots']['set'](_0x32eaa4['rootName'],G(_0x32eaa4['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x32eaa4['rootName'],{}),_0x2f3fe7&&this['_idsRoots']['set'](_0x32eaa4['rootName'],G(_0x32eaa4['rootName'],!0x0)));const _0x57519a=null===_0x32eaa4['_authorId']?null:_0x32eaa4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x392dcd=this['_touchedRoots']['get'](_0x32eaa4['rootName']);_0x392dcd&&_0x392dcd['userId']===_0x57519a?this['_touchedRoots']['delete'](_0x32eaa4['rootName']):this['_touchedRoots']['set'](_0x32eaa4['rootName'],{'userId':_0x57519a,'isAttached':_0x32eaa4['isAdd']});}['_handleRootAttributeOperation'](_0x5b475c){const _0x451a6d=this['_diffRootsAttributes']['get'](_0x5b475c['root']['rootName']);null===_0x5b475c['newValue']?delete _0x451a6d[_0x5b475c['key']]:_0x451a6d[_0x5b475c['key']]=_0x5b475c['newValue'];}}function q(_0x1591a0){const _0x3ccf4f=G(_0x1591a0['rootName'],_0x1591a0['isAttached']());for(const _0xdda14d of _0x1591a0['getChildren']()){const _0x559523=_0xdda14d['_clone'](!0x0);_0x3ccf4f['_appendChild'](_0x559523);}return _0x3ccf4f;}function G(_0x8bd454,_0x13eb53=!0x0){const _0x1ab6b2=new wt();return _0x1ab6b2['rootName']=_0x8bd454,_0x1ab6b2['_isAttached']=_0x13eb53,_0x1ab6b2['isAttached']=()=>_0x1ab6b2['_isAttached'],_0x1ab6b2;}function L(_0x83dac,_0x550256,_0x966e4f){const _0xd4fa08='elementEnd'==_0x83dac['type']?_0x966e4f['createPositionAt'](_0x83dac['item'],'end'):_0x966e4f['createPositionBefore'](_0x83dac['item']);return _0x966e4f['createPositionFromPath'](_0x550256,_0xd4fa08['path'],_0xd4fa08['stickiness']);}function W(_0x62d5d0,_0x192a31,_0x2b5353){const _0x547483='elementStart'==_0x62d5d0['type']?_0x2b5353['createPositionAt'](_0x62d5d0['item'],0x0):_0x2b5353['createPositionAfter'](_0x62d5d0['item']);return _0x2b5353['createPositionFromPath'](_0x192a31,_0x547483['path'],_0x547483['stickiness']);}class ns extends _0x3aee38{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2aed1d,_0x246df9){super(_0x2aed1d),this['focusTracker']=new _0x5385bb(),this['keystrokes']=new _0x459752(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x246df9),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'](),_0x5da09e({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x11ff54=_0x467403=>_0x467403['stopPropagation']();this['keystrokes']['set']('arrowright',_0x11ff54),this['keystrokes']['set']('arrowleft',_0x11ff54),this['keystrokes']['set']('arrowup',_0x11ff54),this['keystrokes']['set']('arrowdown',_0x11ff54);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x426486){this['revisionNameInputView']['fieldView']['element']['value']=_0x426486['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x273be2){const _0xca2691=new at(this['locale'],_0x4d804a),_0x110e6c=_0xca2691['fieldView'];_0x110e6c['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x38e32a=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x273be2&&(_0x38e32a+='\x20('+y(this['locale'],'optional')+')'),(_0xca2691['label']=_0x38e32a,_0x110e6c['on']('input',()=>{this['revisionNameInputValue']=_0x110e6c['element']['value']['trim']();}),_0xca2691);}}class u extends _0x32b29e{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x3e1a32=this['editor'],_0x3dfaef=_0x3e1a32['plugins']['get']('RevisionTracker');_0x3e1a32['ui']['componentFactory']['add']('revisionHistory',_0x376a98=>{const _0x4a32d4=_0x5c727e(_0x376a98),_0x1609c5=_0x4a32d4['panelView']['children'],_0x289eaa=new te(_0x376a98),_0x388c48=new _0x23201e(_0x376a98),_0x3f1977=new _0x5f0089(_0x376a98),_0x1dc3ad=new _0x23201e(_0x376a98),_0xe9abd=new _0x5f0089(_0x376a98);return _0x4a32d4['bind']('isEnabled')['to'](_0x3dfaef,'isReady',_0x3dfaef,'isEnabled',_0x3e1a32,'isReadOnly',(_0x34f0f1,_0x185e17,_0x5e142b)=>_0x34f0f1&&_0x185e17&&!_0x5e142b),_0x4a32d4['buttonView']['set']({'icon':_0x54ca32['history'],'label':y(_0x376a98,'Revision\x20history'),'tooltip':!0x0}),_0x3f1977['set']({'label':y(_0x376a98,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3f1977['bind']('isEnabled')['to'](_0x3dfaef,'isReady',_0x3dfaef,'isEnabled',_0x3e1a32,'isReadOnly',(_0x2f8fee,_0x844686,_0x17c0a8)=>_0x2f8fee&&_0x844686&&!_0x17c0a8),_0x3f1977['on']('execute',()=>this['_showDialog']()),_0xe9abd['set']({'label':y(_0x376a98,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0xe9abd['bind']('isEnabled')['to'](_0x3dfaef,'isReady',_0x3e1a32,'isReadOnly',(_0x3e6dfc,_0x2b9066)=>_0x3e6dfc&&!_0x2b9066),_0xe9abd['on']('execute',()=>{_0x3e1a32['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4a32d4['isOpen']=!0x1,_0x3e1a32['editing']['view']['focus']();}),_0x388c48['children']['add'](_0x3f1977),_0x1dc3ad['children']['add'](_0xe9abd),_0x289eaa['role']='menu',_0x289eaa['items']['addMany']([_0x388c48,_0x1dc3ad]),_0x1609c5['add'](_0x289eaa),_0x4a32d4;}),_0x3e1a32['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x539d2f=this['editor'],_0x112c86=_0x539d2f['locale'],_0x68478a=new _0x55547f(_0x112c86),_0x5c90c4=new _0x23bc10(_0x112c86);_0x68478a['buttonView']['set']({'icon':_0x54ca32['history'],'label':y(_0x112c86,'Revision\x20history')});const _0x2b37a7=new _0x521eb4(_0x112c86,_0x68478a),_0x48909b=new _0x595d4f(_0x112c86);_0x48909b['set']({'label':y(_0x112c86,'Save\x20current\x20revision')}),_0x48909b['delegate']('execute')['to'](_0x68478a),_0x48909b['on']('execute',()=>{this['_showDialog']();}),_0x2b37a7['children']['add'](_0x48909b),_0x5c90c4['items']['add'](_0x2b37a7);const _0x134058=new _0x521eb4(_0x112c86,_0x68478a),_0x40bac2=new _0x595d4f(_0x112c86);return _0x40bac2['set']({'label':y(_0x112c86,'Open\x20revision\x20history')}),_0x40bac2['delegate']('execute')['to'](_0x68478a),_0x40bac2['on']('execute',()=>{_0x539d2f['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x134058['children']['add'](_0x40bac2),_0x5c90c4['items']['add'](_0x134058),_0x68478a['panelView']['children']['add'](_0x5c90c4),_0x68478a;}['_showDialog'](){const _0x125af1=this['editor'],_0x43de54=_0x125af1['locale'],t=_0x43de54['t'],_0x595781=_0x125af1['plugins']['get']('Dialog'),_0xf7a14f=_0x125af1['plugins']['get']('RevisionTracker');function _0x527528(_0x3c23d8){_0x125af1['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3c23d8['revisionName']?_0x3c23d8['revisionNameInputView']['errorText']=y(_0x43de54,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x125af1['plugins']['get'](l)['saveRevision']({'name':_0x3c23d8['revisionName']}),_0x595781['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x527528(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x595781['show']({'id':'findAndReplace','title':y(_0x43de54,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x595781['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x530e36){_0x530e36['bind']('isEnabled')['to'](_0xf7a14f,'isReady',_0xf7a14f,'isEnabled',_0x125af1,'isReadOnly',(_0x31a8dd,_0x3b935e,_0x1f359b)=>_0x31a8dd&&_0x3b935e&&!_0x1f359b);},'onExecute':()=>_0x527528(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x32e344=this['editor'],_0x39bc3c=_0x32e344['locale'];this['_saveRevisionFormView']=new ns(_0x39bc3c,_0x32e344['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x3aee38{['changeId'];['_model'];constructor(_0x235d42,_0x387a1d){super(_0x235d42),this['_model']=_0x387a1d,this['changeId']=_0x387a1d['id'];const _0x3b45aa=this['bindTemplate'],_0x2330e4=y(_0x235d42,_0x387a1d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x387a1d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x387a1d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3b45aa['to']('type',_0x3acc98=>'ck-revision-change__'+_0x3acc98)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2330e4}]},{'text':'\x20'+_0x387a1d['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x4ea951(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1eb1fb){super(),this['id']=_0x1eb1fb['id']||_0x519d4a(),this['author']=_0x1eb1fb['author'],this['type']=_0x1eb1fb['type'],this['data']=_0x1eb1fb['data']||{},this['rootName']=_0x1eb1fb['rootName'],this['set']('createdAt',_0x1eb1fb['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(_0x468f98,_0x4bca39){this['newRevisionId']=_0x468f98,this['oldRevisionId']=_0x4bca39,this['changes']=new _0x23ac2c();}['_setChanges'](_0x48f208){for(const _0x16642c of _0x48f208)this['changes']['add'](_0x16642c);}}const tt={'c':_0x37e641,'a':_0x109dbb,'e':_0x14e55d,'r':_0x472027,'u':_0x19e632};class d extends _0x32b29e{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5d0056,_0xe019b8,A];}constructor(_0x1e4555){super(_0x1e4555),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',(_0x78d49c,_0xc1dc45,_0x5310ea)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x19063a=>{for(const _0x10b691 of this['editor']['editing']['view']['document']['roots'])_0x5310ea?_0x19063a['removeClass']('ck-editor__editable__overlay',_0x10b691):_0x19063a['addClass']('ck-editor__editable__overlay',_0x10b691);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0xf5e9a2=>null!==_0xf5e9a2),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x455ea8,_0x443ee7,_0x23d5b7)=>_0x455ea8&&_0x23d5b7?_0x443ee7['changes']['getIndex'](_0x23d5b7):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x591ece,_0x550a8b)=>_0x591ece?_0x550a8b['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0xe019b8);}['init'](){const _0x58f6ba=this['editor'],_0x30f168=new yt(_0x58f6ba,{'direction':'backward'}),_0x3db1ed=new yt(_0x58f6ba,{'direction':'forward'});(_0x58f6ba['commands']['add']('showPreviousChange',_0x30f168),_0x58f6ba['commands']['add']('showNextChange',_0x3db1ed),_0x58f6ba['commands']['add']('restoreRevision',new bt(_0x58f6ba)),this['on']('change:numberOfChanges',()=>{_0x30f168['refresh'](),_0x3db1ed['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x58f6ba['enableReadOnlyMode']('revision-viewer'),_0x58f6ba['plugins']['has']('WidgetToolbarRepository'))&&_0x58f6ba['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x50fcb0){await this['loadRevisionData'](_0x50fcb0);const _0x12cd66={};for(const _0x49dba0 in _0x50fcb0['diffData']){if(_0x50fcb0['diffData'][_0x49dba0]['attachChange']&&!_0x50fcb0['diffData'][_0x49dba0]['attachChange']['isAttached'])continue;const _0x2189b5=this['_removeRevisionMarkers'](JSON['parse'](_0x50fcb0['diffData'][_0x49dba0]['insertions'])),_0x187ca5=this['editor']['editing']['view']['document'],_0x2df18a=new _0x8571a6(_0x187ca5,_0x2189b5['map'](_0x341f83=>this['_getViewObj'](_0x341f83)));this['editor']['data']['processor']['useFillerType']('marked'),_0x12cd66[_0x49dba0]=this['editor']['data']['processor']['toData'](_0x2df18a),this['editor']['data']['processor']['useFillerType']('default');}return _0x12cd66;}async['getRevisionRootsAttributes'](_0x4135a7){await this['loadRevisionData'](_0x4135a7);const _0x189227={};for(const _0xc79640 in _0x4135a7['diffData'])_0x4135a7['diffData'][_0xc79640]['attachChange']&&!_0x4135a7['diffData'][_0xc79640]['attachChange']['isAttached']||(_0x189227[_0xc79640]=_0x4135a7['diffData'][_0xc79640]['attributesAfter']||{});return _0x189227;}['_removeRevisionMarkers'](_0x4cb120){return(_0x4cb120=_0x4cb120['filter'](_0x4928dd=>!_0x4928dd['name']||'revision-start'!==_0x4928dd['name']&&'revision-end'!==_0x4928dd['name']))['forEach'](_0x542bd4=>{'string'!=typeof _0x542bd4&&(_0x542bd4['children']=this['_removeRevisionMarkers'](_0x542bd4['children']),_0x542bd4['attributes']=_0x542bd4['attributes']['filter'](_0xfbb28d=>!_0xfbb28d[0x0]['startsWith']('data-revision-')));}),_0x4cb120;}async['compare'](_0x3ff7db,_0x6bc3f4,_0x47e4b7=!0x1){if(!this['isEnabled'])return;const _0x5b27c7=this['diff'],_0x5bf428=this['repository'],_0x5301d5='string'==typeof _0x3ff7db?_0x5bf428['getRevision'](_0x3ff7db):_0x3ff7db,_0x2fe1f2='string'==typeof _0x6bc3f4?_0x5bf428['getRevision'](_0x6bc3f4):_0x6bc3f4,_0x14c799=_0x5301d5['id'],_0x441c1a=_0x2fe1f2?_0x2fe1f2['id']:null;if(!_0x47e4b7&&this['diff']&&this['diff']['newRevisionId']===_0x14c799&&this['diff']['oldRevisionId']===_0x441c1a)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x14c799,_0x441c1a);const _0x49b511=this['_getRevisionsRange'](_0x5301d5,_0x2fe1f2,!0x0)['map'](_0x1c46d1=>this['loadRevisionData'](_0x1c46d1));return _0x49b511['push'](new Promise(_0x3b42c0=>{setTimeout(_0x3b42c0,0x14);})),Promise['all'](_0x49b511)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4784b4=this['_getDiff'](_0x14c799,_0x441c1a);for(const _0x39f2e0 of _0x4784b4['changes'])this['_changeIdToChange']['set'](_0x39f2e0['id'],_0x39f2e0);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xb40fa0=>{for(const _0x5c2743 of this['editor']['model']['document']['getRootNames']())_0xb40fa0['detachRoot'](_0x5c2743);for(const _0x52c3b0 of Object['keys'](_0x4784b4['model'])){const _0x1be422=_0xb40fa0['addRoot'](_0x52c3b0);for(const _0x5552f2 of Object['keys'](_0x4784b4['attributes'][_0x52c3b0]))_0xb40fa0['setAttribute'](_0x5552f2,_0x4784b4['attributes'][_0x52c3b0][_0x5552f2],_0x1be422);_0xb40fa0['insert'](_0x4784b4['model'][_0x52c3b0],_0x1be422,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4784b4['changes'])),this['isReady']=!0x0;})['catch'](_0x57bb26=>{console['error'](_0x57bb26),this['_cleanUp'](),_0x5b27c7&&(this['diff']=_0x5b27c7),this['isReady']=!0x0;});}['addRevisionData'](_0x9d0fe7,_0x900cef){const _0xaa281d=this['repository']['createRevision'](_0x9d0fe7);return _0xaa281d['on']('_update',(_0x239233,_0x26603b,_0x23e369)=>_0x900cef(_0x26603b,_0x23e369,_0xaa281d)),this['repository']['addRevision'](_0xaa281d),_0xaa281d;}['loadRevisionData'](_0x252818){if(!_0x252818||_0x252818['diffData'])return Promise['resolve']();{const _0x26f842=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x26f842,'revisionId':_0x252818['id']})['then'](_0x39c550=>{_0x252818['_update']({'diffData':_0x39c550['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},_0x52aecc=>{for(const _0x59e1cf of this['editor']['model']['document']['getRootNames']())_0x52aecc['detachRoot'](_0x59e1cf);});}['_sortAndFilterDiffChanges'](_0x4d01b4){const _0x588edd=[],_0x3ff328=new Map();for(const _0x513501 of this['editor']['model']['document']['getRootNames']()){const _0x2706c4=this['editor']['editing']['view']['getDomRoot'](_0x513501);if(!_0x2706c4)continue;const _0x90ceea=_0x2706c4['getClientRects']()['item'](0x0);_0x90ceea&&(_0x588edd['push'](_0x513501),_0x3ff328['set'](_0x513501,_0x90ceea));}return _0x588edd['sort']((_0x53389a,_0x4097ef)=>{const _0x1cc7f3=_0x3ff328['get'](_0x53389a),_0x3a8b83=_0x3ff328['get'](_0x4097ef);return _0x1cc7f3['y']-_0x3a8b83['y']||_0x1cc7f3['x']-_0x3a8b83['x'];}),(_0x4d01b4=_0x4d01b4['filter'](_0x54091f=>_0x588edd['includes'](_0x54091f['rootName'])))['sort']((_0x5d9c7f,_0x52eb7d)=>_0x588edd['indexOf'](_0x5d9c7f['rootName'])-_0x588edd['indexOf'](_0x52eb7d['rootName'])),_0x4d01b4;}['_makeTape'](_0x440199){const _0x2fc6d1=Array['from'](_0x440199['markers'])['filter'](([_0x5075c7,_0x1b462f])=>_0x5075c7['startsWith']('revision:')&&!_0x1b462f['isCollapsed']),_0x5a6e99=Array['from'](this['editor']['model']['createRangeIn'](_0x440199)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2fc6d1['length'])for(const _0x28d1f9 of _0x5a6e99){const [_0x1cab33,_0x3d6577]=_0x2fc6d1[0x0],[,_0x1604d2,_0xb6da40]=_0x1cab33['split'](':');if(_0x3d6577['end']['isEqual'](_0x28d1f9['nextPosition'])&&_0x2fc6d1['shift'](),(_0x28d1f9['previousPosition']['isEqual'](_0x3d6577['start'])||_0x28d1f9['previousPosition']['isAfter'](_0x3d6577['start']))&&('insertion'==_0x1604d2?_0x28d1f9['isAdded']={'userId':_0xb6da40}:'deletion'==_0x1604d2&&(_0x28d1f9['isRemoved']={'userId':_0xb6da40})),0x0==_0x2fc6d1['length'])break;}return _0x5a6e99;}['_refreshStartEndIndex'](_0x2b6e49){const _0x17f61e=new Map();for(let _0x2e94fe=0x0;_0x2e94fe<_0x2b6e49['length'];_0x2e94fe++)'text'===_0x2b6e49[_0x2e94fe]['type']?(_0x2b6e49[_0x2e94fe]['item']['startIndex']=_0x2e94fe,_0x2b6e49[_0x2e94fe]['item']['endIndex']=_0x2e94fe):('elementStart'===_0x2b6e49[_0x2e94fe]['type']?_0x2b6e49[_0x2e94fe]['item']['startIndex']=_0x2e94fe:'elementEnd'===_0x2b6e49[_0x2e94fe]['type']&&(_0x2b6e49[_0x2e94fe]['item']['endIndex']=_0x2e94fe),_0x17f61e['set'](_0x2b6e49[_0x2e94fe]['id'],_0x2e94fe));for(const _0x235798 of _0x17f61e['values']())'elementStart'===_0x2b6e49[_0x235798]['type']?_0x2b6e49[_0x235798]['item']['endIndex']=_0x17f61e['get'](_0x2b6e49[_0x235798]['pairId']):'elementEnd'===_0x2b6e49[_0x235798]['type']&&(_0x2b6e49[_0x235798]['item']['startIndex']=_0x17f61e['get'](_0x2b6e49[_0x235798]['pairId']));}['_processTape'](_0x1a91a8){for(let _0x593dad=0x0;_0x593dad<_0x1a91a8['length'];_0x593dad++){if('elementStart'===_0x1a91a8[_0x593dad]['type'])_0x1a91a8[_0x593dad]['item']['startIndex']=_0x593dad;else{if('elementEnd'===_0x1a91a8[_0x593dad]['type']){_0x1a91a8[_0x593dad]['item']['endIndex']=_0x593dad;const _0xe08100=_0x1a91a8[_0x593dad]['item']['startIndex'];_0x1a91a8[_0xe08100]['pairId']=_0x1a91a8[_0x593dad]['id'],_0x1a91a8[_0x593dad]['pairId']=_0x1a91a8[_0xe08100]['id'];}else _0x1a91a8[_0x593dad]['item']['startIndex']=_0x593dad,_0x1a91a8[_0x593dad]['item']['endIndex']=_0x593dad,_0x1a91a8[_0x593dad]['pairId']=null;}_0x1a91a8[_0x593dad]['markersStart']||(_0x1a91a8[_0x593dad]['markersStart']=[],_0x1a91a8[_0x593dad]['markersEnd']=[]);}}['_markInsertions'](_0xf98876,_0x24ed24){const _0x143f01=_0xf98876['filter'](_0x78b03a=>!_0x78b03a['isAdded']);for(let _0x14d094=0x0;_0x14d094<_0x24ed24['length'];_0x14d094++)_0x24ed24[_0x14d094]['isAdded']&&(_0x143f01[_0x14d094]['isAdded']=_0x24ed24[_0x14d094]['isAdded']);}['_makeModelFromViewString'](_0x451f87){const _0xc918b9=JSON['parse'](_0x451f87),_0x35636f=this['editor']['editing']['view']['document'],_0x1e9a04=new _0x8571a6(_0x35636f,_0xc918b9['map'](_0x3ac7f2=>this['_getViewObj'](_0x3ac7f2)));return this['editor']['data']['toModel'](_0x1e9a04);}['_getViewObj'](_0x2f19e1){const _0x7ff7b7=this['editor']['editing']['view']['document'];if('string'==typeof _0x2f19e1)return new _0x47182f(_0x7ff7b7,_0x2f19e1);{const _0x2c6851=_0x2f19e1['children']['map'](_0x943d24=>this['_getViewObj'](_0x943d24));return new(tt[_0x2f19e1['type']]||_0x1d75e6)(_0x7ff7b7,_0x2f19e1['name'],_0x2f19e1['attributes'],_0x2c6851);}}['_getDiff'](_0x358ab7,_0x2b372c=null){const _0x4c730f=this['repository']['getRevision'](_0x358ab7),_0x27f62d=_0x2b372c?this['repository']['getRevision'](_0x2b372c):null,_0x33f1bd=this['_getRevisionsRange'](_0x4c730f,_0x27f62d),_0x38932f=_0x33f1bd[_0x33f1bd['length']-0x1],_0x360090=new Map(),_0x11245a={'model':{},'attributes':{},'changes':[]},_0x3e27b4=new Set(),_0x1b79bc=new Map();for(let _0x4e4694=_0x33f1bd['length']-0x1;_0x4e4694>=0x0;_0x4e4694--){const _0x6f4441=_0x33f1bd[_0x4e4694];for(const _0x2a4ace of Object['keys'](_0x6f4441['diffData']))if(_0x6f4441['diffData'][_0x2a4ace]['attachChange']){const _0x297f4d=_0x6f4441['diffData'][_0x2a4ace]['attachChange'];_0x297f4d['isAttached']?(_0x3e27b4['add'](_0x2a4ace),_0x1b79bc['has'](_0x2a4ace)&&_0x1b79bc['get'](_0x2a4ace)['userId']==_0x297f4d['userId']?_0x1b79bc['delete'](_0x2a4ace):_0x1b79bc['set'](_0x2a4ace,_0x297f4d)):_0x1b79bc['has'](_0x2a4ace)?(_0x3e27b4['delete'](_0x2a4ace),_0x1b79bc['delete'](_0x2a4ace)):(_0x3e27b4['add'](_0x2a4ace),_0x1b79bc['set'](_0x2a4ace,_0x297f4d));}else _0x3e27b4['add'](_0x2a4ace);}for(const _0x24b181 of _0x3e27b4){const _0x5018bd=_0x1b79bc['has'](_0x24b181)&&!_0x1b79bc['get'](_0x24b181)['isAttached'];let _0x1be9b6=_0x5018bd?_0x33f1bd['length']-0x1:0x0;const _0x54b79a=_0x5018bd?-0x1:0x1;for(;_0x33f1bd[_0x1be9b6];){const _0x3a4346=_0x33f1bd[_0x1be9b6];if(_0x3a4346['diffData'][_0x24b181]){const _0x1d43a9=_0x5018bd?_0x3a4346['diffData'][_0x24b181]['attributesBefore']:_0x3a4346['diffData'][_0x24b181]['attributesAfter'];_0x11245a['attributes'][_0x24b181]=_0x1d43a9?_0x329630(_0x1d43a9):{};break;}_0x1be9b6+=_0x54b79a;}}for(const _0x124357 of _0x33f1bd){_0x124357['model']={};for(const _0x38e4f7 of _0x124357['authors'])_0x360090['set'](_0x38e4f7['id'],_0x38e4f7);for(const _0x4b06d1 of _0x3e27b4){const _0x2c613c=_0x124357['diffData'][_0x4b06d1]?_0x124357['diffData'][_0x4b06d1]['insertions']:'[]',_0x339237=_0x124357['diffData'][_0x4b06d1]?_0x124357['diffData'][_0x4b06d1]['deletions']:'[]';_0x124357['model'][_0x4b06d1]={'insertions':this['_makeModelFromViewString'](_0x2c613c),'deletions':this['_makeModelFromViewString'](_0x339237)};}}for(const _0x2609bc of _0x3e27b4){let _0x4344cf=null,_0x505c37=0x0;const _0x45d51a=new Map(Array['from'](_0x4c730f['model'][_0x2609bc]['insertions']['markers'])['filter'](([_0x4a014a])=>!_0x4a014a['startsWith']('revision:')));let _0x201b46=0x0;for(const _0x360d35 of _0x33f1bd){const _0x4787c2=this['_makeTape'](_0x360d35['model'][_0x2609bc]['insertions']);_0x360d35==_0x4c730f?(_0x4344cf=_0x4787c2,_0x505c37=_0x4344cf['length'],_0x4344cf['forEach'](_0x5f2693=>{_0x5f2693['id']=_0x201b46++;}),this['_processTape'](_0x4344cf)):this['_markInsertions'](_0x4344cf,_0x4787c2);const _0x3707b3=_0x4344cf['filter'](_0x50df7d=>!_0x50df7d['isAdded'])['map'](_0x4937a9=>_0x4937a9['id']);let _0x5bc2a6=0x0;const _0x4fa525=this['_makeTape'](_0x360d35['model'][_0x2609bc]['deletions']);_0x4fa525['forEach'](_0x462632=>{_0x462632['isRemoved']?_0x462632['id']=_0x505c37++:_0x462632['id']=_0x3707b3[_0x5bc2a6++];}),this['_processTape'](_0x4fa525),this['_setDistance'](_0x4344cf,'isAdded'),this['_setDistance'](_0x4fa525,'isRemoved'),_0x360d35==_0x4c730f&&this['_markMarkers'](_0x4344cf,_0x45d51a),_0x4344cf=this['_joinTapes'](_0x4344cf,_0x4fa525),this['_refreshStartEndIndex'](_0x4344cf),this['_setDistance'](_0x4344cf,'isRemoved');}_0x4344cf=_0x4344cf['filter'](_0x18562f=>!(_0x18562f['isAdded']&&_0x18562f['isRemoved']));const _0x315ee4=new Map(_0x38932f['model'][_0x2609bc]['deletions']['markers']),_0x24f097=new Set(_0x45d51a['keys']());for(const _0x1c5a60 of _0x315ee4['keys']())_0x24f097['delete'](_0x1c5a60);this['_markSuggestions'](_0x4344cf,_0x24f097),this['_fixObsoleteTags'](_0x4344cf),_0x4344cf=this['_removeMissingPairs'](_0x4344cf),_0x4344cf=this['_markMismatchedRemovedTags'](_0x4344cf),_0x4344cf=this['_removeUnsupportedChanges'](_0x4344cf);const {root:_0x3c1ae9,changes:_0x171e64}=this['_makeModelFromTape'](_0x4344cf,_0x360090,_0x2609bc);_0x11245a['model'][_0x2609bc]=_0x3c1ae9;const _0x5af59b=_0x1b79bc['get'](_0x2609bc);if(_0x5af59b){const _0x1d8aaa=_0x360090['get'](_0x5af59b['userId']),_0x4409b1=new r({'author':_0x1d8aaa,'type':_0x5af59b['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2609bc});_0x171e64['unshift'](_0x4409b1),_0x11245a['attributes'][_0x2609bc]['revisionHistoryAttachChange']=_0x4409b1['id'];}_0x11245a['changes']=_0x11245a['changes']['concat'](_0x171e64);}return _0x11245a;}['_markMarkers'](_0x3001fb,_0x3804f3){for(let _0x36d660=0x0;_0x36d660<_0x3001fb['length'];_0x36d660++)for(const [_0x39dd02,_0x4c58f3]of _0x3804f3)_0x4c58f3['start']['isEqual'](_0x3001fb[_0x36d660]['previousPosition'])&&_0x3001fb[_0x36d660]['markersStart']['push'](_0x39dd02),_0x4c58f3['end']['isEqual'](_0x3001fb[_0x36d660]['nextPosition'])&&_0x3001fb[_0x36d660]['markersEnd']['push'](_0x39dd02);}['_joinTapes'](_0x23b52f,_0x4a0f8b){let _0x18a99b=[],_0x5e4854=0x0,_0x24231d=0x0;for(;_0x5e4854<_0x23b52f['length']||_0x24231d<_0x4a0f8b['length'];){const _0x403478=_0x23b52f[_0x5e4854]||{},_0x596ab4=_0x4a0f8b[_0x24231d]||{};if(_0x403478['id']==_0x596ab4['id'])_0x5e4854++,_0x24231d++,_0x18a99b['push'](_0x403478);else{if(_0x596ab4['isRemoved']&&_0x403478['isAdded']){const {commonTape:_0x1d16d8,iEnd:_0x257baa,jEnd:_0x48e7f4}=this['_threeWayMerge'](_0x23b52f,_0x5e4854,_0x4a0f8b,_0x24231d);_0x18a99b=_0x18a99b['concat'](_0x1d16d8),_0x5e4854=_0x257baa,_0x24231d=_0x48e7f4;}else _0x596ab4['isRemoved']?(_0x24231d++,_0x18a99b['push'](_0x596ab4)):(_0x5e4854++,_0x18a99b['push'](_0x403478));}}return _0x18a99b;}['_markSuggestions'](_0x5e7213,_0x1b1236){const _0x105844=[];for(let _0xea2e66=0x0;_0xea2e66<_0x5e7213['length'];_0xea2e66++){for(let _0xf48cd=0x0;_0xf48cd<_0x5e7213[_0xea2e66]['markersStart']['length'];_0xf48cd++){const _0x1544c4=_0x5e7213[_0xea2e66]['markersStart'][_0xf48cd];if(!_0x1b1236['has'](_0x1544c4))continue;const {group:_0x363bb4,type:_0x1e1694,authorId:_0x146080}=_0x172a15(_0x1544c4);'revision-suggestion'!=_0x363bb4||'insertion'!=_0x1e1694&&'deletion'!=_0x1e1694||(_0x105844['unshift']({'type':_0x1e1694,'name':_0x1544c4,'userId':_0x146080}),_0x5e7213[_0xea2e66]['markersStart']['splice'](_0xf48cd,0x1),_0xf48cd--);}_0x2aa67d(_0x5e7213[_0xea2e66]);for(let _0x1ff713=0x0;_0x1ff713<_0x5e7213[_0xea2e66]['markersEnd']['length'];_0x1ff713++){const _0x24fe63=_0x5e7213[_0xea2e66]['markersEnd'][_0x1ff713];if(!_0x1b1236['has'](_0x24fe63))continue;const {group:_0x166bba,type:_0xe03b}=_0x172a15(_0x24fe63);if('revision-suggestion'!=_0x166bba||'insertion'!=_0xe03b&&'deletion'!=_0xe03b)continue;_0x5e7213[_0xea2e66]['markersEnd']['splice'](_0x1ff713,0x1),_0x1ff713--;const _0x447e73=_0x105844['findIndex'](_0x216e0b=>_0x216e0b['name']==_0x24fe63);_0x447e73>-0x1&&_0x105844['splice'](_0x447e73,0x1);}}function _0x172a15(_0x5bb7e5){const _0x319437=_0x5bb7e5['split'](':');return{'group':_0x319437[0x0],'type':_0x319437[0x1],'subType':_0x319437['length']>=0x5?_0x319437[0x2]:null,'id':_0x319437['length']<0x5?_0x319437[0x2]:_0x319437[0x3],'authorId':_0x319437['length']<0x5?_0x319437[0x3]:_0x319437[0x4],'markerCount':0x6==_0x319437['length']?_0x319437[0x5]:null};}function _0x2aa67d(_0x36b40f){for(let _0x161788=0x0;_0x161788<_0x105844['length'];_0x161788++){if(_0x36b40f['isAdded']&&'insertion'==_0x105844[_0x161788]['type'])return _0x36b40f['isAddSuggestion']=_0x105844[_0x161788],void delete _0x36b40f['isAdded'];if(!_0x36b40f['isAdded']&&!_0x36b40f['isRemoved']&&'deletion'==_0x105844[_0x161788]['type'])return void(_0x36b40f['isRemoveSuggestion']=_0x105844[_0x161788]);}}}['_setDistance'](_0x27c308,_0x2a6aba){let _0x1b64bd=0x0,_0x154019=!0x1;const _0x11299a=new Map();for(const _0x438708 of _0x27c308)_0x438708[_0x2a6aba]?_0x154019&&(_0x1b64bd++,_0x154019=!0x1):(_0x1b64bd++,_0x154019=!0x0),_0x11299a['set'](_0x438708['id'],_0x1b64bd);for(let _0x1dbc6b=0x0;_0x1dbc6b<_0x27c308['length'];_0x1dbc6b++){if('isRemoved'==_0x2a6aba&&_0x27c308[_0x1dbc6b]['isAdded']||'isAdded'==_0x2a6aba&&_0x27c308[_0x1dbc6b]['isRemoved'])continue;if('text'==_0x27c308[_0x1dbc6b]['type']){_0x27c308[_0x1dbc6b]['distance']=0x0;continue;}const _0xe2a952=_0x11299a['get'](_0x27c308[_0x1dbc6b]['pairId']),_0x36aef7=_0x11299a['get'](_0x27c308[_0x1dbc6b]['id']);_0x27c308[_0x1dbc6b]['distance']=_0xe2a952-_0x36aef7;}}['_getRevisionsRange'](_0x3c54eb,_0x4ecb7d,_0x494e28=!0x1){const _0x43e1d8=[];let _0x561c77=this['repository']['getIndex'](_0x3c54eb),_0x454fad=this['repository']['getIndex'](_0x4ecb7d);for(-0x1==_0x454fad&&(_0x454fad=this['repository']['_revisions']['length'],_0x494e28=!0x1);_0x561c77<_0x454fad;)_0x43e1d8['push'](this['repository']['getRevision'](_0x561c77)),_0x561c77++;return _0x494e28&&_0x43e1d8['push'](this['repository']['getRevision'](_0x561c77)),_0x43e1d8;}['_threeWayMerge'](_0x2d810d,_0x451a0f,_0x298d81,_0x40d3d2){const _0x41f8e3=this['editor']['model']['schema'];let _0x3b1fbb=_0x451a0f;for(;_0x2d810d[_0x3b1fbb]&&_0x2d810d[_0x3b1fbb]['isAdded'];)_0x3b1fbb++;let _0x2706b2=_0x40d3d2;for(;_0x298d81[_0x2706b2]&&_0x298d81[_0x2706b2]['isRemoved'];)_0x2706b2++;_0x4e8b3b(_0x2d810d,_0x451a0f,_0x3b1fbb),_0x4e8b3b(_0x298d81,_0x40d3d2,_0x2706b2);const _0x2d497a=_0x298d81['slice'](_0x40d3d2,_0x2706b2)['concat'](_0x2d810d['slice'](_0x451a0f,_0x3b1fbb));return _0x2d497a['sort']((_0x512091,_0x2e24ec)=>_0x512091['side']!=_0x2e24ec['side']?_0x512091['side']-_0x2e24ec['side']:_0x512091['level']!=_0x2e24ec['level']?_0x512091['level']-_0x2e24ec['level']:_0x512091['distance']!=_0x2e24ec['distance']?_0x2e24ec['distance']-_0x512091['distance']:!!_0x512091['isAdded']!=!!_0x2e24ec['isAdded']?-0x1==_0x512091['side']||0x0==_0x512091['side']?_0x512091['isAdded']?-0x1:0x1:_0x512091['isAdded']?0x1:-0x1:_0x512091['index']-_0x2e24ec['index']),{'commonTape':_0x2d497a,'iEnd':_0x3b1fbb,'jEnd':_0x2706b2};function _0x4e8b3b(_0x72319e,_0x4a2476,_0x549514){let _0x433a3f=-0x1,_0x50486f=Number['POSITIVE_INFINITY'],_0x2a9477=!0x0;for(let _0x511deb=_0x4a2476;_0x511deb<_0x549514;_0x511deb++)if(_0x41f8e3['isInline'](_0x72319e[_0x511deb]['item'])||(_0x2a9477=!0x1),_0x72319e[_0x511deb]['item']['startIndex']<_0x4a2476&&(_0x433a3f=_0x511deb),_0x72319e[_0x511deb]['item']['endIndex']>=_0x549514){_0x50486f=_0x511deb;break;}_0x2a9477&&(_0x433a3f=_0x549514-0x1);for(let _0x27e3b4=_0x4a2476;_0x27e3b4<_0x549514;_0x27e3b4++)_0x72319e[_0x27e3b4]['side']=_0x27e3b4<=_0x433a3f?-0x1:_0x27e3b4<_0x50486f?0x0:0x1,_0x72319e[_0x27e3b4]['index']=_0x27e3b4;let _0x5bd48a=0x0;for(let _0x5c5456=_0x4a2476;_0x5c5456<=_0x433a3f;_0x5c5456++)0x0==_0x72319e[_0x5c5456]['distance']?_0x72319e[_0x5c5456]['level']=_0x5bd48a:(_0x5bd48a++,_0x72319e[_0x5c5456]['level']=_0x5bd48a,_0x5bd48a++);for(let _0x37f863=_0x4a2476;_0x37f863<_0x549514;_0x37f863++)0x0==_0x72319e[_0x37f863]['side']&&(_0x72319e[_0x37f863]['level']=_0x5bd48a);_0x5bd48a=0x0;for(let _0x3d93dc=_0x549514-0x1;_0x3d93dc>=_0x50486f;_0x3d93dc--)0x0==_0x72319e[_0x3d93dc]['distance']?_0x72319e[_0x3d93dc]['level']=_0x5bd48a:(_0x5bd48a--,_0x72319e[_0x3d93dc]['level']=_0x5bd48a,_0x5bd48a--);}}['_fixObsoleteTags'](_0x270bf5){const _0x1f584d=new Map(),_0x382bc7=this['editor']['model']['schema'];for(let _0x4b8196=0x1;_0x4b8196<_0x270bf5['length'];_0x4b8196++){let _0x308c41,_0x469390,_0x5423f7;const _0x7b34c4=_0x270bf5[_0x4b8196],_0x3a752d=_0x270bf5[_0x4b8196-0x1];if('text'==_0x7b34c4['type'])continue;if(_0x7b34c4['type']!=_0x3a752d['type'])continue;if(!_0x382bc7['isBlock'](_0x3a752d['item'])||_0x382bc7['isLimit'](_0x3a752d['item']))continue;if(!_0x382bc7['isBlock'](_0x7b34c4['item'])||_0x382bc7['isLimit'](_0x7b34c4['item']))continue;if((_0x270bf5[_0x4b8196]['isAdded']||_0x270bf5[_0x4b8196]['isAddSuggestion'])&&_0x270bf5[_0x4b8196-0x1]['isRemoved'])_0x308c41=_0x270bf5[_0x4b8196],_0x469390=_0x270bf5[_0x4b8196-0x1],_0x5423f7=_0x4b8196-0x1;else{if(!_0x270bf5[_0x4b8196]['isRemoved']||!_0x270bf5[_0x4b8196-0x1]['isAdded']&&!_0x270bf5[_0x4b8196-0x1]['isAddSuggestion'])continue;_0x308c41=_0x270bf5[_0x4b8196-0x1],_0x469390=_0x270bf5[_0x4b8196],_0x5423f7=_0x4b8196;}const _0x1e2cb3=_0x308c41['level']==_0x469390['level'],_0x1447c4=Math['abs'](_0x308c41['level'])<Math['abs'](_0x469390['level'])&&0x0==_0x469390['distance'];(_0x1e2cb3||_0x1447c4)&&(_0x1f584d['set'](_0x469390['id'],_0x308c41['id']),_0x270bf5['splice'](_0x5423f7,0x1),_0x4b8196--,_0x308c41['isAdded']=!0x1);}for(let _0x2cf002=0x0;_0x2cf002<_0x270bf5['length'];_0x2cf002++)_0x1f584d['has'](_0x270bf5[_0x2cf002]['pairId'])&&(_0x270bf5[_0x2cf002]['pairId']=_0x1f584d['get'](_0x270bf5[_0x2cf002]['pairId']));}['_removeMissingPairs'](_0x14df47){const _0x5e7f06=new Set(_0x14df47['map'](_0x5d14a2=>_0x5d14a2['id']));for(let _0x387606=0x0;_0x387606<_0x14df47['length'];_0x387606++)_0x5e7f06['has'](_0x14df47[_0x387606]['pairId'])||0x0==_0x14df47[_0x387606]['distance']||(_0x14df47[_0x387606]['isIncorrect']=!0x0);return _0x14df47['filter'](_0x852c53=>!_0x852c53['isIncorrect']);}['_markMismatchedRemovedTags'](_0x1ca8db){const _0x580ff0=new Set();for(let _0x4794f4=0x0;_0x4794f4<_0x1ca8db['length'];_0x4794f4++){if(_0x580ff0['has'](_0x1ca8db[_0x4794f4]['id'])&&_0x1ca8db[_0x4794f4]['isRemoved']&&(_0x1ca8db[_0x4794f4]['isIncorrect']=!0x0),_0x1ca8db[_0x4794f4]['isIncorrect'])continue;if(0x0==_0x1ca8db[_0x4794f4]['distance'])continue;if('elementStart'!=_0x1ca8db[_0x4794f4]['type'])continue;if(null==_0x1ca8db[_0x4794f4]['pairId'])continue;let _0x4dddce=_0x4794f4+0x1,_0x4787e7=0x0;for(;_0x1ca8db[_0x4dddce]['id']!=_0x1ca8db[_0x4794f4]['pairId'];)'elementStart'==_0x1ca8db[_0x4dddce]['type']?_0x4787e7++:'elementEnd'==_0x1ca8db[_0x4dddce]['type']&&_0x4787e7--,_0x4dddce++;if(0x0!=_0x4787e7){if(_0x1ca8db[_0x4794f4]['isRemoved'])_0x1ca8db[_0x4794f4]['isIncorrect']=!0x0;else{for(;_0x4dddce!=_0x4794f4;)_0x1ca8db[_0x4dddce]['isRemoved']&&0x0!=_0x1ca8db[_0x4dddce]['distance']&&(_0x1ca8db[_0x4dddce]['isIncorrect']=!0x0,_0x580ff0['add'](_0x1ca8db[_0x4dddce]['pairId'])),_0x4dddce--;}}}return _0x1ca8db['filter'](_0xc7408a=>!_0xc7408a['isIncorrect']);}['_removeUnsupportedChanges'](_0x50f502){const _0x18adb3=this['editor']['model']['schema'];for(let _0x35a72a=0x0;_0x35a72a<_0x50f502['length'];_0x35a72a++){if(!(_0x50f502[_0x35a72a]['isAdded']||_0x50f502[_0x35a72a]['isAddSuggestion']||_0x50f502[_0x35a72a]['isRemoved']||_0x50f502[_0x35a72a]['isRemoveSuggestion']))continue;if(0x0==_0x50f502[_0x35a72a]['distance'])continue;const _0x3b826b=_0x50f502[_0x35a72a]['item'];_0x18adb3['isBlock'](_0x3b826b)||_0x18adb3['isLimit'](_0x3b826b)||(_0x50f502[_0x35a72a]['isAdded']&&delete _0x50f502[_0x35a72a]['isAdded'],_0x50f502[_0x35a72a]['isAddSuggestion']&&delete _0x50f502[_0x35a72a]['isAddSuggestion'],_0x50f502[_0x35a72a]['isRemoveSuggestion']&&delete _0x50f502[_0x35a72a]['isRemoveSuggestion'],_0x50f502[_0x35a72a]['isRemoved']&&(_0x50f502[_0x35a72a]['isIncorrect']=!0x0));}return _0x50f502['filter'](_0x184dcd=>!_0x184dcd['isIncorrect']);}['_makeModelFromTape'](_0x5a8897,_0x551b59,_0x131ae0){const _0x4022d9=new wt(),_0x35f00a=[],_0x5a95e1=new Map(),_0x34fcd7=this['editor']['model'],_0x46b0fc=_0x34fcd7['schema'],_0x30741b=[_0x4022d9],_0x18900c={},_0x3788b9={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xa8168b=null;const _0x3782eb=[0x0];for(let _0xb835cf=0x0;_0xb835cf<_0x5a8897['length'];_0xb835cf++){let _0x3ffd6d,_0x169ace;if('elementStart'===_0x5a8897[_0xb835cf]['type']){_0x3ffd6d=_0x34fcd7['createPositionFromPath'](_0x4022d9,_0x3782eb);const _0x5c5376=new ft(_0x5a8897[_0xb835cf]['item']['name'],_0x5a8897[_0xb835cf]['item']['getAttributes']());_0x30741b[0x0]['_appendChild'](_0x5c5376),_0x3782eb['push'](0x0),_0x30741b['unshift'](_0x5c5376),_0x169ace=_0x34fcd7['createPositionFromPath'](_0x4022d9,_0x3782eb),_0xa8168b=null;}else{if('elementEnd'===_0x5a8897[_0xb835cf]['type'])_0x30741b['shift'](),_0x3ffd6d=_0x34fcd7['createPositionFromPath'](_0x4022d9,_0x3782eb),_0x3782eb['pop'](),_0x3782eb[_0x3782eb['length']-0x1]++,_0x169ace=_0x34fcd7['createPositionFromPath'](_0x4022d9,_0x3782eb),_0xa8168b=null;else{if(_0x3ffd6d=_0x34fcd7['createPositionFromPath'](_0x4022d9,_0x3782eb),_0xa8168b&&_0x198a35(_0xa8168b,_0x5a8897[_0xb835cf]['item']))_0xa8168b['_data']+=_0x5a8897[_0xb835cf]['item']['data'];else{const _0x58489a=new _t(_0x5a8897[_0xb835cf]['item']['data'],_0x5a8897[_0xb835cf]['item']['getAttributes']());_0x30741b[0x0]['_appendChild'](_0x58489a),_0xa8168b=_0x58489a;}_0x3782eb[_0x3782eb['length']-0x1]+=_0x5a8897[_0xb835cf]['item']['offsetSize'],_0x169ace=_0x34fcd7['createPositionFromPath'](_0x4022d9,_0x3782eb);}}for(const _0x3db823 of _0x5a8897[_0xb835cf]['markersStart'])_0x5a95e1['set'](_0x3db823,{'start':_0x3ffd6d,'end':null});_0x13f9a1('isRemoveSuggestion',_0xb835cf,_0x3ffd6d,_0x169ace),_0x13f9a1('isAddSuggestion',_0xb835cf,_0x3ffd6d,_0x169ace),_0x13f9a1('isRemoved',_0xb835cf,_0x3ffd6d,_0x169ace),_0x13f9a1('isAdded',_0xb835cf,_0x3ffd6d,_0x169ace);for(const _0x210761 of _0x5a8897[_0xb835cf]['markersEnd']){_0x5a95e1['get'](_0x210761)['end']=_0x169ace;}}for(const [_0x39d56e,_0x5b5587]of _0x5a95e1){const _0x583f11=this['editor']['model']['createRange'](_0x5b5587['start'],_0x5b5587['end']);_0x4022d9['markers']['set'](_0x39d56e,_0x583f11);}return _0x35f00a['sort']((_0x2f7f5e,_0x49a0c5)=>{const _0x93ab20=_0x4022d9['markers']['get']('revision:'+_0x2f7f5e['id']),_0x45ab0d=_0x4022d9['markers']['get']('revision:'+_0x49a0c5['id']);return _0x93ab20['start']['isBefore'](_0x45ab0d['start'])?-0x1:_0x93ab20['start']['isAfter'](_0x45ab0d['start'])?0x1:_0x93ab20['end']['isBefore'](_0x45ab0d['end'])?-0x1:_0x93ab20['end']['isAfter'](_0x45ab0d['end'])?0x1:'add'===_0x2f7f5e['type']?-0x1:0x1;}),{'root':_0x4022d9,'changes':_0x35f00a};function _0x13f9a1(_0x44fdae,_0x517a7b,_0x1fc898,_0x4f2232){const _0x2b4424=!!_0x5a8897[_0x517a7b][_0x44fdae],_0x11d97a=_0x2b4424?_0x5a8897[_0x517a7b][_0x44fdae]['userId']:null,_0x1737fa=_0x517a7b===_0x5a8897['length']-0x1,_0x4bc40d=_0x3788b9[_0x44fdae][0x0],_0x2cea41=_0x46b0fc['isObject'](_0x5a8897[_0x517a7b]['item']);!_0x18900c[_0x44fdae]&&_0x2b4424?_0x18900c[_0x44fdae]={'start':_0x1fc898,'tapeItem':_0x5a8897[_0x517a7b],'userId':_0x11d97a,'type':_0x44fdae}:_0x18900c[_0x44fdae]&&!_0x2b4424?(_0x18900c[_0x44fdae]['end']=_0x1fc898,_0x48ca83(_0x18900c[_0x44fdae]),_0x18900c[_0x44fdae]=null):_0x18900c[_0x44fdae]&&_0x2b4424&&_0x18900c[_0x44fdae]['userId']!==_0x11d97a&&(_0x18900c[_0x44fdae]['end']=_0x1fc898,_0x4bc40d&&_0x4bc40d['userId']===_0x18900c[_0x44fdae]['userId']||_0x48ca83(_0x18900c[_0x44fdae]),_0x18900c[_0x44fdae]={'start':_0x1fc898,'tapeItem':_0x5a8897[_0x517a7b],'userId':_0x11d97a,'type':_0x44fdae}),_0x18900c[_0x44fdae]&&_0x2cea41&&('elementStart'!==_0x5a8897[_0x517a7b]['type']||_0x4bc40d&&_0x4bc40d['userId']===_0x11d97a||_0x3788b9[_0x44fdae]['unshift']({'userId':_0x11d97a,'object':_0x5a8897[_0x517a7b]['item'],'change':_0x18900c[_0x44fdae]}),'elementEnd'===_0x5a8897[_0x517a7b]['type']&&_0x4bc40d&&_0x4bc40d['object']===_0x5a8897[_0x517a7b]['item']&&(_0x3788b9[_0x44fdae]['shift'](),_0x18900c[_0x44fdae]=_0x4bc40d['change'])),_0x18900c[_0x44fdae]&&_0x1737fa&&(_0x18900c[_0x44fdae]['end']=_0x4f2232,_0x48ca83(_0x18900c[_0x44fdae]),_0x18900c[_0x44fdae]=null);}function _0x48ca83({start:_0xf74936,end:_0x54b903,tapeItem:_0x33bae5,userId:_0x528473,type:_0x476a61}){const _0x5349d1=_0x33bae5['item'],_0x360be5=_0x34fcd7['schema']['isBlock'](_0x5349d1)&&!_0x34fcd7['schema']['isLimit'](_0x5349d1),_0x441fab=_0xf74936['nodeAfter']==_0x54b903['parent']&&_0x54b903['isAtStart'];if(_0x360be5&&_0x441fab)return;const _0xa68f0c=_0x34fcd7['createRange'](_0xf74936,_0x54b903),_0x3ad955=_0x551b59['get'](_0x528473),_0x52f746=new r({'author':_0x3ad955,'type':'isAdded'==_0x476a61||'isAddSuggestion'==_0x476a61?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x476a61||'isRemoveSuggestion'==_0x476a61},'createdAt':new Date(),'rootName':_0x131ae0});_0x35f00a['push'](_0x52f746),_0x4022d9['markers']['set']('revision:'+_0x52f746['id'],_0xa68f0c);}function _0x198a35(_0x41c2b0,_0xb098c8){const _0x241ba4=_0x41c2b0['getAttributes'](),_0x4f5c3e=_0xb098c8['getAttributes']();for(const _0x5e30d0 of _0x241ba4){if(_0x5e30d0[0x1]!==_0xb098c8['getAttribute'](_0x5e30d0[0x0]))return!0x1;_0x4f5c3e['next']();}return _0x4f5c3e['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x1efdc2=>{const _0x452a5c=_0x1efdc2['markerName']['split'](':')[0x1],_0x15427e=this['_getChangeFromId'](_0x452a5c);if(!_0x15427e)return null;const _0x159563='add'==_0x15427e['type']?'insertion':'deletion',_0x119927=['ck-suggestion-marker','ck-suggestion-marker-'+_0x159563];return _0x15427e['data']['isSuggestion']&&_0x119927['push']('ck-suggestion-marker-'+_0x159563+'-new'),this['activeChange']==_0x15427e&&_0x119927['push']('ck-suggestion-marker--active'),{'classes':_0x119927,'attributes':{'data-change-id':_0x452a5c}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x561f25=>{_0x561f25['on']('element:pre',(_0x277e2d,_0x35431b,_0x1c98ff)=>{const _0x4f7ef2=_0x35431b['viewItem']['getChild'](0x0);if(!_0x4f7ef2||!_0x4f7ef2['is']('element','code'))return;if(!_0x1c98ff['consumable']['consume'](_0x4f7ef2,{'attributes':['vid_start','vid_end']}))return;const _0x4099ab=_0x35431b['modelRange']['start']['nodeAfter'];_0x1c98ff['writer']['setAttribute']('vid_start',_0x4f7ef2['getAttribute']('vid_start'),_0x4099ab),_0x1c98ff['writer']['setAttribute']('vid_end',_0x4f7ef2['getAttribute']('vid_end'),_0x4099ab);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x47e14e=>{_0x47e14e['on']('element',(_0x3602cb,_0x262405,_0x1c4176)=>{if(!_0x1c4176['consumable']['consume'](_0x262405['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x262405['modelRange']['isCollapsed'])return;const _0x1c2fe3=_0x262405['modelRange']['start']['nodeAfter'];_0x1c2fe3['hasAttribute']('vid_start')||_0x1c2fe3['hasAttribute']('vid')||(_0x1c4176['writer']['setAttribute']('vid_start',_0x262405['viewItem']['getAttribute']('vid_start'),_0x1c2fe3),_0x1c4176['writer']['setAttribute']('vid_end',_0x262405['viewItem']['getAttribute']('vid_end'),_0x1c2fe3));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0xfaf25c=>_0xfaf25c['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x571aaa,[,_0x3c3db5])=>{['vid_start','vid_end','vid']['includes'](_0x3c3db5)&&(_0x571aaa['return']=!0x0,_0x571aaa['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x5cf92c=>{_0x5cf92c['on']('attribute:vid',(_0xdec56f,_0x412710,_0x5bacdc)=>{if('\x20'!=_0x412710['item']['data']||_0x412710['item']['parent']['maxOffset']>0x1)return;if(!_0x5bacdc['consumable']['consume'](_0x412710['item'],_0xdec56f['name']))return;const _0x1c92e7=_0x5bacdc['writer'],_0x40222a=_0x5bacdc['mapper']['toViewRange'](_0x412710['range']);_0x1c92e7['wrap'](_0x40222a,_0x1c92e7['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x49b373){const _0x77ef5c=_0x49b373['plugins']['get']('RevisionViewer');return(_0x247630,_0x169c24,_0x6ee840)=>{const _0x6fc20f=_0x169c24['markerName']['split'](':')[0x1],_0x1e5b78=_0x77ef5c['_getChangeFromId'](_0x6fc20f);if(!_0x1e5b78)return null;const _0x38e002='add'==_0x1e5b78['type']?'split':'merge';if(!_0x6ee840['consumable']['test'](_0x169c24['markerRange'],_0x247630['name']))return;const _0x5f00bb=_0x169c24['markerRange']['getWalker'](),_0x2c011b=_0x169c24['markerRange']['start'],_0x47bb78=_0x49b373['model']['schema'];let _0x564133=null,_0x27d8a8=null,_0x46c1b5=!0x1,_0x37137a=!0x1;for(const _0x1d6e04 of _0x5f00bb){const _0x42417c=_0x1d6e04['item'];_0x46c1b5=_0x46c1b5||_0x47bb78['isContent'](_0x42417c);const _0x46a4ff=_0x6ee840['mapper']['toViewElement'](_0x42417c);if(_0x46a4ff&&_0x46a4ff['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1d6e04['type']&&(_0x47bb78['isBlock'](_0x42417c)&&!_0x47bb78['isLimit'](_0x42417c)&&(_0x42417c['nextSibling']||_0x2c011b['isAtEnd']?_0x564133&&_0x564133['parent']==_0x42417c||(_0x564133=_0x42417c,_0x652fb(_0x1d6e04['previousPosition']),_0x37137a=!0x0):_0x27d8a8=_0x27d8a8||_0x1d6e04['previousPosition']));}function _0x652fb(_0xac8e7d){const _0xa10094=_0x6ee840['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x38e002}),_0x1e30f9=_0x6ee840['mapper']['toViewPosition'](_0xac8e7d);_0x1e5b78['data']['isSuggestion']&&_0x6ee840['writer']['addClass']('ck-suggestion-marker-'+_0x38e002+'-new',_0xa10094),_0x77ef5c['activeChange']==_0x1e5b78&&_0x6ee840['writer']['addClass']('ck-suggestion-marker--active',_0xa10094),_0x6ee840['writer']['insert'](_0x1e30f9,_0xa10094),_0x6ee840['mapper']['bindElementToMarker'](_0xa10094,_0x169c24['markerName']);}_0x46c1b5||_0x37137a||!_0x27d8a8||_0x652fb(_0x27d8a8);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x46094d,_0x339e2b,_0x3396f7)=>{const _0x1316d8=_0x3396f7['mapper']['markerNameToElements'](_0x339e2b['markerName']);if(_0x1316d8){for(const _0x1d8422 of _0x1316d8)(_0x1d8422['hasClass']('ck-suggestion-marker-split')||_0x1d8422['hasClass']('ck-suggestion-marker-merge'))&&(_0x3396f7['mapper']['unbindElementFromMarkerName'](_0x1d8422,_0x339e2b['markerName']),_0x3396f7['writer']['remove'](_0x1d8422));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x28be25,_0x500230,_0x1c227a)=>{const _0x34d9c5=_0x500230['markerName']['split'](':')[0x1],_0x3fc584=this['_getChangeFromId'](_0x34d9c5);if(!_0x3fc584)return null;const _0x12ba06='add'==_0x3fc584['type']?'split':'merge';if(_0x1c227a['consumable']['test'](_0x500230['markerRange'],_0x28be25['name']))for(const _0x1a6627 of _0x500230['markerRange']['getItems']()){if(!_0x1a6627['is']('element','softBreak'))continue;const _0x473387=_0x1c227a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x12ba06}),_0x4f4e92=_0x1c227a['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x1a6627));_0x3fc584['data']['isSuggestion']&&_0x1c227a['writer']['addClass']('ck-suggestion-marker-'+_0x12ba06+'-new',_0x473387),this['activeChange']==_0x3fc584&&_0x1c227a['writer']['addClass']('ck-suggestion-marker--active',_0x473387),_0x1c227a['writer']['insert'](_0x4f4e92,_0x473387),_0x1c227a['mapper']['bindElementToMarker'](_0x473387,_0x500230['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xa23d8f=>{for(const _0x17b1be of this['editor']['model']['document']['getRootNames']()){const _0x22051e=this['editor']['model']['document']['getRoot'](_0x17b1be),_0x481d43=this['editor']['editing']['view']['document']['getRoot'](_0x17b1be);if(_0x481d43){const _0x52114d=_0x22051e['getAttribute']('revisionHistoryAttachChange');if(_0xa23d8f['removeAttribute']('data-change-id',_0x481d43),_0xa23d8f['removeClass']('ck-revision-history-root-add',_0x481d43),_0xa23d8f['removeClass']('ck-revision-history-root-remove',_0x481d43),_0xa23d8f['removeClass']('ck-revision-history-root--active',_0x481d43),_0x52114d){const _0x4357da=this['_getChangeFromId'](_0x52114d);if(!_0x4357da)return null;_0xa23d8f['setAttribute']('data-change-id',_0x52114d,_0x481d43),_0xa23d8f['addClass']('ck-revision-history-root-'+_0x4357da['type'],_0x481d43),this['activeChange']==_0x4357da&&_0xa23d8f['addClass']('ck-revision-history-root--active',_0x481d43);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xfb3ec=>'revision-comment:'+_0xfb3ec,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x505c72=>'revision-suggestion:'+_0x505c72,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2a2d68=>({'name':'suggestion:'+_0x2a2d68,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x14c947=>{const _0x565743=_0x14c947['markerName']['split'](':')[0x1];return'insertion'!=_0x565743&&'deletion'!=_0x565743?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x565743]};}}),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',(_0x418720,_0x5c6c9d,_0x17b042)=>{const _0x588caa=_0x17b042['mapper']['markerNameToElements'](_0x5c6c9d['markerName']);if(_0x588caa){for(const _0x2f138b of _0x588caa)_0x2f138b['is']('uiElement')&&(_0x17b042['mapper']['unbindElementFromMarkerName'](_0x2f138b,_0x5c6c9d['markerName']),_0x17b042['writer']['remove'](_0x2f138b));}},{'priority':'high'});}['_getChangeFromId'](_0x3b4743){return this['_changeIdToChange']['get'](_0x3b4743);}['_getViewForChange'](_0x42d5b7){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x42d5b7),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xe6a690,_0x47eed6,_0xefbd6c,_0x34fa3f)=>{_0x34fa3f&&this['_balloon']['remove'](_0x34fa3f),_0xefbd6c&&(this['_balloon']['add']({'view':_0xefbd6c,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xce2195=this['editor']['editing'],_0x1e5f21=this['_getChangeFromId'](_0xefbd6c['changeId']);let _0x4edca9;if(_0x1e5f21['data']['isOnRoot']){const _0x20e184=_0xce2195['view']['getDomRoot'](_0x1e5f21['rootName']);_0x4edca9=Array['from'](_0x20e184['getClientRects']());}else{const _0x10c521=this['editor']['model']['markers']['get']('revision:'+_0xefbd6c['changeId']);_0x4edca9=Array['from'](_0xce2195['mapper']['markerNameToElements'](_0x10c521['name']))['map'](_0x36f98a=>_0xce2195['view']['domConverter']['mapViewToDom'](_0x36f98a))['map'](_0x42c022=>Array['from'](_0x42c022['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4edca9[0x0];return _0x4edca9['find'](_0x26f16d=>_0x26f16d['top']-0x3<=this['_activeViewTarget']['y']&&_0x26f16d['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x26f16d['left']-0x3<=this['_activeViewTarget']['x']&&_0x26f16d['right']+0x3>=this['_activeViewTarget']['x'])||_0x4edca9[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5b3082,_0x763317,_0x1e5227,_0x409e4a)=>{this['activeView']=_0x1e5227?this['_getViewForChange'](_0x1e5227):null,this['editor']['model']['change'](()=>{const _0xe04106=this['editor']['editing'];_0x409e4a&&(_0x409e4a['data']['isOnRoot']?_0xe04106['view']['change'](_0x32ee5e=>{_0x32ee5e['removeClass']('ck-revision-history-root--active',_0xe04106['view']['document']['getRoot'](_0x409e4a['rootName']));}):_0xe04106['reconvertMarker']('revision:'+_0x409e4a['id'])),_0x1e5227&&(_0x1e5227['data']['isOnRoot']?_0xe04106['view']['change'](_0x20da4d=>{_0x20da4d['addClass']('ck-revision-history-root--active',_0xe04106['view']['document']['getRoot'](_0x1e5227['rootName']));}):_0xe04106['reconvertMarker']('revision:'+_0x1e5227['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x3aac1b,_0x1081c7)=>{if(this['activeChange'])return;const _0x3ea846=this['_findChangeIdFromDomTarget'](_0x1081c7['target']),_0x3de5ad=this['_changeIdToChange']['get'](_0x3ea846);_0x3de5ad?(this['_activeViewTarget']={'x':_0x1081c7['domEvent']['x'],'y':_0x1081c7['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x3de5ad)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x13e11d,_0x218d7c)=>{const _0x490085=this['_findChangeIdFromDomTarget'](_0x218d7c['target']),_0x1ac38b=this['_changeIdToChange']['get'](_0x490085);_0x1ac38b?(this['_activeViewTarget']={'x':_0x218d7c['domEvent']['x'],'y':_0x218d7c['domEvent']['y']},_0x1ac38b===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1ac38b):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x26181b){do{const _0x22ff79=_0x26181b['getAttribute']('data-change-id');if(_0x22ff79)return _0x22ff79;_0x26181b=_0x26181b['parent'];}while(_0x26181b);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x1d723f=>{for(const _0x1ad5a4 of this['editor']['model']['markers'])_0x1d723f['removeMarker'](_0x1ad5a4);});}}function et(_0x17d6fe,_0x2bbf1c){return(_0x15518f,_0x6618a3,_0x3fa0fe)=>{if(!_0x3fa0fe['consumable']['test'](_0x6618a3['markerRange'],_0x15518f['name']))return;const _0x216a5f=_0x6618a3['markerRange']['getWalker'](),_0x1af341=_0x6618a3['markerRange']['start'],_0x417607=_0x17d6fe['model']['schema'];let _0x1626d1=null,_0x35fb84=null,_0x35531e=!0x1,_0x5c3963=!0x1;for(const _0x5932ea of _0x216a5f){const _0x47097b=_0x5932ea['item'];_0x35531e=_0x35531e||_0x417607['isContent'](_0x47097b);const _0x38e125=_0x3fa0fe['mapper']['toViewElement'](_0x47097b);if(_0x38e125&&_0x38e125['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5932ea['type']&&(_0x417607['isBlock'](_0x47097b)&&!_0x417607['isLimit'](_0x47097b)&&(_0x47097b['nextSibling']||_0x1af341['isAtEnd']?_0x1626d1&&_0x1626d1['parent']==_0x47097b||(_0x1626d1=_0x47097b,_0x5c2489(_0x5932ea['previousPosition']),_0x5c3963=!0x0):_0x35fb84=_0x35fb84||_0x5932ea['previousPosition']));}function _0x5c2489(_0x2c9e83){const _0x124064=_0x3fa0fe['mapper']['toViewPosition'](_0x2c9e83),_0x494313=_0x3fa0fe['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2bbf1c});_0x3fa0fe['writer']['insert'](_0x124064,_0x494313),_0x3fa0fe['mapper']['bindElementToMarker'](_0x494313,_0x6618a3['markerName']);}_0x35531e||_0x5c3963||!_0x35fb84||_0x5c2489(_0x35fb84);};}class bt extends _0x2363a4{constructor(_0xe973df){super(_0xe973df);const _0x3aca51=_0xe973df['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x3aca51,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x3aca51,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x52c96d=this['editor'],_0x362987=_0x52c96d['plugins']['get'](d),_0x2c16ce=_0x362987['isReady']?_0x362987['diff']['newRevisionId']:null;_0x52c96d['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2c16ce);}['refresh'](){const {isReady:_0x22419c,isEnabled:_0x5f3864}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x22419c&&_0x5f3864;}}class yt extends _0x2363a4{['_step'];constructor(_0x572fa4,{direction:_0x541d66}){super(_0x572fa4);const _0x7f2390=_0x572fa4['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x541d66?0x1:-0x1,this['listenTo'](_0x7f2390,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x7f2390,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x7f2390,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x36334b=this['editor'],_0x4c8b8f=_0x36334b['plugins']['get'](d),{isNavigationMode:_0x21dfff,currentChangeNumber:_0x2ab102}=_0x4c8b8f;let _0x48ae3c;if(_0x4c8b8f['activeChange']=_0x21dfff?_0x4c8b8f['diff']['changes']['get'](_0x2ab102+this['_step']):_0x4c8b8f['diff']['changes']['first'],_0x4c8b8f['activeChange']['data']['isOnRoot'])_0x48ae3c=_0x36334b['editing']['view']['getDomRoot'](_0x4c8b8f['activeChange']['rootName']);else{const _0x430442=_0x36334b['model']['markers']['get']('revision:'+_0x4c8b8f['activeChange']['id']);_0x48ae3c=_0x1768d6(_0x36334b['editing'],_0x430442);}_0x2ae298({'target':_0x48ae3c,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x2583c9,currentChangeNumber:_0x50a2d3,numberOfChanges:_0x5eaae5,isReady:_0x9609a9,isEnabled:_0x26d01e}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x26d01e&&_0x9609a9&&_0x5eaae5)&&(!_0x2583c9||(0x1===this['_step']?_0x50a2d3<_0x5eaae5-0x1:_0x50a2d3>0x0));}}class _i extends _0x3aee38{constructor(_0x320c36){super(_0x320c36);const _0x2ba72e=this['bindTemplate'],_0x571079=new _0x5f0089(_0x320c36),_0x416b79=new _0x5f0089(_0x320c36);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',(_0x1278e3,_0x9ade21)=>_0x1278e3&&_0x9ade21>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x4bc1b9,_0x3c7a83,_0x2d9a6f,_0x3e19c2)=>{if(!_0x4bc1b9)return y(_0x320c36,'Loading...');if(!_0x2d9a6f)return y(_0x320c36,'No\x20changes');const _0x3d11d1=y(_0x320c36,'NUMBER_OF_CHANGES',_0x2d9a6f);return _0x3e19c2?y(_0x320c36,'X_OF_Y_CHANGES',[_0x3c7a83+0x1,_0x2d9a6f]):_0x3d11d1;}),_0x571079['set']({'label':y(_0x320c36,'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'}),_0x416b79['set']({'label':y(_0x320c36,'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'}),_0x571079['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x416b79['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x571079['on']('execute',()=>this['fire']('execute','backward')),_0x416b79['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',_0x2ba72e['if']('_isStatusLabelVisible','ck-hidden',_0x25e88c=>!_0x25e88c)]},'children':[{'text':_0x2ba72e['to']('isNavigationMode',_0x8dcfc2=>_0x8dcfc2?y(_0x320c36,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x320c36,'Total')+':\x20')}]},{'text':_0x2ba72e['to']('_statusText')}]},new _0x5d1f23(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x571079,_0x416b79]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x32b29e{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x574d56=this['editor']['editing']['view'];_0x574d56['change'](_0x34d099=>{for(const _0x2147b2 of _0x574d56['document']['roots'])_0x34d099['addClass'](ce,_0x2147b2);});}['hide'](){const _0xfbb0ba=this['editor']['editing']['view'];_0xfbb0ba['change'](_0x1f154b=>{for(const _0x5b162f of _0xfbb0ba['document']['roots'])_0x1f154b['removeClass'](ce,_0x5b162f);});}}class R extends _0x32b29e{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0xff42c0=this['editor'],_0x5ecb02=_0xff42c0['plugins']['get'](d),_0x38ee83=_0xff42c0['plugins']['get'](de);_0xff42c0['ui']['componentFactory']['add']('exitToEditing',_0x1898fc=>{const _0x4fedbc=new _0x5f0089(_0x1898fc);return _0x4fedbc['set']({'label':y(_0x1898fc,'Back\x20to\x20editing'),'icon':_0x54ca32['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4fedbc,'execute',()=>{_0xff42c0['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4fedbc;}),_0xff42c0['ui']['componentFactory']['add']('restoreRevision',_0x2bbca6=>{const _0x3f2011=new _0x5f0089(_0x2bbca6);return _0x3f2011['set']({'label':y(_0x2bbca6,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3f2011['bind']('isEnabled')['to'](_0xff42c0['commands']['get']('restoreRevision')),this['listenTo'](_0x3f2011,'execute',()=>_0xff42c0['execute']('restoreRevision')),_0x3f2011;}),_0xff42c0['ui']['componentFactory']['add']('changesNavigation',_0x4d489c=>{const _0x56e742=new _i(_0x4d489c),_0xf0b4fb=_0xff42c0['commands']['get']('showPreviousChange'),_0x1e313b=_0xff42c0['commands']['get']('showNextChange');return _0x56e742['bind']('isBackwardNavigationEnabled')['to'](_0xf0b4fb,'isEnabled'),_0x56e742['bind']('isForwardNavigationEnabled')['to'](_0x1e313b,'isEnabled'),_0x56e742['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5ecb02),this['listenTo'](_0x56e742,'execute',(_0xb13586,_0x2ec1ab)=>{_0xff42c0['execute']('forward'===_0x2ec1ab?'showNextChange':'showPreviousChange');}),_0x56e742;}),_0x38ee83['show'](),_0x5ecb02['on']('change:isReady',(_0x106034,_0x27d0c9,_0x2af341)=>{_0x2af341?_0x38ee83['hide']():_0x38ee83['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x4d679a,_0x231797){super(_0x4d679a,_0x231797);const _0x4ede22=this['bindTemplate'];this['set']({'label':y(_0x4d679a,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4d679a,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4ede22['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 _0x4f7da4=this['fieldView']['element'];this['_tooltipString']=_0x4f7da4['scrollWidth']>_0x4f7da4['clientWidth']&&_0x4f7da4['value']||'';}}class ti extends _0x3aee38{constructor(_0x40bfc2,_0x4ea8d3,_0x5dfcb3){super(_0x40bfc2);const _0x11d9d3=new _0x2c4922();_0x11d9d3['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 _0x5dc915=['ck','ck-revision-history-sidebar__revision-author'];_0x5dfcb3&&_0x5dc915['push']('ck-revision-history-sidebar__revision-author_creator');const _0x58bfe2=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x40bfc2,_0x5dfcb3?'Revision\x20creator':'Revision\x20author')},'children':[_0x11d9d3,_0x4ea8d3['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5dc915},'children':_0x58bfe2});}}function ni(_0x1755b0,_0x254030){const _0x6a7817=_0x1755b0['bindTemplate'],_0x1405d5=_0x1755b0['locale'],_0x149154=_0x5c727e(_0x1405d5);_0x149154['panelPosition']='sw';const _0x1e8130=function(_0x112b1b,_0x5158ff){const _0xfe317d=function(_0x38589a,_0x5e9c2b){const _0x1a7a26=_0x38589a['locale'],_0x43a0e4={'Compare\x20against\x20selected':y(_0x1a7a26,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x1a7a26,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x1a7a26,'Restore\x20this\x20revision')};return _0x5e9c2b['map'](_0x5b9df1=>{const _0xde7a82=_0x43a0e4[_0x5b9df1['name']];return _0xde7a82&&_0xde7a82!==_0x5b9df1['name']&&(_0x5b9df1['name']=_0xde7a82),_0x5b9df1;});}(_0x112b1b,_0x5158ff),_0x443d80=new _0x23ac2c();for(const _0x387313 of _0xfe317d){const _0x45b43a={'type':'button','model':new to({'label':_0x387313['name'],'class':_0x387313['class'],'withText':!0x0,'role':'menuitem','_action':_0x387313['action']})};_0x45b43a['model']['bind']('isEnabled')['to'](_0x112b1b,'isActionsDropdownOpen',_0x3b4ec0=>'function'!=typeof _0x387313['isEnabled']||(!_0x3b4ec0||_0x387313['isEnabled'](_0x112b1b))),_0x443d80['add'](_0x45b43a);}return _0x443d80;}(_0x1755b0,_0x254030);return _0x1755b0['bind']('isActionsDropdownOpen')['to'](_0x149154,'isOpen'),_0x149154['buttonView']['set']({'label':y(_0x1405d5,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x54ca32['threeVerticalDots']}),_0x149154['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x6a7817['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x6a7817['to'](_0x22b55b=>_0x22b55b['stopPropagation']())}}),_0x149154['on']('execute',_0x898b76=>{_0x1755b0['isReady']&&'function'==typeof _0x898b76['source']['_action']&&_0x898b76['source']['_action'](_0x1755b0);}),_0x551b4f(_0x149154,_0x1e8130,{'role':'menu'}),_0x149154['listenTo'](_0x1755b0,'change:isActionsDropdownOpen',(_0x50c24e,_0x4e3871,_0x3f2755)=>{if(_0x3f2755)for(const _0xfaddfe of _0x149154['listView']['items']){const _0x3c8853=_0xfaddfe['children']['first'],_0x5c9b76=_0x254030['find'](_0x50f55a=>_0x50f55a['action']===_0x3c8853['_action'])['isVisible'];_0xfaddfe['isVisible']=void 0x0===_0x5c9b76||_0x5c9b76(_0x1755b0);}}),_0x149154;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x26c9f8(_0x3aee38){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0xd4e7fa,_0x59f877,_0x1c46e5,_0xa2693c){super(_0xd4e7fa);const _0x48bb99=this['bindTemplate'],_0x4366c2=function(_0x190179,_0x4c5fc3){const _0x3bd72a=Array['from'](_0x4c5fc3['authors'])['filter'](_0x5bbe2b=>_0x5bbe2b!=_0x4c5fc3['creator']);return _0x4c5fc3['creator']&&_0x3bd72a['unshift'](_0x4c5fc3['creator']),_0x3bd72a['map'](_0x3b68d7=>new ti(_0x190179,_0x3b68d7,_0x3b68d7==_0x4c5fc3['creator']));}(_0xd4e7fa,_0x59f877);this['id']=_0x59f877['id'],this['_revision']=_0x59f877,this['_requireRevisionName']=_0xa2693c,this['bind']('name','createdAt')['to'](_0x59f877),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x4dc042=>{return _0xc0dcbd=_0xd4e7fa['uiLanguage'],(_0x4af391=_0x4dc042)['toLocaleDateString'](_0xc0dcbd,{'month':'long','day':'numeric'})+',\x20'+_0x4af391['toLocaleTimeString'](_0xc0dcbd,{'hour':'numeric','minute':'numeric'});var _0xc0dcbd,_0x4af391;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0xd4e7fa,_0x4d804a),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3f2c1c=>_0x3f2c1c||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1becd5,_0x33cebb)=>_0x1becd5&&_0x33cebb),this['revisionActionsView']=_0x1c46e5&&_0x1c46e5['length']?ni(this,_0x1c46e5):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x48bb99['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x48bb99['if']('isEnabled','ck-disabled',_0x532e81=>!_0x532e81),_0x48bb99['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x48bb99['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x48bb99['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':_0x48bb99['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':_0x4366c2}]},this['revisionActionsView']],'on':{'click':_0x48bb99['to'](_0x4c8641=>{_0x4c8641['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x4b388b=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4b388b,'change',()=>{this['_requireRevisionName']&&!_0x4b388b['value']||this['fire']('setName',{'id':this['id'],'name':_0x4b388b['value']}),_0x4b388b['value']||(_0x4b388b['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(_0x2a1c05,_0x1ebf6d){const _0x21c818=_0x23d98f['fromJSDate'](_0x2a1c05)['setLocale'](_0x1ebf6d),_0x4ac722=_0x23d98f['local'](),_0x4af85d=_0x4ac722['minus']({'days':0x1})['startOf']('day');let _0x1d3c51,_0x2db1ce;return _0x21c818['hasSame'](_0x4ac722,'day')?(_0x1d3c51=_0x21c818['startOf']('day')['toJSDate'](),_0x2db1ce=_0x21c818['toRelativeCalendar']()):_0x21c818['hasSame'](_0x4af85d,'day')?(_0x1d3c51=_0x4af85d['toJSDate'](),_0x2db1ce=_0x21c818['toRelativeCalendar']()):_0x21c818['hasSame'](_0x4ac722,'week')?(_0x1d3c51=_0x21c818['startOf']('week')['toJSDate'](),_0x2db1ce=_0x21c818['weekdayLong']||''):_0x21c818['hasSame'](_0x4ac722,'year')?(_0x1d3c51=_0x21c818['startOf']('month')['toJSDate'](),_0x2db1ce=_0x21c818['monthLong']||''):(_0x1d3c51=_0x21c818['startOf']('year')['toJSDate'](),_0x2db1ce=String(_0x21c818['year'])),{'startDate':_0x1d3c51,'localizedPeriodName':_0x2db1ce};}class mi extends _0x3aee38{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0xe2f077,_0x1f97ef,_0x12b753,_0x196ad6){super(_0xe2f077);const _0x57073f=di(_0x1f97ef,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x1f97ef,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x12b753,this['_requireRevisionName']=_0x196ad6,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':_0x57073f}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x37bfa8){const _0x3daeca=new ai(this['locale'],_0x37bfa8,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x3daeca);}['removeRevision'](_0x26c328){const _0x525a88=this['revisionViews']['find'](_0x17dddf=>_0x17dddf['id']===_0x26c328['id']);this['revisionViews']['remove'](_0x525a88);}}class as extends _0x3aee38{constructor(_0x3d6c97){super(_0x3d6c97);const _0x1e0609=new _0x2c4922();_0x1e0609['content']=_0x54ca32['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x1e0609,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3d6c97,'Revision\x20history')]}]});}}class ci extends _0x3aee38{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x258b9a,_0x22aba3,_0x5423e5,_0x19ee73){super(_0x258b9a);const _0x27e1a0=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x22aba3,this['_revisionActions']=_0x5423e5,this['_requireRevisionName']=_0x19ee73,this['on']('select',(_0x321f9f,_0x43166f)=>{this['fire']('revisionSelected',_0x43166f);}),this['on']('setName',(_0x36583b,_0x15b50c)=>{this['fire']('revisionSetName',_0x15b50c);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x258b9a),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x27e1a0['if']('isEnabled','ck-disabled',_0x584675=>!_0x584675)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x56beff of this['_revisions'])this['_addRevision'](_0x56beff);this['_revisions']['on']('add',(_0xa5c3f6,_0x278e05)=>{this['_addRevision'](_0x278e05);}),this['_revisions']['on']('remove',(_0x5b85f6,_0xdfa34b)=>{this['_removeRevision'](_0xdfa34b);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x218012=>_0x218012['revisionViews']['map'](_0x35777d=>_0x35777d))['flat']();}['selectRevision'](_0x391cf7){for(const _0x2d0ca5 of this['revisionViews'])_0x391cf7&&_0x391cf7['id']===_0x2d0ca5['id']?_0x2d0ca5['select']():_0x2d0ca5['deselect']();}['highlightRevisions'](_0x2ce5b1){for(const _0x1fafd1 of this['revisionViews'])_0x2ce5b1['some'](({id:_0x56a6e8})=>_0x56a6e8===_0x1fafd1['id'])?_0x1fafd1['highlight']():_0x1fafd1['unhighlight']();}['_addRevision'](_0x5ac087){const _0x5ba6fc=di(_0x5ac087['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x494b19=this['timePeriodViews']['get'](0x0);_0x494b19&&_0x494b19['startDate']['getTime']()===_0x5ba6fc['getTime']()||(_0x494b19=new mi(this['locale'],_0x5ba6fc,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x494b19)),_0x494b19['addRevision'](_0x5ac087);}['_removeRevision'](_0x58ef2b){const _0x366709=di(_0x58ef2b['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x366709)['removeRevision'](_0x58ef2b);}['_getTimePeriodViewByStartDate'](_0x288090){return this['timePeriodViews']['find'](_0x48b2a0=>_0x48b2a0['startDate']['getTime']()===_0x288090['getTime']());}}class w extends _0x32b29e{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x4b351f,Context as _0x402a81,PendingActions as _0x475da4,icons as _0x59636f,Command as _0x5e240a,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x55e4b5,uid as _0x53494a,Collection as _0x3c6496,logWarning as _0x6ceeb6,FocusTracker as _0x2581b9,KeystrokeHandler as _0x1b5ea9,scrollViewportToShowTarget as _0x215e88,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x430f54}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2dde66,getMarkerDomElement as _0x8dee82,ConfirmMixin as _0x30b520,sanitizeEditorConfig as _0x42826f}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2a69e3,ViewText as _0x4854f0,ViewElement as _0x401451,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x5f5ce7,ViewAttributeElement as _0x1ad71f,ViewEmptyElement as _0x130eb8,ViewRawElement as _0x21fa32,ViewUIElement as _0x300504,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xac8024,set as _0x1a6b3a,unset as _0x411f7f,isEqual as _0xada6fa}from'lodash-es';import{View as _0xb47535,injectCssTransitionDisabler as ts,submitHandler as _0x527cf5,LabeledFieldView as at,createLabeledInputText as _0x5a6b5c,createDropdown as _0x43d586,ListView as te,ListItemView as _0x3259e3,ButtonView as _0x14aa36,MenuBarMenuView as _0x4fad8d,MenuBarMenuListView as _0x7521af,MenuBarMenuListItemView as _0xefe530,MenuBarMenuListItemButtonView as _0x16f20d,ContextualBalloon as _0x5cad31,ToolbarSeparatorView as _0x12013a,IconView as _0x49ae77,addListToDropdown as _0x15cb9d,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 _0x111e99}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x55e4b5(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x54eadb){super(),this['id']=_0x54eadb['id']||_0x53494a(),this['creator']=_0x54eadb['creator']||null,this['authors']=_0x54eadb['authors']||[],this['diffData']=_0x54eadb['diffData']||null,this['toVersion']=_0x54eadb['toVersion']||0x0,this['fromVersion']=_0x54eadb['fromVersion']||0x0,this['set']('name',_0x54eadb['name']||''),this['set']('createdAt',_0x54eadb['createdAt']||new Date()),this['set']('attributes',_0x54eadb['attributes']||{});}['setName'](_0xb6825d){this['_update']({'name':_0xb6825d});}['setAttribute'](_0x2ecf40,_0x2f9e07){const _0x9847c8=_0xac8024(this['attributes']);_0x1a6b3a(_0x9847c8,_0x2ecf40,_0x2f9e07),this['_update']({'attributes':_0x9847c8});}['removeAttribute'](_0x2303ca){const _0x1047f8=_0xac8024(this['attributes']);_0x411f7f(_0x1047f8,_0x2303ca),this['_update']({'attributes':_0x1047f8});}['_update'](_0x2d22d5,_0x3e93f6=!0x1){let _0x3ab08f=!0x1;const _0x46d676={'id':this['id']},_0x25841c=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x2cc9b5 of _0x25841c){const _0x323cca=_0x2d22d5[_0x2cc9b5];void 0x0!==_0x323cca&&_0x323cca!==this[_0x2cc9b5]&&(this[_0x2cc9b5]=_0x323cca,_0x46d676[_0x2cc9b5]=_0x323cca,_0x3ab08f=!0x0);}_0x3ab08f&&(_0x46d676['authors']&&(_0x46d676['authorsIds']=_0x46d676['authors']['map'](_0x4389d6=>_0x4389d6['id']),delete _0x46d676['authors']),this['fire']('_update',_0x46d676,_0x3e93f6));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x3e1173=>_0x3e1173['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x4b351f{['_revisions'];static get['requires'](){return[_0x2dde66];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x5a9721){super(_0x5a9721),this['_revisions']=new _0x3c6496();}['afterInit'](){!function(_0x57063a){function _0x37323e(_0x2aabad,_0x20585c,_0x385acd){const _0x43d86c={};_0x43d86c[_0x1b0389([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x43d86c[_0x1b0389([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],_0x43d86c[_0x1b0389([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],_0x43d86c[_0x1b0389([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],_0x43d86c[_0x1b0389([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],_0x43d86c[_0x1b0389([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],_0x43d86c[_0x1b0389([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],_0x43d86c[_0x1b0389([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],_0x43d86c[_0x1b0389([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],_0x43d86c[_0x1b0389([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],_0x43d86c[_0x1b0389([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 _0x579ec0=new Uint8Array(0x10);for(let _0x3b6714=0xf;_0x3b6714>=0x0;--_0x3b6714)_0x579ec0[_0x3b6714]=_0x385acd%0x100,_0x385acd=parseInt(_0x385acd/0x100);let _0x182a0b=null,_0x3a2213=0x10;const _0x5dfc7b=new Uint8Array(_0x20585c),_0x188628=[],_0x42e760=[];_0x3ec84c();for(let _0x327f8c=0x0;_0x327f8c<_0x2aabad[_0x1b0389([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x327f8c++)0x10===_0x3a2213&&(_0x182a0b=_0x20700c(_0x579ec0),_0x3a2213=0x0,_0x56b26d(_0x579ec0)),_0x2aabad[_0x327f8c]^=_0x182a0b[_0x3a2213++];return _0x2aabad;function _0x52e6eb(_0x529b35){const _0x331914=[];for(let _0x579cd8=0x0;_0x579cd8<_0x529b35[_0x1b0389([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x579cd8+=0x4)_0x331914[_0x1b0389([0x70,0x75,0x73,0x68])](_0x529b35[_0x579cd8]<<0x18|_0x529b35[_0x579cd8+0x1]<<0x10|_0x529b35[_0x579cd8+0x2]<<0x8|_0x529b35[_0x579cd8+0x3]);return _0x331914;}function _0x56b26d(_0x3ffe1e){for(let _0x38dfbf=0xf;_0x38dfbf>=0x0;_0x38dfbf--){if(0xff!==_0x3ffe1e[_0x38dfbf]){_0x3ffe1e[_0x38dfbf]++;break;}_0x3ffe1e[_0x38dfbf]=0x0;}}function _0x20700c(_0x3abb5f){const _0x21b1f0=_0x188628[_0x1b0389([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x31e470=[0x0,0x0,0x0,0x0];let t=_0x52e6eb(_0x3abb5f);for(let _0x342b50=0x0;_0x342b50<0x4;_0x342b50++)t[_0x342b50]^=_0x188628[0x0][_0x342b50];for(let _0x4aa7b9=0x1;_0x4aa7b9<_0x21b1f0;_0x4aa7b9++){for(let _0x102332=0x0;_0x102332<0x4;_0x102332++)_0x31e470[_0x102332]=_0x43d86c[_0x1b0389([0x54,0x31])][t[_0x102332]>>0x18&0xff]^_0x43d86c[_0x1b0389([0x54,0x32])][t[(_0x102332+0x1)%0x4]>>0x10&0xff]^_0x43d86c[_0x1b0389([0x54,0x33])][t[(_0x102332+0x2)%0x4]>>0x8&0xff]^_0x43d86c[_0x1b0389([0x54,0x34])][0xff&t[(_0x102332+0x3)%0x4]]^_0x188628[_0x4aa7b9][_0x102332];t=_0x31e470[_0x1b0389([0x73,0x6c,0x69,0x63,0x65])]();}const _0x40336d=new Uint8Array(0x10);let _0xe400d4;for(let _0x2b9ce4=0x0;_0x2b9ce4<0x4;_0x2b9ce4++)_0xe400d4=_0x188628[_0x21b1f0][_0x2b9ce4],_0x40336d[0x4*_0x2b9ce4]=0xff&(_0x43d86c[_0x1b0389([0x53])][t[_0x2b9ce4]>>0x18&0xff]^_0xe400d4>>0x18),_0x40336d[0x4*_0x2b9ce4+0x1]=0xff&(_0x43d86c[_0x1b0389([0x53])][t[(_0x2b9ce4+0x1)%0x4]>>0x10&0xff]^_0xe400d4>>0x10),_0x40336d[0x4*_0x2b9ce4+0x2]=0xff&(_0x43d86c[_0x1b0389([0x53])][t[(_0x2b9ce4+0x2)%0x4]>>0x8&0xff]^_0xe400d4>>0x8),_0x40336d[0x4*_0x2b9ce4+0x3]=0xff&(_0x43d86c[_0x1b0389([0x53])][0xff&t[(_0x2b9ce4+0x3)%0x4]]^_0xe400d4);return _0x40336d;}function _0x3ec84c(){const _0x396c22=_0x43d86c[_0x1b0389([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5dfc7b[_0x1b0389([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x37bce9=0x0;_0x37bce9<=_0x396c22;_0x37bce9++)_0x188628[_0x1b0389([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x42e760[_0x1b0389([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x24a16c=0x4*(_0x396c22+0x1),_0xecfa30=_0x5dfc7b[_0x1b0389([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x5ee9b0=_0x52e6eb(_0x5dfc7b);let _0x19e1ac;for(let _0x363cc1=0x0;_0x363cc1<_0xecfa30;_0x363cc1++)_0x19e1ac=_0x363cc1>>0x2,_0x188628[_0x19e1ac][_0x363cc1%0x4]=_0x5ee9b0[_0x363cc1],_0x42e760[_0x396c22-_0x19e1ac][_0x363cc1%0x4]=_0x5ee9b0[_0x363cc1];let _0x17675f,_0x1d7755=0x0,t=_0xecfa30;for(;t<_0x24a16c;){_0x17675f=_0x5ee9b0[_0xecfa30-0x1],_0x5ee9b0[0x0]^=_0x43d86c[_0x1b0389([0x53])][_0x17675f>>0x10&0xff]<<0x18^_0x43d86c[_0x1b0389([0x53])][_0x17675f>>0x8&0xff]<<0x10^_0x43d86c[_0x1b0389([0x53])][0xff&_0x17675f]<<0x8^_0x43d86c[_0x1b0389([0x53])][_0x17675f>>0x18&0xff]^_0x43d86c[_0x1b0389([0x72,0x63,0x6f,0x6e])][_0x1d7755]<<0x18,_0x1d7755+=0x1;for(let _0x1ce1ff=0x1;_0x1ce1ff<_0xecfa30/0x2;_0x1ce1ff++)_0x5ee9b0[_0x1ce1ff]^=_0x5ee9b0[_0x1ce1ff-0x1];_0x17675f=_0x5ee9b0[_0xecfa30/0x2-0x1],_0x5ee9b0[_0xecfa30/0x2]^=_0x43d86c[_0x1b0389([0x53])][0xff&_0x17675f]^_0x43d86c[_0x1b0389([0x53])][_0x17675f>>0x8&0xff]<<0x8^_0x43d86c[_0x1b0389([0x53])][_0x17675f>>0x10&0xff]<<0x10^_0x43d86c[_0x1b0389([0x53])][_0x17675f>>0x18&0xff]<<0x18;for(let _0x2a9b21=_0xecfa30/0x2+0x1;_0x2a9b21<_0xecfa30;_0x2a9b21++)_0x5ee9b0[_0x2a9b21]^=_0x5ee9b0[_0x2a9b21-0x1];let _0x408e49,_0x5ad056,_0x28667f=0x0;for(;_0x28667f<_0xecfa30&&t<_0x24a16c;)_0x408e49=t>>0x2,_0x5ad056=t%0x4,_0x188628[_0x408e49][_0x5ad056]=_0x5ee9b0[_0x28667f],_0x42e760[_0x396c22-_0x408e49][_0x5ad056]=_0x5ee9b0[_0x28667f++],t++;}for(let _0x362a7c=0x1;_0x362a7c<_0x396c22;_0x362a7c++)for(let _0x34bd5c=0x0;_0x34bd5c<0x4;_0x34bd5c++)_0x17675f=_0x42e760[_0x362a7c][_0x34bd5c],_0x42e760[_0x362a7c][_0x34bd5c]=_0x43d86c[_0x1b0389([0x55,0x31])][_0x17675f>>0x18&0xff]^_0x43d86c[_0x1b0389([0x55,0x32])][_0x17675f>>0x10&0xff]^_0x43d86c[_0x1b0389([0x55,0x33])][_0x17675f>>0x8&0xff]^_0x43d86c[_0x1b0389([0x55,0x34])][0xff&_0x17675f];}}function _0x1b0389(_0x45f81d){return _0x45f81d['map'](_0xff8dca=>String['fromCharCode'](_0xff8dca))['join']('');}(_0x595b0a=>{function _0x51b592(){const _0x2abf90=[{[_0x1b0389([0x69,0x64])]:0x1,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x1b0389([0x69,0x64])]:0x2,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([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]),[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1b0389([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1b0389([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1b0389([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1b0389([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1b0389([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1b0389([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1b0389([0x69,0x64])]:0x3,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1b0389([0x69,0x64])]:0x4,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([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]),[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1b0389([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1b0389([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1b0389([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1b0389([0x69,0x64])]:0x5,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([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]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1b0389([0x66,0x67,0x69])]:[0xc]}},{[_0x1b0389([0x69,0x64])]:0x6,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1b0389([0x66,0x67,0x69])]:[0xc]}},{[_0x1b0389([0x69,0x64])]:0x7,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1b0389([0x66,0x67,0x69])]:[0xc]}},{[_0x1b0389([0x69,0x64])]:0x8,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([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]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1b0389([0x66,0x67,0x69])]:[0xc]}},{[_0x1b0389([0x69,0x64])]:0x9,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1b0389([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x1b0389([0x69,0x64])]:0xa,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([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]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([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]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([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]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1b0389([0x66,0x67,0x69])]:[0xc]}},{[_0x1b0389([0x69,0x64])]:0xb,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1b0389([0x69,0x64])]:0xc,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x1b0389([0x69,0x64])]:0xd,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1b0389([0x66,0x67,0x69])]:[0xc]}},{[_0x1b0389([0x69,0x64])]:0xe,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x1b0389([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([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])},{[_0x1b0389([0x69,0x64])]:0xf,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1b0389([0x69,0x64])]:0x10,[_0x1b0389([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1b0389([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1b0389([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1b0389([0x66,0x67,0x69])]:[0xc]}}];return _0x444e52(_0x2abf90),_0x2abf90;function _0x3a7b62(_0xa35c4f){return 0x1<<_0xa35c4f-0x1;}function _0x444e52(_0x38e4e3){_0x38e4e3[_0x1b0389([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b97fe=>{_0x3b97fe[_0x1b0389([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x3a7b62(_0x3b97fe[_0x1b0389([0x69,0x64])]),_0x1ff53e(_0x3b97fe)&&_0x3b97fe[_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x444e52(_0x3b97fe[_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1ff53e(_0x4d0056){return _0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4d0056;}const _0x69ccaf=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5017e6=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0xed73ad(_0x3f3707){const _0x5dbf09=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x27f9a(_0x3f3707,new Uint8Array([..._0x69ccaf,..._0x5dbf09,..._0x5017e6]));}function _0x27f9a(_0x5e4783,_0x2091df){const _0x1fc30c=_0x268e98(_0x5e4783),_0x329248=Array[_0x1b0389([0x66,0x72,0x6f,0x6d])](_0x207579(_0x1fc30c)),_0x283ace=_0x329248[_0x1b0389([0x70,0x6f,0x70])](),_0x52a7b4=_0x329248[_0x1b0389([0x70,0x6f,0x70])]();return _0x238829(_0x37323e(_0x329248,_0x2091df,_0x52a7b4+0x100*_0x283ace));}function _0x268e98(_0x86e8f6){const _0x21e29e=atob(_0x86e8f6),[_0x378b96,_0xd6fbfd]=_0x21e29e[_0x1b0389([0x73,0x70,0x6c,0x69,0x74])](_0x1b0389([0x2d]));try{if(atob(_0xd6fbfd))return atob(_0x378b96);}catch(_0x4d3758){}return _0x21e29e;}function _0x29b008(_0x4639d2){try{const _0x4e7aa7=_0xed73ad(_0x4639d2),_0xf5bde4=JSON[_0x1b0389([0x70,0x61,0x72,0x73,0x65])](_0x4e7aa7),_0x29b88a=parseInt(_0xf5bde4[_0x1b0389([0x31])]),_0x2eafbb=_0xf5bde4[_0x1b0389([0x32])]||'',_0x264009=parseInt(_0xf5bde4[_0x1b0389([0x33])]),_0x42e458=parseInt(_0xf5bde4[_0x1b0389([0x34])])||0x0,_0x21a1b1=parseInt(_0xf5bde4[_0x1b0389([0x35])])||0x0;return{[_0x1b0389([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2eafbb,[_0x1b0389([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x42e458,[_0x1b0389([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x29b88a,[_0x1b0389([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x264009,[_0x1b0389([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x21a1b1};}catch(_0xd581af){return null;}}const _0x35c8a3=_0x51b592(),_0x35e644={[_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x4a1e8d,[_0x1b0389([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])]:_0x1e2941,[_0x1b0389([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])]:_0x2cfdc9},_0x5669a2=_0x595b0a[_0x1b0389([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x54c36d=_0x1b0389([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x595b0a?_0x595b0a['context']:_0x595b0a['editor'],_0xcf649c=_0x1b0389([0x34,0x30,0x34,0x38,0x31,0x30,0x34,0x36]),_0x4c5d09=_0x1b0389([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]),_0x416059=_0x54c36d['config']['get'](_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x368034=_0x35c8a3[_0x1b0389([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1ff53e)[_0x1b0389([0x66,0x69,0x6e,0x64])](_0x1303bb=>_0x1303bb[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x5669a2);function _0x5a295a(_0x2741f1,_0x5694b4){_0x35e644[_0x5694b4[_0x1b0389([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x2741f1,_0x5694b4),_0x5694b4[_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5694b4[_0x1b0389([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x1b0389([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e9df5=>_0x1c7382(_0x54c36d,_0x4e9df5[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x1b0389([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x56ac49=>_0x5a295a(_0x2741f1,_0x56ac49));}function _0x4a1e8d(_0x2038e0,_0x5ad443){_0x2dc91d(_0x98182d(_0x2038e0,_0x5ad443),_0x5ad443);}function _0x1e2941(_0x4ed91f,_0x1dd5f9){function _0x866f4e(_0x527013,_0x432e68){try{if(_0x1c7382(_0x54c36d,_0x1b0389([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x527013){const _0x26d923=_0x8eb602(_0x54c36d,_0x1b0389([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x1b0389([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x26d923)/0x2>_0x527013[_0x1b0389([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x54bcfc(_0x432e68[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x98182d(_0x527013,_0x432e68);}catch(_0x334acd){return _0x54bcfc(_0x432e68[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x2dc91d(_0x866f4e(_0x4ed91f,_0x1dd5f9),_0x1dd5f9);}function _0x2cfdc9(_0x39151e,_0x12ab63){const _0x1b03f2=_0x5017e6[0x0]*_0x69ccaf[0x1],_0x3ba7c1=_0x5017e6[0x0]*_0x69ccaf[0x2],_0x21024f=_0x5017e6[0x2]*_0x69ccaf[0x2];_0x1c7382(_0x54c36d,_0x1b0389([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x8eb602(_0x54c36d,_0x1b0389([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1b0389([0x73,0x74,0x61,0x74,0x65])]==_0x1b0389([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x101aa7()]=_0x21024f);function _0xfd1428(_0x4a98a0,_0x9b2a13){try{return _0x45db32()?_0x54bcfc(_0x9b2a13[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x56,0x61,0x6c,0x69,0x64])):_0x98182d(_0x4a98a0,_0x9b2a13);}catch(_0x431f61){return _0x54bcfc(_0x9b2a13[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x570d1b(_0x43395e,_0x53e208){const _0x3472a1=0x7;if(_0x43395e==_0x53e208[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x8e12ff();else{if(_0x43395e==_0x53e208[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x54,0x72,0x69,0x61,0x6c])){const _0x4875d9=_0x2521b6();_0x4875d9&&_0x14a2d8(_0x4875d9,_0x53e208[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0xab2a27=_0x1ec598();window[_0x1b0389([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x14a2d8(_0x1b0389([0x74,0x69,0x6d,0x65]),_0x53e208[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0xab2a27);const _0x3d52ed=_0x8eb602(_0x54c36d,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1b0389([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3d52ed[_0x1b0389([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3472a1?_0x14a2d8(_0x1b0389([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x53e208[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3d52ed['on'](_0x1b0389([0x61,0x64,0x64]),()=>{_0x3d52ed[_0x1b0389([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3472a1&&_0x14a2d8(_0x1b0389([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x53e208[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2521b6(){if(!_0x1c7382(_0x54c36d,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x297209 in window)if(Number['isNaN'](Number(_0x297209))){if(window[_0x297209]===_0x1b03f2)return _0x1b0389([0x74,0x69,0x6d,0x65]);if(window[_0x297209]===_0x3ba7c1)return _0x1b0389([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x45db32(){if(!_0x1c7382(_0x54c36d,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x10fbd9 in window)if(Number['isNaN'](Number(_0x10fbd9))&&window[_0x10fbd9]===_0x21024f)return!0x0;return!0x1;}function _0x14a2d8(_0x4d1181,_0x512900){_0x8e12ff(),_0x54bcfc(_0x512900+_0x1b0389([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x4d1181),window[_0x101aa7()]=_0x4d1181===_0x1b0389([0x74,0x69,0x6d,0x65])?_0x1b03f2:_0x3ba7c1;}function _0x1ec598(){let _0x36e2eb=_0x5017e6[0x6]*_0x69ccaf[0x8]*_0x69ccaf[0x6];return _0x1c7382(_0x54c36d,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x36e2eb/=0xa),_0x36e2eb;}function _0x8e12ff(){const _0x4763d7=_0x54c36d;function _0x5c3d94(){_0x1c7382(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x8eb602(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1b0389([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1b0389([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x8eb602(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1b0389([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x8eb602(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1b0389([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x574a44,_0x8eb602(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1b0389([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x574a44,_0x4763d7[_0x1b0389([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0389([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x574a44,_0x4763d7[_0x1b0389([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0389([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x574a44,_0x4763d7[_0x1b0389([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b0389([0x6d,0x6f,0x64,0x65,0x6c]))),_0x1c7382(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x8eb602(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1b0389([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1b0389([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x8eb602(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1b0389([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x8eb602(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1b0389([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x574a44,_0x8eb602(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1b0389([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x574a44);}_0x4763d7[_0x1b0389([0x73,0x74,0x61,0x74,0x65])]==_0x1b0389([0x72,0x65,0x61,0x64,0x79])?_0x5c3d94():_0x4763d7[_0x1b0389([0x6f,0x6e,0x63,0x65])](_0x1b0389([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x1c7382(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5c3d94(),_0x1c7382(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0xf4b9e3=_0x8eb602(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x26f87f=_0xf4b9e3['getRevision'](0x0),_0x23b4f8=_0xf4b9e3['getEarlierVisibleRevision'](_0x26f87f[_0x1b0389([0x69,0x64])]);_0x8eb602(_0x4763d7,_0x1b0389([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1b0389([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x26f87f[_0x1b0389([0x69,0x64])],_0x23b4f8?_0x23b4f8[_0x1b0389([0x69,0x64])]:null,0x1)['then'](()=>_0x5c3d94());}});}_0x570d1b(_0xfd1428(_0x39151e,_0x12ab63),_0x12ab63);}function _0x98182d(_0x25dea9,_0x31fc1b){try{return _0xcbea0e(_0x31fc1b)?_0x54bcfc(_0x31fc1b[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x56,0x61,0x6c,0x69,0x64])):_0x25dea9&&_0x4e76b9(_0x25dea9[_0x1b0389([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x31fc1b)?_0x25dea9[_0x1b0389([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x1b0389([0x6f,0x70,0x65,0x6e])][_0x1b0389([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xcf649c)/0x2>_0x25dea9[_0x1b0389([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x54bcfc(_0x31fc1b[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x25dea9[_0x1b0389([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x54bcfc(_0x31fc1b[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x54,0x72,0x69,0x61,0x6c])):_0x54bcfc(_0x31fc1b[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x56,0x61,0x6c,0x69,0x64])):_0x54bcfc(_0x31fc1b[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x32e033){return _0x54bcfc(_0x31fc1b[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2dc91d(_0x587ae4,_0x218e5c){if(_0x54c36d instanceof _0x402a81){const _0x2d2821=_0x54c36d;_0x587ae4==_0x218e5c[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x25be2d(_0x2d2821):_0x587ae4==_0x218e5c[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x54,0x72,0x69,0x61,0x6c])&&window[_0x1b0389([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x25be2d(_0x2d2821),_0x54bcfc(_0x218e5c[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5017e6[0x6]*_0x69ccaf[0x8]*_0x69ccaf[0x6]),_0x2d2821[_0x1b0389([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x1b0389([0x6f,0x6e])](_0x1b0389([0x61,0x64,0x64]),(_0x47b1b9,_0x5ef048)=>{_0x587ae4!=_0x218e5c[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x587ae4!=_0x218e5c[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x587ae4!=_0x218e5c[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x1b9d0f(_0x5ef048);});}else{const _0x13e8be=_0x54c36d;_0x587ae4==_0x218e5c[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1b9d0f(_0x13e8be):_0x587ae4==_0x218e5c[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x54,0x72,0x69,0x61,0x6c])&&_0x13e8be[_0x1b0389([0x6f,0x6e])](_0x1b0389([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x1bb0fd=0x0;_0x13e8be[_0x1b0389([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0389([0x6f,0x6e])](_0x1b0389([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33c10a,_0x45ee8d)=>{_0x45ee8d[0x0][_0x1b0389([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1bb0fd++,0x1f8===_0x1bb0fd&&(_0x1b9d0f(_0x13e8be),_0x54bcfc(_0x218e5c[_0x1b0389([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1b0389([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x33c10a[_0x1b0389([0x6f,0x66,0x66])]());},{'priority':_0x1b0389([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x54bcfc(_0x1dcb2c){const _0x2bd166=_0x101aa7();return _0x54c36d[_0x2bd166]=_0x1dcb2c,_0x1dcb2c;}function _0x101aa7(){const _0x2f697f=String(window[_0x1b0389([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1b0389([0x6e,0x6f,0x77])]())[_0x1b0389([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1b0389([0x2e]),'');let _0x300046='';for(let _0x9fd165=0x0;_0x9fd165<_0x2f697f[_0x1b0389([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x9fd165+=0x2){let _0x3ff311=parseInt(_0x2f697f[_0x1b0389([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x9fd165,_0x9fd165+0x2));_0x3ff311>=_0x4c5d09[_0x1b0389([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ff311-=_0x4c5d09[_0x1b0389([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x300046+=_0x4c5d09[_0x3ff311];}return _0x300046;}function _0x25be2d(_0x16fbf1){for(const _0x21bb45 of _0x16fbf1[_0x1b0389([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x1b9d0f(_0x21bb45);_0x8eb602(_0x16fbf1,_0x1b0389([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1b0389([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x8eb602(_0x16fbf1,_0x1b0389([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1b0389([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x574a44;}function _0x1b9d0f(_0x266df7){function _0x4675bd(){_0x266df7[_0x1b0389([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0389([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x574a44,_0x266df7[_0x1b0389([0x6d,0x6f,0x64,0x65,0x6c])][_0x1b0389([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x574a44,_0x266df7[_0x1b0389([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1b0389([0x6d,0x6f,0x64,0x65,0x6c]));}_0x266df7[_0x1b0389([0x73,0x74,0x61,0x74,0x65])]==_0x1b0389([0x72,0x65,0x61,0x64,0x79])?_0x4675bd():_0x266df7[_0x1b0389([0x6f,0x6e,0x63,0x65])](_0x1b0389([0x72,0x65,0x61,0x64,0x79]),()=>_0x4675bd());}function _0x574a44(){return null;}function _0x4e76b9(_0x4f7504,_0x487170){const _0x1da74d=!!(_0x4f7504&_0x487170[_0x1b0389([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x417b18=_0x3609f6(_0x4f7504,_0x487170);return _0x1da74d||_0x417b18;}function _0x3609f6(_0x50544d,_0x51c7b9){const _0x2d28fd=(_0x51c7b9[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x1b0389([0x66,0x67,0x69])]||null;return!!_0x2d28fd&&_0x35c8a3[_0x1b0389([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35ace7=>_0x2d28fd[_0x1b0389([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35ace7[_0x1b0389([0x69,0x64])]))[_0x1b0389([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2aa8f8=>!_0x1d63e7(_0x2aa8f8))[_0x1b0389([0x73,0x6f,0x6d,0x65])](_0x2945f6=>!!(_0x50544d&_0x2945f6[_0x1b0389([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x1d63e7(_0x1e3310){const _0x4574f4={[_0x1b0389([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])]:_0x5be473};return!!_0x1e3310['forbiddenHandler']&&_0x4574f4[_0x1e3310['forbiddenHandler']]();}function _0x5be473(){return!window[_0x1b0389([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x1c7382(_0x54c36d,_0x1b0389([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0xcbea0e(_0x3db7c3){if(!_0x1c7382(_0x54c36d,_0x3db7c3[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x481635=_0x3db7c3[_0x1b0389([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4de9fe=_0x481635[_0x1b0389([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x921db0=_0x481635[_0x1b0389([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x209a7f=_0x481635[_0x1b0389([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x1c7382(_0x54c36d,_0x1b0389([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x8eb602(_0x54c36d,_0x1b0389([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1b0389([0x73,0x74,0x61,0x74,0x65])]==_0x1b0389([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4de9fe)return!0x0;if(_0x1c7382(_0x54c36d,_0x1b0389([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x8eb602(_0x54c36d,_0x1b0389([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x1b0389([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x1b0389([0x65,0x6e,0x64])&&_0x921db0)return!0x0;return!(!_0x1c7382(_0x54c36d,_0x1b0389([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]))||_0x8eb602(_0x54c36d,_0x1b0389([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]))[_0x1b0389([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x1b0389([0x65,0x6e,0x64])||!_0x209a7f);}function _0x1c7382(_0x2ba50b,_0x3da671){return _0x2ba50b[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1b0389([0x68,0x61,0x73])](_0x3da671);}function _0x8eb602(_0x2066c7,_0x31d6c6){return _0x2066c7[_0x1b0389([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1b0389([0x67,0x65,0x74])](_0x31d6c6);}function _0x238829(_0x13c6a1){let _0x1f66d0='';for(const _0x1d0026 of _0x13c6a1)_0x1f66d0+=String[_0x1b0389([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1d0026);return _0x1f66d0;}function _0x207579(_0x224540){const _0x455c55=new Uint8Array(_0x224540[_0x1b0389([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x98a1f0=0x0;_0x98a1f0<_0x224540[_0x1b0389([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x98a1f0++)_0x455c55[_0x98a1f0]=_0x224540[_0x1b0389([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x98a1f0);return _0x455c55;}_0x368034&&_0x5a295a(_0x29b008(_0x416059),_0x368034);})(_0x57063a);}(this);}['createRevision'](_0x41a8cd){const _0x3f9216=this['editor']['plugins']['get']('Users');return new a({'id':_0x41a8cd['id'],'name':_0x41a8cd['name'],'creator':_0x41a8cd['creatorId']?_0x3f9216['getUser'](_0x41a8cd['creatorId']):null,'diffData':_0x41a8cd['diffData']||_0x41a8cd['data'],'authors':_0x41a8cd['authorsIds']['map'](_0x2b62e7=>_0x3f9216['getUser'](_0x2b62e7)),'createdAt':new Date(_0x41a8cd['createdAt']),'attributes':_0x41a8cd['attributes'],'fromVersion':_0x41a8cd['fromVersion'],'toVersion':_0x41a8cd['toVersion']});}['addRevision'](_0x2bd945,_0x83ab62=0x0){this['_revisions']['add'](_0x2bd945,_0x83ab62);}['getRevision'](_0x488d99){return this['_revisions']['get'](_0x488d99);}['getRevisions'](_0x80ca5b={'toJSON':!0x1}){const _0x7b1cac=Array['from'](this['_revisions']);return _0x7b1cac['reverse'](),_0x80ca5b['toJSON']?_0x7b1cac['map'](_0x20e756=>_0x20e756['toJSON']()):_0x7b1cac;}['getIndex'](_0xa70523){return this['_revisions']['getIndex'](_0xa70523);}['getEarlierVisibleRevision'](_0x250b01){const [,_0x4c4fb2]=this['getRevisionsIterator'](_0x250b01,{'direction':'earlier'});return _0x4c4fb2;}['getLaterVisibleRevision'](_0x19c5df){const [,_0x1cb07a]=this['getRevisionsIterator'](_0x19c5df,{'direction':'later'});return _0x1cb07a;}['getRevisionsInDiff'](_0x123117){const _0x5504e9=[];for(const _0x46d920 of this['getRevisionsIterator'](_0x123117['newRevisionId']))if(_0x5504e9['push'](_0x46d920),_0x46d920['id']===_0x123117['oldRevisionId'])break;return _0x5504e9;}*['getRevisionsIterator'](_0x261a9d,{direction:_0x29a7b0='earlier',filter:_0x1bd192=_0x3aa440=>!0x0}={}){const _0x247c3c='earlier'===_0x29a7b0?0x1:-0x1;let _0x2491b8=this['_revisions']['get'](_0x261a9d),_0x2bed65=this['getIndex'](_0x2491b8);for(yield _0x2491b8;_0x2491b8;){if(_0x2bed65+=_0x247c3c,_0x2491b8=this['getRevision'](_0x2bed65),!_0x2491b8)return;_0x1bd192(_0x2491b8)&&(yield _0x2491b8);}}}function y(_0x2c2838,_0x377595,_0x821cef){const t=_0x2c2838['t'];switch(_0x377595){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'},_0x821cef);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x821cef);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':_0x5f5ce7,'a':_0x1ad71f,'e':_0x130eb8,'r':_0x21fa32,'u':_0x300504};class l extends _0x4b351f{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2dde66,A,_0x475da4];}constructor(_0x3e9648){super(_0x3e9648),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 _0x517657=_0x53494a();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x517657},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 _0x1f8821=this['repository']['getRevision'](0x0),_0x34f4ab=_0x1f8821&&null===_0x1f8821['creator']?_0x1f8821:null;if(this['_continueCurrentRevision']=!!_0x34f4ab&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x17baf0=this['_source']['getCurrentRevisionId'](),_0x3fc49f=this['repository']['getRevision'](_0x17baf0);if(_0x3fc49f)this['_startingVersion']=_0x3fc49f['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x3bc38d=this['_source']['history']['_operations']['find'](_0x25230e=>!_0x25230e['_isInit']),_0x17b75d=_0x3bc38d?_0x3bc38d['baseVersion']:this['_source']['history']['version'];_0x1f8821?(_0x1f8821['toVersion']<_0x17b75d&&_0x1f8821['_update']({'toVersion':_0x17b75d}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x34f4ab['id'],this['_startingVersion']=_0x34f4ab['fromVersion']):(this['_startingVersion']=_0x1f8821['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x17b75d,this['_continueCurrentRevision']=!0x1);}}else _0x34f4ab&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x34f4ab['toVersion'],this['editor']['model']['document']['history']['version']),_0x34f4ab['fromVersion']===_0x34f4ab['toVersion']?(0x0!==_0x34f4ab['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x34f4ab['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x34f4ab['id'],this['_startingVersion']=_0x34f4ab['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',_0x1998dd=>!_0x1998dd);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x5b689a=this['repository']['getRevision'](0x0),_0x428a93=await this['getRevisionDocumentData'](_0x5b689a),_0xd70743=await this['getRevisionRootsAttributes'](_0x5b689a);this['_replaceEditorDataWithRevisionData'](_0x428a93,_0xd70743);}}['setSource'](_0x1c8e97){this['_source']=_0x1c8e97;}async['update'](){const _0x2b2952=await this['_source']['getLatestVersion']();if(_0x2b2952>this['currentRevision']['toVersion']){await this['_loadState']();const _0x35f4c3=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x2b2952});_0x35f4c3['authors']=_0x35f4c3['authorsIds']['map'](_0x1a7d08=>this['editor']['plugins']['get']('Users')['getUser'](_0x1a7d08)),this['currentRevision']['_update'](_0x35f4c3);}}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'](_0x1be2d2={},_0x2a0adc=null){const _0x327ec2=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x2a0adc>this['currentRevision']['toVersion']&&(_0x2a0adc=null),null===_0x2a0adc&&(_0x2a0adc=await this['_source']['getLatestVersion']());const _0x1ae252=this['_getFromVersion'](_0x2a0adc),_0xb148ee=this['buildRevisionData']({'from':_0x1ae252,'to':_0x2a0adc});if(this['currentRevision']['toVersion']<_0x2a0adc){const _0x1b187e=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x2a0adc,'to':_0x2a0adc});_0x1b187e['authors']=[],_0x1b187e['authorsIds']=[],_0x1b187e['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x1b187e,!0x0),delete _0x1b187e['authors'],_0x327ec2['push'](_0x1b187e);}_0x1be2d2['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1be2d2['name']=_0x1be2d2['name']||null,_0x1be2d2['id']=_0x1be2d2['id']||_0x53494a(),_0x1be2d2={..._0x1be2d2,..._0xb148ee};const _0x24abf3=this['addRevisionData'](_0x1be2d2);_0x327ec2['push'](_0x1be2d2);const _0x12f793=this['repository']['getIndex'](_0x24abf3);if(0x0!==_0x12f793){const _0x50be89=this['repository']['getRevision'](_0x12f793-0x1);if(_0x50be89['fromVersion']!==_0x2a0adc){const _0x1d7861=this['_revisionDataBuilder']['getData'](_0x2a0adc,_0x50be89['toVersion']),_0x23ae6c={'id':_0x50be89['id'],'diffData':_0x1d7861['diffData'],'authorsIds':_0x1d7861['authorsIds'],'authors':_0x1d7861['authorsIds']['map'](_0x56d687=>this['editor']['plugins']['get']('Users')['getUser'](_0x56d687)),'fromVersion':_0x2a0adc};_0x50be89===this['currentRevision']&&(_0x23ae6c['createdAt']=new Date(_0x1be2d2['createdAt']['getTime']()+0xa)),_0x50be89['_update'](_0x23ae6c,!0x0),delete _0x23ae6c['authors'],_0x327ec2['push'](_0x23ae6c);}}if(this['adapter']){for(const _0x5ced78 of _0x327ec2)this['_bufferUpdate'](_0x5ced78['id'],_0x5ced78,!0x0);this['sendBufferedUpdates']();}return _0x24abf3;}['addRevisionData'](_0x473d00){const _0x4ca48d=this['repository']['createRevision'](_0x473d00);return this['adapter']&&_0x4ca48d['on']('_update',(_0x57b359,_0x1dd93,_0x43187f)=>{_0x43187f||(this['_bufferUpdate'](_0x1dd93['id'],_0x1dd93,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4ca48d,this['_findInsertionIndex'](_0x4ca48d)),_0x4ca48d;}async['getRevisionDocumentData'](_0x256030){await this['_loadRevisionData'](_0x256030);const _0x56237f={};for(const _0x50fdb4 in _0x256030['diffData']){if(_0x256030['diffData'][_0x50fdb4]['attachChange']&&!_0x256030['diffData'][_0x50fdb4]['attachChange']['isAttached'])continue;const _0x478550=this['_removeRevisionMarkers'](JSON['parse'](_0x256030['diffData'][_0x50fdb4]['insertions'])),_0x46b86f=this['editor']['editing']['view']['document'],_0x526ffa=new _0x2a69e3(_0x46b86f,_0x478550['map'](_0x22fc97=>B(_0x22fc97,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x56237f[_0x50fdb4]=this['editor']['data']['processor']['toData'](_0x526ffa),this['editor']['data']['processor']['useFillerType']('default');}return _0x56237f;}async['getRevisionRootsAttributes'](_0x539a63){await this['_loadRevisionData'](_0x539a63);const _0x1463fa={};for(const _0x315ebb in _0x539a63['diffData'])_0x539a63['diffData'][_0x315ebb]['attachChange']&&!_0x539a63['diffData'][_0x315ebb]['attachChange']['isAttached']||(_0x1463fa[_0x315ebb]=_0x539a63['diffData'][_0x315ebb]['attributesAfter']||{});return _0x1463fa;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x38fa64=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3174dd=0x0;_0x3174dd<_0x38fa64['length'];_0x3174dd++){const _0x38ea4e=_0x38fa64[_0x3174dd];let _0x3354df=!0x1;for(const _0x151cd3 of Object['keys'](_0x38ea4e))void 0x0===_0x38ea4e[_0x151cd3]?delete _0x38ea4e[_0x151cd3]:'id'!==_0x151cd3&&(_0x3354df=!0x0);_0x3354df||(_0x38fa64[_0x3174dd]=null);}if(_0x38fa64=_0x38fa64['filter'](_0xc6189c=>null!==_0xc6189c),!_0x38fa64['length'])return;for(let _0x546917=0x0;_0x546917<_0x38fa64['length'];_0x546917++){const _0x2d4f43=_0x38fa64[_0x546917];void 0x0!==_0x2d4f43['fromVersion']&&void 0x0===_0x2d4f43['toVersion']&&(_0x2d4f43['toVersion']=this['repository']['getRevision'](_0x2d4f43['id'])['toVersion']),void 0x0!==_0x2d4f43['toVersion']&&void 0x0===_0x2d4f43['fromVersion']&&(_0x2d4f43['fromVersion']=this['repository']['getRevision'](_0x2d4f43['id'])['fromVersion']);}const _0x1f62b3=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x38fa64,_0x1f62b3)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x347cc6=>{if(_0x347cc6){for(const _0x102ea4 of _0x347cc6)this['setRevisionData']({'id':_0x102ea4['id'],'createdAt':_0x102ea4['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x226c5d,_0x268e1b){let _0x303add=this['editor']['config']['get']('initialData'),_0x3f9d40=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x303add){_0x303add={};for(const _0x39839d of this['editor']['model']['document']['getRootNames']())_0x303add[_0x39839d]='';}if('string'==typeof _0x303add&&(_0x303add={'main':_0x303add}),void 0x0===_0x3f9d40){_0x3f9d40={};for(const _0x1a9702 of this['editor']['model']['document']['getRootNames']())_0x3f9d40[_0x1a9702]={};}let _0x2ecc21=!0x1;const _0x136853=Object['keys'](_0x303add),_0x3af59f=Object['keys'](_0x226c5d);for(const _0x1a0829 of _0x136853){if(_0x303add[_0x1a0829]!==_0x226c5d[_0x1a0829]&&''!==_0x303add[_0x1a0829]['trim']()){_0x2ecc21=!0x0;break;}if(!_0xada6fa(_0x3f9d40[_0x1a0829],_0x268e1b[_0x1a0829])&&Object['keys'](_0x3f9d40[_0x1a0829])['length']>0x0){_0x2ecc21=!0x0;break;}}_0x2ecc21||(_0x2ecc21=_0x3af59f['some'](_0x2a677a=>!this['editor']['model']['document']['getRoot'](_0x2a677a))),_0x2ecc21&&_0x6ceeb6('editor-initial-data-replaced-with-revision-data',{'editorData':_0x303add,'editorRootsAttributes':_0x3f9d40,'revisionData':_0x226c5d,'revisionRootsAttributes':_0x268e1b}),this['editor']['config']['set']('initialData',_0x226c5d),this['editor']['config']['set']('rootsAttributes',_0x268e1b);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x900bc4=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x900bc4['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x329993){const _0x262daf=this['repository']['getRevisions']();_0x262daf['reverse']();let _0x56dc88=0x0;for(;_0x56dc88<_0x262daf['length'];){const _0x467758=_0x262daf[_0x56dc88];if(_0x467758===this['currentRevision']){_0x56dc88++;continue;}if(_0x467758['id']===this['_initialRevisionId'])break;const _0x3c478b=_0x329993['toVersion']-_0x467758['toVersion']||_0x329993['fromVersion']-_0x467758['fromVersion'];if(_0x3c478b>0x0)break;if(_0x3c478b<0x0)_0x56dc88++;else{if(!_0x329993['creator']&&_0x467758['creator'])break;if(_0x467758['creator']||!_0x329993['creator']){if(_0x329993['createdAt']>_0x467758['createdAt'])break;_0x56dc88++;}else _0x56dc88++;}}return _0x56dc88;}['setRevisionData'](_0x3ab9c3){const _0x5493c0=this['repository']['getRevision'](_0x3ab9c3['id']);if(_0x3ab9c3['createdAt']&&(_0x3ab9c3['createdAt']=new Date(_0x3ab9c3['createdAt'])),_0x3ab9c3['authorsIds']){const _0x35f38a=this['editor']['plugins']['get']('Users');_0x3ab9c3['authors']=_0x3ab9c3['authorsIds']['map'](_0x286874=>_0x35f38a['getUser'](_0x286874));}_0x5493c0['_update'](_0x3ab9c3,!0x0);}['buildRevisionData']({revision:_0x5d7680=null,from:_0x326e70=null,to:_0xb0c8da=null}){_0x326e70=null!==_0x326e70?_0x326e70:_0x5d7680['fromVersion'],_0xb0c8da=null!==_0xb0c8da?_0xb0c8da:_0x5d7680['toVersion'];const _0x191e0e=this['_revisionDataBuilder']['getData'](_0x326e70,_0xb0c8da),_0xee7af7={'diffData':_0x191e0e['diffData'],'authorsIds':_0x191e0e['authorsIds'],'fromVersion':_0x326e70,'toVersion':_0xb0c8da};if(!_0x5d7680||_0xb0c8da!==_0x5d7680['toVersion']){const _0x23e850=_0xb0c8da-0x1,_0x7ea24=this['_source']['history']['getOperation'](_0x23e850);_0xee7af7['createdAt']=_0x7ea24&&_0x7ea24['createdAt']||new Date();}if(this['_loadedStateData']&&_0x326e70===this['_loadedStateData']['fromVersion']){for(const _0x45aea3 of this['_loadedStateData']['authors'])_0xee7af7['authorsIds']['includes'](_0x45aea3['id'])||_0xee7af7['authorsIds']['push'](_0x45aea3['id']);}return _0xee7af7;}['_loadRevisionData'](_0x3c954b){if(!_0x3c954b||_0x3c954b['diffData'])return Promise['resolve']();{const _0x44707c=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x44707c,'revisionId':_0x3c954b['id']})['then'](_0x32109e=>{_0x3c954b['diffData']=_0x32109e['diffData'];});}}['_bufferUpdate'](_0x32c359,_0x24b83b,_0x425811){if(this['_bufferedUpdates']['has'](_0x32c359)){const _0x336db4=this['_bufferedUpdates']['get'](_0x32c359);_0x24b83b=_0x425811?{..._0x336db4,..._0x24b83b}:{..._0x24b83b,..._0x336db4};}this['_bufferedUpdates']['set'](_0x32c359,_0x24b83b);}['_getFromVersion'](_0xc2d1f0){const _0x2938f3=this['repository']['getRevisions']();_0x2938f3['reverse'](),_0x2938f3['shift']();const _0x13a7f7=_0x2938f3['find'](_0x42b6d3=>_0x42b6d3['toVersion']<=_0xc2d1f0)['toVersion'];return _0x13a7f7<this['_startingVersion']?this['_startingVersion']:_0x13a7f7;}['_createInitialRevision'](_0x3c454){const _0x4e240f=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4e240f)this['_initialRevisionId']=_0x4e240f['id'];else{const _0x5ca4f3=!this['editor']['model']['document']['roots']['find'](_0x4d5da3=>this['editor']['model']['hasContent'](_0x4d5da3)),_0x525088=this['editor']['plugins']['get']('Users')['me']['id'],_0x8eddde=y(this['editor']['locale'],_0x5ca4f3?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3c454,'to':_0x3c454,'id':this['_initialRevisionId'],'name':_0x8eddde,'creatorId':_0x525088});}}['_createCurrentRevision'](_0x4e6370){const _0x32a500=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x32a500),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x4e6370,'to':_0x4e6370,'id':_0x32a500,'name':'','creatorId':null}));}['_makeRevision']({name:_0x3c7c83,from:_0x2da098,to:_0x12d3f9,creatorId:_0x267d2a,id:_0x325515}){const _0x443f34=this['buildRevisionData']({'from':_0x2da098,'to':_0x12d3f9});_0x443f34['name']=_0x3c7c83,_0x443f34['creatorId']=_0x267d2a,_0x443f34['id']=_0x325515;const _0x25d6ba=this['addRevisionData'](_0x443f34);return this['adapter']&&this['_bufferUpdate'](_0x443f34['id'],_0x443f34,!0x0),_0x25d6ba;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x394634){return(_0x394634=_0x394634['filter'](_0x29e2ab=>!_0x29e2ab['name']||'revision-start'!==_0x29e2ab['name']&&'revision-end'!==_0x29e2ab['name']))['forEach'](_0x51fd74=>{'string'!=typeof _0x51fd74&&(_0x51fd74['children']=this['_removeRevisionMarkers'](_0x51fd74['children']),_0x51fd74['attributes']=_0x51fd74['attributes']['filter'](_0x4d1eb7=>!_0x4d1eb7[0x0]['startsWith']('data-revision-')));}),_0x394634;}}function B(_0x3f6b9d,_0x4e079a){const _0x10f0fe=_0x4e079a['editing']['view']['document'];if('string'==typeof _0x3f6b9d)return new _0x4854f0(_0x10f0fe,_0x3f6b9d);{const _0x88e31d=_0x3f6b9d['children']['map'](_0x3601b8=>B(_0x3601b8,_0x4e079a));return new(T[_0x3f6b9d['type']]||_0x401451)(_0x10f0fe,_0x3f6b9d['name'],_0x3f6b9d['attributes'],_0x88e31d);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x2197ce){this['editor']=_0x2197ce,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'](_0x45dbb5){this['source']=_0x45dbb5;const _0x21cbcd=new Map(),_0x4ea555=new Map(),_0x8ccfe1=this['editor']['model']['document']['roots']['map'](_0x8ff1b8=>_0x8ff1b8['rootName']);for(const _0x9d46ca of _0x8ccfe1){const _0x150455=this['editor']['model']['document']['getRoot'](_0x9d46ca),_0x241c32=q(_0x150455);_0x21cbcd['set'](_0x9d46ca,_0x241c32),_0x4ea555['set'](_0x9d46ca,Object['fromEntries'](_0x150455['getAttributes']()));}const _0x57f519=Array['from'](this['editor']['model']['markers'])['map'](_0x4b2529=>[_0x4b2529['name'],_0x4b2529['getRange']()]),_0x258036=this['source']['version'];this['_saveMetaData'](_0x258036,_0x21cbcd,_0x57f519,_0x4ea555),this['_startingRevisionId']=this['_revisionId'];const _0x1aa8b7=new Map(),_0x186eb0=new Map();for(const _0x18178a of _0x8ccfe1){const _0x21dfc5=G(_0x18178a);_0x1aa8b7['set'](_0x18178a,_0x21dfc5),_0x186eb0['set'](_0x18178a,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1aa8b7,[],_0x186eb0);}['getData'](_0xe7ccf8,_0x3b804e){if(this['_lastFrom']===_0xe7ccf8&&this['_lastTo']<=_0x3b804e)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3b804e,!0x0);else{if(!this['_savedMetaData']['has'](_0xe7ccf8)){const _0x4cfe01=this['_getPreviousFrom'](_0xe7ccf8);this['_calculateMetaData'](_0x4cfe01,_0xe7ccf8,!0x1);}this['_calculateMetaData'](_0xe7ccf8,_0x3b804e,!0x0);}return this['_lastFrom']=_0xe7ccf8,this['_lastTo']=_0x3b804e,this['_getState']();}['loadState'](_0x14da35){this['_reset'](),this['_lastFrom']=_0x14da35['fromVersion'],this['_lastTo']=_0x14da35['toVersion'];for(const _0x5f5786 in _0x14da35['diffData']){const _0x41c471=_0x14da35['diffData'][_0x5f5786]['attachChange'],_0x60f89f=_0xac8024(_0x14da35['diffData'][_0x5f5786]['attributesBefore'])||{},_0x2e6440=this['_makeModelFromViewString'](_0x14da35['diffData'][_0x5f5786]['deletions']);_0x2e6440['rootName']=_0x5f5786,_0x2e6440['_isAttached']=!_0x41c471||!_0x41c471['isAttached'],_0x2e6440['isAttached']=()=>_0x2e6440['_isAttached'],this['_baseRoots']['set'](_0x5f5786,_0x2e6440),this['_baseRootsAttributes']['set'](_0x5f5786,_0x60f89f),_0x41c471&&this['_touchedRoots']['set'](_0x5f5786,_0x41c471);const _0x49461f=this['_makeIdsRoot'](_0x2e6440);this['_baseIdsRoots']['set'](_0x5f5786,_0x49461f);for(const [_0x40d565,_0x2f137e]of _0x2e6440['markers']){if(!_0x40d565['startsWith']('revision:'))continue;const _0x25f293=_0x40d565['split'](':')[0x2];for(const _0x355482 of _0x2f137e['getWalker']({'singleCharacters':!0x0})){const _0x30827f=this['_getVidAttributeName'](_0x355482),_0x57c9f9='elementEnd'==_0x355482['type']?_0x355482['previousPosition']['path']['slice'](0x0,-0x1):_0x355482['previousPosition']['path'],_0x186f25=_0x49461f['getNodeByPath'](_0x57c9f9)['getAttribute'](_0x30827f);this['_touched']['set'](_0x186f25,{'userId':_0x25f293});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5a48f6=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x54643f=>!this['_touched']['has'](_0x54643f));let _0x406490=0x0;const _0x23aee9=new Map();for(const _0xdf746f in _0x14da35['diffData']){const _0xd36810=_0x14da35['diffData'][_0xdf746f]['attachChange'],_0x25533b=_0xac8024(_0x14da35['diffData'][_0xdf746f]['attributesAfter'])||{},_0xf0ea07=this['_makeModelFromViewString'](_0x14da35['diffData'][_0xdf746f]['insertions']);_0xf0ea07['rootName']=_0xdf746f,_0xf0ea07['_isAttached']=!_0xd36810||_0xd36810['isAttached'],_0xf0ea07['isAttached']=()=>_0xf0ea07['_isAttached'],this['_diffRoots']['set'](_0xdf746f,_0xf0ea07),this['_diffRootsAttributes']['set'](_0xdf746f,_0x25533b);const _0x122a3b=this['_makeIdsRoot'](_0xf0ea07,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xdf746f,_0x122a3b),_0x23aee9['set'](_0xdf746f,_0xf0ea07['isAttached']()?_0x25533b:{});for(const [_0x1944a2,_0x10879c]of _0xf0ea07['markers']){if(!_0x1944a2['startsWith']('revision:'))continue;const _0x41a67c=_0x1944a2['split'](':')[0x2];for(const _0x32699d of _0x10879c['getWalker']({'singleCharacters':!0x0})){const _0x914808=this['_getVidAttributeName'](_0x32699d),_0x449b23=this['_revisionId']++,_0x143e31='elementEnd'==_0x32699d['type']?_0x32699d['previousPosition']['path']['slice'](0x0,-0x1):_0x32699d['previousPosition']['path'];_0x122a3b['getNodeByPath'](_0x143e31)['_setAttribute'](_0x914808,_0x449b23),this['_touched']['set'](_0x449b23,{'userId':_0x41a67c});}}for(const _0x139010 of this['editor']['model']['createRangeIn'](_0xf0ea07)['getWalker']({'singleCharacters':!0x0})){const _0x527e28=this['_getVidAttributeName'](_0x139010),_0xd486e9='elementEnd'==_0x139010['type']?_0x139010['previousPosition']['path']['slice'](0x0,-0x1):_0x139010['previousPosition']['path'],_0x1ff3db=_0x122a3b['getNodeByPath'](_0xd486e9);_0x1ff3db['getAttribute'](_0x527e28)>0x0||_0x1ff3db['_setAttribute'](_0x527e28,_0x5a48f6[_0x406490++]);}for(const [_0x5f2657,_0x43644b]of _0xf0ea07['markers'])_0x5f2657['startsWith']('revision:')||this['_markers']['set'](_0x5f2657,_0x43644b);}const _0x4fd9ec=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4fd9ec),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4fd9ec,0x1));const _0x46ee22=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x46ee22),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x46ee22,0x1));const _0x3027df=Array['from'](this['_diffRoots'])['map'](([_0xf99a15,_0x5779f0])=>[_0xf99a15,q(_0x5779f0)]);this['_saveMetaData'](this['_lastTo'],_0x3027df,this['_markers'],_0x23aee9);}['_makeModelFromViewString'](_0x3ef98f){const _0x5ec264=JSON['parse'](_0x3ef98f),_0x36848e=this['editor']['editing']['view']['document'],_0x524950=new _0x2a69e3(_0x36848e,_0x5ec264['map'](_0x5e8706=>B(_0x5e8706,this['editor'])));return this['editor']['data']['toModel'](_0x524950);}['_saveMetaData'](_0x3158ac,_0x122875,_0x285567,_0x2e8a8c){const _0x528853=new Map(_0x122875),_0x584097=new Map(_0xac8024(_0x2e8a8c)),_0x5c537a=new Map();for(const [_0x2115b1,_0x351663]of _0x285567)_0x5c537a['set'](_0x2115b1,{'start':_0x351663['start']['clone'](),'end':_0x351663['end']['clone'](),'rootName':_0x351663['root']['rootName']});this['_savedMetaData']['set'](_0x3158ac,{'roots':_0x528853,'markers':_0x5c537a,'rootsAttributes':_0x584097});}['_removeMetaData'](_0x533de9){this['_savedMetaData']['delete'](_0x533de9);}['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'](_0x4bfd4c,_0x305d28=null){let _0x570a31=null;_0x4bfd4c['is']('documentFragment')||(_0x570a31=new ft(_0x4bfd4c['name'],{'vid_start':null===_0x305d28?this['_revisionId']++:_0x305d28++}));const _0x4cdc8a=[];for(const _0x40ba3b of _0x4bfd4c['getChildren']())if(_0x40ba3b['is']('element')){_0x4cdc8a['push'](this['_makeIdsRoot'](_0x40ba3b,_0x305d28));const _0x368a8b=_0x4cdc8a[_0x4cdc8a['length']-0x1];null!==_0x305d28&&(_0x305d28=_0x368a8b['is']('element','$text')?_0x368a8b['getAttribute']('vid')+0x1:_0x368a8b['getAttribute']('vid_end')+0x1);}else{for(let _0x3db102=0x0;_0x3db102<_0x40ba3b['offsetSize'];_0x3db102++)_0x4cdc8a['push'](new ft('$text',{'vid':null===_0x305d28?this['_revisionId']++:_0x305d28++}));}if(_0x4bfd4c['is']('documentFragment')){const _0x4a22ab=G(_0x4bfd4c['rootName']);return _0x4a22ab['_insertChild'](0x0,_0x4cdc8a),_0x4a22ab;}return _0x570a31['_setAttribute']('vid_end',null===_0x305d28?this['_revisionId']++:_0x305d28++),_0x570a31['_insertChild'](0x0,_0x4cdc8a),_0x570a31;}['_calculateMetaData'](_0x47b78d,_0x1179c7,_0x2f6111){this['_reset']();const {roots:_0x2e7743,markers:_0x3e4a9d,rootsAttributes:_0x4d6aa0}=this['_savedMetaData']['get'](_0x47b78d);this['_baseRoots']=new Map(_0x2e7743),this['_baseRootsAttributes']=new Map(_0xac8024(_0x4d6aa0));for(const [_0x5cc8a7,_0x5bc538]of this['_baseRoots'])if('$graveyard'!==_0x5cc8a7&&(this['_diffRoots']['set'](_0x5cc8a7,q(_0x5bc538)),this['_diffRootsAttributes']=new Map(_0xac8024(_0x4d6aa0)),_0x2f6111)){const _0x163cd7=this['_revisionId'];this['_idsRoots']['set'](_0x5cc8a7,this['_makeIdsRoot'](_0x5bc538)),this['_baseIdsRoots']['set'](_0x5cc8a7,this['_makeIdsRoot'](_0x5bc538,_0x163cd7));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2f6111&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1fce1c,_0x5dad25]of _0x3e4a9d){const _0x58e5a7=this['_baseRoots']['get'](_0x5dad25['rootName']),_0x120873=this['_diffRoots']['get'](_0x5dad25['rootName']),_0x42f174=new vt(this['_fixPosition'](_0x5dad25['start'],_0x58e5a7),this['_fixPosition'](_0x5dad25['end'],_0x58e5a7)),_0x1e41bb=this['_fixRange'](_0x42f174,_0x120873);_0x58e5a7['markers']['set'](_0x1fce1c,_0x42f174),this['_markers']['set'](_0x1fce1c,_0x1e41bb);}this['_applyOperations'](_0x47b78d,_0x1179c7,_0x2f6111);}['_applyOperations'](_0x190954,_0x526f29,_0x371fdb){for(const _0x4e943c of this['source']['getOperations'](_0x190954,_0x526f29))this['_handleOperation'](_0x4e943c,_0x371fdb);for(const _0x3c1934 of this['_diffRoots']['values']())_0x3c1934['markers']['clear']();for(const [_0x2be35f,_0x5038e4]of this['_markers']){this['_diffRoots']['get'](_0x5038e4['root']['rootName'])['markers']['set'](_0x2be35f,_0x5038e4['clone']());}const _0x304214=new Map(),_0x427c60=new Map();for(const [_0x5118d1,_0x12af76]of this['_diffRoots'])_0x304214['set'](_0x5118d1,q(_0x12af76)),_0x427c60['set'](_0x5118d1,this['_diffRootsAttributes']['get'](_0x5118d1));this['_saveMetaData'](_0x526f29,_0x304214,this['_markers'],_0x427c60);}['_getPreviousFrom'](_0x24cb58){const _0x2f3bb6=Array['from'](this['_savedMetaData']['keys']());_0x2f3bb6['sort']((_0x3e4f92,_0x6e61d5)=>_0x3e4f92-_0x6e61d5),_0x2f3bb6['reverse']();for(const _0x59f8fd of _0x2f3bb6)if(_0x59f8fd<_0x24cb58)return _0x59f8fd;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x3f36ce,_0x368bc1){const _0x13e3e3=Array['from'](_0x368bc1['markers'])['map'](([_0x20b35d,_0x391fb9])=>[_0x20b35d,this['_fixRange'](_0x391fb9,_0x3f36ce)]);_0x3f36ce['markers']=new Map(_0x13e3e3);}['_transformMarkers'](_0x4d70d3){for(const _0x2dfc10 of this['_markers']['values']()){const _0x4815f2=_0x2dfc10['getTransformedByOperation'](_0x4d70d3),_0x545546=vt['_createFromRanges'](_0x4815f2);_0x2dfc10['start']=_0x545546['start'],_0x2dfc10['end']=_0x545546['end'];}}['_handleOperation'](_0x168a8e,_0x3f1759){if('addRoot'==_0x168a8e['type']||'detachRoot'==_0x168a8e['type'])return void this['_handleRootOperation'](_0x168a8e,_0x3f1759);if('insert'==_0x168a8e['type']){const _0x44d511=_0x168a8e['position']['root']['rootName'];this['_diffRoots']['has'](_0x44d511)||(this['_diffRoots']['set'](_0x44d511,G(_0x44d511,!0x0)),this['_diffRootsAttributes']['set'](_0x44d511,{}),_0x3f1759&&this['_idsRoots']['set'](_0x44d511,G(_0x44d511,!0x0)));}else{if('addRootAttribute'==_0x168a8e['type']||'removeRootAttribute'==_0x168a8e['type']||'changeRootAttribute'==_0x168a8e['type'])return void this['_handleRootAttributeOperation'](_0x168a8e);}const _0xeb0f7b=this['_cloneOperation'](_0x168a8e,this['_diffRoots']);if('marker'!==_0x168a8e['type']&&(_0xeb0f7b['_execute'](),this['_transformMarkers'](_0xeb0f7b)),_0x3f1759)switch(_0xeb0f7b['type']){case'insert':this['_handleInsertOperation'](_0x168a8e);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x168a8e);break;case'merge':this['_handleMergeOperation'](_0x168a8e);break;case'split':this['_handleSplitOperation'](_0x168a8e);break;case'marker':this['_handleMarkerOperation'](_0x168a8e);}}['_cloneOperation'](_0xe71178,_0x4acc13){const _0xed4567=_0xe71178['clone']();return _0xed4567['_authorId']=_0xe71178['_authorId'],this['_fixOperation'](_0xed4567,_0x4acc13),_0xed4567;}['_getBaseVids'](_0x5a0a7f){return _0x5a0a7f['map'](_0x3166c5=>{const _0x4fc91e=this['_getVidAttributeName'](_0x3166c5);return Number(_0x3166c5['item']['getAttribute'](_0x4fc91e));});}['_generateTape'](_0x38ee97,_0x4d9598){if(_0x38ee97['is']('element','$text'))_0x4d9598['push']({'item':_0x38ee97,'type':'text'});else{_0x38ee97['is']('element')&&_0x4d9598['push']({'item':_0x38ee97,'type':'elementStart'});for(const _0x1aa809 of _0x38ee97['getChildren']())this['_generateTape'](_0x1aa809,_0x4d9598);_0x38ee97['is']('element')&&_0x4d9598['push']({'item':_0x38ee97,'type':'elementEnd'});}return _0x4d9598;}['_getState'](){const _0x4da45d=new Map(this['_touched']),_0x467c5c=new Map(_0x4da45d),_0x378f25=new Map(),_0x57525a={'insertions':{},'deletions':{}},_0x55429b={'insertions':{},'deletions':{}},_0x4e3d66=new Map(),_0x1552bc=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x1552bc['delete']('$graveyard');for(const _0x469b5a of _0x1552bc){const _0x2bf1f1=this['_diffRoots']['get'](_0x469b5a)||G(_0x469b5a,!0x1),_0x12e146=this['_baseRoots']['get'](_0x469b5a)||G(_0x469b5a,!0x1);_0x2bf1f1['isAttached']()||_0x12e146['isAttached']()?(_0x57525a['insertions'][_0x469b5a]=q(_0x2bf1f1),_0x57525a['deletions'][_0x469b5a]=q(_0x12e146),this['_copyMarkers'](_0x57525a['deletions'][_0x469b5a],_0x12e146),this['_copyMarkers'](_0x57525a['insertions'][_0x469b5a],_0x2bf1f1),_0x55429b['insertions'][_0x469b5a]=this['_generateTape'](this['_idsRoots']['get'](_0x469b5a),[]),_0x55429b['deletions'][_0x469b5a]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x469b5a)||G(_0x469b5a,!0x1),[])):_0x1552bc['delete'](_0x469b5a);}for(const _0x2686bc of _0x1552bc){const _0x1a0e0d=_0x55429b['insertions'][_0x2686bc];for(const _0x502251 of _0x1a0e0d){const _0x575dcc=this['_getVidAttributeName'](_0x502251),_0x4c6936=_0x502251['item']['getAttribute'](_0x575dcc);_0x467c5c['delete'](_0x4c6936),_0x4c6936>=this['_startingRevisionId']&&_0x378f25['set'](_0x4c6936,_0x4da45d['get'](_0x4c6936));}}for(const _0x1a30d9 of _0x1552bc){const _0xd00725=_0x55429b['insertions'][_0x1a30d9],_0x9825ca=this['_getBaseVids'](_0x55429b['deletions'][_0x1a30d9]);let _0x12684a=0x0;for(const _0x55ac0f of _0xd00725){const _0x144498=this['_getVidAttributeName'](_0x55ac0f),_0x1c8422=_0x55ac0f['item']['getAttribute'](_0x144498);if(!_0x378f25['has'](_0x1c8422)&&!_0x4e3d66['has'](_0x1c8422)){if(_0x467c5c['has'](_0x1c8422))_0x12684a++;else{if(_0x1c8422!=_0x9825ca[_0x12684a]){const _0x4969bd=_0x4da45d['get'](_0x1c8422)||_0x4da45d['get'](_0x9825ca[_0x12684a]);for(;_0x1c8422!=_0x9825ca[_0x12684a];)_0x467c5c['has'](_0x9825ca[_0x12684a])||(_0x4e3d66['set'](_0x9825ca[_0x12684a],_0x4969bd),_0x4da45d['set'](_0x9825ca[_0x12684a],_0x4969bd)),_0x12684a++;}_0x12684a++;}}}}for(const _0x6d8dfc of _0x1552bc){const _0x13de88=_0x55429b['insertions'][_0x6d8dfc];for(const _0x5be039 of _0x13de88){const _0x1675eb=this['_getVidAttributeName'](_0x5be039),_0x19938c=_0x5be039['item']['getAttribute'](_0x1675eb);if(_0x4e3d66['has'](_0x19938c)){const _0x219603=_0x4e3d66['get'](_0x19938c);_0x467c5c['has'](_0x19938c)||_0x467c5c['set'](_0x19938c,{..._0x219603}),_0x378f25['set'](_0x19938c,{..._0x219603});}}}for(const _0x84eb45 of _0x467c5c['keys']())_0x84eb45>=this['_startingRevisionId']&&_0x467c5c['delete'](_0x84eb45);const _0x2ddfee=new Map();for(const _0x2155e5 of _0x1552bc){let _0x1e243e=_0x55429b['insertions'][_0x2155e5];for(const _0x3c451a of _0x1e243e)if(_0x3c451a['item']['is']('element','tableCell')){const _0x34749e=this['_getVidAttributeName'](_0x3c451a),_0x38def3=_0x3c451a['item']['getAttribute'](_0x34749e);if(_0x378f25['has'](_0x38def3)){const _0x4abc02=_0x3c451a['item']['parent']['parent']['getAttribute']('vid_start'),_0x2dbff6=_0x2ddfee['get'](_0x4abc02)||new Set();_0x2dbff6['add'](_0x378f25['get'](_0x38def3)['userId']),_0x2ddfee['set'](_0x4abc02,_0x2dbff6);}}_0x1e243e=_0x55429b['deletions'][_0x2155e5];for(const _0x5600d8 of _0x1e243e)if(_0x5600d8['item']['is']('element','tableCell')){const _0x6b4d59=this['_getVidAttributeName'](_0x5600d8),_0x354966=_0x5600d8['item']['getAttribute'](_0x6b4d59);if(_0x467c5c['has'](_0x354966)){const _0xe9787d=_0x5600d8['item']['parent']['parent']['getAttribute']('vid_start'),_0x10b129=_0x2ddfee['get'](_0xe9787d)||new Set();_0x10b129['add'](_0x467c5c['get'](_0x354966)['userId']),_0x2ddfee['set'](_0xe9787d,_0x10b129);}}for(const _0x14933c of _0x2ddfee['keys']())(_0x378f25['has'](_0x14933c)||_0x467c5c['has'](_0x14933c))&&_0x2ddfee['delete'](_0x14933c);}for(const _0x314e5e of _0x1552bc){const _0x4fe992=_0x55429b['insertions'][_0x314e5e];let _0x4c0f80=null,_0x1650de=null;for(const _0x13699e of _0x4fe992){const _0x565f0a=this['_getVidAttributeName'](_0x13699e),_0x41ec4c=_0x13699e['item']['getAttribute'](_0x565f0a),_0x1f733c=_0x2ddfee['get'](_0x41ec4c);_0x1f733c&&'elementStart'==_0x13699e['type']&&(_0x4c0f80=Array['from'](_0x1f733c)[0x0],_0x1650de=_0x13699e['item']['getAttribute']('vid_end')),_0x4c0f80&&(_0x467c5c['set'](_0x41ec4c,{'userId':_0x4c0f80}),_0x378f25['set'](_0x41ec4c,{'userId':_0x4c0f80})),_0x41ec4c==_0x1650de&&(_0x4c0f80=null,_0x1650de=null);}}const _0x3c8aaf={},_0xb350a2=new Set();for(const _0x3c39e7 of _0x1552bc){const _0x70d121=_0x57525a['deletions'][_0x3c39e7],_0x5512cb=_0x57525a['insertions'][_0x3c39e7];for(const {userId:_0x2fbaec}of this['_touchedMarkers']['values']())null!==_0x2fbaec&&_0xb350a2['add'](_0x2fbaec);for(const {userId:_0x551b76}of this['_touchedRoots']['values']())null!==_0x551b76&&_0xb350a2['add'](_0x551b76);this['_markChanges'](_0x5512cb,_0x55429b['insertions'][_0x3c39e7],_0x378f25,'insertion',_0xb350a2),this['_markChanges'](_0x70d121,_0x55429b['deletions'][_0x3c39e7],_0x467c5c,'deletion',_0xb350a2),_0x3c8aaf[_0x3c39e7]={'insertions':this['_prepareViewToSave'](_0x5512cb),'deletions':this['_prepareViewToSave'](_0x70d121),'attachChange':this['_touchedRoots']['get'](_0x3c39e7)||null,'attributesBefore':_0xac8024(this['_baseRootsAttributes']['get'](_0x3c39e7))||{},'attributesAfter':_0xac8024(this['_diffRootsAttributes']['get'](_0x3c39e7))};}return{'diffData':_0x3c8aaf,'authorsIds':Array['from'](_0xb350a2)};}['_processRootBeforeSave'](_0x23fd49){for(const [,_0x23fbc5]of _0x23fd49['markers']){const _0x370ec8=_0x23fbc5['start']['getAncestors']()['filter'](_0x36b002=>'tableCell'==_0x36b002['name']);for(const _0x99636e of _0x370ec8)0x1==_0x99636e['childCount']&&_0x99636e['getChild'](0x0)['is']('element','paragraph')&&_0x99636e['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x5cea1c){this['_processRootBeforeSave'](_0x5cea1c);const _0x1eb310=this['editor']['data']['toView'](_0x5cea1c,{}),_0x357644=Array['from'](_0x1eb310['getChildren']())['map'](_0x500e7a=>this['_getViewJson'](_0x500e7a));return JSON['stringify'](_0x357644);}['_getViewJson'](_0xc6f14c){if(_0xc6f14c['is']('$text'))return _0xc6f14c['data'];{const _0x2bf651=_0xc6f14c;return{'type':Object['keys'](T)['find'](_0x4d0728=>_0xc6f14c instanceof T[_0x4d0728]),'name':_0x2bf651['name'],'attributes':Array['from'](_0x2bf651['getAttributes']()),'children':Array['from'](_0x2bf651['getChildren']())['map'](_0x3ef407=>this['_getViewJson'](_0x3ef407))};}}['_markChanges'](_0x4f8e67,_0x503bab,_0x4769cd,_0x38a68c,_0x41e60d){let _0x4e57b5=null,_0x5f2227=null,_0x26285c=0x0;const _0x399b84=this['editor']['model'];for(let _0x21c2a1=0x0;_0x21c2a1<_0x503bab['length'];_0x21c2a1++){const _0x2ac642=this['_getVidAttributeName'](_0x503bab[_0x21c2a1]),_0x10fb53=_0x503bab[_0x21c2a1]['item']['getAttribute'](_0x2ac642),_0x1ee29c=_0x4769cd['get'](_0x10fb53),_0x1b5e19=_0x21c2a1==_0x503bab['length']-0x1;(!_0x4e57b5&&_0x1ee29c&&(_0x4e57b5=_0x1ee29c,_0x5f2227=_0x503bab[_0x21c2a1]),_0x4e57b5&&(!_0x1ee29c||_0x1ee29c['userId']!=_0x4e57b5['userId']))&&(_0x26d029(_0x1ee29c,L(_0x5f2227,_0x4f8e67,_0x399b84),L(_0x503bab[_0x21c2a1],_0x4f8e67,_0x399b84)),_0x4e57b5=_0x1ee29c||null,_0x5f2227=_0x1ee29c?_0x503bab[_0x21c2a1]:null),_0x4e57b5&&_0x1b5e19&&_0x26d029(_0x1ee29c,L(_0x5f2227,_0x4f8e67,_0x399b84),W(_0x503bab[_0x21c2a1],_0x4f8e67,_0x399b84));}function _0x26d029(_0x1bfb2e,_0x2380b6,_0x1ae8d7){const _0x4ad59a=_0x4e57b5['userId'],_0x4fac6c='revision:'+_0x38a68c+':'+_0x4ad59a+':'+_0x26285c++,_0x2610bc=_0x399b84['createRange'](_0x2380b6,_0x1ae8d7);_0x4f8e67['markers']['set'](_0x4fac6c,_0x2610bc),null!==_0x4ad59a&&_0x41e60d['add'](_0x4ad59a);}}['_getVidAttributeName'](_0x11ca5e){switch(_0x11ca5e['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x5bf61f,_0x4c1a54){_0x5bf61f['baseVersion']=null;for(const _0x36938a in _0x5bf61f){const _0x594d3e=_0x5bf61f[_0x36938a];if(_0x594d3e instanceof gt){const _0x43ffdd=_0x4c1a54['get'](_0x594d3e['root']['rootName']);_0x5bf61f[_0x36938a]=this['_fixPosition'](_0x594d3e,_0x43ffdd);}if(_0x594d3e instanceof vt){const _0x52f0d3=_0x4c1a54['get'](_0x594d3e['root']['rootName']);_0x5bf61f[_0x36938a]=this['_fixRange'](_0x594d3e,_0x52f0d3);}'root'===_0x36938a&&(_0x5bf61f['root']=_0x4c1a54['get'](_0x5bf61f['root']['rootName']));}}['_fixRange'](_0x5ccef3,_0x4d1dd1){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5ccef3['start'],_0x4d1dd1),this['_fixPosition'](_0x5ccef3['end'],_0x4d1dd1));}['_fixPosition'](_0x36ed20,_0xd60d56){return this['editor']['model']['createPositionFromPath'](_0xd60d56,_0x36ed20['path'],_0x36ed20['stickiness']);}['_handleInsertOperation'](_0x5e85fc){const _0x412b7f=this['_idsRoots']['get'](_0x5e85fc['position']['root']['rootName']),_0x216cb6=this['_fixPosition'](_0x5e85fc['position'],_0x412b7f),_0x8c5623=null===_0x5e85fc['_authorId']?null:_0x5e85fc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4be6d6=_0x216cb6['parent'],_0x562da6=this['_revisionId'],_0x4a0d46=[];for(const _0xb76cdf of _0x5e85fc['nodes'])if(_0xb76cdf['is']('element'))_0x4a0d46['push'](this['_makeIdsRoot'](_0xb76cdf));else{for(let _0x3a504d=0x0;_0x3a504d<_0xb76cdf['offsetSize'];_0x3a504d++)_0x4a0d46['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x5a8479=this['_revisionId'];for(let _0x54af70=_0x562da6;_0x54af70<_0x5a8479;_0x54af70++)this['_touched']['set'](_0x54af70,{'userId':_0x8c5623});_0x4be6d6['_insertChild'](_0x216cb6['offset'],_0x4a0d46);}['_handleMoveOperation'](_0x55afbb){(_0x55afbb=this['_cloneOperation'](_0x55afbb,this['_idsRoots']))['_execute']();const _0x547b8f=null===_0x55afbb['_authorId']?null:_0x55afbb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1f4c82=_0x55afbb['getMovedRangeStart'](),_0xbbc943=_0x1f4c82['parent'],_0x474b31=_0x1f4c82['offset'];!function _0xd9c6f1(_0x444295,_0x444390,_0x291126,_0x81f15){for(let _0x336a9f=_0x291126;_0x336a9f<_0x81f15;_0x336a9f++){const _0x35d998=_0x444390['getChild'](_0x336a9f);_0x35d998['is']('element','$text')?_0x444295['set'](_0x35d998['getAttribute']('vid'),{'userId':_0x547b8f}):(_0x444295['set'](_0x35d998['getAttribute']('vid_start'),{'userId':_0x547b8f}),_0xd9c6f1(_0x444295,_0x35d998,0x0,_0x35d998['childCount']),_0x444295['set'](_0x35d998['getAttribute']('vid_end'),{'userId':_0x547b8f}));}}(this['_touched'],_0xbbc943,_0x474b31,_0x474b31+_0x55afbb['howMany']);}['_handleMergeOperation'](_0x5bad0a){const _0x25f4cf=null===(_0x5bad0a=this['_cloneOperation'](_0x5bad0a,this['_idsRoots']))['_authorId']?null:_0x5bad0a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1a6215=_0x5bad0a['targetPosition']['parent'],_0x4888c8=_0x5bad0a['sourcePosition']['parent'],_0x58b09e=_0x1a6215['getAttribute']('vid_end'),_0xc191f=_0x4888c8['getAttribute']('vid_start');_0x1a6215['_setAttribute']('vid_end',_0x4888c8['getAttribute']('vid_end')),_0x4888c8['_setAttribute']('vid_end',_0x58b09e),this['_touched']['set'](_0xc191f,{'userId':_0x25f4cf}),this['_touched']['set'](_0x58b09e,{'userId':_0x25f4cf}),_0x5bad0a['_execute']();}['_handleSplitOperation'](_0x4ed5e3){const _0x4a7d42=null===(_0x4ed5e3=this['_cloneOperation'](_0x4ed5e3,this['_idsRoots']))['_authorId']?null:_0x4ed5e3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xaecb7c=_0x4ed5e3['graveyardPosition'],_0x2e5e71=_0x4ed5e3['splitPosition']['parent'];_0x4ed5e3['_execute']();const _0x1c15c7=_0x2e5e71['getAttribute']('vid_end'),_0x3c0798=_0x4ed5e3['insertionPosition']['nodeAfter'];if(_0xaecb7c){const _0x2d59c7=_0x3c0798['getAttribute']('vid_end'),_0x42f08b=_0x2e5e71['getAttribute']('vid_end');_0x2e5e71['_setAttribute']('vid_end',_0x2d59c7),_0x3c0798['_setAttribute']('vid_end',_0x42f08b),this['_touched']['set'](_0x2e5e71['getAttribute']('vid_end'),{'userId':_0x4a7d42}),this['_touched']['set'](_0x3c0798['getAttribute']('vid_start'),{'userId':_0x4a7d42});}else{const _0x1ab70b=this['_revisionId']++,_0x5cbc66=this['_revisionId']++;_0x2e5e71['_setAttribute']('vid_end',_0x1ab70b),_0x3c0798['_setAttribute']('vid_start',_0x5cbc66),_0x3c0798['_setAttribute']('vid_end',_0x1c15c7),this['_touched']['set'](_0x1ab70b,{'userId':_0x4a7d42}),this['_touched']['set'](_0x5cbc66,{'userId':_0x4a7d42});}}['_handleMarkerOperation'](_0x36935e){if(!_0x36935e['affectsData'])return;const _0x4099e2=(_0x36935e=this['_cloneOperation'](_0x36935e,this['_diffRoots']))['oldRange']?_0x36935e['oldRange']['root']:null,_0x38ff7a=_0x36935e['newRange']?_0x36935e['newRange']['root']:null;_0x4099e2&&this['_markers']['delete'](_0x36935e['name']),_0x38ff7a&&this['_markers']['set'](_0x36935e['name'],_0x36935e['newRange']['clone']());const _0x406db2=null===_0x36935e['_authorId']?null:_0x36935e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xd8214d=_0x36935e['name'];if(!this['_touchedMarkers']['has'](_0xd8214d))return void this['_touchedMarkers']['set'](_0xd8214d,{'range':_0x36935e['oldRange'],'userId':_0x406db2});const _0xd7f4f=this['_touchedMarkers']['get'](_0xd8214d),_0x39b933=_0xd7f4f['range'],_0x5d3d55=_0x36935e['newRange'];null==_0x39b933&&null==_0x5d3d55||_0x39b933&&_0x5d3d55&&_0x39b933['isEqual'](_0x5d3d55)?this['_touchedMarkers']['delete'](_0x36935e['name']):_0xd7f4f['userId']=_0x406db2;}['_handleRootOperation'](_0x260bfc,_0x1c9148){this['_diffRoots']['has'](_0x260bfc['rootName'])?this['_diffRoots']['get'](_0x260bfc['rootName'])['_isAttached']=_0x260bfc['isAdd']:(this['_diffRoots']['set'](_0x260bfc['rootName'],G(_0x260bfc['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x260bfc['rootName'],{}),_0x1c9148&&this['_idsRoots']['set'](_0x260bfc['rootName'],G(_0x260bfc['rootName'],!0x0)));const _0x45b50a=null===_0x260bfc['_authorId']?null:_0x260bfc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1d70e9=this['_touchedRoots']['get'](_0x260bfc['rootName']);_0x1d70e9&&_0x1d70e9['userId']===_0x45b50a?this['_touchedRoots']['delete'](_0x260bfc['rootName']):this['_touchedRoots']['set'](_0x260bfc['rootName'],{'userId':_0x45b50a,'isAttached':_0x260bfc['isAdd']});}['_handleRootAttributeOperation'](_0x1af7ef){const _0x45d84e=this['_diffRootsAttributes']['get'](_0x1af7ef['root']['rootName']);null===_0x1af7ef['newValue']?delete _0x45d84e[_0x1af7ef['key']]:_0x45d84e[_0x1af7ef['key']]=_0x1af7ef['newValue'];}}function q(_0x210cd1){const _0x117e4b=G(_0x210cd1['rootName'],_0x210cd1['isAttached']());for(const _0x1c997e of _0x210cd1['getChildren']()){const _0x2f8900=_0x1c997e['_clone'](!0x0);_0x117e4b['_appendChild'](_0x2f8900);}return _0x117e4b;}function G(_0x5a52b5,_0x365b3f=!0x0){const _0x429d29=new wt();return _0x429d29['rootName']=_0x5a52b5,_0x429d29['_isAttached']=_0x365b3f,_0x429d29['isAttached']=()=>_0x429d29['_isAttached'],_0x429d29;}function L(_0x274a21,_0x5d2732,_0x236dd3){const _0x55c77e='elementEnd'==_0x274a21['type']?_0x236dd3['createPositionAt'](_0x274a21['item'],'end'):_0x236dd3['createPositionBefore'](_0x274a21['item']);return _0x236dd3['createPositionFromPath'](_0x5d2732,_0x55c77e['path'],_0x55c77e['stickiness']);}function W(_0x189188,_0x45ef75,_0x44abb8){const _0x398256='elementStart'==_0x189188['type']?_0x44abb8['createPositionAt'](_0x189188['item'],0x0):_0x44abb8['createPositionAfter'](_0x189188['item']);return _0x44abb8['createPositionFromPath'](_0x45ef75,_0x398256['path'],_0x398256['stickiness']);}class ns extends _0xb47535{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2c490d,_0x538b3a){super(_0x2c490d),this['focusTracker']=new _0x2581b9(),this['keystrokes']=new _0x1b5ea9(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x538b3a),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'](),_0x527cf5({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x24cfcc=_0x2eec1a=>_0x2eec1a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x24cfcc),this['keystrokes']['set']('arrowleft',_0x24cfcc),this['keystrokes']['set']('arrowup',_0x24cfcc),this['keystrokes']['set']('arrowdown',_0x24cfcc);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x1faa59){this['revisionNameInputView']['fieldView']['element']['value']=_0x1faa59['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x7624af){const _0x48e847=new at(this['locale'],_0x5a6b5c),_0x825cde=_0x48e847['fieldView'];_0x825cde['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5c77ac=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x7624af&&(_0x5c77ac+='\x20('+y(this['locale'],'optional')+')'),(_0x48e847['label']=_0x5c77ac,_0x825cde['on']('input',()=>{this['revisionNameInputValue']=_0x825cde['element']['value']['trim']();}),_0x48e847);}}class u extends _0x4b351f{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x407101=this['editor'],_0xcecac0=_0x407101['plugins']['get']('RevisionTracker');_0x407101['ui']['componentFactory']['add']('revisionHistory',_0x1f9703=>{const _0x1f531c=_0x43d586(_0x1f9703),_0x2f1a99=_0x1f531c['panelView']['children'],_0xe11e37=new te(_0x1f9703),_0x4a0d78=new _0x3259e3(_0x1f9703),_0x5b4cc2=new _0x14aa36(_0x1f9703),_0x3631dd=new _0x3259e3(_0x1f9703),_0x2c94af=new _0x14aa36(_0x1f9703);return _0x1f531c['bind']('isEnabled')['to'](_0xcecac0,'isReady',_0xcecac0,'isEnabled',_0x407101,'isReadOnly',(_0x4ed33c,_0x1120de,_0x4be605)=>_0x4ed33c&&_0x1120de&&!_0x4be605),_0x1f531c['buttonView']['set']({'icon':_0x59636f['history'],'label':y(_0x1f9703,'Revision\x20history'),'tooltip':!0x0}),_0x5b4cc2['set']({'label':y(_0x1f9703,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x5b4cc2['bind']('isEnabled')['to'](_0xcecac0,'isReady',_0xcecac0,'isEnabled',_0x407101,'isReadOnly',(_0x49c907,_0x25ee5d,_0x423d5b)=>_0x49c907&&_0x25ee5d&&!_0x423d5b),_0x5b4cc2['on']('execute',()=>this['_showDialog']()),_0x2c94af['set']({'label':y(_0x1f9703,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x2c94af['bind']('isEnabled')['to'](_0xcecac0,'isReady',_0x407101,'isReadOnly',(_0x33e021,_0x250d73)=>_0x33e021&&!_0x250d73),_0x2c94af['on']('execute',()=>{_0x407101['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1f531c['isOpen']=!0x1,_0x407101['editing']['view']['focus']();}),_0x4a0d78['children']['add'](_0x5b4cc2),_0x3631dd['children']['add'](_0x2c94af),_0xe11e37['role']='menu',_0xe11e37['items']['addMany']([_0x4a0d78,_0x3631dd]),_0x2f1a99['add'](_0xe11e37),_0x1f531c;}),_0x407101['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x41a4d4=this['editor'],_0x576e24=_0x41a4d4['locale'],_0x3abdef=new _0x4fad8d(_0x576e24),_0xce15c2=new _0x7521af(_0x576e24);_0x3abdef['buttonView']['set']({'icon':_0x59636f['history'],'label':y(_0x576e24,'Revision\x20history')});const _0x9992b9=new _0xefe530(_0x576e24,_0x3abdef),_0x500cef=new _0x16f20d(_0x576e24);_0x500cef['set']({'label':y(_0x576e24,'Save\x20current\x20revision')}),_0x500cef['delegate']('execute')['to'](_0x3abdef),_0x500cef['on']('execute',()=>{this['_showDialog']();}),_0x9992b9['children']['add'](_0x500cef),_0xce15c2['items']['add'](_0x9992b9);const _0x2355f9=new _0xefe530(_0x576e24,_0x3abdef),_0x4ce9e1=new _0x16f20d(_0x576e24);return _0x4ce9e1['set']({'label':y(_0x576e24,'Open\x20revision\x20history')}),_0x4ce9e1['delegate']('execute')['to'](_0x3abdef),_0x4ce9e1['on']('execute',()=>{_0x41a4d4['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2355f9['children']['add'](_0x4ce9e1),_0xce15c2['items']['add'](_0x2355f9),_0x3abdef['panelView']['children']['add'](_0xce15c2),_0x3abdef;}['_showDialog'](){const _0x1cf56e=this['editor'],_0x8fddaf=_0x1cf56e['locale'],t=_0x8fddaf['t'],_0x45a1c0=_0x1cf56e['plugins']['get']('Dialog'),_0x15b119=_0x1cf56e['plugins']['get']('RevisionTracker');function _0xf1bd69(_0x1d107e){_0x1cf56e['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1d107e['revisionName']?_0x1d107e['revisionNameInputView']['errorText']=y(_0x8fddaf,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x1cf56e['plugins']['get'](l)['saveRevision']({'name':_0x1d107e['revisionName']}),_0x45a1c0['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0xf1bd69(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x45a1c0['show']({'id':'findAndReplace','title':y(_0x8fddaf,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x45a1c0['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x144f6c){_0x144f6c['bind']('isEnabled')['to'](_0x15b119,'isReady',_0x15b119,'isEnabled',_0x1cf56e,'isReadOnly',(_0x4d9864,_0x1cbe86,_0x14ae97)=>_0x4d9864&&_0x1cbe86&&!_0x14ae97);},'onExecute':()=>_0xf1bd69(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4b4bd3=this['editor'],_0x19e0c5=_0x4b4bd3['locale'];this['_saveRevisionFormView']=new ns(_0x19e0c5,_0x4b4bd3['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xb47535{['changeId'];['_model'];constructor(_0x20cf68,_0x30ada2){super(_0x20cf68),this['_model']=_0x30ada2,this['changeId']=_0x30ada2['id'];const _0x3c3ccb=this['bindTemplate'],_0x14422c=y(_0x20cf68,_0x30ada2['data']['isSuggestion']?'Suggested\x20by':'add'==_0x30ada2['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x30ada2['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3c3ccb['to']('type',_0x38cd3a=>'ck-revision-change__'+_0x38cd3a)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x14422c}]},{'text':'\x20'+_0x30ada2['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x55e4b5(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0xa121fd){super(),this['id']=_0xa121fd['id']||_0x53494a(),this['author']=_0xa121fd['author'],this['type']=_0xa121fd['type'],this['data']=_0xa121fd['data']||{},this['rootName']=_0xa121fd['rootName'],this['set']('createdAt',_0xa121fd['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(_0x3673a7,_0x3430d8){this['newRevisionId']=_0x3673a7,this['oldRevisionId']=_0x3430d8,this['changes']=new _0x3c6496();}['_setChanges'](_0x1b7563){for(const _0x5ad3f6 of _0x1b7563)this['changes']['add'](_0x5ad3f6);}}const tt={'c':_0x5f5ce7,'a':_0x1ad71f,'e':_0x130eb8,'r':_0x21fa32,'u':_0x300504};class d extends _0x4b351f{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2dde66,_0x5cad31,A];}constructor(_0x8df366){super(_0x8df366),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',(_0x3c2f83,_0x3703af,_0xd251a7)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x505df8=>{for(const _0x5159d3 of this['editor']['editing']['view']['document']['roots'])_0xd251a7?_0x505df8['removeClass']('ck-editor__editable__overlay',_0x5159d3):_0x505df8['addClass']('ck-editor__editable__overlay',_0x5159d3);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4b2659=>null!==_0x4b2659),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x331a79,_0x16df0e,_0x1f18cf)=>_0x331a79&&_0x1f18cf?_0x16df0e['changes']['getIndex'](_0x1f18cf):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x5924be,_0x2a7c45)=>_0x5924be?_0x2a7c45['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5cad31);}['init'](){const _0x119ea1=this['editor'],_0x4c7135=new yt(_0x119ea1,{'direction':'backward'}),_0x56de82=new yt(_0x119ea1,{'direction':'forward'});(_0x119ea1['commands']['add']('showPreviousChange',_0x4c7135),_0x119ea1['commands']['add']('showNextChange',_0x56de82),_0x119ea1['commands']['add']('restoreRevision',new bt(_0x119ea1)),this['on']('change:numberOfChanges',()=>{_0x4c7135['refresh'](),_0x56de82['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x119ea1['enableReadOnlyMode']('revision-viewer'),_0x119ea1['plugins']['has']('WidgetToolbarRepository'))&&_0x119ea1['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x25201b){await this['loadRevisionData'](_0x25201b);const _0x5cb931={};for(const _0x2ae07b in _0x25201b['diffData']){if(_0x25201b['diffData'][_0x2ae07b]['attachChange']&&!_0x25201b['diffData'][_0x2ae07b]['attachChange']['isAttached'])continue;const _0x2557ea=this['_removeRevisionMarkers'](JSON['parse'](_0x25201b['diffData'][_0x2ae07b]['insertions'])),_0x1a575c=this['editor']['editing']['view']['document'],_0x1bef11=new _0x2a69e3(_0x1a575c,_0x2557ea['map'](_0x55a011=>this['_getViewObj'](_0x55a011)));this['editor']['data']['processor']['useFillerType']('marked'),_0x5cb931[_0x2ae07b]=this['editor']['data']['processor']['toData'](_0x1bef11),this['editor']['data']['processor']['useFillerType']('default');}return _0x5cb931;}async['getRevisionRootsAttributes'](_0x2ff37e){await this['loadRevisionData'](_0x2ff37e);const _0x4710c5={};for(const _0x15f744 in _0x2ff37e['diffData'])_0x2ff37e['diffData'][_0x15f744]['attachChange']&&!_0x2ff37e['diffData'][_0x15f744]['attachChange']['isAttached']||(_0x4710c5[_0x15f744]=_0x2ff37e['diffData'][_0x15f744]['attributesAfter']||{});return _0x4710c5;}['_removeRevisionMarkers'](_0x3a3e88){return(_0x3a3e88=_0x3a3e88['filter'](_0x46c20c=>!_0x46c20c['name']||'revision-start'!==_0x46c20c['name']&&'revision-end'!==_0x46c20c['name']))['forEach'](_0x3de2e6=>{'string'!=typeof _0x3de2e6&&(_0x3de2e6['children']=this['_removeRevisionMarkers'](_0x3de2e6['children']),_0x3de2e6['attributes']=_0x3de2e6['attributes']['filter'](_0x3e4970=>!_0x3e4970[0x0]['startsWith']('data-revision-')));}),_0x3a3e88;}async['compare'](_0x5bbcf6,_0x41f7cc,_0x80978b=!0x1){if(!this['isEnabled'])return;const _0x4e64d9=this['diff'],_0x41d478=this['repository'],_0x41f516='string'==typeof _0x5bbcf6?_0x41d478['getRevision'](_0x5bbcf6):_0x5bbcf6,_0xd9c786='string'==typeof _0x41f7cc?_0x41d478['getRevision'](_0x41f7cc):_0x41f7cc,_0x5d8811=_0x41f516['id'],_0x4c24d1=_0xd9c786?_0xd9c786['id']:null;if(!_0x80978b&&this['diff']&&this['diff']['newRevisionId']===_0x5d8811&&this['diff']['oldRevisionId']===_0x4c24d1)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5d8811,_0x4c24d1);const _0x416e66=this['_getRevisionsRange'](_0x41f516,_0xd9c786,!0x0)['map'](_0x494c05=>this['loadRevisionData'](_0x494c05));return _0x416e66['push'](new Promise(_0x54e370=>{setTimeout(_0x54e370,0x14);})),Promise['all'](_0x416e66)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x2aafe1=this['_getDiff'](_0x5d8811,_0x4c24d1);for(const _0x450e2d of _0x2aafe1['changes'])this['_changeIdToChange']['set'](_0x450e2d['id'],_0x450e2d);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x5cfd29=>{for(const _0x2f55af of this['editor']['model']['document']['getRootNames']())_0x5cfd29['detachRoot'](_0x2f55af);for(const _0x2a28f5 of Object['keys'](_0x2aafe1['model'])){const _0x2e6d14=_0x5cfd29['addRoot'](_0x2a28f5);for(const _0x229c86 of Object['keys'](_0x2aafe1['attributes'][_0x2a28f5]))_0x5cfd29['setAttribute'](_0x229c86,_0x2aafe1['attributes'][_0x2a28f5][_0x229c86],_0x2e6d14);_0x5cfd29['insert'](_0x2aafe1['model'][_0x2a28f5],_0x2e6d14,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x2aafe1['changes'])),this['isReady']=!0x0;})['catch'](_0x11d27e=>{console['error'](_0x11d27e),this['_cleanUp'](),_0x4e64d9&&(this['diff']=_0x4e64d9),this['isReady']=!0x0;});}['addRevisionData'](_0x19d94c,_0x226660){const _0x1a8c61=this['repository']['createRevision'](_0x19d94c);return _0x1a8c61['on']('_update',(_0x478fd6,_0x163f51,_0xd683ea)=>_0x226660(_0x163f51,_0xd683ea,_0x1a8c61)),this['repository']['addRevision'](_0x1a8c61),_0x1a8c61;}['loadRevisionData'](_0x1c4c11){if(!_0x1c4c11||_0x1c4c11['diffData'])return Promise['resolve']();{const _0x41f31a=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x41f31a,'revisionId':_0x1c4c11['id']})['then'](_0x46cca7=>{_0x1c4c11['_update']({'diffData':_0x46cca7['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},_0x351a96=>{for(const _0x1e1661 of this['editor']['model']['document']['getRootNames']())_0x351a96['detachRoot'](_0x1e1661);});}['_sortAndFilterDiffChanges'](_0x31d5b9){const _0x17b91d=[],_0x5557aa=new Map();for(const _0x4dbff6 of this['editor']['model']['document']['getRootNames']()){const _0x686996=this['editor']['editing']['view']['getDomRoot'](_0x4dbff6);if(!_0x686996)continue;const _0x5f5273=_0x686996['getClientRects']()['item'](0x0);_0x5f5273&&(_0x17b91d['push'](_0x4dbff6),_0x5557aa['set'](_0x4dbff6,_0x5f5273));}return _0x17b91d['sort']((_0x13d82e,_0x2b3d16)=>{const _0x5e6298=_0x5557aa['get'](_0x13d82e),_0xfab63d=_0x5557aa['get'](_0x2b3d16);return _0x5e6298['y']-_0xfab63d['y']||_0x5e6298['x']-_0xfab63d['x'];}),(_0x31d5b9=_0x31d5b9['filter'](_0x2fefe3=>_0x17b91d['includes'](_0x2fefe3['rootName'])))['sort']((_0x1b6186,_0x1c542b)=>_0x17b91d['indexOf'](_0x1b6186['rootName'])-_0x17b91d['indexOf'](_0x1c542b['rootName'])),_0x31d5b9;}['_makeTape'](_0x253f18){const _0x72c667=Array['from'](_0x253f18['markers'])['filter'](([_0x358904,_0x54f98a])=>_0x358904['startsWith']('revision:')&&!_0x54f98a['isCollapsed']),_0x2e28a3=Array['from'](this['editor']['model']['createRangeIn'](_0x253f18)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x72c667['length'])for(const _0x384ec3 of _0x2e28a3){const [_0x571665,_0x37ae44]=_0x72c667[0x0],[,_0x503b32,_0x132979]=_0x571665['split'](':');if(_0x37ae44['end']['isEqual'](_0x384ec3['nextPosition'])&&_0x72c667['shift'](),(_0x384ec3['previousPosition']['isEqual'](_0x37ae44['start'])||_0x384ec3['previousPosition']['isAfter'](_0x37ae44['start']))&&('insertion'==_0x503b32?_0x384ec3['isAdded']={'userId':_0x132979}:'deletion'==_0x503b32&&(_0x384ec3['isRemoved']={'userId':_0x132979})),0x0==_0x72c667['length'])break;}return _0x2e28a3;}['_refreshStartEndIndex'](_0x3269c0){const _0x4de24c=new Map();for(let _0x28b9de=0x0;_0x28b9de<_0x3269c0['length'];_0x28b9de++)'text'===_0x3269c0[_0x28b9de]['type']?(_0x3269c0[_0x28b9de]['item']['startIndex']=_0x28b9de,_0x3269c0[_0x28b9de]['item']['endIndex']=_0x28b9de):('elementStart'===_0x3269c0[_0x28b9de]['type']?_0x3269c0[_0x28b9de]['item']['startIndex']=_0x28b9de:'elementEnd'===_0x3269c0[_0x28b9de]['type']&&(_0x3269c0[_0x28b9de]['item']['endIndex']=_0x28b9de),_0x4de24c['set'](_0x3269c0[_0x28b9de]['id'],_0x28b9de));for(const _0x16dd51 of _0x4de24c['values']())'elementStart'===_0x3269c0[_0x16dd51]['type']?_0x3269c0[_0x16dd51]['item']['endIndex']=_0x4de24c['get'](_0x3269c0[_0x16dd51]['pairId']):'elementEnd'===_0x3269c0[_0x16dd51]['type']&&(_0x3269c0[_0x16dd51]['item']['startIndex']=_0x4de24c['get'](_0x3269c0[_0x16dd51]['pairId']));}['_processTape'](_0x3932c2){for(let _0x39e8a8=0x0;_0x39e8a8<_0x3932c2['length'];_0x39e8a8++){if('elementStart'===_0x3932c2[_0x39e8a8]['type'])_0x3932c2[_0x39e8a8]['item']['startIndex']=_0x39e8a8;else{if('elementEnd'===_0x3932c2[_0x39e8a8]['type']){_0x3932c2[_0x39e8a8]['item']['endIndex']=_0x39e8a8;const _0x4d65fb=_0x3932c2[_0x39e8a8]['item']['startIndex'];_0x3932c2[_0x4d65fb]['pairId']=_0x3932c2[_0x39e8a8]['id'],_0x3932c2[_0x39e8a8]['pairId']=_0x3932c2[_0x4d65fb]['id'];}else _0x3932c2[_0x39e8a8]['item']['startIndex']=_0x39e8a8,_0x3932c2[_0x39e8a8]['item']['endIndex']=_0x39e8a8,_0x3932c2[_0x39e8a8]['pairId']=null;}_0x3932c2[_0x39e8a8]['markersStart']||(_0x3932c2[_0x39e8a8]['markersStart']=[],_0x3932c2[_0x39e8a8]['markersEnd']=[]);}}['_markInsertions'](_0x3c72c7,_0x3dbc78){const _0xa1b3d=_0x3c72c7['filter'](_0xc3ef0b=>!_0xc3ef0b['isAdded']);for(let _0x2422e5=0x0;_0x2422e5<_0x3dbc78['length'];_0x2422e5++)_0x3dbc78[_0x2422e5]['isAdded']&&(_0xa1b3d[_0x2422e5]['isAdded']=_0x3dbc78[_0x2422e5]['isAdded']);}['_makeModelFromViewString'](_0x38060e){const _0x285843=JSON['parse'](_0x38060e),_0x3d4c66=this['editor']['editing']['view']['document'],_0x2bffe2=new _0x2a69e3(_0x3d4c66,_0x285843['map'](_0x12fc5d=>this['_getViewObj'](_0x12fc5d)));return this['editor']['data']['toModel'](_0x2bffe2);}['_getViewObj'](_0x8f6943){const _0x5975b9=this['editor']['editing']['view']['document'];if('string'==typeof _0x8f6943)return new _0x4854f0(_0x5975b9,_0x8f6943);{const _0x25594b=_0x8f6943['children']['map'](_0x54d649=>this['_getViewObj'](_0x54d649));return new(tt[_0x8f6943['type']]||_0x401451)(_0x5975b9,_0x8f6943['name'],_0x8f6943['attributes'],_0x25594b);}}['_getDiff'](_0x5b2808,_0x9b796a=null){const _0xa4e914=this['repository']['getRevision'](_0x5b2808),_0x18b006=_0x9b796a?this['repository']['getRevision'](_0x9b796a):null,_0x772c27=this['_getRevisionsRange'](_0xa4e914,_0x18b006),_0x2859ca=_0x772c27[_0x772c27['length']-0x1],_0x4bda78=new Map(),_0x475d90={'model':{},'attributes':{},'changes':[]},_0x33552a=new Set(),_0x9dc24c=new Map();for(let _0xcf1294=_0x772c27['length']-0x1;_0xcf1294>=0x0;_0xcf1294--){const _0x313cbc=_0x772c27[_0xcf1294];for(const _0x35b665 of Object['keys'](_0x313cbc['diffData']))if(_0x313cbc['diffData'][_0x35b665]['attachChange']){const _0x435db8=_0x313cbc['diffData'][_0x35b665]['attachChange'];_0x435db8['isAttached']?(_0x33552a['add'](_0x35b665),_0x9dc24c['has'](_0x35b665)&&_0x9dc24c['get'](_0x35b665)['userId']==_0x435db8['userId']?_0x9dc24c['delete'](_0x35b665):_0x9dc24c['set'](_0x35b665,_0x435db8)):_0x9dc24c['has'](_0x35b665)?(_0x33552a['delete'](_0x35b665),_0x9dc24c['delete'](_0x35b665)):(_0x33552a['add'](_0x35b665),_0x9dc24c['set'](_0x35b665,_0x435db8));}else _0x33552a['add'](_0x35b665);}for(const _0x1929af of _0x33552a){const _0x40c38f=_0x9dc24c['has'](_0x1929af)&&!_0x9dc24c['get'](_0x1929af)['isAttached'];let _0x593a81=_0x40c38f?_0x772c27['length']-0x1:0x0;const _0x5b54a3=_0x40c38f?-0x1:0x1;for(;_0x772c27[_0x593a81];){const _0xaaab3f=_0x772c27[_0x593a81];if(_0xaaab3f['diffData'][_0x1929af]){const _0x490019=_0x40c38f?_0xaaab3f['diffData'][_0x1929af]['attributesBefore']:_0xaaab3f['diffData'][_0x1929af]['attributesAfter'];_0x475d90['attributes'][_0x1929af]=_0x490019?_0xac8024(_0x490019):{};break;}_0x593a81+=_0x5b54a3;}}for(const _0x5120d8 of _0x772c27){_0x5120d8['model']={};for(const _0x44a41b of _0x5120d8['authors'])_0x4bda78['set'](_0x44a41b['id'],_0x44a41b);for(const _0x49f0ae of _0x33552a){const _0x259842=_0x5120d8['diffData'][_0x49f0ae]?_0x5120d8['diffData'][_0x49f0ae]['insertions']:'[]',_0x4e365b=_0x5120d8['diffData'][_0x49f0ae]?_0x5120d8['diffData'][_0x49f0ae]['deletions']:'[]';_0x5120d8['model'][_0x49f0ae]={'insertions':this['_makeModelFromViewString'](_0x259842),'deletions':this['_makeModelFromViewString'](_0x4e365b)};}}for(const _0x20b161 of _0x33552a){let _0x4aa5ea=null,_0x303178=0x0;const _0x42aed0=new Map(Array['from'](_0xa4e914['model'][_0x20b161]['insertions']['markers'])['filter'](([_0x3cf4c8])=>!_0x3cf4c8['startsWith']('revision:')));let _0x4e9dbe=0x0;for(const _0x47bdac of _0x772c27){const _0x39a811=this['_makeTape'](_0x47bdac['model'][_0x20b161]['insertions']);_0x47bdac==_0xa4e914?(_0x4aa5ea=_0x39a811,_0x303178=_0x4aa5ea['length'],_0x4aa5ea['forEach'](_0x49eafe=>{_0x49eafe['id']=_0x4e9dbe++;}),this['_processTape'](_0x4aa5ea)):this['_markInsertions'](_0x4aa5ea,_0x39a811);const _0x361874=_0x4aa5ea['filter'](_0x33c07=>!_0x33c07['isAdded'])['map'](_0x2390a6=>_0x2390a6['id']);let _0x3e28db=0x0;const _0x304058=this['_makeTape'](_0x47bdac['model'][_0x20b161]['deletions']);_0x304058['forEach'](_0x532abf=>{_0x532abf['isRemoved']?_0x532abf['id']=_0x303178++:_0x532abf['id']=_0x361874[_0x3e28db++];}),this['_processTape'](_0x304058),this['_setDistance'](_0x4aa5ea,'isAdded'),this['_setDistance'](_0x304058,'isRemoved'),_0x47bdac==_0xa4e914&&this['_markMarkers'](_0x4aa5ea,_0x42aed0),_0x4aa5ea=this['_joinTapes'](_0x4aa5ea,_0x304058),this['_refreshStartEndIndex'](_0x4aa5ea),this['_setDistance'](_0x4aa5ea,'isRemoved');}_0x4aa5ea=_0x4aa5ea['filter'](_0x1dec8a=>!(_0x1dec8a['isAdded']&&_0x1dec8a['isRemoved']));const _0xfbeeec=new Map(_0x2859ca['model'][_0x20b161]['deletions']['markers']),_0x48d220=new Set(_0x42aed0['keys']());for(const _0xa78b0b of _0xfbeeec['keys']())_0x48d220['delete'](_0xa78b0b);this['_markSuggestions'](_0x4aa5ea,_0x48d220),this['_fixObsoleteTags'](_0x4aa5ea),_0x4aa5ea=this['_removeMissingPairs'](_0x4aa5ea),_0x4aa5ea=this['_markMismatchedRemovedTags'](_0x4aa5ea),_0x4aa5ea=this['_removeUnsupportedChanges'](_0x4aa5ea);const {root:_0x37f8e0,changes:_0x50b0e1}=this['_makeModelFromTape'](_0x4aa5ea,_0x4bda78,_0x20b161);_0x475d90['model'][_0x20b161]=_0x37f8e0;const _0x1b96be=_0x9dc24c['get'](_0x20b161);if(_0x1b96be){const _0x36905b=_0x4bda78['get'](_0x1b96be['userId']),_0x4659ba=new r({'author':_0x36905b,'type':_0x1b96be['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x20b161});_0x50b0e1['unshift'](_0x4659ba),_0x475d90['attributes'][_0x20b161]['revisionHistoryAttachChange']=_0x4659ba['id'];}_0x475d90['changes']=_0x475d90['changes']['concat'](_0x50b0e1);}return _0x475d90;}['_markMarkers'](_0x28679a,_0x1f9867){for(let _0x495c03=0x0;_0x495c03<_0x28679a['length'];_0x495c03++)for(const [_0x3112f9,_0x5b7300]of _0x1f9867)_0x5b7300['start']['isEqual'](_0x28679a[_0x495c03]['previousPosition'])&&_0x28679a[_0x495c03]['markersStart']['push'](_0x3112f9),_0x5b7300['end']['isEqual'](_0x28679a[_0x495c03]['nextPosition'])&&_0x28679a[_0x495c03]['markersEnd']['push'](_0x3112f9);}['_joinTapes'](_0x322454,_0x516f99){let _0x5954ab=[],_0x304b76=0x0,_0x4b27cc=0x0;for(;_0x304b76<_0x322454['length']||_0x4b27cc<_0x516f99['length'];){const _0x21ea9f=_0x322454[_0x304b76]||{},_0x51e8d1=_0x516f99[_0x4b27cc]||{};if(_0x21ea9f['id']==_0x51e8d1['id'])_0x304b76++,_0x4b27cc++,_0x5954ab['push'](_0x21ea9f);else{if(_0x51e8d1['isRemoved']&&_0x21ea9f['isAdded']){const {commonTape:_0x1f0cc3,iEnd:_0x48c3de,jEnd:_0x284bab}=this['_threeWayMerge'](_0x322454,_0x304b76,_0x516f99,_0x4b27cc);_0x5954ab=_0x5954ab['concat'](_0x1f0cc3),_0x304b76=_0x48c3de,_0x4b27cc=_0x284bab;}else _0x51e8d1['isRemoved']?(_0x4b27cc++,_0x5954ab['push'](_0x51e8d1)):(_0x304b76++,_0x5954ab['push'](_0x21ea9f));}}return _0x5954ab;}['_markSuggestions'](_0x428164,_0x3a9cbd){const _0x2897ea=[];for(let _0x44185a=0x0;_0x44185a<_0x428164['length'];_0x44185a++){for(let _0x509c3d=0x0;_0x509c3d<_0x428164[_0x44185a]['markersStart']['length'];_0x509c3d++){const _0x497334=_0x428164[_0x44185a]['markersStart'][_0x509c3d];if(!_0x3a9cbd['has'](_0x497334))continue;const {group:_0x9b7c9c,type:_0x4473a7,authorId:_0x408fa6}=_0x23aa44(_0x497334);'revision-suggestion'!=_0x9b7c9c||'insertion'!=_0x4473a7&&'deletion'!=_0x4473a7||(_0x2897ea['unshift']({'type':_0x4473a7,'name':_0x497334,'userId':_0x408fa6}),_0x428164[_0x44185a]['markersStart']['splice'](_0x509c3d,0x1),_0x509c3d--);}_0x4441b2(_0x428164[_0x44185a]);for(let _0x12958d=0x0;_0x12958d<_0x428164[_0x44185a]['markersEnd']['length'];_0x12958d++){const _0x51520b=_0x428164[_0x44185a]['markersEnd'][_0x12958d];if(!_0x3a9cbd['has'](_0x51520b))continue;const {group:_0x441df7,type:_0x5a6283}=_0x23aa44(_0x51520b);if('revision-suggestion'!=_0x441df7||'insertion'!=_0x5a6283&&'deletion'!=_0x5a6283)continue;_0x428164[_0x44185a]['markersEnd']['splice'](_0x12958d,0x1),_0x12958d--;const _0x389234=_0x2897ea['findIndex'](_0x145647=>_0x145647['name']==_0x51520b);_0x389234>-0x1&&_0x2897ea['splice'](_0x389234,0x1);}}function _0x23aa44(_0xfba6ee){const _0xcd01af=_0xfba6ee['split'](':');return{'group':_0xcd01af[0x0],'type':_0xcd01af[0x1],'subType':_0xcd01af['length']>=0x5?_0xcd01af[0x2]:null,'id':_0xcd01af['length']<0x5?_0xcd01af[0x2]:_0xcd01af[0x3],'authorId':_0xcd01af['length']<0x5?_0xcd01af[0x3]:_0xcd01af[0x4],'markerCount':0x6==_0xcd01af['length']?_0xcd01af[0x5]:null};}function _0x4441b2(_0x882638){for(let _0x26c4f9=0x0;_0x26c4f9<_0x2897ea['length'];_0x26c4f9++){if(_0x882638['isAdded']&&'insertion'==_0x2897ea[_0x26c4f9]['type'])return _0x882638['isAddSuggestion']=_0x2897ea[_0x26c4f9],void delete _0x882638['isAdded'];if(!_0x882638['isAdded']&&!_0x882638['isRemoved']&&'deletion'==_0x2897ea[_0x26c4f9]['type'])return void(_0x882638['isRemoveSuggestion']=_0x2897ea[_0x26c4f9]);}}}['_setDistance'](_0x523c5e,_0x299855){let _0x2c881a=0x0,_0x22f010=!0x1;const _0x1e3e3e=new Map();for(const _0x5d82db of _0x523c5e)_0x5d82db[_0x299855]?_0x22f010&&(_0x2c881a++,_0x22f010=!0x1):(_0x2c881a++,_0x22f010=!0x0),_0x1e3e3e['set'](_0x5d82db['id'],_0x2c881a);for(let _0x2e7358=0x0;_0x2e7358<_0x523c5e['length'];_0x2e7358++){if('isRemoved'==_0x299855&&_0x523c5e[_0x2e7358]['isAdded']||'isAdded'==_0x299855&&_0x523c5e[_0x2e7358]['isRemoved'])continue;if('text'==_0x523c5e[_0x2e7358]['type']){_0x523c5e[_0x2e7358]['distance']=0x0;continue;}const _0xb0ae0e=_0x1e3e3e['get'](_0x523c5e[_0x2e7358]['pairId']),_0x2c91ad=_0x1e3e3e['get'](_0x523c5e[_0x2e7358]['id']);_0x523c5e[_0x2e7358]['distance']=_0xb0ae0e-_0x2c91ad;}}['_getRevisionsRange'](_0x14d59b,_0x2a5cbd,_0x41c284=!0x1){const _0x594844=[];let _0x52f05e=this['repository']['getIndex'](_0x14d59b),_0xb4906b=this['repository']['getIndex'](_0x2a5cbd);for(-0x1==_0xb4906b&&(_0xb4906b=this['repository']['_revisions']['length'],_0x41c284=!0x1);_0x52f05e<_0xb4906b;)_0x594844['push'](this['repository']['getRevision'](_0x52f05e)),_0x52f05e++;return _0x41c284&&_0x594844['push'](this['repository']['getRevision'](_0x52f05e)),_0x594844;}['_threeWayMerge'](_0x255ac7,_0x27b8de,_0x1eaa37,_0x58c8c7){const _0x120e59=this['editor']['model']['schema'];let _0x420840=_0x27b8de;for(;_0x255ac7[_0x420840]&&_0x255ac7[_0x420840]['isAdded'];)_0x420840++;let _0x2b0bda=_0x58c8c7;for(;_0x1eaa37[_0x2b0bda]&&_0x1eaa37[_0x2b0bda]['isRemoved'];)_0x2b0bda++;_0x381f14(_0x255ac7,_0x27b8de,_0x420840),_0x381f14(_0x1eaa37,_0x58c8c7,_0x2b0bda);const _0x3a10f6=_0x1eaa37['slice'](_0x58c8c7,_0x2b0bda)['concat'](_0x255ac7['slice'](_0x27b8de,_0x420840));return _0x3a10f6['sort']((_0x402152,_0x173122)=>_0x402152['side']!=_0x173122['side']?_0x402152['side']-_0x173122['side']:_0x402152['level']!=_0x173122['level']?_0x402152['level']-_0x173122['level']:_0x402152['distance']!=_0x173122['distance']?_0x173122['distance']-_0x402152['distance']:!!_0x402152['isAdded']!=!!_0x173122['isAdded']?-0x1==_0x402152['side']||0x0==_0x402152['side']?_0x402152['isAdded']?-0x1:0x1:_0x402152['isAdded']?0x1:-0x1:_0x402152['index']-_0x173122['index']),{'commonTape':_0x3a10f6,'iEnd':_0x420840,'jEnd':_0x2b0bda};function _0x381f14(_0x4154b1,_0x38a61e,_0x9d6153){let _0xfa79a6=-0x1,_0x30a3bf=Number['POSITIVE_INFINITY'],_0x3d0d27=!0x0;for(let _0x2e30af=_0x38a61e;_0x2e30af<_0x9d6153;_0x2e30af++)if(_0x120e59['isInline'](_0x4154b1[_0x2e30af]['item'])||(_0x3d0d27=!0x1),_0x4154b1[_0x2e30af]['item']['startIndex']<_0x38a61e&&(_0xfa79a6=_0x2e30af),_0x4154b1[_0x2e30af]['item']['endIndex']>=_0x9d6153){_0x30a3bf=_0x2e30af;break;}_0x3d0d27&&(_0xfa79a6=_0x9d6153-0x1);for(let _0x5041fa=_0x38a61e;_0x5041fa<_0x9d6153;_0x5041fa++)_0x4154b1[_0x5041fa]['side']=_0x5041fa<=_0xfa79a6?-0x1:_0x5041fa<_0x30a3bf?0x0:0x1,_0x4154b1[_0x5041fa]['index']=_0x5041fa;let _0x1e87cb=0x0;for(let _0x19d9ce=_0x38a61e;_0x19d9ce<=_0xfa79a6;_0x19d9ce++)0x0==_0x4154b1[_0x19d9ce]['distance']?_0x4154b1[_0x19d9ce]['level']=_0x1e87cb:(_0x1e87cb++,_0x4154b1[_0x19d9ce]['level']=_0x1e87cb,_0x1e87cb++);for(let _0x502406=_0x38a61e;_0x502406<_0x9d6153;_0x502406++)0x0==_0x4154b1[_0x502406]['side']&&(_0x4154b1[_0x502406]['level']=_0x1e87cb);_0x1e87cb=0x0;for(let _0xbda76b=_0x9d6153-0x1;_0xbda76b>=_0x30a3bf;_0xbda76b--)0x0==_0x4154b1[_0xbda76b]['distance']?_0x4154b1[_0xbda76b]['level']=_0x1e87cb:(_0x1e87cb--,_0x4154b1[_0xbda76b]['level']=_0x1e87cb,_0x1e87cb--);}}['_fixObsoleteTags'](_0x298e49){const _0x453057=new Map(),_0x32de9e=this['editor']['model']['schema'];for(let _0x5ab4e2=0x1;_0x5ab4e2<_0x298e49['length'];_0x5ab4e2++){let _0x350ba5,_0x46dd3f,_0x43d23a;const _0x3bae16=_0x298e49[_0x5ab4e2],_0x34c197=_0x298e49[_0x5ab4e2-0x1];if('text'==_0x3bae16['type'])continue;if(_0x3bae16['type']!=_0x34c197['type'])continue;if(!_0x32de9e['isBlock'](_0x34c197['item'])||_0x32de9e['isLimit'](_0x34c197['item']))continue;if(!_0x32de9e['isBlock'](_0x3bae16['item'])||_0x32de9e['isLimit'](_0x3bae16['item']))continue;if((_0x298e49[_0x5ab4e2]['isAdded']||_0x298e49[_0x5ab4e2]['isAddSuggestion'])&&_0x298e49[_0x5ab4e2-0x1]['isRemoved'])_0x350ba5=_0x298e49[_0x5ab4e2],_0x46dd3f=_0x298e49[_0x5ab4e2-0x1],_0x43d23a=_0x5ab4e2-0x1;else{if(!_0x298e49[_0x5ab4e2]['isRemoved']||!_0x298e49[_0x5ab4e2-0x1]['isAdded']&&!_0x298e49[_0x5ab4e2-0x1]['isAddSuggestion'])continue;_0x350ba5=_0x298e49[_0x5ab4e2-0x1],_0x46dd3f=_0x298e49[_0x5ab4e2],_0x43d23a=_0x5ab4e2;}const _0x564326=_0x350ba5['level']==_0x46dd3f['level'],_0x57c365=Math['abs'](_0x350ba5['level'])<Math['abs'](_0x46dd3f['level'])&&0x0==_0x46dd3f['distance'];(_0x564326||_0x57c365)&&(_0x453057['set'](_0x46dd3f['id'],_0x350ba5['id']),_0x298e49['splice'](_0x43d23a,0x1),_0x5ab4e2--,_0x350ba5['isAdded']=!0x1);}for(let _0xcb87c5=0x0;_0xcb87c5<_0x298e49['length'];_0xcb87c5++)_0x453057['has'](_0x298e49[_0xcb87c5]['pairId'])&&(_0x298e49[_0xcb87c5]['pairId']=_0x453057['get'](_0x298e49[_0xcb87c5]['pairId']));}['_removeMissingPairs'](_0x265780){const _0x442000=new Set(_0x265780['map'](_0x17b4fa=>_0x17b4fa['id']));for(let _0x530bca=0x0;_0x530bca<_0x265780['length'];_0x530bca++)_0x442000['has'](_0x265780[_0x530bca]['pairId'])||0x0==_0x265780[_0x530bca]['distance']||(_0x265780[_0x530bca]['isIncorrect']=!0x0);return _0x265780['filter'](_0x4fc68d=>!_0x4fc68d['isIncorrect']);}['_markMismatchedRemovedTags'](_0x3c0655){const _0xd39ae6=new Set();for(let _0x4a8370=0x0;_0x4a8370<_0x3c0655['length'];_0x4a8370++){if(_0xd39ae6['has'](_0x3c0655[_0x4a8370]['id'])&&_0x3c0655[_0x4a8370]['isRemoved']&&(_0x3c0655[_0x4a8370]['isIncorrect']=!0x0),_0x3c0655[_0x4a8370]['isIncorrect'])continue;if(0x0==_0x3c0655[_0x4a8370]['distance'])continue;if('elementStart'!=_0x3c0655[_0x4a8370]['type'])continue;if(null==_0x3c0655[_0x4a8370]['pairId'])continue;let _0x120df9=_0x4a8370+0x1,_0x2b9c35=0x0;for(;_0x3c0655[_0x120df9]['id']!=_0x3c0655[_0x4a8370]['pairId'];)'elementStart'==_0x3c0655[_0x120df9]['type']?_0x2b9c35++:'elementEnd'==_0x3c0655[_0x120df9]['type']&&_0x2b9c35--,_0x120df9++;if(0x0!=_0x2b9c35){if(_0x3c0655[_0x4a8370]['isRemoved'])_0x3c0655[_0x4a8370]['isIncorrect']=!0x0;else{for(;_0x120df9!=_0x4a8370;)_0x3c0655[_0x120df9]['isRemoved']&&0x0!=_0x3c0655[_0x120df9]['distance']&&(_0x3c0655[_0x120df9]['isIncorrect']=!0x0,_0xd39ae6['add'](_0x3c0655[_0x120df9]['pairId'])),_0x120df9--;}}}return _0x3c0655['filter'](_0x265bd1=>!_0x265bd1['isIncorrect']);}['_removeUnsupportedChanges'](_0x49417d){const _0x3141ce=this['editor']['model']['schema'];for(let _0x14a76e=0x0;_0x14a76e<_0x49417d['length'];_0x14a76e++){if(!(_0x49417d[_0x14a76e]['isAdded']||_0x49417d[_0x14a76e]['isAddSuggestion']||_0x49417d[_0x14a76e]['isRemoved']||_0x49417d[_0x14a76e]['isRemoveSuggestion']))continue;if(0x0==_0x49417d[_0x14a76e]['distance'])continue;const _0xad336=_0x49417d[_0x14a76e]['item'];_0x3141ce['isBlock'](_0xad336)||_0x3141ce['isLimit'](_0xad336)||(_0x49417d[_0x14a76e]['isAdded']&&delete _0x49417d[_0x14a76e]['isAdded'],_0x49417d[_0x14a76e]['isAddSuggestion']&&delete _0x49417d[_0x14a76e]['isAddSuggestion'],_0x49417d[_0x14a76e]['isRemoveSuggestion']&&delete _0x49417d[_0x14a76e]['isRemoveSuggestion'],_0x49417d[_0x14a76e]['isRemoved']&&(_0x49417d[_0x14a76e]['isIncorrect']=!0x0));}return _0x49417d['filter'](_0x2cc205=>!_0x2cc205['isIncorrect']);}['_makeModelFromTape'](_0x1ed12c,_0x156b78,_0x4dce4d){const _0x162eef=new wt(),_0x390169=[],_0x5cd586=new Map(),_0x2f79d1=this['editor']['model'],_0x52f282=_0x2f79d1['schema'],_0x9c28a4=[_0x162eef],_0x3cb784={},_0x364c34={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1bce8f=null;const _0x2fce96=[0x0];for(let _0x9a5498=0x0;_0x9a5498<_0x1ed12c['length'];_0x9a5498++){let _0x1f8feb,_0x3d2020;if('elementStart'===_0x1ed12c[_0x9a5498]['type']){_0x1f8feb=_0x2f79d1['createPositionFromPath'](_0x162eef,_0x2fce96);const _0x8531c4=new ft(_0x1ed12c[_0x9a5498]['item']['name'],_0x1ed12c[_0x9a5498]['item']['getAttributes']());_0x9c28a4[0x0]['_appendChild'](_0x8531c4),_0x2fce96['push'](0x0),_0x9c28a4['unshift'](_0x8531c4),_0x3d2020=_0x2f79d1['createPositionFromPath'](_0x162eef,_0x2fce96),_0x1bce8f=null;}else{if('elementEnd'===_0x1ed12c[_0x9a5498]['type'])_0x9c28a4['shift'](),_0x1f8feb=_0x2f79d1['createPositionFromPath'](_0x162eef,_0x2fce96),_0x2fce96['pop'](),_0x2fce96[_0x2fce96['length']-0x1]++,_0x3d2020=_0x2f79d1['createPositionFromPath'](_0x162eef,_0x2fce96),_0x1bce8f=null;else{if(_0x1f8feb=_0x2f79d1['createPositionFromPath'](_0x162eef,_0x2fce96),_0x1bce8f&&_0xa1cfd8(_0x1bce8f,_0x1ed12c[_0x9a5498]['item']))_0x1bce8f['_data']+=_0x1ed12c[_0x9a5498]['item']['data'];else{const _0x138d45=new _t(_0x1ed12c[_0x9a5498]['item']['data'],_0x1ed12c[_0x9a5498]['item']['getAttributes']());_0x9c28a4[0x0]['_appendChild'](_0x138d45),_0x1bce8f=_0x138d45;}_0x2fce96[_0x2fce96['length']-0x1]+=_0x1ed12c[_0x9a5498]['item']['offsetSize'],_0x3d2020=_0x2f79d1['createPositionFromPath'](_0x162eef,_0x2fce96);}}for(const _0x4c11d8 of _0x1ed12c[_0x9a5498]['markersStart'])_0x5cd586['set'](_0x4c11d8,{'start':_0x1f8feb,'end':null});_0xd33d79('isRemoveSuggestion',_0x9a5498,_0x1f8feb,_0x3d2020),_0xd33d79('isAddSuggestion',_0x9a5498,_0x1f8feb,_0x3d2020),_0xd33d79('isRemoved',_0x9a5498,_0x1f8feb,_0x3d2020),_0xd33d79('isAdded',_0x9a5498,_0x1f8feb,_0x3d2020);for(const _0x346122 of _0x1ed12c[_0x9a5498]['markersEnd']){_0x5cd586['get'](_0x346122)['end']=_0x3d2020;}}for(const [_0x1a69da,_0x27f981]of _0x5cd586){const _0x26a6d6=this['editor']['model']['createRange'](_0x27f981['start'],_0x27f981['end']);_0x162eef['markers']['set'](_0x1a69da,_0x26a6d6);}return _0x390169['sort']((_0xaf7a8,_0x4f15da)=>{const _0x3bdec5=_0x162eef['markers']['get']('revision:'+_0xaf7a8['id']),_0x320a98=_0x162eef['markers']['get']('revision:'+_0x4f15da['id']);return _0x3bdec5['start']['isBefore'](_0x320a98['start'])?-0x1:_0x3bdec5['start']['isAfter'](_0x320a98['start'])?0x1:_0x3bdec5['end']['isBefore'](_0x320a98['end'])?-0x1:_0x3bdec5['end']['isAfter'](_0x320a98['end'])?0x1:'add'===_0xaf7a8['type']?-0x1:0x1;}),{'root':_0x162eef,'changes':_0x390169};function _0xd33d79(_0x449203,_0x35f556,_0x2e13c5,_0x4086a6){const _0x419350=!!_0x1ed12c[_0x35f556][_0x449203],_0x5d78a0=_0x419350?_0x1ed12c[_0x35f556][_0x449203]['userId']:null,_0x105fd7=_0x35f556===_0x1ed12c['length']-0x1,_0xb793b7=_0x364c34[_0x449203][0x0],_0xcea90b=_0x52f282['isObject'](_0x1ed12c[_0x35f556]['item']);!_0x3cb784[_0x449203]&&_0x419350?_0x3cb784[_0x449203]={'start':_0x2e13c5,'tapeItem':_0x1ed12c[_0x35f556],'userId':_0x5d78a0,'type':_0x449203}:_0x3cb784[_0x449203]&&!_0x419350?(_0x3cb784[_0x449203]['end']=_0x2e13c5,_0x22fcd4(_0x3cb784[_0x449203]),_0x3cb784[_0x449203]=null):_0x3cb784[_0x449203]&&_0x419350&&_0x3cb784[_0x449203]['userId']!==_0x5d78a0&&(_0x3cb784[_0x449203]['end']=_0x2e13c5,_0xb793b7&&_0xb793b7['userId']===_0x3cb784[_0x449203]['userId']||_0x22fcd4(_0x3cb784[_0x449203]),_0x3cb784[_0x449203]={'start':_0x2e13c5,'tapeItem':_0x1ed12c[_0x35f556],'userId':_0x5d78a0,'type':_0x449203}),_0x3cb784[_0x449203]&&_0xcea90b&&('elementStart'!==_0x1ed12c[_0x35f556]['type']||_0xb793b7&&_0xb793b7['userId']===_0x5d78a0||_0x364c34[_0x449203]['unshift']({'userId':_0x5d78a0,'object':_0x1ed12c[_0x35f556]['item'],'change':_0x3cb784[_0x449203]}),'elementEnd'===_0x1ed12c[_0x35f556]['type']&&_0xb793b7&&_0xb793b7['object']===_0x1ed12c[_0x35f556]['item']&&(_0x364c34[_0x449203]['shift'](),_0x3cb784[_0x449203]=_0xb793b7['change'])),_0x3cb784[_0x449203]&&_0x105fd7&&(_0x3cb784[_0x449203]['end']=_0x4086a6,_0x22fcd4(_0x3cb784[_0x449203]),_0x3cb784[_0x449203]=null);}function _0x22fcd4({start:_0x265e95,end:_0x4be9ae,tapeItem:_0x33d42e,userId:_0x5967ba,type:_0xaed230}){const _0x280804=_0x33d42e['item'],_0x2a8d35=_0x2f79d1['schema']['isBlock'](_0x280804)&&!_0x2f79d1['schema']['isLimit'](_0x280804),_0x669fe3=_0x265e95['nodeAfter']==_0x4be9ae['parent']&&_0x4be9ae['isAtStart'];if(_0x2a8d35&&_0x669fe3)return;const _0x2acea6=_0x2f79d1['createRange'](_0x265e95,_0x4be9ae),_0x4e84fc=_0x156b78['get'](_0x5967ba),_0x3d6f7c=new r({'author':_0x4e84fc,'type':'isAdded'==_0xaed230||'isAddSuggestion'==_0xaed230?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xaed230||'isRemoveSuggestion'==_0xaed230},'createdAt':new Date(),'rootName':_0x4dce4d});_0x390169['push'](_0x3d6f7c),_0x162eef['markers']['set']('revision:'+_0x3d6f7c['id'],_0x2acea6);}function _0xa1cfd8(_0x2ac186,_0x463cad){const _0x7a8874=_0x2ac186['getAttributes'](),_0x27ab91=_0x463cad['getAttributes']();for(const _0x25e534 of _0x7a8874){if(_0x25e534[0x1]!==_0x463cad['getAttribute'](_0x25e534[0x0]))return!0x1;_0x27ab91['next']();}return _0x27ab91['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x45dbd5=>{const _0x4ad957=_0x45dbd5['markerName']['split'](':')[0x1],_0x1e1f29=this['_getChangeFromId'](_0x4ad957);if(!_0x1e1f29)return null;const _0x83dbe0='add'==_0x1e1f29['type']?'insertion':'deletion',_0x56ee03=['ck-suggestion-marker','ck-suggestion-marker-'+_0x83dbe0];return _0x1e1f29['data']['isSuggestion']&&_0x56ee03['push']('ck-suggestion-marker-'+_0x83dbe0+'-new'),this['activeChange']==_0x1e1f29&&_0x56ee03['push']('ck-suggestion-marker--active'),{'classes':_0x56ee03,'attributes':{'data-change-id':_0x4ad957}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2b45fa=>{_0x2b45fa['on']('element:pre',(_0x5247d5,_0x391575,_0x1bb462)=>{const _0x5c9349=_0x391575['viewItem']['getChild'](0x0);if(!_0x5c9349||!_0x5c9349['is']('element','code'))return;if(!_0x1bb462['consumable']['consume'](_0x5c9349,{'attributes':['vid_start','vid_end']}))return;const _0x43bbd9=_0x391575['modelRange']['start']['nodeAfter'];_0x1bb462['writer']['setAttribute']('vid_start',_0x5c9349['getAttribute']('vid_start'),_0x43bbd9),_0x1bb462['writer']['setAttribute']('vid_end',_0x5c9349['getAttribute']('vid_end'),_0x43bbd9);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3db42c=>{_0x3db42c['on']('element',(_0x48bd33,_0x37ce75,_0x44b5c2)=>{if(!_0x44b5c2['consumable']['consume'](_0x37ce75['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x37ce75['modelRange']['isCollapsed'])return;const _0x19eaee=_0x37ce75['modelRange']['start']['nodeAfter'];_0x19eaee['hasAttribute']('vid_start')||_0x19eaee['hasAttribute']('vid')||(_0x44b5c2['writer']['setAttribute']('vid_start',_0x37ce75['viewItem']['getAttribute']('vid_start'),_0x19eaee),_0x44b5c2['writer']['setAttribute']('vid_end',_0x37ce75['viewItem']['getAttribute']('vid_end'),_0x19eaee));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x232b1a=>_0x232b1a['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x19268a,[,_0x38e909])=>{['vid_start','vid_end','vid']['includes'](_0x38e909)&&(_0x19268a['return']=!0x0,_0x19268a['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x11bdcc=>{_0x11bdcc['on']('attribute:vid',(_0x1371da,_0x5681cc,_0x45d294)=>{if('\x20'!=_0x5681cc['item']['data']||_0x5681cc['item']['parent']['maxOffset']>0x1)return;if(!_0x45d294['consumable']['consume'](_0x5681cc['item'],_0x1371da['name']))return;const _0x2fe00e=_0x45d294['writer'],_0x3abcc9=_0x45d294['mapper']['toViewRange'](_0x5681cc['range']);_0x2fe00e['wrap'](_0x3abcc9,_0x2fe00e['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x9dae78){const _0x18e439=_0x9dae78['plugins']['get']('RevisionViewer');return(_0x1fa026,_0x12dfb3,_0x5c4032)=>{const _0x951810=_0x12dfb3['markerName']['split'](':')[0x1],_0x685dcd=_0x18e439['_getChangeFromId'](_0x951810);if(!_0x685dcd)return null;const _0x20add6='add'==_0x685dcd['type']?'split':'merge';if(!_0x5c4032['consumable']['test'](_0x12dfb3['markerRange'],_0x1fa026['name']))return;const _0x28ddb0=_0x12dfb3['markerRange']['getWalker'](),_0x4d8068=_0x12dfb3['markerRange']['start'],_0x4edd6c=_0x9dae78['model']['schema'];let _0x4c4940=null,_0x3aef2e=null,_0x2fd3fb=!0x1,_0x252686=!0x1;for(const _0x5c31be of _0x28ddb0){const _0x5bbea0=_0x5c31be['item'];_0x2fd3fb=_0x2fd3fb||_0x4edd6c['isContent'](_0x5bbea0);const _0x1a1609=_0x5c4032['mapper']['toViewElement'](_0x5bbea0);if(_0x1a1609&&_0x1a1609['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5c31be['type']&&(_0x4edd6c['isBlock'](_0x5bbea0)&&!_0x4edd6c['isLimit'](_0x5bbea0)&&(_0x5bbea0['nextSibling']||_0x4d8068['isAtEnd']?_0x4c4940&&_0x4c4940['parent']==_0x5bbea0||(_0x4c4940=_0x5bbea0,_0x24077e(_0x5c31be['previousPosition']),_0x252686=!0x0):_0x3aef2e=_0x3aef2e||_0x5c31be['previousPosition']));}function _0x24077e(_0x432483){const _0x52d73f=_0x5c4032['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x20add6}),_0x351188=_0x5c4032['mapper']['toViewPosition'](_0x432483);_0x685dcd['data']['isSuggestion']&&_0x5c4032['writer']['addClass']('ck-suggestion-marker-'+_0x20add6+'-new',_0x52d73f),_0x18e439['activeChange']==_0x685dcd&&_0x5c4032['writer']['addClass']('ck-suggestion-marker--active',_0x52d73f),_0x5c4032['writer']['insert'](_0x351188,_0x52d73f),_0x5c4032['mapper']['bindElementToMarker'](_0x52d73f,_0x12dfb3['markerName']);}_0x2fd3fb||_0x252686||!_0x3aef2e||_0x24077e(_0x3aef2e);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3dd05b,_0x4f1758,_0xded051)=>{const _0x589f53=_0xded051['mapper']['markerNameToElements'](_0x4f1758['markerName']);if(_0x589f53){for(const _0x1665ac of _0x589f53)(_0x1665ac['hasClass']('ck-suggestion-marker-split')||_0x1665ac['hasClass']('ck-suggestion-marker-merge'))&&(_0xded051['mapper']['unbindElementFromMarkerName'](_0x1665ac,_0x4f1758['markerName']),_0xded051['writer']['remove'](_0x1665ac));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x1aacb2,_0x54b3f6,_0x3f08a1)=>{const _0x48877c=_0x54b3f6['markerName']['split'](':')[0x1],_0x18a962=this['_getChangeFromId'](_0x48877c);if(!_0x18a962)return null;const _0x16a6cf='add'==_0x18a962['type']?'split':'merge';if(_0x3f08a1['consumable']['test'](_0x54b3f6['markerRange'],_0x1aacb2['name']))for(const _0xaba316 of _0x54b3f6['markerRange']['getItems']()){if(!_0xaba316['is']('element','softBreak'))continue;const _0x49e846=_0x3f08a1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x16a6cf}),_0x31156d=_0x3f08a1['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0xaba316));_0x18a962['data']['isSuggestion']&&_0x3f08a1['writer']['addClass']('ck-suggestion-marker-'+_0x16a6cf+'-new',_0x49e846),this['activeChange']==_0x18a962&&_0x3f08a1['writer']['addClass']('ck-suggestion-marker--active',_0x49e846),_0x3f08a1['writer']['insert'](_0x31156d,_0x49e846),_0x3f08a1['mapper']['bindElementToMarker'](_0x49e846,_0x54b3f6['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4b2183=>{for(const _0x41aa4e of this['editor']['model']['document']['getRootNames']()){const _0x2af2a2=this['editor']['model']['document']['getRoot'](_0x41aa4e),_0x4de0e1=this['editor']['editing']['view']['document']['getRoot'](_0x41aa4e);if(_0x4de0e1){const _0x4c3839=_0x2af2a2['getAttribute']('revisionHistoryAttachChange');if(_0x4b2183['removeAttribute']('data-change-id',_0x4de0e1),_0x4b2183['removeClass']('ck-revision-history-root-add',_0x4de0e1),_0x4b2183['removeClass']('ck-revision-history-root-remove',_0x4de0e1),_0x4b2183['removeClass']('ck-revision-history-root--active',_0x4de0e1),_0x4c3839){const _0x1d3c9d=this['_getChangeFromId'](_0x4c3839);if(!_0x1d3c9d)return null;_0x4b2183['setAttribute']('data-change-id',_0x4c3839,_0x4de0e1),_0x4b2183['addClass']('ck-revision-history-root-'+_0x1d3c9d['type'],_0x4de0e1),this['activeChange']==_0x1d3c9d&&_0x4b2183['addClass']('ck-revision-history-root--active',_0x4de0e1);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xc526d1=>'revision-comment:'+_0xc526d1,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1a56b6=>'revision-suggestion:'+_0x1a56b6,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5b4af3=>({'name':'suggestion:'+_0x5b4af3,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2c57e8=>{const _0x421344=_0x2c57e8['markerName']['split'](':')[0x1];return'insertion'!=_0x421344&&'deletion'!=_0x421344?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x421344]};}}),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',(_0xed7722,_0x4258e9,_0x23f81a)=>{const _0x243f61=_0x23f81a['mapper']['markerNameToElements'](_0x4258e9['markerName']);if(_0x243f61){for(const _0x49287c of _0x243f61)_0x49287c['is']('uiElement')&&(_0x23f81a['mapper']['unbindElementFromMarkerName'](_0x49287c,_0x4258e9['markerName']),_0x23f81a['writer']['remove'](_0x49287c));}},{'priority':'high'});}['_getChangeFromId'](_0x8b413f){return this['_changeIdToChange']['get'](_0x8b413f);}['_getViewForChange'](_0x26ffd0){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x26ffd0),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x34f454,_0x1de5ef,_0x110bbe,_0x3c9533)=>{_0x3c9533&&this['_balloon']['remove'](_0x3c9533),_0x110bbe&&(this['_balloon']['add']({'view':_0x110bbe,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x1569e4=this['editor']['editing'],_0x3b503e=this['_getChangeFromId'](_0x110bbe['changeId']);let _0x250cc3;if(_0x3b503e['data']['isOnRoot']){const _0x3dd209=_0x1569e4['view']['getDomRoot'](_0x3b503e['rootName']);_0x250cc3=Array['from'](_0x3dd209['getClientRects']());}else{const _0x38a7d6=this['editor']['model']['markers']['get']('revision:'+_0x110bbe['changeId']);_0x250cc3=Array['from'](_0x1569e4['mapper']['markerNameToElements'](_0x38a7d6['name']))['map'](_0xba82ce=>_0x1569e4['view']['domConverter']['mapViewToDom'](_0xba82ce))['map'](_0x1bacf6=>Array['from'](_0x1bacf6['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x250cc3[0x0];return _0x250cc3['find'](_0x53aec2=>_0x53aec2['top']-0x3<=this['_activeViewTarget']['y']&&_0x53aec2['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x53aec2['left']-0x3<=this['_activeViewTarget']['x']&&_0x53aec2['right']+0x3>=this['_activeViewTarget']['x'])||_0x250cc3[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4dad8d,_0x14dc29,_0xaebe8d,_0x31cf45)=>{this['activeView']=_0xaebe8d?this['_getViewForChange'](_0xaebe8d):null,this['editor']['model']['change'](()=>{const _0x4b8475=this['editor']['editing'];_0x31cf45&&(_0x31cf45['data']['isOnRoot']?_0x4b8475['view']['change'](_0x133956=>{_0x133956['removeClass']('ck-revision-history-root--active',_0x4b8475['view']['document']['getRoot'](_0x31cf45['rootName']));}):_0x4b8475['reconvertMarker']('revision:'+_0x31cf45['id'])),_0xaebe8d&&(_0xaebe8d['data']['isOnRoot']?_0x4b8475['view']['change'](_0x310c45=>{_0x310c45['addClass']('ck-revision-history-root--active',_0x4b8475['view']['document']['getRoot'](_0xaebe8d['rootName']));}):_0x4b8475['reconvertMarker']('revision:'+_0xaebe8d['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x52772c,_0x4c9de1)=>{if(this['activeChange'])return;const _0x5f5704=this['_findChangeIdFromDomTarget'](_0x4c9de1['target']),_0x29d429=this['_changeIdToChange']['get'](_0x5f5704);_0x29d429?(this['_activeViewTarget']={'x':_0x4c9de1['domEvent']['x'],'y':_0x4c9de1['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x29d429)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x576f80,_0x468300)=>{const _0x31bcb2=this['_findChangeIdFromDomTarget'](_0x468300['target']),_0x5b0c18=this['_changeIdToChange']['get'](_0x31bcb2);_0x5b0c18?(this['_activeViewTarget']={'x':_0x468300['domEvent']['x'],'y':_0x468300['domEvent']['y']},_0x5b0c18===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x5b0c18):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x4374b7){do{const _0x80d67c=_0x4374b7['getAttribute']('data-change-id');if(_0x80d67c)return _0x80d67c;_0x4374b7=_0x4374b7['parent'];}while(_0x4374b7);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x547774=>{for(const _0x4ea869 of this['editor']['model']['markers'])_0x547774['removeMarker'](_0x4ea869);});}}function et(_0x53d563,_0x41e7e4){return(_0x45a546,_0x43d4db,_0x2ccaf9)=>{if(!_0x2ccaf9['consumable']['test'](_0x43d4db['markerRange'],_0x45a546['name']))return;const _0x362299=_0x43d4db['markerRange']['getWalker'](),_0x1a2e8d=_0x43d4db['markerRange']['start'],_0x194a2c=_0x53d563['model']['schema'];let _0x3e224b=null,_0x29617b=null,_0x228466=!0x1,_0x34a21c=!0x1;for(const _0x148e7a of _0x362299){const _0x4cde14=_0x148e7a['item'];_0x228466=_0x228466||_0x194a2c['isContent'](_0x4cde14);const _0x5b8954=_0x2ccaf9['mapper']['toViewElement'](_0x4cde14);if(_0x5b8954&&_0x5b8954['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x148e7a['type']&&(_0x194a2c['isBlock'](_0x4cde14)&&!_0x194a2c['isLimit'](_0x4cde14)&&(_0x4cde14['nextSibling']||_0x1a2e8d['isAtEnd']?_0x3e224b&&_0x3e224b['parent']==_0x4cde14||(_0x3e224b=_0x4cde14,_0x3c0cc6(_0x148e7a['previousPosition']),_0x34a21c=!0x0):_0x29617b=_0x29617b||_0x148e7a['previousPosition']));}function _0x3c0cc6(_0x5634f4){const _0x181708=_0x2ccaf9['mapper']['toViewPosition'](_0x5634f4),_0x324c40=_0x2ccaf9['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x41e7e4});_0x2ccaf9['writer']['insert'](_0x181708,_0x324c40),_0x2ccaf9['mapper']['bindElementToMarker'](_0x324c40,_0x43d4db['markerName']);}_0x228466||_0x34a21c||!_0x29617b||_0x3c0cc6(_0x29617b);};}class bt extends _0x5e240a{constructor(_0x23a3f5){super(_0x23a3f5);const _0xd9f31d=_0x23a3f5['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0xd9f31d,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xd9f31d,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3f5cfd=this['editor'],_0x5a41b8=_0x3f5cfd['plugins']['get'](d),_0x416afe=_0x5a41b8['isReady']?_0x5a41b8['diff']['newRevisionId']:null;_0x3f5cfd['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x416afe);}['refresh'](){const {isReady:_0x4b9fa5,isEnabled:_0x130b04}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x4b9fa5&&_0x130b04;}}class yt extends _0x5e240a{['_step'];constructor(_0x4d0a7d,{direction:_0xac12ea}){super(_0x4d0a7d);const _0x1a6a1c=_0x4d0a7d['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0xac12ea?0x1:-0x1,this['listenTo'](_0x1a6a1c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1a6a1c,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x1a6a1c,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x59c174=this['editor'],_0x2389d1=_0x59c174['plugins']['get'](d),{isNavigationMode:_0x1201ba,currentChangeNumber:_0x5b3ce1}=_0x2389d1;let _0x1e71ca;if(_0x2389d1['activeChange']=_0x1201ba?_0x2389d1['diff']['changes']['get'](_0x5b3ce1+this['_step']):_0x2389d1['diff']['changes']['first'],_0x2389d1['activeChange']['data']['isOnRoot'])_0x1e71ca=_0x59c174['editing']['view']['getDomRoot'](_0x2389d1['activeChange']['rootName']);else{const _0x4b6534=_0x59c174['model']['markers']['get']('revision:'+_0x2389d1['activeChange']['id']);_0x1e71ca=_0x8dee82(_0x59c174['editing'],_0x4b6534);}_0x215e88({'target':_0x1e71ca,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x579778,currentChangeNumber:_0x23b346,numberOfChanges:_0x5b5512,isReady:_0x285c38,isEnabled:_0x1339a7}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1339a7&&_0x285c38&&_0x5b5512)&&(!_0x579778||(0x1===this['_step']?_0x23b346<_0x5b5512-0x1:_0x23b346>0x0));}}class _i extends _0xb47535{constructor(_0x269535){super(_0x269535);const _0x4e6365=this['bindTemplate'],_0x978d59=new _0x14aa36(_0x269535),_0x40ebbe=new _0x14aa36(_0x269535);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',(_0x3a5957,_0x284073)=>_0x3a5957&&_0x284073>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3ecc9f,_0x278b05,_0x279e07,_0x46eabf)=>{if(!_0x3ecc9f)return y(_0x269535,'Loading...');if(!_0x279e07)return y(_0x269535,'No\x20changes');const _0x3c13a7=y(_0x269535,'NUMBER_OF_CHANGES',_0x279e07);return _0x46eabf?y(_0x269535,'X_OF_Y_CHANGES',[_0x278b05+0x1,_0x279e07]):_0x3c13a7;}),_0x978d59['set']({'label':y(_0x269535,'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'}),_0x40ebbe['set']({'label':y(_0x269535,'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'}),_0x978d59['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x40ebbe['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x978d59['on']('execute',()=>this['fire']('execute','backward')),_0x40ebbe['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',_0x4e6365['if']('_isStatusLabelVisible','ck-hidden',_0x201eb0=>!_0x201eb0)]},'children':[{'text':_0x4e6365['to']('isNavigationMode',_0xe6837e=>_0xe6837e?y(_0x269535,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x269535,'Total')+':\x20')}]},{'text':_0x4e6365['to']('_statusText')}]},new _0x12013a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x978d59,_0x40ebbe]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x4b351f{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x1f1bfb=this['editor']['editing']['view'];_0x1f1bfb['change'](_0x596516=>{for(const _0x28c5ea of _0x1f1bfb['document']['roots'])_0x596516['addClass'](ce,_0x28c5ea);});}['hide'](){const _0x32b6af=this['editor']['editing']['view'];_0x32b6af['change'](_0x49c1d1=>{for(const _0x1d7878 of _0x32b6af['document']['roots'])_0x49c1d1['removeClass'](ce,_0x1d7878);});}}class R extends _0x4b351f{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x20a44c=this['editor'],_0x10f3aa=_0x20a44c['plugins']['get'](d),_0x17e014=_0x20a44c['plugins']['get'](de);_0x20a44c['ui']['componentFactory']['add']('exitToEditing',_0xede49a=>{const _0x6e47cc=new _0x14aa36(_0xede49a);return _0x6e47cc['set']({'label':y(_0xede49a,'Back\x20to\x20editing'),'icon':_0x59636f['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x6e47cc,'execute',()=>{_0x20a44c['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x6e47cc;}),_0x20a44c['ui']['componentFactory']['add']('restoreRevision',_0x3b5931=>{const _0x1b5016=new _0x14aa36(_0x3b5931);return _0x1b5016['set']({'label':y(_0x3b5931,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x1b5016['bind']('isEnabled')['to'](_0x20a44c['commands']['get']('restoreRevision')),this['listenTo'](_0x1b5016,'execute',()=>_0x20a44c['execute']('restoreRevision')),_0x1b5016;}),_0x20a44c['ui']['componentFactory']['add']('changesNavigation',_0x4d0244=>{const _0x53b6b9=new _i(_0x4d0244),_0x10056a=_0x20a44c['commands']['get']('showPreviousChange'),_0x3dc249=_0x20a44c['commands']['get']('showNextChange');return _0x53b6b9['bind']('isBackwardNavigationEnabled')['to'](_0x10056a,'isEnabled'),_0x53b6b9['bind']('isForwardNavigationEnabled')['to'](_0x3dc249,'isEnabled'),_0x53b6b9['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x10f3aa),this['listenTo'](_0x53b6b9,'execute',(_0x4e5365,_0x45b8be)=>{_0x20a44c['execute']('forward'===_0x45b8be?'showNextChange':'showPreviousChange');}),_0x53b6b9;}),_0x17e014['show'](),_0x10f3aa['on']('change:isReady',(_0x5cb829,_0x1a33e1,_0x481a8d)=>{_0x481a8d?_0x17e014['hide']():_0x17e014['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1e3cf3,_0x4323b5){super(_0x1e3cf3,_0x4323b5);const _0x14a958=this['bindTemplate'];this['set']({'label':y(_0x1e3cf3,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1e3cf3,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x14a958['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 _0x17df9=this['fieldView']['element'];this['_tooltipString']=_0x17df9['scrollWidth']>_0x17df9['clientWidth']&&_0x17df9['value']||'';}}class ti extends _0xb47535{constructor(_0x4f8dff,_0x3b196c,_0x440ad4){super(_0x4f8dff);const _0x12a46d=new _0x49ae77();_0x12a46d['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 _0x35ee5b=['ck','ck-revision-history-sidebar__revision-author'];_0x440ad4&&_0x35ee5b['push']('ck-revision-history-sidebar__revision-author_creator');const _0x66fba9=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x4f8dff,_0x440ad4?'Revision\x20creator':'Revision\x20author')},'children':[_0x12a46d,_0x3b196c['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x35ee5b},'children':_0x66fba9});}}function ni(_0x57131e,_0x15e215){const _0x4aa163=_0x57131e['bindTemplate'],_0x376771=_0x57131e['locale'],_0x3a2b69=_0x43d586(_0x376771);_0x3a2b69['panelPosition']='sw';const _0x44867e=function(_0x2c08fb,_0x4ed1e0){const _0x20d10d=function(_0x5bcac9,_0x19ed52){const _0x4e34b3=_0x5bcac9['locale'],_0x2d1dd4={'Compare\x20against\x20selected':y(_0x4e34b3,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x4e34b3,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x4e34b3,'Restore\x20this\x20revision')};return _0x19ed52['map'](_0x3a0637=>{const _0x40cb7f=_0x2d1dd4[_0x3a0637['name']];return _0x40cb7f&&_0x40cb7f!==_0x3a0637['name']&&(_0x3a0637['name']=_0x40cb7f),_0x3a0637;});}(_0x2c08fb,_0x4ed1e0),_0x1eab49=new _0x3c6496();for(const _0x4d5253 of _0x20d10d){const _0x39595c={'type':'button','model':new to({'label':_0x4d5253['name'],'class':_0x4d5253['class'],'withText':!0x0,'role':'menuitem','_action':_0x4d5253['action']})};_0x39595c['model']['bind']('isEnabled')['to'](_0x2c08fb,'isActionsDropdownOpen',_0x337f12=>'function'!=typeof _0x4d5253['isEnabled']||(!_0x337f12||_0x4d5253['isEnabled'](_0x2c08fb))),_0x1eab49['add'](_0x39595c);}return _0x1eab49;}(_0x57131e,_0x15e215);return _0x57131e['bind']('isActionsDropdownOpen')['to'](_0x3a2b69,'isOpen'),_0x3a2b69['buttonView']['set']({'label':y(_0x376771,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x59636f['threeVerticalDots']}),_0x3a2b69['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x4aa163['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x4aa163['to'](_0x3017ec=>_0x3017ec['stopPropagation']())}}),_0x3a2b69['on']('execute',_0xf7f314=>{_0x57131e['isReady']&&'function'==typeof _0xf7f314['source']['_action']&&_0xf7f314['source']['_action'](_0x57131e);}),_0x15cb9d(_0x3a2b69,_0x44867e,{'role':'menu'}),_0x3a2b69['listenTo'](_0x57131e,'change:isActionsDropdownOpen',(_0x477d60,_0x9682ea,_0x1b1328)=>{if(_0x1b1328)for(const _0x41d30a of _0x3a2b69['listView']['items']){const _0x1dc885=_0x41d30a['children']['first'],_0x218361=_0x15e215['find'](_0x18c0e8=>_0x18c0e8['action']===_0x1dc885['_action'])['isVisible'];_0x41d30a['isVisible']=void 0x0===_0x218361||_0x218361(_0x57131e);}}),_0x3a2b69;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x30b520(_0xb47535){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x38853c,_0x2f0548,_0x5d8581,_0x5c9f76){super(_0x38853c);const _0x5cfeae=this['bindTemplate'],_0x4fcc28=function(_0x257be7,_0x3a8e77){const _0x19f183=Array['from'](_0x3a8e77['authors'])['filter'](_0x46b849=>_0x46b849!=_0x3a8e77['creator']);return _0x3a8e77['creator']&&_0x19f183['unshift'](_0x3a8e77['creator']),_0x19f183['map'](_0x5caed8=>new ti(_0x257be7,_0x5caed8,_0x5caed8==_0x3a8e77['creator']));}(_0x38853c,_0x2f0548);this['id']=_0x2f0548['id'],this['_revision']=_0x2f0548,this['_requireRevisionName']=_0x5c9f76,this['bind']('name','createdAt')['to'](_0x2f0548),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x138522=>{return _0x140946=_0x38853c['uiLanguage'],(_0xe7abae=_0x138522)['toLocaleDateString'](_0x140946,{'month':'long','day':'numeric'})+',\x20'+_0xe7abae['toLocaleTimeString'](_0x140946,{'hour':'numeric','minute':'numeric'});var _0x140946,_0xe7abae;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x38853c,_0x5a6b5c),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x2f5274=>_0x2f5274||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x4675d9,_0x5b0725)=>_0x4675d9&&_0x5b0725),this['revisionActionsView']=_0x5d8581&&_0x5d8581['length']?ni(this,_0x5d8581):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5cfeae['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5cfeae['if']('isEnabled','ck-disabled',_0x3bccf9=>!_0x3bccf9),_0x5cfeae['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5cfeae['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5cfeae['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':_0x5cfeae['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':_0x4fcc28}]},this['revisionActionsView']],'on':{'click':_0x5cfeae['to'](_0x5cec07=>{_0x5cec07['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x10198c=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x10198c,'change',()=>{this['_requireRevisionName']&&!_0x10198c['value']||this['fire']('setName',{'id':this['id'],'name':_0x10198c['value']}),_0x10198c['value']||(_0x10198c['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(_0x213619,_0x35701c){const _0x47f9c0=_0x111e99['fromJSDate'](_0x213619)['setLocale'](_0x35701c),_0x4c13ef=_0x111e99['local'](),_0x4fe541=_0x4c13ef['minus']({'days':0x1})['startOf']('day');let _0x415cf7,_0x423894;return _0x47f9c0['hasSame'](_0x4c13ef,'day')?(_0x415cf7=_0x47f9c0['startOf']('day')['toJSDate'](),_0x423894=_0x47f9c0['toRelativeCalendar']()):_0x47f9c0['hasSame'](_0x4fe541,'day')?(_0x415cf7=_0x4fe541['toJSDate'](),_0x423894=_0x47f9c0['toRelativeCalendar']()):_0x47f9c0['hasSame'](_0x4c13ef,'week')?(_0x415cf7=_0x47f9c0['startOf']('week')['toJSDate'](),_0x423894=_0x47f9c0['weekdayLong']||''):_0x47f9c0['hasSame'](_0x4c13ef,'year')?(_0x415cf7=_0x47f9c0['startOf']('month')['toJSDate'](),_0x423894=_0x47f9c0['monthLong']||''):(_0x415cf7=_0x47f9c0['startOf']('year')['toJSDate'](),_0x423894=String(_0x47f9c0['year'])),{'startDate':_0x415cf7,'localizedPeriodName':_0x423894};}class mi extends _0xb47535{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4f8d35,_0x28a765,_0x5adeff,_0x5d4949){super(_0x4f8d35);const _0x5a1f97=di(_0x28a765,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x28a765,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x5adeff,this['_requireRevisionName']=_0x5d4949,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':_0x5a1f97}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x5357cc){const _0x10cccc=new ai(this['locale'],_0x5357cc,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x10cccc);}['removeRevision'](_0x5a32df){const _0x1d00a0=this['revisionViews']['find'](_0x43b6b3=>_0x43b6b3['id']===_0x5a32df['id']);this['revisionViews']['remove'](_0x1d00a0);}}class as extends _0xb47535{constructor(_0x3ff426){super(_0x3ff426);const _0x4b5a01=new _0x49ae77();_0x4b5a01['content']=_0x59636f['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x4b5a01,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3ff426,'Revision\x20history')]}]});}}class ci extends _0xb47535{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3d7a82,_0x509c23,_0x59d763,_0x3188cf){super(_0x3d7a82);const _0x570619=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x509c23,this['_revisionActions']=_0x59d763,this['_requireRevisionName']=_0x3188cf,this['on']('select',(_0x2ac9d4,_0x36f2fc)=>{this['fire']('revisionSelected',_0x36f2fc);}),this['on']('setName',(_0x135845,_0x38fee3)=>{this['fire']('revisionSetName',_0x38fee3);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x3d7a82),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x570619['if']('isEnabled','ck-disabled',_0x5d1d01=>!_0x5d1d01)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x6e0420 of this['_revisions'])this['_addRevision'](_0x6e0420);this['_revisions']['on']('add',(_0x416c49,_0x105b1a)=>{this['_addRevision'](_0x105b1a);}),this['_revisions']['on']('remove',(_0x2db361,_0x964706)=>{this['_removeRevision'](_0x964706);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5f403d=>_0x5f403d['revisionViews']['map'](_0x251131=>_0x251131))['flat']();}['selectRevision'](_0x402c51){for(const _0x35e19c of this['revisionViews'])_0x402c51&&_0x402c51['id']===_0x35e19c['id']?_0x35e19c['select']():_0x35e19c['deselect']();}['highlightRevisions'](_0x3199b9){for(const _0x203e59 of this['revisionViews'])_0x3199b9['some'](({id:_0x273851})=>_0x273851===_0x203e59['id'])?_0x203e59['highlight']():_0x203e59['unhighlight']();}['_addRevision'](_0x353317){const _0x341da4=di(_0x353317['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x512bbd=this['timePeriodViews']['get'](0x0);_0x512bbd&&_0x512bbd['startDate']['getTime']()===_0x341da4['getTime']()||(_0x512bbd=new mi(this['locale'],_0x341da4,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x512bbd)),_0x512bbd['addRevision'](_0x353317);}['_removeRevision'](_0x146adb){const _0x59a0d5=di(_0x146adb['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x59a0d5)['removeRevision'](_0x146adb);}['_getTimePeriodViewByStartDate'](_0x1668a6){return this['timePeriodViews']['find'](_0x2375f4=>_0x2375f4['startDate']['getTime']()===_0x1668a6['getTime']());}}class w extends _0x4b351f{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
27
27
  ((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
28
- Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x1e5f55){super(_0x1e5f55),this['_revisionViewer']=_0x1e5f55['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x2b84c0=this['_revisionsRepository']['_revisions'],_0x5ee431=this['_createRevisionActions'](),_0xa5ca0d=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2b84c0,_0x5ee431,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',(_0x188e0d,_0x3de6ef)=>{_0x3de6ef['revisionViews']['on']('add',(_0x3f56e8,_0x6a8872)=>{_0x6a8872['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)),_0xa5ca0d['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4cc001=this['_revisionsRepository']['getRevision'](0x0);if(_0x4cc001){const _0x4ba8b2=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4cc001['id']);this['_revisionViewer']['compare'](_0x4cc001,_0x4ba8b2);}}['_handleRevisionSelected'](_0x471133,_0x1820b4){const _0x1b9190=this['_revisionsRepository']['getRevision'](_0x1820b4['id']),_0xb7cce5=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1b9190['id']);this['_revisionViewer']['compare'](_0x1b9190,_0xb7cce5);}['_handleRevisionSetName'](_0x35a82e,_0x48c7a9){this['_revisionsRepository']['getRevision'](_0x48c7a9['id'])['setName'](_0x48c7a9['name']);}['_handleDiffChange'](_0x26b97c,_0x38e036,_0x276663){const _0x21fce9=this['_revisionsRepository']['getRevisionsInDiff'](_0x276663);_0x21fce9['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x21fce9),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x21fce9[0x0]));}['_createRevisionActions'](){const _0x15c279=this['editor'],_0x388357=w['availableRevisionActions'],_0x573129=_0x15c279['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x573129['length'])return _0x573129['map'](_0x207db2=>{const _0x3ef1b3='string'==typeof _0x207db2?Object['assign']({},_0x388357[_0x207db2]):_0x207db2;return _0x3ef1b3['action']=_0x3ef1b3['action']['bind'](this,_0x15c279),_0x3ef1b3['isVisible']&&(_0x3ef1b3['isVisible']=_0x3ef1b3['isVisible']['bind'](this,_0x15c279)),_0x3ef1b3;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3d09a4},_0x457c00)=>{const _0x370d49=_0x3d09a4['get'](d),_0x1b449b=_0x370d49['repository'];let _0x3a0c7f=_0x370d49['diff']['newRevisionId'],_0x3259c8=_0x457c00['id'];_0x1b449b['getIndex'](_0x3a0c7f)>_0x1b449b['getIndex'](_0x3259c8)&&([_0x3a0c7f,_0x3259c8]=[_0x3259c8,_0x3a0c7f]),_0x370d49['compare'](_0x3a0c7f,_0x3259c8);},'isVisible':({plugins:_0x554132},_0x2bc752)=>{const _0xadd759=_0x554132['get'](d);return!(_0xadd759['repository']['getRevisionsInDiff'](_0xadd759['diff'])['length']>0x2)&&!_0x2bc752['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x5384de,{id:_0x1bf320})=>{_0x5384de['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1bf320);},'isVisible':({plugins:_0x2ea447},_0x193387)=>!!_0x2ea447['get'](d)['repository']['getLaterVisibleRevision'](_0x193387['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x45daf7},{id:_0x2683cc,revisionNameView:_0x345aab})=>{const _0x421bfb=_0x45daf7['get'](d),_0x2a062f=_0x421bfb['repository']['getEarlierVisibleRevision'](_0x2683cc);_0x421bfb['compare'](_0x2683cc,_0x2a062f),_0x345aab['focus'](),_0x345aab['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2b0579,_0x19dba7){super(_0x2b0579),this['_view']=_0x19dba7,this['_toolbarConfig']=ct(_0x2b0579['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x41054b){const _0x41f438=this['editor'],_0x5eaa85=this['view'],_0x2a1cec=_0x41f438['editing']['view'],_0x55dc26=_0x5eaa85['editable'],_0x47c5e1=_0x2a1cec['document']['getRoot']();_0x55dc26['name']=_0x47c5e1['rootName'],_0x5eaa85['render']();const _0x140f82=_0x55dc26['element'];this['setEditableElement'](_0x55dc26['name'],_0x140f82),_0x5eaa85['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2a1cec['attachDomRoot'](_0x140f82),this['_elementReplacer']['replace'](_0x41054b,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x461a00=this['view'],_0x2f2ee2=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2f2ee2['detachDomRoot'](_0x461a00['editable']['name']),_0x461a00['destroy']();}['_initToolbar'](){const _0x4bcf63=this['view'];_0x4bcf63['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x4bcf63['stickyPanel']['limiterElement']=_0x4bcf63['element'],_0x4bcf63['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x52a38c})=>_0x52a38c),_0x4bcf63['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x4bcf63['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x1c2420,_0xd3f8dd,_0x9cc37={}){super(_0x1c2420),this['stickyPanel']=new lt(_0x1c2420),this['toolbar']=new pt(_0x1c2420,{'shouldGroupWhenFull':_0x9cc37['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x1c2420,_0xd3f8dd);}['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(_0x586062,_0x5a5257){super(_0x5a5257),this['sourceElement']=_0x586062,this['model']['document']['createRoot']();const _0x20c8a5=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x20c8a5);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x41f1fb,_0x16e11a){const _0x5bfc6b=new this(_0x41f1fb,_0x16e11a);return await _0x5bfc6b['initPlugins'](),await _0x5bfc6b['ui']['init'](_0x41f1fb),await _0x5bfc6b['data']['init'](_0x5bfc6b['config']['get']('initialData')||''),_0x5bfc6b['fire']('ready'),_0x5bfc6b;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x32b29e{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x19516f){super(_0x19516f),this['result']='end';}}class H extends _0x32b29e{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x2f4eac){if(super(_0x2f4eac),!this['editor']['config']['get']('revisionHistory'))throw new _0x25e032('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4d2738=>this['_showRevisionViewer']({..._0x4d2738,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2cf880=>this['_closeRevisionViewer'](_0x2cf880)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x195c61=>this['_restoreRevision'](_0x195c61)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x23c9fe){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x23c9fe;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x436880){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x436880);}['getRevision'](_0x394f20){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x394f20);}['getRevisions'](_0xa514c1){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0xa514c1||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x4287e5=this['editor'],_0x2bbec6=_0x2aa7aa(_0x4287e5,p),_0x2eac71=_0x4287e5['plugins']['get']('RevisionTracker'),_0x126409=_0x4287e5['plugins']['get']('Users')['users'];return _0x2bbec6['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2bbec6['lazyRoots'],(_0x2bbec6['plugins']['push'](k,d,R,class extends _0x32b29e{static get['requires'](){return[d,'Users'];}['init'](){const _0x25c452=this['editor']['plugins']['get']('Users');for(const _0xbf260e of _0x126409)_0xbf260e['isAnonymous']||_0x25c452['getUser'](_0xbf260e['id'])||_0x25c452['addUser'](_0xbf260e);const _0xbe7731=_0x2eac71['repository']['getRevisions']();let _0xba0ccf=null;const _0x34d8b4=this['editor']['plugins']['get']('RevisionViewer');_0x34d8b4['adapter']=_0x2eac71['adapter'],_0x34d8b4['bind']('isEnabled')['to'](_0x2eac71),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x4287e5,'isReadOnly',_0x4768bf=>!_0x4768bf);for(const _0x44e79c of _0xbe7731){const _0x208e92=null===_0x44e79c['creator'];if(_0x208e92&&_0x44e79c['toVersion']===_0x44e79c['fromVersion'])continue;const _0xbc1510=_0x44e79c['toJSON']();_0x34d8b4['addRevisionData'](_0xbc1510,(_0x1afc17,_0x2ac2c2,_0x2c12d7)=>{if(_0x208e92){if(_0xba0ccf)_0xba0ccf['_update'](_0x1afc17,_0x2ac2c2);else{if(!_0x2ac2c2){const _0x29f601=_0x2c12d7['toJSON']();_0x29f601['id']=_0x519d4a(),_0x2eac71['saveRevision'](_0x29f601,_0x2c12d7['toVersion'])['then'](_0x545440=>{_0xba0ccf=_0x545440;});}}}else _0x44e79c['_update'](_0x1afc17,_0x2ac2c2);});}}},w),_0x2bbec6);}['_enhanceShowRevisionViewerCallback'](){const _0x369828=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2c8224=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x20aaf6=this['editor']['plugins']['get']('Autosave');await _0x20aaf6['save']();}else await _0x2c8224['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x4534ad=this['editor']['plugins']['get']('Dialog');_0x4534ad['isOpen']&&_0x4534ad['hide']();}const _0x8e9fb=this['_getRevisionViewerEditorConfig']();return _0x369828(_0x8e9fb)['then'](_0x21868f=>{return(this['_viewerEditor']=_0x21868f,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x21868f;})['catch'](_0x51522b=>(console['error'](_0x51522b),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x466289=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'](),_0x466289(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0xddcb1b=this['editor']['plugins']['get']('Annotations');_0xddcb1b['refreshVisibility'](),_0xddcb1b['refreshPositioning']();}})));}['_showRevisionViewer'](_0x59b63f){const _0x55b7a8=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x177bb6=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x313967=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x313967,_0x59b63f)['then'](_0xe31177=>(_0x177bb6['style']['display']='block',_0x55b7a8['style']['display']='none',_0xe31177));}['_closeRevisionViewer'](_0x260ff5){const _0x1e455d=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1e455d['style']['display']='',_0x260ff5['destroy']();}async['_restoreRevision'](_0x415910){const _0x538d2f=this['editor'],_0x421a0b=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x5c58ee=_0x538d2f['plugins']['get']('RevisionTracker'),_0x590b9a=_0x421a0b['repository']['getRevision'](_0x415910);let _0x2f0395,_0x2c8d31,_0x27daba;try{_0x2f0395=await _0x421a0b['getRevisionData'](_0x590b9a),_0x2c8d31=await _0x421a0b['getRevisionRootsAttributes'](_0x590b9a);}catch(_0x60c0b1){return void console['error'](_0x60c0b1);}_0x538d2f['model']['change'](_0x1c34a3=>{for(const _0x2948fe of Array['from'](_0x538d2f['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x1c34a3['removeMarker'](_0x2948fe);}),_0x421a0b['isReady']=!0x1,_0x538d2f['model']['enqueueChange'](_0x30f67b=>{_0x30f67b['setSelection'](null),_0x30f67b['removeSelectionAttribute'](_0x538d2f['model']['document']['selection']['getAttributeKeys']());const _0x2c9558=Object['keys'](_0x2f0395);for(const _0x38306a of _0x538d2f['model']['document']['roots'])'$graveyard'!=_0x38306a['rootName']&&_0x38306a['isAttached']()&&!_0x2c9558['includes'](_0x38306a['rootName'])&&_0x30f67b['detachRoot'](_0x38306a);for(const _0x4306a0 of _0x2c9558){let _0x2c6db1=_0x538d2f['model']['document']['getRoot'](_0x4306a0);_0x2c6db1&&_0x2c6db1['isAttached']()||(_0x2c6db1=_0x30f67b['addRoot'](_0x4306a0));const _0x532f71=_0x2c8d31[_0x4306a0],_0x1178ef=Object['keys'](_0x532f71),_0x422ef4=_0x2f0395[_0x4306a0];for(const _0x2db5fe of _0x2c6db1['getAttributeKeys']())_0x1178ef['includes'](_0x2db5fe)||_0x30f67b['removeAttribute'](_0x2db5fe,_0x2c6db1);for(const _0xcf10e of _0x1178ef)_0x30f67b['setAttribute'](_0xcf10e,_0x2c8d31[_0x4306a0][_0xcf10e],_0x2c6db1);_0x30f67b['remove'](_0x30f67b['createRangeIn'](_0x2c6db1)),_0x30f67b['insert'](_0x538d2f['data']['parse'](_0x422ef4,_0x2c6db1),_0x2c6db1,0x0);}});const _0x4b067e=y(_0x538d2f['locale'],'Restored');if(_0x590b9a['name'])_0x27daba=-0x1==_0x590b9a['name']['indexOf'](_0x4b067e)?_0x4b067e+':\x20'+_0x590b9a['name']:_0x590b9a['name'];else _0x27daba=_0x4b067e+':\x20'+(_0x590b9a['createdAt']['toLocaleDateString'](_0x538d2f['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x590b9a['createdAt']['toLocaleTimeString'](_0x538d2f['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x5c58ee['saveRevision']({'name':_0x27daba}),_0x421a0b['isReady']=!0x0,_0x538d2f['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x5cb40b){super(_0x5cb40b),this['_revisionViewer']=_0x5cb40b['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x1e937b=this['_revisionsRepository']['_revisions'],_0x1a6c5e=this['_createRevisionActions'](),_0x2c6e2c=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x1e937b,_0x1a6c5e,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',(_0x2496a2,_0x2ddfb3)=>{_0x2ddfb3['revisionViews']['on']('add',(_0x401487,_0x247064)=>{_0x247064['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)),_0x2c6e2c['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1b846a=this['_revisionsRepository']['getRevision'](0x0);if(_0x1b846a){const _0x48ba7f=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1b846a['id']);this['_revisionViewer']['compare'](_0x1b846a,_0x48ba7f);}}['_handleRevisionSelected'](_0x32246a,_0x2f3725){const _0xce1955=this['_revisionsRepository']['getRevision'](_0x2f3725['id']),_0x400342=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xce1955['id']);this['_revisionViewer']['compare'](_0xce1955,_0x400342);}['_handleRevisionSetName'](_0x3e4397,_0x13b767){this['_revisionsRepository']['getRevision'](_0x13b767['id'])['setName'](_0x13b767['name']);}['_handleDiffChange'](_0x1c1b5c,_0x489ac5,_0x15228e){const _0x2775f9=this['_revisionsRepository']['getRevisionsInDiff'](_0x15228e);_0x2775f9['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2775f9),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2775f9[0x0]));}['_createRevisionActions'](){const _0x43a0f5=this['editor'],_0x5d2cfc=w['availableRevisionActions'],_0x5666c8=_0x43a0f5['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5666c8['length'])return _0x5666c8['map'](_0x568104=>{const _0x56da8c='string'==typeof _0x568104?Object['assign']({},_0x5d2cfc[_0x568104]):_0x568104;return _0x56da8c['action']=_0x56da8c['action']['bind'](this,_0x43a0f5),_0x56da8c['isVisible']&&(_0x56da8c['isVisible']=_0x56da8c['isVisible']['bind'](this,_0x43a0f5)),_0x56da8c;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x582c54},_0x5ef100)=>{const _0x384a41=_0x582c54['get'](d),_0x50a250=_0x384a41['repository'];let _0x3f1af2=_0x384a41['diff']['newRevisionId'],_0x527ad9=_0x5ef100['id'];_0x50a250['getIndex'](_0x3f1af2)>_0x50a250['getIndex'](_0x527ad9)&&([_0x3f1af2,_0x527ad9]=[_0x527ad9,_0x3f1af2]),_0x384a41['compare'](_0x3f1af2,_0x527ad9);},'isVisible':({plugins:_0x14d693},_0x2e899a)=>{const _0x5936bd=_0x14d693['get'](d);return!(_0x5936bd['repository']['getRevisionsInDiff'](_0x5936bd['diff'])['length']>0x2)&&!_0x2e899a['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x52c8a8,{id:_0x4eaa19})=>{_0x52c8a8['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4eaa19);},'isVisible':({plugins:_0x4b0bee},_0x53f560)=>!!_0x4b0bee['get'](d)['repository']['getLaterVisibleRevision'](_0x53f560['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1e77fa},{id:_0x440d59,revisionNameView:_0x507ffe})=>{const _0x85d915=_0x1e77fa['get'](d),_0xcfa5c3=_0x85d915['repository']['getEarlierVisibleRevision'](_0x440d59);_0x85d915['compare'](_0x440d59,_0xcfa5c3),_0x507ffe['focus'](),_0x507ffe['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x55fd1d,_0x2c4c64){super(_0x55fd1d),this['_view']=_0x2c4c64,this['_toolbarConfig']=ct(_0x55fd1d['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x135246){const _0x2b3642=this['editor'],_0x44e42e=this['view'],_0x1f287c=_0x2b3642['editing']['view'],_0xb35999=_0x44e42e['editable'],_0x2ecce1=_0x1f287c['document']['getRoot']();_0xb35999['name']=_0x2ecce1['rootName'],_0x44e42e['render']();const _0x33d4da=_0xb35999['element'];this['setEditableElement'](_0xb35999['name'],_0x33d4da),_0x44e42e['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1f287c['attachDomRoot'](_0x33d4da),this['_elementReplacer']['replace'](_0x135246,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x5b25c5=this['view'],_0x40b9a5=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x40b9a5['detachDomRoot'](_0x5b25c5['editable']['name']),_0x5b25c5['destroy']();}['_initToolbar'](){const _0x377e5c=this['view'];_0x377e5c['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x377e5c['stickyPanel']['limiterElement']=_0x377e5c['element'],_0x377e5c['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x44b875})=>_0x44b875),_0x377e5c['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x377e5c['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x56daea,_0x5b577f,_0x2a0580={}){super(_0x56daea),this['stickyPanel']=new lt(_0x56daea),this['toolbar']=new pt(_0x56daea,{'shouldGroupWhenFull':_0x2a0580['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x56daea,_0x5b577f);}['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(_0x4aef3c,_0x3d43ae){super(_0x3d43ae),this['sourceElement']=_0x4aef3c,this['model']['document']['createRoot']();const _0x52ddf3=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x52ddf3);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x5a11a8,_0x2e6f58){const _0x7d8f3d=new this(_0x5a11a8,_0x2e6f58);return await _0x7d8f3d['initPlugins'](),await _0x7d8f3d['ui']['init'](_0x5a11a8),await _0x7d8f3d['data']['init'](_0x7d8f3d['config']['get']('initialData')||''),_0x7d8f3d['fire']('ready'),_0x7d8f3d;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x4b351f{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x560379){super(_0x560379),this['result']='end';}}class H extends _0x4b351f{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x19e2f7){if(super(_0x19e2f7),!this['editor']['config']['get']('revisionHistory'))throw new _0x430f54('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x4a6429=>this['_showRevisionViewer']({..._0x4a6429,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x244331=>this['_closeRevisionViewer'](_0x244331)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4fca3b=>this['_restoreRevision'](_0x4fca3b)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2f57e3){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2f57e3;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x13b358){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x13b358);}['getRevision'](_0x27dcea){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x27dcea);}['getRevisions'](_0x1235f5){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x1235f5||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x57f0b3=this['editor'],_0x154c48=_0x42826f(_0x57f0b3,p),_0x15aa36=_0x57f0b3['plugins']['get']('RevisionTracker'),_0x5d310a=_0x57f0b3['plugins']['get']('Users')['users'];return _0x154c48['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x154c48['lazyRoots'],(_0x154c48['plugins']['push'](k,d,R,class extends _0x4b351f{static get['requires'](){return[d,'Users'];}['init'](){const _0x2c25c3=this['editor']['plugins']['get']('Users');for(const _0x3a0fc4 of _0x5d310a)_0x3a0fc4['isAnonymous']||_0x2c25c3['getUser'](_0x3a0fc4['id'])||_0x2c25c3['addUser'](_0x3a0fc4);const _0x375cb4=_0x15aa36['repository']['getRevisions']();let _0x150cde=null;const _0x29c330=this['editor']['plugins']['get']('RevisionViewer');_0x29c330['adapter']=_0x15aa36['adapter'],_0x29c330['bind']('isEnabled')['to'](_0x15aa36),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x57f0b3,'isReadOnly',_0x563eaf=>!_0x563eaf);for(const _0x159eb0 of _0x375cb4){const _0x1d89fb=null===_0x159eb0['creator'];if(_0x1d89fb&&_0x159eb0['toVersion']===_0x159eb0['fromVersion'])continue;const _0xcc91da=_0x159eb0['toJSON']();_0x29c330['addRevisionData'](_0xcc91da,(_0x33c270,_0x2d5323,_0x2003ea)=>{if(_0x1d89fb){if(_0x150cde)_0x150cde['_update'](_0x33c270,_0x2d5323);else{if(!_0x2d5323){const _0x1ec5ac=_0x2003ea['toJSON']();_0x1ec5ac['id']=_0x53494a(),_0x15aa36['saveRevision'](_0x1ec5ac,_0x2003ea['toVersion'])['then'](_0x1ed02b=>{_0x150cde=_0x1ed02b;});}}}else _0x159eb0['_update'](_0x33c270,_0x2d5323);});}}},w),_0x154c48);}['_enhanceShowRevisionViewerCallback'](){const _0x93dbe0=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1291cc=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x5dd87b=this['editor']['plugins']['get']('Autosave');await _0x5dd87b['save']();}else await _0x1291cc['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x2b55fd=this['editor']['plugins']['get']('Dialog');_0x2b55fd['isOpen']&&_0x2b55fd['hide']();}const _0x412259=this['_getRevisionViewerEditorConfig']();return _0x93dbe0(_0x412259)['then'](_0x7dfae3=>{return(this['_viewerEditor']=_0x7dfae3,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x7dfae3;})['catch'](_0x442515=>(console['error'](_0x442515),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x1d7253=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'](),_0x1d7253(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x5ea0ec=this['editor']['plugins']['get']('Annotations');_0x5ea0ec['refreshVisibility'](),_0x5ea0ec['refreshPositioning']();}})));}['_showRevisionViewer'](_0x1f75a3){const _0x5637b9=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x174739=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x20cc7c=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x20cc7c,_0x1f75a3)['then'](_0x2798c0=>(_0x174739['style']['display']='block',_0x5637b9['style']['display']='none',_0x2798c0));}['_closeRevisionViewer'](_0x34f3b2){const _0x3e135d=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x3e135d['style']['display']='',_0x34f3b2['destroy']();}async['_restoreRevision'](_0x547483){const _0x3161df=this['editor'],_0x2f67f6=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x565e5a=_0x3161df['plugins']['get']('RevisionTracker'),_0x45b8b9=_0x2f67f6['repository']['getRevision'](_0x547483);let _0x1290c1,_0x36e4d6,_0x24ccda;try{_0x1290c1=await _0x2f67f6['getRevisionData'](_0x45b8b9),_0x36e4d6=await _0x2f67f6['getRevisionRootsAttributes'](_0x45b8b9);}catch(_0x2ad71d){return void console['error'](_0x2ad71d);}_0x3161df['model']['change'](_0x117f71=>{for(const _0x2e82c6 of Array['from'](_0x3161df['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x117f71['removeMarker'](_0x2e82c6);}),_0x2f67f6['isReady']=!0x1,_0x3161df['model']['enqueueChange'](_0x32f876=>{_0x32f876['setSelection'](null),_0x32f876['removeSelectionAttribute'](_0x3161df['model']['document']['selection']['getAttributeKeys']());const _0x5281a2=Object['keys'](_0x1290c1);for(const _0x5a920a of _0x3161df['model']['document']['roots'])'$graveyard'!=_0x5a920a['rootName']&&_0x5a920a['isAttached']()&&!_0x5281a2['includes'](_0x5a920a['rootName'])&&_0x32f876['detachRoot'](_0x5a920a);for(const _0x36b08d of _0x5281a2){let _0x4ead9e=_0x3161df['model']['document']['getRoot'](_0x36b08d);_0x4ead9e&&_0x4ead9e['isAttached']()||(_0x4ead9e=_0x32f876['addRoot'](_0x36b08d));const _0x22b5ea=_0x36e4d6[_0x36b08d],_0x369f13=Object['keys'](_0x22b5ea),_0x186f37=_0x1290c1[_0x36b08d];for(const _0x4b2553 of _0x4ead9e['getAttributeKeys']())_0x369f13['includes'](_0x4b2553)||_0x32f876['removeAttribute'](_0x4b2553,_0x4ead9e);for(const _0x63966b of _0x369f13)_0x32f876['setAttribute'](_0x63966b,_0x36e4d6[_0x36b08d][_0x63966b],_0x4ead9e);_0x32f876['remove'](_0x32f876['createRangeIn'](_0x4ead9e)),_0x32f876['insert'](_0x3161df['data']['parse'](_0x186f37,_0x4ead9e),_0x4ead9e,0x0);}});const _0x18964c=y(_0x3161df['locale'],'Restored');if(_0x45b8b9['name'])_0x24ccda=-0x1==_0x45b8b9['name']['indexOf'](_0x18964c)?_0x18964c+':\x20'+_0x45b8b9['name']:_0x45b8b9['name'];else _0x24ccda=_0x18964c+':\x20'+(_0x45b8b9['createdAt']['toLocaleDateString'](_0x3161df['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x45b8b9['createdAt']['toLocaleTimeString'](_0x3161df['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x565e5a['saveRevision']({'name':_0x24ccda}),_0x2f67f6['isReady']=!0x0,_0x3161df['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};