@ckeditor/ckeditor5-revision-history 42.0.1-alpha.3 → 42.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/LICENSE.md +1 -1
  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 _0x443c27,Context as _0x5b2fe6,PendingActions as _0x10cf33,icons as _0xa8de88,Command as _0x175978,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x317c49,uid as _0x263337,Collection as _0x2e76b9,logWarning as _0x2aedc2,FocusTracker as _0x19752a,KeystrokeHandler as _0x30a3b8,scrollViewportToShowTarget as _0x36cadb,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x357e44}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0xcfa4f9,getMarkerDomElement as _0x375df2,ConfirmMixin as _0x582d9a,sanitizeEditorConfig as _0xfc6c6e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3877f7,ViewText as _0x3f793d,ViewElement as _0x9b2726,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x2db2d5,ViewAttributeElement as _0x137223,ViewEmptyElement as _0x398270,ViewRawElement as _0x14ec25,ViewUIElement as _0x147ebd,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xf9fca4,set as _0x11e9f2,unset as _0x1784d2,isEqual as _0x3218ac}from'lodash-es';import{View as _0x42f150,injectCssTransitionDisabler as ts,submitHandler as _0xa00ca9,LabeledFieldView as at,createLabeledInputText as _0x1d660c,createDropdown as _0x3ce8c3,ListView as te,ListItemView as _0x176e6f,ButtonView as _0x5f51a2,MenuBarMenuView as _0x1c4e08,MenuBarMenuListView as _0x1e6574,MenuBarMenuListItemView as _0x519951,MenuBarMenuListItemButtonView as _0x271449,ContextualBalloon as _0x430cad,ToolbarSeparatorView as _0x592cdd,IconView as _0x3fd02b,addListToDropdown as _0x3da7b8,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 _0x59128a}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x317c49(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x2ac0f9){super(),this['id']=_0x2ac0f9['id']||_0x263337(),this['creator']=_0x2ac0f9['creator']||null,this['authors']=_0x2ac0f9['authors']||[],this['diffData']=_0x2ac0f9['diffData']||null,this['toVersion']=_0x2ac0f9['toVersion']||0x0,this['fromVersion']=_0x2ac0f9['fromVersion']||0x0,this['set']('name',_0x2ac0f9['name']||''),this['set']('createdAt',_0x2ac0f9['createdAt']||new Date()),this['set']('attributes',_0x2ac0f9['attributes']||{});}['setName'](_0x550b6f){this['_update']({'name':_0x550b6f});}['setAttribute'](_0x49fb26,_0x1df95d){const _0x1129c0=_0xf9fca4(this['attributes']);_0x11e9f2(_0x1129c0,_0x49fb26,_0x1df95d),this['_update']({'attributes':_0x1129c0});}['removeAttribute'](_0x5f1fd5){const _0x1bf8c3=_0xf9fca4(this['attributes']);_0x1784d2(_0x1bf8c3,_0x5f1fd5),this['_update']({'attributes':_0x1bf8c3});}['_update'](_0x1e3c4e,_0x35df15=!0x1){let _0x1f8e95=!0x1;const _0x5735c4={'id':this['id']},_0xc2a17d=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0xd9a814 of _0xc2a17d){const _0x18fdae=_0x1e3c4e[_0xd9a814];void 0x0!==_0x18fdae&&_0x18fdae!==this[_0xd9a814]&&(this[_0xd9a814]=_0x18fdae,_0x5735c4[_0xd9a814]=_0x18fdae,_0x1f8e95=!0x0);}_0x1f8e95&&(_0x5735c4['authors']&&(_0x5735c4['authorsIds']=_0x5735c4['authors']['map'](_0x3f7815=>_0x3f7815['id']),delete _0x5735c4['authors']),this['fire']('_update',_0x5735c4,_0x35df15));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2c09e1=>_0x2c09e1['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x443c27{['_revisions'];static get['requires'](){return[_0xcfa4f9];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x4e0d84){super(_0x4e0d84),this['_revisions']=new _0x2e76b9();}['afterInit'](){!function(_0x1e6e5c){function _0x50ca94(_0x388523,_0x1cd1c7,_0x2aa9fd){const _0x5d0946={};_0x5d0946[_0x174549([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x5d0946[_0x174549([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],_0x5d0946[_0x174549([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],_0x5d0946[_0x174549([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],_0x5d0946[_0x174549([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],_0x5d0946[_0x174549([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],_0x5d0946[_0x174549([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],_0x5d0946[_0x174549([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],_0x5d0946[_0x174549([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],_0x5d0946[_0x174549([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],_0x5d0946[_0x174549([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 _0xfa311e=new Uint8Array(0x10);for(let _0x308a53=0xf;_0x308a53>=0x0;--_0x308a53)_0xfa311e[_0x308a53]=_0x2aa9fd%0x100,_0x2aa9fd=parseInt(_0x2aa9fd/0x100);let _0x39ed27=null,_0x3c801a=0x10;const _0x26d73f=new Uint8Array(_0x1cd1c7),_0x2f3b49=[],_0x1f0629=[];_0x179ce6();for(let _0x29b91b=0x0;_0x29b91b<_0x388523[_0x174549([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x29b91b++)0x10===_0x3c801a&&(_0x39ed27=_0x4d5fb6(_0xfa311e),_0x3c801a=0x0,_0x1cb60a(_0xfa311e)),_0x388523[_0x29b91b]^=_0x39ed27[_0x3c801a++];return _0x388523;function _0x5bcd39(_0x12dd6e){const _0x4c2aa8=[];for(let _0x36af64=0x0;_0x36af64<_0x12dd6e[_0x174549([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36af64+=0x4)_0x4c2aa8[_0x174549([0x70,0x75,0x73,0x68])](_0x12dd6e[_0x36af64]<<0x18|_0x12dd6e[_0x36af64+0x1]<<0x10|_0x12dd6e[_0x36af64+0x2]<<0x8|_0x12dd6e[_0x36af64+0x3]);return _0x4c2aa8;}function _0x1cb60a(_0x5de7d1){for(let _0x4b62cd=0xf;_0x4b62cd>=0x0;_0x4b62cd--){if(0xff!==_0x5de7d1[_0x4b62cd]){_0x5de7d1[_0x4b62cd]++;break;}_0x5de7d1[_0x4b62cd]=0x0;}}function _0x4d5fb6(_0x2d5b6e){const _0x5e9367=_0x2f3b49[_0x174549([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x3f16cc=[0x0,0x0,0x0,0x0];let t=_0x5bcd39(_0x2d5b6e);for(let _0x2b8517=0x0;_0x2b8517<0x4;_0x2b8517++)t[_0x2b8517]^=_0x2f3b49[0x0][_0x2b8517];for(let _0x33e51f=0x1;_0x33e51f<_0x5e9367;_0x33e51f++){for(let _0x1e6a3c=0x0;_0x1e6a3c<0x4;_0x1e6a3c++)_0x3f16cc[_0x1e6a3c]=_0x5d0946[_0x174549([0x54,0x31])][t[_0x1e6a3c]>>0x18&0xff]^_0x5d0946[_0x174549([0x54,0x32])][t[(_0x1e6a3c+0x1)%0x4]>>0x10&0xff]^_0x5d0946[_0x174549([0x54,0x33])][t[(_0x1e6a3c+0x2)%0x4]>>0x8&0xff]^_0x5d0946[_0x174549([0x54,0x34])][0xff&t[(_0x1e6a3c+0x3)%0x4]]^_0x2f3b49[_0x33e51f][_0x1e6a3c];t=_0x3f16cc[_0x174549([0x73,0x6c,0x69,0x63,0x65])]();}const _0x563315=new Uint8Array(0x10);let _0x1de57d;for(let _0x82c057=0x0;_0x82c057<0x4;_0x82c057++)_0x1de57d=_0x2f3b49[_0x5e9367][_0x82c057],_0x563315[0x4*_0x82c057]=0xff&(_0x5d0946[_0x174549([0x53])][t[_0x82c057]>>0x18&0xff]^_0x1de57d>>0x18),_0x563315[0x4*_0x82c057+0x1]=0xff&(_0x5d0946[_0x174549([0x53])][t[(_0x82c057+0x1)%0x4]>>0x10&0xff]^_0x1de57d>>0x10),_0x563315[0x4*_0x82c057+0x2]=0xff&(_0x5d0946[_0x174549([0x53])][t[(_0x82c057+0x2)%0x4]>>0x8&0xff]^_0x1de57d>>0x8),_0x563315[0x4*_0x82c057+0x3]=0xff&(_0x5d0946[_0x174549([0x53])][0xff&t[(_0x82c057+0x3)%0x4]]^_0x1de57d);return _0x563315;}function _0x179ce6(){const _0x40bf25=_0x5d0946[_0x174549([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x26d73f[_0x174549([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x17ed06=0x0;_0x17ed06<=_0x40bf25;_0x17ed06++)_0x2f3b49[_0x174549([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1f0629[_0x174549([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2d2ecc=0x4*(_0x40bf25+0x1),_0x46cc6f=_0x26d73f[_0x174549([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x3a4530=_0x5bcd39(_0x26d73f);let _0x399f81;for(let _0x581f9f=0x0;_0x581f9f<_0x46cc6f;_0x581f9f++)_0x399f81=_0x581f9f>>0x2,_0x2f3b49[_0x399f81][_0x581f9f%0x4]=_0x3a4530[_0x581f9f],_0x1f0629[_0x40bf25-_0x399f81][_0x581f9f%0x4]=_0x3a4530[_0x581f9f];let _0x29ad77,_0x5b2809=0x0,t=_0x46cc6f;for(;t<_0x2d2ecc;){_0x29ad77=_0x3a4530[_0x46cc6f-0x1],_0x3a4530[0x0]^=_0x5d0946[_0x174549([0x53])][_0x29ad77>>0x10&0xff]<<0x18^_0x5d0946[_0x174549([0x53])][_0x29ad77>>0x8&0xff]<<0x10^_0x5d0946[_0x174549([0x53])][0xff&_0x29ad77]<<0x8^_0x5d0946[_0x174549([0x53])][_0x29ad77>>0x18&0xff]^_0x5d0946[_0x174549([0x72,0x63,0x6f,0x6e])][_0x5b2809]<<0x18,_0x5b2809+=0x1;for(let _0xdc19f4=0x1;_0xdc19f4<_0x46cc6f/0x2;_0xdc19f4++)_0x3a4530[_0xdc19f4]^=_0x3a4530[_0xdc19f4-0x1];_0x29ad77=_0x3a4530[_0x46cc6f/0x2-0x1],_0x3a4530[_0x46cc6f/0x2]^=_0x5d0946[_0x174549([0x53])][0xff&_0x29ad77]^_0x5d0946[_0x174549([0x53])][_0x29ad77>>0x8&0xff]<<0x8^_0x5d0946[_0x174549([0x53])][_0x29ad77>>0x10&0xff]<<0x10^_0x5d0946[_0x174549([0x53])][_0x29ad77>>0x18&0xff]<<0x18;for(let _0x3aa539=_0x46cc6f/0x2+0x1;_0x3aa539<_0x46cc6f;_0x3aa539++)_0x3a4530[_0x3aa539]^=_0x3a4530[_0x3aa539-0x1];let _0x167684,_0x34a47b,_0x1ef494=0x0;for(;_0x1ef494<_0x46cc6f&&t<_0x2d2ecc;)_0x167684=t>>0x2,_0x34a47b=t%0x4,_0x2f3b49[_0x167684][_0x34a47b]=_0x3a4530[_0x1ef494],_0x1f0629[_0x40bf25-_0x167684][_0x34a47b]=_0x3a4530[_0x1ef494++],t++;}for(let _0x14f872=0x1;_0x14f872<_0x40bf25;_0x14f872++)for(let _0x1afdbc=0x0;_0x1afdbc<0x4;_0x1afdbc++)_0x29ad77=_0x1f0629[_0x14f872][_0x1afdbc],_0x1f0629[_0x14f872][_0x1afdbc]=_0x5d0946[_0x174549([0x55,0x31])][_0x29ad77>>0x18&0xff]^_0x5d0946[_0x174549([0x55,0x32])][_0x29ad77>>0x10&0xff]^_0x5d0946[_0x174549([0x55,0x33])][_0x29ad77>>0x8&0xff]^_0x5d0946[_0x174549([0x55,0x34])][0xff&_0x29ad77];}}function _0x174549(_0x51b20b){return _0x51b20b['map'](_0x14022f=>String['fromCharCode'](_0x14022f))['join']('');}(_0x183306=>{function _0x4056c2(){const _0x183216=[{[_0x174549([0x69,0x64])]:0x1,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x174549([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x174549([0x69,0x64])]:0x2,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([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]),[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x174549([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x174549([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x174549([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x174549([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x174549([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x174549([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x174549([0x69,0x64])]:0x3,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x174549([0x69,0x64])]:0x4,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([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]),[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x174549([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x174549([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x174549([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x174549([0x69,0x64])]:0x5,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([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]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x174549([0x66,0x67,0x69])]:[0xc]}},{[_0x174549([0x69,0x64])]:0x6,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x174549([0x66,0x67,0x69])]:[0xc]}},{[_0x174549([0x69,0x64])]:0x7,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x174549([0x66,0x67,0x69])]:[0xc]}},{[_0x174549([0x69,0x64])]:0x8,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([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]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x174549([0x66,0x67,0x69])]:[0xc]}},{[_0x174549([0x69,0x64])]:0x9,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x174549([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x174549([0x69,0x64])]:0xa,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([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]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([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]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([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]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x174549([0x66,0x67,0x69])]:[0xc]}},{[_0x174549([0x69,0x64])]:0xb,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x174549([0x69,0x64])]:0xc,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x174549([0x69,0x64])]:0xd,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x174549([0x66,0x67,0x69])]:[0xc]}},{[_0x174549([0x69,0x64])]:0xe,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x174549([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([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])},{[_0x174549([0x69,0x64])]:0xf,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x174549([0x69,0x64])]:0x10,[_0x174549([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x174549([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x174549([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x174549([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x174549([0x66,0x67,0x69])]:[0xc]}}];return _0x448154(_0x183216),_0x183216;function _0x45cd87(_0x4735a6){return 0x1<<_0x4735a6-0x1;}function _0x448154(_0x113ec8){_0x113ec8[_0x174549([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x563d2e=>{_0x563d2e[_0x174549([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x45cd87(_0x563d2e[_0x174549([0x69,0x64])]),_0x3ee0b1(_0x563d2e)&&_0x563d2e[_0x174549([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x448154(_0x563d2e[_0x174549([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x3ee0b1(_0x290eaf){return _0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x290eaf;}const _0x424453=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x228484=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x38f410(_0x33af93){const _0x225a2f=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1c3f2f(_0x33af93,new Uint8Array([..._0x424453,..._0x225a2f,..._0x228484]));}function _0x1c3f2f(_0x4a1382,_0xb0e30d){const _0x3e9f83=_0x3e4d6a(_0x4a1382),_0x4b3a99=Array[_0x174549([0x66,0x72,0x6f,0x6d])](_0x108112(_0x3e9f83)),_0x39dbb8=_0x4b3a99[_0x174549([0x70,0x6f,0x70])](),_0x40c030=_0x4b3a99[_0x174549([0x70,0x6f,0x70])]();return _0x563046(_0x50ca94(_0x4b3a99,_0xb0e30d,_0x40c030+0x100*_0x39dbb8));}function _0x3e4d6a(_0x4475b1){const _0x31e969=atob(_0x4475b1),[_0x258f51,_0x4c8cc9]=_0x31e969[_0x174549([0x73,0x70,0x6c,0x69,0x74])](_0x174549([0x2d]));try{if(atob(_0x4c8cc9))return atob(_0x258f51);}catch(_0x685207){}return _0x31e969;}function _0x5ddee4(_0x4c5d0b){try{const _0x371f21=_0x38f410(_0x4c5d0b),_0x3b8cc2=JSON[_0x174549([0x70,0x61,0x72,0x73,0x65])](_0x371f21),_0x326bf1=parseInt(_0x3b8cc2[_0x174549([0x31])]),_0x48108d=_0x3b8cc2[_0x174549([0x32])]||'',_0x1a1e18=parseInt(_0x3b8cc2[_0x174549([0x33])]),_0xbcc2a9=parseInt(_0x3b8cc2[_0x174549([0x34])])||0x0,_0x3f505c=parseInt(_0x3b8cc2[_0x174549([0x35])])||0x0;return{[_0x174549([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x48108d,[_0x174549([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0xbcc2a9,[_0x174549([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x326bf1,[_0x174549([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x1a1e18,[_0x174549([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x3f505c};}catch(_0x2d458b){return null;}}const _0x27b544=_0x4056c2(),_0x17f9be={[_0x174549([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5e7541,[_0x174549([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])]:_0xc1a71c,[_0x174549([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])]:_0x583b84},_0x665f61=_0x183306[_0x174549([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x250d1e=_0x174549([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x183306?_0x183306['context']:_0x183306['editor'],_0x47d598=_0x174549([0x34,0x30,0x34,0x38,0x31,0x34,0x32,0x32]),_0x338649=_0x174549([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]),_0x27a26f=_0x250d1e['config']['get'](_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x39c0d9=_0x27b544[_0x174549([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3ee0b1)[_0x174549([0x66,0x69,0x6e,0x64])](_0x309250=>_0x309250[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x665f61);function _0x34474c(_0x22f68c,_0x2dbe59){_0x17f9be[_0x2dbe59[_0x174549([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x22f68c,_0x2dbe59),_0x2dbe59[_0x174549([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2dbe59[_0x174549([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x174549([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbe538b=>_0x1932ed(_0x250d1e,_0xbe538b[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x174549([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x42b744=>_0x34474c(_0x22f68c,_0x42b744));}function _0x5e7541(_0x211bd1,_0x31da29){_0x228851(_0x559b30(_0x211bd1,_0x31da29),_0x31da29);}function _0xc1a71c(_0x3ebc5a,_0x408b7a){function _0x42197c(_0x157bfe,_0x11b695){try{if(_0x1932ed(_0x250d1e,_0x174549([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x157bfe){const _0x489614=_0x1b66ae(_0x250d1e,_0x174549([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x174549([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x489614)/0x2>_0x157bfe[_0x174549([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x29fd9a(_0x11b695[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x559b30(_0x157bfe,_0x11b695);}catch(_0x30cbeb){return _0x29fd9a(_0x11b695[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x228851(_0x42197c(_0x3ebc5a,_0x408b7a),_0x408b7a);}function _0x583b84(_0x22e17a,_0x27990e){const _0x38a6b8=_0x228484[0x0]*_0x424453[0x1],_0x2bd5e9=_0x228484[0x0]*_0x424453[0x2],_0x331f22=_0x228484[0x2]*_0x424453[0x2];_0x1932ed(_0x250d1e,_0x174549([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1b66ae(_0x250d1e,_0x174549([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x174549([0x73,0x74,0x61,0x74,0x65])]==_0x174549([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x33e324()]=_0x331f22);function _0x4e285b(_0x407c97,_0x46d429){try{return _0x3db00c()?_0x29fd9a(_0x46d429[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x56,0x61,0x6c,0x69,0x64])):_0x559b30(_0x407c97,_0x46d429);}catch(_0x33282b){return _0x29fd9a(_0x46d429[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5c3158(_0x2c5f70,_0xf43aef){const _0x221eb0=0x7;if(_0x2c5f70==_0xf43aef[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4a6087();else{if(_0x2c5f70==_0xf43aef[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x54,0x72,0x69,0x61,0x6c])){const _0x30deee=_0x48dc29();_0x30deee&&_0x1a8785(_0x30deee,_0xf43aef[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x370122=_0x5f24ca();window[_0x174549([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1a8785(_0x174549([0x74,0x69,0x6d,0x65]),_0xf43aef[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x370122);const _0x1ee3d6=_0x1b66ae(_0x250d1e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x174549([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1ee3d6[_0x174549([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x221eb0?_0x1a8785(_0x174549([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xf43aef[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1ee3d6['on'](_0x174549([0x61,0x64,0x64]),()=>{_0x1ee3d6[_0x174549([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x221eb0&&_0x1a8785(_0x174549([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0xf43aef[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x48dc29(){if(!_0x1932ed(_0x250d1e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2081b9 in window)if(Number['isNaN'](Number(_0x2081b9))){if(window[_0x2081b9]===_0x38a6b8)return _0x174549([0x74,0x69,0x6d,0x65]);if(window[_0x2081b9]===_0x2bd5e9)return _0x174549([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x3db00c(){if(!_0x1932ed(_0x250d1e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4d9499 in window)if(Number['isNaN'](Number(_0x4d9499))&&window[_0x4d9499]===_0x331f22)return!0x0;return!0x1;}function _0x1a8785(_0x1967fa,_0x332e26){_0x4a6087(),_0x29fd9a(_0x332e26+_0x174549([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x1967fa),window[_0x33e324()]=_0x1967fa===_0x174549([0x74,0x69,0x6d,0x65])?_0x38a6b8:_0x2bd5e9;}function _0x5f24ca(){let _0x53b117=_0x228484[0x6]*_0x424453[0x8]*_0x424453[0x6];return _0x1932ed(_0x250d1e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x53b117/=0xa),_0x53b117;}function _0x4a6087(){const _0x36ca9e=_0x250d1e;function _0x3c0877(){_0x1932ed(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x1b66ae(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x174549([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x174549([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1b66ae(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x174549([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1b66ae(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x174549([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x9b3b56,_0x1b66ae(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x174549([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x9b3b56,_0x36ca9e[_0x174549([0x6d,0x6f,0x64,0x65,0x6c])][_0x174549([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9b3b56,_0x36ca9e[_0x174549([0x6d,0x6f,0x64,0x65,0x6c])][_0x174549([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9b3b56,_0x36ca9e[_0x174549([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x174549([0x6d,0x6f,0x64,0x65,0x6c]))),_0x1932ed(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x1b66ae(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x174549([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x174549([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x1b66ae(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x174549([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x1b66ae(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x174549([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x9b3b56,_0x1b66ae(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x174549([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x9b3b56);}_0x36ca9e[_0x174549([0x73,0x74,0x61,0x74,0x65])]==_0x174549([0x72,0x65,0x61,0x64,0x79])?_0x3c0877():_0x36ca9e[_0x174549([0x6f,0x6e,0x63,0x65])](_0x174549([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x1932ed(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x3c0877(),_0x1932ed(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x124c85=_0x1b66ae(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x5ea5ce=_0x124c85['getRevision'](0x0),_0x14d58a=_0x124c85['getEarlierVisibleRevision'](_0x5ea5ce[_0x174549([0x69,0x64])]);_0x1b66ae(_0x36ca9e,_0x174549([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x174549([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x5ea5ce[_0x174549([0x69,0x64])],_0x14d58a?_0x14d58a[_0x174549([0x69,0x64])]:null,0x1)['then'](()=>_0x3c0877());}});}_0x5c3158(_0x4e285b(_0x22e17a,_0x27990e),_0x27990e);}function _0x559b30(_0x34e62a,_0x79e61a){try{return _0x197652(_0x79e61a)?_0x29fd9a(_0x79e61a[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x56,0x61,0x6c,0x69,0x64])):_0x34e62a&&_0x42f002(_0x34e62a[_0x174549([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x79e61a)?_0x34e62a[_0x174549([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x174549([0x6f,0x70,0x65,0x6e])][_0x174549([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x47d598)/0x2>_0x34e62a[_0x174549([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x29fd9a(_0x79e61a[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x34e62a[_0x174549([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x29fd9a(_0x79e61a[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x54,0x72,0x69,0x61,0x6c])):_0x29fd9a(_0x79e61a[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x56,0x61,0x6c,0x69,0x64])):_0x29fd9a(_0x79e61a[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2c4da3){return _0x29fd9a(_0x79e61a[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x228851(_0x23cb35,_0x30a520){if(_0x250d1e instanceof _0x5b2fe6){const _0x432a88=_0x250d1e;_0x23cb35==_0x30a520[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x485d40(_0x432a88):_0x23cb35==_0x30a520[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x54,0x72,0x69,0x61,0x6c])&&window[_0x174549([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x485d40(_0x432a88),_0x29fd9a(_0x30a520[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x228484[0x6]*_0x424453[0x8]*_0x424453[0x6]),_0x432a88[_0x174549([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x174549([0x6f,0x6e])](_0x174549([0x61,0x64,0x64]),(_0x3ee6ff,_0x2baac9)=>{_0x23cb35!=_0x30a520[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x23cb35!=_0x30a520[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x23cb35!=_0x30a520[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x5a6cc4(_0x2baac9);});}else{const _0x21a7c2=_0x250d1e;_0x23cb35==_0x30a520[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5a6cc4(_0x21a7c2):_0x23cb35==_0x30a520[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x54,0x72,0x69,0x61,0x6c])&&_0x21a7c2[_0x174549([0x6f,0x6e])](_0x174549([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x5c8110=0x0;_0x21a7c2[_0x174549([0x6d,0x6f,0x64,0x65,0x6c])][_0x174549([0x6f,0x6e])](_0x174549([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x38b2ed,_0x2270b8)=>{_0x2270b8[0x0][_0x174549([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5c8110++,0x1f8===_0x5c8110&&(_0x5a6cc4(_0x21a7c2),_0x29fd9a(_0x30a520[_0x174549([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x174549([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x38b2ed[_0x174549([0x6f,0x66,0x66])]());},{'priority':_0x174549([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x29fd9a(_0x3ad45d){const _0x8237ac=_0x33e324();return _0x250d1e[_0x8237ac]=_0x3ad45d,_0x3ad45d;}function _0x33e324(){const _0x5c2608=String(window[_0x174549([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x174549([0x6e,0x6f,0x77])]())[_0x174549([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x174549([0x2e]),'');let _0x24a761='';for(let _0x622fa5=0x0;_0x622fa5<_0x5c2608[_0x174549([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x622fa5+=0x2){let _0x4df75d=parseInt(_0x5c2608[_0x174549([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x622fa5,_0x622fa5+0x2));_0x4df75d>=_0x338649[_0x174549([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4df75d-=_0x338649[_0x174549([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x24a761+=_0x338649[_0x4df75d];}return _0x24a761;}function _0x485d40(_0x2c22c1){for(const _0x437570 of _0x2c22c1[_0x174549([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x5a6cc4(_0x437570);_0x1b66ae(_0x2c22c1,_0x174549([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x174549([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x1b66ae(_0x2c22c1,_0x174549([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x174549([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x9b3b56;}function _0x5a6cc4(_0x3ace7a){function _0x4bd904(){_0x3ace7a[_0x174549([0x6d,0x6f,0x64,0x65,0x6c])][_0x174549([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x9b3b56,_0x3ace7a[_0x174549([0x6d,0x6f,0x64,0x65,0x6c])][_0x174549([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x9b3b56,_0x3ace7a[_0x174549([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x174549([0x6d,0x6f,0x64,0x65,0x6c]));}_0x3ace7a[_0x174549([0x73,0x74,0x61,0x74,0x65])]==_0x174549([0x72,0x65,0x61,0x64,0x79])?_0x4bd904():_0x3ace7a[_0x174549([0x6f,0x6e,0x63,0x65])](_0x174549([0x72,0x65,0x61,0x64,0x79]),()=>_0x4bd904());}function _0x9b3b56(){return null;}function _0x42f002(_0xcab198,_0x294079){const _0x2d6a82=!!(_0xcab198&_0x294079[_0x174549([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x130ef3=_0x29379b(_0xcab198,_0x294079);return _0x2d6a82||_0x130ef3;}function _0x29379b(_0x2be58d,_0xd31115){const _0x23d384=(_0xd31115[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x174549([0x66,0x67,0x69])]||null;return!!_0x23d384&&_0x27b544[_0x174549([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x203848=>_0x23d384[_0x174549([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x203848[_0x174549([0x69,0x64])]))[_0x174549([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x143269=>!_0x293f9f(_0x143269))[_0x174549([0x73,0x6f,0x6d,0x65])](_0x45bccf=>!!(_0x2be58d&_0x45bccf[_0x174549([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x293f9f(_0x20189a){const _0x35b211={[_0x174549([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])]:_0x19a71e};return!!_0x20189a['forbiddenHandler']&&_0x35b211[_0x20189a['forbiddenHandler']]();}function _0x19a71e(){return!window[_0x174549([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x1932ed(_0x250d1e,_0x174549([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x197652(_0x44ce60){if(!_0x1932ed(_0x250d1e,_0x44ce60[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x7ff890=_0x44ce60[_0x174549([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x13ec07=_0x7ff890[_0x174549([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x20a5de=_0x7ff890[_0x174549([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x20867c=_0x7ff890[_0x174549([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x1932ed(_0x250d1e,_0x174549([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x1b66ae(_0x250d1e,_0x174549([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x174549([0x73,0x74,0x61,0x74,0x65])]==_0x174549([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x13ec07)return!0x0;if(_0x1932ed(_0x250d1e,_0x174549([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x1b66ae(_0x250d1e,_0x174549([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x174549([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x174549([0x65,0x6e,0x64])&&_0x20a5de)return!0x0;return!(!_0x1932ed(_0x250d1e,_0x174549([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]))||_0x1b66ae(_0x250d1e,_0x174549([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]))[_0x174549([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x174549([0x65,0x6e,0x64])||!_0x20867c);}function _0x1932ed(_0x2792cd,_0x25f1c2){return _0x2792cd[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x174549([0x68,0x61,0x73])](_0x25f1c2);}function _0x1b66ae(_0x458851,_0x1d954b){return _0x458851[_0x174549([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x174549([0x67,0x65,0x74])](_0x1d954b);}function _0x563046(_0x501a9c){let _0x357c50='';for(const _0x19914e of _0x501a9c)_0x357c50+=String[_0x174549([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x19914e);return _0x357c50;}function _0x108112(_0x3e9125){const _0x29f91d=new Uint8Array(_0x3e9125[_0x174549([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1b3381=0x0;_0x1b3381<_0x3e9125[_0x174549([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1b3381++)_0x29f91d[_0x1b3381]=_0x3e9125[_0x174549([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1b3381);return _0x29f91d;}_0x39c0d9&&_0x34474c(_0x5ddee4(_0x27a26f),_0x39c0d9);})(_0x1e6e5c);}(this);}['createRevision'](_0x44cbc3){const _0x2de82d=this['editor']['plugins']['get']('Users');return new a({'id':_0x44cbc3['id'],'name':_0x44cbc3['name'],'creator':_0x44cbc3['creatorId']?_0x2de82d['getUser'](_0x44cbc3['creatorId']):null,'diffData':_0x44cbc3['diffData']||_0x44cbc3['data'],'authors':_0x44cbc3['authorsIds']['map'](_0x540aee=>_0x2de82d['getUser'](_0x540aee)),'createdAt':new Date(_0x44cbc3['createdAt']),'attributes':_0x44cbc3['attributes'],'fromVersion':_0x44cbc3['fromVersion'],'toVersion':_0x44cbc3['toVersion']});}['addRevision'](_0x61e921,_0xf8c244=0x0){this['_revisions']['add'](_0x61e921,_0xf8c244);}['getRevision'](_0x1a2736){return this['_revisions']['get'](_0x1a2736);}['getRevisions'](_0x587108={'toJSON':!0x1}){const _0x1696e7=Array['from'](this['_revisions']);return _0x1696e7['reverse'](),_0x587108['toJSON']?_0x1696e7['map'](_0x4ea329=>_0x4ea329['toJSON']()):_0x1696e7;}['getIndex'](_0x16be92){return this['_revisions']['getIndex'](_0x16be92);}['getEarlierVisibleRevision'](_0x2bba50){const [,_0x42a4fd]=this['getRevisionsIterator'](_0x2bba50,{'direction':'earlier'});return _0x42a4fd;}['getLaterVisibleRevision'](_0x2ad653){const [,_0xc669bd]=this['getRevisionsIterator'](_0x2ad653,{'direction':'later'});return _0xc669bd;}['getRevisionsInDiff'](_0x30933c){const _0x31195b=[];for(const _0x4ea45f of this['getRevisionsIterator'](_0x30933c['newRevisionId']))if(_0x31195b['push'](_0x4ea45f),_0x4ea45f['id']===_0x30933c['oldRevisionId'])break;return _0x31195b;}*['getRevisionsIterator'](_0x3c73ec,{direction:_0x3e08c0='earlier',filter:_0x283a26=_0x5119c3=>!0x0}={}){const _0x21a859='earlier'===_0x3e08c0?0x1:-0x1;let _0x3ed47c=this['_revisions']['get'](_0x3c73ec),_0x1deeb8=this['getIndex'](_0x3ed47c);for(yield _0x3ed47c;_0x3ed47c;){if(_0x1deeb8+=_0x21a859,_0x3ed47c=this['getRevision'](_0x1deeb8),!_0x3ed47c)return;_0x283a26(_0x3ed47c)&&(yield _0x3ed47c);}}}function y(_0x5b2c99,_0x33f3f0,_0x350e74){const t=_0x5b2c99['t'];switch(_0x33f3f0){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'},_0x350e74);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x350e74);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':_0x2db2d5,'a':_0x137223,'e':_0x398270,'r':_0x14ec25,'u':_0x147ebd};class l extends _0x443c27{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0xcfa4f9,A,_0x10cf33];}constructor(_0x152cba){super(_0x152cba),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 _0x168b59=_0x263337();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x168b59},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 _0x27d023=this['repository']['getRevision'](0x0),_0x5406bb=_0x27d023&&null===_0x27d023['creator']?_0x27d023:null;if(this['_continueCurrentRevision']=!!_0x5406bb&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x226fdc=this['_source']['getCurrentRevisionId'](),_0x4c01b2=this['repository']['getRevision'](_0x226fdc);if(_0x4c01b2)this['_startingVersion']=_0x4c01b2['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0xa455b4=this['_source']['history']['_operations']['find'](_0x41d7c7=>!_0x41d7c7['_isInit']),_0x5d1b5a=_0xa455b4?_0xa455b4['baseVersion']:this['_source']['history']['version'];_0x27d023?(_0x27d023['toVersion']<_0x5d1b5a&&_0x27d023['_update']({'toVersion':_0x5d1b5a}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x5406bb['id'],this['_startingVersion']=_0x5406bb['fromVersion']):(this['_startingVersion']=_0x27d023['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x5d1b5a,this['_continueCurrentRevision']=!0x1);}}else _0x5406bb&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x5406bb['toVersion'],this['editor']['model']['document']['history']['version']),_0x5406bb['fromVersion']===_0x5406bb['toVersion']?(0x0!==_0x5406bb['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x5406bb['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x5406bb['id'],this['_startingVersion']=_0x5406bb['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',_0x5e5c36=>!_0x5e5c36);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2ae4ff=this['repository']['getRevision'](0x0),_0x2a05d0=await this['getRevisionDocumentData'](_0x2ae4ff),_0x41e658=await this['getRevisionRootsAttributes'](_0x2ae4ff);this['_replaceEditorDataWithRevisionData'](_0x2a05d0,_0x41e658);}}['setSource'](_0x1fbc24){this['_source']=_0x1fbc24;}async['update'](){const _0x3b8b35=await this['_source']['getLatestVersion']();if(_0x3b8b35>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2c1b85=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x3b8b35});_0x2c1b85['authors']=_0x2c1b85['authorsIds']['map'](_0x1c6e58=>this['editor']['plugins']['get']('Users')['getUser'](_0x1c6e58)),this['currentRevision']['_update'](_0x2c1b85);}}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'](_0x370f48={},_0x55ce18=null){const _0x750377=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x55ce18>this['currentRevision']['toVersion']&&(_0x55ce18=null),null===_0x55ce18&&(_0x55ce18=await this['_source']['getLatestVersion']());const _0x32aa30=this['_getFromVersion'](_0x55ce18),_0x13004c=this['buildRevisionData']({'from':_0x32aa30,'to':_0x55ce18});if(this['currentRevision']['toVersion']<_0x55ce18){const _0x3d0b93=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x55ce18,'to':_0x55ce18});_0x3d0b93['authors']=[],_0x3d0b93['authorsIds']=[],_0x3d0b93['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x3d0b93,!0x0),delete _0x3d0b93['authors'],_0x750377['push'](_0x3d0b93);}_0x370f48['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x370f48['name']=_0x370f48['name']||null,_0x370f48['id']=_0x370f48['id']||_0x263337(),_0x370f48={..._0x370f48,..._0x13004c};const _0x2331b2=this['addRevisionData'](_0x370f48);_0x750377['push'](_0x370f48);const _0x2640ee=this['repository']['getIndex'](_0x2331b2);if(0x0!==_0x2640ee){const _0x5609e8=this['repository']['getRevision'](_0x2640ee-0x1);if(_0x5609e8['fromVersion']!==_0x55ce18){const _0x57e674=this['_revisionDataBuilder']['getData'](_0x55ce18,_0x5609e8['toVersion']),_0x588ae0={'id':_0x5609e8['id'],'diffData':_0x57e674['diffData'],'authorsIds':_0x57e674['authorsIds'],'authors':_0x57e674['authorsIds']['map'](_0x15251c=>this['editor']['plugins']['get']('Users')['getUser'](_0x15251c)),'fromVersion':_0x55ce18};_0x5609e8===this['currentRevision']&&(_0x588ae0['createdAt']=new Date(_0x370f48['createdAt']['getTime']()+0xa)),_0x5609e8['_update'](_0x588ae0,!0x0),delete _0x588ae0['authors'],_0x750377['push'](_0x588ae0);}}if(this['adapter']){for(const _0x2a39db of _0x750377)this['_bufferUpdate'](_0x2a39db['id'],_0x2a39db,!0x0);this['sendBufferedUpdates']();}return _0x2331b2;}['addRevisionData'](_0x4b527b){const _0x388414=this['repository']['createRevision'](_0x4b527b);return this['adapter']&&_0x388414['on']('_update',(_0x5dd7eb,_0x3d4680,_0x320e9a)=>{_0x320e9a||(this['_bufferUpdate'](_0x3d4680['id'],_0x3d4680,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x388414,this['_findInsertionIndex'](_0x388414)),_0x388414;}async['getRevisionDocumentData'](_0xa79f28){await this['_loadRevisionData'](_0xa79f28);const _0x15a148={};for(const _0x3da4d1 in _0xa79f28['diffData']){if(_0xa79f28['diffData'][_0x3da4d1]['attachChange']&&!_0xa79f28['diffData'][_0x3da4d1]['attachChange']['isAttached'])continue;const _0x3adb52=this['_removeRevisionMarkers'](JSON['parse'](_0xa79f28['diffData'][_0x3da4d1]['insertions'])),_0x43e17f=this['editor']['editing']['view']['document'],_0x47cf0b=new _0x3877f7(_0x43e17f,_0x3adb52['map'](_0x5c7ef3=>B(_0x5c7ef3,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x15a148[_0x3da4d1]=this['editor']['data']['processor']['toData'](_0x47cf0b),this['editor']['data']['processor']['useFillerType']('default');}return _0x15a148;}async['getRevisionRootsAttributes'](_0x459d9c){await this['_loadRevisionData'](_0x459d9c);const _0x5ee974={};for(const _0x30ac25 in _0x459d9c['diffData'])_0x459d9c['diffData'][_0x30ac25]['attachChange']&&!_0x459d9c['diffData'][_0x30ac25]['attachChange']['isAttached']||(_0x5ee974[_0x30ac25]=_0x459d9c['diffData'][_0x30ac25]['attributesAfter']||{});return _0x5ee974;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x1dc243=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3db6a4=0x0;_0x3db6a4<_0x1dc243['length'];_0x3db6a4++){const _0x419863=_0x1dc243[_0x3db6a4];let _0x5fbbdb=!0x1;for(const _0x1a7364 of Object['keys'](_0x419863))void 0x0===_0x419863[_0x1a7364]?delete _0x419863[_0x1a7364]:'id'!==_0x1a7364&&(_0x5fbbdb=!0x0);_0x5fbbdb||(_0x1dc243[_0x3db6a4]=null);}if(_0x1dc243=_0x1dc243['filter'](_0x56b30a=>null!==_0x56b30a),!_0x1dc243['length'])return;for(let _0x50a36a=0x0;_0x50a36a<_0x1dc243['length'];_0x50a36a++){const _0x3bf5eb=_0x1dc243[_0x50a36a];void 0x0!==_0x3bf5eb['fromVersion']&&void 0x0===_0x3bf5eb['toVersion']&&(_0x3bf5eb['toVersion']=this['repository']['getRevision'](_0x3bf5eb['id'])['toVersion']),void 0x0!==_0x3bf5eb['toVersion']&&void 0x0===_0x3bf5eb['fromVersion']&&(_0x3bf5eb['fromVersion']=this['repository']['getRevision'](_0x3bf5eb['id'])['fromVersion']);}const _0x44d33e=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x1dc243,_0x44d33e)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x50c45a=>{if(_0x50c45a){for(const _0x363bc7 of _0x50c45a)this['setRevisionData']({'id':_0x363bc7['id'],'createdAt':_0x363bc7['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x351dff,_0x250545){let _0x56b347=this['editor']['config']['get']('initialData'),_0x24c44a=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x56b347){_0x56b347={};for(const _0x16d014 of this['editor']['model']['document']['getRootNames']())_0x56b347[_0x16d014]='';}if('string'==typeof _0x56b347&&(_0x56b347={'main':_0x56b347}),void 0x0===_0x24c44a){_0x24c44a={};for(const _0x589345 of this['editor']['model']['document']['getRootNames']())_0x24c44a[_0x589345]={};}let _0x1bf9d9=!0x1;const _0x4d48f4=Object['keys'](_0x56b347),_0x24080a=Object['keys'](_0x351dff);for(const _0x4bac72 of _0x4d48f4){if(_0x56b347[_0x4bac72]!==_0x351dff[_0x4bac72]&&''!==_0x56b347[_0x4bac72]['trim']()){_0x1bf9d9=!0x0;break;}if(!_0x3218ac(_0x24c44a[_0x4bac72],_0x250545[_0x4bac72])&&Object['keys'](_0x24c44a[_0x4bac72])['length']>0x0){_0x1bf9d9=!0x0;break;}}_0x1bf9d9||(_0x1bf9d9=_0x24080a['some'](_0x22515e=>!this['editor']['model']['document']['getRoot'](_0x22515e))),_0x1bf9d9&&_0x2aedc2('editor-initial-data-replaced-with-revision-data',{'editorData':_0x56b347,'editorRootsAttributes':_0x24c44a,'revisionData':_0x351dff,'revisionRootsAttributes':_0x250545}),this['editor']['config']['set']('initialData',_0x351dff),this['editor']['config']['set']('rootsAttributes',_0x250545);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x1eb390=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x1eb390['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2552c4){const _0x45421c=this['repository']['getRevisions']();_0x45421c['reverse']();let _0x403afd=0x0;for(;_0x403afd<_0x45421c['length'];){const _0x5aa87b=_0x45421c[_0x403afd];if(_0x5aa87b===this['currentRevision']){_0x403afd++;continue;}if(_0x5aa87b['id']===this['_initialRevisionId'])break;const _0x15b6c7=_0x2552c4['toVersion']-_0x5aa87b['toVersion']||_0x2552c4['fromVersion']-_0x5aa87b['fromVersion'];if(_0x15b6c7>0x0)break;if(_0x15b6c7<0x0)_0x403afd++;else{if(!_0x2552c4['creator']&&_0x5aa87b['creator'])break;if(_0x5aa87b['creator']||!_0x2552c4['creator']){if(_0x2552c4['createdAt']>_0x5aa87b['createdAt'])break;_0x403afd++;}else _0x403afd++;}}return _0x403afd;}['setRevisionData'](_0x182b10){const _0x165b21=this['repository']['getRevision'](_0x182b10['id']);if(_0x182b10['createdAt']&&(_0x182b10['createdAt']=new Date(_0x182b10['createdAt'])),_0x182b10['authorsIds']){const _0xee2f7f=this['editor']['plugins']['get']('Users');_0x182b10['authors']=_0x182b10['authorsIds']['map'](_0x1b52ac=>_0xee2f7f['getUser'](_0x1b52ac));}_0x165b21['_update'](_0x182b10,!0x0);}['buildRevisionData']({revision:_0x48d89b=null,from:_0x30af25=null,to:_0x162465=null}){_0x30af25=null!==_0x30af25?_0x30af25:_0x48d89b['fromVersion'],_0x162465=null!==_0x162465?_0x162465:_0x48d89b['toVersion'];const _0x4650a9=this['_revisionDataBuilder']['getData'](_0x30af25,_0x162465),_0x182a84={'diffData':_0x4650a9['diffData'],'authorsIds':_0x4650a9['authorsIds'],'fromVersion':_0x30af25,'toVersion':_0x162465};if(!_0x48d89b||_0x162465!==_0x48d89b['toVersion']){const _0x4a160c=_0x162465-0x1,_0x14b3dc=this['_source']['history']['getOperation'](_0x4a160c);_0x182a84['createdAt']=_0x14b3dc&&_0x14b3dc['createdAt']||new Date();}if(this['_loadedStateData']&&_0x30af25===this['_loadedStateData']['fromVersion']){for(const _0x4a80da of this['_loadedStateData']['authors'])_0x182a84['authorsIds']['includes'](_0x4a80da['id'])||_0x182a84['authorsIds']['push'](_0x4a80da['id']);}return _0x182a84;}['_loadRevisionData'](_0x332431){if(!_0x332431||_0x332431['diffData'])return Promise['resolve']();{const _0x1daa42=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1daa42,'revisionId':_0x332431['id']})['then'](_0x556e1c=>{_0x332431['diffData']=_0x556e1c['diffData'];});}}['_bufferUpdate'](_0x32a168,_0x4fc8fe,_0x373851){if(this['_bufferedUpdates']['has'](_0x32a168)){const _0x468125=this['_bufferedUpdates']['get'](_0x32a168);_0x4fc8fe=_0x373851?{..._0x468125,..._0x4fc8fe}:{..._0x4fc8fe,..._0x468125};}this['_bufferedUpdates']['set'](_0x32a168,_0x4fc8fe);}['_getFromVersion'](_0x34f124){const _0x4a78a7=this['repository']['getRevisions']();_0x4a78a7['reverse'](),_0x4a78a7['shift']();const _0x8f905b=_0x4a78a7['find'](_0x312cda=>_0x312cda['toVersion']<=_0x34f124)['toVersion'];return _0x8f905b<this['_startingVersion']?this['_startingVersion']:_0x8f905b;}['_createInitialRevision'](_0x25e60b){const _0xf45b5c=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xf45b5c)this['_initialRevisionId']=_0xf45b5c['id'];else{const _0x296bc9=!this['editor']['model']['document']['roots']['find'](_0xa64a31=>this['editor']['model']['hasContent'](_0xa64a31)),_0x508b68=this['editor']['plugins']['get']('Users')['me']['id'],_0x4b82d9=y(this['editor']['locale'],_0x296bc9?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x25e60b,'to':_0x25e60b,'id':this['_initialRevisionId'],'name':_0x4b82d9,'creatorId':_0x508b68});}}['_createCurrentRevision'](_0x548c51){const _0x598355=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x598355),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x548c51,'to':_0x548c51,'id':_0x598355,'name':'','creatorId':null}));}['_makeRevision']({name:_0x3c02ec,from:_0x54fea9,to:_0x22d7b0,creatorId:_0x57e6dc,id:_0x56bd84}){const _0x300978=this['buildRevisionData']({'from':_0x54fea9,'to':_0x22d7b0});_0x300978['name']=_0x3c02ec,_0x300978['creatorId']=_0x57e6dc,_0x300978['id']=_0x56bd84;const _0x101019=this['addRevisionData'](_0x300978);return this['adapter']&&this['_bufferUpdate'](_0x300978['id'],_0x300978,!0x0),_0x101019;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2ed468){return(_0x2ed468=_0x2ed468['filter'](_0x55518c=>!_0x55518c['name']||'revision-start'!==_0x55518c['name']&&'revision-end'!==_0x55518c['name']))['forEach'](_0x3c4a4f=>{'string'!=typeof _0x3c4a4f&&(_0x3c4a4f['children']=this['_removeRevisionMarkers'](_0x3c4a4f['children']),_0x3c4a4f['attributes']=_0x3c4a4f['attributes']['filter'](_0x42292c=>!_0x42292c[0x0]['startsWith']('data-revision-')));}),_0x2ed468;}}function B(_0x43eb8c,_0x3b2cee){const _0x5a91c0=_0x3b2cee['editing']['view']['document'];if('string'==typeof _0x43eb8c)return new _0x3f793d(_0x5a91c0,_0x43eb8c);{const _0x26d1d8=_0x43eb8c['children']['map'](_0x3b6881=>B(_0x3b6881,_0x3b2cee));return new(T[_0x43eb8c['type']]||_0x9b2726)(_0x5a91c0,_0x43eb8c['name'],_0x43eb8c['attributes'],_0x26d1d8);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x293156){this['editor']=_0x293156,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'](_0x48f939){this['source']=_0x48f939;const _0x529896=new Map(),_0xf5c51c=new Map(),_0x466ed7=this['editor']['model']['document']['roots']['map'](_0x1683b8=>_0x1683b8['rootName']);for(const _0x2a821c of _0x466ed7){const _0x380525=this['editor']['model']['document']['getRoot'](_0x2a821c),_0x3b6369=q(_0x380525);_0x529896['set'](_0x2a821c,_0x3b6369),_0xf5c51c['set'](_0x2a821c,Object['fromEntries'](_0x380525['getAttributes']()));}const _0x1a4c6=Array['from'](this['editor']['model']['markers'])['map'](_0x3cd053=>[_0x3cd053['name'],_0x3cd053['getRange']()]),_0x2d4d76=this['source']['version'];this['_saveMetaData'](_0x2d4d76,_0x529896,_0x1a4c6,_0xf5c51c),this['_startingRevisionId']=this['_revisionId'];const _0x3d19e9=new Map(),_0x404383=new Map();for(const _0x39c2ec of _0x466ed7){const _0x1cb6da=G(_0x39c2ec);_0x3d19e9['set'](_0x39c2ec,_0x1cb6da),_0x404383['set'](_0x39c2ec,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3d19e9,[],_0x404383);}['getData'](_0x314e19,_0x443c3b){if(this['_lastFrom']===_0x314e19&&this['_lastTo']<=_0x443c3b)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x443c3b,!0x0);else{if(!this['_savedMetaData']['has'](_0x314e19)){const _0x2b388d=this['_getPreviousFrom'](_0x314e19);this['_calculateMetaData'](_0x2b388d,_0x314e19,!0x1);}this['_calculateMetaData'](_0x314e19,_0x443c3b,!0x0);}return this['_lastFrom']=_0x314e19,this['_lastTo']=_0x443c3b,this['_getState']();}['loadState'](_0x1b79b7){this['_reset'](),this['_lastFrom']=_0x1b79b7['fromVersion'],this['_lastTo']=_0x1b79b7['toVersion'];for(const _0x435052 in _0x1b79b7['diffData']){const _0x6095a6=_0x1b79b7['diffData'][_0x435052]['attachChange'],_0x5f3d61=_0xf9fca4(_0x1b79b7['diffData'][_0x435052]['attributesBefore'])||{},_0xf29924=this['_makeModelFromViewString'](_0x1b79b7['diffData'][_0x435052]['deletions']);_0xf29924['rootName']=_0x435052,_0xf29924['_isAttached']=!_0x6095a6||!_0x6095a6['isAttached'],_0xf29924['isAttached']=()=>_0xf29924['_isAttached'],this['_baseRoots']['set'](_0x435052,_0xf29924),this['_baseRootsAttributes']['set'](_0x435052,_0x5f3d61),_0x6095a6&&this['_touchedRoots']['set'](_0x435052,_0x6095a6);const _0x13698e=this['_makeIdsRoot'](_0xf29924);this['_baseIdsRoots']['set'](_0x435052,_0x13698e);for(const [_0xbdb4bc,_0x3e9fff]of _0xf29924['markers']){if(!_0xbdb4bc['startsWith']('revision:'))continue;const _0x18d15d=_0xbdb4bc['split'](':')[0x2];for(const _0x1c5a09 of _0x3e9fff['getWalker']({'singleCharacters':!0x0})){const _0x530bd8=this['_getVidAttributeName'](_0x1c5a09),_0x544069='elementEnd'==_0x1c5a09['type']?_0x1c5a09['previousPosition']['path']['slice'](0x0,-0x1):_0x1c5a09['previousPosition']['path'],_0x4edaa7=_0x13698e['getNodeByPath'](_0x544069)['getAttribute'](_0x530bd8);this['_touched']['set'](_0x4edaa7,{'userId':_0x18d15d});}}}this['_startingRevisionId']=this['_revisionId'];const _0x28bbd9=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x3e84a5=>!this['_touched']['has'](_0x3e84a5));let _0x4346f4=0x0;const _0x415e62=new Map();for(const _0x31ecbe in _0x1b79b7['diffData']){const _0x546898=_0x1b79b7['diffData'][_0x31ecbe]['attachChange'],_0x41bbb5=_0xf9fca4(_0x1b79b7['diffData'][_0x31ecbe]['attributesAfter'])||{},_0x595531=this['_makeModelFromViewString'](_0x1b79b7['diffData'][_0x31ecbe]['insertions']);_0x595531['rootName']=_0x31ecbe,_0x595531['_isAttached']=!_0x546898||_0x546898['isAttached'],_0x595531['isAttached']=()=>_0x595531['_isAttached'],this['_diffRoots']['set'](_0x31ecbe,_0x595531),this['_diffRootsAttributes']['set'](_0x31ecbe,_0x41bbb5);const _0x363b13=this['_makeIdsRoot'](_0x595531,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x31ecbe,_0x363b13),_0x415e62['set'](_0x31ecbe,_0x595531['isAttached']()?_0x41bbb5:{});for(const [_0x29889f,_0x3a8579]of _0x595531['markers']){if(!_0x29889f['startsWith']('revision:'))continue;const _0x383c7b=_0x29889f['split'](':')[0x2];for(const _0x342845 of _0x3a8579['getWalker']({'singleCharacters':!0x0})){const _0x1b9610=this['_getVidAttributeName'](_0x342845),_0x25134e=this['_revisionId']++,_0xbf3a99='elementEnd'==_0x342845['type']?_0x342845['previousPosition']['path']['slice'](0x0,-0x1):_0x342845['previousPosition']['path'];_0x363b13['getNodeByPath'](_0xbf3a99)['_setAttribute'](_0x1b9610,_0x25134e),this['_touched']['set'](_0x25134e,{'userId':_0x383c7b});}}for(const _0x3a3cd5 of this['editor']['model']['createRangeIn'](_0x595531)['getWalker']({'singleCharacters':!0x0})){const _0x58deed=this['_getVidAttributeName'](_0x3a3cd5),_0x4cd8a9='elementEnd'==_0x3a3cd5['type']?_0x3a3cd5['previousPosition']['path']['slice'](0x0,-0x1):_0x3a3cd5['previousPosition']['path'],_0xc0bb95=_0x363b13['getNodeByPath'](_0x4cd8a9);_0xc0bb95['getAttribute'](_0x58deed)>0x0||_0xc0bb95['_setAttribute'](_0x58deed,_0x28bbd9[_0x4346f4++]);}for(const [_0x3cd7bb,_0x586ff9]of _0x595531['markers'])_0x3cd7bb['startsWith']('revision:')||this['_markers']['set'](_0x3cd7bb,_0x586ff9);}const _0x4e853a=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4e853a),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4e853a,0x1));const _0x3a58f4=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x3a58f4),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3a58f4,0x1));const _0x1a5051=Array['from'](this['_diffRoots'])['map'](([_0x117517,_0x5e913a])=>[_0x117517,q(_0x5e913a)]);this['_saveMetaData'](this['_lastTo'],_0x1a5051,this['_markers'],_0x415e62);}['_makeModelFromViewString'](_0x3b25c9){const _0x576d4f=JSON['parse'](_0x3b25c9),_0xabc99=this['editor']['editing']['view']['document'],_0x1f3443=new _0x3877f7(_0xabc99,_0x576d4f['map'](_0x2d5754=>B(_0x2d5754,this['editor'])));return this['editor']['data']['toModel'](_0x1f3443);}['_saveMetaData'](_0x93e207,_0x5df842,_0x5a38da,_0x1f7b3f){const _0x3403bb=new Map(_0x5df842),_0x5b237f=new Map(_0xf9fca4(_0x1f7b3f)),_0x584413=new Map();for(const [_0x454ca0,_0x11b391]of _0x5a38da)_0x584413['set'](_0x454ca0,{'start':_0x11b391['start']['clone'](),'end':_0x11b391['end']['clone'](),'rootName':_0x11b391['root']['rootName']});this['_savedMetaData']['set'](_0x93e207,{'roots':_0x3403bb,'markers':_0x584413,'rootsAttributes':_0x5b237f});}['_removeMetaData'](_0x377f8a){this['_savedMetaData']['delete'](_0x377f8a);}['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'](_0xa82059,_0x19fc98=null){let _0x208421=null;_0xa82059['is']('documentFragment')||(_0x208421=new ft(_0xa82059['name'],{'vid_start':null===_0x19fc98?this['_revisionId']++:_0x19fc98++}));const _0x280358=[];for(const _0x1882f8 of _0xa82059['getChildren']())if(_0x1882f8['is']('element')){_0x280358['push'](this['_makeIdsRoot'](_0x1882f8,_0x19fc98));const _0x579736=_0x280358[_0x280358['length']-0x1];null!==_0x19fc98&&(_0x19fc98=_0x579736['is']('element','$text')?_0x579736['getAttribute']('vid')+0x1:_0x579736['getAttribute']('vid_end')+0x1);}else{for(let _0x39ff7d=0x0;_0x39ff7d<_0x1882f8['offsetSize'];_0x39ff7d++)_0x280358['push'](new ft('$text',{'vid':null===_0x19fc98?this['_revisionId']++:_0x19fc98++}));}if(_0xa82059['is']('documentFragment')){const _0x1741b8=G(_0xa82059['rootName']);return _0x1741b8['_insertChild'](0x0,_0x280358),_0x1741b8;}return _0x208421['_setAttribute']('vid_end',null===_0x19fc98?this['_revisionId']++:_0x19fc98++),_0x208421['_insertChild'](0x0,_0x280358),_0x208421;}['_calculateMetaData'](_0x47d319,_0x300a15,_0x2cf4e4){this['_reset']();const {roots:_0x2a8952,markers:_0x489707,rootsAttributes:_0x48f05b}=this['_savedMetaData']['get'](_0x47d319);this['_baseRoots']=new Map(_0x2a8952),this['_baseRootsAttributes']=new Map(_0xf9fca4(_0x48f05b));for(const [_0x4c36b4,_0x2defcd]of this['_baseRoots'])if('$graveyard'!==_0x4c36b4&&(this['_diffRoots']['set'](_0x4c36b4,q(_0x2defcd)),this['_diffRootsAttributes']=new Map(_0xf9fca4(_0x48f05b)),_0x2cf4e4)){const _0xe710e6=this['_revisionId'];this['_idsRoots']['set'](_0x4c36b4,this['_makeIdsRoot'](_0x2defcd)),this['_baseIdsRoots']['set'](_0x4c36b4,this['_makeIdsRoot'](_0x2defcd,_0xe710e6));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x2cf4e4&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3fa63d,_0x5bbba9]of _0x489707){const _0x8ea641=this['_baseRoots']['get'](_0x5bbba9['rootName']),_0x17d83d=this['_diffRoots']['get'](_0x5bbba9['rootName']),_0x413eea=new vt(this['_fixPosition'](_0x5bbba9['start'],_0x8ea641),this['_fixPosition'](_0x5bbba9['end'],_0x8ea641)),_0x2a56a1=this['_fixRange'](_0x413eea,_0x17d83d);_0x8ea641['markers']['set'](_0x3fa63d,_0x413eea),this['_markers']['set'](_0x3fa63d,_0x2a56a1);}this['_applyOperations'](_0x47d319,_0x300a15,_0x2cf4e4);}['_applyOperations'](_0x34ce6e,_0x512f17,_0x122e7a){for(const _0x4bb7b8 of this['source']['getOperations'](_0x34ce6e,_0x512f17))this['_handleOperation'](_0x4bb7b8,_0x122e7a);for(const _0x19a5f7 of this['_diffRoots']['values']())_0x19a5f7['markers']['clear']();for(const [_0x437191,_0x19f323]of this['_markers']){this['_diffRoots']['get'](_0x19f323['root']['rootName'])['markers']['set'](_0x437191,_0x19f323['clone']());}const _0x2097a2=new Map(),_0x5510cb=new Map();for(const [_0x4e1a3e,_0xfc9dea]of this['_diffRoots'])_0x2097a2['set'](_0x4e1a3e,q(_0xfc9dea)),_0x5510cb['set'](_0x4e1a3e,this['_diffRootsAttributes']['get'](_0x4e1a3e));this['_saveMetaData'](_0x512f17,_0x2097a2,this['_markers'],_0x5510cb);}['_getPreviousFrom'](_0x36c3a4){const _0x4cb395=Array['from'](this['_savedMetaData']['keys']());_0x4cb395['sort']((_0x209edd,_0x2a9183)=>_0x209edd-_0x2a9183),_0x4cb395['reverse']();for(const _0x2ebd09 of _0x4cb395)if(_0x2ebd09<_0x36c3a4)return _0x2ebd09;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x4c556e,_0x51b8d4){const _0x4c7436=Array['from'](_0x51b8d4['markers'])['map'](([_0x5ed723,_0x2f4b3a])=>[_0x5ed723,this['_fixRange'](_0x2f4b3a,_0x4c556e)]);_0x4c556e['markers']=new Map(_0x4c7436);}['_transformMarkers'](_0xe412a1){for(const _0x45cd82 of this['_markers']['values']()){const _0x1d4f48=_0x45cd82['getTransformedByOperation'](_0xe412a1),_0x262f0d=vt['_createFromRanges'](_0x1d4f48);_0x45cd82['start']=_0x262f0d['start'],_0x45cd82['end']=_0x262f0d['end'];}}['_handleOperation'](_0x4d7f91,_0x4be27f){if('addRoot'==_0x4d7f91['type']||'detachRoot'==_0x4d7f91['type'])return void this['_handleRootOperation'](_0x4d7f91,_0x4be27f);if('insert'==_0x4d7f91['type']){const _0x9a97e6=_0x4d7f91['position']['root']['rootName'];this['_diffRoots']['has'](_0x9a97e6)||(this['_diffRoots']['set'](_0x9a97e6,G(_0x9a97e6,!0x0)),this['_diffRootsAttributes']['set'](_0x9a97e6,{}),_0x4be27f&&this['_idsRoots']['set'](_0x9a97e6,G(_0x9a97e6,!0x0)));}else{if('addRootAttribute'==_0x4d7f91['type']||'removeRootAttribute'==_0x4d7f91['type']||'changeRootAttribute'==_0x4d7f91['type'])return void this['_handleRootAttributeOperation'](_0x4d7f91);}const _0x2b11c3=this['_cloneOperation'](_0x4d7f91,this['_diffRoots']);if('marker'!==_0x4d7f91['type']&&(_0x2b11c3['_execute'](),this['_transformMarkers'](_0x2b11c3)),_0x4be27f)switch(_0x2b11c3['type']){case'insert':this['_handleInsertOperation'](_0x4d7f91);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x4d7f91);break;case'merge':this['_handleMergeOperation'](_0x4d7f91);break;case'split':this['_handleSplitOperation'](_0x4d7f91);break;case'marker':this['_handleMarkerOperation'](_0x4d7f91);}}['_cloneOperation'](_0x2e7768,_0x5a71eb){const _0x58a2bc=_0x2e7768['clone']();return _0x58a2bc['_authorId']=_0x2e7768['_authorId'],this['_fixOperation'](_0x58a2bc,_0x5a71eb),_0x58a2bc;}['_getBaseVids'](_0x10ea4a){return _0x10ea4a['map'](_0x88c32c=>{const _0x7b2959=this['_getVidAttributeName'](_0x88c32c);return Number(_0x88c32c['item']['getAttribute'](_0x7b2959));});}['_generateTape'](_0x30f9e1,_0x1c6db9){if(_0x30f9e1['is']('element','$text'))_0x1c6db9['push']({'item':_0x30f9e1,'type':'text'});else{_0x30f9e1['is']('element')&&_0x1c6db9['push']({'item':_0x30f9e1,'type':'elementStart'});for(const _0x28b5c1 of _0x30f9e1['getChildren']())this['_generateTape'](_0x28b5c1,_0x1c6db9);_0x30f9e1['is']('element')&&_0x1c6db9['push']({'item':_0x30f9e1,'type':'elementEnd'});}return _0x1c6db9;}['_getState'](){const _0x438791=new Map(this['_touched']),_0x5019e6=new Map(_0x438791),_0x4b83e8=new Map(),_0x37dfdc={'insertions':{},'deletions':{}},_0x5a893c={'insertions':{},'deletions':{}},_0xdc5d7d=new Map(),_0xf4868b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0xf4868b['delete']('$graveyard');for(const _0x182668 of _0xf4868b){const _0xe4052c=this['_diffRoots']['get'](_0x182668)||G(_0x182668,!0x1),_0x4fb418=this['_baseRoots']['get'](_0x182668)||G(_0x182668,!0x1);_0xe4052c['isAttached']()||_0x4fb418['isAttached']()?(_0x37dfdc['insertions'][_0x182668]=q(_0xe4052c),_0x37dfdc['deletions'][_0x182668]=q(_0x4fb418),this['_copyMarkers'](_0x37dfdc['deletions'][_0x182668],_0x4fb418),this['_copyMarkers'](_0x37dfdc['insertions'][_0x182668],_0xe4052c),_0x5a893c['insertions'][_0x182668]=this['_generateTape'](this['_idsRoots']['get'](_0x182668),[]),_0x5a893c['deletions'][_0x182668]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x182668)||G(_0x182668,!0x1),[])):_0xf4868b['delete'](_0x182668);}for(const _0x57445c of _0xf4868b){const _0x4ee16a=_0x5a893c['insertions'][_0x57445c];for(const _0x137da4 of _0x4ee16a){const _0x3bf15e=this['_getVidAttributeName'](_0x137da4),_0x30a07a=_0x137da4['item']['getAttribute'](_0x3bf15e);_0x5019e6['delete'](_0x30a07a),_0x30a07a>=this['_startingRevisionId']&&_0x4b83e8['set'](_0x30a07a,_0x438791['get'](_0x30a07a));}}for(const _0x5d37b5 of _0xf4868b){const _0x51ef05=_0x5a893c['insertions'][_0x5d37b5],_0x4c7542=this['_getBaseVids'](_0x5a893c['deletions'][_0x5d37b5]);let _0x33fb34=0x0;for(const _0x46aa00 of _0x51ef05){const _0x582055=this['_getVidAttributeName'](_0x46aa00),_0x522414=_0x46aa00['item']['getAttribute'](_0x582055);if(!_0x4b83e8['has'](_0x522414)&&!_0xdc5d7d['has'](_0x522414)){if(_0x5019e6['has'](_0x522414))_0x33fb34++;else{if(_0x522414!=_0x4c7542[_0x33fb34]){const _0x53a8c3=_0x438791['get'](_0x522414)||_0x438791['get'](_0x4c7542[_0x33fb34]);for(;_0x522414!=_0x4c7542[_0x33fb34];)_0x5019e6['has'](_0x4c7542[_0x33fb34])||(_0xdc5d7d['set'](_0x4c7542[_0x33fb34],_0x53a8c3),_0x438791['set'](_0x4c7542[_0x33fb34],_0x53a8c3)),_0x33fb34++;}_0x33fb34++;}}}}for(const _0x1dd7ce of _0xf4868b){const _0x321c6b=_0x5a893c['insertions'][_0x1dd7ce];for(const _0x3858b9 of _0x321c6b){const _0xf5ff32=this['_getVidAttributeName'](_0x3858b9),_0xd63cf7=_0x3858b9['item']['getAttribute'](_0xf5ff32);if(_0xdc5d7d['has'](_0xd63cf7)){const _0x1581f9=_0xdc5d7d['get'](_0xd63cf7);_0x5019e6['has'](_0xd63cf7)||_0x5019e6['set'](_0xd63cf7,{..._0x1581f9}),_0x4b83e8['set'](_0xd63cf7,{..._0x1581f9});}}}for(const _0x5d975c of _0x5019e6['keys']())_0x5d975c>=this['_startingRevisionId']&&_0x5019e6['delete'](_0x5d975c);const _0x39d196=new Map();for(const _0x354c08 of _0xf4868b){let _0x9172a9=_0x5a893c['insertions'][_0x354c08];for(const _0x3be842 of _0x9172a9)if(_0x3be842['item']['is']('element','tableCell')){const _0x291f48=this['_getVidAttributeName'](_0x3be842),_0x1b4fb7=_0x3be842['item']['getAttribute'](_0x291f48);if(_0x4b83e8['has'](_0x1b4fb7)){const _0x1d96df=_0x3be842['item']['parent']['parent']['getAttribute']('vid_start'),_0x1cdfe2=_0x39d196['get'](_0x1d96df)||new Set();_0x1cdfe2['add'](_0x4b83e8['get'](_0x1b4fb7)['userId']),_0x39d196['set'](_0x1d96df,_0x1cdfe2);}}_0x9172a9=_0x5a893c['deletions'][_0x354c08];for(const _0xbbdccb of _0x9172a9)if(_0xbbdccb['item']['is']('element','tableCell')){const _0xc13c54=this['_getVidAttributeName'](_0xbbdccb),_0x585e73=_0xbbdccb['item']['getAttribute'](_0xc13c54);if(_0x5019e6['has'](_0x585e73)){const _0x4b9f59=_0xbbdccb['item']['parent']['parent']['getAttribute']('vid_start'),_0x93faa=_0x39d196['get'](_0x4b9f59)||new Set();_0x93faa['add'](_0x5019e6['get'](_0x585e73)['userId']),_0x39d196['set'](_0x4b9f59,_0x93faa);}}for(const _0x4fe994 of _0x39d196['keys']())(_0x4b83e8['has'](_0x4fe994)||_0x5019e6['has'](_0x4fe994))&&_0x39d196['delete'](_0x4fe994);}for(const _0x4b111e of _0xf4868b){const _0x281473=_0x5a893c['insertions'][_0x4b111e];let _0x352596=null,_0x1d0f74=null;for(const _0x385163 of _0x281473){const _0x553f78=this['_getVidAttributeName'](_0x385163),_0x1572c1=_0x385163['item']['getAttribute'](_0x553f78),_0x2dc0de=_0x39d196['get'](_0x1572c1);_0x2dc0de&&'elementStart'==_0x385163['type']&&(_0x352596=Array['from'](_0x2dc0de)[0x0],_0x1d0f74=_0x385163['item']['getAttribute']('vid_end')),_0x352596&&(_0x5019e6['set'](_0x1572c1,{'userId':_0x352596}),_0x4b83e8['set'](_0x1572c1,{'userId':_0x352596})),_0x1572c1==_0x1d0f74&&(_0x352596=null,_0x1d0f74=null);}}const _0x429a1d={},_0x15f1c8=new Set();for(const _0x31e0be of _0xf4868b){const _0x323366=_0x37dfdc['deletions'][_0x31e0be],_0x3e8ebf=_0x37dfdc['insertions'][_0x31e0be];for(const {userId:_0x554ff6}of this['_touchedMarkers']['values']())null!==_0x554ff6&&_0x15f1c8['add'](_0x554ff6);for(const {userId:_0x523aa8}of this['_touchedRoots']['values']())null!==_0x523aa8&&_0x15f1c8['add'](_0x523aa8);this['_markChanges'](_0x3e8ebf,_0x5a893c['insertions'][_0x31e0be],_0x4b83e8,'insertion',_0x15f1c8),this['_markChanges'](_0x323366,_0x5a893c['deletions'][_0x31e0be],_0x5019e6,'deletion',_0x15f1c8),_0x429a1d[_0x31e0be]={'insertions':this['_prepareViewToSave'](_0x3e8ebf),'deletions':this['_prepareViewToSave'](_0x323366),'attachChange':this['_touchedRoots']['get'](_0x31e0be)||null,'attributesBefore':_0xf9fca4(this['_baseRootsAttributes']['get'](_0x31e0be))||{},'attributesAfter':_0xf9fca4(this['_diffRootsAttributes']['get'](_0x31e0be))};}return{'diffData':_0x429a1d,'authorsIds':Array['from'](_0x15f1c8)};}['_processRootBeforeSave'](_0x940b0b){for(const [,_0x72b43b]of _0x940b0b['markers']){const _0x16f821=_0x72b43b['start']['getAncestors']()['filter'](_0x40f1ce=>'tableCell'==_0x40f1ce['name']);for(const _0x5bf2dd of _0x16f821)0x1==_0x5bf2dd['childCount']&&_0x5bf2dd['getChild'](0x0)['is']('element','paragraph')&&_0x5bf2dd['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3658cb){this['_processRootBeforeSave'](_0x3658cb);const _0x5be0b1=this['editor']['data']['toView'](_0x3658cb,{}),_0x38d545=Array['from'](_0x5be0b1['getChildren']())['map'](_0x2a2302=>this['_getViewJson'](_0x2a2302));return JSON['stringify'](_0x38d545);}['_getViewJson'](_0x2687f6){if(_0x2687f6['is']('$text'))return _0x2687f6['data'];{const _0x32eefb=_0x2687f6;return{'type':Object['keys'](T)['find'](_0x2287d1=>_0x2687f6 instanceof T[_0x2287d1]),'name':_0x32eefb['name'],'attributes':Array['from'](_0x32eefb['getAttributes']()),'children':Array['from'](_0x32eefb['getChildren']())['map'](_0xca4260=>this['_getViewJson'](_0xca4260))};}}['_markChanges'](_0x1116d3,_0xff4c13,_0x153f9d,_0x2ab9ce,_0x315977){let _0x559aa7=null,_0x16bb1b=null,_0x139ff6=0x0;const _0x1b1251=this['editor']['model'];for(let _0x3d0dfc=0x0;_0x3d0dfc<_0xff4c13['length'];_0x3d0dfc++){const _0x45b39a=this['_getVidAttributeName'](_0xff4c13[_0x3d0dfc]),_0x39d4d9=_0xff4c13[_0x3d0dfc]['item']['getAttribute'](_0x45b39a),_0x146b4a=_0x153f9d['get'](_0x39d4d9),_0xfd9849=_0x3d0dfc==_0xff4c13['length']-0x1;(!_0x559aa7&&_0x146b4a&&(_0x559aa7=_0x146b4a,_0x16bb1b=_0xff4c13[_0x3d0dfc]),_0x559aa7&&(!_0x146b4a||_0x146b4a['userId']!=_0x559aa7['userId']))&&(_0x335410(_0x146b4a,L(_0x16bb1b,_0x1116d3,_0x1b1251),L(_0xff4c13[_0x3d0dfc],_0x1116d3,_0x1b1251)),_0x559aa7=_0x146b4a||null,_0x16bb1b=_0x146b4a?_0xff4c13[_0x3d0dfc]:null),_0x559aa7&&_0xfd9849&&_0x335410(_0x146b4a,L(_0x16bb1b,_0x1116d3,_0x1b1251),W(_0xff4c13[_0x3d0dfc],_0x1116d3,_0x1b1251));}function _0x335410(_0x5583bd,_0x2da4f0,_0x465040){const _0x45d6bc=_0x559aa7['userId'],_0x5b634e='revision:'+_0x2ab9ce+':'+_0x45d6bc+':'+_0x139ff6++,_0x2653a0=_0x1b1251['createRange'](_0x2da4f0,_0x465040);_0x1116d3['markers']['set'](_0x5b634e,_0x2653a0),null!==_0x45d6bc&&_0x315977['add'](_0x45d6bc);}}['_getVidAttributeName'](_0x85a064){switch(_0x85a064['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2db38e,_0x142cf0){_0x2db38e['baseVersion']=null;for(const _0x446f94 in _0x2db38e){const _0x28c127=_0x2db38e[_0x446f94];if(_0x28c127 instanceof gt){const _0x5d3cd1=_0x142cf0['get'](_0x28c127['root']['rootName']);_0x2db38e[_0x446f94]=this['_fixPosition'](_0x28c127,_0x5d3cd1);}if(_0x28c127 instanceof vt){const _0x59dd00=_0x142cf0['get'](_0x28c127['root']['rootName']);_0x2db38e[_0x446f94]=this['_fixRange'](_0x28c127,_0x59dd00);}'root'===_0x446f94&&(_0x2db38e['root']=_0x142cf0['get'](_0x2db38e['root']['rootName']));}}['_fixRange'](_0x266246,_0x1d3e61){return this['editor']['model']['createRange'](this['_fixPosition'](_0x266246['start'],_0x1d3e61),this['_fixPosition'](_0x266246['end'],_0x1d3e61));}['_fixPosition'](_0x4ec1a6,_0x5c0473){return this['editor']['model']['createPositionFromPath'](_0x5c0473,_0x4ec1a6['path'],_0x4ec1a6['stickiness']);}['_handleInsertOperation'](_0x298f13){const _0x217ca9=this['_idsRoots']['get'](_0x298f13['position']['root']['rootName']),_0x3ac35e=this['_fixPosition'](_0x298f13['position'],_0x217ca9),_0x3cbed7=null===_0x298f13['_authorId']?null:_0x298f13['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1e6f6e=_0x3ac35e['parent'],_0x5cdb8f=this['_revisionId'],_0x337bfc=[];for(const _0x6d9f2f of _0x298f13['nodes'])if(_0x6d9f2f['is']('element'))_0x337bfc['push'](this['_makeIdsRoot'](_0x6d9f2f));else{for(let _0x10e480=0x0;_0x10e480<_0x6d9f2f['offsetSize'];_0x10e480++)_0x337bfc['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x38f86e=this['_revisionId'];for(let _0x9cdc47=_0x5cdb8f;_0x9cdc47<_0x38f86e;_0x9cdc47++)this['_touched']['set'](_0x9cdc47,{'userId':_0x3cbed7});_0x1e6f6e['_insertChild'](_0x3ac35e['offset'],_0x337bfc);}['_handleMoveOperation'](_0x605762){(_0x605762=this['_cloneOperation'](_0x605762,this['_idsRoots']))['_execute']();const _0x4a0d15=null===_0x605762['_authorId']?null:_0x605762['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xdc1c7f=_0x605762['getMovedRangeStart'](),_0x5e1db9=_0xdc1c7f['parent'],_0x43e152=_0xdc1c7f['offset'];!function _0x5c27d6(_0x4f773d,_0x528f5a,_0x2c8c07,_0x7c2cc5){for(let _0x2f6734=_0x2c8c07;_0x2f6734<_0x7c2cc5;_0x2f6734++){const _0x2faf0e=_0x528f5a['getChild'](_0x2f6734);_0x2faf0e['is']('element','$text')?_0x4f773d['set'](_0x2faf0e['getAttribute']('vid'),{'userId':_0x4a0d15}):(_0x4f773d['set'](_0x2faf0e['getAttribute']('vid_start'),{'userId':_0x4a0d15}),_0x5c27d6(_0x4f773d,_0x2faf0e,0x0,_0x2faf0e['childCount']),_0x4f773d['set'](_0x2faf0e['getAttribute']('vid_end'),{'userId':_0x4a0d15}));}}(this['_touched'],_0x5e1db9,_0x43e152,_0x43e152+_0x605762['howMany']);}['_handleMergeOperation'](_0x365e33){const _0x27bc96=null===(_0x365e33=this['_cloneOperation'](_0x365e33,this['_idsRoots']))['_authorId']?null:_0x365e33['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x44f193=_0x365e33['targetPosition']['parent'],_0x376b40=_0x365e33['sourcePosition']['parent'],_0x239790=_0x44f193['getAttribute']('vid_end'),_0x4ec478=_0x376b40['getAttribute']('vid_start');_0x44f193['_setAttribute']('vid_end',_0x376b40['getAttribute']('vid_end')),_0x376b40['_setAttribute']('vid_end',_0x239790),this['_touched']['set'](_0x4ec478,{'userId':_0x27bc96}),this['_touched']['set'](_0x239790,{'userId':_0x27bc96}),_0x365e33['_execute']();}['_handleSplitOperation'](_0x5d0b52){const _0x4e89d4=null===(_0x5d0b52=this['_cloneOperation'](_0x5d0b52,this['_idsRoots']))['_authorId']?null:_0x5d0b52['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4e615c=_0x5d0b52['graveyardPosition'],_0x179be7=_0x5d0b52['splitPosition']['parent'];_0x5d0b52['_execute']();const _0xea07c2=_0x179be7['getAttribute']('vid_end'),_0x385814=_0x5d0b52['insertionPosition']['nodeAfter'];if(_0x4e615c){const _0x43002f=_0x385814['getAttribute']('vid_end'),_0x5e3c2d=_0x179be7['getAttribute']('vid_end');_0x179be7['_setAttribute']('vid_end',_0x43002f),_0x385814['_setAttribute']('vid_end',_0x5e3c2d),this['_touched']['set'](_0x179be7['getAttribute']('vid_end'),{'userId':_0x4e89d4}),this['_touched']['set'](_0x385814['getAttribute']('vid_start'),{'userId':_0x4e89d4});}else{const _0x443b19=this['_revisionId']++,_0x50ac7d=this['_revisionId']++;_0x179be7['_setAttribute']('vid_end',_0x443b19),_0x385814['_setAttribute']('vid_start',_0x50ac7d),_0x385814['_setAttribute']('vid_end',_0xea07c2),this['_touched']['set'](_0x443b19,{'userId':_0x4e89d4}),this['_touched']['set'](_0x50ac7d,{'userId':_0x4e89d4});}}['_handleMarkerOperation'](_0x30408b){if(!_0x30408b['affectsData'])return;const _0x22a285=(_0x30408b=this['_cloneOperation'](_0x30408b,this['_diffRoots']))['oldRange']?_0x30408b['oldRange']['root']:null,_0x2e6b5d=_0x30408b['newRange']?_0x30408b['newRange']['root']:null;_0x22a285&&this['_markers']['delete'](_0x30408b['name']),_0x2e6b5d&&this['_markers']['set'](_0x30408b['name'],_0x30408b['newRange']['clone']());const _0x595367=null===_0x30408b['_authorId']?null:_0x30408b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4859e2=_0x30408b['name'];if(!this['_touchedMarkers']['has'](_0x4859e2))return void this['_touchedMarkers']['set'](_0x4859e2,{'range':_0x30408b['oldRange'],'userId':_0x595367});const _0x56bf98=this['_touchedMarkers']['get'](_0x4859e2),_0xe07fa3=_0x56bf98['range'],_0x571100=_0x30408b['newRange'];null==_0xe07fa3&&null==_0x571100||_0xe07fa3&&_0x571100&&_0xe07fa3['isEqual'](_0x571100)?this['_touchedMarkers']['delete'](_0x30408b['name']):_0x56bf98['userId']=_0x595367;}['_handleRootOperation'](_0x395595,_0x45a4ff){this['_diffRoots']['has'](_0x395595['rootName'])?this['_diffRoots']['get'](_0x395595['rootName'])['_isAttached']=_0x395595['isAdd']:(this['_diffRoots']['set'](_0x395595['rootName'],G(_0x395595['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x395595['rootName'],{}),_0x45a4ff&&this['_idsRoots']['set'](_0x395595['rootName'],G(_0x395595['rootName'],!0x0)));const _0x933679=null===_0x395595['_authorId']?null:_0x395595['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1bdab9=this['_touchedRoots']['get'](_0x395595['rootName']);_0x1bdab9&&_0x1bdab9['userId']===_0x933679?this['_touchedRoots']['delete'](_0x395595['rootName']):this['_touchedRoots']['set'](_0x395595['rootName'],{'userId':_0x933679,'isAttached':_0x395595['isAdd']});}['_handleRootAttributeOperation'](_0x477324){const _0x380558=this['_diffRootsAttributes']['get'](_0x477324['root']['rootName']);null===_0x477324['newValue']?delete _0x380558[_0x477324['key']]:_0x380558[_0x477324['key']]=_0x477324['newValue'];}}function q(_0x17396e){const _0x38b2b6=G(_0x17396e['rootName'],_0x17396e['isAttached']());for(const _0x4e29ec of _0x17396e['getChildren']()){const _0x46aa49=_0x4e29ec['_clone'](!0x0);_0x38b2b6['_appendChild'](_0x46aa49);}return _0x38b2b6;}function G(_0x2c127b,_0x291a35=!0x0){const _0x2f4f8c=new wt();return _0x2f4f8c['rootName']=_0x2c127b,_0x2f4f8c['_isAttached']=_0x291a35,_0x2f4f8c['isAttached']=()=>_0x2f4f8c['_isAttached'],_0x2f4f8c;}function L(_0x1c3c62,_0x3c1b92,_0x56a18a){const _0x3692d9='elementEnd'==_0x1c3c62['type']?_0x56a18a['createPositionAt'](_0x1c3c62['item'],'end'):_0x56a18a['createPositionBefore'](_0x1c3c62['item']);return _0x56a18a['createPositionFromPath'](_0x3c1b92,_0x3692d9['path'],_0x3692d9['stickiness']);}function W(_0xc05766,_0x20df97,_0x6f5957){const _0xbbf86='elementStart'==_0xc05766['type']?_0x6f5957['createPositionAt'](_0xc05766['item'],0x0):_0x6f5957['createPositionAfter'](_0xc05766['item']);return _0x6f5957['createPositionFromPath'](_0x20df97,_0xbbf86['path'],_0xbbf86['stickiness']);}class ns extends _0x42f150{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0xf01f5b,_0xdac703){super(_0xf01f5b),this['focusTracker']=new _0x19752a(),this['keystrokes']=new _0x30a3b8(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0xdac703),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'](),_0xa00ca9({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x50232b=_0x2ddc46=>_0x2ddc46['stopPropagation']();this['keystrokes']['set']('arrowright',_0x50232b),this['keystrokes']['set']('arrowleft',_0x50232b),this['keystrokes']['set']('arrowup',_0x50232b),this['keystrokes']['set']('arrowdown',_0x50232b);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x2c1ee5){this['revisionNameInputView']['fieldView']['element']['value']=_0x2c1ee5['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x23316e){const _0x3a3f72=new at(this['locale'],_0x1d660c),_0x1e8cc6=_0x3a3f72['fieldView'];_0x1e8cc6['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x5413d9=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x23316e&&(_0x5413d9+='\x20('+y(this['locale'],'optional')+')'),(_0x3a3f72['label']=_0x5413d9,_0x1e8cc6['on']('input',()=>{this['revisionNameInputValue']=_0x1e8cc6['element']['value']['trim']();}),_0x3a3f72);}}class u extends _0x443c27{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x507fbd=this['editor'],_0xca3dec=_0x507fbd['plugins']['get']('RevisionTracker');_0x507fbd['ui']['componentFactory']['add']('revisionHistory',_0x273689=>{const _0x4b5592=_0x3ce8c3(_0x273689),_0x23142a=_0x4b5592['panelView']['children'],_0x29bfa4=new te(_0x273689),_0x5083d1=new _0x176e6f(_0x273689),_0x3e0e92=new _0x5f51a2(_0x273689),_0x217031=new _0x176e6f(_0x273689),_0x248b33=new _0x5f51a2(_0x273689);return _0x4b5592['bind']('isEnabled')['to'](_0xca3dec,'isReady',_0xca3dec,'isEnabled',_0x507fbd,'isReadOnly',(_0x497aeb,_0x3c0518,_0x394a96)=>_0x497aeb&&_0x3c0518&&!_0x394a96),_0x4b5592['buttonView']['set']({'icon':_0xa8de88['history'],'label':y(_0x273689,'Revision\x20history'),'tooltip':!0x0}),_0x3e0e92['set']({'label':y(_0x273689,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x3e0e92['bind']('isEnabled')['to'](_0xca3dec,'isReady',_0xca3dec,'isEnabled',_0x507fbd,'isReadOnly',(_0x3ebaf5,_0x157782,_0x33895c)=>_0x3ebaf5&&_0x157782&&!_0x33895c),_0x3e0e92['on']('execute',()=>this['_showDialog']()),_0x248b33['set']({'label':y(_0x273689,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x248b33['bind']('isEnabled')['to'](_0xca3dec,'isReady',_0x507fbd,'isReadOnly',(_0x2cf16e,_0x553a78)=>_0x2cf16e&&!_0x553a78),_0x248b33['on']('execute',()=>{_0x507fbd['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4b5592['isOpen']=!0x1,_0x507fbd['editing']['view']['focus']();}),_0x5083d1['children']['add'](_0x3e0e92),_0x217031['children']['add'](_0x248b33),_0x29bfa4['role']='menu',_0x29bfa4['items']['addMany']([_0x5083d1,_0x217031]),_0x23142a['add'](_0x29bfa4),_0x4b5592;}),_0x507fbd['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x50db3a=this['editor'],_0x107127=_0x50db3a['locale'],_0x2c5e7c=new _0x1c4e08(_0x107127),_0x23e78e=new _0x1e6574(_0x107127);_0x2c5e7c['buttonView']['set']({'icon':_0xa8de88['history'],'label':y(_0x107127,'Revision\x20history')});const _0x2b599b=new _0x519951(_0x107127,_0x2c5e7c),_0x1032f5=new _0x271449(_0x107127);_0x1032f5['set']({'label':y(_0x107127,'Save\x20current\x20revision')}),_0x1032f5['delegate']('execute')['to'](_0x2c5e7c),_0x1032f5['on']('execute',()=>{this['_showDialog']();}),_0x2b599b['children']['add'](_0x1032f5),_0x23e78e['items']['add'](_0x2b599b);const _0x2e7e00=new _0x519951(_0x107127,_0x2c5e7c),_0x36fdb9=new _0x271449(_0x107127);return _0x36fdb9['set']({'label':y(_0x107127,'Open\x20revision\x20history')}),_0x36fdb9['delegate']('execute')['to'](_0x2c5e7c),_0x36fdb9['on']('execute',()=>{_0x50db3a['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2e7e00['children']['add'](_0x36fdb9),_0x23e78e['items']['add'](_0x2e7e00),_0x2c5e7c['panelView']['children']['add'](_0x23e78e),_0x2c5e7c;}['_showDialog'](){const _0x53125b=this['editor'],_0x2db3ec=_0x53125b['locale'],t=_0x2db3ec['t'],_0x84cef3=_0x53125b['plugins']['get']('Dialog'),_0xe99738=_0x53125b['plugins']['get']('RevisionTracker');function _0x53f6bf(_0x37ab17){_0x53125b['config']['get']('revisionHistory.requireRevisionName')&&''===_0x37ab17['revisionName']?_0x37ab17['revisionNameInputView']['errorText']=y(_0x2db3ec,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x53125b['plugins']['get'](l)['saveRevision']({'name':_0x37ab17['revisionName']}),_0x84cef3['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x53f6bf(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x84cef3['show']({'id':'revisionSave','title':y(_0x2db3ec,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x84cef3['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x39b065){_0x39b065['bind']('isEnabled')['to'](_0xe99738,'isReady',_0xe99738,'isEnabled',_0x53125b,'isReadOnly',(_0x1e163e,_0x56a81b,_0x5d97c3)=>_0x1e163e&&_0x56a81b&&!_0x5d97c3);},'onExecute':()=>_0x53f6bf(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5e3029=this['editor'],_0x2039cb=_0x5e3029['locale'];this['_saveRevisionFormView']=new ns(_0x2039cb,_0x5e3029['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x42f150{['changeId'];['_model'];constructor(_0x13b062,_0x280020){super(_0x13b062),this['_model']=_0x280020,this['changeId']=_0x280020['id'];const _0x3d251b=this['bindTemplate'],_0xf0fae=y(_0x13b062,_0x280020['data']['isSuggestion']?'Suggested\x20by':'add'==_0x280020['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x280020['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x3d251b['to']('type',_0x619d0d=>'ck-revision-change__'+_0x619d0d)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0xf0fae}]},{'text':'\x20'+_0x280020['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x317c49(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x3cee2d){super(),this['id']=_0x3cee2d['id']||_0x263337(),this['author']=_0x3cee2d['author'],this['type']=_0x3cee2d['type'],this['data']=_0x3cee2d['data']||{},this['rootName']=_0x3cee2d['rootName'],this['set']('createdAt',_0x3cee2d['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(_0x56cced,_0x36b380){this['newRevisionId']=_0x56cced,this['oldRevisionId']=_0x36b380,this['changes']=new _0x2e76b9();}['_setChanges'](_0x58f40a){for(const _0x12c71f of _0x58f40a)this['changes']['add'](_0x12c71f);}}const tt={'c':_0x2db2d5,'a':_0x137223,'e':_0x398270,'r':_0x14ec25,'u':_0x147ebd};class d extends _0x443c27{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0xcfa4f9,_0x430cad,A];}constructor(_0x3e09db){super(_0x3e09db),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',(_0x52c61c,_0x155b77,_0x5961a7)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0xa3ba4e=>{for(const _0x46182b of this['editor']['editing']['view']['document']['roots'])_0x5961a7?_0xa3ba4e['removeClass']('ck-editor__editable__overlay',_0x46182b):_0xa3ba4e['addClass']('ck-editor__editable__overlay',_0x46182b);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1a0fac=>null!==_0x1a0fac),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0xb179e2,_0x421248,_0x5993fa)=>_0xb179e2&&_0x5993fa?_0x421248['changes']['getIndex'](_0x5993fa):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3030b9,_0x3d54f3)=>_0x3030b9?_0x3d54f3['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x430cad);}['init'](){const _0x4c9eeb=this['editor'],_0x2951d2=new yt(_0x4c9eeb,{'direction':'backward'}),_0x25ae46=new yt(_0x4c9eeb,{'direction':'forward'});(_0x4c9eeb['commands']['add']('showPreviousChange',_0x2951d2),_0x4c9eeb['commands']['add']('showNextChange',_0x25ae46),_0x4c9eeb['commands']['add']('restoreRevision',new bt(_0x4c9eeb)),this['on']('change:numberOfChanges',()=>{_0x2951d2['refresh'](),_0x25ae46['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4c9eeb['enableReadOnlyMode']('revision-viewer'),_0x4c9eeb['plugins']['has']('WidgetToolbarRepository'))&&_0x4c9eeb['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3f02fb){await this['loadRevisionData'](_0x3f02fb);const _0x502077={};for(const _0x48e703 in _0x3f02fb['diffData']){if(_0x3f02fb['diffData'][_0x48e703]['attachChange']&&!_0x3f02fb['diffData'][_0x48e703]['attachChange']['isAttached'])continue;const _0x49c11b=this['_removeRevisionMarkers'](JSON['parse'](_0x3f02fb['diffData'][_0x48e703]['insertions'])),_0x3d8397=this['editor']['editing']['view']['document'],_0x277bd4=new _0x3877f7(_0x3d8397,_0x49c11b['map'](_0x456816=>this['_getViewObj'](_0x456816)));this['editor']['data']['processor']['useFillerType']('marked'),_0x502077[_0x48e703]=this['editor']['data']['processor']['toData'](_0x277bd4),this['editor']['data']['processor']['useFillerType']('default');}return _0x502077;}async['getRevisionRootsAttributes'](_0x5c5623){await this['loadRevisionData'](_0x5c5623);const _0x19567d={};for(const _0x275982 in _0x5c5623['diffData'])_0x5c5623['diffData'][_0x275982]['attachChange']&&!_0x5c5623['diffData'][_0x275982]['attachChange']['isAttached']||(_0x19567d[_0x275982]=_0x5c5623['diffData'][_0x275982]['attributesAfter']||{});return _0x19567d;}['_removeRevisionMarkers'](_0x315286){return(_0x315286=_0x315286['filter'](_0x984012=>!_0x984012['name']||'revision-start'!==_0x984012['name']&&'revision-end'!==_0x984012['name']))['forEach'](_0x24815f=>{'string'!=typeof _0x24815f&&(_0x24815f['children']=this['_removeRevisionMarkers'](_0x24815f['children']),_0x24815f['attributes']=_0x24815f['attributes']['filter'](_0xcbdc3c=>!_0xcbdc3c[0x0]['startsWith']('data-revision-')));}),_0x315286;}async['compare'](_0x2d8769,_0x9c4de1,_0x424d12=!0x1){if(!this['isEnabled'])return;const _0x514981=this['diff'],_0x2b2951=this['repository'],_0x15409d='string'==typeof _0x2d8769?_0x2b2951['getRevision'](_0x2d8769):_0x2d8769,_0x43a536='string'==typeof _0x9c4de1?_0x2b2951['getRevision'](_0x9c4de1):_0x9c4de1,_0x4ec875=_0x15409d['id'],_0x539def=_0x43a536?_0x43a536['id']:null;if(!_0x424d12&&this['diff']&&this['diff']['newRevisionId']===_0x4ec875&&this['diff']['oldRevisionId']===_0x539def)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x4ec875,_0x539def);const _0x1e3857=this['_getRevisionsRange'](_0x15409d,_0x43a536,!0x0)['map'](_0x2c84b5=>this['loadRevisionData'](_0x2c84b5));return _0x1e3857['push'](new Promise(_0x4d7e84=>{setTimeout(_0x4d7e84,0x14);})),Promise['all'](_0x1e3857)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x430180=this['_getDiff'](_0x4ec875,_0x539def);for(const _0x333e9b of _0x430180['changes'])this['_changeIdToChange']['set'](_0x333e9b['id'],_0x333e9b);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x32b50e=>{for(const _0x21a9f4 of this['editor']['model']['document']['getRootNames']())_0x32b50e['detachRoot'](_0x21a9f4);for(const _0x2fdb5b of Object['keys'](_0x430180['model'])){const _0x2b319f=_0x32b50e['addRoot'](_0x2fdb5b);for(const _0x5714fe of Object['keys'](_0x430180['attributes'][_0x2fdb5b]))_0x32b50e['setAttribute'](_0x5714fe,_0x430180['attributes'][_0x2fdb5b][_0x5714fe],_0x2b319f);_0x32b50e['insert'](_0x430180['model'][_0x2fdb5b],_0x2b319f,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x430180['changes'])),this['isReady']=!0x0;})['catch'](_0x519902=>{console['error'](_0x519902),this['_cleanUp'](),_0x514981&&(this['diff']=_0x514981),this['isReady']=!0x0;});}['addRevisionData'](_0x2d1289,_0x6caa96){const _0x30b2a4=this['repository']['createRevision'](_0x2d1289);return _0x30b2a4['on']('_update',(_0x4d0781,_0x281ced,_0x3aa6f2)=>_0x6caa96(_0x281ced,_0x3aa6f2,_0x30b2a4)),this['repository']['addRevision'](_0x30b2a4),_0x30b2a4;}['loadRevisionData'](_0x49faa1){if(!_0x49faa1||_0x49faa1['diffData'])return Promise['resolve']();{const _0x2f957a=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2f957a,'revisionId':_0x49faa1['id']})['then'](_0x240fb1=>{_0x49faa1['_update']({'diffData':_0x240fb1['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},_0x2bd1cb=>{for(const _0x31cb3a of this['editor']['model']['document']['getRootNames']())_0x2bd1cb['detachRoot'](_0x31cb3a);});}['_sortAndFilterDiffChanges'](_0x111574){const _0x2ce2e4=[],_0x98a9a2=new Map();for(const _0x541772 of this['editor']['model']['document']['getRootNames']()){const _0x1965ad=this['editor']['editing']['view']['getDomRoot'](_0x541772);if(!_0x1965ad)continue;const _0x175b74=_0x1965ad['getClientRects']()['item'](0x0);_0x175b74&&(_0x2ce2e4['push'](_0x541772),_0x98a9a2['set'](_0x541772,_0x175b74));}return _0x2ce2e4['sort']((_0x3af0b6,_0x393cc4)=>{const _0x2f6dd0=_0x98a9a2['get'](_0x3af0b6),_0x2fb2d4=_0x98a9a2['get'](_0x393cc4);return _0x2f6dd0['y']-_0x2fb2d4['y']||_0x2f6dd0['x']-_0x2fb2d4['x'];}),(_0x111574=_0x111574['filter'](_0x122b76=>_0x2ce2e4['includes'](_0x122b76['rootName'])))['sort']((_0x2b0cd3,_0x5df612)=>_0x2ce2e4['indexOf'](_0x2b0cd3['rootName'])-_0x2ce2e4['indexOf'](_0x5df612['rootName'])),_0x111574;}['_makeTape'](_0x152ba7){const _0x8cbadf=Array['from'](_0x152ba7['markers'])['filter'](([_0x28ccd8,_0x162de2])=>_0x28ccd8['startsWith']('revision:')&&!_0x162de2['isCollapsed']),_0x14291e=Array['from'](this['editor']['model']['createRangeIn'](_0x152ba7)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x8cbadf['length'])for(const _0x5e3210 of _0x14291e){const [_0x2a283d,_0x1cc276]=_0x8cbadf[0x0],[,_0x29eb98,_0x3fd464]=_0x2a283d['split'](':');if(_0x1cc276['end']['isEqual'](_0x5e3210['nextPosition'])&&_0x8cbadf['shift'](),(_0x5e3210['previousPosition']['isEqual'](_0x1cc276['start'])||_0x5e3210['previousPosition']['isAfter'](_0x1cc276['start']))&&('insertion'==_0x29eb98?_0x5e3210['isAdded']={'userId':_0x3fd464}:'deletion'==_0x29eb98&&(_0x5e3210['isRemoved']={'userId':_0x3fd464})),0x0==_0x8cbadf['length'])break;}return _0x14291e;}['_refreshStartEndIndex'](_0x54030d){const _0x548c94=new Map();for(let _0x1394f5=0x0;_0x1394f5<_0x54030d['length'];_0x1394f5++)'text'===_0x54030d[_0x1394f5]['type']?(_0x54030d[_0x1394f5]['item']['startIndex']=_0x1394f5,_0x54030d[_0x1394f5]['item']['endIndex']=_0x1394f5):('elementStart'===_0x54030d[_0x1394f5]['type']?_0x54030d[_0x1394f5]['item']['startIndex']=_0x1394f5:'elementEnd'===_0x54030d[_0x1394f5]['type']&&(_0x54030d[_0x1394f5]['item']['endIndex']=_0x1394f5),_0x548c94['set'](_0x54030d[_0x1394f5]['id'],_0x1394f5));for(const _0x582e1e of _0x548c94['values']())'elementStart'===_0x54030d[_0x582e1e]['type']?_0x54030d[_0x582e1e]['item']['endIndex']=_0x548c94['get'](_0x54030d[_0x582e1e]['pairId']):'elementEnd'===_0x54030d[_0x582e1e]['type']&&(_0x54030d[_0x582e1e]['item']['startIndex']=_0x548c94['get'](_0x54030d[_0x582e1e]['pairId']));}['_processTape'](_0x326a3f){for(let _0x369325=0x0;_0x369325<_0x326a3f['length'];_0x369325++){if('elementStart'===_0x326a3f[_0x369325]['type'])_0x326a3f[_0x369325]['item']['startIndex']=_0x369325;else{if('elementEnd'===_0x326a3f[_0x369325]['type']){_0x326a3f[_0x369325]['item']['endIndex']=_0x369325;const _0x43b6c9=_0x326a3f[_0x369325]['item']['startIndex'];_0x326a3f[_0x43b6c9]['pairId']=_0x326a3f[_0x369325]['id'],_0x326a3f[_0x369325]['pairId']=_0x326a3f[_0x43b6c9]['id'];}else _0x326a3f[_0x369325]['item']['startIndex']=_0x369325,_0x326a3f[_0x369325]['item']['endIndex']=_0x369325,_0x326a3f[_0x369325]['pairId']=null;}_0x326a3f[_0x369325]['markersStart']||(_0x326a3f[_0x369325]['markersStart']=[],_0x326a3f[_0x369325]['markersEnd']=[]);}}['_markInsertions'](_0x138156,_0x3d8547){const _0x5ca0c3=_0x138156['filter'](_0x1bee91=>!_0x1bee91['isAdded']);for(let _0xd8b015=0x0;_0xd8b015<_0x3d8547['length'];_0xd8b015++)_0x3d8547[_0xd8b015]['isAdded']&&(_0x5ca0c3[_0xd8b015]['isAdded']=_0x3d8547[_0xd8b015]['isAdded']);}['_makeModelFromViewString'](_0x2080e2){const _0x446212=JSON['parse'](_0x2080e2),_0x4e173e=this['editor']['editing']['view']['document'],_0x2c96c6=new _0x3877f7(_0x4e173e,_0x446212['map'](_0x2d5677=>this['_getViewObj'](_0x2d5677)));return this['editor']['data']['toModel'](_0x2c96c6);}['_getViewObj'](_0x16f0d6){const _0x169d88=this['editor']['editing']['view']['document'];if('string'==typeof _0x16f0d6)return new _0x3f793d(_0x169d88,_0x16f0d6);{const _0x4ffac7=_0x16f0d6['children']['map'](_0x581ab6=>this['_getViewObj'](_0x581ab6));return new(tt[_0x16f0d6['type']]||_0x9b2726)(_0x169d88,_0x16f0d6['name'],_0x16f0d6['attributes'],_0x4ffac7);}}['_getDiff'](_0x3601bb,_0x34c30e=null){const _0x56d462=this['repository']['getRevision'](_0x3601bb),_0x5123b0=_0x34c30e?this['repository']['getRevision'](_0x34c30e):null,_0x14feff=this['_getRevisionsRange'](_0x56d462,_0x5123b0),_0x24e510=_0x14feff[_0x14feff['length']-0x1],_0x11f58b=new Map(),_0x2e369a={'model':{},'attributes':{},'changes':[]},_0x1f3b0f=new Set(),_0x27feaa=new Map();for(let _0x26ebb8=_0x14feff['length']-0x1;_0x26ebb8>=0x0;_0x26ebb8--){const _0x236537=_0x14feff[_0x26ebb8];for(const _0xfd7a6c of Object['keys'](_0x236537['diffData']))if(_0x236537['diffData'][_0xfd7a6c]['attachChange']){const _0x176386=_0x236537['diffData'][_0xfd7a6c]['attachChange'];_0x176386['isAttached']?(_0x1f3b0f['add'](_0xfd7a6c),_0x27feaa['has'](_0xfd7a6c)&&_0x27feaa['get'](_0xfd7a6c)['userId']==_0x176386['userId']?_0x27feaa['delete'](_0xfd7a6c):_0x27feaa['set'](_0xfd7a6c,_0x176386)):_0x27feaa['has'](_0xfd7a6c)?(_0x1f3b0f['delete'](_0xfd7a6c),_0x27feaa['delete'](_0xfd7a6c)):(_0x1f3b0f['add'](_0xfd7a6c),_0x27feaa['set'](_0xfd7a6c,_0x176386));}else _0x1f3b0f['add'](_0xfd7a6c);}for(const _0x3ffc1e of _0x1f3b0f){const _0x5daef2=_0x27feaa['has'](_0x3ffc1e)&&!_0x27feaa['get'](_0x3ffc1e)['isAttached'];let _0x1e1dde=_0x5daef2?_0x14feff['length']-0x1:0x0;const _0x50acc4=_0x5daef2?-0x1:0x1;for(;_0x14feff[_0x1e1dde];){const _0x4c2148=_0x14feff[_0x1e1dde];if(_0x4c2148['diffData'][_0x3ffc1e]){const _0x5224cf=_0x5daef2?_0x4c2148['diffData'][_0x3ffc1e]['attributesBefore']:_0x4c2148['diffData'][_0x3ffc1e]['attributesAfter'];_0x2e369a['attributes'][_0x3ffc1e]=_0x5224cf?_0xf9fca4(_0x5224cf):{};break;}_0x1e1dde+=_0x50acc4;}}for(const _0x494b61 of _0x14feff){_0x494b61['model']={};for(const _0x42a6bd of _0x494b61['authors'])_0x11f58b['set'](_0x42a6bd['id'],_0x42a6bd);for(const _0x524be6 of _0x1f3b0f){const _0x383bef=_0x494b61['diffData'][_0x524be6]?_0x494b61['diffData'][_0x524be6]['insertions']:'[]',_0x2efebb=_0x494b61['diffData'][_0x524be6]?_0x494b61['diffData'][_0x524be6]['deletions']:'[]';_0x494b61['model'][_0x524be6]={'insertions':this['_makeModelFromViewString'](_0x383bef),'deletions':this['_makeModelFromViewString'](_0x2efebb)};}}for(const _0x3d1a03 of _0x1f3b0f){let _0x498a6e=null,_0x15d1f7=0x0;const _0x29d14b=new Map(Array['from'](_0x56d462['model'][_0x3d1a03]['insertions']['markers'])['filter'](([_0x492428])=>!_0x492428['startsWith']('revision:')));let _0x560951=0x0;for(const _0x59c83d of _0x14feff){const _0xdd02ef=this['_makeTape'](_0x59c83d['model'][_0x3d1a03]['insertions']);_0x59c83d==_0x56d462?(_0x498a6e=_0xdd02ef,_0x15d1f7=_0x498a6e['length'],_0x498a6e['forEach'](_0x21e1f3=>{_0x21e1f3['id']=_0x560951++;}),this['_processTape'](_0x498a6e)):this['_markInsertions'](_0x498a6e,_0xdd02ef);const _0x542ae9=_0x498a6e['filter'](_0x177894=>!_0x177894['isAdded'])['map'](_0x7efd02=>_0x7efd02['id']);let _0xeda952=0x0;const _0x203c23=this['_makeTape'](_0x59c83d['model'][_0x3d1a03]['deletions']);_0x203c23['forEach'](_0xf1254=>{_0xf1254['isRemoved']?_0xf1254['id']=_0x15d1f7++:_0xf1254['id']=_0x542ae9[_0xeda952++];}),this['_processTape'](_0x203c23),this['_setDistance'](_0x498a6e,'isAdded'),this['_setDistance'](_0x203c23,'isRemoved'),_0x59c83d==_0x56d462&&this['_markMarkers'](_0x498a6e,_0x29d14b),_0x498a6e=this['_joinTapes'](_0x498a6e,_0x203c23),this['_refreshStartEndIndex'](_0x498a6e),this['_setDistance'](_0x498a6e,'isRemoved');}_0x498a6e=_0x498a6e['filter'](_0x179dfd=>!(_0x179dfd['isAdded']&&_0x179dfd['isRemoved']));const _0x4e2353=new Map(_0x24e510['model'][_0x3d1a03]['deletions']['markers']),_0x1da802=new Set(_0x29d14b['keys']());for(const _0x49111f of _0x4e2353['keys']())_0x1da802['delete'](_0x49111f);this['_markSuggestions'](_0x498a6e,_0x1da802),this['_fixObsoleteTags'](_0x498a6e),_0x498a6e=this['_removeMissingPairs'](_0x498a6e),_0x498a6e=this['_markMismatchedRemovedTags'](_0x498a6e),_0x498a6e=this['_removeUnsupportedChanges'](_0x498a6e);const {root:_0x5f0f82,changes:_0x19c338}=this['_makeModelFromTape'](_0x498a6e,_0x11f58b,_0x3d1a03);_0x2e369a['model'][_0x3d1a03]=_0x5f0f82;const _0x179d5b=_0x27feaa['get'](_0x3d1a03);if(_0x179d5b){const _0x415888=_0x11f58b['get'](_0x179d5b['userId']),_0xecdf86=new r({'author':_0x415888,'type':_0x179d5b['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x3d1a03});_0x19c338['unshift'](_0xecdf86),_0x2e369a['attributes'][_0x3d1a03]['revisionHistoryAttachChange']=_0xecdf86['id'];}_0x2e369a['changes']=_0x2e369a['changes']['concat'](_0x19c338);}return _0x2e369a;}['_markMarkers'](_0x37a7ac,_0x3b34ba){for(let _0x489335=0x0;_0x489335<_0x37a7ac['length'];_0x489335++)for(const [_0x2cf536,_0x374436]of _0x3b34ba)_0x374436['start']['isEqual'](_0x37a7ac[_0x489335]['previousPosition'])&&_0x37a7ac[_0x489335]['markersStart']['push'](_0x2cf536),_0x374436['end']['isEqual'](_0x37a7ac[_0x489335]['nextPosition'])&&_0x37a7ac[_0x489335]['markersEnd']['push'](_0x2cf536);}['_joinTapes'](_0x3851ef,_0x3013ca){let _0x50a33e=[],_0x2935c2=0x0,_0x44b449=0x0;for(;_0x2935c2<_0x3851ef['length']||_0x44b449<_0x3013ca['length'];){const _0x17873d=_0x3851ef[_0x2935c2]||{},_0x1360a4=_0x3013ca[_0x44b449]||{};if(_0x17873d['id']==_0x1360a4['id'])_0x2935c2++,_0x44b449++,_0x50a33e['push'](_0x17873d);else{if(_0x1360a4['isRemoved']&&_0x17873d['isAdded']){const {commonTape:_0x5394b1,iEnd:_0x594abe,jEnd:_0xb7965f}=this['_threeWayMerge'](_0x3851ef,_0x2935c2,_0x3013ca,_0x44b449);_0x50a33e=_0x50a33e['concat'](_0x5394b1),_0x2935c2=_0x594abe,_0x44b449=_0xb7965f;}else _0x1360a4['isRemoved']?(_0x44b449++,_0x50a33e['push'](_0x1360a4)):(_0x2935c2++,_0x50a33e['push'](_0x17873d));}}return _0x50a33e;}['_markSuggestions'](_0x4cf510,_0x188fec){const _0x4ca2a7=[];for(let _0x357897=0x0;_0x357897<_0x4cf510['length'];_0x357897++){for(let _0x2877ee=0x0;_0x2877ee<_0x4cf510[_0x357897]['markersStart']['length'];_0x2877ee++){const _0xb5c827=_0x4cf510[_0x357897]['markersStart'][_0x2877ee];if(!_0x188fec['has'](_0xb5c827))continue;const {group:_0x29b3ad,type:_0x2687c2,authorId:_0x17dfef}=_0x51ead7(_0xb5c827);'revision-suggestion'!=_0x29b3ad||'insertion'!=_0x2687c2&&'deletion'!=_0x2687c2||(_0x4ca2a7['unshift']({'type':_0x2687c2,'name':_0xb5c827,'userId':_0x17dfef}),_0x4cf510[_0x357897]['markersStart']['splice'](_0x2877ee,0x1),_0x2877ee--);}_0x1187c1(_0x4cf510[_0x357897]);for(let _0x39040a=0x0;_0x39040a<_0x4cf510[_0x357897]['markersEnd']['length'];_0x39040a++){const _0x292d70=_0x4cf510[_0x357897]['markersEnd'][_0x39040a];if(!_0x188fec['has'](_0x292d70))continue;const {group:_0x4218a3,type:_0x13dd1b}=_0x51ead7(_0x292d70);if('revision-suggestion'!=_0x4218a3||'insertion'!=_0x13dd1b&&'deletion'!=_0x13dd1b)continue;_0x4cf510[_0x357897]['markersEnd']['splice'](_0x39040a,0x1),_0x39040a--;const _0x542934=_0x4ca2a7['findIndex'](_0x2bb19a=>_0x2bb19a['name']==_0x292d70);_0x542934>-0x1&&_0x4ca2a7['splice'](_0x542934,0x1);}}function _0x51ead7(_0x15a063){const _0x40b99b=_0x15a063['split'](':');return{'group':_0x40b99b[0x0],'type':_0x40b99b[0x1],'subType':_0x40b99b['length']>=0x5?_0x40b99b[0x2]:null,'id':_0x40b99b['length']<0x5?_0x40b99b[0x2]:_0x40b99b[0x3],'authorId':_0x40b99b['length']<0x5?_0x40b99b[0x3]:_0x40b99b[0x4],'markerCount':0x6==_0x40b99b['length']?_0x40b99b[0x5]:null};}function _0x1187c1(_0x52e049){for(let _0x5882da=0x0;_0x5882da<_0x4ca2a7['length'];_0x5882da++){if(_0x52e049['isAdded']&&'insertion'==_0x4ca2a7[_0x5882da]['type'])return _0x52e049['isAddSuggestion']=_0x4ca2a7[_0x5882da],void delete _0x52e049['isAdded'];if(!_0x52e049['isAdded']&&!_0x52e049['isRemoved']&&'deletion'==_0x4ca2a7[_0x5882da]['type'])return void(_0x52e049['isRemoveSuggestion']=_0x4ca2a7[_0x5882da]);}}}['_setDistance'](_0x48131f,_0x4d8e05){let _0x23f387=0x0,_0x1c20a1=!0x1;const _0x400261=new Map();for(const _0x5b8ead of _0x48131f)_0x5b8ead[_0x4d8e05]?_0x1c20a1&&(_0x23f387++,_0x1c20a1=!0x1):(_0x23f387++,_0x1c20a1=!0x0),_0x400261['set'](_0x5b8ead['id'],_0x23f387);for(let _0x1e45be=0x0;_0x1e45be<_0x48131f['length'];_0x1e45be++){if('isRemoved'==_0x4d8e05&&_0x48131f[_0x1e45be]['isAdded']||'isAdded'==_0x4d8e05&&_0x48131f[_0x1e45be]['isRemoved'])continue;if('text'==_0x48131f[_0x1e45be]['type']){_0x48131f[_0x1e45be]['distance']=0x0;continue;}const _0x142f47=_0x400261['get'](_0x48131f[_0x1e45be]['pairId']),_0x5c9446=_0x400261['get'](_0x48131f[_0x1e45be]['id']);_0x48131f[_0x1e45be]['distance']=_0x142f47-_0x5c9446;}}['_getRevisionsRange'](_0x360707,_0x19c4be,_0x234160=!0x1){const _0x537011=[];let _0x534cc0=this['repository']['getIndex'](_0x360707),_0xef8be3=this['repository']['getIndex'](_0x19c4be);for(-0x1==_0xef8be3&&(_0xef8be3=this['repository']['_revisions']['length'],_0x234160=!0x1);_0x534cc0<_0xef8be3;)_0x537011['push'](this['repository']['getRevision'](_0x534cc0)),_0x534cc0++;return _0x234160&&_0x537011['push'](this['repository']['getRevision'](_0x534cc0)),_0x537011;}['_threeWayMerge'](_0x4beee9,_0xd09c24,_0x2773d4,_0x26ed84){const _0x333016=this['editor']['model']['schema'];let _0x408235=_0xd09c24;for(;_0x4beee9[_0x408235]&&_0x4beee9[_0x408235]['isAdded'];)_0x408235++;let _0x47e575=_0x26ed84;for(;_0x2773d4[_0x47e575]&&_0x2773d4[_0x47e575]['isRemoved'];)_0x47e575++;_0x3cd11b(_0x4beee9,_0xd09c24,_0x408235),_0x3cd11b(_0x2773d4,_0x26ed84,_0x47e575);const _0x1bf29c=_0x2773d4['slice'](_0x26ed84,_0x47e575)['concat'](_0x4beee9['slice'](_0xd09c24,_0x408235));return _0x1bf29c['sort']((_0x402a8c,_0x37a3c9)=>_0x402a8c['side']!=_0x37a3c9['side']?_0x402a8c['side']-_0x37a3c9['side']:_0x402a8c['level']!=_0x37a3c9['level']?_0x402a8c['level']-_0x37a3c9['level']:_0x402a8c['distance']!=_0x37a3c9['distance']?_0x37a3c9['distance']-_0x402a8c['distance']:!!_0x402a8c['isAdded']!=!!_0x37a3c9['isAdded']?-0x1==_0x402a8c['side']||0x0==_0x402a8c['side']?_0x402a8c['isAdded']?-0x1:0x1:_0x402a8c['isAdded']?0x1:-0x1:_0x402a8c['index']-_0x37a3c9['index']),{'commonTape':_0x1bf29c,'iEnd':_0x408235,'jEnd':_0x47e575};function _0x3cd11b(_0x44b30c,_0x19530b,_0x488d95){let _0x3a0550=-0x1,_0x456f28=Number['POSITIVE_INFINITY'],_0x424b8c=!0x0;for(let _0x3cafa3=_0x19530b;_0x3cafa3<_0x488d95;_0x3cafa3++)if(_0x333016['isInline'](_0x44b30c[_0x3cafa3]['item'])||(_0x424b8c=!0x1),_0x44b30c[_0x3cafa3]['item']['startIndex']<_0x19530b&&(_0x3a0550=_0x3cafa3),_0x44b30c[_0x3cafa3]['item']['endIndex']>=_0x488d95){_0x456f28=_0x3cafa3;break;}_0x424b8c&&(_0x3a0550=_0x488d95-0x1);for(let _0x100220=_0x19530b;_0x100220<_0x488d95;_0x100220++)_0x44b30c[_0x100220]['side']=_0x100220<=_0x3a0550?-0x1:_0x100220<_0x456f28?0x0:0x1,_0x44b30c[_0x100220]['index']=_0x100220;let _0x552eb8=0x0;for(let _0x2d7f72=_0x19530b;_0x2d7f72<=_0x3a0550;_0x2d7f72++)0x0==_0x44b30c[_0x2d7f72]['distance']?_0x44b30c[_0x2d7f72]['level']=_0x552eb8:(_0x552eb8++,_0x44b30c[_0x2d7f72]['level']=_0x552eb8,_0x552eb8++);for(let _0x91e005=_0x19530b;_0x91e005<_0x488d95;_0x91e005++)0x0==_0x44b30c[_0x91e005]['side']&&(_0x44b30c[_0x91e005]['level']=_0x552eb8);_0x552eb8=0x0;for(let _0x35ba00=_0x488d95-0x1;_0x35ba00>=_0x456f28;_0x35ba00--)0x0==_0x44b30c[_0x35ba00]['distance']?_0x44b30c[_0x35ba00]['level']=_0x552eb8:(_0x552eb8--,_0x44b30c[_0x35ba00]['level']=_0x552eb8,_0x552eb8--);}}['_fixObsoleteTags'](_0x34aac9){const _0x1c843f=new Map(),_0x4c8638=this['editor']['model']['schema'];for(let _0x33df36=0x1;_0x33df36<_0x34aac9['length'];_0x33df36++){let _0x537936,_0x185c5f,_0x17cc05;const _0x454694=_0x34aac9[_0x33df36],_0x8397dd=_0x34aac9[_0x33df36-0x1];if('text'==_0x454694['type'])continue;if(_0x454694['type']!=_0x8397dd['type'])continue;if(!_0x4c8638['isBlock'](_0x8397dd['item'])||_0x4c8638['isLimit'](_0x8397dd['item']))continue;if(!_0x4c8638['isBlock'](_0x454694['item'])||_0x4c8638['isLimit'](_0x454694['item']))continue;if((_0x34aac9[_0x33df36]['isAdded']||_0x34aac9[_0x33df36]['isAddSuggestion'])&&_0x34aac9[_0x33df36-0x1]['isRemoved'])_0x537936=_0x34aac9[_0x33df36],_0x185c5f=_0x34aac9[_0x33df36-0x1],_0x17cc05=_0x33df36-0x1;else{if(!_0x34aac9[_0x33df36]['isRemoved']||!_0x34aac9[_0x33df36-0x1]['isAdded']&&!_0x34aac9[_0x33df36-0x1]['isAddSuggestion'])continue;_0x537936=_0x34aac9[_0x33df36-0x1],_0x185c5f=_0x34aac9[_0x33df36],_0x17cc05=_0x33df36;}const _0x295616=_0x537936['level']==_0x185c5f['level'],_0x506fe8=Math['abs'](_0x537936['level'])<Math['abs'](_0x185c5f['level'])&&0x0==_0x185c5f['distance'];(_0x295616||_0x506fe8)&&(_0x1c843f['set'](_0x185c5f['id'],_0x537936['id']),_0x34aac9['splice'](_0x17cc05,0x1),_0x33df36--,_0x537936['isAdded']=!0x1);}for(let _0x541012=0x0;_0x541012<_0x34aac9['length'];_0x541012++)_0x1c843f['has'](_0x34aac9[_0x541012]['pairId'])&&(_0x34aac9[_0x541012]['pairId']=_0x1c843f['get'](_0x34aac9[_0x541012]['pairId']));}['_removeMissingPairs'](_0x1f349f){const _0xa03b3b=new Set(_0x1f349f['map'](_0x43e6a8=>_0x43e6a8['id']));for(let _0x399b6e=0x0;_0x399b6e<_0x1f349f['length'];_0x399b6e++)_0xa03b3b['has'](_0x1f349f[_0x399b6e]['pairId'])||0x0==_0x1f349f[_0x399b6e]['distance']||(_0x1f349f[_0x399b6e]['isIncorrect']=!0x0);return _0x1f349f['filter'](_0x58e502=>!_0x58e502['isIncorrect']);}['_markMismatchedRemovedTags'](_0x2396e8){const _0x305b93=new Set();for(let _0x48be8a=0x0;_0x48be8a<_0x2396e8['length'];_0x48be8a++){if(_0x305b93['has'](_0x2396e8[_0x48be8a]['id'])&&_0x2396e8[_0x48be8a]['isRemoved']&&(_0x2396e8[_0x48be8a]['isIncorrect']=!0x0),_0x2396e8[_0x48be8a]['isIncorrect'])continue;if(0x0==_0x2396e8[_0x48be8a]['distance'])continue;if('elementStart'!=_0x2396e8[_0x48be8a]['type'])continue;if(null==_0x2396e8[_0x48be8a]['pairId'])continue;let _0x583faa=_0x48be8a+0x1,_0x399ceb=0x0;for(;_0x2396e8[_0x583faa]['id']!=_0x2396e8[_0x48be8a]['pairId'];)'elementStart'==_0x2396e8[_0x583faa]['type']?_0x399ceb++:'elementEnd'==_0x2396e8[_0x583faa]['type']&&_0x399ceb--,_0x583faa++;if(0x0!=_0x399ceb){if(_0x2396e8[_0x48be8a]['isRemoved'])_0x2396e8[_0x48be8a]['isIncorrect']=!0x0;else{for(;_0x583faa!=_0x48be8a;)_0x2396e8[_0x583faa]['isRemoved']&&0x0!=_0x2396e8[_0x583faa]['distance']&&(_0x2396e8[_0x583faa]['isIncorrect']=!0x0,_0x305b93['add'](_0x2396e8[_0x583faa]['pairId'])),_0x583faa--;}}}return _0x2396e8['filter'](_0x47e107=>!_0x47e107['isIncorrect']);}['_removeUnsupportedChanges'](_0x350909){const _0x4f77d5=this['editor']['model']['schema'];for(let _0x33951d=0x0;_0x33951d<_0x350909['length'];_0x33951d++){if(!(_0x350909[_0x33951d]['isAdded']||_0x350909[_0x33951d]['isAddSuggestion']||_0x350909[_0x33951d]['isRemoved']||_0x350909[_0x33951d]['isRemoveSuggestion']))continue;if(0x0==_0x350909[_0x33951d]['distance'])continue;const _0x49e416=_0x350909[_0x33951d]['item'];_0x4f77d5['isBlock'](_0x49e416)||_0x4f77d5['isLimit'](_0x49e416)||(_0x350909[_0x33951d]['isAdded']&&delete _0x350909[_0x33951d]['isAdded'],_0x350909[_0x33951d]['isAddSuggestion']&&delete _0x350909[_0x33951d]['isAddSuggestion'],_0x350909[_0x33951d]['isRemoveSuggestion']&&delete _0x350909[_0x33951d]['isRemoveSuggestion'],_0x350909[_0x33951d]['isRemoved']&&(_0x350909[_0x33951d]['isIncorrect']=!0x0));}return _0x350909['filter'](_0x344165=>!_0x344165['isIncorrect']);}['_makeModelFromTape'](_0x6f521b,_0x2bcd0b,_0x24b791){const _0x5795ea=new wt(),_0x114a49=[],_0x489fe0=new Map(),_0x35a459=this['editor']['model'],_0xfcdea1=_0x35a459['schema'],_0x67a89b=[_0x5795ea],_0x3f4dc6={},_0x32ed05={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x359e32=null;const _0x14520c=[0x0];for(let _0x2df8a9=0x0;_0x2df8a9<_0x6f521b['length'];_0x2df8a9++){let _0x169408,_0x5a85ea;if('elementStart'===_0x6f521b[_0x2df8a9]['type']){_0x169408=_0x35a459['createPositionFromPath'](_0x5795ea,_0x14520c);const _0x3dd484=new ft(_0x6f521b[_0x2df8a9]['item']['name'],_0x6f521b[_0x2df8a9]['item']['getAttributes']());_0x67a89b[0x0]['_appendChild'](_0x3dd484),_0x14520c['push'](0x0),_0x67a89b['unshift'](_0x3dd484),_0x5a85ea=_0x35a459['createPositionFromPath'](_0x5795ea,_0x14520c),_0x359e32=null;}else{if('elementEnd'===_0x6f521b[_0x2df8a9]['type'])_0x67a89b['shift'](),_0x169408=_0x35a459['createPositionFromPath'](_0x5795ea,_0x14520c),_0x14520c['pop'](),_0x14520c[_0x14520c['length']-0x1]++,_0x5a85ea=_0x35a459['createPositionFromPath'](_0x5795ea,_0x14520c),_0x359e32=null;else{if(_0x169408=_0x35a459['createPositionFromPath'](_0x5795ea,_0x14520c),_0x359e32&&_0x2e1267(_0x359e32,_0x6f521b[_0x2df8a9]['item']))_0x359e32['_data']+=_0x6f521b[_0x2df8a9]['item']['data'];else{const _0xe24f68=new _t(_0x6f521b[_0x2df8a9]['item']['data'],_0x6f521b[_0x2df8a9]['item']['getAttributes']());_0x67a89b[0x0]['_appendChild'](_0xe24f68),_0x359e32=_0xe24f68;}_0x14520c[_0x14520c['length']-0x1]+=_0x6f521b[_0x2df8a9]['item']['offsetSize'],_0x5a85ea=_0x35a459['createPositionFromPath'](_0x5795ea,_0x14520c);}}for(const _0x1fcb85 of _0x6f521b[_0x2df8a9]['markersStart'])_0x489fe0['set'](_0x1fcb85,{'start':_0x169408,'end':null});_0x1d4e73('isRemoveSuggestion',_0x2df8a9,_0x169408,_0x5a85ea),_0x1d4e73('isAddSuggestion',_0x2df8a9,_0x169408,_0x5a85ea),_0x1d4e73('isRemoved',_0x2df8a9,_0x169408,_0x5a85ea),_0x1d4e73('isAdded',_0x2df8a9,_0x169408,_0x5a85ea);for(const _0x36312a of _0x6f521b[_0x2df8a9]['markersEnd']){_0x489fe0['get'](_0x36312a)['end']=_0x5a85ea;}}for(const [_0x37b8ef,_0x2a420c]of _0x489fe0){const _0x20ecca=this['editor']['model']['createRange'](_0x2a420c['start'],_0x2a420c['end']);_0x5795ea['markers']['set'](_0x37b8ef,_0x20ecca);}return _0x114a49['sort']((_0x5d7703,_0xf87336)=>{const _0x4b9471=_0x5795ea['markers']['get']('revision:'+_0x5d7703['id']),_0x51affd=_0x5795ea['markers']['get']('revision:'+_0xf87336['id']);return _0x4b9471['start']['isBefore'](_0x51affd['start'])?-0x1:_0x4b9471['start']['isAfter'](_0x51affd['start'])?0x1:_0x4b9471['end']['isBefore'](_0x51affd['end'])?-0x1:_0x4b9471['end']['isAfter'](_0x51affd['end'])?0x1:'add'===_0x5d7703['type']?-0x1:0x1;}),{'root':_0x5795ea,'changes':_0x114a49};function _0x1d4e73(_0x4c7074,_0xe7852f,_0x570c9f,_0x2ee1e5){const _0x3ab3b9=!!_0x6f521b[_0xe7852f][_0x4c7074],_0x4d714d=_0x3ab3b9?_0x6f521b[_0xe7852f][_0x4c7074]['userId']:null,_0x8744fd=_0xe7852f===_0x6f521b['length']-0x1,_0x187268=_0x32ed05[_0x4c7074][0x0],_0x59003f=_0xfcdea1['isObject'](_0x6f521b[_0xe7852f]['item']);!_0x3f4dc6[_0x4c7074]&&_0x3ab3b9?_0x3f4dc6[_0x4c7074]={'start':_0x570c9f,'tapeItem':_0x6f521b[_0xe7852f],'userId':_0x4d714d,'type':_0x4c7074}:_0x3f4dc6[_0x4c7074]&&!_0x3ab3b9?(_0x3f4dc6[_0x4c7074]['end']=_0x570c9f,_0x35bf1b(_0x3f4dc6[_0x4c7074]),_0x3f4dc6[_0x4c7074]=null):_0x3f4dc6[_0x4c7074]&&_0x3ab3b9&&_0x3f4dc6[_0x4c7074]['userId']!==_0x4d714d&&(_0x3f4dc6[_0x4c7074]['end']=_0x570c9f,_0x187268&&_0x187268['userId']===_0x3f4dc6[_0x4c7074]['userId']||_0x35bf1b(_0x3f4dc6[_0x4c7074]),_0x3f4dc6[_0x4c7074]={'start':_0x570c9f,'tapeItem':_0x6f521b[_0xe7852f],'userId':_0x4d714d,'type':_0x4c7074}),_0x3f4dc6[_0x4c7074]&&_0x59003f&&('elementStart'!==_0x6f521b[_0xe7852f]['type']||_0x187268&&_0x187268['userId']===_0x4d714d||_0x32ed05[_0x4c7074]['unshift']({'userId':_0x4d714d,'object':_0x6f521b[_0xe7852f]['item'],'change':_0x3f4dc6[_0x4c7074]}),'elementEnd'===_0x6f521b[_0xe7852f]['type']&&_0x187268&&_0x187268['object']===_0x6f521b[_0xe7852f]['item']&&(_0x32ed05[_0x4c7074]['shift'](),_0x3f4dc6[_0x4c7074]=_0x187268['change'])),_0x3f4dc6[_0x4c7074]&&_0x8744fd&&(_0x3f4dc6[_0x4c7074]['end']=_0x2ee1e5,_0x35bf1b(_0x3f4dc6[_0x4c7074]),_0x3f4dc6[_0x4c7074]=null);}function _0x35bf1b({start:_0x16c43a,end:_0x5f4695,tapeItem:_0x411565,userId:_0x4c27fe,type:_0x395ad4}){const _0x5a1912=_0x411565['item'],_0x861c44=_0x35a459['schema']['isBlock'](_0x5a1912)&&!_0x35a459['schema']['isLimit'](_0x5a1912),_0x474420=_0x16c43a['nodeAfter']==_0x5f4695['parent']&&_0x5f4695['isAtStart'];if(_0x861c44&&_0x474420)return;const _0x272c40=_0x35a459['createRange'](_0x16c43a,_0x5f4695),_0x15d191=_0x2bcd0b['get'](_0x4c27fe),_0x9110f0=new r({'author':_0x15d191,'type':'isAdded'==_0x395ad4||'isAddSuggestion'==_0x395ad4?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x395ad4||'isRemoveSuggestion'==_0x395ad4},'createdAt':new Date(),'rootName':_0x24b791});_0x114a49['push'](_0x9110f0),_0x5795ea['markers']['set']('revision:'+_0x9110f0['id'],_0x272c40);}function _0x2e1267(_0x2178af,_0x3bca59){const _0x29eb45=_0x2178af['getAttributes'](),_0x43cc6a=_0x3bca59['getAttributes']();for(const _0x5719c1 of _0x29eb45){if(_0x5719c1[0x1]!==_0x3bca59['getAttribute'](_0x5719c1[0x0]))return!0x1;_0x43cc6a['next']();}return _0x43cc6a['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x38ec29=>{const _0x31d05f=_0x38ec29['markerName']['split'](':')[0x1],_0x31679a=this['_getChangeFromId'](_0x31d05f);if(!_0x31679a)return null;const _0x5b2a12='add'==_0x31679a['type']?'insertion':'deletion',_0x265088=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5b2a12];return _0x31679a['data']['isSuggestion']&&_0x265088['push']('ck-suggestion-marker-'+_0x5b2a12+'-new'),this['activeChange']==_0x31679a&&_0x265088['push']('ck-suggestion-marker--active'),{'classes':_0x265088,'attributes':{'data-change-id':_0x31d05f}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x18947c=>{_0x18947c['on']('element:pre',(_0x2710d4,_0x28db49,_0x4bf2a6)=>{const _0x2fdbd9=_0x28db49['viewItem']['getChild'](0x0);if(!_0x2fdbd9||!_0x2fdbd9['is']('element','code'))return;if(!_0x4bf2a6['consumable']['consume'](_0x2fdbd9,{'attributes':['vid_start','vid_end']}))return;const _0x3e3d2c=_0x28db49['modelRange']['start']['nodeAfter'];_0x4bf2a6['writer']['setAttribute']('vid_start',_0x2fdbd9['getAttribute']('vid_start'),_0x3e3d2c),_0x4bf2a6['writer']['setAttribute']('vid_end',_0x2fdbd9['getAttribute']('vid_end'),_0x3e3d2c);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x19aea7=>{_0x19aea7['on']('element',(_0x1ee692,_0x5d032e,_0x5b8c10)=>{if(!_0x5b8c10['consumable']['consume'](_0x5d032e['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x5d032e['modelRange']['isCollapsed'])return;const _0x4ccf56=_0x5d032e['modelRange']['start']['nodeAfter'];_0x4ccf56['hasAttribute']('vid_start')||_0x4ccf56['hasAttribute']('vid')||(_0x5b8c10['writer']['setAttribute']('vid_start',_0x5d032e['viewItem']['getAttribute']('vid_start'),_0x4ccf56),_0x5b8c10['writer']['setAttribute']('vid_end',_0x5d032e['viewItem']['getAttribute']('vid_end'),_0x4ccf56));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4b4965=>_0x4b4965['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x2ffe61,[,_0x4b72f1])=>{['vid_start','vid_end','vid']['includes'](_0x4b72f1)&&(_0x2ffe61['return']=!0x0,_0x2ffe61['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1011a5=>{_0x1011a5['on']('attribute:vid',(_0x479c3a,_0x196eb7,_0x24945b)=>{if('\x20'!=_0x196eb7['item']['data']||_0x196eb7['item']['parent']['maxOffset']>0x1)return;if(!_0x24945b['consumable']['consume'](_0x196eb7['item'],_0x479c3a['name']))return;const _0x42324c=_0x24945b['writer'],_0x54c1ad=_0x24945b['mapper']['toViewRange'](_0x196eb7['range']);_0x42324c['wrap'](_0x54c1ad,_0x42324c['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x5b4174){const _0x60846d=_0x5b4174['plugins']['get']('RevisionViewer');return(_0x3c342f,_0x50b364,_0x33025b)=>{const _0x2fb749=_0x50b364['markerName']['split'](':')[0x1],_0x5a98c7=_0x60846d['_getChangeFromId'](_0x2fb749);if(!_0x5a98c7)return null;const _0x1b5d06='add'==_0x5a98c7['type']?'split':'merge';if(!_0x33025b['consumable']['test'](_0x50b364['markerRange'],_0x3c342f['name']))return;const _0x4ea75d=_0x50b364['markerRange']['getWalker'](),_0x4adce8=_0x50b364['markerRange']['start'],_0x1202e4=_0x5b4174['model']['schema'];let _0x2f40ba=null,_0x3ef060=null,_0xa42811=!0x1,_0x3ac02f=!0x1;for(const _0x56e7a8 of _0x4ea75d){const _0x17f398=_0x56e7a8['item'];_0xa42811=_0xa42811||_0x1202e4['isContent'](_0x17f398);const _0x257bcb=_0x33025b['mapper']['toViewElement'](_0x17f398);if(_0x257bcb&&_0x257bcb['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x56e7a8['type']&&(_0x1202e4['isBlock'](_0x17f398)&&!_0x1202e4['isLimit'](_0x17f398)&&(_0x17f398['nextSibling']||_0x4adce8['isAtEnd']?_0x2f40ba&&_0x2f40ba['parent']==_0x17f398||(_0x2f40ba=_0x17f398,_0x1624cd(_0x56e7a8['previousPosition']),_0x3ac02f=!0x0):_0x3ef060=_0x3ef060||_0x56e7a8['previousPosition']));}function _0x1624cd(_0x462b87){const _0x426b3d=_0x33025b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1b5d06}),_0x13ded0=_0x33025b['mapper']['toViewPosition'](_0x462b87);_0x5a98c7['data']['isSuggestion']&&_0x33025b['writer']['addClass']('ck-suggestion-marker-'+_0x1b5d06+'-new',_0x426b3d),_0x60846d['activeChange']==_0x5a98c7&&_0x33025b['writer']['addClass']('ck-suggestion-marker--active',_0x426b3d),_0x33025b['writer']['insert'](_0x13ded0,_0x426b3d),_0x33025b['mapper']['bindElementToMarker'](_0x426b3d,_0x50b364['markerName']);}_0xa42811||_0x3ac02f||!_0x3ef060||_0x1624cd(_0x3ef060);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2c03ae,_0x595423,_0x5e2124)=>{const _0x17a386=_0x5e2124['mapper']['markerNameToElements'](_0x595423['markerName']);if(_0x17a386){for(const _0x3ff592 of _0x17a386)(_0x3ff592['hasClass']('ck-suggestion-marker-split')||_0x3ff592['hasClass']('ck-suggestion-marker-merge'))&&(_0x5e2124['mapper']['unbindElementFromMarkerName'](_0x3ff592,_0x595423['markerName']),_0x5e2124['writer']['remove'](_0x3ff592));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2a4339,_0x1dfb49,_0x1541da)=>{const _0x691729=_0x1dfb49['markerName']['split'](':')[0x1],_0x42d388=this['_getChangeFromId'](_0x691729);if(!_0x42d388)return null;const _0x2f4326='add'==_0x42d388['type']?'split':'merge';if(_0x1541da['consumable']['test'](_0x1dfb49['markerRange'],_0x2a4339['name']))for(const _0x564fd9 of _0x1dfb49['markerRange']['getItems']()){if(!_0x564fd9['is']('element','softBreak'))continue;const _0x36f73c=_0x1541da['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2f4326}),_0x4d729a=_0x1541da['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x564fd9));_0x42d388['data']['isSuggestion']&&_0x1541da['writer']['addClass']('ck-suggestion-marker-'+_0x2f4326+'-new',_0x36f73c),this['activeChange']==_0x42d388&&_0x1541da['writer']['addClass']('ck-suggestion-marker--active',_0x36f73c),_0x1541da['writer']['insert'](_0x4d729a,_0x36f73c),_0x1541da['mapper']['bindElementToMarker'](_0x36f73c,_0x1dfb49['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x587836=>{for(const _0x1b3ea5 of this['editor']['model']['document']['getRootNames']()){const _0x4ddba5=this['editor']['model']['document']['getRoot'](_0x1b3ea5),_0x1600a9=this['editor']['editing']['view']['document']['getRoot'](_0x1b3ea5);if(_0x1600a9){const _0x2f83ff=_0x4ddba5['getAttribute']('revisionHistoryAttachChange');if(_0x587836['removeAttribute']('data-change-id',_0x1600a9),_0x587836['removeClass']('ck-revision-history-root-add',_0x1600a9),_0x587836['removeClass']('ck-revision-history-root-remove',_0x1600a9),_0x587836['removeClass']('ck-revision-history-root--active',_0x1600a9),_0x2f83ff){const _0x389da4=this['_getChangeFromId'](_0x2f83ff);if(!_0x389da4)return null;_0x587836['setAttribute']('data-change-id',_0x2f83ff,_0x1600a9),_0x587836['addClass']('ck-revision-history-root-'+_0x389da4['type'],_0x1600a9),this['activeChange']==_0x389da4&&_0x587836['addClass']('ck-revision-history-root--active',_0x1600a9);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x4e1c81=>'revision-comment:'+_0x4e1c81,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x182bed=>'revision-suggestion:'+_0x182bed,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1188f8=>({'name':'suggestion:'+_0x1188f8,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x9d64d0=>{const _0x5eecb4=_0x9d64d0['markerName']['split'](':')[0x1];return'insertion'!=_0x5eecb4&&'deletion'!=_0x5eecb4?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x5eecb4]};}}),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',(_0x2486f4,_0x16eec2,_0x57965c)=>{const _0x401354=_0x57965c['mapper']['markerNameToElements'](_0x16eec2['markerName']);if(_0x401354){for(const _0x284a3c of _0x401354)_0x284a3c['is']('uiElement')&&(_0x57965c['mapper']['unbindElementFromMarkerName'](_0x284a3c,_0x16eec2['markerName']),_0x57965c['writer']['remove'](_0x284a3c));}},{'priority':'high'});}['_getChangeFromId'](_0x10b23f){return this['_changeIdToChange']['get'](_0x10b23f);}['_getViewForChange'](_0xa29bcc){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0xa29bcc),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xfcf63d,_0x232c14,_0x258859,_0x1f4087)=>{_0x1f4087&&this['_balloon']['remove'](_0x1f4087),_0x258859&&(this['_balloon']['add']({'view':_0x258859,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x389fd4=this['editor']['editing'],_0x293eaf=this['_getChangeFromId'](_0x258859['changeId']);let _0x7e68e9;if(_0x293eaf['data']['isOnRoot']){const _0x36a3d2=_0x389fd4['view']['getDomRoot'](_0x293eaf['rootName']);_0x7e68e9=Array['from'](_0x36a3d2['getClientRects']());}else{const _0x190b1f=this['editor']['model']['markers']['get']('revision:'+_0x258859['changeId']);_0x7e68e9=Array['from'](_0x389fd4['mapper']['markerNameToElements'](_0x190b1f['name']))['map'](_0x159a94=>_0x389fd4['view']['domConverter']['mapViewToDom'](_0x159a94))['map'](_0x565246=>Array['from'](_0x565246['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x7e68e9[0x0];return _0x7e68e9['find'](_0x49ff96=>_0x49ff96['top']-0x3<=this['_activeViewTarget']['y']&&_0x49ff96['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x49ff96['left']-0x3<=this['_activeViewTarget']['x']&&_0x49ff96['right']+0x3>=this['_activeViewTarget']['x'])||_0x7e68e9[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2a5933,_0x10da0d,_0x2c8502,_0x2e5893)=>{this['activeView']=_0x2c8502?this['_getViewForChange'](_0x2c8502):null,this['editor']['model']['change'](()=>{const _0x4570e1=this['editor']['editing'];_0x2e5893&&(_0x2e5893['data']['isOnRoot']?_0x4570e1['view']['change'](_0x44ff66=>{_0x44ff66['removeClass']('ck-revision-history-root--active',_0x4570e1['view']['document']['getRoot'](_0x2e5893['rootName']));}):_0x4570e1['reconvertMarker']('revision:'+_0x2e5893['id'])),_0x2c8502&&(_0x2c8502['data']['isOnRoot']?_0x4570e1['view']['change'](_0x3dde07=>{_0x3dde07['addClass']('ck-revision-history-root--active',_0x4570e1['view']['document']['getRoot'](_0x2c8502['rootName']));}):_0x4570e1['reconvertMarker']('revision:'+_0x2c8502['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x4a5633,_0x1d7a39)=>{if(this['activeChange'])return;const _0x366fe2=this['_findChangeIdFromDomTarget'](_0x1d7a39['target']),_0x5ad9f8=this['_changeIdToChange']['get'](_0x366fe2);_0x5ad9f8?(this['_activeViewTarget']={'x':_0x1d7a39['domEvent']['x'],'y':_0x1d7a39['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x5ad9f8)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0xa80f80,_0x434d33)=>{const _0x5b1d4b=this['_findChangeIdFromDomTarget'](_0x434d33['target']),_0xae0fbd=this['_changeIdToChange']['get'](_0x5b1d4b);_0xae0fbd?(this['_activeViewTarget']={'x':_0x434d33['domEvent']['x'],'y':_0x434d33['domEvent']['y']},_0xae0fbd===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0xae0fbd):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x34709b){do{const _0x154136=_0x34709b['getAttribute']('data-change-id');if(_0x154136)return _0x154136;_0x34709b=_0x34709b['parent'];}while(_0x34709b);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x3ee83d=>{for(const _0x5956fc of this['editor']['model']['markers'])_0x3ee83d['removeMarker'](_0x5956fc);});}}function et(_0x30a245,_0x2df952){return(_0x5190b2,_0x3f66f7,_0x4e1ad3)=>{if(!_0x4e1ad3['consumable']['test'](_0x3f66f7['markerRange'],_0x5190b2['name']))return;const _0x3d1d82=_0x3f66f7['markerRange']['getWalker'](),_0x52b9d9=_0x3f66f7['markerRange']['start'],_0x298d18=_0x30a245['model']['schema'];let _0x5874e8=null,_0x20b90d=null,_0x50969c=!0x1,_0xe21f68=!0x1;for(const _0x42eea8 of _0x3d1d82){const _0x3092c8=_0x42eea8['item'];_0x50969c=_0x50969c||_0x298d18['isContent'](_0x3092c8);const _0x9ed93d=_0x4e1ad3['mapper']['toViewElement'](_0x3092c8);if(_0x9ed93d&&_0x9ed93d['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x42eea8['type']&&(_0x298d18['isBlock'](_0x3092c8)&&!_0x298d18['isLimit'](_0x3092c8)&&(_0x3092c8['nextSibling']||_0x52b9d9['isAtEnd']?_0x5874e8&&_0x5874e8['parent']==_0x3092c8||(_0x5874e8=_0x3092c8,_0x2877a9(_0x42eea8['previousPosition']),_0xe21f68=!0x0):_0x20b90d=_0x20b90d||_0x42eea8['previousPosition']));}function _0x2877a9(_0x47105c){const _0x33fd4a=_0x4e1ad3['mapper']['toViewPosition'](_0x47105c),_0x2308ef=_0x4e1ad3['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x2df952});_0x4e1ad3['writer']['insert'](_0x33fd4a,_0x2308ef),_0x4e1ad3['mapper']['bindElementToMarker'](_0x2308ef,_0x3f66f7['markerName']);}_0x50969c||_0xe21f68||!_0x20b90d||_0x2877a9(_0x20b90d);};}class bt extends _0x175978{constructor(_0x4e1c20){super(_0x4e1c20);const _0x4e0479=_0x4e1c20['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x4e0479,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x4e0479,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x18f542=this['editor'],_0x38a4e4=_0x18f542['plugins']['get'](d),_0x59ea6f=_0x38a4e4['isReady']?_0x38a4e4['diff']['newRevisionId']:null;_0x18f542['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x59ea6f);}['refresh'](){const {isReady:_0x1212ef,isEnabled:_0x45db48}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x1212ef&&_0x45db48;}}class yt extends _0x175978{['_step'];constructor(_0x2ffb76,{direction:_0x5e3ba5}){super(_0x2ffb76);const _0x27f896=_0x2ffb76['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x5e3ba5?0x1:-0x1,this['listenTo'](_0x27f896,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x27f896,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x27f896,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x10df78=this['editor'],_0x4192a7=_0x10df78['plugins']['get'](d),{isNavigationMode:_0xb3d638,currentChangeNumber:_0x2a04a6}=_0x4192a7;let _0xc7d021;if(_0x4192a7['activeChange']=_0xb3d638?_0x4192a7['diff']['changes']['get'](_0x2a04a6+this['_step']):_0x4192a7['diff']['changes']['first'],_0x4192a7['activeChange']['data']['isOnRoot'])_0xc7d021=_0x10df78['editing']['view']['getDomRoot'](_0x4192a7['activeChange']['rootName']);else{const _0x1e6456=_0x10df78['model']['markers']['get']('revision:'+_0x4192a7['activeChange']['id']);_0xc7d021=_0x375df2(_0x10df78['editing'],_0x1e6456);}_0x36cadb({'target':_0xc7d021,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x5da35f,currentChangeNumber:_0x21f970,numberOfChanges:_0x11bc81,isReady:_0x5e3574,isEnabled:_0x884af2}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x884af2&&_0x5e3574&&_0x11bc81)&&(!_0x5da35f||(0x1===this['_step']?_0x21f970<_0x11bc81-0x1:_0x21f970>0x0));}}class _i extends _0x42f150{constructor(_0x2df294){super(_0x2df294);const _0x4a8515=this['bindTemplate'],_0x171c10=new _0x5f51a2(_0x2df294),_0x3c487c=new _0x5f51a2(_0x2df294);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',(_0x109dc9,_0x2438af)=>_0x109dc9&&_0x2438af>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x17d3e7,_0x5ac019,_0x313b6f,_0xa6afc9)=>{if(!_0x17d3e7)return y(_0x2df294,'Loading...');if(!_0x313b6f)return y(_0x2df294,'No\x20changes');const _0x48876c=y(_0x2df294,'NUMBER_OF_CHANGES',_0x313b6f);return _0xa6afc9?y(_0x2df294,'X_OF_Y_CHANGES',[_0x5ac019+0x1,_0x313b6f]):_0x48876c;}),_0x171c10['set']({'label':y(_0x2df294,'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'}),_0x3c487c['set']({'label':y(_0x2df294,'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'}),_0x171c10['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x3c487c['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x171c10['on']('execute',()=>this['fire']('execute','backward')),_0x3c487c['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',_0x4a8515['if']('_isStatusLabelVisible','ck-hidden',_0x2cef1e=>!_0x2cef1e)]},'children':[{'text':_0x4a8515['to']('isNavigationMode',_0x158964=>_0x158964?y(_0x2df294,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x2df294,'Total')+':\x20')}]},{'text':_0x4a8515['to']('_statusText')}]},new _0x592cdd(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x171c10,_0x3c487c]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x443c27{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x14a037=this['editor']['editing']['view'];_0x14a037['change'](_0x4ecdc0=>{for(const _0x43ed9f of _0x14a037['document']['roots'])_0x4ecdc0['addClass'](ce,_0x43ed9f);});}['hide'](){const _0x20bf4b=this['editor']['editing']['view'];_0x20bf4b['change'](_0x570960=>{for(const _0xedc97a of _0x20bf4b['document']['roots'])_0x570960['removeClass'](ce,_0xedc97a);});}}class R extends _0x443c27{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x4b09f7=this['editor'],_0x573a48=_0x4b09f7['plugins']['get'](d),_0x44e6be=_0x4b09f7['plugins']['get'](de);_0x4b09f7['ui']['componentFactory']['add']('exitToEditing',_0x5adb5e=>{const _0x3e3b64=new _0x5f51a2(_0x5adb5e);return _0x3e3b64['set']({'label':y(_0x5adb5e,'Back\x20to\x20editing'),'icon':_0xa8de88['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x3e3b64,'execute',()=>{_0x4b09f7['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x3e3b64;}),_0x4b09f7['ui']['componentFactory']['add']('restoreRevision',_0x1d8ba2=>{const _0x3a08f7=new _0x5f51a2(_0x1d8ba2);return _0x3a08f7['set']({'label':y(_0x1d8ba2,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x3a08f7['bind']('isEnabled')['to'](_0x4b09f7['commands']['get']('restoreRevision')),this['listenTo'](_0x3a08f7,'execute',()=>_0x4b09f7['execute']('restoreRevision')),_0x3a08f7;}),_0x4b09f7['ui']['componentFactory']['add']('changesNavigation',_0x84aeb8=>{const _0x4da31d=new _i(_0x84aeb8),_0x587846=_0x4b09f7['commands']['get']('showPreviousChange'),_0x261a55=_0x4b09f7['commands']['get']('showNextChange');return _0x4da31d['bind']('isBackwardNavigationEnabled')['to'](_0x587846,'isEnabled'),_0x4da31d['bind']('isForwardNavigationEnabled')['to'](_0x261a55,'isEnabled'),_0x4da31d['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x573a48),this['listenTo'](_0x4da31d,'execute',(_0x3f49bf,_0x42d00e)=>{_0x4b09f7['execute']('forward'===_0x42d00e?'showNextChange':'showPreviousChange');}),_0x4da31d;}),_0x44e6be['show'](),_0x573a48['on']('change:isReady',(_0x4307b2,_0x59defc,_0x21f2f3)=>{_0x21f2f3?_0x44e6be['hide']():_0x44e6be['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x4071d4,_0x1c89ad){super(_0x4071d4,_0x1c89ad);const _0x26c5b4=this['bindTemplate'];this['set']({'label':y(_0x4071d4,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x4071d4,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x26c5b4['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 _0x2271ff=this['fieldView']['element'];this['_tooltipString']=_0x2271ff['scrollWidth']>_0x2271ff['clientWidth']&&_0x2271ff['value']||'';}}class ti extends _0x42f150{constructor(_0x324a5f,_0x5cbe79,_0x58dcc4){super(_0x324a5f);const _0x31fc3e=new _0x3fd02b();_0x31fc3e['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 _0x4b682e=['ck','ck-revision-history-sidebar__revision-author'];_0x58dcc4&&_0x4b682e['push']('ck-revision-history-sidebar__revision-author_creator');const _0x4af4aa=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x324a5f,_0x58dcc4?'Revision\x20creator':'Revision\x20author')},'children':[_0x31fc3e,_0x5cbe79['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x4b682e},'children':_0x4af4aa});}}function ni(_0x4d3015,_0x2349c6){const _0x1d4a48=_0x4d3015['bindTemplate'],_0x1392c0=_0x4d3015['locale'],_0x23e446=_0x3ce8c3(_0x1392c0);_0x23e446['panelPosition']='sw';const _0x3a1bd2=function(_0x1cb535,_0x420093){const _0x5dbcc5=function(_0x1542f8,_0x4d9788){const _0x318e87=_0x1542f8['locale'],_0x45adc8={'Compare\x20against\x20selected':y(_0x318e87,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x318e87,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x318e87,'Restore\x20this\x20revision')};return _0x4d9788['map'](_0x1f7fb5=>{const _0x463465=_0x45adc8[_0x1f7fb5['name']];return _0x463465&&_0x463465!==_0x1f7fb5['name']&&(_0x1f7fb5['name']=_0x463465),_0x1f7fb5;});}(_0x1cb535,_0x420093),_0x4b1806=new _0x2e76b9();for(const _0x290307 of _0x5dbcc5){const _0x5d6ed9={'type':'button','model':new to({'label':_0x290307['name'],'class':_0x290307['class'],'withText':!0x0,'role':'menuitem','_action':_0x290307['action']})};_0x5d6ed9['model']['bind']('isEnabled')['to'](_0x1cb535,'isActionsDropdownOpen',_0x273102=>'function'!=typeof _0x290307['isEnabled']||(!_0x273102||_0x290307['isEnabled'](_0x1cb535))),_0x4b1806['add'](_0x5d6ed9);}return _0x4b1806;}(_0x4d3015,_0x2349c6);return _0x4d3015['bind']('isActionsDropdownOpen')['to'](_0x23e446,'isOpen'),_0x23e446['buttonView']['set']({'label':y(_0x1392c0,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xa8de88['threeVerticalDots']}),_0x23e446['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1d4a48['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1d4a48['to'](_0x5ee3ff=>_0x5ee3ff['stopPropagation']())}}),_0x23e446['on']('execute',_0x5c1a15=>{_0x4d3015['isReady']&&'function'==typeof _0x5c1a15['source']['_action']&&_0x5c1a15['source']['_action'](_0x4d3015);}),_0x3da7b8(_0x23e446,_0x3a1bd2,{'role':'menu'}),_0x23e446['listenTo'](_0x4d3015,'change:isActionsDropdownOpen',(_0x595243,_0x53da6a,_0x146ed9)=>{if(_0x146ed9)for(const _0xbdd5e2 of _0x23e446['listView']['items']){const _0x4b588f=_0xbdd5e2['children']['first'],_0x282de1=_0x2349c6['find'](_0x46434b=>_0x46434b['action']===_0x4b588f['_action'])['isVisible'];_0xbdd5e2['isVisible']=void 0x0===_0x282de1||_0x282de1(_0x4d3015);}}),_0x23e446;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x582d9a(_0x42f150){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x387c26,_0x4ccf34,_0x13754d,_0x299d80){super(_0x387c26);const _0x16f5c3=this['bindTemplate'],_0x18aeed=function(_0x4449d3,_0x5497de){const _0x6a5c7=Array['from'](_0x5497de['authors'])['filter'](_0x4a190b=>_0x4a190b!=_0x5497de['creator']);return _0x5497de['creator']&&_0x6a5c7['unshift'](_0x5497de['creator']),_0x6a5c7['map'](_0x4cfbc5=>new ti(_0x4449d3,_0x4cfbc5,_0x4cfbc5==_0x5497de['creator']));}(_0x387c26,_0x4ccf34);this['id']=_0x4ccf34['id'],this['_revision']=_0x4ccf34,this['_requireRevisionName']=_0x299d80,this['bind']('name','createdAt')['to'](_0x4ccf34),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x17cd8d=>{return _0x53d51a=_0x387c26['uiLanguage'],(_0x2fd691=_0x17cd8d)['toLocaleDateString'](_0x53d51a,{'month':'long','day':'numeric'})+',\x20'+_0x2fd691['toLocaleTimeString'](_0x53d51a,{'hour':'numeric','minute':'numeric'});var _0x53d51a,_0x2fd691;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x387c26,_0x1d660c),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x8eb3f3=>_0x8eb3f3||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0xceab5f,_0x474873)=>_0xceab5f&&_0x474873),this['revisionActionsView']=_0x13754d&&_0x13754d['length']?ni(this,_0x13754d):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x16f5c3['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x16f5c3['if']('isEnabled','ck-disabled',_0x5d85cf=>!_0x5d85cf),_0x16f5c3['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x16f5c3['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x16f5c3['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':_0x16f5c3['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':_0x18aeed}]},this['revisionActionsView']],'on':{'click':_0x16f5c3['to'](_0x590f06=>{_0x590f06['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x9c3bf7=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x9c3bf7,'change',()=>{this['_requireRevisionName']&&!_0x9c3bf7['value']||this['fire']('setName',{'id':this['id'],'name':_0x9c3bf7['value']}),_0x9c3bf7['value']||(_0x9c3bf7['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(_0x4e8930,_0xb57aa4){const _0x5cd86f=_0x59128a['fromJSDate'](_0x4e8930)['setLocale'](_0xb57aa4),_0x3b44fe=_0x59128a['local'](),_0x294bf8=_0x3b44fe['minus']({'days':0x1})['startOf']('day');let _0x176c06,_0x13727e;return _0x5cd86f['hasSame'](_0x3b44fe,'day')?(_0x176c06=_0x5cd86f['startOf']('day')['toJSDate'](),_0x13727e=_0x5cd86f['toRelativeCalendar']()):_0x5cd86f['hasSame'](_0x294bf8,'day')?(_0x176c06=_0x294bf8['toJSDate'](),_0x13727e=_0x5cd86f['toRelativeCalendar']()):_0x5cd86f['hasSame'](_0x3b44fe,'week')?(_0x176c06=_0x5cd86f['startOf']('week')['toJSDate'](),_0x13727e=_0x5cd86f['weekdayLong']||''):_0x5cd86f['hasSame'](_0x3b44fe,'year')?(_0x176c06=_0x5cd86f['startOf']('month')['toJSDate'](),_0x13727e=_0x5cd86f['monthLong']||''):(_0x176c06=_0x5cd86f['startOf']('year')['toJSDate'](),_0x13727e=String(_0x5cd86f['year'])),{'startDate':_0x176c06,'localizedPeriodName':_0x13727e};}class mi extends _0x42f150{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1524d9,_0x28b75d,_0x423d2e,_0x65dc74){super(_0x1524d9);const _0x54b462=di(_0x28b75d,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x28b75d,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x423d2e,this['_requireRevisionName']=_0x65dc74,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':_0x54b462}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x733dd3){const _0x220bbb=new ai(this['locale'],_0x733dd3,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x220bbb);}['removeRevision'](_0x4118a5){const _0x563701=this['revisionViews']['find'](_0x2cd248=>_0x2cd248['id']===_0x4118a5['id']);this['revisionViews']['remove'](_0x563701);}}class as extends _0x42f150{constructor(_0x31f819){super(_0x31f819);const _0x3b3b5e=new _0x3fd02b();_0x3b3b5e['content']=_0xa8de88['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x3b3b5e,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x31f819,'Revision\x20history')]}]});}}class ci extends _0x42f150{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x10a871,_0x35cde2,_0x55207c,_0x49f0b5){super(_0x10a871);const _0x550ec8=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x35cde2,this['_revisionActions']=_0x55207c,this['_requireRevisionName']=_0x49f0b5,this['on']('select',(_0x58948d,_0x2490ff)=>{this['fire']('revisionSelected',_0x2490ff);}),this['on']('setName',(_0x50c6e1,_0x54017c)=>{this['fire']('revisionSetName',_0x54017c);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x10a871),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x550ec8['if']('isEnabled','ck-disabled',_0x1d700b=>!_0x1d700b)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x37ef8 of this['_revisions'])this['_addRevision'](_0x37ef8);this['_revisions']['on']('add',(_0x5b5c88,_0x25fd00)=>{this['_addRevision'](_0x25fd00);}),this['_revisions']['on']('remove',(_0x526f6a,_0x3d596c)=>{this['_removeRevision'](_0x3d596c);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3b228a=>_0x3b228a['revisionViews']['map'](_0xe178=>_0xe178))['flat']();}['selectRevision'](_0x561d39){for(const _0xcb8ba8 of this['revisionViews'])_0x561d39&&_0x561d39['id']===_0xcb8ba8['id']?_0xcb8ba8['select']():_0xcb8ba8['deselect']();}['highlightRevisions'](_0xe14b21){for(const _0x1ddde6 of this['revisionViews'])_0xe14b21['some'](({id:_0x5c2b22})=>_0x5c2b22===_0x1ddde6['id'])?_0x1ddde6['highlight']():_0x1ddde6['unhighlight']();}['_addRevision'](_0x498653){const _0x3a2e26=di(_0x498653['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3d13d6=this['timePeriodViews']['get'](0x0);_0x3d13d6&&_0x3d13d6['startDate']['getTime']()===_0x3a2e26['getTime']()||(_0x3d13d6=new mi(this['locale'],_0x3a2e26,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3d13d6)),_0x3d13d6['addRevision'](_0x498653);}['_removeRevision'](_0xede94){const _0x7364d3=di(_0xede94['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x7364d3)['removeRevision'](_0xede94);}['_getTimePeriodViewByStartDate'](_0xf7199c){return this['timePeriodViews']['find'](_0x21c207=>_0x21c207['startDate']['getTime']()===_0xf7199c['getTime']());}}class w extends _0x443c27{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x42be7e,Context as _0x31bbab,PendingActions as _0x3a4dbc,icons as _0x21e402,Command as _0x31c9d7,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x398c5a,uid as _0x20aaca,Collection as _0x1374de,logWarning as _0x472c67,FocusTracker as _0x229580,KeystrokeHandler as _0x156d68,scrollViewportToShowTarget as _0x2f0589,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x9c0ff6}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x5a5ad0,getMarkerDomElement as _0x3932a3,ConfirmMixin as _0x3e8ef8,sanitizeEditorConfig as _0x311f3a}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x9d9e1d,ViewText as _0x339ac2,ViewElement as _0x4bd183,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x2fb412,ViewAttributeElement as _0xc1a6a8,ViewEmptyElement as _0x1d2c1f,ViewRawElement as _0x2c6139,ViewUIElement as _0x42ce8d,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x5aa866,set as _0x4387bc,unset as _0xc7f9b8,isEqual as _0x5bb390}from'lodash-es';import{View as _0x3abb94,injectCssTransitionDisabler as ts,submitHandler as _0x27b447,LabeledFieldView as at,createLabeledInputText as _0x5791de,createDropdown as _0x2bb8dc,ListView as te,ListItemView as _0x5ed86f,ButtonView as _0x1e0c5f,MenuBarMenuView as _0x476264,MenuBarMenuListView as _0x3ec9c4,MenuBarMenuListItemView as _0x12ed7f,MenuBarMenuListItemButtonView as _0x3d0044,ContextualBalloon as _0x1a573b,ToolbarSeparatorView as _0x546b65,IconView as _0x48bc8c,addListToDropdown as _0x354762,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 _0x34f621}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x398c5a(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x3e2324){super(),this['id']=_0x3e2324['id']||_0x20aaca(),this['creator']=_0x3e2324['creator']||null,this['authors']=_0x3e2324['authors']||[],this['diffData']=_0x3e2324['diffData']||null,this['toVersion']=_0x3e2324['toVersion']||0x0,this['fromVersion']=_0x3e2324['fromVersion']||0x0,this['set']('name',_0x3e2324['name']||''),this['set']('createdAt',_0x3e2324['createdAt']||new Date()),this['set']('attributes',_0x3e2324['attributes']||{});}['setName'](_0xa3d87b){this['_update']({'name':_0xa3d87b});}['setAttribute'](_0x4192c9,_0x112ca5){const _0x411e7f=_0x5aa866(this['attributes']);_0x4387bc(_0x411e7f,_0x4192c9,_0x112ca5),this['_update']({'attributes':_0x411e7f});}['removeAttribute'](_0x41cc73){const _0x3f54f8=_0x5aa866(this['attributes']);_0xc7f9b8(_0x3f54f8,_0x41cc73),this['_update']({'attributes':_0x3f54f8});}['_update'](_0x51d5af,_0x20c7d5=!0x1){let _0x4c2e08=!0x1;const _0x251f7d={'id':this['id']},_0x554b97=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3e416c of _0x554b97){const _0x4640c2=_0x51d5af[_0x3e416c];void 0x0!==_0x4640c2&&_0x4640c2!==this[_0x3e416c]&&(this[_0x3e416c]=_0x4640c2,_0x251f7d[_0x3e416c]=_0x4640c2,_0x4c2e08=!0x0);}_0x4c2e08&&(_0x251f7d['authors']&&(_0x251f7d['authorsIds']=_0x251f7d['authors']['map'](_0x4dfa08=>_0x4dfa08['id']),delete _0x251f7d['authors']),this['fire']('_update',_0x251f7d,_0x20c7d5));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x5747e0=>_0x5747e0['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x42be7e{['_revisions'];static get['requires'](){return[_0x5a5ad0];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x5d07a4){super(_0x5d07a4),this['_revisions']=new _0x1374de();}['afterInit'](){!function(_0x1e3af5){function _0x5bb7eb(_0x12442c,_0x3703f1,_0x3d5a4e){const _0x4fee75={};_0x4fee75[_0x500959([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x4fee75[_0x500959([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],_0x4fee75[_0x500959([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],_0x4fee75[_0x500959([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],_0x4fee75[_0x500959([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],_0x4fee75[_0x500959([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],_0x4fee75[_0x500959([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],_0x4fee75[_0x500959([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],_0x4fee75[_0x500959([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],_0x4fee75[_0x500959([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],_0x4fee75[_0x500959([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 _0x53f438=new Uint8Array(0x10);for(let _0x55d775=0xf;_0x55d775>=0x0;--_0x55d775)_0x53f438[_0x55d775]=_0x3d5a4e%0x100,_0x3d5a4e=parseInt(_0x3d5a4e/0x100);let _0x48048a=null,_0x31fac4=0x10;const _0x536294=new Uint8Array(_0x3703f1),_0x5cfd2a=[],_0x1ca47a=[];_0x62650d();for(let _0x11a536=0x0;_0x11a536<_0x12442c[_0x500959([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x11a536++)0x10===_0x31fac4&&(_0x48048a=_0x1b5675(_0x53f438),_0x31fac4=0x0,_0x41d8d4(_0x53f438)),_0x12442c[_0x11a536]^=_0x48048a[_0x31fac4++];return _0x12442c;function _0x3092ae(_0x5b2e0e){const _0x207ac1=[];for(let _0x5c3db2=0x0;_0x5c3db2<_0x5b2e0e[_0x500959([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c3db2+=0x4)_0x207ac1[_0x500959([0x70,0x75,0x73,0x68])](_0x5b2e0e[_0x5c3db2]<<0x18|_0x5b2e0e[_0x5c3db2+0x1]<<0x10|_0x5b2e0e[_0x5c3db2+0x2]<<0x8|_0x5b2e0e[_0x5c3db2+0x3]);return _0x207ac1;}function _0x41d8d4(_0x42b799){for(let _0x434883=0xf;_0x434883>=0x0;_0x434883--){if(0xff!==_0x42b799[_0x434883]){_0x42b799[_0x434883]++;break;}_0x42b799[_0x434883]=0x0;}}function _0x1b5675(_0x1ca3c9){const _0x2f14f8=_0x5cfd2a[_0x500959([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x57ae77=[0x0,0x0,0x0,0x0];let t=_0x3092ae(_0x1ca3c9);for(let _0x3e86e7=0x0;_0x3e86e7<0x4;_0x3e86e7++)t[_0x3e86e7]^=_0x5cfd2a[0x0][_0x3e86e7];for(let _0xcf783e=0x1;_0xcf783e<_0x2f14f8;_0xcf783e++){for(let _0x3a5760=0x0;_0x3a5760<0x4;_0x3a5760++)_0x57ae77[_0x3a5760]=_0x4fee75[_0x500959([0x54,0x31])][t[_0x3a5760]>>0x18&0xff]^_0x4fee75[_0x500959([0x54,0x32])][t[(_0x3a5760+0x1)%0x4]>>0x10&0xff]^_0x4fee75[_0x500959([0x54,0x33])][t[(_0x3a5760+0x2)%0x4]>>0x8&0xff]^_0x4fee75[_0x500959([0x54,0x34])][0xff&t[(_0x3a5760+0x3)%0x4]]^_0x5cfd2a[_0xcf783e][_0x3a5760];t=_0x57ae77[_0x500959([0x73,0x6c,0x69,0x63,0x65])]();}const _0x2452bf=new Uint8Array(0x10);let _0x1ba9bf;for(let _0x2e15b9=0x0;_0x2e15b9<0x4;_0x2e15b9++)_0x1ba9bf=_0x5cfd2a[_0x2f14f8][_0x2e15b9],_0x2452bf[0x4*_0x2e15b9]=0xff&(_0x4fee75[_0x500959([0x53])][t[_0x2e15b9]>>0x18&0xff]^_0x1ba9bf>>0x18),_0x2452bf[0x4*_0x2e15b9+0x1]=0xff&(_0x4fee75[_0x500959([0x53])][t[(_0x2e15b9+0x1)%0x4]>>0x10&0xff]^_0x1ba9bf>>0x10),_0x2452bf[0x4*_0x2e15b9+0x2]=0xff&(_0x4fee75[_0x500959([0x53])][t[(_0x2e15b9+0x2)%0x4]>>0x8&0xff]^_0x1ba9bf>>0x8),_0x2452bf[0x4*_0x2e15b9+0x3]=0xff&(_0x4fee75[_0x500959([0x53])][0xff&t[(_0x2e15b9+0x3)%0x4]]^_0x1ba9bf);return _0x2452bf;}function _0x62650d(){const _0x4ff5d2=_0x4fee75[_0x500959([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x536294[_0x500959([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x465f36=0x0;_0x465f36<=_0x4ff5d2;_0x465f36++)_0x5cfd2a[_0x500959([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x1ca47a[_0x500959([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x303852=0x4*(_0x4ff5d2+0x1),_0x1e7e4a=_0x536294[_0x500959([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x55507c=_0x3092ae(_0x536294);let _0xea4c28;for(let _0xbcfea1=0x0;_0xbcfea1<_0x1e7e4a;_0xbcfea1++)_0xea4c28=_0xbcfea1>>0x2,_0x5cfd2a[_0xea4c28][_0xbcfea1%0x4]=_0x55507c[_0xbcfea1],_0x1ca47a[_0x4ff5d2-_0xea4c28][_0xbcfea1%0x4]=_0x55507c[_0xbcfea1];let _0x33a05b,_0x2b113f=0x0,t=_0x1e7e4a;for(;t<_0x303852;){_0x33a05b=_0x55507c[_0x1e7e4a-0x1],_0x55507c[0x0]^=_0x4fee75[_0x500959([0x53])][_0x33a05b>>0x10&0xff]<<0x18^_0x4fee75[_0x500959([0x53])][_0x33a05b>>0x8&0xff]<<0x10^_0x4fee75[_0x500959([0x53])][0xff&_0x33a05b]<<0x8^_0x4fee75[_0x500959([0x53])][_0x33a05b>>0x18&0xff]^_0x4fee75[_0x500959([0x72,0x63,0x6f,0x6e])][_0x2b113f]<<0x18,_0x2b113f+=0x1;for(let _0x341c67=0x1;_0x341c67<_0x1e7e4a/0x2;_0x341c67++)_0x55507c[_0x341c67]^=_0x55507c[_0x341c67-0x1];_0x33a05b=_0x55507c[_0x1e7e4a/0x2-0x1],_0x55507c[_0x1e7e4a/0x2]^=_0x4fee75[_0x500959([0x53])][0xff&_0x33a05b]^_0x4fee75[_0x500959([0x53])][_0x33a05b>>0x8&0xff]<<0x8^_0x4fee75[_0x500959([0x53])][_0x33a05b>>0x10&0xff]<<0x10^_0x4fee75[_0x500959([0x53])][_0x33a05b>>0x18&0xff]<<0x18;for(let _0x45ccfc=_0x1e7e4a/0x2+0x1;_0x45ccfc<_0x1e7e4a;_0x45ccfc++)_0x55507c[_0x45ccfc]^=_0x55507c[_0x45ccfc-0x1];let _0x7a94e3,_0x40c59c,_0x486299=0x0;for(;_0x486299<_0x1e7e4a&&t<_0x303852;)_0x7a94e3=t>>0x2,_0x40c59c=t%0x4,_0x5cfd2a[_0x7a94e3][_0x40c59c]=_0x55507c[_0x486299],_0x1ca47a[_0x4ff5d2-_0x7a94e3][_0x40c59c]=_0x55507c[_0x486299++],t++;}for(let _0x89619f=0x1;_0x89619f<_0x4ff5d2;_0x89619f++)for(let _0x2d7301=0x0;_0x2d7301<0x4;_0x2d7301++)_0x33a05b=_0x1ca47a[_0x89619f][_0x2d7301],_0x1ca47a[_0x89619f][_0x2d7301]=_0x4fee75[_0x500959([0x55,0x31])][_0x33a05b>>0x18&0xff]^_0x4fee75[_0x500959([0x55,0x32])][_0x33a05b>>0x10&0xff]^_0x4fee75[_0x500959([0x55,0x33])][_0x33a05b>>0x8&0xff]^_0x4fee75[_0x500959([0x55,0x34])][0xff&_0x33a05b];}}function _0x500959(_0x1eabcb){return _0x1eabcb['map'](_0x34c4fa=>String['fromCharCode'](_0x34c4fa))['join']('');}(_0x459c5d=>{function _0x4fa07f(){const _0x52f5ef=[{[_0x500959([0x69,0x64])]:0x1,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500959([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x500959([0x69,0x64])]:0x2,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([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]),[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500959([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x500959([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x500959([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500959([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x500959([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x500959([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x500959([0x69,0x64])]:0x3,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x500959([0x69,0x64])]:0x4,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([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]),[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500959([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x500959([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x500959([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x500959([0x69,0x64])]:0x5,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([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]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500959([0x66,0x67,0x69])]:[0xc]}},{[_0x500959([0x69,0x64])]:0x6,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500959([0x66,0x67,0x69])]:[0xc]}},{[_0x500959([0x69,0x64])]:0x7,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500959([0x66,0x67,0x69])]:[0xc]}},{[_0x500959([0x69,0x64])]:0x8,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([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]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500959([0x66,0x67,0x69])]:[0xc]}},{[_0x500959([0x69,0x64])]:0x9,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500959([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x500959([0x69,0x64])]:0xa,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([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]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([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]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([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]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500959([0x66,0x67,0x69])]:[0xc]}},{[_0x500959([0x69,0x64])]:0xb,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x500959([0x69,0x64])]:0xc,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x500959([0x69,0x64])]:0xd,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500959([0x66,0x67,0x69])]:[0xc]}},{[_0x500959([0x69,0x64])]:0xe,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x500959([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([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])},{[_0x500959([0x69,0x64])]:0xf,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x500959([0x69,0x64])]:0x10,[_0x500959([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x500959([0x4d,0x65,0x72,0x67,0x65,0x20,0x46,0x69,0x65,0x6c,0x64,0x73]),[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x500959([0x4d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x55,0x49]),[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x500959([0x6d,0x65,0x72,0x67,0x65,0x46,0x69,0x65,0x6c,0x64,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x500959([0x66,0x67,0x69])]:[0xc]}}];return _0x25d313(_0x52f5ef),_0x52f5ef;function _0x1021ee(_0x1590f9){return 0x1<<_0x1590f9-0x1;}function _0x25d313(_0x32c5f4){_0x32c5f4[_0x500959([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4bb4c8=>{_0x4bb4c8[_0x500959([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1021ee(_0x4bb4c8[_0x500959([0x69,0x64])]),_0x28bf91(_0x4bb4c8)&&_0x4bb4c8[_0x500959([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x25d313(_0x4bb4c8[_0x500959([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x28bf91(_0xcfcfa6){return _0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0xcfcfa6;}const _0x40e5f1=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x57eef0=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x37a66b(_0x5ce367){const _0x151429=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1939fa(_0x5ce367,new Uint8Array([..._0x40e5f1,..._0x151429,..._0x57eef0]));}function _0x1939fa(_0x4e4241,_0x4b7793){const _0x1e138d=_0x5b6128(_0x4e4241),_0x4c0505=Array[_0x500959([0x66,0x72,0x6f,0x6d])](_0x460d95(_0x1e138d)),_0x2544fa=_0x4c0505[_0x500959([0x70,0x6f,0x70])](),_0x326c81=_0x4c0505[_0x500959([0x70,0x6f,0x70])]();return _0x41b69c(_0x5bb7eb(_0x4c0505,_0x4b7793,_0x326c81+0x100*_0x2544fa));}function _0x5b6128(_0xac8492){const _0x14a475=atob(_0xac8492),[_0x2f763e,_0x35cbaa]=_0x14a475[_0x500959([0x73,0x70,0x6c,0x69,0x74])](_0x500959([0x2d]));try{if(atob(_0x35cbaa))return atob(_0x2f763e);}catch(_0x2dd90a){}return _0x14a475;}function _0xcab44c(_0x118703){try{const _0x7bcdf0=_0x37a66b(_0x118703),_0x12ca01=JSON[_0x500959([0x70,0x61,0x72,0x73,0x65])](_0x7bcdf0),_0x14cc59=parseInt(_0x12ca01[_0x500959([0x31])]),_0x502707=_0x12ca01[_0x500959([0x32])]||'',_0xf23c8d=parseInt(_0x12ca01[_0x500959([0x33])]),_0x59648f=parseInt(_0x12ca01[_0x500959([0x34])])||0x0,_0x45153e=parseInt(_0x12ca01[_0x500959([0x35])])||0x0;return{[_0x500959([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x502707,[_0x500959([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x59648f,[_0x500959([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x14cc59,[_0x500959([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xf23c8d,[_0x500959([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x45153e};}catch(_0x72d0a8){return null;}}const _0xc48b59=_0x4fa07f(),_0x1c592f={[_0x500959([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1f848f,[_0x500959([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])]:_0x30fd16,[_0x500959([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])]:_0x5a51ae},_0x3598eb=_0x459c5d[_0x500959([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x513255=_0x500959([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x459c5d?_0x459c5d['context']:_0x459c5d['editor'],_0xb824bf=_0x500959([0x34,0x30,0x34,0x38,0x31,0x34,0x32,0x32]),_0x14b5fb=_0x500959([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]),_0x1f20fb=_0x513255['config']['get'](_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xfab50a=_0xc48b59[_0x500959([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28bf91)[_0x500959([0x66,0x69,0x6e,0x64])](_0x241f4b=>_0x241f4b[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x3598eb);function _0x59aae8(_0x46ca73,_0x332863){_0x1c592f[_0x332863[_0x500959([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x46ca73,_0x332863),_0x332863[_0x500959([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x332863[_0x500959([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x500959([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x398163=>_0x512fc5(_0x513255,_0x398163[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x500959([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4ac105=>_0x59aae8(_0x46ca73,_0x4ac105));}function _0x1f848f(_0x191c76,_0x361271){_0x5937cf(_0x47a4a9(_0x191c76,_0x361271),_0x361271);}function _0x30fd16(_0x3f0782,_0xb4f5a7){function _0x418d39(_0x1e0c79,_0x2d5606){try{if(_0x512fc5(_0x513255,_0x500959([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x1e0c79){const _0x1f5734=_0x522f6e(_0x513255,_0x500959([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x500959([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1f5734)/0x2>_0x1e0c79[_0x500959([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x2c920b(_0x2d5606[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x47a4a9(_0x1e0c79,_0x2d5606);}catch(_0x5b703a){return _0x2c920b(_0x2d5606[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5937cf(_0x418d39(_0x3f0782,_0xb4f5a7),_0xb4f5a7);}function _0x5a51ae(_0x11ac25,_0x114810){const _0x1382d2=_0x57eef0[0x0]*_0x40e5f1[0x1],_0x1bb1fb=_0x57eef0[0x0]*_0x40e5f1[0x2],_0x547a07=_0x57eef0[0x2]*_0x40e5f1[0x2];_0x512fc5(_0x513255,_0x500959([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x522f6e(_0x513255,_0x500959([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x500959([0x73,0x74,0x61,0x74,0x65])]==_0x500959([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x264ae1()]=_0x547a07);function _0x441bbb(_0x25b424,_0x40a9bf){try{return _0x575ad7()?_0x2c920b(_0x40a9bf[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x56,0x61,0x6c,0x69,0x64])):_0x47a4a9(_0x25b424,_0x40a9bf);}catch(_0x588b24){return _0x2c920b(_0x40a9bf[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x10e1c9(_0x421c55,_0x514be8){const _0x4dd5b0=0x7;if(_0x421c55==_0x514be8[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x21148b();else{if(_0x421c55==_0x514be8[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x54,0x72,0x69,0x61,0x6c])){const _0x2d5af4=_0x3dc51a();_0x2d5af4&&_0x157b25(_0x2d5af4,_0x514be8[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x37c26f=_0x2c9982();window[_0x500959([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x157b25(_0x500959([0x74,0x69,0x6d,0x65]),_0x514be8[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x37c26f);const _0x2efb71=_0x522f6e(_0x513255,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x500959([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x2efb71[_0x500959([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4dd5b0?_0x157b25(_0x500959([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x514be8[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x2efb71['on'](_0x500959([0x61,0x64,0x64]),()=>{_0x2efb71[_0x500959([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x4dd5b0&&_0x157b25(_0x500959([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x514be8[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x3dc51a(){if(!_0x512fc5(_0x513255,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x15e137 in window)if(Number['isNaN'](Number(_0x15e137))){if(window[_0x15e137]===_0x1382d2)return _0x500959([0x74,0x69,0x6d,0x65]);if(window[_0x15e137]===_0x1bb1fb)return _0x500959([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x575ad7(){if(!_0x512fc5(_0x513255,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x118864 in window)if(Number['isNaN'](Number(_0x118864))&&window[_0x118864]===_0x547a07)return!0x0;return!0x1;}function _0x157b25(_0x4c3ae6,_0x885078){_0x21148b(),_0x2c920b(_0x885078+_0x500959([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x4c3ae6),window[_0x264ae1()]=_0x4c3ae6===_0x500959([0x74,0x69,0x6d,0x65])?_0x1382d2:_0x1bb1fb;}function _0x2c9982(){let _0x5d8c0e=_0x57eef0[0x6]*_0x40e5f1[0x8]*_0x40e5f1[0x6];return _0x512fc5(_0x513255,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5d8c0e/=0xa),_0x5d8c0e;}function _0x21148b(){const _0xccaa2c=_0x513255;function _0xf2af86(){_0x512fc5(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x522f6e(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x500959([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x500959([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x522f6e(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x500959([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x522f6e(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x500959([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x4085c5,_0x522f6e(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x500959([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x4085c5,_0xccaa2c[_0x500959([0x6d,0x6f,0x64,0x65,0x6c])][_0x500959([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4085c5,_0xccaa2c[_0x500959([0x6d,0x6f,0x64,0x65,0x6c])][_0x500959([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4085c5,_0xccaa2c[_0x500959([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x500959([0x6d,0x6f,0x64,0x65,0x6c]))),_0x512fc5(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x522f6e(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x500959([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x500959([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x522f6e(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x500959([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x522f6e(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x500959([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x4085c5,_0x522f6e(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x500959([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x4085c5);}_0xccaa2c[_0x500959([0x73,0x74,0x61,0x74,0x65])]==_0x500959([0x72,0x65,0x61,0x64,0x79])?_0xf2af86():_0xccaa2c[_0x500959([0x6f,0x6e,0x63,0x65])](_0x500959([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x512fc5(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xf2af86(),_0x512fc5(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x919dd5=_0x522f6e(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xa0c55c=_0x919dd5['getRevision'](0x0),_0xb8bcab=_0x919dd5['getEarlierVisibleRevision'](_0xa0c55c[_0x500959([0x69,0x64])]);_0x522f6e(_0xccaa2c,_0x500959([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x500959([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xa0c55c[_0x500959([0x69,0x64])],_0xb8bcab?_0xb8bcab[_0x500959([0x69,0x64])]:null,0x1)['then'](()=>_0xf2af86());}});}_0x10e1c9(_0x441bbb(_0x11ac25,_0x114810),_0x114810);}function _0x47a4a9(_0x4b31a6,_0x4ed7b5){try{return _0x143098(_0x4ed7b5)?_0x2c920b(_0x4ed7b5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x56,0x61,0x6c,0x69,0x64])):_0x4b31a6&&_0x40dc33(_0x4b31a6[_0x500959([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x4ed7b5)?_0x4b31a6[_0x500959([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x500959([0x6f,0x70,0x65,0x6e])][_0x500959([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xb824bf)/0x2>_0x4b31a6[_0x500959([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x2c920b(_0x4ed7b5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4b31a6[_0x500959([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x2c920b(_0x4ed7b5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x54,0x72,0x69,0x61,0x6c])):_0x2c920b(_0x4ed7b5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x56,0x61,0x6c,0x69,0x64])):_0x2c920b(_0x4ed7b5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x94737b){return _0x2c920b(_0x4ed7b5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5937cf(_0x5c93a5,_0x3f04e5){if(_0x513255 instanceof _0x31bbab){const _0x1c08f0=_0x513255;_0x5c93a5==_0x3f04e5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3d4f3e(_0x1c08f0):_0x5c93a5==_0x3f04e5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x54,0x72,0x69,0x61,0x6c])&&window[_0x500959([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3d4f3e(_0x1c08f0),_0x2c920b(_0x3f04e5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x57eef0[0x6]*_0x40e5f1[0x8]*_0x40e5f1[0x6]),_0x1c08f0[_0x500959([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x500959([0x6f,0x6e])](_0x500959([0x61,0x64,0x64]),(_0x5cfe95,_0x40b7a4)=>{_0x5c93a5!=_0x3f04e5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x5c93a5!=_0x3f04e5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x5c93a5!=_0x3f04e5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0xb0e9f8(_0x40b7a4);});}else{const _0x422bc3=_0x513255;_0x5c93a5==_0x3f04e5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0xb0e9f8(_0x422bc3):_0x5c93a5==_0x3f04e5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x54,0x72,0x69,0x61,0x6c])&&_0x422bc3[_0x500959([0x6f,0x6e])](_0x500959([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x27846a=0x0;_0x422bc3[_0x500959([0x6d,0x6f,0x64,0x65,0x6c])][_0x500959([0x6f,0x6e])](_0x500959([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33f1ef,_0x126f76)=>{_0x126f76[0x0][_0x500959([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x27846a++,0x1f8===_0x27846a&&(_0xb0e9f8(_0x422bc3),_0x2c920b(_0x3f04e5[_0x500959([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x500959([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x33f1ef[_0x500959([0x6f,0x66,0x66])]());},{'priority':_0x500959([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x2c920b(_0x304854){const _0x26f40b=_0x264ae1();return _0x513255[_0x26f40b]=_0x304854,_0x304854;}function _0x264ae1(){const _0x3424ab=String(window[_0x500959([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x500959([0x6e,0x6f,0x77])]())[_0x500959([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x500959([0x2e]),'');let _0x238d59='';for(let _0x556159=0x0;_0x556159<_0x3424ab[_0x500959([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x556159+=0x2){let _0x27f2a0=parseInt(_0x3424ab[_0x500959([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x556159,_0x556159+0x2));_0x27f2a0>=_0x14b5fb[_0x500959([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x27f2a0-=_0x14b5fb[_0x500959([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x238d59+=_0x14b5fb[_0x27f2a0];}return _0x238d59;}function _0x3d4f3e(_0x43707f){for(const _0x88a274 of _0x43707f[_0x500959([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0xb0e9f8(_0x88a274);_0x522f6e(_0x43707f,_0x500959([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x500959([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x522f6e(_0x43707f,_0x500959([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x500959([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x4085c5;}function _0xb0e9f8(_0x1175d9){function _0x360d32(){_0x1175d9[_0x500959([0x6d,0x6f,0x64,0x65,0x6c])][_0x500959([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4085c5,_0x1175d9[_0x500959([0x6d,0x6f,0x64,0x65,0x6c])][_0x500959([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4085c5,_0x1175d9[_0x500959([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x500959([0x6d,0x6f,0x64,0x65,0x6c]));}_0x1175d9[_0x500959([0x73,0x74,0x61,0x74,0x65])]==_0x500959([0x72,0x65,0x61,0x64,0x79])?_0x360d32():_0x1175d9[_0x500959([0x6f,0x6e,0x63,0x65])](_0x500959([0x72,0x65,0x61,0x64,0x79]),()=>_0x360d32());}function _0x4085c5(){return null;}function _0x40dc33(_0x46a338,_0x210756){const _0x593c85=!!(_0x46a338&_0x210756[_0x500959([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x886a69=_0xad0a27(_0x46a338,_0x210756);return _0x593c85||_0x886a69;}function _0xad0a27(_0x4e1a11,_0x87f42f){const _0x911c00=(_0x87f42f[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x500959([0x66,0x67,0x69])]||null;return!!_0x911c00&&_0xc48b59[_0x500959([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f6390=>_0x911c00[_0x500959([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2f6390[_0x500959([0x69,0x64])]))[_0x500959([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x56a6da=>!_0x4f0a95(_0x56a6da))[_0x500959([0x73,0x6f,0x6d,0x65])](_0x5b201f=>!!(_0x4e1a11&_0x5b201f[_0x500959([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x4f0a95(_0x1edb7a){const _0xcc8fba={[_0x500959([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])]:_0x4d736a};return!!_0x1edb7a['forbiddenHandler']&&_0xcc8fba[_0x1edb7a['forbiddenHandler']]();}function _0x4d736a(){return!window[_0x500959([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x512fc5(_0x513255,_0x500959([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x143098(_0xeb6dfb){if(!_0x512fc5(_0x513255,_0xeb6dfb[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x192efa=_0xeb6dfb[_0x500959([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xd8c31d=_0x192efa[_0x500959([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x23e2e0=_0x192efa[_0x500959([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x228143=_0x192efa[_0x500959([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x512fc5(_0x513255,_0x500959([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x522f6e(_0x513255,_0x500959([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x500959([0x73,0x74,0x61,0x74,0x65])]==_0x500959([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xd8c31d)return!0x0;if(_0x512fc5(_0x513255,_0x500959([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x522f6e(_0x513255,_0x500959([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x500959([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x500959([0x65,0x6e,0x64])&&_0x23e2e0)return!0x0;return!(!_0x512fc5(_0x513255,_0x500959([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]))||_0x522f6e(_0x513255,_0x500959([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]))[_0x500959([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x500959([0x65,0x6e,0x64])||!_0x228143);}function _0x512fc5(_0x4a52fa,_0x36fdd9){return _0x4a52fa[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x500959([0x68,0x61,0x73])](_0x36fdd9);}function _0x522f6e(_0x2aa092,_0x275a0b){return _0x2aa092[_0x500959([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x500959([0x67,0x65,0x74])](_0x275a0b);}function _0x41b69c(_0x82d73b){let _0x10879d='';for(const _0x35cfc6 of _0x82d73b)_0x10879d+=String[_0x500959([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x35cfc6);return _0x10879d;}function _0x460d95(_0x2952db){const _0x59ca42=new Uint8Array(_0x2952db[_0x500959([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0xc0ec70=0x0;_0xc0ec70<_0x2952db[_0x500959([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xc0ec70++)_0x59ca42[_0xc0ec70]=_0x2952db[_0x500959([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xc0ec70);return _0x59ca42;}_0xfab50a&&_0x59aae8(_0xcab44c(_0x1f20fb),_0xfab50a);})(_0x1e3af5);}(this);}['createRevision'](_0x210e5d){const _0x17b0c3=this['editor']['plugins']['get']('Users');return new a({'id':_0x210e5d['id'],'name':_0x210e5d['name'],'creator':_0x210e5d['creatorId']?_0x17b0c3['getUser'](_0x210e5d['creatorId']):null,'diffData':_0x210e5d['diffData']||_0x210e5d['data'],'authors':_0x210e5d['authorsIds']['map'](_0x2ffba5=>_0x17b0c3['getUser'](_0x2ffba5)),'createdAt':new Date(_0x210e5d['createdAt']),'attributes':_0x210e5d['attributes'],'fromVersion':_0x210e5d['fromVersion'],'toVersion':_0x210e5d['toVersion']});}['addRevision'](_0x4f430e,_0x10e9eb=0x0){this['_revisions']['add'](_0x4f430e,_0x10e9eb);}['getRevision'](_0x35af27){return this['_revisions']['get'](_0x35af27);}['getRevisions'](_0x302361={'toJSON':!0x1}){const _0x2d5bb2=Array['from'](this['_revisions']);return _0x2d5bb2['reverse'](),_0x302361['toJSON']?_0x2d5bb2['map'](_0x4e45ac=>_0x4e45ac['toJSON']()):_0x2d5bb2;}['getIndex'](_0x20b077){return this['_revisions']['getIndex'](_0x20b077);}['getEarlierVisibleRevision'](_0xbdbaa7){const [,_0x3832a7]=this['getRevisionsIterator'](_0xbdbaa7,{'direction':'earlier'});return _0x3832a7;}['getLaterVisibleRevision'](_0x2e14de){const [,_0x118d33]=this['getRevisionsIterator'](_0x2e14de,{'direction':'later'});return _0x118d33;}['getRevisionsInDiff'](_0x5778ce){const _0x2098ba=[];for(const _0x53a9a1 of this['getRevisionsIterator'](_0x5778ce['newRevisionId']))if(_0x2098ba['push'](_0x53a9a1),_0x53a9a1['id']===_0x5778ce['oldRevisionId'])break;return _0x2098ba;}*['getRevisionsIterator'](_0x4e4ef9,{direction:_0x3687c1='earlier',filter:_0x40c391=_0x37024a=>!0x0}={}){const _0x27f60a='earlier'===_0x3687c1?0x1:-0x1;let _0x6f958=this['_revisions']['get'](_0x4e4ef9),_0x23a671=this['getIndex'](_0x6f958);for(yield _0x6f958;_0x6f958;){if(_0x23a671+=_0x27f60a,_0x6f958=this['getRevision'](_0x23a671),!_0x6f958)return;_0x40c391(_0x6f958)&&(yield _0x6f958);}}}function y(_0x528767,_0x2a2164,_0x3aaab2){const t=_0x528767['t'];switch(_0x2a2164){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'},_0x3aaab2);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x3aaab2);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':_0x2fb412,'a':_0xc1a6a8,'e':_0x1d2c1f,'r':_0x2c6139,'u':_0x42ce8d};class l extends _0x42be7e{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x5a5ad0,A,_0x3a4dbc];}constructor(_0x3ac3cd){super(_0x3ac3cd),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 _0x3861f7=_0x20aaca();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3861f7},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 _0xb156ca=this['repository']['getRevision'](0x0),_0x53f383=_0xb156ca&&null===_0xb156ca['creator']?_0xb156ca:null;if(this['_continueCurrentRevision']=!!_0x53f383&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x47c50f=this['_source']['getCurrentRevisionId'](),_0x262a68=this['repository']['getRevision'](_0x47c50f);if(_0x262a68)this['_startingVersion']=_0x262a68['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x15ed4b=this['_source']['history']['_operations']['find'](_0x2ff52f=>!_0x2ff52f['_isInit']),_0x3d4f32=_0x15ed4b?_0x15ed4b['baseVersion']:this['_source']['history']['version'];_0xb156ca?(_0xb156ca['toVersion']<_0x3d4f32&&_0xb156ca['_update']({'toVersion':_0x3d4f32}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x53f383['id'],this['_startingVersion']=_0x53f383['fromVersion']):(this['_startingVersion']=_0xb156ca['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3d4f32,this['_continueCurrentRevision']=!0x1);}}else _0x53f383&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x53f383['toVersion'],this['editor']['model']['document']['history']['version']),_0x53f383['fromVersion']===_0x53f383['toVersion']?(0x0!==_0x53f383['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x53f383['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x53f383['id'],this['_startingVersion']=_0x53f383['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',_0x214f06=>!_0x214f06);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x4f1471=this['repository']['getRevision'](0x0),_0x41dbca=await this['getRevisionDocumentData'](_0x4f1471),_0x4f9061=await this['getRevisionRootsAttributes'](_0x4f1471);this['_replaceEditorDataWithRevisionData'](_0x41dbca,_0x4f9061);}}['setSource'](_0x42b6fc){this['_source']=_0x42b6fc;}async['update'](){const _0xd0b715=await this['_source']['getLatestVersion']();if(_0xd0b715>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3f51f7=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0xd0b715});_0x3f51f7['authors']=_0x3f51f7['authorsIds']['map'](_0x13b937=>this['editor']['plugins']['get']('Users')['getUser'](_0x13b937)),this['currentRevision']['_update'](_0x3f51f7);}}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'](_0x2d6f95={},_0x4d9c2d=null){const _0x130dbc=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x4d9c2d>this['currentRevision']['toVersion']&&(_0x4d9c2d=null),null===_0x4d9c2d&&(_0x4d9c2d=await this['_source']['getLatestVersion']());const _0x5a4e26=this['_getFromVersion'](_0x4d9c2d),_0x21ddb0=this['buildRevisionData']({'from':_0x5a4e26,'to':_0x4d9c2d});if(this['currentRevision']['toVersion']<_0x4d9c2d){const _0x45e4bb=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x4d9c2d,'to':_0x4d9c2d});_0x45e4bb['authors']=[],_0x45e4bb['authorsIds']=[],_0x45e4bb['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x45e4bb,!0x0),delete _0x45e4bb['authors'],_0x130dbc['push'](_0x45e4bb);}_0x2d6f95['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x2d6f95['name']=_0x2d6f95['name']||null,_0x2d6f95['id']=_0x2d6f95['id']||_0x20aaca(),_0x2d6f95={..._0x2d6f95,..._0x21ddb0};const _0x4c84a3=this['addRevisionData'](_0x2d6f95);_0x130dbc['push'](_0x2d6f95);const _0x5d64e1=this['repository']['getIndex'](_0x4c84a3);if(0x0!==_0x5d64e1){const _0x4ae782=this['repository']['getRevision'](_0x5d64e1-0x1);if(_0x4ae782['fromVersion']!==_0x4d9c2d){const _0x5767c0=this['_revisionDataBuilder']['getData'](_0x4d9c2d,_0x4ae782['toVersion']),_0x473835={'id':_0x4ae782['id'],'diffData':_0x5767c0['diffData'],'authorsIds':_0x5767c0['authorsIds'],'authors':_0x5767c0['authorsIds']['map'](_0x3c369a=>this['editor']['plugins']['get']('Users')['getUser'](_0x3c369a)),'fromVersion':_0x4d9c2d};_0x4ae782===this['currentRevision']&&(_0x473835['createdAt']=new Date(_0x2d6f95['createdAt']['getTime']()+0xa)),_0x4ae782['_update'](_0x473835,!0x0),delete _0x473835['authors'],_0x130dbc['push'](_0x473835);}}if(this['adapter']){for(const _0x24790c of _0x130dbc)this['_bufferUpdate'](_0x24790c['id'],_0x24790c,!0x0);this['sendBufferedUpdates']();}return _0x4c84a3;}['addRevisionData'](_0x15478f){const _0x4a34b9=this['repository']['createRevision'](_0x15478f);return this['adapter']&&_0x4a34b9['on']('_update',(_0x49370a,_0x304848,_0x19d6ae)=>{_0x19d6ae||(this['_bufferUpdate'](_0x304848['id'],_0x304848,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x4a34b9,this['_findInsertionIndex'](_0x4a34b9)),_0x4a34b9;}async['getRevisionDocumentData'](_0xf7f73b){await this['_loadRevisionData'](_0xf7f73b);const _0xd2b503={};for(const _0x11c860 in _0xf7f73b['diffData']){if(_0xf7f73b['diffData'][_0x11c860]['attachChange']&&!_0xf7f73b['diffData'][_0x11c860]['attachChange']['isAttached'])continue;const _0x3a11f6=this['_removeRevisionMarkers'](JSON['parse'](_0xf7f73b['diffData'][_0x11c860]['insertions'])),_0x29d35f=this['editor']['editing']['view']['document'],_0x45c50d=new _0x9d9e1d(_0x29d35f,_0x3a11f6['map'](_0x34ae13=>B(_0x34ae13,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0xd2b503[_0x11c860]=this['editor']['data']['processor']['toData'](_0x45c50d),this['editor']['data']['processor']['useFillerType']('default');}return _0xd2b503;}async['getRevisionRootsAttributes'](_0x15ba37){await this['_loadRevisionData'](_0x15ba37);const _0x1391af={};for(const _0xa5c915 in _0x15ba37['diffData'])_0x15ba37['diffData'][_0xa5c915]['attachChange']&&!_0x15ba37['diffData'][_0xa5c915]['attachChange']['isAttached']||(_0x1391af[_0xa5c915]=_0x15ba37['diffData'][_0xa5c915]['attributesAfter']||{});return _0x1391af;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x350be1=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x36af46=0x0;_0x36af46<_0x350be1['length'];_0x36af46++){const _0x308172=_0x350be1[_0x36af46];let _0x1021cb=!0x1;for(const _0x4e7e69 of Object['keys'](_0x308172))void 0x0===_0x308172[_0x4e7e69]?delete _0x308172[_0x4e7e69]:'id'!==_0x4e7e69&&(_0x1021cb=!0x0);_0x1021cb||(_0x350be1[_0x36af46]=null);}if(_0x350be1=_0x350be1['filter'](_0x13bb4e=>null!==_0x13bb4e),!_0x350be1['length'])return;for(let _0x8ec37a=0x0;_0x8ec37a<_0x350be1['length'];_0x8ec37a++){const _0x31a77d=_0x350be1[_0x8ec37a];void 0x0!==_0x31a77d['fromVersion']&&void 0x0===_0x31a77d['toVersion']&&(_0x31a77d['toVersion']=this['repository']['getRevision'](_0x31a77d['id'])['toVersion']),void 0x0!==_0x31a77d['toVersion']&&void 0x0===_0x31a77d['fromVersion']&&(_0x31a77d['fromVersion']=this['repository']['getRevision'](_0x31a77d['id'])['fromVersion']);}const _0x13d777=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x350be1,_0x13d777)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x21a36e=>{if(_0x21a36e){for(const _0x5025f8 of _0x21a36e)this['setRevisionData']({'id':_0x5025f8['id'],'createdAt':_0x5025f8['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x4b1659,_0x5dfa81){let _0x27dc11=this['editor']['config']['get']('initialData'),_0x248bac=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x27dc11){_0x27dc11={};for(const _0x541b6e of this['editor']['model']['document']['getRootNames']())_0x27dc11[_0x541b6e]='';}if('string'==typeof _0x27dc11&&(_0x27dc11={'main':_0x27dc11}),void 0x0===_0x248bac){_0x248bac={};for(const _0x43722a of this['editor']['model']['document']['getRootNames']())_0x248bac[_0x43722a]={};}let _0x340edd=!0x1;const _0x2ad0ee=Object['keys'](_0x27dc11),_0x3881b0=Object['keys'](_0x4b1659);for(const _0x37cac8 of _0x2ad0ee){if(_0x27dc11[_0x37cac8]!==_0x4b1659[_0x37cac8]&&''!==_0x27dc11[_0x37cac8]['trim']()){_0x340edd=!0x0;break;}if(!_0x5bb390(_0x248bac[_0x37cac8],_0x5dfa81[_0x37cac8])&&Object['keys'](_0x248bac[_0x37cac8])['length']>0x0){_0x340edd=!0x0;break;}}_0x340edd||(_0x340edd=_0x3881b0['some'](_0x7f18a3=>!this['editor']['model']['document']['getRoot'](_0x7f18a3))),_0x340edd&&_0x472c67('editor-initial-data-replaced-with-revision-data',{'editorData':_0x27dc11,'editorRootsAttributes':_0x248bac,'revisionData':_0x4b1659,'revisionRootsAttributes':_0x5dfa81}),this['editor']['config']['set']('initialData',_0x4b1659),this['editor']['config']['set']('rootsAttributes',_0x5dfa81);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x2e97bb=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x2e97bb['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x1e2d1f){const _0x252547=this['repository']['getRevisions']();_0x252547['reverse']();let _0x5971e8=0x0;for(;_0x5971e8<_0x252547['length'];){const _0x3bb7f9=_0x252547[_0x5971e8];if(_0x3bb7f9===this['currentRevision']){_0x5971e8++;continue;}if(_0x3bb7f9['id']===this['_initialRevisionId'])break;const _0x428376=_0x1e2d1f['toVersion']-_0x3bb7f9['toVersion']||_0x1e2d1f['fromVersion']-_0x3bb7f9['fromVersion'];if(_0x428376>0x0)break;if(_0x428376<0x0)_0x5971e8++;else{if(!_0x1e2d1f['creator']&&_0x3bb7f9['creator'])break;if(_0x3bb7f9['creator']||!_0x1e2d1f['creator']){if(_0x1e2d1f['createdAt']>_0x3bb7f9['createdAt'])break;_0x5971e8++;}else _0x5971e8++;}}return _0x5971e8;}['setRevisionData'](_0x2d0f03){const _0xe786b0=this['repository']['getRevision'](_0x2d0f03['id']);if(_0x2d0f03['createdAt']&&(_0x2d0f03['createdAt']=new Date(_0x2d0f03['createdAt'])),_0x2d0f03['authorsIds']){const _0x146011=this['editor']['plugins']['get']('Users');_0x2d0f03['authors']=_0x2d0f03['authorsIds']['map'](_0x7d3565=>_0x146011['getUser'](_0x7d3565));}_0xe786b0['_update'](_0x2d0f03,!0x0);}['buildRevisionData']({revision:_0x1fd2b5=null,from:_0x38d678=null,to:_0x10b705=null}){_0x38d678=null!==_0x38d678?_0x38d678:_0x1fd2b5['fromVersion'],_0x10b705=null!==_0x10b705?_0x10b705:_0x1fd2b5['toVersion'];const _0x259e96=this['_revisionDataBuilder']['getData'](_0x38d678,_0x10b705),_0x503502={'diffData':_0x259e96['diffData'],'authorsIds':_0x259e96['authorsIds'],'fromVersion':_0x38d678,'toVersion':_0x10b705};if(!_0x1fd2b5||_0x10b705!==_0x1fd2b5['toVersion']){const _0xbd908a=_0x10b705-0x1,_0x34f636=this['_source']['history']['getOperation'](_0xbd908a);_0x503502['createdAt']=_0x34f636&&_0x34f636['createdAt']||new Date();}if(this['_loadedStateData']&&_0x38d678===this['_loadedStateData']['fromVersion']){for(const _0x132aaa of this['_loadedStateData']['authors'])_0x503502['authorsIds']['includes'](_0x132aaa['id'])||_0x503502['authorsIds']['push'](_0x132aaa['id']);}return _0x503502;}['_loadRevisionData'](_0xa4928c){if(!_0xa4928c||_0xa4928c['diffData'])return Promise['resolve']();{const _0x59b8f3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x59b8f3,'revisionId':_0xa4928c['id']})['then'](_0x295121=>{_0xa4928c['diffData']=_0x295121['diffData'];});}}['_bufferUpdate'](_0x231565,_0x4bef51,_0x50c0cb){if(this['_bufferedUpdates']['has'](_0x231565)){const _0x3e2ef3=this['_bufferedUpdates']['get'](_0x231565);_0x4bef51=_0x50c0cb?{..._0x3e2ef3,..._0x4bef51}:{..._0x4bef51,..._0x3e2ef3};}this['_bufferedUpdates']['set'](_0x231565,_0x4bef51);}['_getFromVersion'](_0x31a77b){const _0x2a4e2c=this['repository']['getRevisions']();_0x2a4e2c['reverse'](),_0x2a4e2c['shift']();const _0x3ca750=_0x2a4e2c['find'](_0x7fe730=>_0x7fe730['toVersion']<=_0x31a77b)['toVersion'];return _0x3ca750<this['_startingVersion']?this['_startingVersion']:_0x3ca750;}['_createInitialRevision'](_0x54c011){const _0x2bcfea=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2bcfea)this['_initialRevisionId']=_0x2bcfea['id'];else{const _0x34567d=!this['editor']['model']['document']['roots']['find'](_0xb32aa9=>this['editor']['model']['hasContent'](_0xb32aa9)),_0x3dc1db=this['editor']['plugins']['get']('Users')['me']['id'],_0x405e1b=y(this['editor']['locale'],_0x34567d?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x54c011,'to':_0x54c011,'id':this['_initialRevisionId'],'name':_0x405e1b,'creatorId':_0x3dc1db});}}['_createCurrentRevision'](_0x235e09){const _0x520915=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x520915),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x235e09,'to':_0x235e09,'id':_0x520915,'name':'','creatorId':null}));}['_makeRevision']({name:_0x45cf8a,from:_0x219bed,to:_0x22e8b3,creatorId:_0x10855f,id:_0x28cf2d}){const _0x303a35=this['buildRevisionData']({'from':_0x219bed,'to':_0x22e8b3});_0x303a35['name']=_0x45cf8a,_0x303a35['creatorId']=_0x10855f,_0x303a35['id']=_0x28cf2d;const _0x48c749=this['addRevisionData'](_0x303a35);return this['adapter']&&this['_bufferUpdate'](_0x303a35['id'],_0x303a35,!0x0),_0x48c749;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2c42bb){return(_0x2c42bb=_0x2c42bb['filter'](_0x189eb9=>!_0x189eb9['name']||'revision-start'!==_0x189eb9['name']&&'revision-end'!==_0x189eb9['name']))['forEach'](_0x28b3ce=>{'string'!=typeof _0x28b3ce&&(_0x28b3ce['children']=this['_removeRevisionMarkers'](_0x28b3ce['children']),_0x28b3ce['attributes']=_0x28b3ce['attributes']['filter'](_0x23421e=>!_0x23421e[0x0]['startsWith']('data-revision-')));}),_0x2c42bb;}}function B(_0x405b6a,_0x13f4db){const _0x5b4074=_0x13f4db['editing']['view']['document'];if('string'==typeof _0x405b6a)return new _0x339ac2(_0x5b4074,_0x405b6a);{const _0x3f0707=_0x405b6a['children']['map'](_0x3150a1=>B(_0x3150a1,_0x13f4db));return new(T[_0x405b6a['type']]||_0x4bd183)(_0x5b4074,_0x405b6a['name'],_0x405b6a['attributes'],_0x3f0707);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x51cb56){this['editor']=_0x51cb56,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'](_0x76c292){this['source']=_0x76c292;const _0x329ec8=new Map(),_0x588b5f=new Map(),_0x5b0cfe=this['editor']['model']['document']['roots']['map'](_0x471bd4=>_0x471bd4['rootName']);for(const _0x5b59f of _0x5b0cfe){const _0x24ce9f=this['editor']['model']['document']['getRoot'](_0x5b59f),_0xb260a0=q(_0x24ce9f);_0x329ec8['set'](_0x5b59f,_0xb260a0),_0x588b5f['set'](_0x5b59f,Object['fromEntries'](_0x24ce9f['getAttributes']()));}const _0x3b6f60=Array['from'](this['editor']['model']['markers'])['map'](_0xf47103=>[_0xf47103['name'],_0xf47103['getRange']()]),_0x104c93=this['source']['version'];this['_saveMetaData'](_0x104c93,_0x329ec8,_0x3b6f60,_0x588b5f),this['_startingRevisionId']=this['_revisionId'];const _0x51fb75=new Map(),_0x227808=new Map();for(const _0x5a0049 of _0x5b0cfe){const _0x40e977=G(_0x5a0049);_0x51fb75['set'](_0x5a0049,_0x40e977),_0x227808['set'](_0x5a0049,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x51fb75,[],_0x227808);}['getData'](_0x397c45,_0x233aa9){if(this['_lastFrom']===_0x397c45&&this['_lastTo']<=_0x233aa9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x233aa9,!0x0);else{if(!this['_savedMetaData']['has'](_0x397c45)){const _0x24953b=this['_getPreviousFrom'](_0x397c45);this['_calculateMetaData'](_0x24953b,_0x397c45,!0x1);}this['_calculateMetaData'](_0x397c45,_0x233aa9,!0x0);}return this['_lastFrom']=_0x397c45,this['_lastTo']=_0x233aa9,this['_getState']();}['loadState'](_0x5997e7){this['_reset'](),this['_lastFrom']=_0x5997e7['fromVersion'],this['_lastTo']=_0x5997e7['toVersion'];for(const _0x18083e in _0x5997e7['diffData']){const _0x2262af=_0x5997e7['diffData'][_0x18083e]['attachChange'],_0x58a08c=_0x5aa866(_0x5997e7['diffData'][_0x18083e]['attributesBefore'])||{},_0x304744=this['_makeModelFromViewString'](_0x5997e7['diffData'][_0x18083e]['deletions']);_0x304744['rootName']=_0x18083e,_0x304744['_isAttached']=!_0x2262af||!_0x2262af['isAttached'],_0x304744['isAttached']=()=>_0x304744['_isAttached'],this['_baseRoots']['set'](_0x18083e,_0x304744),this['_baseRootsAttributes']['set'](_0x18083e,_0x58a08c),_0x2262af&&this['_touchedRoots']['set'](_0x18083e,_0x2262af);const _0x221f38=this['_makeIdsRoot'](_0x304744);this['_baseIdsRoots']['set'](_0x18083e,_0x221f38);for(const [_0x4061aa,_0x1febf0]of _0x304744['markers']){if(!_0x4061aa['startsWith']('revision:'))continue;const _0x562fb8=_0x4061aa['split'](':')[0x2];for(const _0x12925e of _0x1febf0['getWalker']({'singleCharacters':!0x0})){const _0x1efe07=this['_getVidAttributeName'](_0x12925e),_0x1e20b5='elementEnd'==_0x12925e['type']?_0x12925e['previousPosition']['path']['slice'](0x0,-0x1):_0x12925e['previousPosition']['path'],_0x356dd9=_0x221f38['getNodeByPath'](_0x1e20b5)['getAttribute'](_0x1efe07);this['_touched']['set'](_0x356dd9,{'userId':_0x562fb8});}}}this['_startingRevisionId']=this['_revisionId'];const _0x5504f8=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x128820=>!this['_touched']['has'](_0x128820));let _0xaa322d=0x0;const _0x298686=new Map();for(const _0x5e01c0 in _0x5997e7['diffData']){const _0x314320=_0x5997e7['diffData'][_0x5e01c0]['attachChange'],_0x28bb23=_0x5aa866(_0x5997e7['diffData'][_0x5e01c0]['attributesAfter'])||{},_0x363474=this['_makeModelFromViewString'](_0x5997e7['diffData'][_0x5e01c0]['insertions']);_0x363474['rootName']=_0x5e01c0,_0x363474['_isAttached']=!_0x314320||_0x314320['isAttached'],_0x363474['isAttached']=()=>_0x363474['_isAttached'],this['_diffRoots']['set'](_0x5e01c0,_0x363474),this['_diffRootsAttributes']['set'](_0x5e01c0,_0x28bb23);const _0x331c26=this['_makeIdsRoot'](_0x363474,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5e01c0,_0x331c26),_0x298686['set'](_0x5e01c0,_0x363474['isAttached']()?_0x28bb23:{});for(const [_0xe46a20,_0x48bbbd]of _0x363474['markers']){if(!_0xe46a20['startsWith']('revision:'))continue;const _0x246df6=_0xe46a20['split'](':')[0x2];for(const _0x51cfc5 of _0x48bbbd['getWalker']({'singleCharacters':!0x0})){const _0x320889=this['_getVidAttributeName'](_0x51cfc5),_0xad10bb=this['_revisionId']++,_0x2d5557='elementEnd'==_0x51cfc5['type']?_0x51cfc5['previousPosition']['path']['slice'](0x0,-0x1):_0x51cfc5['previousPosition']['path'];_0x331c26['getNodeByPath'](_0x2d5557)['_setAttribute'](_0x320889,_0xad10bb),this['_touched']['set'](_0xad10bb,{'userId':_0x246df6});}}for(const _0x4ee7cb of this['editor']['model']['createRangeIn'](_0x363474)['getWalker']({'singleCharacters':!0x0})){const _0x31a91b=this['_getVidAttributeName'](_0x4ee7cb),_0x137f5a='elementEnd'==_0x4ee7cb['type']?_0x4ee7cb['previousPosition']['path']['slice'](0x0,-0x1):_0x4ee7cb['previousPosition']['path'],_0x5769a0=_0x331c26['getNodeByPath'](_0x137f5a);_0x5769a0['getAttribute'](_0x31a91b)>0x0||_0x5769a0['_setAttribute'](_0x31a91b,_0x5504f8[_0xaa322d++]);}for(const [_0x2bf74f,_0x4b5fe2]of _0x363474['markers'])_0x2bf74f['startsWith']('revision:')||this['_markers']['set'](_0x2bf74f,_0x4b5fe2);}const _0xe227a0=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xe227a0),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xe227a0,0x1));const _0x103e71=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x103e71),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x103e71,0x1));const _0x48e664=Array['from'](this['_diffRoots'])['map'](([_0x1d182f,_0x2bfdb9])=>[_0x1d182f,q(_0x2bfdb9)]);this['_saveMetaData'](this['_lastTo'],_0x48e664,this['_markers'],_0x298686);}['_makeModelFromViewString'](_0x3c8723){const _0x1ada62=JSON['parse'](_0x3c8723),_0x64443c=this['editor']['editing']['view']['document'],_0x1efa20=new _0x9d9e1d(_0x64443c,_0x1ada62['map'](_0x5b2611=>B(_0x5b2611,this['editor'])));return this['editor']['data']['toModel'](_0x1efa20);}['_saveMetaData'](_0x3a2922,_0x1ed837,_0x1984ef,_0x18d98c){const _0x3d6a01=new Map(_0x1ed837),_0x3ddf48=new Map(_0x5aa866(_0x18d98c)),_0x49374b=new Map();for(const [_0x388567,_0xa7b97c]of _0x1984ef)_0x49374b['set'](_0x388567,{'start':_0xa7b97c['start']['clone'](),'end':_0xa7b97c['end']['clone'](),'rootName':_0xa7b97c['root']['rootName']});this['_savedMetaData']['set'](_0x3a2922,{'roots':_0x3d6a01,'markers':_0x49374b,'rootsAttributes':_0x3ddf48});}['_removeMetaData'](_0xb6cf8){this['_savedMetaData']['delete'](_0xb6cf8);}['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'](_0x728a27,_0x32d705=null){let _0x304065=null;_0x728a27['is']('documentFragment')||(_0x304065=new ft(_0x728a27['name'],{'vid_start':null===_0x32d705?this['_revisionId']++:_0x32d705++}));const _0x377e4c=[];for(const _0x552a91 of _0x728a27['getChildren']())if(_0x552a91['is']('element')){_0x377e4c['push'](this['_makeIdsRoot'](_0x552a91,_0x32d705));const _0x4a5049=_0x377e4c[_0x377e4c['length']-0x1];null!==_0x32d705&&(_0x32d705=_0x4a5049['is']('element','$text')?_0x4a5049['getAttribute']('vid')+0x1:_0x4a5049['getAttribute']('vid_end')+0x1);}else{for(let _0x3695a0=0x0;_0x3695a0<_0x552a91['offsetSize'];_0x3695a0++)_0x377e4c['push'](new ft('$text',{'vid':null===_0x32d705?this['_revisionId']++:_0x32d705++}));}if(_0x728a27['is']('documentFragment')){const _0x28db60=G(_0x728a27['rootName']);return _0x28db60['_insertChild'](0x0,_0x377e4c),_0x28db60;}return _0x304065['_setAttribute']('vid_end',null===_0x32d705?this['_revisionId']++:_0x32d705++),_0x304065['_insertChild'](0x0,_0x377e4c),_0x304065;}['_calculateMetaData'](_0x573005,_0x1ff287,_0x123f75){this['_reset']();const {roots:_0x1509e1,markers:_0x48dd62,rootsAttributes:_0x3244ab}=this['_savedMetaData']['get'](_0x573005);this['_baseRoots']=new Map(_0x1509e1),this['_baseRootsAttributes']=new Map(_0x5aa866(_0x3244ab));for(const [_0x347f3e,_0xfc47f7]of this['_baseRoots'])if('$graveyard'!==_0x347f3e&&(this['_diffRoots']['set'](_0x347f3e,q(_0xfc47f7)),this['_diffRootsAttributes']=new Map(_0x5aa866(_0x3244ab)),_0x123f75)){const _0x7ce722=this['_revisionId'];this['_idsRoots']['set'](_0x347f3e,this['_makeIdsRoot'](_0xfc47f7)),this['_baseIdsRoots']['set'](_0x347f3e,this['_makeIdsRoot'](_0xfc47f7,_0x7ce722));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x123f75&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x39bf07,_0x43812b]of _0x48dd62){const _0x414046=this['_baseRoots']['get'](_0x43812b['rootName']),_0x4d8429=this['_diffRoots']['get'](_0x43812b['rootName']),_0x3f819a=new vt(this['_fixPosition'](_0x43812b['start'],_0x414046),this['_fixPosition'](_0x43812b['end'],_0x414046)),_0x157e94=this['_fixRange'](_0x3f819a,_0x4d8429);_0x414046['markers']['set'](_0x39bf07,_0x3f819a),this['_markers']['set'](_0x39bf07,_0x157e94);}this['_applyOperations'](_0x573005,_0x1ff287,_0x123f75);}['_applyOperations'](_0x1b507c,_0x30f90d,_0x51dcb2){for(const _0x237c04 of this['source']['getOperations'](_0x1b507c,_0x30f90d))this['_handleOperation'](_0x237c04,_0x51dcb2);for(const _0x4965e9 of this['_diffRoots']['values']())_0x4965e9['markers']['clear']();for(const [_0x1612b1,_0x49e71d]of this['_markers']){this['_diffRoots']['get'](_0x49e71d['root']['rootName'])['markers']['set'](_0x1612b1,_0x49e71d['clone']());}const _0x164db8=new Map(),_0x5570f5=new Map();for(const [_0x49fd17,_0xfbc1a6]of this['_diffRoots'])_0x164db8['set'](_0x49fd17,q(_0xfbc1a6)),_0x5570f5['set'](_0x49fd17,this['_diffRootsAttributes']['get'](_0x49fd17));this['_saveMetaData'](_0x30f90d,_0x164db8,this['_markers'],_0x5570f5);}['_getPreviousFrom'](_0x16a5f5){const _0x16f6d7=Array['from'](this['_savedMetaData']['keys']());_0x16f6d7['sort']((_0x2850f3,_0x416b49)=>_0x2850f3-_0x416b49),_0x16f6d7['reverse']();for(const _0x57876e of _0x16f6d7)if(_0x57876e<_0x16a5f5)return _0x57876e;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x5b34b9,_0x4ab66f){const _0x2008e3=Array['from'](_0x4ab66f['markers'])['map'](([_0xa9a5df,_0x40261e])=>[_0xa9a5df,this['_fixRange'](_0x40261e,_0x5b34b9)]);_0x5b34b9['markers']=new Map(_0x2008e3);}['_transformMarkers'](_0x5797bb){for(const _0x4cf5d1 of this['_markers']['values']()){const _0x28aaf5=_0x4cf5d1['getTransformedByOperation'](_0x5797bb),_0x200622=vt['_createFromRanges'](_0x28aaf5);_0x4cf5d1['start']=_0x200622['start'],_0x4cf5d1['end']=_0x200622['end'];}}['_handleOperation'](_0x33041a,_0x5125bf){if('addRoot'==_0x33041a['type']||'detachRoot'==_0x33041a['type'])return void this['_handleRootOperation'](_0x33041a,_0x5125bf);if('insert'==_0x33041a['type']){const _0x4dbd18=_0x33041a['position']['root']['rootName'];this['_diffRoots']['has'](_0x4dbd18)||(this['_diffRoots']['set'](_0x4dbd18,G(_0x4dbd18,!0x0)),this['_diffRootsAttributes']['set'](_0x4dbd18,{}),_0x5125bf&&this['_idsRoots']['set'](_0x4dbd18,G(_0x4dbd18,!0x0)));}else{if('addRootAttribute'==_0x33041a['type']||'removeRootAttribute'==_0x33041a['type']||'changeRootAttribute'==_0x33041a['type'])return void this['_handleRootAttributeOperation'](_0x33041a);}const _0x24f943=this['_cloneOperation'](_0x33041a,this['_diffRoots']);if('marker'!==_0x33041a['type']&&(_0x24f943['_execute'](),this['_transformMarkers'](_0x24f943)),_0x5125bf)switch(_0x24f943['type']){case'insert':this['_handleInsertOperation'](_0x33041a);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x33041a);break;case'merge':this['_handleMergeOperation'](_0x33041a);break;case'split':this['_handleSplitOperation'](_0x33041a);break;case'marker':this['_handleMarkerOperation'](_0x33041a);}}['_cloneOperation'](_0x2b75ef,_0x23dfac){const _0x463056=_0x2b75ef['clone']();return _0x463056['_authorId']=_0x2b75ef['_authorId'],this['_fixOperation'](_0x463056,_0x23dfac),_0x463056;}['_getBaseVids'](_0x3c7c82){return _0x3c7c82['map'](_0x4f35ba=>{const _0xa62282=this['_getVidAttributeName'](_0x4f35ba);return Number(_0x4f35ba['item']['getAttribute'](_0xa62282));});}['_generateTape'](_0x61a34c,_0x352914){if(_0x61a34c['is']('element','$text'))_0x352914['push']({'item':_0x61a34c,'type':'text'});else{_0x61a34c['is']('element')&&_0x352914['push']({'item':_0x61a34c,'type':'elementStart'});for(const _0x4590ee of _0x61a34c['getChildren']())this['_generateTape'](_0x4590ee,_0x352914);_0x61a34c['is']('element')&&_0x352914['push']({'item':_0x61a34c,'type':'elementEnd'});}return _0x352914;}['_getState'](){const _0x206232=new Map(this['_touched']),_0xf4200a=new Map(_0x206232),_0x5a8303=new Map(),_0x4dfdea={'insertions':{},'deletions':{}},_0x531cd9={'insertions':{},'deletions':{}},_0x4001ce=new Map(),_0x3106c8=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x3106c8['delete']('$graveyard');for(const _0xbcd869 of _0x3106c8){const _0x1e046f=this['_diffRoots']['get'](_0xbcd869)||G(_0xbcd869,!0x1),_0x39c950=this['_baseRoots']['get'](_0xbcd869)||G(_0xbcd869,!0x1);_0x1e046f['isAttached']()||_0x39c950['isAttached']()?(_0x4dfdea['insertions'][_0xbcd869]=q(_0x1e046f),_0x4dfdea['deletions'][_0xbcd869]=q(_0x39c950),this['_copyMarkers'](_0x4dfdea['deletions'][_0xbcd869],_0x39c950),this['_copyMarkers'](_0x4dfdea['insertions'][_0xbcd869],_0x1e046f),_0x531cd9['insertions'][_0xbcd869]=this['_generateTape'](this['_idsRoots']['get'](_0xbcd869),[]),_0x531cd9['deletions'][_0xbcd869]=this['_generateTape'](this['_baseIdsRoots']['get'](_0xbcd869)||G(_0xbcd869,!0x1),[])):_0x3106c8['delete'](_0xbcd869);}for(const _0x3b9d73 of _0x3106c8){const _0x308277=_0x531cd9['insertions'][_0x3b9d73];for(const _0x3a44fc of _0x308277){const _0x28d8df=this['_getVidAttributeName'](_0x3a44fc),_0x20cadc=_0x3a44fc['item']['getAttribute'](_0x28d8df);_0xf4200a['delete'](_0x20cadc),_0x20cadc>=this['_startingRevisionId']&&_0x5a8303['set'](_0x20cadc,_0x206232['get'](_0x20cadc));}}for(const _0x540e7f of _0x3106c8){const _0x50e3f6=_0x531cd9['insertions'][_0x540e7f],_0x158e7a=this['_getBaseVids'](_0x531cd9['deletions'][_0x540e7f]);let _0x3dbd27=0x0;for(const _0x2e27c7 of _0x50e3f6){const _0x2fb0e9=this['_getVidAttributeName'](_0x2e27c7),_0x85dff0=_0x2e27c7['item']['getAttribute'](_0x2fb0e9);if(!_0x5a8303['has'](_0x85dff0)&&!_0x4001ce['has'](_0x85dff0)){if(_0xf4200a['has'](_0x85dff0))_0x3dbd27++;else{if(_0x85dff0!=_0x158e7a[_0x3dbd27]){const _0x539735=_0x206232['get'](_0x85dff0)||_0x206232['get'](_0x158e7a[_0x3dbd27]);for(;_0x85dff0!=_0x158e7a[_0x3dbd27];)_0xf4200a['has'](_0x158e7a[_0x3dbd27])||(_0x4001ce['set'](_0x158e7a[_0x3dbd27],_0x539735),_0x206232['set'](_0x158e7a[_0x3dbd27],_0x539735)),_0x3dbd27++;}_0x3dbd27++;}}}}for(const _0x212c0b of _0x3106c8){const _0x34d49c=_0x531cd9['insertions'][_0x212c0b];for(const _0xadc27d of _0x34d49c){const _0x513dfc=this['_getVidAttributeName'](_0xadc27d),_0x58e280=_0xadc27d['item']['getAttribute'](_0x513dfc);if(_0x4001ce['has'](_0x58e280)){const _0x1eeb10=_0x4001ce['get'](_0x58e280);_0xf4200a['has'](_0x58e280)||_0xf4200a['set'](_0x58e280,{..._0x1eeb10}),_0x5a8303['set'](_0x58e280,{..._0x1eeb10});}}}for(const _0x31aeaf of _0xf4200a['keys']())_0x31aeaf>=this['_startingRevisionId']&&_0xf4200a['delete'](_0x31aeaf);const _0x3737a2=new Map();for(const _0x58b50d of _0x3106c8){let _0x3f53d0=_0x531cd9['insertions'][_0x58b50d];for(const _0x3bc768 of _0x3f53d0)if(_0x3bc768['item']['is']('element','tableCell')){const _0x1bd03f=this['_getVidAttributeName'](_0x3bc768),_0xb648cc=_0x3bc768['item']['getAttribute'](_0x1bd03f);if(_0x5a8303['has'](_0xb648cc)){const _0x2ab23c=_0x3bc768['item']['parent']['parent']['getAttribute']('vid_start'),_0x39fb34=_0x3737a2['get'](_0x2ab23c)||new Set();_0x39fb34['add'](_0x5a8303['get'](_0xb648cc)['userId']),_0x3737a2['set'](_0x2ab23c,_0x39fb34);}}_0x3f53d0=_0x531cd9['deletions'][_0x58b50d];for(const _0x692d9c of _0x3f53d0)if(_0x692d9c['item']['is']('element','tableCell')){const _0x41f85b=this['_getVidAttributeName'](_0x692d9c),_0xeebda1=_0x692d9c['item']['getAttribute'](_0x41f85b);if(_0xf4200a['has'](_0xeebda1)){const _0x1512ec=_0x692d9c['item']['parent']['parent']['getAttribute']('vid_start'),_0x15e06a=_0x3737a2['get'](_0x1512ec)||new Set();_0x15e06a['add'](_0xf4200a['get'](_0xeebda1)['userId']),_0x3737a2['set'](_0x1512ec,_0x15e06a);}}for(const _0x17b799 of _0x3737a2['keys']())(_0x5a8303['has'](_0x17b799)||_0xf4200a['has'](_0x17b799))&&_0x3737a2['delete'](_0x17b799);}for(const _0x91e721 of _0x3106c8){const _0x55e473=_0x531cd9['insertions'][_0x91e721];let _0x5d8bc8=null,_0x2e5c68=null;for(const _0x418cb6 of _0x55e473){const _0x488259=this['_getVidAttributeName'](_0x418cb6),_0x3602e5=_0x418cb6['item']['getAttribute'](_0x488259),_0x5cb487=_0x3737a2['get'](_0x3602e5);_0x5cb487&&'elementStart'==_0x418cb6['type']&&(_0x5d8bc8=Array['from'](_0x5cb487)[0x0],_0x2e5c68=_0x418cb6['item']['getAttribute']('vid_end')),_0x5d8bc8&&(_0xf4200a['set'](_0x3602e5,{'userId':_0x5d8bc8}),_0x5a8303['set'](_0x3602e5,{'userId':_0x5d8bc8})),_0x3602e5==_0x2e5c68&&(_0x5d8bc8=null,_0x2e5c68=null);}}const _0x34f493={},_0x51b769=new Set();for(const _0x3e2cf5 of _0x3106c8){const _0x5090f8=_0x4dfdea['deletions'][_0x3e2cf5],_0x595204=_0x4dfdea['insertions'][_0x3e2cf5];for(const {userId:_0x53bf7b}of this['_touchedMarkers']['values']())null!==_0x53bf7b&&_0x51b769['add'](_0x53bf7b);for(const {userId:_0x40abf1}of this['_touchedRoots']['values']())null!==_0x40abf1&&_0x51b769['add'](_0x40abf1);this['_markChanges'](_0x595204,_0x531cd9['insertions'][_0x3e2cf5],_0x5a8303,'insertion',_0x51b769),this['_markChanges'](_0x5090f8,_0x531cd9['deletions'][_0x3e2cf5],_0xf4200a,'deletion',_0x51b769),_0x34f493[_0x3e2cf5]={'insertions':this['_prepareViewToSave'](_0x595204),'deletions':this['_prepareViewToSave'](_0x5090f8),'attachChange':this['_touchedRoots']['get'](_0x3e2cf5)||null,'attributesBefore':_0x5aa866(this['_baseRootsAttributes']['get'](_0x3e2cf5))||{},'attributesAfter':_0x5aa866(this['_diffRootsAttributes']['get'](_0x3e2cf5))};}return{'diffData':_0x34f493,'authorsIds':Array['from'](_0x51b769)};}['_processRootBeforeSave'](_0x4e1e75){for(const [,_0x3ed2d4]of _0x4e1e75['markers']){const _0x33c8db=_0x3ed2d4['start']['getAncestors']()['filter'](_0x382452=>'tableCell'==_0x382452['name']);for(const _0x23eedf of _0x33c8db)0x1==_0x23eedf['childCount']&&_0x23eedf['getChild'](0x0)['is']('element','paragraph')&&_0x23eedf['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x32c926){this['_processRootBeforeSave'](_0x32c926);const _0x23674b=this['editor']['data']['toView'](_0x32c926,{}),_0x58270d=Array['from'](_0x23674b['getChildren']())['map'](_0x1b5246=>this['_getViewJson'](_0x1b5246));return JSON['stringify'](_0x58270d);}['_getViewJson'](_0x3ac033){if(_0x3ac033['is']('$text'))return _0x3ac033['data'];{const _0x5425f0=_0x3ac033;return{'type':Object['keys'](T)['find'](_0x1ef98e=>_0x3ac033 instanceof T[_0x1ef98e]),'name':_0x5425f0['name'],'attributes':Array['from'](_0x5425f0['getAttributes']()),'children':Array['from'](_0x5425f0['getChildren']())['map'](_0xcb8af9=>this['_getViewJson'](_0xcb8af9))};}}['_markChanges'](_0x1bd971,_0x59ca29,_0x1df9b9,_0x1edc78,_0x1b63da){let _0x1fc782=null,_0x337e58=null,_0x393497=0x0;const _0x53babc=this['editor']['model'];for(let _0x5e34cb=0x0;_0x5e34cb<_0x59ca29['length'];_0x5e34cb++){const _0x159364=this['_getVidAttributeName'](_0x59ca29[_0x5e34cb]),_0x52de11=_0x59ca29[_0x5e34cb]['item']['getAttribute'](_0x159364),_0x2e425c=_0x1df9b9['get'](_0x52de11),_0x7d21a8=_0x5e34cb==_0x59ca29['length']-0x1;(!_0x1fc782&&_0x2e425c&&(_0x1fc782=_0x2e425c,_0x337e58=_0x59ca29[_0x5e34cb]),_0x1fc782&&(!_0x2e425c||_0x2e425c['userId']!=_0x1fc782['userId']))&&(_0x1d5e70(_0x2e425c,L(_0x337e58,_0x1bd971,_0x53babc),L(_0x59ca29[_0x5e34cb],_0x1bd971,_0x53babc)),_0x1fc782=_0x2e425c||null,_0x337e58=_0x2e425c?_0x59ca29[_0x5e34cb]:null),_0x1fc782&&_0x7d21a8&&_0x1d5e70(_0x2e425c,L(_0x337e58,_0x1bd971,_0x53babc),W(_0x59ca29[_0x5e34cb],_0x1bd971,_0x53babc));}function _0x1d5e70(_0xf52f69,_0xe912f0,_0x487aaa){const _0x52824d=_0x1fc782['userId'],_0x13b2e5='revision:'+_0x1edc78+':'+_0x52824d+':'+_0x393497++,_0x954c7d=_0x53babc['createRange'](_0xe912f0,_0x487aaa);_0x1bd971['markers']['set'](_0x13b2e5,_0x954c7d),null!==_0x52824d&&_0x1b63da['add'](_0x52824d);}}['_getVidAttributeName'](_0x204b35){switch(_0x204b35['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0xcbb73e,_0x3d3e3c){_0xcbb73e['baseVersion']=null;for(const _0x405d27 in _0xcbb73e){const _0x139d0b=_0xcbb73e[_0x405d27];if(_0x139d0b instanceof gt){const _0xcdd7ad=_0x3d3e3c['get'](_0x139d0b['root']['rootName']);_0xcbb73e[_0x405d27]=this['_fixPosition'](_0x139d0b,_0xcdd7ad);}if(_0x139d0b instanceof vt){const _0x3c447b=_0x3d3e3c['get'](_0x139d0b['root']['rootName']);_0xcbb73e[_0x405d27]=this['_fixRange'](_0x139d0b,_0x3c447b);}'root'===_0x405d27&&(_0xcbb73e['root']=_0x3d3e3c['get'](_0xcbb73e['root']['rootName']));}}['_fixRange'](_0x3a6ec4,_0x2f0deb){return this['editor']['model']['createRange'](this['_fixPosition'](_0x3a6ec4['start'],_0x2f0deb),this['_fixPosition'](_0x3a6ec4['end'],_0x2f0deb));}['_fixPosition'](_0xbd7b70,_0x15cb6d){return this['editor']['model']['createPositionFromPath'](_0x15cb6d,_0xbd7b70['path'],_0xbd7b70['stickiness']);}['_handleInsertOperation'](_0x57d655){const _0x36daf3=this['_idsRoots']['get'](_0x57d655['position']['root']['rootName']),_0x937be=this['_fixPosition'](_0x57d655['position'],_0x36daf3),_0x1da077=null===_0x57d655['_authorId']?null:_0x57d655['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3c89ba=_0x937be['parent'],_0xbc19a5=this['_revisionId'],_0x48ab22=[];for(const _0x2111ae of _0x57d655['nodes'])if(_0x2111ae['is']('element'))_0x48ab22['push'](this['_makeIdsRoot'](_0x2111ae));else{for(let _0x373025=0x0;_0x373025<_0x2111ae['offsetSize'];_0x373025++)_0x48ab22['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x1853e4=this['_revisionId'];for(let _0x5d4b31=_0xbc19a5;_0x5d4b31<_0x1853e4;_0x5d4b31++)this['_touched']['set'](_0x5d4b31,{'userId':_0x1da077});_0x3c89ba['_insertChild'](_0x937be['offset'],_0x48ab22);}['_handleMoveOperation'](_0x149d67){(_0x149d67=this['_cloneOperation'](_0x149d67,this['_idsRoots']))['_execute']();const _0x249d08=null===_0x149d67['_authorId']?null:_0x149d67['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x45684a=_0x149d67['getMovedRangeStart'](),_0x133fe1=_0x45684a['parent'],_0x3c1854=_0x45684a['offset'];!function _0xd31e85(_0x5bdcd4,_0x2f75ce,_0x35f9bd,_0x4adfc7){for(let _0x168d1f=_0x35f9bd;_0x168d1f<_0x4adfc7;_0x168d1f++){const _0x198f07=_0x2f75ce['getChild'](_0x168d1f);_0x198f07['is']('element','$text')?_0x5bdcd4['set'](_0x198f07['getAttribute']('vid'),{'userId':_0x249d08}):(_0x5bdcd4['set'](_0x198f07['getAttribute']('vid_start'),{'userId':_0x249d08}),_0xd31e85(_0x5bdcd4,_0x198f07,0x0,_0x198f07['childCount']),_0x5bdcd4['set'](_0x198f07['getAttribute']('vid_end'),{'userId':_0x249d08}));}}(this['_touched'],_0x133fe1,_0x3c1854,_0x3c1854+_0x149d67['howMany']);}['_handleMergeOperation'](_0x2aca73){const _0x237f48=null===(_0x2aca73=this['_cloneOperation'](_0x2aca73,this['_idsRoots']))['_authorId']?null:_0x2aca73['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3672e3=_0x2aca73['targetPosition']['parent'],_0x5bbfb2=_0x2aca73['sourcePosition']['parent'],_0xd293da=_0x3672e3['getAttribute']('vid_end'),_0x53ab59=_0x5bbfb2['getAttribute']('vid_start');_0x3672e3['_setAttribute']('vid_end',_0x5bbfb2['getAttribute']('vid_end')),_0x5bbfb2['_setAttribute']('vid_end',_0xd293da),this['_touched']['set'](_0x53ab59,{'userId':_0x237f48}),this['_touched']['set'](_0xd293da,{'userId':_0x237f48}),_0x2aca73['_execute']();}['_handleSplitOperation'](_0x30ad61){const _0x4fbd68=null===(_0x30ad61=this['_cloneOperation'](_0x30ad61,this['_idsRoots']))['_authorId']?null:_0x30ad61['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xfd18b3=_0x30ad61['graveyardPosition'],_0x3e9a7f=_0x30ad61['splitPosition']['parent'];_0x30ad61['_execute']();const _0x44db8f=_0x3e9a7f['getAttribute']('vid_end'),_0x2b9bd6=_0x30ad61['insertionPosition']['nodeAfter'];if(_0xfd18b3){const _0x3f0f72=_0x2b9bd6['getAttribute']('vid_end'),_0x187067=_0x3e9a7f['getAttribute']('vid_end');_0x3e9a7f['_setAttribute']('vid_end',_0x3f0f72),_0x2b9bd6['_setAttribute']('vid_end',_0x187067),this['_touched']['set'](_0x3e9a7f['getAttribute']('vid_end'),{'userId':_0x4fbd68}),this['_touched']['set'](_0x2b9bd6['getAttribute']('vid_start'),{'userId':_0x4fbd68});}else{const _0x22cf62=this['_revisionId']++,_0x70c78b=this['_revisionId']++;_0x3e9a7f['_setAttribute']('vid_end',_0x22cf62),_0x2b9bd6['_setAttribute']('vid_start',_0x70c78b),_0x2b9bd6['_setAttribute']('vid_end',_0x44db8f),this['_touched']['set'](_0x22cf62,{'userId':_0x4fbd68}),this['_touched']['set'](_0x70c78b,{'userId':_0x4fbd68});}}['_handleMarkerOperation'](_0x2bfb7c){if(!_0x2bfb7c['affectsData'])return;const _0x414541=(_0x2bfb7c=this['_cloneOperation'](_0x2bfb7c,this['_diffRoots']))['oldRange']?_0x2bfb7c['oldRange']['root']:null,_0x7f6ece=_0x2bfb7c['newRange']?_0x2bfb7c['newRange']['root']:null;_0x414541&&this['_markers']['delete'](_0x2bfb7c['name']),_0x7f6ece&&this['_markers']['set'](_0x2bfb7c['name'],_0x2bfb7c['newRange']['clone']());const _0x1f6d6b=null===_0x2bfb7c['_authorId']?null:_0x2bfb7c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x536c1b=_0x2bfb7c['name'];if(!this['_touchedMarkers']['has'](_0x536c1b))return void this['_touchedMarkers']['set'](_0x536c1b,{'range':_0x2bfb7c['oldRange'],'userId':_0x1f6d6b});const _0x5dc096=this['_touchedMarkers']['get'](_0x536c1b),_0x279f6d=_0x5dc096['range'],_0x267a19=_0x2bfb7c['newRange'];null==_0x279f6d&&null==_0x267a19||_0x279f6d&&_0x267a19&&_0x279f6d['isEqual'](_0x267a19)?this['_touchedMarkers']['delete'](_0x2bfb7c['name']):_0x5dc096['userId']=_0x1f6d6b;}['_handleRootOperation'](_0x23d99d,_0x46871d){this['_diffRoots']['has'](_0x23d99d['rootName'])?this['_diffRoots']['get'](_0x23d99d['rootName'])['_isAttached']=_0x23d99d['isAdd']:(this['_diffRoots']['set'](_0x23d99d['rootName'],G(_0x23d99d['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x23d99d['rootName'],{}),_0x46871d&&this['_idsRoots']['set'](_0x23d99d['rootName'],G(_0x23d99d['rootName'],!0x0)));const _0x28db61=null===_0x23d99d['_authorId']?null:_0x23d99d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2143a9=this['_touchedRoots']['get'](_0x23d99d['rootName']);_0x2143a9&&_0x2143a9['userId']===_0x28db61?this['_touchedRoots']['delete'](_0x23d99d['rootName']):this['_touchedRoots']['set'](_0x23d99d['rootName'],{'userId':_0x28db61,'isAttached':_0x23d99d['isAdd']});}['_handleRootAttributeOperation'](_0x5e9f81){const _0x381264=this['_diffRootsAttributes']['get'](_0x5e9f81['root']['rootName']);null===_0x5e9f81['newValue']?delete _0x381264[_0x5e9f81['key']]:_0x381264[_0x5e9f81['key']]=_0x5e9f81['newValue'];}}function q(_0x9884ab){const _0x49bfc5=G(_0x9884ab['rootName'],_0x9884ab['isAttached']());for(const _0x44fec1 of _0x9884ab['getChildren']()){const _0x46dac0=_0x44fec1['_clone'](!0x0);_0x49bfc5['_appendChild'](_0x46dac0);}return _0x49bfc5;}function G(_0x1500e4,_0x2651f3=!0x0){const _0x521d3c=new wt();return _0x521d3c['rootName']=_0x1500e4,_0x521d3c['_isAttached']=_0x2651f3,_0x521d3c['isAttached']=()=>_0x521d3c['_isAttached'],_0x521d3c;}function L(_0x15f9f7,_0x185e44,_0x28ce99){const _0x504d75='elementEnd'==_0x15f9f7['type']?_0x28ce99['createPositionAt'](_0x15f9f7['item'],'end'):_0x28ce99['createPositionBefore'](_0x15f9f7['item']);return _0x28ce99['createPositionFromPath'](_0x185e44,_0x504d75['path'],_0x504d75['stickiness']);}function W(_0x5c7275,_0x20aafc,_0x5a2c6c){const _0x348019='elementStart'==_0x5c7275['type']?_0x5a2c6c['createPositionAt'](_0x5c7275['item'],0x0):_0x5a2c6c['createPositionAfter'](_0x5c7275['item']);return _0x5a2c6c['createPositionFromPath'](_0x20aafc,_0x348019['path'],_0x348019['stickiness']);}class ns extends _0x3abb94{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x1dc4c7,_0x45c15a){super(_0x1dc4c7),this['focusTracker']=new _0x229580(),this['keystrokes']=new _0x156d68(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x45c15a),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'](),_0x27b447({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3586de=_0x3524ce=>_0x3524ce['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3586de),this['keystrokes']['set']('arrowleft',_0x3586de),this['keystrokes']['set']('arrowup',_0x3586de),this['keystrokes']['set']('arrowdown',_0x3586de);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x53b805){this['revisionNameInputView']['fieldView']['element']['value']=_0x53b805['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x35b163){const _0x5d8bdb=new at(this['locale'],_0x5791de),_0x3dfef9=_0x5d8bdb['fieldView'];_0x3dfef9['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x68ac32=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x35b163&&(_0x68ac32+='\x20('+y(this['locale'],'optional')+')'),(_0x5d8bdb['label']=_0x68ac32,_0x3dfef9['on']('input',()=>{this['revisionNameInputValue']=_0x3dfef9['element']['value']['trim']();}),_0x5d8bdb);}}class u extends _0x42be7e{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x419c55=this['editor'],_0x3a6385=_0x419c55['plugins']['get']('RevisionTracker');_0x419c55['ui']['componentFactory']['add']('revisionHistory',_0x23863f=>{const _0x3b7d45=_0x2bb8dc(_0x23863f),_0x1bb7cc=_0x3b7d45['panelView']['children'],_0x26634f=new te(_0x23863f),_0x12f403=new _0x5ed86f(_0x23863f),_0x45b277=new _0x1e0c5f(_0x23863f),_0x23b911=new _0x5ed86f(_0x23863f),_0x4f5ecd=new _0x1e0c5f(_0x23863f);return _0x3b7d45['bind']('isEnabled')['to'](_0x3a6385,'isReady',_0x3a6385,'isEnabled',_0x419c55,'isReadOnly',(_0x2425a1,_0x569886,_0x2a6deb)=>_0x2425a1&&_0x569886&&!_0x2a6deb),_0x3b7d45['buttonView']['set']({'icon':_0x21e402['history'],'label':y(_0x23863f,'Revision\x20history'),'tooltip':!0x0}),_0x45b277['set']({'label':y(_0x23863f,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x45b277['bind']('isEnabled')['to'](_0x3a6385,'isReady',_0x3a6385,'isEnabled',_0x419c55,'isReadOnly',(_0x1297b0,_0x4ba41d,_0x160c0f)=>_0x1297b0&&_0x4ba41d&&!_0x160c0f),_0x45b277['on']('execute',()=>this['_showDialog']()),_0x4f5ecd['set']({'label':y(_0x23863f,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4f5ecd['bind']('isEnabled')['to'](_0x3a6385,'isReady',_0x419c55,'isReadOnly',(_0x21bc15,_0x1562d7)=>_0x21bc15&&!_0x1562d7),_0x4f5ecd['on']('execute',()=>{_0x419c55['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3b7d45['isOpen']=!0x1,_0x419c55['editing']['view']['focus']();}),_0x12f403['children']['add'](_0x45b277),_0x23b911['children']['add'](_0x4f5ecd),_0x26634f['role']='menu',_0x26634f['items']['addMany']([_0x12f403,_0x23b911]),_0x1bb7cc['add'](_0x26634f),_0x3b7d45;}),_0x419c55['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x5a6ddc=this['editor'],_0x50a264=_0x5a6ddc['locale'],_0x339567=new _0x476264(_0x50a264),_0x348067=new _0x3ec9c4(_0x50a264);_0x339567['buttonView']['set']({'icon':_0x21e402['history'],'label':y(_0x50a264,'Revision\x20history')});const _0x2e80eb=new _0x12ed7f(_0x50a264,_0x339567),_0x2f1847=new _0x3d0044(_0x50a264);_0x2f1847['set']({'label':y(_0x50a264,'Save\x20current\x20revision')}),_0x2f1847['delegate']('execute')['to'](_0x339567),_0x2f1847['on']('execute',()=>{this['_showDialog']();}),_0x2e80eb['children']['add'](_0x2f1847),_0x348067['items']['add'](_0x2e80eb);const _0x23f039=new _0x12ed7f(_0x50a264,_0x339567),_0xbab75c=new _0x3d0044(_0x50a264);return _0xbab75c['set']({'label':y(_0x50a264,'Open\x20revision\x20history')}),_0xbab75c['delegate']('execute')['to'](_0x339567),_0xbab75c['on']('execute',()=>{_0x5a6ddc['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x23f039['children']['add'](_0xbab75c),_0x348067['items']['add'](_0x23f039),_0x339567['panelView']['children']['add'](_0x348067),_0x339567;}['_showDialog'](){const _0x4d6b82=this['editor'],_0x216ffc=_0x4d6b82['locale'],t=_0x216ffc['t'],_0x43b17d=_0x4d6b82['plugins']['get']('Dialog'),_0x42b964=_0x4d6b82['plugins']['get']('RevisionTracker');function _0x4b3761(_0x24853a){_0x4d6b82['config']['get']('revisionHistory.requireRevisionName')&&''===_0x24853a['revisionName']?_0x24853a['revisionNameInputView']['errorText']=y(_0x216ffc,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x4d6b82['plugins']['get'](l)['saveRevision']({'name':_0x24853a['revisionName']}),_0x43b17d['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4b3761(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x43b17d['show']({'id':'revisionSave','title':y(_0x216ffc,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x43b17d['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x2ba5e3){_0x2ba5e3['bind']('isEnabled')['to'](_0x42b964,'isReady',_0x42b964,'isEnabled',_0x4d6b82,'isReadOnly',(_0xdc8f34,_0x3e7ec4,_0x3e6f67)=>_0xdc8f34&&_0x3e7ec4&&!_0x3e6f67);},'onExecute':()=>_0x4b3761(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x3ca1d0=this['editor'],_0x392fad=_0x3ca1d0['locale'];this['_saveRevisionFormView']=new ns(_0x392fad,_0x3ca1d0['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x3abb94{['changeId'];['_model'];constructor(_0x3fbae6,_0x3b07fb){super(_0x3fbae6),this['_model']=_0x3b07fb,this['changeId']=_0x3b07fb['id'];const _0x670fe0=this['bindTemplate'],_0xcb54d7=y(_0x3fbae6,_0x3b07fb['data']['isSuggestion']?'Suggested\x20by':'add'==_0x3b07fb['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x3b07fb['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x670fe0['to']('type',_0x4e9865=>'ck-revision-change__'+_0x4e9865)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0xcb54d7}]},{'text':'\x20'+_0x3b07fb['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x398c5a(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x20ab9a){super(),this['id']=_0x20ab9a['id']||_0x20aaca(),this['author']=_0x20ab9a['author'],this['type']=_0x20ab9a['type'],this['data']=_0x20ab9a['data']||{},this['rootName']=_0x20ab9a['rootName'],this['set']('createdAt',_0x20ab9a['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(_0x55152a,_0x461e9a){this['newRevisionId']=_0x55152a,this['oldRevisionId']=_0x461e9a,this['changes']=new _0x1374de();}['_setChanges'](_0x227da6){for(const _0x4fb8ee of _0x227da6)this['changes']['add'](_0x4fb8ee);}}const tt={'c':_0x2fb412,'a':_0xc1a6a8,'e':_0x1d2c1f,'r':_0x2c6139,'u':_0x42ce8d};class d extends _0x42be7e{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x5a5ad0,_0x1a573b,A];}constructor(_0x330ea9){super(_0x330ea9),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',(_0x25f9ee,_0x26e17b,_0x55827f)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x26b6f2=>{for(const _0x1ebbef of this['editor']['editing']['view']['document']['roots'])_0x55827f?_0x26b6f2['removeClass']('ck-editor__editable__overlay',_0x1ebbef):_0x26b6f2['addClass']('ck-editor__editable__overlay',_0x1ebbef);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x479f26=>null!==_0x479f26),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3d2926,_0x68fdbb,_0x310b69)=>_0x3d2926&&_0x310b69?_0x68fdbb['changes']['getIndex'](_0x310b69):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x36f9ae,_0x3fa3d9)=>_0x36f9ae?_0x3fa3d9['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x1a573b);}['init'](){const _0x45eb35=this['editor'],_0x173caa=new yt(_0x45eb35,{'direction':'backward'}),_0x32badf=new yt(_0x45eb35,{'direction':'forward'});(_0x45eb35['commands']['add']('showPreviousChange',_0x173caa),_0x45eb35['commands']['add']('showNextChange',_0x32badf),_0x45eb35['commands']['add']('restoreRevision',new bt(_0x45eb35)),this['on']('change:numberOfChanges',()=>{_0x173caa['refresh'](),_0x32badf['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x45eb35['enableReadOnlyMode']('revision-viewer'),_0x45eb35['plugins']['has']('WidgetToolbarRepository'))&&_0x45eb35['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x378077){await this['loadRevisionData'](_0x378077);const _0xb9ff23={};for(const _0x3f2f08 in _0x378077['diffData']){if(_0x378077['diffData'][_0x3f2f08]['attachChange']&&!_0x378077['diffData'][_0x3f2f08]['attachChange']['isAttached'])continue;const _0x37d3cb=this['_removeRevisionMarkers'](JSON['parse'](_0x378077['diffData'][_0x3f2f08]['insertions'])),_0x3ab6d7=this['editor']['editing']['view']['document'],_0x275912=new _0x9d9e1d(_0x3ab6d7,_0x37d3cb['map'](_0x1415b0=>this['_getViewObj'](_0x1415b0)));this['editor']['data']['processor']['useFillerType']('marked'),_0xb9ff23[_0x3f2f08]=this['editor']['data']['processor']['toData'](_0x275912),this['editor']['data']['processor']['useFillerType']('default');}return _0xb9ff23;}async['getRevisionRootsAttributes'](_0x53d8cd){await this['loadRevisionData'](_0x53d8cd);const _0xe8379b={};for(const _0x74ca1 in _0x53d8cd['diffData'])_0x53d8cd['diffData'][_0x74ca1]['attachChange']&&!_0x53d8cd['diffData'][_0x74ca1]['attachChange']['isAttached']||(_0xe8379b[_0x74ca1]=_0x53d8cd['diffData'][_0x74ca1]['attributesAfter']||{});return _0xe8379b;}['_removeRevisionMarkers'](_0x57c78b){return(_0x57c78b=_0x57c78b['filter'](_0x5b32a4=>!_0x5b32a4['name']||'revision-start'!==_0x5b32a4['name']&&'revision-end'!==_0x5b32a4['name']))['forEach'](_0x2c430b=>{'string'!=typeof _0x2c430b&&(_0x2c430b['children']=this['_removeRevisionMarkers'](_0x2c430b['children']),_0x2c430b['attributes']=_0x2c430b['attributes']['filter'](_0x5290d8=>!_0x5290d8[0x0]['startsWith']('data-revision-')));}),_0x57c78b;}async['compare'](_0x16808e,_0x31bedf,_0x1141a1=!0x1){if(!this['isEnabled'])return;const _0x373d01=this['diff'],_0x535cb7=this['repository'],_0x20c9b7='string'==typeof _0x16808e?_0x535cb7['getRevision'](_0x16808e):_0x16808e,_0x4c7e4f='string'==typeof _0x31bedf?_0x535cb7['getRevision'](_0x31bedf):_0x31bedf,_0x495bce=_0x20c9b7['id'],_0x13863b=_0x4c7e4f?_0x4c7e4f['id']:null;if(!_0x1141a1&&this['diff']&&this['diff']['newRevisionId']===_0x495bce&&this['diff']['oldRevisionId']===_0x13863b)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x495bce,_0x13863b);const _0x269235=this['_getRevisionsRange'](_0x20c9b7,_0x4c7e4f,!0x0)['map'](_0x5f0c25=>this['loadRevisionData'](_0x5f0c25));return _0x269235['push'](new Promise(_0x5d53eb=>{setTimeout(_0x5d53eb,0x14);})),Promise['all'](_0x269235)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x3c781d=this['_getDiff'](_0x495bce,_0x13863b);for(const _0x5cc05d of _0x3c781d['changes'])this['_changeIdToChange']['set'](_0x5cc05d['id'],_0x5cc05d);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4b61ce=>{for(const _0x5dac19 of this['editor']['model']['document']['getRootNames']())_0x4b61ce['detachRoot'](_0x5dac19);for(const _0x28f3b0 of Object['keys'](_0x3c781d['model'])){const _0x5784ca=_0x4b61ce['addRoot'](_0x28f3b0);for(const _0x418b12 of Object['keys'](_0x3c781d['attributes'][_0x28f3b0]))_0x4b61ce['setAttribute'](_0x418b12,_0x3c781d['attributes'][_0x28f3b0][_0x418b12],_0x5784ca);_0x4b61ce['insert'](_0x3c781d['model'][_0x28f3b0],_0x5784ca,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x3c781d['changes'])),this['isReady']=!0x0;})['catch'](_0x5bfad2=>{console['error'](_0x5bfad2),this['_cleanUp'](),_0x373d01&&(this['diff']=_0x373d01),this['isReady']=!0x0;});}['addRevisionData'](_0x29e39a,_0x38f1ef){const _0x10f076=this['repository']['createRevision'](_0x29e39a);return _0x10f076['on']('_update',(_0x573b3f,_0x1795d7,_0x2392b1)=>_0x38f1ef(_0x1795d7,_0x2392b1,_0x10f076)),this['repository']['addRevision'](_0x10f076),_0x10f076;}['loadRevisionData'](_0x111270){if(!_0x111270||_0x111270['diffData'])return Promise['resolve']();{const _0x2bcd8d=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2bcd8d,'revisionId':_0x111270['id']})['then'](_0x45ca40=>{_0x111270['_update']({'diffData':_0x45ca40['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},_0x2e4a61=>{for(const _0x5a633f of this['editor']['model']['document']['getRootNames']())_0x2e4a61['detachRoot'](_0x5a633f);});}['_sortAndFilterDiffChanges'](_0x45da69){const _0x52e1ed=[],_0x40c623=new Map();for(const _0x11a44d of this['editor']['model']['document']['getRootNames']()){const _0x4e09cf=this['editor']['editing']['view']['getDomRoot'](_0x11a44d);if(!_0x4e09cf)continue;const _0x3e0641=_0x4e09cf['getClientRects']()['item'](0x0);_0x3e0641&&(_0x52e1ed['push'](_0x11a44d),_0x40c623['set'](_0x11a44d,_0x3e0641));}return _0x52e1ed['sort']((_0x562014,_0x53d7a6)=>{const _0x35790a=_0x40c623['get'](_0x562014),_0x3495c7=_0x40c623['get'](_0x53d7a6);return _0x35790a['y']-_0x3495c7['y']||_0x35790a['x']-_0x3495c7['x'];}),(_0x45da69=_0x45da69['filter'](_0x49c5a7=>_0x52e1ed['includes'](_0x49c5a7['rootName'])))['sort']((_0x4b88cc,_0x581d44)=>_0x52e1ed['indexOf'](_0x4b88cc['rootName'])-_0x52e1ed['indexOf'](_0x581d44['rootName'])),_0x45da69;}['_makeTape'](_0x453773){const _0x3cf3a1=Array['from'](_0x453773['markers'])['filter'](([_0x211d9d,_0x495860])=>_0x211d9d['startsWith']('revision:')&&!_0x495860['isCollapsed']),_0x4545f6=Array['from'](this['editor']['model']['createRangeIn'](_0x453773)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3cf3a1['length'])for(const _0x59e27f of _0x4545f6){const [_0x309cc2,_0x503663]=_0x3cf3a1[0x0],[,_0xddefd,_0x55530f]=_0x309cc2['split'](':');if(_0x503663['end']['isEqual'](_0x59e27f['nextPosition'])&&_0x3cf3a1['shift'](),(_0x59e27f['previousPosition']['isEqual'](_0x503663['start'])||_0x59e27f['previousPosition']['isAfter'](_0x503663['start']))&&('insertion'==_0xddefd?_0x59e27f['isAdded']={'userId':_0x55530f}:'deletion'==_0xddefd&&(_0x59e27f['isRemoved']={'userId':_0x55530f})),0x0==_0x3cf3a1['length'])break;}return _0x4545f6;}['_refreshStartEndIndex'](_0x51a161){const _0x4594da=new Map();for(let _0x22ebb1=0x0;_0x22ebb1<_0x51a161['length'];_0x22ebb1++)'text'===_0x51a161[_0x22ebb1]['type']?(_0x51a161[_0x22ebb1]['item']['startIndex']=_0x22ebb1,_0x51a161[_0x22ebb1]['item']['endIndex']=_0x22ebb1):('elementStart'===_0x51a161[_0x22ebb1]['type']?_0x51a161[_0x22ebb1]['item']['startIndex']=_0x22ebb1:'elementEnd'===_0x51a161[_0x22ebb1]['type']&&(_0x51a161[_0x22ebb1]['item']['endIndex']=_0x22ebb1),_0x4594da['set'](_0x51a161[_0x22ebb1]['id'],_0x22ebb1));for(const _0x3c1ed1 of _0x4594da['values']())'elementStart'===_0x51a161[_0x3c1ed1]['type']?_0x51a161[_0x3c1ed1]['item']['endIndex']=_0x4594da['get'](_0x51a161[_0x3c1ed1]['pairId']):'elementEnd'===_0x51a161[_0x3c1ed1]['type']&&(_0x51a161[_0x3c1ed1]['item']['startIndex']=_0x4594da['get'](_0x51a161[_0x3c1ed1]['pairId']));}['_processTape'](_0x35180e){for(let _0x1671fb=0x0;_0x1671fb<_0x35180e['length'];_0x1671fb++){if('elementStart'===_0x35180e[_0x1671fb]['type'])_0x35180e[_0x1671fb]['item']['startIndex']=_0x1671fb;else{if('elementEnd'===_0x35180e[_0x1671fb]['type']){_0x35180e[_0x1671fb]['item']['endIndex']=_0x1671fb;const _0x466bb7=_0x35180e[_0x1671fb]['item']['startIndex'];_0x35180e[_0x466bb7]['pairId']=_0x35180e[_0x1671fb]['id'],_0x35180e[_0x1671fb]['pairId']=_0x35180e[_0x466bb7]['id'];}else _0x35180e[_0x1671fb]['item']['startIndex']=_0x1671fb,_0x35180e[_0x1671fb]['item']['endIndex']=_0x1671fb,_0x35180e[_0x1671fb]['pairId']=null;}_0x35180e[_0x1671fb]['markersStart']||(_0x35180e[_0x1671fb]['markersStart']=[],_0x35180e[_0x1671fb]['markersEnd']=[]);}}['_markInsertions'](_0x46c75d,_0x2f5a50){const _0x4d7383=_0x46c75d['filter'](_0x3ca7d8=>!_0x3ca7d8['isAdded']);for(let _0x2e0fea=0x0;_0x2e0fea<_0x2f5a50['length'];_0x2e0fea++)_0x2f5a50[_0x2e0fea]['isAdded']&&(_0x4d7383[_0x2e0fea]['isAdded']=_0x2f5a50[_0x2e0fea]['isAdded']);}['_makeModelFromViewString'](_0x161d2a){const _0x19f94b=JSON['parse'](_0x161d2a),_0x5d9845=this['editor']['editing']['view']['document'],_0x40630b=new _0x9d9e1d(_0x5d9845,_0x19f94b['map'](_0x211a64=>this['_getViewObj'](_0x211a64)));return this['editor']['data']['toModel'](_0x40630b);}['_getViewObj'](_0xb05f42){const _0x421638=this['editor']['editing']['view']['document'];if('string'==typeof _0xb05f42)return new _0x339ac2(_0x421638,_0xb05f42);{const _0x2da9c9=_0xb05f42['children']['map'](_0x108089=>this['_getViewObj'](_0x108089));return new(tt[_0xb05f42['type']]||_0x4bd183)(_0x421638,_0xb05f42['name'],_0xb05f42['attributes'],_0x2da9c9);}}['_getDiff'](_0x273567,_0x3a80b3=null){const _0x1b46a2=this['repository']['getRevision'](_0x273567),_0x10120a=_0x3a80b3?this['repository']['getRevision'](_0x3a80b3):null,_0x23c73b=this['_getRevisionsRange'](_0x1b46a2,_0x10120a),_0x144f23=_0x23c73b[_0x23c73b['length']-0x1],_0x157cb9=new Map(),_0x43e470={'model':{},'attributes':{},'changes':[]},_0x19628a=new Set(),_0x369e77=new Map();for(let _0x4a1e1b=_0x23c73b['length']-0x1;_0x4a1e1b>=0x0;_0x4a1e1b--){const _0x3c8fa4=_0x23c73b[_0x4a1e1b];for(const _0x1d6b32 of Object['keys'](_0x3c8fa4['diffData']))if(_0x3c8fa4['diffData'][_0x1d6b32]['attachChange']){const _0x2b2f24=_0x3c8fa4['diffData'][_0x1d6b32]['attachChange'];_0x2b2f24['isAttached']?(_0x19628a['add'](_0x1d6b32),_0x369e77['has'](_0x1d6b32)&&_0x369e77['get'](_0x1d6b32)['userId']==_0x2b2f24['userId']?_0x369e77['delete'](_0x1d6b32):_0x369e77['set'](_0x1d6b32,_0x2b2f24)):_0x369e77['has'](_0x1d6b32)?(_0x19628a['delete'](_0x1d6b32),_0x369e77['delete'](_0x1d6b32)):(_0x19628a['add'](_0x1d6b32),_0x369e77['set'](_0x1d6b32,_0x2b2f24));}else _0x19628a['add'](_0x1d6b32);}for(const _0x363d4c of _0x19628a){const _0x56d53a=_0x369e77['has'](_0x363d4c)&&!_0x369e77['get'](_0x363d4c)['isAttached'];let _0x461279=_0x56d53a?_0x23c73b['length']-0x1:0x0;const _0x3b7694=_0x56d53a?-0x1:0x1;for(;_0x23c73b[_0x461279];){const _0x162f65=_0x23c73b[_0x461279];if(_0x162f65['diffData'][_0x363d4c]){const _0x400bda=_0x56d53a?_0x162f65['diffData'][_0x363d4c]['attributesBefore']:_0x162f65['diffData'][_0x363d4c]['attributesAfter'];_0x43e470['attributes'][_0x363d4c]=_0x400bda?_0x5aa866(_0x400bda):{};break;}_0x461279+=_0x3b7694;}}for(const _0x40aa6b of _0x23c73b){_0x40aa6b['model']={};for(const _0x4fd684 of _0x40aa6b['authors'])_0x157cb9['set'](_0x4fd684['id'],_0x4fd684);for(const _0x4a0452 of _0x19628a){const _0x5b7343=_0x40aa6b['diffData'][_0x4a0452]?_0x40aa6b['diffData'][_0x4a0452]['insertions']:'[]',_0x4d1d25=_0x40aa6b['diffData'][_0x4a0452]?_0x40aa6b['diffData'][_0x4a0452]['deletions']:'[]';_0x40aa6b['model'][_0x4a0452]={'insertions':this['_makeModelFromViewString'](_0x5b7343),'deletions':this['_makeModelFromViewString'](_0x4d1d25)};}}for(const _0x4b8786 of _0x19628a){let _0x2e5951=null,_0x1c9453=0x0;const _0x256da7=new Map(Array['from'](_0x1b46a2['model'][_0x4b8786]['insertions']['markers'])['filter'](([_0x4030f7])=>!_0x4030f7['startsWith']('revision:')));let _0x20fbe9=0x0;for(const _0x58761d of _0x23c73b){const _0x4428e3=this['_makeTape'](_0x58761d['model'][_0x4b8786]['insertions']);_0x58761d==_0x1b46a2?(_0x2e5951=_0x4428e3,_0x1c9453=_0x2e5951['length'],_0x2e5951['forEach'](_0x3e38fd=>{_0x3e38fd['id']=_0x20fbe9++;}),this['_processTape'](_0x2e5951)):this['_markInsertions'](_0x2e5951,_0x4428e3);const _0x4b977b=_0x2e5951['filter'](_0x261f8f=>!_0x261f8f['isAdded'])['map'](_0x443ac0=>_0x443ac0['id']);let _0x35f90c=0x0;const _0x53dd50=this['_makeTape'](_0x58761d['model'][_0x4b8786]['deletions']);_0x53dd50['forEach'](_0x16242f=>{_0x16242f['isRemoved']?_0x16242f['id']=_0x1c9453++:_0x16242f['id']=_0x4b977b[_0x35f90c++];}),this['_processTape'](_0x53dd50),this['_setDistance'](_0x2e5951,'isAdded'),this['_setDistance'](_0x53dd50,'isRemoved'),_0x58761d==_0x1b46a2&&this['_markMarkers'](_0x2e5951,_0x256da7),_0x2e5951=this['_joinTapes'](_0x2e5951,_0x53dd50),this['_refreshStartEndIndex'](_0x2e5951),this['_setDistance'](_0x2e5951,'isRemoved');}_0x2e5951=_0x2e5951['filter'](_0x36746f=>!(_0x36746f['isAdded']&&_0x36746f['isRemoved']));const _0x126164=new Map(_0x144f23['model'][_0x4b8786]['deletions']['markers']),_0xe6804a=new Set(_0x256da7['keys']());for(const _0x18a072 of _0x126164['keys']())_0xe6804a['delete'](_0x18a072);this['_markSuggestions'](_0x2e5951,_0xe6804a),this['_fixObsoleteTags'](_0x2e5951),_0x2e5951=this['_removeMissingPairs'](_0x2e5951),_0x2e5951=this['_markMismatchedRemovedTags'](_0x2e5951),_0x2e5951=this['_removeUnsupportedChanges'](_0x2e5951);const {root:_0x385be6,changes:_0x20f654}=this['_makeModelFromTape'](_0x2e5951,_0x157cb9,_0x4b8786);_0x43e470['model'][_0x4b8786]=_0x385be6;const _0x5283c2=_0x369e77['get'](_0x4b8786);if(_0x5283c2){const _0x490805=_0x157cb9['get'](_0x5283c2['userId']),_0x539f60=new r({'author':_0x490805,'type':_0x5283c2['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x4b8786});_0x20f654['unshift'](_0x539f60),_0x43e470['attributes'][_0x4b8786]['revisionHistoryAttachChange']=_0x539f60['id'];}_0x43e470['changes']=_0x43e470['changes']['concat'](_0x20f654);}return _0x43e470;}['_markMarkers'](_0x1c96a9,_0x5367e1){for(let _0x32e9fd=0x0;_0x32e9fd<_0x1c96a9['length'];_0x32e9fd++)for(const [_0x2a33e8,_0xfd9b75]of _0x5367e1)_0xfd9b75['start']['isEqual'](_0x1c96a9[_0x32e9fd]['previousPosition'])&&_0x1c96a9[_0x32e9fd]['markersStart']['push'](_0x2a33e8),_0xfd9b75['end']['isEqual'](_0x1c96a9[_0x32e9fd]['nextPosition'])&&_0x1c96a9[_0x32e9fd]['markersEnd']['push'](_0x2a33e8);}['_joinTapes'](_0x41e728,_0x25e847){let _0x3c7c28=[],_0x3e1a3f=0x0,_0x5dfccd=0x0;for(;_0x3e1a3f<_0x41e728['length']||_0x5dfccd<_0x25e847['length'];){const _0x43993c=_0x41e728[_0x3e1a3f]||{},_0x2c3a46=_0x25e847[_0x5dfccd]||{};if(_0x43993c['id']==_0x2c3a46['id'])_0x3e1a3f++,_0x5dfccd++,_0x3c7c28['push'](_0x43993c);else{if(_0x2c3a46['isRemoved']&&_0x43993c['isAdded']){const {commonTape:_0x3a9c10,iEnd:_0x2d8620,jEnd:_0x2ca757}=this['_threeWayMerge'](_0x41e728,_0x3e1a3f,_0x25e847,_0x5dfccd);_0x3c7c28=_0x3c7c28['concat'](_0x3a9c10),_0x3e1a3f=_0x2d8620,_0x5dfccd=_0x2ca757;}else _0x2c3a46['isRemoved']?(_0x5dfccd++,_0x3c7c28['push'](_0x2c3a46)):(_0x3e1a3f++,_0x3c7c28['push'](_0x43993c));}}return _0x3c7c28;}['_markSuggestions'](_0x4801e5,_0x3b9388){const _0x4348c6=[];for(let _0x12665e=0x0;_0x12665e<_0x4801e5['length'];_0x12665e++){for(let _0x236e86=0x0;_0x236e86<_0x4801e5[_0x12665e]['markersStart']['length'];_0x236e86++){const _0x3f22bf=_0x4801e5[_0x12665e]['markersStart'][_0x236e86];if(!_0x3b9388['has'](_0x3f22bf))continue;const {group:_0x5dd079,type:_0x278d12,authorId:_0x3ee12b}=_0x49690e(_0x3f22bf);'revision-suggestion'!=_0x5dd079||'insertion'!=_0x278d12&&'deletion'!=_0x278d12||(_0x4348c6['unshift']({'type':_0x278d12,'name':_0x3f22bf,'userId':_0x3ee12b}),_0x4801e5[_0x12665e]['markersStart']['splice'](_0x236e86,0x1),_0x236e86--);}_0x351cd8(_0x4801e5[_0x12665e]);for(let _0x4786d7=0x0;_0x4786d7<_0x4801e5[_0x12665e]['markersEnd']['length'];_0x4786d7++){const _0x2318d4=_0x4801e5[_0x12665e]['markersEnd'][_0x4786d7];if(!_0x3b9388['has'](_0x2318d4))continue;const {group:_0x273a72,type:_0xca1e9}=_0x49690e(_0x2318d4);if('revision-suggestion'!=_0x273a72||'insertion'!=_0xca1e9&&'deletion'!=_0xca1e9)continue;_0x4801e5[_0x12665e]['markersEnd']['splice'](_0x4786d7,0x1),_0x4786d7--;const _0x64a8c0=_0x4348c6['findIndex'](_0x1dde4a=>_0x1dde4a['name']==_0x2318d4);_0x64a8c0>-0x1&&_0x4348c6['splice'](_0x64a8c0,0x1);}}function _0x49690e(_0x2aa2c7){const _0x315d5a=_0x2aa2c7['split'](':');return{'group':_0x315d5a[0x0],'type':_0x315d5a[0x1],'subType':_0x315d5a['length']>=0x5?_0x315d5a[0x2]:null,'id':_0x315d5a['length']<0x5?_0x315d5a[0x2]:_0x315d5a[0x3],'authorId':_0x315d5a['length']<0x5?_0x315d5a[0x3]:_0x315d5a[0x4],'markerCount':0x6==_0x315d5a['length']?_0x315d5a[0x5]:null};}function _0x351cd8(_0x36166c){for(let _0x1abacb=0x0;_0x1abacb<_0x4348c6['length'];_0x1abacb++){if(_0x36166c['isAdded']&&'insertion'==_0x4348c6[_0x1abacb]['type'])return _0x36166c['isAddSuggestion']=_0x4348c6[_0x1abacb],void delete _0x36166c['isAdded'];if(!_0x36166c['isAdded']&&!_0x36166c['isRemoved']&&'deletion'==_0x4348c6[_0x1abacb]['type'])return void(_0x36166c['isRemoveSuggestion']=_0x4348c6[_0x1abacb]);}}}['_setDistance'](_0x52a3ff,_0x21f409){let _0x438bc7=0x0,_0x4ddb03=!0x1;const _0x34285=new Map();for(const _0xa599f8 of _0x52a3ff)_0xa599f8[_0x21f409]?_0x4ddb03&&(_0x438bc7++,_0x4ddb03=!0x1):(_0x438bc7++,_0x4ddb03=!0x0),_0x34285['set'](_0xa599f8['id'],_0x438bc7);for(let _0x1fd40e=0x0;_0x1fd40e<_0x52a3ff['length'];_0x1fd40e++){if('isRemoved'==_0x21f409&&_0x52a3ff[_0x1fd40e]['isAdded']||'isAdded'==_0x21f409&&_0x52a3ff[_0x1fd40e]['isRemoved'])continue;if('text'==_0x52a3ff[_0x1fd40e]['type']){_0x52a3ff[_0x1fd40e]['distance']=0x0;continue;}const _0x44c7d5=_0x34285['get'](_0x52a3ff[_0x1fd40e]['pairId']),_0x1d4ea9=_0x34285['get'](_0x52a3ff[_0x1fd40e]['id']);_0x52a3ff[_0x1fd40e]['distance']=_0x44c7d5-_0x1d4ea9;}}['_getRevisionsRange'](_0x5ae2cd,_0x445b38,_0x5cbed3=!0x1){const _0x3268c1=[];let _0x4db6d4=this['repository']['getIndex'](_0x5ae2cd),_0x1ce0b7=this['repository']['getIndex'](_0x445b38);for(-0x1==_0x1ce0b7&&(_0x1ce0b7=this['repository']['_revisions']['length'],_0x5cbed3=!0x1);_0x4db6d4<_0x1ce0b7;)_0x3268c1['push'](this['repository']['getRevision'](_0x4db6d4)),_0x4db6d4++;return _0x5cbed3&&_0x3268c1['push'](this['repository']['getRevision'](_0x4db6d4)),_0x3268c1;}['_threeWayMerge'](_0x263a88,_0x1cdf9d,_0x29426d,_0x3d9b9b){const _0x41a98d=this['editor']['model']['schema'];let _0xc16837=_0x1cdf9d;for(;_0x263a88[_0xc16837]&&_0x263a88[_0xc16837]['isAdded'];)_0xc16837++;let _0x2ab1ac=_0x3d9b9b;for(;_0x29426d[_0x2ab1ac]&&_0x29426d[_0x2ab1ac]['isRemoved'];)_0x2ab1ac++;_0x3a562f(_0x263a88,_0x1cdf9d,_0xc16837),_0x3a562f(_0x29426d,_0x3d9b9b,_0x2ab1ac);const _0x4a4821=_0x29426d['slice'](_0x3d9b9b,_0x2ab1ac)['concat'](_0x263a88['slice'](_0x1cdf9d,_0xc16837));return _0x4a4821['sort']((_0x50a8e6,_0x41e6ef)=>_0x50a8e6['side']!=_0x41e6ef['side']?_0x50a8e6['side']-_0x41e6ef['side']:_0x50a8e6['level']!=_0x41e6ef['level']?_0x50a8e6['level']-_0x41e6ef['level']:_0x50a8e6['distance']!=_0x41e6ef['distance']?_0x41e6ef['distance']-_0x50a8e6['distance']:!!_0x50a8e6['isAdded']!=!!_0x41e6ef['isAdded']?-0x1==_0x50a8e6['side']||0x0==_0x50a8e6['side']?_0x50a8e6['isAdded']?-0x1:0x1:_0x50a8e6['isAdded']?0x1:-0x1:_0x50a8e6['index']-_0x41e6ef['index']),{'commonTape':_0x4a4821,'iEnd':_0xc16837,'jEnd':_0x2ab1ac};function _0x3a562f(_0x4809e8,_0x2ec1cb,_0x3da68d){let _0x45b567=-0x1,_0x4f5af3=Number['POSITIVE_INFINITY'],_0xb50f8c=!0x0;for(let _0x54698c=_0x2ec1cb;_0x54698c<_0x3da68d;_0x54698c++)if(_0x41a98d['isInline'](_0x4809e8[_0x54698c]['item'])||(_0xb50f8c=!0x1),_0x4809e8[_0x54698c]['item']['startIndex']<_0x2ec1cb&&(_0x45b567=_0x54698c),_0x4809e8[_0x54698c]['item']['endIndex']>=_0x3da68d){_0x4f5af3=_0x54698c;break;}_0xb50f8c&&(_0x45b567=_0x3da68d-0x1);for(let _0x14e5ec=_0x2ec1cb;_0x14e5ec<_0x3da68d;_0x14e5ec++)_0x4809e8[_0x14e5ec]['side']=_0x14e5ec<=_0x45b567?-0x1:_0x14e5ec<_0x4f5af3?0x0:0x1,_0x4809e8[_0x14e5ec]['index']=_0x14e5ec;let _0x3ce2c7=0x0;for(let _0x49b760=_0x2ec1cb;_0x49b760<=_0x45b567;_0x49b760++)0x0==_0x4809e8[_0x49b760]['distance']?_0x4809e8[_0x49b760]['level']=_0x3ce2c7:(_0x3ce2c7++,_0x4809e8[_0x49b760]['level']=_0x3ce2c7,_0x3ce2c7++);for(let _0x51af91=_0x2ec1cb;_0x51af91<_0x3da68d;_0x51af91++)0x0==_0x4809e8[_0x51af91]['side']&&(_0x4809e8[_0x51af91]['level']=_0x3ce2c7);_0x3ce2c7=0x0;for(let _0xdd60fd=_0x3da68d-0x1;_0xdd60fd>=_0x4f5af3;_0xdd60fd--)0x0==_0x4809e8[_0xdd60fd]['distance']?_0x4809e8[_0xdd60fd]['level']=_0x3ce2c7:(_0x3ce2c7--,_0x4809e8[_0xdd60fd]['level']=_0x3ce2c7,_0x3ce2c7--);}}['_fixObsoleteTags'](_0x3b4b8a){const _0x3f6e9f=new Map(),_0x4be4c4=this['editor']['model']['schema'];for(let _0x80a1d9=0x1;_0x80a1d9<_0x3b4b8a['length'];_0x80a1d9++){let _0x238fec,_0x2bdcf2,_0x428e0f;const _0x12b5cd=_0x3b4b8a[_0x80a1d9],_0x29d5bc=_0x3b4b8a[_0x80a1d9-0x1];if('text'==_0x12b5cd['type'])continue;if(_0x12b5cd['type']!=_0x29d5bc['type'])continue;if(!_0x4be4c4['isBlock'](_0x29d5bc['item'])||_0x4be4c4['isLimit'](_0x29d5bc['item']))continue;if(!_0x4be4c4['isBlock'](_0x12b5cd['item'])||_0x4be4c4['isLimit'](_0x12b5cd['item']))continue;if((_0x3b4b8a[_0x80a1d9]['isAdded']||_0x3b4b8a[_0x80a1d9]['isAddSuggestion'])&&_0x3b4b8a[_0x80a1d9-0x1]['isRemoved'])_0x238fec=_0x3b4b8a[_0x80a1d9],_0x2bdcf2=_0x3b4b8a[_0x80a1d9-0x1],_0x428e0f=_0x80a1d9-0x1;else{if(!_0x3b4b8a[_0x80a1d9]['isRemoved']||!_0x3b4b8a[_0x80a1d9-0x1]['isAdded']&&!_0x3b4b8a[_0x80a1d9-0x1]['isAddSuggestion'])continue;_0x238fec=_0x3b4b8a[_0x80a1d9-0x1],_0x2bdcf2=_0x3b4b8a[_0x80a1d9],_0x428e0f=_0x80a1d9;}const _0x3a5dc7=_0x238fec['level']==_0x2bdcf2['level'],_0x5f5471=Math['abs'](_0x238fec['level'])<Math['abs'](_0x2bdcf2['level'])&&0x0==_0x2bdcf2['distance'];(_0x3a5dc7||_0x5f5471)&&(_0x3f6e9f['set'](_0x2bdcf2['id'],_0x238fec['id']),_0x3b4b8a['splice'](_0x428e0f,0x1),_0x80a1d9--,_0x238fec['isAdded']=!0x1);}for(let _0x11fdf5=0x0;_0x11fdf5<_0x3b4b8a['length'];_0x11fdf5++)_0x3f6e9f['has'](_0x3b4b8a[_0x11fdf5]['pairId'])&&(_0x3b4b8a[_0x11fdf5]['pairId']=_0x3f6e9f['get'](_0x3b4b8a[_0x11fdf5]['pairId']));}['_removeMissingPairs'](_0x19ec69){const _0x1d543b=new Set(_0x19ec69['map'](_0x34b038=>_0x34b038['id']));for(let _0x54f7ce=0x0;_0x54f7ce<_0x19ec69['length'];_0x54f7ce++)_0x1d543b['has'](_0x19ec69[_0x54f7ce]['pairId'])||0x0==_0x19ec69[_0x54f7ce]['distance']||(_0x19ec69[_0x54f7ce]['isIncorrect']=!0x0);return _0x19ec69['filter'](_0xc77cb4=>!_0xc77cb4['isIncorrect']);}['_markMismatchedRemovedTags'](_0x431947){const _0x431a80=new Set();for(let _0x563b9a=0x0;_0x563b9a<_0x431947['length'];_0x563b9a++){if(_0x431a80['has'](_0x431947[_0x563b9a]['id'])&&_0x431947[_0x563b9a]['isRemoved']&&(_0x431947[_0x563b9a]['isIncorrect']=!0x0),_0x431947[_0x563b9a]['isIncorrect'])continue;if(0x0==_0x431947[_0x563b9a]['distance'])continue;if('elementStart'!=_0x431947[_0x563b9a]['type'])continue;if(null==_0x431947[_0x563b9a]['pairId'])continue;let _0x2ef9f4=_0x563b9a+0x1,_0xb054b0=0x0;for(;_0x431947[_0x2ef9f4]['id']!=_0x431947[_0x563b9a]['pairId'];)'elementStart'==_0x431947[_0x2ef9f4]['type']?_0xb054b0++:'elementEnd'==_0x431947[_0x2ef9f4]['type']&&_0xb054b0--,_0x2ef9f4++;if(0x0!=_0xb054b0){if(_0x431947[_0x563b9a]['isRemoved'])_0x431947[_0x563b9a]['isIncorrect']=!0x0;else{for(;_0x2ef9f4!=_0x563b9a;)_0x431947[_0x2ef9f4]['isRemoved']&&0x0!=_0x431947[_0x2ef9f4]['distance']&&(_0x431947[_0x2ef9f4]['isIncorrect']=!0x0,_0x431a80['add'](_0x431947[_0x2ef9f4]['pairId'])),_0x2ef9f4--;}}}return _0x431947['filter'](_0x124b65=>!_0x124b65['isIncorrect']);}['_removeUnsupportedChanges'](_0x514232){const _0x4ac9c2=this['editor']['model']['schema'];for(let _0x2d5e29=0x0;_0x2d5e29<_0x514232['length'];_0x2d5e29++){if(!(_0x514232[_0x2d5e29]['isAdded']||_0x514232[_0x2d5e29]['isAddSuggestion']||_0x514232[_0x2d5e29]['isRemoved']||_0x514232[_0x2d5e29]['isRemoveSuggestion']))continue;if(0x0==_0x514232[_0x2d5e29]['distance'])continue;const _0x4ec181=_0x514232[_0x2d5e29]['item'];_0x4ac9c2['isBlock'](_0x4ec181)||_0x4ac9c2['isLimit'](_0x4ec181)||(_0x514232[_0x2d5e29]['isAdded']&&delete _0x514232[_0x2d5e29]['isAdded'],_0x514232[_0x2d5e29]['isAddSuggestion']&&delete _0x514232[_0x2d5e29]['isAddSuggestion'],_0x514232[_0x2d5e29]['isRemoveSuggestion']&&delete _0x514232[_0x2d5e29]['isRemoveSuggestion'],_0x514232[_0x2d5e29]['isRemoved']&&(_0x514232[_0x2d5e29]['isIncorrect']=!0x0));}return _0x514232['filter'](_0x3e4ead=>!_0x3e4ead['isIncorrect']);}['_makeModelFromTape'](_0x1811fb,_0x2f2ee3,_0x524c2a){const _0x3698dc=new wt(),_0x86ddeb=[],_0x12e564=new Map(),_0x3bc862=this['editor']['model'],_0x1ba715=_0x3bc862['schema'],_0x2377d7=[_0x3698dc],_0x493698={},_0x15b37c={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4401f8=null;const _0x42bdb6=[0x0];for(let _0x32e5dd=0x0;_0x32e5dd<_0x1811fb['length'];_0x32e5dd++){let _0x5d9b60,_0xad905a;if('elementStart'===_0x1811fb[_0x32e5dd]['type']){_0x5d9b60=_0x3bc862['createPositionFromPath'](_0x3698dc,_0x42bdb6);const _0x3557a2=new ft(_0x1811fb[_0x32e5dd]['item']['name'],_0x1811fb[_0x32e5dd]['item']['getAttributes']());_0x2377d7[0x0]['_appendChild'](_0x3557a2),_0x42bdb6['push'](0x0),_0x2377d7['unshift'](_0x3557a2),_0xad905a=_0x3bc862['createPositionFromPath'](_0x3698dc,_0x42bdb6),_0x4401f8=null;}else{if('elementEnd'===_0x1811fb[_0x32e5dd]['type'])_0x2377d7['shift'](),_0x5d9b60=_0x3bc862['createPositionFromPath'](_0x3698dc,_0x42bdb6),_0x42bdb6['pop'](),_0x42bdb6[_0x42bdb6['length']-0x1]++,_0xad905a=_0x3bc862['createPositionFromPath'](_0x3698dc,_0x42bdb6),_0x4401f8=null;else{if(_0x5d9b60=_0x3bc862['createPositionFromPath'](_0x3698dc,_0x42bdb6),_0x4401f8&&_0x140e13(_0x4401f8,_0x1811fb[_0x32e5dd]['item']))_0x4401f8['_data']+=_0x1811fb[_0x32e5dd]['item']['data'];else{const _0x1b00c8=new _t(_0x1811fb[_0x32e5dd]['item']['data'],_0x1811fb[_0x32e5dd]['item']['getAttributes']());_0x2377d7[0x0]['_appendChild'](_0x1b00c8),_0x4401f8=_0x1b00c8;}_0x42bdb6[_0x42bdb6['length']-0x1]+=_0x1811fb[_0x32e5dd]['item']['offsetSize'],_0xad905a=_0x3bc862['createPositionFromPath'](_0x3698dc,_0x42bdb6);}}for(const _0x5ec35b of _0x1811fb[_0x32e5dd]['markersStart'])_0x12e564['set'](_0x5ec35b,{'start':_0x5d9b60,'end':null});_0x96130a('isRemoveSuggestion',_0x32e5dd,_0x5d9b60,_0xad905a),_0x96130a('isAddSuggestion',_0x32e5dd,_0x5d9b60,_0xad905a),_0x96130a('isRemoved',_0x32e5dd,_0x5d9b60,_0xad905a),_0x96130a('isAdded',_0x32e5dd,_0x5d9b60,_0xad905a);for(const _0x14e7fa of _0x1811fb[_0x32e5dd]['markersEnd']){_0x12e564['get'](_0x14e7fa)['end']=_0xad905a;}}for(const [_0x297607,_0x3d375e]of _0x12e564){const _0x410dbe=this['editor']['model']['createRange'](_0x3d375e['start'],_0x3d375e['end']);_0x3698dc['markers']['set'](_0x297607,_0x410dbe);}return _0x86ddeb['sort']((_0x47b4ce,_0x75b268)=>{const _0x1ec0b9=_0x3698dc['markers']['get']('revision:'+_0x47b4ce['id']),_0x26101a=_0x3698dc['markers']['get']('revision:'+_0x75b268['id']);return _0x1ec0b9['start']['isBefore'](_0x26101a['start'])?-0x1:_0x1ec0b9['start']['isAfter'](_0x26101a['start'])?0x1:_0x1ec0b9['end']['isBefore'](_0x26101a['end'])?-0x1:_0x1ec0b9['end']['isAfter'](_0x26101a['end'])?0x1:'add'===_0x47b4ce['type']?-0x1:0x1;}),{'root':_0x3698dc,'changes':_0x86ddeb};function _0x96130a(_0x4f2b45,_0x4077cb,_0x16ea8e,_0x126ffb){const _0x3dfaa8=!!_0x1811fb[_0x4077cb][_0x4f2b45],_0x4f32c5=_0x3dfaa8?_0x1811fb[_0x4077cb][_0x4f2b45]['userId']:null,_0x186bce=_0x4077cb===_0x1811fb['length']-0x1,_0x24ca05=_0x15b37c[_0x4f2b45][0x0],_0x1fa92d=_0x1ba715['isObject'](_0x1811fb[_0x4077cb]['item']);!_0x493698[_0x4f2b45]&&_0x3dfaa8?_0x493698[_0x4f2b45]={'start':_0x16ea8e,'tapeItem':_0x1811fb[_0x4077cb],'userId':_0x4f32c5,'type':_0x4f2b45}:_0x493698[_0x4f2b45]&&!_0x3dfaa8?(_0x493698[_0x4f2b45]['end']=_0x16ea8e,_0x4c4f63(_0x493698[_0x4f2b45]),_0x493698[_0x4f2b45]=null):_0x493698[_0x4f2b45]&&_0x3dfaa8&&_0x493698[_0x4f2b45]['userId']!==_0x4f32c5&&(_0x493698[_0x4f2b45]['end']=_0x16ea8e,_0x24ca05&&_0x24ca05['userId']===_0x493698[_0x4f2b45]['userId']||_0x4c4f63(_0x493698[_0x4f2b45]),_0x493698[_0x4f2b45]={'start':_0x16ea8e,'tapeItem':_0x1811fb[_0x4077cb],'userId':_0x4f32c5,'type':_0x4f2b45}),_0x493698[_0x4f2b45]&&_0x1fa92d&&('elementStart'!==_0x1811fb[_0x4077cb]['type']||_0x24ca05&&_0x24ca05['userId']===_0x4f32c5||_0x15b37c[_0x4f2b45]['unshift']({'userId':_0x4f32c5,'object':_0x1811fb[_0x4077cb]['item'],'change':_0x493698[_0x4f2b45]}),'elementEnd'===_0x1811fb[_0x4077cb]['type']&&_0x24ca05&&_0x24ca05['object']===_0x1811fb[_0x4077cb]['item']&&(_0x15b37c[_0x4f2b45]['shift'](),_0x493698[_0x4f2b45]=_0x24ca05['change'])),_0x493698[_0x4f2b45]&&_0x186bce&&(_0x493698[_0x4f2b45]['end']=_0x126ffb,_0x4c4f63(_0x493698[_0x4f2b45]),_0x493698[_0x4f2b45]=null);}function _0x4c4f63({start:_0x30acc3,end:_0x11f4be,tapeItem:_0x5191a7,userId:_0x4dbbbd,type:_0x3f6ff6}){const _0x5053de=_0x5191a7['item'],_0x4d74b8=_0x3bc862['schema']['isBlock'](_0x5053de)&&!_0x3bc862['schema']['isLimit'](_0x5053de),_0x317363=_0x30acc3['nodeAfter']==_0x11f4be['parent']&&_0x11f4be['isAtStart'];if(_0x4d74b8&&_0x317363)return;const _0x110a72=_0x3bc862['createRange'](_0x30acc3,_0x11f4be),_0x4560a8=_0x2f2ee3['get'](_0x4dbbbd),_0x4fb55e=new r({'author':_0x4560a8,'type':'isAdded'==_0x3f6ff6||'isAddSuggestion'==_0x3f6ff6?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x3f6ff6||'isRemoveSuggestion'==_0x3f6ff6},'createdAt':new Date(),'rootName':_0x524c2a});_0x86ddeb['push'](_0x4fb55e),_0x3698dc['markers']['set']('revision:'+_0x4fb55e['id'],_0x110a72);}function _0x140e13(_0x20f098,_0xe4a1f0){const _0x103e3f=_0x20f098['getAttributes'](),_0x2c5873=_0xe4a1f0['getAttributes']();for(const _0x3cc8e7 of _0x103e3f){if(_0x3cc8e7[0x1]!==_0xe4a1f0['getAttribute'](_0x3cc8e7[0x0]))return!0x1;_0x2c5873['next']();}return _0x2c5873['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x2806db=>{const _0x423583=_0x2806db['markerName']['split'](':')[0x1],_0xd97660=this['_getChangeFromId'](_0x423583);if(!_0xd97660)return null;const _0x1b2fe5='add'==_0xd97660['type']?'insertion':'deletion',_0x292979=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1b2fe5];return _0xd97660['data']['isSuggestion']&&_0x292979['push']('ck-suggestion-marker-'+_0x1b2fe5+'-new'),this['activeChange']==_0xd97660&&_0x292979['push']('ck-suggestion-marker--active'),{'classes':_0x292979,'attributes':{'data-change-id':_0x423583}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x111f97=>{_0x111f97['on']('element:pre',(_0x4ce699,_0x10727f,_0x29f198)=>{const _0x1796ad=_0x10727f['viewItem']['getChild'](0x0);if(!_0x1796ad||!_0x1796ad['is']('element','code'))return;if(!_0x29f198['consumable']['consume'](_0x1796ad,{'attributes':['vid_start','vid_end']}))return;const _0x4d2382=_0x10727f['modelRange']['start']['nodeAfter'];_0x29f198['writer']['setAttribute']('vid_start',_0x1796ad['getAttribute']('vid_start'),_0x4d2382),_0x29f198['writer']['setAttribute']('vid_end',_0x1796ad['getAttribute']('vid_end'),_0x4d2382);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x214632=>{_0x214632['on']('element',(_0x41fc89,_0x327681,_0x5134be)=>{if(!_0x5134be['consumable']['consume'](_0x327681['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x327681['modelRange']['isCollapsed'])return;const _0x1a100a=_0x327681['modelRange']['start']['nodeAfter'];_0x1a100a['hasAttribute']('vid_start')||_0x1a100a['hasAttribute']('vid')||(_0x5134be['writer']['setAttribute']('vid_start',_0x327681['viewItem']['getAttribute']('vid_start'),_0x1a100a),_0x5134be['writer']['setAttribute']('vid_end',_0x327681['viewItem']['getAttribute']('vid_end'),_0x1a100a));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x430333=>_0x430333['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x477e73,[,_0x2fb9bc])=>{['vid_start','vid_end','vid']['includes'](_0x2fb9bc)&&(_0x477e73['return']=!0x0,_0x477e73['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x5b79ae=>{_0x5b79ae['on']('attribute:vid',(_0x4b714a,_0x102d91,_0x58eb56)=>{if('\x20'!=_0x102d91['item']['data']||_0x102d91['item']['parent']['maxOffset']>0x1)return;if(!_0x58eb56['consumable']['consume'](_0x102d91['item'],_0x4b714a['name']))return;const _0x21291f=_0x58eb56['writer'],_0x490ffa=_0x58eb56['mapper']['toViewRange'](_0x102d91['range']);_0x21291f['wrap'](_0x490ffa,_0x21291f['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x34b5e0){const _0x33126f=_0x34b5e0['plugins']['get']('RevisionViewer');return(_0x29e1e9,_0x28f679,_0x4fc774)=>{const _0x10acef=_0x28f679['markerName']['split'](':')[0x1],_0x56954f=_0x33126f['_getChangeFromId'](_0x10acef);if(!_0x56954f)return null;const _0x562022='add'==_0x56954f['type']?'split':'merge';if(!_0x4fc774['consumable']['test'](_0x28f679['markerRange'],_0x29e1e9['name']))return;const _0x2bdb9b=_0x28f679['markerRange']['getWalker'](),_0x2c3d17=_0x28f679['markerRange']['start'],_0x162157=_0x34b5e0['model']['schema'];let _0x17a642=null,_0x23c6af=null,_0x4fd8c4=!0x1,_0x561244=!0x1;for(const _0xdd235b of _0x2bdb9b){const _0x2f2365=_0xdd235b['item'];_0x4fd8c4=_0x4fd8c4||_0x162157['isContent'](_0x2f2365);const _0x4e7e07=_0x4fc774['mapper']['toViewElement'](_0x2f2365);if(_0x4e7e07&&_0x4e7e07['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xdd235b['type']&&(_0x162157['isBlock'](_0x2f2365)&&!_0x162157['isLimit'](_0x2f2365)&&(_0x2f2365['nextSibling']||_0x2c3d17['isAtEnd']?_0x17a642&&_0x17a642['parent']==_0x2f2365||(_0x17a642=_0x2f2365,_0x544b1c(_0xdd235b['previousPosition']),_0x561244=!0x0):_0x23c6af=_0x23c6af||_0xdd235b['previousPosition']));}function _0x544b1c(_0x4d72be){const _0x143528=_0x4fc774['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x562022}),_0x355eb9=_0x4fc774['mapper']['toViewPosition'](_0x4d72be);_0x56954f['data']['isSuggestion']&&_0x4fc774['writer']['addClass']('ck-suggestion-marker-'+_0x562022+'-new',_0x143528),_0x33126f['activeChange']==_0x56954f&&_0x4fc774['writer']['addClass']('ck-suggestion-marker--active',_0x143528),_0x4fc774['writer']['insert'](_0x355eb9,_0x143528),_0x4fc774['mapper']['bindElementToMarker'](_0x143528,_0x28f679['markerName']);}_0x4fd8c4||_0x561244||!_0x23c6af||_0x544b1c(_0x23c6af);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x20cfb1,_0x461409,_0x281330)=>{const _0x587cec=_0x281330['mapper']['markerNameToElements'](_0x461409['markerName']);if(_0x587cec){for(const _0x505bc4 of _0x587cec)(_0x505bc4['hasClass']('ck-suggestion-marker-split')||_0x505bc4['hasClass']('ck-suggestion-marker-merge'))&&(_0x281330['mapper']['unbindElementFromMarkerName'](_0x505bc4,_0x461409['markerName']),_0x281330['writer']['remove'](_0x505bc4));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x3c56b2,_0x19ea91,_0x248eb7)=>{const _0xf5d4ac=_0x19ea91['markerName']['split'](':')[0x1],_0x314092=this['_getChangeFromId'](_0xf5d4ac);if(!_0x314092)return null;const _0x69a646='add'==_0x314092['type']?'split':'merge';if(_0x248eb7['consumable']['test'](_0x19ea91['markerRange'],_0x3c56b2['name']))for(const _0x271f87 of _0x19ea91['markerRange']['getItems']()){if(!_0x271f87['is']('element','softBreak'))continue;const _0x234e6a=_0x248eb7['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x69a646}),_0x1c1aca=_0x248eb7['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x271f87));_0x314092['data']['isSuggestion']&&_0x248eb7['writer']['addClass']('ck-suggestion-marker-'+_0x69a646+'-new',_0x234e6a),this['activeChange']==_0x314092&&_0x248eb7['writer']['addClass']('ck-suggestion-marker--active',_0x234e6a),_0x248eb7['writer']['insert'](_0x1c1aca,_0x234e6a),_0x248eb7['mapper']['bindElementToMarker'](_0x234e6a,_0x19ea91['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x2f14b6=>{for(const _0x20eb84 of this['editor']['model']['document']['getRootNames']()){const _0x4a99fc=this['editor']['model']['document']['getRoot'](_0x20eb84),_0x392bf6=this['editor']['editing']['view']['document']['getRoot'](_0x20eb84);if(_0x392bf6){const _0x12bebd=_0x4a99fc['getAttribute']('revisionHistoryAttachChange');if(_0x2f14b6['removeAttribute']('data-change-id',_0x392bf6),_0x2f14b6['removeClass']('ck-revision-history-root-add',_0x392bf6),_0x2f14b6['removeClass']('ck-revision-history-root-remove',_0x392bf6),_0x2f14b6['removeClass']('ck-revision-history-root--active',_0x392bf6),_0x12bebd){const _0x4f2e4e=this['_getChangeFromId'](_0x12bebd);if(!_0x4f2e4e)return null;_0x2f14b6['setAttribute']('data-change-id',_0x12bebd,_0x392bf6),_0x2f14b6['addClass']('ck-revision-history-root-'+_0x4f2e4e['type'],_0x392bf6),this['activeChange']==_0x4f2e4e&&_0x2f14b6['addClass']('ck-revision-history-root--active',_0x392bf6);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x9aaca=>'revision-comment:'+_0x9aaca,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x166463=>'revision-suggestion:'+_0x166463,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0xf87a18=>({'name':'suggestion:'+_0xf87a18,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x2bf319=>{const _0x50eaa4=_0x2bf319['markerName']['split'](':')[0x1];return'insertion'!=_0x50eaa4&&'deletion'!=_0x50eaa4?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x50eaa4]};}}),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',(_0x4a09cc,_0x16a16a,_0x29514e)=>{const _0x375e1b=_0x29514e['mapper']['markerNameToElements'](_0x16a16a['markerName']);if(_0x375e1b){for(const _0x31dc02 of _0x375e1b)_0x31dc02['is']('uiElement')&&(_0x29514e['mapper']['unbindElementFromMarkerName'](_0x31dc02,_0x16a16a['markerName']),_0x29514e['writer']['remove'](_0x31dc02));}},{'priority':'high'});}['_getChangeFromId'](_0x48d4c4){return this['_changeIdToChange']['get'](_0x48d4c4);}['_getViewForChange'](_0x5cbf41){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x5cbf41),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x472a3c,_0x3019c4,_0x3afe58,_0x1eee94)=>{_0x1eee94&&this['_balloon']['remove'](_0x1eee94),_0x3afe58&&(this['_balloon']['add']({'view':_0x3afe58,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x28cb16=this['editor']['editing'],_0x56849e=this['_getChangeFromId'](_0x3afe58['changeId']);let _0x5466f7;if(_0x56849e['data']['isOnRoot']){const _0xd7cf7e=_0x28cb16['view']['getDomRoot'](_0x56849e['rootName']);_0x5466f7=Array['from'](_0xd7cf7e['getClientRects']());}else{const _0x37ebbd=this['editor']['model']['markers']['get']('revision:'+_0x3afe58['changeId']);_0x5466f7=Array['from'](_0x28cb16['mapper']['markerNameToElements'](_0x37ebbd['name']))['map'](_0x51b97a=>_0x28cb16['view']['domConverter']['mapViewToDom'](_0x51b97a))['map'](_0x21b24=>Array['from'](_0x21b24['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x5466f7[0x0];return _0x5466f7['find'](_0x5650e8=>_0x5650e8['top']-0x3<=this['_activeViewTarget']['y']&&_0x5650e8['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5650e8['left']-0x3<=this['_activeViewTarget']['x']&&_0x5650e8['right']+0x3>=this['_activeViewTarget']['x'])||_0x5466f7[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x307c5e,_0x404da2,_0x4345fa,_0x87de41)=>{this['activeView']=_0x4345fa?this['_getViewForChange'](_0x4345fa):null,this['editor']['model']['change'](()=>{const _0x4af92d=this['editor']['editing'];_0x87de41&&(_0x87de41['data']['isOnRoot']?_0x4af92d['view']['change'](_0x210bb1=>{_0x210bb1['removeClass']('ck-revision-history-root--active',_0x4af92d['view']['document']['getRoot'](_0x87de41['rootName']));}):_0x4af92d['reconvertMarker']('revision:'+_0x87de41['id'])),_0x4345fa&&(_0x4345fa['data']['isOnRoot']?_0x4af92d['view']['change'](_0x549846=>{_0x549846['addClass']('ck-revision-history-root--active',_0x4af92d['view']['document']['getRoot'](_0x4345fa['rootName']));}):_0x4af92d['reconvertMarker']('revision:'+_0x4345fa['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x20707b,_0x36276b)=>{if(this['activeChange'])return;const _0x2748fa=this['_findChangeIdFromDomTarget'](_0x36276b['target']),_0x18f14b=this['_changeIdToChange']['get'](_0x2748fa);_0x18f14b?(this['_activeViewTarget']={'x':_0x36276b['domEvent']['x'],'y':_0x36276b['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x18f14b)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x4cff28,_0x402eb3)=>{const _0x1a8388=this['_findChangeIdFromDomTarget'](_0x402eb3['target']),_0x3d3d8a=this['_changeIdToChange']['get'](_0x1a8388);_0x3d3d8a?(this['_activeViewTarget']={'x':_0x402eb3['domEvent']['x'],'y':_0x402eb3['domEvent']['y']},_0x3d3d8a===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x3d3d8a):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x5f317a){do{const _0x225b5d=_0x5f317a['getAttribute']('data-change-id');if(_0x225b5d)return _0x225b5d;_0x5f317a=_0x5f317a['parent'];}while(_0x5f317a);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x30f002=>{for(const _0x2ec832 of this['editor']['model']['markers'])_0x30f002['removeMarker'](_0x2ec832);});}}function et(_0x9eb54e,_0x13847a){return(_0x16882c,_0x4d006b,_0x23e6e8)=>{if(!_0x23e6e8['consumable']['test'](_0x4d006b['markerRange'],_0x16882c['name']))return;const _0x5e3d4a=_0x4d006b['markerRange']['getWalker'](),_0x256f7c=_0x4d006b['markerRange']['start'],_0x450fb6=_0x9eb54e['model']['schema'];let _0x3405dc=null,_0x48ea99=null,_0x5d937a=!0x1,_0x90e753=!0x1;for(const _0x5d60ca of _0x5e3d4a){const _0x1bc844=_0x5d60ca['item'];_0x5d937a=_0x5d937a||_0x450fb6['isContent'](_0x1bc844);const _0x5aacea=_0x23e6e8['mapper']['toViewElement'](_0x1bc844);if(_0x5aacea&&_0x5aacea['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x5d60ca['type']&&(_0x450fb6['isBlock'](_0x1bc844)&&!_0x450fb6['isLimit'](_0x1bc844)&&(_0x1bc844['nextSibling']||_0x256f7c['isAtEnd']?_0x3405dc&&_0x3405dc['parent']==_0x1bc844||(_0x3405dc=_0x1bc844,_0x4ae578(_0x5d60ca['previousPosition']),_0x90e753=!0x0):_0x48ea99=_0x48ea99||_0x5d60ca['previousPosition']));}function _0x4ae578(_0x19a84e){const _0x1b0e18=_0x23e6e8['mapper']['toViewPosition'](_0x19a84e),_0x492ee0=_0x23e6e8['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x13847a});_0x23e6e8['writer']['insert'](_0x1b0e18,_0x492ee0),_0x23e6e8['mapper']['bindElementToMarker'](_0x492ee0,_0x4d006b['markerName']);}_0x5d937a||_0x90e753||!_0x48ea99||_0x4ae578(_0x48ea99);};}class bt extends _0x31c9d7{constructor(_0x575163){super(_0x575163);const _0x1fce38=_0x575163['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x1fce38,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x1fce38,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x3fbf94=this['editor'],_0x5d327e=_0x3fbf94['plugins']['get'](d),_0x56f0e0=_0x5d327e['isReady']?_0x5d327e['diff']['newRevisionId']:null;_0x3fbf94['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x56f0e0);}['refresh'](){const {isReady:_0x261468,isEnabled:_0x3ce27f}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x261468&&_0x3ce27f;}}class yt extends _0x31c9d7{['_step'];constructor(_0x516db4,{direction:_0x118c27}){super(_0x516db4);const _0x2e17dc=_0x516db4['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x118c27?0x1:-0x1,this['listenTo'](_0x2e17dc,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2e17dc,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2e17dc,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x59e35a=this['editor'],_0x3bd3c8=_0x59e35a['plugins']['get'](d),{isNavigationMode:_0x48240f,currentChangeNumber:_0x4680c6}=_0x3bd3c8;let _0x5d7f72;if(_0x3bd3c8['activeChange']=_0x48240f?_0x3bd3c8['diff']['changes']['get'](_0x4680c6+this['_step']):_0x3bd3c8['diff']['changes']['first'],_0x3bd3c8['activeChange']['data']['isOnRoot'])_0x5d7f72=_0x59e35a['editing']['view']['getDomRoot'](_0x3bd3c8['activeChange']['rootName']);else{const _0x8f1c17=_0x59e35a['model']['markers']['get']('revision:'+_0x3bd3c8['activeChange']['id']);_0x5d7f72=_0x3932a3(_0x59e35a['editing'],_0x8f1c17);}_0x2f0589({'target':_0x5d7f72,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x454b2b,currentChangeNumber:_0x75690a,numberOfChanges:_0x44a9d4,isReady:_0x51d222,isEnabled:_0x1f0006}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x1f0006&&_0x51d222&&_0x44a9d4)&&(!_0x454b2b||(0x1===this['_step']?_0x75690a<_0x44a9d4-0x1:_0x75690a>0x0));}}class _i extends _0x3abb94{constructor(_0xa2dcc0){super(_0xa2dcc0);const _0x2a9543=this['bindTemplate'],_0x3c9d4f=new _0x1e0c5f(_0xa2dcc0),_0x4ec60e=new _0x1e0c5f(_0xa2dcc0);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',(_0xc95478,_0x191e11)=>_0xc95478&&_0x191e11>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x5c2e26,_0x2f1dc9,_0x9302e5,_0x14c658)=>{if(!_0x5c2e26)return y(_0xa2dcc0,'Loading...');if(!_0x9302e5)return y(_0xa2dcc0,'No\x20changes');const _0x3a613e=y(_0xa2dcc0,'NUMBER_OF_CHANGES',_0x9302e5);return _0x14c658?y(_0xa2dcc0,'X_OF_Y_CHANGES',[_0x2f1dc9+0x1,_0x9302e5]):_0x3a613e;}),_0x3c9d4f['set']({'label':y(_0xa2dcc0,'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'}),_0x4ec60e['set']({'label':y(_0xa2dcc0,'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'}),_0x3c9d4f['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x4ec60e['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x3c9d4f['on']('execute',()=>this['fire']('execute','backward')),_0x4ec60e['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',_0x2a9543['if']('_isStatusLabelVisible','ck-hidden',_0x481edd=>!_0x481edd)]},'children':[{'text':_0x2a9543['to']('isNavigationMode',_0x589e57=>_0x589e57?y(_0xa2dcc0,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0xa2dcc0,'Total')+':\x20')}]},{'text':_0x2a9543['to']('_statusText')}]},new _0x546b65(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x3c9d4f,_0x4ec60e]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x42be7e{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x502251=this['editor']['editing']['view'];_0x502251['change'](_0xcff935=>{for(const _0xefde73 of _0x502251['document']['roots'])_0xcff935['addClass'](ce,_0xefde73);});}['hide'](){const _0x364534=this['editor']['editing']['view'];_0x364534['change'](_0x2999a9=>{for(const _0x50762d of _0x364534['document']['roots'])_0x2999a9['removeClass'](ce,_0x50762d);});}}class R extends _0x42be7e{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x5c185e=this['editor'],_0x222ceb=_0x5c185e['plugins']['get'](d),_0x347674=_0x5c185e['plugins']['get'](de);_0x5c185e['ui']['componentFactory']['add']('exitToEditing',_0x2cb1e9=>{const _0x123301=new _0x1e0c5f(_0x2cb1e9);return _0x123301['set']({'label':y(_0x2cb1e9,'Back\x20to\x20editing'),'icon':_0x21e402['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x123301,'execute',()=>{_0x5c185e['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x123301;}),_0x5c185e['ui']['componentFactory']['add']('restoreRevision',_0x583561=>{const _0x188712=new _0x1e0c5f(_0x583561);return _0x188712['set']({'label':y(_0x583561,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x188712['bind']('isEnabled')['to'](_0x5c185e['commands']['get']('restoreRevision')),this['listenTo'](_0x188712,'execute',()=>_0x5c185e['execute']('restoreRevision')),_0x188712;}),_0x5c185e['ui']['componentFactory']['add']('changesNavigation',_0x13bbe0=>{const _0x535809=new _i(_0x13bbe0),_0x1172cf=_0x5c185e['commands']['get']('showPreviousChange'),_0x3e59be=_0x5c185e['commands']['get']('showNextChange');return _0x535809['bind']('isBackwardNavigationEnabled')['to'](_0x1172cf,'isEnabled'),_0x535809['bind']('isForwardNavigationEnabled')['to'](_0x3e59be,'isEnabled'),_0x535809['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x222ceb),this['listenTo'](_0x535809,'execute',(_0x2f7925,_0x6d7053)=>{_0x5c185e['execute']('forward'===_0x6d7053?'showNextChange':'showPreviousChange');}),_0x535809;}),_0x347674['show'](),_0x222ceb['on']('change:isReady',(_0x5602b1,_0x15eb45,_0x46f5e5)=>{_0x46f5e5?_0x347674['hide']():_0x347674['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x38f5eb,_0x4e5b7e){super(_0x38f5eb,_0x4e5b7e);const _0x3b4452=this['bindTemplate'];this['set']({'label':y(_0x38f5eb,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x38f5eb,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3b4452['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 _0x3332f5=this['fieldView']['element'];this['_tooltipString']=_0x3332f5['scrollWidth']>_0x3332f5['clientWidth']&&_0x3332f5['value']||'';}}class ti extends _0x3abb94{constructor(_0x288d6e,_0x49aca7,_0x5898a9){super(_0x288d6e);const _0x4eb66b=new _0x48bc8c();_0x4eb66b['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 _0x18eb46=['ck','ck-revision-history-sidebar__revision-author'];_0x5898a9&&_0x18eb46['push']('ck-revision-history-sidebar__revision-author_creator');const _0x5d8adf=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x288d6e,_0x5898a9?'Revision\x20creator':'Revision\x20author')},'children':[_0x4eb66b,_0x49aca7['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x18eb46},'children':_0x5d8adf});}}function ni(_0x34d7b6,_0x14c272){const _0x2a42f4=_0x34d7b6['bindTemplate'],_0x21efe6=_0x34d7b6['locale'],_0x5966b8=_0x2bb8dc(_0x21efe6);_0x5966b8['panelPosition']='sw';const _0x373d97=function(_0x1710a7,_0x464c91){const _0x2f22c9=function(_0x16663f,_0x175e77){const _0x502cff=_0x16663f['locale'],_0x442f26={'Compare\x20against\x20selected':y(_0x502cff,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x502cff,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x502cff,'Restore\x20this\x20revision')};return _0x175e77['map'](_0x3a88a6=>{const _0x2cf03a=_0x442f26[_0x3a88a6['name']];return _0x2cf03a&&_0x2cf03a!==_0x3a88a6['name']&&(_0x3a88a6['name']=_0x2cf03a),_0x3a88a6;});}(_0x1710a7,_0x464c91),_0x3a479b=new _0x1374de();for(const _0x1e3ba9 of _0x2f22c9){const _0x1613ed={'type':'button','model':new to({'label':_0x1e3ba9['name'],'class':_0x1e3ba9['class'],'withText':!0x0,'role':'menuitem','_action':_0x1e3ba9['action']})};_0x1613ed['model']['bind']('isEnabled')['to'](_0x1710a7,'isActionsDropdownOpen',_0x17b36c=>'function'!=typeof _0x1e3ba9['isEnabled']||(!_0x17b36c||_0x1e3ba9['isEnabled'](_0x1710a7))),_0x3a479b['add'](_0x1613ed);}return _0x3a479b;}(_0x34d7b6,_0x14c272);return _0x34d7b6['bind']('isActionsDropdownOpen')['to'](_0x5966b8,'isOpen'),_0x5966b8['buttonView']['set']({'label':y(_0x21efe6,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x21e402['threeVerticalDots']}),_0x5966b8['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x2a42f4['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x2a42f4['to'](_0x285bdd=>_0x285bdd['stopPropagation']())}}),_0x5966b8['on']('execute',_0x495b73=>{_0x34d7b6['isReady']&&'function'==typeof _0x495b73['source']['_action']&&_0x495b73['source']['_action'](_0x34d7b6);}),_0x354762(_0x5966b8,_0x373d97,{'role':'menu'}),_0x5966b8['listenTo'](_0x34d7b6,'change:isActionsDropdownOpen',(_0x185940,_0x2a46e4,_0x510c12)=>{if(_0x510c12)for(const _0xe3f557 of _0x5966b8['listView']['items']){const _0x56614c=_0xe3f557['children']['first'],_0x31aed9=_0x14c272['find'](_0x461448=>_0x461448['action']===_0x56614c['_action'])['isVisible'];_0xe3f557['isVisible']=void 0x0===_0x31aed9||_0x31aed9(_0x34d7b6);}}),_0x5966b8;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x3e8ef8(_0x3abb94){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x4197b5,_0x472051,_0x52056e,_0x1c0676){super(_0x4197b5);const _0x547449=this['bindTemplate'],_0x4bcdd5=function(_0x1c7c80,_0x2681b8){const _0x7fe397=Array['from'](_0x2681b8['authors'])['filter'](_0x36b33d=>_0x36b33d!=_0x2681b8['creator']);return _0x2681b8['creator']&&_0x7fe397['unshift'](_0x2681b8['creator']),_0x7fe397['map'](_0x3a1af6=>new ti(_0x1c7c80,_0x3a1af6,_0x3a1af6==_0x2681b8['creator']));}(_0x4197b5,_0x472051);this['id']=_0x472051['id'],this['_revision']=_0x472051,this['_requireRevisionName']=_0x1c0676,this['bind']('name','createdAt')['to'](_0x472051),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x950c61=>{return _0x219a2d=_0x4197b5['uiLanguage'],(_0x2d2809=_0x950c61)['toLocaleDateString'](_0x219a2d,{'month':'long','day':'numeric'})+',\x20'+_0x2d2809['toLocaleTimeString'](_0x219a2d,{'hour':'numeric','minute':'numeric'});var _0x219a2d,_0x2d2809;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x4197b5,_0x5791de),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x28b673=>_0x28b673||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x5389a8,_0x4563ed)=>_0x5389a8&&_0x4563ed),this['revisionActionsView']=_0x52056e&&_0x52056e['length']?ni(this,_0x52056e):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x547449['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x547449['if']('isEnabled','ck-disabled',_0x271a3b=>!_0x271a3b),_0x547449['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x547449['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x547449['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':_0x547449['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':_0x4bcdd5}]},this['revisionActionsView']],'on':{'click':_0x547449['to'](_0x556702=>{_0x556702['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x14e50b=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x14e50b,'change',()=>{this['_requireRevisionName']&&!_0x14e50b['value']||this['fire']('setName',{'id':this['id'],'name':_0x14e50b['value']}),_0x14e50b['value']||(_0x14e50b['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(_0x34f7a5,_0x463c11){const _0xb8000d=_0x34f621['fromJSDate'](_0x34f7a5)['setLocale'](_0x463c11),_0x9e57b0=_0x34f621['local'](),_0x5443cc=_0x9e57b0['minus']({'days':0x1})['startOf']('day');let _0x1fd1e0,_0x542385;return _0xb8000d['hasSame'](_0x9e57b0,'day')?(_0x1fd1e0=_0xb8000d['startOf']('day')['toJSDate'](),_0x542385=_0xb8000d['toRelativeCalendar']()):_0xb8000d['hasSame'](_0x5443cc,'day')?(_0x1fd1e0=_0x5443cc['toJSDate'](),_0x542385=_0xb8000d['toRelativeCalendar']()):_0xb8000d['hasSame'](_0x9e57b0,'week')?(_0x1fd1e0=_0xb8000d['startOf']('week')['toJSDate'](),_0x542385=_0xb8000d['weekdayLong']||''):_0xb8000d['hasSame'](_0x9e57b0,'year')?(_0x1fd1e0=_0xb8000d['startOf']('month')['toJSDate'](),_0x542385=_0xb8000d['monthLong']||''):(_0x1fd1e0=_0xb8000d['startOf']('year')['toJSDate'](),_0x542385=String(_0xb8000d['year'])),{'startDate':_0x1fd1e0,'localizedPeriodName':_0x542385};}class mi extends _0x3abb94{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x42c2db,_0x2bd942,_0x31ee6b,_0x3cc702){super(_0x42c2db);const _0x40ffe4=di(_0x2bd942,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x2bd942,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x31ee6b,this['_requireRevisionName']=_0x3cc702,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':_0x40ffe4}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x10a672){const _0x110289=new ai(this['locale'],_0x10a672,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x110289);}['removeRevision'](_0xf5e821){const _0x137f68=this['revisionViews']['find'](_0x3f44ab=>_0x3f44ab['id']===_0xf5e821['id']);this['revisionViews']['remove'](_0x137f68);}}class as extends _0x3abb94{constructor(_0x181907){super(_0x181907);const _0xf23392=new _0x48bc8c();_0xf23392['content']=_0x21e402['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0xf23392,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x181907,'Revision\x20history')]}]});}}class ci extends _0x3abb94{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x167ef4,_0x270dcd,_0x2f203c,_0x12e7ca){super(_0x167ef4);const _0xeee56f=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x270dcd,this['_revisionActions']=_0x2f203c,this['_requireRevisionName']=_0x12e7ca,this['on']('select',(_0x22b102,_0x391dd8)=>{this['fire']('revisionSelected',_0x391dd8);}),this['on']('setName',(_0x3b581e,_0x212156)=>{this['fire']('revisionSetName',_0x212156);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x167ef4),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0xeee56f['if']('isEnabled','ck-disabled',_0x309b77=>!_0x309b77)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x1968c3 of this['_revisions'])this['_addRevision'](_0x1968c3);this['_revisions']['on']('add',(_0x50aa9e,_0x2d2c44)=>{this['_addRevision'](_0x2d2c44);}),this['_revisions']['on']('remove',(_0x1747b4,_0xbf8ad4)=>{this['_removeRevision'](_0xbf8ad4);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5d52c0=>_0x5d52c0['revisionViews']['map'](_0x34f619=>_0x34f619))['flat']();}['selectRevision'](_0x322e12){for(const _0x508b29 of this['revisionViews'])_0x322e12&&_0x322e12['id']===_0x508b29['id']?_0x508b29['select']():_0x508b29['deselect']();}['highlightRevisions'](_0xdf5211){for(const _0x48f4ce of this['revisionViews'])_0xdf5211['some'](({id:_0x2f568b})=>_0x2f568b===_0x48f4ce['id'])?_0x48f4ce['highlight']():_0x48f4ce['unhighlight']();}['_addRevision'](_0x57a09e){const _0x53b409=di(_0x57a09e['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x5d3cfc=this['timePeriodViews']['get'](0x0);_0x5d3cfc&&_0x5d3cfc['startDate']['getTime']()===_0x53b409['getTime']()||(_0x5d3cfc=new mi(this['locale'],_0x53b409,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x5d3cfc)),_0x5d3cfc['addRevision'](_0x57a09e);}['_removeRevision'](_0x335be2){const _0x1acdcc=di(_0x335be2['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1acdcc)['removeRevision'](_0x335be2);}['_getTimePeriodViewByStartDate'](_0x3bacf0){return this['timePeriodViews']['find'](_0x38450b=>_0x38450b['startDate']['getTime']()===_0x3bacf0['getTime']());}}class w extends _0x42be7e{['_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(_0x417527){super(_0x417527),this['_revisionViewer']=_0x417527['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x4ed8d9=this['_revisionsRepository']['_revisions'],_0x4909eb=this['_createRevisionActions'](),_0x5c8a41=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x4ed8d9,_0x4909eb,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',(_0x357478,_0x42e794)=>{_0x42e794['revisionViews']['on']('add',(_0x2e5f71,_0x443490)=>{_0x443490['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)),_0x5c8a41['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x2d0361=this['_revisionsRepository']['getRevision'](0x0);if(_0x2d0361){const _0x370d6a=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2d0361['id']);this['_revisionViewer']['compare'](_0x2d0361,_0x370d6a);}}['_handleRevisionSelected'](_0x451591,_0x4f08ce){const _0x10e1db=this['_revisionsRepository']['getRevision'](_0x4f08ce['id']),_0x303072=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x10e1db['id']);this['_revisionViewer']['compare'](_0x10e1db,_0x303072);}['_handleRevisionSetName'](_0x19c167,_0x1633eb){this['_revisionsRepository']['getRevision'](_0x1633eb['id'])['setName'](_0x1633eb['name']);}['_handleDiffChange'](_0x8c8c65,_0x735359,_0x37d348){const _0x54426d=this['_revisionsRepository']['getRevisionsInDiff'](_0x37d348);_0x54426d['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x54426d),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x54426d[0x0]));}['_createRevisionActions'](){const _0x149103=this['editor'],_0x554807=w['availableRevisionActions'],_0x33b67c=_0x149103['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x33b67c['length'])return _0x33b67c['map'](_0x1c8d02=>{const _0x345c1b='string'==typeof _0x1c8d02?Object['assign']({},_0x554807[_0x1c8d02]):_0x1c8d02;return _0x345c1b['action']=_0x345c1b['action']['bind'](this,_0x149103),_0x345c1b['isVisible']&&(_0x345c1b['isVisible']=_0x345c1b['isVisible']['bind'](this,_0x149103)),_0x345c1b;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x2792dd},_0x330d2d)=>{const _0x4fd35f=_0x2792dd['get'](d),_0x3f3e57=_0x4fd35f['repository'];let _0x2b292c=_0x4fd35f['diff']['newRevisionId'],_0x43650b=_0x330d2d['id'];_0x3f3e57['getIndex'](_0x2b292c)>_0x3f3e57['getIndex'](_0x43650b)&&([_0x2b292c,_0x43650b]=[_0x43650b,_0x2b292c]),_0x4fd35f['compare'](_0x2b292c,_0x43650b);},'isVisible':({plugins:_0x11b79a},_0x48b819)=>{const _0x185a6e=_0x11b79a['get'](d);return!(_0x185a6e['repository']['getRevisionsInDiff'](_0x185a6e['diff'])['length']>0x2)&&!_0x48b819['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1444bf,{id:_0x15ecf5})=>{_0x1444bf['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x15ecf5);},'isVisible':({plugins:_0xd4abbc},_0x17a90d)=>!!_0xd4abbc['get'](d)['repository']['getLaterVisibleRevision'](_0x17a90d['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x560e7d},{id:_0x109bcb,revisionNameView:_0x259694})=>{const _0x14f2a1=_0x560e7d['get'](d),_0x77a516=_0x14f2a1['repository']['getEarlierVisibleRevision'](_0x109bcb);_0x14f2a1['compare'](_0x109bcb,_0x77a516),_0x259694['focus'](),_0x259694['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3bcfe9,_0xffada6){super(_0x3bcfe9),this['_view']=_0xffada6,this['_toolbarConfig']=ct(_0x3bcfe9['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x6b0162){const _0x51db77=this['editor'],_0x14c7a6=this['view'],_0x1bd54a=_0x51db77['editing']['view'],_0x52b5db=_0x14c7a6['editable'],_0x119a63=_0x1bd54a['document']['getRoot']();_0x52b5db['name']=_0x119a63['rootName'],_0x14c7a6['render']();const _0x53dbe0=_0x52b5db['element'];this['setEditableElement'](_0x52b5db['name'],_0x53dbe0),_0x14c7a6['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x1bd54a['attachDomRoot'](_0x53dbe0),this['_elementReplacer']['replace'](_0x6b0162,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x446c46=this['view'],_0xd33941=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0xd33941['detachDomRoot'](_0x446c46['editable']['name']),_0x446c46['destroy']();}['_initToolbar'](){const _0x3cb9c8=this['view'];_0x3cb9c8['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3cb9c8['stickyPanel']['limiterElement']=_0x3cb9c8['element'],_0x3cb9c8['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x323c2a})=>_0x323c2a),_0x3cb9c8['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3cb9c8['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x26962b,_0x164440,_0x347094={}){super(_0x26962b),this['stickyPanel']=new lt(_0x26962b),this['toolbar']=new pt(_0x26962b,{'shouldGroupWhenFull':_0x347094['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x26962b,_0x164440);}['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(_0x5dfe29,_0x4f9465){super(_0x4f9465),this['sourceElement']=_0x5dfe29,this['model']['document']['createRoot']();const _0x162ea8=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x162ea8);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0xb4d986,_0x524c52){const _0x23abd1=new this(_0xb4d986,_0x524c52);return await _0x23abd1['initPlugins'](),await _0x23abd1['ui']['init'](_0xb4d986),await _0x23abd1['data']['init'](_0x23abd1['config']['get']('initialData')||''),_0x23abd1['fire']('ready'),_0x23abd1;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x443c27{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x5cb893){super(_0x5cb893),this['result']='end';}}class H extends _0x443c27{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x5445b3){if(super(_0x5445b3),!this['editor']['config']['get']('revisionHistory'))throw new _0x357e44('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1acc24=>this['_showRevisionViewer']({..._0x1acc24,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x478dc9=>this['_closeRevisionViewer'](_0x478dc9)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x12f8d7=>this['_restoreRevision'](_0x12f8d7)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x43f903){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x43f903;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x231b7e){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x231b7e);}['getRevision'](_0x5f1c65){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5f1c65);}['getRevisions'](_0x5570ee){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x5570ee||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x445cd7=this['editor'],_0x43c267=_0xfc6c6e(_0x445cd7,p),_0x198ba1=_0x445cd7['plugins']['get']('RevisionTracker'),_0x2bf84f=_0x445cd7['plugins']['get']('Users')['users'];return _0x43c267['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x43c267['lazyRoots'],(_0x43c267['plugins']['push'](k,d,R,class extends _0x443c27{static get['requires'](){return[d,'Users'];}['init'](){const _0x59d837=this['editor']['plugins']['get']('Users');for(const _0x21af37 of _0x2bf84f)_0x21af37['isAnonymous']||_0x59d837['getUser'](_0x21af37['id'])||_0x59d837['addUser'](_0x21af37);const _0x29e15c=_0x198ba1['repository']['getRevisions']();let _0x35d60f=null;const _0x40aeb3=this['editor']['plugins']['get']('RevisionViewer');_0x40aeb3['adapter']=_0x198ba1['adapter'],_0x40aeb3['bind']('isEnabled')['to'](_0x198ba1),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x445cd7,'isReadOnly',_0x258710=>!_0x258710);for(const _0x2a919f of _0x29e15c){const _0x3d9778=null===_0x2a919f['creator'];if(_0x3d9778&&_0x2a919f['toVersion']===_0x2a919f['fromVersion'])continue;const _0x22ecd3=_0x2a919f['toJSON']();_0x40aeb3['addRevisionData'](_0x22ecd3,(_0x523d13,_0x5857e2,_0x1749ba)=>{if(_0x3d9778){if(_0x35d60f)_0x35d60f['_update'](_0x523d13,_0x5857e2);else{if(!_0x5857e2){const _0x1e456f=_0x1749ba['toJSON']();_0x1e456f['id']=_0x263337(),_0x198ba1['saveRevision'](_0x1e456f,_0x1749ba['toVersion'])['then'](_0xe22de=>{_0x35d60f=_0xe22de;});}}}else _0x2a919f['_update'](_0x523d13,_0x5857e2);});}}},w),_0x43c267);}['_enhanceShowRevisionViewerCallback'](){const _0x583909=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x45bc72=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x3f66a4=this['editor']['plugins']['get']('Autosave');await _0x3f66a4['save']();}else await _0x45bc72['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x4b02b=this['editor']['plugins']['get']('Dialog');_0x4b02b['isOpen']&&_0x4b02b['hide']();}const _0x4edf0b=this['_getRevisionViewerEditorConfig']();return _0x583909(_0x4edf0b)['then'](_0xfe44da=>{return(this['_viewerEditor']=_0xfe44da,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0xfe44da;})['catch'](_0x5cd8a4=>(console['error'](_0x5cd8a4),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x20fc78=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'](),_0x20fc78(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x52b375=this['editor']['plugins']['get']('Annotations');_0x52b375['refreshVisibility'](),_0x52b375['refreshPositioning']();}})));}['_showRevisionViewer'](_0x2cd1ca){const _0x1e133e=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x51d523=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x3d03b3=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x3d03b3,_0x2cd1ca)['then'](_0x3749f2=>(_0x51d523['style']['display']='block',_0x1e133e['style']['display']='none',_0x3749f2));}['_closeRevisionViewer'](_0x8c9582){const _0x2a03dd=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x2a03dd['style']['display']='',_0x8c9582['destroy']();}async['_restoreRevision'](_0x54be7b){const _0x38fdc8=this['editor'],_0x1660b4=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x53e10d=_0x38fdc8['plugins']['get']('RevisionTracker'),_0x2b51b6=_0x1660b4['repository']['getRevision'](_0x54be7b);let _0x3310ac,_0x11e783,_0x2b3cc3;try{_0x3310ac=await _0x1660b4['getRevisionData'](_0x2b51b6),_0x11e783=await _0x1660b4['getRevisionRootsAttributes'](_0x2b51b6);}catch(_0x4b10e9){return void console['error'](_0x4b10e9);}_0x38fdc8['model']['change'](_0x2d5688=>{for(const _0x3ae860 of Array['from'](_0x38fdc8['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2d5688['removeMarker'](_0x3ae860);}),_0x1660b4['isReady']=!0x1,_0x38fdc8['model']['enqueueChange'](_0x36dcbe=>{_0x36dcbe['setSelection'](null),_0x36dcbe['removeSelectionAttribute'](_0x38fdc8['model']['document']['selection']['getAttributeKeys']());const _0x2bd59b=Object['keys'](_0x3310ac);for(const _0x125cfc of _0x38fdc8['model']['document']['roots'])'$graveyard'!=_0x125cfc['rootName']&&_0x125cfc['isAttached']()&&!_0x2bd59b['includes'](_0x125cfc['rootName'])&&_0x36dcbe['detachRoot'](_0x125cfc);for(const _0x393e62 of _0x2bd59b){let _0x1a832f=_0x38fdc8['model']['document']['getRoot'](_0x393e62);_0x1a832f&&_0x1a832f['isAttached']()||(_0x1a832f=_0x36dcbe['addRoot'](_0x393e62));const _0x5672f8=_0x11e783[_0x393e62],_0x360638=Object['keys'](_0x5672f8),_0x5753e9=_0x3310ac[_0x393e62];for(const _0x2f23b4 of _0x1a832f['getAttributeKeys']())_0x360638['includes'](_0x2f23b4)||_0x36dcbe['removeAttribute'](_0x2f23b4,_0x1a832f);for(const _0x1bb829 of _0x360638)_0x36dcbe['setAttribute'](_0x1bb829,_0x11e783[_0x393e62][_0x1bb829],_0x1a832f);_0x36dcbe['remove'](_0x36dcbe['createRangeIn'](_0x1a832f)),_0x36dcbe['insert'](_0x38fdc8['data']['parse'](_0x5753e9,_0x1a832f),_0x1a832f,0x0);}});const _0x334132=y(_0x38fdc8['locale'],'Restored');if(_0x2b51b6['name'])_0x2b3cc3=-0x1==_0x2b51b6['name']['indexOf'](_0x334132)?_0x334132+':\x20'+_0x2b51b6['name']:_0x2b51b6['name'];else _0x2b3cc3=_0x334132+':\x20'+(_0x2b51b6['createdAt']['toLocaleDateString'](_0x38fdc8['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x2b51b6['createdAt']['toLocaleTimeString'](_0x38fdc8['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x53e10d['saveRevision']({'name':_0x2b3cc3}),_0x1660b4['isReady']=!0x0,_0x38fdc8['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(_0x5568e9){super(_0x5568e9),this['_revisionViewer']=_0x5568e9['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x4b02f0=this['_revisionsRepository']['_revisions'],_0x33fdd1=this['_createRevisionActions'](),_0x2afa85=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x4b02f0,_0x33fdd1,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',(_0xf67aa5,_0x33cd03)=>{_0x33cd03['revisionViews']['on']('add',(_0x2481dc,_0x3254f4)=>{_0x3254f4['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)),_0x2afa85['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x32c47c=this['_revisionsRepository']['getRevision'](0x0);if(_0x32c47c){const _0x572566=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x32c47c['id']);this['_revisionViewer']['compare'](_0x32c47c,_0x572566);}}['_handleRevisionSelected'](_0x1775e0,_0x3d851f){const _0xcd2f45=this['_revisionsRepository']['getRevision'](_0x3d851f['id']),_0x44ce01=this['_revisionsRepository']['getEarlierVisibleRevision'](_0xcd2f45['id']);this['_revisionViewer']['compare'](_0xcd2f45,_0x44ce01);}['_handleRevisionSetName'](_0x2b3bbe,_0x51bceb){this['_revisionsRepository']['getRevision'](_0x51bceb['id'])['setName'](_0x51bceb['name']);}['_handleDiffChange'](_0x45b692,_0x194ae3,_0x41b56d){const _0x40305a=this['_revisionsRepository']['getRevisionsInDiff'](_0x41b56d);_0x40305a['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x40305a),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x40305a[0x0]));}['_createRevisionActions'](){const _0x245a28=this['editor'],_0x5a1268=w['availableRevisionActions'],_0x1ed314=_0x245a28['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x1ed314['length'])return _0x1ed314['map'](_0x5c2550=>{const _0x2c5593='string'==typeof _0x5c2550?Object['assign']({},_0x5a1268[_0x5c2550]):_0x5c2550;return _0x2c5593['action']=_0x2c5593['action']['bind'](this,_0x245a28),_0x2c5593['isVisible']&&(_0x2c5593['isVisible']=_0x2c5593['isVisible']['bind'](this,_0x245a28)),_0x2c5593;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x32338c},_0x4294fa)=>{const _0x24ed93=_0x32338c['get'](d),_0x39abc3=_0x24ed93['repository'];let _0x5e8f09=_0x24ed93['diff']['newRevisionId'],_0x3507e9=_0x4294fa['id'];_0x39abc3['getIndex'](_0x5e8f09)>_0x39abc3['getIndex'](_0x3507e9)&&([_0x5e8f09,_0x3507e9]=[_0x3507e9,_0x5e8f09]),_0x24ed93['compare'](_0x5e8f09,_0x3507e9);},'isVisible':({plugins:_0x4dbe49},_0x1e6c95)=>{const _0x1de386=_0x4dbe49['get'](d);return!(_0x1de386['repository']['getRevisionsInDiff'](_0x1de386['diff'])['length']>0x2)&&!_0x1e6c95['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x4f6b17,{id:_0x300db6})=>{_0x4f6b17['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x300db6);},'isVisible':({plugins:_0x252ec3},_0x18ff39)=>!!_0x252ec3['get'](d)['repository']['getLaterVisibleRevision'](_0x18ff39['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x399dcb},{id:_0x25cee1,revisionNameView:_0x5c2343})=>{const _0x2b8d03=_0x399dcb['get'](d),_0xc975ab=_0x2b8d03['repository']['getEarlierVisibleRevision'](_0x25cee1);_0x2b8d03['compare'](_0x25cee1,_0xc975ab),_0x5c2343['focus'](),_0x5c2343['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x3c1e7e,_0x62f93){super(_0x3c1e7e),this['_view']=_0x62f93,this['_toolbarConfig']=ct(_0x3c1e7e['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x255514){const _0x20776d=this['editor'],_0x39588a=this['view'],_0x3492b6=_0x20776d['editing']['view'],_0x89c730=_0x39588a['editable'],_0x19a87e=_0x3492b6['document']['getRoot']();_0x89c730['name']=_0x19a87e['rootName'],_0x39588a['render']();const _0x37efc0=_0x89c730['element'];this['setEditableElement'](_0x89c730['name'],_0x37efc0),_0x39588a['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x3492b6['attachDomRoot'](_0x37efc0),this['_elementReplacer']['replace'](_0x255514,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x38d200=this['view'],_0x37dde0=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x37dde0['detachDomRoot'](_0x38d200['editable']['name']),_0x38d200['destroy']();}['_initToolbar'](){const _0x2df3fa=this['view'];_0x2df3fa['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x2df3fa['stickyPanel']['limiterElement']=_0x2df3fa['element'],_0x2df3fa['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x52f714})=>_0x52f714),_0x2df3fa['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x2df3fa['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x359528,_0x523c37,_0x3abf05={}){super(_0x359528),this['stickyPanel']=new lt(_0x359528),this['toolbar']=new pt(_0x359528,{'shouldGroupWhenFull':_0x3abf05['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x359528,_0x523c37);}['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(_0x38e2cf,_0x466fbf){super(_0x466fbf),this['sourceElement']=_0x38e2cf,this['model']['document']['createRoot']();const _0xee95c7=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0xee95c7);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x32195d,_0xbc6111){const _0x42bb11=new this(_0x32195d,_0xbc6111);return await _0x42bb11['initPlugins'](),await _0x42bb11['ui']['init'](_0x32195d),await _0x42bb11['data']['init'](_0x42bb11['config']['get']('initialData')||''),_0x42bb11['fire']('ready'),_0x42bb11;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x42be7e{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0xe51e3c){super(_0xe51e3c),this['result']='end';}}class H extends _0x42be7e{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x29dfec){if(super(_0x29dfec),!this['editor']['config']['get']('revisionHistory'))throw new _0x9c0ff6('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x3b4210=>this['_showRevisionViewer']({..._0x3b4210,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x52732f=>this['_closeRevisionViewer'](_0x52732f)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x127284=>this['_restoreRevision'](_0x127284)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x3ad3f5){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x3ad3f5;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x245fc9){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x245fc9);}['getRevision'](_0x40896b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x40896b);}['getRevisions'](_0x948d3){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x948d3||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x1eabfb=this['editor'],_0x4266ef=_0x311f3a(_0x1eabfb,p),_0x245f58=_0x1eabfb['plugins']['get']('RevisionTracker'),_0xaf43b0=_0x1eabfb['plugins']['get']('Users')['users'];return _0x4266ef['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x4266ef['lazyRoots'],(_0x4266ef['plugins']['push'](k,d,R,class extends _0x42be7e{static get['requires'](){return[d,'Users'];}['init'](){const _0x378227=this['editor']['plugins']['get']('Users');for(const _0x27ce2a of _0xaf43b0)_0x27ce2a['isAnonymous']||_0x378227['getUser'](_0x27ce2a['id'])||_0x378227['addUser'](_0x27ce2a);const _0x2ca172=_0x245f58['repository']['getRevisions']();let _0x54416e=null;const _0x86f7a=this['editor']['plugins']['get']('RevisionViewer');_0x86f7a['adapter']=_0x245f58['adapter'],_0x86f7a['bind']('isEnabled')['to'](_0x245f58),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x1eabfb,'isReadOnly',_0x4987bc=>!_0x4987bc);for(const _0x1cac20 of _0x2ca172){const _0x5ae055=null===_0x1cac20['creator'];if(_0x5ae055&&_0x1cac20['toVersion']===_0x1cac20['fromVersion'])continue;const _0x462026=_0x1cac20['toJSON']();_0x86f7a['addRevisionData'](_0x462026,(_0x388526,_0x3f31aa,_0x17469c)=>{if(_0x5ae055){if(_0x54416e)_0x54416e['_update'](_0x388526,_0x3f31aa);else{if(!_0x3f31aa){const _0x295f70=_0x17469c['toJSON']();_0x295f70['id']=_0x20aaca(),_0x245f58['saveRevision'](_0x295f70,_0x17469c['toVersion'])['then'](_0x595385=>{_0x54416e=_0x595385;});}}}else _0x1cac20['_update'](_0x388526,_0x3f31aa);});}}},w),_0x4266ef);}['_enhanceShowRevisionViewerCallback'](){const _0x458156=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x29ff57=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x170f14=this['editor']['plugins']['get']('Autosave');await _0x170f14['save']();}else await _0x29ff57['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x5354ee=this['editor']['plugins']['get']('Dialog');_0x5354ee['isOpen']&&_0x5354ee['hide']();}const _0x343ac5=this['_getRevisionViewerEditorConfig']();return _0x458156(_0x343ac5)['then'](_0x21e51f=>{return(this['_viewerEditor']=_0x21e51f,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x21e51f;})['catch'](_0x18e2ea=>(console['error'](_0x18e2ea),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x382959=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'](),_0x382959(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2c9fd3=this['editor']['plugins']['get']('Annotations');_0x2c9fd3['refreshVisibility'](),_0x2c9fd3['refreshPositioning']();}})));}['_showRevisionViewer'](_0x397671){const _0x216631=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x31b9dd=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x2a21b4=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x2a21b4,_0x397671)['then'](_0x236699=>(_0x31b9dd['style']['display']='block',_0x216631['style']['display']='none',_0x236699));}['_closeRevisionViewer'](_0x18a865){const _0x48663a=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x48663a['style']['display']='',_0x18a865['destroy']();}async['_restoreRevision'](_0x7c8028){const _0x51d79b=this['editor'],_0x198fab=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x483b10=_0x51d79b['plugins']['get']('RevisionTracker'),_0x124168=_0x198fab['repository']['getRevision'](_0x7c8028);let _0x17c749,_0x1a4048,_0x1d1990;try{_0x17c749=await _0x198fab['getRevisionData'](_0x124168),_0x1a4048=await _0x198fab['getRevisionRootsAttributes'](_0x124168);}catch(_0x1ece8c){return void console['error'](_0x1ece8c);}_0x51d79b['model']['change'](_0x123683=>{for(const _0x514f99 of Array['from'](_0x51d79b['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x123683['removeMarker'](_0x514f99);}),_0x198fab['isReady']=!0x1,_0x51d79b['model']['enqueueChange'](_0x3b3b93=>{_0x3b3b93['setSelection'](null),_0x3b3b93['removeSelectionAttribute'](_0x51d79b['model']['document']['selection']['getAttributeKeys']());const _0x1cd27e=Object['keys'](_0x17c749);for(const _0x535366 of _0x51d79b['model']['document']['roots'])'$graveyard'!=_0x535366['rootName']&&_0x535366['isAttached']()&&!_0x1cd27e['includes'](_0x535366['rootName'])&&_0x3b3b93['detachRoot'](_0x535366);for(const _0x1edd3d of _0x1cd27e){let _0x4c1b03=_0x51d79b['model']['document']['getRoot'](_0x1edd3d);_0x4c1b03&&_0x4c1b03['isAttached']()||(_0x4c1b03=_0x3b3b93['addRoot'](_0x1edd3d));const _0x412a60=_0x1a4048[_0x1edd3d],_0x23f009=Object['keys'](_0x412a60),_0x5604ca=_0x17c749[_0x1edd3d];for(const _0x2f585d of _0x4c1b03['getAttributeKeys']())_0x23f009['includes'](_0x2f585d)||_0x3b3b93['removeAttribute'](_0x2f585d,_0x4c1b03);for(const _0x36148c of _0x23f009)_0x3b3b93['setAttribute'](_0x36148c,_0x1a4048[_0x1edd3d][_0x36148c],_0x4c1b03);_0x3b3b93['remove'](_0x3b3b93['createRangeIn'](_0x4c1b03)),_0x3b3b93['insert'](_0x51d79b['data']['parse'](_0x5604ca,_0x4c1b03),_0x4c1b03,0x0);}});const _0x411142=y(_0x51d79b['locale'],'Restored');if(_0x124168['name'])_0x1d1990=-0x1==_0x124168['name']['indexOf'](_0x411142)?_0x411142+':\x20'+_0x124168['name']:_0x124168['name'];else _0x1d1990=_0x411142+':\x20'+(_0x124168['createdAt']['toLocaleDateString'](_0x51d79b['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x124168['createdAt']['toLocaleTimeString'](_0x51d79b['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x483b10['saveRevision']({'name':_0x1d1990}),_0x198fab['isReady']=!0x0,_0x51d79b['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};