@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240628.0 → 0.0.0-nightly-20240629.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +5 -5
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x1123d9,Context as _0x3a1827,PendingActions as _0x2fcd40,icons as _0x209ed5,Command as _0x157f34,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x3ce664,uid as _0x303c82,Collection as _0x2716bd,logWarning as _0x3a5552,FocusTracker as _0x141e82,KeystrokeHandler as _0x56495d,scrollViewportToShowTarget as _0x553506,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x52f019}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x21367c,getMarkerDomElement as _0x238c8d,ConfirmMixin as _0x4a7910,sanitizeEditorConfig as _0x21455e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x402ec4,ViewText as _0x3baa24,ViewElement as _0x34f0e4,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x5cd050,ViewAttributeElement as _0x4019e5,ViewEmptyElement as _0x23fa7a,ViewRawElement as _0x5971c0,ViewUIElement as _0x42996e,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x4c9fb9,set as _0x15ac03,unset as _0x50dcde,isEqual as _0x6fcdf6}from'lodash-es';import{View as _0x50a5ec,injectCssTransitionDisabler as ts,submitHandler as _0x37df89,LabeledFieldView as at,createLabeledInputText as _0x5cc1e8,createDropdown as _0x374c53,ListView as te,ListItemView as _0x41e79e,ButtonView as _0x124c6e,MenuBarMenuView as _0x5d8e4d,MenuBarMenuListView as _0x56786e,MenuBarMenuListItemView as _0x444935,MenuBarMenuListItemButtonView as _0x1623e4,ContextualBalloon as _0xbac416,ToolbarSeparatorView as _0x213f96,IconView as _0xbfaf86,addListToDropdown as _0x49cf2b,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 _0xd8b900}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x3ce664(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x5a17f){super(),this['id']=_0x5a17f['id']||_0x303c82(),this['creator']=_0x5a17f['creator']||null,this['authors']=_0x5a17f['authors']||[],this['diffData']=_0x5a17f['diffData']||null,this['toVersion']=_0x5a17f['toVersion']||0x0,this['fromVersion']=_0x5a17f['fromVersion']||0x0,this['set']('name',_0x5a17f['name']||''),this['set']('createdAt',_0x5a17f['createdAt']||new Date()),this['set']('attributes',_0x5a17f['attributes']||{});}['setName'](_0x48b7f9){this['_update']({'name':_0x48b7f9});}['setAttribute'](_0xeda8b7,_0x4b707c){const _0xeb25a=_0x4c9fb9(this['attributes']);_0x15ac03(_0xeb25a,_0xeda8b7,_0x4b707c),this['_update']({'attributes':_0xeb25a});}['removeAttribute'](_0x2ebb4b){const _0x5c8c8a=_0x4c9fb9(this['attributes']);_0x50dcde(_0x5c8c8a,_0x2ebb4b),this['_update']({'attributes':_0x5c8c8a});}['_update'](_0x1253f1,_0x3b5866=!0x1){let _0x4ddc98=!0x1;const _0x57aa9f={'id':this['id']},_0x5982ed=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x495450 of _0x5982ed){const _0xeae9f8=_0x1253f1[_0x495450];void 0x0!==_0xeae9f8&&_0xeae9f8!==this[_0x495450]&&(this[_0x495450]=_0xeae9f8,_0x57aa9f[_0x495450]=_0xeae9f8,_0x4ddc98=!0x0);}_0x4ddc98&&(_0x57aa9f['authors']&&(_0x57aa9f['authorsIds']=_0x57aa9f['authors']['map'](_0x5c48cd=>_0x5c48cd['id']),delete _0x57aa9f['authors']),this['fire']('_update',_0x57aa9f,_0x3b5866));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x37d679=>_0x37d679['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1123d9{['_revisions'];static get['requires'](){return[_0x21367c];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4ae2d9){super(_0x4ae2d9),this['_revisions']=new _0x2716bd();}['afterInit'](){!function(_0x1d65c1){function _0x1e7537(_0x44e6d4,_0x5f4a68,_0x4486a4){const _0x5950d4={};_0x5950d4[_0x4a96ee([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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],_0x5950d4[_0x4a96ee([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 _0x283468=new Uint8Array(0x10);for(let _0x230df7=0xf;_0x230df7>=0x0;--_0x230df7)_0x283468[_0x230df7]=_0x4486a4%0x100,_0x4486a4=parseInt(_0x4486a4/0x100);let _0x1ee14a=null,_0x3c77b8=0x10;const _0x1e29dd=new Uint8Array(_0x5f4a68),_0x156408=[],_0xc4269a=[];_0x422601();for(let _0x414f13=0x0;_0x414f13<_0x44e6d4[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x414f13++)0x10===_0x3c77b8&&(_0x1ee14a=_0x2fed2b(_0x283468),_0x3c77b8=0x0,_0x3e6bb7(_0x283468)),_0x44e6d4[_0x414f13]^=_0x1ee14a[_0x3c77b8++];return _0x44e6d4;function _0x4efc15(_0x22e937){const _0x492789=[];for(let _0x5342ea=0x0;_0x5342ea<_0x22e937[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5342ea+=0x4)_0x492789[_0x4a96ee([0x70,0x75,0x73,0x68])](_0x22e937[_0x5342ea]<<0x18|_0x22e937[_0x5342ea+0x1]<<0x10|_0x22e937[_0x5342ea+0x2]<<0x8|_0x22e937[_0x5342ea+0x3]);return _0x492789;}function _0x3e6bb7(_0x220f90){for(let _0x310657=0xf;_0x310657>=0x0;_0x310657--){if(0xff!==_0x220f90[_0x310657]){_0x220f90[_0x310657]++;break;}_0x220f90[_0x310657]=0x0;}}function _0x2fed2b(_0xd9ef1c){const _0x1db9b8=_0x156408[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1139d1=[0x0,0x0,0x0,0x0];let t=_0x4efc15(_0xd9ef1c);for(let _0x32ad0b=0x0;_0x32ad0b<0x4;_0x32ad0b++)t[_0x32ad0b]^=_0x156408[0x0][_0x32ad0b];for(let _0x20830c=0x1;_0x20830c<_0x1db9b8;_0x20830c++){for(let _0x47fb52=0x0;_0x47fb52<0x4;_0x47fb52++)_0x1139d1[_0x47fb52]=_0x5950d4[_0x4a96ee([0x54,0x31])][t[_0x47fb52]>>0x18&0xff]^_0x5950d4[_0x4a96ee([0x54,0x32])][t[(_0x47fb52+0x1)%0x4]>>0x10&0xff]^_0x5950d4[_0x4a96ee([0x54,0x33])][t[(_0x47fb52+0x2)%0x4]>>0x8&0xff]^_0x5950d4[_0x4a96ee([0x54,0x34])][0xff&t[(_0x47fb52+0x3)%0x4]]^_0x156408[_0x20830c][_0x47fb52];t=_0x1139d1[_0x4a96ee([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3cae43=new Uint8Array(0x10);let _0x4b1487;for(let _0xeb0b6b=0x0;_0xeb0b6b<0x4;_0xeb0b6b++)_0x4b1487=_0x156408[_0x1db9b8][_0xeb0b6b],_0x3cae43[0x4*_0xeb0b6b]=0xff&(_0x5950d4[_0x4a96ee([0x53])][t[_0xeb0b6b]>>0x18&0xff]^_0x4b1487>>0x18),_0x3cae43[0x4*_0xeb0b6b+0x1]=0xff&(_0x5950d4[_0x4a96ee([0x53])][t[(_0xeb0b6b+0x1)%0x4]>>0x10&0xff]^_0x4b1487>>0x10),_0x3cae43[0x4*_0xeb0b6b+0x2]=0xff&(_0x5950d4[_0x4a96ee([0x53])][t[(_0xeb0b6b+0x2)%0x4]>>0x8&0xff]^_0x4b1487>>0x8),_0x3cae43[0x4*_0xeb0b6b+0x3]=0xff&(_0x5950d4[_0x4a96ee([0x53])][0xff&t[(_0xeb0b6b+0x3)%0x4]]^_0x4b1487);return _0x3cae43;}function _0x422601(){const _0x303752=_0x5950d4[_0x4a96ee([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x1e29dd[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x3d6522=0x0;_0x3d6522<=_0x303752;_0x3d6522++)_0x156408[_0x4a96ee([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xc4269a[_0x4a96ee([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1ae597=0x4*(_0x303752+0x1),_0x203828=_0x1e29dd[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x50e68e=_0x4efc15(_0x1e29dd);let _0x7bcd4c;for(let _0x5b1e09=0x0;_0x5b1e09<_0x203828;_0x5b1e09++)_0x7bcd4c=_0x5b1e09>>0x2,_0x156408[_0x7bcd4c][_0x5b1e09%0x4]=_0x50e68e[_0x5b1e09],_0xc4269a[_0x303752-_0x7bcd4c][_0x5b1e09%0x4]=_0x50e68e[_0x5b1e09];let _0x9b1e9,_0x3e2241=0x0,t=_0x203828;for(;t<_0x1ae597;){_0x9b1e9=_0x50e68e[_0x203828-0x1],_0x50e68e[0x0]^=_0x5950d4[_0x4a96ee([0x53])][_0x9b1e9>>0x10&0xff]<<0x18^_0x5950d4[_0x4a96ee([0x53])][_0x9b1e9>>0x8&0xff]<<0x10^_0x5950d4[_0x4a96ee([0x53])][0xff&_0x9b1e9]<<0x8^_0x5950d4[_0x4a96ee([0x53])][_0x9b1e9>>0x18&0xff]^_0x5950d4[_0x4a96ee([0x72,0x63,0x6f,0x6e])][_0x3e2241]<<0x18,_0x3e2241+=0x1;for(let _0x4ad459=0x1;_0x4ad459<_0x203828/0x2;_0x4ad459++)_0x50e68e[_0x4ad459]^=_0x50e68e[_0x4ad459-0x1];_0x9b1e9=_0x50e68e[_0x203828/0x2-0x1],_0x50e68e[_0x203828/0x2]^=_0x5950d4[_0x4a96ee([0x53])][0xff&_0x9b1e9]^_0x5950d4[_0x4a96ee([0x53])][_0x9b1e9>>0x8&0xff]<<0x8^_0x5950d4[_0x4a96ee([0x53])][_0x9b1e9>>0x10&0xff]<<0x10^_0x5950d4[_0x4a96ee([0x53])][_0x9b1e9>>0x18&0xff]<<0x18;for(let _0x49b6c8=_0x203828/0x2+0x1;_0x49b6c8<_0x203828;_0x49b6c8++)_0x50e68e[_0x49b6c8]^=_0x50e68e[_0x49b6c8-0x1];let _0x134224,_0x169a2a,_0x3343b3=0x0;for(;_0x3343b3<_0x203828&&t<_0x1ae597;)_0x134224=t>>0x2,_0x169a2a=t%0x4,_0x156408[_0x134224][_0x169a2a]=_0x50e68e[_0x3343b3],_0xc4269a[_0x303752-_0x134224][_0x169a2a]=_0x50e68e[_0x3343b3++],t++;}for(let _0x33c308=0x1;_0x33c308<_0x303752;_0x33c308++)for(let _0x4a5d30=0x0;_0x4a5d30<0x4;_0x4a5d30++)_0x9b1e9=_0xc4269a[_0x33c308][_0x4a5d30],_0xc4269a[_0x33c308][_0x4a5d30]=_0x5950d4[_0x4a96ee([0x55,0x31])][_0x9b1e9>>0x18&0xff]^_0x5950d4[_0x4a96ee([0x55,0x32])][_0x9b1e9>>0x10&0xff]^_0x5950d4[_0x4a96ee([0x55,0x33])][_0x9b1e9>>0x8&0xff]^_0x5950d4[_0x4a96ee([0x55,0x34])][0xff&_0x9b1e9];}}function _0x4a96ee(_0x4e3309){return _0x4e3309['map'](_0x4fc9f4=>String['fromCharCode'](_0x4fc9f4))['join']('');}(_0x4c1f38=>{function _0xf9d185(){const _0x25ff45=[{[_0x4a96ee([0x69,0x64])]:0x1,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4a96ee([0x69,0x64])]:0x2,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([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]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4a96ee([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4a96ee([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4a96ee([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4a96ee([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4a96ee([0x69,0x64])]:0x3,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4a96ee([0x69,0x64])]:0x4,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([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]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4a96ee([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4a96ee([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4a96ee([0x69,0x64])]:0x5,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([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]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}},{[_0x4a96ee([0x69,0x64])]:0x6,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}},{[_0x4a96ee([0x69,0x64])]:0x7,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}},{[_0x4a96ee([0x69,0x64])]:0x8,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([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]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}},{[_0x4a96ee([0x69,0x64])]:0x9,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4a96ee([0x69,0x64])]:0xa,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([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]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([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]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([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]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}},{[_0x4a96ee([0x69,0x64])]:0xb,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4a96ee([0x69,0x64])]:0xc,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4a96ee([0x69,0x64])]:0xd,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}},{[_0x4a96ee([0x69,0x64])]:0xe,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4a96ee([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([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])},{[_0x4a96ee([0x69,0x64])]:0xf,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4a96ee([0x69,0x64])]:0x10,[_0x4a96ee([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4a96ee([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4a96ee([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4a96ee([0x66,0x67,0x69])]:[0xc]}}];return _0x46d793(_0x25ff45),_0x25ff45;function _0x1ceb54(_0x147a61){return 0x1<<_0x147a61-0x1;}function _0x46d793(_0x5b7e6c){_0x5b7e6c[_0x4a96ee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xf4217b=>{_0xf4217b[_0x4a96ee([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1ceb54(_0xf4217b[_0x4a96ee([0x69,0x64])]),_0x25de50(_0xf4217b)&&_0xf4217b[_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x46d793(_0xf4217b[_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x25de50(_0x17405f){return _0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x17405f;}const _0x1955a4=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x30aa54=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x43eb9a(_0x1f353b){const _0x4d41a7=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x20ed00(_0x1f353b,new Uint8Array([..._0x1955a4,..._0x4d41a7,..._0x30aa54]));}function _0x20ed00(_0x2190c0,_0xee12fd){const _0x31ea43=_0x3ad16f(_0x2190c0),_0x1bd5c0=Array[_0x4a96ee([0x66,0x72,0x6f,0x6d])](_0x228feb(_0x31ea43)),_0x171cfb=_0x1bd5c0[_0x4a96ee([0x70,0x6f,0x70])](),_0x56eabb=_0x1bd5c0[_0x4a96ee([0x70,0x6f,0x70])]();return _0xb8d80a(_0x1e7537(_0x1bd5c0,_0xee12fd,_0x56eabb+0x100*_0x171cfb));}function _0x3ad16f(_0x23652c){const _0x4ae5f8=atob(_0x23652c),[_0x4bc89b,_0x51a6f1]=_0x4ae5f8[_0x4a96ee([0x73,0x70,0x6c,0x69,0x74])](_0x4a96ee([0x2d]));try{if(atob(_0x51a6f1))return atob(_0x4bc89b);}catch(_0x54e2a7){}return _0x4ae5f8;}function _0xf65c49(_0x199054){try{const _0x4ba267=_0x43eb9a(_0x199054),_0x4ea89a=JSON[_0x4a96ee([0x70,0x61,0x72,0x73,0x65])](_0x4ba267),_0xb3e863=parseInt(_0x4ea89a[_0x4a96ee([0x31])]),_0xadd474=_0x4ea89a[_0x4a96ee([0x32])]||'',_0xb4fb11=parseInt(_0x4ea89a[_0x4a96ee([0x33])]),_0x1e53f2=parseInt(_0x4ea89a[_0x4a96ee([0x34])])||0x0,_0x1d4aca=parseInt(_0x4ea89a[_0x4a96ee([0x35])])||0x0;return{[_0x4a96ee([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0xadd474,[_0x4a96ee([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1e53f2,[_0x4a96ee([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xb3e863,[_0x4a96ee([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xb4fb11,[_0x4a96ee([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1d4aca};}catch(_0x4991ad){return null;}}const _0x574882=_0xf9d185(),_0x4611ad={[_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x206ed8,[_0x4a96ee([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])]:_0x485cc4,[_0x4a96ee([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])]:_0x36d755},_0x3340a9=_0x4c1f38[_0x4a96ee([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3f63e3=_0x4a96ee([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x4c1f38?_0x4c1f38['context']:_0x4c1f38['editor'],_0x12e11e=_0x4a96ee([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x36]),_0x385bac=_0x4a96ee([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]),_0x5adfa3=_0x3f63e3['config']['get'](_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x4e6267=_0x574882[_0x4a96ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x25de50)[_0x4a96ee([0x66,0x69,0x6e,0x64])](_0x402155=>_0x402155[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3340a9);function _0x2b531b(_0x366bea,_0x123c4d){_0x4611ad[_0x123c4d[_0x4a96ee([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x366bea,_0x123c4d),_0x123c4d[_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x123c4d[_0x4a96ee([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4a96ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x63e833=>_0x3f251e(_0x3f63e3,_0x63e833[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4a96ee([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x525017=>_0x2b531b(_0x366bea,_0x525017));}function _0x206ed8(_0x4e9577,_0x59085c){_0x7d7b37(_0x5942bc(_0x4e9577,_0x59085c),_0x59085c);}function _0x485cc4(_0x392fb8,_0x158e3e){function _0x536a84(_0x3f8430,_0x222b34){try{if(_0x3f251e(_0x3f63e3,_0x4a96ee([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3f8430){const _0x311841=_0x51619c(_0x3f63e3,_0x4a96ee([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4a96ee([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x311841)/0x2>_0x3f8430[_0x4a96ee([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2cbbcd(_0x222b34[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x5942bc(_0x3f8430,_0x222b34);}catch(_0x418b12){return _0x2cbbcd(_0x222b34[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x7d7b37(_0x536a84(_0x392fb8,_0x158e3e),_0x158e3e);}function _0x36d755(_0x7f4a54,_0x497b31){const _0x283bf0=_0x30aa54[0x0]*_0x1955a4[0x1],_0x1f372b=_0x30aa54[0x0]*_0x1955a4[0x2],_0x5bd569=_0x30aa54[0x2]*_0x1955a4[0x2];_0x3f251e(_0x3f63e3,_0x4a96ee([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x51619c(_0x3f63e3,_0x4a96ee([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4a96ee([0x73,0x74,0x61,0x74,0x65])]==_0x4a96ee([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x129d4a()]=_0x5bd569);function _0x396b75(_0x3bc9fc,_0x1b6c65){try{return _0x4e3c27()?_0x2cbbcd(_0x1b6c65[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x56,0x61,0x6c,0x69,0x64])):_0x5942bc(_0x3bc9fc,_0x1b6c65);}catch(_0x18f46f){return _0x2cbbcd(_0x1b6c65[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x11e44d(_0x258453,_0x4a2ad0){const _0x308e60=0x7;if(_0x258453==_0x4a2ad0[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x37d7dd();else{if(_0x258453==_0x4a2ad0[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c])){const _0x448190=_0x2a5298();_0x448190&&_0xac0c88(_0x448190,_0x4a2ad0[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x4936b9=_0x5bd3d2();window[_0x4a96ee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xac0c88(_0x4a96ee([0x74,0x69,0x6d,0x65]),_0x4a2ad0[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x4936b9);const _0x3c8348=_0x51619c(_0x3f63e3,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4a96ee([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x3c8348[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x308e60?_0xac0c88(_0x4a96ee([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4a2ad0[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x3c8348['on'](_0x4a96ee([0x61,0x64,0x64]),()=>{_0x3c8348[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x308e60&&_0xac0c88(_0x4a96ee([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4a2ad0[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x2a5298(){if(!_0x3f251e(_0x3f63e3,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x481525 in window)if(Number['isNaN'](Number(_0x481525))){if(window[_0x481525]===_0x283bf0)return _0x4a96ee([0x74,0x69,0x6d,0x65]);if(window[_0x481525]===_0x1f372b)return _0x4a96ee([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4e3c27(){if(!_0x3f251e(_0x3f63e3,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xcd63d3 in window)if(Number['isNaN'](Number(_0xcd63d3))&&window[_0xcd63d3]===_0x5bd569)return!0x0;return!0x1;}function _0xac0c88(_0xcecc45,_0x5b3c76){_0x37d7dd(),_0x2cbbcd(_0x5b3c76+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0xcecc45),window[_0x129d4a()]=_0xcecc45===_0x4a96ee([0x74,0x69,0x6d,0x65])?_0x283bf0:_0x1f372b;}function _0x5bd3d2(){let _0x24b834=_0x30aa54[0x6]*_0x1955a4[0x8]*_0x1955a4[0x6];return _0x3f251e(_0x3f63e3,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x24b834/=0xa),_0x24b834;}function _0x37d7dd(){const _0x47f5f7=_0x3f63e3;function _0x14eaf1(){_0x3f251e(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a96ee([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4a96ee([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a96ee([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a96ee([0x75,0x70,0x64,0x61,0x74,0x65])]=_0xccf3a6,_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4a96ee([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0xccf3a6,_0x47f5f7[_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a96ee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xccf3a6,_0x47f5f7[_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a96ee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xccf3a6,_0x47f5f7[_0x4a96ee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c]))),_0x3f251e(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a96ee([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4a96ee([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a96ee([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a96ee([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0xccf3a6,_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a96ee([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0xccf3a6);}_0x47f5f7[_0x4a96ee([0x73,0x74,0x61,0x74,0x65])]==_0x4a96ee([0x72,0x65,0x61,0x64,0x79])?_0x14eaf1():_0x47f5f7[_0x4a96ee([0x6f,0x6e,0x63,0x65])](_0x4a96ee([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x3f251e(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x14eaf1(),_0x3f251e(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x1edfbf=_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4e1e22=_0x1edfbf['getRevision'](0x0),_0x129db8=_0x1edfbf['getEarlierVisibleRevision'](_0x4e1e22[_0x4a96ee([0x69,0x64])]);_0x51619c(_0x47f5f7,_0x4a96ee([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4a96ee([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4e1e22[_0x4a96ee([0x69,0x64])],_0x129db8?_0x129db8[_0x4a96ee([0x69,0x64])]:null,0x1)['then'](()=>_0x14eaf1());}});}_0x11e44d(_0x396b75(_0x7f4a54,_0x497b31),_0x497b31);}function _0x5942bc(_0xe7822a,_0x4dc821){try{return _0x37fd62(_0x4dc821)?_0x2cbbcd(_0x4dc821[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x56,0x61,0x6c,0x69,0x64])):_0xe7822a&&_0x5d0e26(_0xe7822a[_0x4a96ee([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4dc821)?_0xe7822a[_0x4a96ee([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4a96ee([0x6f,0x70,0x65,0x6e])][_0x4a96ee([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x12e11e)/0x2>_0xe7822a[_0x4a96ee([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2cbbcd(_0x4dc821[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xe7822a[_0x4a96ee([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2cbbcd(_0x4dc821[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c])):_0x2cbbcd(_0x4dc821[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x56,0x61,0x6c,0x69,0x64])):_0x2cbbcd(_0x4dc821[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x49cb5f){return _0x2cbbcd(_0x4dc821[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x7d7b37(_0x3d416f,_0x59237b){if(_0x3f63e3 instanceof _0x3a1827){const _0x45e596=_0x3f63e3;_0x3d416f==_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x219076(_0x45e596):_0x3d416f==_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4a96ee([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x219076(_0x45e596),_0x2cbbcd(_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x30aa54[0x6]*_0x1955a4[0x8]*_0x1955a4[0x6]),_0x45e596[_0x4a96ee([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4a96ee([0x6f,0x6e])](_0x4a96ee([0x61,0x64,0x64]),(_0x5d285f,_0x904644)=>{_0x3d416f!=_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3d416f!=_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3d416f!=_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5d94f7(_0x904644);});}else{const _0x4681df=_0x3f63e3;_0x3d416f==_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5d94f7(_0x4681df):_0x3d416f==_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c])&&_0x4681df[_0x4a96ee([0x6f,0x6e])](_0x4a96ee([0x72,0x65,0x61,0x64,0x79]),()=>{let _0xa3e363=0x0;_0x4681df[_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a96ee([0x6f,0x6e])](_0x4a96ee([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b2496,_0x516ec1)=>{_0x516ec1[0x0][_0x4a96ee([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xa3e363++,0x1f8===_0xa3e363&&(_0x5d94f7(_0x4681df),_0x2cbbcd(_0x59237b[_0x4a96ee([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4a96ee([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x4b2496[_0x4a96ee([0x6f,0x66,0x66])]());},{'priority':_0x4a96ee([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2cbbcd(_0x318334){const _0x32f693=_0x129d4a();return _0x3f63e3[_0x32f693]=_0x318334,_0x318334;}function _0x129d4a(){const _0x19fd60=String(window[_0x4a96ee([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a96ee([0x6e,0x6f,0x77])]())[_0x4a96ee([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a96ee([0x2e]),'');let _0x5d3384='';for(let _0x282ccb=0x0;_0x282ccb<_0x19fd60[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x282ccb+=0x2){let _0x5ef554=parseInt(_0x19fd60[_0x4a96ee([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x282ccb,_0x282ccb+0x2));_0x5ef554>=_0x385bac[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5ef554-=_0x385bac[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d3384+=_0x385bac[_0x5ef554];}return _0x5d3384;}function _0x219076(_0x1d7476){for(const _0x4cb55a of _0x1d7476[_0x4a96ee([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5d94f7(_0x4cb55a);_0x51619c(_0x1d7476,_0x4a96ee([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4a96ee([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x51619c(_0x1d7476,_0x4a96ee([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4a96ee([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0xccf3a6;}function _0x5d94f7(_0x35c64e){function _0x5c1a5a(){_0x35c64e[_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a96ee([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xccf3a6,_0x35c64e[_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a96ee([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xccf3a6,_0x35c64e[_0x4a96ee([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a96ee([0x6d,0x6f,0x64,0x65,0x6c]));}_0x35c64e[_0x4a96ee([0x73,0x74,0x61,0x74,0x65])]==_0x4a96ee([0x72,0x65,0x61,0x64,0x79])?_0x5c1a5a():_0x35c64e[_0x4a96ee([0x6f,0x6e,0x63,0x65])](_0x4a96ee([0x72,0x65,0x61,0x64,0x79]),()=>_0x5c1a5a());}function _0xccf3a6(){return null;}function _0x5d0e26(_0x30384e,_0x2d9c10){const _0x41fddc=!!(_0x30384e&_0x2d9c10[_0x4a96ee([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4a3dbc=_0x3cb34e(_0x30384e,_0x2d9c10);return _0x41fddc||_0x4a3dbc;}function _0x3cb34e(_0x552b67,_0x2d1442){const _0x49c8ab=(_0x2d1442[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4a96ee([0x66,0x67,0x69])]||null;return!!_0x49c8ab&&_0x574882[_0x4a96ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x441a31=>_0x49c8ab[_0x4a96ee([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x441a31[_0x4a96ee([0x69,0x64])]))[_0x4a96ee([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x29cd64=>!_0x399ae2(_0x29cd64))[_0x4a96ee([0x73,0x6f,0x6d,0x65])](_0x563a27=>!!(_0x552b67&_0x563a27[_0x4a96ee([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x399ae2(_0x137cef){const _0x1d6e12={[_0x4a96ee([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])]:_0x4c5f39};return!!_0x137cef['forbiddenHandler']&&_0x1d6e12[_0x137cef['forbiddenHandler']]();}function _0x4c5f39(){return!window[_0x4a96ee([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x3f251e(_0x3f63e3,_0x4a96ee([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x37fd62(_0x393eed){if(!_0x3f251e(_0x3f63e3,_0x393eed[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x270bde=_0x393eed[_0x4a96ee([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x30b563=_0x270bde[_0x4a96ee([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x3db961=_0x270bde[_0x4a96ee([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4cfcfc=_0x270bde[_0x4a96ee([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x3f251e(_0x3f63e3,_0x4a96ee([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x51619c(_0x3f63e3,_0x4a96ee([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4a96ee([0x73,0x74,0x61,0x74,0x65])]==_0x4a96ee([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x30b563)return!0x0;if(_0x3f251e(_0x3f63e3,_0x4a96ee([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x51619c(_0x3f63e3,_0x4a96ee([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4a96ee([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4a96ee([0x65,0x6e,0x64])&&_0x3db961)return!0x0;return!(!_0x3f251e(_0x3f63e3,_0x4a96ee([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]))||_0x51619c(_0x3f63e3,_0x4a96ee([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]))[_0x4a96ee([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4a96ee([0x65,0x6e,0x64])||!_0x4cfcfc);}function _0x3f251e(_0x43c84a,_0x2f3c90){return _0x43c84a[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4a96ee([0x68,0x61,0x73])](_0x2f3c90);}function _0x51619c(_0x306ee3,_0x4d9dba){return _0x306ee3[_0x4a96ee([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4a96ee([0x67,0x65,0x74])](_0x4d9dba);}function _0xb8d80a(_0x22497e){let _0x68b654='';for(const _0x3f5fc9 of _0x22497e)_0x68b654+=String[_0x4a96ee([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x3f5fc9);return _0x68b654;}function _0x228feb(_0x1c783b){const _0x259078=new Uint8Array(_0x1c783b[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x54a864=0x0;_0x54a864<_0x1c783b[_0x4a96ee([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x54a864++)_0x259078[_0x54a864]=_0x1c783b[_0x4a96ee([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x54a864);return _0x259078;}_0x4e6267&&_0x2b531b(_0xf65c49(_0x5adfa3),_0x4e6267);})(_0x1d65c1);}(this);}['createRevision'](_0x3320d0){const _0x21d2f1=this['editor']['plugins']['get']('Users');return new a({'id':_0x3320d0['id'],'name':_0x3320d0['name'],'creator':_0x3320d0['creatorId']?_0x21d2f1['getUser'](_0x3320d0['creatorId']):null,'diffData':_0x3320d0['diffData']||_0x3320d0['data'],'authors':_0x3320d0['authorsIds']['map'](_0x206859=>_0x21d2f1['getUser'](_0x206859)),'createdAt':new Date(_0x3320d0['createdAt']),'attributes':_0x3320d0['attributes'],'fromVersion':_0x3320d0['fromVersion'],'toVersion':_0x3320d0['toVersion']});}['addRevision'](_0x38db30,_0x51d994=0x0){this['_revisions']['add'](_0x38db30,_0x51d994);}['getRevision'](_0x3a9bd0){return this['_revisions']['get'](_0x3a9bd0);}['getRevisions'](_0x5d97ad={'toJSON':!0x1}){const _0x15e276=Array['from'](this['_revisions']);return _0x15e276['reverse'](),_0x5d97ad['toJSON']?_0x15e276['map'](_0x53d994=>_0x53d994['toJSON']()):_0x15e276;}['getIndex'](_0x3aad7c){return this['_revisions']['getIndex'](_0x3aad7c);}['getEarlierVisibleRevision'](_0x5de05d){const [,_0x3b4441]=this['getRevisionsIterator'](_0x5de05d,{'direction':'earlier'});return _0x3b4441;}['getLaterVisibleRevision'](_0x146671){const [,_0x25a611]=this['getRevisionsIterator'](_0x146671,{'direction':'later'});return _0x25a611;}['getRevisionsInDiff'](_0x248279){const _0x454fe4=[];for(const _0x2adf47 of this['getRevisionsIterator'](_0x248279['newRevisionId']))if(_0x454fe4['push'](_0x2adf47),_0x2adf47['id']===_0x248279['oldRevisionId'])break;return _0x454fe4;}*['getRevisionsIterator'](_0x5577a0,{direction:_0x2d5ffc='earlier',filter:_0x2e8109=_0x19a616=>!0x0}={}){const _0x3f90dd='earlier'===_0x2d5ffc?0x1:-0x1;let _0x22f279=this['_revisions']['get'](_0x5577a0),_0x539dd5=this['getIndex'](_0x22f279);for(yield _0x22f279;_0x22f279;){if(_0x539dd5+=_0x3f90dd,_0x22f279=this['getRevision'](_0x539dd5),!_0x22f279)return;_0x2e8109(_0x22f279)&&(yield _0x22f279);}}}function y(_0x11031c,_0x59fa8d,_0x316cfa){const t=_0x11031c['t'];switch(_0x59fa8d){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'},_0x316cfa);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x316cfa);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x5cd050,'a':_0x4019e5,'e':_0x23fa7a,'r':_0x5971c0,'u':_0x42996e};class l extends _0x1123d9{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x21367c,A,_0x2fcd40];}constructor(_0x3b7d91){super(_0x3b7d91),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 _0x5063a=_0x303c82();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5063a},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 _0x5c1fe8=this['repository']['getRevision'](0x0),_0x2238b9=_0x5c1fe8&&null===_0x5c1fe8['creator']?_0x5c1fe8:null;if(this['_continueCurrentRevision']=!!_0x2238b9&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x4de509=this['_source']['getCurrentRevisionId'](),_0x15cf18=this['repository']['getRevision'](_0x4de509);if(_0x15cf18)this['_startingVersion']=_0x15cf18['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x566d97=this['_source']['history']['_operations']['find'](_0x225337=>!_0x225337['_isInit']),_0x16ba22=_0x566d97?_0x566d97['baseVersion']:this['_source']['history']['version'];_0x5c1fe8?(_0x5c1fe8['toVersion']<_0x16ba22&&_0x5c1fe8['_update']({'toVersion':_0x16ba22}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2238b9['id'],this['_startingVersion']=_0x2238b9['fromVersion']):(this['_startingVersion']=_0x5c1fe8['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x16ba22,this['_continueCurrentRevision']=!0x1);}}else _0x2238b9&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2238b9['toVersion'],this['editor']['model']['document']['history']['version']),_0x2238b9['fromVersion']===_0x2238b9['toVersion']?(0x0!==_0x2238b9['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2238b9['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2238b9['id'],this['_startingVersion']=_0x2238b9['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',_0x1605a4=>!_0x1605a4);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x11e9ca=this['repository']['getRevision'](0x0),_0x43cc67=await this['getRevisionDocumentData'](_0x11e9ca),_0x14bf50=await this['getRevisionRootsAttributes'](_0x11e9ca);this['_replaceEditorDataWithRevisionData'](_0x43cc67,_0x14bf50);}}['setSource'](_0x1e8056){this['_source']=_0x1e8056;}async['update'](){const _0x1c8a15=await this['_source']['getLatestVersion']();if(_0x1c8a15>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3fe310=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1c8a15});_0x3fe310['authors']=_0x3fe310['authorsIds']['map'](_0xfe5337=>this['editor']['plugins']['get']('Users')['getUser'](_0xfe5337)),this['currentRevision']['_update'](_0x3fe310);}}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'](_0x54951e={},_0x56d62a=null){const _0x1c3441=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x56d62a>this['currentRevision']['toVersion']&&(_0x56d62a=null),null===_0x56d62a&&(_0x56d62a=await this['_source']['getLatestVersion']());const _0x39521b=this['_getFromVersion'](_0x56d62a),_0x5e44b9=this['buildRevisionData']({'from':_0x39521b,'to':_0x56d62a});if(this['currentRevision']['toVersion']<_0x56d62a){const _0x12902e=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x56d62a,'to':_0x56d62a});_0x12902e['authors']=[],_0x12902e['authorsIds']=[],_0x12902e['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x12902e,!0x0),delete _0x12902e['authors'],_0x1c3441['push'](_0x12902e);}_0x54951e['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x54951e['name']=_0x54951e['name']||null,_0x54951e['id']=_0x54951e['id']||_0x303c82(),_0x54951e={..._0x54951e,..._0x5e44b9};const _0x20b76e=this['addRevisionData'](_0x54951e);_0x1c3441['push'](_0x54951e);const _0x1085bb=this['repository']['getIndex'](_0x20b76e);if(0x0!==_0x1085bb){const _0x2050ef=this['repository']['getRevision'](_0x1085bb-0x1);if(_0x2050ef['fromVersion']!==_0x56d62a){const _0xa48d74=this['_revisionDataBuilder']['getData'](_0x56d62a,_0x2050ef['toVersion']),_0xcc8bfc={'id':_0x2050ef['id'],'diffData':_0xa48d74['diffData'],'authorsIds':_0xa48d74['authorsIds'],'authors':_0xa48d74['authorsIds']['map'](_0x8e7f6a=>this['editor']['plugins']['get']('Users')['getUser'](_0x8e7f6a)),'fromVersion':_0x56d62a};_0x2050ef===this['currentRevision']&&(_0xcc8bfc['createdAt']=new Date(_0x54951e['createdAt']['getTime']()+0xa)),_0x2050ef['_update'](_0xcc8bfc,!0x0),delete _0xcc8bfc['authors'],_0x1c3441['push'](_0xcc8bfc);}}if(this['adapter']){for(const _0x437f99 of _0x1c3441)this['_bufferUpdate'](_0x437f99['id'],_0x437f99,!0x0);this['sendBufferedUpdates']();}return _0x20b76e;}['addRevisionData'](_0x42a0d0){const _0x32fe6f=this['repository']['createRevision'](_0x42a0d0);return this['adapter']&&_0x32fe6f['on']('_update',(_0x309ab8,_0x30e2da,_0x49b37e)=>{_0x49b37e||(this['_bufferUpdate'](_0x30e2da['id'],_0x30e2da,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x32fe6f,this['_findInsertionIndex'](_0x32fe6f)),_0x32fe6f;}async['getRevisionDocumentData'](_0x498da1){await this['_loadRevisionData'](_0x498da1);const _0x10606c={};for(const _0x5a6d4d in _0x498da1['diffData']){if(_0x498da1['diffData'][_0x5a6d4d]['attachChange']&&!_0x498da1['diffData'][_0x5a6d4d]['attachChange']['isAttached'])continue;const _0x117529=this['_removeRevisionMarkers'](JSON['parse'](_0x498da1['diffData'][_0x5a6d4d]['insertions'])),_0x3993ca=this['editor']['editing']['view']['document'],_0x24ba1b=new _0x402ec4(_0x3993ca,_0x117529['map'](_0x5d0127=>B(_0x5d0127,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x10606c[_0x5a6d4d]=this['editor']['data']['processor']['toData'](_0x24ba1b),this['editor']['data']['processor']['useFillerType']('default');}return _0x10606c;}async['getRevisionRootsAttributes'](_0x5db2c2){await this['_loadRevisionData'](_0x5db2c2);const _0x3a7844={};for(const _0x40213c in _0x5db2c2['diffData'])_0x5db2c2['diffData'][_0x40213c]['attachChange']&&!_0x5db2c2['diffData'][_0x40213c]['attachChange']['isAttached']||(_0x3a7844[_0x40213c]=_0x5db2c2['diffData'][_0x40213c]['attributesAfter']||{});return _0x3a7844;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x988080=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x18b829=0x0;_0x18b829<_0x988080['length'];_0x18b829++){const _0x125d85=_0x988080[_0x18b829];let _0x582139=!0x1;for(const _0x20a153 of Object['keys'](_0x125d85))void 0x0===_0x125d85[_0x20a153]?delete _0x125d85[_0x20a153]:'id'!==_0x20a153&&(_0x582139=!0x0);_0x582139||(_0x988080[_0x18b829]=null);}if(_0x988080=_0x988080['filter'](_0x1e8472=>null!==_0x1e8472),!_0x988080['length'])return;for(let _0x59f5b5=0x0;_0x59f5b5<_0x988080['length'];_0x59f5b5++){const _0x408d7e=_0x988080[_0x59f5b5];void 0x0!==_0x408d7e['fromVersion']&&void 0x0===_0x408d7e['toVersion']&&(_0x408d7e['toVersion']=this['repository']['getRevision'](_0x408d7e['id'])['toVersion']),void 0x0!==_0x408d7e['toVersion']&&void 0x0===_0x408d7e['fromVersion']&&(_0x408d7e['fromVersion']=this['repository']['getRevision'](_0x408d7e['id'])['fromVersion']);}const _0x50b770=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x988080,_0x50b770)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3364a5=>{if(_0x3364a5){for(const _0x209d7f of _0x3364a5)this['setRevisionData']({'id':_0x209d7f['id'],'createdAt':_0x209d7f['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x1906b8,_0x56ec2c){let _0x3457f3=this['editor']['config']['get']('initialData'),_0x49b540=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x3457f3){_0x3457f3={};for(const _0x4ffd27 of this['editor']['model']['document']['getRootNames']())_0x3457f3[_0x4ffd27]='';}if('string'==typeof _0x3457f3&&(_0x3457f3={'main':_0x3457f3}),void 0x0===_0x49b540){_0x49b540={};for(const _0x2a11ad of this['editor']['model']['document']['getRootNames']())_0x49b540[_0x2a11ad]={};}let _0x4e54df=!0x1;const _0x2deaf1=Object['keys'](_0x3457f3),_0x464dc9=Object['keys'](_0x1906b8);for(const _0x53ed29 of _0x2deaf1){if(_0x3457f3[_0x53ed29]!==_0x1906b8[_0x53ed29]&&''!==_0x3457f3[_0x53ed29]['trim']()){_0x4e54df=!0x0;break;}if(!_0x6fcdf6(_0x49b540[_0x53ed29],_0x56ec2c[_0x53ed29])&&Object['keys'](_0x49b540[_0x53ed29])['length']>0x0){_0x4e54df=!0x0;break;}}_0x4e54df||(_0x4e54df=_0x464dc9['some'](_0x3725cf=>!this['editor']['model']['document']['getRoot'](_0x3725cf))),_0x4e54df&&_0x3a5552('editor-initial-data-replaced-with-revision-data',{'editorData':_0x3457f3,'editorRootsAttributes':_0x49b540,'revisionData':_0x1906b8,'revisionRootsAttributes':_0x56ec2c}),this['editor']['config']['set']('initialData',_0x1906b8),this['editor']['config']['set']('rootsAttributes',_0x56ec2c);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x179fbe=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x179fbe['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x522962){const _0x37f550=this['repository']['getRevisions']();_0x37f550['reverse']();let _0x4edcdd=0x0;for(;_0x4edcdd<_0x37f550['length'];){const _0x4df80e=_0x37f550[_0x4edcdd];if(_0x4df80e===this['currentRevision']){_0x4edcdd++;continue;}if(_0x4df80e['id']===this['_initialRevisionId'])break;const _0x19dd44=_0x522962['toVersion']-_0x4df80e['toVersion']||_0x522962['fromVersion']-_0x4df80e['fromVersion'];if(_0x19dd44>0x0)break;if(_0x19dd44<0x0)_0x4edcdd++;else{if(!_0x522962['creator']&&_0x4df80e['creator'])break;if(_0x4df80e['creator']||!_0x522962['creator']){if(_0x522962['createdAt']>_0x4df80e['createdAt'])break;_0x4edcdd++;}else _0x4edcdd++;}}return _0x4edcdd;}['setRevisionData'](_0x1b5ae7){const _0x33a522=this['repository']['getRevision'](_0x1b5ae7['id']);if(_0x1b5ae7['createdAt']&&(_0x1b5ae7['createdAt']=new Date(_0x1b5ae7['createdAt'])),_0x1b5ae7['authorsIds']){const _0x11fe9f=this['editor']['plugins']['get']('Users');_0x1b5ae7['authors']=_0x1b5ae7['authorsIds']['map'](_0x1b2a06=>_0x11fe9f['getUser'](_0x1b2a06));}_0x33a522['_update'](_0x1b5ae7,!0x0);}['buildRevisionData']({revision:_0x5221b4=null,from:_0x16bdb6=null,to:_0x5d3c82=null}){_0x16bdb6=null!==_0x16bdb6?_0x16bdb6:_0x5221b4['fromVersion'],_0x5d3c82=null!==_0x5d3c82?_0x5d3c82:_0x5221b4['toVersion'];const _0x260025=this['_revisionDataBuilder']['getData'](_0x16bdb6,_0x5d3c82),_0x3aa5a6={'diffData':_0x260025['diffData'],'authorsIds':_0x260025['authorsIds'],'fromVersion':_0x16bdb6,'toVersion':_0x5d3c82};if(!_0x5221b4||_0x5d3c82!==_0x5221b4['toVersion']){const _0x52e89f=_0x5d3c82-0x1,_0x50351d=this['_source']['history']['getOperation'](_0x52e89f);_0x3aa5a6['createdAt']=_0x50351d&&_0x50351d['createdAt']||new Date();}if(this['_loadedStateData']&&_0x16bdb6===this['_loadedStateData']['fromVersion']){for(const _0x130344 of this['_loadedStateData']['authors'])_0x3aa5a6['authorsIds']['includes'](_0x130344['id'])||_0x3aa5a6['authorsIds']['push'](_0x130344['id']);}return _0x3aa5a6;}['_loadRevisionData'](_0x1cf8ea){if(!_0x1cf8ea||_0x1cf8ea['diffData'])return Promise['resolve']();{const _0x504ac3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x504ac3,'revisionId':_0x1cf8ea['id']})['then'](_0x236982=>{_0x1cf8ea['diffData']=_0x236982['diffData'];});}}['_bufferUpdate'](_0x554f4a,_0x412fe5,_0x530863){if(this['_bufferedUpdates']['has'](_0x554f4a)){const _0x51ba6b=this['_bufferedUpdates']['get'](_0x554f4a);_0x412fe5=_0x530863?{..._0x51ba6b,..._0x412fe5}:{..._0x412fe5,..._0x51ba6b};}this['_bufferedUpdates']['set'](_0x554f4a,_0x412fe5);}['_getFromVersion'](_0x8733dc){const _0x18efe3=this['repository']['getRevisions']();_0x18efe3['reverse'](),_0x18efe3['shift']();const _0x570c44=_0x18efe3['find'](_0x48ba62=>_0x48ba62['toVersion']<=_0x8733dc)['toVersion'];return _0x570c44<this['_startingVersion']?this['_startingVersion']:_0x570c44;}['_createInitialRevision'](_0x53bfc4){const _0x5f05c6=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5f05c6)this['_initialRevisionId']=_0x5f05c6['id'];else{const _0x225fb2=!this['editor']['model']['document']['roots']['find'](_0x2214af=>this['editor']['model']['hasContent'](_0x2214af)),_0x6ffb5=this['editor']['plugins']['get']('Users')['me']['id'],_0x3fba3d=y(this['editor']['locale'],_0x225fb2?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x53bfc4,'to':_0x53bfc4,'id':this['_initialRevisionId'],'name':_0x3fba3d,'creatorId':_0x6ffb5});}}['_createCurrentRevision'](_0x246137){const _0x51445b=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x51445b),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x246137,'to':_0x246137,'id':_0x51445b,'name':'','creatorId':null}));}['_makeRevision']({name:_0x2d041d,from:_0x42c6ae,to:_0x17053,creatorId:_0x5ad9ee,id:_0x59934c}){const _0x4c8c68=this['buildRevisionData']({'from':_0x42c6ae,'to':_0x17053});_0x4c8c68['name']=_0x2d041d,_0x4c8c68['creatorId']=_0x5ad9ee,_0x4c8c68['id']=_0x59934c;const _0xef2725=this['addRevisionData'](_0x4c8c68);return this['adapter']&&this['_bufferUpdate'](_0x4c8c68['id'],_0x4c8c68,!0x0),_0xef2725;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x67a813){return(_0x67a813=_0x67a813['filter'](_0x65cd53=>!_0x65cd53['name']||'revision-start'!==_0x65cd53['name']&&'revision-end'!==_0x65cd53['name']))['forEach'](_0x37f11d=>{'string'!=typeof _0x37f11d&&(_0x37f11d['children']=this['_removeRevisionMarkers'](_0x37f11d['children']),_0x37f11d['attributes']=_0x37f11d['attributes']['filter'](_0x44c930=>!_0x44c930[0x0]['startsWith']('data-revision-')));}),_0x67a813;}}function B(_0x19f542,_0x2ecdaf){const _0x5cf084=_0x2ecdaf['editing']['view']['document'];if('string'==typeof _0x19f542)return new _0x3baa24(_0x5cf084,_0x19f542);{const _0x24b16b=_0x19f542['children']['map'](_0x6b889c=>B(_0x6b889c,_0x2ecdaf));return new(T[_0x19f542['type']]||_0x34f0e4)(_0x5cf084,_0x19f542['name'],_0x19f542['attributes'],_0x24b16b);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x3b2c76){this['editor']=_0x3b2c76,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'](_0x2188a9){this['source']=_0x2188a9;const _0x62a890=new Map(),_0x47e3f4=new Map(),_0x1de15a=this['editor']['model']['document']['roots']['map'](_0x47dfbb=>_0x47dfbb['rootName']);for(const _0x5c2dc5 of _0x1de15a){const _0x4ea991=this['editor']['model']['document']['getRoot'](_0x5c2dc5),_0x1cd50f=q(_0x4ea991);_0x62a890['set'](_0x5c2dc5,_0x1cd50f),_0x47e3f4['set'](_0x5c2dc5,Object['fromEntries'](_0x4ea991['getAttributes']()));}const _0x8991ee=Array['from'](this['editor']['model']['markers'])['map'](_0xd9e190=>[_0xd9e190['name'],_0xd9e190['getRange']()]),_0x445fbc=this['source']['version'];this['_saveMetaData'](_0x445fbc,_0x62a890,_0x8991ee,_0x47e3f4),this['_startingRevisionId']=this['_revisionId'];const _0x506bce=new Map(),_0x4e497c=new Map();for(const _0x36cfed of _0x1de15a){const _0x227a70=G(_0x36cfed);_0x506bce['set'](_0x36cfed,_0x227a70),_0x4e497c['set'](_0x36cfed,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x506bce,[],_0x4e497c);}['getData'](_0x2e34cb,_0x3643e8){if(this['_lastFrom']===_0x2e34cb&&this['_lastTo']<=_0x3643e8)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3643e8,!0x0);else{if(!this['_savedMetaData']['has'](_0x2e34cb)){const _0x310e53=this['_getPreviousFrom'](_0x2e34cb);this['_calculateMetaData'](_0x310e53,_0x2e34cb,!0x1);}this['_calculateMetaData'](_0x2e34cb,_0x3643e8,!0x0);}return this['_lastFrom']=_0x2e34cb,this['_lastTo']=_0x3643e8,this['_getState']();}['loadState'](_0x456007){this['_reset'](),this['_lastFrom']=_0x456007['fromVersion'],this['_lastTo']=_0x456007['toVersion'];for(const _0x25cde2 in _0x456007['diffData']){const _0x2936b0=_0x456007['diffData'][_0x25cde2]['attachChange'],_0x504a74=_0x4c9fb9(_0x456007['diffData'][_0x25cde2]['attributesBefore'])||{},_0x5c322a=this['_makeModelFromViewString'](_0x456007['diffData'][_0x25cde2]['deletions']);_0x5c322a['rootName']=_0x25cde2,_0x5c322a['_isAttached']=!_0x2936b0||!_0x2936b0['isAttached'],_0x5c322a['isAttached']=()=>_0x5c322a['_isAttached'],this['_baseRoots']['set'](_0x25cde2,_0x5c322a),this['_baseRootsAttributes']['set'](_0x25cde2,_0x504a74),_0x2936b0&&this['_touchedRoots']['set'](_0x25cde2,_0x2936b0);const _0x312cba=this['_makeIdsRoot'](_0x5c322a);this['_baseIdsRoots']['set'](_0x25cde2,_0x312cba);for(const [_0x1729a5,_0x30a41e]of _0x5c322a['markers']){if(!_0x1729a5['startsWith']('revision:'))continue;const _0x2af078=_0x1729a5['split'](':')[0x2];for(const _0x3c0482 of _0x30a41e['getWalker']({'singleCharacters':!0x0})){const _0x4508b3=this['_getVidAttributeName'](_0x3c0482),_0xed5a24='elementEnd'==_0x3c0482['type']?_0x3c0482['previousPosition']['path']['slice'](0x0,-0x1):_0x3c0482['previousPosition']['path'],_0x5646a3=_0x312cba['getNodeByPath'](_0xed5a24)['getAttribute'](_0x4508b3);this['_touched']['set'](_0x5646a3,{'userId':_0x2af078});}}}this['_startingRevisionId']=this['_revisionId'];const _0x23c84d=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x17ea31=>!this['_touched']['has'](_0x17ea31));let _0x4aabd3=0x0;const _0x5d2be2=new Map();for(const _0x1bc320 in _0x456007['diffData']){const _0x18571a=_0x456007['diffData'][_0x1bc320]['attachChange'],_0x4629fb=_0x4c9fb9(_0x456007['diffData'][_0x1bc320]['attributesAfter'])||{},_0x3905a1=this['_makeModelFromViewString'](_0x456007['diffData'][_0x1bc320]['insertions']);_0x3905a1['rootName']=_0x1bc320,_0x3905a1['_isAttached']=!_0x18571a||_0x18571a['isAttached'],_0x3905a1['isAttached']=()=>_0x3905a1['_isAttached'],this['_diffRoots']['set'](_0x1bc320,_0x3905a1),this['_diffRootsAttributes']['set'](_0x1bc320,_0x4629fb);const _0x23181f=this['_makeIdsRoot'](_0x3905a1,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x1bc320,_0x23181f),_0x5d2be2['set'](_0x1bc320,_0x3905a1['isAttached']()?_0x4629fb:{});for(const [_0x6464c6,_0x2b120d]of _0x3905a1['markers']){if(!_0x6464c6['startsWith']('revision:'))continue;const _0x1c956d=_0x6464c6['split'](':')[0x2];for(const _0xf447af of _0x2b120d['getWalker']({'singleCharacters':!0x0})){const _0x49e364=this['_getVidAttributeName'](_0xf447af),_0x209e6c=this['_revisionId']++,_0x150162='elementEnd'==_0xf447af['type']?_0xf447af['previousPosition']['path']['slice'](0x0,-0x1):_0xf447af['previousPosition']['path'];_0x23181f['getNodeByPath'](_0x150162)['_setAttribute'](_0x49e364,_0x209e6c),this['_touched']['set'](_0x209e6c,{'userId':_0x1c956d});}}for(const _0x2d1fa7 of this['editor']['model']['createRangeIn'](_0x3905a1)['getWalker']({'singleCharacters':!0x0})){const _0x22b22c=this['_getVidAttributeName'](_0x2d1fa7),_0x2650ab='elementEnd'==_0x2d1fa7['type']?_0x2d1fa7['previousPosition']['path']['slice'](0x0,-0x1):_0x2d1fa7['previousPosition']['path'],_0x135e2c=_0x23181f['getNodeByPath'](_0x2650ab);_0x135e2c['getAttribute'](_0x22b22c)>0x0||_0x135e2c['_setAttribute'](_0x22b22c,_0x23c84d[_0x4aabd3++]);}for(const [_0x3df005,_0x233ed0]of _0x3905a1['markers'])_0x3df005['startsWith']('revision:')||this['_markers']['set'](_0x3df005,_0x233ed0);}const _0xb21b1d=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xb21b1d),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xb21b1d,0x1));const _0xf4ace9=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0xf4ace9),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xf4ace9,0x1));const _0x5a5ea7=Array['from'](this['_diffRoots'])['map'](([_0x483cfa,_0x35fb42])=>[_0x483cfa,q(_0x35fb42)]);this['_saveMetaData'](this['_lastTo'],_0x5a5ea7,this['_markers'],_0x5d2be2);}['_makeModelFromViewString'](_0x592dd3){const _0x58048a=JSON['parse'](_0x592dd3),_0x56316d=this['editor']['editing']['view']['document'],_0x50d442=new _0x402ec4(_0x56316d,_0x58048a['map'](_0x12dcf9=>B(_0x12dcf9,this['editor'])));return this['editor']['data']['toModel'](_0x50d442);}['_saveMetaData'](_0x53fffe,_0x2dcc0d,_0x276ca6,_0x48711a){const _0x19ce92=new Map(_0x2dcc0d),_0x445f46=new Map(_0x4c9fb9(_0x48711a)),_0xab8f97=new Map();for(const [_0x355140,_0xe06545]of _0x276ca6)_0xab8f97['set'](_0x355140,{'start':_0xe06545['start']['clone'](),'end':_0xe06545['end']['clone'](),'rootName':_0xe06545['root']['rootName']});this['_savedMetaData']['set'](_0x53fffe,{'roots':_0x19ce92,'markers':_0xab8f97,'rootsAttributes':_0x445f46});}['_removeMetaData'](_0x2fcc8b){this['_savedMetaData']['delete'](_0x2fcc8b);}['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'](_0x4d1786,_0x3764d1=null){let _0x57b34a=null;_0x4d1786['is']('documentFragment')||(_0x57b34a=new ft(_0x4d1786['name'],{'vid_start':null===_0x3764d1?this['_revisionId']++:_0x3764d1++}));const _0x22b587=[];for(const _0x2b049b of _0x4d1786['getChildren']())if(_0x2b049b['is']('element')){_0x22b587['push'](this['_makeIdsRoot'](_0x2b049b,_0x3764d1));const _0x17c29d=_0x22b587[_0x22b587['length']-0x1];null!==_0x3764d1&&(_0x3764d1=_0x17c29d['is']('element','$text')?_0x17c29d['getAttribute']('vid')+0x1:_0x17c29d['getAttribute']('vid_end')+0x1);}else{for(let _0x175c10=0x0;_0x175c10<_0x2b049b['offsetSize'];_0x175c10++)_0x22b587['push'](new ft('$text',{'vid':null===_0x3764d1?this['_revisionId']++:_0x3764d1++}));}if(_0x4d1786['is']('documentFragment')){const _0x47a662=G(_0x4d1786['rootName']);return _0x47a662['_insertChild'](0x0,_0x22b587),_0x47a662;}return _0x57b34a['_setAttribute']('vid_end',null===_0x3764d1?this['_revisionId']++:_0x3764d1++),_0x57b34a['_insertChild'](0x0,_0x22b587),_0x57b34a;}['_calculateMetaData'](_0x5cbb36,_0x138146,_0x234570){this['_reset']();const {roots:_0xe6cb33,markers:_0x54b83d,rootsAttributes:_0x4041df}=this['_savedMetaData']['get'](_0x5cbb36);this['_baseRoots']=new Map(_0xe6cb33),this['_baseRootsAttributes']=new Map(_0x4c9fb9(_0x4041df));for(const [_0x230b0c,_0xf233ad]of this['_baseRoots'])if('$graveyard'!==_0x230b0c&&(this['_diffRoots']['set'](_0x230b0c,q(_0xf233ad)),this['_diffRootsAttributes']=new Map(_0x4c9fb9(_0x4041df)),_0x234570)){const _0x5f19f6=this['_revisionId'];this['_idsRoots']['set'](_0x230b0c,this['_makeIdsRoot'](_0xf233ad)),this['_baseIdsRoots']['set'](_0x230b0c,this['_makeIdsRoot'](_0xf233ad,_0x5f19f6));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x234570&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x4d5ed2,_0x407891]of _0x54b83d){const _0x5521b5=this['_baseRoots']['get'](_0x407891['rootName']),_0x1f4f6b=this['_diffRoots']['get'](_0x407891['rootName']),_0x21c92b=new vt(this['_fixPosition'](_0x407891['start'],_0x5521b5),this['_fixPosition'](_0x407891['end'],_0x5521b5)),_0x452ebf=this['_fixRange'](_0x21c92b,_0x1f4f6b);_0x5521b5['markers']['set'](_0x4d5ed2,_0x21c92b),this['_markers']['set'](_0x4d5ed2,_0x452ebf);}this['_applyOperations'](_0x5cbb36,_0x138146,_0x234570);}['_applyOperations'](_0x1f2ca8,_0x18f690,_0x32f946){for(const _0x5705e6 of this['source']['getOperations'](_0x1f2ca8,_0x18f690))this['_handleOperation'](_0x5705e6,_0x32f946);for(const _0x4bc901 of this['_diffRoots']['values']())_0x4bc901['markers']['clear']();for(const [_0x560577,_0x216333]of this['_markers']){this['_diffRoots']['get'](_0x216333['root']['rootName'])['markers']['set'](_0x560577,_0x216333['clone']());}const _0x26dc43=new Map(),_0x23d6f6=new Map();for(const [_0x1a6972,_0x44da94]of this['_diffRoots'])_0x26dc43['set'](_0x1a6972,q(_0x44da94)),_0x23d6f6['set'](_0x1a6972,this['_diffRootsAttributes']['get'](_0x1a6972));this['_saveMetaData'](_0x18f690,_0x26dc43,this['_markers'],_0x23d6f6);}['_getPreviousFrom'](_0x3d2e63){const _0x4ad1e2=Array['from'](this['_savedMetaData']['keys']());_0x4ad1e2['sort']((_0x63fa55,_0x25b541)=>_0x63fa55-_0x25b541),_0x4ad1e2['reverse']();for(const _0x1abea8 of _0x4ad1e2)if(_0x1abea8<_0x3d2e63)return _0x1abea8;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x47af95,_0xb3d0b){const _0x21c781=Array['from'](_0xb3d0b['markers'])['map'](([_0x1ecd55,_0x4176c8])=>[_0x1ecd55,this['_fixRange'](_0x4176c8,_0x47af95)]);_0x47af95['markers']=new Map(_0x21c781);}['_transformMarkers'](_0x252768){for(const _0x28030e of this['_markers']['values']()){const _0x3c197d=_0x28030e['getTransformedByOperation'](_0x252768),_0xee6fb4=vt['_createFromRanges'](_0x3c197d);_0x28030e['start']=_0xee6fb4['start'],_0x28030e['end']=_0xee6fb4['end'];}}['_handleOperation'](_0x2e01ad,_0x3f89de){if('addRoot'==_0x2e01ad['type']||'detachRoot'==_0x2e01ad['type'])return void this['_handleRootOperation'](_0x2e01ad,_0x3f89de);if('insert'==_0x2e01ad['type']){const _0x45ae14=_0x2e01ad['position']['root']['rootName'];this['_diffRoots']['has'](_0x45ae14)||(this['_diffRoots']['set'](_0x45ae14,G(_0x45ae14,!0x0)),this['_diffRootsAttributes']['set'](_0x45ae14,{}),_0x3f89de&&this['_idsRoots']['set'](_0x45ae14,G(_0x45ae14,!0x0)));}else{if('addRootAttribute'==_0x2e01ad['type']||'removeRootAttribute'==_0x2e01ad['type']||'changeRootAttribute'==_0x2e01ad['type'])return void this['_handleRootAttributeOperation'](_0x2e01ad);}const _0x577f08=this['_cloneOperation'](_0x2e01ad,this['_diffRoots']);if('marker'!==_0x2e01ad['type']&&(_0x577f08['_execute'](),this['_transformMarkers'](_0x577f08)),_0x3f89de)switch(_0x577f08['type']){case'insert':this['_handleInsertOperation'](_0x2e01ad);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2e01ad);break;case'merge':this['_handleMergeOperation'](_0x2e01ad);break;case'split':this['_handleSplitOperation'](_0x2e01ad);break;case'marker':this['_handleMarkerOperation'](_0x2e01ad);}}['_cloneOperation'](_0xac0eea,_0x114cb1){const _0x125261=_0xac0eea['clone']();return _0x125261['_authorId']=_0xac0eea['_authorId'],this['_fixOperation'](_0x125261,_0x114cb1),_0x125261;}['_getBaseVids'](_0x2cabf4){return _0x2cabf4['map'](_0x1f4b55=>{const _0x3e6707=this['_getVidAttributeName'](_0x1f4b55);return Number(_0x1f4b55['item']['getAttribute'](_0x3e6707));});}['_generateTape'](_0xe200f,_0x2a6d29){if(_0xe200f['is']('element','$text'))_0x2a6d29['push']({'item':_0xe200f,'type':'text'});else{_0xe200f['is']('element')&&_0x2a6d29['push']({'item':_0xe200f,'type':'elementStart'});for(const _0x3ad0ad of _0xe200f['getChildren']())this['_generateTape'](_0x3ad0ad,_0x2a6d29);_0xe200f['is']('element')&&_0x2a6d29['push']({'item':_0xe200f,'type':'elementEnd'});}return _0x2a6d29;}['_getState'](){const _0x5c95f4=new Map(this['_touched']),_0x23a60c=new Map(_0x5c95f4),_0x43f205=new Map(),_0x4e9d90={'insertions':{},'deletions':{}},_0x15d1fb={'insertions':{},'deletions':{}},_0x3124c6=new Map(),_0x5dea63=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5dea63['delete']('$graveyard');for(const _0x30e44e of _0x5dea63){const _0x55c85b=this['_diffRoots']['get'](_0x30e44e)||G(_0x30e44e,!0x1),_0x21c926=this['_baseRoots']['get'](_0x30e44e)||G(_0x30e44e,!0x1);_0x55c85b['isAttached']()||_0x21c926['isAttached']()?(_0x4e9d90['insertions'][_0x30e44e]=q(_0x55c85b),_0x4e9d90['deletions'][_0x30e44e]=q(_0x21c926),this['_copyMarkers'](_0x4e9d90['deletions'][_0x30e44e],_0x21c926),this['_copyMarkers'](_0x4e9d90['insertions'][_0x30e44e],_0x55c85b),_0x15d1fb['insertions'][_0x30e44e]=this['_generateTape'](this['_idsRoots']['get'](_0x30e44e),[]),_0x15d1fb['deletions'][_0x30e44e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x30e44e)||G(_0x30e44e,!0x1),[])):_0x5dea63['delete'](_0x30e44e);}for(const _0x2aaf33 of _0x5dea63){const _0x455e09=_0x15d1fb['insertions'][_0x2aaf33];for(const _0x33e3c3 of _0x455e09){const _0xfc7a55=this['_getVidAttributeName'](_0x33e3c3),_0x241044=_0x33e3c3['item']['getAttribute'](_0xfc7a55);_0x23a60c['delete'](_0x241044),_0x241044>=this['_startingRevisionId']&&_0x43f205['set'](_0x241044,_0x5c95f4['get'](_0x241044));}}for(const _0x1ed1da of _0x5dea63){const _0x22d3a6=_0x15d1fb['insertions'][_0x1ed1da],_0x47dbf2=this['_getBaseVids'](_0x15d1fb['deletions'][_0x1ed1da]);let _0x1ab0d8=0x0;for(const _0xb8ef25 of _0x22d3a6){const _0x32d784=this['_getVidAttributeName'](_0xb8ef25),_0x1d1649=_0xb8ef25['item']['getAttribute'](_0x32d784);if(!_0x43f205['has'](_0x1d1649)&&!_0x3124c6['has'](_0x1d1649)){if(_0x23a60c['has'](_0x1d1649))_0x1ab0d8++;else{if(_0x1d1649!=_0x47dbf2[_0x1ab0d8]){const _0x67499f=_0x5c95f4['get'](_0x1d1649)||_0x5c95f4['get'](_0x47dbf2[_0x1ab0d8]);for(;_0x1d1649!=_0x47dbf2[_0x1ab0d8];)_0x23a60c['has'](_0x47dbf2[_0x1ab0d8])||(_0x3124c6['set'](_0x47dbf2[_0x1ab0d8],_0x67499f),_0x5c95f4['set'](_0x47dbf2[_0x1ab0d8],_0x67499f)),_0x1ab0d8++;}_0x1ab0d8++;}}}}for(const _0x569031 of _0x5dea63){const _0x2cf529=_0x15d1fb['insertions'][_0x569031];for(const _0x48a324 of _0x2cf529){const _0x5834f1=this['_getVidAttributeName'](_0x48a324),_0x1e7df0=_0x48a324['item']['getAttribute'](_0x5834f1);if(_0x3124c6['has'](_0x1e7df0)){const _0x3be1da=_0x3124c6['get'](_0x1e7df0);_0x23a60c['has'](_0x1e7df0)||_0x23a60c['set'](_0x1e7df0,{..._0x3be1da}),_0x43f205['set'](_0x1e7df0,{..._0x3be1da});}}}for(const _0x137723 of _0x23a60c['keys']())_0x137723>=this['_startingRevisionId']&&_0x23a60c['delete'](_0x137723);const _0x208838=new Map();for(const _0x27edc of _0x5dea63){let _0x3d8136=_0x15d1fb['insertions'][_0x27edc];for(const _0x45072a of _0x3d8136)if(_0x45072a['item']['is']('element','tableCell')){const _0x313aa4=this['_getVidAttributeName'](_0x45072a),_0x80c864=_0x45072a['item']['getAttribute'](_0x313aa4);if(_0x43f205['has'](_0x80c864)){const _0x17a734=_0x45072a['item']['parent']['parent']['getAttribute']('vid_start'),_0x4110fd=_0x208838['get'](_0x17a734)||new Set();_0x4110fd['add'](_0x43f205['get'](_0x80c864)['userId']),_0x208838['set'](_0x17a734,_0x4110fd);}}_0x3d8136=_0x15d1fb['deletions'][_0x27edc];for(const _0x3bb050 of _0x3d8136)if(_0x3bb050['item']['is']('element','tableCell')){const _0x1745af=this['_getVidAttributeName'](_0x3bb050),_0x328f71=_0x3bb050['item']['getAttribute'](_0x1745af);if(_0x23a60c['has'](_0x328f71)){const _0x225b7e=_0x3bb050['item']['parent']['parent']['getAttribute']('vid_start'),_0x40942d=_0x208838['get'](_0x225b7e)||new Set();_0x40942d['add'](_0x23a60c['get'](_0x328f71)['userId']),_0x208838['set'](_0x225b7e,_0x40942d);}}for(const _0x3aa5a8 of _0x208838['keys']())(_0x43f205['has'](_0x3aa5a8)||_0x23a60c['has'](_0x3aa5a8))&&_0x208838['delete'](_0x3aa5a8);}for(const _0x301757 of _0x5dea63){const _0x4399fb=_0x15d1fb['insertions'][_0x301757];let _0x4168f4=null,_0x30a174=null;for(const _0x2931f2 of _0x4399fb){const _0xc298e=this['_getVidAttributeName'](_0x2931f2),_0x340f13=_0x2931f2['item']['getAttribute'](_0xc298e),_0x573088=_0x208838['get'](_0x340f13);_0x573088&&'elementStart'==_0x2931f2['type']&&(_0x4168f4=Array['from'](_0x573088)[0x0],_0x30a174=_0x2931f2['item']['getAttribute']('vid_end')),_0x4168f4&&(_0x23a60c['set'](_0x340f13,{'userId':_0x4168f4}),_0x43f205['set'](_0x340f13,{'userId':_0x4168f4})),_0x340f13==_0x30a174&&(_0x4168f4=null,_0x30a174=null);}}const _0x487082={},_0x10bf6a=new Set();for(const _0x32f9c2 of _0x5dea63){const _0x3e7b14=_0x4e9d90['deletions'][_0x32f9c2],_0x19c852=_0x4e9d90['insertions'][_0x32f9c2];for(const {userId:_0x10c028}of this['_touchedMarkers']['values']())null!==_0x10c028&&_0x10bf6a['add'](_0x10c028);for(const {userId:_0x17a591}of this['_touchedRoots']['values']())null!==_0x17a591&&_0x10bf6a['add'](_0x17a591);this['_markChanges'](_0x19c852,_0x15d1fb['insertions'][_0x32f9c2],_0x43f205,'insertion',_0x10bf6a),this['_markChanges'](_0x3e7b14,_0x15d1fb['deletions'][_0x32f9c2],_0x23a60c,'deletion',_0x10bf6a),_0x487082[_0x32f9c2]={'insertions':this['_prepareViewToSave'](_0x19c852),'deletions':this['_prepareViewToSave'](_0x3e7b14),'attachChange':this['_touchedRoots']['get'](_0x32f9c2)||null,'attributesBefore':_0x4c9fb9(this['_baseRootsAttributes']['get'](_0x32f9c2))||{},'attributesAfter':_0x4c9fb9(this['_diffRootsAttributes']['get'](_0x32f9c2))};}return{'diffData':_0x487082,'authorsIds':Array['from'](_0x10bf6a)};}['_processRootBeforeSave'](_0x341496){for(const [,_0x1b4082]of _0x341496['markers']){const _0x2d607d=_0x1b4082['start']['getAncestors']()['filter'](_0x34e84c=>'tableCell'==_0x34e84c['name']);for(const _0x3410a3 of _0x2d607d)0x1==_0x3410a3['childCount']&&_0x3410a3['getChild'](0x0)['is']('element','paragraph')&&_0x3410a3['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x1716af){this['_processRootBeforeSave'](_0x1716af);const _0x2086dc=this['editor']['data']['toView'](_0x1716af,{}),_0x1cd7d6=Array['from'](_0x2086dc['getChildren']())['map'](_0x10ad49=>this['_getViewJson'](_0x10ad49));return JSON['stringify'](_0x1cd7d6);}['_getViewJson'](_0x472f98){if(_0x472f98['is']('$text'))return _0x472f98['data'];{const _0x153cde=_0x472f98;return{'type':Object['keys'](T)['find'](_0x388a8a=>_0x472f98 instanceof T[_0x388a8a]),'name':_0x153cde['name'],'attributes':Array['from'](_0x153cde['getAttributes']()),'children':Array['from'](_0x153cde['getChildren']())['map'](_0x772bd6=>this['_getViewJson'](_0x772bd6))};}}['_markChanges'](_0x2151b8,_0x57cfea,_0x2e710d,_0x133f01,_0x3883a3){let _0x499a3c=null,_0x5d0b34=null,_0x4fa6ad=0x0;const _0x3dea57=this['editor']['model'];for(let _0x777a83=0x0;_0x777a83<_0x57cfea['length'];_0x777a83++){const _0x5dd020=this['_getVidAttributeName'](_0x57cfea[_0x777a83]),_0x3ec271=_0x57cfea[_0x777a83]['item']['getAttribute'](_0x5dd020),_0x2df41d=_0x2e710d['get'](_0x3ec271),_0x173726=_0x777a83==_0x57cfea['length']-0x1;(!_0x499a3c&&_0x2df41d&&(_0x499a3c=_0x2df41d,_0x5d0b34=_0x57cfea[_0x777a83]),_0x499a3c&&(!_0x2df41d||_0x2df41d['userId']!=_0x499a3c['userId']))&&(_0x1e3ebc(_0x2df41d,L(_0x5d0b34,_0x2151b8,_0x3dea57),L(_0x57cfea[_0x777a83],_0x2151b8,_0x3dea57)),_0x499a3c=_0x2df41d||null,_0x5d0b34=_0x2df41d?_0x57cfea[_0x777a83]:null),_0x499a3c&&_0x173726&&_0x1e3ebc(_0x2df41d,L(_0x5d0b34,_0x2151b8,_0x3dea57),W(_0x57cfea[_0x777a83],_0x2151b8,_0x3dea57));}function _0x1e3ebc(_0x506996,_0x6ee1f5,_0x360272){const _0x4a9573=_0x499a3c['userId'],_0x22b755='revision:'+_0x133f01+':'+_0x4a9573+':'+_0x4fa6ad++,_0x5676f3=_0x3dea57['createRange'](_0x6ee1f5,_0x360272);_0x2151b8['markers']['set'](_0x22b755,_0x5676f3),null!==_0x4a9573&&_0x3883a3['add'](_0x4a9573);}}['_getVidAttributeName'](_0xa6fa41){switch(_0xa6fa41['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x18834c,_0x439ea8){_0x18834c['baseVersion']=null;for(const _0x173a21 in _0x18834c){const _0x1db105=_0x18834c[_0x173a21];if(_0x1db105 instanceof gt){const _0x5b03e9=_0x439ea8['get'](_0x1db105['root']['rootName']);_0x18834c[_0x173a21]=this['_fixPosition'](_0x1db105,_0x5b03e9);}if(_0x1db105 instanceof vt){const _0x3f61a2=_0x439ea8['get'](_0x1db105['root']['rootName']);_0x18834c[_0x173a21]=this['_fixRange'](_0x1db105,_0x3f61a2);}'root'===_0x173a21&&(_0x18834c['root']=_0x439ea8['get'](_0x18834c['root']['rootName']));}}['_fixRange'](_0x2f6bab,_0x211b34){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2f6bab['start'],_0x211b34),this['_fixPosition'](_0x2f6bab['end'],_0x211b34));}['_fixPosition'](_0x59e9cc,_0x223f04){return this['editor']['model']['createPositionFromPath'](_0x223f04,_0x59e9cc['path'],_0x59e9cc['stickiness']);}['_handleInsertOperation'](_0x5d91b0){const _0x179c4c=this['_idsRoots']['get'](_0x5d91b0['position']['root']['rootName']),_0x1db484=this['_fixPosition'](_0x5d91b0['position'],_0x179c4c),_0x284c99=null===_0x5d91b0['_authorId']?null:_0x5d91b0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3f2dd9=_0x1db484['parent'],_0x2c15da=this['_revisionId'],_0x435e78=[];for(const _0x1f0ea1 of _0x5d91b0['nodes'])if(_0x1f0ea1['is']('element'))_0x435e78['push'](this['_makeIdsRoot'](_0x1f0ea1));else{for(let _0x33fd96=0x0;_0x33fd96<_0x1f0ea1['offsetSize'];_0x33fd96++)_0x435e78['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x2eea0d=this['_revisionId'];for(let _0x2322d3=_0x2c15da;_0x2322d3<_0x2eea0d;_0x2322d3++)this['_touched']['set'](_0x2322d3,{'userId':_0x284c99});_0x3f2dd9['_insertChild'](_0x1db484['offset'],_0x435e78);}['_handleMoveOperation'](_0x193c36){(_0x193c36=this['_cloneOperation'](_0x193c36,this['_idsRoots']))['_execute']();const _0xeaaa92=null===_0x193c36['_authorId']?null:_0x193c36['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x15d9fc=_0x193c36['getMovedRangeStart'](),_0x282ba4=_0x15d9fc['parent'],_0x24f3aa=_0x15d9fc['offset'];!function _0x31264b(_0x19f97f,_0x1aaa0c,_0x428571,_0x2e8080){for(let _0x166ff9=_0x428571;_0x166ff9<_0x2e8080;_0x166ff9++){const _0x4e5894=_0x1aaa0c['getChild'](_0x166ff9);_0x4e5894['is']('element','$text')?_0x19f97f['set'](_0x4e5894['getAttribute']('vid'),{'userId':_0xeaaa92}):(_0x19f97f['set'](_0x4e5894['getAttribute']('vid_start'),{'userId':_0xeaaa92}),_0x31264b(_0x19f97f,_0x4e5894,0x0,_0x4e5894['childCount']),_0x19f97f['set'](_0x4e5894['getAttribute']('vid_end'),{'userId':_0xeaaa92}));}}(this['_touched'],_0x282ba4,_0x24f3aa,_0x24f3aa+_0x193c36['howMany']);}['_handleMergeOperation'](_0x88a28d){const _0x2a3d9c=null===(_0x88a28d=this['_cloneOperation'](_0x88a28d,this['_idsRoots']))['_authorId']?null:_0x88a28d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5be13b=_0x88a28d['targetPosition']['parent'],_0x1f0020=_0x88a28d['sourcePosition']['parent'],_0xe3c9b3=_0x5be13b['getAttribute']('vid_end'),_0xc68441=_0x1f0020['getAttribute']('vid_start');_0x5be13b['_setAttribute']('vid_end',_0x1f0020['getAttribute']('vid_end')),_0x1f0020['_setAttribute']('vid_end',_0xe3c9b3),this['_touched']['set'](_0xc68441,{'userId':_0x2a3d9c}),this['_touched']['set'](_0xe3c9b3,{'userId':_0x2a3d9c}),_0x88a28d['_execute']();}['_handleSplitOperation'](_0x2452f9){const _0x2563c6=null===(_0x2452f9=this['_cloneOperation'](_0x2452f9,this['_idsRoots']))['_authorId']?null:_0x2452f9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1f26e3=_0x2452f9['graveyardPosition'],_0x1910bb=_0x2452f9['splitPosition']['parent'];_0x2452f9['_execute']();const _0x4f55e3=_0x1910bb['getAttribute']('vid_end'),_0x22b2a8=_0x2452f9['insertionPosition']['nodeAfter'];if(_0x1f26e3){const _0x2fde14=_0x22b2a8['getAttribute']('vid_end'),_0x38eb87=_0x1910bb['getAttribute']('vid_end');_0x1910bb['_setAttribute']('vid_end',_0x2fde14),_0x22b2a8['_setAttribute']('vid_end',_0x38eb87),this['_touched']['set'](_0x1910bb['getAttribute']('vid_end'),{'userId':_0x2563c6}),this['_touched']['set'](_0x22b2a8['getAttribute']('vid_start'),{'userId':_0x2563c6});}else{const _0x5d33a0=this['_revisionId']++,_0x5c4861=this['_revisionId']++;_0x1910bb['_setAttribute']('vid_end',_0x5d33a0),_0x22b2a8['_setAttribute']('vid_start',_0x5c4861),_0x22b2a8['_setAttribute']('vid_end',_0x4f55e3),this['_touched']['set'](_0x5d33a0,{'userId':_0x2563c6}),this['_touched']['set'](_0x5c4861,{'userId':_0x2563c6});}}['_handleMarkerOperation'](_0x13c5ca){if(!_0x13c5ca['affectsData'])return;const _0x44f209=(_0x13c5ca=this['_cloneOperation'](_0x13c5ca,this['_diffRoots']))['oldRange']?_0x13c5ca['oldRange']['root']:null,_0x503b3c=_0x13c5ca['newRange']?_0x13c5ca['newRange']['root']:null;_0x44f209&&this['_markers']['delete'](_0x13c5ca['name']),_0x503b3c&&this['_markers']['set'](_0x13c5ca['name'],_0x13c5ca['newRange']['clone']());const _0xbef982=null===_0x13c5ca['_authorId']?null:_0x13c5ca['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x91ec36=_0x13c5ca['name'];if(!this['_touchedMarkers']['has'](_0x91ec36))return void this['_touchedMarkers']['set'](_0x91ec36,{'range':_0x13c5ca['oldRange'],'userId':_0xbef982});const _0x2aad2a=this['_touchedMarkers']['get'](_0x91ec36),_0x214b77=_0x2aad2a['range'],_0x5175f6=_0x13c5ca['newRange'];null==_0x214b77&&null==_0x5175f6||_0x214b77&&_0x5175f6&&_0x214b77['isEqual'](_0x5175f6)?this['_touchedMarkers']['delete'](_0x13c5ca['name']):_0x2aad2a['userId']=_0xbef982;}['_handleRootOperation'](_0x5af350,_0x322e7d){this['_diffRoots']['has'](_0x5af350['rootName'])?this['_diffRoots']['get'](_0x5af350['rootName'])['_isAttached']=_0x5af350['isAdd']:(this['_diffRoots']['set'](_0x5af350['rootName'],G(_0x5af350['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5af350['rootName'],{}),_0x322e7d&&this['_idsRoots']['set'](_0x5af350['rootName'],G(_0x5af350['rootName'],!0x0)));const _0x32d0fd=null===_0x5af350['_authorId']?null:_0x5af350['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x281d0b=this['_touchedRoots']['get'](_0x5af350['rootName']);_0x281d0b&&_0x281d0b['userId']===_0x32d0fd?this['_touchedRoots']['delete'](_0x5af350['rootName']):this['_touchedRoots']['set'](_0x5af350['rootName'],{'userId':_0x32d0fd,'isAttached':_0x5af350['isAdd']});}['_handleRootAttributeOperation'](_0x5bff7e){const _0x41ec77=this['_diffRootsAttributes']['get'](_0x5bff7e['root']['rootName']);null===_0x5bff7e['newValue']?delete _0x41ec77[_0x5bff7e['key']]:_0x41ec77[_0x5bff7e['key']]=_0x5bff7e['newValue'];}}function q(_0x1e208f){const _0x2fd4b9=G(_0x1e208f['rootName'],_0x1e208f['isAttached']());for(const _0x5091b5 of _0x1e208f['getChildren']()){const _0x25c3c1=_0x5091b5['_clone'](!0x0);_0x2fd4b9['_appendChild'](_0x25c3c1);}return _0x2fd4b9;}function G(_0x3fd576,_0x36e490=!0x0){const _0x3f1f79=new wt();return _0x3f1f79['rootName']=_0x3fd576,_0x3f1f79['_isAttached']=_0x36e490,_0x3f1f79['isAttached']=()=>_0x3f1f79['_isAttached'],_0x3f1f79;}function L(_0x4189d5,_0x814051,_0x1cd3af){const _0x8ba0d6='elementEnd'==_0x4189d5['type']?_0x1cd3af['createPositionAt'](_0x4189d5['item'],'end'):_0x1cd3af['createPositionBefore'](_0x4189d5['item']);return _0x1cd3af['createPositionFromPath'](_0x814051,_0x8ba0d6['path'],_0x8ba0d6['stickiness']);}function W(_0x479056,_0x59e968,_0x5a6d56){const _0x40966d='elementStart'==_0x479056['type']?_0x5a6d56['createPositionAt'](_0x479056['item'],0x0):_0x5a6d56['createPositionAfter'](_0x479056['item']);return _0x5a6d56['createPositionFromPath'](_0x59e968,_0x40966d['path'],_0x40966d['stickiness']);}class ns extends _0x50a5ec{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x2508e9,_0x401856){super(_0x2508e9),this['focusTracker']=new _0x141e82(),this['keystrokes']=new _0x56495d(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x401856),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'](),_0x37df89({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x5e7c66=_0x2a9320=>_0x2a9320['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5e7c66),this['keystrokes']['set']('arrowleft',_0x5e7c66),this['keystrokes']['set']('arrowup',_0x5e7c66),this['keystrokes']['set']('arrowdown',_0x5e7c66);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x727bc5){this['revisionNameInputView']['fieldView']['element']['value']=_0x727bc5['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4ca096){const _0x31f6e6=new at(this['locale'],_0x5cc1e8),_0x381913=_0x31f6e6['fieldView'];_0x381913['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x54b232=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4ca096&&(_0x54b232+='\x20('+y(this['locale'],'optional')+')'),(_0x31f6e6['label']=_0x54b232,_0x381913['on']('input',()=>{this['revisionNameInputValue']=_0x381913['element']['value']['trim']();}),_0x31f6e6);}}class u extends _0x1123d9{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x2a87aa=this['editor'],_0x4c3a13=_0x2a87aa['plugins']['get']('RevisionTracker');_0x2a87aa['ui']['componentFactory']['add']('revisionHistory',_0x3adf3f=>{const _0x3daf36=_0x374c53(_0x3adf3f),_0x5cdc8a=_0x3daf36['panelView']['children'],_0x218aef=new te(_0x3adf3f),_0x92d80f=new _0x41e79e(_0x3adf3f),_0x745582=new _0x124c6e(_0x3adf3f),_0x4921dd=new _0x41e79e(_0x3adf3f),_0x54b4d7=new _0x124c6e(_0x3adf3f);return _0x3daf36['bind']('isEnabled')['to'](_0x4c3a13,'isReady',_0x4c3a13,'isEnabled',_0x2a87aa,'isReadOnly',(_0x40a850,_0x62b980,_0x1f9f41)=>_0x40a850&&_0x62b980&&!_0x1f9f41),_0x3daf36['buttonView']['set']({'icon':_0x209ed5['history'],'label':y(_0x3adf3f,'Revision\x20history'),'tooltip':!0x0}),_0x745582['set']({'label':y(_0x3adf3f,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x745582['bind']('isEnabled')['to'](_0x4c3a13,'isReady',_0x4c3a13,'isEnabled',_0x2a87aa,'isReadOnly',(_0x3179ba,_0x5903c8,_0x32c32b)=>_0x3179ba&&_0x5903c8&&!_0x32c32b),_0x745582['on']('execute',()=>this['_showDialog']()),_0x54b4d7['set']({'label':y(_0x3adf3f,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x54b4d7['bind']('isEnabled')['to'](_0x4c3a13,'isReady',_0x2a87aa,'isReadOnly',(_0x13027e,_0x2e3b3a)=>_0x13027e&&!_0x2e3b3a),_0x54b4d7['on']('execute',()=>{_0x2a87aa['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3daf36['isOpen']=!0x1,_0x2a87aa['editing']['view']['focus']();}),_0x92d80f['children']['add'](_0x745582),_0x4921dd['children']['add'](_0x54b4d7),_0x218aef['role']='menu',_0x218aef['items']['addMany']([_0x92d80f,_0x4921dd]),_0x5cdc8a['add'](_0x218aef),_0x3daf36;}),_0x2a87aa['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4efac7=this['editor'],_0x40578b=_0x4efac7['locale'],_0x1a871b=new _0x5d8e4d(_0x40578b),_0x536479=new _0x56786e(_0x40578b);_0x1a871b['buttonView']['set']({'icon':_0x209ed5['history'],'label':y(_0x40578b,'Revision\x20history')});const _0x4e14b6=new _0x444935(_0x40578b,_0x1a871b),_0x170729=new _0x1623e4(_0x40578b);_0x170729['set']({'label':y(_0x40578b,'Save\x20current\x20revision')}),_0x170729['delegate']('execute')['to'](_0x1a871b),_0x170729['on']('execute',()=>{this['_showDialog']();}),_0x4e14b6['children']['add'](_0x170729),_0x536479['items']['add'](_0x4e14b6);const _0xa71cda=new _0x444935(_0x40578b,_0x1a871b),_0x53de2e=new _0x1623e4(_0x40578b);return _0x53de2e['set']({'label':y(_0x40578b,'Open\x20revision\x20history')}),_0x53de2e['delegate']('execute')['to'](_0x1a871b),_0x53de2e['on']('execute',()=>{_0x4efac7['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0xa71cda['children']['add'](_0x53de2e),_0x536479['items']['add'](_0xa71cda),_0x1a871b['panelView']['children']['add'](_0x536479),_0x1a871b;}['_showDialog'](){const _0x28cfa3=this['editor'],_0x3befc1=_0x28cfa3['locale'],_0x5a3f97=_0x28cfa3['plugins']['get']('Dialog'),_0x5cd473=_0x28cfa3['plugins']['get']('RevisionTracker');function _0x4100ef(_0x1243ab){_0x28cfa3['config']['get']('revisionHistory.requireRevisionName')&&''===_0x1243ab['revisionName']?_0x1243ab['revisionNameInputView']['errorText']=y(_0x3befc1,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x28cfa3['plugins']['get'](l)['saveRevision']({'name':_0x1243ab['revisionName']}),_0x5a3f97['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4100ef(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x5a3f97['show']({'id':'revisionSave','title':y(_0x3befc1,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x28cfa3['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x5a3f97['hide']()},{'label':y(_0x28cfa3['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x3e7dd1){_0x3e7dd1['bind']('isEnabled')['to'](_0x5cd473,'isReady',_0x5cd473,'isEnabled',_0x28cfa3,'isReadOnly',(_0x58e9a2,_0x48ad09,_0x2644a5)=>_0x58e9a2&&_0x48ad09&&!_0x2644a5);},'onExecute':()=>_0x4100ef(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x7c1d19=this['editor'],_0x2f9af8=_0x7c1d19['locale'];this['_saveRevisionFormView']=new ns(_0x2f9af8,_0x7c1d19['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x50a5ec{['changeId'];['_model'];constructor(_0x3c3697,_0x4da301){super(_0x3c3697),this['_model']=_0x4da301,this['changeId']=_0x4da301['id'];const _0x22da79=this['bindTemplate'],_0x565da7=y(_0x3c3697,_0x4da301['data']['isSuggestion']?'Suggested\x20by':'add'==_0x4da301['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x4da301['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x22da79['to']('type',_0x2768c7=>'ck-revision-change__'+_0x2768c7)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x565da7}]},{'text':'\x20'+_0x4da301['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x3ce664(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4f4b8a){super(),this['id']=_0x4f4b8a['id']||_0x303c82(),this['author']=_0x4f4b8a['author'],this['type']=_0x4f4b8a['type'],this['data']=_0x4f4b8a['data']||{},this['rootName']=_0x4f4b8a['rootName'],this['set']('createdAt',_0x4f4b8a['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(_0x4afbf5,_0x48d585){this['newRevisionId']=_0x4afbf5,this['oldRevisionId']=_0x48d585,this['changes']=new _0x2716bd();}['_setChanges'](_0x83c97f){for(const _0x33b491 of _0x83c97f)this['changes']['add'](_0x33b491);}}const tt={'c':_0x5cd050,'a':_0x4019e5,'e':_0x23fa7a,'r':_0x5971c0,'u':_0x42996e};class d extends _0x1123d9{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x21367c,_0xbac416,A];}constructor(_0x5dff1b){super(_0x5dff1b),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',(_0xda1d36,_0x2e9d90,_0x937ea9)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x466f39=>{for(const _0x4933b4 of this['editor']['editing']['view']['document']['roots'])_0x937ea9?_0x466f39['removeClass']('ck-editor__editable__overlay',_0x4933b4):_0x466f39['addClass']('ck-editor__editable__overlay',_0x4933b4);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x59f773=>null!==_0x59f773),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x47d1a3,_0x4c0fc5,_0x12f351)=>_0x47d1a3&&_0x12f351?_0x4c0fc5['changes']['getIndex'](_0x12f351):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x4045f5,_0x16eb19)=>_0x4045f5?_0x16eb19['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0xbac416);}['init'](){const _0x3e3034=this['editor'],_0x59eaf5=new yt(_0x3e3034,{'direction':'backward'}),_0x2e7feb=new yt(_0x3e3034,{'direction':'forward'});(_0x3e3034['commands']['add']('showPreviousChange',_0x59eaf5),_0x3e3034['commands']['add']('showNextChange',_0x2e7feb),_0x3e3034['commands']['add']('restoreRevision',new bt(_0x3e3034)),this['on']('change:numberOfChanges',()=>{_0x59eaf5['refresh'](),_0x2e7feb['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x3e3034['enableReadOnlyMode']('revision-viewer'),_0x3e3034['plugins']['has']('WidgetToolbarRepository'))&&_0x3e3034['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x17d128){await this['loadRevisionData'](_0x17d128);const _0xfde353={};for(const _0x321e0e in _0x17d128['diffData']){if(_0x17d128['diffData'][_0x321e0e]['attachChange']&&!_0x17d128['diffData'][_0x321e0e]['attachChange']['isAttached'])continue;const _0x4937a4=this['_removeRevisionMarkers'](JSON['parse'](_0x17d128['diffData'][_0x321e0e]['insertions'])),_0x4cc5d8=this['editor']['editing']['view']['document'],_0x43556f=new _0x402ec4(_0x4cc5d8,_0x4937a4['map'](_0x30a074=>this['_getViewObj'](_0x30a074)));this['editor']['data']['processor']['useFillerType']('marked'),_0xfde353[_0x321e0e]=this['editor']['data']['processor']['toData'](_0x43556f),this['editor']['data']['processor']['useFillerType']('default');}return _0xfde353;}async['getRevisionRootsAttributes'](_0x35f026){await this['loadRevisionData'](_0x35f026);const _0x1d5219={};for(const _0x4c4ed3 in _0x35f026['diffData'])_0x35f026['diffData'][_0x4c4ed3]['attachChange']&&!_0x35f026['diffData'][_0x4c4ed3]['attachChange']['isAttached']||(_0x1d5219[_0x4c4ed3]=_0x35f026['diffData'][_0x4c4ed3]['attributesAfter']||{});return _0x1d5219;}['_removeRevisionMarkers'](_0x2a043b){return(_0x2a043b=_0x2a043b['filter'](_0x394008=>!_0x394008['name']||'revision-start'!==_0x394008['name']&&'revision-end'!==_0x394008['name']))['forEach'](_0x181bfd=>{'string'!=typeof _0x181bfd&&(_0x181bfd['children']=this['_removeRevisionMarkers'](_0x181bfd['children']),_0x181bfd['attributes']=_0x181bfd['attributes']['filter'](_0xb2f340=>!_0xb2f340[0x0]['startsWith']('data-revision-')));}),_0x2a043b;}async['compare'](_0x53d55d,_0x3d4c82,_0x2aa871=!0x1){if(!this['isEnabled'])return;const _0x3f02bf=this['diff'],_0x14b882=this['repository'],_0x49cf58='string'==typeof _0x53d55d?_0x14b882['getRevision'](_0x53d55d):_0x53d55d,_0x46af35='string'==typeof _0x3d4c82?_0x14b882['getRevision'](_0x3d4c82):_0x3d4c82,_0xdd9469=_0x49cf58['id'],_0x140749=_0x46af35?_0x46af35['id']:null;if(!_0x2aa871&&this['diff']&&this['diff']['newRevisionId']===_0xdd9469&&this['diff']['oldRevisionId']===_0x140749)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0xdd9469,_0x140749);const _0x3b1568=this['_getRevisionsRange'](_0x49cf58,_0x46af35,!0x0)['map'](_0x1a8906=>this['loadRevisionData'](_0x1a8906));return _0x3b1568['push'](new Promise(_0x3dcb3c=>{setTimeout(_0x3dcb3c,0x14);})),Promise['all'](_0x3b1568)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0xb1b0a1=this['_getDiff'](_0xdd9469,_0x140749);for(const _0x17c4d3 of _0xb1b0a1['changes'])this['_changeIdToChange']['set'](_0x17c4d3['id'],_0x17c4d3);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1ec6e1=>{for(const _0x245057 of this['editor']['model']['document']['getRootNames']())_0x1ec6e1['detachRoot'](_0x245057);for(const _0x37bbd9 of Object['keys'](_0xb1b0a1['model'])){const _0x3052ad=_0x1ec6e1['addRoot'](_0x37bbd9);for(const _0x3888a6 of Object['keys'](_0xb1b0a1['attributes'][_0x37bbd9]))_0x1ec6e1['setAttribute'](_0x3888a6,_0xb1b0a1['attributes'][_0x37bbd9][_0x3888a6],_0x3052ad);_0x1ec6e1['insert'](_0xb1b0a1['model'][_0x37bbd9],_0x3052ad,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0xb1b0a1['changes'])),this['isReady']=!0x0;})['catch'](_0x578cfc=>{console['error'](_0x578cfc),this['_cleanUp'](),_0x3f02bf&&(this['diff']=_0x3f02bf),this['isReady']=!0x0;});}['addRevisionData'](_0x2ee672,_0x5e7f10){const _0x4ac975=this['repository']['createRevision'](_0x2ee672);return _0x4ac975['on']('_update',(_0x12993c,_0x11aa8a,_0x2af952)=>_0x5e7f10(_0x11aa8a,_0x2af952,_0x4ac975)),this['repository']['addRevision'](_0x4ac975),_0x4ac975;}['loadRevisionData'](_0x470682){if(!_0x470682||_0x470682['diffData'])return Promise['resolve']();{const _0x942cad=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x942cad,'revisionId':_0x470682['id']})['then'](_0x2d92c9=>{_0x470682['_update']({'diffData':_0x2d92c9['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},_0x13df29=>{for(const _0x47e12f of this['editor']['model']['document']['getRootNames']())_0x13df29['detachRoot'](_0x47e12f);});}['_sortAndFilterDiffChanges'](_0x51c7ba){const _0x4ffb12=[],_0xf14cd8=new Map();for(const _0x1c7756 of this['editor']['model']['document']['getRootNames']()){const _0x3de1e5=this['editor']['editing']['view']['getDomRoot'](_0x1c7756);if(!_0x3de1e5)continue;const _0x446ddc=_0x3de1e5['getClientRects']()['item'](0x0);_0x446ddc&&(_0x4ffb12['push'](_0x1c7756),_0xf14cd8['set'](_0x1c7756,_0x446ddc));}return _0x4ffb12['sort']((_0x14a50f,_0x1749f1)=>{const _0x26d4c0=_0xf14cd8['get'](_0x14a50f),_0x3e0624=_0xf14cd8['get'](_0x1749f1);return _0x26d4c0['y']-_0x3e0624['y']||_0x26d4c0['x']-_0x3e0624['x'];}),(_0x51c7ba=_0x51c7ba['filter'](_0x5dcbfe=>_0x4ffb12['includes'](_0x5dcbfe['rootName'])))['sort']((_0x31488c,_0x3fd730)=>_0x4ffb12['indexOf'](_0x31488c['rootName'])-_0x4ffb12['indexOf'](_0x3fd730['rootName'])),_0x51c7ba;}['_makeTape'](_0x54c8aa){const _0x264732=Array['from'](_0x54c8aa['markers'])['filter'](([_0x1dce0f,_0x5e0df6])=>_0x1dce0f['startsWith']('revision:')&&!_0x5e0df6['isCollapsed']),_0x56a981=Array['from'](this['editor']['model']['createRangeIn'](_0x54c8aa)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x264732['length'])for(const _0x2fcde8 of _0x56a981){const [_0x4c5a92,_0x385e9b]=_0x264732[0x0],[,_0x160af4,_0x2dd49c]=_0x4c5a92['split'](':');if(_0x385e9b['end']['isEqual'](_0x2fcde8['nextPosition'])&&_0x264732['shift'](),(_0x2fcde8['previousPosition']['isEqual'](_0x385e9b['start'])||_0x2fcde8['previousPosition']['isAfter'](_0x385e9b['start']))&&('insertion'==_0x160af4?_0x2fcde8['isAdded']={'userId':_0x2dd49c}:'deletion'==_0x160af4&&(_0x2fcde8['isRemoved']={'userId':_0x2dd49c})),0x0==_0x264732['length'])break;}return _0x56a981;}['_refreshStartEndIndex'](_0x36b094){const _0x1f63a8=new Map();for(let _0x238e85=0x0;_0x238e85<_0x36b094['length'];_0x238e85++)'text'===_0x36b094[_0x238e85]['type']?(_0x36b094[_0x238e85]['item']['startIndex']=_0x238e85,_0x36b094[_0x238e85]['item']['endIndex']=_0x238e85):('elementStart'===_0x36b094[_0x238e85]['type']?_0x36b094[_0x238e85]['item']['startIndex']=_0x238e85:'elementEnd'===_0x36b094[_0x238e85]['type']&&(_0x36b094[_0x238e85]['item']['endIndex']=_0x238e85),_0x1f63a8['set'](_0x36b094[_0x238e85]['id'],_0x238e85));for(const _0x2e5396 of _0x1f63a8['values']())'elementStart'===_0x36b094[_0x2e5396]['type']?_0x36b094[_0x2e5396]['item']['endIndex']=_0x1f63a8['get'](_0x36b094[_0x2e5396]['pairId']):'elementEnd'===_0x36b094[_0x2e5396]['type']&&(_0x36b094[_0x2e5396]['item']['startIndex']=_0x1f63a8['get'](_0x36b094[_0x2e5396]['pairId']));}['_processTape'](_0x1e70ed){for(let _0x2c52ce=0x0;_0x2c52ce<_0x1e70ed['length'];_0x2c52ce++){if('elementStart'===_0x1e70ed[_0x2c52ce]['type'])_0x1e70ed[_0x2c52ce]['item']['startIndex']=_0x2c52ce;else{if('elementEnd'===_0x1e70ed[_0x2c52ce]['type']){_0x1e70ed[_0x2c52ce]['item']['endIndex']=_0x2c52ce;const _0x13b662=_0x1e70ed[_0x2c52ce]['item']['startIndex'];_0x1e70ed[_0x13b662]['pairId']=_0x1e70ed[_0x2c52ce]['id'],_0x1e70ed[_0x2c52ce]['pairId']=_0x1e70ed[_0x13b662]['id'];}else _0x1e70ed[_0x2c52ce]['item']['startIndex']=_0x2c52ce,_0x1e70ed[_0x2c52ce]['item']['endIndex']=_0x2c52ce,_0x1e70ed[_0x2c52ce]['pairId']=null;}_0x1e70ed[_0x2c52ce]['markersStart']||(_0x1e70ed[_0x2c52ce]['markersStart']=[],_0x1e70ed[_0x2c52ce]['markersEnd']=[]);}}['_markInsertions'](_0xc2287e,_0x4ce5e1){const _0x4627b1=_0xc2287e['filter'](_0x2109fe=>!_0x2109fe['isAdded']);for(let _0x1d7a09=0x0;_0x1d7a09<_0x4ce5e1['length'];_0x1d7a09++)_0x4ce5e1[_0x1d7a09]['isAdded']&&(_0x4627b1[_0x1d7a09]['isAdded']=_0x4ce5e1[_0x1d7a09]['isAdded']);}['_makeModelFromViewString'](_0x2eabd2){const _0x5ee57f=JSON['parse'](_0x2eabd2),_0x327277=this['editor']['editing']['view']['document'],_0x2af491=new _0x402ec4(_0x327277,_0x5ee57f['map'](_0x2ee0b0=>this['_getViewObj'](_0x2ee0b0)));return this['editor']['data']['toModel'](_0x2af491);}['_getViewObj'](_0xa48628){const _0x2966e4=this['editor']['editing']['view']['document'];if('string'==typeof _0xa48628)return new _0x3baa24(_0x2966e4,_0xa48628);{const _0x150aed=_0xa48628['children']['map'](_0x256f96=>this['_getViewObj'](_0x256f96));return new(tt[_0xa48628['type']]||_0x34f0e4)(_0x2966e4,_0xa48628['name'],_0xa48628['attributes'],_0x150aed);}}['_getDiff'](_0x293c48,_0x2f6eac=null){const _0x1fc37f=this['repository']['getRevision'](_0x293c48),_0x369510=_0x2f6eac?this['repository']['getRevision'](_0x2f6eac):null,_0x4b2c32=this['_getRevisionsRange'](_0x1fc37f,_0x369510),_0x48f10a=_0x4b2c32[_0x4b2c32['length']-0x1],_0x274889=new Map(),_0x313d9b={'model':{},'attributes':{},'changes':[]},_0x59d198=new Set(),_0x172d54=new Map();for(let _0x17186f=_0x4b2c32['length']-0x1;_0x17186f>=0x0;_0x17186f--){const _0x97bf44=_0x4b2c32[_0x17186f];for(const _0x1106bd of Object['keys'](_0x97bf44['diffData']))if(_0x97bf44['diffData'][_0x1106bd]['attachChange']){const _0x6e353c=_0x97bf44['diffData'][_0x1106bd]['attachChange'];_0x6e353c['isAttached']?(_0x59d198['add'](_0x1106bd),_0x172d54['has'](_0x1106bd)&&_0x172d54['get'](_0x1106bd)['userId']==_0x6e353c['userId']?_0x172d54['delete'](_0x1106bd):_0x172d54['set'](_0x1106bd,_0x6e353c)):_0x172d54['has'](_0x1106bd)?(_0x59d198['delete'](_0x1106bd),_0x172d54['delete'](_0x1106bd)):(_0x59d198['add'](_0x1106bd),_0x172d54['set'](_0x1106bd,_0x6e353c));}else _0x59d198['add'](_0x1106bd);}for(const _0x12852b of _0x59d198){const _0x5f1bfc=_0x172d54['has'](_0x12852b)&&!_0x172d54['get'](_0x12852b)['isAttached'];let _0x19b75b=_0x5f1bfc?_0x4b2c32['length']-0x1:0x0;const _0x226e9f=_0x5f1bfc?-0x1:0x1;for(;_0x4b2c32[_0x19b75b];){const _0xc69e92=_0x4b2c32[_0x19b75b];if(_0xc69e92['diffData'][_0x12852b]){const _0x549ac9=_0x5f1bfc?_0xc69e92['diffData'][_0x12852b]['attributesBefore']:_0xc69e92['diffData'][_0x12852b]['attributesAfter'];_0x313d9b['attributes'][_0x12852b]=_0x549ac9?_0x4c9fb9(_0x549ac9):{};break;}_0x19b75b+=_0x226e9f;}}for(const _0x288610 of _0x4b2c32){_0x288610['model']={};for(const _0x3a3ce0 of _0x288610['authors'])_0x274889['set'](_0x3a3ce0['id'],_0x3a3ce0);for(const _0x26f2d8 of _0x59d198){const _0x4b7d08=_0x288610['diffData'][_0x26f2d8]?_0x288610['diffData'][_0x26f2d8]['insertions']:'[]',_0x15e755=_0x288610['diffData'][_0x26f2d8]?_0x288610['diffData'][_0x26f2d8]['deletions']:'[]';_0x288610['model'][_0x26f2d8]={'insertions':this['_makeModelFromViewString'](_0x4b7d08),'deletions':this['_makeModelFromViewString'](_0x15e755)};}}for(const _0x11b780 of _0x59d198){let _0x4881fc=null,_0x392a6a=0x0;const _0x1ec460=new Map(Array['from'](_0x1fc37f['model'][_0x11b780]['insertions']['markers'])['filter'](([_0x490a53])=>!_0x490a53['startsWith']('revision:')));let _0x4aa6e1=0x0;for(const _0x1f7af8 of _0x4b2c32){const _0x8e7355=this['_makeTape'](_0x1f7af8['model'][_0x11b780]['insertions']);_0x1f7af8==_0x1fc37f?(_0x4881fc=_0x8e7355,_0x392a6a=_0x4881fc['length'],_0x4881fc['forEach'](_0x4e1695=>{_0x4e1695['id']=_0x4aa6e1++;}),this['_processTape'](_0x4881fc)):this['_markInsertions'](_0x4881fc,_0x8e7355);const _0x82d032=_0x4881fc['filter'](_0x235bdc=>!_0x235bdc['isAdded'])['map'](_0x47c7ae=>_0x47c7ae['id']);let _0xabd74e=0x0;const _0x43107e=this['_makeTape'](_0x1f7af8['model'][_0x11b780]['deletions']);_0x43107e['forEach'](_0x59d52e=>{_0x59d52e['isRemoved']?_0x59d52e['id']=_0x392a6a++:_0x59d52e['id']=_0x82d032[_0xabd74e++];}),this['_processTape'](_0x43107e),this['_setDistance'](_0x4881fc,'isAdded'),this['_setDistance'](_0x43107e,'isRemoved'),_0x1f7af8==_0x1fc37f&&this['_markMarkers'](_0x4881fc,_0x1ec460),_0x4881fc=this['_joinTapes'](_0x4881fc,_0x43107e),this['_refreshStartEndIndex'](_0x4881fc),this['_setDistance'](_0x4881fc,'isRemoved');}_0x4881fc=_0x4881fc['filter'](_0x4e765f=>!(_0x4e765f['isAdded']&&_0x4e765f['isRemoved']));const _0x50ceed=new Map(_0x48f10a['model'][_0x11b780]['deletions']['markers']),_0x5117e2=new Set(_0x1ec460['keys']());for(const _0x117a89 of _0x50ceed['keys']())_0x5117e2['delete'](_0x117a89);this['_markSuggestions'](_0x4881fc,_0x5117e2),this['_fixObsoleteTags'](_0x4881fc),_0x4881fc=this['_removeMissingPairs'](_0x4881fc),_0x4881fc=this['_markMismatchedRemovedTags'](_0x4881fc),_0x4881fc=this['_removeUnsupportedChanges'](_0x4881fc);const {root:_0x45b2af,changes:_0x331523}=this['_makeModelFromTape'](_0x4881fc,_0x274889,_0x11b780);_0x313d9b['model'][_0x11b780]=_0x45b2af;const _0x5a7725=_0x172d54['get'](_0x11b780);if(_0x5a7725){const _0x31f37a=_0x274889['get'](_0x5a7725['userId']),_0xbf3661=new r({'author':_0x31f37a,'type':_0x5a7725['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x11b780});_0x331523['unshift'](_0xbf3661),_0x313d9b['attributes'][_0x11b780]['revisionHistoryAttachChange']=_0xbf3661['id'];}_0x313d9b['changes']=_0x313d9b['changes']['concat'](_0x331523);}return _0x313d9b;}['_markMarkers'](_0x2e5155,_0x68cc3e){for(let _0x5c3f2e=0x0;_0x5c3f2e<_0x2e5155['length'];_0x5c3f2e++)for(const [_0x17c1c8,_0x47b06b]of _0x68cc3e)_0x47b06b['start']['isEqual'](_0x2e5155[_0x5c3f2e]['previousPosition'])&&_0x2e5155[_0x5c3f2e]['markersStart']['push'](_0x17c1c8),_0x47b06b['end']['isEqual'](_0x2e5155[_0x5c3f2e]['nextPosition'])&&_0x2e5155[_0x5c3f2e]['markersEnd']['push'](_0x17c1c8);}['_joinTapes'](_0x48966b,_0x1bfb7b){let _0x26a787=[],_0x5744ae=0x0,_0x4d934c=0x0;for(;_0x5744ae<_0x48966b['length']||_0x4d934c<_0x1bfb7b['length'];){const _0x5527c0=_0x48966b[_0x5744ae]||{},_0x505ccc=_0x1bfb7b[_0x4d934c]||{};if(_0x5527c0['id']==_0x505ccc['id'])_0x5744ae++,_0x4d934c++,_0x26a787['push'](_0x5527c0);else{if(_0x505ccc['isRemoved']&&_0x5527c0['isAdded']){const {commonTape:_0x64944,iEnd:_0x1ba164,jEnd:_0x49be35}=this['_threeWayMerge'](_0x48966b,_0x5744ae,_0x1bfb7b,_0x4d934c);_0x26a787=_0x26a787['concat'](_0x64944),_0x5744ae=_0x1ba164,_0x4d934c=_0x49be35;}else _0x505ccc['isRemoved']?(_0x4d934c++,_0x26a787['push'](_0x505ccc)):(_0x5744ae++,_0x26a787['push'](_0x5527c0));}}return _0x26a787;}['_markSuggestions'](_0x764a2,_0x291a13){const _0x4107fb=[];for(let _0x4a52ec=0x0;_0x4a52ec<_0x764a2['length'];_0x4a52ec++){for(let _0x459b31=0x0;_0x459b31<_0x764a2[_0x4a52ec]['markersStart']['length'];_0x459b31++){const _0x1b6839=_0x764a2[_0x4a52ec]['markersStart'][_0x459b31];if(!_0x291a13['has'](_0x1b6839))continue;const {group:_0x232fe0,type:_0x428f61,authorId:_0x50c1f1}=_0x3bec04(_0x1b6839);'revision-suggestion'!=_0x232fe0||'insertion'!=_0x428f61&&'deletion'!=_0x428f61||(_0x4107fb['unshift']({'type':_0x428f61,'name':_0x1b6839,'userId':_0x50c1f1}),_0x764a2[_0x4a52ec]['markersStart']['splice'](_0x459b31,0x1),_0x459b31--);}_0x458a8b(_0x764a2[_0x4a52ec]);for(let _0x732a61=0x0;_0x732a61<_0x764a2[_0x4a52ec]['markersEnd']['length'];_0x732a61++){const _0x3059f4=_0x764a2[_0x4a52ec]['markersEnd'][_0x732a61];if(!_0x291a13['has'](_0x3059f4))continue;const {group:_0x27f297,type:_0x54371e}=_0x3bec04(_0x3059f4);if('revision-suggestion'!=_0x27f297||'insertion'!=_0x54371e&&'deletion'!=_0x54371e)continue;_0x764a2[_0x4a52ec]['markersEnd']['splice'](_0x732a61,0x1),_0x732a61--;const _0x346c17=_0x4107fb['findIndex'](_0x29e1ef=>_0x29e1ef['name']==_0x3059f4);_0x346c17>-0x1&&_0x4107fb['splice'](_0x346c17,0x1);}}function _0x3bec04(_0x49891b){const _0x164080=_0x49891b['split'](':');return{'group':_0x164080[0x0],'type':_0x164080[0x1],'subType':_0x164080['length']>=0x5?_0x164080[0x2]:null,'id':_0x164080['length']<0x5?_0x164080[0x2]:_0x164080[0x3],'authorId':_0x164080['length']<0x5?_0x164080[0x3]:_0x164080[0x4],'markerCount':0x6==_0x164080['length']?_0x164080[0x5]:null};}function _0x458a8b(_0x5faebe){for(let _0x46eea8=0x0;_0x46eea8<_0x4107fb['length'];_0x46eea8++){if(_0x5faebe['isAdded']&&'insertion'==_0x4107fb[_0x46eea8]['type'])return _0x5faebe['isAddSuggestion']=_0x4107fb[_0x46eea8],void delete _0x5faebe['isAdded'];if(!_0x5faebe['isAdded']&&!_0x5faebe['isRemoved']&&'deletion'==_0x4107fb[_0x46eea8]['type'])return void(_0x5faebe['isRemoveSuggestion']=_0x4107fb[_0x46eea8]);}}}['_setDistance'](_0x27336d,_0x597912){let _0x306b3b=0x0,_0x741a38=!0x1;const _0x5e9023=new Map();for(const _0x3a5121 of _0x27336d)_0x3a5121[_0x597912]?_0x741a38&&(_0x306b3b++,_0x741a38=!0x1):(_0x306b3b++,_0x741a38=!0x0),_0x5e9023['set'](_0x3a5121['id'],_0x306b3b);for(let _0x5ed8fd=0x0;_0x5ed8fd<_0x27336d['length'];_0x5ed8fd++){if('isRemoved'==_0x597912&&_0x27336d[_0x5ed8fd]['isAdded']||'isAdded'==_0x597912&&_0x27336d[_0x5ed8fd]['isRemoved'])continue;if('text'==_0x27336d[_0x5ed8fd]['type']){_0x27336d[_0x5ed8fd]['distance']=0x0;continue;}const _0x5095f1=_0x5e9023['get'](_0x27336d[_0x5ed8fd]['pairId']),_0x11bdef=_0x5e9023['get'](_0x27336d[_0x5ed8fd]['id']);_0x27336d[_0x5ed8fd]['distance']=_0x5095f1-_0x11bdef;}}['_getRevisionsRange'](_0x23c3d7,_0x37cfb2,_0x1f5233=!0x1){const _0x23fef8=[];let _0x153316=this['repository']['getIndex'](_0x23c3d7),_0x8b7e0f=this['repository']['getIndex'](_0x37cfb2);for(-0x1==_0x8b7e0f&&(_0x8b7e0f=this['repository']['_revisions']['length'],_0x1f5233=!0x1);_0x153316<_0x8b7e0f;)_0x23fef8['push'](this['repository']['getRevision'](_0x153316)),_0x153316++;return _0x1f5233&&_0x23fef8['push'](this['repository']['getRevision'](_0x153316)),_0x23fef8;}['_threeWayMerge'](_0x11b998,_0x245334,_0x292949,_0x540505){const _0x44008e=this['editor']['model']['schema'];let _0x2fb277=_0x245334;for(;_0x11b998[_0x2fb277]&&_0x11b998[_0x2fb277]['isAdded'];)_0x2fb277++;let _0x58ac31=_0x540505;for(;_0x292949[_0x58ac31]&&_0x292949[_0x58ac31]['isRemoved'];)_0x58ac31++;_0x2d956d(_0x11b998,_0x245334,_0x2fb277),_0x2d956d(_0x292949,_0x540505,_0x58ac31);const _0x22e75b=_0x292949['slice'](_0x540505,_0x58ac31)['concat'](_0x11b998['slice'](_0x245334,_0x2fb277));return _0x22e75b['sort']((_0x2f9514,_0x4a6b34)=>_0x2f9514['side']!=_0x4a6b34['side']?_0x2f9514['side']-_0x4a6b34['side']:_0x2f9514['level']!=_0x4a6b34['level']?_0x2f9514['level']-_0x4a6b34['level']:_0x2f9514['distance']!=_0x4a6b34['distance']?_0x4a6b34['distance']-_0x2f9514['distance']:!!_0x2f9514['isAdded']!=!!_0x4a6b34['isAdded']?-0x1==_0x2f9514['side']||0x0==_0x2f9514['side']?_0x2f9514['isAdded']?-0x1:0x1:_0x2f9514['isAdded']?0x1:-0x1:_0x2f9514['index']-_0x4a6b34['index']),{'commonTape':_0x22e75b,'iEnd':_0x2fb277,'jEnd':_0x58ac31};function _0x2d956d(_0x27e627,_0x3ab7f4,_0x4614c5){let _0xbebd9f=-0x1,_0x33c92a=Number['POSITIVE_INFINITY'],_0x508a4a=!0x0;for(let _0x34be14=_0x3ab7f4;_0x34be14<_0x4614c5;_0x34be14++)if(_0x44008e['isInline'](_0x27e627[_0x34be14]['item'])||(_0x508a4a=!0x1),_0x27e627[_0x34be14]['item']['startIndex']<_0x3ab7f4&&(_0xbebd9f=_0x34be14),_0x27e627[_0x34be14]['item']['endIndex']>=_0x4614c5){_0x33c92a=_0x34be14;break;}_0x508a4a&&(_0xbebd9f=_0x4614c5-0x1);for(let _0x2eb85c=_0x3ab7f4;_0x2eb85c<_0x4614c5;_0x2eb85c++)_0x27e627[_0x2eb85c]['side']=_0x2eb85c<=_0xbebd9f?-0x1:_0x2eb85c<_0x33c92a?0x0:0x1,_0x27e627[_0x2eb85c]['index']=_0x2eb85c;let _0x579312=0x0;for(let _0x577fc9=_0x3ab7f4;_0x577fc9<=_0xbebd9f;_0x577fc9++)0x0==_0x27e627[_0x577fc9]['distance']?_0x27e627[_0x577fc9]['level']=_0x579312:(_0x579312++,_0x27e627[_0x577fc9]['level']=_0x579312,_0x579312++);for(let _0x5e37da=_0x3ab7f4;_0x5e37da<_0x4614c5;_0x5e37da++)0x0==_0x27e627[_0x5e37da]['side']&&(_0x27e627[_0x5e37da]['level']=_0x579312);_0x579312=0x0;for(let _0x3ce27d=_0x4614c5-0x1;_0x3ce27d>=_0x33c92a;_0x3ce27d--)0x0==_0x27e627[_0x3ce27d]['distance']?_0x27e627[_0x3ce27d]['level']=_0x579312:(_0x579312--,_0x27e627[_0x3ce27d]['level']=_0x579312,_0x579312--);}}['_fixObsoleteTags'](_0x55b44f){const _0x4744a2=new Map(),_0x2f3a60=this['editor']['model']['schema'];for(let _0xaa365b=0x1;_0xaa365b<_0x55b44f['length'];_0xaa365b++){let _0x452c4c,_0x235379,_0x2b47e7;const _0x3269e2=_0x55b44f[_0xaa365b],_0x3ebb0e=_0x55b44f[_0xaa365b-0x1];if('text'==_0x3269e2['type'])continue;if(_0x3269e2['type']!=_0x3ebb0e['type'])continue;if(!_0x2f3a60['isBlock'](_0x3ebb0e['item'])||_0x2f3a60['isLimit'](_0x3ebb0e['item']))continue;if(!_0x2f3a60['isBlock'](_0x3269e2['item'])||_0x2f3a60['isLimit'](_0x3269e2['item']))continue;if((_0x55b44f[_0xaa365b]['isAdded']||_0x55b44f[_0xaa365b]['isAddSuggestion'])&&_0x55b44f[_0xaa365b-0x1]['isRemoved'])_0x452c4c=_0x55b44f[_0xaa365b],_0x235379=_0x55b44f[_0xaa365b-0x1],_0x2b47e7=_0xaa365b-0x1;else{if(!_0x55b44f[_0xaa365b]['isRemoved']||!_0x55b44f[_0xaa365b-0x1]['isAdded']&&!_0x55b44f[_0xaa365b-0x1]['isAddSuggestion'])continue;_0x452c4c=_0x55b44f[_0xaa365b-0x1],_0x235379=_0x55b44f[_0xaa365b],_0x2b47e7=_0xaa365b;}const _0x110d8c=_0x452c4c['level']==_0x235379['level'],_0xc5a8d=Math['abs'](_0x452c4c['level'])<Math['abs'](_0x235379['level'])&&0x0==_0x235379['distance'];(_0x110d8c||_0xc5a8d)&&(_0x4744a2['set'](_0x235379['id'],_0x452c4c['id']),_0x55b44f['splice'](_0x2b47e7,0x1),_0xaa365b--,_0x452c4c['isAdded']=!0x1);}for(let _0x4f3291=0x0;_0x4f3291<_0x55b44f['length'];_0x4f3291++)_0x4744a2['has'](_0x55b44f[_0x4f3291]['pairId'])&&(_0x55b44f[_0x4f3291]['pairId']=_0x4744a2['get'](_0x55b44f[_0x4f3291]['pairId']));}['_removeMissingPairs'](_0x1773d8){const _0x3782ec=new Set(_0x1773d8['map'](_0x12a60d=>_0x12a60d['id']));for(let _0x3c7900=0x0;_0x3c7900<_0x1773d8['length'];_0x3c7900++)_0x3782ec['has'](_0x1773d8[_0x3c7900]['pairId'])||0x0==_0x1773d8[_0x3c7900]['distance']||(_0x1773d8[_0x3c7900]['isIncorrect']=!0x0);return _0x1773d8['filter'](_0x5b95d8=>!_0x5b95d8['isIncorrect']);}['_markMismatchedRemovedTags'](_0x490cbc){const _0x514e6b=new Set();for(let _0xf8d3d1=0x0;_0xf8d3d1<_0x490cbc['length'];_0xf8d3d1++){if(_0x514e6b['has'](_0x490cbc[_0xf8d3d1]['id'])&&_0x490cbc[_0xf8d3d1]['isRemoved']&&(_0x490cbc[_0xf8d3d1]['isIncorrect']=!0x0),_0x490cbc[_0xf8d3d1]['isIncorrect'])continue;if(0x0==_0x490cbc[_0xf8d3d1]['distance'])continue;if('elementStart'!=_0x490cbc[_0xf8d3d1]['type'])continue;if(null==_0x490cbc[_0xf8d3d1]['pairId'])continue;let _0x35e09d=_0xf8d3d1+0x1,_0x3050b2=0x0;for(;_0x490cbc[_0x35e09d]['id']!=_0x490cbc[_0xf8d3d1]['pairId'];)'elementStart'==_0x490cbc[_0x35e09d]['type']?_0x3050b2++:'elementEnd'==_0x490cbc[_0x35e09d]['type']&&_0x3050b2--,_0x35e09d++;if(0x0!=_0x3050b2){if(_0x490cbc[_0xf8d3d1]['isRemoved'])_0x490cbc[_0xf8d3d1]['isIncorrect']=!0x0;else{for(;_0x35e09d!=_0xf8d3d1;)_0x490cbc[_0x35e09d]['isRemoved']&&0x0!=_0x490cbc[_0x35e09d]['distance']&&(_0x490cbc[_0x35e09d]['isIncorrect']=!0x0,_0x514e6b['add'](_0x490cbc[_0x35e09d]['pairId'])),_0x35e09d--;}}}return _0x490cbc['filter'](_0x23b865=>!_0x23b865['isIncorrect']);}['_removeUnsupportedChanges'](_0x493f28){const _0x40a514=this['editor']['model']['schema'];for(let _0x41e605=0x0;_0x41e605<_0x493f28['length'];_0x41e605++){if(!(_0x493f28[_0x41e605]['isAdded']||_0x493f28[_0x41e605]['isAddSuggestion']||_0x493f28[_0x41e605]['isRemoved']||_0x493f28[_0x41e605]['isRemoveSuggestion']))continue;if(0x0==_0x493f28[_0x41e605]['distance'])continue;const _0x1e5487=_0x493f28[_0x41e605]['item'];_0x40a514['isBlock'](_0x1e5487)||_0x40a514['isLimit'](_0x1e5487)||(_0x493f28[_0x41e605]['isAdded']&&delete _0x493f28[_0x41e605]['isAdded'],_0x493f28[_0x41e605]['isAddSuggestion']&&delete _0x493f28[_0x41e605]['isAddSuggestion'],_0x493f28[_0x41e605]['isRemoveSuggestion']&&delete _0x493f28[_0x41e605]['isRemoveSuggestion'],_0x493f28[_0x41e605]['isRemoved']&&(_0x493f28[_0x41e605]['isIncorrect']=!0x0));}return _0x493f28['filter'](_0x14591c=>!_0x14591c['isIncorrect']);}['_makeModelFromTape'](_0x3fcfcb,_0x2f9a9b,_0x55d653){const _0x4df7c5=new wt(),_0x401f7f=[],_0x74d079=new Map(),_0x5e2a9b=this['editor']['model'],_0x2dd293=_0x5e2a9b['schema'],_0x3683d4=[_0x4df7c5],_0x1ac4e8={},_0x4c989d={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x203f34=null;const _0x27aad2=[0x0];for(let _0x2aff44=0x0;_0x2aff44<_0x3fcfcb['length'];_0x2aff44++){let _0x3f94d8,_0x387d72;if('elementStart'===_0x3fcfcb[_0x2aff44]['type']){_0x3f94d8=_0x5e2a9b['createPositionFromPath'](_0x4df7c5,_0x27aad2);const _0x59a24b=new ft(_0x3fcfcb[_0x2aff44]['item']['name'],_0x3fcfcb[_0x2aff44]['item']['getAttributes']());_0x3683d4[0x0]['_appendChild'](_0x59a24b),_0x27aad2['push'](0x0),_0x3683d4['unshift'](_0x59a24b),_0x387d72=_0x5e2a9b['createPositionFromPath'](_0x4df7c5,_0x27aad2),_0x203f34=null;}else{if('elementEnd'===_0x3fcfcb[_0x2aff44]['type'])_0x3683d4['shift'](),_0x3f94d8=_0x5e2a9b['createPositionFromPath'](_0x4df7c5,_0x27aad2),_0x27aad2['pop'](),_0x27aad2[_0x27aad2['length']-0x1]++,_0x387d72=_0x5e2a9b['createPositionFromPath'](_0x4df7c5,_0x27aad2),_0x203f34=null;else{if(_0x3f94d8=_0x5e2a9b['createPositionFromPath'](_0x4df7c5,_0x27aad2),_0x203f34&&_0x1d9356(_0x203f34,_0x3fcfcb[_0x2aff44]['item']))_0x203f34['_data']+=_0x3fcfcb[_0x2aff44]['item']['data'];else{const _0x421039=new _t(_0x3fcfcb[_0x2aff44]['item']['data'],_0x3fcfcb[_0x2aff44]['item']['getAttributes']());_0x3683d4[0x0]['_appendChild'](_0x421039),_0x203f34=_0x421039;}_0x27aad2[_0x27aad2['length']-0x1]+=_0x3fcfcb[_0x2aff44]['item']['offsetSize'],_0x387d72=_0x5e2a9b['createPositionFromPath'](_0x4df7c5,_0x27aad2);}}for(const _0x41ab8c of _0x3fcfcb[_0x2aff44]['markersStart'])_0x74d079['set'](_0x41ab8c,{'start':_0x3f94d8,'end':null});_0x4bb646('isRemoveSuggestion',_0x2aff44,_0x3f94d8,_0x387d72),_0x4bb646('isAddSuggestion',_0x2aff44,_0x3f94d8,_0x387d72),_0x4bb646('isRemoved',_0x2aff44,_0x3f94d8,_0x387d72),_0x4bb646('isAdded',_0x2aff44,_0x3f94d8,_0x387d72);for(const _0x68e987 of _0x3fcfcb[_0x2aff44]['markersEnd']){_0x74d079['get'](_0x68e987)['end']=_0x387d72;}}for(const [_0x2eb226,_0x19a824]of _0x74d079){const _0x54dfec=this['editor']['model']['createRange'](_0x19a824['start'],_0x19a824['end']);_0x4df7c5['markers']['set'](_0x2eb226,_0x54dfec);}return _0x401f7f['sort']((_0x321a17,_0x41b380)=>{const _0x3ae40b=_0x4df7c5['markers']['get']('revision:'+_0x321a17['id']),_0x154b72=_0x4df7c5['markers']['get']('revision:'+_0x41b380['id']);return _0x3ae40b['start']['isBefore'](_0x154b72['start'])?-0x1:_0x3ae40b['start']['isAfter'](_0x154b72['start'])?0x1:_0x3ae40b['end']['isBefore'](_0x154b72['end'])?-0x1:_0x3ae40b['end']['isAfter'](_0x154b72['end'])?0x1:'add'===_0x321a17['type']?-0x1:0x1;}),{'root':_0x4df7c5,'changes':_0x401f7f};function _0x4bb646(_0x5a37a7,_0x51567b,_0x10938c,_0x3522db){const _0x20aa2d=!!_0x3fcfcb[_0x51567b][_0x5a37a7],_0x585160=_0x20aa2d?_0x3fcfcb[_0x51567b][_0x5a37a7]['userId']:null,_0x50352a=_0x51567b===_0x3fcfcb['length']-0x1,_0x3d50c5=_0x4c989d[_0x5a37a7][0x0],_0x1a7efc=_0x2dd293['isObject'](_0x3fcfcb[_0x51567b]['item']);!_0x1ac4e8[_0x5a37a7]&&_0x20aa2d?_0x1ac4e8[_0x5a37a7]={'start':_0x10938c,'tapeItem':_0x3fcfcb[_0x51567b],'userId':_0x585160,'type':_0x5a37a7}:_0x1ac4e8[_0x5a37a7]&&!_0x20aa2d?(_0x1ac4e8[_0x5a37a7]['end']=_0x10938c,_0x3566bc(_0x1ac4e8[_0x5a37a7]),_0x1ac4e8[_0x5a37a7]=null):_0x1ac4e8[_0x5a37a7]&&_0x20aa2d&&_0x1ac4e8[_0x5a37a7]['userId']!==_0x585160&&(_0x1ac4e8[_0x5a37a7]['end']=_0x10938c,_0x3d50c5&&_0x3d50c5['userId']===_0x1ac4e8[_0x5a37a7]['userId']||_0x3566bc(_0x1ac4e8[_0x5a37a7]),_0x1ac4e8[_0x5a37a7]={'start':_0x10938c,'tapeItem':_0x3fcfcb[_0x51567b],'userId':_0x585160,'type':_0x5a37a7}),_0x1ac4e8[_0x5a37a7]&&_0x1a7efc&&('elementStart'!==_0x3fcfcb[_0x51567b]['type']||_0x3d50c5&&_0x3d50c5['userId']===_0x585160||_0x4c989d[_0x5a37a7]['unshift']({'userId':_0x585160,'object':_0x3fcfcb[_0x51567b]['item'],'change':_0x1ac4e8[_0x5a37a7]}),'elementEnd'===_0x3fcfcb[_0x51567b]['type']&&_0x3d50c5&&_0x3d50c5['object']===_0x3fcfcb[_0x51567b]['item']&&(_0x4c989d[_0x5a37a7]['shift'](),_0x1ac4e8[_0x5a37a7]=_0x3d50c5['change'])),_0x1ac4e8[_0x5a37a7]&&_0x50352a&&(_0x1ac4e8[_0x5a37a7]['end']=_0x3522db,_0x3566bc(_0x1ac4e8[_0x5a37a7]),_0x1ac4e8[_0x5a37a7]=null);}function _0x3566bc({start:_0x1c0c07,end:_0x3203af,tapeItem:_0x30c27c,userId:_0x573de9,type:_0xd69787}){const _0x4d2450=_0x30c27c['item'],_0xb8b5f3=_0x5e2a9b['schema']['isBlock'](_0x4d2450)&&!_0x5e2a9b['schema']['isLimit'](_0x4d2450),_0xb1e99=_0x1c0c07['nodeAfter']==_0x3203af['parent']&&_0x3203af['isAtStart'];if(_0xb8b5f3&&_0xb1e99)return;const _0x318797=_0x5e2a9b['createRange'](_0x1c0c07,_0x3203af),_0x48fa8c=_0x2f9a9b['get'](_0x573de9),_0x5415ba=new r({'author':_0x48fa8c,'type':'isAdded'==_0xd69787||'isAddSuggestion'==_0xd69787?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0xd69787||'isRemoveSuggestion'==_0xd69787},'createdAt':new Date(),'rootName':_0x55d653});_0x401f7f['push'](_0x5415ba),_0x4df7c5['markers']['set']('revision:'+_0x5415ba['id'],_0x318797);}function _0x1d9356(_0x30548c,_0x35868d){const _0x1626c5=_0x30548c['getAttributes'](),_0x45b052=_0x35868d['getAttributes']();for(const _0x5e9bdc of _0x1626c5){if(_0x5e9bdc[0x1]!==_0x35868d['getAttribute'](_0x5e9bdc[0x0]))return!0x1;_0x45b052['next']();}return _0x45b052['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x500cb0=>{const _0x59b41f=_0x500cb0['markerName']['split'](':')[0x1],_0x2da1b4=this['_getChangeFromId'](_0x59b41f);if(!_0x2da1b4)return null;const _0x28c104='add'==_0x2da1b4['type']?'insertion':'deletion',_0x59052e=['ck-suggestion-marker','ck-suggestion-marker-'+_0x28c104];return _0x2da1b4['data']['isSuggestion']&&_0x59052e['push']('ck-suggestion-marker-'+_0x28c104+'-new'),this['activeChange']==_0x2da1b4&&_0x59052e['push']('ck-suggestion-marker--active'),{'classes':_0x59052e,'attributes':{'data-change-id':_0x59b41f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x12ecc7=>{_0x12ecc7['on']('element:pre',(_0x53aaeb,_0x3cf52d,_0x5805d5)=>{const _0x9fe73e=_0x3cf52d['viewItem']['getChild'](0x0);if(!_0x9fe73e||!_0x9fe73e['is']('element','code'))return;if(!_0x5805d5['consumable']['consume'](_0x9fe73e,{'attributes':['vid_start','vid_end']}))return;const _0x6bea29=_0x3cf52d['modelRange']['start']['nodeAfter'];_0x5805d5['writer']['setAttribute']('vid_start',_0x9fe73e['getAttribute']('vid_start'),_0x6bea29),_0x5805d5['writer']['setAttribute']('vid_end',_0x9fe73e['getAttribute']('vid_end'),_0x6bea29);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x54c290=>{_0x54c290['on']('element',(_0x2baa52,_0x1566c8,_0x4e66b5)=>{if(!_0x4e66b5['consumable']['consume'](_0x1566c8['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x1566c8['modelRange']['isCollapsed'])return;const _0x859b9a=_0x1566c8['modelRange']['start']['nodeAfter'];_0x859b9a['hasAttribute']('vid_start')||_0x859b9a['hasAttribute']('vid')||(_0x4e66b5['writer']['setAttribute']('vid_start',_0x1566c8['viewItem']['getAttribute']('vid_start'),_0x859b9a),_0x4e66b5['writer']['setAttribute']('vid_end',_0x1566c8['viewItem']['getAttribute']('vid_end'),_0x859b9a));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0xb5948e=>_0xb5948e['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x34123d,[,_0x369dda])=>{['vid_start','vid_end','vid']['includes'](_0x369dda)&&(_0x34123d['return']=!0x0,_0x34123d['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x612606=>{_0x612606['on']('attribute:vid',(_0x5b750c,_0xcae4f5,_0x3881d5)=>{if('\x20'!=_0xcae4f5['item']['data']||_0xcae4f5['item']['parent']['maxOffset']>0x1)return;if(!_0x3881d5['consumable']['consume'](_0xcae4f5['item'],_0x5b750c['name']))return;const _0x45cd60=_0x3881d5['writer'],_0xdf46db=_0x3881d5['mapper']['toViewRange'](_0xcae4f5['range']);_0x45cd60['wrap'](_0xdf46db,_0x45cd60['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x4d751f){const _0x1e5c09=_0x4d751f['plugins']['get']('RevisionViewer');return(_0x5c3686,_0x29af26,_0x316756)=>{const _0x29d9cd=_0x29af26['markerName']['split'](':')[0x1],_0x206c36=_0x1e5c09['_getChangeFromId'](_0x29d9cd);if(!_0x206c36)return null;const _0x315896='add'==_0x206c36['type']?'split':'merge';if(!_0x316756['consumable']['test'](_0x29af26['markerRange'],_0x5c3686['name']))return;const _0x27776e=_0x29af26['markerRange']['getWalker'](),_0x1eb18d=_0x29af26['markerRange']['start'],_0x249952=_0x4d751f['model']['schema'];let _0x9520b4=null,_0xff5ad5=null,_0x2bac12=!0x1,_0x2a8be1=!0x1;for(const _0x3d30de of _0x27776e){const _0x5f363e=_0x3d30de['item'];_0x2bac12=_0x2bac12||_0x249952['isContent'](_0x5f363e);const _0x4ec7ee=_0x316756['mapper']['toViewElement'](_0x5f363e);if(_0x4ec7ee&&_0x4ec7ee['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3d30de['type']&&(_0x249952['isBlock'](_0x5f363e)&&!_0x249952['isLimit'](_0x5f363e)&&(_0x5f363e['nextSibling']||_0x1eb18d['isAtEnd']?_0x9520b4&&_0x9520b4['parent']==_0x5f363e||(_0x9520b4=_0x5f363e,_0x4412f1(_0x3d30de['previousPosition']),_0x2a8be1=!0x0):_0xff5ad5=_0xff5ad5||_0x3d30de['previousPosition']));}function _0x4412f1(_0x44e5bf){const _0x3fbb62=_0x316756['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x315896}),_0x10a263=_0x316756['mapper']['toViewPosition'](_0x44e5bf);_0x206c36['data']['isSuggestion']&&_0x316756['writer']['addClass']('ck-suggestion-marker-'+_0x315896+'-new',_0x3fbb62),_0x1e5c09['activeChange']==_0x206c36&&_0x316756['writer']['addClass']('ck-suggestion-marker--active',_0x3fbb62),_0x316756['writer']['insert'](_0x10a263,_0x3fbb62),_0x316756['mapper']['bindElementToMarker'](_0x3fbb62,_0x29af26['markerName']);}_0x2bac12||_0x2a8be1||!_0xff5ad5||_0x4412f1(_0xff5ad5);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x129329,_0x4ffcb0,_0x573449)=>{const _0x2ae33d=_0x573449['mapper']['markerNameToElements'](_0x4ffcb0['markerName']);if(_0x2ae33d){for(const _0x51e3f7 of _0x2ae33d)(_0x51e3f7['hasClass']('ck-suggestion-marker-split')||_0x51e3f7['hasClass']('ck-suggestion-marker-merge'))&&(_0x573449['mapper']['unbindElementFromMarkerName'](_0x51e3f7,_0x4ffcb0['markerName']),_0x573449['writer']['remove'](_0x51e3f7));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3739d3,_0x832ce9,_0x1dba19)=>{const _0x3c5a40=_0x832ce9['markerName']['split'](':')[0x1],_0x4c8590=this['_getChangeFromId'](_0x3c5a40);if(!_0x4c8590)return null;const _0x76d443='add'==_0x4c8590['type']?'split':'merge';if(_0x1dba19['consumable']['test'](_0x832ce9['markerRange'],_0x3739d3['name']))for(const _0x3441c0 of _0x832ce9['markerRange']['getItems']()){if(!_0x3441c0['is']('element','softBreak'))continue;const _0x4a1961=_0x1dba19['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x76d443}),_0x571f67=_0x1dba19['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3441c0));_0x4c8590['data']['isSuggestion']&&_0x1dba19['writer']['addClass']('ck-suggestion-marker-'+_0x76d443+'-new',_0x4a1961),this['activeChange']==_0x4c8590&&_0x1dba19['writer']['addClass']('ck-suggestion-marker--active',_0x4a1961),_0x1dba19['writer']['insert'](_0x571f67,_0x4a1961),_0x1dba19['mapper']['bindElementToMarker'](_0x4a1961,_0x832ce9['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x30e0a8=>{for(const _0x50fd3e of this['editor']['model']['document']['getRootNames']()){const _0x32b8c5=this['editor']['model']['document']['getRoot'](_0x50fd3e),_0x5cb29d=this['editor']['editing']['view']['document']['getRoot'](_0x50fd3e);if(_0x5cb29d){const _0x5c7f5d=_0x32b8c5['getAttribute']('revisionHistoryAttachChange');if(_0x30e0a8['removeAttribute']('data-change-id',_0x5cb29d),_0x30e0a8['removeClass']('ck-revision-history-root-add',_0x5cb29d),_0x30e0a8['removeClass']('ck-revision-history-root-remove',_0x5cb29d),_0x30e0a8['removeClass']('ck-revision-history-root--active',_0x5cb29d),_0x5c7f5d){const _0x2f6ded=this['_getChangeFromId'](_0x5c7f5d);if(!_0x2f6ded)return null;_0x30e0a8['setAttribute']('data-change-id',_0x5c7f5d,_0x5cb29d),_0x30e0a8['addClass']('ck-revision-history-root-'+_0x2f6ded['type'],_0x5cb29d),this['activeChange']==_0x2f6ded&&_0x30e0a8['addClass']('ck-revision-history-root--active',_0x5cb29d);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xc2f23c=>'revision-comment:'+_0xc2f23c,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x58f190=>'revision-suggestion:'+_0x58f190,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x47ca0e=>({'name':'suggestion:'+_0x47ca0e,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3e9df1=>{const _0x4b6ea3=_0x3e9df1['markerName']['split'](':')[0x1];return'insertion'!=_0x4b6ea3&&'deletion'!=_0x4b6ea3?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x4b6ea3]};}}),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',(_0x32d875,_0x539e22,_0x4977e1)=>{const _0x157646=_0x4977e1['mapper']['markerNameToElements'](_0x539e22['markerName']);if(_0x157646){for(const _0x4dd6c3 of _0x157646)_0x4dd6c3['is']('uiElement')&&(_0x4977e1['mapper']['unbindElementFromMarkerName'](_0x4dd6c3,_0x539e22['markerName']),_0x4977e1['writer']['remove'](_0x4dd6c3));}},{'priority':'high'});}['_getChangeFromId'](_0x3cbc5f){return this['_changeIdToChange']['get'](_0x3cbc5f);}['_getViewForChange'](_0x178047){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x178047),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x31d044,_0x29fe37,_0x30668d,_0x381ffb)=>{_0x381ffb&&this['_balloon']['remove'](_0x381ffb),_0x30668d&&(this['_balloon']['add']({'view':_0x30668d,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x49e573=this['editor']['editing'],_0x529c89=this['_getChangeFromId'](_0x30668d['changeId']);let _0x257960;if(_0x529c89['data']['isOnRoot']){const _0x3ad2b6=_0x49e573['view']['getDomRoot'](_0x529c89['rootName']);_0x257960=Array['from'](_0x3ad2b6['getClientRects']());}else{const _0x3b361b=this['editor']['model']['markers']['get']('revision:'+_0x30668d['changeId']);_0x257960=Array['from'](_0x49e573['mapper']['markerNameToElements'](_0x3b361b['name']))['map'](_0x2d2671=>_0x49e573['view']['domConverter']['mapViewToDom'](_0x2d2671))['map'](_0x2eb5c6=>Array['from'](_0x2eb5c6['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x257960[0x0];return _0x257960['find'](_0x355353=>_0x355353['top']-0x3<=this['_activeViewTarget']['y']&&_0x355353['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x355353['left']-0x3<=this['_activeViewTarget']['x']&&_0x355353['right']+0x3>=this['_activeViewTarget']['x'])||_0x257960[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x128605,_0x10583a,_0x32fd1a,_0x510353)=>{this['activeView']=_0x32fd1a?this['_getViewForChange'](_0x32fd1a):null,this['editor']['model']['change'](()=>{const _0x4d09de=this['editor']['editing'];_0x510353&&(_0x510353['data']['isOnRoot']?_0x4d09de['view']['change'](_0x4f700d=>{_0x4f700d['removeClass']('ck-revision-history-root--active',_0x4d09de['view']['document']['getRoot'](_0x510353['rootName']));}):_0x4d09de['reconvertMarker']('revision:'+_0x510353['id'])),_0x32fd1a&&(_0x32fd1a['data']['isOnRoot']?_0x4d09de['view']['change'](_0x587566=>{_0x587566['addClass']('ck-revision-history-root--active',_0x4d09de['view']['document']['getRoot'](_0x32fd1a['rootName']));}):_0x4d09de['reconvertMarker']('revision:'+_0x32fd1a['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x56587f,_0x4ffb51)=>{if(this['activeChange'])return;const _0x3f6bd7=this['_findChangeIdFromDomTarget'](_0x4ffb51['target']),_0x1c86d5=this['_changeIdToChange']['get'](_0x3f6bd7);_0x1c86d5?(this['_activeViewTarget']={'x':_0x4ffb51['domEvent']['x'],'y':_0x4ffb51['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1c86d5)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x2b3576,_0x265d8c)=>{const _0xf9af97=this['_findChangeIdFromDomTarget'](_0x265d8c['target']),_0x5af894=this['_changeIdToChange']['get'](_0xf9af97);_0x5af894?(this['_activeViewTarget']={'x':_0x265d8c['domEvent']['x'],'y':_0x265d8c['domEvent']['y']},_0x5af894===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x5af894):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x4ab5d6){do{const _0x3a3ec3=_0x4ab5d6['getAttribute']('data-change-id');if(_0x3a3ec3)return _0x3a3ec3;_0x4ab5d6=_0x4ab5d6['parent'];}while(_0x4ab5d6);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x9dd258=>{for(const _0x1779ed of this['editor']['model']['markers'])_0x9dd258['removeMarker'](_0x1779ed);});}}function et(_0x484849,_0x243ede){return(_0x1a4a62,_0x143f78,_0x32a677)=>{if(!_0x32a677['consumable']['test'](_0x143f78['markerRange'],_0x1a4a62['name']))return;const _0x169ad6=_0x143f78['markerRange']['getWalker'](),_0x47384d=_0x143f78['markerRange']['start'],_0xb27439=_0x484849['model']['schema'];let _0x44474b=null,_0x2f7243=null,_0x365763=!0x1,_0x2aa434=!0x1;for(const _0x5b720a of _0x169ad6){const _0x9133df=_0x5b720a['item'];_0x365763=_0x365763||_0xb27439['isContent'](_0x9133df);const _0x1f5e9e=_0x32a677['mapper']['toViewElement'](_0x9133df);if(_0x1f5e9e&&_0x1f5e9e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5b720a['type']&&(_0xb27439['isBlock'](_0x9133df)&&!_0xb27439['isLimit'](_0x9133df)&&(_0x9133df['nextSibling']||_0x47384d['isAtEnd']?_0x44474b&&_0x44474b['parent']==_0x9133df||(_0x44474b=_0x9133df,_0x5be3ae(_0x5b720a['previousPosition']),_0x2aa434=!0x0):_0x2f7243=_0x2f7243||_0x5b720a['previousPosition']));}function _0x5be3ae(_0x7312f7){const _0x1174be=_0x32a677['mapper']['toViewPosition'](_0x7312f7),_0x5c8a38=_0x32a677['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x243ede});_0x32a677['writer']['insert'](_0x1174be,_0x5c8a38),_0x32a677['mapper']['bindElementToMarker'](_0x5c8a38,_0x143f78['markerName']);}_0x365763||_0x2aa434||!_0x2f7243||_0x5be3ae(_0x2f7243);};}class bt extends _0x157f34{constructor(_0x384ee6){super(_0x384ee6);const _0x56edc7=_0x384ee6['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x56edc7,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x56edc7,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x2f644a=this['editor'],_0x323330=_0x2f644a['plugins']['get'](d),_0x5df4fb=_0x323330['isReady']?_0x323330['diff']['newRevisionId']:null;_0x2f644a['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x5df4fb);}['refresh'](){const {isReady:_0x517203,isEnabled:_0x4e5dc4}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x517203&&_0x4e5dc4;}}class yt extends _0x157f34{['_step'];constructor(_0x3625b2,{direction:_0x1988a7}){super(_0x3625b2);const _0x2ff6bf=_0x3625b2['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x1988a7?0x1:-0x1,this['listenTo'](_0x2ff6bf,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2ff6bf,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2ff6bf,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x356de6=this['editor'],_0x4703f0=_0x356de6['plugins']['get'](d),{isNavigationMode:_0x8534e9,currentChangeNumber:_0x43a427}=_0x4703f0;let _0x1b5c12;if(_0x4703f0['activeChange']=_0x8534e9?_0x4703f0['diff']['changes']['get'](_0x43a427+this['_step']):_0x4703f0['diff']['changes']['first'],_0x4703f0['activeChange']['data']['isOnRoot'])_0x1b5c12=_0x356de6['editing']['view']['getDomRoot'](_0x4703f0['activeChange']['rootName']);else{const _0x2c4b4c=_0x356de6['model']['markers']['get']('revision:'+_0x4703f0['activeChange']['id']);_0x1b5c12=_0x238c8d(_0x356de6['editing'],_0x2c4b4c);}_0x553506({'target':_0x1b5c12,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x538888,currentChangeNumber:_0xeec5f8,numberOfChanges:_0x51ab87,isReady:_0x942252,isEnabled:_0x1f3bb1}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1f3bb1&&_0x942252&&_0x51ab87)&&(!_0x538888||(0x1===this['_step']?_0xeec5f8<_0x51ab87-0x1:_0xeec5f8>0x0));}}class _i extends _0x50a5ec{constructor(_0x560e0f){super(_0x560e0f);const _0xb94fa2=this['bindTemplate'],_0x26a82d=new _0x124c6e(_0x560e0f),_0x5bae29=new _0x124c6e(_0x560e0f);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',(_0x104734,_0x53bc71)=>_0x104734&&_0x53bc71>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x34fd97,_0x5a0835,_0x32d705,_0x2bcda2)=>{if(!_0x34fd97)return y(_0x560e0f,'Loading...');if(!_0x32d705)return y(_0x560e0f,'No\x20changes');const _0x2c1c7f=y(_0x560e0f,'NUMBER_OF_CHANGES',_0x32d705);return _0x2bcda2?y(_0x560e0f,'X_OF_Y_CHANGES',[_0x5a0835+0x1,_0x32d705]):_0x2c1c7f;}),_0x26a82d['set']({'label':y(_0x560e0f,'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'}),_0x5bae29['set']({'label':y(_0x560e0f,'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'}),_0x26a82d['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x5bae29['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x26a82d['on']('execute',()=>this['fire']('execute','backward')),_0x5bae29['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',_0xb94fa2['if']('_isStatusLabelVisible','ck-hidden',_0x14b245=>!_0x14b245)]},'children':[{'text':_0xb94fa2['to']('isNavigationMode',_0x149f3f=>_0x149f3f?y(_0x560e0f,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x560e0f,'Total')+':\x20')}]},{'text':_0xb94fa2['to']('_statusText')}]},new _0x213f96(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x26a82d,_0x5bae29]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1123d9{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x112cd8=this['editor']['editing']['view'];_0x112cd8['change'](_0x36eb09=>{for(const _0x17193b of _0x112cd8['document']['roots'])_0x36eb09['addClass'](ce,_0x17193b);});}['hide'](){const _0xa6fe8f=this['editor']['editing']['view'];_0xa6fe8f['change'](_0x3ad10c=>{for(const _0x5945dc of _0xa6fe8f['document']['roots'])_0x3ad10c['removeClass'](ce,_0x5945dc);});}}class R extends _0x1123d9{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x209478=this['editor'],_0x4b2ded=_0x209478['plugins']['get'](d),_0x270cea=_0x209478['plugins']['get'](de);_0x209478['ui']['componentFactory']['add']('exitToEditing',_0x59d9b7=>{const _0x4b2a34=new _0x124c6e(_0x59d9b7);return _0x4b2a34['set']({'label':y(_0x59d9b7,'Back\x20to\x20editing'),'icon':_0x209ed5['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x4b2a34,'execute',()=>{_0x209478['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x4b2a34;}),_0x209478['ui']['componentFactory']['add']('restoreRevision',_0x44892f=>{const _0x393b68=new _0x124c6e(_0x44892f);return _0x393b68['set']({'label':y(_0x44892f,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x393b68['bind']('isEnabled')['to'](_0x209478['commands']['get']('restoreRevision')),this['listenTo'](_0x393b68,'execute',()=>_0x209478['execute']('restoreRevision')),_0x393b68;}),_0x209478['ui']['componentFactory']['add']('changesNavigation',_0x11517e=>{const _0x2ba4ae=new _i(_0x11517e),_0x54eaba=_0x209478['commands']['get']('showPreviousChange'),_0x540569=_0x209478['commands']['get']('showNextChange');return _0x2ba4ae['bind']('isBackwardNavigationEnabled')['to'](_0x54eaba,'isEnabled'),_0x2ba4ae['bind']('isForwardNavigationEnabled')['to'](_0x540569,'isEnabled'),_0x2ba4ae['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x4b2ded),this['listenTo'](_0x2ba4ae,'execute',(_0x206777,_0x5e79ec)=>{_0x209478['execute']('forward'===_0x5e79ec?'showNextChange':'showPreviousChange');}),_0x2ba4ae;}),_0x270cea['show'](),_0x4b2ded['on']('change:isReady',(_0x28586f,_0x1bbeb4,_0x30ed89)=>{_0x30ed89?_0x270cea['hide']():_0x270cea['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0xdfc342,_0x3a486d){super(_0xdfc342,_0x3a486d);const _0xbbbc28=this['bindTemplate'];this['set']({'label':y(_0xdfc342,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0xdfc342,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0xbbbc28['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 _0x1b3c24=this['fieldView']['element'];this['_tooltipString']=_0x1b3c24['scrollWidth']>_0x1b3c24['clientWidth']&&_0x1b3c24['value']||'';}}class ti extends _0x50a5ec{constructor(_0x3ea1ff,_0xea13f,_0x51d2e2){super(_0x3ea1ff);const _0x5abefe=new _0xbfaf86();_0x5abefe['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 _0x44d214=['ck','ck-revision-history-sidebar__revision-author'];_0x51d2e2&&_0x44d214['push']('ck-revision-history-sidebar__revision-author_creator');const _0x337066=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3ea1ff,_0x51d2e2?'Revision\x20creator':'Revision\x20author')},'children':[_0x5abefe,_0xea13f['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x44d214},'children':_0x337066});}}function ni(_0x3c7b20,_0x34ac79){const _0xc2865e=_0x3c7b20['bindTemplate'],_0x9f56de=_0x3c7b20['locale'],_0x1d926d=_0x374c53(_0x9f56de);_0x1d926d['panelPosition']='sw';const _0x732eb3=function(_0x4a1ae7,_0xdcda3d){const _0x6a9e32=function(_0x583b3b,_0x513591){const _0x125126=_0x583b3b['locale'],_0x194b4e={'Compare\x20against\x20selected':y(_0x125126,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x125126,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x125126,'Restore\x20this\x20revision')};return _0x513591['map'](_0x3f0438=>{const _0x5c89ea=_0x194b4e[_0x3f0438['name']];return _0x5c89ea&&_0x5c89ea!==_0x3f0438['name']&&(_0x3f0438['name']=_0x5c89ea),_0x3f0438;});}(_0x4a1ae7,_0xdcda3d),_0x3d09d0=new _0x2716bd();for(const _0xdfc026 of _0x6a9e32){const _0x37c7db={'type':'button','model':new to({'label':_0xdfc026['name'],'class':_0xdfc026['class'],'withText':!0x0,'role':'menuitem','_action':_0xdfc026['action']})};_0x37c7db['model']['bind']('isEnabled')['to'](_0x4a1ae7,'isActionsDropdownOpen',_0x334796=>'function'!=typeof _0xdfc026['isEnabled']||(!_0x334796||_0xdfc026['isEnabled'](_0x4a1ae7))),_0x3d09d0['add'](_0x37c7db);}return _0x3d09d0;}(_0x3c7b20,_0x34ac79);return _0x3c7b20['bind']('isActionsDropdownOpen')['to'](_0x1d926d,'isOpen'),_0x1d926d['buttonView']['set']({'label':y(_0x9f56de,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x209ed5['threeVerticalDots']}),_0x1d926d['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0xc2865e['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0xc2865e['to'](_0x45be39=>_0x45be39['stopPropagation']())}}),_0x1d926d['on']('execute',_0xb39a39=>{_0x3c7b20['isReady']&&'function'==typeof _0xb39a39['source']['_action']&&_0xb39a39['source']['_action'](_0x3c7b20);}),_0x49cf2b(_0x1d926d,_0x732eb3,{'role':'menu'}),_0x1d926d['listenTo'](_0x3c7b20,'change:isActionsDropdownOpen',(_0x3119d9,_0x5ada48,_0x5e48f0)=>{if(_0x5e48f0)for(const _0x5cd83c of _0x1d926d['listView']['items']){const _0x3b6afb=_0x5cd83c['children']['first'],_0xdff9fd=_0x34ac79['find'](_0x56a229=>_0x56a229['action']===_0x3b6afb['_action'])['isVisible'];_0x5cd83c['isVisible']=void 0x0===_0xdff9fd||_0xdff9fd(_0x3c7b20);}}),_0x1d926d;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x4a7910(_0x50a5ec){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x5e2320,_0x3d64be,_0x36d000,_0x4bb571){super(_0x5e2320);const _0x1c084a=this['bindTemplate'],_0x451fe5=function(_0x15a9e6,_0x566ba8){const _0x56819e=Array['from'](_0x566ba8['authors'])['filter'](_0x4fb1aa=>_0x4fb1aa!=_0x566ba8['creator']);return _0x566ba8['creator']&&_0x56819e['unshift'](_0x566ba8['creator']),_0x56819e['map'](_0x186c61=>new ti(_0x15a9e6,_0x186c61,_0x186c61==_0x566ba8['creator']));}(_0x5e2320,_0x3d64be);this['id']=_0x3d64be['id'],this['_revision']=_0x3d64be,this['_requireRevisionName']=_0x4bb571,this['bind']('name','createdAt')['to'](_0x3d64be),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1ef5a5=>{return _0x288b0b=_0x5e2320['uiLanguage'],(_0x5be686=_0x1ef5a5)['toLocaleDateString'](_0x288b0b,{'month':'long','day':'numeric'})+',\x20'+_0x5be686['toLocaleTimeString'](_0x288b0b,{'hour':'numeric','minute':'numeric'});var _0x288b0b,_0x5be686;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x5e2320,_0x5cc1e8),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x417f40=>_0x417f40||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x300281,_0x19d6b9)=>_0x300281&&_0x19d6b9),this['revisionActionsView']=_0x36d000&&_0x36d000['length']?ni(this,_0x36d000):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1c084a['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1c084a['if']('isEnabled','ck-disabled',_0x14f910=>!_0x14f910),_0x1c084a['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1c084a['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1c084a['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':_0x1c084a['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':_0x451fe5}]},this['revisionActionsView']],'on':{'click':_0x1c084a['to'](_0xac1f9d=>{_0xac1f9d['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x56e017=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x56e017,'change',()=>{this['_requireRevisionName']&&!_0x56e017['value']||this['fire']('setName',{'id':this['id'],'name':_0x56e017['value']}),_0x56e017['value']||(_0x56e017['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(_0x1769a6,_0x9bb157){const _0x51b008=_0xd8b900['fromJSDate'](_0x1769a6)['setLocale'](_0x9bb157),_0x237f07=_0xd8b900['local'](),_0x5f4834=_0x237f07['minus']({'days':0x1})['startOf']('day');let _0x4a8056,_0xb55ff3;return _0x51b008['hasSame'](_0x237f07,'day')?(_0x4a8056=_0x51b008['startOf']('day')['toJSDate'](),_0xb55ff3=_0x51b008['toRelativeCalendar']()):_0x51b008['hasSame'](_0x5f4834,'day')?(_0x4a8056=_0x5f4834['toJSDate'](),_0xb55ff3=_0x51b008['toRelativeCalendar']()):_0x51b008['hasSame'](_0x237f07,'week')?(_0x4a8056=_0x51b008['startOf']('week')['toJSDate'](),_0xb55ff3=_0x51b008['weekdayLong']||''):_0x51b008['hasSame'](_0x237f07,'year')?(_0x4a8056=_0x51b008['startOf']('month')['toJSDate'](),_0xb55ff3=_0x51b008['monthLong']||''):(_0x4a8056=_0x51b008['startOf']('year')['toJSDate'](),_0xb55ff3=String(_0x51b008['year'])),{'startDate':_0x4a8056,'localizedPeriodName':_0xb55ff3};}class mi extends _0x50a5ec{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2f2cef,_0x60d884,_0x299741,_0x7bae8){super(_0x2f2cef);const _0x2d750c=di(_0x60d884,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x60d884,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x299741,this['_requireRevisionName']=_0x7bae8,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':_0x2d750c}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1e8e7f){const _0x239914=new ai(this['locale'],_0x1e8e7f,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x239914);}['removeRevision'](_0x23959c){const _0xf1a6c1=this['revisionViews']['find'](_0x4ddbd3=>_0x4ddbd3['id']===_0x23959c['id']);this['revisionViews']['remove'](_0xf1a6c1);}}class as extends _0x50a5ec{constructor(_0x19d570){super(_0x19d570);const _0x375203=new _0xbfaf86();_0x375203['content']=_0x209ed5['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x375203,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x19d570,'Revision\x20history')]}]});}}class ci extends _0x50a5ec{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x42595e,_0x54f470,_0x17a3ac,_0x27b3fc){super(_0x42595e);const _0x59408a=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x54f470,this['_revisionActions']=_0x17a3ac,this['_requireRevisionName']=_0x27b3fc,this['on']('select',(_0x344924,_0x2bafc0)=>{this['fire']('revisionSelected',_0x2bafc0);}),this['on']('setName',(_0x5467b0,_0x134fff)=>{this['fire']('revisionSetName',_0x134fff);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x42595e),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x59408a['if']('isEnabled','ck-disabled',_0x3924a6=>!_0x3924a6)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x40a2f8 of this['_revisions'])this['_addRevision'](_0x40a2f8);this['_revisions']['on']('add',(_0x4ffeed,_0x31a2da)=>{this['_addRevision'](_0x31a2da);}),this['_revisions']['on']('remove',(_0x34dd4a,_0x40f881)=>{this['_removeRevision'](_0x40f881);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x145eb9=>_0x145eb9['revisionViews']['map'](_0x4a2dbc=>_0x4a2dbc))['flat']();}['selectRevision'](_0xf33188){for(const _0x500445 of this['revisionViews'])_0xf33188&&_0xf33188['id']===_0x500445['id']?_0x500445['select']():_0x500445['deselect']();}['highlightRevisions'](_0x2f8e73){for(const _0x240111 of this['revisionViews'])_0x2f8e73['some'](({id:_0xcdb244})=>_0xcdb244===_0x240111['id'])?_0x240111['highlight']():_0x240111['unhighlight']();}['_addRevision'](_0x1d2fca){const _0x21d172=di(_0x1d2fca['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1e5124=this['timePeriodViews']['get'](0x0);_0x1e5124&&_0x1e5124['startDate']['getTime']()===_0x21d172['getTime']()||(_0x1e5124=new mi(this['locale'],_0x21d172,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1e5124)),_0x1e5124['addRevision'](_0x1d2fca);}['_removeRevision'](_0x333232){const _0x3c6663=di(_0x333232['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x3c6663)['removeRevision'](_0x333232);}['_getTimePeriodViewByStartDate'](_0x595ea9){return this['timePeriodViews']['find'](_0xcf316f=>_0xcf316f['startDate']['getTime']()===_0x595ea9['getTime']());}}class w extends _0x1123d9{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x1ffe89,Context as _0x349146,PendingActions as _0x40a2b8,icons as _0x5de8c3,Command as _0x31a8b4,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x32d3c7,uid as _0x472022,Collection as _0x417056,logWarning as _0x3c89b9,FocusTracker as _0x503daa,KeystrokeHandler as _0x53b84c,scrollViewportToShowTarget as _0xbf6af6,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x12133f}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x504717,getMarkerDomElement as _0x57bc13,ConfirmMixin as _0x13e5d8,sanitizeEditorConfig as _0x2ccd4f}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0xf1ec6a,ViewText as _0xf2a973,ViewElement as _0x49375d,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x41b8cd,ViewAttributeElement as _0x34d9d0,ViewEmptyElement as _0x9c91a9,ViewRawElement as _0x3fce7c,ViewUIElement as _0x258821,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x1ced1e,set as _0x1c8460,unset as _0x52b6aa,isEqual as _0x553038}from'lodash-es';import{View as _0xe63f62,injectCssTransitionDisabler as ts,submitHandler as _0x37f133,LabeledFieldView as at,createLabeledInputText as _0xf69869,createDropdown as _0x5436a3,ListView as te,ListItemView as _0x230ae2,ButtonView as _0x5591a3,MenuBarMenuView as _0x2749bb,MenuBarMenuListView as _0x3e8cc0,MenuBarMenuListItemView as _0x124bff,MenuBarMenuListItemButtonView as _0x3539b7,ContextualBalloon as _0x1cf5c3,ToolbarSeparatorView as _0x49f13d,IconView as _0x281cc4,addListToDropdown as _0x8ed943,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 _0x446715}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x32d3c7(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x52cb82){super(),this['id']=_0x52cb82['id']||_0x472022(),this['creator']=_0x52cb82['creator']||null,this['authors']=_0x52cb82['authors']||[],this['diffData']=_0x52cb82['diffData']||null,this['toVersion']=_0x52cb82['toVersion']||0x0,this['fromVersion']=_0x52cb82['fromVersion']||0x0,this['set']('name',_0x52cb82['name']||''),this['set']('createdAt',_0x52cb82['createdAt']||new Date()),this['set']('attributes',_0x52cb82['attributes']||{});}['setName'](_0x27c79f){this['_update']({'name':_0x27c79f});}['setAttribute'](_0x7e7fab,_0x5aa340){const _0xda9034=_0x1ced1e(this['attributes']);_0x1c8460(_0xda9034,_0x7e7fab,_0x5aa340),this['_update']({'attributes':_0xda9034});}['removeAttribute'](_0x11f9e7){const _0x3d4309=_0x1ced1e(this['attributes']);_0x52b6aa(_0x3d4309,_0x11f9e7),this['_update']({'attributes':_0x3d4309});}['_update'](_0x3109ca,_0x1f7520=!0x1){let _0x55c784=!0x1;const _0x48a0e1={'id':this['id']},_0x2fc9c4=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x44121e of _0x2fc9c4){const _0x2c84ac=_0x3109ca[_0x44121e];void 0x0!==_0x2c84ac&&_0x2c84ac!==this[_0x44121e]&&(this[_0x44121e]=_0x2c84ac,_0x48a0e1[_0x44121e]=_0x2c84ac,_0x55c784=!0x0);}_0x55c784&&(_0x48a0e1['authors']&&(_0x48a0e1['authorsIds']=_0x48a0e1['authors']['map'](_0x34ef3d=>_0x34ef3d['id']),delete _0x48a0e1['authors']),this['fire']('_update',_0x48a0e1,_0x1f7520));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2612c3=>_0x2612c3['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x1ffe89{['_revisions'];static get['requires'](){return[_0x504717];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x17421d){super(_0x17421d),this['_revisions']=new _0x417056();}['afterInit'](){!function(_0x110c14){function _0xba146a(_0x4c8846,_0x143e21,_0x2fbba7){const _0xc9ec6d={};_0xc9ec6d[_0x3731f0([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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],_0xc9ec6d[_0x3731f0([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 _0x5da1ff=new Uint8Array(0x10);for(let _0x586616=0xf;_0x586616>=0x0;--_0x586616)_0x5da1ff[_0x586616]=_0x2fbba7%0x100,_0x2fbba7=parseInt(_0x2fbba7/0x100);let _0x2ea6d9=null,_0x4d8f29=0x10;const _0xbc75ce=new Uint8Array(_0x143e21),_0x3c4b51=[],_0x536f95=[];_0x3d8a1d();for(let _0x334b87=0x0;_0x334b87<_0x4c8846[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x334b87++)0x10===_0x4d8f29&&(_0x2ea6d9=_0x307f18(_0x5da1ff),_0x4d8f29=0x0,_0x176ab1(_0x5da1ff)),_0x4c8846[_0x334b87]^=_0x2ea6d9[_0x4d8f29++];return _0x4c8846;function _0x3e7d47(_0xd11bbf){const _0x4d7eed=[];for(let _0x41ae22=0x0;_0x41ae22<_0xd11bbf[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x41ae22+=0x4)_0x4d7eed[_0x3731f0([0x70,0x75,0x73,0x68])](_0xd11bbf[_0x41ae22]<<0x18|_0xd11bbf[_0x41ae22+0x1]<<0x10|_0xd11bbf[_0x41ae22+0x2]<<0x8|_0xd11bbf[_0x41ae22+0x3]);return _0x4d7eed;}function _0x176ab1(_0x2b2f47){for(let _0x12a699=0xf;_0x12a699>=0x0;_0x12a699--){if(0xff!==_0x2b2f47[_0x12a699]){_0x2b2f47[_0x12a699]++;break;}_0x2b2f47[_0x12a699]=0x0;}}function _0x307f18(_0x40fdce){const _0x306924=_0x3c4b51[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1eb2f6=[0x0,0x0,0x0,0x0];let t=_0x3e7d47(_0x40fdce);for(let _0x2edf0d=0x0;_0x2edf0d<0x4;_0x2edf0d++)t[_0x2edf0d]^=_0x3c4b51[0x0][_0x2edf0d];for(let _0x4543a2=0x1;_0x4543a2<_0x306924;_0x4543a2++){for(let _0xc0eec3=0x0;_0xc0eec3<0x4;_0xc0eec3++)_0x1eb2f6[_0xc0eec3]=_0xc9ec6d[_0x3731f0([0x54,0x31])][t[_0xc0eec3]>>0x18&0xff]^_0xc9ec6d[_0x3731f0([0x54,0x32])][t[(_0xc0eec3+0x1)%0x4]>>0x10&0xff]^_0xc9ec6d[_0x3731f0([0x54,0x33])][t[(_0xc0eec3+0x2)%0x4]>>0x8&0xff]^_0xc9ec6d[_0x3731f0([0x54,0x34])][0xff&t[(_0xc0eec3+0x3)%0x4]]^_0x3c4b51[_0x4543a2][_0xc0eec3];t=_0x1eb2f6[_0x3731f0([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3b980d=new Uint8Array(0x10);let _0x1bed15;for(let _0x24410f=0x0;_0x24410f<0x4;_0x24410f++)_0x1bed15=_0x3c4b51[_0x306924][_0x24410f],_0x3b980d[0x4*_0x24410f]=0xff&(_0xc9ec6d[_0x3731f0([0x53])][t[_0x24410f]>>0x18&0xff]^_0x1bed15>>0x18),_0x3b980d[0x4*_0x24410f+0x1]=0xff&(_0xc9ec6d[_0x3731f0([0x53])][t[(_0x24410f+0x1)%0x4]>>0x10&0xff]^_0x1bed15>>0x10),_0x3b980d[0x4*_0x24410f+0x2]=0xff&(_0xc9ec6d[_0x3731f0([0x53])][t[(_0x24410f+0x2)%0x4]>>0x8&0xff]^_0x1bed15>>0x8),_0x3b980d[0x4*_0x24410f+0x3]=0xff&(_0xc9ec6d[_0x3731f0([0x53])][0xff&t[(_0x24410f+0x3)%0x4]]^_0x1bed15);return _0x3b980d;}function _0x3d8a1d(){const _0x1fc6f1=_0xc9ec6d[_0x3731f0([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xbc75ce[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x185bfd=0x0;_0x185bfd<=_0x1fc6f1;_0x185bfd++)_0x3c4b51[_0x3731f0([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x536f95[_0x3731f0([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2d01f2=0x4*(_0x1fc6f1+0x1),_0x3a53bf=_0xbc75ce[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x330eb3=_0x3e7d47(_0xbc75ce);let _0x28fb4d;for(let _0x5c820b=0x0;_0x5c820b<_0x3a53bf;_0x5c820b++)_0x28fb4d=_0x5c820b>>0x2,_0x3c4b51[_0x28fb4d][_0x5c820b%0x4]=_0x330eb3[_0x5c820b],_0x536f95[_0x1fc6f1-_0x28fb4d][_0x5c820b%0x4]=_0x330eb3[_0x5c820b];let _0x4173b9,_0x511c54=0x0,t=_0x3a53bf;for(;t<_0x2d01f2;){_0x4173b9=_0x330eb3[_0x3a53bf-0x1],_0x330eb3[0x0]^=_0xc9ec6d[_0x3731f0([0x53])][_0x4173b9>>0x10&0xff]<<0x18^_0xc9ec6d[_0x3731f0([0x53])][_0x4173b9>>0x8&0xff]<<0x10^_0xc9ec6d[_0x3731f0([0x53])][0xff&_0x4173b9]<<0x8^_0xc9ec6d[_0x3731f0([0x53])][_0x4173b9>>0x18&0xff]^_0xc9ec6d[_0x3731f0([0x72,0x63,0x6f,0x6e])][_0x511c54]<<0x18,_0x511c54+=0x1;for(let _0x1994b7=0x1;_0x1994b7<_0x3a53bf/0x2;_0x1994b7++)_0x330eb3[_0x1994b7]^=_0x330eb3[_0x1994b7-0x1];_0x4173b9=_0x330eb3[_0x3a53bf/0x2-0x1],_0x330eb3[_0x3a53bf/0x2]^=_0xc9ec6d[_0x3731f0([0x53])][0xff&_0x4173b9]^_0xc9ec6d[_0x3731f0([0x53])][_0x4173b9>>0x8&0xff]<<0x8^_0xc9ec6d[_0x3731f0([0x53])][_0x4173b9>>0x10&0xff]<<0x10^_0xc9ec6d[_0x3731f0([0x53])][_0x4173b9>>0x18&0xff]<<0x18;for(let _0x48830a=_0x3a53bf/0x2+0x1;_0x48830a<_0x3a53bf;_0x48830a++)_0x330eb3[_0x48830a]^=_0x330eb3[_0x48830a-0x1];let _0x3b9b82,_0x443a0e,_0x18179c=0x0;for(;_0x18179c<_0x3a53bf&&t<_0x2d01f2;)_0x3b9b82=t>>0x2,_0x443a0e=t%0x4,_0x3c4b51[_0x3b9b82][_0x443a0e]=_0x330eb3[_0x18179c],_0x536f95[_0x1fc6f1-_0x3b9b82][_0x443a0e]=_0x330eb3[_0x18179c++],t++;}for(let _0x53df16=0x1;_0x53df16<_0x1fc6f1;_0x53df16++)for(let _0x1851e9=0x0;_0x1851e9<0x4;_0x1851e9++)_0x4173b9=_0x536f95[_0x53df16][_0x1851e9],_0x536f95[_0x53df16][_0x1851e9]=_0xc9ec6d[_0x3731f0([0x55,0x31])][_0x4173b9>>0x18&0xff]^_0xc9ec6d[_0x3731f0([0x55,0x32])][_0x4173b9>>0x10&0xff]^_0xc9ec6d[_0x3731f0([0x55,0x33])][_0x4173b9>>0x8&0xff]^_0xc9ec6d[_0x3731f0([0x55,0x34])][0xff&_0x4173b9];}}function _0x3731f0(_0x5265b9){return _0x5265b9['map'](_0x187aee=>String['fromCharCode'](_0x187aee))['join']('');}(_0x1eef07=>{function _0x3c26e1(){const _0x51c32a=[{[_0x3731f0([0x69,0x64])]:0x1,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x3731f0([0x69,0x64])]:0x2,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([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]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3731f0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3731f0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3731f0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3731f0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3731f0([0x69,0x64])]:0x3,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3731f0([0x69,0x64])]:0x4,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([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]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x3731f0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x3731f0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x3731f0([0x69,0x64])]:0x5,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([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]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}},{[_0x3731f0([0x69,0x64])]:0x6,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}},{[_0x3731f0([0x69,0x64])]:0x7,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}},{[_0x3731f0([0x69,0x64])]:0x8,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([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]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}},{[_0x3731f0([0x69,0x64])]:0x9,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x3731f0([0x69,0x64])]:0xa,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([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]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([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]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([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]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}},{[_0x3731f0([0x69,0x64])]:0xb,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3731f0([0x69,0x64])]:0xc,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x3731f0([0x69,0x64])]:0xd,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}},{[_0x3731f0([0x69,0x64])]:0xe,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x3731f0([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([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])},{[_0x3731f0([0x69,0x64])]:0xf,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x3731f0([0x69,0x64])]:0x10,[_0x3731f0([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x3731f0([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x3731f0([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x3731f0([0x66,0x67,0x69])]:[0xc]}}];return _0x1ee591(_0x51c32a),_0x51c32a;function _0x1476ef(_0x52644a){return 0x1<<_0x52644a-0x1;}function _0x1ee591(_0x19eba3){_0x19eba3[_0x3731f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1de28c=>{_0x1de28c[_0x3731f0([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1476ef(_0x1de28c[_0x3731f0([0x69,0x64])]),_0x38768d(_0x1de28c)&&_0x1de28c[_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1ee591(_0x1de28c[_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x38768d(_0x19b30f){return _0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x19b30f;}const _0xa3b95e=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x456304=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3f274a(_0x315ee3){const _0x4d3ce2=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x18e5e4(_0x315ee3,new Uint8Array([..._0xa3b95e,..._0x4d3ce2,..._0x456304]));}function _0x18e5e4(_0x58d629,_0x127fe1){const _0x81109c=_0x5ed2b7(_0x58d629),_0x37a357=Array[_0x3731f0([0x66,0x72,0x6f,0x6d])](_0x15edaf(_0x81109c)),_0x16439f=_0x37a357[_0x3731f0([0x70,0x6f,0x70])](),_0x5b2b96=_0x37a357[_0x3731f0([0x70,0x6f,0x70])]();return _0x4aa750(_0xba146a(_0x37a357,_0x127fe1,_0x5b2b96+0x100*_0x16439f));}function _0x5ed2b7(_0x428a9f){const _0x41ca2f=atob(_0x428a9f),[_0x111c7e,_0x1b2683]=_0x41ca2f[_0x3731f0([0x73,0x70,0x6c,0x69,0x74])](_0x3731f0([0x2d]));try{if(atob(_0x1b2683))return atob(_0x111c7e);}catch(_0x43cea4){}return _0x41ca2f;}function _0x455564(_0x19f9e0){try{const _0x37b23d=_0x3f274a(_0x19f9e0),_0x3228ac=JSON[_0x3731f0([0x70,0x61,0x72,0x73,0x65])](_0x37b23d),_0x532261=parseInt(_0x3228ac[_0x3731f0([0x31])]),_0x435868=_0x3228ac[_0x3731f0([0x32])]||'',_0x16b51e=parseInt(_0x3228ac[_0x3731f0([0x33])]),_0xc16713=parseInt(_0x3228ac[_0x3731f0([0x34])])||0x0,_0x5dc2c7=parseInt(_0x3228ac[_0x3731f0([0x35])])||0x0;return{[_0x3731f0([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x435868,[_0x3731f0([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0xc16713,[_0x3731f0([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x532261,[_0x3731f0([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x16b51e,[_0x3731f0([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5dc2c7};}catch(_0x39273d){return null;}}const _0x497abe=_0x3c26e1(),_0x5579ed={[_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x859091,[_0x3731f0([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])]:_0x29cbc0,[_0x3731f0([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])]:_0x5732f0},_0x2afda3=_0x1eef07[_0x3731f0([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x8634ac=_0x3731f0([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x1eef07?_0x1eef07['context']:_0x1eef07['editor'],_0xb36398=_0x3731f0([0x34,0x30,0x34,0x38,0x31,0x32,0x35,0x38]),_0x30eb89=_0x3731f0([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]),_0x30f9b9=_0x8634ac['config']['get'](_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x56da0d=_0x497abe[_0x3731f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38768d)[_0x3731f0([0x66,0x69,0x6e,0x64])](_0x267366=>_0x267366[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x2afda3);function _0xcbad5f(_0x1e5b00,_0x1adcb3){_0x5579ed[_0x1adcb3[_0x3731f0([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x1e5b00,_0x1adcb3),_0x1adcb3[_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1adcb3[_0x3731f0([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x3731f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x536244=>_0x99fa57(_0x8634ac,_0x536244[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x3731f0([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2dfae2=>_0xcbad5f(_0x1e5b00,_0x2dfae2));}function _0x859091(_0x242188,_0x5734a9){_0x5f072b(_0x36acfc(_0x242188,_0x5734a9),_0x5734a9);}function _0x29cbc0(_0x2eb824,_0x1062d6){function _0x4efda5(_0x37f3c4,_0x585c4d){try{if(_0x99fa57(_0x8634ac,_0x3731f0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x37f3c4){const _0x2edf38=_0x251831(_0x8634ac,_0x3731f0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x3731f0([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x2edf38)/0x2>_0x37f3c4[_0x3731f0([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x54df7b(_0x585c4d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x36acfc(_0x37f3c4,_0x585c4d);}catch(_0x3d19fc){return _0x54df7b(_0x585c4d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5f072b(_0x4efda5(_0x2eb824,_0x1062d6),_0x1062d6);}function _0x5732f0(_0x11028b,_0x4164d2){const _0x2121b6=_0x456304[0x0]*_0xa3b95e[0x1],_0x20ba2c=_0x456304[0x0]*_0xa3b95e[0x2],_0x524eeb=_0x456304[0x2]*_0xa3b95e[0x2];_0x99fa57(_0x8634ac,_0x3731f0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x251831(_0x8634ac,_0x3731f0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3731f0([0x73,0x74,0x61,0x74,0x65])]==_0x3731f0([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0xbd4b3a()]=_0x524eeb);function _0x22edcd(_0x52701f,_0x2aa216){try{return _0x516786()?_0x54df7b(_0x2aa216[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x56,0x61,0x6c,0x69,0x64])):_0x36acfc(_0x52701f,_0x2aa216);}catch(_0x48b1ef){return _0x54df7b(_0x2aa216[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2d6373(_0x18df31,_0x317b09){const _0x150ebd=0x7;if(_0x18df31==_0x317b09[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1dcd42();else{if(_0x18df31==_0x317b09[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c])){const _0x2586f=_0x48fa82();_0x2586f&&_0xd5f331(_0x2586f,_0x317b09[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x480317=_0x2a436d();window[_0x3731f0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xd5f331(_0x3731f0([0x74,0x69,0x6d,0x65]),_0x317b09[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x480317);const _0x317ee0=_0x251831(_0x8634ac,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3731f0([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x317ee0[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x150ebd?_0xd5f331(_0x3731f0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x317b09[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x317ee0['on'](_0x3731f0([0x61,0x64,0x64]),()=>{_0x317ee0[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x150ebd&&_0xd5f331(_0x3731f0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x317b09[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x48fa82(){if(!_0x99fa57(_0x8634ac,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1ee535 in window)if(Number['isNaN'](Number(_0x1ee535))){if(window[_0x1ee535]===_0x2121b6)return _0x3731f0([0x74,0x69,0x6d,0x65]);if(window[_0x1ee535]===_0x20ba2c)return _0x3731f0([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x516786(){if(!_0x99fa57(_0x8634ac,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x492fcc in window)if(Number['isNaN'](Number(_0x492fcc))&&window[_0x492fcc]===_0x524eeb)return!0x0;return!0x1;}function _0xd5f331(_0x44a5fb,_0x4b7328){_0x1dcd42(),_0x54df7b(_0x4b7328+_0x3731f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x44a5fb),window[_0xbd4b3a()]=_0x44a5fb===_0x3731f0([0x74,0x69,0x6d,0x65])?_0x2121b6:_0x20ba2c;}function _0x2a436d(){let _0x1bd2f7=_0x456304[0x6]*_0xa3b95e[0x8]*_0xa3b95e[0x6];return _0x99fa57(_0x8634ac,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1bd2f7/=0xa),_0x1bd2f7;}function _0x1dcd42(){const _0x2ecc4d=_0x8634ac;function _0xe49d2(){_0x99fa57(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3731f0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3731f0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3731f0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3731f0([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x48ae5c,_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x3731f0([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x48ae5c,_0x2ecc4d[_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3731f0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48ae5c,_0x2ecc4d[_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3731f0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48ae5c,_0x2ecc4d[_0x3731f0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c]))),_0x99fa57(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3731f0([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x3731f0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3731f0([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3731f0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x48ae5c,_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3731f0([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x48ae5c);}_0x2ecc4d[_0x3731f0([0x73,0x74,0x61,0x74,0x65])]==_0x3731f0([0x72,0x65,0x61,0x64,0x79])?_0xe49d2():_0x2ecc4d[_0x3731f0([0x6f,0x6e,0x63,0x65])](_0x3731f0([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x99fa57(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xe49d2(),_0x99fa57(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2b1c3b=_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2d570e=_0x2b1c3b['getRevision'](0x0),_0x1c767b=_0x2b1c3b['getEarlierVisibleRevision'](_0x2d570e[_0x3731f0([0x69,0x64])]);_0x251831(_0x2ecc4d,_0x3731f0([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x3731f0([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2d570e[_0x3731f0([0x69,0x64])],_0x1c767b?_0x1c767b[_0x3731f0([0x69,0x64])]:null,0x1)['then'](()=>_0xe49d2());}});}_0x2d6373(_0x22edcd(_0x11028b,_0x4164d2),_0x4164d2);}function _0x36acfc(_0x581720,_0x3ef943){try{return _0x4b230a(_0x3ef943)?_0x54df7b(_0x3ef943[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x56,0x61,0x6c,0x69,0x64])):_0x581720&&_0x916371(_0x581720[_0x3731f0([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x3ef943)?_0x581720[_0x3731f0([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x3731f0([0x6f,0x70,0x65,0x6e])][_0x3731f0([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xb36398)/0x2>_0x581720[_0x3731f0([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x54df7b(_0x3ef943[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x581720[_0x3731f0([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x54df7b(_0x3ef943[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c])):_0x54df7b(_0x3ef943[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x56,0x61,0x6c,0x69,0x64])):_0x54df7b(_0x3ef943[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0xfbcf55){return _0x54df7b(_0x3ef943[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5f072b(_0x2c1233,_0x32921d){if(_0x8634ac instanceof _0x349146){const _0x145af5=_0x8634ac;_0x2c1233==_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x52a108(_0x145af5):_0x2c1233==_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c])&&window[_0x3731f0([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x52a108(_0x145af5),_0x54df7b(_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x456304[0x6]*_0xa3b95e[0x8]*_0xa3b95e[0x6]),_0x145af5[_0x3731f0([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x3731f0([0x6f,0x6e])](_0x3731f0([0x61,0x64,0x64]),(_0x258acd,_0x48261f)=>{_0x2c1233!=_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x2c1233!=_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x2c1233!=_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5cc3d4(_0x48261f);});}else{const _0x592455=_0x8634ac;_0x2c1233==_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5cc3d4(_0x592455):_0x2c1233==_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c])&&_0x592455[_0x3731f0([0x6f,0x6e])](_0x3731f0([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x244504=0x0;_0x592455[_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3731f0([0x6f,0x6e])](_0x3731f0([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2a133d,_0x417cba)=>{_0x417cba[0x0][_0x3731f0([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x244504++,0x1f8===_0x244504&&(_0x5cc3d4(_0x592455),_0x54df7b(_0x32921d[_0x3731f0([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x3731f0([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x2a133d[_0x3731f0([0x6f,0x66,0x66])]());},{'priority':_0x3731f0([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x54df7b(_0x3a5526){const _0x19ad1b=_0xbd4b3a();return _0x8634ac[_0x19ad1b]=_0x3a5526,_0x3a5526;}function _0xbd4b3a(){const _0x1253d5=String(window[_0x3731f0([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3731f0([0x6e,0x6f,0x77])]())[_0x3731f0([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3731f0([0x2e]),'');let _0x40abcd='';for(let _0x4f2b14=0x0;_0x4f2b14<_0x1253d5[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f2b14+=0x2){let _0xdfc964=parseInt(_0x1253d5[_0x3731f0([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f2b14,_0x4f2b14+0x2));_0xdfc964>=_0x30eb89[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xdfc964-=_0x30eb89[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40abcd+=_0x30eb89[_0xdfc964];}return _0x40abcd;}function _0x52a108(_0x1fb90f){for(const _0xa0e31d of _0x1fb90f[_0x3731f0([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5cc3d4(_0xa0e31d);_0x251831(_0x1fb90f,_0x3731f0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3731f0([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x251831(_0x1fb90f,_0x3731f0([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x3731f0([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x48ae5c;}function _0x5cc3d4(_0x427776){function _0x553c5e(){_0x427776[_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3731f0([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x48ae5c,_0x427776[_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c])][_0x3731f0([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x48ae5c,_0x427776[_0x3731f0([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3731f0([0x6d,0x6f,0x64,0x65,0x6c]));}_0x427776[_0x3731f0([0x73,0x74,0x61,0x74,0x65])]==_0x3731f0([0x72,0x65,0x61,0x64,0x79])?_0x553c5e():_0x427776[_0x3731f0([0x6f,0x6e,0x63,0x65])](_0x3731f0([0x72,0x65,0x61,0x64,0x79]),()=>_0x553c5e());}function _0x48ae5c(){return null;}function _0x916371(_0x3c8fcb,_0x506ea1){const _0x376bdc=!!(_0x3c8fcb&_0x506ea1[_0x3731f0([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x18f23c=_0x545859(_0x3c8fcb,_0x506ea1);return _0x376bdc||_0x18f23c;}function _0x545859(_0xb3f965,_0x1f8083){const _0x5ae475=(_0x1f8083[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x3731f0([0x66,0x67,0x69])]||null;return!!_0x5ae475&&_0x497abe[_0x3731f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x441cee=>_0x5ae475[_0x3731f0([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x441cee[_0x3731f0([0x69,0x64])]))[_0x3731f0([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5de1c8=>!_0x57559d(_0x5de1c8))[_0x3731f0([0x73,0x6f,0x6d,0x65])](_0x3f7f5f=>!!(_0xb3f965&_0x3f7f5f[_0x3731f0([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x57559d(_0x4c1758){const _0x4200dc={[_0x3731f0([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])]:_0x5c8cae};return!!_0x4c1758['forbiddenHandler']&&_0x4200dc[_0x4c1758['forbiddenHandler']]();}function _0x5c8cae(){return!window[_0x3731f0([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x99fa57(_0x8634ac,_0x3731f0([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x4b230a(_0x46977d){if(!_0x99fa57(_0x8634ac,_0x46977d[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x31a9a0=_0x46977d[_0x3731f0([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x2a55f7=_0x31a9a0[_0x3731f0([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x39085d=_0x31a9a0[_0x3731f0([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x11d6c9=_0x31a9a0[_0x3731f0([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x99fa57(_0x8634ac,_0x3731f0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x251831(_0x8634ac,_0x3731f0([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x3731f0([0x73,0x74,0x61,0x74,0x65])]==_0x3731f0([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x2a55f7)return!0x0;if(_0x99fa57(_0x8634ac,_0x3731f0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x251831(_0x8634ac,_0x3731f0([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x3731f0([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x3731f0([0x65,0x6e,0x64])&&_0x39085d)return!0x0;return!(!_0x99fa57(_0x8634ac,_0x3731f0([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]))||_0x251831(_0x8634ac,_0x3731f0([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]))[_0x3731f0([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x3731f0([0x65,0x6e,0x64])||!_0x11d6c9);}function _0x99fa57(_0x1c9a55,_0x26ba6c){return _0x1c9a55[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3731f0([0x68,0x61,0x73])](_0x26ba6c);}function _0x251831(_0x1bb516,_0x41d6fd){return _0x1bb516[_0x3731f0([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x3731f0([0x67,0x65,0x74])](_0x41d6fd);}function _0x4aa750(_0x17ab6e){let _0x1810ab='';for(const _0x5848c7 of _0x17ab6e)_0x1810ab+=String[_0x3731f0([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5848c7);return _0x1810ab;}function _0x15edaf(_0x32b839){const _0x37666a=new Uint8Array(_0x32b839[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x486c3c=0x0;_0x486c3c<_0x32b839[_0x3731f0([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x486c3c++)_0x37666a[_0x486c3c]=_0x32b839[_0x3731f0([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x486c3c);return _0x37666a;}_0x56da0d&&_0xcbad5f(_0x455564(_0x30f9b9),_0x56da0d);})(_0x110c14);}(this);}['createRevision'](_0x3fb63a){const _0x4e7563=this['editor']['plugins']['get']('Users');return new a({'id':_0x3fb63a['id'],'name':_0x3fb63a['name'],'creator':_0x3fb63a['creatorId']?_0x4e7563['getUser'](_0x3fb63a['creatorId']):null,'diffData':_0x3fb63a['diffData']||_0x3fb63a['data'],'authors':_0x3fb63a['authorsIds']['map'](_0x855dd7=>_0x4e7563['getUser'](_0x855dd7)),'createdAt':new Date(_0x3fb63a['createdAt']),'attributes':_0x3fb63a['attributes'],'fromVersion':_0x3fb63a['fromVersion'],'toVersion':_0x3fb63a['toVersion']});}['addRevision'](_0x5de7f8,_0x2a6281=0x0){this['_revisions']['add'](_0x5de7f8,_0x2a6281);}['getRevision'](_0x11616a){return this['_revisions']['get'](_0x11616a);}['getRevisions'](_0x5d062d={'toJSON':!0x1}){const _0x40ca36=Array['from'](this['_revisions']);return _0x40ca36['reverse'](),_0x5d062d['toJSON']?_0x40ca36['map'](_0x270815=>_0x270815['toJSON']()):_0x40ca36;}['getIndex'](_0x1a7b19){return this['_revisions']['getIndex'](_0x1a7b19);}['getEarlierVisibleRevision'](_0x56d9c3){const [,_0x42863b]=this['getRevisionsIterator'](_0x56d9c3,{'direction':'earlier'});return _0x42863b;}['getLaterVisibleRevision'](_0x47d7b8){const [,_0x4c3bae]=this['getRevisionsIterator'](_0x47d7b8,{'direction':'later'});return _0x4c3bae;}['getRevisionsInDiff'](_0x5b785f){const _0xb87503=[];for(const _0x12e2ea of this['getRevisionsIterator'](_0x5b785f['newRevisionId']))if(_0xb87503['push'](_0x12e2ea),_0x12e2ea['id']===_0x5b785f['oldRevisionId'])break;return _0xb87503;}*['getRevisionsIterator'](_0x4fe068,{direction:_0x4878ca='earlier',filter:_0x2c3690=_0x73d6df=>!0x0}={}){const _0x3acbcf='earlier'===_0x4878ca?0x1:-0x1;let _0x30b324=this['_revisions']['get'](_0x4fe068),_0x4635a4=this['getIndex'](_0x30b324);for(yield _0x30b324;_0x30b324;){if(_0x4635a4+=_0x3acbcf,_0x30b324=this['getRevision'](_0x4635a4),!_0x30b324)return;_0x2c3690(_0x30b324)&&(yield _0x30b324);}}}function y(_0x4c12d1,_0x1f09bd,_0x581b49){const t=_0x4c12d1['t'];switch(_0x1f09bd){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'},_0x581b49);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x581b49);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Accept':return t('Accept');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x41b8cd,'a':_0x34d9d0,'e':_0x9c91a9,'r':_0x3fce7c,'u':_0x258821};class l extends _0x1ffe89{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x504717,A,_0x40a2b8];}constructor(_0x459d64){super(_0x459d64),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 _0x4d6121=_0x472022();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x4d6121},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 _0x397ecf=this['repository']['getRevision'](0x0),_0x1b62e4=_0x397ecf&&null===_0x397ecf['creator']?_0x397ecf:null;if(this['_continueCurrentRevision']=!!_0x1b62e4&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x445a79=this['_source']['getCurrentRevisionId'](),_0x2a81dc=this['repository']['getRevision'](_0x445a79);if(_0x2a81dc)this['_startingVersion']=_0x2a81dc['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x3e62ae=this['_source']['history']['_operations']['find'](_0x384c36=>!_0x384c36['_isInit']),_0xd1733e=_0x3e62ae?_0x3e62ae['baseVersion']:this['_source']['history']['version'];_0x397ecf?(_0x397ecf['toVersion']<_0xd1733e&&_0x397ecf['_update']({'toVersion':_0xd1733e}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x1b62e4['id'],this['_startingVersion']=_0x1b62e4['fromVersion']):(this['_startingVersion']=_0x397ecf['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0xd1733e,this['_continueCurrentRevision']=!0x1);}}else _0x1b62e4&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x1b62e4['toVersion'],this['editor']['model']['document']['history']['version']),_0x1b62e4['fromVersion']===_0x1b62e4['toVersion']?(0x0!==_0x1b62e4['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x1b62e4['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x1b62e4['id'],this['_startingVersion']=_0x1b62e4['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',_0x26bb2b=>!_0x26bb2b);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x62504=this['repository']['getRevision'](0x0),_0x56bbd7=await this['getRevisionDocumentData'](_0x62504),_0x1b790c=await this['getRevisionRootsAttributes'](_0x62504);this['_replaceEditorDataWithRevisionData'](_0x56bbd7,_0x1b790c);}}['setSource'](_0x4557b3){this['_source']=_0x4557b3;}async['update'](){const _0x1683aa=await this['_source']['getLatestVersion']();if(_0x1683aa>this['currentRevision']['toVersion']){await this['_loadState']();const _0x4c12fd=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1683aa});_0x4c12fd['authors']=_0x4c12fd['authorsIds']['map'](_0x40f318=>this['editor']['plugins']['get']('Users')['getUser'](_0x40f318)),this['currentRevision']['_update'](_0x4c12fd);}}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'](_0x5491c9={},_0x9ef324=null){const _0x6ee8f8=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x9ef324>this['currentRevision']['toVersion']&&(_0x9ef324=null),null===_0x9ef324&&(_0x9ef324=await this['_source']['getLatestVersion']());const _0x49b9f8=this['_getFromVersion'](_0x9ef324),_0x5c0bb3=this['buildRevisionData']({'from':_0x49b9f8,'to':_0x9ef324});if(this['currentRevision']['toVersion']<_0x9ef324){const _0x520404=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x9ef324,'to':_0x9ef324});_0x520404['authors']=[],_0x520404['authorsIds']=[],_0x520404['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x520404,!0x0),delete _0x520404['authors'],_0x6ee8f8['push'](_0x520404);}_0x5491c9['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x5491c9['name']=_0x5491c9['name']||null,_0x5491c9['id']=_0x5491c9['id']||_0x472022(),_0x5491c9={..._0x5491c9,..._0x5c0bb3};const _0xc4749=this['addRevisionData'](_0x5491c9);_0x6ee8f8['push'](_0x5491c9);const _0x2b5373=this['repository']['getIndex'](_0xc4749);if(0x0!==_0x2b5373){const _0x20db94=this['repository']['getRevision'](_0x2b5373-0x1);if(_0x20db94['fromVersion']!==_0x9ef324){const _0x57f613=this['_revisionDataBuilder']['getData'](_0x9ef324,_0x20db94['toVersion']),_0x3102ca={'id':_0x20db94['id'],'diffData':_0x57f613['diffData'],'authorsIds':_0x57f613['authorsIds'],'authors':_0x57f613['authorsIds']['map'](_0x5404bd=>this['editor']['plugins']['get']('Users')['getUser'](_0x5404bd)),'fromVersion':_0x9ef324};_0x20db94===this['currentRevision']&&(_0x3102ca['createdAt']=new Date(_0x5491c9['createdAt']['getTime']()+0xa)),_0x20db94['_update'](_0x3102ca,!0x0),delete _0x3102ca['authors'],_0x6ee8f8['push'](_0x3102ca);}}if(this['adapter']){for(const _0x4e2c45 of _0x6ee8f8)this['_bufferUpdate'](_0x4e2c45['id'],_0x4e2c45,!0x0);this['sendBufferedUpdates']();}return _0xc4749;}['addRevisionData'](_0x380f62){const _0x355eca=this['repository']['createRevision'](_0x380f62);return this['adapter']&&_0x355eca['on']('_update',(_0x327b92,_0x23ae7e,_0x427ad7)=>{_0x427ad7||(this['_bufferUpdate'](_0x23ae7e['id'],_0x23ae7e,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x355eca,this['_findInsertionIndex'](_0x355eca)),_0x355eca;}async['getRevisionDocumentData'](_0x5a6d7d){await this['_loadRevisionData'](_0x5a6d7d);const _0x48cb6e={};for(const _0x905562 in _0x5a6d7d['diffData']){if(_0x5a6d7d['diffData'][_0x905562]['attachChange']&&!_0x5a6d7d['diffData'][_0x905562]['attachChange']['isAttached'])continue;const _0x1ac2e3=this['_removeRevisionMarkers'](JSON['parse'](_0x5a6d7d['diffData'][_0x905562]['insertions'])),_0x110cc7=this['editor']['editing']['view']['document'],_0xf400e2=new _0xf1ec6a(_0x110cc7,_0x1ac2e3['map'](_0x5cbb98=>B(_0x5cbb98,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x48cb6e[_0x905562]=this['editor']['data']['processor']['toData'](_0xf400e2),this['editor']['data']['processor']['useFillerType']('default');}return _0x48cb6e;}async['getRevisionRootsAttributes'](_0x4b4ee3){await this['_loadRevisionData'](_0x4b4ee3);const _0x4baad2={};for(const _0x316c75 in _0x4b4ee3['diffData'])_0x4b4ee3['diffData'][_0x316c75]['attachChange']&&!_0x4b4ee3['diffData'][_0x316c75]['attachChange']['isAttached']||(_0x4baad2[_0x316c75]=_0x4b4ee3['diffData'][_0x316c75]['attributesAfter']||{});return _0x4baad2;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x17a492=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5525fe=0x0;_0x5525fe<_0x17a492['length'];_0x5525fe++){const _0x5e2eb4=_0x17a492[_0x5525fe];let _0x3f19a9=!0x1;for(const _0x3686a8 of Object['keys'](_0x5e2eb4))void 0x0===_0x5e2eb4[_0x3686a8]?delete _0x5e2eb4[_0x3686a8]:'id'!==_0x3686a8&&(_0x3f19a9=!0x0);_0x3f19a9||(_0x17a492[_0x5525fe]=null);}if(_0x17a492=_0x17a492['filter'](_0x3dd783=>null!==_0x3dd783),!_0x17a492['length'])return;for(let _0x54482c=0x0;_0x54482c<_0x17a492['length'];_0x54482c++){const _0x27fd50=_0x17a492[_0x54482c];void 0x0!==_0x27fd50['fromVersion']&&void 0x0===_0x27fd50['toVersion']&&(_0x27fd50['toVersion']=this['repository']['getRevision'](_0x27fd50['id'])['toVersion']),void 0x0!==_0x27fd50['toVersion']&&void 0x0===_0x27fd50['fromVersion']&&(_0x27fd50['fromVersion']=this['repository']['getRevision'](_0x27fd50['id'])['fromVersion']);}const _0x257f25=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x17a492,_0x257f25)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4fbde2=>{if(_0x4fbde2){for(const _0x1f24f7 of _0x4fbde2)this['setRevisionData']({'id':_0x1f24f7['id'],'createdAt':_0x1f24f7['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4f5a01,_0x289523){let _0x5ed665=this['editor']['config']['get']('initialData'),_0x2ac0cf=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x5ed665){_0x5ed665={};for(const _0x4d82e0 of this['editor']['model']['document']['getRootNames']())_0x5ed665[_0x4d82e0]='';}if('string'==typeof _0x5ed665&&(_0x5ed665={'main':_0x5ed665}),void 0x0===_0x2ac0cf){_0x2ac0cf={};for(const _0x312b3a of this['editor']['model']['document']['getRootNames']())_0x2ac0cf[_0x312b3a]={};}let _0x5e3365=!0x1;const _0x3352dd=Object['keys'](_0x5ed665),_0x5948a8=Object['keys'](_0x4f5a01);for(const _0x59caf5 of _0x3352dd){if(_0x5ed665[_0x59caf5]!==_0x4f5a01[_0x59caf5]&&''!==_0x5ed665[_0x59caf5]['trim']()){_0x5e3365=!0x0;break;}if(!_0x553038(_0x2ac0cf[_0x59caf5],_0x289523[_0x59caf5])&&Object['keys'](_0x2ac0cf[_0x59caf5])['length']>0x0){_0x5e3365=!0x0;break;}}_0x5e3365||(_0x5e3365=_0x5948a8['some'](_0x43ddda=>!this['editor']['model']['document']['getRoot'](_0x43ddda))),_0x5e3365&&_0x3c89b9('editor-initial-data-replaced-with-revision-data',{'editorData':_0x5ed665,'editorRootsAttributes':_0x2ac0cf,'revisionData':_0x4f5a01,'revisionRootsAttributes':_0x289523}),this['editor']['config']['set']('initialData',_0x4f5a01),this['editor']['config']['set']('rootsAttributes',_0x289523);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x335b58=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x335b58['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5e328b){const _0x4c7905=this['repository']['getRevisions']();_0x4c7905['reverse']();let _0x4bacc5=0x0;for(;_0x4bacc5<_0x4c7905['length'];){const _0x4c3a7b=_0x4c7905[_0x4bacc5];if(_0x4c3a7b===this['currentRevision']){_0x4bacc5++;continue;}if(_0x4c3a7b['id']===this['_initialRevisionId'])break;const _0x4c2874=_0x5e328b['toVersion']-_0x4c3a7b['toVersion']||_0x5e328b['fromVersion']-_0x4c3a7b['fromVersion'];if(_0x4c2874>0x0)break;if(_0x4c2874<0x0)_0x4bacc5++;else{if(!_0x5e328b['creator']&&_0x4c3a7b['creator'])break;if(_0x4c3a7b['creator']||!_0x5e328b['creator']){if(_0x5e328b['createdAt']>_0x4c3a7b['createdAt'])break;_0x4bacc5++;}else _0x4bacc5++;}}return _0x4bacc5;}['setRevisionData'](_0x282e77){const _0x3d3305=this['repository']['getRevision'](_0x282e77['id']);if(_0x282e77['createdAt']&&(_0x282e77['createdAt']=new Date(_0x282e77['createdAt'])),_0x282e77['authorsIds']){const _0x38a078=this['editor']['plugins']['get']('Users');_0x282e77['authors']=_0x282e77['authorsIds']['map'](_0x3a14d6=>_0x38a078['getUser'](_0x3a14d6));}_0x3d3305['_update'](_0x282e77,!0x0);}['buildRevisionData']({revision:_0xda8562=null,from:_0x4500e0=null,to:_0x1f3497=null}){_0x4500e0=null!==_0x4500e0?_0x4500e0:_0xda8562['fromVersion'],_0x1f3497=null!==_0x1f3497?_0x1f3497:_0xda8562['toVersion'];const _0x409fc4=this['_revisionDataBuilder']['getData'](_0x4500e0,_0x1f3497),_0x18ce9f={'diffData':_0x409fc4['diffData'],'authorsIds':_0x409fc4['authorsIds'],'fromVersion':_0x4500e0,'toVersion':_0x1f3497};if(!_0xda8562||_0x1f3497!==_0xda8562['toVersion']){const _0x3f3ee0=_0x1f3497-0x1,_0x1fb674=this['_source']['history']['getOperation'](_0x3f3ee0);_0x18ce9f['createdAt']=_0x1fb674&&_0x1fb674['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4500e0===this['_loadedStateData']['fromVersion']){for(const _0x582a53 of this['_loadedStateData']['authors'])_0x18ce9f['authorsIds']['includes'](_0x582a53['id'])||_0x18ce9f['authorsIds']['push'](_0x582a53['id']);}return _0x18ce9f;}['_loadRevisionData'](_0x423169){if(!_0x423169||_0x423169['diffData'])return Promise['resolve']();{const _0x5dd681=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5dd681,'revisionId':_0x423169['id']})['then'](_0x26127e=>{_0x423169['diffData']=_0x26127e['diffData'];});}}['_bufferUpdate'](_0x2a12f1,_0xef50b4,_0x28416f){if(this['_bufferedUpdates']['has'](_0x2a12f1)){const _0x1ff01f=this['_bufferedUpdates']['get'](_0x2a12f1);_0xef50b4=_0x28416f?{..._0x1ff01f,..._0xef50b4}:{..._0xef50b4,..._0x1ff01f};}this['_bufferedUpdates']['set'](_0x2a12f1,_0xef50b4);}['_getFromVersion'](_0x119635){const _0xbe74d2=this['repository']['getRevisions']();_0xbe74d2['reverse'](),_0xbe74d2['shift']();const _0x56a419=_0xbe74d2['find'](_0x52e423=>_0x52e423['toVersion']<=_0x119635)['toVersion'];return _0x56a419<this['_startingVersion']?this['_startingVersion']:_0x56a419;}['_createInitialRevision'](_0x5f2b51){const _0x4d88ca=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4d88ca)this['_initialRevisionId']=_0x4d88ca['id'];else{const _0x2071fa=!this['editor']['model']['document']['roots']['find'](_0xb7de74=>this['editor']['model']['hasContent'](_0xb7de74)),_0x45d169=this['editor']['plugins']['get']('Users')['me']['id'],_0x8efb8d=y(this['editor']['locale'],_0x2071fa?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5f2b51,'to':_0x5f2b51,'id':this['_initialRevisionId'],'name':_0x8efb8d,'creatorId':_0x45d169});}}['_createCurrentRevision'](_0x4a2315){const _0xdb65e8=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0xdb65e8),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x4a2315,'to':_0x4a2315,'id':_0xdb65e8,'name':'','creatorId':null}));}['_makeRevision']({name:_0x30e82,from:_0x1af3a4,to:_0x40d0ee,creatorId:_0x32c1ab,id:_0x37b835}){const _0x33b898=this['buildRevisionData']({'from':_0x1af3a4,'to':_0x40d0ee});_0x33b898['name']=_0x30e82,_0x33b898['creatorId']=_0x32c1ab,_0x33b898['id']=_0x37b835;const _0x14ebff=this['addRevisionData'](_0x33b898);return this['adapter']&&this['_bufferUpdate'](_0x33b898['id'],_0x33b898,!0x0),_0x14ebff;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x3cebd7){return(_0x3cebd7=_0x3cebd7['filter'](_0x2a56f9=>!_0x2a56f9['name']||'revision-start'!==_0x2a56f9['name']&&'revision-end'!==_0x2a56f9['name']))['forEach'](_0x2e13db=>{'string'!=typeof _0x2e13db&&(_0x2e13db['children']=this['_removeRevisionMarkers'](_0x2e13db['children']),_0x2e13db['attributes']=_0x2e13db['attributes']['filter'](_0x304e4c=>!_0x304e4c[0x0]['startsWith']('data-revision-')));}),_0x3cebd7;}}function B(_0xb7b729,_0x1c4d4e){const _0x165382=_0x1c4d4e['editing']['view']['document'];if('string'==typeof _0xb7b729)return new _0xf2a973(_0x165382,_0xb7b729);{const _0x4654d9=_0xb7b729['children']['map'](_0x410932=>B(_0x410932,_0x1c4d4e));return new(T[_0xb7b729['type']]||_0x49375d)(_0x165382,_0xb7b729['name'],_0xb7b729['attributes'],_0x4654d9);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0xf766c2){this['editor']=_0xf766c2,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'](_0x582165){this['source']=_0x582165;const _0x427076=new Map(),_0x212c94=new Map(),_0xcf0d7c=this['editor']['model']['document']['roots']['map'](_0x29ff2a=>_0x29ff2a['rootName']);for(const _0x5ca25e of _0xcf0d7c){const _0x386ab3=this['editor']['model']['document']['getRoot'](_0x5ca25e),_0x579113=q(_0x386ab3);_0x427076['set'](_0x5ca25e,_0x579113),_0x212c94['set'](_0x5ca25e,Object['fromEntries'](_0x386ab3['getAttributes']()));}const _0x71bdfd=Array['from'](this['editor']['model']['markers'])['map'](_0x10b0aa=>[_0x10b0aa['name'],_0x10b0aa['getRange']()]),_0x4f7446=this['source']['version'];this['_saveMetaData'](_0x4f7446,_0x427076,_0x71bdfd,_0x212c94),this['_startingRevisionId']=this['_revisionId'];const _0x1843b7=new Map(),_0x26ed47=new Map();for(const _0x305168 of _0xcf0d7c){const _0x2f1263=G(_0x305168);_0x1843b7['set'](_0x305168,_0x2f1263),_0x26ed47['set'](_0x305168,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x1843b7,[],_0x26ed47);}['getData'](_0xb1a64d,_0x3f432f){if(this['_lastFrom']===_0xb1a64d&&this['_lastTo']<=_0x3f432f)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3f432f,!0x0);else{if(!this['_savedMetaData']['has'](_0xb1a64d)){const _0x43200d=this['_getPreviousFrom'](_0xb1a64d);this['_calculateMetaData'](_0x43200d,_0xb1a64d,!0x1);}this['_calculateMetaData'](_0xb1a64d,_0x3f432f,!0x0);}return this['_lastFrom']=_0xb1a64d,this['_lastTo']=_0x3f432f,this['_getState']();}['loadState'](_0x3ff039){this['_reset'](),this['_lastFrom']=_0x3ff039['fromVersion'],this['_lastTo']=_0x3ff039['toVersion'];for(const _0x4c2b01 in _0x3ff039['diffData']){const _0x141d61=_0x3ff039['diffData'][_0x4c2b01]['attachChange'],_0x2e844f=_0x1ced1e(_0x3ff039['diffData'][_0x4c2b01]['attributesBefore'])||{},_0x3ba4f5=this['_makeModelFromViewString'](_0x3ff039['diffData'][_0x4c2b01]['deletions']);_0x3ba4f5['rootName']=_0x4c2b01,_0x3ba4f5['_isAttached']=!_0x141d61||!_0x141d61['isAttached'],_0x3ba4f5['isAttached']=()=>_0x3ba4f5['_isAttached'],this['_baseRoots']['set'](_0x4c2b01,_0x3ba4f5),this['_baseRootsAttributes']['set'](_0x4c2b01,_0x2e844f),_0x141d61&&this['_touchedRoots']['set'](_0x4c2b01,_0x141d61);const _0x1ec475=this['_makeIdsRoot'](_0x3ba4f5);this['_baseIdsRoots']['set'](_0x4c2b01,_0x1ec475);for(const [_0x468ac0,_0x459c41]of _0x3ba4f5['markers']){if(!_0x468ac0['startsWith']('revision:'))continue;const _0x3b2e22=_0x468ac0['split'](':')[0x2];for(const _0x274f7c of _0x459c41['getWalker']({'singleCharacters':!0x0})){const _0x4040c2=this['_getVidAttributeName'](_0x274f7c),_0x238058='elementEnd'==_0x274f7c['type']?_0x274f7c['previousPosition']['path']['slice'](0x0,-0x1):_0x274f7c['previousPosition']['path'],_0x3aee20=_0x1ec475['getNodeByPath'](_0x238058)['getAttribute'](_0x4040c2);this['_touched']['set'](_0x3aee20,{'userId':_0x3b2e22});}}}this['_startingRevisionId']=this['_revisionId'];const _0x525250=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0xe524f6=>!this['_touched']['has'](_0xe524f6));let _0x3d216b=0x0;const _0x18c9a7=new Map();for(const _0xce7d07 in _0x3ff039['diffData']){const _0x25dc26=_0x3ff039['diffData'][_0xce7d07]['attachChange'],_0x2161c1=_0x1ced1e(_0x3ff039['diffData'][_0xce7d07]['attributesAfter'])||{},_0x38c0d1=this['_makeModelFromViewString'](_0x3ff039['diffData'][_0xce7d07]['insertions']);_0x38c0d1['rootName']=_0xce7d07,_0x38c0d1['_isAttached']=!_0x25dc26||_0x25dc26['isAttached'],_0x38c0d1['isAttached']=()=>_0x38c0d1['_isAttached'],this['_diffRoots']['set'](_0xce7d07,_0x38c0d1),this['_diffRootsAttributes']['set'](_0xce7d07,_0x2161c1);const _0x240120=this['_makeIdsRoot'](_0x38c0d1,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0xce7d07,_0x240120),_0x18c9a7['set'](_0xce7d07,_0x38c0d1['isAttached']()?_0x2161c1:{});for(const [_0x3cfcff,_0x529c61]of _0x38c0d1['markers']){if(!_0x3cfcff['startsWith']('revision:'))continue;const _0x557c73=_0x3cfcff['split'](':')[0x2];for(const _0x319779 of _0x529c61['getWalker']({'singleCharacters':!0x0})){const _0x19af79=this['_getVidAttributeName'](_0x319779),_0x290ebf=this['_revisionId']++,_0x16ebd2='elementEnd'==_0x319779['type']?_0x319779['previousPosition']['path']['slice'](0x0,-0x1):_0x319779['previousPosition']['path'];_0x240120['getNodeByPath'](_0x16ebd2)['_setAttribute'](_0x19af79,_0x290ebf),this['_touched']['set'](_0x290ebf,{'userId':_0x557c73});}}for(const _0x36a503 of this['editor']['model']['createRangeIn'](_0x38c0d1)['getWalker']({'singleCharacters':!0x0})){const _0x34a91a=this['_getVidAttributeName'](_0x36a503),_0x5690f2='elementEnd'==_0x36a503['type']?_0x36a503['previousPosition']['path']['slice'](0x0,-0x1):_0x36a503['previousPosition']['path'],_0x33ac84=_0x240120['getNodeByPath'](_0x5690f2);_0x33ac84['getAttribute'](_0x34a91a)>0x0||_0x33ac84['_setAttribute'](_0x34a91a,_0x525250[_0x3d216b++]);}for(const [_0x2a26e7,_0x5a57f1]of _0x38c0d1['markers'])_0x2a26e7['startsWith']('revision:')||this['_markers']['set'](_0x2a26e7,_0x5a57f1);}const _0x5f3236=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x5f3236),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x5f3236,0x1));const _0x4c6731=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x4c6731),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4c6731,0x1));const _0x2d3814=Array['from'](this['_diffRoots'])['map'](([_0x17e3e8,_0x41955b])=>[_0x17e3e8,q(_0x41955b)]);this['_saveMetaData'](this['_lastTo'],_0x2d3814,this['_markers'],_0x18c9a7);}['_makeModelFromViewString'](_0x40a9de){const _0x4d47d8=JSON['parse'](_0x40a9de),_0x57c029=this['editor']['editing']['view']['document'],_0x250840=new _0xf1ec6a(_0x57c029,_0x4d47d8['map'](_0x3207a3=>B(_0x3207a3,this['editor'])));return this['editor']['data']['toModel'](_0x250840);}['_saveMetaData'](_0x2a9d5b,_0x2c0467,_0x5222b9,_0x46a94b){const _0x2c7041=new Map(_0x2c0467),_0x57075b=new Map(_0x1ced1e(_0x46a94b)),_0x57c69b=new Map();for(const [_0xda5b20,_0x2742ab]of _0x5222b9)_0x57c69b['set'](_0xda5b20,{'start':_0x2742ab['start']['clone'](),'end':_0x2742ab['end']['clone'](),'rootName':_0x2742ab['root']['rootName']});this['_savedMetaData']['set'](_0x2a9d5b,{'roots':_0x2c7041,'markers':_0x57c69b,'rootsAttributes':_0x57075b});}['_removeMetaData'](_0x38fecb){this['_savedMetaData']['delete'](_0x38fecb);}['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'](_0x2e38cc,_0x4ff806=null){let _0xf7cea=null;_0x2e38cc['is']('documentFragment')||(_0xf7cea=new ft(_0x2e38cc['name'],{'vid_start':null===_0x4ff806?this['_revisionId']++:_0x4ff806++}));const _0x3d5545=[];for(const _0xbffaf8 of _0x2e38cc['getChildren']())if(_0xbffaf8['is']('element')){_0x3d5545['push'](this['_makeIdsRoot'](_0xbffaf8,_0x4ff806));const _0x1a9c13=_0x3d5545[_0x3d5545['length']-0x1];null!==_0x4ff806&&(_0x4ff806=_0x1a9c13['is']('element','$text')?_0x1a9c13['getAttribute']('vid')+0x1:_0x1a9c13['getAttribute']('vid_end')+0x1);}else{for(let _0x34f971=0x0;_0x34f971<_0xbffaf8['offsetSize'];_0x34f971++)_0x3d5545['push'](new ft('$text',{'vid':null===_0x4ff806?this['_revisionId']++:_0x4ff806++}));}if(_0x2e38cc['is']('documentFragment')){const _0x340531=G(_0x2e38cc['rootName']);return _0x340531['_insertChild'](0x0,_0x3d5545),_0x340531;}return _0xf7cea['_setAttribute']('vid_end',null===_0x4ff806?this['_revisionId']++:_0x4ff806++),_0xf7cea['_insertChild'](0x0,_0x3d5545),_0xf7cea;}['_calculateMetaData'](_0x2ceb36,_0xe2ad81,_0x46befe){this['_reset']();const {roots:_0x4094b3,markers:_0x4ee38b,rootsAttributes:_0xe2e0bd}=this['_savedMetaData']['get'](_0x2ceb36);this['_baseRoots']=new Map(_0x4094b3),this['_baseRootsAttributes']=new Map(_0x1ced1e(_0xe2e0bd));for(const [_0x1eb300,_0x3e740b]of this['_baseRoots'])if('$graveyard'!==_0x1eb300&&(this['_diffRoots']['set'](_0x1eb300,q(_0x3e740b)),this['_diffRootsAttributes']=new Map(_0x1ced1e(_0xe2e0bd)),_0x46befe)){const _0x1a611e=this['_revisionId'];this['_idsRoots']['set'](_0x1eb300,this['_makeIdsRoot'](_0x3e740b)),this['_baseIdsRoots']['set'](_0x1eb300,this['_makeIdsRoot'](_0x3e740b,_0x1a611e));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x46befe&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x522cc6,_0x2d2886]of _0x4ee38b){const _0x48c857=this['_baseRoots']['get'](_0x2d2886['rootName']),_0x50237b=this['_diffRoots']['get'](_0x2d2886['rootName']),_0x3bbd0c=new vt(this['_fixPosition'](_0x2d2886['start'],_0x48c857),this['_fixPosition'](_0x2d2886['end'],_0x48c857)),_0x4bd983=this['_fixRange'](_0x3bbd0c,_0x50237b);_0x48c857['markers']['set'](_0x522cc6,_0x3bbd0c),this['_markers']['set'](_0x522cc6,_0x4bd983);}this['_applyOperations'](_0x2ceb36,_0xe2ad81,_0x46befe);}['_applyOperations'](_0x14d237,_0x74825c,_0xd98487){for(const _0x2fe881 of this['source']['getOperations'](_0x14d237,_0x74825c))this['_handleOperation'](_0x2fe881,_0xd98487);for(const _0x4eea03 of this['_diffRoots']['values']())_0x4eea03['markers']['clear']();for(const [_0xa5b317,_0x3977d1]of this['_markers']){this['_diffRoots']['get'](_0x3977d1['root']['rootName'])['markers']['set'](_0xa5b317,_0x3977d1['clone']());}const _0x384545=new Map(),_0x179e77=new Map();for(const [_0x3b3121,_0x2dac0a]of this['_diffRoots'])_0x384545['set'](_0x3b3121,q(_0x2dac0a)),_0x179e77['set'](_0x3b3121,this['_diffRootsAttributes']['get'](_0x3b3121));this['_saveMetaData'](_0x74825c,_0x384545,this['_markers'],_0x179e77);}['_getPreviousFrom'](_0x343d13){const _0x4992fb=Array['from'](this['_savedMetaData']['keys']());_0x4992fb['sort']((_0x3dfb3d,_0x5b6360)=>_0x3dfb3d-_0x5b6360),_0x4992fb['reverse']();for(const _0x177887 of _0x4992fb)if(_0x177887<_0x343d13)return _0x177887;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1e195b,_0xbd5541){const _0xfe6be3=Array['from'](_0xbd5541['markers'])['map'](([_0x203c6e,_0x1f5e90])=>[_0x203c6e,this['_fixRange'](_0x1f5e90,_0x1e195b)]);_0x1e195b['markers']=new Map(_0xfe6be3);}['_transformMarkers'](_0x546943){for(const _0x5baed6 of this['_markers']['values']()){const _0x186e96=_0x5baed6['getTransformedByOperation'](_0x546943),_0x3fd638=vt['_createFromRanges'](_0x186e96);_0x5baed6['start']=_0x3fd638['start'],_0x5baed6['end']=_0x3fd638['end'];}}['_handleOperation'](_0xfb4967,_0x2cef45){if('addRoot'==_0xfb4967['type']||'detachRoot'==_0xfb4967['type'])return void this['_handleRootOperation'](_0xfb4967,_0x2cef45);if('insert'==_0xfb4967['type']){const _0x3d5435=_0xfb4967['position']['root']['rootName'];this['_diffRoots']['has'](_0x3d5435)||(this['_diffRoots']['set'](_0x3d5435,G(_0x3d5435,!0x0)),this['_diffRootsAttributes']['set'](_0x3d5435,{}),_0x2cef45&&this['_idsRoots']['set'](_0x3d5435,G(_0x3d5435,!0x0)));}else{if('addRootAttribute'==_0xfb4967['type']||'removeRootAttribute'==_0xfb4967['type']||'changeRootAttribute'==_0xfb4967['type'])return void this['_handleRootAttributeOperation'](_0xfb4967);}const _0x353489=this['_cloneOperation'](_0xfb4967,this['_diffRoots']);if('marker'!==_0xfb4967['type']&&(_0x353489['_execute'](),this['_transformMarkers'](_0x353489)),_0x2cef45)switch(_0x353489['type']){case'insert':this['_handleInsertOperation'](_0xfb4967);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0xfb4967);break;case'merge':this['_handleMergeOperation'](_0xfb4967);break;case'split':this['_handleSplitOperation'](_0xfb4967);break;case'marker':this['_handleMarkerOperation'](_0xfb4967);}}['_cloneOperation'](_0x236e3a,_0x2cdde7){const _0x510bde=_0x236e3a['clone']();return _0x510bde['_authorId']=_0x236e3a['_authorId'],this['_fixOperation'](_0x510bde,_0x2cdde7),_0x510bde;}['_getBaseVids'](_0x386e34){return _0x386e34['map'](_0x212f87=>{const _0x426261=this['_getVidAttributeName'](_0x212f87);return Number(_0x212f87['item']['getAttribute'](_0x426261));});}['_generateTape'](_0x5321a4,_0x2f3cf7){if(_0x5321a4['is']('element','$text'))_0x2f3cf7['push']({'item':_0x5321a4,'type':'text'});else{_0x5321a4['is']('element')&&_0x2f3cf7['push']({'item':_0x5321a4,'type':'elementStart'});for(const _0x453db2 of _0x5321a4['getChildren']())this['_generateTape'](_0x453db2,_0x2f3cf7);_0x5321a4['is']('element')&&_0x2f3cf7['push']({'item':_0x5321a4,'type':'elementEnd'});}return _0x2f3cf7;}['_getState'](){const _0x29d1d6=new Map(this['_touched']),_0x21765c=new Map(_0x29d1d6),_0x59c0b8=new Map(),_0x6d29ed={'insertions':{},'deletions':{}},_0xf3c636={'insertions':{},'deletions':{}},_0x19dccf=new Map(),_0x3f2656=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3f2656['delete']('$graveyard');for(const _0xbf83aa of _0x3f2656){const _0x2f50fb=this['_diffRoots']['get'](_0xbf83aa)||G(_0xbf83aa,!0x1),_0x343a09=this['_baseRoots']['get'](_0xbf83aa)||G(_0xbf83aa,!0x1);_0x2f50fb['isAttached']()||_0x343a09['isAttached']()?(_0x6d29ed['insertions'][_0xbf83aa]=q(_0x2f50fb),_0x6d29ed['deletions'][_0xbf83aa]=q(_0x343a09),this['_copyMarkers'](_0x6d29ed['deletions'][_0xbf83aa],_0x343a09),this['_copyMarkers'](_0x6d29ed['insertions'][_0xbf83aa],_0x2f50fb),_0xf3c636['insertions'][_0xbf83aa]=this['_generateTape'](this['_idsRoots']['get'](_0xbf83aa),[]),_0xf3c636['deletions'][_0xbf83aa]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xbf83aa)||G(_0xbf83aa,!0x1),[])):_0x3f2656['delete'](_0xbf83aa);}for(const _0x1a1129 of _0x3f2656){const _0x12958e=_0xf3c636['insertions'][_0x1a1129];for(const _0x967c51 of _0x12958e){const _0x9b2524=this['_getVidAttributeName'](_0x967c51),_0x13f9af=_0x967c51['item']['getAttribute'](_0x9b2524);_0x21765c['delete'](_0x13f9af),_0x13f9af>=this['_startingRevisionId']&&_0x59c0b8['set'](_0x13f9af,_0x29d1d6['get'](_0x13f9af));}}for(const _0x59a016 of _0x3f2656){const _0x17ff47=_0xf3c636['insertions'][_0x59a016],_0xd4b25a=this['_getBaseVids'](_0xf3c636['deletions'][_0x59a016]);let _0x2b64e5=0x0;for(const _0x3eef45 of _0x17ff47){const _0x47051d=this['_getVidAttributeName'](_0x3eef45),_0x2367e1=_0x3eef45['item']['getAttribute'](_0x47051d);if(!_0x59c0b8['has'](_0x2367e1)&&!_0x19dccf['has'](_0x2367e1)){if(_0x21765c['has'](_0x2367e1))_0x2b64e5++;else{if(_0x2367e1!=_0xd4b25a[_0x2b64e5]){const _0x19bf39=_0x29d1d6['get'](_0x2367e1)||_0x29d1d6['get'](_0xd4b25a[_0x2b64e5]);for(;_0x2367e1!=_0xd4b25a[_0x2b64e5];)_0x21765c['has'](_0xd4b25a[_0x2b64e5])||(_0x19dccf['set'](_0xd4b25a[_0x2b64e5],_0x19bf39),_0x29d1d6['set'](_0xd4b25a[_0x2b64e5],_0x19bf39)),_0x2b64e5++;}_0x2b64e5++;}}}}for(const _0x44b20c of _0x3f2656){const _0x1b7dad=_0xf3c636['insertions'][_0x44b20c];for(const _0x15e1de of _0x1b7dad){const _0x5996c9=this['_getVidAttributeName'](_0x15e1de),_0x49f5f0=_0x15e1de['item']['getAttribute'](_0x5996c9);if(_0x19dccf['has'](_0x49f5f0)){const _0x4e522a=_0x19dccf['get'](_0x49f5f0);_0x21765c['has'](_0x49f5f0)||_0x21765c['set'](_0x49f5f0,{..._0x4e522a}),_0x59c0b8['set'](_0x49f5f0,{..._0x4e522a});}}}for(const _0x34b0ba of _0x21765c['keys']())_0x34b0ba>=this['_startingRevisionId']&&_0x21765c['delete'](_0x34b0ba);const _0x41204f=new Map();for(const _0xee38f7 of _0x3f2656){let _0x346841=_0xf3c636['insertions'][_0xee38f7];for(const _0x552fcc of _0x346841)if(_0x552fcc['item']['is']('element','tableCell')){const _0x58aafd=this['_getVidAttributeName'](_0x552fcc),_0x1fc235=_0x552fcc['item']['getAttribute'](_0x58aafd);if(_0x59c0b8['has'](_0x1fc235)){const _0x25b63f=_0x552fcc['item']['parent']['parent']['getAttribute']('vid_start'),_0x497642=_0x41204f['get'](_0x25b63f)||new Set();_0x497642['add'](_0x59c0b8['get'](_0x1fc235)['userId']),_0x41204f['set'](_0x25b63f,_0x497642);}}_0x346841=_0xf3c636['deletions'][_0xee38f7];for(const _0x43de31 of _0x346841)if(_0x43de31['item']['is']('element','tableCell')){const _0x1ee3ff=this['_getVidAttributeName'](_0x43de31),_0x189598=_0x43de31['item']['getAttribute'](_0x1ee3ff);if(_0x21765c['has'](_0x189598)){const _0x430606=_0x43de31['item']['parent']['parent']['getAttribute']('vid_start'),_0x16a3f3=_0x41204f['get'](_0x430606)||new Set();_0x16a3f3['add'](_0x21765c['get'](_0x189598)['userId']),_0x41204f['set'](_0x430606,_0x16a3f3);}}for(const _0x40f0c3 of _0x41204f['keys']())(_0x59c0b8['has'](_0x40f0c3)||_0x21765c['has'](_0x40f0c3))&&_0x41204f['delete'](_0x40f0c3);}for(const _0x3fe7e8 of _0x3f2656){const _0x30a4b0=_0xf3c636['insertions'][_0x3fe7e8];let _0x29b2bb=null,_0x31ae84=null;for(const _0x4faaa2 of _0x30a4b0){const _0x452dd5=this['_getVidAttributeName'](_0x4faaa2),_0xa2cb32=_0x4faaa2['item']['getAttribute'](_0x452dd5),_0xa08d5e=_0x41204f['get'](_0xa2cb32);_0xa08d5e&&'elementStart'==_0x4faaa2['type']&&(_0x29b2bb=Array['from'](_0xa08d5e)[0x0],_0x31ae84=_0x4faaa2['item']['getAttribute']('vid_end')),_0x29b2bb&&(_0x21765c['set'](_0xa2cb32,{'userId':_0x29b2bb}),_0x59c0b8['set'](_0xa2cb32,{'userId':_0x29b2bb})),_0xa2cb32==_0x31ae84&&(_0x29b2bb=null,_0x31ae84=null);}}const _0x466462={},_0x5cd6e6=new Set();for(const _0xf29636 of _0x3f2656){const _0x21d820=_0x6d29ed['deletions'][_0xf29636],_0x5bd96b=_0x6d29ed['insertions'][_0xf29636];for(const {userId:_0x1760fc}of this['_touchedMarkers']['values']())null!==_0x1760fc&&_0x5cd6e6['add'](_0x1760fc);for(const {userId:_0x3072ad}of this['_touchedRoots']['values']())null!==_0x3072ad&&_0x5cd6e6['add'](_0x3072ad);this['_markChanges'](_0x5bd96b,_0xf3c636['insertions'][_0xf29636],_0x59c0b8,'insertion',_0x5cd6e6),this['_markChanges'](_0x21d820,_0xf3c636['deletions'][_0xf29636],_0x21765c,'deletion',_0x5cd6e6),_0x466462[_0xf29636]={'insertions':this['_prepareViewToSave'](_0x5bd96b),'deletions':this['_prepareViewToSave'](_0x21d820),'attachChange':this['_touchedRoots']['get'](_0xf29636)||null,'attributesBefore':_0x1ced1e(this['_baseRootsAttributes']['get'](_0xf29636))||{},'attributesAfter':_0x1ced1e(this['_diffRootsAttributes']['get'](_0xf29636))};}return{'diffData':_0x466462,'authorsIds':Array['from'](_0x5cd6e6)};}['_processRootBeforeSave'](_0x424617){for(const [,_0x1ad2b2]of _0x424617['markers']){const _0x2d2c3f=_0x1ad2b2['start']['getAncestors']()['filter'](_0x30f304=>'tableCell'==_0x30f304['name']);for(const _0x387765 of _0x2d2c3f)0x1==_0x387765['childCount']&&_0x387765['getChild'](0x0)['is']('element','paragraph')&&_0x387765['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4d0940){this['_processRootBeforeSave'](_0x4d0940);const _0xf12fe1=this['editor']['data']['toView'](_0x4d0940,{}),_0x3ba884=Array['from'](_0xf12fe1['getChildren']())['map'](_0x19e0c3=>this['_getViewJson'](_0x19e0c3));return JSON['stringify'](_0x3ba884);}['_getViewJson'](_0xd453aa){if(_0xd453aa['is']('$text'))return _0xd453aa['data'];{const _0x219f00=_0xd453aa;return{'type':Object['keys'](T)['find'](_0x57eedc=>_0xd453aa instanceof T[_0x57eedc]),'name':_0x219f00['name'],'attributes':Array['from'](_0x219f00['getAttributes']()),'children':Array['from'](_0x219f00['getChildren']())['map'](_0x55026a=>this['_getViewJson'](_0x55026a))};}}['_markChanges'](_0x391696,_0x1b6ee4,_0xed0589,_0x387ae9,_0x127cb2){let _0x12c7dd=null,_0x3a1e23=null,_0x1dc288=0x0;const _0x28b687=this['editor']['model'];for(let _0x2095f7=0x0;_0x2095f7<_0x1b6ee4['length'];_0x2095f7++){const _0xa6b6ad=this['_getVidAttributeName'](_0x1b6ee4[_0x2095f7]),_0x331086=_0x1b6ee4[_0x2095f7]['item']['getAttribute'](_0xa6b6ad),_0x41c8c1=_0xed0589['get'](_0x331086),_0x1d2262=_0x2095f7==_0x1b6ee4['length']-0x1;(!_0x12c7dd&&_0x41c8c1&&(_0x12c7dd=_0x41c8c1,_0x3a1e23=_0x1b6ee4[_0x2095f7]),_0x12c7dd&&(!_0x41c8c1||_0x41c8c1['userId']!=_0x12c7dd['userId']))&&(_0x223f9d(_0x41c8c1,L(_0x3a1e23,_0x391696,_0x28b687),L(_0x1b6ee4[_0x2095f7],_0x391696,_0x28b687)),_0x12c7dd=_0x41c8c1||null,_0x3a1e23=_0x41c8c1?_0x1b6ee4[_0x2095f7]:null),_0x12c7dd&&_0x1d2262&&_0x223f9d(_0x41c8c1,L(_0x3a1e23,_0x391696,_0x28b687),W(_0x1b6ee4[_0x2095f7],_0x391696,_0x28b687));}function _0x223f9d(_0x3a30e8,_0x246bd6,_0x2f732a){const _0x48a926=_0x12c7dd['userId'],_0x10752e='revision:'+_0x387ae9+':'+_0x48a926+':'+_0x1dc288++,_0x10c7c4=_0x28b687['createRange'](_0x246bd6,_0x2f732a);_0x391696['markers']['set'](_0x10752e,_0x10c7c4),null!==_0x48a926&&_0x127cb2['add'](_0x48a926);}}['_getVidAttributeName'](_0x2b0e21){switch(_0x2b0e21['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x120324,_0x2acdf5){_0x120324['baseVersion']=null;for(const _0x3af327 in _0x120324){const _0xcebc6=_0x120324[_0x3af327];if(_0xcebc6 instanceof gt){const _0x227137=_0x2acdf5['get'](_0xcebc6['root']['rootName']);_0x120324[_0x3af327]=this['_fixPosition'](_0xcebc6,_0x227137);}if(_0xcebc6 instanceof vt){const _0x3dc026=_0x2acdf5['get'](_0xcebc6['root']['rootName']);_0x120324[_0x3af327]=this['_fixRange'](_0xcebc6,_0x3dc026);}'root'===_0x3af327&&(_0x120324['root']=_0x2acdf5['get'](_0x120324['root']['rootName']));}}['_fixRange'](_0x40954f,_0x320d57){return this['editor']['model']['createRange'](this['_fixPosition'](_0x40954f['start'],_0x320d57),this['_fixPosition'](_0x40954f['end'],_0x320d57));}['_fixPosition'](_0x42d0a9,_0x8e425a){return this['editor']['model']['createPositionFromPath'](_0x8e425a,_0x42d0a9['path'],_0x42d0a9['stickiness']);}['_handleInsertOperation'](_0xe2cf52){const _0x2b97de=this['_idsRoots']['get'](_0xe2cf52['position']['root']['rootName']),_0x21595f=this['_fixPosition'](_0xe2cf52['position'],_0x2b97de),_0x33277b=null===_0xe2cf52['_authorId']?null:_0xe2cf52['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5d6d14=_0x21595f['parent'],_0x42eabc=this['_revisionId'],_0x33e4d8=[];for(const _0x43184f of _0xe2cf52['nodes'])if(_0x43184f['is']('element'))_0x33e4d8['push'](this['_makeIdsRoot'](_0x43184f));else{for(let _0x38eee7=0x0;_0x38eee7<_0x43184f['offsetSize'];_0x38eee7++)_0x33e4d8['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1888fe=this['_revisionId'];for(let _0x3b558e=_0x42eabc;_0x3b558e<_0x1888fe;_0x3b558e++)this['_touched']['set'](_0x3b558e,{'userId':_0x33277b});_0x5d6d14['_insertChild'](_0x21595f['offset'],_0x33e4d8);}['_handleMoveOperation'](_0x2ee3bf){(_0x2ee3bf=this['_cloneOperation'](_0x2ee3bf,this['_idsRoots']))['_execute']();const _0x5197f9=null===_0x2ee3bf['_authorId']?null:_0x2ee3bf['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x234445=_0x2ee3bf['getMovedRangeStart'](),_0x5d799e=_0x234445['parent'],_0x3eb055=_0x234445['offset'];!function _0x220864(_0x2afcd1,_0x58e0e3,_0x59ebe1,_0x4bae74){for(let _0x412190=_0x59ebe1;_0x412190<_0x4bae74;_0x412190++){const _0x416c4e=_0x58e0e3['getChild'](_0x412190);_0x416c4e['is']('element','$text')?_0x2afcd1['set'](_0x416c4e['getAttribute']('vid'),{'userId':_0x5197f9}):(_0x2afcd1['set'](_0x416c4e['getAttribute']('vid_start'),{'userId':_0x5197f9}),_0x220864(_0x2afcd1,_0x416c4e,0x0,_0x416c4e['childCount']),_0x2afcd1['set'](_0x416c4e['getAttribute']('vid_end'),{'userId':_0x5197f9}));}}(this['_touched'],_0x5d799e,_0x3eb055,_0x3eb055+_0x2ee3bf['howMany']);}['_handleMergeOperation'](_0x2962d4){const _0x2327a2=null===(_0x2962d4=this['_cloneOperation'](_0x2962d4,this['_idsRoots']))['_authorId']?null:_0x2962d4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x20761e=_0x2962d4['targetPosition']['parent'],_0x5977aa=_0x2962d4['sourcePosition']['parent'],_0x5201e6=_0x20761e['getAttribute']('vid_end'),_0x17639d=_0x5977aa['getAttribute']('vid_start');_0x20761e['_setAttribute']('vid_end',_0x5977aa['getAttribute']('vid_end')),_0x5977aa['_setAttribute']('vid_end',_0x5201e6),this['_touched']['set'](_0x17639d,{'userId':_0x2327a2}),this['_touched']['set'](_0x5201e6,{'userId':_0x2327a2}),_0x2962d4['_execute']();}['_handleSplitOperation'](_0x20a6a9){const _0x3ec5ce=null===(_0x20a6a9=this['_cloneOperation'](_0x20a6a9,this['_idsRoots']))['_authorId']?null:_0x20a6a9['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x31f490=_0x20a6a9['graveyardPosition'],_0x24d3fe=_0x20a6a9['splitPosition']['parent'];_0x20a6a9['_execute']();const _0x569dfd=_0x24d3fe['getAttribute']('vid_end'),_0x575830=_0x20a6a9['insertionPosition']['nodeAfter'];if(_0x31f490){const _0x36af00=_0x575830['getAttribute']('vid_end'),_0x6e420e=_0x24d3fe['getAttribute']('vid_end');_0x24d3fe['_setAttribute']('vid_end',_0x36af00),_0x575830['_setAttribute']('vid_end',_0x6e420e),this['_touched']['set'](_0x24d3fe['getAttribute']('vid_end'),{'userId':_0x3ec5ce}),this['_touched']['set'](_0x575830['getAttribute']('vid_start'),{'userId':_0x3ec5ce});}else{const _0x20c011=this['_revisionId']++,_0x5ceaf5=this['_revisionId']++;_0x24d3fe['_setAttribute']('vid_end',_0x20c011),_0x575830['_setAttribute']('vid_start',_0x5ceaf5),_0x575830['_setAttribute']('vid_end',_0x569dfd),this['_touched']['set'](_0x20c011,{'userId':_0x3ec5ce}),this['_touched']['set'](_0x5ceaf5,{'userId':_0x3ec5ce});}}['_handleMarkerOperation'](_0x13090f){if(!_0x13090f['affectsData'])return;const _0x1acf86=(_0x13090f=this['_cloneOperation'](_0x13090f,this['_diffRoots']))['oldRange']?_0x13090f['oldRange']['root']:null,_0x4bb183=_0x13090f['newRange']?_0x13090f['newRange']['root']:null;_0x1acf86&&this['_markers']['delete'](_0x13090f['name']),_0x4bb183&&this['_markers']['set'](_0x13090f['name'],_0x13090f['newRange']['clone']());const _0x2babf5=null===_0x13090f['_authorId']?null:_0x13090f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x359cbf=_0x13090f['name'];if(!this['_touchedMarkers']['has'](_0x359cbf))return void this['_touchedMarkers']['set'](_0x359cbf,{'range':_0x13090f['oldRange'],'userId':_0x2babf5});const _0x53acba=this['_touchedMarkers']['get'](_0x359cbf),_0x5aaca0=_0x53acba['range'],_0x42f538=_0x13090f['newRange'];null==_0x5aaca0&&null==_0x42f538||_0x5aaca0&&_0x42f538&&_0x5aaca0['isEqual'](_0x42f538)?this['_touchedMarkers']['delete'](_0x13090f['name']):_0x53acba['userId']=_0x2babf5;}['_handleRootOperation'](_0x3f3657,_0x1c5384){this['_diffRoots']['has'](_0x3f3657['rootName'])?this['_diffRoots']['get'](_0x3f3657['rootName'])['_isAttached']=_0x3f3657['isAdd']:(this['_diffRoots']['set'](_0x3f3657['rootName'],G(_0x3f3657['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x3f3657['rootName'],{}),_0x1c5384&&this['_idsRoots']['set'](_0x3f3657['rootName'],G(_0x3f3657['rootName'],!0x0)));const _0x596ecc=null===_0x3f3657['_authorId']?null:_0x3f3657['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x576cd1=this['_touchedRoots']['get'](_0x3f3657['rootName']);_0x576cd1&&_0x576cd1['userId']===_0x596ecc?this['_touchedRoots']['delete'](_0x3f3657['rootName']):this['_touchedRoots']['set'](_0x3f3657['rootName'],{'userId':_0x596ecc,'isAttached':_0x3f3657['isAdd']});}['_handleRootAttributeOperation'](_0x1fc1a4){const _0x82e7e4=this['_diffRootsAttributes']['get'](_0x1fc1a4['root']['rootName']);null===_0x1fc1a4['newValue']?delete _0x82e7e4[_0x1fc1a4['key']]:_0x82e7e4[_0x1fc1a4['key']]=_0x1fc1a4['newValue'];}}function q(_0x2f018b){const _0x54c555=G(_0x2f018b['rootName'],_0x2f018b['isAttached']());for(const _0x2e90bf of _0x2f018b['getChildren']()){const _0x958f27=_0x2e90bf['_clone'](!0x0);_0x54c555['_appendChild'](_0x958f27);}return _0x54c555;}function G(_0x4d657f,_0x475cec=!0x0){const _0x9f19da=new wt();return _0x9f19da['rootName']=_0x4d657f,_0x9f19da['_isAttached']=_0x475cec,_0x9f19da['isAttached']=()=>_0x9f19da['_isAttached'],_0x9f19da;}function L(_0x19fcdc,_0x32fc0f,_0x469f23){const _0x5468f4='elementEnd'==_0x19fcdc['type']?_0x469f23['createPositionAt'](_0x19fcdc['item'],'end'):_0x469f23['createPositionBefore'](_0x19fcdc['item']);return _0x469f23['createPositionFromPath'](_0x32fc0f,_0x5468f4['path'],_0x5468f4['stickiness']);}function W(_0x1772a7,_0x3511fb,_0x5787dc){const _0x434a85='elementStart'==_0x1772a7['type']?_0x5787dc['createPositionAt'](_0x1772a7['item'],0x0):_0x5787dc['createPositionAfter'](_0x1772a7['item']);return _0x5787dc['createPositionFromPath'](_0x3511fb,_0x434a85['path'],_0x434a85['stickiness']);}class ns extends _0xe63f62{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x209947,_0x3627fd){super(_0x209947),this['focusTracker']=new _0x503daa(),this['keystrokes']=new _0x53b84c(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3627fd),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'](),_0x37f133({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x28acbd=_0xf67b9e=>_0xf67b9e['stopPropagation']();this['keystrokes']['set']('arrowright',_0x28acbd),this['keystrokes']['set']('arrowleft',_0x28acbd),this['keystrokes']['set']('arrowup',_0x28acbd),this['keystrokes']['set']('arrowdown',_0x28acbd);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x32793d){this['revisionNameInputView']['fieldView']['element']['value']=_0x32793d['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x5991a1){const _0x1f3bcf=new at(this['locale'],_0xf69869),_0x33159a=_0x1f3bcf['fieldView'];_0x33159a['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2134c8=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x5991a1&&(_0x2134c8+='\x20('+y(this['locale'],'optional')+')'),(_0x1f3bcf['label']=_0x2134c8,_0x33159a['on']('input',()=>{this['revisionNameInputValue']=_0x33159a['element']['value']['trim']();}),_0x1f3bcf);}}class u extends _0x1ffe89{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x329959=this['editor'],_0x3f015a=_0x329959['plugins']['get']('RevisionTracker');_0x329959['ui']['componentFactory']['add']('revisionHistory',_0xb13053=>{const _0x5ad120=_0x5436a3(_0xb13053),_0x2c8b32=_0x5ad120['panelView']['children'],_0x4cd847=new te(_0xb13053),_0x2a08d2=new _0x230ae2(_0xb13053),_0x1330ec=new _0x5591a3(_0xb13053),_0x1ee0f0=new _0x230ae2(_0xb13053),_0x533235=new _0x5591a3(_0xb13053);return _0x5ad120['bind']('isEnabled')['to'](_0x3f015a,'isReady',_0x3f015a,'isEnabled',_0x329959,'isReadOnly',(_0x3bb57a,_0x24b2a6,_0x3923ab)=>_0x3bb57a&&_0x24b2a6&&!_0x3923ab),_0x5ad120['buttonView']['set']({'icon':_0x5de8c3['history'],'label':y(_0xb13053,'Revision\x20history'),'tooltip':!0x0}),_0x1330ec['set']({'label':y(_0xb13053,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x1330ec['bind']('isEnabled')['to'](_0x3f015a,'isReady',_0x3f015a,'isEnabled',_0x329959,'isReadOnly',(_0x5c30ea,_0x3f5516,_0x5a34ce)=>_0x5c30ea&&_0x3f5516&&!_0x5a34ce),_0x1330ec['on']('execute',()=>this['_showDialog']()),_0x533235['set']({'label':y(_0xb13053,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x533235['bind']('isEnabled')['to'](_0x3f015a,'isReady',_0x329959,'isReadOnly',(_0x500edc,_0x42ebef)=>_0x500edc&&!_0x42ebef),_0x533235['on']('execute',()=>{_0x329959['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x5ad120['isOpen']=!0x1,_0x329959['editing']['view']['focus']();}),_0x2a08d2['children']['add'](_0x1330ec),_0x1ee0f0['children']['add'](_0x533235),_0x4cd847['role']='menu',_0x4cd847['items']['addMany']([_0x2a08d2,_0x1ee0f0]),_0x2c8b32['add'](_0x4cd847),_0x5ad120;}),_0x329959['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x48ad7d=this['editor'],_0x3c2ca0=_0x48ad7d['locale'],_0x36049e=new _0x2749bb(_0x3c2ca0),_0x48d927=new _0x3e8cc0(_0x3c2ca0);_0x36049e['buttonView']['set']({'icon':_0x5de8c3['history'],'label':y(_0x3c2ca0,'Revision\x20history')});const _0x32fac1=new _0x124bff(_0x3c2ca0,_0x36049e),_0x103b9b=new _0x3539b7(_0x3c2ca0);_0x103b9b['set']({'label':y(_0x3c2ca0,'Save\x20current\x20revision')}),_0x103b9b['delegate']('execute')['to'](_0x36049e),_0x103b9b['on']('execute',()=>{this['_showDialog']();}),_0x32fac1['children']['add'](_0x103b9b),_0x48d927['items']['add'](_0x32fac1);const _0x168673=new _0x124bff(_0x3c2ca0,_0x36049e),_0x2321fc=new _0x3539b7(_0x3c2ca0);return _0x2321fc['set']({'label':y(_0x3c2ca0,'Open\x20revision\x20history')}),_0x2321fc['delegate']('execute')['to'](_0x36049e),_0x2321fc['on']('execute',()=>{_0x48ad7d['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x168673['children']['add'](_0x2321fc),_0x48d927['items']['add'](_0x168673),_0x36049e['panelView']['children']['add'](_0x48d927),_0x36049e;}['_showDialog'](){const _0x568e27=this['editor'],_0x2ac61a=_0x568e27['locale'],_0x132d1d=_0x568e27['plugins']['get']('Dialog'),_0x4f318d=_0x568e27['plugins']['get']('RevisionTracker');function _0x40ca99(_0x3b3625){_0x568e27['config']['get']('revisionHistory.requireRevisionName')&&''===_0x3b3625['revisionName']?_0x3b3625['revisionNameInputView']['errorText']=y(_0x2ac61a,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x568e27['plugins']['get'](l)['saveRevision']({'name':_0x3b3625['revisionName']}),_0x132d1d['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x40ca99(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x132d1d['show']({'id':'revisionSave','title':y(_0x2ac61a,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':y(_0x568e27['locale'],'Cancel'),'withText':!0x0,'onExecute':()=>_0x132d1d['hide']()},{'label':y(_0x568e27['locale'],'Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x1ffba5){_0x1ffba5['bind']('isEnabled')['to'](_0x4f318d,'isReady',_0x4f318d,'isEnabled',_0x568e27,'isReadOnly',(_0x375c84,_0x9f3401,_0x343e85)=>_0x375c84&&_0x9f3401&&!_0x343e85);},'onExecute':()=>_0x40ca99(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x413a5b=this['editor'],_0x5e3498=_0x413a5b['locale'];this['_saveRevisionFormView']=new ns(_0x5e3498,_0x413a5b['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0xe63f62{['changeId'];['_model'];constructor(_0x415eb1,_0x4d4b0d){super(_0x415eb1),this['_model']=_0x4d4b0d,this['changeId']=_0x4d4b0d['id'];const _0x3b31eb=this['bindTemplate'],_0x261fdd=y(_0x415eb1,_0x4d4b0d['data']['isSuggestion']?'Suggested\x20by':'add'==_0x4d4b0d['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x4d4b0d['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3b31eb['to']('type',_0x499770=>'ck-revision-change__'+_0x499770)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x261fdd}]},{'text':'\x20'+_0x4d4b0d['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x32d3c7(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1024ff){super(),this['id']=_0x1024ff['id']||_0x472022(),this['author']=_0x1024ff['author'],this['type']=_0x1024ff['type'],this['data']=_0x1024ff['data']||{},this['rootName']=_0x1024ff['rootName'],this['set']('createdAt',_0x1024ff['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(_0x1a3665,_0x25d88a){this['newRevisionId']=_0x1a3665,this['oldRevisionId']=_0x25d88a,this['changes']=new _0x417056();}['_setChanges'](_0x59c9c7){for(const _0x5649de of _0x59c9c7)this['changes']['add'](_0x5649de);}}const tt={'c':_0x41b8cd,'a':_0x34d9d0,'e':_0x9c91a9,'r':_0x3fce7c,'u':_0x258821};class d extends _0x1ffe89{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x504717,_0x1cf5c3,A];}constructor(_0x3fcc0d){super(_0x3fcc0d),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',(_0x128ba2,_0x3e08f0,_0x5f34e1)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4408a9=>{for(const _0x5d9ba1 of this['editor']['editing']['view']['document']['roots'])_0x5f34e1?_0x4408a9['removeClass']('ck-editor__editable__overlay',_0x5d9ba1):_0x4408a9['addClass']('ck-editor__editable__overlay',_0x5d9ba1);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x36b5f9=>null!==_0x36b5f9),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x223cb1,_0x5c7118,_0x51a89f)=>_0x223cb1&&_0x51a89f?_0x5c7118['changes']['getIndex'](_0x51a89f):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1a109c,_0x1a6e5e)=>_0x1a109c?_0x1a6e5e['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x1cf5c3);}['init'](){const _0x4df115=this['editor'],_0x4f4610=new yt(_0x4df115,{'direction':'backward'}),_0xb6716a=new yt(_0x4df115,{'direction':'forward'});(_0x4df115['commands']['add']('showPreviousChange',_0x4f4610),_0x4df115['commands']['add']('showNextChange',_0xb6716a),_0x4df115['commands']['add']('restoreRevision',new bt(_0x4df115)),this['on']('change:numberOfChanges',()=>{_0x4f4610['refresh'](),_0xb6716a['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4df115['enableReadOnlyMode']('revision-viewer'),_0x4df115['plugins']['has']('WidgetToolbarRepository'))&&_0x4df115['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5230df){await this['loadRevisionData'](_0x5230df);const _0x49b6c3={};for(const _0x47e693 in _0x5230df['diffData']){if(_0x5230df['diffData'][_0x47e693]['attachChange']&&!_0x5230df['diffData'][_0x47e693]['attachChange']['isAttached'])continue;const _0x2420e8=this['_removeRevisionMarkers'](JSON['parse'](_0x5230df['diffData'][_0x47e693]['insertions'])),_0x114a98=this['editor']['editing']['view']['document'],_0x45e7a7=new _0xf1ec6a(_0x114a98,_0x2420e8['map'](_0x38f0b9=>this['_getViewObj'](_0x38f0b9)));this['editor']['data']['processor']['useFillerType']('marked'),_0x49b6c3[_0x47e693]=this['editor']['data']['processor']['toData'](_0x45e7a7),this['editor']['data']['processor']['useFillerType']('default');}return _0x49b6c3;}async['getRevisionRootsAttributes'](_0x197bda){await this['loadRevisionData'](_0x197bda);const _0x43b05f={};for(const _0x45ac95 in _0x197bda['diffData'])_0x197bda['diffData'][_0x45ac95]['attachChange']&&!_0x197bda['diffData'][_0x45ac95]['attachChange']['isAttached']||(_0x43b05f[_0x45ac95]=_0x197bda['diffData'][_0x45ac95]['attributesAfter']||{});return _0x43b05f;}['_removeRevisionMarkers'](_0x5d252a){return(_0x5d252a=_0x5d252a['filter'](_0xc517e2=>!_0xc517e2['name']||'revision-start'!==_0xc517e2['name']&&'revision-end'!==_0xc517e2['name']))['forEach'](_0x48fb6e=>{'string'!=typeof _0x48fb6e&&(_0x48fb6e['children']=this['_removeRevisionMarkers'](_0x48fb6e['children']),_0x48fb6e['attributes']=_0x48fb6e['attributes']['filter'](_0x456b1a=>!_0x456b1a[0x0]['startsWith']('data-revision-')));}),_0x5d252a;}async['compare'](_0x436d5a,_0x3af274,_0x461b5e=!0x1){if(!this['isEnabled'])return;const _0x1cf348=this['diff'],_0x5c126c=this['repository'],_0x402df3='string'==typeof _0x436d5a?_0x5c126c['getRevision'](_0x436d5a):_0x436d5a,_0x15ee73='string'==typeof _0x3af274?_0x5c126c['getRevision'](_0x3af274):_0x3af274,_0x375fb4=_0x402df3['id'],_0x474af3=_0x15ee73?_0x15ee73['id']:null;if(!_0x461b5e&&this['diff']&&this['diff']['newRevisionId']===_0x375fb4&&this['diff']['oldRevisionId']===_0x474af3)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x375fb4,_0x474af3);const _0x338215=this['_getRevisionsRange'](_0x402df3,_0x15ee73,!0x0)['map'](_0x4840cc=>this['loadRevisionData'](_0x4840cc));return _0x338215['push'](new Promise(_0x1dccf2=>{setTimeout(_0x1dccf2,0x14);})),Promise['all'](_0x338215)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x333555=this['_getDiff'](_0x375fb4,_0x474af3);for(const _0x5af88e of _0x333555['changes'])this['_changeIdToChange']['set'](_0x5af88e['id'],_0x5af88e);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x524703=>{for(const _0x10f941 of this['editor']['model']['document']['getRootNames']())_0x524703['detachRoot'](_0x10f941);for(const _0x4797b1 of Object['keys'](_0x333555['model'])){const _0x4b4696=_0x524703['addRoot'](_0x4797b1);for(const _0x5df182 of Object['keys'](_0x333555['attributes'][_0x4797b1]))_0x524703['setAttribute'](_0x5df182,_0x333555['attributes'][_0x4797b1][_0x5df182],_0x4b4696);_0x524703['insert'](_0x333555['model'][_0x4797b1],_0x4b4696,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x333555['changes'])),this['isReady']=!0x0;})['catch'](_0x302f79=>{console['error'](_0x302f79),this['_cleanUp'](),_0x1cf348&&(this['diff']=_0x1cf348),this['isReady']=!0x0;});}['addRevisionData'](_0x17f0b8,_0x40560d){const _0x310484=this['repository']['createRevision'](_0x17f0b8);return _0x310484['on']('_update',(_0x1a1410,_0x5c5257,_0xa73c3d)=>_0x40560d(_0x5c5257,_0xa73c3d,_0x310484)),this['repository']['addRevision'](_0x310484),_0x310484;}['loadRevisionData'](_0xc51037){if(!_0xc51037||_0xc51037['diffData'])return Promise['resolve']();{const _0xd62841=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xd62841,'revisionId':_0xc51037['id']})['then'](_0xa2a6f3=>{_0xc51037['_update']({'diffData':_0xa2a6f3['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},_0x2564d4=>{for(const _0x2a5735 of this['editor']['model']['document']['getRootNames']())_0x2564d4['detachRoot'](_0x2a5735);});}['_sortAndFilterDiffChanges'](_0x419f2a){const _0x2c8262=[],_0x116c29=new Map();for(const _0x320a6b of this['editor']['model']['document']['getRootNames']()){const _0x290a32=this['editor']['editing']['view']['getDomRoot'](_0x320a6b);if(!_0x290a32)continue;const _0x332f8d=_0x290a32['getClientRects']()['item'](0x0);_0x332f8d&&(_0x2c8262['push'](_0x320a6b),_0x116c29['set'](_0x320a6b,_0x332f8d));}return _0x2c8262['sort']((_0x3cbd51,_0x993099)=>{const _0xdc4466=_0x116c29['get'](_0x3cbd51),_0x5381d4=_0x116c29['get'](_0x993099);return _0xdc4466['y']-_0x5381d4['y']||_0xdc4466['x']-_0x5381d4['x'];}),(_0x419f2a=_0x419f2a['filter'](_0x1d103b=>_0x2c8262['includes'](_0x1d103b['rootName'])))['sort']((_0x689745,_0x7a855)=>_0x2c8262['indexOf'](_0x689745['rootName'])-_0x2c8262['indexOf'](_0x7a855['rootName'])),_0x419f2a;}['_makeTape'](_0x5b1457){const _0x216fbb=Array['from'](_0x5b1457['markers'])['filter'](([_0x27dddf,_0xa69ede])=>_0x27dddf['startsWith']('revision:')&&!_0xa69ede['isCollapsed']),_0x4b2477=Array['from'](this['editor']['model']['createRangeIn'](_0x5b1457)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x216fbb['length'])for(const _0x362171 of _0x4b2477){const [_0x3481d9,_0x40c9c2]=_0x216fbb[0x0],[,_0x122ff7,_0x4d2382]=_0x3481d9['split'](':');if(_0x40c9c2['end']['isEqual'](_0x362171['nextPosition'])&&_0x216fbb['shift'](),(_0x362171['previousPosition']['isEqual'](_0x40c9c2['start'])||_0x362171['previousPosition']['isAfter'](_0x40c9c2['start']))&&('insertion'==_0x122ff7?_0x362171['isAdded']={'userId':_0x4d2382}:'deletion'==_0x122ff7&&(_0x362171['isRemoved']={'userId':_0x4d2382})),0x0==_0x216fbb['length'])break;}return _0x4b2477;}['_refreshStartEndIndex'](_0x3b60fb){const _0x4f6fc6=new Map();for(let _0xac711e=0x0;_0xac711e<_0x3b60fb['length'];_0xac711e++)'text'===_0x3b60fb[_0xac711e]['type']?(_0x3b60fb[_0xac711e]['item']['startIndex']=_0xac711e,_0x3b60fb[_0xac711e]['item']['endIndex']=_0xac711e):('elementStart'===_0x3b60fb[_0xac711e]['type']?_0x3b60fb[_0xac711e]['item']['startIndex']=_0xac711e:'elementEnd'===_0x3b60fb[_0xac711e]['type']&&(_0x3b60fb[_0xac711e]['item']['endIndex']=_0xac711e),_0x4f6fc6['set'](_0x3b60fb[_0xac711e]['id'],_0xac711e));for(const _0x5f48ca of _0x4f6fc6['values']())'elementStart'===_0x3b60fb[_0x5f48ca]['type']?_0x3b60fb[_0x5f48ca]['item']['endIndex']=_0x4f6fc6['get'](_0x3b60fb[_0x5f48ca]['pairId']):'elementEnd'===_0x3b60fb[_0x5f48ca]['type']&&(_0x3b60fb[_0x5f48ca]['item']['startIndex']=_0x4f6fc6['get'](_0x3b60fb[_0x5f48ca]['pairId']));}['_processTape'](_0x3c6bec){for(let _0x1e9148=0x0;_0x1e9148<_0x3c6bec['length'];_0x1e9148++){if('elementStart'===_0x3c6bec[_0x1e9148]['type'])_0x3c6bec[_0x1e9148]['item']['startIndex']=_0x1e9148;else{if('elementEnd'===_0x3c6bec[_0x1e9148]['type']){_0x3c6bec[_0x1e9148]['item']['endIndex']=_0x1e9148;const _0x171f7b=_0x3c6bec[_0x1e9148]['item']['startIndex'];_0x3c6bec[_0x171f7b]['pairId']=_0x3c6bec[_0x1e9148]['id'],_0x3c6bec[_0x1e9148]['pairId']=_0x3c6bec[_0x171f7b]['id'];}else _0x3c6bec[_0x1e9148]['item']['startIndex']=_0x1e9148,_0x3c6bec[_0x1e9148]['item']['endIndex']=_0x1e9148,_0x3c6bec[_0x1e9148]['pairId']=null;}_0x3c6bec[_0x1e9148]['markersStart']||(_0x3c6bec[_0x1e9148]['markersStart']=[],_0x3c6bec[_0x1e9148]['markersEnd']=[]);}}['_markInsertions'](_0x73c76c,_0x23fe42){const _0x51a602=_0x73c76c['filter'](_0x4ebc19=>!_0x4ebc19['isAdded']);for(let _0x5bc21a=0x0;_0x5bc21a<_0x23fe42['length'];_0x5bc21a++)_0x23fe42[_0x5bc21a]['isAdded']&&(_0x51a602[_0x5bc21a]['isAdded']=_0x23fe42[_0x5bc21a]['isAdded']);}['_makeModelFromViewString'](_0xefc35){const _0x4ea6d4=JSON['parse'](_0xefc35),_0x1085ef=this['editor']['editing']['view']['document'],_0x8e24ed=new _0xf1ec6a(_0x1085ef,_0x4ea6d4['map'](_0x5c0db5=>this['_getViewObj'](_0x5c0db5)));return this['editor']['data']['toModel'](_0x8e24ed);}['_getViewObj'](_0x16432e){const _0x30ab3f=this['editor']['editing']['view']['document'];if('string'==typeof _0x16432e)return new _0xf2a973(_0x30ab3f,_0x16432e);{const _0x1efb49=_0x16432e['children']['map'](_0x10b1be=>this['_getViewObj'](_0x10b1be));return new(tt[_0x16432e['type']]||_0x49375d)(_0x30ab3f,_0x16432e['name'],_0x16432e['attributes'],_0x1efb49);}}['_getDiff'](_0xdc8f43,_0x3b23a9=null){const _0x45c4a6=this['repository']['getRevision'](_0xdc8f43),_0x5cefe7=_0x3b23a9?this['repository']['getRevision'](_0x3b23a9):null,_0x2d7ad2=this['_getRevisionsRange'](_0x45c4a6,_0x5cefe7),_0x3ef84c=_0x2d7ad2[_0x2d7ad2['length']-0x1],_0x59b613=new Map(),_0x1784bc={'model':{},'attributes':{},'changes':[]},_0x4fa526=new Set(),_0x39a17c=new Map();for(let _0x3f488b=_0x2d7ad2['length']-0x1;_0x3f488b>=0x0;_0x3f488b--){const _0x4f90be=_0x2d7ad2[_0x3f488b];for(const _0x1ea39e of Object['keys'](_0x4f90be['diffData']))if(_0x4f90be['diffData'][_0x1ea39e]['attachChange']){const _0x527ca7=_0x4f90be['diffData'][_0x1ea39e]['attachChange'];_0x527ca7['isAttached']?(_0x4fa526['add'](_0x1ea39e),_0x39a17c['has'](_0x1ea39e)&&_0x39a17c['get'](_0x1ea39e)['userId']==_0x527ca7['userId']?_0x39a17c['delete'](_0x1ea39e):_0x39a17c['set'](_0x1ea39e,_0x527ca7)):_0x39a17c['has'](_0x1ea39e)?(_0x4fa526['delete'](_0x1ea39e),_0x39a17c['delete'](_0x1ea39e)):(_0x4fa526['add'](_0x1ea39e),_0x39a17c['set'](_0x1ea39e,_0x527ca7));}else _0x4fa526['add'](_0x1ea39e);}for(const _0x1f1ed9 of _0x4fa526){const _0x1f34fb=_0x39a17c['has'](_0x1f1ed9)&&!_0x39a17c['get'](_0x1f1ed9)['isAttached'];let _0x482c80=_0x1f34fb?_0x2d7ad2['length']-0x1:0x0;const _0x1dede7=_0x1f34fb?-0x1:0x1;for(;_0x2d7ad2[_0x482c80];){const _0x5334f7=_0x2d7ad2[_0x482c80];if(_0x5334f7['diffData'][_0x1f1ed9]){const _0x215113=_0x1f34fb?_0x5334f7['diffData'][_0x1f1ed9]['attributesBefore']:_0x5334f7['diffData'][_0x1f1ed9]['attributesAfter'];_0x1784bc['attributes'][_0x1f1ed9]=_0x215113?_0x1ced1e(_0x215113):{};break;}_0x482c80+=_0x1dede7;}}for(const _0x48fe10 of _0x2d7ad2){_0x48fe10['model']={};for(const _0x335366 of _0x48fe10['authors'])_0x59b613['set'](_0x335366['id'],_0x335366);for(const _0x1b2962 of _0x4fa526){const _0x1819cd=_0x48fe10['diffData'][_0x1b2962]?_0x48fe10['diffData'][_0x1b2962]['insertions']:'[]',_0x52c553=_0x48fe10['diffData'][_0x1b2962]?_0x48fe10['diffData'][_0x1b2962]['deletions']:'[]';_0x48fe10['model'][_0x1b2962]={'insertions':this['_makeModelFromViewString'](_0x1819cd),'deletions':this['_makeModelFromViewString'](_0x52c553)};}}for(const _0x243128 of _0x4fa526){let _0x130646=null,_0xf491e1=0x0;const _0x2c8df5=new Map(Array['from'](_0x45c4a6['model'][_0x243128]['insertions']['markers'])['filter'](([_0x48c649])=>!_0x48c649['startsWith']('revision:')));let _0x179219=0x0;for(const _0x21b6a3 of _0x2d7ad2){const _0x238aa3=this['_makeTape'](_0x21b6a3['model'][_0x243128]['insertions']);_0x21b6a3==_0x45c4a6?(_0x130646=_0x238aa3,_0xf491e1=_0x130646['length'],_0x130646['forEach'](_0x149daf=>{_0x149daf['id']=_0x179219++;}),this['_processTape'](_0x130646)):this['_markInsertions'](_0x130646,_0x238aa3);const _0x5a9573=_0x130646['filter'](_0x51f862=>!_0x51f862['isAdded'])['map'](_0x4d4637=>_0x4d4637['id']);let _0x3ff313=0x0;const _0x19f742=this['_makeTape'](_0x21b6a3['model'][_0x243128]['deletions']);_0x19f742['forEach'](_0x3ddb37=>{_0x3ddb37['isRemoved']?_0x3ddb37['id']=_0xf491e1++:_0x3ddb37['id']=_0x5a9573[_0x3ff313++];}),this['_processTape'](_0x19f742),this['_setDistance'](_0x130646,'isAdded'),this['_setDistance'](_0x19f742,'isRemoved'),_0x21b6a3==_0x45c4a6&&this['_markMarkers'](_0x130646,_0x2c8df5),_0x130646=this['_joinTapes'](_0x130646,_0x19f742),this['_refreshStartEndIndex'](_0x130646),this['_setDistance'](_0x130646,'isRemoved');}_0x130646=_0x130646['filter'](_0x1f03ed=>!(_0x1f03ed['isAdded']&&_0x1f03ed['isRemoved']));const _0x1918fb=new Map(_0x3ef84c['model'][_0x243128]['deletions']['markers']),_0x5a3749=new Set(_0x2c8df5['keys']());for(const _0x217dad of _0x1918fb['keys']())_0x5a3749['delete'](_0x217dad);this['_markSuggestions'](_0x130646,_0x5a3749),this['_fixObsoleteTags'](_0x130646),_0x130646=this['_removeMissingPairs'](_0x130646),_0x130646=this['_markMismatchedRemovedTags'](_0x130646),_0x130646=this['_removeUnsupportedChanges'](_0x130646);const {root:_0xc6a586,changes:_0x1a8266}=this['_makeModelFromTape'](_0x130646,_0x59b613,_0x243128);_0x1784bc['model'][_0x243128]=_0xc6a586;const _0x336e2d=_0x39a17c['get'](_0x243128);if(_0x336e2d){const _0x566cac=_0x59b613['get'](_0x336e2d['userId']),_0x30736a=new r({'author':_0x566cac,'type':_0x336e2d['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x243128});_0x1a8266['unshift'](_0x30736a),_0x1784bc['attributes'][_0x243128]['revisionHistoryAttachChange']=_0x30736a['id'];}_0x1784bc['changes']=_0x1784bc['changes']['concat'](_0x1a8266);}return _0x1784bc;}['_markMarkers'](_0x14db5c,_0x3b8f6a){for(let _0x281b18=0x0;_0x281b18<_0x14db5c['length'];_0x281b18++)for(const [_0x40d7ed,_0x309895]of _0x3b8f6a)_0x309895['start']['isEqual'](_0x14db5c[_0x281b18]['previousPosition'])&&_0x14db5c[_0x281b18]['markersStart']['push'](_0x40d7ed),_0x309895['end']['isEqual'](_0x14db5c[_0x281b18]['nextPosition'])&&_0x14db5c[_0x281b18]['markersEnd']['push'](_0x40d7ed);}['_joinTapes'](_0x1fd70d,_0x291286){let _0x4e5f5d=[],_0x44a59c=0x0,_0x4b54fd=0x0;for(;_0x44a59c<_0x1fd70d['length']||_0x4b54fd<_0x291286['length'];){const _0xee4592=_0x1fd70d[_0x44a59c]||{},_0x13f56c=_0x291286[_0x4b54fd]||{};if(_0xee4592['id']==_0x13f56c['id'])_0x44a59c++,_0x4b54fd++,_0x4e5f5d['push'](_0xee4592);else{if(_0x13f56c['isRemoved']&&_0xee4592['isAdded']){const {commonTape:_0x4c3c09,iEnd:_0x42d4d7,jEnd:_0x21b0fe}=this['_threeWayMerge'](_0x1fd70d,_0x44a59c,_0x291286,_0x4b54fd);_0x4e5f5d=_0x4e5f5d['concat'](_0x4c3c09),_0x44a59c=_0x42d4d7,_0x4b54fd=_0x21b0fe;}else _0x13f56c['isRemoved']?(_0x4b54fd++,_0x4e5f5d['push'](_0x13f56c)):(_0x44a59c++,_0x4e5f5d['push'](_0xee4592));}}return _0x4e5f5d;}['_markSuggestions'](_0x2966b6,_0x71604c){const _0x44af21=[];for(let _0x22ea7f=0x0;_0x22ea7f<_0x2966b6['length'];_0x22ea7f++){for(let _0x239acf=0x0;_0x239acf<_0x2966b6[_0x22ea7f]['markersStart']['length'];_0x239acf++){const _0x2d9519=_0x2966b6[_0x22ea7f]['markersStart'][_0x239acf];if(!_0x71604c['has'](_0x2d9519))continue;const {group:_0x130e15,type:_0x29c7c2,authorId:_0x1a1715}=_0xa106f0(_0x2d9519);'revision-suggestion'!=_0x130e15||'insertion'!=_0x29c7c2&&'deletion'!=_0x29c7c2||(_0x44af21['unshift']({'type':_0x29c7c2,'name':_0x2d9519,'userId':_0x1a1715}),_0x2966b6[_0x22ea7f]['markersStart']['splice'](_0x239acf,0x1),_0x239acf--);}_0x2ad422(_0x2966b6[_0x22ea7f]);for(let _0x34a1bd=0x0;_0x34a1bd<_0x2966b6[_0x22ea7f]['markersEnd']['length'];_0x34a1bd++){const _0x100130=_0x2966b6[_0x22ea7f]['markersEnd'][_0x34a1bd];if(!_0x71604c['has'](_0x100130))continue;const {group:_0x5ac70e,type:_0x1148eb}=_0xa106f0(_0x100130);if('revision-suggestion'!=_0x5ac70e||'insertion'!=_0x1148eb&&'deletion'!=_0x1148eb)continue;_0x2966b6[_0x22ea7f]['markersEnd']['splice'](_0x34a1bd,0x1),_0x34a1bd--;const _0x3f6bcc=_0x44af21['findIndex'](_0x35e91f=>_0x35e91f['name']==_0x100130);_0x3f6bcc>-0x1&&_0x44af21['splice'](_0x3f6bcc,0x1);}}function _0xa106f0(_0x4022bd){const _0x5df943=_0x4022bd['split'](':');return{'group':_0x5df943[0x0],'type':_0x5df943[0x1],'subType':_0x5df943['length']>=0x5?_0x5df943[0x2]:null,'id':_0x5df943['length']<0x5?_0x5df943[0x2]:_0x5df943[0x3],'authorId':_0x5df943['length']<0x5?_0x5df943[0x3]:_0x5df943[0x4],'markerCount':0x6==_0x5df943['length']?_0x5df943[0x5]:null};}function _0x2ad422(_0x59b8d6){for(let _0x4f1f84=0x0;_0x4f1f84<_0x44af21['length'];_0x4f1f84++){if(_0x59b8d6['isAdded']&&'insertion'==_0x44af21[_0x4f1f84]['type'])return _0x59b8d6['isAddSuggestion']=_0x44af21[_0x4f1f84],void delete _0x59b8d6['isAdded'];if(!_0x59b8d6['isAdded']&&!_0x59b8d6['isRemoved']&&'deletion'==_0x44af21[_0x4f1f84]['type'])return void(_0x59b8d6['isRemoveSuggestion']=_0x44af21[_0x4f1f84]);}}}['_setDistance'](_0x29c434,_0x504414){let _0x56380e=0x0,_0x35ee0a=!0x1;const _0x335a9f=new Map();for(const _0xe3be54 of _0x29c434)_0xe3be54[_0x504414]?_0x35ee0a&&(_0x56380e++,_0x35ee0a=!0x1):(_0x56380e++,_0x35ee0a=!0x0),_0x335a9f['set'](_0xe3be54['id'],_0x56380e);for(let _0x27659c=0x0;_0x27659c<_0x29c434['length'];_0x27659c++){if('isRemoved'==_0x504414&&_0x29c434[_0x27659c]['isAdded']||'isAdded'==_0x504414&&_0x29c434[_0x27659c]['isRemoved'])continue;if('text'==_0x29c434[_0x27659c]['type']){_0x29c434[_0x27659c]['distance']=0x0;continue;}const _0x4b6ec7=_0x335a9f['get'](_0x29c434[_0x27659c]['pairId']),_0x5340ec=_0x335a9f['get'](_0x29c434[_0x27659c]['id']);_0x29c434[_0x27659c]['distance']=_0x4b6ec7-_0x5340ec;}}['_getRevisionsRange'](_0x4c030a,_0x3a2579,_0x44580c=!0x1){const _0x562662=[];let _0x498b80=this['repository']['getIndex'](_0x4c030a),_0x40784a=this['repository']['getIndex'](_0x3a2579);for(-0x1==_0x40784a&&(_0x40784a=this['repository']['_revisions']['length'],_0x44580c=!0x1);_0x498b80<_0x40784a;)_0x562662['push'](this['repository']['getRevision'](_0x498b80)),_0x498b80++;return _0x44580c&&_0x562662['push'](this['repository']['getRevision'](_0x498b80)),_0x562662;}['_threeWayMerge'](_0x52c73a,_0x5f0a97,_0x3c8e4a,_0x54a927){const _0x15b79c=this['editor']['model']['schema'];let _0x5dcdba=_0x5f0a97;for(;_0x52c73a[_0x5dcdba]&&_0x52c73a[_0x5dcdba]['isAdded'];)_0x5dcdba++;let _0x2c9ff3=_0x54a927;for(;_0x3c8e4a[_0x2c9ff3]&&_0x3c8e4a[_0x2c9ff3]['isRemoved'];)_0x2c9ff3++;_0x223f8a(_0x52c73a,_0x5f0a97,_0x5dcdba),_0x223f8a(_0x3c8e4a,_0x54a927,_0x2c9ff3);const _0x58beef=_0x3c8e4a['slice'](_0x54a927,_0x2c9ff3)['concat'](_0x52c73a['slice'](_0x5f0a97,_0x5dcdba));return _0x58beef['sort']((_0x24b98a,_0x1f9272)=>_0x24b98a['side']!=_0x1f9272['side']?_0x24b98a['side']-_0x1f9272['side']:_0x24b98a['level']!=_0x1f9272['level']?_0x24b98a['level']-_0x1f9272['level']:_0x24b98a['distance']!=_0x1f9272['distance']?_0x1f9272['distance']-_0x24b98a['distance']:!!_0x24b98a['isAdded']!=!!_0x1f9272['isAdded']?-0x1==_0x24b98a['side']||0x0==_0x24b98a['side']?_0x24b98a['isAdded']?-0x1:0x1:_0x24b98a['isAdded']?0x1:-0x1:_0x24b98a['index']-_0x1f9272['index']),{'commonTape':_0x58beef,'iEnd':_0x5dcdba,'jEnd':_0x2c9ff3};function _0x223f8a(_0x3b1aa4,_0x12e327,_0x10ff81){let _0x354151=-0x1,_0x53bd0b=Number['POSITIVE_INFINITY'],_0x1b15cd=!0x0;for(let _0x10a7ff=_0x12e327;_0x10a7ff<_0x10ff81;_0x10a7ff++)if(_0x15b79c['isInline'](_0x3b1aa4[_0x10a7ff]['item'])||(_0x1b15cd=!0x1),_0x3b1aa4[_0x10a7ff]['item']['startIndex']<_0x12e327&&(_0x354151=_0x10a7ff),_0x3b1aa4[_0x10a7ff]['item']['endIndex']>=_0x10ff81){_0x53bd0b=_0x10a7ff;break;}_0x1b15cd&&(_0x354151=_0x10ff81-0x1);for(let _0x431224=_0x12e327;_0x431224<_0x10ff81;_0x431224++)_0x3b1aa4[_0x431224]['side']=_0x431224<=_0x354151?-0x1:_0x431224<_0x53bd0b?0x0:0x1,_0x3b1aa4[_0x431224]['index']=_0x431224;let _0x2cd993=0x0;for(let _0x49cddf=_0x12e327;_0x49cddf<=_0x354151;_0x49cddf++)0x0==_0x3b1aa4[_0x49cddf]['distance']?_0x3b1aa4[_0x49cddf]['level']=_0x2cd993:(_0x2cd993++,_0x3b1aa4[_0x49cddf]['level']=_0x2cd993,_0x2cd993++);for(let _0x3fdc85=_0x12e327;_0x3fdc85<_0x10ff81;_0x3fdc85++)0x0==_0x3b1aa4[_0x3fdc85]['side']&&(_0x3b1aa4[_0x3fdc85]['level']=_0x2cd993);_0x2cd993=0x0;for(let _0x4cffdd=_0x10ff81-0x1;_0x4cffdd>=_0x53bd0b;_0x4cffdd--)0x0==_0x3b1aa4[_0x4cffdd]['distance']?_0x3b1aa4[_0x4cffdd]['level']=_0x2cd993:(_0x2cd993--,_0x3b1aa4[_0x4cffdd]['level']=_0x2cd993,_0x2cd993--);}}['_fixObsoleteTags'](_0x25070d){const _0x3033fa=new Map(),_0x508946=this['editor']['model']['schema'];for(let _0x4292a7=0x1;_0x4292a7<_0x25070d['length'];_0x4292a7++){let _0x532788,_0x10e168,_0x51188d;const _0x55907b=_0x25070d[_0x4292a7],_0x50ef34=_0x25070d[_0x4292a7-0x1];if('text'==_0x55907b['type'])continue;if(_0x55907b['type']!=_0x50ef34['type'])continue;if(!_0x508946['isBlock'](_0x50ef34['item'])||_0x508946['isLimit'](_0x50ef34['item']))continue;if(!_0x508946['isBlock'](_0x55907b['item'])||_0x508946['isLimit'](_0x55907b['item']))continue;if((_0x25070d[_0x4292a7]['isAdded']||_0x25070d[_0x4292a7]['isAddSuggestion'])&&_0x25070d[_0x4292a7-0x1]['isRemoved'])_0x532788=_0x25070d[_0x4292a7],_0x10e168=_0x25070d[_0x4292a7-0x1],_0x51188d=_0x4292a7-0x1;else{if(!_0x25070d[_0x4292a7]['isRemoved']||!_0x25070d[_0x4292a7-0x1]['isAdded']&&!_0x25070d[_0x4292a7-0x1]['isAddSuggestion'])continue;_0x532788=_0x25070d[_0x4292a7-0x1],_0x10e168=_0x25070d[_0x4292a7],_0x51188d=_0x4292a7;}const _0x2c32e8=_0x532788['level']==_0x10e168['level'],_0x225c7b=Math['abs'](_0x532788['level'])<Math['abs'](_0x10e168['level'])&&0x0==_0x10e168['distance'];(_0x2c32e8||_0x225c7b)&&(_0x3033fa['set'](_0x10e168['id'],_0x532788['id']),_0x25070d['splice'](_0x51188d,0x1),_0x4292a7--,_0x532788['isAdded']=!0x1);}for(let _0x2ea2d7=0x0;_0x2ea2d7<_0x25070d['length'];_0x2ea2d7++)_0x3033fa['has'](_0x25070d[_0x2ea2d7]['pairId'])&&(_0x25070d[_0x2ea2d7]['pairId']=_0x3033fa['get'](_0x25070d[_0x2ea2d7]['pairId']));}['_removeMissingPairs'](_0x1ccb93){const _0x5bde3a=new Set(_0x1ccb93['map'](_0x2e77cc=>_0x2e77cc['id']));for(let _0x35aee4=0x0;_0x35aee4<_0x1ccb93['length'];_0x35aee4++)_0x5bde3a['has'](_0x1ccb93[_0x35aee4]['pairId'])||0x0==_0x1ccb93[_0x35aee4]['distance']||(_0x1ccb93[_0x35aee4]['isIncorrect']=!0x0);return _0x1ccb93['filter'](_0x3c9a3a=>!_0x3c9a3a['isIncorrect']);}['_markMismatchedRemovedTags'](_0x373da6){const _0x18228c=new Set();for(let _0x4ca02f=0x0;_0x4ca02f<_0x373da6['length'];_0x4ca02f++){if(_0x18228c['has'](_0x373da6[_0x4ca02f]['id'])&&_0x373da6[_0x4ca02f]['isRemoved']&&(_0x373da6[_0x4ca02f]['isIncorrect']=!0x0),_0x373da6[_0x4ca02f]['isIncorrect'])continue;if(0x0==_0x373da6[_0x4ca02f]['distance'])continue;if('elementStart'!=_0x373da6[_0x4ca02f]['type'])continue;if(null==_0x373da6[_0x4ca02f]['pairId'])continue;let _0x1c1543=_0x4ca02f+0x1,_0x2f8fd3=0x0;for(;_0x373da6[_0x1c1543]['id']!=_0x373da6[_0x4ca02f]['pairId'];)'elementStart'==_0x373da6[_0x1c1543]['type']?_0x2f8fd3++:'elementEnd'==_0x373da6[_0x1c1543]['type']&&_0x2f8fd3--,_0x1c1543++;if(0x0!=_0x2f8fd3){if(_0x373da6[_0x4ca02f]['isRemoved'])_0x373da6[_0x4ca02f]['isIncorrect']=!0x0;else{for(;_0x1c1543!=_0x4ca02f;)_0x373da6[_0x1c1543]['isRemoved']&&0x0!=_0x373da6[_0x1c1543]['distance']&&(_0x373da6[_0x1c1543]['isIncorrect']=!0x0,_0x18228c['add'](_0x373da6[_0x1c1543]['pairId'])),_0x1c1543--;}}}return _0x373da6['filter'](_0x288b18=>!_0x288b18['isIncorrect']);}['_removeUnsupportedChanges'](_0x5e22ca){const _0x17339a=this['editor']['model']['schema'];for(let _0x17d16d=0x0;_0x17d16d<_0x5e22ca['length'];_0x17d16d++){if(!(_0x5e22ca[_0x17d16d]['isAdded']||_0x5e22ca[_0x17d16d]['isAddSuggestion']||_0x5e22ca[_0x17d16d]['isRemoved']||_0x5e22ca[_0x17d16d]['isRemoveSuggestion']))continue;if(0x0==_0x5e22ca[_0x17d16d]['distance'])continue;const _0x78d416=_0x5e22ca[_0x17d16d]['item'];_0x17339a['isBlock'](_0x78d416)||_0x17339a['isLimit'](_0x78d416)||(_0x5e22ca[_0x17d16d]['isAdded']&&delete _0x5e22ca[_0x17d16d]['isAdded'],_0x5e22ca[_0x17d16d]['isAddSuggestion']&&delete _0x5e22ca[_0x17d16d]['isAddSuggestion'],_0x5e22ca[_0x17d16d]['isRemoveSuggestion']&&delete _0x5e22ca[_0x17d16d]['isRemoveSuggestion'],_0x5e22ca[_0x17d16d]['isRemoved']&&(_0x5e22ca[_0x17d16d]['isIncorrect']=!0x0));}return _0x5e22ca['filter'](_0xcb22c4=>!_0xcb22c4['isIncorrect']);}['_makeModelFromTape'](_0xeb54ac,_0x6459fc,_0x1ff5ef){const _0x2b5437=new wt(),_0x41bd47=[],_0x18ac5f=new Map(),_0x213d6b=this['editor']['model'],_0x58ddf9=_0x213d6b['schema'],_0x18334a=[_0x2b5437],_0x498d89={},_0x5138b={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5e1889=null;const _0x5b44bb=[0x0];for(let _0x10a458=0x0;_0x10a458<_0xeb54ac['length'];_0x10a458++){let _0x77342e,_0x4d3e6f;if('elementStart'===_0xeb54ac[_0x10a458]['type']){_0x77342e=_0x213d6b['createPositionFromPath'](_0x2b5437,_0x5b44bb);const _0x22c3ec=new ft(_0xeb54ac[_0x10a458]['item']['name'],_0xeb54ac[_0x10a458]['item']['getAttributes']());_0x18334a[0x0]['_appendChild'](_0x22c3ec),_0x5b44bb['push'](0x0),_0x18334a['unshift'](_0x22c3ec),_0x4d3e6f=_0x213d6b['createPositionFromPath'](_0x2b5437,_0x5b44bb),_0x5e1889=null;}else{if('elementEnd'===_0xeb54ac[_0x10a458]['type'])_0x18334a['shift'](),_0x77342e=_0x213d6b['createPositionFromPath'](_0x2b5437,_0x5b44bb),_0x5b44bb['pop'](),_0x5b44bb[_0x5b44bb['length']-0x1]++,_0x4d3e6f=_0x213d6b['createPositionFromPath'](_0x2b5437,_0x5b44bb),_0x5e1889=null;else{if(_0x77342e=_0x213d6b['createPositionFromPath'](_0x2b5437,_0x5b44bb),_0x5e1889&&_0x6d1d8e(_0x5e1889,_0xeb54ac[_0x10a458]['item']))_0x5e1889['_data']+=_0xeb54ac[_0x10a458]['item']['data'];else{const _0x345cf0=new _t(_0xeb54ac[_0x10a458]['item']['data'],_0xeb54ac[_0x10a458]['item']['getAttributes']());_0x18334a[0x0]['_appendChild'](_0x345cf0),_0x5e1889=_0x345cf0;}_0x5b44bb[_0x5b44bb['length']-0x1]+=_0xeb54ac[_0x10a458]['item']['offsetSize'],_0x4d3e6f=_0x213d6b['createPositionFromPath'](_0x2b5437,_0x5b44bb);}}for(const _0x2771fe of _0xeb54ac[_0x10a458]['markersStart'])_0x18ac5f['set'](_0x2771fe,{'start':_0x77342e,'end':null});_0x4b05a0('isRemoveSuggestion',_0x10a458,_0x77342e,_0x4d3e6f),_0x4b05a0('isAddSuggestion',_0x10a458,_0x77342e,_0x4d3e6f),_0x4b05a0('isRemoved',_0x10a458,_0x77342e,_0x4d3e6f),_0x4b05a0('isAdded',_0x10a458,_0x77342e,_0x4d3e6f);for(const _0x348fc9 of _0xeb54ac[_0x10a458]['markersEnd']){_0x18ac5f['get'](_0x348fc9)['end']=_0x4d3e6f;}}for(const [_0x803fba,_0x21eb24]of _0x18ac5f){const _0x477ae6=this['editor']['model']['createRange'](_0x21eb24['start'],_0x21eb24['end']);_0x2b5437['markers']['set'](_0x803fba,_0x477ae6);}return _0x41bd47['sort']((_0x2b5405,_0x400c6e)=>{const _0x266097=_0x2b5437['markers']['get']('revision:'+_0x2b5405['id']),_0xbd9ade=_0x2b5437['markers']['get']('revision:'+_0x400c6e['id']);return _0x266097['start']['isBefore'](_0xbd9ade['start'])?-0x1:_0x266097['start']['isAfter'](_0xbd9ade['start'])?0x1:_0x266097['end']['isBefore'](_0xbd9ade['end'])?-0x1:_0x266097['end']['isAfter'](_0xbd9ade['end'])?0x1:'add'===_0x2b5405['type']?-0x1:0x1;}),{'root':_0x2b5437,'changes':_0x41bd47};function _0x4b05a0(_0x50ca77,_0x495ea0,_0x4ff2ab,_0x1a8ea1){const _0x4bc7f6=!!_0xeb54ac[_0x495ea0][_0x50ca77],_0x4a7a9c=_0x4bc7f6?_0xeb54ac[_0x495ea0][_0x50ca77]['userId']:null,_0x456bce=_0x495ea0===_0xeb54ac['length']-0x1,_0x4b929a=_0x5138b[_0x50ca77][0x0],_0x3f61e2=_0x58ddf9['isObject'](_0xeb54ac[_0x495ea0]['item']);!_0x498d89[_0x50ca77]&&_0x4bc7f6?_0x498d89[_0x50ca77]={'start':_0x4ff2ab,'tapeItem':_0xeb54ac[_0x495ea0],'userId':_0x4a7a9c,'type':_0x50ca77}:_0x498d89[_0x50ca77]&&!_0x4bc7f6?(_0x498d89[_0x50ca77]['end']=_0x4ff2ab,_0x367b45(_0x498d89[_0x50ca77]),_0x498d89[_0x50ca77]=null):_0x498d89[_0x50ca77]&&_0x4bc7f6&&_0x498d89[_0x50ca77]['userId']!==_0x4a7a9c&&(_0x498d89[_0x50ca77]['end']=_0x4ff2ab,_0x4b929a&&_0x4b929a['userId']===_0x498d89[_0x50ca77]['userId']||_0x367b45(_0x498d89[_0x50ca77]),_0x498d89[_0x50ca77]={'start':_0x4ff2ab,'tapeItem':_0xeb54ac[_0x495ea0],'userId':_0x4a7a9c,'type':_0x50ca77}),_0x498d89[_0x50ca77]&&_0x3f61e2&&('elementStart'!==_0xeb54ac[_0x495ea0]['type']||_0x4b929a&&_0x4b929a['userId']===_0x4a7a9c||_0x5138b[_0x50ca77]['unshift']({'userId':_0x4a7a9c,'object':_0xeb54ac[_0x495ea0]['item'],'change':_0x498d89[_0x50ca77]}),'elementEnd'===_0xeb54ac[_0x495ea0]['type']&&_0x4b929a&&_0x4b929a['object']===_0xeb54ac[_0x495ea0]['item']&&(_0x5138b[_0x50ca77]['shift'](),_0x498d89[_0x50ca77]=_0x4b929a['change'])),_0x498d89[_0x50ca77]&&_0x456bce&&(_0x498d89[_0x50ca77]['end']=_0x1a8ea1,_0x367b45(_0x498d89[_0x50ca77]),_0x498d89[_0x50ca77]=null);}function _0x367b45({start:_0x3a4451,end:_0x22c240,tapeItem:_0x4f933c,userId:_0x58d490,type:_0x2054f4}){const _0x39cd72=_0x4f933c['item'],_0x433272=_0x213d6b['schema']['isBlock'](_0x39cd72)&&!_0x213d6b['schema']['isLimit'](_0x39cd72),_0x553b24=_0x3a4451['nodeAfter']==_0x22c240['parent']&&_0x22c240['isAtStart'];if(_0x433272&&_0x553b24)return;const _0x2c37d4=_0x213d6b['createRange'](_0x3a4451,_0x22c240),_0x334386=_0x6459fc['get'](_0x58d490),_0xf3fbda=new r({'author':_0x334386,'type':'isAdded'==_0x2054f4||'isAddSuggestion'==_0x2054f4?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2054f4||'isRemoveSuggestion'==_0x2054f4},'createdAt':new Date(),'rootName':_0x1ff5ef});_0x41bd47['push'](_0xf3fbda),_0x2b5437['markers']['set']('revision:'+_0xf3fbda['id'],_0x2c37d4);}function _0x6d1d8e(_0x2884b0,_0xb288e0){const _0x3d681f=_0x2884b0['getAttributes'](),_0x41cc16=_0xb288e0['getAttributes']();for(const _0x3c5942 of _0x3d681f){if(_0x3c5942[0x1]!==_0xb288e0['getAttribute'](_0x3c5942[0x0]))return!0x1;_0x41cc16['next']();}return _0x41cc16['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x5e9ae1=>{const _0x4cac94=_0x5e9ae1['markerName']['split'](':')[0x1],_0x2bb7c5=this['_getChangeFromId'](_0x4cac94);if(!_0x2bb7c5)return null;const _0x1f29b5='add'==_0x2bb7c5['type']?'insertion':'deletion',_0x36f0ff=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1f29b5];return _0x2bb7c5['data']['isSuggestion']&&_0x36f0ff['push']('ck-suggestion-marker-'+_0x1f29b5+'-new'),this['activeChange']==_0x2bb7c5&&_0x36f0ff['push']('ck-suggestion-marker--active'),{'classes':_0x36f0ff,'attributes':{'data-change-id':_0x4cac94}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x56c1ef=>{_0x56c1ef['on']('element:pre',(_0x15d151,_0x3db807,_0x83ea46)=>{const _0x1573af=_0x3db807['viewItem']['getChild'](0x0);if(!_0x1573af||!_0x1573af['is']('element','code'))return;if(!_0x83ea46['consumable']['consume'](_0x1573af,{'attributes':['vid_start','vid_end']}))return;const _0x4b0e23=_0x3db807['modelRange']['start']['nodeAfter'];_0x83ea46['writer']['setAttribute']('vid_start',_0x1573af['getAttribute']('vid_start'),_0x4b0e23),_0x83ea46['writer']['setAttribute']('vid_end',_0x1573af['getAttribute']('vid_end'),_0x4b0e23);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x4462e3=>{_0x4462e3['on']('element',(_0x2ada70,_0x3284a1,_0x2b5684)=>{if(!_0x2b5684['consumable']['consume'](_0x3284a1['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3284a1['modelRange']['isCollapsed'])return;const _0x54f559=_0x3284a1['modelRange']['start']['nodeAfter'];_0x54f559['hasAttribute']('vid_start')||_0x54f559['hasAttribute']('vid')||(_0x2b5684['writer']['setAttribute']('vid_start',_0x3284a1['viewItem']['getAttribute']('vid_start'),_0x54f559),_0x2b5684['writer']['setAttribute']('vid_end',_0x3284a1['viewItem']['getAttribute']('vid_end'),_0x54f559));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x46f156=>_0x46f156['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x12745a,[,_0x19dc57])=>{['vid_start','vid_end','vid']['includes'](_0x19dc57)&&(_0x12745a['return']=!0x0,_0x12745a['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x4a9210=>{_0x4a9210['on']('attribute:vid',(_0x9b7d6f,_0x242237,_0x4b4eef)=>{if('\x20'!=_0x242237['item']['data']||_0x242237['item']['parent']['maxOffset']>0x1)return;if(!_0x4b4eef['consumable']['consume'](_0x242237['item'],_0x9b7d6f['name']))return;const _0x5b914b=_0x4b4eef['writer'],_0xfb330f=_0x4b4eef['mapper']['toViewRange'](_0x242237['range']);_0x5b914b['wrap'](_0xfb330f,_0x5b914b['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x164079){const _0x59fe2e=_0x164079['plugins']['get']('RevisionViewer');return(_0x4907a7,_0x29fce8,_0x306dd5)=>{const _0x4b3759=_0x29fce8['markerName']['split'](':')[0x1],_0x12f5fb=_0x59fe2e['_getChangeFromId'](_0x4b3759);if(!_0x12f5fb)return null;const _0x59992d='add'==_0x12f5fb['type']?'split':'merge';if(!_0x306dd5['consumable']['test'](_0x29fce8['markerRange'],_0x4907a7['name']))return;const _0x3b261b=_0x29fce8['markerRange']['getWalker'](),_0x4f5142=_0x29fce8['markerRange']['start'],_0x22b719=_0x164079['model']['schema'];let _0x3fb8bc=null,_0x50cb78=null,_0x1abdd2=!0x1,_0x482486=!0x1;for(const _0x14cb9c of _0x3b261b){const _0x50e852=_0x14cb9c['item'];_0x1abdd2=_0x1abdd2||_0x22b719['isContent'](_0x50e852);const _0x236706=_0x306dd5['mapper']['toViewElement'](_0x50e852);if(_0x236706&&_0x236706['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x14cb9c['type']&&(_0x22b719['isBlock'](_0x50e852)&&!_0x22b719['isLimit'](_0x50e852)&&(_0x50e852['nextSibling']||_0x4f5142['isAtEnd']?_0x3fb8bc&&_0x3fb8bc['parent']==_0x50e852||(_0x3fb8bc=_0x50e852,_0x55861f(_0x14cb9c['previousPosition']),_0x482486=!0x0):_0x50cb78=_0x50cb78||_0x14cb9c['previousPosition']));}function _0x55861f(_0x24730b){const _0x2195ee=_0x306dd5['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x59992d}),_0x259777=_0x306dd5['mapper']['toViewPosition'](_0x24730b);_0x12f5fb['data']['isSuggestion']&&_0x306dd5['writer']['addClass']('ck-suggestion-marker-'+_0x59992d+'-new',_0x2195ee),_0x59fe2e['activeChange']==_0x12f5fb&&_0x306dd5['writer']['addClass']('ck-suggestion-marker--active',_0x2195ee),_0x306dd5['writer']['insert'](_0x259777,_0x2195ee),_0x306dd5['mapper']['bindElementToMarker'](_0x2195ee,_0x29fce8['markerName']);}_0x1abdd2||_0x482486||!_0x50cb78||_0x55861f(_0x50cb78);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3c9b21,_0x1dccd9,_0x3a09f6)=>{const _0x54de43=_0x3a09f6['mapper']['markerNameToElements'](_0x1dccd9['markerName']);if(_0x54de43){for(const _0x3c8977 of _0x54de43)(_0x3c8977['hasClass']('ck-suggestion-marker-split')||_0x3c8977['hasClass']('ck-suggestion-marker-merge'))&&(_0x3a09f6['mapper']['unbindElementFromMarkerName'](_0x3c8977,_0x1dccd9['markerName']),_0x3a09f6['writer']['remove'](_0x3c8977));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3f3ff6,_0x56ccfa,_0x340017)=>{const _0x2da9fe=_0x56ccfa['markerName']['split'](':')[0x1],_0x4f4bd9=this['_getChangeFromId'](_0x2da9fe);if(!_0x4f4bd9)return null;const _0x476db0='add'==_0x4f4bd9['type']?'split':'merge';if(_0x340017['consumable']['test'](_0x56ccfa['markerRange'],_0x3f3ff6['name']))for(const _0x34046f of _0x56ccfa['markerRange']['getItems']()){if(!_0x34046f['is']('element','softBreak'))continue;const _0x421a45=_0x340017['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x476db0}),_0x54e596=_0x340017['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x34046f));_0x4f4bd9['data']['isSuggestion']&&_0x340017['writer']['addClass']('ck-suggestion-marker-'+_0x476db0+'-new',_0x421a45),this['activeChange']==_0x4f4bd9&&_0x340017['writer']['addClass']('ck-suggestion-marker--active',_0x421a45),_0x340017['writer']['insert'](_0x54e596,_0x421a45),_0x340017['mapper']['bindElementToMarker'](_0x421a45,_0x56ccfa['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x391e19=>{for(const _0x20c37a of this['editor']['model']['document']['getRootNames']()){const _0x516371=this['editor']['model']['document']['getRoot'](_0x20c37a),_0x3243bc=this['editor']['editing']['view']['document']['getRoot'](_0x20c37a);if(_0x3243bc){const _0x297978=_0x516371['getAttribute']('revisionHistoryAttachChange');if(_0x391e19['removeAttribute']('data-change-id',_0x3243bc),_0x391e19['removeClass']('ck-revision-history-root-add',_0x3243bc),_0x391e19['removeClass']('ck-revision-history-root-remove',_0x3243bc),_0x391e19['removeClass']('ck-revision-history-root--active',_0x3243bc),_0x297978){const _0x26e8ae=this['_getChangeFromId'](_0x297978);if(!_0x26e8ae)return null;_0x391e19['setAttribute']('data-change-id',_0x297978,_0x3243bc),_0x391e19['addClass']('ck-revision-history-root-'+_0x26e8ae['type'],_0x3243bc),this['activeChange']==_0x26e8ae&&_0x391e19['addClass']('ck-revision-history-root--active',_0x3243bc);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x2a31ee=>'revision-comment:'+_0x2a31ee,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x2b15b6=>'revision-suggestion:'+_0x2b15b6,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4be146=>({'name':'suggestion:'+_0x4be146,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0xa3f13d=>{const _0x16268f=_0xa3f13d['markerName']['split'](':')[0x1];return'insertion'!=_0x16268f&&'deletion'!=_0x16268f?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x16268f]};}}),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',(_0x1d98bd,_0xe4239a,_0x415466)=>{const _0x13ca65=_0x415466['mapper']['markerNameToElements'](_0xe4239a['markerName']);if(_0x13ca65){for(const _0x1c7c3e of _0x13ca65)_0x1c7c3e['is']('uiElement')&&(_0x415466['mapper']['unbindElementFromMarkerName'](_0x1c7c3e,_0xe4239a['markerName']),_0x415466['writer']['remove'](_0x1c7c3e));}},{'priority':'high'});}['_getChangeFromId'](_0x39d8b8){return this['_changeIdToChange']['get'](_0x39d8b8);}['_getViewForChange'](_0x4ed54c){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x4ed54c),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x48aede,_0x228eb8,_0x5a6c25,_0x12bdd8)=>{_0x12bdd8&&this['_balloon']['remove'](_0x12bdd8),_0x5a6c25&&(this['_balloon']['add']({'view':_0x5a6c25,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x525d72=this['editor']['editing'],_0x14fa3d=this['_getChangeFromId'](_0x5a6c25['changeId']);let _0x2fd199;if(_0x14fa3d['data']['isOnRoot']){const _0x89475c=_0x525d72['view']['getDomRoot'](_0x14fa3d['rootName']);_0x2fd199=Array['from'](_0x89475c['getClientRects']());}else{const _0x2a9a1e=this['editor']['model']['markers']['get']('revision:'+_0x5a6c25['changeId']);_0x2fd199=Array['from'](_0x525d72['mapper']['markerNameToElements'](_0x2a9a1e['name']))['map'](_0x42c853=>_0x525d72['view']['domConverter']['mapViewToDom'](_0x42c853))['map'](_0x3718f8=>Array['from'](_0x3718f8['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2fd199[0x0];return _0x2fd199['find'](_0x125b51=>_0x125b51['top']-0x3<=this['_activeViewTarget']['y']&&_0x125b51['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x125b51['left']-0x3<=this['_activeViewTarget']['x']&&_0x125b51['right']+0x3>=this['_activeViewTarget']['x'])||_0x2fd199[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3e50bb,_0x3aef39,_0x11beaa,_0x32cf6e)=>{this['activeView']=_0x11beaa?this['_getViewForChange'](_0x11beaa):null,this['editor']['model']['change'](()=>{const _0x4b9ba2=this['editor']['editing'];_0x32cf6e&&(_0x32cf6e['data']['isOnRoot']?_0x4b9ba2['view']['change'](_0x56b761=>{_0x56b761['removeClass']('ck-revision-history-root--active',_0x4b9ba2['view']['document']['getRoot'](_0x32cf6e['rootName']));}):_0x4b9ba2['reconvertMarker']('revision:'+_0x32cf6e['id'])),_0x11beaa&&(_0x11beaa['data']['isOnRoot']?_0x4b9ba2['view']['change'](_0xdc7563=>{_0xdc7563['addClass']('ck-revision-history-root--active',_0x4b9ba2['view']['document']['getRoot'](_0x11beaa['rootName']));}):_0x4b9ba2['reconvertMarker']('revision:'+_0x11beaa['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x16e110,_0x18a68c)=>{if(this['activeChange'])return;const _0x3f5934=this['_findChangeIdFromDomTarget'](_0x18a68c['target']),_0xec7d26=this['_changeIdToChange']['get'](_0x3f5934);_0xec7d26?(this['_activeViewTarget']={'x':_0x18a68c['domEvent']['x'],'y':_0x18a68c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0xec7d26)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3176ac,_0x476a83)=>{const _0x3b9398=this['_findChangeIdFromDomTarget'](_0x476a83['target']),_0x26befc=this['_changeIdToChange']['get'](_0x3b9398);_0x26befc?(this['_activeViewTarget']={'x':_0x476a83['domEvent']['x'],'y':_0x476a83['domEvent']['y']},_0x26befc===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x26befc):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x472bb2){do{const _0x344285=_0x472bb2['getAttribute']('data-change-id');if(_0x344285)return _0x344285;_0x472bb2=_0x472bb2['parent'];}while(_0x472bb2);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0xca65d8=>{for(const _0x54f915 of this['editor']['model']['markers'])_0xca65d8['removeMarker'](_0x54f915);});}}function et(_0x426d50,_0x539985){return(_0xbde33f,_0x5d7879,_0x2ad9b1)=>{if(!_0x2ad9b1['consumable']['test'](_0x5d7879['markerRange'],_0xbde33f['name']))return;const _0x44f728=_0x5d7879['markerRange']['getWalker'](),_0x1158ac=_0x5d7879['markerRange']['start'],_0x50e2f7=_0x426d50['model']['schema'];let _0x3b54b8=null,_0x448bd2=null,_0xfb4352=!0x1,_0x31cb91=!0x1;for(const _0x3bfea7 of _0x44f728){const _0x12f474=_0x3bfea7['item'];_0xfb4352=_0xfb4352||_0x50e2f7['isContent'](_0x12f474);const _0x46601a=_0x2ad9b1['mapper']['toViewElement'](_0x12f474);if(_0x46601a&&_0x46601a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3bfea7['type']&&(_0x50e2f7['isBlock'](_0x12f474)&&!_0x50e2f7['isLimit'](_0x12f474)&&(_0x12f474['nextSibling']||_0x1158ac['isAtEnd']?_0x3b54b8&&_0x3b54b8['parent']==_0x12f474||(_0x3b54b8=_0x12f474,_0x261101(_0x3bfea7['previousPosition']),_0x31cb91=!0x0):_0x448bd2=_0x448bd2||_0x3bfea7['previousPosition']));}function _0x261101(_0x58edd5){const _0x307df0=_0x2ad9b1['mapper']['toViewPosition'](_0x58edd5),_0x53e350=_0x2ad9b1['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x539985});_0x2ad9b1['writer']['insert'](_0x307df0,_0x53e350),_0x2ad9b1['mapper']['bindElementToMarker'](_0x53e350,_0x5d7879['markerName']);}_0xfb4352||_0x31cb91||!_0x448bd2||_0x261101(_0x448bd2);};}class bt extends _0x31a8b4{constructor(_0x193e1){super(_0x193e1);const _0x27a09a=_0x193e1['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x27a09a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x27a09a,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x44efce=this['editor'],_0x4f8715=_0x44efce['plugins']['get'](d),_0x201f3a=_0x4f8715['isReady']?_0x4f8715['diff']['newRevisionId']:null;_0x44efce['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x201f3a);}['refresh'](){const {isReady:_0x51d5c8,isEnabled:_0x180b7a}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x51d5c8&&_0x180b7a;}}class yt extends _0x31a8b4{['_step'];constructor(_0x4a14c2,{direction:_0x13ed7e}){super(_0x4a14c2);const _0x187581=_0x4a14c2['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x13ed7e?0x1:-0x1,this['listenTo'](_0x187581,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x187581,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x187581,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3de4cc=this['editor'],_0x2001de=_0x3de4cc['plugins']['get'](d),{isNavigationMode:_0x288af0,currentChangeNumber:_0xd1ee96}=_0x2001de;let _0x1b167d;if(_0x2001de['activeChange']=_0x288af0?_0x2001de['diff']['changes']['get'](_0xd1ee96+this['_step']):_0x2001de['diff']['changes']['first'],_0x2001de['activeChange']['data']['isOnRoot'])_0x1b167d=_0x3de4cc['editing']['view']['getDomRoot'](_0x2001de['activeChange']['rootName']);else{const _0x1ed030=_0x3de4cc['model']['markers']['get']('revision:'+_0x2001de['activeChange']['id']);_0x1b167d=_0x57bc13(_0x3de4cc['editing'],_0x1ed030);}_0xbf6af6({'target':_0x1b167d,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1910e6,currentChangeNumber:_0xd2c20,numberOfChanges:_0x506ff2,isReady:_0x593f34,isEnabled:_0x56e829}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x56e829&&_0x593f34&&_0x506ff2)&&(!_0x1910e6||(0x1===this['_step']?_0xd2c20<_0x506ff2-0x1:_0xd2c20>0x0));}}class _i extends _0xe63f62{constructor(_0x30536f){super(_0x30536f);const _0xac42a1=this['bindTemplate'],_0xffaeae=new _0x5591a3(_0x30536f),_0x403765=new _0x5591a3(_0x30536f);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',(_0x17d10b,_0x3775a0)=>_0x17d10b&&_0x3775a0>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x64c7e4,_0x436f18,_0x1f6a3c,_0x387dfe)=>{if(!_0x64c7e4)return y(_0x30536f,'Loading...');if(!_0x1f6a3c)return y(_0x30536f,'No\x20changes');const _0x134234=y(_0x30536f,'NUMBER_OF_CHANGES',_0x1f6a3c);return _0x387dfe?y(_0x30536f,'X_OF_Y_CHANGES',[_0x436f18+0x1,_0x1f6a3c]):_0x134234;}),_0xffaeae['set']({'label':y(_0x30536f,'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'}),_0x403765['set']({'label':y(_0x30536f,'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'}),_0xffaeae['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x403765['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0xffaeae['on']('execute',()=>this['fire']('execute','backward')),_0x403765['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',_0xac42a1['if']('_isStatusLabelVisible','ck-hidden',_0x46d53c=>!_0x46d53c)]},'children':[{'text':_0xac42a1['to']('isNavigationMode',_0x5d2f91=>_0x5d2f91?y(_0x30536f,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x30536f,'Total')+':\x20')}]},{'text':_0xac42a1['to']('_statusText')}]},new _0x49f13d(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0xffaeae,_0x403765]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x1ffe89{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3117ff=this['editor']['editing']['view'];_0x3117ff['change'](_0x2d34c9=>{for(const _0x2b04b1 of _0x3117ff['document']['roots'])_0x2d34c9['addClass'](ce,_0x2b04b1);});}['hide'](){const _0x20d064=this['editor']['editing']['view'];_0x20d064['change'](_0x5bef33=>{for(const _0x277b78 of _0x20d064['document']['roots'])_0x5bef33['removeClass'](ce,_0x277b78);});}}class R extends _0x1ffe89{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x5ca935=this['editor'],_0x5023de=_0x5ca935['plugins']['get'](d),_0x495363=_0x5ca935['plugins']['get'](de);_0x5ca935['ui']['componentFactory']['add']('exitToEditing',_0x34e67b=>{const _0xe2b7d3=new _0x5591a3(_0x34e67b);return _0xe2b7d3['set']({'label':y(_0x34e67b,'Back\x20to\x20editing'),'icon':_0x5de8c3['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0xe2b7d3,'execute',()=>{_0x5ca935['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0xe2b7d3;}),_0x5ca935['ui']['componentFactory']['add']('restoreRevision',_0x36652c=>{const _0x385933=new _0x5591a3(_0x36652c);return _0x385933['set']({'label':y(_0x36652c,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x385933['bind']('isEnabled')['to'](_0x5ca935['commands']['get']('restoreRevision')),this['listenTo'](_0x385933,'execute',()=>_0x5ca935['execute']('restoreRevision')),_0x385933;}),_0x5ca935['ui']['componentFactory']['add']('changesNavigation',_0x7eb359=>{const _0x338e60=new _i(_0x7eb359),_0x66c228=_0x5ca935['commands']['get']('showPreviousChange'),_0x52c62f=_0x5ca935['commands']['get']('showNextChange');return _0x338e60['bind']('isBackwardNavigationEnabled')['to'](_0x66c228,'isEnabled'),_0x338e60['bind']('isForwardNavigationEnabled')['to'](_0x52c62f,'isEnabled'),_0x338e60['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5023de),this['listenTo'](_0x338e60,'execute',(_0x5da851,_0x4ba0b2)=>{_0x5ca935['execute']('forward'===_0x4ba0b2?'showNextChange':'showPreviousChange');}),_0x338e60;}),_0x495363['show'](),_0x5023de['on']('change:isReady',(_0x28a4fb,_0x180f49,_0x262156)=>{_0x262156?_0x495363['hide']():_0x495363['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5c89f6,_0x20438e){super(_0x5c89f6,_0x20438e);const _0x27008c=this['bindTemplate'];this['set']({'label':y(_0x5c89f6,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5c89f6,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x27008c['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 _0xec6bcb=this['fieldView']['element'];this['_tooltipString']=_0xec6bcb['scrollWidth']>_0xec6bcb['clientWidth']&&_0xec6bcb['value']||'';}}class ti extends _0xe63f62{constructor(_0x1f5a68,_0x2e98fe,_0x529e1c){super(_0x1f5a68);const _0x1b8bd9=new _0x281cc4();_0x1b8bd9['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 _0x160269=['ck','ck-revision-history-sidebar__revision-author'];_0x529e1c&&_0x160269['push']('ck-revision-history-sidebar__revision-author_creator');const _0x496307=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x1f5a68,_0x529e1c?'Revision\x20creator':'Revision\x20author')},'children':[_0x1b8bd9,_0x2e98fe['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x160269},'children':_0x496307});}}function ni(_0x59c244,_0x5e008f){const _0x5e2053=_0x59c244['bindTemplate'],_0x1fe0ea=_0x59c244['locale'],_0x16b8f7=_0x5436a3(_0x1fe0ea);_0x16b8f7['panelPosition']='sw';const _0x2c2584=function(_0x5bf984,_0x4495df){const _0x29d2ad=function(_0x11c00d,_0x3deea0){const _0x54383c=_0x11c00d['locale'],_0xdd10b9={'Compare\x20against\x20selected':y(_0x54383c,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x54383c,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x54383c,'Restore\x20this\x20revision')};return _0x3deea0['map'](_0x1ac88c=>{const _0x44d47e=_0xdd10b9[_0x1ac88c['name']];return _0x44d47e&&_0x44d47e!==_0x1ac88c['name']&&(_0x1ac88c['name']=_0x44d47e),_0x1ac88c;});}(_0x5bf984,_0x4495df),_0xc0a54a=new _0x417056();for(const _0x5b4d48 of _0x29d2ad){const _0x3187a7={'type':'button','model':new to({'label':_0x5b4d48['name'],'class':_0x5b4d48['class'],'withText':!0x0,'role':'menuitem','_action':_0x5b4d48['action']})};_0x3187a7['model']['bind']('isEnabled')['to'](_0x5bf984,'isActionsDropdownOpen',_0x537d93=>'function'!=typeof _0x5b4d48['isEnabled']||(!_0x537d93||_0x5b4d48['isEnabled'](_0x5bf984))),_0xc0a54a['add'](_0x3187a7);}return _0xc0a54a;}(_0x59c244,_0x5e008f);return _0x59c244['bind']('isActionsDropdownOpen')['to'](_0x16b8f7,'isOpen'),_0x16b8f7['buttonView']['set']({'label':y(_0x1fe0ea,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5de8c3['threeVerticalDots']}),_0x16b8f7['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x5e2053['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x5e2053['to'](_0x1dbad4=>_0x1dbad4['stopPropagation']())}}),_0x16b8f7['on']('execute',_0x5132cf=>{_0x59c244['isReady']&&'function'==typeof _0x5132cf['source']['_action']&&_0x5132cf['source']['_action'](_0x59c244);}),_0x8ed943(_0x16b8f7,_0x2c2584,{'role':'menu'}),_0x16b8f7['listenTo'](_0x59c244,'change:isActionsDropdownOpen',(_0x3f98f6,_0x2e0f9d,_0x47baf6)=>{if(_0x47baf6)for(const _0x12450f of _0x16b8f7['listView']['items']){const _0x542749=_0x12450f['children']['first'],_0x49678c=_0x5e008f['find'](_0x153eaf=>_0x153eaf['action']===_0x542749['_action'])['isVisible'];_0x12450f['isVisible']=void 0x0===_0x49678c||_0x49678c(_0x59c244);}}),_0x16b8f7;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x13e5d8(_0xe63f62){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x3baeae,_0x518325,_0x37b0c7,_0x3a1ab1){super(_0x3baeae);const _0x4f25f6=this['bindTemplate'],_0x523019=function(_0x53e45d,_0x2a7d29){const _0x7e8044=Array['from'](_0x2a7d29['authors'])['filter'](_0x523ca7=>_0x523ca7!=_0x2a7d29['creator']);return _0x2a7d29['creator']&&_0x7e8044['unshift'](_0x2a7d29['creator']),_0x7e8044['map'](_0x4fa5ed=>new ti(_0x53e45d,_0x4fa5ed,_0x4fa5ed==_0x2a7d29['creator']));}(_0x3baeae,_0x518325);this['id']=_0x518325['id'],this['_revision']=_0x518325,this['_requireRevisionName']=_0x3a1ab1,this['bind']('name','createdAt')['to'](_0x518325),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x390685=>{return _0x470f16=_0x3baeae['uiLanguage'],(_0x194ae7=_0x390685)['toLocaleDateString'](_0x470f16,{'month':'long','day':'numeric'})+',\x20'+_0x194ae7['toLocaleTimeString'](_0x470f16,{'hour':'numeric','minute':'numeric'});var _0x470f16,_0x194ae7;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x3baeae,_0xf69869),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x49f43e=>_0x49f43e||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x3e7acb,_0x31c3f9)=>_0x3e7acb&&_0x31c3f9),this['revisionActionsView']=_0x37b0c7&&_0x37b0c7['length']?ni(this,_0x37b0c7):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x4f25f6['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x4f25f6['if']('isEnabled','ck-disabled',_0x4897e4=>!_0x4897e4),_0x4f25f6['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x4f25f6['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x4f25f6['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':_0x4f25f6['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':_0x523019}]},this['revisionActionsView']],'on':{'click':_0x4f25f6['to'](_0x939f90=>{_0x939f90['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0xc0399f=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0xc0399f,'change',()=>{this['_requireRevisionName']&&!_0xc0399f['value']||this['fire']('setName',{'id':this['id'],'name':_0xc0399f['value']}),_0xc0399f['value']||(_0xc0399f['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(_0x42cccc,_0x526a2e){const _0x57373c=_0x446715['fromJSDate'](_0x42cccc)['setLocale'](_0x526a2e),_0x518df4=_0x446715['local'](),_0x4a706e=_0x518df4['minus']({'days':0x1})['startOf']('day');let _0x6ab9d9,_0xfa2671;return _0x57373c['hasSame'](_0x518df4,'day')?(_0x6ab9d9=_0x57373c['startOf']('day')['toJSDate'](),_0xfa2671=_0x57373c['toRelativeCalendar']()):_0x57373c['hasSame'](_0x4a706e,'day')?(_0x6ab9d9=_0x4a706e['toJSDate'](),_0xfa2671=_0x57373c['toRelativeCalendar']()):_0x57373c['hasSame'](_0x518df4,'week')?(_0x6ab9d9=_0x57373c['startOf']('week')['toJSDate'](),_0xfa2671=_0x57373c['weekdayLong']||''):_0x57373c['hasSame'](_0x518df4,'year')?(_0x6ab9d9=_0x57373c['startOf']('month')['toJSDate'](),_0xfa2671=_0x57373c['monthLong']||''):(_0x6ab9d9=_0x57373c['startOf']('year')['toJSDate'](),_0xfa2671=String(_0x57373c['year'])),{'startDate':_0x6ab9d9,'localizedPeriodName':_0xfa2671};}class mi extends _0xe63f62{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x3eedd8,_0xcd7e,_0x5776da,_0x1396f8){super(_0x3eedd8);const _0x28fd41=di(_0xcd7e,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0xcd7e,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x5776da,this['_requireRevisionName']=_0x1396f8,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':_0x28fd41}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0xa59e6d){const _0x530437=new ai(this['locale'],_0xa59e6d,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x530437);}['removeRevision'](_0x58d665){const _0x3fc7da=this['revisionViews']['find'](_0x33cdb0=>_0x33cdb0['id']===_0x58d665['id']);this['revisionViews']['remove'](_0x3fc7da);}}class as extends _0xe63f62{constructor(_0x2a8afc){super(_0x2a8afc);const _0x578df7=new _0x281cc4();_0x578df7['content']=_0x5de8c3['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x578df7,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x2a8afc,'Revision\x20history')]}]});}}class ci extends _0xe63f62{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x145079,_0x3afd62,_0x12a8bd,_0x26bfad){super(_0x145079);const _0x5cae3a=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x3afd62,this['_revisionActions']=_0x12a8bd,this['_requireRevisionName']=_0x26bfad,this['on']('select',(_0x51b380,_0x539926)=>{this['fire']('revisionSelected',_0x539926);}),this['on']('setName',(_0x253c40,_0xd88f7d)=>{this['fire']('revisionSetName',_0xd88f7d);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x145079),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x5cae3a['if']('isEnabled','ck-disabled',_0x5287cf=>!_0x5287cf)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x539c86 of this['_revisions'])this['_addRevision'](_0x539c86);this['_revisions']['on']('add',(_0x290c3d,_0x1f9943)=>{this['_addRevision'](_0x1f9943);}),this['_revisions']['on']('remove',(_0x3cd662,_0x309510)=>{this['_removeRevision'](_0x309510);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x6564a2=>_0x6564a2['revisionViews']['map'](_0x2d6a51=>_0x2d6a51))['flat']();}['selectRevision'](_0x44e6e0){for(const _0x24f427 of this['revisionViews'])_0x44e6e0&&_0x44e6e0['id']===_0x24f427['id']?_0x24f427['select']():_0x24f427['deselect']();}['highlightRevisions'](_0x13a641){for(const _0x30981e of this['revisionViews'])_0x13a641['some'](({id:_0x3facbb})=>_0x3facbb===_0x30981e['id'])?_0x30981e['highlight']():_0x30981e['unhighlight']();}['_addRevision'](_0x1c16f6){const _0x4092d3=di(_0x1c16f6['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x402bb7=this['timePeriodViews']['get'](0x0);_0x402bb7&&_0x402bb7['startDate']['getTime']()===_0x4092d3['getTime']()||(_0x402bb7=new mi(this['locale'],_0x4092d3,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x402bb7)),_0x402bb7['addRevision'](_0x1c16f6);}['_removeRevision'](_0x47533f){const _0x295c14=di(_0x47533f['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x295c14)['removeRevision'](_0x47533f);}['_getTimePeriodViewByStartDate'](_0x317ef0){return this['timePeriodViews']['find'](_0x143b07=>_0x143b07['startDate']['getTime']()===_0x317ef0['getTime']());}}class w extends _0x1ffe89{['_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(_0x402eee){super(_0x402eee),this['_revisionViewer']=_0x402eee['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x349163=this['_revisionsRepository']['_revisions'],_0x3bb042=this['_createRevisionActions'](),_0x54cb93=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x349163,_0x3bb042,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',(_0x40c336,_0x54b952)=>{_0x54b952['revisionViews']['on']('add',(_0x4e142a,_0x51bdf3)=>{_0x51bdf3['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)),_0x54cb93['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1a8c07=this['_revisionsRepository']['getRevision'](0x0);if(_0x1a8c07){const _0x2dac64=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1a8c07['id']);this['_revisionViewer']['compare'](_0x1a8c07,_0x2dac64);}}['_handleRevisionSelected'](_0x413916,_0x2b3bf9){const _0x3be3ee=this['_revisionsRepository']['getRevision'](_0x2b3bf9['id']),_0x3cb330=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3be3ee['id']);this['_revisionViewer']['compare'](_0x3be3ee,_0x3cb330);}['_handleRevisionSetName'](_0x226bc6,_0x582294){this['_revisionsRepository']['getRevision'](_0x582294['id'])['setName'](_0x582294['name']);}['_handleDiffChange'](_0x205916,_0x50fa2c,_0x14e18c){const _0x2e4c43=this['_revisionsRepository']['getRevisionsInDiff'](_0x14e18c);_0x2e4c43['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x2e4c43),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x2e4c43[0x0]));}['_createRevisionActions'](){const _0x4fc5b6=this['editor'],_0x1dde77=w['availableRevisionActions'],_0x5ec56b=_0x4fc5b6['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5ec56b['length'])return _0x5ec56b['map'](_0x456a71=>{const _0x211d16='string'==typeof _0x456a71?Object['assign']({},_0x1dde77[_0x456a71]):_0x456a71;return _0x211d16['action']=_0x211d16['action']['bind'](this,_0x4fc5b6),_0x211d16['isVisible']&&(_0x211d16['isVisible']=_0x211d16['isVisible']['bind'](this,_0x4fc5b6)),_0x211d16;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0xec7792},_0x303705)=>{const _0xff4aa2=_0xec7792['get'](d),_0x56d755=_0xff4aa2['repository'];let _0x2d3996=_0xff4aa2['diff']['newRevisionId'],_0x199bf3=_0x303705['id'];_0x56d755['getIndex'](_0x2d3996)>_0x56d755['getIndex'](_0x199bf3)&&([_0x2d3996,_0x199bf3]=[_0x199bf3,_0x2d3996]),_0xff4aa2['compare'](_0x2d3996,_0x199bf3);},'isVisible':({plugins:_0x4447f0},_0x349e7f)=>{const _0x4846a6=_0x4447f0['get'](d);return!(_0x4846a6['repository']['getRevisionsInDiff'](_0x4846a6['diff'])['length']>0x2)&&!_0x349e7f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x16433c,{id:_0x28d529})=>{_0x16433c['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x28d529);},'isVisible':({plugins:_0x599af1},_0x41ac98)=>!!_0x599af1['get'](d)['repository']['getLaterVisibleRevision'](_0x41ac98['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5d72b9},{id:_0x36641a,revisionNameView:_0x41343e})=>{const _0x2e6312=_0x5d72b9['get'](d),_0x329604=_0x2e6312['repository']['getEarlierVisibleRevision'](_0x36641a);_0x2e6312['compare'](_0x36641a,_0x329604),_0x41343e['focus'](),_0x41343e['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x1cbb84,_0x520ffb){super(_0x1cbb84),this['_view']=_0x520ffb,this['_toolbarConfig']=ct(_0x1cbb84['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x57b0aa){const _0x344e1f=this['editor'],_0x34a50c=this['view'],_0x40b88d=_0x344e1f['editing']['view'],_0x366142=_0x34a50c['editable'],_0x337525=_0x40b88d['document']['getRoot']();_0x366142['name']=_0x337525['rootName'],_0x34a50c['render']();const _0x2d27a1=_0x366142['element'];this['setEditableElement'](_0x366142['name'],_0x2d27a1),_0x34a50c['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x40b88d['attachDomRoot'](_0x2d27a1),this['_elementReplacer']['replace'](_0x57b0aa,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x2e4fd4=this['view'],_0x175a90=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x175a90['detachDomRoot'](_0x2e4fd4['editable']['name']),_0x2e4fd4['destroy']();}['_initToolbar'](){const _0x113f51=this['view'];_0x113f51['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x113f51['stickyPanel']['limiterElement']=_0x113f51['element'],_0x113f51['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x55f196})=>_0x55f196),_0x113f51['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x113f51['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x163917,_0x385cea,_0x959430={}){super(_0x163917),this['stickyPanel']=new lt(_0x163917),this['toolbar']=new pt(_0x163917,{'shouldGroupWhenFull':_0x959430['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x163917,_0x385cea);}['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(_0x156e47,_0x107246){super(_0x107246),this['sourceElement']=_0x156e47,this['model']['document']['createRoot']();const _0x951a71=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x951a71);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1e1f0e,_0x3f08f9){const _0x39432c=new this(_0x1e1f0e,_0x3f08f9);return await _0x39432c['initPlugins'](),await _0x39432c['ui']['init'](_0x1e1f0e),await _0x39432c['data']['init'](_0x39432c['config']['get']('initialData')||''),_0x39432c['fire']('ready'),_0x39432c;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1123d9{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x57ef28){super(_0x57ef28),this['result']='end';}}class H extends _0x1123d9{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x5c407e){if(super(_0x5c407e),!this['editor']['config']['get']('revisionHistory'))throw new _0x52f019('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x347a97=>this['_showRevisionViewer']({..._0x347a97,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x14ad7d=>this['_closeRevisionViewer'](_0x14ad7d)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2b8bff=>this['_restoreRevision'](_0x2b8bff)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3581ba){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3581ba;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3ab24d){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3ab24d);}['getRevision'](_0x369544){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x369544);}['getRevisions'](_0x19319c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x19319c||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x412537=this['editor'],_0x21f78c=_0x21455e(_0x412537,p),_0x109bed=_0x412537['plugins']['get']('RevisionTracker'),_0xd5f84d=_0x412537['plugins']['get']('Users')['users'];return _0x21f78c['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x21f78c['lazyRoots'],(_0x21f78c['plugins']['push'](k,d,R,class extends _0x1123d9{static get['requires'](){return[d,'Users'];}['init'](){const _0x4b927e=this['editor']['plugins']['get']('Users');for(const _0x4a74d9 of _0xd5f84d)_0x4a74d9['isAnonymous']||_0x4b927e['getUser'](_0x4a74d9['id'])||_0x4b927e['addUser'](_0x4a74d9);const _0x3658ed=_0x109bed['repository']['getRevisions']();let _0x8df94b=null;const _0x4dfa4f=this['editor']['plugins']['get']('RevisionViewer');_0x4dfa4f['adapter']=_0x109bed['adapter'],_0x4dfa4f['bind']('isEnabled')['to'](_0x109bed),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x412537,'isReadOnly',_0x340e48=>!_0x340e48);for(const _0x1bb0d0 of _0x3658ed){const _0x1cba23=null===_0x1bb0d0['creator'];if(_0x1cba23&&_0x1bb0d0['toVersion']===_0x1bb0d0['fromVersion'])continue;const _0xe4c1db=_0x1bb0d0['toJSON']();_0x4dfa4f['addRevisionData'](_0xe4c1db,(_0x4a980f,_0x56a437,_0x27c8a5)=>{if(_0x1cba23){if(_0x8df94b)_0x8df94b['_update'](_0x4a980f,_0x56a437);else{if(!_0x56a437){const _0x4a6351=_0x27c8a5['toJSON']();_0x4a6351['id']=_0x303c82(),_0x109bed['saveRevision'](_0x4a6351,_0x27c8a5['toVersion'])['then'](_0x3c7d78=>{_0x8df94b=_0x3c7d78;});}}}else _0x1bb0d0['_update'](_0x4a980f,_0x56a437);});}}},w),_0x21f78c);}['_enhanceShowRevisionViewerCallback'](){const _0x69bd8c=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x39d66a=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x537794=this['editor']['plugins']['get']('Autosave');await _0x537794['save']();}else await _0x39d66a['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x37c6c9=this['editor']['plugins']['get']('Dialog');_0x37c6c9['isOpen']&&_0x37c6c9['hide']();}const _0x2b4129=this['_getRevisionViewerEditorConfig']();return _0x69bd8c(_0x2b4129)['then'](_0x3d0a1d=>{return(this['_viewerEditor']=_0x3d0a1d,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x3d0a1d;})['catch'](_0x46d34b=>(console['error'](_0x46d34b),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x287ed9=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'](),_0x287ed9(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x55c15f=this['editor']['plugins']['get']('Annotations');_0x55c15f['refreshVisibility'](),_0x55c15f['refreshPositioning']();}})));}['_showRevisionViewer'](_0x34597d){const _0x505c7d=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x5dfe0d=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5531fe=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x5531fe,_0x34597d)['then'](_0x22ca60=>(_0x5dfe0d['style']['display']='block',_0x505c7d['style']['display']='none',_0x22ca60));}['_closeRevisionViewer'](_0x53b818){const _0x4f3719=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4f3719['style']['display']='',_0x53b818['destroy']();}async['_restoreRevision'](_0x56696d){const _0x5e0830=this['editor'],_0x254575=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x47bcda=_0x5e0830['plugins']['get']('RevisionTracker'),_0x403897=_0x254575['repository']['getRevision'](_0x56696d);let _0x5c8f1c,_0x5506c8,_0x4e842a;try{_0x5c8f1c=await _0x254575['getRevisionData'](_0x403897),_0x5506c8=await _0x254575['getRevisionRootsAttributes'](_0x403897);}catch(_0x521905){return void console['error'](_0x521905);}_0x5e0830['model']['change'](_0xde2b8d=>{for(const _0x411652 of Array['from'](_0x5e0830['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xde2b8d['removeMarker'](_0x411652);}),_0x254575['isReady']=!0x1,_0x5e0830['model']['enqueueChange'](_0x45e115=>{_0x45e115['setSelection'](null),_0x45e115['removeSelectionAttribute'](_0x5e0830['model']['document']['selection']['getAttributeKeys']());const _0x57f77d=Object['keys'](_0x5c8f1c);for(const _0x85b0a2 of _0x5e0830['model']['document']['roots'])'$graveyard'!=_0x85b0a2['rootName']&&_0x85b0a2['isAttached']()&&!_0x57f77d['includes'](_0x85b0a2['rootName'])&&_0x45e115['detachRoot'](_0x85b0a2);for(const _0x290d2d of _0x57f77d){let _0x493fe8=_0x5e0830['model']['document']['getRoot'](_0x290d2d);_0x493fe8&&_0x493fe8['isAttached']()||(_0x493fe8=_0x45e115['addRoot'](_0x290d2d));const _0x18c5f0=_0x5506c8[_0x290d2d],_0x98af5b=Object['keys'](_0x18c5f0),_0x527e25=_0x5c8f1c[_0x290d2d];for(const _0x53b919 of _0x493fe8['getAttributeKeys']())_0x98af5b['includes'](_0x53b919)||_0x45e115['removeAttribute'](_0x53b919,_0x493fe8);for(const _0x4ba526 of _0x98af5b)_0x45e115['setAttribute'](_0x4ba526,_0x5506c8[_0x290d2d][_0x4ba526],_0x493fe8);_0x45e115['remove'](_0x45e115['createRangeIn'](_0x493fe8)),_0x45e115['insert'](_0x5e0830['data']['parse'](_0x527e25,_0x493fe8),_0x493fe8,0x0);}});const _0x22ac80=y(_0x5e0830['locale'],'Restored');if(_0x403897['name'])_0x4e842a=-0x1==_0x403897['name']['indexOf'](_0x22ac80)?_0x22ac80+':\x20'+_0x403897['name']:_0x403897['name'];else _0x4e842a=_0x22ac80+':\x20'+(_0x403897['createdAt']['toLocaleDateString'](_0x5e0830['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x403897['createdAt']['toLocaleTimeString'](_0x5e0830['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x47bcda['saveRevision']({'name':_0x4e842a}),_0x254575['isReady']=!0x0,_0x5e0830['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(_0x2110d6){super(_0x2110d6),this['_revisionViewer']=_0x2110d6['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x15a844=this['_revisionsRepository']['_revisions'],_0x4463d1=this['_createRevisionActions'](),_0x56048b=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x15a844,_0x4463d1,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',(_0x1b9b14,_0x360dcb)=>{_0x360dcb['revisionViews']['on']('add',(_0x2042f1,_0x313e15)=>{_0x313e15['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)),_0x56048b['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3426fb=this['_revisionsRepository']['getRevision'](0x0);if(_0x3426fb){const _0x551e4e=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3426fb['id']);this['_revisionViewer']['compare'](_0x3426fb,_0x551e4e);}}['_handleRevisionSelected'](_0x13e0db,_0x39fc4c){const _0x47178b=this['_revisionsRepository']['getRevision'](_0x39fc4c['id']),_0x34d89d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x47178b['id']);this['_revisionViewer']['compare'](_0x47178b,_0x34d89d);}['_handleRevisionSetName'](_0x1133bb,_0x506f67){this['_revisionsRepository']['getRevision'](_0x506f67['id'])['setName'](_0x506f67['name']);}['_handleDiffChange'](_0x3f9e81,_0xf81bcd,_0x3a8d3c){const _0x3e842f=this['_revisionsRepository']['getRevisionsInDiff'](_0x3a8d3c);_0x3e842f['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x3e842f),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x3e842f[0x0]));}['_createRevisionActions'](){const _0x2aea5f=this['editor'],_0x383ed4=w['availableRevisionActions'],_0x976aa1=_0x2aea5f['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x976aa1['length'])return _0x976aa1['map'](_0x6dddfe=>{const _0x42d0ff='string'==typeof _0x6dddfe?Object['assign']({},_0x383ed4[_0x6dddfe]):_0x6dddfe;return _0x42d0ff['action']=_0x42d0ff['action']['bind'](this,_0x2aea5f),_0x42d0ff['isVisible']&&(_0x42d0ff['isVisible']=_0x42d0ff['isVisible']['bind'](this,_0x2aea5f)),_0x42d0ff;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x1fd2a5},_0x45f495)=>{const _0x33de61=_0x1fd2a5['get'](d),_0x4ddeff=_0x33de61['repository'];let _0x56e12d=_0x33de61['diff']['newRevisionId'],_0x5c9f60=_0x45f495['id'];_0x4ddeff['getIndex'](_0x56e12d)>_0x4ddeff['getIndex'](_0x5c9f60)&&([_0x56e12d,_0x5c9f60]=[_0x5c9f60,_0x56e12d]),_0x33de61['compare'](_0x56e12d,_0x5c9f60);},'isVisible':({plugins:_0x5f1e36},_0x1490b)=>{const _0x194cb6=_0x5f1e36['get'](d);return!(_0x194cb6['repository']['getRevisionsInDiff'](_0x194cb6['diff'])['length']>0x2)&&!_0x1490b['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x2a402a,{id:_0x33f3df})=>{_0x2a402a['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x33f3df);},'isVisible':({plugins:_0x43cb97},_0x3edd10)=>!!_0x43cb97['get'](d)['repository']['getLaterVisibleRevision'](_0x3edd10['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3c3b80},{id:_0xb7c2ee,revisionNameView:_0x478b8f})=>{const _0x4e3535=_0x3c3b80['get'](d),_0x3e1c77=_0x4e3535['repository']['getEarlierVisibleRevision'](_0xb7c2ee);_0x4e3535['compare'](_0xb7c2ee,_0x3e1c77),_0x478b8f['focus'](),_0x478b8f['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x413706,_0x1d0ba4){super(_0x413706),this['_view']=_0x1d0ba4,this['_toolbarConfig']=ct(_0x413706['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x1639ec){const _0xa6a75a=this['editor'],_0x46e4e5=this['view'],_0x2c69f9=_0xa6a75a['editing']['view'],_0x4e4a4a=_0x46e4e5['editable'],_0x37c3c7=_0x2c69f9['document']['getRoot']();_0x4e4a4a['name']=_0x37c3c7['rootName'],_0x46e4e5['render']();const _0x4bd6cd=_0x4e4a4a['element'];this['setEditableElement'](_0x4e4a4a['name'],_0x4bd6cd),_0x46e4e5['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2c69f9['attachDomRoot'](_0x4bd6cd),this['_elementReplacer']['replace'](_0x1639ec,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x556dd3=this['view'],_0x3d843e=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x3d843e['detachDomRoot'](_0x556dd3['editable']['name']),_0x556dd3['destroy']();}['_initToolbar'](){const _0x149d19=this['view'];_0x149d19['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x149d19['stickyPanel']['limiterElement']=_0x149d19['element'],_0x149d19['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x2fb9d1})=>_0x2fb9d1),_0x149d19['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x149d19['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x446f59,_0x8a2eba,_0x5c85c2={}){super(_0x446f59),this['stickyPanel']=new lt(_0x446f59),this['toolbar']=new pt(_0x446f59,{'shouldGroupWhenFull':_0x5c85c2['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x446f59,_0x8a2eba);}['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(_0x1311ed,_0xe49d38){super(_0xe49d38),this['sourceElement']=_0x1311ed,this['model']['document']['createRoot']();const _0x369ecc=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x369ecc);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0xde0f65,_0x4c266a){const _0x26a6ab=new this(_0xde0f65,_0x4c266a);return await _0x26a6ab['initPlugins'](),await _0x26a6ab['ui']['init'](_0xde0f65),await _0x26a6ab['data']['init'](_0x26a6ab['config']['get']('initialData')||''),_0x26a6ab['fire']('ready'),_0x26a6ab;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x1ffe89{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x28055e){super(_0x28055e),this['result']='end';}}class H extends _0x1ffe89{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x2efb19){if(super(_0x2efb19),!this['editor']['config']['get']('revisionHistory'))throw new _0x12133f('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xb53612=>this['_showRevisionViewer']({..._0xb53612,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x7434c6=>this['_closeRevisionViewer'](_0x7434c6)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5bb540=>this['_restoreRevision'](_0x5bb540)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x316282){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x316282;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x274f2a){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x274f2a);}['getRevision'](_0x319ec5){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x319ec5);}['getRevisions'](_0x56ec20){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x56ec20||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x179715=this['editor'],_0x2324d8=_0x2ccd4f(_0x179715,p),_0x3d294f=_0x179715['plugins']['get']('RevisionTracker'),_0x2728d5=_0x179715['plugins']['get']('Users')['users'];return _0x2324d8['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x2324d8['lazyRoots'],(_0x2324d8['plugins']['push'](k,d,R,class extends _0x1ffe89{static get['requires'](){return[d,'Users'];}['init'](){const _0x5f0c3c=this['editor']['plugins']['get']('Users');for(const _0xca2211 of _0x2728d5)_0xca2211['isAnonymous']||_0x5f0c3c['getUser'](_0xca2211['id'])||_0x5f0c3c['addUser'](_0xca2211);const _0x34f1b0=_0x3d294f['repository']['getRevisions']();let _0x3a6b7d=null;const _0x49f32a=this['editor']['plugins']['get']('RevisionViewer');_0x49f32a['adapter']=_0x3d294f['adapter'],_0x49f32a['bind']('isEnabled')['to'](_0x3d294f),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x179715,'isReadOnly',_0x36a2f1=>!_0x36a2f1);for(const _0x3c5987 of _0x34f1b0){const _0x5fc728=null===_0x3c5987['creator'];if(_0x5fc728&&_0x3c5987['toVersion']===_0x3c5987['fromVersion'])continue;const _0xbe82ed=_0x3c5987['toJSON']();_0x49f32a['addRevisionData'](_0xbe82ed,(_0x5b38de,_0x5ce16a,_0x475eea)=>{if(_0x5fc728){if(_0x3a6b7d)_0x3a6b7d['_update'](_0x5b38de,_0x5ce16a);else{if(!_0x5ce16a){const _0x182a37=_0x475eea['toJSON']();_0x182a37['id']=_0x472022(),_0x3d294f['saveRevision'](_0x182a37,_0x475eea['toVersion'])['then'](_0x26ec1b=>{_0x3a6b7d=_0x26ec1b;});}}}else _0x3c5987['_update'](_0x5b38de,_0x5ce16a);});}}},w),_0x2324d8);}['_enhanceShowRevisionViewerCallback'](){const _0x1f9b17=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x4ab838=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x118434=this['editor']['plugins']['get']('Autosave');await _0x118434['save']();}else await _0x4ab838['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x5d9b60=this['editor']['plugins']['get']('Dialog');_0x5d9b60['isOpen']&&_0x5d9b60['hide']();}const _0x1df928=this['_getRevisionViewerEditorConfig']();return _0x1f9b17(_0x1df928)['then'](_0x4e33f5=>{return(this['_viewerEditor']=_0x4e33f5,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x4e33f5;})['catch'](_0x293524=>(console['error'](_0x293524),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x5243b4=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'](),_0x5243b4(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x31ad71=this['editor']['plugins']['get']('Annotations');_0x31ad71['refreshVisibility'](),_0x31ad71['refreshPositioning']();}})));}['_showRevisionViewer'](_0x533ba5){const _0x17dab6=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x9d3b5c=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x1e8d9e=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x1e8d9e,_0x533ba5)['then'](_0x4b3b3d=>(_0x9d3b5c['style']['display']='block',_0x17dab6['style']['display']='none',_0x4b3b3d));}['_closeRevisionViewer'](_0x100491){const _0x47f112=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x47f112['style']['display']='',_0x100491['destroy']();}async['_restoreRevision'](_0x416672){const _0xca43f3=this['editor'],_0x10cbcc=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x950c5=_0xca43f3['plugins']['get']('RevisionTracker'),_0x34f61b=_0x10cbcc['repository']['getRevision'](_0x416672);let _0x37ef22,_0x3c4c0b,_0x191e6d;try{_0x37ef22=await _0x10cbcc['getRevisionData'](_0x34f61b),_0x3c4c0b=await _0x10cbcc['getRevisionRootsAttributes'](_0x34f61b);}catch(_0x2cf08e){return void console['error'](_0x2cf08e);}_0xca43f3['model']['change'](_0x15cb2a=>{for(const _0x4076f6 of Array['from'](_0xca43f3['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x15cb2a['removeMarker'](_0x4076f6);}),_0x10cbcc['isReady']=!0x1,_0xca43f3['model']['enqueueChange'](_0x3c63dc=>{_0x3c63dc['setSelection'](null),_0x3c63dc['removeSelectionAttribute'](_0xca43f3['model']['document']['selection']['getAttributeKeys']());const _0x460ee4=Object['keys'](_0x37ef22);for(const _0x111a22 of _0xca43f3['model']['document']['roots'])'$graveyard'!=_0x111a22['rootName']&&_0x111a22['isAttached']()&&!_0x460ee4['includes'](_0x111a22['rootName'])&&_0x3c63dc['detachRoot'](_0x111a22);for(const _0x317f54 of _0x460ee4){let _0x33ef2b=_0xca43f3['model']['document']['getRoot'](_0x317f54);_0x33ef2b&&_0x33ef2b['isAttached']()||(_0x33ef2b=_0x3c63dc['addRoot'](_0x317f54));const _0x291e5e=_0x3c4c0b[_0x317f54],_0xdc2c71=Object['keys'](_0x291e5e),_0x4425f2=_0x37ef22[_0x317f54];for(const _0x2942a7 of _0x33ef2b['getAttributeKeys']())_0xdc2c71['includes'](_0x2942a7)||_0x3c63dc['removeAttribute'](_0x2942a7,_0x33ef2b);for(const _0x5aad56 of _0xdc2c71)_0x3c63dc['setAttribute'](_0x5aad56,_0x3c4c0b[_0x317f54][_0x5aad56],_0x33ef2b);_0x3c63dc['remove'](_0x3c63dc['createRangeIn'](_0x33ef2b)),_0x3c63dc['insert'](_0xca43f3['data']['parse'](_0x4425f2,_0x33ef2b),_0x33ef2b,0x0);}});const _0x444ab2=y(_0xca43f3['locale'],'Restored');if(_0x34f61b['name'])_0x191e6d=-0x1==_0x34f61b['name']['indexOf'](_0x444ab2)?_0x444ab2+':\x20'+_0x34f61b['name']:_0x34f61b['name'];else _0x191e6d=_0x444ab2+':\x20'+(_0x34f61b['createdAt']['toLocaleDateString'](_0xca43f3['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x34f61b['createdAt']['toLocaleTimeString'](_0xca43f3['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x950c5['saveRevision']({'name':_0x191e6d}),_0x10cbcc['isReady']=!0x0,_0xca43f3['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};