@ckeditor/ckeditor5-revision-history 0.0.0-nightly-20240602.0 → 0.0.0-nightly-20240604.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 (157) hide show
  1. package/README.md +0 -6
  2. package/build/revision-history.js +1 -1
  3. package/dist/index.js +1 -7
  4. package/dist/translations/af.js +1 -1
  5. package/dist/translations/af.umd.js +1 -1
  6. package/dist/translations/ar.js +1 -1
  7. package/dist/translations/ar.umd.js +1 -1
  8. package/dist/translations/az.js +1 -1
  9. package/dist/translations/az.umd.js +1 -1
  10. package/dist/translations/bg.js +1 -1
  11. package/dist/translations/bg.umd.js +1 -1
  12. package/dist/translations/bn.js +1 -1
  13. package/dist/translations/bn.umd.js +1 -1
  14. package/dist/translations/bs.js +1 -1
  15. package/dist/translations/bs.umd.js +1 -1
  16. package/dist/translations/ca.js +1 -1
  17. package/dist/translations/ca.umd.js +1 -1
  18. package/dist/translations/cs.js +1 -1
  19. package/dist/translations/cs.umd.js +1 -1
  20. package/dist/translations/da.js +1 -1
  21. package/dist/translations/da.umd.js +1 -1
  22. package/dist/translations/de-ch.js +1 -1
  23. package/dist/translations/de-ch.umd.js +1 -1
  24. package/dist/translations/de.js +1 -1
  25. package/dist/translations/de.umd.js +1 -1
  26. package/dist/translations/el.js +1 -1
  27. package/dist/translations/el.umd.js +1 -1
  28. package/dist/translations/en-au.js +1 -1
  29. package/dist/translations/en-au.umd.js +1 -1
  30. package/dist/translations/en-gb.js +1 -1
  31. package/dist/translations/en-gb.umd.js +1 -1
  32. package/dist/translations/en.umd.js +1 -1
  33. package/dist/translations/es-co.js +1 -1
  34. package/dist/translations/es-co.umd.js +1 -1
  35. package/dist/translations/es.js +1 -1
  36. package/dist/translations/es.umd.js +1 -1
  37. package/dist/translations/et.js +1 -1
  38. package/dist/translations/et.umd.js +1 -1
  39. package/dist/translations/fa.js +1 -1
  40. package/dist/translations/fa.umd.js +1 -1
  41. package/dist/translations/fi.js +1 -1
  42. package/dist/translations/fi.umd.js +1 -1
  43. package/dist/translations/fr.js +1 -1
  44. package/dist/translations/fr.umd.js +1 -1
  45. package/dist/translations/gl.js +1 -1
  46. package/dist/translations/gl.umd.js +1 -1
  47. package/dist/translations/he.js +1 -1
  48. package/dist/translations/he.umd.js +1 -1
  49. package/dist/translations/hi.js +1 -1
  50. package/dist/translations/hi.umd.js +1 -1
  51. package/dist/translations/hr.js +1 -1
  52. package/dist/translations/hr.umd.js +1 -1
  53. package/dist/translations/hu.js +1 -1
  54. package/dist/translations/hu.umd.js +1 -1
  55. package/dist/translations/id.js +1 -1
  56. package/dist/translations/id.umd.js +1 -1
  57. package/dist/translations/it.js +1 -1
  58. package/dist/translations/it.umd.js +1 -1
  59. package/dist/translations/ja.js +1 -1
  60. package/dist/translations/ja.umd.js +1 -1
  61. package/dist/translations/jv.js +1 -1
  62. package/dist/translations/jv.umd.js +1 -1
  63. package/dist/translations/ko.js +1 -1
  64. package/dist/translations/ko.umd.js +1 -1
  65. package/dist/translations/ku.js +1 -1
  66. package/dist/translations/ku.umd.js +1 -1
  67. package/dist/translations/lt.js +1 -1
  68. package/dist/translations/lt.umd.js +1 -1
  69. package/dist/translations/lv.js +1 -1
  70. package/dist/translations/lv.umd.js +1 -1
  71. package/dist/translations/ms.js +1 -1
  72. package/dist/translations/ms.umd.js +1 -1
  73. package/dist/translations/ne.js +1 -1
  74. package/dist/translations/ne.umd.js +1 -1
  75. package/dist/translations/nl.js +1 -1
  76. package/dist/translations/nl.umd.js +1 -1
  77. package/dist/translations/no.js +1 -1
  78. package/dist/translations/no.umd.js +1 -1
  79. package/dist/translations/pl.js +1 -1
  80. package/dist/translations/pl.umd.js +1 -1
  81. package/dist/translations/pt-br.js +1 -1
  82. package/dist/translations/pt-br.umd.js +1 -1
  83. package/dist/translations/pt.js +1 -1
  84. package/dist/translations/pt.umd.js +1 -1
  85. package/dist/translations/ro.js +1 -1
  86. package/dist/translations/ro.umd.js +1 -1
  87. package/dist/translations/ru.js +1 -1
  88. package/dist/translations/ru.umd.js +1 -1
  89. package/dist/translations/sk.js +1 -1
  90. package/dist/translations/sk.umd.js +1 -1
  91. package/dist/translations/sr-latn.js +1 -1
  92. package/dist/translations/sr-latn.umd.js +1 -1
  93. package/dist/translations/sr.js +1 -1
  94. package/dist/translations/sr.umd.js +1 -1
  95. package/dist/translations/sv.js +1 -1
  96. package/dist/translations/sv.umd.js +1 -1
  97. package/dist/translations/th.js +1 -1
  98. package/dist/translations/th.umd.js +1 -1
  99. package/dist/translations/ti.js +1 -1
  100. package/dist/translations/ti.umd.js +1 -1
  101. package/dist/translations/tk.js +1 -1
  102. package/dist/translations/tk.umd.js +1 -1
  103. package/dist/translations/tr.js +1 -1
  104. package/dist/translations/tr.umd.js +1 -1
  105. package/dist/translations/tt.js +1 -1
  106. package/dist/translations/tt.umd.js +1 -1
  107. package/dist/translations/ug.js +1 -1
  108. package/dist/translations/ug.umd.js +1 -1
  109. package/dist/translations/uk.js +1 -1
  110. package/dist/translations/uk.umd.js +1 -1
  111. package/dist/translations/ur.js +1 -1
  112. package/dist/translations/ur.umd.js +1 -1
  113. package/dist/translations/vi.js +1 -1
  114. package/dist/translations/vi.umd.js +1 -1
  115. package/dist/translations/zh-cn.js +1 -1
  116. package/dist/translations/zh-cn.umd.js +1 -1
  117. package/dist/translations/zh.js +1 -1
  118. package/dist/translations/zh.umd.js +1 -1
  119. package/dist/types/changeitem.d.ts +1 -1
  120. package/dist/types/editor/revisionviewereditor.d.ts +1 -1
  121. package/dist/types/revision.d.ts +1 -1
  122. package/dist/types/ui/revision/revisionview.d.ts +1 -1
  123. package/package.json +5 -5
  124. package/src/changeitem.d.ts +1 -1
  125. package/src/changeitem.js +1 -2
  126. package/src/editor/revisionviewereditor.d.ts +1 -1
  127. package/src/editor/revisionviewereditor.js +1 -2
  128. package/src/editor/revisionviewereditorui.js +1 -1
  129. package/src/editor/revisionviewereditoruiview.js +1 -1
  130. package/src/index.js +1 -1
  131. package/src/revision.d.ts +1 -1
  132. package/src/revision.js +1 -2
  133. package/src/revisiondiff.js +1 -1
  134. package/src/revisionhistory.js +1 -1
  135. package/src/revisionsrepository.js +1 -1
  136. package/src/revisiontracker.js +1 -1
  137. package/src/revisionviewer.js +1 -1
  138. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  139. package/src/ui/revision/revisionauthorview.js +1 -1
  140. package/src/ui/revision/revisionnameview.js +1 -1
  141. package/src/ui/revision/revisionview.d.ts +1 -1
  142. package/src/ui/revision/revisionview.js +1 -2
  143. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  144. package/src/ui/revision/subrevisionview.js +1 -1
  145. package/src/ui/revision/utils.js +1 -1
  146. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  147. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  148. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  149. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  150. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  151. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  152. package/src/ui/revisionssidebar/utils.js +1 -1
  153. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  154. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  155. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  156. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  157. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x120911,Context as _0x59748f,PendingActions as _0x356550,icons as _0x1e49c1,Command as _0x7c94f7,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x26e386,uid as _0x3b07d1,Collection as _0x573400,logWarning as _0xf7577a,FocusTracker as _0x534d14,KeystrokeHandler as _0x2117c5,scrollViewportToShowTarget as _0x13c363,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x10312b}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x3e4ba6,getMarkerDomElement as _0x486d4c,ConfirmMixin as _0x1f9726,sanitizeEditorConfig as _0x22fc0e}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x319d91,ViewText as _0x2a64f1,ViewElement as _0x145ccd,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x39e07a,ViewAttributeElement as _0x2e9afc,ViewEmptyElement as _0x384b08,ViewRawElement as _0xe96e5f,ViewUIElement as _0x2701b9,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x399b37,set as _0x29589a,unset as _0x43a2b0,isEqual as _0x41db4f}from'lodash-es';import{View as _0x337b5c,injectCssTransitionDisabler as ts,submitHandler as _0x581eb8,LabeledFieldView as at,createLabeledInputText as _0x41d133,createDropdown as _0x4f223e,ListView as te,ListItemView as _0xc4e58e,ButtonView as _0x33865b,MenuBarMenuView as _0x34e15b,MenuBarMenuListView as _0x3d3d58,MenuBarMenuListItemView as _0x22d49a,MenuBarMenuListItemButtonView as _0x38c537,ContextualBalloon as _0x57cb61,ToolbarSeparatorView as _0x5648dc,IconView as _0x3031f3,addListToDropdown as _0x1e7107,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 _0x129827}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x26e386(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x4fe8e5){super(),this['id']=_0x4fe8e5['id']||_0x3b07d1(),this['creator']=_0x4fe8e5['creator']||null,this['authors']=_0x4fe8e5['authors']||[],this['diffData']=_0x4fe8e5['diffData']||null,this['toVersion']=_0x4fe8e5['toVersion']||0x0,this['fromVersion']=_0x4fe8e5['fromVersion']||0x0,this['set']('name',_0x4fe8e5['name']||''),this['set']('createdAt',_0x4fe8e5['createdAt']||new Date()),this['set']('attributes',_0x4fe8e5['attributes']||{});}['setName'](_0x428af9){this['_update']({'name':_0x428af9});}['setAttribute'](_0x4904e3,_0x1d30be){const _0x4a964e=_0x399b37(this['attributes']);_0x29589a(_0x4a964e,_0x4904e3,_0x1d30be),this['_update']({'attributes':_0x4a964e});}['removeAttribute'](_0x5cc41c){const _0x483a81=_0x399b37(this['attributes']);_0x43a2b0(_0x483a81,_0x5cc41c),this['_update']({'attributes':_0x483a81});}['_update'](_0x243bb6,_0x32e62f=!0x1){let _0x1fbe38=!0x1;const _0x4fc6c6={'id':this['id']},_0x594ec0=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x55ef4c of _0x594ec0){const _0x4f6cdc=_0x243bb6[_0x55ef4c];void 0x0!==_0x4f6cdc&&_0x4f6cdc!==this[_0x55ef4c]&&(this[_0x55ef4c]=_0x4f6cdc,_0x4fc6c6[_0x55ef4c]=_0x4f6cdc,_0x1fbe38=!0x0);}_0x1fbe38&&(_0x4fc6c6['authors']&&(_0x4fc6c6['authorsIds']=_0x4fc6c6['authors']['map'](_0x493efd=>_0x493efd['id']),delete _0x4fc6c6['authors']),this['fire']('_update',_0x4fc6c6,_0x32e62f));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x28c26a=>_0x28c26a['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x120911{['_revisions'];static get['requires'](){return[_0x3e4ba6];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x5e7360){super(_0x5e7360),this['_revisions']=new _0x573400();}['afterInit'](){!function(_0x1e9491){function _0x5e2fc5(_0x506043,_0x358758,_0x3fbce6){const _0x513184={};_0x513184[_0x48cac3([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x513184[_0x48cac3([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],_0x513184[_0x48cac3([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],_0x513184[_0x48cac3([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],_0x513184[_0x48cac3([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],_0x513184[_0x48cac3([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],_0x513184[_0x48cac3([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],_0x513184[_0x48cac3([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],_0x513184[_0x48cac3([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],_0x513184[_0x48cac3([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],_0x513184[_0x48cac3([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 _0xb6658e=new Uint8Array(0x10);for(let _0x6e0879=0xf;_0x6e0879>=0x0;--_0x6e0879)_0xb6658e[_0x6e0879]=_0x3fbce6%0x100,_0x3fbce6=parseInt(_0x3fbce6/0x100);let _0x488c76=null,_0x4f3ae9=0x10;const _0xa301d=new Uint8Array(_0x358758),_0x2d3e66=[],_0xb812bb=[];_0x5685e6();for(let _0x1d336c=0x0;_0x1d336c<_0x506043[_0x48cac3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1d336c++)0x10===_0x4f3ae9&&(_0x488c76=_0x1a8606(_0xb6658e),_0x4f3ae9=0x0,_0x5ee5e8(_0xb6658e)),_0x506043[_0x1d336c]^=_0x488c76[_0x4f3ae9++];return _0x506043;function _0x2fc109(_0x450a32){const _0x53fbdc=[];for(let _0x21201c=0x0;_0x21201c<_0x450a32[_0x48cac3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x21201c+=0x4)_0x53fbdc[_0x48cac3([0x70,0x75,0x73,0x68])](_0x450a32[_0x21201c]<<0x18|_0x450a32[_0x21201c+0x1]<<0x10|_0x450a32[_0x21201c+0x2]<<0x8|_0x450a32[_0x21201c+0x3]);return _0x53fbdc;}function _0x5ee5e8(_0x1c8968){for(let _0x360a83=0xf;_0x360a83>=0x0;_0x360a83--){if(0xff!==_0x1c8968[_0x360a83]){_0x1c8968[_0x360a83]++;break;}_0x1c8968[_0x360a83]=0x0;}}function _0x1a8606(_0x368e09){const _0x152124=_0x2d3e66[_0x48cac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x2077ff=[0x0,0x0,0x0,0x0];let t=_0x2fc109(_0x368e09);for(let _0x5a34ab=0x0;_0x5a34ab<0x4;_0x5a34ab++)t[_0x5a34ab]^=_0x2d3e66[0x0][_0x5a34ab];for(let _0x38776f=0x1;_0x38776f<_0x152124;_0x38776f++){for(let _0x51b098=0x0;_0x51b098<0x4;_0x51b098++)_0x2077ff[_0x51b098]=_0x513184[_0x48cac3([0x54,0x31])][t[_0x51b098]>>0x18&0xff]^_0x513184[_0x48cac3([0x54,0x32])][t[(_0x51b098+0x1)%0x4]>>0x10&0xff]^_0x513184[_0x48cac3([0x54,0x33])][t[(_0x51b098+0x2)%0x4]>>0x8&0xff]^_0x513184[_0x48cac3([0x54,0x34])][0xff&t[(_0x51b098+0x3)%0x4]]^_0x2d3e66[_0x38776f][_0x51b098];t=_0x2077ff[_0x48cac3([0x73,0x6c,0x69,0x63,0x65])]();}const _0x1048d2=new Uint8Array(0x10);let _0x2fe6aa;for(let _0x34fd09=0x0;_0x34fd09<0x4;_0x34fd09++)_0x2fe6aa=_0x2d3e66[_0x152124][_0x34fd09],_0x1048d2[0x4*_0x34fd09]=0xff&(_0x513184[_0x48cac3([0x53])][t[_0x34fd09]>>0x18&0xff]^_0x2fe6aa>>0x18),_0x1048d2[0x4*_0x34fd09+0x1]=0xff&(_0x513184[_0x48cac3([0x53])][t[(_0x34fd09+0x1)%0x4]>>0x10&0xff]^_0x2fe6aa>>0x10),_0x1048d2[0x4*_0x34fd09+0x2]=0xff&(_0x513184[_0x48cac3([0x53])][t[(_0x34fd09+0x2)%0x4]>>0x8&0xff]^_0x2fe6aa>>0x8),_0x1048d2[0x4*_0x34fd09+0x3]=0xff&(_0x513184[_0x48cac3([0x53])][0xff&t[(_0x34fd09+0x3)%0x4]]^_0x2fe6aa);return _0x1048d2;}function _0x5685e6(){const _0xfdd042=_0x513184[_0x48cac3([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xa301d[_0x48cac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x36b1e7=0x0;_0x36b1e7<=_0xfdd042;_0x36b1e7++)_0x2d3e66[_0x48cac3([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0xb812bb[_0x48cac3([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x26ea74=0x4*(_0xfdd042+0x1),_0x1547c5=_0xa301d[_0x48cac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x35b41b=_0x2fc109(_0xa301d);let _0x41c0dc;for(let _0xc3f755=0x0;_0xc3f755<_0x1547c5;_0xc3f755++)_0x41c0dc=_0xc3f755>>0x2,_0x2d3e66[_0x41c0dc][_0xc3f755%0x4]=_0x35b41b[_0xc3f755],_0xb812bb[_0xfdd042-_0x41c0dc][_0xc3f755%0x4]=_0x35b41b[_0xc3f755];let _0x5ab5e7,_0x4acb94=0x0,t=_0x1547c5;for(;t<_0x26ea74;){_0x5ab5e7=_0x35b41b[_0x1547c5-0x1],_0x35b41b[0x0]^=_0x513184[_0x48cac3([0x53])][_0x5ab5e7>>0x10&0xff]<<0x18^_0x513184[_0x48cac3([0x53])][_0x5ab5e7>>0x8&0xff]<<0x10^_0x513184[_0x48cac3([0x53])][0xff&_0x5ab5e7]<<0x8^_0x513184[_0x48cac3([0x53])][_0x5ab5e7>>0x18&0xff]^_0x513184[_0x48cac3([0x72,0x63,0x6f,0x6e])][_0x4acb94]<<0x18,_0x4acb94+=0x1;for(let _0x1b72f9=0x1;_0x1b72f9<_0x1547c5/0x2;_0x1b72f9++)_0x35b41b[_0x1b72f9]^=_0x35b41b[_0x1b72f9-0x1];_0x5ab5e7=_0x35b41b[_0x1547c5/0x2-0x1],_0x35b41b[_0x1547c5/0x2]^=_0x513184[_0x48cac3([0x53])][0xff&_0x5ab5e7]^_0x513184[_0x48cac3([0x53])][_0x5ab5e7>>0x8&0xff]<<0x8^_0x513184[_0x48cac3([0x53])][_0x5ab5e7>>0x10&0xff]<<0x10^_0x513184[_0x48cac3([0x53])][_0x5ab5e7>>0x18&0xff]<<0x18;for(let _0x2cac17=_0x1547c5/0x2+0x1;_0x2cac17<_0x1547c5;_0x2cac17++)_0x35b41b[_0x2cac17]^=_0x35b41b[_0x2cac17-0x1];let _0x44dee7,_0x6eea17,_0x5b3313=0x0;for(;_0x5b3313<_0x1547c5&&t<_0x26ea74;)_0x44dee7=t>>0x2,_0x6eea17=t%0x4,_0x2d3e66[_0x44dee7][_0x6eea17]=_0x35b41b[_0x5b3313],_0xb812bb[_0xfdd042-_0x44dee7][_0x6eea17]=_0x35b41b[_0x5b3313++],t++;}for(let _0x289200=0x1;_0x289200<_0xfdd042;_0x289200++)for(let _0x551b7d=0x0;_0x551b7d<0x4;_0x551b7d++)_0x5ab5e7=_0xb812bb[_0x289200][_0x551b7d],_0xb812bb[_0x289200][_0x551b7d]=_0x513184[_0x48cac3([0x55,0x31])][_0x5ab5e7>>0x18&0xff]^_0x513184[_0x48cac3([0x55,0x32])][_0x5ab5e7>>0x10&0xff]^_0x513184[_0x48cac3([0x55,0x33])][_0x5ab5e7>>0x8&0xff]^_0x513184[_0x48cac3([0x55,0x34])][0xff&_0x5ab5e7];}}function _0x48cac3(_0x3a805d){return _0x3a805d['map'](_0x11e38e=>String['fromCharCode'](_0x11e38e))['join']('');}(_0x5d847a=>{function _0x247c40(){const _0x474465=[{[_0x48cac3([0x69,0x64])]:0x1,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x48cac3([0x69,0x64])]:0x2,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([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]),[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48cac3([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x48cac3([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x48cac3([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48cac3([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x48cac3([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x48cac3([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x48cac3([0x69,0x64])]:0x3,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x48cac3([0x69,0x64])]:0x4,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([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]),[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48cac3([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x48cac3([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x48cac3([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x48cac3([0x69,0x64])]:0x5,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([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]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48cac3([0x66,0x67,0x69])]:[0xc]}},{[_0x48cac3([0x69,0x64])]:0x6,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48cac3([0x66,0x67,0x69])]:[0xc]}},{[_0x48cac3([0x69,0x64])]:0x7,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48cac3([0x66,0x67,0x69])]:[0xc]}},{[_0x48cac3([0x69,0x64])]:0x8,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([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]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48cac3([0x66,0x67,0x69])]:[0xc]}},{[_0x48cac3([0x69,0x64])]:0x9,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48cac3([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x48cac3([0x69,0x64])]:0xa,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([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]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([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]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([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]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48cac3([0x66,0x67,0x69])]:[0xc]}},{[_0x48cac3([0x69,0x64])]:0xb,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x48cac3([0x69,0x64])]:0xc,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x48cac3([0x69,0x64])]:0xd,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48cac3([0x66,0x67,0x69])]:[0xc]}},{[_0x48cac3([0x69,0x64])]:0xe,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x48cac3([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([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])},{[_0x48cac3([0x69,0x64])]:0xf,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x48cac3([0x69,0x64])]:0x10,[_0x48cac3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x48cac3([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x48cac3([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x48cac3([0x66,0x67,0x69])]:[0xc]}}];return _0x3166b5(_0x474465),_0x474465;function _0x1b942d(_0x212513){return 0x1<<_0x212513-0x1;}function _0x3166b5(_0x4f216c){_0x4f216c[_0x48cac3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc46e83=>{_0xc46e83[_0x48cac3([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x1b942d(_0xc46e83[_0x48cac3([0x69,0x64])]),_0xaad7ad(_0xc46e83)&&_0xc46e83[_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3166b5(_0xc46e83[_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0xaad7ad(_0x38c295){return _0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x38c295;}const _0x219c08=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x4474ab=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x16b67b(_0x8ad0ab){const _0x72c511=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4ed435(_0x8ad0ab,new Uint8Array([..._0x219c08,..._0x72c511,..._0x4474ab]));}function _0x4ed435(_0x5dac09,_0x14f758){const _0x3ca680=_0x458e59(_0x5dac09),_0x278b97=Array[_0x48cac3([0x66,0x72,0x6f,0x6d])](_0x138955(_0x3ca680)),_0x4a9641=_0x278b97[_0x48cac3([0x70,0x6f,0x70])](),_0x4e9353=_0x278b97[_0x48cac3([0x70,0x6f,0x70])]();return _0xefdb72(_0x5e2fc5(_0x278b97,_0x14f758,_0x4e9353+0x100*_0x4a9641));}function _0x458e59(_0x57b5eb){const _0x50add1=atob(_0x57b5eb),[_0x381cb7,_0x227d57]=_0x50add1[_0x48cac3([0x73,0x70,0x6c,0x69,0x74])](_0x48cac3([0x2d]));try{if(atob(_0x227d57))return atob(_0x381cb7);}catch(_0x31331f){}return _0x50add1;}function _0x515719(_0x3b95d5){try{const _0x498856=_0x16b67b(_0x3b95d5),_0x42c9f4=JSON[_0x48cac3([0x70,0x61,0x72,0x73,0x65])](_0x498856),_0x305cd3=parseInt(_0x42c9f4[_0x48cac3([0x31])]),_0x84c4ce=_0x42c9f4[_0x48cac3([0x32])]||'',_0x5b5273=parseInt(_0x42c9f4[_0x48cac3([0x33])]),_0x5600c3=parseInt(_0x42c9f4[_0x48cac3([0x34])])||0x0,_0x1c46ff=parseInt(_0x42c9f4[_0x48cac3([0x35])])||0x0;return{[_0x48cac3([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x84c4ce,[_0x48cac3([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x5600c3,[_0x48cac3([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x305cd3,[_0x48cac3([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x5b5273,[_0x48cac3([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x1c46ff};}catch(_0x144b10){return null;}}const _0x3f0a49=_0x247c40(),_0x369d5f={[_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0xf1f09e,[_0x48cac3([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])]:_0x202a62,[_0x48cac3([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])]:_0x18e4eb},_0x50e83e=_0x5d847a[_0x48cac3([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x406b3c=_0x48cac3([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x5d847a?_0x5d847a['context']:_0x5d847a['editor'],_0x73e0a8=_0x48cac3([0x34,0x30,0x34,0x38,0x31,0x32,0x30,0x34]),_0x1520d5=_0x48cac3([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]),_0x16a429=_0x406b3c['config']['get'](_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x529d6c=_0x3f0a49[_0x48cac3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xaad7ad)[_0x48cac3([0x66,0x69,0x6e,0x64])](_0x1369c3=>_0x1369c3[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x50e83e);function _0x428911(_0xe8eb92,_0x426f09){_0x369d5f[_0x426f09[_0x48cac3([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0xe8eb92,_0x426f09),_0x426f09[_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x426f09[_0x48cac3([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x48cac3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x21d7fc=>_0x563e89(_0x406b3c,_0x21d7fc[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x48cac3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x585ecc=>_0x428911(_0xe8eb92,_0x585ecc));}function _0xf1f09e(_0xceacf9,_0x247d27){_0x4e11a9(_0x40d6f9(_0xceacf9,_0x247d27),_0x247d27);}function _0x202a62(_0x1dee12,_0xdc53fa){function _0x147b7b(_0x3d697e,_0x8fc7a){try{if(_0x563e89(_0x406b3c,_0x48cac3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3d697e){const _0x394ae0=_0x17bb6e(_0x406b3c,_0x48cac3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x48cac3([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x394ae0)/0x2>_0x3d697e[_0x48cac3([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x59ad0b(_0x8fc7a[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x40d6f9(_0x3d697e,_0x8fc7a);}catch(_0x222fab){return _0x59ad0b(_0x8fc7a[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x4e11a9(_0x147b7b(_0x1dee12,_0xdc53fa),_0xdc53fa);}function _0x18e4eb(_0x2feb0c,_0x48f7b9){const _0x3bd872=_0x4474ab[0x0]*_0x219c08[0x1],_0x97c3a=_0x4474ab[0x0]*_0x219c08[0x2],_0x698300=_0x4474ab[0x2]*_0x219c08[0x2];_0x563e89(_0x406b3c,_0x48cac3([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x17bb6e(_0x406b3c,_0x48cac3([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x48cac3([0x73,0x74,0x61,0x74,0x65])]==_0x48cac3([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x43b194()]=_0x698300);function _0x48ff47(_0x478403,_0xd254d7){try{return _0x54861a()?_0x59ad0b(_0xd254d7[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x56,0x61,0x6c,0x69,0x64])):_0x40d6f9(_0x478403,_0xd254d7);}catch(_0x4c74b2){return _0x59ad0b(_0xd254d7[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x446ef9(_0x4034ea,_0x25e12d){const _0x3577af=0x7;if(_0x4034ea==_0x25e12d[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x4bd13f();else{if(_0x4034ea==_0x25e12d[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x54,0x72,0x69,0x61,0x6c])){const _0x110f63=_0x4bdc39();_0x110f63&&_0x3ddf66(_0x110f63,_0x25e12d[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x1450ac=_0x17935b();window[_0x48cac3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3ddf66(_0x48cac3([0x74,0x69,0x6d,0x65]),_0x25e12d[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x1450ac);const _0xba68b1=_0x17bb6e(_0x406b3c,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x48cac3([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0xba68b1[_0x48cac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3577af?_0x3ddf66(_0x48cac3([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x25e12d[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0xba68b1['on'](_0x48cac3([0x61,0x64,0x64]),()=>{_0xba68b1[_0x48cac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x3577af&&_0x3ddf66(_0x48cac3([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x25e12d[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x4bdc39(){if(!_0x563e89(_0x406b3c,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x188827 in window)if(Number['isNaN'](Number(_0x188827))){if(window[_0x188827]===_0x3bd872)return _0x48cac3([0x74,0x69,0x6d,0x65]);if(window[_0x188827]===_0x97c3a)return _0x48cac3([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x54861a(){if(!_0x563e89(_0x406b3c,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x29a7aa in window)if(Number['isNaN'](Number(_0x29a7aa))&&window[_0x29a7aa]===_0x698300)return!0x0;return!0x1;}function _0x3ddf66(_0x256165,_0x4ab61a){_0x4bd13f(),_0x59ad0b(_0x4ab61a+_0x48cac3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x256165),window[_0x43b194()]=_0x256165===_0x48cac3([0x74,0x69,0x6d,0x65])?_0x3bd872:_0x97c3a;}function _0x17935b(){let _0x415d40=_0x4474ab[0x6]*_0x219c08[0x8]*_0x219c08[0x6];return _0x563e89(_0x406b3c,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x415d40/=0xa),_0x415d40;}function _0x4bd13f(){const _0x44d7a7=_0x406b3c;function _0xc0405f(){_0x563e89(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x17bb6e(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x48cac3([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x48cac3([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x17bb6e(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x48cac3([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x17bb6e(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x48cac3([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x43c63a,_0x17bb6e(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x48cac3([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x43c63a,_0x44d7a7[_0x48cac3([0x6d,0x6f,0x64,0x65,0x6c])][_0x48cac3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43c63a,_0x44d7a7[_0x48cac3([0x6d,0x6f,0x64,0x65,0x6c])][_0x48cac3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43c63a,_0x44d7a7[_0x48cac3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x48cac3([0x6d,0x6f,0x64,0x65,0x6c]))),_0x563e89(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x17bb6e(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x48cac3([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x48cac3([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x17bb6e(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x48cac3([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x17bb6e(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x48cac3([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x43c63a,_0x17bb6e(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x48cac3([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x43c63a);}_0x44d7a7[_0x48cac3([0x73,0x74,0x61,0x74,0x65])]==_0x48cac3([0x72,0x65,0x61,0x64,0x79])?_0xc0405f():_0x44d7a7[_0x48cac3([0x6f,0x6e,0x63,0x65])](_0x48cac3([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x563e89(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0xc0405f(),_0x563e89(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x5ebf99=_0x17bb6e(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x322e9c=_0x5ebf99['getRevision'](0x0),_0x172f33=_0x5ebf99['getEarlierVisibleRevision'](_0x322e9c[_0x48cac3([0x69,0x64])]);_0x17bb6e(_0x44d7a7,_0x48cac3([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x48cac3([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x322e9c[_0x48cac3([0x69,0x64])],_0x172f33?_0x172f33[_0x48cac3([0x69,0x64])]:null,0x1)['then'](()=>_0xc0405f());}});}_0x446ef9(_0x48ff47(_0x2feb0c,_0x48f7b9),_0x48f7b9);}function _0x40d6f9(_0x2154a7,_0x1715cf){try{return _0x381d37(_0x1715cf)?_0x59ad0b(_0x1715cf[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x56,0x61,0x6c,0x69,0x64])):_0x2154a7&&_0x242fc8(_0x2154a7[_0x48cac3([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x1715cf)?_0x2154a7[_0x48cac3([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x48cac3([0x6f,0x70,0x65,0x6e])][_0x48cac3([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x73e0a8)/0x2>_0x2154a7[_0x48cac3([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x59ad0b(_0x1715cf[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x2154a7[_0x48cac3([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x59ad0b(_0x1715cf[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x54,0x72,0x69,0x61,0x6c])):_0x59ad0b(_0x1715cf[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x56,0x61,0x6c,0x69,0x64])):_0x59ad0b(_0x1715cf[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x1f941c){return _0x59ad0b(_0x1715cf[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x4e11a9(_0x34b748,_0x5954d6){if(_0x406b3c instanceof _0x59748f){const _0x189d1a=_0x406b3c;_0x34b748==_0x5954d6[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x31f92e(_0x189d1a):_0x34b748==_0x5954d6[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x54,0x72,0x69,0x61,0x6c])&&window[_0x48cac3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x31f92e(_0x189d1a),_0x59ad0b(_0x5954d6[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x4474ab[0x6]*_0x219c08[0x8]*_0x219c08[0x6]),_0x189d1a[_0x48cac3([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x48cac3([0x6f,0x6e])](_0x48cac3([0x61,0x64,0x64]),(_0x11a1cd,_0x4b65d2)=>{_0x34b748!=_0x5954d6[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x34b748!=_0x5954d6[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x34b748!=_0x5954d6[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x32dcec(_0x4b65d2);});}else{const _0x724153=_0x406b3c;_0x34b748==_0x5954d6[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x32dcec(_0x724153):_0x34b748==_0x5954d6[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x54,0x72,0x69,0x61,0x6c])&&_0x724153[_0x48cac3([0x6f,0x6e])](_0x48cac3([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x29cf8a=0x0;_0x724153[_0x48cac3([0x6d,0x6f,0x64,0x65,0x6c])][_0x48cac3([0x6f,0x6e])](_0x48cac3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2e0565,_0x53e687)=>{_0x53e687[0x0][_0x48cac3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x29cf8a++,0x1f8===_0x29cf8a&&(_0x32dcec(_0x724153),_0x59ad0b(_0x5954d6[_0x48cac3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x48cac3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x2e0565[_0x48cac3([0x6f,0x66,0x66])]());},{'priority':_0x48cac3([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x59ad0b(_0x362295){const _0x2f5d86=_0x43b194();return _0x406b3c[_0x2f5d86]=_0x362295,_0x362295;}function _0x43b194(){const _0x187199=String(window[_0x48cac3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x48cac3([0x6e,0x6f,0x77])]())[_0x48cac3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x48cac3([0x2e]),'');let _0x12d9c9='';for(let _0x2955ba=0x0;_0x2955ba<_0x187199[_0x48cac3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2955ba+=0x2){let _0x597d60=parseInt(_0x187199[_0x48cac3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2955ba,_0x2955ba+0x2));_0x597d60>=_0x1520d5[_0x48cac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x597d60-=_0x1520d5[_0x48cac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x12d9c9+=_0x1520d5[_0x597d60];}return _0x12d9c9;}function _0x31f92e(_0x53d830){for(const _0x4b79b7 of _0x53d830[_0x48cac3([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x32dcec(_0x4b79b7);_0x17bb6e(_0x53d830,_0x48cac3([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x48cac3([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x17bb6e(_0x53d830,_0x48cac3([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x48cac3([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x43c63a;}function _0x32dcec(_0x100d04){function _0x3bf9b1(){_0x100d04[_0x48cac3([0x6d,0x6f,0x64,0x65,0x6c])][_0x48cac3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x43c63a,_0x100d04[_0x48cac3([0x6d,0x6f,0x64,0x65,0x6c])][_0x48cac3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x43c63a,_0x100d04[_0x48cac3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x48cac3([0x6d,0x6f,0x64,0x65,0x6c]));}_0x100d04[_0x48cac3([0x73,0x74,0x61,0x74,0x65])]==_0x48cac3([0x72,0x65,0x61,0x64,0x79])?_0x3bf9b1():_0x100d04[_0x48cac3([0x6f,0x6e,0x63,0x65])](_0x48cac3([0x72,0x65,0x61,0x64,0x79]),()=>_0x3bf9b1());}function _0x43c63a(){return null;}function _0x242fc8(_0x332839,_0x3f3d03){const _0xd36bb4=!!(_0x332839&_0x3f3d03[_0x48cac3([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x2ab239=_0x1363e0(_0x332839,_0x3f3d03);return _0xd36bb4||_0x2ab239;}function _0x1363e0(_0x3e5f75,_0xd6574){const _0x2a0549=(_0xd6574[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x48cac3([0x66,0x67,0x69])]||null;return!!_0x2a0549&&_0x3f0a49[_0x48cac3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x471bdd=>_0x2a0549[_0x48cac3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x471bdd[_0x48cac3([0x69,0x64])]))[_0x48cac3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54dd23=>!_0x55edd8(_0x54dd23))[_0x48cac3([0x73,0x6f,0x6d,0x65])](_0x5f42cc=>!!(_0x3e5f75&_0x5f42cc[_0x48cac3([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x55edd8(_0x566027){const _0x38124b={[_0x48cac3([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])]:_0x223639};return!!_0x566027['forbiddenHandler']&&_0x38124b[_0x566027['forbiddenHandler']]();}function _0x223639(){return!window[_0x48cac3([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x563e89(_0x406b3c,_0x48cac3([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x381d37(_0x10b991){if(!_0x563e89(_0x406b3c,_0x10b991[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x2823df=_0x10b991[_0x48cac3([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x5ad73c=_0x2823df[_0x48cac3([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x493175=_0x2823df[_0x48cac3([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x464964=_0x2823df[_0x48cac3([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x563e89(_0x406b3c,_0x48cac3([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x17bb6e(_0x406b3c,_0x48cac3([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x48cac3([0x73,0x74,0x61,0x74,0x65])]==_0x48cac3([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x5ad73c)return!0x0;if(_0x563e89(_0x406b3c,_0x48cac3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x17bb6e(_0x406b3c,_0x48cac3([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x48cac3([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x48cac3([0x65,0x6e,0x64])&&_0x493175)return!0x0;return!(!_0x563e89(_0x406b3c,_0x48cac3([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]))||_0x17bb6e(_0x406b3c,_0x48cac3([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]))[_0x48cac3([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x48cac3([0x65,0x6e,0x64])||!_0x464964);}function _0x563e89(_0x1056e0,_0x320cb6){return _0x1056e0[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x48cac3([0x68,0x61,0x73])](_0x320cb6);}function _0x17bb6e(_0x51ee12,_0x4b9e89){return _0x51ee12[_0x48cac3([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x48cac3([0x67,0x65,0x74])](_0x4b9e89);}function _0xefdb72(_0x1b498b){let _0x541a19='';for(const _0x77a0ff of _0x1b498b)_0x541a19+=String[_0x48cac3([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x77a0ff);return _0x541a19;}function _0x138955(_0x14f0fa){const _0x4f1e5c=new Uint8Array(_0x14f0fa[_0x48cac3([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x3b5c87=0x0;_0x3b5c87<_0x14f0fa[_0x48cac3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3b5c87++)_0x4f1e5c[_0x3b5c87]=_0x14f0fa[_0x48cac3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3b5c87);return _0x4f1e5c;}_0x529d6c&&_0x428911(_0x515719(_0x16a429),_0x529d6c);})(_0x1e9491);}(this);}['createRevision'](_0x47db73){const _0x14e595=this['editor']['plugins']['get']('Users');return new a({'id':_0x47db73['id'],'name':_0x47db73['name'],'creator':_0x47db73['creatorId']?_0x14e595['getUser'](_0x47db73['creatorId']):null,'diffData':_0x47db73['diffData']||_0x47db73['data'],'authors':_0x47db73['authorsIds']['map'](_0x5e667b=>_0x14e595['getUser'](_0x5e667b)),'createdAt':new Date(_0x47db73['createdAt']),'attributes':_0x47db73['attributes'],'fromVersion':_0x47db73['fromVersion'],'toVersion':_0x47db73['toVersion']});}['addRevision'](_0x2dd9a0,_0x3af1f7=0x0){this['_revisions']['add'](_0x2dd9a0,_0x3af1f7);}['getRevision'](_0x36554f){return this['_revisions']['get'](_0x36554f);}['getRevisions'](_0x192acf={'toJSON':!0x1}){const _0x5a3bad=Array['from'](this['_revisions']);return _0x5a3bad['reverse'](),_0x192acf['toJSON']?_0x5a3bad['map'](_0x202bac=>_0x202bac['toJSON']()):_0x5a3bad;}['getIndex'](_0x19f55f){return this['_revisions']['getIndex'](_0x19f55f);}['getEarlierVisibleRevision'](_0x3ab6e5){const [,_0x4d6815]=this['getRevisionsIterator'](_0x3ab6e5,{'direction':'earlier'});return _0x4d6815;}['getLaterVisibleRevision'](_0x536e44){const [,_0x394c9e]=this['getRevisionsIterator'](_0x536e44,{'direction':'later'});return _0x394c9e;}['getRevisionsInDiff'](_0xe5ac65){const _0x53713e=[];for(const _0x3c1479 of this['getRevisionsIterator'](_0xe5ac65['newRevisionId']))if(_0x53713e['push'](_0x3c1479),_0x3c1479['id']===_0xe5ac65['oldRevisionId'])break;return _0x53713e;}*['getRevisionsIterator'](_0x20b67d,{direction:_0xd9b4b7='earlier',filter:_0x421afb=_0x1993a5=>!0x0}={}){const _0x105279='earlier'===_0xd9b4b7?0x1:-0x1;let _0x136fa1=this['_revisions']['get'](_0x20b67d),_0x50f468=this['getIndex'](_0x136fa1);for(yield _0x136fa1;_0x136fa1;){if(_0x50f468+=_0x105279,_0x136fa1=this['getRevision'](_0x50f468),!_0x136fa1)return;_0x421afb(_0x136fa1)&&(yield _0x136fa1);}}}function y(_0x4c4159,_0x5219a1,_0x18ca02){const t=_0x4c4159['t'];switch(_0x5219a1){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'},_0x18ca02);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x18ca02);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':_0x39e07a,'a':_0x2e9afc,'e':_0x384b08,'r':_0xe96e5f,'u':_0x2701b9};class l extends _0x120911{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x3e4ba6,A,_0x356550];}constructor(_0x4a7a77){super(_0x4a7a77),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 _0x33f05e=_0x3b07d1();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x33f05e},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 _0x1aa371=this['repository']['getRevision'](0x0),_0x2e067c=_0x1aa371&&null===_0x1aa371['creator']?_0x1aa371:null;if(this['_continueCurrentRevision']=!!_0x2e067c&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2a8bd0=this['_source']['getCurrentRevisionId'](),_0x4f439d=this['repository']['getRevision'](_0x2a8bd0);if(_0x4f439d)this['_startingVersion']=_0x4f439d['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x149aa8=this['_source']['history']['_operations']['find'](_0x22ffe6=>!_0x22ffe6['_isInit']),_0x1c6af6=_0x149aa8?_0x149aa8['baseVersion']:this['_source']['history']['version'];_0x1aa371?(_0x1aa371['toVersion']<_0x1c6af6&&_0x1aa371['_update']({'toVersion':_0x1c6af6}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x2e067c['id'],this['_startingVersion']=_0x2e067c['fromVersion']):(this['_startingVersion']=_0x1aa371['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x1c6af6,this['_continueCurrentRevision']=!0x1);}}else _0x2e067c&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x2e067c['toVersion'],this['editor']['model']['document']['history']['version']),_0x2e067c['fromVersion']===_0x2e067c['toVersion']?(0x0!==_0x2e067c['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x2e067c['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x2e067c['id'],this['_startingVersion']=_0x2e067c['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',_0x5bca57=>!_0x5bca57);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x3628f5=this['repository']['getRevision'](0x0),_0x33a084=await this['getRevisionDocumentData'](_0x3628f5),_0x3a8cf5=await this['getRevisionRootsAttributes'](_0x3628f5);this['_replaceEditorDataWithRevisionData'](_0x33a084,_0x3a8cf5);}}['setSource'](_0xe69782){this['_source']=_0xe69782;}async['update'](){const _0x111967=await this['_source']['getLatestVersion']();if(_0x111967>this['currentRevision']['toVersion']){await this['_loadState']();const _0x56040d=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x111967});_0x56040d['authors']=_0x56040d['authorsIds']['map'](_0x3934de=>this['editor']['plugins']['get']('Users')['getUser'](_0x3934de)),this['currentRevision']['_update'](_0x56040d);}}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'](_0xa47feb={},_0x28a5c9=null){const _0x8a3bf0=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x28a5c9>this['currentRevision']['toVersion']&&(_0x28a5c9=null),null===_0x28a5c9&&(_0x28a5c9=await this['_source']['getLatestVersion']());const _0x32b32d=this['_getFromVersion'](_0x28a5c9),_0x47b8f7=this['buildRevisionData']({'from':_0x32b32d,'to':_0x28a5c9});if(this['currentRevision']['toVersion']<_0x28a5c9){const _0x32bb6c=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x28a5c9,'to':_0x28a5c9});_0x32bb6c['authors']=[],_0x32bb6c['authorsIds']=[],_0x32bb6c['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x32bb6c,!0x0),delete _0x32bb6c['authors'],_0x8a3bf0['push'](_0x32bb6c);}_0xa47feb['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0xa47feb['name']=_0xa47feb['name']||null,_0xa47feb['id']=_0xa47feb['id']||_0x3b07d1(),_0xa47feb={..._0xa47feb,..._0x47b8f7};const _0x3944bf=this['addRevisionData'](_0xa47feb);_0x8a3bf0['push'](_0xa47feb);const _0x4eb9d1=this['repository']['getIndex'](_0x3944bf);if(0x0!==_0x4eb9d1){const _0x503ecb=this['repository']['getRevision'](_0x4eb9d1-0x1);if(_0x503ecb['fromVersion']!==_0x28a5c9){const _0x53e9ba=this['_revisionDataBuilder']['getData'](_0x28a5c9,_0x503ecb['toVersion']),_0x32d9fd={'id':_0x503ecb['id'],'diffData':_0x53e9ba['diffData'],'authorsIds':_0x53e9ba['authorsIds'],'authors':_0x53e9ba['authorsIds']['map'](_0x46d2a4=>this['editor']['plugins']['get']('Users')['getUser'](_0x46d2a4)),'fromVersion':_0x28a5c9};_0x503ecb===this['currentRevision']&&(_0x32d9fd['createdAt']=new Date(_0xa47feb['createdAt']['getTime']()+0xa)),_0x503ecb['_update'](_0x32d9fd,!0x0),delete _0x32d9fd['authors'],_0x8a3bf0['push'](_0x32d9fd);}}if(this['adapter']){for(const _0x4240ed of _0x8a3bf0)this['_bufferUpdate'](_0x4240ed['id'],_0x4240ed,!0x0);this['sendBufferedUpdates']();}return _0x3944bf;}['addRevisionData'](_0x36ccbe){const _0x36bed4=this['repository']['createRevision'](_0x36ccbe);return this['adapter']&&_0x36bed4['on']('_update',(_0x421e98,_0x2724d2,_0xb3a3b2)=>{_0xb3a3b2||(this['_bufferUpdate'](_0x2724d2['id'],_0x2724d2,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x36bed4,this['_findInsertionIndex'](_0x36bed4)),_0x36bed4;}async['getRevisionDocumentData'](_0x383133){await this['_loadRevisionData'](_0x383133);const _0x376671={};for(const _0x4df6b3 in _0x383133['diffData']){if(_0x383133['diffData'][_0x4df6b3]['attachChange']&&!_0x383133['diffData'][_0x4df6b3]['attachChange']['isAttached'])continue;const _0xcbef7a=this['_removeRevisionMarkers'](JSON['parse'](_0x383133['diffData'][_0x4df6b3]['insertions'])),_0x59fa11=this['editor']['editing']['view']['document'],_0x26a51f=new _0x319d91(_0x59fa11,_0xcbef7a['map'](_0xa6c7f2=>B(_0xa6c7f2,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x376671[_0x4df6b3]=this['editor']['data']['processor']['toData'](_0x26a51f),this['editor']['data']['processor']['useFillerType']('default');}return _0x376671;}async['getRevisionRootsAttributes'](_0xe8b4bd){await this['_loadRevisionData'](_0xe8b4bd);const _0x2f95e5={};for(const _0xa3d970 in _0xe8b4bd['diffData'])_0xe8b4bd['diffData'][_0xa3d970]['attachChange']&&!_0xe8b4bd['diffData'][_0xa3d970]['attachChange']['isAttached']||(_0x2f95e5[_0xa3d970]=_0xe8b4bd['diffData'][_0xa3d970]['attributesAfter']||{});return _0x2f95e5;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x3dc803=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x1cfcc7=0x0;_0x1cfcc7<_0x3dc803['length'];_0x1cfcc7++){const _0x43b508=_0x3dc803[_0x1cfcc7];let _0x14d24d=!0x1;for(const _0x5f2d87 of Object['keys'](_0x43b508))void 0x0===_0x43b508[_0x5f2d87]?delete _0x43b508[_0x5f2d87]:'id'!==_0x5f2d87&&(_0x14d24d=!0x0);_0x14d24d||(_0x3dc803[_0x1cfcc7]=null);}if(_0x3dc803=_0x3dc803['filter'](_0xc8d678=>null!==_0xc8d678),!_0x3dc803['length'])return;for(let _0x2cf733=0x0;_0x2cf733<_0x3dc803['length'];_0x2cf733++){const _0x3d300a=_0x3dc803[_0x2cf733];void 0x0!==_0x3d300a['fromVersion']&&void 0x0===_0x3d300a['toVersion']&&(_0x3d300a['toVersion']=this['repository']['getRevision'](_0x3d300a['id'])['toVersion']),void 0x0!==_0x3d300a['toVersion']&&void 0x0===_0x3d300a['fromVersion']&&(_0x3d300a['fromVersion']=this['repository']['getRevision'](_0x3d300a['id'])['fromVersion']);}const _0x4b28bc=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x3dc803,_0x4b28bc)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x325b40=>{if(_0x325b40){for(const _0x179ac7 of _0x325b40)this['setRevisionData']({'id':_0x179ac7['id'],'createdAt':_0x179ac7['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x80a2e3,_0x973f70){let _0x166e0c=this['editor']['config']['get']('initialData'),_0x597ba1=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x166e0c){_0x166e0c={};for(const _0x4b350 of this['editor']['model']['document']['getRootNames']())_0x166e0c[_0x4b350]='';}if('string'==typeof _0x166e0c&&(_0x166e0c={'main':_0x166e0c}),void 0x0===_0x597ba1){_0x597ba1={};for(const _0x793c3d of this['editor']['model']['document']['getRootNames']())_0x597ba1[_0x793c3d]={};}let _0x39ed43=!0x1;const _0x4daa6b=Object['keys'](_0x166e0c),_0x54435a=Object['keys'](_0x80a2e3);for(const _0x5856af of _0x4daa6b){if(_0x166e0c[_0x5856af]!==_0x80a2e3[_0x5856af]&&''!==_0x166e0c[_0x5856af]['trim']()){_0x39ed43=!0x0;break;}if(!_0x41db4f(_0x597ba1[_0x5856af],_0x973f70[_0x5856af])&&Object['keys'](_0x597ba1[_0x5856af])['length']>0x0){_0x39ed43=!0x0;break;}}_0x39ed43||(_0x39ed43=_0x54435a['some'](_0x4952c9=>!this['editor']['model']['document']['getRoot'](_0x4952c9))),_0x39ed43&&_0xf7577a('editor-initial-data-replaced-with-revision-data',{'editorData':_0x166e0c,'editorRootsAttributes':_0x597ba1,'revisionData':_0x80a2e3,'revisionRootsAttributes':_0x973f70}),this['editor']['config']['set']('initialData',_0x80a2e3),this['editor']['config']['set']('rootsAttributes',_0x973f70);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x473d33=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x473d33['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2ca52f){const _0x284c01=this['repository']['getRevisions']();_0x284c01['reverse']();let _0x1b701e=0x0;for(;_0x1b701e<_0x284c01['length'];){const _0x5dd277=_0x284c01[_0x1b701e];if(_0x5dd277===this['currentRevision']){_0x1b701e++;continue;}if(_0x5dd277['id']===this['_initialRevisionId'])break;const _0x1bfe20=_0x2ca52f['toVersion']-_0x5dd277['toVersion']||_0x2ca52f['fromVersion']-_0x5dd277['fromVersion'];if(_0x1bfe20>0x0)break;if(_0x1bfe20<0x0)_0x1b701e++;else{if(!_0x2ca52f['creator']&&_0x5dd277['creator'])break;if(_0x5dd277['creator']||!_0x2ca52f['creator']){if(_0x2ca52f['createdAt']>_0x5dd277['createdAt'])break;_0x1b701e++;}else _0x1b701e++;}}return _0x1b701e;}['setRevisionData'](_0x46fb2e){const _0x1cac94=this['repository']['getRevision'](_0x46fb2e['id']);if(_0x46fb2e['createdAt']&&(_0x46fb2e['createdAt']=new Date(_0x46fb2e['createdAt'])),_0x46fb2e['authorsIds']){const _0x352244=this['editor']['plugins']['get']('Users');_0x46fb2e['authors']=_0x46fb2e['authorsIds']['map'](_0x2fcab5=>_0x352244['getUser'](_0x2fcab5));}_0x1cac94['_update'](_0x46fb2e,!0x0);}['buildRevisionData']({revision:_0x345236=null,from:_0x4a57b1=null,to:_0x3506c7=null}){_0x4a57b1=null!==_0x4a57b1?_0x4a57b1:_0x345236['fromVersion'],_0x3506c7=null!==_0x3506c7?_0x3506c7:_0x345236['toVersion'];const _0x4ff893=this['_revisionDataBuilder']['getData'](_0x4a57b1,_0x3506c7),_0x135bb8={'diffData':_0x4ff893['diffData'],'authorsIds':_0x4ff893['authorsIds'],'fromVersion':_0x4a57b1,'toVersion':_0x3506c7};if(!_0x345236||_0x3506c7!==_0x345236['toVersion']){const _0x428daa=_0x3506c7-0x1,_0x49cd24=this['_source']['history']['getOperation'](_0x428daa);_0x135bb8['createdAt']=_0x49cd24&&_0x49cd24['createdAt']||new Date();}if(this['_loadedStateData']&&_0x4a57b1===this['_loadedStateData']['fromVersion']){for(const _0x12bc72 of this['_loadedStateData']['authors'])_0x135bb8['authorsIds']['includes'](_0x12bc72['id'])||_0x135bb8['authorsIds']['push'](_0x12bc72['id']);}return _0x135bb8;}['_loadRevisionData'](_0x3a5aca){if(!_0x3a5aca||_0x3a5aca['diffData'])return Promise['resolve']();{const _0x1172a3=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1172a3,'revisionId':_0x3a5aca['id']})['then'](_0x4cbc9c=>{_0x3a5aca['diffData']=_0x4cbc9c['diffData'];});}}['_bufferUpdate'](_0x2ceba7,_0x144c3b,_0x273cee){if(this['_bufferedUpdates']['has'](_0x2ceba7)){const _0x108c60=this['_bufferedUpdates']['get'](_0x2ceba7);_0x144c3b=_0x273cee?{..._0x108c60,..._0x144c3b}:{..._0x144c3b,..._0x108c60};}this['_bufferedUpdates']['set'](_0x2ceba7,_0x144c3b);}['_getFromVersion'](_0x3ca60c){const _0x389c98=this['repository']['getRevisions']();_0x389c98['reverse'](),_0x389c98['shift']();const _0x21a73b=_0x389c98['find'](_0x45f198=>_0x45f198['toVersion']<=_0x3ca60c)['toVersion'];return _0x21a73b<this['_startingVersion']?this['_startingVersion']:_0x21a73b;}['_createInitialRevision'](_0x27fb04){const _0x4fc389=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x4fc389)this['_initialRevisionId']=_0x4fc389['id'];else{const _0x9dbfb8=!this['editor']['model']['document']['roots']['find'](_0x27e1ec=>this['editor']['model']['hasContent'](_0x27e1ec)),_0x1431af=this['editor']['plugins']['get']('Users')['me']['id'],_0x309772=y(this['editor']['locale'],_0x9dbfb8?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x27fb04,'to':_0x27fb04,'id':this['_initialRevisionId'],'name':_0x309772,'creatorId':_0x1431af});}}['_createCurrentRevision'](_0x2763a0){const _0xbdae9c=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0xbdae9c),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x2763a0,'to':_0x2763a0,'id':_0xbdae9c,'name':'','creatorId':null}));}['_makeRevision']({name:_0x1664f2,from:_0x2830e3,to:_0x391557,creatorId:_0x293d3b,id:_0x382f65}){const _0x9609d7=this['buildRevisionData']({'from':_0x2830e3,'to':_0x391557});_0x9609d7['name']=_0x1664f2,_0x9609d7['creatorId']=_0x293d3b,_0x9609d7['id']=_0x382f65;const _0x38f03b=this['addRevisionData'](_0x9609d7);return this['adapter']&&this['_bufferUpdate'](_0x9609d7['id'],_0x9609d7,!0x0),_0x38f03b;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x38432b){return(_0x38432b=_0x38432b['filter'](_0xea0f69=>!_0xea0f69['name']||'revision-start'!==_0xea0f69['name']&&'revision-end'!==_0xea0f69['name']))['forEach'](_0x4b3380=>{'string'!=typeof _0x4b3380&&(_0x4b3380['children']=this['_removeRevisionMarkers'](_0x4b3380['children']),_0x4b3380['attributes']=_0x4b3380['attributes']['filter'](_0x4cb834=>!_0x4cb834[0x0]['startsWith']('data-revision-')));}),_0x38432b;}}function B(_0x5bf2b0,_0x315424){const _0x1a4628=_0x315424['editing']['view']['document'];if('string'==typeof _0x5bf2b0)return new _0x2a64f1(_0x1a4628,_0x5bf2b0);{const _0x42c15b=_0x5bf2b0['children']['map'](_0xa90359=>B(_0xa90359,_0x315424));return new(T[_0x5bf2b0['type']]||_0x145ccd)(_0x1a4628,_0x5bf2b0['name'],_0x5bf2b0['attributes'],_0x42c15b);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x374c21){this['editor']=_0x374c21,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'](_0x44d1f1){this['source']=_0x44d1f1;const _0x5389b5=new Map(),_0x47ba8e=new Map(),_0x53fd88=this['editor']['model']['document']['roots']['map'](_0xf2ac2a=>_0xf2ac2a['rootName']);for(const _0x2434c9 of _0x53fd88){const _0x166a9f=this['editor']['model']['document']['getRoot'](_0x2434c9),_0x3892f8=q(_0x166a9f);_0x5389b5['set'](_0x2434c9,_0x3892f8),_0x47ba8e['set'](_0x2434c9,Object['fromEntries'](_0x166a9f['getAttributes']()));}const _0x18ffc1=Array['from'](this['editor']['model']['markers'])['map'](_0x3de7ff=>[_0x3de7ff['name'],_0x3de7ff['getRange']()]),_0x3464a6=this['source']['version'];this['_saveMetaData'](_0x3464a6,_0x5389b5,_0x18ffc1,_0x47ba8e),this['_startingRevisionId']=this['_revisionId'];const _0x21dcd8=new Map(),_0x24e05b=new Map();for(const _0x4b6ba9 of _0x53fd88){const _0x415007=G(_0x4b6ba9);_0x21dcd8['set'](_0x4b6ba9,_0x415007),_0x24e05b['set'](_0x4b6ba9,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x21dcd8,[],_0x24e05b);}['getData'](_0x3519eb,_0x54129){if(this['_lastFrom']===_0x3519eb&&this['_lastTo']<=_0x54129)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x54129,!0x0);else{if(!this['_savedMetaData']['has'](_0x3519eb)){const _0xa14bd4=this['_getPreviousFrom'](_0x3519eb);this['_calculateMetaData'](_0xa14bd4,_0x3519eb,!0x1);}this['_calculateMetaData'](_0x3519eb,_0x54129,!0x0);}return this['_lastFrom']=_0x3519eb,this['_lastTo']=_0x54129,this['_getState']();}['loadState'](_0x1f1a18){this['_reset'](),this['_lastFrom']=_0x1f1a18['fromVersion'],this['_lastTo']=_0x1f1a18['toVersion'];for(const _0x2e0f90 in _0x1f1a18['diffData']){const _0x1ed2d3=_0x1f1a18['diffData'][_0x2e0f90]['attachChange'],_0x23d71a=_0x399b37(_0x1f1a18['diffData'][_0x2e0f90]['attributesBefore'])||{},_0x4ee1b2=this['_makeModelFromViewString'](_0x1f1a18['diffData'][_0x2e0f90]['deletions']);_0x4ee1b2['rootName']=_0x2e0f90,_0x4ee1b2['_isAttached']=!_0x1ed2d3||!_0x1ed2d3['isAttached'],_0x4ee1b2['isAttached']=()=>_0x4ee1b2['_isAttached'],this['_baseRoots']['set'](_0x2e0f90,_0x4ee1b2),this['_baseRootsAttributes']['set'](_0x2e0f90,_0x23d71a),_0x1ed2d3&&this['_touchedRoots']['set'](_0x2e0f90,_0x1ed2d3);const _0x54b142=this['_makeIdsRoot'](_0x4ee1b2);this['_baseIdsRoots']['set'](_0x2e0f90,_0x54b142);for(const [_0x3466bc,_0x47791f]of _0x4ee1b2['markers']){if(!_0x3466bc['startsWith']('revision:'))continue;const _0x48e623=_0x3466bc['split'](':')[0x2];for(const _0x327b7c of _0x47791f['getWalker']({'singleCharacters':!0x0})){const _0x3eb841=this['_getVidAttributeName'](_0x327b7c),_0x55200f='elementEnd'==_0x327b7c['type']?_0x327b7c['previousPosition']['path']['slice'](0x0,-0x1):_0x327b7c['previousPosition']['path'],_0x1d1b1f=_0x54b142['getNodeByPath'](_0x55200f)['getAttribute'](_0x3eb841);this['_touched']['set'](_0x1d1b1f,{'userId':_0x48e623});}}}this['_startingRevisionId']=this['_revisionId'];const _0x1ca28f=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x2c2bd0=>!this['_touched']['has'](_0x2c2bd0));let _0x2f570c=0x0;const _0x308e80=new Map();for(const _0x20763b in _0x1f1a18['diffData']){const _0x699032=_0x1f1a18['diffData'][_0x20763b]['attachChange'],_0xbcf088=_0x399b37(_0x1f1a18['diffData'][_0x20763b]['attributesAfter'])||{},_0x48c667=this['_makeModelFromViewString'](_0x1f1a18['diffData'][_0x20763b]['insertions']);_0x48c667['rootName']=_0x20763b,_0x48c667['_isAttached']=!_0x699032||_0x699032['isAttached'],_0x48c667['isAttached']=()=>_0x48c667['_isAttached'],this['_diffRoots']['set'](_0x20763b,_0x48c667),this['_diffRootsAttributes']['set'](_0x20763b,_0xbcf088);const _0x5e0848=this['_makeIdsRoot'](_0x48c667,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x20763b,_0x5e0848),_0x308e80['set'](_0x20763b,_0x48c667['isAttached']()?_0xbcf088:{});for(const [_0x48cf43,_0x165dab]of _0x48c667['markers']){if(!_0x48cf43['startsWith']('revision:'))continue;const _0x366c8e=_0x48cf43['split'](':')[0x2];for(const _0x502851 of _0x165dab['getWalker']({'singleCharacters':!0x0})){const _0x57a391=this['_getVidAttributeName'](_0x502851),_0x2a454a=this['_revisionId']++,_0x43efc7='elementEnd'==_0x502851['type']?_0x502851['previousPosition']['path']['slice'](0x0,-0x1):_0x502851['previousPosition']['path'];_0x5e0848['getNodeByPath'](_0x43efc7)['_setAttribute'](_0x57a391,_0x2a454a),this['_touched']['set'](_0x2a454a,{'userId':_0x366c8e});}}for(const _0x20c2f6 of this['editor']['model']['createRangeIn'](_0x48c667)['getWalker']({'singleCharacters':!0x0})){const _0x3087af=this['_getVidAttributeName'](_0x20c2f6),_0x365893='elementEnd'==_0x20c2f6['type']?_0x20c2f6['previousPosition']['path']['slice'](0x0,-0x1):_0x20c2f6['previousPosition']['path'],_0x5d1e50=_0x5e0848['getNodeByPath'](_0x365893);_0x5d1e50['getAttribute'](_0x3087af)>0x0||_0x5d1e50['_setAttribute'](_0x3087af,_0x1ca28f[_0x2f570c++]);}for(const [_0xe990d0,_0x648323]of _0x48c667['markers'])_0xe990d0['startsWith']('revision:')||this['_markers']['set'](_0xe990d0,_0x648323);}const _0x54ab99=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x54ab99),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x54ab99,0x1));const _0x4c8c66=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x4c8c66),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4c8c66,0x1));const _0x2fe451=Array['from'](this['_diffRoots'])['map'](([_0x43ac19,_0x53d2c7])=>[_0x43ac19,q(_0x53d2c7)]);this['_saveMetaData'](this['_lastTo'],_0x2fe451,this['_markers'],_0x308e80);}['_makeModelFromViewString'](_0x2b50a1){const _0x41301e=JSON['parse'](_0x2b50a1),_0x2576c8=this['editor']['editing']['view']['document'],_0xda81cf=new _0x319d91(_0x2576c8,_0x41301e['map'](_0x5d8541=>B(_0x5d8541,this['editor'])));return this['editor']['data']['toModel'](_0xda81cf);}['_saveMetaData'](_0x340fe2,_0x3deaf1,_0x988763,_0x7479f2){const _0x1f32f1=new Map(_0x3deaf1),_0x4a7973=new Map(_0x399b37(_0x7479f2)),_0x5db6bd=new Map();for(const [_0xa6c73a,_0xc2c45b]of _0x988763)_0x5db6bd['set'](_0xa6c73a,{'start':_0xc2c45b['start']['clone'](),'end':_0xc2c45b['end']['clone'](),'rootName':_0xc2c45b['root']['rootName']});this['_savedMetaData']['set'](_0x340fe2,{'roots':_0x1f32f1,'markers':_0x5db6bd,'rootsAttributes':_0x4a7973});}['_removeMetaData'](_0x297887){this['_savedMetaData']['delete'](_0x297887);}['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'](_0x31820e,_0x58afd2=null){let _0x48b771=null;_0x31820e['is']('documentFragment')||(_0x48b771=new ft(_0x31820e['name'],{'vid_start':null===_0x58afd2?this['_revisionId']++:_0x58afd2++}));const _0x3bc8cf=[];for(const _0x25bf74 of _0x31820e['getChildren']())if(_0x25bf74['is']('element')){_0x3bc8cf['push'](this['_makeIdsRoot'](_0x25bf74,_0x58afd2));const _0x22256c=_0x3bc8cf[_0x3bc8cf['length']-0x1];null!==_0x58afd2&&(_0x58afd2=_0x22256c['is']('element','$text')?_0x22256c['getAttribute']('vid')+0x1:_0x22256c['getAttribute']('vid_end')+0x1);}else{for(let _0x5332c7=0x0;_0x5332c7<_0x25bf74['offsetSize'];_0x5332c7++)_0x3bc8cf['push'](new ft('$text',{'vid':null===_0x58afd2?this['_revisionId']++:_0x58afd2++}));}if(_0x31820e['is']('documentFragment')){const _0x598b50=G(_0x31820e['rootName']);return _0x598b50['_insertChild'](0x0,_0x3bc8cf),_0x598b50;}return _0x48b771['_setAttribute']('vid_end',null===_0x58afd2?this['_revisionId']++:_0x58afd2++),_0x48b771['_insertChild'](0x0,_0x3bc8cf),_0x48b771;}['_calculateMetaData'](_0x3d72d3,_0x4124c5,_0xe8d804){this['_reset']();const {roots:_0x686eed,markers:_0x9f7b5d,rootsAttributes:_0x2fa6fe}=this['_savedMetaData']['get'](_0x3d72d3);this['_baseRoots']=new Map(_0x686eed),this['_baseRootsAttributes']=new Map(_0x399b37(_0x2fa6fe));for(const [_0x4789ef,_0x578195]of this['_baseRoots'])if('$graveyard'!==_0x4789ef&&(this['_diffRoots']['set'](_0x4789ef,q(_0x578195)),this['_diffRootsAttributes']=new Map(_0x399b37(_0x2fa6fe)),_0xe8d804)){const _0x2c9880=this['_revisionId'];this['_idsRoots']['set'](_0x4789ef,this['_makeIdsRoot'](_0x578195)),this['_baseIdsRoots']['set'](_0x4789ef,this['_makeIdsRoot'](_0x578195,_0x2c9880));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0xe8d804&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xefc6d0,_0x4623ff]of _0x9f7b5d){const _0x171f6a=this['_baseRoots']['get'](_0x4623ff['rootName']),_0x3c350a=this['_diffRoots']['get'](_0x4623ff['rootName']),_0x1f6cfc=new vt(this['_fixPosition'](_0x4623ff['start'],_0x171f6a),this['_fixPosition'](_0x4623ff['end'],_0x171f6a)),_0x2573b8=this['_fixRange'](_0x1f6cfc,_0x3c350a);_0x171f6a['markers']['set'](_0xefc6d0,_0x1f6cfc),this['_markers']['set'](_0xefc6d0,_0x2573b8);}this['_applyOperations'](_0x3d72d3,_0x4124c5,_0xe8d804);}['_applyOperations'](_0x23b023,_0x1971fd,_0x140e00){for(const _0x1d8c42 of this['source']['getOperations'](_0x23b023,_0x1971fd))this['_handleOperation'](_0x1d8c42,_0x140e00);for(const _0x4dc89d of this['_diffRoots']['values']())_0x4dc89d['markers']['clear']();for(const [_0x9027db,_0x209f94]of this['_markers']){this['_diffRoots']['get'](_0x209f94['root']['rootName'])['markers']['set'](_0x9027db,_0x209f94['clone']());}const _0x216e5c=new Map(),_0x13aaf6=new Map();for(const [_0x1f8403,_0x11bfc4]of this['_diffRoots'])_0x216e5c['set'](_0x1f8403,q(_0x11bfc4)),_0x13aaf6['set'](_0x1f8403,this['_diffRootsAttributes']['get'](_0x1f8403));this['_saveMetaData'](_0x1971fd,_0x216e5c,this['_markers'],_0x13aaf6);}['_getPreviousFrom'](_0x55ee96){const _0x5b8f54=Array['from'](this['_savedMetaData']['keys']());_0x5b8f54['sort']((_0x213561,_0x34a367)=>_0x213561-_0x34a367),_0x5b8f54['reverse']();for(const _0x1d4ba4 of _0x5b8f54)if(_0x1d4ba4<_0x55ee96)return _0x1d4ba4;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x353b12,_0x867d5d){const _0x196b3f=Array['from'](_0x867d5d['markers'])['map'](([_0xbaf08f,_0x3184fa])=>[_0xbaf08f,this['_fixRange'](_0x3184fa,_0x353b12)]);_0x353b12['markers']=new Map(_0x196b3f);}['_transformMarkers'](_0x900e99){for(const _0x386858 of this['_markers']['values']()){const _0x30a610=_0x386858['getTransformedByOperation'](_0x900e99),_0x39eff7=vt['_createFromRanges'](_0x30a610);_0x386858['start']=_0x39eff7['start'],_0x386858['end']=_0x39eff7['end'];}}['_handleOperation'](_0xdc878a,_0x2cd30b){if('addRoot'==_0xdc878a['type']||'detachRoot'==_0xdc878a['type'])return void this['_handleRootOperation'](_0xdc878a,_0x2cd30b);if('insert'==_0xdc878a['type']){const _0x5f0bf2=_0xdc878a['position']['root']['rootName'];this['_diffRoots']['has'](_0x5f0bf2)||(this['_diffRoots']['set'](_0x5f0bf2,G(_0x5f0bf2,!0x0)),this['_diffRootsAttributes']['set'](_0x5f0bf2,{}),_0x2cd30b&&this['_idsRoots']['set'](_0x5f0bf2,G(_0x5f0bf2,!0x0)));}else{if('addRootAttribute'==_0xdc878a['type']||'removeRootAttribute'==_0xdc878a['type']||'changeRootAttribute'==_0xdc878a['type'])return void this['_handleRootAttributeOperation'](_0xdc878a);}const _0x1d9635=this['_cloneOperation'](_0xdc878a,this['_diffRoots']);if('marker'!==_0xdc878a['type']&&(_0x1d9635['_execute'](),this['_transformMarkers'](_0x1d9635)),_0x2cd30b)switch(_0x1d9635['type']){case'insert':this['_handleInsertOperation'](_0xdc878a);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0xdc878a);break;case'merge':this['_handleMergeOperation'](_0xdc878a);break;case'split':this['_handleSplitOperation'](_0xdc878a);break;case'marker':this['_handleMarkerOperation'](_0xdc878a);}}['_cloneOperation'](_0x577cac,_0x285201){const _0x204a45=_0x577cac['clone']();return _0x204a45['_authorId']=_0x577cac['_authorId'],this['_fixOperation'](_0x204a45,_0x285201),_0x204a45;}['_getBaseVids'](_0x323c2e){return _0x323c2e['map'](_0x511fb6=>{const _0x2927f5=this['_getVidAttributeName'](_0x511fb6);return Number(_0x511fb6['item']['getAttribute'](_0x2927f5));});}['_generateTape'](_0x4916d6,_0x3543ef){if(_0x4916d6['is']('element','$text'))_0x3543ef['push']({'item':_0x4916d6,'type':'text'});else{_0x4916d6['is']('element')&&_0x3543ef['push']({'item':_0x4916d6,'type':'elementStart'});for(const _0x50b338 of _0x4916d6['getChildren']())this['_generateTape'](_0x50b338,_0x3543ef);_0x4916d6['is']('element')&&_0x3543ef['push']({'item':_0x4916d6,'type':'elementEnd'});}return _0x3543ef;}['_getState'](){const _0x1edc0d=new Map(this['_touched']),_0x42c10e=new Map(_0x1edc0d),_0x2e376b=new Map(),_0x2c2bbf={'insertions':{},'deletions':{}},_0x413d90={'insertions':{},'deletions':{}},_0x3853d2=new Map(),_0x298dc6=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x298dc6['delete']('$graveyard');for(const _0x36395e of _0x298dc6){const _0x31e14f=this['_diffRoots']['get'](_0x36395e)||G(_0x36395e,!0x1),_0x3dc58d=this['_baseRoots']['get'](_0x36395e)||G(_0x36395e,!0x1);_0x31e14f['isAttached']()||_0x3dc58d['isAttached']()?(_0x2c2bbf['insertions'][_0x36395e]=q(_0x31e14f),_0x2c2bbf['deletions'][_0x36395e]=q(_0x3dc58d),this['_copyMarkers'](_0x2c2bbf['deletions'][_0x36395e],_0x3dc58d),this['_copyMarkers'](_0x2c2bbf['insertions'][_0x36395e],_0x31e14f),_0x413d90['insertions'][_0x36395e]=this['_generateTape'](this['_idsRoots']['get'](_0x36395e),[]),_0x413d90['deletions'][_0x36395e]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x36395e)||G(_0x36395e,!0x1),[])):_0x298dc6['delete'](_0x36395e);}for(const _0x4e8f89 of _0x298dc6){const _0x59847c=_0x413d90['insertions'][_0x4e8f89];for(const _0x5e62a1 of _0x59847c){const _0x3223ba=this['_getVidAttributeName'](_0x5e62a1),_0x40954c=_0x5e62a1['item']['getAttribute'](_0x3223ba);_0x42c10e['delete'](_0x40954c),_0x40954c>=this['_startingRevisionId']&&_0x2e376b['set'](_0x40954c,_0x1edc0d['get'](_0x40954c));}}for(const _0x23b435 of _0x298dc6){const _0x17bafc=_0x413d90['insertions'][_0x23b435],_0x9ae682=this['_getBaseVids'](_0x413d90['deletions'][_0x23b435]);let _0x40bdc7=0x0;for(const _0x532035 of _0x17bafc){const _0x60104f=this['_getVidAttributeName'](_0x532035),_0x464cb6=_0x532035['item']['getAttribute'](_0x60104f);if(!_0x2e376b['has'](_0x464cb6)&&!_0x3853d2['has'](_0x464cb6)){if(_0x42c10e['has'](_0x464cb6))_0x40bdc7++;else{if(_0x464cb6!=_0x9ae682[_0x40bdc7]){const _0x2e4c18=_0x1edc0d['get'](_0x464cb6)||_0x1edc0d['get'](_0x9ae682[_0x40bdc7]);for(;_0x464cb6!=_0x9ae682[_0x40bdc7];)_0x42c10e['has'](_0x9ae682[_0x40bdc7])||(_0x3853d2['set'](_0x9ae682[_0x40bdc7],_0x2e4c18),_0x1edc0d['set'](_0x9ae682[_0x40bdc7],_0x2e4c18)),_0x40bdc7++;}_0x40bdc7++;}}}}for(const _0x253a81 of _0x298dc6){const _0x53d496=_0x413d90['insertions'][_0x253a81];for(const _0x177abe of _0x53d496){const _0x2321b7=this['_getVidAttributeName'](_0x177abe),_0x5c9c5a=_0x177abe['item']['getAttribute'](_0x2321b7);if(_0x3853d2['has'](_0x5c9c5a)){const _0x3841da=_0x3853d2['get'](_0x5c9c5a);_0x42c10e['has'](_0x5c9c5a)||_0x42c10e['set'](_0x5c9c5a,{..._0x3841da}),_0x2e376b['set'](_0x5c9c5a,{..._0x3841da});}}}for(const _0xa6be78 of _0x42c10e['keys']())_0xa6be78>=this['_startingRevisionId']&&_0x42c10e['delete'](_0xa6be78);const _0x28e93d=new Map();for(const _0x3f147f of _0x298dc6){let _0x1b2ba1=_0x413d90['insertions'][_0x3f147f];for(const _0x70ef16 of _0x1b2ba1)if(_0x70ef16['item']['is']('element','tableCell')){const _0x5dda63=this['_getVidAttributeName'](_0x70ef16),_0x77e5ba=_0x70ef16['item']['getAttribute'](_0x5dda63);if(_0x2e376b['has'](_0x77e5ba)){const _0x4a451d=_0x70ef16['item']['parent']['parent']['getAttribute']('vid_start'),_0x3e937a=_0x28e93d['get'](_0x4a451d)||new Set();_0x3e937a['add'](_0x2e376b['get'](_0x77e5ba)['userId']),_0x28e93d['set'](_0x4a451d,_0x3e937a);}}_0x1b2ba1=_0x413d90['deletions'][_0x3f147f];for(const _0x284578 of _0x1b2ba1)if(_0x284578['item']['is']('element','tableCell')){const _0xfbcd8a=this['_getVidAttributeName'](_0x284578),_0x550e44=_0x284578['item']['getAttribute'](_0xfbcd8a);if(_0x42c10e['has'](_0x550e44)){const _0x22b92b=_0x284578['item']['parent']['parent']['getAttribute']('vid_start'),_0x3855de=_0x28e93d['get'](_0x22b92b)||new Set();_0x3855de['add'](_0x42c10e['get'](_0x550e44)['userId']),_0x28e93d['set'](_0x22b92b,_0x3855de);}}for(const _0x2e0458 of _0x28e93d['keys']())(_0x2e376b['has'](_0x2e0458)||_0x42c10e['has'](_0x2e0458))&&_0x28e93d['delete'](_0x2e0458);}for(const _0xe53dcb of _0x298dc6){const _0x1c0e27=_0x413d90['insertions'][_0xe53dcb];let _0x4bffb7=null,_0x4cd7ce=null;for(const _0x223fc4 of _0x1c0e27){const _0x20c3c3=this['_getVidAttributeName'](_0x223fc4),_0x588fa1=_0x223fc4['item']['getAttribute'](_0x20c3c3),_0x54afd0=_0x28e93d['get'](_0x588fa1);_0x54afd0&&'elementStart'==_0x223fc4['type']&&(_0x4bffb7=Array['from'](_0x54afd0)[0x0],_0x4cd7ce=_0x223fc4['item']['getAttribute']('vid_end')),_0x4bffb7&&(_0x42c10e['set'](_0x588fa1,{'userId':_0x4bffb7}),_0x2e376b['set'](_0x588fa1,{'userId':_0x4bffb7})),_0x588fa1==_0x4cd7ce&&(_0x4bffb7=null,_0x4cd7ce=null);}}const _0x5ec364={},_0x389e75=new Set();for(const _0x301640 of _0x298dc6){const _0x5680c7=_0x2c2bbf['deletions'][_0x301640],_0x293150=_0x2c2bbf['insertions'][_0x301640];for(const {userId:_0x27791b}of this['_touchedMarkers']['values']())null!==_0x27791b&&_0x389e75['add'](_0x27791b);for(const {userId:_0x24e281}of this['_touchedRoots']['values']())null!==_0x24e281&&_0x389e75['add'](_0x24e281);this['_markChanges'](_0x293150,_0x413d90['insertions'][_0x301640],_0x2e376b,'insertion',_0x389e75),this['_markChanges'](_0x5680c7,_0x413d90['deletions'][_0x301640],_0x42c10e,'deletion',_0x389e75),_0x5ec364[_0x301640]={'insertions':this['_prepareViewToSave'](_0x293150),'deletions':this['_prepareViewToSave'](_0x5680c7),'attachChange':this['_touchedRoots']['get'](_0x301640)||null,'attributesBefore':_0x399b37(this['_baseRootsAttributes']['get'](_0x301640))||{},'attributesAfter':_0x399b37(this['_diffRootsAttributes']['get'](_0x301640))};}return{'diffData':_0x5ec364,'authorsIds':Array['from'](_0x389e75)};}['_processRootBeforeSave'](_0x3e453a){for(const [,_0x2fc989]of _0x3e453a['markers']){const _0x5738b6=_0x2fc989['start']['getAncestors']()['filter'](_0x6a8a54=>'tableCell'==_0x6a8a54['name']);for(const _0x49f427 of _0x5738b6)0x1==_0x49f427['childCount']&&_0x49f427['getChild'](0x0)['is']('element','paragraph')&&_0x49f427['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x9da572){this['_processRootBeforeSave'](_0x9da572);const _0x7f1858=this['editor']['data']['toView'](_0x9da572,{}),_0x744c1f=Array['from'](_0x7f1858['getChildren']())['map'](_0x1ac2d3=>this['_getViewJson'](_0x1ac2d3));return JSON['stringify'](_0x744c1f);}['_getViewJson'](_0x5a00dc){if(_0x5a00dc['is']('$text'))return _0x5a00dc['data'];{const _0x35327c=_0x5a00dc;return{'type':Object['keys'](T)['find'](_0xff8eac=>_0x5a00dc instanceof T[_0xff8eac]),'name':_0x35327c['name'],'attributes':Array['from'](_0x35327c['getAttributes']()),'children':Array['from'](_0x35327c['getChildren']())['map'](_0x3c49b9=>this['_getViewJson'](_0x3c49b9))};}}['_markChanges'](_0x206598,_0x248bb5,_0x148888,_0x2aff1d,_0x58d6ab){let _0x4c6177=null,_0x22d7e3=null,_0x10edea=0x0;const _0x1eedb1=this['editor']['model'];for(let _0x1807ff=0x0;_0x1807ff<_0x248bb5['length'];_0x1807ff++){const _0x22e012=this['_getVidAttributeName'](_0x248bb5[_0x1807ff]),_0x2aed71=_0x248bb5[_0x1807ff]['item']['getAttribute'](_0x22e012),_0x23d08d=_0x148888['get'](_0x2aed71),_0x15801e=_0x1807ff==_0x248bb5['length']-0x1;(!_0x4c6177&&_0x23d08d&&(_0x4c6177=_0x23d08d,_0x22d7e3=_0x248bb5[_0x1807ff]),_0x4c6177&&(!_0x23d08d||_0x23d08d['userId']!=_0x4c6177['userId']))&&(_0x309543(_0x23d08d,L(_0x22d7e3,_0x206598,_0x1eedb1),L(_0x248bb5[_0x1807ff],_0x206598,_0x1eedb1)),_0x4c6177=_0x23d08d||null,_0x22d7e3=_0x23d08d?_0x248bb5[_0x1807ff]:null),_0x4c6177&&_0x15801e&&_0x309543(_0x23d08d,L(_0x22d7e3,_0x206598,_0x1eedb1),W(_0x248bb5[_0x1807ff],_0x206598,_0x1eedb1));}function _0x309543(_0x141665,_0x1536c2,_0x38f4e1){const _0x1e3898=_0x4c6177['userId'],_0x22218e='revision:'+_0x2aff1d+':'+_0x1e3898+':'+_0x10edea++,_0x5cc53b=_0x1eedb1['createRange'](_0x1536c2,_0x38f4e1);_0x206598['markers']['set'](_0x22218e,_0x5cc53b),null!==_0x1e3898&&_0x58d6ab['add'](_0x1e3898);}}['_getVidAttributeName'](_0x39a3a8){switch(_0x39a3a8['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0xa7e31f,_0x7b5a89){_0xa7e31f['baseVersion']=null;for(const _0xd3df4e in _0xa7e31f){const _0xf21c84=_0xa7e31f[_0xd3df4e];if(_0xf21c84 instanceof gt){const _0x71aa23=_0x7b5a89['get'](_0xf21c84['root']['rootName']);_0xa7e31f[_0xd3df4e]=this['_fixPosition'](_0xf21c84,_0x71aa23);}if(_0xf21c84 instanceof vt){const _0x500b6d=_0x7b5a89['get'](_0xf21c84['root']['rootName']);_0xa7e31f[_0xd3df4e]=this['_fixRange'](_0xf21c84,_0x500b6d);}'root'===_0xd3df4e&&(_0xa7e31f['root']=_0x7b5a89['get'](_0xa7e31f['root']['rootName']));}}['_fixRange'](_0x2eb04c,_0x27bb3b){return this['editor']['model']['createRange'](this['_fixPosition'](_0x2eb04c['start'],_0x27bb3b),this['_fixPosition'](_0x2eb04c['end'],_0x27bb3b));}['_fixPosition'](_0x4fb71d,_0x9bbbfc){return this['editor']['model']['createPositionFromPath'](_0x9bbbfc,_0x4fb71d['path'],_0x4fb71d['stickiness']);}['_handleInsertOperation'](_0x277e24){const _0x2f09f2=this['_idsRoots']['get'](_0x277e24['position']['root']['rootName']),_0x518bdf=this['_fixPosition'](_0x277e24['position'],_0x2f09f2),_0x1faf11=null===_0x277e24['_authorId']?null:_0x277e24['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4454c2=_0x518bdf['parent'],_0x27e892=this['_revisionId'],_0x1e7954=[];for(const _0x3830d8 of _0x277e24['nodes'])if(_0x3830d8['is']('element'))_0x1e7954['push'](this['_makeIdsRoot'](_0x3830d8));else{for(let _0x3902e7=0x0;_0x3902e7<_0x3830d8['offsetSize'];_0x3902e7++)_0x1e7954['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0xd6716d=this['_revisionId'];for(let _0x4c009c=_0x27e892;_0x4c009c<_0xd6716d;_0x4c009c++)this['_touched']['set'](_0x4c009c,{'userId':_0x1faf11});_0x4454c2['_insertChild'](_0x518bdf['offset'],_0x1e7954);}['_handleMoveOperation'](_0x5a0244){(_0x5a0244=this['_cloneOperation'](_0x5a0244,this['_idsRoots']))['_execute']();const _0x3272bb=null===_0x5a0244['_authorId']?null:_0x5a0244['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xb31ec4=_0x5a0244['getMovedRangeStart'](),_0x31c31e=_0xb31ec4['parent'],_0x4fec1c=_0xb31ec4['offset'];!function _0x493bb9(_0x300c94,_0x58e5cf,_0x35e128,_0x52469a){for(let _0x293dac=_0x35e128;_0x293dac<_0x52469a;_0x293dac++){const _0x338875=_0x58e5cf['getChild'](_0x293dac);_0x338875['is']('element','$text')?_0x300c94['set'](_0x338875['getAttribute']('vid'),{'userId':_0x3272bb}):(_0x300c94['set'](_0x338875['getAttribute']('vid_start'),{'userId':_0x3272bb}),_0x493bb9(_0x300c94,_0x338875,0x0,_0x338875['childCount']),_0x300c94['set'](_0x338875['getAttribute']('vid_end'),{'userId':_0x3272bb}));}}(this['_touched'],_0x31c31e,_0x4fec1c,_0x4fec1c+_0x5a0244['howMany']);}['_handleMergeOperation'](_0x56999c){const _0xcf1fac=null===(_0x56999c=this['_cloneOperation'](_0x56999c,this['_idsRoots']))['_authorId']?null:_0x56999c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x21a2f6=_0x56999c['targetPosition']['parent'],_0x45505b=_0x56999c['sourcePosition']['parent'],_0x3e5a19=_0x21a2f6['getAttribute']('vid_end'),_0x17f441=_0x45505b['getAttribute']('vid_start');_0x21a2f6['_setAttribute']('vid_end',_0x45505b['getAttribute']('vid_end')),_0x45505b['_setAttribute']('vid_end',_0x3e5a19),this['_touched']['set'](_0x17f441,{'userId':_0xcf1fac}),this['_touched']['set'](_0x3e5a19,{'userId':_0xcf1fac}),_0x56999c['_execute']();}['_handleSplitOperation'](_0x583e3f){const _0x2862da=null===(_0x583e3f=this['_cloneOperation'](_0x583e3f,this['_idsRoots']))['_authorId']?null:_0x583e3f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x279bb3=_0x583e3f['graveyardPosition'],_0x126579=_0x583e3f['splitPosition']['parent'];_0x583e3f['_execute']();const _0x31842f=_0x126579['getAttribute']('vid_end'),_0x27f4fc=_0x583e3f['insertionPosition']['nodeAfter'];if(_0x279bb3){const _0x457d71=_0x27f4fc['getAttribute']('vid_end'),_0x1ef526=_0x126579['getAttribute']('vid_end');_0x126579['_setAttribute']('vid_end',_0x457d71),_0x27f4fc['_setAttribute']('vid_end',_0x1ef526),this['_touched']['set'](_0x126579['getAttribute']('vid_end'),{'userId':_0x2862da}),this['_touched']['set'](_0x27f4fc['getAttribute']('vid_start'),{'userId':_0x2862da});}else{const _0x134536=this['_revisionId']++,_0xcd6c68=this['_revisionId']++;_0x126579['_setAttribute']('vid_end',_0x134536),_0x27f4fc['_setAttribute']('vid_start',_0xcd6c68),_0x27f4fc['_setAttribute']('vid_end',_0x31842f),this['_touched']['set'](_0x134536,{'userId':_0x2862da}),this['_touched']['set'](_0xcd6c68,{'userId':_0x2862da});}}['_handleMarkerOperation'](_0x3dda0b){if(!_0x3dda0b['affectsData'])return;const _0x48c643=(_0x3dda0b=this['_cloneOperation'](_0x3dda0b,this['_diffRoots']))['oldRange']?_0x3dda0b['oldRange']['root']:null,_0x44d121=_0x3dda0b['newRange']?_0x3dda0b['newRange']['root']:null;_0x48c643&&this['_markers']['delete'](_0x3dda0b['name']),_0x44d121&&this['_markers']['set'](_0x3dda0b['name'],_0x3dda0b['newRange']['clone']());const _0x45d140=null===_0x3dda0b['_authorId']?null:_0x3dda0b['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x10ecfe=_0x3dda0b['name'];if(!this['_touchedMarkers']['has'](_0x10ecfe))return void this['_touchedMarkers']['set'](_0x10ecfe,{'range':_0x3dda0b['oldRange'],'userId':_0x45d140});const _0x160c6e=this['_touchedMarkers']['get'](_0x10ecfe),_0xd3965a=_0x160c6e['range'],_0x157f50=_0x3dda0b['newRange'];null==_0xd3965a&&null==_0x157f50||_0xd3965a&&_0x157f50&&_0xd3965a['isEqual'](_0x157f50)?this['_touchedMarkers']['delete'](_0x3dda0b['name']):_0x160c6e['userId']=_0x45d140;}['_handleRootOperation'](_0x261854,_0x1dfba6){this['_diffRoots']['has'](_0x261854['rootName'])?this['_diffRoots']['get'](_0x261854['rootName'])['_isAttached']=_0x261854['isAdd']:(this['_diffRoots']['set'](_0x261854['rootName'],G(_0x261854['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x261854['rootName'],{}),_0x1dfba6&&this['_idsRoots']['set'](_0x261854['rootName'],G(_0x261854['rootName'],!0x0)));const _0x229f83=null===_0x261854['_authorId']?null:_0x261854['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x323ef5=this['_touchedRoots']['get'](_0x261854['rootName']);_0x323ef5&&_0x323ef5['userId']===_0x229f83?this['_touchedRoots']['delete'](_0x261854['rootName']):this['_touchedRoots']['set'](_0x261854['rootName'],{'userId':_0x229f83,'isAttached':_0x261854['isAdd']});}['_handleRootAttributeOperation'](_0x520039){const _0x244ce1=this['_diffRootsAttributes']['get'](_0x520039['root']['rootName']);null===_0x520039['newValue']?delete _0x244ce1[_0x520039['key']]:_0x244ce1[_0x520039['key']]=_0x520039['newValue'];}}function q(_0x31bba1){const _0x421cbe=G(_0x31bba1['rootName'],_0x31bba1['isAttached']());for(const _0x3656c8 of _0x31bba1['getChildren']()){const _0x537177=_0x3656c8['_clone'](!0x0);_0x421cbe['_appendChild'](_0x537177);}return _0x421cbe;}function G(_0x35da3a,_0x24c6f6=!0x0){const _0x4b226a=new wt();return _0x4b226a['rootName']=_0x35da3a,_0x4b226a['_isAttached']=_0x24c6f6,_0x4b226a['isAttached']=()=>_0x4b226a['_isAttached'],_0x4b226a;}function L(_0x5e70c4,_0x2d058d,_0x1d9f53){const _0x55bac4='elementEnd'==_0x5e70c4['type']?_0x1d9f53['createPositionAt'](_0x5e70c4['item'],'end'):_0x1d9f53['createPositionBefore'](_0x5e70c4['item']);return _0x1d9f53['createPositionFromPath'](_0x2d058d,_0x55bac4['path'],_0x55bac4['stickiness']);}function W(_0x14ef2a,_0x1f7dfe,_0x17736d){const _0x30a8a9='elementStart'==_0x14ef2a['type']?_0x17736d['createPositionAt'](_0x14ef2a['item'],0x0):_0x17736d['createPositionAfter'](_0x14ef2a['item']);return _0x17736d['createPositionFromPath'](_0x1f7dfe,_0x30a8a9['path'],_0x30a8a9['stickiness']);}class ns extends _0x337b5c{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x49c845,_0x114e59){super(_0x49c845),this['focusTracker']=new _0x534d14(),this['keystrokes']=new _0x2117c5(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x114e59),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'](),_0x581eb8({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x356d51=_0x31b105=>_0x31b105['stopPropagation']();this['keystrokes']['set']('arrowright',_0x356d51),this['keystrokes']['set']('arrowleft',_0x356d51),this['keystrokes']['set']('arrowup',_0x356d51),this['keystrokes']['set']('arrowdown',_0x356d51);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0xba61fa){this['revisionNameInputView']['fieldView']['element']['value']=_0xba61fa['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x5695ef){const _0x5ce6c7=new at(this['locale'],_0x41d133),_0x321c83=_0x5ce6c7['fieldView'];_0x321c83['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4c69c=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x5695ef&&(_0x4c69c+='\x20('+y(this['locale'],'optional')+')'),(_0x5ce6c7['label']=_0x4c69c,_0x321c83['on']('input',()=>{this['revisionNameInputValue']=_0x321c83['element']['value']['trim']();}),_0x5ce6c7);}}class u extends _0x120911{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0xf49df3=this['editor'],_0x5992dc=_0xf49df3['plugins']['get']('RevisionTracker');_0xf49df3['ui']['componentFactory']['add']('revisionHistory',_0x3af3a3=>{const _0xe81cf2=_0x4f223e(_0x3af3a3),_0x16c01e=_0xe81cf2['panelView']['children'],_0x276f78=new te(_0x3af3a3),_0x22958a=new _0xc4e58e(_0x3af3a3),_0x6047df=new _0x33865b(_0x3af3a3),_0x187df6=new _0xc4e58e(_0x3af3a3),_0x68806e=new _0x33865b(_0x3af3a3);return _0xe81cf2['bind']('isEnabled')['to'](_0x5992dc,'isReady',_0x5992dc,'isEnabled',_0xf49df3,'isReadOnly',(_0x12edea,_0x21670c,_0x2a6270)=>_0x12edea&&_0x21670c&&!_0x2a6270),_0xe81cf2['buttonView']['set']({'icon':_0x1e49c1['history'],'label':y(_0x3af3a3,'Revision\x20history'),'tooltip':!0x0}),_0x6047df['set']({'label':y(_0x3af3a3,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x6047df['bind']('isEnabled')['to'](_0x5992dc,'isReady',_0x5992dc,'isEnabled',_0xf49df3,'isReadOnly',(_0x4b7d59,_0x1665c0,_0x47b036)=>_0x4b7d59&&_0x1665c0&&!_0x47b036),_0x6047df['on']('execute',()=>this['_showDialog']()),_0x68806e['set']({'label':y(_0x3af3a3,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x68806e['bind']('isEnabled')['to'](_0x5992dc,'isReady',_0xf49df3,'isReadOnly',(_0x1c21f7,_0x30d9a2)=>_0x1c21f7&&!_0x30d9a2),_0x68806e['on']('execute',()=>{_0xf49df3['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0xe81cf2['isOpen']=!0x1,_0xf49df3['editing']['view']['focus']();}),_0x22958a['children']['add'](_0x6047df),_0x187df6['children']['add'](_0x68806e),_0x276f78['role']='menu',_0x276f78['items']['addMany']([_0x22958a,_0x187df6]),_0x16c01e['add'](_0x276f78),_0xe81cf2;}),_0xf49df3['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x3538cc=this['editor'],_0xffedb8=_0x3538cc['locale'],_0x3f69fc=new _0x34e15b(_0xffedb8),_0x309763=new _0x3d3d58(_0xffedb8);_0x3f69fc['buttonView']['set']({'icon':_0x1e49c1['history'],'label':y(_0xffedb8,'Revision\x20history')});const _0x164ba3=new _0x22d49a(_0xffedb8,_0x3f69fc),_0x2e86d8=new _0x38c537(_0xffedb8);_0x2e86d8['set']({'label':y(_0xffedb8,'Save\x20current\x20revision')}),_0x2e86d8['delegate']('execute')['to'](_0x3f69fc),_0x2e86d8['on']('execute',()=>{this['_showDialog']();}),_0x164ba3['children']['add'](_0x2e86d8),_0x309763['items']['add'](_0x164ba3);const _0x2b83ec=new _0x22d49a(_0xffedb8,_0x3f69fc),_0x3cc80e=new _0x38c537(_0xffedb8);return _0x3cc80e['set']({'label':y(_0xffedb8,'Open\x20revision\x20history')}),_0x3cc80e['delegate']('execute')['to'](_0x3f69fc),_0x3cc80e['on']('execute',()=>{_0x3538cc['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2b83ec['children']['add'](_0x3cc80e),_0x309763['items']['add'](_0x2b83ec),_0x3f69fc['panelView']['children']['add'](_0x309763),_0x3f69fc;}['_showDialog'](){const _0x369ecc=this['editor'],_0xc69037=_0x369ecc['locale'],t=_0xc69037['t'],_0x11bbf1=_0x369ecc['plugins']['get']('Dialog'),_0x5300b3=_0x369ecc['plugins']['get']('RevisionTracker');function _0x5bc54d(_0x17ee69){_0x369ecc['config']['get']('revisionHistory.requireRevisionName')&&''===_0x17ee69['revisionName']?_0x17ee69['revisionNameInputView']['errorText']=y(_0xc69037,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x369ecc['plugins']['get'](l)['saveRevision']({'name':_0x17ee69['revisionName']}),_0x11bbf1['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x5bc54d(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x11bbf1['show']({'id':'findAndReplace','title':y(_0xc69037,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x11bbf1['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x45bef3){_0x45bef3['bind']('isEnabled')['to'](_0x5300b3,'isReady',_0x5300b3,'isEnabled',_0x369ecc,'isReadOnly',(_0x45272e,_0x48d244,_0x138be5)=>_0x45272e&&_0x48d244&&!_0x138be5);},'onExecute':()=>_0x5bc54d(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x8c24ed=this['editor'],_0xfbacdc=_0x8c24ed['locale'];this['_saveRevisionFormView']=new ns(_0xfbacdc,_0x8c24ed['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x337b5c{['changeId'];['_model'];constructor(_0x28ceef,_0x2f6755){super(_0x28ceef),this['_model']=_0x2f6755,this['changeId']=_0x2f6755['id'];const _0x7ba91b=this['bindTemplate'],_0x414b59=y(_0x28ceef,_0x2f6755['data']['isSuggestion']?'Suggested\x20by':'add'==_0x2f6755['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x2f6755['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x7ba91b['to']('type',_0x360a41=>'ck-revision-change__'+_0x360a41)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x414b59}]},{'text':'\x20'+_0x2f6755['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x26e386(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x282521){super(),this['id']=_0x282521['id']||_0x3b07d1(),this['author']=_0x282521['author'],this['type']=_0x282521['type'],this['data']=_0x282521['data']||{},this['rootName']=_0x282521['rootName'],this['set']('createdAt',_0x282521['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(_0x19c97c,_0x22c37e){this['newRevisionId']=_0x19c97c,this['oldRevisionId']=_0x22c37e,this['changes']=new _0x573400();}['_setChanges'](_0x12983a){for(const _0x45d1c4 of _0x12983a)this['changes']['add'](_0x45d1c4);}}const tt={'c':_0x39e07a,'a':_0x2e9afc,'e':_0x384b08,'r':_0xe96e5f,'u':_0x2701b9};class d extends _0x120911{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x3e4ba6,_0x57cb61,A];}constructor(_0x4abf6b){super(_0x4abf6b),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',(_0x259845,_0x1236ce,_0x2a5cd5)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x251f34=>{for(const _0x3ddb49 of this['editor']['editing']['view']['document']['roots'])_0x2a5cd5?_0x251f34['removeClass']('ck-editor__editable__overlay',_0x3ddb49):_0x251f34['addClass']('ck-editor__editable__overlay',_0x3ddb49);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x1e5ca0=>null!==_0x1e5ca0),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x36b95e,_0x65bb74,_0x302ce5)=>_0x36b95e&&_0x302ce5?_0x65bb74['changes']['getIndex'](_0x302ce5):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x1be908,_0x441fc8)=>_0x1be908?_0x441fc8['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x57cb61);}['init'](){const _0x44d3df=this['editor'],_0x2fcdfc=new yt(_0x44d3df,{'direction':'backward'}),_0x2292e6=new yt(_0x44d3df,{'direction':'forward'});(_0x44d3df['commands']['add']('showPreviousChange',_0x2fcdfc),_0x44d3df['commands']['add']('showNextChange',_0x2292e6),_0x44d3df['commands']['add']('restoreRevision',new bt(_0x44d3df)),this['on']('change:numberOfChanges',()=>{_0x2fcdfc['refresh'](),_0x2292e6['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x44d3df['enableReadOnlyMode']('revision-viewer'),_0x44d3df['plugins']['has']('WidgetToolbarRepository'))&&_0x44d3df['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x33daff){await this['loadRevisionData'](_0x33daff);const _0x2cd5b5={};for(const _0x7494da in _0x33daff['diffData']){if(_0x33daff['diffData'][_0x7494da]['attachChange']&&!_0x33daff['diffData'][_0x7494da]['attachChange']['isAttached'])continue;const _0x2f5370=this['_removeRevisionMarkers'](JSON['parse'](_0x33daff['diffData'][_0x7494da]['insertions'])),_0x1cfbfc=this['editor']['editing']['view']['document'],_0x14b538=new _0x319d91(_0x1cfbfc,_0x2f5370['map'](_0x458281=>this['_getViewObj'](_0x458281)));this['editor']['data']['processor']['useFillerType']('marked'),_0x2cd5b5[_0x7494da]=this['editor']['data']['processor']['toData'](_0x14b538),this['editor']['data']['processor']['useFillerType']('default');}return _0x2cd5b5;}async['getRevisionRootsAttributes'](_0x56e0d3){await this['loadRevisionData'](_0x56e0d3);const _0x55748e={};for(const _0x33ef29 in _0x56e0d3['diffData'])_0x56e0d3['diffData'][_0x33ef29]['attachChange']&&!_0x56e0d3['diffData'][_0x33ef29]['attachChange']['isAttached']||(_0x55748e[_0x33ef29]=_0x56e0d3['diffData'][_0x33ef29]['attributesAfter']||{});return _0x55748e;}['_removeRevisionMarkers'](_0x1751c8){return(_0x1751c8=_0x1751c8['filter'](_0x7dba0f=>!_0x7dba0f['name']||'revision-start'!==_0x7dba0f['name']&&'revision-end'!==_0x7dba0f['name']))['forEach'](_0x1a1155=>{'string'!=typeof _0x1a1155&&(_0x1a1155['children']=this['_removeRevisionMarkers'](_0x1a1155['children']),_0x1a1155['attributes']=_0x1a1155['attributes']['filter'](_0x35aa1e=>!_0x35aa1e[0x0]['startsWith']('data-revision-')));}),_0x1751c8;}async['compare'](_0x5408f2,_0xc86649,_0x50ad74=!0x1){if(!this['isEnabled'])return;const _0x1336d1=this['diff'],_0x2610d2=this['repository'],_0x1f9d26='string'==typeof _0x5408f2?_0x2610d2['getRevision'](_0x5408f2):_0x5408f2,_0x4f5c32='string'==typeof _0xc86649?_0x2610d2['getRevision'](_0xc86649):_0xc86649,_0x66c8f=_0x1f9d26['id'],_0x262b7c=_0x4f5c32?_0x4f5c32['id']:null;if(!_0x50ad74&&this['diff']&&this['diff']['newRevisionId']===_0x66c8f&&this['diff']['oldRevisionId']===_0x262b7c)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x66c8f,_0x262b7c);const _0x22111f=this['_getRevisionsRange'](_0x1f9d26,_0x4f5c32,!0x0)['map'](_0xa46f31=>this['loadRevisionData'](_0xa46f31));return _0x22111f['push'](new Promise(_0x1bedce=>{setTimeout(_0x1bedce,0x14);})),Promise['all'](_0x22111f)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x3b8948=this['_getDiff'](_0x66c8f,_0x262b7c);for(const _0x394af2 of _0x3b8948['changes'])this['_changeIdToChange']['set'](_0x394af2['id'],_0x394af2);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x3fb8dd=>{for(const _0x2c1771 of this['editor']['model']['document']['getRootNames']())_0x3fb8dd['detachRoot'](_0x2c1771);for(const _0x289d79 of Object['keys'](_0x3b8948['model'])){const _0x275d0a=_0x3fb8dd['addRoot'](_0x289d79);for(const _0x4e243e of Object['keys'](_0x3b8948['attributes'][_0x289d79]))_0x3fb8dd['setAttribute'](_0x4e243e,_0x3b8948['attributes'][_0x289d79][_0x4e243e],_0x275d0a);_0x3fb8dd['insert'](_0x3b8948['model'][_0x289d79],_0x275d0a,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x3b8948['changes'])),this['isReady']=!0x0;})['catch'](_0x3ef351=>{console['error'](_0x3ef351),this['_cleanUp'](),_0x1336d1&&(this['diff']=_0x1336d1),this['isReady']=!0x0;});}['addRevisionData'](_0x47e113,_0x8ae167){const _0x1a973a=this['repository']['createRevision'](_0x47e113);return _0x1a973a['on']('_update',(_0x4f072d,_0x296511,_0x104907)=>_0x8ae167(_0x296511,_0x104907,_0x1a973a)),this['repository']['addRevision'](_0x1a973a),_0x1a973a;}['loadRevisionData'](_0xdf1fb1){if(!_0xdf1fb1||_0xdf1fb1['diffData'])return Promise['resolve']();{const _0x4dde1e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x4dde1e,'revisionId':_0xdf1fb1['id']})['then'](_0x7aa0d8=>{_0xdf1fb1['_update']({'diffData':_0x7aa0d8['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},_0x229d34=>{for(const _0x1896af of this['editor']['model']['document']['getRootNames']())_0x229d34['detachRoot'](_0x1896af);});}['_sortAndFilterDiffChanges'](_0x24876b){const _0x2cb057=[],_0x3c9ad7=new Map();for(const _0x41290a of this['editor']['model']['document']['getRootNames']()){const _0x43e3de=this['editor']['editing']['view']['getDomRoot'](_0x41290a);if(!_0x43e3de)continue;const _0x288d6c=_0x43e3de['getClientRects']()['item'](0x0);_0x288d6c&&(_0x2cb057['push'](_0x41290a),_0x3c9ad7['set'](_0x41290a,_0x288d6c));}return _0x2cb057['sort']((_0x92e19e,_0x4bf7c7)=>{const _0x1a06bf=_0x3c9ad7['get'](_0x92e19e),_0x4dff94=_0x3c9ad7['get'](_0x4bf7c7);return _0x1a06bf['y']-_0x4dff94['y']||_0x1a06bf['x']-_0x4dff94['x'];}),(_0x24876b=_0x24876b['filter'](_0x3677ba=>_0x2cb057['includes'](_0x3677ba['rootName'])))['sort']((_0x4380be,_0x15e5be)=>_0x2cb057['indexOf'](_0x4380be['rootName'])-_0x2cb057['indexOf'](_0x15e5be['rootName'])),_0x24876b;}['_makeTape'](_0x3035f6){const _0x2b740a=Array['from'](_0x3035f6['markers'])['filter'](([_0x2c82ef,_0x420136])=>_0x2c82ef['startsWith']('revision:')&&!_0x420136['isCollapsed']),_0x23adf9=Array['from'](this['editor']['model']['createRangeIn'](_0x3035f6)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x2b740a['length'])for(const _0x44b855 of _0x23adf9){const [_0x37785a,_0x4ecb77]=_0x2b740a[0x0],[,_0x13cd87,_0xeb323a]=_0x37785a['split'](':');if(_0x4ecb77['end']['isEqual'](_0x44b855['nextPosition'])&&_0x2b740a['shift'](),(_0x44b855['previousPosition']['isEqual'](_0x4ecb77['start'])||_0x44b855['previousPosition']['isAfter'](_0x4ecb77['start']))&&('insertion'==_0x13cd87?_0x44b855['isAdded']={'userId':_0xeb323a}:'deletion'==_0x13cd87&&(_0x44b855['isRemoved']={'userId':_0xeb323a})),0x0==_0x2b740a['length'])break;}return _0x23adf9;}['_refreshStartEndIndex'](_0x11f801){const _0x3ca82e=new Map();for(let _0x3d92c8=0x0;_0x3d92c8<_0x11f801['length'];_0x3d92c8++)'text'===_0x11f801[_0x3d92c8]['type']?(_0x11f801[_0x3d92c8]['item']['startIndex']=_0x3d92c8,_0x11f801[_0x3d92c8]['item']['endIndex']=_0x3d92c8):('elementStart'===_0x11f801[_0x3d92c8]['type']?_0x11f801[_0x3d92c8]['item']['startIndex']=_0x3d92c8:'elementEnd'===_0x11f801[_0x3d92c8]['type']&&(_0x11f801[_0x3d92c8]['item']['endIndex']=_0x3d92c8),_0x3ca82e['set'](_0x11f801[_0x3d92c8]['id'],_0x3d92c8));for(const _0x5b5b2c of _0x3ca82e['values']())'elementStart'===_0x11f801[_0x5b5b2c]['type']?_0x11f801[_0x5b5b2c]['item']['endIndex']=_0x3ca82e['get'](_0x11f801[_0x5b5b2c]['pairId']):'elementEnd'===_0x11f801[_0x5b5b2c]['type']&&(_0x11f801[_0x5b5b2c]['item']['startIndex']=_0x3ca82e['get'](_0x11f801[_0x5b5b2c]['pairId']));}['_processTape'](_0x178e40){for(let _0x5b4f0f=0x0;_0x5b4f0f<_0x178e40['length'];_0x5b4f0f++){if('elementStart'===_0x178e40[_0x5b4f0f]['type'])_0x178e40[_0x5b4f0f]['item']['startIndex']=_0x5b4f0f;else{if('elementEnd'===_0x178e40[_0x5b4f0f]['type']){_0x178e40[_0x5b4f0f]['item']['endIndex']=_0x5b4f0f;const _0x4513da=_0x178e40[_0x5b4f0f]['item']['startIndex'];_0x178e40[_0x4513da]['pairId']=_0x178e40[_0x5b4f0f]['id'],_0x178e40[_0x5b4f0f]['pairId']=_0x178e40[_0x4513da]['id'];}else _0x178e40[_0x5b4f0f]['item']['startIndex']=_0x5b4f0f,_0x178e40[_0x5b4f0f]['item']['endIndex']=_0x5b4f0f,_0x178e40[_0x5b4f0f]['pairId']=null;}_0x178e40[_0x5b4f0f]['markersStart']||(_0x178e40[_0x5b4f0f]['markersStart']=[],_0x178e40[_0x5b4f0f]['markersEnd']=[]);}}['_markInsertions'](_0x1135ab,_0x139b0){const _0x1d85e6=_0x1135ab['filter'](_0x2462f6=>!_0x2462f6['isAdded']);for(let _0x5a46dd=0x0;_0x5a46dd<_0x139b0['length'];_0x5a46dd++)_0x139b0[_0x5a46dd]['isAdded']&&(_0x1d85e6[_0x5a46dd]['isAdded']=_0x139b0[_0x5a46dd]['isAdded']);}['_makeModelFromViewString'](_0x367189){const _0x14ee6e=JSON['parse'](_0x367189),_0x55276e=this['editor']['editing']['view']['document'],_0x208b0e=new _0x319d91(_0x55276e,_0x14ee6e['map'](_0x38a375=>this['_getViewObj'](_0x38a375)));return this['editor']['data']['toModel'](_0x208b0e);}['_getViewObj'](_0x3baf12){const _0x4ee58b=this['editor']['editing']['view']['document'];if('string'==typeof _0x3baf12)return new _0x2a64f1(_0x4ee58b,_0x3baf12);{const _0x220a66=_0x3baf12['children']['map'](_0x91a9ea=>this['_getViewObj'](_0x91a9ea));return new(tt[_0x3baf12['type']]||_0x145ccd)(_0x4ee58b,_0x3baf12['name'],_0x3baf12['attributes'],_0x220a66);}}['_getDiff'](_0x23ce60,_0x3e7169=null){const _0x499710=this['repository']['getRevision'](_0x23ce60),_0x42ac7e=_0x3e7169?this['repository']['getRevision'](_0x3e7169):null,_0x435a56=this['_getRevisionsRange'](_0x499710,_0x42ac7e),_0x40af89=_0x435a56[_0x435a56['length']-0x1],_0x462a05=new Map(),_0x54b6f5={'model':{},'attributes':{},'changes':[]},_0x1c46b4=new Set(),_0x7c7d21=new Map();for(let _0x15aa05=_0x435a56['length']-0x1;_0x15aa05>=0x0;_0x15aa05--){const _0x26069a=_0x435a56[_0x15aa05];for(const _0x4f42ce of Object['keys'](_0x26069a['diffData']))if(_0x26069a['diffData'][_0x4f42ce]['attachChange']){const _0x429301=_0x26069a['diffData'][_0x4f42ce]['attachChange'];_0x429301['isAttached']?(_0x1c46b4['add'](_0x4f42ce),_0x7c7d21['has'](_0x4f42ce)&&_0x7c7d21['get'](_0x4f42ce)['userId']==_0x429301['userId']?_0x7c7d21['delete'](_0x4f42ce):_0x7c7d21['set'](_0x4f42ce,_0x429301)):_0x7c7d21['has'](_0x4f42ce)?(_0x1c46b4['delete'](_0x4f42ce),_0x7c7d21['delete'](_0x4f42ce)):(_0x1c46b4['add'](_0x4f42ce),_0x7c7d21['set'](_0x4f42ce,_0x429301));}else _0x1c46b4['add'](_0x4f42ce);}for(const _0x5e6570 of _0x1c46b4){const _0x3b234b=_0x7c7d21['has'](_0x5e6570)&&!_0x7c7d21['get'](_0x5e6570)['isAttached'];let _0x303803=_0x3b234b?_0x435a56['length']-0x1:0x0;const _0x2294b2=_0x3b234b?-0x1:0x1;for(;_0x435a56[_0x303803];){const _0x18aa4a=_0x435a56[_0x303803];if(_0x18aa4a['diffData'][_0x5e6570]){const _0x402fd2=_0x3b234b?_0x18aa4a['diffData'][_0x5e6570]['attributesBefore']:_0x18aa4a['diffData'][_0x5e6570]['attributesAfter'];_0x54b6f5['attributes'][_0x5e6570]=_0x402fd2?_0x399b37(_0x402fd2):{};break;}_0x303803+=_0x2294b2;}}for(const _0xdf0b9a of _0x435a56){_0xdf0b9a['model']={};for(const _0x419cd3 of _0xdf0b9a['authors'])_0x462a05['set'](_0x419cd3['id'],_0x419cd3);for(const _0x822452 of _0x1c46b4){const _0x5da346=_0xdf0b9a['diffData'][_0x822452]?_0xdf0b9a['diffData'][_0x822452]['insertions']:'[]',_0x3a0433=_0xdf0b9a['diffData'][_0x822452]?_0xdf0b9a['diffData'][_0x822452]['deletions']:'[]';_0xdf0b9a['model'][_0x822452]={'insertions':this['_makeModelFromViewString'](_0x5da346),'deletions':this['_makeModelFromViewString'](_0x3a0433)};}}for(const _0x501275 of _0x1c46b4){let _0x90aeff=null,_0x1e41c5=0x0;const _0x41954e=new Map(Array['from'](_0x499710['model'][_0x501275]['insertions']['markers'])['filter'](([_0x42dce0])=>!_0x42dce0['startsWith']('revision:')));let _0x2c324c=0x0;for(const _0x338a9e of _0x435a56){const _0x5779c2=this['_makeTape'](_0x338a9e['model'][_0x501275]['insertions']);_0x338a9e==_0x499710?(_0x90aeff=_0x5779c2,_0x1e41c5=_0x90aeff['length'],_0x90aeff['forEach'](_0x41a815=>{_0x41a815['id']=_0x2c324c++;}),this['_processTape'](_0x90aeff)):this['_markInsertions'](_0x90aeff,_0x5779c2);const _0x519434=_0x90aeff['filter'](_0x5b9fee=>!_0x5b9fee['isAdded'])['map'](_0x5e3525=>_0x5e3525['id']);let _0x12a7b3=0x0;const _0x5708a9=this['_makeTape'](_0x338a9e['model'][_0x501275]['deletions']);_0x5708a9['forEach'](_0x55850a=>{_0x55850a['isRemoved']?_0x55850a['id']=_0x1e41c5++:_0x55850a['id']=_0x519434[_0x12a7b3++];}),this['_processTape'](_0x5708a9),this['_setDistance'](_0x90aeff,'isAdded'),this['_setDistance'](_0x5708a9,'isRemoved'),_0x338a9e==_0x499710&&this['_markMarkers'](_0x90aeff,_0x41954e),_0x90aeff=this['_joinTapes'](_0x90aeff,_0x5708a9),this['_refreshStartEndIndex'](_0x90aeff),this['_setDistance'](_0x90aeff,'isRemoved');}_0x90aeff=_0x90aeff['filter'](_0x59c421=>!(_0x59c421['isAdded']&&_0x59c421['isRemoved']));const _0x85d2f=new Map(_0x40af89['model'][_0x501275]['deletions']['markers']),_0x2fcf52=new Set(_0x41954e['keys']());for(const _0x1d7c32 of _0x85d2f['keys']())_0x2fcf52['delete'](_0x1d7c32);this['_markSuggestions'](_0x90aeff,_0x2fcf52),this['_fixObsoleteTags'](_0x90aeff),_0x90aeff=this['_removeMissingPairs'](_0x90aeff),_0x90aeff=this['_markMismatchedRemovedTags'](_0x90aeff),_0x90aeff=this['_removeUnsupportedChanges'](_0x90aeff);const {root:_0x115ecb,changes:_0x21c9d6}=this['_makeModelFromTape'](_0x90aeff,_0x462a05,_0x501275);_0x54b6f5['model'][_0x501275]=_0x115ecb;const _0x1d4ea6=_0x7c7d21['get'](_0x501275);if(_0x1d4ea6){const _0x3dba94=_0x462a05['get'](_0x1d4ea6['userId']),_0x137e37=new r({'author':_0x3dba94,'type':_0x1d4ea6['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x501275});_0x21c9d6['unshift'](_0x137e37),_0x54b6f5['attributes'][_0x501275]['revisionHistoryAttachChange']=_0x137e37['id'];}_0x54b6f5['changes']=_0x54b6f5['changes']['concat'](_0x21c9d6);}return _0x54b6f5;}['_markMarkers'](_0x3a6aa9,_0x1fb3b3){for(let _0x5e8d9d=0x0;_0x5e8d9d<_0x3a6aa9['length'];_0x5e8d9d++)for(const [_0x17eb94,_0x18faa4]of _0x1fb3b3)_0x18faa4['start']['isEqual'](_0x3a6aa9[_0x5e8d9d]['previousPosition'])&&_0x3a6aa9[_0x5e8d9d]['markersStart']['push'](_0x17eb94),_0x18faa4['end']['isEqual'](_0x3a6aa9[_0x5e8d9d]['nextPosition'])&&_0x3a6aa9[_0x5e8d9d]['markersEnd']['push'](_0x17eb94);}['_joinTapes'](_0x28bf10,_0x28c757){let _0x30405a=[],_0x53cc5e=0x0,_0x1242e0=0x0;for(;_0x53cc5e<_0x28bf10['length']||_0x1242e0<_0x28c757['length'];){const _0x2f3bfd=_0x28bf10[_0x53cc5e]||{},_0x332b58=_0x28c757[_0x1242e0]||{};if(_0x2f3bfd['id']==_0x332b58['id'])_0x53cc5e++,_0x1242e0++,_0x30405a['push'](_0x2f3bfd);else{if(_0x332b58['isRemoved']&&_0x2f3bfd['isAdded']){const {commonTape:_0x33f744,iEnd:_0x145db5,jEnd:_0x5dd52a}=this['_threeWayMerge'](_0x28bf10,_0x53cc5e,_0x28c757,_0x1242e0);_0x30405a=_0x30405a['concat'](_0x33f744),_0x53cc5e=_0x145db5,_0x1242e0=_0x5dd52a;}else _0x332b58['isRemoved']?(_0x1242e0++,_0x30405a['push'](_0x332b58)):(_0x53cc5e++,_0x30405a['push'](_0x2f3bfd));}}return _0x30405a;}['_markSuggestions'](_0x510e78,_0x39599c){const _0x5c76b5=[];for(let _0xe0d85b=0x0;_0xe0d85b<_0x510e78['length'];_0xe0d85b++){for(let _0xab7d8b=0x0;_0xab7d8b<_0x510e78[_0xe0d85b]['markersStart']['length'];_0xab7d8b++){const _0x7789c5=_0x510e78[_0xe0d85b]['markersStart'][_0xab7d8b];if(!_0x39599c['has'](_0x7789c5))continue;const {group:_0x5e63fa,type:_0x4e11d9,authorId:_0x4ea426}=_0x5e6ab8(_0x7789c5);'revision-suggestion'!=_0x5e63fa||'insertion'!=_0x4e11d9&&'deletion'!=_0x4e11d9||(_0x5c76b5['unshift']({'type':_0x4e11d9,'name':_0x7789c5,'userId':_0x4ea426}),_0x510e78[_0xe0d85b]['markersStart']['splice'](_0xab7d8b,0x1),_0xab7d8b--);}_0x427ab9(_0x510e78[_0xe0d85b]);for(let _0x4c603d=0x0;_0x4c603d<_0x510e78[_0xe0d85b]['markersEnd']['length'];_0x4c603d++){const _0x3fd83f=_0x510e78[_0xe0d85b]['markersEnd'][_0x4c603d];if(!_0x39599c['has'](_0x3fd83f))continue;const {group:_0x162de7,type:_0x23470c}=_0x5e6ab8(_0x3fd83f);if('revision-suggestion'!=_0x162de7||'insertion'!=_0x23470c&&'deletion'!=_0x23470c)continue;_0x510e78[_0xe0d85b]['markersEnd']['splice'](_0x4c603d,0x1),_0x4c603d--;const _0xae0ba1=_0x5c76b5['findIndex'](_0x4ecc23=>_0x4ecc23['name']==_0x3fd83f);_0xae0ba1>-0x1&&_0x5c76b5['splice'](_0xae0ba1,0x1);}}function _0x5e6ab8(_0x408db8){const _0x2f366a=_0x408db8['split'](':');return{'group':_0x2f366a[0x0],'type':_0x2f366a[0x1],'subType':_0x2f366a['length']>=0x5?_0x2f366a[0x2]:null,'id':_0x2f366a['length']<0x5?_0x2f366a[0x2]:_0x2f366a[0x3],'authorId':_0x2f366a['length']<0x5?_0x2f366a[0x3]:_0x2f366a[0x4],'markerCount':0x6==_0x2f366a['length']?_0x2f366a[0x5]:null};}function _0x427ab9(_0x25030){for(let _0x52af6c=0x0;_0x52af6c<_0x5c76b5['length'];_0x52af6c++){if(_0x25030['isAdded']&&'insertion'==_0x5c76b5[_0x52af6c]['type'])return _0x25030['isAddSuggestion']=_0x5c76b5[_0x52af6c],void delete _0x25030['isAdded'];if(!_0x25030['isAdded']&&!_0x25030['isRemoved']&&'deletion'==_0x5c76b5[_0x52af6c]['type'])return void(_0x25030['isRemoveSuggestion']=_0x5c76b5[_0x52af6c]);}}}['_setDistance'](_0x362f9e,_0x42cf93){let _0xd5ff48=0x0,_0x352749=!0x1;const _0x1c9e63=new Map();for(const _0x57a0cf of _0x362f9e)_0x57a0cf[_0x42cf93]?_0x352749&&(_0xd5ff48++,_0x352749=!0x1):(_0xd5ff48++,_0x352749=!0x0),_0x1c9e63['set'](_0x57a0cf['id'],_0xd5ff48);for(let _0xe1bb00=0x0;_0xe1bb00<_0x362f9e['length'];_0xe1bb00++){if('isRemoved'==_0x42cf93&&_0x362f9e[_0xe1bb00]['isAdded']||'isAdded'==_0x42cf93&&_0x362f9e[_0xe1bb00]['isRemoved'])continue;if('text'==_0x362f9e[_0xe1bb00]['type']){_0x362f9e[_0xe1bb00]['distance']=0x0;continue;}const _0x517fb6=_0x1c9e63['get'](_0x362f9e[_0xe1bb00]['pairId']),_0x2184d7=_0x1c9e63['get'](_0x362f9e[_0xe1bb00]['id']);_0x362f9e[_0xe1bb00]['distance']=_0x517fb6-_0x2184d7;}}['_getRevisionsRange'](_0x599991,_0x4c617e,_0xbd50e8=!0x1){const _0xffc83a=[];let _0x39dea5=this['repository']['getIndex'](_0x599991),_0x7d6363=this['repository']['getIndex'](_0x4c617e);for(-0x1==_0x7d6363&&(_0x7d6363=this['repository']['_revisions']['length'],_0xbd50e8=!0x1);_0x39dea5<_0x7d6363;)_0xffc83a['push'](this['repository']['getRevision'](_0x39dea5)),_0x39dea5++;return _0xbd50e8&&_0xffc83a['push'](this['repository']['getRevision'](_0x39dea5)),_0xffc83a;}['_threeWayMerge'](_0x5517d3,_0x477daf,_0x13b6aa,_0x56c566){const _0xe995b1=this['editor']['model']['schema'];let _0x5f21ca=_0x477daf;for(;_0x5517d3[_0x5f21ca]&&_0x5517d3[_0x5f21ca]['isAdded'];)_0x5f21ca++;let _0x2900e9=_0x56c566;for(;_0x13b6aa[_0x2900e9]&&_0x13b6aa[_0x2900e9]['isRemoved'];)_0x2900e9++;_0x2ccc8f(_0x5517d3,_0x477daf,_0x5f21ca),_0x2ccc8f(_0x13b6aa,_0x56c566,_0x2900e9);const _0x42114b=_0x13b6aa['slice'](_0x56c566,_0x2900e9)['concat'](_0x5517d3['slice'](_0x477daf,_0x5f21ca));return _0x42114b['sort']((_0x58e2e0,_0x3bd06e)=>_0x58e2e0['side']!=_0x3bd06e['side']?_0x58e2e0['side']-_0x3bd06e['side']:_0x58e2e0['level']!=_0x3bd06e['level']?_0x58e2e0['level']-_0x3bd06e['level']:_0x58e2e0['distance']!=_0x3bd06e['distance']?_0x3bd06e['distance']-_0x58e2e0['distance']:!!_0x58e2e0['isAdded']!=!!_0x3bd06e['isAdded']?-0x1==_0x58e2e0['side']||0x0==_0x58e2e0['side']?_0x58e2e0['isAdded']?-0x1:0x1:_0x58e2e0['isAdded']?0x1:-0x1:_0x58e2e0['index']-_0x3bd06e['index']),{'commonTape':_0x42114b,'iEnd':_0x5f21ca,'jEnd':_0x2900e9};function _0x2ccc8f(_0x334073,_0x48c889,_0x92e30b){let _0x148dd7=-0x1,_0x219a85=Number['POSITIVE_INFINITY'],_0x44e2fe=!0x0;for(let _0x2a03ef=_0x48c889;_0x2a03ef<_0x92e30b;_0x2a03ef++)if(_0xe995b1['isInline'](_0x334073[_0x2a03ef]['item'])||(_0x44e2fe=!0x1),_0x334073[_0x2a03ef]['item']['startIndex']<_0x48c889&&(_0x148dd7=_0x2a03ef),_0x334073[_0x2a03ef]['item']['endIndex']>=_0x92e30b){_0x219a85=_0x2a03ef;break;}_0x44e2fe&&(_0x148dd7=_0x92e30b-0x1);for(let _0x263c5d=_0x48c889;_0x263c5d<_0x92e30b;_0x263c5d++)_0x334073[_0x263c5d]['side']=_0x263c5d<=_0x148dd7?-0x1:_0x263c5d<_0x219a85?0x0:0x1,_0x334073[_0x263c5d]['index']=_0x263c5d;let _0x3e47d2=0x0;for(let _0x4d4f6e=_0x48c889;_0x4d4f6e<=_0x148dd7;_0x4d4f6e++)0x0==_0x334073[_0x4d4f6e]['distance']?_0x334073[_0x4d4f6e]['level']=_0x3e47d2:(_0x3e47d2++,_0x334073[_0x4d4f6e]['level']=_0x3e47d2,_0x3e47d2++);for(let _0x5a90b2=_0x48c889;_0x5a90b2<_0x92e30b;_0x5a90b2++)0x0==_0x334073[_0x5a90b2]['side']&&(_0x334073[_0x5a90b2]['level']=_0x3e47d2);_0x3e47d2=0x0;for(let _0x19ab2c=_0x92e30b-0x1;_0x19ab2c>=_0x219a85;_0x19ab2c--)0x0==_0x334073[_0x19ab2c]['distance']?_0x334073[_0x19ab2c]['level']=_0x3e47d2:(_0x3e47d2--,_0x334073[_0x19ab2c]['level']=_0x3e47d2,_0x3e47d2--);}}['_fixObsoleteTags'](_0x570611){const _0x52b7d3=new Map(),_0x1157d1=this['editor']['model']['schema'];for(let _0x3ff8c8=0x1;_0x3ff8c8<_0x570611['length'];_0x3ff8c8++){let _0x3ef0c3,_0x158170,_0x23bc5a;const _0x43b1b9=_0x570611[_0x3ff8c8],_0x3d41bd=_0x570611[_0x3ff8c8-0x1];if('text'==_0x43b1b9['type'])continue;if(_0x43b1b9['type']!=_0x3d41bd['type'])continue;if(!_0x1157d1['isBlock'](_0x3d41bd['item'])||_0x1157d1['isLimit'](_0x3d41bd['item']))continue;if(!_0x1157d1['isBlock'](_0x43b1b9['item'])||_0x1157d1['isLimit'](_0x43b1b9['item']))continue;if((_0x570611[_0x3ff8c8]['isAdded']||_0x570611[_0x3ff8c8]['isAddSuggestion'])&&_0x570611[_0x3ff8c8-0x1]['isRemoved'])_0x3ef0c3=_0x570611[_0x3ff8c8],_0x158170=_0x570611[_0x3ff8c8-0x1],_0x23bc5a=_0x3ff8c8-0x1;else{if(!_0x570611[_0x3ff8c8]['isRemoved']||!_0x570611[_0x3ff8c8-0x1]['isAdded']&&!_0x570611[_0x3ff8c8-0x1]['isAddSuggestion'])continue;_0x3ef0c3=_0x570611[_0x3ff8c8-0x1],_0x158170=_0x570611[_0x3ff8c8],_0x23bc5a=_0x3ff8c8;}const _0x149faf=_0x3ef0c3['level']==_0x158170['level'],_0x22edf5=Math['abs'](_0x3ef0c3['level'])<Math['abs'](_0x158170['level'])&&0x0==_0x158170['distance'];(_0x149faf||_0x22edf5)&&(_0x52b7d3['set'](_0x158170['id'],_0x3ef0c3['id']),_0x570611['splice'](_0x23bc5a,0x1),_0x3ff8c8--,_0x3ef0c3['isAdded']=!0x1);}for(let _0x358eca=0x0;_0x358eca<_0x570611['length'];_0x358eca++)_0x52b7d3['has'](_0x570611[_0x358eca]['pairId'])&&(_0x570611[_0x358eca]['pairId']=_0x52b7d3['get'](_0x570611[_0x358eca]['pairId']));}['_removeMissingPairs'](_0x14fa95){const _0x1c5c79=new Set(_0x14fa95['map'](_0x3a8061=>_0x3a8061['id']));for(let _0x3a8ca1=0x0;_0x3a8ca1<_0x14fa95['length'];_0x3a8ca1++)_0x1c5c79['has'](_0x14fa95[_0x3a8ca1]['pairId'])||0x0==_0x14fa95[_0x3a8ca1]['distance']||(_0x14fa95[_0x3a8ca1]['isIncorrect']=!0x0);return _0x14fa95['filter'](_0x5abbf2=>!_0x5abbf2['isIncorrect']);}['_markMismatchedRemovedTags'](_0x567b44){const _0x13967d=new Set();for(let _0x5ade55=0x0;_0x5ade55<_0x567b44['length'];_0x5ade55++){if(_0x13967d['has'](_0x567b44[_0x5ade55]['id'])&&_0x567b44[_0x5ade55]['isRemoved']&&(_0x567b44[_0x5ade55]['isIncorrect']=!0x0),_0x567b44[_0x5ade55]['isIncorrect'])continue;if(0x0==_0x567b44[_0x5ade55]['distance'])continue;if('elementStart'!=_0x567b44[_0x5ade55]['type'])continue;if(null==_0x567b44[_0x5ade55]['pairId'])continue;let _0x363938=_0x5ade55+0x1,_0x5709af=0x0;for(;_0x567b44[_0x363938]['id']!=_0x567b44[_0x5ade55]['pairId'];)'elementStart'==_0x567b44[_0x363938]['type']?_0x5709af++:'elementEnd'==_0x567b44[_0x363938]['type']&&_0x5709af--,_0x363938++;if(0x0!=_0x5709af){if(_0x567b44[_0x5ade55]['isRemoved'])_0x567b44[_0x5ade55]['isIncorrect']=!0x0;else{for(;_0x363938!=_0x5ade55;)_0x567b44[_0x363938]['isRemoved']&&0x0!=_0x567b44[_0x363938]['distance']&&(_0x567b44[_0x363938]['isIncorrect']=!0x0,_0x13967d['add'](_0x567b44[_0x363938]['pairId'])),_0x363938--;}}}return _0x567b44['filter'](_0x4f199e=>!_0x4f199e['isIncorrect']);}['_removeUnsupportedChanges'](_0x33e04b){const _0x1b002d=this['editor']['model']['schema'];for(let _0x55cd5e=0x0;_0x55cd5e<_0x33e04b['length'];_0x55cd5e++){if(!(_0x33e04b[_0x55cd5e]['isAdded']||_0x33e04b[_0x55cd5e]['isAddSuggestion']||_0x33e04b[_0x55cd5e]['isRemoved']||_0x33e04b[_0x55cd5e]['isRemoveSuggestion']))continue;if(0x0==_0x33e04b[_0x55cd5e]['distance'])continue;const _0x564ec3=_0x33e04b[_0x55cd5e]['item'];_0x1b002d['isBlock'](_0x564ec3)||_0x1b002d['isLimit'](_0x564ec3)||(_0x33e04b[_0x55cd5e]['isAdded']&&delete _0x33e04b[_0x55cd5e]['isAdded'],_0x33e04b[_0x55cd5e]['isAddSuggestion']&&delete _0x33e04b[_0x55cd5e]['isAddSuggestion'],_0x33e04b[_0x55cd5e]['isRemoveSuggestion']&&delete _0x33e04b[_0x55cd5e]['isRemoveSuggestion'],_0x33e04b[_0x55cd5e]['isRemoved']&&(_0x33e04b[_0x55cd5e]['isIncorrect']=!0x0));}return _0x33e04b['filter'](_0xa459b2=>!_0xa459b2['isIncorrect']);}['_makeModelFromTape'](_0x42c812,_0x496105,_0xc7954b){const _0x26abd6=new wt(),_0x10a249=[],_0x1a246c=new Map(),_0x25867e=this['editor']['model'],_0x4935b9=_0x25867e['schema'],_0xcf7055=[_0x26abd6],_0xe0b835={},_0x3ad1da={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x3431d0=null;const _0x214d0d=[0x0];for(let _0x4a3d03=0x0;_0x4a3d03<_0x42c812['length'];_0x4a3d03++){let _0x23a88f,_0x561fbc;if('elementStart'===_0x42c812[_0x4a3d03]['type']){_0x23a88f=_0x25867e['createPositionFromPath'](_0x26abd6,_0x214d0d);const _0x5fb686=new ft(_0x42c812[_0x4a3d03]['item']['name'],_0x42c812[_0x4a3d03]['item']['getAttributes']());_0xcf7055[0x0]['_appendChild'](_0x5fb686),_0x214d0d['push'](0x0),_0xcf7055['unshift'](_0x5fb686),_0x561fbc=_0x25867e['createPositionFromPath'](_0x26abd6,_0x214d0d),_0x3431d0=null;}else{if('elementEnd'===_0x42c812[_0x4a3d03]['type'])_0xcf7055['shift'](),_0x23a88f=_0x25867e['createPositionFromPath'](_0x26abd6,_0x214d0d),_0x214d0d['pop'](),_0x214d0d[_0x214d0d['length']-0x1]++,_0x561fbc=_0x25867e['createPositionFromPath'](_0x26abd6,_0x214d0d),_0x3431d0=null;else{if(_0x23a88f=_0x25867e['createPositionFromPath'](_0x26abd6,_0x214d0d),_0x3431d0&&_0x542a80(_0x3431d0,_0x42c812[_0x4a3d03]['item']))_0x3431d0['_data']+=_0x42c812[_0x4a3d03]['item']['data'];else{const _0x4ab294=new _t(_0x42c812[_0x4a3d03]['item']['data'],_0x42c812[_0x4a3d03]['item']['getAttributes']());_0xcf7055[0x0]['_appendChild'](_0x4ab294),_0x3431d0=_0x4ab294;}_0x214d0d[_0x214d0d['length']-0x1]+=_0x42c812[_0x4a3d03]['item']['offsetSize'],_0x561fbc=_0x25867e['createPositionFromPath'](_0x26abd6,_0x214d0d);}}for(const _0x5ee0b0 of _0x42c812[_0x4a3d03]['markersStart'])_0x1a246c['set'](_0x5ee0b0,{'start':_0x23a88f,'end':null});_0x9a8df0('isRemoveSuggestion',_0x4a3d03,_0x23a88f,_0x561fbc),_0x9a8df0('isAddSuggestion',_0x4a3d03,_0x23a88f,_0x561fbc),_0x9a8df0('isRemoved',_0x4a3d03,_0x23a88f,_0x561fbc),_0x9a8df0('isAdded',_0x4a3d03,_0x23a88f,_0x561fbc);for(const _0x2ed75b of _0x42c812[_0x4a3d03]['markersEnd']){_0x1a246c['get'](_0x2ed75b)['end']=_0x561fbc;}}for(const [_0x13d534,_0x2075d8]of _0x1a246c){const _0x47d79f=this['editor']['model']['createRange'](_0x2075d8['start'],_0x2075d8['end']);_0x26abd6['markers']['set'](_0x13d534,_0x47d79f);}return _0x10a249['sort']((_0x1b2042,_0x78921c)=>{const _0x248801=_0x26abd6['markers']['get']('revision:'+_0x1b2042['id']),_0x537f06=_0x26abd6['markers']['get']('revision:'+_0x78921c['id']);return _0x248801['start']['isBefore'](_0x537f06['start'])?-0x1:_0x248801['start']['isAfter'](_0x537f06['start'])?0x1:_0x248801['end']['isBefore'](_0x537f06['end'])?-0x1:_0x248801['end']['isAfter'](_0x537f06['end'])?0x1:'add'===_0x1b2042['type']?-0x1:0x1;}),{'root':_0x26abd6,'changes':_0x10a249};function _0x9a8df0(_0x2a0670,_0x3bae24,_0x1bdfb4,_0x529196){const _0xeb3045=!!_0x42c812[_0x3bae24][_0x2a0670],_0x196209=_0xeb3045?_0x42c812[_0x3bae24][_0x2a0670]['userId']:null,_0xacc9ce=_0x3bae24===_0x42c812['length']-0x1,_0x3ba5f3=_0x3ad1da[_0x2a0670][0x0],_0x5367da=_0x4935b9['isObject'](_0x42c812[_0x3bae24]['item']);!_0xe0b835[_0x2a0670]&&_0xeb3045?_0xe0b835[_0x2a0670]={'start':_0x1bdfb4,'tapeItem':_0x42c812[_0x3bae24],'userId':_0x196209,'type':_0x2a0670}:_0xe0b835[_0x2a0670]&&!_0xeb3045?(_0xe0b835[_0x2a0670]['end']=_0x1bdfb4,_0x98e93c(_0xe0b835[_0x2a0670]),_0xe0b835[_0x2a0670]=null):_0xe0b835[_0x2a0670]&&_0xeb3045&&_0xe0b835[_0x2a0670]['userId']!==_0x196209&&(_0xe0b835[_0x2a0670]['end']=_0x1bdfb4,_0x3ba5f3&&_0x3ba5f3['userId']===_0xe0b835[_0x2a0670]['userId']||_0x98e93c(_0xe0b835[_0x2a0670]),_0xe0b835[_0x2a0670]={'start':_0x1bdfb4,'tapeItem':_0x42c812[_0x3bae24],'userId':_0x196209,'type':_0x2a0670}),_0xe0b835[_0x2a0670]&&_0x5367da&&('elementStart'!==_0x42c812[_0x3bae24]['type']||_0x3ba5f3&&_0x3ba5f3['userId']===_0x196209||_0x3ad1da[_0x2a0670]['unshift']({'userId':_0x196209,'object':_0x42c812[_0x3bae24]['item'],'change':_0xe0b835[_0x2a0670]}),'elementEnd'===_0x42c812[_0x3bae24]['type']&&_0x3ba5f3&&_0x3ba5f3['object']===_0x42c812[_0x3bae24]['item']&&(_0x3ad1da[_0x2a0670]['shift'](),_0xe0b835[_0x2a0670]=_0x3ba5f3['change'])),_0xe0b835[_0x2a0670]&&_0xacc9ce&&(_0xe0b835[_0x2a0670]['end']=_0x529196,_0x98e93c(_0xe0b835[_0x2a0670]),_0xe0b835[_0x2a0670]=null);}function _0x98e93c({start:_0x1e8d39,end:_0x2d6a73,tapeItem:_0x1857ba,userId:_0x327b5b,type:_0x42bbf0}){const _0x595a79=_0x1857ba['item'],_0x9e34dc=_0x25867e['schema']['isBlock'](_0x595a79)&&!_0x25867e['schema']['isLimit'](_0x595a79),_0x23bdf3=_0x1e8d39['nodeAfter']==_0x2d6a73['parent']&&_0x2d6a73['isAtStart'];if(_0x9e34dc&&_0x23bdf3)return;const _0x54fdc9=_0x25867e['createRange'](_0x1e8d39,_0x2d6a73),_0x484aef=_0x496105['get'](_0x327b5b),_0x1caeed=new r({'author':_0x484aef,'type':'isAdded'==_0x42bbf0||'isAddSuggestion'==_0x42bbf0?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x42bbf0||'isRemoveSuggestion'==_0x42bbf0},'createdAt':new Date(),'rootName':_0xc7954b});_0x10a249['push'](_0x1caeed),_0x26abd6['markers']['set']('revision:'+_0x1caeed['id'],_0x54fdc9);}function _0x542a80(_0x37fde8,_0x5c12c6){const _0xebe9be=_0x37fde8['getAttributes'](),_0x5890a1=_0x5c12c6['getAttributes']();for(const _0x1cbb3a of _0xebe9be){if(_0x1cbb3a[0x1]!==_0x5c12c6['getAttribute'](_0x1cbb3a[0x0]))return!0x1;_0x5890a1['next']();}return _0x5890a1['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x5d6901=>{const _0x4335fc=_0x5d6901['markerName']['split'](':')[0x1],_0x47a026=this['_getChangeFromId'](_0x4335fc);if(!_0x47a026)return null;const _0x1b6069='add'==_0x47a026['type']?'insertion':'deletion',_0x3e6aad=['ck-suggestion-marker','ck-suggestion-marker-'+_0x1b6069];return _0x47a026['data']['isSuggestion']&&_0x3e6aad['push']('ck-suggestion-marker-'+_0x1b6069+'-new'),this['activeChange']==_0x47a026&&_0x3e6aad['push']('ck-suggestion-marker--active'),{'classes':_0x3e6aad,'attributes':{'data-change-id':_0x4335fc}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x56115c=>{_0x56115c['on']('element:pre',(_0x1f673e,_0x57b658,_0x1bbc95)=>{const _0x4c4038=_0x57b658['viewItem']['getChild'](0x0);if(!_0x4c4038||!_0x4c4038['is']('element','code'))return;if(!_0x1bbc95['consumable']['consume'](_0x4c4038,{'attributes':['vid_start','vid_end']}))return;const _0x494563=_0x57b658['modelRange']['start']['nodeAfter'];_0x1bbc95['writer']['setAttribute']('vid_start',_0x4c4038['getAttribute']('vid_start'),_0x494563),_0x1bbc95['writer']['setAttribute']('vid_end',_0x4c4038['getAttribute']('vid_end'),_0x494563);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x456417=>{_0x456417['on']('element',(_0x591cd9,_0x4ba4c2,_0xb01487)=>{if(!_0xb01487['consumable']['consume'](_0x4ba4c2['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x4ba4c2['modelRange']['isCollapsed'])return;const _0x3caae7=_0x4ba4c2['modelRange']['start']['nodeAfter'];_0x3caae7['hasAttribute']('vid_start')||_0x3caae7['hasAttribute']('vid')||(_0xb01487['writer']['setAttribute']('vid_start',_0x4ba4c2['viewItem']['getAttribute']('vid_start'),_0x3caae7),_0xb01487['writer']['setAttribute']('vid_end',_0x4ba4c2['viewItem']['getAttribute']('vid_end'),_0x3caae7));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x20f330=>_0x20f330['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4ca0f9,[,_0x3cd4b9])=>{['vid_start','vid_end','vid']['includes'](_0x3cd4b9)&&(_0x4ca0f9['return']=!0x0,_0x4ca0f9['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x3e158f=>{_0x3e158f['on']('attribute:vid',(_0x39a6ac,_0x2064d7,_0x4cec80)=>{if('\x20'!=_0x2064d7['item']['data']||_0x2064d7['item']['parent']['maxOffset']>0x1)return;if(!_0x4cec80['consumable']['consume'](_0x2064d7['item'],_0x39a6ac['name']))return;const _0x1f14e2=_0x4cec80['writer'],_0x199cd9=_0x4cec80['mapper']['toViewRange'](_0x2064d7['range']);_0x1f14e2['wrap'](_0x199cd9,_0x1f14e2['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x23004b){const _0x184239=_0x23004b['plugins']['get']('RevisionViewer');return(_0x2797cb,_0x19a241,_0x1bbfe3)=>{const _0x7b30ae=_0x19a241['markerName']['split'](':')[0x1],_0x1b97d7=_0x184239['_getChangeFromId'](_0x7b30ae);if(!_0x1b97d7)return null;const _0x2007a3='add'==_0x1b97d7['type']?'split':'merge';if(!_0x1bbfe3['consumable']['test'](_0x19a241['markerRange'],_0x2797cb['name']))return;const _0x2fddf7=_0x19a241['markerRange']['getWalker'](),_0x283b9b=_0x19a241['markerRange']['start'],_0x147bb8=_0x23004b['model']['schema'];let _0x5a29b1=null,_0x102f63=null,_0x143942=!0x1,_0x4be387=!0x1;for(const _0x42a08a of _0x2fddf7){const _0x217dbc=_0x42a08a['item'];_0x143942=_0x143942||_0x147bb8['isContent'](_0x217dbc);const _0x461191=_0x1bbfe3['mapper']['toViewElement'](_0x217dbc);if(_0x461191&&_0x461191['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x42a08a['type']&&(_0x147bb8['isBlock'](_0x217dbc)&&!_0x147bb8['isLimit'](_0x217dbc)&&(_0x217dbc['nextSibling']||_0x283b9b['isAtEnd']?_0x5a29b1&&_0x5a29b1['parent']==_0x217dbc||(_0x5a29b1=_0x217dbc,_0x565835(_0x42a08a['previousPosition']),_0x4be387=!0x0):_0x102f63=_0x102f63||_0x42a08a['previousPosition']));}function _0x565835(_0x43ba1f){const _0xe3df0c=_0x1bbfe3['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2007a3}),_0x511a11=_0x1bbfe3['mapper']['toViewPosition'](_0x43ba1f);_0x1b97d7['data']['isSuggestion']&&_0x1bbfe3['writer']['addClass']('ck-suggestion-marker-'+_0x2007a3+'-new',_0xe3df0c),_0x184239['activeChange']==_0x1b97d7&&_0x1bbfe3['writer']['addClass']('ck-suggestion-marker--active',_0xe3df0c),_0x1bbfe3['writer']['insert'](_0x511a11,_0xe3df0c),_0x1bbfe3['mapper']['bindElementToMarker'](_0xe3df0c,_0x19a241['markerName']);}_0x143942||_0x4be387||!_0x102f63||_0x565835(_0x102f63);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x2f215d,_0x501971,_0x48f30e)=>{const _0x38d16d=_0x48f30e['mapper']['markerNameToElements'](_0x501971['markerName']);if(_0x38d16d){for(const _0x525293 of _0x38d16d)(_0x525293['hasClass']('ck-suggestion-marker-split')||_0x525293['hasClass']('ck-suggestion-marker-merge'))&&(_0x48f30e['mapper']['unbindElementFromMarkerName'](_0x525293,_0x501971['markerName']),_0x48f30e['writer']['remove'](_0x525293));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x1abb0e,_0x4bf7eb,_0x5e7113)=>{const _0x457e8d=_0x4bf7eb['markerName']['split'](':')[0x1],_0x5c19d8=this['_getChangeFromId'](_0x457e8d);if(!_0x5c19d8)return null;const _0x303d2c='add'==_0x5c19d8['type']?'split':'merge';if(_0x5e7113['consumable']['test'](_0x4bf7eb['markerRange'],_0x1abb0e['name']))for(const _0x473d76 of _0x4bf7eb['markerRange']['getItems']()){if(!_0x473d76['is']('element','softBreak'))continue;const _0x31206f=_0x5e7113['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x303d2c}),_0x279992=_0x5e7113['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x473d76));_0x5c19d8['data']['isSuggestion']&&_0x5e7113['writer']['addClass']('ck-suggestion-marker-'+_0x303d2c+'-new',_0x31206f),this['activeChange']==_0x5c19d8&&_0x5e7113['writer']['addClass']('ck-suggestion-marker--active',_0x31206f),_0x5e7113['writer']['insert'](_0x279992,_0x31206f),_0x5e7113['mapper']['bindElementToMarker'](_0x31206f,_0x4bf7eb['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xb31d1f=>{for(const _0x2037ec of this['editor']['model']['document']['getRootNames']()){const _0x2515b6=this['editor']['model']['document']['getRoot'](_0x2037ec),_0x347d2d=this['editor']['editing']['view']['document']['getRoot'](_0x2037ec);if(_0x347d2d){const _0x1cbcaa=_0x2515b6['getAttribute']('revisionHistoryAttachChange');if(_0xb31d1f['removeAttribute']('data-change-id',_0x347d2d),_0xb31d1f['removeClass']('ck-revision-history-root-add',_0x347d2d),_0xb31d1f['removeClass']('ck-revision-history-root-remove',_0x347d2d),_0xb31d1f['removeClass']('ck-revision-history-root--active',_0x347d2d),_0x1cbcaa){const _0x3c5aad=this['_getChangeFromId'](_0x1cbcaa);if(!_0x3c5aad)return null;_0xb31d1f['setAttribute']('data-change-id',_0x1cbcaa,_0x347d2d),_0xb31d1f['addClass']('ck-revision-history-root-'+_0x3c5aad['type'],_0x347d2d),this['activeChange']==_0x3c5aad&&_0xb31d1f['addClass']('ck-revision-history-root--active',_0x347d2d);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x50fd20=>'revision-comment:'+_0x50fd20,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x5a4df2=>'revision-suggestion:'+_0x5a4df2,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x1647a8=>({'name':'suggestion:'+_0x1647a8,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x36e1f8=>{const _0x2cd738=_0x36e1f8['markerName']['split'](':')[0x1];return'insertion'!=_0x2cd738&&'deletion'!=_0x2cd738?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x2cd738]};}}),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',(_0x212aae,_0x4fd183,_0x41bb42)=>{const _0x11bbca=_0x41bb42['mapper']['markerNameToElements'](_0x4fd183['markerName']);if(_0x11bbca){for(const _0x3447ed of _0x11bbca)_0x3447ed['is']('uiElement')&&(_0x41bb42['mapper']['unbindElementFromMarkerName'](_0x3447ed,_0x4fd183['markerName']),_0x41bb42['writer']['remove'](_0x3447ed));}},{'priority':'high'});}['_getChangeFromId'](_0x4b68f7){return this['_changeIdToChange']['get'](_0x4b68f7);}['_getViewForChange'](_0x71b09){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x71b09),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x27b19d,_0x14e768,_0x463317,_0x2af9a5)=>{_0x2af9a5&&this['_balloon']['remove'](_0x2af9a5),_0x463317&&(this['_balloon']['add']({'view':_0x463317,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x26e296=this['editor']['editing'],_0x54bfe6=this['_getChangeFromId'](_0x463317['changeId']);let _0x3c07aa;if(_0x54bfe6['data']['isOnRoot']){const _0x5e4504=_0x26e296['view']['getDomRoot'](_0x54bfe6['rootName']);_0x3c07aa=Array['from'](_0x5e4504['getClientRects']());}else{const _0x3428dd=this['editor']['model']['markers']['get']('revision:'+_0x463317['changeId']);_0x3c07aa=Array['from'](_0x26e296['mapper']['markerNameToElements'](_0x3428dd['name']))['map'](_0x3629d2=>_0x26e296['view']['domConverter']['mapViewToDom'](_0x3629d2))['map'](_0xa0eb35=>Array['from'](_0xa0eb35['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x3c07aa[0x0];return _0x3c07aa['find'](_0x4c66af=>_0x4c66af['top']-0x3<=this['_activeViewTarget']['y']&&_0x4c66af['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x4c66af['left']-0x3<=this['_activeViewTarget']['x']&&_0x4c66af['right']+0x3>=this['_activeViewTarget']['x'])||_0x3c07aa[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x340c28,_0x5eea2f,_0x549010,_0x3a7f23)=>{this['activeView']=_0x549010?this['_getViewForChange'](_0x549010):null,this['editor']['model']['change'](()=>{const _0x4d95b7=this['editor']['editing'];_0x3a7f23&&(_0x3a7f23['data']['isOnRoot']?_0x4d95b7['view']['change'](_0x397916=>{_0x397916['removeClass']('ck-revision-history-root--active',_0x4d95b7['view']['document']['getRoot'](_0x3a7f23['rootName']));}):_0x4d95b7['reconvertMarker']('revision:'+_0x3a7f23['id'])),_0x549010&&(_0x549010['data']['isOnRoot']?_0x4d95b7['view']['change'](_0xc26224=>{_0xc26224['addClass']('ck-revision-history-root--active',_0x4d95b7['view']['document']['getRoot'](_0x549010['rootName']));}):_0x4d95b7['reconvertMarker']('revision:'+_0x549010['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x1f0acf,_0x1794c6)=>{if(this['activeChange'])return;const _0x585fae=this['_findChangeIdFromDomTarget'](_0x1794c6['target']),_0x4a1463=this['_changeIdToChange']['get'](_0x585fae);_0x4a1463?(this['_activeViewTarget']={'x':_0x1794c6['domEvent']['x'],'y':_0x1794c6['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x4a1463)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3d709b,_0x374438)=>{const _0x13bd76=this['_findChangeIdFromDomTarget'](_0x374438['target']),_0x32b5af=this['_changeIdToChange']['get'](_0x13bd76);_0x32b5af?(this['_activeViewTarget']={'x':_0x374438['domEvent']['x'],'y':_0x374438['domEvent']['y']},_0x32b5af===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x32b5af):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x38d8b9){do{const _0x483c17=_0x38d8b9['getAttribute']('data-change-id');if(_0x483c17)return _0x483c17;_0x38d8b9=_0x38d8b9['parent'];}while(_0x38d8b9);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x368931=>{for(const _0x3c4f78 of this['editor']['model']['markers'])_0x368931['removeMarker'](_0x3c4f78);});}}function et(_0x55013f,_0x57cda6){return(_0x328889,_0x3699fd,_0x16a2cd)=>{if(!_0x16a2cd['consumable']['test'](_0x3699fd['markerRange'],_0x328889['name']))return;const _0xaadd3d=_0x3699fd['markerRange']['getWalker'](),_0x1f3f45=_0x3699fd['markerRange']['start'],_0x435ea1=_0x55013f['model']['schema'];let _0x3b705e=null,_0x4aa1b9=null,_0x53d720=!0x1,_0x5462e4=!0x1;for(const _0x58fa29 of _0xaadd3d){const _0x1ba3c8=_0x58fa29['item'];_0x53d720=_0x53d720||_0x435ea1['isContent'](_0x1ba3c8);const _0x533599=_0x16a2cd['mapper']['toViewElement'](_0x1ba3c8);if(_0x533599&&_0x533599['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x58fa29['type']&&(_0x435ea1['isBlock'](_0x1ba3c8)&&!_0x435ea1['isLimit'](_0x1ba3c8)&&(_0x1ba3c8['nextSibling']||_0x1f3f45['isAtEnd']?_0x3b705e&&_0x3b705e['parent']==_0x1ba3c8||(_0x3b705e=_0x1ba3c8,_0x1597cb(_0x58fa29['previousPosition']),_0x5462e4=!0x0):_0x4aa1b9=_0x4aa1b9||_0x58fa29['previousPosition']));}function _0x1597cb(_0x1313e1){const _0x404765=_0x16a2cd['mapper']['toViewPosition'](_0x1313e1),_0x22127e=_0x16a2cd['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x57cda6});_0x16a2cd['writer']['insert'](_0x404765,_0x22127e),_0x16a2cd['mapper']['bindElementToMarker'](_0x22127e,_0x3699fd['markerName']);}_0x53d720||_0x5462e4||!_0x4aa1b9||_0x1597cb(_0x4aa1b9);};}class bt extends _0x7c94f7{constructor(_0x3a4061){super(_0x3a4061);const _0x12870a=_0x3a4061['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x12870a,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x12870a,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x146fde=this['editor'],_0x231bdf=_0x146fde['plugins']['get'](d),_0x9226=_0x231bdf['isReady']?_0x231bdf['diff']['newRevisionId']:null;_0x146fde['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x9226);}['refresh'](){const {isReady:_0x5e444d,isEnabled:_0x3af5f6}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5e444d&&_0x3af5f6;}}class yt extends _0x7c94f7{['_step'];constructor(_0x2208ad,{direction:_0x481870}){super(_0x2208ad);const _0x2e5f21=_0x2208ad['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x481870?0x1:-0x1,this['listenTo'](_0x2e5f21,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2e5f21,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2e5f21,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x271c1c=this['editor'],_0x13496d=_0x271c1c['plugins']['get'](d),{isNavigationMode:_0x17797c,currentChangeNumber:_0x3bc325}=_0x13496d;let _0x57bb7b;if(_0x13496d['activeChange']=_0x17797c?_0x13496d['diff']['changes']['get'](_0x3bc325+this['_step']):_0x13496d['diff']['changes']['first'],_0x13496d['activeChange']['data']['isOnRoot'])_0x57bb7b=_0x271c1c['editing']['view']['getDomRoot'](_0x13496d['activeChange']['rootName']);else{const _0x4a0634=_0x271c1c['model']['markers']['get']('revision:'+_0x13496d['activeChange']['id']);_0x57bb7b=_0x486d4c(_0x271c1c['editing'],_0x4a0634);}_0x13c363({'target':_0x57bb7b,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x62415e,currentChangeNumber:_0x4cf256,numberOfChanges:_0xa0bd95,isReady:_0x3f3b53,isEnabled:_0x228bda}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x228bda&&_0x3f3b53&&_0xa0bd95)&&(!_0x62415e||(0x1===this['_step']?_0x4cf256<_0xa0bd95-0x1:_0x4cf256>0x0));}}class _i extends _0x337b5c{constructor(_0x5534e2){super(_0x5534e2);const _0x45532b=this['bindTemplate'],_0x456236=new _0x33865b(_0x5534e2),_0x20c59a=new _0x33865b(_0x5534e2);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',(_0x1495ef,_0x59f286)=>_0x1495ef&&_0x59f286>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3284c1,_0x4af13f,_0x4030e3,_0x2a654e)=>{if(!_0x3284c1)return y(_0x5534e2,'Loading...');if(!_0x4030e3)return y(_0x5534e2,'No\x20changes');const _0x530c18=y(_0x5534e2,'NUMBER_OF_CHANGES',_0x4030e3);return _0x2a654e?y(_0x5534e2,'X_OF_Y_CHANGES',[_0x4af13f+0x1,_0x4030e3]):_0x530c18;}),_0x456236['set']({'label':y(_0x5534e2,'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'}),_0x20c59a['set']({'label':y(_0x5534e2,'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'}),_0x456236['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x20c59a['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x456236['on']('execute',()=>this['fire']('execute','backward')),_0x20c59a['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',_0x45532b['if']('_isStatusLabelVisible','ck-hidden',_0x35e4fa=>!_0x35e4fa)]},'children':[{'text':_0x45532b['to']('isNavigationMode',_0x4cfa54=>_0x4cfa54?y(_0x5534e2,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x5534e2,'Total')+':\x20')}]},{'text':_0x45532b['to']('_statusText')}]},new _0x5648dc(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x456236,_0x20c59a]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x120911{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3aaba3=this['editor']['editing']['view'];_0x3aaba3['change'](_0x219ed7=>{for(const _0x4375b3 of _0x3aaba3['document']['roots'])_0x219ed7['addClass'](ce,_0x4375b3);});}['hide'](){const _0xe4e0f3=this['editor']['editing']['view'];_0xe4e0f3['change'](_0xcc6744=>{for(const _0x5ec5b4 of _0xe4e0f3['document']['roots'])_0xcc6744['removeClass'](ce,_0x5ec5b4);});}}class R extends _0x120911{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2e8f6b=this['editor'],_0x20307e=_0x2e8f6b['plugins']['get'](d),_0x2b3a59=_0x2e8f6b['plugins']['get'](de);_0x2e8f6b['ui']['componentFactory']['add']('exitToEditing',_0x359dac=>{const _0x11491c=new _0x33865b(_0x359dac);return _0x11491c['set']({'label':y(_0x359dac,'Back\x20to\x20editing'),'icon':_0x1e49c1['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x11491c,'execute',()=>{_0x2e8f6b['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x11491c;}),_0x2e8f6b['ui']['componentFactory']['add']('restoreRevision',_0x79ffb5=>{const _0x50a7c0=new _0x33865b(_0x79ffb5);return _0x50a7c0['set']({'label':y(_0x79ffb5,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x50a7c0['bind']('isEnabled')['to'](_0x2e8f6b['commands']['get']('restoreRevision')),this['listenTo'](_0x50a7c0,'execute',()=>_0x2e8f6b['execute']('restoreRevision')),_0x50a7c0;}),_0x2e8f6b['ui']['componentFactory']['add']('changesNavigation',_0x2688f9=>{const _0x13702a=new _i(_0x2688f9),_0x528992=_0x2e8f6b['commands']['get']('showPreviousChange'),_0x17e431=_0x2e8f6b['commands']['get']('showNextChange');return _0x13702a['bind']('isBackwardNavigationEnabled')['to'](_0x528992,'isEnabled'),_0x13702a['bind']('isForwardNavigationEnabled')['to'](_0x17e431,'isEnabled'),_0x13702a['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x20307e),this['listenTo'](_0x13702a,'execute',(_0x20a5b4,_0x8f2425)=>{_0x2e8f6b['execute']('forward'===_0x8f2425?'showNextChange':'showPreviousChange');}),_0x13702a;}),_0x2b3a59['show'](),_0x20307e['on']('change:isReady',(_0x442dc4,_0x5d7faf,_0x464c9c)=>{_0x464c9c?_0x2b3a59['hide']():_0x2b3a59['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x33de4b,_0x52911b){super(_0x33de4b,_0x52911b);const _0x235e0d=this['bindTemplate'];this['set']({'label':y(_0x33de4b,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x33de4b,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x235e0d['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 _0x4d1d72=this['fieldView']['element'];this['_tooltipString']=_0x4d1d72['scrollWidth']>_0x4d1d72['clientWidth']&&_0x4d1d72['value']||'';}}class ti extends _0x337b5c{constructor(_0x4d43ea,_0xb56fb7,_0x209636){super(_0x4d43ea);const _0x85e9da=new _0x3031f3();_0x85e9da['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 _0x24b92e=['ck','ck-revision-history-sidebar__revision-author'];_0x209636&&_0x24b92e['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3d925a=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x4d43ea,_0x209636?'Revision\x20creator':'Revision\x20author')},'children':[_0x85e9da,_0xb56fb7['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x24b92e},'children':_0x3d925a});}}function ni(_0x374038,_0x214a78){const _0x285690=_0x374038['bindTemplate'],_0x150b08=_0x374038['locale'],_0x473eb1=_0x4f223e(_0x150b08);_0x473eb1['panelPosition']='sw';const _0x1acd31=function(_0x5e5bba,_0x2b428c){const _0x22509b=function(_0x1068f5,_0x41e5d4){const _0x13261c=_0x1068f5['locale'],_0x22ae53={'Compare\x20against\x20selected':y(_0x13261c,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x13261c,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x13261c,'Restore\x20this\x20revision')};return _0x41e5d4['map'](_0x1282af=>{const _0x322d6b=_0x22ae53[_0x1282af['name']];return _0x322d6b&&_0x322d6b!==_0x1282af['name']&&(_0x1282af['name']=_0x322d6b),_0x1282af;});}(_0x5e5bba,_0x2b428c),_0x4b068f=new _0x573400();for(const _0x1fb9bc of _0x22509b){const _0x514054={'type':'button','model':new to({'label':_0x1fb9bc['name'],'class':_0x1fb9bc['class'],'withText':!0x0,'role':'menuitem','_action':_0x1fb9bc['action']})};_0x514054['model']['bind']('isEnabled')['to'](_0x5e5bba,'isActionsDropdownOpen',_0x46b51c=>'function'!=typeof _0x1fb9bc['isEnabled']||(!_0x46b51c||_0x1fb9bc['isEnabled'](_0x5e5bba))),_0x4b068f['add'](_0x514054);}return _0x4b068f;}(_0x374038,_0x214a78);return _0x374038['bind']('isActionsDropdownOpen')['to'](_0x473eb1,'isOpen'),_0x473eb1['buttonView']['set']({'label':y(_0x150b08,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x1e49c1['threeVerticalDots']}),_0x473eb1['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x285690['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x285690['to'](_0xc6648c=>_0xc6648c['stopPropagation']())}}),_0x473eb1['on']('execute',_0x3662c1=>{_0x374038['isReady']&&'function'==typeof _0x3662c1['source']['_action']&&_0x3662c1['source']['_action'](_0x374038);}),_0x1e7107(_0x473eb1,_0x1acd31,{'role':'menu'}),_0x473eb1['listenTo'](_0x374038,'change:isActionsDropdownOpen',(_0x2ffe65,_0x1724a4,_0x35c5f6)=>{if(_0x35c5f6)for(const _0x78bfe3 of _0x473eb1['listView']['items']){const _0x548444=_0x78bfe3['children']['first'],_0x267a9a=_0x214a78['find'](_0x575e80=>_0x575e80['action']===_0x548444['_action'])['isVisible'];_0x78bfe3['isVisible']=void 0x0===_0x267a9a||_0x267a9a(_0x374038);}}),_0x473eb1;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x1f9726(_0x337b5c){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x1fa340,_0x21075d,_0x49f5cc,_0x1acfbe){super(_0x1fa340);const _0x1a9b16=this['bindTemplate'],_0x221b90=function(_0x2e5d44,_0xe31c2d){const _0xe529d2=Array['from'](_0xe31c2d['authors'])['filter'](_0x580de8=>_0x580de8!=_0xe31c2d['creator']);return _0xe31c2d['creator']&&_0xe529d2['unshift'](_0xe31c2d['creator']),_0xe529d2['map'](_0x1e4c0f=>new ti(_0x2e5d44,_0x1e4c0f,_0x1e4c0f==_0xe31c2d['creator']));}(_0x1fa340,_0x21075d);this['id']=_0x21075d['id'],this['_revision']=_0x21075d,this['_requireRevisionName']=_0x1acfbe,this['bind']('name','createdAt')['to'](_0x21075d),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x1c0e5a=>{return _0xa7b67f=_0x1fa340['uiLanguage'],(_0x412ee9=_0x1c0e5a)['toLocaleDateString'](_0xa7b67f,{'month':'long','day':'numeric'})+',\x20'+_0x412ee9['toLocaleTimeString'](_0xa7b67f,{'hour':'numeric','minute':'numeric'});var _0xa7b67f,_0x412ee9;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x1fa340,_0x41d133),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x252bc0=>_0x252bc0||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x45226f,_0x18541f)=>_0x45226f&&_0x18541f),this['revisionActionsView']=_0x49f5cc&&_0x49f5cc['length']?ni(this,_0x49f5cc):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x1a9b16['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x1a9b16['if']('isEnabled','ck-disabled',_0x29f7a4=>!_0x29f7a4),_0x1a9b16['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x1a9b16['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x1a9b16['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':_0x1a9b16['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':_0x221b90}]},this['revisionActionsView']],'on':{'click':_0x1a9b16['to'](_0xbcd662=>{_0xbcd662['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x37f3fd=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x37f3fd,'change',()=>{this['_requireRevisionName']&&!_0x37f3fd['value']||this['fire']('setName',{'id':this['id'],'name':_0x37f3fd['value']}),_0x37f3fd['value']||(_0x37f3fd['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(_0x2a6006,_0x2c7603){const _0x4c717b=_0x129827['fromJSDate'](_0x2a6006)['setLocale'](_0x2c7603),_0x946eac=_0x129827['local'](),_0x32f0b1=_0x946eac['minus']({'days':0x1})['startOf']('day');let _0x4d6909,_0x489399;return _0x4c717b['hasSame'](_0x946eac,'day')?(_0x4d6909=_0x4c717b['startOf']('day')['toJSDate'](),_0x489399=_0x4c717b['toRelativeCalendar']()):_0x4c717b['hasSame'](_0x32f0b1,'day')?(_0x4d6909=_0x32f0b1['toJSDate'](),_0x489399=_0x4c717b['toRelativeCalendar']()):_0x4c717b['hasSame'](_0x946eac,'week')?(_0x4d6909=_0x4c717b['startOf']('week')['toJSDate'](),_0x489399=_0x4c717b['weekdayLong']||''):_0x4c717b['hasSame'](_0x946eac,'year')?(_0x4d6909=_0x4c717b['startOf']('month')['toJSDate'](),_0x489399=_0x4c717b['monthLong']||''):(_0x4d6909=_0x4c717b['startOf']('year')['toJSDate'](),_0x489399=String(_0x4c717b['year'])),{'startDate':_0x4d6909,'localizedPeriodName':_0x489399};}class mi extends _0x337b5c{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x50efc1,_0x4f5b1d,_0x15536f,_0x5abceb){super(_0x50efc1);const _0x1616e5=di(_0x4f5b1d,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x4f5b1d,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x15536f,this['_requireRevisionName']=_0x5abceb,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':_0x1616e5}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x4206a9){const _0x119cd9=new ai(this['locale'],_0x4206a9,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x119cd9);}['removeRevision'](_0x4f68b8){const _0x555ac6=this['revisionViews']['find'](_0x44ef1c=>_0x44ef1c['id']===_0x4f68b8['id']);this['revisionViews']['remove'](_0x555ac6);}}class as extends _0x337b5c{constructor(_0x195524){super(_0x195524);const _0x29523f=new _0x3031f3();_0x29523f['content']=_0x1e49c1['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x29523f,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x195524,'Revision\x20history')]}]});}}class ci extends _0x337b5c{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x1fb5b5,_0x8329a0,_0x180511,_0x4cbb5e){super(_0x1fb5b5);const _0x3bd31c=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x8329a0,this['_revisionActions']=_0x180511,this['_requireRevisionName']=_0x4cbb5e,this['on']('select',(_0x4e7ea0,_0x2c7910)=>{this['fire']('revisionSelected',_0x2c7910);}),this['on']('setName',(_0x32e274,_0x3f6105)=>{this['fire']('revisionSetName',_0x3f6105);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x1fb5b5),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x3bd31c['if']('isEnabled','ck-disabled',_0x5b1bee=>!_0x5b1bee)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x82e06f of this['_revisions'])this['_addRevision'](_0x82e06f);this['_revisions']['on']('add',(_0xc2f45e,_0x51e0bc)=>{this['_addRevision'](_0x51e0bc);}),this['_revisions']['on']('remove',(_0xcc2660,_0x39cb63)=>{this['_removeRevision'](_0x39cb63);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x4d9560=>_0x4d9560['revisionViews']['map'](_0x4f18b0=>_0x4f18b0))['flat']();}['selectRevision'](_0x3969b6){for(const _0x18dd9b of this['revisionViews'])_0x3969b6&&_0x3969b6['id']===_0x18dd9b['id']?_0x18dd9b['select']():_0x18dd9b['deselect']();}['highlightRevisions'](_0x3e0c10){for(const _0x5474c7 of this['revisionViews'])_0x3e0c10['some'](({id:_0x5a8d1c})=>_0x5a8d1c===_0x5474c7['id'])?_0x5474c7['highlight']():_0x5474c7['unhighlight']();}['_addRevision'](_0x118a8e){const _0x1eed05=di(_0x118a8e['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x1d1985=this['timePeriodViews']['get'](0x0);_0x1d1985&&_0x1d1985['startDate']['getTime']()===_0x1eed05['getTime']()||(_0x1d1985=new mi(this['locale'],_0x1eed05,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x1d1985)),_0x1d1985['addRevision'](_0x118a8e);}['_removeRevision'](_0x4c23e3){const _0x2d6f0f=di(_0x4c23e3['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x2d6f0f)['removeRevision'](_0x4c23e3);}['_getTimePeriodViewByStartDate'](_0x3255d5){return this['timePeriodViews']['find'](_0x12c603=>_0x12c603['startDate']['getTime']()===_0x3255d5['getTime']());}}class w extends _0x120911{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
27
- ((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
28
- Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x8adada){super(_0x8adada),this['_revisionViewer']=_0x8adada['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x29e5d9=this['_revisionsRepository']['_revisions'],_0x1116cc=this['_createRevisionActions'](),_0x29aa85=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x29e5d9,_0x1116cc,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',(_0x481355,_0x440a80)=>{_0x440a80['revisionViews']['on']('add',(_0x3162ba,_0x17ddfc)=>{_0x17ddfc['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)),_0x29aa85['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x5a9ce6=this['_revisionsRepository']['getRevision'](0x0);if(_0x5a9ce6){const _0x45697b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x5a9ce6['id']);this['_revisionViewer']['compare'](_0x5a9ce6,_0x45697b);}}['_handleRevisionSelected'](_0x4ddbbb,_0x25131a){const _0x2e6a7a=this['_revisionsRepository']['getRevision'](_0x25131a['id']),_0x45320b=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x2e6a7a['id']);this['_revisionViewer']['compare'](_0x2e6a7a,_0x45320b);}['_handleRevisionSetName'](_0x1c27d0,_0x558d06){this['_revisionsRepository']['getRevision'](_0x558d06['id'])['setName'](_0x558d06['name']);}['_handleDiffChange'](_0x59dc23,_0x20b463,_0x226547){const _0x4e8a51=this['_revisionsRepository']['getRevisionsInDiff'](_0x226547);_0x4e8a51['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x4e8a51),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x4e8a51[0x0]));}['_createRevisionActions'](){const _0x79d2b3=this['editor'],_0x43cf43=w['availableRevisionActions'],_0x28272f=_0x79d2b3['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x28272f['length'])return _0x28272f['map'](_0x39b977=>{const _0x38e700='string'==typeof _0x39b977?Object['assign']({},_0x43cf43[_0x39b977]):_0x39b977;return _0x38e700['action']=_0x38e700['action']['bind'](this,_0x79d2b3),_0x38e700['isVisible']&&(_0x38e700['isVisible']=_0x38e700['isVisible']['bind'](this,_0x79d2b3)),_0x38e700;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x473d8e},_0x51bcef)=>{const _0x5f5bdc=_0x473d8e['get'](d),_0x5f292d=_0x5f5bdc['repository'];let _0x5ec9fe=_0x5f5bdc['diff']['newRevisionId'],_0x40ea2e=_0x51bcef['id'];_0x5f292d['getIndex'](_0x5ec9fe)>_0x5f292d['getIndex'](_0x40ea2e)&&([_0x5ec9fe,_0x40ea2e]=[_0x40ea2e,_0x5ec9fe]),_0x5f5bdc['compare'](_0x5ec9fe,_0x40ea2e);},'isVisible':({plugins:_0x51221b},_0x469f19)=>{const _0x1a9e5e=_0x51221b['get'](d);return!(_0x1a9e5e['repository']['getRevisionsInDiff'](_0x1a9e5e['diff'])['length']>0x2)&&!_0x469f19['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x377144,{id:_0x556b37})=>{_0x377144['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x556b37);},'isVisible':({plugins:_0x508f67},_0x3ee7f9)=>!!_0x508f67['get'](d)['repository']['getLaterVisibleRevision'](_0x3ee7f9['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0xfeb0f2},{id:_0xe85445,revisionNameView:_0x1a538b})=>{const _0x52d808=_0xfeb0f2['get'](d),_0x80df2c=_0x52d808['repository']['getEarlierVisibleRevision'](_0xe85445);_0x52d808['compare'](_0xe85445,_0x80df2c),_0x1a538b['focus'](),_0x1a538b['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x177563,_0xa8adbd){super(_0x177563),this['_view']=_0xa8adbd,this['_toolbarConfig']=ct(_0x177563['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x1363f0){const _0x55a98a=this['editor'],_0xd95c00=this['view'],_0x552374=_0x55a98a['editing']['view'],_0x574f3d=_0xd95c00['editable'],_0x3bdd0a=_0x552374['document']['getRoot']();_0x574f3d['name']=_0x3bdd0a['rootName'],_0xd95c00['render']();const _0x2ade23=_0x574f3d['element'];this['setEditableElement'](_0x574f3d['name'],_0x2ade23),_0xd95c00['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x552374['attachDomRoot'](_0x2ade23),this['_elementReplacer']['replace'](_0x1363f0,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x2cafd8=this['view'],_0x2b682a=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2b682a['detachDomRoot'](_0x2cafd8['editable']['name']),_0x2cafd8['destroy']();}['_initToolbar'](){const _0x3f941e=this['view'];_0x3f941e['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x3f941e['stickyPanel']['limiterElement']=_0x3f941e['element'],_0x3f941e['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x49f721})=>_0x49f721),_0x3f941e['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x3f941e['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x346071,_0x230579,_0x2f6ba3={}){super(_0x346071),this['stickyPanel']=new lt(_0x346071),this['toolbar']=new pt(_0x346071,{'shouldGroupWhenFull':_0x2f6ba3['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x346071,_0x230579);}['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(_0x3f7bcd,_0x1ea0f2){super(_0x1ea0f2),this['sourceElement']=_0x3f7bcd,this['model']['document']['createRoot']();const _0x17d2b9=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x17d2b9);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0xe576b6,_0x31483f){const _0x3c9c81=new this(_0xe576b6,_0x31483f);return await _0x3c9c81['initPlugins'](),await _0x3c9c81['ui']['init'](_0xe576b6),await _0x3c9c81['data']['init'](_0x3c9c81['config']['get']('initialData')||''),_0x3c9c81['fire']('ready'),_0x3c9c81;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x120911{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x4ef8b8){super(_0x4ef8b8),this['result']='end';}}class H extends _0x120911{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0xe01452){if(super(_0xe01452),!this['editor']['config']['get']('revisionHistory'))throw new _0x10312b('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x84ffc0=>this['_showRevisionViewer']({..._0x84ffc0,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x1ea00f=>this['_closeRevisionViewer'](_0x1ea00f)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x5a7277=>this['_restoreRevision'](_0x5a7277)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x392be0){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x392be0;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x20ba03){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x20ba03);}['getRevision'](_0xc20f94){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0xc20f94);}['getRevisions'](_0x3d6bac){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x3d6bac||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x504ae7=this['editor'],_0x35673c=_0x22fc0e(_0x504ae7,p),_0x1e8e98=_0x504ae7['plugins']['get']('RevisionTracker'),_0x5d3316=_0x504ae7['plugins']['get']('Users')['users'];return _0x35673c['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x35673c['lazyRoots'],(_0x35673c['plugins']['push'](k,d,R,class extends _0x120911{static get['requires'](){return[d,'Users'];}['init'](){const _0x4b6122=this['editor']['plugins']['get']('Users');for(const _0x57a8d9 of _0x5d3316)_0x57a8d9['isAnonymous']||_0x4b6122['getUser'](_0x57a8d9['id'])||_0x4b6122['addUser'](_0x57a8d9);const _0x48ba86=_0x1e8e98['repository']['getRevisions']();let _0x2a4489=null;const _0x271c54=this['editor']['plugins']['get']('RevisionViewer');_0x271c54['adapter']=_0x1e8e98['adapter'],_0x271c54['bind']('isEnabled')['to'](_0x1e8e98),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x504ae7,'isReadOnly',_0x59c2d7=>!_0x59c2d7);for(const _0x3c66f6 of _0x48ba86){const _0x6c2259=null===_0x3c66f6['creator'];if(_0x6c2259&&_0x3c66f6['toVersion']===_0x3c66f6['fromVersion'])continue;const _0x1e72e9=_0x3c66f6['toJSON']();_0x271c54['addRevisionData'](_0x1e72e9,(_0x3d772e,_0x2098b5,_0x211321)=>{if(_0x6c2259){if(_0x2a4489)_0x2a4489['_update'](_0x3d772e,_0x2098b5);else{if(!_0x2098b5){const _0x4512ac=_0x211321['toJSON']();_0x4512ac['id']=_0x3b07d1(),_0x1e8e98['saveRevision'](_0x4512ac,_0x211321['toVersion'])['then'](_0x172c7b=>{_0x2a4489=_0x172c7b;});}}}else _0x3c66f6['_update'](_0x3d772e,_0x2098b5);});}}},w),_0x35673c);}['_enhanceShowRevisionViewerCallback'](){const _0x3247b4=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x41a568=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x2ecb3b=this['editor']['plugins']['get']('Autosave');await _0x2ecb3b['save']();}else await _0x41a568['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x285424=this['editor']['plugins']['get']('Dialog');_0x285424['isOpen']&&_0x285424['hide']();}const _0x2821cf=this['_getRevisionViewerEditorConfig']();return _0x3247b4(_0x2821cf)['then'](_0x494458=>{return(this['_viewerEditor']=_0x494458,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x494458;})['catch'](_0x54a1c9=>(console['error'](_0x54a1c9),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x2e5c44=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'](),_0x2e5c44(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x2108f9=this['editor']['plugins']['get']('Annotations');_0x2108f9['refreshVisibility'](),_0x2108f9['refreshPositioning']();}})));}['_showRevisionViewer'](_0x12a3e0){const _0x4bce29=this['editor']['config']['get']('revisionHistory.editorContainer'),_0xfe0f04=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x4cb7ad=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x4cb7ad,_0x12a3e0)['then'](_0x5b5226=>(_0xfe0f04['style']['display']='block',_0x4bce29['style']['display']='none',_0x5b5226));}['_closeRevisionViewer'](_0x1a858d){const _0x1ea98c=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x1ea98c['style']['display']='',_0x1a858d['destroy']();}async['_restoreRevision'](_0x3742bb){const _0x16636e=this['editor'],_0x33289d=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x113cb7=_0x16636e['plugins']['get']('RevisionTracker'),_0x246388=_0x33289d['repository']['getRevision'](_0x3742bb);let _0x18ad6f,_0x200c79,_0x5a7396;try{_0x18ad6f=await _0x33289d['getRevisionData'](_0x246388),_0x200c79=await _0x33289d['getRevisionRootsAttributes'](_0x246388);}catch(_0xcf784f){return void console['error'](_0xcf784f);}_0x16636e['model']['change'](_0x2f36f2=>{for(const _0x420806 of Array['from'](_0x16636e['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2f36f2['removeMarker'](_0x420806);}),_0x33289d['isReady']=!0x1,_0x16636e['model']['enqueueChange'](_0x5dd6c1=>{_0x5dd6c1['setSelection'](null),_0x5dd6c1['removeSelectionAttribute'](_0x16636e['model']['document']['selection']['getAttributeKeys']());const _0xcb3459=Object['keys'](_0x18ad6f);for(const _0x4faf41 of _0x16636e['model']['document']['roots'])'$graveyard'!=_0x4faf41['rootName']&&_0x4faf41['isAttached']()&&!_0xcb3459['includes'](_0x4faf41['rootName'])&&_0x5dd6c1['detachRoot'](_0x4faf41);for(const _0x41f9e4 of _0xcb3459){let _0x15b267=_0x16636e['model']['document']['getRoot'](_0x41f9e4);_0x15b267&&_0x15b267['isAttached']()||(_0x15b267=_0x5dd6c1['addRoot'](_0x41f9e4));const _0x1a4a09=_0x200c79[_0x41f9e4],_0x27665a=Object['keys'](_0x1a4a09),_0x3447bb=_0x18ad6f[_0x41f9e4];for(const _0x4efdaa of _0x15b267['getAttributeKeys']())_0x27665a['includes'](_0x4efdaa)||_0x5dd6c1['removeAttribute'](_0x4efdaa,_0x15b267);for(const _0x1d4319 of _0x27665a)_0x5dd6c1['setAttribute'](_0x1d4319,_0x200c79[_0x41f9e4][_0x1d4319],_0x15b267);_0x5dd6c1['remove'](_0x5dd6c1['createRangeIn'](_0x15b267)),_0x5dd6c1['insert'](_0x16636e['data']['parse'](_0x3447bb,_0x15b267),_0x15b267,0x0);}});const _0xe4a49f=y(_0x16636e['locale'],'Restored');if(_0x246388['name'])_0x5a7396=-0x1==_0x246388['name']['indexOf'](_0xe4a49f)?_0xe4a49f+':\x20'+_0x246388['name']:_0x246388['name'];else _0x5a7396=_0xe4a49f+':\x20'+(_0x246388['createdAt']['toLocaleDateString'](_0x16636e['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x246388['createdAt']['toLocaleTimeString'](_0x16636e['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x113cb7['saveRevision']({'name':_0x5a7396}),_0x33289d['isReady']=!0x0,_0x16636e['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};
23
+ import{Plugin as _0x3fe8e5,Context as _0x24ec17,PendingActions as _0x38104f,icons as _0x132edd,Command as _0x413299,DataApiMixin as rt,ElementApiMixin as st,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x3d769b,uid as _0x5e2995,Collection as _0xacebb8,logWarning as _0x3ed147,FocusTracker as _0x2fb5b8,KeystrokeHandler as _0x112d4f,scrollViewportToShowTarget as _0x43befe,ResizeObserver as kt,ElementReplacer as nt,CKEditorError as _0x1c86ce}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x45929e,getMarkerDomElement as _0x343537,ConfirmMixin as _0x3a856d,sanitizeEditorConfig as _0x231c1c}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x2d1c58,ViewText as _0x208f82,ViewElement as _0x4fe726,Element as ft,Range as gt,Position as wt,DocumentFragment as _t,ViewContainerElement as _0x29c9c9,ViewAttributeElement as _0x23a7e7,ViewEmptyElement as _0x3260e7,ViewRawElement as _0x27c3e6,ViewUIElement as _0x587e8f,Text as yt}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x1f12f9,set as _0x405523,unset as _0xf8a896,isEqual as _0x53d3b1}from'lodash-es';import{View as _0x381698,submitHandler as _0x47da7,LabeledFieldView as mt,createLabeledInputText as _0x1132ee,injectCssTransitionDisabler as ts,createDropdown as _0x1adbd1,ListView as te,ListItemView as _0x1e3ff9,ButtonView as _0x2bbd3d,MenuBarMenuView as _0x83ee77,MenuBarMenuListView as _0x48fb42,MenuBarMenuListItemView as _0x5b3807,MenuBarMenuListItemButtonView as _0x3f15e2,ContextualBalloon as _0x25cc9c,ToolbarSeparatorView as _0x49774d,IconView as _0x26af09,addListToDropdown as _0x406ec9,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 _0x4095c7}from'luxon';class a extends _0x3d769b(){['setName'](_0x5e6fdb){this['_update']({'name':_0x5e6fdb});}['setAttribute'](_0x3b9c98,_0x3989c3){const _0x2dd97a=_0x1f12f9(this['attributes']);_0x405523(_0x2dd97a,_0x3b9c98,_0x3989c3),this['_update']({'attributes':_0x2dd97a});}['removeAttribute'](_0x4d2fd4){const _0x3d0234=_0x1f12f9(this['attributes']);_0xf8a896(_0x3d0234,_0x4d2fd4),this['_update']({'attributes':_0x3d0234});}['_update'](_0x5d7fdb,_0x490d45=!0x1){let _0x4b3252=!0x1;const _0x5e7a1a={'id':this['id']},_0x4ba126=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x57932c of _0x4ba126){const _0x31253f=_0x5d7fdb[_0x57932c];void 0x0!==_0x31253f&&_0x31253f!==this[_0x57932c]&&(this[_0x57932c]=_0x31253f,_0x5e7a1a[_0x57932c]=_0x31253f,_0x4b3252=!0x0);}_0x4b3252&&(_0x5e7a1a['authors']&&(_0x5e7a1a['authorsIds']=_0x5e7a1a['authors']['map'](_0x1ffe9a=>_0x1ffe9a['id']),delete _0x5e7a1a['authors']),this['fire']('_update',_0x5e7a1a,_0x490d45));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2f293c=>_0x2f293c['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}constructor(_0x12f28b){super(),this['id']=_0x12f28b['id']||_0x5e2995(),this['creator']=_0x12f28b['creator']||null,this['authors']=_0x12f28b['authors']||[],this['diffData']=_0x12f28b['diffData']||null,this['toVersion']=_0x12f28b['toVersion']||0x0,this['fromVersion']=_0x12f28b['fromVersion']||0x0,this['set']('name',_0x12f28b['name']||''),this['set']('createdAt',_0x12f28b['createdAt']||new Date()),this['set']('attributes',_0x12f28b['attributes']||{});}}class A extends _0x3fe8e5{static get['requires'](){return[_0x45929e];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}['afterInit'](){!function(_0x5c827a){function _0x30d0d9(_0x27e00a,_0x4d9403,_0x47d17e){const _0x3f859e={};_0x3f859e[_0x4faadd([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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],_0x3f859e[_0x4faadd([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 _0x59a202=new Uint8Array(0x10);for(let _0x170587=0xf;_0x170587>=0x0;--_0x170587)_0x59a202[_0x170587]=_0x47d17e%0x100,_0x47d17e=parseInt(_0x47d17e/0x100);let _0x3e8851=null,_0x1270e6=0x10;const _0x5a86b2=new Uint8Array(_0x4d9403),_0x158f4b=[],_0x153c4a=[];_0x244ffc();for(let _0x30ce6e=0x0;_0x30ce6e<_0x27e00a[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30ce6e++)0x10===_0x1270e6&&(_0x3e8851=_0x120633(_0x59a202),_0x1270e6=0x0,_0x4c47ce(_0x59a202)),_0x27e00a[_0x30ce6e]^=_0x3e8851[_0x1270e6++];return _0x27e00a;function _0x2f51da(_0x2e27b4){const _0x33cd94=[];for(let _0x4d7d91=0x0;_0x4d7d91<_0x2e27b4[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4d7d91+=0x4)_0x33cd94[_0x4faadd([0x70,0x75,0x73,0x68])](_0x2e27b4[_0x4d7d91]<<0x18|_0x2e27b4[_0x4d7d91+0x1]<<0x10|_0x2e27b4[_0x4d7d91+0x2]<<0x8|_0x2e27b4[_0x4d7d91+0x3]);return _0x33cd94;}function _0x4c47ce(_0x562ab9){for(let _0x5ce7d1=0xf;_0x5ce7d1>=0x0;_0x5ce7d1--){if(0xff!==_0x562ab9[_0x5ce7d1]){_0x562ab9[_0x5ce7d1]++;break;}_0x562ab9[_0x5ce7d1]=0x0;}}function _0x120633(_0x4fea17){const _0x514575=_0x158f4b[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x331938=[0x0,0x0,0x0,0x0];let t=_0x2f51da(_0x4fea17);for(let _0x18d1b5=0x0;_0x18d1b5<0x4;_0x18d1b5++)t[_0x18d1b5]^=_0x158f4b[0x0][_0x18d1b5];for(let _0x132aec=0x1;_0x132aec<_0x514575;_0x132aec++){for(let _0x33d384=0x0;_0x33d384<0x4;_0x33d384++)_0x331938[_0x33d384]=_0x3f859e[_0x4faadd([0x54,0x31])][t[_0x33d384]>>0x18&0xff]^_0x3f859e[_0x4faadd([0x54,0x32])][t[(_0x33d384+0x1)%0x4]>>0x10&0xff]^_0x3f859e[_0x4faadd([0x54,0x33])][t[(_0x33d384+0x2)%0x4]>>0x8&0xff]^_0x3f859e[_0x4faadd([0x54,0x34])][0xff&t[(_0x33d384+0x3)%0x4]]^_0x158f4b[_0x132aec][_0x33d384];t=_0x331938[_0x4faadd([0x73,0x6c,0x69,0x63,0x65])]();}const _0x5af989=new Uint8Array(0x10);let _0x4e1aaa;for(let _0x4750ba=0x0;_0x4750ba<0x4;_0x4750ba++)_0x4e1aaa=_0x158f4b[_0x514575][_0x4750ba],_0x5af989[0x4*_0x4750ba]=0xff&(_0x3f859e[_0x4faadd([0x53])][t[_0x4750ba]>>0x18&0xff]^_0x4e1aaa>>0x18),_0x5af989[0x4*_0x4750ba+0x1]=0xff&(_0x3f859e[_0x4faadd([0x53])][t[(_0x4750ba+0x1)%0x4]>>0x10&0xff]^_0x4e1aaa>>0x10),_0x5af989[0x4*_0x4750ba+0x2]=0xff&(_0x3f859e[_0x4faadd([0x53])][t[(_0x4750ba+0x2)%0x4]>>0x8&0xff]^_0x4e1aaa>>0x8),_0x5af989[0x4*_0x4750ba+0x3]=0xff&(_0x3f859e[_0x4faadd([0x53])][0xff&t[(_0x4750ba+0x3)%0x4]]^_0x4e1aaa);return _0x5af989;}function _0x244ffc(){const _0x2ee21d=_0x3f859e[_0x4faadd([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x5a86b2[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x3c1785=0x0;_0x3c1785<=_0x2ee21d;_0x3c1785++)_0x158f4b[_0x4faadd([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x153c4a[_0x4faadd([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x2f8ff4=0x4*(_0x2ee21d+0x1),_0x428c20=_0x5a86b2[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x3ca24d=_0x2f51da(_0x5a86b2);let _0x3918df;for(let _0xdf93fb=0x0;_0xdf93fb<_0x428c20;_0xdf93fb++)_0x3918df=_0xdf93fb>>0x2,_0x158f4b[_0x3918df][_0xdf93fb%0x4]=_0x3ca24d[_0xdf93fb],_0x153c4a[_0x2ee21d-_0x3918df][_0xdf93fb%0x4]=_0x3ca24d[_0xdf93fb];let _0x5461f6,_0x316d31=0x0,t=_0x428c20;for(;t<_0x2f8ff4;){_0x5461f6=_0x3ca24d[_0x428c20-0x1],_0x3ca24d[0x0]^=_0x3f859e[_0x4faadd([0x53])][_0x5461f6>>0x10&0xff]<<0x18^_0x3f859e[_0x4faadd([0x53])][_0x5461f6>>0x8&0xff]<<0x10^_0x3f859e[_0x4faadd([0x53])][0xff&_0x5461f6]<<0x8^_0x3f859e[_0x4faadd([0x53])][_0x5461f6>>0x18&0xff]^_0x3f859e[_0x4faadd([0x72,0x63,0x6f,0x6e])][_0x316d31]<<0x18,_0x316d31+=0x1;for(let _0x28ffa1=0x1;_0x28ffa1<_0x428c20/0x2;_0x28ffa1++)_0x3ca24d[_0x28ffa1]^=_0x3ca24d[_0x28ffa1-0x1];_0x5461f6=_0x3ca24d[_0x428c20/0x2-0x1],_0x3ca24d[_0x428c20/0x2]^=_0x3f859e[_0x4faadd([0x53])][0xff&_0x5461f6]^_0x3f859e[_0x4faadd([0x53])][_0x5461f6>>0x8&0xff]<<0x8^_0x3f859e[_0x4faadd([0x53])][_0x5461f6>>0x10&0xff]<<0x10^_0x3f859e[_0x4faadd([0x53])][_0x5461f6>>0x18&0xff]<<0x18;for(let _0x3428d7=_0x428c20/0x2+0x1;_0x3428d7<_0x428c20;_0x3428d7++)_0x3ca24d[_0x3428d7]^=_0x3ca24d[_0x3428d7-0x1];let _0x475fcf,_0x4d39bd,_0x349f98=0x0;for(;_0x349f98<_0x428c20&&t<_0x2f8ff4;)_0x475fcf=t>>0x2,_0x4d39bd=t%0x4,_0x158f4b[_0x475fcf][_0x4d39bd]=_0x3ca24d[_0x349f98],_0x153c4a[_0x2ee21d-_0x475fcf][_0x4d39bd]=_0x3ca24d[_0x349f98++],t++;}for(let _0x151368=0x1;_0x151368<_0x2ee21d;_0x151368++)for(let _0x1f452a=0x0;_0x1f452a<0x4;_0x1f452a++)_0x5461f6=_0x153c4a[_0x151368][_0x1f452a],_0x153c4a[_0x151368][_0x1f452a]=_0x3f859e[_0x4faadd([0x55,0x31])][_0x5461f6>>0x18&0xff]^_0x3f859e[_0x4faadd([0x55,0x32])][_0x5461f6>>0x10&0xff]^_0x3f859e[_0x4faadd([0x55,0x33])][_0x5461f6>>0x8&0xff]^_0x3f859e[_0x4faadd([0x55,0x34])][0xff&_0x5461f6];}}function _0x4faadd(_0xcbba12){return _0xcbba12['map'](_0x524939=>String['fromCharCode'](_0x524939))['join']('');}(_0x144aab=>{function _0x53cdcd(){const _0x27e6f5=[{[_0x4faadd([0x69,0x64])]:0x1,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x4faadd([0x69,0x64])]:0x2,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([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]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4faadd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4faadd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4faadd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4faadd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4faadd([0x69,0x64])]:0x3,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4faadd([0x69,0x64])]:0x4,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([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]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x4faadd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x4faadd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x4faadd([0x69,0x64])]:0x5,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([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]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}},{[_0x4faadd([0x69,0x64])]:0x6,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}},{[_0x4faadd([0x69,0x64])]:0x7,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}},{[_0x4faadd([0x69,0x64])]:0x8,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([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]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}},{[_0x4faadd([0x69,0x64])]:0x9,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x4faadd([0x69,0x64])]:0xa,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([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]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([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]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([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]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}},{[_0x4faadd([0x69,0x64])]:0xb,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4faadd([0x69,0x64])]:0xc,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x4faadd([0x69,0x64])]:0xd,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}},{[_0x4faadd([0x69,0x64])]:0xe,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x4faadd([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([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])},{[_0x4faadd([0x69,0x64])]:0xf,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x4faadd([0x69,0x64])]:0x10,[_0x4faadd([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x4faadd([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x4faadd([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x4faadd([0x66,0x67,0x69])]:[0xc]}}];return _0x46fb3a(_0x27e6f5),_0x27e6f5;function _0x5335ec(_0x37067e){return 0x1<<_0x37067e-0x1;}function _0x46fb3a(_0x5d68b9){_0x5d68b9[_0x4faadd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x167317=>{_0x167317[_0x4faadd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x5335ec(_0x167317[_0x4faadd([0x69,0x64])]),_0x2005f7(_0x167317)&&_0x167317[_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x46fb3a(_0x167317[_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x2005f7(_0x452c6f){return _0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x452c6f;}const _0x35e81a=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x28e3e5=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x3ea2e9(_0x524038){const _0x4233a9=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x4cedb5(_0x524038,new Uint8Array([..._0x35e81a,..._0x4233a9,..._0x28e3e5]));}function _0x4cedb5(_0x473fce,_0x585d09){const _0x577017=_0x22d0ed(_0x473fce),_0x43e9b7=Array[_0x4faadd([0x66,0x72,0x6f,0x6d])](_0xe7ba23(_0x577017)),_0xe6520b=_0x43e9b7[_0x4faadd([0x70,0x6f,0x70])](),_0x54c3f8=_0x43e9b7[_0x4faadd([0x70,0x6f,0x70])]();return _0x4471ec(_0x30d0d9(_0x43e9b7,_0x585d09,_0x54c3f8+0x100*_0xe6520b));}function _0x22d0ed(_0x3233bc){const _0x57c485=atob(_0x3233bc),[_0x2fab79,_0x28c5b0]=_0x57c485[_0x4faadd([0x73,0x70,0x6c,0x69,0x74])](_0x4faadd([0x2d]));try{if(atob(_0x28c5b0))return atob(_0x2fab79);}catch(_0x561a28){}return _0x57c485;}function _0x1fd173(_0x1949d0){try{const _0x4f6f2c=_0x3ea2e9(_0x1949d0),_0x559347=JSON[_0x4faadd([0x70,0x61,0x72,0x73,0x65])](_0x4f6f2c),_0x3f85c1=parseInt(_0x559347[_0x4faadd([0x31])]),_0x2f6ab2=_0x559347[_0x4faadd([0x32])]||'',_0x3931a0=parseInt(_0x559347[_0x4faadd([0x33])]),_0x1a1a3c=parseInt(_0x559347[_0x4faadd([0x34])])||0x0,_0xe0689=parseInt(_0x559347[_0x4faadd([0x35])])||0x0;return{[_0x4faadd([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x2f6ab2,[_0x4faadd([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x1a1a3c,[_0x4faadd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x3f85c1,[_0x4faadd([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x3931a0,[_0x4faadd([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0xe0689};}catch(_0x58d0a0){return null;}}const _0x9d6132=_0x53cdcd(),_0x181e52={[_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x1e5b95,[_0x4faadd([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])]:_0x58a115,[_0x4faadd([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])]:_0x4f5432},_0x150a25=_0x144aab[_0x4faadd([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x139b82=_0x4faadd([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x144aab?_0x144aab['context']:_0x144aab['editor'],_0x54f3d0=_0x4faadd([0x34,0x30,0x34,0x38,0x31,0x32,0x30,0x38]),_0x3eac7c=_0x4faadd([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]),_0x58cd7f=_0x139b82['config']['get'](_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x56748b=_0x9d6132[_0x4faadd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2005f7)[_0x4faadd([0x66,0x69,0x6e,0x64])](_0x3d5323=>_0x3d5323[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x150a25);function _0x5e5102(_0x36cbd1,_0x58b815){_0x181e52[_0x58b815[_0x4faadd([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x36cbd1,_0x58b815),_0x58b815[_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x58b815[_0x4faadd([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x4faadd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1d04e9=>_0x5e87b4(_0x139b82,_0x1d04e9[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x4faadd([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x57e937=>_0x5e5102(_0x36cbd1,_0x57e937));}function _0x1e5b95(_0x34edad,_0x4a61d9){_0x1884ed(_0x557e30(_0x34edad,_0x4a61d9),_0x4a61d9);}function _0x58a115(_0x56df9e,_0x5b070b){function _0x51738f(_0x2f6f41,_0x2e0c7c){try{if(_0x5e87b4(_0x139b82,_0x4faadd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x2f6f41){const _0x3951ff=_0x5e64d8(_0x139b82,_0x4faadd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x4faadd([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x3951ff)/0x2>_0x2f6f41[_0x4faadd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x402f7c(_0x2e0c7c[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x557e30(_0x2f6f41,_0x2e0c7c);}catch(_0x2b9748){return _0x402f7c(_0x2e0c7c[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x1884ed(_0x51738f(_0x56df9e,_0x5b070b),_0x5b070b);}function _0x4f5432(_0xe75f00,_0x34480e){const _0x3af2f9=_0x28e3e5[0x0]*_0x35e81a[0x1],_0x2e81d6=_0x28e3e5[0x0]*_0x35e81a[0x2],_0x29b66c=_0x28e3e5[0x2]*_0x35e81a[0x2];_0x5e87b4(_0x139b82,_0x4faadd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5e64d8(_0x139b82,_0x4faadd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4faadd([0x73,0x74,0x61,0x74,0x65])]==_0x4faadd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x2493ca()]=_0x29b66c);function _0x339874(_0x2100e7,_0x2bdc7a){try{return _0x4c2bb9()?_0x402f7c(_0x2bdc7a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x56,0x61,0x6c,0x69,0x64])):_0x557e30(_0x2100e7,_0x2bdc7a);}catch(_0x520ae9){return _0x402f7c(_0x2bdc7a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5b5876(_0x4eaa78,_0x37beda){const _0x5e57a0=0x7;if(_0x4eaa78==_0x37beda[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x40f215();else{if(_0x4eaa78==_0x37beda[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c])){const _0x2ef65f=_0x5d7b61();_0x2ef65f&&_0x175cc2(_0x2ef65f,_0x37beda[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x3c9ecb=_0x15d3b9();window[_0x4faadd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x175cc2(_0x4faadd([0x74,0x69,0x6d,0x65]),_0x37beda[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x3c9ecb);const _0x5778e2=_0x5e64d8(_0x139b82,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4faadd([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x5778e2[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5e57a0?_0x175cc2(_0x4faadd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x37beda[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x5778e2['on'](_0x4faadd([0x61,0x64,0x64]),()=>{_0x5778e2[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x5e57a0&&_0x175cc2(_0x4faadd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x37beda[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x5d7b61(){if(!_0x5e87b4(_0x139b82,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x50d152 in window)if(Number['isNaN'](Number(_0x50d152))){if(window[_0x50d152]===_0x3af2f9)return _0x4faadd([0x74,0x69,0x6d,0x65]);if(window[_0x50d152]===_0x2e81d6)return _0x4faadd([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x4c2bb9(){if(!_0x5e87b4(_0x139b82,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x4958ad in window)if(Number['isNaN'](Number(_0x4958ad))&&window[_0x4958ad]===_0x29b66c)return!0x0;return!0x1;}function _0x175cc2(_0x52bfcf,_0x121402){_0x40f215(),_0x402f7c(_0x121402+_0x4faadd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x52bfcf),window[_0x2493ca()]=_0x52bfcf===_0x4faadd([0x74,0x69,0x6d,0x65])?_0x3af2f9:_0x2e81d6;}function _0x15d3b9(){let _0x4511f3=_0x28e3e5[0x6]*_0x35e81a[0x8]*_0x35e81a[0x6];return _0x5e87b4(_0x139b82,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x4511f3/=0xa),_0x4511f3;}function _0x40f215(){const _0x2034cd=_0x139b82;function _0x482255(){_0x5e87b4(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faadd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4faadd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faadd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faadd([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x228b00,_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x4faadd([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x228b00,_0x2034cd[_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faadd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x228b00,_0x2034cd[_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faadd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x228b00,_0x2034cd[_0x4faadd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c]))),_0x5e87b4(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faadd([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x4faadd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faadd([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faadd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x228b00,_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faadd([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x228b00);}_0x2034cd[_0x4faadd([0x73,0x74,0x61,0x74,0x65])]==_0x4faadd([0x72,0x65,0x61,0x64,0x79])?_0x482255():_0x2034cd[_0x4faadd([0x6f,0x6e,0x63,0x65])](_0x4faadd([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x5e87b4(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x482255(),_0x5e87b4(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x406855=_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0xcd8cfa=_0x406855['getRevision'](0x0),_0x14a82f=_0x406855['getEarlierVisibleRevision'](_0xcd8cfa[_0x4faadd([0x69,0x64])]);_0x5e64d8(_0x2034cd,_0x4faadd([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x4faadd([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0xcd8cfa[_0x4faadd([0x69,0x64])],_0x14a82f?_0x14a82f[_0x4faadd([0x69,0x64])]:null,0x1)['then'](()=>_0x482255());}});}_0x5b5876(_0x339874(_0xe75f00,_0x34480e),_0x34480e);}function _0x557e30(_0xeee913,_0x157221){try{return _0x233911(_0x157221)?_0x402f7c(_0x157221[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x56,0x61,0x6c,0x69,0x64])):_0xeee913&&_0x3e5e4d(_0xeee913[_0x4faadd([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x157221)?_0xeee913[_0x4faadd([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x4faadd([0x6f,0x70,0x65,0x6e])][_0x4faadd([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x54f3d0)/0x2>_0xeee913[_0x4faadd([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x402f7c(_0x157221[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0xeee913[_0x4faadd([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x402f7c(_0x157221[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c])):_0x402f7c(_0x157221[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x56,0x61,0x6c,0x69,0x64])):_0x402f7c(_0x157221[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x3e0e56){return _0x402f7c(_0x157221[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x1884ed(_0x377a31,_0x23be2a){if(_0x139b82 instanceof _0x24ec17){const _0x45dd85=_0x139b82;_0x377a31==_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x2cb25a(_0x45dd85):_0x377a31==_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c])&&window[_0x4faadd([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x2cb25a(_0x45dd85),_0x402f7c(_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x28e3e5[0x6]*_0x35e81a[0x8]*_0x35e81a[0x6]),_0x45dd85[_0x4faadd([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x4faadd([0x6f,0x6e])](_0x4faadd([0x61,0x64,0x64]),(_0x337a97,_0x284efb)=>{_0x377a31!=_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x377a31!=_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x377a31!=_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x12af2a(_0x284efb);});}else{const _0x1f5be5=_0x139b82;_0x377a31==_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x12af2a(_0x1f5be5):_0x377a31==_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c])&&_0x1f5be5[_0x4faadd([0x6f,0x6e])](_0x4faadd([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x539c5a=0x0;_0x1f5be5[_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faadd([0x6f,0x6e])](_0x4faadd([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x17161a,_0x435314)=>{_0x435314[0x0][_0x4faadd([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x539c5a++,0x1f8===_0x539c5a&&(_0x12af2a(_0x1f5be5),_0x402f7c(_0x23be2a[_0x4faadd([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x4faadd([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x17161a[_0x4faadd([0x6f,0x66,0x66])]());},{'priority':_0x4faadd([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x402f7c(_0x5024ee){const _0x32f430=_0x2493ca();return _0x139b82[_0x32f430]=_0x5024ee,_0x5024ee;}function _0x2493ca(){const _0x2ce0a4=String(window[_0x4faadd([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4faadd([0x6e,0x6f,0x77])]())[_0x4faadd([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4faadd([0x2e]),'');let _0x27c1e0='';for(let _0x219bde=0x0;_0x219bde<_0x2ce0a4[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x219bde+=0x2){let _0x4556ad=parseInt(_0x2ce0a4[_0x4faadd([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x219bde,_0x219bde+0x2));_0x4556ad>=_0x3eac7c[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4556ad-=_0x3eac7c[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x27c1e0+=_0x3eac7c[_0x4556ad];}return _0x27c1e0;}function _0x2cb25a(_0x1c045b){for(const _0x275244 of _0x1c045b[_0x4faadd([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x12af2a(_0x275244);_0x5e64d8(_0x1c045b,_0x4faadd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4faadd([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x5e64d8(_0x1c045b,_0x4faadd([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x4faadd([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x228b00;}function _0x12af2a(_0x87c4f4){function _0x59f93c(){_0x87c4f4[_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faadd([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x228b00,_0x87c4f4[_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c])][_0x4faadd([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x228b00,_0x87c4f4[_0x4faadd([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4faadd([0x6d,0x6f,0x64,0x65,0x6c]));}_0x87c4f4[_0x4faadd([0x73,0x74,0x61,0x74,0x65])]==_0x4faadd([0x72,0x65,0x61,0x64,0x79])?_0x59f93c():_0x87c4f4[_0x4faadd([0x6f,0x6e,0x63,0x65])](_0x4faadd([0x72,0x65,0x61,0x64,0x79]),()=>_0x59f93c());}function _0x228b00(){return null;}function _0x3e5e4d(_0x243432,_0xad0588){const _0x4467f0=!!(_0x243432&_0xad0588[_0x4faadd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x44b744=_0x361639(_0x243432,_0xad0588);return _0x4467f0||_0x44b744;}function _0x361639(_0xf068eb,_0x32ffc3){const _0x4582e1=(_0x32ffc3[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x4faadd([0x66,0x67,0x69])]||null;return!!_0x4582e1&&_0x9d6132[_0x4faadd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x398650=>_0x4582e1[_0x4faadd([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x398650[_0x4faadd([0x69,0x64])]))[_0x4faadd([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b99a3=>!_0xc7db43(_0x4b99a3))[_0x4faadd([0x73,0x6f,0x6d,0x65])](_0xdd64c2=>!!(_0xf068eb&_0xdd64c2[_0x4faadd([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0xc7db43(_0x34c4a6){const _0x3b0a6f={[_0x4faadd([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])]:_0x147a8c};return!!_0x34c4a6['forbiddenHandler']&&_0x3b0a6f[_0x34c4a6['forbiddenHandler']]();}function _0x147a8c(){return!window[_0x4faadd([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x5e87b4(_0x139b82,_0x4faadd([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x233911(_0x6fe667){if(!_0x5e87b4(_0x139b82,_0x6fe667[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x4d1005=_0x6fe667[_0x4faadd([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3192ba=_0x4d1005[_0x4faadd([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x5886be=_0x4d1005[_0x4faadd([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x4ecb98=_0x4d1005[_0x4faadd([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x5e87b4(_0x139b82,_0x4faadd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x5e64d8(_0x139b82,_0x4faadd([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x4faadd([0x73,0x74,0x61,0x74,0x65])]==_0x4faadd([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3192ba)return!0x0;if(_0x5e87b4(_0x139b82,_0x4faadd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x5e64d8(_0x139b82,_0x4faadd([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x4faadd([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x4faadd([0x65,0x6e,0x64])&&_0x5886be)return!0x0;return!(!_0x5e87b4(_0x139b82,_0x4faadd([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]))||_0x5e64d8(_0x139b82,_0x4faadd([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]))[_0x4faadd([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x4faadd([0x65,0x6e,0x64])||!_0x4ecb98);}function _0x5e87b4(_0x518c92,_0x4968e5){return _0x518c92[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4faadd([0x68,0x61,0x73])](_0x4968e5);}function _0x5e64d8(_0x194c31,_0x5fbace){return _0x194c31[_0x4faadd([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x4faadd([0x67,0x65,0x74])](_0x5fbace);}function _0x4471ec(_0x583067){let _0x178c23='';for(const _0x2d2594 of _0x583067)_0x178c23+=String[_0x4faadd([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x2d2594);return _0x178c23;}function _0xe7ba23(_0x160152){const _0x21719e=new Uint8Array(_0x160152[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x1e36df=0x0;_0x1e36df<_0x160152[_0x4faadd([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e36df++)_0x21719e[_0x1e36df]=_0x160152[_0x4faadd([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1e36df);return _0x21719e;}_0x56748b&&_0x5e5102(_0x1fd173(_0x58cd7f),_0x56748b);})(_0x5c827a);}(this);}['createRevision'](_0x44b1c7){const _0x68430c=this['editor']['plugins']['get']('Users');return new a({'id':_0x44b1c7['id'],'name':_0x44b1c7['name'],'creator':_0x44b1c7['creatorId']?_0x68430c['getUser'](_0x44b1c7['creatorId']):null,'diffData':_0x44b1c7['diffData']||_0x44b1c7['data'],'authors':_0x44b1c7['authorsIds']['map'](_0x18a110=>_0x68430c['getUser'](_0x18a110)),'createdAt':new Date(_0x44b1c7['createdAt']),'attributes':_0x44b1c7['attributes'],'fromVersion':_0x44b1c7['fromVersion'],'toVersion':_0x44b1c7['toVersion']});}['addRevision'](_0x1fe6ca,_0x57a923=0x0){this['_revisions']['add'](_0x1fe6ca,_0x57a923);}['getRevision'](_0x20c00f){return this['_revisions']['get'](_0x20c00f);}['getRevisions'](_0x57041a={'toJSON':!0x1}){const _0x2dbc7b=Array['from'](this['_revisions']);return _0x2dbc7b['reverse'](),_0x57041a['toJSON']?_0x2dbc7b['map'](_0x130edf=>_0x130edf['toJSON']()):_0x2dbc7b;}['getIndex'](_0x5d35f2){return this['_revisions']['getIndex'](_0x5d35f2);}['getEarlierVisibleRevision'](_0x8f173a){const [,_0x362ec5]=this['getRevisionsIterator'](_0x8f173a,{'direction':'earlier'});return _0x362ec5;}['getLaterVisibleRevision'](_0x56d3c1){const [,_0x4ebfa4]=this['getRevisionsIterator'](_0x56d3c1,{'direction':'later'});return _0x4ebfa4;}['getRevisionsInDiff'](_0x5e597b){const _0x48ccc4=[];for(const _0x278e54 of this['getRevisionsIterator'](_0x5e597b['newRevisionId']))if(_0x48ccc4['push'](_0x278e54),_0x278e54['id']===_0x5e597b['oldRevisionId'])break;return _0x48ccc4;}*['getRevisionsIterator'](_0x559a0d,{direction:_0x2f4cad='earlier',filter:_0x1cbecc=_0x2ac11a=>!0x0}={}){const _0x315889='earlier'===_0x2f4cad?0x1:-0x1;let _0x5047b9=this['_revisions']['get'](_0x559a0d),_0x1a51b3=this['getIndex'](_0x5047b9);for(yield _0x5047b9;_0x5047b9;){if(_0x1a51b3+=_0x315889,_0x5047b9=this['getRevision'](_0x1a51b3),!_0x5047b9)return;_0x1cbecc(_0x5047b9)&&(yield _0x5047b9);}}constructor(_0x108a02){super(_0x108a02),this['_revisions']=new _0xacebb8();}}function y(_0x35da69,_0x1a914a,_0x37a0cc){const t=_0x35da69['t'];switch(_0x1a914a){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'},_0x37a0cc);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x37a0cc);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':_0x29c9c9,'a':_0x23a7e7,'e':_0x3260e7,'r':_0x27c3e6,'u':_0x587e8f};class l extends _0x3fe8e5{static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x45929e,A,_0x38104f];}['init'](){this['repository']=this['editor']['plugins']['get']('RevisionsRepository'),this['_setConversion'](),this['editor']['data']['on']('ready',()=>{const _0xedcdfd=this['repository']['getRevision'](0x0),_0x6009be=_0xedcdfd&&null===_0xedcdfd['creator']?_0xedcdfd:null;if(this['_continueCurrentRevision']=!!_0x6009be&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x347e30=this['_source']['getCurrentRevisionId'](),_0x84c651=this['repository']['getRevision'](_0x347e30);if(_0x84c651)this['_startingVersion']=_0x84c651['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x4e0e05=this['_source']['history']['_operations']['find'](_0x4670cf=>!_0x4670cf['_isInit']),_0x2232c9=_0x4e0e05?_0x4e0e05['baseVersion']:this['_source']['history']['version'];_0xedcdfd?(_0xedcdfd['toVersion']<_0x2232c9&&_0xedcdfd['_update']({'toVersion':_0x2232c9}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x6009be['id'],this['_startingVersion']=_0x6009be['fromVersion']):(this['_startingVersion']=_0xedcdfd['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x2232c9,this['_continueCurrentRevision']=!0x1);}}else _0x6009be&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x6009be['toVersion'],this['editor']['model']['document']['history']['version']),_0x6009be['fromVersion']===_0x6009be['toVersion']?(0x0!==_0x6009be['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x6009be['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x6009be['id'],this['_startingVersion']=_0x6009be['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',_0x2ab930=>!_0x2ab930);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x95ac5f=this['repository']['getRevision'](0x0),_0x24df96=await this['getRevisionDocumentData'](_0x95ac5f),_0x429039=await this['getRevisionRootsAttributes'](_0x95ac5f);this['_replaceEditorDataWithRevisionData'](_0x24df96,_0x429039);}}['setSource'](_0x429e9d){this['_source']=_0x429e9d;}async['update'](){const _0x234342=await this['_source']['getLatestVersion']();if(_0x234342>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2d2d37=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x234342});_0x2d2d37['authors']=_0x2d2d37['authorsIds']['map'](_0x48a1eb=>this['editor']['plugins']['get']('Users')['getUser'](_0x48a1eb)),this['currentRevision']['_update'](_0x2d2d37);}}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'](_0x4214d0={},_0x3ce6c7=null){const _0x3f95c2=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3ce6c7>this['currentRevision']['toVersion']&&(_0x3ce6c7=null),null===_0x3ce6c7&&(_0x3ce6c7=await this['_source']['getLatestVersion']());const _0x1c72ca=this['_getFromVersion'](_0x3ce6c7),_0x1efb5f=this['buildRevisionData']({'from':_0x1c72ca,'to':_0x3ce6c7});if(this['currentRevision']['toVersion']<_0x3ce6c7){const _0x33d5b3=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3ce6c7,'to':_0x3ce6c7});_0x33d5b3['authors']=[],_0x33d5b3['authorsIds']=[],_0x33d5b3['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x33d5b3,!0x0),delete _0x33d5b3['authors'],_0x3f95c2['push'](_0x33d5b3);}_0x4214d0['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x4214d0['name']=_0x4214d0['name']||null,_0x4214d0['id']=_0x4214d0['id']||_0x5e2995(),_0x4214d0={..._0x4214d0,..._0x1efb5f};const _0x5205a2=this['addRevisionData'](_0x4214d0);_0x3f95c2['push'](_0x4214d0);const _0x23725d=this['repository']['getIndex'](_0x5205a2);if(0x0!==_0x23725d){const _0x6f39b0=this['repository']['getRevision'](_0x23725d-0x1);if(_0x6f39b0['fromVersion']!==_0x3ce6c7){const _0x598d83=this['_revisionDataBuilder']['getData'](_0x3ce6c7,_0x6f39b0['toVersion']),_0x441132={'id':_0x6f39b0['id'],'diffData':_0x598d83['diffData'],'authorsIds':_0x598d83['authorsIds'],'authors':_0x598d83['authorsIds']['map'](_0x39d099=>this['editor']['plugins']['get']('Users')['getUser'](_0x39d099)),'fromVersion':_0x3ce6c7};_0x6f39b0===this['currentRevision']&&(_0x441132['createdAt']=new Date(_0x4214d0['createdAt']['getTime']()+0xa)),_0x6f39b0['_update'](_0x441132,!0x0),delete _0x441132['authors'],_0x3f95c2['push'](_0x441132);}}if(this['adapter']){for(const _0x279442 of _0x3f95c2)this['_bufferUpdate'](_0x279442['id'],_0x279442,!0x0);this['sendBufferedUpdates']();}return _0x5205a2;}['addRevisionData'](_0x35923f){const _0x276d75=this['repository']['createRevision'](_0x35923f);return this['adapter']&&_0x276d75['on']('_update',(_0xfd41da,_0x37c8bd,_0x319291)=>{_0x319291||(this['_bufferUpdate'](_0x37c8bd['id'],_0x37c8bd,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x276d75,this['_findInsertionIndex'](_0x276d75)),_0x276d75;}async['getRevisionDocumentData'](_0x259adb){await this['_loadRevisionData'](_0x259adb);const _0x56251f={};for(const _0x19fdfc in _0x259adb['diffData']){if(_0x259adb['diffData'][_0x19fdfc]['attachChange']&&!_0x259adb['diffData'][_0x19fdfc]['attachChange']['isAttached'])continue;const _0xbce636=this['_removeRevisionMarkers'](JSON['parse'](_0x259adb['diffData'][_0x19fdfc]['insertions'])),_0x3d26d8=this['editor']['editing']['view']['document'],_0xeb879a=new _0x2d1c58(_0x3d26d8,_0xbce636['map'](_0x3626bc=>B(_0x3626bc,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x56251f[_0x19fdfc]=this['editor']['data']['processor']['toData'](_0xeb879a),this['editor']['data']['processor']['useFillerType']('default');}return _0x56251f;}async['getRevisionRootsAttributes'](_0x585b24){await this['_loadRevisionData'](_0x585b24);const _0x1d000f={};for(const _0x454e99 in _0x585b24['diffData'])_0x585b24['diffData'][_0x454e99]['attachChange']&&!_0x585b24['diffData'][_0x454e99]['attachChange']['isAttached']||(_0x1d000f[_0x454e99]=_0x585b24['diffData'][_0x454e99]['attributesAfter']||{});return _0x1d000f;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x28c9f7=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x5d0998=0x0;_0x5d0998<_0x28c9f7['length'];_0x5d0998++){const _0x154737=_0x28c9f7[_0x5d0998];let _0x1c1598=!0x1;for(const _0x24ae90 of Object['keys'](_0x154737))void 0x0===_0x154737[_0x24ae90]?delete _0x154737[_0x24ae90]:'id'!==_0x24ae90&&(_0x1c1598=!0x0);_0x1c1598||(_0x28c9f7[_0x5d0998]=null);}if(_0x28c9f7=_0x28c9f7['filter'](_0x3f2785=>null!==_0x3f2785),!_0x28c9f7['length'])return;for(let _0x3d9db3=0x0;_0x3d9db3<_0x28c9f7['length'];_0x3d9db3++){const _0x3c966d=_0x28c9f7[_0x3d9db3];void 0x0!==_0x3c966d['fromVersion']&&void 0x0===_0x3c966d['toVersion']&&(_0x3c966d['toVersion']=this['repository']['getRevision'](_0x3c966d['id'])['toVersion']),void 0x0!==_0x3c966d['toVersion']&&void 0x0===_0x3c966d['fromVersion']&&(_0x3c966d['fromVersion']=this['repository']['getRevision'](_0x3c966d['id'])['fromVersion']);}const _0x8290d=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x28c9f7,_0x8290d)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x3f99b6=>{if(_0x3f99b6){for(const _0x20d46a of _0x3f99b6)this['setRevisionData']({'id':_0x20d46a['id'],'createdAt':_0x20d46a['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x230e51,_0x437e5c){let _0x2a02f9=this['editor']['config']['get']('initialData'),_0x98094f=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x2a02f9){_0x2a02f9={};for(const _0x42837e of this['editor']['model']['document']['getRootNames']())_0x2a02f9[_0x42837e]='';}if('string'==typeof _0x2a02f9&&(_0x2a02f9={'main':_0x2a02f9}),void 0x0===_0x98094f){_0x98094f={};for(const _0x3429d2 of this['editor']['model']['document']['getRootNames']())_0x98094f[_0x3429d2]={};}let _0x589930=!0x1;const _0x42c417=Object['keys'](_0x2a02f9),_0x5e6eae=Object['keys'](_0x230e51);for(const _0x36f000 of _0x42c417){if(_0x2a02f9[_0x36f000]!==_0x230e51[_0x36f000]&&''!==_0x2a02f9[_0x36f000]['trim']()){_0x589930=!0x0;break;}if(!_0x53d3b1(_0x98094f[_0x36f000],_0x437e5c[_0x36f000])&&Object['keys'](_0x98094f[_0x36f000])['length']>0x0){_0x589930=!0x0;break;}}_0x589930||(_0x589930=_0x5e6eae['some'](_0x3996e4=>!this['editor']['model']['document']['getRoot'](_0x3996e4))),_0x589930&&_0x3ed147('editor-initial-data-replaced-with-revision-data',{'editorData':_0x2a02f9,'editorRootsAttributes':_0x98094f,'revisionData':_0x230e51,'revisionRootsAttributes':_0x437e5c}),this['editor']['config']['set']('initialData',_0x230e51),this['editor']['config']['set']('rootsAttributes',_0x437e5c);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x4cdc72=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x4cdc72['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3e5e8f){const _0x5b5609=this['repository']['getRevisions']();_0x5b5609['reverse']();let _0x206865=0x0;for(;_0x206865<_0x5b5609['length'];){const _0x10a6cf=_0x5b5609[_0x206865];if(_0x10a6cf===this['currentRevision']){_0x206865++;continue;}if(_0x10a6cf['id']===this['_initialRevisionId'])break;const _0x232060=_0x3e5e8f['toVersion']-_0x10a6cf['toVersion']||_0x3e5e8f['fromVersion']-_0x10a6cf['fromVersion'];if(_0x232060>0x0)break;if(_0x232060<0x0)_0x206865++;else{if(!_0x3e5e8f['creator']&&_0x10a6cf['creator'])break;if(_0x10a6cf['creator']||!_0x3e5e8f['creator']){if(_0x3e5e8f['createdAt']>_0x10a6cf['createdAt'])break;_0x206865++;}else _0x206865++;}}return _0x206865;}['setRevisionData'](_0x2752ac){const _0x5fcdf3=this['repository']['getRevision'](_0x2752ac['id']);if(_0x2752ac['createdAt']&&(_0x2752ac['createdAt']=new Date(_0x2752ac['createdAt'])),_0x2752ac['authorsIds']){const _0xce899=this['editor']['plugins']['get']('Users');_0x2752ac['authors']=_0x2752ac['authorsIds']['map'](_0x53b014=>_0xce899['getUser'](_0x53b014));}_0x5fcdf3['_update'](_0x2752ac,!0x0);}['buildRevisionData']({revision:_0x27ff96=null,from:_0x29184f=null,to:_0x5ead6d=null}){_0x29184f=null!==_0x29184f?_0x29184f:_0x27ff96['fromVersion'],_0x5ead6d=null!==_0x5ead6d?_0x5ead6d:_0x27ff96['toVersion'];const _0x19b618=this['_revisionDataBuilder']['getData'](_0x29184f,_0x5ead6d),_0x3b5725={'diffData':_0x19b618['diffData'],'authorsIds':_0x19b618['authorsIds'],'fromVersion':_0x29184f,'toVersion':_0x5ead6d};if(!_0x27ff96||_0x5ead6d!==_0x27ff96['toVersion']){const _0x85df82=_0x5ead6d-0x1,_0x5a8b52=this['_source']['history']['getOperation'](_0x85df82);_0x3b5725['createdAt']=_0x5a8b52&&_0x5a8b52['createdAt']||new Date();}if(this['_loadedStateData']&&_0x29184f===this['_loadedStateData']['fromVersion']){for(const _0x37230e of this['_loadedStateData']['authors'])_0x3b5725['authorsIds']['includes'](_0x37230e['id'])||_0x3b5725['authorsIds']['push'](_0x37230e['id']);}return _0x3b5725;}['_loadRevisionData'](_0x1e821b){if(!_0x1e821b||_0x1e821b['diffData'])return Promise['resolve']();{const _0x1f09e2=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1f09e2,'revisionId':_0x1e821b['id']})['then'](_0x5dfae8=>{_0x1e821b['diffData']=_0x5dfae8['diffData'];});}}['_bufferUpdate'](_0x4b61c4,_0x5ba1e0,_0x30a88f){if(this['_bufferedUpdates']['has'](_0x4b61c4)){const _0x5d31ff=this['_bufferedUpdates']['get'](_0x4b61c4);_0x5ba1e0=_0x30a88f?{..._0x5d31ff,..._0x5ba1e0}:{..._0x5ba1e0,..._0x5d31ff};}this['_bufferedUpdates']['set'](_0x4b61c4,_0x5ba1e0);}['_getFromVersion'](_0x5797b7){const _0x408db1=this['repository']['getRevisions']();_0x408db1['reverse'](),_0x408db1['shift']();const _0x2ea662=_0x408db1['find'](_0x255916=>_0x255916['toVersion']<=_0x5797b7)['toVersion'];return _0x2ea662<this['_startingVersion']?this['_startingVersion']:_0x2ea662;}['_createInitialRevision'](_0x3f1098){const _0xc91082=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xc91082)this['_initialRevisionId']=_0xc91082['id'];else{const _0x2179f4=!this['editor']['model']['document']['roots']['find'](_0x4c6237=>this['editor']['model']['hasContent'](_0x4c6237)),_0x5ce500=this['editor']['plugins']['get']('Users')['me']['id'],_0x454fd6=y(this['editor']['locale'],_0x2179f4?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x3f1098,'to':_0x3f1098,'id':this['_initialRevisionId'],'name':_0x454fd6,'creatorId':_0x5ce500});}}['_createCurrentRevision'](_0x3ca81f){const _0x3f8be5=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x3f8be5),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x3ca81f,'to':_0x3ca81f,'id':_0x3f8be5,'name':'','creatorId':null}));}['_makeRevision']({name:_0x16d06f,from:_0x1efcc7,to:_0xdc9891,creatorId:_0x46e51c,id:_0xa0307}){const _0x1b6137=this['buildRevisionData']({'from':_0x1efcc7,'to':_0xdc9891});_0x1b6137['name']=_0x16d06f,_0x1b6137['creatorId']=_0x46e51c,_0x1b6137['id']=_0xa0307;const _0x7d4939=this['addRevisionData'](_0x1b6137);return this['adapter']&&this['_bufferUpdate'](_0x1b6137['id'],_0x1b6137,!0x0),_0x7d4939;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x2b9597){return(_0x2b9597=_0x2b9597['filter'](_0x4fbb45=>!_0x4fbb45['name']||'revision-start'!==_0x4fbb45['name']&&'revision-end'!==_0x4fbb45['name']))['forEach'](_0x442cd2=>{'string'!=typeof _0x442cd2&&(_0x442cd2['children']=this['_removeRevisionMarkers'](_0x442cd2['children']),_0x442cd2['attributes']=_0x442cd2['attributes']['filter'](_0x2409cd=>!_0x2409cd[0x0]['startsWith']('data-revision-')));}),_0x2b9597;}constructor(_0x460817){super(_0x460817),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 _0x3e962f=_0x5e2995();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x3e962f},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'});}}function B(_0x1ca78b,_0x3138f3){const _0x27f173=_0x3138f3['editing']['view']['document'];if('string'==typeof _0x1ca78b)return new _0x208f82(_0x27f173,_0x1ca78b);{const _0x470ca9=_0x1ca78b['children']['map'](_0x149314=>B(_0x149314,_0x3138f3));return new(T[_0x1ca78b['type']]||_0x4fe726)(_0x27f173,_0x1ca78b['name'],_0x1ca78b['attributes'],_0x470ca9);}}class J{['init'](_0x1293a6){this['source']=_0x1293a6;const _0x518c8a=new Map(),_0x2948b2=new Map(),_0x1dc6d2=this['editor']['model']['document']['roots']['map'](_0x1ed1ac=>_0x1ed1ac['rootName']);for(const _0x1839f1 of _0x1dc6d2){const _0x3a68a5=this['editor']['model']['document']['getRoot'](_0x1839f1),_0x26a665=q(_0x3a68a5);_0x518c8a['set'](_0x1839f1,_0x26a665),_0x2948b2['set'](_0x1839f1,Object['fromEntries'](_0x3a68a5['getAttributes']()));}const _0x46394c=Array['from'](this['editor']['model']['markers'])['map'](_0x5d49a1=>[_0x5d49a1['name'],_0x5d49a1['getRange']()]),_0x329d52=this['source']['version'];this['_saveMetaData'](_0x329d52,_0x518c8a,_0x46394c,_0x2948b2),this['_startingRevisionId']=this['_revisionId'];const _0x28831d=new Map(),_0x587a31=new Map();for(const _0x1f69b0 of _0x1dc6d2){const _0x4483f9=G(_0x1f69b0);_0x28831d['set'](_0x1f69b0,_0x4483f9),_0x587a31['set'](_0x1f69b0,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x28831d,[],_0x587a31);}['getData'](_0x38d465,_0x51eb24){if(this['_lastFrom']===_0x38d465&&this['_lastTo']<=_0x51eb24)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x51eb24,!0x0);else{if(!this['_savedMetaData']['has'](_0x38d465)){const _0x4cdd64=this['_getPreviousFrom'](_0x38d465);this['_calculateMetaData'](_0x4cdd64,_0x38d465,!0x1);}this['_calculateMetaData'](_0x38d465,_0x51eb24,!0x0);}return this['_lastFrom']=_0x38d465,this['_lastTo']=_0x51eb24,this['_getState']();}['loadState'](_0x3213ff){this['_reset'](),this['_lastFrom']=_0x3213ff['fromVersion'],this['_lastTo']=_0x3213ff['toVersion'];for(const _0x4f986e in _0x3213ff['diffData']){const _0x1e8367=_0x3213ff['diffData'][_0x4f986e]['attachChange'],_0x2377c7=_0x1f12f9(_0x3213ff['diffData'][_0x4f986e]['attributesBefore'])||{},_0x5e59ae=this['_makeModelFromViewString'](_0x3213ff['diffData'][_0x4f986e]['deletions']);_0x5e59ae['rootName']=_0x4f986e,_0x5e59ae['_isAttached']=!_0x1e8367||!_0x1e8367['isAttached'],_0x5e59ae['isAttached']=()=>_0x5e59ae['_isAttached'],this['_baseRoots']['set'](_0x4f986e,_0x5e59ae),this['_baseRootsAttributes']['set'](_0x4f986e,_0x2377c7),_0x1e8367&&this['_touchedRoots']['set'](_0x4f986e,_0x1e8367);const _0x14afb5=this['_makeIdsRoot'](_0x5e59ae);this['_baseIdsRoots']['set'](_0x4f986e,_0x14afb5);for(const [_0x48459c,_0x364c76]of _0x5e59ae['markers']){if(!_0x48459c['startsWith']('revision:'))continue;const _0xf7972c=_0x48459c['split'](':')[0x2];for(const _0x21766c of _0x364c76['getWalker']({'singleCharacters':!0x0})){const _0x16310b=this['_getVidAttributeName'](_0x21766c),_0x249815='elementEnd'==_0x21766c['type']?_0x21766c['previousPosition']['path']['slice'](0x0,-0x1):_0x21766c['previousPosition']['path'],_0x4ad7a4=_0x14afb5['getNodeByPath'](_0x249815)['getAttribute'](_0x16310b);this['_touched']['set'](_0x4ad7a4,{'userId':_0xf7972c});}}}this['_startingRevisionId']=this['_revisionId'];const _0x3034e9=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x450c5c=>!this['_touched']['has'](_0x450c5c));let _0x3ed9e0=0x0;const _0xaeee31=new Map();for(const _0x5656d6 in _0x3213ff['diffData']){const _0x586217=_0x3213ff['diffData'][_0x5656d6]['attachChange'],_0x255561=_0x1f12f9(_0x3213ff['diffData'][_0x5656d6]['attributesAfter'])||{},_0x25372b=this['_makeModelFromViewString'](_0x3213ff['diffData'][_0x5656d6]['insertions']);_0x25372b['rootName']=_0x5656d6,_0x25372b['_isAttached']=!_0x586217||_0x586217['isAttached'],_0x25372b['isAttached']=()=>_0x25372b['_isAttached'],this['_diffRoots']['set'](_0x5656d6,_0x25372b),this['_diffRootsAttributes']['set'](_0x5656d6,_0x255561);const _0x5b6df3=this['_makeIdsRoot'](_0x25372b,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x5656d6,_0x5b6df3),_0xaeee31['set'](_0x5656d6,_0x25372b['isAttached']()?_0x255561:{});for(const [_0x4b3181,_0x4df82b]of _0x25372b['markers']){if(!_0x4b3181['startsWith']('revision:'))continue;const _0xda12fd=_0x4b3181['split'](':')[0x2];for(const _0xe6a511 of _0x4df82b['getWalker']({'singleCharacters':!0x0})){const _0x110f1e=this['_getVidAttributeName'](_0xe6a511),_0x2bc068=this['_revisionId']++,_0x4a9bc5='elementEnd'==_0xe6a511['type']?_0xe6a511['previousPosition']['path']['slice'](0x0,-0x1):_0xe6a511['previousPosition']['path'];_0x5b6df3['getNodeByPath'](_0x4a9bc5)['_setAttribute'](_0x110f1e,_0x2bc068),this['_touched']['set'](_0x2bc068,{'userId':_0xda12fd});}}for(const _0x5d47cc of this['editor']['model']['createRangeIn'](_0x25372b)['getWalker']({'singleCharacters':!0x0})){const _0x11d205=this['_getVidAttributeName'](_0x5d47cc),_0x27a979='elementEnd'==_0x5d47cc['type']?_0x5d47cc['previousPosition']['path']['slice'](0x0,-0x1):_0x5d47cc['previousPosition']['path'],_0x1dbe59=_0x5b6df3['getNodeByPath'](_0x27a979);_0x1dbe59['getAttribute'](_0x11d205)>0x0||_0x1dbe59['_setAttribute'](_0x11d205,_0x3034e9[_0x3ed9e0++]);}for(const [_0x59dd4b,_0x56118f]of _0x25372b['markers'])_0x59dd4b['startsWith']('revision:')||this['_markers']['set'](_0x59dd4b,_0x56118f);}const _0x3e4674=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x3e4674),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3e4674,0x1));const _0x170da8=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x170da8),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x170da8,0x1));const _0x2b8763=Array['from'](this['_diffRoots'])['map'](([_0x247a1d,_0x3f968b])=>[_0x247a1d,q(_0x3f968b)]);this['_saveMetaData'](this['_lastTo'],_0x2b8763,this['_markers'],_0xaeee31);}['_makeModelFromViewString'](_0x50be40){const _0x1187b3=JSON['parse'](_0x50be40),_0x42f420=this['editor']['editing']['view']['document'],_0x32dfb2=new _0x2d1c58(_0x42f420,_0x1187b3['map'](_0x29b734=>B(_0x29b734,this['editor'])));return this['editor']['data']['toModel'](_0x32dfb2);}['_saveMetaData'](_0x1a337b,_0x2c047a,_0x9b366a,_0x2aab1b){const _0x34aeb7=new Map(_0x2c047a),_0x2d9e48=new Map(_0x1f12f9(_0x2aab1b)),_0x1cb6c1=new Map();for(const [_0x3904df,_0x3b5152]of _0x9b366a)_0x1cb6c1['set'](_0x3904df,{'start':_0x3b5152['start']['clone'](),'end':_0x3b5152['end']['clone'](),'rootName':_0x3b5152['root']['rootName']});this['_savedMetaData']['set'](_0x1a337b,{'roots':_0x34aeb7,'markers':_0x1cb6c1,'rootsAttributes':_0x2d9e48});}['_removeMetaData'](_0x5cdabf){this['_savedMetaData']['delete'](_0x5cdabf);}['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'](_0x1f1f51,_0x9d00de=null){let _0x507945=null;_0x1f1f51['is']('documentFragment')||(_0x507945=new ft(_0x1f1f51['name'],{'vid_start':null===_0x9d00de?this['_revisionId']++:_0x9d00de++}));const _0x42c336=[];for(const _0x5013ed of _0x1f1f51['getChildren']())if(_0x5013ed['is']('element')){_0x42c336['push'](this['_makeIdsRoot'](_0x5013ed,_0x9d00de));const _0x55a100=_0x42c336[_0x42c336['length']-0x1];null!==_0x9d00de&&(_0x9d00de=_0x55a100['is']('element','$text')?_0x55a100['getAttribute']('vid')+0x1:_0x55a100['getAttribute']('vid_end')+0x1);}else{for(let _0xa9affc=0x0;_0xa9affc<_0x5013ed['offsetSize'];_0xa9affc++)_0x42c336['push'](new ft('$text',{'vid':null===_0x9d00de?this['_revisionId']++:_0x9d00de++}));}if(_0x1f1f51['is']('documentFragment')){const _0x1a1ce5=G(_0x1f1f51['rootName']);return _0x1a1ce5['_insertChild'](0x0,_0x42c336),_0x1a1ce5;}return _0x507945['_setAttribute']('vid_end',null===_0x9d00de?this['_revisionId']++:_0x9d00de++),_0x507945['_insertChild'](0x0,_0x42c336),_0x507945;}['_calculateMetaData'](_0x2a222d,_0x1de1b3,_0x3b75d2){this['_reset']();const {roots:_0x44a6cd,markers:_0x196be8,rootsAttributes:_0x3c60a5}=this['_savedMetaData']['get'](_0x2a222d);this['_baseRoots']=new Map(_0x44a6cd),this['_baseRootsAttributes']=new Map(_0x1f12f9(_0x3c60a5));for(const [_0x49f7fb,_0x4a17e7]of this['_baseRoots'])if('$graveyard'!==_0x49f7fb&&(this['_diffRoots']['set'](_0x49f7fb,q(_0x4a17e7)),this['_diffRootsAttributes']=new Map(_0x1f12f9(_0x3c60a5)),_0x3b75d2)){const _0x5730ef=this['_revisionId'];this['_idsRoots']['set'](_0x49f7fb,this['_makeIdsRoot'](_0x4a17e7)),this['_baseIdsRoots']['set'](_0x49f7fb,this['_makeIdsRoot'](_0x4a17e7,_0x5730ef));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3b75d2&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xcd1120,_0x15488e]of _0x196be8){const _0x10f5e4=this['_baseRoots']['get'](_0x15488e['rootName']),_0xf51fb3=this['_diffRoots']['get'](_0x15488e['rootName']),_0xf6ba3f=new gt(this['_fixPosition'](_0x15488e['start'],_0x10f5e4),this['_fixPosition'](_0x15488e['end'],_0x10f5e4)),_0x5e6724=this['_fixRange'](_0xf6ba3f,_0xf51fb3);_0x10f5e4['markers']['set'](_0xcd1120,_0xf6ba3f),this['_markers']['set'](_0xcd1120,_0x5e6724);}this['_applyOperations'](_0x2a222d,_0x1de1b3,_0x3b75d2);}['_applyOperations'](_0x868c9b,_0x4403dc,_0x3326cc){for(const _0x36c183 of this['source']['getOperations'](_0x868c9b,_0x4403dc))this['_handleOperation'](_0x36c183,_0x3326cc);for(const _0x3881a3 of this['_diffRoots']['values']())_0x3881a3['markers']['clear']();for(const [_0x5b836c,_0x4b7fb1]of this['_markers']){this['_diffRoots']['get'](_0x4b7fb1['root']['rootName'])['markers']['set'](_0x5b836c,_0x4b7fb1['clone']());}const _0x4ebb7f=new Map(),_0x14e25f=new Map();for(const [_0x229344,_0x34ab16]of this['_diffRoots'])_0x4ebb7f['set'](_0x229344,q(_0x34ab16)),_0x14e25f['set'](_0x229344,this['_diffRootsAttributes']['get'](_0x229344));this['_saveMetaData'](_0x4403dc,_0x4ebb7f,this['_markers'],_0x14e25f);}['_getPreviousFrom'](_0x511934){const _0x5188f2=Array['from'](this['_savedMetaData']['keys']());_0x5188f2['sort']((_0x13e877,_0x355796)=>_0x13e877-_0x355796),_0x5188f2['reverse']();for(const _0x9ab43c of _0x5188f2)if(_0x9ab43c<_0x511934)return _0x9ab43c;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x2f4f26,_0x40379c){const _0x2f559c=Array['from'](_0x40379c['markers'])['map'](([_0x268e10,_0x591347])=>[_0x268e10,this['_fixRange'](_0x591347,_0x2f4f26)]);_0x2f4f26['markers']=new Map(_0x2f559c);}['_transformMarkers'](_0x5cad73){for(const _0x2b7d45 of this['_markers']['values']()){const _0x427600=_0x2b7d45['getTransformedByOperation'](_0x5cad73),_0x26600f=gt['_createFromRanges'](_0x427600);_0x2b7d45['start']=_0x26600f['start'],_0x2b7d45['end']=_0x26600f['end'];}}['_handleOperation'](_0x19e5ef,_0x37e94d){if('addRoot'==_0x19e5ef['type']||'detachRoot'==_0x19e5ef['type'])return void this['_handleRootOperation'](_0x19e5ef,_0x37e94d);if('insert'==_0x19e5ef['type']){const _0x5ec5d0=_0x19e5ef['position']['root']['rootName'];this['_diffRoots']['has'](_0x5ec5d0)||(this['_diffRoots']['set'](_0x5ec5d0,G(_0x5ec5d0,!0x0)),this['_diffRootsAttributes']['set'](_0x5ec5d0,{}),_0x37e94d&&this['_idsRoots']['set'](_0x5ec5d0,G(_0x5ec5d0,!0x0)));}else{if('addRootAttribute'==_0x19e5ef['type']||'removeRootAttribute'==_0x19e5ef['type']||'changeRootAttribute'==_0x19e5ef['type'])return void this['_handleRootAttributeOperation'](_0x19e5ef);}const _0x2f25d0=this['_cloneOperation'](_0x19e5ef,this['_diffRoots']);if('marker'!==_0x19e5ef['type']&&(_0x2f25d0['_execute'](),this['_transformMarkers'](_0x2f25d0)),_0x37e94d)switch(_0x2f25d0['type']){case'insert':this['_handleInsertOperation'](_0x19e5ef);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x19e5ef);break;case'merge':this['_handleMergeOperation'](_0x19e5ef);break;case'split':this['_handleSplitOperation'](_0x19e5ef);break;case'marker':this['_handleMarkerOperation'](_0x19e5ef);}}['_cloneOperation'](_0x2fdb03,_0x50887d){const _0x4fe272=_0x2fdb03['clone']();return _0x4fe272['_authorId']=_0x2fdb03['_authorId'],this['_fixOperation'](_0x4fe272,_0x50887d),_0x4fe272;}['_getBaseVids'](_0x253a85){return _0x253a85['map'](_0x1f860e=>{const _0x4068be=this['_getVidAttributeName'](_0x1f860e);return Number(_0x1f860e['item']['getAttribute'](_0x4068be));});}['_generateTape'](_0x48cf69,_0x261dbf){if(_0x48cf69['is']('element','$text'))_0x261dbf['push']({'item':_0x48cf69,'type':'text'});else{_0x48cf69['is']('element')&&_0x261dbf['push']({'item':_0x48cf69,'type':'elementStart'});for(const _0x3a8578 of _0x48cf69['getChildren']())this['_generateTape'](_0x3a8578,_0x261dbf);_0x48cf69['is']('element')&&_0x261dbf['push']({'item':_0x48cf69,'type':'elementEnd'});}return _0x261dbf;}['_getState'](){const _0x365f69=new Map(this['_touched']),_0x464d65=new Map(_0x365f69),_0x54079d=new Map(),_0x5946c9={'insertions':{},'deletions':{}},_0x4fa4fd={'insertions':{},'deletions':{}},_0x259d1f=new Map(),_0x633140=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x633140['delete']('$graveyard');for(const _0x5c84f6 of _0x633140){const _0x30c2d6=this['_diffRoots']['get'](_0x5c84f6)||G(_0x5c84f6,!0x1),_0x41b117=this['_baseRoots']['get'](_0x5c84f6)||G(_0x5c84f6,!0x1);_0x30c2d6['isAttached']()||_0x41b117['isAttached']()?(_0x5946c9['insertions'][_0x5c84f6]=q(_0x30c2d6),_0x5946c9['deletions'][_0x5c84f6]=q(_0x41b117),this['_copyMarkers'](_0x5946c9['deletions'][_0x5c84f6],_0x41b117),this['_copyMarkers'](_0x5946c9['insertions'][_0x5c84f6],_0x30c2d6),_0x4fa4fd['insertions'][_0x5c84f6]=this['_generateTape'](this['_idsRoots']['get'](_0x5c84f6),[]),_0x4fa4fd['deletions'][_0x5c84f6]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x5c84f6)||G(_0x5c84f6,!0x1),[])):_0x633140['delete'](_0x5c84f6);}for(const _0x3a4a88 of _0x633140){const _0xcf566c=_0x4fa4fd['insertions'][_0x3a4a88];for(const _0x2d99ea of _0xcf566c){const _0x27ff76=this['_getVidAttributeName'](_0x2d99ea),_0x2876d2=_0x2d99ea['item']['getAttribute'](_0x27ff76);_0x464d65['delete'](_0x2876d2),_0x2876d2>=this['_startingRevisionId']&&_0x54079d['set'](_0x2876d2,_0x365f69['get'](_0x2876d2));}}for(const _0x178c2e of _0x633140){const _0x2c0bd2=_0x4fa4fd['insertions'][_0x178c2e],_0x325b34=this['_getBaseVids'](_0x4fa4fd['deletions'][_0x178c2e]);let _0x3c00e9=0x0;for(const _0x2d8d3b of _0x2c0bd2){const _0x432728=this['_getVidAttributeName'](_0x2d8d3b),_0x57ebef=_0x2d8d3b['item']['getAttribute'](_0x432728);if(!_0x54079d['has'](_0x57ebef)&&!_0x259d1f['has'](_0x57ebef)){if(_0x464d65['has'](_0x57ebef))_0x3c00e9++;else{if(_0x57ebef!=_0x325b34[_0x3c00e9]){const _0x63a79c=_0x365f69['get'](_0x57ebef)||_0x365f69['get'](_0x325b34[_0x3c00e9]);for(;_0x57ebef!=_0x325b34[_0x3c00e9];)_0x464d65['has'](_0x325b34[_0x3c00e9])||(_0x259d1f['set'](_0x325b34[_0x3c00e9],_0x63a79c),_0x365f69['set'](_0x325b34[_0x3c00e9],_0x63a79c)),_0x3c00e9++;}_0x3c00e9++;}}}}for(const _0x28bde5 of _0x633140){const _0x1efe7a=_0x4fa4fd['insertions'][_0x28bde5];for(const _0x346119 of _0x1efe7a){const _0x40db2b=this['_getVidAttributeName'](_0x346119),_0x2f111d=_0x346119['item']['getAttribute'](_0x40db2b);if(_0x259d1f['has'](_0x2f111d)){const _0xbae331=_0x259d1f['get'](_0x2f111d);_0x464d65['has'](_0x2f111d)||_0x464d65['set'](_0x2f111d,{..._0xbae331}),_0x54079d['set'](_0x2f111d,{..._0xbae331});}}}for(const _0x9afa17 of _0x464d65['keys']())_0x9afa17>=this['_startingRevisionId']&&_0x464d65['delete'](_0x9afa17);const _0x5aec1c=new Map();for(const _0x5d0873 of _0x633140){let _0x440076=_0x4fa4fd['insertions'][_0x5d0873];for(const _0x15396f of _0x440076)if(_0x15396f['item']['is']('element','tableCell')){const _0x4c741f=this['_getVidAttributeName'](_0x15396f),_0x4783e4=_0x15396f['item']['getAttribute'](_0x4c741f);if(_0x54079d['has'](_0x4783e4)){const _0x2d1044=_0x15396f['item']['parent']['parent']['getAttribute']('vid_start'),_0x4ec367=_0x5aec1c['get'](_0x2d1044)||new Set();_0x4ec367['add'](_0x54079d['get'](_0x4783e4)['userId']),_0x5aec1c['set'](_0x2d1044,_0x4ec367);}}_0x440076=_0x4fa4fd['deletions'][_0x5d0873];for(const _0x2afc1b of _0x440076)if(_0x2afc1b['item']['is']('element','tableCell')){const _0x166fe7=this['_getVidAttributeName'](_0x2afc1b),_0x4c5ce8=_0x2afc1b['item']['getAttribute'](_0x166fe7);if(_0x464d65['has'](_0x4c5ce8)){const _0x1bbe54=_0x2afc1b['item']['parent']['parent']['getAttribute']('vid_start'),_0x2f1c13=_0x5aec1c['get'](_0x1bbe54)||new Set();_0x2f1c13['add'](_0x464d65['get'](_0x4c5ce8)['userId']),_0x5aec1c['set'](_0x1bbe54,_0x2f1c13);}}for(const _0x2cd8d7 of _0x5aec1c['keys']())(_0x54079d['has'](_0x2cd8d7)||_0x464d65['has'](_0x2cd8d7))&&_0x5aec1c['delete'](_0x2cd8d7);}for(const _0x35adc0 of _0x633140){const _0x3ad9e2=_0x4fa4fd['insertions'][_0x35adc0];let _0x380b76=null,_0x9b087c=null;for(const _0x2a8652 of _0x3ad9e2){const _0x4d9dbb=this['_getVidAttributeName'](_0x2a8652),_0x452cf2=_0x2a8652['item']['getAttribute'](_0x4d9dbb),_0x2857ec=_0x5aec1c['get'](_0x452cf2);_0x2857ec&&'elementStart'==_0x2a8652['type']&&(_0x380b76=Array['from'](_0x2857ec)[0x0],_0x9b087c=_0x2a8652['item']['getAttribute']('vid_end')),_0x380b76&&(_0x464d65['set'](_0x452cf2,{'userId':_0x380b76}),_0x54079d['set'](_0x452cf2,{'userId':_0x380b76})),_0x452cf2==_0x9b087c&&(_0x380b76=null,_0x9b087c=null);}}const _0x2ada7b={},_0x31dea7=new Set();for(const _0x2fcf45 of _0x633140){const _0x5d305f=_0x5946c9['deletions'][_0x2fcf45],_0x394712=_0x5946c9['insertions'][_0x2fcf45];for(const {userId:_0x57a411}of this['_touchedMarkers']['values']())null!==_0x57a411&&_0x31dea7['add'](_0x57a411);for(const {userId:_0x5601a9}of this['_touchedRoots']['values']())null!==_0x5601a9&&_0x31dea7['add'](_0x5601a9);this['_markChanges'](_0x394712,_0x4fa4fd['insertions'][_0x2fcf45],_0x54079d,'insertion',_0x31dea7),this['_markChanges'](_0x5d305f,_0x4fa4fd['deletions'][_0x2fcf45],_0x464d65,'deletion',_0x31dea7),_0x2ada7b[_0x2fcf45]={'insertions':this['_prepareViewToSave'](_0x394712),'deletions':this['_prepareViewToSave'](_0x5d305f),'attachChange':this['_touchedRoots']['get'](_0x2fcf45)||null,'attributesBefore':_0x1f12f9(this['_baseRootsAttributes']['get'](_0x2fcf45))||{},'attributesAfter':_0x1f12f9(this['_diffRootsAttributes']['get'](_0x2fcf45))};}return{'diffData':_0x2ada7b,'authorsIds':Array['from'](_0x31dea7)};}['_processRootBeforeSave'](_0x2d176f){for(const [,_0x1ce93a]of _0x2d176f['markers']){const _0x15ca94=_0x1ce93a['start']['getAncestors']()['filter'](_0x3e852b=>'tableCell'==_0x3e852b['name']);for(const _0x347974 of _0x15ca94)0x1==_0x347974['childCount']&&_0x347974['getChild'](0x0)['is']('element','paragraph')&&_0x347974['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x3104eb){this['_processRootBeforeSave'](_0x3104eb);const _0x51b8da=this['editor']['data']['toView'](_0x3104eb,{}),_0x43617f=Array['from'](_0x51b8da['getChildren']())['map'](_0x32f745=>this['_getViewJson'](_0x32f745));return JSON['stringify'](_0x43617f);}['_getViewJson'](_0x46f246){if(_0x46f246['is']('$text'))return _0x46f246['data'];{const _0x195f63=_0x46f246;return{'type':Object['keys'](T)['find'](_0x4e24e4=>_0x46f246 instanceof T[_0x4e24e4]),'name':_0x195f63['name'],'attributes':Array['from'](_0x195f63['getAttributes']()),'children':Array['from'](_0x195f63['getChildren']())['map'](_0x451eab=>this['_getViewJson'](_0x451eab))};}}['_markChanges'](_0x55155a,_0x45277c,_0x2ba87b,_0x16e4b1,_0xbc1563){let _0x827b0d=null,_0x8e8ef0=null,_0x369dea=0x0;const _0x30709b=this['editor']['model'];for(let _0x17afe8=0x0;_0x17afe8<_0x45277c['length'];_0x17afe8++){const _0x19faef=this['_getVidAttributeName'](_0x45277c[_0x17afe8]),_0x1764b7=_0x45277c[_0x17afe8]['item']['getAttribute'](_0x19faef),_0x5ee4ff=_0x2ba87b['get'](_0x1764b7),_0x4f8309=_0x17afe8==_0x45277c['length']-0x1;(!_0x827b0d&&_0x5ee4ff&&(_0x827b0d=_0x5ee4ff,_0x8e8ef0=_0x45277c[_0x17afe8]),_0x827b0d&&(!_0x5ee4ff||_0x5ee4ff['userId']!=_0x827b0d['userId']))&&(_0x3a235f(_0x5ee4ff,L(_0x8e8ef0,_0x55155a,_0x30709b),L(_0x45277c[_0x17afe8],_0x55155a,_0x30709b)),_0x827b0d=_0x5ee4ff||null,_0x8e8ef0=_0x5ee4ff?_0x45277c[_0x17afe8]:null),_0x827b0d&&_0x4f8309&&_0x3a235f(_0x5ee4ff,L(_0x8e8ef0,_0x55155a,_0x30709b),W(_0x45277c[_0x17afe8],_0x55155a,_0x30709b));}function _0x3a235f(_0x7990a,_0x3421fa,_0x4b2e59){const _0x3b0d1c=_0x827b0d['userId'],_0x6dc03c='revision:'+_0x16e4b1+':'+_0x3b0d1c+':'+_0x369dea++,_0x188b45=_0x30709b['createRange'](_0x3421fa,_0x4b2e59);_0x55155a['markers']['set'](_0x6dc03c,_0x188b45),null!==_0x3b0d1c&&_0xbc1563['add'](_0x3b0d1c);}}['_getVidAttributeName'](_0xeb5fcb){switch(_0xeb5fcb['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x596124,_0x1603f8){_0x596124['baseVersion']=null;for(const _0x55a657 in _0x596124){const _0x6dde7d=_0x596124[_0x55a657];if(_0x6dde7d instanceof wt){const _0x4d1293=_0x1603f8['get'](_0x6dde7d['root']['rootName']);_0x596124[_0x55a657]=this['_fixPosition'](_0x6dde7d,_0x4d1293);}if(_0x6dde7d instanceof gt){const _0x40e147=_0x1603f8['get'](_0x6dde7d['root']['rootName']);_0x596124[_0x55a657]=this['_fixRange'](_0x6dde7d,_0x40e147);}'root'===_0x55a657&&(_0x596124['root']=_0x1603f8['get'](_0x596124['root']['rootName']));}}['_fixRange'](_0x341846,_0x30969d){return this['editor']['model']['createRange'](this['_fixPosition'](_0x341846['start'],_0x30969d),this['_fixPosition'](_0x341846['end'],_0x30969d));}['_fixPosition'](_0x4b7573,_0x5005e2){return this['editor']['model']['createPositionFromPath'](_0x5005e2,_0x4b7573['path'],_0x4b7573['stickiness']);}['_handleInsertOperation'](_0xe26c07){const _0x2c1280=this['_idsRoots']['get'](_0xe26c07['position']['root']['rootName']),_0x525b04=this['_fixPosition'](_0xe26c07['position'],_0x2c1280),_0x3b4b5c=null===_0xe26c07['_authorId']?null:_0xe26c07['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x21d574=_0x525b04['parent'],_0x4e99c7=this['_revisionId'],_0x118fd4=[];for(const _0x105f63 of _0xe26c07['nodes'])if(_0x105f63['is']('element'))_0x118fd4['push'](this['_makeIdsRoot'](_0x105f63));else{for(let _0x4121b7=0x0;_0x4121b7<_0x105f63['offsetSize'];_0x4121b7++)_0x118fd4['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x567d68=this['_revisionId'];for(let _0x4b43a2=_0x4e99c7;_0x4b43a2<_0x567d68;_0x4b43a2++)this['_touched']['set'](_0x4b43a2,{'userId':_0x3b4b5c});_0x21d574['_insertChild'](_0x525b04['offset'],_0x118fd4);}['_handleMoveOperation'](_0x3d340c){(_0x3d340c=this['_cloneOperation'](_0x3d340c,this['_idsRoots']))['_execute']();const _0x262c3c=null===_0x3d340c['_authorId']?null:_0x3d340c['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x25460d=_0x3d340c['getMovedRangeStart'](),_0x2fb236=_0x25460d['parent'],_0x441a1a=_0x25460d['offset'];!function _0xe75da8(_0x543fb0,_0x30ef6f,_0xaba1be,_0x3fd876){for(let _0x5a5196=_0xaba1be;_0x5a5196<_0x3fd876;_0x5a5196++){const _0x37a89a=_0x30ef6f['getChild'](_0x5a5196);_0x37a89a['is']('element','$text')?_0x543fb0['set'](_0x37a89a['getAttribute']('vid'),{'userId':_0x262c3c}):(_0x543fb0['set'](_0x37a89a['getAttribute']('vid_start'),{'userId':_0x262c3c}),_0xe75da8(_0x543fb0,_0x37a89a,0x0,_0x37a89a['childCount']),_0x543fb0['set'](_0x37a89a['getAttribute']('vid_end'),{'userId':_0x262c3c}));}}(this['_touched'],_0x2fb236,_0x441a1a,_0x441a1a+_0x3d340c['howMany']);}['_handleMergeOperation'](_0x49c427){const _0x57c01a=null===(_0x49c427=this['_cloneOperation'](_0x49c427,this['_idsRoots']))['_authorId']?null:_0x49c427['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4b78e3=_0x49c427['targetPosition']['parent'],_0x34da9f=_0x49c427['sourcePosition']['parent'],_0x539dcb=_0x4b78e3['getAttribute']('vid_end'),_0x2c635e=_0x34da9f['getAttribute']('vid_start');_0x4b78e3['_setAttribute']('vid_end',_0x34da9f['getAttribute']('vid_end')),_0x34da9f['_setAttribute']('vid_end',_0x539dcb),this['_touched']['set'](_0x2c635e,{'userId':_0x57c01a}),this['_touched']['set'](_0x539dcb,{'userId':_0x57c01a}),_0x49c427['_execute']();}['_handleSplitOperation'](_0x549655){const _0x21e945=null===(_0x549655=this['_cloneOperation'](_0x549655,this['_idsRoots']))['_authorId']?null:_0x549655['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4c0a8a=_0x549655['graveyardPosition'],_0x287f4c=_0x549655['splitPosition']['parent'];_0x549655['_execute']();const _0x1d5b2a=_0x287f4c['getAttribute']('vid_end'),_0x2cc5f5=_0x549655['insertionPosition']['nodeAfter'];if(_0x4c0a8a){const _0x33eb03=_0x2cc5f5['getAttribute']('vid_end'),_0x1afb11=_0x287f4c['getAttribute']('vid_end');_0x287f4c['_setAttribute']('vid_end',_0x33eb03),_0x2cc5f5['_setAttribute']('vid_end',_0x1afb11),this['_touched']['set'](_0x287f4c['getAttribute']('vid_end'),{'userId':_0x21e945}),this['_touched']['set'](_0x2cc5f5['getAttribute']('vid_start'),{'userId':_0x21e945});}else{const _0x2ff585=this['_revisionId']++,_0x4cc035=this['_revisionId']++;_0x287f4c['_setAttribute']('vid_end',_0x2ff585),_0x2cc5f5['_setAttribute']('vid_start',_0x4cc035),_0x2cc5f5['_setAttribute']('vid_end',_0x1d5b2a),this['_touched']['set'](_0x2ff585,{'userId':_0x21e945}),this['_touched']['set'](_0x4cc035,{'userId':_0x21e945});}}['_handleMarkerOperation'](_0x4ca55f){if(!_0x4ca55f['affectsData'])return;const _0x22e5da=(_0x4ca55f=this['_cloneOperation'](_0x4ca55f,this['_diffRoots']))['oldRange']?_0x4ca55f['oldRange']['root']:null,_0x5376b3=_0x4ca55f['newRange']?_0x4ca55f['newRange']['root']:null;_0x22e5da&&this['_markers']['delete'](_0x4ca55f['name']),_0x5376b3&&this['_markers']['set'](_0x4ca55f['name'],_0x4ca55f['newRange']['clone']());const _0x1bd720=null===_0x4ca55f['_authorId']?null:_0x4ca55f['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2b0ef5=_0x4ca55f['name'];if(!this['_touchedMarkers']['has'](_0x2b0ef5))return void this['_touchedMarkers']['set'](_0x2b0ef5,{'range':_0x4ca55f['oldRange'],'userId':_0x1bd720});const _0x63250f=this['_touchedMarkers']['get'](_0x2b0ef5),_0x3e450d=_0x63250f['range'],_0x3636be=_0x4ca55f['newRange'];null==_0x3e450d&&null==_0x3636be||_0x3e450d&&_0x3636be&&_0x3e450d['isEqual'](_0x3636be)?this['_touchedMarkers']['delete'](_0x4ca55f['name']):_0x63250f['userId']=_0x1bd720;}['_handleRootOperation'](_0xcbadae,_0x2ae49b){this['_diffRoots']['has'](_0xcbadae['rootName'])?this['_diffRoots']['get'](_0xcbadae['rootName'])['_isAttached']=_0xcbadae['isAdd']:(this['_diffRoots']['set'](_0xcbadae['rootName'],G(_0xcbadae['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0xcbadae['rootName'],{}),_0x2ae49b&&this['_idsRoots']['set'](_0xcbadae['rootName'],G(_0xcbadae['rootName'],!0x0)));const _0x1fffaf=null===_0xcbadae['_authorId']?null:_0xcbadae['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x3e67bf=this['_touchedRoots']['get'](_0xcbadae['rootName']);_0x3e67bf&&_0x3e67bf['userId']===_0x1fffaf?this['_touchedRoots']['delete'](_0xcbadae['rootName']):this['_touchedRoots']['set'](_0xcbadae['rootName'],{'userId':_0x1fffaf,'isAttached':_0xcbadae['isAdd']});}['_handleRootAttributeOperation'](_0x360022){const _0x31b744=this['_diffRootsAttributes']['get'](_0x360022['root']['rootName']);null===_0x360022['newValue']?delete _0x31b744[_0x360022['key']]:_0x31b744[_0x360022['key']]=_0x360022['newValue'];}constructor(_0xf341f5){this['editor']=_0xf341f5,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;}}function q(_0x3c418b){const _0x14abd6=G(_0x3c418b['rootName'],_0x3c418b['isAttached']());for(const _0x17160b of _0x3c418b['getChildren']()){const _0x3896d3=_0x17160b['_clone'](!0x0);_0x14abd6['_appendChild'](_0x3896d3);}return _0x14abd6;}function G(_0x457bc8,_0x8d547a=!0x0){const _0x3fec1e=new _t();return _0x3fec1e['rootName']=_0x457bc8,_0x3fec1e['_isAttached']=_0x8d547a,_0x3fec1e['isAttached']=()=>_0x3fec1e['_isAttached'],_0x3fec1e;}function L(_0x2425d9,_0x2b6245,_0x3d08f8){const _0x3ffd60='elementEnd'==_0x2425d9['type']?_0x3d08f8['createPositionAt'](_0x2425d9['item'],'end'):_0x3d08f8['createPositionBefore'](_0x2425d9['item']);return _0x3d08f8['createPositionFromPath'](_0x2b6245,_0x3ffd60['path'],_0x3ffd60['stickiness']);}function W(_0x17f440,_0x10dd80,_0x3c8f02){const _0x532d85='elementStart'==_0x17f440['type']?_0x3c8f02['createPositionAt'](_0x17f440['item'],0x0):_0x3c8f02['createPositionAfter'](_0x17f440['item']);return _0x3c8f02['createPositionFromPath'](_0x10dd80,_0x532d85['path'],_0x532d85['stickiness']);}class ns extends _0x381698{['render'](){super['render'](),_0x47da7({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x3168d1=_0x26a35d=>_0x26a35d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3168d1),this['keystrokes']['set']('arrowleft',_0x3168d1),this['keystrokes']['set']('arrowup',_0x3168d1),this['keystrokes']['set']('arrowdown',_0x3168d1);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x5cbfa6){this['revisionNameInputView']['fieldView']['element']['value']=_0x5cbfa6['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0xafadb5){const _0x398111=new mt(this['locale'],_0x1132ee),_0x1f92d0=_0x398111['fieldView'];_0x1f92d0['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x56ae5f=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0xafadb5&&(_0x56ae5f+='\x20('+y(this['locale'],'optional')+')'),(_0x398111['label']=_0x56ae5f,_0x1f92d0['on']('input',()=>{this['revisionNameInputValue']=_0x1f92d0['element']['value']['trim']();}),_0x398111);}constructor(_0x54948f,_0x1e9b03){super(_0x54948f),this['focusTracker']=new _0x2fb5b8(),this['keystrokes']=new _0x112d4f(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x1e9b03),this['setTemplate']({'tag':'form','attributes':{'class':['ck','ck-revision-history-save-revision-form','ck-responsive-form'],'tabindex':'-1'},'children':[this['revisionNameInputView']]}),ts(this);}}class u extends _0x3fe8e5{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['init'](){const _0x194326=this['editor'],_0x4f6e06=_0x194326['plugins']['get']('RevisionTracker');_0x194326['ui']['componentFactory']['add']('revisionHistory',_0x2ca189=>{const _0x1060fa=_0x1adbd1(_0x2ca189),_0x937484=_0x1060fa['panelView']['children'],_0x5104f9=new te(_0x2ca189),_0x334b8b=new _0x1e3ff9(_0x2ca189),_0xdb6f40=new _0x2bbd3d(_0x2ca189),_0x23fdf6=new _0x1e3ff9(_0x2ca189),_0x32668e=new _0x2bbd3d(_0x2ca189);return _0x1060fa['bind']('isEnabled')['to'](_0x4f6e06,'isReady',_0x4f6e06,'isEnabled',_0x194326,'isReadOnly',(_0x495230,_0x31aa39,_0x53a773)=>_0x495230&&_0x31aa39&&!_0x53a773),_0x1060fa['buttonView']['set']({'icon':_0x132edd['history'],'label':y(_0x2ca189,'Revision\x20history'),'tooltip':!0x0}),_0xdb6f40['set']({'label':y(_0x2ca189,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0xdb6f40['bind']('isEnabled')['to'](_0x4f6e06,'isReady',_0x4f6e06,'isEnabled',_0x194326,'isReadOnly',(_0x8c64a,_0xb6cb5e,_0x369b44)=>_0x8c64a&&_0xb6cb5e&&!_0x369b44),_0xdb6f40['on']('execute',()=>this['_showDialog']()),_0x32668e['set']({'label':y(_0x2ca189,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x32668e['bind']('isEnabled')['to'](_0x4f6e06,'isReady',_0x194326,'isReadOnly',(_0x79157e,_0x584e16)=>_0x79157e&&!_0x584e16),_0x32668e['on']('execute',()=>{_0x194326['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x1060fa['isOpen']=!0x1,_0x194326['editing']['view']['focus']();}),_0x334b8b['children']['add'](_0xdb6f40),_0x23fdf6['children']['add'](_0x32668e),_0x5104f9['role']='menu',_0x5104f9['items']['addMany']([_0x334b8b,_0x23fdf6]),_0x937484['add'](_0x5104f9),_0x1060fa;}),_0x194326['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x5d7878=this['editor'],_0x219198=_0x5d7878['locale'],_0x476e2e=new _0x83ee77(_0x219198),_0x10272d=new _0x48fb42(_0x219198);_0x476e2e['buttonView']['set']({'icon':_0x132edd['history'],'label':y(_0x219198,'Revision\x20history')});const _0xd270ae=new _0x5b3807(_0x219198,_0x476e2e),_0x5cecf7=new _0x3f15e2(_0x219198);_0x5cecf7['set']({'label':y(_0x219198,'Save\x20current\x20revision')}),_0x5cecf7['delegate']('execute')['to'](_0x476e2e),_0x5cecf7['on']('execute',()=>{this['_showDialog']();}),_0xd270ae['children']['add'](_0x5cecf7),_0x10272d['items']['add'](_0xd270ae);const _0x2b8f52=new _0x5b3807(_0x219198,_0x476e2e),_0x2bd5b2=new _0x3f15e2(_0x219198);return _0x2bd5b2['set']({'label':y(_0x219198,'Open\x20revision\x20history')}),_0x2bd5b2['delegate']('execute')['to'](_0x476e2e),_0x2bd5b2['on']('execute',()=>{_0x5d7878['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x2b8f52['children']['add'](_0x2bd5b2),_0x10272d['items']['add'](_0x2b8f52),_0x476e2e['panelView']['children']['add'](_0x10272d),_0x476e2e;}['_showDialog'](){const _0x27bb77=this['editor'],_0x162a81=_0x27bb77['locale'],t=_0x162a81['t'],_0x40788f=_0x27bb77['plugins']['get']('Dialog'),_0x48f92a=_0x27bb77['plugins']['get']('RevisionTracker');function _0x49f043(_0x5365a5){_0x27bb77['config']['get']('revisionHistory.requireRevisionName')&&''===_0x5365a5['revisionName']?_0x5365a5['revisionNameInputView']['errorText']=y(_0x162a81,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x27bb77['plugins']['get'](l)['saveRevision']({'name':_0x5365a5['revisionName']}),_0x40788f['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x49f043(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x40788f['show']({'id':'findAndReplace','title':y(_0x162a81,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x40788f['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x4243c0){_0x4243c0['bind']('isEnabled')['to'](_0x48f92a,'isReady',_0x48f92a,'isEnabled',_0x27bb77,'isReadOnly',(_0x21d79b,_0x2091b5,_0x3d5bc8)=>_0x21d79b&&_0x2091b5&&!_0x3d5bc8);},'onExecute':()=>_0x49f043(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x4c4d9a=this['editor'],_0x26eca9=_0x4c4d9a['locale'];this['_saveRevisionFormView']=new ns(_0x26eca9,_0x4c4d9a['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x381698{['focus'](){this['element']['focus']();}constructor(_0x124c2b,_0x8b08fc){super(_0x124c2b),this['_model']=_0x8b08fc,this['changeId']=_0x8b08fc['id'];const _0x558da3=this['bindTemplate'],_0x25e44e=y(_0x124c2b,_0x8b08fc['data']['isSuggestion']?'Suggested\x20by':'add'==_0x8b08fc['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x8b08fc['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x558da3['to']('type',_0x2691ef=>'ck-revision-change__'+_0x2691ef)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x25e44e}]},{'text':'\x20'+_0x8b08fc['author']['name']}]}]});}}class r extends _0x3d769b(){['toJSON'](){return{'id':this['id'],'authorId':this['author']['id'],'type':this['type'],'data':this['data'],'createdAt':this['createdAt']};}constructor(_0x3c0741){super(),this['id']=_0x3c0741['id']||_0x5e2995(),this['author']=_0x3c0741['author'],this['type']=_0x3c0741['type'],this['data']=_0x3c0741['data']||{},this['rootName']=_0x3c0741['rootName'],this['set']('createdAt',_0x3c0741['createdAt']);}}class f{['_setChanges'](_0x288a34){for(const _0x15068f of _0x288a34)this['changes']['add'](_0x15068f);}constructor(_0x4ab731,_0xae4510){this['newRevisionId']=_0x4ab731,this['oldRevisionId']=_0xae4510,this['changes']=new _0xacebb8();}}const tt={'c':_0x29c9c9,'a':_0x23a7e7,'e':_0x3260e7,'r':_0x27c3e6,'u':_0x587e8f};class d extends _0x3fe8e5{static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x45929e,_0x25cc9c,A];}['init'](){const _0x4180eb=this['editor'],_0x4b5149=new Rt(_0x4180eb,{'direction':'backward'}),_0x5ebf48=new Rt(_0x4180eb,{'direction':'forward'});(_0x4180eb['commands']['add']('showPreviousChange',_0x4b5149),_0x4180eb['commands']['add']('showNextChange',_0x5ebf48),_0x4180eb['commands']['add']('restoreRevision',new bt(_0x4180eb)),this['on']('change:numberOfChanges',()=>{_0x4b5149['refresh'](),_0x5ebf48['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4180eb['enableReadOnlyMode']('revision-viewer'),_0x4180eb['plugins']['has']('WidgetToolbarRepository'))&&_0x4180eb['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x576a16){await this['loadRevisionData'](_0x576a16);const _0x24be6c={};for(const _0x4174a1 in _0x576a16['diffData']){if(_0x576a16['diffData'][_0x4174a1]['attachChange']&&!_0x576a16['diffData'][_0x4174a1]['attachChange']['isAttached'])continue;const _0x192847=this['_removeRevisionMarkers'](JSON['parse'](_0x576a16['diffData'][_0x4174a1]['insertions'])),_0x24fe9c=this['editor']['editing']['view']['document'],_0x14c10f=new _0x2d1c58(_0x24fe9c,_0x192847['map'](_0x224237=>this['_getViewObj'](_0x224237)));this['editor']['data']['processor']['useFillerType']('marked'),_0x24be6c[_0x4174a1]=this['editor']['data']['processor']['toData'](_0x14c10f),this['editor']['data']['processor']['useFillerType']('default');}return _0x24be6c;}async['getRevisionRootsAttributes'](_0x5e5b1b){await this['loadRevisionData'](_0x5e5b1b);const _0x2869e4={};for(const _0x2f14df in _0x5e5b1b['diffData'])_0x5e5b1b['diffData'][_0x2f14df]['attachChange']&&!_0x5e5b1b['diffData'][_0x2f14df]['attachChange']['isAttached']||(_0x2869e4[_0x2f14df]=_0x5e5b1b['diffData'][_0x2f14df]['attributesAfter']||{});return _0x2869e4;}['_removeRevisionMarkers'](_0x54f6d8){return(_0x54f6d8=_0x54f6d8['filter'](_0x263df4=>!_0x263df4['name']||'revision-start'!==_0x263df4['name']&&'revision-end'!==_0x263df4['name']))['forEach'](_0x3c113e=>{'string'!=typeof _0x3c113e&&(_0x3c113e['children']=this['_removeRevisionMarkers'](_0x3c113e['children']),_0x3c113e['attributes']=_0x3c113e['attributes']['filter'](_0x420cd2=>!_0x420cd2[0x0]['startsWith']('data-revision-')));}),_0x54f6d8;}async['compare'](_0x9a1387,_0x2f8f06,_0xaee31b=!0x1){if(!this['isEnabled'])return;const _0x531cf7=this['diff'],_0x6c7c1a=this['repository'],_0x3ded32='string'==typeof _0x9a1387?_0x6c7c1a['getRevision'](_0x9a1387):_0x9a1387,_0x807a13='string'==typeof _0x2f8f06?_0x6c7c1a['getRevision'](_0x2f8f06):_0x2f8f06,_0x291cd2=_0x3ded32['id'],_0x24312a=_0x807a13?_0x807a13['id']:null;if(!_0xaee31b&&this['diff']&&this['diff']['newRevisionId']===_0x291cd2&&this['diff']['oldRevisionId']===_0x24312a)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x291cd2,_0x24312a);const _0x5aaddc=this['_getRevisionsRange'](_0x3ded32,_0x807a13,!0x0)['map'](_0x3f1ab1=>this['loadRevisionData'](_0x3f1ab1));return _0x5aaddc['push'](new Promise(_0x1f8daf=>{setTimeout(_0x1f8daf,0x14);})),Promise['all'](_0x5aaddc)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x45788c=this['_getDiff'](_0x291cd2,_0x24312a);for(const _0x2a0f53 of _0x45788c['changes'])this['_changeIdToChange']['set'](_0x2a0f53['id'],_0x2a0f53);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x308f73=>{for(const _0x3c961a of this['editor']['model']['document']['getRootNames']())_0x308f73['detachRoot'](_0x3c961a);for(const _0x25df5f of Object['keys'](_0x45788c['model'])){const _0x40b8c8=_0x308f73['addRoot'](_0x25df5f);for(const _0x48f206 of Object['keys'](_0x45788c['attributes'][_0x25df5f]))_0x308f73['setAttribute'](_0x48f206,_0x45788c['attributes'][_0x25df5f][_0x48f206],_0x40b8c8);_0x308f73['insert'](_0x45788c['model'][_0x25df5f],_0x40b8c8,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x45788c['changes'])),this['isReady']=!0x0;})['catch'](_0x2ad91d=>{console['error'](_0x2ad91d),this['_cleanUp'](),_0x531cf7&&(this['diff']=_0x531cf7),this['isReady']=!0x0;});}['addRevisionData'](_0x121add,_0x31dea2){const _0x1e2bf6=this['repository']['createRevision'](_0x121add);return _0x1e2bf6['on']('_update',(_0x124217,_0xcfa248,_0x3596f4)=>_0x31dea2(_0xcfa248,_0x3596f4,_0x1e2bf6)),this['repository']['addRevision'](_0x1e2bf6),_0x1e2bf6;}['loadRevisionData'](_0x24f8b1){if(!_0x24f8b1||_0x24f8b1['diffData'])return Promise['resolve']();{const _0x5db19e=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x5db19e,'revisionId':_0x24f8b1['id']})['then'](_0x43e77f=>{_0x24f8b1['_update']({'diffData':_0x43e77f['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},_0x149a7d=>{for(const _0x599fb4 of this['editor']['model']['document']['getRootNames']())_0x149a7d['detachRoot'](_0x599fb4);});}['_sortAndFilterDiffChanges'](_0x391cde){const _0x2294d9=[],_0x2a7107=new Map();for(const _0x11a447 of this['editor']['model']['document']['getRootNames']()){const _0x227a6c=this['editor']['editing']['view']['getDomRoot'](_0x11a447);if(!_0x227a6c)continue;const _0x872df6=_0x227a6c['getClientRects']()['item'](0x0);_0x872df6&&(_0x2294d9['push'](_0x11a447),_0x2a7107['set'](_0x11a447,_0x872df6));}return _0x2294d9['sort']((_0x5c3f92,_0x5b5b10)=>{const _0x1370cf=_0x2a7107['get'](_0x5c3f92),_0x323fbe=_0x2a7107['get'](_0x5b5b10);return _0x1370cf['y']-_0x323fbe['y']||_0x1370cf['x']-_0x323fbe['x'];}),(_0x391cde=_0x391cde['filter'](_0x42d776=>_0x2294d9['includes'](_0x42d776['rootName'])))['sort']((_0x4b9a00,_0x208236)=>_0x2294d9['indexOf'](_0x4b9a00['rootName'])-_0x2294d9['indexOf'](_0x208236['rootName'])),_0x391cde;}['_makeTape'](_0x47cd75){const _0x1f3fd4=Array['from'](_0x47cd75['markers'])['filter'](([_0x5d3324,_0x596413])=>_0x5d3324['startsWith']('revision:')&&!_0x596413['isCollapsed']),_0x5c6af1=Array['from'](this['editor']['model']['createRangeIn'](_0x47cd75)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x1f3fd4['length'])for(const _0x44df3d of _0x5c6af1){const [_0x4ef232,_0x38cf9f]=_0x1f3fd4[0x0],[,_0x48e172,_0x3333be]=_0x4ef232['split'](':');if(_0x38cf9f['end']['isEqual'](_0x44df3d['nextPosition'])&&_0x1f3fd4['shift'](),(_0x44df3d['previousPosition']['isEqual'](_0x38cf9f['start'])||_0x44df3d['previousPosition']['isAfter'](_0x38cf9f['start']))&&('insertion'==_0x48e172?_0x44df3d['isAdded']={'userId':_0x3333be}:'deletion'==_0x48e172&&(_0x44df3d['isRemoved']={'userId':_0x3333be})),0x0==_0x1f3fd4['length'])break;}return _0x5c6af1;}['_refreshStartEndIndex'](_0x186f59){const _0xbd4939=new Map();for(let _0xeec562=0x0;_0xeec562<_0x186f59['length'];_0xeec562++)'text'===_0x186f59[_0xeec562]['type']?(_0x186f59[_0xeec562]['item']['startIndex']=_0xeec562,_0x186f59[_0xeec562]['item']['endIndex']=_0xeec562):('elementStart'===_0x186f59[_0xeec562]['type']?_0x186f59[_0xeec562]['item']['startIndex']=_0xeec562:'elementEnd'===_0x186f59[_0xeec562]['type']&&(_0x186f59[_0xeec562]['item']['endIndex']=_0xeec562),_0xbd4939['set'](_0x186f59[_0xeec562]['id'],_0xeec562));for(const _0x49cafb of _0xbd4939['values']())'elementStart'===_0x186f59[_0x49cafb]['type']?_0x186f59[_0x49cafb]['item']['endIndex']=_0xbd4939['get'](_0x186f59[_0x49cafb]['pairId']):'elementEnd'===_0x186f59[_0x49cafb]['type']&&(_0x186f59[_0x49cafb]['item']['startIndex']=_0xbd4939['get'](_0x186f59[_0x49cafb]['pairId']));}['_processTape'](_0x5fc5e9){for(let _0xec4756=0x0;_0xec4756<_0x5fc5e9['length'];_0xec4756++){if('elementStart'===_0x5fc5e9[_0xec4756]['type'])_0x5fc5e9[_0xec4756]['item']['startIndex']=_0xec4756;else{if('elementEnd'===_0x5fc5e9[_0xec4756]['type']){_0x5fc5e9[_0xec4756]['item']['endIndex']=_0xec4756;const _0x2516c5=_0x5fc5e9[_0xec4756]['item']['startIndex'];_0x5fc5e9[_0x2516c5]['pairId']=_0x5fc5e9[_0xec4756]['id'],_0x5fc5e9[_0xec4756]['pairId']=_0x5fc5e9[_0x2516c5]['id'];}else _0x5fc5e9[_0xec4756]['item']['startIndex']=_0xec4756,_0x5fc5e9[_0xec4756]['item']['endIndex']=_0xec4756,_0x5fc5e9[_0xec4756]['pairId']=null;}_0x5fc5e9[_0xec4756]['markersStart']||(_0x5fc5e9[_0xec4756]['markersStart']=[],_0x5fc5e9[_0xec4756]['markersEnd']=[]);}}['_markInsertions'](_0x1a0877,_0x2699de){const _0x51476b=_0x1a0877['filter'](_0x41afc6=>!_0x41afc6['isAdded']);for(let _0x554db7=0x0;_0x554db7<_0x2699de['length'];_0x554db7++)_0x2699de[_0x554db7]['isAdded']&&(_0x51476b[_0x554db7]['isAdded']=_0x2699de[_0x554db7]['isAdded']);}['_makeModelFromViewString'](_0x195241){const _0x1b1485=JSON['parse'](_0x195241),_0x2895c5=this['editor']['editing']['view']['document'],_0x5f539d=new _0x2d1c58(_0x2895c5,_0x1b1485['map'](_0x11bc52=>this['_getViewObj'](_0x11bc52)));return this['editor']['data']['toModel'](_0x5f539d);}['_getViewObj'](_0x5dbf43){const _0x9f978b=this['editor']['editing']['view']['document'];if('string'==typeof _0x5dbf43)return new _0x208f82(_0x9f978b,_0x5dbf43);{const _0x116316=_0x5dbf43['children']['map'](_0x2903af=>this['_getViewObj'](_0x2903af));return new(tt[_0x5dbf43['type']]||_0x4fe726)(_0x9f978b,_0x5dbf43['name'],_0x5dbf43['attributes'],_0x116316);}}['_getDiff'](_0x1014b9,_0x35a602=null){const _0x3249d2=this['repository']['getRevision'](_0x1014b9),_0x45c4cc=_0x35a602?this['repository']['getRevision'](_0x35a602):null,_0x4c21cd=this['_getRevisionsRange'](_0x3249d2,_0x45c4cc),_0x389b05=_0x4c21cd[_0x4c21cd['length']-0x1],_0x50c7fa=new Map(),_0x4c5ed4={'model':{},'attributes':{},'changes':[]},_0x55e289=new Set(),_0x9b5b67=new Map();for(let _0x4a918a=_0x4c21cd['length']-0x1;_0x4a918a>=0x0;_0x4a918a--){const _0x4d926d=_0x4c21cd[_0x4a918a];for(const _0x1f4f1b of Object['keys'](_0x4d926d['diffData']))if(_0x4d926d['diffData'][_0x1f4f1b]['attachChange']){const _0x27ea29=_0x4d926d['diffData'][_0x1f4f1b]['attachChange'];_0x27ea29['isAttached']?(_0x55e289['add'](_0x1f4f1b),_0x9b5b67['has'](_0x1f4f1b)&&_0x9b5b67['get'](_0x1f4f1b)['userId']==_0x27ea29['userId']?_0x9b5b67['delete'](_0x1f4f1b):_0x9b5b67['set'](_0x1f4f1b,_0x27ea29)):_0x9b5b67['has'](_0x1f4f1b)?(_0x55e289['delete'](_0x1f4f1b),_0x9b5b67['delete'](_0x1f4f1b)):(_0x55e289['add'](_0x1f4f1b),_0x9b5b67['set'](_0x1f4f1b,_0x27ea29));}else _0x55e289['add'](_0x1f4f1b);}for(const _0xe2ac7e of _0x55e289){const _0x149416=_0x9b5b67['has'](_0xe2ac7e)&&!_0x9b5b67['get'](_0xe2ac7e)['isAttached'];let _0x3fed81=_0x149416?_0x4c21cd['length']-0x1:0x0;const _0x4d724f=_0x149416?-0x1:0x1;for(;_0x4c21cd[_0x3fed81];){const _0x1f37bd=_0x4c21cd[_0x3fed81];if(_0x1f37bd['diffData'][_0xe2ac7e]){const _0x29d0d5=_0x149416?_0x1f37bd['diffData'][_0xe2ac7e]['attributesBefore']:_0x1f37bd['diffData'][_0xe2ac7e]['attributesAfter'];_0x4c5ed4['attributes'][_0xe2ac7e]=_0x29d0d5?_0x1f12f9(_0x29d0d5):{};break;}_0x3fed81+=_0x4d724f;}}for(const _0x49416b of _0x4c21cd){_0x49416b['model']={};for(const _0x46bcd4 of _0x49416b['authors'])_0x50c7fa['set'](_0x46bcd4['id'],_0x46bcd4);for(const _0x335f57 of _0x55e289){const _0x4283c9=_0x49416b['diffData'][_0x335f57]?_0x49416b['diffData'][_0x335f57]['insertions']:'[]',_0x315fc4=_0x49416b['diffData'][_0x335f57]?_0x49416b['diffData'][_0x335f57]['deletions']:'[]';_0x49416b['model'][_0x335f57]={'insertions':this['_makeModelFromViewString'](_0x4283c9),'deletions':this['_makeModelFromViewString'](_0x315fc4)};}}for(const _0x47dd9a of _0x55e289){let _0x57a87b=null,_0x1a9d42=0x0;const _0x15dc75=new Map(Array['from'](_0x3249d2['model'][_0x47dd9a]['insertions']['markers'])['filter'](([_0xda083b])=>!_0xda083b['startsWith']('revision:')));let _0x5a6afb=0x0;for(const _0x46a198 of _0x4c21cd){const _0x2e7e2f=this['_makeTape'](_0x46a198['model'][_0x47dd9a]['insertions']);_0x46a198==_0x3249d2?(_0x57a87b=_0x2e7e2f,_0x1a9d42=_0x57a87b['length'],_0x57a87b['forEach'](_0x327bef=>{_0x327bef['id']=_0x5a6afb++;}),this['_processTape'](_0x57a87b)):this['_markInsertions'](_0x57a87b,_0x2e7e2f);const _0x5a9ec8=_0x57a87b['filter'](_0x471335=>!_0x471335['isAdded'])['map'](_0x538089=>_0x538089['id']);let _0x5cfd39=0x0;const _0x337394=this['_makeTape'](_0x46a198['model'][_0x47dd9a]['deletions']);_0x337394['forEach'](_0xcc4bc0=>{_0xcc4bc0['isRemoved']?_0xcc4bc0['id']=_0x1a9d42++:_0xcc4bc0['id']=_0x5a9ec8[_0x5cfd39++];}),this['_processTape'](_0x337394),this['_setDistance'](_0x57a87b,'isAdded'),this['_setDistance'](_0x337394,'isRemoved'),_0x46a198==_0x3249d2&&this['_markMarkers'](_0x57a87b,_0x15dc75),_0x57a87b=this['_joinTapes'](_0x57a87b,_0x337394),this['_refreshStartEndIndex'](_0x57a87b),this['_setDistance'](_0x57a87b,'isRemoved');}_0x57a87b=_0x57a87b['filter'](_0x8527eb=>!(_0x8527eb['isAdded']&&_0x8527eb['isRemoved']));const _0x4d7292=new Map(_0x389b05['model'][_0x47dd9a]['deletions']['markers']),_0x247610=new Set(_0x15dc75['keys']());for(const _0x5e90eb of _0x4d7292['keys']())_0x247610['delete'](_0x5e90eb);this['_markSuggestions'](_0x57a87b,_0x247610),this['_fixObsoleteTags'](_0x57a87b),_0x57a87b=this['_removeMissingPairs'](_0x57a87b),_0x57a87b=this['_markMismatchedRemovedTags'](_0x57a87b),_0x57a87b=this['_removeUnsupportedChanges'](_0x57a87b);const {root:_0x141967,changes:_0x2ab1db}=this['_makeModelFromTape'](_0x57a87b,_0x50c7fa,_0x47dd9a);_0x4c5ed4['model'][_0x47dd9a]=_0x141967;const _0x3c29ba=_0x9b5b67['get'](_0x47dd9a);if(_0x3c29ba){const _0x5224fa=_0x50c7fa['get'](_0x3c29ba['userId']),_0x54a8a0=new r({'author':_0x5224fa,'type':_0x3c29ba['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x47dd9a});_0x2ab1db['unshift'](_0x54a8a0),_0x4c5ed4['attributes'][_0x47dd9a]['revisionHistoryAttachChange']=_0x54a8a0['id'];}_0x4c5ed4['changes']=_0x4c5ed4['changes']['concat'](_0x2ab1db);}return _0x4c5ed4;}['_markMarkers'](_0x192928,_0xb8d26e){for(let _0x3f9995=0x0;_0x3f9995<_0x192928['length'];_0x3f9995++)for(const [_0x108515,_0x443888]of _0xb8d26e)_0x443888['start']['isEqual'](_0x192928[_0x3f9995]['previousPosition'])&&_0x192928[_0x3f9995]['markersStart']['push'](_0x108515),_0x443888['end']['isEqual'](_0x192928[_0x3f9995]['nextPosition'])&&_0x192928[_0x3f9995]['markersEnd']['push'](_0x108515);}['_joinTapes'](_0xb3565a,_0x51eab9){let _0x488f56=[],_0x58ba17=0x0,_0x244268=0x0;for(;_0x58ba17<_0xb3565a['length']||_0x244268<_0x51eab9['length'];){const _0x1461f7=_0xb3565a[_0x58ba17]||{},_0x290699=_0x51eab9[_0x244268]||{};if(_0x1461f7['id']==_0x290699['id'])_0x58ba17++,_0x244268++,_0x488f56['push'](_0x1461f7);else{if(_0x290699['isRemoved']&&_0x1461f7['isAdded']){const {commonTape:_0x1beb7b,iEnd:_0x2d2b23,jEnd:_0x4ae64e}=this['_threeWayMerge'](_0xb3565a,_0x58ba17,_0x51eab9,_0x244268);_0x488f56=_0x488f56['concat'](_0x1beb7b),_0x58ba17=_0x2d2b23,_0x244268=_0x4ae64e;}else _0x290699['isRemoved']?(_0x244268++,_0x488f56['push'](_0x290699)):(_0x58ba17++,_0x488f56['push'](_0x1461f7));}}return _0x488f56;}['_markSuggestions'](_0x2b9220,_0x1b1f05){const _0x6373ad=[];for(let _0x4107d2=0x0;_0x4107d2<_0x2b9220['length'];_0x4107d2++){for(let _0x524f8c=0x0;_0x524f8c<_0x2b9220[_0x4107d2]['markersStart']['length'];_0x524f8c++){const _0x5abaa0=_0x2b9220[_0x4107d2]['markersStart'][_0x524f8c];if(!_0x1b1f05['has'](_0x5abaa0))continue;const {group:_0x4e5c3b,type:_0x1a9eb7,authorId:_0x2efb84}=_0x3dcfe0(_0x5abaa0);'revision-suggestion'!=_0x4e5c3b||'insertion'!=_0x1a9eb7&&'deletion'!=_0x1a9eb7||(_0x6373ad['unshift']({'type':_0x1a9eb7,'name':_0x5abaa0,'userId':_0x2efb84}),_0x2b9220[_0x4107d2]['markersStart']['splice'](_0x524f8c,0x1),_0x524f8c--);}_0x2fb1a2(_0x2b9220[_0x4107d2]);for(let _0x4e2d38=0x0;_0x4e2d38<_0x2b9220[_0x4107d2]['markersEnd']['length'];_0x4e2d38++){const _0x89462a=_0x2b9220[_0x4107d2]['markersEnd'][_0x4e2d38];if(!_0x1b1f05['has'](_0x89462a))continue;const {group:_0x3513f0,type:_0x8f3f66}=_0x3dcfe0(_0x89462a);if('revision-suggestion'!=_0x3513f0||'insertion'!=_0x8f3f66&&'deletion'!=_0x8f3f66)continue;_0x2b9220[_0x4107d2]['markersEnd']['splice'](_0x4e2d38,0x1),_0x4e2d38--;const _0x554fbe=_0x6373ad['findIndex'](_0x55c9f3=>_0x55c9f3['name']==_0x89462a);_0x554fbe>-0x1&&_0x6373ad['splice'](_0x554fbe,0x1);}}function _0x3dcfe0(_0x5ce6a2){const _0x5c9c72=_0x5ce6a2['split'](':');return{'group':_0x5c9c72[0x0],'type':_0x5c9c72[0x1],'subType':_0x5c9c72['length']>=0x5?_0x5c9c72[0x2]:null,'id':_0x5c9c72['length']<0x5?_0x5c9c72[0x2]:_0x5c9c72[0x3],'authorId':_0x5c9c72['length']<0x5?_0x5c9c72[0x3]:_0x5c9c72[0x4],'markerCount':0x6==_0x5c9c72['length']?_0x5c9c72[0x5]:null};}function _0x2fb1a2(_0x55c8af){for(let _0x3609b1=0x0;_0x3609b1<_0x6373ad['length'];_0x3609b1++){if(_0x55c8af['isAdded']&&'insertion'==_0x6373ad[_0x3609b1]['type'])return _0x55c8af['isAddSuggestion']=_0x6373ad[_0x3609b1],void delete _0x55c8af['isAdded'];if(!_0x55c8af['isAdded']&&!_0x55c8af['isRemoved']&&'deletion'==_0x6373ad[_0x3609b1]['type'])return void(_0x55c8af['isRemoveSuggestion']=_0x6373ad[_0x3609b1]);}}}['_setDistance'](_0x3e9947,_0x5deddb){let _0x43becc=0x0,_0x3c712e=!0x1;const _0x1b2da3=new Map();for(const _0x3f40f0 of _0x3e9947)_0x3f40f0[_0x5deddb]?_0x3c712e&&(_0x43becc++,_0x3c712e=!0x1):(_0x43becc++,_0x3c712e=!0x0),_0x1b2da3['set'](_0x3f40f0['id'],_0x43becc);for(let _0x47226d=0x0;_0x47226d<_0x3e9947['length'];_0x47226d++){if('isRemoved'==_0x5deddb&&_0x3e9947[_0x47226d]['isAdded']||'isAdded'==_0x5deddb&&_0x3e9947[_0x47226d]['isRemoved'])continue;if('text'==_0x3e9947[_0x47226d]['type']){_0x3e9947[_0x47226d]['distance']=0x0;continue;}const _0x37366e=_0x1b2da3['get'](_0x3e9947[_0x47226d]['pairId']),_0x295473=_0x1b2da3['get'](_0x3e9947[_0x47226d]['id']);_0x3e9947[_0x47226d]['distance']=_0x37366e-_0x295473;}}['_getRevisionsRange'](_0x30fdc6,_0x5264c2,_0x5306b5=!0x1){const _0xcbd237=[];let _0x22c59f=this['repository']['getIndex'](_0x30fdc6),_0x330e01=this['repository']['getIndex'](_0x5264c2);for(-0x1==_0x330e01&&(_0x330e01=this['repository']['_revisions']['length'],_0x5306b5=!0x1);_0x22c59f<_0x330e01;)_0xcbd237['push'](this['repository']['getRevision'](_0x22c59f)),_0x22c59f++;return _0x5306b5&&_0xcbd237['push'](this['repository']['getRevision'](_0x22c59f)),_0xcbd237;}['_threeWayMerge'](_0x261356,_0x1ea145,_0x5caad9,_0x35b285){const _0x507a92=this['editor']['model']['schema'];let _0x13e67d=_0x1ea145;for(;_0x261356[_0x13e67d]&&_0x261356[_0x13e67d]['isAdded'];)_0x13e67d++;let _0x5c6867=_0x35b285;for(;_0x5caad9[_0x5c6867]&&_0x5caad9[_0x5c6867]['isRemoved'];)_0x5c6867++;_0x2d1590(_0x261356,_0x1ea145,_0x13e67d),_0x2d1590(_0x5caad9,_0x35b285,_0x5c6867);const _0x1e19a2=_0x5caad9['slice'](_0x35b285,_0x5c6867)['concat'](_0x261356['slice'](_0x1ea145,_0x13e67d));return _0x1e19a2['sort']((_0x9fc09d,_0xcfd718)=>_0x9fc09d['side']!=_0xcfd718['side']?_0x9fc09d['side']-_0xcfd718['side']:_0x9fc09d['level']!=_0xcfd718['level']?_0x9fc09d['level']-_0xcfd718['level']:_0x9fc09d['distance']!=_0xcfd718['distance']?_0xcfd718['distance']-_0x9fc09d['distance']:!!_0x9fc09d['isAdded']!=!!_0xcfd718['isAdded']?-0x1==_0x9fc09d['side']||0x0==_0x9fc09d['side']?_0x9fc09d['isAdded']?-0x1:0x1:_0x9fc09d['isAdded']?0x1:-0x1:_0x9fc09d['index']-_0xcfd718['index']),{'commonTape':_0x1e19a2,'iEnd':_0x13e67d,'jEnd':_0x5c6867};function _0x2d1590(_0x314d0a,_0xd34256,_0x59adde){let _0x34a136=-0x1,_0x56ffb5=Number['POSITIVE_INFINITY'],_0x3a43a7=!0x0;for(let _0x27d846=_0xd34256;_0x27d846<_0x59adde;_0x27d846++)if(_0x507a92['isInline'](_0x314d0a[_0x27d846]['item'])||(_0x3a43a7=!0x1),_0x314d0a[_0x27d846]['item']['startIndex']<_0xd34256&&(_0x34a136=_0x27d846),_0x314d0a[_0x27d846]['item']['endIndex']>=_0x59adde){_0x56ffb5=_0x27d846;break;}_0x3a43a7&&(_0x34a136=_0x59adde-0x1);for(let _0x57ff7f=_0xd34256;_0x57ff7f<_0x59adde;_0x57ff7f++)_0x314d0a[_0x57ff7f]['side']=_0x57ff7f<=_0x34a136?-0x1:_0x57ff7f<_0x56ffb5?0x0:0x1,_0x314d0a[_0x57ff7f]['index']=_0x57ff7f;let _0x5954e5=0x0;for(let _0x3e481c=_0xd34256;_0x3e481c<=_0x34a136;_0x3e481c++)0x0==_0x314d0a[_0x3e481c]['distance']?_0x314d0a[_0x3e481c]['level']=_0x5954e5:(_0x5954e5++,_0x314d0a[_0x3e481c]['level']=_0x5954e5,_0x5954e5++);for(let _0x2b17ed=_0xd34256;_0x2b17ed<_0x59adde;_0x2b17ed++)0x0==_0x314d0a[_0x2b17ed]['side']&&(_0x314d0a[_0x2b17ed]['level']=_0x5954e5);_0x5954e5=0x0;for(let _0x5b784b=_0x59adde-0x1;_0x5b784b>=_0x56ffb5;_0x5b784b--)0x0==_0x314d0a[_0x5b784b]['distance']?_0x314d0a[_0x5b784b]['level']=_0x5954e5:(_0x5954e5--,_0x314d0a[_0x5b784b]['level']=_0x5954e5,_0x5954e5--);}}['_fixObsoleteTags'](_0x410892){const _0x12da25=new Map(),_0x334a4e=this['editor']['model']['schema'];for(let _0x7d6311=0x1;_0x7d6311<_0x410892['length'];_0x7d6311++){let _0x4ad3b0,_0x139437,_0x29724e;const _0x613d50=_0x410892[_0x7d6311],_0x42e969=_0x410892[_0x7d6311-0x1];if('text'==_0x613d50['type'])continue;if(_0x613d50['type']!=_0x42e969['type'])continue;if(!_0x334a4e['isBlock'](_0x42e969['item'])||_0x334a4e['isLimit'](_0x42e969['item']))continue;if(!_0x334a4e['isBlock'](_0x613d50['item'])||_0x334a4e['isLimit'](_0x613d50['item']))continue;if((_0x410892[_0x7d6311]['isAdded']||_0x410892[_0x7d6311]['isAddSuggestion'])&&_0x410892[_0x7d6311-0x1]['isRemoved'])_0x4ad3b0=_0x410892[_0x7d6311],_0x139437=_0x410892[_0x7d6311-0x1],_0x29724e=_0x7d6311-0x1;else{if(!_0x410892[_0x7d6311]['isRemoved']||!_0x410892[_0x7d6311-0x1]['isAdded']&&!_0x410892[_0x7d6311-0x1]['isAddSuggestion'])continue;_0x4ad3b0=_0x410892[_0x7d6311-0x1],_0x139437=_0x410892[_0x7d6311],_0x29724e=_0x7d6311;}const _0x1c67bc=_0x4ad3b0['level']==_0x139437['level'],_0x11db55=Math['abs'](_0x4ad3b0['level'])<Math['abs'](_0x139437['level'])&&0x0==_0x139437['distance'];(_0x1c67bc||_0x11db55)&&(_0x12da25['set'](_0x139437['id'],_0x4ad3b0['id']),_0x410892['splice'](_0x29724e,0x1),_0x7d6311--,_0x4ad3b0['isAdded']=!0x1);}for(let _0xec635d=0x0;_0xec635d<_0x410892['length'];_0xec635d++)_0x12da25['has'](_0x410892[_0xec635d]['pairId'])&&(_0x410892[_0xec635d]['pairId']=_0x12da25['get'](_0x410892[_0xec635d]['pairId']));}['_removeMissingPairs'](_0x870af1){const _0x4d0dc7=new Set(_0x870af1['map'](_0x599b9c=>_0x599b9c['id']));for(let _0x3d5a1b=0x0;_0x3d5a1b<_0x870af1['length'];_0x3d5a1b++)_0x4d0dc7['has'](_0x870af1[_0x3d5a1b]['pairId'])||0x0==_0x870af1[_0x3d5a1b]['distance']||(_0x870af1[_0x3d5a1b]['isIncorrect']=!0x0);return _0x870af1['filter'](_0x474d08=>!_0x474d08['isIncorrect']);}['_markMismatchedRemovedTags'](_0x29c896){const _0xd8cbd=new Set();for(let _0x32b13d=0x0;_0x32b13d<_0x29c896['length'];_0x32b13d++){if(_0xd8cbd['has'](_0x29c896[_0x32b13d]['id'])&&_0x29c896[_0x32b13d]['isRemoved']&&(_0x29c896[_0x32b13d]['isIncorrect']=!0x0),_0x29c896[_0x32b13d]['isIncorrect'])continue;if(0x0==_0x29c896[_0x32b13d]['distance'])continue;if('elementStart'!=_0x29c896[_0x32b13d]['type'])continue;if(null==_0x29c896[_0x32b13d]['pairId'])continue;let _0x42b6a7=_0x32b13d+0x1,_0x5a0c75=0x0;for(;_0x29c896[_0x42b6a7]['id']!=_0x29c896[_0x32b13d]['pairId'];)'elementStart'==_0x29c896[_0x42b6a7]['type']?_0x5a0c75++:'elementEnd'==_0x29c896[_0x42b6a7]['type']&&_0x5a0c75--,_0x42b6a7++;if(0x0!=_0x5a0c75){if(_0x29c896[_0x32b13d]['isRemoved'])_0x29c896[_0x32b13d]['isIncorrect']=!0x0;else{for(;_0x42b6a7!=_0x32b13d;)_0x29c896[_0x42b6a7]['isRemoved']&&0x0!=_0x29c896[_0x42b6a7]['distance']&&(_0x29c896[_0x42b6a7]['isIncorrect']=!0x0,_0xd8cbd['add'](_0x29c896[_0x42b6a7]['pairId'])),_0x42b6a7--;}}}return _0x29c896['filter'](_0x2151e3=>!_0x2151e3['isIncorrect']);}['_removeUnsupportedChanges'](_0x405a4b){const _0x4c2444=this['editor']['model']['schema'];for(let _0x2bb8a8=0x0;_0x2bb8a8<_0x405a4b['length'];_0x2bb8a8++){if(!(_0x405a4b[_0x2bb8a8]['isAdded']||_0x405a4b[_0x2bb8a8]['isAddSuggestion']||_0x405a4b[_0x2bb8a8]['isRemoved']||_0x405a4b[_0x2bb8a8]['isRemoveSuggestion']))continue;if(0x0==_0x405a4b[_0x2bb8a8]['distance'])continue;const _0x1856cf=_0x405a4b[_0x2bb8a8]['item'];_0x4c2444['isBlock'](_0x1856cf)||_0x4c2444['isLimit'](_0x1856cf)||(_0x405a4b[_0x2bb8a8]['isAdded']&&delete _0x405a4b[_0x2bb8a8]['isAdded'],_0x405a4b[_0x2bb8a8]['isAddSuggestion']&&delete _0x405a4b[_0x2bb8a8]['isAddSuggestion'],_0x405a4b[_0x2bb8a8]['isRemoveSuggestion']&&delete _0x405a4b[_0x2bb8a8]['isRemoveSuggestion'],_0x405a4b[_0x2bb8a8]['isRemoved']&&(_0x405a4b[_0x2bb8a8]['isIncorrect']=!0x0));}return _0x405a4b['filter'](_0x59ee4b=>!_0x59ee4b['isIncorrect']);}['_makeModelFromTape'](_0x376ab0,_0x2d59e5,_0x52e246){const _0x1125f2=new _t(),_0x4c803f=[],_0x27f268=new Map(),_0x5418be=this['editor']['model'],_0x424b57=_0x5418be['schema'],_0xeaf260=[_0x1125f2],_0x4de1a4={},_0x30455e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x20d306=null;const _0x801905=[0x0];for(let _0x1f89da=0x0;_0x1f89da<_0x376ab0['length'];_0x1f89da++){let _0x503172,_0x4e20b4;if('elementStart'===_0x376ab0[_0x1f89da]['type']){_0x503172=_0x5418be['createPositionFromPath'](_0x1125f2,_0x801905);const _0x5bd9e8=new ft(_0x376ab0[_0x1f89da]['item']['name'],_0x376ab0[_0x1f89da]['item']['getAttributes']());_0xeaf260[0x0]['_appendChild'](_0x5bd9e8),_0x801905['push'](0x0),_0xeaf260['unshift'](_0x5bd9e8),_0x4e20b4=_0x5418be['createPositionFromPath'](_0x1125f2,_0x801905),_0x20d306=null;}else{if('elementEnd'===_0x376ab0[_0x1f89da]['type'])_0xeaf260['shift'](),_0x503172=_0x5418be['createPositionFromPath'](_0x1125f2,_0x801905),_0x801905['pop'](),_0x801905[_0x801905['length']-0x1]++,_0x4e20b4=_0x5418be['createPositionFromPath'](_0x1125f2,_0x801905),_0x20d306=null;else{if(_0x503172=_0x5418be['createPositionFromPath'](_0x1125f2,_0x801905),_0x20d306&&_0x333935(_0x20d306,_0x376ab0[_0x1f89da]['item']))_0x20d306['_data']+=_0x376ab0[_0x1f89da]['item']['data'];else{const _0x340642=new yt(_0x376ab0[_0x1f89da]['item']['data'],_0x376ab0[_0x1f89da]['item']['getAttributes']());_0xeaf260[0x0]['_appendChild'](_0x340642),_0x20d306=_0x340642;}_0x801905[_0x801905['length']-0x1]+=_0x376ab0[_0x1f89da]['item']['offsetSize'],_0x4e20b4=_0x5418be['createPositionFromPath'](_0x1125f2,_0x801905);}}for(const _0x4b8091 of _0x376ab0[_0x1f89da]['markersStart'])_0x27f268['set'](_0x4b8091,{'start':_0x503172,'end':null});_0x1730ef('isRemoveSuggestion',_0x1f89da,_0x503172,_0x4e20b4),_0x1730ef('isAddSuggestion',_0x1f89da,_0x503172,_0x4e20b4),_0x1730ef('isRemoved',_0x1f89da,_0x503172,_0x4e20b4),_0x1730ef('isAdded',_0x1f89da,_0x503172,_0x4e20b4);for(const _0x1c1505 of _0x376ab0[_0x1f89da]['markersEnd']){_0x27f268['get'](_0x1c1505)['end']=_0x4e20b4;}}for(const [_0x85e251,_0x5e1c02]of _0x27f268){const _0x10099d=this['editor']['model']['createRange'](_0x5e1c02['start'],_0x5e1c02['end']);_0x1125f2['markers']['set'](_0x85e251,_0x10099d);}return _0x4c803f['sort']((_0x2bc689,_0x3e083e)=>{const _0xd57c29=_0x1125f2['markers']['get']('revision:'+_0x2bc689['id']),_0x43c09=_0x1125f2['markers']['get']('revision:'+_0x3e083e['id']);return _0xd57c29['start']['isBefore'](_0x43c09['start'])?-0x1:_0xd57c29['start']['isAfter'](_0x43c09['start'])?0x1:_0xd57c29['end']['isBefore'](_0x43c09['end'])?-0x1:_0xd57c29['end']['isAfter'](_0x43c09['end'])?0x1:'add'===_0x2bc689['type']?-0x1:0x1;}),{'root':_0x1125f2,'changes':_0x4c803f};function _0x1730ef(_0x5b1736,_0x3070be,_0x2bad43,_0xd3acf3){const _0x408062=!!_0x376ab0[_0x3070be][_0x5b1736],_0x77e9b1=_0x408062?_0x376ab0[_0x3070be][_0x5b1736]['userId']:null,_0x45a2ba=_0x3070be===_0x376ab0['length']-0x1,_0x2230cb=_0x30455e[_0x5b1736][0x0],_0x514e76=_0x424b57['isObject'](_0x376ab0[_0x3070be]['item']);!_0x4de1a4[_0x5b1736]&&_0x408062?_0x4de1a4[_0x5b1736]={'start':_0x2bad43,'tapeItem':_0x376ab0[_0x3070be],'userId':_0x77e9b1,'type':_0x5b1736}:_0x4de1a4[_0x5b1736]&&!_0x408062?(_0x4de1a4[_0x5b1736]['end']=_0x2bad43,_0x2f5321(_0x4de1a4[_0x5b1736]),_0x4de1a4[_0x5b1736]=null):_0x4de1a4[_0x5b1736]&&_0x408062&&_0x4de1a4[_0x5b1736]['userId']!==_0x77e9b1&&(_0x4de1a4[_0x5b1736]['end']=_0x2bad43,_0x2230cb&&_0x2230cb['userId']===_0x4de1a4[_0x5b1736]['userId']||_0x2f5321(_0x4de1a4[_0x5b1736]),_0x4de1a4[_0x5b1736]={'start':_0x2bad43,'tapeItem':_0x376ab0[_0x3070be],'userId':_0x77e9b1,'type':_0x5b1736}),_0x4de1a4[_0x5b1736]&&_0x514e76&&('elementStart'!==_0x376ab0[_0x3070be]['type']||_0x2230cb&&_0x2230cb['userId']===_0x77e9b1||_0x30455e[_0x5b1736]['unshift']({'userId':_0x77e9b1,'object':_0x376ab0[_0x3070be]['item'],'change':_0x4de1a4[_0x5b1736]}),'elementEnd'===_0x376ab0[_0x3070be]['type']&&_0x2230cb&&_0x2230cb['object']===_0x376ab0[_0x3070be]['item']&&(_0x30455e[_0x5b1736]['shift'](),_0x4de1a4[_0x5b1736]=_0x2230cb['change'])),_0x4de1a4[_0x5b1736]&&_0x45a2ba&&(_0x4de1a4[_0x5b1736]['end']=_0xd3acf3,_0x2f5321(_0x4de1a4[_0x5b1736]),_0x4de1a4[_0x5b1736]=null);}function _0x2f5321({start:_0x249cc8,end:_0x389b39,tapeItem:_0x32e1e7,userId:_0xb13c64,type:_0x2981ff}){const _0x223747=_0x32e1e7['item'],_0x1efe4d=_0x5418be['schema']['isBlock'](_0x223747)&&!_0x5418be['schema']['isLimit'](_0x223747),_0x56e2b7=_0x249cc8['nodeAfter']==_0x389b39['parent']&&_0x389b39['isAtStart'];if(_0x1efe4d&&_0x56e2b7)return;const _0x563c2f=_0x5418be['createRange'](_0x249cc8,_0x389b39),_0x25d589=_0x2d59e5['get'](_0xb13c64),_0x534898=new r({'author':_0x25d589,'type':'isAdded'==_0x2981ff||'isAddSuggestion'==_0x2981ff?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x2981ff||'isRemoveSuggestion'==_0x2981ff},'createdAt':new Date(),'rootName':_0x52e246});_0x4c803f['push'](_0x534898),_0x1125f2['markers']['set']('revision:'+_0x534898['id'],_0x563c2f);}function _0x333935(_0x557a60,_0xce30fc){const _0x7c4731=_0x557a60['getAttributes'](),_0x59e19b=_0xce30fc['getAttributes']();for(const _0x318aa8 of _0x7c4731){if(_0x318aa8[0x1]!==_0xce30fc['getAttribute'](_0x318aa8[0x0]))return!0x1;_0x59e19b['next']();}return _0x59e19b['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x595dc1=>{const _0x4ec6d2=_0x595dc1['markerName']['split'](':')[0x1],_0x92cd86=this['_getChangeFromId'](_0x4ec6d2);if(!_0x92cd86)return null;const _0x43d438='add'==_0x92cd86['type']?'insertion':'deletion',_0x4bc834=['ck-suggestion-marker','ck-suggestion-marker-'+_0x43d438];return _0x92cd86['data']['isSuggestion']&&_0x4bc834['push']('ck-suggestion-marker-'+_0x43d438+'-new'),this['activeChange']==_0x92cd86&&_0x4bc834['push']('ck-suggestion-marker--active'),{'classes':_0x4bc834,'attributes':{'data-change-id':_0x4ec6d2}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5380d2=>{_0x5380d2['on']('element:pre',(_0x3411a0,_0x52b731,_0x28a34a)=>{const _0x580481=_0x52b731['viewItem']['getChild'](0x0);if(!_0x580481||!_0x580481['is']('element','code'))return;if(!_0x28a34a['consumable']['consume'](_0x580481,{'attributes':['vid_start','vid_end']}))return;const _0x362311=_0x52b731['modelRange']['start']['nodeAfter'];_0x28a34a['writer']['setAttribute']('vid_start',_0x580481['getAttribute']('vid_start'),_0x362311),_0x28a34a['writer']['setAttribute']('vid_end',_0x580481['getAttribute']('vid_end'),_0x362311);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x52ed7a=>{_0x52ed7a['on']('element',(_0xbb70a1,_0x41d7ca,_0x1f7e3c)=>{if(!_0x1f7e3c['consumable']['consume'](_0x41d7ca['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x41d7ca['modelRange']['isCollapsed'])return;const _0x56dcf4=_0x41d7ca['modelRange']['start']['nodeAfter'];_0x56dcf4['hasAttribute']('vid_start')||_0x56dcf4['hasAttribute']('vid')||(_0x1f7e3c['writer']['setAttribute']('vid_start',_0x41d7ca['viewItem']['getAttribute']('vid_start'),_0x56dcf4),_0x1f7e3c['writer']['setAttribute']('vid_end',_0x41d7ca['viewItem']['getAttribute']('vid_end'),_0x56dcf4));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x475633=>_0x475633['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x4fc53a,[,_0x1ace12])=>{['vid_start','vid_end','vid']['includes'](_0x1ace12)&&(_0x4fc53a['return']=!0x0,_0x4fc53a['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x10341b=>{_0x10341b['on']('attribute:vid',(_0xdc8d4f,_0x1c2030,_0x14f4b0)=>{if('\x20'!=_0x1c2030['item']['data']||_0x1c2030['item']['parent']['maxOffset']>0x1)return;if(!_0x14f4b0['consumable']['consume'](_0x1c2030['item'],_0xdc8d4f['name']))return;const _0x13d8e9=_0x14f4b0['writer'],_0xdee074=_0x14f4b0['mapper']['toViewRange'](_0x1c2030['range']);_0x13d8e9['wrap'](_0xdee074,_0x13d8e9['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x43d06d){const _0x120c74=_0x43d06d['plugins']['get']('RevisionViewer');return(_0x2d6bcd,_0x26422b,_0x503f8a)=>{const _0x36b517=_0x26422b['markerName']['split'](':')[0x1],_0x4837a3=_0x120c74['_getChangeFromId'](_0x36b517);if(!_0x4837a3)return null;const _0x2e421f='add'==_0x4837a3['type']?'split':'merge';if(!_0x503f8a['consumable']['test'](_0x26422b['markerRange'],_0x2d6bcd['name']))return;const _0x4428bd=_0x26422b['markerRange']['getWalker'](),_0x57e3be=_0x26422b['markerRange']['start'],_0x57c4d5=_0x43d06d['model']['schema'];let _0x56d6f9=null,_0x101ea8=null,_0x25a2c9=!0x1,_0x4f5398=!0x1;for(const _0x96c0f4 of _0x4428bd){const _0x33905a=_0x96c0f4['item'];_0x25a2c9=_0x25a2c9||_0x57c4d5['isContent'](_0x33905a);const _0x583890=_0x503f8a['mapper']['toViewElement'](_0x33905a);if(_0x583890&&_0x583890['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x96c0f4['type']&&(_0x57c4d5['isBlock'](_0x33905a)&&!_0x57c4d5['isLimit'](_0x33905a)&&(_0x33905a['nextSibling']||_0x57e3be['isAtEnd']?_0x56d6f9&&_0x56d6f9['parent']==_0x33905a||(_0x56d6f9=_0x33905a,_0x48b785(_0x96c0f4['previousPosition']),_0x4f5398=!0x0):_0x101ea8=_0x101ea8||_0x96c0f4['previousPosition']));}function _0x48b785(_0x1bc5e5){const _0x1968ea=_0x503f8a['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x2e421f}),_0x577795=_0x503f8a['mapper']['toViewPosition'](_0x1bc5e5);_0x4837a3['data']['isSuggestion']&&_0x503f8a['writer']['addClass']('ck-suggestion-marker-'+_0x2e421f+'-new',_0x1968ea),_0x120c74['activeChange']==_0x4837a3&&_0x503f8a['writer']['addClass']('ck-suggestion-marker--active',_0x1968ea),_0x503f8a['writer']['insert'](_0x577795,_0x1968ea),_0x503f8a['mapper']['bindElementToMarker'](_0x1968ea,_0x26422b['markerName']);}_0x25a2c9||_0x4f5398||!_0x101ea8||_0x48b785(_0x101ea8);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x49225f,_0x4550eb,_0xfb0116)=>{const _0xce2c37=_0xfb0116['mapper']['markerNameToElements'](_0x4550eb['markerName']);if(_0xce2c37){for(const _0x14f976 of _0xce2c37)(_0x14f976['hasClass']('ck-suggestion-marker-split')||_0x14f976['hasClass']('ck-suggestion-marker-merge'))&&(_0xfb0116['mapper']['unbindElementFromMarkerName'](_0x14f976,_0x4550eb['markerName']),_0xfb0116['writer']['remove'](_0x14f976));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x1d54d1,_0x50cc6b,_0x3e9094)=>{const _0x3ee43b=_0x50cc6b['markerName']['split'](':')[0x1],_0x575411=this['_getChangeFromId'](_0x3ee43b);if(!_0x575411)return null;const _0x16d228='add'==_0x575411['type']?'split':'merge';if(_0x3e9094['consumable']['test'](_0x50cc6b['markerRange'],_0x1d54d1['name']))for(const _0x3b2778 of _0x50cc6b['markerRange']['getItems']()){if(!_0x3b2778['is']('element','softBreak'))continue;const _0x2c9f23=_0x3e9094['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x16d228}),_0x2226a0=_0x3e9094['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x3b2778));_0x575411['data']['isSuggestion']&&_0x3e9094['writer']['addClass']('ck-suggestion-marker-'+_0x16d228+'-new',_0x2c9f23),this['activeChange']==_0x575411&&_0x3e9094['writer']['addClass']('ck-suggestion-marker--active',_0x2c9f23),_0x3e9094['writer']['insert'](_0x2226a0,_0x2c9f23),_0x3e9094['mapper']['bindElementToMarker'](_0x2c9f23,_0x50cc6b['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0xea0d58=>{for(const _0x16c49c of this['editor']['model']['document']['getRootNames']()){const _0x3c7e65=this['editor']['model']['document']['getRoot'](_0x16c49c),_0x1e415f=this['editor']['editing']['view']['document']['getRoot'](_0x16c49c);if(_0x1e415f){const _0xb45a7d=_0x3c7e65['getAttribute']('revisionHistoryAttachChange');if(_0xea0d58['removeAttribute']('data-change-id',_0x1e415f),_0xea0d58['removeClass']('ck-revision-history-root-add',_0x1e415f),_0xea0d58['removeClass']('ck-revision-history-root-remove',_0x1e415f),_0xea0d58['removeClass']('ck-revision-history-root--active',_0x1e415f),_0xb45a7d){const _0x29620b=this['_getChangeFromId'](_0xb45a7d);if(!_0x29620b)return null;_0xea0d58['setAttribute']('data-change-id',_0xb45a7d,_0x1e415f),_0xea0d58['addClass']('ck-revision-history-root-'+_0x29620b['type'],_0x1e415f),this['activeChange']==_0x29620b&&_0xea0d58['addClass']('ck-revision-history-root--active',_0x1e415f);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x2af76a=>'revision-comment:'+_0x2af76a,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x463250=>'revision-suggestion:'+_0x463250,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x7f2b8f=>({'name':'suggestion:'+_0x7f2b8f,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x43c209=>{const _0x1977c3=_0x43c209['markerName']['split'](':')[0x1];return'insertion'!=_0x1977c3&&'deletion'!=_0x1977c3?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1977c3]};}}),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',(_0x108a85,_0x262e9f,_0x27f7ea)=>{const _0xbc52cb=_0x27f7ea['mapper']['markerNameToElements'](_0x262e9f['markerName']);if(_0xbc52cb){for(const _0x1e3b30 of _0xbc52cb)_0x1e3b30['is']('uiElement')&&(_0x27f7ea['mapper']['unbindElementFromMarkerName'](_0x1e3b30,_0x262e9f['markerName']),_0x27f7ea['writer']['remove'](_0x1e3b30));}},{'priority':'high'});}['_getChangeFromId'](_0x4c8c26){return this['_changeIdToChange']['get'](_0x4c8c26);}['_getViewForChange'](_0xd51392){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0xd51392),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x4cdf2d,_0x43d2f2,_0x161b57,_0x4c59b7)=>{_0x4c59b7&&this['_balloon']['remove'](_0x4c59b7),_0x161b57&&(this['_balloon']['add']({'view':_0x161b57,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0xf3e517=this['editor']['editing'],_0x47d13c=this['_getChangeFromId'](_0x161b57['changeId']);let _0x2a8c92;if(_0x47d13c['data']['isOnRoot']){const _0x864645=_0xf3e517['view']['getDomRoot'](_0x47d13c['rootName']);_0x2a8c92=Array['from'](_0x864645['getClientRects']());}else{const _0x6d3849=this['editor']['model']['markers']['get']('revision:'+_0x161b57['changeId']);_0x2a8c92=Array['from'](_0xf3e517['mapper']['markerNameToElements'](_0x6d3849['name']))['map'](_0x5b60a9=>_0xf3e517['view']['domConverter']['mapViewToDom'](_0x5b60a9))['map'](_0x1551f5=>Array['from'](_0x1551f5['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x2a8c92[0x0];return _0x2a8c92['find'](_0x18c15f=>_0x18c15f['top']-0x3<=this['_activeViewTarget']['y']&&_0x18c15f['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x18c15f['left']-0x3<=this['_activeViewTarget']['x']&&_0x18c15f['right']+0x3>=this['_activeViewTarget']['x'])||_0x2a8c92[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x5d6eec,_0x13226b,_0x42556c,_0x25f83a)=>{this['activeView']=_0x42556c?this['_getViewForChange'](_0x42556c):null,this['editor']['model']['change'](()=>{const _0x3e1449=this['editor']['editing'];_0x25f83a&&(_0x25f83a['data']['isOnRoot']?_0x3e1449['view']['change'](_0xadbd50=>{_0xadbd50['removeClass']('ck-revision-history-root--active',_0x3e1449['view']['document']['getRoot'](_0x25f83a['rootName']));}):_0x3e1449['reconvertMarker']('revision:'+_0x25f83a['id'])),_0x42556c&&(_0x42556c['data']['isOnRoot']?_0x3e1449['view']['change'](_0xec6c2=>{_0xec6c2['addClass']('ck-revision-history-root--active',_0x3e1449['view']['document']['getRoot'](_0x42556c['rootName']));}):_0x3e1449['reconvertMarker']('revision:'+_0x42556c['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x128912,_0x1c4336)=>{if(this['activeChange'])return;const _0xd96c47=this['_findChangeIdFromDomTarget'](_0x1c4336['target']),_0x46cd90=this['_changeIdToChange']['get'](_0xd96c47);_0x46cd90?(this['_activeViewTarget']={'x':_0x1c4336['domEvent']['x'],'y':_0x1c4336['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x46cd90)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x3ce748,_0x1292ab)=>{const _0x247c4b=this['_findChangeIdFromDomTarget'](_0x1292ab['target']),_0x5c980d=this['_changeIdToChange']['get'](_0x247c4b);_0x5c980d?(this['_activeViewTarget']={'x':_0x1292ab['domEvent']['x'],'y':_0x1292ab['domEvent']['y']},_0x5c980d===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x5c980d):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x592895){do{const _0x434d40=_0x592895['getAttribute']('data-change-id');if(_0x434d40)return _0x434d40;_0x592895=_0x592895['parent'];}while(_0x592895);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x4c246e=>{for(const _0x4b3f90 of this['editor']['model']['markers'])_0x4c246e['removeMarker'](_0x4b3f90);});}constructor(_0x1934ba){super(_0x1934ba),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',(_0x566028,_0x454d23,_0x45f662)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x5d205a=>{for(const _0x24ae94 of this['editor']['editing']['view']['document']['roots'])_0x45f662?_0x5d205a['removeClass']('ck-editor__editable__overlay',_0x24ae94):_0x5d205a['addClass']('ck-editor__editable__overlay',_0x24ae94);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x4c7d82=>null!==_0x4c7d82),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x30f5b0,_0xb5b081,_0x5a0c6d)=>_0x30f5b0&&_0x5a0c6d?_0xb5b081['changes']['getIndex'](_0x5a0c6d):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0xce5a4a,_0x4aa21e)=>_0xce5a4a?_0x4aa21e['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x25cc9c);}}function et(_0x40ffd5,_0x25481e){return(_0x95b15b,_0xd0263b,_0x2f6a5f)=>{if(!_0x2f6a5f['consumable']['test'](_0xd0263b['markerRange'],_0x95b15b['name']))return;const _0x18b674=_0xd0263b['markerRange']['getWalker'](),_0x29e18a=_0xd0263b['markerRange']['start'],_0x206e64=_0x40ffd5['model']['schema'];let _0x5b4fd0=null,_0x14edb0=null,_0xe7922f=!0x1,_0x25b6ce=!0x1;for(const _0xb667f0 of _0x18b674){const _0x4cb1e3=_0xb667f0['item'];_0xe7922f=_0xe7922f||_0x206e64['isContent'](_0x4cb1e3);const _0x43ee3a=_0x2f6a5f['mapper']['toViewElement'](_0x4cb1e3);if(_0x43ee3a&&_0x43ee3a['getCustomProperty']('addHighlight'))return;'elementEnd'==_0xb667f0['type']&&(_0x206e64['isBlock'](_0x4cb1e3)&&!_0x206e64['isLimit'](_0x4cb1e3)&&(_0x4cb1e3['nextSibling']||_0x29e18a['isAtEnd']?_0x5b4fd0&&_0x5b4fd0['parent']==_0x4cb1e3||(_0x5b4fd0=_0x4cb1e3,_0x8f5760(_0xb667f0['previousPosition']),_0x25b6ce=!0x0):_0x14edb0=_0x14edb0||_0xb667f0['previousPosition']));}function _0x8f5760(_0x4d719b){const _0x37b497=_0x2f6a5f['mapper']['toViewPosition'](_0x4d719b),_0x505bee=_0x2f6a5f['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x25481e});_0x2f6a5f['writer']['insert'](_0x37b497,_0x505bee),_0x2f6a5f['mapper']['bindElementToMarker'](_0x505bee,_0xd0263b['markerName']);}_0xe7922f||_0x25b6ce||!_0x14edb0||_0x8f5760(_0x14edb0);};}class bt extends _0x413299{['execute'](){const _0x19c6b4=this['editor'],_0x2a0c69=_0x19c6b4['plugins']['get'](d),_0x55dc1b=_0x2a0c69['isReady']?_0x2a0c69['diff']['newRevisionId']:null;_0x19c6b4['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x55dc1b);}['refresh'](){const {isReady:_0x5a2a4f,isEnabled:_0x8c767a}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x5a2a4f&&_0x8c767a;}constructor(_0x52feca){super(_0x52feca);const _0x39fd49=_0x52feca['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x39fd49,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x39fd49,'change:isEnabled',()=>this['refresh']());}}class Rt extends _0x413299{['execute'](){const _0x3ab664=this['editor'],_0x320956=_0x3ab664['plugins']['get'](d),{isNavigationMode:_0x28c076,currentChangeNumber:_0x58c17d}=_0x320956;let _0xedf344;if(_0x320956['activeChange']=_0x28c076?_0x320956['diff']['changes']['get'](_0x58c17d+this['_step']):_0x320956['diff']['changes']['first'],_0x320956['activeChange']['data']['isOnRoot'])_0xedf344=_0x3ab664['editing']['view']['getDomRoot'](_0x320956['activeChange']['rootName']);else{const _0x2e6db6=_0x3ab664['model']['markers']['get']('revision:'+_0x320956['activeChange']['id']);_0xedf344=_0x343537(_0x3ab664['editing'],_0x2e6db6);}_0x43befe({'target':_0xedf344,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x294b35,currentChangeNumber:_0xd68809,numberOfChanges:_0x54ac56,isReady:_0x3a712c,isEnabled:_0x2ccd13}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x2ccd13&&_0x3a712c&&_0x54ac56)&&(!_0x294b35||(0x1===this['_step']?_0xd68809<_0x54ac56-0x1:_0xd68809>0x0));}constructor(_0x84f76a,{direction:_0x161207}){super(_0x84f76a);const _0x5f45ac=_0x84f76a['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x161207?0x1:-0x1,this['listenTo'](_0x5f45ac,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x5f45ac,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x5f45ac,'change:activeChange',()=>this['refresh']());}}class _i extends _0x381698{constructor(_0x4ac4ae){super(_0x4ac4ae);const _0x134eaf=this['bindTemplate'],_0x13884a=new _0x2bbd3d(_0x4ac4ae),_0x4e0a45=new _0x2bbd3d(_0x4ac4ae);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',(_0x437f1f,_0x163f9a)=>_0x437f1f&&_0x163f9a>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x316cde,_0x2e61b6,_0x282b1b,_0x350719)=>{if(!_0x316cde)return y(_0x4ac4ae,'Loading...');if(!_0x282b1b)return y(_0x4ac4ae,'No\x20changes');const _0xe9d54e=y(_0x4ac4ae,'NUMBER_OF_CHANGES',_0x282b1b);return _0x350719?y(_0x4ac4ae,'X_OF_Y_CHANGES',[_0x2e61b6+0x1,_0x282b1b]):_0xe9d54e;}),_0x13884a['set']({'label':y(_0x4ac4ae,'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'}),_0x4e0a45['set']({'label':y(_0x4ac4ae,'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'}),_0x13884a['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x4e0a45['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x13884a['on']('execute',()=>this['fire']('execute','backward')),_0x4e0a45['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',_0x134eaf['if']('_isStatusLabelVisible','ck-hidden',_0x27d370=>!_0x27d370)]},'children':[{'text':_0x134eaf['to']('isNavigationMode',_0xa50079=>_0xa50079?y(_0x4ac4ae,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4ac4ae,'Total')+':\x20')}]},{'text':_0x134eaf['to']('_statusText')}]},new _0x49774d(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x13884a,_0x4e0a45]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x3fe8e5{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x2a3c7f=this['editor']['editing']['view'];_0x2a3c7f['change'](_0x4e1e0d=>{for(const _0x170e0d of _0x2a3c7f['document']['roots'])_0x4e1e0d['addClass'](ce,_0x170e0d);});}['hide'](){const _0x25a262=this['editor']['editing']['view'];_0x25a262['change'](_0x3178c0=>{for(const _0x4a6a99 of _0x25a262['document']['roots'])_0x3178c0['removeClass'](ce,_0x4a6a99);});}}class R extends _0x3fe8e5{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x57636f=this['editor'],_0x33f11b=_0x57636f['plugins']['get'](d),_0x4fcfeb=_0x57636f['plugins']['get'](de);_0x57636f['ui']['componentFactory']['add']('exitToEditing',_0x1221d8=>{const _0x46162f=new _0x2bbd3d(_0x1221d8);return _0x46162f['set']({'label':y(_0x1221d8,'Back\x20to\x20editing'),'icon':_0x132edd['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x46162f,'execute',()=>{_0x57636f['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x46162f;}),_0x57636f['ui']['componentFactory']['add']('restoreRevision',_0x513d32=>{const _0x23d77e=new _0x2bbd3d(_0x513d32);return _0x23d77e['set']({'label':y(_0x513d32,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x23d77e['bind']('isEnabled')['to'](_0x57636f['commands']['get']('restoreRevision')),this['listenTo'](_0x23d77e,'execute',()=>_0x57636f['execute']('restoreRevision')),_0x23d77e;}),_0x57636f['ui']['componentFactory']['add']('changesNavigation',_0x3603f6=>{const _0x53d9a8=new _i(_0x3603f6),_0x1bd7e6=_0x57636f['commands']['get']('showPreviousChange'),_0x39d88b=_0x57636f['commands']['get']('showNextChange');return _0x53d9a8['bind']('isBackwardNavigationEnabled')['to'](_0x1bd7e6,'isEnabled'),_0x53d9a8['bind']('isForwardNavigationEnabled')['to'](_0x39d88b,'isEnabled'),_0x53d9a8['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x33f11b),this['listenTo'](_0x53d9a8,'execute',(_0xbf4069,_0xba26f0)=>{_0x57636f['execute']('forward'===_0xba26f0?'showNextChange':'showPreviousChange');}),_0x53d9a8;}),_0x4fcfeb['show'](),_0x33f11b['on']('change:isReady',(_0x2e2063,_0x324b29,_0x49d152)=>{_0x49d152?_0x4fcfeb['hide']():_0x4fcfeb['show']();});}}class vt extends mt{['render'](){super['render'](),this['_resizeObserver']=new kt(this['fieldView']['element'],()=>this['_updateTooltipText']()),this['listenTo'](this['fieldView'],'input',()=>this['_updateTooltipText']());}['destroy'](){super['destroy'](),this['_resizeObserver']&&this['_resizeObserver']['destroy']();}['_updateTooltipText'](){const _0x10ee82=this['fieldView']['element'];this['_tooltipString']=_0x10ee82['scrollWidth']>_0x10ee82['clientWidth']&&_0x10ee82['value']||'';}constructor(_0x3f5175,_0x3e162c){super(_0x3f5175,_0x3e162c),this['_resizeObserver']=null;const _0x4ba376=this['bindTemplate'];this['set']({'label':y(_0x3f5175,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3f5175,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x4ba376['to']('_tooltipString'),'data-cke-tooltip-position':'s','data-cke-tooltip-class':'ck-tooltip_multi-line'}});}}class ti extends _0x381698{constructor(_0x16a9e7,_0x1fc341,_0x4d4a44){super(_0x16a9e7);const _0x12ef8d=new _0x26af09();_0x12ef8d['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 _0x32efdd=['ck','ck-revision-history-sidebar__revision-author'];_0x4d4a44&&_0x32efdd['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3d30b4=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x16a9e7,_0x4d4a44?'Revision\x20creator':'Revision\x20author')},'children':[_0x12ef8d,_0x1fc341['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x32efdd},'children':_0x3d30b4});}}function ni(_0x48065,_0x1bf402){const _0xb85b7a=_0x48065['bindTemplate'],_0x3cd0e1=_0x48065['locale'],_0x3864d6=_0x1adbd1(_0x3cd0e1);_0x3864d6['panelPosition']='sw';const _0x1a7ad4=function(_0x14868d,_0x3c0216){const _0x4980b0=function(_0xa68bd4,_0x2b0c9e){const _0x2eb4dd=_0xa68bd4['locale'],_0x3b5bbe={'Compare\x20against\x20selected':y(_0x2eb4dd,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x2eb4dd,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x2eb4dd,'Restore\x20this\x20revision')};return _0x2b0c9e['map'](_0x2a8a44=>{const _0x12a707=_0x3b5bbe[_0x2a8a44['name']];return _0x12a707&&_0x12a707!==_0x2a8a44['name']&&(_0x2a8a44['name']=_0x12a707),_0x2a8a44;});}(_0x14868d,_0x3c0216),_0x1095f1=new _0xacebb8();for(const _0x33b340 of _0x4980b0){const _0x399dcc={'type':'button','model':new to({'label':_0x33b340['name'],'class':_0x33b340['class'],'withText':!0x0,'role':'menuitem','_action':_0x33b340['action']})};_0x399dcc['model']['bind']('isEnabled')['to'](_0x14868d,'isActionsDropdownOpen',_0x48f7ae=>'function'!=typeof _0x33b340['isEnabled']||(!_0x48f7ae||_0x33b340['isEnabled'](_0x14868d))),_0x1095f1['add'](_0x399dcc);}return _0x1095f1;}(_0x48065,_0x1bf402);return _0x48065['bind']('isActionsDropdownOpen')['to'](_0x3864d6,'isOpen'),_0x3864d6['buttonView']['set']({'label':y(_0x3cd0e1,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x132edd['threeVerticalDots']}),_0x3864d6['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0xb85b7a['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0xb85b7a['to'](_0x2aefcc=>_0x2aefcc['stopPropagation']())}}),_0x3864d6['on']('execute',_0x39b759=>{_0x48065['isReady']&&'function'==typeof _0x39b759['source']['_action']&&_0x39b759['source']['_action'](_0x48065);}),_0x406ec9(_0x3864d6,_0x1a7ad4,{'role':'menu'}),_0x3864d6['listenTo'](_0x48065,'change:isActionsDropdownOpen',(_0xcfc44d,_0x34d201,_0xa71977)=>{if(_0xa71977)for(const _0x43b00f of _0x3864d6['listView']['items']){const _0xd9e9e9=_0x43b00f['children']['first'],_0x56b817=_0x1bf402['find'](_0x3a8613=>_0x3a8613['action']===_0xd9e9e9['_action'])['isVisible'];_0x43b00f['isVisible']=void 0x0===_0x56b817||_0x56b817(_0x48065);}}),_0x3864d6;}class ai extends _0x3a856d(_0x381698){['render'](){super['render']();const _0x4e3cb8=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x4e3cb8,'change',()=>{this['_requireRevisionName']&&!_0x4e3cb8['value']||this['fire']('setName',{'id':this['id'],'name':_0x4e3cb8['value']}),_0x4e3cb8['value']||(_0x4e3cb8['value']=this['name']?this['name']:this['_createdAtFormatted']);});}['select'](){this['isSelected']=!0x0;}['deselect'](){this['isSelected']=!0x1;}['highlight'](){this['isHighlighted']=!0x0;}['unhighlight'](){this['isHighlighted']=!0x1;}constructor(_0xc2c0da,_0x53eaa9,_0x570efb,_0x1e08f3){super(_0xc2c0da);const _0x3898b5=this['bindTemplate'],_0x16fd72=function(_0x3a63cc,_0x53b24f){const _0x594ec9=Array['from'](_0x53b24f['authors'])['filter'](_0x4536ef=>_0x4536ef!=_0x53b24f['creator']);return _0x53b24f['creator']&&_0x594ec9['unshift'](_0x53b24f['creator']),_0x594ec9['map'](_0x3edf12=>new ti(_0x3a63cc,_0x3edf12,_0x3edf12==_0x53b24f['creator']));}(_0xc2c0da,_0x53eaa9);this['id']=_0x53eaa9['id'],this['_revision']=_0x53eaa9,this['_requireRevisionName']=_0x1e08f3,this['bind']('name','createdAt')['to'](_0x53eaa9),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x40eecf=>{return _0x2fcc57=_0xc2c0da['uiLanguage'],(_0x30b8d0=_0x40eecf)['toLocaleDateString'](_0x2fcc57,{'month':'long','day':'numeric'})+',\x20'+_0x30b8d0['toLocaleTimeString'](_0x2fcc57,{'hour':'numeric','minute':'numeric'});var _0x2fcc57,_0x30b8d0;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new vt(_0xc2c0da,_0x1132ee),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x60e988=>_0x60e988||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x36f1b0,_0x23cb89)=>_0x36f1b0&&_0x23cb89),this['revisionActionsView']=_0x570efb&&_0x570efb['length']?ni(this,_0x570efb):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x3898b5['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x3898b5['if']('isEnabled','ck-disabled',_0x4cb43b=>!_0x4cb43b),_0x3898b5['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x3898b5['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x3898b5['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':_0x3898b5['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':_0x16fd72}]},this['revisionActionsView']],'on':{'click':_0x3898b5['to'](_0x12e09c=>{_0x12e09c['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}}function di(_0x3d0fc1,_0x4569b5){const _0x157757=_0x4095c7['fromJSDate'](_0x3d0fc1)['setLocale'](_0x4569b5),_0x1f739a=_0x4095c7['local'](),_0x73dfc2=_0x1f739a['minus']({'days':0x1})['startOf']('day');let _0x30b4bd,_0xa98306;return _0x157757['hasSame'](_0x1f739a,'day')?(_0x30b4bd=_0x157757['startOf']('day')['toJSDate'](),_0xa98306=_0x157757['toRelativeCalendar']()):_0x157757['hasSame'](_0x73dfc2,'day')?(_0x30b4bd=_0x73dfc2['toJSDate'](),_0xa98306=_0x157757['toRelativeCalendar']()):_0x157757['hasSame'](_0x1f739a,'week')?(_0x30b4bd=_0x157757['startOf']('week')['toJSDate'](),_0xa98306=_0x157757['weekdayLong']||''):_0x157757['hasSame'](_0x1f739a,'year')?(_0x30b4bd=_0x157757['startOf']('month')['toJSDate'](),_0xa98306=_0x157757['monthLong']||''):(_0x30b4bd=_0x157757['startOf']('year')['toJSDate'](),_0xa98306=String(_0x157757['year'])),{'startDate':_0x30b4bd,'localizedPeriodName':_0xa98306};}class mi extends _0x381698{['addRevision'](_0x21e55b){const _0x53578a=new ai(this['locale'],_0x21e55b,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x53578a);}['removeRevision'](_0x2873db){const _0x5584b0=this['revisionViews']['find'](_0x1b1158=>_0x1b1158['id']===_0x2873db['id']);this['revisionViews']['remove'](_0x5584b0);}constructor(_0x531218,_0x35898a,_0x5256aa,_0x20932a){super(_0x531218);const _0x3fd5ba=di(_0x35898a,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x35898a,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x5256aa,this['_requireRevisionName']=_0x20932a,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':_0x3fd5ba}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}}class as extends _0x381698{constructor(_0x3bd56d){super(_0x3bd56d);const _0x41d082=new _0x26af09();_0x41d082['content']=_0x132edd['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0x41d082,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x3bd56d,'Revision\x20history')]}]});}}class ci extends _0x381698{['render'](){super['render']();for(const _0x596b0f of this['_revisions'])this['_addRevision'](_0x596b0f);this['_revisions']['on']('add',(_0x5759de,_0x36379c)=>{this['_addRevision'](_0x36379c);}),this['_revisions']['on']('remove',(_0x37ce58,_0x542d39)=>{this['_removeRevision'](_0x542d39);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2a5355=>_0x2a5355['revisionViews']['map'](_0x5c318d=>_0x5c318d))['flat']();}['selectRevision'](_0x126094){for(const _0x4f1c5c of this['revisionViews'])_0x126094&&_0x126094['id']===_0x4f1c5c['id']?_0x4f1c5c['select']():_0x4f1c5c['deselect']();}['highlightRevisions'](_0x4b8823){for(const _0x5554b7 of this['revisionViews'])_0x4b8823['some'](({id:_0x5c8c76})=>_0x5c8c76===_0x5554b7['id'])?_0x5554b7['highlight']():_0x5554b7['unhighlight']();}['_addRevision'](_0x1c161f){const _0x4d71a6=di(_0x1c161f['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x3934c0=this['timePeriodViews']['get'](0x0);_0x3934c0&&_0x3934c0['startDate']['getTime']()===_0x4d71a6['getTime']()||(_0x3934c0=new mi(this['locale'],_0x4d71a6,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x3934c0)),_0x3934c0['addRevision'](_0x1c161f);}['_removeRevision'](_0x1f5dfd){const _0x12300d=di(_0x1f5dfd['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x12300d)['removeRevision'](_0x1f5dfd);}['_getTimePeriodViewByStartDate'](_0x5f0f8e){return this['timePeriodViews']['find'](_0x7887bc=>_0x7887bc['startDate']['getTime']()===_0x5f0f8e['getTime']());}constructor(_0x19a8da,_0x5c446b,_0x5e1a69,_0x19c4e9){super(_0x19a8da);const _0x1c20ea=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x5c446b,this['_revisionActions']=_0x5e1a69,this['_requireRevisionName']=_0x19c4e9,this['on']('select',(_0x6595da,_0x438106)=>{this['fire']('revisionSelected',_0x438106);}),this['on']('setName',(_0x526cb5,_0x44696a)=>{this['fire']('revisionSetName',_0x44696a);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x19a8da),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x1c20ea['if']('isEnabled','ck-disabled',_0x5a393b=>!_0x5a393b)]},'children':this['timePeriodViews']}]});}}class w extends _0x3fe8e5{static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}['init'](){const _0x168e12=this['_revisionsRepository']['_revisions'],_0x17fe9f=this['_createRevisionActions'](),_0x1ffd5f=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x168e12,_0x17fe9f,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',(_0x2c9df8,_0x475b31)=>{_0x475b31['revisionViews']['on']('add',(_0x48836a,_0x4400c1)=>{_0x4400c1['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)),_0x1ffd5f['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x55422f=this['_revisionsRepository']['getRevision'](0x0);if(_0x55422f){const _0x407e53=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x55422f['id']);this['_revisionViewer']['compare'](_0x55422f,_0x407e53);}}['_handleRevisionSelected'](_0x11c89f,_0x29b8a4){const _0x592b83=this['_revisionsRepository']['getRevision'](_0x29b8a4['id']),_0x16dfdc=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x592b83['id']);this['_revisionViewer']['compare'](_0x592b83,_0x16dfdc);}['_handleRevisionSetName'](_0xbe1d3b,_0x5546be){this['_revisionsRepository']['getRevision'](_0x5546be['id'])['setName'](_0x5546be['name']);}['_handleDiffChange'](_0xc17f7d,_0x5dff65,_0x2aeb35){const _0x19baa2=this['_revisionsRepository']['getRevisionsInDiff'](_0x2aeb35);_0x19baa2['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x19baa2),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x19baa2[0x0]));}['_createRevisionActions'](){const _0x31b87d=this['editor'],_0x53016c=w['availableRevisionActions'],_0x403da5=_0x31b87d['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x403da5['length'])return _0x403da5['map'](_0x2141ed=>{const _0x502840='string'==typeof _0x2141ed?Object['assign']({},_0x53016c[_0x2141ed]):_0x2141ed;return _0x502840['action']=_0x502840['action']['bind'](this,_0x31b87d),_0x502840['isVisible']&&(_0x502840['isVisible']=_0x502840['isVisible']['bind'](this,_0x31b87d)),_0x502840;});}constructor(_0x10734f){super(_0x10734f),this['_revisionViewer']=_0x10734f['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}}w['availableRevisionActions']={'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x177513},_0x30f54d)=>{const _0x3cba9b=_0x177513['get'](d),_0x29d00f=_0x3cba9b['repository'];let _0x4e6759=_0x3cba9b['diff']['newRevisionId'],_0xdec2a4=_0x30f54d['id'];_0x29d00f['getIndex'](_0x4e6759)>_0x29d00f['getIndex'](_0xdec2a4)&&([_0x4e6759,_0xdec2a4]=[_0xdec2a4,_0x4e6759]),_0x3cba9b['compare'](_0x4e6759,_0xdec2a4);},'isVisible':({plugins:_0x541fe4},_0x387fd1)=>{const _0x40f3fa=_0x541fe4['get'](d);return!(_0x40f3fa['repository']['getRevisionsInDiff'](_0x40f3fa['diff'])['length']>0x2)&&!_0x387fd1['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x3b6297,{id:_0x1f01c6})=>{_0x3b6297['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1f01c6);},'isVisible':({plugins:_0x1dd379},_0x3d3953)=>!!_0x1dd379['get'](d)['repository']['getLaterVisibleRevision'](_0x3d3953['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x3068fb},{id:_0x2e4128,revisionNameView:_0x4e223a})=>{const _0x27692f=_0x3068fb['get'](d),_0x1c3812=_0x27692f['repository']['getEarlierVisibleRevision'](_0x2e4128);_0x27692f['compare'](_0x2e4128,_0x1c3812),_0x4e223a['focus'](),_0x4e223a['fieldView']['select']();}}},w['defaultRevisionActions']=['compareAgainstSelected','restoreRevision','nameRevision'];class ot extends ht{get['view'](){return this['_view'];}get['element'](){return this['view']['element'];}['init'](_0x5d0bf3){const _0x38054e=this['editor'],_0x2d8124=this['view'],_0x48cc85=_0x38054e['editing']['view'],_0xa240e2=_0x2d8124['editable'],_0x4e30c0=_0x48cc85['document']['getRoot']();_0xa240e2['name']=_0x4e30c0['rootName'],_0x2d8124['render']();const _0x312adc=_0xa240e2['element'];this['setEditableElement'](_0xa240e2['name'],_0x312adc),_0x2d8124['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x48cc85['attachDomRoot'](_0x312adc),this['_elementReplacer']['replace'](_0x5d0bf3,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x3589fe=this['view'],_0x1e8da8=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x1e8da8['detachDomRoot'](_0x3589fe['editable']['name']),_0x3589fe['destroy']();}['_initToolbar'](){const _0x10d450=this['view'];_0x10d450['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x10d450['stickyPanel']['limiterElement']=_0x10d450['element'],_0x10d450['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x289b9f})=>_0x289b9f),_0x10d450['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x10d450['toolbar']);}constructor(_0x2371a8,_0x28b4f6){super(_0x2371a8),this['_view']=_0x28b4f6,this['_toolbarConfig']=ct(_0x2371a8['config']['get']('toolbar')),this['_elementReplacer']=new nt();}}class at extends dt{get['editable'](){return this['_editable'];}['render'](){super['render'](),this['stickyPanel']['content']['add'](this['toolbar']),this['top']['add'](this['stickyPanel']),this['main']['add'](this['editable']);}constructor(_0x30a155,_0x67785f,_0x58a29c={}){super(_0x30a155),this['stickyPanel']=new lt(_0x30a155),this['toolbar']=new pt(_0x30a155,{'shouldGroupWhenFull':_0x58a29c['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x30a155,_0x67785f);}}class m extends rt(st(it)){get['ui'](){return this['_ui'];}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x27a06c,_0x38e775){const _0x37b9cb=new this(_0x27a06c,_0x38e775);return await _0x37b9cb['initPlugins'](),await _0x37b9cb['ui']['init'](_0x27a06c),await _0x37b9cb['data']['init'](_0x37b9cb['config']['get']('initialData')||''),_0x37b9cb['fire']('ready'),_0x37b9cb;}constructor(_0x607592,_0xb4a1d6){super(_0xb4a1d6),this['sourceElement']=_0x607592,this['model']['document']['createRoot']();const _0x3cc822=new at(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new ot(this,_0x3cc822);}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x3fe8e5{static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x307f24){super(_0x307f24),this['result']='end';}}class H extends _0x3fe8e5{static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}set['adapter'](_0xa9862b){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0xa9862b;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x1f4221){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x1f4221);}['getRevision'](_0x41170c){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x41170c);}['getRevisions'](_0x139c21={'toJSON':!0x1}){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x139c21);}['_getRevisionViewerEditorConfig'](){const _0x2dd059=this['editor'],_0x3bea0b=_0x231c1c(_0x2dd059,p),_0x2477c5=_0x2dd059['plugins']['get']('RevisionTracker'),_0x15d2e7=_0x2dd059['plugins']['get']('Users')['users'];return _0x3bea0b['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x3bea0b['lazyRoots'],(_0x3bea0b['plugins']['push'](k,d,R,class extends _0x3fe8e5{static get['requires'](){return[d,'Users'];}['init'](){const _0x1ade8f=this['editor']['plugins']['get']('Users');for(const _0x295992 of _0x15d2e7)_0x295992['isAnonymous']||_0x1ade8f['getUser'](_0x295992['id'])||_0x1ade8f['addUser'](_0x295992);const _0x4a3316=_0x2477c5['repository']['getRevisions']();let _0x45079d=null;const _0x42cdf3=this['editor']['plugins']['get']('RevisionViewer');_0x42cdf3['adapter']=_0x2477c5['adapter'],_0x42cdf3['bind']('isEnabled')['to'](_0x2477c5),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x2dd059,'isReadOnly',_0x4d4b44=>!_0x4d4b44);for(const _0x35cbe9 of _0x4a3316){const _0x49e2a6=null===_0x35cbe9['creator'];if(_0x49e2a6&&_0x35cbe9['toVersion']===_0x35cbe9['fromVersion'])continue;const _0x2ba1eb=_0x35cbe9['toJSON']();_0x42cdf3['addRevisionData'](_0x2ba1eb,(_0x51bbc9,_0x1c8a0b,_0x30ebe2)=>{if(_0x49e2a6){if(_0x45079d)_0x45079d['_update'](_0x51bbc9,_0x1c8a0b);else{if(!_0x1c8a0b){const _0x2d7581=_0x30ebe2['toJSON']();_0x2d7581['id']=_0x5e2995(),_0x2477c5['saveRevision'](_0x2d7581,_0x30ebe2['toVersion'])['then'](_0x14014c=>{_0x45079d=_0x14014c;});}}}else _0x35cbe9['_update'](_0x51bbc9,_0x1c8a0b);});}}},w),_0x3bea0b);}['_enhanceShowRevisionViewerCallback'](){const _0xddd21e=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x2c30d8=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x30a21=this['editor']['plugins']['get']('Autosave');await _0x30a21['save']();}else await _0x2c30d8['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x3b6c59=this['editor']['plugins']['get']('Dialog');_0x3b6c59['isOpen']&&_0x3b6c59['hide']();}const _0x10d6eb=this['_getRevisionViewerEditorConfig']();return _0xddd21e(_0x10d6eb)['then'](_0x4caddd=>{return(this['_viewerEditor']=_0x4caddd,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x4caddd;})['catch'](_0x241a2d=>(console['error'](_0x241a2d),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x3d1fcc=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'](),_0x3d1fcc(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x3f4c0c=this['editor']['plugins']['get']('Annotations');_0x3f4c0c['refreshVisibility'](),_0x3f4c0c['refreshPositioning']();}})));}['_showRevisionViewer'](_0x1c72a9){const _0x993714=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x1117b1=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x37cdfd=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x37cdfd,_0x1c72a9)['then'](_0x1ec634=>(_0x1117b1['style']['display']='block',_0x993714['style']['display']='none',_0x1ec634));}['_closeRevisionViewer'](_0xfc7df){const _0x11155e=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x11155e['style']['display']='',_0xfc7df['destroy']();}async['_restoreRevision'](_0x346b66){const _0x442b71=this['editor'],_0x3ddc12=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x53ecbd=_0x442b71['plugins']['get']('RevisionTracker'),_0x43f6a3=_0x3ddc12['repository']['getRevision'](_0x346b66);let _0x5c2ecd,_0x4042a5,_0x116c55;try{_0x5c2ecd=await _0x3ddc12['getRevisionData'](_0x43f6a3),_0x4042a5=await _0x3ddc12['getRevisionRootsAttributes'](_0x43f6a3);}catch(_0x37e285){return void console['error'](_0x37e285);}_0x442b71['model']['change'](_0x2b2a14=>{for(const _0x3f85cc of Array['from'](_0x442b71['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x2b2a14['removeMarker'](_0x3f85cc);}),_0x3ddc12['isReady']=!0x1,_0x442b71['model']['enqueueChange'](_0x4429ac=>{_0x4429ac['setSelection'](null),_0x4429ac['removeSelectionAttribute'](_0x442b71['model']['document']['selection']['getAttributeKeys']());const _0x275441=Object['keys'](_0x5c2ecd);for(const _0x2c0444 of _0x442b71['model']['document']['roots'])'$graveyard'!=_0x2c0444['rootName']&&_0x2c0444['isAttached']()&&!_0x275441['includes'](_0x2c0444['rootName'])&&_0x4429ac['detachRoot'](_0x2c0444);for(const _0xb1c820 of _0x275441){let _0x160ed4=_0x442b71['model']['document']['getRoot'](_0xb1c820);_0x160ed4&&_0x160ed4['isAttached']()||(_0x160ed4=_0x4429ac['addRoot'](_0xb1c820));const _0x3595e9=_0x4042a5[_0xb1c820],_0x10824d=Object['keys'](_0x3595e9),_0x447933=_0x5c2ecd[_0xb1c820];for(const _0x4247b0 of _0x160ed4['getAttributeKeys']())_0x10824d['includes'](_0x4247b0)||_0x4429ac['removeAttribute'](_0x4247b0,_0x160ed4);for(const _0x39b1b3 of _0x10824d)_0x4429ac['setAttribute'](_0x39b1b3,_0x4042a5[_0xb1c820][_0x39b1b3],_0x160ed4);_0x4429ac['remove'](_0x4429ac['createRangeIn'](_0x160ed4)),_0x4429ac['insert'](_0x442b71['data']['parse'](_0x447933,_0x160ed4),_0x160ed4,0x0);}});const _0x15f627=y(_0x442b71['locale'],'Restored');if(_0x43f6a3['name'])_0x116c55=-0x1==_0x43f6a3['name']['indexOf'](_0x15f627)?_0x15f627+':\x20'+_0x43f6a3['name']:_0x43f6a3['name'];else _0x116c55=_0x15f627+':\x20'+(_0x43f6a3['createdAt']['toLocaleDateString'](_0x442b71['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x43f6a3['createdAt']['toLocaleTimeString'](_0x442b71['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x53ecbd['saveRevision']({'name':_0x116c55}),_0x3ddc12['isReady']=!0x0,_0x442b71['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}constructor(_0x2e75b0){if(super(_0x2e75b0),!this['editor']['config']['get']('revisionHistory'))throw new _0x1c86ce('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0xbffc7=>this['_showRevisionViewer']({..._0xbffc7,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x16c1a3=>this['_closeRevisionViewer'](_0x16c1a3)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x2a6d6c=>this['_restoreRevision'](_0x2a6d6c)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}}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};