@ckeditor/ckeditor5-revision-history 42.0.0-alpha.0 → 42.0.0-alpha.10

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 (160) hide show
  1. package/build/revision-history.js +1 -1
  2. package/dist/index.js +6 -6
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/az.js +1 -1
  8. package/dist/translations/az.umd.js +1 -1
  9. package/dist/translations/bg.js +1 -1
  10. package/dist/translations/bg.umd.js +1 -1
  11. package/dist/translations/bn.js +1 -1
  12. package/dist/translations/bn.umd.js +1 -1
  13. package/dist/translations/bs.js +1 -1
  14. package/dist/translations/bs.umd.js +1 -1
  15. package/dist/translations/ca.js +1 -1
  16. package/dist/translations/ca.umd.js +1 -1
  17. package/dist/translations/cs.js +1 -1
  18. package/dist/translations/cs.umd.js +1 -1
  19. package/dist/translations/da.js +1 -1
  20. package/dist/translations/da.umd.js +1 -1
  21. package/dist/translations/de-ch.js +1 -1
  22. package/dist/translations/de-ch.umd.js +1 -1
  23. package/dist/translations/de.js +1 -1
  24. package/dist/translations/de.umd.js +1 -1
  25. package/dist/translations/el.js +1 -1
  26. package/dist/translations/el.umd.js +1 -1
  27. package/dist/translations/en-au.js +1 -1
  28. package/dist/translations/en-au.umd.js +1 -1
  29. package/dist/translations/en-gb.js +1 -1
  30. package/dist/translations/en-gb.umd.js +1 -1
  31. package/dist/translations/en.umd.js +1 -1
  32. package/dist/translations/es-co.js +1 -1
  33. package/dist/translations/es-co.umd.js +1 -1
  34. package/dist/translations/es.js +1 -1
  35. package/dist/translations/es.umd.js +1 -1
  36. package/dist/translations/et.js +1 -1
  37. package/dist/translations/et.umd.js +1 -1
  38. package/dist/translations/fa.js +1 -1
  39. package/dist/translations/fa.umd.js +1 -1
  40. package/dist/translations/fi.js +1 -1
  41. package/dist/translations/fi.umd.js +1 -1
  42. package/dist/translations/fr.js +1 -1
  43. package/dist/translations/fr.umd.js +1 -1
  44. package/dist/translations/gl.js +1 -1
  45. package/dist/translations/gl.umd.js +1 -1
  46. package/dist/translations/he.js +1 -1
  47. package/dist/translations/he.umd.js +1 -1
  48. package/dist/translations/hi.js +1 -1
  49. package/dist/translations/hi.umd.js +1 -1
  50. package/dist/translations/hr.js +1 -1
  51. package/dist/translations/hr.umd.js +1 -1
  52. package/dist/translations/hu.js +1 -1
  53. package/dist/translations/hu.umd.js +1 -1
  54. package/dist/translations/id.js +1 -1
  55. package/dist/translations/id.umd.js +1 -1
  56. package/dist/translations/it.js +1 -1
  57. package/dist/translations/it.umd.js +1 -1
  58. package/dist/translations/ja.js +1 -1
  59. package/dist/translations/ja.umd.js +1 -1
  60. package/dist/translations/jv.js +1 -1
  61. package/dist/translations/jv.umd.js +1 -1
  62. package/dist/translations/ko.js +1 -1
  63. package/dist/translations/ko.umd.js +1 -1
  64. package/dist/translations/ku.js +1 -1
  65. package/dist/translations/ku.umd.js +1 -1
  66. package/dist/translations/lt.js +1 -1
  67. package/dist/translations/lt.umd.js +1 -1
  68. package/dist/translations/lv.js +1 -1
  69. package/dist/translations/lv.umd.js +1 -1
  70. package/dist/translations/ms.js +1 -1
  71. package/dist/translations/ms.umd.js +1 -1
  72. package/dist/translations/ne.js +1 -1
  73. package/dist/translations/ne.umd.js +1 -1
  74. package/dist/translations/nl.js +1 -1
  75. package/dist/translations/nl.umd.js +1 -1
  76. package/dist/translations/no.js +1 -1
  77. package/dist/translations/no.umd.js +1 -1
  78. package/dist/translations/pl.js +1 -1
  79. package/dist/translations/pl.umd.js +1 -1
  80. package/dist/translations/pt-br.js +1 -1
  81. package/dist/translations/pt-br.umd.js +1 -1
  82. package/dist/translations/pt.js +1 -1
  83. package/dist/translations/pt.umd.js +1 -1
  84. package/dist/translations/ro.js +1 -1
  85. package/dist/translations/ro.umd.js +1 -1
  86. package/dist/translations/ru.js +1 -1
  87. package/dist/translations/ru.umd.js +1 -1
  88. package/dist/translations/sk.js +1 -1
  89. package/dist/translations/sk.umd.js +1 -1
  90. package/dist/translations/sr-latn.js +1 -1
  91. package/dist/translations/sr-latn.umd.js +1 -1
  92. package/dist/translations/sr.js +1 -1
  93. package/dist/translations/sr.umd.js +1 -1
  94. package/dist/translations/sv.js +1 -1
  95. package/dist/translations/sv.umd.js +1 -1
  96. package/dist/translations/th.js +1 -1
  97. package/dist/translations/th.umd.js +1 -1
  98. package/dist/translations/ti.js +1 -1
  99. package/dist/translations/ti.umd.js +1 -1
  100. package/dist/translations/tk.js +1 -1
  101. package/dist/translations/tk.umd.js +1 -1
  102. package/dist/translations/tr.js +1 -1
  103. package/dist/translations/tr.umd.js +1 -1
  104. package/dist/translations/tt.js +1 -1
  105. package/dist/translations/tt.umd.js +1 -1
  106. package/dist/translations/ug.js +1 -1
  107. package/dist/translations/ug.umd.js +1 -1
  108. package/dist/translations/uk.js +1 -1
  109. package/dist/translations/uk.umd.js +1 -1
  110. package/dist/translations/ur.js +1 -1
  111. package/dist/translations/ur.umd.js +1 -1
  112. package/dist/translations/vi.js +1 -1
  113. package/dist/translations/vi.umd.js +1 -1
  114. package/dist/translations/zh-cn.js +1 -1
  115. package/dist/translations/zh-cn.umd.js +1 -1
  116. package/dist/translations/zh.js +1 -1
  117. package/dist/translations/zh.umd.js +1 -1
  118. package/dist/types/revisiontracker.d.ts +6 -1
  119. package/dist/types/revisionviewer.d.ts +82 -0
  120. package/dist/types/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
  121. package/dist/types/ui/revision/revisionauthorview.d.ts +9 -0
  122. package/dist/types/ui/revision/revisionnameview.d.ts +25 -0
  123. package/dist/types/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
  124. package/package.json +5 -5
  125. package/src/changeitem.js +2 -2
  126. package/src/editor/revisionviewereditor.js +2 -2
  127. package/src/editor/revisionviewereditorui.js +1 -1
  128. package/src/editor/revisionviewereditoruiview.js +1 -1
  129. package/src/index.js +1 -1
  130. package/src/revision.js +2 -2
  131. package/src/revisiondiff.js +1 -1
  132. package/src/revisionhistory.js +1 -1
  133. package/src/revisionsrepository.js +1 -1
  134. package/src/revisiontracker.d.ts +6 -1
  135. package/src/revisiontracker.js +1 -1
  136. package/src/revisionviewer.d.ts +82 -0
  137. package/src/revisionviewer.js +1 -1
  138. package/src/ui/revision/createrevisionactionsdropdown.d.ts +4 -1
  139. package/src/ui/revision/createrevisionactionsdropdown.js +1 -1
  140. package/src/ui/revision/revisionauthorview.d.ts +9 -0
  141. package/src/ui/revision/revisionauthorview.js +1 -1
  142. package/src/ui/revision/revisionnameview.d.ts +25 -0
  143. package/src/ui/revision/revisionnameview.js +1 -1
  144. package/src/ui/revision/revisionview.js +2 -2
  145. package/src/ui/revision/subrevisioncollapserview.js +1 -1
  146. package/src/ui/revision/subrevisionview.js +1 -1
  147. package/src/ui/revision/utils.js +1 -1
  148. package/src/ui/revisionhistory/revisionhistorysaverevisionformview.js +1 -1
  149. package/src/ui/revisionhistory/revisionhistoryui.js +1 -1
  150. package/src/ui/revisionssidebar/revisionssidebar.js +1 -1
  151. package/src/ui/revisionssidebar/revisionssidebarheaderview.d.ts +11 -0
  152. package/src/ui/revisionssidebar/revisionssidebarheaderview.js +1 -1
  153. package/src/ui/revisionssidebar/revisionssidebartimeperiodview.js +1 -1
  154. package/src/ui/revisionssidebar/revisionssidebarview.js +1 -1
  155. package/src/ui/revisionssidebar/utils.js +1 -1
  156. package/src/ui/revisionviewer/changedetailsview.js +1 -1
  157. package/src/ui/revisionviewer/changesnavigationview.js +1 -1
  158. package/src/ui/revisionviewer/revisionviewerloadingoverlay.js +1 -1
  159. package/src/ui/revisionviewer/revisionviewerui.js +1 -1
  160. package/src/utils/common-translations.js +1 -1
package/dist/index.js CHANGED
@@ -20,10 +20,10 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x116caf,Context as _0x1123f3,PendingActions as _0x4a5b03,icons as _0xb0eab5,Command as _0x3cdc46,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x1dec53,uid as _0x56e194,Collection as _0x30f645,logWarning as _0x55f417,FocusTracker as _0x53e0e1,KeystrokeHandler as _0x1b2b55,scrollViewportToShowTarget as _0x200f8b,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0xd9891c}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x279afd,getMarkerDomElement as _0x3e627c,ConfirmMixin as _0x1fdf03,sanitizeEditorConfig as _0xc9f312}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0x46e1cf,ViewText as _0x54bf7e,ViewElement as _0x1d714e,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x5b958f,ViewAttributeElement as _0xd71261,ViewEmptyElement as _0x2ddcb4,ViewRawElement as _0x4e6e1f,ViewUIElement as _0x3c06ee,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x226d0b,set as _0x44292a,unset as _0x44874d,isEqual as _0x6b191}from'lodash-es';import{View as _0x15289c,injectCssTransitionDisabler as ts,submitHandler as _0xa6ba29,LabeledFieldView as at,createLabeledInputText as _0x3bb46d,createDropdown as _0x4d77d5,ListView as te,ListItemView as _0x234025,ButtonView as _0xc7e8b0,MenuBarMenuView as _0x17bcb5,MenuBarMenuListView as _0x1d43f2,MenuBarMenuListItemView as _0xb347b1,MenuBarMenuListItemButtonView as _0x7284aa,ContextualBalloon as _0x476931,ToolbarSeparatorView as _0x36e67d,IconView as _0x5b108b,addListToDropdown as _0x1a88f5,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 _0x168de9}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
- _0x1dec53(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x4bbbdd){super(),this['id']=_0x4bbbdd['id']||_0x56e194(),this['creator']=_0x4bbbdd['creator']||null,this['authors']=_0x4bbbdd['authors']||[],this['diffData']=_0x4bbbdd['diffData']||null,this['toVersion']=_0x4bbbdd['toVersion']||0x0,this['fromVersion']=_0x4bbbdd['fromVersion']||0x0,this['set']('name',_0x4bbbdd['name']||''),this['set']('createdAt',_0x4bbbdd['createdAt']||new Date()),this['set']('attributes',_0x4bbbdd['attributes']||{});}['setName'](_0x351146){this['_update']({'name':_0x351146});}['setAttribute'](_0x535b15,_0x32b1b6){const _0x88c9e7=_0x226d0b(this['attributes']);_0x44292a(_0x88c9e7,_0x535b15,_0x32b1b6),this['_update']({'attributes':_0x88c9e7});}['removeAttribute'](_0x38a32f){const _0x176319=_0x226d0b(this['attributes']);_0x44874d(_0x176319,_0x38a32f),this['_update']({'attributes':_0x176319});}['_update'](_0x46e0e3,_0x3e5c9c=!0x1){let _0x8e0d6e=!0x1;const _0x15e223={'id':this['id']},_0x35b58d=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0xc99ec0 of _0x35b58d){const _0x42a469=_0x46e0e3[_0xc99ec0];void 0x0!==_0x42a469&&_0x42a469!==this[_0xc99ec0]&&(this[_0xc99ec0]=_0x42a469,_0x15e223[_0xc99ec0]=_0x42a469,_0x8e0d6e=!0x0);}_0x8e0d6e&&(_0x15e223['authors']&&(_0x15e223['authorsIds']=_0x15e223['authors']['map'](_0x1fb5e8=>_0x1fb5e8['id']),delete _0x15e223['authors']),this['fire']('_update',_0x15e223,_0x3e5c9c));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x2e8974=>_0x2e8974['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x116caf{['_revisions'];static get['requires'](){return[_0x279afd];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x172eaf){super(_0x172eaf),this['_revisions']=new _0x30f645();}['afterInit'](){!function(_0x3c9cad){function _0x49eb22(_0x302b9d,_0x2db0c7,_0x293ad7){const _0x50045e={};_0x50045e[_0x138c9d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x50045e[_0x138c9d([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],_0x50045e[_0x138c9d([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],_0x50045e[_0x138c9d([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],_0x50045e[_0x138c9d([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],_0x50045e[_0x138c9d([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],_0x50045e[_0x138c9d([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],_0x50045e[_0x138c9d([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],_0x50045e[_0x138c9d([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],_0x50045e[_0x138c9d([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],_0x50045e[_0x138c9d([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 _0x3e7fd2=new Uint8Array(0x10);for(let _0x489f90=0xf;_0x489f90>=0x0;--_0x489f90)_0x3e7fd2[_0x489f90]=_0x293ad7%0x100,_0x293ad7=parseInt(_0x293ad7/0x100);let _0x497b3e=null,_0x4b49f8=0x10;const _0xb730a4=new Uint8Array(_0x2db0c7),_0x1fceb7=[],_0x338f95=[];_0x129630();for(let _0x1e7c84=0x0;_0x1e7c84<_0x302b9d[_0x138c9d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1e7c84++)0x10===_0x4b49f8&&(_0x497b3e=_0x599509(_0x3e7fd2),_0x4b49f8=0x0,_0x1d0a40(_0x3e7fd2)),_0x302b9d[_0x1e7c84]^=_0x497b3e[_0x4b49f8++];return _0x302b9d;function _0x52b190(_0x3a359a){const _0x46570a=[];for(let _0x13235a=0x0;_0x13235a<_0x3a359a[_0x138c9d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13235a+=0x4)_0x46570a[_0x138c9d([0x70,0x75,0x73,0x68])](_0x3a359a[_0x13235a]<<0x18|_0x3a359a[_0x13235a+0x1]<<0x10|_0x3a359a[_0x13235a+0x2]<<0x8|_0x3a359a[_0x13235a+0x3]);return _0x46570a;}function _0x1d0a40(_0x5cbe00){for(let _0x407b55=0xf;_0x407b55>=0x0;_0x407b55--){if(0xff!==_0x5cbe00[_0x407b55]){_0x5cbe00[_0x407b55]++;break;}_0x5cbe00[_0x407b55]=0x0;}}function _0x599509(_0x16cc43){const _0x173b9c=_0x1fceb7[_0x138c9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1f88cf=[0x0,0x0,0x0,0x0];let t=_0x52b190(_0x16cc43);for(let _0x1a8d18=0x0;_0x1a8d18<0x4;_0x1a8d18++)t[_0x1a8d18]^=_0x1fceb7[0x0][_0x1a8d18];for(let _0x7a94a1=0x1;_0x7a94a1<_0x173b9c;_0x7a94a1++){for(let _0x29b950=0x0;_0x29b950<0x4;_0x29b950++)_0x1f88cf[_0x29b950]=_0x50045e[_0x138c9d([0x54,0x31])][t[_0x29b950]>>0x18&0xff]^_0x50045e[_0x138c9d([0x54,0x32])][t[(_0x29b950+0x1)%0x4]>>0x10&0xff]^_0x50045e[_0x138c9d([0x54,0x33])][t[(_0x29b950+0x2)%0x4]>>0x8&0xff]^_0x50045e[_0x138c9d([0x54,0x34])][0xff&t[(_0x29b950+0x3)%0x4]]^_0x1fceb7[_0x7a94a1][_0x29b950];t=_0x1f88cf[_0x138c9d([0x73,0x6c,0x69,0x63,0x65])]();}const _0x58e5ba=new Uint8Array(0x10);let _0x4ece34;for(let _0x47a4cd=0x0;_0x47a4cd<0x4;_0x47a4cd++)_0x4ece34=_0x1fceb7[_0x173b9c][_0x47a4cd],_0x58e5ba[0x4*_0x47a4cd]=0xff&(_0x50045e[_0x138c9d([0x53])][t[_0x47a4cd]>>0x18&0xff]^_0x4ece34>>0x18),_0x58e5ba[0x4*_0x47a4cd+0x1]=0xff&(_0x50045e[_0x138c9d([0x53])][t[(_0x47a4cd+0x1)%0x4]>>0x10&0xff]^_0x4ece34>>0x10),_0x58e5ba[0x4*_0x47a4cd+0x2]=0xff&(_0x50045e[_0x138c9d([0x53])][t[(_0x47a4cd+0x2)%0x4]>>0x8&0xff]^_0x4ece34>>0x8),_0x58e5ba[0x4*_0x47a4cd+0x3]=0xff&(_0x50045e[_0x138c9d([0x53])][0xff&t[(_0x47a4cd+0x3)%0x4]]^_0x4ece34);return _0x58e5ba;}function _0x129630(){const _0x525702=_0x50045e[_0x138c9d([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0xb730a4[_0x138c9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x48e5ef=0x0;_0x48e5ef<=_0x525702;_0x48e5ef++)_0x1fceb7[_0x138c9d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x338f95[_0x138c9d([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x7aaba6=0x4*(_0x525702+0x1),_0x2055d4=_0xb730a4[_0x138c9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x5a38a7=_0x52b190(_0xb730a4);let _0x232821;for(let _0x444bcd=0x0;_0x444bcd<_0x2055d4;_0x444bcd++)_0x232821=_0x444bcd>>0x2,_0x1fceb7[_0x232821][_0x444bcd%0x4]=_0x5a38a7[_0x444bcd],_0x338f95[_0x525702-_0x232821][_0x444bcd%0x4]=_0x5a38a7[_0x444bcd];let _0x490493,_0x11f42e=0x0,t=_0x2055d4;for(;t<_0x7aaba6;){_0x490493=_0x5a38a7[_0x2055d4-0x1],_0x5a38a7[0x0]^=_0x50045e[_0x138c9d([0x53])][_0x490493>>0x10&0xff]<<0x18^_0x50045e[_0x138c9d([0x53])][_0x490493>>0x8&0xff]<<0x10^_0x50045e[_0x138c9d([0x53])][0xff&_0x490493]<<0x8^_0x50045e[_0x138c9d([0x53])][_0x490493>>0x18&0xff]^_0x50045e[_0x138c9d([0x72,0x63,0x6f,0x6e])][_0x11f42e]<<0x18,_0x11f42e+=0x1;for(let _0x1ccc4e=0x1;_0x1ccc4e<_0x2055d4/0x2;_0x1ccc4e++)_0x5a38a7[_0x1ccc4e]^=_0x5a38a7[_0x1ccc4e-0x1];_0x490493=_0x5a38a7[_0x2055d4/0x2-0x1],_0x5a38a7[_0x2055d4/0x2]^=_0x50045e[_0x138c9d([0x53])][0xff&_0x490493]^_0x50045e[_0x138c9d([0x53])][_0x490493>>0x8&0xff]<<0x8^_0x50045e[_0x138c9d([0x53])][_0x490493>>0x10&0xff]<<0x10^_0x50045e[_0x138c9d([0x53])][_0x490493>>0x18&0xff]<<0x18;for(let _0x171cb4=_0x2055d4/0x2+0x1;_0x171cb4<_0x2055d4;_0x171cb4++)_0x5a38a7[_0x171cb4]^=_0x5a38a7[_0x171cb4-0x1];let _0x41633b,_0x45e98a,_0x4b4a64=0x0;for(;_0x4b4a64<_0x2055d4&&t<_0x7aaba6;)_0x41633b=t>>0x2,_0x45e98a=t%0x4,_0x1fceb7[_0x41633b][_0x45e98a]=_0x5a38a7[_0x4b4a64],_0x338f95[_0x525702-_0x41633b][_0x45e98a]=_0x5a38a7[_0x4b4a64++],t++;}for(let _0x14fb64=0x1;_0x14fb64<_0x525702;_0x14fb64++)for(let _0x59137f=0x0;_0x59137f<0x4;_0x59137f++)_0x490493=_0x338f95[_0x14fb64][_0x59137f],_0x338f95[_0x14fb64][_0x59137f]=_0x50045e[_0x138c9d([0x55,0x31])][_0x490493>>0x18&0xff]^_0x50045e[_0x138c9d([0x55,0x32])][_0x490493>>0x10&0xff]^_0x50045e[_0x138c9d([0x55,0x33])][_0x490493>>0x8&0xff]^_0x50045e[_0x138c9d([0x55,0x34])][0xff&_0x490493];}}function _0x138c9d(_0x6fa9ea){return _0x6fa9ea['map'](_0xdeba48=>String['fromCharCode'](_0xdeba48))['join']('');}(_0x3760a0=>{function _0x54543a(){const _0x24554e=[{[_0x138c9d([0x69,0x64])]:0x1,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x138c9d([0x69,0x64])]:0x2,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([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]),[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x138c9d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x138c9d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x138c9d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x138c9d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x138c9d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x138c9d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x138c9d([0x69,0x64])]:0x3,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x138c9d([0x69,0x64])]:0x4,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([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]),[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x138c9d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x138c9d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x138c9d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x138c9d([0x69,0x64])]:0x5,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([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]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x138c9d([0x66,0x67,0x69])]:[0xc]}},{[_0x138c9d([0x69,0x64])]:0x6,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x138c9d([0x66,0x67,0x69])]:[0xc]}},{[_0x138c9d([0x69,0x64])]:0x7,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x138c9d([0x66,0x67,0x69])]:[0xc]}},{[_0x138c9d([0x69,0x64])]:0x8,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([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]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x138c9d([0x66,0x67,0x69])]:[0xc]}},{[_0x138c9d([0x69,0x64])]:0x9,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x138c9d([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x138c9d([0x69,0x64])]:0xa,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([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]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([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]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([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]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x138c9d([0x66,0x67,0x69])]:[0xc]}},{[_0x138c9d([0x69,0x64])]:0xb,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x138c9d([0x69,0x64])]:0xc,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x138c9d([0x69,0x64])]:0xd,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x138c9d([0x66,0x67,0x69])]:[0xc]}},{[_0x138c9d([0x69,0x64])]:0xe,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x138c9d([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([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])},{[_0x138c9d([0x69,0x64])]:0xf,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x138c9d([0x69,0x64])]:0x10,[_0x138c9d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x138c9d([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x138c9d([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x138c9d([0x66,0x67,0x69])]:[0xc]}}];return _0x3d1457(_0x24554e),_0x24554e;function _0x190c62(_0x4fabc3){return 0x1<<_0x4fabc3-0x1;}function _0x3d1457(_0x46ffd0){_0x46ffd0[_0x138c9d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1e51d5=>{_0x1e51d5[_0x138c9d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x190c62(_0x1e51d5[_0x138c9d([0x69,0x64])]),_0x4bc8df(_0x1e51d5)&&_0x1e51d5[_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3d1457(_0x1e51d5[_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x4bc8df(_0x3abbd8){return _0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x3abbd8;}const _0x34ad48=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x159ade=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x583e62(_0x58459a){const _0x5861bd=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x5a0d1f(_0x58459a,new Uint8Array([..._0x34ad48,..._0x5861bd,..._0x159ade]));}function _0x5a0d1f(_0x2be4b6,_0x17dc73){const _0xac5b19=_0x50f122(_0x2be4b6),_0x557f3f=Array[_0x138c9d([0x66,0x72,0x6f,0x6d])](_0x5dadb5(_0xac5b19)),_0x3c9e28=_0x557f3f[_0x138c9d([0x70,0x6f,0x70])](),_0x54a367=_0x557f3f[_0x138c9d([0x70,0x6f,0x70])]();return _0x4ea810(_0x49eb22(_0x557f3f,_0x17dc73,_0x54a367+0x100*_0x3c9e28));}function _0x50f122(_0x14aa4d){const _0x287430=atob(_0x14aa4d),[_0x472fd1,_0x3f97a3]=_0x287430[_0x138c9d([0x73,0x70,0x6c,0x69,0x74])](_0x138c9d([0x2d]));try{if(atob(_0x3f97a3))return atob(_0x472fd1);}catch(_0x1fdf99){}return _0x287430;}function _0x5e415e(_0x4259d4){try{const _0x1ca2a9=_0x583e62(_0x4259d4),_0x1b67d3=JSON[_0x138c9d([0x70,0x61,0x72,0x73,0x65])](_0x1ca2a9),_0x1e3a89=parseInt(_0x1b67d3[_0x138c9d([0x31])]),_0x5aab26=_0x1b67d3[_0x138c9d([0x32])]||'',_0x296a19=parseInt(_0x1b67d3[_0x138c9d([0x33])]),_0x921d92=parseInt(_0x1b67d3[_0x138c9d([0x34])])||0x0,_0x440e18=parseInt(_0x1b67d3[_0x138c9d([0x35])])||0x0;return{[_0x138c9d([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x5aab26,[_0x138c9d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x921d92,[_0x138c9d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x1e3a89,[_0x138c9d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x296a19,[_0x138c9d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x440e18};}catch(_0x336ee3){return null;}}const _0x4b56ea=_0x54543a(),_0x2eef59={[_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x5e6ead,[_0x138c9d([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])]:_0xa35e22,[_0x138c9d([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])]:_0x2d06b2},_0x5525a5=_0x3760a0[_0x138c9d([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x345950=_0x138c9d([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x3760a0?_0x3760a0['context']:_0x3760a0['editor'],_0x4f7a37=_0x138c9d([0x34,0x30,0x34,0x38,0x31,0x32,0x31,0x30]),_0x8a653e=_0x138c9d([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]),_0x2e384b=_0x345950['config']['get'](_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x150e20=_0x4b56ea[_0x138c9d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4bc8df)[_0x138c9d([0x66,0x69,0x6e,0x64])](_0x5a54f5=>_0x5a54f5[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x5525a5);function _0x5f1d7d(_0x4a12f5,_0x3b9dbc){_0x2eef59[_0x3b9dbc[_0x138c9d([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x4a12f5,_0x3b9dbc),_0x3b9dbc[_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x3b9dbc[_0x138c9d([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x138c9d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbcd038=>_0x20571d(_0x345950,_0xbcd038[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x138c9d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4a5186=>_0x5f1d7d(_0x4a12f5,_0x4a5186));}function _0x5e6ead(_0xd8a497,_0x51c84e){_0x5b75bb(_0x545888(_0xd8a497,_0x51c84e),_0x51c84e);}function _0xa35e22(_0x595adf,_0x65e0db){function _0x1462b2(_0x43875a,_0xc299b1){try{if(_0x20571d(_0x345950,_0x138c9d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x43875a){const _0x2895ce=_0xe090aa(_0x345950,_0x138c9d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x138c9d([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0x2895ce)/0x2>_0x43875a[_0x138c9d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x1beb6b(_0xc299b1[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x545888(_0x43875a,_0xc299b1);}catch(_0x192d20){return _0x1beb6b(_0xc299b1[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x5b75bb(_0x1462b2(_0x595adf,_0x65e0db),_0x65e0db);}function _0x2d06b2(_0x10321f,_0x1ed88e){const _0x38ab4f=_0x159ade[0x0]*_0x34ad48[0x1],_0x47c6af=_0x159ade[0x0]*_0x34ad48[0x2],_0x4c7468=_0x159ade[0x2]*_0x34ad48[0x2];_0x20571d(_0x345950,_0x138c9d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xe090aa(_0x345950,_0x138c9d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x138c9d([0x73,0x74,0x61,0x74,0x65])]==_0x138c9d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x32f0cf()]=_0x4c7468);function _0x1c16d2(_0x56c672,_0x358f99){try{return _0xb1e18f()?_0x1beb6b(_0x358f99[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x56,0x61,0x6c,0x69,0x64])):_0x545888(_0x56c672,_0x358f99);}catch(_0x512823){return _0x1beb6b(_0x358f99[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5cf75b(_0x20be8d,_0x1c4e42){const _0x1a88b8=0x7;if(_0x20be8d==_0x1c4e42[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x3cf51f();else{if(_0x20be8d==_0x1c4e42[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x54,0x72,0x69,0x61,0x6c])){const _0x4f4c36=_0x3242c4();_0x4f4c36&&_0x362eaf(_0x4f4c36,_0x1c4e42[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x145787=_0x2936c4();window[_0x138c9d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x362eaf(_0x138c9d([0x74,0x69,0x6d,0x65]),_0x1c4e42[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x145787);const _0x1c8d4e=_0xe090aa(_0x345950,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x138c9d([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x1c8d4e[_0x138c9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1a88b8?_0x362eaf(_0x138c9d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1c4e42[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x1c8d4e['on'](_0x138c9d([0x61,0x64,0x64]),()=>{_0x1c8d4e[_0x138c9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0x1a88b8&&_0x362eaf(_0x138c9d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x1c4e42[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x3242c4(){if(!_0x20571d(_0x345950,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x348e13 in window)if(Number['isNaN'](Number(_0x348e13))){if(window[_0x348e13]===_0x38ab4f)return _0x138c9d([0x74,0x69,0x6d,0x65]);if(window[_0x348e13]===_0x47c6af)return _0x138c9d([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0xb1e18f(){if(!_0x20571d(_0x345950,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x330e36 in window)if(Number['isNaN'](Number(_0x330e36))&&window[_0x330e36]===_0x4c7468)return!0x0;return!0x1;}function _0x362eaf(_0x43282a,_0x259239){_0x3cf51f(),_0x1beb6b(_0x259239+_0x138c9d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x43282a),window[_0x32f0cf()]=_0x43282a===_0x138c9d([0x74,0x69,0x6d,0x65])?_0x38ab4f:_0x47c6af;}function _0x2936c4(){let _0xb0c044=_0x159ade[0x6]*_0x34ad48[0x8]*_0x34ad48[0x6];return _0x20571d(_0x345950,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xb0c044/=0xa),_0xb0c044;}function _0x3cf51f(){const _0x3c9dde=_0x345950;function _0x2d56a4(){_0x20571d(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0xe090aa(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x138c9d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x138c9d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xe090aa(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x138c9d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xe090aa(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x138c9d([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x523461,_0xe090aa(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x138c9d([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x523461,_0x3c9dde[_0x138c9d([0x6d,0x6f,0x64,0x65,0x6c])][_0x138c9d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x523461,_0x3c9dde[_0x138c9d([0x6d,0x6f,0x64,0x65,0x6c])][_0x138c9d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x523461,_0x3c9dde[_0x138c9d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x138c9d([0x6d,0x6f,0x64,0x65,0x6c]))),_0x20571d(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0xe090aa(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x138c9d([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x138c9d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0xe090aa(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x138c9d([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0xe090aa(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x138c9d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x523461,_0xe090aa(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x138c9d([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x523461);}_0x3c9dde[_0x138c9d([0x73,0x74,0x61,0x74,0x65])]==_0x138c9d([0x72,0x65,0x61,0x64,0x79])?_0x2d56a4():_0x3c9dde[_0x138c9d([0x6f,0x6e,0x63,0x65])](_0x138c9d([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x20571d(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x2d56a4(),_0x20571d(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x2fa5ef=_0xe090aa(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x45a6ab=_0x2fa5ef['getRevision'](0x0),_0x512ba4=_0x2fa5ef['getEarlierVisibleRevision'](_0x45a6ab[_0x138c9d([0x69,0x64])]);_0xe090aa(_0x3c9dde,_0x138c9d([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x138c9d([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x45a6ab[_0x138c9d([0x69,0x64])],_0x512ba4?_0x512ba4[_0x138c9d([0x69,0x64])]:null,0x1)['then'](()=>_0x2d56a4());}});}_0x5cf75b(_0x1c16d2(_0x10321f,_0x1ed88e),_0x1ed88e);}function _0x545888(_0x4a0a37,_0xb4e7ef){try{return _0x5770fa(_0xb4e7ef)?_0x1beb6b(_0xb4e7ef[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x56,0x61,0x6c,0x69,0x64])):_0x4a0a37&&_0x10153c(_0x4a0a37[_0x138c9d([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0xb4e7ef)?_0x4a0a37[_0x138c9d([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x138c9d([0x6f,0x70,0x65,0x6e])][_0x138c9d([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0x4f7a37)/0x2>_0x4a0a37[_0x138c9d([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x1beb6b(_0xb4e7ef[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x4a0a37[_0x138c9d([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x1beb6b(_0xb4e7ef[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x54,0x72,0x69,0x61,0x6c])):_0x1beb6b(_0xb4e7ef[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x56,0x61,0x6c,0x69,0x64])):_0x1beb6b(_0xb4e7ef[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x5d43fa){return _0x1beb6b(_0xb4e7ef[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x5b75bb(_0x920935,_0x473c6d){if(_0x345950 instanceof _0x1123f3){const _0x7c3723=_0x345950;_0x920935==_0x473c6d[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x3bcf99(_0x7c3723):_0x920935==_0x473c6d[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x54,0x72,0x69,0x61,0x6c])&&window[_0x138c9d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x3bcf99(_0x7c3723),_0x1beb6b(_0x473c6d[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x159ade[0x6]*_0x34ad48[0x8]*_0x34ad48[0x6]),_0x7c3723[_0x138c9d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x138c9d([0x6f,0x6e])](_0x138c9d([0x61,0x64,0x64]),(_0x1a08b9,_0x27bbe4)=>{_0x920935!=_0x473c6d[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x920935!=_0x473c6d[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x920935!=_0x473c6d[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x1d46d3(_0x27bbe4);});}else{const _0x13b60e=_0x345950;_0x920935==_0x473c6d[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x1d46d3(_0x13b60e):_0x920935==_0x473c6d[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x54,0x72,0x69,0x61,0x6c])&&_0x13b60e[_0x138c9d([0x6f,0x6e])](_0x138c9d([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x3656a4=0x0;_0x13b60e[_0x138c9d([0x6d,0x6f,0x64,0x65,0x6c])][_0x138c9d([0x6f,0x6e])](_0x138c9d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0xb2cab1,_0x197285)=>{_0x197285[0x0][_0x138c9d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x3656a4++,0x1f8===_0x3656a4&&(_0x1d46d3(_0x13b60e),_0x1beb6b(_0x473c6d[_0x138c9d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x138c9d([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0xb2cab1[_0x138c9d([0x6f,0x66,0x66])]());},{'priority':_0x138c9d([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x1beb6b(_0x2f039d){const _0x3b0b7d=_0x32f0cf();return _0x345950[_0x3b0b7d]=_0x2f039d,_0x2f039d;}function _0x32f0cf(){const _0x2f1b7d=String(window[_0x138c9d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x138c9d([0x6e,0x6f,0x77])]())[_0x138c9d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x138c9d([0x2e]),'');let _0x5d2c1b='';for(let _0x222684=0x0;_0x222684<_0x2f1b7d[_0x138c9d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x222684+=0x2){let _0x25fa90=parseInt(_0x2f1b7d[_0x138c9d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x222684,_0x222684+0x2));_0x25fa90>=_0x8a653e[_0x138c9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x25fa90-=_0x8a653e[_0x138c9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d2c1b+=_0x8a653e[_0x25fa90];}return _0x5d2c1b;}function _0x3bcf99(_0x501992){for(const _0x5eee4e of _0x501992[_0x138c9d([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x1d46d3(_0x5eee4e);_0xe090aa(_0x501992,_0x138c9d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x138c9d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0xe090aa(_0x501992,_0x138c9d([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x138c9d([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x523461;}function _0x1d46d3(_0x58b869){function _0x21094d(){_0x58b869[_0x138c9d([0x6d,0x6f,0x64,0x65,0x6c])][_0x138c9d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x523461,_0x58b869[_0x138c9d([0x6d,0x6f,0x64,0x65,0x6c])][_0x138c9d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x523461,_0x58b869[_0x138c9d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x138c9d([0x6d,0x6f,0x64,0x65,0x6c]));}_0x58b869[_0x138c9d([0x73,0x74,0x61,0x74,0x65])]==_0x138c9d([0x72,0x65,0x61,0x64,0x79])?_0x21094d():_0x58b869[_0x138c9d([0x6f,0x6e,0x63,0x65])](_0x138c9d([0x72,0x65,0x61,0x64,0x79]),()=>_0x21094d());}function _0x523461(){return null;}function _0x10153c(_0x3b41e2,_0x125b7c){const _0xbc9922=!!(_0x3b41e2&_0x125b7c[_0x138c9d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x5347b4=_0x1b7ec3(_0x3b41e2,_0x125b7c);return _0xbc9922||_0x5347b4;}function _0x1b7ec3(_0x5e4791,_0x29fa71){const _0x447de2=(_0x29fa71[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x138c9d([0x66,0x67,0x69])]||null;return!!_0x447de2&&_0x4b56ea[_0x138c9d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d53d4=>_0x447de2[_0x138c9d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3d53d4[_0x138c9d([0x69,0x64])]))[_0x138c9d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24b39f=>!_0x349b80(_0x24b39f))[_0x138c9d([0x73,0x6f,0x6d,0x65])](_0x57ee28=>!!(_0x5e4791&_0x57ee28[_0x138c9d([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x349b80(_0x572266){const _0x209070={[_0x138c9d([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])]:_0x4a190b};return!!_0x572266['forbiddenHandler']&&_0x209070[_0x572266['forbiddenHandler']]();}function _0x4a190b(){return!window[_0x138c9d([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x20571d(_0x345950,_0x138c9d([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x5770fa(_0x4558c2){if(!_0x20571d(_0x345950,_0x4558c2[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x58b245=_0x4558c2[_0x138c9d([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x4f2894=_0x58b245[_0x138c9d([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x4f66d0=_0x58b245[_0x138c9d([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x2d12b1=_0x58b245[_0x138c9d([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x20571d(_0x345950,_0x138c9d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0xe090aa(_0x345950,_0x138c9d([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x138c9d([0x73,0x74,0x61,0x74,0x65])]==_0x138c9d([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x4f2894)return!0x0;if(_0x20571d(_0x345950,_0x138c9d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0xe090aa(_0x345950,_0x138c9d([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x138c9d([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x138c9d([0x65,0x6e,0x64])&&_0x4f66d0)return!0x0;return!(!_0x20571d(_0x345950,_0x138c9d([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]))||_0xe090aa(_0x345950,_0x138c9d([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]))[_0x138c9d([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x138c9d([0x65,0x6e,0x64])||!_0x2d12b1);}function _0x20571d(_0x330aae,_0x49ff36){return _0x330aae[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x138c9d([0x68,0x61,0x73])](_0x49ff36);}function _0xe090aa(_0xd1d5a4,_0x3c3297){return _0xd1d5a4[_0x138c9d([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x138c9d([0x67,0x65,0x74])](_0x3c3297);}function _0x4ea810(_0x19febf){let _0x5c4bd8='';for(const _0x305524 of _0x19febf)_0x5c4bd8+=String[_0x138c9d([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x305524);return _0x5c4bd8;}function _0x5dadb5(_0x1185fa){const _0x4b939e=new Uint8Array(_0x1185fa[_0x138c9d([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x2cafb0=0x0;_0x2cafb0<_0x1185fa[_0x138c9d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2cafb0++)_0x4b939e[_0x2cafb0]=_0x1185fa[_0x138c9d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2cafb0);return _0x4b939e;}_0x150e20&&_0x5f1d7d(_0x5e415e(_0x2e384b),_0x150e20);})(_0x3c9cad);}(this);}['createRevision'](_0x548a86){const _0x28a975=this['editor']['plugins']['get']('Users');return new a({'id':_0x548a86['id'],'name':_0x548a86['name'],'creator':_0x548a86['creatorId']?_0x28a975['getUser'](_0x548a86['creatorId']):null,'diffData':_0x548a86['diffData']||_0x548a86['data'],'authors':_0x548a86['authorsIds']['map'](_0x31aefb=>_0x28a975['getUser'](_0x31aefb)),'createdAt':new Date(_0x548a86['createdAt']),'attributes':_0x548a86['attributes'],'fromVersion':_0x548a86['fromVersion'],'toVersion':_0x548a86['toVersion']});}['addRevision'](_0x2c634a,_0x5dd708=0x0){this['_revisions']['add'](_0x2c634a,_0x5dd708);}['getRevision'](_0x4a0843){return this['_revisions']['get'](_0x4a0843);}['getRevisions'](_0x5bdb8c={'toJSON':!0x1}){const _0xd3baf9=Array['from'](this['_revisions']);return _0xd3baf9['reverse'](),_0x5bdb8c['toJSON']?_0xd3baf9['map'](_0x1d90d5=>_0x1d90d5['toJSON']()):_0xd3baf9;}['getIndex'](_0x5be4fd){return this['_revisions']['getIndex'](_0x5be4fd);}['getEarlierVisibleRevision'](_0x4aadcd){const [,_0x3c4a3a]=this['getRevisionsIterator'](_0x4aadcd,{'direction':'earlier'});return _0x3c4a3a;}['getLaterVisibleRevision'](_0x5ae5e3){const [,_0x438ca8]=this['getRevisionsIterator'](_0x5ae5e3,{'direction':'later'});return _0x438ca8;}['getRevisionsInDiff'](_0x1cd110){const _0x1474b1=[];for(const _0x1b6de0 of this['getRevisionsIterator'](_0x1cd110['newRevisionId']))if(_0x1474b1['push'](_0x1b6de0),_0x1b6de0['id']===_0x1cd110['oldRevisionId'])break;return _0x1474b1;}*['getRevisionsIterator'](_0x24a0f2,{direction:_0x5324fc='earlier',filter:_0x5d6102=_0x1ac55f=>!0x0}={}){const _0x1e868a='earlier'===_0x5324fc?0x1:-0x1;let _0x41e58d=this['_revisions']['get'](_0x24a0f2),_0xcbfce6=this['getIndex'](_0x41e58d);for(yield _0x41e58d;_0x41e58d;){if(_0xcbfce6+=_0x1e868a,_0x41e58d=this['getRevision'](_0xcbfce6),!_0x41e58d)return;_0x5d6102(_0x41e58d)&&(yield _0x41e58d);}}}function y(_0xc605b0,_0x3c19a3,_0xece1a){const t=_0xc605b0['t'];switch(_0x3c19a3){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'},_0xece1a);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0xece1a);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':_0x5b958f,'a':_0xd71261,'e':_0x2ddcb4,'r':_0x4e6e1f,'u':_0x3c06ee};class l extends _0x116caf{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x279afd,A,_0x4a5b03];}constructor(_0x6aa5ee){super(_0x6aa5ee),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 _0x258d26=_0x56e194();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x258d26},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 _0x115310=this['repository']['getRevision'](0x0),_0x191693=_0x115310&&null===_0x115310['creator']?_0x115310:null;if(this['_continueCurrentRevision']=!!_0x191693&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0xd8365b=this['_source']['getCurrentRevisionId'](),_0x1ce6e1=this['repository']['getRevision'](_0xd8365b);if(_0x1ce6e1)this['_startingVersion']=_0x1ce6e1['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x2b1bcf=this['_source']['history']['_operations']['find'](_0x58ef08=>!_0x58ef08['_isInit']),_0x4f6433=_0x2b1bcf?_0x2b1bcf['baseVersion']:this['_source']['history']['version'];_0x115310?(_0x115310['toVersion']<_0x4f6433&&_0x115310['_update']({'toVersion':_0x4f6433}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x191693['id'],this['_startingVersion']=_0x191693['fromVersion']):(this['_startingVersion']=_0x115310['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x4f6433,this['_continueCurrentRevision']=!0x1);}}else _0x191693&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x191693['toVersion'],this['editor']['model']['document']['history']['version']),_0x191693['fromVersion']===_0x191693['toVersion']?(0x0!==_0x191693['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x191693['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x191693['id'],this['_startingVersion']=_0x191693['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',_0x4a7dae=>!_0x4a7dae);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x2d79fb=this['repository']['getRevision'](0x0),_0xed3b7d=await this['getRevisionDocumentData'](_0x2d79fb),_0x1be8db=await this['getRevisionRootsAttributes'](_0x2d79fb);this['_replaceEditorDataWithRevisionData'](_0xed3b7d,_0x1be8db);}}['setSource'](_0x5025fd){this['_source']=_0x5025fd;}async['update'](){const _0x29d4e4=await this['_source']['getLatestVersion']();if(_0x29d4e4>this['currentRevision']['toVersion']){await this['_loadState']();const _0x2c9894=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x29d4e4});_0x2c9894['authors']=_0x2c9894['authorsIds']['map'](_0x2c9620=>this['editor']['plugins']['get']('Users')['getUser'](_0x2c9620)),this['currentRevision']['_update'](_0x2c9894);}}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'](_0x5128eb={},_0x3f544f=null){const _0x154d19=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x3f544f>this['currentRevision']['toVersion']&&(_0x3f544f=null),null===_0x3f544f&&(_0x3f544f=await this['_source']['getLatestVersion']());const _0x540551=this['_getFromVersion'](_0x3f544f),_0x2aa4f9=this['buildRevisionData']({'from':_0x540551,'to':_0x3f544f});if(this['currentRevision']['toVersion']<_0x3f544f){const _0x45b132=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x3f544f,'to':_0x3f544f});_0x45b132['authors']=[],_0x45b132['authorsIds']=[],_0x45b132['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x45b132,!0x0),delete _0x45b132['authors'],_0x154d19['push'](_0x45b132);}_0x5128eb['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x5128eb['name']=_0x5128eb['name']||null,_0x5128eb['id']=_0x5128eb['id']||_0x56e194(),_0x5128eb={..._0x5128eb,..._0x2aa4f9};const _0x3713ed=this['addRevisionData'](_0x5128eb);_0x154d19['push'](_0x5128eb);const _0x336695=this['repository']['getIndex'](_0x3713ed);if(0x0!==_0x336695){const _0x4e2a05=this['repository']['getRevision'](_0x336695-0x1);if(_0x4e2a05['fromVersion']!==_0x3f544f){const _0x26c810=this['_revisionDataBuilder']['getData'](_0x3f544f,_0x4e2a05['toVersion']),_0x97f24={'id':_0x4e2a05['id'],'diffData':_0x26c810['diffData'],'authorsIds':_0x26c810['authorsIds'],'authors':_0x26c810['authorsIds']['map'](_0x2d98bf=>this['editor']['plugins']['get']('Users')['getUser'](_0x2d98bf)),'fromVersion':_0x3f544f};_0x4e2a05===this['currentRevision']&&(_0x97f24['createdAt']=new Date(_0x5128eb['createdAt']['getTime']()+0xa)),_0x4e2a05['_update'](_0x97f24,!0x0),delete _0x97f24['authors'],_0x154d19['push'](_0x97f24);}}if(this['adapter']){for(const _0x1f44ce of _0x154d19)this['_bufferUpdate'](_0x1f44ce['id'],_0x1f44ce,!0x0);this['sendBufferedUpdates']();}return _0x3713ed;}['addRevisionData'](_0x584444){const _0x49cc17=this['repository']['createRevision'](_0x584444);return this['adapter']&&_0x49cc17['on']('_update',(_0x3ad16d,_0x46439b,_0x7e7c94)=>{_0x7e7c94||(this['_bufferUpdate'](_0x46439b['id'],_0x46439b,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x49cc17,this['_findInsertionIndex'](_0x49cc17)),_0x49cc17;}async['getRevisionDocumentData'](_0x2443ef){await this['_loadRevisionData'](_0x2443ef);const _0x44d69f={};for(const _0x510008 in _0x2443ef['diffData']){if(_0x2443ef['diffData'][_0x510008]['attachChange']&&!_0x2443ef['diffData'][_0x510008]['attachChange']['isAttached'])continue;const _0x4c1243=this['_removeRevisionMarkers'](JSON['parse'](_0x2443ef['diffData'][_0x510008]['insertions'])),_0x273d44=this['editor']['editing']['view']['document'],_0x324d92=new _0x46e1cf(_0x273d44,_0x4c1243['map'](_0xe12e5f=>B(_0xe12e5f,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x44d69f[_0x510008]=this['editor']['data']['processor']['toData'](_0x324d92),this['editor']['data']['processor']['useFillerType']('default');}return _0x44d69f;}async['getRevisionRootsAttributes'](_0x479712){await this['_loadRevisionData'](_0x479712);const _0x28acf8={};for(const _0x3a51ae in _0x479712['diffData'])_0x479712['diffData'][_0x3a51ae]['attachChange']&&!_0x479712['diffData'][_0x3a51ae]['attachChange']['isAttached']||(_0x28acf8[_0x3a51ae]=_0x479712['diffData'][_0x3a51ae]['attributesAfter']||{});return _0x28acf8;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x2eda51=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x4778af=0x0;_0x4778af<_0x2eda51['length'];_0x4778af++){const _0x5c71fd=_0x2eda51[_0x4778af];let _0x460bb3=!0x1;for(const _0x599d36 of Object['keys'](_0x5c71fd))void 0x0===_0x5c71fd[_0x599d36]?delete _0x5c71fd[_0x599d36]:'id'!==_0x599d36&&(_0x460bb3=!0x0);_0x460bb3||(_0x2eda51[_0x4778af]=null);}if(_0x2eda51=_0x2eda51['filter'](_0x36203b=>null!==_0x36203b),!_0x2eda51['length'])return;for(let _0x6d840d=0x0;_0x6d840d<_0x2eda51['length'];_0x6d840d++){const _0xe6bcd3=_0x2eda51[_0x6d840d];void 0x0!==_0xe6bcd3['fromVersion']&&void 0x0===_0xe6bcd3['toVersion']&&(_0xe6bcd3['toVersion']=this['repository']['getRevision'](_0xe6bcd3['id'])['toVersion']),void 0x0!==_0xe6bcd3['toVersion']&&void 0x0===_0xe6bcd3['fromVersion']&&(_0xe6bcd3['fromVersion']=this['repository']['getRevision'](_0xe6bcd3['id'])['fromVersion']);}const _0x5b6ac6=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x2eda51,_0x5b6ac6)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x16f011=>{if(_0x16f011){for(const _0x572d09 of _0x16f011)this['setRevisionData']({'id':_0x572d09['id'],'createdAt':_0x572d09['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x3402f6,_0x3ddd9e){let _0x5f1dbf=this['editor']['config']['get']('initialData'),_0x3eb5f8=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x5f1dbf){_0x5f1dbf={};for(const _0xe1b2b0 of this['editor']['model']['document']['getRootNames']())_0x5f1dbf[_0xe1b2b0]='';}if('string'==typeof _0x5f1dbf&&(_0x5f1dbf={'main':_0x5f1dbf}),void 0x0===_0x3eb5f8){_0x3eb5f8={};for(const _0x412c51 of this['editor']['model']['document']['getRootNames']())_0x3eb5f8[_0x412c51]={};}let _0x51f7aa=!0x1;const _0x570502=Object['keys'](_0x5f1dbf),_0x142369=Object['keys'](_0x3402f6);for(const _0x150bbd of _0x570502){if(_0x5f1dbf[_0x150bbd]!==_0x3402f6[_0x150bbd]&&''!==_0x5f1dbf[_0x150bbd]['trim']()){_0x51f7aa=!0x0;break;}if(!_0x6b191(_0x3eb5f8[_0x150bbd],_0x3ddd9e[_0x150bbd])&&Object['keys'](_0x3eb5f8[_0x150bbd])['length']>0x0){_0x51f7aa=!0x0;break;}}_0x51f7aa||(_0x51f7aa=_0x142369['some'](_0x75190f=>!this['editor']['model']['document']['getRoot'](_0x75190f))),_0x51f7aa&&_0x55f417('editor-initial-data-replaced-with-revision-data',{'editorData':_0x5f1dbf,'editorRootsAttributes':_0x3eb5f8,'revisionData':_0x3402f6,'revisionRootsAttributes':_0x3ddd9e}),this['editor']['config']['set']('initialData',_0x3402f6),this['editor']['config']['set']('rootsAttributes',_0x3ddd9e);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x5ad5f3=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x5ad5f3['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x2fb263){const _0x507152=this['repository']['getRevisions']();_0x507152['reverse']();let _0x2b3a64=0x0;for(;_0x2b3a64<_0x507152['length'];){const _0x2f16fb=_0x507152[_0x2b3a64];if(_0x2f16fb===this['currentRevision']){_0x2b3a64++;continue;}if(_0x2f16fb['id']===this['_initialRevisionId'])break;const _0x1ca0e7=_0x2fb263['toVersion']-_0x2f16fb['toVersion']||_0x2fb263['fromVersion']-_0x2f16fb['fromVersion'];if(_0x1ca0e7>0x0)break;if(_0x1ca0e7<0x0)_0x2b3a64++;else{if(!_0x2fb263['creator']&&_0x2f16fb['creator'])break;if(_0x2f16fb['creator']||!_0x2fb263['creator']){if(_0x2fb263['createdAt']>_0x2f16fb['createdAt'])break;_0x2b3a64++;}else _0x2b3a64++;}}return _0x2b3a64;}['setRevisionData'](_0x29b751){const _0x545553=this['repository']['getRevision'](_0x29b751['id']);if(_0x29b751['createdAt']&&(_0x29b751['createdAt']=new Date(_0x29b751['createdAt'])),_0x29b751['authorsIds']){const _0x43abff=this['editor']['plugins']['get']('Users');_0x29b751['authors']=_0x29b751['authorsIds']['map'](_0x1060e1=>_0x43abff['getUser'](_0x1060e1));}_0x545553['_update'](_0x29b751,!0x0);}['buildRevisionData']({revision:_0x26fe1f=null,from:_0x398a9f=null,to:_0x3284ba=null}){_0x398a9f=null!==_0x398a9f?_0x398a9f:_0x26fe1f['fromVersion'],_0x3284ba=null!==_0x3284ba?_0x3284ba:_0x26fe1f['toVersion'];const _0x47f946=this['_revisionDataBuilder']['getData'](_0x398a9f,_0x3284ba),_0x9606a0={'diffData':_0x47f946['diffData'],'authorsIds':_0x47f946['authorsIds'],'fromVersion':_0x398a9f,'toVersion':_0x3284ba};if(!_0x26fe1f||_0x3284ba!==_0x26fe1f['toVersion']){const _0x585bb8=_0x3284ba-0x1,_0x2ef2e7=this['_source']['history']['getOperation'](_0x585bb8);_0x9606a0['createdAt']=_0x2ef2e7&&_0x2ef2e7['createdAt']||new Date();}if(this['_loadedStateData']&&_0x398a9f===this['_loadedStateData']['fromVersion']){for(const _0x1cd739 of this['_loadedStateData']['authors'])_0x9606a0['authorsIds']['includes'](_0x1cd739['id'])||_0x9606a0['authorsIds']['push'](_0x1cd739['id']);}return _0x9606a0;}['_loadRevisionData'](_0x50b708){if(!_0x50b708||_0x50b708['diffData'])return Promise['resolve']();{const _0x2b9639=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x2b9639,'revisionId':_0x50b708['id']})['then'](_0x3cf613=>{_0x50b708['diffData']=_0x3cf613['diffData'];});}}['_bufferUpdate'](_0x4da8d3,_0x96bd3,_0x2d1fd3){if(this['_bufferedUpdates']['has'](_0x4da8d3)){const _0x339898=this['_bufferedUpdates']['get'](_0x4da8d3);_0x96bd3=_0x2d1fd3?{..._0x339898,..._0x96bd3}:{..._0x96bd3,..._0x339898};}this['_bufferedUpdates']['set'](_0x4da8d3,_0x96bd3);}['_getFromVersion'](_0x1f8339){const _0x258cf4=this['repository']['getRevisions']();_0x258cf4['reverse'](),_0x258cf4['shift']();const _0x217c5d=_0x258cf4['find'](_0x82f94c=>_0x82f94c['toVersion']<=_0x1f8339)['toVersion'];return _0x217c5d<this['_startingVersion']?this['_startingVersion']:_0x217c5d;}['_createInitialRevision'](_0x5b3036){const _0xf5447b=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0xf5447b)this['_initialRevisionId']=_0xf5447b['id'];else{const _0x2f77ca=!this['editor']['model']['document']['roots']['find'](_0x11bb4c=>this['editor']['model']['hasContent'](_0x11bb4c)),_0x155c0d=this['editor']['plugins']['get']('Users')['me']['id'],_0x5995fe=y(this['editor']['locale'],_0x2f77ca?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x5b3036,'to':_0x5b3036,'id':this['_initialRevisionId'],'name':_0x5995fe,'creatorId':_0x155c0d});}}['_createCurrentRevision'](_0x444111){const _0x594dac=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x594dac),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0x444111,'to':_0x444111,'id':_0x594dac,'name':'','creatorId':null}));}['_makeRevision']({name:_0x5a5438,from:_0x447a2b,to:_0x26d6ec,creatorId:_0x1edb6f,id:_0x1b1576}){const _0x304334=this['buildRevisionData']({'from':_0x447a2b,'to':_0x26d6ec});_0x304334['name']=_0x5a5438,_0x304334['creatorId']=_0x1edb6f,_0x304334['id']=_0x1b1576;const _0xfe7535=this['addRevisionData'](_0x304334);return this['adapter']&&this['_bufferUpdate'](_0x304334['id'],_0x304334,!0x0),_0xfe7535;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x17ac07){return(_0x17ac07=_0x17ac07['filter'](_0x3ee9bd=>!_0x3ee9bd['name']||'revision-start'!==_0x3ee9bd['name']&&'revision-end'!==_0x3ee9bd['name']))['forEach'](_0x27dbc6=>{'string'!=typeof _0x27dbc6&&(_0x27dbc6['children']=this['_removeRevisionMarkers'](_0x27dbc6['children']),_0x27dbc6['attributes']=_0x27dbc6['attributes']['filter'](_0x4833d9=>!_0x4833d9[0x0]['startsWith']('data-revision-')));}),_0x17ac07;}}function B(_0x57bf17,_0x305209){const _0x3369f5=_0x305209['editing']['view']['document'];if('string'==typeof _0x57bf17)return new _0x54bf7e(_0x3369f5,_0x57bf17);{const _0x16be7f=_0x57bf17['children']['map'](_0x7dd514=>B(_0x7dd514,_0x305209));return new(T[_0x57bf17['type']]||_0x1d714e)(_0x3369f5,_0x57bf17['name'],_0x57bf17['attributes'],_0x16be7f);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x394742){this['editor']=_0x394742,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'](_0x54f71c){this['source']=_0x54f71c;const _0x5b86ea=new Map(),_0x449a11=new Map(),_0x5c622e=this['editor']['model']['document']['roots']['map'](_0x171e64=>_0x171e64['rootName']);for(const _0x3662ae of _0x5c622e){const _0x2b26e2=this['editor']['model']['document']['getRoot'](_0x3662ae),_0xc85b9d=q(_0x2b26e2);_0x5b86ea['set'](_0x3662ae,_0xc85b9d),_0x449a11['set'](_0x3662ae,Object['fromEntries'](_0x2b26e2['getAttributes']()));}const _0x1aff3e=Array['from'](this['editor']['model']['markers'])['map'](_0x2149e4=>[_0x2149e4['name'],_0x2149e4['getRange']()]),_0x308f06=this['source']['version'];this['_saveMetaData'](_0x308f06,_0x5b86ea,_0x1aff3e,_0x449a11),this['_startingRevisionId']=this['_revisionId'];const _0x3385fe=new Map(),_0x174293=new Map();for(const _0x18ad10 of _0x5c622e){const _0x4ec34e=G(_0x18ad10);_0x3385fe['set'](_0x18ad10,_0x4ec34e),_0x174293['set'](_0x18ad10,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x3385fe,[],_0x174293);}['getData'](_0x3e9457,_0xcbd06f){if(this['_lastFrom']===_0x3e9457&&this['_lastTo']<=_0xcbd06f)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0xcbd06f,!0x0);else{if(!this['_savedMetaData']['has'](_0x3e9457)){const _0x2e529a=this['_getPreviousFrom'](_0x3e9457);this['_calculateMetaData'](_0x2e529a,_0x3e9457,!0x1);}this['_calculateMetaData'](_0x3e9457,_0xcbd06f,!0x0);}return this['_lastFrom']=_0x3e9457,this['_lastTo']=_0xcbd06f,this['_getState']();}['loadState'](_0x15f91a){this['_reset'](),this['_lastFrom']=_0x15f91a['fromVersion'],this['_lastTo']=_0x15f91a['toVersion'];for(const _0x1a3503 in _0x15f91a['diffData']){const _0x168166=_0x15f91a['diffData'][_0x1a3503]['attachChange'],_0x305e2b=_0x226d0b(_0x15f91a['diffData'][_0x1a3503]['attributesBefore'])||{},_0xab7c77=this['_makeModelFromViewString'](_0x15f91a['diffData'][_0x1a3503]['deletions']);_0xab7c77['rootName']=_0x1a3503,_0xab7c77['_isAttached']=!_0x168166||!_0x168166['isAttached'],_0xab7c77['isAttached']=()=>_0xab7c77['_isAttached'],this['_baseRoots']['set'](_0x1a3503,_0xab7c77),this['_baseRootsAttributes']['set'](_0x1a3503,_0x305e2b),_0x168166&&this['_touchedRoots']['set'](_0x1a3503,_0x168166);const _0x3b69b8=this['_makeIdsRoot'](_0xab7c77);this['_baseIdsRoots']['set'](_0x1a3503,_0x3b69b8);for(const [_0x1281ac,_0x1b6967]of _0xab7c77['markers']){if(!_0x1281ac['startsWith']('revision:'))continue;const _0x3412a8=_0x1281ac['split'](':')[0x2];for(const _0xfdefa5 of _0x1b6967['getWalker']({'singleCharacters':!0x0})){const _0xb54313=this['_getVidAttributeName'](_0xfdefa5),_0x332b68='elementEnd'==_0xfdefa5['type']?_0xfdefa5['previousPosition']['path']['slice'](0x0,-0x1):_0xfdefa5['previousPosition']['path'],_0x151ce7=_0x3b69b8['getNodeByPath'](_0x332b68)['getAttribute'](_0xb54313);this['_touched']['set'](_0x151ce7,{'userId':_0x3412a8});}}}this['_startingRevisionId']=this['_revisionId'];const _0x13db3e=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x84bc73=>!this['_touched']['has'](_0x84bc73));let _0x420f42=0x0;const _0x2372d7=new Map();for(const _0x415a70 in _0x15f91a['diffData']){const _0x226a8d=_0x15f91a['diffData'][_0x415a70]['attachChange'],_0x53059c=_0x226d0b(_0x15f91a['diffData'][_0x415a70]['attributesAfter'])||{},_0x25ea46=this['_makeModelFromViewString'](_0x15f91a['diffData'][_0x415a70]['insertions']);_0x25ea46['rootName']=_0x415a70,_0x25ea46['_isAttached']=!_0x226a8d||_0x226a8d['isAttached'],_0x25ea46['isAttached']=()=>_0x25ea46['_isAttached'],this['_diffRoots']['set'](_0x415a70,_0x25ea46),this['_diffRootsAttributes']['set'](_0x415a70,_0x53059c);const _0x1f1750=this['_makeIdsRoot'](_0x25ea46,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x415a70,_0x1f1750),_0x2372d7['set'](_0x415a70,_0x25ea46['isAttached']()?_0x53059c:{});for(const [_0x56ca43,_0x528e63]of _0x25ea46['markers']){if(!_0x56ca43['startsWith']('revision:'))continue;const _0x5131bb=_0x56ca43['split'](':')[0x2];for(const _0x58acad of _0x528e63['getWalker']({'singleCharacters':!0x0})){const _0x54bb34=this['_getVidAttributeName'](_0x58acad),_0x50acdd=this['_revisionId']++,_0x1c10d2='elementEnd'==_0x58acad['type']?_0x58acad['previousPosition']['path']['slice'](0x0,-0x1):_0x58acad['previousPosition']['path'];_0x1f1750['getNodeByPath'](_0x1c10d2)['_setAttribute'](_0x54bb34,_0x50acdd),this['_touched']['set'](_0x50acdd,{'userId':_0x5131bb});}}for(const _0x3ef2fa of this['editor']['model']['createRangeIn'](_0x25ea46)['getWalker']({'singleCharacters':!0x0})){const _0x26e509=this['_getVidAttributeName'](_0x3ef2fa),_0x30775f='elementEnd'==_0x3ef2fa['type']?_0x3ef2fa['previousPosition']['path']['slice'](0x0,-0x1):_0x3ef2fa['previousPosition']['path'],_0x363278=_0x1f1750['getNodeByPath'](_0x30775f);_0x363278['getAttribute'](_0x26e509)>0x0||_0x363278['_setAttribute'](_0x26e509,_0x13db3e[_0x420f42++]);}for(const [_0x39f7c9,_0x4f47a3]of _0x25ea46['markers'])_0x39f7c9['startsWith']('revision:')||this['_markers']['set'](_0x39f7c9,_0x4f47a3);}const _0x4b595a=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0x4b595a),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x4b595a,0x1));const _0x3caf71=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x3caf71),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x3caf71,0x1));const _0x2b3929=Array['from'](this['_diffRoots'])['map'](([_0x1acb8e,_0x3dd819])=>[_0x1acb8e,q(_0x3dd819)]);this['_saveMetaData'](this['_lastTo'],_0x2b3929,this['_markers'],_0x2372d7);}['_makeModelFromViewString'](_0x1e0bcc){const _0xadb9b3=JSON['parse'](_0x1e0bcc),_0x1d1f33=this['editor']['editing']['view']['document'],_0x3f590b=new _0x46e1cf(_0x1d1f33,_0xadb9b3['map'](_0x294bf2=>B(_0x294bf2,this['editor'])));return this['editor']['data']['toModel'](_0x3f590b);}['_saveMetaData'](_0x59a16c,_0xc4571f,_0xc4f036,_0x245540){const _0x1d848b=new Map(_0xc4571f),_0x520f09=new Map(_0x226d0b(_0x245540)),_0x52f5d2=new Map();for(const [_0x1b993e,_0x2854f6]of _0xc4f036)_0x52f5d2['set'](_0x1b993e,{'start':_0x2854f6['start']['clone'](),'end':_0x2854f6['end']['clone'](),'rootName':_0x2854f6['root']['rootName']});this['_savedMetaData']['set'](_0x59a16c,{'roots':_0x1d848b,'markers':_0x52f5d2,'rootsAttributes':_0x520f09});}['_removeMetaData'](_0x591007){this['_savedMetaData']['delete'](_0x591007);}['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'](_0x1d6bef,_0x178aa3=null){let _0x45553b=null;_0x1d6bef['is']('documentFragment')||(_0x45553b=new ft(_0x1d6bef['name'],{'vid_start':null===_0x178aa3?this['_revisionId']++:_0x178aa3++}));const _0x39ea1a=[];for(const _0x5ed922 of _0x1d6bef['getChildren']())if(_0x5ed922['is']('element')){_0x39ea1a['push'](this['_makeIdsRoot'](_0x5ed922,_0x178aa3));const _0x554296=_0x39ea1a[_0x39ea1a['length']-0x1];null!==_0x178aa3&&(_0x178aa3=_0x554296['is']('element','$text')?_0x554296['getAttribute']('vid')+0x1:_0x554296['getAttribute']('vid_end')+0x1);}else{for(let _0x308a56=0x0;_0x308a56<_0x5ed922['offsetSize'];_0x308a56++)_0x39ea1a['push'](new ft('$text',{'vid':null===_0x178aa3?this['_revisionId']++:_0x178aa3++}));}if(_0x1d6bef['is']('documentFragment')){const _0xa2cb3d=G(_0x1d6bef['rootName']);return _0xa2cb3d['_insertChild'](0x0,_0x39ea1a),_0xa2cb3d;}return _0x45553b['_setAttribute']('vid_end',null===_0x178aa3?this['_revisionId']++:_0x178aa3++),_0x45553b['_insertChild'](0x0,_0x39ea1a),_0x45553b;}['_calculateMetaData'](_0x1b583e,_0x3eba52,_0x3debbc){this['_reset']();const {roots:_0x921d68,markers:_0x1acfd3,rootsAttributes:_0x11e998}=this['_savedMetaData']['get'](_0x1b583e);this['_baseRoots']=new Map(_0x921d68),this['_baseRootsAttributes']=new Map(_0x226d0b(_0x11e998));for(const [_0x10aaf6,_0x21c6b8]of this['_baseRoots'])if('$graveyard'!==_0x10aaf6&&(this['_diffRoots']['set'](_0x10aaf6,q(_0x21c6b8)),this['_diffRootsAttributes']=new Map(_0x226d0b(_0x11e998)),_0x3debbc)){const _0x2c19b9=this['_revisionId'];this['_idsRoots']['set'](_0x10aaf6,this['_makeIdsRoot'](_0x21c6b8)),this['_baseIdsRoots']['set'](_0x10aaf6,this['_makeIdsRoot'](_0x21c6b8,_0x2c19b9));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x3debbc&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0xa0fca6,_0x4e63d8]of _0x1acfd3){const _0x29ae28=this['_baseRoots']['get'](_0x4e63d8['rootName']),_0x4b42cb=this['_diffRoots']['get'](_0x4e63d8['rootName']),_0x436539=new vt(this['_fixPosition'](_0x4e63d8['start'],_0x29ae28),this['_fixPosition'](_0x4e63d8['end'],_0x29ae28)),_0x212041=this['_fixRange'](_0x436539,_0x4b42cb);_0x29ae28['markers']['set'](_0xa0fca6,_0x436539),this['_markers']['set'](_0xa0fca6,_0x212041);}this['_applyOperations'](_0x1b583e,_0x3eba52,_0x3debbc);}['_applyOperations'](_0x1309c4,_0x558df0,_0x2abf7b){for(const _0x4292c2 of this['source']['getOperations'](_0x1309c4,_0x558df0))this['_handleOperation'](_0x4292c2,_0x2abf7b);for(const _0x435746 of this['_diffRoots']['values']())_0x435746['markers']['clear']();for(const [_0x411bb0,_0x5c6e05]of this['_markers']){this['_diffRoots']['get'](_0x5c6e05['root']['rootName'])['markers']['set'](_0x411bb0,_0x5c6e05['clone']());}const _0x16e9f0=new Map(),_0x5660e3=new Map();for(const [_0x1c384a,_0x3fe7fc]of this['_diffRoots'])_0x16e9f0['set'](_0x1c384a,q(_0x3fe7fc)),_0x5660e3['set'](_0x1c384a,this['_diffRootsAttributes']['get'](_0x1c384a));this['_saveMetaData'](_0x558df0,_0x16e9f0,this['_markers'],_0x5660e3);}['_getPreviousFrom'](_0x2a2c83){const _0x42e9d7=Array['from'](this['_savedMetaData']['keys']());_0x42e9d7['sort']((_0x8b80cd,_0x19ab6a)=>_0x8b80cd-_0x19ab6a),_0x42e9d7['reverse']();for(const _0x56aeb8 of _0x42e9d7)if(_0x56aeb8<_0x2a2c83)return _0x56aeb8;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x792c1e,_0x19534f){const _0x300f2=Array['from'](_0x19534f['markers'])['map'](([_0x211474,_0x569a17])=>[_0x211474,this['_fixRange'](_0x569a17,_0x792c1e)]);_0x792c1e['markers']=new Map(_0x300f2);}['_transformMarkers'](_0x285b93){for(const _0x1aedc5 of this['_markers']['values']()){const _0x58f899=_0x1aedc5['getTransformedByOperation'](_0x285b93),_0x37667f=vt['_createFromRanges'](_0x58f899);_0x1aedc5['start']=_0x37667f['start'],_0x1aedc5['end']=_0x37667f['end'];}}['_handleOperation'](_0x176213,_0x89b6f1){if('addRoot'==_0x176213['type']||'detachRoot'==_0x176213['type'])return void this['_handleRootOperation'](_0x176213,_0x89b6f1);if('insert'==_0x176213['type']){const _0x47b959=_0x176213['position']['root']['rootName'];this['_diffRoots']['has'](_0x47b959)||(this['_diffRoots']['set'](_0x47b959,G(_0x47b959,!0x0)),this['_diffRootsAttributes']['set'](_0x47b959,{}),_0x89b6f1&&this['_idsRoots']['set'](_0x47b959,G(_0x47b959,!0x0)));}else{if('addRootAttribute'==_0x176213['type']||'removeRootAttribute'==_0x176213['type']||'changeRootAttribute'==_0x176213['type'])return void this['_handleRootAttributeOperation'](_0x176213);}const _0x3db0b2=this['_cloneOperation'](_0x176213,this['_diffRoots']);if('marker'!==_0x176213['type']&&(_0x3db0b2['_execute'](),this['_transformMarkers'](_0x3db0b2)),_0x89b6f1)switch(_0x3db0b2['type']){case'insert':this['_handleInsertOperation'](_0x176213);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x176213);break;case'merge':this['_handleMergeOperation'](_0x176213);break;case'split':this['_handleSplitOperation'](_0x176213);break;case'marker':this['_handleMarkerOperation'](_0x176213);}}['_cloneOperation'](_0x396812,_0x55579c){const _0x293917=_0x396812['clone']();return _0x293917['_authorId']=_0x396812['_authorId'],this['_fixOperation'](_0x293917,_0x55579c),_0x293917;}['_getBaseVids'](_0x142bfe){return _0x142bfe['map'](_0x2efcf6=>{const _0x57158c=this['_getVidAttributeName'](_0x2efcf6);return Number(_0x2efcf6['item']['getAttribute'](_0x57158c));});}['_generateTape'](_0x25e1df,_0x47fd5f){if(_0x25e1df['is']('element','$text'))_0x47fd5f['push']({'item':_0x25e1df,'type':'text'});else{_0x25e1df['is']('element')&&_0x47fd5f['push']({'item':_0x25e1df,'type':'elementStart'});for(const _0x4c0bc3 of _0x25e1df['getChildren']())this['_generateTape'](_0x4c0bc3,_0x47fd5f);_0x25e1df['is']('element')&&_0x47fd5f['push']({'item':_0x25e1df,'type':'elementEnd'});}return _0x47fd5f;}['_getState'](){const _0x487aa3=new Map(this['_touched']),_0x29f324=new Map(_0x487aa3),_0x3f88e4=new Map(),_0x57d9f3={'insertions':{},'deletions':{}},_0x1ebc99={'insertions':{},'deletions':{}},_0x41144f=new Map(),_0x598c13=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x598c13['delete']('$graveyard');for(const _0x2098ea of _0x598c13){const _0x391350=this['_diffRoots']['get'](_0x2098ea)||G(_0x2098ea,!0x1),_0x5f5593=this['_baseRoots']['get'](_0x2098ea)||G(_0x2098ea,!0x1);_0x391350['isAttached']()||_0x5f5593['isAttached']()?(_0x57d9f3['insertions'][_0x2098ea]=q(_0x391350),_0x57d9f3['deletions'][_0x2098ea]=q(_0x5f5593),this['_copyMarkers'](_0x57d9f3['deletions'][_0x2098ea],_0x5f5593),this['_copyMarkers'](_0x57d9f3['insertions'][_0x2098ea],_0x391350),_0x1ebc99['insertions'][_0x2098ea]=this['_generateTape'](this['_idsRoots']['get'](_0x2098ea),[]),_0x1ebc99['deletions'][_0x2098ea]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x2098ea)||G(_0x2098ea,!0x1),[])):_0x598c13['delete'](_0x2098ea);}for(const _0x2678fa of _0x598c13){const _0x3d42b6=_0x1ebc99['insertions'][_0x2678fa];for(const _0x26bd7f of _0x3d42b6){const _0x59bf61=this['_getVidAttributeName'](_0x26bd7f),_0x56e0a2=_0x26bd7f['item']['getAttribute'](_0x59bf61);_0x29f324['delete'](_0x56e0a2),_0x56e0a2>=this['_startingRevisionId']&&_0x3f88e4['set'](_0x56e0a2,_0x487aa3['get'](_0x56e0a2));}}for(const _0x3f9fe6 of _0x598c13){const _0x47cdee=_0x1ebc99['insertions'][_0x3f9fe6],_0x21b975=this['_getBaseVids'](_0x1ebc99['deletions'][_0x3f9fe6]);let _0x12dc7f=0x0;for(const _0x3ddc7a of _0x47cdee){const _0x1ff938=this['_getVidAttributeName'](_0x3ddc7a),_0x1f5e2f=_0x3ddc7a['item']['getAttribute'](_0x1ff938);if(!_0x3f88e4['has'](_0x1f5e2f)&&!_0x41144f['has'](_0x1f5e2f)){if(_0x29f324['has'](_0x1f5e2f))_0x12dc7f++;else{if(_0x1f5e2f!=_0x21b975[_0x12dc7f]){const _0x3700df=_0x487aa3['get'](_0x1f5e2f)||_0x487aa3['get'](_0x21b975[_0x12dc7f]);for(;_0x1f5e2f!=_0x21b975[_0x12dc7f];)_0x29f324['has'](_0x21b975[_0x12dc7f])||(_0x41144f['set'](_0x21b975[_0x12dc7f],_0x3700df),_0x487aa3['set'](_0x21b975[_0x12dc7f],_0x3700df)),_0x12dc7f++;}_0x12dc7f++;}}}}for(const _0x4c8fe5 of _0x598c13){const _0x4b7e84=_0x1ebc99['insertions'][_0x4c8fe5];for(const _0x4aa658 of _0x4b7e84){const _0x1b65c8=this['_getVidAttributeName'](_0x4aa658),_0x1eba7a=_0x4aa658['item']['getAttribute'](_0x1b65c8);if(_0x41144f['has'](_0x1eba7a)){const _0x240fc9=_0x41144f['get'](_0x1eba7a);_0x29f324['has'](_0x1eba7a)||_0x29f324['set'](_0x1eba7a,{..._0x240fc9}),_0x3f88e4['set'](_0x1eba7a,{..._0x240fc9});}}}for(const _0x5bb54c of _0x29f324['keys']())_0x5bb54c>=this['_startingRevisionId']&&_0x29f324['delete'](_0x5bb54c);const _0x3249f8=new Map();for(const _0x4fa230 of _0x598c13){let _0x45e56d=_0x1ebc99['insertions'][_0x4fa230];for(const _0x4f218c of _0x45e56d)if(_0x4f218c['item']['is']('element','tableCell')){const _0x54940d=this['_getVidAttributeName'](_0x4f218c),_0x3cc491=_0x4f218c['item']['getAttribute'](_0x54940d);if(_0x3f88e4['has'](_0x3cc491)){const _0x3463a4=_0x4f218c['item']['parent']['parent']['getAttribute']('vid_start'),_0x3a79e7=_0x3249f8['get'](_0x3463a4)||new Set();_0x3a79e7['add'](_0x3f88e4['get'](_0x3cc491)['userId']),_0x3249f8['set'](_0x3463a4,_0x3a79e7);}}_0x45e56d=_0x1ebc99['deletions'][_0x4fa230];for(const _0x12ae07 of _0x45e56d)if(_0x12ae07['item']['is']('element','tableCell')){const _0x3b65dc=this['_getVidAttributeName'](_0x12ae07),_0x1f73b1=_0x12ae07['item']['getAttribute'](_0x3b65dc);if(_0x29f324['has'](_0x1f73b1)){const _0x355691=_0x12ae07['item']['parent']['parent']['getAttribute']('vid_start'),_0x3ed24b=_0x3249f8['get'](_0x355691)||new Set();_0x3ed24b['add'](_0x29f324['get'](_0x1f73b1)['userId']),_0x3249f8['set'](_0x355691,_0x3ed24b);}}for(const _0x14b637 of _0x3249f8['keys']())(_0x3f88e4['has'](_0x14b637)||_0x29f324['has'](_0x14b637))&&_0x3249f8['delete'](_0x14b637);}for(const _0x403f9a of _0x598c13){const _0x22c157=_0x1ebc99['insertions'][_0x403f9a];let _0x1020d5=null,_0xbce2e2=null;for(const _0x237de9 of _0x22c157){const _0x504abe=this['_getVidAttributeName'](_0x237de9),_0x270a5b=_0x237de9['item']['getAttribute'](_0x504abe),_0x3c6a89=_0x3249f8['get'](_0x270a5b);_0x3c6a89&&'elementStart'==_0x237de9['type']&&(_0x1020d5=Array['from'](_0x3c6a89)[0x0],_0xbce2e2=_0x237de9['item']['getAttribute']('vid_end')),_0x1020d5&&(_0x29f324['set'](_0x270a5b,{'userId':_0x1020d5}),_0x3f88e4['set'](_0x270a5b,{'userId':_0x1020d5})),_0x270a5b==_0xbce2e2&&(_0x1020d5=null,_0xbce2e2=null);}}const _0x35d51e={},_0x2ab435=new Set();for(const _0x3862db of _0x598c13){const _0xa15f91=_0x57d9f3['deletions'][_0x3862db],_0x72024a=_0x57d9f3['insertions'][_0x3862db];for(const {userId:_0x24955a}of this['_touchedMarkers']['values']())null!==_0x24955a&&_0x2ab435['add'](_0x24955a);for(const {userId:_0x22d139}of this['_touchedRoots']['values']())null!==_0x22d139&&_0x2ab435['add'](_0x22d139);this['_markChanges'](_0x72024a,_0x1ebc99['insertions'][_0x3862db],_0x3f88e4,'insertion',_0x2ab435),this['_markChanges'](_0xa15f91,_0x1ebc99['deletions'][_0x3862db],_0x29f324,'deletion',_0x2ab435),_0x35d51e[_0x3862db]={'insertions':this['_prepareViewToSave'](_0x72024a),'deletions':this['_prepareViewToSave'](_0xa15f91),'attachChange':this['_touchedRoots']['get'](_0x3862db)||null,'attributesBefore':_0x226d0b(this['_baseRootsAttributes']['get'](_0x3862db))||{},'attributesAfter':_0x226d0b(this['_diffRootsAttributes']['get'](_0x3862db))};}return{'diffData':_0x35d51e,'authorsIds':Array['from'](_0x2ab435)};}['_processRootBeforeSave'](_0x9b5d5c){for(const [,_0x5e6865]of _0x9b5d5c['markers']){const _0x1f2ee5=_0x5e6865['start']['getAncestors']()['filter'](_0x43e51d=>'tableCell'==_0x43e51d['name']);for(const _0x5775d3 of _0x1f2ee5)0x1==_0x5775d3['childCount']&&_0x5775d3['getChild'](0x0)['is']('element','paragraph')&&_0x5775d3['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x4c082d){this['_processRootBeforeSave'](_0x4c082d);const _0x137ba0=this['editor']['data']['toView'](_0x4c082d,{}),_0x1f6b6b=Array['from'](_0x137ba0['getChildren']())['map'](_0x45b7f5=>this['_getViewJson'](_0x45b7f5));return JSON['stringify'](_0x1f6b6b);}['_getViewJson'](_0x272334){if(_0x272334['is']('$text'))return _0x272334['data'];{const _0x145cfa=_0x272334;return{'type':Object['keys'](T)['find'](_0x143e24=>_0x272334 instanceof T[_0x143e24]),'name':_0x145cfa['name'],'attributes':Array['from'](_0x145cfa['getAttributes']()),'children':Array['from'](_0x145cfa['getChildren']())['map'](_0x25fbe5=>this['_getViewJson'](_0x25fbe5))};}}['_markChanges'](_0x508f41,_0x535bb2,_0x153210,_0x4cb86a,_0x58ce97){let _0x25e189=null,_0x5c1dca=null,_0x45746d=0x0;const _0x2c6a0e=this['editor']['model'];for(let _0x401195=0x0;_0x401195<_0x535bb2['length'];_0x401195++){const _0x195b53=this['_getVidAttributeName'](_0x535bb2[_0x401195]),_0x361fbf=_0x535bb2[_0x401195]['item']['getAttribute'](_0x195b53),_0x4d3009=_0x153210['get'](_0x361fbf),_0x104ba9=_0x401195==_0x535bb2['length']-0x1;(!_0x25e189&&_0x4d3009&&(_0x25e189=_0x4d3009,_0x5c1dca=_0x535bb2[_0x401195]),_0x25e189&&(!_0x4d3009||_0x4d3009['userId']!=_0x25e189['userId']))&&(_0x5a1d2d(_0x4d3009,L(_0x5c1dca,_0x508f41,_0x2c6a0e),L(_0x535bb2[_0x401195],_0x508f41,_0x2c6a0e)),_0x25e189=_0x4d3009||null,_0x5c1dca=_0x4d3009?_0x535bb2[_0x401195]:null),_0x25e189&&_0x104ba9&&_0x5a1d2d(_0x4d3009,L(_0x5c1dca,_0x508f41,_0x2c6a0e),W(_0x535bb2[_0x401195],_0x508f41,_0x2c6a0e));}function _0x5a1d2d(_0x5aef2c,_0x2835a4,_0x5ae3ea){const _0x45bf39=_0x25e189['userId'],_0x4d6ff5='revision:'+_0x4cb86a+':'+_0x45bf39+':'+_0x45746d++,_0x1b845e=_0x2c6a0e['createRange'](_0x2835a4,_0x5ae3ea);_0x508f41['markers']['set'](_0x4d6ff5,_0x1b845e),null!==_0x45bf39&&_0x58ce97['add'](_0x45bf39);}}['_getVidAttributeName'](_0x367e7f){switch(_0x367e7f['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x2f1013,_0x3de54d){_0x2f1013['baseVersion']=null;for(const _0x4f3115 in _0x2f1013){const _0x12afc0=_0x2f1013[_0x4f3115];if(_0x12afc0 instanceof gt){const _0x150856=_0x3de54d['get'](_0x12afc0['root']['rootName']);_0x2f1013[_0x4f3115]=this['_fixPosition'](_0x12afc0,_0x150856);}if(_0x12afc0 instanceof vt){const _0x453d91=_0x3de54d['get'](_0x12afc0['root']['rootName']);_0x2f1013[_0x4f3115]=this['_fixRange'](_0x12afc0,_0x453d91);}'root'===_0x4f3115&&(_0x2f1013['root']=_0x3de54d['get'](_0x2f1013['root']['rootName']));}}['_fixRange'](_0x385344,_0x4f34a7){return this['editor']['model']['createRange'](this['_fixPosition'](_0x385344['start'],_0x4f34a7),this['_fixPosition'](_0x385344['end'],_0x4f34a7));}['_fixPosition'](_0x38c56c,_0x1baa9e){return this['editor']['model']['createPositionFromPath'](_0x1baa9e,_0x38c56c['path'],_0x38c56c['stickiness']);}['_handleInsertOperation'](_0x1df7aa){const _0x22ca46=this['_idsRoots']['get'](_0x1df7aa['position']['root']['rootName']),_0x41d903=this['_fixPosition'](_0x1df7aa['position'],_0x22ca46),_0x4cda6b=null===_0x1df7aa['_authorId']?null:_0x1df7aa['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1ad7f9=_0x41d903['parent'],_0x3236ae=this['_revisionId'],_0x5a6df3=[];for(const _0x2eaf23 of _0x1df7aa['nodes'])if(_0x2eaf23['is']('element'))_0x5a6df3['push'](this['_makeIdsRoot'](_0x2eaf23));else{for(let _0x5df3ed=0x0;_0x5df3ed<_0x2eaf23['offsetSize'];_0x5df3ed++)_0x5a6df3['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x5f3319=this['_revisionId'];for(let _0x5bcd69=_0x3236ae;_0x5bcd69<_0x5f3319;_0x5bcd69++)this['_touched']['set'](_0x5bcd69,{'userId':_0x4cda6b});_0x1ad7f9['_insertChild'](_0x41d903['offset'],_0x5a6df3);}['_handleMoveOperation'](_0x54fcb4){(_0x54fcb4=this['_cloneOperation'](_0x54fcb4,this['_idsRoots']))['_execute']();const _0xfcefff=null===_0x54fcb4['_authorId']?null:_0x54fcb4['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x5464c0=_0x54fcb4['getMovedRangeStart'](),_0x17fcc8=_0x5464c0['parent'],_0x187367=_0x5464c0['offset'];!function _0x42b687(_0x338b88,_0x190208,_0x3e30c8,_0x2e3610){for(let _0x460613=_0x3e30c8;_0x460613<_0x2e3610;_0x460613++){const _0x14887f=_0x190208['getChild'](_0x460613);_0x14887f['is']('element','$text')?_0x338b88['set'](_0x14887f['getAttribute']('vid'),{'userId':_0xfcefff}):(_0x338b88['set'](_0x14887f['getAttribute']('vid_start'),{'userId':_0xfcefff}),_0x42b687(_0x338b88,_0x14887f,0x0,_0x14887f['childCount']),_0x338b88['set'](_0x14887f['getAttribute']('vid_end'),{'userId':_0xfcefff}));}}(this['_touched'],_0x17fcc8,_0x187367,_0x187367+_0x54fcb4['howMany']);}['_handleMergeOperation'](_0x1d1374){const _0x4d16bc=null===(_0x1d1374=this['_cloneOperation'](_0x1d1374,this['_idsRoots']))['_authorId']?null:_0x1d1374['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x469671=_0x1d1374['targetPosition']['parent'],_0x549cb5=_0x1d1374['sourcePosition']['parent'],_0x5188c1=_0x469671['getAttribute']('vid_end'),_0xb65177=_0x549cb5['getAttribute']('vid_start');_0x469671['_setAttribute']('vid_end',_0x549cb5['getAttribute']('vid_end')),_0x549cb5['_setAttribute']('vid_end',_0x5188c1),this['_touched']['set'](_0xb65177,{'userId':_0x4d16bc}),this['_touched']['set'](_0x5188c1,{'userId':_0x4d16bc}),_0x1d1374['_execute']();}['_handleSplitOperation'](_0x233de1){const _0x406756=null===(_0x233de1=this['_cloneOperation'](_0x233de1,this['_idsRoots']))['_authorId']?null:_0x233de1['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x8abda5=_0x233de1['graveyardPosition'],_0x1aba5a=_0x233de1['splitPosition']['parent'];_0x233de1['_execute']();const _0x179818=_0x1aba5a['getAttribute']('vid_end'),_0x2ebc26=_0x233de1['insertionPosition']['nodeAfter'];if(_0x8abda5){const _0x3a3469=_0x2ebc26['getAttribute']('vid_end'),_0x5b7276=_0x1aba5a['getAttribute']('vid_end');_0x1aba5a['_setAttribute']('vid_end',_0x3a3469),_0x2ebc26['_setAttribute']('vid_end',_0x5b7276),this['_touched']['set'](_0x1aba5a['getAttribute']('vid_end'),{'userId':_0x406756}),this['_touched']['set'](_0x2ebc26['getAttribute']('vid_start'),{'userId':_0x406756});}else{const _0x3e3db3=this['_revisionId']++,_0x415c38=this['_revisionId']++;_0x1aba5a['_setAttribute']('vid_end',_0x3e3db3),_0x2ebc26['_setAttribute']('vid_start',_0x415c38),_0x2ebc26['_setAttribute']('vid_end',_0x179818),this['_touched']['set'](_0x3e3db3,{'userId':_0x406756}),this['_touched']['set'](_0x415c38,{'userId':_0x406756});}}['_handleMarkerOperation'](_0x194b58){if(!_0x194b58['affectsData'])return;const _0x544f76=(_0x194b58=this['_cloneOperation'](_0x194b58,this['_diffRoots']))['oldRange']?_0x194b58['oldRange']['root']:null,_0xdfe1c6=_0x194b58['newRange']?_0x194b58['newRange']['root']:null;_0x544f76&&this['_markers']['delete'](_0x194b58['name']),_0xdfe1c6&&this['_markers']['set'](_0x194b58['name'],_0x194b58['newRange']['clone']());const _0x702281=null===_0x194b58['_authorId']?null:_0x194b58['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0xe29a66=_0x194b58['name'];if(!this['_touchedMarkers']['has'](_0xe29a66))return void this['_touchedMarkers']['set'](_0xe29a66,{'range':_0x194b58['oldRange'],'userId':_0x702281});const _0x57e9b8=this['_touchedMarkers']['get'](_0xe29a66),_0x254b1a=_0x57e9b8['range'],_0x25737f=_0x194b58['newRange'];null==_0x254b1a&&null==_0x25737f||_0x254b1a&&_0x25737f&&_0x254b1a['isEqual'](_0x25737f)?this['_touchedMarkers']['delete'](_0x194b58['name']):_0x57e9b8['userId']=_0x702281;}['_handleRootOperation'](_0x501a78,_0x234984){this['_diffRoots']['has'](_0x501a78['rootName'])?this['_diffRoots']['get'](_0x501a78['rootName'])['_isAttached']=_0x501a78['isAdd']:(this['_diffRoots']['set'](_0x501a78['rootName'],G(_0x501a78['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x501a78['rootName'],{}),_0x234984&&this['_idsRoots']['set'](_0x501a78['rootName'],G(_0x501a78['rootName'],!0x0)));const _0x379a3b=null===_0x501a78['_authorId']?null:_0x501a78['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1656a8=this['_touchedRoots']['get'](_0x501a78['rootName']);_0x1656a8&&_0x1656a8['userId']===_0x379a3b?this['_touchedRoots']['delete'](_0x501a78['rootName']):this['_touchedRoots']['set'](_0x501a78['rootName'],{'userId':_0x379a3b,'isAttached':_0x501a78['isAdd']});}['_handleRootAttributeOperation'](_0x5b849c){const _0x18a34f=this['_diffRootsAttributes']['get'](_0x5b849c['root']['rootName']);null===_0x5b849c['newValue']?delete _0x18a34f[_0x5b849c['key']]:_0x18a34f[_0x5b849c['key']]=_0x5b849c['newValue'];}}function q(_0x370e01){const _0x1efef9=G(_0x370e01['rootName'],_0x370e01['isAttached']());for(const _0xbbe3f of _0x370e01['getChildren']()){const _0x3dce85=_0xbbe3f['_clone'](!0x0);_0x1efef9['_appendChild'](_0x3dce85);}return _0x1efef9;}function G(_0x68c8f2,_0x5a7c9b=!0x0){const _0x53aa2e=new wt();return _0x53aa2e['rootName']=_0x68c8f2,_0x53aa2e['_isAttached']=_0x5a7c9b,_0x53aa2e['isAttached']=()=>_0x53aa2e['_isAttached'],_0x53aa2e;}function L(_0x152a3c,_0x14e331,_0x65ae47){const _0x3eb3f4='elementEnd'==_0x152a3c['type']?_0x65ae47['createPositionAt'](_0x152a3c['item'],'end'):_0x65ae47['createPositionBefore'](_0x152a3c['item']);return _0x65ae47['createPositionFromPath'](_0x14e331,_0x3eb3f4['path'],_0x3eb3f4['stickiness']);}function W(_0x165549,_0x1f11ee,_0x3d4267){const _0x505482='elementStart'==_0x165549['type']?_0x3d4267['createPositionAt'](_0x165549['item'],0x0):_0x3d4267['createPositionAfter'](_0x165549['item']);return _0x3d4267['createPositionFromPath'](_0x1f11ee,_0x505482['path'],_0x505482['stickiness']);}class ns extends _0x15289c{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x346079,_0x50890c){super(_0x346079),this['focusTracker']=new _0x53e0e1(),this['keystrokes']=new _0x1b2b55(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x50890c),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'](),_0xa6ba29({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x2f0e9f=_0x314592=>_0x314592['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2f0e9f),this['keystrokes']['set']('arrowleft',_0x2f0e9f),this['keystrokes']['set']('arrowup',_0x2f0e9f),this['keystrokes']['set']('arrowdown',_0x2f0e9f);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x379e46){this['revisionNameInputView']['fieldView']['element']['value']=_0x379e46['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x5373d0){const _0x128db8=new at(this['locale'],_0x3bb46d),_0x36a173=_0x128db8['fieldView'];_0x36a173['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x45f75e=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x5373d0&&(_0x45f75e+='\x20('+y(this['locale'],'optional')+')'),(_0x128db8['label']=_0x45f75e,_0x36a173['on']('input',()=>{this['revisionNameInputValue']=_0x36a173['element']['value']['trim']();}),_0x128db8);}}class u extends _0x116caf{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x12b633=this['editor'],_0x410cde=_0x12b633['plugins']['get']('RevisionTracker');_0x12b633['ui']['componentFactory']['add']('revisionHistory',_0x770d00=>{const _0x4d309f=_0x4d77d5(_0x770d00),_0x518923=_0x4d309f['panelView']['children'],_0x46b5f=new te(_0x770d00),_0x27f4d7=new _0x234025(_0x770d00),_0x4ecf00=new _0xc7e8b0(_0x770d00),_0x337823=new _0x234025(_0x770d00),_0x5add42=new _0xc7e8b0(_0x770d00);return _0x4d309f['bind']('isEnabled')['to'](_0x410cde,'isReady',_0x410cde,'isEnabled',_0x12b633,'isReadOnly',(_0x56e7c8,_0x27e796,_0x5d10f8)=>_0x56e7c8&&_0x27e796&&!_0x5d10f8),_0x4d309f['buttonView']['set']({'icon':_0xb0eab5['history'],'label':y(_0x770d00,'Revision\x20history'),'tooltip':!0x0}),_0x4ecf00['set']({'label':y(_0x770d00,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x4ecf00['bind']('isEnabled')['to'](_0x410cde,'isReady',_0x410cde,'isEnabled',_0x12b633,'isReadOnly',(_0x35cd02,_0xe49b3d,_0x2c8c2a)=>_0x35cd02&&_0xe49b3d&&!_0x2c8c2a),_0x4ecf00['on']('execute',()=>this['_showDialog']()),_0x5add42['set']({'label':y(_0x770d00,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x5add42['bind']('isEnabled')['to'](_0x410cde,'isReady',_0x12b633,'isReadOnly',(_0x46cfa0,_0x5b7e57)=>_0x46cfa0&&!_0x5b7e57),_0x5add42['on']('execute',()=>{_0x12b633['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x4d309f['isOpen']=!0x1,_0x12b633['editing']['view']['focus']();}),_0x27f4d7['children']['add'](_0x4ecf00),_0x337823['children']['add'](_0x5add42),_0x46b5f['role']='menu',_0x46b5f['items']['addMany']([_0x27f4d7,_0x337823]),_0x518923['add'](_0x46b5f),_0x4d309f;}),_0x12b633['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x566458=this['editor'],_0x551872=_0x566458['locale'],_0x5c0227=new _0x17bcb5(_0x551872),_0x3d1d4c=new _0x1d43f2(_0x551872);_0x5c0227['buttonView']['set']({'icon':_0xb0eab5['history'],'label':y(_0x551872,'Revision\x20history')});const _0x5e69f0=new _0xb347b1(_0x551872,_0x5c0227),_0x835892=new _0x7284aa(_0x551872);_0x835892['set']({'label':y(_0x551872,'Save\x20current\x20revision')}),_0x835892['delegate']('execute')['to'](_0x5c0227),_0x835892['on']('execute',()=>{this['_showDialog']();}),_0x5e69f0['children']['add'](_0x835892),_0x3d1d4c['items']['add'](_0x5e69f0);const _0x437e49=new _0xb347b1(_0x551872,_0x5c0227),_0x2ed944=new _0x7284aa(_0x551872);return _0x2ed944['set']({'label':y(_0x551872,'Open\x20revision\x20history')}),_0x2ed944['delegate']('execute')['to'](_0x5c0227),_0x2ed944['on']('execute',()=>{_0x566458['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x437e49['children']['add'](_0x2ed944),_0x3d1d4c['items']['add'](_0x437e49),_0x5c0227['panelView']['children']['add'](_0x3d1d4c),_0x5c0227;}['_showDialog'](){const _0x2eba63=this['editor'],_0x4ace7f=_0x2eba63['locale'],t=_0x4ace7f['t'],_0x84fd6a=_0x2eba63['plugins']['get']('Dialog'),_0x11ec8d=_0x2eba63['plugins']['get']('RevisionTracker');function _0x11f3aa(_0x7b90a){_0x2eba63['config']['get']('revisionHistory.requireRevisionName')&&''===_0x7b90a['revisionName']?_0x7b90a['revisionNameInputView']['errorText']=y(_0x4ace7f,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x2eba63['plugins']['get'](l)['saveRevision']({'name':_0x7b90a['revisionName']}),_0x84fd6a['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x11f3aa(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x84fd6a['show']({'id':'revisionSave','title':y(_0x4ace7f,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x84fd6a['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x153ee3){_0x153ee3['bind']('isEnabled')['to'](_0x11ec8d,'isReady',_0x11ec8d,'isEnabled',_0x2eba63,'isReadOnly',(_0x34c9af,_0x46ea5a,_0x38367c)=>_0x34c9af&&_0x46ea5a&&!_0x38367c);},'onExecute':()=>_0x11f3aa(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x36ce0f=this['editor'],_0x5a38f7=_0x36ce0f['locale'];this['_saveRevisionFormView']=new ns(_0x5a38f7,_0x36ce0f['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x15289c{['changeId'];['_model'];constructor(_0x14ba7a,_0x15f990){super(_0x14ba7a),this['_model']=_0x15f990,this['changeId']=_0x15f990['id'];const _0x52d7c1=this['bindTemplate'],_0x251ad7=y(_0x14ba7a,_0x15f990['data']['isSuggestion']?'Suggested\x20by':'add'==_0x15f990['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x15f990['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x52d7c1['to']('type',_0x180814=>'ck-revision-change__'+_0x180814)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x251ad7}]},{'text':'\x20'+_0x15f990['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
- _0x1dec53(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x36ee73){super(),this['id']=_0x36ee73['id']||_0x56e194(),this['author']=_0x36ee73['author'],this['type']=_0x36ee73['type'],this['data']=_0x36ee73['data']||{},this['rootName']=_0x36ee73['rootName'],this['set']('createdAt',_0x36ee73['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(_0x3d7fbd,_0x4015bf){this['newRevisionId']=_0x3d7fbd,this['oldRevisionId']=_0x4015bf,this['changes']=new _0x30f645();}['_setChanges'](_0x4746f4){for(const _0x499992 of _0x4746f4)this['changes']['add'](_0x499992);}}const tt={'c':_0x5b958f,'a':_0xd71261,'e':_0x2ddcb4,'r':_0x4e6e1f,'u':_0x3c06ee};class d extends _0x116caf{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x279afd,_0x476931,A];}constructor(_0x1ca3d6){super(_0x1ca3d6),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',(_0x862ff9,_0xb5d62c,_0x29ee18)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x2da587=>{for(const _0x4cbd77 of this['editor']['editing']['view']['document']['roots'])_0x29ee18?_0x2da587['removeClass']('ck-editor__editable__overlay',_0x4cbd77):_0x2da587['addClass']('ck-editor__editable__overlay',_0x4cbd77);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0x3a97ef=>null!==_0x3a97ef),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x43e173,_0x28f3d9,_0x3a7951)=>_0x43e173&&_0x3a7951?_0x28f3d9['changes']['getIndex'](_0x3a7951):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x13dc33,_0x28a196)=>_0x13dc33?_0x28a196['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x476931);}['init'](){const _0x311ddd=this['editor'],_0x2ec36c=new yt(_0x311ddd,{'direction':'backward'}),_0x29f63a=new yt(_0x311ddd,{'direction':'forward'});(_0x311ddd['commands']['add']('showPreviousChange',_0x2ec36c),_0x311ddd['commands']['add']('showNextChange',_0x29f63a),_0x311ddd['commands']['add']('restoreRevision',new bt(_0x311ddd)),this['on']('change:numberOfChanges',()=>{_0x2ec36c['refresh'](),_0x29f63a['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x311ddd['enableReadOnlyMode']('revision-viewer'),_0x311ddd['plugins']['has']('WidgetToolbarRepository'))&&_0x311ddd['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x2e7fbc){await this['loadRevisionData'](_0x2e7fbc);const _0xf9bd56={};for(const _0x54bcb1 in _0x2e7fbc['diffData']){if(_0x2e7fbc['diffData'][_0x54bcb1]['attachChange']&&!_0x2e7fbc['diffData'][_0x54bcb1]['attachChange']['isAttached'])continue;const _0x5999f1=this['_removeRevisionMarkers'](JSON['parse'](_0x2e7fbc['diffData'][_0x54bcb1]['insertions'])),_0x2e70a8=this['editor']['editing']['view']['document'],_0xfcaa0a=new _0x46e1cf(_0x2e70a8,_0x5999f1['map'](_0x5cb8ee=>this['_getViewObj'](_0x5cb8ee)));this['editor']['data']['processor']['useFillerType']('marked'),_0xf9bd56[_0x54bcb1]=this['editor']['data']['processor']['toData'](_0xfcaa0a),this['editor']['data']['processor']['useFillerType']('default');}return _0xf9bd56;}async['getRevisionRootsAttributes'](_0x10ecbf){await this['loadRevisionData'](_0x10ecbf);const _0x52ae09={};for(const _0x2b6662 in _0x10ecbf['diffData'])_0x10ecbf['diffData'][_0x2b6662]['attachChange']&&!_0x10ecbf['diffData'][_0x2b6662]['attachChange']['isAttached']||(_0x52ae09[_0x2b6662]=_0x10ecbf['diffData'][_0x2b6662]['attributesAfter']||{});return _0x52ae09;}['_removeRevisionMarkers'](_0x39b4f5){return(_0x39b4f5=_0x39b4f5['filter'](_0x2d2d8e=>!_0x2d2d8e['name']||'revision-start'!==_0x2d2d8e['name']&&'revision-end'!==_0x2d2d8e['name']))['forEach'](_0x4eaf27=>{'string'!=typeof _0x4eaf27&&(_0x4eaf27['children']=this['_removeRevisionMarkers'](_0x4eaf27['children']),_0x4eaf27['attributes']=_0x4eaf27['attributes']['filter'](_0x539601=>!_0x539601[0x0]['startsWith']('data-revision-')));}),_0x39b4f5;}async['compare'](_0x4e7c14,_0xd9383,_0x521646=!0x1){if(!this['isEnabled'])return;const _0x1d181c=this['diff'],_0x5d86e7=this['repository'],_0x55f443='string'==typeof _0x4e7c14?_0x5d86e7['getRevision'](_0x4e7c14):_0x4e7c14,_0x114b6f='string'==typeof _0xd9383?_0x5d86e7['getRevision'](_0xd9383):_0xd9383,_0x2a4c20=_0x55f443['id'],_0x1032ea=_0x114b6f?_0x114b6f['id']:null;if(!_0x521646&&this['diff']&&this['diff']['newRevisionId']===_0x2a4c20&&this['diff']['oldRevisionId']===_0x1032ea)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x2a4c20,_0x1032ea);const _0x28d146=this['_getRevisionsRange'](_0x55f443,_0x114b6f,!0x0)['map'](_0x2a9432=>this['loadRevisionData'](_0x2a9432));return _0x28d146['push'](new Promise(_0x2aedf1=>{setTimeout(_0x2aedf1,0x14);})),Promise['all'](_0x28d146)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x16e137=this['_getDiff'](_0x2a4c20,_0x1032ea);for(const _0x3c0b78 of _0x16e137['changes'])this['_changeIdToChange']['set'](_0x3c0b78['id'],_0x3c0b78);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x2fa0c3=>{for(const _0x352fa0 of this['editor']['model']['document']['getRootNames']())_0x2fa0c3['detachRoot'](_0x352fa0);for(const _0x32e4da of Object['keys'](_0x16e137['model'])){const _0x23adba=_0x2fa0c3['addRoot'](_0x32e4da);for(const _0x51b94a of Object['keys'](_0x16e137['attributes'][_0x32e4da]))_0x2fa0c3['setAttribute'](_0x51b94a,_0x16e137['attributes'][_0x32e4da][_0x51b94a],_0x23adba);_0x2fa0c3['insert'](_0x16e137['model'][_0x32e4da],_0x23adba,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x16e137['changes'])),this['isReady']=!0x0;})['catch'](_0x43288d=>{console['error'](_0x43288d),this['_cleanUp'](),_0x1d181c&&(this['diff']=_0x1d181c),this['isReady']=!0x0;});}['addRevisionData'](_0x241894,_0x5d7483){const _0x53e3d3=this['repository']['createRevision'](_0x241894);return _0x53e3d3['on']('_update',(_0x4b0f2f,_0x2a96ed,_0x171f6e)=>_0x5d7483(_0x2a96ed,_0x171f6e,_0x53e3d3)),this['repository']['addRevision'](_0x53e3d3),_0x53e3d3;}['loadRevisionData'](_0xcd0efc){if(!_0xcd0efc||_0xcd0efc['diffData'])return Promise['resolve']();{const _0x9cf5f6=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x9cf5f6,'revisionId':_0xcd0efc['id']})['then'](_0x2202ba=>{_0xcd0efc['_update']({'diffData':_0x2202ba['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},_0x4cf08a=>{for(const _0x2dcaae of this['editor']['model']['document']['getRootNames']())_0x4cf08a['detachRoot'](_0x2dcaae);});}['_sortAndFilterDiffChanges'](_0x4a475c){const _0x40e53c=[],_0x178a04=new Map();for(const _0x115d27 of this['editor']['model']['document']['getRootNames']()){const _0x4c6b74=this['editor']['editing']['view']['getDomRoot'](_0x115d27);if(!_0x4c6b74)continue;const _0x319d66=_0x4c6b74['getClientRects']()['item'](0x0);_0x319d66&&(_0x40e53c['push'](_0x115d27),_0x178a04['set'](_0x115d27,_0x319d66));}return _0x40e53c['sort']((_0x5ec94e,_0x11ba34)=>{const _0x1abfbc=_0x178a04['get'](_0x5ec94e),_0x1912d7=_0x178a04['get'](_0x11ba34);return _0x1abfbc['y']-_0x1912d7['y']||_0x1abfbc['x']-_0x1912d7['x'];}),(_0x4a475c=_0x4a475c['filter'](_0x45e520=>_0x40e53c['includes'](_0x45e520['rootName'])))['sort']((_0x5c85ab,_0x3e51fe)=>_0x40e53c['indexOf'](_0x5c85ab['rootName'])-_0x40e53c['indexOf'](_0x3e51fe['rootName'])),_0x4a475c;}['_makeTape'](_0x1b947d){const _0x3de36c=Array['from'](_0x1b947d['markers'])['filter'](([_0x202ed6,_0x51c312])=>_0x202ed6['startsWith']('revision:')&&!_0x51c312['isCollapsed']),_0x818de=Array['from'](this['editor']['model']['createRangeIn'](_0x1b947d)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x3de36c['length'])for(const _0x38355b of _0x818de){const [_0x1ac5df,_0x2e958d]=_0x3de36c[0x0],[,_0x253fad,_0x1f2b76]=_0x1ac5df['split'](':');if(_0x2e958d['end']['isEqual'](_0x38355b['nextPosition'])&&_0x3de36c['shift'](),(_0x38355b['previousPosition']['isEqual'](_0x2e958d['start'])||_0x38355b['previousPosition']['isAfter'](_0x2e958d['start']))&&('insertion'==_0x253fad?_0x38355b['isAdded']={'userId':_0x1f2b76}:'deletion'==_0x253fad&&(_0x38355b['isRemoved']={'userId':_0x1f2b76})),0x0==_0x3de36c['length'])break;}return _0x818de;}['_refreshStartEndIndex'](_0x576fbd){const _0x19c91f=new Map();for(let _0x2d954e=0x0;_0x2d954e<_0x576fbd['length'];_0x2d954e++)'text'===_0x576fbd[_0x2d954e]['type']?(_0x576fbd[_0x2d954e]['item']['startIndex']=_0x2d954e,_0x576fbd[_0x2d954e]['item']['endIndex']=_0x2d954e):('elementStart'===_0x576fbd[_0x2d954e]['type']?_0x576fbd[_0x2d954e]['item']['startIndex']=_0x2d954e:'elementEnd'===_0x576fbd[_0x2d954e]['type']&&(_0x576fbd[_0x2d954e]['item']['endIndex']=_0x2d954e),_0x19c91f['set'](_0x576fbd[_0x2d954e]['id'],_0x2d954e));for(const _0xb04481 of _0x19c91f['values']())'elementStart'===_0x576fbd[_0xb04481]['type']?_0x576fbd[_0xb04481]['item']['endIndex']=_0x19c91f['get'](_0x576fbd[_0xb04481]['pairId']):'elementEnd'===_0x576fbd[_0xb04481]['type']&&(_0x576fbd[_0xb04481]['item']['startIndex']=_0x19c91f['get'](_0x576fbd[_0xb04481]['pairId']));}['_processTape'](_0x5869ce){for(let _0x43aefb=0x0;_0x43aefb<_0x5869ce['length'];_0x43aefb++){if('elementStart'===_0x5869ce[_0x43aefb]['type'])_0x5869ce[_0x43aefb]['item']['startIndex']=_0x43aefb;else{if('elementEnd'===_0x5869ce[_0x43aefb]['type']){_0x5869ce[_0x43aefb]['item']['endIndex']=_0x43aefb;const _0xabd125=_0x5869ce[_0x43aefb]['item']['startIndex'];_0x5869ce[_0xabd125]['pairId']=_0x5869ce[_0x43aefb]['id'],_0x5869ce[_0x43aefb]['pairId']=_0x5869ce[_0xabd125]['id'];}else _0x5869ce[_0x43aefb]['item']['startIndex']=_0x43aefb,_0x5869ce[_0x43aefb]['item']['endIndex']=_0x43aefb,_0x5869ce[_0x43aefb]['pairId']=null;}_0x5869ce[_0x43aefb]['markersStart']||(_0x5869ce[_0x43aefb]['markersStart']=[],_0x5869ce[_0x43aefb]['markersEnd']=[]);}}['_markInsertions'](_0x8baf38,_0x4e17ce){const _0x23e8f2=_0x8baf38['filter'](_0x14f4c2=>!_0x14f4c2['isAdded']);for(let _0x22bab0=0x0;_0x22bab0<_0x4e17ce['length'];_0x22bab0++)_0x4e17ce[_0x22bab0]['isAdded']&&(_0x23e8f2[_0x22bab0]['isAdded']=_0x4e17ce[_0x22bab0]['isAdded']);}['_makeModelFromViewString'](_0x3b1cfe){const _0x1a5989=JSON['parse'](_0x3b1cfe),_0x23c3a4=this['editor']['editing']['view']['document'],_0x56bc5a=new _0x46e1cf(_0x23c3a4,_0x1a5989['map'](_0x33ac76=>this['_getViewObj'](_0x33ac76)));return this['editor']['data']['toModel'](_0x56bc5a);}['_getViewObj'](_0x43e7dd){const _0x62021=this['editor']['editing']['view']['document'];if('string'==typeof _0x43e7dd)return new _0x54bf7e(_0x62021,_0x43e7dd);{const _0x4289d7=_0x43e7dd['children']['map'](_0x382874=>this['_getViewObj'](_0x382874));return new(tt[_0x43e7dd['type']]||_0x1d714e)(_0x62021,_0x43e7dd['name'],_0x43e7dd['attributes'],_0x4289d7);}}['_getDiff'](_0x338954,_0x4c7d4a=null){const _0x564a5d=this['repository']['getRevision'](_0x338954),_0xfc3b1d=_0x4c7d4a?this['repository']['getRevision'](_0x4c7d4a):null,_0x14113d=this['_getRevisionsRange'](_0x564a5d,_0xfc3b1d),_0x2ad9a5=_0x14113d[_0x14113d['length']-0x1],_0xdbe3ef=new Map(),_0x260f32={'model':{},'attributes':{},'changes':[]},_0x2bd477=new Set(),_0x238c6a=new Map();for(let _0x2b9ae3=_0x14113d['length']-0x1;_0x2b9ae3>=0x0;_0x2b9ae3--){const _0x4dfa34=_0x14113d[_0x2b9ae3];for(const _0x3c1059 of Object['keys'](_0x4dfa34['diffData']))if(_0x4dfa34['diffData'][_0x3c1059]['attachChange']){const _0x4bfe56=_0x4dfa34['diffData'][_0x3c1059]['attachChange'];_0x4bfe56['isAttached']?(_0x2bd477['add'](_0x3c1059),_0x238c6a['has'](_0x3c1059)&&_0x238c6a['get'](_0x3c1059)['userId']==_0x4bfe56['userId']?_0x238c6a['delete'](_0x3c1059):_0x238c6a['set'](_0x3c1059,_0x4bfe56)):_0x238c6a['has'](_0x3c1059)?(_0x2bd477['delete'](_0x3c1059),_0x238c6a['delete'](_0x3c1059)):(_0x2bd477['add'](_0x3c1059),_0x238c6a['set'](_0x3c1059,_0x4bfe56));}else _0x2bd477['add'](_0x3c1059);}for(const _0xa7bde4 of _0x2bd477){const _0x2355e4=_0x238c6a['has'](_0xa7bde4)&&!_0x238c6a['get'](_0xa7bde4)['isAttached'];let _0x1b0519=_0x2355e4?_0x14113d['length']-0x1:0x0;const _0xe0362a=_0x2355e4?-0x1:0x1;for(;_0x14113d[_0x1b0519];){const _0x19bdba=_0x14113d[_0x1b0519];if(_0x19bdba['diffData'][_0xa7bde4]){const _0xa26be7=_0x2355e4?_0x19bdba['diffData'][_0xa7bde4]['attributesBefore']:_0x19bdba['diffData'][_0xa7bde4]['attributesAfter'];_0x260f32['attributes'][_0xa7bde4]=_0xa26be7?_0x226d0b(_0xa26be7):{};break;}_0x1b0519+=_0xe0362a;}}for(const _0x396fad of _0x14113d){_0x396fad['model']={};for(const _0x5eb929 of _0x396fad['authors'])_0xdbe3ef['set'](_0x5eb929['id'],_0x5eb929);for(const _0x56b375 of _0x2bd477){const _0x1570f5=_0x396fad['diffData'][_0x56b375]?_0x396fad['diffData'][_0x56b375]['insertions']:'[]',_0x2c38b7=_0x396fad['diffData'][_0x56b375]?_0x396fad['diffData'][_0x56b375]['deletions']:'[]';_0x396fad['model'][_0x56b375]={'insertions':this['_makeModelFromViewString'](_0x1570f5),'deletions':this['_makeModelFromViewString'](_0x2c38b7)};}}for(const _0xbc887e of _0x2bd477){let _0x3dc682=null,_0x1a326b=0x0;const _0x440ab3=new Map(Array['from'](_0x564a5d['model'][_0xbc887e]['insertions']['markers'])['filter'](([_0xc5e304])=>!_0xc5e304['startsWith']('revision:')));let _0x207743=0x0;for(const _0x41a649 of _0x14113d){const _0x728569=this['_makeTape'](_0x41a649['model'][_0xbc887e]['insertions']);_0x41a649==_0x564a5d?(_0x3dc682=_0x728569,_0x1a326b=_0x3dc682['length'],_0x3dc682['forEach'](_0x4708f7=>{_0x4708f7['id']=_0x207743++;}),this['_processTape'](_0x3dc682)):this['_markInsertions'](_0x3dc682,_0x728569);const _0x5b26ec=_0x3dc682['filter'](_0x5c3866=>!_0x5c3866['isAdded'])['map'](_0x341b12=>_0x341b12['id']);let _0x3393cb=0x0;const _0x2a02c3=this['_makeTape'](_0x41a649['model'][_0xbc887e]['deletions']);_0x2a02c3['forEach'](_0x22a746=>{_0x22a746['isRemoved']?_0x22a746['id']=_0x1a326b++:_0x22a746['id']=_0x5b26ec[_0x3393cb++];}),this['_processTape'](_0x2a02c3),this['_setDistance'](_0x3dc682,'isAdded'),this['_setDistance'](_0x2a02c3,'isRemoved'),_0x41a649==_0x564a5d&&this['_markMarkers'](_0x3dc682,_0x440ab3),_0x3dc682=this['_joinTapes'](_0x3dc682,_0x2a02c3),this['_refreshStartEndIndex'](_0x3dc682),this['_setDistance'](_0x3dc682,'isRemoved');}_0x3dc682=_0x3dc682['filter'](_0x50e220=>!(_0x50e220['isAdded']&&_0x50e220['isRemoved']));const _0x244d8b=new Map(_0x2ad9a5['model'][_0xbc887e]['deletions']['markers']),_0x52e0b1=new Set(_0x440ab3['keys']());for(const _0x54e1b8 of _0x244d8b['keys']())_0x52e0b1['delete'](_0x54e1b8);this['_markSuggestions'](_0x3dc682,_0x52e0b1),this['_fixObsoleteTags'](_0x3dc682),_0x3dc682=this['_removeMissingPairs'](_0x3dc682),_0x3dc682=this['_markMismatchedRemovedTags'](_0x3dc682),_0x3dc682=this['_removeUnsupportedChanges'](_0x3dc682);const {root:_0x3e7b95,changes:_0x487f87}=this['_makeModelFromTape'](_0x3dc682,_0xdbe3ef,_0xbc887e);_0x260f32['model'][_0xbc887e]=_0x3e7b95;const _0x500fc3=_0x238c6a['get'](_0xbc887e);if(_0x500fc3){const _0x277bac=_0xdbe3ef['get'](_0x500fc3['userId']),_0x18cc9f=new r({'author':_0x277bac,'type':_0x500fc3['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0xbc887e});_0x487f87['unshift'](_0x18cc9f),_0x260f32['attributes'][_0xbc887e]['revisionHistoryAttachChange']=_0x18cc9f['id'];}_0x260f32['changes']=_0x260f32['changes']['concat'](_0x487f87);}return _0x260f32;}['_markMarkers'](_0xeba26b,_0x4692f3){for(let _0x3bfd8f=0x0;_0x3bfd8f<_0xeba26b['length'];_0x3bfd8f++)for(const [_0x6763f1,_0x3c7fa]of _0x4692f3)_0x3c7fa['start']['isEqual'](_0xeba26b[_0x3bfd8f]['previousPosition'])&&_0xeba26b[_0x3bfd8f]['markersStart']['push'](_0x6763f1),_0x3c7fa['end']['isEqual'](_0xeba26b[_0x3bfd8f]['nextPosition'])&&_0xeba26b[_0x3bfd8f]['markersEnd']['push'](_0x6763f1);}['_joinTapes'](_0x3a4857,_0x3c7938){let _0x41b45c=[],_0x243004=0x0,_0x44967c=0x0;for(;_0x243004<_0x3a4857['length']||_0x44967c<_0x3c7938['length'];){const _0x48b1a9=_0x3a4857[_0x243004]||{},_0x1cccd6=_0x3c7938[_0x44967c]||{};if(_0x48b1a9['id']==_0x1cccd6['id'])_0x243004++,_0x44967c++,_0x41b45c['push'](_0x48b1a9);else{if(_0x1cccd6['isRemoved']&&_0x48b1a9['isAdded']){const {commonTape:_0x42a8cc,iEnd:_0x59a4c1,jEnd:_0x3c433c}=this['_threeWayMerge'](_0x3a4857,_0x243004,_0x3c7938,_0x44967c);_0x41b45c=_0x41b45c['concat'](_0x42a8cc),_0x243004=_0x59a4c1,_0x44967c=_0x3c433c;}else _0x1cccd6['isRemoved']?(_0x44967c++,_0x41b45c['push'](_0x1cccd6)):(_0x243004++,_0x41b45c['push'](_0x48b1a9));}}return _0x41b45c;}['_markSuggestions'](_0x39e833,_0x3ed10c){const _0x3418e9=[];for(let _0x3471e2=0x0;_0x3471e2<_0x39e833['length'];_0x3471e2++){for(let _0x2f89a1=0x0;_0x2f89a1<_0x39e833[_0x3471e2]['markersStart']['length'];_0x2f89a1++){const _0x5cc160=_0x39e833[_0x3471e2]['markersStart'][_0x2f89a1];if(!_0x3ed10c['has'](_0x5cc160))continue;const {group:_0x5deb76,type:_0x52c3cd,authorId:_0x2b45de}=_0x27cd12(_0x5cc160);'revision-suggestion'!=_0x5deb76||'insertion'!=_0x52c3cd&&'deletion'!=_0x52c3cd||(_0x3418e9['unshift']({'type':_0x52c3cd,'name':_0x5cc160,'userId':_0x2b45de}),_0x39e833[_0x3471e2]['markersStart']['splice'](_0x2f89a1,0x1),_0x2f89a1--);}_0x361219(_0x39e833[_0x3471e2]);for(let _0x3d3f03=0x0;_0x3d3f03<_0x39e833[_0x3471e2]['markersEnd']['length'];_0x3d3f03++){const _0x1908f=_0x39e833[_0x3471e2]['markersEnd'][_0x3d3f03];if(!_0x3ed10c['has'](_0x1908f))continue;const {group:_0x1cdb1a,type:_0x30bf60}=_0x27cd12(_0x1908f);if('revision-suggestion'!=_0x1cdb1a||'insertion'!=_0x30bf60&&'deletion'!=_0x30bf60)continue;_0x39e833[_0x3471e2]['markersEnd']['splice'](_0x3d3f03,0x1),_0x3d3f03--;const _0x418351=_0x3418e9['findIndex'](_0x2e8ef8=>_0x2e8ef8['name']==_0x1908f);_0x418351>-0x1&&_0x3418e9['splice'](_0x418351,0x1);}}function _0x27cd12(_0x2456b9){const _0x275114=_0x2456b9['split'](':');return{'group':_0x275114[0x0],'type':_0x275114[0x1],'subType':_0x275114['length']>=0x5?_0x275114[0x2]:null,'id':_0x275114['length']<0x5?_0x275114[0x2]:_0x275114[0x3],'authorId':_0x275114['length']<0x5?_0x275114[0x3]:_0x275114[0x4],'markerCount':0x6==_0x275114['length']?_0x275114[0x5]:null};}function _0x361219(_0x5604a6){for(let _0x2fea46=0x0;_0x2fea46<_0x3418e9['length'];_0x2fea46++){if(_0x5604a6['isAdded']&&'insertion'==_0x3418e9[_0x2fea46]['type'])return _0x5604a6['isAddSuggestion']=_0x3418e9[_0x2fea46],void delete _0x5604a6['isAdded'];if(!_0x5604a6['isAdded']&&!_0x5604a6['isRemoved']&&'deletion'==_0x3418e9[_0x2fea46]['type'])return void(_0x5604a6['isRemoveSuggestion']=_0x3418e9[_0x2fea46]);}}}['_setDistance'](_0x2a1d3c,_0x2cd208){let _0x12ba8b=0x0,_0x2237bb=!0x1;const _0x2a75fa=new Map();for(const _0x1da612 of _0x2a1d3c)_0x1da612[_0x2cd208]?_0x2237bb&&(_0x12ba8b++,_0x2237bb=!0x1):(_0x12ba8b++,_0x2237bb=!0x0),_0x2a75fa['set'](_0x1da612['id'],_0x12ba8b);for(let _0x4d418c=0x0;_0x4d418c<_0x2a1d3c['length'];_0x4d418c++){if('isRemoved'==_0x2cd208&&_0x2a1d3c[_0x4d418c]['isAdded']||'isAdded'==_0x2cd208&&_0x2a1d3c[_0x4d418c]['isRemoved'])continue;if('text'==_0x2a1d3c[_0x4d418c]['type']){_0x2a1d3c[_0x4d418c]['distance']=0x0;continue;}const _0x2fa790=_0x2a75fa['get'](_0x2a1d3c[_0x4d418c]['pairId']),_0x57940a=_0x2a75fa['get'](_0x2a1d3c[_0x4d418c]['id']);_0x2a1d3c[_0x4d418c]['distance']=_0x2fa790-_0x57940a;}}['_getRevisionsRange'](_0x24f125,_0x49ac17,_0x4038f6=!0x1){const _0xc97b85=[];let _0x5eddfa=this['repository']['getIndex'](_0x24f125),_0x4ce64f=this['repository']['getIndex'](_0x49ac17);for(-0x1==_0x4ce64f&&(_0x4ce64f=this['repository']['_revisions']['length'],_0x4038f6=!0x1);_0x5eddfa<_0x4ce64f;)_0xc97b85['push'](this['repository']['getRevision'](_0x5eddfa)),_0x5eddfa++;return _0x4038f6&&_0xc97b85['push'](this['repository']['getRevision'](_0x5eddfa)),_0xc97b85;}['_threeWayMerge'](_0x2b5320,_0x30e042,_0x225dbb,_0x39d2be){const _0x3b4e10=this['editor']['model']['schema'];let _0x547dc5=_0x30e042;for(;_0x2b5320[_0x547dc5]&&_0x2b5320[_0x547dc5]['isAdded'];)_0x547dc5++;let _0x44dcb8=_0x39d2be;for(;_0x225dbb[_0x44dcb8]&&_0x225dbb[_0x44dcb8]['isRemoved'];)_0x44dcb8++;_0x305150(_0x2b5320,_0x30e042,_0x547dc5),_0x305150(_0x225dbb,_0x39d2be,_0x44dcb8);const _0x1f6e46=_0x225dbb['slice'](_0x39d2be,_0x44dcb8)['concat'](_0x2b5320['slice'](_0x30e042,_0x547dc5));return _0x1f6e46['sort']((_0x4d7d5f,_0x58b930)=>_0x4d7d5f['side']!=_0x58b930['side']?_0x4d7d5f['side']-_0x58b930['side']:_0x4d7d5f['level']!=_0x58b930['level']?_0x4d7d5f['level']-_0x58b930['level']:_0x4d7d5f['distance']!=_0x58b930['distance']?_0x58b930['distance']-_0x4d7d5f['distance']:!!_0x4d7d5f['isAdded']!=!!_0x58b930['isAdded']?-0x1==_0x4d7d5f['side']||0x0==_0x4d7d5f['side']?_0x4d7d5f['isAdded']?-0x1:0x1:_0x4d7d5f['isAdded']?0x1:-0x1:_0x4d7d5f['index']-_0x58b930['index']),{'commonTape':_0x1f6e46,'iEnd':_0x547dc5,'jEnd':_0x44dcb8};function _0x305150(_0x1c2af2,_0x2e7260,_0x595f07){let _0x457028=-0x1,_0x45b48d=Number['POSITIVE_INFINITY'],_0x2ab5aa=!0x0;for(let _0x5d1d73=_0x2e7260;_0x5d1d73<_0x595f07;_0x5d1d73++)if(_0x3b4e10['isInline'](_0x1c2af2[_0x5d1d73]['item'])||(_0x2ab5aa=!0x1),_0x1c2af2[_0x5d1d73]['item']['startIndex']<_0x2e7260&&(_0x457028=_0x5d1d73),_0x1c2af2[_0x5d1d73]['item']['endIndex']>=_0x595f07){_0x45b48d=_0x5d1d73;break;}_0x2ab5aa&&(_0x457028=_0x595f07-0x1);for(let _0x5bc80d=_0x2e7260;_0x5bc80d<_0x595f07;_0x5bc80d++)_0x1c2af2[_0x5bc80d]['side']=_0x5bc80d<=_0x457028?-0x1:_0x5bc80d<_0x45b48d?0x0:0x1,_0x1c2af2[_0x5bc80d]['index']=_0x5bc80d;let _0x2ee2e2=0x0;for(let _0xfaae0b=_0x2e7260;_0xfaae0b<=_0x457028;_0xfaae0b++)0x0==_0x1c2af2[_0xfaae0b]['distance']?_0x1c2af2[_0xfaae0b]['level']=_0x2ee2e2:(_0x2ee2e2++,_0x1c2af2[_0xfaae0b]['level']=_0x2ee2e2,_0x2ee2e2++);for(let _0x161be5=_0x2e7260;_0x161be5<_0x595f07;_0x161be5++)0x0==_0x1c2af2[_0x161be5]['side']&&(_0x1c2af2[_0x161be5]['level']=_0x2ee2e2);_0x2ee2e2=0x0;for(let _0x234d7c=_0x595f07-0x1;_0x234d7c>=_0x45b48d;_0x234d7c--)0x0==_0x1c2af2[_0x234d7c]['distance']?_0x1c2af2[_0x234d7c]['level']=_0x2ee2e2:(_0x2ee2e2--,_0x1c2af2[_0x234d7c]['level']=_0x2ee2e2,_0x2ee2e2--);}}['_fixObsoleteTags'](_0x29d424){const _0x1ff764=new Map(),_0x5134da=this['editor']['model']['schema'];for(let _0x3cf3b8=0x1;_0x3cf3b8<_0x29d424['length'];_0x3cf3b8++){let _0x94877e,_0x18ef9b,_0x3f82e9;const _0x2d0f4c=_0x29d424[_0x3cf3b8],_0x1f3a29=_0x29d424[_0x3cf3b8-0x1];if('text'==_0x2d0f4c['type'])continue;if(_0x2d0f4c['type']!=_0x1f3a29['type'])continue;if(!_0x5134da['isBlock'](_0x1f3a29['item'])||_0x5134da['isLimit'](_0x1f3a29['item']))continue;if(!_0x5134da['isBlock'](_0x2d0f4c['item'])||_0x5134da['isLimit'](_0x2d0f4c['item']))continue;if((_0x29d424[_0x3cf3b8]['isAdded']||_0x29d424[_0x3cf3b8]['isAddSuggestion'])&&_0x29d424[_0x3cf3b8-0x1]['isRemoved'])_0x94877e=_0x29d424[_0x3cf3b8],_0x18ef9b=_0x29d424[_0x3cf3b8-0x1],_0x3f82e9=_0x3cf3b8-0x1;else{if(!_0x29d424[_0x3cf3b8]['isRemoved']||!_0x29d424[_0x3cf3b8-0x1]['isAdded']&&!_0x29d424[_0x3cf3b8-0x1]['isAddSuggestion'])continue;_0x94877e=_0x29d424[_0x3cf3b8-0x1],_0x18ef9b=_0x29d424[_0x3cf3b8],_0x3f82e9=_0x3cf3b8;}const _0x139983=_0x94877e['level']==_0x18ef9b['level'],_0x5f51b9=Math['abs'](_0x94877e['level'])<Math['abs'](_0x18ef9b['level'])&&0x0==_0x18ef9b['distance'];(_0x139983||_0x5f51b9)&&(_0x1ff764['set'](_0x18ef9b['id'],_0x94877e['id']),_0x29d424['splice'](_0x3f82e9,0x1),_0x3cf3b8--,_0x94877e['isAdded']=!0x1);}for(let _0x197587=0x0;_0x197587<_0x29d424['length'];_0x197587++)_0x1ff764['has'](_0x29d424[_0x197587]['pairId'])&&(_0x29d424[_0x197587]['pairId']=_0x1ff764['get'](_0x29d424[_0x197587]['pairId']));}['_removeMissingPairs'](_0x413791){const _0x15a0a9=new Set(_0x413791['map'](_0x4ba650=>_0x4ba650['id']));for(let _0x34d2af=0x0;_0x34d2af<_0x413791['length'];_0x34d2af++)_0x15a0a9['has'](_0x413791[_0x34d2af]['pairId'])||0x0==_0x413791[_0x34d2af]['distance']||(_0x413791[_0x34d2af]['isIncorrect']=!0x0);return _0x413791['filter'](_0x207b48=>!_0x207b48['isIncorrect']);}['_markMismatchedRemovedTags'](_0x57771b){const _0x26e982=new Set();for(let _0xcacf65=0x0;_0xcacf65<_0x57771b['length'];_0xcacf65++){if(_0x26e982['has'](_0x57771b[_0xcacf65]['id'])&&_0x57771b[_0xcacf65]['isRemoved']&&(_0x57771b[_0xcacf65]['isIncorrect']=!0x0),_0x57771b[_0xcacf65]['isIncorrect'])continue;if(0x0==_0x57771b[_0xcacf65]['distance'])continue;if('elementStart'!=_0x57771b[_0xcacf65]['type'])continue;if(null==_0x57771b[_0xcacf65]['pairId'])continue;let _0x3b43e9=_0xcacf65+0x1,_0x27186c=0x0;for(;_0x57771b[_0x3b43e9]['id']!=_0x57771b[_0xcacf65]['pairId'];)'elementStart'==_0x57771b[_0x3b43e9]['type']?_0x27186c++:'elementEnd'==_0x57771b[_0x3b43e9]['type']&&_0x27186c--,_0x3b43e9++;if(0x0!=_0x27186c){if(_0x57771b[_0xcacf65]['isRemoved'])_0x57771b[_0xcacf65]['isIncorrect']=!0x0;else{for(;_0x3b43e9!=_0xcacf65;)_0x57771b[_0x3b43e9]['isRemoved']&&0x0!=_0x57771b[_0x3b43e9]['distance']&&(_0x57771b[_0x3b43e9]['isIncorrect']=!0x0,_0x26e982['add'](_0x57771b[_0x3b43e9]['pairId'])),_0x3b43e9--;}}}return _0x57771b['filter'](_0x524062=>!_0x524062['isIncorrect']);}['_removeUnsupportedChanges'](_0x3bd0b0){const _0x123dd9=this['editor']['model']['schema'];for(let _0x1a306b=0x0;_0x1a306b<_0x3bd0b0['length'];_0x1a306b++){if(!(_0x3bd0b0[_0x1a306b]['isAdded']||_0x3bd0b0[_0x1a306b]['isAddSuggestion']||_0x3bd0b0[_0x1a306b]['isRemoved']||_0x3bd0b0[_0x1a306b]['isRemoveSuggestion']))continue;if(0x0==_0x3bd0b0[_0x1a306b]['distance'])continue;const _0x4b7fa3=_0x3bd0b0[_0x1a306b]['item'];_0x123dd9['isBlock'](_0x4b7fa3)||_0x123dd9['isLimit'](_0x4b7fa3)||(_0x3bd0b0[_0x1a306b]['isAdded']&&delete _0x3bd0b0[_0x1a306b]['isAdded'],_0x3bd0b0[_0x1a306b]['isAddSuggestion']&&delete _0x3bd0b0[_0x1a306b]['isAddSuggestion'],_0x3bd0b0[_0x1a306b]['isRemoveSuggestion']&&delete _0x3bd0b0[_0x1a306b]['isRemoveSuggestion'],_0x3bd0b0[_0x1a306b]['isRemoved']&&(_0x3bd0b0[_0x1a306b]['isIncorrect']=!0x0));}return _0x3bd0b0['filter'](_0x489f13=>!_0x489f13['isIncorrect']);}['_makeModelFromTape'](_0x2c6018,_0x39e9f8,_0x21c98a){const _0x40087c=new wt(),_0x5b3a0e=[],_0x23fe2b=new Map(),_0x3cae28=this['editor']['model'],_0x4573b1=_0x3cae28['schema'],_0x18a955=[_0x40087c],_0x2fa79a={},_0x119e3e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0x4a9283=null;const _0x13783e=[0x0];for(let _0x2865f2=0x0;_0x2865f2<_0x2c6018['length'];_0x2865f2++){let _0xd8887e,_0x333e00;if('elementStart'===_0x2c6018[_0x2865f2]['type']){_0xd8887e=_0x3cae28['createPositionFromPath'](_0x40087c,_0x13783e);const _0x460b0d=new ft(_0x2c6018[_0x2865f2]['item']['name'],_0x2c6018[_0x2865f2]['item']['getAttributes']());_0x18a955[0x0]['_appendChild'](_0x460b0d),_0x13783e['push'](0x0),_0x18a955['unshift'](_0x460b0d),_0x333e00=_0x3cae28['createPositionFromPath'](_0x40087c,_0x13783e),_0x4a9283=null;}else{if('elementEnd'===_0x2c6018[_0x2865f2]['type'])_0x18a955['shift'](),_0xd8887e=_0x3cae28['createPositionFromPath'](_0x40087c,_0x13783e),_0x13783e['pop'](),_0x13783e[_0x13783e['length']-0x1]++,_0x333e00=_0x3cae28['createPositionFromPath'](_0x40087c,_0x13783e),_0x4a9283=null;else{if(_0xd8887e=_0x3cae28['createPositionFromPath'](_0x40087c,_0x13783e),_0x4a9283&&_0x2f0b22(_0x4a9283,_0x2c6018[_0x2865f2]['item']))_0x4a9283['_data']+=_0x2c6018[_0x2865f2]['item']['data'];else{const _0x102a84=new _t(_0x2c6018[_0x2865f2]['item']['data'],_0x2c6018[_0x2865f2]['item']['getAttributes']());_0x18a955[0x0]['_appendChild'](_0x102a84),_0x4a9283=_0x102a84;}_0x13783e[_0x13783e['length']-0x1]+=_0x2c6018[_0x2865f2]['item']['offsetSize'],_0x333e00=_0x3cae28['createPositionFromPath'](_0x40087c,_0x13783e);}}for(const _0xf5e5a of _0x2c6018[_0x2865f2]['markersStart'])_0x23fe2b['set'](_0xf5e5a,{'start':_0xd8887e,'end':null});_0xbc0446('isRemoveSuggestion',_0x2865f2,_0xd8887e,_0x333e00),_0xbc0446('isAddSuggestion',_0x2865f2,_0xd8887e,_0x333e00),_0xbc0446('isRemoved',_0x2865f2,_0xd8887e,_0x333e00),_0xbc0446('isAdded',_0x2865f2,_0xd8887e,_0x333e00);for(const _0x2cdc0c of _0x2c6018[_0x2865f2]['markersEnd']){_0x23fe2b['get'](_0x2cdc0c)['end']=_0x333e00;}}for(const [_0xd290e9,_0x587cbd]of _0x23fe2b){const _0x2e742e=this['editor']['model']['createRange'](_0x587cbd['start'],_0x587cbd['end']);_0x40087c['markers']['set'](_0xd290e9,_0x2e742e);}return _0x5b3a0e['sort']((_0x468820,_0xbbde08)=>{const _0x4ce343=_0x40087c['markers']['get']('revision:'+_0x468820['id']),_0x3a8277=_0x40087c['markers']['get']('revision:'+_0xbbde08['id']);return _0x4ce343['start']['isBefore'](_0x3a8277['start'])?-0x1:_0x4ce343['start']['isAfter'](_0x3a8277['start'])?0x1:_0x4ce343['end']['isBefore'](_0x3a8277['end'])?-0x1:_0x4ce343['end']['isAfter'](_0x3a8277['end'])?0x1:'add'===_0x468820['type']?-0x1:0x1;}),{'root':_0x40087c,'changes':_0x5b3a0e};function _0xbc0446(_0x469a09,_0x8fee0c,_0x23b8ff,_0x2b969f){const _0x1ef0e7=!!_0x2c6018[_0x8fee0c][_0x469a09],_0x5b5300=_0x1ef0e7?_0x2c6018[_0x8fee0c][_0x469a09]['userId']:null,_0x1b5ee8=_0x8fee0c===_0x2c6018['length']-0x1,_0x5c50a7=_0x119e3e[_0x469a09][0x0],_0x1eceea=_0x4573b1['isObject'](_0x2c6018[_0x8fee0c]['item']);!_0x2fa79a[_0x469a09]&&_0x1ef0e7?_0x2fa79a[_0x469a09]={'start':_0x23b8ff,'tapeItem':_0x2c6018[_0x8fee0c],'userId':_0x5b5300,'type':_0x469a09}:_0x2fa79a[_0x469a09]&&!_0x1ef0e7?(_0x2fa79a[_0x469a09]['end']=_0x23b8ff,_0x368f90(_0x2fa79a[_0x469a09]),_0x2fa79a[_0x469a09]=null):_0x2fa79a[_0x469a09]&&_0x1ef0e7&&_0x2fa79a[_0x469a09]['userId']!==_0x5b5300&&(_0x2fa79a[_0x469a09]['end']=_0x23b8ff,_0x5c50a7&&_0x5c50a7['userId']===_0x2fa79a[_0x469a09]['userId']||_0x368f90(_0x2fa79a[_0x469a09]),_0x2fa79a[_0x469a09]={'start':_0x23b8ff,'tapeItem':_0x2c6018[_0x8fee0c],'userId':_0x5b5300,'type':_0x469a09}),_0x2fa79a[_0x469a09]&&_0x1eceea&&('elementStart'!==_0x2c6018[_0x8fee0c]['type']||_0x5c50a7&&_0x5c50a7['userId']===_0x5b5300||_0x119e3e[_0x469a09]['unshift']({'userId':_0x5b5300,'object':_0x2c6018[_0x8fee0c]['item'],'change':_0x2fa79a[_0x469a09]}),'elementEnd'===_0x2c6018[_0x8fee0c]['type']&&_0x5c50a7&&_0x5c50a7['object']===_0x2c6018[_0x8fee0c]['item']&&(_0x119e3e[_0x469a09]['shift'](),_0x2fa79a[_0x469a09]=_0x5c50a7['change'])),_0x2fa79a[_0x469a09]&&_0x1b5ee8&&(_0x2fa79a[_0x469a09]['end']=_0x2b969f,_0x368f90(_0x2fa79a[_0x469a09]),_0x2fa79a[_0x469a09]=null);}function _0x368f90({start:_0x224e86,end:_0x5ea927,tapeItem:_0x52f414,userId:_0x2a79e1,type:_0x52fc73}){const _0x3cb2f8=_0x52f414['item'],_0x16e44a=_0x3cae28['schema']['isBlock'](_0x3cb2f8)&&!_0x3cae28['schema']['isLimit'](_0x3cb2f8),_0x571b9a=_0x224e86['nodeAfter']==_0x5ea927['parent']&&_0x5ea927['isAtStart'];if(_0x16e44a&&_0x571b9a)return;const _0x1b032b=_0x3cae28['createRange'](_0x224e86,_0x5ea927),_0x4e8c6a=_0x39e9f8['get'](_0x2a79e1),_0x5076ab=new r({'author':_0x4e8c6a,'type':'isAdded'==_0x52fc73||'isAddSuggestion'==_0x52fc73?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x52fc73||'isRemoveSuggestion'==_0x52fc73},'createdAt':new Date(),'rootName':_0x21c98a});_0x5b3a0e['push'](_0x5076ab),_0x40087c['markers']['set']('revision:'+_0x5076ab['id'],_0x1b032b);}function _0x2f0b22(_0x1a8e9e,_0x3bff9c){const _0x237cf2=_0x1a8e9e['getAttributes'](),_0x1b1262=_0x3bff9c['getAttributes']();for(const _0xcf1f07 of _0x237cf2){if(_0xcf1f07[0x1]!==_0x3bff9c['getAttribute'](_0xcf1f07[0x0]))return!0x1;_0x1b1262['next']();}return _0x1b1262['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x35c10f=>{const _0x431935=_0x35c10f['markerName']['split'](':')[0x1],_0x13c1df=this['_getChangeFromId'](_0x431935);if(!_0x13c1df)return null;const _0xa31414='add'==_0x13c1df['type']?'insertion':'deletion',_0x334763=['ck-suggestion-marker','ck-suggestion-marker-'+_0xa31414];return _0x13c1df['data']['isSuggestion']&&_0x334763['push']('ck-suggestion-marker-'+_0xa31414+'-new'),this['activeChange']==_0x13c1df&&_0x334763['push']('ck-suggestion-marker--active'),{'classes':_0x334763,'attributes':{'data-change-id':_0x431935}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x11ba42=>{_0x11ba42['on']('element:pre',(_0x18e946,_0x421984,_0x344d83)=>{const _0x127627=_0x421984['viewItem']['getChild'](0x0);if(!_0x127627||!_0x127627['is']('element','code'))return;if(!_0x344d83['consumable']['consume'](_0x127627,{'attributes':['vid_start','vid_end']}))return;const _0x2c93f6=_0x421984['modelRange']['start']['nodeAfter'];_0x344d83['writer']['setAttribute']('vid_start',_0x127627['getAttribute']('vid_start'),_0x2c93f6),_0x344d83['writer']['setAttribute']('vid_end',_0x127627['getAttribute']('vid_end'),_0x2c93f6);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x28be28=>{_0x28be28['on']('element',(_0x5a1e7a,_0x16e653,_0x4429c8)=>{if(!_0x4429c8['consumable']['consume'](_0x16e653['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x16e653['modelRange']['isCollapsed'])return;const _0x4978e1=_0x16e653['modelRange']['start']['nodeAfter'];_0x4978e1['hasAttribute']('vid_start')||_0x4978e1['hasAttribute']('vid')||(_0x4429c8['writer']['setAttribute']('vid_start',_0x16e653['viewItem']['getAttribute']('vid_start'),_0x4978e1),_0x4429c8['writer']['setAttribute']('vid_end',_0x16e653['viewItem']['getAttribute']('vid_end'),_0x4978e1));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x54639f=>_0x54639f['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x95010a,[,_0x3b45c5])=>{['vid_start','vid_end','vid']['includes'](_0x3b45c5)&&(_0x95010a['return']=!0x0,_0x95010a['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x53ef82=>{_0x53ef82['on']('attribute:vid',(_0x30a86a,_0x3c86f0,_0x377b12)=>{if('\x20'!=_0x3c86f0['item']['data']||_0x3c86f0['item']['parent']['maxOffset']>0x1)return;if(!_0x377b12['consumable']['consume'](_0x3c86f0['item'],_0x30a86a['name']))return;const _0x255d04=_0x377b12['writer'],_0x350cb1=_0x377b12['mapper']['toViewRange'](_0x3c86f0['range']);_0x255d04['wrap'](_0x350cb1,_0x255d04['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x2303a7){const _0x114f60=_0x2303a7['plugins']['get']('RevisionViewer');return(_0x5dd924,_0x545f33,_0x80c0a0)=>{const _0x2d4220=_0x545f33['markerName']['split'](':')[0x1],_0x406ea6=_0x114f60['_getChangeFromId'](_0x2d4220);if(!_0x406ea6)return null;const _0x4bb3d8='add'==_0x406ea6['type']?'split':'merge';if(!_0x80c0a0['consumable']['test'](_0x545f33['markerRange'],_0x5dd924['name']))return;const _0xa2e16d=_0x545f33['markerRange']['getWalker'](),_0x5c7ed8=_0x545f33['markerRange']['start'],_0x2aa1ea=_0x2303a7['model']['schema'];let _0x293713=null,_0x435b15=null,_0x24540f=!0x1,_0x4c5590=!0x1;for(const _0x2ad03f of _0xa2e16d){const _0x4b5dcf=_0x2ad03f['item'];_0x24540f=_0x24540f||_0x2aa1ea['isContent'](_0x4b5dcf);const _0x57b9b2=_0x80c0a0['mapper']['toViewElement'](_0x4b5dcf);if(_0x57b9b2&&_0x57b9b2['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x2ad03f['type']&&(_0x2aa1ea['isBlock'](_0x4b5dcf)&&!_0x2aa1ea['isLimit'](_0x4b5dcf)&&(_0x4b5dcf['nextSibling']||_0x5c7ed8['isAtEnd']?_0x293713&&_0x293713['parent']==_0x4b5dcf||(_0x293713=_0x4b5dcf,_0x279428(_0x2ad03f['previousPosition']),_0x4c5590=!0x0):_0x435b15=_0x435b15||_0x2ad03f['previousPosition']));}function _0x279428(_0x533821){const _0x292e3d=_0x80c0a0['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x4bb3d8}),_0x11b166=_0x80c0a0['mapper']['toViewPosition'](_0x533821);_0x406ea6['data']['isSuggestion']&&_0x80c0a0['writer']['addClass']('ck-suggestion-marker-'+_0x4bb3d8+'-new',_0x292e3d),_0x114f60['activeChange']==_0x406ea6&&_0x80c0a0['writer']['addClass']('ck-suggestion-marker--active',_0x292e3d),_0x80c0a0['writer']['insert'](_0x11b166,_0x292e3d),_0x80c0a0['mapper']['bindElementToMarker'](_0x292e3d,_0x545f33['markerName']);}_0x24540f||_0x4c5590||!_0x435b15||_0x279428(_0x435b15);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x3a0b25,_0x31cc62,_0x5bc2ed)=>{const _0x1303f4=_0x5bc2ed['mapper']['markerNameToElements'](_0x31cc62['markerName']);if(_0x1303f4){for(const _0x14e585 of _0x1303f4)(_0x14e585['hasClass']('ck-suggestion-marker-split')||_0x14e585['hasClass']('ck-suggestion-marker-merge'))&&(_0x5bc2ed['mapper']['unbindElementFromMarkerName'](_0x14e585,_0x31cc62['markerName']),_0x5bc2ed['writer']['remove'](_0x14e585));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x13b8a0,_0x1e691f,_0x4fe541)=>{const _0x2f2d25=_0x1e691f['markerName']['split'](':')[0x1],_0x1b085a=this['_getChangeFromId'](_0x2f2d25);if(!_0x1b085a)return null;const _0x1659b9='add'==_0x1b085a['type']?'split':'merge';if(_0x4fe541['consumable']['test'](_0x1e691f['markerRange'],_0x13b8a0['name']))for(const _0xa33ee5 of _0x1e691f['markerRange']['getItems']()){if(!_0xa33ee5['is']('element','softBreak'))continue;const _0x2dd05d=_0x4fe541['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x1659b9}),_0x1b140a=_0x4fe541['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0xa33ee5));_0x1b085a['data']['isSuggestion']&&_0x4fe541['writer']['addClass']('ck-suggestion-marker-'+_0x1659b9+'-new',_0x2dd05d),this['activeChange']==_0x1b085a&&_0x4fe541['writer']['addClass']('ck-suggestion-marker--active',_0x2dd05d),_0x4fe541['writer']['insert'](_0x1b140a,_0x2dd05d),_0x4fe541['mapper']['bindElementToMarker'](_0x2dd05d,_0x1e691f['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x3cd9d9=>{for(const _0x47d3cc of this['editor']['model']['document']['getRootNames']()){const _0x28d228=this['editor']['model']['document']['getRoot'](_0x47d3cc),_0x591751=this['editor']['editing']['view']['document']['getRoot'](_0x47d3cc);if(_0x591751){const _0x45e7d0=_0x28d228['getAttribute']('revisionHistoryAttachChange');if(_0x3cd9d9['removeAttribute']('data-change-id',_0x591751),_0x3cd9d9['removeClass']('ck-revision-history-root-add',_0x591751),_0x3cd9d9['removeClass']('ck-revision-history-root-remove',_0x591751),_0x3cd9d9['removeClass']('ck-revision-history-root--active',_0x591751),_0x45e7d0){const _0x256648=this['_getChangeFromId'](_0x45e7d0);if(!_0x256648)return null;_0x3cd9d9['setAttribute']('data-change-id',_0x45e7d0,_0x591751),_0x3cd9d9['addClass']('ck-revision-history-root-'+_0x256648['type'],_0x591751),this['activeChange']==_0x256648&&_0x3cd9d9['addClass']('ck-revision-history-root--active',_0x591751);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0xe2eb58=>'revision-comment:'+_0xe2eb58,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x1c64c2=>'revision-suggestion:'+_0x1c64c2,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x378fb8=>({'name':'suggestion:'+_0x378fb8,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x171dc4=>{const _0x156a93=_0x171dc4['markerName']['split'](':')[0x1];return'insertion'!=_0x156a93&&'deletion'!=_0x156a93?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x156a93]};}}),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',(_0x4870c8,_0x56d40a,_0x52f009)=>{const _0x462b5d=_0x52f009['mapper']['markerNameToElements'](_0x56d40a['markerName']);if(_0x462b5d){for(const _0x1873a4 of _0x462b5d)_0x1873a4['is']('uiElement')&&(_0x52f009['mapper']['unbindElementFromMarkerName'](_0x1873a4,_0x56d40a['markerName']),_0x52f009['writer']['remove'](_0x1873a4));}},{'priority':'high'});}['_getChangeFromId'](_0x53562){return this['_changeIdToChange']['get'](_0x53562);}['_getViewForChange'](_0x3ce84c){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x3ce84c),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0xe261f4,_0x33d241,_0x2e14f9,_0x1f576b)=>{_0x1f576b&&this['_balloon']['remove'](_0x1f576b),_0x2e14f9&&(this['_balloon']['add']({'view':_0x2e14f9,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x48b25c=this['editor']['editing'],_0x5cd9f1=this['_getChangeFromId'](_0x2e14f9['changeId']);let _0xec82e7;if(_0x5cd9f1['data']['isOnRoot']){const _0x5c7a0b=_0x48b25c['view']['getDomRoot'](_0x5cd9f1['rootName']);_0xec82e7=Array['from'](_0x5c7a0b['getClientRects']());}else{const _0xe04817=this['editor']['model']['markers']['get']('revision:'+_0x2e14f9['changeId']);_0xec82e7=Array['from'](_0x48b25c['mapper']['markerNameToElements'](_0xe04817['name']))['map'](_0x4845e3=>_0x48b25c['view']['domConverter']['mapViewToDom'](_0x4845e3))['map'](_0x1c4307=>Array['from'](_0x1c4307['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0xec82e7[0x0];return _0xec82e7['find'](_0x314480=>_0x314480['top']-0x3<=this['_activeViewTarget']['y']&&_0x314480['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x314480['left']-0x3<=this['_activeViewTarget']['x']&&_0x314480['right']+0x3>=this['_activeViewTarget']['x'])||_0xec82e7[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x34d06f,_0x432863,_0x55a3c3,_0x21de1a)=>{this['activeView']=_0x55a3c3?this['_getViewForChange'](_0x55a3c3):null,this['editor']['model']['change'](()=>{const _0x59e4ab=this['editor']['editing'];_0x21de1a&&(_0x21de1a['data']['isOnRoot']?_0x59e4ab['view']['change'](_0x8adf2f=>{_0x8adf2f['removeClass']('ck-revision-history-root--active',_0x59e4ab['view']['document']['getRoot'](_0x21de1a['rootName']));}):_0x59e4ab['reconvertMarker']('revision:'+_0x21de1a['id'])),_0x55a3c3&&(_0x55a3c3['data']['isOnRoot']?_0x59e4ab['view']['change'](_0x54280b=>{_0x54280b['addClass']('ck-revision-history-root--active',_0x59e4ab['view']['document']['getRoot'](_0x55a3c3['rootName']));}):_0x59e4ab['reconvertMarker']('revision:'+_0x55a3c3['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x2c0b8e,_0x56ea0d)=>{if(this['activeChange'])return;const _0x11174f=this['_findChangeIdFromDomTarget'](_0x56ea0d['target']),_0x1afba6=this['_changeIdToChange']['get'](_0x11174f);_0x1afba6?(this['_activeViewTarget']={'x':_0x56ea0d['domEvent']['x'],'y':_0x56ea0d['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1afba6)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x15e210,_0x5cb386)=>{const _0x35e23a=this['_findChangeIdFromDomTarget'](_0x5cb386['target']),_0x560629=this['_changeIdToChange']['get'](_0x35e23a);_0x560629?(this['_activeViewTarget']={'x':_0x5cb386['domEvent']['x'],'y':_0x5cb386['domEvent']['y']},_0x560629===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x560629):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x598867){do{const _0x38b020=_0x598867['getAttribute']('data-change-id');if(_0x38b020)return _0x38b020;_0x598867=_0x598867['parent'];}while(_0x598867);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x5cad87=>{for(const _0x1a2c37 of this['editor']['model']['markers'])_0x5cad87['removeMarker'](_0x1a2c37);});}}function et(_0x14771e,_0x446d04){return(_0x1815e6,_0x712cfa,_0x2e3dfa)=>{if(!_0x2e3dfa['consumable']['test'](_0x712cfa['markerRange'],_0x1815e6['name']))return;const _0x4fdbff=_0x712cfa['markerRange']['getWalker'](),_0x74672d=_0x712cfa['markerRange']['start'],_0xb3e2d3=_0x14771e['model']['schema'];let _0x30b8f0=null,_0x258413=null,_0x1371d1=!0x1,_0x2411f1=!0x1;for(const _0x459b25 of _0x4fdbff){const _0x3ac26c=_0x459b25['item'];_0x1371d1=_0x1371d1||_0xb3e2d3['isContent'](_0x3ac26c);const _0x58bd1b=_0x2e3dfa['mapper']['toViewElement'](_0x3ac26c);if(_0x58bd1b&&_0x58bd1b['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x459b25['type']&&(_0xb3e2d3['isBlock'](_0x3ac26c)&&!_0xb3e2d3['isLimit'](_0x3ac26c)&&(_0x3ac26c['nextSibling']||_0x74672d['isAtEnd']?_0x30b8f0&&_0x30b8f0['parent']==_0x3ac26c||(_0x30b8f0=_0x3ac26c,_0x3106b9(_0x459b25['previousPosition']),_0x2411f1=!0x0):_0x258413=_0x258413||_0x459b25['previousPosition']));}function _0x3106b9(_0x217ffd){const _0x364bac=_0x2e3dfa['mapper']['toViewPosition'](_0x217ffd),_0x24bac9=_0x2e3dfa['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x446d04});_0x2e3dfa['writer']['insert'](_0x364bac,_0x24bac9),_0x2e3dfa['mapper']['bindElementToMarker'](_0x24bac9,_0x712cfa['markerName']);}_0x1371d1||_0x2411f1||!_0x258413||_0x3106b9(_0x258413);};}class bt extends _0x3cdc46{constructor(_0x15b98d){super(_0x15b98d);const _0x252361=_0x15b98d['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x252361,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x252361,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x4a3bbb=this['editor'],_0x5e4756=_0x4a3bbb['plugins']['get'](d),_0x1e2a96=_0x5e4756['isReady']?_0x5e4756['diff']['newRevisionId']:null;_0x4a3bbb['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1e2a96);}['refresh'](){const {isReady:_0x21b4e9,isEnabled:_0x38d6b8}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x21b4e9&&_0x38d6b8;}}class yt extends _0x3cdc46{['_step'];constructor(_0x529b8d,{direction:_0x121210}){super(_0x529b8d);const _0x2f89d4=_0x529b8d['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x121210?0x1:-0x1,this['listenTo'](_0x2f89d4,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x2f89d4,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0x2f89d4,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x2899e2=this['editor'],_0x3090ac=_0x2899e2['plugins']['get'](d),{isNavigationMode:_0x512545,currentChangeNumber:_0x1486ae}=_0x3090ac;let _0x52ea71;if(_0x3090ac['activeChange']=_0x512545?_0x3090ac['diff']['changes']['get'](_0x1486ae+this['_step']):_0x3090ac['diff']['changes']['first'],_0x3090ac['activeChange']['data']['isOnRoot'])_0x52ea71=_0x2899e2['editing']['view']['getDomRoot'](_0x3090ac['activeChange']['rootName']);else{const _0x2d8967=_0x2899e2['model']['markers']['get']('revision:'+_0x3090ac['activeChange']['id']);_0x52ea71=_0x3e627c(_0x2899e2['editing'],_0x2d8967);}_0x200f8b({'target':_0x52ea71,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x330683,currentChangeNumber:_0xb91e6a,numberOfChanges:_0x8f150b,isReady:_0xcd44c,isEnabled:_0x5cbfbc}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x5cbfbc&&_0xcd44c&&_0x8f150b)&&(!_0x330683||(0x1===this['_step']?_0xb91e6a<_0x8f150b-0x1:_0xb91e6a>0x0));}}class _i extends _0x15289c{constructor(_0x4297ca){super(_0x4297ca);const _0x2b85c4=this['bindTemplate'],_0x1243b7=new _0xc7e8b0(_0x4297ca),_0x483fe4=new _0xc7e8b0(_0x4297ca);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',(_0x3812af,_0x30b649)=>_0x3812af&&_0x30b649>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x3470fd,_0x58ee67,_0x5c914c,_0x228a89)=>{if(!_0x3470fd)return y(_0x4297ca,'Loading...');if(!_0x5c914c)return y(_0x4297ca,'No\x20changes');const _0x3811c4=y(_0x4297ca,'NUMBER_OF_CHANGES',_0x5c914c);return _0x228a89?y(_0x4297ca,'X_OF_Y_CHANGES',[_0x58ee67+0x1,_0x5c914c]):_0x3811c4;}),_0x1243b7['set']({'label':y(_0x4297ca,'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'}),_0x483fe4['set']({'label':y(_0x4297ca,'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'}),_0x1243b7['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x483fe4['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0x1243b7['on']('execute',()=>this['fire']('execute','backward')),_0x483fe4['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',_0x2b85c4['if']('_isStatusLabelVisible','ck-hidden',_0x2dce13=>!_0x2dce13)]},'children':[{'text':_0x2b85c4['to']('isNavigationMode',_0xb9bfa0=>_0xb9bfa0?y(_0x4297ca,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x4297ca,'Total')+':\x20')}]},{'text':_0x2b85c4['to']('_statusText')}]},new _0x36e67d(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0x1243b7,_0x483fe4]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x116caf{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x5d650=this['editor']['editing']['view'];_0x5d650['change'](_0x5455e7=>{for(const _0x5af74b of _0x5d650['document']['roots'])_0x5455e7['addClass'](ce,_0x5af74b);});}['hide'](){const _0x36e71d=this['editor']['editing']['view'];_0x36e71d['change'](_0x5de210=>{for(const _0x4ce51b of _0x36e71d['document']['roots'])_0x5de210['removeClass'](ce,_0x4ce51b);});}}class R extends _0x116caf{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x2ee1bd=this['editor'],_0x66823b=_0x2ee1bd['plugins']['get'](d),_0x55b413=_0x2ee1bd['plugins']['get'](de);_0x2ee1bd['ui']['componentFactory']['add']('exitToEditing',_0x529f27=>{const _0x2d532d=new _0xc7e8b0(_0x529f27);return _0x2d532d['set']({'label':y(_0x529f27,'Back\x20to\x20editing'),'icon':_0xb0eab5['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x2d532d,'execute',()=>{_0x2ee1bd['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x2d532d;}),_0x2ee1bd['ui']['componentFactory']['add']('restoreRevision',_0x3fb9e4=>{const _0x2098ff=new _0xc7e8b0(_0x3fb9e4);return _0x2098ff['set']({'label':y(_0x3fb9e4,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x2098ff['bind']('isEnabled')['to'](_0x2ee1bd['commands']['get']('restoreRevision')),this['listenTo'](_0x2098ff,'execute',()=>_0x2ee1bd['execute']('restoreRevision')),_0x2098ff;}),_0x2ee1bd['ui']['componentFactory']['add']('changesNavigation',_0x1d0d46=>{const _0x215f99=new _i(_0x1d0d46),_0xaf5fb1=_0x2ee1bd['commands']['get']('showPreviousChange'),_0x587648=_0x2ee1bd['commands']['get']('showNextChange');return _0x215f99['bind']('isBackwardNavigationEnabled')['to'](_0xaf5fb1,'isEnabled'),_0x215f99['bind']('isForwardNavigationEnabled')['to'](_0x587648,'isEnabled'),_0x215f99['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x66823b),this['listenTo'](_0x215f99,'execute',(_0x217a62,_0x6a2a79)=>{_0x2ee1bd['execute']('forward'===_0x6a2a79?'showNextChange':'showPreviousChange');}),_0x215f99;}),_0x55b413['show'](),_0x66823b['on']('change:isReady',(_0x3427d6,_0x30b03d,_0x3d60b7)=>{_0x3d60b7?_0x55b413['hide']():_0x55b413['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x3849bd,_0x28d2ee){super(_0x3849bd,_0x28d2ee);const _0x3e271f=this['bindTemplate'];this['set']({'label':y(_0x3849bd,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3849bd,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x3e271f['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 _0x53f699=this['fieldView']['element'];this['_tooltipString']=_0x53f699['scrollWidth']>_0x53f699['clientWidth']&&_0x53f699['value']||'';}}class ti extends _0x15289c{constructor(_0x57623c,_0xcaaca3,_0x23540a){super(_0x57623c);const _0x2db1d5=new _0x5b108b();_0x2db1d5['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 _0x2df4cb=['ck','ck-revision-history-sidebar__revision-author'];_0x23540a&&_0x2df4cb['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3021fe=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x57623c,_0x23540a?'Revision\x20creator':'Revision\x20author')},'children':[_0x2db1d5,_0xcaaca3['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x2df4cb},'children':_0x3021fe});}}function ni(_0x94db9b,_0x4a2aa4){const _0xc5a958=_0x94db9b['bindTemplate'],_0x12b546=_0x94db9b['locale'],_0x179a61=_0x4d77d5(_0x12b546);_0x179a61['panelPosition']='sw';const _0x33301a=function(_0x2dd63a,_0x3e2982){const _0x3b7fe8=function(_0x3f62c1,_0x44cd90){const _0x57f072=_0x3f62c1['locale'],_0x3cbd6c={'Compare\x20against\x20selected':y(_0x57f072,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0x57f072,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0x57f072,'Restore\x20this\x20revision')};return _0x44cd90['map'](_0x4fbfa7=>{const _0x5cdb97=_0x3cbd6c[_0x4fbfa7['name']];return _0x5cdb97&&_0x5cdb97!==_0x4fbfa7['name']&&(_0x4fbfa7['name']=_0x5cdb97),_0x4fbfa7;});}(_0x2dd63a,_0x3e2982),_0x599326=new _0x30f645();for(const _0x3cf778 of _0x3b7fe8){const _0x8f522b={'type':'button','model':new to({'label':_0x3cf778['name'],'class':_0x3cf778['class'],'withText':!0x0,'role':'menuitem','_action':_0x3cf778['action']})};_0x8f522b['model']['bind']('isEnabled')['to'](_0x2dd63a,'isActionsDropdownOpen',_0x2eea9c=>'function'!=typeof _0x3cf778['isEnabled']||(!_0x2eea9c||_0x3cf778['isEnabled'](_0x2dd63a))),_0x599326['add'](_0x8f522b);}return _0x599326;}(_0x94db9b,_0x4a2aa4);return _0x94db9b['bind']('isActionsDropdownOpen')['to'](_0x179a61,'isOpen'),_0x179a61['buttonView']['set']({'label':y(_0x12b546,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0xb0eab5['threeVerticalDots']}),_0x179a61['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0xc5a958['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0xc5a958['to'](_0x4c4024=>_0x4c4024['stopPropagation']())}}),_0x179a61['on']('execute',_0x283818=>{_0x94db9b['isReady']&&'function'==typeof _0x283818['source']['_action']&&_0x283818['source']['_action'](_0x94db9b);}),_0x1a88f5(_0x179a61,_0x33301a,{'role':'menu'}),_0x179a61['listenTo'](_0x94db9b,'change:isActionsDropdownOpen',(_0x4834f6,_0x353f46,_0x80582c)=>{if(_0x80582c)for(const _0x130e8e of _0x179a61['listView']['items']){const _0x210aad=_0x130e8e['children']['first'],_0x235bbd=_0x4a2aa4['find'](_0x1cd61c=>_0x1cd61c['action']===_0x210aad['_action'])['isVisible'];_0x130e8e['isVisible']=void 0x0===_0x235bbd||_0x235bbd(_0x94db9b);}}),_0x179a61;}class ai extends/* #__PURE__ -- @preserve */
26
- _0x1fdf03(_0x15289c){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0xa640d,_0x2d0df3,_0x43ee09,_0x42c089){super(_0xa640d);const _0xe39868=this['bindTemplate'],_0xe163c=function(_0x2a094b,_0x254452){const _0x23ea1b=Array['from'](_0x254452['authors'])['filter'](_0x3f0b27=>_0x3f0b27!=_0x254452['creator']);return _0x254452['creator']&&_0x23ea1b['unshift'](_0x254452['creator']),_0x23ea1b['map'](_0x54a6fd=>new ti(_0x2a094b,_0x54a6fd,_0x54a6fd==_0x254452['creator']));}(_0xa640d,_0x2d0df3);this['id']=_0x2d0df3['id'],this['_revision']=_0x2d0df3,this['_requireRevisionName']=_0x42c089,this['bind']('name','createdAt')['to'](_0x2d0df3),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x4b99c2=>{return _0x5658f2=_0xa640d['uiLanguage'],(_0x3442bc=_0x4b99c2)['toLocaleDateString'](_0x5658f2,{'month':'long','day':'numeric'})+',\x20'+_0x3442bc['toLocaleTimeString'](_0x5658f2,{'hour':'numeric','minute':'numeric'});var _0x5658f2,_0x3442bc;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0xa640d,_0x3bb46d),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x540d43=>_0x540d43||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x1a7bbb,_0x191f60)=>_0x1a7bbb&&_0x191f60),this['revisionActionsView']=_0x43ee09&&_0x43ee09['length']?ni(this,_0x43ee09):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0xe39868['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0xe39868['if']('isEnabled','ck-disabled',_0x1e2bac=>!_0x1e2bac),_0xe39868['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0xe39868['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0xe39868['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':_0xe39868['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':_0xe163c}]},this['revisionActionsView']],'on':{'click':_0xe39868['to'](_0x311436=>{_0x311436['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x422737=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x422737,'change',()=>{this['_requireRevisionName']&&!_0x422737['value']||this['fire']('setName',{'id':this['id'],'name':_0x422737['value']}),_0x422737['value']||(_0x422737['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(_0x562ac0,_0x34f281){const _0x16315a=_0x168de9['fromJSDate'](_0x562ac0)['setLocale'](_0x34f281),_0x1d6972=_0x168de9['local'](),_0x4e4e7c=_0x1d6972['minus']({'days':0x1})['startOf']('day');let _0x508d58,_0x5c8329;return _0x16315a['hasSame'](_0x1d6972,'day')?(_0x508d58=_0x16315a['startOf']('day')['toJSDate'](),_0x5c8329=_0x16315a['toRelativeCalendar']()):_0x16315a['hasSame'](_0x4e4e7c,'day')?(_0x508d58=_0x4e4e7c['toJSDate'](),_0x5c8329=_0x16315a['toRelativeCalendar']()):_0x16315a['hasSame'](_0x1d6972,'week')?(_0x508d58=_0x16315a['startOf']('week')['toJSDate'](),_0x5c8329=_0x16315a['weekdayLong']||''):_0x16315a['hasSame'](_0x1d6972,'year')?(_0x508d58=_0x16315a['startOf']('month')['toJSDate'](),_0x5c8329=_0x16315a['monthLong']||''):(_0x508d58=_0x16315a['startOf']('year')['toJSDate'](),_0x5c8329=String(_0x16315a['year'])),{'startDate':_0x508d58,'localizedPeriodName':_0x5c8329};}class mi extends _0x15289c{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x56246a,_0x3687f5,_0x293a73,_0x232042){super(_0x56246a);const _0x53aae5=di(_0x3687f5,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x3687f5,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x293a73,this['_requireRevisionName']=_0x232042,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':_0x53aae5}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x5c0368){const _0x24f7eb=new ai(this['locale'],_0x5c0368,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x24f7eb);}['removeRevision'](_0x237a66){const _0x10a9ce=this['revisionViews']['find'](_0xb32308=>_0xb32308['id']===_0x237a66['id']);this['revisionViews']['remove'](_0x10a9ce);}}class as extends _0x15289c{constructor(_0x437b31){super(_0x437b31);const _0xa69f46=new _0x5b108b();_0xa69f46['content']=_0xb0eab5['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0xa69f46,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x437b31,'Revision\x20history')]}]});}}class ci extends _0x15289c{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4874fe,_0x14f518,_0x48868e,_0x1205ca){super(_0x4874fe);const _0xf5522=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x14f518,this['_revisionActions']=_0x48868e,this['_requireRevisionName']=_0x1205ca,this['on']('select',(_0x10dbd3,_0xfe020d)=>{this['fire']('revisionSelected',_0xfe020d);}),this['on']('setName',(_0x542ac6,_0x3d46ec)=>{this['fire']('revisionSetName',_0x3d46ec);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0x4874fe),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0xf5522['if']('isEnabled','ck-disabled',_0xf1e71e=>!_0xf1e71e)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x802dbf of this['_revisions'])this['_addRevision'](_0x802dbf);this['_revisions']['on']('add',(_0x4b4e20,_0x107ff8)=>{this['_addRevision'](_0x107ff8);}),this['_revisions']['on']('remove',(_0x44ec6d,_0x4faaf4)=>{this['_removeRevision'](_0x4faaf4);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x5fd1c0=>_0x5fd1c0['revisionViews']['map'](_0x20d20a=>_0x20d20a))['flat']();}['selectRevision'](_0x1e9f8b){for(const _0xb99cfa of this['revisionViews'])_0x1e9f8b&&_0x1e9f8b['id']===_0xb99cfa['id']?_0xb99cfa['select']():_0xb99cfa['deselect']();}['highlightRevisions'](_0x24f910){for(const _0xb9c9a3 of this['revisionViews'])_0x24f910['some'](({id:_0x6527bc})=>_0x6527bc===_0xb9c9a3['id'])?_0xb9c9a3['highlight']():_0xb9c9a3['unhighlight']();}['_addRevision'](_0x592e25){const _0x3f5242=di(_0x592e25['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x218251=this['timePeriodViews']['get'](0x0);_0x218251&&_0x218251['startDate']['getTime']()===_0x3f5242['getTime']()||(_0x218251=new mi(this['locale'],_0x3f5242,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x218251)),_0x218251['addRevision'](_0x592e25);}['_removeRevision'](_0x3a4dce){const _0x382c99=di(_0x3a4dce['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x382c99)['removeRevision'](_0x3a4dce);}['_getTimePeriodViewByStartDate'](_0x50c321){return this['timePeriodViews']['find'](_0x1de324=>_0x1de324['startDate']['getTime']()===_0x50c321['getTime']());}}class w extends _0x116caf{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
23
+ import{Plugin as _0x481391,Context as _0x59477f,PendingActions as _0x8986df,icons as _0x3b3e98,Command as _0x6712b7,ElementApiMixin as rt,Editor as it}from'@ckeditor/ckeditor5-core/dist/index.js';import{ObservableMixin as _0x567040,uid as _0x4d84a6,Collection as _0x1c62b0,logWarning as _0x43ca9f,FocusTracker as _0x1a58c3,KeystrokeHandler as _0x605f02,scrollViewportToShowTarget as _0x37e96e,ResizeObserver as mt,ElementReplacer as nt,CKEditorError as _0x278e2a}from'@ckeditor/ckeditor5-utils/dist/index.js';import{Users as _0x4f821a,getMarkerDomElement as _0x2a3bea,ConfirmMixin as _0x604f38,sanitizeEditorConfig as _0x497796}from'ckeditor5-collaboration/dist/index.js';import{ViewDocumentFragment as _0xf3fe8b,ViewText as _0x112a68,ViewElement as _0x1e805b,Element as ft,Range as vt,Position as gt,DocumentFragment as wt,ViewContainerElement as _0x5e5670,ViewAttributeElement as _0x508498,ViewEmptyElement as _0x24733a,ViewRawElement as _0x4d8ac7,ViewUIElement as _0x196e20,Text as _t}from'@ckeditor/ckeditor5-engine/dist/index.js';import{cloneDeep as _0x53edd6,set as _0xbca751,unset as _0x50054f,isEqual as _0x5be5db}from'lodash-es';import{View as _0x561e79,injectCssTransitionDisabler as ts,submitHandler as _0x497447,LabeledFieldView as at,createLabeledInputText as _0x1df235,createDropdown as _0x1baef2,ListView as te,ListItemView as _0x35fb45,ButtonView as _0x574d9e,MenuBarMenuView as _0x51392a,MenuBarMenuListView as _0x533b78,MenuBarMenuListItemView as _0x2564af,MenuBarMenuListItemButtonView as _0x1814d7,ContextualBalloon as _0x44a3e1,ToolbarSeparatorView as _0x25c629,IconView as _0x3d6f9a,addListToDropdown as _0x3b37fd,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 _0x671ca0}from'luxon';class a extends/* #__PURE__ -- @preserve */
24
+ _0x567040(){['id'];['creator'];['authors'];['diffData'];['toVersion'];['fromVersion'];['model'];constructor(_0x5a8b6d){super(),this['id']=_0x5a8b6d['id']||_0x4d84a6(),this['creator']=_0x5a8b6d['creator']||null,this['authors']=_0x5a8b6d['authors']||[],this['diffData']=_0x5a8b6d['diffData']||null,this['toVersion']=_0x5a8b6d['toVersion']||0x0,this['fromVersion']=_0x5a8b6d['fromVersion']||0x0,this['set']('name',_0x5a8b6d['name']||''),this['set']('createdAt',_0x5a8b6d['createdAt']||new Date()),this['set']('attributes',_0x5a8b6d['attributes']||{});}['setName'](_0x1b1acf){this['_update']({'name':_0x1b1acf});}['setAttribute'](_0xc6e65,_0x3d60b5){const _0x313ff1=_0x53edd6(this['attributes']);_0xbca751(_0x313ff1,_0xc6e65,_0x3d60b5),this['_update']({'attributes':_0x313ff1});}['removeAttribute'](_0x10fb24){const _0x161e57=_0x53edd6(this['attributes']);_0x50054f(_0x161e57,_0x10fb24),this['_update']({'attributes':_0x161e57});}['_update'](_0x491e91,_0x8327d9=!0x1){let _0x46a16a=!0x1;const _0x50e37d={'id':this['id']},_0x42cf7d=['name','createdAt','diffData','authors','attributes','toVersion','fromVersion','creatorId'];for(const _0x460734 of _0x42cf7d){const _0x4b2b87=_0x491e91[_0x460734];void 0x0!==_0x4b2b87&&_0x4b2b87!==this[_0x460734]&&(this[_0x460734]=_0x4b2b87,_0x50e37d[_0x460734]=_0x4b2b87,_0x46a16a=!0x0);}_0x46a16a&&(_0x50e37d['authors']&&(_0x50e37d['authorsIds']=_0x50e37d['authors']['map'](_0x3c6992=>_0x3c6992['id']),delete _0x50e37d['authors']),this['fire']('_update',_0x50e37d,_0x8327d9));}['toJSON'](){return{'id':this['id'],'name':this['name'],'creatorId':this['creator']?this['creator']['id']:null,'authorsIds':this['authors']['map'](_0x5bee16=>_0x5bee16['id']),'diffData':this['diffData'],'createdAt':this['createdAt'],'attributes':this['attributes'],'fromVersion':this['fromVersion'],'toVersion':this['toVersion']};}}class A extends _0x481391{['_revisions'];static get['requires'](){return[_0x4f821a];}static get['pluginName'](){return'RevisionsRepository';}get['length'](){return this['_revisions']['length'];}constructor(_0x49aa70){super(_0x49aa70),this['_revisions']=new _0x1c62b0();}['afterInit'](){!function(_0x49d91f){function _0x174194(_0x93ca30,_0x889a90,_0x270d70){const _0x1f7fe8={};_0x1f7fe8[_0x189939([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])]={0x10:0xa,0x18:0xc,0x20:0xe},_0x1f7fe8[_0x189939([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],_0x1f7fe8[_0x189939([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],_0x1f7fe8[_0x189939([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],_0x1f7fe8[_0x189939([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],_0x1f7fe8[_0x189939([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],_0x1f7fe8[_0x189939([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],_0x1f7fe8[_0x189939([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],_0x1f7fe8[_0x189939([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],_0x1f7fe8[_0x189939([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],_0x1f7fe8[_0x189939([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 _0x4411f3=new Uint8Array(0x10);for(let _0x1402f2=0xf;_0x1402f2>=0x0;--_0x1402f2)_0x4411f3[_0x1402f2]=_0x270d70%0x100,_0x270d70=parseInt(_0x270d70/0x100);let _0x460fa9=null,_0x467341=0x10;const _0x3aea72=new Uint8Array(_0x889a90),_0x3092f8=[],_0x871826=[];_0x485b87();for(let _0x152bd9=0x0;_0x152bd9<_0x93ca30[_0x189939([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x152bd9++)0x10===_0x467341&&(_0x460fa9=_0x18d8ac(_0x4411f3),_0x467341=0x0,_0x27e1b4(_0x4411f3)),_0x93ca30[_0x152bd9]^=_0x460fa9[_0x467341++];return _0x93ca30;function _0x34bb2a(_0x66cb14){const _0x5800d3=[];for(let _0x23d811=0x0;_0x23d811<_0x66cb14[_0x189939([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23d811+=0x4)_0x5800d3[_0x189939([0x70,0x75,0x73,0x68])](_0x66cb14[_0x23d811]<<0x18|_0x66cb14[_0x23d811+0x1]<<0x10|_0x66cb14[_0x23d811+0x2]<<0x8|_0x66cb14[_0x23d811+0x3]);return _0x5800d3;}function _0x27e1b4(_0x2cf660){for(let _0x1cde7d=0xf;_0x1cde7d>=0x0;_0x1cde7d--){if(0xff!==_0x2cf660[_0x1cde7d]){_0x2cf660[_0x1cde7d]++;break;}_0x2cf660[_0x1cde7d]=0x0;}}function _0x18d8ac(_0x46199d){const _0x61ba39=_0x3092f8[_0x189939([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x1,_0x1c939a=[0x0,0x0,0x0,0x0];let t=_0x34bb2a(_0x46199d);for(let _0x3a2bd7=0x0;_0x3a2bd7<0x4;_0x3a2bd7++)t[_0x3a2bd7]^=_0x3092f8[0x0][_0x3a2bd7];for(let _0x5b5483=0x1;_0x5b5483<_0x61ba39;_0x5b5483++){for(let _0x28a53e=0x0;_0x28a53e<0x4;_0x28a53e++)_0x1c939a[_0x28a53e]=_0x1f7fe8[_0x189939([0x54,0x31])][t[_0x28a53e]>>0x18&0xff]^_0x1f7fe8[_0x189939([0x54,0x32])][t[(_0x28a53e+0x1)%0x4]>>0x10&0xff]^_0x1f7fe8[_0x189939([0x54,0x33])][t[(_0x28a53e+0x2)%0x4]>>0x8&0xff]^_0x1f7fe8[_0x189939([0x54,0x34])][0xff&t[(_0x28a53e+0x3)%0x4]]^_0x3092f8[_0x5b5483][_0x28a53e];t=_0x1c939a[_0x189939([0x73,0x6c,0x69,0x63,0x65])]();}const _0x57e968=new Uint8Array(0x10);let _0xfb720a;for(let _0x25369a=0x0;_0x25369a<0x4;_0x25369a++)_0xfb720a=_0x3092f8[_0x61ba39][_0x25369a],_0x57e968[0x4*_0x25369a]=0xff&(_0x1f7fe8[_0x189939([0x53])][t[_0x25369a]>>0x18&0xff]^_0xfb720a>>0x18),_0x57e968[0x4*_0x25369a+0x1]=0xff&(_0x1f7fe8[_0x189939([0x53])][t[(_0x25369a+0x1)%0x4]>>0x10&0xff]^_0xfb720a>>0x10),_0x57e968[0x4*_0x25369a+0x2]=0xff&(_0x1f7fe8[_0x189939([0x53])][t[(_0x25369a+0x2)%0x4]>>0x8&0xff]^_0xfb720a>>0x8),_0x57e968[0x4*_0x25369a+0x3]=0xff&(_0x1f7fe8[_0x189939([0x53])][0xff&t[(_0x25369a+0x3)%0x4]]^_0xfb720a);return _0x57e968;}function _0x485b87(){const _0x23556c=_0x1f7fe8[_0x189939([0x6e,0x75,0x6d,0x62,0x65,0x72,0x4f,0x66,0x52,0x6f,0x75,0x6e,0x64,0x73])][_0x3aea72[_0x189939([0x6c,0x65,0x6e,0x67,0x74,0x68])]];for(let _0x43b700=0x0;_0x43b700<=_0x23556c;_0x43b700++)_0x3092f8[_0x189939([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]),_0x871826[_0x189939([0x70,0x75,0x73,0x68])]([0x0,0x0,0x0,0x0]);const _0x1c880d=0x4*(_0x23556c+0x1),_0x2a9d57=_0x3aea72[_0x189939([0x6c,0x65,0x6e,0x67,0x74,0x68])]/0x4,_0x1f28e1=_0x34bb2a(_0x3aea72);let _0x248c06;for(let _0x4c3688=0x0;_0x4c3688<_0x2a9d57;_0x4c3688++)_0x248c06=_0x4c3688>>0x2,_0x3092f8[_0x248c06][_0x4c3688%0x4]=_0x1f28e1[_0x4c3688],_0x871826[_0x23556c-_0x248c06][_0x4c3688%0x4]=_0x1f28e1[_0x4c3688];let _0x22cc8e,_0x3d4bb1=0x0,t=_0x2a9d57;for(;t<_0x1c880d;){_0x22cc8e=_0x1f28e1[_0x2a9d57-0x1],_0x1f28e1[0x0]^=_0x1f7fe8[_0x189939([0x53])][_0x22cc8e>>0x10&0xff]<<0x18^_0x1f7fe8[_0x189939([0x53])][_0x22cc8e>>0x8&0xff]<<0x10^_0x1f7fe8[_0x189939([0x53])][0xff&_0x22cc8e]<<0x8^_0x1f7fe8[_0x189939([0x53])][_0x22cc8e>>0x18&0xff]^_0x1f7fe8[_0x189939([0x72,0x63,0x6f,0x6e])][_0x3d4bb1]<<0x18,_0x3d4bb1+=0x1;for(let _0x150941=0x1;_0x150941<_0x2a9d57/0x2;_0x150941++)_0x1f28e1[_0x150941]^=_0x1f28e1[_0x150941-0x1];_0x22cc8e=_0x1f28e1[_0x2a9d57/0x2-0x1],_0x1f28e1[_0x2a9d57/0x2]^=_0x1f7fe8[_0x189939([0x53])][0xff&_0x22cc8e]^_0x1f7fe8[_0x189939([0x53])][_0x22cc8e>>0x8&0xff]<<0x8^_0x1f7fe8[_0x189939([0x53])][_0x22cc8e>>0x10&0xff]<<0x10^_0x1f7fe8[_0x189939([0x53])][_0x22cc8e>>0x18&0xff]<<0x18;for(let _0x54333c=_0x2a9d57/0x2+0x1;_0x54333c<_0x2a9d57;_0x54333c++)_0x1f28e1[_0x54333c]^=_0x1f28e1[_0x54333c-0x1];let _0x2b17a0,_0x465437,_0x51efc5=0x0;for(;_0x51efc5<_0x2a9d57&&t<_0x1c880d;)_0x2b17a0=t>>0x2,_0x465437=t%0x4,_0x3092f8[_0x2b17a0][_0x465437]=_0x1f28e1[_0x51efc5],_0x871826[_0x23556c-_0x2b17a0][_0x465437]=_0x1f28e1[_0x51efc5++],t++;}for(let _0x479a56=0x1;_0x479a56<_0x23556c;_0x479a56++)for(let _0x3a6b0c=0x0;_0x3a6b0c<0x4;_0x3a6b0c++)_0x22cc8e=_0x871826[_0x479a56][_0x3a6b0c],_0x871826[_0x479a56][_0x3a6b0c]=_0x1f7fe8[_0x189939([0x55,0x31])][_0x22cc8e>>0x18&0xff]^_0x1f7fe8[_0x189939([0x55,0x32])][_0x22cc8e>>0x10&0xff]^_0x1f7fe8[_0x189939([0x55,0x33])][_0x22cc8e>>0x8&0xff]^_0x1f7fe8[_0x189939([0x55,0x34])][0xff&_0x22cc8e];}}function _0x189939(_0x3f4fae){return _0x3f4fae['map'](_0x438d1c=>String['fromCharCode'](_0x438d1c))['join']('');}(_0x2c7393=>{function _0x296b2f(){const _0x25e38b=[{[_0x189939([0x69,0x64])]:0x1,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x189939([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]:[{[_0x189939([0x69,0x64])]:0x2,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x54,0x72,0x61,0x63,0x6b,0x20,0x43,0x68,0x61,0x6e,0x67,0x65,0x73]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([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]),[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x189939([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x189939([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x189939([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}}],[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x189939([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x189939([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x189939([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x189939([0x69,0x64])]:0x3,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x50,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x6f,0x6f,0x6b,0x75,0x70]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([0x70,0x61,0x67,0x69,0x6e,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x189939([0x69,0x64])]:0x4,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x20,0x48,0x69,0x73,0x74,0x6f,0x72,0x79]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([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]),[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x189939([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]:!0x0,[_0x189939([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]:!0x0,[_0x189939([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]:!0x0}},{[_0x189939([0x69,0x64])]:0x5,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x20,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x75,0x74,0x6c,0x69,0x6e,0x65,0x55,0x49]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([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]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x189939([0x66,0x67,0x69])]:[0xc]}},{[_0x189939([0x69,0x64])]:0x6,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x46,0x6f,0x72,0x6d,0x61,0x74,0x20,0x50,0x61,0x69,0x6e,0x74,0x65,0x72]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x46,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x55,0x49]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([0x66,0x6f,0x72,0x6d,0x61,0x74,0x50,0x61,0x69,0x6e,0x74,0x65,0x72,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x189939([0x66,0x67,0x69])]:[0xc]}},{[_0x189939([0x69,0x64])]:0x7,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x53,0x6c,0x61,0x73,0x68,0x20,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x53,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x55,0x49]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([0x73,0x6c,0x61,0x73,0x68,0x43,0x6f,0x6d,0x6d,0x61,0x6e,0x64,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x189939([0x66,0x67,0x69])]:[0xc]}},{[_0x189939([0x69,0x64])]:0x8,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x54,0x61,0x62,0x6c,0x65,0x20,0x6f,0x66,0x20,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x54,0x61,0x62,0x6c,0x65,0x4f,0x66,0x43,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([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]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x189939([0x66,0x67,0x69])]:[0xc]}},{[_0x189939([0x69,0x64])]:0x9,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x54,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x55,0x49]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([0x74,0x65,0x6d,0x70,0x6c,0x61,0x74,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x189939([0x66,0x67,0x69])]:[0xc,0xe]}},{[_0x189939([0x69,0x64])]:0xa,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([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]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([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]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([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]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x189939([0x66,0x67,0x69])]:[0xc]}},{[_0x189939([0x69,0x64])]:0xb,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x41,0x49,0x20,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x41,0x49,0x41,0x73,0x73,0x69,0x73,0x74,0x61,0x6e,0x74,0x55,0x49]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([0x61,0x69,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x189939([0x69,0x64])]:0xc,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x50,0x72,0x6f,0x64,0x75,0x63,0x74,0x69,0x76,0x69,0x74,0x79,0x20,0x70,0x61,0x63,0x6b])},{[_0x189939([0x69,0x64])]:0xd,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x43,0x61,0x73,0x65,0x20,0x43,0x68,0x61,0x6e,0x67,0x65]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x43,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x55,0x49]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([0x63,0x61,0x73,0x65,0x43,0x68,0x61,0x6e,0x67,0x65,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x189939([0x66,0x67,0x69])]:[0xc]}},{[_0x189939([0x69,0x64])]:0xe,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x44,0x72,0x75,0x70,0x61,0x6c,0x20,0x70,0x61,0x63,0x6b]),[_0x189939([0x66,0x6f,0x72,0x62,0x69,0x64,0x64,0x65,0x6e,0x48,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([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])},{[_0x189939([0x69,0x64])]:0xf,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x4d,0x75,0x6c,0x74,0x69,0x20,0x4c,0x65,0x76,0x65,0x6c,0x20,0x4c,0x69,0x73,0x74]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x4d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([0x6d,0x75,0x6c,0x74,0x69,0x4c,0x65,0x76,0x65,0x6c,0x4c,0x69,0x73,0x74,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])},{[_0x189939([0x69,0x64])]:0x10,[_0x189939([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x4e,0x61,0x6d,0x65])]:_0x189939([0x4d,0x65,0x72,0x67,0x65,0x20,0x54,0x61,0x67,0x73]),[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]:_0x189939([0x4d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x55,0x49]),[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]:_0x189939([0x6d,0x65,0x72,0x67,0x65,0x54,0x61,0x67,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]),[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]:_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65]),[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]:{[_0x189939([0x66,0x67,0x69])]:[0xc]}}];return _0x5d1ed3(_0x25e38b),_0x25e38b;function _0x4f73dc(_0x4f6c58){return 0x1<<_0x4f6c58-0x1;}function _0x5d1ed3(_0x57b9a2){_0x57b9a2[_0x189939([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3afefd=>{_0x3afefd[_0x189939([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]=_0x4f73dc(_0x3afefd[_0x189939([0x69,0x64])]),_0x22ee76(_0x3afefd)&&_0x3afefd[_0x189939([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x5d1ed3(_0x3afefd[_0x189939([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]);});}}function _0x22ee76(_0x4bb9fa){return _0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])in _0x4bb9fa;}const _0x2d47b1=[0x1,0x55,0x4e,0x73,0xc6,0xff,0x32,0x70,0x53,0x57,0xa1],_0x569290=[0x7f,0x22,0x6,0xd3,0xa7,0x56,0x92,0xc7,0x84,0xa0,0x12];function _0x4b5655(_0x1e2ffe){const _0x3f8101=[0x1d,0xdd,0xaf,0x5a,0xe7,0x85,0xef,0xf0,0x4b,0xb4];return _0x535816(_0x1e2ffe,new Uint8Array([..._0x2d47b1,..._0x3f8101,..._0x569290]));}function _0x535816(_0x44dcaa,_0x315747){const _0x3799a0=_0x24a292(_0x44dcaa),_0x4bf03d=Array[_0x189939([0x66,0x72,0x6f,0x6d])](_0x9cf638(_0x3799a0)),_0x3dbc53=_0x4bf03d[_0x189939([0x70,0x6f,0x70])](),_0x2d7f6a=_0x4bf03d[_0x189939([0x70,0x6f,0x70])]();return _0x31646a(_0x174194(_0x4bf03d,_0x315747,_0x2d7f6a+0x100*_0x3dbc53));}function _0x24a292(_0x1144f5){const _0x3631fc=atob(_0x1144f5),[_0x4a4928,_0x272deb]=_0x3631fc[_0x189939([0x73,0x70,0x6c,0x69,0x74])](_0x189939([0x2d]));try{if(atob(_0x272deb))return atob(_0x4a4928);}catch(_0x31d825){}return _0x3631fc;}function _0x141d08(_0x3e9311){try{const _0x514e24=_0x4b5655(_0x3e9311),_0x22980f=JSON[_0x189939([0x70,0x61,0x72,0x73,0x65])](_0x514e24),_0x4b99f9=parseInt(_0x22980f[_0x189939([0x31])]),_0x1eb90e=_0x22980f[_0x189939([0x32])]||'',_0x537ebc=parseInt(_0x22980f[_0x189939([0x33])]),_0x15a2d0=parseInt(_0x22980f[_0x189939([0x34])])||0x0,_0x39967b=parseInt(_0x22980f[_0x189939([0x35])])||0x0;return{[_0x189939([0x70,0x72,0x6f,0x64,0x75,0x63,0x74,0x4e,0x61,0x6d,0x65])]:_0x1eb90e,[_0x189939([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])]:_0x15a2d0,[_0x189939([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]:_0x4b99f9,[_0x189939([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]:_0x537ebc,[_0x189939([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]:_0x39967b};}catch(_0x593973){return null;}}const _0x1e08de=_0x296b2f(),_0x5fcbc6={[_0x189939([0x63,0x68,0x65,0x63,0x6b,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65])]:_0x439a4c,[_0x189939([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])]:_0x22a6aa,[_0x189939([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])]:_0x6b0a8a},_0x4de5dd=_0x2c7393[_0x189939([0x63,0x6f,0x6e,0x73,0x74,0x72,0x75,0x63,0x74,0x6f,0x72])][_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])],_0x4b6e5b=_0x189939([0x63,0x6f,0x6e,0x74,0x65,0x78,0x74])in _0x2c7393?_0x2c7393['context']:_0x2c7393['editor'],_0xb39665=_0x189939([0x34,0x30,0x34,0x38,0x31,0x32,0x33,0x30]),_0x35e6ce=_0x189939([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]),_0x1e8192=_0x4b6e5b['config']['get'](_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])),_0x1f1538=_0x1e08de[_0x189939([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x22ee76)[_0x189939([0x66,0x69,0x6e,0x64])](_0x14bf9b=>_0x14bf9b[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]===_0x4de5dd);function _0x53d603(_0x22cd4c,_0x6b25b9){_0x5fcbc6[_0x6b25b9[_0x189939([0x68,0x61,0x6e,0x64,0x6c,0x65,0x72])]](_0x22cd4c,_0x6b25b9),_0x6b25b9[_0x189939([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])]&&_0x6b25b9[_0x189939([0x63,0x68,0x65,0x63,0x6b,0x41,0x6c,0x73,0x6f])][_0x189939([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x23a72e=>_0x590ad6(_0x4b6e5b,_0x23a72e[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))[_0x189939([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x52112=>_0x53d603(_0x22cd4c,_0x52112));}function _0x439a4c(_0x181077,_0x5b215d){_0x2b7638(_0x4b84db(_0x181077,_0x5b215d),_0x5b215d);}function _0x22a6aa(_0x205f75,_0x35b528){function _0x5d80d8(_0x3cd421,_0x38a1c3){try{if(_0x590ad6(_0x4b6e5b,_0x189939([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))&&_0x3cd421){const _0xf496bc=_0x323bf0(_0x4b6e5b,_0x189939([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x45,0x64,0x69,0x74,0x69,0x6e,0x67]))[_0x189939([0x5f,0x65,0x78,0x65,0x63,0x75,0x74,0x65,0x53,0x75,0x67,0x67,0x65,0x73,0x74,0x69,0x6f,0x6e])];if(parseInt(_0xf496bc)/0x2>_0x3cd421[_0x189939([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])])return _0x3c66a5(_0x38a1c3[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}return _0x4b84db(_0x3cd421,_0x38a1c3);}catch(_0x5ff5a7){return _0x3c66a5(_0x38a1c3[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}_0x2b7638(_0x5d80d8(_0x205f75,_0x35b528),_0x35b528);}function _0x6b0a8a(_0x218a6a,_0x1f8278){const _0x2aec80=_0x569290[0x0]*_0x2d47b1[0x1],_0xed8f73=_0x569290[0x0]*_0x2d47b1[0x2],_0x49c267=_0x569290[0x2]*_0x2d47b1[0x2];_0x590ad6(_0x4b6e5b,_0x189939([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x323bf0(_0x4b6e5b,_0x189939([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x189939([0x73,0x74,0x61,0x74,0x65])]==_0x189939([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&(window[_0x513af1()]=_0x49c267);function _0x4f0ccd(_0x1a0194,_0x11fafd){try{return _0x409805()?_0x3c66a5(_0x11fafd[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x56,0x61,0x6c,0x69,0x64])):_0x4b84db(_0x1a0194,_0x11fafd);}catch(_0x10f57c){return _0x3c66a5(_0x11fafd[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x39d00f(_0x51e3bd,_0x50295b){const _0xfa9f6f=0x7;if(_0x51e3bd==_0x50295b[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]))_0x428826();else{if(_0x51e3bd==_0x50295b[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x54,0x72,0x69,0x61,0x6c])){const _0x8b20d7=_0x214637();_0x8b20d7&&_0x4f0f51(_0x8b20d7,_0x50295b[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);const _0x42482e=_0x5f5b12();window[_0x189939([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x4f0f51(_0x189939([0x74,0x69,0x6d,0x65]),_0x50295b[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);},_0x42482e);const _0x9eb71d=_0x323bf0(_0x4b6e5b,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x189939([0x5f,0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73])];_0x9eb71d[_0x189939([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xfa9f6f?_0x4f0f51(_0x189939([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x50295b[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]):_0x9eb71d['on'](_0x189939([0x61,0x64,0x64]),()=>{_0x9eb71d[_0x189939([0x6c,0x65,0x6e,0x67,0x74,0x68])]>=_0xfa9f6f&&_0x4f0f51(_0x189939([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]),_0x50295b[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]);});}}}function _0x214637(){if(!_0x590ad6(_0x4b6e5b,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0xd6aca9 in window)if(Number['isNaN'](Number(_0xd6aca9))){if(window[_0xd6aca9]===_0x2aec80)return _0x189939([0x74,0x69,0x6d,0x65]);if(window[_0xd6aca9]===_0xed8f73)return _0x189939([0x72,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73]);}return!0x1;}function _0x409805(){if(!_0x590ad6(_0x4b6e5b,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72])))return!0x1;for(const _0x6a2ba6 in window)if(Number['isNaN'](Number(_0x6a2ba6))&&window[_0x6a2ba6]===_0x49c267)return!0x0;return!0x1;}function _0x4f0f51(_0x2ae2e5,_0x49f0c4){_0x428826(),_0x3c66a5(_0x49f0c4+_0x189939([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a])+_0x2ae2e5),window[_0x513af1()]=_0x2ae2e5===_0x189939([0x74,0x69,0x6d,0x65])?_0x2aec80:_0xed8f73;}function _0x5f5b12(){let _0x361c6c=_0x569290[0x6]*_0x2d47b1[0x8]*_0x2d47b1[0x6];return _0x590ad6(_0x4b6e5b,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x361c6c/=0xa),_0x361c6c;}function _0x428826(){const _0x578154=_0x4b6e5b;function _0x30c191(){_0x590ad6(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&(_0x323bf0(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x189939([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x189939([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x323bf0(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x189939([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x323bf0(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x189939([0x75,0x70,0x64,0x61,0x74,0x65])]=_0x227079,_0x323bf0(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))[_0x189939([0x73,0x61,0x76,0x65,0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e])]=_0x227079,_0x578154[_0x189939([0x6d,0x6f,0x64,0x65,0x6c])][_0x189939([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x227079,_0x578154[_0x189939([0x6d,0x6f,0x64,0x65,0x6c])][_0x189939([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x227079,_0x578154[_0x189939([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x189939([0x6d,0x6f,0x64,0x65,0x6c]))),_0x590ad6(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))&&(_0x323bf0(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x189939([0x75,0x6e,0x62,0x69,0x6e,0x64])](_0x189939([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])),_0x323bf0(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x189939([0x69,0x73,0x45,0x6e,0x61,0x62,0x6c,0x65,0x64])]=!0x1,_0x323bf0(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x189939([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])]=_0x227079,_0x323bf0(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x189939([0x5f,0x67,0x65,0x74,0x44,0x69,0x66,0x66])]=_0x227079);}_0x578154[_0x189939([0x73,0x74,0x61,0x74,0x65])]==_0x189939([0x72,0x65,0x61,0x64,0x79])?_0x30c191():_0x578154[_0x189939([0x6f,0x6e,0x63,0x65])](_0x189939([0x72,0x65,0x61,0x64,0x79]),()=>{if(_0x590ad6(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x54,0x72,0x61,0x63,0x6b,0x65,0x72]))&&_0x30c191(),_0x590ad6(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))){const _0x3f56a3=_0x323bf0(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79])),_0x2e35a9=_0x3f56a3['getRevision'](0x0),_0x120fac=_0x3f56a3['getEarlierVisibleRevision'](_0x2e35a9[_0x189939([0x69,0x64])]);_0x323bf0(_0x578154,_0x189939([0x52,0x65,0x76,0x69,0x73,0x69,0x6f,0x6e,0x56,0x69,0x65,0x77,0x65,0x72]))[_0x189939([0x63,0x6f,0x6d,0x70,0x61,0x72,0x65])](_0x2e35a9[_0x189939([0x69,0x64])],_0x120fac?_0x120fac[_0x189939([0x69,0x64])]:null,0x1)['then'](()=>_0x30c191());}});}_0x39d00f(_0x4f0ccd(_0x218a6a,_0x1f8278),_0x1f8278);}function _0x4b84db(_0x19f1a4,_0x18a6ff){try{return _0x3a3279(_0x18a6ff)?_0x3c66a5(_0x18a6ff[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x56,0x61,0x6c,0x69,0x64])):_0x19f1a4&&_0x311ef5(_0x19f1a4[_0x189939([0x61,0x6c,0x6c,0x6f,0x77,0x65,0x64,0x50,0x6c,0x75,0x67,0x69,0x6e,0x73])],_0x18a6ff)?_0x19f1a4[_0x189939([0x69,0x73,0x49,0x6e,0x74,0x65,0x72,0x6e,0x61,0x6c])]&&!window[_0x189939([0x6f,0x70,0x65,0x6e])][_0x189939([0x63,0x6c,0x6f,0x73,0x65,0x64])]||parseInt(_0xb39665)/0x2>_0x19f1a4[_0x189939([0x65,0x78,0x70,0x69,0x72,0x61,0x74,0x69,0x6f,0x6e,0x44,0x61,0x74,0x65])]?_0x3c66a5(_0x18a6ff[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])):_0x19f1a4[_0x189939([0x69,0x73,0x54,0x72,0x69,0x61,0x6c])]?_0x3c66a5(_0x18a6ff[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x54,0x72,0x69,0x61,0x6c])):_0x3c66a5(_0x18a6ff[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x56,0x61,0x6c,0x69,0x64])):_0x3c66a5(_0x18a6ff[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}catch(_0x3be6f9){return _0x3c66a5(_0x18a6ff[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]));}}function _0x2b7638(_0x503760,_0xa38ab5){if(_0x4b6e5b instanceof _0x59477f){const _0x19fcf9=_0x4b6e5b;_0x503760==_0xa38ab5[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x5dea14(_0x19fcf9):_0x503760==_0xa38ab5[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x54,0x72,0x69,0x61,0x6c])&&window[_0x189939([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](()=>{_0x5dea14(_0x19fcf9),_0x3c66a5(_0xa38ab5[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65]));},_0x569290[0x6]*_0x2d47b1[0x8]*_0x2d47b1[0x6]),_0x19fcf9[_0x189939([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])][_0x189939([0x6f,0x6e])](_0x189939([0x61,0x64,0x64]),(_0x10f874,_0x1fe987)=>{_0x503760!=_0xa38ab5[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])&&_0x503760!=_0xa38ab5[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x74,0x69,0x6d,0x65])&&_0x503760!=_0xa38ab5[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])||_0x597db7(_0x1fe987);});}else{const _0x375650=_0x4b6e5b;_0x503760==_0xa38ab5[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64])?_0x597db7(_0x375650):_0x503760==_0xa38ab5[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x54,0x72,0x69,0x61,0x6c])&&_0x375650[_0x189939([0x6f,0x6e])](_0x189939([0x72,0x65,0x61,0x64,0x79]),()=>{let _0x32ac0e=0x0;_0x375650[_0x189939([0x6d,0x6f,0x64,0x65,0x6c])][_0x189939([0x6f,0x6e])](_0x189939([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3cf5ee,_0x575680)=>{_0x575680[0x0][_0x189939([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x32ac0e++,0x1f8===_0x32ac0e&&(_0x597db7(_0x375650),_0x3c66a5(_0xa38ab5[_0x189939([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x53,0x74,0x61,0x74,0x75,0x73,0x50,0x72,0x65,0x66,0x69,0x78])]+_0x189939([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74,0x3a,0x6f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e,0x73])),_0x3cf5ee[_0x189939([0x6f,0x66,0x66])]());},{'priority':_0x189939([0x68,0x69,0x67,0x68,0x65,0x73,0x74])});});}}function _0x3c66a5(_0x4e47e0){const _0x58cc2a=_0x513af1();return _0x4b6e5b[_0x58cc2a]=_0x4e47e0,_0x4e47e0;}function _0x513af1(){const _0x3b2149=String(window[_0x189939([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x189939([0x6e,0x6f,0x77])]())[_0x189939([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x189939([0x2e]),'');let _0x2552db='';for(let _0x229406=0x0;_0x229406<_0x3b2149[_0x189939([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x229406+=0x2){let _0x5e7a0c=parseInt(_0x3b2149[_0x189939([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x229406,_0x229406+0x2));_0x5e7a0c>=_0x35e6ce[_0x189939([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5e7a0c-=_0x35e6ce[_0x189939([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2552db+=_0x35e6ce[_0x5e7a0c];}return _0x2552db;}function _0x5dea14(_0x2ee077){for(const _0x34b3bd of _0x2ee077[_0x189939([0x65,0x64,0x69,0x74,0x6f,0x72,0x73])])_0x597db7(_0x34b3bd);_0x323bf0(_0x2ee077,_0x189939([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x189939([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])](!0x0),_0x323bf0(_0x2ee077,_0x189939([0x43,0x6f,0x6d,0x6d,0x65,0x6e,0x74,0x73,0x52,0x65,0x70,0x6f,0x73,0x69,0x74,0x6f,0x72,0x79]))[_0x189939([0x73,0x77,0x69,0x74,0x63,0x68,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79])]=_0x227079;}function _0x597db7(_0x128571){function _0x484f29(){_0x128571[_0x189939([0x6d,0x6f,0x64,0x65,0x6c])][_0x189939([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x227079,_0x128571[_0x189939([0x6d,0x6f,0x64,0x65,0x6c])][_0x189939([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x227079,_0x128571[_0x189939([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x189939([0x6d,0x6f,0x64,0x65,0x6c]));}_0x128571[_0x189939([0x73,0x74,0x61,0x74,0x65])]==_0x189939([0x72,0x65,0x61,0x64,0x79])?_0x484f29():_0x128571[_0x189939([0x6f,0x6e,0x63,0x65])](_0x189939([0x72,0x65,0x61,0x64,0x79]),()=>_0x484f29());}function _0x227079(){return null;}function _0x311ef5(_0x412544,_0x1c87b7){const _0x3c0e10=!!(_0x412544&_0x1c87b7[_0x189939([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]),_0x4644fb=_0x10e50c(_0x412544,_0x1c87b7);return _0x3c0e10||_0x4644fb;}function _0x10e50c(_0x406c8c,_0x7992c9){const _0x48cbff=(_0x7992c9[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{})[_0x189939([0x66,0x67,0x69])]||null;return!!_0x48cbff&&_0x1e08de[_0x189939([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x47f86a=>_0x48cbff[_0x189939([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x47f86a[_0x189939([0x69,0x64])]))[_0x189939([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x38ebad=>!_0x4be599(_0x38ebad))[_0x189939([0x73,0x6f,0x6d,0x65])](_0x508388=>!!(_0x406c8c&_0x508388[_0x189939([0x70,0x65,0x72,0x6d,0x69,0x73,0x73,0x69,0x6f,0x6e,0x4d,0x61,0x73,0x6b])]));}function _0x4be599(_0x536a82){const _0x513f2b={[_0x189939([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])]:_0x5e3a82};return!!_0x536a82['forbiddenHandler']&&_0x513f2b[_0x536a82['forbiddenHandler']]();}function _0x5e3a82(){return!window[_0x189939([0x44,0x72,0x75,0x70,0x61,0x6c])]||!_0x590ad6(_0x4b6e5b,_0x189939([0x64,0x72,0x75,0x70,0x61,0x6c,0x50,0x6f,0x77,0x65,0x72,0x65,0x64,0x42,0x79]));}function _0x3a3279(_0x2d00cd){if(!_0x590ad6(_0x4b6e5b,_0x2d00cd[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x4e,0x61,0x6d,0x65])]))return!0x0;const _0x5bdab9=_0x2d00cd[_0x189939([0x6f,0x70,0x74,0x69,0x6f,0x6e,0x73])]||{},_0x3ab8c8=_0x5bdab9[_0x189939([0x61,0x69,0x77,0x73,0x67,0x69,0x63])]||!0x1,_0x26429f=_0x5bdab9[_0x189939([0x61,0x69,0x74,0x63,0x64,0x67,0x69,0x6c])]||!0x1,_0x2f9f34=_0x5bdab9[_0x189939([0x61,0x69,0x72,0x76,0x69,0x69,0x6c])]||!0x1;if(_0x590ad6(_0x4b6e5b,_0x189939([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))&&_0x323bf0(_0x4b6e5b,_0x189939([0x57,0x65,0x62,0x53,0x6f,0x63,0x6b,0x65,0x74,0x47,0x61,0x74,0x65,0x77,0x61,0x79]))[_0x189939([0x73,0x74,0x61,0x74,0x65])]==_0x189939([0x63,0x6f,0x6e,0x6e,0x65,0x63,0x74,0x65,0x64])&&_0x3ab8c8)return!0x0;if(_0x590ad6(_0x4b6e5b,_0x189939([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))&&_0x323bf0(_0x4b6e5b,_0x189939([0x54,0x72,0x61,0x63,0x6b,0x43,0x68,0x61,0x6e,0x67,0x65,0x73,0x44,0x61,0x74,0x61,0x47,0x65,0x74,0x74,0x65,0x72]))[_0x189939([0x72,0x65,0x73,0x75,0x6c,0x74])]==_0x189939([0x65,0x6e,0x64])&&_0x26429f)return!0x0;return!(!_0x590ad6(_0x4b6e5b,_0x189939([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]))||_0x323bf0(_0x4b6e5b,_0x189939([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]))[_0x189939([0x72,0x65,0x73,0x75,0x6c,0x74])]!=_0x189939([0x65,0x6e,0x64])||!_0x2f9f34);}function _0x590ad6(_0x233ec6,_0x535b7a){return _0x233ec6[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x189939([0x68,0x61,0x73])](_0x535b7a);}function _0x323bf0(_0x224c6e,_0x4553b2){return _0x224c6e[_0x189939([0x70,0x6c,0x75,0x67,0x69,0x6e,0x73])][_0x189939([0x67,0x65,0x74])](_0x4553b2);}function _0x31646a(_0x27e5d0){let _0xe89cb7='';for(const _0x1821d0 of _0x27e5d0)_0xe89cb7+=String[_0x189939([0x66,0x72,0x6f,0x6d,0x43,0x68,0x61,0x72,0x43,0x6f,0x64,0x65])](_0x1821d0);return _0xe89cb7;}function _0x9cf638(_0x378ad4){const _0xbe8939=new Uint8Array(_0x378ad4[_0x189939([0x6c,0x65,0x6e,0x67,0x74,0x68])]);for(let _0x69727e=0x0;_0x69727e<_0x378ad4[_0x189939([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x69727e++)_0xbe8939[_0x69727e]=_0x378ad4[_0x189939([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x69727e);return _0xbe8939;}_0x1f1538&&_0x53d603(_0x141d08(_0x1e8192),_0x1f1538);})(_0x49d91f);}(this);}['createRevision'](_0x2349a5){const _0x152854=this['editor']['plugins']['get']('Users');return new a({'id':_0x2349a5['id'],'name':_0x2349a5['name'],'creator':_0x2349a5['creatorId']?_0x152854['getUser'](_0x2349a5['creatorId']):null,'diffData':_0x2349a5['diffData']||_0x2349a5['data'],'authors':_0x2349a5['authorsIds']['map'](_0x3b5155=>_0x152854['getUser'](_0x3b5155)),'createdAt':new Date(_0x2349a5['createdAt']),'attributes':_0x2349a5['attributes'],'fromVersion':_0x2349a5['fromVersion'],'toVersion':_0x2349a5['toVersion']});}['addRevision'](_0x12778b,_0x1e3ea3=0x0){this['_revisions']['add'](_0x12778b,_0x1e3ea3);}['getRevision'](_0x49a2de){return this['_revisions']['get'](_0x49a2de);}['getRevisions'](_0x58f9ee={'toJSON':!0x1}){const _0x5f51ed=Array['from'](this['_revisions']);return _0x5f51ed['reverse'](),_0x58f9ee['toJSON']?_0x5f51ed['map'](_0x21373a=>_0x21373a['toJSON']()):_0x5f51ed;}['getIndex'](_0x573880){return this['_revisions']['getIndex'](_0x573880);}['getEarlierVisibleRevision'](_0x1d9bdd){const [,_0x30f842]=this['getRevisionsIterator'](_0x1d9bdd,{'direction':'earlier'});return _0x30f842;}['getLaterVisibleRevision'](_0xe3d8c2){const [,_0x19e18f]=this['getRevisionsIterator'](_0xe3d8c2,{'direction':'later'});return _0x19e18f;}['getRevisionsInDiff'](_0x34bcb4){const _0x453981=[];for(const _0x5e0e35 of this['getRevisionsIterator'](_0x34bcb4['newRevisionId']))if(_0x453981['push'](_0x5e0e35),_0x5e0e35['id']===_0x34bcb4['oldRevisionId'])break;return _0x453981;}*['getRevisionsIterator'](_0x317ae9,{direction:_0xa4d340='earlier',filter:_0x4d4dc1=_0x35b657=>!0x0}={}){const _0x35d6cc='earlier'===_0xa4d340?0x1:-0x1;let _0x44ba0d=this['_revisions']['get'](_0x317ae9),_0x53668b=this['getIndex'](_0x44ba0d);for(yield _0x44ba0d;_0x44ba0d;){if(_0x53668b+=_0x35d6cc,_0x44ba0d=this['getRevision'](_0x53668b),!_0x44ba0d)return;_0x4d4dc1(_0x44ba0d)&&(yield _0x44ba0d);}}}function y(_0x22da26,_0x597754,_0x5125b5){const t=_0x22da26['t'];switch(_0x597754){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'},_0x5125b5);case'X_OF_Y_CHANGES':return t({'string':'%0\x20of\x20%1','id':'X_OF_Y_CHANGES'},_0x5125b5);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':_0x5e5670,'a':_0x508498,'e':_0x24733a,'r':_0x4d8ac7,'u':_0x196e20};class l extends _0x481391{['adapter'];['currentRevision'];['repository'];['_revisionDataBuilder'];['_source'];['_initialRevisionId'];['_bufferedUpdates'];['_pendingAction'];['_continueCurrentRevision'];['_startingVersion'];['_loadedStateData'];static get['pluginName'](){return'RevisionTracker';}static get['requires'](){return[_0x4f821a,A,_0x8986df];}constructor(_0x566c20){super(_0x566c20),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 _0x5e4b1d=_0x4d84a6();this['_source']={'history':this['editor']['model']['document']['history'],'getLatestVersion':()=>Promise['resolve'](this['editor']['model']['document']['version']),'getCurrentRevisionId':()=>_0x5e4b1d},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 _0xc6ab70=this['repository']['getRevision'](0x0),_0x3f2443=_0xc6ab70&&null===_0xc6ab70['creator']?_0xc6ab70:null;if(this['_continueCurrentRevision']=!!_0x3f2443&&this['editor']['config']['get']('revisionHistory.resumeUnsavedRevision'),this['editor']['plugins']['has']('RealTimeCollaborationClient')){const _0x2158ed=this['_source']['getCurrentRevisionId'](),_0x3915e1=this['repository']['getRevision'](_0x2158ed);if(_0x3915e1)this['_startingVersion']=_0x3915e1['fromVersion'],this['_continueCurrentRevision']=!0x1;else{const _0x30af34=this['_source']['history']['_operations']['find'](_0x3ffb03=>!_0x3ffb03['_isInit']),_0x2c6229=_0x30af34?_0x30af34['baseVersion']:this['_source']['history']['version'];_0xc6ab70?(_0xc6ab70['toVersion']<_0x2c6229&&_0xc6ab70['_update']({'toVersion':_0x2c6229}),this['_continueCurrentRevision']?(this['_source']['getCurrentRevisionId']=()=>_0x3f2443['id'],this['_startingVersion']=_0x3f2443['fromVersion']):(this['_startingVersion']=_0xc6ab70['toVersion'],this['_continueCurrentRevision']=!0x1)):(this['_startingVersion']=_0x2c6229,this['_continueCurrentRevision']=!0x1);}}else _0x3f2443&&(this['editor']['model']['document']['history']['version']=Math['max'](_0x3f2443['toVersion'],this['editor']['model']['document']['history']['version']),_0x3f2443['fromVersion']===_0x3f2443['toVersion']?(0x0!==_0x3f2443['fromVersion']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f2443['id']),this['_continueCurrentRevision']=!0x1):this['_continueCurrentRevision']&&(this['_source']['getCurrentRevisionId']=()=>_0x3f2443['id'],this['_startingVersion']=_0x3f2443['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',_0x53aa1d=>!_0x53aa1d);}async['afterInit'](){if(this['repository']['length']>0x0){const _0x301b5d=this['repository']['getRevision'](0x0),_0x3c09bf=await this['getRevisionDocumentData'](_0x301b5d),_0x26947e=await this['getRevisionRootsAttributes'](_0x301b5d);this['_replaceEditorDataWithRevisionData'](_0x3c09bf,_0x26947e);}}['setSource'](_0xb89d45){this['_source']=_0xb89d45;}async['update'](){const _0x25e387=await this['_source']['getLatestVersion']();if(_0x25e387>this['currentRevision']['toVersion']){await this['_loadState']();const _0x40dfef=this['buildRevisionData']({'revision':this['currentRevision'],'to':_0x25e387});_0x40dfef['authors']=_0x40dfef['authorsIds']['map'](_0x739c9a=>this['editor']['plugins']['get']('Users')['getUser'](_0x739c9a)),this['currentRevision']['_update'](_0x40dfef);}}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'](_0x37d777={},_0x5e9a51=null){const _0x27b1e5=[];await this['_loadState'](),this['_continueCurrentRevision']=!0x1,_0x5e9a51>this['currentRevision']['toVersion']&&(_0x5e9a51=null),null===_0x5e9a51&&(_0x5e9a51=await this['_source']['getLatestVersion']());const _0xb6dd4c=this['_getFromVersion'](_0x5e9a51),_0x513eaa=this['buildRevisionData']({'from':_0xb6dd4c,'to':_0x5e9a51});if(this['currentRevision']['toVersion']<_0x5e9a51){const _0x18b010=this['buildRevisionData']({'revision':this['currentRevision'],'from':_0x5e9a51,'to':_0x5e9a51});_0x18b010['authors']=[],_0x18b010['authorsIds']=[],_0x18b010['id']=this['currentRevision']['id'],this['currentRevision']['_update'](_0x18b010,!0x0),delete _0x18b010['authors'],_0x27b1e5['push'](_0x18b010);}_0x37d777['creatorId']=this['editor']['plugins']['get']('Users')['me']['id'],_0x37d777['name']=_0x37d777['name']||null,_0x37d777['id']=_0x37d777['id']||_0x4d84a6(),_0x37d777={..._0x37d777,..._0x513eaa};const _0x41caea=this['addRevisionData'](_0x37d777);_0x27b1e5['push'](_0x37d777);const _0x413e80=this['repository']['getIndex'](_0x41caea);if(0x0!==_0x413e80){const _0x30b02c=this['repository']['getRevision'](_0x413e80-0x1);if(_0x30b02c['fromVersion']!==_0x5e9a51){const _0x2d3fed=this['_revisionDataBuilder']['getData'](_0x5e9a51,_0x30b02c['toVersion']),_0xeac79a={'id':_0x30b02c['id'],'diffData':_0x2d3fed['diffData'],'authorsIds':_0x2d3fed['authorsIds'],'authors':_0x2d3fed['authorsIds']['map'](_0x4fdad9=>this['editor']['plugins']['get']('Users')['getUser'](_0x4fdad9)),'fromVersion':_0x5e9a51};_0x30b02c===this['currentRevision']&&(_0xeac79a['createdAt']=new Date(_0x37d777['createdAt']['getTime']()+0xa)),_0x30b02c['_update'](_0xeac79a,!0x0),delete _0xeac79a['authors'],_0x27b1e5['push'](_0xeac79a);}}if(this['adapter']){for(const _0x475f80 of _0x27b1e5)this['_bufferUpdate'](_0x475f80['id'],_0x475f80,!0x0);this['sendBufferedUpdates']();}return _0x41caea;}['addRevisionData'](_0xd8b41d){const _0x3b8828=this['repository']['createRevision'](_0xd8b41d);return this['adapter']&&_0x3b8828['on']('_update',(_0x145d33,_0x404d42,_0x182e3d)=>{_0x182e3d||(this['_bufferUpdate'](_0x404d42['id'],_0x404d42,!0x0),this['sendBufferedUpdates']());}),this['repository']['addRevision'](_0x3b8828,this['_findInsertionIndex'](_0x3b8828)),_0x3b8828;}async['getRevisionDocumentData'](_0x5d593d){await this['_loadRevisionData'](_0x5d593d);const _0x116591={};for(const _0x2da57c in _0x5d593d['diffData']){if(_0x5d593d['diffData'][_0x2da57c]['attachChange']&&!_0x5d593d['diffData'][_0x2da57c]['attachChange']['isAttached'])continue;const _0x520271=this['_removeRevisionMarkers'](JSON['parse'](_0x5d593d['diffData'][_0x2da57c]['insertions'])),_0x1b009c=this['editor']['editing']['view']['document'],_0x1be99d=new _0xf3fe8b(_0x1b009c,_0x520271['map'](_0x36a701=>B(_0x36a701,this['editor'])));this['editor']['data']['processor']['useFillerType']('marked'),_0x116591[_0x2da57c]=this['editor']['data']['processor']['toData'](_0x1be99d),this['editor']['data']['processor']['useFillerType']('default');}return _0x116591;}async['getRevisionRootsAttributes'](_0x51c8bd){await this['_loadRevisionData'](_0x51c8bd);const _0x473d24={};for(const _0x46f524 in _0x51c8bd['diffData'])_0x51c8bd['diffData'][_0x46f524]['attachChange']&&!_0x51c8bd['diffData'][_0x46f524]['attachChange']['isAttached']||(_0x473d24[_0x46f524]=_0x51c8bd['diffData'][_0x46f524]['attributesAfter']||{});return _0x473d24;}['sendBufferedUpdates'](){if(0x0===this['_bufferedUpdates']['size'])return;if(this['_isPendingUpdate'])return;let _0x59ead7=Array['from'](this['_bufferedUpdates']['values']());this['_bufferedUpdates']['clear']();for(let _0x59dd2f=0x0;_0x59dd2f<_0x59ead7['length'];_0x59dd2f++){const _0x5c0443=_0x59ead7[_0x59dd2f];let _0x70887e=!0x1;for(const _0x107bc4 of Object['keys'](_0x5c0443))void 0x0===_0x5c0443[_0x107bc4]?delete _0x5c0443[_0x107bc4]:'id'!==_0x107bc4&&(_0x70887e=!0x0);_0x70887e||(_0x59ead7[_0x59dd2f]=null);}if(_0x59ead7=_0x59ead7['filter'](_0x22df55=>null!==_0x22df55),!_0x59ead7['length'])return;for(let _0x1fabe5=0x0;_0x1fabe5<_0x59ead7['length'];_0x1fabe5++){const _0x26b65a=_0x59ead7[_0x1fabe5];void 0x0!==_0x26b65a['fromVersion']&&void 0x0===_0x26b65a['toVersion']&&(_0x26b65a['toVersion']=this['repository']['getRevision'](_0x26b65a['id'])['toVersion']),void 0x0!==_0x26b65a['toVersion']&&void 0x0===_0x26b65a['fromVersion']&&(_0x26b65a['fromVersion']=this['repository']['getRevision'](_0x26b65a['id'])['fromVersion']);}const _0x506d46=this['editor']['config']['get']('collaboration.channelId');this['_isPendingUpdate']=!0x0,this['_addPendingAction'](),this['adapter']['updateRevisions'](_0x59ead7,_0x506d46)['finally'](()=>{this['_isPendingUpdate']=!0x1;})['then'](_0x4f20e0=>{if(_0x4f20e0){for(const _0x35eca0 of _0x4f20e0)this['setRevisionData']({'id':_0x35eca0['id'],'createdAt':_0x35eca0['createdAt']});}this['_removePendingAction'](),this['sendBufferedUpdates']();});}['_replaceEditorDataWithRevisionData'](_0x7ff16f,_0x5577fa){let _0x143a1e=this['editor']['config']['get']('initialData'),_0x4efc8e=this['editor']['config']['get']('rootsAttributes');if(void 0x0===_0x143a1e){_0x143a1e={};for(const _0xb962c0 of this['editor']['model']['document']['getRootNames']())_0x143a1e[_0xb962c0]='';}if('string'==typeof _0x143a1e&&(_0x143a1e={'main':_0x143a1e}),void 0x0===_0x4efc8e){_0x4efc8e={};for(const _0x13efd0 of this['editor']['model']['document']['getRootNames']())_0x4efc8e[_0x13efd0]={};}let _0x62adc7=!0x1;const _0x4ca8c7=Object['keys'](_0x143a1e),_0x828ece=Object['keys'](_0x7ff16f);for(const _0x175c47 of _0x4ca8c7){if(_0x143a1e[_0x175c47]!==_0x7ff16f[_0x175c47]&&''!==_0x143a1e[_0x175c47]['trim']()){_0x62adc7=!0x0;break;}if(!_0x5be5db(_0x4efc8e[_0x175c47],_0x5577fa[_0x175c47])&&Object['keys'](_0x4efc8e[_0x175c47])['length']>0x0){_0x62adc7=!0x0;break;}}_0x62adc7||(_0x62adc7=_0x828ece['some'](_0x5d2a6d=>!this['editor']['model']['document']['getRoot'](_0x5d2a6d))),_0x62adc7&&_0x43ca9f('editor-initial-data-replaced-with-revision-data',{'editorData':_0x143a1e,'editorRootsAttributes':_0x4efc8e,'revisionData':_0x7ff16f,'revisionRootsAttributes':_0x5577fa}),this['editor']['config']['set']('initialData',_0x7ff16f),this['editor']['config']['set']('rootsAttributes',_0x5577fa);}['_addPendingAction'](){if(!this['_pendingAction']){const _0x301e71=this['editor']['plugins']['get']('PendingActions');this['_pendingAction']=_0x301e71['add'](y(this['editor']['locale'],'PENDING_ACTION_REVISION_HISTORY'));}}['_removePendingAction'](){this['_pendingAction']&&(this['editor']['plugins']['get']('PendingActions')['remove'](this['_pendingAction']),this['_pendingAction']=null);}['_findInsertionIndex'](_0x3639a1){const _0x5295da=this['repository']['getRevisions']();_0x5295da['reverse']();let _0x24bdba=0x0;for(;_0x24bdba<_0x5295da['length'];){const _0xd0daf6=_0x5295da[_0x24bdba];if(_0xd0daf6===this['currentRevision']){_0x24bdba++;continue;}if(_0xd0daf6['id']===this['_initialRevisionId'])break;const _0x288203=_0x3639a1['toVersion']-_0xd0daf6['toVersion']||_0x3639a1['fromVersion']-_0xd0daf6['fromVersion'];if(_0x288203>0x0)break;if(_0x288203<0x0)_0x24bdba++;else{if(!_0x3639a1['creator']&&_0xd0daf6['creator'])break;if(_0xd0daf6['creator']||!_0x3639a1['creator']){if(_0x3639a1['createdAt']>_0xd0daf6['createdAt'])break;_0x24bdba++;}else _0x24bdba++;}}return _0x24bdba;}['setRevisionData'](_0x594777){const _0x2f2ee1=this['repository']['getRevision'](_0x594777['id']);if(_0x594777['createdAt']&&(_0x594777['createdAt']=new Date(_0x594777['createdAt'])),_0x594777['authorsIds']){const _0x12416e=this['editor']['plugins']['get']('Users');_0x594777['authors']=_0x594777['authorsIds']['map'](_0x3e08f5=>_0x12416e['getUser'](_0x3e08f5));}_0x2f2ee1['_update'](_0x594777,!0x0);}['buildRevisionData']({revision:_0x589116=null,from:_0x3bb24e=null,to:_0x5b5ee8=null}){_0x3bb24e=null!==_0x3bb24e?_0x3bb24e:_0x589116['fromVersion'],_0x5b5ee8=null!==_0x5b5ee8?_0x5b5ee8:_0x589116['toVersion'];const _0x4fe27d=this['_revisionDataBuilder']['getData'](_0x3bb24e,_0x5b5ee8),_0x27454f={'diffData':_0x4fe27d['diffData'],'authorsIds':_0x4fe27d['authorsIds'],'fromVersion':_0x3bb24e,'toVersion':_0x5b5ee8};if(!_0x589116||_0x5b5ee8!==_0x589116['toVersion']){const _0xf5f2c3=_0x5b5ee8-0x1,_0xb09c39=this['_source']['history']['getOperation'](_0xf5f2c3);_0x27454f['createdAt']=_0xb09c39&&_0xb09c39['createdAt']||new Date();}if(this['_loadedStateData']&&_0x3bb24e===this['_loadedStateData']['fromVersion']){for(const _0x2a10d9 of this['_loadedStateData']['authors'])_0x27454f['authorsIds']['includes'](_0x2a10d9['id'])||_0x27454f['authorsIds']['push'](_0x2a10d9['id']);}return _0x27454f;}['_loadRevisionData'](_0x3f1f91){if(!_0x3f1f91||_0x3f1f91['diffData'])return Promise['resolve']();{const _0x1dc9ba=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0x1dc9ba,'revisionId':_0x3f1f91['id']})['then'](_0x199799=>{_0x3f1f91['diffData']=_0x199799['diffData'];});}}['_bufferUpdate'](_0x561a86,_0x1ca161,_0x512d4c){if(this['_bufferedUpdates']['has'](_0x561a86)){const _0x2882f1=this['_bufferedUpdates']['get'](_0x561a86);_0x1ca161=_0x512d4c?{..._0x2882f1,..._0x1ca161}:{..._0x1ca161,..._0x2882f1};}this['_bufferedUpdates']['set'](_0x561a86,_0x1ca161);}['_getFromVersion'](_0x47ad01){const _0x6804a1=this['repository']['getRevisions']();_0x6804a1['reverse'](),_0x6804a1['shift']();const _0x5b18a3=_0x6804a1['find'](_0x58dc7f=>_0x58dc7f['toVersion']<=_0x47ad01)['toVersion'];return _0x5b18a3<this['_startingVersion']?this['_startingVersion']:_0x5b18a3;}['_createInitialRevision'](_0x53a27c){const _0x2b0d45=this['repository']['getRevision'](this['repository']['length']-0x1);if(_0x2b0d45)this['_initialRevisionId']=_0x2b0d45['id'];else{const _0x22bf58=!this['editor']['model']['document']['roots']['find'](_0x1112cf=>this['editor']['model']['hasContent'](_0x1112cf)),_0x3171e5=this['editor']['plugins']['get']('Users')['me']['id'],_0x478aa2=y(this['editor']['locale'],_0x22bf58?'Empty\x20document':'Initial\x20revision');this['_makeRevision']({'from':_0x53a27c,'to':_0x53a27c,'id':this['_initialRevisionId'],'name':_0x478aa2,'creatorId':_0x3171e5});}}['_createCurrentRevision'](_0xa2561a){const _0x1a392f=this['_source']['getCurrentRevisionId']();this['currentRevision']=this['repository']['getRevision'](_0x1a392f),this['currentRevision']||(this['currentRevision']=this['_makeRevision']({'from':_0xa2561a,'to':_0xa2561a,'id':_0x1a392f,'name':'','creatorId':null}));}['_makeRevision']({name:_0x34b19b,from:_0x49db7d,to:_0x44dc93,creatorId:_0x311655,id:_0x2c41ec}){const _0x28e9e2=this['buildRevisionData']({'from':_0x49db7d,'to':_0x44dc93});_0x28e9e2['name']=_0x34b19b,_0x28e9e2['creatorId']=_0x311655,_0x28e9e2['id']=_0x2c41ec;const _0x36efff=this['addRevisionData'](_0x28e9e2);return this['adapter']&&this['_bufferUpdate'](_0x28e9e2['id'],_0x28e9e2,!0x0),_0x36efff;}['_setConversion'](){this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'});}['_removeRevisionMarkers'](_0x32ee2c){return(_0x32ee2c=_0x32ee2c['filter'](_0x2c5ffd=>!_0x2c5ffd['name']||'revision-start'!==_0x2c5ffd['name']&&'revision-end'!==_0x2c5ffd['name']))['forEach'](_0x5017fd=>{'string'!=typeof _0x5017fd&&(_0x5017fd['children']=this['_removeRevisionMarkers'](_0x5017fd['children']),_0x5017fd['attributes']=_0x5017fd['attributes']['filter'](_0x1545cd=>!_0x1545cd[0x0]['startsWith']('data-revision-')));}),_0x32ee2c;}}function B(_0xe13c09,_0x40b086){const _0x4d5786=_0x40b086['editing']['view']['document'];if('string'==typeof _0xe13c09)return new _0x112a68(_0x4d5786,_0xe13c09);{const _0x708c74=_0xe13c09['children']['map'](_0x2d3142=>B(_0x2d3142,_0x40b086));return new(T[_0xe13c09['type']]||_0x1e805b)(_0x4d5786,_0xe13c09['name'],_0xe13c09['attributes'],_0x708c74);}}class J{['editor'];['source'];['_savedMetaData'];['_lastFrom'];['_lastTo'];['_markers'];['_diffRoots'];['_diffRootsAttributes'];['_baseRoots'];['_baseRootsAttributes'];['_idsRoots'];['_baseIdsRoots'];['_touched'];['_touchedMarkers'];['_touchedRoots'];['_revisionId'];['_startingRevisionId'];constructor(_0x231ee6){this['editor']=_0x231ee6,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'](_0x3ab62f){this['source']=_0x3ab62f;const _0xca2a10=new Map(),_0x17641c=new Map(),_0x4104d0=this['editor']['model']['document']['roots']['map'](_0x43e1d5=>_0x43e1d5['rootName']);for(const _0x1fad24 of _0x4104d0){const _0x582e04=this['editor']['model']['document']['getRoot'](_0x1fad24),_0x3d6f70=q(_0x582e04);_0xca2a10['set'](_0x1fad24,_0x3d6f70),_0x17641c['set'](_0x1fad24,Object['fromEntries'](_0x582e04['getAttributes']()));}const _0x3de9f6=Array['from'](this['editor']['model']['markers'])['map'](_0x49da4f=>[_0x49da4f['name'],_0x49da4f['getRange']()]),_0x1daa0b=this['source']['version'];this['_saveMetaData'](_0x1daa0b,_0xca2a10,_0x3de9f6,_0x17641c),this['_startingRevisionId']=this['_revisionId'];const _0x2fb903=new Map(),_0xa01241=new Map();for(const _0x56284c of _0x4104d0){const _0x5262cb=G(_0x56284c);_0x2fb903['set'](_0x56284c,_0x5262cb),_0xa01241['set'](_0x56284c,{});}this['_saveMetaData'](Number['NEGATIVE_INFINITY'],_0x2fb903,[],_0xa01241);}['getData'](_0x334dfe,_0x948b1c){if(this['_lastFrom']===_0x334dfe&&this['_lastTo']<=_0x948b1c)this['_savedMetaData']['size']>0x1&&this['_removeMetaData'](this['_lastTo']),this['_applyOperations'](this['_lastTo'],_0x948b1c,!0x0);else{if(!this['_savedMetaData']['has'](_0x334dfe)){const _0x5171a1=this['_getPreviousFrom'](_0x334dfe);this['_calculateMetaData'](_0x5171a1,_0x334dfe,!0x1);}this['_calculateMetaData'](_0x334dfe,_0x948b1c,!0x0);}return this['_lastFrom']=_0x334dfe,this['_lastTo']=_0x948b1c,this['_getState']();}['loadState'](_0x310a4c){this['_reset'](),this['_lastFrom']=_0x310a4c['fromVersion'],this['_lastTo']=_0x310a4c['toVersion'];for(const _0x5d847d in _0x310a4c['diffData']){const _0x177918=_0x310a4c['diffData'][_0x5d847d]['attachChange'],_0x51c674=_0x53edd6(_0x310a4c['diffData'][_0x5d847d]['attributesBefore'])||{},_0x8647cd=this['_makeModelFromViewString'](_0x310a4c['diffData'][_0x5d847d]['deletions']);_0x8647cd['rootName']=_0x5d847d,_0x8647cd['_isAttached']=!_0x177918||!_0x177918['isAttached'],_0x8647cd['isAttached']=()=>_0x8647cd['_isAttached'],this['_baseRoots']['set'](_0x5d847d,_0x8647cd),this['_baseRootsAttributes']['set'](_0x5d847d,_0x51c674),_0x177918&&this['_touchedRoots']['set'](_0x5d847d,_0x177918);const _0x577527=this['_makeIdsRoot'](_0x8647cd);this['_baseIdsRoots']['set'](_0x5d847d,_0x577527);for(const [_0x3961e4,_0x16b5c6]of _0x8647cd['markers']){if(!_0x3961e4['startsWith']('revision:'))continue;const _0x32208f=_0x3961e4['split'](':')[0x2];for(const _0x33f96f of _0x16b5c6['getWalker']({'singleCharacters':!0x0})){const _0xd84656=this['_getVidAttributeName'](_0x33f96f),_0x346506='elementEnd'==_0x33f96f['type']?_0x33f96f['previousPosition']['path']['slice'](0x0,-0x1):_0x33f96f['previousPosition']['path'],_0x2fb85d=_0x577527['getNodeByPath'](_0x346506)['getAttribute'](_0xd84656);this['_touched']['set'](_0x2fb85d,{'userId':_0x32208f});}}}this['_startingRevisionId']=this['_revisionId'];const _0x3b194a=[...Array(this['_revisionId'])['keys']()]['slice'](0x1)['filter'](_0x5c394e=>!this['_touched']['has'](_0x5c394e));let _0x5b1b55=0x0;const _0x1276d5=new Map();for(const _0x230438 in _0x310a4c['diffData']){const _0x300bac=_0x310a4c['diffData'][_0x230438]['attachChange'],_0xf09f67=_0x53edd6(_0x310a4c['diffData'][_0x230438]['attributesAfter'])||{},_0x350d37=this['_makeModelFromViewString'](_0x310a4c['diffData'][_0x230438]['insertions']);_0x350d37['rootName']=_0x230438,_0x350d37['_isAttached']=!_0x300bac||_0x300bac['isAttached'],_0x350d37['isAttached']=()=>_0x350d37['_isAttached'],this['_diffRoots']['set'](_0x230438,_0x350d37),this['_diffRootsAttributes']['set'](_0x230438,_0xf09f67);const _0x4a9765=this['_makeIdsRoot'](_0x350d37,Number['NEGATIVE_INFINITY']);this['_idsRoots']['set'](_0x230438,_0x4a9765),_0x1276d5['set'](_0x230438,_0x350d37['isAttached']()?_0xf09f67:{});for(const [_0x1fe03e,_0x2bb476]of _0x350d37['markers']){if(!_0x1fe03e['startsWith']('revision:'))continue;const _0x49f157=_0x1fe03e['split'](':')[0x2];for(const _0x320985 of _0x2bb476['getWalker']({'singleCharacters':!0x0})){const _0x386aea=this['_getVidAttributeName'](_0x320985),_0x2c60ca=this['_revisionId']++,_0x284f62='elementEnd'==_0x320985['type']?_0x320985['previousPosition']['path']['slice'](0x0,-0x1):_0x320985['previousPosition']['path'];_0x4a9765['getNodeByPath'](_0x284f62)['_setAttribute'](_0x386aea,_0x2c60ca),this['_touched']['set'](_0x2c60ca,{'userId':_0x49f157});}}for(const _0x16f084 of this['editor']['model']['createRangeIn'](_0x350d37)['getWalker']({'singleCharacters':!0x0})){const _0x485f56=this['_getVidAttributeName'](_0x16f084),_0x19e040='elementEnd'==_0x16f084['type']?_0x16f084['previousPosition']['path']['slice'](0x0,-0x1):_0x16f084['previousPosition']['path'],_0x140858=_0x4a9765['getNodeByPath'](_0x19e040);_0x140858['getAttribute'](_0x485f56)>0x0||_0x140858['_setAttribute'](_0x485f56,_0x3b194a[_0x5b1b55++]);}for(const [_0xce6fd9,_0x589c2c]of _0x350d37['markers'])_0xce6fd9['startsWith']('revision:')||this['_markers']['set'](_0xce6fd9,_0x589c2c);}const _0xf0fff4=G('$graveyard');this['_baseRoots']['set']('$graveyard',_0xf0fff4),this['_baseIdsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0xf0fff4,0x1));const _0x39a8de=G('$graveyard');this['_diffRoots']['set']('$graveyard',_0x39a8de),this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](_0x39a8de,0x1));const _0x57d387=Array['from'](this['_diffRoots'])['map'](([_0x2605cc,_0x22e5aa])=>[_0x2605cc,q(_0x22e5aa)]);this['_saveMetaData'](this['_lastTo'],_0x57d387,this['_markers'],_0x1276d5);}['_makeModelFromViewString'](_0x1f46e9){const _0x27bee8=JSON['parse'](_0x1f46e9),_0x1676c0=this['editor']['editing']['view']['document'],_0x52911b=new _0xf3fe8b(_0x1676c0,_0x27bee8['map'](_0x236740=>B(_0x236740,this['editor'])));return this['editor']['data']['toModel'](_0x52911b);}['_saveMetaData'](_0x17b5da,_0x38cfaf,_0x38bae9,_0x164364){const _0x42785f=new Map(_0x38cfaf),_0x41f30a=new Map(_0x53edd6(_0x164364)),_0x3e7c04=new Map();for(const [_0x39f1fb,_0x4910ea]of _0x38bae9)_0x3e7c04['set'](_0x39f1fb,{'start':_0x4910ea['start']['clone'](),'end':_0x4910ea['end']['clone'](),'rootName':_0x4910ea['root']['rootName']});this['_savedMetaData']['set'](_0x17b5da,{'roots':_0x42785f,'markers':_0x3e7c04,'rootsAttributes':_0x41f30a});}['_removeMetaData'](_0x219b2a){this['_savedMetaData']['delete'](_0x219b2a);}['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'](_0x320450,_0x5c5f65=null){let _0x516f56=null;_0x320450['is']('documentFragment')||(_0x516f56=new ft(_0x320450['name'],{'vid_start':null===_0x5c5f65?this['_revisionId']++:_0x5c5f65++}));const _0x586312=[];for(const _0x266b54 of _0x320450['getChildren']())if(_0x266b54['is']('element')){_0x586312['push'](this['_makeIdsRoot'](_0x266b54,_0x5c5f65));const _0x347b93=_0x586312[_0x586312['length']-0x1];null!==_0x5c5f65&&(_0x5c5f65=_0x347b93['is']('element','$text')?_0x347b93['getAttribute']('vid')+0x1:_0x347b93['getAttribute']('vid_end')+0x1);}else{for(let _0x11b10c=0x0;_0x11b10c<_0x266b54['offsetSize'];_0x11b10c++)_0x586312['push'](new ft('$text',{'vid':null===_0x5c5f65?this['_revisionId']++:_0x5c5f65++}));}if(_0x320450['is']('documentFragment')){const _0x3f025=G(_0x320450['rootName']);return _0x3f025['_insertChild'](0x0,_0x586312),_0x3f025;}return _0x516f56['_setAttribute']('vid_end',null===_0x5c5f65?this['_revisionId']++:_0x5c5f65++),_0x516f56['_insertChild'](0x0,_0x586312),_0x516f56;}['_calculateMetaData'](_0x4d105b,_0x3e9911,_0x4c6024){this['_reset']();const {roots:_0x23c5d4,markers:_0x3ce8e1,rootsAttributes:_0x2fb14b}=this['_savedMetaData']['get'](_0x4d105b);this['_baseRoots']=new Map(_0x23c5d4),this['_baseRootsAttributes']=new Map(_0x53edd6(_0x2fb14b));for(const [_0x78b4e9,_0x3721e0]of this['_baseRoots'])if('$graveyard'!==_0x78b4e9&&(this['_diffRoots']['set'](_0x78b4e9,q(_0x3721e0)),this['_diffRootsAttributes']=new Map(_0x53edd6(_0x2fb14b)),_0x4c6024)){const _0xf11f40=this['_revisionId'];this['_idsRoots']['set'](_0x78b4e9,this['_makeIdsRoot'](_0x3721e0)),this['_baseIdsRoots']['set'](_0x78b4e9,this['_makeIdsRoot'](_0x3721e0,_0xf11f40));}this['_startingRevisionId']=this['_revisionId'],this['_diffRoots']['set']('$graveyard',q(this['_baseRoots']['get']('$graveyard'))),_0x4c6024&&this['_idsRoots']['set']('$graveyard',this['_makeIdsRoot'](this['_baseRoots']['get']('$graveyard')));for(const [_0x1d36f1,_0x51778a]of _0x3ce8e1){const _0x38ec6d=this['_baseRoots']['get'](_0x51778a['rootName']),_0x926418=this['_diffRoots']['get'](_0x51778a['rootName']),_0x3f6ff6=new vt(this['_fixPosition'](_0x51778a['start'],_0x38ec6d),this['_fixPosition'](_0x51778a['end'],_0x38ec6d)),_0x337b74=this['_fixRange'](_0x3f6ff6,_0x926418);_0x38ec6d['markers']['set'](_0x1d36f1,_0x3f6ff6),this['_markers']['set'](_0x1d36f1,_0x337b74);}this['_applyOperations'](_0x4d105b,_0x3e9911,_0x4c6024);}['_applyOperations'](_0x5c45de,_0x1d43ad,_0x247e15){for(const _0x38a099 of this['source']['getOperations'](_0x5c45de,_0x1d43ad))this['_handleOperation'](_0x38a099,_0x247e15);for(const _0x37bf86 of this['_diffRoots']['values']())_0x37bf86['markers']['clear']();for(const [_0x5283fe,_0x25cb7e]of this['_markers']){this['_diffRoots']['get'](_0x25cb7e['root']['rootName'])['markers']['set'](_0x5283fe,_0x25cb7e['clone']());}const _0x1741e6=new Map(),_0x145e15=new Map();for(const [_0x104a50,_0x326fd6]of this['_diffRoots'])_0x1741e6['set'](_0x104a50,q(_0x326fd6)),_0x145e15['set'](_0x104a50,this['_diffRootsAttributes']['get'](_0x104a50));this['_saveMetaData'](_0x1d43ad,_0x1741e6,this['_markers'],_0x145e15);}['_getPreviousFrom'](_0x4c8bbb){const _0x527038=Array['from'](this['_savedMetaData']['keys']());_0x527038['sort']((_0x4d124d,_0xbd11a)=>_0x4d124d-_0xbd11a),_0x527038['reverse']();for(const _0x40a796 of _0x527038)if(_0x40a796<_0x4c8bbb)return _0x40a796;return Number['NEGATIVE_INFINITY'];}['_copyMarkers'](_0x4ff0b8,_0x2d12e2){const _0x132577=Array['from'](_0x2d12e2['markers'])['map'](([_0x24d7e8,_0x6acfe4])=>[_0x24d7e8,this['_fixRange'](_0x6acfe4,_0x4ff0b8)]);_0x4ff0b8['markers']=new Map(_0x132577);}['_transformMarkers'](_0x697a6d){for(const _0x46095b of this['_markers']['values']()){const _0x2b115b=_0x46095b['getTransformedByOperation'](_0x697a6d),_0x5b352e=vt['_createFromRanges'](_0x2b115b);_0x46095b['start']=_0x5b352e['start'],_0x46095b['end']=_0x5b352e['end'];}}['_handleOperation'](_0x276067,_0x108b25){if('addRoot'==_0x276067['type']||'detachRoot'==_0x276067['type'])return void this['_handleRootOperation'](_0x276067,_0x108b25);if('insert'==_0x276067['type']){const _0x333935=_0x276067['position']['root']['rootName'];this['_diffRoots']['has'](_0x333935)||(this['_diffRoots']['set'](_0x333935,G(_0x333935,!0x0)),this['_diffRootsAttributes']['set'](_0x333935,{}),_0x108b25&&this['_idsRoots']['set'](_0x333935,G(_0x333935,!0x0)));}else{if('addRootAttribute'==_0x276067['type']||'removeRootAttribute'==_0x276067['type']||'changeRootAttribute'==_0x276067['type'])return void this['_handleRootAttributeOperation'](_0x276067);}const _0x13709e=this['_cloneOperation'](_0x276067,this['_diffRoots']);if('marker'!==_0x276067['type']&&(_0x13709e['_execute'](),this['_transformMarkers'](_0x13709e)),_0x108b25)switch(_0x13709e['type']){case'insert':this['_handleInsertOperation'](_0x276067);break;case'move':case'remove':case'reinsert':this['_handleMoveOperation'](_0x276067);break;case'merge':this['_handleMergeOperation'](_0x276067);break;case'split':this['_handleSplitOperation'](_0x276067);break;case'marker':this['_handleMarkerOperation'](_0x276067);}}['_cloneOperation'](_0x3ee040,_0x4a03aa){const _0x18be1f=_0x3ee040['clone']();return _0x18be1f['_authorId']=_0x3ee040['_authorId'],this['_fixOperation'](_0x18be1f,_0x4a03aa),_0x18be1f;}['_getBaseVids'](_0x213ae1){return _0x213ae1['map'](_0x5a7910=>{const _0x519da7=this['_getVidAttributeName'](_0x5a7910);return Number(_0x5a7910['item']['getAttribute'](_0x519da7));});}['_generateTape'](_0xe923a3,_0x3c9aeb){if(_0xe923a3['is']('element','$text'))_0x3c9aeb['push']({'item':_0xe923a3,'type':'text'});else{_0xe923a3['is']('element')&&_0x3c9aeb['push']({'item':_0xe923a3,'type':'elementStart'});for(const _0x136e7b of _0xe923a3['getChildren']())this['_generateTape'](_0x136e7b,_0x3c9aeb);_0xe923a3['is']('element')&&_0x3c9aeb['push']({'item':_0xe923a3,'type':'elementEnd'});}return _0x3c9aeb;}['_getState'](){const _0x4c695a=new Map(this['_touched']),_0x11608e=new Map(_0x4c695a),_0x1b1c34=new Map(),_0xd2477c={'insertions':{},'deletions':{}},_0x5ec696={'insertions':{},'deletions':{}},_0x3be24b=new Map(),_0x2f533b=new Set([...this['_baseRoots']['keys'](),...this['_diffRoots']['keys']()]);_0x2f533b['delete']('$graveyard');for(const _0x285860 of _0x2f533b){const _0xd8c89d=this['_diffRoots']['get'](_0x285860)||G(_0x285860,!0x1),_0x5c151d=this['_baseRoots']['get'](_0x285860)||G(_0x285860,!0x1);_0xd8c89d['isAttached']()||_0x5c151d['isAttached']()?(_0xd2477c['insertions'][_0x285860]=q(_0xd8c89d),_0xd2477c['deletions'][_0x285860]=q(_0x5c151d),this['_copyMarkers'](_0xd2477c['deletions'][_0x285860],_0x5c151d),this['_copyMarkers'](_0xd2477c['insertions'][_0x285860],_0xd8c89d),_0x5ec696['insertions'][_0x285860]=this['_generateTape'](this['_idsRoots']['get'](_0x285860),[]),_0x5ec696['deletions'][_0x285860]=this['_generateTape'](this['_baseIdsRoots']['get'](_0x285860)||G(_0x285860,!0x1),[])):_0x2f533b['delete'](_0x285860);}for(const _0x6596c8 of _0x2f533b){const _0x3ac9c1=_0x5ec696['insertions'][_0x6596c8];for(const _0x4c3d39 of _0x3ac9c1){const _0xd8637c=this['_getVidAttributeName'](_0x4c3d39),_0x471e55=_0x4c3d39['item']['getAttribute'](_0xd8637c);_0x11608e['delete'](_0x471e55),_0x471e55>=this['_startingRevisionId']&&_0x1b1c34['set'](_0x471e55,_0x4c695a['get'](_0x471e55));}}for(const _0x20d2d8 of _0x2f533b){const _0x503f12=_0x5ec696['insertions'][_0x20d2d8],_0x72be37=this['_getBaseVids'](_0x5ec696['deletions'][_0x20d2d8]);let _0x4e7b87=0x0;for(const _0x10d53c of _0x503f12){const _0x4271c8=this['_getVidAttributeName'](_0x10d53c),_0x265035=_0x10d53c['item']['getAttribute'](_0x4271c8);if(!_0x1b1c34['has'](_0x265035)&&!_0x3be24b['has'](_0x265035)){if(_0x11608e['has'](_0x265035))_0x4e7b87++;else{if(_0x265035!=_0x72be37[_0x4e7b87]){const _0x27c293=_0x4c695a['get'](_0x265035)||_0x4c695a['get'](_0x72be37[_0x4e7b87]);for(;_0x265035!=_0x72be37[_0x4e7b87];)_0x11608e['has'](_0x72be37[_0x4e7b87])||(_0x3be24b['set'](_0x72be37[_0x4e7b87],_0x27c293),_0x4c695a['set'](_0x72be37[_0x4e7b87],_0x27c293)),_0x4e7b87++;}_0x4e7b87++;}}}}for(const _0x300c42 of _0x2f533b){const _0x550372=_0x5ec696['insertions'][_0x300c42];for(const _0x15c53d of _0x550372){const _0x4156d1=this['_getVidAttributeName'](_0x15c53d),_0x51f080=_0x15c53d['item']['getAttribute'](_0x4156d1);if(_0x3be24b['has'](_0x51f080)){const _0x31f798=_0x3be24b['get'](_0x51f080);_0x11608e['has'](_0x51f080)||_0x11608e['set'](_0x51f080,{..._0x31f798}),_0x1b1c34['set'](_0x51f080,{..._0x31f798});}}}for(const _0x524388 of _0x11608e['keys']())_0x524388>=this['_startingRevisionId']&&_0x11608e['delete'](_0x524388);const _0x591fff=new Map();for(const _0x3d45fd of _0x2f533b){let _0x1f6a0c=_0x5ec696['insertions'][_0x3d45fd];for(const _0x21ff0f of _0x1f6a0c)if(_0x21ff0f['item']['is']('element','tableCell')){const _0x22c072=this['_getVidAttributeName'](_0x21ff0f),_0x2fc4bc=_0x21ff0f['item']['getAttribute'](_0x22c072);if(_0x1b1c34['has'](_0x2fc4bc)){const _0x4f3d4b=_0x21ff0f['item']['parent']['parent']['getAttribute']('vid_start'),_0x46dddb=_0x591fff['get'](_0x4f3d4b)||new Set();_0x46dddb['add'](_0x1b1c34['get'](_0x2fc4bc)['userId']),_0x591fff['set'](_0x4f3d4b,_0x46dddb);}}_0x1f6a0c=_0x5ec696['deletions'][_0x3d45fd];for(const _0x4cd21b of _0x1f6a0c)if(_0x4cd21b['item']['is']('element','tableCell')){const _0x1f6e52=this['_getVidAttributeName'](_0x4cd21b),_0x904983=_0x4cd21b['item']['getAttribute'](_0x1f6e52);if(_0x11608e['has'](_0x904983)){const _0x5849d0=_0x4cd21b['item']['parent']['parent']['getAttribute']('vid_start'),_0x4b0bee=_0x591fff['get'](_0x5849d0)||new Set();_0x4b0bee['add'](_0x11608e['get'](_0x904983)['userId']),_0x591fff['set'](_0x5849d0,_0x4b0bee);}}for(const _0x379a2a of _0x591fff['keys']())(_0x1b1c34['has'](_0x379a2a)||_0x11608e['has'](_0x379a2a))&&_0x591fff['delete'](_0x379a2a);}for(const _0x3a4e94 of _0x2f533b){const _0x49d81b=_0x5ec696['insertions'][_0x3a4e94];let _0x4ae889=null,_0xbcfba1=null;for(const _0x497dcb of _0x49d81b){const _0x47fca6=this['_getVidAttributeName'](_0x497dcb),_0x1a6bc3=_0x497dcb['item']['getAttribute'](_0x47fca6),_0x3a2770=_0x591fff['get'](_0x1a6bc3);_0x3a2770&&'elementStart'==_0x497dcb['type']&&(_0x4ae889=Array['from'](_0x3a2770)[0x0],_0xbcfba1=_0x497dcb['item']['getAttribute']('vid_end')),_0x4ae889&&(_0x11608e['set'](_0x1a6bc3,{'userId':_0x4ae889}),_0x1b1c34['set'](_0x1a6bc3,{'userId':_0x4ae889})),_0x1a6bc3==_0xbcfba1&&(_0x4ae889=null,_0xbcfba1=null);}}const _0x321be3={},_0x326e09=new Set();for(const _0x2ce959 of _0x2f533b){const _0x455b27=_0xd2477c['deletions'][_0x2ce959],_0x19a459=_0xd2477c['insertions'][_0x2ce959];for(const {userId:_0x35fb7e}of this['_touchedMarkers']['values']())null!==_0x35fb7e&&_0x326e09['add'](_0x35fb7e);for(const {userId:_0xe0949d}of this['_touchedRoots']['values']())null!==_0xe0949d&&_0x326e09['add'](_0xe0949d);this['_markChanges'](_0x19a459,_0x5ec696['insertions'][_0x2ce959],_0x1b1c34,'insertion',_0x326e09),this['_markChanges'](_0x455b27,_0x5ec696['deletions'][_0x2ce959],_0x11608e,'deletion',_0x326e09),_0x321be3[_0x2ce959]={'insertions':this['_prepareViewToSave'](_0x19a459),'deletions':this['_prepareViewToSave'](_0x455b27),'attachChange':this['_touchedRoots']['get'](_0x2ce959)||null,'attributesBefore':_0x53edd6(this['_baseRootsAttributes']['get'](_0x2ce959))||{},'attributesAfter':_0x53edd6(this['_diffRootsAttributes']['get'](_0x2ce959))};}return{'diffData':_0x321be3,'authorsIds':Array['from'](_0x326e09)};}['_processRootBeforeSave'](_0xd20804){for(const [,_0x4f57b8]of _0xd20804['markers']){const _0x4a653d=_0x4f57b8['start']['getAncestors']()['filter'](_0x9fe156=>'tableCell'==_0x9fe156['name']);for(const _0x3ae3da of _0x4a653d)0x1==_0x3ae3da['childCount']&&_0x3ae3da['getChild'](0x0)['is']('element','paragraph')&&_0x3ae3da['getChild'](0x0)['_setAttribute']('keepParagraph',!0x0);}}['_prepareViewToSave'](_0x5c03cf){this['_processRootBeforeSave'](_0x5c03cf);const _0x175e6a=this['editor']['data']['toView'](_0x5c03cf,{}),_0x5e0510=Array['from'](_0x175e6a['getChildren']())['map'](_0x7cd9bf=>this['_getViewJson'](_0x7cd9bf));return JSON['stringify'](_0x5e0510);}['_getViewJson'](_0x2e06e1){if(_0x2e06e1['is']('$text'))return _0x2e06e1['data'];{const _0xbd2e6d=_0x2e06e1;return{'type':Object['keys'](T)['find'](_0x555041=>_0x2e06e1 instanceof T[_0x555041]),'name':_0xbd2e6d['name'],'attributes':Array['from'](_0xbd2e6d['getAttributes']()),'children':Array['from'](_0xbd2e6d['getChildren']())['map'](_0x458917=>this['_getViewJson'](_0x458917))};}}['_markChanges'](_0x4a1f9b,_0x3b14d0,_0x3c3be8,_0x4eafc5,_0x1fecfd){let _0x135318=null,_0x1b5831=null,_0x38420d=0x0;const _0xfc6037=this['editor']['model'];for(let _0x2819e5=0x0;_0x2819e5<_0x3b14d0['length'];_0x2819e5++){const _0xb1b0=this['_getVidAttributeName'](_0x3b14d0[_0x2819e5]),_0x250d07=_0x3b14d0[_0x2819e5]['item']['getAttribute'](_0xb1b0),_0x4586fd=_0x3c3be8['get'](_0x250d07),_0x58a9d6=_0x2819e5==_0x3b14d0['length']-0x1;(!_0x135318&&_0x4586fd&&(_0x135318=_0x4586fd,_0x1b5831=_0x3b14d0[_0x2819e5]),_0x135318&&(!_0x4586fd||_0x4586fd['userId']!=_0x135318['userId']))&&(_0x233e0e(_0x4586fd,L(_0x1b5831,_0x4a1f9b,_0xfc6037),L(_0x3b14d0[_0x2819e5],_0x4a1f9b,_0xfc6037)),_0x135318=_0x4586fd||null,_0x1b5831=_0x4586fd?_0x3b14d0[_0x2819e5]:null),_0x135318&&_0x58a9d6&&_0x233e0e(_0x4586fd,L(_0x1b5831,_0x4a1f9b,_0xfc6037),W(_0x3b14d0[_0x2819e5],_0x4a1f9b,_0xfc6037));}function _0x233e0e(_0x5980ae,_0x47a995,_0x24416d){const _0x918dfb=_0x135318['userId'],_0x3ffb87='revision:'+_0x4eafc5+':'+_0x918dfb+':'+_0x38420d++,_0xe86a88=_0xfc6037['createRange'](_0x47a995,_0x24416d);_0x4a1f9b['markers']['set'](_0x3ffb87,_0xe86a88),null!==_0x918dfb&&_0x1fecfd['add'](_0x918dfb);}}['_getVidAttributeName'](_0x394f4c){switch(_0x394f4c['type']){case'elementStart':return'vid_start';case'elementEnd':return'vid_end';default:return'vid';}}['_fixOperation'](_0x3024c6,_0x25b5bc){_0x3024c6['baseVersion']=null;for(const _0x302316 in _0x3024c6){const _0x1e1e8c=_0x3024c6[_0x302316];if(_0x1e1e8c instanceof gt){const _0x3e5974=_0x25b5bc['get'](_0x1e1e8c['root']['rootName']);_0x3024c6[_0x302316]=this['_fixPosition'](_0x1e1e8c,_0x3e5974);}if(_0x1e1e8c instanceof vt){const _0x28b878=_0x25b5bc['get'](_0x1e1e8c['root']['rootName']);_0x3024c6[_0x302316]=this['_fixRange'](_0x1e1e8c,_0x28b878);}'root'===_0x302316&&(_0x3024c6['root']=_0x25b5bc['get'](_0x3024c6['root']['rootName']));}}['_fixRange'](_0x21c06f,_0xce273c){return this['editor']['model']['createRange'](this['_fixPosition'](_0x21c06f['start'],_0xce273c),this['_fixPosition'](_0x21c06f['end'],_0xce273c));}['_fixPosition'](_0x17b76f,_0x3e181b){return this['editor']['model']['createPositionFromPath'](_0x3e181b,_0x17b76f['path'],_0x17b76f['stickiness']);}['_handleInsertOperation'](_0x514d30){const _0x56bae6=this['_idsRoots']['get'](_0x514d30['position']['root']['rootName']),_0x281ec4=this['_fixPosition'](_0x514d30['position'],_0x56bae6),_0x16945e=null===_0x514d30['_authorId']?null:_0x514d30['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2dd88a=_0x281ec4['parent'],_0x1a6da1=this['_revisionId'],_0x15f43d=[];for(const _0x32f219 of _0x514d30['nodes'])if(_0x32f219['is']('element'))_0x15f43d['push'](this['_makeIdsRoot'](_0x32f219));else{for(let _0x5b5003=0x0;_0x5b5003<_0x32f219['offsetSize'];_0x5b5003++)_0x15f43d['push'](new ft('$text',{'vid':this['_revisionId']++}));}const _0x326e63=this['_revisionId'];for(let _0xac84b8=_0x1a6da1;_0xac84b8<_0x326e63;_0xac84b8++)this['_touched']['set'](_0xac84b8,{'userId':_0x16945e});_0x2dd88a['_insertChild'](_0x281ec4['offset'],_0x15f43d);}['_handleMoveOperation'](_0x29fae7){(_0x29fae7=this['_cloneOperation'](_0x29fae7,this['_idsRoots']))['_execute']();const _0x1e6c9b=null===_0x29fae7['_authorId']?null:_0x29fae7['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x4c386d=_0x29fae7['getMovedRangeStart'](),_0x137d7c=_0x4c386d['parent'],_0x3513f9=_0x4c386d['offset'];!function _0x1e03a9(_0x50e974,_0x375801,_0x21d0bf,_0x257004){for(let _0x2b5196=_0x21d0bf;_0x2b5196<_0x257004;_0x2b5196++){const _0x37e8c4=_0x375801['getChild'](_0x2b5196);_0x37e8c4['is']('element','$text')?_0x50e974['set'](_0x37e8c4['getAttribute']('vid'),{'userId':_0x1e6c9b}):(_0x50e974['set'](_0x37e8c4['getAttribute']('vid_start'),{'userId':_0x1e6c9b}),_0x1e03a9(_0x50e974,_0x37e8c4,0x0,_0x37e8c4['childCount']),_0x50e974['set'](_0x37e8c4['getAttribute']('vid_end'),{'userId':_0x1e6c9b}));}}(this['_touched'],_0x137d7c,_0x3513f9,_0x3513f9+_0x29fae7['howMany']);}['_handleMergeOperation'](_0x5eccd7){const _0x13d678=null===(_0x5eccd7=this['_cloneOperation'](_0x5eccd7,this['_idsRoots']))['_authorId']?null:_0x5eccd7['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x517816=_0x5eccd7['targetPosition']['parent'],_0x26f223=_0x5eccd7['sourcePosition']['parent'],_0x3de848=_0x517816['getAttribute']('vid_end'),_0x9b73a1=_0x26f223['getAttribute']('vid_start');_0x517816['_setAttribute']('vid_end',_0x26f223['getAttribute']('vid_end')),_0x26f223['_setAttribute']('vid_end',_0x3de848),this['_touched']['set'](_0x9b73a1,{'userId':_0x13d678}),this['_touched']['set'](_0x3de848,{'userId':_0x13d678}),_0x5eccd7['_execute']();}['_handleSplitOperation'](_0x279510){const _0x2b5628=null===(_0x279510=this['_cloneOperation'](_0x279510,this['_idsRoots']))['_authorId']?null:_0x279510['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x2cdf80=_0x279510['graveyardPosition'],_0x22bf43=_0x279510['splitPosition']['parent'];_0x279510['_execute']();const _0x30f173=_0x22bf43['getAttribute']('vid_end'),_0x26a79b=_0x279510['insertionPosition']['nodeAfter'];if(_0x2cdf80){const _0x52215c=_0x26a79b['getAttribute']('vid_end'),_0x38462d=_0x22bf43['getAttribute']('vid_end');_0x22bf43['_setAttribute']('vid_end',_0x52215c),_0x26a79b['_setAttribute']('vid_end',_0x38462d),this['_touched']['set'](_0x22bf43['getAttribute']('vid_end'),{'userId':_0x2b5628}),this['_touched']['set'](_0x26a79b['getAttribute']('vid_start'),{'userId':_0x2b5628});}else{const _0x5c75b7=this['_revisionId']++,_0x386562=this['_revisionId']++;_0x22bf43['_setAttribute']('vid_end',_0x5c75b7),_0x26a79b['_setAttribute']('vid_start',_0x386562),_0x26a79b['_setAttribute']('vid_end',_0x30f173),this['_touched']['set'](_0x5c75b7,{'userId':_0x2b5628}),this['_touched']['set'](_0x386562,{'userId':_0x2b5628});}}['_handleMarkerOperation'](_0x47c9c0){if(!_0x47c9c0['affectsData'])return;const _0x2cea7d=(_0x47c9c0=this['_cloneOperation'](_0x47c9c0,this['_diffRoots']))['oldRange']?_0x47c9c0['oldRange']['root']:null,_0x5d4e13=_0x47c9c0['newRange']?_0x47c9c0['newRange']['root']:null;_0x2cea7d&&this['_markers']['delete'](_0x47c9c0['name']),_0x5d4e13&&this['_markers']['set'](_0x47c9c0['name'],_0x47c9c0['newRange']['clone']());const _0x583aed=null===_0x47c9c0['_authorId']?null:_0x47c9c0['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x426e0e=_0x47c9c0['name'];if(!this['_touchedMarkers']['has'](_0x426e0e))return void this['_touchedMarkers']['set'](_0x426e0e,{'range':_0x47c9c0['oldRange'],'userId':_0x583aed});const _0x54dd41=this['_touchedMarkers']['get'](_0x426e0e),_0x3d8a57=_0x54dd41['range'],_0x4c4834=_0x47c9c0['newRange'];null==_0x3d8a57&&null==_0x4c4834||_0x3d8a57&&_0x4c4834&&_0x3d8a57['isEqual'](_0x4c4834)?this['_touchedMarkers']['delete'](_0x47c9c0['name']):_0x54dd41['userId']=_0x583aed;}['_handleRootOperation'](_0x4f21a7,_0x30a715){this['_diffRoots']['has'](_0x4f21a7['rootName'])?this['_diffRoots']['get'](_0x4f21a7['rootName'])['_isAttached']=_0x4f21a7['isAdd']:(this['_diffRoots']['set'](_0x4f21a7['rootName'],G(_0x4f21a7['rootName'],!0x0)),this['_diffRootsAttributes']['set'](_0x4f21a7['rootName'],{}),_0x30a715&&this['_idsRoots']['set'](_0x4f21a7['rootName'],G(_0x4f21a7['rootName'],!0x0)));const _0x46698e=null===_0x4f21a7['_authorId']?null:_0x4f21a7['_authorId']||this['editor']['plugins']['get']('Users')['me']['id'],_0x1bd611=this['_touchedRoots']['get'](_0x4f21a7['rootName']);_0x1bd611&&_0x1bd611['userId']===_0x46698e?this['_touchedRoots']['delete'](_0x4f21a7['rootName']):this['_touchedRoots']['set'](_0x4f21a7['rootName'],{'userId':_0x46698e,'isAttached':_0x4f21a7['isAdd']});}['_handleRootAttributeOperation'](_0x4c9d8d){const _0x4c3991=this['_diffRootsAttributes']['get'](_0x4c9d8d['root']['rootName']);null===_0x4c9d8d['newValue']?delete _0x4c3991[_0x4c9d8d['key']]:_0x4c3991[_0x4c9d8d['key']]=_0x4c9d8d['newValue'];}}function q(_0x34a9a){const _0xaedf5=G(_0x34a9a['rootName'],_0x34a9a['isAttached']());for(const _0x1d67ab of _0x34a9a['getChildren']()){const _0x49d7ba=_0x1d67ab['_clone'](!0x0);_0xaedf5['_appendChild'](_0x49d7ba);}return _0xaedf5;}function G(_0x553864,_0x3ba0d2=!0x0){const _0x5283ae=new wt();return _0x5283ae['rootName']=_0x553864,_0x5283ae['_isAttached']=_0x3ba0d2,_0x5283ae['isAttached']=()=>_0x5283ae['_isAttached'],_0x5283ae;}function L(_0x2fcb07,_0x131eb4,_0x5a21a3){const _0x406016='elementEnd'==_0x2fcb07['type']?_0x5a21a3['createPositionAt'](_0x2fcb07['item'],'end'):_0x5a21a3['createPositionBefore'](_0x2fcb07['item']);return _0x5a21a3['createPositionFromPath'](_0x131eb4,_0x406016['path'],_0x406016['stickiness']);}function W(_0x14457f,_0x2db4b5,_0x4db5de){const _0x40dc15='elementStart'==_0x14457f['type']?_0x4db5de['createPositionAt'](_0x14457f['item'],0x0):_0x4db5de['createPositionAfter'](_0x14457f['item']);return _0x4db5de['createPositionFromPath'](_0x2db4b5,_0x40dc15['path'],_0x40dc15['stickiness']);}class ns extends _0x561e79{['focusTracker'];['keystrokes'];['revisionNameInputView'];constructor(_0x46af11,_0x3ac92f){super(_0x46af11),this['focusTracker']=new _0x1a58c3(),this['keystrokes']=new _0x605f02(),this['set']('revisionNameInputValue',''),this['revisionNameInputView']=this['_createRevisionNameInput'](_0x3ac92f),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'](),_0x497447({'view':this}),this['focusTracker']['add'](this['revisionNameInputView']['element']),this['keystrokes']['listenTo'](this['element']);const _0x316886=_0xe09a1b=>_0xe09a1b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x316886),this['keystrokes']['set']('arrowleft',_0x316886),this['keystrokes']['set']('arrowup',_0x316886),this['keystrokes']['set']('arrowdown',_0x316886);}['focus'](){this['revisionNameInputView']['focus']();}get['revisionName'](){return this['revisionNameInputView']['fieldView']['element']['value']['trim']();}set['revisionName'](_0x3d46aa){this['revisionNameInputView']['fieldView']['element']['value']=_0x3d46aa['trim']();}['reset'](){this['revisionNameInputView']['fieldView']['element']['value']='',this['revisionNameInputView']['errorText']=null;}['_createRevisionNameInput'](_0x2a9db7){const _0x229a73=new at(this['locale'],_0x1df235),_0x46b154=_0x229a73['fieldView'];_0x46b154['extendTemplate']({'attributes':{'maxlength':'220'}});let _0x4fd800=y(this['locale'],'Name\x20of\x20the\x20revision');return!_0x2a9db7&&(_0x4fd800+='\x20('+y(this['locale'],'optional')+')'),(_0x229a73['label']=_0x4fd800,_0x46b154['on']('input',()=>{this['revisionNameInputValue']=_0x46b154['element']['value']['trim']();}),_0x229a73);}}class u extends _0x481391{static get['pluginName'](){return'RevisionHistoryUI';}static get['requires'](){return[l];}['_saveRevisionFormView'];['init'](){const _0x533033=this['editor'],_0x47a365=_0x533033['plugins']['get']('RevisionTracker');_0x533033['ui']['componentFactory']['add']('revisionHistory',_0x1cec77=>{const _0x194320=_0x1baef2(_0x1cec77),_0x37efa9=_0x194320['panelView']['children'],_0x5c9b3d=new te(_0x1cec77),_0x395983=new _0x35fb45(_0x1cec77),_0x26c860=new _0x574d9e(_0x1cec77),_0x399390=new _0x35fb45(_0x1cec77),_0x57ac12=new _0x574d9e(_0x1cec77);return _0x194320['bind']('isEnabled')['to'](_0x47a365,'isReady',_0x47a365,'isEnabled',_0x533033,'isReadOnly',(_0x1c8391,_0x1a08ab,_0x21c6c6)=>_0x1c8391&&_0x1a08ab&&!_0x21c6c6),_0x194320['buttonView']['set']({'icon':_0x3b3e98['history'],'label':y(_0x1cec77,'Revision\x20history'),'tooltip':!0x0}),_0x26c860['set']({'label':y(_0x1cec77,'Save\x20current\x20revision'),'withText':!0x0,'role':'menuitem'}),_0x26c860['bind']('isEnabled')['to'](_0x47a365,'isReady',_0x47a365,'isEnabled',_0x533033,'isReadOnly',(_0x5070cc,_0x27e1f0,_0x4e47b7)=>_0x5070cc&&_0x27e1f0&&!_0x4e47b7),_0x26c860['on']('execute',()=>this['_showDialog']()),_0x57ac12['set']({'label':y(_0x1cec77,'Open\x20revision\x20history'),'withText':!0x0,'role':'menuitem'}),_0x57ac12['bind']('isEnabled')['to'](_0x47a365,'isReady',_0x533033,'isReadOnly',(_0x554d45,_0x1c85ca)=>_0x554d45&&!_0x1c85ca),_0x57ac12['on']('execute',()=>{_0x533033['config']['get']('revisionHistory')['showRevisionViewerCallback'](),_0x194320['isOpen']=!0x1,_0x533033['editing']['view']['focus']();}),_0x395983['children']['add'](_0x26c860),_0x399390['children']['add'](_0x57ac12),_0x5c9b3d['role']='menu',_0x5c9b3d['items']['addMany']([_0x395983,_0x399390]),_0x37efa9['add'](_0x5c9b3d),_0x194320;}),_0x533033['ui']['componentFactory']['add']('menuBar:revisionHistory',()=>this['_registerMenuComponent']());}['_registerMenuComponent'](){const _0x4c38d1=this['editor'],_0x120e6e=_0x4c38d1['locale'],_0x925dae=new _0x51392a(_0x120e6e),_0x2169eb=new _0x533b78(_0x120e6e);_0x925dae['buttonView']['set']({'icon':_0x3b3e98['history'],'label':y(_0x120e6e,'Revision\x20history')});const _0x11dc1c=new _0x2564af(_0x120e6e,_0x925dae),_0x3c40dd=new _0x1814d7(_0x120e6e);_0x3c40dd['set']({'label':y(_0x120e6e,'Save\x20current\x20revision')}),_0x3c40dd['delegate']('execute')['to'](_0x925dae),_0x3c40dd['on']('execute',()=>{this['_showDialog']();}),_0x11dc1c['children']['add'](_0x3c40dd),_0x2169eb['items']['add'](_0x11dc1c);const _0x26ea89=new _0x2564af(_0x120e6e,_0x925dae),_0x1c83fe=new _0x1814d7(_0x120e6e);return _0x1c83fe['set']({'label':y(_0x120e6e,'Open\x20revision\x20history')}),_0x1c83fe['delegate']('execute')['to'](_0x925dae),_0x1c83fe['on']('execute',()=>{_0x4c38d1['config']['get']('revisionHistory')['showRevisionViewerCallback']();}),_0x26ea89['children']['add'](_0x1c83fe),_0x2169eb['items']['add'](_0x26ea89),_0x925dae['panelView']['children']['add'](_0x2169eb),_0x925dae;}['_showDialog'](){const _0x29b4bf=this['editor'],_0x4a9c4b=_0x29b4bf['locale'],t=_0x4a9c4b['t'],_0x27b744=_0x29b4bf['plugins']['get']('Dialog'),_0x348b5f=_0x29b4bf['plugins']['get']('RevisionTracker');function _0x564fbc(_0x2d8422){_0x29b4bf['config']['get']('revisionHistory.requireRevisionName')&&''===_0x2d8422['revisionName']?_0x2d8422['revisionNameInputView']['errorText']=y(_0x4a9c4b,'The\x20revision\x20name\x20cannot\x20be\x20empty.'):(_0x29b4bf['plugins']['get'](l)['saveRevision']({'name':_0x2d8422['revisionName']}),_0x27b744['hide']());}this['_saveRevisionFormView']||(this['_createSaveRevisionFormView'](),this['_saveRevisionFormView']['on']('submit',()=>_0x564fbc(this['_saveRevisionFormView']))),this['_saveRevisionFormView']['reset'](),_0x27b744['show']({'id':'revisionSave','title':y(_0x4a9c4b,'Save\x20current\x20revision'),'isModal':!0x0,'content':this['_saveRevisionFormView'],'actionButtons':[{'label':t('Cancel'),'withText':!0x0,'onExecute':()=>_0x27b744['hide']()},{'label':t('Accept'),'class':'ck-button-action','withText':!0x0,'onCreate'(_0x5082ac){_0x5082ac['bind']('isEnabled')['to'](_0x348b5f,'isReady',_0x348b5f,'isEnabled',_0x29b4bf,'isReadOnly',(_0x26cab7,_0x3c3a2a,_0x3c7e93)=>_0x26cab7&&_0x3c3a2a&&!_0x3c7e93);},'onExecute':()=>_0x564fbc(this['_saveRevisionFormView'])}]});}['_createSaveRevisionFormView'](){const _0x1a9b99=this['editor'],_0x1f2a9a=_0x1a9b99['locale'];this['_saveRevisionFormView']=new ns(_0x1f2a9a,_0x1a9b99['config']['get']('revisionHistory.requireRevisionName')),this['_saveRevisionFormView']['render']();}}class Z extends _0x561e79{['changeId'];['_model'];constructor(_0x2638c4,_0x5959f8){super(_0x2638c4),this['_model']=_0x5959f8,this['changeId']=_0x5959f8['id'];const _0x7ad075=this['bindTemplate'],_0x1078a0=y(_0x2638c4,_0x5959f8['data']['isSuggestion']?'Suggested\x20by':'add'==_0x5959f8['type']?'Added\x20by':'Removed\x20by');this['set']('type',_0x5959f8['type']),this['setTemplate']({'tag':'div','attributes':{'class':['ck-annotation','ck-revision-change',_0x7ad075['to']('type',_0x36a1e6=>'ck-revision-change__'+_0x36a1e6)],'tabindex':-0x1},'children':[{'tag':'span','children':[{'tag':'span','attributes':{'class':['ck-revision-change__label']},'children':[{'text':_0x1078a0}]},{'text':'\x20'+_0x5959f8['author']['name']}]}]});}['focus'](){this['element']['focus']();}}class r extends/* #__PURE__ -- @preserve */
25
+ _0x567040(){['id'];['author'];['type'];['data'];['rootName'];constructor(_0x5b55ce){super(),this['id']=_0x5b55ce['id']||_0x4d84a6(),this['author']=_0x5b55ce['author'],this['type']=_0x5b55ce['type'],this['data']=_0x5b55ce['data']||{},this['rootName']=_0x5b55ce['rootName'],this['set']('createdAt',_0x5b55ce['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(_0x2b4742,_0x4cbe73){this['newRevisionId']=_0x2b4742,this['oldRevisionId']=_0x4cbe73,this['changes']=new _0x1c62b0();}['_setChanges'](_0x5d54ec){for(const _0x3bbd2b of _0x5d54ec)this['changes']['add'](_0x3bbd2b);}}const tt={'c':_0x5e5670,'a':_0x508498,'e':_0x24733a,'r':_0x4d8ac7,'u':_0x196e20};class d extends _0x481391{['repository'];['adapter'];['_activeViewTarget'];['_changeView'];['_changeIdToChange'];['_balloon'];static get['pluginName'](){return'RevisionViewer';}static get['requires'](){return[_0x4f821a,_0x44a3e1,A];}constructor(_0x462ac1){super(_0x462ac1),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',(_0x13109a,_0x3c6d8b,_0x4e7bab)=>{this['activeChange']=null,this['activeView']=null,this['editor']['editing']['view']['change'](_0x268c93=>{for(const _0x1e3917 of this['editor']['editing']['view']['document']['roots'])_0x4e7bab?_0x268c93['removeClass']('ck-editor__editable__overlay',_0x1e3917):_0x268c93['addClass']('ck-editor__editable__overlay',_0x1e3917);});}),this['bind']('isNavigationMode')['to'](this,'activeChange',_0xb5a438=>null!==_0xb5a438),this['bind']('currentChangeNumber')['to'](this,'isReady',this,'diff',this,'activeChange',(_0x25780b,_0x1fe214,_0xcad81)=>_0x25780b&&_0xcad81?_0x1fe214['changes']['getIndex'](_0xcad81):0x0),this['bind']('numberOfChanges')['to'](this,'isReady',this,'diff',(_0x3faef6,_0x13fb90)=>_0x3faef6?_0x13fb90['changes']['length']:0x0),this['_changeView']=null,this['_changeIdToChange']=new Map(),this['adapter']=null,this['_balloon']=this['editor']['plugins']['get'](_0x44a3e1);}['init'](){const _0x4341e9=this['editor'],_0xa59f52=new yt(_0x4341e9,{'direction':'backward'}),_0x167fbe=new yt(_0x4341e9,{'direction':'forward'});(_0x4341e9['commands']['add']('showPreviousChange',_0xa59f52),_0x4341e9['commands']['add']('showNextChange',_0x167fbe),_0x4341e9['commands']['add']('restoreRevision',new bt(_0x4341e9)),this['on']('change:numberOfChanges',()=>{_0xa59f52['refresh'](),_0x167fbe['refresh']();}),this['_setConversion'](),this['_initInteractions'](),_0x4341e9['enableReadOnlyMode']('revision-viewer'),_0x4341e9['plugins']['has']('WidgetToolbarRepository'))&&_0x4341e9['plugins']['get']('WidgetToolbarRepository')['forceDisabled']('revision-viewer');}async['getRevisionData'](_0x3f5583){await this['loadRevisionData'](_0x3f5583);const _0x530d17={};for(const _0x34f96b in _0x3f5583['diffData']){if(_0x3f5583['diffData'][_0x34f96b]['attachChange']&&!_0x3f5583['diffData'][_0x34f96b]['attachChange']['isAttached'])continue;const _0x4f0b7a=this['_removeRevisionMarkers'](JSON['parse'](_0x3f5583['diffData'][_0x34f96b]['insertions'])),_0x427d81=this['editor']['editing']['view']['document'],_0x1b5c37=new _0xf3fe8b(_0x427d81,_0x4f0b7a['map'](_0x5cd788=>this['_getViewObj'](_0x5cd788)));this['editor']['data']['processor']['useFillerType']('marked'),_0x530d17[_0x34f96b]=this['editor']['data']['processor']['toData'](_0x1b5c37),this['editor']['data']['processor']['useFillerType']('default');}return _0x530d17;}async['getRevisionRootsAttributes'](_0x2437c3){await this['loadRevisionData'](_0x2437c3);const _0x335b22={};for(const _0xe0d9c7 in _0x2437c3['diffData'])_0x2437c3['diffData'][_0xe0d9c7]['attachChange']&&!_0x2437c3['diffData'][_0xe0d9c7]['attachChange']['isAttached']||(_0x335b22[_0xe0d9c7]=_0x2437c3['diffData'][_0xe0d9c7]['attributesAfter']||{});return _0x335b22;}['_removeRevisionMarkers'](_0x2c6d74){return(_0x2c6d74=_0x2c6d74['filter'](_0x876cee=>!_0x876cee['name']||'revision-start'!==_0x876cee['name']&&'revision-end'!==_0x876cee['name']))['forEach'](_0x190c13=>{'string'!=typeof _0x190c13&&(_0x190c13['children']=this['_removeRevisionMarkers'](_0x190c13['children']),_0x190c13['attributes']=_0x190c13['attributes']['filter'](_0x5c9f4a=>!_0x5c9f4a[0x0]['startsWith']('data-revision-')));}),_0x2c6d74;}async['compare'](_0x5f138c,_0x33ce6b,_0x345424=!0x1){if(!this['isEnabled'])return;const _0x1cb7e3=this['diff'],_0x16eebc=this['repository'],_0x703f8e='string'==typeof _0x5f138c?_0x16eebc['getRevision'](_0x5f138c):_0x5f138c,_0x393044='string'==typeof _0x33ce6b?_0x16eebc['getRevision'](_0x33ce6b):_0x33ce6b,_0x2e5554=_0x703f8e['id'],_0x32cf1c=_0x393044?_0x393044['id']:null;if(!_0x345424&&this['diff']&&this['diff']['newRevisionId']===_0x2e5554&&this['diff']['oldRevisionId']===_0x32cf1c)return Promise['resolve']();this['isReady']=!0x1,this['activeView']=null,this['activeChange']=null,this['diff']=new f(_0x2e5554,_0x32cf1c);const _0x426d81=this['_getRevisionsRange'](_0x703f8e,_0x393044,!0x0)['map'](_0x1edac6=>this['loadRevisionData'](_0x1edac6));return _0x426d81['push'](new Promise(_0x49e6b2=>{setTimeout(_0x49e6b2,0x14);})),Promise['all'](_0x426d81)['then'](()=>{if(!this['isEnabled'])return;this['_cleanUp']();const _0x58d6b7=this['_getDiff'](_0x2e5554,_0x32cf1c);for(const _0x29eb80 of _0x58d6b7['changes'])this['_changeIdToChange']['set'](_0x29eb80['id'],_0x29eb80);this['editor']['model']['enqueueChange']({'isUndoable':!0x1},_0x4b1165=>{for(const _0x2c7d2e of this['editor']['model']['document']['getRootNames']())_0x4b1165['detachRoot'](_0x2c7d2e);for(const _0x2dfc8e of Object['keys'](_0x58d6b7['model'])){const _0x2f3211=_0x4b1165['addRoot'](_0x2dfc8e);for(const _0x59ef13 of Object['keys'](_0x58d6b7['attributes'][_0x2dfc8e]))_0x4b1165['setAttribute'](_0x59ef13,_0x58d6b7['attributes'][_0x2dfc8e][_0x59ef13],_0x2f3211);_0x4b1165['insert'](_0x58d6b7['model'][_0x2dfc8e],_0x2f3211,0x0);}}),this['diff']['_setChanges'](this['_sortAndFilterDiffChanges'](_0x58d6b7['changes'])),this['isReady']=!0x0;})['catch'](_0x51e217=>{console['error'](_0x51e217),this['_cleanUp'](),_0x1cb7e3&&(this['diff']=_0x1cb7e3),this['isReady']=!0x0;});}['addRevisionData'](_0x3992f8,_0x1994f5){const _0x2868e7=this['repository']['createRevision'](_0x3992f8);return _0x2868e7['on']('_update',(_0x20b4a2,_0x195181,_0x4ac74f)=>_0x1994f5(_0x195181,_0x4ac74f,_0x2868e7)),this['repository']['addRevision'](_0x2868e7),_0x2868e7;}['loadRevisionData'](_0x47e286){if(!_0x47e286||_0x47e286['diffData'])return Promise['resolve']();{const _0xe549fd=this['editor']['config']['get']('collaboration.channelId');return this['adapter']['getRevision']({'channelId':_0xe549fd,'revisionId':_0x47e286['id']})['then'](_0x20308a=>{_0x47e286['_update']({'diffData':_0x20308a['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},_0x3ea467=>{for(const _0x5556b5 of this['editor']['model']['document']['getRootNames']())_0x3ea467['detachRoot'](_0x5556b5);});}['_sortAndFilterDiffChanges'](_0x40a9a6){const _0xd4a091=[],_0x156dc4=new Map();for(const _0x397c19 of this['editor']['model']['document']['getRootNames']()){const _0x508fca=this['editor']['editing']['view']['getDomRoot'](_0x397c19);if(!_0x508fca)continue;const _0x5e45a5=_0x508fca['getClientRects']()['item'](0x0);_0x5e45a5&&(_0xd4a091['push'](_0x397c19),_0x156dc4['set'](_0x397c19,_0x5e45a5));}return _0xd4a091['sort']((_0x580755,_0x20d6ce)=>{const _0x42c115=_0x156dc4['get'](_0x580755),_0x384fea=_0x156dc4['get'](_0x20d6ce);return _0x42c115['y']-_0x384fea['y']||_0x42c115['x']-_0x384fea['x'];}),(_0x40a9a6=_0x40a9a6['filter'](_0x35b897=>_0xd4a091['includes'](_0x35b897['rootName'])))['sort']((_0x76e004,_0x30652f)=>_0xd4a091['indexOf'](_0x76e004['rootName'])-_0xd4a091['indexOf'](_0x30652f['rootName'])),_0x40a9a6;}['_makeTape'](_0x535788){const _0x4a57ae=Array['from'](_0x535788['markers'])['filter'](([_0x153d4d,_0x13220d])=>_0x153d4d['startsWith']('revision:')&&!_0x13220d['isCollapsed']),_0x5d10fe=Array['from'](this['editor']['model']['createRangeIn'](_0x535788)['getWalker']({'singleCharacters':!0x0}));if(0x0!=_0x4a57ae['length'])for(const _0x403525 of _0x5d10fe){const [_0x316d54,_0x119beb]=_0x4a57ae[0x0],[,_0x4508ce,_0x2c91f5]=_0x316d54['split'](':');if(_0x119beb['end']['isEqual'](_0x403525['nextPosition'])&&_0x4a57ae['shift'](),(_0x403525['previousPosition']['isEqual'](_0x119beb['start'])||_0x403525['previousPosition']['isAfter'](_0x119beb['start']))&&('insertion'==_0x4508ce?_0x403525['isAdded']={'userId':_0x2c91f5}:'deletion'==_0x4508ce&&(_0x403525['isRemoved']={'userId':_0x2c91f5})),0x0==_0x4a57ae['length'])break;}return _0x5d10fe;}['_refreshStartEndIndex'](_0x5e444b){const _0x3688ce=new Map();for(let _0x53a527=0x0;_0x53a527<_0x5e444b['length'];_0x53a527++)'text'===_0x5e444b[_0x53a527]['type']?(_0x5e444b[_0x53a527]['item']['startIndex']=_0x53a527,_0x5e444b[_0x53a527]['item']['endIndex']=_0x53a527):('elementStart'===_0x5e444b[_0x53a527]['type']?_0x5e444b[_0x53a527]['item']['startIndex']=_0x53a527:'elementEnd'===_0x5e444b[_0x53a527]['type']&&(_0x5e444b[_0x53a527]['item']['endIndex']=_0x53a527),_0x3688ce['set'](_0x5e444b[_0x53a527]['id'],_0x53a527));for(const _0x79f357 of _0x3688ce['values']())'elementStart'===_0x5e444b[_0x79f357]['type']?_0x5e444b[_0x79f357]['item']['endIndex']=_0x3688ce['get'](_0x5e444b[_0x79f357]['pairId']):'elementEnd'===_0x5e444b[_0x79f357]['type']&&(_0x5e444b[_0x79f357]['item']['startIndex']=_0x3688ce['get'](_0x5e444b[_0x79f357]['pairId']));}['_processTape'](_0x444528){for(let _0x4779d7=0x0;_0x4779d7<_0x444528['length'];_0x4779d7++){if('elementStart'===_0x444528[_0x4779d7]['type'])_0x444528[_0x4779d7]['item']['startIndex']=_0x4779d7;else{if('elementEnd'===_0x444528[_0x4779d7]['type']){_0x444528[_0x4779d7]['item']['endIndex']=_0x4779d7;const _0x4cb91a=_0x444528[_0x4779d7]['item']['startIndex'];_0x444528[_0x4cb91a]['pairId']=_0x444528[_0x4779d7]['id'],_0x444528[_0x4779d7]['pairId']=_0x444528[_0x4cb91a]['id'];}else _0x444528[_0x4779d7]['item']['startIndex']=_0x4779d7,_0x444528[_0x4779d7]['item']['endIndex']=_0x4779d7,_0x444528[_0x4779d7]['pairId']=null;}_0x444528[_0x4779d7]['markersStart']||(_0x444528[_0x4779d7]['markersStart']=[],_0x444528[_0x4779d7]['markersEnd']=[]);}}['_markInsertions'](_0x341e52,_0x10322b){const _0x812c7=_0x341e52['filter'](_0x5038da=>!_0x5038da['isAdded']);for(let _0x3260ca=0x0;_0x3260ca<_0x10322b['length'];_0x3260ca++)_0x10322b[_0x3260ca]['isAdded']&&(_0x812c7[_0x3260ca]['isAdded']=_0x10322b[_0x3260ca]['isAdded']);}['_makeModelFromViewString'](_0x8407e5){const _0x24c0b1=JSON['parse'](_0x8407e5),_0x4d5339=this['editor']['editing']['view']['document'],_0x5b358d=new _0xf3fe8b(_0x4d5339,_0x24c0b1['map'](_0x274a30=>this['_getViewObj'](_0x274a30)));return this['editor']['data']['toModel'](_0x5b358d);}['_getViewObj'](_0x329d42){const _0x159bcc=this['editor']['editing']['view']['document'];if('string'==typeof _0x329d42)return new _0x112a68(_0x159bcc,_0x329d42);{const _0x3e7a27=_0x329d42['children']['map'](_0x29000c=>this['_getViewObj'](_0x29000c));return new(tt[_0x329d42['type']]||_0x1e805b)(_0x159bcc,_0x329d42['name'],_0x329d42['attributes'],_0x3e7a27);}}['_getDiff'](_0x55fe83,_0x42a9c1=null){const _0x16f09f=this['repository']['getRevision'](_0x55fe83),_0x5721ad=_0x42a9c1?this['repository']['getRevision'](_0x42a9c1):null,_0x17563f=this['_getRevisionsRange'](_0x16f09f,_0x5721ad),_0x5173aa=_0x17563f[_0x17563f['length']-0x1],_0x4a9b7c=new Map(),_0x1a0963={'model':{},'attributes':{},'changes':[]},_0x27c1a9=new Set(),_0x35f8c2=new Map();for(let _0x2ed7af=_0x17563f['length']-0x1;_0x2ed7af>=0x0;_0x2ed7af--){const _0x374033=_0x17563f[_0x2ed7af];for(const _0x1e1f3d of Object['keys'](_0x374033['diffData']))if(_0x374033['diffData'][_0x1e1f3d]['attachChange']){const _0xa5de6a=_0x374033['diffData'][_0x1e1f3d]['attachChange'];_0xa5de6a['isAttached']?(_0x27c1a9['add'](_0x1e1f3d),_0x35f8c2['has'](_0x1e1f3d)&&_0x35f8c2['get'](_0x1e1f3d)['userId']==_0xa5de6a['userId']?_0x35f8c2['delete'](_0x1e1f3d):_0x35f8c2['set'](_0x1e1f3d,_0xa5de6a)):_0x35f8c2['has'](_0x1e1f3d)?(_0x27c1a9['delete'](_0x1e1f3d),_0x35f8c2['delete'](_0x1e1f3d)):(_0x27c1a9['add'](_0x1e1f3d),_0x35f8c2['set'](_0x1e1f3d,_0xa5de6a));}else _0x27c1a9['add'](_0x1e1f3d);}for(const _0x5a6917 of _0x27c1a9){const _0x1dfa28=_0x35f8c2['has'](_0x5a6917)&&!_0x35f8c2['get'](_0x5a6917)['isAttached'];let _0x2d2bad=_0x1dfa28?_0x17563f['length']-0x1:0x0;const _0x4ce4b1=_0x1dfa28?-0x1:0x1;for(;_0x17563f[_0x2d2bad];){const _0x388c9e=_0x17563f[_0x2d2bad];if(_0x388c9e['diffData'][_0x5a6917]){const _0x426a4c=_0x1dfa28?_0x388c9e['diffData'][_0x5a6917]['attributesBefore']:_0x388c9e['diffData'][_0x5a6917]['attributesAfter'];_0x1a0963['attributes'][_0x5a6917]=_0x426a4c?_0x53edd6(_0x426a4c):{};break;}_0x2d2bad+=_0x4ce4b1;}}for(const _0xa2ff1e of _0x17563f){_0xa2ff1e['model']={};for(const _0x3999cb of _0xa2ff1e['authors'])_0x4a9b7c['set'](_0x3999cb['id'],_0x3999cb);for(const _0x43e64c of _0x27c1a9){const _0x404228=_0xa2ff1e['diffData'][_0x43e64c]?_0xa2ff1e['diffData'][_0x43e64c]['insertions']:'[]',_0x2a0827=_0xa2ff1e['diffData'][_0x43e64c]?_0xa2ff1e['diffData'][_0x43e64c]['deletions']:'[]';_0xa2ff1e['model'][_0x43e64c]={'insertions':this['_makeModelFromViewString'](_0x404228),'deletions':this['_makeModelFromViewString'](_0x2a0827)};}}for(const _0x1c5f8b of _0x27c1a9){let _0xf1ca65=null,_0x1ca062=0x0;const _0x3a70ee=new Map(Array['from'](_0x16f09f['model'][_0x1c5f8b]['insertions']['markers'])['filter'](([_0x2bb7d0])=>!_0x2bb7d0['startsWith']('revision:')));let _0x9d67fb=0x0;for(const _0x4f8b8f of _0x17563f){const _0x114e80=this['_makeTape'](_0x4f8b8f['model'][_0x1c5f8b]['insertions']);_0x4f8b8f==_0x16f09f?(_0xf1ca65=_0x114e80,_0x1ca062=_0xf1ca65['length'],_0xf1ca65['forEach'](_0x38cfda=>{_0x38cfda['id']=_0x9d67fb++;}),this['_processTape'](_0xf1ca65)):this['_markInsertions'](_0xf1ca65,_0x114e80);const _0x47059b=_0xf1ca65['filter'](_0x108074=>!_0x108074['isAdded'])['map'](_0x35916c=>_0x35916c['id']);let _0x2aa9dc=0x0;const _0x3a2155=this['_makeTape'](_0x4f8b8f['model'][_0x1c5f8b]['deletions']);_0x3a2155['forEach'](_0x4e6727=>{_0x4e6727['isRemoved']?_0x4e6727['id']=_0x1ca062++:_0x4e6727['id']=_0x47059b[_0x2aa9dc++];}),this['_processTape'](_0x3a2155),this['_setDistance'](_0xf1ca65,'isAdded'),this['_setDistance'](_0x3a2155,'isRemoved'),_0x4f8b8f==_0x16f09f&&this['_markMarkers'](_0xf1ca65,_0x3a70ee),_0xf1ca65=this['_joinTapes'](_0xf1ca65,_0x3a2155),this['_refreshStartEndIndex'](_0xf1ca65),this['_setDistance'](_0xf1ca65,'isRemoved');}_0xf1ca65=_0xf1ca65['filter'](_0x2a7fe0=>!(_0x2a7fe0['isAdded']&&_0x2a7fe0['isRemoved']));const _0x2be146=new Map(_0x5173aa['model'][_0x1c5f8b]['deletions']['markers']),_0x3ea7dd=new Set(_0x3a70ee['keys']());for(const _0x37160e of _0x2be146['keys']())_0x3ea7dd['delete'](_0x37160e);this['_markSuggestions'](_0xf1ca65,_0x3ea7dd),this['_fixObsoleteTags'](_0xf1ca65),_0xf1ca65=this['_removeMissingPairs'](_0xf1ca65),_0xf1ca65=this['_markMismatchedRemovedTags'](_0xf1ca65),_0xf1ca65=this['_removeUnsupportedChanges'](_0xf1ca65);const {root:_0x3c68db,changes:_0x1eb364}=this['_makeModelFromTape'](_0xf1ca65,_0x4a9b7c,_0x1c5f8b);_0x1a0963['model'][_0x1c5f8b]=_0x3c68db;const _0x193303=_0x35f8c2['get'](_0x1c5f8b);if(_0x193303){const _0x25532e=_0x4a9b7c['get'](_0x193303['userId']),_0x3dd673=new r({'author':_0x25532e,'type':_0x193303['isAttached']?'add':'remove','data':{'isOnRoot':!0x0},'createdAt':new Date(),'rootName':_0x1c5f8b});_0x1eb364['unshift'](_0x3dd673),_0x1a0963['attributes'][_0x1c5f8b]['revisionHistoryAttachChange']=_0x3dd673['id'];}_0x1a0963['changes']=_0x1a0963['changes']['concat'](_0x1eb364);}return _0x1a0963;}['_markMarkers'](_0x1589f2,_0x5d13df){for(let _0x6e2c47=0x0;_0x6e2c47<_0x1589f2['length'];_0x6e2c47++)for(const [_0x2be5f6,_0x399849]of _0x5d13df)_0x399849['start']['isEqual'](_0x1589f2[_0x6e2c47]['previousPosition'])&&_0x1589f2[_0x6e2c47]['markersStart']['push'](_0x2be5f6),_0x399849['end']['isEqual'](_0x1589f2[_0x6e2c47]['nextPosition'])&&_0x1589f2[_0x6e2c47]['markersEnd']['push'](_0x2be5f6);}['_joinTapes'](_0x42e4bf,_0x34b366){let _0x5a20b5=[],_0x1cdff1=0x0,_0x3fe578=0x0;for(;_0x1cdff1<_0x42e4bf['length']||_0x3fe578<_0x34b366['length'];){const _0x287971=_0x42e4bf[_0x1cdff1]||{},_0x55e951=_0x34b366[_0x3fe578]||{};if(_0x287971['id']==_0x55e951['id'])_0x1cdff1++,_0x3fe578++,_0x5a20b5['push'](_0x287971);else{if(_0x55e951['isRemoved']&&_0x287971['isAdded']){const {commonTape:_0x54b0e7,iEnd:_0x29fde6,jEnd:_0x4f88b0}=this['_threeWayMerge'](_0x42e4bf,_0x1cdff1,_0x34b366,_0x3fe578);_0x5a20b5=_0x5a20b5['concat'](_0x54b0e7),_0x1cdff1=_0x29fde6,_0x3fe578=_0x4f88b0;}else _0x55e951['isRemoved']?(_0x3fe578++,_0x5a20b5['push'](_0x55e951)):(_0x1cdff1++,_0x5a20b5['push'](_0x287971));}}return _0x5a20b5;}['_markSuggestions'](_0xa731b2,_0x7a6cd0){const _0x4ac5bf=[];for(let _0x4f54b2=0x0;_0x4f54b2<_0xa731b2['length'];_0x4f54b2++){for(let _0x5cc3b0=0x0;_0x5cc3b0<_0xa731b2[_0x4f54b2]['markersStart']['length'];_0x5cc3b0++){const _0x958eb9=_0xa731b2[_0x4f54b2]['markersStart'][_0x5cc3b0];if(!_0x7a6cd0['has'](_0x958eb9))continue;const {group:_0x18ee29,type:_0x3911b9,authorId:_0x242dc4}=_0x3783ed(_0x958eb9);'revision-suggestion'!=_0x18ee29||'insertion'!=_0x3911b9&&'deletion'!=_0x3911b9||(_0x4ac5bf['unshift']({'type':_0x3911b9,'name':_0x958eb9,'userId':_0x242dc4}),_0xa731b2[_0x4f54b2]['markersStart']['splice'](_0x5cc3b0,0x1),_0x5cc3b0--);}_0x1d233d(_0xa731b2[_0x4f54b2]);for(let _0x2140fd=0x0;_0x2140fd<_0xa731b2[_0x4f54b2]['markersEnd']['length'];_0x2140fd++){const _0x5bc6d0=_0xa731b2[_0x4f54b2]['markersEnd'][_0x2140fd];if(!_0x7a6cd0['has'](_0x5bc6d0))continue;const {group:_0x4a5a39,type:_0x3bed55}=_0x3783ed(_0x5bc6d0);if('revision-suggestion'!=_0x4a5a39||'insertion'!=_0x3bed55&&'deletion'!=_0x3bed55)continue;_0xa731b2[_0x4f54b2]['markersEnd']['splice'](_0x2140fd,0x1),_0x2140fd--;const _0x32e593=_0x4ac5bf['findIndex'](_0xae44d8=>_0xae44d8['name']==_0x5bc6d0);_0x32e593>-0x1&&_0x4ac5bf['splice'](_0x32e593,0x1);}}function _0x3783ed(_0x294659){const _0x31de20=_0x294659['split'](':');return{'group':_0x31de20[0x0],'type':_0x31de20[0x1],'subType':_0x31de20['length']>=0x5?_0x31de20[0x2]:null,'id':_0x31de20['length']<0x5?_0x31de20[0x2]:_0x31de20[0x3],'authorId':_0x31de20['length']<0x5?_0x31de20[0x3]:_0x31de20[0x4],'markerCount':0x6==_0x31de20['length']?_0x31de20[0x5]:null};}function _0x1d233d(_0x3b765d){for(let _0x5c1c30=0x0;_0x5c1c30<_0x4ac5bf['length'];_0x5c1c30++){if(_0x3b765d['isAdded']&&'insertion'==_0x4ac5bf[_0x5c1c30]['type'])return _0x3b765d['isAddSuggestion']=_0x4ac5bf[_0x5c1c30],void delete _0x3b765d['isAdded'];if(!_0x3b765d['isAdded']&&!_0x3b765d['isRemoved']&&'deletion'==_0x4ac5bf[_0x5c1c30]['type'])return void(_0x3b765d['isRemoveSuggestion']=_0x4ac5bf[_0x5c1c30]);}}}['_setDistance'](_0x322907,_0x544795){let _0x117a70=0x0,_0x548e05=!0x1;const _0x9c0469=new Map();for(const _0x1801b5 of _0x322907)_0x1801b5[_0x544795]?_0x548e05&&(_0x117a70++,_0x548e05=!0x1):(_0x117a70++,_0x548e05=!0x0),_0x9c0469['set'](_0x1801b5['id'],_0x117a70);for(let _0x4fbc39=0x0;_0x4fbc39<_0x322907['length'];_0x4fbc39++){if('isRemoved'==_0x544795&&_0x322907[_0x4fbc39]['isAdded']||'isAdded'==_0x544795&&_0x322907[_0x4fbc39]['isRemoved'])continue;if('text'==_0x322907[_0x4fbc39]['type']){_0x322907[_0x4fbc39]['distance']=0x0;continue;}const _0x4971c4=_0x9c0469['get'](_0x322907[_0x4fbc39]['pairId']),_0x2098c5=_0x9c0469['get'](_0x322907[_0x4fbc39]['id']);_0x322907[_0x4fbc39]['distance']=_0x4971c4-_0x2098c5;}}['_getRevisionsRange'](_0x194a16,_0x578188,_0x347241=!0x1){const _0x12788f=[];let _0x33670b=this['repository']['getIndex'](_0x194a16),_0x5aa889=this['repository']['getIndex'](_0x578188);for(-0x1==_0x5aa889&&(_0x5aa889=this['repository']['_revisions']['length'],_0x347241=!0x1);_0x33670b<_0x5aa889;)_0x12788f['push'](this['repository']['getRevision'](_0x33670b)),_0x33670b++;return _0x347241&&_0x12788f['push'](this['repository']['getRevision'](_0x33670b)),_0x12788f;}['_threeWayMerge'](_0x2e0bc1,_0x589fda,_0x24260b,_0x262a22){const _0xf37734=this['editor']['model']['schema'];let _0x599e20=_0x589fda;for(;_0x2e0bc1[_0x599e20]&&_0x2e0bc1[_0x599e20]['isAdded'];)_0x599e20++;let _0x17fe7f=_0x262a22;for(;_0x24260b[_0x17fe7f]&&_0x24260b[_0x17fe7f]['isRemoved'];)_0x17fe7f++;_0x561a70(_0x2e0bc1,_0x589fda,_0x599e20),_0x561a70(_0x24260b,_0x262a22,_0x17fe7f);const _0x500981=_0x24260b['slice'](_0x262a22,_0x17fe7f)['concat'](_0x2e0bc1['slice'](_0x589fda,_0x599e20));return _0x500981['sort']((_0x217aea,_0x5e26fa)=>_0x217aea['side']!=_0x5e26fa['side']?_0x217aea['side']-_0x5e26fa['side']:_0x217aea['level']!=_0x5e26fa['level']?_0x217aea['level']-_0x5e26fa['level']:_0x217aea['distance']!=_0x5e26fa['distance']?_0x5e26fa['distance']-_0x217aea['distance']:!!_0x217aea['isAdded']!=!!_0x5e26fa['isAdded']?-0x1==_0x217aea['side']||0x0==_0x217aea['side']?_0x217aea['isAdded']?-0x1:0x1:_0x217aea['isAdded']?0x1:-0x1:_0x217aea['index']-_0x5e26fa['index']),{'commonTape':_0x500981,'iEnd':_0x599e20,'jEnd':_0x17fe7f};function _0x561a70(_0x2ffdb9,_0x3f9437,_0x243325){let _0xbd2797=-0x1,_0x4da999=Number['POSITIVE_INFINITY'],_0x4fb98f=!0x0;for(let _0x321704=_0x3f9437;_0x321704<_0x243325;_0x321704++)if(_0xf37734['isInline'](_0x2ffdb9[_0x321704]['item'])||(_0x4fb98f=!0x1),_0x2ffdb9[_0x321704]['item']['startIndex']<_0x3f9437&&(_0xbd2797=_0x321704),_0x2ffdb9[_0x321704]['item']['endIndex']>=_0x243325){_0x4da999=_0x321704;break;}_0x4fb98f&&(_0xbd2797=_0x243325-0x1);for(let _0x2fee05=_0x3f9437;_0x2fee05<_0x243325;_0x2fee05++)_0x2ffdb9[_0x2fee05]['side']=_0x2fee05<=_0xbd2797?-0x1:_0x2fee05<_0x4da999?0x0:0x1,_0x2ffdb9[_0x2fee05]['index']=_0x2fee05;let _0x3b3b28=0x0;for(let _0x4368f5=_0x3f9437;_0x4368f5<=_0xbd2797;_0x4368f5++)0x0==_0x2ffdb9[_0x4368f5]['distance']?_0x2ffdb9[_0x4368f5]['level']=_0x3b3b28:(_0x3b3b28++,_0x2ffdb9[_0x4368f5]['level']=_0x3b3b28,_0x3b3b28++);for(let _0x1569e7=_0x3f9437;_0x1569e7<_0x243325;_0x1569e7++)0x0==_0x2ffdb9[_0x1569e7]['side']&&(_0x2ffdb9[_0x1569e7]['level']=_0x3b3b28);_0x3b3b28=0x0;for(let _0x47bad7=_0x243325-0x1;_0x47bad7>=_0x4da999;_0x47bad7--)0x0==_0x2ffdb9[_0x47bad7]['distance']?_0x2ffdb9[_0x47bad7]['level']=_0x3b3b28:(_0x3b3b28--,_0x2ffdb9[_0x47bad7]['level']=_0x3b3b28,_0x3b3b28--);}}['_fixObsoleteTags'](_0x5ed002){const _0x2dce67=new Map(),_0xa35399=this['editor']['model']['schema'];for(let _0x266453=0x1;_0x266453<_0x5ed002['length'];_0x266453++){let _0x7e37f8,_0x4efe47,_0x52424a;const _0x48b63a=_0x5ed002[_0x266453],_0x5a1397=_0x5ed002[_0x266453-0x1];if('text'==_0x48b63a['type'])continue;if(_0x48b63a['type']!=_0x5a1397['type'])continue;if(!_0xa35399['isBlock'](_0x5a1397['item'])||_0xa35399['isLimit'](_0x5a1397['item']))continue;if(!_0xa35399['isBlock'](_0x48b63a['item'])||_0xa35399['isLimit'](_0x48b63a['item']))continue;if((_0x5ed002[_0x266453]['isAdded']||_0x5ed002[_0x266453]['isAddSuggestion'])&&_0x5ed002[_0x266453-0x1]['isRemoved'])_0x7e37f8=_0x5ed002[_0x266453],_0x4efe47=_0x5ed002[_0x266453-0x1],_0x52424a=_0x266453-0x1;else{if(!_0x5ed002[_0x266453]['isRemoved']||!_0x5ed002[_0x266453-0x1]['isAdded']&&!_0x5ed002[_0x266453-0x1]['isAddSuggestion'])continue;_0x7e37f8=_0x5ed002[_0x266453-0x1],_0x4efe47=_0x5ed002[_0x266453],_0x52424a=_0x266453;}const _0x15a80d=_0x7e37f8['level']==_0x4efe47['level'],_0x5db83a=Math['abs'](_0x7e37f8['level'])<Math['abs'](_0x4efe47['level'])&&0x0==_0x4efe47['distance'];(_0x15a80d||_0x5db83a)&&(_0x2dce67['set'](_0x4efe47['id'],_0x7e37f8['id']),_0x5ed002['splice'](_0x52424a,0x1),_0x266453--,_0x7e37f8['isAdded']=!0x1);}for(let _0x565b8a=0x0;_0x565b8a<_0x5ed002['length'];_0x565b8a++)_0x2dce67['has'](_0x5ed002[_0x565b8a]['pairId'])&&(_0x5ed002[_0x565b8a]['pairId']=_0x2dce67['get'](_0x5ed002[_0x565b8a]['pairId']));}['_removeMissingPairs'](_0x40a0ef){const _0x5ce936=new Set(_0x40a0ef['map'](_0x16facf=>_0x16facf['id']));for(let _0x129229=0x0;_0x129229<_0x40a0ef['length'];_0x129229++)_0x5ce936['has'](_0x40a0ef[_0x129229]['pairId'])||0x0==_0x40a0ef[_0x129229]['distance']||(_0x40a0ef[_0x129229]['isIncorrect']=!0x0);return _0x40a0ef['filter'](_0x5d8b77=>!_0x5d8b77['isIncorrect']);}['_markMismatchedRemovedTags'](_0x541ca2){const _0x4fb545=new Set();for(let _0xdd20d4=0x0;_0xdd20d4<_0x541ca2['length'];_0xdd20d4++){if(_0x4fb545['has'](_0x541ca2[_0xdd20d4]['id'])&&_0x541ca2[_0xdd20d4]['isRemoved']&&(_0x541ca2[_0xdd20d4]['isIncorrect']=!0x0),_0x541ca2[_0xdd20d4]['isIncorrect'])continue;if(0x0==_0x541ca2[_0xdd20d4]['distance'])continue;if('elementStart'!=_0x541ca2[_0xdd20d4]['type'])continue;if(null==_0x541ca2[_0xdd20d4]['pairId'])continue;let _0x40fa11=_0xdd20d4+0x1,_0x3a94d3=0x0;for(;_0x541ca2[_0x40fa11]['id']!=_0x541ca2[_0xdd20d4]['pairId'];)'elementStart'==_0x541ca2[_0x40fa11]['type']?_0x3a94d3++:'elementEnd'==_0x541ca2[_0x40fa11]['type']&&_0x3a94d3--,_0x40fa11++;if(0x0!=_0x3a94d3){if(_0x541ca2[_0xdd20d4]['isRemoved'])_0x541ca2[_0xdd20d4]['isIncorrect']=!0x0;else{for(;_0x40fa11!=_0xdd20d4;)_0x541ca2[_0x40fa11]['isRemoved']&&0x0!=_0x541ca2[_0x40fa11]['distance']&&(_0x541ca2[_0x40fa11]['isIncorrect']=!0x0,_0x4fb545['add'](_0x541ca2[_0x40fa11]['pairId'])),_0x40fa11--;}}}return _0x541ca2['filter'](_0x427cc4=>!_0x427cc4['isIncorrect']);}['_removeUnsupportedChanges'](_0x18a504){const _0x4c6552=this['editor']['model']['schema'];for(let _0x2faead=0x0;_0x2faead<_0x18a504['length'];_0x2faead++){if(!(_0x18a504[_0x2faead]['isAdded']||_0x18a504[_0x2faead]['isAddSuggestion']||_0x18a504[_0x2faead]['isRemoved']||_0x18a504[_0x2faead]['isRemoveSuggestion']))continue;if(0x0==_0x18a504[_0x2faead]['distance'])continue;const _0x36ee97=_0x18a504[_0x2faead]['item'];_0x4c6552['isBlock'](_0x36ee97)||_0x4c6552['isLimit'](_0x36ee97)||(_0x18a504[_0x2faead]['isAdded']&&delete _0x18a504[_0x2faead]['isAdded'],_0x18a504[_0x2faead]['isAddSuggestion']&&delete _0x18a504[_0x2faead]['isAddSuggestion'],_0x18a504[_0x2faead]['isRemoveSuggestion']&&delete _0x18a504[_0x2faead]['isRemoveSuggestion'],_0x18a504[_0x2faead]['isRemoved']&&(_0x18a504[_0x2faead]['isIncorrect']=!0x0));}return _0x18a504['filter'](_0x56f481=>!_0x56f481['isIncorrect']);}['_makeModelFromTape'](_0x3d8497,_0x3597a6,_0x453074){const _0x3b55c8=new wt(),_0x7abc1d=[],_0x3d0027=new Map(),_0x247540=this['editor']['model'],_0xb09059=_0x247540['schema'],_0x174129=[_0x3b55c8],_0x7f66ec={},_0x282f3e={'isAdded':[],'isRemoved':[],'isAddSuggestion':[],'isRemoveSuggestion':[]};let _0xf8a52f=null;const _0x533a3c=[0x0];for(let _0x5684ab=0x0;_0x5684ab<_0x3d8497['length'];_0x5684ab++){let _0x27bcb6,_0x5cdb1f;if('elementStart'===_0x3d8497[_0x5684ab]['type']){_0x27bcb6=_0x247540['createPositionFromPath'](_0x3b55c8,_0x533a3c);const _0x178217=new ft(_0x3d8497[_0x5684ab]['item']['name'],_0x3d8497[_0x5684ab]['item']['getAttributes']());_0x174129[0x0]['_appendChild'](_0x178217),_0x533a3c['push'](0x0),_0x174129['unshift'](_0x178217),_0x5cdb1f=_0x247540['createPositionFromPath'](_0x3b55c8,_0x533a3c),_0xf8a52f=null;}else{if('elementEnd'===_0x3d8497[_0x5684ab]['type'])_0x174129['shift'](),_0x27bcb6=_0x247540['createPositionFromPath'](_0x3b55c8,_0x533a3c),_0x533a3c['pop'](),_0x533a3c[_0x533a3c['length']-0x1]++,_0x5cdb1f=_0x247540['createPositionFromPath'](_0x3b55c8,_0x533a3c),_0xf8a52f=null;else{if(_0x27bcb6=_0x247540['createPositionFromPath'](_0x3b55c8,_0x533a3c),_0xf8a52f&&_0x15d564(_0xf8a52f,_0x3d8497[_0x5684ab]['item']))_0xf8a52f['_data']+=_0x3d8497[_0x5684ab]['item']['data'];else{const _0x27f7d4=new _t(_0x3d8497[_0x5684ab]['item']['data'],_0x3d8497[_0x5684ab]['item']['getAttributes']());_0x174129[0x0]['_appendChild'](_0x27f7d4),_0xf8a52f=_0x27f7d4;}_0x533a3c[_0x533a3c['length']-0x1]+=_0x3d8497[_0x5684ab]['item']['offsetSize'],_0x5cdb1f=_0x247540['createPositionFromPath'](_0x3b55c8,_0x533a3c);}}for(const _0x599c5f of _0x3d8497[_0x5684ab]['markersStart'])_0x3d0027['set'](_0x599c5f,{'start':_0x27bcb6,'end':null});_0x544c07('isRemoveSuggestion',_0x5684ab,_0x27bcb6,_0x5cdb1f),_0x544c07('isAddSuggestion',_0x5684ab,_0x27bcb6,_0x5cdb1f),_0x544c07('isRemoved',_0x5684ab,_0x27bcb6,_0x5cdb1f),_0x544c07('isAdded',_0x5684ab,_0x27bcb6,_0x5cdb1f);for(const _0x391fdb of _0x3d8497[_0x5684ab]['markersEnd']){_0x3d0027['get'](_0x391fdb)['end']=_0x5cdb1f;}}for(const [_0x253652,_0x21a8f6]of _0x3d0027){const _0x4b382a=this['editor']['model']['createRange'](_0x21a8f6['start'],_0x21a8f6['end']);_0x3b55c8['markers']['set'](_0x253652,_0x4b382a);}return _0x7abc1d['sort']((_0x36442c,_0x1f1d2b)=>{const _0x4705cf=_0x3b55c8['markers']['get']('revision:'+_0x36442c['id']),_0x19bd02=_0x3b55c8['markers']['get']('revision:'+_0x1f1d2b['id']);return _0x4705cf['start']['isBefore'](_0x19bd02['start'])?-0x1:_0x4705cf['start']['isAfter'](_0x19bd02['start'])?0x1:_0x4705cf['end']['isBefore'](_0x19bd02['end'])?-0x1:_0x4705cf['end']['isAfter'](_0x19bd02['end'])?0x1:'add'===_0x36442c['type']?-0x1:0x1;}),{'root':_0x3b55c8,'changes':_0x7abc1d};function _0x544c07(_0x4ee3eb,_0x1f763e,_0x411673,_0xcfdd8e){const _0xb227be=!!_0x3d8497[_0x1f763e][_0x4ee3eb],_0xfbafce=_0xb227be?_0x3d8497[_0x1f763e][_0x4ee3eb]['userId']:null,_0x7a9a4b=_0x1f763e===_0x3d8497['length']-0x1,_0x22a0c9=_0x282f3e[_0x4ee3eb][0x0],_0x1e9161=_0xb09059['isObject'](_0x3d8497[_0x1f763e]['item']);!_0x7f66ec[_0x4ee3eb]&&_0xb227be?_0x7f66ec[_0x4ee3eb]={'start':_0x411673,'tapeItem':_0x3d8497[_0x1f763e],'userId':_0xfbafce,'type':_0x4ee3eb}:_0x7f66ec[_0x4ee3eb]&&!_0xb227be?(_0x7f66ec[_0x4ee3eb]['end']=_0x411673,_0x2b311d(_0x7f66ec[_0x4ee3eb]),_0x7f66ec[_0x4ee3eb]=null):_0x7f66ec[_0x4ee3eb]&&_0xb227be&&_0x7f66ec[_0x4ee3eb]['userId']!==_0xfbafce&&(_0x7f66ec[_0x4ee3eb]['end']=_0x411673,_0x22a0c9&&_0x22a0c9['userId']===_0x7f66ec[_0x4ee3eb]['userId']||_0x2b311d(_0x7f66ec[_0x4ee3eb]),_0x7f66ec[_0x4ee3eb]={'start':_0x411673,'tapeItem':_0x3d8497[_0x1f763e],'userId':_0xfbafce,'type':_0x4ee3eb}),_0x7f66ec[_0x4ee3eb]&&_0x1e9161&&('elementStart'!==_0x3d8497[_0x1f763e]['type']||_0x22a0c9&&_0x22a0c9['userId']===_0xfbafce||_0x282f3e[_0x4ee3eb]['unshift']({'userId':_0xfbafce,'object':_0x3d8497[_0x1f763e]['item'],'change':_0x7f66ec[_0x4ee3eb]}),'elementEnd'===_0x3d8497[_0x1f763e]['type']&&_0x22a0c9&&_0x22a0c9['object']===_0x3d8497[_0x1f763e]['item']&&(_0x282f3e[_0x4ee3eb]['shift'](),_0x7f66ec[_0x4ee3eb]=_0x22a0c9['change'])),_0x7f66ec[_0x4ee3eb]&&_0x7a9a4b&&(_0x7f66ec[_0x4ee3eb]['end']=_0xcfdd8e,_0x2b311d(_0x7f66ec[_0x4ee3eb]),_0x7f66ec[_0x4ee3eb]=null);}function _0x2b311d({start:_0x43e346,end:_0x39f92b,tapeItem:_0x1cf69a,userId:_0x3b70b9,type:_0x33f013}){const _0x4e7a30=_0x1cf69a['item'],_0x4c1e29=_0x247540['schema']['isBlock'](_0x4e7a30)&&!_0x247540['schema']['isLimit'](_0x4e7a30),_0x17c0bd=_0x43e346['nodeAfter']==_0x39f92b['parent']&&_0x39f92b['isAtStart'];if(_0x4c1e29&&_0x17c0bd)return;const _0x12e525=_0x247540['createRange'](_0x43e346,_0x39f92b),_0x358199=_0x3597a6['get'](_0x3b70b9),_0x466d05=new r({'author':_0x358199,'type':'isAdded'==_0x33f013||'isAddSuggestion'==_0x33f013?'add':'remove','data':{'isSuggestion':'isAddSuggestion'==_0x33f013||'isRemoveSuggestion'==_0x33f013},'createdAt':new Date(),'rootName':_0x453074});_0x7abc1d['push'](_0x466d05),_0x3b55c8['markers']['set']('revision:'+_0x466d05['id'],_0x12e525);}function _0x15d564(_0x5f429a,_0x23f953){const _0x170f5a=_0x5f429a['getAttributes'](),_0x11e5c7=_0x23f953['getAttributes']();for(const _0x59f2c3 of _0x170f5a){if(_0x59f2c3[0x1]!==_0x23f953['getAttribute'](_0x59f2c3[0x0]))return!0x1;_0x11e5c7['next']();}return _0x11e5c7['next']()['done'];}}['_setConversion'](){this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'revision'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision','view':_0x1f9c45=>{const _0x5624c0=_0x1f9c45['markerName']['split'](':')[0x1],_0x45208b=this['_getChangeFromId'](_0x5624c0);if(!_0x45208b)return null;const _0x5cd932='add'==_0x45208b['type']?'insertion':'deletion',_0x53e1c0=['ck-suggestion-marker','ck-suggestion-marker-'+_0x5cd932];return _0x45208b['data']['isSuggestion']&&_0x53e1c0['push']('ck-suggestion-marker-'+_0x5cd932+'-new'),this['activeChange']==_0x45208b&&_0x53e1c0['push']('ck-suggestion-marker--active'),{'classes':_0x53e1c0,'attributes':{'data-change-id':_0x5624c0}};}}),this['editor']['conversion']['for']('upcast')['add'](_0x5071a6=>{_0x5071a6['on']('element:pre',(_0x1f2a1f,_0x4c1720,_0x25284c)=>{const _0x38f946=_0x4c1720['viewItem']['getChild'](0x0);if(!_0x38f946||!_0x38f946['is']('element','code'))return;if(!_0x25284c['consumable']['consume'](_0x38f946,{'attributes':['vid_start','vid_end']}))return;const _0xfa0b87=_0x4c1720['modelRange']['start']['nodeAfter'];_0x25284c['writer']['setAttribute']('vid_start',_0x38f946['getAttribute']('vid_start'),_0xfa0b87),_0x25284c['writer']['setAttribute']('vid_end',_0x38f946['getAttribute']('vid_end'),_0xfa0b87);},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['add'](_0x3ab819=>{_0x3ab819['on']('element',(_0x4d4512,_0x2c4dce,_0x12430f)=>{if(!_0x12430f['consumable']['consume'](_0x2c4dce['viewItem'],{'attributes':['vid_start','vid_end']}))return;if(_0x2c4dce['modelRange']['isCollapsed'])return;const _0x4d5f35=_0x2c4dce['modelRange']['start']['nodeAfter'];_0x4d5f35['hasAttribute']('vid_start')||_0x4d5f35['hasAttribute']('vid')||(_0x12430f['writer']['setAttribute']('vid_start',_0x2c4dce['viewItem']['getAttribute']('vid_start'),_0x4d5f35),_0x12430f['writer']['setAttribute']('vid_end',_0x2c4dce['viewItem']['getAttribute']('vid_end'),_0x4d5f35));},{'priority':'low'});}),this['editor']['conversion']['for']('upcast')['elementToAttribute']({'view':{'name':'span','attributes':{'vid':!0x0}},'model':{'key':'vid','value':_0x1f7b8d=>_0x1f7b8d['getAttribute']('vid')}}),this['editor']['model']['schema']['on']('checkAttribute',(_0x3c2011,[,_0x239f14])=>{['vid_start','vid_end','vid']['includes'](_0x239f14)&&(_0x3c2011['return']=!0x0,_0x3c2011['stop']());},{'priority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['add'](_0x1d9fdb=>{_0x1d9fdb['on']('attribute:vid',(_0x468c32,_0x561a96,_0x2fec53)=>{if('\x20'!=_0x561a96['item']['data']||_0x561a96['item']['parent']['maxOffset']>0x1)return;if(!_0x2fec53['consumable']['consume'](_0x561a96['item'],_0x468c32['name']))return;const _0x1f9fb2=_0x2fec53['writer'],_0x5630db=_0x2fec53['mapper']['toViewRange'](_0x561a96['range']);_0x1f9fb2['wrap'](_0x5630db,_0x1f9fb2['createAttributeElement']('span'));});}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',function(_0x1cc9ee){const _0x3bd463=_0x1cc9ee['plugins']['get']('RevisionViewer');return(_0x55fa93,_0x32c99d,_0x515bc6)=>{const _0x418c73=_0x32c99d['markerName']['split'](':')[0x1],_0x5acffa=_0x3bd463['_getChangeFromId'](_0x418c73);if(!_0x5acffa)return null;const _0x446438='add'==_0x5acffa['type']?'split':'merge';if(!_0x515bc6['consumable']['test'](_0x32c99d['markerRange'],_0x55fa93['name']))return;const _0x1d634d=_0x32c99d['markerRange']['getWalker'](),_0x1badd3=_0x32c99d['markerRange']['start'],_0x57421d=_0x1cc9ee['model']['schema'];let _0x1cde94=null,_0x53f20e=null,_0x4d9c0b=!0x1,_0x327271=!0x1;for(const _0x4406f1 of _0x1d634d){const _0x298444=_0x4406f1['item'];_0x4d9c0b=_0x4d9c0b||_0x57421d['isContent'](_0x298444);const _0x391029=_0x515bc6['mapper']['toViewElement'](_0x298444);if(_0x391029&&_0x391029['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x4406f1['type']&&(_0x57421d['isBlock'](_0x298444)&&!_0x57421d['isLimit'](_0x298444)&&(_0x298444['nextSibling']||_0x1badd3['isAtEnd']?_0x1cde94&&_0x1cde94['parent']==_0x298444||(_0x1cde94=_0x298444,_0x212c0a(_0x4406f1['previousPosition']),_0x327271=!0x0):_0x53f20e=_0x53f20e||_0x4406f1['previousPosition']));}function _0x212c0a(_0x39d290){const _0x46fe2f=_0x515bc6['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x446438}),_0x3d7e11=_0x515bc6['mapper']['toViewPosition'](_0x39d290);_0x5acffa['data']['isSuggestion']&&_0x515bc6['writer']['addClass']('ck-suggestion-marker-'+_0x446438+'-new',_0x46fe2f),_0x3bd463['activeChange']==_0x5acffa&&_0x515bc6['writer']['addClass']('ck-suggestion-marker--active',_0x46fe2f),_0x515bc6['writer']['insert'](_0x3d7e11,_0x46fe2f),_0x515bc6['mapper']['bindElementToMarker'](_0x46fe2f,_0x32c99d['markerName']);}_0x4d9c0b||_0x327271||!_0x53f20e||_0x212c0a(_0x53f20e);};}(this['editor']),{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('removeMarker:revision',(_0x5deb3c,_0xf9f0b0,_0x342999)=>{const _0x1f0f8e=_0x342999['mapper']['markerNameToElements'](_0xf9f0b0['markerName']);if(_0x1f0f8e){for(const _0x39604b of _0x1f0f8e)(_0x39604b['hasClass']('ck-suggestion-marker-split')||_0x39604b['hasClass']('ck-suggestion-marker-merge'))&&(_0x342999['mapper']['unbindElementFromMarkerName'](_0x39604b,_0xf9f0b0['markerName']),_0x342999['writer']['remove'](_0x39604b));}},{'priority':'high'}),this['editor']['editing']['downcastDispatcher']['on']('addMarker:revision',(_0x5d7939,_0x2cde64,_0x7f55f9)=>{const _0x1df213=_0x2cde64['markerName']['split'](':')[0x1],_0x144ad4=this['_getChangeFromId'](_0x1df213);if(!_0x144ad4)return null;const _0x84bbb1='add'==_0x144ad4['type']?'split':'merge';if(_0x7f55f9['consumable']['test'](_0x2cde64['markerRange'],_0x5d7939['name']))for(const _0x59fc65 of _0x2cde64['markerRange']['getItems']()){if(!_0x59fc65['is']('element','softBreak'))continue;const _0x45283a=_0x7f55f9['writer']['createUIElement']('span',{'class':'ck-suggestion-marker-'+_0x84bbb1}),_0x3c7fb6=_0x7f55f9['mapper']['toViewPosition'](this['editor']['model']['createPositionBefore'](_0x59fc65));_0x144ad4['data']['isSuggestion']&&_0x7f55f9['writer']['addClass']('ck-suggestion-marker-'+_0x84bbb1+'-new',_0x45283a),this['activeChange']==_0x144ad4&&_0x7f55f9['writer']['addClass']('ck-suggestion-marker--active',_0x45283a),_0x7f55f9['writer']['insert'](_0x3c7fb6,_0x45283a),_0x7f55f9['mapper']['bindElementToMarker'](_0x45283a,_0x2cde64['markerName']);}},{'priority':'high'}),this['editor']['model']['document']['on']('change',()=>{this['editor']['editing']['view']['change'](_0x332e76=>{for(const _0x134fa4 of this['editor']['model']['document']['getRootNames']()){const _0x237bf0=this['editor']['model']['document']['getRoot'](_0x134fa4),_0x476429=this['editor']['editing']['view']['document']['getRoot'](_0x134fa4);if(_0x476429){const _0x23a93b=_0x237bf0['getAttribute']('revisionHistoryAttachChange');if(_0x332e76['removeAttribute']('data-change-id',_0x476429),_0x332e76['removeClass']('ck-revision-history-root-add',_0x476429),_0x332e76['removeClass']('ck-revision-history-root-remove',_0x476429),_0x332e76['removeClass']('ck-revision-history-root--active',_0x476429),_0x23a93b){const _0x23065a=this['_getChangeFromId'](_0x23a93b);if(!_0x23065a)return null;_0x332e76['setAttribute']('data-change-id',_0x23a93b,_0x476429),_0x332e76['addClass']('ck-revision-history-root-'+_0x23065a['type'],_0x476429),this['activeChange']==_0x23065a&&_0x332e76['addClass']('ck-revision-history-root--active',_0x476429);}}}});}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'comment','model':_0x8446b4=>'revision-comment:'+_0x8446b4,'converterPriority':'highest'}),this['editor']['conversion']['for']('upcast')['dataToMarker']({'view':'suggestion','model':_0x225cb1=>'revision-suggestion:'+_0x225cb1,'converterPriority':'highest'}),this['editor']['conversion']['for']('dataDowncast')['markerToData']({'model':'revision-suggestion','view':_0x310427=>({'name':'suggestion:'+_0x310427,'group':'revision-suggestion'}),'converterPriority':'highest'}),this['editor']['conversion']['for']('editingDowncast')['markerToHighlight']({'model':'revision-suggestion','view':_0x4cee34=>{const _0x1fd728=_0x4cee34['markerName']['split'](':')[0x1];return'insertion'!=_0x1fd728&&'deletion'!=_0x1fd728?null:{'classes':['ck-suggestion-preview-marker','ck-suggestion-preview-marker-'+_0x1fd728]};}}),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',(_0x57eb7b,_0x557db6,_0x17290a)=>{const _0x140622=_0x17290a['mapper']['markerNameToElements'](_0x557db6['markerName']);if(_0x140622){for(const _0x10e98d of _0x140622)_0x10e98d['is']('uiElement')&&(_0x17290a['mapper']['unbindElementFromMarkerName'](_0x10e98d,_0x557db6['markerName']),_0x17290a['writer']['remove'](_0x10e98d));}},{'priority':'high'});}['_getChangeFromId'](_0x223a7c){return this['_changeIdToChange']['get'](_0x223a7c);}['_getViewForChange'](_0x553a2e){return this['_changeView']&&this['_changeView']['destroy'](),this['_changeView']=new Z(this['editor']['locale'],_0x553a2e),this['_changeView'];}['_initInteractions'](){this['editor']['model']['document']['selection']['observeMarkers']('revision'),this['on']('change:activeView',(_0x14ce3a,_0x3ee604,_0x9550a1,_0x501f39)=>{_0x501f39&&this['_balloon']['remove'](_0x501f39),_0x9550a1&&(this['_balloon']['add']({'view':_0x9550a1,'stackId':'revisionHistoryLabel','position':{'target':()=>{const _0x297628=this['editor']['editing'],_0x54d66c=this['_getChangeFromId'](_0x9550a1['changeId']);let _0x3df2c8;if(_0x54d66c['data']['isOnRoot']){const _0x5d21c3=_0x297628['view']['getDomRoot'](_0x54d66c['rootName']);_0x3df2c8=Array['from'](_0x5d21c3['getClientRects']());}else{const _0x1a7894=this['editor']['model']['markers']['get']('revision:'+_0x9550a1['changeId']);_0x3df2c8=Array['from'](_0x297628['mapper']['markerNameToElements'](_0x1a7894['name']))['map'](_0x2df538=>_0x297628['view']['domConverter']['mapViewToDom'](_0x2df538))['map'](_0x44388e=>Array['from'](_0x44388e['getClientRects']()))['flat']();}if(!this['_activeViewTarget'])return _0x3df2c8[0x0];return _0x3df2c8['find'](_0x257082=>_0x257082['top']-0x3<=this['_activeViewTarget']['y']&&_0x257082['bottom']+0x3>=this['_activeViewTarget']['y']&&_0x257082['left']-0x3<=this['_activeViewTarget']['x']&&_0x257082['right']+0x3>=this['_activeViewTarget']['x'])||_0x3df2c8[0x0];}}}),this['_balloon']['showStack']('revisionHistoryLabel'));}),this['on']('change:activeChange',(_0x1eef8f,_0x2f4e73,_0x2a9bfc,_0x179c17)=>{this['activeView']=_0x2a9bfc?this['_getViewForChange'](_0x2a9bfc):null,this['editor']['model']['change'](()=>{const _0x125b5c=this['editor']['editing'];_0x179c17&&(_0x179c17['data']['isOnRoot']?_0x125b5c['view']['change'](_0xdebb26=>{_0xdebb26['removeClass']('ck-revision-history-root--active',_0x125b5c['view']['document']['getRoot'](_0x179c17['rootName']));}):_0x125b5c['reconvertMarker']('revision:'+_0x179c17['id'])),_0x2a9bfc&&(_0x2a9bfc['data']['isOnRoot']?_0x125b5c['view']['change'](_0x22b4fe=>{_0x22b4fe['addClass']('ck-revision-history-root--active',_0x125b5c['view']['document']['getRoot'](_0x2a9bfc['rootName']));}):_0x125b5c['reconvertMarker']('revision:'+_0x2a9bfc['id']));});}),this['listenTo'](this['editor']['editing']['view']['document'],'mouseover',(_0x5354ae,_0x221ba5)=>{if(this['activeChange'])return;const _0x5473e4=this['_findChangeIdFromDomTarget'](_0x221ba5['target']),_0x1ce38c=this['_changeIdToChange']['get'](_0x5473e4);_0x1ce38c?(this['_activeViewTarget']={'x':_0x221ba5['domEvent']['x'],'y':_0x221ba5['domEvent']['y']},this['activeView']=this['_getViewForChange'](_0x1ce38c)):(this['_activeViewTarget']=null,this['activeView']=null);}),this['listenTo'](this['editor']['editing']['view']['document'],'mousedown',(_0x564f55,_0x37eaf2)=>{const _0x52cb1a=this['_findChangeIdFromDomTarget'](_0x37eaf2['target']),_0x4270b9=this['_changeIdToChange']['get'](_0x52cb1a);_0x4270b9?(this['_activeViewTarget']={'x':_0x37eaf2['domEvent']['x'],'y':_0x37eaf2['domEvent']['y']},_0x4270b9===this['activeChange']?this['_balloon']['updatePosition']():this['activeChange']=_0x4270b9):(this['_activeViewTarget']=null,this['activeChange']=null);});}['_findChangeIdFromDomTarget'](_0x19f030){do{const _0xc355e3=_0x19f030['getAttribute']('data-change-id');if(_0xc355e3)return _0xc355e3;_0x19f030=_0x19f030['parent'];}while(_0x19f030);return null;}['_cleanMarkers'](){this['editor']['model']['change'](_0x26f39f=>{for(const _0x211bda of this['editor']['model']['markers'])_0x26f39f['removeMarker'](_0x211bda);});}}function et(_0x1feb9d,_0x255a9b){return(_0x516f7c,_0x1a87a3,_0x211fc3)=>{if(!_0x211fc3['consumable']['test'](_0x1a87a3['markerRange'],_0x516f7c['name']))return;const _0x304f0d=_0x1a87a3['markerRange']['getWalker'](),_0x3ed9ef=_0x1a87a3['markerRange']['start'],_0x8d58e3=_0x1feb9d['model']['schema'];let _0x4d7260=null,_0x470ec9=null,_0x20e084=!0x1,_0x5f0477=!0x1;for(const _0x322947 of _0x304f0d){const _0x24605a=_0x322947['item'];_0x20e084=_0x20e084||_0x8d58e3['isContent'](_0x24605a);const _0x4342fc=_0x211fc3['mapper']['toViewElement'](_0x24605a);if(_0x4342fc&&_0x4342fc['getCustomProperty']('addHighlight'))return;'elementEnd'==_0x322947['type']&&(_0x8d58e3['isBlock'](_0x24605a)&&!_0x8d58e3['isLimit'](_0x24605a)&&(_0x24605a['nextSibling']||_0x3ed9ef['isAtEnd']?_0x4d7260&&_0x4d7260['parent']==_0x24605a||(_0x4d7260=_0x24605a,_0x1fa982(_0x322947['previousPosition']),_0x5f0477=!0x0):_0x470ec9=_0x470ec9||_0x322947['previousPosition']));}function _0x1fa982(_0x5812b9){const _0x5de8f8=_0x211fc3['mapper']['toViewPosition'](_0x5812b9),_0xf28247=_0x211fc3['writer']['createUIElement']('span',{'class':'ck-suggestion-preview-marker-'+_0x255a9b});_0x211fc3['writer']['insert'](_0x5de8f8,_0xf28247),_0x211fc3['mapper']['bindElementToMarker'](_0xf28247,_0x1a87a3['markerName']);}_0x20e084||_0x5f0477||!_0x470ec9||_0x1fa982(_0x470ec9);};}class bt extends _0x6712b7{constructor(_0x3518a3){super(_0x3518a3);const _0x22eceb=_0x3518a3['plugins']['get'](d);this['affectsData']=!0x1,this['listenTo'](_0x22eceb,'change:isReady',()=>this['refresh']()),this['listenTo'](_0x22eceb,'change:isEnabled',()=>this['refresh']());}['execute'](){const _0x34e12e=this['editor'],_0x159764=_0x34e12e['plugins']['get'](d),_0x453a04=_0x159764['isReady']?_0x159764['diff']['newRevisionId']:null;_0x34e12e['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x453a04);}['refresh'](){const {isReady:_0x42ec23,isEnabled:_0x2c2021}=this['editor']['plugins']['get'](d);this['isEnabled']=_0x42ec23&&_0x2c2021;}}class yt extends _0x6712b7{['_step'];constructor(_0x44fa52,{direction:_0x266a8b}){super(_0x44fa52);const _0xd0f6cd=_0x44fa52['plugins']['get'](d);this['affectsData']=!0x1,this['_step']='forward'===_0x266a8b?0x1:-0x1,this['listenTo'](_0xd0f6cd,'change:isReady',()=>this['refresh']()),this['listenTo'](_0xd0f6cd,'change:isEnabled',()=>this['refresh']()),this['listenTo'](_0xd0f6cd,'change:activeChange',()=>this['refresh']());}['execute'](){const _0x3e9c2a=this['editor'],_0x3ed6c7=_0x3e9c2a['plugins']['get'](d),{isNavigationMode:_0x5499e0,currentChangeNumber:_0x46f815}=_0x3ed6c7;let _0x4c0803;if(_0x3ed6c7['activeChange']=_0x5499e0?_0x3ed6c7['diff']['changes']['get'](_0x46f815+this['_step']):_0x3ed6c7['diff']['changes']['first'],_0x3ed6c7['activeChange']['data']['isOnRoot'])_0x4c0803=_0x3e9c2a['editing']['view']['getDomRoot'](_0x3ed6c7['activeChange']['rootName']);else{const _0x57c5f4=_0x3e9c2a['model']['markers']['get']('revision:'+_0x3ed6c7['activeChange']['id']);_0x4c0803=_0x2a3bea(_0x3e9c2a['editing'],_0x57c5f4);}_0x37e96e({'target':_0x4c0803,'viewportOffset':0x28});}['refresh'](){const {isNavigationMode:_0x56d3d5,currentChangeNumber:_0x4889ab,numberOfChanges:_0x14af75,isReady:_0x3a130a,isEnabled:_0x3cc021}=this['editor']['plugins']['get'](d);this['isEnabled']=!!(_0x3cc021&&_0x3a130a&&_0x14af75)&&(!_0x56d3d5||(0x1===this['_step']?_0x4889ab<_0x14af75-0x1:_0x4889ab>0x0));}}class _i extends _0x561e79{constructor(_0x3706f4){super(_0x3706f4);const _0xafd7fb=this['bindTemplate'],_0xf6be5c=new _0x574d9e(_0x3706f4),_0x1fff04=new _0x574d9e(_0x3706f4);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',(_0x126860,_0x444261)=>_0x126860&&_0x444261>0x0),this['bind']('_statusText')['to'](this,'isReady',this,'currentChangeNumber',this,'numberOfChanges',this,'isNavigationMode',(_0x1bb125,_0x4678bd,_0x360269,_0x909b2a)=>{if(!_0x1bb125)return y(_0x3706f4,'Loading...');if(!_0x360269)return y(_0x3706f4,'No\x20changes');const _0x278b8e=y(_0x3706f4,'NUMBER_OF_CHANGES',_0x360269);return _0x909b2a?y(_0x3706f4,'X_OF_Y_CHANGES',[_0x4678bd+0x1,_0x360269]):_0x278b8e;}),_0xf6be5c['set']({'label':y(_0x3706f4,'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'}),_0x1fff04['set']({'label':y(_0x3706f4,'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'}),_0xf6be5c['bind']('isEnabled')['to'](this,'isBackwardNavigationEnabled'),_0x1fff04['bind']('isEnabled')['to'](this,'isForwardNavigationEnabled'),_0xf6be5c['on']('execute',()=>this['fire']('execute','backward')),_0x1fff04['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',_0xafd7fb['if']('_isStatusLabelVisible','ck-hidden',_0x23f153=>!_0x23f153)]},'children':[{'text':_0xafd7fb['to']('isNavigationMode',_0x441751=>_0x441751?y(_0x3706f4,'EDIT_X_OF_Y_REVISIONS')+':\x20':y(_0x3706f4,'Total')+':\x20')}]},{'text':_0xafd7fb['to']('_statusText')}]},new _0x25c629(),{'tag':'div','attributes':{'class':['ck-revision-history-ui__changes-navigation__navigation']},'children':[_0xf6be5c,_0x1fff04]}]});}}const ce='ck-editor__editable__loading-overlay';class de extends _0x481391{static get['pluginName'](){return'RevisionViewerLoadingOverlay';}['show'](){const _0x3bf945=this['editor']['editing']['view'];_0x3bf945['change'](_0x32ad0a=>{for(const _0x23ddc1 of _0x3bf945['document']['roots'])_0x32ad0a['addClass'](ce,_0x23ddc1);});}['hide'](){const _0x2ad4a3=this['editor']['editing']['view'];_0x2ad4a3['change'](_0x3045c2=>{for(const _0x1952ee of _0x2ad4a3['document']['roots'])_0x3045c2['removeClass'](ce,_0x1952ee);});}}class R extends _0x481391{static get['pluginName'](){return'RevisionViewerUI';}static get['requires'](){return[d,de];}['init'](){const _0x259bca=this['editor'],_0x29e346=_0x259bca['plugins']['get'](d),_0x41e718=_0x259bca['plugins']['get'](de);_0x259bca['ui']['componentFactory']['add']('exitToEditing',_0xe26897=>{const _0x5445f9=new _0x574d9e(_0xe26897);return _0x5445f9['set']({'label':y(_0xe26897,'Back\x20to\x20editing'),'icon':_0x3b3e98['undo'],'withText':!0x0,'tooltip':!0x0,'class':'ck-revision-history-ui__back-to-editing'}),this['listenTo'](_0x5445f9,'execute',()=>{_0x259bca['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}),_0x5445f9;}),_0x259bca['ui']['componentFactory']['add']('restoreRevision',_0x514537=>{const _0x29444f=new _0x574d9e(_0x514537);return _0x29444f['set']({'label':y(_0x514537,'Restore\x20this\x20revision'),'withText':!0x0,'tooltip':!0x0}),_0x29444f['bind']('isEnabled')['to'](_0x259bca['commands']['get']('restoreRevision')),this['listenTo'](_0x29444f,'execute',()=>_0x259bca['execute']('restoreRevision')),_0x29444f;}),_0x259bca['ui']['componentFactory']['add']('changesNavigation',_0x25e173=>{const _0x2777cb=new _i(_0x25e173),_0xcfcd41=_0x259bca['commands']['get']('showPreviousChange'),_0x196988=_0x259bca['commands']['get']('showNextChange');return _0x2777cb['bind']('isBackwardNavigationEnabled')['to'](_0xcfcd41,'isEnabled'),_0x2777cb['bind']('isForwardNavigationEnabled')['to'](_0x196988,'isEnabled'),_0x2777cb['bind']('isReady','currentChangeNumber','numberOfChanges','isNavigationMode')['to'](_0x29e346),this['listenTo'](_0x2777cb,'execute',(_0x2e602c,_0x13ccd8)=>{_0x259bca['execute']('forward'===_0x13ccd8?'showNextChange':'showPreviousChange');}),_0x2777cb;}),_0x41e718['show'](),_0x29e346['on']('change:isReady',(_0x16e1d6,_0x1fc690,_0x37aec3)=>{_0x37aec3?_0x41e718['hide']():_0x41e718['show']();});}}class kt extends at{['_resizeObserver']=null;constructor(_0x3d6e2b,_0x57dd44){super(_0x3d6e2b,_0x57dd44);const _0x1695eb=this['bindTemplate'];this['set']({'label':y(_0x3d6e2b,'Revision\x20name'),'_tooltipString':''}),this['fieldView']['placeholder']=y(_0x3d6e2b,'Enter\x20the\x20revision\x20name'),this['extendTemplate']({'tag':'span','attributes':{'class':['ck-revision-history-sidebar__revision-name'],'data-cke-tooltip-text':_0x1695eb['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 _0x25ee53=this['fieldView']['element'];this['_tooltipString']=_0x25ee53['scrollWidth']>_0x25ee53['clientWidth']&&_0x25ee53['value']||'';}}class ti extends _0x561e79{constructor(_0x27bae3,_0x43d13f,_0x18d3d7){super(_0x27bae3);const _0x27ccdc=new _0x3d6f9a();_0x27ccdc['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 _0x3f09b1=['ck','ck-revision-history-sidebar__revision-author'];_0x18d3d7&&_0x3f09b1['push']('ck-revision-history-sidebar__revision-author_creator');const _0x3da6ce=[{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__revision-author__name'],'title':y(_0x27bae3,_0x18d3d7?'Revision\x20creator':'Revision\x20author')},'children':[_0x27ccdc,_0x43d13f['name']]}];this['setTemplate']({'tag':'li','attributes':{'class':_0x3f09b1},'children':_0x3da6ce});}}function ni(_0x285faf,_0x16b292){const _0x11f1df=_0x285faf['bindTemplate'],_0x3287b1=_0x285faf['locale'],_0x31639a=_0x1baef2(_0x3287b1);_0x31639a['panelPosition']='sw';const _0x276e34=function(_0xa1188,_0x2d64b4){const _0x2a2a02=function(_0x34b591,_0x418f9b){const _0xd2cb53=_0x34b591['locale'],_0x10015a={'Compare\x20against\x20selected':y(_0xd2cb53,'Compare\x20against\x20selected'),'Name\x20this\x20revision':y(_0xd2cb53,'Name\x20this\x20revision'),'Restore\x20this\x20revision':y(_0xd2cb53,'Restore\x20this\x20revision')};return _0x418f9b['map'](_0x4b3d79=>{const _0x429825=_0x10015a[_0x4b3d79['name']];return _0x429825&&_0x429825!==_0x4b3d79['name']&&(_0x4b3d79['name']=_0x429825),_0x4b3d79;});}(_0xa1188,_0x2d64b4),_0x821108=new _0x1c62b0();for(const _0x263f97 of _0x2a2a02){const _0x403be1={'type':'button','model':new to({'label':_0x263f97['name'],'class':_0x263f97['class'],'withText':!0x0,'role':'menuitem','_action':_0x263f97['action']})};_0x403be1['model']['bind']('isEnabled')['to'](_0xa1188,'isActionsDropdownOpen',_0x3e9d70=>'function'!=typeof _0x263f97['isEnabled']||(!_0x3e9d70||_0x263f97['isEnabled'](_0xa1188))),_0x821108['add'](_0x403be1);}return _0x821108;}(_0x285faf,_0x16b292);return _0x285faf['bind']('isActionsDropdownOpen')['to'](_0x31639a,'isOpen'),_0x31639a['buttonView']['set']({'label':y(_0x3287b1,'Show\x20more\x20items'),'tooltip':!0x0,'tooltipPosition':'sw','icon':_0x3b3e98['threeVerticalDots']}),_0x31639a['extendTemplate']({'attributes':{'class':['ck-revision-history-sidebar__revision__actions',_0x11f1df['if']('isActionsDropdownOpen','ck-on')]},'on':{'click':_0x11f1df['to'](_0x4d2f74=>_0x4d2f74['stopPropagation']())}}),_0x31639a['on']('execute',_0x12da1b=>{_0x285faf['isReady']&&'function'==typeof _0x12da1b['source']['_action']&&_0x12da1b['source']['_action'](_0x285faf);}),_0x3b37fd(_0x31639a,_0x276e34,{'role':'menu'}),_0x31639a['listenTo'](_0x285faf,'change:isActionsDropdownOpen',(_0x5ac59f,_0x55d4d1,_0x4be461)=>{if(_0x4be461)for(const _0x8bf5c9 of _0x31639a['listView']['items']){const _0x28e285=_0x8bf5c9['children']['first'],_0x1d6d40=_0x16b292['find'](_0x47d72f=>_0x47d72f['action']===_0x28e285['_action'])['isVisible'];_0x8bf5c9['isVisible']=void 0x0===_0x1d6d40||_0x1d6d40(_0x285faf);}}),_0x31639a;}class ai extends/* #__PURE__ -- @preserve */
26
+ _0x604f38(_0x561e79){['id'];['revisionNameView'];['revisionActionsView'];['_revision'];['_requireRevisionName'];constructor(_0x8fe075,_0x4046fd,_0x12c920,_0x315cb1){super(_0x8fe075);const _0x482d80=this['bindTemplate'],_0x1822ba=function(_0x55b11e,_0x476418){const _0x2a8660=Array['from'](_0x476418['authors'])['filter'](_0x1372cc=>_0x1372cc!=_0x476418['creator']);return _0x476418['creator']&&_0x2a8660['unshift'](_0x476418['creator']),_0x2a8660['map'](_0x525b37=>new ti(_0x55b11e,_0x525b37,_0x525b37==_0x476418['creator']));}(_0x8fe075,_0x4046fd);this['id']=_0x4046fd['id'],this['_revision']=_0x4046fd,this['_requireRevisionName']=_0x315cb1,this['bind']('name','createdAt')['to'](_0x4046fd),this['bind']('_createdAtFormatted')['to'](this,'createdAt',_0x4e06ba=>{return _0x5a664a=_0x8fe075['uiLanguage'],(_0x3830bc=_0x4e06ba)['toLocaleDateString'](_0x5a664a,{'month':'long','day':'numeric'})+',\x20'+_0x3830bc['toLocaleTimeString'](_0x5a664a,{'hour':'numeric','minute':'numeric'});var _0x5a664a,_0x3830bc;}),this['set']('isSelected',!0x1),this['set']('isHighlighted',!0x1),this['set']('isActionsDropdownOpen',!0x1),this['set']('isReady',!0x1),this['set']('isEnabled',!0x1),this['revisionNameView']=new kt(_0x8fe075,_0x1df235),this['revisionNameView']['fieldView']['extendTemplate']({'attributes':{'maxlength':'220'}}),this['revisionNameView']['fieldView']['bind']('value')['to'](this,'name',_0x5ee251=>_0x5ee251||this['_createdAtFormatted']),this['revisionNameView']['bind']('isEnabled')['to'](this,'isSelected',this,'isEnabled',(_0x20d3f7,_0x7b5472)=>_0x20d3f7&&_0x7b5472),this['revisionActionsView']=_0x12c920&&_0x12c920['length']?ni(this,_0x12c920):'',this['revisionActionsView']&&this['revisionActionsView']['bind']('isEnabled')['to'](this),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision-wrapper',_0x482d80['if']('isConfirm','ck-revision-history-sidebar__revision-wrapper_confirmation_visible')]},'children':[{'tag':'div','attributes':{'class':['ck','ck-reset','ck-revision-history-sidebar__revision',_0x482d80['if']('isEnabled','ck-disabled',_0x14367c=>!_0x14367c),_0x482d80['if']('isSelected','ck-revision-history-sidebar__revision_selected'),_0x482d80['if']('isHighlighted','ck-revision-history-sidebar__revision_highlighted'),_0x482d80['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':_0x482d80['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':_0x1822ba}]},this['revisionActionsView']],'on':{'click':_0x482d80['to'](_0x3d5c=>{_0x3d5c['srcElement']['closest']('.ck-thread__remove-confirm')||this['isReady']&&this['isEnabled']&&this['fire']('select',{'id':this['id']});})}}]});}['render'](){super['render']();const _0x536408=this['revisionNameView']['fieldView']['element'];this['listenTo'](_0x536408,'change',()=>{this['_requireRevisionName']&&!_0x536408['value']||this['fire']('setName',{'id':this['id'],'name':_0x536408['value']}),_0x536408['value']||(_0x536408['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(_0x12087b,_0x56274d){const _0x2b748e=_0x671ca0['fromJSDate'](_0x12087b)['setLocale'](_0x56274d),_0x17fa2b=_0x671ca0['local'](),_0x3f71fe=_0x17fa2b['minus']({'days':0x1})['startOf']('day');let _0x2f7c6c,_0x155697;return _0x2b748e['hasSame'](_0x17fa2b,'day')?(_0x2f7c6c=_0x2b748e['startOf']('day')['toJSDate'](),_0x155697=_0x2b748e['toRelativeCalendar']()):_0x2b748e['hasSame'](_0x3f71fe,'day')?(_0x2f7c6c=_0x3f71fe['toJSDate'](),_0x155697=_0x2b748e['toRelativeCalendar']()):_0x2b748e['hasSame'](_0x17fa2b,'week')?(_0x2f7c6c=_0x2b748e['startOf']('week')['toJSDate'](),_0x155697=_0x2b748e['weekdayLong']||''):_0x2b748e['hasSame'](_0x17fa2b,'year')?(_0x2f7c6c=_0x2b748e['startOf']('month')['toJSDate'](),_0x155697=_0x2b748e['monthLong']||''):(_0x2f7c6c=_0x2b748e['startOf']('year')['toJSDate'](),_0x155697=String(_0x2b748e['year'])),{'startDate':_0x2f7c6c,'localizedPeriodName':_0x155697};}class mi extends _0x561e79{['startDate'];['revisionViews'];['_revisionActions'];['_requireRevisionName'];constructor(_0x4a25b4,_0x484dca,_0x12f674,_0x199406){super(_0x4a25b4);const _0x390469=di(_0x484dca,this['locale']['uiLanguage'])['localizedPeriodName'];this['startDate']=_0x484dca,this['revisionViews']=this['createCollection'](),this['_revisionActions']=_0x12f674,this['_requireRevisionName']=_0x199406,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':_0x390469}]},{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__time-period__revisions']},'children':this['revisionViews']}]});}['addRevision'](_0x3c3591){const _0x4152fd=new ai(this['locale'],_0x3c3591,this['_revisionActions'],this['_requireRevisionName']);this['revisionViews']['add'](_0x4152fd);}['removeRevision'](_0x3cbe3a){const _0x371776=this['revisionViews']['find'](_0x2f333c=>_0x2f333c['id']===_0x3cbe3a['id']);this['revisionViews']['remove'](_0x371776);}}class as extends _0x561e79{constructor(_0x5083f9){super(_0x5083f9);const _0xd0a298=new _0x3d6f9a();_0xd0a298['content']=_0x3b3e98['history'],this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset_all','ck-revision-history-sidebar__header']},'children':[_0xd0a298,{'tag':'span','attributes':{'class':['ck','ck-revision-history-sidebar__header__label']},'children':[y(_0x5083f9,'Revision\x20history')]}]});}}class ci extends _0x561e79{['timePeriodViews'];['_revisions'];['_revisionActions'];['_requireRevisionName'];constructor(_0xc16f8c,_0x2cf68b,_0x3d857f,_0x16a736){super(_0xc16f8c);const _0x439f0c=this['bindTemplate'];this['timePeriodViews']=this['createCollection'](),this['timePeriodViews']['delegate']('select')['to'](this),this['timePeriodViews']['delegate']('setName')['to'](this),this['_revisions']=_0x2cf68b,this['_revisionActions']=_0x3d857f,this['_requireRevisionName']=_0x16a736,this['on']('select',(_0xa2b101,_0x5af1d2)=>{this['fire']('revisionSelected',_0x5af1d2);}),this['on']('setName',(_0x254fc1,_0x4f7423)=>{this['fire']('revisionSetName',_0x4f7423);}),this['set']('isEnabled',!0x1),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-reset','ck-rounded-corners','ck-revision-history-sidebar']},'children':[new as(_0xc16f8c),{'tag':'div','attributes':{'class':['ck','ck-revision-history-sidebar__timeline',_0x439f0c['if']('isEnabled','ck-disabled',_0x32d580=>!_0x32d580)]},'children':this['timePeriodViews']}]});}['render'](){super['render']();for(const _0x46a09c of this['_revisions'])this['_addRevision'](_0x46a09c);this['_revisions']['on']('add',(_0xfdc5e3,_0x290e1f)=>{this['_addRevision'](_0x290e1f);}),this['_revisions']['on']('remove',(_0x3af468,_0x2de349)=>{this['_removeRevision'](_0x2de349);});}get['revisionViews'](){return this['timePeriodViews']['map'](_0x2fae86=>_0x2fae86['revisionViews']['map'](_0x25b7f7=>_0x25b7f7))['flat']();}['selectRevision'](_0x4d7d61){for(const _0x305095 of this['revisionViews'])_0x4d7d61&&_0x4d7d61['id']===_0x305095['id']?_0x305095['select']():_0x305095['deselect']();}['highlightRevisions'](_0x2db7a1){for(const _0x25ad84 of this['revisionViews'])_0x2db7a1['some'](({id:_0x18f77f})=>_0x18f77f===_0x25ad84['id'])?_0x25ad84['highlight']():_0x25ad84['unhighlight']();}['_addRevision'](_0x3649eb){const _0x24f784=di(_0x3649eb['createdAt'],this['locale']['uiLanguage'])['startDate'];let _0x43f56e=this['timePeriodViews']['get'](0x0);_0x43f56e&&_0x43f56e['startDate']['getTime']()===_0x24f784['getTime']()||(_0x43f56e=new mi(this['locale'],_0x24f784,this['_revisionActions'],this['_requireRevisionName']),this['timePeriodViews']['add'](_0x43f56e)),_0x43f56e['addRevision'](_0x3649eb);}['_removeRevision'](_0x5da464){const _0x34267e=di(_0x5da464['createdAt'],this['locale']['uiLanguage'])['startDate'];this['_getTimePeriodViewByStartDate'](_0x34267e)['removeRevision'](_0x5da464);}['_getTimePeriodViewByStartDate'](_0x18ecbc){return this['timePeriodViews']['find'](_0x58c849=>_0x58c849['startDate']['getTime']()===_0x18ecbc['getTime']());}}class w extends _0x481391{['_revisionViewer'];['_revisionsRepository'];['_sidebarView'];static ['defaultRevisionActions']=/* #__PURE__ -- @preserve */
27
27
  ((()=>['compareAgainstSelected','restoreRevision','nameRevision'])());static ['availableRevisionActions']=/* #__PURE__ -- @preserve */
28
- Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x1993d4){super(_0x1993d4),this['_revisionViewer']=_0x1993d4['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3824f6=this['_revisionsRepository']['_revisions'],_0x3ebc46=this['_createRevisionActions'](),_0x291a4c=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x3824f6,_0x3ebc46,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',(_0x50f925,_0x1a9c49)=>{_0x1a9c49['revisionViews']['on']('add',(_0x1e44e7,_0x1bd841)=>{_0x1bd841['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)),_0x291a4c['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x3f0260=this['_revisionsRepository']['getRevision'](0x0);if(_0x3f0260){const _0x4e534c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x3f0260['id']);this['_revisionViewer']['compare'](_0x3f0260,_0x4e534c);}}['_handleRevisionSelected'](_0x26aa8e,_0xa214db){const _0x186744=this['_revisionsRepository']['getRevision'](_0xa214db['id']),_0x1a51f2=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x186744['id']);this['_revisionViewer']['compare'](_0x186744,_0x1a51f2);}['_handleRevisionSetName'](_0x120a95,_0x4441af){this['_revisionsRepository']['getRevision'](_0x4441af['id'])['setName'](_0x4441af['name']);}['_handleDiffChange'](_0x56da26,_0x23d702,_0xf05d20){const _0x187025=this['_revisionsRepository']['getRevisionsInDiff'](_0xf05d20);_0x187025['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x187025),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x187025[0x0]));}['_createRevisionActions'](){const _0x1f00ee=this['editor'],_0x14f271=w['availableRevisionActions'],_0x1b0ad1=_0x1f00ee['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x1b0ad1['length'])return _0x1b0ad1['map'](_0x2831cd=>{const _0x4c1b9a='string'==typeof _0x2831cd?Object['assign']({},_0x14f271[_0x2831cd]):_0x2831cd;return _0x4c1b9a['action']=_0x4c1b9a['action']['bind'](this,_0x1f00ee),_0x4c1b9a['isVisible']&&(_0x4c1b9a['isVisible']=_0x4c1b9a['isVisible']['bind'](this,_0x1f00ee)),_0x4c1b9a;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x8e614e},_0x365eaa)=>{const _0x4d4199=_0x8e614e['get'](d),_0x51c781=_0x4d4199['repository'];let _0x4067b9=_0x4d4199['diff']['newRevisionId'],_0x517bd7=_0x365eaa['id'];_0x51c781['getIndex'](_0x4067b9)>_0x51c781['getIndex'](_0x517bd7)&&([_0x4067b9,_0x517bd7]=[_0x517bd7,_0x4067b9]),_0x4d4199['compare'](_0x4067b9,_0x517bd7);},'isVisible':({plugins:_0x242e2d},_0x170033)=>{const _0x488d25=_0x242e2d['get'](d);return!(_0x488d25['repository']['getRevisionsInDiff'](_0x488d25['diff'])['length']>0x2)&&!_0x170033['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x1db355,{id:_0x3b5310})=>{_0x1db355['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x3b5310);},'isVisible':({plugins:_0x441d42},_0x3e38dc)=>!!_0x441d42['get'](d)['repository']['getLaterVisibleRevision'](_0x3e38dc['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x41f99d},{id:_0xf1afc1,revisionNameView:_0x4946c1})=>{const _0x2de373=_0x41f99d['get'](d),_0x47b176=_0x2de373['repository']['getEarlierVisibleRevision'](_0xf1afc1);_0x2de373['compare'](_0xf1afc1,_0x47b176),_0x4946c1['focus'](),_0x4946c1['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x4008ea,_0x4ed9b5){super(_0x4008ea),this['_view']=_0x4ed9b5,this['_toolbarConfig']=ct(_0x4008ea['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x458b28){const _0x50167b=this['editor'],_0x4e0975=this['view'],_0x26bca8=_0x50167b['editing']['view'],_0x64f30d=_0x4e0975['editable'],_0x2ffe39=_0x26bca8['document']['getRoot']();_0x64f30d['name']=_0x2ffe39['rootName'],_0x4e0975['render']();const _0x2499f5=_0x64f30d['element'];this['setEditableElement'](_0x64f30d['name'],_0x2499f5),_0x4e0975['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x26bca8['attachDomRoot'](_0x2499f5),this['_elementReplacer']['replace'](_0x458b28,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x4c1077=this['view'],_0x2ff69f=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x2ff69f['detachDomRoot'](_0x4c1077['editable']['name']),_0x4c1077['destroy']();}['_initToolbar'](){const _0x48ba33=this['view'];_0x48ba33['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x48ba33['stickyPanel']['limiterElement']=_0x48ba33['element'],_0x48ba33['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x11eeaa})=>_0x11eeaa),_0x48ba33['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x48ba33['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x2bda68,_0x168ab2,_0xc6d2bb={}){super(_0x2bda68),this['stickyPanel']=new lt(_0x2bda68),this['toolbar']=new pt(_0x2bda68,{'shouldGroupWhenFull':_0xc6d2bb['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x2bda68,_0x168ab2);}['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(_0x3d594a,_0x4e9b14){super(_0x4e9b14),this['sourceElement']=_0x3d594a,this['model']['document']['createRoot']();const _0x31dd76=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x31dd76);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x3e38bf,_0x3e8389){const _0x208516=new this(_0x3e38bf,_0x3e8389);return await _0x208516['initPlugins'](),await _0x208516['ui']['init'](_0x3e38bf),await _0x208516['data']['init'](_0x208516['config']['get']('initialData')||''),_0x208516['fire']('ready'),_0x208516;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x116caf{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x5f40e0){super(_0x5f40e0),this['result']='end';}}class H extends _0x116caf{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x117ca3){if(super(_0x117ca3),!this['editor']['config']['get']('revisionHistory'))throw new _0xd9891c('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x339118=>this['_showRevisionViewer']({..._0x339118,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0xf808b5=>this['_closeRevisionViewer'](_0xf808b5)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0xda166f=>this['_restoreRevision'](_0xda166f)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x12c3c9){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x12c3c9;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x157e8f){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x157e8f);}['getRevision'](_0x23ee12){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x23ee12);}['getRevisions'](_0x72fbbb){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x72fbbb||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x5e17b0=this['editor'],_0x9b8660=_0xc9f312(_0x5e17b0,p),_0x3d2be6=_0x5e17b0['plugins']['get']('RevisionTracker'),_0x5977f2=_0x5e17b0['plugins']['get']('Users')['users'];return _0x9b8660['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x9b8660['lazyRoots'],(_0x9b8660['plugins']['push'](k,d,R,class extends _0x116caf{static get['requires'](){return[d,'Users'];}['init'](){const _0xc87947=this['editor']['plugins']['get']('Users');for(const _0x1708ad of _0x5977f2)_0x1708ad['isAnonymous']||_0xc87947['getUser'](_0x1708ad['id'])||_0xc87947['addUser'](_0x1708ad);const _0x459092=_0x3d2be6['repository']['getRevisions']();let _0xaadc75=null;const _0x299bc9=this['editor']['plugins']['get']('RevisionViewer');_0x299bc9['adapter']=_0x3d2be6['adapter'],_0x299bc9['bind']('isEnabled')['to'](_0x3d2be6),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x5e17b0,'isReadOnly',_0x2c365a=>!_0x2c365a);for(const _0x354a5c of _0x459092){const _0x1fa0ba=null===_0x354a5c['creator'];if(_0x1fa0ba&&_0x354a5c['toVersion']===_0x354a5c['fromVersion'])continue;const _0x4a31cb=_0x354a5c['toJSON']();_0x299bc9['addRevisionData'](_0x4a31cb,(_0xc66cb9,_0x115c28,_0x2b5de2)=>{if(_0x1fa0ba){if(_0xaadc75)_0xaadc75['_update'](_0xc66cb9,_0x115c28);else{if(!_0x115c28){const _0x1f6793=_0x2b5de2['toJSON']();_0x1f6793['id']=_0x56e194(),_0x3d2be6['saveRevision'](_0x1f6793,_0x2b5de2['toVersion'])['then'](_0x205e0e=>{_0xaadc75=_0x205e0e;});}}}else _0x354a5c['_update'](_0xc66cb9,_0x115c28);});}}},w),_0x9b8660);}['_enhanceShowRevisionViewerCallback'](){const _0x581ab5=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x55b3ab=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4f054f=this['editor']['plugins']['get']('Autosave');await _0x4f054f['save']();}else await _0x55b3ab['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x1f756a=this['editor']['plugins']['get']('Dialog');_0x1f756a['isOpen']&&_0x1f756a['hide']();}const _0x25b145=this['_getRevisionViewerEditorConfig']();return _0x581ab5(_0x25b145)['then'](_0x32fa64=>{return(this['_viewerEditor']=_0x32fa64,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x32fa64;})['catch'](_0x3d3358=>(console['error'](_0x3d3358),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0xcb8040=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'](),_0xcb8040(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x382473=this['editor']['plugins']['get']('Annotations');_0x382473['refreshVisibility'](),_0x382473['refreshPositioning']();}})));}['_showRevisionViewer'](_0xa51b07){const _0x1986cc=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x32bff1=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0x98c67d=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0x98c67d,_0xa51b07)['then'](_0x19b0fb=>(_0x32bff1['style']['display']='block',_0x1986cc['style']['display']='none',_0x19b0fb));}['_closeRevisionViewer'](_0x42e722){const _0xe3b0d7=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0xe3b0d7['style']['display']='',_0x42e722['destroy']();}async['_restoreRevision'](_0x33a2a8){const _0x1af556=this['editor'],_0x27d39e=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x4c37a5=_0x1af556['plugins']['get']('RevisionTracker'),_0x5285f0=_0x27d39e['repository']['getRevision'](_0x33a2a8);let _0xd883c7,_0x3d2680,_0x95bb6c;try{_0xd883c7=await _0x27d39e['getRevisionData'](_0x5285f0),_0x3d2680=await _0x27d39e['getRevisionRootsAttributes'](_0x5285f0);}catch(_0x147907){return void console['error'](_0x147907);}_0x1af556['model']['change'](_0x3e7d89=>{for(const _0x50f4f4 of Array['from'](_0x1af556['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x3e7d89['removeMarker'](_0x50f4f4);}),_0x27d39e['isReady']=!0x1,_0x1af556['model']['enqueueChange'](_0x5b6cdf=>{_0x5b6cdf['setSelection'](null),_0x5b6cdf['removeSelectionAttribute'](_0x1af556['model']['document']['selection']['getAttributeKeys']());const _0x41a866=Object['keys'](_0xd883c7);for(const _0x2b724e of _0x1af556['model']['document']['roots'])'$graveyard'!=_0x2b724e['rootName']&&_0x2b724e['isAttached']()&&!_0x41a866['includes'](_0x2b724e['rootName'])&&_0x5b6cdf['detachRoot'](_0x2b724e);for(const _0x3e0c68 of _0x41a866){let _0x3c07fd=_0x1af556['model']['document']['getRoot'](_0x3e0c68);_0x3c07fd&&_0x3c07fd['isAttached']()||(_0x3c07fd=_0x5b6cdf['addRoot'](_0x3e0c68));const _0x2a1ccc=_0x3d2680[_0x3e0c68],_0x32755c=Object['keys'](_0x2a1ccc),_0xf3a0a7=_0xd883c7[_0x3e0c68];for(const _0x3f8023 of _0x3c07fd['getAttributeKeys']())_0x32755c['includes'](_0x3f8023)||_0x5b6cdf['removeAttribute'](_0x3f8023,_0x3c07fd);for(const _0x1d5a6d of _0x32755c)_0x5b6cdf['setAttribute'](_0x1d5a6d,_0x3d2680[_0x3e0c68][_0x1d5a6d],_0x3c07fd);_0x5b6cdf['remove'](_0x5b6cdf['createRangeIn'](_0x3c07fd)),_0x5b6cdf['insert'](_0x1af556['data']['parse'](_0xf3a0a7,_0x3c07fd),_0x3c07fd,0x0);}});const _0x387b6a=y(_0x1af556['locale'],'Restored');if(_0x5285f0['name'])_0x95bb6c=-0x1==_0x5285f0['name']['indexOf'](_0x387b6a)?_0x387b6a+':\x20'+_0x5285f0['name']:_0x5285f0['name'];else _0x95bb6c=_0x387b6a+':\x20'+(_0x5285f0['createdAt']['toLocaleDateString'](_0x1af556['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x5285f0['createdAt']['toLocaleTimeString'](_0x1af556['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x4c37a5['saveRevision']({'name':_0x95bb6c}),_0x27d39e['isReady']=!0x0,_0x1af556['config']['get']('revisionHistory')['closeRevisionViewerCallback']();}}export{H as RevisionHistory,u as RevisionHistoryUI,l as RevisionTracker,d as RevisionViewer,de as RevisionViewerLoadingOverlay,R as RevisionViewerUI,A as RevisionsRepository,w as RevisionsSidebar};
28
+ Rt();static get['pluginName'](){return'RevisionsSidebar';}static get['requires'](){return[d];}constructor(_0x20c6b0){super(_0x20c6b0),this['_revisionViewer']=_0x20c6b0['plugins']['get'](d),this['_revisionsRepository']=this['_revisionViewer']['repository'],this['_sidebarView']=null;}['init'](){const _0x3ec724=this['_revisionsRepository']['_revisions'],_0x7ea47d=this['_createRevisionActions'](),_0x4fc648=this['editor']['config']['get']('revisionHistory.viewerSidebarContainer');this['_sidebarView']=new ci(this['editor']['locale'],_0x3ec724,_0x7ea47d,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',(_0x4936d4,_0x863137)=>{_0x863137['revisionViews']['on']('add',(_0x547787,_0x50073e)=>{_0x50073e['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)),_0x4fc648['appendChild'](this['_sidebarView']['element']);}['destroy'](){this['_sidebarView']['element']['remove'](),this['_sidebarView']['destroy']();}['_handleEditorDataReady'](){const _0x1f79ca=this['_revisionsRepository']['getRevision'](0x0);if(_0x1f79ca){const _0x12399c=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x1f79ca['id']);this['_revisionViewer']['compare'](_0x1f79ca,_0x12399c);}}['_handleRevisionSelected'](_0x21bc00,_0x4d1cbb){const _0x24adf4=this['_revisionsRepository']['getRevision'](_0x4d1cbb['id']),_0x2c11cd=this['_revisionsRepository']['getEarlierVisibleRevision'](_0x24adf4['id']);this['_revisionViewer']['compare'](_0x24adf4,_0x2c11cd);}['_handleRevisionSetName'](_0x91ee91,_0x435d71){this['_revisionsRepository']['getRevision'](_0x435d71['id'])['setName'](_0x435d71['name']);}['_handleDiffChange'](_0x507a9d,_0x1a36d6,_0x51a7c5){const _0x15befa=this['_revisionsRepository']['getRevisionsInDiff'](_0x51a7c5);_0x15befa['length']>0x2?(this['_sidebarView']['highlightRevisions'](_0x15befa),this['_sidebarView']['selectRevision'](null)):(this['_sidebarView']['highlightRevisions']([]),this['_sidebarView']['selectRevision'](_0x15befa[0x0]));}['_createRevisionActions'](){const _0x714e99=this['editor'],_0x2634a9=w['availableRevisionActions'],_0x41c2b5=_0x714e99['config']['get']('revisionHistory.revisionActions')||w['defaultRevisionActions'];if(_0x41c2b5['length'])return _0x41c2b5['map'](_0x33c23c=>{const _0x5e94d3='string'==typeof _0x33c23c?Object['assign']({},_0x2634a9[_0x33c23c]):_0x33c23c;return _0x5e94d3['action']=_0x5e94d3['action']['bind'](this,_0x714e99),_0x5e94d3['isVisible']&&(_0x5e94d3['isVisible']=_0x5e94d3['isVisible']['bind'](this,_0x714e99)),_0x5e94d3;});}}function Rt(){return{'compareAgainstSelected':{'name':'Compare\x20against\x20selected','action':({plugins:_0x3067dd},_0x2ba07e)=>{const _0x2e5ef8=_0x3067dd['get'](d),_0x3fe9c7=_0x2e5ef8['repository'];let _0xa2a614=_0x2e5ef8['diff']['newRevisionId'],_0x86592d=_0x2ba07e['id'];_0x3fe9c7['getIndex'](_0xa2a614)>_0x3fe9c7['getIndex'](_0x86592d)&&([_0xa2a614,_0x86592d]=[_0x86592d,_0xa2a614]),_0x2e5ef8['compare'](_0xa2a614,_0x86592d);},'isVisible':({plugins:_0x3b7dee},_0x23db4f)=>{const _0x28b4a4=_0x3b7dee['get'](d);return!(_0x28b4a4['repository']['getRevisionsInDiff'](_0x28b4a4['diff'])['length']>0x2)&&!_0x23db4f['isSelected'];}},'restoreRevision':{'name':'Restore\x20this\x20revision','action':(_0x19c8b1,{id:_0x1020e5})=>{_0x19c8b1['config']['get']('revisionHistory')['restoreRevisionCallback'](_0x1020e5);},'isVisible':({plugins:_0x2452f6},_0x146ffd)=>!!_0x2452f6['get'](d)['repository']['getLaterVisibleRevision'](_0x146ffd['id'])},'nameRevision':{'name':'Name\x20this\x20revision','action':({plugins:_0x5f51d5},{id:_0x1c9b1c,revisionNameView:_0x405661})=>{const _0x1bd74a=_0x5f51d5['get'](d),_0x1513be=_0x1bd74a['repository']['getEarlierVisibleRevision'](_0x1c9b1c);_0x1bd74a['compare'](_0x1c9b1c,_0x1513be),_0x405661['focus'](),_0x405661['fieldView']['select']();}}};}class st extends ht{['_view'];['_toolbarConfig'];['_elementReplacer'];get['view'](){return this['_view'];}constructor(_0x41ba91,_0x5ec32b){super(_0x41ba91),this['_view']=_0x5ec32b,this['_toolbarConfig']=ct(_0x41ba91['config']['get']('toolbar')),this['_elementReplacer']=new nt();}get['element'](){return this['view']['element'];}['init'](_0x470e4e){const _0x3b96bd=this['editor'],_0x562ad6=this['view'],_0x4804f5=_0x3b96bd['editing']['view'],_0x1ce746=_0x562ad6['editable'],_0x1f32c7=_0x4804f5['document']['getRoot']();_0x1ce746['name']=_0x1f32c7['rootName'],_0x562ad6['render']();const _0x5abaea=_0x1ce746['element'];this['setEditableElement'](_0x1ce746['name'],_0x5abaea),_0x562ad6['editable']['bind']('isFocused')['to'](this['focusTracker']),_0x4804f5['attachDomRoot'](_0x5abaea),this['_elementReplacer']['replace'](_0x470e4e,this['element']),this['_initToolbar'](),this['fire']('ready');}['destroy'](){super['destroy']();const _0x11b869=this['view'],_0x4dd08c=this['editor']['editing']['view'];this['_elementReplacer']['restore'](),_0x4dd08c['detachDomRoot'](_0x11b869['editable']['name']),_0x11b869['destroy']();}['_initToolbar'](){const _0x43a37a=this['view'];_0x43a37a['stickyPanel']['bind']('isActive')['to'](this['focusTracker'],'isFocused'),_0x43a37a['stickyPanel']['limiterElement']=_0x43a37a['element'],_0x43a37a['stickyPanel']['bind']('viewportTopOffset')['to'](this,'viewportOffset',({top:_0x2eb4df})=>_0x2eb4df),_0x43a37a['toolbar']['fillFromConfig'](this['_toolbarConfig'],this['componentFactory']),this['addToolbar'](_0x43a37a['toolbar']);}}class ot extends dt{['_editable'];['stickyPanel'];['toolbar'];get['editable'](){return this['_editable'];}constructor(_0x422718,_0x302253,_0x2a11d5={}){super(_0x422718),this['stickyPanel']=new lt(_0x422718),this['toolbar']=new pt(_0x422718,{'shouldGroupWhenFull':_0x2a11d5['shouldToolbarGroupWhenFull']}),this['_editable']=new ut(_0x422718,_0x302253);}['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(_0xb1e6cf,_0x5b15a9){super(_0x5b15a9),this['sourceElement']=_0xb1e6cf,this['model']['document']['createRoot']();const _0x56ed7a=new ot(this['locale'],this['editing']['view'],{'shouldToolbarGroupWhenFull':!0x0});this['_ui']=new st(this,_0x56ed7a);}['destroy'](){return this['updateSourceElement'](),this['ui']['destroy'](),super['destroy']();}static async['create'](_0x8c738f,_0x238903){const _0x290047=new this(_0x8c738f,_0x238903);return await _0x290047['initPlugins'](),await _0x290047['ui']['init'](_0x8c738f),await _0x290047['data']['init'](_0x290047['config']['get']('initialData')||''),_0x290047['fire']('ready'),_0x290047;}}const p=['RevisionHistoryUI','RestrictedEditingMode'];class k extends _0x481391{['result'];static get['pluginName'](){return'RevisionViewerIntegration';}constructor(_0x2d5a2f){super(_0x2d5a2f),this['result']='end';}}class H extends _0x481391{['_viewerEditor'];static get['pluginName'](){return'RevisionHistory';}static get['requires'](){return[l,u];}constructor(_0x27fa0f){if(super(_0x27fa0f),!this['editor']['config']['get']('revisionHistory'))throw new _0x278e2a('revision-history-missing-configuration',this);this['_viewerEditor']=null,this['editor']['config']['define']('revisionHistory.showRevisionViewerCallback',_0x5d528b=>this['_showRevisionViewer']({..._0x5d528b,'translations':this['editor']['locale']['translations']})),this['editor']['config']['define']('revisionHistory.closeRevisionViewerCallback',_0x2a7662=>this['_closeRevisionViewer'](_0x2a7662)),this['editor']['config']['define']('revisionHistory.restoreRevisionCallback',_0x4a6090=>this['_restoreRevision'](_0x4a6090)),this['editor']['config']['define']('revisionHistory.requireRevisionName',!0x1),this['_enhanceShowRevisionViewerCallback'](),this['_enhanceCloseRevisionViewerCallback']();}set['adapter'](_0x477c84){this['editor']['plugins']['get']('RevisionTracker')['adapter']=_0x477c84;}get['adapter'](){return this['editor']['plugins']['get']('RevisionTracker')['adapter'];}['addRevisionData'](_0x247754){return this['editor']['plugins']['get']('RevisionTracker')['addRevisionData'](_0x247754);}['getRevision'](_0x7ac086){return this['editor']['plugins']['get']('RevisionsRepository')['getRevision'](_0x7ac086);}['getRevisions'](_0x12239b){return this['editor']['plugins']['get']('RevisionsRepository')['getRevisions'](_0x12239b||{'toJSON':!0x1});}['_getRevisionViewerEditorConfig'](){const _0x1ef6af=this['editor'],_0x47a774=_0x497796(_0x1ef6af,p),_0x83c395=_0x1ef6af['plugins']['get']('RevisionTracker'),_0x3b5f6c=_0x1ef6af['plugins']['get']('Users')['users'];return _0x47a774['toolbar']=['exitToEditing','restoreRevision','changesNavigation'],delete _0x47a774['lazyRoots'],(_0x47a774['plugins']['push'](k,d,R,class extends _0x481391{static get['requires'](){return[d,'Users'];}['init'](){const _0x475fd7=this['editor']['plugins']['get']('Users');for(const _0x3f339a of _0x3b5f6c)_0x3f339a['isAnonymous']||_0x475fd7['getUser'](_0x3f339a['id'])||_0x475fd7['addUser'](_0x3f339a);const _0x106d42=_0x83c395['repository']['getRevisions']();let _0x216399=null;const _0x10ad5a=this['editor']['plugins']['get']('RevisionViewer');_0x10ad5a['adapter']=_0x83c395['adapter'],_0x10ad5a['bind']('isEnabled')['to'](_0x83c395),this['editor']['commands']['get']('restoreRevision')['bind']('isEnabled')['to'](_0x1ef6af,'isReadOnly',_0x3ac8f0=>!_0x3ac8f0);for(const _0x1d8685 of _0x106d42){const _0x547512=null===_0x1d8685['creator'];if(_0x547512&&_0x1d8685['toVersion']===_0x1d8685['fromVersion'])continue;const _0x56f9e7=_0x1d8685['toJSON']();_0x10ad5a['addRevisionData'](_0x56f9e7,(_0x2970bb,_0x27561a,_0x47b974)=>{if(_0x547512){if(_0x216399)_0x216399['_update'](_0x2970bb,_0x27561a);else{if(!_0x27561a){const _0x59d0fd=_0x47b974['toJSON']();_0x59d0fd['id']=_0x4d84a6(),_0x83c395['saveRevision'](_0x59d0fd,_0x47b974['toVersion'])['then'](_0x3506bc=>{_0x216399=_0x3506bc;});}}}else _0x1d8685['_update'](_0x2970bb,_0x27561a);});}}},w),_0x47a774);}['_enhanceShowRevisionViewerCallback'](){const _0x1a689a=this['editor']['config']['get']('revisionHistory')['showRevisionViewerCallback'];this['editor']['config']['set']('revisionHistory.showRevisionViewerCallback',async()=>{this['editor']['enableReadOnlyMode']('revision-history-viewer-opened');const _0x54b431=this['editor']['plugins']['get']('RevisionTracker');if(this['editor']['plugins']['has']('Autosave')){const _0x4a2a4a=this['editor']['plugins']['get']('Autosave');await _0x4a2a4a['save']();}else await _0x54b431['update']();if(this['editor']['plugins']['has']('PaginationLookup')&&this['editor']['plugins']['get']('PaginationLookup')['_recalculatePageBreaks'](),this['editor']['plugins']['has']('Dialog')){const _0x5e9a83=this['editor']['plugins']['get']('Dialog');_0x5e9a83['isOpen']&&_0x5e9a83['hide']();}const _0x58809f=this['_getRevisionViewerEditorConfig']();return _0x1a689a(_0x58809f)['then'](_0x2566ff=>{return(this['_viewerEditor']=_0x2566ff,this['editor']['plugins']['has']('Annotations'))&&this['editor']['plugins']['get']('Annotations')['refreshVisibility'](),_0x2566ff;})['catch'](_0x129e58=>(console['error'](_0x129e58),this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),null));});}['_enhanceCloseRevisionViewerCallback'](){const _0x47bc57=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'](),_0x47bc57(this['_viewerEditor'])['then'](()=>{if(this['editor']['disableReadOnlyMode']('revision-history-viewer-opened'),this['_viewerEditor']=null,this['editor']['plugins']['has']('Annotations')){const _0x4554c8=this['editor']['plugins']['get']('Annotations');_0x4554c8['refreshVisibility'](),_0x4554c8['refreshPositioning']();}})));}['_showRevisionViewer'](_0x525d41){const _0x593d8c=this['editor']['config']['get']('revisionHistory.editorContainer'),_0x1372e4=this['editor']['config']['get']('revisionHistory.viewerContainer'),_0xd1443b=this['editor']['config']['get']('revisionHistory.viewerEditorElement');return m['create'](_0xd1443b,_0x525d41)['then'](_0x31ea7f=>(_0x1372e4['style']['display']='block',_0x593d8c['style']['display']='none',_0x31ea7f));}['_closeRevisionViewer'](_0x3cb849){const _0x2d03e4=this['editor']['config']['get']('revisionHistory.editorContainer');return this['editor']['config']['get']('revisionHistory.viewerContainer')['style']['display']='none',_0x2d03e4['style']['display']='',_0x3cb849['destroy']();}async['_restoreRevision'](_0x1805bf){const _0xedc62d=this['editor'],_0x27c2e0=this['_viewerEditor']['plugins']['get']('RevisionViewer'),_0x4f8fac=_0xedc62d['plugins']['get']('RevisionTracker'),_0x3d477d=_0x27c2e0['repository']['getRevision'](_0x1805bf);let _0x1ad355,_0x4d94ea,_0x4c543f;try{_0x1ad355=await _0x27c2e0['getRevisionData'](_0x3d477d),_0x4d94ea=await _0x27c2e0['getRevisionRootsAttributes'](_0x3d477d);}catch(_0xa7700d){return void console['error'](_0xa7700d);}_0xedc62d['model']['change'](_0x4864ec=>{for(const _0x29cddc of Array['from'](_0xedc62d['model']['markers']['getMarkersGroup']('restrictedEditingException')))_0x4864ec['removeMarker'](_0x29cddc);}),_0x27c2e0['isReady']=!0x1,_0xedc62d['model']['enqueueChange'](_0x20267c=>{_0x20267c['setSelection'](null),_0x20267c['removeSelectionAttribute'](_0xedc62d['model']['document']['selection']['getAttributeKeys']());const _0x131d74=Object['keys'](_0x1ad355);for(const _0x5d2f77 of _0xedc62d['model']['document']['roots'])'$graveyard'!=_0x5d2f77['rootName']&&_0x5d2f77['isAttached']()&&!_0x131d74['includes'](_0x5d2f77['rootName'])&&_0x20267c['detachRoot'](_0x5d2f77);for(const _0x2132b0 of _0x131d74){let _0x2321a2=_0xedc62d['model']['document']['getRoot'](_0x2132b0);_0x2321a2&&_0x2321a2['isAttached']()||(_0x2321a2=_0x20267c['addRoot'](_0x2132b0));const _0x42107b=_0x4d94ea[_0x2132b0],_0x6239a5=Object['keys'](_0x42107b),_0xa4bc4c=_0x1ad355[_0x2132b0];for(const _0x1511ed of _0x2321a2['getAttributeKeys']())_0x6239a5['includes'](_0x1511ed)||_0x20267c['removeAttribute'](_0x1511ed,_0x2321a2);for(const _0x3191e4 of _0x6239a5)_0x20267c['setAttribute'](_0x3191e4,_0x4d94ea[_0x2132b0][_0x3191e4],_0x2321a2);_0x20267c['remove'](_0x20267c['createRangeIn'](_0x2321a2)),_0x20267c['insert'](_0xedc62d['data']['parse'](_0xa4bc4c,_0x2321a2),_0x2321a2,0x0);}});const _0x47d8b1=y(_0xedc62d['locale'],'Restored');if(_0x3d477d['name'])_0x4c543f=-0x1==_0x3d477d['name']['indexOf'](_0x47d8b1)?_0x47d8b1+':\x20'+_0x3d477d['name']:_0x3d477d['name'];else _0x4c543f=_0x47d8b1+':\x20'+(_0x3d477d['createdAt']['toLocaleDateString'](_0xedc62d['locale']['uiLanguage'],{'month':'long','day':'numeric'})+',\x20'+_0x3d477d['createdAt']['toLocaleTimeString'](_0xedc62d['locale']['uiLanguage'],{'hour':'numeric','minute':'numeric'}));return await _0x4f8fac['saveRevision']({'name':_0x4c543f}),_0x27c2e0['isReady']=!0x0,_0xedc62d['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};