@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240522.0 → 0.0.0-nightly-20240524.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/README.md +6 -0
  2. package/build/revision-history.js +1 -1
  3. package/dist/index.js +6 -6
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/bg.js +1 -1
  11. package/dist/translations/bg.umd.js +1 -1
  12. package/dist/translations/bn.js +1 -1
  13. package/dist/translations/bn.umd.js +1 -1
  14. package/dist/translations/bs.js +1 -1
  15. package/dist/translations/bs.umd.js +1 -1
  16. package/dist/translations/ca.js +1 -1
  17. package/dist/translations/ca.umd.js +1 -1
  18. package/dist/translations/cs.js +1 -1
  19. package/dist/translations/cs.umd.js +1 -1
  20. package/dist/translations/da.js +1 -1
  21. package/dist/translations/da.umd.js +1 -1
  22. package/dist/translations/de-ch.js +1 -1
  23. package/dist/translations/de-ch.umd.js +1 -1
  24. package/dist/translations/de.js +1 -1
  25. package/dist/translations/de.umd.js +1 -1
  26. package/dist/translations/el.js +1 -1
  27. package/dist/translations/el.umd.js +1 -1
  28. package/dist/translations/en-au.js +1 -1
  29. package/dist/translations/en-au.umd.js +1 -1
  30. package/dist/translations/en-gb.js +1 -1
  31. package/dist/translations/en-gb.umd.js +1 -1
  32. package/dist/translations/en.umd.js +1 -1
  33. package/dist/translations/es-co.js +1 -1
  34. package/dist/translations/es-co.umd.js +1 -1
  35. package/dist/translations/es.js +1 -1
  36. package/dist/translations/es.umd.js +1 -1
  37. package/dist/translations/et.js +1 -1
  38. package/dist/translations/et.umd.js +1 -1
  39. package/dist/translations/fa.js +1 -1
  40. package/dist/translations/fa.umd.js +1 -1
  41. package/dist/translations/fi.js +1 -1
  42. package/dist/translations/fi.umd.js +1 -1
  43. package/dist/translations/fr.js +1 -1
  44. package/dist/translations/fr.umd.js +1 -1
  45. package/dist/translations/gl.js +1 -1
  46. package/dist/translations/gl.umd.js +1 -1
  47. package/dist/translations/he.js +1 -1
  48. package/dist/translations/he.umd.js +1 -1
  49. package/dist/translations/hi.js +1 -1
  50. package/dist/translations/hi.umd.js +1 -1
  51. package/dist/translations/hr.js +1 -1
  52. package/dist/translations/hr.umd.js +1 -1
  53. package/dist/translations/hu.js +1 -1
  54. package/dist/translations/hu.umd.js +1 -1
  55. package/dist/translations/id.js +1 -1
  56. package/dist/translations/id.umd.js +1 -1
  57. package/dist/translations/it.js +1 -1
  58. package/dist/translations/it.umd.js +1 -1
  59. package/dist/translations/ja.js +1 -1
  60. package/dist/translations/ja.umd.js +1 -1
  61. package/dist/translations/jv.js +1 -1
  62. package/dist/translations/jv.umd.js +1 -1
  63. package/dist/translations/ko.js +1 -1
  64. package/dist/translations/ko.umd.js +1 -1
  65. package/dist/translations/ku.js +1 -1
  66. package/dist/translations/ku.umd.js +1 -1
  67. package/dist/translations/lt.js +1 -1
  68. package/dist/translations/lt.umd.js +1 -1
  69. package/dist/translations/lv.js +1 -1
  70. package/dist/translations/lv.umd.js +1 -1
  71. package/dist/translations/ms.js +1 -1
  72. package/dist/translations/ms.umd.js +1 -1
  73. package/dist/translations/ne.js +1 -1
  74. package/dist/translations/ne.umd.js +1 -1
  75. package/dist/translations/nl.js +1 -1
  76. package/dist/translations/nl.umd.js +1 -1
  77. package/dist/translations/no.js +1 -1
  78. package/dist/translations/no.umd.js +1 -1
  79. package/dist/translations/pl.js +1 -1
  80. package/dist/translations/pl.umd.js +1 -1
  81. package/dist/translations/pt-br.js +1 -1
  82. package/dist/translations/pt-br.umd.js +1 -1
  83. package/dist/translations/pt.js +1 -1
  84. package/dist/translations/pt.umd.js +1 -1
  85. package/dist/translations/ro.js +1 -1
  86. package/dist/translations/ro.umd.js +1 -1
  87. package/dist/translations/ru.js +1 -1
  88. package/dist/translations/ru.umd.js +1 -1
  89. package/dist/translations/sk.js +1 -1
  90. package/dist/translations/sk.umd.js +1 -1
  91. package/dist/translations/sr-latn.js +1 -1
  92. package/dist/translations/sr-latn.umd.js +1 -1
  93. package/dist/translations/sr.js +1 -1
  94. package/dist/translations/sr.umd.js +1 -1
  95. package/dist/translations/sv.js +1 -1
  96. package/dist/translations/sv.umd.js +1 -1
  97. package/dist/translations/th.js +1 -1
  98. package/dist/translations/th.umd.js +1 -1
  99. package/dist/translations/ti.js +1 -1
  100. package/dist/translations/ti.umd.js +1 -1
  101. package/dist/translations/tk.js +1 -1
  102. package/dist/translations/tk.umd.js +1 -1
  103. package/dist/translations/tr.js +1 -1
  104. package/dist/translations/tr.umd.js +1 -1
  105. package/dist/translations/tt.js +1 -1
  106. package/dist/translations/tt.umd.js +1 -1
  107. package/dist/translations/ug.js +1 -1
  108. package/dist/translations/ug.umd.js +1 -1
  109. package/dist/translations/uk.js +1 -1
  110. package/dist/translations/uk.umd.js +1 -1
  111. package/dist/translations/ur.js +1 -1
  112. package/dist/translations/ur.umd.js +1 -1
  113. package/dist/translations/vi.js +1 -1
  114. package/dist/translations/vi.umd.js +1 -1
  115. package/dist/translations/zh-cn.js +1 -1
  116. package/dist/translations/zh-cn.umd.js +1 -1
  117. package/dist/translations/zh.js +1 -1
  118. package/dist/translations/zh.umd.js +1 -1
  119. package/package.json +5 -5
  120. package/src/changeitem.js +2 -2
  121. package/src/editor/revisionviewereditor.js +2 -2
  122. package/src/editor/revisionviewereditorui.js +1 -1
  123. package/src/editor/revisionviewereditoruiview.js +1 -1
  124. package/src/index.js +1 -1
  125. package/src/revision.js +2 -2
  126. package/src/revisiondiff.js +1 -1
  127. package/src/revisionhistory.js +1 -1
  128. package/src/revisionsrepository.js +1 -1
  129. package/src/revisiontracker.js +1 -1
  130. package/src/revisionviewer.js +1 -1
  131. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  132. package/src/ui/revision/revisionauthorview.js +1 -1
  133. package/src/ui/revision/revisionnameview.js +1 -1
  134. package/src/ui/revision/revisionview.js +2 -2
  135. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  136. package/src/ui/revision/subrevisionview.js +1 -1
  137. package/src/ui/revision/utils.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  139. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  143. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  144. package/src/ui/revisionssidebar/utils.js +1 -1
  145. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  146. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  148. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  149. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x412bee,Context as _0x3d481f,PendingActions as _0x241425,icons as _0x2a3798,Command as _0x2c5209,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x49d668,uid as _0x2c681b,Collection as _0x285857,logWarning as _0x39934c,FocusTracker as _0x33c9d4,KeystrokeHandler as _0x282f6f,scrollViewportToShowTarget as _0x162bf6,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x54875a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x1b8b43,getMarkerDomElement as _0x1b9b73,ConfirmMixin as _0x3686d1,sanitizeEditorConfig as _0x54630d}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3f05fc,ViewText as _0x28054c,ViewElement as _0x56db84,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x272e9d,ViewAttributeElement as _0x237fb9,ViewEmptyElement as _0x5c1e88,ViewRawElement as _0x3edd43,ViewUIElement as _0x11b97f,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xeac1b,set as _0x34a30a,unset as _0x3c6ca8,isEqual as _0xb61355}from'lodash-es';import{View as _0x7a2f55,injectCssTransitionDisabler as ts,submitHandler as _0x408d20,LabeledFieldView as at,createLabeledInputText as _0x4b6b52,createDropdown as _0x6a32b0,ListView as te,ListItemView as _0x42e444,ButtonView as _0x4eec00,MenuBarMenuView as _0x2e0aca,MenuBarMenuListView as _0x5302b5,MenuBarMenuListItemView as _0x153bd8,MenuBarMenuListItemButtonView as _0x3b2869,ContextualBalloon as _0x3c831e,ToolbarSeparatorView as _0x4413a1,IconView as _0x1e155d,addListToDropdown as _0x1edd52,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 _0x5a6abd}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x49d668(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x338c0b){super(),this['id']=_0x338c0b['id']||_0x2c681b(),this['creator']=_0x338c0b['creator']||null,this['authors']=_0x338c0b['authors']||[],this['diffData']=_0x338c0b['diffData']||null,this['toVersion']=_0x338c0b['toVersion']||0x0,this['fromVersion']=_0x338c0b['fromVersion']||0x0,this['set']('name',_0x338c0b['name']||''),this['set']('createdAt',_0x338c0b['createdAt']||new Date()),this['set']('attributes',_0x338c0b['attributes']||{});}['setName'](_0x25661e){this['_update']({'name':_0x25661e});}['setAttribute'](_0x2e5808,_0x4da895){const _0x5397b6=_0xeac1b(this['attributes']);_0x34a30a(_0x5397b6,_0x2e5808,_0x4da895),this['_update']({'attributes':_0x5397b6});}['removeAttribute'](_0x3da34e){const _0x5b45ee=_0xeac1b(this['attributes']);_0x3c6ca8(_0x5b45ee,_0x3da34e),this['_update']({'attributes':_0x5b45ee});}['_update'](_0x2eb147,_0x381002=!0x1){let _0x19760b=!0x1;const _0x1303bc={'id':this['id']},_0x14c42c=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x309da1 of _0x14c42c){const _0x3a15da=_0x2eb147[_0x309da1];void 0x0!==_0x3a15da&&_0x3a15da!==this[_0x309da1]&&(this[_0x309da1]=_0x3a15da,_0x1303bc[_0x309da1]=_0x3a15da,_0x19760b=!0x0);}_0x19760b&&(_0x1303bc['authors']&&(_0x1303bc['authorsIds']=_0x1303bc['authors']['map'](_0x1ffc52=>_0x1ffc52['id']),delete _0x1303bc['authors']),this['fire']('_update',_0x1303bc,_0x381002));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x13389f=>_0x13389f['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x412bee{['_revisions'];static get['requires'](){return[_0x1b8b43];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x10ad72){super(_0x10ad72),this['_revisions']=new _0x285857();}['afterInit'](){!function(_0x4273df){function _0x3c665e(_0x10627b,_0x30e41d,_0xad580){const _0x569d48={};_0x569d48[_0x10916e([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x569d48[_0x10916e([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],_0x569d48[_0x10916e([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],_0x569d48[_0x10916e([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],_0x569d48[_0x10916e([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],_0x569d48[_0x10916e([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],_0x569d48[_0x10916e([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],_0x569d48[_0x10916e([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],_0x569d48[_0x10916e([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],_0x569d48[_0x10916e([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],_0x569d48[_0x10916e([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 _0x5aa7f4=new Uint8Array(0x10);for(let _0x118fd7=0xf;_0x118fd7>=0x0;--_0x118fd7)_0x5aa7f4[_0x118fd7]=_0xad580%0x100,_0xad580=parseInt(_0xad580/0x100);let _0x3a0430=null,_0x4c3e6a=0x10;const _0x1ba1c9=new Uint8Array(_0x30e41d),_0x4d2494=[],_0x4096ac=[];_0x24e590();for(let _0x34b55b=0x0;_0x34b55b<_0x10627b[_0x10916e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x34b55b++)0x10===_0x4c3e6a&&(_0x3a0430=_0x3ce3ce(_0x5aa7f4),_0x4c3e6a=0x0,_0x191ab8(_0x5aa7f4)),_0x10627b[_0x34b55b]^=_0x3a0430[_0x4c3e6a++];return _0x10627b;function _0x11eb25(_0x3be986){const _0x1b8847=[];for(let _0x43f530=0x0;_0x43f530<_0x3be986[_0x10916e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43f530+=0x4)_0x1b8847[_0x10916e([0x70,0x75,0x73,0x68])](_0x3be986[_0x43f530]<<0x18|_0x3be986[_0x43f530+0x1]<<0x10|_0x3be986[_0x43f530+0x2]<<0x8|_0x3be986[_0x43f530+0x3]);return _0x1b8847;}function _0x191ab8(_0x3f1f40){for(let _0x30c1ce=0xf;_0x30c1ce>=0x0;_0x30c1ce--){if(0xff!==_0x3f1f40[_0x30c1ce]){_0x3f1f40[_0x30c1ce]++;break;}_0x3f1f40[_0x30c1ce]=0x0;}}function _0x3ce3ce(_0x2af7f2){const _0x3f63ad=_0x4d2494[_0x10916e([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x435246=[0x0,0x0,0x0,0x0];let t=_0x11eb25(_0x2af7f2);for(let _0x36db8b=0x0;_0x36db8b<0x4;_0x36db8b++)t[_0x36db8b]^=_0x4d2494[0x0][_0x36db8b];for(let _0x4b3dbb=0x1;_0x4b3dbb<_0x3f63ad;_0x4b3dbb++){for(let _0x29fa50=0x0;_0x29fa50<0x4;_0x29fa50++)_0x435246[_0x29fa50]=_0x569d48[_0x10916e([0x54,0x31])][t[_0x29fa50]>>0x18&0xff]^_0x569d48[_0x10916e([0x54,0x32])][t[(_0x29fa50+0x1)%0x4]>>0x10&0xff]^_0x569d48[_0x10916e([0x54,0x33])][t[(_0x29fa50+0x2)%0x4]>>0x8&0xff]^_0x569d48[_0x10916e([0x54,0x34])][0xff&t[(_0x29fa50+0x3)%0x4]]^_0x4d2494[_0x4b3dbb][_0x29fa50];t=_0x435246[_0x10916e([0x73,0x6c,0x69,0x63,0x65])]();}const _0x18f068=new Uint8Array(0x10);let _0x21b8cd;for(let _0x30fdd9=0x0;_0x30fdd9<0x4;_0x30fdd9++)_0x21b8cd=_0x4d2494[_0x3f63ad][_0x30fdd9],_0x18f068[0x4*_0x30fdd9]=0xff&(_0x569d48[_0x10916e([0x53])][t[_0x30fdd9]>>0x18&0xff]^_0x21b8cd>>0x18),_0x18f068[0x4*_0x30fdd9+0x1]=0xff&(_0x569d48[_0x10916e([0x53])][t[(_0x30fdd9+0x1)%0x4]>>0x10&0xff]^_0x21b8cd>>0x10),_0x18f068[0x4*_0x30fdd9+0x2]=0xff&(_0x569d48[_0x10916e([0x53])][t[(_0x30fdd9+0x2)%0x4]>>0x8&0xff]^_0x21b8cd>>0x8),_0x18f068[0x4*_0x30fdd9+0x3]=0xff&(_0x569d48[_0x10916e([0x53])][0xff&t[(_0x30fdd9+0x3)%0x4]]^_0x21b8cd);return _0x18f068;}function _0x24e590(){const _0x41eeb=_0x569d48[_0x10916e([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x1ba1c9[_0x10916e([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x4f64d5=0x0;_0x4f64d5<=_0x41eeb;_0x4f64d5++)_0x4d2494[_0x10916e([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x4096ac[_0x10916e([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x5b5e24=0x4*(_0x41eeb+0x1),_0x1ceb39=_0x1ba1c9[_0x10916e([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x336471=_0x11eb25(_0x1ba1c9);let _0x6891f6;for(let _0x17249b=0x0;_0x17249b<_0x1ceb39;_0x17249b++)_0x6891f6=_0x17249b>>0x2,_0x4d2494[_0x6891f6][_0x17249b%0x4]=_0x336471[_0x17249b],_0x4096ac[_0x41eeb-_0x6891f6][_0x17249b%0x4]=_0x336471[_0x17249b];let _0x55dc13,_0x505207=0x0,t=_0x1ceb39;for(;t<_0x5b5e24;){_0x55dc13=_0x336471[_0x1ceb39-0x1],_0x336471[0x0]^=_0x569d48[_0x10916e([0x53])][_0x55dc13>>0x10&0xff]<<0x18^_0x569d48[_0x10916e([0x53])][_0x55dc13>>0x8&0xff]<<0x10^_0x569d48[_0x10916e([0x53])][0xff&_0x55dc13]<<0x8^_0x569d48[_0x10916e([0x53])][_0x55dc13>>0x18&0xff]^_0x569d48[_0x10916e([0x72,0x63,0x6f,0x6e])][_0x505207]<<0x18,_0x505207+=0x1;for(let _0x2e4f71=0x1;_0x2e4f71<_0x1ceb39/0x2;_0x2e4f71++)_0x336471[_0x2e4f71]^=_0x336471[_0x2e4f71-0x1];_0x55dc13=_0x336471[_0x1ceb39/0x2-0x1],_0x336471[_0x1ceb39/0x2]^=_0x569d48[_0x10916e([0x53])][0xff&_0x55dc13]^_0x569d48[_0x10916e([0x53])][_0x55dc13>>0x8&0xff]<<0x8^_0x569d48[_0x10916e([0x53])][_0x55dc13>>0x10&0xff]<<0x10^_0x569d48[_0x10916e([0x53])][_0x55dc13>>0x18&0xff]<<0x18;for(let _0x521b98=_0x1ceb39/0x2+0x1;_0x521b98<_0x1ceb39;_0x521b98++)_0x336471[_0x521b98]^=_0x336471[_0x521b98-0x1];let _0xe5a27e,_0x3da13d,_0x5c1af2=0x0;for(;_0x5c1af2<_0x1ceb39&&t<_0x5b5e24;)_0xe5a27e=t>>0x2,_0x3da13d=t%0x4,_0x4d2494[_0xe5a27e][_0x3da13d]=_0x336471[_0x5c1af2],_0x4096ac[_0x41eeb-_0xe5a27e][_0x3da13d]=_0x336471[_0x5c1af2++],t++;}for(let _0x32d72e=0x1;_0x32d72e<_0x41eeb;_0x32d72e++)for(let _0x55e27c=0x0;_0x55e27c<0x4;_0x55e27c++)_0x55dc13=_0x4096ac[_0x32d72e][_0x55e27c],_0x4096ac[_0x32d72e][_0x55e27c]=_0x569d48[_0x10916e([0x55,0x31])][_0x55dc13>>0x18&0xff]^_0x569d48[_0x10916e([0x55,0x32])][_0x55dc13>>0x10&0xff]^_0x569d48[_0x10916e([0x55,0x33])][_0x55dc13>>0x8&0xff]^_0x569d48[_0x10916e([0x55,0x34])][0xff&_0x55dc13];}}function _0x10916e(_0x4d2b15){return _0x4d2b15['map'](_0x37f041=>String['fromCharCode'](_0x37f041))['join']('');}(_0x173cb1=>{function _0x57e6cd(){const _0x178ebb=[{[_0x10916e([0x69,0x64])]:0x1,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x10916e([0x69,0x64])]:0x2,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([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]),[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x10916e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x10916e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x10916e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x10916e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x10916e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x10916e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x10916e([0x69,0x64])]:0x3,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x10916e([0x69,0x64])]:0x4,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([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]),[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x10916e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x10916e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x10916e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x10916e([0x69,0x64])]:0x5,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([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]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x10916e([0x66,0x67,0x69])]:[0xc]}},{[_0x10916e([0x69,0x64])]:0x6,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x10916e([0x66,0x67,0x69])]:[0xc]}},{[_0x10916e([0x69,0x64])]:0x7,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x10916e([0x66,0x67,0x69])]:[0xc]}},{[_0x10916e([0x69,0x64])]:0x8,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([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]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x10916e([0x66,0x67,0x69])]:[0xc]}},{[_0x10916e([0x69,0x64])]:0x9,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x10916e([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x10916e([0x69,0x64])]:0xa,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([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]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([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]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([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]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x10916e([0x66,0x67,0x69])]:[0xc]}},{[_0x10916e([0x69,0x64])]:0xb,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x10916e([0x69,0x64])]:0xc,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x10916e([0x69,0x64])]:0xd,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x10916e([0x66,0x67,0x69])]:[0xc]}},{[_0x10916e([0x69,0x64])]:0xe,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x10916e([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([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])},{[_0x10916e([0x69,0x64])]:0xf,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x10916e([0x69,0x64])]:0x10,[_0x10916e([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x10916e([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x10916e([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x10916e([0x66,0x67,0x69])]:[0xc]}}];return _0xb2805e(_0x178ebb),_0x178ebb;function _0x422dee(_0x106511){return 0x1<<_0x106511-0x1;}function _0xb2805e(_0x1aafe1){_0x1aafe1[_0x10916e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5e0a0e=>{_0x5e0a0e[_0x10916e([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x422dee(_0x5e0a0e[_0x10916e([0x69,0x64])]),_0x37b51a(_0x5e0a0e)&&_0x5e0a0e[_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xb2805e(_0x5e0a0e[_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x37b51a(_0x227acd){return _0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x227acd;}const _0x3d7fc6=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1b0ba9=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x14c490(_0x2a0e14){const _0x379e1=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x40811e(_0x2a0e14,new Uint8Array([..._0x3d7fc6,..._0x379e1,..._0x1b0ba9]));}function _0x40811e(_0x28d1fd,_0xe75758){const _0x3a9a6e=_0x31a157(_0x28d1fd),_0x50df35=Array[_0x10916e([0x66,0x72,0x6f,0x6d])](_0xab1c97(_0x3a9a6e)),_0x50654f=_0x50df35[_0x10916e([0x70,0x6f,0x70])](),_0x4bef72=_0x50df35[_0x10916e([0x70,0x6f,0x70])]();return _0x171f23(_0x3c665e(_0x50df35,_0xe75758,_0x4bef72+0x100*_0x50654f));}function _0x31a157(_0x20703){const _0xf15a6=atob(_0x20703),[_0x410de9,_0x237067]=_0xf15a6[_0x10916e([0x73,0x70,0x6c,0x69,0x74])](_0x10916e([0x2d]));try{if(atob(_0x237067))return atob(_0x410de9);}catch(_0x57dee9){}return _0xf15a6;}function _0x39f940(_0x50f450){try{const _0x48e140=_0x14c490(_0x50f450),_0x201d71=JSON[_0x10916e([0x70,0x61,0x72,0x73,0x65])](_0x48e140),_0x1895f0=parseInt(_0x201d71[_0x10916e([0x31])]),_0xd6a3d0=_0x201d71[_0x10916e([0x32])]||'',_0x8027ad=parseInt(_0x201d71[_0x10916e([0x33])]),_0x1f5417=parseInt(_0x201d71[_0x10916e([0x34])])||0x0,_0x509e33=parseInt(_0x201d71[_0x10916e([0x35])])||0x0;return{[_0x10916e([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0xd6a3d0,[_0x10916e([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1f5417,[_0x10916e([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x1895f0,[_0x10916e([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x8027ad,[_0x10916e([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x509e33};}catch(_0x44903c){return null;}}const _0x3a75c7=_0x57e6cd(),_0x39d44b={[_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xda7352,[_0x10916e([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])]:_0x25b0f4,[_0x10916e([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])]:_0x3c92bd},_0x559a8a=_0x173cb1[_0x10916e([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2b18c1=_0x10916e([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x173cb1?_0x173cb1['context']:_0x173cb1['editor'],_0x55e6bc=_0x10916e([0x34,0x30,0x34,0x38,0x31,0x30,0x34,0x34]),_0x54ae3a=_0x10916e([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]),_0x457b74=_0x2b18c1['config']['get'](_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x48d40b=_0x3a75c7[_0x10916e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37b51a)[_0x10916e([0x66,0x69,0x6e,0x64])](_0x4d5a54=>_0x4d5a54[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x559a8a);function _0xe4ec90(_0x4bfa70,_0xacde24){_0x39d44b[_0xacde24[_0x10916e([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x4bfa70,_0xacde24),_0xacde24[_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xacde24[_0x10916e([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x10916e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5da332=>_0x448b35(_0x2b18c1,_0x5da332[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x10916e([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x377f0a=>_0xe4ec90(_0x4bfa70,_0x377f0a));}function _0xda7352(_0x18c87b,_0x188926){_0x1c7c2c(_0x49bbaf(_0x18c87b,_0x188926),_0x188926);}function _0x25b0f4(_0x40ca52,_0x441b18){function _0x98c24(_0x2f53b7,_0x271bb3){try{if(_0x448b35(_0x2b18c1,_0x10916e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2f53b7){const _0x175f29=_0x2b722f(_0x2b18c1,_0x10916e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x10916e([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x175f29)/0x2>_0x2f53b7[_0x10916e([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x219f7b(_0x271bb3[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x49bbaf(_0x2f53b7,_0x271bb3);}catch(_0x36e087){return _0x219f7b(_0x271bb3[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1c7c2c(_0x98c24(_0x40ca52,_0x441b18),_0x441b18);}function _0x3c92bd(_0x499ce4,_0x3d1873){const _0x41bd20=_0x1b0ba9[0x0]*_0x3d7fc6[0x1],_0x5968b3=_0x1b0ba9[0x0]*_0x3d7fc6[0x2],_0x20910b=_0x1b0ba9[0x2]*_0x3d7fc6[0x2];_0x448b35(_0x2b18c1,_0x10916e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2b722f(_0x2b18c1,_0x10916e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x10916e([0x73,0x74,0x61,0x74,0x65])]==_0x10916e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x588007()]=_0x20910b);function _0x1d9432(_0x29f6b7,_0x2d6c8b){try{return _0x3878ff()?_0x219f7b(_0x2d6c8b[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x56,0x61,0x6c,0x69,0x64])):_0x49bbaf(_0x29f6b7,_0x2d6c8b);}catch(_0x58299a){return _0x219f7b(_0x2d6c8b[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2e2465(_0x24b308,_0x73d26){const _0x24470b=0x7;if(_0x24b308==_0x73d26[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x542ece();else{if(_0x24b308==_0x73d26[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x54,0x72,0x69,0x61,0x6c])){const _0x16ea09=_0x571f1c();_0x16ea09&&_0x189e77(_0x16ea09,_0x73d26[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5cb97=_0x1b1818();window[_0x10916e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x189e77(_0x10916e([0x74,0x69,0x6d,0x65]),_0x73d26[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5cb97);const _0x1e833d=_0x2b722f(_0x2b18c1,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x10916e([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1e833d[_0x10916e([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x24470b?_0x189e77(_0x10916e([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x73d26[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1e833d['on'](_0x10916e([0x61,0x64,0x64]),()=>{_0x1e833d[_0x10916e([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x24470b&&_0x189e77(_0x10916e([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x73d26[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x571f1c(){if(!_0x448b35(_0x2b18c1,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1732e8 in window)if(Number['isNaN'](Number(_0x1732e8))){if(window[_0x1732e8]===_0x41bd20)return _0x10916e([0x74,0x69,0x6d,0x65]);if(window[_0x1732e8]===_0x5968b3)return _0x10916e([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3878ff(){if(!_0x448b35(_0x2b18c1,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2c78c5 in window)if(Number['isNaN'](Number(_0x2c78c5))&&window[_0x2c78c5]===_0x20910b)return!0x0;return!0x1;}function _0x189e77(_0x2ca323,_0x47b6c3){_0x542ece(),_0x219f7b(_0x47b6c3+_0x10916e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2ca323),window[_0x588007()]=_0x2ca323===_0x10916e([0x74,0x69,0x6d,0x65])?_0x41bd20:_0x5968b3;}function _0x1b1818(){let _0x13296d=_0x1b0ba9[0x6]*_0x3d7fc6[0x8]*_0x3d7fc6[0x6];return _0x448b35(_0x2b18c1,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x13296d/=0xa),_0x13296d;}function _0x542ece(){const _0x112d04=_0x2b18c1;function _0x10b111(){_0x448b35(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x2b722f(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x10916e([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x10916e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2b722f(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x10916e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2b722f(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x10916e([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x56f612,_0x2b722f(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x10916e([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x56f612,_0x112d04[_0x10916e([0x6d,0x6f,0x64,0x65,0x6c])][_0x10916e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56f612,_0x112d04[_0x10916e([0x6d,0x6f,0x64,0x65,0x6c])][_0x10916e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56f612,_0x112d04[_0x10916e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x10916e([0x6d,0x6f,0x64,0x65,0x6c]))),_0x448b35(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2b722f(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x10916e([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x10916e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2b722f(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x10916e([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2b722f(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x10916e([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x56f612,_0x2b722f(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x10916e([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x56f612);}_0x112d04[_0x10916e([0x73,0x74,0x61,0x74,0x65])]==_0x10916e([0x72,0x65,0x61,0x64,0x79])?_0x10b111():_0x112d04[_0x10916e([0x6f,0x6e,0x63,0x65])](_0x10916e([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x448b35(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x10b111(),_0x448b35(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4de93e=_0x2b722f(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x57091c=_0x4de93e['getRevision'](0x0),_0x301847=_0x4de93e['getEarlierVisibleRevision'](_0x57091c[_0x10916e([0x69,0x64])]);_0x2b722f(_0x112d04,_0x10916e([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x10916e([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x57091c[_0x10916e([0x69,0x64])],_0x301847?_0x301847[_0x10916e([0x69,0x64])]:null,0x1)['then'](()=>_0x10b111());}});}_0x2e2465(_0x1d9432(_0x499ce4,_0x3d1873),_0x3d1873);}function _0x49bbaf(_0xc0f3d9,_0x288584){try{return _0x5ee69d(_0x288584)?_0x219f7b(_0x288584[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x56,0x61,0x6c,0x69,0x64])):_0xc0f3d9&&_0x510b83(_0xc0f3d9[_0x10916e([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x288584)?_0xc0f3d9[_0x10916e([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x10916e([0x6f,0x70,0x65,0x6e])][_0x10916e([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x55e6bc)/0x2>_0xc0f3d9[_0x10916e([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x219f7b(_0x288584[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xc0f3d9[_0x10916e([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x219f7b(_0x288584[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x54,0x72,0x69,0x61,0x6c])):_0x219f7b(_0x288584[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x56,0x61,0x6c,0x69,0x64])):_0x219f7b(_0x288584[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x452f66){return _0x219f7b(_0x288584[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1c7c2c(_0x44d441,_0x33c2da){if(_0x2b18c1 instanceof _0x3d481f){const _0x143232=_0x2b18c1;_0x44d441==_0x33c2da[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x566251(_0x143232):_0x44d441==_0x33c2da[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x54,0x72,0x69,0x61,0x6c])&&window[_0x10916e([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x566251(_0x143232),_0x219f7b(_0x33c2da[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1b0ba9[0x6]*_0x3d7fc6[0x8]*_0x3d7fc6[0x6]),_0x143232[_0x10916e([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x10916e([0x6f,0x6e])](_0x10916e([0x61,0x64,0x64]),(_0x33ec6e,_0x24d118)=>{_0x44d441!=_0x33c2da[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x44d441!=_0x33c2da[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x44d441!=_0x33c2da[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xd08265(_0x24d118);});}else{const _0x115e14=_0x2b18c1;_0x44d441==_0x33c2da[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xd08265(_0x115e14):_0x44d441==_0x33c2da[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x54,0x72,0x69,0x61,0x6c])&&_0x115e14[_0x10916e([0x6f,0x6e])](_0x10916e([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x510418=0x0;_0x115e14[_0x10916e([0x6d,0x6f,0x64,0x65,0x6c])][_0x10916e([0x6f,0x6e])](_0x10916e([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x191562,_0x4305ba)=>{_0x4305ba[0x0][_0x10916e([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x510418++,0x1f8===_0x510418&&(_0xd08265(_0x115e14),_0x219f7b(_0x33c2da[_0x10916e([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x10916e([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x191562[_0x10916e([0x6f,0x66,0x66])]());},{'priority':_0x10916e([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x219f7b(_0x5d4dd3){const _0x3dd271=_0x588007();return _0x2b18c1[_0x3dd271]=_0x5d4dd3,_0x5d4dd3;}function _0x588007(){const _0x1e328e=String(window[_0x10916e([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x10916e([0x6e,0x6f,0x77])]())[_0x10916e([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x10916e([0x2e]),'');let _0x38f97b='';for(let _0xb21a64=0x0;_0xb21a64<_0x1e328e[_0x10916e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb21a64+=0x2){let _0x52320a=parseInt(_0x1e328e[_0x10916e([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb21a64,_0xb21a64+0x2));_0x52320a>=_0x54ae3a[_0x10916e([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x52320a-=_0x54ae3a[_0x10916e([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x38f97b+=_0x54ae3a[_0x52320a];}return _0x38f97b;}function _0x566251(_0x404524){for(const _0x37fa6b of _0x404524[_0x10916e([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xd08265(_0x37fa6b);_0x2b722f(_0x404524,_0x10916e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x10916e([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x2b722f(_0x404524,_0x10916e([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x10916e([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x56f612;}function _0xd08265(_0x129a9f){function _0x2f2efa(){_0x129a9f[_0x10916e([0x6d,0x6f,0x64,0x65,0x6c])][_0x10916e([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x56f612,_0x129a9f[_0x10916e([0x6d,0x6f,0x64,0x65,0x6c])][_0x10916e([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x56f612,_0x129a9f[_0x10916e([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x10916e([0x6d,0x6f,0x64,0x65,0x6c]));}_0x129a9f[_0x10916e([0x73,0x74,0x61,0x74,0x65])]==_0x10916e([0x72,0x65,0x61,0x64,0x79])?_0x2f2efa():_0x129a9f[_0x10916e([0x6f,0x6e,0x63,0x65])](_0x10916e([0x72,0x65,0x61,0x64,0x79]),()=>_0x2f2efa());}function _0x56f612(){return null;}function _0x510b83(_0x5235ee,_0x5c96ff){const _0x2cda87=!!(_0x5235ee&_0x5c96ff[_0x10916e([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4a3ac1=_0x5154dc(_0x5235ee,_0x5c96ff);return _0x2cda87||_0x4a3ac1;}function _0x5154dc(_0x4c21a6,_0x2f0c38){const _0x576904=(_0x2f0c38[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x10916e([0x66,0x67,0x69])]||null;return!!_0x576904&&_0x3a75c7[_0x10916e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x351d4b=>_0x576904[_0x10916e([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x351d4b[_0x10916e([0x69,0x64])]))[_0x10916e([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x585572=>!_0x5ca15e(_0x585572))[_0x10916e([0x73,0x6f,0x6d,0x65])](_0x242b9c=>!!(_0x4c21a6&_0x242b9c[_0x10916e([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x5ca15e(_0x323270){const _0x53b6f3={[_0x10916e([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])]:_0x17cb73};return!!_0x323270['forbiddenHandler']&&_0x53b6f3[_0x323270['forbiddenHandler']]();}function _0x17cb73(){return!window[_0x10916e([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x448b35(_0x2b18c1,_0x10916e([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5ee69d(_0xf0288b){if(!_0x448b35(_0x2b18c1,_0xf0288b[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x7a4e62=_0xf0288b[_0x10916e([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x303770=_0x7a4e62[_0x10916e([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x1f3c52=_0x7a4e62[_0x10916e([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x549196=_0x7a4e62[_0x10916e([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x448b35(_0x2b18c1,_0x10916e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2b722f(_0x2b18c1,_0x10916e([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x10916e([0x73,0x74,0x61,0x74,0x65])]==_0x10916e([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x303770)return!0x0;if(_0x448b35(_0x2b18c1,_0x10916e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x2b722f(_0x2b18c1,_0x10916e([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x10916e([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x10916e([0x65,0x6e,0x64])&&_0x1f3c52)return!0x0;return!(!_0x448b35(_0x2b18c1,_0x10916e([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]))||_0x2b722f(_0x2b18c1,_0x10916e([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]))[_0x10916e([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x10916e([0x65,0x6e,0x64])||!_0x549196);}function _0x448b35(_0x256be1,_0x18a171){return _0x256be1[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x10916e([0x68,0x61,0x73])](_0x18a171);}function _0x2b722f(_0x317366,_0x11caaa){return _0x317366[_0x10916e([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x10916e([0x67,0x65,0x74])](_0x11caaa);}function _0x171f23(_0xcb6d71){let _0x1e376e='';for(const _0x13d3cb of _0xcb6d71)_0x1e376e+=String[_0x10916e([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x13d3cb);return _0x1e376e;}function _0xab1c97(_0x5973fd){const _0x1c328a=new Uint8Array(_0x5973fd[_0x10916e([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x4073fe=0x0;_0x4073fe<_0x5973fd[_0x10916e([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4073fe++)_0x1c328a[_0x4073fe]=_0x5973fd[_0x10916e([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4073fe);return _0x1c328a;}_0x48d40b&&_0xe4ec90(_0x39f940(_0x457b74),_0x48d40b);})(_0x4273df);}(this);}['createRevision'](_0x447b9e){const _0x46d710=this['editor']['plugins']['get']('Users');return new a({'id':_0x447b9e['id'],'name':_0x447b9e['name'],'creator':_0x447b9e['creatorId']?_0x46d710['getUser'](_0x447b9e['creatorId']):null,'diffData':_0x447b9e['diffData']||_0x447b9e['data'],'authors':_0x447b9e['authorsIds']['map'](_0x822957=>_0x46d710['getUser'](_0x822957)),'createdAt':new Date(_0x447b9e['createdAt']),'attributes':_0x447b9e['attributes'],'fromVersion':_0x447b9e['fromVersion'],'toVersion':_0x447b9e['toVersion']});}['addRevision'](_0x26948d,_0x5d7610=0x0){this['_revisions']['add'](_0x26948d,_0x5d7610);}['getRevision'](_0x4fe961){return this['_revisions']['get'](_0x4fe961);}['getRevisions'](_0x23befc={'toJSON':!0x1}){const _0x41d0cf=Array['from'](this['_revisions']);return _0x41d0cf['reverse'](),_0x23befc['toJSON']?_0x41d0cf['map'](_0x59b6ba=>_0x59b6ba['toJSON']()):_0x41d0cf;}['getIndex'](_0x5e9493){return this['_revisions']['getIndex'](_0x5e9493);}['getEarlierVisibleRevision'](_0x502421){const [,_0x3a7490]=this['getRevisionsIterator'](_0x502421,{'direction':'earlier'});return _0x3a7490;}['getLaterVisibleRevision'](_0x49f6e7){const [,_0x14442d]=this['getRevisionsIterator'](_0x49f6e7,{'direction':'later'});return _0x14442d;}['getRevisionsInDiff'](_0x5b8b0a){const _0x5124f0=[];for(const _0x1154e4 of this['getRevisionsIterator'](_0x5b8b0a['newRevisionId']))if(_0x5124f0['push'](_0x1154e4),_0x1154e4['id']===_0x5b8b0a['oldRevisionId'])break;return _0x5124f0;}*['getRevisionsIterator'](_0x40a2ad,{direction:_0x403001='earlier',filter:_0x211e24=_0x19deb6=>!0x0}={}){const _0x1f92fd='earlier'===_0x403001?0x1:-0x1;let _0x58fb4b=this['_revisions']['get'](_0x40a2ad),_0x2dc3a2=this['getIndex'](_0x58fb4b);for(yield _0x58fb4b;_0x58fb4b;){if(_0x2dc3a2+=_0x1f92fd,_0x58fb4b=this['getRevision'](_0x2dc3a2),!_0x58fb4b)return;_0x211e24(_0x58fb4b)&&(yield _0x58fb4b);}}}function y(_0x226798,_0x462bc5,_0x12db80){const t=_0x226798['t'];switch(_0x462bc5){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'},_0x12db80);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x12db80);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':_0x272e9d,'a':_0x237fb9,'e':_0x5c1e88,'r':_0x3edd43,'u':_0x11b97f};class l extends _0x412bee{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x1b8b43,A,_0x241425];}constructor(_0x1e9e08){super(_0x1e9e08),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 _0x1ef542=_0x2c681b();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x1ef542},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 _0x296de8=this['repository']['getRevision'](0x0),_0x34a067=_0x296de8&&null===_0x296de8['creator']?_0x296de8:null;if(this['_continueCurrentRevision']=!!_0x34a067&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x3bc18d=this['_source']['getCurrentRevisionId'](),_0x50b56c=this['repository']['getRevision'](_0x3bc18d);if(_0x50b56c)this['_startingVersion']=_0x50b56c['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2b8bdc=this['_source']['history']['_operations']['find'](_0x19f232=>!_0x19f232['_isInit']),_0x324d5e=_0x2b8bdc?_0x2b8bdc['baseVersion']:this['_source']['history']['version'];_0x296de8?(_0x296de8['toVersion']<_0x324d5e&&_0x296de8['_update']({'toVersion':_0x324d5e}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x34a067['id'],this['_startingVersion']=_0x34a067['fromVersion']):(this['_startingVersion']=_0x296de8['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x324d5e,this['_continueCurrentRevision']=!0x1);}}else _0x34a067&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x34a067['toVersion'],this['editor']['model']['document']['history']['version']),_0x34a067['fromVersion']===_0x34a067['toVersion']?(0x0!==_0x34a067['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x34a067['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x34a067['id'],this['_startingVersion']=_0x34a067['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',_0x1a0fb1=>!_0x1a0fb1);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x30477b=this['repository']['getRevision'](0x0),_0x1b47bb=await this['getRevisionDocumentData'](_0x30477b),_0x5ad51d=await this['getRevisionRootsAttributes'](_0x30477b);this['_replaceEditorDataWithRevisionData'](_0x1b47bb,_0x5ad51d);}}['setSource'](_0x197599){this['_source']=_0x197599;}async['update'](){const _0x47eb69=await this['_source']['getLatestVersion']();if(_0x47eb69>this['currentRevision']['toVersion']){await this['_loadState']();const _0x994dfd=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x47eb69});_0x994dfd['authors']=_0x994dfd['authorsIds']['map'](_0x25501e=>this['editor']['plugins']['get']('Users')['getUser'](_0x25501e)),this['currentRevision']['_update'](_0x994dfd);}}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'](_0x368985={},_0x1cefd3=null){const _0x19036b=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x1cefd3>this['currentRevision']['toVersion']&&(_0x1cefd3=null),null===_0x1cefd3&&(_0x1cefd3=await this['_source']['getLatestVersion']());const _0x47a359=this['_getFromVersion'](_0x1cefd3),_0x2b3b13=this['buildRevisionData']({'from':_0x47a359,'to':_0x1cefd3});if(this['currentRevision']['toVersion']<_0x1cefd3){const _0x38cdf4=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x1cefd3,'to':_0x1cefd3});_0x38cdf4['authors']=[],_0x38cdf4['authorsIds']=[],_0x38cdf4['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x38cdf4,!0x0),delete _0x38cdf4['authors'],_0x19036b['push'](_0x38cdf4);}_0x368985['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x368985['name']=_0x368985['name']||null,_0x368985['id']=_0x368985['id']||_0x2c681b(),_0x368985={..._0x368985,..._0x2b3b13};const _0x3d5037=this['addRevisionData'](_0x368985);_0x19036b['push'](_0x368985);const _0x42e411=this['repository']['getIndex'](_0x3d5037);if(0x0!==_0x42e411){const _0x299605=this['repository']['getRevision'](_0x42e411-0x1);if(_0x299605['fromVersion']!==_0x1cefd3){const _0x520610=this['_revisionDataBuilder']['getData'](_0x1cefd3,_0x299605['toVersion']),_0x158d6a={'id':_0x299605['id'],'diffData':_0x520610['diffData'],'authorsIds':_0x520610['authorsIds'],'authors':_0x520610['authorsIds']['map'](_0x47aa33=>this['editor']['plugins']['get']('Users')['getUser'](_0x47aa33)),'fromVersion':_0x1cefd3};_0x299605===this['currentRevision']&&(_0x158d6a['createdAt']=new Date(_0x368985['createdAt']['getTime']()+0xa)),_0x299605['_update'](_0x158d6a,!0x0),delete _0x158d6a['authors'],_0x19036b['push'](_0x158d6a);}}if(this['adapter']){for(const _0x4cfbda of _0x19036b)this['_bufferUpdate'](_0x4cfbda['id'],_0x4cfbda,!0x0);this['sendBufferedUpdates']();}return _0x3d5037;}['addRevisionData'](_0x497834){const _0x39e52c=this['repository']['createRevision'](_0x497834);return this['adapter']&&_0x39e52c['on']('_update',(_0x3c5c09,_0x6f92dc,_0x4bf767)=>{_0x4bf767||(this['_bufferUpdate'](_0x6f92dc['id'],_0x6f92dc,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x39e52c,this['_findInsertionIndex'](_0x39e52c)),_0x39e52c;}async['getRevisionDocumentData'](_0x3c32a7){await this['_loadRevisionData'](_0x3c32a7);const _0x4ae951={};for(const _0x41f36c in _0x3c32a7['diffData']){if(_0x3c32a7['diffData'][_0x41f36c]['attachChange']&&!_0x3c32a7['diffData'][_0x41f36c]['attachChange']['isAttached'])continue;const _0x590017=this['_removeRevisionMarkers'](JSON['parse'](_0x3c32a7['diffData'][_0x41f36c]['insertions'])),_0x54407d=this['editor']['editing']['view']['document'],_0x5d1ef6=new _0x3f05fc(_0x54407d,_0x590017['map'](_0x53b01e=>B(_0x53b01e,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x4ae951[_0x41f36c]=this['editor']['data']['processor']['toData'](_0x5d1ef6),this['editor']['data']['processor']['useFillerType']('default');}return _0x4ae951;}async['getRevisionRootsAttributes'](_0x3001d0){await this['_loadRevisionData'](_0x3001d0);const _0x2adff6={};for(const _0x152e8b in _0x3001d0['diffData'])_0x3001d0['diffData'][_0x152e8b]['attachChange']&&!_0x3001d0['diffData'][_0x152e8b]['attachChange']['isAttached']||(_0x2adff6[_0x152e8b]=_0x3001d0['diffData'][_0x152e8b]['attributesAfter']||{});return _0x2adff6;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x525258=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x2f5d3e=0x0;_0x2f5d3e<_0x525258['length'];_0x2f5d3e++){const _0x10de96=_0x525258[_0x2f5d3e];let _0x7583be=!0x1;for(const _0x360d05 of Object['keys'](_0x10de96))void 0x0===_0x10de96[_0x360d05]?delete _0x10de96[_0x360d05]:'id'!==_0x360d05&&(_0x7583be=!0x0);_0x7583be||(_0x525258[_0x2f5d3e]=null);}if(_0x525258=_0x525258['filter'](_0x5d18f5=>null!==_0x5d18f5),!_0x525258['length'])return;for(let _0x3e5c1b=0x0;_0x3e5c1b<_0x525258['length'];_0x3e5c1b++){const _0x23c0f2=_0x525258[_0x3e5c1b];void 0x0!==_0x23c0f2['fromVersion']&&void 0x0===_0x23c0f2['toVersion']&&(_0x23c0f2['toVersion']=this['repository']['getRevision'](_0x23c0f2['id'])['toVersion']),void 0x0!==_0x23c0f2['toVersion']&&void 0x0===_0x23c0f2['fromVersion']&&(_0x23c0f2['fromVersion']=this['repository']['getRevision'](_0x23c0f2['id'])['fromVersion']);}const _0x540bb4=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x525258,_0x540bb4)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x256938=>{if(_0x256938){for(const _0x2c7695 of _0x256938)this['setRevisionData']({'id':_0x2c7695['id'],'createdAt':_0x2c7695['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4bb632,_0x5cccae){let _0x1d04a4=this['editor']['config']['get']('initialData'),_0x3f068f=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x1d04a4){_0x1d04a4={};for(const _0xf0fa19 of this['editor']['model']['document']['getRootNames']())_0x1d04a4[_0xf0fa19]='';}if('string'==typeof _0x1d04a4&&(_0x1d04a4={'main':_0x1d04a4}),void 0x0===_0x3f068f){_0x3f068f={};for(const _0x5e4345 of this['editor']['model']['document']['getRootNames']())_0x3f068f[_0x5e4345]={};}let _0x3ccab5=!0x1;const _0x96f1d1=Object['keys'](_0x1d04a4),_0xf5de56=Object['keys'](_0x4bb632);for(const _0xf1005e of _0x96f1d1){if(_0x1d04a4[_0xf1005e]!==_0x4bb632[_0xf1005e]&&''!==_0x1d04a4[_0xf1005e]['trim']()){_0x3ccab5=!0x0;break;}if(!_0xb61355(_0x3f068f[_0xf1005e],_0x5cccae[_0xf1005e])&&Object['keys'](_0x3f068f[_0xf1005e])['length']>0x0){_0x3ccab5=!0x0;break;}}_0x3ccab5||(_0x3ccab5=_0xf5de56['some'](_0x2f5a20=>!this['editor']['model']['document']['getRoot'](_0x2f5a20))),_0x3ccab5&&_0x39934c('editor-initial-data-replaced-with-revision-data',{'editorData':_0x1d04a4,'editorRootsAttributes':_0x3f068f,'revisionData':_0x4bb632,'revisionRootsAttributes':_0x5cccae}),this['editor']['config']['set']('initialData',_0x4bb632),this['editor']['config']['set']('rootsAttributes',_0x5cccae);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x50870b=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x50870b['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x301b4a){const _0x266466=this['repository']['getRevisions']();_0x266466['reverse']();let _0x5e0ca0=0x0;for(;_0x5e0ca0<_0x266466['length'];){const _0x360d1f=_0x266466[_0x5e0ca0];if(_0x360d1f===this['currentRevision']){_0x5e0ca0++;continue;}if(_0x360d1f['id']===this['_initialRevisionId'])break;const _0x2f30f8=_0x301b4a['toVersion']-_0x360d1f['toVersion']||_0x301b4a['fromVersion']-_0x360d1f['fromVersion'];if(_0x2f30f8>0x0)break;if(_0x2f30f8<0x0)_0x5e0ca0++;else{if(!_0x301b4a['creator']&&_0x360d1f['creator'])break;if(_0x360d1f['creator']||!_0x301b4a['creator']){if(_0x301b4a['createdAt']>_0x360d1f['createdAt'])break;_0x5e0ca0++;}else _0x5e0ca0++;}}return _0x5e0ca0;}['setRevisionData'](_0xdd4d46){const _0x275921=this['repository']['getRevision'](_0xdd4d46['id']);if(_0xdd4d46['createdAt']&&(_0xdd4d46['createdAt']=new Date(_0xdd4d46['createdAt'])),_0xdd4d46['authorsIds']){const _0x474d39=this['editor']['plugins']['get']('Users');_0xdd4d46['authors']=_0xdd4d46['authorsIds']['map'](_0x5063c4=>_0x474d39['getUser'](_0x5063c4));}_0x275921['_update'](_0xdd4d46,!0x0);}['buildRevisionData']({revision:_0x430187=null,from:_0x378e86=null,to:_0x5951a0=null}){_0x378e86=null!==_0x378e86?_0x378e86:_0x430187['fromVersion'],_0x5951a0=null!==_0x5951a0?_0x5951a0:_0x430187['toVersion'];const _0x1dfa0e=this['_revisionDataBuilder']['getData'](_0x378e86,_0x5951a0),_0x1a3ec2={'diffData':_0x1dfa0e['diffData'],'authorsIds':_0x1dfa0e['authorsIds'],'fromVersion':_0x378e86,'toVersion':_0x5951a0};if(!_0x430187||_0x5951a0!==_0x430187['toVersion']){const _0x476232=_0x5951a0-0x1,_0x529bc5=this['_source']['history']['getOperation'](_0x476232);_0x1a3ec2['createdAt']=_0x529bc5&&_0x529bc5['createdAt']||new Date();}if(this['_loadedStateData']&&_0x378e86===this['_loadedStateData']['fromVersion']){for(const _0x4efc33 of this['_loadedStateData']['authors'])_0x1a3ec2['authorsIds']['includes'](_0x4efc33['id'])||_0x1a3ec2['authorsIds']['push'](_0x4efc33['id']);}return _0x1a3ec2;}['_loadRevisionData'](_0x437785){if(!_0x437785||_0x437785['diffData'])return Promise['resolve']();{const _0x39f34d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x39f34d,'revisionId':_0x437785['id']})['then'](_0x2fbd5a=>{_0x437785['diffData']=_0x2fbd5a['diffData'];});}}['_bufferUpdate'](_0x4df3f8,_0x28d017,_0x1e3df1){if(this['_bufferedUpdates']['has'](_0x4df3f8)){const _0x4885d1=this['_bufferedUpdates']['get'](_0x4df3f8);_0x28d017=_0x1e3df1?{..._0x4885d1,..._0x28d017}:{..._0x28d017,..._0x4885d1};}this['_bufferedUpdates']['set'](_0x4df3f8,_0x28d017);}['_getFromVersion'](_0x19061d){const _0x5a3eea=this['repository']['getRevisions']();_0x5a3eea['reverse'](),_0x5a3eea['shift']();const _0x2f9f24=_0x5a3eea['find'](_0x247ca4=>_0x247ca4['toVersion']<=_0x19061d)['toVersion'];return _0x2f9f24<this['_startingVersion']?this['_startingVersion']:_0x2f9f24;}['_createInitialRevision'](_0xb7908e){const _0x1657de=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x1657de)this['_initialRevisionId']=_0x1657de['id'];else{const _0x3b4e4c=!this['editor']['model']['document']['roots']['find'](_0x4eb78d=>this['editor']['model']['hasContent'](_0x4eb78d)),_0x55d0e1=this['editor']['plugins']['get']('Users')['me']['id'],_0x2299d8=y(this['editor']['locale'],_0x3b4e4c?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0xb7908e,'to':_0xb7908e,'id':this['_initialRevisionId'],'name':_0x2299d8,'creatorId':_0x55d0e1});}}['_createCurrentRevision'](_0x427f8d){const _0x33d001=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x33d001),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x427f8d,'to':_0x427f8d,'id':_0x33d001,'name':'','creatorId':null}));}['_makeRevision']({name:_0x116be7,from:_0x2e911c,to:_0x137302,creatorId:_0x22d6a0,id:_0x1d0f81}){const _0x142919=this['buildRevisionData']({'from':_0x2e911c,'to':_0x137302});_0x142919['name']=_0x116be7,_0x142919['creatorId']=_0x22d6a0,_0x142919['id']=_0x1d0f81;const _0x5da553=this['addRevisionData'](_0x142919);return this['adapter']&&this['_bufferUpdate'](_0x142919['id'],_0x142919,!0x0),_0x5da553;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x56ff79){return(_0x56ff79=_0x56ff79['filter'](_0x49c3f6=>!_0x49c3f6['name']||'revision-start'!==_0x49c3f6['name']&&'revision-end'!==_0x49c3f6['name']))['forEach'](_0x30dc58=>{'string'!=typeof _0x30dc58&&(_0x30dc58['children']=this['_removeRevisionMarkers'](_0x30dc58['children']),_0x30dc58['attributes']=_0x30dc58['attributes']['filter'](_0x18be85=>!_0x18be85[0x0]['startsWith']('data-revision-')));}),_0x56ff79;}}function B(_0x2a540c,_0x27380b){const _0x1c1cd5=_0x27380b['editing']['view']['document'];if('string'==typeof _0x2a540c)return new _0x28054c(_0x1c1cd5,_0x2a540c);{const _0x456888=_0x2a540c['children']['map'](_0x3b0010=>B(_0x3b0010,_0x27380b));return new(T[_0x2a540c['type']]||_0x56db84)(_0x1c1cd5,_0x2a540c['name'],_0x2a540c['attributes'],_0x456888);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x1849f1){this['editor']=_0x1849f1,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'](_0x45d282){this['source']=_0x45d282;const _0x8e8ebf=new Map(),_0x3c29b5=new Map(),_0x20770b=this['editor']['model']['document']['roots']['map'](_0x3de57f=>_0x3de57f['rootName']);for(const _0xdfe1da of _0x20770b){const _0x1794a3=this['editor']['model']['document']['getRoot'](_0xdfe1da),_0x4731a8=q(_0x1794a3);_0x8e8ebf['set'](_0xdfe1da,_0x4731a8),_0x3c29b5['set'](_0xdfe1da,Object['fromEntries'](_0x1794a3['getAttributes']()));}const _0x581268=Array['from'](this['editor']['model']['markers'])['map'](_0xc42ec1=>[_0xc42ec1['name'],_0xc42ec1['getRange']()]),_0x3950fe=this['source']['version'];this['_saveMetaData'](_0x3950fe,_0x8e8ebf,_0x581268,_0x3c29b5),this['_startingRevisionId']=this['_revisionId'];const _0x14422c=new Map(),_0x52c3b2=new Map();for(const _0x5bb949 of _0x20770b){const _0x1215ce=G(_0x5bb949);_0x14422c['set'](_0x5bb949,_0x1215ce),_0x52c3b2['set'](_0x5bb949,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x14422c,[],_0x52c3b2);}['getData'](_0x42d311,_0x2543f6){if(this['_lastFrom']===_0x42d311&&this['_lastTo']<=_0x2543f6)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x2543f6,!0x0);else{if(!this['_savedMetaData']['has'](_0x42d311)){const _0x54f2bf=this['_getPreviousFrom'](_0x42d311);this['_calculateMetaData'](_0x54f2bf,_0x42d311,!0x1);}this['_calculateMetaData'](_0x42d311,_0x2543f6,!0x0);}return this['_lastFrom']=_0x42d311,this['_lastTo']=_0x2543f6,this['_getState']();}['loadState'](_0xea3f29){this['_reset'](),this['_lastFrom']=_0xea3f29['fromVersion'],this['_lastTo']=_0xea3f29['toVersion'];for(const _0x4be20b in _0xea3f29['diffData']){const _0x412f4b=_0xea3f29['diffData'][_0x4be20b]['attachChange'],_0x33e0ce=_0xeac1b(_0xea3f29['diffData'][_0x4be20b]['attributesBefore'])||{},_0xcc3de4=this['_makeModelFromViewString'](_0xea3f29['diffData'][_0x4be20b]['deletions']);_0xcc3de4['rootName']=_0x4be20b,_0xcc3de4['_isAttached']=!_0x412f4b||!_0x412f4b['isAttached'],_0xcc3de4['isAttached']=()=>_0xcc3de4['_isAttached'],this['_baseRoots']['set'](_0x4be20b,_0xcc3de4),this['_baseRootsAttributes']['set'](_0x4be20b,_0x33e0ce),_0x412f4b&&this['_touchedRoots']['set'](_0x4be20b,_0x412f4b);const _0x4feddf=this['_makeIdsRoot'](_0xcc3de4);this['_baseIdsRoots']['set'](_0x4be20b,_0x4feddf);for(const [_0x226763,_0x5e484d]of _0xcc3de4['markers']){if(!_0x226763['startsWith']('revision:'))continue;const _0x2526c1=_0x226763['split'](':')[0x2];for(const _0x49f940 of _0x5e484d['getWalker']({'singleCharacters':!0x0})){const _0x28a6ec=this['_getVidAttributeName'](_0x49f940),_0x5c5e1c='elementEnd'==_0x49f940['type']?_0x49f940['previousPosition']['path']['slice'](0x0,-0x1):_0x49f940['previousPosition']['path'],_0x4b6f00=_0x4feddf['getNodeByPath'](_0x5c5e1c)['getAttribute'](_0x28a6ec);this['_touched']['set'](_0x4b6f00,{'userId':_0x2526c1});}}}this['_startingRevisionId']=this['_revisionId'];const _0x46d1e1=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x899929=>!this['_touched']['has'](_0x899929));let _0x4a3ca2=0x0;const _0x2dc9af=new Map();for(const _0x3dfcc1 in _0xea3f29['diffData']){const _0x23b7f1=_0xea3f29['diffData'][_0x3dfcc1]['attachChange'],_0x27c6d6=_0xeac1b(_0xea3f29['diffData'][_0x3dfcc1]['attributesAfter'])||{},_0x435781=this['_makeModelFromViewString'](_0xea3f29['diffData'][_0x3dfcc1]['insertions']);_0x435781['rootName']=_0x3dfcc1,_0x435781['_isAttached']=!_0x23b7f1||_0x23b7f1['isAttached'],_0x435781['isAttached']=()=>_0x435781['_isAttached'],this['_diffRoots']['set'](_0x3dfcc1,_0x435781),this['_diffRootsAttributes']['set'](_0x3dfcc1,_0x27c6d6);const _0x449621=this['_makeIdsRoot'](_0x435781,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x3dfcc1,_0x449621),_0x2dc9af['set'](_0x3dfcc1,_0x435781['isAttached']()?_0x27c6d6:{});for(const [_0x2b4c19,_0x5da961]of _0x435781['markers']){if(!_0x2b4c19['startsWith']('revision:'))continue;const _0x4cac19=_0x2b4c19['split'](':')[0x2];for(const _0x5c603a of _0x5da961['getWalker']({'singleCharacters':!0x0})){const _0x451c1c=this['_getVidAttributeName'](_0x5c603a),_0x2142d1=this['_revisionId']++,_0xa9decc='elementEnd'==_0x5c603a['type']?_0x5c603a['previousPosition']['path']['slice'](0x0,-0x1):_0x5c603a['previousPosition']['path'];_0x449621['getNodeByPath'](_0xa9decc)['_setAttribute'](_0x451c1c,_0x2142d1),this['_touched']['set'](_0x2142d1,{'userId':_0x4cac19});}}for(const _0x18d9de of this['editor']['model']['createRangeIn'](_0x435781)['getWalker']({'singleCharacters':!0x0})){const _0x30e056=this['_getVidAttributeName'](_0x18d9de),_0x5deec8='elementEnd'==_0x18d9de['type']?_0x18d9de['previousPosition']['path']['slice'](0x0,-0x1):_0x18d9de['previousPosition']['path'],_0x525432=_0x449621['getNodeByPath'](_0x5deec8);_0x525432['getAttribute'](_0x30e056)>0x0||_0x525432['_setAttribute'](_0x30e056,_0x46d1e1[_0x4a3ca2++]);}for(const [_0x3fb7af,_0x26a8b3]of _0x435781['markers'])_0x3fb7af['startsWith']('revision:')||this['_markers']['set'](_0x3fb7af,_0x26a8b3);}const _0x47c716=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x47c716),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x47c716,0x1));const _0x66cc4f=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x66cc4f),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x66cc4f,0x1));const _0x4999f8=Array['from'](this['_diffRoots'])['map'](([_0x47d614,_0x227bd9])=>[_0x47d614,q(_0x227bd9)]);this['_saveMetaData'](this['_lastTo'],_0x4999f8,this['_markers'],_0x2dc9af);}['_makeModelFromViewString'](_0x182932){const _0x52b8a4=JSON['parse'](_0x182932),_0x3483ce=this['editor']['editing']['view']['document'],_0x3641e9=new _0x3f05fc(_0x3483ce,_0x52b8a4['map'](_0x1ee8ea=>B(_0x1ee8ea,this['editor'])));return this['editor']['data']['toModel'](_0x3641e9);}['_saveMetaData'](_0x4fc720,_0x2d9f0b,_0xb33298,_0xa41fca){const _0x433d20=new Map(_0x2d9f0b),_0xee49e0=new Map(_0xeac1b(_0xa41fca)),_0x54d4da=new Map();for(const [_0x213e11,_0x4575f5]of _0xb33298)_0x54d4da['set'](_0x213e11,{'start':_0x4575f5['start']['clone'](),'end':_0x4575f5['end']['clone'](),'rootName':_0x4575f5['root']['rootName']});this['_savedMetaData']['set'](_0x4fc720,{'roots':_0x433d20,'markers':_0x54d4da,'rootsAttributes':_0xee49e0});}['_removeMetaData'](_0x13089e){this['_savedMetaData']['delete'](_0x13089e);}['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'](_0x392780,_0x3e0b15=null){let _0x4f7e3c=null;_0x392780['is']('documentFragment')||(_0x4f7e3c=new ft(_0x392780['name'],{'vid_start':null===_0x3e0b15?this['_revisionId']++:_0x3e0b15++}));const _0x54c249=[];for(const _0x3de81f of _0x392780['getChildren']())if(_0x3de81f['is']('element')){_0x54c249['push'](this['_makeIdsRoot'](_0x3de81f,_0x3e0b15));const _0x575718=_0x54c249[_0x54c249['length']-0x1];null!==_0x3e0b15&&(_0x3e0b15=_0x575718['is']('element','$text')?_0x575718['getAttribute']('vid')+0x1:_0x575718['getAttribute']('vid_end')+0x1);}else{for(let _0xe4c9a0=0x0;_0xe4c9a0<_0x3de81f['offsetSize'];_0xe4c9a0++)_0x54c249['push'](new ft('$text',{'vid':null===_0x3e0b15?this['_revisionId']++:_0x3e0b15++}));}if(_0x392780['is']('documentFragment')){const _0x1588b4=G(_0x392780['rootName']);return _0x1588b4['_insertChild'](0x0,_0x54c249),_0x1588b4;}return _0x4f7e3c['_setAttribute']('vid_end',null===_0x3e0b15?this['_revisionId']++:_0x3e0b15++),_0x4f7e3c['_insertChild'](0x0,_0x54c249),_0x4f7e3c;}['_calculateMetaData'](_0x19fdc0,_0x3fdc32,_0x614332){this['_reset']();const {roots:_0x4b859d,markers:_0x207caa,rootsAttributes:_0x5a0d24}=this['_savedMetaData']['get'](_0x19fdc0);this['_baseRoots']=new Map(_0x4b859d),this['_baseRootsAttributes']=new Map(_0xeac1b(_0x5a0d24));for(const [_0x4557a0,_0x4bbc07]of this['_baseRoots'])if('$graveyard'!==_0x4557a0&&(this['_diffRoots']['set'](_0x4557a0,q(_0x4bbc07)),this['_diffRootsAttributes']=new Map(_0xeac1b(_0x5a0d24)),_0x614332)){const _0x2587ec=this['_revisionId'];this['_idsRoots']['set'](_0x4557a0,this['_makeIdsRoot'](_0x4bbc07)),this['_baseIdsRoots']['set'](_0x4557a0,this['_makeIdsRoot'](_0x4bbc07,_0x2587ec));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x614332&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x188144,_0x224e87]of _0x207caa){const _0x4c8d63=this['_baseRoots']['get'](_0x224e87['rootName']),_0x4a8081=this['_diffRoots']['get'](_0x224e87['rootName']),_0x5d450f=new vt(this['_fixPosition'](_0x224e87['start'],_0x4c8d63),this['_fixPosition'](_0x224e87['end'],_0x4c8d63)),_0x239c25=this['_fixRange'](_0x5d450f,_0x4a8081);_0x4c8d63['markers']['set'](_0x188144,_0x5d450f),this['_markers']['set'](_0x188144,_0x239c25);}this['_applyOperations'](_0x19fdc0,_0x3fdc32,_0x614332);}['_applyOperations'](_0x35317a,_0x3bc5c8,_0x21d394){for(const _0x195faa of this['source']['getOperations'](_0x35317a,_0x3bc5c8))this['_handleOperation'](_0x195faa,_0x21d394);for(const _0x1e2c7b of this['_diffRoots']['values']())_0x1e2c7b['markers']['clear']();for(const [_0xc5b36f,_0x2b6113]of this['_markers']){this['_diffRoots']['get'](_0x2b6113['root']['rootName'])['markers']['set'](_0xc5b36f,_0x2b6113['clone']());}const _0x7fffcc=new Map(),_0x2fd2a9=new Map();for(const [_0x43f1cb,_0x5eda7b]of this['_diffRoots'])_0x7fffcc['set'](_0x43f1cb,q(_0x5eda7b)),_0x2fd2a9['set'](_0x43f1cb,this['_diffRootsAttributes']['get'](_0x43f1cb));this['_saveMetaData'](_0x3bc5c8,_0x7fffcc,this['_markers'],_0x2fd2a9);}['_getPreviousFrom'](_0x8af5ac){const _0x3dd548=Array['from'](this['_savedMetaData']['keys']());_0x3dd548['sort']((_0xfcb0c,_0x1eb8af)=>_0xfcb0c-_0x1eb8af),_0x3dd548['reverse']();for(const _0x31c4cf of _0x3dd548)if(_0x31c4cf<_0x8af5ac)return _0x31c4cf;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x890990,_0x3f1d6c){const _0x4a51d9=Array['from'](_0x3f1d6c['markers'])['map'](([_0x480ebc,_0x2ef243])=>[_0x480ebc,this['_fixRange'](_0x2ef243,_0x890990)]);_0x890990['markers']=new Map(_0x4a51d9);}['_transformMarkers'](_0x4ac5de){for(const _0x3ff535 of this['_markers']['values']()){const _0x2f16b1=_0x3ff535['getTransformedByOperation'](_0x4ac5de),_0x4aeed3=vt['_createFromRanges'](_0x2f16b1);_0x3ff535['start']=_0x4aeed3['start'],_0x3ff535['end']=_0x4aeed3['end'];}}['_handleOperation'](_0x3c80ea,_0x5d29cf){if('addRoot'==_0x3c80ea['type']||'detachRoot'==_0x3c80ea['type'])return void this['_handleRootOperation'](_0x3c80ea,_0x5d29cf);if('insert'==_0x3c80ea['type']){const _0x4d1408=_0x3c80ea['position']['root']['rootName'];this['_diffRoots']['has'](_0x4d1408)||(this['_diffRoots']['set'](_0x4d1408,G(_0x4d1408,!0x0)),this['_diffRootsAttributes']['set'](_0x4d1408,{}),_0x5d29cf&&this['_idsRoots']['set'](_0x4d1408,G(_0x4d1408,!0x0)));}else{if('addRootAttribute'==_0x3c80ea['type']||'removeRootAttribute'==_0x3c80ea['type']||'changeRootAttribute'==_0x3c80ea['type'])return void this['_handleRootAttributeOperation'](_0x3c80ea);}const _0x5fd0cf=this['_cloneOperation'](_0x3c80ea,this['_diffRoots']);if('marker'!==_0x3c80ea['type']&&(_0x5fd0cf['_execute'](),this['_transformMarkers'](_0x5fd0cf)),_0x5d29cf)switch(_0x5fd0cf['type']){case'insert':this['_handleInsertOperation'](_0x3c80ea);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x3c80ea);break;case'merge':this['_handleMergeOperation'](_0x3c80ea);break;case'split':this['_handleSplitOperation'](_0x3c80ea);break;case'marker':this['_handleMarkerOperation'](_0x3c80ea);}}['_cloneOperation'](_0x2c7575,_0x49d3df){const _0x1c5ee8=_0x2c7575['clone']();return _0x1c5ee8['_authorId']=_0x2c7575['_authorId'],this['_fixOperation'](_0x1c5ee8,_0x49d3df),_0x1c5ee8;}['_getBaseVids'](_0x1da444){return _0x1da444['map'](_0x4a4427=>{const _0x522709=this['_getVidAttributeName'](_0x4a4427);return Number(_0x4a4427['item']['getAttribute'](_0x522709));});}['_generateTape'](_0x5a6a02,_0x2b05a0){if(_0x5a6a02['is']('element','$text'))_0x2b05a0['push']({'item':_0x5a6a02,'type':'text'});else{_0x5a6a02['is']('element')&&_0x2b05a0['push']({'item':_0x5a6a02,'type':'elementStart'});for(const _0x410cb9 of _0x5a6a02['getChildren']())this['_generateTape'](_0x410cb9,_0x2b05a0);_0x5a6a02['is']('element')&&_0x2b05a0['push']({'item':_0x5a6a02,'type':'elementEnd'});}return _0x2b05a0;}['_getState'](){const _0x381df9=new Map(this['_touched']),_0x2c88c7=new Map(_0x381df9),_0x3870e2=new Map(),_0x16bd8f={'insertions':{},'deletions':{}},_0x19c65c={'insertions':{},'deletions':{}},_0x26dcf7=new Map(),_0x4558c2=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x4558c2['delete']('$graveyard');for(const _0x32bb58 of _0x4558c2){const _0x7a59db=this['_diffRoots']['get'](_0x32bb58)||G(_0x32bb58,!0x1),_0x293fa7=this['_baseRoots']['get'](_0x32bb58)||G(_0x32bb58,!0x1);_0x7a59db['isAttached']()||_0x293fa7['isAttached']()?(_0x16bd8f['insertions'][_0x32bb58]=q(_0x7a59db),_0x16bd8f['deletions'][_0x32bb58]=q(_0x293fa7),this['_copyMarkers'](_0x16bd8f['deletions'][_0x32bb58],_0x293fa7),this['_copyMarkers'](_0x16bd8f['insertions'][_0x32bb58],_0x7a59db),_0x19c65c['insertions'][_0x32bb58]=this['_generateTape'](this['_idsRoots']['get'](_0x32bb58),[]),_0x19c65c['deletions'][_0x32bb58]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x32bb58)||G(_0x32bb58,!0x1),[])):_0x4558c2['delete'](_0x32bb58);}for(const _0x38d911 of _0x4558c2){const _0x21744f=_0x19c65c['insertions'][_0x38d911];for(const _0x24daa9 of _0x21744f){const _0x225842=this['_getVidAttributeName'](_0x24daa9),_0x574303=_0x24daa9['item']['getAttribute'](_0x225842);_0x2c88c7['delete'](_0x574303),_0x574303>=this['_startingRevisionId']&&_0x3870e2['set'](_0x574303,_0x381df9['get'](_0x574303));}}for(const _0x56a742 of _0x4558c2){const _0x3034cf=_0x19c65c['insertions'][_0x56a742],_0x4fc6c4=this['_getBaseVids'](_0x19c65c['deletions'][_0x56a742]);let _0x59a90b=0x0;for(const _0x569c70 of _0x3034cf){const _0x3b299f=this['_getVidAttributeName'](_0x569c70),_0x4d75a0=_0x569c70['item']['getAttribute'](_0x3b299f);if(!_0x3870e2['has'](_0x4d75a0)&&!_0x26dcf7['has'](_0x4d75a0)){if(_0x2c88c7['has'](_0x4d75a0))_0x59a90b++;else{if(_0x4d75a0!=_0x4fc6c4[_0x59a90b]){const _0x51aec6=_0x381df9['get'](_0x4d75a0)||_0x381df9['get'](_0x4fc6c4[_0x59a90b]);for(;_0x4d75a0!=_0x4fc6c4[_0x59a90b];)_0x2c88c7['has'](_0x4fc6c4[_0x59a90b])||(_0x26dcf7['set'](_0x4fc6c4[_0x59a90b],_0x51aec6),_0x381df9['set'](_0x4fc6c4[_0x59a90b],_0x51aec6)),_0x59a90b++;}_0x59a90b++;}}}}for(const _0x1b7603 of _0x4558c2){const _0x7d8f59=_0x19c65c['insertions'][_0x1b7603];for(const _0x54ce19 of _0x7d8f59){const _0x227c69=this['_getVidAttributeName'](_0x54ce19),_0x11902f=_0x54ce19['item']['getAttribute'](_0x227c69);if(_0x26dcf7['has'](_0x11902f)){const _0x4432bc=_0x26dcf7['get'](_0x11902f);_0x2c88c7['has'](_0x11902f)||_0x2c88c7['set'](_0x11902f,{..._0x4432bc}),_0x3870e2['set'](_0x11902f,{..._0x4432bc});}}}for(const _0x4a12f2 of _0x2c88c7['keys']())_0x4a12f2>=this['_startingRevisionId']&&_0x2c88c7['delete'](_0x4a12f2);const _0x5f2bd7=new Map();for(const _0x32cb7c of _0x4558c2){let _0x419bf1=_0x19c65c['insertions'][_0x32cb7c];for(const _0x2758a3 of _0x419bf1)if(_0x2758a3['item']['is']('element','tableCell')){const _0x27b4ec=this['_getVidAttributeName'](_0x2758a3),_0x359fcb=_0x2758a3['item']['getAttribute'](_0x27b4ec);if(_0x3870e2['has'](_0x359fcb)){const _0x1a9d5c=_0x2758a3['item']['parent']['parent']['getAttribute']('vid_start'),_0x58c75e=_0x5f2bd7['get'](_0x1a9d5c)||new Set();_0x58c75e['add'](_0x3870e2['get'](_0x359fcb)['userId']),_0x5f2bd7['set'](_0x1a9d5c,_0x58c75e);}}_0x419bf1=_0x19c65c['deletions'][_0x32cb7c];for(const _0x50b9a5 of _0x419bf1)if(_0x50b9a5['item']['is']('element','tableCell')){const _0x3eb2b3=this['_getVidAttributeName'](_0x50b9a5),_0x587434=_0x50b9a5['item']['getAttribute'](_0x3eb2b3);if(_0x2c88c7['has'](_0x587434)){const _0x4de2a1=_0x50b9a5['item']['parent']['parent']['getAttribute']('vid_start'),_0x1de154=_0x5f2bd7['get'](_0x4de2a1)||new Set();_0x1de154['add'](_0x2c88c7['get'](_0x587434)['userId']),_0x5f2bd7['set'](_0x4de2a1,_0x1de154);}}for(const _0x35ee72 of _0x5f2bd7['keys']())(_0x3870e2['has'](_0x35ee72)||_0x2c88c7['has'](_0x35ee72))&&_0x5f2bd7['delete'](_0x35ee72);}for(const _0xb21df0 of _0x4558c2){const _0x3c9735=_0x19c65c['insertions'][_0xb21df0];let _0x5148db=null,_0x598768=null;for(const _0x2f994e of _0x3c9735){const _0x1483a1=this['_getVidAttributeName'](_0x2f994e),_0x56fd5a=_0x2f994e['item']['getAttribute'](_0x1483a1),_0x21b847=_0x5f2bd7['get'](_0x56fd5a);_0x21b847&&'elementStart'==_0x2f994e['type']&&(_0x5148db=Array['from'](_0x21b847)[0x0],_0x598768=_0x2f994e['item']['getAttribute']('vid_end')),_0x5148db&&(_0x2c88c7['set'](_0x56fd5a,{'userId':_0x5148db}),_0x3870e2['set'](_0x56fd5a,{'userId':_0x5148db})),_0x56fd5a==_0x598768&&(_0x5148db=null,_0x598768=null);}}const _0x4eae2a={},_0x248857=new Set();for(const _0x59be61 of _0x4558c2){const _0x36a0bd=_0x16bd8f['deletions'][_0x59be61],_0x31f44d=_0x16bd8f['insertions'][_0x59be61];for(const {userId:_0x48635e}of this['_touchedMarkers']['values']())null!==_0x48635e&&_0x248857['add'](_0x48635e);for(const {userId:_0x2402f5}of this['_touchedRoots']['values']())null!==_0x2402f5&&_0x248857['add'](_0x2402f5);this['_markChanges'](_0x31f44d,_0x19c65c['insertions'][_0x59be61],_0x3870e2,'insertion',_0x248857),this['_markChanges'](_0x36a0bd,_0x19c65c['deletions'][_0x59be61],_0x2c88c7,'deletion',_0x248857),_0x4eae2a[_0x59be61]={'insertions':this['_prepareViewToSave'](_0x31f44d),'deletions':this['_prepareViewToSave'](_0x36a0bd),'attachChange':this['_touchedRoots']['get'](_0x59be61)||null,'attributesBefore':_0xeac1b(this['_baseRootsAttributes']['get'](_0x59be61))||{},'attributesAfter':_0xeac1b(this['_diffRootsAttributes']['get'](_0x59be61))};}return{'diffData':_0x4eae2a,'authorsIds':Array['from'](_0x248857)};}['_processRootBeforeSave'](_0x4936e7){for(const [,_0x1e0ccb]of _0x4936e7['markers']){const _0x2e1aff=_0x1e0ccb['start']['getAncestors']()['filter'](_0x15709b=>'tableCell'==_0x15709b['name']);for(const _0x3b223b of _0x2e1aff)0x1==_0x3b223b['childCount']&&_0x3b223b['getChild'](0x0)['is']('element','paragraph')&&_0x3b223b['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x21f958){this['_processRootBeforeSave'](_0x21f958);const _0x5ebad8=this['editor']['data']['toView'](_0x21f958,{}),_0x127241=Array['from'](_0x5ebad8['getChildren']())['map'](_0x22640b=>this['_getViewJson'](_0x22640b));return JSON['stringify'](_0x127241);}['_getViewJson'](_0xeeee5d){if(_0xeeee5d['is']('$text'))return _0xeeee5d['data'];{const _0x4cb66b=_0xeeee5d;return{'type':Object['keys'](T)['find'](_0x54ce52=>_0xeeee5d instanceof T[_0x54ce52]),'name':_0x4cb66b['name'],'attributes':Array['from'](_0x4cb66b['getAttributes']()),'children':Array['from'](_0x4cb66b['getChildren']())['map'](_0x42302c=>this['_getViewJson'](_0x42302c))};}}['_markChanges'](_0x100694,_0x9b346a,_0x21d558,_0x59d1f6,_0x360db8){let _0x4518aa=null,_0x98ab0c=null,_0x541625=0x0;const _0x1c5bf1=this['editor']['model'];for(let _0x561b3e=0x0;_0x561b3e<_0x9b346a['length'];_0x561b3e++){const _0x48b03a=this['_getVidAttributeName'](_0x9b346a[_0x561b3e]),_0x3ef24b=_0x9b346a[_0x561b3e]['item']['getAttribute'](_0x48b03a),_0x503be6=_0x21d558['get'](_0x3ef24b),_0x5556c9=_0x561b3e==_0x9b346a['length']-0x1;(!_0x4518aa&&_0x503be6&&(_0x4518aa=_0x503be6,_0x98ab0c=_0x9b346a[_0x561b3e]),_0x4518aa&&(!_0x503be6||_0x503be6['userId']!=_0x4518aa['userId']))&&(_0x1d0317(_0x503be6,L(_0x98ab0c,_0x100694,_0x1c5bf1),L(_0x9b346a[_0x561b3e],_0x100694,_0x1c5bf1)),_0x4518aa=_0x503be6||null,_0x98ab0c=_0x503be6?_0x9b346a[_0x561b3e]:null),_0x4518aa&&_0x5556c9&&_0x1d0317(_0x503be6,L(_0x98ab0c,_0x100694,_0x1c5bf1),W(_0x9b346a[_0x561b3e],_0x100694,_0x1c5bf1));}function _0x1d0317(_0x3dfdd5,_0x584406,_0x2bdd44){const _0x1eda5e=_0x4518aa['userId'],_0x4d94f0='revision:'+_0x59d1f6+':'+_0x1eda5e+':'+_0x541625++,_0x2df795=_0x1c5bf1['createRange'](_0x584406,_0x2bdd44);_0x100694['markers']['set'](_0x4d94f0,_0x2df795),null!==_0x1eda5e&&_0x360db8['add'](_0x1eda5e);}}['_getVidAttributeName'](_0x508ef7){switch(_0x508ef7['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x50d577,_0x43dbba){_0x50d577['baseVersion']=null;for(const _0xc7cb59 in _0x50d577){const _0x48b1da=_0x50d577[_0xc7cb59];if(_0x48b1da instanceof gt){const _0x15c56b=_0x43dbba['get'](_0x48b1da['root']['rootName']);_0x50d577[_0xc7cb59]=this['_fixPosition'](_0x48b1da,_0x15c56b);}if(_0x48b1da instanceof vt){const _0x4869af=_0x43dbba['get'](_0x48b1da['root']['rootName']);_0x50d577[_0xc7cb59]=this['_fixRange'](_0x48b1da,_0x4869af);}'root'===_0xc7cb59&&(_0x50d577['root']=_0x43dbba['get'](_0x50d577['root']['rootName']));}}['_fixRange'](_0x1434f6,_0x300230){return this['editor']['model']['createRange'](this['_fixPosition'](_0x1434f6['start'],_0x300230),this['_fixPosition'](_0x1434f6['end'],_0x300230));}['_fixPosition'](_0x3448cb,_0x1cb2a8){return this['editor']['model']['createPositionFromPath'](_0x1cb2a8,_0x3448cb['path'],_0x3448cb['stickiness']);}['_handleInsertOperation'](_0x336867){const _0x4fa96f=this['_idsRoots']['get'](_0x336867['position']['root']['rootName']),_0x39544c=this['_fixPosition'](_0x336867['position'],_0x4fa96f),_0x54f99f=null===_0x336867['_authorId']?null:_0x336867['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x23f470=_0x39544c['parent'],_0x131b36=this['_revisionId'],_0x135704=[];for(const _0x5a7b02 of _0x336867['nodes'])if(_0x5a7b02['is']('element'))_0x135704['push'](this['_makeIdsRoot'](_0x5a7b02));else{for(let _0x5ee326=0x0;_0x5ee326<_0x5a7b02['offsetSize'];_0x5ee326++)_0x135704['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x267ec8=this['_revisionId'];for(let _0x5ce592=_0x131b36;_0x5ce592<_0x267ec8;_0x5ce592++)this['_touched']['set'](_0x5ce592,{'userId':_0x54f99f});_0x23f470['_insertChild'](_0x39544c['offset'],_0x135704);}['_handleMoveOperation'](_0x159707){(_0x159707=this['_cloneOperation'](_0x159707,this['_idsRoots']))['_execute']();const _0x9f0779=null===_0x159707['_authorId']?null:_0x159707['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x13ed6b=_0x159707['getMovedRangeStart'](),_0x2b93a0=_0x13ed6b['parent'],_0x3d471b=_0x13ed6b['offset'];!function _0x12adcb(_0x544d0f,_0x1422ce,_0x2c7d69,_0x5a3aeb){for(let _0x18276a=_0x2c7d69;_0x18276a<_0x5a3aeb;_0x18276a++){const _0x2c9708=_0x1422ce['getChild'](_0x18276a);_0x2c9708['is']('element','$text')?_0x544d0f['set'](_0x2c9708['getAttribute']('vid'),{'userId':_0x9f0779}):(_0x544d0f['set'](_0x2c9708['getAttribute']('vid_start'),{'userId':_0x9f0779}),_0x12adcb(_0x544d0f,_0x2c9708,0x0,_0x2c9708['childCount']),_0x544d0f['set'](_0x2c9708['getAttribute']('vid_end'),{'userId':_0x9f0779}));}}(this['_touched'],_0x2b93a0,_0x3d471b,_0x3d471b+_0x159707['howMany']);}['_handleMergeOperation'](_0x52d0e2){const _0xfe1eba=null===(_0x52d0e2=this['_cloneOperation'](_0x52d0e2,this['_idsRoots']))['_authorId']?null:_0x52d0e2['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x60b916=_0x52d0e2['targetPosition']['parent'],_0xf5af6=_0x52d0e2['sourcePosition']['parent'],_0x5cf2fa=_0x60b916['getAttribute']('vid_end'),_0x3899e2=_0xf5af6['getAttribute']('vid_start');_0x60b916['_setAttribute']('vid_end',_0xf5af6['getAttribute']('vid_end')),_0xf5af6['_setAttribute']('vid_end',_0x5cf2fa),this['_touched']['set'](_0x3899e2,{'userId':_0xfe1eba}),this['_touched']['set'](_0x5cf2fa,{'userId':_0xfe1eba}),_0x52d0e2['_execute']();}['_handleSplitOperation'](_0x2835e4){const _0x214822=null===(_0x2835e4=this['_cloneOperation'](_0x2835e4,this['_idsRoots']))['_authorId']?null:_0x2835e4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xf7d32b=_0x2835e4['graveyardPosition'],_0x547223=_0x2835e4['splitPosition']['parent'];_0x2835e4['_execute']();const _0x59c65d=_0x547223['getAttribute']('vid_end'),_0x42ead7=_0x2835e4['insertionPosition']['nodeAfter'];if(_0xf7d32b){const _0x2250c4=_0x42ead7['getAttribute']('vid_end'),_0x14234e=_0x547223['getAttribute']('vid_end');_0x547223['_setAttribute']('vid_end',_0x2250c4),_0x42ead7['_setAttribute']('vid_end',_0x14234e),this['_touched']['set'](_0x547223['getAttribute']('vid_end'),{'userId':_0x214822}),this['_touched']['set'](_0x42ead7['getAttribute']('vid_start'),{'userId':_0x214822});}else{const _0x59a5ea=this['_revisionId']++,_0x441312=this['_revisionId']++;_0x547223['_setAttribute']('vid_end',_0x59a5ea),_0x42ead7['_setAttribute']('vid_start',_0x441312),_0x42ead7['_setAttribute']('vid_end',_0x59c65d),this['_touched']['set'](_0x59a5ea,{'userId':_0x214822}),this['_touched']['set'](_0x441312,{'userId':_0x214822});}}['_handleMarkerOperation'](_0x237f91){if(!_0x237f91['affectsData'])return;const _0x575b29=(_0x237f91=this['_cloneOperation'](_0x237f91,this['_diffRoots']))['oldRange']?_0x237f91['oldRange']['root']:null,_0x4206a7=_0x237f91['newRange']?_0x237f91['newRange']['root']:null;_0x575b29&&this['_markers']['delete'](_0x237f91['name']),_0x4206a7&&this['_markers']['set'](_0x237f91['name'],_0x237f91['newRange']['clone']());const _0x6a5bcc=null===_0x237f91['_authorId']?null:_0x237f91['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1bb3a6=_0x237f91['name'];if(!this['_touchedMarkers']['has'](_0x1bb3a6))return void this['_touchedMarkers']['set'](_0x1bb3a6,{'range':_0x237f91['oldRange'],'userId':_0x6a5bcc});const _0x27466f=this['_touchedMarkers']['get'](_0x1bb3a6),_0xd74d0e=_0x27466f['range'],_0x3f893c=_0x237f91['newRange'];null==_0xd74d0e&&null==_0x3f893c||_0xd74d0e&&_0x3f893c&&_0xd74d0e['isEqual'](_0x3f893c)?this['_touchedMarkers']['delete'](_0x237f91['name']):_0x27466f['userId']=_0x6a5bcc;}['_handleRootOperation'](_0x443edc,_0x4008f1){this['_diffRoots']['has'](_0x443edc['rootName'])?this['_diffRoots']['get'](_0x443edc['rootName'])['_isAttached']=_0x443edc['isAdd']:(this['_diffRoots']['set'](_0x443edc['rootName'],G(_0x443edc['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x443edc['rootName'],{}),_0x4008f1&&this['_idsRoots']['set'](_0x443edc['rootName'],G(_0x443edc['rootName'],!0x0)));const _0x1b9a4d=null===_0x443edc['_authorId']?null:_0x443edc['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1ec3e3=this['_touchedRoots']['get'](_0x443edc['rootName']);_0x1ec3e3&&_0x1ec3e3['userId']===_0x1b9a4d?this['_touchedRoots']['delete'](_0x443edc['rootName']):this['_touchedRoots']['set'](_0x443edc['rootName'],{'userId':_0x1b9a4d,'isAttached':_0x443edc['isAdd']});}['_handleRootAttributeOperation'](_0x3440c4){const _0x13049c=this['_diffRootsAttributes']['get'](_0x3440c4['root']['rootName']);null===_0x3440c4['newValue']?delete _0x13049c[_0x3440c4['key']]:_0x13049c[_0x3440c4['key']]=_0x3440c4['newValue'];}}function q(_0x121ed5){const _0x43e800=G(_0x121ed5['rootName'],_0x121ed5['isAttached']());for(const _0x35f827 of _0x121ed5['getChildren']()){const _0x80b77b=_0x35f827['_clone'](!0x0);_0x43e800['_appendChild'](_0x80b77b);}return _0x43e800;}function G(_0x5871c7,_0x372d82=!0x0){const _0x566b76=new wt();return _0x566b76['rootName']=_0x5871c7,_0x566b76['_isAttached']=_0x372d82,_0x566b76['isAttached']=()=>_0x566b76['_isAttached'],_0x566b76;}function L(_0x12dfdc,_0x38e4df,_0x5b1492){const _0x22d6b9='elementEnd'==_0x12dfdc['type']?_0x5b1492['createPositionAt'](_0x12dfdc['item'],'end'):_0x5b1492['createPositionBefore'](_0x12dfdc['item']);return _0x5b1492['createPositionFromPath'](_0x38e4df,_0x22d6b9['path'],_0x22d6b9['stickiness']);}function W(_0x3813c2,_0x302f3a,_0x5bbc32){const _0x11329e='elementStart'==_0x3813c2['type']?_0x5bbc32['createPositionAt'](_0x3813c2['item'],0x0):_0x5bbc32['createPositionAfter'](_0x3813c2['item']);return _0x5bbc32['createPositionFromPath'](_0x302f3a,_0x11329e['path'],_0x11329e['stickiness']);}class ns extends _0x7a2f55{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0xd1fd2f,_0x3621b3){super(_0xd1fd2f),this['focusTracker']=new _0x33c9d4(),this['keystrokes']=new _0x282f6f(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3621b3),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'](),_0x408d20({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x709985=_0x4d42b7=>_0x4d42b7['stopPropagation']();this['keystrokes']['set']('arrowright',_0x709985),this['keystrokes']['set']('arrowleft',_0x709985),this['keystrokes']['set']('arrowup',_0x709985),this['keystrokes']['set']('arrowdown',_0x709985);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x4ee604){this['revisionNameInputView']['fieldView']['element']['value']=_0x4ee604['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1b54ae){const _0x362ab5=new at(this['locale'],_0x4b6b52),_0x253265=_0x362ab5['fieldView'];_0x253265['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x105c02=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1b54ae&&(_0x105c02+='\x20('+y(this['locale'],'optional')+')'),(_0x362ab5['label']=_0x105c02,_0x253265['on']('input',()=>{this['revisionNameInputValue']=_0x253265['element']['value']['trim']();}),_0x362ab5);}}class u extends _0x412bee{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x18acde=this['editor'],_0x53c880=_0x18acde['plugins']['get']('RevisionTracker');_0x18acde['ui']['componentFactory']['add']('revisionHistory',_0x1fd6d0=>{const _0x4b76ee=_0x6a32b0(_0x1fd6d0),_0x451421=_0x4b76ee['panelView']['children'],_0x475e69=new te(_0x1fd6d0),_0x5834b2=new _0x42e444(_0x1fd6d0),_0x4a938e=new _0x4eec00(_0x1fd6d0),_0x1c8974=new _0x42e444(_0x1fd6d0),_0x35893f=new _0x4eec00(_0x1fd6d0);return _0x4b76ee['bind']('isEnabled')['to'](_0x53c880,'isReady',_0x53c880,'isEnabled',_0x18acde,'isReadOnly',(_0x265844,_0x1773d4,_0xd4ce7f)=>_0x265844&&_0x1773d4&&!_0xd4ce7f),_0x4b76ee['buttonView']['set']({'icon':_0x2a3798['history'],'label':y(_0x1fd6d0,'Revision\x20history'),'tooltip':!0x0}),_0x4a938e['set']({'label':y(_0x1fd6d0,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x4a938e['bind']('isEnabled')['to'](_0x53c880,'isReady',_0x53c880,'isEnabled',_0x18acde,'isReadOnly',(_0x37d843,_0x1b31bf,_0xbfad71)=>_0x37d843&&_0x1b31bf&&!_0xbfad71),_0x4a938e['on']('execute',()=>this['_showDialog']()),_0x35893f['set']({'label':y(_0x1fd6d0,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x35893f['bind']('isEnabled')['to'](_0x53c880,'isReady',_0x18acde,'isReadOnly',(_0x1eb8ff,_0xb7180a)=>_0x1eb8ff&&!_0xb7180a),_0x35893f['on']('execute',()=>{_0x18acde['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4b76ee['isOpen']=!0x1,_0x18acde['editing']['view']['focus']();}),_0x5834b2['children']['add'](_0x4a938e),_0x1c8974['children']['add'](_0x35893f),_0x475e69['role']='menu',_0x475e69['items']['addMany']([_0x5834b2,_0x1c8974]),_0x451421['add'](_0x475e69),_0x4b76ee;}),_0x18acde['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x5c7bd8=this['editor'],_0x44882a=_0x5c7bd8['locale'],_0x35d663=new _0x2e0aca(_0x44882a),_0x5c736e=new _0x5302b5(_0x44882a);_0x35d663['buttonView']['set']({'icon':_0x2a3798['history'],'label':y(_0x44882a,'Revision\x20history')});const _0x500cf1=new _0x153bd8(_0x44882a,_0x35d663),_0x560424=new _0x3b2869(_0x44882a);_0x560424['set']({'label':y(_0x44882a,'Save\x20current\x20revision')}),_0x560424['delegate']('execute')['to'](_0x35d663),_0x560424['on']('execute',()=>{this['_showDialog']();}),_0x500cf1['children']['add'](_0x560424),_0x5c736e['items']['add'](_0x500cf1);const _0x128f6b=new _0x153bd8(_0x44882a,_0x35d663),_0x2337e5=new _0x3b2869(_0x44882a);return _0x2337e5['set']({'label':y(_0x44882a,'Open\x20revision\x20history')}),_0x2337e5['delegate']('execute')['to'](_0x35d663),_0x2337e5['on']('execute',()=>{_0x5c7bd8['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x128f6b['children']['add'](_0x2337e5),_0x5c736e['items']['add'](_0x128f6b),_0x35d663['panelView']['children']['add'](_0x5c736e),_0x35d663;}['_showDialog'](){const _0x30762b=this['editor'],_0x45a8e7=_0x30762b['locale'],t=_0x45a8e7['t'],_0x39d8b0=_0x30762b['plugins']['get']('Dialog'),_0x14ddad=_0x30762b['plugins']['get']('RevisionTracker');function _0x5c788d(_0xa3584c){_0x30762b['config']['get']('revisionHistory.requireRevisionName')&&''===_0xa3584c['revisionName']?_0xa3584c['revisionNameInputView']['errorText']=y(_0x45a8e7,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x30762b['plugins']['get'](l)['saveRevision']({'name':_0xa3584c['revisionName']}),_0x39d8b0['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5c788d(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x39d8b0['show']({'id':'findAndReplace','title':y(_0x45a8e7,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x39d8b0['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x5cb3d8){_0x5cb3d8['bind']('isEnabled')['to'](_0x14ddad,'isReady',_0x14ddad,'isEnabled',_0x30762b,'isReadOnly',(_0x42cd74,_0x4f0355,_0x3b048b)=>_0x42cd74&&_0x4f0355&&!_0x3b048b);},'onExecute':()=>_0x5c788d(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x7a2011=this['editor'],_0x4a4a7a=_0x7a2011['locale'];this['_saveRevisionFormView']=new ns(_0x4a4a7a,_0x7a2011['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x7a2f55{['changeId'];['_model'];constructor(_0x42b087,_0x49c84f){super(_0x42b087),this['_model']=_0x49c84f,this['changeId']=_0x49c84f['id'];const _0x11181a=this['bindTemplate'],_0x33ff93=y(_0x42b087,_0x49c84f['data']['isSuggestion']?'Suggested\x20by':'add'==_0x49c84f['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x49c84f['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x11181a['to']('type',_0x19bda9=>'ck-revision-change__'+_0x19bda9)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x33ff93}]},{'text':'\x20'+_0x49c84f['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x49d668(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4dcf5e){super(),this['id']=_0x4dcf5e['id']||_0x2c681b(),this['author']=_0x4dcf5e['author'],this['type']=_0x4dcf5e['type'],this['data']=_0x4dcf5e['data']||{},this['rootName']=_0x4dcf5e['rootName'],this['set']('createdAt',_0x4dcf5e['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(_0x5690bb,_0x46ee60){this['newRevisionId']=_0x5690bb,this['oldRevisionId']=_0x46ee60,this['changes']=new _0x285857();}['_setChanges'](_0x56dd84){for(const _0x3e0739 of _0x56dd84)this['changes']['add'](_0x3e0739);}}const tt={'c':_0x272e9d,'a':_0x237fb9,'e':_0x5c1e88,'r':_0x3edd43,'u':_0x11b97f};class d extends _0x412bee{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x1b8b43,_0x3c831e,A];}constructor(_0x58efdc){super(_0x58efdc),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',(_0x49b013,_0x2a01ba,_0x5d2243)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x109e12=>{for(const _0x3af99c of this['editor']['editing']['view']['document']['roots'])_0x5d2243?_0x109e12['removeClass']('ck-editor__editable__overlay',_0x3af99c):_0x109e12['addClass']('ck-editor__editable__overlay',_0x3af99c);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4921c8=>null!==_0x4921c8),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3e990b,_0x100ad3,_0x1828e0)=>_0x3e990b&&_0x1828e0?_0x100ad3['changes']['getIndex'](_0x1828e0):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x335510,_0x2ea1e8)=>_0x335510?_0x2ea1e8['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x3c831e);}['init'](){const _0x4c7840=this['editor'],_0xdea7d3=new yt(_0x4c7840,{'direction':'backward'}),_0x544934=new yt(_0x4c7840,{'direction':'forward'});(_0x4c7840['commands']['add']('showPreviousChange',_0xdea7d3),_0x4c7840['commands']['add']('showNextChange',_0x544934),_0x4c7840['commands']['add']('restoreRevision',new bt(_0x4c7840)),this['on']('change:numberOfChanges',()=>{_0xdea7d3['refresh'](),_0x544934['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4c7840['enableReadOnlyMode']('revision-viewer'),_0x4c7840['plugins']['has']('WidgetToolbarRepository'))&&_0x4c7840['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3d9fb5){await this['loadRevisionData'](_0x3d9fb5);const _0x31e086={};for(const _0x580ce6 in _0x3d9fb5['diffData']){if(_0x3d9fb5['diffData'][_0x580ce6]['attachChange']&&!_0x3d9fb5['diffData'][_0x580ce6]['attachChange']['isAttached'])continue;const _0x2418e6=this['_removeRevisionMarkers'](JSON['parse'](_0x3d9fb5['diffData'][_0x580ce6]['insertions'])),_0x4cbac5=this['editor']['editing']['view']['document'],_0x3c9c22=new _0x3f05fc(_0x4cbac5,_0x2418e6['map'](_0x26e82a=>this['_getViewObj'](_0x26e82a)));this['editor']['data']['processor']['useFillerType']('marked'),_0x31e086[_0x580ce6]=this['editor']['data']['processor']['toData'](_0x3c9c22),this['editor']['data']['processor']['useFillerType']('default');}return _0x31e086;}async['getRevisionRootsAttributes'](_0x49aed4){await this['loadRevisionData'](_0x49aed4);const _0x1d1cc9={};for(const _0x2e0381 in _0x49aed4['diffData'])_0x49aed4['diffData'][_0x2e0381]['attachChange']&&!_0x49aed4['diffData'][_0x2e0381]['attachChange']['isAttached']||(_0x1d1cc9[_0x2e0381]=_0x49aed4['diffData'][_0x2e0381]['attributesAfter']||{});return _0x1d1cc9;}['_removeRevisionMarkers'](_0x43df07){return(_0x43df07=_0x43df07['filter'](_0x571a9b=>!_0x571a9b['name']||'revision-start'!==_0x571a9b['name']&&'revision-end'!==_0x571a9b['name']))['forEach'](_0xc284cc=>{'string'!=typeof _0xc284cc&&(_0xc284cc['children']=this['_removeRevisionMarkers'](_0xc284cc['children']),_0xc284cc['attributes']=_0xc284cc['attributes']['filter'](_0x169440=>!_0x169440[0x0]['startsWith']('data-revision-')));}),_0x43df07;}async['compare'](_0x26a647,_0x6bf146,_0x2a2f8f=!0x1){if(!this['isEnabled'])return;const _0x57b058=this['diff'],_0x1c58dc=this['repository'],_0x13040d='string'==typeof _0x26a647?_0x1c58dc['getRevision'](_0x26a647):_0x26a647,_0xb38716='string'==typeof _0x6bf146?_0x1c58dc['getRevision'](_0x6bf146):_0x6bf146,_0x242f76=_0x13040d['id'],_0x47c089=_0xb38716?_0xb38716['id']:null;if(!_0x2a2f8f&&this['diff']&&this['diff']['newRevisionId']===_0x242f76&&this['diff']['oldRevisionId']===_0x47c089)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x242f76,_0x47c089);const _0x467b1c=this['_getRevisionsRange'](_0x13040d,_0xb38716,!0x0)['map'](_0x20b975=>this['loadRevisionData'](_0x20b975));return _0x467b1c['push'](new Promise(_0x106c0b=>{setTimeout(_0x106c0b,0x14);})),Promise['all'](_0x467b1c)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x7e9123=this['_getDiff'](_0x242f76,_0x47c089);for(const _0x83b57b of _0x7e9123['changes'])this['_changeIdToChange']['set'](_0x83b57b['id'],_0x83b57b);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x15e7f7=>{for(const _0x49a270 of this['editor']['model']['document']['getRootNames']())_0x15e7f7['detachRoot'](_0x49a270);for(const _0x3d59e5 of Object['keys'](_0x7e9123['model'])){const _0x1f98c5=_0x15e7f7['addRoot'](_0x3d59e5);for(const _0xf48a57 of Object['keys'](_0x7e9123['attributes'][_0x3d59e5]))_0x15e7f7['setAttribute'](_0xf48a57,_0x7e9123['attributes'][_0x3d59e5][_0xf48a57],_0x1f98c5);_0x15e7f7['insert'](_0x7e9123['model'][_0x3d59e5],_0x1f98c5,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x7e9123['changes'])),this['isReady']=!0x0;})['catch'](_0x2619a6=>{console['error'](_0x2619a6),this['_cleanUp'](),_0x57b058&&(this['diff']=_0x57b058),this['isReady']=!0x0;});}['addRevisionData'](_0x473e91,_0x39cb2e){const _0x24e64b=this['repository']['createRevision'](_0x473e91);return _0x24e64b['on']('_update',(_0x332dae,_0x1abbbb,_0x57bcea)=>_0x39cb2e(_0x1abbbb,_0x57bcea,_0x24e64b)),this['repository']['addRevision'](_0x24e64b),_0x24e64b;}['loadRevisionData'](_0x147342){if(!_0x147342||_0x147342['diffData'])return Promise['resolve']();{const _0x1e0cbe=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1e0cbe,'revisionId':_0x147342['id']})['then'](_0x3fda15=>{_0x147342['_update']({'diffData':_0x3fda15['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},_0x5b2ece=>{for(const _0x64e836 of this['editor']['model']['document']['getRootNames']())_0x5b2ece['detachRoot'](_0x64e836);});}['_sortAndFilterDiffChanges'](_0x272dca){const _0x36fbb1=[],_0xe78ee7=new Map();for(const _0x32110a of this['editor']['model']['document']['getRootNames']()){const _0x5276f6=this['editor']['editing']['view']['getDomRoot'](_0x32110a);if(!_0x5276f6)continue;const _0x575d21=_0x5276f6['getClientRects']()['item'](0x0);_0x575d21&&(_0x36fbb1['push'](_0x32110a),_0xe78ee7['set'](_0x32110a,_0x575d21));}return _0x36fbb1['sort']((_0x466348,_0x27011c)=>{const _0x217d6f=_0xe78ee7['get'](_0x466348),_0x28d948=_0xe78ee7['get'](_0x27011c);return _0x217d6f['y']-_0x28d948['y']||_0x217d6f['x']-_0x28d948['x'];}),(_0x272dca=_0x272dca['filter'](_0x25a46d=>_0x36fbb1['includes'](_0x25a46d['rootName'])))['sort']((_0x15981d,_0x492e97)=>_0x36fbb1['indexOf'](_0x15981d['rootName'])-_0x36fbb1['indexOf'](_0x492e97['rootName'])),_0x272dca;}['_makeTape'](_0x34f288){const _0x4ef3db=Array['from'](_0x34f288['markers'])['filter'](([_0xaebfeb,_0x1b3074])=>_0xaebfeb['startsWith']('revision:')&&!_0x1b3074['isCollapsed']),_0x1e971e=Array['from'](this['editor']['model']['createRangeIn'](_0x34f288)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x4ef3db['length'])for(const _0x5da80c of _0x1e971e){const [_0x2d4cfb,_0x5691c9]=_0x4ef3db[0x0],[,_0x5162ba,_0x3f9ba0]=_0x2d4cfb['split'](':');if(_0x5691c9['end']['isEqual'](_0x5da80c['nextPosition'])&&_0x4ef3db['shift'](),(_0x5da80c['previousPosition']['isEqual'](_0x5691c9['start'])||_0x5da80c['previousPosition']['isAfter'](_0x5691c9['start']))&&('insertion'==_0x5162ba?_0x5da80c['isAdded']={'userId':_0x3f9ba0}:'deletion'==_0x5162ba&&(_0x5da80c['isRemoved']={'userId':_0x3f9ba0})),0x0==_0x4ef3db['length'])break;}return _0x1e971e;}['_refreshStartEndIndex'](_0x4a113f){const _0x16d72e=new Map();for(let _0x1db8ee=0x0;_0x1db8ee<_0x4a113f['length'];_0x1db8ee++)'text'===_0x4a113f[_0x1db8ee]['type']?(_0x4a113f[_0x1db8ee]['item']['startIndex']=_0x1db8ee,_0x4a113f[_0x1db8ee]['item']['endIndex']=_0x1db8ee):('elementStart'===_0x4a113f[_0x1db8ee]['type']?_0x4a113f[_0x1db8ee]['item']['startIndex']=_0x1db8ee:'elementEnd'===_0x4a113f[_0x1db8ee]['type']&&(_0x4a113f[_0x1db8ee]['item']['endIndex']=_0x1db8ee),_0x16d72e['set'](_0x4a113f[_0x1db8ee]['id'],_0x1db8ee));for(const _0x473507 of _0x16d72e['values']())'elementStart'===_0x4a113f[_0x473507]['type']?_0x4a113f[_0x473507]['item']['endIndex']=_0x16d72e['get'](_0x4a113f[_0x473507]['pairId']):'elementEnd'===_0x4a113f[_0x473507]['type']&&(_0x4a113f[_0x473507]['item']['startIndex']=_0x16d72e['get'](_0x4a113f[_0x473507]['pairId']));}['_processTape'](_0x5d6a76){for(let _0x58084e=0x0;_0x58084e<_0x5d6a76['length'];_0x58084e++){if('elementStart'===_0x5d6a76[_0x58084e]['type'])_0x5d6a76[_0x58084e]['item']['startIndex']=_0x58084e;else{if('elementEnd'===_0x5d6a76[_0x58084e]['type']){_0x5d6a76[_0x58084e]['item']['endIndex']=_0x58084e;const _0x1d923c=_0x5d6a76[_0x58084e]['item']['startIndex'];_0x5d6a76[_0x1d923c]['pairId']=_0x5d6a76[_0x58084e]['id'],_0x5d6a76[_0x58084e]['pairId']=_0x5d6a76[_0x1d923c]['id'];}else _0x5d6a76[_0x58084e]['item']['startIndex']=_0x58084e,_0x5d6a76[_0x58084e]['item']['endIndex']=_0x58084e,_0x5d6a76[_0x58084e]['pairId']=null;}_0x5d6a76[_0x58084e]['markersStart']||(_0x5d6a76[_0x58084e]['markersStart']=[],_0x5d6a76[_0x58084e]['markersEnd']=[]);}}['_markInsertions'](_0x307f3a,_0x491b3c){const _0x4934af=_0x307f3a['filter'](_0x13e059=>!_0x13e059['isAdded']);for(let _0x51b26a=0x0;_0x51b26a<_0x491b3c['length'];_0x51b26a++)_0x491b3c[_0x51b26a]['isAdded']&&(_0x4934af[_0x51b26a]['isAdded']=_0x491b3c[_0x51b26a]['isAdded']);}['_makeModelFromViewString'](_0xf6c7e6){const _0x5157f2=JSON['parse'](_0xf6c7e6),_0xc6a417=this['editor']['editing']['view']['document'],_0x184bda=new _0x3f05fc(_0xc6a417,_0x5157f2['map'](_0x13c91c=>this['_getViewObj'](_0x13c91c)));return this['editor']['data']['toModel'](_0x184bda);}['_getViewObj'](_0x43a6ca){const _0x142d3d=this['editor']['editing']['view']['document'];if('string'==typeof _0x43a6ca)return new _0x28054c(_0x142d3d,_0x43a6ca);{const _0x45f8ff=_0x43a6ca['children']['map'](_0xfab958=>this['_getViewObj'](_0xfab958));return new(tt[_0x43a6ca['type']]||_0x56db84)(_0x142d3d,_0x43a6ca['name'],_0x43a6ca['attributes'],_0x45f8ff);}}['_getDiff'](_0x25c3aa,_0x4e2b53=null){const _0x55f364=this['repository']['getRevision'](_0x25c3aa),_0x1edc9f=_0x4e2b53?this['repository']['getRevision'](_0x4e2b53):null,_0x151657=this['_getRevisionsRange'](_0x55f364,_0x1edc9f),_0x2c1330=_0x151657[_0x151657['length']-0x1],_0x2c5543=new Map(),_0x46f167={'model':{},'attributes':{},'changes':[]},_0x220cd2=new Set(),_0x1c968d=new Map();for(let _0x1d58eb=_0x151657['length']-0x1;_0x1d58eb>=0x0;_0x1d58eb--){const _0x1e751f=_0x151657[_0x1d58eb];for(const _0x59670f of Object['keys'](_0x1e751f['diffData']))if(_0x1e751f['diffData'][_0x59670f]['attachChange']){const _0x573e6f=_0x1e751f['diffData'][_0x59670f]['attachChange'];_0x573e6f['isAttached']?(_0x220cd2['add'](_0x59670f),_0x1c968d['has'](_0x59670f)&&_0x1c968d['get'](_0x59670f)['userId']==_0x573e6f['userId']?_0x1c968d['delete'](_0x59670f):_0x1c968d['set'](_0x59670f,_0x573e6f)):_0x1c968d['has'](_0x59670f)?(_0x220cd2['delete'](_0x59670f),_0x1c968d['delete'](_0x59670f)):(_0x220cd2['add'](_0x59670f),_0x1c968d['set'](_0x59670f,_0x573e6f));}else _0x220cd2['add'](_0x59670f);}for(const _0x5de0ad of _0x220cd2){const _0x16a6f0=_0x1c968d['has'](_0x5de0ad)&&!_0x1c968d['get'](_0x5de0ad)['isAttached'];let _0x319337=_0x16a6f0?_0x151657['length']-0x1:0x0;const _0x5a48ae=_0x16a6f0?-0x1:0x1;for(;_0x151657[_0x319337];){const _0x58848a=_0x151657[_0x319337];if(_0x58848a['diffData'][_0x5de0ad]){const _0x33b73c=_0x16a6f0?_0x58848a['diffData'][_0x5de0ad]['attributesBefore']:_0x58848a['diffData'][_0x5de0ad]['attributesAfter'];_0x46f167['attributes'][_0x5de0ad]=_0x33b73c?_0xeac1b(_0x33b73c):{};break;}_0x319337+=_0x5a48ae;}}for(const _0x1eee2f of _0x151657){_0x1eee2f['model']={};for(const _0x4d7603 of _0x1eee2f['authors'])_0x2c5543['set'](_0x4d7603['id'],_0x4d7603);for(const _0x2e91eb of _0x220cd2){const _0x3280bb=_0x1eee2f['diffData'][_0x2e91eb]?_0x1eee2f['diffData'][_0x2e91eb]['insertions']:'[]',_0x4fde9a=_0x1eee2f['diffData'][_0x2e91eb]?_0x1eee2f['diffData'][_0x2e91eb]['deletions']:'[]';_0x1eee2f['model'][_0x2e91eb]={'insertions':this['_makeModelFromViewString'](_0x3280bb),'deletions':this['_makeModelFromViewString'](_0x4fde9a)};}}for(const _0x4dbe13 of _0x220cd2){let _0x447242=null,_0x3591e2=0x0;const _0x489693=new Map(Array['from'](_0x55f364['model'][_0x4dbe13]['insertions']['markers'])['filter'](([_0x4e1c52])=>!_0x4e1c52['startsWith']('revision:')));let _0x3854e4=0x0;for(const _0x49ba4e of _0x151657){const _0x2e8d87=this['_makeTape'](_0x49ba4e['model'][_0x4dbe13]['insertions']);_0x49ba4e==_0x55f364?(_0x447242=_0x2e8d87,_0x3591e2=_0x447242['length'],_0x447242['forEach'](_0x431911=>{_0x431911['id']=_0x3854e4++;}),this['_processTape'](_0x447242)):this['_markInsertions'](_0x447242,_0x2e8d87);const _0x2c6981=_0x447242['filter'](_0x1666da=>!_0x1666da['isAdded'])['map'](_0x23d9b6=>_0x23d9b6['id']);let _0x57adf1=0x0;const _0x38f586=this['_makeTape'](_0x49ba4e['model'][_0x4dbe13]['deletions']);_0x38f586['forEach'](_0x313caf=>{_0x313caf['isRemoved']?_0x313caf['id']=_0x3591e2++:_0x313caf['id']=_0x2c6981[_0x57adf1++];}),this['_processTape'](_0x38f586),this['_setDistance'](_0x447242,'isAdded'),this['_setDistance'](_0x38f586,'isRemoved'),_0x49ba4e==_0x55f364&&this['_markMarkers'](_0x447242,_0x489693),_0x447242=this['_joinTapes'](_0x447242,_0x38f586),this['_refreshStartEndIndex'](_0x447242),this['_setDistance'](_0x447242,'isRemoved');}_0x447242=_0x447242['filter'](_0x119879=>!(_0x119879['isAdded']&&_0x119879['isRemoved']));const _0x4905e6=new Map(_0x2c1330['model'][_0x4dbe13]['deletions']['markers']),_0x479079=new Set(_0x489693['keys']());for(const _0x5e3294 of _0x4905e6['keys']())_0x479079['delete'](_0x5e3294);this['_markSuggestions'](_0x447242,_0x479079),this['_fixObsoleteTags'](_0x447242),_0x447242=this['_removeMissingPairs'](_0x447242),_0x447242=this['_markMismatchedRemovedTags'](_0x447242),_0x447242=this['_removeUnsupportedChanges'](_0x447242);const {root:_0xff448,changes:_0x3c73dd}=this['_makeModelFromTape'](_0x447242,_0x2c5543,_0x4dbe13);_0x46f167['model'][_0x4dbe13]=_0xff448;const _0x1b0cc7=_0x1c968d['get'](_0x4dbe13);if(_0x1b0cc7){const _0x282480=_0x2c5543['get'](_0x1b0cc7['userId']),_0x397853=new r({'author':_0x282480,'type':_0x1b0cc7['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4dbe13});_0x3c73dd['unshift'](_0x397853),_0x46f167['attributes'][_0x4dbe13]['revisionHistoryAttachChange']=_0x397853['id'];}_0x46f167['changes']=_0x46f167['changes']['concat'](_0x3c73dd);}return _0x46f167;}['_markMarkers'](_0x3c2bb6,_0x43a92e){for(let _0x21da28=0x0;_0x21da28<_0x3c2bb6['length'];_0x21da28++)for(const [_0x33661d,_0x1adff9]of _0x43a92e)_0x1adff9['start']['isEqual'](_0x3c2bb6[_0x21da28]['previousPosition'])&&_0x3c2bb6[_0x21da28]['markersStart']['push'](_0x33661d),_0x1adff9['end']['isEqual'](_0x3c2bb6[_0x21da28]['nextPosition'])&&_0x3c2bb6[_0x21da28]['markersEnd']['push'](_0x33661d);}['_joinTapes'](_0x1aa642,_0x3f0aca){let _0x4b5263=[],_0x1cce13=0x0,_0x165fe2=0x0;for(;_0x1cce13<_0x1aa642['length']||_0x165fe2<_0x3f0aca['length'];){const _0x58bb0b=_0x1aa642[_0x1cce13]||{},_0x34d1b4=_0x3f0aca[_0x165fe2]||{};if(_0x58bb0b['id']==_0x34d1b4['id'])_0x1cce13++,_0x165fe2++,_0x4b5263['push'](_0x58bb0b);else{if(_0x34d1b4['isRemoved']&&_0x58bb0b['isAdded']){const {commonTape:_0x2e4af3,iEnd:_0x1be031,jEnd:_0x555ed5}=this['_threeWayMerge'](_0x1aa642,_0x1cce13,_0x3f0aca,_0x165fe2);_0x4b5263=_0x4b5263['concat'](_0x2e4af3),_0x1cce13=_0x1be031,_0x165fe2=_0x555ed5;}else _0x34d1b4['isRemoved']?(_0x165fe2++,_0x4b5263['push'](_0x34d1b4)):(_0x1cce13++,_0x4b5263['push'](_0x58bb0b));}}return _0x4b5263;}['_markSuggestions'](_0x404b60,_0x1c6d8a){const _0x5da7a=[];for(let _0x5a9b2e=0x0;_0x5a9b2e<_0x404b60['length'];_0x5a9b2e++){for(let _0x2054ce=0x0;_0x2054ce<_0x404b60[_0x5a9b2e]['markersStart']['length'];_0x2054ce++){const _0x3466d5=_0x404b60[_0x5a9b2e]['markersStart'][_0x2054ce];if(!_0x1c6d8a['has'](_0x3466d5))continue;const {group:_0x50ba89,type:_0x566550,authorId:_0x4ee569}=_0x123b7d(_0x3466d5);'revision-suggestion'!=_0x50ba89||'insertion'!=_0x566550&&'deletion'!=_0x566550||(_0x5da7a['unshift']({'type':_0x566550,'name':_0x3466d5,'userId':_0x4ee569}),_0x404b60[_0x5a9b2e]['markersStart']['splice'](_0x2054ce,0x1),_0x2054ce--);}_0x235262(_0x404b60[_0x5a9b2e]);for(let _0x3ad627=0x0;_0x3ad627<_0x404b60[_0x5a9b2e]['markersEnd']['length'];_0x3ad627++){const _0x3b78c6=_0x404b60[_0x5a9b2e]['markersEnd'][_0x3ad627];if(!_0x1c6d8a['has'](_0x3b78c6))continue;const {group:_0x5de06e,type:_0x4581a8}=_0x123b7d(_0x3b78c6);if('revision-suggestion'!=_0x5de06e||'insertion'!=_0x4581a8&&'deletion'!=_0x4581a8)continue;_0x404b60[_0x5a9b2e]['markersEnd']['splice'](_0x3ad627,0x1),_0x3ad627--;const _0x5a8f32=_0x5da7a['findIndex'](_0x477f1b=>_0x477f1b['name']==_0x3b78c6);_0x5a8f32>-0x1&&_0x5da7a['splice'](_0x5a8f32,0x1);}}function _0x123b7d(_0x2a51c6){const _0x4ff4fe=_0x2a51c6['split'](':');return{'group':_0x4ff4fe[0x0],'type':_0x4ff4fe[0x1],'subType':_0x4ff4fe['length']>=0x5?_0x4ff4fe[0x2]:null,'id':_0x4ff4fe['length']<0x5?_0x4ff4fe[0x2]:_0x4ff4fe[0x3],'authorId':_0x4ff4fe['length']<0x5?_0x4ff4fe[0x3]:_0x4ff4fe[0x4],'markerCount':0x6==_0x4ff4fe['length']?_0x4ff4fe[0x5]:null};}function _0x235262(_0x2646a9){for(let _0xc3fbd2=0x0;_0xc3fbd2<_0x5da7a['length'];_0xc3fbd2++){if(_0x2646a9['isAdded']&&'insertion'==_0x5da7a[_0xc3fbd2]['type'])return _0x2646a9['isAddSuggestion']=_0x5da7a[_0xc3fbd2],void delete _0x2646a9['isAdded'];if(!_0x2646a9['isAdded']&&!_0x2646a9['isRemoved']&&'deletion'==_0x5da7a[_0xc3fbd2]['type'])return void(_0x2646a9['isRemoveSuggestion']=_0x5da7a[_0xc3fbd2]);}}}['_setDistance'](_0x3263b3,_0x17ac8f){let _0x3dfc26=0x0,_0x124289=!0x1;const _0x4e6591=new Map();for(const _0x4835d2 of _0x3263b3)_0x4835d2[_0x17ac8f]?_0x124289&&(_0x3dfc26++,_0x124289=!0x1):(_0x3dfc26++,_0x124289=!0x0),_0x4e6591['set'](_0x4835d2['id'],_0x3dfc26);for(let _0x4bb71e=0x0;_0x4bb71e<_0x3263b3['length'];_0x4bb71e++){if('isRemoved'==_0x17ac8f&&_0x3263b3[_0x4bb71e]['isAdded']||'isAdded'==_0x17ac8f&&_0x3263b3[_0x4bb71e]['isRemoved'])continue;if('text'==_0x3263b3[_0x4bb71e]['type']){_0x3263b3[_0x4bb71e]['distance']=0x0;continue;}const _0x38cb0d=_0x4e6591['get'](_0x3263b3[_0x4bb71e]['pairId']),_0x4932b9=_0x4e6591['get'](_0x3263b3[_0x4bb71e]['id']);_0x3263b3[_0x4bb71e]['distance']=_0x38cb0d-_0x4932b9;}}['_getRevisionsRange'](_0x34c8d2,_0x198097,_0x39fbc0=!0x1){const _0x145b67=[];let _0x50432c=this['repository']['getIndex'](_0x34c8d2),_0xfe4c64=this['repository']['getIndex'](_0x198097);for(-0x1==_0xfe4c64&&(_0xfe4c64=this['repository']['_revisions']['length'],_0x39fbc0=!0x1);_0x50432c<_0xfe4c64;)_0x145b67['push'](this['repository']['getRevision'](_0x50432c)),_0x50432c++;return _0x39fbc0&&_0x145b67['push'](this['repository']['getRevision'](_0x50432c)),_0x145b67;}['_threeWayMerge'](_0x16292c,_0x486b0a,_0x56adda,_0x4030aa){const _0x2ba8ea=this['editor']['model']['schema'];let _0x690fc1=_0x486b0a;for(;_0x16292c[_0x690fc1]&&_0x16292c[_0x690fc1]['isAdded'];)_0x690fc1++;let _0x392110=_0x4030aa;for(;_0x56adda[_0x392110]&&_0x56adda[_0x392110]['isRemoved'];)_0x392110++;_0x9a5294(_0x16292c,_0x486b0a,_0x690fc1),_0x9a5294(_0x56adda,_0x4030aa,_0x392110);const _0x349b86=_0x56adda['slice'](_0x4030aa,_0x392110)['concat'](_0x16292c['slice'](_0x486b0a,_0x690fc1));return _0x349b86['sort']((_0x4876fb,_0x28ebe9)=>_0x4876fb['side']!=_0x28ebe9['side']?_0x4876fb['side']-_0x28ebe9['side']:_0x4876fb['level']!=_0x28ebe9['level']?_0x4876fb['level']-_0x28ebe9['level']:_0x4876fb['distance']!=_0x28ebe9['distance']?_0x28ebe9['distance']-_0x4876fb['distance']:!!_0x4876fb['isAdded']!=!!_0x28ebe9['isAdded']?-0x1==_0x4876fb['side']||0x0==_0x4876fb['side']?_0x4876fb['isAdded']?-0x1:0x1:_0x4876fb['isAdded']?0x1:-0x1:_0x4876fb['index']-_0x28ebe9['index']),{'commonTape':_0x349b86,'iEnd':_0x690fc1,'jEnd':_0x392110};function _0x9a5294(_0x2cabfa,_0x52107b,_0x346876){let _0x23ee18=-0x1,_0x41e8ef=Number['POSITIVE_INFINITY'],_0x3f59dc=!0x0;for(let _0x54fa40=_0x52107b;_0x54fa40<_0x346876;_0x54fa40++)if(_0x2ba8ea['isInline'](_0x2cabfa[_0x54fa40]['item'])||(_0x3f59dc=!0x1),_0x2cabfa[_0x54fa40]['item']['startIndex']<_0x52107b&&(_0x23ee18=_0x54fa40),_0x2cabfa[_0x54fa40]['item']['endIndex']>=_0x346876){_0x41e8ef=_0x54fa40;break;}_0x3f59dc&&(_0x23ee18=_0x346876-0x1);for(let _0x574c05=_0x52107b;_0x574c05<_0x346876;_0x574c05++)_0x2cabfa[_0x574c05]['side']=_0x574c05<=_0x23ee18?-0x1:_0x574c05<_0x41e8ef?0x0:0x1,_0x2cabfa[_0x574c05]['index']=_0x574c05;let _0x3d162e=0x0;for(let _0x43e1bb=_0x52107b;_0x43e1bb<=_0x23ee18;_0x43e1bb++)0x0==_0x2cabfa[_0x43e1bb]['distance']?_0x2cabfa[_0x43e1bb]['level']=_0x3d162e:(_0x3d162e++,_0x2cabfa[_0x43e1bb]['level']=_0x3d162e,_0x3d162e++);for(let _0x301c16=_0x52107b;_0x301c16<_0x346876;_0x301c16++)0x0==_0x2cabfa[_0x301c16]['side']&&(_0x2cabfa[_0x301c16]['level']=_0x3d162e);_0x3d162e=0x0;for(let _0x5a7140=_0x346876-0x1;_0x5a7140>=_0x41e8ef;_0x5a7140--)0x0==_0x2cabfa[_0x5a7140]['distance']?_0x2cabfa[_0x5a7140]['level']=_0x3d162e:(_0x3d162e--,_0x2cabfa[_0x5a7140]['level']=_0x3d162e,_0x3d162e--);}}['_fixObsoleteTags'](_0xea73){const _0x353712=new Map(),_0x21ec73=this['editor']['model']['schema'];for(let _0x88d075=0x1;_0x88d075<_0xea73['length'];_0x88d075++){let _0x5b5961,_0x433828,_0x4ca75a;const _0x471be2=_0xea73[_0x88d075],_0x4bf554=_0xea73[_0x88d075-0x1];if('text'==_0x471be2['type'])continue;if(_0x471be2['type']!=_0x4bf554['type'])continue;if(!_0x21ec73['isBlock'](_0x4bf554['item'])||_0x21ec73['isLimit'](_0x4bf554['item']))continue;if(!_0x21ec73['isBlock'](_0x471be2['item'])||_0x21ec73['isLimit'](_0x471be2['item']))continue;if((_0xea73[_0x88d075]['isAdded']||_0xea73[_0x88d075]['isAddSuggestion'])&&_0xea73[_0x88d075-0x1]['isRemoved'])_0x5b5961=_0xea73[_0x88d075],_0x433828=_0xea73[_0x88d075-0x1],_0x4ca75a=_0x88d075-0x1;else{if(!_0xea73[_0x88d075]['isRemoved']||!_0xea73[_0x88d075-0x1]['isAdded']&&!_0xea73[_0x88d075-0x1]['isAddSuggestion'])continue;_0x5b5961=_0xea73[_0x88d075-0x1],_0x433828=_0xea73[_0x88d075],_0x4ca75a=_0x88d075;}const _0x28d210=_0x5b5961['level']==_0x433828['level'],_0x25a809=Math['abs'](_0x5b5961['level'])<Math['abs'](_0x433828['level'])&&0x0==_0x433828['distance'];(_0x28d210||_0x25a809)&&(_0x353712['set'](_0x433828['id'],_0x5b5961['id']),_0xea73['splice'](_0x4ca75a,0x1),_0x88d075--,_0x5b5961['isAdded']=!0x1);}for(let _0x90884=0x0;_0x90884<_0xea73['length'];_0x90884++)_0x353712['has'](_0xea73[_0x90884]['pairId'])&&(_0xea73[_0x90884]['pairId']=_0x353712['get'](_0xea73[_0x90884]['pairId']));}['_removeMissingPairs'](_0x2f1d7e){const _0x16c188=new Set(_0x2f1d7e['map'](_0x274873=>_0x274873['id']));for(let _0x514e04=0x0;_0x514e04<_0x2f1d7e['length'];_0x514e04++)_0x16c188['has'](_0x2f1d7e[_0x514e04]['pairId'])||0x0==_0x2f1d7e[_0x514e04]['distance']||(_0x2f1d7e[_0x514e04]['isIncorrect']=!0x0);return _0x2f1d7e['filter'](_0x487ed4=>!_0x487ed4['isIncorrect']);}['_markMismatchedRemovedTags'](_0x38a360){const _0x5ae5f4=new Set();for(let _0x5ad394=0x0;_0x5ad394<_0x38a360['length'];_0x5ad394++){if(_0x5ae5f4['has'](_0x38a360[_0x5ad394]['id'])&&_0x38a360[_0x5ad394]['isRemoved']&&(_0x38a360[_0x5ad394]['isIncorrect']=!0x0),_0x38a360[_0x5ad394]['isIncorrect'])continue;if(0x0==_0x38a360[_0x5ad394]['distance'])continue;if('elementStart'!=_0x38a360[_0x5ad394]['type'])continue;if(null==_0x38a360[_0x5ad394]['pairId'])continue;let _0x2aa40e=_0x5ad394+0x1,_0x3b4cdc=0x0;for(;_0x38a360[_0x2aa40e]['id']!=_0x38a360[_0x5ad394]['pairId'];)'elementStart'==_0x38a360[_0x2aa40e]['type']?_0x3b4cdc++:'elementEnd'==_0x38a360[_0x2aa40e]['type']&&_0x3b4cdc--,_0x2aa40e++;if(0x0!=_0x3b4cdc){if(_0x38a360[_0x5ad394]['isRemoved'])_0x38a360[_0x5ad394]['isIncorrect']=!0x0;else{for(;_0x2aa40e!=_0x5ad394;)_0x38a360[_0x2aa40e]['isRemoved']&&0x0!=_0x38a360[_0x2aa40e]['distance']&&(_0x38a360[_0x2aa40e]['isIncorrect']=!0x0,_0x5ae5f4['add'](_0x38a360[_0x2aa40e]['pairId'])),_0x2aa40e--;}}}return _0x38a360['filter'](_0x14275c=>!_0x14275c['isIncorrect']);}['_removeUnsupportedChanges'](_0x514793){const _0x1376ef=this['editor']['model']['schema'];for(let _0x23e685=0x0;_0x23e685<_0x514793['length'];_0x23e685++){if(!(_0x514793[_0x23e685]['isAdded']||_0x514793[_0x23e685]['isAddSuggestion']||_0x514793[_0x23e685]['isRemoved']||_0x514793[_0x23e685]['isRemoveSuggestion']))continue;if(0x0==_0x514793[_0x23e685]['distance'])continue;const _0x4c76bf=_0x514793[_0x23e685]['item'];_0x1376ef['isBlock'](_0x4c76bf)||_0x1376ef['isLimit'](_0x4c76bf)||(_0x514793[_0x23e685]['isAdded']&&delete _0x514793[_0x23e685]['isAdded'],_0x514793[_0x23e685]['isAddSuggestion']&&delete _0x514793[_0x23e685]['isAddSuggestion'],_0x514793[_0x23e685]['isRemoveSuggestion']&&delete _0x514793[_0x23e685]['isRemoveSuggestion'],_0x514793[_0x23e685]['isRemoved']&&(_0x514793[_0x23e685]['isIncorrect']=!0x0));}return _0x514793['filter'](_0x31b17d=>!_0x31b17d['isIncorrect']);}['_makeModelFromTape'](_0x36b97c,_0x2829ce,_0x4eabc5){const _0x2f7069=new wt(),_0x47e095=[],_0x55e59b=new Map(),_0x11f197=this['editor']['model'],_0x4859f7=_0x11f197['schema'],_0x9192e2=[_0x2f7069],_0x33dc59={},_0x25f3f2={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x37bd97=null;const _0xba2a8c=[0x0];for(let _0x5cf9e6=0x0;_0x5cf9e6<_0x36b97c['length'];_0x5cf9e6++){let _0x289136,_0x1370d0;if('elementStart'===_0x36b97c[_0x5cf9e6]['type']){_0x289136=_0x11f197['createPositionFromPath'](_0x2f7069,_0xba2a8c);const _0x59187e=new ft(_0x36b97c[_0x5cf9e6]['item']['name'],_0x36b97c[_0x5cf9e6]['item']['getAttributes']());_0x9192e2[0x0]['_appendChild'](_0x59187e),_0xba2a8c['push'](0x0),_0x9192e2['unshift'](_0x59187e),_0x1370d0=_0x11f197['createPositionFromPath'](_0x2f7069,_0xba2a8c),_0x37bd97=null;}else{if('elementEnd'===_0x36b97c[_0x5cf9e6]['type'])_0x9192e2['shift'](),_0x289136=_0x11f197['createPositionFromPath'](_0x2f7069,_0xba2a8c),_0xba2a8c['pop'](),_0xba2a8c[_0xba2a8c['length']-0x1]++,_0x1370d0=_0x11f197['createPositionFromPath'](_0x2f7069,_0xba2a8c),_0x37bd97=null;else{if(_0x289136=_0x11f197['createPositionFromPath'](_0x2f7069,_0xba2a8c),_0x37bd97&&_0xaa85ba(_0x37bd97,_0x36b97c[_0x5cf9e6]['item']))_0x37bd97['_data']+=_0x36b97c[_0x5cf9e6]['item']['data'];else{const _0x5b7606=new _t(_0x36b97c[_0x5cf9e6]['item']['data'],_0x36b97c[_0x5cf9e6]['item']['getAttributes']());_0x9192e2[0x0]['_appendChild'](_0x5b7606),_0x37bd97=_0x5b7606;}_0xba2a8c[_0xba2a8c['length']-0x1]+=_0x36b97c[_0x5cf9e6]['item']['offsetSize'],_0x1370d0=_0x11f197['createPositionFromPath'](_0x2f7069,_0xba2a8c);}}for(const _0x3d7093 of _0x36b97c[_0x5cf9e6]['markersStart'])_0x55e59b['set'](_0x3d7093,{'start':_0x289136,'end':null});_0x20b8db('isRemoveSuggestion',_0x5cf9e6,_0x289136,_0x1370d0),_0x20b8db('isAddSuggestion',_0x5cf9e6,_0x289136,_0x1370d0),_0x20b8db('isRemoved',_0x5cf9e6,_0x289136,_0x1370d0),_0x20b8db('isAdded',_0x5cf9e6,_0x289136,_0x1370d0);for(const _0x28b15 of _0x36b97c[_0x5cf9e6]['markersEnd']){_0x55e59b['get'](_0x28b15)['end']=_0x1370d0;}}for(const [_0x5a557c,_0x554c68]of _0x55e59b){const _0x7ecbd1=this['editor']['model']['createRange'](_0x554c68['start'],_0x554c68['end']);_0x2f7069['markers']['set'](_0x5a557c,_0x7ecbd1);}return _0x47e095['sort']((_0x31e227,_0x32e20b)=>{const _0x58ff46=_0x2f7069['markers']['get']('revision:'+_0x31e227['id']),_0x4b4b60=_0x2f7069['markers']['get']('revision:'+_0x32e20b['id']);return _0x58ff46['start']['isBefore'](_0x4b4b60['start'])?-0x1:_0x58ff46['start']['isAfter'](_0x4b4b60['start'])?0x1:_0x58ff46['end']['isBefore'](_0x4b4b60['end'])?-0x1:_0x58ff46['end']['isAfter'](_0x4b4b60['end'])?0x1:'add'===_0x31e227['type']?-0x1:0x1;}),{'root':_0x2f7069,'changes':_0x47e095};function _0x20b8db(_0x5f97b2,_0x458c7f,_0xe09209,_0x38a3fe){const _0x3ac17c=!!_0x36b97c[_0x458c7f][_0x5f97b2],_0x4c7f57=_0x3ac17c?_0x36b97c[_0x458c7f][_0x5f97b2]['userId']:null,_0x1ca19e=_0x458c7f===_0x36b97c['length']-0x1,_0x56b271=_0x25f3f2[_0x5f97b2][0x0],_0x3e1156=_0x4859f7['isObject'](_0x36b97c[_0x458c7f]['item']);!_0x33dc59[_0x5f97b2]&&_0x3ac17c?_0x33dc59[_0x5f97b2]={'start':_0xe09209,'tapeItem':_0x36b97c[_0x458c7f],'userId':_0x4c7f57,'type':_0x5f97b2}:_0x33dc59[_0x5f97b2]&&!_0x3ac17c?(_0x33dc59[_0x5f97b2]['end']=_0xe09209,_0x269fa4(_0x33dc59[_0x5f97b2]),_0x33dc59[_0x5f97b2]=null):_0x33dc59[_0x5f97b2]&&_0x3ac17c&&_0x33dc59[_0x5f97b2]['userId']!==_0x4c7f57&&(_0x33dc59[_0x5f97b2]['end']=_0xe09209,_0x56b271&&_0x56b271['userId']===_0x33dc59[_0x5f97b2]['userId']||_0x269fa4(_0x33dc59[_0x5f97b2]),_0x33dc59[_0x5f97b2]={'start':_0xe09209,'tapeItem':_0x36b97c[_0x458c7f],'userId':_0x4c7f57,'type':_0x5f97b2}),_0x33dc59[_0x5f97b2]&&_0x3e1156&&('elementStart'!==_0x36b97c[_0x458c7f]['type']||_0x56b271&&_0x56b271['userId']===_0x4c7f57||_0x25f3f2[_0x5f97b2]['unshift']({'userId':_0x4c7f57,'object':_0x36b97c[_0x458c7f]['item'],'change':_0x33dc59[_0x5f97b2]}),'elementEnd'===_0x36b97c[_0x458c7f]['type']&&_0x56b271&&_0x56b271['object']===_0x36b97c[_0x458c7f]['item']&&(_0x25f3f2[_0x5f97b2]['shift'](),_0x33dc59[_0x5f97b2]=_0x56b271['change'])),_0x33dc59[_0x5f97b2]&&_0x1ca19e&&(_0x33dc59[_0x5f97b2]['end']=_0x38a3fe,_0x269fa4(_0x33dc59[_0x5f97b2]),_0x33dc59[_0x5f97b2]=null);}function _0x269fa4({start:_0x3b1b92,end:_0xf93a56,tapeItem:_0x583e5b,userId:_0x4f8547,type:_0x2e6e88}){const _0x397a3a=_0x583e5b['item'],_0x406fd0=_0x11f197['schema']['isBlock'](_0x397a3a)&&!_0x11f197['schema']['isLimit'](_0x397a3a),_0x2106e2=_0x3b1b92['nodeAfter']==_0xf93a56['parent']&&_0xf93a56['isAtStart'];if(_0x406fd0&&_0x2106e2)return;const _0xf627e9=_0x11f197['createRange'](_0x3b1b92,_0xf93a56),_0x4721b9=_0x2829ce['get'](_0x4f8547),_0x1e7e27=new r({'author':_0x4721b9,'type':'isAdded'==_0x2e6e88||'isAddSuggestion'==_0x2e6e88?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2e6e88||'isRemoveSuggestion'==_0x2e6e88},'createdAt':new Date(),'rootName':_0x4eabc5});_0x47e095['push'](_0x1e7e27),_0x2f7069['markers']['set']('revision:'+_0x1e7e27['id'],_0xf627e9);}function _0xaa85ba(_0x3168f1,_0x3b9d64){const _0x51c96c=_0x3168f1['getAttributes'](),_0x45589f=_0x3b9d64['getAttributes']();for(const _0x2e2be0 of _0x51c96c){if(_0x2e2be0[0x1]!==_0x3b9d64['getAttribute'](_0x2e2be0[0x0]))return!0x1;_0x45589f['next']();}return _0x45589f['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x20d983=>{const _0x3ad737=_0x20d983['markerName']['split'](':')[0x1],_0x494461=this['_getChangeFromId'](_0x3ad737);if(!_0x494461)return null;const _0x4c2488='add'==_0x494461['type']?'insertion':'deletion',_0x1b88e2=['ck-suggestion-marker','ck-suggestion-marker-'+_0x4c2488];return _0x494461['data']['isSuggestion']&&_0x1b88e2['push']('ck-suggestion-marker-'+_0x4c2488+'-new'),this['activeChange']==_0x494461&&_0x1b88e2['push']('ck-suggestion-marker--active'),{'classes':_0x1b88e2,'attributes':{'data-change-id':_0x3ad737}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x48241c=>{_0x48241c['on']('element:pre',(_0x5a8ddb,_0x5a23db,_0x671b0b)=>{const _0x13821d=_0x5a23db['viewItem']['getChild'](0x0);if(!_0x13821d||!_0x13821d['is']('element','code'))return;if(!_0x671b0b['consumable']['consume'](_0x13821d,{'attributes':['vid_start','vid_end']}))return;const _0x1f44d0=_0x5a23db['modelRange']['start']['nodeAfter'];_0x671b0b['writer']['setAttribute']('vid_start',_0x13821d['getAttribute']('vid_start'),_0x1f44d0),_0x671b0b['writer']['setAttribute']('vid_end',_0x13821d['getAttribute']('vid_end'),_0x1f44d0);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xca5b4d=>{_0xca5b4d['on']('element',(_0x3a4f92,_0x351eb9,_0x50f27a)=>{if(!_0x50f27a['consumable']['consume'](_0x351eb9['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x351eb9['modelRange']['isCollapsed'])return;const _0x4bf150=_0x351eb9['modelRange']['start']['nodeAfter'];_0x4bf150['hasAttribute']('vid_start')||_0x4bf150['hasAttribute']('vid')||(_0x50f27a['writer']['setAttribute']('vid_start',_0x351eb9['viewItem']['getAttribute']('vid_start'),_0x4bf150),_0x50f27a['writer']['setAttribute']('vid_end',_0x351eb9['viewItem']['getAttribute']('vid_end'),_0x4bf150));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4b06d1=>_0x4b06d1['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x205fb3,[,_0x5cb0b7])=>{['vid_start','vid_end','vid']['includes'](_0x5cb0b7)&&(_0x205fb3['return']=!0x0,_0x205fb3['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x27b97d=>{_0x27b97d['on']('attribute:vid',(_0x379371,_0x1489e6,_0x52856a)=>{if('\x20'!=_0x1489e6['item']['data']||_0x1489e6['item']['parent']['maxOffset']>0x1)return;if(!_0x52856a['consumable']['consume'](_0x1489e6['item'],_0x379371['name']))return;const _0x5a9d09=_0x52856a['writer'],_0x453bbf=_0x52856a['mapper']['toViewRange'](_0x1489e6['range']);_0x5a9d09['wrap'](_0x453bbf,_0x5a9d09['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x227db2){const _0x40e365=_0x227db2['plugins']['get']('RevisionViewer');return(_0x5553e3,_0x2b0770,_0x47225c)=>{const _0x577210=_0x2b0770['markerName']['split'](':')[0x1],_0xe5cdc8=_0x40e365['_getChangeFromId'](_0x577210);if(!_0xe5cdc8)return null;const _0x261c32='add'==_0xe5cdc8['type']?'split':'merge';if(!_0x47225c['consumable']['test'](_0x2b0770['markerRange'],_0x5553e3['name']))return;const _0x4cdc6f=_0x2b0770['markerRange']['getWalker'](),_0x9a8dd9=_0x2b0770['markerRange']['start'],_0x3c6b5e=_0x227db2['model']['schema'];let _0x580acc=null,_0x21f10f=null,_0x651767=!0x1,_0x26487c=!0x1;for(const _0x12d073 of _0x4cdc6f){const _0x32dc09=_0x12d073['item'];_0x651767=_0x651767||_0x3c6b5e['isContent'](_0x32dc09);const _0x1ca2b5=_0x47225c['mapper']['toViewElement'](_0x32dc09);if(_0x1ca2b5&&_0x1ca2b5['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x12d073['type']&&(_0x3c6b5e['isBlock'](_0x32dc09)&&!_0x3c6b5e['isLimit'](_0x32dc09)&&(_0x32dc09['nextSibling']||_0x9a8dd9['isAtEnd']?_0x580acc&&_0x580acc['parent']==_0x32dc09||(_0x580acc=_0x32dc09,_0x569976(_0x12d073['previousPosition']),_0x26487c=!0x0):_0x21f10f=_0x21f10f||_0x12d073['previousPosition']));}function _0x569976(_0x11c90b){const _0x4b94b9=_0x47225c['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x261c32}),_0x3f56ae=_0x47225c['mapper']['toViewPosition'](_0x11c90b);_0xe5cdc8['data']['isSuggestion']&&_0x47225c['writer']['addClass']('ck-suggestion-marker-'+_0x261c32+'-new',_0x4b94b9),_0x40e365['activeChange']==_0xe5cdc8&&_0x47225c['writer']['addClass']('ck-suggestion-marker--active',_0x4b94b9),_0x47225c['writer']['insert'](_0x3f56ae,_0x4b94b9),_0x47225c['mapper']['bindElementToMarker'](_0x4b94b9,_0x2b0770['markerName']);}_0x651767||_0x26487c||!_0x21f10f||_0x569976(_0x21f10f);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5651ae,_0x16b7c2,_0x4f3312)=>{const _0x16c57b=_0x4f3312['mapper']['markerNameToElements'](_0x16b7c2['markerName']);if(_0x16c57b){for(const _0xdb3c11 of _0x16c57b)(_0xdb3c11['hasClass']('ck-suggestion-marker-split')||_0xdb3c11['hasClass']('ck-suggestion-marker-merge'))&&(_0x4f3312['mapper']['unbindElementFromMarkerName'](_0xdb3c11,_0x16b7c2['markerName']),_0x4f3312['writer']['remove'](_0xdb3c11));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x359187,_0x19dbc3,_0x5e7c0a)=>{const _0x15f056=_0x19dbc3['markerName']['split'](':')[0x1],_0x2abcc2=this['_getChangeFromId'](_0x15f056);if(!_0x2abcc2)return null;const _0x264975='add'==_0x2abcc2['type']?'split':'merge';if(_0x5e7c0a['consumable']['test'](_0x19dbc3['markerRange'],_0x359187['name']))for(const _0x42e22e of _0x19dbc3['markerRange']['getItems']()){if(!_0x42e22e['is']('element','softBreak'))continue;const _0x415a5b=_0x5e7c0a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x264975}),_0x1614ce=_0x5e7c0a['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x42e22e));_0x2abcc2['data']['isSuggestion']&&_0x5e7c0a['writer']['addClass']('ck-suggestion-marker-'+_0x264975+'-new',_0x415a5b),this['activeChange']==_0x2abcc2&&_0x5e7c0a['writer']['addClass']('ck-suggestion-marker--active',_0x415a5b),_0x5e7c0a['writer']['insert'](_0x1614ce,_0x415a5b),_0x5e7c0a['mapper']['bindElementToMarker'](_0x415a5b,_0x19dbc3['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x11d1e7=>{for(const _0x5c7c8e of this['editor']['model']['document']['getRootNames']()){const _0x426454=this['editor']['model']['document']['getRoot'](_0x5c7c8e),_0x408e91=this['editor']['editing']['view']['document']['getRoot'](_0x5c7c8e);if(_0x408e91){const _0x4d75b=_0x426454['getAttribute']('revisionHistoryAttachChange');if(_0x11d1e7['removeAttribute']('data-change-id',_0x408e91),_0x11d1e7['removeClass']('ck-revision-history-root-add',_0x408e91),_0x11d1e7['removeClass']('ck-revision-history-root-remove',_0x408e91),_0x11d1e7['removeClass']('ck-revision-history-root--active',_0x408e91),_0x4d75b){const _0x1af232=this['_getChangeFromId'](_0x4d75b);if(!_0x1af232)return null;_0x11d1e7['setAttribute']('data-change-id',_0x4d75b,_0x408e91),_0x11d1e7['addClass']('ck-revision-history-root-'+_0x1af232['type'],_0x408e91),this['activeChange']==_0x1af232&&_0x11d1e7['addClass']('ck-revision-history-root--active',_0x408e91);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5d760f=>'revision-comment:'+_0x5d760f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x3dc120=>'revision-suggestion:'+_0x3dc120,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x53e02f=>({'name':'suggestion:'+_0x53e02f,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x53d783=>{const _0x85666b=_0x53d783['markerName']['split'](':')[0x1];return'insertion'!=_0x85666b&&'deletion'!=_0x85666b?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x85666b]};}}),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',(_0x1d639a,_0x1f0720,_0x5abfb1)=>{const _0x31fd02=_0x5abfb1['mapper']['markerNameToElements'](_0x1f0720['markerName']);if(_0x31fd02){for(const _0x56d1cc of _0x31fd02)_0x56d1cc['is']('uiElement')&&(_0x5abfb1['mapper']['unbindElementFromMarkerName'](_0x56d1cc,_0x1f0720['markerName']),_0x5abfb1['writer']['remove'](_0x56d1cc));}},{'priority':'high'});}['_getChangeFromId'](_0x5ca1f8){return this['_changeIdToChange']['get'](_0x5ca1f8);}['_getViewForChange'](_0x2055ea){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x2055ea),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x548aca,_0x11fdde,_0x388844,_0x4bb0ee)=>{_0x4bb0ee&&this['_balloon']['remove'](_0x4bb0ee),_0x388844&&(this['_balloon']['add']({'view':_0x388844,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x65c3a=this['editor']['editing'],_0x4f2dad=this['_getChangeFromId'](_0x388844['changeId']);let _0x1a43e6;if(_0x4f2dad['data']['isOnRoot']){const _0x1538d1=_0x65c3a['view']['getDomRoot'](_0x4f2dad['rootName']);_0x1a43e6=Array['from'](_0x1538d1['getClientRects']());}else{const _0x256723=this['editor']['model']['markers']['get']('revision:'+_0x388844['changeId']);_0x1a43e6=Array['from'](_0x65c3a['mapper']['markerNameToElements'](_0x256723['name']))['map'](_0x201c9d=>_0x65c3a['view']['domConverter']['mapViewToDom'](_0x201c9d))['map'](_0x259137=>Array['from'](_0x259137['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x1a43e6[0x0];return _0x1a43e6['find'](_0x27cfa4=>_0x27cfa4['top']-0x3<=this['_activeViewTarget']['y']&&_0x27cfa4['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x27cfa4['left']-0x3<=this['_activeViewTarget']['x']&&_0x27cfa4['right']+0x3>=this['_activeViewTarget']['x'])||_0x1a43e6[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2da7b4,_0x2b1e29,_0x23e2cf,_0x142a69)=>{this['activeView']=_0x23e2cf?this['_getViewForChange'](_0x23e2cf):null,this['editor']['model']['change'](()=>{const _0x515af7=this['editor']['editing'];_0x142a69&&(_0x142a69['data']['isOnRoot']?_0x515af7['view']['change'](_0x319ac5=>{_0x319ac5['removeClass']('ck-revision-history-root--active',_0x515af7['view']['document']['getRoot'](_0x142a69['rootName']));}):_0x515af7['reconvertMarker']('revision:'+_0x142a69['id'])),_0x23e2cf&&(_0x23e2cf['data']['isOnRoot']?_0x515af7['view']['change'](_0x1a7df3=>{_0x1a7df3['addClass']('ck-revision-history-root--active',_0x515af7['view']['document']['getRoot'](_0x23e2cf['rootName']));}):_0x515af7['reconvertMarker']('revision:'+_0x23e2cf['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x19e3e5,_0x553f0b)=>{if(this['activeChange'])return;const _0x279901=this['_findChangeIdFromDomTarget'](_0x553f0b['target']),_0x5876ff=this['_changeIdToChange']['get'](_0x279901);_0x5876ff?(this['_activeViewTarget']={'x':_0x553f0b['domEvent']['x'],'y':_0x553f0b['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5876ff)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x5377c0,_0x1e0b7e)=>{const _0x201756=this['_findChangeIdFromDomTarget'](_0x1e0b7e['target']),_0x1e0c59=this['_changeIdToChange']['get'](_0x201756);_0x1e0c59?(this['_activeViewTarget']={'x':_0x1e0b7e['domEvent']['x'],'y':_0x1e0b7e['domEvent']['y']},_0x1e0c59===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x1e0c59):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x3cdc05){do{const _0x292c9b=_0x3cdc05['getAttribute']('data-change-id');if(_0x292c9b)return _0x292c9b;_0x3cdc05=_0x3cdc05['parent'];}while(_0x3cdc05);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x327c95=>{for(const _0x2ed2f4 of this['editor']['model']['markers'])_0x327c95['removeMarker'](_0x2ed2f4);});}}function et(_0x115236,_0x5db4f8){return(_0xc73a71,_0x564afc,_0x4b0496)=>{if(!_0x4b0496['consumable']['test'](_0x564afc['markerRange'],_0xc73a71['name']))return;const _0x4d6012=_0x564afc['markerRange']['getWalker'](),_0x229d2a=_0x564afc['markerRange']['start'],_0x14a4e5=_0x115236['model']['schema'];let _0x3ccd25=null,_0x31743d=null,_0x1f0e2f=!0x1,_0x1dd3ee=!0x1;for(const _0x16006e of _0x4d6012){const _0x5c1ba8=_0x16006e['item'];_0x1f0e2f=_0x1f0e2f||_0x14a4e5['isContent'](_0x5c1ba8);const _0x5baa16=_0x4b0496['mapper']['toViewElement'](_0x5c1ba8);if(_0x5baa16&&_0x5baa16['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x16006e['type']&&(_0x14a4e5['isBlock'](_0x5c1ba8)&&!_0x14a4e5['isLimit'](_0x5c1ba8)&&(_0x5c1ba8['nextSibling']||_0x229d2a['isAtEnd']?_0x3ccd25&&_0x3ccd25['parent']==_0x5c1ba8||(_0x3ccd25=_0x5c1ba8,_0x53260b(_0x16006e['previousPosition']),_0x1dd3ee=!0x0):_0x31743d=_0x31743d||_0x16006e['previousPosition']));}function _0x53260b(_0x21497a){const _0x551630=_0x4b0496['mapper']['toViewPosition'](_0x21497a),_0x5aa031=_0x4b0496['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x5db4f8});_0x4b0496['writer']['insert'](_0x551630,_0x5aa031),_0x4b0496['mapper']['bindElementToMarker'](_0x5aa031,_0x564afc['markerName']);}_0x1f0e2f||_0x1dd3ee||!_0x31743d||_0x53260b(_0x31743d);};}class bt extends _0x2c5209{constructor(_0x1fbde6){super(_0x1fbde6);const _0x1d43e3=_0x1fbde6['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x1d43e3,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1d43e3,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x503a7e=this['editor'],_0x1d72f8=_0x503a7e['plugins']['get'](d),_0x4862fe=_0x1d72f8['isReady']?_0x1d72f8['diff']['newRevisionId']:null;_0x503a7e['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x4862fe);}['refresh'](){const {isReady:_0x5b7c80,isEnabled:_0x202ae3}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5b7c80&&_0x202ae3;}}class yt extends _0x2c5209{['_step'];constructor(_0x2ccf83,{direction:_0x448d8b}){super(_0x2ccf83);const _0x57c762=_0x2ccf83['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x448d8b?0x1:-0x1,this['listenTo'](_0x57c762,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x57c762,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x57c762,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x40c8c7=this['editor'],_0x5b312a=_0x40c8c7['plugins']['get'](d),{isNavigationMode:_0x39dcc8,currentChangeNumber:_0x39fcdc}=_0x5b312a;let _0x2fa6b9;if(_0x5b312a['activeChange']=_0x39dcc8?_0x5b312a['diff']['changes']['get'](_0x39fcdc+this['_step']):_0x5b312a['diff']['changes']['first'],_0x5b312a['activeChange']['data']['isOnRoot'])_0x2fa6b9=_0x40c8c7['editing']['view']['getDomRoot'](_0x5b312a['activeChange']['rootName']);else{const _0x144da1=_0x40c8c7['model']['markers']['get']('revision:'+_0x5b312a['activeChange']['id']);_0x2fa6b9=_0x1b9b73(_0x40c8c7['editing'],_0x144da1);}_0x162bf6({'target':_0x2fa6b9,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x1710ee,currentChangeNumber:_0x52e773,numberOfChanges:_0x5c8916,isReady:_0xf9942a,isEnabled:_0x143e09}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x143e09&&_0xf9942a&&_0x5c8916)&&(!_0x1710ee||(0x1===this['_step']?_0x52e773<_0x5c8916-0x1:_0x52e773>0x0));}}class _i extends _0x7a2f55{constructor(_0x29b9ec){super(_0x29b9ec);const _0x329b40=this['bindTemplate'],_0x5e6ade=new _0x4eec00(_0x29b9ec),_0x146768=new _0x4eec00(_0x29b9ec);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',(_0x4a98eb,_0x4cdaf4)=>_0x4a98eb&&_0x4cdaf4>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x535a52,_0x197f46,_0x14917e,_0x2ead33)=>{if(!_0x535a52)return y(_0x29b9ec,'Loading...');if(!_0x14917e)return y(_0x29b9ec,'No\x20changes');const _0x1a95b7=y(_0x29b9ec,'NUMBER_OF_CHANGES',_0x14917e);return _0x2ead33?y(_0x29b9ec,'X_OF_Y_CHANGES',[_0x197f46+0x1,_0x14917e]):_0x1a95b7;}),_0x5e6ade['set']({'label':y(_0x29b9ec,'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'}),_0x146768['set']({'label':y(_0x29b9ec,'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'}),_0x5e6ade['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x146768['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5e6ade['on']('execute',()=>this['fire']('execute','backward')),_0x146768['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',_0x329b40['if']('_isStatusLabelVisible','ck-hidden',_0x506d17=>!_0x506d17)]},'children':[{'text':_0x329b40['to']('isNavigationMode',_0x18c82d=>_0x18c82d?y(_0x29b9ec,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x29b9ec,'Total')+':\x20')}]},{'text':_0x329b40['to']('_statusText')}]},new _0x4413a1(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5e6ade,_0x146768]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x412bee{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x8f1c15=this['editor']['editing']['view'];_0x8f1c15['change'](_0x382e8d=>{for(const _0x1240f2 of _0x8f1c15['document']['roots'])_0x382e8d['addClass'](ce,_0x1240f2);});}['hide'](){const _0x4275f7=this['editor']['editing']['view'];_0x4275f7['change'](_0x461637=>{for(const _0x25ccef of _0x4275f7['document']['roots'])_0x461637['removeClass'](ce,_0x25ccef);});}}class R extends _0x412bee{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0xe641f5=this['editor'],_0x5f047c=_0xe641f5['plugins']['get'](d),_0x334c44=_0xe641f5['plugins']['get'](de);_0xe641f5['ui']['componentFactory']['add']('exitToEditing',_0x57a483=>{const _0x7c66d=new _0x4eec00(_0x57a483);return _0x7c66d['set']({'label':y(_0x57a483,'Back\x20to\x20editing'),'icon':_0x2a3798['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x7c66d,'execute',()=>{_0xe641f5['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x7c66d;}),_0xe641f5['ui']['componentFactory']['add']('restoreRevision',_0x2af7de=>{const _0x3c5128=new _0x4eec00(_0x2af7de);return _0x3c5128['set']({'label':y(_0x2af7de,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3c5128['bind']('isEnabled')['to'](_0xe641f5['commands']['get']('restoreRevision')),this['listenTo'](_0x3c5128,'execute',()=>_0xe641f5['execute']('restoreRevision')),_0x3c5128;}),_0xe641f5['ui']['componentFactory']['add']('changesNavigation',_0x2fa30f=>{const _0x2e1d40=new _i(_0x2fa30f),_0x5340a4=_0xe641f5['commands']['get']('showPreviousChange'),_0xfc8064=_0xe641f5['commands']['get']('showNextChange');return _0x2e1d40['bind']('isBackwardNavigationEnabled')['to'](_0x5340a4,'isEnabled'),_0x2e1d40['bind']('isForwardNavigationEnabled')['to'](_0xfc8064,'isEnabled'),_0x2e1d40['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5f047c),this['listenTo'](_0x2e1d40,'execute',(_0x27f33a,_0x8e7189)=>{_0xe641f5['execute']('forward'===_0x8e7189?'showNextChange':'showPreviousChange');}),_0x2e1d40;}),_0x334c44['show'](),_0x5f047c['on']('change:isReady',(_0x2a7014,_0x4d27a5,_0x28729b)=>{_0x28729b?_0x334c44['hide']():_0x334c44['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x10fa81,_0x921a74){super(_0x10fa81,_0x921a74);const _0x592255=this['bindTemplate'];this['set']({'label':y(_0x10fa81,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x10fa81,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x592255['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 _0x2968da=this['fieldView']['element'];this['_tooltipString']=_0x2968da['scrollWidth']>_0x2968da['clientWidth']&&_0x2968da['value']||'';}}class ti extends _0x7a2f55{constructor(_0x51acaf,_0x3bef03,_0x235a9a){super(_0x51acaf);const _0xaf7ddb=new _0x1e155d();_0xaf7ddb['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 _0x5d83d8=['ck','ck-revision-history-sidebar__revision-author'];_0x235a9a&&_0x5d83d8['push']('ck-revision-history-sidebar__revision-author_creator');const _0x56ea63=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x51acaf,_0x235a9a?'Revision\x20creator':'Revision\x20author')},'children':[_0xaf7ddb,_0x3bef03['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x5d83d8},'children':_0x56ea63});}}function ni(_0x4a78d0,_0x4457a9){const _0x1a6fe6=_0x4a78d0['bindTemplate'],_0x5519b2=_0x4a78d0['locale'],_0x48577a=_0x6a32b0(_0x5519b2);_0x48577a['panelPosition']='sw';const _0x55d3d0=function(_0x22df42,_0x1afbd3){const _0x3713a2=function(_0x4e50bc,_0x346789){const _0x50e594=_0x4e50bc['locale'],_0x2380ea={'Compare\x20against\x20selected':y(_0x50e594,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x50e594,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x50e594,'Restore\x20this\x20revision')};return _0x346789['map'](_0x4b292d=>{const _0xf433c=_0x2380ea[_0x4b292d['name']];return _0xf433c&&_0xf433c!==_0x4b292d['name']&&(_0x4b292d['name']=_0xf433c),_0x4b292d;});}(_0x22df42,_0x1afbd3),_0xc700b=new _0x285857();for(const _0x41f44c of _0x3713a2){const _0x27c210={'type':'button','model':new to({'label':_0x41f44c['name'],'class':_0x41f44c['class'],'withText':!0x0,'role':'menuitem','_action':_0x41f44c['action']})};_0x27c210['model']['bind']('isEnabled')['to'](_0x22df42,'isActionsDropdownOpen',_0x1611fb=>'function'!=typeof _0x41f44c['isEnabled']||(!_0x1611fb||_0x41f44c['isEnabled'](_0x22df42))),_0xc700b['add'](_0x27c210);}return _0xc700b;}(_0x4a78d0,_0x4457a9);return _0x4a78d0['bind']('isActionsDropdownOpen')['to'](_0x48577a,'isOpen'),_0x48577a['buttonView']['set']({'label':y(_0x5519b2,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x2a3798['threeVerticalDots']}),_0x48577a['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1a6fe6['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1a6fe6['to'](_0x37f9cd=>_0x37f9cd['stopPropagation']())}}),_0x48577a['on']('execute',_0x15b662=>{_0x4a78d0['isReady']&&'function'==typeof _0x15b662['source']['_action']&&_0x15b662['source']['_action'](_0x4a78d0);}),_0x1edd52(_0x48577a,_0x55d3d0,{'role':'menu'}),_0x48577a['listenTo'](_0x4a78d0,'change:isActionsDropdownOpen',(_0x536e8b,_0x2673d7,_0x58f8f4)=>{if(_0x58f8f4)for(const _0x29e542 of _0x48577a['listView']['items']){const _0x14aedd=_0x29e542['children']['first'],_0x32c8da=_0x4457a9['find'](_0x581fc2=>_0x581fc2['action']===_0x14aedd['_action'])['isVisible'];_0x29e542['isVisible']=void 0x0===_0x32c8da||_0x32c8da(_0x4a78d0);}}),_0x48577a;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x3686d1(_0x7a2f55){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0xb1f6ac,_0x1ea29f,_0x6c8d41,_0xb7bda9){super(_0xb1f6ac);const _0x221732=this['bindTemplate'],_0x2ae0ff=function(_0x4c03d5,_0x15c84a){const _0x75eed3=Array['from'](_0x15c84a['authors'])['filter'](_0x2b8992=>_0x2b8992!=_0x15c84a['creator']);return _0x15c84a['creator']&&_0x75eed3['unshift'](_0x15c84a['creator']),_0x75eed3['map'](_0x3f3e2e=>new ti(_0x4c03d5,_0x3f3e2e,_0x3f3e2e==_0x15c84a['creator']));}(_0xb1f6ac,_0x1ea29f);this['id']=_0x1ea29f['id'],this['_revision']=_0x1ea29f,this['_requireRevisionName']=_0xb7bda9,this['bind']('name','createdAt')['to'](_0x1ea29f),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xc8dd43=>{return _0x45235d=_0xb1f6ac['uiLanguage'],(_0x3bc96e=_0xc8dd43)['toLocaleDateString'](_0x45235d,{'month':'long','day':'numeric'})+',\x20'+_0x3bc96e['toLocaleTimeString'](_0x45235d,{'hour':'numeric','minute':'numeric'});var _0x45235d,_0x3bc96e;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0xb1f6ac,_0x4b6b52),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x5b5aa7=>_0x5b5aa7||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x5dfbd4,_0x47edb9)=>_0x5dfbd4&&_0x47edb9),this['revisionActionsView']=_0x6c8d41&&_0x6c8d41['length']?ni(this,_0x6c8d41):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x221732['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x221732['if']('isEnabled','ck-disabled',_0x8390a=>!_0x8390a),_0x221732['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x221732['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x221732['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':_0x221732['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':_0x2ae0ff}]},this['revisionActionsView']],'on':{'click':_0x221732['to'](_0x5a414a=>{_0x5a414a['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0xeea993=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0xeea993,'change',()=>{this['_requireRevisionName']&&!_0xeea993['value']||this['fire']('setName',{'id':this['id'],'name':_0xeea993['value']}),_0xeea993['value']||(_0xeea993['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(_0x39c195,_0x377541){const _0x3d9ff7=_0x5a6abd['fromJSDate'](_0x39c195)['setLocale'](_0x377541),_0x54e870=_0x5a6abd['local'](),_0x338564=_0x54e870['minus']({'days':0x1})['startOf']('day');let _0x15d024,_0x5476d7;return _0x3d9ff7['hasSame'](_0x54e870,'day')?(_0x15d024=_0x3d9ff7['startOf']('day')['toJSDate'](),_0x5476d7=_0x3d9ff7['toRelativeCalendar']()):_0x3d9ff7['hasSame'](_0x338564,'day')?(_0x15d024=_0x338564['toJSDate'](),_0x5476d7=_0x3d9ff7['toRelativeCalendar']()):_0x3d9ff7['hasSame'](_0x54e870,'week')?(_0x15d024=_0x3d9ff7['startOf']('week')['toJSDate'](),_0x5476d7=_0x3d9ff7['weekdayLong']||''):_0x3d9ff7['hasSame'](_0x54e870,'year')?(_0x15d024=_0x3d9ff7['startOf']('month')['toJSDate'](),_0x5476d7=_0x3d9ff7['monthLong']||''):(_0x15d024=_0x3d9ff7['startOf']('year')['toJSDate'](),_0x5476d7=String(_0x3d9ff7['year'])),{'startDate':_0x15d024,'localizedPeriodName':_0x5476d7};}class mi extends _0x7a2f55{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x57a4f2,_0x55dbdd,_0x4afaaa,_0x116156){super(_0x57a4f2);const _0x24f528=di(_0x55dbdd,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x55dbdd,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4afaaa,this['_requireRevisionName']=_0x116156,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':_0x24f528}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x1844e5){const _0x1bd780=new ai(this['locale'],_0x1844e5,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x1bd780);}['removeRevision'](_0x102c4f){const _0x49a4ff=this['revisionViews']['find'](_0x56ef53=>_0x56ef53['id']===_0x102c4f['id']);this['revisionViews']['remove'](_0x49a4ff);}}class as extends _0x7a2f55{constructor(_0x1eb6eb){super(_0x1eb6eb);const _0x26426b=new _0x1e155d();_0x26426b['content']=_0x2a3798['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x26426b,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x1eb6eb,'Revision\x20history')]}]});}}class ci extends _0x7a2f55{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x2015c3,_0x3e4cba,_0x8c092a,_0x966920){super(_0x2015c3);const _0x31f693=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x3e4cba,this['_revisionActions']=_0x8c092a,this['_requireRevisionName']=_0x966920,this['on']('select',(_0x441d66,_0x12415a)=>{this['fire']('revisionSelected',_0x12415a);}),this['on']('setName',(_0x3abb5e,_0x539d81)=>{this['fire']('revisionSetName',_0x539d81);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x2015c3),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x31f693['if']('isEnabled','ck-disabled',_0x160c7c=>!_0x160c7c)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x2929f0 of this['_revisions'])this['_addRevision'](_0x2929f0);this['_revisions']['on']('add',(_0x4f9c47,_0x588a0c)=>{this['_addRevision'](_0x588a0c);}),this['_revisions']['on']('remove',(_0x3a67af,_0x1b6ba0)=>{this['_removeRevision'](_0x1b6ba0);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x37fdb9=>_0x37fdb9['revisionViews']['map'](_0x10f78a=>_0x10f78a))['flat']();}['selectRevision'](_0x4f4976){for(const _0x4ebd86 of this['revisionViews'])_0x4f4976&&_0x4f4976['id']===_0x4ebd86['id']?_0x4ebd86['select']():_0x4ebd86['deselect']();}['highlightRevisions'](_0x30dc5c){for(const _0x44892b of this['revisionViews'])_0x30dc5c['some'](({id:_0x540989})=>_0x540989===_0x44892b['id'])?_0x44892b['highlight']():_0x44892b['unhighlight']();}['_addRevision'](_0x4f8381){const _0x3cb8a5=di(_0x4f8381['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x4d2438=this['timePeriodViews']['get'](0x0);_0x4d2438&&_0x4d2438['startDate']['getTime']()===_0x3cb8a5['getTime']()||(_0x4d2438=new mi(this['locale'],_0x3cb8a5,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x4d2438)),_0x4d2438['addRevision'](_0x4f8381);}['_removeRevision'](_0x41aaec){const _0xdebe28=di(_0x41aaec['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0xdebe28)['removeRevision'](_0x41aaec);}['_getTimePeriodViewByStartDate'](_0x8b413){return this['timePeriodViews']['find'](_0x3437b0=>_0x3437b0['startDate']['getTime']()===_0x8b413['getTime']());}}class w extends _0x412bee{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x57a85d,Context as _0x1ec2b7,PendingActions as _0x3345c8,icons as _0x41e769,Command as _0x38eed4,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x204fd2,uid as _0x116f6a,Collection as _0xa8238a,logWarning as _0x2eda73,FocusTracker as _0x2abd71,KeystrokeHandler as _0x193dad,scrollViewportToShowTarget as _0x286b96,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x4c3b14}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x2acf04,getMarkerDomElement as _0x2c123b,ConfirmMixin as _0x282029,sanitizeEditorConfig as _0x460750}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2d7c1c,ViewText as _0x455aa6,ViewElement as _0x12c0c8,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x42bf80,ViewAttributeElement as _0xebe170,ViewEmptyElement as _0x598347,ViewRawElement as _0x1b6226,ViewUIElement as _0x2e64ea,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x536182,set as _0x4408af,unset as _0x487d17,isEqual as _0xdfd3d5}from'lodash-es';import{View as _0x49e48e,injectCssTransitionDisabler as ts,submitHandler as _0x313d92,LabeledFieldView as at,createLabeledInputText as _0x35fbb1,createDropdown as _0x5d272b,ListView as te,ListItemView as _0x1ba8dd,ButtonView as _0x21acdf,MenuBarMenuView as _0xde1e4b,MenuBarMenuListView as _0x5dae77,MenuBarMenuListItemView as _0x35fd48,MenuBarMenuListItemButtonView as _0x207c61,ContextualBalloon as _0x58f6a3,ToolbarSeparatorView as _0x32e784,IconView as _0x2c2848,addListToDropdown as _0x594bed,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 _0x411a2a}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x204fd2(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x58ed03){super(),this['id']=_0x58ed03['id']||_0x116f6a(),this['creator']=_0x58ed03['creator']||null,this['authors']=_0x58ed03['authors']||[],this['diffData']=_0x58ed03['diffData']||null,this['toVersion']=_0x58ed03['toVersion']||0x0,this['fromVersion']=_0x58ed03['fromVersion']||0x0,this['set']('name',_0x58ed03['name']||''),this['set']('createdAt',_0x58ed03['createdAt']||new Date()),this['set']('attributes',_0x58ed03['attributes']||{});}['setName'](_0x3eb90a){this['_update']({'name':_0x3eb90a});}['setAttribute'](_0x1b0532,_0x1255c1){const _0x3529b5=_0x536182(this['attributes']);_0x4408af(_0x3529b5,_0x1b0532,_0x1255c1),this['_update']({'attributes':_0x3529b5});}['removeAttribute'](_0x587a6f){const _0x4f0ee2=_0x536182(this['attributes']);_0x487d17(_0x4f0ee2,_0x587a6f),this['_update']({'attributes':_0x4f0ee2});}['_update'](_0x41e5d6,_0x237075=!0x1){let _0x4db1e6=!0x1;const _0x5296ac={'id':this['id']},_0x74f370=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0xed2bdb of _0x74f370){const _0x3bb19=_0x41e5d6[_0xed2bdb];void 0x0!==_0x3bb19&&_0x3bb19!==this[_0xed2bdb]&&(this[_0xed2bdb]=_0x3bb19,_0x5296ac[_0xed2bdb]=_0x3bb19,_0x4db1e6=!0x0);}_0x4db1e6&&(_0x5296ac['authors']&&(_0x5296ac['authorsIds']=_0x5296ac['authors']['map'](_0x2fcc3e=>_0x2fcc3e['id']),delete _0x5296ac['authors']),this['fire']('_update',_0x5296ac,_0x237075));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x5098eb=>_0x5098eb['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x57a85d{['_revisions'];static get['requires'](){return[_0x2acf04];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x126bc2){super(_0x126bc2),this['_revisions']=new _0xa8238a();}['afterInit'](){!function(_0x585d45){function _0x4a79d3(_0x1cfa27,_0x4bc947,_0x32a8c4){const _0x303d55={};_0x303d55[_0x2037bf([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x303d55[_0x2037bf([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],_0x303d55[_0x2037bf([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],_0x303d55[_0x2037bf([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],_0x303d55[_0x2037bf([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],_0x303d55[_0x2037bf([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],_0x303d55[_0x2037bf([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],_0x303d55[_0x2037bf([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],_0x303d55[_0x2037bf([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],_0x303d55[_0x2037bf([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],_0x303d55[_0x2037bf([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 _0x2966d5=new Uint8Array(0x10);for(let _0xf61437=0xf;_0xf61437>=0x0;--_0xf61437)_0x2966d5[_0xf61437]=_0x32a8c4%0x100,_0x32a8c4=parseInt(_0x32a8c4/0x100);let _0x486658=null,_0x58514b=0x10;const _0x4f9107=new Uint8Array(_0x4bc947),_0x5330bf=[],_0x1157e6=[];_0x2498f5();for(let _0x3a2765=0x0;_0x3a2765<_0x1cfa27[_0x2037bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a2765++)0x10===_0x58514b&&(_0x486658=_0x15ea27(_0x2966d5),_0x58514b=0x0,_0x510b47(_0x2966d5)),_0x1cfa27[_0x3a2765]^=_0x486658[_0x58514b++];return _0x1cfa27;function _0x33e6a9(_0x1a00cf){const _0x5bfdba=[];for(let _0x24b29a=0x0;_0x24b29a<_0x1a00cf[_0x2037bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x24b29a+=0x4)_0x5bfdba[_0x2037bf([0x70,0x75,0x73,0x68])](_0x1a00cf[_0x24b29a]<<0x18|_0x1a00cf[_0x24b29a+0x1]<<0x10|_0x1a00cf[_0x24b29a+0x2]<<0x8|_0x1a00cf[_0x24b29a+0x3]);return _0x5bfdba;}function _0x510b47(_0x3134b9){for(let _0x361e00=0xf;_0x361e00>=0x0;_0x361e00--){if(0xff!==_0x3134b9[_0x361e00]){_0x3134b9[_0x361e00]++;break;}_0x3134b9[_0x361e00]=0x0;}}function _0x15ea27(_0x38eae7){const _0xbd5504=_0x5330bf[_0x2037bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2278a1=[0x0,0x0,0x0,0x0];let t=_0x33e6a9(_0x38eae7);for(let _0x2c02d5=0x0;_0x2c02d5<0x4;_0x2c02d5++)t[_0x2c02d5]^=_0x5330bf[0x0][_0x2c02d5];for(let _0x15b99d=0x1;_0x15b99d<_0xbd5504;_0x15b99d++){for(let _0x2171e4=0x0;_0x2171e4<0x4;_0x2171e4++)_0x2278a1[_0x2171e4]=_0x303d55[_0x2037bf([0x54,0x31])][t[_0x2171e4]>>0x18&0xff]^_0x303d55[_0x2037bf([0x54,0x32])][t[(_0x2171e4+0x1)%0x4]>>0x10&0xff]^_0x303d55[_0x2037bf([0x54,0x33])][t[(_0x2171e4+0x2)%0x4]>>0x8&0xff]^_0x303d55[_0x2037bf([0x54,0x34])][0xff&t[(_0x2171e4+0x3)%0x4]]^_0x5330bf[_0x15b99d][_0x2171e4];t=_0x2278a1[_0x2037bf([0x73,0x6c,0x69,0x63,0x65])]();}const _0x10dffb=new Uint8Array(0x10);let _0x44bf31;for(let _0x435380=0x0;_0x435380<0x4;_0x435380++)_0x44bf31=_0x5330bf[_0xbd5504][_0x435380],_0x10dffb[0x4*_0x435380]=0xff&(_0x303d55[_0x2037bf([0x53])][t[_0x435380]>>0x18&0xff]^_0x44bf31>>0x18),_0x10dffb[0x4*_0x435380+0x1]=0xff&(_0x303d55[_0x2037bf([0x53])][t[(_0x435380+0x1)%0x4]>>0x10&0xff]^_0x44bf31>>0x10),_0x10dffb[0x4*_0x435380+0x2]=0xff&(_0x303d55[_0x2037bf([0x53])][t[(_0x435380+0x2)%0x4]>>0x8&0xff]^_0x44bf31>>0x8),_0x10dffb[0x4*_0x435380+0x3]=0xff&(_0x303d55[_0x2037bf([0x53])][0xff&t[(_0x435380+0x3)%0x4]]^_0x44bf31);return _0x10dffb;}function _0x2498f5(){const _0x4376b9=_0x303d55[_0x2037bf([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x4f9107[_0x2037bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x102066=0x0;_0x102066<=_0x4376b9;_0x102066++)_0x5330bf[_0x2037bf([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1157e6[_0x2037bf([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x3b4e62=0x4*(_0x4376b9+0x1),_0x5a56f4=_0x4f9107[_0x2037bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x56437a=_0x33e6a9(_0x4f9107);let _0x54bc74;for(let _0x26188d=0x0;_0x26188d<_0x5a56f4;_0x26188d++)_0x54bc74=_0x26188d>>0x2,_0x5330bf[_0x54bc74][_0x26188d%0x4]=_0x56437a[_0x26188d],_0x1157e6[_0x4376b9-_0x54bc74][_0x26188d%0x4]=_0x56437a[_0x26188d];let _0x3bbcb2,_0x344496=0x0,t=_0x5a56f4;for(;t<_0x3b4e62;){_0x3bbcb2=_0x56437a[_0x5a56f4-0x1],_0x56437a[0x0]^=_0x303d55[_0x2037bf([0x53])][_0x3bbcb2>>0x10&0xff]<<0x18^_0x303d55[_0x2037bf([0x53])][_0x3bbcb2>>0x8&0xff]<<0x10^_0x303d55[_0x2037bf([0x53])][0xff&_0x3bbcb2]<<0x8^_0x303d55[_0x2037bf([0x53])][_0x3bbcb2>>0x18&0xff]^_0x303d55[_0x2037bf([0x72,0x63,0x6f,0x6e])][_0x344496]<<0x18,_0x344496+=0x1;for(let _0x5b1326=0x1;_0x5b1326<_0x5a56f4/0x2;_0x5b1326++)_0x56437a[_0x5b1326]^=_0x56437a[_0x5b1326-0x1];_0x3bbcb2=_0x56437a[_0x5a56f4/0x2-0x1],_0x56437a[_0x5a56f4/0x2]^=_0x303d55[_0x2037bf([0x53])][0xff&_0x3bbcb2]^_0x303d55[_0x2037bf([0x53])][_0x3bbcb2>>0x8&0xff]<<0x8^_0x303d55[_0x2037bf([0x53])][_0x3bbcb2>>0x10&0xff]<<0x10^_0x303d55[_0x2037bf([0x53])][_0x3bbcb2>>0x18&0xff]<<0x18;for(let _0x4829ba=_0x5a56f4/0x2+0x1;_0x4829ba<_0x5a56f4;_0x4829ba++)_0x56437a[_0x4829ba]^=_0x56437a[_0x4829ba-0x1];let _0x5ec521,_0x392d22,_0xbf34f8=0x0;for(;_0xbf34f8<_0x5a56f4&&t<_0x3b4e62;)_0x5ec521=t>>0x2,_0x392d22=t%0x4,_0x5330bf[_0x5ec521][_0x392d22]=_0x56437a[_0xbf34f8],_0x1157e6[_0x4376b9-_0x5ec521][_0x392d22]=_0x56437a[_0xbf34f8++],t++;}for(let _0x235fd5=0x1;_0x235fd5<_0x4376b9;_0x235fd5++)for(let _0x319103=0x0;_0x319103<0x4;_0x319103++)_0x3bbcb2=_0x1157e6[_0x235fd5][_0x319103],_0x1157e6[_0x235fd5][_0x319103]=_0x303d55[_0x2037bf([0x55,0x31])][_0x3bbcb2>>0x18&0xff]^_0x303d55[_0x2037bf([0x55,0x32])][_0x3bbcb2>>0x10&0xff]^_0x303d55[_0x2037bf([0x55,0x33])][_0x3bbcb2>>0x8&0xff]^_0x303d55[_0x2037bf([0x55,0x34])][0xff&_0x3bbcb2];}}function _0x2037bf(_0x5b0a65){return _0x5b0a65['map'](_0x337bf1=>String['fromCharCode'](_0x337bf1))['join']('');}(_0x459f6e=>{function _0x40eda3(){const _0x318eff=[{[_0x2037bf([0x69,0x64])]:0x1,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x2037bf([0x69,0x64])]:0x2,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([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]),[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2037bf([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2037bf([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2037bf([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2037bf([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2037bf([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2037bf([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2037bf([0x69,0x64])]:0x3,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2037bf([0x69,0x64])]:0x4,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([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]),[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2037bf([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x2037bf([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x2037bf([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x2037bf([0x69,0x64])]:0x5,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([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]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2037bf([0x66,0x67,0x69])]:[0xc]}},{[_0x2037bf([0x69,0x64])]:0x6,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2037bf([0x66,0x67,0x69])]:[0xc]}},{[_0x2037bf([0x69,0x64])]:0x7,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2037bf([0x66,0x67,0x69])]:[0xc]}},{[_0x2037bf([0x69,0x64])]:0x8,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([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]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2037bf([0x66,0x67,0x69])]:[0xc]}},{[_0x2037bf([0x69,0x64])]:0x9,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2037bf([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x2037bf([0x69,0x64])]:0xa,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([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]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([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]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([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]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2037bf([0x66,0x67,0x69])]:[0xc]}},{[_0x2037bf([0x69,0x64])]:0xb,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2037bf([0x69,0x64])]:0xc,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x2037bf([0x69,0x64])]:0xd,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2037bf([0x66,0x67,0x69])]:[0xc]}},{[_0x2037bf([0x69,0x64])]:0xe,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x2037bf([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([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])},{[_0x2037bf([0x69,0x64])]:0xf,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x2037bf([0x69,0x64])]:0x10,[_0x2037bf([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x2037bf([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x2037bf([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x2037bf([0x66,0x67,0x69])]:[0xc]}}];return _0x249af4(_0x318eff),_0x318eff;function _0x759ae2(_0x495772){return 0x1<<_0x495772-0x1;}function _0x249af4(_0x1a16e9){_0x1a16e9[_0x2037bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e01e8=>{_0x1e01e8[_0x2037bf([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x759ae2(_0x1e01e8[_0x2037bf([0x69,0x64])]),_0x1c95f1(_0x1e01e8)&&_0x1e01e8[_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x249af4(_0x1e01e8[_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x1c95f1(_0x27e590){return _0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x27e590;}const _0x2c20f5=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x52fccd=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x752a18(_0x530dfc){const _0x585c4f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x3ecb9e(_0x530dfc,new Uint8Array([..._0x2c20f5,..._0x585c4f,..._0x52fccd]));}function _0x3ecb9e(_0x3bfebe,_0x609573){const _0x3c1d82=_0x19e183(_0x3bfebe),_0x731495=Array[_0x2037bf([0x66,0x72,0x6f,0x6d])](_0x5db649(_0x3c1d82)),_0x4696c7=_0x731495[_0x2037bf([0x70,0x6f,0x70])](),_0x923d8c=_0x731495[_0x2037bf([0x70,0x6f,0x70])]();return _0x122b05(_0x4a79d3(_0x731495,_0x609573,_0x923d8c+0x100*_0x4696c7));}function _0x19e183(_0x273b51){const _0x558f9d=atob(_0x273b51),[_0x4cc554,_0x55613a]=_0x558f9d[_0x2037bf([0x73,0x70,0x6c,0x69,0x74])](_0x2037bf([0x2d]));try{if(atob(_0x55613a))return atob(_0x4cc554);}catch(_0x29281c){}return _0x558f9d;}function _0x5d975d(_0x25fe55){try{const _0x2d1d23=_0x752a18(_0x25fe55),_0xb32daa=JSON[_0x2037bf([0x70,0x61,0x72,0x73,0x65])](_0x2d1d23),_0xc74825=parseInt(_0xb32daa[_0x2037bf([0x31])]),_0x351c32=_0xb32daa[_0x2037bf([0x32])]||'',_0x2a66b6=parseInt(_0xb32daa[_0x2037bf([0x33])]),_0x429482=parseInt(_0xb32daa[_0x2037bf([0x34])])||0x0,_0x11a349=parseInt(_0xb32daa[_0x2037bf([0x35])])||0x0;return{[_0x2037bf([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x351c32,[_0x2037bf([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x429482,[_0x2037bf([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0xc74825,[_0x2037bf([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x2a66b6,[_0x2037bf([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x11a349};}catch(_0x57bfe7){return null;}}const _0x14fe94=_0x40eda3(),_0x44ec4c={[_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x382840,[_0x2037bf([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])]:_0x3d7618,[_0x2037bf([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])]:_0x32d473},_0x44324b=_0x459f6e[_0x2037bf([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x3c1def=_0x2037bf([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x459f6e?_0x459f6e['context']:_0x459f6e['editor'],_0x3ec093=_0x2037bf([0x34,0x30,0x34,0x38,0x31,0x30,0x34,0x38]),_0x20173c=_0x2037bf([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]),_0x3b7400=_0x3c1def['config']['get'](_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x64a9df=_0x14fe94[_0x2037bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1c95f1)[_0x2037bf([0x66,0x69,0x6e,0x64])](_0x17b644=>_0x17b644[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x44324b);function _0x279cff(_0x480ecf,_0x106013){_0x44ec4c[_0x106013[_0x2037bf([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x480ecf,_0x106013),_0x106013[_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x106013[_0x2037bf([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x2037bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x26d242=>_0x3035e4(_0x3c1def,_0x26d242[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x2037bf([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x366f81=>_0x279cff(_0x480ecf,_0x366f81));}function _0x382840(_0x2fe57b,_0x3cc2df){_0x2beb3d(_0x2486fd(_0x2fe57b,_0x3cc2df),_0x3cc2df);}function _0x3d7618(_0x1699a6,_0x106b30){function _0x3f2d64(_0x3dd83d,_0x28361e){try{if(_0x3035e4(_0x3c1def,_0x2037bf([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3dd83d){const _0x44e44f=_0x2f39aa(_0x3c1def,_0x2037bf([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x2037bf([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x44e44f)/0x2>_0x3dd83d[_0x2037bf([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0xf87d60(_0x28361e[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x2486fd(_0x3dd83d,_0x28361e);}catch(_0x25c05b){return _0xf87d60(_0x28361e[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x2beb3d(_0x3f2d64(_0x1699a6,_0x106b30),_0x106b30);}function _0x32d473(_0x45f536,_0x396adb){const _0xc3d8ea=_0x52fccd[0x0]*_0x2c20f5[0x1],_0xd30c=_0x52fccd[0x0]*_0x2c20f5[0x2],_0x50e118=_0x52fccd[0x2]*_0x2c20f5[0x2];_0x3035e4(_0x3c1def,_0x2037bf([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2f39aa(_0x3c1def,_0x2037bf([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2037bf([0x73,0x74,0x61,0x74,0x65])]==_0x2037bf([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0xfbfac7()]=_0x50e118);function _0x1b3573(_0x1135a0,_0x4526c5){try{return _0x5ca410()?_0xf87d60(_0x4526c5[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x56,0x61,0x6c,0x69,0x64])):_0x2486fd(_0x1135a0,_0x4526c5);}catch(_0x121218){return _0xf87d60(_0x4526c5[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x52eb14(_0x38cd53,_0x39e65){const _0x698490=0x7;if(_0x38cd53==_0x39e65[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x68ea27();else{if(_0x38cd53==_0x39e65[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x54,0x72,0x69,0x61,0x6c])){const _0x5a5613=_0x7c56eb();_0x5a5613&&_0x2ea1f7(_0x5a5613,_0x39e65[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x361640=_0x1d9fb1();window[_0x2037bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2ea1f7(_0x2037bf([0x74,0x69,0x6d,0x65]),_0x39e65[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x361640);const _0x412736=_0x2f39aa(_0x3c1def,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2037bf([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x412736[_0x2037bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x698490?_0x2ea1f7(_0x2037bf([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x39e65[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x412736['on'](_0x2037bf([0x61,0x64,0x64]),()=>{_0x412736[_0x2037bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x698490&&_0x2ea1f7(_0x2037bf([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x39e65[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x7c56eb(){if(!_0x3035e4(_0x3c1def,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1e74e1 in window)if(Number['isNaN'](Number(_0x1e74e1))){if(window[_0x1e74e1]===_0xc3d8ea)return _0x2037bf([0x74,0x69,0x6d,0x65]);if(window[_0x1e74e1]===_0xd30c)return _0x2037bf([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5ca410(){if(!_0x3035e4(_0x3c1def,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x7411ca in window)if(Number['isNaN'](Number(_0x7411ca))&&window[_0x7411ca]===_0x50e118)return!0x0;return!0x1;}function _0x2ea1f7(_0x5dd9e8,_0x54bc14){_0x68ea27(),_0xf87d60(_0x54bc14+_0x2037bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x5dd9e8),window[_0xfbfac7()]=_0x5dd9e8===_0x2037bf([0x74,0x69,0x6d,0x65])?_0xc3d8ea:_0xd30c;}function _0x1d9fb1(){let _0x41cccb=_0x52fccd[0x6]*_0x2c20f5[0x8]*_0x2c20f5[0x6];return _0x3035e4(_0x3c1def,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x41cccb/=0xa),_0x41cccb;}function _0x68ea27(){const _0x3f805d=_0x3c1def;function _0x3dbc9c(){_0x3035e4(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x2f39aa(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2037bf([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2037bf([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2f39aa(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2037bf([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2f39aa(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2037bf([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x34c148,_0x2f39aa(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x2037bf([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x34c148,_0x3f805d[_0x2037bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x2037bf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34c148,_0x3f805d[_0x2037bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x2037bf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34c148,_0x3f805d[_0x2037bf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2037bf([0x6d,0x6f,0x64,0x65,0x6c]))),_0x3035e4(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x2f39aa(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2037bf([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x2037bf([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x2f39aa(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2037bf([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x2f39aa(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2037bf([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x34c148,_0x2f39aa(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2037bf([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x34c148);}_0x3f805d[_0x2037bf([0x73,0x74,0x61,0x74,0x65])]==_0x2037bf([0x72,0x65,0x61,0x64,0x79])?_0x3dbc9c():_0x3f805d[_0x2037bf([0x6f,0x6e,0x63,0x65])](_0x2037bf([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x3035e4(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x3dbc9c(),_0x3035e4(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5e02cb=_0x2f39aa(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x36cdd7=_0x5e02cb['getRevision'](0x0),_0x321fda=_0x5e02cb['getEarlierVisibleRevision'](_0x36cdd7[_0x2037bf([0x69,0x64])]);_0x2f39aa(_0x3f805d,_0x2037bf([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x2037bf([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x36cdd7[_0x2037bf([0x69,0x64])],_0x321fda?_0x321fda[_0x2037bf([0x69,0x64])]:null,0x1)['then'](()=>_0x3dbc9c());}});}_0x52eb14(_0x1b3573(_0x45f536,_0x396adb),_0x396adb);}function _0x2486fd(_0x39bff6,_0x139617){try{return _0x5c34c4(_0x139617)?_0xf87d60(_0x139617[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x56,0x61,0x6c,0x69,0x64])):_0x39bff6&&_0x27232b(_0x39bff6[_0x2037bf([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x139617)?_0x39bff6[_0x2037bf([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x2037bf([0x6f,0x70,0x65,0x6e])][_0x2037bf([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3ec093)/0x2>_0x39bff6[_0x2037bf([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0xf87d60(_0x139617[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x39bff6[_0x2037bf([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0xf87d60(_0x139617[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x54,0x72,0x69,0x61,0x6c])):_0xf87d60(_0x139617[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x56,0x61,0x6c,0x69,0x64])):_0xf87d60(_0x139617[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x4b0768){return _0xf87d60(_0x139617[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2beb3d(_0x494fb3,_0x2722fe){if(_0x3c1def instanceof _0x1ec2b7){const _0x12e75a=_0x3c1def;_0x494fb3==_0x2722fe[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4ad371(_0x12e75a):_0x494fb3==_0x2722fe[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x54,0x72,0x69,0x61,0x6c])&&window[_0x2037bf([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4ad371(_0x12e75a),_0xf87d60(_0x2722fe[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x52fccd[0x6]*_0x2c20f5[0x8]*_0x2c20f5[0x6]),_0x12e75a[_0x2037bf([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x2037bf([0x6f,0x6e])](_0x2037bf([0x61,0x64,0x64]),(_0x138d0d,_0x14f589)=>{_0x494fb3!=_0x2722fe[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x494fb3!=_0x2722fe[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x494fb3!=_0x2722fe[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x3ca664(_0x14f589);});}else{const _0x33bf09=_0x3c1def;_0x494fb3==_0x2722fe[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3ca664(_0x33bf09):_0x494fb3==_0x2722fe[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x54,0x72,0x69,0x61,0x6c])&&_0x33bf09[_0x2037bf([0x6f,0x6e])](_0x2037bf([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x20e15f=0x0;_0x33bf09[_0x2037bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x2037bf([0x6f,0x6e])](_0x2037bf([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2bfe3d,_0x4a48e2)=>{_0x4a48e2[0x0][_0x2037bf([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x20e15f++,0x1f8===_0x20e15f&&(_0x3ca664(_0x33bf09),_0xf87d60(_0x2722fe[_0x2037bf([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x2037bf([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x2bfe3d[_0x2037bf([0x6f,0x66,0x66])]());},{'priority':_0x2037bf([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0xf87d60(_0x20725e){const _0x90f83f=_0xfbfac7();return _0x3c1def[_0x90f83f]=_0x20725e,_0x20725e;}function _0xfbfac7(){const _0x56af1d=String(window[_0x2037bf([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2037bf([0x6e,0x6f,0x77])]())[_0x2037bf([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2037bf([0x2e]),'');let _0x1ba3d4='';for(let _0x2e1ba4=0x0;_0x2e1ba4<_0x56af1d[_0x2037bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e1ba4+=0x2){let _0x73d0ad=parseInt(_0x56af1d[_0x2037bf([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e1ba4,_0x2e1ba4+0x2));_0x73d0ad>=_0x20173c[_0x2037bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x73d0ad-=_0x20173c[_0x2037bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ba3d4+=_0x20173c[_0x73d0ad];}return _0x1ba3d4;}function _0x4ad371(_0x1a99d2){for(const _0x3c718b of _0x1a99d2[_0x2037bf([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x3ca664(_0x3c718b);_0x2f39aa(_0x1a99d2,_0x2037bf([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2037bf([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x2f39aa(_0x1a99d2,_0x2037bf([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x2037bf([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x34c148;}function _0x3ca664(_0x2804c0){function _0x4fc7e6(){_0x2804c0[_0x2037bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x2037bf([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x34c148,_0x2804c0[_0x2037bf([0x6d,0x6f,0x64,0x65,0x6c])][_0x2037bf([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x34c148,_0x2804c0[_0x2037bf([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2037bf([0x6d,0x6f,0x64,0x65,0x6c]));}_0x2804c0[_0x2037bf([0x73,0x74,0x61,0x74,0x65])]==_0x2037bf([0x72,0x65,0x61,0x64,0x79])?_0x4fc7e6():_0x2804c0[_0x2037bf([0x6f,0x6e,0x63,0x65])](_0x2037bf([0x72,0x65,0x61,0x64,0x79]),()=>_0x4fc7e6());}function _0x34c148(){return null;}function _0x27232b(_0x594023,_0x35c100){const _0x41a06f=!!(_0x594023&_0x35c100[_0x2037bf([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x44d97e=_0xa24fa8(_0x594023,_0x35c100);return _0x41a06f||_0x44d97e;}function _0xa24fa8(_0x1e9998,_0x47ebf4){const _0x1f85fe=(_0x47ebf4[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x2037bf([0x66,0x67,0x69])]||null;return!!_0x1f85fe&&_0x14fe94[_0x2037bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x46c811=>_0x1f85fe[_0x2037bf([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46c811[_0x2037bf([0x69,0x64])]))[_0x2037bf([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x880f81=>!_0x42704d(_0x880f81))[_0x2037bf([0x73,0x6f,0x6d,0x65])](_0x5e195a=>!!(_0x1e9998&_0x5e195a[_0x2037bf([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x42704d(_0x2129eb){const _0x48211b={[_0x2037bf([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])]:_0x44c00b};return!!_0x2129eb['forbiddenHandler']&&_0x48211b[_0x2129eb['forbiddenHandler']]();}function _0x44c00b(){return!window[_0x2037bf([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x3035e4(_0x3c1def,_0x2037bf([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5c34c4(_0x40d13d){if(!_0x3035e4(_0x3c1def,_0x40d13d[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x38d3c6=_0x40d13d[_0x2037bf([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3af4fc=_0x38d3c6[_0x2037bf([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x8b66bf=_0x38d3c6[_0x2037bf([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x339e36=_0x38d3c6[_0x2037bf([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x3035e4(_0x3c1def,_0x2037bf([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x2f39aa(_0x3c1def,_0x2037bf([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x2037bf([0x73,0x74,0x61,0x74,0x65])]==_0x2037bf([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3af4fc)return!0x0;if(_0x3035e4(_0x3c1def,_0x2037bf([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x2f39aa(_0x3c1def,_0x2037bf([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x2037bf([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x2037bf([0x65,0x6e,0x64])&&_0x8b66bf)return!0x0;return!(!_0x3035e4(_0x3c1def,_0x2037bf([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]))||_0x2f39aa(_0x3c1def,_0x2037bf([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]))[_0x2037bf([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x2037bf([0x65,0x6e,0x64])||!_0x339e36);}function _0x3035e4(_0x3fba87,_0x1283fb){return _0x3fba87[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2037bf([0x68,0x61,0x73])](_0x1283fb);}function _0x2f39aa(_0xae049f,_0x576dfc){return _0xae049f[_0x2037bf([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x2037bf([0x67,0x65,0x74])](_0x576dfc);}function _0x122b05(_0x3e9ec1){let _0x477d1d='';for(const _0x1fcf91 of _0x3e9ec1)_0x477d1d+=String[_0x2037bf([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1fcf91);return _0x477d1d;}function _0x5db649(_0x218316){const _0x4d6c93=new Uint8Array(_0x218316[_0x2037bf([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x529005=0x0;_0x529005<_0x218316[_0x2037bf([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x529005++)_0x4d6c93[_0x529005]=_0x218316[_0x2037bf([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x529005);return _0x4d6c93;}_0x64a9df&&_0x279cff(_0x5d975d(_0x3b7400),_0x64a9df);})(_0x585d45);}(this);}['createRevision'](_0x5087d6){const _0x352130=this['editor']['plugins']['get']('Users');return new a({'id':_0x5087d6['id'],'name':_0x5087d6['name'],'creator':_0x5087d6['creatorId']?_0x352130['getUser'](_0x5087d6['creatorId']):null,'diffData':_0x5087d6['diffData']||_0x5087d6['data'],'authors':_0x5087d6['authorsIds']['map'](_0x472ca7=>_0x352130['getUser'](_0x472ca7)),'createdAt':new Date(_0x5087d6['createdAt']),'attributes':_0x5087d6['attributes'],'fromVersion':_0x5087d6['fromVersion'],'toVersion':_0x5087d6['toVersion']});}['addRevision'](_0x237f69,_0x2e9489=0x0){this['_revisions']['add'](_0x237f69,_0x2e9489);}['getRevision'](_0x43a436){return this['_revisions']['get'](_0x43a436);}['getRevisions'](_0x4fa54e={'toJSON':!0x1}){const _0xe309a=Array['from'](this['_revisions']);return _0xe309a['reverse'](),_0x4fa54e['toJSON']?_0xe309a['map'](_0x22b7c7=>_0x22b7c7['toJSON']()):_0xe309a;}['getIndex'](_0x3f8d8e){return this['_revisions']['getIndex'](_0x3f8d8e);}['getEarlierVisibleRevision'](_0x28ecc3){const [,_0x57a120]=this['getRevisionsIterator'](_0x28ecc3,{'direction':'earlier'});return _0x57a120;}['getLaterVisibleRevision'](_0x500218){const [,_0x1a33ba]=this['getRevisionsIterator'](_0x500218,{'direction':'later'});return _0x1a33ba;}['getRevisionsInDiff'](_0xc4a00c){const _0x188348=[];for(const _0xf615aa of this['getRevisionsIterator'](_0xc4a00c['newRevisionId']))if(_0x188348['push'](_0xf615aa),_0xf615aa['id']===_0xc4a00c['oldRevisionId'])break;return _0x188348;}*['getRevisionsIterator'](_0x752eb0,{direction:_0x2ab770='earlier',filter:_0x6c3aa=_0x345fba=>!0x0}={}){const _0x24fc84='earlier'===_0x2ab770?0x1:-0x1;let _0x165ef1=this['_revisions']['get'](_0x752eb0),_0x87bf88=this['getIndex'](_0x165ef1);for(yield _0x165ef1;_0x165ef1;){if(_0x87bf88+=_0x24fc84,_0x165ef1=this['getRevision'](_0x87bf88),!_0x165ef1)return;_0x6c3aa(_0x165ef1)&&(yield _0x165ef1);}}}function y(_0x43f655,_0xf472f6,_0x4756cf){const t=_0x43f655['t'];switch(_0xf472f6){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'},_0x4756cf);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x4756cf);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':_0x42bf80,'a':_0xebe170,'e':_0x598347,'r':_0x1b6226,'u':_0x2e64ea};class l extends _0x57a85d{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x2acf04,A,_0x3345c8];}constructor(_0x11cef7){super(_0x11cef7),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 _0x3b44fe=_0x116f6a();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3b44fe},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 _0x3f06a1=this['repository']['getRevision'](0x0),_0x48ce59=_0x3f06a1&&null===_0x3f06a1['creator']?_0x3f06a1:null;if(this['_continueCurrentRevision']=!!_0x48ce59&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x217311=this['_source']['getCurrentRevisionId'](),_0x3f85ea=this['repository']['getRevision'](_0x217311);if(_0x3f85ea)this['_startingVersion']=_0x3f85ea['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x5b33f7=this['_source']['history']['_operations']['find'](_0x23e081=>!_0x23e081['_isInit']),_0x30cdd2=_0x5b33f7?_0x5b33f7['baseVersion']:this['_source']['history']['version'];_0x3f06a1?(_0x3f06a1['toVersion']<_0x30cdd2&&_0x3f06a1['_update']({'toVersion':_0x30cdd2}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x48ce59['id'],this['_startingVersion']=_0x48ce59['fromVersion']):(this['_startingVersion']=_0x3f06a1['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x30cdd2,this['_continueCurrentRevision']=!0x1);}}else _0x48ce59&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x48ce59['toVersion'],this['editor']['model']['document']['history']['version']),_0x48ce59['fromVersion']===_0x48ce59['toVersion']?(0x0!==_0x48ce59['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x48ce59['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x48ce59['id'],this['_startingVersion']=_0x48ce59['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',_0xaf21b8=>!_0xaf21b8);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x219019=this['repository']['getRevision'](0x0),_0x4bf1f6=await this['getRevisionDocumentData'](_0x219019),_0x333ae7=await this['getRevisionRootsAttributes'](_0x219019);this['_replaceEditorDataWithRevisionData'](_0x4bf1f6,_0x333ae7);}}['setSource'](_0x24bf69){this['_source']=_0x24bf69;}async['update'](){const _0x31f260=await this['_source']['getLatestVersion']();if(_0x31f260>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2b57f0=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x31f260});_0x2b57f0['authors']=_0x2b57f0['authorsIds']['map'](_0x37ff30=>this['editor']['plugins']['get']('Users')['getUser'](_0x37ff30)),this['currentRevision']['_update'](_0x2b57f0);}}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'](_0x1bb37e={},_0x481e7e=null){const _0x25dd49=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x481e7e>this['currentRevision']['toVersion']&&(_0x481e7e=null),null===_0x481e7e&&(_0x481e7e=await this['_source']['getLatestVersion']());const _0x324462=this['_getFromVersion'](_0x481e7e),_0x21b745=this['buildRevisionData']({'from':_0x324462,'to':_0x481e7e});if(this['currentRevision']['toVersion']<_0x481e7e){const _0x2b9cbe=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x481e7e,'to':_0x481e7e});_0x2b9cbe['authors']=[],_0x2b9cbe['authorsIds']=[],_0x2b9cbe['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x2b9cbe,!0x0),delete _0x2b9cbe['authors'],_0x25dd49['push'](_0x2b9cbe);}_0x1bb37e['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x1bb37e['name']=_0x1bb37e['name']||null,_0x1bb37e['id']=_0x1bb37e['id']||_0x116f6a(),_0x1bb37e={..._0x1bb37e,..._0x21b745};const _0x57626e=this['addRevisionData'](_0x1bb37e);_0x25dd49['push'](_0x1bb37e);const _0x50dea9=this['repository']['getIndex'](_0x57626e);if(0x0!==_0x50dea9){const _0x376425=this['repository']['getRevision'](_0x50dea9-0x1);if(_0x376425['fromVersion']!==_0x481e7e){const _0xfc76ff=this['_revisionDataBuilder']['getData'](_0x481e7e,_0x376425['toVersion']),_0x5d14f7={'id':_0x376425['id'],'diffData':_0xfc76ff['diffData'],'authorsIds':_0xfc76ff['authorsIds'],'authors':_0xfc76ff['authorsIds']['map'](_0x225d66=>this['editor']['plugins']['get']('Users')['getUser'](_0x225d66)),'fromVersion':_0x481e7e};_0x376425===this['currentRevision']&&(_0x5d14f7['createdAt']=new Date(_0x1bb37e['createdAt']['getTime']()+0xa)),_0x376425['_update'](_0x5d14f7,!0x0),delete _0x5d14f7['authors'],_0x25dd49['push'](_0x5d14f7);}}if(this['adapter']){for(const _0x7b52d4 of _0x25dd49)this['_bufferUpdate'](_0x7b52d4['id'],_0x7b52d4,!0x0);this['sendBufferedUpdates']();}return _0x57626e;}['addRevisionData'](_0x46d05c){const _0x4d191d=this['repository']['createRevision'](_0x46d05c);return this['adapter']&&_0x4d191d['on']('_update',(_0x478602,_0x327ace,_0x40dc88)=>{_0x40dc88||(this['_bufferUpdate'](_0x327ace['id'],_0x327ace,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4d191d,this['_findInsertionIndex'](_0x4d191d)),_0x4d191d;}async['getRevisionDocumentData'](_0xc3ff30){await this['_loadRevisionData'](_0xc3ff30);const _0x2994b6={};for(const _0x3bbd11 in _0xc3ff30['diffData']){if(_0xc3ff30['diffData'][_0x3bbd11]['attachChange']&&!_0xc3ff30['diffData'][_0x3bbd11]['attachChange']['isAttached'])continue;const _0xfc1d9a=this['_removeRevisionMarkers'](JSON['parse'](_0xc3ff30['diffData'][_0x3bbd11]['insertions'])),_0x572d62=this['editor']['editing']['view']['document'],_0x4528e2=new _0x2d7c1c(_0x572d62,_0xfc1d9a['map'](_0x34e4f2=>B(_0x34e4f2,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x2994b6[_0x3bbd11]=this['editor']['data']['processor']['toData'](_0x4528e2),this['editor']['data']['processor']['useFillerType']('default');}return _0x2994b6;}async['getRevisionRootsAttributes'](_0x268f3c){await this['_loadRevisionData'](_0x268f3c);const _0x37fdd8={};for(const _0x2426a4 in _0x268f3c['diffData'])_0x268f3c['diffData'][_0x2426a4]['attachChange']&&!_0x268f3c['diffData'][_0x2426a4]['attachChange']['isAttached']||(_0x37fdd8[_0x2426a4]=_0x268f3c['diffData'][_0x2426a4]['attributesAfter']||{});return _0x37fdd8;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x5df339=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x622cd7=0x0;_0x622cd7<_0x5df339['length'];_0x622cd7++){const _0x27d419=_0x5df339[_0x622cd7];let _0x3e4fb8=!0x1;for(const _0x42a2ce of Object['keys'](_0x27d419))void 0x0===_0x27d419[_0x42a2ce]?delete _0x27d419[_0x42a2ce]:'id'!==_0x42a2ce&&(_0x3e4fb8=!0x0);_0x3e4fb8||(_0x5df339[_0x622cd7]=null);}if(_0x5df339=_0x5df339['filter'](_0x574c4e=>null!==_0x574c4e),!_0x5df339['length'])return;for(let _0x4f52ac=0x0;_0x4f52ac<_0x5df339['length'];_0x4f52ac++){const _0x487b97=_0x5df339[_0x4f52ac];void 0x0!==_0x487b97['fromVersion']&&void 0x0===_0x487b97['toVersion']&&(_0x487b97['toVersion']=this['repository']['getRevision'](_0x487b97['id'])['toVersion']),void 0x0!==_0x487b97['toVersion']&&void 0x0===_0x487b97['fromVersion']&&(_0x487b97['fromVersion']=this['repository']['getRevision'](_0x487b97['id'])['fromVersion']);}const _0x24aa20=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x5df339,_0x24aa20)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x435740=>{if(_0x435740){for(const _0x54120d of _0x435740)this['setRevisionData']({'id':_0x54120d['id'],'createdAt':_0x54120d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4592f9,_0x5728d7){let _0x31a435=this['editor']['config']['get']('initialData'),_0x3c23ce=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x31a435){_0x31a435={};for(const _0x1a156c of this['editor']['model']['document']['getRootNames']())_0x31a435[_0x1a156c]='';}if('string'==typeof _0x31a435&&(_0x31a435={'main':_0x31a435}),void 0x0===_0x3c23ce){_0x3c23ce={};for(const _0x3ab740 of this['editor']['model']['document']['getRootNames']())_0x3c23ce[_0x3ab740]={};}let _0x36e439=!0x1;const _0x3958e8=Object['keys'](_0x31a435),_0x4896c9=Object['keys'](_0x4592f9);for(const _0x47ec36 of _0x3958e8){if(_0x31a435[_0x47ec36]!==_0x4592f9[_0x47ec36]&&''!==_0x31a435[_0x47ec36]['trim']()){_0x36e439=!0x0;break;}if(!_0xdfd3d5(_0x3c23ce[_0x47ec36],_0x5728d7[_0x47ec36])&&Object['keys'](_0x3c23ce[_0x47ec36])['length']>0x0){_0x36e439=!0x0;break;}}_0x36e439||(_0x36e439=_0x4896c9['some'](_0x34a4ef=>!this['editor']['model']['document']['getRoot'](_0x34a4ef))),_0x36e439&&_0x2eda73('editor-initial-data-replaced-with-revision-data',{'editorData':_0x31a435,'editorRootsAttributes':_0x3c23ce,'revisionData':_0x4592f9,'revisionRootsAttributes':_0x5728d7}),this['editor']['config']['set']('initialData',_0x4592f9),this['editor']['config']['set']('rootsAttributes',_0x5728d7);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4837e4=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4837e4['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x320b4c){const _0x5b0441=this['repository']['getRevisions']();_0x5b0441['reverse']();let _0x249537=0x0;for(;_0x249537<_0x5b0441['length'];){const _0x56c7df=_0x5b0441[_0x249537];if(_0x56c7df===this['currentRevision']){_0x249537++;continue;}if(_0x56c7df['id']===this['_initialRevisionId'])break;const _0x95e3e0=_0x320b4c['toVersion']-_0x56c7df['toVersion']||_0x320b4c['fromVersion']-_0x56c7df['fromVersion'];if(_0x95e3e0>0x0)break;if(_0x95e3e0<0x0)_0x249537++;else{if(!_0x320b4c['creator']&&_0x56c7df['creator'])break;if(_0x56c7df['creator']||!_0x320b4c['creator']){if(_0x320b4c['createdAt']>_0x56c7df['createdAt'])break;_0x249537++;}else _0x249537++;}}return _0x249537;}['setRevisionData'](_0x36bc79){const _0x1a8795=this['repository']['getRevision'](_0x36bc79['id']);if(_0x36bc79['createdAt']&&(_0x36bc79['createdAt']=new Date(_0x36bc79['createdAt'])),_0x36bc79['authorsIds']){const _0x3b8045=this['editor']['plugins']['get']('Users');_0x36bc79['authors']=_0x36bc79['authorsIds']['map'](_0x3b10df=>_0x3b8045['getUser'](_0x3b10df));}_0x1a8795['_update'](_0x36bc79,!0x0);}['buildRevisionData']({revision:_0x446f8d=null,from:_0x3f9773=null,to:_0x4327b0=null}){_0x3f9773=null!==_0x3f9773?_0x3f9773:_0x446f8d['fromVersion'],_0x4327b0=null!==_0x4327b0?_0x4327b0:_0x446f8d['toVersion'];const _0x46cd88=this['_revisionDataBuilder']['getData'](_0x3f9773,_0x4327b0),_0x2ba048={'diffData':_0x46cd88['diffData'],'authorsIds':_0x46cd88['authorsIds'],'fromVersion':_0x3f9773,'toVersion':_0x4327b0};if(!_0x446f8d||_0x4327b0!==_0x446f8d['toVersion']){const _0x6359cc=_0x4327b0-0x1,_0x55efeb=this['_source']['history']['getOperation'](_0x6359cc);_0x2ba048['createdAt']=_0x55efeb&&_0x55efeb['createdAt']||new Date();}if(this['_loadedStateData']&&_0x3f9773===this['_loadedStateData']['fromVersion']){for(const _0x2646e6 of this['_loadedStateData']['authors'])_0x2ba048['authorsIds']['includes'](_0x2646e6['id'])||_0x2ba048['authorsIds']['push'](_0x2646e6['id']);}return _0x2ba048;}['_loadRevisionData'](_0x4caf22){if(!_0x4caf22||_0x4caf22['diffData'])return Promise['resolve']();{const _0x46a208=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x46a208,'revisionId':_0x4caf22['id']})['then'](_0x2c2df4=>{_0x4caf22['diffData']=_0x2c2df4['diffData'];});}}['_bufferUpdate'](_0x293214,_0x3ced2f,_0x3670fb){if(this['_bufferedUpdates']['has'](_0x293214)){const _0x2772eb=this['_bufferedUpdates']['get'](_0x293214);_0x3ced2f=_0x3670fb?{..._0x2772eb,..._0x3ced2f}:{..._0x3ced2f,..._0x2772eb};}this['_bufferedUpdates']['set'](_0x293214,_0x3ced2f);}['_getFromVersion'](_0x588948){const _0x1499e1=this['repository']['getRevisions']();_0x1499e1['reverse'](),_0x1499e1['shift']();const _0x1de77f=_0x1499e1['find'](_0x463c4e=>_0x463c4e['toVersion']<=_0x588948)['toVersion'];return _0x1de77f<this['_startingVersion']?this['_startingVersion']:_0x1de77f;}['_createInitialRevision'](_0x29b428){const _0x3e21be=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x3e21be)this['_initialRevisionId']=_0x3e21be['id'];else{const _0x2acc4f=!this['editor']['model']['document']['roots']['find'](_0x300bb1=>this['editor']['model']['hasContent'](_0x300bb1)),_0x1f1abc=this['editor']['plugins']['get']('Users')['me']['id'],_0x480232=y(this['editor']['locale'],_0x2acc4f?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x29b428,'to':_0x29b428,'id':this['_initialRevisionId'],'name':_0x480232,'creatorId':_0x1f1abc});}}['_createCurrentRevision'](_0x5135e0){const _0x1005c0=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1005c0),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x5135e0,'to':_0x5135e0,'id':_0x1005c0,'name':'','creatorId':null}));}['_makeRevision']({name:_0x679861,from:_0x50407b,to:_0x4a950f,creatorId:_0x5e5d54,id:_0x42cafc}){const _0x2403b8=this['buildRevisionData']({'from':_0x50407b,'to':_0x4a950f});_0x2403b8['name']=_0x679861,_0x2403b8['creatorId']=_0x5e5d54,_0x2403b8['id']=_0x42cafc;const _0x249dbd=this['addRevisionData'](_0x2403b8);return this['adapter']&&this['_bufferUpdate'](_0x2403b8['id'],_0x2403b8,!0x0),_0x249dbd;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0xeca3e6){return(_0xeca3e6=_0xeca3e6['filter'](_0x10fdd7=>!_0x10fdd7['name']||'revision-start'!==_0x10fdd7['name']&&'revision-end'!==_0x10fdd7['name']))['forEach'](_0x4277d5=>{'string'!=typeof _0x4277d5&&(_0x4277d5['children']=this['_removeRevisionMarkers'](_0x4277d5['children']),_0x4277d5['attributes']=_0x4277d5['attributes']['filter'](_0x156a0d=>!_0x156a0d[0x0]['startsWith']('data-revision-')));}),_0xeca3e6;}}function B(_0xc584d7,_0x2611af){const _0x5de342=_0x2611af['editing']['view']['document'];if('string'==typeof _0xc584d7)return new _0x455aa6(_0x5de342,_0xc584d7);{const _0x468461=_0xc584d7['children']['map'](_0x4c8198=>B(_0x4c8198,_0x2611af));return new(T[_0xc584d7['type']]||_0x12c0c8)(_0x5de342,_0xc584d7['name'],_0xc584d7['attributes'],_0x468461);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x3f2341){this['editor']=_0x3f2341,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'](_0x1eca7b){this['source']=_0x1eca7b;const _0x29ddbf=new Map(),_0x15a685=new Map(),_0x56e915=this['editor']['model']['document']['roots']['map'](_0x26c670=>_0x26c670['rootName']);for(const _0x5bdbb8 of _0x56e915){const _0x172c15=this['editor']['model']['document']['getRoot'](_0x5bdbb8),_0xb4a61a=q(_0x172c15);_0x29ddbf['set'](_0x5bdbb8,_0xb4a61a),_0x15a685['set'](_0x5bdbb8,Object['fromEntries'](_0x172c15['getAttributes']()));}const _0x58e9da=Array['from'](this['editor']['model']['markers'])['map'](_0x384e7b=>[_0x384e7b['name'],_0x384e7b['getRange']()]),_0x1efdf4=this['source']['version'];this['_saveMetaData'](_0x1efdf4,_0x29ddbf,_0x58e9da,_0x15a685),this['_startingRevisionId']=this['_revisionId'];const _0x42d040=new Map(),_0x4a3af9=new Map();for(const _0x5cc824 of _0x56e915){const _0x20c33f=G(_0x5cc824);_0x42d040['set'](_0x5cc824,_0x20c33f),_0x4a3af9['set'](_0x5cc824,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x42d040,[],_0x4a3af9);}['getData'](_0x11545f,_0x43a6a9){if(this['_lastFrom']===_0x11545f&&this['_lastTo']<=_0x43a6a9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x43a6a9,!0x0);else{if(!this['_savedMetaData']['has'](_0x11545f)){const _0x3d6a57=this['_getPreviousFrom'](_0x11545f);this['_calculateMetaData'](_0x3d6a57,_0x11545f,!0x1);}this['_calculateMetaData'](_0x11545f,_0x43a6a9,!0x0);}return this['_lastFrom']=_0x11545f,this['_lastTo']=_0x43a6a9,this['_getState']();}['loadState'](_0x378516){this['_reset'](),this['_lastFrom']=_0x378516['fromVersion'],this['_lastTo']=_0x378516['toVersion'];for(const _0x35daa0 in _0x378516['diffData']){const _0x4c811d=_0x378516['diffData'][_0x35daa0]['attachChange'],_0x1f66db=_0x536182(_0x378516['diffData'][_0x35daa0]['attributesBefore'])||{},_0x4357c6=this['_makeModelFromViewString'](_0x378516['diffData'][_0x35daa0]['deletions']);_0x4357c6['rootName']=_0x35daa0,_0x4357c6['_isAttached']=!_0x4c811d||!_0x4c811d['isAttached'],_0x4357c6['isAttached']=()=>_0x4357c6['_isAttached'],this['_baseRoots']['set'](_0x35daa0,_0x4357c6),this['_baseRootsAttributes']['set'](_0x35daa0,_0x1f66db),_0x4c811d&&this['_touchedRoots']['set'](_0x35daa0,_0x4c811d);const _0x5d7c1f=this['_makeIdsRoot'](_0x4357c6);this['_baseIdsRoots']['set'](_0x35daa0,_0x5d7c1f);for(const [_0x319abd,_0x1c4e8f]of _0x4357c6['markers']){if(!_0x319abd['startsWith']('revision:'))continue;const _0xc1549b=_0x319abd['split'](':')[0x2];for(const _0x54ee0c of _0x1c4e8f['getWalker']({'singleCharacters':!0x0})){const _0x1bf139=this['_getVidAttributeName'](_0x54ee0c),_0x10a6e0='elementEnd'==_0x54ee0c['type']?_0x54ee0c['previousPosition']['path']['slice'](0x0,-0x1):_0x54ee0c['previousPosition']['path'],_0xc09c2c=_0x5d7c1f['getNodeByPath'](_0x10a6e0)['getAttribute'](_0x1bf139);this['_touched']['set'](_0xc09c2c,{'userId':_0xc1549b});}}}this['_startingRevisionId']=this['_revisionId'];const _0x525217=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2b7c31=>!this['_touched']['has'](_0x2b7c31));let _0x28c517=0x0;const _0x529783=new Map();for(const _0x307512 in _0x378516['diffData']){const _0x14c437=_0x378516['diffData'][_0x307512]['attachChange'],_0x4df736=_0x536182(_0x378516['diffData'][_0x307512]['attributesAfter'])||{},_0xa66ac=this['_makeModelFromViewString'](_0x378516['diffData'][_0x307512]['insertions']);_0xa66ac['rootName']=_0x307512,_0xa66ac['_isAttached']=!_0x14c437||_0x14c437['isAttached'],_0xa66ac['isAttached']=()=>_0xa66ac['_isAttached'],this['_diffRoots']['set'](_0x307512,_0xa66ac),this['_diffRootsAttributes']['set'](_0x307512,_0x4df736);const _0x52d1cb=this['_makeIdsRoot'](_0xa66ac,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x307512,_0x52d1cb),_0x529783['set'](_0x307512,_0xa66ac['isAttached']()?_0x4df736:{});for(const [_0x3e77ac,_0x415931]of _0xa66ac['markers']){if(!_0x3e77ac['startsWith']('revision:'))continue;const _0x37a696=_0x3e77ac['split'](':')[0x2];for(const _0x320379 of _0x415931['getWalker']({'singleCharacters':!0x0})){const _0x224533=this['_getVidAttributeName'](_0x320379),_0x497675=this['_revisionId']++,_0x101865='elementEnd'==_0x320379['type']?_0x320379['previousPosition']['path']['slice'](0x0,-0x1):_0x320379['previousPosition']['path'];_0x52d1cb['getNodeByPath'](_0x101865)['_setAttribute'](_0x224533,_0x497675),this['_touched']['set'](_0x497675,{'userId':_0x37a696});}}for(const _0x42098e of this['editor']['model']['createRangeIn'](_0xa66ac)['getWalker']({'singleCharacters':!0x0})){const _0x4f9aed=this['_getVidAttributeName'](_0x42098e),_0x32d551='elementEnd'==_0x42098e['type']?_0x42098e['previousPosition']['path']['slice'](0x0,-0x1):_0x42098e['previousPosition']['path'],_0x355902=_0x52d1cb['getNodeByPath'](_0x32d551);_0x355902['getAttribute'](_0x4f9aed)>0x0||_0x355902['_setAttribute'](_0x4f9aed,_0x525217[_0x28c517++]);}for(const [_0x134efb,_0x4011a3]of _0xa66ac['markers'])_0x134efb['startsWith']('revision:')||this['_markers']['set'](_0x134efb,_0x4011a3);}const _0x3ce83c=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x3ce83c),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3ce83c,0x1));const _0x12c467=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x12c467),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x12c467,0x1));const _0xd09933=Array['from'](this['_diffRoots'])['map'](([_0x5f5a86,_0x20ed9f])=>[_0x5f5a86,q(_0x20ed9f)]);this['_saveMetaData'](this['_lastTo'],_0xd09933,this['_markers'],_0x529783);}['_makeModelFromViewString'](_0x256db9){const _0x23631c=JSON['parse'](_0x256db9),_0x54439a=this['editor']['editing']['view']['document'],_0x206db0=new _0x2d7c1c(_0x54439a,_0x23631c['map'](_0x5744ee=>B(_0x5744ee,this['editor'])));return this['editor']['data']['toModel'](_0x206db0);}['_saveMetaData'](_0x50e391,_0x6971c9,_0x51e78a,_0x48db2c){const _0xd638cd=new Map(_0x6971c9),_0x27cbf3=new Map(_0x536182(_0x48db2c)),_0x54ab7b=new Map();for(const [_0x58350d,_0x4c885e]of _0x51e78a)_0x54ab7b['set'](_0x58350d,{'start':_0x4c885e['start']['clone'](),'end':_0x4c885e['end']['clone'](),'rootName':_0x4c885e['root']['rootName']});this['_savedMetaData']['set'](_0x50e391,{'roots':_0xd638cd,'markers':_0x54ab7b,'rootsAttributes':_0x27cbf3});}['_removeMetaData'](_0x54c53b){this['_savedMetaData']['delete'](_0x54c53b);}['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'](_0xb3eec1,_0x4e63ea=null){let _0x2b09df=null;_0xb3eec1['is']('documentFragment')||(_0x2b09df=new ft(_0xb3eec1['name'],{'vid_start':null===_0x4e63ea?this['_revisionId']++:_0x4e63ea++}));const _0x2733b9=[];for(const _0x53b8b1 of _0xb3eec1['getChildren']())if(_0x53b8b1['is']('element')){_0x2733b9['push'](this['_makeIdsRoot'](_0x53b8b1,_0x4e63ea));const _0x9a744f=_0x2733b9[_0x2733b9['length']-0x1];null!==_0x4e63ea&&(_0x4e63ea=_0x9a744f['is']('element','$text')?_0x9a744f['getAttribute']('vid')+0x1:_0x9a744f['getAttribute']('vid_end')+0x1);}else{for(let _0x1a1141=0x0;_0x1a1141<_0x53b8b1['offsetSize'];_0x1a1141++)_0x2733b9['push'](new ft('$text',{'vid':null===_0x4e63ea?this['_revisionId']++:_0x4e63ea++}));}if(_0xb3eec1['is']('documentFragment')){const _0x343447=G(_0xb3eec1['rootName']);return _0x343447['_insertChild'](0x0,_0x2733b9),_0x343447;}return _0x2b09df['_setAttribute']('vid_end',null===_0x4e63ea?this['_revisionId']++:_0x4e63ea++),_0x2b09df['_insertChild'](0x0,_0x2733b9),_0x2b09df;}['_calculateMetaData'](_0x1056e2,_0x451549,_0x3e562d){this['_reset']();const {roots:_0x5b6e01,markers:_0x4253e8,rootsAttributes:_0x3c306c}=this['_savedMetaData']['get'](_0x1056e2);this['_baseRoots']=new Map(_0x5b6e01),this['_baseRootsAttributes']=new Map(_0x536182(_0x3c306c));for(const [_0x2b01be,_0xac7bea]of this['_baseRoots'])if('$graveyard'!==_0x2b01be&&(this['_diffRoots']['set'](_0x2b01be,q(_0xac7bea)),this['_diffRootsAttributes']=new Map(_0x536182(_0x3c306c)),_0x3e562d)){const _0x3a9831=this['_revisionId'];this['_idsRoots']['set'](_0x2b01be,this['_makeIdsRoot'](_0xac7bea)),this['_baseIdsRoots']['set'](_0x2b01be,this['_makeIdsRoot'](_0xac7bea,_0x3a9831));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3e562d&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x50c47f,_0x5be0df]of _0x4253e8){const _0x4450b3=this['_baseRoots']['get'](_0x5be0df['rootName']),_0x47e060=this['_diffRoots']['get'](_0x5be0df['rootName']),_0x5a0c02=new vt(this['_fixPosition'](_0x5be0df['start'],_0x4450b3),this['_fixPosition'](_0x5be0df['end'],_0x4450b3)),_0x3d6da9=this['_fixRange'](_0x5a0c02,_0x47e060);_0x4450b3['markers']['set'](_0x50c47f,_0x5a0c02),this['_markers']['set'](_0x50c47f,_0x3d6da9);}this['_applyOperations'](_0x1056e2,_0x451549,_0x3e562d);}['_applyOperations'](_0x306df4,_0x2b31d6,_0x25555a){for(const _0x1e333f of this['source']['getOperations'](_0x306df4,_0x2b31d6))this['_handleOperation'](_0x1e333f,_0x25555a);for(const _0x550451 of this['_diffRoots']['values']())_0x550451['markers']['clear']();for(const [_0x3184bb,_0x399c78]of this['_markers']){this['_diffRoots']['get'](_0x399c78['root']['rootName'])['markers']['set'](_0x3184bb,_0x399c78['clone']());}const _0xadf095=new Map(),_0x5d167c=new Map();for(const [_0x480e70,_0x22ea2f]of this['_diffRoots'])_0xadf095['set'](_0x480e70,q(_0x22ea2f)),_0x5d167c['set'](_0x480e70,this['_diffRootsAttributes']['get'](_0x480e70));this['_saveMetaData'](_0x2b31d6,_0xadf095,this['_markers'],_0x5d167c);}['_getPreviousFrom'](_0x329d78){const _0x31847a=Array['from'](this['_savedMetaData']['keys']());_0x31847a['sort']((_0x26ca4c,_0xe3360f)=>_0x26ca4c-_0xe3360f),_0x31847a['reverse']();for(const _0x70f16b of _0x31847a)if(_0x70f16b<_0x329d78)return _0x70f16b;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x37a21b,_0xe847e2){const _0x5d10dd=Array['from'](_0xe847e2['markers'])['map'](([_0x321587,_0x589815])=>[_0x321587,this['_fixRange'](_0x589815,_0x37a21b)]);_0x37a21b['markers']=new Map(_0x5d10dd);}['_transformMarkers'](_0x4db46c){for(const _0x2cf6ac of this['_markers']['values']()){const _0x18dbca=_0x2cf6ac['getTransformedByOperation'](_0x4db46c),_0x54f1df=vt['_createFromRanges'](_0x18dbca);_0x2cf6ac['start']=_0x54f1df['start'],_0x2cf6ac['end']=_0x54f1df['end'];}}['_handleOperation'](_0x26dfee,_0x2307c4){if('addRoot'==_0x26dfee['type']||'detachRoot'==_0x26dfee['type'])return void this['_handleRootOperation'](_0x26dfee,_0x2307c4);if('insert'==_0x26dfee['type']){const _0x42905a=_0x26dfee['position']['root']['rootName'];this['_diffRoots']['has'](_0x42905a)||(this['_diffRoots']['set'](_0x42905a,G(_0x42905a,!0x0)),this['_diffRootsAttributes']['set'](_0x42905a,{}),_0x2307c4&&this['_idsRoots']['set'](_0x42905a,G(_0x42905a,!0x0)));}else{if('addRootAttribute'==_0x26dfee['type']||'removeRootAttribute'==_0x26dfee['type']||'changeRootAttribute'==_0x26dfee['type'])return void this['_handleRootAttributeOperation'](_0x26dfee);}const _0x45fa1f=this['_cloneOperation'](_0x26dfee,this['_diffRoots']);if('marker'!==_0x26dfee['type']&&(_0x45fa1f['_execute'](),this['_transformMarkers'](_0x45fa1f)),_0x2307c4)switch(_0x45fa1f['type']){case'insert':this['_handleInsertOperation'](_0x26dfee);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x26dfee);break;case'merge':this['_handleMergeOperation'](_0x26dfee);break;case'split':this['_handleSplitOperation'](_0x26dfee);break;case'marker':this['_handleMarkerOperation'](_0x26dfee);}}['_cloneOperation'](_0x3bf6a4,_0x1b6eaf){const _0x5cc1ca=_0x3bf6a4['clone']();return _0x5cc1ca['_authorId']=_0x3bf6a4['_authorId'],this['_fixOperation'](_0x5cc1ca,_0x1b6eaf),_0x5cc1ca;}['_getBaseVids'](_0x3964ad){return _0x3964ad['map'](_0x599fb0=>{const _0xdf8682=this['_getVidAttributeName'](_0x599fb0);return Number(_0x599fb0['item']['getAttribute'](_0xdf8682));});}['_generateTape'](_0x283034,_0x188ef2){if(_0x283034['is']('element','$text'))_0x188ef2['push']({'item':_0x283034,'type':'text'});else{_0x283034['is']('element')&&_0x188ef2['push']({'item':_0x283034,'type':'elementStart'});for(const _0x1262ae of _0x283034['getChildren']())this['_generateTape'](_0x1262ae,_0x188ef2);_0x283034['is']('element')&&_0x188ef2['push']({'item':_0x283034,'type':'elementEnd'});}return _0x188ef2;}['_getState'](){const _0x102118=new Map(this['_touched']),_0x485bca=new Map(_0x102118),_0x272c51=new Map(),_0x135f91={'insertions':{},'deletions':{}},_0x4eef8e={'insertions':{},'deletions':{}},_0x209017=new Map(),_0x4681f5=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x4681f5['delete']('$graveyard');for(const _0x296d4e of _0x4681f5){const _0x278f49=this['_diffRoots']['get'](_0x296d4e)||G(_0x296d4e,!0x1),_0x379120=this['_baseRoots']['get'](_0x296d4e)||G(_0x296d4e,!0x1);_0x278f49['isAttached']()||_0x379120['isAttached']()?(_0x135f91['insertions'][_0x296d4e]=q(_0x278f49),_0x135f91['deletions'][_0x296d4e]=q(_0x379120),this['_copyMarkers'](_0x135f91['deletions'][_0x296d4e],_0x379120),this['_copyMarkers'](_0x135f91['insertions'][_0x296d4e],_0x278f49),_0x4eef8e['insertions'][_0x296d4e]=this['_generateTape'](this['_idsRoots']['get'](_0x296d4e),[]),_0x4eef8e['deletions'][_0x296d4e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x296d4e)||G(_0x296d4e,!0x1),[])):_0x4681f5['delete'](_0x296d4e);}for(const _0x59b543 of _0x4681f5){const _0x2e6688=_0x4eef8e['insertions'][_0x59b543];for(const _0xa63e46 of _0x2e6688){const _0x2afc19=this['_getVidAttributeName'](_0xa63e46),_0x5cc110=_0xa63e46['item']['getAttribute'](_0x2afc19);_0x485bca['delete'](_0x5cc110),_0x5cc110>=this['_startingRevisionId']&&_0x272c51['set'](_0x5cc110,_0x102118['get'](_0x5cc110));}}for(const _0xb550e2 of _0x4681f5){const _0x2765fb=_0x4eef8e['insertions'][_0xb550e2],_0x36dd64=this['_getBaseVids'](_0x4eef8e['deletions'][_0xb550e2]);let _0x21981e=0x0;for(const _0xbde472 of _0x2765fb){const _0x214a38=this['_getVidAttributeName'](_0xbde472),_0xf1e8cd=_0xbde472['item']['getAttribute'](_0x214a38);if(!_0x272c51['has'](_0xf1e8cd)&&!_0x209017['has'](_0xf1e8cd)){if(_0x485bca['has'](_0xf1e8cd))_0x21981e++;else{if(_0xf1e8cd!=_0x36dd64[_0x21981e]){const _0x324210=_0x102118['get'](_0xf1e8cd)||_0x102118['get'](_0x36dd64[_0x21981e]);for(;_0xf1e8cd!=_0x36dd64[_0x21981e];)_0x485bca['has'](_0x36dd64[_0x21981e])||(_0x209017['set'](_0x36dd64[_0x21981e],_0x324210),_0x102118['set'](_0x36dd64[_0x21981e],_0x324210)),_0x21981e++;}_0x21981e++;}}}}for(const _0x3a8ea3 of _0x4681f5){const _0x11a1c2=_0x4eef8e['insertions'][_0x3a8ea3];for(const _0x29bbca of _0x11a1c2){const _0x2caafb=this['_getVidAttributeName'](_0x29bbca),_0x4f00f1=_0x29bbca['item']['getAttribute'](_0x2caafb);if(_0x209017['has'](_0x4f00f1)){const _0x1df55f=_0x209017['get'](_0x4f00f1);_0x485bca['has'](_0x4f00f1)||_0x485bca['set'](_0x4f00f1,{..._0x1df55f}),_0x272c51['set'](_0x4f00f1,{..._0x1df55f});}}}for(const _0x1a3cd0 of _0x485bca['keys']())_0x1a3cd0>=this['_startingRevisionId']&&_0x485bca['delete'](_0x1a3cd0);const _0x28ffb5=new Map();for(const _0x4f1b89 of _0x4681f5){let _0x2eb4dc=_0x4eef8e['insertions'][_0x4f1b89];for(const _0x35c900 of _0x2eb4dc)if(_0x35c900['item']['is']('element','tableCell')){const _0x16bb37=this['_getVidAttributeName'](_0x35c900),_0x213ace=_0x35c900['item']['getAttribute'](_0x16bb37);if(_0x272c51['has'](_0x213ace)){const _0x3efe27=_0x35c900['item']['parent']['parent']['getAttribute']('vid_start'),_0x5a7364=_0x28ffb5['get'](_0x3efe27)||new Set();_0x5a7364['add'](_0x272c51['get'](_0x213ace)['userId']),_0x28ffb5['set'](_0x3efe27,_0x5a7364);}}_0x2eb4dc=_0x4eef8e['deletions'][_0x4f1b89];for(const _0xe08061 of _0x2eb4dc)if(_0xe08061['item']['is']('element','tableCell')){const _0x55a9cc=this['_getVidAttributeName'](_0xe08061),_0x53799e=_0xe08061['item']['getAttribute'](_0x55a9cc);if(_0x485bca['has'](_0x53799e)){const _0x3d3d4c=_0xe08061['item']['parent']['parent']['getAttribute']('vid_start'),_0x5496a0=_0x28ffb5['get'](_0x3d3d4c)||new Set();_0x5496a0['add'](_0x485bca['get'](_0x53799e)['userId']),_0x28ffb5['set'](_0x3d3d4c,_0x5496a0);}}for(const _0x1c338b of _0x28ffb5['keys']())(_0x272c51['has'](_0x1c338b)||_0x485bca['has'](_0x1c338b))&&_0x28ffb5['delete'](_0x1c338b);}for(const _0x5a5acf of _0x4681f5){const _0x4951eb=_0x4eef8e['insertions'][_0x5a5acf];let _0x7ac2ec=null,_0x366777=null;for(const _0x8f3fa1 of _0x4951eb){const _0x580d61=this['_getVidAttributeName'](_0x8f3fa1),_0x1b5279=_0x8f3fa1['item']['getAttribute'](_0x580d61),_0x78ebc9=_0x28ffb5['get'](_0x1b5279);_0x78ebc9&&'elementStart'==_0x8f3fa1['type']&&(_0x7ac2ec=Array['from'](_0x78ebc9)[0x0],_0x366777=_0x8f3fa1['item']['getAttribute']('vid_end')),_0x7ac2ec&&(_0x485bca['set'](_0x1b5279,{'userId':_0x7ac2ec}),_0x272c51['set'](_0x1b5279,{'userId':_0x7ac2ec})),_0x1b5279==_0x366777&&(_0x7ac2ec=null,_0x366777=null);}}const _0x4f4997={},_0x2aa58e=new Set();for(const _0x203a33 of _0x4681f5){const _0x4622e2=_0x135f91['deletions'][_0x203a33],_0x481548=_0x135f91['insertions'][_0x203a33];for(const {userId:_0x32e78e}of this['_touchedMarkers']['values']())null!==_0x32e78e&&_0x2aa58e['add'](_0x32e78e);for(const {userId:_0x548acf}of this['_touchedRoots']['values']())null!==_0x548acf&&_0x2aa58e['add'](_0x548acf);this['_markChanges'](_0x481548,_0x4eef8e['insertions'][_0x203a33],_0x272c51,'insertion',_0x2aa58e),this['_markChanges'](_0x4622e2,_0x4eef8e['deletions'][_0x203a33],_0x485bca,'deletion',_0x2aa58e),_0x4f4997[_0x203a33]={'insertions':this['_prepareViewToSave'](_0x481548),'deletions':this['_prepareViewToSave'](_0x4622e2),'attachChange':this['_touchedRoots']['get'](_0x203a33)||null,'attributesBefore':_0x536182(this['_baseRootsAttributes']['get'](_0x203a33))||{},'attributesAfter':_0x536182(this['_diffRootsAttributes']['get'](_0x203a33))};}return{'diffData':_0x4f4997,'authorsIds':Array['from'](_0x2aa58e)};}['_processRootBeforeSave'](_0x483eec){for(const [,_0x1403d]of _0x483eec['markers']){const _0x1c7c03=_0x1403d['start']['getAncestors']()['filter'](_0x23e091=>'tableCell'==_0x23e091['name']);for(const _0x53f8fa of _0x1c7c03)0x1==_0x53f8fa['childCount']&&_0x53f8fa['getChild'](0x0)['is']('element','paragraph')&&_0x53f8fa['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x47cd75){this['_processRootBeforeSave'](_0x47cd75);const _0x16b6e8=this['editor']['data']['toView'](_0x47cd75,{}),_0x1ef23a=Array['from'](_0x16b6e8['getChildren']())['map'](_0x330900=>this['_getViewJson'](_0x330900));return JSON['stringify'](_0x1ef23a);}['_getViewJson'](_0x53c5eb){if(_0x53c5eb['is']('$text'))return _0x53c5eb['data'];{const _0x5f25a8=_0x53c5eb;return{'type':Object['keys'](T)['find'](_0x3d049d=>_0x53c5eb instanceof T[_0x3d049d]),'name':_0x5f25a8['name'],'attributes':Array['from'](_0x5f25a8['getAttributes']()),'children':Array['from'](_0x5f25a8['getChildren']())['map'](_0x3c6045=>this['_getViewJson'](_0x3c6045))};}}['_markChanges'](_0x2e586d,_0x5de28a,_0x579e8a,_0xd4732d,_0x582493){let _0x403b61=null,_0x3d8715=null,_0x179559=0x0;const _0x4b4158=this['editor']['model'];for(let _0x17eabb=0x0;_0x17eabb<_0x5de28a['length'];_0x17eabb++){const _0x2dd3e2=this['_getVidAttributeName'](_0x5de28a[_0x17eabb]),_0x33771c=_0x5de28a[_0x17eabb]['item']['getAttribute'](_0x2dd3e2),_0xc054f2=_0x579e8a['get'](_0x33771c),_0x5a3cd=_0x17eabb==_0x5de28a['length']-0x1;(!_0x403b61&&_0xc054f2&&(_0x403b61=_0xc054f2,_0x3d8715=_0x5de28a[_0x17eabb]),_0x403b61&&(!_0xc054f2||_0xc054f2['userId']!=_0x403b61['userId']))&&(_0xe6c403(_0xc054f2,L(_0x3d8715,_0x2e586d,_0x4b4158),L(_0x5de28a[_0x17eabb],_0x2e586d,_0x4b4158)),_0x403b61=_0xc054f2||null,_0x3d8715=_0xc054f2?_0x5de28a[_0x17eabb]:null),_0x403b61&&_0x5a3cd&&_0xe6c403(_0xc054f2,L(_0x3d8715,_0x2e586d,_0x4b4158),W(_0x5de28a[_0x17eabb],_0x2e586d,_0x4b4158));}function _0xe6c403(_0x30f324,_0xa43bd6,_0x40f278){const _0x32a2c5=_0x403b61['userId'],_0x5a968a='revision:'+_0xd4732d+':'+_0x32a2c5+':'+_0x179559++,_0x283e8a=_0x4b4158['createRange'](_0xa43bd6,_0x40f278);_0x2e586d['markers']['set'](_0x5a968a,_0x283e8a),null!==_0x32a2c5&&_0x582493['add'](_0x32a2c5);}}['_getVidAttributeName'](_0x3ba209){switch(_0x3ba209['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x395262,_0xc82b0b){_0x395262['baseVersion']=null;for(const _0x115e8a in _0x395262){const _0x342a24=_0x395262[_0x115e8a];if(_0x342a24 instanceof gt){const _0x2744d6=_0xc82b0b['get'](_0x342a24['root']['rootName']);_0x395262[_0x115e8a]=this['_fixPosition'](_0x342a24,_0x2744d6);}if(_0x342a24 instanceof vt){const _0x4fb926=_0xc82b0b['get'](_0x342a24['root']['rootName']);_0x395262[_0x115e8a]=this['_fixRange'](_0x342a24,_0x4fb926);}'root'===_0x115e8a&&(_0x395262['root']=_0xc82b0b['get'](_0x395262['root']['rootName']));}}['_fixRange'](_0x182b77,_0x5a602c){return this['editor']['model']['createRange'](this['_fixPosition'](_0x182b77['start'],_0x5a602c),this['_fixPosition'](_0x182b77['end'],_0x5a602c));}['_fixPosition'](_0x292785,_0x59d9a1){return this['editor']['model']['createPositionFromPath'](_0x59d9a1,_0x292785['path'],_0x292785['stickiness']);}['_handleInsertOperation'](_0x3a9696){const _0xa1565b=this['_idsRoots']['get'](_0x3a9696['position']['root']['rootName']),_0x1c7fe2=this['_fixPosition'](_0x3a9696['position'],_0xa1565b),_0x2b0f96=null===_0x3a9696['_authorId']?null:_0x3a9696['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4869d2=_0x1c7fe2['parent'],_0x36c517=this['_revisionId'],_0x5188ff=[];for(const _0x58da24 of _0x3a9696['nodes'])if(_0x58da24['is']('element'))_0x5188ff['push'](this['_makeIdsRoot'](_0x58da24));else{for(let _0x3f780a=0x0;_0x3f780a<_0x58da24['offsetSize'];_0x3f780a++)_0x5188ff['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1ac261=this['_revisionId'];for(let _0x14d751=_0x36c517;_0x14d751<_0x1ac261;_0x14d751++)this['_touched']['set'](_0x14d751,{'userId':_0x2b0f96});_0x4869d2['_insertChild'](_0x1c7fe2['offset'],_0x5188ff);}['_handleMoveOperation'](_0x12026f){(_0x12026f=this['_cloneOperation'](_0x12026f,this['_idsRoots']))['_execute']();const _0x184b5b=null===_0x12026f['_authorId']?null:_0x12026f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5d7212=_0x12026f['getMovedRangeStart'](),_0x4409b9=_0x5d7212['parent'],_0x41ee6e=_0x5d7212['offset'];!function _0x3d7092(_0x14302a,_0x1b7f69,_0x20628a,_0x1559ff){for(let _0x50fa46=_0x20628a;_0x50fa46<_0x1559ff;_0x50fa46++){const _0x489428=_0x1b7f69['getChild'](_0x50fa46);_0x489428['is']('element','$text')?_0x14302a['set'](_0x489428['getAttribute']('vid'),{'userId':_0x184b5b}):(_0x14302a['set'](_0x489428['getAttribute']('vid_start'),{'userId':_0x184b5b}),_0x3d7092(_0x14302a,_0x489428,0x0,_0x489428['childCount']),_0x14302a['set'](_0x489428['getAttribute']('vid_end'),{'userId':_0x184b5b}));}}(this['_touched'],_0x4409b9,_0x41ee6e,_0x41ee6e+_0x12026f['howMany']);}['_handleMergeOperation'](_0x43276a){const _0x214da0=null===(_0x43276a=this['_cloneOperation'](_0x43276a,this['_idsRoots']))['_authorId']?null:_0x43276a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x589c62=_0x43276a['targetPosition']['parent'],_0x2281ab=_0x43276a['sourcePosition']['parent'],_0x3708ac=_0x589c62['getAttribute']('vid_end'),_0x1c7784=_0x2281ab['getAttribute']('vid_start');_0x589c62['_setAttribute']('vid_end',_0x2281ab['getAttribute']('vid_end')),_0x2281ab['_setAttribute']('vid_end',_0x3708ac),this['_touched']['set'](_0x1c7784,{'userId':_0x214da0}),this['_touched']['set'](_0x3708ac,{'userId':_0x214da0}),_0x43276a['_execute']();}['_handleSplitOperation'](_0x8b040a){const _0xa91dab=null===(_0x8b040a=this['_cloneOperation'](_0x8b040a,this['_idsRoots']))['_authorId']?null:_0x8b040a['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b0971=_0x8b040a['graveyardPosition'],_0x4b91f4=_0x8b040a['splitPosition']['parent'];_0x8b040a['_execute']();const _0x10e4d6=_0x4b91f4['getAttribute']('vid_end'),_0x2550d8=_0x8b040a['insertionPosition']['nodeAfter'];if(_0x4b0971){const _0x682506=_0x2550d8['getAttribute']('vid_end'),_0x57b03b=_0x4b91f4['getAttribute']('vid_end');_0x4b91f4['_setAttribute']('vid_end',_0x682506),_0x2550d8['_setAttribute']('vid_end',_0x57b03b),this['_touched']['set'](_0x4b91f4['getAttribute']('vid_end'),{'userId':_0xa91dab}),this['_touched']['set'](_0x2550d8['getAttribute']('vid_start'),{'userId':_0xa91dab});}else{const _0x416a23=this['_revisionId']++,_0x1d92c5=this['_revisionId']++;_0x4b91f4['_setAttribute']('vid_end',_0x416a23),_0x2550d8['_setAttribute']('vid_start',_0x1d92c5),_0x2550d8['_setAttribute']('vid_end',_0x10e4d6),this['_touched']['set'](_0x416a23,{'userId':_0xa91dab}),this['_touched']['set'](_0x1d92c5,{'userId':_0xa91dab});}}['_handleMarkerOperation'](_0x1a9344){if(!_0x1a9344['affectsData'])return;const _0x4a1c40=(_0x1a9344=this['_cloneOperation'](_0x1a9344,this['_diffRoots']))['oldRange']?_0x1a9344['oldRange']['root']:null,_0x52c1e1=_0x1a9344['newRange']?_0x1a9344['newRange']['root']:null;_0x4a1c40&&this['_markers']['delete'](_0x1a9344['name']),_0x52c1e1&&this['_markers']['set'](_0x1a9344['name'],_0x1a9344['newRange']['clone']());const _0x39bc11=null===_0x1a9344['_authorId']?null:_0x1a9344['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1dc85a=_0x1a9344['name'];if(!this['_touchedMarkers']['has'](_0x1dc85a))return void this['_touchedMarkers']['set'](_0x1dc85a,{'range':_0x1a9344['oldRange'],'userId':_0x39bc11});const _0xcfe010=this['_touchedMarkers']['get'](_0x1dc85a),_0x24c914=_0xcfe010['range'],_0x17050c=_0x1a9344['newRange'];null==_0x24c914&&null==_0x17050c||_0x24c914&&_0x17050c&&_0x24c914['isEqual'](_0x17050c)?this['_touchedMarkers']['delete'](_0x1a9344['name']):_0xcfe010['userId']=_0x39bc11;}['_handleRootOperation'](_0x38c4b3,_0x4d08e7){this['_diffRoots']['has'](_0x38c4b3['rootName'])?this['_diffRoots']['get'](_0x38c4b3['rootName'])['_isAttached']=_0x38c4b3['isAdd']:(this['_diffRoots']['set'](_0x38c4b3['rootName'],G(_0x38c4b3['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x38c4b3['rootName'],{}),_0x4d08e7&&this['_idsRoots']['set'](_0x38c4b3['rootName'],G(_0x38c4b3['rootName'],!0x0)));const _0x3ca344=null===_0x38c4b3['_authorId']?null:_0x38c4b3['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x362b2f=this['_touchedRoots']['get'](_0x38c4b3['rootName']);_0x362b2f&&_0x362b2f['userId']===_0x3ca344?this['_touchedRoots']['delete'](_0x38c4b3['rootName']):this['_touchedRoots']['set'](_0x38c4b3['rootName'],{'userId':_0x3ca344,'isAttached':_0x38c4b3['isAdd']});}['_handleRootAttributeOperation'](_0x46a438){const _0x3ac271=this['_diffRootsAttributes']['get'](_0x46a438['root']['rootName']);null===_0x46a438['newValue']?delete _0x3ac271[_0x46a438['key']]:_0x3ac271[_0x46a438['key']]=_0x46a438['newValue'];}}function q(_0x56c301){const _0x45706a=G(_0x56c301['rootName'],_0x56c301['isAttached']());for(const _0x438c6d of _0x56c301['getChildren']()){const _0x277464=_0x438c6d['_clone'](!0x0);_0x45706a['_appendChild'](_0x277464);}return _0x45706a;}function G(_0x4a5d33,_0x4aeaf5=!0x0){const _0x2ba7fd=new wt();return _0x2ba7fd['rootName']=_0x4a5d33,_0x2ba7fd['_isAttached']=_0x4aeaf5,_0x2ba7fd['isAttached']=()=>_0x2ba7fd['_isAttached'],_0x2ba7fd;}function L(_0x1d4b13,_0x16b262,_0x4c01f6){const _0x2a9c6b='elementEnd'==_0x1d4b13['type']?_0x4c01f6['createPositionAt'](_0x1d4b13['item'],'end'):_0x4c01f6['createPositionBefore'](_0x1d4b13['item']);return _0x4c01f6['createPositionFromPath'](_0x16b262,_0x2a9c6b['path'],_0x2a9c6b['stickiness']);}function W(_0x12b182,_0x5ce55e,_0x179841){const _0x5ef077='elementStart'==_0x12b182['type']?_0x179841['createPositionAt'](_0x12b182['item'],0x0):_0x179841['createPositionAfter'](_0x12b182['item']);return _0x179841['createPositionFromPath'](_0x5ce55e,_0x5ef077['path'],_0x5ef077['stickiness']);}class ns extends _0x49e48e{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x388f73,_0x4240a1){super(_0x388f73),this['focusTracker']=new _0x2abd71(),this['keystrokes']=new _0x193dad(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x4240a1),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'](),_0x313d92({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xfc87ca=_0x3adef0=>_0x3adef0['stopPropagation']();this['keystrokes']['set']('arrowright',_0xfc87ca),this['keystrokes']['set']('arrowleft',_0xfc87ca),this['keystrokes']['set']('arrowup',_0xfc87ca),this['keystrokes']['set']('arrowdown',_0xfc87ca);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x1b3ef2){this['revisionNameInputView']['fieldView']['element']['value']=_0x1b3ef2['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x1c14ce){const _0x554d76=new at(this['locale'],_0x35fbb1),_0x1f2261=_0x554d76['fieldView'];_0x1f2261['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x1558b0=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x1c14ce&&(_0x1558b0+='\x20('+y(this['locale'],'optional')+')'),(_0x554d76['label']=_0x1558b0,_0x1f2261['on']('input',()=>{this['revisionNameInputValue']=_0x1f2261['element']['value']['trim']();}),_0x554d76);}}class u extends _0x57a85d{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x20ded4=this['editor'],_0x5bc013=_0x20ded4['plugins']['get']('RevisionTracker');_0x20ded4['ui']['componentFactory']['add']('revisionHistory',_0x3d7476=>{const _0x30e2fb=_0x5d272b(_0x3d7476),_0x722474=_0x30e2fb['panelView']['children'],_0xdbaa4=new te(_0x3d7476),_0x384d72=new _0x1ba8dd(_0x3d7476),_0x8c298f=new _0x21acdf(_0x3d7476),_0x5bba32=new _0x1ba8dd(_0x3d7476),_0x136aa1=new _0x21acdf(_0x3d7476);return _0x30e2fb['bind']('isEnabled')['to'](_0x5bc013,'isReady',_0x5bc013,'isEnabled',_0x20ded4,'isReadOnly',(_0x3eb8d9,_0x2ec5ab,_0x456257)=>_0x3eb8d9&&_0x2ec5ab&&!_0x456257),_0x30e2fb['buttonView']['set']({'icon':_0x41e769['history'],'label':y(_0x3d7476,'Revision\x20history'),'tooltip':!0x0}),_0x8c298f['set']({'label':y(_0x3d7476,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x8c298f['bind']('isEnabled')['to'](_0x5bc013,'isReady',_0x5bc013,'isEnabled',_0x20ded4,'isReadOnly',(_0x411b05,_0x15b29c,_0xc89ee2)=>_0x411b05&&_0x15b29c&&!_0xc89ee2),_0x8c298f['on']('execute',()=>this['_showDialog']()),_0x136aa1['set']({'label':y(_0x3d7476,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x136aa1['bind']('isEnabled')['to'](_0x5bc013,'isReady',_0x20ded4,'isReadOnly',(_0x21618f,_0x25cad1)=>_0x21618f&&!_0x25cad1),_0x136aa1['on']('execute',()=>{_0x20ded4['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x30e2fb['isOpen']=!0x1,_0x20ded4['editing']['view']['focus']();}),_0x384d72['children']['add'](_0x8c298f),_0x5bba32['children']['add'](_0x136aa1),_0xdbaa4['role']='menu',_0xdbaa4['items']['addMany']([_0x384d72,_0x5bba32]),_0x722474['add'](_0xdbaa4),_0x30e2fb;}),_0x20ded4['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x26c648=this['editor'],_0x4a343b=_0x26c648['locale'],_0x34bd7e=new _0xde1e4b(_0x4a343b),_0x146f0f=new _0x5dae77(_0x4a343b);_0x34bd7e['buttonView']['set']({'icon':_0x41e769['history'],'label':y(_0x4a343b,'Revision\x20history')});const _0x101707=new _0x35fd48(_0x4a343b,_0x34bd7e),_0x295188=new _0x207c61(_0x4a343b);_0x295188['set']({'label':y(_0x4a343b,'Save\x20current\x20revision')}),_0x295188['delegate']('execute')['to'](_0x34bd7e),_0x295188['on']('execute',()=>{this['_showDialog']();}),_0x101707['children']['add'](_0x295188),_0x146f0f['items']['add'](_0x101707);const _0x419146=new _0x35fd48(_0x4a343b,_0x34bd7e),_0x36976f=new _0x207c61(_0x4a343b);return _0x36976f['set']({'label':y(_0x4a343b,'Open\x20revision\x20history')}),_0x36976f['delegate']('execute')['to'](_0x34bd7e),_0x36976f['on']('execute',()=>{_0x26c648['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x419146['children']['add'](_0x36976f),_0x146f0f['items']['add'](_0x419146),_0x34bd7e['panelView']['children']['add'](_0x146f0f),_0x34bd7e;}['_showDialog'](){const _0x14473a=this['editor'],_0x5022f1=_0x14473a['locale'],t=_0x5022f1['t'],_0x1b7e8e=_0x14473a['plugins']['get']('Dialog'),_0x30728d=_0x14473a['plugins']['get']('RevisionTracker');function _0x112118(_0x21eb02){_0x14473a['config']['get']('revisionHistory.requireRevisionName')&&''===_0x21eb02['revisionName']?_0x21eb02['revisionNameInputView']['errorText']=y(_0x5022f1,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x14473a['plugins']['get'](l)['saveRevision']({'name':_0x21eb02['revisionName']}),_0x1b7e8e['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x112118(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x1b7e8e['show']({'id':'findAndReplace','title':y(_0x5022f1,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x1b7e8e['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0xa85dc0){_0xa85dc0['bind']('isEnabled')['to'](_0x30728d,'isReady',_0x30728d,'isEnabled',_0x14473a,'isReadOnly',(_0x1fb9ec,_0x1fb173,_0x2c95d2)=>_0x1fb9ec&&_0x1fb173&&!_0x2c95d2);},'onExecute':()=>_0x112118(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x2dd646=this['editor'],_0x1eff05=_0x2dd646['locale'];this['_saveRevisionFormView']=new ns(_0x1eff05,_0x2dd646['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x49e48e{['changeId'];['_model'];constructor(_0x58a6ed,_0x2f3336){super(_0x58a6ed),this['_model']=_0x2f3336,this['changeId']=_0x2f3336['id'];const _0x8d1c96=this['bindTemplate'],_0x2c38d1=y(_0x58a6ed,_0x2f3336['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2f3336['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2f3336['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x8d1c96['to']('type',_0x37acdb=>'ck-revision-change__'+_0x37acdb)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x2c38d1}]},{'text':'\x20'+_0x2f3336['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x204fd2(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x3d26cb){super(),this['id']=_0x3d26cb['id']||_0x116f6a(),this['author']=_0x3d26cb['author'],this['type']=_0x3d26cb['type'],this['data']=_0x3d26cb['data']||{},this['rootName']=_0x3d26cb['rootName'],this['set']('createdAt',_0x3d26cb['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(_0x567363,_0x2c868e){this['newRevisionId']=_0x567363,this['oldRevisionId']=_0x2c868e,this['changes']=new _0xa8238a();}['_setChanges'](_0x54cfcb){for(const _0x31e7ed of _0x54cfcb)this['changes']['add'](_0x31e7ed);}}const tt={'c':_0x42bf80,'a':_0xebe170,'e':_0x598347,'r':_0x1b6226,'u':_0x2e64ea};class d extends _0x57a85d{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x2acf04,_0x58f6a3,A];}constructor(_0x498427){super(_0x498427),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',(_0x276e5b,_0x1ca1ed,_0x123de7)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x4bb8b6=>{for(const _0x20890c of this['editor']['editing']['view']['document']['roots'])_0x123de7?_0x4bb8b6['removeClass']('ck-editor__editable__overlay',_0x20890c):_0x4bb8b6['addClass']('ck-editor__editable__overlay',_0x20890c);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4255e2=>null!==_0x4255e2),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x22ee1f,_0x4a56b8,_0x58d64a)=>_0x22ee1f&&_0x58d64a?_0x4a56b8['changes']['getIndex'](_0x58d64a):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x41b75d,_0x10dff0)=>_0x41b75d?_0x10dff0['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x58f6a3);}['init'](){const _0x36073a=this['editor'],_0x4e748c=new yt(_0x36073a,{'direction':'backward'}),_0x2b9b20=new yt(_0x36073a,{'direction':'forward'});(_0x36073a['commands']['add']('showPreviousChange',_0x4e748c),_0x36073a['commands']['add']('showNextChange',_0x2b9b20),_0x36073a['commands']['add']('restoreRevision',new bt(_0x36073a)),this['on']('change:numberOfChanges',()=>{_0x4e748c['refresh'](),_0x2b9b20['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x36073a['enableReadOnlyMode']('revision-viewer'),_0x36073a['plugins']['has']('WidgetToolbarRepository'))&&_0x36073a['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2b8903){await this['loadRevisionData'](_0x2b8903);const _0x1d8bff={};for(const _0x1a8888 in _0x2b8903['diffData']){if(_0x2b8903['diffData'][_0x1a8888]['attachChange']&&!_0x2b8903['diffData'][_0x1a8888]['attachChange']['isAttached'])continue;const _0x54c7a4=this['_removeRevisionMarkers'](JSON['parse'](_0x2b8903['diffData'][_0x1a8888]['insertions'])),_0x571c6c=this['editor']['editing']['view']['document'],_0x549410=new _0x2d7c1c(_0x571c6c,_0x54c7a4['map'](_0x21da62=>this['_getViewObj'](_0x21da62)));this['editor']['data']['processor']['useFillerType']('marked'),_0x1d8bff[_0x1a8888]=this['editor']['data']['processor']['toData'](_0x549410),this['editor']['data']['processor']['useFillerType']('default');}return _0x1d8bff;}async['getRevisionRootsAttributes'](_0x11eb8b){await this['loadRevisionData'](_0x11eb8b);const _0x1a06fb={};for(const _0x1be286 in _0x11eb8b['diffData'])_0x11eb8b['diffData'][_0x1be286]['attachChange']&&!_0x11eb8b['diffData'][_0x1be286]['attachChange']['isAttached']||(_0x1a06fb[_0x1be286]=_0x11eb8b['diffData'][_0x1be286]['attributesAfter']||{});return _0x1a06fb;}['_removeRevisionMarkers'](_0x4b9f6a){return(_0x4b9f6a=_0x4b9f6a['filter'](_0x4f3e7f=>!_0x4f3e7f['name']||'revision-start'!==_0x4f3e7f['name']&&'revision-end'!==_0x4f3e7f['name']))['forEach'](_0x101e14=>{'string'!=typeof _0x101e14&&(_0x101e14['children']=this['_removeRevisionMarkers'](_0x101e14['children']),_0x101e14['attributes']=_0x101e14['attributes']['filter'](_0xf437a1=>!_0xf437a1[0x0]['startsWith']('data-revision-')));}),_0x4b9f6a;}async['compare'](_0x4971fd,_0x4293ac,_0x1f4f8a=!0x1){if(!this['isEnabled'])return;const _0x39bae6=this['diff'],_0x4cce66=this['repository'],_0x3df6f7='string'==typeof _0x4971fd?_0x4cce66['getRevision'](_0x4971fd):_0x4971fd,_0x2ea232='string'==typeof _0x4293ac?_0x4cce66['getRevision'](_0x4293ac):_0x4293ac,_0x5ee159=_0x3df6f7['id'],_0x539e3a=_0x2ea232?_0x2ea232['id']:null;if(!_0x1f4f8a&&this['diff']&&this['diff']['newRevisionId']===_0x5ee159&&this['diff']['oldRevisionId']===_0x539e3a)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x5ee159,_0x539e3a);const _0x5ec641=this['_getRevisionsRange'](_0x3df6f7,_0x2ea232,!0x0)['map'](_0x15d821=>this['loadRevisionData'](_0x15d821));return _0x5ec641['push'](new Promise(_0x38b62f=>{setTimeout(_0x38b62f,0x14);})),Promise['all'](_0x5ec641)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x5c1ddb=this['_getDiff'](_0x5ee159,_0x539e3a);for(const _0x581458 of _0x5c1ddb['changes'])this['_changeIdToChange']['set'](_0x581458['id'],_0x581458);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0xeaa3c8=>{for(const _0x400324 of this['editor']['model']['document']['getRootNames']())_0xeaa3c8['detachRoot'](_0x400324);for(const _0x1700c1 of Object['keys'](_0x5c1ddb['model'])){const _0x5f1ff0=_0xeaa3c8['addRoot'](_0x1700c1);for(const _0x16d326 of Object['keys'](_0x5c1ddb['attributes'][_0x1700c1]))_0xeaa3c8['setAttribute'](_0x16d326,_0x5c1ddb['attributes'][_0x1700c1][_0x16d326],_0x5f1ff0);_0xeaa3c8['insert'](_0x5c1ddb['model'][_0x1700c1],_0x5f1ff0,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x5c1ddb['changes'])),this['isReady']=!0x0;})['catch'](_0x202958=>{console['error'](_0x202958),this['_cleanUp'](),_0x39bae6&&(this['diff']=_0x39bae6),this['isReady']=!0x0;});}['addRevisionData'](_0x391c63,_0xf2c7ea){const _0x40fce3=this['repository']['createRevision'](_0x391c63);return _0x40fce3['on']('_update',(_0x54ce86,_0x150b1e,_0x4f4150)=>_0xf2c7ea(_0x150b1e,_0x4f4150,_0x40fce3)),this['repository']['addRevision'](_0x40fce3),_0x40fce3;}['loadRevisionData'](_0x45584d){if(!_0x45584d||_0x45584d['diffData'])return Promise['resolve']();{const _0x15ff48=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x15ff48,'revisionId':_0x45584d['id']})['then'](_0x4bd7b9=>{_0x45584d['_update']({'diffData':_0x4bd7b9['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},_0x11836a=>{for(const _0x5267bd of this['editor']['model']['document']['getRootNames']())_0x11836a['detachRoot'](_0x5267bd);});}['_sortAndFilterDiffChanges'](_0x43c511){const _0xcca442=[],_0xfae889=new Map();for(const _0x2b3219 of this['editor']['model']['document']['getRootNames']()){const _0xbf337d=this['editor']['editing']['view']['getDomRoot'](_0x2b3219);if(!_0xbf337d)continue;const _0x1f8805=_0xbf337d['getClientRects']()['item'](0x0);_0x1f8805&&(_0xcca442['push'](_0x2b3219),_0xfae889['set'](_0x2b3219,_0x1f8805));}return _0xcca442['sort']((_0x34a48f,_0x43d9b7)=>{const _0x2b9a39=_0xfae889['get'](_0x34a48f),_0x27772b=_0xfae889['get'](_0x43d9b7);return _0x2b9a39['y']-_0x27772b['y']||_0x2b9a39['x']-_0x27772b['x'];}),(_0x43c511=_0x43c511['filter'](_0x4a59ca=>_0xcca442['includes'](_0x4a59ca['rootName'])))['sort']((_0x3fb01c,_0x14a780)=>_0xcca442['indexOf'](_0x3fb01c['rootName'])-_0xcca442['indexOf'](_0x14a780['rootName'])),_0x43c511;}['_makeTape'](_0x1e14bc){const _0x2894ff=Array['from'](_0x1e14bc['markers'])['filter'](([_0x291dcc,_0x324b59])=>_0x291dcc['startsWith']('revision:')&&!_0x324b59['isCollapsed']),_0x2953ee=Array['from'](this['editor']['model']['createRangeIn'](_0x1e14bc)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2894ff['length'])for(const _0x224096 of _0x2953ee){const [_0x261e08,_0x5f2e29]=_0x2894ff[0x0],[,_0x386d45,_0x206d93]=_0x261e08['split'](':');if(_0x5f2e29['end']['isEqual'](_0x224096['nextPosition'])&&_0x2894ff['shift'](),(_0x224096['previousPosition']['isEqual'](_0x5f2e29['start'])||_0x224096['previousPosition']['isAfter'](_0x5f2e29['start']))&&('insertion'==_0x386d45?_0x224096['isAdded']={'userId':_0x206d93}:'deletion'==_0x386d45&&(_0x224096['isRemoved']={'userId':_0x206d93})),0x0==_0x2894ff['length'])break;}return _0x2953ee;}['_refreshStartEndIndex'](_0x5246f9){const _0x1641c9=new Map();for(let _0x26867f=0x0;_0x26867f<_0x5246f9['length'];_0x26867f++)'text'===_0x5246f9[_0x26867f]['type']?(_0x5246f9[_0x26867f]['item']['startIndex']=_0x26867f,_0x5246f9[_0x26867f]['item']['endIndex']=_0x26867f):('elementStart'===_0x5246f9[_0x26867f]['type']?_0x5246f9[_0x26867f]['item']['startIndex']=_0x26867f:'elementEnd'===_0x5246f9[_0x26867f]['type']&&(_0x5246f9[_0x26867f]['item']['endIndex']=_0x26867f),_0x1641c9['set'](_0x5246f9[_0x26867f]['id'],_0x26867f));for(const _0x51987e of _0x1641c9['values']())'elementStart'===_0x5246f9[_0x51987e]['type']?_0x5246f9[_0x51987e]['item']['endIndex']=_0x1641c9['get'](_0x5246f9[_0x51987e]['pairId']):'elementEnd'===_0x5246f9[_0x51987e]['type']&&(_0x5246f9[_0x51987e]['item']['startIndex']=_0x1641c9['get'](_0x5246f9[_0x51987e]['pairId']));}['_processTape'](_0x140310){for(let _0x4dfd18=0x0;_0x4dfd18<_0x140310['length'];_0x4dfd18++){if('elementStart'===_0x140310[_0x4dfd18]['type'])_0x140310[_0x4dfd18]['item']['startIndex']=_0x4dfd18;else{if('elementEnd'===_0x140310[_0x4dfd18]['type']){_0x140310[_0x4dfd18]['item']['endIndex']=_0x4dfd18;const _0x121444=_0x140310[_0x4dfd18]['item']['startIndex'];_0x140310[_0x121444]['pairId']=_0x140310[_0x4dfd18]['id'],_0x140310[_0x4dfd18]['pairId']=_0x140310[_0x121444]['id'];}else _0x140310[_0x4dfd18]['item']['startIndex']=_0x4dfd18,_0x140310[_0x4dfd18]['item']['endIndex']=_0x4dfd18,_0x140310[_0x4dfd18]['pairId']=null;}_0x140310[_0x4dfd18]['markersStart']||(_0x140310[_0x4dfd18]['markersStart']=[],_0x140310[_0x4dfd18]['markersEnd']=[]);}}['_markInsertions'](_0x43685c,_0x40742c){const _0x21e889=_0x43685c['filter'](_0x59c5b9=>!_0x59c5b9['isAdded']);for(let _0x3ed156=0x0;_0x3ed156<_0x40742c['length'];_0x3ed156++)_0x40742c[_0x3ed156]['isAdded']&&(_0x21e889[_0x3ed156]['isAdded']=_0x40742c[_0x3ed156]['isAdded']);}['_makeModelFromViewString'](_0x5bb9f2){const _0x1d7f9a=JSON['parse'](_0x5bb9f2),_0x2af113=this['editor']['editing']['view']['document'],_0x278334=new _0x2d7c1c(_0x2af113,_0x1d7f9a['map'](_0x1cc1a9=>this['_getViewObj'](_0x1cc1a9)));return this['editor']['data']['toModel'](_0x278334);}['_getViewObj'](_0x26f18b){const _0x2cd58b=this['editor']['editing']['view']['document'];if('string'==typeof _0x26f18b)return new _0x455aa6(_0x2cd58b,_0x26f18b);{const _0x484c8b=_0x26f18b['children']['map'](_0x5a893a=>this['_getViewObj'](_0x5a893a));return new(tt[_0x26f18b['type']]||_0x12c0c8)(_0x2cd58b,_0x26f18b['name'],_0x26f18b['attributes'],_0x484c8b);}}['_getDiff'](_0x976564,_0x5a6003=null){const _0x53dd1e=this['repository']['getRevision'](_0x976564),_0x2f0dbe=_0x5a6003?this['repository']['getRevision'](_0x5a6003):null,_0x542755=this['_getRevisionsRange'](_0x53dd1e,_0x2f0dbe),_0x3429fc=_0x542755[_0x542755['length']-0x1],_0x3f5672=new Map(),_0x33b75f={'model':{},'attributes':{},'changes':[]},_0x14ba9c=new Set(),_0x57c38b=new Map();for(let _0x58d90c=_0x542755['length']-0x1;_0x58d90c>=0x0;_0x58d90c--){const _0x319473=_0x542755[_0x58d90c];for(const _0x4268ed of Object['keys'](_0x319473['diffData']))if(_0x319473['diffData'][_0x4268ed]['attachChange']){const _0x4f0440=_0x319473['diffData'][_0x4268ed]['attachChange'];_0x4f0440['isAttached']?(_0x14ba9c['add'](_0x4268ed),_0x57c38b['has'](_0x4268ed)&&_0x57c38b['get'](_0x4268ed)['userId']==_0x4f0440['userId']?_0x57c38b['delete'](_0x4268ed):_0x57c38b['set'](_0x4268ed,_0x4f0440)):_0x57c38b['has'](_0x4268ed)?(_0x14ba9c['delete'](_0x4268ed),_0x57c38b['delete'](_0x4268ed)):(_0x14ba9c['add'](_0x4268ed),_0x57c38b['set'](_0x4268ed,_0x4f0440));}else _0x14ba9c['add'](_0x4268ed);}for(const _0x50039a of _0x14ba9c){const _0x32b85f=_0x57c38b['has'](_0x50039a)&&!_0x57c38b['get'](_0x50039a)['isAttached'];let _0x12c999=_0x32b85f?_0x542755['length']-0x1:0x0;const _0x43917f=_0x32b85f?-0x1:0x1;for(;_0x542755[_0x12c999];){const _0x377de2=_0x542755[_0x12c999];if(_0x377de2['diffData'][_0x50039a]){const _0x423646=_0x32b85f?_0x377de2['diffData'][_0x50039a]['attributesBefore']:_0x377de2['diffData'][_0x50039a]['attributesAfter'];_0x33b75f['attributes'][_0x50039a]=_0x423646?_0x536182(_0x423646):{};break;}_0x12c999+=_0x43917f;}}for(const _0x243109 of _0x542755){_0x243109['model']={};for(const _0x673939 of _0x243109['authors'])_0x3f5672['set'](_0x673939['id'],_0x673939);for(const _0x3ee18f of _0x14ba9c){const _0xdac5a5=_0x243109['diffData'][_0x3ee18f]?_0x243109['diffData'][_0x3ee18f]['insertions']:'[]',_0x30f746=_0x243109['diffData'][_0x3ee18f]?_0x243109['diffData'][_0x3ee18f]['deletions']:'[]';_0x243109['model'][_0x3ee18f]={'insertions':this['_makeModelFromViewString'](_0xdac5a5),'deletions':this['_makeModelFromViewString'](_0x30f746)};}}for(const _0x21902d of _0x14ba9c){let _0x23bbb2=null,_0xe2ea12=0x0;const _0x322361=new Map(Array['from'](_0x53dd1e['model'][_0x21902d]['insertions']['markers'])['filter'](([_0x4cfe43])=>!_0x4cfe43['startsWith']('revision:')));let _0x252168=0x0;for(const _0x31151c of _0x542755){const _0x233ea4=this['_makeTape'](_0x31151c['model'][_0x21902d]['insertions']);_0x31151c==_0x53dd1e?(_0x23bbb2=_0x233ea4,_0xe2ea12=_0x23bbb2['length'],_0x23bbb2['forEach'](_0x2e50da=>{_0x2e50da['id']=_0x252168++;}),this['_processTape'](_0x23bbb2)):this['_markInsertions'](_0x23bbb2,_0x233ea4);const _0x2199b7=_0x23bbb2['filter'](_0x22ec03=>!_0x22ec03['isAdded'])['map'](_0x361bd7=>_0x361bd7['id']);let _0x7cfc9=0x0;const _0x5db7fb=this['_makeTape'](_0x31151c['model'][_0x21902d]['deletions']);_0x5db7fb['forEach'](_0x4975a1=>{_0x4975a1['isRemoved']?_0x4975a1['id']=_0xe2ea12++:_0x4975a1['id']=_0x2199b7[_0x7cfc9++];}),this['_processTape'](_0x5db7fb),this['_setDistance'](_0x23bbb2,'isAdded'),this['_setDistance'](_0x5db7fb,'isRemoved'),_0x31151c==_0x53dd1e&&this['_markMarkers'](_0x23bbb2,_0x322361),_0x23bbb2=this['_joinTapes'](_0x23bbb2,_0x5db7fb),this['_refreshStartEndIndex'](_0x23bbb2),this['_setDistance'](_0x23bbb2,'isRemoved');}_0x23bbb2=_0x23bbb2['filter'](_0x268892=>!(_0x268892['isAdded']&&_0x268892['isRemoved']));const _0x31ef3a=new Map(_0x3429fc['model'][_0x21902d]['deletions']['markers']),_0x307c3b=new Set(_0x322361['keys']());for(const _0x150ade of _0x31ef3a['keys']())_0x307c3b['delete'](_0x150ade);this['_markSuggestions'](_0x23bbb2,_0x307c3b),this['_fixObsoleteTags'](_0x23bbb2),_0x23bbb2=this['_removeMissingPairs'](_0x23bbb2),_0x23bbb2=this['_markMismatchedRemovedTags'](_0x23bbb2),_0x23bbb2=this['_removeUnsupportedChanges'](_0x23bbb2);const {root:_0x519c18,changes:_0x33101d}=this['_makeModelFromTape'](_0x23bbb2,_0x3f5672,_0x21902d);_0x33b75f['model'][_0x21902d]=_0x519c18;const _0x3e3fee=_0x57c38b['get'](_0x21902d);if(_0x3e3fee){const _0x3e0b77=_0x3f5672['get'](_0x3e3fee['userId']),_0x5cbadd=new r({'author':_0x3e0b77,'type':_0x3e3fee['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x21902d});_0x33101d['unshift'](_0x5cbadd),_0x33b75f['attributes'][_0x21902d]['revisionHistoryAttachChange']=_0x5cbadd['id'];}_0x33b75f['changes']=_0x33b75f['changes']['concat'](_0x33101d);}return _0x33b75f;}['_markMarkers'](_0x299775,_0x1e7d09){for(let _0x52140d=0x0;_0x52140d<_0x299775['length'];_0x52140d++)for(const [_0x174609,_0x584e2b]of _0x1e7d09)_0x584e2b['start']['isEqual'](_0x299775[_0x52140d]['previousPosition'])&&_0x299775[_0x52140d]['markersStart']['push'](_0x174609),_0x584e2b['end']['isEqual'](_0x299775[_0x52140d]['nextPosition'])&&_0x299775[_0x52140d]['markersEnd']['push'](_0x174609);}['_joinTapes'](_0x19c8d1,_0x4331df){let _0x2be7fd=[],_0x1f1b07=0x0,_0xd5a38f=0x0;for(;_0x1f1b07<_0x19c8d1['length']||_0xd5a38f<_0x4331df['length'];){const _0x1f470c=_0x19c8d1[_0x1f1b07]||{},_0x271ad1=_0x4331df[_0xd5a38f]||{};if(_0x1f470c['id']==_0x271ad1['id'])_0x1f1b07++,_0xd5a38f++,_0x2be7fd['push'](_0x1f470c);else{if(_0x271ad1['isRemoved']&&_0x1f470c['isAdded']){const {commonTape:_0x1b5330,iEnd:_0x3ab774,jEnd:_0x248754}=this['_threeWayMerge'](_0x19c8d1,_0x1f1b07,_0x4331df,_0xd5a38f);_0x2be7fd=_0x2be7fd['concat'](_0x1b5330),_0x1f1b07=_0x3ab774,_0xd5a38f=_0x248754;}else _0x271ad1['isRemoved']?(_0xd5a38f++,_0x2be7fd['push'](_0x271ad1)):(_0x1f1b07++,_0x2be7fd['push'](_0x1f470c));}}return _0x2be7fd;}['_markSuggestions'](_0x5987e7,_0x2763ba){const _0x40ed23=[];for(let _0x50ed53=0x0;_0x50ed53<_0x5987e7['length'];_0x50ed53++){for(let _0x5053a5=0x0;_0x5053a5<_0x5987e7[_0x50ed53]['markersStart']['length'];_0x5053a5++){const _0x16a5bf=_0x5987e7[_0x50ed53]['markersStart'][_0x5053a5];if(!_0x2763ba['has'](_0x16a5bf))continue;const {group:_0x4035c7,type:_0x380fd3,authorId:_0x4606af}=_0x3f1247(_0x16a5bf);'revision-suggestion'!=_0x4035c7||'insertion'!=_0x380fd3&&'deletion'!=_0x380fd3||(_0x40ed23['unshift']({'type':_0x380fd3,'name':_0x16a5bf,'userId':_0x4606af}),_0x5987e7[_0x50ed53]['markersStart']['splice'](_0x5053a5,0x1),_0x5053a5--);}_0x2576c4(_0x5987e7[_0x50ed53]);for(let _0x379b8a=0x0;_0x379b8a<_0x5987e7[_0x50ed53]['markersEnd']['length'];_0x379b8a++){const _0x26a5f3=_0x5987e7[_0x50ed53]['markersEnd'][_0x379b8a];if(!_0x2763ba['has'](_0x26a5f3))continue;const {group:_0x2da6cf,type:_0x5e4452}=_0x3f1247(_0x26a5f3);if('revision-suggestion'!=_0x2da6cf||'insertion'!=_0x5e4452&&'deletion'!=_0x5e4452)continue;_0x5987e7[_0x50ed53]['markersEnd']['splice'](_0x379b8a,0x1),_0x379b8a--;const _0x4a26e7=_0x40ed23['findIndex'](_0x1ce0c1=>_0x1ce0c1['name']==_0x26a5f3);_0x4a26e7>-0x1&&_0x40ed23['splice'](_0x4a26e7,0x1);}}function _0x3f1247(_0x593e9d){const _0x1690b5=_0x593e9d['split'](':');return{'group':_0x1690b5[0x0],'type':_0x1690b5[0x1],'subType':_0x1690b5['length']>=0x5?_0x1690b5[0x2]:null,'id':_0x1690b5['length']<0x5?_0x1690b5[0x2]:_0x1690b5[0x3],'authorId':_0x1690b5['length']<0x5?_0x1690b5[0x3]:_0x1690b5[0x4],'markerCount':0x6==_0x1690b5['length']?_0x1690b5[0x5]:null};}function _0x2576c4(_0xfbf832){for(let _0x52979f=0x0;_0x52979f<_0x40ed23['length'];_0x52979f++){if(_0xfbf832['isAdded']&&'insertion'==_0x40ed23[_0x52979f]['type'])return _0xfbf832['isAddSuggestion']=_0x40ed23[_0x52979f],void delete _0xfbf832['isAdded'];if(!_0xfbf832['isAdded']&&!_0xfbf832['isRemoved']&&'deletion'==_0x40ed23[_0x52979f]['type'])return void(_0xfbf832['isRemoveSuggestion']=_0x40ed23[_0x52979f]);}}}['_setDistance'](_0x267525,_0x21b444){let _0x2ea4fc=0x0,_0x53fd1c=!0x1;const _0x3552be=new Map();for(const _0x381c03 of _0x267525)_0x381c03[_0x21b444]?_0x53fd1c&&(_0x2ea4fc++,_0x53fd1c=!0x1):(_0x2ea4fc++,_0x53fd1c=!0x0),_0x3552be['set'](_0x381c03['id'],_0x2ea4fc);for(let _0x3def15=0x0;_0x3def15<_0x267525['length'];_0x3def15++){if('isRemoved'==_0x21b444&&_0x267525[_0x3def15]['isAdded']||'isAdded'==_0x21b444&&_0x267525[_0x3def15]['isRemoved'])continue;if('text'==_0x267525[_0x3def15]['type']){_0x267525[_0x3def15]['distance']=0x0;continue;}const _0x4a7cad=_0x3552be['get'](_0x267525[_0x3def15]['pairId']),_0x541229=_0x3552be['get'](_0x267525[_0x3def15]['id']);_0x267525[_0x3def15]['distance']=_0x4a7cad-_0x541229;}}['_getRevisionsRange'](_0x1564ac,_0x5f3558,_0xf2b59a=!0x1){const _0x44f228=[];let _0x2974ed=this['repository']['getIndex'](_0x1564ac),_0x3deb66=this['repository']['getIndex'](_0x5f3558);for(-0x1==_0x3deb66&&(_0x3deb66=this['repository']['_revisions']['length'],_0xf2b59a=!0x1);_0x2974ed<_0x3deb66;)_0x44f228['push'](this['repository']['getRevision'](_0x2974ed)),_0x2974ed++;return _0xf2b59a&&_0x44f228['push'](this['repository']['getRevision'](_0x2974ed)),_0x44f228;}['_threeWayMerge'](_0x4a45b,_0x40c5bc,_0x166914,_0x595f51){const _0x56edd3=this['editor']['model']['schema'];let _0x5482db=_0x40c5bc;for(;_0x4a45b[_0x5482db]&&_0x4a45b[_0x5482db]['isAdded'];)_0x5482db++;let _0x489dcf=_0x595f51;for(;_0x166914[_0x489dcf]&&_0x166914[_0x489dcf]['isRemoved'];)_0x489dcf++;_0x2aa802(_0x4a45b,_0x40c5bc,_0x5482db),_0x2aa802(_0x166914,_0x595f51,_0x489dcf);const _0x24c23c=_0x166914['slice'](_0x595f51,_0x489dcf)['concat'](_0x4a45b['slice'](_0x40c5bc,_0x5482db));return _0x24c23c['sort']((_0x5f507e,_0x36da9a)=>_0x5f507e['side']!=_0x36da9a['side']?_0x5f507e['side']-_0x36da9a['side']:_0x5f507e['level']!=_0x36da9a['level']?_0x5f507e['level']-_0x36da9a['level']:_0x5f507e['distance']!=_0x36da9a['distance']?_0x36da9a['distance']-_0x5f507e['distance']:!!_0x5f507e['isAdded']!=!!_0x36da9a['isAdded']?-0x1==_0x5f507e['side']||0x0==_0x5f507e['side']?_0x5f507e['isAdded']?-0x1:0x1:_0x5f507e['isAdded']?0x1:-0x1:_0x5f507e['index']-_0x36da9a['index']),{'commonTape':_0x24c23c,'iEnd':_0x5482db,'jEnd':_0x489dcf};function _0x2aa802(_0x5f0423,_0x3e2b19,_0xa60f27){let _0x364019=-0x1,_0x9480e=Number['POSITIVE_INFINITY'],_0x2bb21c=!0x0;for(let _0x28c208=_0x3e2b19;_0x28c208<_0xa60f27;_0x28c208++)if(_0x56edd3['isInline'](_0x5f0423[_0x28c208]['item'])||(_0x2bb21c=!0x1),_0x5f0423[_0x28c208]['item']['startIndex']<_0x3e2b19&&(_0x364019=_0x28c208),_0x5f0423[_0x28c208]['item']['endIndex']>=_0xa60f27){_0x9480e=_0x28c208;break;}_0x2bb21c&&(_0x364019=_0xa60f27-0x1);for(let _0x359298=_0x3e2b19;_0x359298<_0xa60f27;_0x359298++)_0x5f0423[_0x359298]['side']=_0x359298<=_0x364019?-0x1:_0x359298<_0x9480e?0x0:0x1,_0x5f0423[_0x359298]['index']=_0x359298;let _0x3e7d63=0x0;for(let _0x5956c6=_0x3e2b19;_0x5956c6<=_0x364019;_0x5956c6++)0x0==_0x5f0423[_0x5956c6]['distance']?_0x5f0423[_0x5956c6]['level']=_0x3e7d63:(_0x3e7d63++,_0x5f0423[_0x5956c6]['level']=_0x3e7d63,_0x3e7d63++);for(let _0x2735e1=_0x3e2b19;_0x2735e1<_0xa60f27;_0x2735e1++)0x0==_0x5f0423[_0x2735e1]['side']&&(_0x5f0423[_0x2735e1]['level']=_0x3e7d63);_0x3e7d63=0x0;for(let _0x4f223e=_0xa60f27-0x1;_0x4f223e>=_0x9480e;_0x4f223e--)0x0==_0x5f0423[_0x4f223e]['distance']?_0x5f0423[_0x4f223e]['level']=_0x3e7d63:(_0x3e7d63--,_0x5f0423[_0x4f223e]['level']=_0x3e7d63,_0x3e7d63--);}}['_fixObsoleteTags'](_0x253e86){const _0x43f474=new Map(),_0x3e8832=this['editor']['model']['schema'];for(let _0x89f922=0x1;_0x89f922<_0x253e86['length'];_0x89f922++){let _0x1022d2,_0x49bd3a,_0x373abb;const _0x587171=_0x253e86[_0x89f922],_0x3a4a63=_0x253e86[_0x89f922-0x1];if('text'==_0x587171['type'])continue;if(_0x587171['type']!=_0x3a4a63['type'])continue;if(!_0x3e8832['isBlock'](_0x3a4a63['item'])||_0x3e8832['isLimit'](_0x3a4a63['item']))continue;if(!_0x3e8832['isBlock'](_0x587171['item'])||_0x3e8832['isLimit'](_0x587171['item']))continue;if((_0x253e86[_0x89f922]['isAdded']||_0x253e86[_0x89f922]['isAddSuggestion'])&&_0x253e86[_0x89f922-0x1]['isRemoved'])_0x1022d2=_0x253e86[_0x89f922],_0x49bd3a=_0x253e86[_0x89f922-0x1],_0x373abb=_0x89f922-0x1;else{if(!_0x253e86[_0x89f922]['isRemoved']||!_0x253e86[_0x89f922-0x1]['isAdded']&&!_0x253e86[_0x89f922-0x1]['isAddSuggestion'])continue;_0x1022d2=_0x253e86[_0x89f922-0x1],_0x49bd3a=_0x253e86[_0x89f922],_0x373abb=_0x89f922;}const _0x2a4fd4=_0x1022d2['level']==_0x49bd3a['level'],_0x532518=Math['abs'](_0x1022d2['level'])<Math['abs'](_0x49bd3a['level'])&&0x0==_0x49bd3a['distance'];(_0x2a4fd4||_0x532518)&&(_0x43f474['set'](_0x49bd3a['id'],_0x1022d2['id']),_0x253e86['splice'](_0x373abb,0x1),_0x89f922--,_0x1022d2['isAdded']=!0x1);}for(let _0x4413a1=0x0;_0x4413a1<_0x253e86['length'];_0x4413a1++)_0x43f474['has'](_0x253e86[_0x4413a1]['pairId'])&&(_0x253e86[_0x4413a1]['pairId']=_0x43f474['get'](_0x253e86[_0x4413a1]['pairId']));}['_removeMissingPairs'](_0x14439d){const _0x4826ae=new Set(_0x14439d['map'](_0x380892=>_0x380892['id']));for(let _0x1b84e9=0x0;_0x1b84e9<_0x14439d['length'];_0x1b84e9++)_0x4826ae['has'](_0x14439d[_0x1b84e9]['pairId'])||0x0==_0x14439d[_0x1b84e9]['distance']||(_0x14439d[_0x1b84e9]['isIncorrect']=!0x0);return _0x14439d['filter'](_0x34350d=>!_0x34350d['isIncorrect']);}['_markMismatchedRemovedTags'](_0x25285c){const _0x176b0d=new Set();for(let _0x4cee0b=0x0;_0x4cee0b<_0x25285c['length'];_0x4cee0b++){if(_0x176b0d['has'](_0x25285c[_0x4cee0b]['id'])&&_0x25285c[_0x4cee0b]['isRemoved']&&(_0x25285c[_0x4cee0b]['isIncorrect']=!0x0),_0x25285c[_0x4cee0b]['isIncorrect'])continue;if(0x0==_0x25285c[_0x4cee0b]['distance'])continue;if('elementStart'!=_0x25285c[_0x4cee0b]['type'])continue;if(null==_0x25285c[_0x4cee0b]['pairId'])continue;let _0xfea6e5=_0x4cee0b+0x1,_0x7f3157=0x0;for(;_0x25285c[_0xfea6e5]['id']!=_0x25285c[_0x4cee0b]['pairId'];)'elementStart'==_0x25285c[_0xfea6e5]['type']?_0x7f3157++:'elementEnd'==_0x25285c[_0xfea6e5]['type']&&_0x7f3157--,_0xfea6e5++;if(0x0!=_0x7f3157){if(_0x25285c[_0x4cee0b]['isRemoved'])_0x25285c[_0x4cee0b]['isIncorrect']=!0x0;else{for(;_0xfea6e5!=_0x4cee0b;)_0x25285c[_0xfea6e5]['isRemoved']&&0x0!=_0x25285c[_0xfea6e5]['distance']&&(_0x25285c[_0xfea6e5]['isIncorrect']=!0x0,_0x176b0d['add'](_0x25285c[_0xfea6e5]['pairId'])),_0xfea6e5--;}}}return _0x25285c['filter'](_0x52e12b=>!_0x52e12b['isIncorrect']);}['_removeUnsupportedChanges'](_0x5eb54f){const _0x271397=this['editor']['model']['schema'];for(let _0x7f5295=0x0;_0x7f5295<_0x5eb54f['length'];_0x7f5295++){if(!(_0x5eb54f[_0x7f5295]['isAdded']||_0x5eb54f[_0x7f5295]['isAddSuggestion']||_0x5eb54f[_0x7f5295]['isRemoved']||_0x5eb54f[_0x7f5295]['isRemoveSuggestion']))continue;if(0x0==_0x5eb54f[_0x7f5295]['distance'])continue;const _0x16c499=_0x5eb54f[_0x7f5295]['item'];_0x271397['isBlock'](_0x16c499)||_0x271397['isLimit'](_0x16c499)||(_0x5eb54f[_0x7f5295]['isAdded']&&delete _0x5eb54f[_0x7f5295]['isAdded'],_0x5eb54f[_0x7f5295]['isAddSuggestion']&&delete _0x5eb54f[_0x7f5295]['isAddSuggestion'],_0x5eb54f[_0x7f5295]['isRemoveSuggestion']&&delete _0x5eb54f[_0x7f5295]['isRemoveSuggestion'],_0x5eb54f[_0x7f5295]['isRemoved']&&(_0x5eb54f[_0x7f5295]['isIncorrect']=!0x0));}return _0x5eb54f['filter'](_0x37976e=>!_0x37976e['isIncorrect']);}['_makeModelFromTape'](_0x25505f,_0x32e08a,_0x29e24b){const _0x393cd6=new wt(),_0x162dcc=[],_0x1fbc53=new Map(),_0x57bcd3=this['editor']['model'],_0x2cc018=_0x57bcd3['schema'],_0xeef623=[_0x393cd6],_0x35fa65={},_0x383936={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5f456a=null;const _0x579747=[0x0];for(let _0x17cfb9=0x0;_0x17cfb9<_0x25505f['length'];_0x17cfb9++){let _0x40fc9d,_0x2f4a53;if('elementStart'===_0x25505f[_0x17cfb9]['type']){_0x40fc9d=_0x57bcd3['createPositionFromPath'](_0x393cd6,_0x579747);const _0x5ca62d=new ft(_0x25505f[_0x17cfb9]['item']['name'],_0x25505f[_0x17cfb9]['item']['getAttributes']());_0xeef623[0x0]['_appendChild'](_0x5ca62d),_0x579747['push'](0x0),_0xeef623['unshift'](_0x5ca62d),_0x2f4a53=_0x57bcd3['createPositionFromPath'](_0x393cd6,_0x579747),_0x5f456a=null;}else{if('elementEnd'===_0x25505f[_0x17cfb9]['type'])_0xeef623['shift'](),_0x40fc9d=_0x57bcd3['createPositionFromPath'](_0x393cd6,_0x579747),_0x579747['pop'](),_0x579747[_0x579747['length']-0x1]++,_0x2f4a53=_0x57bcd3['createPositionFromPath'](_0x393cd6,_0x579747),_0x5f456a=null;else{if(_0x40fc9d=_0x57bcd3['createPositionFromPath'](_0x393cd6,_0x579747),_0x5f456a&&_0x25a7e0(_0x5f456a,_0x25505f[_0x17cfb9]['item']))_0x5f456a['_data']+=_0x25505f[_0x17cfb9]['item']['data'];else{const _0xa5c818=new _t(_0x25505f[_0x17cfb9]['item']['data'],_0x25505f[_0x17cfb9]['item']['getAttributes']());_0xeef623[0x0]['_appendChild'](_0xa5c818),_0x5f456a=_0xa5c818;}_0x579747[_0x579747['length']-0x1]+=_0x25505f[_0x17cfb9]['item']['offsetSize'],_0x2f4a53=_0x57bcd3['createPositionFromPath'](_0x393cd6,_0x579747);}}for(const _0x2515f6 of _0x25505f[_0x17cfb9]['markersStart'])_0x1fbc53['set'](_0x2515f6,{'start':_0x40fc9d,'end':null});_0x1f909e('isRemoveSuggestion',_0x17cfb9,_0x40fc9d,_0x2f4a53),_0x1f909e('isAddSuggestion',_0x17cfb9,_0x40fc9d,_0x2f4a53),_0x1f909e('isRemoved',_0x17cfb9,_0x40fc9d,_0x2f4a53),_0x1f909e('isAdded',_0x17cfb9,_0x40fc9d,_0x2f4a53);for(const _0x361833 of _0x25505f[_0x17cfb9]['markersEnd']){_0x1fbc53['get'](_0x361833)['end']=_0x2f4a53;}}for(const [_0x22e3bf,_0x26707c]of _0x1fbc53){const _0x30fb5c=this['editor']['model']['createRange'](_0x26707c['start'],_0x26707c['end']);_0x393cd6['markers']['set'](_0x22e3bf,_0x30fb5c);}return _0x162dcc['sort']((_0x36ce26,_0x487a3e)=>{const _0x267ef4=_0x393cd6['markers']['get']('revision:'+_0x36ce26['id']),_0x587dfa=_0x393cd6['markers']['get']('revision:'+_0x487a3e['id']);return _0x267ef4['start']['isBefore'](_0x587dfa['start'])?-0x1:_0x267ef4['start']['isAfter'](_0x587dfa['start'])?0x1:_0x267ef4['end']['isBefore'](_0x587dfa['end'])?-0x1:_0x267ef4['end']['isAfter'](_0x587dfa['end'])?0x1:'add'===_0x36ce26['type']?-0x1:0x1;}),{'root':_0x393cd6,'changes':_0x162dcc};function _0x1f909e(_0x3e125e,_0x3862f7,_0x3f8ac0,_0xfd4dd3){const _0x4e4d96=!!_0x25505f[_0x3862f7][_0x3e125e],_0x315e24=_0x4e4d96?_0x25505f[_0x3862f7][_0x3e125e]['userId']:null,_0x300236=_0x3862f7===_0x25505f['length']-0x1,_0x8e8747=_0x383936[_0x3e125e][0x0],_0x2a0ce5=_0x2cc018['isObject'](_0x25505f[_0x3862f7]['item']);!_0x35fa65[_0x3e125e]&&_0x4e4d96?_0x35fa65[_0x3e125e]={'start':_0x3f8ac0,'tapeItem':_0x25505f[_0x3862f7],'userId':_0x315e24,'type':_0x3e125e}:_0x35fa65[_0x3e125e]&&!_0x4e4d96?(_0x35fa65[_0x3e125e]['end']=_0x3f8ac0,_0x14de00(_0x35fa65[_0x3e125e]),_0x35fa65[_0x3e125e]=null):_0x35fa65[_0x3e125e]&&_0x4e4d96&&_0x35fa65[_0x3e125e]['userId']!==_0x315e24&&(_0x35fa65[_0x3e125e]['end']=_0x3f8ac0,_0x8e8747&&_0x8e8747['userId']===_0x35fa65[_0x3e125e]['userId']||_0x14de00(_0x35fa65[_0x3e125e]),_0x35fa65[_0x3e125e]={'start':_0x3f8ac0,'tapeItem':_0x25505f[_0x3862f7],'userId':_0x315e24,'type':_0x3e125e}),_0x35fa65[_0x3e125e]&&_0x2a0ce5&&('elementStart'!==_0x25505f[_0x3862f7]['type']||_0x8e8747&&_0x8e8747['userId']===_0x315e24||_0x383936[_0x3e125e]['unshift']({'userId':_0x315e24,'object':_0x25505f[_0x3862f7]['item'],'change':_0x35fa65[_0x3e125e]}),'elementEnd'===_0x25505f[_0x3862f7]['type']&&_0x8e8747&&_0x8e8747['object']===_0x25505f[_0x3862f7]['item']&&(_0x383936[_0x3e125e]['shift'](),_0x35fa65[_0x3e125e]=_0x8e8747['change'])),_0x35fa65[_0x3e125e]&&_0x300236&&(_0x35fa65[_0x3e125e]['end']=_0xfd4dd3,_0x14de00(_0x35fa65[_0x3e125e]),_0x35fa65[_0x3e125e]=null);}function _0x14de00({start:_0x12b279,end:_0x3d8a75,tapeItem:_0x326841,userId:_0x2d1d7e,type:_0x560a7f}){const _0x6f5b1b=_0x326841['item'],_0x568e13=_0x57bcd3['schema']['isBlock'](_0x6f5b1b)&&!_0x57bcd3['schema']['isLimit'](_0x6f5b1b),_0x46e924=_0x12b279['nodeAfter']==_0x3d8a75['parent']&&_0x3d8a75['isAtStart'];if(_0x568e13&&_0x46e924)return;const _0x8f8b56=_0x57bcd3['createRange'](_0x12b279,_0x3d8a75),_0x1101c3=_0x32e08a['get'](_0x2d1d7e),_0x49641f=new r({'author':_0x1101c3,'type':'isAdded'==_0x560a7f||'isAddSuggestion'==_0x560a7f?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x560a7f||'isRemoveSuggestion'==_0x560a7f},'createdAt':new Date(),'rootName':_0x29e24b});_0x162dcc['push'](_0x49641f),_0x393cd6['markers']['set']('revision:'+_0x49641f['id'],_0x8f8b56);}function _0x25a7e0(_0x3585ac,_0x1d8b28){const _0x26c012=_0x3585ac['getAttributes'](),_0x29c781=_0x1d8b28['getAttributes']();for(const _0x68414d of _0x26c012){if(_0x68414d[0x1]!==_0x1d8b28['getAttribute'](_0x68414d[0x0]))return!0x1;_0x29c781['next']();}return _0x29c781['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x2178e4=>{const _0xf7a094=_0x2178e4['markerName']['split'](':')[0x1],_0x142c23=this['_getChangeFromId'](_0xf7a094);if(!_0x142c23)return null;const _0x3c4c3b='add'==_0x142c23['type']?'insertion':'deletion',_0x2071df=['ck-suggestion-marker','ck-suggestion-marker-'+_0x3c4c3b];return _0x142c23['data']['isSuggestion']&&_0x2071df['push']('ck-suggestion-marker-'+_0x3c4c3b+'-new'),this['activeChange']==_0x142c23&&_0x2071df['push']('ck-suggestion-marker--active'),{'classes':_0x2071df,'attributes':{'data-change-id':_0xf7a094}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x1fd96c=>{_0x1fd96c['on']('element:pre',(_0x406e0f,_0x4d13e2,_0x89968c)=>{const _0x369452=_0x4d13e2['viewItem']['getChild'](0x0);if(!_0x369452||!_0x369452['is']('element','code'))return;if(!_0x89968c['consumable']['consume'](_0x369452,{'attributes':['vid_start','vid_end']}))return;const _0x1a5a1c=_0x4d13e2['modelRange']['start']['nodeAfter'];_0x89968c['writer']['setAttribute']('vid_start',_0x369452['getAttribute']('vid_start'),_0x1a5a1c),_0x89968c['writer']['setAttribute']('vid_end',_0x369452['getAttribute']('vid_end'),_0x1a5a1c);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x45a657=>{_0x45a657['on']('element',(_0x58d765,_0x53f7c8,_0x1d0d0b)=>{if(!_0x1d0d0b['consumable']['consume'](_0x53f7c8['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x53f7c8['modelRange']['isCollapsed'])return;const _0x5cba99=_0x53f7c8['modelRange']['start']['nodeAfter'];_0x5cba99['hasAttribute']('vid_start')||_0x5cba99['hasAttribute']('vid')||(_0x1d0d0b['writer']['setAttribute']('vid_start',_0x53f7c8['viewItem']['getAttribute']('vid_start'),_0x5cba99),_0x1d0d0b['writer']['setAttribute']('vid_end',_0x53f7c8['viewItem']['getAttribute']('vid_end'),_0x5cba99));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0xe87199=>_0xe87199['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x2dad9f,[,_0x2121c7])=>{['vid_start','vid_end','vid']['includes'](_0x2121c7)&&(_0x2dad9f['return']=!0x0,_0x2dad9f['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xf1e369=>{_0xf1e369['on']('attribute:vid',(_0x41205c,_0x171d01,_0x46d7ba)=>{if('\x20'!=_0x171d01['item']['data']||_0x171d01['item']['parent']['maxOffset']>0x1)return;if(!_0x46d7ba['consumable']['consume'](_0x171d01['item'],_0x41205c['name']))return;const _0x5db05d=_0x46d7ba['writer'],_0x26b25f=_0x46d7ba['mapper']['toViewRange'](_0x171d01['range']);_0x5db05d['wrap'](_0x26b25f,_0x5db05d['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x43285a){const _0x41b77c=_0x43285a['plugins']['get']('RevisionViewer');return(_0x49fa78,_0xc9d928,_0x128d83)=>{const _0x337e83=_0xc9d928['markerName']['split'](':')[0x1],_0x5ad65c=_0x41b77c['_getChangeFromId'](_0x337e83);if(!_0x5ad65c)return null;const _0x75b008='add'==_0x5ad65c['type']?'split':'merge';if(!_0x128d83['consumable']['test'](_0xc9d928['markerRange'],_0x49fa78['name']))return;const _0x429c03=_0xc9d928['markerRange']['getWalker'](),_0x655589=_0xc9d928['markerRange']['start'],_0x318d20=_0x43285a['model']['schema'];let _0x9b2918=null,_0x3b639e=null,_0x25ed0b=!0x1,_0x49e281=!0x1;for(const _0x6c1c25 of _0x429c03){const _0x5144f1=_0x6c1c25['item'];_0x25ed0b=_0x25ed0b||_0x318d20['isContent'](_0x5144f1);const _0x125f32=_0x128d83['mapper']['toViewElement'](_0x5144f1);if(_0x125f32&&_0x125f32['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x6c1c25['type']&&(_0x318d20['isBlock'](_0x5144f1)&&!_0x318d20['isLimit'](_0x5144f1)&&(_0x5144f1['nextSibling']||_0x655589['isAtEnd']?_0x9b2918&&_0x9b2918['parent']==_0x5144f1||(_0x9b2918=_0x5144f1,_0x22dcc5(_0x6c1c25['previousPosition']),_0x49e281=!0x0):_0x3b639e=_0x3b639e||_0x6c1c25['previousPosition']));}function _0x22dcc5(_0x3617c8){const _0x4b2a7c=_0x128d83['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x75b008}),_0x298c52=_0x128d83['mapper']['toViewPosition'](_0x3617c8);_0x5ad65c['data']['isSuggestion']&&_0x128d83['writer']['addClass']('ck-suggestion-marker-'+_0x75b008+'-new',_0x4b2a7c),_0x41b77c['activeChange']==_0x5ad65c&&_0x128d83['writer']['addClass']('ck-suggestion-marker--active',_0x4b2a7c),_0x128d83['writer']['insert'](_0x298c52,_0x4b2a7c),_0x128d83['mapper']['bindElementToMarker'](_0x4b2a7c,_0xc9d928['markerName']);}_0x25ed0b||_0x49e281||!_0x3b639e||_0x22dcc5(_0x3b639e);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2bf1f7,_0x11bb34,_0x3e18b8)=>{const _0x5a061f=_0x3e18b8['mapper']['markerNameToElements'](_0x11bb34['markerName']);if(_0x5a061f){for(const _0x52778c of _0x5a061f)(_0x52778c['hasClass']('ck-suggestion-marker-split')||_0x52778c['hasClass']('ck-suggestion-marker-merge'))&&(_0x3e18b8['mapper']['unbindElementFromMarkerName'](_0x52778c,_0x11bb34['markerName']),_0x3e18b8['writer']['remove'](_0x52778c));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x26b82d,_0x13fa81,_0x449ae9)=>{const _0x24410c=_0x13fa81['markerName']['split'](':')[0x1],_0x44d792=this['_getChangeFromId'](_0x24410c);if(!_0x44d792)return null;const _0x1e907a='add'==_0x44d792['type']?'split':'merge';if(_0x449ae9['consumable']['test'](_0x13fa81['markerRange'],_0x26b82d['name']))for(const _0x28bdd1 of _0x13fa81['markerRange']['getItems']()){if(!_0x28bdd1['is']('element','softBreak'))continue;const _0xa6d5d1=_0x449ae9['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1e907a}),_0x47b63e=_0x449ae9['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x28bdd1));_0x44d792['data']['isSuggestion']&&_0x449ae9['writer']['addClass']('ck-suggestion-marker-'+_0x1e907a+'-new',_0xa6d5d1),this['activeChange']==_0x44d792&&_0x449ae9['writer']['addClass']('ck-suggestion-marker--active',_0xa6d5d1),_0x449ae9['writer']['insert'](_0x47b63e,_0xa6d5d1),_0x449ae9['mapper']['bindElementToMarker'](_0xa6d5d1,_0x13fa81['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xf8da62=>{for(const _0x107ff1 of this['editor']['model']['document']['getRootNames']()){const _0x2e2fa8=this['editor']['model']['document']['getRoot'](_0x107ff1),_0x1e4653=this['editor']['editing']['view']['document']['getRoot'](_0x107ff1);if(_0x1e4653){const _0x3e2495=_0x2e2fa8['getAttribute']('revisionHistoryAttachChange');if(_0xf8da62['removeAttribute']('data-change-id',_0x1e4653),_0xf8da62['removeClass']('ck-revision-history-root-add',_0x1e4653),_0xf8da62['removeClass']('ck-revision-history-root-remove',_0x1e4653),_0xf8da62['removeClass']('ck-revision-history-root--active',_0x1e4653),_0x3e2495){const _0x157e54=this['_getChangeFromId'](_0x3e2495);if(!_0x157e54)return null;_0xf8da62['setAttribute']('data-change-id',_0x3e2495,_0x1e4653),_0xf8da62['addClass']('ck-revision-history-root-'+_0x157e54['type'],_0x1e4653),this['activeChange']==_0x157e54&&_0xf8da62['addClass']('ck-revision-history-root--active',_0x1e4653);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x5568b6=>'revision-comment:'+_0x5568b6,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x26e038=>'revision-suggestion:'+_0x26e038,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x403d11=>({'name':'suggestion:'+_0x403d11,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x20b1f7=>{const _0x101ce8=_0x20b1f7['markerName']['split'](':')[0x1];return'insertion'!=_0x101ce8&&'deletion'!=_0x101ce8?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x101ce8]};}}),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',(_0x157741,_0xdb4596,_0x462f76)=>{const _0x43f295=_0x462f76['mapper']['markerNameToElements'](_0xdb4596['markerName']);if(_0x43f295){for(const _0xb5eaed of _0x43f295)_0xb5eaed['is']('uiElement')&&(_0x462f76['mapper']['unbindElementFromMarkerName'](_0xb5eaed,_0xdb4596['markerName']),_0x462f76['writer']['remove'](_0xb5eaed));}},{'priority':'high'});}['_getChangeFromId'](_0xff681c){return this['_changeIdToChange']['get'](_0xff681c);}['_getViewForChange'](_0x5c7c69){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x5c7c69),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x5274de,_0x56cab2,_0x6590e3,_0x2b109a)=>{_0x2b109a&&this['_balloon']['remove'](_0x2b109a),_0x6590e3&&(this['_balloon']['add']({'view':_0x6590e3,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x2dfa91=this['editor']['editing'],_0x2b69d0=this['_getChangeFromId'](_0x6590e3['changeId']);let _0x26a57c;if(_0x2b69d0['data']['isOnRoot']){const _0x161011=_0x2dfa91['view']['getDomRoot'](_0x2b69d0['rootName']);_0x26a57c=Array['from'](_0x161011['getClientRects']());}else{const _0x518669=this['editor']['model']['markers']['get']('revision:'+_0x6590e3['changeId']);_0x26a57c=Array['from'](_0x2dfa91['mapper']['markerNameToElements'](_0x518669['name']))['map'](_0x54980f=>_0x2dfa91['view']['domConverter']['mapViewToDom'](_0x54980f))['map'](_0x27eeee=>Array['from'](_0x27eeee['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x26a57c[0x0];return _0x26a57c['find'](_0x5e7cc7=>_0x5e7cc7['top']-0x3<=this['_activeViewTarget']['y']&&_0x5e7cc7['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5e7cc7['left']-0x3<=this['_activeViewTarget']['x']&&_0x5e7cc7['right']+0x3>=this['_activeViewTarget']['x'])||_0x26a57c[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x12da67,_0x39cdca,_0x58a676,_0x1a9f54)=>{this['activeView']=_0x58a676?this['_getViewForChange'](_0x58a676):null,this['editor']['model']['change'](()=>{const _0x35e449=this['editor']['editing'];_0x1a9f54&&(_0x1a9f54['data']['isOnRoot']?_0x35e449['view']['change'](_0x314b19=>{_0x314b19['removeClass']('ck-revision-history-root--active',_0x35e449['view']['document']['getRoot'](_0x1a9f54['rootName']));}):_0x35e449['reconvertMarker']('revision:'+_0x1a9f54['id'])),_0x58a676&&(_0x58a676['data']['isOnRoot']?_0x35e449['view']['change'](_0x201525=>{_0x201525['addClass']('ck-revision-history-root--active',_0x35e449['view']['document']['getRoot'](_0x58a676['rootName']));}):_0x35e449['reconvertMarker']('revision:'+_0x58a676['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x582b3e,_0x120799)=>{if(this['activeChange'])return;const _0x4e01bf=this['_findChangeIdFromDomTarget'](_0x120799['target']),_0xc83bea=this['_changeIdToChange']['get'](_0x4e01bf);_0xc83bea?(this['_activeViewTarget']={'x':_0x120799['domEvent']['x'],'y':_0x120799['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0xc83bea)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x19be4f,_0x310bc2)=>{const _0x545f98=this['_findChangeIdFromDomTarget'](_0x310bc2['target']),_0x116556=this['_changeIdToChange']['get'](_0x545f98);_0x116556?(this['_activeViewTarget']={'x':_0x310bc2['domEvent']['x'],'y':_0x310bc2['domEvent']['y']},_0x116556===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x116556):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x1306da){do{const _0x44c67a=_0x1306da['getAttribute']('data-change-id');if(_0x44c67a)return _0x44c67a;_0x1306da=_0x1306da['parent'];}while(_0x1306da);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4b5b42=>{for(const _0x2184e5 of this['editor']['model']['markers'])_0x4b5b42['removeMarker'](_0x2184e5);});}}function et(_0xf107fc,_0x37d9d6){return(_0xd726cd,_0x26c6fd,_0x105cd5)=>{if(!_0x105cd5['consumable']['test'](_0x26c6fd['markerRange'],_0xd726cd['name']))return;const _0x130b58=_0x26c6fd['markerRange']['getWalker'](),_0x5c43f6=_0x26c6fd['markerRange']['start'],_0x3efd3b=_0xf107fc['model']['schema'];let _0x76ac89=null,_0x455424=null,_0x3e23b7=!0x1,_0x28cd45=!0x1;for(const _0x5b2aa5 of _0x130b58){const _0x3098f9=_0x5b2aa5['item'];_0x3e23b7=_0x3e23b7||_0x3efd3b['isContent'](_0x3098f9);const _0x4c1f7a=_0x105cd5['mapper']['toViewElement'](_0x3098f9);if(_0x4c1f7a&&_0x4c1f7a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5b2aa5['type']&&(_0x3efd3b['isBlock'](_0x3098f9)&&!_0x3efd3b['isLimit'](_0x3098f9)&&(_0x3098f9['nextSibling']||_0x5c43f6['isAtEnd']?_0x76ac89&&_0x76ac89['parent']==_0x3098f9||(_0x76ac89=_0x3098f9,_0x3678c2(_0x5b2aa5['previousPosition']),_0x28cd45=!0x0):_0x455424=_0x455424||_0x5b2aa5['previousPosition']));}function _0x3678c2(_0x65443b){const _0x47b12e=_0x105cd5['mapper']['toViewPosition'](_0x65443b),_0x286630=_0x105cd5['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x37d9d6});_0x105cd5['writer']['insert'](_0x47b12e,_0x286630),_0x105cd5['mapper']['bindElementToMarker'](_0x286630,_0x26c6fd['markerName']);}_0x3e23b7||_0x28cd45||!_0x455424||_0x3678c2(_0x455424);};}class bt extends _0x38eed4{constructor(_0x474e52){super(_0x474e52);const _0x2249de=_0x474e52['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x2249de,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2249de,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3ddee3=this['editor'],_0x5ae7fc=_0x3ddee3['plugins']['get'](d),_0x495047=_0x5ae7fc['isReady']?_0x5ae7fc['diff']['newRevisionId']:null;_0x3ddee3['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x495047);}['refresh'](){const {isReady:_0x1e3c44,isEnabled:_0x34e765}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x1e3c44&&_0x34e765;}}class yt extends _0x38eed4{['_step'];constructor(_0x1b9528,{direction:_0x2794ae}){super(_0x1b9528);const _0x1798f4=_0x1b9528['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x2794ae?0x1:-0x1,this['listenTo'](_0x1798f4,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1798f4,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x1798f4,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2b6df9=this['editor'],_0x220a00=_0x2b6df9['plugins']['get'](d),{isNavigationMode:_0x22d89f,currentChangeNumber:_0x2a54f0}=_0x220a00;let _0x58b054;if(_0x220a00['activeChange']=_0x22d89f?_0x220a00['diff']['changes']['get'](_0x2a54f0+this['_step']):_0x220a00['diff']['changes']['first'],_0x220a00['activeChange']['data']['isOnRoot'])_0x58b054=_0x2b6df9['editing']['view']['getDomRoot'](_0x220a00['activeChange']['rootName']);else{const _0xaf38b9=_0x2b6df9['model']['markers']['get']('revision:'+_0x220a00['activeChange']['id']);_0x58b054=_0x2c123b(_0x2b6df9['editing'],_0xaf38b9);}_0x286b96({'target':_0x58b054,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x19d907,currentChangeNumber:_0x580632,numberOfChanges:_0x1ffdb8,isReady:_0x2309f0,isEnabled:_0x5177da}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5177da&&_0x2309f0&&_0x1ffdb8)&&(!_0x19d907||(0x1===this['_step']?_0x580632<_0x1ffdb8-0x1:_0x580632>0x0));}}class _i extends _0x49e48e{constructor(_0x5729b1){super(_0x5729b1);const _0x328fd0=this['bindTemplate'],_0x269096=new _0x21acdf(_0x5729b1),_0x4025d6=new _0x21acdf(_0x5729b1);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',(_0x4f0644,_0x533a41)=>_0x4f0644&&_0x533a41>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x38a45c,_0x2a2539,_0xd25cb,_0xd02dd4)=>{if(!_0x38a45c)return y(_0x5729b1,'Loading...');if(!_0xd25cb)return y(_0x5729b1,'No\x20changes');const _0x1221ca=y(_0x5729b1,'NUMBER_OF_CHANGES',_0xd25cb);return _0xd02dd4?y(_0x5729b1,'X_OF_Y_CHANGES',[_0x2a2539+0x1,_0xd25cb]):_0x1221ca;}),_0x269096['set']({'label':y(_0x5729b1,'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'}),_0x4025d6['set']({'label':y(_0x5729b1,'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'}),_0x269096['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x4025d6['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x269096['on']('execute',()=>this['fire']('execute','backward')),_0x4025d6['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',_0x328fd0['if']('_isStatusLabelVisible','ck-hidden',_0x4aa073=>!_0x4aa073)]},'children':[{'text':_0x328fd0['to']('isNavigationMode',_0xf446d=>_0xf446d?y(_0x5729b1,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5729b1,'Total')+':\x20')}]},{'text':_0x328fd0['to']('_statusText')}]},new _0x32e784(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x269096,_0x4025d6]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x57a85d{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3aa815=this['editor']['editing']['view'];_0x3aa815['change'](_0xec2e1f=>{for(const _0x1eed38 of _0x3aa815['document']['roots'])_0xec2e1f['addClass'](ce,_0x1eed38);});}['hide'](){const _0x3a470c=this['editor']['editing']['view'];_0x3a470c['change'](_0x43fd42=>{for(const _0x178862 of _0x3a470c['document']['roots'])_0x43fd42['removeClass'](ce,_0x178862);});}}class R extends _0x57a85d{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x23db1b=this['editor'],_0x2e8e2b=_0x23db1b['plugins']['get'](d),_0xcaa9b7=_0x23db1b['plugins']['get'](de);_0x23db1b['ui']['componentFactory']['add']('exitToEditing',_0x13691f=>{const _0x436ab9=new _0x21acdf(_0x13691f);return _0x436ab9['set']({'label':y(_0x13691f,'Back\x20to\x20editing'),'icon':_0x41e769['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x436ab9,'execute',()=>{_0x23db1b['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x436ab9;}),_0x23db1b['ui']['componentFactory']['add']('restoreRevision',_0x1af4fc=>{const _0x455028=new _0x21acdf(_0x1af4fc);return _0x455028['set']({'label':y(_0x1af4fc,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x455028['bind']('isEnabled')['to'](_0x23db1b['commands']['get']('restoreRevision')),this['listenTo'](_0x455028,'execute',()=>_0x23db1b['execute']('restoreRevision')),_0x455028;}),_0x23db1b['ui']['componentFactory']['add']('changesNavigation',_0x3cfa47=>{const _0x393c88=new _i(_0x3cfa47),_0xc9c7ca=_0x23db1b['commands']['get']('showPreviousChange'),_0x5bc24b=_0x23db1b['commands']['get']('showNextChange');return _0x393c88['bind']('isBackwardNavigationEnabled')['to'](_0xc9c7ca,'isEnabled'),_0x393c88['bind']('isForwardNavigationEnabled')['to'](_0x5bc24b,'isEnabled'),_0x393c88['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x2e8e2b),this['listenTo'](_0x393c88,'execute',(_0x1442db,_0x7473bf)=>{_0x23db1b['execute']('forward'===_0x7473bf?'showNextChange':'showPreviousChange');}),_0x393c88;}),_0xcaa9b7['show'](),_0x2e8e2b['on']('change:isReady',(_0x4e8bab,_0x253805,_0x34d964)=>{_0x34d964?_0xcaa9b7['hide']():_0xcaa9b7['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x1699e3,_0x39012e){super(_0x1699e3,_0x39012e);const _0x21d0df=this['bindTemplate'];this['set']({'label':y(_0x1699e3,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x1699e3,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x21d0df['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 _0xc88afc=this['fieldView']['element'];this['_tooltipString']=_0xc88afc['scrollWidth']>_0xc88afc['clientWidth']&&_0xc88afc['value']||'';}}class ti extends _0x49e48e{constructor(_0x4262ad,_0xe4555e,_0x3ebbc0){super(_0x4262ad);const _0x4f9925=new _0x2c2848();_0x4f9925['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 _0x23fff1=['ck','ck-revision-history-sidebar__revision-author'];_0x3ebbc0&&_0x23fff1['push']('ck-revision-history-sidebar__revision-author_creator');const _0x176f7a=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x4262ad,_0x3ebbc0?'Revision\x20creator':'Revision\x20author')},'children':[_0x4f9925,_0xe4555e['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x23fff1},'children':_0x176f7a});}}function ni(_0x17e348,_0x1c0ca6){const _0x3a2042=_0x17e348['bindTemplate'],_0x1f6476=_0x17e348['locale'],_0x20a297=_0x5d272b(_0x1f6476);_0x20a297['panelPosition']='sw';const _0x5a9383=function(_0x19079a,_0x308211){const _0x26a7f6=function(_0x3f175f,_0x34b486){const _0x587fba=_0x3f175f['locale'],_0x4c50f8={'Compare\x20against\x20selected':y(_0x587fba,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x587fba,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x587fba,'Restore\x20this\x20revision')};return _0x34b486['map'](_0x14cf77=>{const _0x2cfb3=_0x4c50f8[_0x14cf77['name']];return _0x2cfb3&&_0x2cfb3!==_0x14cf77['name']&&(_0x14cf77['name']=_0x2cfb3),_0x14cf77;});}(_0x19079a,_0x308211),_0x10bba6=new _0xa8238a();for(const _0x59a454 of _0x26a7f6){const _0x5b821c={'type':'button','model':new to({'label':_0x59a454['name'],'class':_0x59a454['class'],'withText':!0x0,'role':'menuitem','_action':_0x59a454['action']})};_0x5b821c['model']['bind']('isEnabled')['to'](_0x19079a,'isActionsDropdownOpen',_0x21f1d6=>'function'!=typeof _0x59a454['isEnabled']||(!_0x21f1d6||_0x59a454['isEnabled'](_0x19079a))),_0x10bba6['add'](_0x5b821c);}return _0x10bba6;}(_0x17e348,_0x1c0ca6);return _0x17e348['bind']('isActionsDropdownOpen')['to'](_0x20a297,'isOpen'),_0x20a297['buttonView']['set']({'label':y(_0x1f6476,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x41e769['threeVerticalDots']}),_0x20a297['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x3a2042['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x3a2042['to'](_0x583088=>_0x583088['stopPropagation']())}}),_0x20a297['on']('execute',_0x2df695=>{_0x17e348['isReady']&&'function'==typeof _0x2df695['source']['_action']&&_0x2df695['source']['_action'](_0x17e348);}),_0x594bed(_0x20a297,_0x5a9383,{'role':'menu'}),_0x20a297['listenTo'](_0x17e348,'change:isActionsDropdownOpen',(_0x52a514,_0x501634,_0x2976c0)=>{if(_0x2976c0)for(const _0x2f02b9 of _0x20a297['listView']['items']){const _0x4e90f3=_0x2f02b9['children']['first'],_0x3e6bf8=_0x1c0ca6['find'](_0x5e11f9=>_0x5e11f9['action']===_0x4e90f3['_action'])['isVisible'];_0x2f02b9['isVisible']=void 0x0===_0x3e6bf8||_0x3e6bf8(_0x17e348);}}),_0x20a297;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x282029(_0x49e48e){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x4068ef,_0x4584a9,_0x25d76b,_0x3711a6){super(_0x4068ef);const _0xb5cae6=this['bindTemplate'],_0x3e16b3=function(_0x282ae4,_0x2295da){const _0x237875=Array['from'](_0x2295da['authors'])['filter'](_0x54caf8=>_0x54caf8!=_0x2295da['creator']);return _0x2295da['creator']&&_0x237875['unshift'](_0x2295da['creator']),_0x237875['map'](_0x4a30ca=>new ti(_0x282ae4,_0x4a30ca,_0x4a30ca==_0x2295da['creator']));}(_0x4068ef,_0x4584a9);this['id']=_0x4584a9['id'],this['_revision']=_0x4584a9,this['_requireRevisionName']=_0x3711a6,this['bind']('name','createdAt')['to'](_0x4584a9),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x9f82c1=>{return _0x2ecce0=_0x4068ef['uiLanguage'],(_0x102445=_0x9f82c1)['toLocaleDateString'](_0x2ecce0,{'month':'long','day':'numeric'})+',\x20'+_0x102445['toLocaleTimeString'](_0x2ecce0,{'hour':'numeric','minute':'numeric'});var _0x2ecce0,_0x102445;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x4068ef,_0x35fbb1),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x5be621=>_0x5be621||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x480ae6,_0x1d5690)=>_0x480ae6&&_0x1d5690),this['revisionActionsView']=_0x25d76b&&_0x25d76b['length']?ni(this,_0x25d76b):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0xb5cae6['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0xb5cae6['if']('isEnabled','ck-disabled',_0x5810a3=>!_0x5810a3),_0xb5cae6['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0xb5cae6['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0xb5cae6['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':_0xb5cae6['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':_0x3e16b3}]},this['revisionActionsView']],'on':{'click':_0xb5cae6['to'](_0x2a476f=>{_0x2a476f['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x51c579=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x51c579,'change',()=>{this['_requireRevisionName']&&!_0x51c579['value']||this['fire']('setName',{'id':this['id'],'name':_0x51c579['value']}),_0x51c579['value']||(_0x51c579['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(_0x489c31,_0xc5361){const _0xd60e37=_0x411a2a['fromJSDate'](_0x489c31)['setLocale'](_0xc5361),_0x148460=_0x411a2a['local'](),_0x14def5=_0x148460['minus']({'days':0x1})['startOf']('day');let _0x352584,_0x45cbeb;return _0xd60e37['hasSame'](_0x148460,'day')?(_0x352584=_0xd60e37['startOf']('day')['toJSDate'](),_0x45cbeb=_0xd60e37['toRelativeCalendar']()):_0xd60e37['hasSame'](_0x14def5,'day')?(_0x352584=_0x14def5['toJSDate'](),_0x45cbeb=_0xd60e37['toRelativeCalendar']()):_0xd60e37['hasSame'](_0x148460,'week')?(_0x352584=_0xd60e37['startOf']('week')['toJSDate'](),_0x45cbeb=_0xd60e37['weekdayLong']||''):_0xd60e37['hasSame'](_0x148460,'year')?(_0x352584=_0xd60e37['startOf']('month')['toJSDate'](),_0x45cbeb=_0xd60e37['monthLong']||''):(_0x352584=_0xd60e37['startOf']('year')['toJSDate'](),_0x45cbeb=String(_0xd60e37['year'])),{'startDate':_0x352584,'localizedPeriodName':_0x45cbeb};}class mi extends _0x49e48e{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1f7379,_0x53b110,_0x4fb891,_0x325e15){super(_0x1f7379);const _0x5912d4=di(_0x53b110,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x53b110,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4fb891,this['_requireRevisionName']=_0x325e15,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':_0x5912d4}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x347f7f){const _0x8205b1=new ai(this['locale'],_0x347f7f,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x8205b1);}['removeRevision'](_0x3de833){const _0x300d46=this['revisionViews']['find'](_0x2a5901=>_0x2a5901['id']===_0x3de833['id']);this['revisionViews']['remove'](_0x300d46);}}class as extends _0x49e48e{constructor(_0x3b99c6){super(_0x3b99c6);const _0x48145b=new _0x2c2848();_0x48145b['content']=_0x41e769['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x48145b,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3b99c6,'Revision\x20history')]}]});}}class ci extends _0x49e48e{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x308ba0,_0xdef59e,_0x195033,_0x1cdace){super(_0x308ba0);const _0x27e489=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0xdef59e,this['_revisionActions']=_0x195033,this['_requireRevisionName']=_0x1cdace,this['on']('select',(_0x147bc1,_0x4eea4d)=>{this['fire']('revisionSelected',_0x4eea4d);}),this['on']('setName',(_0x51563a,_0x1729e6)=>{this['fire']('revisionSetName',_0x1729e6);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x308ba0),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x27e489['if']('isEnabled','ck-disabled',_0x1fa739=>!_0x1fa739)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x30e66f of this['_revisions'])this['_addRevision'](_0x30e66f);this['_revisions']['on']('add',(_0x32e854,_0x197ebd)=>{this['_addRevision'](_0x197ebd);}),this['_revisions']['on']('remove',(_0x1b72df,_0x55d7a7)=>{this['_removeRevision'](_0x55d7a7);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x413683=>_0x413683['revisionViews']['map'](_0x284cc4=>_0x284cc4))['flat']();}['selectRevision'](_0x4e493d){for(const _0x29f7dd of this['revisionViews'])_0x4e493d&&_0x4e493d['id']===_0x29f7dd['id']?_0x29f7dd['select']():_0x29f7dd['deselect']();}['highlightRevisions'](_0x2b0e59){for(const _0x13aa13 of this['revisionViews'])_0x2b0e59['some'](({id:_0x4d5c64})=>_0x4d5c64===_0x13aa13['id'])?_0x13aa13['highlight']():_0x13aa13['unhighlight']();}['_addRevision'](_0x250023){const _0x38d949=di(_0x250023['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x23f1e3=this['timePeriodViews']['get'](0x0);_0x23f1e3&&_0x23f1e3['startDate']['getTime']()===_0x38d949['getTime']()||(_0x23f1e3=new mi(this['locale'],_0x38d949,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x23f1e3)),_0x23f1e3['addRevision'](_0x250023);}['_removeRevision'](_0x23daa6){const _0x27d3cd=di(_0x23daa6['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x27d3cd)['removeRevision'](_0x23daa6);}['_getTimePeriodViewByStartDate'](_0x3c9e61){return this['timePeriodViews']['find'](_0x4875d6=>_0x4875d6['startDate']['getTime']()===_0x3c9e61['getTime']());}}class w extends _0x57a85d{['_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(_0x29b7c4){super(_0x29b7c4),this['_revisionViewer']=_0x29b7c4['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x5bb758=this['_revisionsRepository']['_revisions'],_0x25ecfc=this['_createRevisionActions'](),_0x59a66a=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x5bb758,_0x25ecfc,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',(_0x36a843,_0x336fd2)=>{_0x336fd2['revisionViews']['on']('add',(_0x5ed338,_0x5bd4d6)=>{_0x5bd4d6['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)),_0x59a66a['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x59897b=this['_revisionsRepository']['getRevision'](0x0);if(_0x59897b){const _0x1d8aca=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x59897b['id']);this['_revisionViewer']['compare'](_0x59897b,_0x1d8aca);}}['_handleRevisionSelected'](_0x46e78a,_0x38873a){const _0x3a4228=this['_revisionsRepository']['getRevision'](_0x38873a['id']),_0x562f94=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3a4228['id']);this['_revisionViewer']['compare'](_0x3a4228,_0x562f94);}['_handleRevisionSetName'](_0x4e6f9a,_0x537b61){this['_revisionsRepository']['getRevision'](_0x537b61['id'])['setName'](_0x537b61['name']);}['_handleDiffChange'](_0x259913,_0x369134,_0x4ee406){const _0x1bbc69=this['_revisionsRepository']['getRevisionsInDiff'](_0x4ee406);_0x1bbc69['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1bbc69),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1bbc69[0x0]));}['_createRevisionActions'](){const _0x3a478b=this['editor'],_0x48d410=w['availableRevisionActions'],_0x47da27=_0x3a478b['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x47da27['length'])return _0x47da27['map'](_0x569eca=>{const _0x12d745='string'==typeof _0x569eca?Object['assign']({},_0x48d410[_0x569eca]):_0x569eca;return _0x12d745['action']=_0x12d745['action']['bind'](this,_0x3a478b),_0x12d745['isVisible']&&(_0x12d745['isVisible']=_0x12d745['isVisible']['bind'](this,_0x3a478b)),_0x12d745;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x473637},_0x27ef41)=>{const _0x5f141e=_0x473637['get'](d),_0x4f7409=_0x5f141e['repository'];let _0x5a7f45=_0x5f141e['diff']['newRevisionId'],_0xaa9382=_0x27ef41['id'];_0x4f7409['getIndex'](_0x5a7f45)>_0x4f7409['getIndex'](_0xaa9382)&&([_0x5a7f45,_0xaa9382]=[_0xaa9382,_0x5a7f45]),_0x5f141e['compare'](_0x5a7f45,_0xaa9382);},'isVisible':({plugins:_0x357394},_0x5142ef)=>{const _0x272b74=_0x357394['get'](d);return!(_0x272b74['repository']['getRevisionsInDiff'](_0x272b74['diff'])['length']>0x2)&&!_0x5142ef['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x4cbdc4,{id:_0x32c64d})=>{_0x4cbdc4['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x32c64d);},'isVisible':({plugins:_0x5beab8},_0xb9ea90)=>!!_0x5beab8['get'](d)['repository']['getLaterVisibleRevision'](_0xb9ea90['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2452d0},{id:_0x2c9155,revisionNameView:_0x4dc459})=>{const _0x1a4400=_0x2452d0['get'](d),_0x3fb1d8=_0x1a4400['repository']['getEarlierVisibleRevision'](_0x2c9155);_0x1a4400['compare'](_0x2c9155,_0x3fb1d8),_0x4dc459['focus'](),_0x4dc459['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0xbfc3cd,_0x4fe9fa){super(_0xbfc3cd),this['_view']=_0x4fe9fa,this['_toolbarConfig']=ct(_0xbfc3cd['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x35ddf3){const _0xaba45d=this['editor'],_0x4e4c51=this['view'],_0x16bcff=_0xaba45d['editing']['view'],_0x51fdba=_0x4e4c51['editable'],_0x573639=_0x16bcff['document']['getRoot']();_0x51fdba['name']=_0x573639['rootName'],_0x4e4c51['render']();const _0x48b352=_0x51fdba['element'];this['setEditableElement'](_0x51fdba['name'],_0x48b352),_0x4e4c51['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x16bcff['attachDomRoot'](_0x48b352),this['_elementReplacer']['replace'](_0x35ddf3,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x540ee6=this['view'],_0x4b2998=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x4b2998['detachDomRoot'](_0x540ee6['editable']['name']),_0x540ee6['destroy']();}['_initToolbar'](){const _0x4febb1=this['view'];_0x4febb1['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x4febb1['stickyPanel']['limiterElement']=_0x4febb1['element'],_0x4febb1['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1eb4c9})=>_0x1eb4c9),_0x4febb1['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x4febb1['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x103f2d,_0x28717e,_0x25a21a={}){super(_0x103f2d),this['stickyPanel']=new lt(_0x103f2d),this['toolbar']=new pt(_0x103f2d,{'shouldGroupWhenFull':_0x25a21a['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x103f2d,_0x28717e);}['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(_0x47cc35,_0xc8031a){super(_0xc8031a),this['sourceElement']=_0x47cc35,this['model']['document']['createRoot']();const _0x397d4d=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x397d4d);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1e8eab,_0x5d40ed){const _0xe1f5d1=new this(_0x1e8eab,_0x5d40ed);return await _0xe1f5d1['initPlugins'](),await _0xe1f5d1['ui']['init'](_0x1e8eab),await _0xe1f5d1['data']['init'](_0xe1f5d1['config']['get']('initialData')||''),_0xe1f5d1['fire']('ready'),_0xe1f5d1;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x412bee{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x15123c){super(_0x15123c),this['result']='end';}}class H extends _0x412bee{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x4c3b3a){if(super(_0x4c3b3a),!this['editor']['config']['get']('revisionHistory'))throw new _0x54875a('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x288423=>this['_showRevisionViewer']({..._0x288423,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0xfb3c31=>this['_closeRevisionViewer'](_0xfb3c31)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0xa31e43=>this['_restoreRevision'](_0xa31e43)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x2923a7){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x2923a7;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5a25e0){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5a25e0);}['getRevision'](_0x285104){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x285104);}['getRevisions'](_0x57be09){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x57be09||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x26754a=this['editor'],_0x3a178=_0x54630d(_0x26754a,p),_0x560359=_0x26754a['plugins']['get']('RevisionTracker'),_0x1934c7=_0x26754a['plugins']['get']('Users')['users'];return _0x3a178['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3a178['lazyRoots'],(_0x3a178['plugins']['push'](k,d,R,class extends _0x412bee{static get['requires'](){return[d,'Users'];}['init'](){const _0xa01151=this['editor']['plugins']['get']('Users');for(const _0x112670 of _0x1934c7)_0x112670['isAnonymous']||_0xa01151['getUser'](_0x112670['id'])||_0xa01151['addUser'](_0x112670);const _0x421d1f=_0x560359['repository']['getRevisions']();let _0x4ef78f=null;const _0x1cee11=this['editor']['plugins']['get']('RevisionViewer');_0x1cee11['adapter']=_0x560359['adapter'],_0x1cee11['bind']('isEnabled')['to'](_0x560359),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x26754a,'isReadOnly',_0x6c24a5=>!_0x6c24a5);for(const _0x2fc5a3 of _0x421d1f){const _0x19ca18=null===_0x2fc5a3['creator'];if(_0x19ca18&&_0x2fc5a3['toVersion']===_0x2fc5a3['fromVersion'])continue;const _0x3d6efa=_0x2fc5a3['toJSON']();_0x1cee11['addRevisionData'](_0x3d6efa,(_0x33e7fd,_0x73c63a,_0xdf8ca0)=>{if(_0x19ca18){if(_0x4ef78f)_0x4ef78f['_update'](_0x33e7fd,_0x73c63a);else{if(!_0x73c63a){const _0x3b65d1=_0xdf8ca0['toJSON']();_0x3b65d1['id']=_0x2c681b(),_0x560359['saveRevision'](_0x3b65d1,_0xdf8ca0['toVersion'])['then'](_0x38c65e=>{_0x4ef78f=_0x38c65e;});}}}else _0x2fc5a3['_update'](_0x33e7fd,_0x73c63a);});}}},w),_0x3a178);}['_enhanceShowRevisionViewerCallback'](){const _0xed667=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x36ab8b=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x49af43=this['editor']['plugins']['get']('Autosave');await _0x49af43['save']();}else await _0x36ab8b['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1a5f71=this['editor']['plugins']['get']('Dialog');_0x1a5f71['isOpen']&&_0x1a5f71['hide']();}const _0xd5d2c8=this['_getRevisionViewerEditorConfig']();return _0xed667(_0xd5d2c8)['then'](_0x35fb15=>{return(this['_viewerEditor']=_0x35fb15,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x35fb15;})['catch'](_0x35f8a2=>(console['error'](_0x35f8a2),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x93823c=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'](),_0x93823c(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2e0891=this['editor']['plugins']['get']('Annotations');_0x2e0891['refreshVisibility'](),_0x2e0891['refreshPositioning']();}})));}['_showRevisionViewer'](_0x2144b5){const _0x4205c3=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x1bd564=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x1d744c=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x1d744c,_0x2144b5)['then'](_0x27fdf9=>(_0x1bd564['style']['display']='block',_0x4205c3['style']['display']='none',_0x27fdf9));}['_closeRevisionViewer'](_0x29eec5){const _0x4500d7=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4500d7['style']['display']='',_0x29eec5['destroy']();}async['_restoreRevision'](_0x4c1a8a){const _0x5f34cb=this['editor'],_0x2347e2=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1ed5a8=_0x5f34cb['plugins']['get']('RevisionTracker'),_0x162908=_0x2347e2['repository']['getRevision'](_0x4c1a8a);let _0x2a45b4,_0x1109a3,_0x55f689;try{_0x2a45b4=await _0x2347e2['getRevisionData'](_0x162908),_0x1109a3=await _0x2347e2['getRevisionRootsAttributes'](_0x162908);}catch(_0x56dfa3){return void console['error'](_0x56dfa3);}_0x5f34cb['model']['change'](_0x2083f3=>{for(const _0x2d0370 of Array['from'](_0x5f34cb['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2083f3['removeMarker'](_0x2d0370);}),_0x2347e2['isReady']=!0x1,_0x5f34cb['model']['enqueueChange'](_0x164d92=>{_0x164d92['setSelection'](null),_0x164d92['removeSelectionAttribute'](_0x5f34cb['model']['document']['selection']['getAttributeKeys']());const _0x2bdaf2=Object['keys'](_0x2a45b4);for(const _0x150b62 of _0x5f34cb['model']['document']['roots'])'$graveyard'!=_0x150b62['rootName']&&_0x150b62['isAttached']()&&!_0x2bdaf2['includes'](_0x150b62['rootName'])&&_0x164d92['detachRoot'](_0x150b62);for(const _0x575271 of _0x2bdaf2){let _0x4506e8=_0x5f34cb['model']['document']['getRoot'](_0x575271);_0x4506e8&&_0x4506e8['isAttached']()||(_0x4506e8=_0x164d92['addRoot'](_0x575271));const _0x121e4c=_0x1109a3[_0x575271],_0x4e9c79=Object['keys'](_0x121e4c),_0x18cd59=_0x2a45b4[_0x575271];for(const _0x55a9ec of _0x4506e8['getAttributeKeys']())_0x4e9c79['includes'](_0x55a9ec)||_0x164d92['removeAttribute'](_0x55a9ec,_0x4506e8);for(const _0xf173b8 of _0x4e9c79)_0x164d92['setAttribute'](_0xf173b8,_0x1109a3[_0x575271][_0xf173b8],_0x4506e8);_0x164d92['remove'](_0x164d92['createRangeIn'](_0x4506e8)),_0x164d92['insert'](_0x5f34cb['data']['parse'](_0x18cd59,_0x4506e8),_0x4506e8,0x0);}});const _0xd8fe5b=y(_0x5f34cb['locale'],'Restored');if(_0x162908['name'])_0x55f689=-0x1==_0x162908['name']['indexOf'](_0xd8fe5b)?_0xd8fe5b+':\x20'+_0x162908['name']:_0x162908['name'];else _0x55f689=_0xd8fe5b+':\x20'+(_0x162908['createdAt']['toLocaleDateString'](_0x5f34cb['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x162908['createdAt']['toLocaleTimeString'](_0x5f34cb['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1ed5a8['saveRevision']({'name':_0x55f689}),_0x2347e2['isReady']=!0x0,_0x5f34cb['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(_0x489b4f){super(_0x489b4f),this['_revisionViewer']=_0x489b4f['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x2d35a9=this['_revisionsRepository']['_revisions'],_0x119bb5=this['_createRevisionActions'](),_0x2130e4=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2d35a9,_0x119bb5,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',(_0x248e05,_0x42402f)=>{_0x42402f['revisionViews']['on']('add',(_0x1c3914,_0x37e019)=>{_0x37e019['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)),_0x2130e4['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x2467ef=this['_revisionsRepository']['getRevision'](0x0);if(_0x2467ef){const _0x5506db=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2467ef['id']);this['_revisionViewer']['compare'](_0x2467ef,_0x5506db);}}['_handleRevisionSelected'](_0x433eb9,_0x1f643c){const _0x1fbffd=this['_revisionsRepository']['getRevision'](_0x1f643c['id']),_0x319b0e=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1fbffd['id']);this['_revisionViewer']['compare'](_0x1fbffd,_0x319b0e);}['_handleRevisionSetName'](_0x1cbd30,_0x48dbe5){this['_revisionsRepository']['getRevision'](_0x48dbe5['id'])['setName'](_0x48dbe5['name']);}['_handleDiffChange'](_0x857142,_0x5bffef,_0x1b2790){const _0x4d5c43=this['_revisionsRepository']['getRevisionsInDiff'](_0x1b2790);_0x4d5c43['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x4d5c43),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x4d5c43[0x0]));}['_createRevisionActions'](){const _0x399f3b=this['editor'],_0x43a81c=w['availableRevisionActions'],_0x37d48e=_0x399f3b['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x37d48e['length'])return _0x37d48e['map'](_0x364093=>{const _0x544d19='string'==typeof _0x364093?Object['assign']({},_0x43a81c[_0x364093]):_0x364093;return _0x544d19['action']=_0x544d19['action']['bind'](this,_0x399f3b),_0x544d19['isVisible']&&(_0x544d19['isVisible']=_0x544d19['isVisible']['bind'](this,_0x399f3b)),_0x544d19;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x467e8f},_0x53bc2)=>{const _0x417432=_0x467e8f['get'](d),_0x20b0c9=_0x417432['repository'];let _0xe5467b=_0x417432['diff']['newRevisionId'],_0x53e1e6=_0x53bc2['id'];_0x20b0c9['getIndex'](_0xe5467b)>_0x20b0c9['getIndex'](_0x53e1e6)&&([_0xe5467b,_0x53e1e6]=[_0x53e1e6,_0xe5467b]),_0x417432['compare'](_0xe5467b,_0x53e1e6);},'isVisible':({plugins:_0x1f32ef},_0x4bead5)=>{const _0x14b885=_0x1f32ef['get'](d);return!(_0x14b885['repository']['getRevisionsInDiff'](_0x14b885['diff'])['length']>0x2)&&!_0x4bead5['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x18cb73,{id:_0xcdb953})=>{_0x18cb73['config']['get']('revisionHistory')['restoreRevisionCallback'](_0xcdb953);},'isVisible':({plugins:_0x39c417},_0x501b6a)=>!!_0x39c417['get'](d)['repository']['getLaterVisibleRevision'](_0x501b6a['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x2a8665},{id:_0x6acef7,revisionNameView:_0x525441})=>{const _0x3a1b83=_0x2a8665['get'](d),_0x2dde1d=_0x3a1b83['repository']['getEarlierVisibleRevision'](_0x6acef7);_0x3a1b83['compare'](_0x6acef7,_0x2dde1d),_0x525441['focus'](),_0x525441['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x514533,_0x43b932){super(_0x514533),this['_view']=_0x43b932,this['_toolbarConfig']=ct(_0x514533['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x82779a){const _0x4adf6f=this['editor'],_0x5e6a5f=this['view'],_0x45ecf8=_0x4adf6f['editing']['view'],_0x2ecb9b=_0x5e6a5f['editable'],_0x9f2880=_0x45ecf8['document']['getRoot']();_0x2ecb9b['name']=_0x9f2880['rootName'],_0x5e6a5f['render']();const _0x37ff0c=_0x2ecb9b['element'];this['setEditableElement'](_0x2ecb9b['name'],_0x37ff0c),_0x5e6a5f['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x45ecf8['attachDomRoot'](_0x37ff0c),this['_elementReplacer']['replace'](_0x82779a,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x5f003f=this['view'],_0x53dc4e=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x53dc4e['detachDomRoot'](_0x5f003f['editable']['name']),_0x5f003f['destroy']();}['_initToolbar'](){const _0x323b18=this['view'];_0x323b18['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x323b18['stickyPanel']['limiterElement']=_0x323b18['element'],_0x323b18['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x1b64e6})=>_0x1b64e6),_0x323b18['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x323b18['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2d2c5a,_0x590639,_0xa7a346={}){super(_0x2d2c5a),this['stickyPanel']=new lt(_0x2d2c5a),this['toolbar']=new pt(_0x2d2c5a,{'shouldGroupWhenFull':_0xa7a346['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2d2c5a,_0x590639);}['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(_0x12b949,_0x43c99b){super(_0x43c99b),this['sourceElement']=_0x12b949,this['model']['document']['createRoot']();const _0x312388=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x312388);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x1e3e7a,_0x7bb6fa){const _0x4e04fc=new this(_0x1e3e7a,_0x7bb6fa);return await _0x4e04fc['initPlugins'](),await _0x4e04fc['ui']['init'](_0x1e3e7a),await _0x4e04fc['data']['init'](_0x4e04fc['config']['get']('initialData')||''),_0x4e04fc['fire']('ready'),_0x4e04fc;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x57a85d{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x33e255){super(_0x33e255),this['result']='end';}}class H extends _0x57a85d{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x408eeb){if(super(_0x408eeb),!this['editor']['config']['get']('revisionHistory'))throw new _0x4c3b14('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1252d5=>this['_showRevisionViewer']({..._0x1252d5,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x500dea=>this['_closeRevisionViewer'](_0x500dea)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2d8a7c=>this['_restoreRevision'](_0x2d8a7c)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x4e0302){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x4e0302;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x2ecfc3){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x2ecfc3);}['getRevision'](_0x1353db){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x1353db);}['getRevisions'](_0x2cee57){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x2cee57||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x402a93=this['editor'],_0x4a2db0=_0x460750(_0x402a93,p),_0x48d2a5=_0x402a93['plugins']['get']('RevisionTracker'),_0xdf3e8=_0x402a93['plugins']['get']('Users')['users'];return _0x4a2db0['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4a2db0['lazyRoots'],(_0x4a2db0['plugins']['push'](k,d,R,class extends _0x57a85d{static get['requires'](){return[d,'Users'];}['init'](){const _0x2b6fdf=this['editor']['plugins']['get']('Users');for(const _0x222320 of _0xdf3e8)_0x222320['isAnonymous']||_0x2b6fdf['getUser'](_0x222320['id'])||_0x2b6fdf['addUser'](_0x222320);const _0x2c845a=_0x48d2a5['repository']['getRevisions']();let _0x2d70bf=null;const _0x65e9dc=this['editor']['plugins']['get']('RevisionViewer');_0x65e9dc['adapter']=_0x48d2a5['adapter'],_0x65e9dc['bind']('isEnabled')['to'](_0x48d2a5),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x402a93,'isReadOnly',_0x2e972f=>!_0x2e972f);for(const _0x27a4be of _0x2c845a){const _0x4da276=null===_0x27a4be['creator'];if(_0x4da276&&_0x27a4be['toVersion']===_0x27a4be['fromVersion'])continue;const _0x42a73a=_0x27a4be['toJSON']();_0x65e9dc['addRevisionData'](_0x42a73a,(_0x4fda70,_0x4d03d9,_0xcd3f79)=>{if(_0x4da276){if(_0x2d70bf)_0x2d70bf['_update'](_0x4fda70,_0x4d03d9);else{if(!_0x4d03d9){const _0x59354a=_0xcd3f79['toJSON']();_0x59354a['id']=_0x116f6a(),_0x48d2a5['saveRevision'](_0x59354a,_0xcd3f79['toVersion'])['then'](_0x1c214f=>{_0x2d70bf=_0x1c214f;});}}}else _0x27a4be['_update'](_0x4fda70,_0x4d03d9);});}}},w),_0x4a2db0);}['_enhanceShowRevisionViewerCallback'](){const _0x290ba7=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x4abcd7=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x1a043b=this['editor']['plugins']['get']('Autosave');await _0x1a043b['save']();}else await _0x4abcd7['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0xec2add=this['editor']['plugins']['get']('Dialog');_0xec2add['isOpen']&&_0xec2add['hide']();}const _0xd855d9=this['_getRevisionViewerEditorConfig']();return _0x290ba7(_0xd855d9)['then'](_0x9863b9=>{return(this['_viewerEditor']=_0x9863b9,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x9863b9;})['catch'](_0x1be1af=>(console['error'](_0x1be1af),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0xd10074=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'](),_0xd10074(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x57b6b1=this['editor']['plugins']['get']('Annotations');_0x57b6b1['refreshVisibility'](),_0x57b6b1['refreshPositioning']();}})));}['_showRevisionViewer'](_0x23ec82){const _0x42a11b=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x22989d=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x3b8127=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x3b8127,_0x23ec82)['then'](_0x3b5b8a=>(_0x22989d['style']['display']='block',_0x42a11b['style']['display']='none',_0x3b5b8a));}['_closeRevisionViewer'](_0x23e921){const _0x4c8084=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x4c8084['style']['display']='',_0x23e921['destroy']();}async['_restoreRevision'](_0x4badf5){const _0x515fdb=this['editor'],_0x157ae0=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x1bdcb2=_0x515fdb['plugins']['get']('RevisionTracker'),_0x455c01=_0x157ae0['repository']['getRevision'](_0x4badf5);let _0x384e41,_0x5178a4,_0x2b671c;try{_0x384e41=await _0x157ae0['getRevisionData'](_0x455c01),_0x5178a4=await _0x157ae0['getRevisionRootsAttributes'](_0x455c01);}catch(_0x1d4aaf){return void console['error'](_0x1d4aaf);}_0x515fdb['model']['change'](_0x519205=>{for(const _0x394090 of Array['from'](_0x515fdb['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x519205['removeMarker'](_0x394090);}),_0x157ae0['isReady']=!0x1,_0x515fdb['model']['enqueueChange'](_0x2f288d=>{_0x2f288d['setSelection'](null),_0x2f288d['removeSelectionAttribute'](_0x515fdb['model']['document']['selection']['getAttributeKeys']());const _0x2f0d9c=Object['keys'](_0x384e41);for(const _0x30d453 of _0x515fdb['model']['document']['roots'])'$graveyard'!=_0x30d453['rootName']&&_0x30d453['isAttached']()&&!_0x2f0d9c['includes'](_0x30d453['rootName'])&&_0x2f288d['detachRoot'](_0x30d453);for(const _0x1a886b of _0x2f0d9c){let _0xf1e6d2=_0x515fdb['model']['document']['getRoot'](_0x1a886b);_0xf1e6d2&&_0xf1e6d2['isAttached']()||(_0xf1e6d2=_0x2f288d['addRoot'](_0x1a886b));const _0x9c0d06=_0x5178a4[_0x1a886b],_0x136df0=Object['keys'](_0x9c0d06),_0x4fa508=_0x384e41[_0x1a886b];for(const _0x501f03 of _0xf1e6d2['getAttributeKeys']())_0x136df0['includes'](_0x501f03)||_0x2f288d['removeAttribute'](_0x501f03,_0xf1e6d2);for(const _0x2662b4 of _0x136df0)_0x2f288d['setAttribute'](_0x2662b4,_0x5178a4[_0x1a886b][_0x2662b4],_0xf1e6d2);_0x2f288d['remove'](_0x2f288d['createRangeIn'](_0xf1e6d2)),_0x2f288d['insert'](_0x515fdb['data']['parse'](_0x4fa508,_0xf1e6d2),_0xf1e6d2,0x0);}});const _0x1e7c4c=y(_0x515fdb['locale'],'Restored');if(_0x455c01['name'])_0x2b671c=-0x1==_0x455c01['name']['indexOf'](_0x1e7c4c)?_0x1e7c4c+':\x20'+_0x455c01['name']:_0x455c01['name'];else _0x2b671c=_0x1e7c4c+':\x20'+(_0x455c01['createdAt']['toLocaleDateString'](_0x515fdb['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x455c01['createdAt']['toLocaleTimeString'](_0x515fdb['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x1bdcb2['saveRevision']({'name':_0x2b671c}),_0x157ae0['isReady']=!0x0,_0x515fdb['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};