@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240529.0 → 0.0.0-nightly-20240531.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/package.json +5 -5
  119. package/src/changeitem.js +2 -2
  120. package/src/editor/revisionviewereditor.js +2 -2
  121. package/src/editor/revisionviewereditorui.js +1 -1
  122. package/src/editor/revisionviewereditoruiview.js +1 -1
  123. package/src/index.js +1 -1
  124. package/src/revision.js +2 -2
  125. package/src/revisiondiff.js +1 -1
  126. package/src/revisionhistory.js +1 -1
  127. package/src/revisionsrepository.js +1 -1
  128. package/src/revisiontracker.js +1 -1
  129. package/src/revisionviewer.js +1 -1
  130. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  131. package/src/ui/revision/revisionauthorview.js +1 -1
  132. package/src/ui/revision/revisionnameview.js +1 -1
  133. package/src/ui/revision/revisionview.js +2 -2
  134. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  135. package/src/ui/revision/subrevisionview.js +1 -1
  136. package/src/ui/revision/utils.js +1 -1
  137. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  138. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  139. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  140. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  141. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  142. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  143. package/src/ui/revisionssidebar/utils.js +1 -1
  144. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  145. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  146. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  147. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  148. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x5be8fc,Context as _0xa4b880,PendingActions as _0x253efb,icons as _0x57278e,Command as _0x347b59,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x5e2d5c,uid as _0x2b22ca,Collection as _0x51a9b0,logWarning as _0x28ec26,FocusTracker as _0x554f65,KeystrokeHandler as _0xd2e2e4,scrollViewportToShowTarget as _0x3c34b2,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x14b05c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x28a5da,getMarkerDomElement as _0x5d7d4e,ConfirmMixin as _0x325a1a,sanitizeEditorConfig as _0x484f66}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x3ee4e8,ViewText as _0x1b48bf,ViewElement as _0x5e0cca,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x11836d,ViewAttributeElement as _0xd762ba,ViewEmptyElement as _0x2ab6e4,ViewRawElement as _0x47e883,ViewUIElement as _0xce5410,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0xcc2041,set as _0x493986,unset as _0x155a19,isEqual as _0x5130cc}from'lodash-es';import{View as _0x347dad,injectCssTransitionDisabler as ts,submitHandler as _0x1a36f3,LabeledFieldView as at,createLabeledInputText as _0x18da03,createDropdown as _0x492605,ListView as te,ListItemView as _0x28241a,ButtonView as _0x3908eb,MenuBarMenuView as _0x1e95b4,MenuBarMenuListView as _0x14e717,MenuBarMenuListItemView as _0x262f99,MenuBarMenuListItemButtonView as _0x3befa5,ContextualBalloon as _0x5cda6f,ToolbarSeparatorView as _0x39da0f,IconView as _0x4c1b66,addListToDropdown as _0x58492e,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 _0x3507ab}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x5e2d5c(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x2457d5){super(),this['id']=_0x2457d5['id']||_0x2b22ca(),this['creator']=_0x2457d5['creator']||null,this['authors']=_0x2457d5['authors']||[],this['diffData']=_0x2457d5['diffData']||null,this['toVersion']=_0x2457d5['toVersion']||0x0,this['fromVersion']=_0x2457d5['fromVersion']||0x0,this['set']('name',_0x2457d5['name']||''),this['set']('createdAt',_0x2457d5['createdAt']||new Date()),this['set']('attributes',_0x2457d5['attributes']||{});}['setName'](_0x2194df){this['_update']({'name':_0x2194df});}['setAttribute'](_0x5ecdf2,_0x59d0d9){const _0x5e2b19=_0xcc2041(this['attributes']);_0x493986(_0x5e2b19,_0x5ecdf2,_0x59d0d9),this['_update']({'attributes':_0x5e2b19});}['removeAttribute'](_0x203752){const _0x435d83=_0xcc2041(this['attributes']);_0x155a19(_0x435d83,_0x203752),this['_update']({'attributes':_0x435d83});}['_update'](_0x10396e,_0x393e28=!0x1){let _0x3a60d2=!0x1;const _0x7ea688={'id':this['id']},_0x563035=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x27487e of _0x563035){const _0x1e1ab5=_0x10396e[_0x27487e];void 0x0!==_0x1e1ab5&&_0x1e1ab5!==this[_0x27487e]&&(this[_0x27487e]=_0x1e1ab5,_0x7ea688[_0x27487e]=_0x1e1ab5,_0x3a60d2=!0x0);}_0x3a60d2&&(_0x7ea688['authors']&&(_0x7ea688['authorsIds']=_0x7ea688['authors']['map'](_0x422372=>_0x422372['id']),delete _0x7ea688['authors']),this['fire']('_update',_0x7ea688,_0x393e28));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2c6b9f=>_0x2c6b9f['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x5be8fc{['_revisions'];static get['requires'](){return[_0x28a5da];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x5a7492){super(_0x5a7492),this['_revisions']=new _0x51a9b0();}['afterInit'](){!function(_0x13ff24){function _0x101bbb(_0x1cb237,_0x5ccdf6,_0x1bc8e7){const _0x110482={};_0x110482[_0x24444c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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],_0x110482[_0x24444c([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 _0x5e771c=new Uint8Array(0x10);for(let _0x174a13=0xf;_0x174a13>=0x0;--_0x174a13)_0x5e771c[_0x174a13]=_0x1bc8e7%0x100,_0x1bc8e7=parseInt(_0x1bc8e7/0x100);let _0x11e525=null,_0x49394c=0x10;const _0x448d4f=new Uint8Array(_0x5ccdf6),_0x14d617=[],_0x2fd0be=[];_0x1ad30e();for(let _0x20ee08=0x0;_0x20ee08<_0x1cb237[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x20ee08++)0x10===_0x49394c&&(_0x11e525=_0x18aaee(_0x5e771c),_0x49394c=0x0,_0x3c7633(_0x5e771c)),_0x1cb237[_0x20ee08]^=_0x11e525[_0x49394c++];return _0x1cb237;function _0x230245(_0x336f16){const _0x59c037=[];for(let _0x58a26c=0x0;_0x58a26c<_0x336f16[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58a26c+=0x4)_0x59c037[_0x24444c([0x70,0x75,0x73,0x68])](_0x336f16[_0x58a26c]<<0x18|_0x336f16[_0x58a26c+0x1]<<0x10|_0x336f16[_0x58a26c+0x2]<<0x8|_0x336f16[_0x58a26c+0x3]);return _0x59c037;}function _0x3c7633(_0x19365c){for(let _0x58078c=0xf;_0x58078c>=0x0;_0x58078c--){if(0xff!==_0x19365c[_0x58078c]){_0x19365c[_0x58078c]++;break;}_0x19365c[_0x58078c]=0x0;}}function _0x18aaee(_0x1d99a6){const _0x170d5e=_0x14d617[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x493881=[0x0,0x0,0x0,0x0];let t=_0x230245(_0x1d99a6);for(let _0x4ec2fb=0x0;_0x4ec2fb<0x4;_0x4ec2fb++)t[_0x4ec2fb]^=_0x14d617[0x0][_0x4ec2fb];for(let _0x3414c0=0x1;_0x3414c0<_0x170d5e;_0x3414c0++){for(let _0x4bda00=0x0;_0x4bda00<0x4;_0x4bda00++)_0x493881[_0x4bda00]=_0x110482[_0x24444c([0x54,0x31])][t[_0x4bda00]>>0x18&0xff]^_0x110482[_0x24444c([0x54,0x32])][t[(_0x4bda00+0x1)%0x4]>>0x10&0xff]^_0x110482[_0x24444c([0x54,0x33])][t[(_0x4bda00+0x2)%0x4]>>0x8&0xff]^_0x110482[_0x24444c([0x54,0x34])][0xff&t[(_0x4bda00+0x3)%0x4]]^_0x14d617[_0x3414c0][_0x4bda00];t=_0x493881[_0x24444c([0x73,0x6c,0x69,0x63,0x65])]();}const _0xcc3b63=new Uint8Array(0x10);let _0x34ff7d;for(let _0x1a914b=0x0;_0x1a914b<0x4;_0x1a914b++)_0x34ff7d=_0x14d617[_0x170d5e][_0x1a914b],_0xcc3b63[0x4*_0x1a914b]=0xff&(_0x110482[_0x24444c([0x53])][t[_0x1a914b]>>0x18&0xff]^_0x34ff7d>>0x18),_0xcc3b63[0x4*_0x1a914b+0x1]=0xff&(_0x110482[_0x24444c([0x53])][t[(_0x1a914b+0x1)%0x4]>>0x10&0xff]^_0x34ff7d>>0x10),_0xcc3b63[0x4*_0x1a914b+0x2]=0xff&(_0x110482[_0x24444c([0x53])][t[(_0x1a914b+0x2)%0x4]>>0x8&0xff]^_0x34ff7d>>0x8),_0xcc3b63[0x4*_0x1a914b+0x3]=0xff&(_0x110482[_0x24444c([0x53])][0xff&t[(_0x1a914b+0x3)%0x4]]^_0x34ff7d);return _0xcc3b63;}function _0x1ad30e(){const _0xb82891=_0x110482[_0x24444c([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x448d4f[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0xa15f7=0x0;_0xa15f7<=_0xb82891;_0xa15f7++)_0x14d617[_0x24444c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x2fd0be[_0x24444c([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x327cf4=0x4*(_0xb82891+0x1),_0x17a71d=_0x448d4f[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x30ed3e=_0x230245(_0x448d4f);let _0x359a93;for(let _0x4638b2=0x0;_0x4638b2<_0x17a71d;_0x4638b2++)_0x359a93=_0x4638b2>>0x2,_0x14d617[_0x359a93][_0x4638b2%0x4]=_0x30ed3e[_0x4638b2],_0x2fd0be[_0xb82891-_0x359a93][_0x4638b2%0x4]=_0x30ed3e[_0x4638b2];let _0x421688,_0x222528=0x0,t=_0x17a71d;for(;t<_0x327cf4;){_0x421688=_0x30ed3e[_0x17a71d-0x1],_0x30ed3e[0x0]^=_0x110482[_0x24444c([0x53])][_0x421688>>0x10&0xff]<<0x18^_0x110482[_0x24444c([0x53])][_0x421688>>0x8&0xff]<<0x10^_0x110482[_0x24444c([0x53])][0xff&_0x421688]<<0x8^_0x110482[_0x24444c([0x53])][_0x421688>>0x18&0xff]^_0x110482[_0x24444c([0x72,0x63,0x6f,0x6e])][_0x222528]<<0x18,_0x222528+=0x1;for(let _0x18ed8f=0x1;_0x18ed8f<_0x17a71d/0x2;_0x18ed8f++)_0x30ed3e[_0x18ed8f]^=_0x30ed3e[_0x18ed8f-0x1];_0x421688=_0x30ed3e[_0x17a71d/0x2-0x1],_0x30ed3e[_0x17a71d/0x2]^=_0x110482[_0x24444c([0x53])][0xff&_0x421688]^_0x110482[_0x24444c([0x53])][_0x421688>>0x8&0xff]<<0x8^_0x110482[_0x24444c([0x53])][_0x421688>>0x10&0xff]<<0x10^_0x110482[_0x24444c([0x53])][_0x421688>>0x18&0xff]<<0x18;for(let _0x168a1d=_0x17a71d/0x2+0x1;_0x168a1d<_0x17a71d;_0x168a1d++)_0x30ed3e[_0x168a1d]^=_0x30ed3e[_0x168a1d-0x1];let _0x2e671e,_0x47d825,_0x26dd73=0x0;for(;_0x26dd73<_0x17a71d&&t<_0x327cf4;)_0x2e671e=t>>0x2,_0x47d825=t%0x4,_0x14d617[_0x2e671e][_0x47d825]=_0x30ed3e[_0x26dd73],_0x2fd0be[_0xb82891-_0x2e671e][_0x47d825]=_0x30ed3e[_0x26dd73++],t++;}for(let _0xead5f8=0x1;_0xead5f8<_0xb82891;_0xead5f8++)for(let _0x9ae65=0x0;_0x9ae65<0x4;_0x9ae65++)_0x421688=_0x2fd0be[_0xead5f8][_0x9ae65],_0x2fd0be[_0xead5f8][_0x9ae65]=_0x110482[_0x24444c([0x55,0x31])][_0x421688>>0x18&0xff]^_0x110482[_0x24444c([0x55,0x32])][_0x421688>>0x10&0xff]^_0x110482[_0x24444c([0x55,0x33])][_0x421688>>0x8&0xff]^_0x110482[_0x24444c([0x55,0x34])][0xff&_0x421688];}}function _0x24444c(_0x5e9eda){return _0x5e9eda['map'](_0x29aed4=>String['fromCharCode'](_0x29aed4))['join']('');}(_0x925642=>{function _0x51b363(){const _0x1c17a2=[{[_0x24444c([0x69,0x64])]:0x1,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x24444c([0x69,0x64])]:0x2,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([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]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x24444c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x24444c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x24444c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x24444c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x24444c([0x69,0x64])]:0x3,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x24444c([0x69,0x64])]:0x4,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([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]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x24444c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x24444c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x24444c([0x69,0x64])]:0x5,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([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]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}},{[_0x24444c([0x69,0x64])]:0x6,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}},{[_0x24444c([0x69,0x64])]:0x7,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}},{[_0x24444c([0x69,0x64])]:0x8,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([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]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}},{[_0x24444c([0x69,0x64])]:0x9,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x24444c([0x69,0x64])]:0xa,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([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]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([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]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([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]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}},{[_0x24444c([0x69,0x64])]:0xb,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x24444c([0x69,0x64])]:0xc,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x24444c([0x69,0x64])]:0xd,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}},{[_0x24444c([0x69,0x64])]:0xe,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x24444c([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([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])},{[_0x24444c([0x69,0x64])]:0xf,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x24444c([0x69,0x64])]:0x10,[_0x24444c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x24444c([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x24444c([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x24444c([0x66,0x67,0x69])]:[0xc]}}];return _0x57f43a(_0x1c17a2),_0x1c17a2;function _0x4d1937(_0x1009f7){return 0x1<<_0x1009f7-0x1;}function _0x57f43a(_0x287d25){_0x287d25[_0x24444c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x126148=>{_0x126148[_0x24444c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4d1937(_0x126148[_0x24444c([0x69,0x64])]),_0xec511(_0x126148)&&_0x126148[_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x57f43a(_0x126148[_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xec511(_0x2549f0){return _0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x2549f0;}const _0x507d5f=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x1984c0=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x2d649f(_0x5df7f0){const _0xfbd158=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x1ae135(_0x5df7f0,new Uint8Array([..._0x507d5f,..._0xfbd158,..._0x1984c0]));}function _0x1ae135(_0x556f21,_0xea1e3){const _0x4ed286=_0x4d3119(_0x556f21),_0x5e5361=Array[_0x24444c([0x66,0x72,0x6f,0x6d])](_0x2c8d8a(_0x4ed286)),_0x13ef39=_0x5e5361[_0x24444c([0x70,0x6f,0x70])](),_0x3ee921=_0x5e5361[_0x24444c([0x70,0x6f,0x70])]();return _0x225ecf(_0x101bbb(_0x5e5361,_0xea1e3,_0x3ee921+0x100*_0x13ef39));}function _0x4d3119(_0x1cade1){const _0x137749=atob(_0x1cade1),[_0x5773a1,_0x114890]=_0x137749[_0x24444c([0x73,0x70,0x6c,0x69,0x74])](_0x24444c([0x2d]));try{if(atob(_0x114890))return atob(_0x5773a1);}catch(_0x46c69c){}return _0x137749;}function _0x208038(_0x10c0ab){try{const _0x2770d6=_0x2d649f(_0x10c0ab),_0x4712d9=JSON[_0x24444c([0x70,0x61,0x72,0x73,0x65])](_0x2770d6),_0x260451=parseInt(_0x4712d9[_0x24444c([0x31])]),_0x4820cf=_0x4712d9[_0x24444c([0x32])]||'',_0xf889eb=parseInt(_0x4712d9[_0x24444c([0x33])]),_0x2b8660=parseInt(_0x4712d9[_0x24444c([0x34])])||0x0,_0x4a78da=parseInt(_0x4712d9[_0x24444c([0x35])])||0x0;return{[_0x24444c([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x4820cf,[_0x24444c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x2b8660,[_0x24444c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x260451,[_0x24444c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0xf889eb,[_0x24444c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4a78da};}catch(_0x1ae038){return null;}}const _0x1dd157=_0x51b363(),_0x118a4c={[_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x2209be,[_0x24444c([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])]:_0x517df4,[_0x24444c([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])]:_0x34adf3},_0x415c90=_0x925642[_0x24444c([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x39dc3b=_0x24444c([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x925642?_0x925642['context']:_0x925642['editor'],_0x3a20ca=_0x24444c([0x34,0x30,0x34,0x38,0x31,0x30,0x35,0x38]),_0xe74866=_0x24444c([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]),_0x284595=_0x39dc3b['config']['get'](_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0xe62dc2=_0x1dd157[_0x24444c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xec511)[_0x24444c([0x66,0x69,0x6e,0x64])](_0x28aa71=>_0x28aa71[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x415c90);function _0x3f6629(_0x26b217,_0x565603){_0x118a4c[_0x565603[_0x24444c([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x26b217,_0x565603),_0x565603[_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x565603[_0x24444c([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x24444c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4d1060=>_0x575b50(_0x39dc3b,_0x4d1060[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x24444c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x165f77=>_0x3f6629(_0x26b217,_0x165f77));}function _0x2209be(_0x2adf33,_0x32a972){_0x325e22(_0x1c97e8(_0x2adf33,_0x32a972),_0x32a972);}function _0x517df4(_0x4bbe37,_0x59d8a3){function _0xef0f55(_0x15ffed,_0x516b50){try{if(_0x575b50(_0x39dc3b,_0x24444c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x15ffed){const _0x36678b=_0x731e53(_0x39dc3b,_0x24444c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x24444c([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x36678b)/0x2>_0x15ffed[_0x24444c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0xa225e7(_0x516b50[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x1c97e8(_0x15ffed,_0x516b50);}catch(_0x50c3a6){return _0xa225e7(_0x516b50[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x325e22(_0xef0f55(_0x4bbe37,_0x59d8a3),_0x59d8a3);}function _0x34adf3(_0x51f8c2,_0x4af046){const _0x5343ae=_0x1984c0[0x0]*_0x507d5f[0x1],_0x36a233=_0x1984c0[0x0]*_0x507d5f[0x2],_0x39533e=_0x1984c0[0x2]*_0x507d5f[0x2];_0x575b50(_0x39dc3b,_0x24444c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x731e53(_0x39dc3b,_0x24444c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x24444c([0x73,0x74,0x61,0x74,0x65])]==_0x24444c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x5d2d10()]=_0x39533e);function _0x51793b(_0x3b0678,_0x3fe368){try{return _0x5b9358()?_0xa225e7(_0x3fe368[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x56,0x61,0x6c,0x69,0x64])):_0x1c97e8(_0x3b0678,_0x3fe368);}catch(_0x34895c){return _0xa225e7(_0x3fe368[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1eaa65(_0x1cf218,_0x4ac10b){const _0x5135c4=0x7;if(_0x1cf218==_0x4ac10b[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4e28bf();else{if(_0x1cf218==_0x4ac10b[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c])){const _0x55f101=_0xcef55a();_0x55f101&&_0xa66efa(_0x55f101,_0x4ac10b[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x5c8d85=_0x15e10c();window[_0x24444c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0xa66efa(_0x24444c([0x74,0x69,0x6d,0x65]),_0x4ac10b[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x5c8d85);const _0xce0950=_0x731e53(_0x39dc3b,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x24444c([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0xce0950[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5135c4?_0xa66efa(_0x24444c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4ac10b[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0xce0950['on'](_0x24444c([0x61,0x64,0x64]),()=>{_0xce0950[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5135c4&&_0xa66efa(_0x24444c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x4ac10b[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0xcef55a(){if(!_0x575b50(_0x39dc3b,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x2c0090 in window)if(Number['isNaN'](Number(_0x2c0090))){if(window[_0x2c0090]===_0x5343ae)return _0x24444c([0x74,0x69,0x6d,0x65]);if(window[_0x2c0090]===_0x36a233)return _0x24444c([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x5b9358(){if(!_0x575b50(_0x39dc3b,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x24652a in window)if(Number['isNaN'](Number(_0x24652a))&&window[_0x24652a]===_0x39533e)return!0x0;return!0x1;}function _0xa66efa(_0x31af8b,_0x478523){_0x4e28bf(),_0xa225e7(_0x478523+_0x24444c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x31af8b),window[_0x5d2d10()]=_0x31af8b===_0x24444c([0x74,0x69,0x6d,0x65])?_0x5343ae:_0x36a233;}function _0x15e10c(){let _0x3c600e=_0x1984c0[0x6]*_0x507d5f[0x8]*_0x507d5f[0x6];return _0x575b50(_0x39dc3b,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x3c600e/=0xa),_0x3c600e;}function _0x4e28bf(){const _0x11bd8c=_0x39dc3b;function _0x262af4(){_0x575b50(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x24444c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x24444c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x24444c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x24444c([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x2a4d59,_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x24444c([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x2a4d59,_0x11bd8c[_0x24444c([0x6d,0x6f,0x64,0x65,0x6c])][_0x24444c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a4d59,_0x11bd8c[_0x24444c([0x6d,0x6f,0x64,0x65,0x6c])][_0x24444c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a4d59,_0x11bd8c[_0x24444c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24444c([0x6d,0x6f,0x64,0x65,0x6c]))),_0x575b50(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24444c([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x24444c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24444c([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24444c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x2a4d59,_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24444c([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x2a4d59);}_0x11bd8c[_0x24444c([0x73,0x74,0x61,0x74,0x65])]==_0x24444c([0x72,0x65,0x61,0x64,0x79])?_0x262af4():_0x11bd8c[_0x24444c([0x6f,0x6e,0x63,0x65])](_0x24444c([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x575b50(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x262af4(),_0x575b50(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x499a86=_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x4aba12=_0x499a86['getRevision'](0x0),_0x73fbe5=_0x499a86['getEarlierVisibleRevision'](_0x4aba12[_0x24444c([0x69,0x64])]);_0x731e53(_0x11bd8c,_0x24444c([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x24444c([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x4aba12[_0x24444c([0x69,0x64])],_0x73fbe5?_0x73fbe5[_0x24444c([0x69,0x64])]:null,0x1)['then'](()=>_0x262af4());}});}_0x1eaa65(_0x51793b(_0x51f8c2,_0x4af046),_0x4af046);}function _0x1c97e8(_0xbbded2,_0x22a827){try{return _0xa8d9b(_0x22a827)?_0xa225e7(_0x22a827[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x56,0x61,0x6c,0x69,0x64])):_0xbbded2&&_0x14de8d(_0xbbded2[_0x24444c([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x22a827)?_0xbbded2[_0x24444c([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x24444c([0x6f,0x70,0x65,0x6e])][_0x24444c([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x3a20ca)/0x2>_0xbbded2[_0x24444c([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0xa225e7(_0x22a827[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xbbded2[_0x24444c([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0xa225e7(_0x22a827[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c])):_0xa225e7(_0x22a827[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x56,0x61,0x6c,0x69,0x64])):_0xa225e7(_0x22a827[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5f4a40){return _0xa225e7(_0x22a827[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x325e22(_0x16e922,_0x2436f7){if(_0x39dc3b instanceof _0xa4b880){const _0xb99dff=_0x39dc3b;_0x16e922==_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x37b611(_0xb99dff):_0x16e922==_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c])&&window[_0x24444c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x37b611(_0xb99dff),_0xa225e7(_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x1984c0[0x6]*_0x507d5f[0x8]*_0x507d5f[0x6]),_0xb99dff[_0x24444c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x24444c([0x6f,0x6e])](_0x24444c([0x61,0x64,0x64]),(_0x49216e,_0x1992b5)=>{_0x16e922!=_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x16e922!=_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x16e922!=_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x354645(_0x1992b5);});}else{const _0x188783=_0x39dc3b;_0x16e922==_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x354645(_0x188783):_0x16e922==_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c])&&_0x188783[_0x24444c([0x6f,0x6e])](_0x24444c([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x597f0a=0x0;_0x188783[_0x24444c([0x6d,0x6f,0x64,0x65,0x6c])][_0x24444c([0x6f,0x6e])](_0x24444c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x6b0d84,_0x26529c)=>{_0x26529c[0x0][_0x24444c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x597f0a++,0x1f8===_0x597f0a&&(_0x354645(_0x188783),_0xa225e7(_0x2436f7[_0x24444c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x24444c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x6b0d84[_0x24444c([0x6f,0x66,0x66])]());},{'priority':_0x24444c([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0xa225e7(_0x48e452){const _0xc6a8c0=_0x5d2d10();return _0x39dc3b[_0xc6a8c0]=_0x48e452,_0x48e452;}function _0x5d2d10(){const _0xa16ee5=String(window[_0x24444c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x24444c([0x6e,0x6f,0x77])]())[_0x24444c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x24444c([0x2e]),'');let _0x218f09='';for(let _0x1fd4c8=0x0;_0x1fd4c8<_0xa16ee5[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1fd4c8+=0x2){let _0x3a0b96=parseInt(_0xa16ee5[_0x24444c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1fd4c8,_0x1fd4c8+0x2));_0x3a0b96>=_0xe74866[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3a0b96-=_0xe74866[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x218f09+=_0xe74866[_0x3a0b96];}return _0x218f09;}function _0x37b611(_0x2eb80d){for(const _0x56ca17 of _0x2eb80d[_0x24444c([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x354645(_0x56ca17);_0x731e53(_0x2eb80d,_0x24444c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x24444c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x731e53(_0x2eb80d,_0x24444c([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x24444c([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x2a4d59;}function _0x354645(_0x5d6a5b){function _0x29ddf8(){_0x5d6a5b[_0x24444c([0x6d,0x6f,0x64,0x65,0x6c])][_0x24444c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a4d59,_0x5d6a5b[_0x24444c([0x6d,0x6f,0x64,0x65,0x6c])][_0x24444c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a4d59,_0x5d6a5b[_0x24444c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x24444c([0x6d,0x6f,0x64,0x65,0x6c]));}_0x5d6a5b[_0x24444c([0x73,0x74,0x61,0x74,0x65])]==_0x24444c([0x72,0x65,0x61,0x64,0x79])?_0x29ddf8():_0x5d6a5b[_0x24444c([0x6f,0x6e,0x63,0x65])](_0x24444c([0x72,0x65,0x61,0x64,0x79]),()=>_0x29ddf8());}function _0x2a4d59(){return null;}function _0x14de8d(_0x4b6ee3,_0x129261){const _0x5ec85d=!!(_0x4b6ee3&_0x129261[_0x24444c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x511615=_0x5aec80(_0x4b6ee3,_0x129261);return _0x5ec85d||_0x511615;}function _0x5aec80(_0xb95f2e,_0x2b1b93){const _0x228d9f=(_0x2b1b93[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x24444c([0x66,0x67,0x69])]||null;return!!_0x228d9f&&_0x1dd157[_0x24444c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x53563c=>_0x228d9f[_0x24444c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53563c[_0x24444c([0x69,0x64])]))[_0x24444c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbe6f0c=>!_0xb765d4(_0xbe6f0c))[_0x24444c([0x73,0x6f,0x6d,0x65])](_0x4496ed=>!!(_0xb95f2e&_0x4496ed[_0x24444c([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xb765d4(_0x50b476){const _0x195267={[_0x24444c([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])]:_0x4b1e60};return!!_0x50b476['forbiddenHandler']&&_0x195267[_0x50b476['forbiddenHandler']]();}function _0x4b1e60(){return!window[_0x24444c([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x575b50(_0x39dc3b,_0x24444c([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0xa8d9b(_0x5277dd){if(!_0x575b50(_0x39dc3b,_0x5277dd[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x3a5328=_0x5277dd[_0x24444c([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0xb9851c=_0x3a5328[_0x24444c([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x125959=_0x3a5328[_0x24444c([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x3d8042=_0x3a5328[_0x24444c([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x575b50(_0x39dc3b,_0x24444c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x731e53(_0x39dc3b,_0x24444c([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x24444c([0x73,0x74,0x61,0x74,0x65])]==_0x24444c([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0xb9851c)return!0x0;if(_0x575b50(_0x39dc3b,_0x24444c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x731e53(_0x39dc3b,_0x24444c([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x24444c([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x24444c([0x65,0x6e,0x64])&&_0x125959)return!0x0;return!(!_0x575b50(_0x39dc3b,_0x24444c([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]))||_0x731e53(_0x39dc3b,_0x24444c([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]))[_0x24444c([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x24444c([0x65,0x6e,0x64])||!_0x3d8042);}function _0x575b50(_0x21db0f,_0x132f2e){return _0x21db0f[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x24444c([0x68,0x61,0x73])](_0x132f2e);}function _0x731e53(_0x1f4a48,_0x50039d){return _0x1f4a48[_0x24444c([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x24444c([0x67,0x65,0x74])](_0x50039d);}function _0x225ecf(_0x52971c){let _0x4cd3f0='';for(const _0x108730 of _0x52971c)_0x4cd3f0+=String[_0x24444c([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x108730);return _0x4cd3f0;}function _0x2c8d8a(_0x4090c2){const _0x420694=new Uint8Array(_0x4090c2[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x312a22=0x0;_0x312a22<_0x4090c2[_0x24444c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x312a22++)_0x420694[_0x312a22]=_0x4090c2[_0x24444c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x312a22);return _0x420694;}_0xe62dc2&&_0x3f6629(_0x208038(_0x284595),_0xe62dc2);})(_0x13ff24);}(this);}['createRevision'](_0x1b4c31){const _0x4b267f=this['editor']['plugins']['get']('Users');return new a({'id':_0x1b4c31['id'],'name':_0x1b4c31['name'],'creator':_0x1b4c31['creatorId']?_0x4b267f['getUser'](_0x1b4c31['creatorId']):null,'diffData':_0x1b4c31['diffData']||_0x1b4c31['data'],'authors':_0x1b4c31['authorsIds']['map'](_0x4f38f9=>_0x4b267f['getUser'](_0x4f38f9)),'createdAt':new Date(_0x1b4c31['createdAt']),'attributes':_0x1b4c31['attributes'],'fromVersion':_0x1b4c31['fromVersion'],'toVersion':_0x1b4c31['toVersion']});}['addRevision'](_0x13d239,_0x36160c=0x0){this['_revisions']['add'](_0x13d239,_0x36160c);}['getRevision'](_0x3374b3){return this['_revisions']['get'](_0x3374b3);}['getRevisions'](_0x4f849c={'toJSON':!0x1}){const _0x1b4f65=Array['from'](this['_revisions']);return _0x1b4f65['reverse'](),_0x4f849c['toJSON']?_0x1b4f65['map'](_0x8fd5b8=>_0x8fd5b8['toJSON']()):_0x1b4f65;}['getIndex'](_0x4816b9){return this['_revisions']['getIndex'](_0x4816b9);}['getEarlierVisibleRevision'](_0x41f9dd){const [,_0x560daf]=this['getRevisionsIterator'](_0x41f9dd,{'direction':'earlier'});return _0x560daf;}['getLaterVisibleRevision'](_0x12e9a5){const [,_0x294271]=this['getRevisionsIterator'](_0x12e9a5,{'direction':'later'});return _0x294271;}['getRevisionsInDiff'](_0xa67a15){const _0x5307ba=[];for(const _0x1a5b55 of this['getRevisionsIterator'](_0xa67a15['newRevisionId']))if(_0x5307ba['push'](_0x1a5b55),_0x1a5b55['id']===_0xa67a15['oldRevisionId'])break;return _0x5307ba;}*['getRevisionsIterator'](_0x47e1f6,{direction:_0x322e55='earlier',filter:_0x300846=_0x28924b=>!0x0}={}){const _0x2e61b9='earlier'===_0x322e55?0x1:-0x1;let _0x278687=this['_revisions']['get'](_0x47e1f6),_0x629331=this['getIndex'](_0x278687);for(yield _0x278687;_0x278687;){if(_0x629331+=_0x2e61b9,_0x278687=this['getRevision'](_0x629331),!_0x278687)return;_0x300846(_0x278687)&&(yield _0x278687);}}}function y(_0xb452f6,_0x4d7231,_0x54620f){const t=_0xb452f6['t'];switch(_0x4d7231){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'},_0x54620f);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x54620f);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':_0x11836d,'a':_0xd762ba,'e':_0x2ab6e4,'r':_0x47e883,'u':_0xce5410};class l extends _0x5be8fc{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x28a5da,A,_0x253efb];}constructor(_0x1e261b){super(_0x1e261b),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 _0xce4cc3=_0x2b22ca();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0xce4cc3},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 _0x3807a3=this['repository']['getRevision'](0x0),_0x167fe7=_0x3807a3&&null===_0x3807a3['creator']?_0x3807a3:null;if(this['_continueCurrentRevision']=!!_0x167fe7&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2aae03=this['_source']['getCurrentRevisionId'](),_0x4b4a58=this['repository']['getRevision'](_0x2aae03);if(_0x4b4a58)this['_startingVersion']=_0x4b4a58['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x1a72d3=this['_source']['history']['_operations']['find'](_0x5b3a2f=>!_0x5b3a2f['_isInit']),_0x44ba45=_0x1a72d3?_0x1a72d3['baseVersion']:this['_source']['history']['version'];_0x3807a3?(_0x3807a3['toVersion']<_0x44ba45&&_0x3807a3['_update']({'toVersion':_0x44ba45}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x167fe7['id'],this['_startingVersion']=_0x167fe7['fromVersion']):(this['_startingVersion']=_0x3807a3['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x44ba45,this['_continueCurrentRevision']=!0x1);}}else _0x167fe7&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x167fe7['toVersion'],this['editor']['model']['document']['history']['version']),_0x167fe7['fromVersion']===_0x167fe7['toVersion']?(0x0!==_0x167fe7['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x167fe7['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x167fe7['id'],this['_startingVersion']=_0x167fe7['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',_0x445a39=>!_0x445a39);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x5ed0d2=this['repository']['getRevision'](0x0),_0x1de84b=await this['getRevisionDocumentData'](_0x5ed0d2),_0x462af6=await this['getRevisionRootsAttributes'](_0x5ed0d2);this['_replaceEditorDataWithRevisionData'](_0x1de84b,_0x462af6);}}['setSource'](_0x542bf1){this['_source']=_0x542bf1;}async['update'](){const _0x374d5b=await this['_source']['getLatestVersion']();if(_0x374d5b>this['currentRevision']['toVersion']){await this['_loadState']();const _0x53e83f=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x374d5b});_0x53e83f['authors']=_0x53e83f['authorsIds']['map'](_0x2efe4c=>this['editor']['plugins']['get']('Users')['getUser'](_0x2efe4c)),this['currentRevision']['_update'](_0x53e83f);}}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'](_0x55d174={},_0x36e8bf=null){const _0x3a9234=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x36e8bf>this['currentRevision']['toVersion']&&(_0x36e8bf=null),null===_0x36e8bf&&(_0x36e8bf=await this['_source']['getLatestVersion']());const _0x41f10d=this['_getFromVersion'](_0x36e8bf),_0x66ffd7=this['buildRevisionData']({'from':_0x41f10d,'to':_0x36e8bf});if(this['currentRevision']['toVersion']<_0x36e8bf){const _0x6b85fa=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x36e8bf,'to':_0x36e8bf});_0x6b85fa['authors']=[],_0x6b85fa['authorsIds']=[],_0x6b85fa['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x6b85fa,!0x0),delete _0x6b85fa['authors'],_0x3a9234['push'](_0x6b85fa);}_0x55d174['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x55d174['name']=_0x55d174['name']||null,_0x55d174['id']=_0x55d174['id']||_0x2b22ca(),_0x55d174={..._0x55d174,..._0x66ffd7};const _0x1bccff=this['addRevisionData'](_0x55d174);_0x3a9234['push'](_0x55d174);const _0x1074d9=this['repository']['getIndex'](_0x1bccff);if(0x0!==_0x1074d9){const _0x2e54b3=this['repository']['getRevision'](_0x1074d9-0x1);if(_0x2e54b3['fromVersion']!==_0x36e8bf){const _0x405d85=this['_revisionDataBuilder']['getData'](_0x36e8bf,_0x2e54b3['toVersion']),_0xd19519={'id':_0x2e54b3['id'],'diffData':_0x405d85['diffData'],'authorsIds':_0x405d85['authorsIds'],'authors':_0x405d85['authorsIds']['map'](_0x54111d=>this['editor']['plugins']['get']('Users')['getUser'](_0x54111d)),'fromVersion':_0x36e8bf};_0x2e54b3===this['currentRevision']&&(_0xd19519['createdAt']=new Date(_0x55d174['createdAt']['getTime']()+0xa)),_0x2e54b3['_update'](_0xd19519,!0x0),delete _0xd19519['authors'],_0x3a9234['push'](_0xd19519);}}if(this['adapter']){for(const _0x49d12d of _0x3a9234)this['_bufferUpdate'](_0x49d12d['id'],_0x49d12d,!0x0);this['sendBufferedUpdates']();}return _0x1bccff;}['addRevisionData'](_0x1ab948){const _0x11f946=this['repository']['createRevision'](_0x1ab948);return this['adapter']&&_0x11f946['on']('_update',(_0x34e23b,_0x1ed8cc,_0x308d45)=>{_0x308d45||(this['_bufferUpdate'](_0x1ed8cc['id'],_0x1ed8cc,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x11f946,this['_findInsertionIndex'](_0x11f946)),_0x11f946;}async['getRevisionDocumentData'](_0x3d1d12){await this['_loadRevisionData'](_0x3d1d12);const _0x3a8465={};for(const _0x479a64 in _0x3d1d12['diffData']){if(_0x3d1d12['diffData'][_0x479a64]['attachChange']&&!_0x3d1d12['diffData'][_0x479a64]['attachChange']['isAttached'])continue;const _0x2006b6=this['_removeRevisionMarkers'](JSON['parse'](_0x3d1d12['diffData'][_0x479a64]['insertions'])),_0xe2ebb8=this['editor']['editing']['view']['document'],_0xd49725=new _0x3ee4e8(_0xe2ebb8,_0x2006b6['map'](_0x192e65=>B(_0x192e65,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x3a8465[_0x479a64]=this['editor']['data']['processor']['toData'](_0xd49725),this['editor']['data']['processor']['useFillerType']('default');}return _0x3a8465;}async['getRevisionRootsAttributes'](_0x23fcb0){await this['_loadRevisionData'](_0x23fcb0);const _0x5554d0={};for(const _0x543d42 in _0x23fcb0['diffData'])_0x23fcb0['diffData'][_0x543d42]['attachChange']&&!_0x23fcb0['diffData'][_0x543d42]['attachChange']['isAttached']||(_0x5554d0[_0x543d42]=_0x23fcb0['diffData'][_0x543d42]['attributesAfter']||{});return _0x5554d0;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3f11ad=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x8e610d=0x0;_0x8e610d<_0x3f11ad['length'];_0x8e610d++){const _0x14efa4=_0x3f11ad[_0x8e610d];let _0xfbd7d=!0x1;for(const _0x4959e7 of Object['keys'](_0x14efa4))void 0x0===_0x14efa4[_0x4959e7]?delete _0x14efa4[_0x4959e7]:'id'!==_0x4959e7&&(_0xfbd7d=!0x0);_0xfbd7d||(_0x3f11ad[_0x8e610d]=null);}if(_0x3f11ad=_0x3f11ad['filter'](_0x399afd=>null!==_0x399afd),!_0x3f11ad['length'])return;for(let _0x5afee4=0x0;_0x5afee4<_0x3f11ad['length'];_0x5afee4++){const _0x10b879=_0x3f11ad[_0x5afee4];void 0x0!==_0x10b879['fromVersion']&&void 0x0===_0x10b879['toVersion']&&(_0x10b879['toVersion']=this['repository']['getRevision'](_0x10b879['id'])['toVersion']),void 0x0!==_0x10b879['toVersion']&&void 0x0===_0x10b879['fromVersion']&&(_0x10b879['fromVersion']=this['repository']['getRevision'](_0x10b879['id'])['fromVersion']);}const _0x5c7523=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3f11ad,_0x5c7523)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x266b29=>{if(_0x266b29){for(const _0x270e5e of _0x266b29)this['setRevisionData']({'id':_0x270e5e['id'],'createdAt':_0x270e5e['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x55691b,_0xc7918){let _0x2f9d63=this['editor']['config']['get']('initialData'),_0x223cf9=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x2f9d63){_0x2f9d63={};for(const _0x5ec105 of this['editor']['model']['document']['getRootNames']())_0x2f9d63[_0x5ec105]='';}if('string'==typeof _0x2f9d63&&(_0x2f9d63={'main':_0x2f9d63}),void 0x0===_0x223cf9){_0x223cf9={};for(const _0x4fe60f of this['editor']['model']['document']['getRootNames']())_0x223cf9[_0x4fe60f]={};}let _0x46f675=!0x1;const _0x541b2d=Object['keys'](_0x2f9d63),_0x46683e=Object['keys'](_0x55691b);for(const _0x34596b of _0x541b2d){if(_0x2f9d63[_0x34596b]!==_0x55691b[_0x34596b]&&''!==_0x2f9d63[_0x34596b]['trim']()){_0x46f675=!0x0;break;}if(!_0x5130cc(_0x223cf9[_0x34596b],_0xc7918[_0x34596b])&&Object['keys'](_0x223cf9[_0x34596b])['length']>0x0){_0x46f675=!0x0;break;}}_0x46f675||(_0x46f675=_0x46683e['some'](_0x19a130=>!this['editor']['model']['document']['getRoot'](_0x19a130))),_0x46f675&&_0x28ec26('editor-initial-data-replaced-with-revision-data',{'editorData':_0x2f9d63,'editorRootsAttributes':_0x223cf9,'revisionData':_0x55691b,'revisionRootsAttributes':_0xc7918}),this['editor']['config']['set']('initialData',_0x55691b),this['editor']['config']['set']('rootsAttributes',_0xc7918);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x3534d7=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x3534d7['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5eebbe){const _0x2c4038=this['repository']['getRevisions']();_0x2c4038['reverse']();let _0x4ebe88=0x0;for(;_0x4ebe88<_0x2c4038['length'];){const _0x4120d2=_0x2c4038[_0x4ebe88];if(_0x4120d2===this['currentRevision']){_0x4ebe88++;continue;}if(_0x4120d2['id']===this['_initialRevisionId'])break;const _0xccedf2=_0x5eebbe['toVersion']-_0x4120d2['toVersion']||_0x5eebbe['fromVersion']-_0x4120d2['fromVersion'];if(_0xccedf2>0x0)break;if(_0xccedf2<0x0)_0x4ebe88++;else{if(!_0x5eebbe['creator']&&_0x4120d2['creator'])break;if(_0x4120d2['creator']||!_0x5eebbe['creator']){if(_0x5eebbe['createdAt']>_0x4120d2['createdAt'])break;_0x4ebe88++;}else _0x4ebe88++;}}return _0x4ebe88;}['setRevisionData'](_0x507901){const _0x2c9796=this['repository']['getRevision'](_0x507901['id']);if(_0x507901['createdAt']&&(_0x507901['createdAt']=new Date(_0x507901['createdAt'])),_0x507901['authorsIds']){const _0x15087b=this['editor']['plugins']['get']('Users');_0x507901['authors']=_0x507901['authorsIds']['map'](_0x75ef2a=>_0x15087b['getUser'](_0x75ef2a));}_0x2c9796['_update'](_0x507901,!0x0);}['buildRevisionData']({revision:_0x413ff5=null,from:_0x385c23=null,to:_0x3e7615=null}){_0x385c23=null!==_0x385c23?_0x385c23:_0x413ff5['fromVersion'],_0x3e7615=null!==_0x3e7615?_0x3e7615:_0x413ff5['toVersion'];const _0xf31dde=this['_revisionDataBuilder']['getData'](_0x385c23,_0x3e7615),_0x4dd1df={'diffData':_0xf31dde['diffData'],'authorsIds':_0xf31dde['authorsIds'],'fromVersion':_0x385c23,'toVersion':_0x3e7615};if(!_0x413ff5||_0x3e7615!==_0x413ff5['toVersion']){const _0x453ed2=_0x3e7615-0x1,_0x4c3285=this['_source']['history']['getOperation'](_0x453ed2);_0x4dd1df['createdAt']=_0x4c3285&&_0x4c3285['createdAt']||new Date();}if(this['_loadedStateData']&&_0x385c23===this['_loadedStateData']['fromVersion']){for(const _0x40fc1c of this['_loadedStateData']['authors'])_0x4dd1df['authorsIds']['includes'](_0x40fc1c['id'])||_0x4dd1df['authorsIds']['push'](_0x40fc1c['id']);}return _0x4dd1df;}['_loadRevisionData'](_0x2abcdf){if(!_0x2abcdf||_0x2abcdf['diffData'])return Promise['resolve']();{const _0x3ef4b8=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x3ef4b8,'revisionId':_0x2abcdf['id']})['then'](_0x34f591=>{_0x2abcdf['diffData']=_0x34f591['diffData'];});}}['_bufferUpdate'](_0x32e4f4,_0x56fd1b,_0x1dd000){if(this['_bufferedUpdates']['has'](_0x32e4f4)){const _0x28f933=this['_bufferedUpdates']['get'](_0x32e4f4);_0x56fd1b=_0x1dd000?{..._0x28f933,..._0x56fd1b}:{..._0x56fd1b,..._0x28f933};}this['_bufferedUpdates']['set'](_0x32e4f4,_0x56fd1b);}['_getFromVersion'](_0x404174){const _0x12965c=this['repository']['getRevisions']();_0x12965c['reverse'](),_0x12965c['shift']();const _0x3e1262=_0x12965c['find'](_0x2d9650=>_0x2d9650['toVersion']<=_0x404174)['toVersion'];return _0x3e1262<this['_startingVersion']?this['_startingVersion']:_0x3e1262;}['_createInitialRevision'](_0x57acf4){const _0x2c3d08=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2c3d08)this['_initialRevisionId']=_0x2c3d08['id'];else{const _0x48b8d4=!this['editor']['model']['document']['roots']['find'](_0x288e8a=>this['editor']['model']['hasContent'](_0x288e8a)),_0x5cf101=this['editor']['plugins']['get']('Users')['me']['id'],_0x2a5e0a=y(this['editor']['locale'],_0x48b8d4?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x57acf4,'to':_0x57acf4,'id':this['_initialRevisionId'],'name':_0x2a5e0a,'creatorId':_0x5cf101});}}['_createCurrentRevision'](_0xaf8e36){const _0x45c6b6=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x45c6b6),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0xaf8e36,'to':_0xaf8e36,'id':_0x45c6b6,'name':'','creatorId':null}));}['_makeRevision']({name:_0x19db97,from:_0x2c0ff6,to:_0x38a6c3,creatorId:_0x5e445f,id:_0x45136e}){const _0x1ef557=this['buildRevisionData']({'from':_0x2c0ff6,'to':_0x38a6c3});_0x1ef557['name']=_0x19db97,_0x1ef557['creatorId']=_0x5e445f,_0x1ef557['id']=_0x45136e;const _0x19fab6=this['addRevisionData'](_0x1ef557);return this['adapter']&&this['_bufferUpdate'](_0x1ef557['id'],_0x1ef557,!0x0),_0x19fab6;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x3c41d4){return(_0x3c41d4=_0x3c41d4['filter'](_0xc9d0e8=>!_0xc9d0e8['name']||'revision-start'!==_0xc9d0e8['name']&&'revision-end'!==_0xc9d0e8['name']))['forEach'](_0x384576=>{'string'!=typeof _0x384576&&(_0x384576['children']=this['_removeRevisionMarkers'](_0x384576['children']),_0x384576['attributes']=_0x384576['attributes']['filter'](_0x1fd822=>!_0x1fd822[0x0]['startsWith']('data-revision-')));}),_0x3c41d4;}}function B(_0x5a70b5,_0x1a3ecb){const _0x5a3279=_0x1a3ecb['editing']['view']['document'];if('string'==typeof _0x5a70b5)return new _0x1b48bf(_0x5a3279,_0x5a70b5);{const _0x45d721=_0x5a70b5['children']['map'](_0x231cbe=>B(_0x231cbe,_0x1a3ecb));return new(T[_0x5a70b5['type']]||_0x5e0cca)(_0x5a3279,_0x5a70b5['name'],_0x5a70b5['attributes'],_0x45d721);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x230efe){this['editor']=_0x230efe,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'](_0x463bcc){this['source']=_0x463bcc;const _0x4aae76=new Map(),_0xc309c7=new Map(),_0x539e7a=this['editor']['model']['document']['roots']['map'](_0x455954=>_0x455954['rootName']);for(const _0x3b7e38 of _0x539e7a){const _0x44006c=this['editor']['model']['document']['getRoot'](_0x3b7e38),_0x24c137=q(_0x44006c);_0x4aae76['set'](_0x3b7e38,_0x24c137),_0xc309c7['set'](_0x3b7e38,Object['fromEntries'](_0x44006c['getAttributes']()));}const _0x1a5e72=Array['from'](this['editor']['model']['markers'])['map'](_0x5ccd5d=>[_0x5ccd5d['name'],_0x5ccd5d['getRange']()]),_0x27e285=this['source']['version'];this['_saveMetaData'](_0x27e285,_0x4aae76,_0x1a5e72,_0xc309c7),this['_startingRevisionId']=this['_revisionId'];const _0x3b5ad4=new Map(),_0x455c35=new Map();for(const _0x4230fc of _0x539e7a){const _0x5cac73=G(_0x4230fc);_0x3b5ad4['set'](_0x4230fc,_0x5cac73),_0x455c35['set'](_0x4230fc,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3b5ad4,[],_0x455c35);}['getData'](_0x7f3d61,_0x3fe2f9){if(this['_lastFrom']===_0x7f3d61&&this['_lastTo']<=_0x3fe2f9)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x3fe2f9,!0x0);else{if(!this['_savedMetaData']['has'](_0x7f3d61)){const _0x300bc0=this['_getPreviousFrom'](_0x7f3d61);this['_calculateMetaData'](_0x300bc0,_0x7f3d61,!0x1);}this['_calculateMetaData'](_0x7f3d61,_0x3fe2f9,!0x0);}return this['_lastFrom']=_0x7f3d61,this['_lastTo']=_0x3fe2f9,this['_getState']();}['loadState'](_0xe5e22b){this['_reset'](),this['_lastFrom']=_0xe5e22b['fromVersion'],this['_lastTo']=_0xe5e22b['toVersion'];for(const _0x455941 in _0xe5e22b['diffData']){const _0x5187a0=_0xe5e22b['diffData'][_0x455941]['attachChange'],_0xe01a1a=_0xcc2041(_0xe5e22b['diffData'][_0x455941]['attributesBefore'])||{},_0xdb606b=this['_makeModelFromViewString'](_0xe5e22b['diffData'][_0x455941]['deletions']);_0xdb606b['rootName']=_0x455941,_0xdb606b['_isAttached']=!_0x5187a0||!_0x5187a0['isAttached'],_0xdb606b['isAttached']=()=>_0xdb606b['_isAttached'],this['_baseRoots']['set'](_0x455941,_0xdb606b),this['_baseRootsAttributes']['set'](_0x455941,_0xe01a1a),_0x5187a0&&this['_touchedRoots']['set'](_0x455941,_0x5187a0);const _0xcd79f5=this['_makeIdsRoot'](_0xdb606b);this['_baseIdsRoots']['set'](_0x455941,_0xcd79f5);for(const [_0x5c3857,_0x4758e4]of _0xdb606b['markers']){if(!_0x5c3857['startsWith']('revision:'))continue;const _0x302791=_0x5c3857['split'](':')[0x2];for(const _0xa887e of _0x4758e4['getWalker']({'singleCharacters':!0x0})){const _0x248e3c=this['_getVidAttributeName'](_0xa887e),_0x4cfc29='elementEnd'==_0xa887e['type']?_0xa887e['previousPosition']['path']['slice'](0x0,-0x1):_0xa887e['previousPosition']['path'],_0x2cf062=_0xcd79f5['getNodeByPath'](_0x4cfc29)['getAttribute'](_0x248e3c);this['_touched']['set'](_0x2cf062,{'userId':_0x302791});}}}this['_startingRevisionId']=this['_revisionId'];const _0x3cf23f=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x899b66=>!this['_touched']['has'](_0x899b66));let _0x543a06=0x0;const _0x3becb3=new Map();for(const _0x4e7d50 in _0xe5e22b['diffData']){const _0x5b1904=_0xe5e22b['diffData'][_0x4e7d50]['attachChange'],_0x145903=_0xcc2041(_0xe5e22b['diffData'][_0x4e7d50]['attributesAfter'])||{},_0x5f5876=this['_makeModelFromViewString'](_0xe5e22b['diffData'][_0x4e7d50]['insertions']);_0x5f5876['rootName']=_0x4e7d50,_0x5f5876['_isAttached']=!_0x5b1904||_0x5b1904['isAttached'],_0x5f5876['isAttached']=()=>_0x5f5876['_isAttached'],this['_diffRoots']['set'](_0x4e7d50,_0x5f5876),this['_diffRootsAttributes']['set'](_0x4e7d50,_0x145903);const _0x3daaa3=this['_makeIdsRoot'](_0x5f5876,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x4e7d50,_0x3daaa3),_0x3becb3['set'](_0x4e7d50,_0x5f5876['isAttached']()?_0x145903:{});for(const [_0x44c7d6,_0x3b61a0]of _0x5f5876['markers']){if(!_0x44c7d6['startsWith']('revision:'))continue;const _0x4f5ef2=_0x44c7d6['split'](':')[0x2];for(const _0x4a817e of _0x3b61a0['getWalker']({'singleCharacters':!0x0})){const _0x25d28f=this['_getVidAttributeName'](_0x4a817e),_0x1fbcd1=this['_revisionId']++,_0x49bf6c='elementEnd'==_0x4a817e['type']?_0x4a817e['previousPosition']['path']['slice'](0x0,-0x1):_0x4a817e['previousPosition']['path'];_0x3daaa3['getNodeByPath'](_0x49bf6c)['_setAttribute'](_0x25d28f,_0x1fbcd1),this['_touched']['set'](_0x1fbcd1,{'userId':_0x4f5ef2});}}for(const _0xad74d8 of this['editor']['model']['createRangeIn'](_0x5f5876)['getWalker']({'singleCharacters':!0x0})){const _0x22e467=this['_getVidAttributeName'](_0xad74d8),_0x11741e='elementEnd'==_0xad74d8['type']?_0xad74d8['previousPosition']['path']['slice'](0x0,-0x1):_0xad74d8['previousPosition']['path'],_0x5cb684=_0x3daaa3['getNodeByPath'](_0x11741e);_0x5cb684['getAttribute'](_0x22e467)>0x0||_0x5cb684['_setAttribute'](_0x22e467,_0x3cf23f[_0x543a06++]);}for(const [_0x9ca51d,_0x1bd64e]of _0x5f5876['markers'])_0x9ca51d['startsWith']('revision:')||this['_markers']['set'](_0x9ca51d,_0x1bd64e);}const _0x2631b8=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x2631b8),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2631b8,0x1));const _0x55bea8=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x55bea8),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x55bea8,0x1));const _0x28e051=Array['from'](this['_diffRoots'])['map'](([_0x13bc4a,_0x16204a])=>[_0x13bc4a,q(_0x16204a)]);this['_saveMetaData'](this['_lastTo'],_0x28e051,this['_markers'],_0x3becb3);}['_makeModelFromViewString'](_0x2c9222){const _0x8e3989=JSON['parse'](_0x2c9222),_0x42350d=this['editor']['editing']['view']['document'],_0x5573d7=new _0x3ee4e8(_0x42350d,_0x8e3989['map'](_0xaee1c5=>B(_0xaee1c5,this['editor'])));return this['editor']['data']['toModel'](_0x5573d7);}['_saveMetaData'](_0x590c80,_0x28a14d,_0x29e90c,_0x3edd90){const _0x476de7=new Map(_0x28a14d),_0xf1d464=new Map(_0xcc2041(_0x3edd90)),_0x1d6cc5=new Map();for(const [_0x37c566,_0x204877]of _0x29e90c)_0x1d6cc5['set'](_0x37c566,{'start':_0x204877['start']['clone'](),'end':_0x204877['end']['clone'](),'rootName':_0x204877['root']['rootName']});this['_savedMetaData']['set'](_0x590c80,{'roots':_0x476de7,'markers':_0x1d6cc5,'rootsAttributes':_0xf1d464});}['_removeMetaData'](_0x57cdfa){this['_savedMetaData']['delete'](_0x57cdfa);}['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'](_0x6e1f6e,_0xf84b32=null){let _0x30b404=null;_0x6e1f6e['is']('documentFragment')||(_0x30b404=new ft(_0x6e1f6e['name'],{'vid_start':null===_0xf84b32?this['_revisionId']++:_0xf84b32++}));const _0x5b2836=[];for(const _0x201729 of _0x6e1f6e['getChildren']())if(_0x201729['is']('element')){_0x5b2836['push'](this['_makeIdsRoot'](_0x201729,_0xf84b32));const _0x208825=_0x5b2836[_0x5b2836['length']-0x1];null!==_0xf84b32&&(_0xf84b32=_0x208825['is']('element','$text')?_0x208825['getAttribute']('vid')+0x1:_0x208825['getAttribute']('vid_end')+0x1);}else{for(let _0x9ce340=0x0;_0x9ce340<_0x201729['offsetSize'];_0x9ce340++)_0x5b2836['push'](new ft('$text',{'vid':null===_0xf84b32?this['_revisionId']++:_0xf84b32++}));}if(_0x6e1f6e['is']('documentFragment')){const _0x39b068=G(_0x6e1f6e['rootName']);return _0x39b068['_insertChild'](0x0,_0x5b2836),_0x39b068;}return _0x30b404['_setAttribute']('vid_end',null===_0xf84b32?this['_revisionId']++:_0xf84b32++),_0x30b404['_insertChild'](0x0,_0x5b2836),_0x30b404;}['_calculateMetaData'](_0x100690,_0x26b3a4,_0x715b31){this['_reset']();const {roots:_0x2b8ac3,markers:_0x4c6ebe,rootsAttributes:_0x13b93d}=this['_savedMetaData']['get'](_0x100690);this['_baseRoots']=new Map(_0x2b8ac3),this['_baseRootsAttributes']=new Map(_0xcc2041(_0x13b93d));for(const [_0x80d24,_0x2fbb47]of this['_baseRoots'])if('$graveyard'!==_0x80d24&&(this['_diffRoots']['set'](_0x80d24,q(_0x2fbb47)),this['_diffRootsAttributes']=new Map(_0xcc2041(_0x13b93d)),_0x715b31)){const _0x1e7e05=this['_revisionId'];this['_idsRoots']['set'](_0x80d24,this['_makeIdsRoot'](_0x2fbb47)),this['_baseIdsRoots']['set'](_0x80d24,this['_makeIdsRoot'](_0x2fbb47,_0x1e7e05));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x715b31&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x3ebd22,_0x1a78c4]of _0x4c6ebe){const _0x2d70f9=this['_baseRoots']['get'](_0x1a78c4['rootName']),_0x9f972d=this['_diffRoots']['get'](_0x1a78c4['rootName']),_0x445916=new vt(this['_fixPosition'](_0x1a78c4['start'],_0x2d70f9),this['_fixPosition'](_0x1a78c4['end'],_0x2d70f9)),_0x3925ec=this['_fixRange'](_0x445916,_0x9f972d);_0x2d70f9['markers']['set'](_0x3ebd22,_0x445916),this['_markers']['set'](_0x3ebd22,_0x3925ec);}this['_applyOperations'](_0x100690,_0x26b3a4,_0x715b31);}['_applyOperations'](_0x3e1443,_0x10ac9a,_0x93cc31){for(const _0x7b3819 of this['source']['getOperations'](_0x3e1443,_0x10ac9a))this['_handleOperation'](_0x7b3819,_0x93cc31);for(const _0xd0615a of this['_diffRoots']['values']())_0xd0615a['markers']['clear']();for(const [_0x572a5e,_0x405a9b]of this['_markers']){this['_diffRoots']['get'](_0x405a9b['root']['rootName'])['markers']['set'](_0x572a5e,_0x405a9b['clone']());}const _0x527c12=new Map(),_0x42a074=new Map();for(const [_0x84145e,_0xae899d]of this['_diffRoots'])_0x527c12['set'](_0x84145e,q(_0xae899d)),_0x42a074['set'](_0x84145e,this['_diffRootsAttributes']['get'](_0x84145e));this['_saveMetaData'](_0x10ac9a,_0x527c12,this['_markers'],_0x42a074);}['_getPreviousFrom'](_0x39b2ba){const _0x511eca=Array['from'](this['_savedMetaData']['keys']());_0x511eca['sort']((_0x36b5ee,_0x4302c8)=>_0x36b5ee-_0x4302c8),_0x511eca['reverse']();for(const _0x273996 of _0x511eca)if(_0x273996<_0x39b2ba)return _0x273996;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0xc16145,_0x5881b4){const _0x2d7e7e=Array['from'](_0x5881b4['markers'])['map'](([_0x46aa70,_0xeb295f])=>[_0x46aa70,this['_fixRange'](_0xeb295f,_0xc16145)]);_0xc16145['markers']=new Map(_0x2d7e7e);}['_transformMarkers'](_0x336e36){for(const _0x23db1b of this['_markers']['values']()){const _0x38d783=_0x23db1b['getTransformedByOperation'](_0x336e36),_0x36da73=vt['_createFromRanges'](_0x38d783);_0x23db1b['start']=_0x36da73['start'],_0x23db1b['end']=_0x36da73['end'];}}['_handleOperation'](_0x2a5997,_0x55b469){if('addRoot'==_0x2a5997['type']||'detachRoot'==_0x2a5997['type'])return void this['_handleRootOperation'](_0x2a5997,_0x55b469);if('insert'==_0x2a5997['type']){const _0x270dcc=_0x2a5997['position']['root']['rootName'];this['_diffRoots']['has'](_0x270dcc)||(this['_diffRoots']['set'](_0x270dcc,G(_0x270dcc,!0x0)),this['_diffRootsAttributes']['set'](_0x270dcc,{}),_0x55b469&&this['_idsRoots']['set'](_0x270dcc,G(_0x270dcc,!0x0)));}else{if('addRootAttribute'==_0x2a5997['type']||'removeRootAttribute'==_0x2a5997['type']||'changeRootAttribute'==_0x2a5997['type'])return void this['_handleRootAttributeOperation'](_0x2a5997);}const _0x3716a1=this['_cloneOperation'](_0x2a5997,this['_diffRoots']);if('marker'!==_0x2a5997['type']&&(_0x3716a1['_execute'](),this['_transformMarkers'](_0x3716a1)),_0x55b469)switch(_0x3716a1['type']){case'insert':this['_handleInsertOperation'](_0x2a5997);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x2a5997);break;case'merge':this['_handleMergeOperation'](_0x2a5997);break;case'split':this['_handleSplitOperation'](_0x2a5997);break;case'marker':this['_handleMarkerOperation'](_0x2a5997);}}['_cloneOperation'](_0x4aa943,_0xc6ab1b){const _0x5b97bb=_0x4aa943['clone']();return _0x5b97bb['_authorId']=_0x4aa943['_authorId'],this['_fixOperation'](_0x5b97bb,_0xc6ab1b),_0x5b97bb;}['_getBaseVids'](_0x2a15b9){return _0x2a15b9['map'](_0x32824a=>{const _0x33ec14=this['_getVidAttributeName'](_0x32824a);return Number(_0x32824a['item']['getAttribute'](_0x33ec14));});}['_generateTape'](_0x36e774,_0x211bda){if(_0x36e774['is']('element','$text'))_0x211bda['push']({'item':_0x36e774,'type':'text'});else{_0x36e774['is']('element')&&_0x211bda['push']({'item':_0x36e774,'type':'elementStart'});for(const _0x2711c2 of _0x36e774['getChildren']())this['_generateTape'](_0x2711c2,_0x211bda);_0x36e774['is']('element')&&_0x211bda['push']({'item':_0x36e774,'type':'elementEnd'});}return _0x211bda;}['_getState'](){const _0x3303c7=new Map(this['_touched']),_0x24426e=new Map(_0x3303c7),_0x51ac6d=new Map(),_0x3b3ac1={'insertions':{},'deletions':{}},_0x4e94c5={'insertions':{},'deletions':{}},_0x37f1f1=new Map(),_0x4b8cd8=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x4b8cd8['delete']('$graveyard');for(const _0x42ef3c of _0x4b8cd8){const _0x49cd2e=this['_diffRoots']['get'](_0x42ef3c)||G(_0x42ef3c,!0x1),_0xdbe70f=this['_baseRoots']['get'](_0x42ef3c)||G(_0x42ef3c,!0x1);_0x49cd2e['isAttached']()||_0xdbe70f['isAttached']()?(_0x3b3ac1['insertions'][_0x42ef3c]=q(_0x49cd2e),_0x3b3ac1['deletions'][_0x42ef3c]=q(_0xdbe70f),this['_copyMarkers'](_0x3b3ac1['deletions'][_0x42ef3c],_0xdbe70f),this['_copyMarkers'](_0x3b3ac1['insertions'][_0x42ef3c],_0x49cd2e),_0x4e94c5['insertions'][_0x42ef3c]=this['_generateTape'](this['_idsRoots']['get'](_0x42ef3c),[]),_0x4e94c5['deletions'][_0x42ef3c]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x42ef3c)||G(_0x42ef3c,!0x1),[])):_0x4b8cd8['delete'](_0x42ef3c);}for(const _0x19a345 of _0x4b8cd8){const _0xbb0176=_0x4e94c5['insertions'][_0x19a345];for(const _0x249d73 of _0xbb0176){const _0x3c021a=this['_getVidAttributeName'](_0x249d73),_0x3c8cd0=_0x249d73['item']['getAttribute'](_0x3c021a);_0x24426e['delete'](_0x3c8cd0),_0x3c8cd0>=this['_startingRevisionId']&&_0x51ac6d['set'](_0x3c8cd0,_0x3303c7['get'](_0x3c8cd0));}}for(const _0x4d1be9 of _0x4b8cd8){const _0x544fac=_0x4e94c5['insertions'][_0x4d1be9],_0x488213=this['_getBaseVids'](_0x4e94c5['deletions'][_0x4d1be9]);let _0x51f4c8=0x0;for(const _0x564c2a of _0x544fac){const _0x2273ae=this['_getVidAttributeName'](_0x564c2a),_0x4c6d7a=_0x564c2a['item']['getAttribute'](_0x2273ae);if(!_0x51ac6d['has'](_0x4c6d7a)&&!_0x37f1f1['has'](_0x4c6d7a)){if(_0x24426e['has'](_0x4c6d7a))_0x51f4c8++;else{if(_0x4c6d7a!=_0x488213[_0x51f4c8]){const _0xc08fac=_0x3303c7['get'](_0x4c6d7a)||_0x3303c7['get'](_0x488213[_0x51f4c8]);for(;_0x4c6d7a!=_0x488213[_0x51f4c8];)_0x24426e['has'](_0x488213[_0x51f4c8])||(_0x37f1f1['set'](_0x488213[_0x51f4c8],_0xc08fac),_0x3303c7['set'](_0x488213[_0x51f4c8],_0xc08fac)),_0x51f4c8++;}_0x51f4c8++;}}}}for(const _0x4daf44 of _0x4b8cd8){const _0x4a5180=_0x4e94c5['insertions'][_0x4daf44];for(const _0x45772e of _0x4a5180){const _0x11231f=this['_getVidAttributeName'](_0x45772e),_0x374834=_0x45772e['item']['getAttribute'](_0x11231f);if(_0x37f1f1['has'](_0x374834)){const _0x475d6d=_0x37f1f1['get'](_0x374834);_0x24426e['has'](_0x374834)||_0x24426e['set'](_0x374834,{..._0x475d6d}),_0x51ac6d['set'](_0x374834,{..._0x475d6d});}}}for(const _0x31c8e0 of _0x24426e['keys']())_0x31c8e0>=this['_startingRevisionId']&&_0x24426e['delete'](_0x31c8e0);const _0x4b23f8=new Map();for(const _0xe2e20e of _0x4b8cd8){let _0x169378=_0x4e94c5['insertions'][_0xe2e20e];for(const _0x5b8715 of _0x169378)if(_0x5b8715['item']['is']('element','tableCell')){const _0x5d2efc=this['_getVidAttributeName'](_0x5b8715),_0x600e11=_0x5b8715['item']['getAttribute'](_0x5d2efc);if(_0x51ac6d['has'](_0x600e11)){const _0x49fa10=_0x5b8715['item']['parent']['parent']['getAttribute']('vid_start'),_0x509070=_0x4b23f8['get'](_0x49fa10)||new Set();_0x509070['add'](_0x51ac6d['get'](_0x600e11)['userId']),_0x4b23f8['set'](_0x49fa10,_0x509070);}}_0x169378=_0x4e94c5['deletions'][_0xe2e20e];for(const _0x5e2187 of _0x169378)if(_0x5e2187['item']['is']('element','tableCell')){const _0x51cdee=this['_getVidAttributeName'](_0x5e2187),_0x205e5f=_0x5e2187['item']['getAttribute'](_0x51cdee);if(_0x24426e['has'](_0x205e5f)){const _0x39ac82=_0x5e2187['item']['parent']['parent']['getAttribute']('vid_start'),_0x241628=_0x4b23f8['get'](_0x39ac82)||new Set();_0x241628['add'](_0x24426e['get'](_0x205e5f)['userId']),_0x4b23f8['set'](_0x39ac82,_0x241628);}}for(const _0x5daa1b of _0x4b23f8['keys']())(_0x51ac6d['has'](_0x5daa1b)||_0x24426e['has'](_0x5daa1b))&&_0x4b23f8['delete'](_0x5daa1b);}for(const _0x535f78 of _0x4b8cd8){const _0x36c762=_0x4e94c5['insertions'][_0x535f78];let _0x11522f=null,_0x40f397=null;for(const _0x5b0ec8 of _0x36c762){const _0x2270ee=this['_getVidAttributeName'](_0x5b0ec8),_0x222d8a=_0x5b0ec8['item']['getAttribute'](_0x2270ee),_0x308415=_0x4b23f8['get'](_0x222d8a);_0x308415&&'elementStart'==_0x5b0ec8['type']&&(_0x11522f=Array['from'](_0x308415)[0x0],_0x40f397=_0x5b0ec8['item']['getAttribute']('vid_end')),_0x11522f&&(_0x24426e['set'](_0x222d8a,{'userId':_0x11522f}),_0x51ac6d['set'](_0x222d8a,{'userId':_0x11522f})),_0x222d8a==_0x40f397&&(_0x11522f=null,_0x40f397=null);}}const _0x570f6a={},_0x154512=new Set();for(const _0x55b5ec of _0x4b8cd8){const _0x195a47=_0x3b3ac1['deletions'][_0x55b5ec],_0x4b3245=_0x3b3ac1['insertions'][_0x55b5ec];for(const {userId:_0xfad2bd}of this['_touchedMarkers']['values']())null!==_0xfad2bd&&_0x154512['add'](_0xfad2bd);for(const {userId:_0x4749f7}of this['_touchedRoots']['values']())null!==_0x4749f7&&_0x154512['add'](_0x4749f7);this['_markChanges'](_0x4b3245,_0x4e94c5['insertions'][_0x55b5ec],_0x51ac6d,'insertion',_0x154512),this['_markChanges'](_0x195a47,_0x4e94c5['deletions'][_0x55b5ec],_0x24426e,'deletion',_0x154512),_0x570f6a[_0x55b5ec]={'insertions':this['_prepareViewToSave'](_0x4b3245),'deletions':this['_prepareViewToSave'](_0x195a47),'attachChange':this['_touchedRoots']['get'](_0x55b5ec)||null,'attributesBefore':_0xcc2041(this['_baseRootsAttributes']['get'](_0x55b5ec))||{},'attributesAfter':_0xcc2041(this['_diffRootsAttributes']['get'](_0x55b5ec))};}return{'diffData':_0x570f6a,'authorsIds':Array['from'](_0x154512)};}['_processRootBeforeSave'](_0x56ef23){for(const [,_0x4628ad]of _0x56ef23['markers']){const _0x3a0bac=_0x4628ad['start']['getAncestors']()['filter'](_0x167d2d=>'tableCell'==_0x167d2d['name']);for(const _0x299de5 of _0x3a0bac)0x1==_0x299de5['childCount']&&_0x299de5['getChild'](0x0)['is']('element','paragraph')&&_0x299de5['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x42ccfd){this['_processRootBeforeSave'](_0x42ccfd);const _0x5d6f9b=this['editor']['data']['toView'](_0x42ccfd,{}),_0x3da976=Array['from'](_0x5d6f9b['getChildren']())['map'](_0x5f10d1=>this['_getViewJson'](_0x5f10d1));return JSON['stringify'](_0x3da976);}['_getViewJson'](_0x5bb97e){if(_0x5bb97e['is']('$text'))return _0x5bb97e['data'];{const _0x4b06a3=_0x5bb97e;return{'type':Object['keys'](T)['find'](_0x568c16=>_0x5bb97e instanceof T[_0x568c16]),'name':_0x4b06a3['name'],'attributes':Array['from'](_0x4b06a3['getAttributes']()),'children':Array['from'](_0x4b06a3['getChildren']())['map'](_0x2b141f=>this['_getViewJson'](_0x2b141f))};}}['_markChanges'](_0x42b56d,_0x55d85e,_0x39b738,_0x12f2f7,_0x3d87a3){let _0x876a57=null,_0x2a73ac=null,_0x546d34=0x0;const _0x21166e=this['editor']['model'];for(let _0x484dac=0x0;_0x484dac<_0x55d85e['length'];_0x484dac++){const _0x55ee8a=this['_getVidAttributeName'](_0x55d85e[_0x484dac]),_0x3cf57f=_0x55d85e[_0x484dac]['item']['getAttribute'](_0x55ee8a),_0x431c0e=_0x39b738['get'](_0x3cf57f),_0x26f81a=_0x484dac==_0x55d85e['length']-0x1;(!_0x876a57&&_0x431c0e&&(_0x876a57=_0x431c0e,_0x2a73ac=_0x55d85e[_0x484dac]),_0x876a57&&(!_0x431c0e||_0x431c0e['userId']!=_0x876a57['userId']))&&(_0x2ae30d(_0x431c0e,L(_0x2a73ac,_0x42b56d,_0x21166e),L(_0x55d85e[_0x484dac],_0x42b56d,_0x21166e)),_0x876a57=_0x431c0e||null,_0x2a73ac=_0x431c0e?_0x55d85e[_0x484dac]:null),_0x876a57&&_0x26f81a&&_0x2ae30d(_0x431c0e,L(_0x2a73ac,_0x42b56d,_0x21166e),W(_0x55d85e[_0x484dac],_0x42b56d,_0x21166e));}function _0x2ae30d(_0x3284dd,_0x2b6aa2,_0x4fd083){const _0x55db54=_0x876a57['userId'],_0x1acf4f='revision:'+_0x12f2f7+':'+_0x55db54+':'+_0x546d34++,_0x6c24a4=_0x21166e['createRange'](_0x2b6aa2,_0x4fd083);_0x42b56d['markers']['set'](_0x1acf4f,_0x6c24a4),null!==_0x55db54&&_0x3d87a3['add'](_0x55db54);}}['_getVidAttributeName'](_0x46be39){switch(_0x46be39['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0xcbbbee,_0x42ebd7){_0xcbbbee['baseVersion']=null;for(const _0x37c812 in _0xcbbbee){const _0x2c66ac=_0xcbbbee[_0x37c812];if(_0x2c66ac instanceof gt){const _0x2f96a4=_0x42ebd7['get'](_0x2c66ac['root']['rootName']);_0xcbbbee[_0x37c812]=this['_fixPosition'](_0x2c66ac,_0x2f96a4);}if(_0x2c66ac instanceof vt){const _0x46b01e=_0x42ebd7['get'](_0x2c66ac['root']['rootName']);_0xcbbbee[_0x37c812]=this['_fixRange'](_0x2c66ac,_0x46b01e);}'root'===_0x37c812&&(_0xcbbbee['root']=_0x42ebd7['get'](_0xcbbbee['root']['rootName']));}}['_fixRange'](_0x47a0b0,_0xd0091f){return this['editor']['model']['createRange'](this['_fixPosition'](_0x47a0b0['start'],_0xd0091f),this['_fixPosition'](_0x47a0b0['end'],_0xd0091f));}['_fixPosition'](_0x3fcae0,_0x48b547){return this['editor']['model']['createPositionFromPath'](_0x48b547,_0x3fcae0['path'],_0x3fcae0['stickiness']);}['_handleInsertOperation'](_0x465940){const _0x5e6139=this['_idsRoots']['get'](_0x465940['position']['root']['rootName']),_0x29c6df=this['_fixPosition'](_0x465940['position'],_0x5e6139),_0x15d7b9=null===_0x465940['_authorId']?null:_0x465940['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5ea3f3=_0x29c6df['parent'],_0xf470a8=this['_revisionId'],_0x563367=[];for(const _0x2be4ab of _0x465940['nodes'])if(_0x2be4ab['is']('element'))_0x563367['push'](this['_makeIdsRoot'](_0x2be4ab));else{for(let _0x3bf5d1=0x0;_0x3bf5d1<_0x2be4ab['offsetSize'];_0x3bf5d1++)_0x563367['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x20f39a=this['_revisionId'];for(let _0x581ff3=_0xf470a8;_0x581ff3<_0x20f39a;_0x581ff3++)this['_touched']['set'](_0x581ff3,{'userId':_0x15d7b9});_0x5ea3f3['_insertChild'](_0x29c6df['offset'],_0x563367);}['_handleMoveOperation'](_0x3f316b){(_0x3f316b=this['_cloneOperation'](_0x3f316b,this['_idsRoots']))['_execute']();const _0x2d3fa0=null===_0x3f316b['_authorId']?null:_0x3f316b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x21779f=_0x3f316b['getMovedRangeStart'](),_0xe88078=_0x21779f['parent'],_0x5eca41=_0x21779f['offset'];!function _0x1a75cf(_0x4498a6,_0x12c59a,_0xecc574,_0x1e5bbd){for(let _0x2afca5=_0xecc574;_0x2afca5<_0x1e5bbd;_0x2afca5++){const _0x278d10=_0x12c59a['getChild'](_0x2afca5);_0x278d10['is']('element','$text')?_0x4498a6['set'](_0x278d10['getAttribute']('vid'),{'userId':_0x2d3fa0}):(_0x4498a6['set'](_0x278d10['getAttribute']('vid_start'),{'userId':_0x2d3fa0}),_0x1a75cf(_0x4498a6,_0x278d10,0x0,_0x278d10['childCount']),_0x4498a6['set'](_0x278d10['getAttribute']('vid_end'),{'userId':_0x2d3fa0}));}}(this['_touched'],_0xe88078,_0x5eca41,_0x5eca41+_0x3f316b['howMany']);}['_handleMergeOperation'](_0x40850d){const _0x1c7140=null===(_0x40850d=this['_cloneOperation'](_0x40850d,this['_idsRoots']))['_authorId']?null:_0x40850d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1d1ffe=_0x40850d['targetPosition']['parent'],_0x293dd8=_0x40850d['sourcePosition']['parent'],_0x16dfa0=_0x1d1ffe['getAttribute']('vid_end'),_0x1624e7=_0x293dd8['getAttribute']('vid_start');_0x1d1ffe['_setAttribute']('vid_end',_0x293dd8['getAttribute']('vid_end')),_0x293dd8['_setAttribute']('vid_end',_0x16dfa0),this['_touched']['set'](_0x1624e7,{'userId':_0x1c7140}),this['_touched']['set'](_0x16dfa0,{'userId':_0x1c7140}),_0x40850d['_execute']();}['_handleSplitOperation'](_0x3311ca){const _0xa0c7cc=null===(_0x3311ca=this['_cloneOperation'](_0x3311ca,this['_idsRoots']))['_authorId']?null:_0x3311ca['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x58f632=_0x3311ca['graveyardPosition'],_0x2bc486=_0x3311ca['splitPosition']['parent'];_0x3311ca['_execute']();const _0x42aa6b=_0x2bc486['getAttribute']('vid_end'),_0x425f90=_0x3311ca['insertionPosition']['nodeAfter'];if(_0x58f632){const _0x52961c=_0x425f90['getAttribute']('vid_end'),_0x188c6d=_0x2bc486['getAttribute']('vid_end');_0x2bc486['_setAttribute']('vid_end',_0x52961c),_0x425f90['_setAttribute']('vid_end',_0x188c6d),this['_touched']['set'](_0x2bc486['getAttribute']('vid_end'),{'userId':_0xa0c7cc}),this['_touched']['set'](_0x425f90['getAttribute']('vid_start'),{'userId':_0xa0c7cc});}else{const _0x3eac7d=this['_revisionId']++,_0x33dcf8=this['_revisionId']++;_0x2bc486['_setAttribute']('vid_end',_0x3eac7d),_0x425f90['_setAttribute']('vid_start',_0x33dcf8),_0x425f90['_setAttribute']('vid_end',_0x42aa6b),this['_touched']['set'](_0x3eac7d,{'userId':_0xa0c7cc}),this['_touched']['set'](_0x33dcf8,{'userId':_0xa0c7cc});}}['_handleMarkerOperation'](_0x4d3862){if(!_0x4d3862['affectsData'])return;const _0x42d5c2=(_0x4d3862=this['_cloneOperation'](_0x4d3862,this['_diffRoots']))['oldRange']?_0x4d3862['oldRange']['root']:null,_0x5adf7f=_0x4d3862['newRange']?_0x4d3862['newRange']['root']:null;_0x42d5c2&&this['_markers']['delete'](_0x4d3862['name']),_0x5adf7f&&this['_markers']['set'](_0x4d3862['name'],_0x4d3862['newRange']['clone']());const _0x45536e=null===_0x4d3862['_authorId']?null:_0x4d3862['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5d58b6=_0x4d3862['name'];if(!this['_touchedMarkers']['has'](_0x5d58b6))return void this['_touchedMarkers']['set'](_0x5d58b6,{'range':_0x4d3862['oldRange'],'userId':_0x45536e});const _0x428b46=this['_touchedMarkers']['get'](_0x5d58b6),_0x168f7a=_0x428b46['range'],_0x323924=_0x4d3862['newRange'];null==_0x168f7a&&null==_0x323924||_0x168f7a&&_0x323924&&_0x168f7a['isEqual'](_0x323924)?this['_touchedMarkers']['delete'](_0x4d3862['name']):_0x428b46['userId']=_0x45536e;}['_handleRootOperation'](_0x16c81d,_0x5f1b61){this['_diffRoots']['has'](_0x16c81d['rootName'])?this['_diffRoots']['get'](_0x16c81d['rootName'])['_isAttached']=_0x16c81d['isAdd']:(this['_diffRoots']['set'](_0x16c81d['rootName'],G(_0x16c81d['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x16c81d['rootName'],{}),_0x5f1b61&&this['_idsRoots']['set'](_0x16c81d['rootName'],G(_0x16c81d['rootName'],!0x0)));const _0x38c64e=null===_0x16c81d['_authorId']?null:_0x16c81d['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4a920b=this['_touchedRoots']['get'](_0x16c81d['rootName']);_0x4a920b&&_0x4a920b['userId']===_0x38c64e?this['_touchedRoots']['delete'](_0x16c81d['rootName']):this['_touchedRoots']['set'](_0x16c81d['rootName'],{'userId':_0x38c64e,'isAttached':_0x16c81d['isAdd']});}['_handleRootAttributeOperation'](_0x5b9122){const _0x306cad=this['_diffRootsAttributes']['get'](_0x5b9122['root']['rootName']);null===_0x5b9122['newValue']?delete _0x306cad[_0x5b9122['key']]:_0x306cad[_0x5b9122['key']]=_0x5b9122['newValue'];}}function q(_0x4b7f6c){const _0x1e42f7=G(_0x4b7f6c['rootName'],_0x4b7f6c['isAttached']());for(const _0x5b6225 of _0x4b7f6c['getChildren']()){const _0x146588=_0x5b6225['_clone'](!0x0);_0x1e42f7['_appendChild'](_0x146588);}return _0x1e42f7;}function G(_0x3c9de3,_0x54e9f2=!0x0){const _0x215b0d=new wt();return _0x215b0d['rootName']=_0x3c9de3,_0x215b0d['_isAttached']=_0x54e9f2,_0x215b0d['isAttached']=()=>_0x215b0d['_isAttached'],_0x215b0d;}function L(_0x279a05,_0x4675b2,_0x296c00){const _0x35064b='elementEnd'==_0x279a05['type']?_0x296c00['createPositionAt'](_0x279a05['item'],'end'):_0x296c00['createPositionBefore'](_0x279a05['item']);return _0x296c00['createPositionFromPath'](_0x4675b2,_0x35064b['path'],_0x35064b['stickiness']);}function W(_0x42b733,_0x34b140,_0x3fc62b){const _0x23d1b9='elementStart'==_0x42b733['type']?_0x3fc62b['createPositionAt'](_0x42b733['item'],0x0):_0x3fc62b['createPositionAfter'](_0x42b733['item']);return _0x3fc62b['createPositionFromPath'](_0x34b140,_0x23d1b9['path'],_0x23d1b9['stickiness']);}class ns extends _0x347dad{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x972d31,_0x4037c5){super(_0x972d31),this['focusTracker']=new _0x554f65(),this['keystrokes']=new _0xd2e2e4(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x4037c5),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'](),_0x1a36f3({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xdc8ffd=_0x4a1af8=>_0x4a1af8['stopPropagation']();this['keystrokes']['set']('arrowright',_0xdc8ffd),this['keystrokes']['set']('arrowleft',_0xdc8ffd),this['keystrokes']['set']('arrowup',_0xdc8ffd),this['keystrokes']['set']('arrowdown',_0xdc8ffd);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x16c759){this['revisionNameInputView']['fieldView']['element']['value']=_0x16c759['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x4270a5){const _0x4ca66e=new at(this['locale'],_0x18da03),_0x1a47a7=_0x4ca66e['fieldView'];_0x1a47a7['extendTemplate']({'attributes':{'maxlength':'220'}});let _0xfd1684=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x4270a5&&(_0xfd1684+='\x20('+y(this['locale'],'optional')+')'),(_0x4ca66e['label']=_0xfd1684,_0x1a47a7['on']('input',()=>{this['revisionNameInputValue']=_0x1a47a7['element']['value']['trim']();}),_0x4ca66e);}}class u extends _0x5be8fc{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x5503c2=this['editor'],_0x263ac2=_0x5503c2['plugins']['get']('RevisionTracker');_0x5503c2['ui']['componentFactory']['add']('revisionHistory',_0x1a0e0c=>{const _0x3cf08d=_0x492605(_0x1a0e0c),_0x57dc00=_0x3cf08d['panelView']['children'],_0x312949=new te(_0x1a0e0c),_0x15f90e=new _0x28241a(_0x1a0e0c),_0x73b1d9=new _0x3908eb(_0x1a0e0c),_0x576ae5=new _0x28241a(_0x1a0e0c),_0x4eaae2=new _0x3908eb(_0x1a0e0c);return _0x3cf08d['bind']('isEnabled')['to'](_0x263ac2,'isReady',_0x263ac2,'isEnabled',_0x5503c2,'isReadOnly',(_0x3257a2,_0x4f5688,_0x41e9ac)=>_0x3257a2&&_0x4f5688&&!_0x41e9ac),_0x3cf08d['buttonView']['set']({'icon':_0x57278e['history'],'label':y(_0x1a0e0c,'Revision\x20history'),'tooltip':!0x0}),_0x73b1d9['set']({'label':y(_0x1a0e0c,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x73b1d9['bind']('isEnabled')['to'](_0x263ac2,'isReady',_0x263ac2,'isEnabled',_0x5503c2,'isReadOnly',(_0xdafbb7,_0x354872,_0x3d6f68)=>_0xdafbb7&&_0x354872&&!_0x3d6f68),_0x73b1d9['on']('execute',()=>this['_showDialog']()),_0x4eaae2['set']({'label':y(_0x1a0e0c,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x4eaae2['bind']('isEnabled')['to'](_0x263ac2,'isReady',_0x5503c2,'isReadOnly',(_0x20f949,_0xafac73)=>_0x20f949&&!_0xafac73),_0x4eaae2['on']('execute',()=>{_0x5503c2['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x3cf08d['isOpen']=!0x1,_0x5503c2['editing']['view']['focus']();}),_0x15f90e['children']['add'](_0x73b1d9),_0x576ae5['children']['add'](_0x4eaae2),_0x312949['role']='menu',_0x312949['items']['addMany']([_0x15f90e,_0x576ae5]),_0x57dc00['add'](_0x312949),_0x3cf08d;}),_0x5503c2['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x26a1fd=this['editor'],_0x402261=_0x26a1fd['locale'],_0x44d90c=new _0x1e95b4(_0x402261),_0x5dfb12=new _0x14e717(_0x402261);_0x44d90c['buttonView']['set']({'icon':_0x57278e['history'],'label':y(_0x402261,'Revision\x20history')});const _0x150bf2=new _0x262f99(_0x402261,_0x44d90c),_0x5f4508=new _0x3befa5(_0x402261);_0x5f4508['set']({'label':y(_0x402261,'Save\x20current\x20revision')}),_0x5f4508['delegate']('execute')['to'](_0x44d90c),_0x5f4508['on']('execute',()=>{this['_showDialog']();}),_0x150bf2['children']['add'](_0x5f4508),_0x5dfb12['items']['add'](_0x150bf2);const _0x3487b8=new _0x262f99(_0x402261,_0x44d90c),_0x5a3007=new _0x3befa5(_0x402261);return _0x5a3007['set']({'label':y(_0x402261,'Open\x20revision\x20history')}),_0x5a3007['delegate']('execute')['to'](_0x44d90c),_0x5a3007['on']('execute',()=>{_0x26a1fd['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x3487b8['children']['add'](_0x5a3007),_0x5dfb12['items']['add'](_0x3487b8),_0x44d90c['panelView']['children']['add'](_0x5dfb12),_0x44d90c;}['_showDialog'](){const _0x132e04=this['editor'],_0x51e7ba=_0x132e04['locale'],t=_0x51e7ba['t'],_0x23983e=_0x132e04['plugins']['get']('Dialog'),_0x5d82f9=_0x132e04['plugins']['get']('RevisionTracker');function _0x43cbac(_0xa64443){_0x132e04['config']['get']('revisionHistory.requireRevisionName')&&''===_0xa64443['revisionName']?_0xa64443['revisionNameInputView']['errorText']=y(_0x51e7ba,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x132e04['plugins']['get'](l)['saveRevision']({'name':_0xa64443['revisionName']}),_0x23983e['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x43cbac(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x23983e['show']({'id':'findAndReplace','title':y(_0x51e7ba,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x23983e['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x1d9997){_0x1d9997['bind']('isEnabled')['to'](_0x5d82f9,'isReady',_0x5d82f9,'isEnabled',_0x132e04,'isReadOnly',(_0xb7cfff,_0x7a1bc,_0x1cd7f1)=>_0xb7cfff&&_0x7a1bc&&!_0x1cd7f1);},'onExecute':()=>_0x43cbac(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5a276f=this['editor'],_0x349d62=_0x5a276f['locale'];this['_saveRevisionFormView']=new ns(_0x349d62,_0x5a276f['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x347dad{['changeId'];['_model'];constructor(_0x45acbc,_0x2debf3){super(_0x45acbc),this['_model']=_0x2debf3,this['changeId']=_0x2debf3['id'];const _0x302a9d=this['bindTemplate'],_0x1c3e0e=y(_0x45acbc,_0x2debf3['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2debf3['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2debf3['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x302a9d['to']('type',_0x5f05b6=>'ck-revision-change__'+_0x5f05b6)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1c3e0e}]},{'text':'\x20'+_0x2debf3['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x5e2d5c(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x2bb303){super(),this['id']=_0x2bb303['id']||_0x2b22ca(),this['author']=_0x2bb303['author'],this['type']=_0x2bb303['type'],this['data']=_0x2bb303['data']||{},this['rootName']=_0x2bb303['rootName'],this['set']('createdAt',_0x2bb303['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(_0x245e50,_0x47d6ba){this['newRevisionId']=_0x245e50,this['oldRevisionId']=_0x47d6ba,this['changes']=new _0x51a9b0();}['_setChanges'](_0x4e8d44){for(const _0x223012 of _0x4e8d44)this['changes']['add'](_0x223012);}}const tt={'c':_0x11836d,'a':_0xd762ba,'e':_0x2ab6e4,'r':_0x47e883,'u':_0xce5410};class d extends _0x5be8fc{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x28a5da,_0x5cda6f,A];}constructor(_0x913f11){super(_0x913f11),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',(_0x6b8b22,_0x434448,_0x18745c)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x1c9211=>{for(const _0x2ae1a5 of this['editor']['editing']['view']['document']['roots'])_0x18745c?_0x1c9211['removeClass']('ck-editor__editable__overlay',_0x2ae1a5):_0x1c9211['addClass']('ck-editor__editable__overlay',_0x2ae1a5);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x32cdd4=>null!==_0x32cdd4),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x7628b7,_0xbf49df,_0x3b30cb)=>_0x7628b7&&_0x3b30cb?_0xbf49df['changes']['getIndex'](_0x3b30cb):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3c0e1f,_0x466405)=>_0x3c0e1f?_0x466405['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x5cda6f);}['init'](){const _0x193aa2=this['editor'],_0x20fc85=new yt(_0x193aa2,{'direction':'backward'}),_0x4ac224=new yt(_0x193aa2,{'direction':'forward'});(_0x193aa2['commands']['add']('showPreviousChange',_0x20fc85),_0x193aa2['commands']['add']('showNextChange',_0x4ac224),_0x193aa2['commands']['add']('restoreRevision',new bt(_0x193aa2)),this['on']('change:numberOfChanges',()=>{_0x20fc85['refresh'](),_0x4ac224['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x193aa2['enableReadOnlyMode']('revision-viewer'),_0x193aa2['plugins']['has']('WidgetToolbarRepository'))&&_0x193aa2['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3c08ee){await this['loadRevisionData'](_0x3c08ee);const _0xff3de5={};for(const _0x2f1dea in _0x3c08ee['diffData']){if(_0x3c08ee['diffData'][_0x2f1dea]['attachChange']&&!_0x3c08ee['diffData'][_0x2f1dea]['attachChange']['isAttached'])continue;const _0x4cd0e0=this['_removeRevisionMarkers'](JSON['parse'](_0x3c08ee['diffData'][_0x2f1dea]['insertions'])),_0x3d472a=this['editor']['editing']['view']['document'],_0x36e94f=new _0x3ee4e8(_0x3d472a,_0x4cd0e0['map'](_0x11aa17=>this['_getViewObj'](_0x11aa17)));this['editor']['data']['processor']['useFillerType']('marked'),_0xff3de5[_0x2f1dea]=this['editor']['data']['processor']['toData'](_0x36e94f),this['editor']['data']['processor']['useFillerType']('default');}return _0xff3de5;}async['getRevisionRootsAttributes'](_0x16d782){await this['loadRevisionData'](_0x16d782);const _0x561fe1={};for(const _0x177ba3 in _0x16d782['diffData'])_0x16d782['diffData'][_0x177ba3]['attachChange']&&!_0x16d782['diffData'][_0x177ba3]['attachChange']['isAttached']||(_0x561fe1[_0x177ba3]=_0x16d782['diffData'][_0x177ba3]['attributesAfter']||{});return _0x561fe1;}['_removeRevisionMarkers'](_0x32a200){return(_0x32a200=_0x32a200['filter'](_0xe3ee3a=>!_0xe3ee3a['name']||'revision-start'!==_0xe3ee3a['name']&&'revision-end'!==_0xe3ee3a['name']))['forEach'](_0x4cfbe9=>{'string'!=typeof _0x4cfbe9&&(_0x4cfbe9['children']=this['_removeRevisionMarkers'](_0x4cfbe9['children']),_0x4cfbe9['attributes']=_0x4cfbe9['attributes']['filter'](_0x2b7f38=>!_0x2b7f38[0x0]['startsWith']('data-revision-')));}),_0x32a200;}async['compare'](_0x1ffb45,_0x2fcc5b,_0x489185=!0x1){if(!this['isEnabled'])return;const _0x147602=this['diff'],_0x4425ac=this['repository'],_0x5e8b31='string'==typeof _0x1ffb45?_0x4425ac['getRevision'](_0x1ffb45):_0x1ffb45,_0x59c10c='string'==typeof _0x2fcc5b?_0x4425ac['getRevision'](_0x2fcc5b):_0x2fcc5b,_0x3ac394=_0x5e8b31['id'],_0x27b481=_0x59c10c?_0x59c10c['id']:null;if(!_0x489185&&this['diff']&&this['diff']['newRevisionId']===_0x3ac394&&this['diff']['oldRevisionId']===_0x27b481)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x3ac394,_0x27b481);const _0x53fdd2=this['_getRevisionsRange'](_0x5e8b31,_0x59c10c,!0x0)['map'](_0x16e826=>this['loadRevisionData'](_0x16e826));return _0x53fdd2['push'](new Promise(_0x40d15e=>{setTimeout(_0x40d15e,0x14);})),Promise['all'](_0x53fdd2)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x25c87b=this['_getDiff'](_0x3ac394,_0x27b481);for(const _0xfbd92d of _0x25c87b['changes'])this['_changeIdToChange']['set'](_0xfbd92d['id'],_0xfbd92d);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4b2296=>{for(const _0x4eaa4f of this['editor']['model']['document']['getRootNames']())_0x4b2296['detachRoot'](_0x4eaa4f);for(const _0x3d7a5b of Object['keys'](_0x25c87b['model'])){const _0x56a7df=_0x4b2296['addRoot'](_0x3d7a5b);for(const _0x58b4f5 of Object['keys'](_0x25c87b['attributes'][_0x3d7a5b]))_0x4b2296['setAttribute'](_0x58b4f5,_0x25c87b['attributes'][_0x3d7a5b][_0x58b4f5],_0x56a7df);_0x4b2296['insert'](_0x25c87b['model'][_0x3d7a5b],_0x56a7df,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x25c87b['changes'])),this['isReady']=!0x0;})['catch'](_0x57ce8a=>{console['error'](_0x57ce8a),this['_cleanUp'](),_0x147602&&(this['diff']=_0x147602),this['isReady']=!0x0;});}['addRevisionData'](_0x423c75,_0x27d901){const _0x2cd534=this['repository']['createRevision'](_0x423c75);return _0x2cd534['on']('_update',(_0x2435ab,_0x1f0906,_0x20b111)=>_0x27d901(_0x1f0906,_0x20b111,_0x2cd534)),this['repository']['addRevision'](_0x2cd534),_0x2cd534;}['loadRevisionData'](_0x415585){if(!_0x415585||_0x415585['diffData'])return Promise['resolve']();{const _0xf1abf=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xf1abf,'revisionId':_0x415585['id']})['then'](_0x12775b=>{_0x415585['_update']({'diffData':_0x12775b['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},_0x36e060=>{for(const _0x121faf of this['editor']['model']['document']['getRootNames']())_0x36e060['detachRoot'](_0x121faf);});}['_sortAndFilterDiffChanges'](_0xade5b7){const _0x5557b6=[],_0x11f507=new Map();for(const _0x227100 of this['editor']['model']['document']['getRootNames']()){const _0xff60e0=this['editor']['editing']['view']['getDomRoot'](_0x227100);if(!_0xff60e0)continue;const _0x472bb8=_0xff60e0['getClientRects']()['item'](0x0);_0x472bb8&&(_0x5557b6['push'](_0x227100),_0x11f507['set'](_0x227100,_0x472bb8));}return _0x5557b6['sort']((_0x11781b,_0x5b4a0b)=>{const _0xb490d5=_0x11f507['get'](_0x11781b),_0x2ece97=_0x11f507['get'](_0x5b4a0b);return _0xb490d5['y']-_0x2ece97['y']||_0xb490d5['x']-_0x2ece97['x'];}),(_0xade5b7=_0xade5b7['filter'](_0x47452d=>_0x5557b6['includes'](_0x47452d['rootName'])))['sort']((_0x5b5827,_0x4bfa5f)=>_0x5557b6['indexOf'](_0x5b5827['rootName'])-_0x5557b6['indexOf'](_0x4bfa5f['rootName'])),_0xade5b7;}['_makeTape'](_0x354106){const _0x26f8cd=Array['from'](_0x354106['markers'])['filter'](([_0x236280,_0x12f6a8])=>_0x236280['startsWith']('revision:')&&!_0x12f6a8['isCollapsed']),_0x45a28f=Array['from'](this['editor']['model']['createRangeIn'](_0x354106)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x26f8cd['length'])for(const _0x1819a4 of _0x45a28f){const [_0x1a6f9e,_0x42f6d3]=_0x26f8cd[0x0],[,_0x4ab2fd,_0x25bfae]=_0x1a6f9e['split'](':');if(_0x42f6d3['end']['isEqual'](_0x1819a4['nextPosition'])&&_0x26f8cd['shift'](),(_0x1819a4['previousPosition']['isEqual'](_0x42f6d3['start'])||_0x1819a4['previousPosition']['isAfter'](_0x42f6d3['start']))&&('insertion'==_0x4ab2fd?_0x1819a4['isAdded']={'userId':_0x25bfae}:'deletion'==_0x4ab2fd&&(_0x1819a4['isRemoved']={'userId':_0x25bfae})),0x0==_0x26f8cd['length'])break;}return _0x45a28f;}['_refreshStartEndIndex'](_0x5e1eea){const _0x2eb436=new Map();for(let _0x220f18=0x0;_0x220f18<_0x5e1eea['length'];_0x220f18++)'text'===_0x5e1eea[_0x220f18]['type']?(_0x5e1eea[_0x220f18]['item']['startIndex']=_0x220f18,_0x5e1eea[_0x220f18]['item']['endIndex']=_0x220f18):('elementStart'===_0x5e1eea[_0x220f18]['type']?_0x5e1eea[_0x220f18]['item']['startIndex']=_0x220f18:'elementEnd'===_0x5e1eea[_0x220f18]['type']&&(_0x5e1eea[_0x220f18]['item']['endIndex']=_0x220f18),_0x2eb436['set'](_0x5e1eea[_0x220f18]['id'],_0x220f18));for(const _0x35f3be of _0x2eb436['values']())'elementStart'===_0x5e1eea[_0x35f3be]['type']?_0x5e1eea[_0x35f3be]['item']['endIndex']=_0x2eb436['get'](_0x5e1eea[_0x35f3be]['pairId']):'elementEnd'===_0x5e1eea[_0x35f3be]['type']&&(_0x5e1eea[_0x35f3be]['item']['startIndex']=_0x2eb436['get'](_0x5e1eea[_0x35f3be]['pairId']));}['_processTape'](_0x40b254){for(let _0x4c7858=0x0;_0x4c7858<_0x40b254['length'];_0x4c7858++){if('elementStart'===_0x40b254[_0x4c7858]['type'])_0x40b254[_0x4c7858]['item']['startIndex']=_0x4c7858;else{if('elementEnd'===_0x40b254[_0x4c7858]['type']){_0x40b254[_0x4c7858]['item']['endIndex']=_0x4c7858;const _0x25986f=_0x40b254[_0x4c7858]['item']['startIndex'];_0x40b254[_0x25986f]['pairId']=_0x40b254[_0x4c7858]['id'],_0x40b254[_0x4c7858]['pairId']=_0x40b254[_0x25986f]['id'];}else _0x40b254[_0x4c7858]['item']['startIndex']=_0x4c7858,_0x40b254[_0x4c7858]['item']['endIndex']=_0x4c7858,_0x40b254[_0x4c7858]['pairId']=null;}_0x40b254[_0x4c7858]['markersStart']||(_0x40b254[_0x4c7858]['markersStart']=[],_0x40b254[_0x4c7858]['markersEnd']=[]);}}['_markInsertions'](_0x5b7ca0,_0xcce786){const _0x376014=_0x5b7ca0['filter'](_0xe9c7ec=>!_0xe9c7ec['isAdded']);for(let _0x13f6be=0x0;_0x13f6be<_0xcce786['length'];_0x13f6be++)_0xcce786[_0x13f6be]['isAdded']&&(_0x376014[_0x13f6be]['isAdded']=_0xcce786[_0x13f6be]['isAdded']);}['_makeModelFromViewString'](_0x5e636a){const _0x6bb6f7=JSON['parse'](_0x5e636a),_0x5f1d4a=this['editor']['editing']['view']['document'],_0x2f19d2=new _0x3ee4e8(_0x5f1d4a,_0x6bb6f7['map'](_0x4aae31=>this['_getViewObj'](_0x4aae31)));return this['editor']['data']['toModel'](_0x2f19d2);}['_getViewObj'](_0x349689){const _0x6b5813=this['editor']['editing']['view']['document'];if('string'==typeof _0x349689)return new _0x1b48bf(_0x6b5813,_0x349689);{const _0x213c78=_0x349689['children']['map'](_0x1b9158=>this['_getViewObj'](_0x1b9158));return new(tt[_0x349689['type']]||_0x5e0cca)(_0x6b5813,_0x349689['name'],_0x349689['attributes'],_0x213c78);}}['_getDiff'](_0x51060a,_0x197534=null){const _0x582a24=this['repository']['getRevision'](_0x51060a),_0x72ca5a=_0x197534?this['repository']['getRevision'](_0x197534):null,_0x2b1ea0=this['_getRevisionsRange'](_0x582a24,_0x72ca5a),_0x1db98f=_0x2b1ea0[_0x2b1ea0['length']-0x1],_0x449cb8=new Map(),_0x2b9393={'model':{},'attributes':{},'changes':[]},_0x96cd12=new Set(),_0x372af5=new Map();for(let _0x40c89a=_0x2b1ea0['length']-0x1;_0x40c89a>=0x0;_0x40c89a--){const _0x458b08=_0x2b1ea0[_0x40c89a];for(const _0x4971e5 of Object['keys'](_0x458b08['diffData']))if(_0x458b08['diffData'][_0x4971e5]['attachChange']){const _0x1b9705=_0x458b08['diffData'][_0x4971e5]['attachChange'];_0x1b9705['isAttached']?(_0x96cd12['add'](_0x4971e5),_0x372af5['has'](_0x4971e5)&&_0x372af5['get'](_0x4971e5)['userId']==_0x1b9705['userId']?_0x372af5['delete'](_0x4971e5):_0x372af5['set'](_0x4971e5,_0x1b9705)):_0x372af5['has'](_0x4971e5)?(_0x96cd12['delete'](_0x4971e5),_0x372af5['delete'](_0x4971e5)):(_0x96cd12['add'](_0x4971e5),_0x372af5['set'](_0x4971e5,_0x1b9705));}else _0x96cd12['add'](_0x4971e5);}for(const _0x531a82 of _0x96cd12){const _0x4c2acb=_0x372af5['has'](_0x531a82)&&!_0x372af5['get'](_0x531a82)['isAttached'];let _0x114e97=_0x4c2acb?_0x2b1ea0['length']-0x1:0x0;const _0x458399=_0x4c2acb?-0x1:0x1;for(;_0x2b1ea0[_0x114e97];){const _0x4563b7=_0x2b1ea0[_0x114e97];if(_0x4563b7['diffData'][_0x531a82]){const _0x4a8b00=_0x4c2acb?_0x4563b7['diffData'][_0x531a82]['attributesBefore']:_0x4563b7['diffData'][_0x531a82]['attributesAfter'];_0x2b9393['attributes'][_0x531a82]=_0x4a8b00?_0xcc2041(_0x4a8b00):{};break;}_0x114e97+=_0x458399;}}for(const _0x21536a of _0x2b1ea0){_0x21536a['model']={};for(const _0x4996bd of _0x21536a['authors'])_0x449cb8['set'](_0x4996bd['id'],_0x4996bd);for(const _0x3aef6c of _0x96cd12){const _0x13e395=_0x21536a['diffData'][_0x3aef6c]?_0x21536a['diffData'][_0x3aef6c]['insertions']:'[]',_0x1fbdaf=_0x21536a['diffData'][_0x3aef6c]?_0x21536a['diffData'][_0x3aef6c]['deletions']:'[]';_0x21536a['model'][_0x3aef6c]={'insertions':this['_makeModelFromViewString'](_0x13e395),'deletions':this['_makeModelFromViewString'](_0x1fbdaf)};}}for(const _0x562d09 of _0x96cd12){let _0x49aac3=null,_0x5b5096=0x0;const _0x27eb3b=new Map(Array['from'](_0x582a24['model'][_0x562d09]['insertions']['markers'])['filter'](([_0x5a7185])=>!_0x5a7185['startsWith']('revision:')));let _0x26649a=0x0;for(const _0x54e18d of _0x2b1ea0){const _0x15ba49=this['_makeTape'](_0x54e18d['model'][_0x562d09]['insertions']);_0x54e18d==_0x582a24?(_0x49aac3=_0x15ba49,_0x5b5096=_0x49aac3['length'],_0x49aac3['forEach'](_0x8c5e41=>{_0x8c5e41['id']=_0x26649a++;}),this['_processTape'](_0x49aac3)):this['_markInsertions'](_0x49aac3,_0x15ba49);const _0x1a19de=_0x49aac3['filter'](_0x4626da=>!_0x4626da['isAdded'])['map'](_0x1a4df6=>_0x1a4df6['id']);let _0x1400ab=0x0;const _0x488174=this['_makeTape'](_0x54e18d['model'][_0x562d09]['deletions']);_0x488174['forEach'](_0x396979=>{_0x396979['isRemoved']?_0x396979['id']=_0x5b5096++:_0x396979['id']=_0x1a19de[_0x1400ab++];}),this['_processTape'](_0x488174),this['_setDistance'](_0x49aac3,'isAdded'),this['_setDistance'](_0x488174,'isRemoved'),_0x54e18d==_0x582a24&&this['_markMarkers'](_0x49aac3,_0x27eb3b),_0x49aac3=this['_joinTapes'](_0x49aac3,_0x488174),this['_refreshStartEndIndex'](_0x49aac3),this['_setDistance'](_0x49aac3,'isRemoved');}_0x49aac3=_0x49aac3['filter'](_0xebae11=>!(_0xebae11['isAdded']&&_0xebae11['isRemoved']));const _0x5c8e14=new Map(_0x1db98f['model'][_0x562d09]['deletions']['markers']),_0x46ae25=new Set(_0x27eb3b['keys']());for(const _0x2a391e of _0x5c8e14['keys']())_0x46ae25['delete'](_0x2a391e);this['_markSuggestions'](_0x49aac3,_0x46ae25),this['_fixObsoleteTags'](_0x49aac3),_0x49aac3=this['_removeMissingPairs'](_0x49aac3),_0x49aac3=this['_markMismatchedRemovedTags'](_0x49aac3),_0x49aac3=this['_removeUnsupportedChanges'](_0x49aac3);const {root:_0x22ea5d,changes:_0x1516f0}=this['_makeModelFromTape'](_0x49aac3,_0x449cb8,_0x562d09);_0x2b9393['model'][_0x562d09]=_0x22ea5d;const _0x1daff3=_0x372af5['get'](_0x562d09);if(_0x1daff3){const _0x19dfdb=_0x449cb8['get'](_0x1daff3['userId']),_0x2c2c43=new r({'author':_0x19dfdb,'type':_0x1daff3['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x562d09});_0x1516f0['unshift'](_0x2c2c43),_0x2b9393['attributes'][_0x562d09]['revisionHistoryAttachChange']=_0x2c2c43['id'];}_0x2b9393['changes']=_0x2b9393['changes']['concat'](_0x1516f0);}return _0x2b9393;}['_markMarkers'](_0x1cc66b,_0x145dad){for(let _0x135ec2=0x0;_0x135ec2<_0x1cc66b['length'];_0x135ec2++)for(const [_0x4f9fdb,_0x134e6d]of _0x145dad)_0x134e6d['start']['isEqual'](_0x1cc66b[_0x135ec2]['previousPosition'])&&_0x1cc66b[_0x135ec2]['markersStart']['push'](_0x4f9fdb),_0x134e6d['end']['isEqual'](_0x1cc66b[_0x135ec2]['nextPosition'])&&_0x1cc66b[_0x135ec2]['markersEnd']['push'](_0x4f9fdb);}['_joinTapes'](_0x29fa24,_0x498d4d){let _0x49599a=[],_0x4b0c9e=0x0,_0x6d124e=0x0;for(;_0x4b0c9e<_0x29fa24['length']||_0x6d124e<_0x498d4d['length'];){const _0x3c15d1=_0x29fa24[_0x4b0c9e]||{},_0x55f24b=_0x498d4d[_0x6d124e]||{};if(_0x3c15d1['id']==_0x55f24b['id'])_0x4b0c9e++,_0x6d124e++,_0x49599a['push'](_0x3c15d1);else{if(_0x55f24b['isRemoved']&&_0x3c15d1['isAdded']){const {commonTape:_0x4276c5,iEnd:_0x3b4a93,jEnd:_0x2255d0}=this['_threeWayMerge'](_0x29fa24,_0x4b0c9e,_0x498d4d,_0x6d124e);_0x49599a=_0x49599a['concat'](_0x4276c5),_0x4b0c9e=_0x3b4a93,_0x6d124e=_0x2255d0;}else _0x55f24b['isRemoved']?(_0x6d124e++,_0x49599a['push'](_0x55f24b)):(_0x4b0c9e++,_0x49599a['push'](_0x3c15d1));}}return _0x49599a;}['_markSuggestions'](_0x3ec041,_0x42a1f5){const _0x470bf5=[];for(let _0x568197=0x0;_0x568197<_0x3ec041['length'];_0x568197++){for(let _0x1930e1=0x0;_0x1930e1<_0x3ec041[_0x568197]['markersStart']['length'];_0x1930e1++){const _0x48cd98=_0x3ec041[_0x568197]['markersStart'][_0x1930e1];if(!_0x42a1f5['has'](_0x48cd98))continue;const {group:_0xcfe31b,type:_0x52f990,authorId:_0x5677d2}=_0x538637(_0x48cd98);'revision-suggestion'!=_0xcfe31b||'insertion'!=_0x52f990&&'deletion'!=_0x52f990||(_0x470bf5['unshift']({'type':_0x52f990,'name':_0x48cd98,'userId':_0x5677d2}),_0x3ec041[_0x568197]['markersStart']['splice'](_0x1930e1,0x1),_0x1930e1--);}_0x1266ba(_0x3ec041[_0x568197]);for(let _0x35bf84=0x0;_0x35bf84<_0x3ec041[_0x568197]['markersEnd']['length'];_0x35bf84++){const _0xcb76d4=_0x3ec041[_0x568197]['markersEnd'][_0x35bf84];if(!_0x42a1f5['has'](_0xcb76d4))continue;const {group:_0x5a6d3d,type:_0x188ad5}=_0x538637(_0xcb76d4);if('revision-suggestion'!=_0x5a6d3d||'insertion'!=_0x188ad5&&'deletion'!=_0x188ad5)continue;_0x3ec041[_0x568197]['markersEnd']['splice'](_0x35bf84,0x1),_0x35bf84--;const _0x509d20=_0x470bf5['findIndex'](_0x32ed90=>_0x32ed90['name']==_0xcb76d4);_0x509d20>-0x1&&_0x470bf5['splice'](_0x509d20,0x1);}}function _0x538637(_0x2edf97){const _0x5d18e4=_0x2edf97['split'](':');return{'group':_0x5d18e4[0x0],'type':_0x5d18e4[0x1],'subType':_0x5d18e4['length']>=0x5?_0x5d18e4[0x2]:null,'id':_0x5d18e4['length']<0x5?_0x5d18e4[0x2]:_0x5d18e4[0x3],'authorId':_0x5d18e4['length']<0x5?_0x5d18e4[0x3]:_0x5d18e4[0x4],'markerCount':0x6==_0x5d18e4['length']?_0x5d18e4[0x5]:null};}function _0x1266ba(_0x2204ab){for(let _0x37ebe1=0x0;_0x37ebe1<_0x470bf5['length'];_0x37ebe1++){if(_0x2204ab['isAdded']&&'insertion'==_0x470bf5[_0x37ebe1]['type'])return _0x2204ab['isAddSuggestion']=_0x470bf5[_0x37ebe1],void delete _0x2204ab['isAdded'];if(!_0x2204ab['isAdded']&&!_0x2204ab['isRemoved']&&'deletion'==_0x470bf5[_0x37ebe1]['type'])return void(_0x2204ab['isRemoveSuggestion']=_0x470bf5[_0x37ebe1]);}}}['_setDistance'](_0x59618b,_0x23f992){let _0x908caf=0x0,_0x415e31=!0x1;const _0x40f360=new Map();for(const _0x22ac64 of _0x59618b)_0x22ac64[_0x23f992]?_0x415e31&&(_0x908caf++,_0x415e31=!0x1):(_0x908caf++,_0x415e31=!0x0),_0x40f360['set'](_0x22ac64['id'],_0x908caf);for(let _0x1a2015=0x0;_0x1a2015<_0x59618b['length'];_0x1a2015++){if('isRemoved'==_0x23f992&&_0x59618b[_0x1a2015]['isAdded']||'isAdded'==_0x23f992&&_0x59618b[_0x1a2015]['isRemoved'])continue;if('text'==_0x59618b[_0x1a2015]['type']){_0x59618b[_0x1a2015]['distance']=0x0;continue;}const _0x356588=_0x40f360['get'](_0x59618b[_0x1a2015]['pairId']),_0x2a3d79=_0x40f360['get'](_0x59618b[_0x1a2015]['id']);_0x59618b[_0x1a2015]['distance']=_0x356588-_0x2a3d79;}}['_getRevisionsRange'](_0xcab1a9,_0x20c176,_0x49e367=!0x1){const _0x4cdf84=[];let _0x4dae87=this['repository']['getIndex'](_0xcab1a9),_0x78187c=this['repository']['getIndex'](_0x20c176);for(-0x1==_0x78187c&&(_0x78187c=this['repository']['_revisions']['length'],_0x49e367=!0x1);_0x4dae87<_0x78187c;)_0x4cdf84['push'](this['repository']['getRevision'](_0x4dae87)),_0x4dae87++;return _0x49e367&&_0x4cdf84['push'](this['repository']['getRevision'](_0x4dae87)),_0x4cdf84;}['_threeWayMerge'](_0xe149d,_0x53cffe,_0x5d8c17,_0x546b64){const _0x40a03d=this['editor']['model']['schema'];let _0x4ecf1e=_0x53cffe;for(;_0xe149d[_0x4ecf1e]&&_0xe149d[_0x4ecf1e]['isAdded'];)_0x4ecf1e++;let _0x510c35=_0x546b64;for(;_0x5d8c17[_0x510c35]&&_0x5d8c17[_0x510c35]['isRemoved'];)_0x510c35++;_0x4535b7(_0xe149d,_0x53cffe,_0x4ecf1e),_0x4535b7(_0x5d8c17,_0x546b64,_0x510c35);const _0xc7ca75=_0x5d8c17['slice'](_0x546b64,_0x510c35)['concat'](_0xe149d['slice'](_0x53cffe,_0x4ecf1e));return _0xc7ca75['sort']((_0x2e4ea4,_0x3b3906)=>_0x2e4ea4['side']!=_0x3b3906['side']?_0x2e4ea4['side']-_0x3b3906['side']:_0x2e4ea4['level']!=_0x3b3906['level']?_0x2e4ea4['level']-_0x3b3906['level']:_0x2e4ea4['distance']!=_0x3b3906['distance']?_0x3b3906['distance']-_0x2e4ea4['distance']:!!_0x2e4ea4['isAdded']!=!!_0x3b3906['isAdded']?-0x1==_0x2e4ea4['side']||0x0==_0x2e4ea4['side']?_0x2e4ea4['isAdded']?-0x1:0x1:_0x2e4ea4['isAdded']?0x1:-0x1:_0x2e4ea4['index']-_0x3b3906['index']),{'commonTape':_0xc7ca75,'iEnd':_0x4ecf1e,'jEnd':_0x510c35};function _0x4535b7(_0x286b7a,_0x19d075,_0x56ab05){let _0x55e066=-0x1,_0x54f837=Number['POSITIVE_INFINITY'],_0x167b7c=!0x0;for(let _0x40ad2b=_0x19d075;_0x40ad2b<_0x56ab05;_0x40ad2b++)if(_0x40a03d['isInline'](_0x286b7a[_0x40ad2b]['item'])||(_0x167b7c=!0x1),_0x286b7a[_0x40ad2b]['item']['startIndex']<_0x19d075&&(_0x55e066=_0x40ad2b),_0x286b7a[_0x40ad2b]['item']['endIndex']>=_0x56ab05){_0x54f837=_0x40ad2b;break;}_0x167b7c&&(_0x55e066=_0x56ab05-0x1);for(let _0x125b73=_0x19d075;_0x125b73<_0x56ab05;_0x125b73++)_0x286b7a[_0x125b73]['side']=_0x125b73<=_0x55e066?-0x1:_0x125b73<_0x54f837?0x0:0x1,_0x286b7a[_0x125b73]['index']=_0x125b73;let _0x1cfcd2=0x0;for(let _0x148929=_0x19d075;_0x148929<=_0x55e066;_0x148929++)0x0==_0x286b7a[_0x148929]['distance']?_0x286b7a[_0x148929]['level']=_0x1cfcd2:(_0x1cfcd2++,_0x286b7a[_0x148929]['level']=_0x1cfcd2,_0x1cfcd2++);for(let _0x1ef652=_0x19d075;_0x1ef652<_0x56ab05;_0x1ef652++)0x0==_0x286b7a[_0x1ef652]['side']&&(_0x286b7a[_0x1ef652]['level']=_0x1cfcd2);_0x1cfcd2=0x0;for(let _0xeeb5f4=_0x56ab05-0x1;_0xeeb5f4>=_0x54f837;_0xeeb5f4--)0x0==_0x286b7a[_0xeeb5f4]['distance']?_0x286b7a[_0xeeb5f4]['level']=_0x1cfcd2:(_0x1cfcd2--,_0x286b7a[_0xeeb5f4]['level']=_0x1cfcd2,_0x1cfcd2--);}}['_fixObsoleteTags'](_0x10c5ba){const _0x18b0fb=new Map(),_0x1009d5=this['editor']['model']['schema'];for(let _0x2cedf4=0x1;_0x2cedf4<_0x10c5ba['length'];_0x2cedf4++){let _0x1bea45,_0x4c68d5,_0x2f6dec;const _0x150c61=_0x10c5ba[_0x2cedf4],_0x44ac5c=_0x10c5ba[_0x2cedf4-0x1];if('text'==_0x150c61['type'])continue;if(_0x150c61['type']!=_0x44ac5c['type'])continue;if(!_0x1009d5['isBlock'](_0x44ac5c['item'])||_0x1009d5['isLimit'](_0x44ac5c['item']))continue;if(!_0x1009d5['isBlock'](_0x150c61['item'])||_0x1009d5['isLimit'](_0x150c61['item']))continue;if((_0x10c5ba[_0x2cedf4]['isAdded']||_0x10c5ba[_0x2cedf4]['isAddSuggestion'])&&_0x10c5ba[_0x2cedf4-0x1]['isRemoved'])_0x1bea45=_0x10c5ba[_0x2cedf4],_0x4c68d5=_0x10c5ba[_0x2cedf4-0x1],_0x2f6dec=_0x2cedf4-0x1;else{if(!_0x10c5ba[_0x2cedf4]['isRemoved']||!_0x10c5ba[_0x2cedf4-0x1]['isAdded']&&!_0x10c5ba[_0x2cedf4-0x1]['isAddSuggestion'])continue;_0x1bea45=_0x10c5ba[_0x2cedf4-0x1],_0x4c68d5=_0x10c5ba[_0x2cedf4],_0x2f6dec=_0x2cedf4;}const _0x14db0d=_0x1bea45['level']==_0x4c68d5['level'],_0x2dd99d=Math['abs'](_0x1bea45['level'])<Math['abs'](_0x4c68d5['level'])&&0x0==_0x4c68d5['distance'];(_0x14db0d||_0x2dd99d)&&(_0x18b0fb['set'](_0x4c68d5['id'],_0x1bea45['id']),_0x10c5ba['splice'](_0x2f6dec,0x1),_0x2cedf4--,_0x1bea45['isAdded']=!0x1);}for(let _0x3eb2ab=0x0;_0x3eb2ab<_0x10c5ba['length'];_0x3eb2ab++)_0x18b0fb['has'](_0x10c5ba[_0x3eb2ab]['pairId'])&&(_0x10c5ba[_0x3eb2ab]['pairId']=_0x18b0fb['get'](_0x10c5ba[_0x3eb2ab]['pairId']));}['_removeMissingPairs'](_0x468b8c){const _0x5dc2e5=new Set(_0x468b8c['map'](_0x15e11b=>_0x15e11b['id']));for(let _0x22b8d9=0x0;_0x22b8d9<_0x468b8c['length'];_0x22b8d9++)_0x5dc2e5['has'](_0x468b8c[_0x22b8d9]['pairId'])||0x0==_0x468b8c[_0x22b8d9]['distance']||(_0x468b8c[_0x22b8d9]['isIncorrect']=!0x0);return _0x468b8c['filter'](_0xefda87=>!_0xefda87['isIncorrect']);}['_markMismatchedRemovedTags'](_0x21ad56){const _0x437ded=new Set();for(let _0x2aed8a=0x0;_0x2aed8a<_0x21ad56['length'];_0x2aed8a++){if(_0x437ded['has'](_0x21ad56[_0x2aed8a]['id'])&&_0x21ad56[_0x2aed8a]['isRemoved']&&(_0x21ad56[_0x2aed8a]['isIncorrect']=!0x0),_0x21ad56[_0x2aed8a]['isIncorrect'])continue;if(0x0==_0x21ad56[_0x2aed8a]['distance'])continue;if('elementStart'!=_0x21ad56[_0x2aed8a]['type'])continue;if(null==_0x21ad56[_0x2aed8a]['pairId'])continue;let _0x458ded=_0x2aed8a+0x1,_0x534670=0x0;for(;_0x21ad56[_0x458ded]['id']!=_0x21ad56[_0x2aed8a]['pairId'];)'elementStart'==_0x21ad56[_0x458ded]['type']?_0x534670++:'elementEnd'==_0x21ad56[_0x458ded]['type']&&_0x534670--,_0x458ded++;if(0x0!=_0x534670){if(_0x21ad56[_0x2aed8a]['isRemoved'])_0x21ad56[_0x2aed8a]['isIncorrect']=!0x0;else{for(;_0x458ded!=_0x2aed8a;)_0x21ad56[_0x458ded]['isRemoved']&&0x0!=_0x21ad56[_0x458ded]['distance']&&(_0x21ad56[_0x458ded]['isIncorrect']=!0x0,_0x437ded['add'](_0x21ad56[_0x458ded]['pairId'])),_0x458ded--;}}}return _0x21ad56['filter'](_0x13996b=>!_0x13996b['isIncorrect']);}['_removeUnsupportedChanges'](_0x35556c){const _0x20f4cb=this['editor']['model']['schema'];for(let _0x3d43a4=0x0;_0x3d43a4<_0x35556c['length'];_0x3d43a4++){if(!(_0x35556c[_0x3d43a4]['isAdded']||_0x35556c[_0x3d43a4]['isAddSuggestion']||_0x35556c[_0x3d43a4]['isRemoved']||_0x35556c[_0x3d43a4]['isRemoveSuggestion']))continue;if(0x0==_0x35556c[_0x3d43a4]['distance'])continue;const _0x441417=_0x35556c[_0x3d43a4]['item'];_0x20f4cb['isBlock'](_0x441417)||_0x20f4cb['isLimit'](_0x441417)||(_0x35556c[_0x3d43a4]['isAdded']&&delete _0x35556c[_0x3d43a4]['isAdded'],_0x35556c[_0x3d43a4]['isAddSuggestion']&&delete _0x35556c[_0x3d43a4]['isAddSuggestion'],_0x35556c[_0x3d43a4]['isRemoveSuggestion']&&delete _0x35556c[_0x3d43a4]['isRemoveSuggestion'],_0x35556c[_0x3d43a4]['isRemoved']&&(_0x35556c[_0x3d43a4]['isIncorrect']=!0x0));}return _0x35556c['filter'](_0x39ea6a=>!_0x39ea6a['isIncorrect']);}['_makeModelFromTape'](_0x373c2c,_0x44af6d,_0x15c485){const _0x298e52=new wt(),_0x3be1bc=[],_0x30b51e=new Map(),_0x17089b=this['editor']['model'],_0x3b97b6=_0x17089b['schema'],_0xf2e6a1=[_0x298e52],_0x39a77f={},_0x20e3bd={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x17ec74=null;const _0x2c2894=[0x0];for(let _0x3b260e=0x0;_0x3b260e<_0x373c2c['length'];_0x3b260e++){let _0x280a9f,_0x27bb3a;if('elementStart'===_0x373c2c[_0x3b260e]['type']){_0x280a9f=_0x17089b['createPositionFromPath'](_0x298e52,_0x2c2894);const _0x3aab29=new ft(_0x373c2c[_0x3b260e]['item']['name'],_0x373c2c[_0x3b260e]['item']['getAttributes']());_0xf2e6a1[0x0]['_appendChild'](_0x3aab29),_0x2c2894['push'](0x0),_0xf2e6a1['unshift'](_0x3aab29),_0x27bb3a=_0x17089b['createPositionFromPath'](_0x298e52,_0x2c2894),_0x17ec74=null;}else{if('elementEnd'===_0x373c2c[_0x3b260e]['type'])_0xf2e6a1['shift'](),_0x280a9f=_0x17089b['createPositionFromPath'](_0x298e52,_0x2c2894),_0x2c2894['pop'](),_0x2c2894[_0x2c2894['length']-0x1]++,_0x27bb3a=_0x17089b['createPositionFromPath'](_0x298e52,_0x2c2894),_0x17ec74=null;else{if(_0x280a9f=_0x17089b['createPositionFromPath'](_0x298e52,_0x2c2894),_0x17ec74&&_0x516e6d(_0x17ec74,_0x373c2c[_0x3b260e]['item']))_0x17ec74['_data']+=_0x373c2c[_0x3b260e]['item']['data'];else{const _0x53b43c=new _t(_0x373c2c[_0x3b260e]['item']['data'],_0x373c2c[_0x3b260e]['item']['getAttributes']());_0xf2e6a1[0x0]['_appendChild'](_0x53b43c),_0x17ec74=_0x53b43c;}_0x2c2894[_0x2c2894['length']-0x1]+=_0x373c2c[_0x3b260e]['item']['offsetSize'],_0x27bb3a=_0x17089b['createPositionFromPath'](_0x298e52,_0x2c2894);}}for(const _0x4e544e of _0x373c2c[_0x3b260e]['markersStart'])_0x30b51e['set'](_0x4e544e,{'start':_0x280a9f,'end':null});_0x5438c2('isRemoveSuggestion',_0x3b260e,_0x280a9f,_0x27bb3a),_0x5438c2('isAddSuggestion',_0x3b260e,_0x280a9f,_0x27bb3a),_0x5438c2('isRemoved',_0x3b260e,_0x280a9f,_0x27bb3a),_0x5438c2('isAdded',_0x3b260e,_0x280a9f,_0x27bb3a);for(const _0x55e4fe of _0x373c2c[_0x3b260e]['markersEnd']){_0x30b51e['get'](_0x55e4fe)['end']=_0x27bb3a;}}for(const [_0x5c68cc,_0x20e37e]of _0x30b51e){const _0x3245cd=this['editor']['model']['createRange'](_0x20e37e['start'],_0x20e37e['end']);_0x298e52['markers']['set'](_0x5c68cc,_0x3245cd);}return _0x3be1bc['sort']((_0x17955b,_0x1750a9)=>{const _0x3673ab=_0x298e52['markers']['get']('revision:'+_0x17955b['id']),_0x327233=_0x298e52['markers']['get']('revision:'+_0x1750a9['id']);return _0x3673ab['start']['isBefore'](_0x327233['start'])?-0x1:_0x3673ab['start']['isAfter'](_0x327233['start'])?0x1:_0x3673ab['end']['isBefore'](_0x327233['end'])?-0x1:_0x3673ab['end']['isAfter'](_0x327233['end'])?0x1:'add'===_0x17955b['type']?-0x1:0x1;}),{'root':_0x298e52,'changes':_0x3be1bc};function _0x5438c2(_0x3cf0ab,_0x4d426e,_0x3d13fd,_0x3aa251){const _0xc85949=!!_0x373c2c[_0x4d426e][_0x3cf0ab],_0x142f1c=_0xc85949?_0x373c2c[_0x4d426e][_0x3cf0ab]['userId']:null,_0x488557=_0x4d426e===_0x373c2c['length']-0x1,_0x5b00a3=_0x20e3bd[_0x3cf0ab][0x0],_0xba59e1=_0x3b97b6['isObject'](_0x373c2c[_0x4d426e]['item']);!_0x39a77f[_0x3cf0ab]&&_0xc85949?_0x39a77f[_0x3cf0ab]={'start':_0x3d13fd,'tapeItem':_0x373c2c[_0x4d426e],'userId':_0x142f1c,'type':_0x3cf0ab}:_0x39a77f[_0x3cf0ab]&&!_0xc85949?(_0x39a77f[_0x3cf0ab]['end']=_0x3d13fd,_0x2d8466(_0x39a77f[_0x3cf0ab]),_0x39a77f[_0x3cf0ab]=null):_0x39a77f[_0x3cf0ab]&&_0xc85949&&_0x39a77f[_0x3cf0ab]['userId']!==_0x142f1c&&(_0x39a77f[_0x3cf0ab]['end']=_0x3d13fd,_0x5b00a3&&_0x5b00a3['userId']===_0x39a77f[_0x3cf0ab]['userId']||_0x2d8466(_0x39a77f[_0x3cf0ab]),_0x39a77f[_0x3cf0ab]={'start':_0x3d13fd,'tapeItem':_0x373c2c[_0x4d426e],'userId':_0x142f1c,'type':_0x3cf0ab}),_0x39a77f[_0x3cf0ab]&&_0xba59e1&&('elementStart'!==_0x373c2c[_0x4d426e]['type']||_0x5b00a3&&_0x5b00a3['userId']===_0x142f1c||_0x20e3bd[_0x3cf0ab]['unshift']({'userId':_0x142f1c,'object':_0x373c2c[_0x4d426e]['item'],'change':_0x39a77f[_0x3cf0ab]}),'elementEnd'===_0x373c2c[_0x4d426e]['type']&&_0x5b00a3&&_0x5b00a3['object']===_0x373c2c[_0x4d426e]['item']&&(_0x20e3bd[_0x3cf0ab]['shift'](),_0x39a77f[_0x3cf0ab]=_0x5b00a3['change'])),_0x39a77f[_0x3cf0ab]&&_0x488557&&(_0x39a77f[_0x3cf0ab]['end']=_0x3aa251,_0x2d8466(_0x39a77f[_0x3cf0ab]),_0x39a77f[_0x3cf0ab]=null);}function _0x2d8466({start:_0x54761f,end:_0x3cf281,tapeItem:_0x4c5620,userId:_0x2720a4,type:_0x1a82c4}){const _0x59f923=_0x4c5620['item'],_0x38bb3b=_0x17089b['schema']['isBlock'](_0x59f923)&&!_0x17089b['schema']['isLimit'](_0x59f923),_0x911950=_0x54761f['nodeAfter']==_0x3cf281['parent']&&_0x3cf281['isAtStart'];if(_0x38bb3b&&_0x911950)return;const _0xa8b1d5=_0x17089b['createRange'](_0x54761f,_0x3cf281),_0x4fd36a=_0x44af6d['get'](_0x2720a4),_0x61dd9c=new r({'author':_0x4fd36a,'type':'isAdded'==_0x1a82c4||'isAddSuggestion'==_0x1a82c4?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x1a82c4||'isRemoveSuggestion'==_0x1a82c4},'createdAt':new Date(),'rootName':_0x15c485});_0x3be1bc['push'](_0x61dd9c),_0x298e52['markers']['set']('revision:'+_0x61dd9c['id'],_0xa8b1d5);}function _0x516e6d(_0x22302f,_0x397ef7){const _0xceb39=_0x22302f['getAttributes'](),_0x2c740=_0x397ef7['getAttributes']();for(const _0x1a7e5a of _0xceb39){if(_0x1a7e5a[0x1]!==_0x397ef7['getAttribute'](_0x1a7e5a[0x0]))return!0x1;_0x2c740['next']();}return _0x2c740['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x332752=>{const _0x22e5e2=_0x332752['markerName']['split'](':')[0x1],_0xc549c0=this['_getChangeFromId'](_0x22e5e2);if(!_0xc549c0)return null;const _0x430622='add'==_0xc549c0['type']?'insertion':'deletion',_0x2fd2ea=['ck-suggestion-marker','ck-suggestion-marker-'+_0x430622];return _0xc549c0['data']['isSuggestion']&&_0x2fd2ea['push']('ck-suggestion-marker-'+_0x430622+'-new'),this['activeChange']==_0xc549c0&&_0x2fd2ea['push']('ck-suggestion-marker--active'),{'classes':_0x2fd2ea,'attributes':{'data-change-id':_0x22e5e2}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x3547a2=>{_0x3547a2['on']('element:pre',(_0x273944,_0x5d244f,_0x13a83e)=>{const _0x427012=_0x5d244f['viewItem']['getChild'](0x0);if(!_0x427012||!_0x427012['is']('element','code'))return;if(!_0x13a83e['consumable']['consume'](_0x427012,{'attributes':['vid_start','vid_end']}))return;const _0x3ea807=_0x5d244f['modelRange']['start']['nodeAfter'];_0x13a83e['writer']['setAttribute']('vid_start',_0x427012['getAttribute']('vid_start'),_0x3ea807),_0x13a83e['writer']['setAttribute']('vid_end',_0x427012['getAttribute']('vid_end'),_0x3ea807);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0xb697e1=>{_0xb697e1['on']('element',(_0x1ba6c4,_0xf5ff81,_0x59beb5)=>{if(!_0x59beb5['consumable']['consume'](_0xf5ff81['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0xf5ff81['modelRange']['isCollapsed'])return;const _0x264dea=_0xf5ff81['modelRange']['start']['nodeAfter'];_0x264dea['hasAttribute']('vid_start')||_0x264dea['hasAttribute']('vid')||(_0x59beb5['writer']['setAttribute']('vid_start',_0xf5ff81['viewItem']['getAttribute']('vid_start'),_0x264dea),_0x59beb5['writer']['setAttribute']('vid_end',_0xf5ff81['viewItem']['getAttribute']('vid_end'),_0x264dea));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x4fddad=>_0x4fddad['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x22276e,[,_0x330f38])=>{['vid_start','vid_end','vid']['includes'](_0x330f38)&&(_0x22276e['return']=!0x0,_0x22276e['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xdc14db=>{_0xdc14db['on']('attribute:vid',(_0x32919f,_0x5e5141,_0x100ff9)=>{if('\x20'!=_0x5e5141['item']['data']||_0x5e5141['item']['parent']['maxOffset']>0x1)return;if(!_0x100ff9['consumable']['consume'](_0x5e5141['item'],_0x32919f['name']))return;const _0x588b4c=_0x100ff9['writer'],_0x433964=_0x100ff9['mapper']['toViewRange'](_0x5e5141['range']);_0x588b4c['wrap'](_0x433964,_0x588b4c['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x58ed80){const _0x2da2fc=_0x58ed80['plugins']['get']('RevisionViewer');return(_0x56c314,_0x85eb78,_0x4fee15)=>{const _0x4de697=_0x85eb78['markerName']['split'](':')[0x1],_0x971061=_0x2da2fc['_getChangeFromId'](_0x4de697);if(!_0x971061)return null;const _0x4041c5='add'==_0x971061['type']?'split':'merge';if(!_0x4fee15['consumable']['test'](_0x85eb78['markerRange'],_0x56c314['name']))return;const _0x3143e3=_0x85eb78['markerRange']['getWalker'](),_0x77ae38=_0x85eb78['markerRange']['start'],_0x57d94d=_0x58ed80['model']['schema'];let _0x20f526=null,_0x273ece=null,_0x1eca4a=!0x1,_0x3f1d32=!0x1;for(const _0x491802 of _0x3143e3){const _0x428e9e=_0x491802['item'];_0x1eca4a=_0x1eca4a||_0x57d94d['isContent'](_0x428e9e);const _0x5b3c6e=_0x4fee15['mapper']['toViewElement'](_0x428e9e);if(_0x5b3c6e&&_0x5b3c6e['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x491802['type']&&(_0x57d94d['isBlock'](_0x428e9e)&&!_0x57d94d['isLimit'](_0x428e9e)&&(_0x428e9e['nextSibling']||_0x77ae38['isAtEnd']?_0x20f526&&_0x20f526['parent']==_0x428e9e||(_0x20f526=_0x428e9e,_0x3202e1(_0x491802['previousPosition']),_0x3f1d32=!0x0):_0x273ece=_0x273ece||_0x491802['previousPosition']));}function _0x3202e1(_0x2414bf){const _0x187c39=_0x4fee15['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4041c5}),_0x4d8985=_0x4fee15['mapper']['toViewPosition'](_0x2414bf);_0x971061['data']['isSuggestion']&&_0x4fee15['writer']['addClass']('ck-suggestion-marker-'+_0x4041c5+'-new',_0x187c39),_0x2da2fc['activeChange']==_0x971061&&_0x4fee15['writer']['addClass']('ck-suggestion-marker--active',_0x187c39),_0x4fee15['writer']['insert'](_0x4d8985,_0x187c39),_0x4fee15['mapper']['bindElementToMarker'](_0x187c39,_0x85eb78['markerName']);}_0x1eca4a||_0x3f1d32||!_0x273ece||_0x3202e1(_0x273ece);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5ddd7c,_0x65419d,_0x34a3d4)=>{const _0x5ae2ec=_0x34a3d4['mapper']['markerNameToElements'](_0x65419d['markerName']);if(_0x5ae2ec){for(const _0x637480 of _0x5ae2ec)(_0x637480['hasClass']('ck-suggestion-marker-split')||_0x637480['hasClass']('ck-suggestion-marker-merge'))&&(_0x34a3d4['mapper']['unbindElementFromMarkerName'](_0x637480,_0x65419d['markerName']),_0x34a3d4['writer']['remove'](_0x637480));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x32b02a,_0x62768a,_0x4cfbb1)=>{const _0x135cdd=_0x62768a['markerName']['split'](':')[0x1],_0x556636=this['_getChangeFromId'](_0x135cdd);if(!_0x556636)return null;const _0x501229='add'==_0x556636['type']?'split':'merge';if(_0x4cfbb1['consumable']['test'](_0x62768a['markerRange'],_0x32b02a['name']))for(const _0x3473db of _0x62768a['markerRange']['getItems']()){if(!_0x3473db['is']('element','softBreak'))continue;const _0x125f0c=_0x4cfbb1['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x501229}),_0x5adbdd=_0x4cfbb1['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3473db));_0x556636['data']['isSuggestion']&&_0x4cfbb1['writer']['addClass']('ck-suggestion-marker-'+_0x501229+'-new',_0x125f0c),this['activeChange']==_0x556636&&_0x4cfbb1['writer']['addClass']('ck-suggestion-marker--active',_0x125f0c),_0x4cfbb1['writer']['insert'](_0x5adbdd,_0x125f0c),_0x4cfbb1['mapper']['bindElementToMarker'](_0x125f0c,_0x62768a['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x4ef107=>{for(const _0x5a4e43 of this['editor']['model']['document']['getRootNames']()){const _0x51f8d3=this['editor']['model']['document']['getRoot'](_0x5a4e43),_0x22eac8=this['editor']['editing']['view']['document']['getRoot'](_0x5a4e43);if(_0x22eac8){const _0x2c0954=_0x51f8d3['getAttribute']('revisionHistoryAttachChange');if(_0x4ef107['removeAttribute']('data-change-id',_0x22eac8),_0x4ef107['removeClass']('ck-revision-history-root-add',_0x22eac8),_0x4ef107['removeClass']('ck-revision-history-root-remove',_0x22eac8),_0x4ef107['removeClass']('ck-revision-history-root--active',_0x22eac8),_0x2c0954){const _0x52d293=this['_getChangeFromId'](_0x2c0954);if(!_0x52d293)return null;_0x4ef107['setAttribute']('data-change-id',_0x2c0954,_0x22eac8),_0x4ef107['addClass']('ck-revision-history-root-'+_0x52d293['type'],_0x22eac8),this['activeChange']==_0x52d293&&_0x4ef107['addClass']('ck-revision-history-root--active',_0x22eac8);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x3f690f=>'revision-comment:'+_0x3f690f,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x223d41=>'revision-suggestion:'+_0x223d41,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x4b0f21=>({'name':'suggestion:'+_0x4b0f21,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3c5d85=>{const _0x2d2a13=_0x3c5d85['markerName']['split'](':')[0x1];return'insertion'!=_0x2d2a13&&'deletion'!=_0x2d2a13?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x2d2a13]};}}),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',(_0x59d2eb,_0x2f49ee,_0x1585b6)=>{const _0x556ca4=_0x1585b6['mapper']['markerNameToElements'](_0x2f49ee['markerName']);if(_0x556ca4){for(const _0x25e588 of _0x556ca4)_0x25e588['is']('uiElement')&&(_0x1585b6['mapper']['unbindElementFromMarkerName'](_0x25e588,_0x2f49ee['markerName']),_0x1585b6['writer']['remove'](_0x25e588));}},{'priority':'high'});}['_getChangeFromId'](_0x498706){return this['_changeIdToChange']['get'](_0x498706);}['_getViewForChange'](_0x3ba1cf){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3ba1cf),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x38591f,_0x2eda88,_0xdec505,_0x1a5028)=>{_0x1a5028&&this['_balloon']['remove'](_0x1a5028),_0xdec505&&(this['_balloon']['add']({'view':_0xdec505,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xc477fa=this['editor']['editing'],_0x2733f0=this['_getChangeFromId'](_0xdec505['changeId']);let _0x1290e9;if(_0x2733f0['data']['isOnRoot']){const _0x843983=_0xc477fa['view']['getDomRoot'](_0x2733f0['rootName']);_0x1290e9=Array['from'](_0x843983['getClientRects']());}else{const _0x3a5be9=this['editor']['model']['markers']['get']('revision:'+_0xdec505['changeId']);_0x1290e9=Array['from'](_0xc477fa['mapper']['markerNameToElements'](_0x3a5be9['name']))['map'](_0x26f4a7=>_0xc477fa['view']['domConverter']['mapViewToDom'](_0x26f4a7))['map'](_0x267070=>Array['from'](_0x267070['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x1290e9[0x0];return _0x1290e9['find'](_0x5c3109=>_0x5c3109['top']-0x3<=this['_activeViewTarget']['y']&&_0x5c3109['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x5c3109['left']-0x3<=this['_activeViewTarget']['x']&&_0x5c3109['right']+0x3>=this['_activeViewTarget']['x'])||_0x1290e9[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x4b9096,_0x1e7c99,_0x258abf,_0x51677c)=>{this['activeView']=_0x258abf?this['_getViewForChange'](_0x258abf):null,this['editor']['model']['change'](()=>{const _0x3d45f1=this['editor']['editing'];_0x51677c&&(_0x51677c['data']['isOnRoot']?_0x3d45f1['view']['change'](_0x12dff2=>{_0x12dff2['removeClass']('ck-revision-history-root--active',_0x3d45f1['view']['document']['getRoot'](_0x51677c['rootName']));}):_0x3d45f1['reconvertMarker']('revision:'+_0x51677c['id'])),_0x258abf&&(_0x258abf['data']['isOnRoot']?_0x3d45f1['view']['change'](_0x107455=>{_0x107455['addClass']('ck-revision-history-root--active',_0x3d45f1['view']['document']['getRoot'](_0x258abf['rootName']));}):_0x3d45f1['reconvertMarker']('revision:'+_0x258abf['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x267c49,_0x1c9bb1)=>{if(this['activeChange'])return;const _0x2e9495=this['_findChangeIdFromDomTarget'](_0x1c9bb1['target']),_0x12ba6f=this['_changeIdToChange']['get'](_0x2e9495);_0x12ba6f?(this['_activeViewTarget']={'x':_0x1c9bb1['domEvent']['x'],'y':_0x1c9bb1['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x12ba6f)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x17a6cd,_0x47b322)=>{const _0x196940=this['_findChangeIdFromDomTarget'](_0x47b322['target']),_0x468591=this['_changeIdToChange']['get'](_0x196940);_0x468591?(this['_activeViewTarget']={'x':_0x47b322['domEvent']['x'],'y':_0x47b322['domEvent']['y']},_0x468591===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x468591):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x2604d7){do{const _0x291f73=_0x2604d7['getAttribute']('data-change-id');if(_0x291f73)return _0x291f73;_0x2604d7=_0x2604d7['parent'];}while(_0x2604d7);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0xec1754=>{for(const _0x2176f1 of this['editor']['model']['markers'])_0xec1754['removeMarker'](_0x2176f1);});}}function et(_0x2e6307,_0x3c1194){return(_0x50cfa9,_0x3b1ee7,_0x31ede6)=>{if(!_0x31ede6['consumable']['test'](_0x3b1ee7['markerRange'],_0x50cfa9['name']))return;const _0x5d76e7=_0x3b1ee7['markerRange']['getWalker'](),_0x915d69=_0x3b1ee7['markerRange']['start'],_0x3bdcea=_0x2e6307['model']['schema'];let _0x4bac78=null,_0x1a0e81=null,_0x2cc1b7=!0x1,_0x348d46=!0x1;for(const _0x1de3a2 of _0x5d76e7){const _0x4a5630=_0x1de3a2['item'];_0x2cc1b7=_0x2cc1b7||_0x3bdcea['isContent'](_0x4a5630);const _0xfecb75=_0x31ede6['mapper']['toViewElement'](_0x4a5630);if(_0xfecb75&&_0xfecb75['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x1de3a2['type']&&(_0x3bdcea['isBlock'](_0x4a5630)&&!_0x3bdcea['isLimit'](_0x4a5630)&&(_0x4a5630['nextSibling']||_0x915d69['isAtEnd']?_0x4bac78&&_0x4bac78['parent']==_0x4a5630||(_0x4bac78=_0x4a5630,_0x1b47b3(_0x1de3a2['previousPosition']),_0x348d46=!0x0):_0x1a0e81=_0x1a0e81||_0x1de3a2['previousPosition']));}function _0x1b47b3(_0x4c8fc0){const _0x205e19=_0x31ede6['mapper']['toViewPosition'](_0x4c8fc0),_0x219e3b=_0x31ede6['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x3c1194});_0x31ede6['writer']['insert'](_0x205e19,_0x219e3b),_0x31ede6['mapper']['bindElementToMarker'](_0x219e3b,_0x3b1ee7['markerName']);}_0x2cc1b7||_0x348d46||!_0x1a0e81||_0x1b47b3(_0x1a0e81);};}class bt extends _0x347b59{constructor(_0x2a912f){super(_0x2a912f);const _0x202807=_0x2a912f['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x202807,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x202807,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0xe58c00=this['editor'],_0x161a1a=_0xe58c00['plugins']['get'](d),_0x582d54=_0x161a1a['isReady']?_0x161a1a['diff']['newRevisionId']:null;_0xe58c00['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x582d54);}['refresh'](){const {isReady:_0x53ae93,isEnabled:_0x2fd6a0}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x53ae93&&_0x2fd6a0;}}class yt extends _0x347b59{['_step'];constructor(_0x399b9,{direction:_0x3e96d2}){super(_0x399b9);const _0x44a02f=_0x399b9['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x3e96d2?0x1:-0x1,this['listenTo'](_0x44a02f,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x44a02f,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x44a02f,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x275d8f=this['editor'],_0x42d57b=_0x275d8f['plugins']['get'](d),{isNavigationMode:_0x4ec00a,currentChangeNumber:_0x5ca319}=_0x42d57b;let _0xd8a910;if(_0x42d57b['activeChange']=_0x4ec00a?_0x42d57b['diff']['changes']['get'](_0x5ca319+this['_step']):_0x42d57b['diff']['changes']['first'],_0x42d57b['activeChange']['data']['isOnRoot'])_0xd8a910=_0x275d8f['editing']['view']['getDomRoot'](_0x42d57b['activeChange']['rootName']);else{const _0x4ab915=_0x275d8f['model']['markers']['get']('revision:'+_0x42d57b['activeChange']['id']);_0xd8a910=_0x5d7d4e(_0x275d8f['editing'],_0x4ab915);}_0x3c34b2({'target':_0xd8a910,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x32a7e0,currentChangeNumber:_0x44526e,numberOfChanges:_0xcdbc3e,isReady:_0x3d0538,isEnabled:_0x324b24}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x324b24&&_0x3d0538&&_0xcdbc3e)&&(!_0x32a7e0||(0x1===this['_step']?_0x44526e<_0xcdbc3e-0x1:_0x44526e>0x0));}}class _i extends _0x347dad{constructor(_0xe532a0){super(_0xe532a0);const _0x46af2a=this['bindTemplate'],_0x5973aa=new _0x3908eb(_0xe532a0),_0x53c932=new _0x3908eb(_0xe532a0);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',(_0xdf6095,_0x25926c)=>_0xdf6095&&_0x25926c>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x51ce4e,_0x47504d,_0x179b1e,_0x26b5bf)=>{if(!_0x51ce4e)return y(_0xe532a0,'Loading...');if(!_0x179b1e)return y(_0xe532a0,'No\x20changes');const _0x4d5e07=y(_0xe532a0,'NUMBER_OF_CHANGES',_0x179b1e);return _0x26b5bf?y(_0xe532a0,'X_OF_Y_CHANGES',[_0x47504d+0x1,_0x179b1e]):_0x4d5e07;}),_0x5973aa['set']({'label':y(_0xe532a0,'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'}),_0x53c932['set']({'label':y(_0xe532a0,'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'}),_0x5973aa['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x53c932['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x5973aa['on']('execute',()=>this['fire']('execute','backward')),_0x53c932['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',_0x46af2a['if']('_isStatusLabelVisible','ck-hidden',_0x4a5015=>!_0x4a5015)]},'children':[{'text':_0x46af2a['to']('isNavigationMode',_0x3ff440=>_0x3ff440?y(_0xe532a0,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0xe532a0,'Total')+':\x20')}]},{'text':_0x46af2a['to']('_statusText')}]},new _0x39da0f(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x5973aa,_0x53c932]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x5be8fc{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x365149=this['editor']['editing']['view'];_0x365149['change'](_0x3aa620=>{for(const _0x6e0412 of _0x365149['document']['roots'])_0x3aa620['addClass'](ce,_0x6e0412);});}['hide'](){const _0x2e696c=this['editor']['editing']['view'];_0x2e696c['change'](_0xc244cd=>{for(const _0x3fffa7 of _0x2e696c['document']['roots'])_0xc244cd['removeClass'](ce,_0x3fffa7);});}}class R extends _0x5be8fc{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x17513c=this['editor'],_0x548722=_0x17513c['plugins']['get'](d),_0x2c256e=_0x17513c['plugins']['get'](de);_0x17513c['ui']['componentFactory']['add']('exitToEditing',_0x7fed9b=>{const _0x570f64=new _0x3908eb(_0x7fed9b);return _0x570f64['set']({'label':y(_0x7fed9b,'Back\x20to\x20editing'),'icon':_0x57278e['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x570f64,'execute',()=>{_0x17513c['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x570f64;}),_0x17513c['ui']['componentFactory']['add']('restoreRevision',_0x1c0177=>{const _0x332edc=new _0x3908eb(_0x1c0177);return _0x332edc['set']({'label':y(_0x1c0177,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x332edc['bind']('isEnabled')['to'](_0x17513c['commands']['get']('restoreRevision')),this['listenTo'](_0x332edc,'execute',()=>_0x17513c['execute']('restoreRevision')),_0x332edc;}),_0x17513c['ui']['componentFactory']['add']('changesNavigation',_0x8bbefa=>{const _0x466292=new _i(_0x8bbefa),_0x121447=_0x17513c['commands']['get']('showPreviousChange'),_0x3f82b8=_0x17513c['commands']['get']('showNextChange');return _0x466292['bind']('isBackwardNavigationEnabled')['to'](_0x121447,'isEnabled'),_0x466292['bind']('isForwardNavigationEnabled')['to'](_0x3f82b8,'isEnabled'),_0x466292['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x548722),this['listenTo'](_0x466292,'execute',(_0xf3c932,_0x3a0527)=>{_0x17513c['execute']('forward'===_0x3a0527?'showNextChange':'showPreviousChange');}),_0x466292;}),_0x2c256e['show'](),_0x548722['on']('change:isReady',(_0x14ba27,_0x3f8b48,_0x250adb)=>{_0x250adb?_0x2c256e['hide']():_0x2c256e['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x33b13e,_0x16304f){super(_0x33b13e,_0x16304f);const _0x5d9036=this['bindTemplate'];this['set']({'label':y(_0x33b13e,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x33b13e,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x5d9036['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 _0x54ccff=this['fieldView']['element'];this['_tooltipString']=_0x54ccff['scrollWidth']>_0x54ccff['clientWidth']&&_0x54ccff['value']||'';}}class ti extends _0x347dad{constructor(_0x449a69,_0x40bf92,_0x202c30){super(_0x449a69);const _0x5da6da=new _0x4c1b66();_0x5da6da['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 _0x1f94f2=['ck','ck-revision-history-sidebar__revision-author'];_0x202c30&&_0x1f94f2['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3a26be=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x449a69,_0x202c30?'Revision\x20creator':'Revision\x20author')},'children':[_0x5da6da,_0x40bf92['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x1f94f2},'children':_0x3a26be});}}function ni(_0x1ccbfe,_0x29333a){const _0x103727=_0x1ccbfe['bindTemplate'],_0x12f3eb=_0x1ccbfe['locale'],_0x11a298=_0x492605(_0x12f3eb);_0x11a298['panelPosition']='sw';const _0x22294f=function(_0x319499,_0x3f83c5){const _0x443410=function(_0x43afcf,_0x3bb709){const _0x5f4acf=_0x43afcf['locale'],_0x3527e2={'Compare\x20against\x20selected':y(_0x5f4acf,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x5f4acf,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x5f4acf,'Restore\x20this\x20revision')};return _0x3bb709['map'](_0x3839c3=>{const _0x56e376=_0x3527e2[_0x3839c3['name']];return _0x56e376&&_0x56e376!==_0x3839c3['name']&&(_0x3839c3['name']=_0x56e376),_0x3839c3;});}(_0x319499,_0x3f83c5),_0x531b64=new _0x51a9b0();for(const _0x7feb98 of _0x443410){const _0x23f616={'type':'button','model':new to({'label':_0x7feb98['name'],'class':_0x7feb98['class'],'withText':!0x0,'role':'menuitem','_action':_0x7feb98['action']})};_0x23f616['model']['bind']('isEnabled')['to'](_0x319499,'isActionsDropdownOpen',_0x557873=>'function'!=typeof _0x7feb98['isEnabled']||(!_0x557873||_0x7feb98['isEnabled'](_0x319499))),_0x531b64['add'](_0x23f616);}return _0x531b64;}(_0x1ccbfe,_0x29333a);return _0x1ccbfe['bind']('isActionsDropdownOpen')['to'](_0x11a298,'isOpen'),_0x11a298['buttonView']['set']({'label':y(_0x12f3eb,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x57278e['threeVerticalDots']}),_0x11a298['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x103727['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x103727['to'](_0x45fb34=>_0x45fb34['stopPropagation']())}}),_0x11a298['on']('execute',_0x1f0b9c=>{_0x1ccbfe['isReady']&&'function'==typeof _0x1f0b9c['source']['_action']&&_0x1f0b9c['source']['_action'](_0x1ccbfe);}),_0x58492e(_0x11a298,_0x22294f,{'role':'menu'}),_0x11a298['listenTo'](_0x1ccbfe,'change:isActionsDropdownOpen',(_0x5dfd2b,_0x187900,_0x38fa28)=>{if(_0x38fa28)for(const _0xef8809 of _0x11a298['listView']['items']){const _0x36d7b1=_0xef8809['children']['first'],_0x440f42=_0x29333a['find'](_0x119dce=>_0x119dce['action']===_0x36d7b1['_action'])['isVisible'];_0xef8809['isVisible']=void 0x0===_0x440f42||_0x440f42(_0x1ccbfe);}}),_0x11a298;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x325a1a(_0x347dad){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x823377,_0x28be3c,_0x3fc7d2,_0x14e2da){super(_0x823377);const _0x46e572=this['bindTemplate'],_0x3c6eee=function(_0x251aef,_0x39a788){const _0x1db37d=Array['from'](_0x39a788['authors'])['filter'](_0x1dbc02=>_0x1dbc02!=_0x39a788['creator']);return _0x39a788['creator']&&_0x1db37d['unshift'](_0x39a788['creator']),_0x1db37d['map'](_0x5d4ccb=>new ti(_0x251aef,_0x5d4ccb,_0x5d4ccb==_0x39a788['creator']));}(_0x823377,_0x28be3c);this['id']=_0x28be3c['id'],this['_revision']=_0x28be3c,this['_requireRevisionName']=_0x14e2da,this['bind']('name','createdAt')['to'](_0x28be3c),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x550845=>{return _0x3afb86=_0x823377['uiLanguage'],(_0xf6bcb2=_0x550845)['toLocaleDateString'](_0x3afb86,{'month':'long','day':'numeric'})+',\x20'+_0xf6bcb2['toLocaleTimeString'](_0x3afb86,{'hour':'numeric','minute':'numeric'});var _0x3afb86,_0xf6bcb2;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x823377,_0x18da03),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x1fd059=>_0x1fd059||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x4aca9a,_0x353107)=>_0x4aca9a&&_0x353107),this['revisionActionsView']=_0x3fc7d2&&_0x3fc7d2['length']?ni(this,_0x3fc7d2):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x46e572['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x46e572['if']('isEnabled','ck-disabled',_0x552598=>!_0x552598),_0x46e572['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x46e572['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x46e572['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':_0x46e572['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':_0x3c6eee}]},this['revisionActionsView']],'on':{'click':_0x46e572['to'](_0x1f04c1=>{_0x1f04c1['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x2c9b1e=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x2c9b1e,'change',()=>{this['_requireRevisionName']&&!_0x2c9b1e['value']||this['fire']('setName',{'id':this['id'],'name':_0x2c9b1e['value']}),_0x2c9b1e['value']||(_0x2c9b1e['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(_0x439792,_0x3defa7){const _0x405e7a=_0x3507ab['fromJSDate'](_0x439792)['setLocale'](_0x3defa7),_0x14f0b3=_0x3507ab['local'](),_0x508a05=_0x14f0b3['minus']({'days':0x1})['startOf']('day');let _0x3642d6,_0x10c2bf;return _0x405e7a['hasSame'](_0x14f0b3,'day')?(_0x3642d6=_0x405e7a['startOf']('day')['toJSDate'](),_0x10c2bf=_0x405e7a['toRelativeCalendar']()):_0x405e7a['hasSame'](_0x508a05,'day')?(_0x3642d6=_0x508a05['toJSDate'](),_0x10c2bf=_0x405e7a['toRelativeCalendar']()):_0x405e7a['hasSame'](_0x14f0b3,'week')?(_0x3642d6=_0x405e7a['startOf']('week')['toJSDate'](),_0x10c2bf=_0x405e7a['weekdayLong']||''):_0x405e7a['hasSame'](_0x14f0b3,'year')?(_0x3642d6=_0x405e7a['startOf']('month')['toJSDate'](),_0x10c2bf=_0x405e7a['monthLong']||''):(_0x3642d6=_0x405e7a['startOf']('year')['toJSDate'](),_0x10c2bf=String(_0x405e7a['year'])),{'startDate':_0x3642d6,'localizedPeriodName':_0x10c2bf};}class mi extends _0x347dad{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x499f00,_0x3a52bb,_0x3c689b,_0xdebb8f){super(_0x499f00);const _0x3bb2c9=di(_0x3a52bb,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3a52bb,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x3c689b,this['_requireRevisionName']=_0xdebb8f,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':_0x3bb2c9}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x2818d8){const _0x2d4d99=new ai(this['locale'],_0x2818d8,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x2d4d99);}['removeRevision'](_0x6a6ad3){const _0x67e43c=this['revisionViews']['find'](_0x69dbb5=>_0x69dbb5['id']===_0x6a6ad3['id']);this['revisionViews']['remove'](_0x67e43c);}}class as extends _0x347dad{constructor(_0x145969){super(_0x145969);const _0x17d70f=new _0x4c1b66();_0x17d70f['content']=_0x57278e['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x17d70f,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x145969,'Revision\x20history')]}]});}}class ci extends _0x347dad{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x232716,_0x53dc5e,_0x19d050,_0x5d4f42){super(_0x232716);const _0x382998=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x53dc5e,this['_revisionActions']=_0x19d050,this['_requireRevisionName']=_0x5d4f42,this['on']('select',(_0x524559,_0x3c40b3)=>{this['fire']('revisionSelected',_0x3c40b3);}),this['on']('setName',(_0x1e0582,_0x1c4a50)=>{this['fire']('revisionSetName',_0x1c4a50);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x232716),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x382998['if']('isEnabled','ck-disabled',_0x1fd74d=>!_0x1fd74d)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x393878 of this['_revisions'])this['_addRevision'](_0x393878);this['_revisions']['on']('add',(_0xe0c68a,_0x2c1782)=>{this['_addRevision'](_0x2c1782);}),this['_revisions']['on']('remove',(_0x28982a,_0x51455b)=>{this['_removeRevision'](_0x51455b);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x3c36d2=>_0x3c36d2['revisionViews']['map'](_0x122319=>_0x122319))['flat']();}['selectRevision'](_0xce4d9c){for(const _0x1aad88 of this['revisionViews'])_0xce4d9c&&_0xce4d9c['id']===_0x1aad88['id']?_0x1aad88['select']():_0x1aad88['deselect']();}['highlightRevisions'](_0xc28d46){for(const _0x4921d8 of this['revisionViews'])_0xc28d46['some'](({id:_0x4a2343})=>_0x4a2343===_0x4921d8['id'])?_0x4921d8['highlight']():_0x4921d8['unhighlight']();}['_addRevision'](_0x5a623f){const _0x4ffd18=di(_0x5a623f['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x37becc=this['timePeriodViews']['get'](0x0);_0x37becc&&_0x37becc['startDate']['getTime']()===_0x4ffd18['getTime']()||(_0x37becc=new mi(this['locale'],_0x4ffd18,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x37becc)),_0x37becc['addRevision'](_0x5a623f);}['_removeRevision'](_0x481a8d){const _0x16bbbd=di(_0x481a8d['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x16bbbd)['removeRevision'](_0x481a8d);}['_getTimePeriodViewByStartDate'](_0x44faed){return this['timePeriodViews']['find'](_0x1008a8=>_0x1008a8['startDate']['getTime']()===_0x44faed['getTime']());}}class w extends _0x5be8fc{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x3603a7,Context as _0x5ccb6d,PendingActions as _0x20986d,icons as _0x144dbc,Command as _0x274677,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x3ebcb7,uid as _0xf0312f,Collection as _0x40a346,logWarning as _0x26ba3b,FocusTracker as _0x2f729d,KeystrokeHandler as _0x13b852,scrollViewportToShowTarget as _0xd6d3ba,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x2c7bd3}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x341401,getMarkerDomElement as _0x4e9e7d,ConfirmMixin as _0x23ddab,sanitizeEditorConfig as _0x3094b8}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x48992a,ViewText as _0x5dab6f,ViewElement as _0x3a08fb,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x2aa11a,ViewAttributeElement as _0x2938f1,ViewEmptyElement as _0x93bbe7,ViewRawElement as _0x167015,ViewUIElement as _0x4f4b91,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x28bea0,set as _0x5a2928,unset as _0x3d3a59,isEqual as _0x207ea5}from'lodash-es';import{View as _0x1f4a45,injectCssTransitionDisabler as ts,submitHandler as _0x4c620d,LabeledFieldView as at,createLabeledInputText as _0x547aa8,createDropdown as _0x8fc188,ListView as te,ListItemView as _0x118c45,ButtonView as _0x39ab84,MenuBarMenuView as _0x6d333,MenuBarMenuListView as _0x2b03dd,MenuBarMenuListItemView as _0x4bcfae,MenuBarMenuListItemButtonView as _0x23224e,ContextualBalloon as _0x433788,ToolbarSeparatorView as _0x25661a,IconView as _0x2fe791,addListToDropdown as _0x1af0b8,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 _0x252aa3}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x3ebcb7(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x29fe9b){super(),this['id']=_0x29fe9b['id']||_0xf0312f(),this['creator']=_0x29fe9b['creator']||null,this['authors']=_0x29fe9b['authors']||[],this['diffData']=_0x29fe9b['diffData']||null,this['toVersion']=_0x29fe9b['toVersion']||0x0,this['fromVersion']=_0x29fe9b['fromVersion']||0x0,this['set']('name',_0x29fe9b['name']||''),this['set']('createdAt',_0x29fe9b['createdAt']||new Date()),this['set']('attributes',_0x29fe9b['attributes']||{});}['setName'](_0x484129){this['_update']({'name':_0x484129});}['setAttribute'](_0x4b654b,_0x44e3fc){const _0x17af8f=_0x28bea0(this['attributes']);_0x5a2928(_0x17af8f,_0x4b654b,_0x44e3fc),this['_update']({'attributes':_0x17af8f});}['removeAttribute'](_0x129849){const _0x47e2fe=_0x28bea0(this['attributes']);_0x3d3a59(_0x47e2fe,_0x129849),this['_update']({'attributes':_0x47e2fe});}['_update'](_0x58f460,_0x507ea1=!0x1){let _0x36c3ed=!0x1;const _0x112d5f={'id':this['id']},_0x4e0021=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x3331f4 of _0x4e0021){const _0x2b6252=_0x58f460[_0x3331f4];void 0x0!==_0x2b6252&&_0x2b6252!==this[_0x3331f4]&&(this[_0x3331f4]=_0x2b6252,_0x112d5f[_0x3331f4]=_0x2b6252,_0x36c3ed=!0x0);}_0x36c3ed&&(_0x112d5f['authors']&&(_0x112d5f['authorsIds']=_0x112d5f['authors']['map'](_0x2024ed=>_0x2024ed['id']),delete _0x112d5f['authors']),this['fire']('_update',_0x112d5f,_0x507ea1));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x59d2cf=>_0x59d2cf['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x3603a7{['_revisions'];static get['requires'](){return[_0x341401];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x50f41c){super(_0x50f41c),this['_revisions']=new _0x40a346();}['afterInit'](){!function(_0x3a8e26){function _0x3c9a91(_0x2f714f,_0x1e6ffc,_0x2d9436){const _0x43636d={};_0x43636d[_0x114704([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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],_0x43636d[_0x114704([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 _0x597b52=new Uint8Array(0x10);for(let _0x3cbadc=0xf;_0x3cbadc>=0x0;--_0x3cbadc)_0x597b52[_0x3cbadc]=_0x2d9436%0x100,_0x2d9436=parseInt(_0x2d9436/0x100);let _0x3e8ee5=null,_0x9985f=0x10;const _0x344a85=new Uint8Array(_0x1e6ffc),_0x4c4993=[],_0x501c7b=[];_0x2f7331();for(let _0x5cd940=0x0;_0x5cd940<_0x2f714f[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cd940++)0x10===_0x9985f&&(_0x3e8ee5=_0x21c12a(_0x597b52),_0x9985f=0x0,_0x574bfd(_0x597b52)),_0x2f714f[_0x5cd940]^=_0x3e8ee5[_0x9985f++];return _0x2f714f;function _0x1f7187(_0x1ec957){const _0x50cdcf=[];for(let _0xab38e6=0x0;_0xab38e6<_0x1ec957[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xab38e6+=0x4)_0x50cdcf[_0x114704([0x70,0x75,0x73,0x68])](_0x1ec957[_0xab38e6]<<0x18|_0x1ec957[_0xab38e6+0x1]<<0x10|_0x1ec957[_0xab38e6+0x2]<<0x8|_0x1ec957[_0xab38e6+0x3]);return _0x50cdcf;}function _0x574bfd(_0x334bdd){for(let _0x56bf96=0xf;_0x56bf96>=0x0;_0x56bf96--){if(0xff!==_0x334bdd[_0x56bf96]){_0x334bdd[_0x56bf96]++;break;}_0x334bdd[_0x56bf96]=0x0;}}function _0x21c12a(_0x50c17a){const _0x1ba365=_0x4c4993[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x389d78=[0x0,0x0,0x0,0x0];let t=_0x1f7187(_0x50c17a);for(let _0x3bcec4=0x0;_0x3bcec4<0x4;_0x3bcec4++)t[_0x3bcec4]^=_0x4c4993[0x0][_0x3bcec4];for(let _0x10e0d6=0x1;_0x10e0d6<_0x1ba365;_0x10e0d6++){for(let _0x21c806=0x0;_0x21c806<0x4;_0x21c806++)_0x389d78[_0x21c806]=_0x43636d[_0x114704([0x54,0x31])][t[_0x21c806]>>0x18&0xff]^_0x43636d[_0x114704([0x54,0x32])][t[(_0x21c806+0x1)%0x4]>>0x10&0xff]^_0x43636d[_0x114704([0x54,0x33])][t[(_0x21c806+0x2)%0x4]>>0x8&0xff]^_0x43636d[_0x114704([0x54,0x34])][0xff&t[(_0x21c806+0x3)%0x4]]^_0x4c4993[_0x10e0d6][_0x21c806];t=_0x389d78[_0x114704([0x73,0x6c,0x69,0x63,0x65])]();}const _0x43f97c=new Uint8Array(0x10);let _0x55b883;for(let _0x555557=0x0;_0x555557<0x4;_0x555557++)_0x55b883=_0x4c4993[_0x1ba365][_0x555557],_0x43f97c[0x4*_0x555557]=0xff&(_0x43636d[_0x114704([0x53])][t[_0x555557]>>0x18&0xff]^_0x55b883>>0x18),_0x43f97c[0x4*_0x555557+0x1]=0xff&(_0x43636d[_0x114704([0x53])][t[(_0x555557+0x1)%0x4]>>0x10&0xff]^_0x55b883>>0x10),_0x43f97c[0x4*_0x555557+0x2]=0xff&(_0x43636d[_0x114704([0x53])][t[(_0x555557+0x2)%0x4]>>0x8&0xff]^_0x55b883>>0x8),_0x43f97c[0x4*_0x555557+0x3]=0xff&(_0x43636d[_0x114704([0x53])][0xff&t[(_0x555557+0x3)%0x4]]^_0x55b883);return _0x43f97c;}function _0x2f7331(){const _0x3a7327=_0x43636d[_0x114704([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x344a85[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x411677=0x0;_0x411677<=_0x3a7327;_0x411677++)_0x4c4993[_0x114704([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x501c7b[_0x114704([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x40b268=0x4*(_0x3a7327+0x1),_0x2a6e47=_0x344a85[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x283eef=_0x1f7187(_0x344a85);let _0x16eeef;for(let _0x5f38e2=0x0;_0x5f38e2<_0x2a6e47;_0x5f38e2++)_0x16eeef=_0x5f38e2>>0x2,_0x4c4993[_0x16eeef][_0x5f38e2%0x4]=_0x283eef[_0x5f38e2],_0x501c7b[_0x3a7327-_0x16eeef][_0x5f38e2%0x4]=_0x283eef[_0x5f38e2];let _0x3def46,_0x12325f=0x0,t=_0x2a6e47;for(;t<_0x40b268;){_0x3def46=_0x283eef[_0x2a6e47-0x1],_0x283eef[0x0]^=_0x43636d[_0x114704([0x53])][_0x3def46>>0x10&0xff]<<0x18^_0x43636d[_0x114704([0x53])][_0x3def46>>0x8&0xff]<<0x10^_0x43636d[_0x114704([0x53])][0xff&_0x3def46]<<0x8^_0x43636d[_0x114704([0x53])][_0x3def46>>0x18&0xff]^_0x43636d[_0x114704([0x72,0x63,0x6f,0x6e])][_0x12325f]<<0x18,_0x12325f+=0x1;for(let _0x1159e2=0x1;_0x1159e2<_0x2a6e47/0x2;_0x1159e2++)_0x283eef[_0x1159e2]^=_0x283eef[_0x1159e2-0x1];_0x3def46=_0x283eef[_0x2a6e47/0x2-0x1],_0x283eef[_0x2a6e47/0x2]^=_0x43636d[_0x114704([0x53])][0xff&_0x3def46]^_0x43636d[_0x114704([0x53])][_0x3def46>>0x8&0xff]<<0x8^_0x43636d[_0x114704([0x53])][_0x3def46>>0x10&0xff]<<0x10^_0x43636d[_0x114704([0x53])][_0x3def46>>0x18&0xff]<<0x18;for(let _0x2c4028=_0x2a6e47/0x2+0x1;_0x2c4028<_0x2a6e47;_0x2c4028++)_0x283eef[_0x2c4028]^=_0x283eef[_0x2c4028-0x1];let _0x76f0b5,_0x1fc815,_0x3c6a82=0x0;for(;_0x3c6a82<_0x2a6e47&&t<_0x40b268;)_0x76f0b5=t>>0x2,_0x1fc815=t%0x4,_0x4c4993[_0x76f0b5][_0x1fc815]=_0x283eef[_0x3c6a82],_0x501c7b[_0x3a7327-_0x76f0b5][_0x1fc815]=_0x283eef[_0x3c6a82++],t++;}for(let _0x40dcc3=0x1;_0x40dcc3<_0x3a7327;_0x40dcc3++)for(let _0x21f109=0x0;_0x21f109<0x4;_0x21f109++)_0x3def46=_0x501c7b[_0x40dcc3][_0x21f109],_0x501c7b[_0x40dcc3][_0x21f109]=_0x43636d[_0x114704([0x55,0x31])][_0x3def46>>0x18&0xff]^_0x43636d[_0x114704([0x55,0x32])][_0x3def46>>0x10&0xff]^_0x43636d[_0x114704([0x55,0x33])][_0x3def46>>0x8&0xff]^_0x43636d[_0x114704([0x55,0x34])][0xff&_0x3def46];}}function _0x114704(_0x538167){return _0x538167['map'](_0x2ca633=>String['fromCharCode'](_0x2ca633))['join']('');}(_0x5e9086=>{function _0x13be8f(){const _0x14998d=[{[_0x114704([0x69,0x64])]:0x1,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x114704([0x69,0x64])]:0x2,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([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]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x114704([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x114704([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x114704([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x114704([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x114704([0x69,0x64])]:0x3,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x114704([0x69,0x64])]:0x4,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([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]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x114704([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x114704([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x114704([0x69,0x64])]:0x5,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([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]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}},{[_0x114704([0x69,0x64])]:0x6,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}},{[_0x114704([0x69,0x64])]:0x7,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}},{[_0x114704([0x69,0x64])]:0x8,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([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]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}},{[_0x114704([0x69,0x64])]:0x9,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x114704([0x69,0x64])]:0xa,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([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]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([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]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([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]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}},{[_0x114704([0x69,0x64])]:0xb,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x114704([0x69,0x64])]:0xc,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x114704([0x69,0x64])]:0xd,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}},{[_0x114704([0x69,0x64])]:0xe,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x114704([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([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])},{[_0x114704([0x69,0x64])]:0xf,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x114704([0x69,0x64])]:0x10,[_0x114704([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x114704([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x114704([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x114704([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x114704([0x66,0x67,0x69])]:[0xc]}}];return _0xaa0f0(_0x14998d),_0x14998d;function _0x1ca5a0(_0x38e875){return 0x1<<_0x38e875-0x1;}function _0xaa0f0(_0x5208bb){_0x5208bb[_0x114704([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5aaee9=>{_0x5aaee9[_0x114704([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1ca5a0(_0x5aaee9[_0x114704([0x69,0x64])]),_0x255665(_0x5aaee9)&&_0x5aaee9[_0x114704([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0xaa0f0(_0x5aaee9[_0x114704([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x255665(_0x4cc88a){return _0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4cc88a;}const _0x61f77b=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x727bd5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x13f48a(_0x5f44d0){const _0x1375fb=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x3e2254(_0x5f44d0,new Uint8Array([..._0x61f77b,..._0x1375fb,..._0x727bd5]));}function _0x3e2254(_0x51752c,_0x426b7c){const _0x3f33de=_0x2d3c61(_0x51752c),_0x5bbe38=Array[_0x114704([0x66,0x72,0x6f,0x6d])](_0x3aadc4(_0x3f33de)),_0x50b5c3=_0x5bbe38[_0x114704([0x70,0x6f,0x70])](),_0x149dfb=_0x5bbe38[_0x114704([0x70,0x6f,0x70])]();return _0x87fb92(_0x3c9a91(_0x5bbe38,_0x426b7c,_0x149dfb+0x100*_0x50b5c3));}function _0x2d3c61(_0x5456a7){const _0xe0b7b5=atob(_0x5456a7),[_0x39837c,_0x304144]=_0xe0b7b5[_0x114704([0x73,0x70,0x6c,0x69,0x74])](_0x114704([0x2d]));try{if(atob(_0x304144))return atob(_0x39837c);}catch(_0x15a566){}return _0xe0b7b5;}function _0xb3fd93(_0x57719c){try{const _0x320bc7=_0x13f48a(_0x57719c),_0xf59e4f=JSON[_0x114704([0x70,0x61,0x72,0x73,0x65])](_0x320bc7),_0x1c065a=parseInt(_0xf59e4f[_0x114704([0x31])]),_0x5a1e35=_0xf59e4f[_0x114704([0x32])]||'',_0x503e6f=parseInt(_0xf59e4f[_0x114704([0x33])]),_0x253371=parseInt(_0xf59e4f[_0x114704([0x34])])||0x0,_0x4777cf=parseInt(_0xf59e4f[_0x114704([0x35])])||0x0;return{[_0x114704([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x5a1e35,[_0x114704([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x253371,[_0x114704([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x1c065a,[_0x114704([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x503e6f,[_0x114704([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x4777cf};}catch(_0x29b49c){return null;}}const _0x12a5a7=_0x13be8f(),_0x286a72={[_0x114704([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x74bf32,[_0x114704([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])]:_0x1dfaf8,[_0x114704([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])]:_0x176da2},_0xae9663=_0x5e9086[_0x114704([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x2382b5=_0x114704([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x5e9086?_0x5e9086['context']:_0x5e9086['editor'],_0x2bda98=_0x114704([0x34,0x30,0x34,0x38,0x31,0x30,0x36,0x32]),_0x3d93b1=_0x114704([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]),_0x333ff8=_0x2382b5['config']['get'](_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x2eadcb=_0x12a5a7[_0x114704([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x255665)[_0x114704([0x66,0x69,0x6e,0x64])](_0x445637=>_0x445637[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0xae9663);function _0x4032b0(_0x474376,_0x2d1ab4){_0x286a72[_0x2d1ab4[_0x114704([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x474376,_0x2d1ab4),_0x2d1ab4[_0x114704([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x2d1ab4[_0x114704([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x114704([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42bcbe=>_0x536d93(_0x2382b5,_0x42bcbe[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x114704([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4b31a3=>_0x4032b0(_0x474376,_0x4b31a3));}function _0x74bf32(_0x303bea,_0x14af28){_0x12f9ce(_0xde3a32(_0x303bea,_0x14af28),_0x14af28);}function _0x1dfaf8(_0x1c9a84,_0x4d90fb){function _0x129aaa(_0x2b2729,_0x4cbde6){try{if(_0x536d93(_0x2382b5,_0x114704([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2b2729){const _0x1c76c3=_0x408901(_0x2382b5,_0x114704([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x114704([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x1c76c3)/0x2>_0x2b2729[_0x114704([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1bc068(_0x4cbde6[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0xde3a32(_0x2b2729,_0x4cbde6);}catch(_0x398934){return _0x1bc068(_0x4cbde6[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x12f9ce(_0x129aaa(_0x1c9a84,_0x4d90fb),_0x4d90fb);}function _0x176da2(_0x49c50e,_0x150e90){const _0x5b240a=_0x727bd5[0x0]*_0x61f77b[0x1],_0x4bc78e=_0x727bd5[0x0]*_0x61f77b[0x2],_0x4d354c=_0x727bd5[0x2]*_0x61f77b[0x2];_0x536d93(_0x2382b5,_0x114704([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x408901(_0x2382b5,_0x114704([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x114704([0x73,0x74,0x61,0x74,0x65])]==_0x114704([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x374225()]=_0x4d354c);function _0x51ec37(_0x545463,_0x15d8dd){try{return _0x391937()?_0x1bc068(_0x15d8dd[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x56,0x61,0x6c,0x69,0x64])):_0xde3a32(_0x545463,_0x15d8dd);}catch(_0x20c708){return _0x1bc068(_0x15d8dd[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x465bf8(_0x2c7c60,_0x50d619){const _0x17962c=0x7;if(_0x2c7c60==_0x50d619[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x1a0521();else{if(_0x2c7c60==_0x50d619[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c])){const _0x55891f=_0x5d6bc4();_0x55891f&&_0x21c769(_0x55891f,_0x50d619[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0xc951a5=_0x582398();window[_0x114704([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x21c769(_0x114704([0x74,0x69,0x6d,0x65]),_0x50d619[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0xc951a5);const _0x2b73da=_0x408901(_0x2382b5,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x114704([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x2b73da[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x17962c?_0x21c769(_0x114704([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x50d619[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x2b73da['on'](_0x114704([0x61,0x64,0x64]),()=>{_0x2b73da[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x17962c&&_0x21c769(_0x114704([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x50d619[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5d6bc4(){if(!_0x536d93(_0x2382b5,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x43f8d5 in window)if(Number['isNaN'](Number(_0x43f8d5))){if(window[_0x43f8d5]===_0x5b240a)return _0x114704([0x74,0x69,0x6d,0x65]);if(window[_0x43f8d5]===_0x4bc78e)return _0x114704([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x391937(){if(!_0x536d93(_0x2382b5,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x1c412c in window)if(Number['isNaN'](Number(_0x1c412c))&&window[_0x1c412c]===_0x4d354c)return!0x0;return!0x1;}function _0x21c769(_0x2a89c7,_0x57cf86){_0x1a0521(),_0x1bc068(_0x57cf86+_0x114704([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2a89c7),window[_0x374225()]=_0x2a89c7===_0x114704([0x74,0x69,0x6d,0x65])?_0x5b240a:_0x4bc78e;}function _0x582398(){let _0x41d05d=_0x727bd5[0x6]*_0x61f77b[0x8]*_0x61f77b[0x6];return _0x536d93(_0x2382b5,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x41d05d/=0xa),_0x41d05d;}function _0x1a0521(){const _0x2943d6=_0x2382b5;function _0x5bedba(){_0x536d93(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x114704([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x114704([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x114704([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x114704([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x35b17b,_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x114704([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x35b17b,_0x2943d6[_0x114704([0x6d,0x6f,0x64,0x65,0x6c])][_0x114704([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35b17b,_0x2943d6[_0x114704([0x6d,0x6f,0x64,0x65,0x6c])][_0x114704([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35b17b,_0x2943d6[_0x114704([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x114704([0x6d,0x6f,0x64,0x65,0x6c]))),_0x536d93(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x114704([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x114704([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x114704([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x114704([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x35b17b,_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x114704([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x35b17b);}_0x2943d6[_0x114704([0x73,0x74,0x61,0x74,0x65])]==_0x114704([0x72,0x65,0x61,0x64,0x79])?_0x5bedba():_0x2943d6[_0x114704([0x6f,0x6e,0x63,0x65])](_0x114704([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x536d93(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x5bedba(),_0x536d93(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x4aeaa3=_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x17df9d=_0x4aeaa3['getRevision'](0x0),_0x3978e0=_0x4aeaa3['getEarlierVisibleRevision'](_0x17df9d[_0x114704([0x69,0x64])]);_0x408901(_0x2943d6,_0x114704([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x114704([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x17df9d[_0x114704([0x69,0x64])],_0x3978e0?_0x3978e0[_0x114704([0x69,0x64])]:null,0x1)['then'](()=>_0x5bedba());}});}_0x465bf8(_0x51ec37(_0x49c50e,_0x150e90),_0x150e90);}function _0xde3a32(_0x5912c6,_0x5e7fb7){try{return _0x564e2e(_0x5e7fb7)?_0x1bc068(_0x5e7fb7[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x56,0x61,0x6c,0x69,0x64])):_0x5912c6&&_0x2042cb(_0x5912c6[_0x114704([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x5e7fb7)?_0x5912c6[_0x114704([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x114704([0x6f,0x70,0x65,0x6e])][_0x114704([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x2bda98)/0x2>_0x5912c6[_0x114704([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1bc068(_0x5e7fb7[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x5912c6[_0x114704([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1bc068(_0x5e7fb7[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c])):_0x1bc068(_0x5e7fb7[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x56,0x61,0x6c,0x69,0x64])):_0x1bc068(_0x5e7fb7[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x2b7973){return _0x1bc068(_0x5e7fb7[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x12f9ce(_0x3d1133,_0x4fcc09){if(_0x2382b5 instanceof _0x5ccb6d){const _0x4d9c5f=_0x2382b5;_0x3d1133==_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1113be(_0x4d9c5f):_0x3d1133==_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c])&&window[_0x114704([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x1113be(_0x4d9c5f),_0x1bc068(_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x727bd5[0x6]*_0x61f77b[0x8]*_0x61f77b[0x6]),_0x4d9c5f[_0x114704([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x114704([0x6f,0x6e])](_0x114704([0x61,0x64,0x64]),(_0x38964f,_0x6ee4b4)=>{_0x3d1133!=_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x3d1133!=_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x3d1133!=_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x4c5b29(_0x6ee4b4);});}else{const _0x30f06c=_0x2382b5;_0x3d1133==_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x4c5b29(_0x30f06c):_0x3d1133==_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c])&&_0x30f06c[_0x114704([0x6f,0x6e])](_0x114704([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x22748b=0x0;_0x30f06c[_0x114704([0x6d,0x6f,0x64,0x65,0x6c])][_0x114704([0x6f,0x6e])](_0x114704([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x575fde,_0x3560cb)=>{_0x3560cb[0x0][_0x114704([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x22748b++,0x1f8===_0x22748b&&(_0x4c5b29(_0x30f06c),_0x1bc068(_0x4fcc09[_0x114704([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x114704([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x575fde[_0x114704([0x6f,0x66,0x66])]());},{'priority':_0x114704([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1bc068(_0x567cdf){const _0x616230=_0x374225();return _0x2382b5[_0x616230]=_0x567cdf,_0x567cdf;}function _0x374225(){const _0x578f88=String(window[_0x114704([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x114704([0x6e,0x6f,0x77])]())[_0x114704([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x114704([0x2e]),'');let _0x40009f='';for(let _0x1dd3ec=0x0;_0x1dd3ec<_0x578f88[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1dd3ec+=0x2){let _0x24a404=parseInt(_0x578f88[_0x114704([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1dd3ec,_0x1dd3ec+0x2));_0x24a404>=_0x3d93b1[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x24a404-=_0x3d93b1[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40009f+=_0x3d93b1[_0x24a404];}return _0x40009f;}function _0x1113be(_0x413dcb){for(const _0x4adbbf of _0x413dcb[_0x114704([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x4c5b29(_0x4adbbf);_0x408901(_0x413dcb,_0x114704([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x114704([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x408901(_0x413dcb,_0x114704([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x114704([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x35b17b;}function _0x4c5b29(_0x449ee0){function _0x24df08(){_0x449ee0[_0x114704([0x6d,0x6f,0x64,0x65,0x6c])][_0x114704([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x35b17b,_0x449ee0[_0x114704([0x6d,0x6f,0x64,0x65,0x6c])][_0x114704([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x35b17b,_0x449ee0[_0x114704([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x114704([0x6d,0x6f,0x64,0x65,0x6c]));}_0x449ee0[_0x114704([0x73,0x74,0x61,0x74,0x65])]==_0x114704([0x72,0x65,0x61,0x64,0x79])?_0x24df08():_0x449ee0[_0x114704([0x6f,0x6e,0x63,0x65])](_0x114704([0x72,0x65,0x61,0x64,0x79]),()=>_0x24df08());}function _0x35b17b(){return null;}function _0x2042cb(_0x26a40f,_0x1cfa7d){const _0xbb2b02=!!(_0x26a40f&_0x1cfa7d[_0x114704([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4ca18c=_0x552295(_0x26a40f,_0x1cfa7d);return _0xbb2b02||_0x4ca18c;}function _0x552295(_0x3307e8,_0x372081){const _0x44d60d=(_0x372081[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x114704([0x66,0x67,0x69])]||null;return!!_0x44d60d&&_0x12a5a7[_0x114704([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38ca17=>_0x44d60d[_0x114704([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x38ca17[_0x114704([0x69,0x64])]))[_0x114704([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x181524=>!_0x108905(_0x181524))[_0x114704([0x73,0x6f,0x6d,0x65])](_0x526f2b=>!!(_0x3307e8&_0x526f2b[_0x114704([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x108905(_0xbcfc5){const _0x50cf44={[_0x114704([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])]:_0x4f9ef1};return!!_0xbcfc5['forbiddenHandler']&&_0x50cf44[_0xbcfc5['forbiddenHandler']]();}function _0x4f9ef1(){return!window[_0x114704([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x536d93(_0x2382b5,_0x114704([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x564e2e(_0x4df889){if(!_0x536d93(_0x2382b5,_0x4df889[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4276c5=_0x4df889[_0x114704([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x24c740=_0x4276c5[_0x114704([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x51b29c=_0x4276c5[_0x114704([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x43312d=_0x4276c5[_0x114704([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x536d93(_0x2382b5,_0x114704([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x408901(_0x2382b5,_0x114704([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x114704([0x73,0x74,0x61,0x74,0x65])]==_0x114704([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x24c740)return!0x0;if(_0x536d93(_0x2382b5,_0x114704([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x408901(_0x2382b5,_0x114704([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x114704([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x114704([0x65,0x6e,0x64])&&_0x51b29c)return!0x0;return!(!_0x536d93(_0x2382b5,_0x114704([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]))||_0x408901(_0x2382b5,_0x114704([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]))[_0x114704([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x114704([0x65,0x6e,0x64])||!_0x43312d);}function _0x536d93(_0x3c4a31,_0x4a9b4b){return _0x3c4a31[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x114704([0x68,0x61,0x73])](_0x4a9b4b);}function _0x408901(_0x4dbabf,_0x3cac6f){return _0x4dbabf[_0x114704([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x114704([0x67,0x65,0x74])](_0x3cac6f);}function _0x87fb92(_0x56e1ef){let _0x17ef2e='';for(const _0x44553e of _0x56e1ef)_0x17ef2e+=String[_0x114704([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x44553e);return _0x17ef2e;}function _0x3aadc4(_0x1d78b2){const _0x92a2f4=new Uint8Array(_0x1d78b2[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3ebe11=0x0;_0x3ebe11<_0x1d78b2[_0x114704([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3ebe11++)_0x92a2f4[_0x3ebe11]=_0x1d78b2[_0x114704([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3ebe11);return _0x92a2f4;}_0x2eadcb&&_0x4032b0(_0xb3fd93(_0x333ff8),_0x2eadcb);})(_0x3a8e26);}(this);}['createRevision'](_0x447b7f){const _0x47ce5f=this['editor']['plugins']['get']('Users');return new a({'id':_0x447b7f['id'],'name':_0x447b7f['name'],'creator':_0x447b7f['creatorId']?_0x47ce5f['getUser'](_0x447b7f['creatorId']):null,'diffData':_0x447b7f['diffData']||_0x447b7f['data'],'authors':_0x447b7f['authorsIds']['map'](_0x3827c3=>_0x47ce5f['getUser'](_0x3827c3)),'createdAt':new Date(_0x447b7f['createdAt']),'attributes':_0x447b7f['attributes'],'fromVersion':_0x447b7f['fromVersion'],'toVersion':_0x447b7f['toVersion']});}['addRevision'](_0x53df85,_0x13d06a=0x0){this['_revisions']['add'](_0x53df85,_0x13d06a);}['getRevision'](_0x15db48){return this['_revisions']['get'](_0x15db48);}['getRevisions'](_0x17fd4b={'toJSON':!0x1}){const _0x191952=Array['from'](this['_revisions']);return _0x191952['reverse'](),_0x17fd4b['toJSON']?_0x191952['map'](_0x346ba6=>_0x346ba6['toJSON']()):_0x191952;}['getIndex'](_0x34073d){return this['_revisions']['getIndex'](_0x34073d);}['getEarlierVisibleRevision'](_0x4e393a){const [,_0x10bed4]=this['getRevisionsIterator'](_0x4e393a,{'direction':'earlier'});return _0x10bed4;}['getLaterVisibleRevision'](_0x31bfb7){const [,_0x3967ac]=this['getRevisionsIterator'](_0x31bfb7,{'direction':'later'});return _0x3967ac;}['getRevisionsInDiff'](_0x2794ef){const _0x3788e4=[];for(const _0x47ce18 of this['getRevisionsIterator'](_0x2794ef['newRevisionId']))if(_0x3788e4['push'](_0x47ce18),_0x47ce18['id']===_0x2794ef['oldRevisionId'])break;return _0x3788e4;}*['getRevisionsIterator'](_0x31cbaa,{direction:_0x2eebb7='earlier',filter:_0x319d96=_0xe425d=>!0x0}={}){const _0xf74d0e='earlier'===_0x2eebb7?0x1:-0x1;let _0x1fab80=this['_revisions']['get'](_0x31cbaa),_0x453e01=this['getIndex'](_0x1fab80);for(yield _0x1fab80;_0x1fab80;){if(_0x453e01+=_0xf74d0e,_0x1fab80=this['getRevision'](_0x453e01),!_0x1fab80)return;_0x319d96(_0x1fab80)&&(yield _0x1fab80);}}}function y(_0x1f3f4a,_0x18958d,_0x208365){const t=_0x1f3f4a['t'];switch(_0x18958d){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'},_0x208365);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x208365);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':_0x2aa11a,'a':_0x2938f1,'e':_0x93bbe7,'r':_0x167015,'u':_0x4f4b91};class l extends _0x3603a7{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x341401,A,_0x20986d];}constructor(_0x19d41d){super(_0x19d41d),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 _0x47ee16=_0xf0312f();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x47ee16},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 _0x37851f=this['repository']['getRevision'](0x0),_0x304629=_0x37851f&&null===_0x37851f['creator']?_0x37851f:null;if(this['_continueCurrentRevision']=!!_0x304629&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x25c188=this['_source']['getCurrentRevisionId'](),_0x390c67=this['repository']['getRevision'](_0x25c188);if(_0x390c67)this['_startingVersion']=_0x390c67['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x12820d=this['_source']['history']['_operations']['find'](_0x5062a7=>!_0x5062a7['_isInit']),_0x3da8d2=_0x12820d?_0x12820d['baseVersion']:this['_source']['history']['version'];_0x37851f?(_0x37851f['toVersion']<_0x3da8d2&&_0x37851f['_update']({'toVersion':_0x3da8d2}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x304629['id'],this['_startingVersion']=_0x304629['fromVersion']):(this['_startingVersion']=_0x37851f['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x3da8d2,this['_continueCurrentRevision']=!0x1);}}else _0x304629&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x304629['toVersion'],this['editor']['model']['document']['history']['version']),_0x304629['fromVersion']===_0x304629['toVersion']?(0x0!==_0x304629['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x304629['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x304629['id'],this['_startingVersion']=_0x304629['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',_0x21159f=>!_0x21159f);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2d2c2c=this['repository']['getRevision'](0x0),_0x545786=await this['getRevisionDocumentData'](_0x2d2c2c),_0x438873=await this['getRevisionRootsAttributes'](_0x2d2c2c);this['_replaceEditorDataWithRevisionData'](_0x545786,_0x438873);}}['setSource'](_0x5e8ccf){this['_source']=_0x5e8ccf;}async['update'](){const _0x407d95=await this['_source']['getLatestVersion']();if(_0x407d95>this['currentRevision']['toVersion']){await this['_loadState']();const _0x3172d7=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x407d95});_0x3172d7['authors']=_0x3172d7['authorsIds']['map'](_0x766a1b=>this['editor']['plugins']['get']('Users')['getUser'](_0x766a1b)),this['currentRevision']['_update'](_0x3172d7);}}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'](_0x4c6b15={},_0x9ca9d7=null){const _0x3c89d8=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x9ca9d7>this['currentRevision']['toVersion']&&(_0x9ca9d7=null),null===_0x9ca9d7&&(_0x9ca9d7=await this['_source']['getLatestVersion']());const _0x1ab69b=this['_getFromVersion'](_0x9ca9d7),_0x3ee8fd=this['buildRevisionData']({'from':_0x1ab69b,'to':_0x9ca9d7});if(this['currentRevision']['toVersion']<_0x9ca9d7){const _0x5473a0=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x9ca9d7,'to':_0x9ca9d7});_0x5473a0['authors']=[],_0x5473a0['authorsIds']=[],_0x5473a0['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x5473a0,!0x0),delete _0x5473a0['authors'],_0x3c89d8['push'](_0x5473a0);}_0x4c6b15['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4c6b15['name']=_0x4c6b15['name']||null,_0x4c6b15['id']=_0x4c6b15['id']||_0xf0312f(),_0x4c6b15={..._0x4c6b15,..._0x3ee8fd};const _0x582f4f=this['addRevisionData'](_0x4c6b15);_0x3c89d8['push'](_0x4c6b15);const _0x5ef529=this['repository']['getIndex'](_0x582f4f);if(0x0!==_0x5ef529){const _0x5125d9=this['repository']['getRevision'](_0x5ef529-0x1);if(_0x5125d9['fromVersion']!==_0x9ca9d7){const _0x12c01f=this['_revisionDataBuilder']['getData'](_0x9ca9d7,_0x5125d9['toVersion']),_0x4bdf56={'id':_0x5125d9['id'],'diffData':_0x12c01f['diffData'],'authorsIds':_0x12c01f['authorsIds'],'authors':_0x12c01f['authorsIds']['map'](_0x57b5e1=>this['editor']['plugins']['get']('Users')['getUser'](_0x57b5e1)),'fromVersion':_0x9ca9d7};_0x5125d9===this['currentRevision']&&(_0x4bdf56['createdAt']=new Date(_0x4c6b15['createdAt']['getTime']()+0xa)),_0x5125d9['_update'](_0x4bdf56,!0x0),delete _0x4bdf56['authors'],_0x3c89d8['push'](_0x4bdf56);}}if(this['adapter']){for(const _0x5c4685 of _0x3c89d8)this['_bufferUpdate'](_0x5c4685['id'],_0x5c4685,!0x0);this['sendBufferedUpdates']();}return _0x582f4f;}['addRevisionData'](_0x11a4d0){const _0x2897ab=this['repository']['createRevision'](_0x11a4d0);return this['adapter']&&_0x2897ab['on']('_update',(_0x4d4ac8,_0x55b5a7,_0x144b4c)=>{_0x144b4c||(this['_bufferUpdate'](_0x55b5a7['id'],_0x55b5a7,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x2897ab,this['_findInsertionIndex'](_0x2897ab)),_0x2897ab;}async['getRevisionDocumentData'](_0x2c1744){await this['_loadRevisionData'](_0x2c1744);const _0x328d93={};for(const _0xeb5bb6 in _0x2c1744['diffData']){if(_0x2c1744['diffData'][_0xeb5bb6]['attachChange']&&!_0x2c1744['diffData'][_0xeb5bb6]['attachChange']['isAttached'])continue;const _0x224277=this['_removeRevisionMarkers'](JSON['parse'](_0x2c1744['diffData'][_0xeb5bb6]['insertions'])),_0x47243a=this['editor']['editing']['view']['document'],_0xd7c811=new _0x48992a(_0x47243a,_0x224277['map'](_0x374736=>B(_0x374736,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x328d93[_0xeb5bb6]=this['editor']['data']['processor']['toData'](_0xd7c811),this['editor']['data']['processor']['useFillerType']('default');}return _0x328d93;}async['getRevisionRootsAttributes'](_0x2485a9){await this['_loadRevisionData'](_0x2485a9);const _0x14b273={};for(const _0x418cba in _0x2485a9['diffData'])_0x2485a9['diffData'][_0x418cba]['attachChange']&&!_0x2485a9['diffData'][_0x418cba]['attachChange']['isAttached']||(_0x14b273[_0x418cba]=_0x2485a9['diffData'][_0x418cba]['attributesAfter']||{});return _0x14b273;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x11a844=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x3ad0c2=0x0;_0x3ad0c2<_0x11a844['length'];_0x3ad0c2++){const _0x2197a5=_0x11a844[_0x3ad0c2];let _0x530da8=!0x1;for(const _0x51995a of Object['keys'](_0x2197a5))void 0x0===_0x2197a5[_0x51995a]?delete _0x2197a5[_0x51995a]:'id'!==_0x51995a&&(_0x530da8=!0x0);_0x530da8||(_0x11a844[_0x3ad0c2]=null);}if(_0x11a844=_0x11a844['filter'](_0xee5472=>null!==_0xee5472),!_0x11a844['length'])return;for(let _0x2b08da=0x0;_0x2b08da<_0x11a844['length'];_0x2b08da++){const _0x165b42=_0x11a844[_0x2b08da];void 0x0!==_0x165b42['fromVersion']&&void 0x0===_0x165b42['toVersion']&&(_0x165b42['toVersion']=this['repository']['getRevision'](_0x165b42['id'])['toVersion']),void 0x0!==_0x165b42['toVersion']&&void 0x0===_0x165b42['fromVersion']&&(_0x165b42['fromVersion']=this['repository']['getRevision'](_0x165b42['id'])['fromVersion']);}const _0x2b94b5=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x11a844,_0x2b94b5)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x25a7f0=>{if(_0x25a7f0){for(const _0x4b8a5d of _0x25a7f0)this['setRevisionData']({'id':_0x4b8a5d['id'],'createdAt':_0x4b8a5d['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x1ec0f5,_0x1fc051){let _0x2f7659=this['editor']['config']['get']('initialData'),_0x522497=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x2f7659){_0x2f7659={};for(const _0x3b4752 of this['editor']['model']['document']['getRootNames']())_0x2f7659[_0x3b4752]='';}if('string'==typeof _0x2f7659&&(_0x2f7659={'main':_0x2f7659}),void 0x0===_0x522497){_0x522497={};for(const _0x34a73a of this['editor']['model']['document']['getRootNames']())_0x522497[_0x34a73a]={};}let _0x384cea=!0x1;const _0x5f5acd=Object['keys'](_0x2f7659),_0x4779e6=Object['keys'](_0x1ec0f5);for(const _0xad6600 of _0x5f5acd){if(_0x2f7659[_0xad6600]!==_0x1ec0f5[_0xad6600]&&''!==_0x2f7659[_0xad6600]['trim']()){_0x384cea=!0x0;break;}if(!_0x207ea5(_0x522497[_0xad6600],_0x1fc051[_0xad6600])&&Object['keys'](_0x522497[_0xad6600])['length']>0x0){_0x384cea=!0x0;break;}}_0x384cea||(_0x384cea=_0x4779e6['some'](_0x1356ae=>!this['editor']['model']['document']['getRoot'](_0x1356ae))),_0x384cea&&_0x26ba3b('editor-initial-data-replaced-with-revision-data',{'editorData':_0x2f7659,'editorRootsAttributes':_0x522497,'revisionData':_0x1ec0f5,'revisionRootsAttributes':_0x1fc051}),this['editor']['config']['set']('initialData',_0x1ec0f5),this['editor']['config']['set']('rootsAttributes',_0x1fc051);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x45e499=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x45e499['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x5ae556){const _0x1c8916=this['repository']['getRevisions']();_0x1c8916['reverse']();let _0x1b8a71=0x0;for(;_0x1b8a71<_0x1c8916['length'];){const _0x221807=_0x1c8916[_0x1b8a71];if(_0x221807===this['currentRevision']){_0x1b8a71++;continue;}if(_0x221807['id']===this['_initialRevisionId'])break;const _0x5f08c4=_0x5ae556['toVersion']-_0x221807['toVersion']||_0x5ae556['fromVersion']-_0x221807['fromVersion'];if(_0x5f08c4>0x0)break;if(_0x5f08c4<0x0)_0x1b8a71++;else{if(!_0x5ae556['creator']&&_0x221807['creator'])break;if(_0x221807['creator']||!_0x5ae556['creator']){if(_0x5ae556['createdAt']>_0x221807['createdAt'])break;_0x1b8a71++;}else _0x1b8a71++;}}return _0x1b8a71;}['setRevisionData'](_0x9f592f){const _0x196977=this['repository']['getRevision'](_0x9f592f['id']);if(_0x9f592f['createdAt']&&(_0x9f592f['createdAt']=new Date(_0x9f592f['createdAt'])),_0x9f592f['authorsIds']){const _0x44879a=this['editor']['plugins']['get']('Users');_0x9f592f['authors']=_0x9f592f['authorsIds']['map'](_0x5662d8=>_0x44879a['getUser'](_0x5662d8));}_0x196977['_update'](_0x9f592f,!0x0);}['buildRevisionData']({revision:_0x2e2608=null,from:_0x5216f5=null,to:_0x41aecc=null}){_0x5216f5=null!==_0x5216f5?_0x5216f5:_0x2e2608['fromVersion'],_0x41aecc=null!==_0x41aecc?_0x41aecc:_0x2e2608['toVersion'];const _0x4a4ce1=this['_revisionDataBuilder']['getData'](_0x5216f5,_0x41aecc),_0x4582e0={'diffData':_0x4a4ce1['diffData'],'authorsIds':_0x4a4ce1['authorsIds'],'fromVersion':_0x5216f5,'toVersion':_0x41aecc};if(!_0x2e2608||_0x41aecc!==_0x2e2608['toVersion']){const _0x48d2f3=_0x41aecc-0x1,_0x5e12c9=this['_source']['history']['getOperation'](_0x48d2f3);_0x4582e0['createdAt']=_0x5e12c9&&_0x5e12c9['createdAt']||new Date();}if(this['_loadedStateData']&&_0x5216f5===this['_loadedStateData']['fromVersion']){for(const _0x138430 of this['_loadedStateData']['authors'])_0x4582e0['authorsIds']['includes'](_0x138430['id'])||_0x4582e0['authorsIds']['push'](_0x138430['id']);}return _0x4582e0;}['_loadRevisionData'](_0x1ca7f1){if(!_0x1ca7f1||_0x1ca7f1['diffData'])return Promise['resolve']();{const _0x2432ec=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2432ec,'revisionId':_0x1ca7f1['id']})['then'](_0x11c360=>{_0x1ca7f1['diffData']=_0x11c360['diffData'];});}}['_bufferUpdate'](_0x1605bd,_0x144f83,_0x5215ef){if(this['_bufferedUpdates']['has'](_0x1605bd)){const _0x335651=this['_bufferedUpdates']['get'](_0x1605bd);_0x144f83=_0x5215ef?{..._0x335651,..._0x144f83}:{..._0x144f83,..._0x335651};}this['_bufferedUpdates']['set'](_0x1605bd,_0x144f83);}['_getFromVersion'](_0x1da7f4){const _0x44393d=this['repository']['getRevisions']();_0x44393d['reverse'](),_0x44393d['shift']();const _0x37d9b5=_0x44393d['find'](_0x180779=>_0x180779['toVersion']<=_0x1da7f4)['toVersion'];return _0x37d9b5<this['_startingVersion']?this['_startingVersion']:_0x37d9b5;}['_createInitialRevision'](_0x1736cf){const _0x3b1380=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x3b1380)this['_initialRevisionId']=_0x3b1380['id'];else{const _0x56fa07=!this['editor']['model']['document']['roots']['find'](_0x370d48=>this['editor']['model']['hasContent'](_0x370d48)),_0x214d76=this['editor']['plugins']['get']('Users')['me']['id'],_0x29b6db=y(this['editor']['locale'],_0x56fa07?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x1736cf,'to':_0x1736cf,'id':this['_initialRevisionId'],'name':_0x29b6db,'creatorId':_0x214d76});}}['_createCurrentRevision'](_0x1577cc){const _0x99f04d=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x99f04d),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x1577cc,'to':_0x1577cc,'id':_0x99f04d,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5ee342,from:_0x15600a,to:_0xfec214,creatorId:_0x1d9b8f,id:_0x1e8a21}){const _0x3a9b16=this['buildRevisionData']({'from':_0x15600a,'to':_0xfec214});_0x3a9b16['name']=_0x5ee342,_0x3a9b16['creatorId']=_0x1d9b8f,_0x3a9b16['id']=_0x1e8a21;const _0x1532fd=this['addRevisionData'](_0x3a9b16);return this['adapter']&&this['_bufferUpdate'](_0x3a9b16['id'],_0x3a9b16,!0x0),_0x1532fd;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2c726a){return(_0x2c726a=_0x2c726a['filter'](_0x1417dd=>!_0x1417dd['name']||'revision-start'!==_0x1417dd['name']&&'revision-end'!==_0x1417dd['name']))['forEach'](_0x42cd03=>{'string'!=typeof _0x42cd03&&(_0x42cd03['children']=this['_removeRevisionMarkers'](_0x42cd03['children']),_0x42cd03['attributes']=_0x42cd03['attributes']['filter'](_0x46f0bb=>!_0x46f0bb[0x0]['startsWith']('data-revision-')));}),_0x2c726a;}}function B(_0x4a2b3b,_0x2d7be9){const _0x55a109=_0x2d7be9['editing']['view']['document'];if('string'==typeof _0x4a2b3b)return new _0x5dab6f(_0x55a109,_0x4a2b3b);{const _0x1d6e53=_0x4a2b3b['children']['map'](_0x3b30b5=>B(_0x3b30b5,_0x2d7be9));return new(T[_0x4a2b3b['type']]||_0x3a08fb)(_0x55a109,_0x4a2b3b['name'],_0x4a2b3b['attributes'],_0x1d6e53);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x4d37a5){this['editor']=_0x4d37a5,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'](_0x42bd18){this['source']=_0x42bd18;const _0x456dd9=new Map(),_0x303359=new Map(),_0xfa5186=this['editor']['model']['document']['roots']['map'](_0x432dcf=>_0x432dcf['rootName']);for(const _0x1bfa05 of _0xfa5186){const _0x1e0487=this['editor']['model']['document']['getRoot'](_0x1bfa05),_0x17819a=q(_0x1e0487);_0x456dd9['set'](_0x1bfa05,_0x17819a),_0x303359['set'](_0x1bfa05,Object['fromEntries'](_0x1e0487['getAttributes']()));}const _0x350236=Array['from'](this['editor']['model']['markers'])['map'](_0x38d9eb=>[_0x38d9eb['name'],_0x38d9eb['getRange']()]),_0x52f5dc=this['source']['version'];this['_saveMetaData'](_0x52f5dc,_0x456dd9,_0x350236,_0x303359),this['_startingRevisionId']=this['_revisionId'];const _0x4089ef=new Map(),_0x2e69d8=new Map();for(const _0x29b197 of _0xfa5186){const _0x1aacd7=G(_0x29b197);_0x4089ef['set'](_0x29b197,_0x1aacd7),_0x2e69d8['set'](_0x29b197,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x4089ef,[],_0x2e69d8);}['getData'](_0x13d364,_0x490d34){if(this['_lastFrom']===_0x13d364&&this['_lastTo']<=_0x490d34)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x490d34,!0x0);else{if(!this['_savedMetaData']['has'](_0x13d364)){const _0x7f6792=this['_getPreviousFrom'](_0x13d364);this['_calculateMetaData'](_0x7f6792,_0x13d364,!0x1);}this['_calculateMetaData'](_0x13d364,_0x490d34,!0x0);}return this['_lastFrom']=_0x13d364,this['_lastTo']=_0x490d34,this['_getState']();}['loadState'](_0x4600c0){this['_reset'](),this['_lastFrom']=_0x4600c0['fromVersion'],this['_lastTo']=_0x4600c0['toVersion'];for(const _0x25602f in _0x4600c0['diffData']){const _0xfa2b47=_0x4600c0['diffData'][_0x25602f]['attachChange'],_0x167172=_0x28bea0(_0x4600c0['diffData'][_0x25602f]['attributesBefore'])||{},_0x5cb477=this['_makeModelFromViewString'](_0x4600c0['diffData'][_0x25602f]['deletions']);_0x5cb477['rootName']=_0x25602f,_0x5cb477['_isAttached']=!_0xfa2b47||!_0xfa2b47['isAttached'],_0x5cb477['isAttached']=()=>_0x5cb477['_isAttached'],this['_baseRoots']['set'](_0x25602f,_0x5cb477),this['_baseRootsAttributes']['set'](_0x25602f,_0x167172),_0xfa2b47&&this['_touchedRoots']['set'](_0x25602f,_0xfa2b47);const _0x22af1c=this['_makeIdsRoot'](_0x5cb477);this['_baseIdsRoots']['set'](_0x25602f,_0x22af1c);for(const [_0x446748,_0x2ecb19]of _0x5cb477['markers']){if(!_0x446748['startsWith']('revision:'))continue;const _0x592727=_0x446748['split'](':')[0x2];for(const _0x3f71db of _0x2ecb19['getWalker']({'singleCharacters':!0x0})){const _0x4236dd=this['_getVidAttributeName'](_0x3f71db),_0x2ba91b='elementEnd'==_0x3f71db['type']?_0x3f71db['previousPosition']['path']['slice'](0x0,-0x1):_0x3f71db['previousPosition']['path'],_0x30cc31=_0x22af1c['getNodeByPath'](_0x2ba91b)['getAttribute'](_0x4236dd);this['_touched']['set'](_0x30cc31,{'userId':_0x592727});}}}this['_startingRevisionId']=this['_revisionId'];const _0x47256e=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x1fe197=>!this['_touched']['has'](_0x1fe197));let _0x36dcf9=0x0;const _0x1774d3=new Map();for(const _0x22735d in _0x4600c0['diffData']){const _0x20e91d=_0x4600c0['diffData'][_0x22735d]['attachChange'],_0x319d0a=_0x28bea0(_0x4600c0['diffData'][_0x22735d]['attributesAfter'])||{},_0x536a41=this['_makeModelFromViewString'](_0x4600c0['diffData'][_0x22735d]['insertions']);_0x536a41['rootName']=_0x22735d,_0x536a41['_isAttached']=!_0x20e91d||_0x20e91d['isAttached'],_0x536a41['isAttached']=()=>_0x536a41['_isAttached'],this['_diffRoots']['set'](_0x22735d,_0x536a41),this['_diffRootsAttributes']['set'](_0x22735d,_0x319d0a);const _0x7cfcb=this['_makeIdsRoot'](_0x536a41,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x22735d,_0x7cfcb),_0x1774d3['set'](_0x22735d,_0x536a41['isAttached']()?_0x319d0a:{});for(const [_0x1b2be1,_0x1bd6ee]of _0x536a41['markers']){if(!_0x1b2be1['startsWith']('revision:'))continue;const _0x428038=_0x1b2be1['split'](':')[0x2];for(const _0x57d7e3 of _0x1bd6ee['getWalker']({'singleCharacters':!0x0})){const _0x205cd2=this['_getVidAttributeName'](_0x57d7e3),_0x343323=this['_revisionId']++,_0x375800='elementEnd'==_0x57d7e3['type']?_0x57d7e3['previousPosition']['path']['slice'](0x0,-0x1):_0x57d7e3['previousPosition']['path'];_0x7cfcb['getNodeByPath'](_0x375800)['_setAttribute'](_0x205cd2,_0x343323),this['_touched']['set'](_0x343323,{'userId':_0x428038});}}for(const _0x43bc1e of this['editor']['model']['createRangeIn'](_0x536a41)['getWalker']({'singleCharacters':!0x0})){const _0x418f19=this['_getVidAttributeName'](_0x43bc1e),_0x555f22='elementEnd'==_0x43bc1e['type']?_0x43bc1e['previousPosition']['path']['slice'](0x0,-0x1):_0x43bc1e['previousPosition']['path'],_0x4c81e4=_0x7cfcb['getNodeByPath'](_0x555f22);_0x4c81e4['getAttribute'](_0x418f19)>0x0||_0x4c81e4['_setAttribute'](_0x418f19,_0x47256e[_0x36dcf9++]);}for(const [_0x1469fc,_0xda3901]of _0x536a41['markers'])_0x1469fc['startsWith']('revision:')||this['_markers']['set'](_0x1469fc,_0xda3901);}const _0x410da4=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x410da4),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x410da4,0x1));const _0x2d1adb=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x2d1adb),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x2d1adb,0x1));const _0x3a667d=Array['from'](this['_diffRoots'])['map'](([_0x3673e4,_0x55c791])=>[_0x3673e4,q(_0x55c791)]);this['_saveMetaData'](this['_lastTo'],_0x3a667d,this['_markers'],_0x1774d3);}['_makeModelFromViewString'](_0x4fb05d){const _0x53f5b3=JSON['parse'](_0x4fb05d),_0x521e5d=this['editor']['editing']['view']['document'],_0x4627ed=new _0x48992a(_0x521e5d,_0x53f5b3['map'](_0xd1f72b=>B(_0xd1f72b,this['editor'])));return this['editor']['data']['toModel'](_0x4627ed);}['_saveMetaData'](_0x59def7,_0x2ad469,_0xc58df3,_0x1c8dcd){const _0x50ee2f=new Map(_0x2ad469),_0x4517a8=new Map(_0x28bea0(_0x1c8dcd)),_0x1bd21b=new Map();for(const [_0x29deb7,_0x2049b1]of _0xc58df3)_0x1bd21b['set'](_0x29deb7,{'start':_0x2049b1['start']['clone'](),'end':_0x2049b1['end']['clone'](),'rootName':_0x2049b1['root']['rootName']});this['_savedMetaData']['set'](_0x59def7,{'roots':_0x50ee2f,'markers':_0x1bd21b,'rootsAttributes':_0x4517a8});}['_removeMetaData'](_0x78314d){this['_savedMetaData']['delete'](_0x78314d);}['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'](_0x5778d6,_0x51d0a6=null){let _0x3c03bc=null;_0x5778d6['is']('documentFragment')||(_0x3c03bc=new ft(_0x5778d6['name'],{'vid_start':null===_0x51d0a6?this['_revisionId']++:_0x51d0a6++}));const _0x1ae717=[];for(const _0x49eaa2 of _0x5778d6['getChildren']())if(_0x49eaa2['is']('element')){_0x1ae717['push'](this['_makeIdsRoot'](_0x49eaa2,_0x51d0a6));const _0x30d051=_0x1ae717[_0x1ae717['length']-0x1];null!==_0x51d0a6&&(_0x51d0a6=_0x30d051['is']('element','$text')?_0x30d051['getAttribute']('vid')+0x1:_0x30d051['getAttribute']('vid_end')+0x1);}else{for(let _0x440c0e=0x0;_0x440c0e<_0x49eaa2['offsetSize'];_0x440c0e++)_0x1ae717['push'](new ft('$text',{'vid':null===_0x51d0a6?this['_revisionId']++:_0x51d0a6++}));}if(_0x5778d6['is']('documentFragment')){const _0x843887=G(_0x5778d6['rootName']);return _0x843887['_insertChild'](0x0,_0x1ae717),_0x843887;}return _0x3c03bc['_setAttribute']('vid_end',null===_0x51d0a6?this['_revisionId']++:_0x51d0a6++),_0x3c03bc['_insertChild'](0x0,_0x1ae717),_0x3c03bc;}['_calculateMetaData'](_0x577055,_0xa5eb10,_0x19fc43){this['_reset']();const {roots:_0x501b40,markers:_0x1d6474,rootsAttributes:_0x505c08}=this['_savedMetaData']['get'](_0x577055);this['_baseRoots']=new Map(_0x501b40),this['_baseRootsAttributes']=new Map(_0x28bea0(_0x505c08));for(const [_0x5853e8,_0x292779]of this['_baseRoots'])if('$graveyard'!==_0x5853e8&&(this['_diffRoots']['set'](_0x5853e8,q(_0x292779)),this['_diffRootsAttributes']=new Map(_0x28bea0(_0x505c08)),_0x19fc43)){const _0x4e6095=this['_revisionId'];this['_idsRoots']['set'](_0x5853e8,this['_makeIdsRoot'](_0x292779)),this['_baseIdsRoots']['set'](_0x5853e8,this['_makeIdsRoot'](_0x292779,_0x4e6095));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x19fc43&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x57e684,_0x404ac9]of _0x1d6474){const _0x3d9c60=this['_baseRoots']['get'](_0x404ac9['rootName']),_0x50ae9e=this['_diffRoots']['get'](_0x404ac9['rootName']),_0x5b2221=new vt(this['_fixPosition'](_0x404ac9['start'],_0x3d9c60),this['_fixPosition'](_0x404ac9['end'],_0x3d9c60)),_0x2754cc=this['_fixRange'](_0x5b2221,_0x50ae9e);_0x3d9c60['markers']['set'](_0x57e684,_0x5b2221),this['_markers']['set'](_0x57e684,_0x2754cc);}this['_applyOperations'](_0x577055,_0xa5eb10,_0x19fc43);}['_applyOperations'](_0x14d133,_0x405ba2,_0x2d0cc9){for(const _0x3abfb8 of this['source']['getOperations'](_0x14d133,_0x405ba2))this['_handleOperation'](_0x3abfb8,_0x2d0cc9);for(const _0x341056 of this['_diffRoots']['values']())_0x341056['markers']['clear']();for(const [_0x5ce5da,_0x53e8df]of this['_markers']){this['_diffRoots']['get'](_0x53e8df['root']['rootName'])['markers']['set'](_0x5ce5da,_0x53e8df['clone']());}const _0xa623b4=new Map(),_0x2cb4da=new Map();for(const [_0x12037f,_0x58e53b]of this['_diffRoots'])_0xa623b4['set'](_0x12037f,q(_0x58e53b)),_0x2cb4da['set'](_0x12037f,this['_diffRootsAttributes']['get'](_0x12037f));this['_saveMetaData'](_0x405ba2,_0xa623b4,this['_markers'],_0x2cb4da);}['_getPreviousFrom'](_0x1f81cf){const _0x2207a0=Array['from'](this['_savedMetaData']['keys']());_0x2207a0['sort']((_0x53142a,_0x87315)=>_0x53142a-_0x87315),_0x2207a0['reverse']();for(const _0x3205e2 of _0x2207a0)if(_0x3205e2<_0x1f81cf)return _0x3205e2;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x502666,_0x5abafd){const _0x2637b5=Array['from'](_0x5abafd['markers'])['map'](([_0x518a15,_0x32e97f])=>[_0x518a15,this['_fixRange'](_0x32e97f,_0x502666)]);_0x502666['markers']=new Map(_0x2637b5);}['_transformMarkers'](_0x380479){for(const _0x588198 of this['_markers']['values']()){const _0x548d5d=_0x588198['getTransformedByOperation'](_0x380479),_0x3b6761=vt['_createFromRanges'](_0x548d5d);_0x588198['start']=_0x3b6761['start'],_0x588198['end']=_0x3b6761['end'];}}['_handleOperation'](_0x319a9f,_0x48d01d){if('addRoot'==_0x319a9f['type']||'detachRoot'==_0x319a9f['type'])return void this['_handleRootOperation'](_0x319a9f,_0x48d01d);if('insert'==_0x319a9f['type']){const _0x15c833=_0x319a9f['position']['root']['rootName'];this['_diffRoots']['has'](_0x15c833)||(this['_diffRoots']['set'](_0x15c833,G(_0x15c833,!0x0)),this['_diffRootsAttributes']['set'](_0x15c833,{}),_0x48d01d&&this['_idsRoots']['set'](_0x15c833,G(_0x15c833,!0x0)));}else{if('addRootAttribute'==_0x319a9f['type']||'removeRootAttribute'==_0x319a9f['type']||'changeRootAttribute'==_0x319a9f['type'])return void this['_handleRootAttributeOperation'](_0x319a9f);}const _0x4d6a77=this['_cloneOperation'](_0x319a9f,this['_diffRoots']);if('marker'!==_0x319a9f['type']&&(_0x4d6a77['_execute'](),this['_transformMarkers'](_0x4d6a77)),_0x48d01d)switch(_0x4d6a77['type']){case'insert':this['_handleInsertOperation'](_0x319a9f);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x319a9f);break;case'merge':this['_handleMergeOperation'](_0x319a9f);break;case'split':this['_handleSplitOperation'](_0x319a9f);break;case'marker':this['_handleMarkerOperation'](_0x319a9f);}}['_cloneOperation'](_0xc0449d,_0x3388ef){const _0x17275d=_0xc0449d['clone']();return _0x17275d['_authorId']=_0xc0449d['_authorId'],this['_fixOperation'](_0x17275d,_0x3388ef),_0x17275d;}['_getBaseVids'](_0x42a31a){return _0x42a31a['map'](_0x150278=>{const _0x17e798=this['_getVidAttributeName'](_0x150278);return Number(_0x150278['item']['getAttribute'](_0x17e798));});}['_generateTape'](_0x38c535,_0x2271db){if(_0x38c535['is']('element','$text'))_0x2271db['push']({'item':_0x38c535,'type':'text'});else{_0x38c535['is']('element')&&_0x2271db['push']({'item':_0x38c535,'type':'elementStart'});for(const _0x4302dc of _0x38c535['getChildren']())this['_generateTape'](_0x4302dc,_0x2271db);_0x38c535['is']('element')&&_0x2271db['push']({'item':_0x38c535,'type':'elementEnd'});}return _0x2271db;}['_getState'](){const _0x57b3a2=new Map(this['_touched']),_0x5f048d=new Map(_0x57b3a2),_0x478c64=new Map(),_0x29933e={'insertions':{},'deletions':{}},_0x150a4b={'insertions':{},'deletions':{}},_0x2e4350=new Map(),_0x90dcce=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x90dcce['delete']('$graveyard');for(const _0x59e433 of _0x90dcce){const _0x5c8c4e=this['_diffRoots']['get'](_0x59e433)||G(_0x59e433,!0x1),_0x2eed2f=this['_baseRoots']['get'](_0x59e433)||G(_0x59e433,!0x1);_0x5c8c4e['isAttached']()||_0x2eed2f['isAttached']()?(_0x29933e['insertions'][_0x59e433]=q(_0x5c8c4e),_0x29933e['deletions'][_0x59e433]=q(_0x2eed2f),this['_copyMarkers'](_0x29933e['deletions'][_0x59e433],_0x2eed2f),this['_copyMarkers'](_0x29933e['insertions'][_0x59e433],_0x5c8c4e),_0x150a4b['insertions'][_0x59e433]=this['_generateTape'](this['_idsRoots']['get'](_0x59e433),[]),_0x150a4b['deletions'][_0x59e433]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x59e433)||G(_0x59e433,!0x1),[])):_0x90dcce['delete'](_0x59e433);}for(const _0x5c95e8 of _0x90dcce){const _0x113e14=_0x150a4b['insertions'][_0x5c95e8];for(const _0x51dabf of _0x113e14){const _0x4ced0f=this['_getVidAttributeName'](_0x51dabf),_0x2accfb=_0x51dabf['item']['getAttribute'](_0x4ced0f);_0x5f048d['delete'](_0x2accfb),_0x2accfb>=this['_startingRevisionId']&&_0x478c64['set'](_0x2accfb,_0x57b3a2['get'](_0x2accfb));}}for(const _0x32b8fa of _0x90dcce){const _0xe7e648=_0x150a4b['insertions'][_0x32b8fa],_0x2214e8=this['_getBaseVids'](_0x150a4b['deletions'][_0x32b8fa]);let _0x28148a=0x0;for(const _0x28407e of _0xe7e648){const _0x2424cb=this['_getVidAttributeName'](_0x28407e),_0x47c3e4=_0x28407e['item']['getAttribute'](_0x2424cb);if(!_0x478c64['has'](_0x47c3e4)&&!_0x2e4350['has'](_0x47c3e4)){if(_0x5f048d['has'](_0x47c3e4))_0x28148a++;else{if(_0x47c3e4!=_0x2214e8[_0x28148a]){const _0x1e9945=_0x57b3a2['get'](_0x47c3e4)||_0x57b3a2['get'](_0x2214e8[_0x28148a]);for(;_0x47c3e4!=_0x2214e8[_0x28148a];)_0x5f048d['has'](_0x2214e8[_0x28148a])||(_0x2e4350['set'](_0x2214e8[_0x28148a],_0x1e9945),_0x57b3a2['set'](_0x2214e8[_0x28148a],_0x1e9945)),_0x28148a++;}_0x28148a++;}}}}for(const _0x5aef64 of _0x90dcce){const _0x5b060c=_0x150a4b['insertions'][_0x5aef64];for(const _0x4bee7f of _0x5b060c){const _0x124488=this['_getVidAttributeName'](_0x4bee7f),_0x5dcd54=_0x4bee7f['item']['getAttribute'](_0x124488);if(_0x2e4350['has'](_0x5dcd54)){const _0x1f2b5a=_0x2e4350['get'](_0x5dcd54);_0x5f048d['has'](_0x5dcd54)||_0x5f048d['set'](_0x5dcd54,{..._0x1f2b5a}),_0x478c64['set'](_0x5dcd54,{..._0x1f2b5a});}}}for(const _0x463650 of _0x5f048d['keys']())_0x463650>=this['_startingRevisionId']&&_0x5f048d['delete'](_0x463650);const _0x34e1fb=new Map();for(const _0xba8135 of _0x90dcce){let _0x4c6097=_0x150a4b['insertions'][_0xba8135];for(const _0x244442 of _0x4c6097)if(_0x244442['item']['is']('element','tableCell')){const _0x557f83=this['_getVidAttributeName'](_0x244442),_0x4dd978=_0x244442['item']['getAttribute'](_0x557f83);if(_0x478c64['has'](_0x4dd978)){const _0xe23c91=_0x244442['item']['parent']['parent']['getAttribute']('vid_start'),_0x1235e5=_0x34e1fb['get'](_0xe23c91)||new Set();_0x1235e5['add'](_0x478c64['get'](_0x4dd978)['userId']),_0x34e1fb['set'](_0xe23c91,_0x1235e5);}}_0x4c6097=_0x150a4b['deletions'][_0xba8135];for(const _0x5173b1 of _0x4c6097)if(_0x5173b1['item']['is']('element','tableCell')){const _0x156b8b=this['_getVidAttributeName'](_0x5173b1),_0x121a2e=_0x5173b1['item']['getAttribute'](_0x156b8b);if(_0x5f048d['has'](_0x121a2e)){const _0x539699=_0x5173b1['item']['parent']['parent']['getAttribute']('vid_start'),_0x4465c8=_0x34e1fb['get'](_0x539699)||new Set();_0x4465c8['add'](_0x5f048d['get'](_0x121a2e)['userId']),_0x34e1fb['set'](_0x539699,_0x4465c8);}}for(const _0x2b66f8 of _0x34e1fb['keys']())(_0x478c64['has'](_0x2b66f8)||_0x5f048d['has'](_0x2b66f8))&&_0x34e1fb['delete'](_0x2b66f8);}for(const _0x5255d8 of _0x90dcce){const _0x59df4d=_0x150a4b['insertions'][_0x5255d8];let _0x242aa1=null,_0x28da64=null;for(const _0x42d3f3 of _0x59df4d){const _0x2e2d61=this['_getVidAttributeName'](_0x42d3f3),_0x48776c=_0x42d3f3['item']['getAttribute'](_0x2e2d61),_0x55928f=_0x34e1fb['get'](_0x48776c);_0x55928f&&'elementStart'==_0x42d3f3['type']&&(_0x242aa1=Array['from'](_0x55928f)[0x0],_0x28da64=_0x42d3f3['item']['getAttribute']('vid_end')),_0x242aa1&&(_0x5f048d['set'](_0x48776c,{'userId':_0x242aa1}),_0x478c64['set'](_0x48776c,{'userId':_0x242aa1})),_0x48776c==_0x28da64&&(_0x242aa1=null,_0x28da64=null);}}const _0x4300ef={},_0x3a7449=new Set();for(const _0x4b3479 of _0x90dcce){const _0x3ffcc4=_0x29933e['deletions'][_0x4b3479],_0xc9c1f8=_0x29933e['insertions'][_0x4b3479];for(const {userId:_0x2fc4f7}of this['_touchedMarkers']['values']())null!==_0x2fc4f7&&_0x3a7449['add'](_0x2fc4f7);for(const {userId:_0xcd3875}of this['_touchedRoots']['values']())null!==_0xcd3875&&_0x3a7449['add'](_0xcd3875);this['_markChanges'](_0xc9c1f8,_0x150a4b['insertions'][_0x4b3479],_0x478c64,'insertion',_0x3a7449),this['_markChanges'](_0x3ffcc4,_0x150a4b['deletions'][_0x4b3479],_0x5f048d,'deletion',_0x3a7449),_0x4300ef[_0x4b3479]={'insertions':this['_prepareViewToSave'](_0xc9c1f8),'deletions':this['_prepareViewToSave'](_0x3ffcc4),'attachChange':this['_touchedRoots']['get'](_0x4b3479)||null,'attributesBefore':_0x28bea0(this['_baseRootsAttributes']['get'](_0x4b3479))||{},'attributesAfter':_0x28bea0(this['_diffRootsAttributes']['get'](_0x4b3479))};}return{'diffData':_0x4300ef,'authorsIds':Array['from'](_0x3a7449)};}['_processRootBeforeSave'](_0x16b953){for(const [,_0x4e036c]of _0x16b953['markers']){const _0x4e3727=_0x4e036c['start']['getAncestors']()['filter'](_0x5d5214=>'tableCell'==_0x5d5214['name']);for(const _0x1b0d8d of _0x4e3727)0x1==_0x1b0d8d['childCount']&&_0x1b0d8d['getChild'](0x0)['is']('element','paragraph')&&_0x1b0d8d['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x134b7a){this['_processRootBeforeSave'](_0x134b7a);const _0x2cba4c=this['editor']['data']['toView'](_0x134b7a,{}),_0x2382c6=Array['from'](_0x2cba4c['getChildren']())['map'](_0x1ec120=>this['_getViewJson'](_0x1ec120));return JSON['stringify'](_0x2382c6);}['_getViewJson'](_0x259e89){if(_0x259e89['is']('$text'))return _0x259e89['data'];{const _0x4657f5=_0x259e89;return{'type':Object['keys'](T)['find'](_0x35f5be=>_0x259e89 instanceof T[_0x35f5be]),'name':_0x4657f5['name'],'attributes':Array['from'](_0x4657f5['getAttributes']()),'children':Array['from'](_0x4657f5['getChildren']())['map'](_0x132731=>this['_getViewJson'](_0x132731))};}}['_markChanges'](_0x32dccf,_0x209efa,_0x191d59,_0x319b1d,_0x48bd99){let _0x275ebd=null,_0x1c1533=null,_0x509e2b=0x0;const _0x31ad26=this['editor']['model'];for(let _0x178e00=0x0;_0x178e00<_0x209efa['length'];_0x178e00++){const _0x3a2db8=this['_getVidAttributeName'](_0x209efa[_0x178e00]),_0x143fc5=_0x209efa[_0x178e00]['item']['getAttribute'](_0x3a2db8),_0x59b493=_0x191d59['get'](_0x143fc5),_0x1b27f3=_0x178e00==_0x209efa['length']-0x1;(!_0x275ebd&&_0x59b493&&(_0x275ebd=_0x59b493,_0x1c1533=_0x209efa[_0x178e00]),_0x275ebd&&(!_0x59b493||_0x59b493['userId']!=_0x275ebd['userId']))&&(_0x201c20(_0x59b493,L(_0x1c1533,_0x32dccf,_0x31ad26),L(_0x209efa[_0x178e00],_0x32dccf,_0x31ad26)),_0x275ebd=_0x59b493||null,_0x1c1533=_0x59b493?_0x209efa[_0x178e00]:null),_0x275ebd&&_0x1b27f3&&_0x201c20(_0x59b493,L(_0x1c1533,_0x32dccf,_0x31ad26),W(_0x209efa[_0x178e00],_0x32dccf,_0x31ad26));}function _0x201c20(_0x188f79,_0x15029a,_0x4fd29e){const _0x5c5895=_0x275ebd['userId'],_0x40f213='revision:'+_0x319b1d+':'+_0x5c5895+':'+_0x509e2b++,_0xea66b7=_0x31ad26['createRange'](_0x15029a,_0x4fd29e);_0x32dccf['markers']['set'](_0x40f213,_0xea66b7),null!==_0x5c5895&&_0x48bd99['add'](_0x5c5895);}}['_getVidAttributeName'](_0x20c721){switch(_0x20c721['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x258e18,_0x2edbc2){_0x258e18['baseVersion']=null;for(const _0x59a6f2 in _0x258e18){const _0x12e429=_0x258e18[_0x59a6f2];if(_0x12e429 instanceof gt){const _0x5c2477=_0x2edbc2['get'](_0x12e429['root']['rootName']);_0x258e18[_0x59a6f2]=this['_fixPosition'](_0x12e429,_0x5c2477);}if(_0x12e429 instanceof vt){const _0xbe9c64=_0x2edbc2['get'](_0x12e429['root']['rootName']);_0x258e18[_0x59a6f2]=this['_fixRange'](_0x12e429,_0xbe9c64);}'root'===_0x59a6f2&&(_0x258e18['root']=_0x2edbc2['get'](_0x258e18['root']['rootName']));}}['_fixRange'](_0x26764a,_0x26c4e4){return this['editor']['model']['createRange'](this['_fixPosition'](_0x26764a['start'],_0x26c4e4),this['_fixPosition'](_0x26764a['end'],_0x26c4e4));}['_fixPosition'](_0x46252e,_0x9545a4){return this['editor']['model']['createPositionFromPath'](_0x9545a4,_0x46252e['path'],_0x46252e['stickiness']);}['_handleInsertOperation'](_0xc46cd0){const _0x17c5db=this['_idsRoots']['get'](_0xc46cd0['position']['root']['rootName']),_0x2f24e8=this['_fixPosition'](_0xc46cd0['position'],_0x17c5db),_0x1e1e8e=null===_0xc46cd0['_authorId']?null:_0xc46cd0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x42f6f3=_0x2f24e8['parent'],_0x50c28c=this['_revisionId'],_0x4e8920=[];for(const _0x4332da of _0xc46cd0['nodes'])if(_0x4332da['is']('element'))_0x4e8920['push'](this['_makeIdsRoot'](_0x4332da));else{for(let _0x3e88ab=0x0;_0x3e88ab<_0x4332da['offsetSize'];_0x3e88ab++)_0x4e8920['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x2e75de=this['_revisionId'];for(let _0x1b2dd2=_0x50c28c;_0x1b2dd2<_0x2e75de;_0x1b2dd2++)this['_touched']['set'](_0x1b2dd2,{'userId':_0x1e1e8e});_0x42f6f3['_insertChild'](_0x2f24e8['offset'],_0x4e8920);}['_handleMoveOperation'](_0x2f769b){(_0x2f769b=this['_cloneOperation'](_0x2f769b,this['_idsRoots']))['_execute']();const _0x53c9b2=null===_0x2f769b['_authorId']?null:_0x2f769b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x10779c=_0x2f769b['getMovedRangeStart'](),_0x578048=_0x10779c['parent'],_0x13330f=_0x10779c['offset'];!function _0x318bf5(_0x5f4d9c,_0x4082d0,_0x59d21f,_0x36d6f6){for(let _0x2067ea=_0x59d21f;_0x2067ea<_0x36d6f6;_0x2067ea++){const _0x5c0fc4=_0x4082d0['getChild'](_0x2067ea);_0x5c0fc4['is']('element','$text')?_0x5f4d9c['set'](_0x5c0fc4['getAttribute']('vid'),{'userId':_0x53c9b2}):(_0x5f4d9c['set'](_0x5c0fc4['getAttribute']('vid_start'),{'userId':_0x53c9b2}),_0x318bf5(_0x5f4d9c,_0x5c0fc4,0x0,_0x5c0fc4['childCount']),_0x5f4d9c['set'](_0x5c0fc4['getAttribute']('vid_end'),{'userId':_0x53c9b2}));}}(this['_touched'],_0x578048,_0x13330f,_0x13330f+_0x2f769b['howMany']);}['_handleMergeOperation'](_0x54b910){const _0x4d6275=null===(_0x54b910=this['_cloneOperation'](_0x54b910,this['_idsRoots']))['_authorId']?null:_0x54b910['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2d524b=_0x54b910['targetPosition']['parent'],_0x5a6f93=_0x54b910['sourcePosition']['parent'],_0x2df6a8=_0x2d524b['getAttribute']('vid_end'),_0x3855f6=_0x5a6f93['getAttribute']('vid_start');_0x2d524b['_setAttribute']('vid_end',_0x5a6f93['getAttribute']('vid_end')),_0x5a6f93['_setAttribute']('vid_end',_0x2df6a8),this['_touched']['set'](_0x3855f6,{'userId':_0x4d6275}),this['_touched']['set'](_0x2df6a8,{'userId':_0x4d6275}),_0x54b910['_execute']();}['_handleSplitOperation'](_0x42807e){const _0x58bff1=null===(_0x42807e=this['_cloneOperation'](_0x42807e,this['_idsRoots']))['_authorId']?null:_0x42807e['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1c9077=_0x42807e['graveyardPosition'],_0x4011cc=_0x42807e['splitPosition']['parent'];_0x42807e['_execute']();const _0x599499=_0x4011cc['getAttribute']('vid_end'),_0x369d9f=_0x42807e['insertionPosition']['nodeAfter'];if(_0x1c9077){const _0x556867=_0x369d9f['getAttribute']('vid_end'),_0x321ee=_0x4011cc['getAttribute']('vid_end');_0x4011cc['_setAttribute']('vid_end',_0x556867),_0x369d9f['_setAttribute']('vid_end',_0x321ee),this['_touched']['set'](_0x4011cc['getAttribute']('vid_end'),{'userId':_0x58bff1}),this['_touched']['set'](_0x369d9f['getAttribute']('vid_start'),{'userId':_0x58bff1});}else{const _0x251712=this['_revisionId']++,_0x1187f7=this['_revisionId']++;_0x4011cc['_setAttribute']('vid_end',_0x251712),_0x369d9f['_setAttribute']('vid_start',_0x1187f7),_0x369d9f['_setAttribute']('vid_end',_0x599499),this['_touched']['set'](_0x251712,{'userId':_0x58bff1}),this['_touched']['set'](_0x1187f7,{'userId':_0x58bff1});}}['_handleMarkerOperation'](_0x24c47b){if(!_0x24c47b['affectsData'])return;const _0x52c94f=(_0x24c47b=this['_cloneOperation'](_0x24c47b,this['_diffRoots']))['oldRange']?_0x24c47b['oldRange']['root']:null,_0x36c847=_0x24c47b['newRange']?_0x24c47b['newRange']['root']:null;_0x52c94f&&this['_markers']['delete'](_0x24c47b['name']),_0x36c847&&this['_markers']['set'](_0x24c47b['name'],_0x24c47b['newRange']['clone']());const _0x145aa4=null===_0x24c47b['_authorId']?null:_0x24c47b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4dcd9e=_0x24c47b['name'];if(!this['_touchedMarkers']['has'](_0x4dcd9e))return void this['_touchedMarkers']['set'](_0x4dcd9e,{'range':_0x24c47b['oldRange'],'userId':_0x145aa4});const _0x17d450=this['_touchedMarkers']['get'](_0x4dcd9e),_0x5d7c21=_0x17d450['range'],_0x4197be=_0x24c47b['newRange'];null==_0x5d7c21&&null==_0x4197be||_0x5d7c21&&_0x4197be&&_0x5d7c21['isEqual'](_0x4197be)?this['_touchedMarkers']['delete'](_0x24c47b['name']):_0x17d450['userId']=_0x145aa4;}['_handleRootOperation'](_0x5173c5,_0x139300){this['_diffRoots']['has'](_0x5173c5['rootName'])?this['_diffRoots']['get'](_0x5173c5['rootName'])['_isAttached']=_0x5173c5['isAdd']:(this['_diffRoots']['set'](_0x5173c5['rootName'],G(_0x5173c5['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x5173c5['rootName'],{}),_0x139300&&this['_idsRoots']['set'](_0x5173c5['rootName'],G(_0x5173c5['rootName'],!0x0)));const _0x224511=null===_0x5173c5['_authorId']?null:_0x5173c5['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x8d01d=this['_touchedRoots']['get'](_0x5173c5['rootName']);_0x8d01d&&_0x8d01d['userId']===_0x224511?this['_touchedRoots']['delete'](_0x5173c5['rootName']):this['_touchedRoots']['set'](_0x5173c5['rootName'],{'userId':_0x224511,'isAttached':_0x5173c5['isAdd']});}['_handleRootAttributeOperation'](_0x3175dd){const _0x1a1716=this['_diffRootsAttributes']['get'](_0x3175dd['root']['rootName']);null===_0x3175dd['newValue']?delete _0x1a1716[_0x3175dd['key']]:_0x1a1716[_0x3175dd['key']]=_0x3175dd['newValue'];}}function q(_0x40d518){const _0x12af5d=G(_0x40d518['rootName'],_0x40d518['isAttached']());for(const _0x271104 of _0x40d518['getChildren']()){const _0x38bbfd=_0x271104['_clone'](!0x0);_0x12af5d['_appendChild'](_0x38bbfd);}return _0x12af5d;}function G(_0x43e8ae,_0x3c8aae=!0x0){const _0x4c680a=new wt();return _0x4c680a['rootName']=_0x43e8ae,_0x4c680a['_isAttached']=_0x3c8aae,_0x4c680a['isAttached']=()=>_0x4c680a['_isAttached'],_0x4c680a;}function L(_0x51ccd3,_0x35dd59,_0x4789d9){const _0x2256aa='elementEnd'==_0x51ccd3['type']?_0x4789d9['createPositionAt'](_0x51ccd3['item'],'end'):_0x4789d9['createPositionBefore'](_0x51ccd3['item']);return _0x4789d9['createPositionFromPath'](_0x35dd59,_0x2256aa['path'],_0x2256aa['stickiness']);}function W(_0x41c4d8,_0x2fc9ce,_0x4c7fae){const _0x59df79='elementStart'==_0x41c4d8['type']?_0x4c7fae['createPositionAt'](_0x41c4d8['item'],0x0):_0x4c7fae['createPositionAfter'](_0x41c4d8['item']);return _0x4c7fae['createPositionFromPath'](_0x2fc9ce,_0x59df79['path'],_0x59df79['stickiness']);}class ns extends _0x1f4a45{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x4a8bce,_0x17ab10){super(_0x4a8bce),this['focusTracker']=new _0x2f729d(),this['keystrokes']=new _0x13b852(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x17ab10),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'](),_0x4c620d({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0xf43309=_0x47eedb=>_0x47eedb['stopPropagation']();this['keystrokes']['set']('arrowright',_0xf43309),this['keystrokes']['set']('arrowleft',_0xf43309),this['keystrokes']['set']('arrowup',_0xf43309),this['keystrokes']['set']('arrowdown',_0xf43309);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x3d11fa){this['revisionNameInputView']['fieldView']['element']['value']=_0x3d11fa['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x493b41){const _0x1139b9=new at(this['locale'],_0x547aa8),_0x285b5e=_0x1139b9['fieldView'];_0x285b5e['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x3ca412=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x493b41&&(_0x3ca412+='\x20('+y(this['locale'],'optional')+')'),(_0x1139b9['label']=_0x3ca412,_0x285b5e['on']('input',()=>{this['revisionNameInputValue']=_0x285b5e['element']['value']['trim']();}),_0x1139b9);}}class u extends _0x3603a7{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x42cda5=this['editor'],_0x5db1f3=_0x42cda5['plugins']['get']('RevisionTracker');_0x42cda5['ui']['componentFactory']['add']('revisionHistory',_0x5510eb=>{const _0x4a3f84=_0x8fc188(_0x5510eb),_0x26f69d=_0x4a3f84['panelView']['children'],_0x5704a0=new te(_0x5510eb),_0x20c883=new _0x118c45(_0x5510eb),_0x36ffcf=new _0x39ab84(_0x5510eb),_0x2da27c=new _0x118c45(_0x5510eb),_0x54f6f9=new _0x39ab84(_0x5510eb);return _0x4a3f84['bind']('isEnabled')['to'](_0x5db1f3,'isReady',_0x5db1f3,'isEnabled',_0x42cda5,'isReadOnly',(_0x16822c,_0x4b5f24,_0x29775e)=>_0x16822c&&_0x4b5f24&&!_0x29775e),_0x4a3f84['buttonView']['set']({'icon':_0x144dbc['history'],'label':y(_0x5510eb,'Revision\x20history'),'tooltip':!0x0}),_0x36ffcf['set']({'label':y(_0x5510eb,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x36ffcf['bind']('isEnabled')['to'](_0x5db1f3,'isReady',_0x5db1f3,'isEnabled',_0x42cda5,'isReadOnly',(_0x24e821,_0x504ed2,_0x150e6f)=>_0x24e821&&_0x504ed2&&!_0x150e6f),_0x36ffcf['on']('execute',()=>this['_showDialog']()),_0x54f6f9['set']({'label':y(_0x5510eb,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x54f6f9['bind']('isEnabled')['to'](_0x5db1f3,'isReady',_0x42cda5,'isReadOnly',(_0x1b7875,_0x3d112a)=>_0x1b7875&&!_0x3d112a),_0x54f6f9['on']('execute',()=>{_0x42cda5['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4a3f84['isOpen']=!0x1,_0x42cda5['editing']['view']['focus']();}),_0x20c883['children']['add'](_0x36ffcf),_0x2da27c['children']['add'](_0x54f6f9),_0x5704a0['role']='menu',_0x5704a0['items']['addMany']([_0x20c883,_0x2da27c]),_0x26f69d['add'](_0x5704a0),_0x4a3f84;}),_0x42cda5['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x1c0686=this['editor'],_0x5f0cab=_0x1c0686['locale'],_0x24b6d7=new _0x6d333(_0x5f0cab),_0x31c21b=new _0x2b03dd(_0x5f0cab);_0x24b6d7['buttonView']['set']({'icon':_0x144dbc['history'],'label':y(_0x5f0cab,'Revision\x20history')});const _0x286f23=new _0x4bcfae(_0x5f0cab,_0x24b6d7),_0x4e3853=new _0x23224e(_0x5f0cab);_0x4e3853['set']({'label':y(_0x5f0cab,'Save\x20current\x20revision')}),_0x4e3853['delegate']('execute')['to'](_0x24b6d7),_0x4e3853['on']('execute',()=>{this['_showDialog']();}),_0x286f23['children']['add'](_0x4e3853),_0x31c21b['items']['add'](_0x286f23);const _0x144116=new _0x4bcfae(_0x5f0cab,_0x24b6d7),_0x3b2542=new _0x23224e(_0x5f0cab);return _0x3b2542['set']({'label':y(_0x5f0cab,'Open\x20revision\x20history')}),_0x3b2542['delegate']('execute')['to'](_0x24b6d7),_0x3b2542['on']('execute',()=>{_0x1c0686['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x144116['children']['add'](_0x3b2542),_0x31c21b['items']['add'](_0x144116),_0x24b6d7['panelView']['children']['add'](_0x31c21b),_0x24b6d7;}['_showDialog'](){const _0x56d644=this['editor'],_0x4a419e=_0x56d644['locale'],t=_0x4a419e['t'],_0x1ef9dc=_0x56d644['plugins']['get']('Dialog'),_0x1f16ef=_0x56d644['plugins']['get']('RevisionTracker');function _0x4308ff(_0x2a94ac){_0x56d644['config']['get']('revisionHistory.requireRevisionName')&&''===_0x2a94ac['revisionName']?_0x2a94ac['revisionNameInputView']['errorText']=y(_0x4a419e,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x56d644['plugins']['get'](l)['saveRevision']({'name':_0x2a94ac['revisionName']}),_0x1ef9dc['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x4308ff(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x1ef9dc['show']({'id':'findAndReplace','title':y(_0x4a419e,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x1ef9dc['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x2f4fc5){_0x2f4fc5['bind']('isEnabled')['to'](_0x1f16ef,'isReady',_0x1f16ef,'isEnabled',_0x56d644,'isReadOnly',(_0xeeb887,_0x457129,_0x1182dc)=>_0xeeb887&&_0x457129&&!_0x1182dc);},'onExecute':()=>_0x4308ff(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x5e45b4=this['editor'],_0x21bac3=_0x5e45b4['locale'];this['_saveRevisionFormView']=new ns(_0x21bac3,_0x5e45b4['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x1f4a45{['changeId'];['_model'];constructor(_0x44892b,_0x593684){super(_0x44892b),this['_model']=_0x593684,this['changeId']=_0x593684['id'];const _0x2b3356=this['bindTemplate'],_0xd45844=y(_0x44892b,_0x593684['data']['isSuggestion']?'Suggested\x20by':'add'==_0x593684['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x593684['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x2b3356['to']('type',_0xf264fa=>'ck-revision-change__'+_0xf264fa)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0xd45844}]},{'text':'\x20'+_0x593684['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x3ebcb7(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x4a3e24){super(),this['id']=_0x4a3e24['id']||_0xf0312f(),this['author']=_0x4a3e24['author'],this['type']=_0x4a3e24['type'],this['data']=_0x4a3e24['data']||{},this['rootName']=_0x4a3e24['rootName'],this['set']('createdAt',_0x4a3e24['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(_0x2331f6,_0xc9e63b){this['newRevisionId']=_0x2331f6,this['oldRevisionId']=_0xc9e63b,this['changes']=new _0x40a346();}['_setChanges'](_0x1bb275){for(const _0x51dcef of _0x1bb275)this['changes']['add'](_0x51dcef);}}const tt={'c':_0x2aa11a,'a':_0x2938f1,'e':_0x93bbe7,'r':_0x167015,'u':_0x4f4b91};class d extends _0x3603a7{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x341401,_0x433788,A];}constructor(_0x2d3d78){super(_0x2d3d78),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',(_0x2217c2,_0x26c273,_0x75cf54)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x3dd37b=>{for(const _0x26b828 of this['editor']['editing']['view']['document']['roots'])_0x75cf54?_0x3dd37b['removeClass']('ck-editor__editable__overlay',_0x26b828):_0x3dd37b['addClass']('ck-editor__editable__overlay',_0x26b828);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x38bab5=>null!==_0x38bab5),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x3a1600,_0x1f91bc,_0xc380f1)=>_0x3a1600&&_0xc380f1?_0x1f91bc['changes']['getIndex'](_0xc380f1):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x281382,_0x420444)=>_0x281382?_0x420444['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x433788);}['init'](){const _0x1d95fd=this['editor'],_0x5d57c5=new yt(_0x1d95fd,{'direction':'backward'}),_0x37ed87=new yt(_0x1d95fd,{'direction':'forward'});(_0x1d95fd['commands']['add']('showPreviousChange',_0x5d57c5),_0x1d95fd['commands']['add']('showNextChange',_0x37ed87),_0x1d95fd['commands']['add']('restoreRevision',new bt(_0x1d95fd)),this['on']('change:numberOfChanges',()=>{_0x5d57c5['refresh'](),_0x37ed87['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x1d95fd['enableReadOnlyMode']('revision-viewer'),_0x1d95fd['plugins']['has']('WidgetToolbarRepository'))&&_0x1d95fd['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x16e3b6){await this['loadRevisionData'](_0x16e3b6);const _0x14b3ea={};for(const _0x3c77ec in _0x16e3b6['diffData']){if(_0x16e3b6['diffData'][_0x3c77ec]['attachChange']&&!_0x16e3b6['diffData'][_0x3c77ec]['attachChange']['isAttached'])continue;const _0x49d8d3=this['_removeRevisionMarkers'](JSON['parse'](_0x16e3b6['diffData'][_0x3c77ec]['insertions'])),_0xa4e4c6=this['editor']['editing']['view']['document'],_0x1828d4=new _0x48992a(_0xa4e4c6,_0x49d8d3['map'](_0x1e6563=>this['_getViewObj'](_0x1e6563)));this['editor']['data']['processor']['useFillerType']('marked'),_0x14b3ea[_0x3c77ec]=this['editor']['data']['processor']['toData'](_0x1828d4),this['editor']['data']['processor']['useFillerType']('default');}return _0x14b3ea;}async['getRevisionRootsAttributes'](_0x252f4b){await this['loadRevisionData'](_0x252f4b);const _0x44db1c={};for(const _0x1b4592 in _0x252f4b['diffData'])_0x252f4b['diffData'][_0x1b4592]['attachChange']&&!_0x252f4b['diffData'][_0x1b4592]['attachChange']['isAttached']||(_0x44db1c[_0x1b4592]=_0x252f4b['diffData'][_0x1b4592]['attributesAfter']||{});return _0x44db1c;}['_removeRevisionMarkers'](_0x5f57c5){return(_0x5f57c5=_0x5f57c5['filter'](_0x77df4=>!_0x77df4['name']||'revision-start'!==_0x77df4['name']&&'revision-end'!==_0x77df4['name']))['forEach'](_0x3a8092=>{'string'!=typeof _0x3a8092&&(_0x3a8092['children']=this['_removeRevisionMarkers'](_0x3a8092['children']),_0x3a8092['attributes']=_0x3a8092['attributes']['filter'](_0x339316=>!_0x339316[0x0]['startsWith']('data-revision-')));}),_0x5f57c5;}async['compare'](_0x21408f,_0x33d7f7,_0x985914=!0x1){if(!this['isEnabled'])return;const _0x5f3f32=this['diff'],_0x400444=this['repository'],_0x4486d2='string'==typeof _0x21408f?_0x400444['getRevision'](_0x21408f):_0x21408f,_0xb1cc72='string'==typeof _0x33d7f7?_0x400444['getRevision'](_0x33d7f7):_0x33d7f7,_0x352848=_0x4486d2['id'],_0x692f8e=_0xb1cc72?_0xb1cc72['id']:null;if(!_0x985914&&this['diff']&&this['diff']['newRevisionId']===_0x352848&&this['diff']['oldRevisionId']===_0x692f8e)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x352848,_0x692f8e);const _0x418ade=this['_getRevisionsRange'](_0x4486d2,_0xb1cc72,!0x0)['map'](_0x480d44=>this['loadRevisionData'](_0x480d44));return _0x418ade['push'](new Promise(_0x49e1ef=>{setTimeout(_0x49e1ef,0x14);})),Promise['all'](_0x418ade)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x13ee37=this['_getDiff'](_0x352848,_0x692f8e);for(const _0x5be128 of _0x13ee37['changes'])this['_changeIdToChange']['set'](_0x5be128['id'],_0x5be128);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4748aa=>{for(const _0x4c9400 of this['editor']['model']['document']['getRootNames']())_0x4748aa['detachRoot'](_0x4c9400);for(const _0x2adb55 of Object['keys'](_0x13ee37['model'])){const _0x30faee=_0x4748aa['addRoot'](_0x2adb55);for(const _0x171c6a of Object['keys'](_0x13ee37['attributes'][_0x2adb55]))_0x4748aa['setAttribute'](_0x171c6a,_0x13ee37['attributes'][_0x2adb55][_0x171c6a],_0x30faee);_0x4748aa['insert'](_0x13ee37['model'][_0x2adb55],_0x30faee,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x13ee37['changes'])),this['isReady']=!0x0;})['catch'](_0x39d74b=>{console['error'](_0x39d74b),this['_cleanUp'](),_0x5f3f32&&(this['diff']=_0x5f3f32),this['isReady']=!0x0;});}['addRevisionData'](_0x10303a,_0xcec7c2){const _0x50c46b=this['repository']['createRevision'](_0x10303a);return _0x50c46b['on']('_update',(_0xac1b24,_0x5a11ac,_0x3ec9a9)=>_0xcec7c2(_0x5a11ac,_0x3ec9a9,_0x50c46b)),this['repository']['addRevision'](_0x50c46b),_0x50c46b;}['loadRevisionData'](_0x42a522){if(!_0x42a522||_0x42a522['diffData'])return Promise['resolve']();{const _0x391dc5=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x391dc5,'revisionId':_0x42a522['id']})['then'](_0x195006=>{_0x42a522['_update']({'diffData':_0x195006['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},_0x34e171=>{for(const _0x255882 of this['editor']['model']['document']['getRootNames']())_0x34e171['detachRoot'](_0x255882);});}['_sortAndFilterDiffChanges'](_0x3d6578){const _0x1908b4=[],_0x1a43f6=new Map();for(const _0xfd62c6 of this['editor']['model']['document']['getRootNames']()){const _0x38d66e=this['editor']['editing']['view']['getDomRoot'](_0xfd62c6);if(!_0x38d66e)continue;const _0x15af15=_0x38d66e['getClientRects']()['item'](0x0);_0x15af15&&(_0x1908b4['push'](_0xfd62c6),_0x1a43f6['set'](_0xfd62c6,_0x15af15));}return _0x1908b4['sort']((_0x7bd70e,_0x88080)=>{const _0x23ffc2=_0x1a43f6['get'](_0x7bd70e),_0x465d6f=_0x1a43f6['get'](_0x88080);return _0x23ffc2['y']-_0x465d6f['y']||_0x23ffc2['x']-_0x465d6f['x'];}),(_0x3d6578=_0x3d6578['filter'](_0x5c43be=>_0x1908b4['includes'](_0x5c43be['rootName'])))['sort']((_0x5823a4,_0x2f67bc)=>_0x1908b4['indexOf'](_0x5823a4['rootName'])-_0x1908b4['indexOf'](_0x2f67bc['rootName'])),_0x3d6578;}['_makeTape'](_0x2da87f){const _0x5e5a86=Array['from'](_0x2da87f['markers'])['filter'](([_0x23fea8,_0x2dab27])=>_0x23fea8['startsWith']('revision:')&&!_0x2dab27['isCollapsed']),_0x3e96bf=Array['from'](this['editor']['model']['createRangeIn'](_0x2da87f)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x5e5a86['length'])for(const _0x5dc33e of _0x3e96bf){const [_0x3d6fb7,_0x481015]=_0x5e5a86[0x0],[,_0x462f9d,_0x2d2d4d]=_0x3d6fb7['split'](':');if(_0x481015['end']['isEqual'](_0x5dc33e['nextPosition'])&&_0x5e5a86['shift'](),(_0x5dc33e['previousPosition']['isEqual'](_0x481015['start'])||_0x5dc33e['previousPosition']['isAfter'](_0x481015['start']))&&('insertion'==_0x462f9d?_0x5dc33e['isAdded']={'userId':_0x2d2d4d}:'deletion'==_0x462f9d&&(_0x5dc33e['isRemoved']={'userId':_0x2d2d4d})),0x0==_0x5e5a86['length'])break;}return _0x3e96bf;}['_refreshStartEndIndex'](_0x128562){const _0x2da3af=new Map();for(let _0xe26851=0x0;_0xe26851<_0x128562['length'];_0xe26851++)'text'===_0x128562[_0xe26851]['type']?(_0x128562[_0xe26851]['item']['startIndex']=_0xe26851,_0x128562[_0xe26851]['item']['endIndex']=_0xe26851):('elementStart'===_0x128562[_0xe26851]['type']?_0x128562[_0xe26851]['item']['startIndex']=_0xe26851:'elementEnd'===_0x128562[_0xe26851]['type']&&(_0x128562[_0xe26851]['item']['endIndex']=_0xe26851),_0x2da3af['set'](_0x128562[_0xe26851]['id'],_0xe26851));for(const _0x3a8252 of _0x2da3af['values']())'elementStart'===_0x128562[_0x3a8252]['type']?_0x128562[_0x3a8252]['item']['endIndex']=_0x2da3af['get'](_0x128562[_0x3a8252]['pairId']):'elementEnd'===_0x128562[_0x3a8252]['type']&&(_0x128562[_0x3a8252]['item']['startIndex']=_0x2da3af['get'](_0x128562[_0x3a8252]['pairId']));}['_processTape'](_0x5a3c93){for(let _0x27c7a1=0x0;_0x27c7a1<_0x5a3c93['length'];_0x27c7a1++){if('elementStart'===_0x5a3c93[_0x27c7a1]['type'])_0x5a3c93[_0x27c7a1]['item']['startIndex']=_0x27c7a1;else{if('elementEnd'===_0x5a3c93[_0x27c7a1]['type']){_0x5a3c93[_0x27c7a1]['item']['endIndex']=_0x27c7a1;const _0xc41637=_0x5a3c93[_0x27c7a1]['item']['startIndex'];_0x5a3c93[_0xc41637]['pairId']=_0x5a3c93[_0x27c7a1]['id'],_0x5a3c93[_0x27c7a1]['pairId']=_0x5a3c93[_0xc41637]['id'];}else _0x5a3c93[_0x27c7a1]['item']['startIndex']=_0x27c7a1,_0x5a3c93[_0x27c7a1]['item']['endIndex']=_0x27c7a1,_0x5a3c93[_0x27c7a1]['pairId']=null;}_0x5a3c93[_0x27c7a1]['markersStart']||(_0x5a3c93[_0x27c7a1]['markersStart']=[],_0x5a3c93[_0x27c7a1]['markersEnd']=[]);}}['_markInsertions'](_0x2bf96f,_0x3df8f){const _0x21d933=_0x2bf96f['filter'](_0x5c6ec3=>!_0x5c6ec3['isAdded']);for(let _0x399571=0x0;_0x399571<_0x3df8f['length'];_0x399571++)_0x3df8f[_0x399571]['isAdded']&&(_0x21d933[_0x399571]['isAdded']=_0x3df8f[_0x399571]['isAdded']);}['_makeModelFromViewString'](_0x52e25a){const _0x5d57b2=JSON['parse'](_0x52e25a),_0x4368ac=this['editor']['editing']['view']['document'],_0x378229=new _0x48992a(_0x4368ac,_0x5d57b2['map'](_0x3e6c26=>this['_getViewObj'](_0x3e6c26)));return this['editor']['data']['toModel'](_0x378229);}['_getViewObj'](_0x58e2be){const _0x5a518c=this['editor']['editing']['view']['document'];if('string'==typeof _0x58e2be)return new _0x5dab6f(_0x5a518c,_0x58e2be);{const _0x5bc3ab=_0x58e2be['children']['map'](_0x22074c=>this['_getViewObj'](_0x22074c));return new(tt[_0x58e2be['type']]||_0x3a08fb)(_0x5a518c,_0x58e2be['name'],_0x58e2be['attributes'],_0x5bc3ab);}}['_getDiff'](_0x22ed40,_0x3c6692=null){const _0xf3dcf3=this['repository']['getRevision'](_0x22ed40),_0x1a6c11=_0x3c6692?this['repository']['getRevision'](_0x3c6692):null,_0x21ac6c=this['_getRevisionsRange'](_0xf3dcf3,_0x1a6c11),_0x2d9e4=_0x21ac6c[_0x21ac6c['length']-0x1],_0x263f8c=new Map(),_0x24a697={'model':{},'attributes':{},'changes':[]},_0x3f4885=new Set(),_0x39e00f=new Map();for(let _0x1bdfd0=_0x21ac6c['length']-0x1;_0x1bdfd0>=0x0;_0x1bdfd0--){const _0x4131f1=_0x21ac6c[_0x1bdfd0];for(const _0x303b5b of Object['keys'](_0x4131f1['diffData']))if(_0x4131f1['diffData'][_0x303b5b]['attachChange']){const _0x1e35b5=_0x4131f1['diffData'][_0x303b5b]['attachChange'];_0x1e35b5['isAttached']?(_0x3f4885['add'](_0x303b5b),_0x39e00f['has'](_0x303b5b)&&_0x39e00f['get'](_0x303b5b)['userId']==_0x1e35b5['userId']?_0x39e00f['delete'](_0x303b5b):_0x39e00f['set'](_0x303b5b,_0x1e35b5)):_0x39e00f['has'](_0x303b5b)?(_0x3f4885['delete'](_0x303b5b),_0x39e00f['delete'](_0x303b5b)):(_0x3f4885['add'](_0x303b5b),_0x39e00f['set'](_0x303b5b,_0x1e35b5));}else _0x3f4885['add'](_0x303b5b);}for(const _0x10fe42 of _0x3f4885){const _0x15ed79=_0x39e00f['has'](_0x10fe42)&&!_0x39e00f['get'](_0x10fe42)['isAttached'];let _0x448669=_0x15ed79?_0x21ac6c['length']-0x1:0x0;const _0x504edc=_0x15ed79?-0x1:0x1;for(;_0x21ac6c[_0x448669];){const _0x4d8f6e=_0x21ac6c[_0x448669];if(_0x4d8f6e['diffData'][_0x10fe42]){const _0x4c60de=_0x15ed79?_0x4d8f6e['diffData'][_0x10fe42]['attributesBefore']:_0x4d8f6e['diffData'][_0x10fe42]['attributesAfter'];_0x24a697['attributes'][_0x10fe42]=_0x4c60de?_0x28bea0(_0x4c60de):{};break;}_0x448669+=_0x504edc;}}for(const _0x576424 of _0x21ac6c){_0x576424['model']={};for(const _0x22a8e0 of _0x576424['authors'])_0x263f8c['set'](_0x22a8e0['id'],_0x22a8e0);for(const _0x3dda0f of _0x3f4885){const _0x521500=_0x576424['diffData'][_0x3dda0f]?_0x576424['diffData'][_0x3dda0f]['insertions']:'[]',_0x30d181=_0x576424['diffData'][_0x3dda0f]?_0x576424['diffData'][_0x3dda0f]['deletions']:'[]';_0x576424['model'][_0x3dda0f]={'insertions':this['_makeModelFromViewString'](_0x521500),'deletions':this['_makeModelFromViewString'](_0x30d181)};}}for(const _0x864d18 of _0x3f4885){let _0x1a2b24=null,_0x27419f=0x0;const _0x4b88dd=new Map(Array['from'](_0xf3dcf3['model'][_0x864d18]['insertions']['markers'])['filter'](([_0x29136a])=>!_0x29136a['startsWith']('revision:')));let _0x5a1bb4=0x0;for(const _0x4b484a of _0x21ac6c){const _0x37072b=this['_makeTape'](_0x4b484a['model'][_0x864d18]['insertions']);_0x4b484a==_0xf3dcf3?(_0x1a2b24=_0x37072b,_0x27419f=_0x1a2b24['length'],_0x1a2b24['forEach'](_0x41042b=>{_0x41042b['id']=_0x5a1bb4++;}),this['_processTape'](_0x1a2b24)):this['_markInsertions'](_0x1a2b24,_0x37072b);const _0x36c2a3=_0x1a2b24['filter'](_0x52216c=>!_0x52216c['isAdded'])['map'](_0xf8bdab=>_0xf8bdab['id']);let _0x47d912=0x0;const _0x3595d3=this['_makeTape'](_0x4b484a['model'][_0x864d18]['deletions']);_0x3595d3['forEach'](_0x252188=>{_0x252188['isRemoved']?_0x252188['id']=_0x27419f++:_0x252188['id']=_0x36c2a3[_0x47d912++];}),this['_processTape'](_0x3595d3),this['_setDistance'](_0x1a2b24,'isAdded'),this['_setDistance'](_0x3595d3,'isRemoved'),_0x4b484a==_0xf3dcf3&&this['_markMarkers'](_0x1a2b24,_0x4b88dd),_0x1a2b24=this['_joinTapes'](_0x1a2b24,_0x3595d3),this['_refreshStartEndIndex'](_0x1a2b24),this['_setDistance'](_0x1a2b24,'isRemoved');}_0x1a2b24=_0x1a2b24['filter'](_0x24728a=>!(_0x24728a['isAdded']&&_0x24728a['isRemoved']));const _0x4ae865=new Map(_0x2d9e4['model'][_0x864d18]['deletions']['markers']),_0x105de2=new Set(_0x4b88dd['keys']());for(const _0x9528c4 of _0x4ae865['keys']())_0x105de2['delete'](_0x9528c4);this['_markSuggestions'](_0x1a2b24,_0x105de2),this['_fixObsoleteTags'](_0x1a2b24),_0x1a2b24=this['_removeMissingPairs'](_0x1a2b24),_0x1a2b24=this['_markMismatchedRemovedTags'](_0x1a2b24),_0x1a2b24=this['_removeUnsupportedChanges'](_0x1a2b24);const {root:_0x386b2d,changes:_0x223672}=this['_makeModelFromTape'](_0x1a2b24,_0x263f8c,_0x864d18);_0x24a697['model'][_0x864d18]=_0x386b2d;const _0x1b4c0e=_0x39e00f['get'](_0x864d18);if(_0x1b4c0e){const _0x265cac=_0x263f8c['get'](_0x1b4c0e['userId']),_0x488716=new r({'author':_0x265cac,'type':_0x1b4c0e['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x864d18});_0x223672['unshift'](_0x488716),_0x24a697['attributes'][_0x864d18]['revisionHistoryAttachChange']=_0x488716['id'];}_0x24a697['changes']=_0x24a697['changes']['concat'](_0x223672);}return _0x24a697;}['_markMarkers'](_0x5a40a4,_0x4ca844){for(let _0x667177=0x0;_0x667177<_0x5a40a4['length'];_0x667177++)for(const [_0x512d6d,_0x367ace]of _0x4ca844)_0x367ace['start']['isEqual'](_0x5a40a4[_0x667177]['previousPosition'])&&_0x5a40a4[_0x667177]['markersStart']['push'](_0x512d6d),_0x367ace['end']['isEqual'](_0x5a40a4[_0x667177]['nextPosition'])&&_0x5a40a4[_0x667177]['markersEnd']['push'](_0x512d6d);}['_joinTapes'](_0x341e96,_0x4528b9){let _0x1e8cc7=[],_0xc52b2d=0x0,_0xe62b3f=0x0;for(;_0xc52b2d<_0x341e96['length']||_0xe62b3f<_0x4528b9['length'];){const _0x97b89b=_0x341e96[_0xc52b2d]||{},_0x23e982=_0x4528b9[_0xe62b3f]||{};if(_0x97b89b['id']==_0x23e982['id'])_0xc52b2d++,_0xe62b3f++,_0x1e8cc7['push'](_0x97b89b);else{if(_0x23e982['isRemoved']&&_0x97b89b['isAdded']){const {commonTape:_0x2483f5,iEnd:_0x20e811,jEnd:_0x491119}=this['_threeWayMerge'](_0x341e96,_0xc52b2d,_0x4528b9,_0xe62b3f);_0x1e8cc7=_0x1e8cc7['concat'](_0x2483f5),_0xc52b2d=_0x20e811,_0xe62b3f=_0x491119;}else _0x23e982['isRemoved']?(_0xe62b3f++,_0x1e8cc7['push'](_0x23e982)):(_0xc52b2d++,_0x1e8cc7['push'](_0x97b89b));}}return _0x1e8cc7;}['_markSuggestions'](_0x55fdd1,_0x2ba5f9){const _0x365845=[];for(let _0x4d29e1=0x0;_0x4d29e1<_0x55fdd1['length'];_0x4d29e1++){for(let _0x2e6fd9=0x0;_0x2e6fd9<_0x55fdd1[_0x4d29e1]['markersStart']['length'];_0x2e6fd9++){const _0x2cf417=_0x55fdd1[_0x4d29e1]['markersStart'][_0x2e6fd9];if(!_0x2ba5f9['has'](_0x2cf417))continue;const {group:_0x9bed97,type:_0x152712,authorId:_0x42dbd0}=_0x18f7d4(_0x2cf417);'revision-suggestion'!=_0x9bed97||'insertion'!=_0x152712&&'deletion'!=_0x152712||(_0x365845['unshift']({'type':_0x152712,'name':_0x2cf417,'userId':_0x42dbd0}),_0x55fdd1[_0x4d29e1]['markersStart']['splice'](_0x2e6fd9,0x1),_0x2e6fd9--);}_0x5d8491(_0x55fdd1[_0x4d29e1]);for(let _0x481a8c=0x0;_0x481a8c<_0x55fdd1[_0x4d29e1]['markersEnd']['length'];_0x481a8c++){const _0x534db8=_0x55fdd1[_0x4d29e1]['markersEnd'][_0x481a8c];if(!_0x2ba5f9['has'](_0x534db8))continue;const {group:_0xefdf30,type:_0x291a7d}=_0x18f7d4(_0x534db8);if('revision-suggestion'!=_0xefdf30||'insertion'!=_0x291a7d&&'deletion'!=_0x291a7d)continue;_0x55fdd1[_0x4d29e1]['markersEnd']['splice'](_0x481a8c,0x1),_0x481a8c--;const _0x8fa0c6=_0x365845['findIndex'](_0xe6e453=>_0xe6e453['name']==_0x534db8);_0x8fa0c6>-0x1&&_0x365845['splice'](_0x8fa0c6,0x1);}}function _0x18f7d4(_0x148b6b){const _0x37d86b=_0x148b6b['split'](':');return{'group':_0x37d86b[0x0],'type':_0x37d86b[0x1],'subType':_0x37d86b['length']>=0x5?_0x37d86b[0x2]:null,'id':_0x37d86b['length']<0x5?_0x37d86b[0x2]:_0x37d86b[0x3],'authorId':_0x37d86b['length']<0x5?_0x37d86b[0x3]:_0x37d86b[0x4],'markerCount':0x6==_0x37d86b['length']?_0x37d86b[0x5]:null};}function _0x5d8491(_0xa24479){for(let _0x24a4df=0x0;_0x24a4df<_0x365845['length'];_0x24a4df++){if(_0xa24479['isAdded']&&'insertion'==_0x365845[_0x24a4df]['type'])return _0xa24479['isAddSuggestion']=_0x365845[_0x24a4df],void delete _0xa24479['isAdded'];if(!_0xa24479['isAdded']&&!_0xa24479['isRemoved']&&'deletion'==_0x365845[_0x24a4df]['type'])return void(_0xa24479['isRemoveSuggestion']=_0x365845[_0x24a4df]);}}}['_setDistance'](_0x58f302,_0x50af07){let _0x1421d6=0x0,_0x4c6f54=!0x1;const _0x174843=new Map();for(const _0x3b406f of _0x58f302)_0x3b406f[_0x50af07]?_0x4c6f54&&(_0x1421d6++,_0x4c6f54=!0x1):(_0x1421d6++,_0x4c6f54=!0x0),_0x174843['set'](_0x3b406f['id'],_0x1421d6);for(let _0x49fb36=0x0;_0x49fb36<_0x58f302['length'];_0x49fb36++){if('isRemoved'==_0x50af07&&_0x58f302[_0x49fb36]['isAdded']||'isAdded'==_0x50af07&&_0x58f302[_0x49fb36]['isRemoved'])continue;if('text'==_0x58f302[_0x49fb36]['type']){_0x58f302[_0x49fb36]['distance']=0x0;continue;}const _0x31d069=_0x174843['get'](_0x58f302[_0x49fb36]['pairId']),_0x29b7ff=_0x174843['get'](_0x58f302[_0x49fb36]['id']);_0x58f302[_0x49fb36]['distance']=_0x31d069-_0x29b7ff;}}['_getRevisionsRange'](_0x2c1d13,_0x39cc73,_0x79a1d0=!0x1){const _0x334c4c=[];let _0x35feb7=this['repository']['getIndex'](_0x2c1d13),_0x4195bd=this['repository']['getIndex'](_0x39cc73);for(-0x1==_0x4195bd&&(_0x4195bd=this['repository']['_revisions']['length'],_0x79a1d0=!0x1);_0x35feb7<_0x4195bd;)_0x334c4c['push'](this['repository']['getRevision'](_0x35feb7)),_0x35feb7++;return _0x79a1d0&&_0x334c4c['push'](this['repository']['getRevision'](_0x35feb7)),_0x334c4c;}['_threeWayMerge'](_0x5364f0,_0x1e4210,_0x37c813,_0x50e06f){const _0x1211fe=this['editor']['model']['schema'];let _0x1bd07c=_0x1e4210;for(;_0x5364f0[_0x1bd07c]&&_0x5364f0[_0x1bd07c]['isAdded'];)_0x1bd07c++;let _0x127ce1=_0x50e06f;for(;_0x37c813[_0x127ce1]&&_0x37c813[_0x127ce1]['isRemoved'];)_0x127ce1++;_0x52507b(_0x5364f0,_0x1e4210,_0x1bd07c),_0x52507b(_0x37c813,_0x50e06f,_0x127ce1);const _0x59098e=_0x37c813['slice'](_0x50e06f,_0x127ce1)['concat'](_0x5364f0['slice'](_0x1e4210,_0x1bd07c));return _0x59098e['sort']((_0x3e6bc3,_0x29260f)=>_0x3e6bc3['side']!=_0x29260f['side']?_0x3e6bc3['side']-_0x29260f['side']:_0x3e6bc3['level']!=_0x29260f['level']?_0x3e6bc3['level']-_0x29260f['level']:_0x3e6bc3['distance']!=_0x29260f['distance']?_0x29260f['distance']-_0x3e6bc3['distance']:!!_0x3e6bc3['isAdded']!=!!_0x29260f['isAdded']?-0x1==_0x3e6bc3['side']||0x0==_0x3e6bc3['side']?_0x3e6bc3['isAdded']?-0x1:0x1:_0x3e6bc3['isAdded']?0x1:-0x1:_0x3e6bc3['index']-_0x29260f['index']),{'commonTape':_0x59098e,'iEnd':_0x1bd07c,'jEnd':_0x127ce1};function _0x52507b(_0x3c33c4,_0x30aa15,_0x47d1c9){let _0x4a6fbb=-0x1,_0x2120f5=Number['POSITIVE_INFINITY'],_0x5ef8a5=!0x0;for(let _0x32fdcd=_0x30aa15;_0x32fdcd<_0x47d1c9;_0x32fdcd++)if(_0x1211fe['isInline'](_0x3c33c4[_0x32fdcd]['item'])||(_0x5ef8a5=!0x1),_0x3c33c4[_0x32fdcd]['item']['startIndex']<_0x30aa15&&(_0x4a6fbb=_0x32fdcd),_0x3c33c4[_0x32fdcd]['item']['endIndex']>=_0x47d1c9){_0x2120f5=_0x32fdcd;break;}_0x5ef8a5&&(_0x4a6fbb=_0x47d1c9-0x1);for(let _0x76be68=_0x30aa15;_0x76be68<_0x47d1c9;_0x76be68++)_0x3c33c4[_0x76be68]['side']=_0x76be68<=_0x4a6fbb?-0x1:_0x76be68<_0x2120f5?0x0:0x1,_0x3c33c4[_0x76be68]['index']=_0x76be68;let _0x59cf6a=0x0;for(let _0x63d4c2=_0x30aa15;_0x63d4c2<=_0x4a6fbb;_0x63d4c2++)0x0==_0x3c33c4[_0x63d4c2]['distance']?_0x3c33c4[_0x63d4c2]['level']=_0x59cf6a:(_0x59cf6a++,_0x3c33c4[_0x63d4c2]['level']=_0x59cf6a,_0x59cf6a++);for(let _0x47617c=_0x30aa15;_0x47617c<_0x47d1c9;_0x47617c++)0x0==_0x3c33c4[_0x47617c]['side']&&(_0x3c33c4[_0x47617c]['level']=_0x59cf6a);_0x59cf6a=0x0;for(let _0x28fd52=_0x47d1c9-0x1;_0x28fd52>=_0x2120f5;_0x28fd52--)0x0==_0x3c33c4[_0x28fd52]['distance']?_0x3c33c4[_0x28fd52]['level']=_0x59cf6a:(_0x59cf6a--,_0x3c33c4[_0x28fd52]['level']=_0x59cf6a,_0x59cf6a--);}}['_fixObsoleteTags'](_0x4661b5){const _0x549f34=new Map(),_0xcf76f8=this['editor']['model']['schema'];for(let _0x522f00=0x1;_0x522f00<_0x4661b5['length'];_0x522f00++){let _0x554c8b,_0x367106,_0x16c20a;const _0x1456be=_0x4661b5[_0x522f00],_0x59082d=_0x4661b5[_0x522f00-0x1];if('text'==_0x1456be['type'])continue;if(_0x1456be['type']!=_0x59082d['type'])continue;if(!_0xcf76f8['isBlock'](_0x59082d['item'])||_0xcf76f8['isLimit'](_0x59082d['item']))continue;if(!_0xcf76f8['isBlock'](_0x1456be['item'])||_0xcf76f8['isLimit'](_0x1456be['item']))continue;if((_0x4661b5[_0x522f00]['isAdded']||_0x4661b5[_0x522f00]['isAddSuggestion'])&&_0x4661b5[_0x522f00-0x1]['isRemoved'])_0x554c8b=_0x4661b5[_0x522f00],_0x367106=_0x4661b5[_0x522f00-0x1],_0x16c20a=_0x522f00-0x1;else{if(!_0x4661b5[_0x522f00]['isRemoved']||!_0x4661b5[_0x522f00-0x1]['isAdded']&&!_0x4661b5[_0x522f00-0x1]['isAddSuggestion'])continue;_0x554c8b=_0x4661b5[_0x522f00-0x1],_0x367106=_0x4661b5[_0x522f00],_0x16c20a=_0x522f00;}const _0x3ed2e4=_0x554c8b['level']==_0x367106['level'],_0x1fda04=Math['abs'](_0x554c8b['level'])<Math['abs'](_0x367106['level'])&&0x0==_0x367106['distance'];(_0x3ed2e4||_0x1fda04)&&(_0x549f34['set'](_0x367106['id'],_0x554c8b['id']),_0x4661b5['splice'](_0x16c20a,0x1),_0x522f00--,_0x554c8b['isAdded']=!0x1);}for(let _0x59bd14=0x0;_0x59bd14<_0x4661b5['length'];_0x59bd14++)_0x549f34['has'](_0x4661b5[_0x59bd14]['pairId'])&&(_0x4661b5[_0x59bd14]['pairId']=_0x549f34['get'](_0x4661b5[_0x59bd14]['pairId']));}['_removeMissingPairs'](_0x41e25c){const _0x1833e5=new Set(_0x41e25c['map'](_0x3e89c6=>_0x3e89c6['id']));for(let _0x328770=0x0;_0x328770<_0x41e25c['length'];_0x328770++)_0x1833e5['has'](_0x41e25c[_0x328770]['pairId'])||0x0==_0x41e25c[_0x328770]['distance']||(_0x41e25c[_0x328770]['isIncorrect']=!0x0);return _0x41e25c['filter'](_0x47839a=>!_0x47839a['isIncorrect']);}['_markMismatchedRemovedTags'](_0x501e91){const _0x5d245e=new Set();for(let _0x33b657=0x0;_0x33b657<_0x501e91['length'];_0x33b657++){if(_0x5d245e['has'](_0x501e91[_0x33b657]['id'])&&_0x501e91[_0x33b657]['isRemoved']&&(_0x501e91[_0x33b657]['isIncorrect']=!0x0),_0x501e91[_0x33b657]['isIncorrect'])continue;if(0x0==_0x501e91[_0x33b657]['distance'])continue;if('elementStart'!=_0x501e91[_0x33b657]['type'])continue;if(null==_0x501e91[_0x33b657]['pairId'])continue;let _0x28c618=_0x33b657+0x1,_0x295e12=0x0;for(;_0x501e91[_0x28c618]['id']!=_0x501e91[_0x33b657]['pairId'];)'elementStart'==_0x501e91[_0x28c618]['type']?_0x295e12++:'elementEnd'==_0x501e91[_0x28c618]['type']&&_0x295e12--,_0x28c618++;if(0x0!=_0x295e12){if(_0x501e91[_0x33b657]['isRemoved'])_0x501e91[_0x33b657]['isIncorrect']=!0x0;else{for(;_0x28c618!=_0x33b657;)_0x501e91[_0x28c618]['isRemoved']&&0x0!=_0x501e91[_0x28c618]['distance']&&(_0x501e91[_0x28c618]['isIncorrect']=!0x0,_0x5d245e['add'](_0x501e91[_0x28c618]['pairId'])),_0x28c618--;}}}return _0x501e91['filter'](_0x38016c=>!_0x38016c['isIncorrect']);}['_removeUnsupportedChanges'](_0x5e2e45){const _0x67ea85=this['editor']['model']['schema'];for(let _0x2535b9=0x0;_0x2535b9<_0x5e2e45['length'];_0x2535b9++){if(!(_0x5e2e45[_0x2535b9]['isAdded']||_0x5e2e45[_0x2535b9]['isAddSuggestion']||_0x5e2e45[_0x2535b9]['isRemoved']||_0x5e2e45[_0x2535b9]['isRemoveSuggestion']))continue;if(0x0==_0x5e2e45[_0x2535b9]['distance'])continue;const _0x2d0431=_0x5e2e45[_0x2535b9]['item'];_0x67ea85['isBlock'](_0x2d0431)||_0x67ea85['isLimit'](_0x2d0431)||(_0x5e2e45[_0x2535b9]['isAdded']&&delete _0x5e2e45[_0x2535b9]['isAdded'],_0x5e2e45[_0x2535b9]['isAddSuggestion']&&delete _0x5e2e45[_0x2535b9]['isAddSuggestion'],_0x5e2e45[_0x2535b9]['isRemoveSuggestion']&&delete _0x5e2e45[_0x2535b9]['isRemoveSuggestion'],_0x5e2e45[_0x2535b9]['isRemoved']&&(_0x5e2e45[_0x2535b9]['isIncorrect']=!0x0));}return _0x5e2e45['filter'](_0x36d712=>!_0x36d712['isIncorrect']);}['_makeModelFromTape'](_0x211488,_0x17367b,_0x4bd863){const _0x241ebc=new wt(),_0x5d9c03=[],_0x58514d=new Map(),_0x29d973=this['editor']['model'],_0x17074b=_0x29d973['schema'],_0x210407=[_0x241ebc],_0x57150b={},_0x30cccf={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x5b5bb7=null;const _0x52f6d6=[0x0];for(let _0x4d230f=0x0;_0x4d230f<_0x211488['length'];_0x4d230f++){let _0xd360aa,_0x4e7c45;if('elementStart'===_0x211488[_0x4d230f]['type']){_0xd360aa=_0x29d973['createPositionFromPath'](_0x241ebc,_0x52f6d6);const _0x1f9bf0=new ft(_0x211488[_0x4d230f]['item']['name'],_0x211488[_0x4d230f]['item']['getAttributes']());_0x210407[0x0]['_appendChild'](_0x1f9bf0),_0x52f6d6['push'](0x0),_0x210407['unshift'](_0x1f9bf0),_0x4e7c45=_0x29d973['createPositionFromPath'](_0x241ebc,_0x52f6d6),_0x5b5bb7=null;}else{if('elementEnd'===_0x211488[_0x4d230f]['type'])_0x210407['shift'](),_0xd360aa=_0x29d973['createPositionFromPath'](_0x241ebc,_0x52f6d6),_0x52f6d6['pop'](),_0x52f6d6[_0x52f6d6['length']-0x1]++,_0x4e7c45=_0x29d973['createPositionFromPath'](_0x241ebc,_0x52f6d6),_0x5b5bb7=null;else{if(_0xd360aa=_0x29d973['createPositionFromPath'](_0x241ebc,_0x52f6d6),_0x5b5bb7&&_0x507fb1(_0x5b5bb7,_0x211488[_0x4d230f]['item']))_0x5b5bb7['_data']+=_0x211488[_0x4d230f]['item']['data'];else{const _0x5db0c2=new _t(_0x211488[_0x4d230f]['item']['data'],_0x211488[_0x4d230f]['item']['getAttributes']());_0x210407[0x0]['_appendChild'](_0x5db0c2),_0x5b5bb7=_0x5db0c2;}_0x52f6d6[_0x52f6d6['length']-0x1]+=_0x211488[_0x4d230f]['item']['offsetSize'],_0x4e7c45=_0x29d973['createPositionFromPath'](_0x241ebc,_0x52f6d6);}}for(const _0x4b9762 of _0x211488[_0x4d230f]['markersStart'])_0x58514d['set'](_0x4b9762,{'start':_0xd360aa,'end':null});_0x4a8ad4('isRemoveSuggestion',_0x4d230f,_0xd360aa,_0x4e7c45),_0x4a8ad4('isAddSuggestion',_0x4d230f,_0xd360aa,_0x4e7c45),_0x4a8ad4('isRemoved',_0x4d230f,_0xd360aa,_0x4e7c45),_0x4a8ad4('isAdded',_0x4d230f,_0xd360aa,_0x4e7c45);for(const _0x5f5aba of _0x211488[_0x4d230f]['markersEnd']){_0x58514d['get'](_0x5f5aba)['end']=_0x4e7c45;}}for(const [_0x98cf83,_0x4356a5]of _0x58514d){const _0x1e45f3=this['editor']['model']['createRange'](_0x4356a5['start'],_0x4356a5['end']);_0x241ebc['markers']['set'](_0x98cf83,_0x1e45f3);}return _0x5d9c03['sort']((_0x46155c,_0x355d7a)=>{const _0x4a2bdc=_0x241ebc['markers']['get']('revision:'+_0x46155c['id']),_0x36b76b=_0x241ebc['markers']['get']('revision:'+_0x355d7a['id']);return _0x4a2bdc['start']['isBefore'](_0x36b76b['start'])?-0x1:_0x4a2bdc['start']['isAfter'](_0x36b76b['start'])?0x1:_0x4a2bdc['end']['isBefore'](_0x36b76b['end'])?-0x1:_0x4a2bdc['end']['isAfter'](_0x36b76b['end'])?0x1:'add'===_0x46155c['type']?-0x1:0x1;}),{'root':_0x241ebc,'changes':_0x5d9c03};function _0x4a8ad4(_0x106f10,_0x47a388,_0x219a79,_0x18e82c){const _0x2f7c17=!!_0x211488[_0x47a388][_0x106f10],_0x64338f=_0x2f7c17?_0x211488[_0x47a388][_0x106f10]['userId']:null,_0x4c76f8=_0x47a388===_0x211488['length']-0x1,_0x17cd56=_0x30cccf[_0x106f10][0x0],_0x414232=_0x17074b['isObject'](_0x211488[_0x47a388]['item']);!_0x57150b[_0x106f10]&&_0x2f7c17?_0x57150b[_0x106f10]={'start':_0x219a79,'tapeItem':_0x211488[_0x47a388],'userId':_0x64338f,'type':_0x106f10}:_0x57150b[_0x106f10]&&!_0x2f7c17?(_0x57150b[_0x106f10]['end']=_0x219a79,_0x164cc2(_0x57150b[_0x106f10]),_0x57150b[_0x106f10]=null):_0x57150b[_0x106f10]&&_0x2f7c17&&_0x57150b[_0x106f10]['userId']!==_0x64338f&&(_0x57150b[_0x106f10]['end']=_0x219a79,_0x17cd56&&_0x17cd56['userId']===_0x57150b[_0x106f10]['userId']||_0x164cc2(_0x57150b[_0x106f10]),_0x57150b[_0x106f10]={'start':_0x219a79,'tapeItem':_0x211488[_0x47a388],'userId':_0x64338f,'type':_0x106f10}),_0x57150b[_0x106f10]&&_0x414232&&('elementStart'!==_0x211488[_0x47a388]['type']||_0x17cd56&&_0x17cd56['userId']===_0x64338f||_0x30cccf[_0x106f10]['unshift']({'userId':_0x64338f,'object':_0x211488[_0x47a388]['item'],'change':_0x57150b[_0x106f10]}),'elementEnd'===_0x211488[_0x47a388]['type']&&_0x17cd56&&_0x17cd56['object']===_0x211488[_0x47a388]['item']&&(_0x30cccf[_0x106f10]['shift'](),_0x57150b[_0x106f10]=_0x17cd56['change'])),_0x57150b[_0x106f10]&&_0x4c76f8&&(_0x57150b[_0x106f10]['end']=_0x18e82c,_0x164cc2(_0x57150b[_0x106f10]),_0x57150b[_0x106f10]=null);}function _0x164cc2({start:_0x3e5e15,end:_0x215a47,tapeItem:_0x449400,userId:_0x4993ce,type:_0x4aa38d}){const _0x2774aa=_0x449400['item'],_0x36ea10=_0x29d973['schema']['isBlock'](_0x2774aa)&&!_0x29d973['schema']['isLimit'](_0x2774aa),_0x11e3a3=_0x3e5e15['nodeAfter']==_0x215a47['parent']&&_0x215a47['isAtStart'];if(_0x36ea10&&_0x11e3a3)return;const _0x5b6393=_0x29d973['createRange'](_0x3e5e15,_0x215a47),_0x2f1469=_0x17367b['get'](_0x4993ce),_0x22334e=new r({'author':_0x2f1469,'type':'isAdded'==_0x4aa38d||'isAddSuggestion'==_0x4aa38d?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x4aa38d||'isRemoveSuggestion'==_0x4aa38d},'createdAt':new Date(),'rootName':_0x4bd863});_0x5d9c03['push'](_0x22334e),_0x241ebc['markers']['set']('revision:'+_0x22334e['id'],_0x5b6393);}function _0x507fb1(_0x5e7105,_0x5411ec){const _0x39f750=_0x5e7105['getAttributes'](),_0xef6c27=_0x5411ec['getAttributes']();for(const _0x33b1f7 of _0x39f750){if(_0x33b1f7[0x1]!==_0x5411ec['getAttribute'](_0x33b1f7[0x0]))return!0x1;_0xef6c27['next']();}return _0xef6c27['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x20b095=>{const _0x9b928=_0x20b095['markerName']['split'](':')[0x1],_0x460b55=this['_getChangeFromId'](_0x9b928);if(!_0x460b55)return null;const _0x158159='add'==_0x460b55['type']?'insertion':'deletion',_0x420f51=['ck-suggestion-marker','ck-suggestion-marker-'+_0x158159];return _0x460b55['data']['isSuggestion']&&_0x420f51['push']('ck-suggestion-marker-'+_0x158159+'-new'),this['activeChange']==_0x460b55&&_0x420f51['push']('ck-suggestion-marker--active'),{'classes':_0x420f51,'attributes':{'data-change-id':_0x9b928}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x2e9aab=>{_0x2e9aab['on']('element:pre',(_0x254a59,_0x2fb18c,_0x115a41)=>{const _0x3f839f=_0x2fb18c['viewItem']['getChild'](0x0);if(!_0x3f839f||!_0x3f839f['is']('element','code'))return;if(!_0x115a41['consumable']['consume'](_0x3f839f,{'attributes':['vid_start','vid_end']}))return;const _0x15a604=_0x2fb18c['modelRange']['start']['nodeAfter'];_0x115a41['writer']['setAttribute']('vid_start',_0x3f839f['getAttribute']('vid_start'),_0x15a604),_0x115a41['writer']['setAttribute']('vid_end',_0x3f839f['getAttribute']('vid_end'),_0x15a604);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x43ed85=>{_0x43ed85['on']('element',(_0x188907,_0x3db46d,_0x1e7c52)=>{if(!_0x1e7c52['consumable']['consume'](_0x3db46d['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x3db46d['modelRange']['isCollapsed'])return;const _0x2a17be=_0x3db46d['modelRange']['start']['nodeAfter'];_0x2a17be['hasAttribute']('vid_start')||_0x2a17be['hasAttribute']('vid')||(_0x1e7c52['writer']['setAttribute']('vid_start',_0x3db46d['viewItem']['getAttribute']('vid_start'),_0x2a17be),_0x1e7c52['writer']['setAttribute']('vid_end',_0x3db46d['viewItem']['getAttribute']('vid_end'),_0x2a17be));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x2f434d=>_0x2f434d['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x22370c,[,_0x19df43])=>{['vid_start','vid_end','vid']['includes'](_0x19df43)&&(_0x22370c['return']=!0x0,_0x22370c['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0xf4351b=>{_0xf4351b['on']('attribute:vid',(_0x502e75,_0x128a20,_0x18cdd6)=>{if('\x20'!=_0x128a20['item']['data']||_0x128a20['item']['parent']['maxOffset']>0x1)return;if(!_0x18cdd6['consumable']['consume'](_0x128a20['item'],_0x502e75['name']))return;const _0x10b583=_0x18cdd6['writer'],_0x356f27=_0x18cdd6['mapper']['toViewRange'](_0x128a20['range']);_0x10b583['wrap'](_0x356f27,_0x10b583['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1b53d9){const _0x28e9d0=_0x1b53d9['plugins']['get']('RevisionViewer');return(_0x197ce4,_0x5bb66a,_0x29785b)=>{const _0x235b78=_0x5bb66a['markerName']['split'](':')[0x1],_0x3da2f5=_0x28e9d0['_getChangeFromId'](_0x235b78);if(!_0x3da2f5)return null;const _0x36f975='add'==_0x3da2f5['type']?'split':'merge';if(!_0x29785b['consumable']['test'](_0x5bb66a['markerRange'],_0x197ce4['name']))return;const _0xab4b11=_0x5bb66a['markerRange']['getWalker'](),_0x238a02=_0x5bb66a['markerRange']['start'],_0x58ce9e=_0x1b53d9['model']['schema'];let _0x55b135=null,_0xb0f0e=null,_0x5a6aaf=!0x1,_0x2d4b3c=!0x1;for(const _0x3b8aa9 of _0xab4b11){const _0x3e2f94=_0x3b8aa9['item'];_0x5a6aaf=_0x5a6aaf||_0x58ce9e['isContent'](_0x3e2f94);const _0x24a71b=_0x29785b['mapper']['toViewElement'](_0x3e2f94);if(_0x24a71b&&_0x24a71b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x3b8aa9['type']&&(_0x58ce9e['isBlock'](_0x3e2f94)&&!_0x58ce9e['isLimit'](_0x3e2f94)&&(_0x3e2f94['nextSibling']||_0x238a02['isAtEnd']?_0x55b135&&_0x55b135['parent']==_0x3e2f94||(_0x55b135=_0x3e2f94,_0x1b7094(_0x3b8aa9['previousPosition']),_0x2d4b3c=!0x0):_0xb0f0e=_0xb0f0e||_0x3b8aa9['previousPosition']));}function _0x1b7094(_0xf0d98c){const _0x5beb27=_0x29785b['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x36f975}),_0xe96f60=_0x29785b['mapper']['toViewPosition'](_0xf0d98c);_0x3da2f5['data']['isSuggestion']&&_0x29785b['writer']['addClass']('ck-suggestion-marker-'+_0x36f975+'-new',_0x5beb27),_0x28e9d0['activeChange']==_0x3da2f5&&_0x29785b['writer']['addClass']('ck-suggestion-marker--active',_0x5beb27),_0x29785b['writer']['insert'](_0xe96f60,_0x5beb27),_0x29785b['mapper']['bindElementToMarker'](_0x5beb27,_0x5bb66a['markerName']);}_0x5a6aaf||_0x2d4b3c||!_0xb0f0e||_0x1b7094(_0xb0f0e);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2fc2f1,_0x351add,_0x3fc031)=>{const _0x433bb0=_0x3fc031['mapper']['markerNameToElements'](_0x351add['markerName']);if(_0x433bb0){for(const _0x4861c9 of _0x433bb0)(_0x4861c9['hasClass']('ck-suggestion-marker-split')||_0x4861c9['hasClass']('ck-suggestion-marker-merge'))&&(_0x3fc031['mapper']['unbindElementFromMarkerName'](_0x4861c9,_0x351add['markerName']),_0x3fc031['writer']['remove'](_0x4861c9));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x2fa226,_0x1f2f2d,_0x262f90)=>{const _0x572db0=_0x1f2f2d['markerName']['split'](':')[0x1],_0x388ca9=this['_getChangeFromId'](_0x572db0);if(!_0x388ca9)return null;const _0x589281='add'==_0x388ca9['type']?'split':'merge';if(_0x262f90['consumable']['test'](_0x1f2f2d['markerRange'],_0x2fa226['name']))for(const _0x57348d of _0x1f2f2d['markerRange']['getItems']()){if(!_0x57348d['is']('element','softBreak'))continue;const _0x2d3049=_0x262f90['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x589281}),_0x23bcc6=_0x262f90['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x57348d));_0x388ca9['data']['isSuggestion']&&_0x262f90['writer']['addClass']('ck-suggestion-marker-'+_0x589281+'-new',_0x2d3049),this['activeChange']==_0x388ca9&&_0x262f90['writer']['addClass']('ck-suggestion-marker--active',_0x2d3049),_0x262f90['writer']['insert'](_0x23bcc6,_0x2d3049),_0x262f90['mapper']['bindElementToMarker'](_0x2d3049,_0x1f2f2d['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x10a39f=>{for(const _0x206c1a of this['editor']['model']['document']['getRootNames']()){const _0xf4f7e9=this['editor']['model']['document']['getRoot'](_0x206c1a),_0x1b29cf=this['editor']['editing']['view']['document']['getRoot'](_0x206c1a);if(_0x1b29cf){const _0x161817=_0xf4f7e9['getAttribute']('revisionHistoryAttachChange');if(_0x10a39f['removeAttribute']('data-change-id',_0x1b29cf),_0x10a39f['removeClass']('ck-revision-history-root-add',_0x1b29cf),_0x10a39f['removeClass']('ck-revision-history-root-remove',_0x1b29cf),_0x10a39f['removeClass']('ck-revision-history-root--active',_0x1b29cf),_0x161817){const _0x16225b=this['_getChangeFromId'](_0x161817);if(!_0x16225b)return null;_0x10a39f['setAttribute']('data-change-id',_0x161817,_0x1b29cf),_0x10a39f['addClass']('ck-revision-history-root-'+_0x16225b['type'],_0x1b29cf),this['activeChange']==_0x16225b&&_0x10a39f['addClass']('ck-revision-history-root--active',_0x1b29cf);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x1378f4=>'revision-comment:'+_0x1378f4,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5e8761=>'revision-suggestion:'+_0x5e8761,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x240667=>({'name':'suggestion:'+_0x240667,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x3b6ee0=>{const _0x14210e=_0x3b6ee0['markerName']['split'](':')[0x1];return'insertion'!=_0x14210e&&'deletion'!=_0x14210e?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x14210e]};}}),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',(_0x4fee93,_0x492615,_0x149f3a)=>{const _0x46e975=_0x149f3a['mapper']['markerNameToElements'](_0x492615['markerName']);if(_0x46e975){for(const _0x4ad44d of _0x46e975)_0x4ad44d['is']('uiElement')&&(_0x149f3a['mapper']['unbindElementFromMarkerName'](_0x4ad44d,_0x492615['markerName']),_0x149f3a['writer']['remove'](_0x4ad44d));}},{'priority':'high'});}['_getChangeFromId'](_0x36ab11){return this['_changeIdToChange']['get'](_0x36ab11);}['_getViewForChange'](_0x13c0ee){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x13c0ee),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x3ae8d0,_0x2b67c6,_0x3970b8,_0x37c1cf)=>{_0x37c1cf&&this['_balloon']['remove'](_0x37c1cf),_0x3970b8&&(this['_balloon']['add']({'view':_0x3970b8,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xfa4c8d=this['editor']['editing'],_0xa1599e=this['_getChangeFromId'](_0x3970b8['changeId']);let _0x4766ba;if(_0xa1599e['data']['isOnRoot']){const _0xf1f372=_0xfa4c8d['view']['getDomRoot'](_0xa1599e['rootName']);_0x4766ba=Array['from'](_0xf1f372['getClientRects']());}else{const _0x14b989=this['editor']['model']['markers']['get']('revision:'+_0x3970b8['changeId']);_0x4766ba=Array['from'](_0xfa4c8d['mapper']['markerNameToElements'](_0x14b989['name']))['map'](_0x5c748b=>_0xfa4c8d['view']['domConverter']['mapViewToDom'](_0x5c748b))['map'](_0x6d9dce=>Array['from'](_0x6d9dce['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x4766ba[0x0];return _0x4766ba['find'](_0x2dab82=>_0x2dab82['top']-0x3<=this['_activeViewTarget']['y']&&_0x2dab82['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x2dab82['left']-0x3<=this['_activeViewTarget']['x']&&_0x2dab82['right']+0x3>=this['_activeViewTarget']['x'])||_0x4766ba[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x2d3fa0,_0x285049,_0x561f16,_0x3ee7e4)=>{this['activeView']=_0x561f16?this['_getViewForChange'](_0x561f16):null,this['editor']['model']['change'](()=>{const _0x24bffb=this['editor']['editing'];_0x3ee7e4&&(_0x3ee7e4['data']['isOnRoot']?_0x24bffb['view']['change'](_0x48bf99=>{_0x48bf99['removeClass']('ck-revision-history-root--active',_0x24bffb['view']['document']['getRoot'](_0x3ee7e4['rootName']));}):_0x24bffb['reconvertMarker']('revision:'+_0x3ee7e4['id'])),_0x561f16&&(_0x561f16['data']['isOnRoot']?_0x24bffb['view']['change'](_0x4567df=>{_0x4567df['addClass']('ck-revision-history-root--active',_0x24bffb['view']['document']['getRoot'](_0x561f16['rootName']));}):_0x24bffb['reconvertMarker']('revision:'+_0x561f16['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5c5271,_0x23602e)=>{if(this['activeChange'])return;const _0x58dd3b=this['_findChangeIdFromDomTarget'](_0x23602e['target']),_0xfbc36e=this['_changeIdToChange']['get'](_0x58dd3b);_0xfbc36e?(this['_activeViewTarget']={'x':_0x23602e['domEvent']['x'],'y':_0x23602e['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0xfbc36e)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x21dabf,_0x59bbf7)=>{const _0x2d44e1=this['_findChangeIdFromDomTarget'](_0x59bbf7['target']),_0x48da01=this['_changeIdToChange']['get'](_0x2d44e1);_0x48da01?(this['_activeViewTarget']={'x':_0x59bbf7['domEvent']['x'],'y':_0x59bbf7['domEvent']['y']},_0x48da01===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x48da01):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0xaa710c){do{const _0x46a524=_0xaa710c['getAttribute']('data-change-id');if(_0x46a524)return _0x46a524;_0xaa710c=_0xaa710c['parent'];}while(_0xaa710c);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x40a1c6=>{for(const _0x29e65d of this['editor']['model']['markers'])_0x40a1c6['removeMarker'](_0x29e65d);});}}function et(_0xe40648,_0x4267b1){return(_0x46da2d,_0x2760f7,_0x590bc4)=>{if(!_0x590bc4['consumable']['test'](_0x2760f7['markerRange'],_0x46da2d['name']))return;const _0x1d6dee=_0x2760f7['markerRange']['getWalker'](),_0x245212=_0x2760f7['markerRange']['start'],_0x2d076b=_0xe40648['model']['schema'];let _0x59adbe=null,_0x31e6ee=null,_0x6aec23=!0x1,_0x11d5d6=!0x1;for(const _0x532422 of _0x1d6dee){const _0x1a7d28=_0x532422['item'];_0x6aec23=_0x6aec23||_0x2d076b['isContent'](_0x1a7d28);const _0x179163=_0x590bc4['mapper']['toViewElement'](_0x1a7d28);if(_0x179163&&_0x179163['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x532422['type']&&(_0x2d076b['isBlock'](_0x1a7d28)&&!_0x2d076b['isLimit'](_0x1a7d28)&&(_0x1a7d28['nextSibling']||_0x245212['isAtEnd']?_0x59adbe&&_0x59adbe['parent']==_0x1a7d28||(_0x59adbe=_0x1a7d28,_0x39a0a2(_0x532422['previousPosition']),_0x11d5d6=!0x0):_0x31e6ee=_0x31e6ee||_0x532422['previousPosition']));}function _0x39a0a2(_0x206a1f){const _0x1f03c0=_0x590bc4['mapper']['toViewPosition'](_0x206a1f),_0x42ed48=_0x590bc4['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x4267b1});_0x590bc4['writer']['insert'](_0x1f03c0,_0x42ed48),_0x590bc4['mapper']['bindElementToMarker'](_0x42ed48,_0x2760f7['markerName']);}_0x6aec23||_0x11d5d6||!_0x31e6ee||_0x39a0a2(_0x31e6ee);};}class bt extends _0x274677{constructor(_0x204c5b){super(_0x204c5b);const _0x584067=_0x204c5b['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x584067,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x584067,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x482097=this['editor'],_0x302e6b=_0x482097['plugins']['get'](d),_0x1ce06e=_0x302e6b['isReady']?_0x302e6b['diff']['newRevisionId']:null;_0x482097['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1ce06e);}['refresh'](){const {isReady:_0x178224,isEnabled:_0x44a0c2}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x178224&&_0x44a0c2;}}class yt extends _0x274677{['_step'];constructor(_0x244cf8,{direction:_0x210c9f}){super(_0x244cf8);const _0x107486=_0x244cf8['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x210c9f?0x1:-0x1,this['listenTo'](_0x107486,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x107486,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x107486,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3714b6=this['editor'],_0x338004=_0x3714b6['plugins']['get'](d),{isNavigationMode:_0x3d10a6,currentChangeNumber:_0x482670}=_0x338004;let _0x3e3aec;if(_0x338004['activeChange']=_0x3d10a6?_0x338004['diff']['changes']['get'](_0x482670+this['_step']):_0x338004['diff']['changes']['first'],_0x338004['activeChange']['data']['isOnRoot'])_0x3e3aec=_0x3714b6['editing']['view']['getDomRoot'](_0x338004['activeChange']['rootName']);else{const _0x2e9e77=_0x3714b6['model']['markers']['get']('revision:'+_0x338004['activeChange']['id']);_0x3e3aec=_0x4e9e7d(_0x3714b6['editing'],_0x2e9e77);}_0xd6d3ba({'target':_0x3e3aec,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x242665,currentChangeNumber:_0x2384ba,numberOfChanges:_0x361220,isReady:_0xc9de0f,isEnabled:_0x38a244}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x38a244&&_0xc9de0f&&_0x361220)&&(!_0x242665||(0x1===this['_step']?_0x2384ba<_0x361220-0x1:_0x2384ba>0x0));}}class _i extends _0x1f4a45{constructor(_0x5b9759){super(_0x5b9759);const _0x1e45da=this['bindTemplate'],_0x567af=new _0x39ab84(_0x5b9759),_0x56fae7=new _0x39ab84(_0x5b9759);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',(_0x32bcbd,_0x2e64e4)=>_0x32bcbd&&_0x2e64e4>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x408b00,_0x99a7b1,_0x5410c2,_0x2ef141)=>{if(!_0x408b00)return y(_0x5b9759,'Loading...');if(!_0x5410c2)return y(_0x5b9759,'No\x20changes');const _0x587f39=y(_0x5b9759,'NUMBER_OF_CHANGES',_0x5410c2);return _0x2ef141?y(_0x5b9759,'X_OF_Y_CHANGES',[_0x99a7b1+0x1,_0x5410c2]):_0x587f39;}),_0x567af['set']({'label':y(_0x5b9759,'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'}),_0x56fae7['set']({'label':y(_0x5b9759,'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'}),_0x567af['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x56fae7['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x567af['on']('execute',()=>this['fire']('execute','backward')),_0x56fae7['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',_0x1e45da['if']('_isStatusLabelVisible','ck-hidden',_0x57c884=>!_0x57c884)]},'children':[{'text':_0x1e45da['to']('isNavigationMode',_0x19c5b5=>_0x19c5b5?y(_0x5b9759,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5b9759,'Total')+':\x20')}]},{'text':_0x1e45da['to']('_statusText')}]},new _0x25661a(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x567af,_0x56fae7]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x3603a7{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x2b09e5=this['editor']['editing']['view'];_0x2b09e5['change'](_0x280b22=>{for(const _0x317650 of _0x2b09e5['document']['roots'])_0x280b22['addClass'](ce,_0x317650);});}['hide'](){const _0x445243=this['editor']['editing']['view'];_0x445243['change'](_0x159c6e=>{for(const _0x58f2ac of _0x445243['document']['roots'])_0x159c6e['removeClass'](ce,_0x58f2ac);});}}class R extends _0x3603a7{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x34acff=this['editor'],_0x5d8eb6=_0x34acff['plugins']['get'](d),_0x50b072=_0x34acff['plugins']['get'](de);_0x34acff['ui']['componentFactory']['add']('exitToEditing',_0x5c8c50=>{const _0x1fec2f=new _0x39ab84(_0x5c8c50);return _0x1fec2f['set']({'label':y(_0x5c8c50,'Back\x20to\x20editing'),'icon':_0x144dbc['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x1fec2f,'execute',()=>{_0x34acff['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x1fec2f;}),_0x34acff['ui']['componentFactory']['add']('restoreRevision',_0x5479d7=>{const _0x36a99e=new _0x39ab84(_0x5479d7);return _0x36a99e['set']({'label':y(_0x5479d7,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x36a99e['bind']('isEnabled')['to'](_0x34acff['commands']['get']('restoreRevision')),this['listenTo'](_0x36a99e,'execute',()=>_0x34acff['execute']('restoreRevision')),_0x36a99e;}),_0x34acff['ui']['componentFactory']['add']('changesNavigation',_0x43e7e4=>{const _0x85b3cc=new _i(_0x43e7e4),_0x425da5=_0x34acff['commands']['get']('showPreviousChange'),_0x4c8b11=_0x34acff['commands']['get']('showNextChange');return _0x85b3cc['bind']('isBackwardNavigationEnabled')['to'](_0x425da5,'isEnabled'),_0x85b3cc['bind']('isForwardNavigationEnabled')['to'](_0x4c8b11,'isEnabled'),_0x85b3cc['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x5d8eb6),this['listenTo'](_0x85b3cc,'execute',(_0x242c8b,_0x147ae8)=>{_0x34acff['execute']('forward'===_0x147ae8?'showNextChange':'showPreviousChange');}),_0x85b3cc;}),_0x50b072['show'](),_0x5d8eb6['on']('change:isReady',(_0x68fe49,_0x1e6b5f,_0x5d6fcc)=>{_0x5d6fcc?_0x50b072['hide']():_0x50b072['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x13d497,_0x494683){super(_0x13d497,_0x494683);const _0x1847c9=this['bindTemplate'];this['set']({'label':y(_0x13d497,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x13d497,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x1847c9['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 _0x403b9c=this['fieldView']['element'];this['_tooltipString']=_0x403b9c['scrollWidth']>_0x403b9c['clientWidth']&&_0x403b9c['value']||'';}}class ti extends _0x1f4a45{constructor(_0x3a9721,_0xe6d39b,_0x4d9b19){super(_0x3a9721);const _0x2e76ff=new _0x2fe791();_0x2e76ff['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 _0x8c80ec=['ck','ck-revision-history-sidebar__revision-author'];_0x4d9b19&&_0x8c80ec['push']('ck-revision-history-sidebar__revision-author_creator');const _0x1a5f42=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x3a9721,_0x4d9b19?'Revision\x20creator':'Revision\x20author')},'children':[_0x2e76ff,_0xe6d39b['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x8c80ec},'children':_0x1a5f42});}}function ni(_0x144018,_0x2d0213){const _0x1ad3be=_0x144018['bindTemplate'],_0x2a0837=_0x144018['locale'],_0x14c8f2=_0x8fc188(_0x2a0837);_0x14c8f2['panelPosition']='sw';const _0x1f5161=function(_0x403171,_0x192199){const _0x135ca6=function(_0x1f3666,_0x493ed8){const _0x25554f=_0x1f3666['locale'],_0x2f39f3={'Compare\x20against\x20selected':y(_0x25554f,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x25554f,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x25554f,'Restore\x20this\x20revision')};return _0x493ed8['map'](_0x150aed=>{const _0x279912=_0x2f39f3[_0x150aed['name']];return _0x279912&&_0x279912!==_0x150aed['name']&&(_0x150aed['name']=_0x279912),_0x150aed;});}(_0x403171,_0x192199),_0x468d39=new _0x40a346();for(const _0x37483b of _0x135ca6){const _0x3dfd1a={'type':'button','model':new to({'label':_0x37483b['name'],'class':_0x37483b['class'],'withText':!0x0,'role':'menuitem','_action':_0x37483b['action']})};_0x3dfd1a['model']['bind']('isEnabled')['to'](_0x403171,'isActionsDropdownOpen',_0x90b7ba=>'function'!=typeof _0x37483b['isEnabled']||(!_0x90b7ba||_0x37483b['isEnabled'](_0x403171))),_0x468d39['add'](_0x3dfd1a);}return _0x468d39;}(_0x144018,_0x2d0213);return _0x144018['bind']('isActionsDropdownOpen')['to'](_0x14c8f2,'isOpen'),_0x14c8f2['buttonView']['set']({'label':y(_0x2a0837,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x144dbc['threeVerticalDots']}),_0x14c8f2['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x1ad3be['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x1ad3be['to'](_0x324e2b=>_0x324e2b['stopPropagation']())}}),_0x14c8f2['on']('execute',_0x35695c=>{_0x144018['isReady']&&'function'==typeof _0x35695c['source']['_action']&&_0x35695c['source']['_action'](_0x144018);}),_0x1af0b8(_0x14c8f2,_0x1f5161,{'role':'menu'}),_0x14c8f2['listenTo'](_0x144018,'change:isActionsDropdownOpen',(_0x441fc1,_0x5dc4b9,_0x292bbd)=>{if(_0x292bbd)for(const _0x1c9649 of _0x14c8f2['listView']['items']){const _0x56631e=_0x1c9649['children']['first'],_0x38d293=_0x2d0213['find'](_0x42e930=>_0x42e930['action']===_0x56631e['_action'])['isVisible'];_0x1c9649['isVisible']=void 0x0===_0x38d293||_0x38d293(_0x144018);}}),_0x14c8f2;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x23ddab(_0x1f4a45){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x5c2197,_0x591284,_0x253530,_0x159e52){super(_0x5c2197);const _0x5ab08e=this['bindTemplate'],_0x285577=function(_0x2f62c3,_0x45c94a){const _0x2e02ad=Array['from'](_0x45c94a['authors'])['filter'](_0x307be8=>_0x307be8!=_0x45c94a['creator']);return _0x45c94a['creator']&&_0x2e02ad['unshift'](_0x45c94a['creator']),_0x2e02ad['map'](_0x306898=>new ti(_0x2f62c3,_0x306898,_0x306898==_0x45c94a['creator']));}(_0x5c2197,_0x591284);this['id']=_0x591284['id'],this['_revision']=_0x591284,this['_requireRevisionName']=_0x159e52,this['bind']('name','createdAt')['to'](_0x591284),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0xfbdba6=>{return _0x1de4f5=_0x5c2197['uiLanguage'],(_0x5e27f0=_0xfbdba6)['toLocaleDateString'](_0x1de4f5,{'month':'long','day':'numeric'})+',\x20'+_0x5e27f0['toLocaleTimeString'](_0x1de4f5,{'hour':'numeric','minute':'numeric'});var _0x1de4f5,_0x5e27f0;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x5c2197,_0x547aa8),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x33b2f2=>_0x33b2f2||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x26f8e4,_0x1d228d)=>_0x26f8e4&&_0x1d228d),this['revisionActionsView']=_0x253530&&_0x253530['length']?ni(this,_0x253530):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x5ab08e['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x5ab08e['if']('isEnabled','ck-disabled',_0xecd5c=>!_0xecd5c),_0x5ab08e['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x5ab08e['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x5ab08e['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':_0x5ab08e['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':_0x285577}]},this['revisionActionsView']],'on':{'click':_0x5ab08e['to'](_0x1990e1=>{_0x1990e1['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x1a7ab2=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x1a7ab2,'change',()=>{this['_requireRevisionName']&&!_0x1a7ab2['value']||this['fire']('setName',{'id':this['id'],'name':_0x1a7ab2['value']}),_0x1a7ab2['value']||(_0x1a7ab2['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(_0x321897,_0x54d6b8){const _0x24df80=_0x252aa3['fromJSDate'](_0x321897)['setLocale'](_0x54d6b8),_0xe2170f=_0x252aa3['local'](),_0x40da48=_0xe2170f['minus']({'days':0x1})['startOf']('day');let _0x5d485e,_0x1db8b0;return _0x24df80['hasSame'](_0xe2170f,'day')?(_0x5d485e=_0x24df80['startOf']('day')['toJSDate'](),_0x1db8b0=_0x24df80['toRelativeCalendar']()):_0x24df80['hasSame'](_0x40da48,'day')?(_0x5d485e=_0x40da48['toJSDate'](),_0x1db8b0=_0x24df80['toRelativeCalendar']()):_0x24df80['hasSame'](_0xe2170f,'week')?(_0x5d485e=_0x24df80['startOf']('week')['toJSDate'](),_0x1db8b0=_0x24df80['weekdayLong']||''):_0x24df80['hasSame'](_0xe2170f,'year')?(_0x5d485e=_0x24df80['startOf']('month')['toJSDate'](),_0x1db8b0=_0x24df80['monthLong']||''):(_0x5d485e=_0x24df80['startOf']('year')['toJSDate'](),_0x1db8b0=String(_0x24df80['year'])),{'startDate':_0x5d485e,'localizedPeriodName':_0x1db8b0};}class mi extends _0x1f4a45{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x238396,_0x4a5b29,_0x4ca2d5,_0x25c68e){super(_0x238396);const _0x11a85f=di(_0x4a5b29,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4a5b29,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x4ca2d5,this['_requireRevisionName']=_0x25c68e,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':_0x11a85f}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x5be3d6){const _0x4bc2b7=new ai(this['locale'],_0x5be3d6,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4bc2b7);}['removeRevision'](_0x4fadca){const _0x569d12=this['revisionViews']['find'](_0x5b6583=>_0x5b6583['id']===_0x4fadca['id']);this['revisionViews']['remove'](_0x569d12);}}class as extends _0x1f4a45{constructor(_0x5a7d59){super(_0x5a7d59);const _0x23259e=new _0x2fe791();_0x23259e['content']=_0x144dbc['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x23259e,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x5a7d59,'Revision\x20history')]}]});}}class ci extends _0x1f4a45{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xaf290d,_0x5b1fd2,_0x54c2ef,_0x32e664){super(_0xaf290d);const _0x1084b0=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5b1fd2,this['_revisionActions']=_0x54c2ef,this['_requireRevisionName']=_0x32e664,this['on']('select',(_0x4be4d5,_0x14f410)=>{this['fire']('revisionSelected',_0x14f410);}),this['on']('setName',(_0x277298,_0x111de2)=>{this['fire']('revisionSetName',_0x111de2);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0xaf290d),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1084b0['if']('isEnabled','ck-disabled',_0x11d7d9=>!_0x11d7d9)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x408855 of this['_revisions'])this['_addRevision'](_0x408855);this['_revisions']['on']('add',(_0x58e358,_0x22bab8)=>{this['_addRevision'](_0x22bab8);}),this['_revisions']['on']('remove',(_0x4e8c39,_0x1c26fb)=>{this['_removeRevision'](_0x1c26fb);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x39e98e=>_0x39e98e['revisionViews']['map'](_0x1b4484=>_0x1b4484))['flat']();}['selectRevision'](_0x2f4465){for(const _0x28afc8 of this['revisionViews'])_0x2f4465&&_0x2f4465['id']===_0x28afc8['id']?_0x28afc8['select']():_0x28afc8['deselect']();}['highlightRevisions'](_0x2b8a4c){for(const _0x42e50e of this['revisionViews'])_0x2b8a4c['some'](({id:_0x1cdedc})=>_0x1cdedc===_0x42e50e['id'])?_0x42e50e['highlight']():_0x42e50e['unhighlight']();}['_addRevision'](_0xcebc01){const _0xcd5f11=di(_0xcebc01['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1c4eb6=this['timePeriodViews']['get'](0x0);_0x1c4eb6&&_0x1c4eb6['startDate']['getTime']()===_0xcd5f11['getTime']()||(_0x1c4eb6=new mi(this['locale'],_0xcd5f11,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1c4eb6)),_0x1c4eb6['addRevision'](_0xcebc01);}['_removeRevision'](_0x5e9061){const _0x1a54ef=di(_0x5e9061['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x1a54ef)['removeRevision'](_0x5e9061);}['_getTimePeriodViewByStartDate'](_0x4dcede){return this['timePeriodViews']['find'](_0x226234=>_0x226234['startDate']['getTime']()===_0x4dcede['getTime']());}}class w extends _0x3603a7{['_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(_0x42c346){super(_0x42c346),this['_revisionViewer']=_0x42c346['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x2e6be5=this['_revisionsRepository']['_revisions'],_0x5d5fe5=this['_createRevisionActions'](),_0x5a141a=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x2e6be5,_0x5d5fe5,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',(_0x28ff41,_0x526afe)=>{_0x526afe['revisionViews']['on']('add',(_0x54aa94,_0x1c4963)=>{_0x1c4963['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)),_0x5a141a['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x269740=this['_revisionsRepository']['getRevision'](0x0);if(_0x269740){const _0x3d6865=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x269740['id']);this['_revisionViewer']['compare'](_0x269740,_0x3d6865);}}['_handleRevisionSelected'](_0x4053d6,_0x486091){const _0x29cc07=this['_revisionsRepository']['getRevision'](_0x486091['id']),_0x362216=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x29cc07['id']);this['_revisionViewer']['compare'](_0x29cc07,_0x362216);}['_handleRevisionSetName'](_0x45de8b,_0x9f1157){this['_revisionsRepository']['getRevision'](_0x9f1157['id'])['setName'](_0x9f1157['name']);}['_handleDiffChange'](_0x2b5adf,_0x398ea6,_0x3abd2e){const _0x1ca117=this['_revisionsRepository']['getRevisionsInDiff'](_0x3abd2e);_0x1ca117['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x1ca117),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x1ca117[0x0]));}['_createRevisionActions'](){const _0x5743d5=this['editor'],_0x4e0b04=w['availableRevisionActions'],_0x2cb133=_0x5743d5['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x2cb133['length'])return _0x2cb133['map'](_0x230bef=>{const _0x21b77d='string'==typeof _0x230bef?Object['assign']({},_0x4e0b04[_0x230bef]):_0x230bef;return _0x21b77d['action']=_0x21b77d['action']['bind'](this,_0x5743d5),_0x21b77d['isVisible']&&(_0x21b77d['isVisible']=_0x21b77d['isVisible']['bind'](this,_0x5743d5)),_0x21b77d;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x15eb74},_0x1bd992)=>{const _0x14b100=_0x15eb74['get'](d),_0x4733ff=_0x14b100['repository'];let _0x393937=_0x14b100['diff']['newRevisionId'],_0xb3c781=_0x1bd992['id'];_0x4733ff['getIndex'](_0x393937)>_0x4733ff['getIndex'](_0xb3c781)&&([_0x393937,_0xb3c781]=[_0xb3c781,_0x393937]),_0x14b100['compare'](_0x393937,_0xb3c781);},'isVisible':({plugins:_0x3225e0},_0x4e502d)=>{const _0x4e60da=_0x3225e0['get'](d);return!(_0x4e60da['repository']['getRevisionsInDiff'](_0x4e60da['diff'])['length']>0x2)&&!_0x4e502d['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x325a11,{id:_0x9c000a})=>{_0x325a11['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x9c000a);},'isVisible':({plugins:_0x2efc6c},_0x305e54)=>!!_0x2efc6c['get'](d)['repository']['getLaterVisibleRevision'](_0x305e54['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x1fb207},{id:_0xbfb555,revisionNameView:_0x2c0a11})=>{const _0x33d242=_0x1fb207['get'](d),_0x31fac3=_0x33d242['repository']['getEarlierVisibleRevision'](_0xbfb555);_0x33d242['compare'](_0xbfb555,_0x31fac3),_0x2c0a11['focus'](),_0x2c0a11['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x153cda,_0x14957c){super(_0x153cda),this['_view']=_0x14957c,this['_toolbarConfig']=ct(_0x153cda['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x1982b9){const _0x5d7c02=this['editor'],_0x51bbcd=this['view'],_0xa1947e=_0x5d7c02['editing']['view'],_0x24b1ef=_0x51bbcd['editable'],_0x191cce=_0xa1947e['document']['getRoot']();_0x24b1ef['name']=_0x191cce['rootName'],_0x51bbcd['render']();const _0x5d4785=_0x24b1ef['element'];this['setEditableElement'](_0x24b1ef['name'],_0x5d4785),_0x51bbcd['editable']['bind']('isFocused')['to'](this['focusTracker']),_0xa1947e['attachDomRoot'](_0x5d4785),this['_elementReplacer']['replace'](_0x1982b9,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x525e5f=this['view'],_0x48dcbd=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x48dcbd['detachDomRoot'](_0x525e5f['editable']['name']),_0x525e5f['destroy']();}['_initToolbar'](){const _0x22987e=this['view'];_0x22987e['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x22987e['stickyPanel']['limiterElement']=_0x22987e['element'],_0x22987e['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x33d333})=>_0x33d333),_0x22987e['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x22987e['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x17a41d,_0x9bea3f,_0x51746d={}){super(_0x17a41d),this['stickyPanel']=new lt(_0x17a41d),this['toolbar']=new pt(_0x17a41d,{'shouldGroupWhenFull':_0x51746d['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x17a41d,_0x9bea3f);}['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(_0x106c69,_0x5f024c){super(_0x5f024c),this['sourceElement']=_0x106c69,this['model']['document']['createRoot']();const _0x58f6e0=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x58f6e0);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x169049,_0x20e58d){const _0x378615=new this(_0x169049,_0x20e58d);return await _0x378615['initPlugins'](),await _0x378615['ui']['init'](_0x169049),await _0x378615['data']['init'](_0x378615['config']['get']('initialData')||''),_0x378615['fire']('ready'),_0x378615;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x5be8fc{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x460b67){super(_0x460b67),this['result']='end';}}class H extends _0x5be8fc{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x57097f){if(super(_0x57097f),!this['editor']['config']['get']('revisionHistory'))throw new _0x14b05c('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x1903b4=>this['_showRevisionViewer']({..._0x1903b4,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1bb127=>this['_closeRevisionViewer'](_0x1bb127)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x3f1f52=>this['_restoreRevision'](_0x3f1f52)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x1625d7){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x1625d7;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x3e98ba){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x3e98ba);}['getRevision'](_0x5c4dfd){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x5c4dfd);}['getRevisions'](_0x3409d7){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3409d7||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x403fc5=this['editor'],_0x11da46=_0x484f66(_0x403fc5,p),_0x2e94fb=_0x403fc5['plugins']['get']('RevisionTracker'),_0x1a2c3b=_0x403fc5['plugins']['get']('Users')['users'];return _0x11da46['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x11da46['lazyRoots'],(_0x11da46['plugins']['push'](k,d,R,class extends _0x5be8fc{static get['requires'](){return[d,'Users'];}['init'](){const _0xf51492=this['editor']['plugins']['get']('Users');for(const _0x30d9af of _0x1a2c3b)_0x30d9af['isAnonymous']||_0xf51492['getUser'](_0x30d9af['id'])||_0xf51492['addUser'](_0x30d9af);const _0xa56569=_0x2e94fb['repository']['getRevisions']();let _0x253f47=null;const _0x4c01da=this['editor']['plugins']['get']('RevisionViewer');_0x4c01da['adapter']=_0x2e94fb['adapter'],_0x4c01da['bind']('isEnabled')['to'](_0x2e94fb),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x403fc5,'isReadOnly',_0x161e62=>!_0x161e62);for(const _0x3cd964 of _0xa56569){const _0x3d4b1a=null===_0x3cd964['creator'];if(_0x3d4b1a&&_0x3cd964['toVersion']===_0x3cd964['fromVersion'])continue;const _0x25913c=_0x3cd964['toJSON']();_0x4c01da['addRevisionData'](_0x25913c,(_0x36a949,_0x42de92,_0x4d7ad2)=>{if(_0x3d4b1a){if(_0x253f47)_0x253f47['_update'](_0x36a949,_0x42de92);else{if(!_0x42de92){const _0xfe983d=_0x4d7ad2['toJSON']();_0xfe983d['id']=_0x2b22ca(),_0x2e94fb['saveRevision'](_0xfe983d,_0x4d7ad2['toVersion'])['then'](_0x53ddc7=>{_0x253f47=_0x53ddc7;});}}}else _0x3cd964['_update'](_0x36a949,_0x42de92);});}}},w),_0x11da46);}['_enhanceShowRevisionViewerCallback'](){const _0x115b1d=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x29d521=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x382dec=this['editor']['plugins']['get']('Autosave');await _0x382dec['save']();}else await _0x29d521['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x5300f7=this['editor']['plugins']['get']('Dialog');_0x5300f7['isOpen']&&_0x5300f7['hide']();}const _0x1353b3=this['_getRevisionViewerEditorConfig']();return _0x115b1d(_0x1353b3)['then'](_0x5a2473=>{return(this['_viewerEditor']=_0x5a2473,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5a2473;})['catch'](_0x434510=>(console['error'](_0x434510),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x43f0dc=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'](),_0x43f0dc(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2acf0b=this['editor']['plugins']['get']('Annotations');_0x2acf0b['refreshVisibility'](),_0x2acf0b['refreshPositioning']();}})));}['_showRevisionViewer'](_0x25844e){const _0x117fdd=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x432c34=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x5dd79f=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x5dd79f,_0x25844e)['then'](_0x5f2e24=>(_0x432c34['style']['display']='block',_0x117fdd['style']['display']='none',_0x5f2e24));}['_closeRevisionViewer'](_0x18d996){const _0x57417c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x57417c['style']['display']='',_0x18d996['destroy']();}async['_restoreRevision'](_0x1e05ac){const _0xe2c506=this['editor'],_0x477b80=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x24eaf1=_0xe2c506['plugins']['get']('RevisionTracker'),_0x20f556=_0x477b80['repository']['getRevision'](_0x1e05ac);let _0x780a13,_0x597298,_0x752759;try{_0x780a13=await _0x477b80['getRevisionData'](_0x20f556),_0x597298=await _0x477b80['getRevisionRootsAttributes'](_0x20f556);}catch(_0x4bf94c){return void console['error'](_0x4bf94c);}_0xe2c506['model']['change'](_0xf9c6d8=>{for(const _0x477160 of Array['from'](_0xe2c506['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0xf9c6d8['removeMarker'](_0x477160);}),_0x477b80['isReady']=!0x1,_0xe2c506['model']['enqueueChange'](_0x219e5f=>{_0x219e5f['setSelection'](null),_0x219e5f['removeSelectionAttribute'](_0xe2c506['model']['document']['selection']['getAttributeKeys']());const _0x2e21fc=Object['keys'](_0x780a13);for(const _0x58fb52 of _0xe2c506['model']['document']['roots'])'$graveyard'!=_0x58fb52['rootName']&&_0x58fb52['isAttached']()&&!_0x2e21fc['includes'](_0x58fb52['rootName'])&&_0x219e5f['detachRoot'](_0x58fb52);for(const _0x4a8785 of _0x2e21fc){let _0x6b225e=_0xe2c506['model']['document']['getRoot'](_0x4a8785);_0x6b225e&&_0x6b225e['isAttached']()||(_0x6b225e=_0x219e5f['addRoot'](_0x4a8785));const _0xa5f951=_0x597298[_0x4a8785],_0x56a01f=Object['keys'](_0xa5f951),_0x32ccb0=_0x780a13[_0x4a8785];for(const _0x59ac10 of _0x6b225e['getAttributeKeys']())_0x56a01f['includes'](_0x59ac10)||_0x219e5f['removeAttribute'](_0x59ac10,_0x6b225e);for(const _0x8fafeb of _0x56a01f)_0x219e5f['setAttribute'](_0x8fafeb,_0x597298[_0x4a8785][_0x8fafeb],_0x6b225e);_0x219e5f['remove'](_0x219e5f['createRangeIn'](_0x6b225e)),_0x219e5f['insert'](_0xe2c506['data']['parse'](_0x32ccb0,_0x6b225e),_0x6b225e,0x0);}});const _0x260a9e=y(_0xe2c506['locale'],'Restored');if(_0x20f556['name'])_0x752759=-0x1==_0x20f556['name']['indexOf'](_0x260a9e)?_0x260a9e+':\x20'+_0x20f556['name']:_0x20f556['name'];else _0x752759=_0x260a9e+':\x20'+(_0x20f556['createdAt']['toLocaleDateString'](_0xe2c506['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x20f556['createdAt']['toLocaleTimeString'](_0xe2c506['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x24eaf1['saveRevision']({'name':_0x752759}),_0x477b80['isReady']=!0x0,_0xe2c506['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(_0x307d8c){super(_0x307d8c),this['_revisionViewer']=_0x307d8c['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x7ccb38=this['_revisionsRepository']['_revisions'],_0x495f10=this['_createRevisionActions'](),_0xa28064=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x7ccb38,_0x495f10,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',(_0xa6267a,_0x45fa55)=>{_0x45fa55['revisionViews']['on']('add',(_0x1323bf,_0x45706b)=>{_0x45706b['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)),_0xa28064['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x6bd6e5=this['_revisionsRepository']['getRevision'](0x0);if(_0x6bd6e5){const _0x8ed354=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x6bd6e5['id']);this['_revisionViewer']['compare'](_0x6bd6e5,_0x8ed354);}}['_handleRevisionSelected'](_0x2d0b9d,_0xf2257f){const _0x48b7bb=this['_revisionsRepository']['getRevision'](_0xf2257f['id']),_0x20ad26=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x48b7bb['id']);this['_revisionViewer']['compare'](_0x48b7bb,_0x20ad26);}['_handleRevisionSetName'](_0x5396b2,_0xa4e3ae){this['_revisionsRepository']['getRevision'](_0xa4e3ae['id'])['setName'](_0xa4e3ae['name']);}['_handleDiffChange'](_0x9523d9,_0x4dd14b,_0x1c240f){const _0x56e74e=this['_revisionsRepository']['getRevisionsInDiff'](_0x1c240f);_0x56e74e['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x56e74e),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x56e74e[0x0]));}['_createRevisionActions'](){const _0x4dc9d8=this['editor'],_0x2e996f=w['availableRevisionActions'],_0x5c1849=_0x4dc9d8['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x5c1849['length'])return _0x5c1849['map'](_0x333960=>{const _0x1ce9a5='string'==typeof _0x333960?Object['assign']({},_0x2e996f[_0x333960]):_0x333960;return _0x1ce9a5['action']=_0x1ce9a5['action']['bind'](this,_0x4dc9d8),_0x1ce9a5['isVisible']&&(_0x1ce9a5['isVisible']=_0x1ce9a5['isVisible']['bind'](this,_0x4dc9d8)),_0x1ce9a5;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x43da9c},_0x57b589)=>{const _0x547ab5=_0x43da9c['get'](d),_0x2019e2=_0x547ab5['repository'];let _0x39cfe1=_0x547ab5['diff']['newRevisionId'],_0x50578c=_0x57b589['id'];_0x2019e2['getIndex'](_0x39cfe1)>_0x2019e2['getIndex'](_0x50578c)&&([_0x39cfe1,_0x50578c]=[_0x50578c,_0x39cfe1]),_0x547ab5['compare'](_0x39cfe1,_0x50578c);},'isVisible':({plugins:_0x300dce},_0x4bd9b9)=>{const _0x11da76=_0x300dce['get'](d);return!(_0x11da76['repository']['getRevisionsInDiff'](_0x11da76['diff'])['length']>0x2)&&!_0x4bd9b9['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x561391,{id:_0x2e27df})=>{_0x561391['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x2e27df);},'isVisible':({plugins:_0x1d840a},_0x24d810)=>!!_0x1d840a['get'](d)['repository']['getLaterVisibleRevision'](_0x24d810['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x47b232},{id:_0x238b5f,revisionNameView:_0x1c318a})=>{const _0x4d4c55=_0x47b232['get'](d),_0x2e75df=_0x4d4c55['repository']['getEarlierVisibleRevision'](_0x238b5f);_0x4d4c55['compare'](_0x238b5f,_0x2e75df),_0x1c318a['focus'](),_0x1c318a['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x2ac814,_0x30a44c){super(_0x2ac814),this['_view']=_0x30a44c,this['_toolbarConfig']=ct(_0x2ac814['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x4aa71c){const _0x771924=this['editor'],_0x18c389=this['view'],_0x2321c2=_0x771924['editing']['view'],_0x203c41=_0x18c389['editable'],_0x3462cf=_0x2321c2['document']['getRoot']();_0x203c41['name']=_0x3462cf['rootName'],_0x18c389['render']();const _0x34b49f=_0x203c41['element'];this['setEditableElement'](_0x203c41['name'],_0x34b49f),_0x18c389['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x2321c2['attachDomRoot'](_0x34b49f),this['_elementReplacer']['replace'](_0x4aa71c,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x123225=this['view'],_0x121712=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x121712['detachDomRoot'](_0x123225['editable']['name']),_0x123225['destroy']();}['_initToolbar'](){const _0x212500=this['view'];_0x212500['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x212500['stickyPanel']['limiterElement']=_0x212500['element'],_0x212500['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x560489})=>_0x560489),_0x212500['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x212500['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x4382a2,_0x98d44d,_0xebf9b7={}){super(_0x4382a2),this['stickyPanel']=new lt(_0x4382a2),this['toolbar']=new pt(_0x4382a2,{'shouldGroupWhenFull':_0xebf9b7['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x4382a2,_0x98d44d);}['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(_0x462f0e,_0x2b104c){super(_0x2b104c),this['sourceElement']=_0x462f0e,this['model']['document']['createRoot']();const _0x33ba52=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x33ba52);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x2039fc,_0x38a422){const _0x236c61=new this(_0x2039fc,_0x38a422);return await _0x236c61['initPlugins'](),await _0x236c61['ui']['init'](_0x2039fc),await _0x236c61['data']['init'](_0x236c61['config']['get']('initialData')||''),_0x236c61['fire']('ready'),_0x236c61;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x3603a7{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x44ab0c){super(_0x44ab0c),this['result']='end';}}class H extends _0x3603a7{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x3f4993){if(super(_0x3f4993),!this['editor']['config']['get']('revisionHistory'))throw new _0x2c7bd3('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x574887=>this['_showRevisionViewer']({..._0x574887,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x9d718c=>this['_closeRevisionViewer'](_0x9d718c)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x362c15=>this['_restoreRevision'](_0x362c15)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x40c571){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x40c571;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x5c8c25){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x5c8c25);}['getRevision'](_0x3e3a11){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x3e3a11);}['getRevisions'](_0x54b906){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x54b906||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5b857b=this['editor'],_0x3a4f4e=_0x3094b8(_0x5b857b,p),_0x39f6a7=_0x5b857b['plugins']['get']('RevisionTracker'),_0x5ced74=_0x5b857b['plugins']['get']('Users')['users'];return _0x3a4f4e['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3a4f4e['lazyRoots'],(_0x3a4f4e['plugins']['push'](k,d,R,class extends _0x3603a7{static get['requires'](){return[d,'Users'];}['init'](){const _0x4589b3=this['editor']['plugins']['get']('Users');for(const _0x33c5e5 of _0x5ced74)_0x33c5e5['isAnonymous']||_0x4589b3['getUser'](_0x33c5e5['id'])||_0x4589b3['addUser'](_0x33c5e5);const _0x258e61=_0x39f6a7['repository']['getRevisions']();let _0xb9c625=null;const _0x3ac92b=this['editor']['plugins']['get']('RevisionViewer');_0x3ac92b['adapter']=_0x39f6a7['adapter'],_0x3ac92b['bind']('isEnabled')['to'](_0x39f6a7),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5b857b,'isReadOnly',_0x205655=>!_0x205655);for(const _0x5c89eb of _0x258e61){const _0x143f1f=null===_0x5c89eb['creator'];if(_0x143f1f&&_0x5c89eb['toVersion']===_0x5c89eb['fromVersion'])continue;const _0x5c496a=_0x5c89eb['toJSON']();_0x3ac92b['addRevisionData'](_0x5c496a,(_0x4d9741,_0x380d79,_0x35bce9)=>{if(_0x143f1f){if(_0xb9c625)_0xb9c625['_update'](_0x4d9741,_0x380d79);else{if(!_0x380d79){const _0xcab3bd=_0x35bce9['toJSON']();_0xcab3bd['id']=_0xf0312f(),_0x39f6a7['saveRevision'](_0xcab3bd,_0x35bce9['toVersion'])['then'](_0x5978eb=>{_0xb9c625=_0x5978eb;});}}}else _0x5c89eb['_update'](_0x4d9741,_0x380d79);});}}},w),_0x3a4f4e);}['_enhanceShowRevisionViewerCallback'](){const _0x49dac0=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x51824d=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x110a8f=this['editor']['plugins']['get']('Autosave');await _0x110a8f['save']();}else await _0x51824d['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0xf4f4d1=this['editor']['plugins']['get']('Dialog');_0xf4f4d1['isOpen']&&_0xf4f4d1['hide']();}const _0x135c84=this['_getRevisionViewerEditorConfig']();return _0x49dac0(_0x135c84)['then'](_0x5305c1=>{return(this['_viewerEditor']=_0x5305c1,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x5305c1;})['catch'](_0x467843=>(console['error'](_0x467843),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3c239e=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'](),_0x3c239e(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x48ed3a=this['editor']['plugins']['get']('Annotations');_0x48ed3a['refreshVisibility'](),_0x48ed3a['refreshPositioning']();}})));}['_showRevisionViewer'](_0x3664b0){const _0x5cc059=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x304985=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x262556=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x262556,_0x3664b0)['then'](_0x530ff8=>(_0x304985['style']['display']='block',_0x5cc059['style']['display']='none',_0x530ff8));}['_closeRevisionViewer'](_0x3b4151){const _0x1c5174=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1c5174['style']['display']='',_0x3b4151['destroy']();}async['_restoreRevision'](_0x5c2fa8){const _0x138375=this['editor'],_0x3f0a79=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x4c581f=_0x138375['plugins']['get']('RevisionTracker'),_0x1a577e=_0x3f0a79['repository']['getRevision'](_0x5c2fa8);let _0x436e34,_0x23524f,_0x188abb;try{_0x436e34=await _0x3f0a79['getRevisionData'](_0x1a577e),_0x23524f=await _0x3f0a79['getRevisionRootsAttributes'](_0x1a577e);}catch(_0x106b6a){return void console['error'](_0x106b6a);}_0x138375['model']['change'](_0x4f3293=>{for(const _0x39357c of Array['from'](_0x138375['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4f3293['removeMarker'](_0x39357c);}),_0x3f0a79['isReady']=!0x1,_0x138375['model']['enqueueChange'](_0x407e3f=>{_0x407e3f['setSelection'](null),_0x407e3f['removeSelectionAttribute'](_0x138375['model']['document']['selection']['getAttributeKeys']());const _0x5d60af=Object['keys'](_0x436e34);for(const _0x3c5ed8 of _0x138375['model']['document']['roots'])'$graveyard'!=_0x3c5ed8['rootName']&&_0x3c5ed8['isAttached']()&&!_0x5d60af['includes'](_0x3c5ed8['rootName'])&&_0x407e3f['detachRoot'](_0x3c5ed8);for(const _0x200671 of _0x5d60af){let _0xa86e61=_0x138375['model']['document']['getRoot'](_0x200671);_0xa86e61&&_0xa86e61['isAttached']()||(_0xa86e61=_0x407e3f['addRoot'](_0x200671));const _0x7399ef=_0x23524f[_0x200671],_0x57944e=Object['keys'](_0x7399ef),_0x487b82=_0x436e34[_0x200671];for(const _0x554b7 of _0xa86e61['getAttributeKeys']())_0x57944e['includes'](_0x554b7)||_0x407e3f['removeAttribute'](_0x554b7,_0xa86e61);for(const _0x34d55e of _0x57944e)_0x407e3f['setAttribute'](_0x34d55e,_0x23524f[_0x200671][_0x34d55e],_0xa86e61);_0x407e3f['remove'](_0x407e3f['createRangeIn'](_0xa86e61)),_0x407e3f['insert'](_0x138375['data']['parse'](_0x487b82,_0xa86e61),_0xa86e61,0x0);}});const _0x23654c=y(_0x138375['locale'],'Restored');if(_0x1a577e['name'])_0x188abb=-0x1==_0x1a577e['name']['indexOf'](_0x23654c)?_0x23654c+':\x20'+_0x1a577e['name']:_0x1a577e['name'];else _0x188abb=_0x23654c+':\x20'+(_0x1a577e['createdAt']['toLocaleDateString'](_0x138375['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x1a577e['createdAt']['toLocaleTimeString'](_0x138375['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x4c581f['saveRevision']({'name':_0x188abb}),_0x3f0a79['isReady']=!0x0,_0x138375['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};