@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240611.0 → 0.0.0-nightly-20240613.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 _0x6c42b7,Context as _0x4f5f82,PendingActions as _0x3c416a,icons as _0x5c300c,Command as _0x5af41d,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x12f4af,uid as _0x59ba44,Collection as _0x30789c,logWarning as _0x95b23e,FocusTracker as _0x47aa2,KeystrokeHandler as _0x1e635a,scrollViewportToShowTarget as _0x1b3b29,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0xa465dc}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5c82f8,getMarkerDomElement as _0x8e49d8,ConfirmMixin as _0x185f8a,sanitizeEditorConfig as _0x358b08}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x1f8b9d,ViewText as _0x3ddc20,ViewElement as _0x22bfd8,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x4f5f3c,ViewAttributeElement as _0x3fb721,ViewEmptyElement as _0x30d21a,ViewRawElement as _0x4056b0,ViewUIElement as _0x260ad3,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x250b31,set as _0x1daea2,unset as _0x6b68f0,isEqual as _0x293def}from'lodash-es';import{View as _0x10f811,injectCssTransitionDisabler as ts,submitHandler as _0x5b31b2,LabeledFieldView as at,createLabeledInputText as _0x3dce06,createDropdown as _0x372cd7,ListView as te,ListItemView as _0x14b2aa,ButtonView as _0x55b2f4,MenuBarMenuView as _0x4ab074,MenuBarMenuListView as _0x35b9c6,MenuBarMenuListItemView as _0x12a026,MenuBarMenuListItemButtonView as _0x2226ec,ContextualBalloon as _0x1579a2,ToolbarSeparatorView as _0x3d6dff,IconView as _0x1ebd58,addListToDropdown as _0x2ca51b,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 _0x26b500}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x12f4af(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3c0b87){super(),this['id']=_0x3c0b87['id']||_0x59ba44(),this['creator']=_0x3c0b87['creator']||null,this['authors']=_0x3c0b87['authors']||[],this['diffData']=_0x3c0b87['diffData']||null,this['toVersion']=_0x3c0b87['toVersion']||0x0,this['fromVersion']=_0x3c0b87['fromVersion']||0x0,this['set']('name',_0x3c0b87['name']||''),this['set']('createdAt',_0x3c0b87['createdAt']||new Date()),this['set']('attributes',_0x3c0b87['attributes']||{});}['setName'](_0x5e2c29){this['_update']({'name':_0x5e2c29});}['setAttribute'](_0xe3c44c,_0x1717ff){const _0x48202f=_0x250b31(this['attributes']);_0x1daea2(_0x48202f,_0xe3c44c,_0x1717ff),this['_update']({'attributes':_0x48202f});}['removeAttribute'](_0x41e60d){const _0x235b04=_0x250b31(this['attributes']);_0x6b68f0(_0x235b04,_0x41e60d),this['_update']({'attributes':_0x235b04});}['_update'](_0x25f651,_0x19e2b3=!0x1){let _0x5913e1=!0x1;const _0x584a46={'id':this['id']},_0x31a864=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x201e90 of _0x31a864){const _0x330cf3=_0x25f651[_0x201e90];void 0x0!==_0x330cf3&&_0x330cf3!==this[_0x201e90]&&(this[_0x201e90]=_0x330cf3,_0x584a46[_0x201e90]=_0x330cf3,_0x5913e1=!0x0);}_0x5913e1&&(_0x584a46['authors']&&(_0x584a46['authorsIds']=_0x584a46['authors']['map'](_0x2bc123=>_0x2bc123['id']),delete _0x584a46['authors']),this['fire']('_update',_0x584a46,_0x19e2b3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x41fb38=>_0x41fb38['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x6c42b7{['_revisions'];static get['requires'](){return[_0x5c82f8];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x3b23d7){super(_0x3b23d7),this['_revisions']=new _0x30789c();}['afterInit'](){!function(_0x2f3e5b){function _0x310daf(_0x2b0a3c,_0x57a430,_0x2e1450){const _0x36aa7b={};_0x36aa7b[_0x498130([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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],_0x36aa7b[_0x498130([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 _0x15a3c5=new Uint8Array(0x10);for(let _0x282e27=0xf;_0x282e27>=0x0;--_0x282e27)_0x15a3c5[_0x282e27]=_0x2e1450%0x100,_0x2e1450=parseInt(_0x2e1450/0x100);let _0x5704fb=null,_0x3c06ed=0x10;const _0x5e1161=new Uint8Array(_0x57a430),_0x11f91f=[],_0x4ed4fa=[];_0xf496ac();for(let _0x4108c6=0x0;_0x4108c6<_0x2b0a3c[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4108c6++)0x10===_0x3c06ed&&(_0x5704fb=_0x2a7a20(_0x15a3c5),_0x3c06ed=0x0,_0xb245b2(_0x15a3c5)),_0x2b0a3c[_0x4108c6]^=_0x5704fb[_0x3c06ed++];return _0x2b0a3c;function _0xdf2761(_0x347c87){const _0x324020=[];for(let _0x462143=0x0;_0x462143<_0x347c87[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x462143+=0x4)_0x324020[_0x498130([0x70,0x75,0x73,0x68])](_0x347c87[_0x462143]<<0x18|_0x347c87[_0x462143+0x1]<<0x10|_0x347c87[_0x462143+0x2]<<0x8|_0x347c87[_0x462143+0x3]);return _0x324020;}function _0xb245b2(_0x5a81d2){for(let _0x459197=0xf;_0x459197>=0x0;_0x459197--){if(0xff!==_0x5a81d2[_0x459197]){_0x5a81d2[_0x459197]++;break;}_0x5a81d2[_0x459197]=0x0;}}function _0x2a7a20(_0x12d42d){const _0x39062f=_0x11f91f[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0xb5e5f3=[0x0,0x0,0x0,0x0];let t=_0xdf2761(_0x12d42d);for(let _0x3367b5=0x0;_0x3367b5<0x4;_0x3367b5++)t[_0x3367b5]^=_0x11f91f[0x0][_0x3367b5];for(let _0x2ca7cc=0x1;_0x2ca7cc<_0x39062f;_0x2ca7cc++){for(let _0x81946b=0x0;_0x81946b<0x4;_0x81946b++)_0xb5e5f3[_0x81946b]=_0x36aa7b[_0x498130([0x54,0x31])][t[_0x81946b]>>0x18&0xff]^_0x36aa7b[_0x498130([0x54,0x32])][t[(_0x81946b+0x1)%0x4]>>0x10&0xff]^_0x36aa7b[_0x498130([0x54,0x33])][t[(_0x81946b+0x2)%0x4]>>0x8&0xff]^_0x36aa7b[_0x498130([0x54,0x34])][0xff&t[(_0x81946b+0x3)%0x4]]^_0x11f91f[_0x2ca7cc][_0x81946b];t=_0xb5e5f3[_0x498130([0x73,0x6c,0x69,0x63,0x65])]();}const _0x3165f5=new Uint8Array(0x10);let _0x4fc7ba;for(let _0x49d6d5=0x0;_0x49d6d5<0x4;_0x49d6d5++)_0x4fc7ba=_0x11f91f[_0x39062f][_0x49d6d5],_0x3165f5[0x4*_0x49d6d5]=0xff&(_0x36aa7b[_0x498130([0x53])][t[_0x49d6d5]>>0x18&0xff]^_0x4fc7ba>>0x18),_0x3165f5[0x4*_0x49d6d5+0x1]=0xff&(_0x36aa7b[_0x498130([0x53])][t[(_0x49d6d5+0x1)%0x4]>>0x10&0xff]^_0x4fc7ba>>0x10),_0x3165f5[0x4*_0x49d6d5+0x2]=0xff&(_0x36aa7b[_0x498130([0x53])][t[(_0x49d6d5+0x2)%0x4]>>0x8&0xff]^_0x4fc7ba>>0x8),_0x3165f5[0x4*_0x49d6d5+0x3]=0xff&(_0x36aa7b[_0x498130([0x53])][0xff&t[(_0x49d6d5+0x3)%0x4]]^_0x4fc7ba);return _0x3165f5;}function _0xf496ac(){const _0x40bb41=_0x36aa7b[_0x498130([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5e1161[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2f08fb=0x0;_0x2f08fb<=_0x40bb41;_0x2f08fb++)_0x11f91f[_0x498130([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x4ed4fa[_0x498130([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5a38f4=0x4*(_0x40bb41+0x1),_0x48e5d9=_0x5e1161[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x15450b=_0xdf2761(_0x5e1161);let _0x3cf270;for(let _0x358646=0x0;_0x358646<_0x48e5d9;_0x358646++)_0x3cf270=_0x358646>>0x2,_0x11f91f[_0x3cf270][_0x358646%0x4]=_0x15450b[_0x358646],_0x4ed4fa[_0x40bb41-_0x3cf270][_0x358646%0x4]=_0x15450b[_0x358646];let _0xb4483f,_0x494458=0x0,t=_0x48e5d9;for(;t<_0x5a38f4;){_0xb4483f=_0x15450b[_0x48e5d9-0x1],_0x15450b[0x0]^=_0x36aa7b[_0x498130([0x53])][_0xb4483f>>0x10&0xff]<<0x18^_0x36aa7b[_0x498130([0x53])][_0xb4483f>>0x8&0xff]<<0x10^_0x36aa7b[_0x498130([0x53])][0xff&_0xb4483f]<<0x8^_0x36aa7b[_0x498130([0x53])][_0xb4483f>>0x18&0xff]^_0x36aa7b[_0x498130([0x72,0x63,0x6f,0x6e])][_0x494458]<<0x18,_0x494458+=0x1;for(let _0x502569=0x1;_0x502569<_0x48e5d9/0x2;_0x502569++)_0x15450b[_0x502569]^=_0x15450b[_0x502569-0x1];_0xb4483f=_0x15450b[_0x48e5d9/0x2-0x1],_0x15450b[_0x48e5d9/0x2]^=_0x36aa7b[_0x498130([0x53])][0xff&_0xb4483f]^_0x36aa7b[_0x498130([0x53])][_0xb4483f>>0x8&0xff]<<0x8^_0x36aa7b[_0x498130([0x53])][_0xb4483f>>0x10&0xff]<<0x10^_0x36aa7b[_0x498130([0x53])][_0xb4483f>>0x18&0xff]<<0x18;for(let _0x2e7fee=_0x48e5d9/0x2+0x1;_0x2e7fee<_0x48e5d9;_0x2e7fee++)_0x15450b[_0x2e7fee]^=_0x15450b[_0x2e7fee-0x1];let _0x21a485,_0x5e7f41,_0xf3aa76=0x0;for(;_0xf3aa76<_0x48e5d9&&t<_0x5a38f4;)_0x21a485=t>>0x2,_0x5e7f41=t%0x4,_0x11f91f[_0x21a485][_0x5e7f41]=_0x15450b[_0xf3aa76],_0x4ed4fa[_0x40bb41-_0x21a485][_0x5e7f41]=_0x15450b[_0xf3aa76++],t++;}for(let _0x18408f=0x1;_0x18408f<_0x40bb41;_0x18408f++)for(let _0x236739=0x0;_0x236739<0x4;_0x236739++)_0xb4483f=_0x4ed4fa[_0x18408f][_0x236739],_0x4ed4fa[_0x18408f][_0x236739]=_0x36aa7b[_0x498130([0x55,0x31])][_0xb4483f>>0x18&0xff]^_0x36aa7b[_0x498130([0x55,0x32])][_0xb4483f>>0x10&0xff]^_0x36aa7b[_0x498130([0x55,0x33])][_0xb4483f>>0x8&0xff]^_0x36aa7b[_0x498130([0x55,0x34])][0xff&_0xb4483f];}}function _0x498130(_0x2ce0e9){return _0x2ce0e9['map'](_0x51f0aa=>String['fromCharCode'](_0x51f0aa))['join']('');}(_0x12c259=>{function _0x3b865c(){const _0x4c2e36=[{[_0x498130([0x69,0x64])]:0x1,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x498130([0x69,0x64])]:0x2,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([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]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x498130([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x498130([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x498130([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x498130([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x498130([0x69,0x64])]:0x3,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x498130([0x69,0x64])]:0x4,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([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]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x498130([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x498130([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x498130([0x69,0x64])]:0x5,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([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]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}},{[_0x498130([0x69,0x64])]:0x6,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}},{[_0x498130([0x69,0x64])]:0x7,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}},{[_0x498130([0x69,0x64])]:0x8,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([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]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}},{[_0x498130([0x69,0x64])]:0x9,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x498130([0x69,0x64])]:0xa,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([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]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([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]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([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]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}},{[_0x498130([0x69,0x64])]:0xb,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x498130([0x69,0x64])]:0xc,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x498130([0x69,0x64])]:0xd,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}},{[_0x498130([0x69,0x64])]:0xe,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x498130([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([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])},{[_0x498130([0x69,0x64])]:0xf,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x498130([0x69,0x64])]:0x10,[_0x498130([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x498130([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x498130([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x498130([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x498130([0x66,0x67,0x69])]:[0xc]}}];return _0x322109(_0x4c2e36),_0x4c2e36;function _0x2f5e1(_0x34a7b0){return 0x1<<_0x34a7b0-0x1;}function _0x322109(_0x3200c7){_0x3200c7[_0x498130([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xa96324=>{_0xa96324[_0x498130([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x2f5e1(_0xa96324[_0x498130([0x69,0x64])]),_0x2aaf6b(_0xa96324)&&_0xa96324[_0x498130([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x322109(_0xa96324[_0x498130([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x2aaf6b(_0x499717){return _0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x499717;}const _0x204c67=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x5df21f=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x1056e5(_0x34cb1c){const _0x2f54b9=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4a77f6(_0x34cb1c,new Uint8Array([..._0x204c67,..._0x2f54b9,..._0x5df21f]));}function _0x4a77f6(_0x258c6e,_0x540c40){const _0x550f44=_0x34faa1(_0x258c6e),_0x997d88=Array[_0x498130([0x66,0x72,0x6f,0x6d])](_0x2afe97(_0x550f44)),_0x285324=_0x997d88[_0x498130([0x70,0x6f,0x70])](),_0x7e8bb6=_0x997d88[_0x498130([0x70,0x6f,0x70])]();return _0x217d3b(_0x310daf(_0x997d88,_0x540c40,_0x7e8bb6+0x100*_0x285324));}function _0x34faa1(_0x264f61){const _0x1a22d6=atob(_0x264f61),[_0x24f606,_0x23bffc]=_0x1a22d6[_0x498130([0x73,0x70,0x6c,0x69,0x74])](_0x498130([0x2d]));try{if(atob(_0x23bffc))return atob(_0x24f606);}catch(_0x1ac0c7){}return _0x1a22d6;}function _0x2143f8(_0x273fce){try{const _0x18c667=_0x1056e5(_0x273fce),_0xfd958d=JSON[_0x498130([0x70,0x61,0x72,0x73,0x65])](_0x18c667),_0x11aaf2=parseInt(_0xfd958d[_0x498130([0x31])]),_0x2d6942=_0xfd958d[_0x498130([0x32])]||'',_0x192b62=parseInt(_0xfd958d[_0x498130([0x33])]),_0x4ed8ec=parseInt(_0xfd958d[_0x498130([0x34])])||0x0,_0x5b9f78=parseInt(_0xfd958d[_0x498130([0x35])])||0x0;return{[_0x498130([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2d6942,[_0x498130([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x4ed8ec,[_0x498130([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x11aaf2,[_0x498130([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x192b62,[_0x498130([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x5b9f78};}catch(_0x472669){return null;}}const _0x3c5ca2=_0x3b865c(),_0x24b4a9={[_0x498130([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x49f1b6,[_0x498130([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])]:_0x3fa332,[_0x498130([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])]:_0x4e3de3},_0x1e2591=_0x12c259[_0x498130([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x1b60b0=_0x498130([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x12c259?_0x12c259['context']:_0x12c259['editor'],_0x1e8719=_0x498130([0x34,0x30,0x34,0x38,0x31,0x32,0x32,0x32]),_0x282de2=_0x498130([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]),_0xf068e6=_0x1b60b0['config']['get'](_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x9daacf=_0x3c5ca2[_0x498130([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2aaf6b)[_0x498130([0x66,0x69,0x6e,0x64])](_0x29e491=>_0x29e491[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x1e2591);function _0x21f6f6(_0x5e82c2,_0x3ad289){_0x24b4a9[_0x3ad289[_0x498130([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x5e82c2,_0x3ad289),_0x3ad289[_0x498130([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3ad289[_0x498130([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x498130([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4e3695=>_0x390317(_0x1b60b0,_0x4e3695[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x498130([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b663a=>_0x21f6f6(_0x5e82c2,_0x4b663a));}function _0x49f1b6(_0x561c7b,_0x3a9a13){_0x20574(_0x45cb5d(_0x561c7b,_0x3a9a13),_0x3a9a13);}function _0x3fa332(_0x2d71f8,_0xb61087){function _0x1c6a11(_0x49581e,_0x22b9ac){try{if(_0x390317(_0x1b60b0,_0x498130([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x49581e){const _0x465a61=_0xffe63(_0x1b60b0,_0x498130([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x498130([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x465a61)/0x2>_0x49581e[_0x498130([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x305ae4(_0x22b9ac[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x45cb5d(_0x49581e,_0x22b9ac);}catch(_0x1e056c){return _0x305ae4(_0x22b9ac[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x20574(_0x1c6a11(_0x2d71f8,_0xb61087),_0xb61087);}function _0x4e3de3(_0x5446bf,_0x3d71ac){const _0x306f08=_0x5df21f[0x0]*_0x204c67[0x1],_0x235052=_0x5df21f[0x0]*_0x204c67[0x2],_0x15f90=_0x5df21f[0x2]*_0x204c67[0x2];_0x390317(_0x1b60b0,_0x498130([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xffe63(_0x1b60b0,_0x498130([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x498130([0x73,0x74,0x61,0x74,0x65])]==_0x498130([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x19fbcb()]=_0x15f90);function _0x54f47b(_0x328bb4,_0x2aba97){try{return _0x657c67()?_0x305ae4(_0x2aba97[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x56,0x61,0x6c,0x69,0x64])):_0x45cb5d(_0x328bb4,_0x2aba97);}catch(_0x43bb78){return _0x305ae4(_0x2aba97[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5b7ae7(_0xce78e2,_0x4684b9){const _0x38d503=0x7;if(_0xce78e2==_0x4684b9[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1b1624();else{if(_0xce78e2==_0x4684b9[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c])){const _0x2c5814=_0x4b161c();_0x2c5814&&_0x25743d(_0x2c5814,_0x4684b9[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3de425=_0x2243f6();window[_0x498130([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x25743d(_0x498130([0x74,0x69,0x6d,0x65]),_0x4684b9[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3de425);const _0x20bf4d=_0xffe63(_0x1b60b0,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x498130([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x20bf4d[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x38d503?_0x25743d(_0x498130([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4684b9[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x20bf4d['on'](_0x498130([0x61,0x64,0x64]),()=>{_0x20bf4d[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x38d503&&_0x25743d(_0x498130([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4684b9[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x4b161c(){if(!_0x390317(_0x1b60b0,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x3f0518 in window)if(Number['isNaN'](Number(_0x3f0518))){if(window[_0x3f0518]===_0x306f08)return _0x498130([0x74,0x69,0x6d,0x65]);if(window[_0x3f0518]===_0x235052)return _0x498130([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x657c67(){if(!_0x390317(_0x1b60b0,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x330204 in window)if(Number['isNaN'](Number(_0x330204))&&window[_0x330204]===_0x15f90)return!0x0;return!0x1;}function _0x25743d(_0x1dfc33,_0x20cc35){_0x1b1624(),_0x305ae4(_0x20cc35+_0x498130([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1dfc33),window[_0x19fbcb()]=_0x1dfc33===_0x498130([0x74,0x69,0x6d,0x65])?_0x306f08:_0x235052;}function _0x2243f6(){let _0x282b22=_0x5df21f[0x6]*_0x204c67[0x8]*_0x204c67[0x6];return _0x390317(_0x1b60b0,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x282b22/=0xa),_0x282b22;}function _0x1b1624(){const _0x5aef2a=_0x1b60b0;function _0x16e830(){_0x390317(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x498130([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x498130([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x498130([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x498130([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x5a6c69,_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x498130([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x5a6c69,_0x5aef2a[_0x498130([0x6d,0x6f,0x64,0x65,0x6c])][_0x498130([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a6c69,_0x5aef2a[_0x498130([0x6d,0x6f,0x64,0x65,0x6c])][_0x498130([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a6c69,_0x5aef2a[_0x498130([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x498130([0x6d,0x6f,0x64,0x65,0x6c]))),_0x390317(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x498130([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x498130([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x498130([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x498130([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x5a6c69,_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x498130([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x5a6c69);}_0x5aef2a[_0x498130([0x73,0x74,0x61,0x74,0x65])]==_0x498130([0x72,0x65,0x61,0x64,0x79])?_0x16e830():_0x5aef2a[_0x498130([0x6f,0x6e,0x63,0x65])](_0x498130([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x390317(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x16e830(),_0x390317(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x268d0c=_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x3fc5c2=_0x268d0c['getRevision'](0x0),_0x181b29=_0x268d0c['getEarlierVisibleRevision'](_0x3fc5c2[_0x498130([0x69,0x64])]);_0xffe63(_0x5aef2a,_0x498130([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x498130([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x3fc5c2[_0x498130([0x69,0x64])],_0x181b29?_0x181b29[_0x498130([0x69,0x64])]:null,0x1)['then'](()=>_0x16e830());}});}_0x5b7ae7(_0x54f47b(_0x5446bf,_0x3d71ac),_0x3d71ac);}function _0x45cb5d(_0x235f2e,_0x7ee96){try{return _0x1b5e0d(_0x7ee96)?_0x305ae4(_0x7ee96[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x56,0x61,0x6c,0x69,0x64])):_0x235f2e&&_0x1af924(_0x235f2e[_0x498130([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x7ee96)?_0x235f2e[_0x498130([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x498130([0x6f,0x70,0x65,0x6e])][_0x498130([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x1e8719)/0x2>_0x235f2e[_0x498130([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x305ae4(_0x7ee96[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x235f2e[_0x498130([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x305ae4(_0x7ee96[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c])):_0x305ae4(_0x7ee96[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x56,0x61,0x6c,0x69,0x64])):_0x305ae4(_0x7ee96[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x118e96){return _0x305ae4(_0x7ee96[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x20574(_0x281b3d,_0x572290){if(_0x1b60b0 instanceof _0x4f5f82){const _0x249b95=_0x1b60b0;_0x281b3d==_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5c71b1(_0x249b95):_0x281b3d==_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c])&&window[_0x498130([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5c71b1(_0x249b95),_0x305ae4(_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x5df21f[0x6]*_0x204c67[0x8]*_0x204c67[0x6]),_0x249b95[_0x498130([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x498130([0x6f,0x6e])](_0x498130([0x61,0x64,0x64]),(_0x504795,_0x500771)=>{_0x281b3d!=_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x281b3d!=_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x281b3d!=_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x1147d4(_0x500771);});}else{const _0x344aae=_0x1b60b0;_0x281b3d==_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1147d4(_0x344aae):_0x281b3d==_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c])&&_0x344aae[_0x498130([0x6f,0x6e])](_0x498130([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x259a2a=0x0;_0x344aae[_0x498130([0x6d,0x6f,0x64,0x65,0x6c])][_0x498130([0x6f,0x6e])](_0x498130([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5aab87,_0xda4f56)=>{_0xda4f56[0x0][_0x498130([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x259a2a++,0x1f8===_0x259a2a&&(_0x1147d4(_0x344aae),_0x305ae4(_0x572290[_0x498130([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x498130([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x5aab87[_0x498130([0x6f,0x66,0x66])]());},{'priority':_0x498130([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x305ae4(_0x1a521a){const _0x169e13=_0x19fbcb();return _0x1b60b0[_0x169e13]=_0x1a521a,_0x1a521a;}function _0x19fbcb(){const _0x4280fa=String(window[_0x498130([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x498130([0x6e,0x6f,0x77])]())[_0x498130([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x498130([0x2e]),'');let _0x1b669e='';for(let _0x4c3810=0x0;_0x4c3810<_0x4280fa[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4c3810+=0x2){let _0x5c1b08=parseInt(_0x4280fa[_0x498130([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c3810,_0x4c3810+0x2));_0x5c1b08>=_0x282de2[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5c1b08-=_0x282de2[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1b669e+=_0x282de2[_0x5c1b08];}return _0x1b669e;}function _0x5c71b1(_0x53263f){for(const _0x5ca1e5 of _0x53263f[_0x498130([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x1147d4(_0x5ca1e5);_0xffe63(_0x53263f,_0x498130([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x498130([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0xffe63(_0x53263f,_0x498130([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x498130([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x5a6c69;}function _0x1147d4(_0x3f22a4){function _0x14762e(){_0x3f22a4[_0x498130([0x6d,0x6f,0x64,0x65,0x6c])][_0x498130([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5a6c69,_0x3f22a4[_0x498130([0x6d,0x6f,0x64,0x65,0x6c])][_0x498130([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5a6c69,_0x3f22a4[_0x498130([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x498130([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3f22a4[_0x498130([0x73,0x74,0x61,0x74,0x65])]==_0x498130([0x72,0x65,0x61,0x64,0x79])?_0x14762e():_0x3f22a4[_0x498130([0x6f,0x6e,0x63,0x65])](_0x498130([0x72,0x65,0x61,0x64,0x79]),()=>_0x14762e());}function _0x5a6c69(){return null;}function _0x1af924(_0x44eaad,_0x3b1ae9){const _0x40fe4d=!!(_0x44eaad&_0x3b1ae9[_0x498130([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x42c530=_0x27bbd0(_0x44eaad,_0x3b1ae9);return _0x40fe4d||_0x42c530;}function _0x27bbd0(_0x44fc81,_0x274029){const _0xeeb697=(_0x274029[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x498130([0x66,0x67,0x69])]||null;return!!_0xeeb697&&_0x3c5ca2[_0x498130([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xabe465=>_0xeeb697[_0x498130([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xabe465[_0x498130([0x69,0x64])]))[_0x498130([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46f291=>!_0x5b894d(_0x46f291))[_0x498130([0x73,0x6f,0x6d,0x65])](_0x3d0225=>!!(_0x44fc81&_0x3d0225[_0x498130([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x5b894d(_0x8cb69f){const _0x475b8f={[_0x498130([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])]:_0x10cd9d};return!!_0x8cb69f['forbiddenHandler']&&_0x475b8f[_0x8cb69f['forbiddenHandler']]();}function _0x10cd9d(){return!window[_0x498130([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x390317(_0x1b60b0,_0x498130([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x1b5e0d(_0x41ce12){if(!_0x390317(_0x1b60b0,_0x41ce12[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2f5073=_0x41ce12[_0x498130([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x214203=_0x2f5073[_0x498130([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x49b009=_0x2f5073[_0x498130([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x5cd35d=_0x2f5073[_0x498130([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x390317(_0x1b60b0,_0x498130([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xffe63(_0x1b60b0,_0x498130([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x498130([0x73,0x74,0x61,0x74,0x65])]==_0x498130([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x214203)return!0x0;if(_0x390317(_0x1b60b0,_0x498130([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0xffe63(_0x1b60b0,_0x498130([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x498130([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x498130([0x65,0x6e,0x64])&&_0x49b009)return!0x0;return!(!_0x390317(_0x1b60b0,_0x498130([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]))||_0xffe63(_0x1b60b0,_0x498130([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]))[_0x498130([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x498130([0x65,0x6e,0x64])||!_0x5cd35d);}function _0x390317(_0x38836,_0x5cdcd4){return _0x38836[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x498130([0x68,0x61,0x73])](_0x5cdcd4);}function _0xffe63(_0x280c14,_0x4d9412){return _0x280c14[_0x498130([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x498130([0x67,0x65,0x74])](_0x4d9412);}function _0x217d3b(_0x274c05){let _0x494ef4='';for(const _0x2467c7 of _0x274c05)_0x494ef4+=String[_0x498130([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2467c7);return _0x494ef4;}function _0x2afe97(_0x19175a){const _0x39820d=new Uint8Array(_0x19175a[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x4083ab=0x0;_0x4083ab<_0x19175a[_0x498130([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4083ab++)_0x39820d[_0x4083ab]=_0x19175a[_0x498130([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4083ab);return _0x39820d;}_0x9daacf&&_0x21f6f6(_0x2143f8(_0xf068e6),_0x9daacf);})(_0x2f3e5b);}(this);}['createRevision'](_0x36718e){const _0x581c68=this['editor']['plugins']['get']('Users');return new a({'id':_0x36718e['id'],'name':_0x36718e['name'],'creator':_0x36718e['creatorId']?_0x581c68['getUser'](_0x36718e['creatorId']):null,'diffData':_0x36718e['diffData']||_0x36718e['data'],'authors':_0x36718e['authorsIds']['map'](_0x28ea65=>_0x581c68['getUser'](_0x28ea65)),'createdAt':new Date(_0x36718e['createdAt']),'attributes':_0x36718e['attributes'],'fromVersion':_0x36718e['fromVersion'],'toVersion':_0x36718e['toVersion']});}['addRevision'](_0x63e390,_0x2d7dd3=0x0){this['_revisions']['add'](_0x63e390,_0x2d7dd3);}['getRevision'](_0x581cee){return this['_revisions']['get'](_0x581cee);}['getRevisions'](_0x56c938={'toJSON':!0x1}){const _0x55f999=Array['from'](this['_revisions']);return _0x55f999['reverse'](),_0x56c938['toJSON']?_0x55f999['map'](_0x1b319d=>_0x1b319d['toJSON']()):_0x55f999;}['getIndex'](_0x25bdae){return this['_revisions']['getIndex'](_0x25bdae);}['getEarlierVisibleRevision'](_0x4f5df1){const [,_0xa19fe]=this['getRevisionsIterator'](_0x4f5df1,{'direction':'earlier'});return _0xa19fe;}['getLaterVisibleRevision'](_0x489a09){const [,_0x5c1bde]=this['getRevisionsIterator'](_0x489a09,{'direction':'later'});return _0x5c1bde;}['getRevisionsInDiff'](_0x4b4326){const _0x4d5864=[];for(const _0x21efbf of this['getRevisionsIterator'](_0x4b4326['newRevisionId']))if(_0x4d5864['push'](_0x21efbf),_0x21efbf['id']===_0x4b4326['oldRevisionId'])break;return _0x4d5864;}*['getRevisionsIterator'](_0x2581d2,{direction:_0x541d2b='earlier',filter:_0x4e7ed5=_0x5896b7=>!0x0}={}){const _0x1f7c24='earlier'===_0x541d2b?0x1:-0x1;let _0x231f3f=this['_revisions']['get'](_0x2581d2),_0x3614d8=this['getIndex'](_0x231f3f);for(yield _0x231f3f;_0x231f3f;){if(_0x3614d8+=_0x1f7c24,_0x231f3f=this['getRevision'](_0x3614d8),!_0x231f3f)return;_0x4e7ed5(_0x231f3f)&&(yield _0x231f3f);}}}function y(_0x4c1efd,_0xa93a1c,_0x1acf8c){const t=_0x4c1efd['t'];switch(_0xa93a1c){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'},_0x1acf8c);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x1acf8c);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x4f5f3c,'a':_0x3fb721,'e':_0x30d21a,'r':_0x4056b0,'u':_0x260ad3};class l extends _0x6c42b7{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5c82f8,A,_0x3c416a];}constructor(_0x25c867){super(_0x25c867),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 _0x3b55d7=_0x59ba44();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3b55d7},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 _0x1cd104=this['repository']['getRevision'](0x0),_0x4f205f=_0x1cd104&&null===_0x1cd104['creator']?_0x1cd104:null;if(this['_continueCurrentRevision']=!!_0x4f205f&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3fd26d=this['_source']['getCurrentRevisionId'](),_0x4fe8a9=this['repository']['getRevision'](_0x3fd26d);if(_0x4fe8a9)this['_startingVersion']=_0x4fe8a9['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x10b79e=this['_source']['history']['_operations']['find'](_0x4b2a5d=>!_0x4b2a5d['_isInit']),_0x5aa81d=_0x10b79e?_0x10b79e['baseVersion']:this['_source']['history']['version'];_0x1cd104?(_0x1cd104['toVersion']<_0x5aa81d&&_0x1cd104['_update']({'toVersion':_0x5aa81d}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x4f205f['id'],this['_startingVersion']=_0x4f205f['fromVersion']):(this['_startingVersion']=_0x1cd104['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5aa81d,this['_continueCurrentRevision']=!0x1);}}else _0x4f205f&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x4f205f['toVersion'],this['editor']['model']['document']['history']['version']),_0x4f205f['fromVersion']===_0x4f205f['toVersion']?(0x0!==_0x4f205f['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x4f205f['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x4f205f['id'],this['_startingVersion']=_0x4f205f['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',_0x3b1dda=>!_0x3b1dda);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x5d01cf=this['repository']['getRevision'](0x0),_0x1252e5=await this['getRevisionDocumentData'](_0x5d01cf),_0xbe9cad=await this['getRevisionRootsAttributes'](_0x5d01cf);this['_replaceEditorDataWithRevisionData'](_0x1252e5,_0xbe9cad);}}['setSource'](_0x525e85){this['_source']=_0x525e85;}async['update'](){const _0x283718=await this['_source']['getLatestVersion']();if(_0x283718>this['currentRevision']['toVersion']){await this['_loadState']();const _0xf4a71e=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x283718});_0xf4a71e['authors']=_0xf4a71e['authorsIds']['map'](_0x264bc4=>this['editor']['plugins']['get']('Users')['getUser'](_0x264bc4)),this['currentRevision']['_update'](_0xf4a71e);}}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'](_0x73bd0b={},_0x3628af=null){const _0x3d00f9=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3628af>this['currentRevision']['toVersion']&&(_0x3628af=null),null===_0x3628af&&(_0x3628af=await this['_source']['getLatestVersion']());const _0x5093c0=this['_getFromVersion'](_0x3628af),_0x24f6cb=this['buildRevisionData']({'from':_0x5093c0,'to':_0x3628af});if(this['currentRevision']['toVersion']<_0x3628af){const _0x3da59f=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3628af,'to':_0x3628af});_0x3da59f['authors']=[],_0x3da59f['authorsIds']=[],_0x3da59f['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x3da59f,!0x0),delete _0x3da59f['authors'],_0x3d00f9['push'](_0x3da59f);}_0x73bd0b['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x73bd0b['name']=_0x73bd0b['name']||null,_0x73bd0b['id']=_0x73bd0b['id']||_0x59ba44(),_0x73bd0b={..._0x73bd0b,..._0x24f6cb};const _0xb00327=this['addRevisionData'](_0x73bd0b);_0x3d00f9['push'](_0x73bd0b);const _0x139352=this['repository']['getIndex'](_0xb00327);if(0x0!==_0x139352){const _0x438f6a=this['repository']['getRevision'](_0x139352-0x1);if(_0x438f6a['fromVersion']!==_0x3628af){const _0x1ba3fa=this['_revisionDataBuilder']['getData'](_0x3628af,_0x438f6a['toVersion']),_0x333d5d={'id':_0x438f6a['id'],'diffData':_0x1ba3fa['diffData'],'authorsIds':_0x1ba3fa['authorsIds'],'authors':_0x1ba3fa['authorsIds']['map'](_0x2eb3e4=>this['editor']['plugins']['get']('Users')['getUser'](_0x2eb3e4)),'fromVersion':_0x3628af};_0x438f6a===this['currentRevision']&&(_0x333d5d['createdAt']=new Date(_0x73bd0b['createdAt']['getTime']()+0xa)),_0x438f6a['_update'](_0x333d5d,!0x0),delete _0x333d5d['authors'],_0x3d00f9['push'](_0x333d5d);}}if(this['adapter']){for(const _0x29ea89 of _0x3d00f9)this['_bufferUpdate'](_0x29ea89['id'],_0x29ea89,!0x0);this['sendBufferedUpdates']();}return _0xb00327;}['addRevisionData'](_0x253fe6){const _0x1d6a42=this['repository']['createRevision'](_0x253fe6);return this['adapter']&&_0x1d6a42['on']('_update',(_0xc1aea4,_0x33d8be,_0x4e9b50)=>{_0x4e9b50||(this['_bufferUpdate'](_0x33d8be['id'],_0x33d8be,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x1d6a42,this['_findInsertionIndex'](_0x1d6a42)),_0x1d6a42;}async['getRevisionDocumentData'](_0x5f5494){await this['_loadRevisionData'](_0x5f5494);const _0x40828a={};for(const _0x35248c in _0x5f5494['diffData']){if(_0x5f5494['diffData'][_0x35248c]['attachChange']&&!_0x5f5494['diffData'][_0x35248c]['attachChange']['isAttached'])continue;const _0x3524bc=this['_removeRevisionMarkers'](JSON['parse'](_0x5f5494['diffData'][_0x35248c]['insertions'])),_0x15b1c8=this['editor']['editing']['view']['document'],_0x575d56=new _0x1f8b9d(_0x15b1c8,_0x3524bc['map'](_0x2f4fbc=>B(_0x2f4fbc,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x40828a[_0x35248c]=this['editor']['data']['processor']['toData'](_0x575d56),this['editor']['data']['processor']['useFillerType']('default');}return _0x40828a;}async['getRevisionRootsAttributes'](_0x31586b){await this['_loadRevisionData'](_0x31586b);const _0x244370={};for(const _0x2c9f84 in _0x31586b['diffData'])_0x31586b['diffData'][_0x2c9f84]['attachChange']&&!_0x31586b['diffData'][_0x2c9f84]['attachChange']['isAttached']||(_0x244370[_0x2c9f84]=_0x31586b['diffData'][_0x2c9f84]['attributesAfter']||{});return _0x244370;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x4a4a92=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x67b78f=0x0;_0x67b78f<_0x4a4a92['length'];_0x67b78f++){const _0x2031c5=_0x4a4a92[_0x67b78f];let _0x520407=!0x1;for(const _0x36fea1 of Object['keys'](_0x2031c5))void 0x0===_0x2031c5[_0x36fea1]?delete _0x2031c5[_0x36fea1]:'id'!==_0x36fea1&&(_0x520407=!0x0);_0x520407||(_0x4a4a92[_0x67b78f]=null);}if(_0x4a4a92=_0x4a4a92['filter'](_0x323ef8=>null!==_0x323ef8),!_0x4a4a92['length'])return;for(let _0x2a4b11=0x0;_0x2a4b11<_0x4a4a92['length'];_0x2a4b11++){const _0x11870f=_0x4a4a92[_0x2a4b11];void 0x0!==_0x11870f['fromVersion']&&void 0x0===_0x11870f['toVersion']&&(_0x11870f['toVersion']=this['repository']['getRevision'](_0x11870f['id'])['toVersion']),void 0x0!==_0x11870f['toVersion']&&void 0x0===_0x11870f['fromVersion']&&(_0x11870f['fromVersion']=this['repository']['getRevision'](_0x11870f['id'])['fromVersion']);}const _0x5288e1=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x4a4a92,_0x5288e1)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x1a1258=>{if(_0x1a1258){for(const _0x49e4f3 of _0x1a1258)this['setRevisionData']({'id':_0x49e4f3['id'],'createdAt':_0x49e4f3['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x70c085,_0x1d36cb){let _0x11e260=this['editor']['config']['get']('initialData'),_0x56880c=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x11e260){_0x11e260={};for(const _0x24f216 of this['editor']['model']['document']['getRootNames']())_0x11e260[_0x24f216]='';}if('string'==typeof _0x11e260&&(_0x11e260={'main':_0x11e260}),void 0x0===_0x56880c){_0x56880c={};for(const _0x376c1c of this['editor']['model']['document']['getRootNames']())_0x56880c[_0x376c1c]={};}let _0x266432=!0x1;const _0x26ad0d=Object['keys'](_0x11e260),_0x22be60=Object['keys'](_0x70c085);for(const _0x3264ca of _0x26ad0d){if(_0x11e260[_0x3264ca]!==_0x70c085[_0x3264ca]&&''!==_0x11e260[_0x3264ca]['trim']()){_0x266432=!0x0;break;}if(!_0x293def(_0x56880c[_0x3264ca],_0x1d36cb[_0x3264ca])&&Object['keys'](_0x56880c[_0x3264ca])['length']>0x0){_0x266432=!0x0;break;}}_0x266432||(_0x266432=_0x22be60['some'](_0x4bf471=>!this['editor']['model']['document']['getRoot'](_0x4bf471))),_0x266432&&_0x95b23e('editor-initial-data-replaced-with-revision-data',{'editorData':_0x11e260,'editorRootsAttributes':_0x56880c,'revisionData':_0x70c085,'revisionRootsAttributes':_0x1d36cb}),this['editor']['config']['set']('initialData',_0x70c085),this['editor']['config']['set']('rootsAttributes',_0x1d36cb);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x134e00=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x134e00['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x179a30){const _0x18a647=this['repository']['getRevisions']();_0x18a647['reverse']();let _0x13fc2f=0x0;for(;_0x13fc2f<_0x18a647['length'];){const _0xa37c82=_0x18a647[_0x13fc2f];if(_0xa37c82===this['currentRevision']){_0x13fc2f++;continue;}if(_0xa37c82['id']===this['_initialRevisionId'])break;const _0x1d149b=_0x179a30['toVersion']-_0xa37c82['toVersion']||_0x179a30['fromVersion']-_0xa37c82['fromVersion'];if(_0x1d149b>0x0)break;if(_0x1d149b<0x0)_0x13fc2f++;else{if(!_0x179a30['creator']&&_0xa37c82['creator'])break;if(_0xa37c82['creator']||!_0x179a30['creator']){if(_0x179a30['createdAt']>_0xa37c82['createdAt'])break;_0x13fc2f++;}else _0x13fc2f++;}}return _0x13fc2f;}['setRevisionData'](_0x5c3be3){const _0x23f224=this['repository']['getRevision'](_0x5c3be3['id']);if(_0x5c3be3['createdAt']&&(_0x5c3be3['createdAt']=new Date(_0x5c3be3['createdAt'])),_0x5c3be3['authorsIds']){const _0x1ff642=this['editor']['plugins']['get']('Users');_0x5c3be3['authors']=_0x5c3be3['authorsIds']['map'](_0x5ed2f0=>_0x1ff642['getUser'](_0x5ed2f0));}_0x23f224['_update'](_0x5c3be3,!0x0);}['buildRevisionData']({revision:_0x1b08c8=null,from:_0x1e4b36=null,to:_0x2744c2=null}){_0x1e4b36=null!==_0x1e4b36?_0x1e4b36:_0x1b08c8['fromVersion'],_0x2744c2=null!==_0x2744c2?_0x2744c2:_0x1b08c8['toVersion'];const _0x4613f1=this['_revisionDataBuilder']['getData'](_0x1e4b36,_0x2744c2),_0x44cd59={'diffData':_0x4613f1['diffData'],'authorsIds':_0x4613f1['authorsIds'],'fromVersion':_0x1e4b36,'toVersion':_0x2744c2};if(!_0x1b08c8||_0x2744c2!==_0x1b08c8['toVersion']){const _0x396a36=_0x2744c2-0x1,_0x562444=this['_source']['history']['getOperation'](_0x396a36);_0x44cd59['createdAt']=_0x562444&&_0x562444['createdAt']||new Date();}if(this['_loadedStateData']&&_0x1e4b36===this['_loadedStateData']['fromVersion']){for(const _0x45afdc of this['_loadedStateData']['authors'])_0x44cd59['authorsIds']['includes'](_0x45afdc['id'])||_0x44cd59['authorsIds']['push'](_0x45afdc['id']);}return _0x44cd59;}['_loadRevisionData'](_0x282b2c){if(!_0x282b2c||_0x282b2c['diffData'])return Promise['resolve']();{const _0x2c109b=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2c109b,'revisionId':_0x282b2c['id']})['then'](_0x438209=>{_0x282b2c['diffData']=_0x438209['diffData'];});}}['_bufferUpdate'](_0x5c7383,_0x52c655,_0x15ce1a){if(this['_bufferedUpdates']['has'](_0x5c7383)){const _0x5aee9d=this['_bufferedUpdates']['get'](_0x5c7383);_0x52c655=_0x15ce1a?{..._0x5aee9d,..._0x52c655}:{..._0x52c655,..._0x5aee9d};}this['_bufferedUpdates']['set'](_0x5c7383,_0x52c655);}['_getFromVersion'](_0xb56252){const _0x3ffde7=this['repository']['getRevisions']();_0x3ffde7['reverse'](),_0x3ffde7['shift']();const _0x43f7de=_0x3ffde7['find'](_0x3913c1=>_0x3913c1['toVersion']<=_0xb56252)['toVersion'];return _0x43f7de<this['_startingVersion']?this['_startingVersion']:_0x43f7de;}['_createInitialRevision'](_0x5dcd69){const _0x33e115=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x33e115)this['_initialRevisionId']=_0x33e115['id'];else{const _0x4fab3f=!this['editor']['model']['document']['roots']['find'](_0x58557f=>this['editor']['model']['hasContent'](_0x58557f)),_0xcff596=this['editor']['plugins']['get']('Users')['me']['id'],_0x55b7cf=y(this['editor']['locale'],_0x4fab3f?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5dcd69,'to':_0x5dcd69,'id':this['_initialRevisionId'],'name':_0x55b7cf,'creatorId':_0xcff596});}}['_createCurrentRevision'](_0x3520c0){const _0x3c4be1=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3c4be1),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3520c0,'to':_0x3520c0,'id':_0x3c4be1,'name':'','creatorId':null}));}['_makeRevision']({name:_0x25318a,from:_0x5e19c9,to:_0x40e082,creatorId:_0x3965ce,id:_0x311c8f}){const _0x4ce70b=this['buildRevisionData']({'from':_0x5e19c9,'to':_0x40e082});_0x4ce70b['name']=_0x25318a,_0x4ce70b['creatorId']=_0x3965ce,_0x4ce70b['id']=_0x311c8f;const _0x4cbc91=this['addRevisionData'](_0x4ce70b);return this['adapter']&&this['_bufferUpdate'](_0x4ce70b['id'],_0x4ce70b,!0x0),_0x4cbc91;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2891de){return(_0x2891de=_0x2891de['filter'](_0x3b1b6a=>!_0x3b1b6a['name']||'revision-start'!==_0x3b1b6a['name']&&'revision-end'!==_0x3b1b6a['name']))['forEach'](_0x464647=>{'string'!=typeof _0x464647&&(_0x464647['children']=this['_removeRevisionMarkers'](_0x464647['children']),_0x464647['attributes']=_0x464647['attributes']['filter'](_0x34622e=>!_0x34622e[0x0]['startsWith']('data-revision-')));}),_0x2891de;}}function B(_0x40ee72,_0x5d03d2){const _0x1204a0=_0x5d03d2['editing']['view']['document'];if('string'==typeof _0x40ee72)return new _0x3ddc20(_0x1204a0,_0x40ee72);{const _0x3eb17e=_0x40ee72['children']['map'](_0x3c34aa=>B(_0x3c34aa,_0x5d03d2));return new(T[_0x40ee72['type']]||_0x22bfd8)(_0x1204a0,_0x40ee72['name'],_0x40ee72['attributes'],_0x3eb17e);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x533c31){this['editor']=_0x533c31,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'](_0x4d0973){this['source']=_0x4d0973;const _0x35eb8a=new Map(),_0x104934=new Map(),_0x136236=this['editor']['model']['document']['roots']['map'](_0x17afbf=>_0x17afbf['rootName']);for(const _0xe5b5dd of _0x136236){const _0x2d88fe=this['editor']['model']['document']['getRoot'](_0xe5b5dd),_0x3ea8d6=q(_0x2d88fe);_0x35eb8a['set'](_0xe5b5dd,_0x3ea8d6),_0x104934['set'](_0xe5b5dd,Object['fromEntries'](_0x2d88fe['getAttributes']()));}const _0x4adf1a=Array['from'](this['editor']['model']['markers'])['map'](_0x51ad2a=>[_0x51ad2a['name'],_0x51ad2a['getRange']()]),_0x1e5639=this['source']['version'];this['_saveMetaData'](_0x1e5639,_0x35eb8a,_0x4adf1a,_0x104934),this['_startingRevisionId']=this['_revisionId'];const _0x554eef=new Map(),_0x21fe37=new Map();for(const _0x15ea09 of _0x136236){const _0x301ddd=G(_0x15ea09);_0x554eef['set'](_0x15ea09,_0x301ddd),_0x21fe37['set'](_0x15ea09,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x554eef,[],_0x21fe37);}['getData'](_0x27af77,_0x46b59e){if(this['_lastFrom']===_0x27af77&&this['_lastTo']<=_0x46b59e)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x46b59e,!0x0);else{if(!this['_savedMetaData']['has'](_0x27af77)){const _0x4e09f9=this['_getPreviousFrom'](_0x27af77);this['_calculateMetaData'](_0x4e09f9,_0x27af77,!0x1);}this['_calculateMetaData'](_0x27af77,_0x46b59e,!0x0);}return this['_lastFrom']=_0x27af77,this['_lastTo']=_0x46b59e,this['_getState']();}['loadState'](_0x15eee9){this['_reset'](),this['_lastFrom']=_0x15eee9['fromVersion'],this['_lastTo']=_0x15eee9['toVersion'];for(const _0x23112f in _0x15eee9['diffData']){const _0x49c24b=_0x15eee9['diffData'][_0x23112f]['attachChange'],_0x435f29=_0x250b31(_0x15eee9['diffData'][_0x23112f]['attributesBefore'])||{},_0x5a5784=this['_makeModelFromViewString'](_0x15eee9['diffData'][_0x23112f]['deletions']);_0x5a5784['rootName']=_0x23112f,_0x5a5784['_isAttached']=!_0x49c24b||!_0x49c24b['isAttached'],_0x5a5784['isAttached']=()=>_0x5a5784['_isAttached'],this['_baseRoots']['set'](_0x23112f,_0x5a5784),this['_baseRootsAttributes']['set'](_0x23112f,_0x435f29),_0x49c24b&&this['_touchedRoots']['set'](_0x23112f,_0x49c24b);const _0x1d5a8c=this['_makeIdsRoot'](_0x5a5784);this['_baseIdsRoots']['set'](_0x23112f,_0x1d5a8c);for(const [_0x60c1fe,_0x62ec34]of _0x5a5784['markers']){if(!_0x60c1fe['startsWith']('revision:'))continue;const _0x39c539=_0x60c1fe['split'](':')[0x2];for(const _0x315349 of _0x62ec34['getWalker']({'singleCharacters':!0x0})){const _0x5b2b39=this['_getVidAttributeName'](_0x315349),_0x1dad21='elementEnd'==_0x315349['type']?_0x315349['previousPosition']['path']['slice'](0x0,-0x1):_0x315349['previousPosition']['path'],_0x184118=_0x1d5a8c['getNodeByPath'](_0x1dad21)['getAttribute'](_0x5b2b39);this['_touched']['set'](_0x184118,{'userId':_0x39c539});}}}this['_startingRevisionId']=this['_revisionId'];const _0x19a813=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x253931=>!this['_touched']['has'](_0x253931));let _0x453bbc=0x0;const _0x6c2c02=new Map();for(const _0x5f5589 in _0x15eee9['diffData']){const _0x4001e9=_0x15eee9['diffData'][_0x5f5589]['attachChange'],_0x462342=_0x250b31(_0x15eee9['diffData'][_0x5f5589]['attributesAfter'])||{},_0x23f8c4=this['_makeModelFromViewString'](_0x15eee9['diffData'][_0x5f5589]['insertions']);_0x23f8c4['rootName']=_0x5f5589,_0x23f8c4['_isAttached']=!_0x4001e9||_0x4001e9['isAttached'],_0x23f8c4['isAttached']=()=>_0x23f8c4['_isAttached'],this['_diffRoots']['set'](_0x5f5589,_0x23f8c4),this['_diffRootsAttributes']['set'](_0x5f5589,_0x462342);const _0x3510a8=this['_makeIdsRoot'](_0x23f8c4,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5f5589,_0x3510a8),_0x6c2c02['set'](_0x5f5589,_0x23f8c4['isAttached']()?_0x462342:{});for(const [_0x2e843a,_0x2bdfe8]of _0x23f8c4['markers']){if(!_0x2e843a['startsWith']('revision:'))continue;const _0x152143=_0x2e843a['split'](':')[0x2];for(const _0x3cc932 of _0x2bdfe8['getWalker']({'singleCharacters':!0x0})){const _0xe7d7d7=this['_getVidAttributeName'](_0x3cc932),_0x464f6a=this['_revisionId']++,_0x11f6ed='elementEnd'==_0x3cc932['type']?_0x3cc932['previousPosition']['path']['slice'](0x0,-0x1):_0x3cc932['previousPosition']['path'];_0x3510a8['getNodeByPath'](_0x11f6ed)['_setAttribute'](_0xe7d7d7,_0x464f6a),this['_touched']['set'](_0x464f6a,{'userId':_0x152143});}}for(const _0x1b548b of this['editor']['model']['createRangeIn'](_0x23f8c4)['getWalker']({'singleCharacters':!0x0})){const _0x3cbc79=this['_getVidAttributeName'](_0x1b548b),_0x5d1c0d='elementEnd'==_0x1b548b['type']?_0x1b548b['previousPosition']['path']['slice'](0x0,-0x1):_0x1b548b['previousPosition']['path'],_0x5da09b=_0x3510a8['getNodeByPath'](_0x5d1c0d);_0x5da09b['getAttribute'](_0x3cbc79)>0x0||_0x5da09b['_setAttribute'](_0x3cbc79,_0x19a813[_0x453bbc++]);}for(const [_0x351765,_0x24de57]of _0x23f8c4['markers'])_0x351765['startsWith']('revision:')||this['_markers']['set'](_0x351765,_0x24de57);}const _0xd3cf54=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xd3cf54),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xd3cf54,0x1));const _0x27fcd6=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x27fcd6),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x27fcd6,0x1));const _0xc569f5=Array['from'](this['_diffRoots'])['map'](([_0x27dc22,_0x43e825])=>[_0x27dc22,q(_0x43e825)]);this['_saveMetaData'](this['_lastTo'],_0xc569f5,this['_markers'],_0x6c2c02);}['_makeModelFromViewString'](_0x5b5ef1){const _0x36ec31=JSON['parse'](_0x5b5ef1),_0x224b72=this['editor']['editing']['view']['document'],_0x22f7c0=new _0x1f8b9d(_0x224b72,_0x36ec31['map'](_0x534335=>B(_0x534335,this['editor'])));return this['editor']['data']['toModel'](_0x22f7c0);}['_saveMetaData'](_0x4063b2,_0x427a56,_0x355c98,_0x17f45b){const _0x114d89=new Map(_0x427a56),_0x18d775=new Map(_0x250b31(_0x17f45b)),_0x23676f=new Map();for(const [_0x171dc9,_0x55ce31]of _0x355c98)_0x23676f['set'](_0x171dc9,{'start':_0x55ce31['start']['clone'](),'end':_0x55ce31['end']['clone'](),'rootName':_0x55ce31['root']['rootName']});this['_savedMetaData']['set'](_0x4063b2,{'roots':_0x114d89,'markers':_0x23676f,'rootsAttributes':_0x18d775});}['_removeMetaData'](_0x3abf9e){this['_savedMetaData']['delete'](_0x3abf9e);}['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'](_0x1376ab,_0x2b52ac=null){let _0x3f3733=null;_0x1376ab['is']('documentFragment')||(_0x3f3733=new ft(_0x1376ab['name'],{'vid_start':null===_0x2b52ac?this['_revisionId']++:_0x2b52ac++}));const _0x31b871=[];for(const _0x296717 of _0x1376ab['getChildren']())if(_0x296717['is']('element')){_0x31b871['push'](this['_makeIdsRoot'](_0x296717,_0x2b52ac));const _0x11aed8=_0x31b871[_0x31b871['length']-0x1];null!==_0x2b52ac&&(_0x2b52ac=_0x11aed8['is']('element','$text')?_0x11aed8['getAttribute']('vid')+0x1:_0x11aed8['getAttribute']('vid_end')+0x1);}else{for(let _0x31c4c9=0x0;_0x31c4c9<_0x296717['offsetSize'];_0x31c4c9++)_0x31b871['push'](new ft('$text',{'vid':null===_0x2b52ac?this['_revisionId']++:_0x2b52ac++}));}if(_0x1376ab['is']('documentFragment')){const _0x4ec5a1=G(_0x1376ab['rootName']);return _0x4ec5a1['_insertChild'](0x0,_0x31b871),_0x4ec5a1;}return _0x3f3733['_setAttribute']('vid_end',null===_0x2b52ac?this['_revisionId']++:_0x2b52ac++),_0x3f3733['_insertChild'](0x0,_0x31b871),_0x3f3733;}['_calculateMetaData'](_0xfdee6a,_0x4a1574,_0x598a12){this['_reset']();const {roots:_0x522d16,markers:_0x33001c,rootsAttributes:_0x3dd29d}=this['_savedMetaData']['get'](_0xfdee6a);this['_baseRoots']=new Map(_0x522d16),this['_baseRootsAttributes']=new Map(_0x250b31(_0x3dd29d));for(const [_0x3b5072,_0x9d7b92]of this['_baseRoots'])if('$graveyard'!==_0x3b5072&&(this['_diffRoots']['set'](_0x3b5072,q(_0x9d7b92)),this['_diffRootsAttributes']=new Map(_0x250b31(_0x3dd29d)),_0x598a12)){const _0x2ec6eb=this['_revisionId'];this['_idsRoots']['set'](_0x3b5072,this['_makeIdsRoot'](_0x9d7b92)),this['_baseIdsRoots']['set'](_0x3b5072,this['_makeIdsRoot'](_0x9d7b92,_0x2ec6eb));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x598a12&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x5d8d27,_0x3b251c]of _0x33001c){const _0x345b9b=this['_baseRoots']['get'](_0x3b251c['rootName']),_0x2aca5d=this['_diffRoots']['get'](_0x3b251c['rootName']),_0x55c110=new vt(this['_fixPosition'](_0x3b251c['start'],_0x345b9b),this['_fixPosition'](_0x3b251c['end'],_0x345b9b)),_0x5d4a75=this['_fixRange'](_0x55c110,_0x2aca5d);_0x345b9b['markers']['set'](_0x5d8d27,_0x55c110),this['_markers']['set'](_0x5d8d27,_0x5d4a75);}this['_applyOperations'](_0xfdee6a,_0x4a1574,_0x598a12);}['_applyOperations'](_0x475edd,_0x2fbf2a,_0x169de9){for(const _0x5291c4 of this['source']['getOperations'](_0x475edd,_0x2fbf2a))this['_handleOperation'](_0x5291c4,_0x169de9);for(const _0x4e07c2 of this['_diffRoots']['values']())_0x4e07c2['markers']['clear']();for(const [_0x4b63bd,_0x40dacc]of this['_markers']){this['_diffRoots']['get'](_0x40dacc['root']['rootName'])['markers']['set'](_0x4b63bd,_0x40dacc['clone']());}const _0xccda6b=new Map(),_0x12c4c6=new Map();for(const [_0x5cd385,_0x2908ad]of this['_diffRoots'])_0xccda6b['set'](_0x5cd385,q(_0x2908ad)),_0x12c4c6['set'](_0x5cd385,this['_diffRootsAttributes']['get'](_0x5cd385));this['_saveMetaData'](_0x2fbf2a,_0xccda6b,this['_markers'],_0x12c4c6);}['_getPreviousFrom'](_0x5e395f){const _0x293033=Array['from'](this['_savedMetaData']['keys']());_0x293033['sort']((_0x233a8c,_0x32c36f)=>_0x233a8c-_0x32c36f),_0x293033['reverse']();for(const _0x159336 of _0x293033)if(_0x159336<_0x5e395f)return _0x159336;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x1ba17e,_0x1bda43){const _0x4e881b=Array['from'](_0x1bda43['markers'])['map'](([_0x2613ca,_0x3f0ce0])=>[_0x2613ca,this['_fixRange'](_0x3f0ce0,_0x1ba17e)]);_0x1ba17e['markers']=new Map(_0x4e881b);}['_transformMarkers'](_0x5e1dc2){for(const _0x33c2f0 of this['_markers']['values']()){const _0x2d5f31=_0x33c2f0['getTransformedByOperation'](_0x5e1dc2),_0x444456=vt['_createFromRanges'](_0x2d5f31);_0x33c2f0['start']=_0x444456['start'],_0x33c2f0['end']=_0x444456['end'];}}['_handleOperation'](_0x3f6b1c,_0x19e22c){if('addRoot'==_0x3f6b1c['type']||'detachRoot'==_0x3f6b1c['type'])return void this['_handleRootOperation'](_0x3f6b1c,_0x19e22c);if('insert'==_0x3f6b1c['type']){const _0x39d20d=_0x3f6b1c['position']['root']['rootName'];this['_diffRoots']['has'](_0x39d20d)||(this['_diffRoots']['set'](_0x39d20d,G(_0x39d20d,!0x0)),this['_diffRootsAttributes']['set'](_0x39d20d,{}),_0x19e22c&&this['_idsRoots']['set'](_0x39d20d,G(_0x39d20d,!0x0)));}else{if('addRootAttribute'==_0x3f6b1c['type']||'removeRootAttribute'==_0x3f6b1c['type']||'changeRootAttribute'==_0x3f6b1c['type'])return void this['_handleRootAttributeOperation'](_0x3f6b1c);}const _0x236b00=this['_cloneOperation'](_0x3f6b1c,this['_diffRoots']);if('marker'!==_0x3f6b1c['type']&&(_0x236b00['_execute'](),this['_transformMarkers'](_0x236b00)),_0x19e22c)switch(_0x236b00['type']){case'insert':this['_handleInsertOperation'](_0x3f6b1c);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3f6b1c);break;case'merge':this['_handleMergeOperation'](_0x3f6b1c);break;case'split':this['_handleSplitOperation'](_0x3f6b1c);break;case'marker':this['_handleMarkerOperation'](_0x3f6b1c);}}['_cloneOperation'](_0xe20c0f,_0x256e0){const _0x120ebd=_0xe20c0f['clone']();return _0x120ebd['_authorId']=_0xe20c0f['_authorId'],this['_fixOperation'](_0x120ebd,_0x256e0),_0x120ebd;}['_getBaseVids'](_0x4e5291){return _0x4e5291['map'](_0x3d0ac4=>{const _0x2f5fe7=this['_getVidAttributeName'](_0x3d0ac4);return Number(_0x3d0ac4['item']['getAttribute'](_0x2f5fe7));});}['_generateTape'](_0x402216,_0x101734){if(_0x402216['is']('element','$text'))_0x101734['push']({'item':_0x402216,'type':'text'});else{_0x402216['is']('element')&&_0x101734['push']({'item':_0x402216,'type':'elementStart'});for(const _0x31b072 of _0x402216['getChildren']())this['_generateTape'](_0x31b072,_0x101734);_0x402216['is']('element')&&_0x101734['push']({'item':_0x402216,'type':'elementEnd'});}return _0x101734;}['_getState'](){const _0x4e7ef=new Map(this['_touched']),_0x580a82=new Map(_0x4e7ef),_0x400d10=new Map(),_0x521bbb={'insertions':{},'deletions':{}},_0x5a8761={'insertions':{},'deletions':{}},_0xf9efd0=new Map(),_0x284546=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x284546['delete']('$graveyard');for(const _0x586e6e of _0x284546){const _0x150422=this['_diffRoots']['get'](_0x586e6e)||G(_0x586e6e,!0x1),_0x5f2930=this['_baseRoots']['get'](_0x586e6e)||G(_0x586e6e,!0x1);_0x150422['isAttached']()||_0x5f2930['isAttached']()?(_0x521bbb['insertions'][_0x586e6e]=q(_0x150422),_0x521bbb['deletions'][_0x586e6e]=q(_0x5f2930),this['_copyMarkers'](_0x521bbb['deletions'][_0x586e6e],_0x5f2930),this['_copyMarkers'](_0x521bbb['insertions'][_0x586e6e],_0x150422),_0x5a8761['insertions'][_0x586e6e]=this['_generateTape'](this['_idsRoots']['get'](_0x586e6e),[]),_0x5a8761['deletions'][_0x586e6e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x586e6e)||G(_0x586e6e,!0x1),[])):_0x284546['delete'](_0x586e6e);}for(const _0xb38b4d of _0x284546){const _0x2ef266=_0x5a8761['insertions'][_0xb38b4d];for(const _0x1cb82b of _0x2ef266){const _0x446eb3=this['_getVidAttributeName'](_0x1cb82b),_0x2f93b3=_0x1cb82b['item']['getAttribute'](_0x446eb3);_0x580a82['delete'](_0x2f93b3),_0x2f93b3>=this['_startingRevisionId']&&_0x400d10['set'](_0x2f93b3,_0x4e7ef['get'](_0x2f93b3));}}for(const _0x56a62c of _0x284546){const _0x1de336=_0x5a8761['insertions'][_0x56a62c],_0x421915=this['_getBaseVids'](_0x5a8761['deletions'][_0x56a62c]);let _0xb5934b=0x0;for(const _0x2f2e98 of _0x1de336){const _0xeab17e=this['_getVidAttributeName'](_0x2f2e98),_0x12fc31=_0x2f2e98['item']['getAttribute'](_0xeab17e);if(!_0x400d10['has'](_0x12fc31)&&!_0xf9efd0['has'](_0x12fc31)){if(_0x580a82['has'](_0x12fc31))_0xb5934b++;else{if(_0x12fc31!=_0x421915[_0xb5934b]){const _0xe954c3=_0x4e7ef['get'](_0x12fc31)||_0x4e7ef['get'](_0x421915[_0xb5934b]);for(;_0x12fc31!=_0x421915[_0xb5934b];)_0x580a82['has'](_0x421915[_0xb5934b])||(_0xf9efd0['set'](_0x421915[_0xb5934b],_0xe954c3),_0x4e7ef['set'](_0x421915[_0xb5934b],_0xe954c3)),_0xb5934b++;}_0xb5934b++;}}}}for(const _0xb5fea6 of _0x284546){const _0x55359b=_0x5a8761['insertions'][_0xb5fea6];for(const _0x1e5a08 of _0x55359b){const _0xcce794=this['_getVidAttributeName'](_0x1e5a08),_0x45d536=_0x1e5a08['item']['getAttribute'](_0xcce794);if(_0xf9efd0['has'](_0x45d536)){const _0x1de521=_0xf9efd0['get'](_0x45d536);_0x580a82['has'](_0x45d536)||_0x580a82['set'](_0x45d536,{..._0x1de521}),_0x400d10['set'](_0x45d536,{..._0x1de521});}}}for(const _0x565630 of _0x580a82['keys']())_0x565630>=this['_startingRevisionId']&&_0x580a82['delete'](_0x565630);const _0x47249a=new Map();for(const _0x5971d5 of _0x284546){let _0x6a27c2=_0x5a8761['insertions'][_0x5971d5];for(const _0x5b4c15 of _0x6a27c2)if(_0x5b4c15['item']['is']('element','tableCell')){const _0x14415a=this['_getVidAttributeName'](_0x5b4c15),_0x23a398=_0x5b4c15['item']['getAttribute'](_0x14415a);if(_0x400d10['has'](_0x23a398)){const _0x456e07=_0x5b4c15['item']['parent']['parent']['getAttribute']('vid_start'),_0x27b5c8=_0x47249a['get'](_0x456e07)||new Set();_0x27b5c8['add'](_0x400d10['get'](_0x23a398)['userId']),_0x47249a['set'](_0x456e07,_0x27b5c8);}}_0x6a27c2=_0x5a8761['deletions'][_0x5971d5];for(const _0x125125 of _0x6a27c2)if(_0x125125['item']['is']('element','tableCell')){const _0x3e7b88=this['_getVidAttributeName'](_0x125125),_0x5cb70e=_0x125125['item']['getAttribute'](_0x3e7b88);if(_0x580a82['has'](_0x5cb70e)){const _0x19525d=_0x125125['item']['parent']['parent']['getAttribute']('vid_start'),_0x229e71=_0x47249a['get'](_0x19525d)||new Set();_0x229e71['add'](_0x580a82['get'](_0x5cb70e)['userId']),_0x47249a['set'](_0x19525d,_0x229e71);}}for(const _0x57ee05 of _0x47249a['keys']())(_0x400d10['has'](_0x57ee05)||_0x580a82['has'](_0x57ee05))&&_0x47249a['delete'](_0x57ee05);}for(const _0xd9f845 of _0x284546){const _0x63bfc0=_0x5a8761['insertions'][_0xd9f845];let _0x169c37=null,_0x1e579e=null;for(const _0x29cbbb of _0x63bfc0){const _0x495875=this['_getVidAttributeName'](_0x29cbbb),_0x471576=_0x29cbbb['item']['getAttribute'](_0x495875),_0x41089d=_0x47249a['get'](_0x471576);_0x41089d&&'elementStart'==_0x29cbbb['type']&&(_0x169c37=Array['from'](_0x41089d)[0x0],_0x1e579e=_0x29cbbb['item']['getAttribute']('vid_end')),_0x169c37&&(_0x580a82['set'](_0x471576,{'userId':_0x169c37}),_0x400d10['set'](_0x471576,{'userId':_0x169c37})),_0x471576==_0x1e579e&&(_0x169c37=null,_0x1e579e=null);}}const _0x5aee55={},_0x1c5265=new Set();for(const _0x57a484 of _0x284546){const _0x408d03=_0x521bbb['deletions'][_0x57a484],_0x52a4e4=_0x521bbb['insertions'][_0x57a484];for(const {userId:_0x319038}of this['_touchedMarkers']['values']())null!==_0x319038&&_0x1c5265['add'](_0x319038);for(const {userId:_0xf4131b}of this['_touchedRoots']['values']())null!==_0xf4131b&&_0x1c5265['add'](_0xf4131b);this['_markChanges'](_0x52a4e4,_0x5a8761['insertions'][_0x57a484],_0x400d10,'insertion',_0x1c5265),this['_markChanges'](_0x408d03,_0x5a8761['deletions'][_0x57a484],_0x580a82,'deletion',_0x1c5265),_0x5aee55[_0x57a484]={'insertions':this['_prepareViewToSave'](_0x52a4e4),'deletions':this['_prepareViewToSave'](_0x408d03),'attachChange':this['_touchedRoots']['get'](_0x57a484)||null,'attributesBefore':_0x250b31(this['_baseRootsAttributes']['get'](_0x57a484))||{},'attributesAfter':_0x250b31(this['_diffRootsAttributes']['get'](_0x57a484))};}return{'diffData':_0x5aee55,'authorsIds':Array['from'](_0x1c5265)};}['_processRootBeforeSave'](_0x121e68){for(const [,_0x5395e6]of _0x121e68['markers']){const _0x1b6a8a=_0x5395e6['start']['getAncestors']()['filter'](_0x3932bd=>'tableCell'==_0x3932bd['name']);for(const _0x589e6c of _0x1b6a8a)0x1==_0x589e6c['childCount']&&_0x589e6c['getChild'](0x0)['is']('element','paragraph')&&_0x589e6c['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x33eb10){this['_processRootBeforeSave'](_0x33eb10);const _0x3b1a54=this['editor']['data']['toView'](_0x33eb10,{}),_0x267944=Array['from'](_0x3b1a54['getChildren']())['map'](_0x38d92e=>this['_getViewJson'](_0x38d92e));return JSON['stringify'](_0x267944);}['_getViewJson'](_0x3db203){if(_0x3db203['is']('$text'))return _0x3db203['data'];{const _0x32c49e=_0x3db203;return{'type':Object['keys'](T)['find'](_0xe9874f=>_0x3db203 instanceof T[_0xe9874f]),'name':_0x32c49e['name'],'attributes':Array['from'](_0x32c49e['getAttributes']()),'children':Array['from'](_0x32c49e['getChildren']())['map'](_0x561b4c=>this['_getViewJson'](_0x561b4c))};}}['_markChanges'](_0x5e333c,_0x12acfd,_0x239bdf,_0x1bdf1b,_0x5de592){let _0x10561b=null,_0x5054c0=null,_0xc61b50=0x0;const _0xd8f19a=this['editor']['model'];for(let _0x54d54c=0x0;_0x54d54c<_0x12acfd['length'];_0x54d54c++){const _0x4aa1ca=this['_getVidAttributeName'](_0x12acfd[_0x54d54c]),_0x2ed3bc=_0x12acfd[_0x54d54c]['item']['getAttribute'](_0x4aa1ca),_0x500635=_0x239bdf['get'](_0x2ed3bc),_0x1311f9=_0x54d54c==_0x12acfd['length']-0x1;(!_0x10561b&&_0x500635&&(_0x10561b=_0x500635,_0x5054c0=_0x12acfd[_0x54d54c]),_0x10561b&&(!_0x500635||_0x500635['userId']!=_0x10561b['userId']))&&(_0x532e67(_0x500635,L(_0x5054c0,_0x5e333c,_0xd8f19a),L(_0x12acfd[_0x54d54c],_0x5e333c,_0xd8f19a)),_0x10561b=_0x500635||null,_0x5054c0=_0x500635?_0x12acfd[_0x54d54c]:null),_0x10561b&&_0x1311f9&&_0x532e67(_0x500635,L(_0x5054c0,_0x5e333c,_0xd8f19a),W(_0x12acfd[_0x54d54c],_0x5e333c,_0xd8f19a));}function _0x532e67(_0x4aac2d,_0xa8118,_0x2cd65d){const _0x151036=_0x10561b['userId'],_0x58dd6a='revision:'+_0x1bdf1b+':'+_0x151036+':'+_0xc61b50++,_0x56e638=_0xd8f19a['createRange'](_0xa8118,_0x2cd65d);_0x5e333c['markers']['set'](_0x58dd6a,_0x56e638),null!==_0x151036&&_0x5de592['add'](_0x151036);}}['_getVidAttributeName'](_0x4f0f3e){switch(_0x4f0f3e['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x1ded95,_0x147905){_0x1ded95['baseVersion']=null;for(const _0x1319c4 in _0x1ded95){const _0x3e55a0=_0x1ded95[_0x1319c4];if(_0x3e55a0 instanceof gt){const _0x594909=_0x147905['get'](_0x3e55a0['root']['rootName']);_0x1ded95[_0x1319c4]=this['_fixPosition'](_0x3e55a0,_0x594909);}if(_0x3e55a0 instanceof vt){const _0x4ebec9=_0x147905['get'](_0x3e55a0['root']['rootName']);_0x1ded95[_0x1319c4]=this['_fixRange'](_0x3e55a0,_0x4ebec9);}'root'===_0x1319c4&&(_0x1ded95['root']=_0x147905['get'](_0x1ded95['root']['rootName']));}}['_fixRange'](_0x5e866d,_0x28e7ac){return this['editor']['model']['createRange'](this['_fixPosition'](_0x5e866d['start'],_0x28e7ac),this['_fixPosition'](_0x5e866d['end'],_0x28e7ac));}['_fixPosition'](_0x3c25d5,_0x4ed854){return this['editor']['model']['createPositionFromPath'](_0x4ed854,_0x3c25d5['path'],_0x3c25d5['stickiness']);}['_handleInsertOperation'](_0x2c64fb){const _0x4171b2=this['_idsRoots']['get'](_0x2c64fb['position']['root']['rootName']),_0x2869c1=this['_fixPosition'](_0x2c64fb['position'],_0x4171b2),_0x449bc1=null===_0x2c64fb['_authorId']?null:_0x2c64fb['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x552c71=_0x2869c1['parent'],_0x1bd316=this['_revisionId'],_0x1a30a2=[];for(const _0x2e751a of _0x2c64fb['nodes'])if(_0x2e751a['is']('element'))_0x1a30a2['push'](this['_makeIdsRoot'](_0x2e751a));else{for(let _0xa5967=0x0;_0xa5967<_0x2e751a['offsetSize'];_0xa5967++)_0x1a30a2['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x2ad6fa=this['_revisionId'];for(let _0x5658d3=_0x1bd316;_0x5658d3<_0x2ad6fa;_0x5658d3++)this['_touched']['set'](_0x5658d3,{'userId':_0x449bc1});_0x552c71['_insertChild'](_0x2869c1['offset'],_0x1a30a2);}['_handleMoveOperation'](_0x5e5089){(_0x5e5089=this['_cloneOperation'](_0x5e5089,this['_idsRoots']))['_execute']();const _0x3d59f4=null===_0x5e5089['_authorId']?null:_0x5e5089['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e1c8b=_0x5e5089['getMovedRangeStart'](),_0x55daf2=_0x1e1c8b['parent'],_0x5a558e=_0x1e1c8b['offset'];!function _0x523dcd(_0x58ce21,_0x54e8ae,_0x204483,_0x5eec6f){for(let _0x85871b=_0x204483;_0x85871b<_0x5eec6f;_0x85871b++){const _0x4815f7=_0x54e8ae['getChild'](_0x85871b);_0x4815f7['is']('element','$text')?_0x58ce21['set'](_0x4815f7['getAttribute']('vid'),{'userId':_0x3d59f4}):(_0x58ce21['set'](_0x4815f7['getAttribute']('vid_start'),{'userId':_0x3d59f4}),_0x523dcd(_0x58ce21,_0x4815f7,0x0,_0x4815f7['childCount']),_0x58ce21['set'](_0x4815f7['getAttribute']('vid_end'),{'userId':_0x3d59f4}));}}(this['_touched'],_0x55daf2,_0x5a558e,_0x5a558e+_0x5e5089['howMany']);}['_handleMergeOperation'](_0x4b84e1){const _0x522d2f=null===(_0x4b84e1=this['_cloneOperation'](_0x4b84e1,this['_idsRoots']))['_authorId']?null:_0x4b84e1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3e0ad8=_0x4b84e1['targetPosition']['parent'],_0x5a1604=_0x4b84e1['sourcePosition']['parent'],_0x3605a8=_0x3e0ad8['getAttribute']('vid_end'),_0x272bb0=_0x5a1604['getAttribute']('vid_start');_0x3e0ad8['_setAttribute']('vid_end',_0x5a1604['getAttribute']('vid_end')),_0x5a1604['_setAttribute']('vid_end',_0x3605a8),this['_touched']['set'](_0x272bb0,{'userId':_0x522d2f}),this['_touched']['set'](_0x3605a8,{'userId':_0x522d2f}),_0x4b84e1['_execute']();}['_handleSplitOperation'](_0x5a966b){const _0x5a75f3=null===(_0x5a966b=this['_cloneOperation'](_0x5a966b,this['_idsRoots']))['_authorId']?null:_0x5a966b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5ab50e=_0x5a966b['graveyardPosition'],_0x128ff8=_0x5a966b['splitPosition']['parent'];_0x5a966b['_execute']();const _0x4949ad=_0x128ff8['getAttribute']('vid_end'),_0x13a5b7=_0x5a966b['insertionPosition']['nodeAfter'];if(_0x5ab50e){const _0x18b6fa=_0x13a5b7['getAttribute']('vid_end'),_0x1d7275=_0x128ff8['getAttribute']('vid_end');_0x128ff8['_setAttribute']('vid_end',_0x18b6fa),_0x13a5b7['_setAttribute']('vid_end',_0x1d7275),this['_touched']['set'](_0x128ff8['getAttribute']('vid_end'),{'userId':_0x5a75f3}),this['_touched']['set'](_0x13a5b7['getAttribute']('vid_start'),{'userId':_0x5a75f3});}else{const _0x5ccd57=this['_revisionId']++,_0x53d41d=this['_revisionId']++;_0x128ff8['_setAttribute']('vid_end',_0x5ccd57),_0x13a5b7['_setAttribute']('vid_start',_0x53d41d),_0x13a5b7['_setAttribute']('vid_end',_0x4949ad),this['_touched']['set'](_0x5ccd57,{'userId':_0x5a75f3}),this['_touched']['set'](_0x53d41d,{'userId':_0x5a75f3});}}['_handleMarkerOperation'](_0x14191f){if(!_0x14191f['affectsData'])return;const _0x1e7ce2=(_0x14191f=this['_cloneOperation'](_0x14191f,this['_diffRoots']))['oldRange']?_0x14191f['oldRange']['root']:null,_0x293f72=_0x14191f['newRange']?_0x14191f['newRange']['root']:null;_0x1e7ce2&&this['_markers']['delete'](_0x14191f['name']),_0x293f72&&this['_markers']['set'](_0x14191f['name'],_0x14191f['newRange']['clone']());const _0x517649=null===_0x14191f['_authorId']?null:_0x14191f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xc6f438=_0x14191f['name'];if(!this['_touchedMarkers']['has'](_0xc6f438))return void this['_touchedMarkers']['set'](_0xc6f438,{'range':_0x14191f['oldRange'],'userId':_0x517649});const _0x11aa91=this['_touchedMarkers']['get'](_0xc6f438),_0x520f3a=_0x11aa91['range'],_0x5c0c6b=_0x14191f['newRange'];null==_0x520f3a&&null==_0x5c0c6b||_0x520f3a&&_0x5c0c6b&&_0x520f3a['isEqual'](_0x5c0c6b)?this['_touchedMarkers']['delete'](_0x14191f['name']):_0x11aa91['userId']=_0x517649;}['_handleRootOperation'](_0x45e94d,_0x374bc2){this['_diffRoots']['has'](_0x45e94d['rootName'])?this['_diffRoots']['get'](_0x45e94d['rootName'])['_isAttached']=_0x45e94d['isAdd']:(this['_diffRoots']['set'](_0x45e94d['rootName'],G(_0x45e94d['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x45e94d['rootName'],{}),_0x374bc2&&this['_idsRoots']['set'](_0x45e94d['rootName'],G(_0x45e94d['rootName'],!0x0)));const _0x4a303d=null===_0x45e94d['_authorId']?null:_0x45e94d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x159d65=this['_touchedRoots']['get'](_0x45e94d['rootName']);_0x159d65&&_0x159d65['userId']===_0x4a303d?this['_touchedRoots']['delete'](_0x45e94d['rootName']):this['_touchedRoots']['set'](_0x45e94d['rootName'],{'userId':_0x4a303d,'isAttached':_0x45e94d['isAdd']});}['_handleRootAttributeOperation'](_0x46a5ef){const _0x264e71=this['_diffRootsAttributes']['get'](_0x46a5ef['root']['rootName']);null===_0x46a5ef['newValue']?delete _0x264e71[_0x46a5ef['key']]:_0x264e71[_0x46a5ef['key']]=_0x46a5ef['newValue'];}}function q(_0x10340a){const _0x1284b3=G(_0x10340a['rootName'],_0x10340a['isAttached']());for(const _0x448385 of _0x10340a['getChildren']()){const _0x2f817e=_0x448385['_clone'](!0x0);_0x1284b3['_appendChild'](_0x2f817e);}return _0x1284b3;}function G(_0x224742,_0x5c3c03=!0x0){const _0x102b15=new wt();return _0x102b15['rootName']=_0x224742,_0x102b15['_isAttached']=_0x5c3c03,_0x102b15['isAttached']=()=>_0x102b15['_isAttached'],_0x102b15;}function L(_0xe1bb5f,_0x35bfab,_0x3253ef){const _0x52d05c='elementEnd'==_0xe1bb5f['type']?_0x3253ef['createPositionAt'](_0xe1bb5f['item'],'end'):_0x3253ef['createPositionBefore'](_0xe1bb5f['item']);return _0x3253ef['createPositionFromPath'](_0x35bfab,_0x52d05c['path'],_0x52d05c['stickiness']);}function W(_0x138128,_0x5d59d9,_0xd960c9){const _0x1e7229='elementStart'==_0x138128['type']?_0xd960c9['createPositionAt'](_0x138128['item'],0x0):_0xd960c9['createPositionAfter'](_0x138128['item']);return _0xd960c9['createPositionFromPath'](_0x5d59d9,_0x1e7229['path'],_0x1e7229['stickiness']);}class ns extends _0x10f811{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x227f53,_0x31e918){super(_0x227f53),this['focusTracker']=new _0x47aa2(),this['keystrokes']=new _0x1e635a(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x31e918),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'](),_0x5b31b2({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3f212f=_0x3d458f=>_0x3d458f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3f212f),this['keystrokes']['set']('arrowleft',_0x3f212f),this['keystrokes']['set']('arrowup',_0x3f212f),this['keystrokes']['set']('arrowdown',_0x3f212f);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x35af8c){this['revisionNameInputView']['fieldView']['element']['value']=_0x35af8c['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x5f190d){const _0x2dcd76=new at(this['locale'],_0x3dce06),_0x244dbf=_0x2dcd76['fieldView'];_0x244dbf['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xefadb5=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x5f190d&&(_0xefadb5+='\x20('+y(this['locale'],'optional')+')'),(_0x2dcd76['label']=_0xefadb5,_0x244dbf['on']('input',()=>{this['revisionNameInputValue']=_0x244dbf['element']['value']['trim']();}),_0x2dcd76);}}class u extends _0x6c42b7{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x2413bd=this['editor'],_0xd5c65d=_0x2413bd['plugins']['get']('RevisionTracker');_0x2413bd['ui']['componentFactory']['add']('revisionHistory',_0x21e622=>{const _0x2b0751=_0x372cd7(_0x21e622),_0x32fcf0=_0x2b0751['panelView']['children'],_0x404738=new te(_0x21e622),_0x5d003f=new _0x14b2aa(_0x21e622),_0x2c3ae6=new _0x55b2f4(_0x21e622),_0x32e4dc=new _0x14b2aa(_0x21e622),_0xb7918=new _0x55b2f4(_0x21e622);return _0x2b0751['bind']('isEnabled')['to'](_0xd5c65d,'isReady',_0xd5c65d,'isEnabled',_0x2413bd,'isReadOnly',(_0x5b2c39,_0x5f309f,_0x393987)=>_0x5b2c39&&_0x5f309f&&!_0x393987),_0x2b0751['buttonView']['set']({'icon':_0x5c300c['history'],'label':y(_0x21e622,'Revision\x20history'),'tooltip':!0x0}),_0x2c3ae6['set']({'label':y(_0x21e622,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x2c3ae6['bind']('isEnabled')['to'](_0xd5c65d,'isReady',_0xd5c65d,'isEnabled',_0x2413bd,'isReadOnly',(_0x2613ea,_0x16995f,_0x36edff)=>_0x2613ea&&_0x16995f&&!_0x36edff),_0x2c3ae6['on']('execute',()=>this['_showDialog']()),_0xb7918['set']({'label':y(_0x21e622,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0xb7918['bind']('isEnabled')['to'](_0xd5c65d,'isReady',_0x2413bd,'isReadOnly',(_0xe8d417,_0x2e535d)=>_0xe8d417&&!_0x2e535d),_0xb7918['on']('execute',()=>{_0x2413bd['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x2b0751['isOpen']=!0x1,_0x2413bd['editing']['view']['focus']();}),_0x5d003f['children']['add'](_0x2c3ae6),_0x32e4dc['children']['add'](_0xb7918),_0x404738['role']='menu',_0x404738['items']['addMany']([_0x5d003f,_0x32e4dc]),_0x32fcf0['add'](_0x404738),_0x2b0751;}),_0x2413bd['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x456f5a=this['editor'],_0x5bdcec=_0x456f5a['locale'],_0x27d3ce=new _0x4ab074(_0x5bdcec),_0x1476b8=new _0x35b9c6(_0x5bdcec);_0x27d3ce['buttonView']['set']({'icon':_0x5c300c['history'],'label':y(_0x5bdcec,'Revision\x20history')});const _0x38431b=new _0x12a026(_0x5bdcec,_0x27d3ce),_0x53a48e=new _0x2226ec(_0x5bdcec);_0x53a48e['set']({'label':y(_0x5bdcec,'Save\x20current\x20revision')}),_0x53a48e['delegate']('execute')['to'](_0x27d3ce),_0x53a48e['on']('execute',()=>{this['_showDialog']();}),_0x38431b['children']['add'](_0x53a48e),_0x1476b8['items']['add'](_0x38431b);const _0x34b72d=new _0x12a026(_0x5bdcec,_0x27d3ce),_0x44db0d=new _0x2226ec(_0x5bdcec);return _0x44db0d['set']({'label':y(_0x5bdcec,'Open\x20revision\x20history')}),_0x44db0d['delegate']('execute')['to'](_0x27d3ce),_0x44db0d['on']('execute',()=>{_0x456f5a['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x34b72d['children']['add'](_0x44db0d),_0x1476b8['items']['add'](_0x34b72d),_0x27d3ce['panelView']['children']['add'](_0x1476b8),_0x27d3ce;}['_showDialog'](){const _0x32a898=this['editor'],_0x4a1094=_0x32a898['locale'],t=_0x4a1094['t'],_0x50478c=_0x32a898['plugins']['get']('Dialog'),_0x243cd8=_0x32a898['plugins']['get']('RevisionTracker');function _0x5adfa3(_0x2c4b76){_0x32a898['config']['get']('revisionHistory.requireRevisionName')&&''===_0x2c4b76['revisionName']?_0x2c4b76['revisionNameInputView']['errorText']=y(_0x4a1094,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x32a898['plugins']['get'](l)['saveRevision']({'name':_0x2c4b76['revisionName']}),_0x50478c['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5adfa3(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x50478c['show']({'id':'revisionSave','title':y(_0x4a1094,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x50478c['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x51c9c4){_0x51c9c4['bind']('isEnabled')['to'](_0x243cd8,'isReady',_0x243cd8,'isEnabled',_0x32a898,'isReadOnly',(_0x15fe83,_0x302e34,_0x336bbb)=>_0x15fe83&&_0x302e34&&!_0x336bbb);},'onExecute':()=>_0x5adfa3(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x8bbac2=this['editor'],_0x372974=_0x8bbac2['locale'];this['_saveRevisionFormView']=new ns(_0x372974,_0x8bbac2['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x10f811{['changeId'];['_model'];constructor(_0x1157ae,_0x43653c){super(_0x1157ae),this['_model']=_0x43653c,this['changeId']=_0x43653c['id'];const _0x3618ed=this['bindTemplate'],_0x448efa=y(_0x1157ae,_0x43653c['data']['isSuggestion']?'Suggested\x20by':'add'==_0x43653c['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x43653c['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3618ed['to']('type',_0x4acf37=>'ck-revision-change__'+_0x4acf37)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x448efa}]},{'text':'\x20'+_0x43653c['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x12f4af(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x511689){super(),this['id']=_0x511689['id']||_0x59ba44(),this['author']=_0x511689['author'],this['type']=_0x511689['type'],this['data']=_0x511689['data']||{},this['rootName']=_0x511689['rootName'],this['set']('createdAt',_0x511689['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(_0x513df8,_0x31f22a){this['newRevisionId']=_0x513df8,this['oldRevisionId']=_0x31f22a,this['changes']=new _0x30789c();}['_setChanges'](_0x185d35){for(const _0x577ebc of _0x185d35)this['changes']['add'](_0x577ebc);}}const tt={'c':_0x4f5f3c,'a':_0x3fb721,'e':_0x30d21a,'r':_0x4056b0,'u':_0x260ad3};class d extends _0x6c42b7{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5c82f8,_0x1579a2,A];}constructor(_0x375d9a){super(_0x375d9a),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',(_0x3a5a41,_0x317542,_0xec0eee)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x15bf92=>{for(const _0x35a193 of this['editor']['editing']['view']['document']['roots'])_0xec0eee?_0x15bf92['removeClass']('ck-editor__editable__overlay',_0x35a193):_0x15bf92['addClass']('ck-editor__editable__overlay',_0x35a193);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x5359ff=>null!==_0x5359ff),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1a764d,_0x2e8708,_0xe7eb2f)=>_0x1a764d&&_0xe7eb2f?_0x2e8708['changes']['getIndex'](_0xe7eb2f):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x49f878,_0x116c4f)=>_0x49f878?_0x116c4f['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x1579a2);}['init'](){const _0xe891a2=this['editor'],_0x47840e=new yt(_0xe891a2,{'direction':'backward'}),_0x133bdb=new yt(_0xe891a2,{'direction':'forward'});(_0xe891a2['commands']['add']('showPreviousChange',_0x47840e),_0xe891a2['commands']['add']('showNextChange',_0x133bdb),_0xe891a2['commands']['add']('restoreRevision',new bt(_0xe891a2)),this['on']('change:numberOfChanges',()=>{_0x47840e['refresh'](),_0x133bdb['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0xe891a2['enableReadOnlyMode']('revision-viewer'),_0xe891a2['plugins']['has']('WidgetToolbarRepository'))&&_0xe891a2['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x473451){await this['loadRevisionData'](_0x473451);const _0x305f0c={};for(const _0x10ab65 in _0x473451['diffData']){if(_0x473451['diffData'][_0x10ab65]['attachChange']&&!_0x473451['diffData'][_0x10ab65]['attachChange']['isAttached'])continue;const _0x32f9a3=this['_removeRevisionMarkers'](JSON['parse'](_0x473451['diffData'][_0x10ab65]['insertions'])),_0x2fcbe5=this['editor']['editing']['view']['document'],_0x3eced0=new _0x1f8b9d(_0x2fcbe5,_0x32f9a3['map'](_0x270a13=>this['_getViewObj'](_0x270a13)));this['editor']['data']['processor']['useFillerType']('marked'),_0x305f0c[_0x10ab65]=this['editor']['data']['processor']['toData'](_0x3eced0),this['editor']['data']['processor']['useFillerType']('default');}return _0x305f0c;}async['getRevisionRootsAttributes'](_0x1081f3){await this['loadRevisionData'](_0x1081f3);const _0x43fd3f={};for(const _0xa63261 in _0x1081f3['diffData'])_0x1081f3['diffData'][_0xa63261]['attachChange']&&!_0x1081f3['diffData'][_0xa63261]['attachChange']['isAttached']||(_0x43fd3f[_0xa63261]=_0x1081f3['diffData'][_0xa63261]['attributesAfter']||{});return _0x43fd3f;}['_removeRevisionMarkers'](_0x18ba20){return(_0x18ba20=_0x18ba20['filter'](_0x8414ee=>!_0x8414ee['name']||'revision-start'!==_0x8414ee['name']&&'revision-end'!==_0x8414ee['name']))['forEach'](_0x57fab3=>{'string'!=typeof _0x57fab3&&(_0x57fab3['children']=this['_removeRevisionMarkers'](_0x57fab3['children']),_0x57fab3['attributes']=_0x57fab3['attributes']['filter'](_0x44ecde=>!_0x44ecde[0x0]['startsWith']('data-revision-')));}),_0x18ba20;}async['compare'](_0x1fdcdc,_0x52cf67,_0x3f24e6=!0x1){if(!this['isEnabled'])return;const _0x3d3e8e=this['diff'],_0x3209aa=this['repository'],_0x4d96c0='string'==typeof _0x1fdcdc?_0x3209aa['getRevision'](_0x1fdcdc):_0x1fdcdc,_0x30fa49='string'==typeof _0x52cf67?_0x3209aa['getRevision'](_0x52cf67):_0x52cf67,_0x2e0657=_0x4d96c0['id'],_0x59bfaf=_0x30fa49?_0x30fa49['id']:null;if(!_0x3f24e6&&this['diff']&&this['diff']['newRevisionId']===_0x2e0657&&this['diff']['oldRevisionId']===_0x59bfaf)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x2e0657,_0x59bfaf);const _0x426ead=this['_getRevisionsRange'](_0x4d96c0,_0x30fa49,!0x0)['map'](_0x1c12cc=>this['loadRevisionData'](_0x1c12cc));return _0x426ead['push'](new Promise(_0x2fddc0=>{setTimeout(_0x2fddc0,0x14);})),Promise['all'](_0x426ead)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x1b6bbe=this['_getDiff'](_0x2e0657,_0x59bfaf);for(const _0x1a849a of _0x1b6bbe['changes'])this['_changeIdToChange']['set'](_0x1a849a['id'],_0x1a849a);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x45bc70=>{for(const _0x407858 of this['editor']['model']['document']['getRootNames']())_0x45bc70['detachRoot'](_0x407858);for(const _0x24e553 of Object['keys'](_0x1b6bbe['model'])){const _0x4ffda7=_0x45bc70['addRoot'](_0x24e553);for(const _0x5e157d of Object['keys'](_0x1b6bbe['attributes'][_0x24e553]))_0x45bc70['setAttribute'](_0x5e157d,_0x1b6bbe['attributes'][_0x24e553][_0x5e157d],_0x4ffda7);_0x45bc70['insert'](_0x1b6bbe['model'][_0x24e553],_0x4ffda7,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x1b6bbe['changes'])),this['isReady']=!0x0;})['catch'](_0x27a298=>{console['error'](_0x27a298),this['_cleanUp'](),_0x3d3e8e&&(this['diff']=_0x3d3e8e),this['isReady']=!0x0;});}['addRevisionData'](_0x24a59f,_0x52533f){const _0x5d983c=this['repository']['createRevision'](_0x24a59f);return _0x5d983c['on']('_update',(_0x17789b,_0x8fc88,_0x3c7ddd)=>_0x52533f(_0x8fc88,_0x3c7ddd,_0x5d983c)),this['repository']['addRevision'](_0x5d983c),_0x5d983c;}['loadRevisionData'](_0x14b4aa){if(!_0x14b4aa||_0x14b4aa['diffData'])return Promise['resolve']();{const _0x4f9fa7=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4f9fa7,'revisionId':_0x14b4aa['id']})['then'](_0x3fa48c=>{_0x14b4aa['_update']({'diffData':_0x3fa48c['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},_0x179d1e=>{for(const _0x3aa4bc of this['editor']['model']['document']['getRootNames']())_0x179d1e['detachRoot'](_0x3aa4bc);});}['_sortAndFilterDiffChanges'](_0x4deb0d){const _0x1ab77b=[],_0x3a02f3=new Map();for(const _0x3a2e0b of this['editor']['model']['document']['getRootNames']()){const _0x3c698e=this['editor']['editing']['view']['getDomRoot'](_0x3a2e0b);if(!_0x3c698e)continue;const _0x53920b=_0x3c698e['getClientRects']()['item'](0x0);_0x53920b&&(_0x1ab77b['push'](_0x3a2e0b),_0x3a02f3['set'](_0x3a2e0b,_0x53920b));}return _0x1ab77b['sort']((_0x7d59e1,_0x204768)=>{const _0x35c731=_0x3a02f3['get'](_0x7d59e1),_0x11da3d=_0x3a02f3['get'](_0x204768);return _0x35c731['y']-_0x11da3d['y']||_0x35c731['x']-_0x11da3d['x'];}),(_0x4deb0d=_0x4deb0d['filter'](_0x49a3a9=>_0x1ab77b['includes'](_0x49a3a9['rootName'])))['sort']((_0x39b481,_0x192991)=>_0x1ab77b['indexOf'](_0x39b481['rootName'])-_0x1ab77b['indexOf'](_0x192991['rootName'])),_0x4deb0d;}['_makeTape'](_0x2b1f2f){const _0x5410f2=Array['from'](_0x2b1f2f['markers'])['filter'](([_0x1486f3,_0x462b35])=>_0x1486f3['startsWith']('revision:')&&!_0x462b35['isCollapsed']),_0x36aba7=Array['from'](this['editor']['model']['createRangeIn'](_0x2b1f2f)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5410f2['length'])for(const _0x25e4a0 of _0x36aba7){const [_0x27deb9,_0x1a517a]=_0x5410f2[0x0],[,_0xa7f223,_0x2b2d43]=_0x27deb9['split'](':');if(_0x1a517a['end']['isEqual'](_0x25e4a0['nextPosition'])&&_0x5410f2['shift'](),(_0x25e4a0['previousPosition']['isEqual'](_0x1a517a['start'])||_0x25e4a0['previousPosition']['isAfter'](_0x1a517a['start']))&&('insertion'==_0xa7f223?_0x25e4a0['isAdded']={'userId':_0x2b2d43}:'deletion'==_0xa7f223&&(_0x25e4a0['isRemoved']={'userId':_0x2b2d43})),0x0==_0x5410f2['length'])break;}return _0x36aba7;}['_refreshStartEndIndex'](_0x35b427){const _0x8029af=new Map();for(let _0x540073=0x0;_0x540073<_0x35b427['length'];_0x540073++)'text'===_0x35b427[_0x540073]['type']?(_0x35b427[_0x540073]['item']['startIndex']=_0x540073,_0x35b427[_0x540073]['item']['endIndex']=_0x540073):('elementStart'===_0x35b427[_0x540073]['type']?_0x35b427[_0x540073]['item']['startIndex']=_0x540073:'elementEnd'===_0x35b427[_0x540073]['type']&&(_0x35b427[_0x540073]['item']['endIndex']=_0x540073),_0x8029af['set'](_0x35b427[_0x540073]['id'],_0x540073));for(const _0x261677 of _0x8029af['values']())'elementStart'===_0x35b427[_0x261677]['type']?_0x35b427[_0x261677]['item']['endIndex']=_0x8029af['get'](_0x35b427[_0x261677]['pairId']):'elementEnd'===_0x35b427[_0x261677]['type']&&(_0x35b427[_0x261677]['item']['startIndex']=_0x8029af['get'](_0x35b427[_0x261677]['pairId']));}['_processTape'](_0x5f2405){for(let _0x4df91a=0x0;_0x4df91a<_0x5f2405['length'];_0x4df91a++){if('elementStart'===_0x5f2405[_0x4df91a]['type'])_0x5f2405[_0x4df91a]['item']['startIndex']=_0x4df91a;else{if('elementEnd'===_0x5f2405[_0x4df91a]['type']){_0x5f2405[_0x4df91a]['item']['endIndex']=_0x4df91a;const _0x19a698=_0x5f2405[_0x4df91a]['item']['startIndex'];_0x5f2405[_0x19a698]['pairId']=_0x5f2405[_0x4df91a]['id'],_0x5f2405[_0x4df91a]['pairId']=_0x5f2405[_0x19a698]['id'];}else _0x5f2405[_0x4df91a]['item']['startIndex']=_0x4df91a,_0x5f2405[_0x4df91a]['item']['endIndex']=_0x4df91a,_0x5f2405[_0x4df91a]['pairId']=null;}_0x5f2405[_0x4df91a]['markersStart']||(_0x5f2405[_0x4df91a]['markersStart']=[],_0x5f2405[_0x4df91a]['markersEnd']=[]);}}['_markInsertions'](_0x496502,_0x523fe6){const _0x44e998=_0x496502['filter'](_0xb631e1=>!_0xb631e1['isAdded']);for(let _0x5cc2c2=0x0;_0x5cc2c2<_0x523fe6['length'];_0x5cc2c2++)_0x523fe6[_0x5cc2c2]['isAdded']&&(_0x44e998[_0x5cc2c2]['isAdded']=_0x523fe6[_0x5cc2c2]['isAdded']);}['_makeModelFromViewString'](_0x469493){const _0xb89fd6=JSON['parse'](_0x469493),_0xb3e01c=this['editor']['editing']['view']['document'],_0x1f8a4a=new _0x1f8b9d(_0xb3e01c,_0xb89fd6['map'](_0x471a49=>this['_getViewObj'](_0x471a49)));return this['editor']['data']['toModel'](_0x1f8a4a);}['_getViewObj'](_0x5ee2ff){const _0x3803c0=this['editor']['editing']['view']['document'];if('string'==typeof _0x5ee2ff)return new _0x3ddc20(_0x3803c0,_0x5ee2ff);{const _0x42a102=_0x5ee2ff['children']['map'](_0x666d1a=>this['_getViewObj'](_0x666d1a));return new(tt[_0x5ee2ff['type']]||_0x22bfd8)(_0x3803c0,_0x5ee2ff['name'],_0x5ee2ff['attributes'],_0x42a102);}}['_getDiff'](_0x552f38,_0x47c3c5=null){const _0x42e1af=this['repository']['getRevision'](_0x552f38),_0x1f6454=_0x47c3c5?this['repository']['getRevision'](_0x47c3c5):null,_0x3e4e23=this['_getRevisionsRange'](_0x42e1af,_0x1f6454),_0x4a73d7=_0x3e4e23[_0x3e4e23['length']-0x1],_0x1a14bb=new Map(),_0x4933b6={'model':{},'attributes':{},'changes':[]},_0x4a5557=new Set(),_0x3ceada=new Map();for(let _0x2b34c6=_0x3e4e23['length']-0x1;_0x2b34c6>=0x0;_0x2b34c6--){const _0x2548f3=_0x3e4e23[_0x2b34c6];for(const _0x2cbbde of Object['keys'](_0x2548f3['diffData']))if(_0x2548f3['diffData'][_0x2cbbde]['attachChange']){const _0x547fda=_0x2548f3['diffData'][_0x2cbbde]['attachChange'];_0x547fda['isAttached']?(_0x4a5557['add'](_0x2cbbde),_0x3ceada['has'](_0x2cbbde)&&_0x3ceada['get'](_0x2cbbde)['userId']==_0x547fda['userId']?_0x3ceada['delete'](_0x2cbbde):_0x3ceada['set'](_0x2cbbde,_0x547fda)):_0x3ceada['has'](_0x2cbbde)?(_0x4a5557['delete'](_0x2cbbde),_0x3ceada['delete'](_0x2cbbde)):(_0x4a5557['add'](_0x2cbbde),_0x3ceada['set'](_0x2cbbde,_0x547fda));}else _0x4a5557['add'](_0x2cbbde);}for(const _0x53fde3 of _0x4a5557){const _0x1a7624=_0x3ceada['has'](_0x53fde3)&&!_0x3ceada['get'](_0x53fde3)['isAttached'];let _0x33ffe4=_0x1a7624?_0x3e4e23['length']-0x1:0x0;const _0x5b745c=_0x1a7624?-0x1:0x1;for(;_0x3e4e23[_0x33ffe4];){const _0x46a506=_0x3e4e23[_0x33ffe4];if(_0x46a506['diffData'][_0x53fde3]){const _0x4fc333=_0x1a7624?_0x46a506['diffData'][_0x53fde3]['attributesBefore']:_0x46a506['diffData'][_0x53fde3]['attributesAfter'];_0x4933b6['attributes'][_0x53fde3]=_0x4fc333?_0x250b31(_0x4fc333):{};break;}_0x33ffe4+=_0x5b745c;}}for(const _0x323706 of _0x3e4e23){_0x323706['model']={};for(const _0x196e1f of _0x323706['authors'])_0x1a14bb['set'](_0x196e1f['id'],_0x196e1f);for(const _0x37cc2c of _0x4a5557){const _0x38c2e9=_0x323706['diffData'][_0x37cc2c]?_0x323706['diffData'][_0x37cc2c]['insertions']:'[]',_0x2122d3=_0x323706['diffData'][_0x37cc2c]?_0x323706['diffData'][_0x37cc2c]['deletions']:'[]';_0x323706['model'][_0x37cc2c]={'insertions':this['_makeModelFromViewString'](_0x38c2e9),'deletions':this['_makeModelFromViewString'](_0x2122d3)};}}for(const _0x39706a of _0x4a5557){let _0x3969c9=null,_0x598ba9=0x0;const _0x4fbaed=new Map(Array['from'](_0x42e1af['model'][_0x39706a]['insertions']['markers'])['filter'](([_0x2eb517])=>!_0x2eb517['startsWith']('revision:')));let _0x4b3701=0x0;for(const _0x24a0dd of _0x3e4e23){const _0x4479bb=this['_makeTape'](_0x24a0dd['model'][_0x39706a]['insertions']);_0x24a0dd==_0x42e1af?(_0x3969c9=_0x4479bb,_0x598ba9=_0x3969c9['length'],_0x3969c9['forEach'](_0x51f75e=>{_0x51f75e['id']=_0x4b3701++;}),this['_processTape'](_0x3969c9)):this['_markInsertions'](_0x3969c9,_0x4479bb);const _0x492d7b=_0x3969c9['filter'](_0xad2b7a=>!_0xad2b7a['isAdded'])['map'](_0x1bfe51=>_0x1bfe51['id']);let _0x2cab79=0x0;const _0x13f9c7=this['_makeTape'](_0x24a0dd['model'][_0x39706a]['deletions']);_0x13f9c7['forEach'](_0x40af5c=>{_0x40af5c['isRemoved']?_0x40af5c['id']=_0x598ba9++:_0x40af5c['id']=_0x492d7b[_0x2cab79++];}),this['_processTape'](_0x13f9c7),this['_setDistance'](_0x3969c9,'isAdded'),this['_setDistance'](_0x13f9c7,'isRemoved'),_0x24a0dd==_0x42e1af&&this['_markMarkers'](_0x3969c9,_0x4fbaed),_0x3969c9=this['_joinTapes'](_0x3969c9,_0x13f9c7),this['_refreshStartEndIndex'](_0x3969c9),this['_setDistance'](_0x3969c9,'isRemoved');}_0x3969c9=_0x3969c9['filter'](_0x5a08d6=>!(_0x5a08d6['isAdded']&&_0x5a08d6['isRemoved']));const _0x25e44=new Map(_0x4a73d7['model'][_0x39706a]['deletions']['markers']),_0x38df21=new Set(_0x4fbaed['keys']());for(const _0x354092 of _0x25e44['keys']())_0x38df21['delete'](_0x354092);this['_markSuggestions'](_0x3969c9,_0x38df21),this['_fixObsoleteTags'](_0x3969c9),_0x3969c9=this['_removeMissingPairs'](_0x3969c9),_0x3969c9=this['_markMismatchedRemovedTags'](_0x3969c9),_0x3969c9=this['_removeUnsupportedChanges'](_0x3969c9);const {root:_0x22f5bc,changes:_0x168ce6}=this['_makeModelFromTape'](_0x3969c9,_0x1a14bb,_0x39706a);_0x4933b6['model'][_0x39706a]=_0x22f5bc;const _0x5a40ae=_0x3ceada['get'](_0x39706a);if(_0x5a40ae){const _0x93f134=_0x1a14bb['get'](_0x5a40ae['userId']),_0x5a7f5b=new r({'author':_0x93f134,'type':_0x5a40ae['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x39706a});_0x168ce6['unshift'](_0x5a7f5b),_0x4933b6['attributes'][_0x39706a]['revisionHistoryAttachChange']=_0x5a7f5b['id'];}_0x4933b6['changes']=_0x4933b6['changes']['concat'](_0x168ce6);}return _0x4933b6;}['_markMarkers'](_0x1646a1,_0x4a73a2){for(let _0x80d73a=0x0;_0x80d73a<_0x1646a1['length'];_0x80d73a++)for(const [_0x2d4bbe,_0x5d221b]of _0x4a73a2)_0x5d221b['start']['isEqual'](_0x1646a1[_0x80d73a]['previousPosition'])&&_0x1646a1[_0x80d73a]['markersStart']['push'](_0x2d4bbe),_0x5d221b['end']['isEqual'](_0x1646a1[_0x80d73a]['nextPosition'])&&_0x1646a1[_0x80d73a]['markersEnd']['push'](_0x2d4bbe);}['_joinTapes'](_0x25b102,_0x5967d7){let _0x5252fa=[],_0x4eab75=0x0,_0x1078bb=0x0;for(;_0x4eab75<_0x25b102['length']||_0x1078bb<_0x5967d7['length'];){const _0x2d8a26=_0x25b102[_0x4eab75]||{},_0x322b65=_0x5967d7[_0x1078bb]||{};if(_0x2d8a26['id']==_0x322b65['id'])_0x4eab75++,_0x1078bb++,_0x5252fa['push'](_0x2d8a26);else{if(_0x322b65['isRemoved']&&_0x2d8a26['isAdded']){const {commonTape:_0x9bafd5,iEnd:_0xa6fc60,jEnd:_0x3b62a9}=this['_threeWayMerge'](_0x25b102,_0x4eab75,_0x5967d7,_0x1078bb);_0x5252fa=_0x5252fa['concat'](_0x9bafd5),_0x4eab75=_0xa6fc60,_0x1078bb=_0x3b62a9;}else _0x322b65['isRemoved']?(_0x1078bb++,_0x5252fa['push'](_0x322b65)):(_0x4eab75++,_0x5252fa['push'](_0x2d8a26));}}return _0x5252fa;}['_markSuggestions'](_0x5771e8,_0x33e71b){const _0x464b84=[];for(let _0x134bf4=0x0;_0x134bf4<_0x5771e8['length'];_0x134bf4++){for(let _0x1be365=0x0;_0x1be365<_0x5771e8[_0x134bf4]['markersStart']['length'];_0x1be365++){const _0x2438cd=_0x5771e8[_0x134bf4]['markersStart'][_0x1be365];if(!_0x33e71b['has'](_0x2438cd))continue;const {group:_0xb43ca5,type:_0x517a9f,authorId:_0x9c3385}=_0x309302(_0x2438cd);'revision-suggestion'!=_0xb43ca5||'insertion'!=_0x517a9f&&'deletion'!=_0x517a9f||(_0x464b84['unshift']({'type':_0x517a9f,'name':_0x2438cd,'userId':_0x9c3385}),_0x5771e8[_0x134bf4]['markersStart']['splice'](_0x1be365,0x1),_0x1be365--);}_0x5536ba(_0x5771e8[_0x134bf4]);for(let _0x4f9e16=0x0;_0x4f9e16<_0x5771e8[_0x134bf4]['markersEnd']['length'];_0x4f9e16++){const _0xbda5f=_0x5771e8[_0x134bf4]['markersEnd'][_0x4f9e16];if(!_0x33e71b['has'](_0xbda5f))continue;const {group:_0x9f309e,type:_0x4e05fa}=_0x309302(_0xbda5f);if('revision-suggestion'!=_0x9f309e||'insertion'!=_0x4e05fa&&'deletion'!=_0x4e05fa)continue;_0x5771e8[_0x134bf4]['markersEnd']['splice'](_0x4f9e16,0x1),_0x4f9e16--;const _0x29cdec=_0x464b84['findIndex'](_0x5a9fa6=>_0x5a9fa6['name']==_0xbda5f);_0x29cdec>-0x1&&_0x464b84['splice'](_0x29cdec,0x1);}}function _0x309302(_0x59cc04){const _0x171805=_0x59cc04['split'](':');return{'group':_0x171805[0x0],'type':_0x171805[0x1],'subType':_0x171805['length']>=0x5?_0x171805[0x2]:null,'id':_0x171805['length']<0x5?_0x171805[0x2]:_0x171805[0x3],'authorId':_0x171805['length']<0x5?_0x171805[0x3]:_0x171805[0x4],'markerCount':0x6==_0x171805['length']?_0x171805[0x5]:null};}function _0x5536ba(_0x3200dc){for(let _0x51905e=0x0;_0x51905e<_0x464b84['length'];_0x51905e++){if(_0x3200dc['isAdded']&&'insertion'==_0x464b84[_0x51905e]['type'])return _0x3200dc['isAddSuggestion']=_0x464b84[_0x51905e],void delete _0x3200dc['isAdded'];if(!_0x3200dc['isAdded']&&!_0x3200dc['isRemoved']&&'deletion'==_0x464b84[_0x51905e]['type'])return void(_0x3200dc['isRemoveSuggestion']=_0x464b84[_0x51905e]);}}}['_setDistance'](_0x4e71d1,_0x2558ff){let _0x538688=0x0,_0x297f6f=!0x1;const _0x2c2172=new Map();for(const _0x549772 of _0x4e71d1)_0x549772[_0x2558ff]?_0x297f6f&&(_0x538688++,_0x297f6f=!0x1):(_0x538688++,_0x297f6f=!0x0),_0x2c2172['set'](_0x549772['id'],_0x538688);for(let _0x384196=0x0;_0x384196<_0x4e71d1['length'];_0x384196++){if('isRemoved'==_0x2558ff&&_0x4e71d1[_0x384196]['isAdded']||'isAdded'==_0x2558ff&&_0x4e71d1[_0x384196]['isRemoved'])continue;if('text'==_0x4e71d1[_0x384196]['type']){_0x4e71d1[_0x384196]['distance']=0x0;continue;}const _0x37f9c3=_0x2c2172['get'](_0x4e71d1[_0x384196]['pairId']),_0x46e06a=_0x2c2172['get'](_0x4e71d1[_0x384196]['id']);_0x4e71d1[_0x384196]['distance']=_0x37f9c3-_0x46e06a;}}['_getRevisionsRange'](_0x5e56c1,_0x11dcef,_0x25cbc2=!0x1){const _0x393b22=[];let _0x700fd=this['repository']['getIndex'](_0x5e56c1),_0x4525d7=this['repository']['getIndex'](_0x11dcef);for(-0x1==_0x4525d7&&(_0x4525d7=this['repository']['_revisions']['length'],_0x25cbc2=!0x1);_0x700fd<_0x4525d7;)_0x393b22['push'](this['repository']['getRevision'](_0x700fd)),_0x700fd++;return _0x25cbc2&&_0x393b22['push'](this['repository']['getRevision'](_0x700fd)),_0x393b22;}['_threeWayMerge'](_0x3eeb09,_0x1c3d48,_0x5f57ac,_0x1f7f95){const _0x4195a5=this['editor']['model']['schema'];let _0x15e52e=_0x1c3d48;for(;_0x3eeb09[_0x15e52e]&&_0x3eeb09[_0x15e52e]['isAdded'];)_0x15e52e++;let _0x57fe3e=_0x1f7f95;for(;_0x5f57ac[_0x57fe3e]&&_0x5f57ac[_0x57fe3e]['isRemoved'];)_0x57fe3e++;_0x88bd1d(_0x3eeb09,_0x1c3d48,_0x15e52e),_0x88bd1d(_0x5f57ac,_0x1f7f95,_0x57fe3e);const _0x3c17bb=_0x5f57ac['slice'](_0x1f7f95,_0x57fe3e)['concat'](_0x3eeb09['slice'](_0x1c3d48,_0x15e52e));return _0x3c17bb['sort']((_0x120ecc,_0x4f8673)=>_0x120ecc['side']!=_0x4f8673['side']?_0x120ecc['side']-_0x4f8673['side']:_0x120ecc['level']!=_0x4f8673['level']?_0x120ecc['level']-_0x4f8673['level']:_0x120ecc['distance']!=_0x4f8673['distance']?_0x4f8673['distance']-_0x120ecc['distance']:!!_0x120ecc['isAdded']!=!!_0x4f8673['isAdded']?-0x1==_0x120ecc['side']||0x0==_0x120ecc['side']?_0x120ecc['isAdded']?-0x1:0x1:_0x120ecc['isAdded']?0x1:-0x1:_0x120ecc['index']-_0x4f8673['index']),{'commonTape':_0x3c17bb,'iEnd':_0x15e52e,'jEnd':_0x57fe3e};function _0x88bd1d(_0x4b553a,_0x5525ae,_0xebaa66){let _0x9c30d7=-0x1,_0x20ab0f=Number['POSITIVE_INFINITY'],_0x51a261=!0x0;for(let _0x348c23=_0x5525ae;_0x348c23<_0xebaa66;_0x348c23++)if(_0x4195a5['isInline'](_0x4b553a[_0x348c23]['item'])||(_0x51a261=!0x1),_0x4b553a[_0x348c23]['item']['startIndex']<_0x5525ae&&(_0x9c30d7=_0x348c23),_0x4b553a[_0x348c23]['item']['endIndex']>=_0xebaa66){_0x20ab0f=_0x348c23;break;}_0x51a261&&(_0x9c30d7=_0xebaa66-0x1);for(let _0x1ad745=_0x5525ae;_0x1ad745<_0xebaa66;_0x1ad745++)_0x4b553a[_0x1ad745]['side']=_0x1ad745<=_0x9c30d7?-0x1:_0x1ad745<_0x20ab0f?0x0:0x1,_0x4b553a[_0x1ad745]['index']=_0x1ad745;let _0x2ee372=0x0;for(let _0x2efcb3=_0x5525ae;_0x2efcb3<=_0x9c30d7;_0x2efcb3++)0x0==_0x4b553a[_0x2efcb3]['distance']?_0x4b553a[_0x2efcb3]['level']=_0x2ee372:(_0x2ee372++,_0x4b553a[_0x2efcb3]['level']=_0x2ee372,_0x2ee372++);for(let _0x364792=_0x5525ae;_0x364792<_0xebaa66;_0x364792++)0x0==_0x4b553a[_0x364792]['side']&&(_0x4b553a[_0x364792]['level']=_0x2ee372);_0x2ee372=0x0;for(let _0x376a78=_0xebaa66-0x1;_0x376a78>=_0x20ab0f;_0x376a78--)0x0==_0x4b553a[_0x376a78]['distance']?_0x4b553a[_0x376a78]['level']=_0x2ee372:(_0x2ee372--,_0x4b553a[_0x376a78]['level']=_0x2ee372,_0x2ee372--);}}['_fixObsoleteTags'](_0x1f00c7){const _0x4d7781=new Map(),_0xbc6cad=this['editor']['model']['schema'];for(let _0x47a908=0x1;_0x47a908<_0x1f00c7['length'];_0x47a908++){let _0x5cf56a,_0x8b1475,_0x40e367;const _0x1005b1=_0x1f00c7[_0x47a908],_0x4a42bb=_0x1f00c7[_0x47a908-0x1];if('text'==_0x1005b1['type'])continue;if(_0x1005b1['type']!=_0x4a42bb['type'])continue;if(!_0xbc6cad['isBlock'](_0x4a42bb['item'])||_0xbc6cad['isLimit'](_0x4a42bb['item']))continue;if(!_0xbc6cad['isBlock'](_0x1005b1['item'])||_0xbc6cad['isLimit'](_0x1005b1['item']))continue;if((_0x1f00c7[_0x47a908]['isAdded']||_0x1f00c7[_0x47a908]['isAddSuggestion'])&&_0x1f00c7[_0x47a908-0x1]['isRemoved'])_0x5cf56a=_0x1f00c7[_0x47a908],_0x8b1475=_0x1f00c7[_0x47a908-0x1],_0x40e367=_0x47a908-0x1;else{if(!_0x1f00c7[_0x47a908]['isRemoved']||!_0x1f00c7[_0x47a908-0x1]['isAdded']&&!_0x1f00c7[_0x47a908-0x1]['isAddSuggestion'])continue;_0x5cf56a=_0x1f00c7[_0x47a908-0x1],_0x8b1475=_0x1f00c7[_0x47a908],_0x40e367=_0x47a908;}const _0x124d2f=_0x5cf56a['level']==_0x8b1475['level'],_0x4dd77f=Math['abs'](_0x5cf56a['level'])<Math['abs'](_0x8b1475['level'])&&0x0==_0x8b1475['distance'];(_0x124d2f||_0x4dd77f)&&(_0x4d7781['set'](_0x8b1475['id'],_0x5cf56a['id']),_0x1f00c7['splice'](_0x40e367,0x1),_0x47a908--,_0x5cf56a['isAdded']=!0x1);}for(let _0x2a3175=0x0;_0x2a3175<_0x1f00c7['length'];_0x2a3175++)_0x4d7781['has'](_0x1f00c7[_0x2a3175]['pairId'])&&(_0x1f00c7[_0x2a3175]['pairId']=_0x4d7781['get'](_0x1f00c7[_0x2a3175]['pairId']));}['_removeMissingPairs'](_0x332402){const _0x49ca62=new Set(_0x332402['map'](_0xec77bf=>_0xec77bf['id']));for(let _0x480109=0x0;_0x480109<_0x332402['length'];_0x480109++)_0x49ca62['has'](_0x332402[_0x480109]['pairId'])||0x0==_0x332402[_0x480109]['distance']||(_0x332402[_0x480109]['isIncorrect']=!0x0);return _0x332402['filter'](_0x1bb416=>!_0x1bb416['isIncorrect']);}['_markMismatchedRemovedTags'](_0x14ad8d){const _0x549505=new Set();for(let _0x140e16=0x0;_0x140e16<_0x14ad8d['length'];_0x140e16++){if(_0x549505['has'](_0x14ad8d[_0x140e16]['id'])&&_0x14ad8d[_0x140e16]['isRemoved']&&(_0x14ad8d[_0x140e16]['isIncorrect']=!0x0),_0x14ad8d[_0x140e16]['isIncorrect'])continue;if(0x0==_0x14ad8d[_0x140e16]['distance'])continue;if('elementStart'!=_0x14ad8d[_0x140e16]['type'])continue;if(null==_0x14ad8d[_0x140e16]['pairId'])continue;let _0x525d18=_0x140e16+0x1,_0x39addc=0x0;for(;_0x14ad8d[_0x525d18]['id']!=_0x14ad8d[_0x140e16]['pairId'];)'elementStart'==_0x14ad8d[_0x525d18]['type']?_0x39addc++:'elementEnd'==_0x14ad8d[_0x525d18]['type']&&_0x39addc--,_0x525d18++;if(0x0!=_0x39addc){if(_0x14ad8d[_0x140e16]['isRemoved'])_0x14ad8d[_0x140e16]['isIncorrect']=!0x0;else{for(;_0x525d18!=_0x140e16;)_0x14ad8d[_0x525d18]['isRemoved']&&0x0!=_0x14ad8d[_0x525d18]['distance']&&(_0x14ad8d[_0x525d18]['isIncorrect']=!0x0,_0x549505['add'](_0x14ad8d[_0x525d18]['pairId'])),_0x525d18--;}}}return _0x14ad8d['filter'](_0xa4ed8b=>!_0xa4ed8b['isIncorrect']);}['_removeUnsupportedChanges'](_0x301dfa){const _0x1bd837=this['editor']['model']['schema'];for(let _0x55870a=0x0;_0x55870a<_0x301dfa['length'];_0x55870a++){if(!(_0x301dfa[_0x55870a]['isAdded']||_0x301dfa[_0x55870a]['isAddSuggestion']||_0x301dfa[_0x55870a]['isRemoved']||_0x301dfa[_0x55870a]['isRemoveSuggestion']))continue;if(0x0==_0x301dfa[_0x55870a]['distance'])continue;const _0x38db99=_0x301dfa[_0x55870a]['item'];_0x1bd837['isBlock'](_0x38db99)||_0x1bd837['isLimit'](_0x38db99)||(_0x301dfa[_0x55870a]['isAdded']&&delete _0x301dfa[_0x55870a]['isAdded'],_0x301dfa[_0x55870a]['isAddSuggestion']&&delete _0x301dfa[_0x55870a]['isAddSuggestion'],_0x301dfa[_0x55870a]['isRemoveSuggestion']&&delete _0x301dfa[_0x55870a]['isRemoveSuggestion'],_0x301dfa[_0x55870a]['isRemoved']&&(_0x301dfa[_0x55870a]['isIncorrect']=!0x0));}return _0x301dfa['filter'](_0x5c9c4a=>!_0x5c9c4a['isIncorrect']);}['_makeModelFromTape'](_0x3b6c85,_0x205d27,_0x153724){const _0x14d3a7=new wt(),_0x2921f6=[],_0x2223f6=new Map(),_0xd4108b=this['editor']['model'],_0x8dbc4e=_0xd4108b['schema'],_0x491ff4=[_0x14d3a7],_0x2532a4={},_0x116d57={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4fe499=null;const _0x744b25=[0x0];for(let _0x38854d=0x0;_0x38854d<_0x3b6c85['length'];_0x38854d++){let _0x2169da,_0x3c1321;if('elementStart'===_0x3b6c85[_0x38854d]['type']){_0x2169da=_0xd4108b['createPositionFromPath'](_0x14d3a7,_0x744b25);const _0xeba88b=new ft(_0x3b6c85[_0x38854d]['item']['name'],_0x3b6c85[_0x38854d]['item']['getAttributes']());_0x491ff4[0x0]['_appendChild'](_0xeba88b),_0x744b25['push'](0x0),_0x491ff4['unshift'](_0xeba88b),_0x3c1321=_0xd4108b['createPositionFromPath'](_0x14d3a7,_0x744b25),_0x4fe499=null;}else{if('elementEnd'===_0x3b6c85[_0x38854d]['type'])_0x491ff4['shift'](),_0x2169da=_0xd4108b['createPositionFromPath'](_0x14d3a7,_0x744b25),_0x744b25['pop'](),_0x744b25[_0x744b25['length']-0x1]++,_0x3c1321=_0xd4108b['createPositionFromPath'](_0x14d3a7,_0x744b25),_0x4fe499=null;else{if(_0x2169da=_0xd4108b['createPositionFromPath'](_0x14d3a7,_0x744b25),_0x4fe499&&_0x421306(_0x4fe499,_0x3b6c85[_0x38854d]['item']))_0x4fe499['_data']+=_0x3b6c85[_0x38854d]['item']['data'];else{const _0x38a808=new _t(_0x3b6c85[_0x38854d]['item']['data'],_0x3b6c85[_0x38854d]['item']['getAttributes']());_0x491ff4[0x0]['_appendChild'](_0x38a808),_0x4fe499=_0x38a808;}_0x744b25[_0x744b25['length']-0x1]+=_0x3b6c85[_0x38854d]['item']['offsetSize'],_0x3c1321=_0xd4108b['createPositionFromPath'](_0x14d3a7,_0x744b25);}}for(const _0x2fdfdc of _0x3b6c85[_0x38854d]['markersStart'])_0x2223f6['set'](_0x2fdfdc,{'start':_0x2169da,'end':null});_0x3b13e2('isRemoveSuggestion',_0x38854d,_0x2169da,_0x3c1321),_0x3b13e2('isAddSuggestion',_0x38854d,_0x2169da,_0x3c1321),_0x3b13e2('isRemoved',_0x38854d,_0x2169da,_0x3c1321),_0x3b13e2('isAdded',_0x38854d,_0x2169da,_0x3c1321);for(const _0x28c5eb of _0x3b6c85[_0x38854d]['markersEnd']){_0x2223f6['get'](_0x28c5eb)['end']=_0x3c1321;}}for(const [_0x571ede,_0x565cea]of _0x2223f6){const _0x47f260=this['editor']['model']['createRange'](_0x565cea['start'],_0x565cea['end']);_0x14d3a7['markers']['set'](_0x571ede,_0x47f260);}return _0x2921f6['sort']((_0x4160bd,_0x297d6c)=>{const _0x2a5f56=_0x14d3a7['markers']['get']('revision:'+_0x4160bd['id']),_0x154453=_0x14d3a7['markers']['get']('revision:'+_0x297d6c['id']);return _0x2a5f56['start']['isBefore'](_0x154453['start'])?-0x1:_0x2a5f56['start']['isAfter'](_0x154453['start'])?0x1:_0x2a5f56['end']['isBefore'](_0x154453['end'])?-0x1:_0x2a5f56['end']['isAfter'](_0x154453['end'])?0x1:'add'===_0x4160bd['type']?-0x1:0x1;}),{'root':_0x14d3a7,'changes':_0x2921f6};function _0x3b13e2(_0x25355b,_0x3c5b80,_0x2b2d51,_0x4096b2){const _0x276430=!!_0x3b6c85[_0x3c5b80][_0x25355b],_0x3bae46=_0x276430?_0x3b6c85[_0x3c5b80][_0x25355b]['userId']:null,_0x253ccf=_0x3c5b80===_0x3b6c85['length']-0x1,_0x18a9df=_0x116d57[_0x25355b][0x0],_0x771312=_0x8dbc4e['isObject'](_0x3b6c85[_0x3c5b80]['item']);!_0x2532a4[_0x25355b]&&_0x276430?_0x2532a4[_0x25355b]={'start':_0x2b2d51,'tapeItem':_0x3b6c85[_0x3c5b80],'userId':_0x3bae46,'type':_0x25355b}:_0x2532a4[_0x25355b]&&!_0x276430?(_0x2532a4[_0x25355b]['end']=_0x2b2d51,_0x58e4bd(_0x2532a4[_0x25355b]),_0x2532a4[_0x25355b]=null):_0x2532a4[_0x25355b]&&_0x276430&&_0x2532a4[_0x25355b]['userId']!==_0x3bae46&&(_0x2532a4[_0x25355b]['end']=_0x2b2d51,_0x18a9df&&_0x18a9df['userId']===_0x2532a4[_0x25355b]['userId']||_0x58e4bd(_0x2532a4[_0x25355b]),_0x2532a4[_0x25355b]={'start':_0x2b2d51,'tapeItem':_0x3b6c85[_0x3c5b80],'userId':_0x3bae46,'type':_0x25355b}),_0x2532a4[_0x25355b]&&_0x771312&&('elementStart'!==_0x3b6c85[_0x3c5b80]['type']||_0x18a9df&&_0x18a9df['userId']===_0x3bae46||_0x116d57[_0x25355b]['unshift']({'userId':_0x3bae46,'object':_0x3b6c85[_0x3c5b80]['item'],'change':_0x2532a4[_0x25355b]}),'elementEnd'===_0x3b6c85[_0x3c5b80]['type']&&_0x18a9df&&_0x18a9df['object']===_0x3b6c85[_0x3c5b80]['item']&&(_0x116d57[_0x25355b]['shift'](),_0x2532a4[_0x25355b]=_0x18a9df['change'])),_0x2532a4[_0x25355b]&&_0x253ccf&&(_0x2532a4[_0x25355b]['end']=_0x4096b2,_0x58e4bd(_0x2532a4[_0x25355b]),_0x2532a4[_0x25355b]=null);}function _0x58e4bd({start:_0x3d8272,end:_0xf5338d,tapeItem:_0x5c1c8e,userId:_0x44f86a,type:_0x432bc7}){const _0x312e0a=_0x5c1c8e['item'],_0x5c5aaa=_0xd4108b['schema']['isBlock'](_0x312e0a)&&!_0xd4108b['schema']['isLimit'](_0x312e0a),_0x42d1a7=_0x3d8272['nodeAfter']==_0xf5338d['parent']&&_0xf5338d['isAtStart'];if(_0x5c5aaa&&_0x42d1a7)return;const _0x3715d0=_0xd4108b['createRange'](_0x3d8272,_0xf5338d),_0x2960fb=_0x205d27['get'](_0x44f86a),_0x3488dc=new r({'author':_0x2960fb,'type':'isAdded'==_0x432bc7||'isAddSuggestion'==_0x432bc7?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x432bc7||'isRemoveSuggestion'==_0x432bc7},'createdAt':new Date(),'rootName':_0x153724});_0x2921f6['push'](_0x3488dc),_0x14d3a7['markers']['set']('revision:'+_0x3488dc['id'],_0x3715d0);}function _0x421306(_0xeaf32b,_0x13e281){const _0x101aeb=_0xeaf32b['getAttributes'](),_0x9de935=_0x13e281['getAttributes']();for(const _0x317efd of _0x101aeb){if(_0x317efd[0x1]!==_0x13e281['getAttribute'](_0x317efd[0x0]))return!0x1;_0x9de935['next']();}return _0x9de935['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x5c529c=>{const _0x3c4e6d=_0x5c529c['markerName']['split'](':')[0x1],_0x2acaac=this['_getChangeFromId'](_0x3c4e6d);if(!_0x2acaac)return null;const _0x499808='add'==_0x2acaac['type']?'insertion':'deletion',_0xdd49a1=['ck-suggestion-marker','ck-suggestion-marker-'+_0x499808];return _0x2acaac['data']['isSuggestion']&&_0xdd49a1['push']('ck-suggestion-marker-'+_0x499808+'-new'),this['activeChange']==_0x2acaac&&_0xdd49a1['push']('ck-suggestion-marker--active'),{'classes':_0xdd49a1,'attributes':{'data-change-id':_0x3c4e6d}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3d87d4=>{_0x3d87d4['on']('element:pre',(_0x2894b3,_0x50beb4,_0x335258)=>{const _0x4f5df0=_0x50beb4['viewItem']['getChild'](0x0);if(!_0x4f5df0||!_0x4f5df0['is']('element','code'))return;if(!_0x335258['consumable']['consume'](_0x4f5df0,{'attributes':['vid_start','vid_end']}))return;const _0x3f20d2=_0x50beb4['modelRange']['start']['nodeAfter'];_0x335258['writer']['setAttribute']('vid_start',_0x4f5df0['getAttribute']('vid_start'),_0x3f20d2),_0x335258['writer']['setAttribute']('vid_end',_0x4f5df0['getAttribute']('vid_end'),_0x3f20d2);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x5ea7c1=>{_0x5ea7c1['on']('element',(_0x47dbfc,_0x12ec41,_0x7a82b2)=>{if(!_0x7a82b2['consumable']['consume'](_0x12ec41['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x12ec41['modelRange']['isCollapsed'])return;const _0x2c9d7c=_0x12ec41['modelRange']['start']['nodeAfter'];_0x2c9d7c['hasAttribute']('vid_start')||_0x2c9d7c['hasAttribute']('vid')||(_0x7a82b2['writer']['setAttribute']('vid_start',_0x12ec41['viewItem']['getAttribute']('vid_start'),_0x2c9d7c),_0x7a82b2['writer']['setAttribute']('vid_end',_0x12ec41['viewItem']['getAttribute']('vid_end'),_0x2c9d7c));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x88daeb=>_0x88daeb['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x30cec8,[,_0x79e060])=>{['vid_start','vid_end','vid']['includes'](_0x79e060)&&(_0x30cec8['return']=!0x0,_0x30cec8['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x393886=>{_0x393886['on']('attribute:vid',(_0x3a402c,_0x544b6c,_0x13be2b)=>{if('\x20'!=_0x544b6c['item']['data']||_0x544b6c['item']['parent']['maxOffset']>0x1)return;if(!_0x13be2b['consumable']['consume'](_0x544b6c['item'],_0x3a402c['name']))return;const _0xecdfc8=_0x13be2b['writer'],_0x5bda8d=_0x13be2b['mapper']['toViewRange'](_0x544b6c['range']);_0xecdfc8['wrap'](_0x5bda8d,_0xecdfc8['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x53ac0d){const _0x3942ab=_0x53ac0d['plugins']['get']('RevisionViewer');return(_0x2e84e8,_0x188b76,_0x120381)=>{const _0x1af4a7=_0x188b76['markerName']['split'](':')[0x1],_0xeed1dd=_0x3942ab['_getChangeFromId'](_0x1af4a7);if(!_0xeed1dd)return null;const _0xb2b688='add'==_0xeed1dd['type']?'split':'merge';if(!_0x120381['consumable']['test'](_0x188b76['markerRange'],_0x2e84e8['name']))return;const _0x15b3d4=_0x188b76['markerRange']['getWalker'](),_0x312f2b=_0x188b76['markerRange']['start'],_0x16bd6d=_0x53ac0d['model']['schema'];let _0x2469cc=null,_0x6aa7c2=null,_0xaddc6c=!0x1,_0x1eff30=!0x1;for(const _0x5d90b1 of _0x15b3d4){const _0x4b0e3a=_0x5d90b1['item'];_0xaddc6c=_0xaddc6c||_0x16bd6d['isContent'](_0x4b0e3a);const _0x16dea5=_0x120381['mapper']['toViewElement'](_0x4b0e3a);if(_0x16dea5&&_0x16dea5['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5d90b1['type']&&(_0x16bd6d['isBlock'](_0x4b0e3a)&&!_0x16bd6d['isLimit'](_0x4b0e3a)&&(_0x4b0e3a['nextSibling']||_0x312f2b['isAtEnd']?_0x2469cc&&_0x2469cc['parent']==_0x4b0e3a||(_0x2469cc=_0x4b0e3a,_0x381158(_0x5d90b1['previousPosition']),_0x1eff30=!0x0):_0x6aa7c2=_0x6aa7c2||_0x5d90b1['previousPosition']));}function _0x381158(_0x5243d4){const _0x568869=_0x120381['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xb2b688}),_0x12f640=_0x120381['mapper']['toViewPosition'](_0x5243d4);_0xeed1dd['data']['isSuggestion']&&_0x120381['writer']['addClass']('ck-suggestion-marker-'+_0xb2b688+'-new',_0x568869),_0x3942ab['activeChange']==_0xeed1dd&&_0x120381['writer']['addClass']('ck-suggestion-marker--active',_0x568869),_0x120381['writer']['insert'](_0x12f640,_0x568869),_0x120381['mapper']['bindElementToMarker'](_0x568869,_0x188b76['markerName']);}_0xaddc6c||_0x1eff30||!_0x6aa7c2||_0x381158(_0x6aa7c2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x40c3b8,_0x382ce2,_0x33d957)=>{const _0x83756=_0x33d957['mapper']['markerNameToElements'](_0x382ce2['markerName']);if(_0x83756){for(const _0x32b6f2 of _0x83756)(_0x32b6f2['hasClass']('ck-suggestion-marker-split')||_0x32b6f2['hasClass']('ck-suggestion-marker-merge'))&&(_0x33d957['mapper']['unbindElementFromMarkerName'](_0x32b6f2,_0x382ce2['markerName']),_0x33d957['writer']['remove'](_0x32b6f2));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2fcd35,_0xac1dc6,_0x10e69e)=>{const _0x31ec0b=_0xac1dc6['markerName']['split'](':')[0x1],_0x25380d=this['_getChangeFromId'](_0x31ec0b);if(!_0x25380d)return null;const _0xceceb8='add'==_0x25380d['type']?'split':'merge';if(_0x10e69e['consumable']['test'](_0xac1dc6['markerRange'],_0x2fcd35['name']))for(const _0x5bdf5d of _0xac1dc6['markerRange']['getItems']()){if(!_0x5bdf5d['is']('element','softBreak'))continue;const _0x51371e=_0x10e69e['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0xceceb8}),_0x553727=_0x10e69e['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x5bdf5d));_0x25380d['data']['isSuggestion']&&_0x10e69e['writer']['addClass']('ck-suggestion-marker-'+_0xceceb8+'-new',_0x51371e),this['activeChange']==_0x25380d&&_0x10e69e['writer']['addClass']('ck-suggestion-marker--active',_0x51371e),_0x10e69e['writer']['insert'](_0x553727,_0x51371e),_0x10e69e['mapper']['bindElementToMarker'](_0x51371e,_0xac1dc6['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x55eed4=>{for(const _0x2eb878 of this['editor']['model']['document']['getRootNames']()){const _0x58f8aa=this['editor']['model']['document']['getRoot'](_0x2eb878),_0x29746c=this['editor']['editing']['view']['document']['getRoot'](_0x2eb878);if(_0x29746c){const _0x89396c=_0x58f8aa['getAttribute']('revisionHistoryAttachChange');if(_0x55eed4['removeAttribute']('data-change-id',_0x29746c),_0x55eed4['removeClass']('ck-revision-history-root-add',_0x29746c),_0x55eed4['removeClass']('ck-revision-history-root-remove',_0x29746c),_0x55eed4['removeClass']('ck-revision-history-root--active',_0x29746c),_0x89396c){const _0x3a71a3=this['_getChangeFromId'](_0x89396c);if(!_0x3a71a3)return null;_0x55eed4['setAttribute']('data-change-id',_0x89396c,_0x29746c),_0x55eed4['addClass']('ck-revision-history-root-'+_0x3a71a3['type'],_0x29746c),this['activeChange']==_0x3a71a3&&_0x55eed4['addClass']('ck-revision-history-root--active',_0x29746c);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x15bf39=>'revision-comment:'+_0x15bf39,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x24b0ee=>'revision-suggestion:'+_0x24b0ee,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x5c728d=>({'name':'suggestion:'+_0x5c728d,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x5b080c=>{const _0x3d359e=_0x5b080c['markerName']['split'](':')[0x1];return'insertion'!=_0x3d359e&&'deletion'!=_0x3d359e?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x3d359e]};}}),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',(_0x528540,_0x586cfc,_0x3a51f7)=>{const _0xfeebac=_0x3a51f7['mapper']['markerNameToElements'](_0x586cfc['markerName']);if(_0xfeebac){for(const _0x54d081 of _0xfeebac)_0x54d081['is']('uiElement')&&(_0x3a51f7['mapper']['unbindElementFromMarkerName'](_0x54d081,_0x586cfc['markerName']),_0x3a51f7['writer']['remove'](_0x54d081));}},{'priority':'high'});}['_getChangeFromId'](_0x393ae3){return this['_changeIdToChange']['get'](_0x393ae3);}['_getViewForChange'](_0x4c506c){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x4c506c),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x51ad22,_0x311c99,_0x17b07a,_0x41a196)=>{_0x41a196&&this['_balloon']['remove'](_0x41a196),_0x17b07a&&(this['_balloon']['add']({'view':_0x17b07a,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x21e667=this['editor']['editing'],_0x3e3450=this['_getChangeFromId'](_0x17b07a['changeId']);let _0x143b27;if(_0x3e3450['data']['isOnRoot']){const _0x4fb549=_0x21e667['view']['getDomRoot'](_0x3e3450['rootName']);_0x143b27=Array['from'](_0x4fb549['getClientRects']());}else{const _0x5f209b=this['editor']['model']['markers']['get']('revision:'+_0x17b07a['changeId']);_0x143b27=Array['from'](_0x21e667['mapper']['markerNameToElements'](_0x5f209b['name']))['map'](_0x47bab6=>_0x21e667['view']['domConverter']['mapViewToDom'](_0x47bab6))['map'](_0x44bb01=>Array['from'](_0x44bb01['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x143b27[0x0];return _0x143b27['find'](_0x1712b9=>_0x1712b9['top']-0x3<=this['_activeViewTarget']['y']&&_0x1712b9['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x1712b9['left']-0x3<=this['_activeViewTarget']['x']&&_0x1712b9['right']+0x3>=this['_activeViewTarget']['x'])||_0x143b27[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x45d40f,_0x256a75,_0x5c6300,_0xfba9d3)=>{this['activeView']=_0x5c6300?this['_getViewForChange'](_0x5c6300):null,this['editor']['model']['change'](()=>{const _0x13c72a=this['editor']['editing'];_0xfba9d3&&(_0xfba9d3['data']['isOnRoot']?_0x13c72a['view']['change'](_0x24689a=>{_0x24689a['removeClass']('ck-revision-history-root--active',_0x13c72a['view']['document']['getRoot'](_0xfba9d3['rootName']));}):_0x13c72a['reconvertMarker']('revision:'+_0xfba9d3['id'])),_0x5c6300&&(_0x5c6300['data']['isOnRoot']?_0x13c72a['view']['change'](_0x32d525=>{_0x32d525['addClass']('ck-revision-history-root--active',_0x13c72a['view']['document']['getRoot'](_0x5c6300['rootName']));}):_0x13c72a['reconvertMarker']('revision:'+_0x5c6300['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5c2945,_0x2fd45c)=>{if(this['activeChange'])return;const _0x5cd596=this['_findChangeIdFromDomTarget'](_0x2fd45c['target']),_0x5aa137=this['_changeIdToChange']['get'](_0x5cd596);_0x5aa137?(this['_activeViewTarget']={'x':_0x2fd45c['domEvent']['x'],'y':_0x2fd45c['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5aa137)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x590be1,_0x3cbabc)=>{const _0x4cd624=this['_findChangeIdFromDomTarget'](_0x3cbabc['target']),_0xe17348=this['_changeIdToChange']['get'](_0x4cd624);_0xe17348?(this['_activeViewTarget']={'x':_0x3cbabc['domEvent']['x'],'y':_0x3cbabc['domEvent']['y']},_0xe17348===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xe17348):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x430426){do{const _0x10b148=_0x430426['getAttribute']('data-change-id');if(_0x10b148)return _0x10b148;_0x430426=_0x430426['parent'];}while(_0x430426);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4ab84f=>{for(const _0x2c79fa of this['editor']['model']['markers'])_0x4ab84f['removeMarker'](_0x2c79fa);});}}function et(_0x1c01ad,_0xa7f54e){return(_0x4d63c7,_0x4c21f3,_0x33ad4f)=>{if(!_0x33ad4f['consumable']['test'](_0x4c21f3['markerRange'],_0x4d63c7['name']))return;const _0x4cc43a=_0x4c21f3['markerRange']['getWalker'](),_0x366613=_0x4c21f3['markerRange']['start'],_0x3ac869=_0x1c01ad['model']['schema'];let _0x53c26c=null,_0x4a8f3d=null,_0x13ccc9=!0x1,_0xd7165a=!0x1;for(const _0x5138c5 of _0x4cc43a){const _0x282f16=_0x5138c5['item'];_0x13ccc9=_0x13ccc9||_0x3ac869['isContent'](_0x282f16);const _0x321cdd=_0x33ad4f['mapper']['toViewElement'](_0x282f16);if(_0x321cdd&&_0x321cdd['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5138c5['type']&&(_0x3ac869['isBlock'](_0x282f16)&&!_0x3ac869['isLimit'](_0x282f16)&&(_0x282f16['nextSibling']||_0x366613['isAtEnd']?_0x53c26c&&_0x53c26c['parent']==_0x282f16||(_0x53c26c=_0x282f16,_0x4b746f(_0x5138c5['previousPosition']),_0xd7165a=!0x0):_0x4a8f3d=_0x4a8f3d||_0x5138c5['previousPosition']));}function _0x4b746f(_0x19a354){const _0x4e7369=_0x33ad4f['mapper']['toViewPosition'](_0x19a354),_0x51ac9c=_0x33ad4f['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0xa7f54e});_0x33ad4f['writer']['insert'](_0x4e7369,_0x51ac9c),_0x33ad4f['mapper']['bindElementToMarker'](_0x51ac9c,_0x4c21f3['markerName']);}_0x13ccc9||_0xd7165a||!_0x4a8f3d||_0x4b746f(_0x4a8f3d);};}class bt extends _0x5af41d{constructor(_0x39a51b){super(_0x39a51b);const _0x23eede=_0x39a51b['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x23eede,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x23eede,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xb26fd6=this['editor'],_0x5953d5=_0xb26fd6['plugins']['get'](d),_0x3b2ce2=_0x5953d5['isReady']?_0x5953d5['diff']['newRevisionId']:null;_0xb26fd6['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3b2ce2);}['refresh'](){const {isReady:_0x555cfa,isEnabled:_0x194934}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x555cfa&&_0x194934;}}class yt extends _0x5af41d{['_step'];constructor(_0x328ab2,{direction:_0x2b101b}){super(_0x328ab2);const _0x5c0871=_0x328ab2['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2b101b?0x1:-0x1,this['listenTo'](_0x5c0871,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5c0871,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5c0871,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x208c74=this['editor'],_0x45d74d=_0x208c74['plugins']['get'](d),{isNavigationMode:_0x397e9d,currentChangeNumber:_0x2d55a1}=_0x45d74d;let _0x4a7986;if(_0x45d74d['activeChange']=_0x397e9d?_0x45d74d['diff']['changes']['get'](_0x2d55a1+this['_step']):_0x45d74d['diff']['changes']['first'],_0x45d74d['activeChange']['data']['isOnRoot'])_0x4a7986=_0x208c74['editing']['view']['getDomRoot'](_0x45d74d['activeChange']['rootName']);else{const _0x4f5caf=_0x208c74['model']['markers']['get']('revision:'+_0x45d74d['activeChange']['id']);_0x4a7986=_0x8e49d8(_0x208c74['editing'],_0x4f5caf);}_0x1b3b29({'target':_0x4a7986,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x23fafe,currentChangeNumber:_0x3fc51f,numberOfChanges:_0x178d35,isReady:_0x495d76,isEnabled:_0x1acb8c}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1acb8c&&_0x495d76&&_0x178d35)&&(!_0x23fafe||(0x1===this['_step']?_0x3fc51f<_0x178d35-0x1:_0x3fc51f>0x0));}}class _i extends _0x10f811{constructor(_0x3eebbe){super(_0x3eebbe);const _0x1a0ea6=this['bindTemplate'],_0x5f2eac=new _0x55b2f4(_0x3eebbe),_0x11a536=new _0x55b2f4(_0x3eebbe);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',(_0x340ade,_0xbf92a9)=>_0x340ade&&_0xbf92a9>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3afade,_0xd8aada,_0x53737a,_0x394326)=>{if(!_0x3afade)return y(_0x3eebbe,'Loading...');if(!_0x53737a)return y(_0x3eebbe,'No\x20changes');const _0x68668a=y(_0x3eebbe,'NUMBER_OF_CHANGES',_0x53737a);return _0x394326?y(_0x3eebbe,'X_OF_Y_CHANGES',[_0xd8aada+0x1,_0x53737a]):_0x68668a;}),_0x5f2eac['set']({'label':y(_0x3eebbe,'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'}),_0x11a536['set']({'label':y(_0x3eebbe,'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'}),_0x5f2eac['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x11a536['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5f2eac['on']('execute',()=>this['fire']('execute','backward')),_0x11a536['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',_0x1a0ea6['if']('_isStatusLabelVisible','ck-hidden',_0x5c35bd=>!_0x5c35bd)]},'children':[{'text':_0x1a0ea6['to']('isNavigationMode',_0x5470d2=>_0x5470d2?y(_0x3eebbe,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3eebbe,'Total')+':\x20')}]},{'text':_0x1a0ea6['to']('_statusText')}]},new _0x3d6dff(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5f2eac,_0x11a536]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x6c42b7{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x4a9454=this['editor']['editing']['view'];_0x4a9454['change'](_0x279d90=>{for(const _0x2b91b1 of _0x4a9454['document']['roots'])_0x279d90['addClass'](ce,_0x2b91b1);});}['hide'](){const _0x4f38f2=this['editor']['editing']['view'];_0x4f38f2['change'](_0x1a7f01=>{for(const _0x5dcfc3 of _0x4f38f2['document']['roots'])_0x1a7f01['removeClass'](ce,_0x5dcfc3);});}}class R extends _0x6c42b7{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x330390=this['editor'],_0x590845=_0x330390['plugins']['get'](d),_0x144565=_0x330390['plugins']['get'](de);_0x330390['ui']['componentFactory']['add']('exitToEditing',_0x597f90=>{const _0x27790c=new _0x55b2f4(_0x597f90);return _0x27790c['set']({'label':y(_0x597f90,'Back\x20to\x20editing'),'icon':_0x5c300c['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x27790c,'execute',()=>{_0x330390['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x27790c;}),_0x330390['ui']['componentFactory']['add']('restoreRevision',_0xaf0fed=>{const _0x4914bb=new _0x55b2f4(_0xaf0fed);return _0x4914bb['set']({'label':y(_0xaf0fed,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x4914bb['bind']('isEnabled')['to'](_0x330390['commands']['get']('restoreRevision')),this['listenTo'](_0x4914bb,'execute',()=>_0x330390['execute']('restoreRevision')),_0x4914bb;}),_0x330390['ui']['componentFactory']['add']('changesNavigation',_0x3d2f50=>{const _0x3a7611=new _i(_0x3d2f50),_0x43caec=_0x330390['commands']['get']('showPreviousChange'),_0x5e3930=_0x330390['commands']['get']('showNextChange');return _0x3a7611['bind']('isBackwardNavigationEnabled')['to'](_0x43caec,'isEnabled'),_0x3a7611['bind']('isForwardNavigationEnabled')['to'](_0x5e3930,'isEnabled'),_0x3a7611['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x590845),this['listenTo'](_0x3a7611,'execute',(_0x582057,_0x2d39f1)=>{_0x330390['execute']('forward'===_0x2d39f1?'showNextChange':'showPreviousChange');}),_0x3a7611;}),_0x144565['show'](),_0x590845['on']('change:isReady',(_0x3b17f9,_0x2415fa,_0x433f4b)=>{_0x433f4b?_0x144565['hide']():_0x144565['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x5b6985,_0x18b9f7){super(_0x5b6985,_0x18b9f7);const _0x342c50=this['bindTemplate'];this['set']({'label':y(_0x5b6985,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x5b6985,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x342c50['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 _0x360366=this['fieldView']['element'];this['_tooltipString']=_0x360366['scrollWidth']>_0x360366['clientWidth']&&_0x360366['value']||'';}}class ti extends _0x10f811{constructor(_0x2546a0,_0x4f425d,_0x4025b6){super(_0x2546a0);const _0x1172db=new _0x1ebd58();_0x1172db['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 _0x1c3985=['ck','ck-revision-history-sidebar__revision-author'];_0x4025b6&&_0x1c3985['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4609b0=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x2546a0,_0x4025b6?'Revision\x20creator':'Revision\x20author')},'children':[_0x1172db,_0x4f425d['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1c3985},'children':_0x4609b0});}}function ni(_0x44b2ee,_0x17a20f){const _0x2fe22f=_0x44b2ee['bindTemplate'],_0x282216=_0x44b2ee['locale'],_0x3e84ef=_0x372cd7(_0x282216);_0x3e84ef['panelPosition']='sw';const _0x50817c=function(_0x316986,_0x358696){const _0x351bd5=function(_0x1743a6,_0x496f5a){const _0x52d3f1=_0x1743a6['locale'],_0x1ff75b={'Compare\x20against\x20selected':y(_0x52d3f1,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x52d3f1,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x52d3f1,'Restore\x20this\x20revision')};return _0x496f5a['map'](_0x2d2cf2=>{const _0x368d74=_0x1ff75b[_0x2d2cf2['name']];return _0x368d74&&_0x368d74!==_0x2d2cf2['name']&&(_0x2d2cf2['name']=_0x368d74),_0x2d2cf2;});}(_0x316986,_0x358696),_0x38f418=new _0x30789c();for(const _0x4870dc of _0x351bd5){const _0x452187={'type':'button','model':new to({'label':_0x4870dc['name'],'class':_0x4870dc['class'],'withText':!0x0,'role':'menuitem','_action':_0x4870dc['action']})};_0x452187['model']['bind']('isEnabled')['to'](_0x316986,'isActionsDropdownOpen',_0x58fe0b=>'function'!=typeof _0x4870dc['isEnabled']||(!_0x58fe0b||_0x4870dc['isEnabled'](_0x316986))),_0x38f418['add'](_0x452187);}return _0x38f418;}(_0x44b2ee,_0x17a20f);return _0x44b2ee['bind']('isActionsDropdownOpen')['to'](_0x3e84ef,'isOpen'),_0x3e84ef['buttonView']['set']({'label':y(_0x282216,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5c300c['threeVerticalDots']}),_0x3e84ef['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2fe22f['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2fe22f['to'](_0x29deb7=>_0x29deb7['stopPropagation']())}}),_0x3e84ef['on']('execute',_0x527a34=>{_0x44b2ee['isReady']&&'function'==typeof _0x527a34['source']['_action']&&_0x527a34['source']['_action'](_0x44b2ee);}),_0x2ca51b(_0x3e84ef,_0x50817c,{'role':'menu'}),_0x3e84ef['listenTo'](_0x44b2ee,'change:isActionsDropdownOpen',(_0x258d35,_0x1a32e5,_0x1e4cf3)=>{if(_0x1e4cf3)for(const _0xb1fdc4 of _0x3e84ef['listView']['items']){const _0x4ba471=_0xb1fdc4['children']['first'],_0x600223=_0x17a20f['find'](_0x5dc32c=>_0x5dc32c['action']===_0x4ba471['_action'])['isVisible'];_0xb1fdc4['isVisible']=void 0x0===_0x600223||_0x600223(_0x44b2ee);}}),_0x3e84ef;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x185f8a(_0x10f811){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0xd6c756,_0x261f2f,_0x38819f,_0x233112){super(_0xd6c756);const _0x5c25b4=this['bindTemplate'],_0x7ba903=function(_0x44c611,_0xa539b8){const _0xba4add=Array['from'](_0xa539b8['authors'])['filter'](_0x22d8d3=>_0x22d8d3!=_0xa539b8['creator']);return _0xa539b8['creator']&&_0xba4add['unshift'](_0xa539b8['creator']),_0xba4add['map'](_0x39849e=>new ti(_0x44c611,_0x39849e,_0x39849e==_0xa539b8['creator']));}(_0xd6c756,_0x261f2f);this['id']=_0x261f2f['id'],this['_revision']=_0x261f2f,this['_requireRevisionName']=_0x233112,this['bind']('name','createdAt')['to'](_0x261f2f),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x346bda=>{return _0x394344=_0xd6c756['uiLanguage'],(_0x28ce16=_0x346bda)['toLocaleDateString'](_0x394344,{'month':'long','day':'numeric'})+',\x20'+_0x28ce16['toLocaleTimeString'](_0x394344,{'hour':'numeric','minute':'numeric'});var _0x394344,_0x28ce16;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0xd6c756,_0x3dce06),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x58e2bd=>_0x58e2bd||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x25086d,_0x423e04)=>_0x25086d&&_0x423e04),this['revisionActionsView']=_0x38819f&&_0x38819f['length']?ni(this,_0x38819f):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5c25b4['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5c25b4['if']('isEnabled','ck-disabled',_0x1cc4bd=>!_0x1cc4bd),_0x5c25b4['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5c25b4['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5c25b4['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':_0x5c25b4['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':_0x7ba903}]},this['revisionActionsView']],'on':{'click':_0x5c25b4['to'](_0x30e592=>{_0x30e592['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0xdcafd6=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0xdcafd6,'change',()=>{this['_requireRevisionName']&&!_0xdcafd6['value']||this['fire']('setName',{'id':this['id'],'name':_0xdcafd6['value']}),_0xdcafd6['value']||(_0xdcafd6['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(_0x122afd,_0x318d00){const _0x45652d=_0x26b500['fromJSDate'](_0x122afd)['setLocale'](_0x318d00),_0x3577cb=_0x26b500['local'](),_0x36a7a5=_0x3577cb['minus']({'days':0x1})['startOf']('day');let _0x230637,_0x3c8ab6;return _0x45652d['hasSame'](_0x3577cb,'day')?(_0x230637=_0x45652d['startOf']('day')['toJSDate'](),_0x3c8ab6=_0x45652d['toRelativeCalendar']()):_0x45652d['hasSame'](_0x36a7a5,'day')?(_0x230637=_0x36a7a5['toJSDate'](),_0x3c8ab6=_0x45652d['toRelativeCalendar']()):_0x45652d['hasSame'](_0x3577cb,'week')?(_0x230637=_0x45652d['startOf']('week')['toJSDate'](),_0x3c8ab6=_0x45652d['weekdayLong']||''):_0x45652d['hasSame'](_0x3577cb,'year')?(_0x230637=_0x45652d['startOf']('month')['toJSDate'](),_0x3c8ab6=_0x45652d['monthLong']||''):(_0x230637=_0x45652d['startOf']('year')['toJSDate'](),_0x3c8ab6=String(_0x45652d['year'])),{'startDate':_0x230637,'localizedPeriodName':_0x3c8ab6};}class mi extends _0x10f811{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x8f400d,_0x104bec,_0x17c6c4,_0x2bb93c){super(_0x8f400d);const _0x25ead2=di(_0x104bec,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x104bec,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x17c6c4,this['_requireRevisionName']=_0x2bb93c,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':_0x25ead2}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x37b193){const _0x6dce32=new ai(this['locale'],_0x37b193,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x6dce32);}['removeRevision'](_0x1c4100){const _0x5d4d2c=this['revisionViews']['find'](_0x422bdc=>_0x422bdc['id']===_0x1c4100['id']);this['revisionViews']['remove'](_0x5d4d2c);}}class as extends _0x10f811{constructor(_0x489762){super(_0x489762);const _0x137804=new _0x1ebd58();_0x137804['content']=_0x5c300c['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x137804,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x489762,'Revision\x20history')]}]});}}class ci extends _0x10f811{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x471ddb,_0x58c1ce,_0x514c31,_0x4f20da){super(_0x471ddb);const _0x470f03=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x58c1ce,this['_revisionActions']=_0x514c31,this['_requireRevisionName']=_0x4f20da,this['on']('select',(_0x22c544,_0x16acf6)=>{this['fire']('revisionSelected',_0x16acf6);}),this['on']('setName',(_0x2e3aca,_0x4af248)=>{this['fire']('revisionSetName',_0x4af248);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x471ddb),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x470f03['if']('isEnabled','ck-disabled',_0x2af0ba=>!_0x2af0ba)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x19bf91 of this['_revisions'])this['_addRevision'](_0x19bf91);this['_revisions']['on']('add',(_0x4b5c29,_0xa226b1)=>{this['_addRevision'](_0xa226b1);}),this['_revisions']['on']('remove',(_0x3035f2,_0x42dcc8)=>{this['_removeRevision'](_0x42dcc8);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2ed7d9=>_0x2ed7d9['revisionViews']['map'](_0x78803f=>_0x78803f))['flat']();}['selectRevision'](_0x4726f0){for(const _0x334bc9 of this['revisionViews'])_0x4726f0&&_0x4726f0['id']===_0x334bc9['id']?_0x334bc9['select']():_0x334bc9['deselect']();}['highlightRevisions'](_0x521aa5){for(const _0x4af86a of this['revisionViews'])_0x521aa5['some'](({id:_0x4502ba})=>_0x4502ba===_0x4af86a['id'])?_0x4af86a['highlight']():_0x4af86a['unhighlight']();}['_addRevision'](_0x6c1cff){const _0x4be71c=di(_0x6c1cff['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3e2655=this['timePeriodViews']['get'](0x0);_0x3e2655&&_0x3e2655['startDate']['getTime']()===_0x4be71c['getTime']()||(_0x3e2655=new mi(this['locale'],_0x4be71c,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3e2655)),_0x3e2655['addRevision'](_0x6c1cff);}['_removeRevision'](_0x1169fa){const _0x849342=di(_0x1169fa['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x849342)['removeRevision'](_0x1169fa);}['_getTimePeriodViewByStartDate'](_0x579a38){return this['timePeriodViews']['find'](_0x228142=>_0x228142['startDate']['getTime']()===_0x579a38['getTime']());}}class w extends _0x6c42b7{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x15722d,Context as _0x161e11,PendingActions as _0x4f4cfd,icons as _0x5fb71a,Command as _0x219cab,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x3868e0,uid as _0x523f17,Collection as _0x51c829,logWarning as _0x1e6c57,FocusTracker as _0x1c2719,KeystrokeHandler as _0x2d7b3e,scrollViewportToShowTarget as _0x1f25fe,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x4bfbd3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x358c29,getMarkerDomElement as _0x5a2047,ConfirmMixin as _0x2ec772,sanitizeEditorConfig as _0x3af701}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x341735,ViewText as _0x1ff27e,ViewElement as _0x4552e8,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x497e1c,ViewAttributeElement as _0x4d9ed0,ViewEmptyElement as _0x1c8404,ViewRawElement as _0x117945,ViewUIElement as _0x199255,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x11fb1e,set as _0x44beb1,unset as _0x4affdd,isEqual as _0x939660}from'lodash-es';import{View as _0x34a233,injectCssTransitionDisabler as ts,submitHandler as _0x2f6a07,LabeledFieldView as at,createLabeledInputText as _0x30bbd3,createDropdown as _0x30de5a,ListView as te,ListItemView as _0x3b1bab,ButtonView as _0x302b83,MenuBarMenuView as _0x5c6567,MenuBarMenuListView as _0x2b162d,MenuBarMenuListItemView as _0x496c64,MenuBarMenuListItemButtonView as _0x51ea9f,ContextualBalloon as _0x311e79,ToolbarSeparatorView as _0x3fa825,IconView as _0x5429c9,addListToDropdown as _0x7380b5,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 _0x36bea6}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x3868e0(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x552d13){super(),this['id']=_0x552d13['id']||_0x523f17(),this['creator']=_0x552d13['creator']||null,this['authors']=_0x552d13['authors']||[],this['diffData']=_0x552d13['diffData']||null,this['toVersion']=_0x552d13['toVersion']||0x0,this['fromVersion']=_0x552d13['fromVersion']||0x0,this['set']('name',_0x552d13['name']||''),this['set']('createdAt',_0x552d13['createdAt']||new Date()),this['set']('attributes',_0x552d13['attributes']||{});}['setName'](_0x44d555){this['_update']({'name':_0x44d555});}['setAttribute'](_0x2de51c,_0x336118){const _0x3e5577=_0x11fb1e(this['attributes']);_0x44beb1(_0x3e5577,_0x2de51c,_0x336118),this['_update']({'attributes':_0x3e5577});}['removeAttribute'](_0x40e073){const _0x801c3e=_0x11fb1e(this['attributes']);_0x4affdd(_0x801c3e,_0x40e073),this['_update']({'attributes':_0x801c3e});}['_update'](_0x269534,_0x3ddaf3=!0x1){let _0x2184b3=!0x1;const _0x182981={'id':this['id']},_0xd01325=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x21dbcc of _0xd01325){const _0x53f9ae=_0x269534[_0x21dbcc];void 0x0!==_0x53f9ae&&_0x53f9ae!==this[_0x21dbcc]&&(this[_0x21dbcc]=_0x53f9ae,_0x182981[_0x21dbcc]=_0x53f9ae,_0x2184b3=!0x0);}_0x2184b3&&(_0x182981['authors']&&(_0x182981['authorsIds']=_0x182981['authors']['map'](_0x264331=>_0x264331['id']),delete _0x182981['authors']),this['fire']('_update',_0x182981,_0x3ddaf3));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x511f2a=>_0x511f2a['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x15722d{['_revisions'];static get['requires'](){return[_0x358c29];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x44e167){super(_0x44e167),this['_revisions']=new _0x51c829();}['afterInit'](){!function(_0x2084fa){function _0x5d60da(_0x29008c,_0x5efc3a,_0x2a5356){const _0x4749e7={};_0x4749e7[_0x1fd013([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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],_0x4749e7[_0x1fd013([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 _0x5419f5=new Uint8Array(0x10);for(let _0x411730=0xf;_0x411730>=0x0;--_0x411730)_0x5419f5[_0x411730]=_0x2a5356%0x100,_0x2a5356=parseInt(_0x2a5356/0x100);let _0x20aef6=null,_0x52b27a=0x10;const _0x39cd5d=new Uint8Array(_0x5efc3a),_0x485ce8=[],_0x435c36=[];_0x166c90();for(let _0x130ad4=0x0;_0x130ad4<_0x29008c[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x130ad4++)0x10===_0x52b27a&&(_0x20aef6=_0x16b58c(_0x5419f5),_0x52b27a=0x0,_0x30f3d0(_0x5419f5)),_0x29008c[_0x130ad4]^=_0x20aef6[_0x52b27a++];return _0x29008c;function _0x459581(_0x1f8c3e){const _0x2f0fe0=[];for(let _0x494d14=0x0;_0x494d14<_0x1f8c3e[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x494d14+=0x4)_0x2f0fe0[_0x1fd013([0x70,0x75,0x73,0x68])](_0x1f8c3e[_0x494d14]<<0x18|_0x1f8c3e[_0x494d14+0x1]<<0x10|_0x1f8c3e[_0x494d14+0x2]<<0x8|_0x1f8c3e[_0x494d14+0x3]);return _0x2f0fe0;}function _0x30f3d0(_0x4c1a5e){for(let _0x21dde7=0xf;_0x21dde7>=0x0;_0x21dde7--){if(0xff!==_0x4c1a5e[_0x21dde7]){_0x4c1a5e[_0x21dde7]++;break;}_0x4c1a5e[_0x21dde7]=0x0;}}function _0x16b58c(_0x2e9d7c){const _0x243caa=_0x485ce8[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x32c879=[0x0,0x0,0x0,0x0];let t=_0x459581(_0x2e9d7c);for(let _0x5d6c5b=0x0;_0x5d6c5b<0x4;_0x5d6c5b++)t[_0x5d6c5b]^=_0x485ce8[0x0][_0x5d6c5b];for(let _0xe22aab=0x1;_0xe22aab<_0x243caa;_0xe22aab++){for(let _0x388775=0x0;_0x388775<0x4;_0x388775++)_0x32c879[_0x388775]=_0x4749e7[_0x1fd013([0x54,0x31])][t[_0x388775]>>0x18&0xff]^_0x4749e7[_0x1fd013([0x54,0x32])][t[(_0x388775+0x1)%0x4]>>0x10&0xff]^_0x4749e7[_0x1fd013([0x54,0x33])][t[(_0x388775+0x2)%0x4]>>0x8&0xff]^_0x4749e7[_0x1fd013([0x54,0x34])][0xff&t[(_0x388775+0x3)%0x4]]^_0x485ce8[_0xe22aab][_0x388775];t=_0x32c879[_0x1fd013([0x73,0x6c,0x69,0x63,0x65])]();}const _0x398f57=new Uint8Array(0x10);let _0x581ad7;for(let _0x34779a=0x0;_0x34779a<0x4;_0x34779a++)_0x581ad7=_0x485ce8[_0x243caa][_0x34779a],_0x398f57[0x4*_0x34779a]=0xff&(_0x4749e7[_0x1fd013([0x53])][t[_0x34779a]>>0x18&0xff]^_0x581ad7>>0x18),_0x398f57[0x4*_0x34779a+0x1]=0xff&(_0x4749e7[_0x1fd013([0x53])][t[(_0x34779a+0x1)%0x4]>>0x10&0xff]^_0x581ad7>>0x10),_0x398f57[0x4*_0x34779a+0x2]=0xff&(_0x4749e7[_0x1fd013([0x53])][t[(_0x34779a+0x2)%0x4]>>0x8&0xff]^_0x581ad7>>0x8),_0x398f57[0x4*_0x34779a+0x3]=0xff&(_0x4749e7[_0x1fd013([0x53])][0xff&t[(_0x34779a+0x3)%0x4]]^_0x581ad7);return _0x398f57;}function _0x166c90(){const _0xe74232=_0x4749e7[_0x1fd013([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x39cd5d[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x2b491c=0x0;_0x2b491c<=_0xe74232;_0x2b491c++)_0x485ce8[_0x1fd013([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x435c36[_0x1fd013([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x53dee3=0x4*(_0xe74232+0x1),_0x433ec9=_0x39cd5d[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x4df3a3=_0x459581(_0x39cd5d);let _0x3e389f;for(let _0xd99c46=0x0;_0xd99c46<_0x433ec9;_0xd99c46++)_0x3e389f=_0xd99c46>>0x2,_0x485ce8[_0x3e389f][_0xd99c46%0x4]=_0x4df3a3[_0xd99c46],_0x435c36[_0xe74232-_0x3e389f][_0xd99c46%0x4]=_0x4df3a3[_0xd99c46];let _0xc061f5,_0x579596=0x0,t=_0x433ec9;for(;t<_0x53dee3;){_0xc061f5=_0x4df3a3[_0x433ec9-0x1],_0x4df3a3[0x0]^=_0x4749e7[_0x1fd013([0x53])][_0xc061f5>>0x10&0xff]<<0x18^_0x4749e7[_0x1fd013([0x53])][_0xc061f5>>0x8&0xff]<<0x10^_0x4749e7[_0x1fd013([0x53])][0xff&_0xc061f5]<<0x8^_0x4749e7[_0x1fd013([0x53])][_0xc061f5>>0x18&0xff]^_0x4749e7[_0x1fd013([0x72,0x63,0x6f,0x6e])][_0x579596]<<0x18,_0x579596+=0x1;for(let _0x1d7fa8=0x1;_0x1d7fa8<_0x433ec9/0x2;_0x1d7fa8++)_0x4df3a3[_0x1d7fa8]^=_0x4df3a3[_0x1d7fa8-0x1];_0xc061f5=_0x4df3a3[_0x433ec9/0x2-0x1],_0x4df3a3[_0x433ec9/0x2]^=_0x4749e7[_0x1fd013([0x53])][0xff&_0xc061f5]^_0x4749e7[_0x1fd013([0x53])][_0xc061f5>>0x8&0xff]<<0x8^_0x4749e7[_0x1fd013([0x53])][_0xc061f5>>0x10&0xff]<<0x10^_0x4749e7[_0x1fd013([0x53])][_0xc061f5>>0x18&0xff]<<0x18;for(let _0x27a75a=_0x433ec9/0x2+0x1;_0x27a75a<_0x433ec9;_0x27a75a++)_0x4df3a3[_0x27a75a]^=_0x4df3a3[_0x27a75a-0x1];let _0x49ac52,_0x588493,_0x11cfd9=0x0;for(;_0x11cfd9<_0x433ec9&&t<_0x53dee3;)_0x49ac52=t>>0x2,_0x588493=t%0x4,_0x485ce8[_0x49ac52][_0x588493]=_0x4df3a3[_0x11cfd9],_0x435c36[_0xe74232-_0x49ac52][_0x588493]=_0x4df3a3[_0x11cfd9++],t++;}for(let _0x199508=0x1;_0x199508<_0xe74232;_0x199508++)for(let _0x5b5b59=0x0;_0x5b5b59<0x4;_0x5b5b59++)_0xc061f5=_0x435c36[_0x199508][_0x5b5b59],_0x435c36[_0x199508][_0x5b5b59]=_0x4749e7[_0x1fd013([0x55,0x31])][_0xc061f5>>0x18&0xff]^_0x4749e7[_0x1fd013([0x55,0x32])][_0xc061f5>>0x10&0xff]^_0x4749e7[_0x1fd013([0x55,0x33])][_0xc061f5>>0x8&0xff]^_0x4749e7[_0x1fd013([0x55,0x34])][0xff&_0xc061f5];}}function _0x1fd013(_0x56f91a){return _0x56f91a['map'](_0x1cb175=>String['fromCharCode'](_0x1cb175))['join']('');}(_0xae62b0=>{function _0x5332b9(){const _0x305e48=[{[_0x1fd013([0x69,0x64])]:0x1,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x1fd013([0x69,0x64])]:0x2,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([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]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1fd013([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1fd013([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1fd013([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1fd013([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1fd013([0x69,0x64])]:0x3,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1fd013([0x69,0x64])]:0x4,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([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]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x1fd013([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x1fd013([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x1fd013([0x69,0x64])]:0x5,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([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]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}},{[_0x1fd013([0x69,0x64])]:0x6,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}},{[_0x1fd013([0x69,0x64])]:0x7,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}},{[_0x1fd013([0x69,0x64])]:0x8,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([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]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}},{[_0x1fd013([0x69,0x64])]:0x9,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x1fd013([0x69,0x64])]:0xa,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([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]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([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]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([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]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}},{[_0x1fd013([0x69,0x64])]:0xb,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1fd013([0x69,0x64])]:0xc,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x1fd013([0x69,0x64])]:0xd,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}},{[_0x1fd013([0x69,0x64])]:0xe,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x1fd013([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([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])},{[_0x1fd013([0x69,0x64])]:0xf,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x1fd013([0x69,0x64])]:0x10,[_0x1fd013([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x1fd013([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x1fd013([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x1fd013([0x66,0x67,0x69])]:[0xc]}}];return _0x4e0b9d(_0x305e48),_0x305e48;function _0x4cd41a(_0x2681ce){return 0x1<<_0x2681ce-0x1;}function _0x4e0b9d(_0x5d05e6){_0x5d05e6[_0x1fd013([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bb62b=>{_0x1bb62b[_0x1fd013([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4cd41a(_0x1bb62b[_0x1fd013([0x69,0x64])]),_0x35ca27(_0x1bb62b)&&_0x1bb62b[_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x4e0b9d(_0x1bb62b[_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x35ca27(_0x416749){return _0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x416749;}const _0x582c5f=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x30a858=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4d107c(_0x33ad4e){const _0x229aaa=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x2364cf(_0x33ad4e,new Uint8Array([..._0x582c5f,..._0x229aaa,..._0x30a858]));}function _0x2364cf(_0x555f70,_0x1b9f7c){const _0xdc1363=_0x21546e(_0x555f70),_0x518ae8=Array[_0x1fd013([0x66,0x72,0x6f,0x6d])](_0x58c70f(_0xdc1363)),_0x529be3=_0x518ae8[_0x1fd013([0x70,0x6f,0x70])](),_0x1453fd=_0x518ae8[_0x1fd013([0x70,0x6f,0x70])]();return _0x47564b(_0x5d60da(_0x518ae8,_0x1b9f7c,_0x1453fd+0x100*_0x529be3));}function _0x21546e(_0x5ad54d){const _0x15f247=atob(_0x5ad54d),[_0x4b1af4,_0x20b7ad]=_0x15f247[_0x1fd013([0x73,0x70,0x6c,0x69,0x74])](_0x1fd013([0x2d]));try{if(atob(_0x20b7ad))return atob(_0x4b1af4);}catch(_0x197b18){}return _0x15f247;}function _0xa107bb(_0x30712e){try{const _0x4f85db=_0x4d107c(_0x30712e),_0x1033a3=JSON[_0x1fd013([0x70,0x61,0x72,0x73,0x65])](_0x4f85db),_0x525b46=parseInt(_0x1033a3[_0x1fd013([0x31])]),_0x25ac36=_0x1033a3[_0x1fd013([0x32])]||'',_0x42f20a=parseInt(_0x1033a3[_0x1fd013([0x33])]),_0x12406d=parseInt(_0x1033a3[_0x1fd013([0x34])])||0x0,_0x4d5d22=parseInt(_0x1033a3[_0x1fd013([0x35])])||0x0;return{[_0x1fd013([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x25ac36,[_0x1fd013([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x12406d,[_0x1fd013([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x525b46,[_0x1fd013([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x42f20a,[_0x1fd013([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4d5d22};}catch(_0x2d93fb){return null;}}const _0x12cd0c=_0x5332b9(),_0x18da58={[_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5403e7,[_0x1fd013([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])]:_0x2673dc,[_0x1fd013([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])]:_0x15c8bb},_0x3026ef=_0xae62b0[_0x1fd013([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x50add9=_0x1fd013([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0xae62b0?_0xae62b0['context']:_0xae62b0['editor'],_0x4a21c7=_0x1fd013([0x34,0x30,0x34,0x38,0x31,0x32,0x32,0x36]),_0x43d6a6=_0x1fd013([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]),_0x514b13=_0x50add9['config']['get'](_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x37431f=_0x12cd0c[_0x1fd013([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x35ca27)[_0x1fd013([0x66,0x69,0x6e,0x64])](_0x244fd6=>_0x244fd6[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3026ef);function _0x26e02d(_0x18914e,_0x1c434e){_0x18da58[_0x1c434e[_0x1fd013([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x18914e,_0x1c434e),_0x1c434e[_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x1c434e[_0x1fd013([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x1fd013([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xc53788=>_0x21716d(_0x50add9,_0xc53788[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x1fd013([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52e623=>_0x26e02d(_0x18914e,_0x52e623));}function _0x5403e7(_0x2b9b6f,_0x4f8f4e){_0x316ff0(_0x948ef6(_0x2b9b6f,_0x4f8f4e),_0x4f8f4e);}function _0x2673dc(_0x50b9f8,_0x5764ca){function _0x3feed0(_0x49485f,_0x59139b){try{if(_0x21716d(_0x50add9,_0x1fd013([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x49485f){const _0x48ee1b=_0x58e05d(_0x50add9,_0x1fd013([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x1fd013([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x48ee1b)/0x2>_0x49485f[_0x1fd013([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x4881e8(_0x59139b[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x948ef6(_0x49485f,_0x59139b);}catch(_0xe94afd){return _0x4881e8(_0x59139b[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x316ff0(_0x3feed0(_0x50b9f8,_0x5764ca),_0x5764ca);}function _0x15c8bb(_0x1d7ce5,_0x119e41){const _0x47e12d=_0x30a858[0x0]*_0x582c5f[0x1],_0x438d10=_0x30a858[0x0]*_0x582c5f[0x2],_0x502e64=_0x30a858[0x2]*_0x582c5f[0x2];_0x21716d(_0x50add9,_0x1fd013([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x58e05d(_0x50add9,_0x1fd013([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1fd013([0x73,0x74,0x61,0x74,0x65])]==_0x1fd013([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x3a7ccf()]=_0x502e64);function _0x27f8e0(_0x511e27,_0x270d84){try{return _0x90e2b3()?_0x4881e8(_0x270d84[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x56,0x61,0x6c,0x69,0x64])):_0x948ef6(_0x511e27,_0x270d84);}catch(_0x3bae33){return _0x4881e8(_0x270d84[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5b125d(_0xa45a7f,_0xa15329){const _0x419bfd=0x7;if(_0xa45a7f==_0xa15329[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3a2bd5();else{if(_0xa45a7f==_0xa15329[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c])){const _0x1cbcea=_0x24a6d1();_0x1cbcea&&_0x55fa80(_0x1cbcea,_0xa15329[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x2c3026=_0x527ee9();window[_0x1fd013([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x55fa80(_0x1fd013([0x74,0x69,0x6d,0x65]),_0xa15329[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x2c3026);const _0x10a1f5=_0x58e05d(_0x50add9,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1fd013([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x10a1f5[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x419bfd?_0x55fa80(_0x1fd013([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xa15329[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x10a1f5['on'](_0x1fd013([0x61,0x64,0x64]),()=>{_0x10a1f5[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x419bfd&&_0x55fa80(_0x1fd013([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xa15329[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x24a6d1(){if(!_0x21716d(_0x50add9,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x5b842e in window)if(Number['isNaN'](Number(_0x5b842e))){if(window[_0x5b842e]===_0x47e12d)return _0x1fd013([0x74,0x69,0x6d,0x65]);if(window[_0x5b842e]===_0x438d10)return _0x1fd013([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x90e2b3(){if(!_0x21716d(_0x50add9,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x23509b in window)if(Number['isNaN'](Number(_0x23509b))&&window[_0x23509b]===_0x502e64)return!0x0;return!0x1;}function _0x55fa80(_0x54b1ab,_0x1a1c6c){_0x3a2bd5(),_0x4881e8(_0x1a1c6c+_0x1fd013([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x54b1ab),window[_0x3a7ccf()]=_0x54b1ab===_0x1fd013([0x74,0x69,0x6d,0x65])?_0x47e12d:_0x438d10;}function _0x527ee9(){let _0x63e2d5=_0x30a858[0x6]*_0x582c5f[0x8]*_0x582c5f[0x6];return _0x21716d(_0x50add9,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x63e2d5/=0xa),_0x63e2d5;}function _0x3a2bd5(){const _0x3aa2d2=_0x50add9;function _0x105262(){_0x21716d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1fd013([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1fd013([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1fd013([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1fd013([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2381ee,_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x1fd013([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2381ee,_0x3aa2d2[_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd013([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2381ee,_0x3aa2d2[_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd013([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2381ee,_0x3aa2d2[_0x1fd013([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c]))),_0x21716d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fd013([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x1fd013([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fd013([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fd013([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2381ee,_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fd013([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2381ee);}_0x3aa2d2[_0x1fd013([0x73,0x74,0x61,0x74,0x65])]==_0x1fd013([0x72,0x65,0x61,0x64,0x79])?_0x105262():_0x3aa2d2[_0x1fd013([0x6f,0x6e,0x63,0x65])](_0x1fd013([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x21716d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x105262(),_0x21716d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5efb92=_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x30ce9f=_0x5efb92['getRevision'](0x0),_0x5ec71f=_0x5efb92['getEarlierVisibleRevision'](_0x30ce9f[_0x1fd013([0x69,0x64])]);_0x58e05d(_0x3aa2d2,_0x1fd013([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x1fd013([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x30ce9f[_0x1fd013([0x69,0x64])],_0x5ec71f?_0x5ec71f[_0x1fd013([0x69,0x64])]:null,0x1)['then'](()=>_0x105262());}});}_0x5b125d(_0x27f8e0(_0x1d7ce5,_0x119e41),_0x119e41);}function _0x948ef6(_0x2dda25,_0x1eebfb){try{return _0x1760c1(_0x1eebfb)?_0x4881e8(_0x1eebfb[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x56,0x61,0x6c,0x69,0x64])):_0x2dda25&&_0x2a55a4(_0x2dda25[_0x1fd013([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x1eebfb)?_0x2dda25[_0x1fd013([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x1fd013([0x6f,0x70,0x65,0x6e])][_0x1fd013([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4a21c7)/0x2>_0x2dda25[_0x1fd013([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x4881e8(_0x1eebfb[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2dda25[_0x1fd013([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x4881e8(_0x1eebfb[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c])):_0x4881e8(_0x1eebfb[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x56,0x61,0x6c,0x69,0x64])):_0x4881e8(_0x1eebfb[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x219d50){return _0x4881e8(_0x1eebfb[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x316ff0(_0x211290,_0x1b0b89){if(_0x50add9 instanceof _0x161e11){const _0xe19fa0=_0x50add9;_0x211290==_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x150fdb(_0xe19fa0):_0x211290==_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c])&&window[_0x1fd013([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x150fdb(_0xe19fa0),_0x4881e8(_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x30a858[0x6]*_0x582c5f[0x8]*_0x582c5f[0x6]),_0xe19fa0[_0x1fd013([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x1fd013([0x6f,0x6e])](_0x1fd013([0x61,0x64,0x64]),(_0x1e6092,_0x1b14ec)=>{_0x211290!=_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x211290!=_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x211290!=_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x1b289e(_0x1b14ec);});}else{const _0x42a12c=_0x50add9;_0x211290==_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1b289e(_0x42a12c):_0x211290==_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c])&&_0x42a12c[_0x1fd013([0x6f,0x6e])](_0x1fd013([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x309646=0x0;_0x42a12c[_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd013([0x6f,0x6e])](_0x1fd013([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5c526d,_0x8a0ec9)=>{_0x8a0ec9[0x0][_0x1fd013([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x309646++,0x1f8===_0x309646&&(_0x1b289e(_0x42a12c),_0x4881e8(_0x1b0b89[_0x1fd013([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x1fd013([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x5c526d[_0x1fd013([0x6f,0x66,0x66])]());},{'priority':_0x1fd013([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x4881e8(_0x4423fb){const _0x7ddde0=_0x3a7ccf();return _0x50add9[_0x7ddde0]=_0x4423fb,_0x4423fb;}function _0x3a7ccf(){const _0x90e60c=String(window[_0x1fd013([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1fd013([0x6e,0x6f,0x77])]())[_0x1fd013([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1fd013([0x2e]),'');let _0x25195b='';for(let _0x59280f=0x0;_0x59280f<_0x90e60c[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x59280f+=0x2){let _0x4248da=parseInt(_0x90e60c[_0x1fd013([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x59280f,_0x59280f+0x2));_0x4248da>=_0x43d6a6[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4248da-=_0x43d6a6[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x25195b+=_0x43d6a6[_0x4248da];}return _0x25195b;}function _0x150fdb(_0x1e20e3){for(const _0x242db0 of _0x1e20e3[_0x1fd013([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x1b289e(_0x242db0);_0x58e05d(_0x1e20e3,_0x1fd013([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1fd013([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x58e05d(_0x1e20e3,_0x1fd013([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x1fd013([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2381ee;}function _0x1b289e(_0x252b6a){function _0x44f949(){_0x252b6a[_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd013([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2381ee,_0x252b6a[_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c])][_0x1fd013([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2381ee,_0x252b6a[_0x1fd013([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1fd013([0x6d,0x6f,0x64,0x65,0x6c]));}_0x252b6a[_0x1fd013([0x73,0x74,0x61,0x74,0x65])]==_0x1fd013([0x72,0x65,0x61,0x64,0x79])?_0x44f949():_0x252b6a[_0x1fd013([0x6f,0x6e,0x63,0x65])](_0x1fd013([0x72,0x65,0x61,0x64,0x79]),()=>_0x44f949());}function _0x2381ee(){return null;}function _0x2a55a4(_0x49c689,_0x5e277b){const _0x1d2a80=!!(_0x49c689&_0x5e277b[_0x1fd013([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x48d06d=_0x6e71b2(_0x49c689,_0x5e277b);return _0x1d2a80||_0x48d06d;}function _0x6e71b2(_0x32a72b,_0x3c846c){const _0x5d6a64=(_0x3c846c[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x1fd013([0x66,0x67,0x69])]||null;return!!_0x5d6a64&&_0x12cd0c[_0x1fd013([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5cd4a3=>_0x5d6a64[_0x1fd013([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cd4a3[_0x1fd013([0x69,0x64])]))[_0x1fd013([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x205240=>!_0x1b5fd1(_0x205240))[_0x1fd013([0x73,0x6f,0x6d,0x65])](_0x19a082=>!!(_0x32a72b&_0x19a082[_0x1fd013([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x1b5fd1(_0x2a5c64){const _0x5ee13c={[_0x1fd013([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])]:_0x57c21c};return!!_0x2a5c64['forbiddenHandler']&&_0x5ee13c[_0x2a5c64['forbiddenHandler']]();}function _0x57c21c(){return!window[_0x1fd013([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x21716d(_0x50add9,_0x1fd013([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x1760c1(_0x58dea1){if(!_0x21716d(_0x50add9,_0x58dea1[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x3d45f1=_0x58dea1[_0x1fd013([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x28af92=_0x3d45f1[_0x1fd013([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x1f3888=_0x3d45f1[_0x1fd013([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x29f48d=_0x3d45f1[_0x1fd013([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x21716d(_0x50add9,_0x1fd013([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x58e05d(_0x50add9,_0x1fd013([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x1fd013([0x73,0x74,0x61,0x74,0x65])]==_0x1fd013([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x28af92)return!0x0;if(_0x21716d(_0x50add9,_0x1fd013([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x58e05d(_0x50add9,_0x1fd013([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x1fd013([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x1fd013([0x65,0x6e,0x64])&&_0x1f3888)return!0x0;return!(!_0x21716d(_0x50add9,_0x1fd013([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]))||_0x58e05d(_0x50add9,_0x1fd013([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]))[_0x1fd013([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x1fd013([0x65,0x6e,0x64])||!_0x29f48d);}function _0x21716d(_0x1c0574,_0x192cf7){return _0x1c0574[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1fd013([0x68,0x61,0x73])](_0x192cf7);}function _0x58e05d(_0x24709a,_0x5ebc9d){return _0x24709a[_0x1fd013([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x1fd013([0x67,0x65,0x74])](_0x5ebc9d);}function _0x47564b(_0x1d02f0){let _0x5f3d21='';for(const _0x5ba634 of _0x1d02f0)_0x5f3d21+=String[_0x1fd013([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x5ba634);return _0x5f3d21;}function _0x58c70f(_0x16ef76){const _0x3ab799=new Uint8Array(_0x16ef76[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x4f154f=0x0;_0x4f154f<_0x16ef76[_0x1fd013([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f154f++)_0x3ab799[_0x4f154f]=_0x16ef76[_0x1fd013([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4f154f);return _0x3ab799;}_0x37431f&&_0x26e02d(_0xa107bb(_0x514b13),_0x37431f);})(_0x2084fa);}(this);}['createRevision'](_0x5b1639){const _0x7f9744=this['editor']['plugins']['get']('Users');return new a({'id':_0x5b1639['id'],'name':_0x5b1639['name'],'creator':_0x5b1639['creatorId']?_0x7f9744['getUser'](_0x5b1639['creatorId']):null,'diffData':_0x5b1639['diffData']||_0x5b1639['data'],'authors':_0x5b1639['authorsIds']['map'](_0x334384=>_0x7f9744['getUser'](_0x334384)),'createdAt':new Date(_0x5b1639['createdAt']),'attributes':_0x5b1639['attributes'],'fromVersion':_0x5b1639['fromVersion'],'toVersion':_0x5b1639['toVersion']});}['addRevision'](_0x9abf5e,_0x359410=0x0){this['_revisions']['add'](_0x9abf5e,_0x359410);}['getRevision'](_0x3a5c6d){return this['_revisions']['get'](_0x3a5c6d);}['getRevisions'](_0x384aa7={'toJSON':!0x1}){const _0x54adf2=Array['from'](this['_revisions']);return _0x54adf2['reverse'](),_0x384aa7['toJSON']?_0x54adf2['map'](_0x2d136c=>_0x2d136c['toJSON']()):_0x54adf2;}['getIndex'](_0x5dba4f){return this['_revisions']['getIndex'](_0x5dba4f);}['getEarlierVisibleRevision'](_0x2463dd){const [,_0x191bf6]=this['getRevisionsIterator'](_0x2463dd,{'direction':'earlier'});return _0x191bf6;}['getLaterVisibleRevision'](_0x37a2f9){const [,_0x38df32]=this['getRevisionsIterator'](_0x37a2f9,{'direction':'later'});return _0x38df32;}['getRevisionsInDiff'](_0x14949c){const _0x3bc2dc=[];for(const _0x38893e of this['getRevisionsIterator'](_0x14949c['newRevisionId']))if(_0x3bc2dc['push'](_0x38893e),_0x38893e['id']===_0x14949c['oldRevisionId'])break;return _0x3bc2dc;}*['getRevisionsIterator'](_0x52b213,{direction:_0x248c16='earlier',filter:_0x1796c5=_0x36fea6=>!0x0}={}){const _0x25b101='earlier'===_0x248c16?0x1:-0x1;let _0xbad69a=this['_revisions']['get'](_0x52b213),_0x4a1ada=this['getIndex'](_0xbad69a);for(yield _0xbad69a;_0xbad69a;){if(_0x4a1ada+=_0x25b101,_0xbad69a=this['getRevision'](_0x4a1ada),!_0xbad69a)return;_0x1796c5(_0xbad69a)&&(yield _0xbad69a);}}}function y(_0x3ab760,_0x5ca9f0,_0x58849c){const t=_0x3ab760['t'];switch(_0x5ca9f0){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'},_0x58849c);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x58849c);case'Show\x20previous\x20change':return t('Show\x20previous\x20change');case'Show\x20next\x20change':return t('Show\x20next\x20change');case'EDIT_X_OF_Y_REVISIONS':return t({'string':'Edit','id':'EDIT_X_OF_Y_REVISIONS'});case'Total':return t('Total');case'Revision\x20creator':return t('Revision\x20creator');case'Revision\x20author':return t('Revision\x20author');case'Revision\x20name':return t('Revision\x20name');case'Save\x20current\x20revision':return t('Save\x20current\x20revision');case'Save':return t('Save');case'Cancel':return t('Cancel');case'Name\x20of\x20the\x20revision':return t('Name\x20of\x20the\x20revision');case'optional':return t('optional');case'PENDING_ACTION_REVISION_HISTORY':return t({'string':'Unsaved\x20change\x20in\x20revision\x20history.','id':'PENDING_ACTION_REVISION_HISTORY'});case'The\x20revision\x20name\x20cannot\x20be\x20empty.':return t('The\x20revision\x20name\x20cannot\x20be\x20empty.');case'Enter\x20the\x20revision\x20name':return t('Enter\x20the\x20revision\x20name');default:return'';}}const T={'c':_0x497e1c,'a':_0x4d9ed0,'e':_0x1c8404,'r':_0x117945,'u':_0x199255};class l extends _0x15722d{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x358c29,A,_0x4f4cfd];}constructor(_0x3e5df1){super(_0x3e5df1),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 _0x5f5aef=_0x523f17();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5f5aef},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 _0x216ae0=this['repository']['getRevision'](0x0),_0x542a33=_0x216ae0&&null===_0x216ae0['creator']?_0x216ae0:null;if(this['_continueCurrentRevision']=!!_0x542a33&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x47589a=this['_source']['getCurrentRevisionId'](),_0x448acf=this['repository']['getRevision'](_0x47589a);if(_0x448acf)this['_startingVersion']=_0x448acf['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x3180a3=this['_source']['history']['_operations']['find'](_0x2b7ae9=>!_0x2b7ae9['_isInit']),_0x4f29b0=_0x3180a3?_0x3180a3['baseVersion']:this['_source']['history']['version'];_0x216ae0?(_0x216ae0['toVersion']<_0x4f29b0&&_0x216ae0['_update']({'toVersion':_0x4f29b0}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x542a33['id'],this['_startingVersion']=_0x542a33['fromVersion']):(this['_startingVersion']=_0x216ae0['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4f29b0,this['_continueCurrentRevision']=!0x1);}}else _0x542a33&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x542a33['toVersion'],this['editor']['model']['document']['history']['version']),_0x542a33['fromVersion']===_0x542a33['toVersion']?(0x0!==_0x542a33['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x542a33['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x542a33['id'],this['_startingVersion']=_0x542a33['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',_0x3e2918=>!_0x3e2918);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x44ca50=this['repository']['getRevision'](0x0),_0x11e88d=await this['getRevisionDocumentData'](_0x44ca50),_0x4c80ed=await this['getRevisionRootsAttributes'](_0x44ca50);this['_replaceEditorDataWithRevisionData'](_0x11e88d,_0x4c80ed);}}['setSource'](_0x4771cf){this['_source']=_0x4771cf;}async['update'](){const _0x1e12b8=await this['_source']['getLatestVersion']();if(_0x1e12b8>this['currentRevision']['toVersion']){await this['_loadState']();const _0x541b5e=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x1e12b8});_0x541b5e['authors']=_0x541b5e['authorsIds']['map'](_0x4adbac=>this['editor']['plugins']['get']('Users')['getUser'](_0x4adbac)),this['currentRevision']['_update'](_0x541b5e);}}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'](_0xb4a281={},_0x24c4dc=null){const _0x307f61=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x24c4dc>this['currentRevision']['toVersion']&&(_0x24c4dc=null),null===_0x24c4dc&&(_0x24c4dc=await this['_source']['getLatestVersion']());const _0x529d7f=this['_getFromVersion'](_0x24c4dc),_0xd0141f=this['buildRevisionData']({'from':_0x529d7f,'to':_0x24c4dc});if(this['currentRevision']['toVersion']<_0x24c4dc){const _0x5a52eb=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x24c4dc,'to':_0x24c4dc});_0x5a52eb['authors']=[],_0x5a52eb['authorsIds']=[],_0x5a52eb['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5a52eb,!0x0),delete _0x5a52eb['authors'],_0x307f61['push'](_0x5a52eb);}_0xb4a281['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xb4a281['name']=_0xb4a281['name']||null,_0xb4a281['id']=_0xb4a281['id']||_0x523f17(),_0xb4a281={..._0xb4a281,..._0xd0141f};const _0x669c98=this['addRevisionData'](_0xb4a281);_0x307f61['push'](_0xb4a281);const _0x952341=this['repository']['getIndex'](_0x669c98);if(0x0!==_0x952341){const _0x5d15ac=this['repository']['getRevision'](_0x952341-0x1);if(_0x5d15ac['fromVersion']!==_0x24c4dc){const _0x12fd01=this['_revisionDataBuilder']['getData'](_0x24c4dc,_0x5d15ac['toVersion']),_0x2ced5e={'id':_0x5d15ac['id'],'diffData':_0x12fd01['diffData'],'authorsIds':_0x12fd01['authorsIds'],'authors':_0x12fd01['authorsIds']['map'](_0x2891d3=>this['editor']['plugins']['get']('Users')['getUser'](_0x2891d3)),'fromVersion':_0x24c4dc};_0x5d15ac===this['currentRevision']&&(_0x2ced5e['createdAt']=new Date(_0xb4a281['createdAt']['getTime']()+0xa)),_0x5d15ac['_update'](_0x2ced5e,!0x0),delete _0x2ced5e['authors'],_0x307f61['push'](_0x2ced5e);}}if(this['adapter']){for(const _0xc66582 of _0x307f61)this['_bufferUpdate'](_0xc66582['id'],_0xc66582,!0x0);this['sendBufferedUpdates']();}return _0x669c98;}['addRevisionData'](_0x4acfe3){const _0x929547=this['repository']['createRevision'](_0x4acfe3);return this['adapter']&&_0x929547['on']('_update',(_0xdae061,_0x339f86,_0x5f51f5)=>{_0x5f51f5||(this['_bufferUpdate'](_0x339f86['id'],_0x339f86,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x929547,this['_findInsertionIndex'](_0x929547)),_0x929547;}async['getRevisionDocumentData'](_0x24a58c){await this['_loadRevisionData'](_0x24a58c);const _0x25d85a={};for(const _0x2417bb in _0x24a58c['diffData']){if(_0x24a58c['diffData'][_0x2417bb]['attachChange']&&!_0x24a58c['diffData'][_0x2417bb]['attachChange']['isAttached'])continue;const _0x38c06d=this['_removeRevisionMarkers'](JSON['parse'](_0x24a58c['diffData'][_0x2417bb]['insertions'])),_0x33a3f6=this['editor']['editing']['view']['document'],_0x5ab72a=new _0x341735(_0x33a3f6,_0x38c06d['map'](_0x46827e=>B(_0x46827e,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x25d85a[_0x2417bb]=this['editor']['data']['processor']['toData'](_0x5ab72a),this['editor']['data']['processor']['useFillerType']('default');}return _0x25d85a;}async['getRevisionRootsAttributes'](_0x362479){await this['_loadRevisionData'](_0x362479);const _0x5926cc={};for(const _0xa08e7f in _0x362479['diffData'])_0x362479['diffData'][_0xa08e7f]['attachChange']&&!_0x362479['diffData'][_0xa08e7f]['attachChange']['isAttached']||(_0x5926cc[_0xa08e7f]=_0x362479['diffData'][_0xa08e7f]['attributesAfter']||{});return _0x5926cc;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x70f87f=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x4d4d3e=0x0;_0x4d4d3e<_0x70f87f['length'];_0x4d4d3e++){const _0x4a55cb=_0x70f87f[_0x4d4d3e];let _0x4cc3ee=!0x1;for(const _0x4b13ba of Object['keys'](_0x4a55cb))void 0x0===_0x4a55cb[_0x4b13ba]?delete _0x4a55cb[_0x4b13ba]:'id'!==_0x4b13ba&&(_0x4cc3ee=!0x0);_0x4cc3ee||(_0x70f87f[_0x4d4d3e]=null);}if(_0x70f87f=_0x70f87f['filter'](_0x25b4fa=>null!==_0x25b4fa),!_0x70f87f['length'])return;for(let _0x34231d=0x0;_0x34231d<_0x70f87f['length'];_0x34231d++){const _0x23bd30=_0x70f87f[_0x34231d];void 0x0!==_0x23bd30['fromVersion']&&void 0x0===_0x23bd30['toVersion']&&(_0x23bd30['toVersion']=this['repository']['getRevision'](_0x23bd30['id'])['toVersion']),void 0x0!==_0x23bd30['toVersion']&&void 0x0===_0x23bd30['fromVersion']&&(_0x23bd30['fromVersion']=this['repository']['getRevision'](_0x23bd30['id'])['fromVersion']);}const _0x5be8d2=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x70f87f,_0x5be8d2)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4b2fa0=>{if(_0x4b2fa0){for(const _0x5db651 of _0x4b2fa0)this['setRevisionData']({'id':_0x5db651['id'],'createdAt':_0x5db651['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x268cf1,_0x2bf455){let _0x62b64b=this['editor']['config']['get']('initialData'),_0x1049f5=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x62b64b){_0x62b64b={};for(const _0x5504a8 of this['editor']['model']['document']['getRootNames']())_0x62b64b[_0x5504a8]='';}if('string'==typeof _0x62b64b&&(_0x62b64b={'main':_0x62b64b}),void 0x0===_0x1049f5){_0x1049f5={};for(const _0x5146f9 of this['editor']['model']['document']['getRootNames']())_0x1049f5[_0x5146f9]={};}let _0x395589=!0x1;const _0x2766d9=Object['keys'](_0x62b64b),_0x52bd3c=Object['keys'](_0x268cf1);for(const _0x13aeac of _0x2766d9){if(_0x62b64b[_0x13aeac]!==_0x268cf1[_0x13aeac]&&''!==_0x62b64b[_0x13aeac]['trim']()){_0x395589=!0x0;break;}if(!_0x939660(_0x1049f5[_0x13aeac],_0x2bf455[_0x13aeac])&&Object['keys'](_0x1049f5[_0x13aeac])['length']>0x0){_0x395589=!0x0;break;}}_0x395589||(_0x395589=_0x52bd3c['some'](_0x31f9e7=>!this['editor']['model']['document']['getRoot'](_0x31f9e7))),_0x395589&&_0x1e6c57('editor-initial-data-replaced-with-revision-data',{'editorData':_0x62b64b,'editorRootsAttributes':_0x1049f5,'revisionData':_0x268cf1,'revisionRootsAttributes':_0x2bf455}),this['editor']['config']['set']('initialData',_0x268cf1),this['editor']['config']['set']('rootsAttributes',_0x2bf455);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x1aee7d=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x1aee7d['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x39fd30){const _0x2e0fa4=this['repository']['getRevisions']();_0x2e0fa4['reverse']();let _0x4e612a=0x0;for(;_0x4e612a<_0x2e0fa4['length'];){const _0x3f9016=_0x2e0fa4[_0x4e612a];if(_0x3f9016===this['currentRevision']){_0x4e612a++;continue;}if(_0x3f9016['id']===this['_initialRevisionId'])break;const _0x4d6295=_0x39fd30['toVersion']-_0x3f9016['toVersion']||_0x39fd30['fromVersion']-_0x3f9016['fromVersion'];if(_0x4d6295>0x0)break;if(_0x4d6295<0x0)_0x4e612a++;else{if(!_0x39fd30['creator']&&_0x3f9016['creator'])break;if(_0x3f9016['creator']||!_0x39fd30['creator']){if(_0x39fd30['createdAt']>_0x3f9016['createdAt'])break;_0x4e612a++;}else _0x4e612a++;}}return _0x4e612a;}['setRevisionData'](_0x572f55){const _0x52c667=this['repository']['getRevision'](_0x572f55['id']);if(_0x572f55['createdAt']&&(_0x572f55['createdAt']=new Date(_0x572f55['createdAt'])),_0x572f55['authorsIds']){const _0x5926c2=this['editor']['plugins']['get']('Users');_0x572f55['authors']=_0x572f55['authorsIds']['map'](_0x3f214b=>_0x5926c2['getUser'](_0x3f214b));}_0x52c667['_update'](_0x572f55,!0x0);}['buildRevisionData']({revision:_0x58e69b=null,from:_0x512296=null,to:_0x5c06a2=null}){_0x512296=null!==_0x512296?_0x512296:_0x58e69b['fromVersion'],_0x5c06a2=null!==_0x5c06a2?_0x5c06a2:_0x58e69b['toVersion'];const _0xa9abfd=this['_revisionDataBuilder']['getData'](_0x512296,_0x5c06a2),_0x121acf={'diffData':_0xa9abfd['diffData'],'authorsIds':_0xa9abfd['authorsIds'],'fromVersion':_0x512296,'toVersion':_0x5c06a2};if(!_0x58e69b||_0x5c06a2!==_0x58e69b['toVersion']){const _0x3d7781=_0x5c06a2-0x1,_0x476299=this['_source']['history']['getOperation'](_0x3d7781);_0x121acf['createdAt']=_0x476299&&_0x476299['createdAt']||new Date();}if(this['_loadedStateData']&&_0x512296===this['_loadedStateData']['fromVersion']){for(const _0x1cbb92 of this['_loadedStateData']['authors'])_0x121acf['authorsIds']['includes'](_0x1cbb92['id'])||_0x121acf['authorsIds']['push'](_0x1cbb92['id']);}return _0x121acf;}['_loadRevisionData'](_0x219967){if(!_0x219967||_0x219967['diffData'])return Promise['resolve']();{const _0x191c80=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x191c80,'revisionId':_0x219967['id']})['then'](_0x230a2f=>{_0x219967['diffData']=_0x230a2f['diffData'];});}}['_bufferUpdate'](_0x57a96f,_0x1059c0,_0x41eacf){if(this['_bufferedUpdates']['has'](_0x57a96f)){const _0x3456f3=this['_bufferedUpdates']['get'](_0x57a96f);_0x1059c0=_0x41eacf?{..._0x3456f3,..._0x1059c0}:{..._0x1059c0,..._0x3456f3};}this['_bufferedUpdates']['set'](_0x57a96f,_0x1059c0);}['_getFromVersion'](_0x23840b){const _0x2272d4=this['repository']['getRevisions']();_0x2272d4['reverse'](),_0x2272d4['shift']();const _0x10b15f=_0x2272d4['find'](_0x59304f=>_0x59304f['toVersion']<=_0x23840b)['toVersion'];return _0x10b15f<this['_startingVersion']?this['_startingVersion']:_0x10b15f;}['_createInitialRevision'](_0x1ac005){const _0x5da32e=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x5da32e)this['_initialRevisionId']=_0x5da32e['id'];else{const _0x7e927a=!this['editor']['model']['document']['roots']['find'](_0x511df8=>this['editor']['model']['hasContent'](_0x511df8)),_0x23f353=this['editor']['plugins']['get']('Users')['me']['id'],_0x2c939e=y(this['editor']['locale'],_0x7e927a?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1ac005,'to':_0x1ac005,'id':this['_initialRevisionId'],'name':_0x2c939e,'creatorId':_0x23f353});}}['_createCurrentRevision'](_0x1b9d8e){const _0x423eaf=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x423eaf),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x1b9d8e,'to':_0x1b9d8e,'id':_0x423eaf,'name':'','creatorId':null}));}['_makeRevision']({name:_0x39872a,from:_0x528ea6,to:_0x1f4690,creatorId:_0x5d4341,id:_0x10a31e}){const _0x32a705=this['buildRevisionData']({'from':_0x528ea6,'to':_0x1f4690});_0x32a705['name']=_0x39872a,_0x32a705['creatorId']=_0x5d4341,_0x32a705['id']=_0x10a31e;const _0x244fb3=this['addRevisionData'](_0x32a705);return this['adapter']&&this['_bufferUpdate'](_0x32a705['id'],_0x32a705,!0x0),_0x244fb3;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x56f673){return(_0x56f673=_0x56f673['filter'](_0x55ef52=>!_0x55ef52['name']||'revision-start'!==_0x55ef52['name']&&'revision-end'!==_0x55ef52['name']))['forEach'](_0x959735=>{'string'!=typeof _0x959735&&(_0x959735['children']=this['_removeRevisionMarkers'](_0x959735['children']),_0x959735['attributes']=_0x959735['attributes']['filter'](_0x855cda=>!_0x855cda[0x0]['startsWith']('data-revision-')));}),_0x56f673;}}function B(_0x208927,_0x182461){const _0x359c0a=_0x182461['editing']['view']['document'];if('string'==typeof _0x208927)return new _0x1ff27e(_0x359c0a,_0x208927);{const _0x31ec59=_0x208927['children']['map'](_0x5d6175=>B(_0x5d6175,_0x182461));return new(T[_0x208927['type']]||_0x4552e8)(_0x359c0a,_0x208927['name'],_0x208927['attributes'],_0x31ec59);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x33511c){this['editor']=_0x33511c,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'](_0x2acf62){this['source']=_0x2acf62;const _0x5f3ea6=new Map(),_0x2a492d=new Map(),_0x5ecee4=this['editor']['model']['document']['roots']['map'](_0x3ba3f2=>_0x3ba3f2['rootName']);for(const _0x1ca0f2 of _0x5ecee4){const _0x3ef308=this['editor']['model']['document']['getRoot'](_0x1ca0f2),_0x2e54e3=q(_0x3ef308);_0x5f3ea6['set'](_0x1ca0f2,_0x2e54e3),_0x2a492d['set'](_0x1ca0f2,Object['fromEntries'](_0x3ef308['getAttributes']()));}const _0x302c4e=Array['from'](this['editor']['model']['markers'])['map'](_0x246b39=>[_0x246b39['name'],_0x246b39['getRange']()]),_0x3b1bf9=this['source']['version'];this['_saveMetaData'](_0x3b1bf9,_0x5f3ea6,_0x302c4e,_0x2a492d),this['_startingRevisionId']=this['_revisionId'];const _0x40a264=new Map(),_0x4c2261=new Map();for(const _0xc901d2 of _0x5ecee4){const _0x4d6f71=G(_0xc901d2);_0x40a264['set'](_0xc901d2,_0x4d6f71),_0x4c2261['set'](_0xc901d2,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x40a264,[],_0x4c2261);}['getData'](_0x15474e,_0xf3014a){if(this['_lastFrom']===_0x15474e&&this['_lastTo']<=_0xf3014a)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0xf3014a,!0x0);else{if(!this['_savedMetaData']['has'](_0x15474e)){const _0x9df1b3=this['_getPreviousFrom'](_0x15474e);this['_calculateMetaData'](_0x9df1b3,_0x15474e,!0x1);}this['_calculateMetaData'](_0x15474e,_0xf3014a,!0x0);}return this['_lastFrom']=_0x15474e,this['_lastTo']=_0xf3014a,this['_getState']();}['loadState'](_0x51602e){this['_reset'](),this['_lastFrom']=_0x51602e['fromVersion'],this['_lastTo']=_0x51602e['toVersion'];for(const _0x4493fe in _0x51602e['diffData']){const _0x1f7187=_0x51602e['diffData'][_0x4493fe]['attachChange'],_0x1359b5=_0x11fb1e(_0x51602e['diffData'][_0x4493fe]['attributesBefore'])||{},_0x5e298e=this['_makeModelFromViewString'](_0x51602e['diffData'][_0x4493fe]['deletions']);_0x5e298e['rootName']=_0x4493fe,_0x5e298e['_isAttached']=!_0x1f7187||!_0x1f7187['isAttached'],_0x5e298e['isAttached']=()=>_0x5e298e['_isAttached'],this['_baseRoots']['set'](_0x4493fe,_0x5e298e),this['_baseRootsAttributes']['set'](_0x4493fe,_0x1359b5),_0x1f7187&&this['_touchedRoots']['set'](_0x4493fe,_0x1f7187);const _0x25bc1e=this['_makeIdsRoot'](_0x5e298e);this['_baseIdsRoots']['set'](_0x4493fe,_0x25bc1e);for(const [_0x4c41eb,_0x491849]of _0x5e298e['markers']){if(!_0x4c41eb['startsWith']('revision:'))continue;const _0x29a51e=_0x4c41eb['split'](':')[0x2];for(const _0x5cd636 of _0x491849['getWalker']({'singleCharacters':!0x0})){const _0x33fe9e=this['_getVidAttributeName'](_0x5cd636),_0xf36ce9='elementEnd'==_0x5cd636['type']?_0x5cd636['previousPosition']['path']['slice'](0x0,-0x1):_0x5cd636['previousPosition']['path'],_0x30d8f6=_0x25bc1e['getNodeByPath'](_0xf36ce9)['getAttribute'](_0x33fe9e);this['_touched']['set'](_0x30d8f6,{'userId':_0x29a51e});}}}this['_startingRevisionId']=this['_revisionId'];const _0x4b1a9d=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x403205=>!this['_touched']['has'](_0x403205));let _0x158a48=0x0;const _0x4ec603=new Map();for(const _0x486124 in _0x51602e['diffData']){const _0x1f8361=_0x51602e['diffData'][_0x486124]['attachChange'],_0x3cf34f=_0x11fb1e(_0x51602e['diffData'][_0x486124]['attributesAfter'])||{},_0x475d61=this['_makeModelFromViewString'](_0x51602e['diffData'][_0x486124]['insertions']);_0x475d61['rootName']=_0x486124,_0x475d61['_isAttached']=!_0x1f8361||_0x1f8361['isAttached'],_0x475d61['isAttached']=()=>_0x475d61['_isAttached'],this['_diffRoots']['set'](_0x486124,_0x475d61),this['_diffRootsAttributes']['set'](_0x486124,_0x3cf34f);const _0x5e820e=this['_makeIdsRoot'](_0x475d61,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x486124,_0x5e820e),_0x4ec603['set'](_0x486124,_0x475d61['isAttached']()?_0x3cf34f:{});for(const [_0x3476aa,_0xaafa5e]of _0x475d61['markers']){if(!_0x3476aa['startsWith']('revision:'))continue;const _0x2c529a=_0x3476aa['split'](':')[0x2];for(const _0x53a52d of _0xaafa5e['getWalker']({'singleCharacters':!0x0})){const _0x4df206=this['_getVidAttributeName'](_0x53a52d),_0x9d5aff=this['_revisionId']++,_0x5f5a63='elementEnd'==_0x53a52d['type']?_0x53a52d['previousPosition']['path']['slice'](0x0,-0x1):_0x53a52d['previousPosition']['path'];_0x5e820e['getNodeByPath'](_0x5f5a63)['_setAttribute'](_0x4df206,_0x9d5aff),this['_touched']['set'](_0x9d5aff,{'userId':_0x2c529a});}}for(const _0x1f7b21 of this['editor']['model']['createRangeIn'](_0x475d61)['getWalker']({'singleCharacters':!0x0})){const _0xa3dfbb=this['_getVidAttributeName'](_0x1f7b21),_0x46a620='elementEnd'==_0x1f7b21['type']?_0x1f7b21['previousPosition']['path']['slice'](0x0,-0x1):_0x1f7b21['previousPosition']['path'],_0x1c5176=_0x5e820e['getNodeByPath'](_0x46a620);_0x1c5176['getAttribute'](_0xa3dfbb)>0x0||_0x1c5176['_setAttribute'](_0xa3dfbb,_0x4b1a9d[_0x158a48++]);}for(const [_0x6489e8,_0x3f08fd]of _0x475d61['markers'])_0x6489e8['startsWith']('revision:')||this['_markers']['set'](_0x6489e8,_0x3f08fd);}const _0x352dde=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x352dde),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x352dde,0x1));const _0x724fa1=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x724fa1),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x724fa1,0x1));const _0x567ee0=Array['from'](this['_diffRoots'])['map'](([_0x519256,_0x48d6f4])=>[_0x519256,q(_0x48d6f4)]);this['_saveMetaData'](this['_lastTo'],_0x567ee0,this['_markers'],_0x4ec603);}['_makeModelFromViewString'](_0x1fc153){const _0x365d40=JSON['parse'](_0x1fc153),_0x342173=this['editor']['editing']['view']['document'],_0x285082=new _0x341735(_0x342173,_0x365d40['map'](_0x3dd1e8=>B(_0x3dd1e8,this['editor'])));return this['editor']['data']['toModel'](_0x285082);}['_saveMetaData'](_0x3d789d,_0x1b23b4,_0xd1e5bf,_0x16fae3){const _0x566a6f=new Map(_0x1b23b4),_0x46c203=new Map(_0x11fb1e(_0x16fae3)),_0x202964=new Map();for(const [_0x1776e8,_0x30fb14]of _0xd1e5bf)_0x202964['set'](_0x1776e8,{'start':_0x30fb14['start']['clone'](),'end':_0x30fb14['end']['clone'](),'rootName':_0x30fb14['root']['rootName']});this['_savedMetaData']['set'](_0x3d789d,{'roots':_0x566a6f,'markers':_0x202964,'rootsAttributes':_0x46c203});}['_removeMetaData'](_0xc7e00f){this['_savedMetaData']['delete'](_0xc7e00f);}['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'](_0x96ab8c,_0x2564e=null){let _0x47b123=null;_0x96ab8c['is']('documentFragment')||(_0x47b123=new ft(_0x96ab8c['name'],{'vid_start':null===_0x2564e?this['_revisionId']++:_0x2564e++}));const _0x5eb526=[];for(const _0x10a35d of _0x96ab8c['getChildren']())if(_0x10a35d['is']('element')){_0x5eb526['push'](this['_makeIdsRoot'](_0x10a35d,_0x2564e));const _0x22c016=_0x5eb526[_0x5eb526['length']-0x1];null!==_0x2564e&&(_0x2564e=_0x22c016['is']('element','$text')?_0x22c016['getAttribute']('vid')+0x1:_0x22c016['getAttribute']('vid_end')+0x1);}else{for(let _0x5e2e42=0x0;_0x5e2e42<_0x10a35d['offsetSize'];_0x5e2e42++)_0x5eb526['push'](new ft('$text',{'vid':null===_0x2564e?this['_revisionId']++:_0x2564e++}));}if(_0x96ab8c['is']('documentFragment')){const _0x560d80=G(_0x96ab8c['rootName']);return _0x560d80['_insertChild'](0x0,_0x5eb526),_0x560d80;}return _0x47b123['_setAttribute']('vid_end',null===_0x2564e?this['_revisionId']++:_0x2564e++),_0x47b123['_insertChild'](0x0,_0x5eb526),_0x47b123;}['_calculateMetaData'](_0x57e585,_0x32880d,_0x3701a0){this['_reset']();const {roots:_0xcb3fc3,markers:_0x34c9fa,rootsAttributes:_0x1ddcd3}=this['_savedMetaData']['get'](_0x57e585);this['_baseRoots']=new Map(_0xcb3fc3),this['_baseRootsAttributes']=new Map(_0x11fb1e(_0x1ddcd3));for(const [_0x3e2693,_0xfdb106]of this['_baseRoots'])if('$graveyard'!==_0x3e2693&&(this['_diffRoots']['set'](_0x3e2693,q(_0xfdb106)),this['_diffRootsAttributes']=new Map(_0x11fb1e(_0x1ddcd3)),_0x3701a0)){const _0x445102=this['_revisionId'];this['_idsRoots']['set'](_0x3e2693,this['_makeIdsRoot'](_0xfdb106)),this['_baseIdsRoots']['set'](_0x3e2693,this['_makeIdsRoot'](_0xfdb106,_0x445102));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3701a0&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xf581bb,_0x2fc543]of _0x34c9fa){const _0x52cc12=this['_baseRoots']['get'](_0x2fc543['rootName']),_0x1291b2=this['_diffRoots']['get'](_0x2fc543['rootName']),_0x28807c=new vt(this['_fixPosition'](_0x2fc543['start'],_0x52cc12),this['_fixPosition'](_0x2fc543['end'],_0x52cc12)),_0x5ef99a=this['_fixRange'](_0x28807c,_0x1291b2);_0x52cc12['markers']['set'](_0xf581bb,_0x28807c),this['_markers']['set'](_0xf581bb,_0x5ef99a);}this['_applyOperations'](_0x57e585,_0x32880d,_0x3701a0);}['_applyOperations'](_0x30de38,_0x34cc2b,_0x2fe210){for(const _0x5e2e99 of this['source']['getOperations'](_0x30de38,_0x34cc2b))this['_handleOperation'](_0x5e2e99,_0x2fe210);for(const _0x557ba1 of this['_diffRoots']['values']())_0x557ba1['markers']['clear']();for(const [_0x423f18,_0xa873fd]of this['_markers']){this['_diffRoots']['get'](_0xa873fd['root']['rootName'])['markers']['set'](_0x423f18,_0xa873fd['clone']());}const _0x123c78=new Map(),_0x181e31=new Map();for(const [_0xc2b3a7,_0x14e884]of this['_diffRoots'])_0x123c78['set'](_0xc2b3a7,q(_0x14e884)),_0x181e31['set'](_0xc2b3a7,this['_diffRootsAttributes']['get'](_0xc2b3a7));this['_saveMetaData'](_0x34cc2b,_0x123c78,this['_markers'],_0x181e31);}['_getPreviousFrom'](_0x443847){const _0x19315f=Array['from'](this['_savedMetaData']['keys']());_0x19315f['sort']((_0x507aad,_0xc1b1ff)=>_0x507aad-_0xc1b1ff),_0x19315f['reverse']();for(const _0x47c3d0 of _0x19315f)if(_0x47c3d0<_0x443847)return _0x47c3d0;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x8fdfc4,_0x58a09e){const _0x4ee469=Array['from'](_0x58a09e['markers'])['map'](([_0x3f5d8f,_0x57ccba])=>[_0x3f5d8f,this['_fixRange'](_0x57ccba,_0x8fdfc4)]);_0x8fdfc4['markers']=new Map(_0x4ee469);}['_transformMarkers'](_0x5bd6a6){for(const _0x4fd452 of this['_markers']['values']()){const _0xbaf2c4=_0x4fd452['getTransformedByOperation'](_0x5bd6a6),_0x249fe7=vt['_createFromRanges'](_0xbaf2c4);_0x4fd452['start']=_0x249fe7['start'],_0x4fd452['end']=_0x249fe7['end'];}}['_handleOperation'](_0x927f09,_0x525a15){if('addRoot'==_0x927f09['type']||'detachRoot'==_0x927f09['type'])return void this['_handleRootOperation'](_0x927f09,_0x525a15);if('insert'==_0x927f09['type']){const _0x1d9ebb=_0x927f09['position']['root']['rootName'];this['_diffRoots']['has'](_0x1d9ebb)||(this['_diffRoots']['set'](_0x1d9ebb,G(_0x1d9ebb,!0x0)),this['_diffRootsAttributes']['set'](_0x1d9ebb,{}),_0x525a15&&this['_idsRoots']['set'](_0x1d9ebb,G(_0x1d9ebb,!0x0)));}else{if('addRootAttribute'==_0x927f09['type']||'removeRootAttribute'==_0x927f09['type']||'changeRootAttribute'==_0x927f09['type'])return void this['_handleRootAttributeOperation'](_0x927f09);}const _0x2c0643=this['_cloneOperation'](_0x927f09,this['_diffRoots']);if('marker'!==_0x927f09['type']&&(_0x2c0643['_execute'](),this['_transformMarkers'](_0x2c0643)),_0x525a15)switch(_0x2c0643['type']){case'insert':this['_handleInsertOperation'](_0x927f09);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x927f09);break;case'merge':this['_handleMergeOperation'](_0x927f09);break;case'split':this['_handleSplitOperation'](_0x927f09);break;case'marker':this['_handleMarkerOperation'](_0x927f09);}}['_cloneOperation'](_0x11e2a9,_0x39c877){const _0x59d96e=_0x11e2a9['clone']();return _0x59d96e['_authorId']=_0x11e2a9['_authorId'],this['_fixOperation'](_0x59d96e,_0x39c877),_0x59d96e;}['_getBaseVids'](_0x4f08a5){return _0x4f08a5['map'](_0x7015ea=>{const _0x1f4258=this['_getVidAttributeName'](_0x7015ea);return Number(_0x7015ea['item']['getAttribute'](_0x1f4258));});}['_generateTape'](_0x562fd1,_0x17a886){if(_0x562fd1['is']('element','$text'))_0x17a886['push']({'item':_0x562fd1,'type':'text'});else{_0x562fd1['is']('element')&&_0x17a886['push']({'item':_0x562fd1,'type':'elementStart'});for(const _0x2c8e15 of _0x562fd1['getChildren']())this['_generateTape'](_0x2c8e15,_0x17a886);_0x562fd1['is']('element')&&_0x17a886['push']({'item':_0x562fd1,'type':'elementEnd'});}return _0x17a886;}['_getState'](){const _0x551d06=new Map(this['_touched']),_0x4eee0a=new Map(_0x551d06),_0x17547b=new Map(),_0x4c3e8a={'insertions':{},'deletions':{}},_0x4c7739={'insertions':{},'deletions':{}},_0x4b6f4e=new Map(),_0x5816f9=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x5816f9['delete']('$graveyard');for(const _0x339dbd of _0x5816f9){const _0x36e343=this['_diffRoots']['get'](_0x339dbd)||G(_0x339dbd,!0x1),_0x15c44e=this['_baseRoots']['get'](_0x339dbd)||G(_0x339dbd,!0x1);_0x36e343['isAttached']()||_0x15c44e['isAttached']()?(_0x4c3e8a['insertions'][_0x339dbd]=q(_0x36e343),_0x4c3e8a['deletions'][_0x339dbd]=q(_0x15c44e),this['_copyMarkers'](_0x4c3e8a['deletions'][_0x339dbd],_0x15c44e),this['_copyMarkers'](_0x4c3e8a['insertions'][_0x339dbd],_0x36e343),_0x4c7739['insertions'][_0x339dbd]=this['_generateTape'](this['_idsRoots']['get'](_0x339dbd),[]),_0x4c7739['deletions'][_0x339dbd]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x339dbd)||G(_0x339dbd,!0x1),[])):_0x5816f9['delete'](_0x339dbd);}for(const _0xc41748 of _0x5816f9){const _0x476e1d=_0x4c7739['insertions'][_0xc41748];for(const _0x50f6cb of _0x476e1d){const _0xeef820=this['_getVidAttributeName'](_0x50f6cb),_0x26c3f9=_0x50f6cb['item']['getAttribute'](_0xeef820);_0x4eee0a['delete'](_0x26c3f9),_0x26c3f9>=this['_startingRevisionId']&&_0x17547b['set'](_0x26c3f9,_0x551d06['get'](_0x26c3f9));}}for(const _0x3aa204 of _0x5816f9){const _0x5b9edf=_0x4c7739['insertions'][_0x3aa204],_0x128b03=this['_getBaseVids'](_0x4c7739['deletions'][_0x3aa204]);let _0x3567d8=0x0;for(const _0x26efbb of _0x5b9edf){const _0x498666=this['_getVidAttributeName'](_0x26efbb),_0x32e001=_0x26efbb['item']['getAttribute'](_0x498666);if(!_0x17547b['has'](_0x32e001)&&!_0x4b6f4e['has'](_0x32e001)){if(_0x4eee0a['has'](_0x32e001))_0x3567d8++;else{if(_0x32e001!=_0x128b03[_0x3567d8]){const _0x331a1a=_0x551d06['get'](_0x32e001)||_0x551d06['get'](_0x128b03[_0x3567d8]);for(;_0x32e001!=_0x128b03[_0x3567d8];)_0x4eee0a['has'](_0x128b03[_0x3567d8])||(_0x4b6f4e['set'](_0x128b03[_0x3567d8],_0x331a1a),_0x551d06['set'](_0x128b03[_0x3567d8],_0x331a1a)),_0x3567d8++;}_0x3567d8++;}}}}for(const _0x19e945 of _0x5816f9){const _0x2be3ce=_0x4c7739['insertions'][_0x19e945];for(const _0x5d9232 of _0x2be3ce){const _0xa97df3=this['_getVidAttributeName'](_0x5d9232),_0x13cb69=_0x5d9232['item']['getAttribute'](_0xa97df3);if(_0x4b6f4e['has'](_0x13cb69)){const _0x12e8cd=_0x4b6f4e['get'](_0x13cb69);_0x4eee0a['has'](_0x13cb69)||_0x4eee0a['set'](_0x13cb69,{..._0x12e8cd}),_0x17547b['set'](_0x13cb69,{..._0x12e8cd});}}}for(const _0x572020 of _0x4eee0a['keys']())_0x572020>=this['_startingRevisionId']&&_0x4eee0a['delete'](_0x572020);const _0x2a92cc=new Map();for(const _0x55a68b of _0x5816f9){let _0x3f8bd1=_0x4c7739['insertions'][_0x55a68b];for(const _0x34faa2 of _0x3f8bd1)if(_0x34faa2['item']['is']('element','tableCell')){const _0x3b1780=this['_getVidAttributeName'](_0x34faa2),_0x461c1a=_0x34faa2['item']['getAttribute'](_0x3b1780);if(_0x17547b['has'](_0x461c1a)){const _0x13fb6c=_0x34faa2['item']['parent']['parent']['getAttribute']('vid_start'),_0x3e7d97=_0x2a92cc['get'](_0x13fb6c)||new Set();_0x3e7d97['add'](_0x17547b['get'](_0x461c1a)['userId']),_0x2a92cc['set'](_0x13fb6c,_0x3e7d97);}}_0x3f8bd1=_0x4c7739['deletions'][_0x55a68b];for(const _0xaa1182 of _0x3f8bd1)if(_0xaa1182['item']['is']('element','tableCell')){const _0x508b75=this['_getVidAttributeName'](_0xaa1182),_0x25d0c4=_0xaa1182['item']['getAttribute'](_0x508b75);if(_0x4eee0a['has'](_0x25d0c4)){const _0x581fbd=_0xaa1182['item']['parent']['parent']['getAttribute']('vid_start'),_0x2e30f1=_0x2a92cc['get'](_0x581fbd)||new Set();_0x2e30f1['add'](_0x4eee0a['get'](_0x25d0c4)['userId']),_0x2a92cc['set'](_0x581fbd,_0x2e30f1);}}for(const _0x13960b of _0x2a92cc['keys']())(_0x17547b['has'](_0x13960b)||_0x4eee0a['has'](_0x13960b))&&_0x2a92cc['delete'](_0x13960b);}for(const _0x436b0b of _0x5816f9){const _0x303503=_0x4c7739['insertions'][_0x436b0b];let _0xbb6de6=null,_0x57a93c=null;for(const _0x150c4f of _0x303503){const _0x5c6ad1=this['_getVidAttributeName'](_0x150c4f),_0xc6cda6=_0x150c4f['item']['getAttribute'](_0x5c6ad1),_0x3791c9=_0x2a92cc['get'](_0xc6cda6);_0x3791c9&&'elementStart'==_0x150c4f['type']&&(_0xbb6de6=Array['from'](_0x3791c9)[0x0],_0x57a93c=_0x150c4f['item']['getAttribute']('vid_end')),_0xbb6de6&&(_0x4eee0a['set'](_0xc6cda6,{'userId':_0xbb6de6}),_0x17547b['set'](_0xc6cda6,{'userId':_0xbb6de6})),_0xc6cda6==_0x57a93c&&(_0xbb6de6=null,_0x57a93c=null);}}const _0x14e68d={},_0x2d986=new Set();for(const _0x53326d of _0x5816f9){const _0x3fecd4=_0x4c3e8a['deletions'][_0x53326d],_0x45916a=_0x4c3e8a['insertions'][_0x53326d];for(const {userId:_0x256a2a}of this['_touchedMarkers']['values']())null!==_0x256a2a&&_0x2d986['add'](_0x256a2a);for(const {userId:_0xe34b5f}of this['_touchedRoots']['values']())null!==_0xe34b5f&&_0x2d986['add'](_0xe34b5f);this['_markChanges'](_0x45916a,_0x4c7739['insertions'][_0x53326d],_0x17547b,'insertion',_0x2d986),this['_markChanges'](_0x3fecd4,_0x4c7739['deletions'][_0x53326d],_0x4eee0a,'deletion',_0x2d986),_0x14e68d[_0x53326d]={'insertions':this['_prepareViewToSave'](_0x45916a),'deletions':this['_prepareViewToSave'](_0x3fecd4),'attachChange':this['_touchedRoots']['get'](_0x53326d)||null,'attributesBefore':_0x11fb1e(this['_baseRootsAttributes']['get'](_0x53326d))||{},'attributesAfter':_0x11fb1e(this['_diffRootsAttributes']['get'](_0x53326d))};}return{'diffData':_0x14e68d,'authorsIds':Array['from'](_0x2d986)};}['_processRootBeforeSave'](_0x7f9b27){for(const [,_0x5c3909]of _0x7f9b27['markers']){const _0x53839f=_0x5c3909['start']['getAncestors']()['filter'](_0x2c1419=>'tableCell'==_0x2c1419['name']);for(const _0x665dd8 of _0x53839f)0x1==_0x665dd8['childCount']&&_0x665dd8['getChild'](0x0)['is']('element','paragraph')&&_0x665dd8['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4115dd){this['_processRootBeforeSave'](_0x4115dd);const _0x29518d=this['editor']['data']['toView'](_0x4115dd,{}),_0x38ba84=Array['from'](_0x29518d['getChildren']())['map'](_0x28bcc0=>this['_getViewJson'](_0x28bcc0));return JSON['stringify'](_0x38ba84);}['_getViewJson'](_0x50464e){if(_0x50464e['is']('$text'))return _0x50464e['data'];{const _0x4394cd=_0x50464e;return{'type':Object['keys'](T)['find'](_0xaf4de7=>_0x50464e instanceof T[_0xaf4de7]),'name':_0x4394cd['name'],'attributes':Array['from'](_0x4394cd['getAttributes']()),'children':Array['from'](_0x4394cd['getChildren']())['map'](_0x236306=>this['_getViewJson'](_0x236306))};}}['_markChanges'](_0xa69df0,_0x34cacb,_0x4f7fb3,_0x578405,_0x42153a){let _0x1e7739=null,_0x461c8b=null,_0xe9f515=0x0;const _0x233029=this['editor']['model'];for(let _0x369843=0x0;_0x369843<_0x34cacb['length'];_0x369843++){const _0x2e83b2=this['_getVidAttributeName'](_0x34cacb[_0x369843]),_0x63be81=_0x34cacb[_0x369843]['item']['getAttribute'](_0x2e83b2),_0x460c7e=_0x4f7fb3['get'](_0x63be81),_0xa1c98a=_0x369843==_0x34cacb['length']-0x1;(!_0x1e7739&&_0x460c7e&&(_0x1e7739=_0x460c7e,_0x461c8b=_0x34cacb[_0x369843]),_0x1e7739&&(!_0x460c7e||_0x460c7e['userId']!=_0x1e7739['userId']))&&(_0x5515eb(_0x460c7e,L(_0x461c8b,_0xa69df0,_0x233029),L(_0x34cacb[_0x369843],_0xa69df0,_0x233029)),_0x1e7739=_0x460c7e||null,_0x461c8b=_0x460c7e?_0x34cacb[_0x369843]:null),_0x1e7739&&_0xa1c98a&&_0x5515eb(_0x460c7e,L(_0x461c8b,_0xa69df0,_0x233029),W(_0x34cacb[_0x369843],_0xa69df0,_0x233029));}function _0x5515eb(_0x583b4c,_0x1f7bf9,_0x2d01e6){const _0x47f520=_0x1e7739['userId'],_0x271175='revision:'+_0x578405+':'+_0x47f520+':'+_0xe9f515++,_0x13b9e0=_0x233029['createRange'](_0x1f7bf9,_0x2d01e6);_0xa69df0['markers']['set'](_0x271175,_0x13b9e0),null!==_0x47f520&&_0x42153a['add'](_0x47f520);}}['_getVidAttributeName'](_0x166ffc){switch(_0x166ffc['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x45509b,_0x57d698){_0x45509b['baseVersion']=null;for(const _0x55bc11 in _0x45509b){const _0x5ab021=_0x45509b[_0x55bc11];if(_0x5ab021 instanceof gt){const _0x5f002f=_0x57d698['get'](_0x5ab021['root']['rootName']);_0x45509b[_0x55bc11]=this['_fixPosition'](_0x5ab021,_0x5f002f);}if(_0x5ab021 instanceof vt){const _0x20c773=_0x57d698['get'](_0x5ab021['root']['rootName']);_0x45509b[_0x55bc11]=this['_fixRange'](_0x5ab021,_0x20c773);}'root'===_0x55bc11&&(_0x45509b['root']=_0x57d698['get'](_0x45509b['root']['rootName']));}}['_fixRange'](_0x1d547e,_0x34cac0){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1d547e['start'],_0x34cac0),this['_fixPosition'](_0x1d547e['end'],_0x34cac0));}['_fixPosition'](_0x412f56,_0x1b2bcc){return this['editor']['model']['createPositionFromPath'](_0x1b2bcc,_0x412f56['path'],_0x412f56['stickiness']);}['_handleInsertOperation'](_0x17d273){const _0x38841e=this['_idsRoots']['get'](_0x17d273['position']['root']['rootName']),_0x9ee787=this['_fixPosition'](_0x17d273['position'],_0x38841e),_0x3866ad=null===_0x17d273['_authorId']?null:_0x17d273['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5e8880=_0x9ee787['parent'],_0xcdd41=this['_revisionId'],_0x1aff39=[];for(const _0x308508 of _0x17d273['nodes'])if(_0x308508['is']('element'))_0x1aff39['push'](this['_makeIdsRoot'](_0x308508));else{for(let _0x3f4d1f=0x0;_0x3f4d1f<_0x308508['offsetSize'];_0x3f4d1f++)_0x1aff39['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x937dc9=this['_revisionId'];for(let _0x372db1=_0xcdd41;_0x372db1<_0x937dc9;_0x372db1++)this['_touched']['set'](_0x372db1,{'userId':_0x3866ad});_0x5e8880['_insertChild'](_0x9ee787['offset'],_0x1aff39);}['_handleMoveOperation'](_0xc445c4){(_0xc445c4=this['_cloneOperation'](_0xc445c4,this['_idsRoots']))['_execute']();const _0x5db096=null===_0xc445c4['_authorId']?null:_0xc445c4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x280aa7=_0xc445c4['getMovedRangeStart'](),_0x1041bb=_0x280aa7['parent'],_0x79d6e9=_0x280aa7['offset'];!function _0xb7e529(_0x30adbe,_0x1b2e42,_0x5a8b2c,_0x18bf80){for(let _0x4d5703=_0x5a8b2c;_0x4d5703<_0x18bf80;_0x4d5703++){const _0x17314c=_0x1b2e42['getChild'](_0x4d5703);_0x17314c['is']('element','$text')?_0x30adbe['set'](_0x17314c['getAttribute']('vid'),{'userId':_0x5db096}):(_0x30adbe['set'](_0x17314c['getAttribute']('vid_start'),{'userId':_0x5db096}),_0xb7e529(_0x30adbe,_0x17314c,0x0,_0x17314c['childCount']),_0x30adbe['set'](_0x17314c['getAttribute']('vid_end'),{'userId':_0x5db096}));}}(this['_touched'],_0x1041bb,_0x79d6e9,_0x79d6e9+_0xc445c4['howMany']);}['_handleMergeOperation'](_0x62ad13){const _0x54e231=null===(_0x62ad13=this['_cloneOperation'](_0x62ad13,this['_idsRoots']))['_authorId']?null:_0x62ad13['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4abdb4=_0x62ad13['targetPosition']['parent'],_0x195a0e=_0x62ad13['sourcePosition']['parent'],_0x5a91bb=_0x4abdb4['getAttribute']('vid_end'),_0x3f0586=_0x195a0e['getAttribute']('vid_start');_0x4abdb4['_setAttribute']('vid_end',_0x195a0e['getAttribute']('vid_end')),_0x195a0e['_setAttribute']('vid_end',_0x5a91bb),this['_touched']['set'](_0x3f0586,{'userId':_0x54e231}),this['_touched']['set'](_0x5a91bb,{'userId':_0x54e231}),_0x62ad13['_execute']();}['_handleSplitOperation'](_0x540192){const _0x4daa4b=null===(_0x540192=this['_cloneOperation'](_0x540192,this['_idsRoots']))['_authorId']?null:_0x540192['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3dd248=_0x540192['graveyardPosition'],_0x351a08=_0x540192['splitPosition']['parent'];_0x540192['_execute']();const _0x2ebe28=_0x351a08['getAttribute']('vid_end'),_0x504197=_0x540192['insertionPosition']['nodeAfter'];if(_0x3dd248){const _0x18b390=_0x504197['getAttribute']('vid_end'),_0x13aacd=_0x351a08['getAttribute']('vid_end');_0x351a08['_setAttribute']('vid_end',_0x18b390),_0x504197['_setAttribute']('vid_end',_0x13aacd),this['_touched']['set'](_0x351a08['getAttribute']('vid_end'),{'userId':_0x4daa4b}),this['_touched']['set'](_0x504197['getAttribute']('vid_start'),{'userId':_0x4daa4b});}else{const _0x3d6ff2=this['_revisionId']++,_0x5927e0=this['_revisionId']++;_0x351a08['_setAttribute']('vid_end',_0x3d6ff2),_0x504197['_setAttribute']('vid_start',_0x5927e0),_0x504197['_setAttribute']('vid_end',_0x2ebe28),this['_touched']['set'](_0x3d6ff2,{'userId':_0x4daa4b}),this['_touched']['set'](_0x5927e0,{'userId':_0x4daa4b});}}['_handleMarkerOperation'](_0x553768){if(!_0x553768['affectsData'])return;const _0x5967bf=(_0x553768=this['_cloneOperation'](_0x553768,this['_diffRoots']))['oldRange']?_0x553768['oldRange']['root']:null,_0x4a12a1=_0x553768['newRange']?_0x553768['newRange']['root']:null;_0x5967bf&&this['_markers']['delete'](_0x553768['name']),_0x4a12a1&&this['_markers']['set'](_0x553768['name'],_0x553768['newRange']['clone']());const _0x56d7b9=null===_0x553768['_authorId']?null:_0x553768['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x33c25b=_0x553768['name'];if(!this['_touchedMarkers']['has'](_0x33c25b))return void this['_touchedMarkers']['set'](_0x33c25b,{'range':_0x553768['oldRange'],'userId':_0x56d7b9});const _0x31a75c=this['_touchedMarkers']['get'](_0x33c25b),_0x3c2807=_0x31a75c['range'],_0x40ad64=_0x553768['newRange'];null==_0x3c2807&&null==_0x40ad64||_0x3c2807&&_0x40ad64&&_0x3c2807['isEqual'](_0x40ad64)?this['_touchedMarkers']['delete'](_0x553768['name']):_0x31a75c['userId']=_0x56d7b9;}['_handleRootOperation'](_0x4baa86,_0x34673e){this['_diffRoots']['has'](_0x4baa86['rootName'])?this['_diffRoots']['get'](_0x4baa86['rootName'])['_isAttached']=_0x4baa86['isAdd']:(this['_diffRoots']['set'](_0x4baa86['rootName'],G(_0x4baa86['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4baa86['rootName'],{}),_0x34673e&&this['_idsRoots']['set'](_0x4baa86['rootName'],G(_0x4baa86['rootName'],!0x0)));const _0x19ac0c=null===_0x4baa86['_authorId']?null:_0x4baa86['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2cde2f=this['_touchedRoots']['get'](_0x4baa86['rootName']);_0x2cde2f&&_0x2cde2f['userId']===_0x19ac0c?this['_touchedRoots']['delete'](_0x4baa86['rootName']):this['_touchedRoots']['set'](_0x4baa86['rootName'],{'userId':_0x19ac0c,'isAttached':_0x4baa86['isAdd']});}['_handleRootAttributeOperation'](_0x2161a5){const _0x39645e=this['_diffRootsAttributes']['get'](_0x2161a5['root']['rootName']);null===_0x2161a5['newValue']?delete _0x39645e[_0x2161a5['key']]:_0x39645e[_0x2161a5['key']]=_0x2161a5['newValue'];}}function q(_0x35df77){const _0xa9e75=G(_0x35df77['rootName'],_0x35df77['isAttached']());for(const _0x39d8b2 of _0x35df77['getChildren']()){const _0x182e4c=_0x39d8b2['_clone'](!0x0);_0xa9e75['_appendChild'](_0x182e4c);}return _0xa9e75;}function G(_0x57c5d5,_0x377db4=!0x0){const _0x9ca9d=new wt();return _0x9ca9d['rootName']=_0x57c5d5,_0x9ca9d['_isAttached']=_0x377db4,_0x9ca9d['isAttached']=()=>_0x9ca9d['_isAttached'],_0x9ca9d;}function L(_0x39bdc9,_0x829df9,_0x5c1edf){const _0x182526='elementEnd'==_0x39bdc9['type']?_0x5c1edf['createPositionAt'](_0x39bdc9['item'],'end'):_0x5c1edf['createPositionBefore'](_0x39bdc9['item']);return _0x5c1edf['createPositionFromPath'](_0x829df9,_0x182526['path'],_0x182526['stickiness']);}function W(_0x5387e8,_0x45036f,_0x19785b){const _0x15f2b3='elementStart'==_0x5387e8['type']?_0x19785b['createPositionAt'](_0x5387e8['item'],0x0):_0x19785b['createPositionAfter'](_0x5387e8['item']);return _0x19785b['createPositionFromPath'](_0x45036f,_0x15f2b3['path'],_0x15f2b3['stickiness']);}class ns extends _0x34a233{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x3ed2c4,_0x57ba35){super(_0x3ed2c4),this['focusTracker']=new _0x1c2719(),this['keystrokes']=new _0x2d7b3e(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x57ba35),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'](),_0x2f6a07({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x53c53d=_0xa04c94=>_0xa04c94['stopPropagation']();this['keystrokes']['set']('arrowright',_0x53c53d),this['keystrokes']['set']('arrowleft',_0x53c53d),this['keystrokes']['set']('arrowup',_0x53c53d),this['keystrokes']['set']('arrowdown',_0x53c53d);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x420176){this['revisionNameInputView']['fieldView']['element']['value']=_0x420176['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xc999d6){const _0x4a85db=new at(this['locale'],_0x30bbd3),_0x5a0caa=_0x4a85db['fieldView'];_0x5a0caa['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x2eb687=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xc999d6&&(_0x2eb687+='\x20('+y(this['locale'],'optional')+')'),(_0x4a85db['label']=_0x2eb687,_0x5a0caa['on']('input',()=>{this['revisionNameInputValue']=_0x5a0caa['element']['value']['trim']();}),_0x4a85db);}}class u extends _0x15722d{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x3f1af3=this['editor'],_0x31cf4d=_0x3f1af3['plugins']['get']('RevisionTracker');_0x3f1af3['ui']['componentFactory']['add']('revisionHistory',_0x523997=>{const _0x52cc92=_0x30de5a(_0x523997),_0x5f3526=_0x52cc92['panelView']['children'],_0xfab1b5=new te(_0x523997),_0x1f8369=new _0x3b1bab(_0x523997),_0xc9e643=new _0x302b83(_0x523997),_0x19ca51=new _0x3b1bab(_0x523997),_0x12aaa2=new _0x302b83(_0x523997);return _0x52cc92['bind']('isEnabled')['to'](_0x31cf4d,'isReady',_0x31cf4d,'isEnabled',_0x3f1af3,'isReadOnly',(_0x2750ba,_0x480575,_0x422e00)=>_0x2750ba&&_0x480575&&!_0x422e00),_0x52cc92['buttonView']['set']({'icon':_0x5fb71a['history'],'label':y(_0x523997,'Revision\x20history'),'tooltip':!0x0}),_0xc9e643['set']({'label':y(_0x523997,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0xc9e643['bind']('isEnabled')['to'](_0x31cf4d,'isReady',_0x31cf4d,'isEnabled',_0x3f1af3,'isReadOnly',(_0xfd631b,_0x246f0c,_0x458370)=>_0xfd631b&&_0x246f0c&&!_0x458370),_0xc9e643['on']('execute',()=>this['_showDialog']()),_0x12aaa2['set']({'label':y(_0x523997,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x12aaa2['bind']('isEnabled')['to'](_0x31cf4d,'isReady',_0x3f1af3,'isReadOnly',(_0x28b553,_0x42466e)=>_0x28b553&&!_0x42466e),_0x12aaa2['on']('execute',()=>{_0x3f1af3['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x52cc92['isOpen']=!0x1,_0x3f1af3['editing']['view']['focus']();}),_0x1f8369['children']['add'](_0xc9e643),_0x19ca51['children']['add'](_0x12aaa2),_0xfab1b5['role']='menu',_0xfab1b5['items']['addMany']([_0x1f8369,_0x19ca51]),_0x5f3526['add'](_0xfab1b5),_0x52cc92;}),_0x3f1af3['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x53209f=this['editor'],_0x374f45=_0x53209f['locale'],_0x41db16=new _0x5c6567(_0x374f45),_0x250fb0=new _0x2b162d(_0x374f45);_0x41db16['buttonView']['set']({'icon':_0x5fb71a['history'],'label':y(_0x374f45,'Revision\x20history')});const _0x1f6afd=new _0x496c64(_0x374f45,_0x41db16),_0x16097e=new _0x51ea9f(_0x374f45);_0x16097e['set']({'label':y(_0x374f45,'Save\x20current\x20revision')}),_0x16097e['delegate']('execute')['to'](_0x41db16),_0x16097e['on']('execute',()=>{this['_showDialog']();}),_0x1f6afd['children']['add'](_0x16097e),_0x250fb0['items']['add'](_0x1f6afd);const _0x2b1b15=new _0x496c64(_0x374f45,_0x41db16),_0x1d0522=new _0x51ea9f(_0x374f45);return _0x1d0522['set']({'label':y(_0x374f45,'Open\x20revision\x20history')}),_0x1d0522['delegate']('execute')['to'](_0x41db16),_0x1d0522['on']('execute',()=>{_0x53209f['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2b1b15['children']['add'](_0x1d0522),_0x250fb0['items']['add'](_0x2b1b15),_0x41db16['panelView']['children']['add'](_0x250fb0),_0x41db16;}['_showDialog'](){const _0x208038=this['editor'],_0x58e96f=_0x208038['locale'],t=_0x58e96f['t'],_0x3902c0=_0x208038['plugins']['get']('Dialog'),_0x14e4aa=_0x208038['plugins']['get']('RevisionTracker');function _0x52108d(_0x15da52){_0x208038['config']['get']('revisionHistory.requireRevisionName')&&''===_0x15da52['revisionName']?_0x15da52['revisionNameInputView']['errorText']=y(_0x58e96f,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x208038['plugins']['get'](l)['saveRevision']({'name':_0x15da52['revisionName']}),_0x3902c0['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x52108d(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x3902c0['show']({'id':'revisionSave','title':y(_0x58e96f,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x3902c0['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x324a42){_0x324a42['bind']('isEnabled')['to'](_0x14e4aa,'isReady',_0x14e4aa,'isEnabled',_0x208038,'isReadOnly',(_0x112ef1,_0x34f588,_0x554528)=>_0x112ef1&&_0x34f588&&!_0x554528);},'onExecute':()=>_0x52108d(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x131abb=this['editor'],_0x291611=_0x131abb['locale'];this['_saveRevisionFormView']=new ns(_0x291611,_0x131abb['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x34a233{['changeId'];['_model'];constructor(_0x19f970,_0x2563e7){super(_0x19f970),this['_model']=_0x2563e7,this['changeId']=_0x2563e7['id'];const _0x4da5a6=this['bindTemplate'],_0x5c957e=y(_0x19f970,_0x2563e7['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2563e7['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2563e7['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x4da5a6['to']('type',_0x168c82=>'ck-revision-change__'+_0x168c82)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x5c957e}]},{'text':'\x20'+_0x2563e7['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x3868e0(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x1da0cf){super(),this['id']=_0x1da0cf['id']||_0x523f17(),this['author']=_0x1da0cf['author'],this['type']=_0x1da0cf['type'],this['data']=_0x1da0cf['data']||{},this['rootName']=_0x1da0cf['rootName'],this['set']('createdAt',_0x1da0cf['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(_0x166bbb,_0x1a0ac1){this['newRevisionId']=_0x166bbb,this['oldRevisionId']=_0x1a0ac1,this['changes']=new _0x51c829();}['_setChanges'](_0x235748){for(const _0x362862 of _0x235748)this['changes']['add'](_0x362862);}}const tt={'c':_0x497e1c,'a':_0x4d9ed0,'e':_0x1c8404,'r':_0x117945,'u':_0x199255};class d extends _0x15722d{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x358c29,_0x311e79,A];}constructor(_0x35a9dd){super(_0x35a9dd),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',(_0x4a3c2b,_0x3be7a2,_0x47ec3c)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x19b20c=>{for(const _0x3f76d6 of this['editor']['editing']['view']['document']['roots'])_0x47ec3c?_0x19b20c['removeClass']('ck-editor__editable__overlay',_0x3f76d6):_0x19b20c['addClass']('ck-editor__editable__overlay',_0x3f76d6);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x518956=>null!==_0x518956),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x1af96a,_0x148f4c,_0xbab3fc)=>_0x1af96a&&_0xbab3fc?_0x148f4c['changes']['getIndex'](_0xbab3fc):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x4c37c8,_0xacfaf4)=>_0x4c37c8?_0xacfaf4['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x311e79);}['init'](){const _0x413bd7=this['editor'],_0x211655=new yt(_0x413bd7,{'direction':'backward'}),_0x3e9e7d=new yt(_0x413bd7,{'direction':'forward'});(_0x413bd7['commands']['add']('showPreviousChange',_0x211655),_0x413bd7['commands']['add']('showNextChange',_0x3e9e7d),_0x413bd7['commands']['add']('restoreRevision',new bt(_0x413bd7)),this['on']('change:numberOfChanges',()=>{_0x211655['refresh'](),_0x3e9e7d['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x413bd7['enableReadOnlyMode']('revision-viewer'),_0x413bd7['plugins']['has']('WidgetToolbarRepository'))&&_0x413bd7['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x5c24b5){await this['loadRevisionData'](_0x5c24b5);const _0x36ae86={};for(const _0x18ba80 in _0x5c24b5['diffData']){if(_0x5c24b5['diffData'][_0x18ba80]['attachChange']&&!_0x5c24b5['diffData'][_0x18ba80]['attachChange']['isAttached'])continue;const _0x22843e=this['_removeRevisionMarkers'](JSON['parse'](_0x5c24b5['diffData'][_0x18ba80]['insertions'])),_0x24d1ba=this['editor']['editing']['view']['document'],_0x464f19=new _0x341735(_0x24d1ba,_0x22843e['map'](_0x56dc14=>this['_getViewObj'](_0x56dc14)));this['editor']['data']['processor']['useFillerType']('marked'),_0x36ae86[_0x18ba80]=this['editor']['data']['processor']['toData'](_0x464f19),this['editor']['data']['processor']['useFillerType']('default');}return _0x36ae86;}async['getRevisionRootsAttributes'](_0x43bda5){await this['loadRevisionData'](_0x43bda5);const _0x6a0103={};for(const _0x3ebf93 in _0x43bda5['diffData'])_0x43bda5['diffData'][_0x3ebf93]['attachChange']&&!_0x43bda5['diffData'][_0x3ebf93]['attachChange']['isAttached']||(_0x6a0103[_0x3ebf93]=_0x43bda5['diffData'][_0x3ebf93]['attributesAfter']||{});return _0x6a0103;}['_removeRevisionMarkers'](_0x2491af){return(_0x2491af=_0x2491af['filter'](_0x34ece1=>!_0x34ece1['name']||'revision-start'!==_0x34ece1['name']&&'revision-end'!==_0x34ece1['name']))['forEach'](_0x18528c=>{'string'!=typeof _0x18528c&&(_0x18528c['children']=this['_removeRevisionMarkers'](_0x18528c['children']),_0x18528c['attributes']=_0x18528c['attributes']['filter'](_0x4fd407=>!_0x4fd407[0x0]['startsWith']('data-revision-')));}),_0x2491af;}async['compare'](_0x2b25b3,_0x4cf078,_0x502db4=!0x1){if(!this['isEnabled'])return;const _0x4be315=this['diff'],_0x5ce0cd=this['repository'],_0x563564='string'==typeof _0x2b25b3?_0x5ce0cd['getRevision'](_0x2b25b3):_0x2b25b3,_0x114eac='string'==typeof _0x4cf078?_0x5ce0cd['getRevision'](_0x4cf078):_0x4cf078,_0x4ecf08=_0x563564['id'],_0x7ff46a=_0x114eac?_0x114eac['id']:null;if(!_0x502db4&&this['diff']&&this['diff']['newRevisionId']===_0x4ecf08&&this['diff']['oldRevisionId']===_0x7ff46a)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4ecf08,_0x7ff46a);const _0x126c13=this['_getRevisionsRange'](_0x563564,_0x114eac,!0x0)['map'](_0x1ed60d=>this['loadRevisionData'](_0x1ed60d));return _0x126c13['push'](new Promise(_0x1c24a0=>{setTimeout(_0x1c24a0,0x14);})),Promise['all'](_0x126c13)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x4f2c91=this['_getDiff'](_0x4ecf08,_0x7ff46a);for(const _0x535f7c of _0x4f2c91['changes'])this['_changeIdToChange']['set'](_0x535f7c['id'],_0x535f7c);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x1fc7a0=>{for(const _0x35a129 of this['editor']['model']['document']['getRootNames']())_0x1fc7a0['detachRoot'](_0x35a129);for(const _0x5484e2 of Object['keys'](_0x4f2c91['model'])){const _0x1a1d22=_0x1fc7a0['addRoot'](_0x5484e2);for(const _0x5138fe of Object['keys'](_0x4f2c91['attributes'][_0x5484e2]))_0x1fc7a0['setAttribute'](_0x5138fe,_0x4f2c91['attributes'][_0x5484e2][_0x5138fe],_0x1a1d22);_0x1fc7a0['insert'](_0x4f2c91['model'][_0x5484e2],_0x1a1d22,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x4f2c91['changes'])),this['isReady']=!0x0;})['catch'](_0x10c526=>{console['error'](_0x10c526),this['_cleanUp'](),_0x4be315&&(this['diff']=_0x4be315),this['isReady']=!0x0;});}['addRevisionData'](_0x3d525a,_0x1cf6ed){const _0x169d99=this['repository']['createRevision'](_0x3d525a);return _0x169d99['on']('_update',(_0x416592,_0x58b3c1,_0x647a35)=>_0x1cf6ed(_0x58b3c1,_0x647a35,_0x169d99)),this['repository']['addRevision'](_0x169d99),_0x169d99;}['loadRevisionData'](_0x4a0ea1){if(!_0x4a0ea1||_0x4a0ea1['diffData'])return Promise['resolve']();{const _0xbefcdb=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xbefcdb,'revisionId':_0x4a0ea1['id']})['then'](_0x399f0b=>{_0x4a0ea1['_update']({'diffData':_0x399f0b['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},_0x1758e7=>{for(const _0x763bec of this['editor']['model']['document']['getRootNames']())_0x1758e7['detachRoot'](_0x763bec);});}['_sortAndFilterDiffChanges'](_0x39d5c3){const _0x2ecf6f=[],_0x4ee678=new Map();for(const _0xadd933 of this['editor']['model']['document']['getRootNames']()){const _0x43ea77=this['editor']['editing']['view']['getDomRoot'](_0xadd933);if(!_0x43ea77)continue;const _0x550a17=_0x43ea77['getClientRects']()['item'](0x0);_0x550a17&&(_0x2ecf6f['push'](_0xadd933),_0x4ee678['set'](_0xadd933,_0x550a17));}return _0x2ecf6f['sort']((_0x2b7394,_0x3d9c7c)=>{const _0x126944=_0x4ee678['get'](_0x2b7394),_0x3bfc9e=_0x4ee678['get'](_0x3d9c7c);return _0x126944['y']-_0x3bfc9e['y']||_0x126944['x']-_0x3bfc9e['x'];}),(_0x39d5c3=_0x39d5c3['filter'](_0xdbfc5b=>_0x2ecf6f['includes'](_0xdbfc5b['rootName'])))['sort']((_0x4924f7,_0x3b18b6)=>_0x2ecf6f['indexOf'](_0x4924f7['rootName'])-_0x2ecf6f['indexOf'](_0x3b18b6['rootName'])),_0x39d5c3;}['_makeTape'](_0x173413){const _0x5564ac=Array['from'](_0x173413['markers'])['filter'](([_0x13ec82,_0x1bd152])=>_0x13ec82['startsWith']('revision:')&&!_0x1bd152['isCollapsed']),_0x477151=Array['from'](this['editor']['model']['createRangeIn'](_0x173413)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5564ac['length'])for(const _0x9df6d2 of _0x477151){const [_0x45b809,_0x30aa7d]=_0x5564ac[0x0],[,_0x10f213,_0x1acb90]=_0x45b809['split'](':');if(_0x30aa7d['end']['isEqual'](_0x9df6d2['nextPosition'])&&_0x5564ac['shift'](),(_0x9df6d2['previousPosition']['isEqual'](_0x30aa7d['start'])||_0x9df6d2['previousPosition']['isAfter'](_0x30aa7d['start']))&&('insertion'==_0x10f213?_0x9df6d2['isAdded']={'userId':_0x1acb90}:'deletion'==_0x10f213&&(_0x9df6d2['isRemoved']={'userId':_0x1acb90})),0x0==_0x5564ac['length'])break;}return _0x477151;}['_refreshStartEndIndex'](_0x16f54c){const _0x5a97a3=new Map();for(let _0x116543=0x0;_0x116543<_0x16f54c['length'];_0x116543++)'text'===_0x16f54c[_0x116543]['type']?(_0x16f54c[_0x116543]['item']['startIndex']=_0x116543,_0x16f54c[_0x116543]['item']['endIndex']=_0x116543):('elementStart'===_0x16f54c[_0x116543]['type']?_0x16f54c[_0x116543]['item']['startIndex']=_0x116543:'elementEnd'===_0x16f54c[_0x116543]['type']&&(_0x16f54c[_0x116543]['item']['endIndex']=_0x116543),_0x5a97a3['set'](_0x16f54c[_0x116543]['id'],_0x116543));for(const _0x10255e of _0x5a97a3['values']())'elementStart'===_0x16f54c[_0x10255e]['type']?_0x16f54c[_0x10255e]['item']['endIndex']=_0x5a97a3['get'](_0x16f54c[_0x10255e]['pairId']):'elementEnd'===_0x16f54c[_0x10255e]['type']&&(_0x16f54c[_0x10255e]['item']['startIndex']=_0x5a97a3['get'](_0x16f54c[_0x10255e]['pairId']));}['_processTape'](_0x169d51){for(let _0x41ee4a=0x0;_0x41ee4a<_0x169d51['length'];_0x41ee4a++){if('elementStart'===_0x169d51[_0x41ee4a]['type'])_0x169d51[_0x41ee4a]['item']['startIndex']=_0x41ee4a;else{if('elementEnd'===_0x169d51[_0x41ee4a]['type']){_0x169d51[_0x41ee4a]['item']['endIndex']=_0x41ee4a;const _0x2cd700=_0x169d51[_0x41ee4a]['item']['startIndex'];_0x169d51[_0x2cd700]['pairId']=_0x169d51[_0x41ee4a]['id'],_0x169d51[_0x41ee4a]['pairId']=_0x169d51[_0x2cd700]['id'];}else _0x169d51[_0x41ee4a]['item']['startIndex']=_0x41ee4a,_0x169d51[_0x41ee4a]['item']['endIndex']=_0x41ee4a,_0x169d51[_0x41ee4a]['pairId']=null;}_0x169d51[_0x41ee4a]['markersStart']||(_0x169d51[_0x41ee4a]['markersStart']=[],_0x169d51[_0x41ee4a]['markersEnd']=[]);}}['_markInsertions'](_0x58648d,_0x3f83a5){const _0x4a6812=_0x58648d['filter'](_0x337cea=>!_0x337cea['isAdded']);for(let _0x2351a1=0x0;_0x2351a1<_0x3f83a5['length'];_0x2351a1++)_0x3f83a5[_0x2351a1]['isAdded']&&(_0x4a6812[_0x2351a1]['isAdded']=_0x3f83a5[_0x2351a1]['isAdded']);}['_makeModelFromViewString'](_0x260460){const _0x25ab38=JSON['parse'](_0x260460),_0x254b4d=this['editor']['editing']['view']['document'],_0x4980cf=new _0x341735(_0x254b4d,_0x25ab38['map'](_0x185842=>this['_getViewObj'](_0x185842)));return this['editor']['data']['toModel'](_0x4980cf);}['_getViewObj'](_0x3e8803){const _0x5762ee=this['editor']['editing']['view']['document'];if('string'==typeof _0x3e8803)return new _0x1ff27e(_0x5762ee,_0x3e8803);{const _0x183e77=_0x3e8803['children']['map'](_0x2918ae=>this['_getViewObj'](_0x2918ae));return new(tt[_0x3e8803['type']]||_0x4552e8)(_0x5762ee,_0x3e8803['name'],_0x3e8803['attributes'],_0x183e77);}}['_getDiff'](_0x166517,_0x58205f=null){const _0x3f9d77=this['repository']['getRevision'](_0x166517),_0x5bf990=_0x58205f?this['repository']['getRevision'](_0x58205f):null,_0x11009f=this['_getRevisionsRange'](_0x3f9d77,_0x5bf990),_0x3ea27f=_0x11009f[_0x11009f['length']-0x1],_0x3e1f9d=new Map(),_0x23c356={'model':{},'attributes':{},'changes':[]},_0x1e22d3=new Set(),_0xefa8bd=new Map();for(let _0x5d88c5=_0x11009f['length']-0x1;_0x5d88c5>=0x0;_0x5d88c5--){const _0x1c23bc=_0x11009f[_0x5d88c5];for(const _0x59e41b of Object['keys'](_0x1c23bc['diffData']))if(_0x1c23bc['diffData'][_0x59e41b]['attachChange']){const _0x360eb9=_0x1c23bc['diffData'][_0x59e41b]['attachChange'];_0x360eb9['isAttached']?(_0x1e22d3['add'](_0x59e41b),_0xefa8bd['has'](_0x59e41b)&&_0xefa8bd['get'](_0x59e41b)['userId']==_0x360eb9['userId']?_0xefa8bd['delete'](_0x59e41b):_0xefa8bd['set'](_0x59e41b,_0x360eb9)):_0xefa8bd['has'](_0x59e41b)?(_0x1e22d3['delete'](_0x59e41b),_0xefa8bd['delete'](_0x59e41b)):(_0x1e22d3['add'](_0x59e41b),_0xefa8bd['set'](_0x59e41b,_0x360eb9));}else _0x1e22d3['add'](_0x59e41b);}for(const _0x4bdd66 of _0x1e22d3){const _0x237694=_0xefa8bd['has'](_0x4bdd66)&&!_0xefa8bd['get'](_0x4bdd66)['isAttached'];let _0x549947=_0x237694?_0x11009f['length']-0x1:0x0;const _0x4d7b22=_0x237694?-0x1:0x1;for(;_0x11009f[_0x549947];){const _0x3e2bfa=_0x11009f[_0x549947];if(_0x3e2bfa['diffData'][_0x4bdd66]){const _0x43ff65=_0x237694?_0x3e2bfa['diffData'][_0x4bdd66]['attributesBefore']:_0x3e2bfa['diffData'][_0x4bdd66]['attributesAfter'];_0x23c356['attributes'][_0x4bdd66]=_0x43ff65?_0x11fb1e(_0x43ff65):{};break;}_0x549947+=_0x4d7b22;}}for(const _0x120574 of _0x11009f){_0x120574['model']={};for(const _0x3d7a09 of _0x120574['authors'])_0x3e1f9d['set'](_0x3d7a09['id'],_0x3d7a09);for(const _0x592373 of _0x1e22d3){const _0x4df6be=_0x120574['diffData'][_0x592373]?_0x120574['diffData'][_0x592373]['insertions']:'[]',_0x478df0=_0x120574['diffData'][_0x592373]?_0x120574['diffData'][_0x592373]['deletions']:'[]';_0x120574['model'][_0x592373]={'insertions':this['_makeModelFromViewString'](_0x4df6be),'deletions':this['_makeModelFromViewString'](_0x478df0)};}}for(const _0x2caaa8 of _0x1e22d3){let _0x5b6741=null,_0x328c9f=0x0;const _0x543d88=new Map(Array['from'](_0x3f9d77['model'][_0x2caaa8]['insertions']['markers'])['filter'](([_0xeb4b4f])=>!_0xeb4b4f['startsWith']('revision:')));let _0x68f1a4=0x0;for(const _0x8e3f63 of _0x11009f){const _0x23a175=this['_makeTape'](_0x8e3f63['model'][_0x2caaa8]['insertions']);_0x8e3f63==_0x3f9d77?(_0x5b6741=_0x23a175,_0x328c9f=_0x5b6741['length'],_0x5b6741['forEach'](_0x10701e=>{_0x10701e['id']=_0x68f1a4++;}),this['_processTape'](_0x5b6741)):this['_markInsertions'](_0x5b6741,_0x23a175);const _0x1a5692=_0x5b6741['filter'](_0x190cfc=>!_0x190cfc['isAdded'])['map'](_0x5aeb0e=>_0x5aeb0e['id']);let _0x5af6c8=0x0;const _0x1f39a0=this['_makeTape'](_0x8e3f63['model'][_0x2caaa8]['deletions']);_0x1f39a0['forEach'](_0x3a9850=>{_0x3a9850['isRemoved']?_0x3a9850['id']=_0x328c9f++:_0x3a9850['id']=_0x1a5692[_0x5af6c8++];}),this['_processTape'](_0x1f39a0),this['_setDistance'](_0x5b6741,'isAdded'),this['_setDistance'](_0x1f39a0,'isRemoved'),_0x8e3f63==_0x3f9d77&&this['_markMarkers'](_0x5b6741,_0x543d88),_0x5b6741=this['_joinTapes'](_0x5b6741,_0x1f39a0),this['_refreshStartEndIndex'](_0x5b6741),this['_setDistance'](_0x5b6741,'isRemoved');}_0x5b6741=_0x5b6741['filter'](_0x43b52a=>!(_0x43b52a['isAdded']&&_0x43b52a['isRemoved']));const _0x261fd6=new Map(_0x3ea27f['model'][_0x2caaa8]['deletions']['markers']),_0x5ab4a2=new Set(_0x543d88['keys']());for(const _0x424532 of _0x261fd6['keys']())_0x5ab4a2['delete'](_0x424532);this['_markSuggestions'](_0x5b6741,_0x5ab4a2),this['_fixObsoleteTags'](_0x5b6741),_0x5b6741=this['_removeMissingPairs'](_0x5b6741),_0x5b6741=this['_markMismatchedRemovedTags'](_0x5b6741),_0x5b6741=this['_removeUnsupportedChanges'](_0x5b6741);const {root:_0xe8122e,changes:_0x10f6ea}=this['_makeModelFromTape'](_0x5b6741,_0x3e1f9d,_0x2caaa8);_0x23c356['model'][_0x2caaa8]=_0xe8122e;const _0x3a1972=_0xefa8bd['get'](_0x2caaa8);if(_0x3a1972){const _0x35c7d3=_0x3e1f9d['get'](_0x3a1972['userId']),_0xc98005=new r({'author':_0x35c7d3,'type':_0x3a1972['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x2caaa8});_0x10f6ea['unshift'](_0xc98005),_0x23c356['attributes'][_0x2caaa8]['revisionHistoryAttachChange']=_0xc98005['id'];}_0x23c356['changes']=_0x23c356['changes']['concat'](_0x10f6ea);}return _0x23c356;}['_markMarkers'](_0xaee161,_0x4306f6){for(let _0x438773=0x0;_0x438773<_0xaee161['length'];_0x438773++)for(const [_0x4eee3f,_0x1706ca]of _0x4306f6)_0x1706ca['start']['isEqual'](_0xaee161[_0x438773]['previousPosition'])&&_0xaee161[_0x438773]['markersStart']['push'](_0x4eee3f),_0x1706ca['end']['isEqual'](_0xaee161[_0x438773]['nextPosition'])&&_0xaee161[_0x438773]['markersEnd']['push'](_0x4eee3f);}['_joinTapes'](_0x3ad065,_0x1e87b7){let _0xbd512b=[],_0x44796a=0x0,_0x28d3e6=0x0;for(;_0x44796a<_0x3ad065['length']||_0x28d3e6<_0x1e87b7['length'];){const _0x2916de=_0x3ad065[_0x44796a]||{},_0x52c3bf=_0x1e87b7[_0x28d3e6]||{};if(_0x2916de['id']==_0x52c3bf['id'])_0x44796a++,_0x28d3e6++,_0xbd512b['push'](_0x2916de);else{if(_0x52c3bf['isRemoved']&&_0x2916de['isAdded']){const {commonTape:_0x4f6c5f,iEnd:_0x178817,jEnd:_0x54ddd4}=this['_threeWayMerge'](_0x3ad065,_0x44796a,_0x1e87b7,_0x28d3e6);_0xbd512b=_0xbd512b['concat'](_0x4f6c5f),_0x44796a=_0x178817,_0x28d3e6=_0x54ddd4;}else _0x52c3bf['isRemoved']?(_0x28d3e6++,_0xbd512b['push'](_0x52c3bf)):(_0x44796a++,_0xbd512b['push'](_0x2916de));}}return _0xbd512b;}['_markSuggestions'](_0x2deb4c,_0xce082d){const _0x4a80f4=[];for(let _0x117f20=0x0;_0x117f20<_0x2deb4c['length'];_0x117f20++){for(let _0x3d8864=0x0;_0x3d8864<_0x2deb4c[_0x117f20]['markersStart']['length'];_0x3d8864++){const _0x54b084=_0x2deb4c[_0x117f20]['markersStart'][_0x3d8864];if(!_0xce082d['has'](_0x54b084))continue;const {group:_0x377b0e,type:_0x1d7e10,authorId:_0x2d9d4c}=_0x497230(_0x54b084);'revision-suggestion'!=_0x377b0e||'insertion'!=_0x1d7e10&&'deletion'!=_0x1d7e10||(_0x4a80f4['unshift']({'type':_0x1d7e10,'name':_0x54b084,'userId':_0x2d9d4c}),_0x2deb4c[_0x117f20]['markersStart']['splice'](_0x3d8864,0x1),_0x3d8864--);}_0x59c6e2(_0x2deb4c[_0x117f20]);for(let _0x553579=0x0;_0x553579<_0x2deb4c[_0x117f20]['markersEnd']['length'];_0x553579++){const _0x59a212=_0x2deb4c[_0x117f20]['markersEnd'][_0x553579];if(!_0xce082d['has'](_0x59a212))continue;const {group:_0x44579c,type:_0x2f5c0a}=_0x497230(_0x59a212);if('revision-suggestion'!=_0x44579c||'insertion'!=_0x2f5c0a&&'deletion'!=_0x2f5c0a)continue;_0x2deb4c[_0x117f20]['markersEnd']['splice'](_0x553579,0x1),_0x553579--;const _0x3737c1=_0x4a80f4['findIndex'](_0x1be766=>_0x1be766['name']==_0x59a212);_0x3737c1>-0x1&&_0x4a80f4['splice'](_0x3737c1,0x1);}}function _0x497230(_0x477bc9){const _0x34a2a7=_0x477bc9['split'](':');return{'group':_0x34a2a7[0x0],'type':_0x34a2a7[0x1],'subType':_0x34a2a7['length']>=0x5?_0x34a2a7[0x2]:null,'id':_0x34a2a7['length']<0x5?_0x34a2a7[0x2]:_0x34a2a7[0x3],'authorId':_0x34a2a7['length']<0x5?_0x34a2a7[0x3]:_0x34a2a7[0x4],'markerCount':0x6==_0x34a2a7['length']?_0x34a2a7[0x5]:null};}function _0x59c6e2(_0x3354ec){for(let _0x3f613c=0x0;_0x3f613c<_0x4a80f4['length'];_0x3f613c++){if(_0x3354ec['isAdded']&&'insertion'==_0x4a80f4[_0x3f613c]['type'])return _0x3354ec['isAddSuggestion']=_0x4a80f4[_0x3f613c],void delete _0x3354ec['isAdded'];if(!_0x3354ec['isAdded']&&!_0x3354ec['isRemoved']&&'deletion'==_0x4a80f4[_0x3f613c]['type'])return void(_0x3354ec['isRemoveSuggestion']=_0x4a80f4[_0x3f613c]);}}}['_setDistance'](_0x1f6d10,_0x44b58a){let _0x13ff2c=0x0,_0x33ada9=!0x1;const _0x3f2bad=new Map();for(const _0x1eb70b of _0x1f6d10)_0x1eb70b[_0x44b58a]?_0x33ada9&&(_0x13ff2c++,_0x33ada9=!0x1):(_0x13ff2c++,_0x33ada9=!0x0),_0x3f2bad['set'](_0x1eb70b['id'],_0x13ff2c);for(let _0x58d019=0x0;_0x58d019<_0x1f6d10['length'];_0x58d019++){if('isRemoved'==_0x44b58a&&_0x1f6d10[_0x58d019]['isAdded']||'isAdded'==_0x44b58a&&_0x1f6d10[_0x58d019]['isRemoved'])continue;if('text'==_0x1f6d10[_0x58d019]['type']){_0x1f6d10[_0x58d019]['distance']=0x0;continue;}const _0x1bacb4=_0x3f2bad['get'](_0x1f6d10[_0x58d019]['pairId']),_0x3e60b9=_0x3f2bad['get'](_0x1f6d10[_0x58d019]['id']);_0x1f6d10[_0x58d019]['distance']=_0x1bacb4-_0x3e60b9;}}['_getRevisionsRange'](_0x2f9ebb,_0x49fcf9,_0x56dd8c=!0x1){const _0x4d84c3=[];let _0x119132=this['repository']['getIndex'](_0x2f9ebb),_0x281f56=this['repository']['getIndex'](_0x49fcf9);for(-0x1==_0x281f56&&(_0x281f56=this['repository']['_revisions']['length'],_0x56dd8c=!0x1);_0x119132<_0x281f56;)_0x4d84c3['push'](this['repository']['getRevision'](_0x119132)),_0x119132++;return _0x56dd8c&&_0x4d84c3['push'](this['repository']['getRevision'](_0x119132)),_0x4d84c3;}['_threeWayMerge'](_0x47a80c,_0x54b0e5,_0x364d1d,_0x2db6a4){const _0x281cb8=this['editor']['model']['schema'];let _0x5d61dc=_0x54b0e5;for(;_0x47a80c[_0x5d61dc]&&_0x47a80c[_0x5d61dc]['isAdded'];)_0x5d61dc++;let _0x2ca49f=_0x2db6a4;for(;_0x364d1d[_0x2ca49f]&&_0x364d1d[_0x2ca49f]['isRemoved'];)_0x2ca49f++;_0x59d9cd(_0x47a80c,_0x54b0e5,_0x5d61dc),_0x59d9cd(_0x364d1d,_0x2db6a4,_0x2ca49f);const _0x27e914=_0x364d1d['slice'](_0x2db6a4,_0x2ca49f)['concat'](_0x47a80c['slice'](_0x54b0e5,_0x5d61dc));return _0x27e914['sort']((_0x4360e6,_0x3d5059)=>_0x4360e6['side']!=_0x3d5059['side']?_0x4360e6['side']-_0x3d5059['side']:_0x4360e6['level']!=_0x3d5059['level']?_0x4360e6['level']-_0x3d5059['level']:_0x4360e6['distance']!=_0x3d5059['distance']?_0x3d5059['distance']-_0x4360e6['distance']:!!_0x4360e6['isAdded']!=!!_0x3d5059['isAdded']?-0x1==_0x4360e6['side']||0x0==_0x4360e6['side']?_0x4360e6['isAdded']?-0x1:0x1:_0x4360e6['isAdded']?0x1:-0x1:_0x4360e6['index']-_0x3d5059['index']),{'commonTape':_0x27e914,'iEnd':_0x5d61dc,'jEnd':_0x2ca49f};function _0x59d9cd(_0x1b3f10,_0x43c8ac,_0x180db8){let _0x86544a=-0x1,_0xeaf044=Number['POSITIVE_INFINITY'],_0x1bdaff=!0x0;for(let _0x41f8be=_0x43c8ac;_0x41f8be<_0x180db8;_0x41f8be++)if(_0x281cb8['isInline'](_0x1b3f10[_0x41f8be]['item'])||(_0x1bdaff=!0x1),_0x1b3f10[_0x41f8be]['item']['startIndex']<_0x43c8ac&&(_0x86544a=_0x41f8be),_0x1b3f10[_0x41f8be]['item']['endIndex']>=_0x180db8){_0xeaf044=_0x41f8be;break;}_0x1bdaff&&(_0x86544a=_0x180db8-0x1);for(let _0x2a4914=_0x43c8ac;_0x2a4914<_0x180db8;_0x2a4914++)_0x1b3f10[_0x2a4914]['side']=_0x2a4914<=_0x86544a?-0x1:_0x2a4914<_0xeaf044?0x0:0x1,_0x1b3f10[_0x2a4914]['index']=_0x2a4914;let _0x1d5aba=0x0;for(let _0xa9dc3a=_0x43c8ac;_0xa9dc3a<=_0x86544a;_0xa9dc3a++)0x0==_0x1b3f10[_0xa9dc3a]['distance']?_0x1b3f10[_0xa9dc3a]['level']=_0x1d5aba:(_0x1d5aba++,_0x1b3f10[_0xa9dc3a]['level']=_0x1d5aba,_0x1d5aba++);for(let _0x25c5ec=_0x43c8ac;_0x25c5ec<_0x180db8;_0x25c5ec++)0x0==_0x1b3f10[_0x25c5ec]['side']&&(_0x1b3f10[_0x25c5ec]['level']=_0x1d5aba);_0x1d5aba=0x0;for(let _0x5378a6=_0x180db8-0x1;_0x5378a6>=_0xeaf044;_0x5378a6--)0x0==_0x1b3f10[_0x5378a6]['distance']?_0x1b3f10[_0x5378a6]['level']=_0x1d5aba:(_0x1d5aba--,_0x1b3f10[_0x5378a6]['level']=_0x1d5aba,_0x1d5aba--);}}['_fixObsoleteTags'](_0x44e986){const _0x2ee050=new Map(),_0x134262=this['editor']['model']['schema'];for(let _0x465c83=0x1;_0x465c83<_0x44e986['length'];_0x465c83++){let _0x5e6ce4,_0x5c0d0d,_0x1ef7ff;const _0x48c5a3=_0x44e986[_0x465c83],_0x3e8686=_0x44e986[_0x465c83-0x1];if('text'==_0x48c5a3['type'])continue;if(_0x48c5a3['type']!=_0x3e8686['type'])continue;if(!_0x134262['isBlock'](_0x3e8686['item'])||_0x134262['isLimit'](_0x3e8686['item']))continue;if(!_0x134262['isBlock'](_0x48c5a3['item'])||_0x134262['isLimit'](_0x48c5a3['item']))continue;if((_0x44e986[_0x465c83]['isAdded']||_0x44e986[_0x465c83]['isAddSuggestion'])&&_0x44e986[_0x465c83-0x1]['isRemoved'])_0x5e6ce4=_0x44e986[_0x465c83],_0x5c0d0d=_0x44e986[_0x465c83-0x1],_0x1ef7ff=_0x465c83-0x1;else{if(!_0x44e986[_0x465c83]['isRemoved']||!_0x44e986[_0x465c83-0x1]['isAdded']&&!_0x44e986[_0x465c83-0x1]['isAddSuggestion'])continue;_0x5e6ce4=_0x44e986[_0x465c83-0x1],_0x5c0d0d=_0x44e986[_0x465c83],_0x1ef7ff=_0x465c83;}const _0x10b9b1=_0x5e6ce4['level']==_0x5c0d0d['level'],_0x3941e=Math['abs'](_0x5e6ce4['level'])<Math['abs'](_0x5c0d0d['level'])&&0x0==_0x5c0d0d['distance'];(_0x10b9b1||_0x3941e)&&(_0x2ee050['set'](_0x5c0d0d['id'],_0x5e6ce4['id']),_0x44e986['splice'](_0x1ef7ff,0x1),_0x465c83--,_0x5e6ce4['isAdded']=!0x1);}for(let _0x1ab758=0x0;_0x1ab758<_0x44e986['length'];_0x1ab758++)_0x2ee050['has'](_0x44e986[_0x1ab758]['pairId'])&&(_0x44e986[_0x1ab758]['pairId']=_0x2ee050['get'](_0x44e986[_0x1ab758]['pairId']));}['_removeMissingPairs'](_0x1076b9){const _0x1bd088=new Set(_0x1076b9['map'](_0x258b35=>_0x258b35['id']));for(let _0x384561=0x0;_0x384561<_0x1076b9['length'];_0x384561++)_0x1bd088['has'](_0x1076b9[_0x384561]['pairId'])||0x0==_0x1076b9[_0x384561]['distance']||(_0x1076b9[_0x384561]['isIncorrect']=!0x0);return _0x1076b9['filter'](_0x1a7e92=>!_0x1a7e92['isIncorrect']);}['_markMismatchedRemovedTags'](_0x58bed8){const _0x392e6c=new Set();for(let _0xfbb80a=0x0;_0xfbb80a<_0x58bed8['length'];_0xfbb80a++){if(_0x392e6c['has'](_0x58bed8[_0xfbb80a]['id'])&&_0x58bed8[_0xfbb80a]['isRemoved']&&(_0x58bed8[_0xfbb80a]['isIncorrect']=!0x0),_0x58bed8[_0xfbb80a]['isIncorrect'])continue;if(0x0==_0x58bed8[_0xfbb80a]['distance'])continue;if('elementStart'!=_0x58bed8[_0xfbb80a]['type'])continue;if(null==_0x58bed8[_0xfbb80a]['pairId'])continue;let _0x3018c1=_0xfbb80a+0x1,_0x4e1189=0x0;for(;_0x58bed8[_0x3018c1]['id']!=_0x58bed8[_0xfbb80a]['pairId'];)'elementStart'==_0x58bed8[_0x3018c1]['type']?_0x4e1189++:'elementEnd'==_0x58bed8[_0x3018c1]['type']&&_0x4e1189--,_0x3018c1++;if(0x0!=_0x4e1189){if(_0x58bed8[_0xfbb80a]['isRemoved'])_0x58bed8[_0xfbb80a]['isIncorrect']=!0x0;else{for(;_0x3018c1!=_0xfbb80a;)_0x58bed8[_0x3018c1]['isRemoved']&&0x0!=_0x58bed8[_0x3018c1]['distance']&&(_0x58bed8[_0x3018c1]['isIncorrect']=!0x0,_0x392e6c['add'](_0x58bed8[_0x3018c1]['pairId'])),_0x3018c1--;}}}return _0x58bed8['filter'](_0x1167ca=>!_0x1167ca['isIncorrect']);}['_removeUnsupportedChanges'](_0x53d300){const _0x83ba2c=this['editor']['model']['schema'];for(let _0x2c02a1=0x0;_0x2c02a1<_0x53d300['length'];_0x2c02a1++){if(!(_0x53d300[_0x2c02a1]['isAdded']||_0x53d300[_0x2c02a1]['isAddSuggestion']||_0x53d300[_0x2c02a1]['isRemoved']||_0x53d300[_0x2c02a1]['isRemoveSuggestion']))continue;if(0x0==_0x53d300[_0x2c02a1]['distance'])continue;const _0x3f93ed=_0x53d300[_0x2c02a1]['item'];_0x83ba2c['isBlock'](_0x3f93ed)||_0x83ba2c['isLimit'](_0x3f93ed)||(_0x53d300[_0x2c02a1]['isAdded']&&delete _0x53d300[_0x2c02a1]['isAdded'],_0x53d300[_0x2c02a1]['isAddSuggestion']&&delete _0x53d300[_0x2c02a1]['isAddSuggestion'],_0x53d300[_0x2c02a1]['isRemoveSuggestion']&&delete _0x53d300[_0x2c02a1]['isRemoveSuggestion'],_0x53d300[_0x2c02a1]['isRemoved']&&(_0x53d300[_0x2c02a1]['isIncorrect']=!0x0));}return _0x53d300['filter'](_0x1adbad=>!_0x1adbad['isIncorrect']);}['_makeModelFromTape'](_0x2a42cb,_0x5415c8,_0x2a6456){const _0x5eeb05=new wt(),_0x4b3aab=[],_0x585417=new Map(),_0x5937e4=this['editor']['model'],_0x406c2a=_0x5937e4['schema'],_0xdf82d5=[_0x5eeb05],_0x3049cb={},_0x241983={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x1c0c84=null;const _0x30212b=[0x0];for(let _0x16fbfa=0x0;_0x16fbfa<_0x2a42cb['length'];_0x16fbfa++){let _0xda0b03,_0x2fa2a2;if('elementStart'===_0x2a42cb[_0x16fbfa]['type']){_0xda0b03=_0x5937e4['createPositionFromPath'](_0x5eeb05,_0x30212b);const _0x5e5fb4=new ft(_0x2a42cb[_0x16fbfa]['item']['name'],_0x2a42cb[_0x16fbfa]['item']['getAttributes']());_0xdf82d5[0x0]['_appendChild'](_0x5e5fb4),_0x30212b['push'](0x0),_0xdf82d5['unshift'](_0x5e5fb4),_0x2fa2a2=_0x5937e4['createPositionFromPath'](_0x5eeb05,_0x30212b),_0x1c0c84=null;}else{if('elementEnd'===_0x2a42cb[_0x16fbfa]['type'])_0xdf82d5['shift'](),_0xda0b03=_0x5937e4['createPositionFromPath'](_0x5eeb05,_0x30212b),_0x30212b['pop'](),_0x30212b[_0x30212b['length']-0x1]++,_0x2fa2a2=_0x5937e4['createPositionFromPath'](_0x5eeb05,_0x30212b),_0x1c0c84=null;else{if(_0xda0b03=_0x5937e4['createPositionFromPath'](_0x5eeb05,_0x30212b),_0x1c0c84&&_0x2bc0a0(_0x1c0c84,_0x2a42cb[_0x16fbfa]['item']))_0x1c0c84['_data']+=_0x2a42cb[_0x16fbfa]['item']['data'];else{const _0x48b370=new _t(_0x2a42cb[_0x16fbfa]['item']['data'],_0x2a42cb[_0x16fbfa]['item']['getAttributes']());_0xdf82d5[0x0]['_appendChild'](_0x48b370),_0x1c0c84=_0x48b370;}_0x30212b[_0x30212b['length']-0x1]+=_0x2a42cb[_0x16fbfa]['item']['offsetSize'],_0x2fa2a2=_0x5937e4['createPositionFromPath'](_0x5eeb05,_0x30212b);}}for(const _0xeef7ad of _0x2a42cb[_0x16fbfa]['markersStart'])_0x585417['set'](_0xeef7ad,{'start':_0xda0b03,'end':null});_0x62e4cf('isRemoveSuggestion',_0x16fbfa,_0xda0b03,_0x2fa2a2),_0x62e4cf('isAddSuggestion',_0x16fbfa,_0xda0b03,_0x2fa2a2),_0x62e4cf('isRemoved',_0x16fbfa,_0xda0b03,_0x2fa2a2),_0x62e4cf('isAdded',_0x16fbfa,_0xda0b03,_0x2fa2a2);for(const _0x584ae0 of _0x2a42cb[_0x16fbfa]['markersEnd']){_0x585417['get'](_0x584ae0)['end']=_0x2fa2a2;}}for(const [_0x366239,_0x45673a]of _0x585417){const _0x17e0f9=this['editor']['model']['createRange'](_0x45673a['start'],_0x45673a['end']);_0x5eeb05['markers']['set'](_0x366239,_0x17e0f9);}return _0x4b3aab['sort']((_0xbad383,_0x3fadb0)=>{const _0x547d09=_0x5eeb05['markers']['get']('revision:'+_0xbad383['id']),_0xfca21a=_0x5eeb05['markers']['get']('revision:'+_0x3fadb0['id']);return _0x547d09['start']['isBefore'](_0xfca21a['start'])?-0x1:_0x547d09['start']['isAfter'](_0xfca21a['start'])?0x1:_0x547d09['end']['isBefore'](_0xfca21a['end'])?-0x1:_0x547d09['end']['isAfter'](_0xfca21a['end'])?0x1:'add'===_0xbad383['type']?-0x1:0x1;}),{'root':_0x5eeb05,'changes':_0x4b3aab};function _0x62e4cf(_0x30ad43,_0x3f6f42,_0x1053a1,_0x4a8698){const _0x3fa446=!!_0x2a42cb[_0x3f6f42][_0x30ad43],_0x31e121=_0x3fa446?_0x2a42cb[_0x3f6f42][_0x30ad43]['userId']:null,_0x3a5bdb=_0x3f6f42===_0x2a42cb['length']-0x1,_0xd8f0d1=_0x241983[_0x30ad43][0x0],_0x533317=_0x406c2a['isObject'](_0x2a42cb[_0x3f6f42]['item']);!_0x3049cb[_0x30ad43]&&_0x3fa446?_0x3049cb[_0x30ad43]={'start':_0x1053a1,'tapeItem':_0x2a42cb[_0x3f6f42],'userId':_0x31e121,'type':_0x30ad43}:_0x3049cb[_0x30ad43]&&!_0x3fa446?(_0x3049cb[_0x30ad43]['end']=_0x1053a1,_0x545189(_0x3049cb[_0x30ad43]),_0x3049cb[_0x30ad43]=null):_0x3049cb[_0x30ad43]&&_0x3fa446&&_0x3049cb[_0x30ad43]['userId']!==_0x31e121&&(_0x3049cb[_0x30ad43]['end']=_0x1053a1,_0xd8f0d1&&_0xd8f0d1['userId']===_0x3049cb[_0x30ad43]['userId']||_0x545189(_0x3049cb[_0x30ad43]),_0x3049cb[_0x30ad43]={'start':_0x1053a1,'tapeItem':_0x2a42cb[_0x3f6f42],'userId':_0x31e121,'type':_0x30ad43}),_0x3049cb[_0x30ad43]&&_0x533317&&('elementStart'!==_0x2a42cb[_0x3f6f42]['type']||_0xd8f0d1&&_0xd8f0d1['userId']===_0x31e121||_0x241983[_0x30ad43]['unshift']({'userId':_0x31e121,'object':_0x2a42cb[_0x3f6f42]['item'],'change':_0x3049cb[_0x30ad43]}),'elementEnd'===_0x2a42cb[_0x3f6f42]['type']&&_0xd8f0d1&&_0xd8f0d1['object']===_0x2a42cb[_0x3f6f42]['item']&&(_0x241983[_0x30ad43]['shift'](),_0x3049cb[_0x30ad43]=_0xd8f0d1['change'])),_0x3049cb[_0x30ad43]&&_0x3a5bdb&&(_0x3049cb[_0x30ad43]['end']=_0x4a8698,_0x545189(_0x3049cb[_0x30ad43]),_0x3049cb[_0x30ad43]=null);}function _0x545189({start:_0x463a65,end:_0x58b231,tapeItem:_0x258618,userId:_0x32ee08,type:_0x3f57a0}){const _0xa10680=_0x258618['item'],_0x41ac0c=_0x5937e4['schema']['isBlock'](_0xa10680)&&!_0x5937e4['schema']['isLimit'](_0xa10680),_0x459302=_0x463a65['nodeAfter']==_0x58b231['parent']&&_0x58b231['isAtStart'];if(_0x41ac0c&&_0x459302)return;const _0x3f1bcb=_0x5937e4['createRange'](_0x463a65,_0x58b231),_0x443379=_0x5415c8['get'](_0x32ee08),_0x3ac7a0=new r({'author':_0x443379,'type':'isAdded'==_0x3f57a0||'isAddSuggestion'==_0x3f57a0?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3f57a0||'isRemoveSuggestion'==_0x3f57a0},'createdAt':new Date(),'rootName':_0x2a6456});_0x4b3aab['push'](_0x3ac7a0),_0x5eeb05['markers']['set']('revision:'+_0x3ac7a0['id'],_0x3f1bcb);}function _0x2bc0a0(_0x269e21,_0x1aeefc){const _0x4b466a=_0x269e21['getAttributes'](),_0x387863=_0x1aeefc['getAttributes']();for(const _0x32173f of _0x4b466a){if(_0x32173f[0x1]!==_0x1aeefc['getAttribute'](_0x32173f[0x0]))return!0x1;_0x387863['next']();}return _0x387863['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x3fcd10=>{const _0x1d3b32=_0x3fcd10['markerName']['split'](':')[0x1],_0x1c43f8=this['_getChangeFromId'](_0x1d3b32);if(!_0x1c43f8)return null;const _0x213065='add'==_0x1c43f8['type']?'insertion':'deletion',_0x7eaa47=['ck-suggestion-marker','ck-suggestion-marker-'+_0x213065];return _0x1c43f8['data']['isSuggestion']&&_0x7eaa47['push']('ck-suggestion-marker-'+_0x213065+'-new'),this['activeChange']==_0x1c43f8&&_0x7eaa47['push']('ck-suggestion-marker--active'),{'classes':_0x7eaa47,'attributes':{'data-change-id':_0x1d3b32}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x44bf45=>{_0x44bf45['on']('element:pre',(_0x21832a,_0x4121e1,_0x21cb95)=>{const _0x43b0be=_0x4121e1['viewItem']['getChild'](0x0);if(!_0x43b0be||!_0x43b0be['is']('element','code'))return;if(!_0x21cb95['consumable']['consume'](_0x43b0be,{'attributes':['vid_start','vid_end']}))return;const _0x3b1ba7=_0x4121e1['modelRange']['start']['nodeAfter'];_0x21cb95['writer']['setAttribute']('vid_start',_0x43b0be['getAttribute']('vid_start'),_0x3b1ba7),_0x21cb95['writer']['setAttribute']('vid_end',_0x43b0be['getAttribute']('vid_end'),_0x3b1ba7);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x26a8ef=>{_0x26a8ef['on']('element',(_0x586784,_0x4c722e,_0x5859be)=>{if(!_0x5859be['consumable']['consume'](_0x4c722e['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4c722e['modelRange']['isCollapsed'])return;const _0x541b91=_0x4c722e['modelRange']['start']['nodeAfter'];_0x541b91['hasAttribute']('vid_start')||_0x541b91['hasAttribute']('vid')||(_0x5859be['writer']['setAttribute']('vid_start',_0x4c722e['viewItem']['getAttribute']('vid_start'),_0x541b91),_0x5859be['writer']['setAttribute']('vid_end',_0x4c722e['viewItem']['getAttribute']('vid_end'),_0x541b91));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4f5aee=>_0x4f5aee['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x2c3f0d,[,_0x73ce7f])=>{['vid_start','vid_end','vid']['includes'](_0x73ce7f)&&(_0x2c3f0d['return']=!0x0,_0x2c3f0d['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x3eff49=>{_0x3eff49['on']('attribute:vid',(_0x37252d,_0x4800b1,_0x45583b)=>{if('\x20'!=_0x4800b1['item']['data']||_0x4800b1['item']['parent']['maxOffset']>0x1)return;if(!_0x45583b['consumable']['consume'](_0x4800b1['item'],_0x37252d['name']))return;const _0x1b4168=_0x45583b['writer'],_0x3043be=_0x45583b['mapper']['toViewRange'](_0x4800b1['range']);_0x1b4168['wrap'](_0x3043be,_0x1b4168['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x393cc5){const _0x195f12=_0x393cc5['plugins']['get']('RevisionViewer');return(_0x2ecbbf,_0x1b8a48,_0xf3bca4)=>{const _0x13d617=_0x1b8a48['markerName']['split'](':')[0x1],_0x162be3=_0x195f12['_getChangeFromId'](_0x13d617);if(!_0x162be3)return null;const _0x1e1cd4='add'==_0x162be3['type']?'split':'merge';if(!_0xf3bca4['consumable']['test'](_0x1b8a48['markerRange'],_0x2ecbbf['name']))return;const _0x5d7bf8=_0x1b8a48['markerRange']['getWalker'](),_0x5382b1=_0x1b8a48['markerRange']['start'],_0xaf3f86=_0x393cc5['model']['schema'];let _0x5e7ac8=null,_0x4ce4a2=null,_0x25d2c5=!0x1,_0x213e7d=!0x1;for(const _0x398bb7 of _0x5d7bf8){const _0x18f39e=_0x398bb7['item'];_0x25d2c5=_0x25d2c5||_0xaf3f86['isContent'](_0x18f39e);const _0x20a59c=_0xf3bca4['mapper']['toViewElement'](_0x18f39e);if(_0x20a59c&&_0x20a59c['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x398bb7['type']&&(_0xaf3f86['isBlock'](_0x18f39e)&&!_0xaf3f86['isLimit'](_0x18f39e)&&(_0x18f39e['nextSibling']||_0x5382b1['isAtEnd']?_0x5e7ac8&&_0x5e7ac8['parent']==_0x18f39e||(_0x5e7ac8=_0x18f39e,_0xe37329(_0x398bb7['previousPosition']),_0x213e7d=!0x0):_0x4ce4a2=_0x4ce4a2||_0x398bb7['previousPosition']));}function _0xe37329(_0x1d2d1c){const _0x333e69=_0xf3bca4['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1e1cd4}),_0x35b457=_0xf3bca4['mapper']['toViewPosition'](_0x1d2d1c);_0x162be3['data']['isSuggestion']&&_0xf3bca4['writer']['addClass']('ck-suggestion-marker-'+_0x1e1cd4+'-new',_0x333e69),_0x195f12['activeChange']==_0x162be3&&_0xf3bca4['writer']['addClass']('ck-suggestion-marker--active',_0x333e69),_0xf3bca4['writer']['insert'](_0x35b457,_0x333e69),_0xf3bca4['mapper']['bindElementToMarker'](_0x333e69,_0x1b8a48['markerName']);}_0x25d2c5||_0x213e7d||!_0x4ce4a2||_0xe37329(_0x4ce4a2);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3df60e,_0x16bb2a,_0x55d1db)=>{const _0x5ecbfa=_0x55d1db['mapper']['markerNameToElements'](_0x16bb2a['markerName']);if(_0x5ecbfa){for(const _0x3b87ea of _0x5ecbfa)(_0x3b87ea['hasClass']('ck-suggestion-marker-split')||_0x3b87ea['hasClass']('ck-suggestion-marker-merge'))&&(_0x55d1db['mapper']['unbindElementFromMarkerName'](_0x3b87ea,_0x16bb2a['markerName']),_0x55d1db['writer']['remove'](_0x3b87ea));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x26e12f,_0x499ea8,_0xe51b81)=>{const _0x536731=_0x499ea8['markerName']['split'](':')[0x1],_0x1c07e0=this['_getChangeFromId'](_0x536731);if(!_0x1c07e0)return null;const _0x2823b2='add'==_0x1c07e0['type']?'split':'merge';if(_0xe51b81['consumable']['test'](_0x499ea8['markerRange'],_0x26e12f['name']))for(const _0x5ad2bf of _0x499ea8['markerRange']['getItems']()){if(!_0x5ad2bf['is']('element','softBreak'))continue;const _0x197e51=_0xe51b81['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2823b2}),_0x2528c6=_0xe51b81['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x5ad2bf));_0x1c07e0['data']['isSuggestion']&&_0xe51b81['writer']['addClass']('ck-suggestion-marker-'+_0x2823b2+'-new',_0x197e51),this['activeChange']==_0x1c07e0&&_0xe51b81['writer']['addClass']('ck-suggestion-marker--active',_0x197e51),_0xe51b81['writer']['insert'](_0x2528c6,_0x197e51),_0xe51b81['mapper']['bindElementToMarker'](_0x197e51,_0x499ea8['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4aa63f=>{for(const _0x54604d of this['editor']['model']['document']['getRootNames']()){const _0x7879ad=this['editor']['model']['document']['getRoot'](_0x54604d),_0x19c033=this['editor']['editing']['view']['document']['getRoot'](_0x54604d);if(_0x19c033){const _0x3febb2=_0x7879ad['getAttribute']('revisionHistoryAttachChange');if(_0x4aa63f['removeAttribute']('data-change-id',_0x19c033),_0x4aa63f['removeClass']('ck-revision-history-root-add',_0x19c033),_0x4aa63f['removeClass']('ck-revision-history-root-remove',_0x19c033),_0x4aa63f['removeClass']('ck-revision-history-root--active',_0x19c033),_0x3febb2){const _0x4fdb03=this['_getChangeFromId'](_0x3febb2);if(!_0x4fdb03)return null;_0x4aa63f['setAttribute']('data-change-id',_0x3febb2,_0x19c033),_0x4aa63f['addClass']('ck-revision-history-root-'+_0x4fdb03['type'],_0x19c033),this['activeChange']==_0x4fdb03&&_0x4aa63f['addClass']('ck-revision-history-root--active',_0x19c033);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x15d21f=>'revision-comment:'+_0x15d21f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x57e970=>'revision-suggestion:'+_0x57e970,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x2d9c48=>({'name':'suggestion:'+_0x2d9c48,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x277b61=>{const _0x4cb274=_0x277b61['markerName']['split'](':')[0x1];return'insertion'!=_0x4cb274&&'deletion'!=_0x4cb274?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x4cb274]};}}),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',(_0x26f967,_0xeb26d,_0x5c76b9)=>{const _0x534f9c=_0x5c76b9['mapper']['markerNameToElements'](_0xeb26d['markerName']);if(_0x534f9c){for(const _0x3cdfcb of _0x534f9c)_0x3cdfcb['is']('uiElement')&&(_0x5c76b9['mapper']['unbindElementFromMarkerName'](_0x3cdfcb,_0xeb26d['markerName']),_0x5c76b9['writer']['remove'](_0x3cdfcb));}},{'priority':'high'});}['_getChangeFromId'](_0x4444d1){return this['_changeIdToChange']['get'](_0x4444d1);}['_getViewForChange'](_0x2bd146){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2bd146),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x5c5306,_0x10a97a,_0x4f8ce1,_0x5e77e6)=>{_0x5e77e6&&this['_balloon']['remove'](_0x5e77e6),_0x4f8ce1&&(this['_balloon']['add']({'view':_0x4f8ce1,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x53036a=this['editor']['editing'],_0x48fdb1=this['_getChangeFromId'](_0x4f8ce1['changeId']);let _0x1212fb;if(_0x48fdb1['data']['isOnRoot']){const _0x1d782a=_0x53036a['view']['getDomRoot'](_0x48fdb1['rootName']);_0x1212fb=Array['from'](_0x1d782a['getClientRects']());}else{const _0x284c72=this['editor']['model']['markers']['get']('revision:'+_0x4f8ce1['changeId']);_0x1212fb=Array['from'](_0x53036a['mapper']['markerNameToElements'](_0x284c72['name']))['map'](_0x1736bf=>_0x53036a['view']['domConverter']['mapViewToDom'](_0x1736bf))['map'](_0x4331b2=>Array['from'](_0x4331b2['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x1212fb[0x0];return _0x1212fb['find'](_0x4dddc3=>_0x4dddc3['top']-0x3<=this['_activeViewTarget']['y']&&_0x4dddc3['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4dddc3['left']-0x3<=this['_activeViewTarget']['x']&&_0x4dddc3['right']+0x3>=this['_activeViewTarget']['x'])||_0x1212fb[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x3b80a9,_0x3af2ee,_0x361655,_0x26e77c)=>{this['activeView']=_0x361655?this['_getViewForChange'](_0x361655):null,this['editor']['model']['change'](()=>{const _0x401a73=this['editor']['editing'];_0x26e77c&&(_0x26e77c['data']['isOnRoot']?_0x401a73['view']['change'](_0xb0c4c7=>{_0xb0c4c7['removeClass']('ck-revision-history-root--active',_0x401a73['view']['document']['getRoot'](_0x26e77c['rootName']));}):_0x401a73['reconvertMarker']('revision:'+_0x26e77c['id'])),_0x361655&&(_0x361655['data']['isOnRoot']?_0x401a73['view']['change'](_0x4c0678=>{_0x4c0678['addClass']('ck-revision-history-root--active',_0x401a73['view']['document']['getRoot'](_0x361655['rootName']));}):_0x401a73['reconvertMarker']('revision:'+_0x361655['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x53624c,_0x53d700)=>{if(this['activeChange'])return;const _0x4cc90b=this['_findChangeIdFromDomTarget'](_0x53d700['target']),_0x2db69a=this['_changeIdToChange']['get'](_0x4cc90b);_0x2db69a?(this['_activeViewTarget']={'x':_0x53d700['domEvent']['x'],'y':_0x53d700['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x2db69a)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x11d4c4,_0x2e1730)=>{const _0x43df7a=this['_findChangeIdFromDomTarget'](_0x2e1730['target']),_0xede867=this['_changeIdToChange']['get'](_0x43df7a);_0xede867?(this['_activeViewTarget']={'x':_0x2e1730['domEvent']['x'],'y':_0x2e1730['domEvent']['y']},_0xede867===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xede867):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x4254f6){do{const _0x13ea3e=_0x4254f6['getAttribute']('data-change-id');if(_0x13ea3e)return _0x13ea3e;_0x4254f6=_0x4254f6['parent'];}while(_0x4254f6);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x40bc90=>{for(const _0x393f5d of this['editor']['model']['markers'])_0x40bc90['removeMarker'](_0x393f5d);});}}function et(_0x2a25ae,_0x349940){return(_0x3147e3,_0x52e146,_0x3697b2)=>{if(!_0x3697b2['consumable']['test'](_0x52e146['markerRange'],_0x3147e3['name']))return;const _0x28e081=_0x52e146['markerRange']['getWalker'](),_0x47d3af=_0x52e146['markerRange']['start'],_0x28e9b6=_0x2a25ae['model']['schema'];let _0x4cc4ba=null,_0x26f969=null,_0x338c39=!0x1,_0x281e32=!0x1;for(const _0x3a6ff4 of _0x28e081){const _0x5b9cc3=_0x3a6ff4['item'];_0x338c39=_0x338c39||_0x28e9b6['isContent'](_0x5b9cc3);const _0x24a198=_0x3697b2['mapper']['toViewElement'](_0x5b9cc3);if(_0x24a198&&_0x24a198['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3a6ff4['type']&&(_0x28e9b6['isBlock'](_0x5b9cc3)&&!_0x28e9b6['isLimit'](_0x5b9cc3)&&(_0x5b9cc3['nextSibling']||_0x47d3af['isAtEnd']?_0x4cc4ba&&_0x4cc4ba['parent']==_0x5b9cc3||(_0x4cc4ba=_0x5b9cc3,_0x20f123(_0x3a6ff4['previousPosition']),_0x281e32=!0x0):_0x26f969=_0x26f969||_0x3a6ff4['previousPosition']));}function _0x20f123(_0x21ab70){const _0x6eb4d=_0x3697b2['mapper']['toViewPosition'](_0x21ab70),_0x2793b9=_0x3697b2['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x349940});_0x3697b2['writer']['insert'](_0x6eb4d,_0x2793b9),_0x3697b2['mapper']['bindElementToMarker'](_0x2793b9,_0x52e146['markerName']);}_0x338c39||_0x281e32||!_0x26f969||_0x20f123(_0x26f969);};}class bt extends _0x219cab{constructor(_0x419caf){super(_0x419caf);const _0x36e054=_0x419caf['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x36e054,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x36e054,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x487c95=this['editor'],_0x22da0d=_0x487c95['plugins']['get'](d),_0x224595=_0x22da0d['isReady']?_0x22da0d['diff']['newRevisionId']:null;_0x487c95['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x224595);}['refresh'](){const {isReady:_0x465e42,isEnabled:_0xf043e0}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x465e42&&_0xf043e0;}}class yt extends _0x219cab{['_step'];constructor(_0x564729,{direction:_0x1ea73f}){super(_0x564729);const _0x79ff7c=_0x564729['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x1ea73f?0x1:-0x1,this['listenTo'](_0x79ff7c,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x79ff7c,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x79ff7c,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x5f3a32=this['editor'],_0x454b7f=_0x5f3a32['plugins']['get'](d),{isNavigationMode:_0x310cae,currentChangeNumber:_0x25d872}=_0x454b7f;let _0x54c7c8;if(_0x454b7f['activeChange']=_0x310cae?_0x454b7f['diff']['changes']['get'](_0x25d872+this['_step']):_0x454b7f['diff']['changes']['first'],_0x454b7f['activeChange']['data']['isOnRoot'])_0x54c7c8=_0x5f3a32['editing']['view']['getDomRoot'](_0x454b7f['activeChange']['rootName']);else{const _0x15cffe=_0x5f3a32['model']['markers']['get']('revision:'+_0x454b7f['activeChange']['id']);_0x54c7c8=_0x5a2047(_0x5f3a32['editing'],_0x15cffe);}_0x1f25fe({'target':_0x54c7c8,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x259869,currentChangeNumber:_0xcd561f,numberOfChanges:_0x2c8d20,isReady:_0x1f5c25,isEnabled:_0x4a8ee6}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x4a8ee6&&_0x1f5c25&&_0x2c8d20)&&(!_0x259869||(0x1===this['_step']?_0xcd561f<_0x2c8d20-0x1:_0xcd561f>0x0));}}class _i extends _0x34a233{constructor(_0x537e9e){super(_0x537e9e);const _0x1b2f40=this['bindTemplate'],_0x804c50=new _0x302b83(_0x537e9e),_0x2d28f7=new _0x302b83(_0x537e9e);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',(_0x270135,_0x56e0e7)=>_0x270135&&_0x56e0e7>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x324242,_0x3c327e,_0x137d0b,_0x24d3ca)=>{if(!_0x324242)return y(_0x537e9e,'Loading...');if(!_0x137d0b)return y(_0x537e9e,'No\x20changes');const _0x58cd17=y(_0x537e9e,'NUMBER_OF_CHANGES',_0x137d0b);return _0x24d3ca?y(_0x537e9e,'X_OF_Y_CHANGES',[_0x3c327e+0x1,_0x137d0b]):_0x58cd17;}),_0x804c50['set']({'label':y(_0x537e9e,'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'}),_0x2d28f7['set']({'label':y(_0x537e9e,'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'}),_0x804c50['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x2d28f7['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x804c50['on']('execute',()=>this['fire']('execute','backward')),_0x2d28f7['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',_0x1b2f40['if']('_isStatusLabelVisible','ck-hidden',_0x28b576=>!_0x28b576)]},'children':[{'text':_0x1b2f40['to']('isNavigationMode',_0x5072ad=>_0x5072ad?y(_0x537e9e,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x537e9e,'Total')+':\x20')}]},{'text':_0x1b2f40['to']('_statusText')}]},new _0x3fa825(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x804c50,_0x2d28f7]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x15722d{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x4fed46=this['editor']['editing']['view'];_0x4fed46['change'](_0x3e3963=>{for(const _0xd2b5e6 of _0x4fed46['document']['roots'])_0x3e3963['addClass'](ce,_0xd2b5e6);});}['hide'](){const _0x1127c6=this['editor']['editing']['view'];_0x1127c6['change'](_0x12ab08=>{for(const _0x24fe68 of _0x1127c6['document']['roots'])_0x12ab08['removeClass'](ce,_0x24fe68);});}}class R extends _0x15722d{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4272e1=this['editor'],_0x590e7a=_0x4272e1['plugins']['get'](d),_0xd85e35=_0x4272e1['plugins']['get'](de);_0x4272e1['ui']['componentFactory']['add']('exitToEditing',_0x16e4d1=>{const _0x40d9fd=new _0x302b83(_0x16e4d1);return _0x40d9fd['set']({'label':y(_0x16e4d1,'Back\x20to\x20editing'),'icon':_0x5fb71a['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x40d9fd,'execute',()=>{_0x4272e1['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x40d9fd;}),_0x4272e1['ui']['componentFactory']['add']('restoreRevision',_0x4187ce=>{const _0xf6f723=new _0x302b83(_0x4187ce);return _0xf6f723['set']({'label':y(_0x4187ce,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0xf6f723['bind']('isEnabled')['to'](_0x4272e1['commands']['get']('restoreRevision')),this['listenTo'](_0xf6f723,'execute',()=>_0x4272e1['execute']('restoreRevision')),_0xf6f723;}),_0x4272e1['ui']['componentFactory']['add']('changesNavigation',_0x40f967=>{const _0x371c75=new _i(_0x40f967),_0xba936d=_0x4272e1['commands']['get']('showPreviousChange'),_0x22e34f=_0x4272e1['commands']['get']('showNextChange');return _0x371c75['bind']('isBackwardNavigationEnabled')['to'](_0xba936d,'isEnabled'),_0x371c75['bind']('isForwardNavigationEnabled')['to'](_0x22e34f,'isEnabled'),_0x371c75['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x590e7a),this['listenTo'](_0x371c75,'execute',(_0x2fcd18,_0x534f21)=>{_0x4272e1['execute']('forward'===_0x534f21?'showNextChange':'showPreviousChange');}),_0x371c75;}),_0xd85e35['show'](),_0x590e7a['on']('change:isReady',(_0x392103,_0x30cc51,_0x4e6887)=>{_0x4e6887?_0xd85e35['hide']():_0xd85e35['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x38ab0d,_0x41e3ff){super(_0x38ab0d,_0x41e3ff);const _0x486ec4=this['bindTemplate'];this['set']({'label':y(_0x38ab0d,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x38ab0d,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x486ec4['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 _0x20b858=this['fieldView']['element'];this['_tooltipString']=_0x20b858['scrollWidth']>_0x20b858['clientWidth']&&_0x20b858['value']||'';}}class ti extends _0x34a233{constructor(_0x5f3e11,_0x33558f,_0x42ad13){super(_0x5f3e11);const _0x39dcb8=new _0x5429c9();_0x39dcb8['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 _0x4fd305=['ck','ck-revision-history-sidebar__revision-author'];_0x42ad13&&_0x4fd305['push']('ck-revision-history-sidebar__revision-author_creator');const _0x568786=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x5f3e11,_0x42ad13?'Revision\x20creator':'Revision\x20author')},'children':[_0x39dcb8,_0x33558f['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4fd305},'children':_0x568786});}}function ni(_0x38972b,_0x369f1d){const _0xf122de=_0x38972b['bindTemplate'],_0x55d665=_0x38972b['locale'],_0x35012e=_0x30de5a(_0x55d665);_0x35012e['panelPosition']='sw';const _0x4152ed=function(_0x258ae3,_0x3a3f4e){const _0x237ed1=function(_0x37cad9,_0x181767){const _0x3677e2=_0x37cad9['locale'],_0x30458b={'Compare\x20against\x20selected':y(_0x3677e2,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x3677e2,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x3677e2,'Restore\x20this\x20revision')};return _0x181767['map'](_0x50b2c2=>{const _0x31abf7=_0x30458b[_0x50b2c2['name']];return _0x31abf7&&_0x31abf7!==_0x50b2c2['name']&&(_0x50b2c2['name']=_0x31abf7),_0x50b2c2;});}(_0x258ae3,_0x3a3f4e),_0x816a4=new _0x51c829();for(const _0x5093bc of _0x237ed1){const _0x5031e5={'type':'button','model':new to({'label':_0x5093bc['name'],'class':_0x5093bc['class'],'withText':!0x0,'role':'menuitem','_action':_0x5093bc['action']})};_0x5031e5['model']['bind']('isEnabled')['to'](_0x258ae3,'isActionsDropdownOpen',_0x1b781c=>'function'!=typeof _0x5093bc['isEnabled']||(!_0x1b781c||_0x5093bc['isEnabled'](_0x258ae3))),_0x816a4['add'](_0x5031e5);}return _0x816a4;}(_0x38972b,_0x369f1d);return _0x38972b['bind']('isActionsDropdownOpen')['to'](_0x35012e,'isOpen'),_0x35012e['buttonView']['set']({'label':y(_0x55d665,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x5fb71a['threeVerticalDots']}),_0x35012e['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0xf122de['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0xf122de['to'](_0x1cf623=>_0x1cf623['stopPropagation']())}}),_0x35012e['on']('execute',_0x12b207=>{_0x38972b['isReady']&&'function'==typeof _0x12b207['source']['_action']&&_0x12b207['source']['_action'](_0x38972b);}),_0x7380b5(_0x35012e,_0x4152ed,{'role':'menu'}),_0x35012e['listenTo'](_0x38972b,'change:isActionsDropdownOpen',(_0x2145f7,_0x11c896,_0x35b660)=>{if(_0x35b660)for(const _0x23f95f of _0x35012e['listView']['items']){const _0xa6030a=_0x23f95f['children']['first'],_0x32882a=_0x369f1d['find'](_0x27f1f8=>_0x27f1f8['action']===_0xa6030a['_action'])['isVisible'];_0x23f95f['isVisible']=void 0x0===_0x32882a||_0x32882a(_0x38972b);}}),_0x35012e;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x2ec772(_0x34a233){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x2dbd4d,_0x355347,_0x4ab8b1,_0x353bab){super(_0x2dbd4d);const _0x3fc5fe=this['bindTemplate'],_0x5d708f=function(_0x32d75f,_0x6b5aed){const _0x19c7fe=Array['from'](_0x6b5aed['authors'])['filter'](_0x4f1315=>_0x4f1315!=_0x6b5aed['creator']);return _0x6b5aed['creator']&&_0x19c7fe['unshift'](_0x6b5aed['creator']),_0x19c7fe['map'](_0x482566=>new ti(_0x32d75f,_0x482566,_0x482566==_0x6b5aed['creator']));}(_0x2dbd4d,_0x355347);this['id']=_0x355347['id'],this['_revision']=_0x355347,this['_requireRevisionName']=_0x353bab,this['bind']('name','createdAt')['to'](_0x355347),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x10309b=>{return _0x52c96f=_0x2dbd4d['uiLanguage'],(_0x187e00=_0x10309b)['toLocaleDateString'](_0x52c96f,{'month':'long','day':'numeric'})+',\x20'+_0x187e00['toLocaleTimeString'](_0x52c96f,{'hour':'numeric','minute':'numeric'});var _0x52c96f,_0x187e00;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x2dbd4d,_0x30bbd3),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x3d5818=>_0x3d5818||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x2125ca,_0x2223d3)=>_0x2125ca&&_0x2223d3),this['revisionActionsView']=_0x4ab8b1&&_0x4ab8b1['length']?ni(this,_0x4ab8b1):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3fc5fe['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3fc5fe['if']('isEnabled','ck-disabled',_0x184c37=>!_0x184c37),_0x3fc5fe['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3fc5fe['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3fc5fe['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':_0x3fc5fe['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':_0x5d708f}]},this['revisionActionsView']],'on':{'click':_0x3fc5fe['to'](_0x4ef512=>{_0x4ef512['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x3603ab=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x3603ab,'change',()=>{this['_requireRevisionName']&&!_0x3603ab['value']||this['fire']('setName',{'id':this['id'],'name':_0x3603ab['value']}),_0x3603ab['value']||(_0x3603ab['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(_0x25c204,_0x31a655){const _0x383c16=_0x36bea6['fromJSDate'](_0x25c204)['setLocale'](_0x31a655),_0x4ac767=_0x36bea6['local'](),_0x1aa497=_0x4ac767['minus']({'days':0x1})['startOf']('day');let _0x154f7b,_0x102712;return _0x383c16['hasSame'](_0x4ac767,'day')?(_0x154f7b=_0x383c16['startOf']('day')['toJSDate'](),_0x102712=_0x383c16['toRelativeCalendar']()):_0x383c16['hasSame'](_0x1aa497,'day')?(_0x154f7b=_0x1aa497['toJSDate'](),_0x102712=_0x383c16['toRelativeCalendar']()):_0x383c16['hasSame'](_0x4ac767,'week')?(_0x154f7b=_0x383c16['startOf']('week')['toJSDate'](),_0x102712=_0x383c16['weekdayLong']||''):_0x383c16['hasSame'](_0x4ac767,'year')?(_0x154f7b=_0x383c16['startOf']('month')['toJSDate'](),_0x102712=_0x383c16['monthLong']||''):(_0x154f7b=_0x383c16['startOf']('year')['toJSDate'](),_0x102712=String(_0x383c16['year'])),{'startDate':_0x154f7b,'localizedPeriodName':_0x102712};}class mi extends _0x34a233{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x324907,_0x2a8180,_0x562e08,_0x5ab533){super(_0x324907);const _0x3a6121=di(_0x2a8180,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2a8180,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x562e08,this['_requireRevisionName']=_0x5ab533,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':_0x3a6121}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x5f2fa1){const _0x481a07=new ai(this['locale'],_0x5f2fa1,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x481a07);}['removeRevision'](_0x2853a0){const _0x338f02=this['revisionViews']['find'](_0x44cd1f=>_0x44cd1f['id']===_0x2853a0['id']);this['revisionViews']['remove'](_0x338f02);}}class as extends _0x34a233{constructor(_0x18c8f6){super(_0x18c8f6);const _0x3b7c62=new _0x5429c9();_0x3b7c62['content']=_0x5fb71a['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3b7c62,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x18c8f6,'Revision\x20history')]}]});}}class ci extends _0x34a233{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xe0a07f,_0x11f2f5,_0x500a24,_0xd7a1f0){super(_0xe0a07f);const _0x40a002=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x11f2f5,this['_revisionActions']=_0x500a24,this['_requireRevisionName']=_0xd7a1f0,this['on']('select',(_0x5033a7,_0x27dc1d)=>{this['fire']('revisionSelected',_0x27dc1d);}),this['on']('setName',(_0x5eb5e0,_0x503703)=>{this['fire']('revisionSetName',_0x503703);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0xe0a07f),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x40a002['if']('isEnabled','ck-disabled',_0x1b1671=>!_0x1b1671)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x1dd723 of this['_revisions'])this['_addRevision'](_0x1dd723);this['_revisions']['on']('add',(_0x4ee5f3,_0x222e8e)=>{this['_addRevision'](_0x222e8e);}),this['_revisions']['on']('remove',(_0x39145a,_0x35d8af)=>{this['_removeRevision'](_0x35d8af);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3f8ada=>_0x3f8ada['revisionViews']['map'](_0x4f88fa=>_0x4f88fa))['flat']();}['selectRevision'](_0x552e30){for(const _0x42bf52 of this['revisionViews'])_0x552e30&&_0x552e30['id']===_0x42bf52['id']?_0x42bf52['select']():_0x42bf52['deselect']();}['highlightRevisions'](_0x8e55a6){for(const _0x48b9ee of this['revisionViews'])_0x8e55a6['some'](({id:_0x2d358a})=>_0x2d358a===_0x48b9ee['id'])?_0x48b9ee['highlight']():_0x48b9ee['unhighlight']();}['_addRevision'](_0x6d2672){const _0xb661c7=di(_0x6d2672['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3064b7=this['timePeriodViews']['get'](0x0);_0x3064b7&&_0x3064b7['startDate']['getTime']()===_0xb661c7['getTime']()||(_0x3064b7=new mi(this['locale'],_0xb661c7,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3064b7)),_0x3064b7['addRevision'](_0x6d2672);}['_removeRevision'](_0x30d432){const _0x1685dc=di(_0x30d432['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1685dc)['removeRevision'](_0x30d432);}['_getTimePeriodViewByStartDate'](_0x28c70c){return this['timePeriodViews']['find'](_0x35e3cb=>_0x35e3cb['startDate']['getTime']()===_0x28c70c['getTime']());}}class w extends _0x15722d{['_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(_0x1a8c34){super(_0x1a8c34),this['_revisionViewer']=_0x1a8c34['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x8d6383=this['_revisionsRepository']['_revisions'],_0x4446b1=this['_createRevisionActions'](),_0x5d2d57=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x8d6383,_0x4446b1,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',(_0x334350,_0xc28f01)=>{_0xc28f01['revisionViews']['on']('add',(_0x26d7ca,_0x55fe82)=>{_0x55fe82['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)),_0x5d2d57['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x207ffa=this['_revisionsRepository']['getRevision'](0x0);if(_0x207ffa){const _0x123cb7=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x207ffa['id']);this['_revisionViewer']['compare'](_0x207ffa,_0x123cb7);}}['_handleRevisionSelected'](_0x515913,_0x4a3d61){const _0x1e618c=this['_revisionsRepository']['getRevision'](_0x4a3d61['id']),_0x3ad92d=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1e618c['id']);this['_revisionViewer']['compare'](_0x1e618c,_0x3ad92d);}['_handleRevisionSetName'](_0x24b504,_0x2a8762){this['_revisionsRepository']['getRevision'](_0x2a8762['id'])['setName'](_0x2a8762['name']);}['_handleDiffChange'](_0x1bec76,_0x3865d0,_0x463ffa){const _0x1e352f=this['_revisionsRepository']['getRevisionsInDiff'](_0x463ffa);_0x1e352f['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1e352f),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1e352f[0x0]));}['_createRevisionActions'](){const _0x15647e=this['editor'],_0x128817=w['availableRevisionActions'],_0xfb605f=_0x15647e['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0xfb605f['length'])return _0xfb605f['map'](_0x2cd3c7=>{const _0x1cfc50='string'==typeof _0x2cd3c7?Object['assign']({},_0x128817[_0x2cd3c7]):_0x2cd3c7;return _0x1cfc50['action']=_0x1cfc50['action']['bind'](this,_0x15647e),_0x1cfc50['isVisible']&&(_0x1cfc50['isVisible']=_0x1cfc50['isVisible']['bind'](this,_0x15647e)),_0x1cfc50;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x21d06f},_0x1b9daf)=>{const _0x371955=_0x21d06f['get'](d),_0x46a171=_0x371955['repository'];let _0x1e2e74=_0x371955['diff']['newRevisionId'],_0x309f1f=_0x1b9daf['id'];_0x46a171['getIndex'](_0x1e2e74)>_0x46a171['getIndex'](_0x309f1f)&&([_0x1e2e74,_0x309f1f]=[_0x309f1f,_0x1e2e74]),_0x371955['compare'](_0x1e2e74,_0x309f1f);},'isVisible':({plugins:_0x3eb701},_0x2de34c)=>{const _0x27a03f=_0x3eb701['get'](d);return!(_0x27a03f['repository']['getRevisionsInDiff'](_0x27a03f['diff'])['length']>0x2)&&!_0x2de34c['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1b9caa,{id:_0x18093f})=>{_0x1b9caa['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x18093f);},'isVisible':({plugins:_0x374495},_0x349259)=>!!_0x374495['get'](d)['repository']['getLaterVisibleRevision'](_0x349259['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x9641ff},{id:_0x9edf37,revisionNameView:_0x3cf5e0})=>{const _0x2a5220=_0x9641ff['get'](d),_0x4fb810=_0x2a5220['repository']['getEarlierVisibleRevision'](_0x9edf37);_0x2a5220['compare'](_0x9edf37,_0x4fb810),_0x3cf5e0['focus'](),_0x3cf5e0['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x184ac0,_0x425bb9){super(_0x184ac0),this['_view']=_0x425bb9,this['_toolbarConfig']=ct(_0x184ac0['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x1ada6a){const _0xa4f728=this['editor'],_0x4e4823=this['view'],_0x3a9ec3=_0xa4f728['editing']['view'],_0x1f6dce=_0x4e4823['editable'],_0xd2e62f=_0x3a9ec3['document']['getRoot']();_0x1f6dce['name']=_0xd2e62f['rootName'],_0x4e4823['render']();const _0x3378b2=_0x1f6dce['element'];this['setEditableElement'](_0x1f6dce['name'],_0x3378b2),_0x4e4823['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3a9ec3['attachDomRoot'](_0x3378b2),this['_elementReplacer']['replace'](_0x1ada6a,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x28091b=this['view'],_0x2f91ed=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2f91ed['detachDomRoot'](_0x28091b['editable']['name']),_0x28091b['destroy']();}['_initToolbar'](){const _0x52cc55=this['view'];_0x52cc55['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x52cc55['stickyPanel']['limiterElement']=_0x52cc55['element'],_0x52cc55['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x4bda3b})=>_0x4bda3b),_0x52cc55['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x52cc55['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x88c3be,_0x24445b,_0x2290e2={}){super(_0x88c3be),this['stickyPanel']=new lt(_0x88c3be),this['toolbar']=new pt(_0x88c3be,{'shouldGroupWhenFull':_0x2290e2['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x88c3be,_0x24445b);}['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(_0x289814,_0x4014c1){super(_0x4014c1),this['sourceElement']=_0x289814,this['model']['document']['createRoot']();const _0x17b20f=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x17b20f);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x10ba78,_0x1cef20){const _0x565a53=new this(_0x10ba78,_0x1cef20);return await _0x565a53['initPlugins'](),await _0x565a53['ui']['init'](_0x10ba78),await _0x565a53['data']['init'](_0x565a53['config']['get']('initialData')||''),_0x565a53['fire']('ready'),_0x565a53;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x6c42b7{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x1bb5ed){super(_0x1bb5ed),this['result']='end';}}class H extends _0x6c42b7{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x144ddf){if(super(_0x144ddf),!this['editor']['config']['get']('revisionHistory'))throw new _0xa465dc('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x58d70d=>this['_showRevisionViewer']({..._0x58d70d,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x6b9f12=>this['_closeRevisionViewer'](_0x6b9f12)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x1ac12d=>this['_restoreRevision'](_0x1ac12d)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x26bfea){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x26bfea;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x4a0aae){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x4a0aae);}['getRevision'](_0x2799a2){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x2799a2);}['getRevisions'](_0x282d74){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x282d74||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x357412=this['editor'],_0x43f6ee=_0x358b08(_0x357412,p),_0x5c545a=_0x357412['plugins']['get']('RevisionTracker'),_0x2d12ab=_0x357412['plugins']['get']('Users')['users'];return _0x43f6ee['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x43f6ee['lazyRoots'],(_0x43f6ee['plugins']['push'](k,d,R,class extends _0x6c42b7{static get['requires'](){return[d,'Users'];}['init'](){const _0x5a6daa=this['editor']['plugins']['get']('Users');for(const _0xb2656a of _0x2d12ab)_0xb2656a['isAnonymous']||_0x5a6daa['getUser'](_0xb2656a['id'])||_0x5a6daa['addUser'](_0xb2656a);const _0x36a30e=_0x5c545a['repository']['getRevisions']();let _0x26701c=null;const _0x42dee3=this['editor']['plugins']['get']('RevisionViewer');_0x42dee3['adapter']=_0x5c545a['adapter'],_0x42dee3['bind']('isEnabled')['to'](_0x5c545a),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x357412,'isReadOnly',_0x586adb=>!_0x586adb);for(const _0x4ebd01 of _0x36a30e){const _0xdc12f1=null===_0x4ebd01['creator'];if(_0xdc12f1&&_0x4ebd01['toVersion']===_0x4ebd01['fromVersion'])continue;const _0x31675d=_0x4ebd01['toJSON']();_0x42dee3['addRevisionData'](_0x31675d,(_0x5f81f,_0x1b8287,_0x4e3d4c)=>{if(_0xdc12f1){if(_0x26701c)_0x26701c['_update'](_0x5f81f,_0x1b8287);else{if(!_0x1b8287){const _0x225e61=_0x4e3d4c['toJSON']();_0x225e61['id']=_0x59ba44(),_0x5c545a['saveRevision'](_0x225e61,_0x4e3d4c['toVersion'])['then'](_0x1ae8d8=>{_0x26701c=_0x1ae8d8;});}}}else _0x4ebd01['_update'](_0x5f81f,_0x1b8287);});}}},w),_0x43f6ee);}['_enhanceShowRevisionViewerCallback'](){const _0x12a0d9=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x5e15cb=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x34d4f6=this['editor']['plugins']['get']('Autosave');await _0x34d4f6['save']();}else await _0x5e15cb['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3c56d0=this['editor']['plugins']['get']('Dialog');_0x3c56d0['isOpen']&&_0x3c56d0['hide']();}const _0x4a92c8=this['_getRevisionViewerEditorConfig']();return _0x12a0d9(_0x4a92c8)['then'](_0x2a080f=>{return(this['_viewerEditor']=_0x2a080f,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2a080f;})['catch'](_0x2a450f=>(console['error'](_0x2a450f),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x12182f=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'](),_0x12182f(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x279461=this['editor']['plugins']['get']('Annotations');_0x279461['refreshVisibility'](),_0x279461['refreshPositioning']();}})));}['_showRevisionViewer'](_0x36dc4f){const _0x5dc494=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x27a16a=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x29afd1=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x29afd1,_0x36dc4f)['then'](_0x2fe5df=>(_0x27a16a['style']['display']='block',_0x5dc494['style']['display']='none',_0x2fe5df));}['_closeRevisionViewer'](_0x217d2a){const _0x4da9e7=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4da9e7['style']['display']='',_0x217d2a['destroy']();}async['_restoreRevision'](_0x2144b8){const _0x10c13f=this['editor'],_0x384442=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0xb23b75=_0x10c13f['plugins']['get']('RevisionTracker'),_0x3b22cf=_0x384442['repository']['getRevision'](_0x2144b8);let _0x266609,_0x4862cf,_0x2532d1;try{_0x266609=await _0x384442['getRevisionData'](_0x3b22cf),_0x4862cf=await _0x384442['getRevisionRootsAttributes'](_0x3b22cf);}catch(_0x5922bb){return void console['error'](_0x5922bb);}_0x10c13f['model']['change'](_0x508daa=>{for(const _0xe8c70c of Array['from'](_0x10c13f['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x508daa['removeMarker'](_0xe8c70c);}),_0x384442['isReady']=!0x1,_0x10c13f['model']['enqueueChange'](_0x34aa54=>{_0x34aa54['setSelection'](null),_0x34aa54['removeSelectionAttribute'](_0x10c13f['model']['document']['selection']['getAttributeKeys']());const _0x22a552=Object['keys'](_0x266609);for(const _0x25a4e4 of _0x10c13f['model']['document']['roots'])'$graveyard'!=_0x25a4e4['rootName']&&_0x25a4e4['isAttached']()&&!_0x22a552['includes'](_0x25a4e4['rootName'])&&_0x34aa54['detachRoot'](_0x25a4e4);for(const _0x324c67 of _0x22a552){let _0x54ed72=_0x10c13f['model']['document']['getRoot'](_0x324c67);_0x54ed72&&_0x54ed72['isAttached']()||(_0x54ed72=_0x34aa54['addRoot'](_0x324c67));const _0x127f1a=_0x4862cf[_0x324c67],_0x38543d=Object['keys'](_0x127f1a),_0x4f165c=_0x266609[_0x324c67];for(const _0x2924fd of _0x54ed72['getAttributeKeys']())_0x38543d['includes'](_0x2924fd)||_0x34aa54['removeAttribute'](_0x2924fd,_0x54ed72);for(const _0x5a8e3a of _0x38543d)_0x34aa54['setAttribute'](_0x5a8e3a,_0x4862cf[_0x324c67][_0x5a8e3a],_0x54ed72);_0x34aa54['remove'](_0x34aa54['createRangeIn'](_0x54ed72)),_0x34aa54['insert'](_0x10c13f['data']['parse'](_0x4f165c,_0x54ed72),_0x54ed72,0x0);}});const _0x5088f0=y(_0x10c13f['locale'],'Restored');if(_0x3b22cf['name'])_0x2532d1=-0x1==_0x3b22cf['name']['indexOf'](_0x5088f0)?_0x5088f0+':\x20'+_0x3b22cf['name']:_0x3b22cf['name'];else _0x2532d1=_0x5088f0+':\x20'+(_0x3b22cf['createdAt']['toLocaleDateString'](_0x10c13f['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3b22cf['createdAt']['toLocaleTimeString'](_0x10c13f['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0xb23b75['saveRevision']({'name':_0x2532d1}),_0x384442['isReady']=!0x0,_0x10c13f['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(_0x1b51e6){super(_0x1b51e6),this['_revisionViewer']=_0x1b51e6['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x353a4d=this['_revisionsRepository']['_revisions'],_0x57ac33=this['_createRevisionActions'](),_0x35cb71=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x353a4d,_0x57ac33,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',(_0x57fa10,_0x5c20df)=>{_0x5c20df['revisionViews']['on']('add',(_0x1e9559,_0x1f72de)=>{_0x1f72de['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)),_0x35cb71['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x4e59e8=this['_revisionsRepository']['getRevision'](0x0);if(_0x4e59e8){const _0x264c4b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x4e59e8['id']);this['_revisionViewer']['compare'](_0x4e59e8,_0x264c4b);}}['_handleRevisionSelected'](_0x2db8d1,_0x42f97f){const _0x198a47=this['_revisionsRepository']['getRevision'](_0x42f97f['id']),_0x4174e4=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x198a47['id']);this['_revisionViewer']['compare'](_0x198a47,_0x4174e4);}['_handleRevisionSetName'](_0x48b278,_0xf9e826){this['_revisionsRepository']['getRevision'](_0xf9e826['id'])['setName'](_0xf9e826['name']);}['_handleDiffChange'](_0x3faa77,_0x30ac06,_0x2f2ff0){const _0x232b67=this['_revisionsRepository']['getRevisionsInDiff'](_0x2f2ff0);_0x232b67['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x232b67),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x232b67[0x0]));}['_createRevisionActions'](){const _0x54ef80=this['editor'],_0x1e55a5=w['availableRevisionActions'],_0x56e7c6=_0x54ef80['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x56e7c6['length'])return _0x56e7c6['map'](_0x3baf04=>{const _0x135af4='string'==typeof _0x3baf04?Object['assign']({},_0x1e55a5[_0x3baf04]):_0x3baf04;return _0x135af4['action']=_0x135af4['action']['bind'](this,_0x54ef80),_0x135af4['isVisible']&&(_0x135af4['isVisible']=_0x135af4['isVisible']['bind'](this,_0x54ef80)),_0x135af4;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3d609c},_0x1c77ed)=>{const _0x161f38=_0x3d609c['get'](d),_0x27d75d=_0x161f38['repository'];let _0x2cf88a=_0x161f38['diff']['newRevisionId'],_0xa760e8=_0x1c77ed['id'];_0x27d75d['getIndex'](_0x2cf88a)>_0x27d75d['getIndex'](_0xa760e8)&&([_0x2cf88a,_0xa760e8]=[_0xa760e8,_0x2cf88a]),_0x161f38['compare'](_0x2cf88a,_0xa760e8);},'isVisible':({plugins:_0x50f079},_0x43e0dc)=>{const _0x520b58=_0x50f079['get'](d);return!(_0x520b58['repository']['getRevisionsInDiff'](_0x520b58['diff'])['length']>0x2)&&!_0x43e0dc['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x19e3d3,{id:_0x335eec})=>{_0x19e3d3['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x335eec);},'isVisible':({plugins:_0x407e1e},_0x697ffc)=>!!_0x407e1e['get'](d)['repository']['getLaterVisibleRevision'](_0x697ffc['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x56c417},{id:_0x5e3277,revisionNameView:_0x5b55a9})=>{const _0x5035c3=_0x56c417['get'](d),_0x220bc5=_0x5035c3['repository']['getEarlierVisibleRevision'](_0x5e3277);_0x5035c3['compare'](_0x5e3277,_0x220bc5),_0x5b55a9['focus'](),_0x5b55a9['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x469eda,_0x52bc9d){super(_0x469eda),this['_view']=_0x52bc9d,this['_toolbarConfig']=ct(_0x469eda['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x199d9a){const _0x5ba962=this['editor'],_0x2f37b9=this['view'],_0x309820=_0x5ba962['editing']['view'],_0x29cae7=_0x2f37b9['editable'],_0x453139=_0x309820['document']['getRoot']();_0x29cae7['name']=_0x453139['rootName'],_0x2f37b9['render']();const _0x736bec=_0x29cae7['element'];this['setEditableElement'](_0x29cae7['name'],_0x736bec),_0x2f37b9['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x309820['attachDomRoot'](_0x736bec),this['_elementReplacer']['replace'](_0x199d9a,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x57001c=this['view'],_0x48c1de=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x48c1de['detachDomRoot'](_0x57001c['editable']['name']),_0x57001c['destroy']();}['_initToolbar'](){const _0x7e6dc6=this['view'];_0x7e6dc6['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x7e6dc6['stickyPanel']['limiterElement']=_0x7e6dc6['element'],_0x7e6dc6['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x101900})=>_0x101900),_0x7e6dc6['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x7e6dc6['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x10783b,_0x335ab9,_0x2953d2={}){super(_0x10783b),this['stickyPanel']=new lt(_0x10783b),this['toolbar']=new pt(_0x10783b,{'shouldGroupWhenFull':_0x2953d2['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x10783b,_0x335ab9);}['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(_0x10ddbf,_0x5396ad){super(_0x5396ad),this['sourceElement']=_0x10ddbf,this['model']['document']['createRoot']();const _0x423dbe=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x423dbe);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2afad8,_0x68d0cf){const _0x17d6d5=new this(_0x2afad8,_0x68d0cf);return await _0x17d6d5['initPlugins'](),await _0x17d6d5['ui']['init'](_0x2afad8),await _0x17d6d5['data']['init'](_0x17d6d5['config']['get']('initialData')||''),_0x17d6d5['fire']('ready'),_0x17d6d5;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x15722d{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x74cf93){super(_0x74cf93),this['result']='end';}}class H extends _0x15722d{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x284ea9){if(super(_0x284ea9),!this['editor']['config']['get']('revisionHistory'))throw new _0x4bfbd3('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xad6898=>this['_showRevisionViewer']({..._0xad6898,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1b441c=>this['_closeRevisionViewer'](_0x1b441c)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x545061=>this['_restoreRevision'](_0x545061)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x5f9a76){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x5f9a76;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x23de84){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x23de84);}['getRevision'](_0x403388){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x403388);}['getRevisions'](_0x2362d3){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2362d3||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5914d8=this['editor'],_0x4e47e8=_0x3af701(_0x5914d8,p),_0x20d86d=_0x5914d8['plugins']['get']('RevisionTracker'),_0x31c8fc=_0x5914d8['plugins']['get']('Users')['users'];return _0x4e47e8['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4e47e8['lazyRoots'],(_0x4e47e8['plugins']['push'](k,d,R,class extends _0x15722d{static get['requires'](){return[d,'Users'];}['init'](){const _0x434294=this['editor']['plugins']['get']('Users');for(const _0x2f3127 of _0x31c8fc)_0x2f3127['isAnonymous']||_0x434294['getUser'](_0x2f3127['id'])||_0x434294['addUser'](_0x2f3127);const _0x11b6b8=_0x20d86d['repository']['getRevisions']();let _0x558c78=null;const _0x38600d=this['editor']['plugins']['get']('RevisionViewer');_0x38600d['adapter']=_0x20d86d['adapter'],_0x38600d['bind']('isEnabled')['to'](_0x20d86d),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5914d8,'isReadOnly',_0x3abcc0=>!_0x3abcc0);for(const _0x38f5e9 of _0x11b6b8){const _0x27e591=null===_0x38f5e9['creator'];if(_0x27e591&&_0x38f5e9['toVersion']===_0x38f5e9['fromVersion'])continue;const _0x5a80fb=_0x38f5e9['toJSON']();_0x38600d['addRevisionData'](_0x5a80fb,(_0x1ce3f3,_0x993a97,_0x49762d)=>{if(_0x27e591){if(_0x558c78)_0x558c78['_update'](_0x1ce3f3,_0x993a97);else{if(!_0x993a97){const _0x4610e4=_0x49762d['toJSON']();_0x4610e4['id']=_0x523f17(),_0x20d86d['saveRevision'](_0x4610e4,_0x49762d['toVersion'])['then'](_0x5c741b=>{_0x558c78=_0x5c741b;});}}}else _0x38f5e9['_update'](_0x1ce3f3,_0x993a97);});}}},w),_0x4e47e8);}['_enhanceShowRevisionViewerCallback'](){const _0x5bea3b=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x1207ac=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4ea22b=this['editor']['plugins']['get']('Autosave');await _0x4ea22b['save']();}else await _0x1207ac['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x46f124=this['editor']['plugins']['get']('Dialog');_0x46f124['isOpen']&&_0x46f124['hide']();}const _0x4e621c=this['_getRevisionViewerEditorConfig']();return _0x5bea3b(_0x4e621c)['then'](_0x27ae52=>{return(this['_viewerEditor']=_0x27ae52,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x27ae52;})['catch'](_0x44f1e3=>(console['error'](_0x44f1e3),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x56c8d0=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'](),_0x56c8d0(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0xc6761e=this['editor']['plugins']['get']('Annotations');_0xc6761e['refreshVisibility'](),_0xc6761e['refreshPositioning']();}})));}['_showRevisionViewer'](_0x4cae47){const _0x20ca84=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x26faef=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2b6981=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2b6981,_0x4cae47)['then'](_0x312c95=>(_0x26faef['style']['display']='block',_0x20ca84['style']['display']='none',_0x312c95));}['_closeRevisionViewer'](_0x3f7703){const _0x22a5f3=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x22a5f3['style']['display']='',_0x3f7703['destroy']();}async['_restoreRevision'](_0x39a7e0){const _0x101c0a=this['editor'],_0x57d8e8=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x14a128=_0x101c0a['plugins']['get']('RevisionTracker'),_0x4a4763=_0x57d8e8['repository']['getRevision'](_0x39a7e0);let _0x22f803,_0xa98aca,_0x1764c1;try{_0x22f803=await _0x57d8e8['getRevisionData'](_0x4a4763),_0xa98aca=await _0x57d8e8['getRevisionRootsAttributes'](_0x4a4763);}catch(_0x1d77c6){return void console['error'](_0x1d77c6);}_0x101c0a['model']['change'](_0x165527=>{for(const _0x1ef996 of Array['from'](_0x101c0a['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x165527['removeMarker'](_0x1ef996);}),_0x57d8e8['isReady']=!0x1,_0x101c0a['model']['enqueueChange'](_0xf9d16c=>{_0xf9d16c['setSelection'](null),_0xf9d16c['removeSelectionAttribute'](_0x101c0a['model']['document']['selection']['getAttributeKeys']());const _0x4598ba=Object['keys'](_0x22f803);for(const _0x53dd1e of _0x101c0a['model']['document']['roots'])'$graveyard'!=_0x53dd1e['rootName']&&_0x53dd1e['isAttached']()&&!_0x4598ba['includes'](_0x53dd1e['rootName'])&&_0xf9d16c['detachRoot'](_0x53dd1e);for(const _0x465682 of _0x4598ba){let _0x5b674f=_0x101c0a['model']['document']['getRoot'](_0x465682);_0x5b674f&&_0x5b674f['isAttached']()||(_0x5b674f=_0xf9d16c['addRoot'](_0x465682));const _0xd9d7f6=_0xa98aca[_0x465682],_0x50d53c=Object['keys'](_0xd9d7f6),_0x5bf3ef=_0x22f803[_0x465682];for(const _0x3af106 of _0x5b674f['getAttributeKeys']())_0x50d53c['includes'](_0x3af106)||_0xf9d16c['removeAttribute'](_0x3af106,_0x5b674f);for(const _0x4f1dec of _0x50d53c)_0xf9d16c['setAttribute'](_0x4f1dec,_0xa98aca[_0x465682][_0x4f1dec],_0x5b674f);_0xf9d16c['remove'](_0xf9d16c['createRangeIn'](_0x5b674f)),_0xf9d16c['insert'](_0x101c0a['data']['parse'](_0x5bf3ef,_0x5b674f),_0x5b674f,0x0);}});const _0xe63dc7=y(_0x101c0a['locale'],'Restored');if(_0x4a4763['name'])_0x1764c1=-0x1==_0x4a4763['name']['indexOf'](_0xe63dc7)?_0xe63dc7+':\x20'+_0x4a4763['name']:_0x4a4763['name'];else _0x1764c1=_0xe63dc7+':\x20'+(_0x4a4763['createdAt']['toLocaleDateString'](_0x101c0a['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x4a4763['createdAt']['toLocaleTimeString'](_0x101c0a['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x14a128['saveRevision']({'name':_0x1764c1}),_0x57d8e8['isReady']=!0x0,_0x101c0a['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};